@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
@@ -97,7 +97,7 @@ export class WorkerNotFound extends T.applyErrorMatchers(Schema.TaggedErrorClass
97
97
  message: Schema.String,
98
98
  }), [{ code: 10007 }]) {
99
99
  }
100
- const Settings = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
100
+ const Settings = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
101
101
  batchSize: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
102
102
  maxConcurrency: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
103
103
  maxRetries: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
@@ -110,7 +110,7 @@ const Settings = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct(
110
110
  maxWaitTimeMs: "max_wait_time_ms",
111
111
  retryDelay: "retry_delay",
112
112
  })));
113
- const MqWorkerConsumerResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
113
+ const MqWorkerConsumerResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
114
114
  consumerId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
115
115
  createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
116
116
  deadLetterQueue: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -127,7 +127,7 @@ const MqWorkerConsumerResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
127
127
  settings: "settings",
128
128
  type: "type",
129
129
  })));
130
- const Settings2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
130
+ const Settings2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
131
131
  batchSize: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
132
132
  maxRetries: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
133
133
  retryDelay: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
@@ -138,7 +138,7 @@ const Settings2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct
138
138
  retryDelay: "retry_delay",
139
139
  visibilityTimeoutMs: "visibility_timeout_ms",
140
140
  })));
141
- const MqHTTPConsumerResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
141
+ const MqHTTPConsumerResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
142
142
  consumerId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
143
143
  createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
144
144
  deadLetterQueue: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -153,7 +153,7 @@ const MqHTTPConsumerResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
153
153
  settings: "settings",
154
154
  type: "type",
155
155
  })));
156
- const Settings3 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
156
+ const Settings3 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
157
157
  batchSize: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
158
158
  maxConcurrency: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
159
159
  maxRetries: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
@@ -168,7 +168,7 @@ const Settings3 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct
168
168
  retryDelay: "retry_delay",
169
169
  visibilityTimeoutMs: "visibility_timeout_ms",
170
170
  })));
171
- const MqWorkerConsumerResponse2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
171
+ const MqWorkerConsumerResponse2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
172
172
  consumerId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
173
173
  createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
174
174
  deadLetterQueue: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -185,10 +185,10 @@ const MqWorkerConsumerResponse2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
185
185
  settings: "settings",
186
186
  type: "type",
187
187
  })));
188
- const Source = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
188
+ const Source = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
189
189
  pointer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
190
190
  }));
191
- const ResponseInfo = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
191
+ const ResponseInfo = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
192
192
  code: Schema.Number,
193
193
  message: Schema.String,
194
194
  documentationUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -199,7 +199,7 @@ const ResponseInfo = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Str
199
199
  documentationUrl: "documentation_url",
200
200
  source: "source",
201
201
  })));
202
- const MqQueueMessageText = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
202
+ const MqQueueMessageText = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
203
203
  body: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
204
204
  contentType: Schema.optional(Schema.Union([Schema.Literal("text"), Schema.Null])),
205
205
  delaySeconds: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
@@ -208,7 +208,7 @@ const MqQueueMessageText = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Sche
208
208
  contentType: "content_type",
209
209
  delaySeconds: "delay_seconds",
210
210
  })));
211
- const MqQueueMessageJson = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
211
+ const MqQueueMessageJson = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
212
212
  body: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
213
213
  contentType: Schema.optional(Schema.Union([Schema.Literal("json"), Schema.Null])),
214
214
  delaySeconds: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
@@ -217,7 +217,7 @@ const MqQueueMessageJson = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Sche
217
217
  contentType: "content_type",
218
218
  delaySeconds: "delay_seconds",
219
219
  })));
220
- const Metrics = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
220
+ const Metrics = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
221
221
  backlogBytes: Schema.Number,
222
222
  backlogCount: Schema.Number,
223
223
  oldestMessageTimestampMs: Schema.Number,
@@ -226,10 +226,10 @@ const Metrics = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
226
226
  backlogCount: "backlog_count",
227
227
  oldestMessageTimestampMs: "oldest_message_timestamp_ms",
228
228
  })));
229
- const Metadata = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
229
+ const Metadata = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
230
230
  metrics: Schema.optional(Schema.Union([Metrics, Schema.Null])),
231
231
  }));
232
- const Message = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
232
+ const Message = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
233
233
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
234
234
  attempts: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
