@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,855 @@
1
+ /**
2
+ * Cloudflare ALERTING API
3
+ *
4
+ * Generated from Cloudflare TypeScript SDK.
5
+ * DO NOT EDIT - regenerate with: bun scripts/generate.ts --service alerting
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 FiltersRequired_base: Schema.ErrorClass<FiltersRequired, Schema.TaggedStruct<"FiltersRequired", {
14
+ readonly code: Schema.Number;
15
+ readonly message: Schema.String;
16
+ }>, import("effect/Cause").YieldableError>;
17
+ export declare class FiltersRequired extends FiltersRequired_base {
18
+ }
19
+ declare const InternalServerError_base: Schema.ErrorClass<InternalServerError, Schema.TaggedStruct<"InternalServerError", {
20
+ readonly code: Schema.Number;
21
+ readonly message: Schema.String;
22
+ }>, import("effect/Cause").YieldableError>;
23
+ export declare class InternalServerError extends InternalServerError_base {
24
+ }
25
+ declare const InvalidAlertType_base: Schema.ErrorClass<InvalidAlertType, Schema.TaggedStruct<"InvalidAlertType", {
26
+ readonly code: Schema.Number;
27
+ readonly message: Schema.String;
28
+ }>, import("effect/Cause").YieldableError>;
29
+ export declare class InvalidAlertType extends InvalidAlertType_base {
30
+ }
31
+ declare const InvalidRoute_base: Schema.ErrorClass<InvalidRoute, Schema.TaggedStruct<"InvalidRoute", {
32
+ readonly code: Schema.Number;
33
+ readonly message: Schema.String;
34
+ }>, import("effect/Cause").YieldableError>;
35
+ export declare class InvalidRoute extends InvalidRoute_base {
36
+ }
37
+ declare const InvalidWebhookId_base: Schema.ErrorClass<InvalidWebhookId, Schema.TaggedStruct<"InvalidWebhookId", {
38
+ readonly code: Schema.Number;
39
+ readonly message: Schema.String;
40
+ }>, import("effect/Cause").YieldableError>;
41
+ export declare class InvalidWebhookId extends InvalidWebhookId_base {
42
+ }
43
+ declare const MechanismRequired_base: Schema.ErrorClass<MechanismRequired, Schema.TaggedStruct<"MechanismRequired", {
44
+ readonly code: Schema.Number;
45
+ readonly message: Schema.String;
46
+ }>, import("effect/Cause").YieldableError>;
47
+ export declare class MechanismRequired extends MechanismRequired_base {
48
+ }
49
+ declare const PolicyNotFound_base: Schema.ErrorClass<PolicyNotFound, Schema.TaggedStruct<"PolicyNotFound", {
50
+ readonly code: Schema.Number;
51
+ readonly message: Schema.String;
52
+ }>, import("effect/Cause").YieldableError>;
53
+ export declare class PolicyNotFound extends PolicyNotFound_base {
54
+ }
55
+ declare const WebhookNotFound_base: Schema.ErrorClass<WebhookNotFound, Schema.TaggedStruct<"WebhookNotFound", {
56
+ readonly code: Schema.Number;
57
+ readonly message: Schema.String;
58
+ }>, import("effect/Cause").YieldableError>;
59
+ export declare class WebhookNotFound extends WebhookNotFound_base {
60
+ }
61
+ declare const WebhookTestFailed_base: Schema.ErrorClass<WebhookTestFailed, Schema.TaggedStruct<"WebhookTestFailed", {
62
+ readonly code: Schema.Number;
63
+ readonly message: Schema.String;
64
+ }>, import("effect/Cause").YieldableError>;
65
+ export declare class WebhookTestFailed extends WebhookTestFailed_base {
66
+ }
67
+ export interface ListAvailableAlertsRequest {
68
+ /** The account id */
69
+ accountId: string;
70
+ }
71
+ export declare const ListAvailableAlertsRequest: Schema.Schema<ListAvailableAlertsRequest>;
72
+ export type ListAvailableAlertsResponse = Record<string, unknown>;
73
+ export declare const ListAvailableAlertsResponse: Schema.Schema<ListAvailableAlertsResponse>;
74
+ export type ListAvailableAlertsError = DefaultErrors | InvalidRoute;
75
+ export declare const listAvailableAlerts: API.OperationMethod<ListAvailableAlertsRequest, ListAvailableAlertsResponse, ListAvailableAlertsError, Credentials | HttpClient.HttpClient>;
76
+ export interface GetDestinationEligibleRequest {
77
+ /** The account id */
78
+ accountId: string;
79
+ }
80
+ export declare const GetDestinationEligibleRequest: Schema.Schema<GetDestinationEligibleRequest>;
81
+ export type GetDestinationEligibleResponse = Record<string, unknown>;
82
+ export declare const GetDestinationEligibleResponse: Schema.Schema<GetDestinationEligibleResponse>;
83
+ export type GetDestinationEligibleError = DefaultErrors | InvalidRoute;
84
+ export declare const getDestinationEligible: API.OperationMethod<GetDestinationEligibleRequest, GetDestinationEligibleResponse, GetDestinationEligibleError, Credentials | HttpClient.HttpClient>;
85
+ export interface GetDestinationPagerdutyRequest {
86
+ /** The account id */
87
+ accountId: string;
88
+ }
89
+ export declare const GetDestinationPagerdutyRequest: Schema.Schema<GetDestinationPagerdutyRequest>;
90
+ export interface GetDestinationPagerdutyResponse {
91
+ result: {
92
+ id?: string | null;
93
+ name?: string | null;
94
+ }[];
95
+ }
96
+ export declare const GetDestinationPagerdutyResponse: Schema.Schema<GetDestinationPagerdutyResponse>;
97
+ export type GetDestinationPagerdutyError = DefaultErrors;
98
+ export declare const getDestinationPagerduty: API.PaginatedOperationMethod<GetDestinationPagerdutyRequest, GetDestinationPagerdutyResponse, GetDestinationPagerdutyError, Credentials | HttpClient.HttpClient> & {
99
+ pages: (input: GetDestinationPagerdutyRequest) => stream.Stream<GetDestinationPagerdutyResponse, GetDestinationPagerdutyError, Credentials | HttpClient.HttpClient>;
100
+ items: (input: GetDestinationPagerdutyRequest) => stream.Stream<{
101
+ id?: string | null;
102
+ name?: string | null;
103
+ }, GetDestinationPagerdutyError, Credentials | HttpClient.HttpClient>;
104
+ };
105
+ export interface CreateDestinationPagerdutyRequest {
106
+ /** The account id */
107
+ accountId: string;
108
+ }
109
+ export declare const CreateDestinationPagerdutyRequest: Schema.Schema<CreateDestinationPagerdutyRequest>;
110
+ export interface CreateDestinationPagerdutyResponse {
111
+ /** token in form of UUID */
112
+ id?: string | null;
113
+ }
114
+ export declare const CreateDestinationPagerdutyResponse: Schema.Schema<CreateDestinationPagerdutyResponse>;
115
+ export type CreateDestinationPagerdutyError = DefaultErrors | InvalidRoute;
116
+ export declare const createDestinationPagerduty: API.OperationMethod<CreateDestinationPagerdutyRequest, CreateDestinationPagerdutyResponse, CreateDestinationPagerdutyError, Credentials | HttpClient.HttpClient>;
117
+ export interface DeleteDestinationPagerdutyRequest {
118
+ /** The account id */
119
+ accountId: string;
120
+ }
121
+ export declare const DeleteDestinationPagerdutyRequest: Schema.Schema<DeleteDestinationPagerdutyRequest>;
122
+ export interface DeleteDestinationPagerdutyResponse {
123
+ errors: {
124
+ message: string;
125
+ code?: number | null;
126
+ }[];
127
+ messages: {
128
+ message: string;
129
+ code?: number | null;
130
+ }[];
131
+ /** Whether the API call was successful */
132
+ success: true;
133
+ }
134
+ export declare const DeleteDestinationPagerdutyResponse: Schema.Schema<DeleteDestinationPagerdutyResponse>;
135
+ export type DeleteDestinationPagerdutyError = DefaultErrors | InvalidRoute;
136
+ export declare const deleteDestinationPagerduty: API.OperationMethod<DeleteDestinationPagerdutyRequest, DeleteDestinationPagerdutyResponse, DeleteDestinationPagerdutyError, Credentials | HttpClient.HttpClient>;
137
+ export interface LinkDestinationPagerdutyRequest {
138
+ tokenId: string;
139
+ /** The account id */
140
+ accountId: string;
141
+ }
142
+ export declare const LinkDestinationPagerdutyRequest: Schema.Schema<LinkDestinationPagerdutyRequest>;
143
+ export interface LinkDestinationPagerdutyResponse {
144
+ /** UUID */
145
+ id?: string | null;
146
+ }
147
+ export declare const LinkDestinationPagerdutyResponse: Schema.Schema<LinkDestinationPagerdutyResponse>;
148
+ export type LinkDestinationPagerdutyError = DefaultErrors | InvalidRoute;
149
+ export declare const linkDestinationPagerduty: API.OperationMethod<LinkDestinationPagerdutyRequest, LinkDestinationPagerdutyResponse, LinkDestinationPagerdutyError, Credentials | HttpClient.HttpClient>;
150
+ export interface GetDestinationWebhookRequest {
151
+ webhookId: string;
152
+ /** The account id */
153
+ accountId: string;
154
+ }
155
+ export declare const GetDestinationWebhookRequest: Schema.Schema<GetDestinationWebhookRequest>;
156
+ export interface GetDestinationWebhookResponse {
157
+ /** The unique identifier of a webhook */
158
+ id?: string | null;
159
+ /** Timestamp of when the webhook destination was created. */
160
+ createdAt?: string | null;
161
+ /** Timestamp of the last time an attempt to dispatch a notification to this webhook failed. */
162
+ lastFailure?: string | null;
163
+ /** Timestamp of the last time Cloudflare was able to successfully dispatch a notification using this webhook. */
164
+ lastSuccess?: string | null;
165
+ /** The name of the webhook destination. This will be included in the request body when you receive a webhook notification. */
166
+ name?: string | null;
167
+ /** Type of webhook endpoint. */
168
+ type?: "datadog" | "discord" | "feishu" | "gchat" | "generic" | "opsgenie" | "slack" | "splunk" | null;
169
+ /** The POST endpoint to call when dispatching a notification. */
170
+ url?: string | null;
171
+ }
172
+ export declare const GetDestinationWebhookResponse: Schema.Schema<GetDestinationWebhookResponse>;
173
+ export type GetDestinationWebhookError = DefaultErrors | InvalidRoute | WebhookNotFound;
174
+ export declare const getDestinationWebhook: API.OperationMethod<GetDestinationWebhookRequest, GetDestinationWebhookResponse, GetDestinationWebhookError, Credentials | HttpClient.HttpClient>;
175
+ export interface ListDestinationWebhooksRequest {
176
+ /** The account id */
177
+ accountId: string;
178
+ }
179
+ export declare const ListDestinationWebhooksRequest: Schema.Schema<ListDestinationWebhooksRequest>;
180
+ export interface ListDestinationWebhooksResponse {
181
+ result: {
182
+ id?: string | null;
183
+ createdAt?: string | null;
184
+ lastFailure?: string | null;
185
+ lastSuccess?: string | null;
186
+ name?: string | null;
187
+ type?: "datadog" | "discord" | "feishu" | "gchat" | "generic" | "opsgenie" | "slack" | "splunk" | null;
188
+ url?: string | null;
189
+ }[];
190
+ }
191
+ export declare const ListDestinationWebhooksResponse: Schema.Schema<ListDestinationWebhooksResponse>;
192
+ export type ListDestinationWebhooksError = DefaultErrors;
193
+ export declare const listDestinationWebhooks: API.PaginatedOperationMethod<ListDestinationWebhooksRequest, ListDestinationWebhooksResponse, ListDestinationWebhooksError, Credentials | HttpClient.HttpClient> & {
194
+ pages: (input: ListDestinationWebhooksRequest) => stream.Stream<ListDestinationWebhooksResponse, ListDestinationWebhooksError, Credentials | HttpClient.HttpClient>;
195
+ items: (input: ListDestinationWebhooksRequest) => stream.Stream<{
196
+ id?: string | null;
197
+ createdAt?: string | null;
198
+ lastFailure?: string | null;
199
+ lastSuccess?: string | null;
200
+ name?: string | null;
201
+ type?: "datadog" | "discord" | "feishu" | "gchat" | "generic" | "opsgenie" | "slack" | "splunk" | null;
202
+ url?: string | null;
203
+ }, ListDestinationWebhooksError, Credentials | HttpClient.HttpClient>;
204
+ };
205
+ export interface CreateDestinationWebhookRequest {
206
+ /** Path param: The account id */
207
+ accountId: string;
208
+ /** Body param: The name of the webhook destination. This will be included in the request body when you receive a webhook notification. */
209
+ name: string;
210
+ /** Body param: The POST endpoint to call when dispatching a notification. */
211
+ url: string;
212
+ /** Body param: Optional secret that will be passed in the `cf-webhook-auth` header when dispatching generic webhook notifications or formatted for supported destinations. Secrets are not returned in any */
213
+ secret?: string;
214
+ }
215
+ export declare const CreateDestinationWebhookRequest: Schema.Schema<CreateDestinationWebhookRequest>;
216
+ export interface CreateDestinationWebhookResponse {
217
+ /** UUID */
218
+ id?: string | null;
219
+ }
220
+ export declare const CreateDestinationWebhookResponse: Schema.Schema<CreateDestinationWebhookResponse>;
221
+ export type CreateDestinationWebhookError = DefaultErrors | InvalidRoute | WebhookTestFailed;
222
+ export declare const createDestinationWebhook: API.OperationMethod<CreateDestinationWebhookRequest, CreateDestinationWebhookResponse, CreateDestinationWebhookError, Credentials | HttpClient.HttpClient>;
223
+ export interface UpdateDestinationWebhookRequest {
224
+ webhookId: string;
225
+ /** Path param: The account id */
226
+ accountId: string;
227
+ /** Body param: The name of the webhook destination. This will be included in the request body when you receive a webhook notification. */
228
+ name: string;
229
+ /** Body param: The POST endpoint to call when dispatching a notification. */
230
+ url: string;
231
+ /** Body param: Optional secret that will be passed in the `cf-webhook-auth` header when dispatching generic webhook notifications or formatted for supported destinations. Secrets are not returned in any */
232
+ secret?: string;
233
+ }
234
+ export declare const UpdateDestinationWebhookRequest: Schema.Schema<UpdateDestinationWebhookRequest>;
235
+ export interface UpdateDestinationWebhookResponse {
236
+ /** UUID */
237
+ id?: string | null;
238
+ }
239
+ export declare const UpdateDestinationWebhookResponse: Schema.Schema<UpdateDestinationWebhookResponse>;
240
+ export type UpdateDestinationWebhookError = DefaultErrors | InvalidRoute | InvalidWebhookId;
241
+ export declare const updateDestinationWebhook: API.OperationMethod<UpdateDestinationWebhookRequest, UpdateDestinationWebhookResponse, UpdateDestinationWebhookError, Credentials | HttpClient.HttpClient>;
242
+ export interface DeleteDestinationWebhookRequest {
243
+ webhookId: string;
244
+ /** The account id */
245
+ accountId: string;
246
+ }
247
+ export declare const DeleteDestinationWebhookRequest: Schema.Schema<DeleteDestinationWebhookRequest>;
248
+ export interface DeleteDestinationWebhookResponse {
249
+ errors: {
250
+ message: string;
251
+ code?: number | null;
252
+ }[];
253
+ messages: {
254
+ message: string;
255
+ code?: number | null;
256
+ }[];
257
+ /** Whether the API call was successful */
258
+ success: true;
259
+ }
260
+ export declare const DeleteDestinationWebhookResponse: Schema.Schema<DeleteDestinationWebhookResponse>;
261
+ export type DeleteDestinationWebhookError = DefaultErrors | InvalidRoute | InternalServerError;
262
+ export declare const deleteDestinationWebhook: API.OperationMethod<DeleteDestinationWebhookRequest, DeleteDestinationWebhookResponse, DeleteDestinationWebhookError, Credentials | HttpClient.HttpClient>;
263
+ export interface ListHistoriesRequest {
264
+ /** Path param: The account id */
265
+ accountId: string;
266
+ /** Query param: Limit the returned results to history records older than the specified date. This must be a timestamp that conforms to RFC3339. */
267
+ before?: string;
268
+ /** Query param: Limit the returned results to history records newer than the specified date. This must be a timestamp that conforms to RFC3339. */
269
+ since?: string;
270
+ }
271
+ export declare const ListHistoriesRequest: Schema.Schema<ListHistoriesRequest>;
272
+ export interface ListHistoriesResponse {
273
+ result: {
274
+ id?: string | null;
275
+ alertBody?: string | null;
276
+ alertType?: string | null;
277
+ description?: string | null;
278
+ mechanism?: string | null;
279
+ mechanismType?: "email" | "pagerduty" | "webhook" | null;
280
+ name?: string | null;
281
+ policyId?: string | null;
282
+ sent?: string | null;
283
+ }[];
284
+ resultInfo: {
285
+ count?: number | null;
286
+ page?: number | null;
287
+ perPage?: number | null;
288
+ totalCount?: number | null;
289
+ };
290
+ }
291
+ export declare const ListHistoriesResponse: Schema.Schema<ListHistoriesResponse>;
292
+ export type ListHistoriesError = DefaultErrors;
293
+ export declare const listHistories: API.PaginatedOperationMethod<ListHistoriesRequest, ListHistoriesResponse, ListHistoriesError, Credentials | HttpClient.HttpClient> & {
294
+ pages: (input: ListHistoriesRequest) => stream.Stream<ListHistoriesResponse, ListHistoriesError, Credentials | HttpClient.HttpClient>;
295
+ items: (input: ListHistoriesRequest) => stream.Stream<{
296
+ id?: string | null;
297
+ alertBody?: string | null;
298
+ alertType?: string | null;
299
+ description?: string | null;
300
+ mechanism?: string | null;
301
+ mechanismType?: "email" | "pagerduty" | "webhook" | null;
302
+ name?: string | null;
303
+ policyId?: string | null;
304
+ sent?: string | null;
305
+ }, ListHistoriesError, Credentials | HttpClient.HttpClient>;
306
+ };
307
+ export interface GetPolicyRequest {
308
+ policyId: string;
309
+ /** The account id */
310
+ accountId: string;
311
+ }
312
+ export declare const GetPolicyRequest: Schema.Schema<GetPolicyRequest>;
313
+ export interface GetPolicyResponse {
314
+ /** The unique identifier of a notification policy */
315
+ id?: string | null;
316
+ /** Optional specification of how often to re-alert from the same incident, not support on all alert types. */
317
+ alertInterval?: string | null;
318
+ /** Refers to which event will trigger a Notification dispatch. You can use the endpoint to get available alert types which then will give you a list of possible values. */
319
+ alertType?: "abuse_report_alert" | "access_custom_certificate_expiration_type" | "advanced_ddos_attack_l4_alert" | "advanced_ddos_attack_l7_alert" | "advanced_http_alert_error" | "bgp_hijack_notification" | "billing_usage_alert" | "block_notification_block_removed" | "block_notification_new_block" | "block_notification_review_rejected" | "bot_traffic_basic_alert" | "brand_protection_alert" | "brand_protection_digest" | "clickhouse_alert_fw_anomaly" | "clickhouse_alert_fw_ent_anomaly" | "cloudforce_one_request_notification" | "custom_analytics" | "custom_bot_detection_alert" | "custom_ssl_certificate_event_type" | "dedicated_ssl_certificate_event_type" | "device_connectivity_anomaly_alert" | "dos_attack_l4" | "dos_attack_l7" | "expiring_service_token_alert" | "failing_logpush_job_disabled_alert" | "fbm_auto_advertisement" | "fbm_dosd_attack" | "fbm_volumetric_attack" | "health_check_status_notification" | "hostname_aop_custom_certificate_expiration_type" | "http_alert_edge_error" | "http_alert_origin_error" | "image_notification" | "image_resizing_notification" | "incident_alert" | "load_balancing_health_alert" | "load_balancing_pool_enablement_alert" | "logo_match_alert" | "magic_tunnel_health_check_event" | "magic_wan_tunnel_health" | "maintenance_event_notification" | "mtls_certificate_store_certificate_expiration_type" | "pages_event_alert" | "radar_notification" | "real_origin_monitoring" | "scriptmonitor_alert_new_code_change_detections" | "scriptmonitor_alert_new_hosts" | "scriptmonitor_alert_new_malicious_hosts" | "scriptmonitor_alert_new_malicious_scripts" | "scriptmonitor_alert_new_malicious_url" | "scriptmonitor_alert_new_max_length_resource_url" | "scriptmonitor_alert_new_resources" | "secondary_dns_all_primaries_failing" | "secondary_dns_primaries_failing" | "secondary_dns_warning" | "secondary_dns_zone_successfully_updated" | "secondary_dns_zone_validation_warning" | "security_insights_alert" | "sentinel_alert" | "stream_live_notifications" | "synthetic_test_latency_alert" | "synthetic_test_low_availability_alert" | "traffic_anomalies_alert" | "tunnel_health_event" | "tunnel_update_event" | "universal_ssl_event_type" | "web_analytics_metrics_update" | "zone_aop_custom_certificate_expiration_type" | null;
320
+ created?: string | null;
321
+ /** Optional description for the Notification policy. */
322
+ description?: string | null;
323
+ /** Whether or not the Notification policy is enabled. */
324
+ enabled?: boolean | null;
325
+ /** Optional filters that allow you to be alerted only on a subset of events for that alert type based on some criteria. This is only available for select alert types. See alert type documentation for mor */
326
+ filters?: {
327
+ actions?: string[] | null;
328
+ affectedAsns?: string[] | null;
329
+ affectedComponents?: string[] | null;
330
+ affectedLocations?: string[] | null;
331
+ airportCode?: string[] | null;
332
+ alertTriggerPreferences?: string[] | null;
333
+ alertTriggerPreferencesValue?: string[] | null;
334
+ enabled?: string[] | null;
335
+ environment?: string[] | null;
336
+ event?: string[] | null;
337
+ eventSource?: string[] | null;
338
+ eventType?: string[] | null;
339
+ groupBy?: string[] | null;
340
+ healthCheckId?: string[] | null;
341
+ incidentImpact?: ("INCIDENT_IMPACT_NONE" | "INCIDENT_IMPACT_MINOR" | "INCIDENT_IMPACT_MAJOR" | "INCIDENT_IMPACT_CRITICAL")[] | null;
342
+ inputId?: string[] | null;
343
+ insightClass?: string[] | null;
344
+ limit?: string[] | null;
345
+ logoTag?: string[] | null;
346
+ megabitsPerSecond?: string[] | null;
347
+ newHealth?: string[] | null;
348
+ newStatus?: string[] | null;
349
+ packetsPerSecond?: string[] | null;
350
+ poolId?: string[] | null;
351
+ popNames?: string[] | null;
352
+ product?: string[] | null;
353
+ projectId?: string[] | null;
354
+ protocol?: string[] | null;
355
+ queryTag?: string[] | null;
356
+ requestsPerSecond?: string[] | null;
357
+ selectors?: string[] | null;
358
+ services?: string[] | null;
359
+ slo?: string[] | null;
360
+ status?: string[] | null;
361
+ targetHostname?: string[] | null;
362
+ targetIp?: string[] | null;
363
+ targetZoneName?: string[] | null;
364
+ trafficExclusions?: "security_events"[] | null;
365
+ tunnelId?: string[] | null;
366
+ tunnelName?: string[] | null;
367
+ type?: string[] | null;
368
+ where?: string[] | null;
369
+ zones?: string[] | null;
370
+ } | null;
371
+ /** List of IDs that will be used when dispatching a notification. IDs for email type will be the email address. */
372
+ mechanisms?: {
373
+ email?: {
374
+ id?: string | null;
375
+ }[] | null;
376
+ pagerduty?: {
377
+ id?: string | null;
378
+ }[] | null;
379
+ webhooks?: {
380
+ id?: string | null;
381
+ }[] | null;
382
+ } | null;
383
+ modified?: string | null;
384
+ /** Name of the policy. */
385
+ name?: string | null;
386
+ }
387
+ export declare const GetPolicyResponse: Schema.Schema<GetPolicyResponse>;
388
+ export type GetPolicyError = DefaultErrors | InvalidRoute | PolicyNotFound;
389
+ export declare const getPolicy: API.OperationMethod<GetPolicyRequest, GetPolicyResponse, GetPolicyError, Credentials | HttpClient.HttpClient>;
390
+ export interface ListPoliciesRequest {
391
+ /** The account id */
392
+ accountId: string;
393
+ }
394
+ export declare const ListPoliciesRequest: Schema.Schema<ListPoliciesRequest>;
395
+ export interface ListPoliciesResponse {
396
+ result: {
397
+ id?: string | null;
398
+ alertInterval?: string | null;
399
+ alertType?: "abuse_report_alert" | "access_custom_certificate_expiration_type" | "advanced_ddos_attack_l4_alert" | "advanced_ddos_attack_l7_alert" | "advanced_http_alert_error" | "bgp_hijack_notification" | "billing_usage_alert" | "block_notification_block_removed" | "block_notification_new_block" | "block_notification_review_rejected" | "bot_traffic_basic_alert" | "brand_protection_alert" | "brand_protection_digest" | "clickhouse_alert_fw_anomaly" | "clickhouse_alert_fw_ent_anomaly" | "cloudforce_one_request_notification" | "custom_analytics" | "custom_bot_detection_alert" | "custom_ssl_certificate_event_type" | "dedicated_ssl_certificate_event_type" | "device_connectivity_anomaly_alert" | "dos_attack_l4" | "dos_attack_l7" | "expiring_service_token_alert" | "failing_logpush_job_disabled_alert" | "fbm_auto_advertisement" | "fbm_dosd_attack" | "fbm_volumetric_attack" | "health_check_status_notification" | "hostname_aop_custom_certificate_expiration_type" | "http_alert_edge_error" | "http_alert_origin_error" | "image_notification" | "image_resizing_notification" | "incident_alert" | "load_balancing_health_alert" | "load_balancing_pool_enablement_alert" | "logo_match_alert" | "magic_tunnel_health_check_event" | "magic_wan_tunnel_health" | "maintenance_event_notification" | "mtls_certificate_store_certificate_expiration_type" | "pages_event_alert" | "radar_notification" | "real_origin_monitoring" | "scriptmonitor_alert_new_code_change_detections" | "scriptmonitor_alert_new_hosts" | "scriptmonitor_alert_new_malicious_hosts" | "scriptmonitor_alert_new_malicious_scripts" | "scriptmonitor_alert_new_malicious_url" | "scriptmonitor_alert_new_max_length_resource_url" | "scriptmonitor_alert_new_resources" | "secondary_dns_all_primaries_failing" | "secondary_dns_primaries_failing" | "secondary_dns_warning" | "secondary_dns_zone_successfully_updated" | "secondary_dns_zone_validation_warning" | "security_insights_alert" | "sentinel_alert" | "stream_live_notifications" | "synthetic_test_latency_alert" | "synthetic_test_low_availability_alert" | "traffic_anomalies_alert" | "tunnel_health_event" | "tunnel_update_event" | "universal_ssl_event_type" | "web_analytics_metrics_update" | "zone_aop_custom_certificate_expiration_type" | null;
400
+ created?: string | null;
401
+ description?: string | null;
402
+ enabled?: boolean | null;
403
+ filters?: {
404
+ actions?: string[] | null;
405
+ affectedAsns?: string[] | null;
406
+ affectedComponents?: string[] | null;
407
+ affectedLocations?: string[] | null;
408
+ airportCode?: string[] | null;
409
+ alertTriggerPreferences?: string[] | null;
410
+ alertTriggerPreferencesValue?: string[] | null;
411
+ enabled?: string[] | null;
412
+ environment?: string[] | null;
413
+ event?: string[] | null;
414
+ eventSource?: string[] | null;
415
+ eventType?: string[] | null;
416
+ groupBy?: string[] | null;
417
+ healthCheckId?: string[] | null;
418
+ incidentImpact?: ("INCIDENT_IMPACT_NONE" | "INCIDENT_IMPACT_MINOR" | "INCIDENT_IMPACT_MAJOR" | "INCIDENT_IMPACT_CRITICAL")[] | null;
419
+ inputId?: string[] | null;
420
+ insightClass?: string[] | null;
421
+ limit?: string[] | null;
422
+ logoTag?: string[] | null;
423
+ megabitsPerSecond?: string[] | null;
424
+ newHealth?: string[] | null;
425
+ newStatus?: string[] | null;
426
+ packetsPerSecond?: string[] | null;
427
+ poolId?: string[] | null;
428
+ popNames?: string[] | null;
429
+ product?: string[] | null;
430
+ projectId?: string[] | null;
431
+ protocol?: string[] | null;
432
+ queryTag?: string[] | null;
433
+ requestsPerSecond?: string[] | null;
434
+ selectors?: string[] | null;
435
+ services?: string[] | null;
436
+ slo?: string[] | null;
437
+ status?: string[] | null;
438
+ targetHostname?: string[] | null;
439
+ targetIp?: string[] | null;
440
+ targetZoneName?: string[] | null;
441
+ trafficExclusions?: "security_events"[] | null;
442
+ tunnelId?: string[] | null;
443
+ tunnelName?: string[] | null;
444
+ type?: string[] | null;
445
+ where?: string[] | null;
446
+ zones?: string[] | null;
447
+ } | null;
448
+ mechanisms?: {
449
+ email?: {
450
+ id?: string | null;
451
+ }[] | null;
452
+ pagerduty?: {
453
+ id?: string | null;
454
+ }[] | null;
455
+ webhooks?: {
456
+ id?: string | null;
457
+ }[] | null;
458
+ } | null;
459
+ modified?: string | null;
460
+ name?: string | null;
461
+ }[];
462
+ }
463
+ export declare const ListPoliciesResponse: Schema.Schema<ListPoliciesResponse>;
464
+ export type ListPoliciesError = DefaultErrors;
465
+ export declare const listPolicies: API.PaginatedOperationMethod<ListPoliciesRequest, ListPoliciesResponse, ListPoliciesError, Credentials | HttpClient.HttpClient> & {
466
+ pages: (input: ListPoliciesRequest) => stream.Stream<ListPoliciesResponse, ListPoliciesError, Credentials | HttpClient.HttpClient>;
467
+ items: (input: ListPoliciesRequest) => stream.Stream<{
468
+ id?: string | null;
469
+ alertInterval?: string | null;
470
+ alertType?: "abuse_report_alert" | "access_custom_certificate_expiration_type" | "advanced_ddos_attack_l4_alert" | "advanced_ddos_attack_l7_alert" | "advanced_http_alert_error" | "bgp_hijack_notification" | "billing_usage_alert" | "block_notification_block_removed" | "block_notification_new_block" | "block_notification_review_rejected" | "bot_traffic_basic_alert" | "brand_protection_alert" | "brand_protection_digest" | "clickhouse_alert_fw_anomaly" | "clickhouse_alert_fw_ent_anomaly" | "cloudforce_one_request_notification" | "custom_analytics" | "custom_bot_detection_alert" | "custom_ssl_certificate_event_type" | "dedicated_ssl_certificate_event_type" | "device_connectivity_anomaly_alert" | "dos_attack_l4" | "dos_attack_l7" | "expiring_service_token_alert" | "failing_logpush_job_disabled_alert" | "fbm_auto_advertisement" | "fbm_dosd_attack" | "fbm_volumetric_attack" | "health_check_status_notification" | "hostname_aop_custom_certificate_expiration_type" | "http_alert_edge_error" | "http_alert_origin_error" | "image_notification" | "image_resizing_notification" | "incident_alert" | "load_balancing_health_alert" | "load_balancing_pool_enablement_alert" | "logo_match_alert" | "magic_tunnel_health_check_event" | "magic_wan_tunnel_health" | "maintenance_event_notification" | "mtls_certificate_store_certificate_expiration_type" | "pages_event_alert" | "radar_notification" | "real_origin_monitoring" | "scriptmonitor_alert_new_code_change_detections" | "scriptmonitor_alert_new_hosts" | "scriptmonitor_alert_new_malicious_hosts" | "scriptmonitor_alert_new_malicious_scripts" | "scriptmonitor_alert_new_malicious_url" | "scriptmonitor_alert_new_max_length_resource_url" | "scriptmonitor_alert_new_resources" | "secondary_dns_all_primaries_failing" | "secondary_dns_primaries_failing" | "secondary_dns_warning" | "secondary_dns_zone_successfully_updated" | "secondary_dns_zone_validation_warning" | "security_insights_alert" | "sentinel_alert" | "stream_live_notifications" | "synthetic_test_latency_alert" | "synthetic_test_low_availability_alert" | "traffic_anomalies_alert" | "tunnel_health_event" | "tunnel_update_event" | "universal_ssl_event_type" | "web_analytics_metrics_update" | "zone_aop_custom_certificate_expiration_type" | null;
471
+ created?: string | null;
472
+ description?: string | null;
473
+ enabled?: boolean | null;
474
+ filters?: {
475
+ actions?: string[] | null;
476
+ affectedAsns?: string[] | null;
477
+ affectedComponents?: string[] | null;
478
+ affectedLocations?: string[] | null;
479
+ airportCode?: string[] | null;
480
+ alertTriggerPreferences?: string[] | null;
481
+ alertTriggerPreferencesValue?: string[] | null;
482
+ enabled?: string[] | null;
483
+ environment?: string[] | null;
484
+ event?: string[] | null;
485
+ eventSource?: string[] | null;
486
+ eventType?: string[] | null;
487
+ groupBy?: string[] | null;
488
+ healthCheckId?: string[] | null;
489
+ incidentImpact?: ("INCIDENT_IMPACT_NONE" | "INCIDENT_IMPACT_MINOR" | "INCIDENT_IMPACT_MAJOR" | "INCIDENT_IMPACT_CRITICAL")[] | null;
490
+ inputId?: string[] | null;
491
+ insightClass?: string[] | null;
492
+ limit?: string[] | null;
493
+ logoTag?: string[] | null;
494
+ megabitsPerSecond?: string[] | null;
495
+ newHealth?: string[] | null;
496
+ newStatus?: string[] | null;
497
+ packetsPerSecond?: string[] | null;
498
+ poolId?: string[] | null;
499
+ popNames?: string[] | null;
500
+ product?: string[] | null;
501
+ projectId?: string[] | null;
502
+ protocol?: string[] | null;
503
+ queryTag?: string[] | null;
504
+ requestsPerSecond?: string[] | null;
505
+ selectors?: string[] | null;
506
+ services?: string[] | null;
507
+ slo?: string[] | null;
508
+ status?: string[] | null;
509
+ targetHostname?: string[] | null;
510
+ targetIp?: string[] | null;
511
+ targetZoneName?: string[] | null;
512
+ trafficExclusions?: "security_events"[] | null;
513
+ tunnelId?: string[] | null;
514
+ tunnelName?: string[] | null;
515
+ type?: string[] | null;
516
+ where?: string[] | null;
517
+ zones?: string[] | null;
518
+ } | null;
519
+ mechanisms?: {
520
+ email?: {
521
+ id?: string | null;
522
+ }[] | null;
523
+ pagerduty?: {
524
+ id?: string | null;
525
+ }[] | null;
526
+ webhooks?: {
527
+ id?: string | null;
528
+ }[] | null;
529
+ } | null;
530
+ modified?: string | null;
531
+ name?: string | null;
532
+ }, ListPoliciesError, Credentials | HttpClient.HttpClient>;
533
+ };
534
+ export interface CreatePolicyRequest {
535
+ /** Path param: The account id */
536
+ accountId: string;
537
+ /** Body param: Refers to which event will trigger a Notification dispatch. You can use the endpoint to get available alert types which then will give you a list of possible values. */
538
+ alertType: "abuse_report_alert" | "access_custom_certificate_expiration_type" | "advanced_ddos_attack_l4_alert" | "advanced_ddos_attack_l7_alert" | "advanced_http_alert_error" | "bgp_hijack_notification" | "billing_usage_alert" | "block_notification_block_removed" | "block_notification_new_block" | "block_notification_review_rejected" | "bot_traffic_basic_alert" | "brand_protection_alert" | "brand_protection_digest" | "clickhouse_alert_fw_anomaly" | "clickhouse_alert_fw_ent_anomaly" | "cloudforce_one_request_notification" | "custom_analytics" | "custom_bot_detection_alert" | "custom_ssl_certificate_event_type" | "dedicated_ssl_certificate_event_type" | "device_connectivity_anomaly_alert" | "dos_attack_l4" | "dos_attack_l7" | "expiring_service_token_alert" | "failing_logpush_job_disabled_alert" | "fbm_auto_advertisement" | "fbm_dosd_attack" | "fbm_volumetric_attack" | "health_check_status_notification" | "hostname_aop_custom_certificate_expiration_type" | "http_alert_edge_error" | "http_alert_origin_error" | "image_notification" | "image_resizing_notification" | "incident_alert" | "load_balancing_health_alert" | "load_balancing_pool_enablement_alert" | "logo_match_alert" | "magic_tunnel_health_check_event" | "magic_wan_tunnel_health" | "maintenance_event_notification" | "mtls_certificate_store_certificate_expiration_type" | "pages_event_alert" | "radar_notification" | "real_origin_monitoring" | "scriptmonitor_alert_new_code_change_detections" | "scriptmonitor_alert_new_hosts" | "scriptmonitor_alert_new_malicious_hosts" | "scriptmonitor_alert_new_malicious_scripts" | "scriptmonitor_alert_new_malicious_url" | "scriptmonitor_alert_new_max_length_resource_url" | "scriptmonitor_alert_new_resources" | "secondary_dns_all_primaries_failing" | "secondary_dns_primaries_failing" | "secondary_dns_warning" | "secondary_dns_zone_successfully_updated" | "secondary_dns_zone_validation_warning" | "security_insights_alert" | "sentinel_alert" | "stream_live_notifications" | "synthetic_test_latency_alert" | "synthetic_test_low_availability_alert" | "traffic_anomalies_alert" | "tunnel_health_event" | "tunnel_update_event" | "universal_ssl_event_type" | "web_analytics_metrics_update" | "zone_aop_custom_certificate_expiration_type";
539
+ /** Body param: Whether or not the Notification policy is enabled. */
540
+ enabled: boolean;
541
+ /** Body param: List of IDs that will be used when dispatching a notification. IDs for email type will be the email address. */
542
+ mechanisms: {
543
+ email?: {
544
+ id?: string;
545
+ }[];
546
+ pagerduty?: {
547
+ id?: string;
548
+ }[];
549
+ webhooks?: {
550
+ id?: string;
551
+ }[];
552
+ };
553
+ /** Body param: Name of the policy. */
554
+ name: string;
555
+ /** Body param: Optional specification of how often to re-alert from the same incident, not support on all alert types. */
556
+ alertInterval?: string;
557
+ /** Body param: Optional description for the Notification policy. */
558
+ description?: string;
559
+ /** Body param: Optional filters that allow you to be alerted only on a subset of events for that alert type based on some criteria. This is only available for select alert types. See alert type documenta */
560
+ filters?: {
561
+ actions?: string[];
562
+ affectedAsns?: string[];
563
+ affectedComponents?: string[];
564
+ affectedLocations?: string[];
565
+ airportCode?: string[];
566
+ alertTriggerPreferences?: string[];
567
+ alertTriggerPreferencesValue?: string[];
568
+ enabled?: string[];
569
+ environment?: string[];
570
+ event?: string[];
571
+ eventSource?: string[];
572
+ eventType?: string[];
573
+ groupBy?: string[];
574
+ healthCheckId?: string[];
575
+ incidentImpact?: ("INCIDENT_IMPACT_NONE" | "INCIDENT_IMPACT_MINOR" | "INCIDENT_IMPACT_MAJOR" | "INCIDENT_IMPACT_CRITICAL")[];
576
+ inputId?: string[];
577
+ insightClass?: string[];
578
+ limit?: string[];
579
+ logoTag?: string[];
580
+ megabitsPerSecond?: string[];
581
+ newHealth?: string[];
582
+ newStatus?: string[];
583
+ packetsPerSecond?: string[];
584
+ poolId?: string[];
585
+ popNames?: string[];
586
+ product?: string[];
587
+ projectId?: string[];
588
+ protocol?: string[];
589
+ queryTag?: string[];
590
+ requestsPerSecond?: string[];
591
+ selectors?: string[];
592
+ services?: string[];
593
+ slo?: string[];
594
+ status?: string[];
595
+ targetHostname?: string[];
596
+ targetIp?: string[];
597
+ targetZoneName?: string[];
598
+ trafficExclusions?: "security_events"[];
599
+ tunnelId?: string[];
600
+ tunnelName?: string[];
601
+ type?: string[];
602
+ where?: string[];
603
+ zones?: string[];
604
+ };
605
+ }
606
+ export declare const CreatePolicyRequest: Schema.Schema<CreatePolicyRequest>;
607
+ export interface CreatePolicyResponse {
608
+ /** UUID */
609
+ id?: string | null;
610
+ }
611
+ export declare const CreatePolicyResponse: Schema.Schema<CreatePolicyResponse>;
612
+ export type CreatePolicyError = DefaultErrors | InvalidRoute | FiltersRequired | MechanismRequired;
613
+ export declare const createPolicy: API.OperationMethod<CreatePolicyRequest, CreatePolicyResponse, CreatePolicyError, Credentials | HttpClient.HttpClient>;
614
+ export interface UpdatePolicyRequest {
615
+ policyId: string;
616
+ /** Path param: The account id */
617
+ accountId: string;
618
+ /** Body param: Optional specification of how often to re-alert from the same incident, not support on all alert types. */
619
+ alertInterval?: string;
620
+ /** Body param: Refers to which event will trigger a Notification dispatch. You can use the endpoint to get available alert types which then will give you a list of possible values. */
621
+ alertType?: "abuse_report_alert" | "access_custom_certificate_expiration_type" | "advanced_ddos_attack_l4_alert" | "advanced_ddos_attack_l7_alert" | "advanced_http_alert_error" | "bgp_hijack_notification" | "billing_usage_alert" | "block_notification_block_removed" | "block_notification_new_block" | "block_notification_review_rejected" | "bot_traffic_basic_alert" | "brand_protection_alert" | "brand_protection_digest" | "clickhouse_alert_fw_anomaly" | "clickhouse_alert_fw_ent_anomaly" | "cloudforce_one_request_notification" | "custom_analytics" | "custom_bot_detection_alert" | "custom_ssl_certificate_event_type" | "dedicated_ssl_certificate_event_type" | "device_connectivity_anomaly_alert" | "dos_attack_l4" | "dos_attack_l7" | "expiring_service_token_alert" | "failing_logpush_job_disabled_alert" | "fbm_auto_advertisement" | "fbm_dosd_attack" | "fbm_volumetric_attack" | "health_check_status_notification" | "hostname_aop_custom_certificate_expiration_type" | "http_alert_edge_error" | "http_alert_origin_error" | "image_notification" | "image_resizing_notification" | "incident_alert" | "load_balancing_health_alert" | "load_balancing_pool_enablement_alert" | "logo_match_alert" | "magic_tunnel_health_check_event" | "magic_wan_tunnel_health" | "maintenance_event_notification" | "mtls_certificate_store_certificate_expiration_type" | "pages_event_alert" | "radar_notification" | "real_origin_monitoring" | "scriptmonitor_alert_new_code_change_detections" | "scriptmonitor_alert_new_hosts" | "scriptmonitor_alert_new_malicious_hosts" | "scriptmonitor_alert_new_malicious_scripts" | "scriptmonitor_alert_new_malicious_url" | "scriptmonitor_alert_new_max_length_resource_url" | "scriptmonitor_alert_new_resources" | "secondary_dns_all_primaries_failing" | "secondary_dns_primaries_failing" | "secondary_dns_warning" | "secondary_dns_zone_successfully_updated" | "secondary_dns_zone_validation_warning" | "security_insights_alert" | "sentinel_alert" | "stream_live_notifications" | "synthetic_test_latency_alert" | "synthetic_test_low_availability_alert" | "traffic_anomalies_alert" | "tunnel_health_event" | "tunnel_update_event" | "universal_ssl_event_type" | "web_analytics_metrics_update" | "zone_aop_custom_certificate_expiration_type";
622
+ /** Body param: Optional description for the Notification policy. */
623
+ description?: string;
624
+ /** Body param: Whether or not the Notification policy is enabled. */
625
+ enabled?: boolean;
626
+ /** Body param: Optional filters that allow you to be alerted only on a subset of events for that alert type based on some criteria. This is only available for select alert types. See alert type documenta */
627
+ filters?: {
628
+ actions?: string[];
629
+ affectedAsns?: string[];
630
+ affectedComponents?: string[];
631
+ affectedLocations?: string[];
632
+ airportCode?: string[];
633
+ alertTriggerPreferences?: string[];
634
+ alertTriggerPreferencesValue?: string[];
635
+ enabled?: string[];
636
+ environment?: string[];
637
+ event?: string[];
638
+ eventSource?: string[];
639
+ eventType?: string[];
640
+ groupBy?: string[];
641
+ healthCheckId?: string[];
642
+ incidentImpact?: ("INCIDENT_IMPACT_NONE" | "INCIDENT_IMPACT_MINOR" | "INCIDENT_IMPACT_MAJOR" | "INCIDENT_IMPACT_CRITICAL")[];
643
+ inputId?: string[];
644
+ insightClass?: string[];
645
+ limit?: string[];
646
+ logoTag?: string[];
647
+ megabitsPerSecond?: string[];
648
+ newHealth?: string[];
649
+ newStatus?: string[];
650
+ packetsPerSecond?: string[];
651
+ poolId?: string[];
652
+ popNames?: string[];
653
+ product?: string[];
654
+ projectId?: string[];
655
+ protocol?: string[];
656
+ queryTag?: string[];
657
+ requestsPerSecond?: string[];
658
+ selectors?: string[];
659
+ services?: string[];
660
+ slo?: string[];
661
+ status?: string[];
662
+ targetHostname?: string[];
663
+ targetIp?: string[];
664
+ targetZoneName?: string[];
665
+ trafficExclusions?: "security_events"[];
666
+ tunnelId?: string[];
667
+ tunnelName?: string[];
668
+ type?: string[];
669
+ where?: string[];
670
+ zones?: string[];
671
+ };
672
+ /** Body param: List of IDs that will be used when dispatching a notification. IDs for email type will be the email address. */
673
+ mechanisms?: {
674
+ email?: {
675
+ id?: string;
676
+ }[];
677
+ pagerduty?: {
678
+ id?: string;
679
+ }[];
680
+ webhooks?: {
681
+ id?: string;
682
+ }[];
683
+ };
684
+ /** Body param: Name of the policy. */
685
+ name?: string;
686
+ }
687
+ export declare const UpdatePolicyRequest: Schema.Schema<UpdatePolicyRequest>;
688
+ export interface UpdatePolicyResponse {
689
+ /** UUID */
690
+ id?: string | null;
691
+ }
692
+ export declare const UpdatePolicyResponse: Schema.Schema<UpdatePolicyResponse>;
693
+ export type UpdatePolicyError = DefaultErrors | InvalidRoute | PolicyNotFound | InvalidAlertType | MechanismRequired;
694
+ export declare const updatePolicy: API.OperationMethod<UpdatePolicyRequest, UpdatePolicyResponse, UpdatePolicyError, Credentials | HttpClient.HttpClient>;
695
+ export interface DeletePolicyRequest {
696
+ policyId: string;
697
+ /** The account id */
698
+ accountId: string;
699
+ }
700
+ export declare const DeletePolicyRequest: Schema.Schema<DeletePolicyRequest>;
701
+ export interface DeletePolicyResponse {
702
+ errors?: {
703
+ message: string;
704
+ code?: number | null;
705
+ }[] | null;
706
+ messages?: {
707
+ message: string;
708
+ code?: number | null;
709
+ }[] | null;
710
+ /** Whether the API call was successful */
711
+ success?: true | null;
712
+ resultInfo?: {
713
+ count?: number | null;
714
+ page?: number | null;
715
+ perPage?: number | null;
716
+ totalCount?: number | null;
717
+ } | null;
718
+ }
719
+ export declare const DeletePolicyResponse: Schema.Schema<DeletePolicyResponse>;
720
+ export type DeletePolicyError = DefaultErrors | InvalidRoute | PolicyNotFound;
721
+ export declare const deletePolicy: API.OperationMethod<DeletePolicyRequest, DeletePolicyResponse, DeletePolicyError, Credentials | HttpClient.HttpClient>;
722
+ export interface GetSilenceRequest {
723
+ silenceId: string;
724
+ /** The account id */
725
+ accountId: string;
726
+ }
727
+ export declare const GetSilenceRequest: Schema.Schema<GetSilenceRequest>;
728
+ export interface GetSilenceResponse {
729
+ /** Silence ID */
730
+ id?: string | null;
731
+ /** When the silence was created. */
732
+ createdAt?: string | null;
733
+ /** When the silence ends. */
734
+ endTime?: string | null;
735
+ /** The unique identifier of a notification policy */
736
+ policyId?: string | null;
737
+ /** When the silence starts. */
738
+ startTime?: string | null;
739
+ /** When the silence was modified. */
740
+ updatedAt?: string | null;
741
+ }
742
+ export declare const GetSilenceResponse: Schema.Schema<GetSilenceResponse>;
743
+ export type GetSilenceError = DefaultErrors | InvalidRoute | InternalServerError;
744
+ export declare const getSilence: API.OperationMethod<GetSilenceRequest, GetSilenceResponse, GetSilenceError, Credentials | HttpClient.HttpClient>;
745
+ export interface ListSilencesRequest {
746
+ /** The account id */
747
+ accountId: string;
748
+ }
749
+ export declare const ListSilencesRequest: Schema.Schema<ListSilencesRequest>;
750
+ export interface ListSilencesResponse {
751
+ result: {
752
+ id?: string | null;
753
+ createdAt?: string | null;
754
+ endTime?: string | null;
755
+ policyId?: string | null;
756
+ startTime?: string | null;
757
+ updatedAt?: string | null;
758
+ }[];
759
+ }
760
+ export declare const ListSilencesResponse: Schema.Schema<ListSilencesResponse>;
761
+ export type ListSilencesError = DefaultErrors;
762
+ export declare const listSilences: API.PaginatedOperationMethod<ListSilencesRequest, ListSilencesResponse, ListSilencesError, Credentials | HttpClient.HttpClient> & {
763
+ pages: (input: ListSilencesRequest) => stream.Stream<ListSilencesResponse, ListSilencesError, Credentials | HttpClient.HttpClient>;
764
+ items: (input: ListSilencesRequest) => stream.Stream<{
765
+ id?: string | null;
766
+ createdAt?: string | null;
767
+ endTime?: string | null;
768
+ policyId?: string | null;
769
+ startTime?: string | null;
770
+ updatedAt?: string | null;
771
+ }, ListSilencesError, Credentials | HttpClient.HttpClient>;
772
+ };
773
+ export interface CreateSilenceRequest {
774
+ /** Path param: The account id */
775
+ accountId: string;
776
+ /** Body param: */
777
+ body: {
778
+ endTime?: string;
779
+ policyId?: string;
780
+ startTime?: string;
781
+ }[];
782
+ }
783
+ export declare const CreateSilenceRequest: Schema.Schema<CreateSilenceRequest>;
784
+ export interface CreateSilenceResponse {
785
+ errors: {
786
+ message: string;
787
+ code?: number | null;
788
+ }[];
789
+ messages: {
790
+ message: string;
791
+ code?: number | null;
792
+ }[];
793
+ /** Whether the API call was successful */
794
+ success: true;
795
+ }
796
+ export declare const CreateSilenceResponse: Schema.Schema<CreateSilenceResponse>;
797
+ export type CreateSilenceError = DefaultErrors | InvalidRoute;
798
+ export declare const createSilence: API.OperationMethod<CreateSilenceRequest, CreateSilenceResponse, CreateSilenceError, Credentials | HttpClient.HttpClient>;
799
+ export interface UpdateSilenceRequest {
800
+ /** Path param: The account id */
801
+ accountId: string;
802
+ /** Body param: */
803
+ body: {
804
+ id?: string;
805
+ endTime?: string;
806
+ startTime?: string;
807
+ }[];
808
+ }
809
+ export declare const UpdateSilenceRequest: Schema.Schema<UpdateSilenceRequest>;
810
+ export interface UpdateSilenceResponse {
811
+ result: {
812
+ id?: string | null;
813
+ createdAt?: string | null;
814
+ endTime?: string | null;
815
+ policyId?: string | null;
816
+ startTime?: string | null;
817
+ updatedAt?: string | null;
818
+ }[];
819
+ }
820
+ export declare const UpdateSilenceResponse: Schema.Schema<UpdateSilenceResponse>;
821
+ export type UpdateSilenceError = DefaultErrors;
822
+ export declare const updateSilence: API.PaginatedOperationMethod<UpdateSilenceRequest, UpdateSilenceResponse, UpdateSilenceError, Credentials | HttpClient.HttpClient> & {
823
+ pages: (input: UpdateSilenceRequest) => stream.Stream<UpdateSilenceResponse, UpdateSilenceError, Credentials | HttpClient.HttpClient>;
824
+ items: (input: UpdateSilenceRequest) => stream.Stream<{
825
+ id?: string | null;
826
+ createdAt?: string | null;
827
+ endTime?: string | null;
828
+ policyId?: string | null;
829
+ startTime?: string | null;
830
+ updatedAt?: string | null;
831
+ }, UpdateSilenceError, Credentials | HttpClient.HttpClient>;
832
+ };
833
+ export interface DeleteSilenceRequest {
834
+ silenceId: string;
835
+ /** The account id */
836
+ accountId: string;
837
+ }
838
+ export declare const DeleteSilenceRequest: Schema.Schema<DeleteSilenceRequest>;
839
+ export interface DeleteSilenceResponse {
840
+ errors: {
841
+ message: string;
842
+ code?: number | null;
843
+ }[];
844
+ messages: {
845
+ message: string;
846
+ code?: number | null;
847
+ }[];
848
+ /** Whether the API call was successful */
849
+ success: true;
850
+ }
851
+ export declare const DeleteSilenceResponse: Schema.Schema<DeleteSilenceResponse>;
852
+ export type DeleteSilenceError = DefaultErrors | InvalidRoute;
853
+ export declare const deleteSilence: API.OperationMethod<DeleteSilenceRequest, DeleteSilenceResponse, DeleteSilenceError, Credentials | HttpClient.HttpClient>;
854
+ export {};
855
+ //# sourceMappingURL=alerting.d.ts.map