@distilled.cloud/cloudflare 0.28.2 → 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 (463) hide show
  1. package/lib/client/api.d.ts +1 -1
  2. package/lib/client/api.d.ts.map +1 -1
  3. package/lib/credentials.d.ts.map +1 -1
  4. package/lib/retry.d.ts.map +1 -1
  5. package/lib/services/abuse-reports.d.ts.map +1 -1
  6. package/lib/services/abuse-reports.js +26 -26
  7. package/lib/services/abuse-reports.js.map +1 -1
  8. package/lib/services/accounts.d.ts.map +1 -1
  9. package/lib/services/accounts.js +114 -123
  10. package/lib/services/accounts.js.map +1 -1
  11. package/lib/services/acm.d.ts.map +1 -1
  12. package/lib/services/acm.js +23 -23
  13. package/lib/services/acm.js.map +1 -1
  14. package/lib/services/addressing.d.ts.map +1 -1
  15. package/lib/services/addressing.js +132 -132
  16. package/lib/services/addressing.js.map +1 -1
  17. package/lib/services/ai-gateway.d.ts.map +1 -1
  18. package/lib/services/ai-gateway.js +213 -207
  19. package/lib/services/ai-gateway.js.map +1 -1
  20. package/lib/services/ai-security.d.ts.map +1 -1
  21. package/lib/services/ai-security.js +13 -13
  22. package/lib/services/ai-security.js.map +1 -1
  23. package/lib/services/ai.d.ts.map +1 -1
  24. package/lib/services/ai.js +62 -62
  25. package/lib/services/ai.js.map +1 -1
  26. package/lib/services/aisearch.d.ts.map +1 -1
  27. package/lib/services/aisearch.js +187 -193
  28. package/lib/services/aisearch.js.map +1 -1
  29. package/lib/services/alerting.d.ts.map +1 -1
  30. package/lib/services/alerting.js +78 -78
  31. package/lib/services/alerting.js.map +1 -1
  32. package/lib/services/api-gateway.d.ts.map +1 -1
  33. package/lib/services/api-gateway.js +168 -177
  34. package/lib/services/api-gateway.js.map +1 -1
  35. package/lib/services/argo.js +12 -12
  36. package/lib/services/argo.js.map +1 -1
  37. package/lib/services/audit-logs.d.ts.map +1 -1
  38. package/lib/services/audit-logs.js +9 -9
  39. package/lib/services/audit-logs.js.map +1 -1
  40. package/lib/services/billing.d.ts.map +1 -1
  41. package/lib/services/billing.js +11 -11
  42. package/lib/services/billing.js.map +1 -1
  43. package/lib/services/bot-management.d.ts.map +1 -1
  44. package/lib/services/bot-management.js +18 -30
  45. package/lib/services/bot-management.js.map +1 -1
  46. package/lib/services/botnet-feed.d.ts.map +1 -1
  47. package/lib/services/botnet-feed.js +12 -12
  48. package/lib/services/botnet-feed.js.map +1 -1
  49. package/lib/services/brand-protection.d.ts.map +1 -1
  50. package/lib/services/brand-protection.js +59 -59
  51. package/lib/services/brand-protection.js.map +1 -1
  52. package/lib/services/browser-rendering.d.ts.map +1 -1
  53. package/lib/services/browser-rendering.js +103 -103
  54. package/lib/services/browser-rendering.js.map +1 -1
  55. package/lib/services/cache.d.ts.map +1 -1
  56. package/lib/services/cache.js +72 -72
  57. package/lib/services/cache.js.map +1 -1
  58. package/lib/services/calls.d.ts.map +1 -1
  59. package/lib/services/calls.js +31 -31
  60. package/lib/services/calls.js.map +1 -1
  61. package/lib/services/certificate-authorities.js +6 -6
  62. package/lib/services/certificate-authorities.js.map +1 -1
  63. package/lib/services/client-certificates.js +18 -18
  64. package/lib/services/client-certificates.js.map +1 -1
  65. package/lib/services/cloud-connector.d.ts.map +1 -1
  66. package/lib/services/cloud-connector.js +8 -8
  67. package/lib/services/cloud-connector.js.map +1 -1
  68. package/lib/services/cloudforce-one.d.ts.map +1 -1
  69. package/lib/services/cloudforce-one.js +178 -178
  70. package/lib/services/cloudforce-one.js.map +1 -1
  71. package/lib/services/connectivity.js +25 -25
  72. package/lib/services/connectivity.js.map +1 -1
  73. package/lib/services/containers.js +49 -49
  74. package/lib/services/containers.js.map +1 -1
  75. package/lib/services/content-scanning.d.ts.map +1 -1
  76. package/lib/services/content-scanning.js +29 -29
  77. package/lib/services/content-scanning.js.map +1 -1
  78. package/lib/services/csam-scanner.d.ts.map +1 -1
  79. package/lib/services/csam-scanner.js +8 -8
  80. package/lib/services/csam-scanner.js.map +1 -1
  81. package/lib/services/custom-certificates.d.ts.map +1 -1
  82. package/lib/services/custom-certificates.js +24 -24
  83. package/lib/services/custom-certificates.js.map +1 -1
  84. package/lib/services/custom-csrs.d.ts.map +1 -1
  85. package/lib/services/custom-csrs.js +22 -22
  86. package/lib/services/custom-csrs.js.map +1 -1
  87. package/lib/services/custom-hostnames.d.ts.map +1 -1
  88. package/lib/services/custom-hostnames.js +40 -40
  89. package/lib/services/custom-hostnames.js.map +1 -1
  90. package/lib/services/custom-nameservers.js +11 -11
  91. package/lib/services/custom-nameservers.js.map +1 -1
  92. package/lib/services/custom-pages.d.ts.map +1 -1
  93. package/lib/services/custom-pages.js +43 -43
  94. package/lib/services/custom-pages.js.map +1 -1
  95. package/lib/services/d1.d.ts +4 -4
  96. package/lib/services/d1.d.ts.map +1 -1
  97. package/lib/services/d1.js +69 -51
  98. package/lib/services/d1.js.map +1 -1
  99. package/lib/services/dcv-delegation.js +3 -3
  100. package/lib/services/dcv-delegation.js.map +1 -1
  101. package/lib/services/ddos-protection.js +126 -126
  102. package/lib/services/ddos-protection.js.map +1 -1
  103. package/lib/services/diagnostics.js +27 -27
  104. package/lib/services/diagnostics.js.map +1 -1
  105. package/lib/services/dls.d.ts.map +1 -1
  106. package/lib/services/dls.js +26 -26
  107. package/lib/services/dls.js.map +1 -1
  108. package/lib/services/dns-firewall.d.ts.map +1 -1
  109. package/lib/services/dns-firewall.js +34 -34
  110. package/lib/services/dns-firewall.js.map +1 -1
  111. package/lib/services/dns.d.ts.map +1 -1
  112. package/lib/services/dns.js +268 -268
  113. package/lib/services/dns.js.map +1 -1
  114. package/lib/services/durable-objects.d.ts.map +1 -1
  115. package/lib/services/durable-objects.js +11 -11
  116. package/lib/services/durable-objects.js.map +1 -1
  117. package/lib/services/email-auth.d.ts.map +1 -1
  118. package/lib/services/email-auth.js +13 -13
  119. package/lib/services/email-auth.js.map +1 -1
  120. package/lib/services/email-routing.d.ts.map +1 -1
  121. package/lib/services/email-routing.js +70 -70
  122. package/lib/services/email-routing.js.map +1 -1
  123. package/lib/services/email-security.d.ts.map +1 -1
  124. package/lib/services/email-security.js +195 -195
  125. package/lib/services/email-security.js.map +1 -1
  126. package/lib/services/email-sending.d.ts.map +1 -1
  127. package/lib/services/email-sending.js +28 -28
  128. package/lib/services/email-sending.js.map +1 -1
  129. package/lib/services/filters.d.ts.map +1 -1
  130. package/lib/services/filters.js +25 -25
  131. package/lib/services/filters.js.map +1 -1
  132. package/lib/services/firewall.d.ts.map +1 -1
  133. package/lib/services/firewall.js +149 -149
  134. package/lib/services/firewall.js.map +1 -1
  135. package/lib/services/flagship.d.ts.map +1 -1
  136. package/lib/services/flagship.js +52 -52
  137. package/lib/services/flagship.js.map +1 -1
  138. package/lib/services/fraud.js +8 -8
  139. package/lib/services/fraud.js.map +1 -1
  140. package/lib/services/google-tag-gateway.d.ts.map +1 -1
  141. package/lib/services/google-tag-gateway.js +7 -7
  142. package/lib/services/google-tag-gateway.js.map +1 -1
  143. package/lib/services/healthchecks.d.ts.map +1 -1
  144. package/lib/services/healthchecks.js +31 -31
  145. package/lib/services/healthchecks.js.map +1 -1
  146. package/lib/services/hostnames.d.ts.map +1 -1
  147. package/lib/services/hostnames.js +10 -10
  148. package/lib/services/hostnames.js.map +1 -1
  149. package/lib/services/hyperdrive.d.ts.map +1 -1
  150. package/lib/services/hyperdrive.js +32 -32
  151. package/lib/services/hyperdrive.js.map +1 -1
  152. package/lib/services/iam.d.ts.map +1 -1
  153. package/lib/services/iam.js +113 -113
  154. package/lib/services/iam.js.map +1 -1
  155. package/lib/services/images.d.ts.map +1 -1
  156. package/lib/services/images.js +59 -59
  157. package/lib/services/images.js.map +1 -1
  158. package/lib/services/intel.d.ts.map +1 -1
  159. package/lib/services/intel.js +102 -102
  160. package/lib/services/intel.js.map +1 -1
  161. package/lib/services/ips.js +5 -5
  162. package/lib/services/ips.js.map +1 -1
  163. package/lib/services/keyless-certificates.js +17 -17
  164. package/lib/services/keyless-certificates.js.map +1 -1
  165. package/lib/services/kv.d.ts.map +1 -1
  166. package/lib/services/kv.js +54 -54
  167. package/lib/services/kv.js.map +1 -1
  168. package/lib/services/leaked-credential-checks.d.ts.map +1 -1
  169. package/lib/services/leaked-credential-checks.js +22 -22
  170. package/lib/services/leaked-credential-checks.js.map +1 -1
  171. package/lib/services/load-balancers.d.ts.map +1 -1
  172. package/lib/services/load-balancers.js +139 -157
  173. package/lib/services/load-balancers.js.map +1 -1
  174. package/lib/services/logpush.d.ts.map +1 -1
  175. package/lib/services/logpush.js +69 -69
  176. package/lib/services/logpush.js.map +1 -1
  177. package/lib/services/logs.d.ts.map +1 -1
  178. package/lib/services/logs.js +58 -58
  179. package/lib/services/logs.js.map +1 -1
  180. package/lib/services/magic-cloud-networking.d.ts.map +1 -1
  181. package/lib/services/magic-cloud-networking.js +138 -168
  182. package/lib/services/magic-cloud-networking.js.map +1 -1
  183. package/lib/services/magic-network-monitoring.d.ts.map +1 -1
  184. package/lib/services/magic-network-monitoring.js +47 -65
  185. package/lib/services/magic-network-monitoring.js.map +1 -1
  186. package/lib/services/magic-transit.d.ts.map +1 -1
  187. package/lib/services/magic-transit.js +340 -364
  188. package/lib/services/magic-transit.js.map +1 -1
  189. package/lib/services/managed-transforms.js +11 -11
  190. package/lib/services/managed-transforms.js.map +1 -1
  191. package/lib/services/memberships.d.ts.map +1 -1
  192. package/lib/services/memberships.js +25 -25
  193. package/lib/services/memberships.js.map +1 -1
  194. package/lib/services/moq.d.ts.map +1 -1
  195. package/lib/services/moq.js +23 -23
  196. package/lib/services/moq.js.map +1 -1
  197. package/lib/services/mtls-certificates.d.ts.map +1 -1
  198. package/lib/services/mtls-certificates.js +17 -17
  199. package/lib/services/mtls-certificates.js.map +1 -1
  200. package/lib/services/network-interconnects.d.ts.map +1 -1
  201. package/lib/services/network-interconnects.js +56 -56
  202. package/lib/services/network-interconnects.js.map +1 -1
  203. package/lib/services/organizations.d.ts.map +1 -1
  204. package/lib/services/organizations.js +42 -42
  205. package/lib/services/organizations.js.map +1 -1
  206. package/lib/services/origin-ca-certificates.js +14 -14
  207. package/lib/services/origin-ca-certificates.js.map +1 -1
  208. package/lib/services/origin-post-quantum-encryption.js +6 -6
  209. package/lib/services/origin-post-quantum-encryption.js.map +1 -1
  210. package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
  211. package/lib/services/origin-tls-client-auth.js +52 -52
  212. package/lib/services/origin-tls-client-auth.js.map +1 -1
  213. package/lib/services/origin-tls-compliance-modes.js +12 -12
  214. package/lib/services/origin-tls-compliance-modes.js.map +1 -1
  215. package/lib/services/page-rules.d.ts.map +1 -1
  216. package/lib/services/page-rules.js +62 -62
  217. package/lib/services/page-rules.js.map +1 -1
  218. package/lib/services/page-shield.d.ts.map +1 -1
  219. package/lib/services/page-shield.js +45 -48
  220. package/lib/services/page-shield.js.map +1 -1
  221. package/lib/services/pages.d.ts.map +1 -1
  222. package/lib/services/pages.js +78 -78
  223. package/lib/services/pages.js.map +1 -1
  224. package/lib/services/pipelines.d.ts.map +1 -1
  225. package/lib/services/pipelines.js +102 -102
  226. package/lib/services/pipelines.js.map +1 -1
  227. package/lib/services/queues.d.ts.map +1 -1
  228. package/lib/services/queues.js +100 -103
  229. package/lib/services/queues.js.map +1 -1
  230. package/lib/services/r2-data-catalog.d.ts.map +1 -1
  231. package/lib/services/r2-data-catalog.js +42 -42
  232. package/lib/services/r2-data-catalog.js.map +1 -1
  233. package/lib/services/r2.d.ts.map +1 -1
  234. package/lib/services/r2.js +190 -190
  235. package/lib/services/r2.js.map +1 -1
  236. package/lib/services/radar.d.ts.map +1 -1
  237. package/lib/services/radar.js +991 -1009
  238. package/lib/services/radar.js.map +1 -1
  239. package/lib/services/rate-limits.d.ts.map +1 -1
  240. package/lib/services/rate-limits.js +24 -24
  241. package/lib/services/rate-limits.js.map +1 -1
  242. package/lib/services/realtime-kit.d.ts.map +1 -1
  243. package/lib/services/realtime-kit.js +276 -276
  244. package/lib/services/realtime-kit.js.map +1 -1
  245. package/lib/services/registrar.d.ts.map +1 -1
  246. package/lib/services/registrar.js +28 -28
  247. package/lib/services/registrar.js.map +1 -1
  248. package/lib/services/request-tracers.d.ts.map +1 -1
  249. package/lib/services/request-tracers.js +7 -7
  250. package/lib/services/request-tracers.js.map +1 -1
  251. package/lib/services/resource-sharing.d.ts.map +1 -1
  252. package/lib/services/resource-sharing.js +49 -49
  253. package/lib/services/resource-sharing.js.map +1 -1
  254. package/lib/services/resource-tagging.d.ts.map +1 -1
  255. package/lib/services/resource-tagging.js +56 -56
  256. package/lib/services/resource-tagging.js.map +1 -1
  257. package/lib/services/rules.d.ts.map +1 -1
  258. package/lib/services/rules.js +50 -50
  259. package/lib/services/rules.js.map +1 -1
  260. package/lib/services/rulesets.d.ts +2 -2
  261. package/lib/services/rulesets.d.ts.map +1 -1
  262. package/lib/services/rulesets.js +226 -190
  263. package/lib/services/rulesets.js.map +1 -1
  264. package/lib/services/rum.d.ts.map +1 -1
  265. package/lib/services/rum.js +35 -35
  266. package/lib/services/rum.js.map +1 -1
  267. package/lib/services/schema-validation.d.ts.map +1 -1
  268. package/lib/services/schema-validation.js +43 -46
  269. package/lib/services/schema-validation.js.map +1 -1
  270. package/lib/services/secrets-store.d.ts.map +1 -1
  271. package/lib/services/secrets-store.js +41 -41
  272. package/lib/services/secrets-store.js.map +1 -1
  273. package/lib/services/security-center.d.ts.map +1 -1
  274. package/lib/services/security-center.js +54 -57
  275. package/lib/services/security-center.js.map +1 -1
  276. package/lib/services/security-txt.d.ts.map +1 -1
  277. package/lib/services/security-txt.js +12 -12
  278. package/lib/services/security-txt.js.map +1 -1
  279. package/lib/services/snippets.d.ts.map +1 -1
  280. package/lib/services/snippets.js +31 -31
  281. package/lib/services/snippets.js.map +1 -1
  282. package/lib/services/spectrum.d.ts.map +1 -1
  283. package/lib/services/spectrum.js +35 -35
  284. package/lib/services/spectrum.js.map +1 -1
  285. package/lib/services/speed.d.ts.map +1 -1
  286. package/lib/services/speed.js +41 -41
  287. package/lib/services/speed.js.map +1 -1
  288. package/lib/services/ssl.d.ts.map +1 -1
  289. package/lib/services/ssl.js +48 -48
  290. package/lib/services/ssl.js.map +1 -1
  291. package/lib/services/stream.d.ts.map +1 -1
  292. package/lib/services/stream.js +147 -147
  293. package/lib/services/stream.js.map +1 -1
  294. package/lib/services/tenant-custom-nameservers.js +11 -11
  295. package/lib/services/tenant-custom-nameservers.js.map +1 -1
  296. package/lib/services/tenants.d.ts.map +1 -1
  297. package/lib/services/tenants.js +28 -28
  298. package/lib/services/tenants.js.map +1 -1
  299. package/lib/services/token-validation.d.ts.map +1 -1
  300. package/lib/services/token-validation.js +56 -56
  301. package/lib/services/token-validation.js.map +1 -1
  302. package/lib/services/turnstile.d.ts.map +1 -1
  303. package/lib/services/turnstile.js +27 -54
  304. package/lib/services/turnstile.js.map +1 -1
  305. package/lib/services/url-normalization.js +9 -9
  306. package/lib/services/url-normalization.js.map +1 -1
  307. package/lib/services/url-scanner.d.ts.map +1 -1
  308. package/lib/services/url-scanner.js +120 -120
  309. package/lib/services/url-scanner.js.map +1 -1
  310. package/lib/services/user.d.ts.map +1 -1
  311. package/lib/services/user.js +95 -95
  312. package/lib/services/user.js.map +1 -1
  313. package/lib/services/vectorize.d.ts +10 -10
  314. package/lib/services/vectorize.d.ts.map +1 -1
  315. package/lib/services/vectorize.js +59 -57
  316. package/lib/services/vectorize.js.map +1 -1
  317. package/lib/services/vulnerability-scanner.d.ts.map +1 -1
  318. package/lib/services/vulnerability-scanner.js +95 -95
  319. package/lib/services/vulnerability-scanner.js.map +1 -1
  320. package/lib/services/waiting-rooms.d.ts.map +1 -1
  321. package/lib/services/waiting-rooms.js +81 -81
  322. package/lib/services/waiting-rooms.js.map +1 -1
  323. package/lib/services/web3.d.ts.map +1 -1
  324. package/lib/services/web3.js +39 -39
  325. package/lib/services/web3.js.map +1 -1
  326. package/lib/services/workers-for-platforms.d.ts.map +1 -1
  327. package/lib/services/workers-for-platforms.js +139 -139
  328. package/lib/services/workers-for-platforms.js.map +1 -1
  329. package/lib/services/workers.d.ts.map +1 -1
  330. package/lib/services/workers.js +420 -420
  331. package/lib/services/workers.js.map +1 -1
  332. package/lib/services/workflows.d.ts.map +1 -1
  333. package/lib/services/workflows.js +88 -88
  334. package/lib/services/workflows.js.map +1 -1
  335. package/lib/services/zaraz.d.ts.map +1 -1
  336. package/lib/services/zaraz.js +36 -39
  337. package/lib/services/zaraz.js.map +1 -1
  338. package/lib/services/zero-trust.d.ts.map +1 -1
  339. package/lib/services/zero-trust.js +1765 -1771
  340. package/lib/services/zero-trust.js.map +1 -1
  341. package/lib/services/zones.d.ts.map +1 -1
  342. package/lib/services/zones.js +168 -168
  343. package/lib/services/zones.js.map +1 -1
  344. package/lib/traits.d.ts.map +1 -1
  345. package/package.json +10 -9
  346. package/src/services/abuse-reports.ts +35 -36
  347. package/src/services/accounts.ts +714 -760
  348. package/src/services/acm.ts +115 -125
  349. package/src/services/addressing.ts +484 -512
  350. package/src/services/ai-gateway.ts +653 -672
  351. package/src/services/ai-security.ts +47 -53
  352. package/src/services/ai.ts +172 -185
  353. package/src/services/aisearch.ts +1814 -1861
  354. package/src/services/alerting.ts +710 -742
  355. package/src/services/api-gateway.ts +481 -508
  356. package/src/services/argo.ts +12 -12
  357. package/src/services/audit-logs.ts +45 -49
  358. package/src/services/billing.ts +121 -136
  359. package/src/services/bot-management.ts +122 -136
  360. package/src/services/botnet-feed.ts +68 -74
  361. package/src/services/brand-protection.ts +275 -294
  362. package/src/services/browser-rendering.ts +758 -769
  363. package/src/services/cache.ts +148 -158
  364. package/src/services/calls.ts +110 -120
  365. package/src/services/certificate-authorities.ts +6 -6
  366. package/src/services/client-certificates.ts +18 -18
  367. package/src/services/cloud-connector.ts +11 -12
  368. package/src/services/cloudforce-one.ts +589 -617
  369. package/src/services/connectivity.ts +25 -25
  370. package/src/services/containers.ts +49 -49
  371. package/src/services/content-scanning.ts +80 -89
  372. package/src/services/csam-scanner.ts +16 -17
  373. package/src/services/custom-certificates.ts +36 -38
  374. package/src/services/custom-csrs.ts +103 -105
  375. package/src/services/custom-hostnames.ts +44 -45
  376. package/src/services/custom-nameservers.ts +11 -11
  377. package/src/services/custom-pages.ts +173 -184
  378. package/src/services/d1.ts +335 -325
  379. package/src/services/dcv-delegation.ts +3 -3
  380. package/src/services/ddos-protection.ts +126 -126
  381. package/src/services/diagnostics.ts +27 -27
  382. package/src/services/dls.ts +82 -86
  383. package/src/services/dns-firewall.ts +65 -69
  384. package/src/services/dns.ts +1080 -1107
  385. package/src/services/durable-objects.ts +36 -38
  386. package/src/services/email-auth.ts +47 -52
  387. package/src/services/email-routing.ts +264 -288
  388. package/src/services/email-security.ts +205 -208
  389. package/src/services/email-sending.ts +94 -99
  390. package/src/services/filters.ts +97 -111
  391. package/src/services/firewall.ts +698 -753
  392. package/src/services/flagship.ts +321 -336
  393. package/src/services/fraud.ts +8 -8
  394. package/src/services/google-tag-gateway.ts +17 -19
  395. package/src/services/healthchecks.ts +269 -286
  396. package/src/services/hostnames.ts +94 -99
  397. package/src/services/hyperdrive.ts +310 -324
  398. package/src/services/iam.ts +205 -212
  399. package/src/services/images.ts +138 -150
  400. package/src/services/intel.ts +248 -261
  401. package/src/services/ips.ts +5 -5
  402. package/src/services/keyless-certificates.ts +17 -17
  403. package/src/services/kv.ts +106 -110
  404. package/src/services/leaked-credential-checks.ts +49 -53
  405. package/src/services/load-balancers.ts +1119 -1212
  406. package/src/services/logpush.ts +298 -313
  407. package/src/services/logs.ts +74 -77
  408. package/src/services/magic-cloud-networking.ts +1219 -1311
  409. package/src/services/magic-network-monitoring.ts +647 -685
  410. package/src/services/magic-transit.ts +1988 -2119
  411. package/src/services/managed-transforms.ts +11 -11
  412. package/src/services/memberships.ts +101 -105
  413. package/src/services/moq.ts +100 -110
  414. package/src/services/mtls-certificates.ts +30 -32
  415. package/src/services/network-interconnects.ts +137 -145
  416. package/src/services/organizations.ts +189 -192
  417. package/src/services/origin-ca-certificates.ts +14 -14
  418. package/src/services/origin-post-quantum-encryption.ts +6 -6
  419. package/src/services/origin-tls-client-auth.ts +219 -236
  420. package/src/services/origin-tls-compliance-modes.ts +12 -12
  421. package/src/services/page-rules.ts +365 -373
  422. package/src/services/page-shield.ts +489 -528
  423. package/src/services/pages.ts +309 -319
  424. package/src/services/pipelines.ts +534 -573
  425. package/src/services/queues.ts +598 -635
  426. package/src/services/r2-data-catalog.ts +59 -60
  427. package/src/services/r2.ts +654 -689
  428. package/src/services/radar.ts +3395 -3487
  429. package/src/services/rate-limits.ts +81 -93
  430. package/src/services/realtime-kit.ts +386 -399
  431. package/src/services/registrar.ts +90 -96
  432. package/src/services/request-tracers.ts +41 -43
  433. package/src/services/resource-sharing.ts +293 -305
  434. package/src/services/resource-tagging.ts +354 -366
  435. package/src/services/rules.ts +272 -292
  436. package/src/services/rulesets.ts +1214 -1116
  437. package/src/services/rum.ts +252 -273
  438. package/src/services/schema-validation.ts +284 -305
  439. package/src/services/secrets-store.ts +130 -138
  440. package/src/services/security-center.ts +64 -69
  441. package/src/services/security-txt.ts +48 -50
  442. package/src/services/snippets.ts +132 -142
  443. package/src/services/spectrum.ts +75 -80
  444. package/src/services/speed.ts +385 -397
  445. package/src/services/ssl.ts +64 -65
  446. package/src/services/stream.ts +658 -718
  447. package/src/services/tenant-custom-nameservers.ts +11 -11
  448. package/src/services/tenants.ts +86 -93
  449. package/src/services/token-validation.ts +145 -151
  450. package/src/services/turnstile.ts +344 -381
  451. package/src/services/url-normalization.ts +9 -9
  452. package/src/services/url-scanner.ts +393 -399
  453. package/src/services/user.ts +479 -503
  454. package/src/services/vectorize.ts +215 -230
  455. package/src/services/vulnerability-scanner.ts +145 -148
  456. package/src/services/waiting-rooms.ts +759 -825
  457. package/src/services/web3.ts +186 -197
  458. package/src/services/workers-for-platforms.ts +408 -432
  459. package/src/services/workers.ts +1175 -1239
  460. package/src/services/workflows.ts +585 -616
  461. package/src/services/zaraz.ts +168 -192
  462. package/src/services/zero-trust.ts +2965 -3074
  463. package/src/services/zones.ts +753 -785