235
235
  body: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -244,22 +244,22 @@ const Message = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
244
244
  metadata: "metadata",
245
245
  timestampMs: "timestamp_ms",
246
246
  })));
247
- const Ack = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
247
+ const Ack = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
248
248
  leaseId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
249
249
  }).pipe(Schema.encodeKeys({ leaseId: "lease_id" })));
250
- const Retry = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
250
+ const Retry = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
251
251
  delaySeconds: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
252
252
  leaseId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
253
253
  }).pipe(Schema.encodeKeys({ delaySeconds: "delay_seconds", leaseId: "lease_id" })));
254
- const MqWorkerProducer = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
254
+ const MqWorkerProducer = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
255
255
  script: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
256
256
  type: Schema.optional(Schema.Union([Schema.Literal("worker"), Schema.Null])),
257
257
  }));
258
- const MqR2Producer = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
258
+ const MqR2Producer = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
259
259
  bucketName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
260
260
  type: Schema.optional(Schema.Union([Schema.Literal("r2_bucket"), Schema.Null])),
261
261
  }).pipe(Schema.encodeKeys({ bucketName: "bucket_name", type: "type" })));
262
- const Settings4 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
262
+ const Settings4 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
263
263
  deliveryDelay: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
264
264
  deliveryPaused: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
265
265
  messageRetentionPeriod: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
@@ -268,7 +268,7 @@ const Settings4 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct
268
268
  deliveryPaused: "delivery_paused",
269
269
  messageRetentionPeriod: "message_retention_period",
270
270
  })));
271
- const ListQueuesResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
271
+ const ListQueuesResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
272
272
  consumers: Schema.optional(Schema.Union([
273
273
  Schema.Array(Schema.Union([MqWorkerConsumerResponse, MqHTTPConsumerResponse])),
274
274
  Schema.Null,
@@ -295,41 +295,41 @@ const ListQueuesResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
295
295
  queueName: "queue_name",
296
296
  settings: "settings",
297
297
  })));
298
- const Destination = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
298
+ const Destination = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
299
299
  queueId: Schema.String,
300
300
  type: Schema.Literal("queues.queue"),
301
301
  }).pipe(Schema.encodeKeys({ queueId: "queue_id", type: "type" })));
302
- const MqEventSourceImages = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
302
+ const MqEventSourceImages = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
303
303
  type: Schema.optional(Schema.Union([Schema.Literal("images"), Schema.Null])),
304
304
  }));
305
- const MqEventSourceKV = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
305
+ const MqEventSourceKV = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
306
306
  type: Schema.optional(Schema.Union([Schema.Literal("kv"), Schema.Null])),
307
307
  }));
308
- const MqEventSourceR2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
308
+ const MqEventSourceR2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
309
309
  type: Schema.optional(Schema.Union([Schema.Literal("r2"), Schema.Null])),
310
310
  }));
311
- const MqEventSourceSuperSlurper = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
311
+ const MqEventSourceSuperSlurper = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
312
312
  type: Schema.optional(Schema.Union([Schema.Literal("superSlurper"), Schema.Null])),
313
313
  }));
314
- const MqEventSourceVectorize = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
314
+ const MqEventSourceVectorize = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
315
315
  type: Schema.optional(Schema.Union([Schema.Literal("vectorize"), Schema.Null])),
316
316
  }));
317
- const MqEventSourceWorkersAIModel = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
317
+ const MqEventSourceWorkersAIModel = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
318
318
  modelName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
319
319
  type: Schema.optional(Schema.Union([Schema.Literal("workersAi.model"), Schema.Null])),
320
320
  }).pipe(Schema.encodeKeys({ modelName: "model_name", type: "type" })));
321
321
  const MqEventSourceWorkersBuildsWorker =
322
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
322
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
323
323
  type: Schema.optional(Schema.Union([Schema.Literal("workersBuilds.worker"), Schema.Null])),
324
324
  workerName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
325
325
  }).pipe(Schema.encodeKeys({ type: "type", workerName: "worker_name" })));
326
326
  const MqEventSourceWorkflowsWorkflow =
327
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
327
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
328
328
  type: Schema.optional(Schema.Union([Schema.Literal("workflows.workflow"), Schema.Null])),
329
329
  workflowName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
330
330
  }).pipe(Schema.encodeKeys({ type: "type", workflowName: "workflow_name" })));
