@distilled.cloud/cloudflare 0.29.0 → 0.29.1

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 (458) hide show
  1. package/lib/services/abuse-reports.d.ts.map +1 -1
  2. package/lib/services/abuse-reports.js +26 -26
  3. package/lib/services/abuse-reports.js.map +1 -1
  4. package/lib/services/accounts.d.ts.map +1 -1
  5. package/lib/services/accounts.js +114 -123
  6. package/lib/services/accounts.js.map +1 -1
  7. package/lib/services/acm.d.ts.map +1 -1
  8. package/lib/services/acm.js +23 -23
  9. package/lib/services/acm.js.map +1 -1
  10. package/lib/services/addressing.d.ts.map +1 -1
  11. package/lib/services/addressing.js +132 -132
  12. package/lib/services/addressing.js.map +1 -1
  13. package/lib/services/ai-gateway.d.ts.map +1 -1
  14. package/lib/services/ai-gateway.js +213 -207
  15. package/lib/services/ai-gateway.js.map +1 -1
  16. package/lib/services/ai-security.d.ts.map +1 -1
  17. package/lib/services/ai-security.js +13 -13
  18. package/lib/services/ai-security.js.map +1 -1
  19. package/lib/services/ai.d.ts.map +1 -1
  20. package/lib/services/ai.js +62 -62
  21. package/lib/services/ai.js.map +1 -1
  22. package/lib/services/aisearch.d.ts.map +1 -1
  23. package/lib/services/aisearch.js +187 -193
  24. package/lib/services/aisearch.js.map +1 -1
  25. package/lib/services/alerting.d.ts.map +1 -1
  26. package/lib/services/alerting.js +78 -78
  27. package/lib/services/alerting.js.map +1 -1
  28. package/lib/services/api-gateway.d.ts.map +1 -1
  29. package/lib/services/api-gateway.js +168 -177
  30. package/lib/services/api-gateway.js.map +1 -1
  31. package/lib/services/argo.js +12 -12
  32. package/lib/services/argo.js.map +1 -1
  33. package/lib/services/audit-logs.d.ts.map +1 -1
  34. package/lib/services/audit-logs.js +9 -9
  35. package/lib/services/audit-logs.js.map +1 -1
  36. package/lib/services/billing.d.ts.map +1 -1
  37. package/lib/services/billing.js +11 -11
  38. package/lib/services/billing.js.map +1 -1
  39. package/lib/services/bot-management.d.ts.map +1 -1
  40. package/lib/services/bot-management.js +18 -30
  41. package/lib/services/bot-management.js.map +1 -1
  42. package/lib/services/botnet-feed.d.ts.map +1 -1
  43. package/lib/services/botnet-feed.js +12 -12
  44. package/lib/services/botnet-feed.js.map +1 -1
  45. package/lib/services/brand-protection.d.ts.map +1 -1
  46. package/lib/services/brand-protection.js +59 -59
  47. package/lib/services/brand-protection.js.map +1 -1
  48. package/lib/services/browser-rendering.d.ts.map +1 -1
  49. package/lib/services/browser-rendering.js +103 -103
  50. package/lib/services/browser-rendering.js.map +1 -1
  51. package/lib/services/cache.d.ts.map +1 -1
  52. package/lib/services/cache.js +72 -72
  53. package/lib/services/cache.js.map +1 -1
  54. package/lib/services/calls.d.ts.map +1 -1
  55. package/lib/services/calls.js +31 -31
  56. package/lib/services/calls.js.map +1 -1
  57. package/lib/services/certificate-authorities.js +6 -6
  58. package/lib/services/certificate-authorities.js.map +1 -1
  59. package/lib/services/client-certificates.js +18 -18
  60. package/lib/services/client-certificates.js.map +1 -1
  61. package/lib/services/cloud-connector.d.ts.map +1 -1
  62. package/lib/services/cloud-connector.js +8 -8
  63. package/lib/services/cloud-connector.js.map +1 -1
  64. package/lib/services/cloudforce-one.d.ts.map +1 -1
  65. package/lib/services/cloudforce-one.js +178 -178
  66. package/lib/services/cloudforce-one.js.map +1 -1
  67. package/lib/services/connectivity.js +25 -25
  68. package/lib/services/connectivity.js.map +1 -1
  69. package/lib/services/containers.js +49 -49
  70. package/lib/services/containers.js.map +1 -1
  71. package/lib/services/content-scanning.d.ts.map +1 -1
  72. package/lib/services/content-scanning.js +29 -29
  73. package/lib/services/content-scanning.js.map +1 -1
  74. package/lib/services/csam-scanner.d.ts.map +1 -1
  75. package/lib/services/csam-scanner.js +8 -8
  76. package/lib/services/csam-scanner.js.map +1 -1
  77. package/lib/services/custom-certificates.d.ts.map +1 -1
  78. package/lib/services/custom-certificates.js +24 -24
  79. package/lib/services/custom-certificates.js.map +1 -1
  80. package/lib/services/custom-csrs.d.ts.map +1 -1
  81. package/lib/services/custom-csrs.js +22 -22
  82. package/lib/services/custom-csrs.js.map +1 -1
  83. package/lib/services/custom-hostnames.d.ts.map +1 -1
  84. package/lib/services/custom-hostnames.js +40 -40
  85. package/lib/services/custom-hostnames.js.map +1 -1
  86. package/lib/services/custom-nameservers.js +11 -11
  87. package/lib/services/custom-nameservers.js.map +1 -1
  88. package/lib/services/custom-pages.d.ts.map +1 -1
  89. package/lib/services/custom-pages.js +43 -43
  90. package/lib/services/custom-pages.js.map +1 -1
  91. package/lib/services/d1.d.ts +4 -4
  92. package/lib/services/d1.d.ts.map +1 -1
  93. package/lib/services/d1.js +69 -51
  94. package/lib/services/d1.js.map +1 -1
  95. package/lib/services/dcv-delegation.js +3 -3
  96. package/lib/services/dcv-delegation.js.map +1 -1
  97. package/lib/services/ddos-protection.js +126 -126
  98. package/lib/services/ddos-protection.js.map +1 -1
  99. package/lib/services/diagnostics.js +27 -27
  100. package/lib/services/diagnostics.js.map +1 -1
  101. package/lib/services/dls.d.ts.map +1 -1
  102. package/lib/services/dls.js +26 -26
  103. package/lib/services/dls.js.map +1 -1
  104. package/lib/services/dns-firewall.d.ts.map +1 -1
  105. package/lib/services/dns-firewall.js +34 -34
  106. package/lib/services/dns-firewall.js.map +1 -1
  107. package/lib/services/dns.d.ts.map +1 -1
  108. package/lib/services/dns.js +268 -268
  109. package/lib/services/dns.js.map +1 -1
  110. package/lib/services/durable-objects.d.ts.map +1 -1
  111. package/lib/services/durable-objects.js +11 -11
  112. package/lib/services/durable-objects.js.map +1 -1
  113. package/lib/services/email-auth.d.ts.map +1 -1
  114. package/lib/services/email-auth.js +13 -13
  115. package/lib/services/email-auth.js.map +1 -1
  116. package/lib/services/email-routing.d.ts.map +1 -1
  117. package/lib/services/email-routing.js +70 -70
  118. package/lib/services/email-routing.js.map +1 -1
  119. package/lib/services/email-security.d.ts.map +1 -1
  120. package/lib/services/email-security.js +195 -195
  121. package/lib/services/email-security.js.map +1 -1
  122. package/lib/services/email-sending.d.ts.map +1 -1
  123. package/lib/services/email-sending.js +28 -28
  124. package/lib/services/email-sending.js.map +1 -1
  125. package/lib/services/filters.d.ts.map +1 -1
  126. package/lib/services/filters.js +25 -25
  127. package/lib/services/filters.js.map +1 -1
  128. package/lib/services/firewall.d.ts.map +1 -1
  129. package/lib/services/firewall.js +149 -149
  130. package/lib/services/firewall.js.map +1 -1
  131. package/lib/services/flagship.d.ts.map +1 -1
  132. package/lib/services/flagship.js +52 -52
  133. package/lib/services/flagship.js.map +1 -1
  134. package/lib/services/fraud.js +8 -8
  135. package/lib/services/fraud.js.map +1 -1
  136. package/lib/services/google-tag-gateway.d.ts.map +1 -1
  137. package/lib/services/google-tag-gateway.js +7 -7
  138. package/lib/services/google-tag-gateway.js.map +1 -1
  139. package/lib/services/healthchecks.d.ts.map +1 -1
  140. package/lib/services/healthchecks.js +31 -31
  141. package/lib/services/healthchecks.js.map +1 -1
  142. package/lib/services/hostnames.d.ts.map +1 -1
  143. package/lib/services/hostnames.js +10 -10
  144. package/lib/services/hostnames.js.map +1 -1
  145. package/lib/services/hyperdrive.d.ts.map +1 -1
  146. package/lib/services/hyperdrive.js +32 -32
  147. package/lib/services/hyperdrive.js.map +1 -1
  148. package/lib/services/iam.d.ts.map +1 -1
  149. package/lib/services/iam.js +113 -113
  150. package/lib/services/iam.js.map +1 -1
  151. package/lib/services/images.d.ts.map +1 -1
  152. package/lib/services/images.js +59 -59
  153. package/lib/services/images.js.map +1 -1
  154. package/lib/services/intel.d.ts.map +1 -1
  155. package/lib/services/intel.js +102 -102
  156. package/lib/services/intel.js.map +1 -1
  157. package/lib/services/ips.js +5 -5
  158. package/lib/services/ips.js.map +1 -1
  159. package/lib/services/keyless-certificates.js +17 -17
  160. package/lib/services/keyless-certificates.js.map +1 -1
  161. package/lib/services/kv.d.ts.map +1 -1
  162. package/lib/services/kv.js +54 -54
  163. package/lib/services/kv.js.map +1 -1
  164. package/lib/services/leaked-credential-checks.d.ts.map +1 -1
  165. package/lib/services/leaked-credential-checks.js +22 -22
  166. package/lib/services/leaked-credential-checks.js.map +1 -1
  167. package/lib/services/load-balancers.d.ts.map +1 -1
  168. package/lib/services/load-balancers.js +139 -157
  169. package/lib/services/load-balancers.js.map +1 -1
  170. package/lib/services/logpush.d.ts.map +1 -1
  171. package/lib/services/logpush.js +69 -69
  172. package/lib/services/logpush.js.map +1 -1
  173. package/lib/services/logs.d.ts.map +1 -1
  174. package/lib/services/logs.js +58 -58
  175. package/lib/services/logs.js.map +1 -1
  176. package/lib/services/magic-cloud-networking.d.ts.map +1 -1
  177. package/lib/services/magic-cloud-networking.js +138 -168
  178. package/lib/services/magic-cloud-networking.js.map +1 -1
  179. package/lib/services/magic-network-monitoring.d.ts.map +1 -1
  180. package/lib/services/magic-network-monitoring.js +47 -65
  181. package/lib/services/magic-network-monitoring.js.map +1 -1
  182. package/lib/services/magic-transit.d.ts.map +1 -1
  183. package/lib/services/magic-transit.js +340 -364
  184. package/lib/services/magic-transit.js.map +1 -1
  185. package/lib/services/managed-transforms.js +11 -11
  186. package/lib/services/managed-transforms.js.map +1 -1
  187. package/lib/services/memberships.d.ts.map +1 -1
  188. package/lib/services/memberships.js +25 -25
  189. package/lib/services/memberships.js.map +1 -1
  190. package/lib/services/moq.d.ts.map +1 -1
  191. package/lib/services/moq.js +23 -23
  192. package/lib/services/moq.js.map +1 -1
  193. package/lib/services/mtls-certificates.d.ts.map +1 -1
  194. package/lib/services/mtls-certificates.js +17 -17
  195. package/lib/services/mtls-certificates.js.map +1 -1
  196. package/lib/services/network-interconnects.d.ts.map +1 -1
  197. package/lib/services/network-interconnects.js +56 -56
  198. package/lib/services/network-interconnects.js.map +1 -1
  199. package/lib/services/organizations.d.ts.map +1 -1
  200. package/lib/services/organizations.js +42 -42
  201. package/lib/services/organizations.js.map +1 -1
  202. package/lib/services/origin-ca-certificates.js +14 -14
  203. package/lib/services/origin-ca-certificates.js.map +1 -1
  204. package/lib/services/origin-post-quantum-encryption.js +6 -6
  205. package/lib/services/origin-post-quantum-encryption.js.map +1 -1
  206. package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
  207. package/lib/services/origin-tls-client-auth.js +52 -52
  208. package/lib/services/origin-tls-client-auth.js.map +1 -1
  209. package/lib/services/origin-tls-compliance-modes.js +12 -12
  210. package/lib/services/origin-tls-compliance-modes.js.map +1 -1
  211. package/lib/services/page-rules.d.ts.map +1 -1
  212. package/lib/services/page-rules.js +62 -62
  213. package/lib/services/page-rules.js.map +1 -1
  214. package/lib/services/page-shield.d.ts.map +1 -1
  215. package/lib/services/page-shield.js +45 -48
  216. package/lib/services/page-shield.js.map +1 -1
  217. package/lib/services/pages.d.ts.map +1 -1
  218. package/lib/services/pages.js +78 -78
  219. package/lib/services/pages.js.map +1 -1
  220. package/lib/services/pipelines.d.ts.map +1 -1
  221. package/lib/services/pipelines.js +102 -102
  222. package/lib/services/pipelines.js.map +1 -1
  223. package/lib/services/queues.d.ts.map +1 -1
  224. package/lib/services/queues.js +100 -103
  225. package/lib/services/queues.js.map +1 -1
  226. package/lib/services/r2-data-catalog.d.ts.map +1 -1
  227. package/lib/services/r2-data-catalog.js +42 -42
  228. package/lib/services/r2-data-catalog.js.map +1 -1
  229. package/lib/services/r2.d.ts.map +1 -1
  230. package/lib/services/r2.js +190 -190
  231. package/lib/services/r2.js.map +1 -1
  232. package/lib/services/radar.d.ts.map +1 -1
  233. package/lib/services/radar.js +991 -1009
  234. package/lib/services/radar.js.map +1 -1
  235. package/lib/services/rate-limits.d.ts.map +1 -1
  236. package/lib/services/rate-limits.js +24 -24
  237. package/lib/services/rate-limits.js.map +1 -1
  238. package/lib/services/realtime-kit.d.ts.map +1 -1
  239. package/lib/services/realtime-kit.js +276 -276
  240. package/lib/services/realtime-kit.js.map +1 -1
  241. package/lib/services/registrar.d.ts.map +1 -1
  242. package/lib/services/registrar.js +28 -28
  243. package/lib/services/registrar.js.map +1 -1
  244. package/lib/services/request-tracers.d.ts.map +1 -1
  245. package/lib/services/request-tracers.js +7 -7
  246. package/lib/services/request-tracers.js.map +1 -1
  247. package/lib/services/resource-sharing.d.ts.map +1 -1
  248. package/lib/services/resource-sharing.js +49 -49
  249. package/lib/services/resource-sharing.js.map +1 -1
  250. package/lib/services/resource-tagging.d.ts.map +1 -1
  251. package/lib/services/resource-tagging.js +56 -56
  252. package/lib/services/resource-tagging.js.map +1 -1
  253. package/lib/services/rules.d.ts.map +1 -1
  254. package/lib/services/rules.js +50 -50
  255. package/lib/services/rules.js.map +1 -1
  256. package/lib/services/rulesets.d.ts +2 -2
  257. package/lib/services/rulesets.d.ts.map +1 -1
  258. package/lib/services/rulesets.js +226 -190
  259. package/lib/services/rulesets.js.map +1 -1
  260. package/lib/services/rum.d.ts.map +1 -1
  261. package/lib/services/rum.js +35 -35
  262. package/lib/services/rum.js.map +1 -1
  263. package/lib/services/schema-validation.d.ts.map +1 -1
  264. package/lib/services/schema-validation.js +43 -46
  265. package/lib/services/schema-validation.js.map +1 -1
  266. package/lib/services/secrets-store.d.ts.map +1 -1
  267. package/lib/services/secrets-store.js +41 -41
  268. package/lib/services/secrets-store.js.map +1 -1
  269. package/lib/services/security-center.d.ts.map +1 -1
  270. package/lib/services/security-center.js +54 -57
  271. package/lib/services/security-center.js.map +1 -1
  272. package/lib/services/security-txt.d.ts.map +1 -1
  273. package/lib/services/security-txt.js +12 -12
  274. package/lib/services/security-txt.js.map +1 -1
  275. package/lib/services/snippets.d.ts.map +1 -1
  276. package/lib/services/snippets.js +31 -31
  277. package/lib/services/snippets.js.map +1 -1
  278. package/lib/services/spectrum.d.ts.map +1 -1
  279. package/lib/services/spectrum.js +35 -35
  280. package/lib/services/spectrum.js.map +1 -1
  281. package/lib/services/speed.d.ts.map +1 -1
  282. package/lib/services/speed.js +41 -41
  283. package/lib/services/speed.js.map +1 -1
  284. package/lib/services/ssl.d.ts.map +1 -1
  285. package/lib/services/ssl.js +48 -48
  286. package/lib/services/ssl.js.map +1 -1
  287. package/lib/services/stream.d.ts.map +1 -1
  288. package/lib/services/stream.js +147 -147
  289. package/lib/services/stream.js.map +1 -1
  290. package/lib/services/tenant-custom-nameservers.js +11 -11
  291. package/lib/services/tenant-custom-nameservers.js.map +1 -1
  292. package/lib/services/tenants.d.ts.map +1 -1
  293. package/lib/services/tenants.js +28 -28
  294. package/lib/services/tenants.js.map +1 -1
  295. package/lib/services/token-validation.d.ts.map +1 -1
  296. package/lib/services/token-validation.js +56 -56
  297. package/lib/services/token-validation.js.map +1 -1
  298. package/lib/services/turnstile.d.ts.map +1 -1
  299. package/lib/services/turnstile.js +27 -54
  300. package/lib/services/turnstile.js.map +1 -1
  301. package/lib/services/url-normalization.js +9 -9
  302. package/lib/services/url-normalization.js.map +1 -1
  303. package/lib/services/url-scanner.d.ts.map +1 -1
  304. package/lib/services/url-scanner.js +120 -120
  305. package/lib/services/url-scanner.js.map +1 -1
  306. package/lib/services/user.d.ts.map +1 -1
  307. package/lib/services/user.js +95 -95
  308. package/lib/services/user.js.map +1 -1
  309. package/lib/services/vectorize.d.ts +10 -10
  310. package/lib/services/vectorize.d.ts.map +1 -1
  311. package/lib/services/vectorize.js +59 -57
  312. package/lib/services/vectorize.js.map +1 -1
  313. package/lib/services/vulnerability-scanner.d.ts.map +1 -1
  314. package/lib/services/vulnerability-scanner.js +95 -95
  315. package/lib/services/vulnerability-scanner.js.map +1 -1
  316. package/lib/services/waiting-rooms.d.ts.map +1 -1
  317. package/lib/services/waiting-rooms.js +81 -81
  318. package/lib/services/waiting-rooms.js.map +1 -1
  319. package/lib/services/web3.d.ts.map +1 -1
  320. package/lib/services/web3.js +39 -39
  321. package/lib/services/web3.js.map +1 -1
  322. package/lib/services/workers-for-platforms.d.ts.map +1 -1
  323. package/lib/services/workers-for-platforms.js +139 -139
  324. package/lib/services/workers-for-platforms.js.map +1 -1
  325. package/lib/services/workers.d.ts.map +1 -1
  326. package/lib/services/workers.js +420 -420
  327. package/lib/services/workers.js.map +1 -1
  328. package/lib/services/workflows.d.ts.map +1 -1
  329. package/lib/services/workflows.js +88 -88
  330. package/lib/services/workflows.js.map +1 -1
  331. package/lib/services/zaraz.d.ts.map +1 -1
  332. package/lib/services/zaraz.js +36 -39
  333. package/lib/services/zaraz.js.map +1 -1
  334. package/lib/services/zero-trust.d.ts.map +1 -1
  335. package/lib/services/zero-trust.js +1765 -1771
  336. package/lib/services/zero-trust.js.map +1 -1
  337. package/lib/services/zones.d.ts.map +1 -1
  338. package/lib/services/zones.js +168 -168
  339. package/lib/services/zones.js.map +1 -1
  340. package/package.json +3 -2
  341. package/src/services/abuse-reports.ts +35 -36
  342. package/src/services/accounts.ts +714 -760
  343. package/src/services/acm.ts +115 -125
  344. package/src/services/addressing.ts +484 -512
  345. package/src/services/ai-gateway.ts +653 -672
  346. package/src/services/ai-security.ts +47 -53
  347. package/src/services/ai.ts +172 -185
  348. package/src/services/aisearch.ts +1814 -1861
  349. package/src/services/alerting.ts +710 -742
  350. package/src/services/api-gateway.ts +481 -508
  351. package/src/services/argo.ts +12 -12
  352. package/src/services/audit-logs.ts +45 -49
  353. package/src/services/billing.ts +121 -136
  354. package/src/services/bot-management.ts +122 -136
  355. package/src/services/botnet-feed.ts +68 -74
  356. package/src/services/brand-protection.ts +275 -294
  357. package/src/services/browser-rendering.ts +758 -769
  358. package/src/services/cache.ts +148 -158
  359. package/src/services/calls.ts +110 -120
  360. package/src/services/certificate-authorities.ts +6 -6
  361. package/src/services/client-certificates.ts +18 -18
  362. package/src/services/cloud-connector.ts +11 -12
  363. package/src/services/cloudforce-one.ts +589 -617
  364. package/src/services/connectivity.ts +25 -25
  365. package/src/services/containers.ts +49 -49
  366. package/src/services/content-scanning.ts +80 -89
  367. package/src/services/csam-scanner.ts +16 -17
  368. package/src/services/custom-certificates.ts +36 -38
  369. package/src/services/custom-csrs.ts +103 -105
  370. package/src/services/custom-hostnames.ts +44 -45
  371. package/src/services/custom-nameservers.ts +11 -11
  372. package/src/services/custom-pages.ts +173 -184
  373. package/src/services/d1.ts +335 -325
  374. package/src/services/dcv-delegation.ts +3 -3
  375. package/src/services/ddos-protection.ts +126 -126
  376. package/src/services/diagnostics.ts +27 -27
  377. package/src/services/dls.ts +82 -86
  378. package/src/services/dns-firewall.ts +65 -69
  379. package/src/services/dns.ts +1080 -1107
  380. package/src/services/durable-objects.ts +36 -38
  381. package/src/services/email-auth.ts +47 -52
  382. package/src/services/email-routing.ts +264 -288
  383. package/src/services/email-security.ts +205 -208
  384. package/src/services/email-sending.ts +94 -99
  385. package/src/services/filters.ts +97 -111
  386. package/src/services/firewall.ts +698 -753
  387. package/src/services/flagship.ts +321 -336
  388. package/src/services/fraud.ts +8 -8
  389. package/src/services/google-tag-gateway.ts +17 -19
  390. package/src/services/healthchecks.ts +269 -286
  391. package/src/services/hostnames.ts +94 -99
  392. package/src/services/hyperdrive.ts +310 -324
  393. package/src/services/iam.ts +205 -212
  394. package/src/services/images.ts +138 -150
  395. package/src/services/intel.ts +248 -261
  396. package/src/services/ips.ts +5 -5
  397. package/src/services/keyless-certificates.ts +17 -17
  398. package/src/services/kv.ts +106 -110
  399. package/src/services/leaked-credential-checks.ts +49 -53
  400. package/src/services/load-balancers.ts +1119 -1212
  401. package/src/services/logpush.ts +298 -313
  402. package/src/services/logs.ts +74 -77
  403. package/src/services/magic-cloud-networking.ts +1219 -1311
  404. package/src/services/magic-network-monitoring.ts +647 -685
  405. package/src/services/magic-transit.ts +1988 -2119
  406. package/src/services/managed-transforms.ts +11 -11
  407. package/src/services/memberships.ts +101 -105
  408. package/src/services/moq.ts +100 -110
  409. package/src/services/mtls-certificates.ts +30 -32
  410. package/src/services/network-interconnects.ts +137 -145
  411. package/src/services/organizations.ts +189 -192
  412. package/src/services/origin-ca-certificates.ts +14 -14
  413. package/src/services/origin-post-quantum-encryption.ts +6 -6
  414. package/src/services/origin-tls-client-auth.ts +219 -236
  415. package/src/services/origin-tls-compliance-modes.ts +12 -12
  416. package/src/services/page-rules.ts +365 -373
  417. package/src/services/page-shield.ts +489 -528
  418. package/src/services/pages.ts +309 -319
  419. package/src/services/pipelines.ts +534 -573
  420. package/src/services/queues.ts +598 -635
  421. package/src/services/r2-data-catalog.ts +59 -60
  422. package/src/services/r2.ts +654 -689
  423. package/src/services/radar.ts +3395 -3487
  424. package/src/services/rate-limits.ts +81 -93
  425. package/src/services/realtime-kit.ts +386 -399
  426. package/src/services/registrar.ts +90 -96
  427. package/src/services/request-tracers.ts +41 -43
  428. package/src/services/resource-sharing.ts +293 -305
  429. package/src/services/resource-tagging.ts +354 -366
  430. package/src/services/rules.ts +272 -292
  431. package/src/services/rulesets.ts +1214 -1116
  432. package/src/services/rum.ts +252 -273
  433. package/src/services/schema-validation.ts +284 -305
  434. package/src/services/secrets-store.ts +130 -138
  435. package/src/services/security-center.ts +64 -69
  436. package/src/services/security-txt.ts +48 -50
  437. package/src/services/snippets.ts +132 -142
  438. package/src/services/spectrum.ts +75 -80
  439. package/src/services/speed.ts +385 -397
  440. package/src/services/ssl.ts +64 -65
  441. package/src/services/stream.ts +658 -718
  442. package/src/services/tenant-custom-nameservers.ts +11 -11
  443. package/src/services/tenants.ts +86 -93
  444. package/src/services/token-validation.ts +145 -151
  445. package/src/services/turnstile.ts +344 -381
  446. package/src/services/url-normalization.ts +9 -9
  447. package/src/services/url-scanner.ts +393 -399
  448. package/src/services/user.ts +479 -503
  449. package/src/services/vectorize.ts +215 -230
  450. package/src/services/vulnerability-scanner.ts +145 -148
  451. package/src/services/waiting-rooms.ts +759 -825
  452. package/src/services/web3.ts +186 -197
  453. package/src/services/workers-for-platforms.ts +408 -432
  454. package/src/services/workers.ts +1175 -1239
  455. package/src/services/workflows.ts +585 -616
  456. package/src/services/zaraz.ts +168 -192
  457. package/src/services/zero-trust.ts +2965 -3074
  458. package/src/services/zones.ts +753 -785