@@ -71,16 +71,16 @@ export class WebhookTestFailed extends T.applyErrorMatchers(Schema.TaggedErrorCl
71
71
  ]) {
72
72
  }
73
73
  const GetDestinationPagerdutyResponseResult =
74
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
74
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
75
75
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
76
76
  name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
77
77
  }));
78
- const Error2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
78
+ const Error2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
79
79
  message: Schema.String,
80
80
  code: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
81
81
  }));
82
82
  const ListDestinationWebhooksResponseResult =
83
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
83
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
84
84
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
85
85
  createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
86
86
  lastFailure: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -112,7 +112,7 @@ const ListDestinationWebhooksResponseResult =
112
112
  type: "type",
113
113
  url: "url",
114
114
  })));
115
- const ListHistoriesResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
115
+ const ListHistoriesResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
116
116
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
117
117
  alertBody: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
118
118
  alertType: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -140,7 +140,7 @@ const ListHistoriesResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
140
140
  sent: "sent",
141
141
  })));
142
142
  const ListHistoriesResponseResultInfo =
143
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
143
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
144
144
  count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
145
145
  page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
146
146
  perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
@@ -151,7 +151,7 @@ const ListHistoriesResponseResultInfo =
151
151
  perPage: "per_page",
152
152
  totalCount: "total_count",