331
331
  const ListSubscriptionsResponseResult =
332
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
332
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
333
333
  id: Schema.String,
334
334
  createdAt: Schema.String,
335
335
  destination: Destination,
@@ -358,7 +358,7 @@ const ListSubscriptionsResponseResult =
358
358
  source: "source",
359
359
  })));
360
360
  const ListSubscriptionsResponseResultInfo =
361
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
361
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
362
362
  count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
363
363
  page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
364
364
  perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
@@ -369,7 +369,7 @@ const ListSubscriptionsResponseResultInfo =
369
369
  perPage: "per_page",
370
370
  totalCount: "total_count",
371
371
  })));
372
- export const GetConsumerRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
372
+ export const GetConsumerRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
373
373
  queueId: Schema.String.pipe(T.HttpPath("queueId")),
374
374
  consumerId: Schema.String.pipe(T.HttpPath("consumerId")),
375
375
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -377,23 +377,23 @@ export const GetConsumerRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
377
377
  method: "GET",
378
378
  path: "/accounts/{account_id}/queues/{queueId}/consumers/{consumerId}",
379
379
  })));
380
- export const GetConsumerResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Union([MqWorkerConsumerResponse, MqHTTPConsumerResponse]).pipe(T.ResponsePath("result")));
381
- export const getConsumer = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
380
+ export const GetConsumerResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Union([MqWorkerConsumerResponse, MqHTTPConsumerResponse]).pipe(T.ResponsePath("result")));
381
+ export const getConsumer = /*@__PURE__*/ API.make(() => ({
382
382
  input: GetConsumerRequest,
383
383
  output: GetConsumerResponse,
384
384
  errors: [InvalidRequestBody, QueueNotFound, ConsumerNotFound, InvalidRoute],
385
385
  }));
386
- export const ListConsumersRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
386
+ export const ListConsumersRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
387
387
  queueId: Schema.String.pipe(T.HttpPath("queueId")),
388
388
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
389
389
  }).pipe(T.Http({
390
390
  method: "GET",
391
391
  path: "/accounts/{account_id}/queues/{queueId}/consumers",
392
392
  })));
393
- export const ListConsumersResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
393
+ export const ListConsumersResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
394
394
  result: Schema.Array(Schema.Union([MqWorkerConsumerResponse, MqHTTPConsumerResponse])),
395
395
  }));
396
- export const listConsumers = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
396
+ export const listConsumers = /*@__PURE__*/ API.makePaginated(() => ({
397
397
  input: ListConsumersRequest,
398
398
  output: ListConsumersResponse,
399
399
  errors: [InvalidRequestBody, QueueNotFound, InvalidRoute],
@@ -402,7 +402,7 @@ export const listConsumers = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() =>
402
402
  items: "result",
403
403
  },
404
404
  }));
405
- export const CreateConsumerRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
405
+ export const CreateConsumerRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
406
406
  queueId: Schema.String.pipe(T.HttpPath("queueId")),
407
407
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
408
408
  scriptName: Schema.optional(Schema.String),
@@ -422,8 +422,8 @@ export const CreateConsumerRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
422
422
  path: "/accounts/{account_id}/queues/{queueId}/consumers",
423
423
  })));
424
424
  export const CreateConsumerResponse =
425
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Union([MqWorkerConsumerResponse2, MqHTTPConsumerResponse]).pipe(T.ResponsePath("result")));
426
- export const createConsumer = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
425
+ /*@__PURE__*/ Schema.suspend(() => Schema.Union([MqWorkerConsumerResponse2, MqHTTPConsumerResponse]).pipe(T.ResponsePath("result")));
426
+ export const createConsumer = /*@__PURE__*/ API.make(() => ({
427
427
  input: CreateConsumerRequest,
428
428
  output: CreateConsumerResponse,
429
429
  errors: [
@@ -435,7 +435,7 @@ export const createConsumer = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
435
435
  InvalidRoute,
436
436
  ],
437
437
  }));
438
- export const UpdateConsumerRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
438
+ export const UpdateConsumerRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
439
439
  queueId: Schema.String.pipe(T.HttpPath("queueId")),
440
440
  consumerId: Schema.String.pipe(T.HttpPath("consumerId")),