@@ -120,7 +120,7 @@ interface GetDestinationPagerdutyResponseResult {
120
120
  name?: string | null;
121
121
  }
122
122
  const GetDestinationPagerdutyResponseResult =
123
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
123
+ /*@__PURE__*/ Schema.suspend(() =>
124
124
  Schema.Struct({
125
125
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
126
126
  name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -131,7 +131,7 @@ interface Error2 {
131
131
  message: string;
132
132
  code?: number | null;
133
133
  }
134
- const Error2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
134
+ const Error2 = /*@__PURE__*/ Schema.suspend(() =>
135
135
  Schema.Struct({
136
136
  message: Schema.String,
137
137
  code: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
@@ -165,7 +165,7 @@ interface ListDestinationWebhooksResponseResult {
165
165
  url?: string | null;
166
166
  }
167
167
  const ListDestinationWebhooksResponseResult =
168
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
168
+ /*@__PURE__*/ Schema.suspend(() =>
169
169
  Schema.Struct({
170
170
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
171
171
  createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -224,39 +224,38 @@ interface ListHistoriesResponseResult {
224
224
  /** Timestamp of when the notification was dispatched in ISO 8601 format. */
225
225
  sent?: string | null;
226
226
  }
227
- const ListHistoriesResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
228
- () =>
229
- Schema.Struct({
230
- id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
231
- alertBody: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
232
- alertType: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
233
- description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
234
- mechanism: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
235
- mechanismType: Schema.optional(
227
+ const ListHistoriesResponseResult = /*@__PURE__*/ Schema.suspend(() =>
228
+ Schema.Struct({
229
+ id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
230
+ alertBody: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
231
+ alertType: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
232
+ description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
233
+ mechanism: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
234
+ mechanismType: Schema.optional(
235
+ Schema.Union([
236
236
  Schema.Union([
237
- Schema.Union([
238
- Schema.Literals(["email", "pagerduty", "webhook"]),
239
- Schema.String,
240
- ]),
241
- Schema.Null,
237
+ Schema.Literals(["email", "pagerduty", "webhook"]),
238
+ Schema.String,
242
239
  ]),
243
- ),
244
- name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
245
- policyId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
246
- sent: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
247
- }).pipe(
248
- Schema.encodeKeys({
249
- id: "id",
250
- alertBody: "alert_body",
251
- alertType: "alert_type",
252
- description: "description",
253
- mechanism: "mechanism",
254
- mechanismType: "mechanism_type",
255
- name: "name",
256
- policyId: "policy_id",
257
- sent: "sent",
258
- }),
240
+ Schema.Null,
241
+ ]),
259
242
  ),
243
+ name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
244
+ policyId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
245
+ sent: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
246
+ }).pipe(
247
+ Schema.encodeKeys({
248
+ id: "id",
249
+ alertBody: "alert_body",
250
+ alertType: "alert_type",
251
+ description: "description",
252
+ mechanism: "mechanism",
253
+ mechanismType: "mechanism_type",
254
+ name: "name",
255
+ policyId: "policy_id",
256
+ sent: "sent",
257
+ }),
258
+ ),
260
259
  ) as unknown as Schema.Codec<ListHistoriesResponseResult>;
261
260
 
262
261
  interface ListHistoriesResponseResultInfo {
@@ -266,7 +265,7 @@ interface ListHistoriesResponseResultInfo {
266
265
  totalCount?: number | null;
267
266
  }
268
267
  const ListHistoriesResponseResultInfo =
269
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
268
+ /*@__PURE__*/ Schema.suspend(() =>
270
269
  Schema.Struct({
271
270
  count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
272
271
  page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
@@ -378,7 +377,7 @@ interface PolicyFilter {
378
377
  /** Usage depends on specific alert type */
379
378
  zones?: string[] | null;
380
379
  }
381
- const PolicyFilter = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
380
+ const PolicyFilter = /*@__PURE__*/ Schema.suspend(() =>
382
381
  Schema.Struct({
383
382
  actions: Schema.optional(
384
383
  Schema.Union([Schema.Array(Schema.String), Schema.Null]),
@@ -578,7 +577,7 @@ interface Email {
578
577
  /** The email address */
579
578
  id?: string | null;
580
579
  }
581
- const Email = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
580
+ const Email = /*@__PURE__*/ Schema.suspend(() =>
582
581
  Schema.Struct({
583
582
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
584
583
  }),
@@ -589,7 +588,7 @@ interface Mechanism {
589
588
  pagerduty?: { id?: string | null }[] | null;
590
589
  webhooks?: { id?: string | null }[] | null;
591
590
  }
592
- const Mechanism = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
591
+ const Mechanism = /*@__PURE__*/ Schema.suspend(() =>
593
592
  Schema.Struct({
594
593
  email: Schema.optional(Schema.Union([Schema.Array(Email), Schema.Null])),
595
594
  pagerduty: Schema.optional(
@@ -746,113 +745,110 @@ interface ListPoliciesResponseResult {
746
745
  /** Name of the policy. */
747
746
  name?: string | null;
748
747
  }
749
- const ListPoliciesResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
750
- () =>
751
- Schema.Struct({
752
- id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
753
- alertInterval: Schema.optional(
754
- Schema.Union([Schema.String, Schema.Null]),
755
- ),
756
- alertType: Schema.optional(
748
+ const ListPoliciesResponseResult = /*@__PURE__*/ Schema.suspend(() =>
749
+ Schema.Struct({
750
+ id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
751
+ alertInterval: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
752
+ alertType: Schema.optional(
753
+ Schema.Union([
757
754
  Schema.Union([
758
- Schema.Union([
759
- Schema.Literals([
760
- "abuse_report_alert",
761
- "access_custom_certificate_expiration_type",
762
- "advanced_ddos_attack_l4_alert",
763
- "advanced_ddos_attack_l7_alert",
764
- "advanced_http_alert_error",
765
- "bgp_hijack_notification",
766
- "billing_usage_alert",
767
- "block_notification_block_removed",
768
- "block_notification_new_block",
769
- "block_notification_review_rejected",
770
- "bot_traffic_basic_alert",
771
- "brand_protection_alert",
772
- "brand_protection_digest",
773
- "clickhouse_alert_fw_anomaly",
774
- "clickhouse_alert_fw_ent_anomaly",
775
- "cloudforce_one_request_notification",
776
- "cni_maintenance_notification",
777
- "custom_analytics",
778
- "custom_bot_detection_alert",
779
- "custom_ssl_certificate_event_type",
780
- "dedicated_ssl_certificate_event_type",
781
- "device_connectivity_anomaly_alert",
782
- "dos_attack_l4",
783
- "dos_attack_l7",
784
- "expiring_service_token_alert",
785
- "failing_logpush_job_disabled_alert",
786
- "fbm_auto_advertisement",
787
- "fbm_dosd_attack",
788
- "fbm_volumetric_attack",
789
- "health_check_status_notification",
790
- "hostname_aop_custom_certificate_expiration_type",
791
- "http_alert_edge_error",
792
- "http_alert_origin_error",
793
- "image_notification",
794
- "image_resizing_notification",
795
- "incident_alert",
796
- "load_balancing_health_alert",
797
- "load_balancing_pool_enablement_alert",
798
- "logo_match_alert",
799
- "magic_tunnel_health_check_event",
800
- "magic_wan_tunnel_health",
801
- "maintenance_event_notification",
802
- "mtls_certificate_store_certificate_expiration_type",
803
- "pages_event_alert",
804
- "radar_notification",
805
- "real_origin_monitoring",
806
- "scriptmonitor_alert_new_code_change_detections",
807
- "scriptmonitor_alert_new_hosts",
808
- "scriptmonitor_alert_new_malicious_hosts",
809
- "scriptmonitor_alert_new_malicious_scripts",
810
- "scriptmonitor_alert_new_malicious_url",
811
- "scriptmonitor_alert_new_max_length_resource_url",
812
- "scriptmonitor_alert_new_resources",
813
- "secondary_dns_all_primaries_failing",
814
- "secondary_dns_primaries_failing",
815
- "secondary_dns_warning",
816
- "secondary_dns_zone_successfully_updated",
817
- "secondary_dns_zone_validation_warning",
818
- "security_insights_alert",
819
- "sentinel_alert",
820
- "stream_live_notifications",
821
- "synthetic_test_latency_alert",
822
- "synthetic_test_low_availability_alert",
823
- "traffic_anomalies_alert",
824
- "tunnel_health_event",
825
- "tunnel_update_event",
826
- "universal_ssl_event_type",
827
- "web_analytics_metrics_update",
828
- "zone_aop_custom_certificate_expiration_type",
829
- ]),
830
- Schema.String,
755
+ Schema.Literals([
756
+ "abuse_report_alert",
757
+ "access_custom_certificate_expiration_type",
758
+ "advanced_ddos_attack_l4_alert",
759
+ "advanced_ddos_attack_l7_alert",
760
+ "advanced_http_alert_error",
761
+ "bgp_hijack_notification",
762
+ "billing_usage_alert",
763
+ "block_notification_block_removed",
764
+ "block_notification_new_block",
765
+ "block_notification_review_rejected",
766
+ "bot_traffic_basic_alert",
767
+ "brand_protection_alert",
768
+ "brand_protection_digest",
769
+ "clickhouse_alert_fw_anomaly",
770
+ "clickhouse_alert_fw_ent_anomaly",
771
+ "cloudforce_one_request_notification",
772
+ "cni_maintenance_notification",
773
+ "custom_analytics",
774
+ "custom_bot_detection_alert",
775
+ "custom_ssl_certificate_event_type",
776
+ "dedicated_ssl_certificate_event_type",
777
+ "device_connectivity_anomaly_alert",
778
+ "dos_attack_l4",
779
+ "dos_attack_l7",
780
+ "expiring_service_token_alert",
781
+ "failing_logpush_job_disabled_alert",
782
+ "fbm_auto_advertisement",
783
+ "fbm_dosd_attack",
784
+ "fbm_volumetric_attack",
785
+ "health_check_status_notification",
786
+ "hostname_aop_custom_certificate_expiration_type",
787
+ "http_alert_edge_error",
788
+ "http_alert_origin_error",
789
+ "image_notification",
790
+ "image_resizing_notification",
791
+ "incident_alert",
792
+ "load_balancing_health_alert",
793
+ "load_balancing_pool_enablement_alert",
794
+ "logo_match_alert",
795
+ "magic_tunnel_health_check_event",
796
+ "magic_wan_tunnel_health",
797
+ "maintenance_event_notification",
798
+ "mtls_certificate_store_certificate_expiration_type",
799
+ "pages_event_alert",
800
+ "radar_notification",
801
+ "real_origin_monitoring",
802
+ "scriptmonitor_alert_new_code_change_detections",
803
+ "scriptmonitor_alert_new_hosts",
804
+ "scriptmonitor_alert_new_malicious_hosts",
805
+ "scriptmonitor_alert_new_malicious_scripts",
806
+ "scriptmonitor_alert_new_malicious_url",
807
+ "scriptmonitor_alert_new_max_length_resource_url",
808
+ "scriptmonitor_alert_new_resources",
809
+ "secondary_dns_all_primaries_failing",
810
+ "secondary_dns_primaries_failing",
811
+ "secondary_dns_warning",
812
+ "secondary_dns_zone_successfully_updated",
813
+ "secondary_dns_zone_validation_warning",
814
+ "security_insights_alert",
815
+ "sentinel_alert",
816
+ "stream_live_notifications",
817
+ "synthetic_test_latency_alert",
818
+ "synthetic_test_low_availability_alert",
819
+ "traffic_anomalies_alert",
820
+ "tunnel_health_event",
821
+ "tunnel_update_event",
822
+ "universal_ssl_event_type",
823
+ "web_analytics_metrics_update",
824
+ "zone_aop_custom_certificate_expiration_type",
831
825
  ]),
832
- Schema.Null,
826
+ Schema.String,
833
827
  ]),
834
- ),
835
- created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
836
- description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
837
- enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
838
- filters: Schema.optional(Schema.Union([PolicyFilter, Schema.Null])),
839
- mechanisms: Schema.optional(Schema.Union([Mechanism, Schema.Null])),
840
- modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
841
- name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
842
- }).pipe(
843
- Schema.encodeKeys({
844
- id: "id",
845
- alertInterval: "alert_interval",
846
- alertType: "alert_type",
847
- created: "created",
848
- description: "description",
849
- enabled: "enabled",
850
- filters: "filters",
851
- mechanisms: "mechanisms",
852
- modified: "modified",
853
- name: "name",
854
- }),
828
+ Schema.Null,
829
+ ]),
855
830
  ),
831
+ created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
832
+ description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
833
+ enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
834
+ filters: Schema.optional(Schema.Union([PolicyFilter, Schema.Null])),
835
+ mechanisms: Schema.optional(Schema.Union([Mechanism, Schema.Null])),
836
+ modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
837
+ name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
838
+ }).pipe(
839
+ Schema.encodeKeys({
840
+ id: "id",
841
+ alertInterval: "alert_interval",
842
+ alertType: "alert_type",
843
+ created: "created",
844
+ description: "description",
845
+ enabled: "enabled",
846
+ filters: "filters",
847
+ mechanisms: "mechanisms",
848
+ modified: "modified",
849
+ name: "name",
850
+ }),
851
+ ),
856
852
  ) as unknown as Schema.Codec<ListPoliciesResponseResult>;
857
853
 
858
854
  interface ListSilencesResponseResult {
@@ -869,25 +865,24 @@ interface ListSilencesResponseResult {
869
865
  /** When the silence was modified. */
870
866
  updatedAt?: string | null;
871
867
  }
872
- const ListSilencesResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
873
- () =>
874
- Schema.Struct({
875
- id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
876
- createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
877
- endTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
878
- policyId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
879
- startTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
880
- updatedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
881
- }).pipe(
882
- Schema.encodeKeys({
883
- id: "id",
884
- createdAt: "created_at",
885
- endTime: "end_time",
886
- policyId: "policy_id",
887
- startTime: "start_time",
888
- updatedAt: "updated_at",
889
- }),
890
- ),
868
+ const ListSilencesResponseResult = /*@__PURE__*/ Schema.suspend(() =>
869
+ Schema.Struct({
870
+ id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
871
+ createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
872
+ endTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
873
+ policyId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
874
+ startTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
875
+ updatedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
876
+ }).pipe(
877
+ Schema.encodeKeys({
878
+ id: "id",
879
+ createdAt: "created_at",
880
+ endTime: "end_time",
881
+ policyId: "policy_id",
882
+ startTime: "start_time",
883
+ updatedAt: "updated_at",
884
+ }),
885
+ ),
891
886
  ) as unknown as Schema.Codec<ListSilencesResponseResult>;
892
887
 
893
888
  interface Body {
@@ -898,7 +893,7 @@ interface Body {
898
893
  /** When the silence starts. */
899
894
  startTime?: string | null;
900
895
  }
901
- const Body = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
896
+ const Body = /*@__PURE__*/ Schema.suspend(() =>
902
897
  Schema.Struct({
903
898
  endTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
904
899
  policyId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -920,7 +915,7 @@ interface Body2 {
920
915
  /** When the silence starts. */
921
916
  startTime?: string | null;
922
917
  }
923
- const Body2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
918
+ const Body2 = /*@__PURE__*/ Schema.suspend(() =>
924
919
  Schema.Struct({
925
920
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
926
921
  endTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -944,7 +939,7 @@ export interface ListAvailableAlertsRequest {
944
939
  }
945
940
 
946
941
  export const ListAvailableAlertsRequest =
947
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
942
+ /*@__PURE__*/ Schema.suspend(() =>
948
943
  Schema.Struct({
949
944
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
950
945
  }).pipe(
@@ -958,7 +953,7 @@ export const ListAvailableAlertsRequest =
958
953
  export type ListAvailableAlertsResponse = Record<string, unknown>;
959
954
 
960
955
  export const ListAvailableAlertsResponse =
961
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
956
+ /*@__PURE__*/ Schema.suspend(() =>
962
957
  Schema.Record(Schema.String, Schema.Unknown).pipe(T.ResponsePath("result")),
963
958
  ) as unknown as Schema.Codec<ListAvailableAlertsResponse>;
964
959
 
@@ -969,7 +964,7 @@ export const listAvailableAlerts: API.OperationMethod<
969
964
  ListAvailableAlertsResponse,
970
965
  ListAvailableAlertsError,
971
966
  Credentials | HttpClient.HttpClient
972
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
967
+ > = /*@__PURE__*/ API.make(() => ({
973
968
  input: ListAvailableAlertsRequest,
974
969
  output: ListAvailableAlertsResponse,
975
970
  errors: [InvalidRoute],
@@ -985,7 +980,7 @@ export interface GetDestinationEligibleRequest {
985
980
  }
986
981
 
987
982
  export const GetDestinationEligibleRequest =
988
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
983
+ /*@__PURE__*/ Schema.suspend(() =>
989
984
  Schema.Struct({
990
985
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
991
986
  }).pipe(
@@ -999,7 +994,7 @@ export const GetDestinationEligibleRequest =
999
994
  export type GetDestinationEligibleResponse = Record<string, unknown>;
1000
995
 
1001
996
  export const GetDestinationEligibleResponse =
1002
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
997
+ /*@__PURE__*/ Schema.suspend(() =>
1003
998
  Schema.Record(Schema.String, Schema.Unknown).pipe(T.ResponsePath("result")),
1004
999
  ) as unknown as Schema.Codec<GetDestinationEligibleResponse>;
1005
1000
 
@@ -1010,7 +1005,7 @@ export const getDestinationEligible: API.OperationMethod<
1010
1005
  GetDestinationEligibleResponse,
1011
1006
  GetDestinationEligibleError,
1012
1007
  Credentials | HttpClient.HttpClient
1013
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1008
+ > = /*@__PURE__*/ API.make(() => ({
1014
1009
  input: GetDestinationEligibleRequest,
1015
1010
  output: GetDestinationEligibleResponse,
1016
1011
  errors: [InvalidRoute],
@@ -1026,7 +1021,7 @@ export interface GetDestinationPagerdutyRequest {
1026
1021
  }
1027
1022
 
1028
1023
  export const GetDestinationPagerdutyRequest =
1029
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1024
+ /*@__PURE__*/ Schema.suspend(() =>
1030
1025
  Schema.Struct({
1031
1026
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1032
1027
  }).pipe(
@@ -1042,7 +1037,7 @@ export interface GetDestinationPagerdutyResponse {
1042
1037
  }
1043
1038
 
1044
1039
  export const GetDestinationPagerdutyResponse =
1045
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1040
+ /*@__PURE__*/ Schema.suspend(() =>
1046
1041
  Schema.Struct({
1047
1042
  result: Schema.Array(GetDestinationPagerdutyResponseResult),
1048
1043
  }),
@@ -1055,7 +1050,7 @@ export const getDestinationPagerduty: API.PaginatedOperationMethod<
1055
1050
  GetDestinationPagerdutyResponse,
1056
1051
  GetDestinationPagerdutyError,
1057
1052
  Credentials | HttpClient.HttpClient
1058
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
1053
+ > = /*@__PURE__*/ API.makePaginated(() => ({
1059
1054
  input: GetDestinationPagerdutyRequest,
1060
1055
  output: GetDestinationPagerdutyResponse,
1061
1056
  errors: [],
@@ -1071,7 +1066,7 @@ export interface CreateDestinationPagerdutyRequest {
1071
1066
  }
1072
1067
 
1073
1068
  export const CreateDestinationPagerdutyRequest =
1074
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1069
+ /*@__PURE__*/ Schema.suspend(() =>
1075
1070
  Schema.Struct({
1076
1071
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1077
1072
  }).pipe(
@@ -1088,7 +1083,7 @@ export interface CreateDestinationPagerdutyResponse {
1088
1083
  }
1089
1084
 
1090
1085
  export const CreateDestinationPagerdutyResponse =
1091
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1086
+ /*@__PURE__*/ Schema.suspend(() =>
1092
1087
  Schema.Struct({
1093
1088
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1094
1089
  }).pipe(T.ResponsePath("result")),
@@ -1101,7 +1096,7 @@ export const createDestinationPagerduty: API.OperationMethod<
1101
1096
  CreateDestinationPagerdutyResponse,
1102
1097
  CreateDestinationPagerdutyError,
1103
1098
  Credentials | HttpClient.HttpClient
1104
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1099
+ > = /*@__PURE__*/ API.make(() => ({
1105
1100
  input: CreateDestinationPagerdutyRequest,
1106
1101
  output: CreateDestinationPagerdutyResponse,
1107
1102
  errors: [InvalidRoute],
@@ -1113,7 +1108,7 @@ export interface DeleteDestinationPagerdutyRequest {
1113
1108
  }
1114
1109
 
1115
1110
  export const DeleteDestinationPagerdutyRequest =
1116
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1111
+ /*@__PURE__*/ Schema.suspend(() =>
1117
1112
  Schema.Struct({
1118
1113
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1119
1114
  }).pipe(
@@ -1132,7 +1127,7 @@ export interface DeleteDestinationPagerdutyResponse {
1132
1127
  }
1133
1128
 
1134
1129
  export const DeleteDestinationPagerdutyResponse =
1135
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1130
+ /*@__PURE__*/ Schema.suspend(() =>
1136
1131
  Schema.Struct({
1137
1132
  errors: Schema.Array(Error2),
1138
1133
  messages: Schema.Array(Error2),
@@ -1147,7 +1142,7 @@ export const deleteDestinationPagerduty: API.OperationMethod<
1147
1142
  DeleteDestinationPagerdutyResponse,
1148
1143
  DeleteDestinationPagerdutyError,
1149
1144
  Credentials | HttpClient.HttpClient
1150
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1145
+ > = /*@__PURE__*/ API.make(() => ({
1151
1146
  input: DeleteDestinationPagerdutyRequest,
1152
1147
  output: DeleteDestinationPagerdutyResponse,
1153
1148
  errors: [InvalidRoute],
@@ -1160,7 +1155,7 @@ export interface LinkDestinationPagerdutyRequest {
1160
1155
  }
1161
1156
 
1162
1157
  export const LinkDestinationPagerdutyRequest =
1163
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1158
+ /*@__PURE__*/ Schema.suspend(() =>
1164
1159
  Schema.Struct({
1165
1160
  tokenId: Schema.String.pipe(T.HttpPath("tokenId")),
1166
1161
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -1178,7 +1173,7 @@ export interface LinkDestinationPagerdutyResponse {
1178
1173
  }
1179
1174
 
1180
1175
  export const LinkDestinationPagerdutyResponse =
1181
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1176
+ /*@__PURE__*/ Schema.suspend(() =>
1182
1177
  Schema.Struct({
1183
1178
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1184
1179
  }).pipe(T.ResponsePath("result")),
@@ -1191,7 +1186,7 @@ export const linkDestinationPagerduty: API.OperationMethod<
1191
1186
  LinkDestinationPagerdutyResponse,
1192
1187
  LinkDestinationPagerdutyError,
1193
1188
  Credentials | HttpClient.HttpClient
1194
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1189
+ > = /*@__PURE__*/ API.make(() => ({
1195
1190
  input: LinkDestinationPagerdutyRequest,
1196
1191
  output: LinkDestinationPagerdutyResponse,
1197
1192
  errors: [InvalidRoute],
@@ -1208,7 +1203,7 @@ export interface GetDestinationWebhookRequest {
1208
1203
  }
1209
1204
 
1210
1205
  export const GetDestinationWebhookRequest =
1211
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1206
+ /*@__PURE__*/ Schema.suspend(() =>
1212
1207
  Schema.Struct({
1213
1208
  webhookId: Schema.String.pipe(T.HttpPath("webhookId")),
1214
1209
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -1248,7 +1243,7 @@ export interface GetDestinationWebhookResponse {
1248
1243
  }
1249
1244
 
1250
1245
  export const GetDestinationWebhookResponse =
1251
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1246
+ /*@__PURE__*/ Schema.suspend(() =>
1252
1247
  Schema.Struct({
1253
1248
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1254
1249
  createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -1299,7 +1294,7 @@ export const getDestinationWebhook: API.OperationMethod<
1299
1294
  GetDestinationWebhookResponse,
1300
1295
  GetDestinationWebhookError,
1301
1296
  Credentials | HttpClient.HttpClient
1302
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1297
+ > = /*@__PURE__*/ API.make(() => ({
1303
1298
  input: GetDestinationWebhookRequest,
1304
1299
  output: GetDestinationWebhookResponse,
1305
1300
  errors: [InvalidRoute, WebhookNotFound],
@@ -1311,7 +1306,7 @@ export interface ListDestinationWebhooksRequest {
1311
1306
  }
1312
1307
 
1313
1308
  export const ListDestinationWebhooksRequest =
1314
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1309
+ /*@__PURE__*/ Schema.suspend(() =>
1315
1310
  Schema.Struct({
1316
1311
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1317
1312
  }).pipe(
@@ -1345,7 +1340,7 @@ export interface ListDestinationWebhooksResponse {
1345
1340
  }
1346
1341
 
1347
1342
  export const ListDestinationWebhooksResponse =
1348
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1343
+ /*@__PURE__*/ Schema.suspend(() =>
1349
1344
  Schema.Struct({
1350
1345
  result: Schema.Array(ListDestinationWebhooksResponseResult),
1351
1346
  }),
@@ -1358,7 +1353,7 @@ export const listDestinationWebhooks: API.PaginatedOperationMethod<
1358
1353
  ListDestinationWebhooksResponse,
1359
1354
  ListDestinationWebhooksError,
1360
1355
  Credentials | HttpClient.HttpClient
1361
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
1356
+ > = /*@__PURE__*/ API.makePaginated(() => ({
1362
1357
  input: ListDestinationWebhooksRequest,
1363
1358
  output: ListDestinationWebhooksResponse,
1364
1359
  errors: [],
@@ -1380,7 +1375,7 @@ export interface CreateDestinationWebhookRequest {
1380
1375
  }
1381
1376
 
1382
1377
  export const CreateDestinationWebhookRequest =
1383
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1378
+ /*@__PURE__*/ Schema.suspend(() =>
1384
1379
  Schema.Struct({
1385
1380
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1386
1381
  name: Schema.String,
@@ -1400,7 +1395,7 @@ export interface CreateDestinationWebhookResponse {
1400
1395
  }
1401
1396
 
1402
1397
  export const CreateDestinationWebhookResponse =
1403
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1398
+ /*@__PURE__*/ Schema.suspend(() =>
1404
1399
  Schema.Struct({
1405
1400
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1406
1401
  }).pipe(T.ResponsePath("result")),
@@ -1416,7 +1411,7 @@ export const createDestinationWebhook: API.OperationMethod<
1416
1411
  CreateDestinationWebhookResponse,
1417
1412
  CreateDestinationWebhookError,
1418
1413
  Credentials | HttpClient.HttpClient
1419
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1414
+ > = /*@__PURE__*/ API.make(() => ({
1420
1415
  input: CreateDestinationWebhookRequest,
1421
1416
  output: CreateDestinationWebhookResponse,
1422
1417
  errors: [InvalidRoute, WebhookTestFailed],
@@ -1435,7 +1430,7 @@ export interface UpdateDestinationWebhookRequest {
1435
1430
  }
1436
1431
 
1437
1432
  export const UpdateDestinationWebhookRequest =
1438
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1433
+ /*@__PURE__*/ Schema.suspend(() =>
1439
1434
  Schema.Struct({
1440
1435
  webhookId: Schema.String.pipe(T.HttpPath("webhookId")),
1441
1436
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -1456,7 +1451,7 @@ export interface UpdateDestinationWebhookResponse {
1456
1451
  }
1457
1452
 
1458
1453
  export const UpdateDestinationWebhookResponse =
1459
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1454
+ /*@__PURE__*/ Schema.suspend(() =>
1460
1455
  Schema.Struct({
1461
1456
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1462
1457
  }).pipe(T.ResponsePath("result")),
@@ -1473,7 +1468,7 @@ export const updateDestinationWebhook: API.OperationMethod<
1473
1468
  UpdateDestinationWebhookResponse,
1474
1469
  UpdateDestinationWebhookError,
1475
1470
  Credentials | HttpClient.HttpClient
1476
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1471
+ > = /*@__PURE__*/ API.make(() => ({
1477
1472
  input: UpdateDestinationWebhookRequest,
1478
1473
  output: UpdateDestinationWebhookResponse,
1479
1474
  errors: [InvalidRoute, InvalidWebhookId, WebhookTestFailed],
@@ -1486,7 +1481,7 @@ export interface DeleteDestinationWebhookRequest {
1486
1481
  }
1487
1482
 
1488
1483
  export const DeleteDestinationWebhookRequest =
1489
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1484
+ /*@__PURE__*/ Schema.suspend(() =>
1490
1485
  Schema.Struct({
1491
1486
  webhookId: Schema.String.pipe(T.HttpPath("webhookId")),
1492
1487
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -1506,7 +1501,7 @@ export interface DeleteDestinationWebhookResponse {
1506
1501
  }
1507
1502
 
1508
1503
  export const DeleteDestinationWebhookResponse =
1509
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1504
+ /*@__PURE__*/ Schema.suspend(() =>
1510
1505
  Schema.Struct({
1511
1506
  errors: Schema.Array(Error2),
1512
1507
  messages: Schema.Array(Error2),
@@ -1524,7 +1519,7 @@ export const deleteDestinationWebhook: API.OperationMethod<
1524
1519
  DeleteDestinationWebhookResponse,
1525
1520
  DeleteDestinationWebhookError,
1526
1521
  Credentials | HttpClient.HttpClient
1527
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1522
+ > = /*@__PURE__*/ API.make(() => ({
1528
1523
  input: DeleteDestinationWebhookRequest,
1529
1524
  output: DeleteDestinationWebhookResponse,
1530
1525
  errors: [InvalidRoute, InternalServerError],
@@ -1545,20 +1540,19 @@ export interface ListHistoriesRequest {
1545
1540
  since?: string;
1546
1541
  }
1547
1542
 
1548
- export const ListHistoriesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1549
- () =>
1550
- Schema.Struct({
1551
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
1552
- page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
1553
- perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
1554
- before: Schema.optional(Schema.String).pipe(T.HttpQuery("before")),
1555
- since: Schema.optional(Schema.String).pipe(T.HttpQuery("since")),
1556
- }).pipe(
1557
- T.Http({
1558
- method: "GET",
1559
- path: "/accounts/{account_id}/alerting/v3/history",
1560
- }),
1561
- ),
1543
+ export const ListHistoriesRequest = /*@__PURE__*/ Schema.suspend(() =>
1544
+ Schema.Struct({
1545
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
1546
+ page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
1547
+ perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
1548
+ before: Schema.optional(Schema.String).pipe(T.HttpQuery("before")),
1549
+ since: Schema.optional(Schema.String).pipe(T.HttpQuery("since")),
1550
+ }).pipe(
1551
+ T.Http({
1552
+ method: "GET",
1553
+ path: "/accounts/{account_id}/alerting/v3/history",
1554
+ }),
1555
+ ),
1562
1556
  ) as unknown as Schema.Codec<ListHistoriesRequest>;
1563
1557
 
1564
1558
  export interface ListHistoriesResponse {
@@ -1581,14 +1575,13 @@ export interface ListHistoriesResponse {
1581
1575
  } | null;
1582
1576
  }
1583
1577
 
1584
- export const ListHistoriesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1585
- () =>
1586
- Schema.Struct({
1587
- result: Schema.Array(ListHistoriesResponseResult),
1588
- resultInfo: Schema.optional(
1589
- Schema.Union([ListHistoriesResponseResultInfo, Schema.Null]),
1590
- ),
1591
- }).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })),
1578
+ export const ListHistoriesResponse = /*@__PURE__*/ Schema.suspend(() =>
1579
+ Schema.Struct({
1580
+ result: Schema.Array(ListHistoriesResponseResult),
1581
+ resultInfo: Schema.optional(
1582
+ Schema.Union([ListHistoriesResponseResultInfo, Schema.Null]),
1583
+ ),
1584
+ }).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })),
1592
1585
  ) as unknown as Schema.Codec<ListHistoriesResponse>;
1593
1586
 
1594
1587
  export type ListHistoriesError = DefaultErrors;
@@ -1598,7 +1591,7 @@ export const listHistories: API.PaginatedOperationMethod<
1598
1591
  ListHistoriesResponse,
1599
1592
  ListHistoriesError,
1600
1593
  Credentials | HttpClient.HttpClient
1601
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
1594
+ > = /*@__PURE__*/ API.makePaginated(() => ({
1602
1595
  input: ListHistoriesRequest,
1603
1596
  output: ListHistoriesResponse,
1604
1597
  errors: [],
@@ -1621,7 +1614,7 @@ export interface GetPolicyRequest {
1621
1614
  accountId: string;
1622
1615
  }
1623
1616
 
1624
- export const GetPolicyRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1617
+ export const GetPolicyRequest = /*@__PURE__*/ Schema.suspend(() =>
1625
1618
  Schema.Struct({
1626
1619
  policyId: Schema.String.pipe(T.HttpPath("policyId")),
1627
1620
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -1781,174 +1774,170 @@ export interface GetPolicyResponse {
1781
1774
  name?: string | null;
1782
1775
  }
1783
1776
 
1784
- export const GetPolicyResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1785
- () =>
1786
- Schema.Struct({
1787
- id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1788
- alertInterval: Schema.optional(
1789
- Schema.Union([Schema.String, Schema.Null]),
1790
- ),
1791
- alertType: Schema.optional(
1777
+ export const GetPolicyResponse = /*@__PURE__*/ Schema.suspend(() =>
1778
+ Schema.Struct({
1779
+ id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1780
+ alertInterval: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1781
+ alertType: Schema.optional(
1782
+ Schema.Union([
1792
1783
  Schema.Union([
1793
- Schema.Union([
1794
- Schema.Literals([
1795
- "abuse_report_alert",
1796
- "access_custom_certificate_expiration_type",
1797
- "advanced_ddos_attack_l4_alert",
1798
- "advanced_ddos_attack_l7_alert",
1799
- "advanced_http_alert_error",
1800
- "bgp_hijack_notification",
1801
- "billing_usage_alert",
1802
- "block_notification_block_removed",
1803
- "block_notification_new_block",
1804
- "block_notification_review_rejected",
1805
- "bot_traffic_basic_alert",
1806
- "brand_protection_alert",
1807
- "brand_protection_digest",
1808
- "clickhouse_alert_fw_anomaly",
1809
- "clickhouse_alert_fw_ent_anomaly",
1810
- "cloudforce_one_request_notification",
1811
- "cni_maintenance_notification",
1812
- "custom_analytics",
1813
- "custom_bot_detection_alert",
1814
- "custom_ssl_certificate_event_type",
1815
- "dedicated_ssl_certificate_event_type",
1816
- "device_connectivity_anomaly_alert",
1817
- "dos_attack_l4",
1818
- "dos_attack_l7",
1819
- "expiring_service_token_alert",
1820
- "failing_logpush_job_disabled_alert",
1821
- "fbm_auto_advertisement",
1822
- "fbm_dosd_attack",
1823
- "fbm_volumetric_attack",
1824
- "health_check_status_notification",
1825
- "hostname_aop_custom_certificate_expiration_type",
1826
- "http_alert_edge_error",
1827
- "http_alert_origin_error",
1828
- "image_notification",
1829
- "image_resizing_notification",
1830
- "incident_alert",
1831
- "load_balancing_health_alert",
1832
- "load_balancing_pool_enablement_alert",
1833
- "logo_match_alert",
1834
- "magic_tunnel_health_check_event",
1835
- "magic_wan_tunnel_health",
1836
- "maintenance_event_notification",
1837
- "mtls_certificate_store_certificate_expiration_type",
1838
- "pages_event_alert",
1839
- "radar_notification",
1840
- "real_origin_monitoring",
1841
- "scriptmonitor_alert_new_code_change_detections",
1842
- "scriptmonitor_alert_new_hosts",
1843
- "scriptmonitor_alert_new_malicious_hosts",
1844
- "scriptmonitor_alert_new_malicious_scripts",
1845
- "scriptmonitor_alert_new_malicious_url",
1846
- "scriptmonitor_alert_new_max_length_resource_url",
1847
- "scriptmonitor_alert_new_resources",
1848
- "secondary_dns_all_primaries_failing",
1849
- "secondary_dns_primaries_failing",
1850
- "secondary_dns_warning",
1851
- "secondary_dns_zone_successfully_updated",
1852
- "secondary_dns_zone_validation_warning",
1853
- "security_insights_alert",
1854
- "sentinel_alert",
1855
- "stream_live_notifications",
1856
- "synthetic_test_latency_alert",
1857
- "synthetic_test_low_availability_alert",
1858
- "traffic_anomalies_alert",
1859
- "tunnel_health_event",
1860
- "tunnel_update_event",
1861
- "universal_ssl_event_type",
1862
- "web_analytics_metrics_update",
1863
- "zone_aop_custom_certificate_expiration_type",
1864
- ]),
1865
- Schema.String,
1866
- ]),
1867
- Schema.Null,
1868
- ]),
1869
- ),
1870
- created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1871
- description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1872
- enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1873
- filters: Schema.optional(Schema.Union([PolicyFilter, Schema.Null])),
1874
- mechanisms: Schema.optional(Schema.Union([Mechanism, Schema.Null])),
1875
- modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1876
- name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1877
- })
1878
- .pipe(
1879
- Schema.encodeKeys({
1880
- id: "id",
1881
- alertInterval: "alert_interval",
1882
- alertType: "alert_type",
1883
- created: "created",
1884
- description: "description",
1885
- enabled: "enabled",
1886
- filters: "filters",
1887
- mechanisms: "mechanisms",
1888
- modified: "modified",
1889
- name: "name",
1890
- }),
1891
- )
1892
- .pipe(T.ResponsePath("result")),
1893
- ) as unknown as Schema.Codec<GetPolicyResponse>;
1894
-
1895
- export type GetPolicyError = DefaultErrors | InvalidRoute | PolicyNotFound;
1896
-
1897
- export const getPolicy: API.OperationMethod<
1898
- GetPolicyRequest,
1899
- GetPolicyResponse,
1900
- GetPolicyError,
1901
- Credentials | HttpClient.HttpClient
1902
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1903
- input: GetPolicyRequest,
1904
- output: GetPolicyResponse,
1905
- errors: [InvalidRoute, PolicyNotFound],
1906
- }));
1907
-
1908
- export interface ListPoliciesRequest {
1909
- /** The account id */
1910
- accountId: string;
1911
- }
1912
-
1913
- export const ListPoliciesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1914
- () =>
1915
- Schema.Struct({
1916
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
1917
- }).pipe(
1918
- T.Http({
1919
- method: "GET",
1920
- path: "/accounts/{account_id}/alerting/v3/policies",
1921
- }),
1922
- ),
1923
- ) as unknown as Schema.Codec<ListPoliciesRequest>;
1924
-
1925
- export interface ListPoliciesResponse {
1926
- result: {
1927
- id?: string | null;
1928
- alertInterval?: string | null;
1929
- alertType?:
1930
- | "abuse_report_alert"
1931
- | "access_custom_certificate_expiration_type"
1932
- | "advanced_ddos_attack_l4_alert"
1933
- | "advanced_ddos_attack_l7_alert"
1934
- | "advanced_http_alert_error"
1935
- | "bgp_hijack_notification"
1936
- | "billing_usage_alert"
1937
- | "block_notification_block_removed"
1938
- | "block_notification_new_block"
1939
- | "block_notification_review_rejected"
1940
- | "bot_traffic_basic_alert"
1941
- | "brand_protection_alert"
1942
- | "brand_protection_digest"
1943
- | "clickhouse_alert_fw_anomaly"
1944
- | "clickhouse_alert_fw_ent_anomaly"
1945
- | "cloudforce_one_request_notification"
1946
- | "cni_maintenance_notification"
1947
- | "custom_analytics"
1948
- | "custom_bot_detection_alert"
1949
- | "custom_ssl_certificate_event_type"
1950
- | "dedicated_ssl_certificate_event_type"
1951
- | "device_connectivity_anomaly_alert"
1784
+ Schema.Literals([
1785
+ "abuse_report_alert",
1786
+ "access_custom_certificate_expiration_type",
1787
+ "advanced_ddos_attack_l4_alert",
1788
+ "advanced_ddos_attack_l7_alert",
1789
+ "advanced_http_alert_error",
1790
+ "bgp_hijack_notification",
1791
+ "billing_usage_alert",
1792
+ "block_notification_block_removed",
1793
+ "block_notification_new_block",
1794
+ "block_notification_review_rejected",
1795
+ "bot_traffic_basic_alert",
1796
+ "brand_protection_alert",
1797
+ "brand_protection_digest",
1798
+ "clickhouse_alert_fw_anomaly",
1799
+ "clickhouse_alert_fw_ent_anomaly",
1800
+ "cloudforce_one_request_notification",
1801
+ "cni_maintenance_notification",
1802
+ "custom_analytics",
1803
+ "custom_bot_detection_alert",
1804
+ "custom_ssl_certificate_event_type",
1805
+ "dedicated_ssl_certificate_event_type",
1806
+ "device_connectivity_anomaly_alert",
1807
+ "dos_attack_l4",
1808
+ "dos_attack_l7",
1809
+ "expiring_service_token_alert",
1810
+ "failing_logpush_job_disabled_alert",
1811
+ "fbm_auto_advertisement",
1812
+ "fbm_dosd_attack",
1813
+ "fbm_volumetric_attack",
1814
+ "health_check_status_notification",
1815
+ "hostname_aop_custom_certificate_expiration_type",
1816
+ "http_alert_edge_error",
1817
+ "http_alert_origin_error",
1818
+ "image_notification",
1819
+ "image_resizing_notification",
1820
+ "incident_alert",
1821
+ "load_balancing_health_alert",
1822
+ "load_balancing_pool_enablement_alert",
1823
+ "logo_match_alert",
1824
+ "magic_tunnel_health_check_event",
1825
+ "magic_wan_tunnel_health",
1826
+ "maintenance_event_notification",
1827
+ "mtls_certificate_store_certificate_expiration_type",
1828
+ "pages_event_alert",
1829
+ "radar_notification",
1830
+ "real_origin_monitoring",
1831
+ "scriptmonitor_alert_new_code_change_detections",
1832
+ "scriptmonitor_alert_new_hosts",
1833
+ "scriptmonitor_alert_new_malicious_hosts",
1834
+ "scriptmonitor_alert_new_malicious_scripts",
1835
+ "scriptmonitor_alert_new_malicious_url",
1836
+ "scriptmonitor_alert_new_max_length_resource_url",
1837
+ "scriptmonitor_alert_new_resources",
1838
+ "secondary_dns_all_primaries_failing",
1839
+ "secondary_dns_primaries_failing",
1840
+ "secondary_dns_warning",
1841
+ "secondary_dns_zone_successfully_updated",
1842
+ "secondary_dns_zone_validation_warning",
1843
+ "security_insights_alert",
1844
+ "sentinel_alert",
1845
+ "stream_live_notifications",
1846
+ "synthetic_test_latency_alert",
1847
+ "synthetic_test_low_availability_alert",
1848
+ "traffic_anomalies_alert",
1849
+ "tunnel_health_event",
1850
+ "tunnel_update_event",
1851
+ "universal_ssl_event_type",
1852
+ "web_analytics_metrics_update",
1853
+ "zone_aop_custom_certificate_expiration_type",
1854
+ ]),
1855
+ Schema.String,
1856
+ ]),
1857
+ Schema.Null,
1858
+ ]),
1859
+ ),
1860
+ created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1861
+ description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1862
+ enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1863
+ filters: Schema.optional(Schema.Union([PolicyFilter, Schema.Null])),
1864
+ mechanisms: Schema.optional(Schema.Union([Mechanism, Schema.Null])),
1865
+ modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1866
+ name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1867
+ })
1868
+ .pipe(
1869
+ Schema.encodeKeys({
1870
+ id: "id",
1871
+ alertInterval: "alert_interval",
1872
+ alertType: "alert_type",
1873
+ created: "created",
1874
+ description: "description",
1875
+ enabled: "enabled",
1876
+ filters: "filters",
1877
+ mechanisms: "mechanisms",
1878
+ modified: "modified",
1879
+ name: "name",
1880
+ }),
1881
+ )
1882
+ .pipe(T.ResponsePath("result")),
1883
+ ) as unknown as Schema.Codec<GetPolicyResponse>;
1884
+
1885
+ export type GetPolicyError = DefaultErrors | InvalidRoute | PolicyNotFound;
1886
+
1887
+ export const getPolicy: API.OperationMethod<
1888
+ GetPolicyRequest,
1889
+ GetPolicyResponse,
1890
+ GetPolicyError,
1891
+ Credentials | HttpClient.HttpClient
1892
+ > = /*@__PURE__*/ API.make(() => ({
1893
+ input: GetPolicyRequest,
1894
+ output: GetPolicyResponse,
1895
+ errors: [InvalidRoute, PolicyNotFound],
1896
+ }));
1897
+
1898
+ export interface ListPoliciesRequest {
1899
+ /** The account id */
1900
+ accountId: string;
1901
+ }
1902
+
1903
+ export const ListPoliciesRequest = /*@__PURE__*/ Schema.suspend(() =>
1904
+ Schema.Struct({
1905
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
1906
+ }).pipe(
1907
+ T.Http({
1908
+ method: "GET",
1909
+ path: "/accounts/{account_id}/alerting/v3/policies",
1910
+ }),
1911
+ ),
1912
+ ) as unknown as Schema.Codec<ListPoliciesRequest>;
1913
+
1914
+ export interface ListPoliciesResponse {
1915
+ result: {
1916
+ id?: string | null;
1917
+ alertInterval?: string | null;
1918
+ alertType?:
1919
+ | "abuse_report_alert"
1920
+ | "access_custom_certificate_expiration_type"
1921
+ | "advanced_ddos_attack_l4_alert"
1922
+ | "advanced_ddos_attack_l7_alert"
1923
+ | "advanced_http_alert_error"
1924
+ | "bgp_hijack_notification"
1925
+ | "billing_usage_alert"
1926
+ | "block_notification_block_removed"
1927
+ | "block_notification_new_block"
1928
+ | "block_notification_review_rejected"
1929
+ | "bot_traffic_basic_alert"
1930
+ | "brand_protection_alert"
1931
+ | "brand_protection_digest"
1932
+ | "clickhouse_alert_fw_anomaly"
1933
+ | "clickhouse_alert_fw_ent_anomaly"
1934
+ | "cloudforce_one_request_notification"
1935
+ | "cni_maintenance_notification"
1936
+ | "custom_analytics"
1937
+ | "custom_bot_detection_alert"
1938
+ | "custom_ssl_certificate_event_type"
1939
+ | "dedicated_ssl_certificate_event_type"
1940
+ | "device_connectivity_anomaly_alert"
1952
1941
  | "dos_attack_l4"
1953
1942
  | "dos_attack_l7"
1954
1943
  | "expiring_service_token_alert"
@@ -2064,11 +2053,10 @@ export interface ListPoliciesResponse {
2064
2053
  }[];
2065
2054
  }
2066
2055
 
2067
- export const ListPoliciesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2068
- () =>
2069
- Schema.Struct({
2070
- result: Schema.Array(ListPoliciesResponseResult),
2071
- }),
2056
+ export const ListPoliciesResponse = /*@__PURE__*/ Schema.suspend(() =>
2057
+ Schema.Struct({
2058
+ result: Schema.Array(ListPoliciesResponseResult),
2059
+ }),
2072
2060
  ) as unknown as Schema.Codec<ListPoliciesResponse>;
2073
2061
 
2074
2062
  export type ListPoliciesError = DefaultErrors;
@@ -2078,7 +2066,7 @@ export const listPolicies: API.PaginatedOperationMethod<
2078
2066
  ListPoliciesResponse,
2079
2067
  ListPoliciesError,
2080
2068
  Credentials | HttpClient.HttpClient
2081
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
2069
+ > = /*@__PURE__*/ API.makePaginated(() => ({
2082
2070
  input: ListPoliciesRequest,
2083
2071
  output: ListPoliciesResponse,
2084
2072
  errors: [],
@@ -2231,105 +2219,104 @@ export interface CreatePolicyRequest {
2231
2219
  };
2232
2220
  }
2233
2221
 
2234
- export const CreatePolicyRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2235
- () =>
2236
- Schema.Struct({
2237
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
2238
- alertType: Schema.Union([
2239
- Schema.Literals([
2240
- "abuse_report_alert",
2241
- "access_custom_certificate_expiration_type",
2242
- "advanced_ddos_attack_l4_alert",
2243
- "advanced_ddos_attack_l7_alert",
2244
- "advanced_http_alert_error",
2245
- "bgp_hijack_notification",
2246
- "billing_usage_alert",
2247
- "block_notification_block_removed",
2248
- "block_notification_new_block",
2249
- "block_notification_review_rejected",
2250
- "bot_traffic_basic_alert",
2251
- "brand_protection_alert",
2252
- "brand_protection_digest",
2253
- "clickhouse_alert_fw_anomaly",
2254
- "clickhouse_alert_fw_ent_anomaly",
2255
- "cloudforce_one_request_notification",
2256
- "cni_maintenance_notification",
2257
- "custom_analytics",
2258
- "custom_bot_detection_alert",
2259
- "custom_ssl_certificate_event_type",
2260
- "dedicated_ssl_certificate_event_type",
2261
- "device_connectivity_anomaly_alert",
2262
- "dos_attack_l4",
2263
- "dos_attack_l7",
2264
- "expiring_service_token_alert",
2265
- "failing_logpush_job_disabled_alert",
2266
- "fbm_auto_advertisement",
2267
- "fbm_dosd_attack",
2268
- "fbm_volumetric_attack",
2269
- "health_check_status_notification",
2270
- "hostname_aop_custom_certificate_expiration_type",
2271
- "http_alert_edge_error",
2272
- "http_alert_origin_error",
2273
- "image_notification",
2274
- "image_resizing_notification",
2275
- "incident_alert",
2276
- "load_balancing_health_alert",
2277
- "load_balancing_pool_enablement_alert",
2278
- "logo_match_alert",
2279
- "magic_tunnel_health_check_event",
2280
- "magic_wan_tunnel_health",
2281
- "maintenance_event_notification",
2282
- "mtls_certificate_store_certificate_expiration_type",
2283
- "pages_event_alert",
2284
- "radar_notification",
2285
- "real_origin_monitoring",
2286
- "scriptmonitor_alert_new_code_change_detections",
2287
- "scriptmonitor_alert_new_hosts",
2288
- "scriptmonitor_alert_new_malicious_hosts",
2289
- "scriptmonitor_alert_new_malicious_scripts",
2290
- "scriptmonitor_alert_new_malicious_url",
2291
- "scriptmonitor_alert_new_max_length_resource_url",
2292
- "scriptmonitor_alert_new_resources",
2293
- "secondary_dns_all_primaries_failing",
2294
- "secondary_dns_primaries_failing",
2295
- "secondary_dns_warning",
2296
- "secondary_dns_zone_successfully_updated",
2297
- "secondary_dns_zone_validation_warning",
2298
- "security_insights_alert",
2299
- "sentinel_alert",
2300
- "stream_live_notifications",
2301
- "synthetic_test_latency_alert",
2302
- "synthetic_test_low_availability_alert",
2303
- "traffic_anomalies_alert",
2304
- "tunnel_health_event",
2305
- "tunnel_update_event",
2306
- "universal_ssl_event_type",
2307
- "web_analytics_metrics_update",
2308
- "zone_aop_custom_certificate_expiration_type",
2309
- ]),
2310
- Schema.String,
2222
+ export const CreatePolicyRequest = /*@__PURE__*/ Schema.suspend(() =>
2223
+ Schema.Struct({
2224
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
2225
+ alertType: Schema.Union([
2226
+ Schema.Literals([
2227
+ "abuse_report_alert",
2228
+ "access_custom_certificate_expiration_type",
2229
+ "advanced_ddos_attack_l4_alert",
2230
+ "advanced_ddos_attack_l7_alert",
2231
+ "advanced_http_alert_error",
2232
+ "bgp_hijack_notification",
2233
+ "billing_usage_alert",
2234
+ "block_notification_block_removed",
2235
+ "block_notification_new_block",
2236
+ "block_notification_review_rejected",
2237
+ "bot_traffic_basic_alert",
2238
+ "brand_protection_alert",
2239
+ "brand_protection_digest",
2240
+ "clickhouse_alert_fw_anomaly",
2241
+ "clickhouse_alert_fw_ent_anomaly",
2242
+ "cloudforce_one_request_notification",
2243
+ "cni_maintenance_notification",
2244
+ "custom_analytics",
2245
+ "custom_bot_detection_alert",
2246
+ "custom_ssl_certificate_event_type",
2247
+ "dedicated_ssl_certificate_event_type",
2248
+ "device_connectivity_anomaly_alert",
2249
+ "dos_attack_l4",
2250
+ "dos_attack_l7",
2251
+ "expiring_service_token_alert",
2252
+ "failing_logpush_job_disabled_alert",
2253
+ "fbm_auto_advertisement",
2254
+ "fbm_dosd_attack",
2255
+ "fbm_volumetric_attack",
2256
+ "health_check_status_notification",
2257
+ "hostname_aop_custom_certificate_expiration_type",
2258
+ "http_alert_edge_error",
2259
+ "http_alert_origin_error",
2260
+ "image_notification",
2261
+ "image_resizing_notification",
2262
+ "incident_alert",
2263
+ "load_balancing_health_alert",
2264
+ "load_balancing_pool_enablement_alert",
2265
+ "logo_match_alert",
2266
+ "magic_tunnel_health_check_event",
2267
+ "magic_wan_tunnel_health",
2268
+ "maintenance_event_notification",
2269
+ "mtls_certificate_store_certificate_expiration_type",
2270
+ "pages_event_alert",
2271
+ "radar_notification",
2272
+ "real_origin_monitoring",
2273
+ "scriptmonitor_alert_new_code_change_detections",
2274
+ "scriptmonitor_alert_new_hosts",
2275
+ "scriptmonitor_alert_new_malicious_hosts",
2276
+ "scriptmonitor_alert_new_malicious_scripts",
2277
+ "scriptmonitor_alert_new_malicious_url",
2278
+ "scriptmonitor_alert_new_max_length_resource_url",
2279
+ "scriptmonitor_alert_new_resources",
2280
+ "secondary_dns_all_primaries_failing",
2281
+ "secondary_dns_primaries_failing",
2282
+ "secondary_dns_warning",
2283
+ "secondary_dns_zone_successfully_updated",
2284
+ "secondary_dns_zone_validation_warning",
2285
+ "security_insights_alert",
2286
+ "sentinel_alert",
2287
+ "stream_live_notifications",
2288
+ "synthetic_test_latency_alert",
2289
+ "synthetic_test_low_availability_alert",
2290
+ "traffic_anomalies_alert",
2291
+ "tunnel_health_event",
2292
+ "tunnel_update_event",
2293
+ "universal_ssl_event_type",
2294
+ "web_analytics_metrics_update",
2295
+ "zone_aop_custom_certificate_expiration_type",
2311
2296
  ]),
2312
- enabled: Schema.Boolean,
2313
- mechanisms: Mechanism,
2314
- name: Schema.String,
2315
- alertInterval: Schema.optional(Schema.String),
2316
- description: Schema.optional(Schema.String),
2317
- filters: Schema.optional(PolicyFilter),
2318
- }).pipe(
2319
- Schema.encodeKeys({
2320
- alertType: "alert_type",
2321
- enabled: "enabled",
2322
- mechanisms: "mechanisms",
2323
- name: "name",
2324
- alertInterval: "alert_interval",
2325
- description: "description",
2326
- filters: "filters",
2327
- }),
2328
- T.Http({
2329
- method: "POST",
2330
- path: "/accounts/{account_id}/alerting/v3/policies",
2331
- }),
2332
- ),
2297
+ Schema.String,
2298
+ ]),
2299
+ enabled: Schema.Boolean,
2300
+ mechanisms: Mechanism,
2301
+ name: Schema.String,
2302
+ alertInterval: Schema.optional(Schema.String),
2303
+ description: Schema.optional(Schema.String),
2304
+ filters: Schema.optional(PolicyFilter),
2305
+ }).pipe(
2306
+ Schema.encodeKeys({
2307
+ alertType: "alert_type",
2308
+ enabled: "enabled",
2309
+ mechanisms: "mechanisms",
2310
+ name: "name",
2311
+ alertInterval: "alert_interval",
2312
+ description: "description",
2313
+ filters: "filters",
2314
+ }),
2315
+ T.Http({
2316
+ method: "POST",
2317
+ path: "/accounts/{account_id}/alerting/v3/policies",
2318
+ }),
2319
+ ),
2333
2320
  ) as unknown as Schema.Codec<CreatePolicyRequest>;
2334
2321
 
2335
2322
  export interface CreatePolicyResponse {
@@ -2337,11 +2324,10 @@ export interface CreatePolicyResponse {
2337
2324
  id?: string | null;
2338
2325
  }
2339
2326
 
2340
- export const CreatePolicyResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2341
- () =>
2342
- Schema.Struct({
2343
- id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2344
- }).pipe(T.ResponsePath("result")),
2327
+ export const CreatePolicyResponse = /*@__PURE__*/ Schema.suspend(() =>
2328
+ Schema.Struct({
2329
+ id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2330
+ }).pipe(T.ResponsePath("result")),
2345
2331
  ) as unknown as Schema.Codec<CreatePolicyResponse>;
2346
2332
 
2347
2333
  export type CreatePolicyError =
@@ -2355,7 +2341,7 @@ export const createPolicy: API.OperationMethod<
2355
2341
  CreatePolicyResponse,
2356
2342
  CreatePolicyError,
2357
2343
  Credentials | HttpClient.HttpClient
2358
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2344
+ > = /*@__PURE__*/ API.make(() => ({
2359
2345
  input: CreatePolicyRequest,
2360
2346
  output: CreatePolicyResponse,
2361
2347
  errors: [InvalidRoute, FiltersRequired, MechanismRequired],
@@ -2505,108 +2491,107 @@ export interface UpdatePolicyRequest {
2505
2491
  name?: string;
2506
2492
  }
2507
2493
 
2508
- export const UpdatePolicyRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2509
- () =>
2510
- Schema.Struct({
2511
- policyId: Schema.String.pipe(T.HttpPath("policyId")),
2512
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
2513
- alertInterval: Schema.optional(Schema.String),
2514
- alertType: Schema.optional(
2515
- Schema.Union([
2516
- Schema.Literals([
2517
- "abuse_report_alert",
2518
- "access_custom_certificate_expiration_type",
2519
- "advanced_ddos_attack_l4_alert",
2520
- "advanced_ddos_attack_l7_alert",
2521
- "advanced_http_alert_error",
2522
- "bgp_hijack_notification",
2523
- "billing_usage_alert",
2524
- "block_notification_block_removed",
2525
- "block_notification_new_block",
2526
- "block_notification_review_rejected",
2527
- "bot_traffic_basic_alert",
2528
- "brand_protection_alert",
2529
- "brand_protection_digest",
2530
- "clickhouse_alert_fw_anomaly",
2531
- "clickhouse_alert_fw_ent_anomaly",
2532
- "cloudforce_one_request_notification",
2533
- "cni_maintenance_notification",
2534
- "custom_analytics",
2535
- "custom_bot_detection_alert",
2536
- "custom_ssl_certificate_event_type",
2537
- "dedicated_ssl_certificate_event_type",
2538
- "device_connectivity_anomaly_alert",
2539
- "dos_attack_l4",
2540
- "dos_attack_l7",
2541
- "expiring_service_token_alert",
2542
- "failing_logpush_job_disabled_alert",
2543
- "fbm_auto_advertisement",
2544
- "fbm_dosd_attack",
2545
- "fbm_volumetric_attack",
2546
- "health_check_status_notification",
2547
- "hostname_aop_custom_certificate_expiration_type",
2548
- "http_alert_edge_error",
2549
- "http_alert_origin_error",
2550
- "image_notification",
2551
- "image_resizing_notification",
2552
- "incident_alert",
2553
- "load_balancing_health_alert",
2554
- "load_balancing_pool_enablement_alert",
2555
- "logo_match_alert",
2556
- "magic_tunnel_health_check_event",
2557
- "magic_wan_tunnel_health",
2558
- "maintenance_event_notification",
2559
- "mtls_certificate_store_certificate_expiration_type",
2560
- "pages_event_alert",
2561
- "radar_notification",
2562
- "real_origin_monitoring",
2563
- "scriptmonitor_alert_new_code_change_detections",
2564
- "scriptmonitor_alert_new_hosts",
2565
- "scriptmonitor_alert_new_malicious_hosts",
2566
- "scriptmonitor_alert_new_malicious_scripts",
2567
- "scriptmonitor_alert_new_malicious_url",
2568
- "scriptmonitor_alert_new_max_length_resource_url",
2569
- "scriptmonitor_alert_new_resources",
2570
- "secondary_dns_all_primaries_failing",
2571
- "secondary_dns_primaries_failing",
2572
- "secondary_dns_warning",
2573
- "secondary_dns_zone_successfully_updated",
2574
- "secondary_dns_zone_validation_warning",
2575
- "security_insights_alert",
2576
- "sentinel_alert",
2577
- "stream_live_notifications",
2578
- "synthetic_test_latency_alert",
2579
- "synthetic_test_low_availability_alert",
2580
- "traffic_anomalies_alert",
2581
- "tunnel_health_event",
2582
- "tunnel_update_event",
2583
- "universal_ssl_event_type",
2584
- "web_analytics_metrics_update",
2585
- "zone_aop_custom_certificate_expiration_type",
2586
- ]),
2587
- Schema.String,
2494
+ export const UpdatePolicyRequest = /*@__PURE__*/ Schema.suspend(() =>
2495
+ Schema.Struct({
2496
+ policyId: Schema.String.pipe(T.HttpPath("policyId")),
2497
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
2498
+ alertInterval: Schema.optional(Schema.String),
2499
+ alertType: Schema.optional(
2500
+ Schema.Union([
2501
+ Schema.Literals([
2502
+ "abuse_report_alert",
2503
+ "access_custom_certificate_expiration_type",
2504
+ "advanced_ddos_attack_l4_alert",
2505
+ "advanced_ddos_attack_l7_alert",
2506
+ "advanced_http_alert_error",
2507
+ "bgp_hijack_notification",
2508
+ "billing_usage_alert",
2509
+ "block_notification_block_removed",
2510
+ "block_notification_new_block",
2511
+ "block_notification_review_rejected",
2512
+ "bot_traffic_basic_alert",
2513
+ "brand_protection_alert",
2514
+ "brand_protection_digest",
2515
+ "clickhouse_alert_fw_anomaly",
2516
+ "clickhouse_alert_fw_ent_anomaly",
2517
+ "cloudforce_one_request_notification",
2518
+ "cni_maintenance_notification",
2519
+ "custom_analytics",
2520
+ "custom_bot_detection_alert",
2521
+ "custom_ssl_certificate_event_type",
2522
+ "dedicated_ssl_certificate_event_type",
2523
+ "device_connectivity_anomaly_alert",
2524
+ "dos_attack_l4",
2525
+ "dos_attack_l7",
2526
+ "expiring_service_token_alert",
2527
+ "failing_logpush_job_disabled_alert",
2528
+ "fbm_auto_advertisement",
2529
+ "fbm_dosd_attack",
2530
+ "fbm_volumetric_attack",
2531
+ "health_check_status_notification",
2532
+ "hostname_aop_custom_certificate_expiration_type",
2533
+ "http_alert_edge_error",
2534
+ "http_alert_origin_error",
2535
+ "image_notification",
2536
+ "image_resizing_notification",
2537
+ "incident_alert",
2538
+ "load_balancing_health_alert",
2539
+ "load_balancing_pool_enablement_alert",
2540
+ "logo_match_alert",
2541
+ "magic_tunnel_health_check_event",
2542
+ "magic_wan_tunnel_health",
2543
+ "maintenance_event_notification",
2544
+ "mtls_certificate_store_certificate_expiration_type",
2545
+ "pages_event_alert",
2546
+ "radar_notification",
2547
+ "real_origin_monitoring",
2548
+ "scriptmonitor_alert_new_code_change_detections",
2549
+ "scriptmonitor_alert_new_hosts",
2550
+ "scriptmonitor_alert_new_malicious_hosts",
2551
+ "scriptmonitor_alert_new_malicious_scripts",
2552
+ "scriptmonitor_alert_new_malicious_url",
2553
+ "scriptmonitor_alert_new_max_length_resource_url",
2554
+ "scriptmonitor_alert_new_resources",
2555
+ "secondary_dns_all_primaries_failing",
2556
+ "secondary_dns_primaries_failing",
2557
+ "secondary_dns_warning",
2558
+ "secondary_dns_zone_successfully_updated",
2559
+ "secondary_dns_zone_validation_warning",
2560
+ "security_insights_alert",
2561
+ "sentinel_alert",
2562
+ "stream_live_notifications",
2563
+ "synthetic_test_latency_alert",
2564
+ "synthetic_test_low_availability_alert",
2565
+ "traffic_anomalies_alert",
2566
+ "tunnel_health_event",
2567
+ "tunnel_update_event",
2568
+ "universal_ssl_event_type",
2569
+ "web_analytics_metrics_update",
2570
+ "zone_aop_custom_certificate_expiration_type",
2588
2571
  ]),
2589
- ),
2590
- description: Schema.optional(Schema.String),
2591
- enabled: Schema.optional(Schema.Boolean),
2592
- filters: Schema.optional(PolicyFilter),
2593
- mechanisms: Schema.optional(Mechanism),
2594
- name: Schema.optional(Schema.String),
2595
- }).pipe(
2596
- Schema.encodeKeys({
2597
- alertInterval: "alert_interval",
2598
- alertType: "alert_type",
2599
- description: "description",
2600
- enabled: "enabled",
2601
- filters: "filters",
2602
- mechanisms: "mechanisms",
2603
- name: "name",
2604
- }),
2605
- T.Http({
2606
- method: "PUT",
2607
- path: "/accounts/{account_id}/alerting/v3/policies/{policyId}",
2608
- }),
2572
+ Schema.String,
2573
+ ]),
2609
2574
  ),
2575
+ description: Schema.optional(Schema.String),
2576
+ enabled: Schema.optional(Schema.Boolean),
2577
+ filters: Schema.optional(PolicyFilter),
2578
+ mechanisms: Schema.optional(Mechanism),
2579
+ name: Schema.optional(Schema.String),
2580
+ }).pipe(
2581
+ Schema.encodeKeys({
2582
+ alertInterval: "alert_interval",
2583
+ alertType: "alert_type",
2584
+ description: "description",
2585
+ enabled: "enabled",
2586
+ filters: "filters",
2587
+ mechanisms: "mechanisms",
2588
+ name: "name",
2589
+ }),
2590
+ T.Http({
2591
+ method: "PUT",
2592
+ path: "/accounts/{account_id}/alerting/v3/policies/{policyId}",
2593
+ }),
2594
+ ),
2610
2595
  ) as unknown as Schema.Codec<UpdatePolicyRequest>;
2611
2596
 
2612
2597
  export interface UpdatePolicyResponse {
@@ -2614,11 +2599,10 @@ export interface UpdatePolicyResponse {
2614
2599
  id?: string | null;
2615
2600
  }
2616
2601
 
2617
- export const UpdatePolicyResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2618
- () =>
2619
- Schema.Struct({
2620
- id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2621
- }).pipe(T.ResponsePath("result")),
2602
+ export const UpdatePolicyResponse = /*@__PURE__*/ Schema.suspend(() =>
2603
+ Schema.Struct({
2604
+ id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2605
+ }).pipe(T.ResponsePath("result")),
2622
2606
  ) as unknown as Schema.Codec<UpdatePolicyResponse>;
2623
2607
 
2624
2608
  export type UpdatePolicyError =
@@ -2633,7 +2617,7 @@ export const updatePolicy: API.OperationMethod<
2633
2617
  UpdatePolicyResponse,
2634
2618
  UpdatePolicyError,
2635
2619
  Credentials | HttpClient.HttpClient
2636
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2620
+ > = /*@__PURE__*/ API.make(() => ({
2637
2621
  input: UpdatePolicyRequest,
2638
2622
  output: UpdatePolicyResponse,
2639
2623
  errors: [InvalidRoute, PolicyNotFound, InvalidAlertType, MechanismRequired],
@@ -2645,17 +2629,16 @@ export interface DeletePolicyRequest {
2645
2629
  accountId: string;
2646
2630
  }
2647
2631
 
2648
- export const DeletePolicyRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2649
- () =>
2650
- Schema.Struct({
2651
- policyId: Schema.String.pipe(T.HttpPath("policyId")),
2652
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
2653
- }).pipe(
2654
- T.Http({
2655
- method: "DELETE",
2656
- path: "/accounts/{account_id}/alerting/v3/policies/{policyId}",
2657
- }),
2658
- ),
2632
+ export const DeletePolicyRequest = /*@__PURE__*/ Schema.suspend(() =>
2633
+ Schema.Struct({
2634
+ policyId: Schema.String.pipe(T.HttpPath("policyId")),
2635
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
2636
+ }).pipe(
2637
+ T.Http({
2638
+ method: "DELETE",
2639
+ path: "/accounts/{account_id}/alerting/v3/policies/{policyId}",
2640
+ }),
2641
+ ),
2659
2642
  ) as unknown as Schema.Codec<DeletePolicyRequest>;
2660
2643
 
2661
2644
  export interface DeletePolicyResponse {
@@ -2671,29 +2654,24 @@ export interface DeletePolicyResponse {
2671
2654
  } | null;
2672
2655
  }
2673
2656
 
2674
- export const DeletePolicyResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2675
- () =>
2676
- Schema.Struct({
2677
- errors: Schema.optional(
2678
- Schema.Union([Schema.Array(Error2), Schema.Null]),
2679
- ),
2680
- messages: Schema.optional(
2681
- Schema.Union([Schema.Array(Error2), Schema.Null]),
2682
- ),
2683
- success: Schema.optional(
2684
- Schema.Union([Schema.Literal(true), Schema.Null]),
2685
- ),
2686
- resultInfo: Schema.optional(
2687
- Schema.Union([ListHistoriesResponseResultInfo, Schema.Null]),
2688
- ),
2689
- }).pipe(
2690
- Schema.encodeKeys({
2691
- errors: "errors",
2692
- messages: "messages",
2693
- success: "success",
2694
- resultInfo: "result_info",
2695
- }),
2657
+ export const DeletePolicyResponse = /*@__PURE__*/ Schema.suspend(() =>
2658
+ Schema.Struct({
2659
+ errors: Schema.optional(Schema.Union([Schema.Array(Error2), Schema.Null])),
2660
+ messages: Schema.optional(
2661
+ Schema.Union([Schema.Array(Error2), Schema.Null]),
2696
2662
  ),
2663
+ success: Schema.optional(Schema.Union([Schema.Literal(true), Schema.Null])),
2664
+ resultInfo: Schema.optional(
2665
+ Schema.Union([ListHistoriesResponseResultInfo, Schema.Null]),
2666
+ ),
2667
+ }).pipe(
2668
+ Schema.encodeKeys({
2669
+ errors: "errors",
2670
+ messages: "messages",
2671
+ success: "success",
2672
+ resultInfo: "result_info",
2673
+ }),
2674
+ ),
2697
2675
  ) as unknown as Schema.Codec<DeletePolicyResponse>;
2698
2676
 
2699
2677
  export type DeletePolicyError = DefaultErrors | InvalidRoute | PolicyNotFound;
@@ -2703,7 +2681,7 @@ export const deletePolicy: API.OperationMethod<
2703
2681
  DeletePolicyResponse,
2704
2682
  DeletePolicyError,
2705
2683
  Credentials | HttpClient.HttpClient
2706
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2684
+ > = /*@__PURE__*/ API.make(() => ({
2707
2685
  input: DeletePolicyRequest,
2708
2686
  output: DeletePolicyResponse,
2709
2687
  errors: [InvalidRoute, PolicyNotFound],
@@ -2719,17 +2697,16 @@ export interface GetSilenceRequest {
2719
2697
  accountId: string;
2720
2698
  }
2721
2699
 
2722
- export const GetSilenceRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2723
- () =>
2724
- Schema.Struct({
2725
- silenceId: Schema.String.pipe(T.HttpPath("silenceId")),
2726
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
2727
- }).pipe(
2728
- T.Http({
2729
- method: "GET",
2730
- path: "/accounts/{account_id}/alerting/v3/silences/{silenceId}",
2731
- }),
2732
- ),
2700
+ export const GetSilenceRequest = /*@__PURE__*/ Schema.suspend(() =>
2701
+ Schema.Struct({
2702
+ silenceId: Schema.String.pipe(T.HttpPath("silenceId")),
2703
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
2704
+ }).pipe(
2705
+ T.Http({
2706
+ method: "GET",
2707
+ path: "/accounts/{account_id}/alerting/v3/silences/{silenceId}",
2708
+ }),
2709
+ ),
2733
2710
  ) as unknown as Schema.Codec<GetSilenceRequest>;
2734
2711
 
2735
2712
  export interface GetSilenceResponse {
@@ -2747,27 +2724,26 @@ export interface GetSilenceResponse {
2747
2724
  updatedAt?: string | null;
2748
2725
  }
2749
2726
 
2750
- export const GetSilenceResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2751
- () =>
2752
- Schema.Struct({
2753
- id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2754
- createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2755
- endTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2756
- policyId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2757
- startTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2758
- updatedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2759
- })
2760
- .pipe(
2761
- Schema.encodeKeys({
2762
- id: "id",
2763
- createdAt: "created_at",
2764
- endTime: "end_time",
2765
- policyId: "policy_id",
2766
- startTime: "start_time",
2767
- updatedAt: "updated_at",
2768
- }),
2769
- )
2770
- .pipe(T.ResponsePath("result")),
2727
+ export const GetSilenceResponse = /*@__PURE__*/ Schema.suspend(() =>
2728
+ Schema.Struct({
2729
+ id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2730
+ createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2731
+ endTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2732
+ policyId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2733
+ startTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2734
+ updatedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2735
+ })
2736
+ .pipe(
2737
+ Schema.encodeKeys({
2738
+ id: "id",
2739
+ createdAt: "created_at",
2740
+ endTime: "end_time",
2741
+ policyId: "policy_id",
2742
+ startTime: "start_time",
2743
+ updatedAt: "updated_at",
2744
+ }),
2745
+ )
2746
+ .pipe(T.ResponsePath("result")),
2771
2747
  ) as unknown as Schema.Codec<GetSilenceResponse>;
2772
2748
 
2773
2749
  export type GetSilenceError =
@@ -2781,7 +2757,7 @@ export const getSilence: API.OperationMethod<
2781
2757
  GetSilenceResponse,
2782
2758
  GetSilenceError,
2783
2759
  Credentials | HttpClient.HttpClient
2784
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2760
+ > = /*@__PURE__*/ API.make(() => ({
2785
2761
  input: GetSilenceRequest,
2786
2762
  output: GetSilenceResponse,
2787
2763
  errors: [InvalidRoute, InternalServerError, SilenceNotFound],
@@ -2792,16 +2768,15 @@ export interface ListSilencesRequest {
2792
2768
  accountId: string;
2793
2769
  }
2794
2770
 
2795
- export const ListSilencesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2796
- () =>
2797
- Schema.Struct({
2798
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
2799
- }).pipe(
2800
- T.Http({
2801
- method: "GET",
2802
- path: "/accounts/{account_id}/alerting/v3/silences",
2803
- }),
2804
- ),
2771
+ export const ListSilencesRequest = /*@__PURE__*/ Schema.suspend(() =>
2772
+ Schema.Struct({
2773
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
2774
+ }).pipe(
2775
+ T.Http({
2776
+ method: "GET",
2777
+ path: "/accounts/{account_id}/alerting/v3/silences",
2778
+ }),
2779
+ ),
2805
2780
  ) as unknown as Schema.Codec<ListSilencesRequest>;
2806
2781
 
2807
2782
  export interface ListSilencesResponse {
@@ -2815,11 +2790,10 @@ export interface ListSilencesResponse {
2815
2790
  }[];
2816
2791
  }
2817
2792
 
2818
- export const ListSilencesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2819
- () =>
2820
- Schema.Struct({
2821
- result: Schema.Array(ListSilencesResponseResult),
2822
- }),
2793
+ export const ListSilencesResponse = /*@__PURE__*/ Schema.suspend(() =>
2794
+ Schema.Struct({
2795
+ result: Schema.Array(ListSilencesResponseResult),
2796
+ }),
2823
2797
  ) as unknown as Schema.Codec<ListSilencesResponse>;
2824
2798
 
2825
2799
  export type ListSilencesError = DefaultErrors;
@@ -2829,7 +2803,7 @@ export const listSilences: API.PaginatedOperationMethod<
2829
2803
  ListSilencesResponse,
2830
2804
  ListSilencesError,
2831
2805
  Credentials | HttpClient.HttpClient
2832
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
2806
+ > = /*@__PURE__*/ API.makePaginated(() => ({
2833
2807
  input: ListSilencesRequest,
2834
2808
  output: ListSilencesResponse,
2835
2809
  errors: [],
@@ -2846,17 +2820,16 @@ export interface CreateSilenceRequest {
2846
2820
  body: { endTime?: string; policyId?: string; startTime?: string }[];
2847
2821
  }
2848
2822
 
2849
- export const CreateSilenceRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2850
- () =>
2851
- Schema.Struct({
2852
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
2853
- body: Schema.Array(Body).pipe(T.HttpBody()),
2854
- }).pipe(
2855
- T.Http({
2856
- method: "POST",
2857
- path: "/accounts/{account_id}/alerting/v3/silences",
2858
- }),
2859
- ),
2823
+ export const CreateSilenceRequest = /*@__PURE__*/ Schema.suspend(() =>
2824
+ Schema.Struct({
2825
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
2826
+ body: Schema.Array(Body).pipe(T.HttpBody()),
2827
+ }).pipe(
2828
+ T.Http({
2829
+ method: "POST",
2830
+ path: "/accounts/{account_id}/alerting/v3/silences",
2831
+ }),
2832
+ ),
2860
2833
  ) as unknown as Schema.Codec<CreateSilenceRequest>;
2861
2834
 
2862
2835
  export interface CreateSilenceResponse {
@@ -2866,13 +2839,12 @@ export interface CreateSilenceResponse {
2866
2839
  success: true;
2867
2840
  }
2868
2841
 
2869
- export const CreateSilenceResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2870
- () =>
2871
- Schema.Struct({
2872
- errors: Schema.Array(Error2),
2873
- messages: Schema.Array(Error2),
2874
- success: Schema.Literal(true),
2875
- }),
2842
+ export const CreateSilenceResponse = /*@__PURE__*/ Schema.suspend(() =>
2843
+ Schema.Struct({
2844
+ errors: Schema.Array(Error2),
2845
+ messages: Schema.Array(Error2),
2846
+ success: Schema.Literal(true),
2847
+ }),
2876
2848
  ) as unknown as Schema.Codec<CreateSilenceResponse>;
2877
2849
 
2878
2850
  export type CreateSilenceError =
@@ -2886,7 +2858,7 @@ export const createSilence: API.OperationMethod<
2886
2858
  CreateSilenceResponse,
2887
2859
  CreateSilenceError,
2888
2860
  Credentials | HttpClient.HttpClient
2889
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2861
+ > = /*@__PURE__*/ API.make(() => ({
2890
2862
  input: CreateSilenceRequest,
2891
2863
  output: CreateSilenceResponse,
2892
2864
  errors: [InvalidRoute, InvalidSilence, SilenceAlreadyExists],
@@ -2899,17 +2871,16 @@ export interface UpdateSilenceRequest {
2899
2871
  body: { id?: string; endTime?: string; startTime?: string }[];
2900
2872
  }
2901
2873
 
2902
- export const UpdateSilenceRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2903
- () =>
2904
- Schema.Struct({
2905
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
2906
- body: Schema.Array(Body2).pipe(T.HttpBody()),
2907
- }).pipe(
2908
- T.Http({
2909
- method: "PUT",
2910
- path: "/accounts/{account_id}/alerting/v3/silences",
2911
- }),
2912
- ),
2874
+ export const UpdateSilenceRequest = /*@__PURE__*/ Schema.suspend(() =>
2875
+ Schema.Struct({
2876
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
2877
+ body: Schema.Array(Body2).pipe(T.HttpBody()),
2878
+ }).pipe(
2879
+ T.Http({
2880
+ method: "PUT",
2881
+ path: "/accounts/{account_id}/alerting/v3/silences",
2882
+ }),
2883
+ ),
2913
2884
  ) as unknown as Schema.Codec<UpdateSilenceRequest>;
2914
2885
 
2915
2886
  export interface UpdateSilenceResponse {
@@ -2925,14 +2896,13 @@ export interface UpdateSilenceResponse {
2925
2896
  | null;
2926
2897
  }
2927
2898
 
2928
- export const UpdateSilenceResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2929
- () =>
2930
- Schema.Struct({
2931
- result: Schema.Union([
2932
- Schema.Array(ListSilencesResponseResult),
2933
- Schema.Null,
2934
- ]),
2935
- }),
2899
+ export const UpdateSilenceResponse = /*@__PURE__*/ Schema.suspend(() =>
2900
+ Schema.Struct({
2901
+ result: Schema.Union([
2902
+ Schema.Array(ListSilencesResponseResult),
2903
+ Schema.Null,
2904
+ ]),
2905
+ }),
2936
2906
  ) as unknown as Schema.Codec<UpdateSilenceResponse>;
2937
2907
 
2938
2908
  export type UpdateSilenceError =
@@ -2945,7 +2915,7 @@ export const updateSilence: API.PaginatedOperationMethod<
2945
2915
  UpdateSilenceResponse,
2946
2916
  UpdateSilenceError,
2947
2917
  Credentials | HttpClient.HttpClient
2948
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
2918
+ > = /*@__PURE__*/ API.makePaginated(() => ({
2949
2919
  input: UpdateSilenceRequest,
2950
2920
  output: UpdateSilenceResponse,
2951
2921
  errors: [SilenceNotFound, InvalidSilence],
@@ -2961,17 +2931,16 @@ export interface DeleteSilenceRequest {
2961
2931
  accountId: string;
2962
2932
  }
2963
2933
 
2964
- export const DeleteSilenceRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2965
- () =>
2966
- Schema.Struct({
2967
- silenceId: Schema.String.pipe(T.HttpPath("silenceId")),
2968
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
2969
- }).pipe(
2970
- T.Http({
2971
- method: "DELETE",
2972
- path: "/accounts/{account_id}/alerting/v3/silences/{silenceId}",
2973
- }),
2974
- ),
2934
+ export const DeleteSilenceRequest = /*@__PURE__*/ Schema.suspend(() =>
2935
+ Schema.Struct({
2936
+ silenceId: Schema.String.pipe(T.HttpPath("silenceId")),
2937
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
2938
+ }).pipe(
2939
+ T.Http({
2940
+ method: "DELETE",
2941
+ path: "/accounts/{account_id}/alerting/v3/silences/{silenceId}",
2942
+ }),
2943
+ ),
2975
2944
  ) as unknown as Schema.Codec<DeleteSilenceRequest>;
2976
2945
 
2977
2946
  export interface DeleteSilenceResponse {
@@ -2981,13 +2950,12 @@ export interface DeleteSilenceResponse {
2981
2950
  success: true;
2982
2951
  }
2983
2952
 
2984
- export const DeleteSilenceResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2985
- () =>
2986
- Schema.Struct({
2987
- errors: Schema.Array(Error2),
2988
- messages: Schema.Array(Error2),
2989
- success: Schema.Literal(true),
2990
- }),
2953
+ export const DeleteSilenceResponse = /*@__PURE__*/ Schema.suspend(() =>
2954
+ Schema.Struct({
2955
+ errors: Schema.Array(Error2),
2956
+ messages: Schema.Array(Error2),
2957
+ success: Schema.Literal(true),
2958
+ }),
2991
2959
  ) as unknown as Schema.Codec<DeleteSilenceResponse>;
2992
2960
 
2993
2961
  export type DeleteSilenceError = DefaultErrors | InvalidRoute | SilenceNotFound;
@@ -2997,7 +2965,7 @@ export const deleteSilence: API.OperationMethod<
2997
2965
  DeleteSilenceResponse,
2998
2966
  DeleteSilenceError,
2999
2967
  Credentials | HttpClient.HttpClient
3000
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2968
+ > = /*@__PURE__*/ API.make(() => ({
3001
2969
  input: DeleteSilenceRequest,
3002
2970
  output: DeleteSilenceResponse,
3003
2971
  errors: [InvalidRoute, SilenceNotFound],