153
153
  })));
154
- const PolicyFilter = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
154
+ const PolicyFilter = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
155
155
  actions: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
156
156
  affectedAsns: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
157
157
  affectedComponents: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
@@ -254,15 +254,15 @@ const PolicyFilter = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Str
254
254
  where: "where",
255
255
  zones: "zones",
256
256
  })));
257
- const Email = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
257
+ const Email = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
258
258
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
259
259
  }));
260
- const Mechanism = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
260
+ const Mechanism = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
261
261
  email: Schema.optional(Schema.Union([Schema.Array(Email), Schema.Null])),
262
262
  pagerduty: Schema.optional(Schema.Union([Schema.Array(Email), Schema.Null])),
263
263
  webhooks: Schema.optional(Schema.Union([Schema.Array(Email), Schema.Null])),
264
264
  }));
265
- const ListPoliciesResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
265
+ const ListPoliciesResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
266
266
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
267
267
  alertInterval: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
268
268
  alertType: Schema.optional(Schema.Union([
@@ -361,7 +361,7 @@ const ListPoliciesResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
361
361
  modified: "modified",
362
362
  name: "name",
363
363
  })));
364
- const ListSilencesResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
364
+ const ListSilencesResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
365
365
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
366
366
  createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
367
367
  endTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -376,7 +376,7 @@ const ListSilencesResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