441
441
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -456,8 +456,8 @@ export const UpdateConsumerRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
456
456
  path: "/accounts/{account_id}/queues/{queueId}/consumers/{consumerId}",
457
457
  })));
458
458
  export const UpdateConsumerResponse =
459
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Union([MqWorkerConsumerResponse2, MqHTTPConsumerResponse]).pipe(T.ResponsePath("result")));
460
- export const updateConsumer = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
459
+ /*@__PURE__*/ Schema.suspend(() => Schema.Union([MqWorkerConsumerResponse2, MqHTTPConsumerResponse]).pipe(T.ResponsePath("result")));
460
+ export const updateConsumer = /*@__PURE__*/ API.make(() => ({
461
461
  input: UpdateConsumerRequest,
462
462
  output: UpdateConsumerResponse,
463
463
  errors: [
@@ -469,7 +469,7 @@ export const updateConsumer = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
469
469
  InvalidRoute,
470
470
  ],
471
471
  }));
472
- export const DeleteConsumerRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
472
+ export const DeleteConsumerRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
473
473
  queueId: Schema.String.pipe(T.HttpPath("queueId")),
474
474
  consumerId: Schema.String.pipe(T.HttpPath("consumerId")),
475
475
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -478,18 +478,18 @@ export const DeleteConsumerRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
478
478
  path: "/accounts/{account_id}/queues/{queueId}/consumers/{consumerId}",
479
479
  })));
480
480
  export const DeleteConsumerResponse =
481
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
481
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
482
482
  errors: Schema.optional(Schema.Union([Schema.Array(ResponseInfo), Schema.Null])),
483
483
  messages: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
484
484
  success: Schema.optional(Schema.Union([Schema.Literal(true), Schema.Null])),
485
485
  }));
486
- export const deleteConsumer = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
486
+ export const deleteConsumer = /*@__PURE__*/ API.make(() => ({
487
487
  input: DeleteConsumerRequest,
488
488
  output: DeleteConsumerResponse,
489
489
  errors: [InvalidRequestBody, QueueNotFound, ConsumerNotFound, InvalidRoute],
490
490
  }));
491
491
  export const BulkPushMessagesRequest =
492
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
492
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
493
493
  queueId: Schema.String.pipe(T.HttpPath("queueId")),
494
494
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
495
495
  delaySeconds: Schema.optional(Schema.Number),
@@ -502,15 +502,15 @@ export const BulkPushMessagesRequest =
502
502
  path: "/accounts/{account_id}/queues/{queueId}/messages/batch",
503
503
  })));
504
504
  export const BulkPushMessagesResponse =
505
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
505
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
506
506
  metadata: Schema.optional(Schema.Union([Metadata, Schema.Null])),
507
507
  }).pipe(T.ResponsePath("result")));
508
- export const bulkPushMessages = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
508
+ export const bulkPushMessages = /*@__PURE__*/ API.make(() => ({
509
509
  input: BulkPushMessagesRequest,
510
510
  output: BulkPushMessagesResponse,
511
511
  errors: [InvalidMessageBody, InvalidQueueId, InvalidRoute],
512
512
  }));
513
- export const PullMessageRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
513
+ export const PullMessageRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
514
514
  queueId: Schema.String.pipe(T.HttpPath("queueId")),
515
515
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
516
516
  batchSize: Schema.optional(Schema.Number),
@@ -522,7 +522,7 @@ export const PullMessageRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
522
522
  method: "POST",
523
523
  path: "/accounts/{account_id}/queues/{queueId}/messages/pull",
524
524
  })));
525
- export const PullMessageResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
525
+ export const PullMessageResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
526
526
  messageBacklogCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
527
527
  messages: Schema.optional(Schema.Union([Schema.Array(Message), Schema.Null])),
528
528
  metadata: Schema.optional(Schema.Union([Metadata, Schema.Null])),
@@ -533,12 +533,12 @@ export const PullMessageResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
533
533
  metadata: "metadata",
534
534
  }))
535
535
  .pipe(T.ResponsePath("result")));
536
- export const pullMessage = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
536
+ export const pullMessage = /*@__PURE__*/ API.make(() => ({
537
537
  input: PullMessageRequest,
538
538
  output: PullMessageResponse,
539
539
  errors: [InvalidRequestBody, InvalidQueueId, QueueNotFound, InvalidRoute],
540
540
  }));
