@distilled.cloud/cloudflare 0.0.0-john

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (562) hide show
  1. package/README.md +59 -0
  2. package/lib/auth.d.ts +14 -0
  3. package/lib/auth.d.ts.map +1 -0
  4. package/lib/auth.js +13 -0
  5. package/lib/auth.js.map +1 -0
  6. package/lib/category.d.ts +2 -0
  7. package/lib/category.d.ts.map +1 -0
  8. package/lib/category.js +2 -0
  9. package/lib/category.js.map +1 -0
  10. package/lib/client/api.d.ts +12 -0
  11. package/lib/client/api.d.ts.map +1 -0
  12. package/lib/client/api.js +292 -0
  13. package/lib/client/api.js.map +1 -0
  14. package/lib/client/index.d.ts +8 -0
  15. package/lib/client/index.d.ts.map +1 -0
  16. package/lib/client/index.js +8 -0
  17. package/lib/client/index.js.map +1 -0
  18. package/lib/credentials.d.ts +68 -0
  19. package/lib/credentials.d.ts.map +1 -0
  20. package/lib/credentials.js +136 -0
  21. package/lib/credentials.js.map +1 -0
  22. package/lib/errors.d.ts +48 -0
  23. package/lib/errors.d.ts.map +1 -0
  24. package/lib/errors.js +31 -0
  25. package/lib/errors.js.map +1 -0
  26. package/lib/index.d.ts +10 -0
  27. package/lib/index.d.ts.map +1 -0
  28. package/lib/index.js +10 -0
  29. package/lib/index.js.map +1 -0
  30. package/lib/retry.d.ts +14 -0
  31. package/lib/retry.d.ts.map +1 -0
  32. package/lib/retry.js +14 -0
  33. package/lib/retry.js.map +1 -0
  34. package/lib/schemas.d.ts +29 -0
  35. package/lib/schemas.d.ts.map +1 -0
  36. package/lib/schemas.js +34 -0
  37. package/lib/schemas.js.map +1 -0
  38. package/lib/sensitive.d.ts +5 -0
  39. package/lib/sensitive.d.ts.map +1 -0
  40. package/lib/sensitive.js +5 -0
  41. package/lib/sensitive.js.map +1 -0
  42. package/lib/services/abuse-reports.d.ts +296 -0
  43. package/lib/services/abuse-reports.d.ts.map +1 -0
  44. package/lib/services/abuse-reports.js +414 -0
  45. package/lib/services/abuse-reports.js.map +1 -0
  46. package/lib/services/accounts.d.ts +766 -0
  47. package/lib/services/accounts.d.ts.map +1 -0
  48. package/lib/services/accounts.js +860 -0
  49. package/lib/services/accounts.js.map +1 -0
  50. package/lib/services/acm.d.ts +73 -0
  51. package/lib/services/acm.d.ts.map +1 -0
  52. package/lib/services/acm.js +80 -0
  53. package/lib/services/acm.js.map +1 -0
  54. package/lib/services/addressing.d.ts +1321 -0
  55. package/lib/services/addressing.d.ts.map +1 -0
  56. package/lib/services/addressing.js +1863 -0
  57. package/lib/services/addressing.js.map +1 -0
  58. package/lib/services/ai-gateway.d.ts +1137 -0
  59. package/lib/services/ai-gateway.d.ts.map +1 -0
  60. package/lib/services/ai-gateway.js +1830 -0
  61. package/lib/services/ai-gateway.js.map +1 -0
  62. package/lib/services/ai.d.ts +297 -0
  63. package/lib/services/ai.d.ts.map +1 -0
  64. package/lib/services/ai.js +352 -0
  65. package/lib/services/ai.js.map +1 -0
  66. package/lib/services/aisearch.d.ts +1069 -0
  67. package/lib/services/aisearch.d.ts.map +1 -0
  68. package/lib/services/aisearch.js +2542 -0
  69. package/lib/services/aisearch.js.map +1 -0
  70. package/lib/services/alerting.d.ts +855 -0
  71. package/lib/services/alerting.d.ts.map +1 -0
  72. package/lib/services/alerting.js +1445 -0
  73. package/lib/services/alerting.js.map +1 -0
  74. package/lib/services/api-gateway.d.ts +1088 -0
  75. package/lib/services/api-gateway.d.ts.map +1 -0
  76. package/lib/services/api-gateway.js +1655 -0
  77. package/lib/services/api-gateway.js.map +1 -0
  78. package/lib/services/argo.d.ts +101 -0
  79. package/lib/services/argo.d.ts.map +1 -0
  80. package/lib/services/argo.js +113 -0
  81. package/lib/services/argo.js.map +1 -0
  82. package/lib/services/audit-logs.d.ts +46 -0
  83. package/lib/services/audit-logs.d.ts.map +1 -0
  84. package/lib/services/audit-logs.js +37 -0
  85. package/lib/services/audit-logs.js.map +1 -0
  86. package/lib/services/billing.d.ts +62 -0
  87. package/lib/services/billing.d.ts.map +1 -0
  88. package/lib/services/billing.js +102 -0
  89. package/lib/services/billing.js.map +1 -0
  90. package/lib/services/bot-management.d.ts +124 -0
  91. package/lib/services/bot-management.d.ts.map +1 -0
  92. package/lib/services/bot-management.js +262 -0
  93. package/lib/services/bot-management.js.map +1 -0
  94. package/lib/services/botnet-feed.d.ts +65 -0
  95. package/lib/services/botnet-feed.d.ts.map +1 -0
  96. package/lib/services/botnet-feed.js +88 -0
  97. package/lib/services/botnet-feed.js.map +1 -0
  98. package/lib/services/brand-protection.d.ts +194 -0
  99. package/lib/services/brand-protection.d.ts.map +1 -0
  100. package/lib/services/brand-protection.js +221 -0
  101. package/lib/services/brand-protection.js.map +1 -0
  102. package/lib/services/browser-rendering.d.ts +857 -0
  103. package/lib/services/browser-rendering.d.ts.map +1 -0
  104. package/lib/services/browser-rendering.js +1142 -0
  105. package/lib/services/browser-rendering.js.map +1 -0
  106. package/lib/services/cache.d.ts +287 -0
  107. package/lib/services/cache.d.ts.map +1 -0
  108. package/lib/services/cache.js +354 -0
  109. package/lib/services/cache.js.map +1 -0
  110. package/lib/services/calls.d.ts +223 -0
  111. package/lib/services/calls.d.ts.map +1 -0
  112. package/lib/services/calls.js +188 -0
  113. package/lib/services/calls.js.map +1 -0
  114. package/lib/services/certificate-authorities.d.ts +40 -0
  115. package/lib/services/certificate-authorities.d.ts.map +1 -0
  116. package/lib/services/certificate-authorities.js +49 -0
  117. package/lib/services/certificate-authorities.js.map +1 -0
  118. package/lib/services/client-certificates.d.ts +288 -0
  119. package/lib/services/client-certificates.d.ts.map +1 -0
  120. package/lib/services/client-certificates.js +379 -0
  121. package/lib/services/client-certificates.js.map +1 -0
  122. package/lib/services/cloud-connector.d.ts +88 -0
  123. package/lib/services/cloud-connector.d.ts.map +1 -0
  124. package/lib/services/cloud-connector.js +97 -0
  125. package/lib/services/cloud-connector.js.map +1 -0
  126. package/lib/services/cloudforce-one.d.ts +1387 -0
  127. package/lib/services/cloudforce-one.d.ts.map +1 -0
  128. package/lib/services/cloudforce-one.js +1741 -0
  129. package/lib/services/cloudforce-one.js.map +1 -0
  130. package/lib/services/connectivity.d.ts +291 -0
  131. package/lib/services/connectivity.d.ts.map +1 -0
  132. package/lib/services/connectivity.js +404 -0
  133. package/lib/services/connectivity.js.map +1 -0
  134. package/lib/services/content-scanning.d.ts +156 -0
  135. package/lib/services/content-scanning.d.ts.map +1 -0
  136. package/lib/services/content-scanning.js +175 -0
  137. package/lib/services/content-scanning.js.map +1 -0
  138. package/lib/services/custom-certificates.d.ts +240 -0
  139. package/lib/services/custom-certificates.d.ts.map +1 -0
  140. package/lib/services/custom-certificates.js +336 -0
  141. package/lib/services/custom-certificates.js.map +1 -0
  142. package/lib/services/custom-hostnames.d.ts +590 -0
  143. package/lib/services/custom-hostnames.d.ts.map +1 -0
  144. package/lib/services/custom-hostnames.js +1204 -0
  145. package/lib/services/custom-hostnames.js.map +1 -0
  146. package/lib/services/custom-nameservers.d.ts +87 -0
  147. package/lib/services/custom-nameservers.d.ts.map +1 -0
  148. package/lib/services/custom-nameservers.js +95 -0
  149. package/lib/services/custom-nameservers.js.map +1 -0
  150. package/lib/services/custom-pages.d.ts +89 -0
  151. package/lib/services/custom-pages.d.ts.map +1 -0
  152. package/lib/services/custom-pages.js +140 -0
  153. package/lib/services/custom-pages.js.map +1 -0
  154. package/lib/services/d1.d.ts +392 -0
  155. package/lib/services/d1.d.ts.map +1 -0
  156. package/lib/services/d1.js +487 -0
  157. package/lib/services/d1.js.map +1 -0
  158. package/lib/services/dcv-delegation.d.ts +24 -0
  159. package/lib/services/dcv-delegation.d.ts.map +1 -0
  160. package/lib/services/dcv-delegation.js +24 -0
  161. package/lib/services/dcv-delegation.js.map +1 -0
  162. package/lib/services/diagnostics.d.ts +208 -0
  163. package/lib/services/diagnostics.d.ts.map +1 -0
  164. package/lib/services/diagnostics.js +288 -0
  165. package/lib/services/diagnostics.js.map +1 -0
  166. package/lib/services/dns-firewall.d.ts +317 -0
  167. package/lib/services/dns-firewall.d.ts.map +1 -0
  168. package/lib/services/dns-firewall.js +400 -0
  169. package/lib/services/dns-firewall.js.map +1 -0
  170. package/lib/services/dns.d.ts +3065 -0
  171. package/lib/services/dns.d.ts.map +1 -0
  172. package/lib/services/dns.js +4627 -0
  173. package/lib/services/dns.js.map +1 -0
  174. package/lib/services/durable-objects.d.ts +92 -0
  175. package/lib/services/durable-objects.d.ts.map +1 -0
  176. package/lib/services/durable-objects.js +103 -0
  177. package/lib/services/durable-objects.js.map +1 -0
  178. package/lib/services/email-routing.d.ts +598 -0
  179. package/lib/services/email-routing.d.ts.map +1 -0
  180. package/lib/services/email-routing.js +715 -0
  181. package/lib/services/email-routing.js.map +1 -0
  182. package/lib/services/email-security.d.ts +1389 -0
  183. package/lib/services/email-security.d.ts.map +1 -0
  184. package/lib/services/email-security.js +2261 -0
  185. package/lib/services/email-security.js.map +1 -0
  186. package/lib/services/filters.d.ts +197 -0
  187. package/lib/services/filters.d.ts.map +1 -0
  188. package/lib/services/filters.js +168 -0
  189. package/lib/services/filters.js.map +1 -0
  190. package/lib/services/firewall.d.ts +1352 -0
  191. package/lib/services/firewall.d.ts.map +1 -0
  192. package/lib/services/firewall.js +2084 -0
  193. package/lib/services/firewall.js.map +1 -0
  194. package/lib/services/healthchecks.d.ts +507 -0
  195. package/lib/services/healthchecks.d.ts.map +1 -0
  196. package/lib/services/healthchecks.js +867 -0
  197. package/lib/services/healthchecks.js.map +1 -0
  198. package/lib/services/hostnames.d.ts +86 -0
  199. package/lib/services/hostnames.d.ts.map +1 -0
  200. package/lib/services/hostnames.js +111 -0
  201. package/lib/services/hostnames.js.map +1 -0
  202. package/lib/services/hyperdrive.d.ts +203 -0
  203. package/lib/services/hyperdrive.d.ts.map +1 -0
  204. package/lib/services/hyperdrive.js +300 -0
  205. package/lib/services/hyperdrive.js.map +1 -0
  206. package/lib/services/iam.d.ts +657 -0
  207. package/lib/services/iam.d.ts.map +1 -0
  208. package/lib/services/iam.js +843 -0
  209. package/lib/services/iam.js.map +1 -0
  210. package/lib/services/images.d.ts +427 -0
  211. package/lib/services/images.d.ts.map +1 -0
  212. package/lib/services/images.js +444 -0
  213. package/lib/services/images.js.map +1 -0
  214. package/lib/services/intel.d.ts +865 -0
  215. package/lib/services/intel.d.ts.map +1 -0
  216. package/lib/services/intel.js +1266 -0
  217. package/lib/services/intel.js.map +1 -0
  218. package/lib/services/ips.d.ts +28 -0
  219. package/lib/services/ips.d.ts.map +1 -0
  220. package/lib/services/ips.js +39 -0
  221. package/lib/services/ips.js.map +1 -0
  222. package/lib/services/keyless-certificates.d.ts +197 -0
  223. package/lib/services/keyless-certificates.d.ts.map +1 -0
  224. package/lib/services/keyless-certificates.js +229 -0
  225. package/lib/services/keyless-certificates.js.map +1 -0
  226. package/lib/services/kv.d.ts +369 -0
  227. package/lib/services/kv.d.ts.map +1 -0
  228. package/lib/services/kv.js +453 -0
  229. package/lib/services/kv.js.map +1 -0
  230. package/lib/services/leaked-credential-checks.d.ts +129 -0
  231. package/lib/services/leaked-credential-checks.d.ts.map +1 -0
  232. package/lib/services/leaked-credential-checks.js +138 -0
  233. package/lib/services/leaked-credential-checks.js.map +1 -0
  234. package/lib/services/load-balancers.d.ts +1973 -0
  235. package/lib/services/load-balancers.d.ts.map +1 -0
  236. package/lib/services/load-balancers.js +3181 -0
  237. package/lib/services/load-balancers.js.map +1 -0
  238. package/lib/services/logpush.d.ts +401 -0
  239. package/lib/services/logpush.d.ts.map +1 -0
  240. package/lib/services/logpush.js +732 -0
  241. package/lib/services/logpush.js.map +1 -0
  242. package/lib/services/logs.d.ts +125 -0
  243. package/lib/services/logs.d.ts.map +1 -0
  244. package/lib/services/logs.js +149 -0
  245. package/lib/services/logs.js.map +1 -0
  246. package/lib/services/magic-cloud-networking.d.ts +1892 -0
  247. package/lib/services/magic-cloud-networking.d.ts.map +1 -0
  248. package/lib/services/magic-cloud-networking.js +5291 -0
  249. package/lib/services/magic-cloud-networking.js.map +1 -0
  250. package/lib/services/magic-network-monitoring.d.ts +379 -0
  251. package/lib/services/magic-network-monitoring.d.ts.map +1 -0
  252. package/lib/services/magic-network-monitoring.js +557 -0
  253. package/lib/services/magic-network-monitoring.js.map +1 -0
  254. package/lib/services/magic-transit.d.ts +3886 -0
  255. package/lib/services/magic-transit.d.ts.map +1 -0
  256. package/lib/services/magic-transit.js +6284 -0
  257. package/lib/services/magic-transit.js.map +1 -0
  258. package/lib/services/managed-transforms.d.ts +79 -0
  259. package/lib/services/managed-transforms.d.ts.map +1 -0
  260. package/lib/services/managed-transforms.js +111 -0
  261. package/lib/services/managed-transforms.js.map +1 -0
  262. package/lib/services/memberships.d.ts +204 -0
  263. package/lib/services/memberships.d.ts.map +1 -0
  264. package/lib/services/memberships.js +308 -0
  265. package/lib/services/memberships.js.map +1 -0
  266. package/lib/services/mtls-certificates.d.ts +164 -0
  267. package/lib/services/mtls-certificates.d.ts.map +1 -0
  268. package/lib/services/mtls-certificates.js +192 -0
  269. package/lib/services/mtls-certificates.js.map +1 -0
  270. package/lib/services/network-interconnects.d.ts +410 -0
  271. package/lib/services/network-interconnects.d.ts.map +1 -0
  272. package/lib/services/network-interconnects.js +583 -0
  273. package/lib/services/network-interconnects.js.map +1 -0
  274. package/lib/services/organizations.d.ts +232 -0
  275. package/lib/services/organizations.d.ts.map +1 -0
  276. package/lib/services/organizations.js +370 -0
  277. package/lib/services/organizations.js.map +1 -0
  278. package/lib/services/origin-ca-certificates.d.ts +119 -0
  279. package/lib/services/origin-ca-certificates.d.ts.map +1 -0
  280. package/lib/services/origin-ca-certificates.js +183 -0
  281. package/lib/services/origin-ca-certificates.js.map +1 -0
  282. package/lib/services/origin-post-quantum-encryption.d.ts +50 -0
  283. package/lib/services/origin-post-quantum-encryption.d.ts.map +1 -0
  284. package/lib/services/origin-post-quantum-encryption.js +64 -0
  285. package/lib/services/origin-post-quantum-encryption.js.map +1 -0
  286. package/lib/services/origin-tls-client-auth.d.ts +308 -0
  287. package/lib/services/origin-tls-client-auth.d.ts.map +1 -0
  288. package/lib/services/origin-tls-client-auth.js +435 -0
  289. package/lib/services/origin-tls-client-auth.js.map +1 -0
  290. package/lib/services/page-rules.d.ts +773 -0
  291. package/lib/services/page-rules.d.ts.map +1 -0
  292. package/lib/services/page-rules.js +1373 -0
  293. package/lib/services/page-rules.js.map +1 -0
  294. package/lib/services/page-shield.d.ts +505 -0
  295. package/lib/services/page-shield.d.ts.map +1 -0
  296. package/lib/services/page-shield.js +520 -0
  297. package/lib/services/page-shield.js.map +1 -0
  298. package/lib/services/pages.d.ts +1949 -0
  299. package/lib/services/pages.d.ts.map +1 -0
  300. package/lib/services/pages.js +3030 -0
  301. package/lib/services/pages.js.map +1 -0
  302. package/lib/services/pipelines.d.ts +1716 -0
  303. package/lib/services/pipelines.d.ts.map +1 -0
  304. package/lib/services/pipelines.js +2991 -0
  305. package/lib/services/pipelines.js.map +1 -0
  306. package/lib/services/queues.d.ts +904 -0
  307. package/lib/services/queues.d.ts.map +1 -0
  308. package/lib/services/queues.js +1250 -0
  309. package/lib/services/queues.js.map +1 -0
  310. package/lib/services/r2-data-catalog.d.ts +341 -0
  311. package/lib/services/r2-data-catalog.d.ts.map +1 -0
  312. package/lib/services/r2-data-catalog.js +513 -0
  313. package/lib/services/r2-data-catalog.js.map +1 -0
  314. package/lib/services/r2.d.ts +1087 -0
  315. package/lib/services/r2.d.ts.map +1 -0
  316. package/lib/services/r2.js +1404 -0
  317. package/lib/services/r2.js.map +1 -0
  318. package/lib/services/radar.d.ts +9365 -0
  319. package/lib/services/radar.d.ts.map +1 -0
  320. package/lib/services/radar.js +20552 -0
  321. package/lib/services/radar.js.map +1 -0
  322. package/lib/services/rate-limits.d.ts +360 -0
  323. package/lib/services/rate-limits.d.ts.map +1 -0
  324. package/lib/services/rate-limits.js +545 -0
  325. package/lib/services/rate-limits.js.map +1 -0
  326. package/lib/services/realtime-kit.d.ts +2728 -0
  327. package/lib/services/realtime-kit.d.ts.map +1 -0
  328. package/lib/services/realtime-kit.js +5402 -0
  329. package/lib/services/realtime-kit.js.map +1 -0
  330. package/lib/services/registrar.d.ts +121 -0
  331. package/lib/services/registrar.d.ts.map +1 -0
  332. package/lib/services/registrar.js +167 -0
  333. package/lib/services/registrar.js.map +1 -0
  334. package/lib/services/request-tracers.d.ts +61 -0
  335. package/lib/services/request-tracers.d.ts.map +1 -0
  336. package/lib/services/request-tracers.js +85 -0
  337. package/lib/services/request-tracers.js.map +1 -0
  338. package/lib/services/resource-sharing.d.ts +622 -0
  339. package/lib/services/resource-sharing.d.ts.map +1 -0
  340. package/lib/services/resource-sharing.js +929 -0
  341. package/lib/services/resource-sharing.js.map +1 -0
  342. package/lib/services/rules.d.ts +346 -0
  343. package/lib/services/rules.d.ts.map +1 -0
  344. package/lib/services/rules.js +431 -0
  345. package/lib/services/rules.js.map +1 -0
  346. package/lib/services/rulesets.d.ts +3345 -0
  347. package/lib/services/rulesets.d.ts.map +1 -0
  348. package/lib/services/rulesets.js +7904 -0
  349. package/lib/services/rulesets.js.map +1 -0
  350. package/lib/services/rum.d.ts +314 -0
  351. package/lib/services/rum.d.ts.map +1 -0
  352. package/lib/services/rum.js +442 -0
  353. package/lib/services/rum.js.map +1 -0
  354. package/lib/services/schema-validation.d.ts +273 -0
  355. package/lib/services/schema-validation.d.ts.map +1 -0
  356. package/lib/services/schema-validation.js +365 -0
  357. package/lib/services/schema-validation.js.map +1 -0
  358. package/lib/services/secrets-store.d.ts +393 -0
  359. package/lib/services/secrets-store.d.ts.map +1 -0
  360. package/lib/services/secrets-store.js +452 -0
  361. package/lib/services/secrets-store.js.map +1 -0
  362. package/lib/services/security-center.d.ts +136 -0
  363. package/lib/services/security-center.d.ts.map +1 -0
  364. package/lib/services/security-center.js +196 -0
  365. package/lib/services/security-center.js.map +1 -0
  366. package/lib/services/security-txt.d.ts +105 -0
  367. package/lib/services/security-txt.d.ts.map +1 -0
  368. package/lib/services/security-txt.js +136 -0
  369. package/lib/services/security-txt.js.map +1 -0
  370. package/lib/services/snippets.d.ts +190 -0
  371. package/lib/services/snippets.d.ts.map +1 -0
  372. package/lib/services/snippets.js +221 -0
  373. package/lib/services/snippets.js.map +1 -0
  374. package/lib/services/spectrum.d.ts +350 -0
  375. package/lib/services/spectrum.d.ts.map +1 -0
  376. package/lib/services/spectrum.js +535 -0
  377. package/lib/services/spectrum.js.map +1 -0
  378. package/lib/services/speed.d.ts +257 -0
  379. package/lib/services/speed.d.ts.map +1 -0
  380. package/lib/services/speed.js +471 -0
  381. package/lib/services/speed.js.map +1 -0
  382. package/lib/services/ssl.d.ts +412 -0
  383. package/lib/services/ssl.d.ts.map +1 -0
  384. package/lib/services/ssl.js +755 -0
  385. package/lib/services/ssl.js.map +1 -0
  386. package/lib/services/stream.d.ts +1110 -0
  387. package/lib/services/stream.d.ts.map +1 -0
  388. package/lib/services/stream.js +1085 -0
  389. package/lib/services/stream.js.map +1 -0
  390. package/lib/services/token-validation.d.ts +662 -0
  391. package/lib/services/token-validation.d.ts.map +1 -0
  392. package/lib/services/token-validation.js +834 -0
  393. package/lib/services/token-validation.js.map +1 -0
  394. package/lib/services/turnstile.d.ts +272 -0
  395. package/lib/services/turnstile.d.ts.map +1 -0
  396. package/lib/services/turnstile.js +339 -0
  397. package/lib/services/turnstile.js.map +1 -0
  398. package/lib/services/url-normalization.d.ts +53 -0
  399. package/lib/services/url-normalization.d.ts.map +1 -0
  400. package/lib/services/url-normalization.js +52 -0
  401. package/lib/services/url-normalization.js.map +1 -0
  402. package/lib/services/url-scanner.d.ts +612 -0
  403. package/lib/services/url-scanner.d.ts.map +1 -0
  404. package/lib/services/url-scanner.js +915 -0
  405. package/lib/services/url-scanner.js.map +1 -0
  406. package/lib/services/user.d.ts +507 -0
  407. package/lib/services/user.d.ts.map +1 -0
  408. package/lib/services/user.js +634 -0
  409. package/lib/services/user.js.map +1 -0
  410. package/lib/services/vectorize.d.ts +297 -0
  411. package/lib/services/vectorize.d.ts.map +1 -0
  412. package/lib/services/vectorize.js +351 -0
  413. package/lib/services/vectorize.js.map +1 -0
  414. package/lib/services/waiting-rooms.d.ts +1149 -0
  415. package/lib/services/waiting-rooms.d.ts.map +1 -0
  416. package/lib/services/waiting-rooms.js +1859 -0
  417. package/lib/services/waiting-rooms.js.map +1 -0
  418. package/lib/services/web3.d.ts +289 -0
  419. package/lib/services/web3.d.ts.map +1 -0
  420. package/lib/services/web3.js +381 -0
  421. package/lib/services/web3.js.map +1 -0
  422. package/lib/services/workers-for-platforms.d.ts +1394 -0
  423. package/lib/services/workers-for-platforms.d.ts.map +1 -0
  424. package/lib/services/workers-for-platforms.js +2121 -0
  425. package/lib/services/workers-for-platforms.js.map +1 -0
  426. package/lib/services/workers.d.ts +3827 -0
  427. package/lib/services/workers.d.ts.map +1 -0
  428. package/lib/services/workers.js +6105 -0
  429. package/lib/services/workers.js.map +1 -0
  430. package/lib/services/workflows.d.ts +442 -0
  431. package/lib/services/workflows.d.ts.map +1 -0
  432. package/lib/services/workflows.js +599 -0
  433. package/lib/services/workflows.js.map +1 -0
  434. package/lib/services/zaraz.d.ts +312 -0
  435. package/lib/services/zaraz.d.ts.map +1 -0
  436. package/lib/services/zaraz.js +305 -0
  437. package/lib/services/zaraz.js.map +1 -0
  438. package/lib/services/zero-trust.d.ts +18235 -0
  439. package/lib/services/zero-trust.d.ts.map +1 -0
  440. package/lib/services/zero-trust.js +30268 -0
  441. package/lib/services/zero-trust.js.map +1 -0
  442. package/lib/services/zones.d.ts +1382 -0
  443. package/lib/services/zones.d.ts.map +1 -0
  444. package/lib/services/zones.js +2477 -0
  445. package/lib/services/zones.js.map +1 -0
  446. package/lib/traits.d.ts +28 -0
  447. package/lib/traits.d.ts.map +1 -0
  448. package/lib/traits.js +26 -0
  449. package/lib/traits.js.map +1 -0
  450. package/package.json +82 -0
  451. package/src/auth.ts +15 -0
  452. package/src/category.ts +1 -0
  453. package/src/client/api.ts +421 -0
  454. package/src/client/index.ts +7 -0
  455. package/src/credentials.ts +271 -0
  456. package/src/errors.ts +73 -0
  457. package/src/index.ts +9 -0
  458. package/src/retry.ts +35 -0
  459. package/src/schemas.ts +51 -0
  460. package/src/sensitive.ts +4 -0
  461. package/src/services/abuse-reports.ts +955 -0
  462. package/src/services/accounts.ts +2152 -0
  463. package/src/services/acm.ts +178 -0
  464. package/src/services/addressing.ts +4262 -0
  465. package/src/services/ai-gateway.ts +3773 -0
  466. package/src/services/ai.ts +901 -0
  467. package/src/services/aisearch.ts +5215 -0
  468. package/src/services/alerting.ts +3303 -0
  469. package/src/services/api-gateway.ts +3890 -0
  470. package/src/services/argo.ts +270 -0
  471. package/src/services/audit-logs.ts +90 -0
  472. package/src/services/billing.ts +176 -0
  473. package/src/services/bot-management.ts +545 -0
  474. package/src/services/botnet-feed.ts +205 -0
  475. package/src/services/brand-protection.ts +575 -0
  476. package/src/services/browser-rendering.ts +2720 -0
  477. package/src/services/cache.ts +877 -0
  478. package/src/services/calls.ts +548 -0
  479. package/src/services/certificate-authorities.ts +114 -0
  480. package/src/services/client-certificates.ts +815 -0
  481. package/src/services/cloud-connector.ts +248 -0
  482. package/src/services/cloudforce-one.ts +4104 -0
  483. package/src/services/connectivity.ts +706 -0
  484. package/src/services/content-scanning.ts +458 -0
  485. package/src/services/custom-certificates.ts +690 -0
  486. package/src/services/custom-hostnames.ts +2641 -0
  487. package/src/services/custom-nameservers.ts +235 -0
  488. package/src/services/custom-pages.ts +311 -0
  489. package/src/services/d1.ts +1208 -0
  490. package/src/services/dcv-delegation.ts +54 -0
  491. package/src/services/diagnostics.ts +677 -0
  492. package/src/services/dns-firewall.ts +904 -0
  493. package/src/services/dns.ts +9277 -0
  494. package/src/services/durable-objects.ts +237 -0
  495. package/src/services/email-routing.ts +1796 -0
  496. package/src/services/email-security.ts +5052 -0
  497. package/src/services/filters.ts +488 -0
  498. package/src/services/firewall.ts +4728 -0
  499. package/src/services/healthchecks.ts +1866 -0
  500. package/src/services/hostnames.ts +254 -0
  501. package/src/services/hyperdrive.ts +595 -0
  502. package/src/services/iam.ts +1969 -0
  503. package/src/services/images.ts +1180 -0
  504. package/src/services/intel.ts +3072 -0
  505. package/src/services/ips.ts +88 -0
  506. package/src/services/keyless-certificates.ts +509 -0
  507. package/src/services/kv.ts +1129 -0
  508. package/src/services/leaked-credential-checks.ts +364 -0
  509. package/src/services/load-balancers.ts +6993 -0
  510. package/src/services/logpush.ts +1695 -0
  511. package/src/services/logs.ts +389 -0
  512. package/src/services/magic-cloud-networking.ts +10747 -0
  513. package/src/services/magic-network-monitoring.ts +1200 -0
  514. package/src/services/magic-transit.ts +13673 -0
  515. package/src/services/managed-transforms.ts +245 -0
  516. package/src/services/memberships.ts +698 -0
  517. package/src/services/mtls-certificates.ts +444 -0
  518. package/src/services/network-interconnects.ts +1253 -0
  519. package/src/services/organizations.ts +738 -0
  520. package/src/services/origin-ca-certificates.ts +369 -0
  521. package/src/services/origin-post-quantum-encryption.ts +136 -0
  522. package/src/services/origin-tls-client-auth.ts +1002 -0
  523. package/src/services/page-rules.ts +2632 -0
  524. package/src/services/page-shield.ts +1371 -0
  525. package/src/services/pages.ts +6167 -0
  526. package/src/services/pipelines.ts +6455 -0
  527. package/src/services/queues.ts +2827 -0
  528. package/src/services/r2-data-catalog.ts +1151 -0
  529. package/src/services/r2.ts +3529 -0
  530. package/src/services/radar.ts +42836 -0
  531. package/src/services/rate-limits.ts +1252 -0
  532. package/src/services/realtime-kit.ts +11080 -0
  533. package/src/services/registrar.ts +390 -0
  534. package/src/services/request-tracers.ts +161 -0
  535. package/src/services/resource-sharing.ts +2082 -0
  536. package/src/services/rules.ts +953 -0
  537. package/src/services/rulesets.ts +15361 -0
  538. package/src/services/rum.ts +994 -0
  539. package/src/services/schema-validation.ts +869 -0
  540. package/src/services/secrets-store.ts +1050 -0
  541. package/src/services/security-center.ts +495 -0
  542. package/src/services/security-txt.ts +317 -0
  543. package/src/services/snippets.ts +562 -0
  544. package/src/services/spectrum.ts +1190 -0
  545. package/src/services/speed.ts +1154 -0
  546. package/src/services/ssl.ts +1714 -0
  547. package/src/services/stream.ts +3008 -0
  548. package/src/services/token-validation.ts +1825 -0
  549. package/src/services/turnstile.ts +725 -0
  550. package/src/services/url-normalization.ts +133 -0
  551. package/src/services/url-scanner.ts +1851 -0
  552. package/src/services/user.ts +1587 -0
  553. package/src/services/vectorize.ts +875 -0
  554. package/src/services/waiting-rooms.ts +4216 -0
  555. package/src/services/web3.ts +899 -0
  556. package/src/services/workers-for-platforms.ts +4134 -0
  557. package/src/services/workers.ts +12298 -0
  558. package/src/services/workflows.ts +1372 -0
  559. package/src/services/zaraz.ts +833 -0
  560. package/src/services/zero-trust.ts +64685 -0
  561. package/src/services/zones.ts +5106 -0
  562. package/src/traits.ts +47 -0