376
376
  startTime: "start_time",
377
377
  updatedAt: "updated_at",
378
378
  })));
379
- const Body = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
379
+ const Body = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
380
380
  endTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
381
381
  policyId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
382
382
  startTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -385,7 +385,7 @@ const Body = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
385
385
  policyId: "policy_id",
386
386
  startTime: "start_time",
387
387
  })));
388
- const Body2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
388
+ const Body2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
389
389
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
390
390
  endTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
391
391
  startTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -395,45 +395,45 @@ const Body2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
395
395
  startTime: "start_time",
396
396
  })));
397
397
  export const ListAvailableAlertsRequest =
398
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
398
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
399
399
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
400
400
  }).pipe(T.Http({
401
401
  method: "GET",
402
402
  path: "/accounts/{account_id}/alerting/v3/available_alerts",
403
403
  })));
404
404
  export const ListAvailableAlertsResponse =
405
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Record(Schema.String, Schema.Unknown).pipe(T.ResponsePath("result")));
406
- export const listAvailableAlerts = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
405
+ /*@__PURE__*/ Schema.suspend(() => Schema.Record(Schema.String, Schema.Unknown).pipe(T.ResponsePath("result")));
406
+ export const listAvailableAlerts = /*@__PURE__*/ API.make(() => ({
407
407
  input: ListAvailableAlertsRequest,
408
408
  output: ListAvailableAlertsResponse,
409
409
  errors: [InvalidRoute],
410
410
  }));