541
- export const PushMessageRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
541
+ export const PushMessageRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
542
542
  queueId: Schema.String.pipe(T.HttpPath("queueId")),
543
543
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
544
544
  body: Schema.optional(Schema.String),
@@ -552,15 +552,15 @@ export const PushMessageRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
552
552
  method: "POST",
553
553
  path: "/accounts/{account_id}/queues/{queueId}/messages",
554
554
  })));
555
- export const PushMessageResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
555
+ export const PushMessageResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
556
556
  metadata: Schema.optional(Schema.Union([Metadata, Schema.Null])),
557
557
  }).pipe(T.ResponsePath("result")));
558
- export const pushMessage = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
558
+ export const pushMessage = /*@__PURE__*/ API.make(() => ({
559
559
  input: PushMessageRequest,
560
560
  output: PushMessageResponse,
561
561
  errors: [InvalidMessageBody, InvalidQueueId, InvalidRoute],
562
562
  }));
563
- export const AckMessageRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
563
+ export const AckMessageRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
564
564
  queueId: Schema.String.pipe(T.HttpPath("queueId")),
565
565
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
566
566
  acks: Schema.optional(Schema.Array(Ack)),
@@ -569,21 +569,18 @@ export const AckMessageRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
569
569
  method: "POST",
570
570
  path: "/accounts/{account_id}/queues/{queueId}/messages/ack",
571
571
  })));
572
- export const AckMessageResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
572
+ export const AckMessageResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
573
573
  ackCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
574
574
  retryCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
575
- warnings: Schema.optional(Schema.Union([
576
- Schema.Record(Schema.String, Schema.Unknown),
577
- Schema.Null,
578
- ])),
575
+ warnings: Schema.optional(Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null])),
579
576
  }).pipe(T.ResponsePath("result")));
580
- export const ackMessage = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
577
+ export const ackMessage = /*@__PURE__*/ API.make(() => ({
581
578
  input: AckMessageRequest,
582
579
  output: AckMessageResponse,
583
580
  errors: [InvalidRequestBody, InvalidQueueId, QueueNotFound, InvalidRoute],
584
581
  }));
585
582
  export const GetMetricsQueueRequest =
586
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
583
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
587
584
  queueId: Schema.String.pipe(T.HttpPath("queueId")),
588
585
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
589
586
  }).pipe(T.Http({
@@ -591,7 +588,7 @@ export const GetMetricsQueueRequest =
591
588
  path: "/accounts/{account_id}/queues/{queueId}/metrics",
592
589
  })));
593
590
  export const GetMetricsQueueResponse =
594
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
591
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
595
592
  backlogBytes: Schema.Number,
596
593
  backlogCount: Schema.Number,
597
594
  oldestMessageTimestampMs: Schema.Number,
@@ -602,12 +599,12 @@ export const GetMetricsQueueResponse =
602
599
  oldestMessageTimestampMs: "oldest_message_timestamp_ms",
603
600
  }))
604
601
  .pipe(T.ResponsePath("result")));
605
- export const getMetricsQueue = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
602
+ export const getMetricsQueue = /*@__PURE__*/ API.make(() => ({
606
603
  input: GetMetricsQueueRequest,
607
604
  output: GetMetricsQueueResponse,
608
605
  errors: [],
609
606
  }));
610
- export const StartPurgeRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
607
+ export const StartPurgeRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
611
608
  queueId: Schema.String.pipe(T.HttpPath("queueId")),
612
609
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
613
610
  deleteMessagesPermanently: Schema.optional(Schema.Boolean),
@@ -617,7 +614,7 @@ export const StartPurgeRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
617
614
  method: "POST",
618
615
  path: "/accounts/{account_id}/queues/{queueId}/purge",
619
616
  })));
620
- export const StartPurgeResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
617
+ export const StartPurgeResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
621
618
  consumers: Schema.optional(Schema.Union([
622
619
  Schema.Array(Schema.Union([MqWorkerConsumerResponse2, MqHTTPConsumerResponse])),
623
620
  Schema.Null,
@@ -646,34 +643,34 @@ export const StartPurgeResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
646
643
  settings: "settings",
647
644
  }))
648
645
  .pipe(T.ResponsePath("result")));
