@distilled.cloud/cloudflare 0.29.0 → 0.29.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (458) hide show
  1. package/lib/services/abuse-reports.d.ts.map +1 -1
  2. package/lib/services/abuse-reports.js +26 -26
  3. package/lib/services/abuse-reports.js.map +1 -1
  4. package/lib/services/accounts.d.ts.map +1 -1
  5. package/lib/services/accounts.js +114 -123
  6. package/lib/services/accounts.js.map +1 -1
  7. package/lib/services/acm.d.ts.map +1 -1
  8. package/lib/services/acm.js +23 -23
  9. package/lib/services/acm.js.map +1 -1
  10. package/lib/services/addressing.d.ts.map +1 -1
  11. package/lib/services/addressing.js +132 -132
  12. package/lib/services/addressing.js.map +1 -1
  13. package/lib/services/ai-gateway.d.ts.map +1 -1
  14. package/lib/services/ai-gateway.js +213 -207
  15. package/lib/services/ai-gateway.js.map +1 -1
  16. package/lib/services/ai-security.d.ts.map +1 -1
  17. package/lib/services/ai-security.js +13 -13
  18. package/lib/services/ai-security.js.map +1 -1
  19. package/lib/services/ai.d.ts.map +1 -1
  20. package/lib/services/ai.js +62 -62
  21. package/lib/services/ai.js.map +1 -1
  22. package/lib/services/aisearch.d.ts.map +1 -1
  23. package/lib/services/aisearch.js +187 -193
  24. package/lib/services/aisearch.js.map +1 -1
  25. package/lib/services/alerting.d.ts.map +1 -1
  26. package/lib/services/alerting.js +78 -78
  27. package/lib/services/alerting.js.map +1 -1
  28. package/lib/services/api-gateway.d.ts.map +1 -1
  29. package/lib/services/api-gateway.js +168 -177
  30. package/lib/services/api-gateway.js.map +1 -1
  31. package/lib/services/argo.js +12 -12
  32. package/lib/services/argo.js.map +1 -1
  33. package/lib/services/audit-logs.d.ts.map +1 -1
  34. package/lib/services/audit-logs.js +9 -9
  35. package/lib/services/audit-logs.js.map +1 -1
  36. package/lib/services/billing.d.ts.map +1 -1
  37. package/lib/services/billing.js +11 -11
  38. package/lib/services/billing.js.map +1 -1
  39. package/lib/services/bot-management.d.ts.map +1 -1
  40. package/lib/services/bot-management.js +18 -30
  41. package/lib/services/bot-management.js.map +1 -1
  42. package/lib/services/botnet-feed.d.ts.map +1 -1
  43. package/lib/services/botnet-feed.js +12 -12
  44. package/lib/services/botnet-feed.js.map +1 -1
  45. package/lib/services/brand-protection.d.ts.map +1 -1
  46. package/lib/services/brand-protection.js +59 -59
  47. package/lib/services/brand-protection.js.map +1 -1
  48. package/lib/services/browser-rendering.d.ts.map +1 -1
  49. package/lib/services/browser-rendering.js +103 -103
  50. package/lib/services/browser-rendering.js.map +1 -1
  51. package/lib/services/cache.d.ts.map +1 -1
  52. package/lib/services/cache.js +72 -72
  53. package/lib/services/cache.js.map +1 -1
  54. package/lib/services/calls.d.ts.map +1 -1
  55. package/lib/services/calls.js +31 -31
  56. package/lib/services/calls.js.map +1 -1
  57. package/lib/services/certificate-authorities.js +6 -6
  58. package/lib/services/certificate-authorities.js.map +1 -1
  59. package/lib/services/client-certificates.js +18 -18
  60. package/lib/services/client-certificates.js.map +1 -1
  61. package/lib/services/cloud-connector.d.ts.map +1 -1
  62. package/lib/services/cloud-connector.js +8 -8
  63. package/lib/services/cloud-connector.js.map +1 -1
  64. package/lib/services/cloudforce-one.d.ts.map +1 -1
  65. package/lib/services/cloudforce-one.js +178 -178
  66. package/lib/services/cloudforce-one.js.map +1 -1
  67. package/lib/services/connectivity.js +25 -25
  68. package/lib/services/connectivity.js.map +1 -1
  69. package/lib/services/containers.js +49 -49
  70. package/lib/services/containers.js.map +1 -1
  71. package/lib/services/content-scanning.d.ts.map +1 -1
  72. package/lib/services/content-scanning.js +29 -29
  73. package/lib/services/content-scanning.js.map +1 -1
  74. package/lib/services/csam-scanner.d.ts.map +1 -1
  75. package/lib/services/csam-scanner.js +8 -8
  76. package/lib/services/csam-scanner.js.map +1 -1
  77. package/lib/services/custom-certificates.d.ts.map +1 -1
  78. package/lib/services/custom-certificates.js +24 -24
  79. package/lib/services/custom-certificates.js.map +1 -1
  80. package/lib/services/custom-csrs.d.ts.map +1 -1
  81. package/lib/services/custom-csrs.js +22 -22
  82. package/lib/services/custom-csrs.js.map +1 -1
  83. package/lib/services/custom-hostnames.d.ts.map +1 -1
  84. package/lib/services/custom-hostnames.js +40 -40
  85. package/lib/services/custom-hostnames.js.map +1 -1
  86. package/lib/services/custom-nameservers.js +11 -11
  87. package/lib/services/custom-nameservers.js.map +1 -1
  88. package/lib/services/custom-pages.d.ts.map +1 -1
  89. package/lib/services/custom-pages.js +43 -43
  90. package/lib/services/custom-pages.js.map +1 -1
  91. package/lib/services/d1.d.ts +4 -4
  92. package/lib/services/d1.d.ts.map +1 -1
  93. package/lib/services/d1.js +69 -51
  94. package/lib/services/d1.js.map +1 -1
  95. package/lib/services/dcv-delegation.js +3 -3
  96. package/lib/services/dcv-delegation.js.map +1 -1
  97. package/lib/services/ddos-protection.js +126 -126
  98. package/lib/services/ddos-protection.js.map +1 -1
  99. package/lib/services/diagnostics.js +27 -27
  100. package/lib/services/diagnostics.js.map +1 -1
  101. package/lib/services/dls.d.ts.map +1 -1
  102. package/lib/services/dls.js +26 -26
  103. package/lib/services/dls.js.map +1 -1
  104. package/lib/services/dns-firewall.d.ts.map +1 -1
  105. package/lib/services/dns-firewall.js +34 -34
  106. package/lib/services/dns-firewall.js.map +1 -1
  107. package/lib/services/dns.d.ts.map +1 -1
  108. package/lib/services/dns.js +268 -268
  109. package/lib/services/dns.js.map +1 -1
  110. package/lib/services/durable-objects.d.ts.map +1 -1
  111. package/lib/services/durable-objects.js +11 -11
  112. package/lib/services/durable-objects.js.map +1 -1
  113. package/lib/services/email-auth.d.ts.map +1 -1
  114. package/lib/services/email-auth.js +13 -13
  115. package/lib/services/email-auth.js.map +1 -1
  116. package/lib/services/email-routing.d.ts.map +1 -1
  117. package/lib/services/email-routing.js +70 -70
  118. package/lib/services/email-routing.js.map +1 -1
  119. package/lib/services/email-security.d.ts.map +1 -1
  120. package/lib/services/email-security.js +195 -195
  121. package/lib/services/email-security.js.map +1 -1
  122. package/lib/services/email-sending.d.ts.map +1 -1
  123. package/lib/services/email-sending.js +28 -28
  124. package/lib/services/email-sending.js.map +1 -1
  125. package/lib/services/filters.d.ts.map +1 -1
  126. package/lib/services/filters.js +25 -25
  127. package/lib/services/filters.js.map +1 -1
  128. package/lib/services/firewall.d.ts.map +1 -1
  129. package/lib/services/firewall.js +149 -149
  130. package/lib/services/firewall.js.map +1 -1
  131. package/lib/services/flagship.d.ts.map +1 -1
  132. package/lib/services/flagship.js +52 -52
  133. package/lib/services/flagship.js.map +1 -1
  134. package/lib/services/fraud.js +8 -8
  135. package/lib/services/fraud.js.map +1 -1
  136. package/lib/services/google-tag-gateway.d.ts.map +1 -1
  137. package/lib/services/google-tag-gateway.js +7 -7
  138. package/lib/services/google-tag-gateway.js.map +1 -1
  139. package/lib/services/healthchecks.d.ts.map +1 -1
  140. package/lib/services/healthchecks.js +31 -31
  141. package/lib/services/healthchecks.js.map +1 -1
  142. package/lib/services/hostnames.d.ts.map +1 -1
  143. package/lib/services/hostnames.js +10 -10
  144. package/lib/services/hostnames.js.map +1 -1
  145. package/lib/services/hyperdrive.d.ts.map +1 -1
  146. package/lib/services/hyperdrive.js +32 -32
  147. package/lib/services/hyperdrive.js.map +1 -1
  148. package/lib/services/iam.d.ts.map +1 -1
  149. package/lib/services/iam.js +113 -113
  150. package/lib/services/iam.js.map +1 -1
  151. package/lib/services/images.d.ts.map +1 -1
  152. package/lib/services/images.js +59 -59
  153. package/lib/services/images.js.map +1 -1
  154. package/lib/services/intel.d.ts.map +1 -1
  155. package/lib/services/intel.js +102 -102
  156. package/lib/services/intel.js.map +1 -1
  157. package/lib/services/ips.js +5 -5
  158. package/lib/services/ips.js.map +1 -1
  159. package/lib/services/keyless-certificates.js +17 -17
  160. package/lib/services/keyless-certificates.js.map +1 -1
  161. package/lib/services/kv.d.ts.map +1 -1
  162. package/lib/services/kv.js +54 -54
  163. package/lib/services/kv.js.map +1 -1
  164. package/lib/services/leaked-credential-checks.d.ts.map +1 -1
  165. package/lib/services/leaked-credential-checks.js +22 -22
  166. package/lib/services/leaked-credential-checks.js.map +1 -1
  167. package/lib/services/load-balancers.d.ts.map +1 -1
  168. package/lib/services/load-balancers.js +139 -157
  169. package/lib/services/load-balancers.js.map +1 -1
  170. package/lib/services/logpush.d.ts.map +1 -1
  171. package/lib/services/logpush.js +69 -69
  172. package/lib/services/logpush.js.map +1 -1
  173. package/lib/services/logs.d.ts.map +1 -1
  174. package/lib/services/logs.js +58 -58
  175. package/lib/services/logs.js.map +1 -1
  176. package/lib/services/magic-cloud-networking.d.ts.map +1 -1
  177. package/lib/services/magic-cloud-networking.js +138 -168
  178. package/lib/services/magic-cloud-networking.js.map +1 -1
  179. package/lib/services/magic-network-monitoring.d.ts.map +1 -1
  180. package/lib/services/magic-network-monitoring.js +47 -65
  181. package/lib/services/magic-network-monitoring.js.map +1 -1
  182. package/lib/services/magic-transit.d.ts.map +1 -1
  183. package/lib/services/magic-transit.js +340 -364
  184. package/lib/services/magic-transit.js.map +1 -1
  185. package/lib/services/managed-transforms.js +11 -11
  186. package/lib/services/managed-transforms.js.map +1 -1
  187. package/lib/services/memberships.d.ts.map +1 -1
  188. package/lib/services/memberships.js +25 -25
  189. package/lib/services/memberships.js.map +1 -1
  190. package/lib/services/moq.d.ts.map +1 -1
  191. package/lib/services/moq.js +23 -23
  192. package/lib/services/moq.js.map +1 -1
  193. package/lib/services/mtls-certificates.d.ts.map +1 -1
  194. package/lib/services/mtls-certificates.js +17 -17
  195. package/lib/services/mtls-certificates.js.map +1 -1
  196. package/lib/services/network-interconnects.d.ts.map +1 -1
  197. package/lib/services/network-interconnects.js +56 -56
  198. package/lib/services/network-interconnects.js.map +1 -1
  199. package/lib/services/organizations.d.ts.map +1 -1
  200. package/lib/services/organizations.js +42 -42
  201. package/lib/services/organizations.js.map +1 -1
  202. package/lib/services/origin-ca-certificates.js +14 -14
  203. package/lib/services/origin-ca-certificates.js.map +1 -1
  204. package/lib/services/origin-post-quantum-encryption.js +6 -6
  205. package/lib/services/origin-post-quantum-encryption.js.map +1 -1
  206. package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
  207. package/lib/services/origin-tls-client-auth.js +52 -52
  208. package/lib/services/origin-tls-client-auth.js.map +1 -1
  209. package/lib/services/origin-tls-compliance-modes.js +12 -12
  210. package/lib/services/origin-tls-compliance-modes.js.map +1 -1
  211. package/lib/services/page-rules.d.ts.map +1 -1
  212. package/lib/services/page-rules.js +62 -62
  213. package/lib/services/page-rules.js.map +1 -1
  214. package/lib/services/page-shield.d.ts.map +1 -1
  215. package/lib/services/page-shield.js +45 -48
  216. package/lib/services/page-shield.js.map +1 -1
  217. package/lib/services/pages.d.ts.map +1 -1
  218. package/lib/services/pages.js +78 -78
  219. package/lib/services/pages.js.map +1 -1
  220. package/lib/services/pipelines.d.ts.map +1 -1
  221. package/lib/services/pipelines.js +102 -102
  222. package/lib/services/pipelines.js.map +1 -1
  223. package/lib/services/queues.d.ts.map +1 -1
  224. package/lib/services/queues.js +100 -103
  225. package/lib/services/queues.js.map +1 -1
  226. package/lib/services/r2-data-catalog.d.ts.map +1 -1
  227. package/lib/services/r2-data-catalog.js +42 -42
  228. package/lib/services/r2-data-catalog.js.map +1 -1
  229. package/lib/services/r2.d.ts.map +1 -1
  230. package/lib/services/r2.js +190 -190
  231. package/lib/services/r2.js.map +1 -1
  232. package/lib/services/radar.d.ts.map +1 -1
  233. package/lib/services/radar.js +991 -1009
  234. package/lib/services/radar.js.map +1 -1
  235. package/lib/services/rate-limits.d.ts.map +1 -1
  236. package/lib/services/rate-limits.js +24 -24
  237. package/lib/services/rate-limits.js.map +1 -1
  238. package/lib/services/realtime-kit.d.ts.map +1 -1
  239. package/lib/services/realtime-kit.js +276 -276
  240. package/lib/services/realtime-kit.js.map +1 -1
  241. package/lib/services/registrar.d.ts.map +1 -1
  242. package/lib/services/registrar.js +28 -28
  243. package/lib/services/registrar.js.map +1 -1
  244. package/lib/services/request-tracers.d.ts.map +1 -1
  245. package/lib/services/request-tracers.js +7 -7
  246. package/lib/services/request-tracers.js.map +1 -1
  247. package/lib/services/resource-sharing.d.ts.map +1 -1
  248. package/lib/services/resource-sharing.js +49 -49
  249. package/lib/services/resource-sharing.js.map +1 -1
  250. package/lib/services/resource-tagging.d.ts.map +1 -1
  251. package/lib/services/resource-tagging.js +56 -56
  252. package/lib/services/resource-tagging.js.map +1 -1
  253. package/lib/services/rules.d.ts.map +1 -1
  254. package/lib/services/rules.js +50 -50
  255. package/lib/services/rules.js.map +1 -1
  256. package/lib/services/rulesets.d.ts +2 -2
  257. package/lib/services/rulesets.d.ts.map +1 -1
  258. package/lib/services/rulesets.js +226 -190
  259. package/lib/services/rulesets.js.map +1 -1
  260. package/lib/services/rum.d.ts.map +1 -1
  261. package/lib/services/rum.js +35 -35
  262. package/lib/services/rum.js.map +1 -1
  263. package/lib/services/schema-validation.d.ts.map +1 -1
  264. package/lib/services/schema-validation.js +43 -46
  265. package/lib/services/schema-validation.js.map +1 -1
  266. package/lib/services/secrets-store.d.ts.map +1 -1
  267. package/lib/services/secrets-store.js +41 -41
  268. package/lib/services/secrets-store.js.map +1 -1
  269. package/lib/services/security-center.d.ts.map +1 -1
  270. package/lib/services/security-center.js +54 -57
  271. package/lib/services/security-center.js.map +1 -1
  272. package/lib/services/security-txt.d.ts.map +1 -1
  273. package/lib/services/security-txt.js +12 -12
  274. package/lib/services/security-txt.js.map +1 -1
  275. package/lib/services/snippets.d.ts.map +1 -1
  276. package/lib/services/snippets.js +31 -31
  277. package/lib/services/snippets.js.map +1 -1
  278. package/lib/services/spectrum.d.ts.map +1 -1
  279. package/lib/services/spectrum.js +35 -35
  280. package/lib/services/spectrum.js.map +1 -1
  281. package/lib/services/speed.d.ts.map +1 -1
  282. package/lib/services/speed.js +41 -41
  283. package/lib/services/speed.js.map +1 -1
  284. package/lib/services/ssl.d.ts.map +1 -1
  285. package/lib/services/ssl.js +48 -48
  286. package/lib/services/ssl.js.map +1 -1
  287. package/lib/services/stream.d.ts.map +1 -1
  288. package/lib/services/stream.js +147 -147
  289. package/lib/services/stream.js.map +1 -1
  290. package/lib/services/tenant-custom-nameservers.js +11 -11
  291. package/lib/services/tenant-custom-nameservers.js.map +1 -1
  292. package/lib/services/tenants.d.ts.map +1 -1
  293. package/lib/services/tenants.js +28 -28
  294. package/lib/services/tenants.js.map +1 -1
  295. package/lib/services/token-validation.d.ts.map +1 -1
  296. package/lib/services/token-validation.js +56 -56
  297. package/lib/services/token-validation.js.map +1 -1
  298. package/lib/services/turnstile.d.ts.map +1 -1
  299. package/lib/services/turnstile.js +27 -54
  300. package/lib/services/turnstile.js.map +1 -1
  301. package/lib/services/url-normalization.js +9 -9
  302. package/lib/services/url-normalization.js.map +1 -1
  303. package/lib/services/url-scanner.d.ts.map +1 -1
  304. package/lib/services/url-scanner.js +120 -120
  305. package/lib/services/url-scanner.js.map +1 -1
  306. package/lib/services/user.d.ts.map +1 -1
  307. package/lib/services/user.js +95 -95
  308. package/lib/services/user.js.map +1 -1
  309. package/lib/services/vectorize.d.ts +10 -10
  310. package/lib/services/vectorize.d.ts.map +1 -1
  311. package/lib/services/vectorize.js +59 -57
  312. package/lib/services/vectorize.js.map +1 -1
  313. package/lib/services/vulnerability-scanner.d.ts.map +1 -1
  314. package/lib/services/vulnerability-scanner.js +95 -95
  315. package/lib/services/vulnerability-scanner.js.map +1 -1
  316. package/lib/services/waiting-rooms.d.ts.map +1 -1
  317. package/lib/services/waiting-rooms.js +81 -81
  318. package/lib/services/waiting-rooms.js.map +1 -1
  319. package/lib/services/web3.d.ts.map +1 -1
  320. package/lib/services/web3.js +39 -39
  321. package/lib/services/web3.js.map +1 -1
  322. package/lib/services/workers-for-platforms.d.ts.map +1 -1
  323. package/lib/services/workers-for-platforms.js +139 -139
  324. package/lib/services/workers-for-platforms.js.map +1 -1
  325. package/lib/services/workers.d.ts.map +1 -1
  326. package/lib/services/workers.js +420 -420
  327. package/lib/services/workers.js.map +1 -1
  328. package/lib/services/workflows.d.ts.map +1 -1
  329. package/lib/services/workflows.js +88 -88
  330. package/lib/services/workflows.js.map +1 -1
  331. package/lib/services/zaraz.d.ts.map +1 -1
  332. package/lib/services/zaraz.js +36 -39
  333. package/lib/services/zaraz.js.map +1 -1
  334. package/lib/services/zero-trust.d.ts.map +1 -1
  335. package/lib/services/zero-trust.js +1765 -1771
  336. package/lib/services/zero-trust.js.map +1 -1
  337. package/lib/services/zones.d.ts.map +1 -1
  338. package/lib/services/zones.js +168 -168
  339. package/lib/services/zones.js.map +1 -1
  340. package/package.json +3 -2
  341. package/src/services/abuse-reports.ts +35 -36
  342. package/src/services/accounts.ts +714 -760
  343. package/src/services/acm.ts +115 -125
  344. package/src/services/addressing.ts +484 -512
  345. package/src/services/ai-gateway.ts +653 -672
  346. package/src/services/ai-security.ts +47 -53
  347. package/src/services/ai.ts +172 -185
  348. package/src/services/aisearch.ts +1814 -1861
  349. package/src/services/alerting.ts +710 -742
  350. package/src/services/api-gateway.ts +481 -508
  351. package/src/services/argo.ts +12 -12
  352. package/src/services/audit-logs.ts +45 -49
  353. package/src/services/billing.ts +121 -136
  354. package/src/services/bot-management.ts +122 -136
  355. package/src/services/botnet-feed.ts +68 -74
  356. package/src/services/brand-protection.ts +275 -294
  357. package/src/services/browser-rendering.ts +758 -769
  358. package/src/services/cache.ts +148 -158
  359. package/src/services/calls.ts +110 -120
  360. package/src/services/certificate-authorities.ts +6 -6
  361. package/src/services/client-certificates.ts +18 -18
  362. package/src/services/cloud-connector.ts +11 -12
  363. package/src/services/cloudforce-one.ts +589 -617
  364. package/src/services/connectivity.ts +25 -25
  365. package/src/services/containers.ts +49 -49
  366. package/src/services/content-scanning.ts +80 -89
  367. package/src/services/csam-scanner.ts +16 -17
  368. package/src/services/custom-certificates.ts +36 -38
  369. package/src/services/custom-csrs.ts +103 -105
  370. package/src/services/custom-hostnames.ts +44 -45
  371. package/src/services/custom-nameservers.ts +11 -11
  372. package/src/services/custom-pages.ts +173 -184
  373. package/src/services/d1.ts +335 -325
  374. package/src/services/dcv-delegation.ts +3 -3
  375. package/src/services/ddos-protection.ts +126 -126
  376. package/src/services/diagnostics.ts +27 -27
  377. package/src/services/dls.ts +82 -86
  378. package/src/services/dns-firewall.ts +65 -69
  379. package/src/services/dns.ts +1080 -1107
  380. package/src/services/durable-objects.ts +36 -38
  381. package/src/services/email-auth.ts +47 -52
  382. package/src/services/email-routing.ts +264 -288
  383. package/src/services/email-security.ts +205 -208
  384. package/src/services/email-sending.ts +94 -99
  385. package/src/services/filters.ts +97 -111
  386. package/src/services/firewall.ts +698 -753
  387. package/src/services/flagship.ts +321 -336
  388. package/src/services/fraud.ts +8 -8
  389. package/src/services/google-tag-gateway.ts +17 -19
  390. package/src/services/healthchecks.ts +269 -286
  391. package/src/services/hostnames.ts +94 -99
  392. package/src/services/hyperdrive.ts +310 -324
  393. package/src/services/iam.ts +205 -212
  394. package/src/services/images.ts +138 -150
  395. package/src/services/intel.ts +248 -261
  396. package/src/services/ips.ts +5 -5
  397. package/src/services/keyless-certificates.ts +17 -17
  398. package/src/services/kv.ts +106 -110
  399. package/src/services/leaked-credential-checks.ts +49 -53
  400. package/src/services/load-balancers.ts +1119 -1212
  401. package/src/services/logpush.ts +298 -313
  402. package/src/services/logs.ts +74 -77
  403. package/src/services/magic-cloud-networking.ts +1219 -1311
  404. package/src/services/magic-network-monitoring.ts +647 -685
  405. package/src/services/magic-transit.ts +1988 -2119
  406. package/src/services/managed-transforms.ts +11 -11
  407. package/src/services/memberships.ts +101 -105
  408. package/src/services/moq.ts +100 -110
  409. package/src/services/mtls-certificates.ts +30 -32
  410. package/src/services/network-interconnects.ts +137 -145
  411. package/src/services/organizations.ts +189 -192
  412. package/src/services/origin-ca-certificates.ts +14 -14
  413. package/src/services/origin-post-quantum-encryption.ts +6 -6
  414. package/src/services/origin-tls-client-auth.ts +219 -236
  415. package/src/services/origin-tls-compliance-modes.ts +12 -12
  416. package/src/services/page-rules.ts +365 -373
  417. package/src/services/page-shield.ts +489 -528
  418. package/src/services/pages.ts +309 -319
  419. package/src/services/pipelines.ts +534 -573
  420. package/src/services/queues.ts +598 -635
  421. package/src/services/r2-data-catalog.ts +59 -60
  422. package/src/services/r2.ts +654 -689
  423. package/src/services/radar.ts +3395 -3487
  424. package/src/services/rate-limits.ts +81 -93
  425. package/src/services/realtime-kit.ts +386 -399
  426. package/src/services/registrar.ts +90 -96
  427. package/src/services/request-tracers.ts +41 -43
  428. package/src/services/resource-sharing.ts +293 -305
  429. package/src/services/resource-tagging.ts +354 -366
  430. package/src/services/rules.ts +272 -292
  431. package/src/services/rulesets.ts +1214 -1116
  432. package/src/services/rum.ts +252 -273
  433. package/src/services/schema-validation.ts +284 -305
  434. package/src/services/secrets-store.ts +130 -138
  435. package/src/services/security-center.ts +64 -69
  436. package/src/services/security-txt.ts +48 -50
  437. package/src/services/snippets.ts +132 -142
  438. package/src/services/spectrum.ts +75 -80
  439. package/src/services/speed.ts +385 -397
  440. package/src/services/ssl.ts +64 -65
  441. package/src/services/stream.ts +658 -718
  442. package/src/services/tenant-custom-nameservers.ts +11 -11
  443. package/src/services/tenants.ts +86 -93
  444. package/src/services/token-validation.ts +145 -151
  445. package/src/services/turnstile.ts +344 -381
  446. package/src/services/url-normalization.ts +9 -9
  447. package/src/services/url-scanner.ts +393 -399
  448. package/src/services/user.ts +479 -503
  449. package/src/services/vectorize.ts +215 -230
  450. package/src/services/vulnerability-scanner.ts +145 -148
  451. package/src/services/waiting-rooms.ts +759 -825
  452. package/src/services/web3.ts +186 -197
  453. package/src/services/workers-for-platforms.ts +408 -432
  454. package/src/services/workers.ts +1175 -1239
  455. package/src/services/workflows.ts +585 -616
  456. package/src/services/zaraz.ts +168 -192
  457. package/src/services/zero-trust.ts +2965 -3074
  458. package/src/services/zones.ts +753 -785