411
411
  export const GetDestinationEligibleRequest =
412
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
412
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
413
413
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
414
414
  }).pipe(T.Http({
415
415
  method: "GET",
416
416
  path: "/accounts/{account_id}/alerting/v3/destinations/eligible",
417
417
  })));
418
418
  export const GetDestinationEligibleResponse =
419
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Record(Schema.String, Schema.Unknown).pipe(T.ResponsePath("result")));
420
- export const getDestinationEligible = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
419
+ /*@__PURE__*/ Schema.suspend(() => Schema.Record(Schema.String, Schema.Unknown).pipe(T.ResponsePath("result")));
420
+ export const getDestinationEligible = /*@__PURE__*/ API.make(() => ({
421
421
  input: GetDestinationEligibleRequest,
422
422
  output: GetDestinationEligibleResponse,
423
423
  errors: [InvalidRoute],
424
424
  }));
425
425
  export const GetDestinationPagerdutyRequest =
426
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
426
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
427
427
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
428
428
  }).pipe(T.Http({
429
429
  method: "GET",
430
430
  path: "/accounts/{account_id}/alerting/v3/destinations/pagerduty",
431
431
  })));
432
432
  export const GetDestinationPagerdutyResponse =
433
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
433
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
434
434
  result: Schema.Array(GetDestinationPagerdutyResponseResult),