649
- export const startPurge = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
646
+ export const startPurge = /*@__PURE__*/ API.make(() => ({
650
647
  input: StartPurgeRequest,
651
648
  output: StartPurgeResponse,
652
649
  errors: [InvalidQueueId, InvalidRoute],
653
650
  }));
654
- export const StatusPurgeRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
651
+ export const StatusPurgeRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
655
652
  queueId: Schema.String.pipe(T.HttpPath("queueId")),
656
653
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
657
654
  }).pipe(T.Http({
658
655
  method: "GET",
659
656
  path: "/accounts/{account_id}/queues/{queueId}/purge",
660
657
  })));
661
- export const StatusPurgeResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
658
+ export const StatusPurgeResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
662
659
  completed: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
663
660
  startedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
664
661
  })
665
662
  .pipe(Schema.encodeKeys({ completed: "completed", startedAt: "started_at" }))
666
663
  .pipe(T.ResponsePath("result")));
667
- export const statusPurge = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
664
+ export const statusPurge = /*@__PURE__*/ API.make(() => ({
668
665
  input: StatusPurgeRequest,
669
666
  output: StatusPurgeResponse,
670
667
  errors: [InvalidQueueId, InvalidRoute],
671
668
  }));
672
- export const GetQueueRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
669
+ export const GetQueueRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
673
670
  queueId: Schema.String.pipe(T.HttpPath("queueId")),
674
671
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
675
672
  }).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/queues/{queueId}" })));
676
- export const GetQueueResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
673
+ export const GetQueueResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
677
674
  consumers: Schema.optional(Schema.Union([
678
675
  Schema.Array(Schema.Union([MqWorkerConsumerResponse, MqHTTPConsumerResponse])),
679
676
  Schema.Null,
@@ -702,18 +699,18 @@ export const GetQueueResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
702
699
  settings: "settings",
703
700
  }))
704
701
  .pipe(T.ResponsePath("result")));
705
- export const getQueue = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
702
+ export const getQueue = /*@__PURE__*/ API.make(() => ({
706
703
  input: GetQueueRequest,
707
704
  output: GetQueueResponse,
708
705
  errors: [QueueNotFound, InvalidRoute],
709
706
  }));
710
- export const ListQueuesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
707
+ export const ListQueuesRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
711
708
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
712
709
  }).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/queues" })));
713
- export const ListQueuesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
710
+ export const ListQueuesResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
714
711
  result: Schema.Array(ListQueuesResponseResult),
715
712
  }));
716
- export const listQueues = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
713
+ export const listQueues = /*@__PURE__*/ API.makePaginated(() => ({
717
714
  input: ListQueuesRequest,
718
715
  output: ListQueuesResponse,
719
716
  errors: [InvalidRoute],
@@ -722,11 +719,11 @@ export const listQueues = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
722
719
  items: "result",
723
720
  },
724
721
  }));
725
- export const CreateQueueRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
722
+ export const CreateQueueRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
726
723
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
727
724
  queueName: Schema.String,
728
725
  }).pipe(Schema.encodeKeys({ queueName: "queue_name" }), T.Http({ method: "POST", path: "/accounts/{account_id}/queues" })));
729
- export const CreateQueueResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
726
+ export const CreateQueueResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
730
727
  consumers: Schema.optional(Schema.Union([
731
728
  Schema.Array(Schema.Union([MqWorkerConsumerResponse2, MqHTTPConsumerResponse])),
732
729
  Schema.Null,
@@ -755,12 +752,12 @@ export const CreateQueueResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
755
752
  settings: "settings",
756
753
  }))
757
754
  .pipe(T.ResponsePath("result")));
758
- export const createQueue = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
755
+ export const createQueue = /*@__PURE__*/ API.make(() => ({
759
756
  input: CreateQueueRequest,
760
757
  output: CreateQueueResponse,
761
758
  errors: [QueueAlreadyExists, InvalidQueueName, InvalidRoute],
762
759
  }));
763
- export const UpdateQueueRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
760
+ export const UpdateQueueRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
764
761
  queueId: Schema.String.pipe(T.HttpPath("queueId")),
765
762
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
766
763
  queueName: Schema.optional(Schema.String),
@@ -769,7 +766,7 @@ export const UpdateQueueRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
769
766
  method: "PUT",
770
767
  path: "/accounts/{account_id}/queues/{queueId}",
771
768
  })));