@@ -172,7 +172,7 @@ interface Settings {
172
172
  /** The number of seconds to delay before making the message available for another attempt. */
173
173
  retryDelay?: number | null;
174
174
  }
175
- const Settings = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
175
+ const Settings = /*@__PURE__*/ Schema.suspend(() =>
176
176
  Schema.Struct({
177
177
  batchSize: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
178
178
  maxConcurrency: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
@@ -208,31 +208,30 @@ interface MqWorkerConsumerResponse {
208
208
  } | null;
209
209
  type?: "worker" | null;
210
210
  }
211
- const MqWorkerConsumerResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
212
- () =>
213
- Schema.Struct({
214
- consumerId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
215
- createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
216
- deadLetterQueue: Schema.optional(
217
- Schema.Union([Schema.String, Schema.Null]),
218
- ),
219
- queueName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
220
- scriptName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
221
- settings: Schema.optional(Schema.Union([Settings, Schema.Null])),
222
- type: Schema.optional(
223
- Schema.Union([Schema.Literal("worker"), Schema.Null]),
224
- ),
225
- }).pipe(
226
- Schema.encodeKeys({
227
- consumerId: "consumer_id",
228
- createdOn: "created_on",
229
- deadLetterQueue: "dead_letter_queue",
230
- queueName: "queue_name",
231
- scriptName: "script",
232
- settings: "settings",
233
- type: "type",
234
- }),
211
+ const MqWorkerConsumerResponse = /*@__PURE__*/ Schema.suspend(() =>
212
+ Schema.Struct({
213
+ consumerId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
214
+ createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
215
+ deadLetterQueue: Schema.optional(
216
+ Schema.Union([Schema.String, Schema.Null]),
217
+ ),
218
+ queueName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
219
+ scriptName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
220
+ settings: Schema.optional(Schema.Union([Settings, Schema.Null])),
221
+ type: Schema.optional(
222
+ Schema.Union([Schema.Literal("worker"), Schema.Null]),
235
223
  ),
224
+ }).pipe(
225
+ Schema.encodeKeys({
226
+ consumerId: "consumer_id",
227
+ createdOn: "created_on",
228
+ deadLetterQueue: "dead_letter_queue",
229
+ queueName: "queue_name",
230
+ scriptName: "script",
231
+ settings: "settings",
232
+ type: "type",
233
+ }),
234
+ ),
236
235
  ) as unknown as Schema.Codec<MqWorkerConsumerResponse>;
237
236
 
238
237
  interface Settings2 {
@@ -245,7 +244,7 @@ interface Settings2 {
245
244
  /** The number of milliseconds that a message is exclusively leased. After the timeout, the message becomes available for another attempt. */
246
245
  visibilityTimeoutMs?: number | null;
247
246
  }
248
- const Settings2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
247
+ const Settings2 = /*@__PURE__*/ Schema.suspend(() =>
249
248
  Schema.Struct({
250
249
  batchSize: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
251
250
  maxRetries: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
@@ -278,7 +277,7 @@ interface MqHTTPConsumerResponse {
278
277
  } | null;
279
278
  type?: "http_pull" | null;
280
279
  }
281
- const MqHTTPConsumerResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
280
+ const MqHTTPConsumerResponse = /*@__PURE__*/ Schema.suspend(() =>
282
281
  Schema.Struct({
283
282
  consumerId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
284
283
  createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -316,7 +315,7 @@ interface Settings3 {
316
315
  /** The number of milliseconds that a message is exclusively leased. After the timeout, the message becomes available for another attempt. */
317
316
  visibilityTimeoutMs?: number | null;
318
317
  }
319
- const Settings3 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
318
+ const Settings3 = /*@__PURE__*/ Schema.suspend(() =>
320
319
  Schema.Struct({
321
320
  batchSize: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
322
321
  maxConcurrency: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
@@ -356,37 +355,36 @@ interface MqWorkerConsumerResponse2 {
356
355
  } | null;
357
356
  type?: "worker" | null;
358
357
  }
359
- const MqWorkerConsumerResponse2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
360
- () =>
361
- Schema.Struct({
362
- consumerId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
363
- createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
364
- deadLetterQueue: Schema.optional(
365
- Schema.Union([Schema.String, Schema.Null]),
366
- ),
367
- queueName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
368
- scriptName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
369
- settings: Schema.optional(Schema.Union([Settings, Schema.Null])),
370
- type: Schema.optional(
371
- Schema.Union([Schema.Literal("worker"), Schema.Null]),
372
- ),
373
- }).pipe(
374
- Schema.encodeKeys({
375
- consumerId: "consumer_id",
376
- createdOn: "created_on",
377
- deadLetterQueue: "dead_letter_queue",
378
- queueName: "queue_name",
379
- scriptName: "script_name",
380
- settings: "settings",
381
- type: "type",
382
- }),
358
+ const MqWorkerConsumerResponse2 = /*@__PURE__*/ Schema.suspend(() =>
359
+ Schema.Struct({
360
+ consumerId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
361
+ createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
362
+ deadLetterQueue: Schema.optional(
363
+ Schema.Union([Schema.String, Schema.Null]),
364
+ ),
365
+ queueName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
366
+ scriptName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
367
+ settings: Schema.optional(Schema.Union([Settings, Schema.Null])),
368
+ type: Schema.optional(
369
+ Schema.Union([Schema.Literal("worker"), Schema.Null]),
383
370
  ),
371
+ }).pipe(
372
+ Schema.encodeKeys({
373
+ consumerId: "consumer_id",
374
+ createdOn: "created_on",
375
+ deadLetterQueue: "dead_letter_queue",
376
+ queueName: "queue_name",
377
+ scriptName: "script_name",
378
+ settings: "settings",
379
+ type: "type",
380
+ }),
381
+ ),
384
382
  ) as unknown as Schema.Codec<MqWorkerConsumerResponse2>;
385
383
 
386
384
  interface Source {
387
385
  pointer?: string | null;
388
386
  }
389
- const Source = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
387
+ const Source = /*@__PURE__*/ Schema.suspend(() =>
390
388
  Schema.Struct({
391
389
  pointer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
392
390
  }),
@@ -398,7 +396,7 @@ interface ResponseInfo {
398
396
  documentationUrl?: string | null;
399
397
  source?: { pointer?: string | null } | null;
400
398
  }
401
- const ResponseInfo = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
399
+ const ResponseInfo = /*@__PURE__*/ Schema.suspend(() =>
402
400
  Schema.Struct({
403
401
  code: Schema.Number,
404
402
  message: Schema.String,
@@ -422,7 +420,7 @@ interface MqQueueMessageText {
422
420
  /** The number of seconds to wait for attempting to deliver this message to consumers */
423
421
  delaySeconds?: number | null;
424
422
  }
425
- const MqQueueMessageText = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
423
+ const MqQueueMessageText = /*@__PURE__*/ Schema.suspend(() =>
426
424
  Schema.Struct({
427
425
  body: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
428
426
  contentType: Schema.optional(
@@ -444,7 +442,7 @@ interface MqQueueMessageJson {
444
442
  /** The number of seconds to wait for attempting to deliver this message to consumers */
445
443
  delaySeconds?: number | null;
446
444
  }
447
- const MqQueueMessageJson = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
445
+ const MqQueueMessageJson = /*@__PURE__*/ Schema.suspend(() =>
448
446
  Schema.Struct({
449
447
  body: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
450
448
  contentType: Schema.optional(
@@ -468,7 +466,7 @@ interface Metrics {
468
466
  /** Unix timestamp in milliseconds of the oldest unacknowledged message in the queue. Returns 0 if unknown. */
469
467
  oldestMessageTimestampMs: number;
470
468
  }
471
- const Metrics = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
469
+ const Metrics = /*@__PURE__*/ Schema.suspend(() =>
472
470
  Schema.Struct({
473
471
  backlogBytes: Schema.Number,
474
472
  backlogCount: Schema.Number,
@@ -490,7 +488,7 @@ interface Metadata {
490
488
  oldestMessageTimestampMs: number;
491
489
  } | null;
492
490
  }
493
- const Metadata = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
491
+ const Metadata = /*@__PURE__*/ Schema.suspend(() =>
494
492
  Schema.Struct({
495
493
  metrics: Schema.optional(Schema.Union([Metrics, Schema.Null])),
496
494
  }),
@@ -505,7 +503,7 @@ interface Message {
505
503
  metadata?: unknown | null;
506
504
  timestampMs?: number | null;
507
505
  }
508
- const Message = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
506
+ const Message = /*@__PURE__*/ Schema.suspend(() =>
509
507
  Schema.Struct({
510
508
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
511
509
  attempts: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
@@ -529,7 +527,7 @@ interface Ack {
529
527
  /** An ID that represents an "in-flight" message that has been pulled from a Queue. You must hold on to this ID and use it to acknowledge this message. */
530
528
  leaseId?: string | null;
531
529
  }
532
- const Ack = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
530
+ const Ack = /*@__PURE__*/ Schema.suspend(() =>
533
531
  Schema.Struct({
534
532
  leaseId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
535
533
  }).pipe(Schema.encodeKeys({ leaseId: "lease_id" })),
@@ -541,7 +539,7 @@ interface Retry {
541
539
  /** An ID that represents an "in-flight" message that has been pulled from a Queue. You must hold on to this ID and use it to acknowledge this message. */
542
540
  leaseId?: string | null;
543
541
  }
544
- const Retry = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
542
+ const Retry = /*@__PURE__*/ Schema.suspend(() =>
545
543
  Schema.Struct({
546
544
  delaySeconds: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
547
545
  leaseId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -554,7 +552,7 @@ interface MqWorkerProducer {
554
552
  script?: string | null;
555
553
  type?: "worker" | null;
556
554
  }
557
- const MqWorkerProducer = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
555
+ const MqWorkerProducer = /*@__PURE__*/ Schema.suspend(() =>
558
556
  Schema.Struct({
559
557
  script: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
560
558
  type: Schema.optional(
@@ -567,7 +565,7 @@ interface MqR2Producer {
567
565
  bucketName?: string | null;
568
566
  type?: "r2_bucket" | null;
569
567
  }
570
- const MqR2Producer = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
568
+ const MqR2Producer = /*@__PURE__*/ Schema.suspend(() =>
571
569
  Schema.Struct({
572
570
  bucketName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
573
571
  type: Schema.optional(
@@ -584,7 +582,7 @@ interface Settings4 {
584
582
  /** Number of seconds after which an unconsumed message will be delayed. */
585
583
  messageRetentionPeriod?: number | null;
586
584
  }
587
- const Settings4 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
585
+ const Settings4 = /*@__PURE__*/ Schema.suspend(() =>
588
586
  Schema.Struct({
589
587
  deliveryDelay: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
590
588
  deliveryPaused: Schema.optional(
@@ -653,47 +651,46 @@ interface ListQueuesResponseResult {
653
651
  messageRetentionPeriod?: number | null;
654
652
  } | null;
655
653
  }
656
- const ListQueuesResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
657
- () =>
658
- Schema.Struct({
659
- consumers: Schema.optional(
660
- Schema.Union([
661
- Schema.Array(
662
- Schema.Union([MqWorkerConsumerResponse, MqHTTPConsumerResponse]),
663
- ),
664
- Schema.Null,
665
- ]),
666
- ),
667
- consumersTotalCount: Schema.optional(
668
- Schema.Union([Schema.Number, Schema.Null]),
669
- ),
670
- createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
671
- modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
672
- producers: Schema.optional(
673
- Schema.Union([
674
- Schema.Array(Schema.Union([MqWorkerProducer, MqR2Producer])),
675
- Schema.Null,
676
- ]),
677
- ),
678
- producersTotalCount: Schema.optional(
679
- Schema.Union([Schema.Number, Schema.Null]),
680
- ),
681
- queueId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
682
- queueName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
683
- settings: Schema.optional(Schema.Union([Settings4, Schema.Null])),
684
- }).pipe(
685
- Schema.encodeKeys({
686
- consumers: "consumers",
687
- consumersTotalCount: "consumers_total_count",
688
- createdOn: "created_on",
689
- modifiedOn: "modified_on",
690
- producers: "producers",
691
- producersTotalCount: "producers_total_count",
692
- queueId: "queue_id",
693
- queueName: "queue_name",
694
- settings: "settings",
695
- }),
654
+ const ListQueuesResponseResult = /*@__PURE__*/ Schema.suspend(() =>
655
+ Schema.Struct({
656
+ consumers: Schema.optional(
657
+ Schema.Union([
658
+ Schema.Array(
659
+ Schema.Union([MqWorkerConsumerResponse, MqHTTPConsumerResponse]),
660
+ ),
661
+ Schema.Null,
662
+ ]),
663
+ ),
664
+ consumersTotalCount: Schema.optional(
665
+ Schema.Union([Schema.Number, Schema.Null]),
666
+ ),
667
+ createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
668
+ modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
669
+ producers: Schema.optional(
670
+ Schema.Union([
671
+ Schema.Array(Schema.Union([MqWorkerProducer, MqR2Producer])),
672
+ Schema.Null,
673
+ ]),
674
+ ),
675
+ producersTotalCount: Schema.optional(
676
+ Schema.Union([Schema.Number, Schema.Null]),
696
677
  ),
678
+ queueId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
679
+ queueName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
680
+ settings: Schema.optional(Schema.Union([Settings4, Schema.Null])),
681
+ }).pipe(
682
+ Schema.encodeKeys({
683
+ consumers: "consumers",
684
+ consumersTotalCount: "consumers_total_count",
685
+ createdOn: "created_on",
686
+ modifiedOn: "modified_on",
687
+ producers: "producers",
688
+ producersTotalCount: "producers_total_count",
689
+ queueId: "queue_id",
690
+ queueName: "queue_name",
691
+ settings: "settings",
692
+ }),
693
+ ),
697
694
  ) as unknown as Schema.Codec<ListQueuesResponseResult>;
698
695
 
699
696
  interface Destination {
@@ -702,7 +699,7 @@ interface Destination {
702
699
  /** Type of destination */
703
700
  type: "queues.queue";
704
701
  }
705
- const Destination = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
702
+ const Destination = /*@__PURE__*/ Schema.suspend(() =>
706
703
  Schema.Struct({
707
704
  queueId: Schema.String,
708
705
  type: Schema.Literal("queues.queue"),
@@ -713,7 +710,7 @@ interface MqEventSourceImages {
713
710
  /** Type of source */
714
711
  type?: "images" | null;
715
712
  }
716
- const MqEventSourceImages = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
713
+ const MqEventSourceImages = /*@__PURE__*/ Schema.suspend(() =>
717
714
  Schema.Struct({
718
715
  type: Schema.optional(
719
716
  Schema.Union([Schema.Literal("images"), Schema.Null]),
@@ -725,7 +722,7 @@ interface MqEventSourceKV {
725
722
  /** Type of source */
726
723
  type?: "kv" | null;
727
724
  }
728
- const MqEventSourceKV = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
725
+ const MqEventSourceKV = /*@__PURE__*/ Schema.suspend(() =>
729
726
  Schema.Struct({
730
727
  type: Schema.optional(Schema.Union([Schema.Literal("kv"), Schema.Null])),
731
728
  }),
@@ -735,7 +732,7 @@ interface MqEventSourceR2 {
735
732
  /** Type of source */
736
733
  type?: "r2" | null;
737
734
  }
738
- const MqEventSourceR2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
735
+ const MqEventSourceR2 = /*@__PURE__*/ Schema.suspend(() =>
739
736
  Schema.Struct({
740
737
  type: Schema.optional(Schema.Union([Schema.Literal("r2"), Schema.Null])),
741
738
  }),
@@ -745,20 +742,19 @@ interface MqEventSourceSuperSlurper {
745
742
  /** Type of source */
746
743
  type?: "superSlurper" | null;
747
744
  }
748
- const MqEventSourceSuperSlurper = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
749
- () =>
750
- Schema.Struct({
751
- type: Schema.optional(
752
- Schema.Union([Schema.Literal("superSlurper"), Schema.Null]),
753
- ),
754
- }),
745
+ const MqEventSourceSuperSlurper = /*@__PURE__*/ Schema.suspend(() =>
746
+ Schema.Struct({
747
+ type: Schema.optional(
748
+ Schema.Union([Schema.Literal("superSlurper"), Schema.Null]),
749
+ ),
750
+ }),
755
751
  ) as unknown as Schema.Codec<MqEventSourceSuperSlurper>;
756
752
 
757
753
  interface MqEventSourceVectorize {
758
754
  /** Type of source */
759
755
  type?: "vectorize" | null;
760
756
  }
761
- const MqEventSourceVectorize = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
757
+ const MqEventSourceVectorize = /*@__PURE__*/ Schema.suspend(() =>
762
758
  Schema.Struct({
763
759
  type: Schema.optional(
764
760
  Schema.Union([Schema.Literal("vectorize"), Schema.Null]),
@@ -772,14 +768,13 @@ interface MqEventSourceWorkersAIModel {
772
768
  /** Type of source */
773
769
  type?: "workersAi.model" | null;
774
770
  }
775
- const MqEventSourceWorkersAIModel = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
776
- () =>
777
- Schema.Struct({
778
- modelName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
779
- type: Schema.optional(
780
- Schema.Union([Schema.Literal("workersAi.model"), Schema.Null]),
781
- ),
782
- }).pipe(Schema.encodeKeys({ modelName: "model_name", type: "type" })),
771
+ const MqEventSourceWorkersAIModel = /*@__PURE__*/ Schema.suspend(() =>
772
+ Schema.Struct({
773
+ modelName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
774
+ type: Schema.optional(
775
+ Schema.Union([Schema.Literal("workersAi.model"), Schema.Null]),
776
+ ),
777
+ }).pipe(Schema.encodeKeys({ modelName: "model_name", type: "type" })),
783
778
  ) as unknown as Schema.Codec<MqEventSourceWorkersAIModel>;
784
779
 
785
780
  interface MqEventSourceWorkersBuildsWorker {
@@ -789,7 +784,7 @@ interface MqEventSourceWorkersBuildsWorker {
789
784
  workerName?: string | null;
790
785
  }
791
786
  const MqEventSourceWorkersBuildsWorker =
792
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
787
+ /*@__PURE__*/ Schema.suspend(() =>
793
788
  Schema.Struct({
794
789
  type: Schema.optional(
795
790
  Schema.Union([Schema.Literal("workersBuilds.worker"), Schema.Null]),
@@ -805,7 +800,7 @@ interface MqEventSourceWorkflowsWorkflow {
805
800
  workflowName?: string | null;
806
801
  }
807
802
  const MqEventSourceWorkflowsWorkflow =
808
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
803
+ /*@__PURE__*/ Schema.suspend(() =>
809
804
  Schema.Struct({
810
805
  type: Schema.optional(
811
806
  Schema.Union([Schema.Literal("workflows.workflow"), Schema.Null]),
@@ -841,7 +836,7 @@ interface ListSubscriptionsResponseResult {
841
836
  | { type?: "workflows.workflow" | null; workflowName?: string | null };
842
837
  }
843
838
  const ListSubscriptionsResponseResult =
844
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
839
+ /*@__PURE__*/ Schema.suspend(() =>
845
840
  Schema.Struct({
846
841
  id: Schema.String,
847
842
  createdAt: Schema.String,
@@ -881,7 +876,7 @@ interface ListSubscriptionsResponseResultInfo {
881
876
  totalCount?: number | null;
882
877
  }
883
878
  const ListSubscriptionsResponseResultInfo =
884
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
879
+ /*@__PURE__*/ Schema.suspend(() =>
885
880
  Schema.Struct({
886
881
  count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
887
882
  page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
@@ -908,18 +903,17 @@ export interface GetConsumerRequest {
908
903
  accountId: string;
909
904
  }
910
905
 
911
- export const GetConsumerRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
912
- () =>
913
- Schema.Struct({
914
- queueId: Schema.String.pipe(T.HttpPath("queueId")),
915
- consumerId: Schema.String.pipe(T.HttpPath("consumerId")),
916
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
917
- }).pipe(
918
- T.Http({
919
- method: "GET",
920
- path: "/accounts/{account_id}/queues/{queueId}/consumers/{consumerId}",
921
- }),
922
- ),
906
+ export const GetConsumerRequest = /*@__PURE__*/ Schema.suspend(() =>
907
+ Schema.Struct({
908
+ queueId: Schema.String.pipe(T.HttpPath("queueId")),
909
+ consumerId: Schema.String.pipe(T.HttpPath("consumerId")),
910
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
911
+ }).pipe(
912
+ T.Http({
913
+ method: "GET",
914
+ path: "/accounts/{account_id}/queues/{queueId}/consumers/{consumerId}",
915
+ }),
916
+ ),
923
917
  ) as unknown as Schema.Codec<GetConsumerRequest>;
924
918
 
925
919
  export type GetConsumerResponse =
@@ -952,11 +946,10 @@ export type GetConsumerResponse =
952
946
  type?: "http_pull" | null;
953
947
  };
954
948
 
955
- export const GetConsumerResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
956
- () =>
957
- Schema.Union([MqWorkerConsumerResponse, MqHTTPConsumerResponse]).pipe(
958
- T.ResponsePath("result"),
959
- ),
949
+ export const GetConsumerResponse = /*@__PURE__*/ Schema.suspend(() =>
950
+ Schema.Union([MqWorkerConsumerResponse, MqHTTPConsumerResponse]).pipe(
951
+ T.ResponsePath("result"),
952
+ ),
960
953
  ) as unknown as Schema.Codec<GetConsumerResponse>;
961
954
 
962
955
  export type GetConsumerError =
@@ -971,7 +964,7 @@ export const getConsumer: API.OperationMethod<
971
964
  GetConsumerResponse,
972
965
  GetConsumerError,
973
966
  Credentials | HttpClient.HttpClient
974
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
967
+ > = /*@__PURE__*/ API.make(() => ({
975
968
  input: GetConsumerRequest,
976
969
  output: GetConsumerResponse,
977
970
  errors: [InvalidRequestBody, QueueNotFound, ConsumerNotFound, InvalidRoute],
@@ -983,17 +976,16 @@ export interface ListConsumersRequest {
983
976
  accountId: string;
984
977
  }
985
978
 
986
- export const ListConsumersRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
987
- () =>
988
- Schema.Struct({
989
- queueId: Schema.String.pipe(T.HttpPath("queueId")),
990
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
991
- }).pipe(
992
- T.Http({
993
- method: "GET",
994
- path: "/accounts/{account_id}/queues/{queueId}/consumers",
995
- }),
996
- ),
979
+ export const ListConsumersRequest = /*@__PURE__*/ Schema.suspend(() =>
980
+ Schema.Struct({
981
+ queueId: Schema.String.pipe(T.HttpPath("queueId")),
982
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
983
+ }).pipe(
984
+ T.Http({
985
+ method: "GET",
986
+ path: "/accounts/{account_id}/queues/{queueId}/consumers",
987
+ }),
988
+ ),
997
989
  ) as unknown as Schema.Codec<ListConsumersRequest>;
998
990
 
999
991
  export interface ListConsumersResponse {
@@ -1029,13 +1021,12 @@ export interface ListConsumersResponse {
1029
1021
  )[];
1030
1022
  }
1031
1023
 
1032
- export const ListConsumersResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1033
- () =>
1034
- Schema.Struct({
1035
- result: Schema.Array(
1036
- Schema.Union([MqWorkerConsumerResponse, MqHTTPConsumerResponse]),
1037
- ),
1038
- }),
1024
+ export const ListConsumersResponse = /*@__PURE__*/ Schema.suspend(() =>
1025
+ Schema.Struct({
1026
+ result: Schema.Array(
1027
+ Schema.Union([MqWorkerConsumerResponse, MqHTTPConsumerResponse]),
1028
+ ),
1029
+ }),
1039
1030
  ) as unknown as Schema.Codec<ListConsumersResponse>;
1040
1031
 
1041
1032
  export type ListConsumersError =
@@ -1049,7 +1040,7 @@ export const listConsumers: API.PaginatedOperationMethod<
1049
1040
  ListConsumersResponse,
1050
1041
  ListConsumersError,
1051
1042
  Credentials | HttpClient.HttpClient
1052
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
1043
+ > = /*@__PURE__*/ API.makePaginated(() => ({
1053
1044
  input: ListConsumersRequest,
1054
1045
  output: ListConsumersResponse,
1055
1046
  errors: [InvalidRequestBody, QueueNotFound, InvalidRoute],
@@ -1080,30 +1071,29 @@ export interface CreateConsumerRequest {
1080
1071
  };
1081
1072
  }
1082
1073
 
1083
- export const CreateConsumerRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1084
- () =>
1085
- Schema.Struct({
1086
- queueId: Schema.String.pipe(T.HttpPath("queueId")),
1087
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
1088
- scriptName: Schema.optional(Schema.String),
1089
- type: Schema.Union([
1090
- Schema.Literals(["worker", "http_pull"]),
1091
- Schema.String,
1092
- ]),
1093
- deadLetterQueue: Schema.optional(Schema.String),
1094
- settings: Schema.optional(Settings3),
1095
- }).pipe(
1096
- Schema.encodeKeys({
1097
- scriptName: "script_name",
1098
- type: "type",
1099
- deadLetterQueue: "dead_letter_queue",
1100
- settings: "settings",
1101
- }),
1102
- T.Http({
1103
- method: "POST",
1104
- path: "/accounts/{account_id}/queues/{queueId}/consumers",
1105
- }),
1106
- ),
1074
+ export const CreateConsumerRequest = /*@__PURE__*/ Schema.suspend(() =>
1075
+ Schema.Struct({
1076
+ queueId: Schema.String.pipe(T.HttpPath("queueId")),
1077
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
1078
+ scriptName: Schema.optional(Schema.String),
1079
+ type: Schema.Union([
1080
+ Schema.Literals(["worker", "http_pull"]),
1081
+ Schema.String,
1082
+ ]),
1083
+ deadLetterQueue: Schema.optional(Schema.String),
1084
+ settings: Schema.optional(Settings3),
1085
+ }).pipe(
1086
+ Schema.encodeKeys({
1087
+ scriptName: "script_name",
1088
+ type: "type",
1089
+ deadLetterQueue: "dead_letter_queue",
1090
+ settings: "settings",
1091
+ }),
1092
+ T.Http({
1093
+ method: "POST",
1094
+ path: "/accounts/{account_id}/queues/{queueId}/consumers",
1095
+ }),
1096
+ ),
1107
1097
  ) as unknown as Schema.Codec<CreateConsumerRequest>;
1108
1098
 
1109
1099
  export type CreateConsumerResponse =
@@ -1137,7 +1127,7 @@ export type CreateConsumerResponse =
1137
1127
  };
1138
1128
 
1139
1129
  export const CreateConsumerResponse =
1140
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1130
+ /*@__PURE__*/ Schema.suspend(() =>
1141
1131
  Schema.Union([MqWorkerConsumerResponse2, MqHTTPConsumerResponse]).pipe(
1142
1132
  T.ResponsePath("result"),
1143
1133
  ),
@@ -1157,7 +1147,7 @@ export const createConsumer: API.OperationMethod<
1157
1147
  CreateConsumerResponse,
1158
1148
  CreateConsumerError,
1159
1149
  Credentials | HttpClient.HttpClient
1160
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1150
+ > = /*@__PURE__*/ API.make(() => ({
1161
1151
  input: CreateConsumerRequest,
1162
1152
  output: CreateConsumerResponse,
1163
1153
  errors: [
@@ -1192,31 +1182,30 @@ export interface UpdateConsumerRequest {
1192
1182
  };
1193
1183
  }
1194
1184
 
1195
- export const UpdateConsumerRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1196
- () =>
1197
- Schema.Struct({
1198
- queueId: Schema.String.pipe(T.HttpPath("queueId")),
1199
- consumerId: Schema.String.pipe(T.HttpPath("consumerId")),
1200
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
1201
- scriptName: Schema.optional(Schema.String),
1202
- type: Schema.Union([
1203
- Schema.Literals(["worker", "http_pull"]),
1204
- Schema.String,
1205
- ]),
1206
- deadLetterQueue: Schema.optional(Schema.String),
1207
- settings: Schema.optional(Settings3),
1208
- }).pipe(
1209
- Schema.encodeKeys({
1210
- scriptName: "script_name",
1211
- type: "type",
1212
- deadLetterQueue: "dead_letter_queue",
1213
- settings: "settings",
1214
- }),
1215
- T.Http({
1216
- method: "PUT",
1217
- path: "/accounts/{account_id}/queues/{queueId}/consumers/{consumerId}",
1218
- }),
1219
- ),
1185
+ export const UpdateConsumerRequest = /*@__PURE__*/ Schema.suspend(() =>
1186
+ Schema.Struct({
1187
+ queueId: Schema.String.pipe(T.HttpPath("queueId")),
1188
+ consumerId: Schema.String.pipe(T.HttpPath("consumerId")),
1189
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
1190
+ scriptName: Schema.optional(Schema.String),
1191
+ type: Schema.Union([
1192
+ Schema.Literals(["worker", "http_pull"]),
1193
+ Schema.String,
1194
+ ]),
1195
+ deadLetterQueue: Schema.optional(Schema.String),
1196
+ settings: Schema.optional(Settings3),
1197
+ }).pipe(
1198
+ Schema.encodeKeys({
1199
+ scriptName: "script_name",
1200
+ type: "type",
1201
+ deadLetterQueue: "dead_letter_queue",
1202
+ settings: "settings",
1203
+ }),
1204
+ T.Http({
1205
+ method: "PUT",
1206
+ path: "/accounts/{account_id}/queues/{queueId}/consumers/{consumerId}",
1207
+ }),
1208
+ ),
1220
1209
  ) as unknown as Schema.Codec<UpdateConsumerRequest>;
1221
1210
 
1222
1211
  export type UpdateConsumerResponse =
@@ -1250,7 +1239,7 @@ export type UpdateConsumerResponse =
1250
1239
  };
1251
1240
 
1252
1241
  export const UpdateConsumerResponse =
1253
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1242
+ /*@__PURE__*/ Schema.suspend(() =>
1254
1243
  Schema.Union([MqWorkerConsumerResponse2, MqHTTPConsumerResponse]).pipe(
1255
1244
  T.ResponsePath("result"),
1256
1245
  ),
@@ -1270,7 +1259,7 @@ export const updateConsumer: API.OperationMethod<
1270
1259
  UpdateConsumerResponse,
1271
1260
  UpdateConsumerError,
1272
1261
  Credentials | HttpClient.HttpClient
1273
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1262
+ > = /*@__PURE__*/ API.make(() => ({
1274
1263
  input: UpdateConsumerRequest,
1275
1264
  output: UpdateConsumerResponse,
1276
1265
  errors: [
@@ -1290,18 +1279,17 @@ export interface DeleteConsumerRequest {
1290
1279
  accountId: string;
1291
1280
  }
1292
1281
 
1293
- export const DeleteConsumerRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1294
- () =>
1295
- Schema.Struct({
1296
- queueId: Schema.String.pipe(T.HttpPath("queueId")),
1297
- consumerId: Schema.String.pipe(T.HttpPath("consumerId")),
1298
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
1299
- }).pipe(
1300
- T.Http({
1301
- method: "DELETE",
1302
- path: "/accounts/{account_id}/queues/{queueId}/consumers/{consumerId}",
1303
- }),
1304
- ),
1282
+ export const DeleteConsumerRequest = /*@__PURE__*/ Schema.suspend(() =>
1283
+ Schema.Struct({
1284
+ queueId: Schema.String.pipe(T.HttpPath("queueId")),
1285
+ consumerId: Schema.String.pipe(T.HttpPath("consumerId")),
1286
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
1287
+ }).pipe(
1288
+ T.Http({
1289
+ method: "DELETE",
1290
+ path: "/accounts/{account_id}/queues/{queueId}/consumers/{consumerId}",
1291
+ }),
1292
+ ),
1305
1293
  ) as unknown as Schema.Codec<DeleteConsumerRequest>;
1306
1294
 
1307
1295
  export interface DeleteConsumerResponse {
@@ -1319,7 +1307,7 @@ export interface DeleteConsumerResponse {
1319
1307
  }
1320
1308
 
1321
1309
  export const DeleteConsumerResponse =
1322
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1310
+ /*@__PURE__*/ Schema.suspend(() =>
1323
1311
  Schema.Struct({
1324
1312
  errors: Schema.optional(
1325
1313
  Schema.Union([Schema.Array(ResponseInfo), Schema.Null]),
@@ -1345,7 +1333,7 @@ export const deleteConsumer: API.OperationMethod<
1345
1333
  DeleteConsumerResponse,
1346
1334
  DeleteConsumerError,
1347
1335
  Credentials | HttpClient.HttpClient
1348
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1336
+ > = /*@__PURE__*/ API.make(() => ({
1349
1337
  input: DeleteConsumerRequest,
1350
1338
  output: DeleteConsumerResponse,
1351
1339
  errors: [InvalidRequestBody, QueueNotFound, ConsumerNotFound, InvalidRoute],
@@ -1369,7 +1357,7 @@ export interface BulkPushMessagesRequest {
1369
1357
  }
1370
1358
 
1371
1359
  export const BulkPushMessagesRequest =
1372
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1360
+ /*@__PURE__*/ Schema.suspend(() =>
1373
1361
  Schema.Struct({
1374
1362
  queueId: Schema.String.pipe(T.HttpPath("queueId")),
1375
1363
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -1400,7 +1388,7 @@ export interface BulkPushMessagesResponse {
1400
1388
  }
1401
1389
 
1402
1390
  export const BulkPushMessagesResponse =
1403
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1391
+ /*@__PURE__*/ Schema.suspend(() =>
1404
1392
  Schema.Struct({
1405
1393
  metadata: Schema.optional(Schema.Union([Metadata, Schema.Null])),
1406
1394
  }).pipe(T.ResponsePath("result")),
@@ -1417,7 +1405,7 @@ export const bulkPushMessages: API.OperationMethod<
1417
1405
  BulkPushMessagesResponse,
1418
1406
  BulkPushMessagesError,
1419
1407
  Credentials | HttpClient.HttpClient
1420
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1408
+ > = /*@__PURE__*/ API.make(() => ({
1421
1409
  input: BulkPushMessagesRequest,
1422
1410
  output: BulkPushMessagesResponse,
1423
1411
  errors: [InvalidMessageBody, InvalidQueueId, InvalidRoute],
@@ -1433,23 +1421,22 @@ export interface PullMessageRequest {
1433
1421
  visibilityTimeoutMs?: number;
1434
1422
  }
1435
1423
 
1436
- export const PullMessageRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1437
- () =>
1438
- Schema.Struct({
1439
- queueId: Schema.String.pipe(T.HttpPath("queueId")),
1440
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
1441
- batchSize: Schema.optional(Schema.Number),
1442
- visibilityTimeoutMs: Schema.optional(Schema.Number),
1443
- }).pipe(
1444
- Schema.encodeKeys({
1445
- batchSize: "batch_size",
1446
- visibilityTimeoutMs: "visibility_timeout_ms",
1447
- }),
1448
- T.Http({
1449
- method: "POST",
1450
- path: "/accounts/{account_id}/queues/{queueId}/messages/pull",
1451
- }),
1452
- ),
1424
+ export const PullMessageRequest = /*@__PURE__*/ Schema.suspend(() =>
1425
+ Schema.Struct({
1426
+ queueId: Schema.String.pipe(T.HttpPath("queueId")),
1427
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
1428
+ batchSize: Schema.optional(Schema.Number),
1429
+ visibilityTimeoutMs: Schema.optional(Schema.Number),
1430
+ }).pipe(
1431
+ Schema.encodeKeys({
1432
+ batchSize: "batch_size",
1433
+ visibilityTimeoutMs: "visibility_timeout_ms",
1434
+ }),
1435
+ T.Http({
1436
+ method: "POST",
1437
+ path: "/accounts/{account_id}/queues/{queueId}/messages/pull",
1438
+ }),
1439
+ ),
1453
1440
  ) as unknown as Schema.Codec<PullMessageRequest>;
1454
1441
 
1455
1442
  export interface PullMessageResponse {
@@ -1474,29 +1461,28 @@ export interface PullMessageResponse {
1474
1461
  } | null;
1475
1462
  }
1476
1463
 
1477
- export const PullMessageResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1478
- () =>
1479
- Schema.Struct({
1480
- messageBacklogCount: Schema.optional(
1481
- Schema.Union([Schema.Number, Schema.Null]),
1482
- ),
1483
- messages: Schema.optional(
1484
- Schema.Union([Schema.Array(Message), Schema.Null]),
1485
- ),
1486
- metadata: Schema.optional(Schema.Union([Metadata, Schema.Null])),
1487
- })
1488
- .pipe(
1489
- Schema.encodeKeys({
1490
- messageBacklogCount: "message_backlog_count",
1491
- messages: "messages",
1492
- metadata: "metadata",
1493
- }),
1494
- )
1495
- .pipe(T.ResponsePath("result")),
1496
- ) as unknown as Schema.Codec<PullMessageResponse>;
1497
-
1498
- export type PullMessageError =
1499
- | DefaultErrors
1464
+ export const PullMessageResponse = /*@__PURE__*/ Schema.suspend(() =>
1465
+ Schema.Struct({
1466
+ messageBacklogCount: Schema.optional(
1467
+ Schema.Union([Schema.Number, Schema.Null]),
1468
+ ),
1469
+ messages: Schema.optional(
1470
+ Schema.Union([Schema.Array(Message), Schema.Null]),
1471
+ ),
1472
+ metadata: Schema.optional(Schema.Union([Metadata, Schema.Null])),
1473
+ })
1474
+ .pipe(
1475
+ Schema.encodeKeys({
1476
+ messageBacklogCount: "message_backlog_count",
1477
+ messages: "messages",
1478
+ metadata: "metadata",
1479
+ }),
1480
+ )
1481
+ .pipe(T.ResponsePath("result")),
1482
+ ) as unknown as Schema.Codec<PullMessageResponse>;
1483
+
1484
+ export type PullMessageError =
1485
+ | DefaultErrors
1500
1486
  | InvalidRequestBody
1501
1487
  | InvalidQueueId
1502
1488
  | QueueNotFound
@@ -1507,7 +1493,7 @@ export const pullMessage: API.OperationMethod<
1507
1493
  PullMessageResponse,
1508
1494
  PullMessageError,
1509
1495
  Credentials | HttpClient.HttpClient
1510
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1496
+ > = /*@__PURE__*/ API.make(() => ({
1511
1497
  input: PullMessageRequest,
1512
1498
  output: PullMessageResponse,
1513
1499
  errors: [InvalidRequestBody, InvalidQueueId, QueueNotFound, InvalidRoute],
@@ -1525,27 +1511,26 @@ export interface PushMessageRequest {
1525
1511
  delaySeconds?: number;
1526
1512
  }
1527
1513
 
1528
- export const PushMessageRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1529
- () =>
1530
- Schema.Struct({
1531
- queueId: Schema.String.pipe(T.HttpPath("queueId")),
1532
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
1533
- body: Schema.optional(Schema.String),
1534
- contentType: Schema.optional(
1535
- Schema.Union([Schema.Literals(["text", "json"]), Schema.String]),
1536
- ),
1537
- delaySeconds: Schema.optional(Schema.Number),
1538
- }).pipe(
1539
- Schema.encodeKeys({
1540
- body: "body",
1541
- contentType: "content_type",
1542
- delaySeconds: "delay_seconds",
1543
- }),
1544
- T.Http({
1545
- method: "POST",
1546
- path: "/accounts/{account_id}/queues/{queueId}/messages",
1547
- }),
1514
+ export const PushMessageRequest = /*@__PURE__*/ Schema.suspend(() =>
1515
+ Schema.Struct({
1516
+ queueId: Schema.String.pipe(T.HttpPath("queueId")),
1517
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
1518
+ body: Schema.optional(Schema.String),
1519
+ contentType: Schema.optional(
1520
+ Schema.Union([Schema.Literals(["text", "json"]), Schema.String]),
1548
1521
  ),
1522
+ delaySeconds: Schema.optional(Schema.Number),
1523
+ }).pipe(
1524
+ Schema.encodeKeys({
1525
+ body: "body",
1526
+ contentType: "content_type",
1527
+ delaySeconds: "delay_seconds",
1528
+ }),
1529
+ T.Http({
1530
+ method: "POST",
1531
+ path: "/accounts/{account_id}/queues/{queueId}/messages",
1532
+ }),
1533
+ ),
1549
1534
  ) as unknown as Schema.Codec<PushMessageRequest>;
1550
1535
 
1551
1536
  export interface PushMessageResponse {
@@ -1558,11 +1543,10 @@ export interface PushMessageResponse {
1558
1543
  } | null;
1559
1544
  }
1560
1545
 
1561
- export const PushMessageResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1562
- () =>
1563
- Schema.Struct({
1564
- metadata: Schema.optional(Schema.Union([Metadata, Schema.Null])),
1565
- }).pipe(T.ResponsePath("result")),
1546
+ export const PushMessageResponse = /*@__PURE__*/ Schema.suspend(() =>
1547
+ Schema.Struct({
1548
+ metadata: Schema.optional(Schema.Union([Metadata, Schema.Null])),
1549
+ }).pipe(T.ResponsePath("result")),
1566
1550
  ) as unknown as Schema.Codec<PushMessageResponse>;
1567
1551
 
1568
1552
  export type PushMessageError =
@@ -1576,7 +1560,7 @@ export const pushMessage: API.OperationMethod<
1576
1560
  PushMessageResponse,
1577
1561
  PushMessageError,
1578
1562
  Credentials | HttpClient.HttpClient
1579
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1563
+ > = /*@__PURE__*/ API.make(() => ({
1580
1564
  input: PushMessageRequest,
1581
1565
  output: PushMessageResponse,
1582
1566
  errors: [InvalidMessageBody, InvalidQueueId, InvalidRoute],
@@ -1592,19 +1576,18 @@ export interface AckMessageRequest {
1592
1576
  retries?: { delaySeconds?: number; leaseId?: string }[];
1593
1577
  }
1594
1578
 
1595
- export const AckMessageRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1596
- () =>
1597
- Schema.Struct({
1598
- queueId: Schema.String.pipe(T.HttpPath("queueId")),
1599
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
1600
- acks: Schema.optional(Schema.Array(Ack)),
1601
- retries: Schema.optional(Schema.Array(Retry)),
1602
- }).pipe(
1603
- T.Http({
1604
- method: "POST",
1605
- path: "/accounts/{account_id}/queues/{queueId}/messages/ack",
1606
- }),
1607
- ),
1579
+ export const AckMessageRequest = /*@__PURE__*/ Schema.suspend(() =>
1580
+ Schema.Struct({
1581
+ queueId: Schema.String.pipe(T.HttpPath("queueId")),
1582
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
1583
+ acks: Schema.optional(Schema.Array(Ack)),
1584
+ retries: Schema.optional(Schema.Array(Retry)),
1585
+ }).pipe(
1586
+ T.Http({
1587
+ method: "POST",
1588
+ path: "/accounts/{account_id}/queues/{queueId}/messages/ack",
1589
+ }),
1590
+ ),
1608
1591
  ) as unknown as Schema.Codec<AckMessageRequest>;
1609
1592
 
1610
1593
  export interface AckMessageResponse {
@@ -1616,18 +1599,14 @@ export interface AckMessageResponse {
1616
1599
  warnings?: Record<string, unknown> | null;
1617
1600
  }
1618
1601
 
1619
- export const AckMessageResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1620
- () =>
1621
- Schema.Struct({
1622
- ackCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1623
- retryCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1624
- warnings: Schema.optional(
1625
- Schema.Union([
1626
- Schema.Record(Schema.String, Schema.Unknown),
1627
- Schema.Null,
1628
- ]),
1629
- ),
1630
- }).pipe(T.ResponsePath("result")),
1602
+ export const AckMessageResponse = /*@__PURE__*/ Schema.suspend(() =>
1603
+ Schema.Struct({
1604
+ ackCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1605
+ retryCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1606
+ warnings: Schema.optional(
1607
+ Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]),
1608
+ ),
1609
+ }).pipe(T.ResponsePath("result")),
1631
1610
  ) as unknown as Schema.Codec<AckMessageResponse>;
1632
1611
 
1633
1612
  export type AckMessageError =
@@ -1642,7 +1621,7 @@ export const ackMessage: API.OperationMethod<
1642
1621
  AckMessageResponse,
1643
1622
  AckMessageError,
1644
1623
  Credentials | HttpClient.HttpClient
1645
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1624
+ > = /*@__PURE__*/ API.make(() => ({
1646
1625
  input: AckMessageRequest,
1647
1626
  output: AckMessageResponse,
1648
1627
  errors: [InvalidRequestBody, InvalidQueueId, QueueNotFound, InvalidRoute],
@@ -1659,7 +1638,7 @@ export interface GetMetricsQueueRequest {
1659
1638
  }
1660
1639
 
1661
1640
  export const GetMetricsQueueRequest =
1662
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1641
+ /*@__PURE__*/ Schema.suspend(() =>
1663
1642
  Schema.Struct({
1664
1643
  queueId: Schema.String.pipe(T.HttpPath("queueId")),
1665
1644
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -1681,7 +1660,7 @@ export interface GetMetricsQueueResponse {
1681
1660
  }
1682
1661
 
1683
1662
  export const GetMetricsQueueResponse =
1684
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1663
+ /*@__PURE__*/ Schema.suspend(() =>
1685
1664
  Schema.Struct({
1686
1665
  backlogBytes: Schema.Number,
1687
1666
  backlogCount: Schema.Number,
@@ -1704,7 +1683,7 @@ export const getMetricsQueue: API.OperationMethod<
1704
1683
  GetMetricsQueueResponse,
1705
1684
  GetMetricsQueueError,
1706
1685
  Credentials | HttpClient.HttpClient
1707
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1686
+ > = /*@__PURE__*/ API.make(() => ({
1708
1687
  input: GetMetricsQueueRequest,
1709
1688
  output: GetMetricsQueueResponse,
1710
1689
  errors: [],
@@ -1722,21 +1701,20 @@ export interface StartPurgeRequest {
1722
1701
  deleteMessagesPermanently?: boolean;
1723
1702
  }
1724
1703
 
1725
- export const StartPurgeRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1726
- () =>
1727
- Schema.Struct({
1728
- queueId: Schema.String.pipe(T.HttpPath("queueId")),
1729
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
1730
- deleteMessagesPermanently: Schema.optional(Schema.Boolean),
1731
- }).pipe(
1732
- Schema.encodeKeys({
1733
- deleteMessagesPermanently: "delete_messages_permanently",
1734
- }),
1735
- T.Http({
1736
- method: "POST",
1737
- path: "/accounts/{account_id}/queues/{queueId}/purge",
1738
- }),
1739
- ),
1704
+ export const StartPurgeRequest = /*@__PURE__*/ Schema.suspend(() =>
1705
+ Schema.Struct({
1706
+ queueId: Schema.String.pipe(T.HttpPath("queueId")),
1707
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
1708
+ deleteMessagesPermanently: Schema.optional(Schema.Boolean),
1709
+ }).pipe(
1710
+ Schema.encodeKeys({
1711
+ deleteMessagesPermanently: "delete_messages_permanently",
1712
+ }),
1713
+ T.Http({
1714
+ method: "POST",
1715
+ path: "/accounts/{account_id}/queues/{queueId}/purge",
1716
+ }),
1717
+ ),
1740
1718
  ) as unknown as Schema.Codec<StartPurgeRequest>;
1741
1719
 
1742
1720
  export interface StartPurgeResponse {
@@ -1791,49 +1769,48 @@ export interface StartPurgeResponse {
1791
1769
  } | null;
1792
1770
  }
1793
1771
 
1794
- export const StartPurgeResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1795
- () =>
1796
- Schema.Struct({
1797
- consumers: Schema.optional(
1798
- Schema.Union([
1799
- Schema.Array(
1800
- Schema.Union([MqWorkerConsumerResponse2, MqHTTPConsumerResponse]),
1801
- ),
1802
- Schema.Null,
1803
- ]),
1804
- ),
1805
- consumersTotalCount: Schema.optional(
1806
- Schema.Union([Schema.Number, Schema.Null]),
1807
- ),
1808
- createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1809
- modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1810
- producers: Schema.optional(
1811
- Schema.Union([
1812
- Schema.Array(Schema.Union([MqWorkerProducer, MqR2Producer])),
1813
- Schema.Null,
1814
- ]),
1815
- ),
1816
- producersTotalCount: Schema.optional(
1817
- Schema.Union([Schema.Number, Schema.Null]),
1818
- ),
1819
- queueId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1820
- queueName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1821
- settings: Schema.optional(Schema.Union([Settings4, Schema.Null])),
1822
- })
1823
- .pipe(
1824
- Schema.encodeKeys({
1825
- consumers: "consumers",
1826
- consumersTotalCount: "consumers_total_count",
1827
- createdOn: "created_on",
1828
- modifiedOn: "modified_on",
1829
- producers: "producers",
1830
- producersTotalCount: "producers_total_count",
1831
- queueId: "queue_id",
1832
- queueName: "queue_name",
1833
- settings: "settings",
1834
- }),
1835
- )
1836
- .pipe(T.ResponsePath("result")),
1772
+ export const StartPurgeResponse = /*@__PURE__*/ Schema.suspend(() =>
1773
+ Schema.Struct({
1774
+ consumers: Schema.optional(
1775
+ Schema.Union([
1776
+ Schema.Array(
1777
+ Schema.Union([MqWorkerConsumerResponse2, MqHTTPConsumerResponse]),
1778
+ ),
1779
+ Schema.Null,
1780
+ ]),
1781
+ ),
1782
+ consumersTotalCount: Schema.optional(
1783
+ Schema.Union([Schema.Number, Schema.Null]),
1784
+ ),
1785
+ createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1786
+ modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1787
+ producers: Schema.optional(
1788
+ Schema.Union([
1789
+ Schema.Array(Schema.Union([MqWorkerProducer, MqR2Producer])),
1790
+ Schema.Null,
1791
+ ]),
1792
+ ),
1793
+ producersTotalCount: Schema.optional(
1794
+ Schema.Union([Schema.Number, Schema.Null]),
1795
+ ),
1796
+ queueId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1797
+ queueName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1798
+ settings: Schema.optional(Schema.Union([Settings4, Schema.Null])),
1799
+ })
1800
+ .pipe(
1801
+ Schema.encodeKeys({
1802
+ consumers: "consumers",
1803
+ consumersTotalCount: "consumers_total_count",
1804
+ createdOn: "created_on",
1805
+ modifiedOn: "modified_on",
1806
+ producers: "producers",
1807
+ producersTotalCount: "producers_total_count",
1808
+ queueId: "queue_id",
1809
+ queueName: "queue_name",
1810
+ settings: "settings",
1811
+ }),
1812
+ )
1813
+ .pipe(T.ResponsePath("result")),
1837
1814
  ) as unknown as Schema.Codec<StartPurgeResponse>;
1838
1815
 
1839
1816
  export type StartPurgeError = DefaultErrors | InvalidQueueId | InvalidRoute;
@@ -1843,7 +1820,7 @@ export const startPurge: API.OperationMethod<
1843
1820
  StartPurgeResponse,
1844
1821
  StartPurgeError,
1845
1822
  Credentials | HttpClient.HttpClient
1846
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1823
+ > = /*@__PURE__*/ API.make(() => ({
1847
1824
  input: StartPurgeRequest,
1848
1825
  output: StartPurgeResponse,
1849
1826
  errors: [InvalidQueueId, InvalidRoute],
@@ -1855,17 +1832,16 @@ export interface StatusPurgeRequest {
1855
1832
  accountId: string;
1856
1833
  }
1857
1834
 
1858
- export const StatusPurgeRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1859
- () =>
1860
- Schema.Struct({
1861
- queueId: Schema.String.pipe(T.HttpPath("queueId")),
1862
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
1863
- }).pipe(
1864
- T.Http({
1865
- method: "GET",
1866
- path: "/accounts/{account_id}/queues/{queueId}/purge",
1867
- }),
1868
- ),
1835
+ export const StatusPurgeRequest = /*@__PURE__*/ Schema.suspend(() =>
1836
+ Schema.Struct({
1837
+ queueId: Schema.String.pipe(T.HttpPath("queueId")),
1838
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
1839
+ }).pipe(
1840
+ T.Http({
1841
+ method: "GET",
1842
+ path: "/accounts/{account_id}/queues/{queueId}/purge",
1843
+ }),
1844
+ ),
1869
1845
  ) as unknown as Schema.Codec<StatusPurgeRequest>;
1870
1846
 
1871
1847
  export interface StatusPurgeResponse {
@@ -1875,16 +1851,15 @@ export interface StatusPurgeResponse {
1875
1851
  startedAt?: string | null;
1876
1852
  }
1877
1853
 
1878
- export const StatusPurgeResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1879
- () =>
1880
- Schema.Struct({
1881
- completed: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1882
- startedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1883
- })
1884
- .pipe(
1885
- Schema.encodeKeys({ completed: "completed", startedAt: "started_at" }),
1886
- )
1887
- .pipe(T.ResponsePath("result")),
1854
+ export const StatusPurgeResponse = /*@__PURE__*/ Schema.suspend(() =>
1855
+ Schema.Struct({
1856
+ completed: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1857
+ startedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1858
+ })
1859
+ .pipe(
1860
+ Schema.encodeKeys({ completed: "completed", startedAt: "started_at" }),
1861
+ )
1862
+ .pipe(T.ResponsePath("result")),
1888
1863
  ) as unknown as Schema.Codec<StatusPurgeResponse>;
1889
1864
 
1890
1865
  export type StatusPurgeError = DefaultErrors | InvalidQueueId | InvalidRoute;
@@ -1894,7 +1869,7 @@ export const statusPurge: API.OperationMethod<
1894
1869
  StatusPurgeResponse,
1895
1870
  StatusPurgeError,
1896
1871
  Credentials | HttpClient.HttpClient
1897
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1872
+ > = /*@__PURE__*/ API.make(() => ({
1898
1873
  input: StatusPurgeRequest,
1899
1874
  output: StatusPurgeResponse,
1900
1875
  errors: [InvalidQueueId, InvalidRoute],
@@ -1910,7 +1885,7 @@ export interface GetQueueRequest {
1910
1885
  accountId: string;
1911
1886
  }
1912
1887
 
1913
- export const GetQueueRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1888
+ export const GetQueueRequest = /*@__PURE__*/ Schema.suspend(() =>
1914
1889
  Schema.Struct({
1915
1890
  queueId: Schema.String.pipe(T.HttpPath("queueId")),
1916
1891
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -1971,7 +1946,7 @@ export interface GetQueueResponse {
1971
1946
  } | null;
1972
1947
  }
1973
1948
 
1974
- export const GetQueueResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1949
+ export const GetQueueResponse = /*@__PURE__*/ Schema.suspend(() =>
1975
1950
  Schema.Struct({
1976
1951
  consumers: Schema.optional(
1977
1952
  Schema.Union([
@@ -2022,7 +1997,7 @@ export const getQueue: API.OperationMethod<
2022
1997
  GetQueueResponse,
2023
1998
  GetQueueError,
2024
1999
  Credentials | HttpClient.HttpClient
2025
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2000
+ > = /*@__PURE__*/ API.make(() => ({
2026
2001
  input: GetQueueRequest,
2027
2002
  output: GetQueueResponse,
2028
2003
  errors: [QueueNotFound, InvalidRoute],
@@ -2033,11 +2008,10 @@ export interface ListQueuesRequest {
2033
2008
  accountId: string;
2034
2009
  }
2035
2010
 
2036
- export const ListQueuesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2037
- () =>
2038
- Schema.Struct({
2039
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
2040
- }).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/queues" })),
2011
+ export const ListQueuesRequest = /*@__PURE__*/ Schema.suspend(() =>
2012
+ Schema.Struct({
2013
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
2014
+ }).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/queues" })),
2041
2015
  ) as unknown as Schema.Codec<ListQueuesRequest>;
2042
2016
 
2043
2017
  export interface ListQueuesResponse {
@@ -2094,11 +2068,10 @@ export interface ListQueuesResponse {
2094
2068
  }[];
2095
2069
  }
2096
2070
 
2097
- export const ListQueuesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2098
- () =>
2099
- Schema.Struct({
2100
- result: Schema.Array(ListQueuesResponseResult),
2101
- }),
2071
+ export const ListQueuesResponse = /*@__PURE__*/ Schema.suspend(() =>
2072
+ Schema.Struct({
2073
+ result: Schema.Array(ListQueuesResponseResult),
2074
+ }),
2102
2075
  ) as unknown as Schema.Codec<ListQueuesResponse>;
2103
2076
 
2104
2077
  export type ListQueuesError = DefaultErrors | InvalidRoute;
@@ -2108,7 +2081,7 @@ export const listQueues: API.PaginatedOperationMethod<
2108
2081
  ListQueuesResponse,
2109
2082
  ListQueuesError,
2110
2083
  Credentials | HttpClient.HttpClient
2111
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
2084
+ > = /*@__PURE__*/ API.makePaginated(() => ({
2112
2085
  input: ListQueuesRequest,
2113
2086
  output: ListQueuesResponse,
2114
2087
  errors: [InvalidRoute],
@@ -2125,15 +2098,14 @@ export interface CreateQueueRequest {
2125
2098
  queueName: string;
2126
2099
  }
2127
2100
 
2128
- export const CreateQueueRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2129
- () =>
2130
- Schema.Struct({
2131
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
2132
- queueName: Schema.String,
2133
- }).pipe(
2134
- Schema.encodeKeys({ queueName: "queue_name" }),
2135
- T.Http({ method: "POST", path: "/accounts/{account_id}/queues" }),
2136
- ),
2101
+ export const CreateQueueRequest = /*@__PURE__*/ Schema.suspend(() =>
2102
+ Schema.Struct({
2103
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
2104
+ queueName: Schema.String,
2105
+ }).pipe(
2106
+ Schema.encodeKeys({ queueName: "queue_name" }),
2107
+ T.Http({ method: "POST", path: "/accounts/{account_id}/queues" }),
2108
+ ),
2137
2109
  ) as unknown as Schema.Codec<CreateQueueRequest>;
2138
2110
 
2139
2111
  export interface CreateQueueResponse {
@@ -2188,49 +2160,48 @@ export interface CreateQueueResponse {
2188
2160
  } | null;
2189
2161
  }
2190
2162
 
2191
- export const CreateQueueResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2192
- () =>
2193
- Schema.Struct({
2194
- consumers: Schema.optional(
2195
- Schema.Union([
2196
- Schema.Array(
2197
- Schema.Union([MqWorkerConsumerResponse2, MqHTTPConsumerResponse]),
2198
- ),
2199
- Schema.Null,
2200
- ]),
2201
- ),
2202
- consumersTotalCount: Schema.optional(
2203
- Schema.Union([Schema.Number, Schema.Null]),
2204
- ),
2205
- createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2206
- modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2207
- producers: Schema.optional(
2208
- Schema.Union([
2209
- Schema.Array(Schema.Union([MqWorkerProducer, MqR2Producer])),
2210
- Schema.Null,
2211
- ]),
2212
- ),
2213
- producersTotalCount: Schema.optional(
2214
- Schema.Union([Schema.Number, Schema.Null]),
2215
- ),
2216
- queueId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2217
- queueName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2218
- settings: Schema.optional(Schema.Union([Settings4, Schema.Null])),
2219
- })
2220
- .pipe(
2221
- Schema.encodeKeys({
2222
- consumers: "consumers",
2223
- consumersTotalCount: "consumers_total_count",
2224
- createdOn: "created_on",
2225
- modifiedOn: "modified_on",
2226
- producers: "producers",
2227
- producersTotalCount: "producers_total_count",
2228
- queueId: "queue_id",
2229
- queueName: "queue_name",
2230
- settings: "settings",
2231
- }),
2232
- )
2233
- .pipe(T.ResponsePath("result")),
2163
+ export const CreateQueueResponse = /*@__PURE__*/ Schema.suspend(() =>
2164
+ Schema.Struct({
2165
+ consumers: Schema.optional(
2166
+ Schema.Union([
2167
+ Schema.Array(
2168
+ Schema.Union([MqWorkerConsumerResponse2, MqHTTPConsumerResponse]),
2169
+ ),
2170
+ Schema.Null,
2171
+ ]),
2172
+ ),
2173
+ consumersTotalCount: Schema.optional(
2174
+ Schema.Union([Schema.Number, Schema.Null]),
2175
+ ),
2176
+ createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2177
+ modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2178
+ producers: Schema.optional(
2179
+ Schema.Union([
2180
+ Schema.Array(Schema.Union([MqWorkerProducer, MqR2Producer])),
2181
+ Schema.Null,
2182
+ ]),
2183
+ ),
2184
+ producersTotalCount: Schema.optional(
2185
+ Schema.Union([Schema.Number, Schema.Null]),
2186
+ ),
2187
+ queueId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2188
+ queueName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2189
+ settings: Schema.optional(Schema.Union([Settings4, Schema.Null])),
2190
+ })
2191
+ .pipe(
2192
+ Schema.encodeKeys({
2193
+ consumers: "consumers",
2194
+ consumersTotalCount: "consumers_total_count",
2195
+ createdOn: "created_on",
2196
+ modifiedOn: "modified_on",
2197
+ producers: "producers",
2198
+ producersTotalCount: "producers_total_count",
2199
+ queueId: "queue_id",
2200
+ queueName: "queue_name",
2201
+ settings: "settings",
2202
+ }),
2203
+ )
2204
+ .pipe(T.ResponsePath("result")),
2234
2205
  ) as unknown as Schema.Codec<CreateQueueResponse>;
2235
2206
 
2236
2207
  export type CreateQueueError =
@@ -2244,7 +2215,7 @@ export const createQueue: API.OperationMethod<
2244
2215
  CreateQueueResponse,
2245
2216
  CreateQueueError,
2246
2217
  Credentials | HttpClient.HttpClient
2247
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2218
+ > = /*@__PURE__*/ API.make(() => ({
2248
2219
  input: CreateQueueRequest,
2249
2220
  output: CreateQueueResponse,
2250
2221
  errors: [QueueAlreadyExists, InvalidQueueName, InvalidRoute],
@@ -2264,20 +2235,19 @@ export interface UpdateQueueRequest {
2264
2235
  };
2265
2236
  }
2266
2237
 
2267
- export const UpdateQueueRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2268
- () =>
2269
- Schema.Struct({
2270
- queueId: Schema.String.pipe(T.HttpPath("queueId")),
2271
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
2272
- queueName: Schema.optional(Schema.String),
2273
- settings: Schema.optional(Settings4),
2274
- }).pipe(
2275
- Schema.encodeKeys({ queueName: "queue_name", settings: "settings" }),
2276
- T.Http({
2277
- method: "PUT",
2278
- path: "/accounts/{account_id}/queues/{queueId}",
2279
- }),
2280
- ),
2238
+ export const UpdateQueueRequest = /*@__PURE__*/ Schema.suspend(() =>
2239
+ Schema.Struct({
2240
+ queueId: Schema.String.pipe(T.HttpPath("queueId")),
2241
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
2242
+ queueName: Schema.optional(Schema.String),
2243
+ settings: Schema.optional(Settings4),
2244
+ }).pipe(
2245
+ Schema.encodeKeys({ queueName: "queue_name", settings: "settings" }),
2246
+ T.Http({
2247
+ method: "PUT",
2248
+ path: "/accounts/{account_id}/queues/{queueId}",
2249
+ }),
2250
+ ),
2281
2251
  ) as unknown as Schema.Codec<UpdateQueueRequest>;
2282
2252
 
2283
2253
  export interface UpdateQueueResponse {
@@ -2332,49 +2302,48 @@ export interface UpdateQueueResponse {
2332
2302
  } | null;
2333
2303
  }
2334
2304
 
2335
- export const UpdateQueueResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2336
- () =>
2337
- Schema.Struct({
2338
- consumers: Schema.optional(
2339
- Schema.Union([
2340
- Schema.Array(
2341
- Schema.Union([MqWorkerConsumerResponse2, MqHTTPConsumerResponse]),
2342
- ),
2343
- Schema.Null,
2344
- ]),
2345
- ),
2346
- consumersTotalCount: Schema.optional(
2347
- Schema.Union([Schema.Number, Schema.Null]),
2348
- ),
2349
- createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2350
- modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2351
- producers: Schema.optional(
2352
- Schema.Union([
2353
- Schema.Array(Schema.Union([MqWorkerProducer, MqR2Producer])),
2354
- Schema.Null,
2355
- ]),
2356
- ),
2357
- producersTotalCount: Schema.optional(
2358
- Schema.Union([Schema.Number, Schema.Null]),
2359
- ),
2360
- queueId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2361
- queueName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2362
- settings: Schema.optional(Schema.Union([Settings4, Schema.Null])),
2363
- })
2364
- .pipe(
2365
- Schema.encodeKeys({
2366
- consumers: "consumers",
2367
- consumersTotalCount: "consumers_total_count",
2368
- createdOn: "created_on",
2369
- modifiedOn: "modified_on",
2370
- producers: "producers",
2371
- producersTotalCount: "producers_total_count",
2372
- queueId: "queue_id",
2373
- queueName: "queue_name",
2374
- settings: "settings",
2375
- }),
2376
- )
2377
- .pipe(T.ResponsePath("result")),
2305
+ export const UpdateQueueResponse = /*@__PURE__*/ Schema.suspend(() =>
2306
+ Schema.Struct({
2307
+ consumers: Schema.optional(
2308
+ Schema.Union([
2309
+ Schema.Array(
2310
+ Schema.Union([MqWorkerConsumerResponse2, MqHTTPConsumerResponse]),
2311
+ ),
2312
+ Schema.Null,
2313
+ ]),
2314
+ ),
2315
+ consumersTotalCount: Schema.optional(
2316
+ Schema.Union([Schema.Number, Schema.Null]),
2317
+ ),
2318
+ createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2319
+ modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2320
+ producers: Schema.optional(
2321
+ Schema.Union([
2322
+ Schema.Array(Schema.Union([MqWorkerProducer, MqR2Producer])),
2323
+ Schema.Null,
2324
+ ]),
2325
+ ),
2326
+ producersTotalCount: Schema.optional(
2327
+ Schema.Union([Schema.Number, Schema.Null]),
2328
+ ),
2329
+ queueId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2330
+ queueName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2331
+ settings: Schema.optional(Schema.Union([Settings4, Schema.Null])),
2332
+ })
2333
+ .pipe(
2334
+ Schema.encodeKeys({
2335
+ consumers: "consumers",
2336
+ consumersTotalCount: "consumers_total_count",
2337
+ createdOn: "created_on",
2338
+ modifiedOn: "modified_on",
2339
+ producers: "producers",
2340
+ producersTotalCount: "producers_total_count",
2341
+ queueId: "queue_id",
2342
+ queueName: "queue_name",
2343
+ settings: "settings",
2344
+ }),
2345
+ )
2346
+ .pipe(T.ResponsePath("result")),
2378
2347
  ) as unknown as Schema.Codec<UpdateQueueResponse>;
2379
2348
 
2380
2349
  export type UpdateQueueError =
@@ -2388,7 +2357,7 @@ export const updateQueue: API.OperationMethod<
2388
2357
  UpdateQueueResponse,
2389
2358
  UpdateQueueError,
2390
2359
  Credentials | HttpClient.HttpClient
2391
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2360
+ > = /*@__PURE__*/ API.make(() => ({
2392
2361
  input: UpdateQueueRequest,
2393
2362
  output: UpdateQueueResponse,
2394
2363
  errors: [InvalidQueueName, QueueNotFound, InvalidRoute],
@@ -2408,20 +2377,19 @@ export interface PatchQueueRequest {
2408
2377
  };
2409
2378
  }
2410
2379
 
2411
- export const PatchQueueRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2412
- () =>
2413
- Schema.Struct({
2414
- queueId: Schema.String.pipe(T.HttpPath("queueId")),
2415
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
2416
- queueName: Schema.optional(Schema.String),
2417
- settings: Schema.optional(Settings4),
2418
- }).pipe(
2419
- Schema.encodeKeys({ queueName: "queue_name", settings: "settings" }),
2420
- T.Http({
2421
- method: "PATCH",
2422
- path: "/accounts/{account_id}/queues/{queueId}",
2423
- }),
2424
- ),
2380
+ export const PatchQueueRequest = /*@__PURE__*/ Schema.suspend(() =>
2381
+ Schema.Struct({
2382
+ queueId: Schema.String.pipe(T.HttpPath("queueId")),
2383
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
2384
+ queueName: Schema.optional(Schema.String),
2385
+ settings: Schema.optional(Settings4),
2386
+ }).pipe(
2387
+ Schema.encodeKeys({ queueName: "queue_name", settings: "settings" }),
2388
+ T.Http({
2389
+ method: "PATCH",
2390
+ path: "/accounts/{account_id}/queues/{queueId}",
2391
+ }),
2392
+ ),
2425
2393
  ) as unknown as Schema.Codec<PatchQueueRequest>;
2426
2394
 
2427
2395
  export interface PatchQueueResponse {
@@ -2476,49 +2444,48 @@ export interface PatchQueueResponse {
2476
2444
  } | null;
2477
2445
  }
2478
2446
 
2479
- export const PatchQueueResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2480
- () =>
2481
- Schema.Struct({
2482
- consumers: Schema.optional(
2483
- Schema.Union([
2484
- Schema.Array(
2485
- Schema.Union([MqWorkerConsumerResponse2, MqHTTPConsumerResponse]),
2486
- ),
2487
- Schema.Null,
2488
- ]),
2489
- ),
2490
- consumersTotalCount: Schema.optional(
2491
- Schema.Union([Schema.Number, Schema.Null]),
2492
- ),
2493
- createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2494
- modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2495
- producers: Schema.optional(
2496
- Schema.Union([
2497
- Schema.Array(Schema.Union([MqWorkerProducer, MqR2Producer])),
2498
- Schema.Null,
2499
- ]),
2500
- ),
2501
- producersTotalCount: Schema.optional(
2502
- Schema.Union([Schema.Number, Schema.Null]),
2503
- ),
2504
- queueId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2505
- queueName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2506
- settings: Schema.optional(Schema.Union([Settings4, Schema.Null])),
2507
- })
2508
- .pipe(
2509
- Schema.encodeKeys({
2510
- consumers: "consumers",
2511
- consumersTotalCount: "consumers_total_count",
2512
- createdOn: "created_on",
2513
- modifiedOn: "modified_on",
2514
- producers: "producers",
2515
- producersTotalCount: "producers_total_count",
2516
- queueId: "queue_id",
2517
- queueName: "queue_name",
2518
- settings: "settings",
2519
- }),
2520
- )
2521
- .pipe(T.ResponsePath("result")),
2447
+ export const PatchQueueResponse = /*@__PURE__*/ Schema.suspend(() =>
2448
+ Schema.Struct({
2449
+ consumers: Schema.optional(
2450
+ Schema.Union([
2451
+ Schema.Array(
2452
+ Schema.Union([MqWorkerConsumerResponse2, MqHTTPConsumerResponse]),
2453
+ ),
2454
+ Schema.Null,
2455
+ ]),
2456
+ ),
2457
+ consumersTotalCount: Schema.optional(
2458
+ Schema.Union([Schema.Number, Schema.Null]),
2459
+ ),
2460
+ createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2461
+ modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2462
+ producers: Schema.optional(
2463
+ Schema.Union([
2464
+ Schema.Array(Schema.Union([MqWorkerProducer, MqR2Producer])),
2465
+ Schema.Null,
2466
+ ]),
2467
+ ),
2468
+ producersTotalCount: Schema.optional(
2469
+ Schema.Union([Schema.Number, Schema.Null]),
2470
+ ),
2471
+ queueId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2472
+ queueName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2473
+ settings: Schema.optional(Schema.Union([Settings4, Schema.Null])),
2474
+ })
2475
+ .pipe(
2476
+ Schema.encodeKeys({
2477
+ consumers: "consumers",
2478
+ consumersTotalCount: "consumers_total_count",
2479
+ createdOn: "created_on",
2480
+ modifiedOn: "modified_on",
2481
+ producers: "producers",
2482
+ producersTotalCount: "producers_total_count",
2483
+ queueId: "queue_id",
2484
+ queueName: "queue_name",
2485
+ settings: "settings",
2486
+ }),
2487
+ )
2488
+ .pipe(T.ResponsePath("result")),
2522
2489
  ) as unknown as Schema.Codec<PatchQueueResponse>;
2523
2490
 
2524
2491
  export type PatchQueueError = DefaultErrors | QueueNotFound | InvalidRoute;
@@ -2528,7 +2495,7 @@ export const patchQueue: API.OperationMethod<
2528
2495
  PatchQueueResponse,
2529
2496
  PatchQueueError,
2530
2497
  Credentials | HttpClient.HttpClient
2531
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2498
+ > = /*@__PURE__*/ API.make(() => ({
2532
2499
  input: PatchQueueRequest,
2533
2500
  output: PatchQueueResponse,
2534
2501
  errors: [QueueNotFound, InvalidRoute],
@@ -2540,17 +2507,16 @@ export interface DeleteQueueRequest {
2540
2507
  accountId: string;
2541
2508
  }
2542
2509
 
2543
- export const DeleteQueueRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2544
- () =>
2545
- Schema.Struct({
2546
- queueId: Schema.String.pipe(T.HttpPath("queueId")),
2547
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
2548
- }).pipe(
2549
- T.Http({
2550
- method: "DELETE",
2551
- path: "/accounts/{account_id}/queues/{queueId}",
2552
- }),
2553
- ),
2510
+ export const DeleteQueueRequest = /*@__PURE__*/ Schema.suspend(() =>
2511
+ Schema.Struct({
2512
+ queueId: Schema.String.pipe(T.HttpPath("queueId")),
2513
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
2514
+ }).pipe(
2515
+ T.Http({
2516
+ method: "DELETE",
2517
+ path: "/accounts/{account_id}/queues/{queueId}",
2518
+ }),
2519
+ ),
2554
2520
  ) as unknown as Schema.Codec<DeleteQueueRequest>;
2555
2521
 
2556
2522
  export interface DeleteQueueResponse {
@@ -2567,19 +2533,16 @@ export interface DeleteQueueResponse {
2567
2533
  success?: true | null;
2568
2534
  }
2569
2535
 
2570
- export const DeleteQueueResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2571
- () =>
2572
- Schema.Struct({
2573
- errors: Schema.optional(
2574
- Schema.Union([Schema.Array(ResponseInfo), Schema.Null]),
2575
- ),
2576
- messages: Schema.optional(
2577
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
2578
- ),
2579
- success: Schema.optional(
2580
- Schema.Union([Schema.Literal(true), Schema.Null]),
2581
- ),
2582
- }),
2536
+ export const DeleteQueueResponse = /*@__PURE__*/ Schema.suspend(() =>
2537
+ Schema.Struct({
2538
+ errors: Schema.optional(
2539
+ Schema.Union([Schema.Array(ResponseInfo), Schema.Null]),
2540
+ ),
2541
+ messages: Schema.optional(
2542
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
2543
+ ),
2544
+ success: Schema.optional(Schema.Union([Schema.Literal(true), Schema.Null])),
2545
+ }),
2583
2546
  ) as unknown as Schema.Codec<DeleteQueueResponse>;
2584
2547
 
2585
2548
  export type DeleteQueueError =
@@ -2593,7 +2556,7 @@ export const deleteQueue: API.OperationMethod<
2593
2556
  DeleteQueueResponse,
2594
2557
  DeleteQueueError,
2595
2558
  Credentials | HttpClient.HttpClient
2596
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2559
+ > = /*@__PURE__*/ API.make(() => ({
2597
2560
  input: DeleteQueueRequest,
2598
2561
  output: DeleteQueueResponse,
2599
2562
  errors: [QueueNotFound, QueueInUseByEventNotification, InvalidRoute],
@@ -2610,7 +2573,7 @@ export interface GetSubscriptionRequest {
2610
2573
  }
2611
2574
 
2612
2575
  export const GetSubscriptionRequest =
2613
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2576
+ /*@__PURE__*/ Schema.suspend(() =>
2614
2577
  Schema.Struct({
2615
2578
  subscriptionId: Schema.String.pipe(T.HttpPath("subscriptionId")),
2616
2579
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -2650,7 +2613,7 @@ export interface GetSubscriptionResponse {
2650
2613
  }
2651
2614
 
2652
2615
  export const GetSubscriptionResponse =
2653
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2616
+ /*@__PURE__*/ Schema.suspend(() =>
2654
2617
  Schema.Struct({
2655
2618
  id: Schema.String,
2656
2619
  createdAt: Schema.String,
@@ -2696,7 +2659,7 @@ export const getSubscription: API.OperationMethod<
2696
2659
  GetSubscriptionResponse,
2697
2660
  GetSubscriptionError,
2698
2661
  Credentials | HttpClient.HttpClient
2699
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2662
+ > = /*@__PURE__*/ API.make(() => ({
2700
2663
  input: GetSubscriptionRequest,
2701
2664
  output: GetSubscriptionResponse,
2702
2665
  errors: [UnrecognizedEventType, SubscriptionNotFound, Forbidden],
@@ -2714,7 +2677,7 @@ export interface ListSubscriptionsRequest {
2714
2677
  }
2715
2678
 
2716
2679
  export const ListSubscriptionsRequest =
2717
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2680
+ /*@__PURE__*/ Schema.suspend(() =>
2718
2681
  Schema.Struct({
2719
2682
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
2720
2683
  page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
@@ -2764,7 +2727,7 @@ export interface ListSubscriptionsResponse {
2764
2727
  }
2765
2728
 
2766
2729
  export const ListSubscriptionsResponse =
2767
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2730
+ /*@__PURE__*/ Schema.suspend(() =>
2768
2731
  Schema.Struct({
2769
2732
  result: Schema.Array(ListSubscriptionsResponseResult),
2770
2733
  resultInfo: Schema.optional(
@@ -2780,7 +2743,7 @@ export const listSubscriptions: API.PaginatedOperationMethod<
2780
2743
  ListSubscriptionsResponse,
2781
2744
  ListSubscriptionsError,
2782
2745
  Credentials | HttpClient.HttpClient
2783
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
2746
+ > = /*@__PURE__*/ API.makePaginated(() => ({
2784
2747
  input: ListSubscriptionsRequest,
2785
2748
  output: ListSubscriptionsResponse,
2786
2749
  errors: [Forbidden],
@@ -2817,7 +2780,7 @@ export interface CreateSubscriptionRequest {
2817
2780
  }
2818
2781
 
2819
2782
  export const CreateSubscriptionRequest =
2820
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2783
+ /*@__PURE__*/ Schema.suspend(() =>
2821
2784
  Schema.Struct({
2822
2785
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
2823
2786
  destination: Schema.optional(Destination),
@@ -2872,7 +2835,7 @@ export interface CreateSubscriptionResponse {
2872
2835
  }
2873
2836
 
2874
2837
  export const CreateSubscriptionResponse =
2875
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2838
+ /*@__PURE__*/ Schema.suspend(() =>
2876
2839
  Schema.Struct({
2877
2840
  id: Schema.String,
2878
2841
  createdAt: Schema.String,
@@ -2918,7 +2881,7 @@ export const createSubscription: API.OperationMethod<
2918
2881
  CreateSubscriptionResponse,
2919
2882
  CreateSubscriptionError,
2920
2883
  Credentials | HttpClient.HttpClient
2921
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2884
+ > = /*@__PURE__*/ API.make(() => ({
2922
2885
  input: CreateSubscriptionRequest,
2923
2886
  output: CreateSubscriptionResponse,
2924
2887
  errors: [UnrecognizedEventType, SubscriptionAlreadyExists, QueueNotFound],
@@ -2939,7 +2902,7 @@ export interface PatchSubscriptionRequest {
2939
2902
  }
2940
2903
 
2941
2904
  export const PatchSubscriptionRequest =
2942
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2905
+ /*@__PURE__*/ Schema.suspend(() =>
2943
2906
  Schema.Struct({
2944
2907
  subscriptionId: Schema.String.pipe(T.HttpPath("subscriptionId")),
2945
2908
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -2983,7 +2946,7 @@ export interface PatchSubscriptionResponse {
2983
2946
  }
2984
2947
 
2985
2948
  export const PatchSubscriptionResponse =
2986
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2949
+ /*@__PURE__*/ Schema.suspend(() =>
2987
2950
  Schema.Struct({
2988
2951
  id: Schema.String,
2989
2952
  createdAt: Schema.String,
@@ -3029,7 +2992,7 @@ export const patchSubscription: API.OperationMethod<
3029
2992
  PatchSubscriptionResponse,
3030
2993
  PatchSubscriptionError,
3031
2994
  Credentials | HttpClient.HttpClient
3032
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2995
+ > = /*@__PURE__*/ API.make(() => ({
3033
2996
  input: PatchSubscriptionRequest,
3034
2997
  output: PatchSubscriptionResponse,
3035
2998
  errors: [UnrecognizedEventType, SubscriptionNotFound, QueueNotFound],
@@ -3042,7 +3005,7 @@ export interface DeleteSubscriptionRequest {
3042
3005
  }
3043
3006
 
3044
3007
  export const DeleteSubscriptionRequest =
3045
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3008
+ /*@__PURE__*/ Schema.suspend(() =>
3046
3009
  Schema.Struct({
3047
3010
  subscriptionId: Schema.String.pipe(T.HttpPath("subscriptionId")),
3048
3011
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -3082,7 +3045,7 @@ export interface DeleteSubscriptionResponse {
3082
3045
  }
3083
3046
 
3084
3047
  export const DeleteSubscriptionResponse =
3085
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3048
+ /*@__PURE__*/ Schema.suspend(() =>
3086
3049
  Schema.Struct({
3087
3050
  id: Schema.String,
3088
3051
  createdAt: Schema.String,
@@ -3127,7 +3090,7 @@ export const deleteSubscription: API.OperationMethod<
3127
3090
  DeleteSubscriptionResponse,
3128
3091
  DeleteSubscriptionError,
3129
3092
  Credentials | HttpClient.HttpClient
3130
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3093
+ > = /*@__PURE__*/ API.make(() => ({
3131
3094
  input: DeleteSubscriptionRequest,
3132
3095
  output: DeleteSubscriptionResponse,
3133
3096
  errors: [UnrecognizedEventType, SubscriptionNotFound],