435
435
  }));
436
- export const getDestinationPagerduty = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
436
+ export const getDestinationPagerduty = /*@__PURE__*/ API.makePaginated(() => ({
437
437
  input: GetDestinationPagerdutyRequest,
438
438
  output: GetDestinationPagerdutyResponse,
439
439
  errors: [],
@@ -443,41 +443,41 @@ export const getDestinationPagerduty = /*@__PURE__*/ /*#__PURE__*/ API.makePagin
443
443
  },
444
444
  }));
445
445
  export const CreateDestinationPagerdutyRequest =
446
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
446
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
447
447
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
448
448
  }).pipe(T.Http({
449
449
  method: "POST",
450
450
  path: "/accounts/{account_id}/alerting/v3/destinations/pagerduty/connect",
451
451
  })));
452
452
  export const CreateDestinationPagerdutyResponse =
453
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
453
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
454
454
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
455
455
  }).pipe(T.ResponsePath("result")));
456
- export const createDestinationPagerduty = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
456
+ export const createDestinationPagerduty = /*@__PURE__*/ API.make(() => ({
457
457
  input: CreateDestinationPagerdutyRequest,
458
458
  output: CreateDestinationPagerdutyResponse,
459
459
  errors: [InvalidRoute],
460
460
  }));
461
461
  export const DeleteDestinationPagerdutyRequest =
462
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
462
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
463
463
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
464
464
  }).pipe(T.Http({
465
465
  method: "DELETE",
466
466
  path: "/accounts/{account_id}/alerting/v3/destinations/pagerduty",
467
467
  })));
468
468
  export const DeleteDestinationPagerdutyResponse =
469
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
469
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
470
470
  errors: Schema.Array(Error2),
471
471
  messages: Schema.Array(Error2),
472
472
  success: Schema.Literal(true),
473
473
  }));
474
- export const deleteDestinationPagerduty = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
474
+ export const deleteDestinationPagerduty = /*@__PURE__*/ API.make(() => ({
475
475
  input: DeleteDestinationPagerdutyRequest,
476
476
  output: DeleteDestinationPagerdutyResponse,
477
477
  errors: [InvalidRoute],
478
478
  }));
479
479
  export const LinkDestinationPagerdutyRequest =
480
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
480
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
481
481
  tokenId: Schema.String.pipe(T.HttpPath("tokenId")),
482
482
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
483
483
  }).pipe(T.Http({
@@ -485,16 +485,16 @@ export const LinkDestinationPagerdutyRequest =
485
485
  path: "/accounts/{account_id}/alerting/v3/destinations/pagerduty/connect/{tokenId}",
486
486
  })));
487
487
  export const LinkDestinationPagerdutyResponse =
488
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
488
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
489
489
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
490
490
  }).pipe(T.ResponsePath("result")));
491
- export const linkDestinationPagerduty = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
491
+ export const linkDestinationPagerduty = /*@__PURE__*/ API.make(() => ({
492
492
  input: LinkDestinationPagerdutyRequest,
493
493
  output: LinkDestinationPagerdutyResponse,
494
494
  errors: [InvalidRoute],
495
495
  }));
496
496
  export const GetDestinationWebhookRequest =
497
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
497
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
498
498
  webhookId: Schema.String.pipe(T.HttpPath("webhookId")),
499
499
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
500
500
  }).pipe(T.Http({
@@ -502,7 +502,7 @@ export const GetDestinationWebhookRequest =
502
502
  path: "/accounts/{account_id}/alerting/v3/destinations/webhooks/{webhookId}",
503
503
  })));
504
504
  export const GetDestinationWebhookResponse =
505
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
505
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
506
506
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
507
507
  createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
508
508
  lastFailure: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -536,23 +536,23 @@ export const GetDestinationWebhookResponse =
536
536
  url: "url",
537
537
  }))
538
538
  .pipe(T.ResponsePath("result")));
539
- export const getDestinationWebhook = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
539
+ export const getDestinationWebhook = /*@__PURE__*/ API.make(() => ({
540
540
  input: GetDestinationWebhookRequest,
541
541
  output: GetDestinationWebhookResponse,
542
542
  errors: [InvalidRoute, WebhookNotFound],
543
543
  }));
544
544
  export const ListDestinationWebhooksRequest =
545
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
545
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
546
546
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
547
547
  }).pipe(T.Http({
548
548
  method: "GET",
549
549
  path: "/accounts/{account_id}/alerting/v3/destinations/webhooks",
550
550
  })));
551
551
  export const ListDestinationWebhooksResponse =
552
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
552
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
553
553
  result: Schema.Array(ListDestinationWebhooksResponseResult),
554
554
  }));
555
- export const listDestinationWebhooks = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
555
+ export const listDestinationWebhooks = /*@__PURE__*/ API.makePaginated(() => ({
556
556
  input: ListDestinationWebhooksRequest,
557
557
  output: ListDestinationWebhooksResponse,
558
558
  errors: [],
@@ -562,7 +562,7 @@ export const listDestinationWebhooks = /*@__PURE__*/ /*#__PURE__*/ API.makePagin
562
562
  },
563
563
  }));
564
564
  export const CreateDestinationWebhookRequest =
565
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
565
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
566
566
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
567
567
  name: Schema.String,
568
568
  url: Schema.String,
@@ -572,16 +572,16 @@ export const CreateDestinationWebhookRequest =
572
572
  path: "/accounts/{account_id}/alerting/v3/destinations/webhooks",
573
573
  })));
574
574
  export const CreateDestinationWebhookResponse =
575
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
575
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
576
576
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
577
577
  }).pipe(T.ResponsePath("result")));