772
- export const UpdateQueueResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
769
+ export const UpdateQueueResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
773
770
  consumers: Schema.optional(Schema.Union([
774
771
  Schema.Array(Schema.Union([MqWorkerConsumerResponse2, MqHTTPConsumerResponse])),
775
772
  Schema.Null,
@@ -798,12 +795,12 @@ export const UpdateQueueResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
798
795
  settings: "settings",
799
796
  }))
800
797
  .pipe(T.ResponsePath("result")));
801
- export const updateQueue = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
798
+ export const updateQueue = /*@__PURE__*/ API.make(() => ({
802
799
  input: UpdateQueueRequest,
803
800
  output: UpdateQueueResponse,
804
801
  errors: [InvalidQueueName, QueueNotFound, InvalidRoute],
805
802
  }));
806
- export const PatchQueueRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
803
+ export const PatchQueueRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
807
804
  queueId: Schema.String.pipe(T.HttpPath("queueId")),
808
805
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
809
806
  queueName: Schema.optional(Schema.String),
@@ -812,7 +809,7 @@ export const PatchQueueRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
812
809
  method: "PATCH",
813
810
  path: "/accounts/{account_id}/queues/{queueId}",
814
811
  })));
815
- export const PatchQueueResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
812
+ export const PatchQueueResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
816
813
  consumers: Schema.optional(Schema.Union([
817
814
  Schema.Array(Schema.Union([MqWorkerConsumerResponse2, MqHTTPConsumerResponse])),
818
815
  Schema.Null,
@@ -841,30 +838,30 @@ export const PatchQueueResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
841
838
  settings: "settings",
842
839
  }))
843
840
  .pipe(T.ResponsePath("result")));
844
- export const patchQueue = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
841
+ export const patchQueue = /*@__PURE__*/ API.make(() => ({
845
842
  input: PatchQueueRequest,
846
843
  output: PatchQueueResponse,
847
844
  errors: [QueueNotFound, InvalidRoute],
848
845
  }));
849
- export const DeleteQueueRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
846
+ export const DeleteQueueRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
850
847
  queueId: Schema.String.pipe(T.HttpPath("queueId")),
851
848
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
852
849
  }).pipe(T.Http({
853
850
  method: "DELETE",
854
851
  path: "/accounts/{account_id}/queues/{queueId}",
855
852
  })));
856
- export const DeleteQueueResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
853
+ export const DeleteQueueResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
857
854
  errors: Schema.optional(Schema.Union([Schema.Array(ResponseInfo), Schema.Null])),
858
855
  messages: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
859
856
  success: Schema.optional(Schema.Union([Schema.Literal(true), Schema.Null])),
860
857
  }));
861
- export const deleteQueue = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
858
+ export const deleteQueue = /*@__PURE__*/ API.make(() => ({
862
859
  input: DeleteQueueRequest,
863
860
  output: DeleteQueueResponse,
864
861
  errors: [QueueNotFound, QueueInUseByEventNotification, InvalidRoute],
865
862
  }));
866
863
  export const GetSubscriptionRequest =
867
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
864
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
868
865
  subscriptionId: Schema.String.pipe(T.HttpPath("subscriptionId")),
869
866
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
870
867
  }).pipe(T.Http({
@@ -872,7 +869,7 @@ export const GetSubscriptionRequest =
872
869
  path: "/accounts/{account_id}/event_subscriptions/subscriptions/{subscriptionId}",
873
870
  })));
874
871
  export const GetSubscriptionResponse =
875
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
872
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
876
873
  id: Schema.String,
877
874
  createdAt: Schema.String,
878
875
  destination: Destination,
@@ -902,13 +899,13 @@ export const GetSubscriptionResponse =
902
899
  source: "source",
903
900
  }))
904
901
  .pipe(T.ResponsePath("result")));
905
- export const getSubscription = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
902
+ export const getSubscription = /*@__PURE__*/ API.make(() => ({
906
903
  input: GetSubscriptionRequest,
907
904
  output: GetSubscriptionResponse,
908
905
  errors: [UnrecognizedEventType, SubscriptionNotFound, Forbidden],
909
906
  }));
910
907
  export const ListSubscriptionsRequest =
911
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
908
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
912
909
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
913
910
  page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
914
911
  perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
@@ -922,11 +919,11 @@ export const ListSubscriptionsRequest =
922
919
  path: "/accounts/{account_id}/event_subscriptions/subscriptions",