@@ -0,0 +1,1321 @@
1
+ /**
2
+ * Cloudflare ADDRESSING API
3
+ *
4
+ * Generated from Cloudflare TypeScript SDK.
5
+ * DO NOT EDIT - regenerate with: bun scripts/generate.ts --service addressing
6
+ */
7
+ import * as stream from "effect/Stream";
8
+ import * as Schema from "effect/Schema";
9
+ import type * as HttpClient from "effect/unstable/http/HttpClient";
10
+ import * as API from "../client/api.ts";
11
+ import type { Credentials } from "../credentials.ts";
12
+ import { type DefaultErrors } from "../errors.ts";
13
+ declare const AddressMapNotFound_base: Schema.ErrorClass<AddressMapNotFound, Schema.TaggedStruct<"AddressMapNotFound", {
14
+ readonly code: Schema.Number;
15
+ readonly message: Schema.String;
16
+ }>, import("effect/Cause").YieldableError>;
17
+ export declare class AddressMapNotFound extends AddressMapNotFound_base {
18
+ }
19
+ declare const BgpPrefixNotFound_base: Schema.ErrorClass<BgpPrefixNotFound, Schema.TaggedStruct<"BgpPrefixNotFound", {
20
+ readonly code: Schema.Number;
21
+ readonly message: Schema.String;
22
+ }>, import("effect/Cause").YieldableError>;
23
+ export declare class BgpPrefixNotFound extends BgpPrefixNotFound_base {
24
+ }
25
+ declare const BindingNotFound_base: Schema.ErrorClass<BindingNotFound, Schema.TaggedStruct<"BindingNotFound", {
26
+ readonly code: Schema.Number;
27
+ readonly message: Schema.String;
28
+ }>, import("effect/Cause").YieldableError>;
29
+ export declare class BindingNotFound extends BindingNotFound_base {
30
+ }
31
+ declare const DelegationNotFound_base: Schema.ErrorClass<DelegationNotFound, Schema.TaggedStruct<"DelegationNotFound", {
32
+ readonly code: Schema.Number;
33
+ readonly message: Schema.String;
34
+ }>, import("effect/Cause").YieldableError>;
35
+ export declare class DelegationNotFound extends DelegationNotFound_base {
36
+ }
37
+ declare const FeatureNotEnabled_base: Schema.ErrorClass<FeatureNotEnabled, Schema.TaggedStruct<"FeatureNotEnabled", {
38
+ readonly code: Schema.Number;
39
+ readonly message: Schema.String;
40
+ }>, import("effect/Cause").YieldableError>;
41
+ export declare class FeatureNotEnabled extends FeatureNotEnabled_base {
42
+ }
43
+ declare const InvalidAccountId_base: Schema.ErrorClass<InvalidAccountId, Schema.TaggedStruct<"InvalidAccountId", {
44
+ readonly code: Schema.Number;
45
+ readonly message: Schema.String;
46
+ }>, import("effect/Cause").YieldableError>;
47
+ export declare class InvalidAccountId extends InvalidAccountId_base {
48
+ }
49
+ declare const InvalidHostname_base: Schema.ErrorClass<InvalidHostname, Schema.TaggedStruct<"InvalidHostname", {
50
+ readonly code: Schema.Number;
51
+ readonly message: Schema.String;
52
+ }>, import("effect/Cause").YieldableError>;
53
+ export declare class InvalidHostname extends InvalidHostname_base {
54
+ }
55
+ declare const InvalidLoaForm_base: Schema.ErrorClass<InvalidLoaForm, Schema.TaggedStruct<"InvalidLoaForm", {
56
+ readonly code: Schema.Number;
57
+ readonly message: Schema.String;
58
+ }>, import("effect/Cause").YieldableError>;
59
+ export declare class InvalidLoaForm extends InvalidLoaForm_base {
60
+ }
61
+ declare const InvalidNetworkCidr_base: Schema.ErrorClass<InvalidNetworkCidr, Schema.TaggedStruct<"InvalidNetworkCidr", {
62
+ readonly code: Schema.Number;
63
+ readonly message: Schema.String;
64
+ }>, import("effect/Cause").YieldableError>;
65
+ export declare class InvalidNetworkCidr extends InvalidNetworkCidr_base {
66
+ }
67
+ declare const InvalidZoneId_base: Schema.ErrorClass<InvalidZoneId, Schema.TaggedStruct<"InvalidZoneId", {
68
+ readonly code: Schema.Number;
69
+ readonly message: Schema.String;
70
+ }>, import("effect/Cause").YieldableError>;
71
+ export declare class InvalidZoneId extends InvalidZoneId_base {
72
+ }
73
+ declare const IrrEntryNotFound_base: Schema.ErrorClass<IrrEntryNotFound, Schema.TaggedStruct<"IrrEntryNotFound", {
74
+ readonly code: Schema.Number;
75
+ readonly message: Schema.String;
76
+ }>, import("effect/Cause").YieldableError>;
77
+ export declare class IrrEntryNotFound extends IrrEntryNotFound_base {
78
+ }
79
+ declare const LoaDocumentNotFound_base: Schema.ErrorClass<LoaDocumentNotFound, Schema.TaggedStruct<"LoaDocumentNotFound", {
80
+ readonly code: Schema.Number;
81
+ readonly message: Schema.String;
82
+ }>, import("effect/Cause").YieldableError>;
83
+ export declare class LoaDocumentNotFound extends LoaDocumentNotFound_base {
84
+ }
85
+ declare const MethodNotAllowed_base: Schema.ErrorClass<MethodNotAllowed, Schema.TaggedStruct<"MethodNotAllowed", {
86
+ readonly code: Schema.Number;
87
+ readonly message: Schema.String;
88
+ }>, import("effect/Cause").YieldableError>;
89
+ export declare class MethodNotAllowed extends MethodNotAllowed_base {
90
+ }
91
+ declare const MissingAccountId_base: Schema.ErrorClass<MissingAccountId, Schema.TaggedStruct<"MissingAccountId", {
92
+ readonly code: Schema.Number;
93
+ readonly message: Schema.String;
94
+ }>, import("effect/Cause").YieldableError>;
95
+ export declare class MissingAccountId extends MissingAccountId_base {
96
+ }
97
+ declare const NonexistentAccountPrefix_base: Schema.ErrorClass<NonexistentAccountPrefix, Schema.TaggedStruct<"NonexistentAccountPrefix", {
98
+ readonly code: Schema.Number;
99
+ readonly message: Schema.String;
100
+ }>, import("effect/Cause").YieldableError>;
101
+ export declare class NonexistentAccountPrefix extends NonexistentAccountPrefix_base {
102
+ }
103
+ declare const PrefixNotFound_base: Schema.ErrorClass<PrefixNotFound, Schema.TaggedStruct<"PrefixNotFound", {
104
+ readonly code: Schema.Number;
105
+ readonly message: Schema.String;
106
+ }>, import("effect/Cause").YieldableError>;
107
+ export declare class PrefixNotFound extends PrefixNotFound_base {
108
+ }
109
+ declare const RegionalHostnameEmpty_base: Schema.ErrorClass<RegionalHostnameEmpty, Schema.TaggedStruct<"RegionalHostnameEmpty", {
110
+ readonly code: Schema.Number;
111
+ readonly message: Schema.String;
112
+ }>, import("effect/Cause").YieldableError>;
113
+ export declare class RegionalHostnameEmpty extends RegionalHostnameEmpty_base {
114
+ }
115
+ declare const RegionalHostnameNotFound_base: Schema.ErrorClass<RegionalHostnameNotFound, Schema.TaggedStruct<"RegionalHostnameNotFound", {
116
+ readonly code: Schema.Number;
117
+ readonly message: Schema.String;
118
+ }>, import("effect/Cause").YieldableError>;
119
+ export declare class RegionalHostnameNotFound extends RegionalHostnameNotFound_base {
120
+ }
121
+ declare const UnsupportedBindingConfiguration_base: Schema.ErrorClass<UnsupportedBindingConfiguration, Schema.TaggedStruct<"UnsupportedBindingConfiguration", {
122
+ readonly code: Schema.Number;
123
+ readonly message: Schema.String;
124
+ }>, import("effect/Cause").YieldableError>;
125
+ export declare class UnsupportedBindingConfiguration extends UnsupportedBindingConfiguration_base {
126
+ }
127
+ export interface GetAddressMapRequest {
128
+ addressMapId: string;
129
+ /** Identifier of a Cloudflare account. */
130
+ accountId: string;
131
+ }
132
+ export declare const GetAddressMapRequest: Schema.Schema<GetAddressMapRequest>;
133
+ export interface GetAddressMapResponse {
134
+ /** Identifier of an Address Map. */
135
+ id?: string | null;
136
+ /** If set to false, then the Address Map cannot be deleted via API. This is true for Cloudflare-managed maps. */
137
+ canDelete?: boolean | null;
138
+ /** If set to false, then the IPs on the Address Map cannot be modified via the API. This is true for Cloudflare-managed maps. */
139
+ canModifyIps?: boolean | null;
140
+ createdAt?: string | null;
141
+ /** If you have legacy TLS clients which do not send the TLS server name indicator, then you can specify one default SNI on the map. If Cloudflare receives a TLS handshake from a client without an SNI, it */
142
+ defaultSni?: string | null;
143
+ /** An optional description field which may be used to describe the types of IPs or zones on the map. */
144
+ description?: string | null;
145
+ /** Whether the Address Map is enabled or not. Cloudflare's DNS will not respond with IP addresses on an Address Map until the map is enabled. */
146
+ enabled?: boolean | null;
147
+ /** The set of IPs on the Address Map. */
148
+ ips?: unknown | null;
149
+ /** Zones and Accounts which will be assigned IPs on this Address Map. A zone membership will take priority over an account membership. */
150
+ memberships?: {
151
+ canDelete?: boolean | null;
152
+ createdAt?: string | null;
153
+ identifier?: string | null;
154
+ kind?: "zone" | "account" | null;
155
+ }[] | null;
156
+ modifiedAt?: string | null;
157
+ }
158
+ export declare const GetAddressMapResponse: Schema.Schema<GetAddressMapResponse>;
159
+ export type GetAddressMapError = DefaultErrors | AddressMapNotFound | InvalidAccountId;
160
+ export declare const getAddressMap: API.OperationMethod<GetAddressMapRequest, GetAddressMapResponse, GetAddressMapError, Credentials | HttpClient.HttpClient>;
161
+ export interface ListAddressMapsRequest {
162
+ /** Identifier of a Cloudflare account. */
163
+ accountId: string;
164
+ }
165
+ export declare const ListAddressMapsRequest: Schema.Schema<ListAddressMapsRequest>;
166
+ export interface ListAddressMapsResponse {
167
+ result: {
168
+ id?: string | null;
169
+ canDelete?: boolean | null;
170
+ canModifyIps?: boolean | null;
171
+ createdAt?: string | null;
172
+ defaultSni?: string | null;
173
+ description?: string | null;
174
+ enabled?: boolean | null;
175
+ modifiedAt?: string | null;
176
+ }[];
177
+ }
178
+ export declare const ListAddressMapsResponse: Schema.Schema<ListAddressMapsResponse>;
179
+ export type ListAddressMapsError = DefaultErrors;
180
+ export declare const listAddressMaps: API.PaginatedOperationMethod<ListAddressMapsRequest, ListAddressMapsResponse, ListAddressMapsError, Credentials | HttpClient.HttpClient> & {
181
+ pages: (input: ListAddressMapsRequest) => stream.Stream<ListAddressMapsResponse, ListAddressMapsError, Credentials | HttpClient.HttpClient>;
182
+ items: (input: ListAddressMapsRequest) => stream.Stream<{
183
+ id?: string | null;
184
+ canDelete?: boolean | null;
185
+ canModifyIps?: boolean | null;
186
+ createdAt?: string | null;
187
+ defaultSni?: string | null;
188
+ description?: string | null;
189
+ enabled?: boolean | null;
190
+ modifiedAt?: string | null;
191
+ }, ListAddressMapsError, Credentials | HttpClient.HttpClient>;
192
+ };
193
+ export interface CreateAddressMapRequest {
194
+ /** Path param: Identifier of a Cloudflare account. */
195
+ accountId: string;
196
+ /** Body param: An optional description field which may be used to describe the types of IPs or zones on the map. */
197
+ description?: string | null;
198
+ /** Body param: Whether the Address Map is enabled or not. Cloudflare's DNS will not respond with IP addresses on an Address Map until the map is enabled. */
199
+ enabled?: boolean | null;
200
+ /** Body param: */
201
+ ips?: string[];
202
+ /** Body param: Zones and Accounts which will be assigned IPs on this Address Map. A zone membership will take priority over an account membership. */
203
+ memberships?: {
204
+ identifier?: string;
205
+ kind?: "zone" | "account";
206
+ }[];
207
+ }
208
+ export declare const CreateAddressMapRequest: Schema.Schema<CreateAddressMapRequest>;
209
+ export interface CreateAddressMapResponse {
210
+ /** Identifier of an Address Map. */
211
+ id?: string | null;
212
+ /** If set to false, then the Address Map cannot be deleted via API. This is true for Cloudflare-managed maps. */
213
+ canDelete?: boolean | null;
214
+ /** If set to false, then the IPs on the Address Map cannot be modified via the API. This is true for Cloudflare-managed maps. */
215
+ canModifyIps?: boolean | null;
216
+ createdAt?: string | null;
217
+ /** If you have legacy TLS clients which do not send the TLS server name indicator, then you can specify one default SNI on the map. If Cloudflare receives a TLS handshake from a client without an SNI, it */
218
+ defaultSni?: string | null;
219
+ /** An optional description field which may be used to describe the types of IPs or zones on the map. */
220
+ description?: string | null;
221
+ /** Whether the Address Map is enabled or not. Cloudflare's DNS will not respond with IP addresses on an Address Map until the map is enabled. */
222
+ enabled?: boolean | null;
223
+ /** The set of IPs on the Address Map. */
224
+ ips?: unknown | null;
225
+ /** Zones and Accounts which will be assigned IPs on this Address Map. A zone membership will take priority over an account membership. */
226
+ memberships?: {
227
+ canDelete?: boolean | null;
228
+ createdAt?: string | null;
229
+ identifier?: string | null;
230
+ kind?: "zone" | "account" | null;
231
+ }[] | null;
232
+ modifiedAt?: string | null;
233
+ }
234
+ export declare const CreateAddressMapResponse: Schema.Schema<CreateAddressMapResponse>;
235
+ export type CreateAddressMapError = DefaultErrors | FeatureNotEnabled | InvalidAccountId;
236
+ export declare const createAddressMap: API.OperationMethod<CreateAddressMapRequest, CreateAddressMapResponse, CreateAddressMapError, Credentials | HttpClient.HttpClient>;
237
+ export interface PatchAddressMapRequest {
238
+ addressMapId: string;
239
+ /** Path param: Identifier of a Cloudflare account. */
240
+ accountId: string;
241
+ /** Body param: If you have legacy TLS clients which do not send the TLS server name indicator, then you can specify one default SNI on the map. If Cloudflare receives a TLS handshake from a client withou */
242
+ defaultSni?: string | null;
243
+ /** Body param: An optional description field which may be used to describe the types of IPs or zones on the map. */
244
+ description?: string | null;
245
+ /** Body param: Whether the Address Map is enabled or not. Cloudflare's DNS will not respond with IP addresses on an Address Map until the map is enabled. */
246
+ enabled?: boolean | null;
247
+ }
248
+ export declare const PatchAddressMapRequest: Schema.Schema<PatchAddressMapRequest>;
249
+ export interface PatchAddressMapResponse {
250
+ /** Identifier of an Address Map. */
251
+ id?: string | null;
252
+ /** If set to false, then the Address Map cannot be deleted via API. This is true for Cloudflare-managed maps. */
253
+ canDelete?: boolean | null;
254
+ /** If set to false, then the IPs on the Address Map cannot be modified via the API. This is true for Cloudflare-managed maps. */
255
+ canModifyIps?: boolean | null;
256
+ createdAt?: string | null;
257
+ /** If you have legacy TLS clients which do not send the TLS server name indicator, then you can specify one default SNI on the map. If Cloudflare receives a TLS handshake from a client without an SNI, it */
258
+ defaultSni?: string | null;
259
+ /** An optional description field which may be used to describe the types of IPs or zones on the map. */
260
+ description?: string | null;
261
+ /** Whether the Address Map is enabled or not. Cloudflare's DNS will not respond with IP addresses on an Address Map until the map is enabled. */
262
+ enabled?: boolean | null;
263
+ modifiedAt?: string | null;
264
+ }
265
+ export declare const PatchAddressMapResponse: Schema.Schema<PatchAddressMapResponse>;
266
+ export type PatchAddressMapError = DefaultErrors | MethodNotAllowed | FeatureNotEnabled | InvalidAccountId;
267
+ export declare const patchAddressMap: API.OperationMethod<PatchAddressMapRequest, PatchAddressMapResponse, PatchAddressMapError, Credentials | HttpClient.HttpClient>;
268
+ export interface DeleteAddressMapRequest {
269
+ addressMapId: string;
270
+ /** Identifier of a Cloudflare account. */
271
+ accountId: string;
272
+ }
273
+ export declare const DeleteAddressMapRequest: Schema.Schema<DeleteAddressMapRequest>;
274
+ export interface DeleteAddressMapResponse {
275
+ errors: {
276
+ code: number;
277
+ message: string;
278
+ documentationUrl?: string | null;
279
+ source?: {
280
+ pointer?: string | null;
281
+ } | null;
282
+ }[];
283
+ messages: {
284
+ code: number;
285
+ message: string;
286
+ documentationUrl?: string | null;
287
+ source?: {
288
+ pointer?: string | null;
289
+ } | null;
290
+ }[];
291
+ /** Whether the API call was successful. */
292
+ success: true;
293
+ resultInfo?: {
294
+ count?: number | null;
295
+ page?: number | null;
296
+ perPage?: number | null;
297
+ totalCount?: number | null;
298
+ } | null;
299
+ }
300
+ export declare const DeleteAddressMapResponse: Schema.Schema<DeleteAddressMapResponse>;
301
+ export type DeleteAddressMapError = DefaultErrors | MethodNotAllowed | FeatureNotEnabled | InvalidAccountId | AddressMapNotFound;
302
+ export declare const deleteAddressMap: API.OperationMethod<DeleteAddressMapRequest, DeleteAddressMapResponse, DeleteAddressMapError, Credentials | HttpClient.HttpClient>;
303
+ export interface PutAddressMapAccountRequest {
304
+ addressMapId: string;
305
+ /** Path param: Identifier of a Cloudflare account. */
306
+ accountId: string;
307
+ /** Body param: */
308
+ body: unknown;
309
+ }
310
+ export declare const PutAddressMapAccountRequest: Schema.Schema<PutAddressMapAccountRequest>;
311
+ export interface PutAddressMapAccountResponse {
312
+ errors: {
313
+ code: number;
314
+ message: string;
315
+ documentationUrl?: string | null;
316
+ source?: {
317
+ pointer?: string | null;
318
+ } | null;
319
+ }[];
320
+ messages: {
321
+ code: number;
322
+ message: string;
323
+ documentationUrl?: string | null;
324
+ source?: {
325
+ pointer?: string | null;
326
+ } | null;
327
+ }[];
328
+ /** Whether the API call was successful. */
329
+ success: true;
330
+ resultInfo?: {
331
+ count?: number | null;
332
+ page?: number | null;
333
+ perPage?: number | null;
334
+ totalCount?: number | null;
335
+ } | null;
336
+ }
337
+ export declare const PutAddressMapAccountResponse: Schema.Schema<PutAddressMapAccountResponse>;
338
+ export type PutAddressMapAccountError = DefaultErrors | MethodNotAllowed | FeatureNotEnabled | InvalidAccountId;
339
+ export declare const putAddressMapAccount: API.OperationMethod<PutAddressMapAccountRequest, PutAddressMapAccountResponse, PutAddressMapAccountError, Credentials | HttpClient.HttpClient>;
340
+ export interface DeleteAddressMapAccountRequest {
341
+ addressMapId: string;
342
+ /** Identifier of a Cloudflare account. */
343
+ accountId: string;
344
+ }
345
+ export declare const DeleteAddressMapAccountRequest: Schema.Schema<DeleteAddressMapAccountRequest>;
346
+ export interface DeleteAddressMapAccountResponse {
347
+ errors: {
348
+ code: number;
349
+ message: string;
350
+ documentationUrl?: string | null;
351
+ source?: {
352
+ pointer?: string | null;
353
+ } | null;
354
+ }[];
355
+ messages: {
356
+ code: number;
357
+ message: string;
358
+ documentationUrl?: string | null;
359
+ source?: {
360
+ pointer?: string | null;
361
+ } | null;
362
+ }[];
363
+ /** Whether the API call was successful. */
364
+ success: true;
365
+ resultInfo?: {
366
+ count?: number | null;
367
+ page?: number | null;
368
+ perPage?: number | null;
369
+ totalCount?: number | null;
370
+ } | null;
371
+ }
372
+ export declare const DeleteAddressMapAccountResponse: Schema.Schema<DeleteAddressMapAccountResponse>;
373
+ export type DeleteAddressMapAccountError = DefaultErrors | MethodNotAllowed | FeatureNotEnabled | InvalidAccountId;
374
+ export declare const deleteAddressMapAccount: API.OperationMethod<DeleteAddressMapAccountRequest, DeleteAddressMapAccountResponse, DeleteAddressMapAccountError, Credentials | HttpClient.HttpClient>;
375
+ export interface PutAddressMapIpRequest {
376
+ addressMapId: string;
377
+ ipAddress: string;
378
+ /** Path param: Identifier of a Cloudflare account. */
379
+ accountId: string;
380
+ /** Body param: */
381
+ body: unknown;
382
+ }
383
+ export declare const PutAddressMapIpRequest: Schema.Schema<PutAddressMapIpRequest>;
384
+ export interface PutAddressMapIpResponse {
385
+ errors: {
386
+ code: number;
387
+ message: string;
388
+ documentationUrl?: string | null;
389
+ source?: {
390
+ pointer?: string | null;
391
+ } | null;
392
+ }[];
393
+ messages: {
394
+ code: number;
395
+ message: string;
396
+ documentationUrl?: string | null;
397
+ source?: {
398
+ pointer?: string | null;
399
+ } | null;
400
+ }[];
401
+ /** Whether the API call was successful. */
402
+ success: true;
403
+ resultInfo?: {
404
+ count?: number | null;
405
+ page?: number | null;
406
+ perPage?: number | null;
407
+ totalCount?: number | null;
408
+ } | null;
409
+ }
410
+ export declare const PutAddressMapIpResponse: Schema.Schema<PutAddressMapIpResponse>;
411
+ export type PutAddressMapIpError = DefaultErrors | MethodNotAllowed | FeatureNotEnabled | InvalidAccountId | AddressMapNotFound;
412
+ export declare const putAddressMapIp: API.OperationMethod<PutAddressMapIpRequest, PutAddressMapIpResponse, PutAddressMapIpError, Credentials | HttpClient.HttpClient>;
413
+ export interface DeleteAddressMapIpRequest {
414
+ addressMapId: string;
415
+ ipAddress: string;
416
+ /** Identifier of a Cloudflare account. */
417
+ accountId: string;
418
+ }
419
+ export declare const DeleteAddressMapIpRequest: Schema.Schema<DeleteAddressMapIpRequest>;
420
+ export interface DeleteAddressMapIpResponse {
421
+ errors: {
422
+ code: number;
423
+ message: string;
424
+ documentationUrl?: string | null;
425
+ source?: {
426
+ pointer?: string | null;
427
+ } | null;
428
+ }[];
429
+ messages: {
430
+ code: number;
431
+ message: string;
432
+ documentationUrl?: string | null;
433
+ source?: {
434
+ pointer?: string | null;
435
+ } | null;
436
+ }[];
437
+ /** Whether the API call was successful. */
438
+ success: true;
439
+ resultInfo?: {
440
+ count?: number | null;
441
+ page?: number | null;
442
+ perPage?: number | null;
443
+ totalCount?: number | null;
444
+ } | null;
445
+ }
446
+ export declare const DeleteAddressMapIpResponse: Schema.Schema<DeleteAddressMapIpResponse>;
447
+ export type DeleteAddressMapIpError = DefaultErrors | MethodNotAllowed | FeatureNotEnabled | InvalidAccountId | AddressMapNotFound;
448
+ export declare const deleteAddressMapIp: API.OperationMethod<DeleteAddressMapIpRequest, DeleteAddressMapIpResponse, DeleteAddressMapIpError, Credentials | HttpClient.HttpClient>;
449
+ export interface PutAddressMapZoneRequest {
450
+ addressMapId: string;
451
+ /** Path param: Identifier of a zone. */
452
+ zoneId: string;
453
+ /** Path param: Identifier of a Cloudflare account. */
454
+ accountId: string;
455
+ /** Body param: */
456
+ body: unknown;
457
+ }
458
+ export declare const PutAddressMapZoneRequest: Schema.Schema<PutAddressMapZoneRequest>;
459
+ export interface PutAddressMapZoneResponse {
460
+ errors: {
461
+ code: number;
462
+ message: string;
463
+ documentationUrl?: string | null;
464
+ source?: {
465
+ pointer?: string | null;
466
+ } | null;
467
+ }[];
468
+ messages: {
469
+ code: number;
470
+ message: string;
471
+ documentationUrl?: string | null;
472
+ source?: {
473
+ pointer?: string | null;
474
+ } | null;
475
+ }[];
476
+ /** Whether the API call was successful. */
477
+ success: true;
478
+ resultInfo?: {
479
+ count?: number | null;
480
+ page?: number | null;
481
+ perPage?: number | null;
482
+ totalCount?: number | null;
483
+ } | null;
484
+ }
485
+ export declare const PutAddressMapZoneResponse: Schema.Schema<PutAddressMapZoneResponse>;
486
+ export type PutAddressMapZoneError = DefaultErrors | MethodNotAllowed | FeatureNotEnabled | InvalidAccountId;
487
+ export declare const putAddressMapZone: API.OperationMethod<PutAddressMapZoneRequest, PutAddressMapZoneResponse, PutAddressMapZoneError, Credentials | HttpClient.HttpClient>;
488
+ export interface DeleteAddressMapZoneRequest {
489
+ addressMapId: string;
490
+ /** Identifier of a zone. */
491
+ zoneId: string;
492
+ /** Identifier of a Cloudflare account. */
493
+ accountId: string;
494
+ }
495
+ export declare const DeleteAddressMapZoneRequest: Schema.Schema<DeleteAddressMapZoneRequest>;
496
+ export interface DeleteAddressMapZoneResponse {
497
+ errors: {
498
+ code: number;
499
+ message: string;
500
+ documentationUrl?: string | null;
501
+ source?: {
502
+ pointer?: string | null;
503
+ } | null;
504
+ }[];
505
+ messages: {
506
+ code: number;
507
+ message: string;
508
+ documentationUrl?: string | null;
509
+ source?: {
510
+ pointer?: string | null;
511
+ } | null;
512
+ }[];
513
+ /** Whether the API call was successful. */
514
+ success: true;
515
+ resultInfo?: {
516
+ count?: number | null;
517
+ page?: number | null;
518
+ perPage?: number | null;
519
+ totalCount?: number | null;
520
+ } | null;
521
+ }
522
+ export declare const DeleteAddressMapZoneResponse: Schema.Schema<DeleteAddressMapZoneResponse>;
523
+ export type DeleteAddressMapZoneError = DefaultErrors | MethodNotAllowed | FeatureNotEnabled | InvalidAccountId;
524
+ export declare const deleteAddressMapZone: API.OperationMethod<DeleteAddressMapZoneRequest, DeleteAddressMapZoneResponse, DeleteAddressMapZoneError, Credentials | HttpClient.HttpClient>;
525
+ export interface GetLoaDocumentRequest {
526
+ loaDocumentId: string | null;
527
+ /** Identifier of a Cloudflare account. */
528
+ accountId: string;
529
+ }
530
+ export declare const GetLoaDocumentRequest: Schema.Schema<GetLoaDocumentRequest>;
531
+ export type GetLoaDocumentResponse = unknown;
532
+ export declare const GetLoaDocumentResponse: Schema.Schema<unknown>;
533
+ export type GetLoaDocumentError = DefaultErrors | LoaDocumentNotFound | InvalidAccountId;
534
+ export declare const getLoaDocument: API.OperationMethod<GetLoaDocumentRequest, GetLoaDocumentResponse, GetLoaDocumentError, Credentials | HttpClient.HttpClient>;
535
+ export interface CreateLoaDocumentRequest {
536
+ /** Path param: Identifier of a Cloudflare account. */
537
+ accountId: string;
538
+ /** Body param: LOA document to upload. */
539
+ loaDocument: string;
540
+ }
541
+ export declare const CreateLoaDocumentRequest: Schema.Schema<CreateLoaDocumentRequest>;
542
+ export interface CreateLoaDocumentResponse {
543
+ /** Identifier for the uploaded LOA document. */
544
+ id?: string | null;
545
+ /** Identifier of a Cloudflare account. */
546
+ accountId?: string | null;
547
+ /** Whether the LOA has been auto-generated for the prefix owner by Cloudflare. */
548
+ autoGenerated?: boolean | null;
549
+ created?: string | null;
550
+ /** Name of LOA document. Max file size 10MB, and supported filetype is pdf. */
551
+ filename?: string | null;
552
+ /** File size of the uploaded LOA document. */
553
+ sizeBytes?: number | null;
554
+ /** Whether the LOA has been verified by Cloudflare staff. */
555
+ verified?: boolean | null;
556
+ /** Timestamp of the moment the LOA was marked as validated. */
557
+ verifiedAt?: string | null;
558
+ }
559
+ export declare const CreateLoaDocumentResponse: Schema.Schema<CreateLoaDocumentResponse>;
560
+ export type CreateLoaDocumentError = DefaultErrors | InvalidAccountId | InvalidLoaForm;
561
+ export declare const createLoaDocument: API.OperationMethod<CreateLoaDocumentRequest, CreateLoaDocumentResponse, CreateLoaDocumentError, Credentials | HttpClient.HttpClient>;
562
+ export interface GetPrefixRequest {
563
+ prefixId: string;
564
+ /** Identifier of a Cloudflare account. */
565
+ accountId: string;
566
+ }
567
+ export declare const GetPrefixRequest: Schema.Schema<GetPrefixRequest>;
568
+ export interface GetPrefixResponse {
569
+ /** Identifier of an IP Prefix. */
570
+ id?: string | null;
571
+ /** Identifier of a Cloudflare account. */
572
+ accountId?: string | null;
573
+ /** @deprecated Prefer the [BGP Prefixes API](https://developers.cloudflare.com/api/resources/addressing/subresources/prefixes/subresources/bgp_prefixes/) instead, which allows for advertising multiple BG */
574
+ advertised?: boolean | null;
575
+ /** @deprecated Prefer the [BGP Prefixes API](https://developers.cloudflare.com/api/resources/addressing/subresources/prefixes/subresources/bgp_prefixes/) instead, which allows for advertising multiple BG */
576
+ advertisedModifiedAt?: string | null;
577
+ /** Approval state of the prefix (P = pending, V = active). */
578
+ approved?: string | null;
579
+ /** Autonomous System Number (ASN) the prefix will be advertised under. */
580
+ asn?: number | null;
581
+ /** IP Prefix in Classless Inter-Domain Routing format. */
582
+ cidr?: string | null;
583
+ createdAt?: string | null;
584
+ /** Whether Cloudflare is allowed to generate the LOA document on behalf of the prefix owner. */
585
+ delegateLoaCreation?: boolean | null;
586
+ /** Description of the prefix. */
587
+ description?: string | null;
588
+ /** State of one kind of validation for an IP prefix. */
589
+ irrValidationState?: string | null;
590
+ /** Identifier for the uploaded LOA document. */
591
+ loaDocumentId?: string | null;
592
+ modifiedAt?: string | null;
593
+ /** @deprecated Prefer the [BGP Prefixes API](https://developers.cloudflare.com/api/resources/addressing/subresources/prefixes/subresources/bgp_prefixes/) instead, which allows for advertising multiple BG */
594
+ onDemandEnabled?: boolean | null;
595
+ /** @deprecated Prefer the [BGP Prefixes API](https://developers.cloudflare.com/api/resources/addressing/subresources/prefixes/subresources/bgp_prefixes/) instead, which allows for advertising multiple BG */
596
+ onDemandLocked?: boolean | null;
597
+ /** State of one kind of validation for an IP prefix. */
598
+ ownershipValidationState?: string | null;
599
+ /** Token provided to demonstrate ownership of the prefix. */
600
+ ownershipValidationToken?: string | null;
601
+ /** State of one kind of validation for an IP prefix. */
602
+ rpkiValidationState?: string | null;
603
+ }
604
+ export declare const GetPrefixResponse: Schema.Schema<GetPrefixResponse>;
605
+ export type GetPrefixError = DefaultErrors | PrefixNotFound | InvalidAccountId;
606
+ export declare const getPrefix: API.OperationMethod<GetPrefixRequest, GetPrefixResponse, GetPrefixError, Credentials | HttpClient.HttpClient>;
607
+ export interface ListPrefixesRequest {
608
+ /** Identifier of a Cloudflare account. */
609
+ accountId: string;
610
+ }
611
+ export declare const ListPrefixesRequest: Schema.Schema<ListPrefixesRequest>;
612
+ export interface ListPrefixesResponse {
613
+ result: {
614
+ id?: string | null;
615
+ accountId?: string | null;
616
+ advertised?: boolean | null;
617
+ advertisedModifiedAt?: string | null;
618
+ approved?: string | null;
619
+ asn?: number | null;
620
+ cidr?: string | null;
621
+ createdAt?: string | null;
622
+ delegateLoaCreation?: boolean | null;
623
+ description?: string | null;
624
+ irrValidationState?: string | null;
625
+ loaDocumentId?: string | null;
626
+ modifiedAt?: string | null;
627
+ onDemandEnabled?: boolean | null;
628
+ onDemandLocked?: boolean | null;
629
+ ownershipValidationState?: string | null;
630
+ ownershipValidationToken?: string | null;
631
+ rpkiValidationState?: string | null;
632
+ }[];
633
+ }
634
+ export declare const ListPrefixesResponse: Schema.Schema<ListPrefixesResponse>;
635
+ export type ListPrefixesError = DefaultErrors;
636
+ export declare const listPrefixes: API.PaginatedOperationMethod<ListPrefixesRequest, ListPrefixesResponse, ListPrefixesError, Credentials | HttpClient.HttpClient> & {
637
+ pages: (input: ListPrefixesRequest) => stream.Stream<ListPrefixesResponse, ListPrefixesError, Credentials | HttpClient.HttpClient>;
638
+ items: (input: ListPrefixesRequest) => stream.Stream<{
639
+ id?: string | null;
640
+ accountId?: string | null;
641
+ advertised?: boolean | null;
642
+ advertisedModifiedAt?: string | null;
643
+ approved?: string | null;
644
+ asn?: number | null;
645
+ cidr?: string | null;
646
+ createdAt?: string | null;
647
+ delegateLoaCreation?: boolean | null;
648
+ description?: string | null;
649
+ irrValidationState?: string | null;
650
+ loaDocumentId?: string | null;
651
+ modifiedAt?: string | null;
652
+ onDemandEnabled?: boolean | null;
653
+ onDemandLocked?: boolean | null;
654
+ ownershipValidationState?: string | null;
655
+ ownershipValidationToken?: string | null;
656
+ rpkiValidationState?: string | null;
657
+ }, ListPrefixesError, Credentials | HttpClient.HttpClient>;
658
+ };
659
+ export interface CreatePrefixRequest {
660
+ /** Path param: Identifier of a Cloudflare account. */
661
+ accountId: string;
662
+ /** Body param: Autonomous System Number (ASN) the prefix will be advertised under. */
663
+ asn: number;
664
+ /** Body param: IP Prefix in Classless Inter-Domain Routing format. */
665
+ cidr: string;
666
+ /** Body param: Whether Cloudflare is allowed to generate the LOA document on behalf of the prefix owner. */
667
+ delegateLoaCreation?: boolean;
668
+ /** Body param: Description of the prefix. */
669
+ description?: string;
670
+ /** Body param: Identifier for the uploaded LOA document. */
671
+ loaDocumentId?: string | null;
672
+ }
673
+ export declare const CreatePrefixRequest: Schema.Schema<CreatePrefixRequest>;
674
+ export interface CreatePrefixResponse {
675
+ /** Identifier of an IP Prefix. */
676
+ id?: string | null;
677
+ /** Identifier of a Cloudflare account. */
678
+ accountId?: string | null;
679
+ /** @deprecated Prefer the [BGP Prefixes API](https://developers.cloudflare.com/api/resources/addressing/subresources/prefixes/subresources/bgp_prefixes/) instead, which allows for advertising multiple BG */
680
+ advertised?: boolean | null;
681
+ /** @deprecated Prefer the [BGP Prefixes API](https://developers.cloudflare.com/api/resources/addressing/subresources/prefixes/subresources/bgp_prefixes/) instead, which allows for advertising multiple BG */
682
+ advertisedModifiedAt?: string | null;
683
+ /** Approval state of the prefix (P = pending, V = active). */
684
+ approved?: string | null;
685
+ /** Autonomous System Number (ASN) the prefix will be advertised under. */
686
+ asn?: number | null;
687
+ /** IP Prefix in Classless Inter-Domain Routing format. */
688
+ cidr?: string | null;
689
+ createdAt?: string | null;
690
+ /** Whether Cloudflare is allowed to generate the LOA document on behalf of the prefix owner. */
691
+ delegateLoaCreation?: boolean | null;
692
+ /** Description of the prefix. */
693
+ description?: string | null;
694
+ /** State of one kind of validation for an IP prefix. */
695
+ irrValidationState?: string | null;
696
+ /** Identifier for the uploaded LOA document. */
697
+ loaDocumentId?: string | null;
698
+ modifiedAt?: string | null;
699
+ /** @deprecated Prefer the [BGP Prefixes API](https://developers.cloudflare.com/api/resources/addressing/subresources/prefixes/subresources/bgp_prefixes/) instead, which allows for advertising multiple BG */
700
+ onDemandEnabled?: boolean | null;
701
+ /** @deprecated Prefer the [BGP Prefixes API](https://developers.cloudflare.com/api/resources/addressing/subresources/prefixes/subresources/bgp_prefixes/) instead, which allows for advertising multiple BG */
702
+ onDemandLocked?: boolean | null;
703
+ /** State of one kind of validation for an IP prefix. */
704
+ ownershipValidationState?: string | null;
705
+ /** Token provided to demonstrate ownership of the prefix. */
706
+ ownershipValidationToken?: string | null;
707
+ /** State of one kind of validation for an IP prefix. */
708
+ rpkiValidationState?: string | null;
709
+ }
710
+ export declare const CreatePrefixResponse: Schema.Schema<CreatePrefixResponse>;
711
+ export type CreatePrefixError = DefaultErrors | InvalidAccountId | InvalidNetworkCidr | IrrEntryNotFound;
712
+ export declare const createPrefix: API.OperationMethod<CreatePrefixRequest, CreatePrefixResponse, CreatePrefixError, Credentials | HttpClient.HttpClient>;
713
+ export interface PatchPrefixRequest {
714
+ prefixId: string;
715
+ /** Path param: Identifier of a Cloudflare account. */
716
+ accountId: string;
717
+ /** Body param: Description of the prefix. */
718
+ description: string;
719
+ }
720
+ export declare const PatchPrefixRequest: Schema.Schema<PatchPrefixRequest>;
721
+ export interface PatchPrefixResponse {
722
+ /** Identifier of an IP Prefix. */
723
+ id?: string | null;
724
+ /** Identifier of a Cloudflare account. */
725
+ accountId?: string | null;
726
+ /** @deprecated Prefer the [BGP Prefixes API](https://developers.cloudflare.com/api/resources/addressing/subresources/prefixes/subresources/bgp_prefixes/) instead, which allows for advertising multiple BG */
727
+ advertised?: boolean | null;
728
+ /** @deprecated Prefer the [BGP Prefixes API](https://developers.cloudflare.com/api/resources/addressing/subresources/prefixes/subresources/bgp_prefixes/) instead, which allows for advertising multiple BG */
729
+ advertisedModifiedAt?: string | null;
730
+ /** Approval state of the prefix (P = pending, V = active). */
731
+ approved?: string | null;
732
+ /** Autonomous System Number (ASN) the prefix will be advertised under. */
733
+ asn?: number | null;
734
+ /** IP Prefix in Classless Inter-Domain Routing format. */
735
+ cidr?: string | null;
736
+ createdAt?: string | null;
737
+ /** Whether Cloudflare is allowed to generate the LOA document on behalf of the prefix owner. */
738
+ delegateLoaCreation?: boolean | null;
739
+ /** Description of the prefix. */
740
+ description?: string | null;
741
+ /** State of one kind of validation for an IP prefix. */
742
+ irrValidationState?: string | null;
743
+ /** Identifier for the uploaded LOA document. */
744
+ loaDocumentId?: string | null;
745
+ modifiedAt?: string | null;
746
+ /** @deprecated Prefer the [BGP Prefixes API](https://developers.cloudflare.com/api/resources/addressing/subresources/prefixes/subresources/bgp_prefixes/) instead, which allows for advertising multiple BG */
747
+ onDemandEnabled?: boolean | null;
748
+ /** @deprecated Prefer the [BGP Prefixes API](https://developers.cloudflare.com/api/resources/addressing/subresources/prefixes/subresources/bgp_prefixes/) instead, which allows for advertising multiple BG */
749
+ onDemandLocked?: boolean | null;
750
+ /** State of one kind of validation for an IP prefix. */
751
+ ownershipValidationState?: string | null;
752
+ /** Token provided to demonstrate ownership of the prefix. */
753
+ ownershipValidationToken?: string | null;
754
+ /** State of one kind of validation for an IP prefix. */
755
+ rpkiValidationState?: string | null;
756
+ }
757
+ export declare const PatchPrefixResponse: Schema.Schema<PatchPrefixResponse>;
758
+ export type PatchPrefixError = DefaultErrors | MethodNotAllowed | PrefixNotFound | InvalidAccountId;
759
+ export declare const patchPrefix: API.OperationMethod<PatchPrefixRequest, PatchPrefixResponse, PatchPrefixError, Credentials | HttpClient.HttpClient>;
760
+ export interface DeletePrefixRequest {
761
+ prefixId: string;
762
+ /** Identifier of a Cloudflare account. */
763
+ accountId: string;
764
+ }
765
+ export declare const DeletePrefixRequest: Schema.Schema<DeletePrefixRequest>;
766
+ export interface DeletePrefixResponse {
767
+ errors: {
768
+ code: number;
769
+ message: string;
770
+ documentationUrl?: string | null;
771
+ source?: {
772
+ pointer?: string | null;
773
+ } | null;
774
+ }[];
775
+ messages: {
776
+ code: number;
777
+ message: string;
778
+ documentationUrl?: string | null;
779
+ source?: {
780
+ pointer?: string | null;
781
+ } | null;
782
+ }[];
783
+ /** Whether the API call was successful. */
784
+ success: true;
785
+ }
786
+ export declare const DeletePrefixResponse: Schema.Schema<DeletePrefixResponse>;
787
+ export type DeletePrefixError = DefaultErrors | MethodNotAllowed | PrefixNotFound | InvalidAccountId;
788
+ export declare const deletePrefix: API.OperationMethod<DeletePrefixRequest, DeletePrefixResponse, DeletePrefixError, Credentials | HttpClient.HttpClient>;
789
+ export interface GetPrefixAdvertisementStatusRequest {
790
+ prefixId: string;
791
+ /** Identifier of a Cloudflare account. */
792
+ accountId: string;
793
+ }
794
+ export declare const GetPrefixAdvertisementStatusRequest: Schema.Schema<GetPrefixAdvertisementStatusRequest>;
795
+ export interface GetPrefixAdvertisementStatusResponse {
796
+ /** Advertisement status of the prefix. If `true`, the BGP route for the prefix is advertised to the Internet. If `false`, the BGP route is withdrawn. */
797
+ advertised?: boolean | null;
798
+ /** Last time the advertisement status was changed. This field is only not 'null' if on demand is enabled. */
799
+ advertisedModifiedAt?: string | null;
800
+ }
801
+ export declare const GetPrefixAdvertisementStatusResponse: Schema.Schema<GetPrefixAdvertisementStatusResponse>;
802
+ export type GetPrefixAdvertisementStatusError = DefaultErrors | PrefixNotFound | InvalidAccountId;
803
+ export declare const getPrefixAdvertisementStatus: API.OperationMethod<GetPrefixAdvertisementStatusRequest, GetPrefixAdvertisementStatusResponse, GetPrefixAdvertisementStatusError, Credentials | HttpClient.HttpClient>;
804
+ export interface PatchPrefixAdvertisementStatusRequest {
805
+ prefixId: string;
806
+ /** Path param: Identifier of a Cloudflare account. */
807
+ accountId: string;
808
+ /** Body param: Advertisement status of the prefix. If `true`, the BGP route for the prefix is advertised to the Internet. If `false`, the BGP route is withdrawn. */
809
+ advertised: boolean;
810
+ }
811
+ export declare const PatchPrefixAdvertisementStatusRequest: Schema.Schema<PatchPrefixAdvertisementStatusRequest>;
812
+ export interface PatchPrefixAdvertisementStatusResponse {
813
+ /** Advertisement status of the prefix. If `true`, the BGP route for the prefix is advertised to the Internet. If `false`, the BGP route is withdrawn. */
814
+ advertised?: boolean | null;
815
+ /** Last time the advertisement status was changed. This field is only not 'null' if on demand is enabled. */
816
+ advertisedModifiedAt?: string | null;
817
+ }
818
+ export declare const PatchPrefixAdvertisementStatusResponse: Schema.Schema<PatchPrefixAdvertisementStatusResponse>;
819
+ export type PatchPrefixAdvertisementStatusError = DefaultErrors | PrefixNotFound | InvalidAccountId;
820
+ export declare const patchPrefixAdvertisementStatus: API.OperationMethod<PatchPrefixAdvertisementStatusRequest, PatchPrefixAdvertisementStatusResponse, PatchPrefixAdvertisementStatusError, Credentials | HttpClient.HttpClient>;
821
+ export interface GetPrefixBgpPrefixRequest {
822
+ prefixId: string;
823
+ bgpPrefixId: string;
824
+ /** Identifier of a Cloudflare account. */
825
+ accountId: string;
826
+ }
827
+ export declare const GetPrefixBgpPrefixRequest: Schema.Schema<GetPrefixBgpPrefixRequest>;
828
+ export interface GetPrefixBgpPrefixResponse {
829
+ /** Identifier of BGP Prefix. */
830
+ id?: string | null;
831
+ /** Autonomous System Number (ASN) the prefix will be advertised under. */
832
+ asn?: number | null;
833
+ /** Number of times to prepend the Cloudflare ASN to the BGP AS-Path attribute */
834
+ asnPrependCount?: number | null;
835
+ /** Determines if Cloudflare advertises a BYOIP BGP prefix even when there is no matching BGP prefix in the Magic routing table. When true, Cloudflare will automatically withdraw the BGP prefix when there */
836
+ autoAdvertiseWithdraw?: boolean | null;
837
+ bgpSignalOpts?: {
838
+ enabled?: boolean | null;
839
+ modifiedAt?: string | null;
840
+ } | null;
841
+ /** IP Prefix in Classless Inter-Domain Routing format. */
842
+ cidr?: string | null;
843
+ createdAt?: string | null;
844
+ modifiedAt?: string | null;
845
+ onDemand?: {
846
+ advertised?: boolean | null;
847
+ advertisedModifiedAt?: string | null;
848
+ onDemandEnabled?: boolean | null;
849
+ onDemandLocked?: boolean | null;
850
+ } | null;
851
+ }
852
+ export declare const GetPrefixBgpPrefixResponse: Schema.Schema<GetPrefixBgpPrefixResponse>;
853
+ export type GetPrefixBgpPrefixError = DefaultErrors | BgpPrefixNotFound | InvalidAccountId | PrefixNotFound;
854
+ export declare const getPrefixBgpPrefix: API.OperationMethod<GetPrefixBgpPrefixRequest, GetPrefixBgpPrefixResponse, GetPrefixBgpPrefixError, Credentials | HttpClient.HttpClient>;
855
+ export interface ListPrefixBgpPrefixesRequest {
856
+ prefixId: string;
857
+ /** Identifier of a Cloudflare account. */
858
+ accountId: string;
859
+ }
860
+ export declare const ListPrefixBgpPrefixesRequest: Schema.Schema<ListPrefixBgpPrefixesRequest>;
861
+ export interface ListPrefixBgpPrefixesResponse {
862
+ result: {
863
+ id?: string | null;
864
+ asn?: number | null;
865
+ asnPrependCount?: number | null;
866
+ autoAdvertiseWithdraw?: boolean | null;
867
+ bgpSignalOpts?: {
868
+ enabled?: boolean | null;
869
+ modifiedAt?: string | null;
870
+ } | null;
871
+ cidr?: string | null;
872
+ createdAt?: string | null;
873
+ modifiedAt?: string | null;
874
+ onDemand?: {
875
+ advertised?: boolean | null;
876
+ advertisedModifiedAt?: string | null;
877
+ onDemandEnabled?: boolean | null;
878
+ onDemandLocked?: boolean | null;
879
+ } | null;
880
+ }[];
881
+ }
882
+ export declare const ListPrefixBgpPrefixesResponse: Schema.Schema<ListPrefixBgpPrefixesResponse>;
883
+ export type ListPrefixBgpPrefixesError = DefaultErrors;
884
+ export declare const listPrefixBgpPrefixes: API.PaginatedOperationMethod<ListPrefixBgpPrefixesRequest, ListPrefixBgpPrefixesResponse, ListPrefixBgpPrefixesError, Credentials | HttpClient.HttpClient> & {
885
+ pages: (input: ListPrefixBgpPrefixesRequest) => stream.Stream<ListPrefixBgpPrefixesResponse, ListPrefixBgpPrefixesError, Credentials | HttpClient.HttpClient>;
886
+ items: (input: ListPrefixBgpPrefixesRequest) => stream.Stream<{
887
+ id?: string | null;
888
+ asn?: number | null;
889
+ asnPrependCount?: number | null;
890
+ autoAdvertiseWithdraw?: boolean | null;
891
+ bgpSignalOpts?: {
892
+ enabled?: boolean | null;
893
+ modifiedAt?: string | null;
894
+ } | null;
895
+ cidr?: string | null;
896
+ createdAt?: string | null;
897
+ modifiedAt?: string | null;
898
+ onDemand?: {
899
+ advertised?: boolean | null;
900
+ advertisedModifiedAt?: string | null;
901
+ onDemandEnabled?: boolean | null;
902
+ onDemandLocked?: boolean | null;
903
+ } | null;
904
+ }, ListPrefixBgpPrefixesError, Credentials | HttpClient.HttpClient>;
905
+ };
906
+ export interface CreatePrefixBgpPrefixRequest {
907
+ prefixId: string;
908
+ /** Path param: Identifier of a Cloudflare account. */
909
+ accountId: string;
910
+ /** Body param: IP Prefix in Classless Inter-Domain Routing format. */
911
+ cidr: string;
912
+ }
913
+ export declare const CreatePrefixBgpPrefixRequest: Schema.Schema<CreatePrefixBgpPrefixRequest>;
914
+ export interface CreatePrefixBgpPrefixResponse {
915
+ /** Identifier of BGP Prefix. */
916
+ id?: string | null;
917
+ /** Autonomous System Number (ASN) the prefix will be advertised under. */
918
+ asn?: number | null;
919
+ /** Number of times to prepend the Cloudflare ASN to the BGP AS-Path attribute */
920
+ asnPrependCount?: number | null;
921
+ /** Determines if Cloudflare advertises a BYOIP BGP prefix even when there is no matching BGP prefix in the Magic routing table. When true, Cloudflare will automatically withdraw the BGP prefix when there */
922
+ autoAdvertiseWithdraw?: boolean | null;
923
+ bgpSignalOpts?: {
924
+ enabled?: boolean | null;
925
+ modifiedAt?: string | null;
926
+ } | null;
927
+ /** IP Prefix in Classless Inter-Domain Routing format. */
928
+ cidr?: string | null;
929
+ createdAt?: string | null;
930
+ modifiedAt?: string | null;
931
+ onDemand?: {
932
+ advertised?: boolean | null;
933
+ advertisedModifiedAt?: string | null;
934
+ onDemandEnabled?: boolean | null;
935
+ onDemandLocked?: boolean | null;
936
+ } | null;
937
+ }
938
+ export declare const CreatePrefixBgpPrefixResponse: Schema.Schema<CreatePrefixBgpPrefixResponse>;
939
+ export type CreatePrefixBgpPrefixError = DefaultErrors | NonexistentAccountPrefix | InvalidAccountId | InvalidNetworkCidr;
940
+ export declare const createPrefixBgpPrefix: API.OperationMethod<CreatePrefixBgpPrefixRequest, CreatePrefixBgpPrefixResponse, CreatePrefixBgpPrefixError, Credentials | HttpClient.HttpClient>;
941
+ export interface PatchPrefixBgpPrefixRequest {
942
+ prefixId: string;
943
+ bgpPrefixId: string;
944
+ /** Path param: Identifier of a Cloudflare account. */
945
+ accountId: string;
946
+ /** Body param: Number of times to prepend the Cloudflare ASN to the BGP AS-Path attribute */
947
+ asnPrependCount?: number;
948
+ /** Body param: Determines if Cloudflare advertises a BYOIP BGP prefix even when there is no matching BGP prefix in the Magic routing table. When true, Cloudflare will automatically withdraw the BGP prefi */
949
+ autoAdvertiseWithdraw?: boolean;
950
+ /** Body param: */
951
+ onDemand?: {
952
+ advertised?: boolean;
953
+ };
954
+ }
955
+ export declare const PatchPrefixBgpPrefixRequest: Schema.Schema<PatchPrefixBgpPrefixRequest>;
956
+ export interface PatchPrefixBgpPrefixResponse {
957
+ /** Identifier of BGP Prefix. */
958
+ id?: string | null;
959
+ /** Autonomous System Number (ASN) the prefix will be advertised under. */
960
+ asn?: number | null;
961
+ /** Number of times to prepend the Cloudflare ASN to the BGP AS-Path attribute */
962
+ asnPrependCount?: number | null;
963
+ /** Determines if Cloudflare advertises a BYOIP BGP prefix even when there is no matching BGP prefix in the Magic routing table. When true, Cloudflare will automatically withdraw the BGP prefix when there */
964
+ autoAdvertiseWithdraw?: boolean | null;
965
+ bgpSignalOpts?: {
966
+ enabled?: boolean | null;
967
+ modifiedAt?: string | null;
968
+ } | null;
969
+ /** IP Prefix in Classless Inter-Domain Routing format. */
970
+ cidr?: string | null;
971
+ createdAt?: string | null;
972
+ modifiedAt?: string | null;
973
+ onDemand?: {
974
+ advertised?: boolean | null;
975
+ advertisedModifiedAt?: string | null;
976
+ onDemandEnabled?: boolean | null;
977
+ onDemandLocked?: boolean | null;
978
+ } | null;
979
+ }
980
+ export declare const PatchPrefixBgpPrefixResponse: Schema.Schema<PatchPrefixBgpPrefixResponse>;
981
+ export type PatchPrefixBgpPrefixError = DefaultErrors | BgpPrefixNotFound | InvalidAccountId;
982
+ export declare const patchPrefixBgpPrefix: API.OperationMethod<PatchPrefixBgpPrefixRequest, PatchPrefixBgpPrefixResponse, PatchPrefixBgpPrefixError, Credentials | HttpClient.HttpClient>;
983
+ export interface ListPrefixDelegationsRequest {
984
+ prefixId: string;
985
+ /** Identifier of a Cloudflare account. */
986
+ accountId: string;
987
+ }
988
+ export declare const ListPrefixDelegationsRequest: Schema.Schema<ListPrefixDelegationsRequest>;
989
+ export interface ListPrefixDelegationsResponse {
990
+ result: {
991
+ id?: string | null;
992
+ cidr?: string | null;
993
+ createdAt?: string | null;
994
+ delegatedAccountId?: string | null;
995
+ modifiedAt?: string | null;
996
+ parentPrefixId?: string | null;
997
+ }[];
998
+ }
999
+ export declare const ListPrefixDelegationsResponse: Schema.Schema<ListPrefixDelegationsResponse>;
1000
+ export type ListPrefixDelegationsError = DefaultErrors;
1001
+ export declare const listPrefixDelegations: API.PaginatedOperationMethod<ListPrefixDelegationsRequest, ListPrefixDelegationsResponse, ListPrefixDelegationsError, Credentials | HttpClient.HttpClient> & {
1002
+ pages: (input: ListPrefixDelegationsRequest) => stream.Stream<ListPrefixDelegationsResponse, ListPrefixDelegationsError, Credentials | HttpClient.HttpClient>;
1003
+ items: (input: ListPrefixDelegationsRequest) => stream.Stream<{
1004
+ id?: string | null;
1005
+ cidr?: string | null;
1006
+ createdAt?: string | null;
1007
+ delegatedAccountId?: string | null;
1008
+ modifiedAt?: string | null;
1009
+ parentPrefixId?: string | null;
1010
+ }, ListPrefixDelegationsError, Credentials | HttpClient.HttpClient>;
1011
+ };
1012
+ export interface CreatePrefixDelegationRequest {
1013
+ prefixId: string;
1014
+ /** Path param: Identifier of a Cloudflare account. */
1015
+ accountId: string;
1016
+ /** Body param: IP Prefix in Classless Inter-Domain Routing format. */
1017
+ cidr: string;
1018
+ /** Body param: Account identifier for the account to which prefix is being delegated. */
1019
+ delegatedAccountId: string;
1020
+ }
1021
+ export declare const CreatePrefixDelegationRequest: Schema.Schema<CreatePrefixDelegationRequest>;
1022
+ export interface CreatePrefixDelegationResponse {
1023
+ /** Identifier of a Delegation. */
1024
+ id?: string | null;
1025
+ /** IP Prefix in Classless Inter-Domain Routing format. */
1026
+ cidr?: string | null;
1027
+ createdAt?: string | null;
1028
+ /** Account identifier for the account to which prefix is being delegated. */
1029
+ delegatedAccountId?: string | null;
1030
+ modifiedAt?: string | null;
1031
+ /** Identifier of an IP Prefix. */
1032
+ parentPrefixId?: string | null;
1033
+ }
1034
+ export declare const CreatePrefixDelegationResponse: Schema.Schema<CreatePrefixDelegationResponse>;
1035
+ export type CreatePrefixDelegationError = DefaultErrors | PrefixNotFound | MissingAccountId | InvalidAccountId;
1036
+ export declare const createPrefixDelegation: API.OperationMethod<CreatePrefixDelegationRequest, CreatePrefixDelegationResponse, CreatePrefixDelegationError, Credentials | HttpClient.HttpClient>;
1037
+ export interface DeletePrefixDelegationRequest {
1038
+ prefixId: string;
1039
+ delegationId: string;
1040
+ /** Identifier of a Cloudflare account. */
1041
+ accountId: string;
1042
+ }
1043
+ export declare const DeletePrefixDelegationRequest: Schema.Schema<DeletePrefixDelegationRequest>;
1044
+ export interface DeletePrefixDelegationResponse {
1045
+ /** Identifier of a Delegation. */
1046
+ id?: string | null;
1047
+ }
1048
+ export declare const DeletePrefixDelegationResponse: Schema.Schema<DeletePrefixDelegationResponse>;
1049
+ export type DeletePrefixDelegationError = DefaultErrors | DelegationNotFound | InvalidAccountId;
1050
+ export declare const deletePrefixDelegation: API.OperationMethod<DeletePrefixDelegationRequest, DeletePrefixDelegationResponse, DeletePrefixDelegationError, Credentials | HttpClient.HttpClient>;
1051
+ export interface GetPrefixServiceBindingRequest {
1052
+ prefixId: string;
1053
+ bindingId: string;
1054
+ /** Identifier of a Cloudflare account. */
1055
+ accountId: string;
1056
+ }
1057
+ export declare const GetPrefixServiceBindingRequest: Schema.Schema<GetPrefixServiceBindingRequest>;
1058
+ export interface GetPrefixServiceBindingResponse {
1059
+ /** Identifier of a Service Binding. */
1060
+ id?: string | null;
1061
+ /** IP Prefix in Classless Inter-Domain Routing format. */
1062
+ cidr?: string | null;
1063
+ /** Status of a Service Binding's deployment to the Cloudflare network */
1064
+ provisioning?: {
1065
+ state?: "provisioning" | "active" | null;
1066
+ } | null;
1067
+ /** Identifier of a Service on the Cloudflare network. Available services and their IDs may be found in the List Services endpoint. */
1068
+ serviceId?: string | null;
1069
+ /** Name of a service running on the Cloudflare network */
1070
+ serviceName?: string | null;
1071
+ }
1072
+ export declare const GetPrefixServiceBindingResponse: Schema.Schema<GetPrefixServiceBindingResponse>;
1073
+ export type GetPrefixServiceBindingError = DefaultErrors | BindingNotFound | InvalidAccountId | PrefixNotFound;
1074
+ export declare const getPrefixServiceBinding: API.OperationMethod<GetPrefixServiceBindingRequest, GetPrefixServiceBindingResponse, GetPrefixServiceBindingError, Credentials | HttpClient.HttpClient>;
1075
+ export interface ListPrefixServiceBindingsRequest {
1076
+ prefixId: string;
1077
+ /** Identifier of a Cloudflare account. */
1078
+ accountId: string;
1079
+ }
1080
+ export declare const ListPrefixServiceBindingsRequest: Schema.Schema<ListPrefixServiceBindingsRequest>;
1081
+ export interface ListPrefixServiceBindingsResponse {
1082
+ result: {
1083
+ id?: string | null;
1084
+ cidr?: string | null;
1085
+ provisioning?: {
1086
+ state?: "provisioning" | "active" | null;
1087
+ } | null;
1088
+ serviceId?: string | null;
1089
+ serviceName?: string | null;
1090
+ }[];
1091
+ }
1092
+ export declare const ListPrefixServiceBindingsResponse: Schema.Schema<ListPrefixServiceBindingsResponse>;
1093
+ export type ListPrefixServiceBindingsError = DefaultErrors;
1094
+ export declare const listPrefixServiceBindings: API.PaginatedOperationMethod<ListPrefixServiceBindingsRequest, ListPrefixServiceBindingsResponse, ListPrefixServiceBindingsError, Credentials | HttpClient.HttpClient> & {
1095
+ pages: (input: ListPrefixServiceBindingsRequest) => stream.Stream<ListPrefixServiceBindingsResponse, ListPrefixServiceBindingsError, Credentials | HttpClient.HttpClient>;
1096
+ items: (input: ListPrefixServiceBindingsRequest) => stream.Stream<{
1097
+ id?: string | null;
1098
+ cidr?: string | null;
1099
+ provisioning?: {
1100
+ state?: "provisioning" | "active" | null;
1101
+ } | null;
1102
+ serviceId?: string | null;
1103
+ serviceName?: string | null;
1104
+ }, ListPrefixServiceBindingsError, Credentials | HttpClient.HttpClient>;
1105
+ };
1106
+ export interface CreatePrefixServiceBindingRequest {
1107
+ prefixId: string;
1108
+ /** Path param: Identifier of a Cloudflare account. */
1109
+ accountId: string;
1110
+ /** Body param: IP Prefix in Classless Inter-Domain Routing format. */
1111
+ cidr: string;
1112
+ /** Body param: Identifier of a Service on the Cloudflare network. Available services and their IDs may be found in the List Services endpoint. */
1113
+ serviceId: string;
1114
+ }
1115
+ export declare const CreatePrefixServiceBindingRequest: Schema.Schema<CreatePrefixServiceBindingRequest>;
1116
+ export interface CreatePrefixServiceBindingResponse {
1117
+ /** Identifier of a Service Binding. */
1118
+ id?: string | null;
1119
+ /** IP Prefix in Classless Inter-Domain Routing format. */
1120
+ cidr?: string | null;
1121
+ /** Status of a Service Binding's deployment to the Cloudflare network */
1122
+ provisioning?: {
1123
+ state?: "provisioning" | "active" | null;
1124
+ } | null;
1125
+ /** Identifier of a Service on the Cloudflare network. Available services and their IDs may be found in the List Services endpoint. */
1126
+ serviceId?: string | null;
1127
+ /** Name of a service running on the Cloudflare network */
1128
+ serviceName?: string | null;
1129
+ }
1130
+ export declare const CreatePrefixServiceBindingResponse: Schema.Schema<CreatePrefixServiceBindingResponse>;
1131
+ export type CreatePrefixServiceBindingError = DefaultErrors | UnsupportedBindingConfiguration | InvalidAccountId;
1132
+ export declare const createPrefixServiceBinding: API.OperationMethod<CreatePrefixServiceBindingRequest, CreatePrefixServiceBindingResponse, CreatePrefixServiceBindingError, Credentials | HttpClient.HttpClient>;
1133
+ export interface DeletePrefixServiceBindingRequest {
1134
+ prefixId: string;
1135
+ bindingId: string;
1136
+ /** Identifier of a Cloudflare account. */
1137
+ accountId: string;
1138
+ }
1139
+ export declare const DeletePrefixServiceBindingRequest: Schema.Schema<DeletePrefixServiceBindingRequest>;
1140
+ export interface DeletePrefixServiceBindingResponse {
1141
+ errors: {
1142
+ code: number;
1143
+ message: string;
1144
+ documentationUrl?: string | null;
1145
+ source?: {
1146
+ pointer?: string | null;
1147
+ } | null;
1148
+ }[];
1149
+ messages: {
1150
+ code: number;
1151
+ message: string;
1152
+ documentationUrl?: string | null;
1153
+ source?: {
1154
+ pointer?: string | null;
1155
+ } | null;
1156
+ }[];
1157
+ /** Whether the API call was successful. */
1158
+ success: true;
1159
+ }
1160
+ export declare const DeletePrefixServiceBindingResponse: Schema.Schema<DeletePrefixServiceBindingResponse>;
1161
+ export type DeletePrefixServiceBindingError = DefaultErrors | BindingNotFound | InvalidAccountId | PrefixNotFound;
1162
+ export declare const deletePrefixServiceBinding: API.OperationMethod<DeletePrefixServiceBindingRequest, DeletePrefixServiceBindingResponse, DeletePrefixServiceBindingError, Credentials | HttpClient.HttpClient>;
1163
+ export interface GetRegionalHostnameRequest {
1164
+ hostname: string;
1165
+ /** Identifier. */
1166
+ zoneId: string;
1167
+ }
1168
+ export declare const GetRegionalHostnameRequest: Schema.Schema<GetRegionalHostnameRequest>;
1169
+ export interface GetRegionalHostnameResponse {
1170
+ /** When the regional hostname was created */
1171
+ createdOn: string;
1172
+ /** DNS hostname to be regionalized, must be a subdomain of the zone. Wildcards are supported for one level, e.g ` .example.com` */
1173
+ hostname: string;
1174
+ /** Identifying key for the region */
1175
+ regionKey: string;
1176
+ /** Configure which routing method to use for the regional hostname */
1177
+ routing?: string | null;
1178
+ }
1179
+ export declare const GetRegionalHostnameResponse: Schema.Schema<GetRegionalHostnameResponse>;
1180
+ export type GetRegionalHostnameError = DefaultErrors | InvalidZoneId | RegionalHostnameNotFound | RegionalHostnameEmpty;
1181
+ export declare const getRegionalHostname: API.OperationMethod<GetRegionalHostnameRequest, GetRegionalHostnameResponse, GetRegionalHostnameError, Credentials | HttpClient.HttpClient>;
1182
+ export interface ListRegionalHostnamesRequest {
1183
+ /** Identifier. */
1184
+ zoneId: string;
1185
+ }
1186
+ export declare const ListRegionalHostnamesRequest: Schema.Schema<ListRegionalHostnamesRequest>;
1187
+ export interface ListRegionalHostnamesResponse {
1188
+ result: {
1189
+ createdOn: string;
1190
+ hostname: string;
1191
+ regionKey: string;
1192
+ routing?: string | null;
1193
+ }[];
1194
+ }
1195
+ export declare const ListRegionalHostnamesResponse: Schema.Schema<ListRegionalHostnamesResponse>;
1196
+ export type ListRegionalHostnamesError = DefaultErrors;
1197
+ export declare const listRegionalHostnames: API.PaginatedOperationMethod<ListRegionalHostnamesRequest, ListRegionalHostnamesResponse, ListRegionalHostnamesError, Credentials | HttpClient.HttpClient> & {
1198
+ pages: (input: ListRegionalHostnamesRequest) => stream.Stream<ListRegionalHostnamesResponse, ListRegionalHostnamesError, Credentials | HttpClient.HttpClient>;
1199
+ items: (input: ListRegionalHostnamesRequest) => stream.Stream<{
1200
+ createdOn: string;
1201
+ hostname: string;
1202
+ regionKey: string;
1203
+ routing?: string | null;
1204
+ }, ListRegionalHostnamesError, Credentials | HttpClient.HttpClient>;
1205
+ };
1206
+ export interface CreateRegionalHostnameRequest {
1207
+ /** Path param: Identifier. */
1208
+ zoneId: string;
1209
+ /** Body param: DNS hostname to be regionalized, must be a subdomain of the zone. Wildcards are supported for one level, e.g ` .example.com` */
1210
+ hostname: string;
1211
+ /** Body param: Identifying key for the region */
1212
+ regionKey: string;
1213
+ /** Body param: Configure which routing method to use for the regional hostname */
1214
+ routing?: string;
1215
+ }
1216
+ export declare const CreateRegionalHostnameRequest: Schema.Schema<CreateRegionalHostnameRequest>;
1217
+ export interface CreateRegionalHostnameResponse {
1218
+ /** When the regional hostname was created */
1219
+ createdOn: string;
1220
+ /** DNS hostname to be regionalized, must be a subdomain of the zone. Wildcards are supported for one level, e.g ` .example.com` */
1221
+ hostname: string;
1222
+ /** Identifying key for the region */
1223
+ regionKey: string;
1224
+ /** Configure which routing method to use for the regional hostname */
1225
+ routing?: string | null;
1226
+ }
1227
+ export declare const CreateRegionalHostnameResponse: Schema.Schema<CreateRegionalHostnameResponse>;
1228
+ export type CreateRegionalHostnameError = DefaultErrors | InvalidZoneId | InvalidHostname | RegionalHostnameEmpty;
1229
+ export declare const createRegionalHostname: API.OperationMethod<CreateRegionalHostnameRequest, CreateRegionalHostnameResponse, CreateRegionalHostnameError, Credentials | HttpClient.HttpClient>;
1230
+ export interface PatchRegionalHostnameRequest {
1231
+ hostname: string;
1232
+ /** Path param: Identifier. */
1233
+ zoneId: string;
1234
+ /** Body param: Identifying key for the region */
1235
+ regionKey: string;
1236
+ }
1237
+ export declare const PatchRegionalHostnameRequest: Schema.Schema<PatchRegionalHostnameRequest>;
1238
+ export interface PatchRegionalHostnameResponse {
1239
+ /** When the regional hostname was created */
1240
+ createdOn: string;
1241
+ /** DNS hostname to be regionalized, must be a subdomain of the zone. Wildcards are supported for one level, e.g ` .example.com` */
1242
+ hostname: string;
1243
+ /** Identifying key for the region */
1244
+ regionKey: string;
1245
+ /** Configure which routing method to use for the regional hostname */
1246
+ routing?: string | null;
1247
+ }
1248
+ export declare const PatchRegionalHostnameResponse: Schema.Schema<PatchRegionalHostnameResponse>;
1249
+ export type PatchRegionalHostnameError = DefaultErrors | InvalidZoneId | RegionalHostnameNotFound | RegionalHostnameEmpty;
1250
+ export declare const patchRegionalHostname: API.OperationMethod<PatchRegionalHostnameRequest, PatchRegionalHostnameResponse, PatchRegionalHostnameError, Credentials | HttpClient.HttpClient>;
1251
+ export interface DeleteRegionalHostnameRequest {
1252
+ hostname: string;
1253
+ /** Identifier. */
1254
+ zoneId: string;
1255
+ }
1256
+ export declare const DeleteRegionalHostnameRequest: Schema.Schema<DeleteRegionalHostnameRequest>;
1257
+ export interface DeleteRegionalHostnameResponse {
1258
+ errors: {
1259
+ code: number;
1260
+ message: string;
1261
+ documentationUrl?: string | null;
1262
+ source?: {
1263
+ pointer?: string | null;
1264
+ } | null;
1265
+ }[];
1266
+ messages: {
1267
+ code: number;
1268
+ message: string;
1269
+ documentationUrl?: string | null;
1270
+ source?: {
1271
+ pointer?: string | null;
1272
+ } | null;
1273
+ }[];
1274
+ /** Whether the API call was successful. */
1275
+ success: true;
1276
+ }
1277
+ export declare const DeleteRegionalHostnameResponse: Schema.Schema<DeleteRegionalHostnameResponse>;
1278
+ export type DeleteRegionalHostnameError = DefaultErrors | MethodNotAllowed | InvalidZoneId | RegionalHostnameNotFound | RegionalHostnameEmpty;
1279
+ export declare const deleteRegionalHostname: API.OperationMethod<DeleteRegionalHostnameRequest, DeleteRegionalHostnameResponse, DeleteRegionalHostnameError, Credentials | HttpClient.HttpClient>;
1280
+ export interface ListRegionalHostnameRegionsRequest {
1281
+ /** Identifier. */
1282
+ accountId: string;
1283
+ }
1284
+ export declare const ListRegionalHostnameRegionsRequest: Schema.Schema<ListRegionalHostnameRegionsRequest>;
1285
+ export interface ListRegionalHostnameRegionsResponse {
1286
+ result: {
1287
+ key?: string | null;
1288
+ label?: string | null;
1289
+ }[];
1290
+ }
1291
+ export declare const ListRegionalHostnameRegionsResponse: Schema.Schema<ListRegionalHostnameRegionsResponse>;
1292
+ export type ListRegionalHostnameRegionsError = DefaultErrors;
1293
+ export declare const listRegionalHostnameRegions: API.PaginatedOperationMethod<ListRegionalHostnameRegionsRequest, ListRegionalHostnameRegionsResponse, ListRegionalHostnameRegionsError, Credentials | HttpClient.HttpClient> & {
1294
+ pages: (input: ListRegionalHostnameRegionsRequest) => stream.Stream<ListRegionalHostnameRegionsResponse, ListRegionalHostnameRegionsError, Credentials | HttpClient.HttpClient>;
1295
+ items: (input: ListRegionalHostnameRegionsRequest) => stream.Stream<{
1296
+ key?: string | null;
1297
+ label?: string | null;
1298
+ }, ListRegionalHostnameRegionsError, Credentials | HttpClient.HttpClient>;
1299
+ };
1300
+ export interface ListServicesRequest {
1301
+ /** Identifier of a Cloudflare account. */
1302
+ accountId: string;
1303
+ }
1304
+ export declare const ListServicesRequest: Schema.Schema<ListServicesRequest>;
1305
+ export interface ListServicesResponse {
1306
+ result: {
1307
+ id?: string | null;
1308
+ name?: string | null;
1309
+ }[];
1310
+ }
1311
+ export declare const ListServicesResponse: Schema.Schema<ListServicesResponse>;
1312
+ export type ListServicesError = DefaultErrors;
1313
+ export declare const listServices: API.PaginatedOperationMethod<ListServicesRequest, ListServicesResponse, ListServicesError, Credentials | HttpClient.HttpClient> & {
1314
+ pages: (input: ListServicesRequest) => stream.Stream<ListServicesResponse, ListServicesError, Credentials | HttpClient.HttpClient>;
1315
+ items: (input: ListServicesRequest) => stream.Stream<{
1316
+ id?: string | null;
1317
+ name?: string | null;
1318
+ }, ListServicesError, Credentials | HttpClient.HttpClient>;
1319
+ };
1320
+ export {};
1321
+ //# sourceMappingURL=addressing.d.ts.map