578
- export const createDestinationWebhook = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
578
+ export const createDestinationWebhook = /*@__PURE__*/ API.make(() => ({
579
579
  input: CreateDestinationWebhookRequest,
580
580
  output: CreateDestinationWebhookResponse,
581
581
  errors: [InvalidRoute, WebhookTestFailed],
582
582
  }));
583
583
  export const UpdateDestinationWebhookRequest =
584
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
584
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
585
585
  webhookId: Schema.String.pipe(T.HttpPath("webhookId")),
586
586
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
587
587
  name: Schema.String,
@@ -592,16 +592,16 @@ export const UpdateDestinationWebhookRequest =
592
592
  path: "/accounts/{account_id}/alerting/v3/destinations/webhooks/{webhookId}",
593
593
  })));
594
594
  export const UpdateDestinationWebhookResponse =
595
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
595
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
596
596
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
597
597
  }).pipe(T.ResponsePath("result")));
598
- export const updateDestinationWebhook = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
598
+ export const updateDestinationWebhook = /*@__PURE__*/ API.make(() => ({
599
599
  input: UpdateDestinationWebhookRequest,
600
600
  output: UpdateDestinationWebhookResponse,
601
601
  errors: [InvalidRoute, InvalidWebhookId, WebhookTestFailed],
602
602
  }));
603
603
  export const DeleteDestinationWebhookRequest =
604
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
604
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
605
605
  webhookId: Schema.String.pipe(T.HttpPath("webhookId")),
606
606
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
607
607
  }).pipe(T.Http({
@@ -609,17 +609,17 @@ export const DeleteDestinationWebhookRequest =
609
609
  path: "/accounts/{account_id}/alerting/v3/destinations/webhooks/{webhookId}",
610
610
  })));
611
611
  export const DeleteDestinationWebhookResponse =
612
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
612
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
613
613
  errors: Schema.Array(Error2),
614
614
  messages: Schema.Array(Error2),
615
615
  success: Schema.Literal(true),
616
616
  }));
617
- export const deleteDestinationWebhook = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
617
+ export const deleteDestinationWebhook = /*@__PURE__*/ API.make(() => ({
618
618
  input: DeleteDestinationWebhookRequest,
619
619
  output: DeleteDestinationWebhookResponse,
620
620
  errors: [InvalidRoute, InternalServerError],
621
621
  }));
622
- export const ListHistoriesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
622
+ export const ListHistoriesRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
623
623
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
624
624
  page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
625
625
  perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
@@ -629,11 +629,11 @@ export const ListHistoriesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
629
629
  method: "GET",
630
630
  path: "/accounts/{account_id}/alerting/v3/history",
631
631
  })));
632
- export const ListHistoriesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
632
+ export const ListHistoriesResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
633
633
  result: Schema.Array(ListHistoriesResponseResult),
634
634
  resultInfo: Schema.optional(Schema.Union([ListHistoriesResponseResultInfo, Schema.Null])),
635
635
  }).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
636
- export const listHistories = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
636
+ export const listHistories = /*@__PURE__*/ API.makePaginated(() => ({
637
637
  input: ListHistoriesRequest,
638
638
  output: ListHistoriesResponse,
639
639
  errors: [],
@@ -645,14 +645,14 @@ export const listHistories = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() =>
645
645
  pageSize: "perPage",
646
646
  },
647
647
  }));
648
- export const GetPolicyRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
648
+ export const GetPolicyRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
649
649
  policyId: Schema.String.pipe(T.HttpPath("policyId")),
650
650
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
651
651
  }).pipe(T.Http({
652
652
  method: "GET",
653
653
  path: "/accounts/{account_id}/alerting/v3/policies/{policyId}",
654
654
  })));
655
- export const GetPolicyResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
655
+ export const GetPolicyResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
656
656
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
657
657
  alertInterval: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
658
658
  alertType: Schema.optional(Schema.Union([
@@ -753,21 +753,21 @@ export const GetPolicyResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
753
753
  name: "name",
754
754
  }))
755
755
  .pipe(T.ResponsePath("result")));
756
- export const getPolicy = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
756
+ export const getPolicy = /*@__PURE__*/ API.make(() => ({
757
757
  input: GetPolicyRequest,
758
758
  output: GetPolicyResponse,
759
759
  errors: [InvalidRoute, PolicyNotFound],
760
760
  }));
761
- export const ListPoliciesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
761
+ export const ListPoliciesRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
762
762
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
763
763
  }).pipe(T.Http({
764
764
  method: "GET",
765
765
  path: "/accounts/{account_id}/alerting/v3/policies",
766
766
  })));
767
- export const ListPoliciesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
767
+ export const ListPoliciesResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
768
768
  result: Schema.Array(ListPoliciesResponseResult),
769
769
  }));
770
- export const listPolicies = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
770
+ export const listPolicies = /*@__PURE__*/ API.makePaginated(() => ({
771
771
  input: ListPoliciesRequest,
772
772
  output: ListPoliciesResponse,
773
773
  errors: [],
@@ -776,7 +776,7 @@ export const listPolicies = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() =>
776
776
  items: "result",
777
777
  },
778
778
  }));
779
- export const CreatePolicyRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
779
+ export const CreatePolicyRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
780
780
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
781
781
  alertType: Schema.Union([
782
782
  Schema.Literals([
@@ -870,15 +870,15 @@ export const CreatePolicyRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
870
870
  method: "POST",
871
871
  path: "/accounts/{account_id}/alerting/v3/policies",
872
872
  })));
873
- export const CreatePolicyResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
873
+ export const CreatePolicyResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
874
874
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
875
875
  }).pipe(T.ResponsePath("result")));
876
- export const createPolicy = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
876
+ export const createPolicy = /*@__PURE__*/ API.make(() => ({
877
877
  input: CreatePolicyRequest,
878
878
  output: CreatePolicyResponse,
879
879
  errors: [InvalidRoute, FiltersRequired, MechanismRequired],
880
880
  }));
881
- export const UpdatePolicyRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
881
+ export const UpdatePolicyRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
882
882
  policyId: Schema.String.pipe(T.HttpPath("policyId")),
883
883
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
884
884
  alertInterval: Schema.optional(Schema.String),
@@ -973,22 +973,22 @@ export const UpdatePolicyRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
973
973
  method: "PUT",
974
974
  path: "/accounts/{account_id}/alerting/v3/policies/{policyId}",
975
975
  })));
976
- export const UpdatePolicyResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
976
+ export const UpdatePolicyResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
977
977
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
978
978
  }).pipe(T.ResponsePath("result")));