923
920
  })));
924
921
  export const ListSubscriptionsResponse =
925
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
922
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
926
923
  result: Schema.Array(ListSubscriptionsResponseResult),
927
924
  resultInfo: Schema.optional(Schema.Union([ListSubscriptionsResponseResultInfo, Schema.Null])),
928
925
  }).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
929
- export const listSubscriptions = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
926
+ export const listSubscriptions = /*@__PURE__*/ API.makePaginated(() => ({
930
927
  input: ListSubscriptionsRequest,
931
928
  output: ListSubscriptionsResponse,
932
929
  errors: [Forbidden],
@@ -939,7 +936,7 @@ export const listSubscriptions = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated((
939
936
  },
940
937
  }));
941
938
  export const CreateSubscriptionRequest =
942
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
939
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
943
940
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
944
941
  destination: Schema.optional(Destination),
945
942
  enabled: Schema.optional(Schema.Boolean),
@@ -960,7 +957,7 @@ export const CreateSubscriptionRequest =
960
957
  path: "/accounts/{account_id}/event_subscriptions/subscriptions",
961
958
  })));
962
959
  export const CreateSubscriptionResponse =
963
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
960
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
964
961
  id: Schema.String,
965
962
  createdAt: Schema.String,
966
963
  destination: Destination,
@@ -990,13 +987,13 @@ export const CreateSubscriptionResponse =
990
987
  source: "source",
991
988
  }))
992
989
  .pipe(T.ResponsePath("result")));
993
- export const createSubscription = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
990
+ export const createSubscription = /*@__PURE__*/ API.make(() => ({
994
991
  input: CreateSubscriptionRequest,
995
992
  output: CreateSubscriptionResponse,
996
993
  errors: [UnrecognizedEventType, SubscriptionAlreadyExists, QueueNotFound],
997
994
  }));
998
995
  export const PatchSubscriptionRequest =
999
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
996
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1000
997
  subscriptionId: Schema.String.pipe(T.HttpPath("subscriptionId")),
1001
998
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1002
999
  destination: Schema.optional(Destination),
@@ -1008,7 +1005,7 @@ export const PatchSubscriptionRequest =
1008
1005
  path: "/accounts/{account_id}/event_subscriptions/subscriptions/{subscriptionId}",
1009
1006
  })));
1010
1007
  export const PatchSubscriptionResponse =
1011
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1008
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1012
1009
  id: Schema.String,
1013
1010
  createdAt: Schema.String,
1014
1011
  destination: Destination,
@@ -1038,13 +1035,13 @@ export const PatchSubscriptionResponse =
1038
1035
  source: "source",
1039
1036
  }))
1040
1037
  .pipe(T.ResponsePath("result")));
1041
- export const patchSubscription = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1038
+ export const patchSubscription = /*@__PURE__*/ API.make(() => ({
1042
1039
  input: PatchSubscriptionRequest,
1043
1040
  output: PatchSubscriptionResponse,
1044
1041
  errors: [UnrecognizedEventType, SubscriptionNotFound, QueueNotFound],
1045
1042
  }));
1046
1043
  export const DeleteSubscriptionRequest =
1047
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1044
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1048
1045
  subscriptionId: Schema.String.pipe(T.HttpPath("subscriptionId")),
1049
1046
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1050
1047
  }).pipe(T.Http({
@@ -1052,7 +1049,7 @@ export const DeleteSubscriptionRequest =
1052
1049
  path: "/accounts/{account_id}/event_subscriptions/subscriptions/{subscriptionId}",
1053
1050
  })));
1054
1051
  export const DeleteSubscriptionResponse =
1055
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1052
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1056
1053
  id: Schema.String,
1057
1054
  createdAt: Schema.String,
1058
1055
  destination: Destination,
@@ -1082,7 +1079,7 @@ export const DeleteSubscriptionResponse =
1082
1079
  source: "source",
1083
1080
  }))
1084
1081
  .pipe(T.ResponsePath("result")));
1085
- export const deleteSubscription = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1082
+ export const deleteSubscription = /*@__PURE__*/ API.make(() => ({
1086
1083
  input: DeleteSubscriptionRequest,
1087
1084
  output: DeleteSubscriptionResponse,
1088
1085
  errors: [UnrecognizedEventType, SubscriptionNotFound],