979
- export const updatePolicy = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
979
+ export const updatePolicy = /*@__PURE__*/ API.make(() => ({
980
980
  input: UpdatePolicyRequest,
981
981
  output: UpdatePolicyResponse,
982
982
  errors: [InvalidRoute, PolicyNotFound, InvalidAlertType, MechanismRequired],
983
983
  }));
984
- export const DeletePolicyRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
984
+ export const DeletePolicyRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
985
985
  policyId: Schema.String.pipe(T.HttpPath("policyId")),
986
986
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
987
987
  }).pipe(T.Http({
988
988
  method: "DELETE",
989
989
  path: "/accounts/{account_id}/alerting/v3/policies/{policyId}",
990
990
  })));
991
- export const DeletePolicyResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
991
+ export const DeletePolicyResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
992
992
  errors: Schema.optional(Schema.Union([Schema.Array(Error2), Schema.Null])),
993
993
  messages: Schema.optional(Schema.Union([Schema.Array(Error2), Schema.Null])),
994
994
  success: Schema.optional(Schema.Union([Schema.Literal(true), Schema.Null])),
@@ -999,19 +999,19 @@ export const DeletePolicyResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
999
999
  success: "success",
1000
1000
  resultInfo: "result_info",
1001
1001
  })));
1002
- export const deletePolicy = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1002
+ export const deletePolicy = /*@__PURE__*/ API.make(() => ({
1003
1003
  input: DeletePolicyRequest,
1004
1004
  output: DeletePolicyResponse,
1005
1005
  errors: [InvalidRoute, PolicyNotFound],
1006
1006
  }));
1007
- export const GetSilenceRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1007
+ export const GetSilenceRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1008
1008
  silenceId: Schema.String.pipe(T.HttpPath("silenceId")),
1009
1009
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1010
1010
  }).pipe(T.Http({
1011
1011
  method: "GET",
1012
1012
  path: "/accounts/{account_id}/alerting/v3/silences/{silenceId}",
1013
1013
  })));
1014
- export const GetSilenceResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1014
+ export const GetSilenceResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1015
1015
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1016
1016
  createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1017
1017
  endTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -1028,21 +1028,21 @@ export const GetSilenceResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
1028
1028
  updatedAt: "updated_at",
1029
1029
  }))
1030
1030
  .pipe(T.ResponsePath("result")));
1031
- export const getSilence = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1031
+ export const getSilence = /*@__PURE__*/ API.make(() => ({
1032
1032
  input: GetSilenceRequest,
1033
1033
  output: GetSilenceResponse,
1034
1034
  errors: [InvalidRoute, InternalServerError, SilenceNotFound],
1035
1035
  }));
1036
- export const ListSilencesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1036
+ export const ListSilencesRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1037
1037
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1038
1038
  }).pipe(T.Http({
1039
1039
  method: "GET",
1040
1040
  path: "/accounts/{account_id}/alerting/v3/silences",
1041
1041
  })));
1042
- export const ListSilencesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1042
+ export const ListSilencesResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1043
1043
  result: Schema.Array(ListSilencesResponseResult),
1044
1044
  }));
1045
- export const listSilences = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
1045
+ export const listSilences = /*@__PURE__*/ API.makePaginated(() => ({
1046
1046
  input: ListSilencesRequest,
1047
1047
  output: ListSilencesResponse,
1048
1048
  errors: [],
@@ -1051,37 +1051,37 @@ export const listSilences = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() =>
1051
1051
  items: "result",
1052
1052
  },
1053
1053
  }));
1054
- export const CreateSilenceRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1054
+ export const CreateSilenceRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1055
1055
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1056
1056
  body: Schema.Array(Body).pipe(T.HttpBody()),
1057
1057
  }).pipe(T.Http({
1058
1058
  method: "POST",
1059
1059
  path: "/accounts/{account_id}/alerting/v3/silences",
1060
1060
  })));
1061
- export const CreateSilenceResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1061
+ export const CreateSilenceResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1062
1062
  errors: Schema.Array(Error2),
1063
1063
  messages: Schema.Array(Error2),
1064
1064
  success: Schema.Literal(true),
1065
1065
  }));
1066
- export const createSilence = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1066
+ export const createSilence = /*@__PURE__*/ API.make(() => ({
1067
1067
  input: CreateSilenceRequest,
1068
1068
  output: CreateSilenceResponse,
1069
1069
  errors: [InvalidRoute, InvalidSilence, SilenceAlreadyExists],
1070
1070
  }));
1071
- export const UpdateSilenceRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1071
+ export const UpdateSilenceRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1072
1072
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1073
1073
  body: Schema.Array(Body2).pipe(T.HttpBody()),
1074
1074
  }).pipe(T.Http({
1075
1075
  method: "PUT",
1076
1076
  path: "/accounts/{account_id}/alerting/v3/silences",
1077
1077
  })));
1078
- export const UpdateSilenceResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1078
+ export const UpdateSilenceResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1079
1079
  result: Schema.Union([
1080
1080
  Schema.Array(ListSilencesResponseResult),
1081
1081
  Schema.Null,
1082
1082
  ]),
1083
1083
  }));
1084
- export const updateSilence = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
1084
+ export const updateSilence = /*@__PURE__*/ API.makePaginated(() => ({
1085
1085
  input: UpdateSilenceRequest,
1086
1086
  output: UpdateSilenceResponse,
1087
1087
  errors: [SilenceNotFound, InvalidSilence],
@@ -1090,19 +1090,19 @@ export const updateSilence = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() =>
1090
1090
  items: "result",
1091
1091
  },
1092
1092
  }));
1093
- export const DeleteSilenceRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1093
+ export const DeleteSilenceRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1094
1094
  silenceId: Schema.String.pipe(T.HttpPath("silenceId")),
1095
1095
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1096
1096
  }).pipe(T.Http({
1097
1097
  method: "DELETE",
1098
1098
  path: "/accounts/{account_id}/alerting/v3/silences/{silenceId}",
1099
1099
  })));
1100
- export const DeleteSilenceResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1100
+ export const DeleteSilenceResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1101
1101
  errors: Schema.Array(Error2),
1102
1102
  messages: Schema.Array(Error2),
1103
1103
  success: Schema.Literal(true),
1104
1104
  }));
1105
- export const deleteSilence = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1105
+ export const deleteSilence = /*@__PURE__*/ API.make(() => ({
1106
1106
  input: DeleteSilenceRequest,
1107
1107
  output: DeleteSilenceResponse,
1108
1108
  errors: [InvalidRoute, SilenceNotFound],