@distilled.cloud/cloudflare 0.28.2 → 0.29.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (463) hide show
  1. package/lib/client/api.d.ts +1 -1
  2. package/lib/client/api.d.ts.map +1 -1
  3. package/lib/credentials.d.ts.map +1 -1
  4. package/lib/retry.d.ts.map +1 -1
  5. package/lib/services/abuse-reports.d.ts.map +1 -1
  6. package/lib/services/abuse-reports.js +26 -26
  7. package/lib/services/abuse-reports.js.map +1 -1
  8. package/lib/services/accounts.d.ts.map +1 -1
  9. package/lib/services/accounts.js +114 -123
  10. package/lib/services/accounts.js.map +1 -1
  11. package/lib/services/acm.d.ts.map +1 -1
  12. package/lib/services/acm.js +23 -23
  13. package/lib/services/acm.js.map +1 -1
  14. package/lib/services/addressing.d.ts.map +1 -1
  15. package/lib/services/addressing.js +132 -132
  16. package/lib/services/addressing.js.map +1 -1
  17. package/lib/services/ai-gateway.d.ts.map +1 -1
  18. package/lib/services/ai-gateway.js +213 -207
  19. package/lib/services/ai-gateway.js.map +1 -1
  20. package/lib/services/ai-security.d.ts.map +1 -1
  21. package/lib/services/ai-security.js +13 -13
  22. package/lib/services/ai-security.js.map +1 -1
  23. package/lib/services/ai.d.ts.map +1 -1
  24. package/lib/services/ai.js +62 -62
  25. package/lib/services/ai.js.map +1 -1
  26. package/lib/services/aisearch.d.ts.map +1 -1
  27. package/lib/services/aisearch.js +187 -193
  28. package/lib/services/aisearch.js.map +1 -1
  29. package/lib/services/alerting.d.ts.map +1 -1
  30. package/lib/services/alerting.js +78 -78
  31. package/lib/services/alerting.js.map +1 -1
  32. package/lib/services/api-gateway.d.ts.map +1 -1
  33. package/lib/services/api-gateway.js +168 -177
  34. package/lib/services/api-gateway.js.map +1 -1
  35. package/lib/services/argo.js +12 -12
  36. package/lib/services/argo.js.map +1 -1
  37. package/lib/services/audit-logs.d.ts.map +1 -1
  38. package/lib/services/audit-logs.js +9 -9
  39. package/lib/services/audit-logs.js.map +1 -1
  40. package/lib/services/billing.d.ts.map +1 -1
  41. package/lib/services/billing.js +11 -11
  42. package/lib/services/billing.js.map +1 -1
  43. package/lib/services/bot-management.d.ts.map +1 -1
  44. package/lib/services/bot-management.js +18 -30
  45. package/lib/services/bot-management.js.map +1 -1
  46. package/lib/services/botnet-feed.d.ts.map +1 -1
  47. package/lib/services/botnet-feed.js +12 -12
  48. package/lib/services/botnet-feed.js.map +1 -1
  49. package/lib/services/brand-protection.d.ts.map +1 -1
  50. package/lib/services/brand-protection.js +59 -59
  51. package/lib/services/brand-protection.js.map +1 -1
  52. package/lib/services/browser-rendering.d.ts.map +1 -1
  53. package/lib/services/browser-rendering.js +103 -103
  54. package/lib/services/browser-rendering.js.map +1 -1
  55. package/lib/services/cache.d.ts.map +1 -1
  56. package/lib/services/cache.js +72 -72
  57. package/lib/services/cache.js.map +1 -1
  58. package/lib/services/calls.d.ts.map +1 -1
  59. package/lib/services/calls.js +31 -31
  60. package/lib/services/calls.js.map +1 -1
  61. package/lib/services/certificate-authorities.js +6 -6
  62. package/lib/services/certificate-authorities.js.map +1 -1
  63. package/lib/services/client-certificates.js +18 -18
  64. package/lib/services/client-certificates.js.map +1 -1
  65. package/lib/services/cloud-connector.d.ts.map +1 -1
  66. package/lib/services/cloud-connector.js +8 -8
  67. package/lib/services/cloud-connector.js.map +1 -1
  68. package/lib/services/cloudforce-one.d.ts.map +1 -1
  69. package/lib/services/cloudforce-one.js +178 -178
  70. package/lib/services/cloudforce-one.js.map +1 -1
  71. package/lib/services/connectivity.js +25 -25
  72. package/lib/services/connectivity.js.map +1 -1
  73. package/lib/services/containers.js +49 -49
  74. package/lib/services/containers.js.map +1 -1
  75. package/lib/services/content-scanning.d.ts.map +1 -1
  76. package/lib/services/content-scanning.js +29 -29
  77. package/lib/services/content-scanning.js.map +1 -1
  78. package/lib/services/csam-scanner.d.ts.map +1 -1
  79. package/lib/services/csam-scanner.js +8 -8
  80. package/lib/services/csam-scanner.js.map +1 -1
  81. package/lib/services/custom-certificates.d.ts.map +1 -1
  82. package/lib/services/custom-certificates.js +24 -24
  83. package/lib/services/custom-certificates.js.map +1 -1
  84. package/lib/services/custom-csrs.d.ts.map +1 -1
  85. package/lib/services/custom-csrs.js +22 -22
  86. package/lib/services/custom-csrs.js.map +1 -1
  87. package/lib/services/custom-hostnames.d.ts.map +1 -1
  88. package/lib/services/custom-hostnames.js +40 -40
  89. package/lib/services/custom-hostnames.js.map +1 -1
  90. package/lib/services/custom-nameservers.js +11 -11
  91. package/lib/services/custom-nameservers.js.map +1 -1
  92. package/lib/services/custom-pages.d.ts.map +1 -1
  93. package/lib/services/custom-pages.js +43 -43
  94. package/lib/services/custom-pages.js.map +1 -1
  95. package/lib/services/d1.d.ts +4 -4
  96. package/lib/services/d1.d.ts.map +1 -1
  97. package/lib/services/d1.js +69 -51
  98. package/lib/services/d1.js.map +1 -1
  99. package/lib/services/dcv-delegation.js +3 -3
  100. package/lib/services/dcv-delegation.js.map +1 -1
  101. package/lib/services/ddos-protection.js +126 -126
  102. package/lib/services/ddos-protection.js.map +1 -1
  103. package/lib/services/diagnostics.js +27 -27
  104. package/lib/services/diagnostics.js.map +1 -1
  105. package/lib/services/dls.d.ts.map +1 -1
  106. package/lib/services/dls.js +26 -26
  107. package/lib/services/dls.js.map +1 -1
  108. package/lib/services/dns-firewall.d.ts.map +1 -1
  109. package/lib/services/dns-firewall.js +34 -34
  110. package/lib/services/dns-firewall.js.map +1 -1
  111. package/lib/services/dns.d.ts.map +1 -1
  112. package/lib/services/dns.js +268 -268
  113. package/lib/services/dns.js.map +1 -1
  114. package/lib/services/durable-objects.d.ts.map +1 -1
  115. package/lib/services/durable-objects.js +11 -11
  116. package/lib/services/durable-objects.js.map +1 -1
  117. package/lib/services/email-auth.d.ts.map +1 -1
  118. package/lib/services/email-auth.js +13 -13
  119. package/lib/services/email-auth.js.map +1 -1
  120. package/lib/services/email-routing.d.ts.map +1 -1
  121. package/lib/services/email-routing.js +70 -70
  122. package/lib/services/email-routing.js.map +1 -1
  123. package/lib/services/email-security.d.ts.map +1 -1
  124. package/lib/services/email-security.js +195 -195
  125. package/lib/services/email-security.js.map +1 -1
  126. package/lib/services/email-sending.d.ts.map +1 -1
  127. package/lib/services/email-sending.js +28 -28
  128. package/lib/services/email-sending.js.map +1 -1
  129. package/lib/services/filters.d.ts.map +1 -1
  130. package/lib/services/filters.js +25 -25
  131. package/lib/services/filters.js.map +1 -1
  132. package/lib/services/firewall.d.ts.map +1 -1
  133. package/lib/services/firewall.js +149 -149
  134. package/lib/services/firewall.js.map +1 -1
  135. package/lib/services/flagship.d.ts.map +1 -1
  136. package/lib/services/flagship.js +52 -52
  137. package/lib/services/flagship.js.map +1 -1
  138. package/lib/services/fraud.js +8 -8
  139. package/lib/services/fraud.js.map +1 -1
  140. package/lib/services/google-tag-gateway.d.ts.map +1 -1
  141. package/lib/services/google-tag-gateway.js +7 -7
  142. package/lib/services/google-tag-gateway.js.map +1 -1
  143. package/lib/services/healthchecks.d.ts.map +1 -1
  144. package/lib/services/healthchecks.js +31 -31
  145. package/lib/services/healthchecks.js.map +1 -1
  146. package/lib/services/hostnames.d.ts.map +1 -1
  147. package/lib/services/hostnames.js +10 -10
  148. package/lib/services/hostnames.js.map +1 -1
  149. package/lib/services/hyperdrive.d.ts.map +1 -1
  150. package/lib/services/hyperdrive.js +32 -32
  151. package/lib/services/hyperdrive.js.map +1 -1
  152. package/lib/services/iam.d.ts.map +1 -1
  153. package/lib/services/iam.js +113 -113
  154. package/lib/services/iam.js.map +1 -1
  155. package/lib/services/images.d.ts.map +1 -1
  156. package/lib/services/images.js +59 -59
  157. package/lib/services/images.js.map +1 -1
  158. package/lib/services/intel.d.ts.map +1 -1
  159. package/lib/services/intel.js +102 -102
  160. package/lib/services/intel.js.map +1 -1
  161. package/lib/services/ips.js +5 -5
  162. package/lib/services/ips.js.map +1 -1
  163. package/lib/services/keyless-certificates.js +17 -17
  164. package/lib/services/keyless-certificates.js.map +1 -1
  165. package/lib/services/kv.d.ts.map +1 -1
  166. package/lib/services/kv.js +54 -54
  167. package/lib/services/kv.js.map +1 -1
  168. package/lib/services/leaked-credential-checks.d.ts.map +1 -1
  169. package/lib/services/leaked-credential-checks.js +22 -22
  170. package/lib/services/leaked-credential-checks.js.map +1 -1
  171. package/lib/services/load-balancers.d.ts.map +1 -1
  172. package/lib/services/load-balancers.js +139 -157
  173. package/lib/services/load-balancers.js.map +1 -1
  174. package/lib/services/logpush.d.ts.map +1 -1
  175. package/lib/services/logpush.js +69 -69
  176. package/lib/services/logpush.js.map +1 -1
  177. package/lib/services/logs.d.ts.map +1 -1
  178. package/lib/services/logs.js +58 -58
  179. package/lib/services/logs.js.map +1 -1
  180. package/lib/services/magic-cloud-networking.d.ts.map +1 -1
  181. package/lib/services/magic-cloud-networking.js +138 -168
  182. package/lib/services/magic-cloud-networking.js.map +1 -1
  183. package/lib/services/magic-network-monitoring.d.ts.map +1 -1
  184. package/lib/services/magic-network-monitoring.js +47 -65
  185. package/lib/services/magic-network-monitoring.js.map +1 -1
  186. package/lib/services/magic-transit.d.ts.map +1 -1
  187. package/lib/services/magic-transit.js +340 -364
  188. package/lib/services/magic-transit.js.map +1 -1
  189. package/lib/services/managed-transforms.js +11 -11
  190. package/lib/services/managed-transforms.js.map +1 -1
  191. package/lib/services/memberships.d.ts.map +1 -1
  192. package/lib/services/memberships.js +25 -25
  193. package/lib/services/memberships.js.map +1 -1
  194. package/lib/services/moq.d.ts.map +1 -1
  195. package/lib/services/moq.js +23 -23
  196. package/lib/services/moq.js.map +1 -1
  197. package/lib/services/mtls-certificates.d.ts.map +1 -1
  198. package/lib/services/mtls-certificates.js +17 -17
  199. package/lib/services/mtls-certificates.js.map +1 -1
  200. package/lib/services/network-interconnects.d.ts.map +1 -1
  201. package/lib/services/network-interconnects.js +56 -56
  202. package/lib/services/network-interconnects.js.map +1 -1
  203. package/lib/services/organizations.d.ts.map +1 -1
  204. package/lib/services/organizations.js +42 -42
  205. package/lib/services/organizations.js.map +1 -1
  206. package/lib/services/origin-ca-certificates.js +14 -14
  207. package/lib/services/origin-ca-certificates.js.map +1 -1
  208. package/lib/services/origin-post-quantum-encryption.js +6 -6
  209. package/lib/services/origin-post-quantum-encryption.js.map +1 -1
  210. package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
  211. package/lib/services/origin-tls-client-auth.js +52 -52
  212. package/lib/services/origin-tls-client-auth.js.map +1 -1
  213. package/lib/services/origin-tls-compliance-modes.js +12 -12
  214. package/lib/services/origin-tls-compliance-modes.js.map +1 -1
  215. package/lib/services/page-rules.d.ts.map +1 -1
  216. package/lib/services/page-rules.js +62 -62
  217. package/lib/services/page-rules.js.map +1 -1
  218. package/lib/services/page-shield.d.ts.map +1 -1
  219. package/lib/services/page-shield.js +45 -48
  220. package/lib/services/page-shield.js.map +1 -1
  221. package/lib/services/pages.d.ts.map +1 -1
  222. package/lib/services/pages.js +78 -78
  223. package/lib/services/pages.js.map +1 -1
  224. package/lib/services/pipelines.d.ts.map +1 -1
  225. package/lib/services/pipelines.js +102 -102
  226. package/lib/services/pipelines.js.map +1 -1
  227. package/lib/services/queues.d.ts.map +1 -1
  228. package/lib/services/queues.js +100 -103
  229. package/lib/services/queues.js.map +1 -1
  230. package/lib/services/r2-data-catalog.d.ts.map +1 -1
  231. package/lib/services/r2-data-catalog.js +42 -42
  232. package/lib/services/r2-data-catalog.js.map +1 -1
  233. package/lib/services/r2.d.ts.map +1 -1
  234. package/lib/services/r2.js +190 -190
  235. package/lib/services/r2.js.map +1 -1
  236. package/lib/services/radar.d.ts.map +1 -1
  237. package/lib/services/radar.js +991 -1009
  238. package/lib/services/radar.js.map +1 -1
  239. package/lib/services/rate-limits.d.ts.map +1 -1
  240. package/lib/services/rate-limits.js +24 -24
  241. package/lib/services/rate-limits.js.map +1 -1
  242. package/lib/services/realtime-kit.d.ts.map +1 -1
  243. package/lib/services/realtime-kit.js +276 -276
  244. package/lib/services/realtime-kit.js.map +1 -1
  245. package/lib/services/registrar.d.ts.map +1 -1
  246. package/lib/services/registrar.js +28 -28
  247. package/lib/services/registrar.js.map +1 -1
  248. package/lib/services/request-tracers.d.ts.map +1 -1
  249. package/lib/services/request-tracers.js +7 -7
  250. package/lib/services/request-tracers.js.map +1 -1
  251. package/lib/services/resource-sharing.d.ts.map +1 -1
  252. package/lib/services/resource-sharing.js +49 -49
  253. package/lib/services/resource-sharing.js.map +1 -1
  254. package/lib/services/resource-tagging.d.ts.map +1 -1
  255. package/lib/services/resource-tagging.js +56 -56
  256. package/lib/services/resource-tagging.js.map +1 -1
  257. package/lib/services/rules.d.ts.map +1 -1
  258. package/lib/services/rules.js +50 -50
  259. package/lib/services/rules.js.map +1 -1
  260. package/lib/services/rulesets.d.ts +2 -2
  261. package/lib/services/rulesets.d.ts.map +1 -1
  262. package/lib/services/rulesets.js +226 -190
  263. package/lib/services/rulesets.js.map +1 -1
  264. package/lib/services/rum.d.ts.map +1 -1
  265. package/lib/services/rum.js +35 -35
  266. package/lib/services/rum.js.map +1 -1
  267. package/lib/services/schema-validation.d.ts.map +1 -1
  268. package/lib/services/schema-validation.js +43 -46
  269. package/lib/services/schema-validation.js.map +1 -1
  270. package/lib/services/secrets-store.d.ts.map +1 -1
  271. package/lib/services/secrets-store.js +41 -41
  272. package/lib/services/secrets-store.js.map +1 -1
  273. package/lib/services/security-center.d.ts.map +1 -1
  274. package/lib/services/security-center.js +54 -57
  275. package/lib/services/security-center.js.map +1 -1
  276. package/lib/services/security-txt.d.ts.map +1 -1
  277. package/lib/services/security-txt.js +12 -12
  278. package/lib/services/security-txt.js.map +1 -1
  279. package/lib/services/snippets.d.ts.map +1 -1
  280. package/lib/services/snippets.js +31 -31
  281. package/lib/services/snippets.js.map +1 -1
  282. package/lib/services/spectrum.d.ts.map +1 -1
  283. package/lib/services/spectrum.js +35 -35
  284. package/lib/services/spectrum.js.map +1 -1
  285. package/lib/services/speed.d.ts.map +1 -1
  286. package/lib/services/speed.js +41 -41
  287. package/lib/services/speed.js.map +1 -1
  288. package/lib/services/ssl.d.ts.map +1 -1
  289. package/lib/services/ssl.js +48 -48
  290. package/lib/services/ssl.js.map +1 -1
  291. package/lib/services/stream.d.ts.map +1 -1
  292. package/lib/services/stream.js +147 -147
  293. package/lib/services/stream.js.map +1 -1
  294. package/lib/services/tenant-custom-nameservers.js +11 -11
  295. package/lib/services/tenant-custom-nameservers.js.map +1 -1
  296. package/lib/services/tenants.d.ts.map +1 -1
  297. package/lib/services/tenants.js +28 -28
  298. package/lib/services/tenants.js.map +1 -1
  299. package/lib/services/token-validation.d.ts.map +1 -1
  300. package/lib/services/token-validation.js +56 -56
  301. package/lib/services/token-validation.js.map +1 -1
  302. package/lib/services/turnstile.d.ts.map +1 -1
  303. package/lib/services/turnstile.js +27 -54
  304. package/lib/services/turnstile.js.map +1 -1
  305. package/lib/services/url-normalization.js +9 -9
  306. package/lib/services/url-normalization.js.map +1 -1
  307. package/lib/services/url-scanner.d.ts.map +1 -1
  308. package/lib/services/url-scanner.js +120 -120
  309. package/lib/services/url-scanner.js.map +1 -1
  310. package/lib/services/user.d.ts.map +1 -1
  311. package/lib/services/user.js +95 -95
  312. package/lib/services/user.js.map +1 -1
  313. package/lib/services/vectorize.d.ts +10 -10
  314. package/lib/services/vectorize.d.ts.map +1 -1
  315. package/lib/services/vectorize.js +59 -57
  316. package/lib/services/vectorize.js.map +1 -1
  317. package/lib/services/vulnerability-scanner.d.ts.map +1 -1
  318. package/lib/services/vulnerability-scanner.js +95 -95
  319. package/lib/services/vulnerability-scanner.js.map +1 -1
  320. package/lib/services/waiting-rooms.d.ts.map +1 -1
  321. package/lib/services/waiting-rooms.js +81 -81
  322. package/lib/services/waiting-rooms.js.map +1 -1
  323. package/lib/services/web3.d.ts.map +1 -1
  324. package/lib/services/web3.js +39 -39
  325. package/lib/services/web3.js.map +1 -1
  326. package/lib/services/workers-for-platforms.d.ts.map +1 -1
  327. package/lib/services/workers-for-platforms.js +139 -139
  328. package/lib/services/workers-for-platforms.js.map +1 -1
  329. package/lib/services/workers.d.ts.map +1 -1
  330. package/lib/services/workers.js +420 -420
  331. package/lib/services/workers.js.map +1 -1
  332. package/lib/services/workflows.d.ts.map +1 -1
  333. package/lib/services/workflows.js +88 -88
  334. package/lib/services/workflows.js.map +1 -1
  335. package/lib/services/zaraz.d.ts.map +1 -1
  336. package/lib/services/zaraz.js +36 -39
  337. package/lib/services/zaraz.js.map +1 -1
  338. package/lib/services/zero-trust.d.ts.map +1 -1
  339. package/lib/services/zero-trust.js +1765 -1771
  340. package/lib/services/zero-trust.js.map +1 -1
  341. package/lib/services/zones.d.ts.map +1 -1
  342. package/lib/services/zones.js +168 -168
  343. package/lib/services/zones.js.map +1 -1
  344. package/lib/traits.d.ts.map +1 -1
  345. package/package.json +10 -9
  346. package/src/services/abuse-reports.ts +35 -36
  347. package/src/services/accounts.ts +714 -760
  348. package/src/services/acm.ts +115 -125
  349. package/src/services/addressing.ts +484 -512
  350. package/src/services/ai-gateway.ts +653 -672
  351. package/src/services/ai-security.ts +47 -53
  352. package/src/services/ai.ts +172 -185
  353. package/src/services/aisearch.ts +1814 -1861
  354. package/src/services/alerting.ts +710 -742
  355. package/src/services/api-gateway.ts +481 -508
  356. package/src/services/argo.ts +12 -12
  357. package/src/services/audit-logs.ts +45 -49
  358. package/src/services/billing.ts +121 -136
  359. package/src/services/bot-management.ts +122 -136
  360. package/src/services/botnet-feed.ts +68 -74
  361. package/src/services/brand-protection.ts +275 -294
  362. package/src/services/browser-rendering.ts +758 -769
  363. package/src/services/cache.ts +148 -158
  364. package/src/services/calls.ts +110 -120
  365. package/src/services/certificate-authorities.ts +6 -6
  366. package/src/services/client-certificates.ts +18 -18
  367. package/src/services/cloud-connector.ts +11 -12
  368. package/src/services/cloudforce-one.ts +589 -617
  369. package/src/services/connectivity.ts +25 -25
  370. package/src/services/containers.ts +49 -49
  371. package/src/services/content-scanning.ts +80 -89
  372. package/src/services/csam-scanner.ts +16 -17
  373. package/src/services/custom-certificates.ts +36 -38
  374. package/src/services/custom-csrs.ts +103 -105
  375. package/src/services/custom-hostnames.ts +44 -45
  376. package/src/services/custom-nameservers.ts +11 -11
  377. package/src/services/custom-pages.ts +173 -184
  378. package/src/services/d1.ts +335 -325
  379. package/src/services/dcv-delegation.ts +3 -3
  380. package/src/services/ddos-protection.ts +126 -126
  381. package/src/services/diagnostics.ts +27 -27
  382. package/src/services/dls.ts +82 -86
  383. package/src/services/dns-firewall.ts +65 -69
  384. package/src/services/dns.ts +1080 -1107
  385. package/src/services/durable-objects.ts +36 -38
  386. package/src/services/email-auth.ts +47 -52
  387. package/src/services/email-routing.ts +264 -288
  388. package/src/services/email-security.ts +205 -208
  389. package/src/services/email-sending.ts +94 -99
  390. package/src/services/filters.ts +97 -111
  391. package/src/services/firewall.ts +698 -753
  392. package/src/services/flagship.ts +321 -336
  393. package/src/services/fraud.ts +8 -8
  394. package/src/services/google-tag-gateway.ts +17 -19
  395. package/src/services/healthchecks.ts +269 -286
  396. package/src/services/hostnames.ts +94 -99
  397. package/src/services/hyperdrive.ts +310 -324
  398. package/src/services/iam.ts +205 -212
  399. package/src/services/images.ts +138 -150
  400. package/src/services/intel.ts +248 -261
  401. package/src/services/ips.ts +5 -5
  402. package/src/services/keyless-certificates.ts +17 -17
  403. package/src/services/kv.ts +106 -110
  404. package/src/services/leaked-credential-checks.ts +49 -53
  405. package/src/services/load-balancers.ts +1119 -1212
  406. package/src/services/logpush.ts +298 -313
  407. package/src/services/logs.ts +74 -77
  408. package/src/services/magic-cloud-networking.ts +1219 -1311
  409. package/src/services/magic-network-monitoring.ts +647 -685
  410. package/src/services/magic-transit.ts +1988 -2119
  411. package/src/services/managed-transforms.ts +11 -11
  412. package/src/services/memberships.ts +101 -105
  413. package/src/services/moq.ts +100 -110
  414. package/src/services/mtls-certificates.ts +30 -32
  415. package/src/services/network-interconnects.ts +137 -145
  416. package/src/services/organizations.ts +189 -192
  417. package/src/services/origin-ca-certificates.ts +14 -14
  418. package/src/services/origin-post-quantum-encryption.ts +6 -6
  419. package/src/services/origin-tls-client-auth.ts +219 -236
  420. package/src/services/origin-tls-compliance-modes.ts +12 -12
  421. package/src/services/page-rules.ts +365 -373
  422. package/src/services/page-shield.ts +489 -528
  423. package/src/services/pages.ts +309 -319
  424. package/src/services/pipelines.ts +534 -573
  425. package/src/services/queues.ts +598 -635
  426. package/src/services/r2-data-catalog.ts +59 -60
  427. package/src/services/r2.ts +654 -689
  428. package/src/services/radar.ts +3395 -3487
  429. package/src/services/rate-limits.ts +81 -93
  430. package/src/services/realtime-kit.ts +386 -399
  431. package/src/services/registrar.ts +90 -96
  432. package/src/services/request-tracers.ts +41 -43
  433. package/src/services/resource-sharing.ts +293 -305
  434. package/src/services/resource-tagging.ts +354 -366
  435. package/src/services/rules.ts +272 -292
  436. package/src/services/rulesets.ts +1214 -1116
  437. package/src/services/rum.ts +252 -273
  438. package/src/services/schema-validation.ts +284 -305
  439. package/src/services/secrets-store.ts +130 -138
  440. package/src/services/security-center.ts +64 -69
  441. package/src/services/security-txt.ts +48 -50
  442. package/src/services/snippets.ts +132 -142
  443. package/src/services/spectrum.ts +75 -80
  444. package/src/services/speed.ts +385 -397
  445. package/src/services/ssl.ts +64 -65
  446. package/src/services/stream.ts +658 -718
  447. package/src/services/tenant-custom-nameservers.ts +11 -11
  448. package/src/services/tenants.ts +86 -93
  449. package/src/services/token-validation.ts +145 -151
  450. package/src/services/turnstile.ts +344 -381
  451. package/src/services/url-normalization.ts +9 -9
  452. package/src/services/url-scanner.ts +393 -399
  453. package/src/services/user.ts +479 -503
  454. package/src/services/vectorize.ts +215 -230
  455. package/src/services/vulnerability-scanner.ts +145 -148
  456. package/src/services/waiting-rooms.ts +759 -825
  457. package/src/services/web3.ts +186 -197
  458. package/src/services/workers-for-platforms.ts +408 -432
  459. package/src/services/workers.ts +1175 -1239
  460. package/src/services/workflows.ts +585 -616
  461. package/src/services/zaraz.ts +168 -192
  462. package/src/services/zero-trust.ts +2965 -3074
  463. package/src/services/zones.ts +753 -785
@@ -84,81 +84,74 @@ interface ListEventsResponseResult {
84
84
  | "visible_managed"
85
85
  | null;
86
86
  }
87
- const ListEventsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
88
- () =>
89
- Schema.Struct({
90
- id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
91
- createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
92
- customPageHtml: Schema.optional(
93
- Schema.Union([Schema.String, Schema.Null]),
94
- ),
95
- description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
96
- disableSessionRenewal: Schema.optional(
97
- Schema.Union([Schema.Boolean, Schema.Null]),
98
- ),
99
- eventEndTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
100
- eventStartTime: Schema.optional(
101
- Schema.Union([Schema.String, Schema.Null]),
102
- ),
103
- modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
104
- name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
105
- newUsersPerMinute: Schema.optional(
106
- Schema.Union([Schema.Number, Schema.Null]),
107
- ),
108
- prequeueStartTime: Schema.optional(
109
- Schema.Union([Schema.String, Schema.Null]),
110
- ),
111
- queueingMethod: Schema.optional(
112
- Schema.Union([Schema.String, Schema.Null]),
113
- ),
114
- sessionDuration: Schema.optional(
115
- Schema.Union([Schema.Number, Schema.Null]),
116
- ),
117
- shuffleAtEventStart: Schema.optional(
118
- Schema.Union([Schema.Boolean, Schema.Null]),
119
- ),
120
- suspended: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
121
- totalActiveUsers: Schema.optional(
122
- Schema.Union([Schema.Number, Schema.Null]),
123
- ),
124
- turnstileAction: Schema.optional(
125
- Schema.Union([
126
- Schema.Literal("log"),
127
- Schema.Literal("infinite_queue"),
128
- Schema.Null,
129
- ]),
130
- ),
131
- turnstileMode: Schema.optional(
132
- Schema.Union([
133
- Schema.Literal("off"),
134
- Schema.Literal("invisible"),
135
- Schema.Literal("visible_non_interactive"),
136
- Schema.Literal("visible_managed"),
137
- Schema.Null,
138
- ]),
139
- ),
140
- }).pipe(
141
- Schema.encodeKeys({
142
- id: "id",
143
- createdOn: "created_on",
144
- customPageHtml: "custom_page_html",
145
- description: "description",
146
- disableSessionRenewal: "disable_session_renewal",
147
- eventEndTime: "event_end_time",
148
- eventStartTime: "event_start_time",
149
- modifiedOn: "modified_on",
150
- name: "name",
151
- newUsersPerMinute: "new_users_per_minute",
152
- prequeueStartTime: "prequeue_start_time",
153
- queueingMethod: "queueing_method",
154
- sessionDuration: "session_duration",
155
- shuffleAtEventStart: "shuffle_at_event_start",
156
- suspended: "suspended",
157
- totalActiveUsers: "total_active_users",
158
- turnstileAction: "turnstile_action",
159
- turnstileMode: "turnstile_mode",
160
- }),
87
+ const ListEventsResponseResult = /*@__PURE__*/ Schema.suspend(() =>
88
+ Schema.Struct({
89
+ id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
90
+ createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
91
+ customPageHtml: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
92
+ description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
93
+ disableSessionRenewal: Schema.optional(
94
+ Schema.Union([Schema.Boolean, Schema.Null]),
95
+ ),
96
+ eventEndTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
97
+ eventStartTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
98
+ modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
99
+ name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
100
+ newUsersPerMinute: Schema.optional(
101
+ Schema.Union([Schema.Number, Schema.Null]),
102
+ ),
103
+ prequeueStartTime: Schema.optional(
104
+ Schema.Union([Schema.String, Schema.Null]),
105
+ ),
106
+ queueingMethod: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
107
+ sessionDuration: Schema.optional(
108
+ Schema.Union([Schema.Number, Schema.Null]),
109
+ ),
110
+ shuffleAtEventStart: Schema.optional(
111
+ Schema.Union([Schema.Boolean, Schema.Null]),
112
+ ),
113
+ suspended: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
114
+ totalActiveUsers: Schema.optional(
115
+ Schema.Union([Schema.Number, Schema.Null]),
116
+ ),
117
+ turnstileAction: Schema.optional(
118
+ Schema.Union([
119
+ Schema.Literal("log"),
120
+ Schema.Literal("infinite_queue"),
121
+ Schema.Null,
122
+ ]),
123
+ ),
124
+ turnstileMode: Schema.optional(
125
+ Schema.Union([
126
+ Schema.Literal("off"),
127
+ Schema.Literal("invisible"),
128
+ Schema.Literal("visible_non_interactive"),
129
+ Schema.Literal("visible_managed"),
130
+ Schema.Null,
131
+ ]),
161
132
  ),
133
+ }).pipe(
134
+ Schema.encodeKeys({
135
+ id: "id",
136
+ createdOn: "created_on",
137
+ customPageHtml: "custom_page_html",
138
+ description: "description",
139
+ disableSessionRenewal: "disable_session_renewal",
140
+ eventEndTime: "event_end_time",
141
+ eventStartTime: "event_start_time",
142
+ modifiedOn: "modified_on",
143
+ name: "name",
144
+ newUsersPerMinute: "new_users_per_minute",
145
+ prequeueStartTime: "prequeue_start_time",
146
+ queueingMethod: "queueing_method",
147
+ sessionDuration: "session_duration",
148
+ shuffleAtEventStart: "shuffle_at_event_start",
149
+ suspended: "suspended",
150
+ totalActiveUsers: "total_active_users",
151
+ turnstileAction: "turnstile_action",
152
+ turnstileMode: "turnstile_mode",
153
+ }),
154
+ ),
162
155
  ) as unknown as Schema.Codec<ListEventsResponseResult>;
163
156
 
164
157
  interface ListEventsResponseResultInfo {
@@ -167,21 +160,20 @@ interface ListEventsResponseResultInfo {
167
160
  perPage?: number | null;
168
161
  totalCount?: number | null;
169
162
  }
170
- const ListEventsResponseResultInfo = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
171
- () =>
172
- Schema.Struct({
173
- count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
174
- page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
175
- perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
176
- totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
177
- }).pipe(
178
- Schema.encodeKeys({
179
- count: "count",
180
- page: "page",
181
- perPage: "per_page",
182
- totalCount: "total_count",
183
- }),
184
- ),
163
+ const ListEventsResponseResultInfo = /*@__PURE__*/ Schema.suspend(() =>
164
+ Schema.Struct({
165
+ count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
166
+ page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
167
+ perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
168
+ totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
169
+ }).pipe(
170
+ Schema.encodeKeys({
171
+ count: "count",
172
+ page: "page",
173
+ perPage: "per_page",
174
+ totalCount: "total_count",
175
+ }),
176
+ ),
185
177
  ) as unknown as Schema.Codec<ListEventsResponseResultInfo>;
186
178
 
187
179
  interface GetRuleResponseResult {
@@ -199,7 +191,7 @@ interface GetRuleResponseResult {
199
191
  /** The version of the rule. */
200
192
  version?: string | null;
201
193
  }
202
- const GetRuleResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
194
+ const GetRuleResponseResult = /*@__PURE__*/ Schema.suspend(() =>
203
195
  Schema.Struct({
204
196
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
205
197
  action: Schema.optional(
@@ -233,7 +225,7 @@ interface Rules {
233
225
  /** When set to true, the rule is enabled. */
234
226
  enabled?: boolean | null;
235
227
  }
236
- const Rules = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
228
+ const Rules = /*@__PURE__*/ Schema.suspend(() =>
237
229
  Schema.Struct({
238
230
  action: Schema.Literal("bypass_waiting_room"),
239
231
  expression: Schema.String,
@@ -246,7 +238,7 @@ interface Index {
246
238
  /** Places the rule in the exact position specified by the integer number <POSITION_NUMBER>. Position numbers start with 1. Existing rules in the ruleset from the specified position number onward are shif */
247
239
  index?: number | null;
248
240
  }
249
- const Index = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
241
+ const Index = /*@__PURE__*/ Schema.suspend(() =>
250
242
  Schema.Struct({
251
243
  index: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
252
244
  }),
@@ -256,7 +248,7 @@ interface Before {
256
248
  /** Places the rule before rule <RULE_ID>. Use this argument with an empty rule ID value ("") to set the rule as the first rule in the ruleset. */
257
249
  before?: string | null;
258
250
  }
259
- const Before = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
251
+ const Before = /*@__PURE__*/ Schema.suspend(() =>
260
252
  Schema.Struct({
261
253
  before: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
262
254
  }),
@@ -266,7 +258,7 @@ interface After {
266
258
  /** Places the rule after rule <RULE_ID>. Use this argument with an empty rule ID value ("") to set the rule as the last rule in the ruleset. */
267
259
  after?: string | null;
268
260
  }
269
- const After = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
261
+ const After = /*@__PURE__*/ Schema.suspend(() =>
270
262
  Schema.Struct({
271
263
  after: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
272
264
  }),
@@ -278,7 +270,7 @@ interface AdditionalRoutes {
278
270
  /** Sets the path within the host to enable the waiting room on. The waiting room will be enabled for all subpaths as well. If there are two waiting rooms on the same subpath, the waiting room for the mos */
279
271
  path?: string | null;
280
272
  }
281
- const AdditionalRoutes = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
273
+ const AdditionalRoutes = /*@__PURE__*/ Schema.suspend(() =>
282
274
  Schema.Struct({
283
275
  host: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
284
276
  path: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -291,7 +283,7 @@ interface CookieAttributes {
291
283
  /** Configures the Secure attribute on the waiting room cookie. Value `always` indicates that the Secure attribute will be set in the Set-Cookie header, `never` indicates that the Secure attribute will no */
292
284
  secure?: "auto" | "always" | "never" | (string & {}) | null;
293
285
  }
294
- const CookieAttributes = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
286
+ const CookieAttributes = /*@__PURE__*/ Schema.suspend(() =>
295
287
  Schema.Struct({
296
288
  samesite: Schema.optional(
297
289
  Schema.Union([
@@ -421,7 +413,7 @@ interface ListWaitingRoomsResponseResult {
421
413
  | null;
422
414
  }
423
415
  const ListWaitingRoomsResponseResult =
424
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
416
+ /*@__PURE__*/ Schema.suspend(() =>
425
417
  Schema.Struct({
426
418
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
427
419
  additionalRoutes: Schema.optional(
@@ -595,7 +587,7 @@ export interface GetEventRequest {
595
587
  zoneId: string;
596
588
  }
597
589
 
598
- export const GetEventRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
590
+ export const GetEventRequest = /*@__PURE__*/ Schema.suspend(() =>
599
591
  Schema.Struct({
600
592
  waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
601
593
  eventId: Schema.String.pipe(T.HttpPath("eventId")),
@@ -649,7 +641,7 @@ export interface GetEventResponse {
649
641
  | null;
650
642
  }
651
643
 
652
- export const GetEventResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
644
+ export const GetEventResponse = /*@__PURE__*/ Schema.suspend(() =>
653
645
  Schema.Struct({
654
646
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
655
647
  createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -728,7 +720,7 @@ export const getEvent: API.OperationMethod<
728
720
  GetEventResponse,
729
721
  GetEventError,
730
722
  Credentials | HttpClient.HttpClient
731
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
723
+ > = /*@__PURE__*/ API.make(() => ({
732
724
  input: GetEventRequest,
733
725
  output: GetEventResponse,
734
726
  errors: [],
@@ -742,19 +734,18 @@ export interface ListEventsRequest {
742
734
  perPage?: number;
743
735
  }
744
736
 
745
- export const ListEventsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
746
- () =>
747
- Schema.Struct({
748
- waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
749
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
750
- page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
751
- perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
752
- }).pipe(
753
- T.Http({
754
- method: "GET",
755
- path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/events",
756
- }),
757
- ),
737
+ export const ListEventsRequest = /*@__PURE__*/ Schema.suspend(() =>
738
+ Schema.Struct({
739
+ waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
740
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
741
+ page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
742
+ perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
743
+ }).pipe(
744
+ T.Http({
745
+ method: "GET",
746
+ path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/events",
747
+ }),
748
+ ),
758
749
  ) as unknown as Schema.Codec<ListEventsRequest>;
759
750
 
760
751
  export interface ListEventsResponse {
@@ -791,14 +782,13 @@ export interface ListEventsResponse {
791
782
  } | null;
792
783
  }
793
784
 
794
- export const ListEventsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
795
- () =>
796
- Schema.Struct({
797
- result: Schema.Array(ListEventsResponseResult),
798
- resultInfo: Schema.optional(
799
- Schema.Union([ListEventsResponseResultInfo, Schema.Null]),
800
- ),
801
- }).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })),
785
+ export const ListEventsResponse = /*@__PURE__*/ Schema.suspend(() =>
786
+ Schema.Struct({
787
+ result: Schema.Array(ListEventsResponseResult),
788
+ resultInfo: Schema.optional(
789
+ Schema.Union([ListEventsResponseResultInfo, Schema.Null]),
790
+ ),
791
+ }).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })),
802
792
  ) as unknown as Schema.Codec<ListEventsResponse>;
803
793
 
804
794
  export type ListEventsError = DefaultErrors;
@@ -808,7 +798,7 @@ export const listEvents: API.PaginatedOperationMethod<
808
798
  ListEventsResponse,
809
799
  ListEventsError,
810
800
  Credentials | HttpClient.HttpClient
811
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
801
+ > = /*@__PURE__*/ API.makePaginated(() => ({
812
802
  input: ListEventsRequest,
813
803
  output: ListEventsResponse,
814
804
  errors: [],
@@ -862,77 +852,72 @@ export interface CreateEventRequest {
862
852
  | null;
863
853
  }
864
854
 
865
- export const CreateEventRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
866
- () =>
867
- Schema.Struct({
868
- waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
869
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
870
- eventEndTime: Schema.String,
871
- eventStartTime: Schema.String,
872
- name: Schema.String,
873
- customPageHtml: Schema.optional(
874
- Schema.Union([Schema.String, Schema.Null]),
875
- ),
876
- description: Schema.optional(Schema.String),
877
- disableSessionRenewal: Schema.optional(
878
- Schema.Union([Schema.Boolean, Schema.Null]),
879
- ),
880
- newUsersPerMinute: Schema.optional(
881
- Schema.Union([Schema.Number, Schema.Null]),
882
- ),
883
- prequeueStartTime: Schema.optional(
884
- Schema.Union([Schema.String, Schema.Null]),
885
- ),
886
- queueingMethod: Schema.optional(
887
- Schema.Union([Schema.String, Schema.Null]),
888
- ),
889
- sessionDuration: Schema.optional(
890
- Schema.Union([Schema.Number, Schema.Null]),
891
- ),
892
- shuffleAtEventStart: Schema.optional(Schema.Boolean),
893
- suspended: Schema.optional(Schema.Boolean),
894
- totalActiveUsers: Schema.optional(
895
- Schema.Union([Schema.Number, Schema.Null]),
896
- ),
897
- turnstileAction: Schema.optional(
898
- Schema.Union([
899
- Schema.Literal("log"),
900
- Schema.Literal("infinite_queue"),
901
- Schema.Null,
902
- ]),
903
- ),
904
- turnstileMode: Schema.optional(
905
- Schema.Union([
906
- Schema.Literal("off"),
907
- Schema.Literal("invisible"),
908
- Schema.Literal("visible_non_interactive"),
909
- Schema.Literal("visible_managed"),
910
- Schema.Null,
911
- ]),
912
- ),
913
- }).pipe(
914
- Schema.encodeKeys({
915
- eventEndTime: "event_end_time",
916
- eventStartTime: "event_start_time",
917
- name: "name",
918
- customPageHtml: "custom_page_html",
919
- description: "description",
920
- disableSessionRenewal: "disable_session_renewal",
921
- newUsersPerMinute: "new_users_per_minute",
922
- prequeueStartTime: "prequeue_start_time",
923
- queueingMethod: "queueing_method",
924
- sessionDuration: "session_duration",
925
- shuffleAtEventStart: "shuffle_at_event_start",
926
- suspended: "suspended",
927
- totalActiveUsers: "total_active_users",
928
- turnstileAction: "turnstile_action",
929
- turnstileMode: "turnstile_mode",
930
- }),
931
- T.Http({
932
- method: "POST",
933
- path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/events",
934
- }),
855
+ export const CreateEventRequest = /*@__PURE__*/ Schema.suspend(() =>
856
+ Schema.Struct({
857
+ waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
858
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
859
+ eventEndTime: Schema.String,
860
+ eventStartTime: Schema.String,
861
+ name: Schema.String,
862
+ customPageHtml: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
863
+ description: Schema.optional(Schema.String),
864
+ disableSessionRenewal: Schema.optional(
865
+ Schema.Union([Schema.Boolean, Schema.Null]),
866
+ ),
867
+ newUsersPerMinute: Schema.optional(
868
+ Schema.Union([Schema.Number, Schema.Null]),
869
+ ),
870
+ prequeueStartTime: Schema.optional(
871
+ Schema.Union([Schema.String, Schema.Null]),
872
+ ),
873
+ queueingMethod: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
874
+ sessionDuration: Schema.optional(
875
+ Schema.Union([Schema.Number, Schema.Null]),
876
+ ),
877
+ shuffleAtEventStart: Schema.optional(Schema.Boolean),
878
+ suspended: Schema.optional(Schema.Boolean),
879
+ totalActiveUsers: Schema.optional(
880
+ Schema.Union([Schema.Number, Schema.Null]),
881
+ ),
882
+ turnstileAction: Schema.optional(
883
+ Schema.Union([
884
+ Schema.Literal("log"),
885
+ Schema.Literal("infinite_queue"),
886
+ Schema.Null,
887
+ ]),
888
+ ),
889
+ turnstileMode: Schema.optional(
890
+ Schema.Union([
891
+ Schema.Literal("off"),
892
+ Schema.Literal("invisible"),
893
+ Schema.Literal("visible_non_interactive"),
894
+ Schema.Literal("visible_managed"),
895
+ Schema.Null,
896
+ ]),
935
897
  ),
898
+ }).pipe(
899
+ Schema.encodeKeys({
900
+ eventEndTime: "event_end_time",
901
+ eventStartTime: "event_start_time",
902
+ name: "name",
903
+ customPageHtml: "custom_page_html",
904
+ description: "description",
905
+ disableSessionRenewal: "disable_session_renewal",
906
+ newUsersPerMinute: "new_users_per_minute",
907
+ prequeueStartTime: "prequeue_start_time",
908
+ queueingMethod: "queueing_method",
909
+ sessionDuration: "session_duration",
910
+ shuffleAtEventStart: "shuffle_at_event_start",
911
+ suspended: "suspended",
912
+ totalActiveUsers: "total_active_users",
913
+ turnstileAction: "turnstile_action",
914
+ turnstileMode: "turnstile_mode",
915
+ }),
916
+ T.Http({
917
+ method: "POST",
918
+ path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/events",
919
+ }),
920
+ ),
936
921
  ) as unknown as Schema.Codec<CreateEventRequest>;
937
922
 
938
923
  export interface CreateEventResponse {
@@ -976,83 +961,76 @@ export interface CreateEventResponse {
976
961
  | null;
977
962
  }
978
963
 
979
- export const CreateEventResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
980
- () =>
981
- Schema.Struct({
982
- id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
983
- createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
984
- customPageHtml: Schema.optional(
985
- Schema.Union([Schema.String, Schema.Null]),
986
- ),
987
- description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
988
- disableSessionRenewal: Schema.optional(
989
- Schema.Union([Schema.Boolean, Schema.Null]),
990
- ),
991
- eventEndTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
992
- eventStartTime: Schema.optional(
993
- Schema.Union([Schema.String, Schema.Null]),
994
- ),
995
- modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
996
- name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
997
- newUsersPerMinute: Schema.optional(
998
- Schema.Union([Schema.Number, Schema.Null]),
999
- ),
1000
- prequeueStartTime: Schema.optional(
1001
- Schema.Union([Schema.String, Schema.Null]),
1002
- ),
1003
- queueingMethod: Schema.optional(
1004
- Schema.Union([Schema.String, Schema.Null]),
1005
- ),
1006
- sessionDuration: Schema.optional(
1007
- Schema.Union([Schema.Number, Schema.Null]),
1008
- ),
1009
- shuffleAtEventStart: Schema.optional(
1010
- Schema.Union([Schema.Boolean, Schema.Null]),
1011
- ),
1012
- suspended: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1013
- totalActiveUsers: Schema.optional(
1014
- Schema.Union([Schema.Number, Schema.Null]),
1015
- ),
1016
- turnstileAction: Schema.optional(
1017
- Schema.Union([
1018
- Schema.Literal("log"),
1019
- Schema.Literal("infinite_queue"),
1020
- Schema.Null,
1021
- ]),
1022
- ),
1023
- turnstileMode: Schema.optional(
1024
- Schema.Union([
1025
- Schema.Literal("off"),
1026
- Schema.Literal("invisible"),
1027
- Schema.Literal("visible_non_interactive"),
1028
- Schema.Literal("visible_managed"),
1029
- Schema.Null,
1030
- ]),
1031
- ),
1032
- })
1033
- .pipe(
1034
- Schema.encodeKeys({
1035
- id: "id",
1036
- createdOn: "created_on",
1037
- customPageHtml: "custom_page_html",
1038
- description: "description",
1039
- disableSessionRenewal: "disable_session_renewal",
1040
- eventEndTime: "event_end_time",
1041
- eventStartTime: "event_start_time",
1042
- modifiedOn: "modified_on",
1043
- name: "name",
1044
- newUsersPerMinute: "new_users_per_minute",
1045
- prequeueStartTime: "prequeue_start_time",
1046
- queueingMethod: "queueing_method",
1047
- sessionDuration: "session_duration",
1048
- shuffleAtEventStart: "shuffle_at_event_start",
1049
- suspended: "suspended",
1050
- totalActiveUsers: "total_active_users",
1051
- turnstileAction: "turnstile_action",
1052
- turnstileMode: "turnstile_mode",
1053
- }),
1054
- )
1055
- .pipe(T.ResponsePath("result")),
964
+ export const CreateEventResponse = /*@__PURE__*/ Schema.suspend(() =>
965
+ Schema.Struct({
966
+ id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
967
+ createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
968
+ customPageHtml: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
969
+ description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
970
+ disableSessionRenewal: Schema.optional(
971
+ Schema.Union([Schema.Boolean, Schema.Null]),
972
+ ),
973
+ eventEndTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
974
+ eventStartTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
975
+ modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
976
+ name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
977
+ newUsersPerMinute: Schema.optional(
978
+ Schema.Union([Schema.Number, Schema.Null]),
979
+ ),
980
+ prequeueStartTime: Schema.optional(
981
+ Schema.Union([Schema.String, Schema.Null]),
982
+ ),
983
+ queueingMethod: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
984
+ sessionDuration: Schema.optional(
985
+ Schema.Union([Schema.Number, Schema.Null]),
986
+ ),
987
+ shuffleAtEventStart: Schema.optional(
988
+ Schema.Union([Schema.Boolean, Schema.Null]),
989
+ ),
990
+ suspended: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
991
+ totalActiveUsers: Schema.optional(
992
+ Schema.Union([Schema.Number, Schema.Null]),
993
+ ),
994
+ turnstileAction: Schema.optional(
995
+ Schema.Union([
996
+ Schema.Literal("log"),
997
+ Schema.Literal("infinite_queue"),
998
+ Schema.Null,
999
+ ]),
1000
+ ),
1001
+ turnstileMode: Schema.optional(
1002
+ Schema.Union([
1003
+ Schema.Literal("off"),
1004
+ Schema.Literal("invisible"),
1005
+ Schema.Literal("visible_non_interactive"),
1006
+ Schema.Literal("visible_managed"),
1007
+ Schema.Null,
1008
+ ]),
1009
+ ),
1010
+ })
1011
+ .pipe(
1012
+ Schema.encodeKeys({
1013
+ id: "id",
1014
+ createdOn: "created_on",
1015
+ customPageHtml: "custom_page_html",
1016
+ description: "description",
1017
+ disableSessionRenewal: "disable_session_renewal",
1018
+ eventEndTime: "event_end_time",
1019
+ eventStartTime: "event_start_time",
1020
+ modifiedOn: "modified_on",
1021
+ name: "name",
1022
+ newUsersPerMinute: "new_users_per_minute",
1023
+ prequeueStartTime: "prequeue_start_time",
1024
+ queueingMethod: "queueing_method",
1025
+ sessionDuration: "session_duration",
1026
+ shuffleAtEventStart: "shuffle_at_event_start",
1027
+ suspended: "suspended",
1028
+ totalActiveUsers: "total_active_users",
1029
+ turnstileAction: "turnstile_action",
1030
+ turnstileMode: "turnstile_mode",
1031
+ }),
1032
+ )
1033
+ .pipe(T.ResponsePath("result")),
1056
1034
  ) as unknown as Schema.Codec<CreateEventResponse>;
1057
1035
 
1058
1036
  export type CreateEventError = DefaultErrors;
@@ -1062,7 +1040,7 @@ export const createEvent: API.OperationMethod<
1062
1040
  CreateEventResponse,
1063
1041
  CreateEventError,
1064
1042
  Credentials | HttpClient.HttpClient
1065
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1043
+ > = /*@__PURE__*/ API.make(() => ({
1066
1044
  input: CreateEventRequest,
1067
1045
  output: CreateEventResponse,
1068
1046
  errors: [],
@@ -1110,78 +1088,73 @@ export interface UpdateEventRequest {
1110
1088
  | null;
1111
1089
  }
1112
1090
 
1113
- export const UpdateEventRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1114
- () =>
1115
- Schema.Struct({
1116
- waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
1117
- eventId: Schema.String.pipe(T.HttpPath("eventId")),
1118
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1119
- eventEndTime: Schema.String,
1120
- eventStartTime: Schema.String,
1121
- name: Schema.String,
1122
- customPageHtml: Schema.optional(
1123
- Schema.Union([Schema.String, Schema.Null]),
1124
- ),
1125
- description: Schema.optional(Schema.String),
1126
- disableSessionRenewal: Schema.optional(
1127
- Schema.Union([Schema.Boolean, Schema.Null]),
1128
- ),
1129
- newUsersPerMinute: Schema.optional(
1130
- Schema.Union([Schema.Number, Schema.Null]),
1131
- ),
1132
- prequeueStartTime: Schema.optional(
1133
- Schema.Union([Schema.String, Schema.Null]),
1134
- ),
1135
- queueingMethod: Schema.optional(
1136
- Schema.Union([Schema.String, Schema.Null]),
1137
- ),
1138
- sessionDuration: Schema.optional(
1139
- Schema.Union([Schema.Number, Schema.Null]),
1140
- ),
1141
- shuffleAtEventStart: Schema.optional(Schema.Boolean),
1142
- suspended: Schema.optional(Schema.Boolean),
1143
- totalActiveUsers: Schema.optional(
1144
- Schema.Union([Schema.Number, Schema.Null]),
1145
- ),
1146
- turnstileAction: Schema.optional(
1147
- Schema.Union([
1148
- Schema.Literal("log"),
1149
- Schema.Literal("infinite_queue"),
1150
- Schema.Null,
1151
- ]),
1152
- ),
1153
- turnstileMode: Schema.optional(
1154
- Schema.Union([
1155
- Schema.Literal("off"),
1156
- Schema.Literal("invisible"),
1157
- Schema.Literal("visible_non_interactive"),
1158
- Schema.Literal("visible_managed"),
1159
- Schema.Null,
1160
- ]),
1161
- ),
1162
- }).pipe(
1163
- Schema.encodeKeys({
1164
- eventEndTime: "event_end_time",
1165
- eventStartTime: "event_start_time",
1166
- name: "name",
1167
- customPageHtml: "custom_page_html",
1168
- description: "description",
1169
- disableSessionRenewal: "disable_session_renewal",
1170
- newUsersPerMinute: "new_users_per_minute",
1171
- prequeueStartTime: "prequeue_start_time",
1172
- queueingMethod: "queueing_method",
1173
- sessionDuration: "session_duration",
1174
- shuffleAtEventStart: "shuffle_at_event_start",
1175
- suspended: "suspended",
1176
- totalActiveUsers: "total_active_users",
1177
- turnstileAction: "turnstile_action",
1178
- turnstileMode: "turnstile_mode",
1179
- }),
1180
- T.Http({
1181
- method: "PUT",
1182
- path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/events/{eventId}",
1183
- }),
1091
+ export const UpdateEventRequest = /*@__PURE__*/ Schema.suspend(() =>
1092
+ Schema.Struct({
1093
+ waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
1094
+ eventId: Schema.String.pipe(T.HttpPath("eventId")),
1095
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1096
+ eventEndTime: Schema.String,
1097
+ eventStartTime: Schema.String,
1098
+ name: Schema.String,
1099
+ customPageHtml: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1100
+ description: Schema.optional(Schema.String),
1101
+ disableSessionRenewal: Schema.optional(
1102
+ Schema.Union([Schema.Boolean, Schema.Null]),
1103
+ ),
1104
+ newUsersPerMinute: Schema.optional(
1105
+ Schema.Union([Schema.Number, Schema.Null]),
1106
+ ),
1107
+ prequeueStartTime: Schema.optional(
1108
+ Schema.Union([Schema.String, Schema.Null]),
1109
+ ),
1110
+ queueingMethod: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1111
+ sessionDuration: Schema.optional(
1112
+ Schema.Union([Schema.Number, Schema.Null]),
1113
+ ),
1114
+ shuffleAtEventStart: Schema.optional(Schema.Boolean),
1115
+ suspended: Schema.optional(Schema.Boolean),
1116
+ totalActiveUsers: Schema.optional(
1117
+ Schema.Union([Schema.Number, Schema.Null]),
1118
+ ),
1119
+ turnstileAction: Schema.optional(
1120
+ Schema.Union([
1121
+ Schema.Literal("log"),
1122
+ Schema.Literal("infinite_queue"),
1123
+ Schema.Null,
1124
+ ]),
1125
+ ),
1126
+ turnstileMode: Schema.optional(
1127
+ Schema.Union([
1128
+ Schema.Literal("off"),
1129
+ Schema.Literal("invisible"),
1130
+ Schema.Literal("visible_non_interactive"),
1131
+ Schema.Literal("visible_managed"),
1132
+ Schema.Null,
1133
+ ]),
1184
1134
  ),
1135
+ }).pipe(
1136
+ Schema.encodeKeys({
1137
+ eventEndTime: "event_end_time",
1138
+ eventStartTime: "event_start_time",
1139
+ name: "name",
1140
+ customPageHtml: "custom_page_html",
1141
+ description: "description",
1142
+ disableSessionRenewal: "disable_session_renewal",
1143
+ newUsersPerMinute: "new_users_per_minute",
1144
+ prequeueStartTime: "prequeue_start_time",
1145
+ queueingMethod: "queueing_method",
1146
+ sessionDuration: "session_duration",
1147
+ shuffleAtEventStart: "shuffle_at_event_start",
1148
+ suspended: "suspended",
1149
+ totalActiveUsers: "total_active_users",
1150
+ turnstileAction: "turnstile_action",
1151
+ turnstileMode: "turnstile_mode",
1152
+ }),
1153
+ T.Http({
1154
+ method: "PUT",
1155
+ path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/events/{eventId}",
1156
+ }),
1157
+ ),
1185
1158
  ) as unknown as Schema.Codec<UpdateEventRequest>;
1186
1159
 
1187
1160
  export interface UpdateEventResponse {
@@ -1225,83 +1198,76 @@ export interface UpdateEventResponse {
1225
1198
  | null;
1226
1199
  }
1227
1200
 
1228
- export const UpdateEventResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1229
- () =>
1230
- Schema.Struct({
1231
- id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1232
- createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1233
- customPageHtml: Schema.optional(
1234
- Schema.Union([Schema.String, Schema.Null]),
1235
- ),
1236
- description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1237
- disableSessionRenewal: Schema.optional(
1238
- Schema.Union([Schema.Boolean, Schema.Null]),
1239
- ),
1240
- eventEndTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1241
- eventStartTime: Schema.optional(
1242
- Schema.Union([Schema.String, Schema.Null]),
1243
- ),
1244
- modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1245
- name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1246
- newUsersPerMinute: Schema.optional(
1247
- Schema.Union([Schema.Number, Schema.Null]),
1248
- ),
1249
- prequeueStartTime: Schema.optional(
1250
- Schema.Union([Schema.String, Schema.Null]),
1251
- ),
1252
- queueingMethod: Schema.optional(
1253
- Schema.Union([Schema.String, Schema.Null]),
1254
- ),
1255
- sessionDuration: Schema.optional(
1256
- Schema.Union([Schema.Number, Schema.Null]),
1257
- ),
1258
- shuffleAtEventStart: Schema.optional(
1259
- Schema.Union([Schema.Boolean, Schema.Null]),
1260
- ),
1261
- suspended: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1262
- totalActiveUsers: Schema.optional(
1263
- Schema.Union([Schema.Number, Schema.Null]),
1264
- ),
1265
- turnstileAction: Schema.optional(
1266
- Schema.Union([
1267
- Schema.Literal("log"),
1268
- Schema.Literal("infinite_queue"),
1269
- Schema.Null,
1270
- ]),
1271
- ),
1272
- turnstileMode: Schema.optional(
1273
- Schema.Union([
1274
- Schema.Literal("off"),
1275
- Schema.Literal("invisible"),
1276
- Schema.Literal("visible_non_interactive"),
1277
- Schema.Literal("visible_managed"),
1278
- Schema.Null,
1279
- ]),
1280
- ),
1281
- })
1282
- .pipe(
1283
- Schema.encodeKeys({
1284
- id: "id",
1285
- createdOn: "created_on",
1286
- customPageHtml: "custom_page_html",
1287
- description: "description",
1288
- disableSessionRenewal: "disable_session_renewal",
1289
- eventEndTime: "event_end_time",
1290
- eventStartTime: "event_start_time",
1291
- modifiedOn: "modified_on",
1292
- name: "name",
1293
- newUsersPerMinute: "new_users_per_minute",
1294
- prequeueStartTime: "prequeue_start_time",
1295
- queueingMethod: "queueing_method",
1296
- sessionDuration: "session_duration",
1297
- shuffleAtEventStart: "shuffle_at_event_start",
1298
- suspended: "suspended",
1299
- totalActiveUsers: "total_active_users",
1300
- turnstileAction: "turnstile_action",
1301
- turnstileMode: "turnstile_mode",
1302
- }),
1303
- )
1304
- .pipe(T.ResponsePath("result")),
1201
+ export const UpdateEventResponse = /*@__PURE__*/ Schema.suspend(() =>
1202
+ Schema.Struct({
1203
+ id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1204
+ createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1205
+ customPageHtml: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1206
+ description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1207
+ disableSessionRenewal: Schema.optional(
1208
+ Schema.Union([Schema.Boolean, Schema.Null]),
1209
+ ),
1210
+ eventEndTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1211
+ eventStartTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1212
+ modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1213
+ name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1214
+ newUsersPerMinute: Schema.optional(
1215
+ Schema.Union([Schema.Number, Schema.Null]),
1216
+ ),
1217
+ prequeueStartTime: Schema.optional(
1218
+ Schema.Union([Schema.String, Schema.Null]),
1219
+ ),
1220
+ queueingMethod: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1221
+ sessionDuration: Schema.optional(
1222
+ Schema.Union([Schema.Number, Schema.Null]),
1223
+ ),
1224
+ shuffleAtEventStart: Schema.optional(
1225
+ Schema.Union([Schema.Boolean, Schema.Null]),
1226
+ ),
1227
+ suspended: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1228
+ totalActiveUsers: Schema.optional(
1229
+ Schema.Union([Schema.Number, Schema.Null]),
1230
+ ),
1231
+ turnstileAction: Schema.optional(
1232
+ Schema.Union([
1233
+ Schema.Literal("log"),
1234
+ Schema.Literal("infinite_queue"),
1235
+ Schema.Null,
1236
+ ]),
1237
+ ),
1238
+ turnstileMode: Schema.optional(
1239
+ Schema.Union([
1240
+ Schema.Literal("off"),
1241
+ Schema.Literal("invisible"),
1242
+ Schema.Literal("visible_non_interactive"),
1243
+ Schema.Literal("visible_managed"),
1244
+ Schema.Null,
1245
+ ]),
1246
+ ),
1247
+ })
1248
+ .pipe(
1249
+ Schema.encodeKeys({
1250
+ id: "id",
1251
+ createdOn: "created_on",
1252
+ customPageHtml: "custom_page_html",
1253
+ description: "description",
1254
+ disableSessionRenewal: "disable_session_renewal",
1255
+ eventEndTime: "event_end_time",
1256
+ eventStartTime: "event_start_time",
1257
+ modifiedOn: "modified_on",
1258
+ name: "name",
1259
+ newUsersPerMinute: "new_users_per_minute",
1260
+ prequeueStartTime: "prequeue_start_time",
1261
+ queueingMethod: "queueing_method",
1262
+ sessionDuration: "session_duration",
1263
+ shuffleAtEventStart: "shuffle_at_event_start",
1264
+ suspended: "suspended",
1265
+ totalActiveUsers: "total_active_users",
1266
+ turnstileAction: "turnstile_action",
1267
+ turnstileMode: "turnstile_mode",
1268
+ }),
1269
+ )
1270
+ .pipe(T.ResponsePath("result")),
1305
1271
  ) as unknown as Schema.Codec<UpdateEventResponse>;
1306
1272
 
1307
1273
  export type UpdateEventError = DefaultErrors;
@@ -1311,7 +1277,7 @@ export const updateEvent: API.OperationMethod<
1311
1277
  UpdateEventResponse,
1312
1278
  UpdateEventError,
1313
1279
  Credentials | HttpClient.HttpClient
1314
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1280
+ > = /*@__PURE__*/ API.make(() => ({
1315
1281
  input: UpdateEventRequest,
1316
1282
  output: UpdateEventResponse,
1317
1283
  errors: [],
@@ -1359,78 +1325,73 @@ export interface PatchEventRequest {
1359
1325
  | null;
1360
1326
  }
1361
1327
 
1362
- export const PatchEventRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1363
- () =>
1364
- Schema.Struct({
1365
- waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
1366
- eventId: Schema.String.pipe(T.HttpPath("eventId")),
1367
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1368
- eventEndTime: Schema.String,
1369
- eventStartTime: Schema.String,
1370
- name: Schema.String,
1371
- customPageHtml: Schema.optional(
1372
- Schema.Union([Schema.String, Schema.Null]),
1373
- ),
1374
- description: Schema.optional(Schema.String),
1375
- disableSessionRenewal: Schema.optional(
1376
- Schema.Union([Schema.Boolean, Schema.Null]),
1377
- ),
1378
- newUsersPerMinute: Schema.optional(
1379
- Schema.Union([Schema.Number, Schema.Null]),
1380
- ),
1381
- prequeueStartTime: Schema.optional(
1382
- Schema.Union([Schema.String, Schema.Null]),
1383
- ),
1384
- queueingMethod: Schema.optional(
1385
- Schema.Union([Schema.String, Schema.Null]),
1386
- ),
1387
- sessionDuration: Schema.optional(
1388
- Schema.Union([Schema.Number, Schema.Null]),
1389
- ),
1390
- shuffleAtEventStart: Schema.optional(Schema.Boolean),
1391
- suspended: Schema.optional(Schema.Boolean),
1392
- totalActiveUsers: Schema.optional(
1393
- Schema.Union([Schema.Number, Schema.Null]),
1394
- ),
1395
- turnstileAction: Schema.optional(
1396
- Schema.Union([
1397
- Schema.Literal("log"),
1398
- Schema.Literal("infinite_queue"),
1399
- Schema.Null,
1400
- ]),
1401
- ),
1402
- turnstileMode: Schema.optional(
1403
- Schema.Union([
1404
- Schema.Literal("off"),
1405
- Schema.Literal("invisible"),
1406
- Schema.Literal("visible_non_interactive"),
1407
- Schema.Literal("visible_managed"),
1408
- Schema.Null,
1409
- ]),
1410
- ),
1411
- }).pipe(
1412
- Schema.encodeKeys({
1413
- eventEndTime: "event_end_time",
1414
- eventStartTime: "event_start_time",
1415
- name: "name",
1416
- customPageHtml: "custom_page_html",
1417
- description: "description",
1418
- disableSessionRenewal: "disable_session_renewal",
1419
- newUsersPerMinute: "new_users_per_minute",
1420
- prequeueStartTime: "prequeue_start_time",
1421
- queueingMethod: "queueing_method",
1422
- sessionDuration: "session_duration",
1423
- shuffleAtEventStart: "shuffle_at_event_start",
1424
- suspended: "suspended",
1425
- totalActiveUsers: "total_active_users",
1426
- turnstileAction: "turnstile_action",
1427
- turnstileMode: "turnstile_mode",
1428
- }),
1429
- T.Http({
1430
- method: "PATCH",
1431
- path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/events/{eventId}",
1432
- }),
1328
+ export const PatchEventRequest = /*@__PURE__*/ Schema.suspend(() =>
1329
+ Schema.Struct({
1330
+ waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
1331
+ eventId: Schema.String.pipe(T.HttpPath("eventId")),
1332
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1333
+ eventEndTime: Schema.String,
1334
+ eventStartTime: Schema.String,
1335
+ name: Schema.String,
1336
+ customPageHtml: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1337
+ description: Schema.optional(Schema.String),
1338
+ disableSessionRenewal: Schema.optional(
1339
+ Schema.Union([Schema.Boolean, Schema.Null]),
1340
+ ),
1341
+ newUsersPerMinute: Schema.optional(
1342
+ Schema.Union([Schema.Number, Schema.Null]),
1343
+ ),
1344
+ prequeueStartTime: Schema.optional(
1345
+ Schema.Union([Schema.String, Schema.Null]),
1433
1346
  ),
1347
+ queueingMethod: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1348
+ sessionDuration: Schema.optional(
1349
+ Schema.Union([Schema.Number, Schema.Null]),
1350
+ ),
1351
+ shuffleAtEventStart: Schema.optional(Schema.Boolean),
1352
+ suspended: Schema.optional(Schema.Boolean),
1353
+ totalActiveUsers: Schema.optional(
1354
+ Schema.Union([Schema.Number, Schema.Null]),
1355
+ ),
1356
+ turnstileAction: Schema.optional(
1357
+ Schema.Union([
1358
+ Schema.Literal("log"),
1359
+ Schema.Literal("infinite_queue"),
1360
+ Schema.Null,
1361
+ ]),
1362
+ ),
1363
+ turnstileMode: Schema.optional(
1364
+ Schema.Union([
1365
+ Schema.Literal("off"),
1366
+ Schema.Literal("invisible"),
1367
+ Schema.Literal("visible_non_interactive"),
1368
+ Schema.Literal("visible_managed"),
1369
+ Schema.Null,
1370
+ ]),
1371
+ ),
1372
+ }).pipe(
1373
+ Schema.encodeKeys({
1374
+ eventEndTime: "event_end_time",
1375
+ eventStartTime: "event_start_time",
1376
+ name: "name",
1377
+ customPageHtml: "custom_page_html",
1378
+ description: "description",
1379
+ disableSessionRenewal: "disable_session_renewal",
1380
+ newUsersPerMinute: "new_users_per_minute",
1381
+ prequeueStartTime: "prequeue_start_time",
1382
+ queueingMethod: "queueing_method",
1383
+ sessionDuration: "session_duration",
1384
+ shuffleAtEventStart: "shuffle_at_event_start",
1385
+ suspended: "suspended",
1386
+ totalActiveUsers: "total_active_users",
1387
+ turnstileAction: "turnstile_action",
1388
+ turnstileMode: "turnstile_mode",
1389
+ }),
1390
+ T.Http({
1391
+ method: "PATCH",
1392
+ path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/events/{eventId}",
1393
+ }),
1394
+ ),
1434
1395
  ) as unknown as Schema.Codec<PatchEventRequest>;
1435
1396
 
1436
1397
  export interface PatchEventResponse {
@@ -1474,83 +1435,76 @@ export interface PatchEventResponse {
1474
1435
  | null;
1475
1436
  }
1476
1437
 
1477
- export const PatchEventResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1478
- () =>
1479
- Schema.Struct({
1480
- id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1481
- createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1482
- customPageHtml: Schema.optional(
1483
- Schema.Union([Schema.String, Schema.Null]),
1484
- ),
1485
- description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1486
- disableSessionRenewal: Schema.optional(
1487
- Schema.Union([Schema.Boolean, Schema.Null]),
1488
- ),
1489
- eventEndTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1490
- eventStartTime: Schema.optional(
1491
- Schema.Union([Schema.String, Schema.Null]),
1492
- ),
1493
- modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1494
- name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1495
- newUsersPerMinute: Schema.optional(
1496
- Schema.Union([Schema.Number, Schema.Null]),
1497
- ),
1498
- prequeueStartTime: Schema.optional(
1499
- Schema.Union([Schema.String, Schema.Null]),
1500
- ),
1501
- queueingMethod: Schema.optional(
1502
- Schema.Union([Schema.String, Schema.Null]),
1503
- ),
1504
- sessionDuration: Schema.optional(
1505
- Schema.Union([Schema.Number, Schema.Null]),
1506
- ),
1507
- shuffleAtEventStart: Schema.optional(
1508
- Schema.Union([Schema.Boolean, Schema.Null]),
1509
- ),
1510
- suspended: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1511
- totalActiveUsers: Schema.optional(
1512
- Schema.Union([Schema.Number, Schema.Null]),
1513
- ),
1514
- turnstileAction: Schema.optional(
1515
- Schema.Union([
1516
- Schema.Literal("log"),
1517
- Schema.Literal("infinite_queue"),
1518
- Schema.Null,
1519
- ]),
1520
- ),
1521
- turnstileMode: Schema.optional(
1522
- Schema.Union([
1523
- Schema.Literal("off"),
1524
- Schema.Literal("invisible"),
1525
- Schema.Literal("visible_non_interactive"),
1526
- Schema.Literal("visible_managed"),
1527
- Schema.Null,
1528
- ]),
1529
- ),
1530
- })
1531
- .pipe(
1532
- Schema.encodeKeys({
1533
- id: "id",
1534
- createdOn: "created_on",
1535
- customPageHtml: "custom_page_html",
1536
- description: "description",
1537
- disableSessionRenewal: "disable_session_renewal",
1538
- eventEndTime: "event_end_time",
1539
- eventStartTime: "event_start_time",
1540
- modifiedOn: "modified_on",
1541
- name: "name",
1542
- newUsersPerMinute: "new_users_per_minute",
1543
- prequeueStartTime: "prequeue_start_time",
1544
- queueingMethod: "queueing_method",
1545
- sessionDuration: "session_duration",
1546
- shuffleAtEventStart: "shuffle_at_event_start",
1547
- suspended: "suspended",
1548
- totalActiveUsers: "total_active_users",
1549
- turnstileAction: "turnstile_action",
1550
- turnstileMode: "turnstile_mode",
1551
- }),
1552
- )
1553
- .pipe(T.ResponsePath("result")),
1438
+ export const PatchEventResponse = /*@__PURE__*/ Schema.suspend(() =>
1439
+ Schema.Struct({
1440
+ id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1441
+ createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1442
+ customPageHtml: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1443
+ description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1444
+ disableSessionRenewal: Schema.optional(
1445
+ Schema.Union([Schema.Boolean, Schema.Null]),
1446
+ ),
1447
+ eventEndTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1448
+ eventStartTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1449
+ modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1450
+ name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1451
+ newUsersPerMinute: Schema.optional(
1452
+ Schema.Union([Schema.Number, Schema.Null]),
1453
+ ),
1454
+ prequeueStartTime: Schema.optional(
1455
+ Schema.Union([Schema.String, Schema.Null]),
1456
+ ),
1457
+ queueingMethod: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1458
+ sessionDuration: Schema.optional(
1459
+ Schema.Union([Schema.Number, Schema.Null]),
1460
+ ),
1461
+ shuffleAtEventStart: Schema.optional(
1462
+ Schema.Union([Schema.Boolean, Schema.Null]),
1463
+ ),
1464
+ suspended: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1465
+ totalActiveUsers: Schema.optional(
1466
+ Schema.Union([Schema.Number, Schema.Null]),
1467
+ ),
1468
+ turnstileAction: Schema.optional(
1469
+ Schema.Union([
1470
+ Schema.Literal("log"),
1471
+ Schema.Literal("infinite_queue"),
1472
+ Schema.Null,
1473
+ ]),
1474
+ ),
1475
+ turnstileMode: Schema.optional(
1476
+ Schema.Union([
1477
+ Schema.Literal("off"),
1478
+ Schema.Literal("invisible"),
1479
+ Schema.Literal("visible_non_interactive"),
1480
+ Schema.Literal("visible_managed"),
1481
+ Schema.Null,
1482
+ ]),
1483
+ ),
1484
+ })
1485
+ .pipe(
1486
+ Schema.encodeKeys({
1487
+ id: "id",
1488
+ createdOn: "created_on",
1489
+ customPageHtml: "custom_page_html",
1490
+ description: "description",
1491
+ disableSessionRenewal: "disable_session_renewal",
1492
+ eventEndTime: "event_end_time",
1493
+ eventStartTime: "event_start_time",
1494
+ modifiedOn: "modified_on",
1495
+ name: "name",
1496
+ newUsersPerMinute: "new_users_per_minute",
1497
+ prequeueStartTime: "prequeue_start_time",
1498
+ queueingMethod: "queueing_method",
1499
+ sessionDuration: "session_duration",
1500
+ shuffleAtEventStart: "shuffle_at_event_start",
1501
+ suspended: "suspended",
1502
+ totalActiveUsers: "total_active_users",
1503
+ turnstileAction: "turnstile_action",
1504
+ turnstileMode: "turnstile_mode",
1505
+ }),
1506
+ )
1507
+ .pipe(T.ResponsePath("result")),
1554
1508
  ) as unknown as Schema.Codec<PatchEventResponse>;
1555
1509
 
1556
1510
  export type PatchEventError = DefaultErrors;
@@ -1560,7 +1514,7 @@ export const patchEvent: API.OperationMethod<
1560
1514
  PatchEventResponse,
1561
1515
  PatchEventError,
1562
1516
  Credentials | HttpClient.HttpClient
1563
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1517
+ > = /*@__PURE__*/ API.make(() => ({
1564
1518
  input: PatchEventRequest,
1565
1519
  output: PatchEventResponse,
1566
1520
  errors: [],
@@ -1573,29 +1527,27 @@ export interface DeleteEventRequest {
1573
1527
  zoneId: string;
1574
1528
  }
1575
1529
 
1576
- export const DeleteEventRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1577
- () =>
1578
- Schema.Struct({
1579
- waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
1580
- eventId: Schema.String.pipe(T.HttpPath("eventId")),
1581
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1582
- }).pipe(
1583
- T.Http({
1584
- method: "DELETE",
1585
- path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/events/{eventId}",
1586
- }),
1587
- ),
1530
+ export const DeleteEventRequest = /*@__PURE__*/ Schema.suspend(() =>
1531
+ Schema.Struct({
1532
+ waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
1533
+ eventId: Schema.String.pipe(T.HttpPath("eventId")),
1534
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1535
+ }).pipe(
1536
+ T.Http({
1537
+ method: "DELETE",
1538
+ path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/events/{eventId}",
1539
+ }),
1540
+ ),
1588
1541
  ) as unknown as Schema.Codec<DeleteEventRequest>;
1589
1542
 
1590
1543
  export interface DeleteEventResponse {
1591
1544
  id?: string | null;
1592
1545
  }
1593
1546
 
1594
- export const DeleteEventResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1595
- () =>
1596
- Schema.Struct({
1597
- id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1598
- }).pipe(T.ResponsePath("result")),
1547
+ export const DeleteEventResponse = /*@__PURE__*/ Schema.suspend(() =>
1548
+ Schema.Struct({
1549
+ id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1550
+ }).pipe(T.ResponsePath("result")),
1599
1551
  ) as unknown as Schema.Codec<DeleteEventResponse>;
1600
1552
 
1601
1553
  export type DeleteEventError = DefaultErrors;
@@ -1605,7 +1557,7 @@ export const deleteEvent: API.OperationMethod<
1605
1557
  DeleteEventResponse,
1606
1558
  DeleteEventError,
1607
1559
  Credentials | HttpClient.HttpClient
1608
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1560
+ > = /*@__PURE__*/ API.make(() => ({
1609
1561
  input: DeleteEventRequest,
1610
1562
  output: DeleteEventResponse,
1611
1563
  errors: [],
@@ -1622,18 +1574,17 @@ export interface GetEventDetailRequest {
1622
1574
  zoneId: string;
1623
1575
  }
1624
1576
 
1625
- export const GetEventDetailRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1626
- () =>
1627
- Schema.Struct({
1628
- waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
1629
- eventId: Schema.String.pipe(T.HttpPath("eventId")),
1630
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1631
- }).pipe(
1632
- T.Http({
1633
- method: "GET",
1634
- path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/events/{eventId}/details",
1635
- }),
1636
- ),
1577
+ export const GetEventDetailRequest = /*@__PURE__*/ Schema.suspend(() =>
1578
+ Schema.Struct({
1579
+ waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
1580
+ eventId: Schema.String.pipe(T.HttpPath("eventId")),
1581
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1582
+ }).pipe(
1583
+ T.Http({
1584
+ method: "GET",
1585
+ path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/events/{eventId}/details",
1586
+ }),
1587
+ ),
1637
1588
  ) as unknown as Schema.Codec<GetEventDetailRequest>;
1638
1589
 
1639
1590
  export interface GetEventDetailResponse {
@@ -1663,7 +1614,7 @@ export interface GetEventDetailResponse {
1663
1614
  }
1664
1615
 
1665
1616
  export const GetEventDetailResponse =
1666
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1617
+ /*@__PURE__*/ Schema.suspend(() =>
1667
1618
  Schema.Struct({
1668
1619
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1669
1620
  createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -1730,7 +1681,7 @@ export const getEventDetail: API.OperationMethod<
1730
1681
  GetEventDetailResponse,
1731
1682
  GetEventDetailError,
1732
1683
  Credentials | HttpClient.HttpClient
1733
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1684
+ > = /*@__PURE__*/ API.make(() => ({
1734
1685
  input: GetEventDetailRequest,
1735
1686
  output: GetEventDetailResponse,
1736
1687
  errors: [],
@@ -1747,18 +1698,17 @@ export interface PreviewPageRequest {
1747
1698
  customHtml: string;
1748
1699
  }
1749
1700
 
1750
- export const PreviewPageRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1751
- () =>
1752
- Schema.Struct({
1753
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1754
- customHtml: Schema.String,
1755
- }).pipe(
1756
- Schema.encodeKeys({ customHtml: "custom_html" }),
1757
- T.Http({
1758
- method: "POST",
1759
- path: "/zones/{zone_id}/waiting_rooms/preview",
1760
- }),
1761
- ),
1701
+ export const PreviewPageRequest = /*@__PURE__*/ Schema.suspend(() =>
1702
+ Schema.Struct({
1703
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1704
+ customHtml: Schema.String,
1705
+ }).pipe(
1706
+ Schema.encodeKeys({ customHtml: "custom_html" }),
1707
+ T.Http({
1708
+ method: "POST",
1709
+ path: "/zones/{zone_id}/waiting_rooms/preview",
1710
+ }),
1711
+ ),
1762
1712
  ) as unknown as Schema.Codec<PreviewPageRequest>;
1763
1713
 
1764
1714
  export interface PreviewPageResponse {
@@ -1766,13 +1716,12 @@ export interface PreviewPageResponse {
1766
1716
  previewUrl?: string | null;
1767
1717
  }
1768
1718
 
1769
- export const PreviewPageResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1770
- () =>
1771
- Schema.Struct({
1772
- previewUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1773
- })
1774
- .pipe(Schema.encodeKeys({ previewUrl: "preview_url" }))
1775
- .pipe(T.ResponsePath("result")),
1719
+ export const PreviewPageResponse = /*@__PURE__*/ Schema.suspend(() =>
1720
+ Schema.Struct({
1721
+ previewUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1722
+ })
1723
+ .pipe(Schema.encodeKeys({ previewUrl: "preview_url" }))
1724
+ .pipe(T.ResponsePath("result")),
1776
1725
  ) as unknown as Schema.Codec<PreviewPageResponse>;
1777
1726
 
1778
1727
  export type PreviewPageError = DefaultErrors;
@@ -1782,7 +1731,7 @@ export const previewPage: API.OperationMethod<
1782
1731
  PreviewPageResponse,
1783
1732
  PreviewPageError,
1784
1733
  Credentials | HttpClient.HttpClient
1785
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1734
+ > = /*@__PURE__*/ API.make(() => ({
1786
1735
  input: PreviewPageRequest,
1787
1736
  output: PreviewPageResponse,
1788
1737
  errors: [],
@@ -1798,7 +1747,7 @@ export interface GetRuleRequest {
1798
1747
  zoneId: string;
1799
1748
  }
1800
1749
 
1801
- export const GetRuleRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1750
+ export const GetRuleRequest = /*@__PURE__*/ Schema.suspend(() =>
1802
1751
  Schema.Struct({
1803
1752
  waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
1804
1753
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
@@ -1822,7 +1771,7 @@ export interface GetRuleResponse {
1822
1771
  }[];
1823
1772
  }
1824
1773
 
1825
- export const GetRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1774
+ export const GetRuleResponse = /*@__PURE__*/ Schema.suspend(() =>
1826
1775
  Schema.Struct({
1827
1776
  result: Schema.Array(GetRuleResponseResult),
1828
1777
  }),
@@ -1835,7 +1784,7 @@ export const getRule: API.PaginatedOperationMethod<
1835
1784
  GetRuleResponse,
1836
1785
  GetRuleError,
1837
1786
  Credentials | HttpClient.HttpClient
1838
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
1787
+ > = /*@__PURE__*/ API.makePaginated(() => ({
1839
1788
  input: GetRuleRequest,
1840
1789
  output: GetRuleResponse,
1841
1790
  errors: [],
@@ -1858,18 +1807,17 @@ export interface CreateRuleRequest {
1858
1807
  };
1859
1808
  }
1860
1809
 
1861
- export const CreateRuleRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1862
- () =>
1863
- Schema.Struct({
1864
- waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
1865
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1866
- rules: Rules,
1867
- }).pipe(
1868
- T.Http({
1869
- method: "POST",
1870
- path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/rules",
1871
- }),
1872
- ),
1810
+ export const CreateRuleRequest = /*@__PURE__*/ Schema.suspend(() =>
1811
+ Schema.Struct({
1812
+ waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
1813
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1814
+ rules: Rules,
1815
+ }).pipe(
1816
+ T.Http({
1817
+ method: "POST",
1818
+ path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/rules",
1819
+ }),
1820
+ ),
1873
1821
  ) as unknown as Schema.Codec<CreateRuleRequest>;
1874
1822
 
1875
1823
  export interface CreateRuleResponse {
@@ -1884,11 +1832,10 @@ export interface CreateRuleResponse {
1884
1832
  }[];
1885
1833
  }
1886
1834
 
1887
- export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1888
- () =>
1889
- Schema.Struct({
1890
- result: Schema.Array(GetRuleResponseResult),
1891
- }),
1835
+ export const CreateRuleResponse = /*@__PURE__*/ Schema.suspend(() =>
1836
+ Schema.Struct({
1837
+ result: Schema.Array(GetRuleResponseResult),
1838
+ }),
1892
1839
  ) as unknown as Schema.Codec<CreateRuleResponse>;
1893
1840
 
1894
1841
  export type CreateRuleError = DefaultErrors;
@@ -1898,7 +1845,7 @@ export const createRule: API.PaginatedOperationMethod<
1898
1845
  CreateRuleResponse,
1899
1846
  CreateRuleError,
1900
1847
  Credentials | HttpClient.HttpClient
1901
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
1848
+ > = /*@__PURE__*/ API.makePaginated(() => ({
1902
1849
  input: CreateRuleRequest,
1903
1850
  output: CreateRuleResponse,
1904
1851
  errors: [],
@@ -1921,18 +1868,17 @@ export interface UpdateRuleRequest {
1921
1868
  }[];
1922
1869
  }
1923
1870
 
1924
- export const UpdateRuleRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1925
- () =>
1926
- Schema.Struct({
1927
- waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
1928
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1929
- rules: Schema.Array(Rules),
1930
- }).pipe(
1931
- T.Http({
1932
- method: "PUT",
1933
- path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/rules",
1934
- }),
1935
- ),
1871
+ export const UpdateRuleRequest = /*@__PURE__*/ Schema.suspend(() =>
1872
+ Schema.Struct({
1873
+ waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
1874
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1875
+ rules: Schema.Array(Rules),
1876
+ }).pipe(
1877
+ T.Http({
1878
+ method: "PUT",
1879
+ path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/rules",
1880
+ }),
1881
+ ),
1936
1882
  ) as unknown as Schema.Codec<UpdateRuleRequest>;
1937
1883
 
1938
1884
  export interface UpdateRuleResponse {
@@ -1947,11 +1893,10 @@ export interface UpdateRuleResponse {
1947
1893
  }[];
1948
1894
  }
1949
1895
 
1950
- export const UpdateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1951
- () =>
1952
- Schema.Struct({
1953
- result: Schema.Array(GetRuleResponseResult),
1954
- }),
1896
+ export const UpdateRuleResponse = /*@__PURE__*/ Schema.suspend(() =>
1897
+ Schema.Struct({
1898
+ result: Schema.Array(GetRuleResponseResult),
1899
+ }),
1955
1900
  ) as unknown as Schema.Codec<UpdateRuleResponse>;
1956
1901
 
1957
1902
  export type UpdateRuleError = DefaultErrors;
@@ -1961,7 +1906,7 @@ export const updateRule: API.PaginatedOperationMethod<
1961
1906
  UpdateRuleResponse,
1962
1907
  UpdateRuleError,
1963
1908
  Credentials | HttpClient.HttpClient
1964
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
1909
+ > = /*@__PURE__*/ API.makePaginated(() => ({
1965
1910
  input: UpdateRuleRequest,
1966
1911
  output: UpdateRuleResponse,
1967
1912
  errors: [],
@@ -1988,7 +1933,7 @@ export interface PatchRuleRequest {
1988
1933
  position?: { index?: number } | { before?: string } | { after?: string };
1989
1934
  }
1990
1935
 
1991
- export const PatchRuleRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1936
+ export const PatchRuleRequest = /*@__PURE__*/ Schema.suspend(() =>
1992
1937
  Schema.Struct({
1993
1938
  waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
1994
1939
  ruleId: Schema.String.pipe(T.HttpPath("ruleId")),
@@ -2018,11 +1963,10 @@ export interface PatchRuleResponse {
2018
1963
  }[];
2019
1964
  }
2020
1965
 
2021
- export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2022
- () =>
2023
- Schema.Struct({
2024
- result: Schema.Array(GetRuleResponseResult),
2025
- }),
1966
+ export const PatchRuleResponse = /*@__PURE__*/ Schema.suspend(() =>
1967
+ Schema.Struct({
1968
+ result: Schema.Array(GetRuleResponseResult),
1969
+ }),
2026
1970
  ) as unknown as Schema.Codec<PatchRuleResponse>;
2027
1971
 
2028
1972
  export type PatchRuleError = DefaultErrors;
@@ -2032,7 +1976,7 @@ export const patchRule: API.PaginatedOperationMethod<
2032
1976
  PatchRuleResponse,
2033
1977
  PatchRuleError,
2034
1978
  Credentials | HttpClient.HttpClient
2035
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
1979
+ > = /*@__PURE__*/ API.makePaginated(() => ({
2036
1980
  input: PatchRuleRequest,
2037
1981
  output: PatchRuleResponse,
2038
1982
  errors: [],
@@ -2049,18 +1993,17 @@ export interface DeleteRuleRequest {
2049
1993
  zoneId: string;
2050
1994
  }
2051
1995
 
2052
- export const DeleteRuleRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2053
- () =>
2054
- Schema.Struct({
2055
- waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
2056
- ruleId: Schema.String.pipe(T.HttpPath("ruleId")),
2057
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
2058
- }).pipe(
2059
- T.Http({
2060
- method: "DELETE",
2061
- path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/rules/{ruleId}",
2062
- }),
2063
- ),
1996
+ export const DeleteRuleRequest = /*@__PURE__*/ Schema.suspend(() =>
1997
+ Schema.Struct({
1998
+ waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
1999
+ ruleId: Schema.String.pipe(T.HttpPath("ruleId")),
2000
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
2001
+ }).pipe(
2002
+ T.Http({
2003
+ method: "DELETE",
2004
+ path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}/rules/{ruleId}",
2005
+ }),
2006
+ ),
2064
2007
  ) as unknown as Schema.Codec<DeleteRuleRequest>;
2065
2008
 
2066
2009
  export interface DeleteRuleResponse {
@@ -2075,11 +2018,10 @@ export interface DeleteRuleResponse {
2075
2018
  }[];
2076
2019
  }
2077
2020
 
2078
- export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2079
- () =>
2080
- Schema.Struct({
2081
- result: Schema.Array(GetRuleResponseResult),
2082
- }),
2021
+ export const DeleteRuleResponse = /*@__PURE__*/ Schema.suspend(() =>
2022
+ Schema.Struct({
2023
+ result: Schema.Array(GetRuleResponseResult),
2024
+ }),
2083
2025
  ) as unknown as Schema.Codec<DeleteRuleResponse>;
2084
2026
 
2085
2027
  export type DeleteRuleError = DefaultErrors;
@@ -2089,7 +2031,7 @@ export const deleteRule: API.PaginatedOperationMethod<
2089
2031
  DeleteRuleResponse,
2090
2032
  DeleteRuleError,
2091
2033
  Credentials | HttpClient.HttpClient
2092
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
2034
+ > = /*@__PURE__*/ API.makePaginated(() => ({
2093
2035
  input: DeleteRuleRequest,
2094
2036
  output: DeleteRuleResponse,
2095
2037
  errors: [],
@@ -2108,16 +2050,15 @@ export interface GetSettingRequest {
2108
2050
  zoneId: string;
2109
2051
  }
2110
2052
 
2111
- export const GetSettingRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2112
- () =>
2113
- Schema.Struct({
2114
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
2115
- }).pipe(
2116
- T.Http({
2117
- method: "GET",
2118
- path: "/zones/{zone_id}/waiting_rooms/settings",
2119
- }),
2120
- ),
2053
+ export const GetSettingRequest = /*@__PURE__*/ Schema.suspend(() =>
2054
+ Schema.Struct({
2055
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
2056
+ }).pipe(
2057
+ T.Http({
2058
+ method: "GET",
2059
+ path: "/zones/{zone_id}/waiting_rooms/settings",
2060
+ }),
2061
+ ),
2121
2062
  ) as unknown as Schema.Codec<GetSettingRequest>;
2122
2063
 
2123
2064
  export interface GetSettingResponse {
@@ -2125,17 +2066,16 @@ export interface GetSettingResponse {
2125
2066
  searchEngineCrawlerBypass: boolean;
2126
2067
  }
2127
2068
 
2128
- export const GetSettingResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2129
- () =>
2130
- Schema.Struct({
2131
- searchEngineCrawlerBypass: Schema.Boolean,
2132
- })
2133
- .pipe(
2134
- Schema.encodeKeys({
2135
- searchEngineCrawlerBypass: "search_engine_crawler_bypass",
2136
- }),
2137
- )
2138
- .pipe(T.ResponsePath("result")),
2069
+ export const GetSettingResponse = /*@__PURE__*/ Schema.suspend(() =>
2070
+ Schema.Struct({
2071
+ searchEngineCrawlerBypass: Schema.Boolean,
2072
+ })
2073
+ .pipe(
2074
+ Schema.encodeKeys({
2075
+ searchEngineCrawlerBypass: "search_engine_crawler_bypass",
2076
+ }),
2077
+ )
2078
+ .pipe(T.ResponsePath("result")),
2139
2079
  ) as unknown as Schema.Codec<GetSettingResponse>;
2140
2080
 
2141
2081
  export type GetSettingError = DefaultErrors | Forbidden;
@@ -2145,7 +2085,7 @@ export const getSetting: API.OperationMethod<
2145
2085
  GetSettingResponse,
2146
2086
  GetSettingError,
2147
2087
  Credentials | HttpClient.HttpClient
2148
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2088
+ > = /*@__PURE__*/ API.make(() => ({
2149
2089
  input: GetSettingRequest,
2150
2090
  output: GetSettingResponse,
2151
2091
  errors: [Forbidden],
@@ -2158,20 +2098,19 @@ export interface PutSettingRequest {
2158
2098
  searchEngineCrawlerBypass?: boolean;
2159
2099
  }
2160
2100
 
2161
- export const PutSettingRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2162
- () =>
2163
- Schema.Struct({
2164
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
2165
- searchEngineCrawlerBypass: Schema.optional(Schema.Boolean),
2166
- }).pipe(
2167
- Schema.encodeKeys({
2168
- searchEngineCrawlerBypass: "search_engine_crawler_bypass",
2169
- }),
2170
- T.Http({
2171
- method: "PUT",
2172
- path: "/zones/{zone_id}/waiting_rooms/settings",
2173
- }),
2174
- ),
2101
+ export const PutSettingRequest = /*@__PURE__*/ Schema.suspend(() =>
2102
+ Schema.Struct({
2103
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
2104
+ searchEngineCrawlerBypass: Schema.optional(Schema.Boolean),
2105
+ }).pipe(
2106
+ Schema.encodeKeys({
2107
+ searchEngineCrawlerBypass: "search_engine_crawler_bypass",
2108
+ }),
2109
+ T.Http({
2110
+ method: "PUT",
2111
+ path: "/zones/{zone_id}/waiting_rooms/settings",
2112
+ }),
2113
+ ),
2175
2114
  ) as unknown as Schema.Codec<PutSettingRequest>;
2176
2115
 
2177
2116
  export interface PutSettingResponse {
@@ -2179,17 +2118,16 @@ export interface PutSettingResponse {
2179
2118
  searchEngineCrawlerBypass: boolean;
2180
2119
  }
2181
2120
 
2182
- export const PutSettingResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2183
- () =>
2184
- Schema.Struct({
2185
- searchEngineCrawlerBypass: Schema.Boolean,
2186
- })
2187
- .pipe(
2188
- Schema.encodeKeys({
2189
- searchEngineCrawlerBypass: "search_engine_crawler_bypass",
2190
- }),
2191
- )
2192
- .pipe(T.ResponsePath("result")),
2121
+ export const PutSettingResponse = /*@__PURE__*/ Schema.suspend(() =>
2122
+ Schema.Struct({
2123
+ searchEngineCrawlerBypass: Schema.Boolean,
2124
+ })
2125
+ .pipe(
2126
+ Schema.encodeKeys({
2127
+ searchEngineCrawlerBypass: "search_engine_crawler_bypass",
2128
+ }),
2129
+ )
2130
+ .pipe(T.ResponsePath("result")),
2193
2131
  ) as unknown as Schema.Codec<PutSettingResponse>;
2194
2132
 
2195
2133
  export type PutSettingError = DefaultErrors | ZoneNotEntitled | Forbidden;
@@ -2199,7 +2137,7 @@ export const putSetting: API.OperationMethod<
2199
2137
  PutSettingResponse,
2200
2138
  PutSettingError,
2201
2139
  Credentials | HttpClient.HttpClient
2202
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2140
+ > = /*@__PURE__*/ API.make(() => ({
2203
2141
  input: PutSettingRequest,
2204
2142
  output: PutSettingResponse,
2205
2143
  errors: [ZoneNotEntitled, Forbidden],
@@ -2212,20 +2150,19 @@ export interface PatchSettingRequest {
2212
2150
  searchEngineCrawlerBypass?: boolean;
2213
2151
  }
2214
2152
 
2215
- export const PatchSettingRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2216
- () =>
2217
- Schema.Struct({
2218
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
2219
- searchEngineCrawlerBypass: Schema.optional(Schema.Boolean),
2220
- }).pipe(
2221
- Schema.encodeKeys({
2222
- searchEngineCrawlerBypass: "search_engine_crawler_bypass",
2223
- }),
2224
- T.Http({
2225
- method: "PATCH",
2226
- path: "/zones/{zone_id}/waiting_rooms/settings",
2227
- }),
2228
- ),
2153
+ export const PatchSettingRequest = /*@__PURE__*/ Schema.suspend(() =>
2154
+ Schema.Struct({
2155
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
2156
+ searchEngineCrawlerBypass: Schema.optional(Schema.Boolean),
2157
+ }).pipe(
2158
+ Schema.encodeKeys({
2159
+ searchEngineCrawlerBypass: "search_engine_crawler_bypass",
2160
+ }),
2161
+ T.Http({
2162
+ method: "PATCH",
2163
+ path: "/zones/{zone_id}/waiting_rooms/settings",
2164
+ }),
2165
+ ),
2229
2166
  ) as unknown as Schema.Codec<PatchSettingRequest>;
2230
2167
 
2231
2168
  export interface PatchSettingResponse {
@@ -2233,17 +2170,16 @@ export interface PatchSettingResponse {
2233
2170
  searchEngineCrawlerBypass: boolean;
2234
2171
  }
2235
2172
 
2236
- export const PatchSettingResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2237
- () =>
2238
- Schema.Struct({
2239
- searchEngineCrawlerBypass: Schema.Boolean,
2240
- })
2241
- .pipe(
2242
- Schema.encodeKeys({
2243
- searchEngineCrawlerBypass: "search_engine_crawler_bypass",
2244
- }),
2245
- )
2246
- .pipe(T.ResponsePath("result")),
2173
+ export const PatchSettingResponse = /*@__PURE__*/ Schema.suspend(() =>
2174
+ Schema.Struct({
2175
+ searchEngineCrawlerBypass: Schema.Boolean,
2176
+ })
2177
+ .pipe(
2178
+ Schema.encodeKeys({
2179
+ searchEngineCrawlerBypass: "search_engine_crawler_bypass",
2180
+ }),
2181
+ )
2182
+ .pipe(T.ResponsePath("result")),
2247
2183
  ) as unknown as Schema.Codec<PatchSettingResponse>;
2248
2184
 
2249
2185
  export type PatchSettingError = DefaultErrors;
@@ -2253,7 +2189,7 @@ export const patchSetting: API.OperationMethod<
2253
2189
  PatchSettingResponse,
2254
2190
  PatchSettingError,
2255
2191
  Credentials | HttpClient.HttpClient
2256
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2192
+ > = /*@__PURE__*/ API.make(() => ({
2257
2193
  input: PatchSettingRequest,
2258
2194
  output: PatchSettingResponse,
2259
2195
  errors: [],
@@ -2269,7 +2205,7 @@ export interface GetStatusRequest {
2269
2205
  zoneId: string;
2270
2206
  }
2271
2207
 
2272
- export const GetStatusRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2208
+ export const GetStatusRequest = /*@__PURE__*/ Schema.suspend(() =>
2273
2209
  Schema.Struct({
2274
2210
  waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
2275
2211
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
@@ -2295,44 +2231,43 @@ export interface GetStatusResponse {
2295
2231
  | null;
2296
2232
  }
2297
2233
 
2298
- export const GetStatusResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2299
- () =>
2300
- Schema.Struct({
2301
- estimatedQueuedUsers: Schema.optional(
2302
- Schema.Union([Schema.Number, Schema.Null]),
2303
- ),
2304
- estimatedTotalActiveUsers: Schema.optional(
2305
- Schema.Union([Schema.Number, Schema.Null]),
2306
- ),
2307
- eventId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2308
- maxEstimatedTimeMinutes: Schema.optional(
2309
- Schema.Union([Schema.Number, Schema.Null]),
2310
- ),
2311
- status: Schema.optional(
2234
+ export const GetStatusResponse = /*@__PURE__*/ Schema.suspend(() =>
2235
+ Schema.Struct({
2236
+ estimatedQueuedUsers: Schema.optional(
2237
+ Schema.Union([Schema.Number, Schema.Null]),
2238
+ ),
2239
+ estimatedTotalActiveUsers: Schema.optional(
2240
+ Schema.Union([Schema.Number, Schema.Null]),
2241
+ ),
2242
+ eventId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2243
+ maxEstimatedTimeMinutes: Schema.optional(
2244
+ Schema.Union([Schema.Number, Schema.Null]),
2245
+ ),
2246
+ status: Schema.optional(
2247
+ Schema.Union([
2312
2248
  Schema.Union([
2313
- Schema.Union([
2314
- Schema.Literals([
2315
- "event_prequeueing",
2316
- "not_queueing",
2317
- "queueing",
2318
- "suspended",
2319
- ]),
2320
- Schema.String,
2249
+ Schema.Literals([
2250
+ "event_prequeueing",
2251
+ "not_queueing",
2252
+ "queueing",
2253
+ "suspended",
2321
2254
  ]),
2322
- Schema.Null,
2255
+ Schema.String,
2323
2256
  ]),
2324
- ),
2325
- })
2326
- .pipe(
2327
- Schema.encodeKeys({
2328
- estimatedQueuedUsers: "estimated_queued_users",
2329
- estimatedTotalActiveUsers: "estimated_total_active_users",
2330
- eventId: "event_id",
2331
- maxEstimatedTimeMinutes: "max_estimated_time_minutes",
2332
- status: "status",
2333
- }),
2334
- )
2335
- .pipe(T.ResponsePath("result")),
2257
+ Schema.Null,
2258
+ ]),
2259
+ ),
2260
+ })
2261
+ .pipe(
2262
+ Schema.encodeKeys({
2263
+ estimatedQueuedUsers: "estimated_queued_users",
2264
+ estimatedTotalActiveUsers: "estimated_total_active_users",
2265
+ eventId: "event_id",
2266
+ maxEstimatedTimeMinutes: "max_estimated_time_minutes",
2267
+ status: "status",
2268
+ }),
2269
+ )
2270
+ .pipe(T.ResponsePath("result")),
2336
2271
  ) as unknown as Schema.Codec<GetStatusResponse>;
2337
2272
 
2338
2273
  export type GetStatusError = DefaultErrors;
@@ -2342,7 +2277,7 @@ export const getStatus: API.OperationMethod<
2342
2277
  GetStatusResponse,
2343
2278
  GetStatusError,
2344
2279
  Credentials | HttpClient.HttpClient
2345
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2280
+ > = /*@__PURE__*/ API.make(() => ({
2346
2281
  input: GetStatusRequest,
2347
2282
  output: GetStatusResponse,
2348
2283
  errors: [],
@@ -2358,17 +2293,16 @@ export interface GetWaitingRoomRequest {
2358
2293
  zoneId: string;
2359
2294
  }
2360
2295
 
2361
- export const GetWaitingRoomRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2362
- () =>
2363
- Schema.Struct({
2364
- waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
2365
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
2366
- }).pipe(
2367
- T.Http({
2368
- method: "GET",
2369
- path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}",
2370
- }),
2371
- ),
2296
+ export const GetWaitingRoomRequest = /*@__PURE__*/ Schema.suspend(() =>
2297
+ Schema.Struct({
2298
+ waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
2299
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
2300
+ }).pipe(
2301
+ T.Http({
2302
+ method: "GET",
2303
+ path: "/zones/{zone_id}/waiting_rooms/{waitingRoomId}",
2304
+ }),
2305
+ ),
2372
2306
  ) as unknown as Schema.Codec<GetWaitingRoomRequest>;
2373
2307
 
2374
2308
  export interface GetWaitingRoomResponse {
@@ -2479,7 +2413,7 @@ export interface GetWaitingRoomResponse {
2479
2413
  }
2480
2414
 
2481
2415
  export const GetWaitingRoomResponse =
2482
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2416
+ /*@__PURE__*/ Schema.suspend(() =>
2483
2417
  Schema.Struct({
2484
2418
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2485
2419
  additionalRoutes: Schema.optional(
@@ -2654,7 +2588,7 @@ export const getWaitingRoom: API.OperationMethod<
2654
2588
  GetWaitingRoomResponse,
2655
2589
  GetWaitingRoomError,
2656
2590
  Credentials | HttpClient.HttpClient
2657
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2591
+ > = /*@__PURE__*/ API.make(() => ({
2658
2592
  input: GetWaitingRoomRequest,
2659
2593
  output: GetWaitingRoomResponse,
2660
2594
  errors: [WaitingRoomNotFound, Forbidden],
@@ -2681,7 +2615,7 @@ export interface ListWaitingRoomsForZoneRequest extends ListWaitingRoomsBaseRequ
2681
2615
  }
2682
2616
 
2683
2617
  export const ListWaitingRoomsForAccountRequest =
2684
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2618
+ /*@__PURE__*/ Schema.suspend(() =>
2685
2619
  Schema.Struct({
2686
2620
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
2687
2621
  ...ListWaitingRoomsBaseFields,
@@ -2691,7 +2625,7 @@ export const ListWaitingRoomsForAccountRequest =
2691
2625
  ) as unknown as Schema.Codec<ListWaitingRoomsForAccountRequest>;
2692
2626
 
2693
2627
  export const ListWaitingRoomsForZoneRequest =
2694
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2628
+ /*@__PURE__*/ Schema.suspend(() =>
2695
2629
  Schema.Struct({
2696
2630
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
2697
2631
  ...ListWaitingRoomsBaseFields,
@@ -2791,7 +2725,7 @@ export interface ListWaitingRoomsResponse {
2791
2725
  }
2792
2726
 
2793
2727
  export const ListWaitingRoomsResponse =
2794
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2728
+ /*@__PURE__*/ Schema.suspend(() =>
2795
2729
  Schema.Struct({
2796
2730
  result: Schema.Array(ListWaitingRoomsResponseResult),
2797
2731
  resultInfo: Schema.optional(
@@ -2807,7 +2741,7 @@ export const listWaitingRoomsForAccount: API.PaginatedOperationMethod<
2807
2741
  ListWaitingRoomsResponse,
2808
2742
  ListWaitingRoomsError,
2809
2743
  Credentials | HttpClient.HttpClient
2810
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
2744
+ > = /*@__PURE__*/ API.makePaginated(() => ({
2811
2745
  input: ListWaitingRoomsForAccountRequest,
2812
2746
  output: ListWaitingRoomsResponse,
2813
2747
  errors: [Forbidden],
@@ -2825,7 +2759,7 @@ export const listWaitingRoomsForZone: API.PaginatedOperationMethod<
2825
2759
  ListWaitingRoomsResponse,
2826
2760
  ListWaitingRoomsError,
2827
2761
  Credentials | HttpClient.HttpClient
2828
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
2762
+ > = /*@__PURE__*/ API.makePaginated(() => ({
2829
2763
  input: ListWaitingRoomsForZoneRequest,
2830
2764
  output: ListWaitingRoomsResponse,
2831
2765
  errors: [Forbidden],
@@ -2933,7 +2867,7 @@ export interface CreateWaitingRoomRequest {
2933
2867
  }
2934
2868
 
2935
2869
  export const CreateWaitingRoomRequest =
2936
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2870
+ /*@__PURE__*/ Schema.suspend(() =>
2937
2871
  Schema.Struct({
2938
2872
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
2939
2873
  host: Schema.String,
@@ -3161,7 +3095,7 @@ export interface CreateWaitingRoomResponse {
3161
3095
  }
3162
3096
 
3163
3097
  export const CreateWaitingRoomResponse =
3164
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3098
+ /*@__PURE__*/ Schema.suspend(() =>
3165
3099
  Schema.Struct({
3166
3100
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3167
3101
  additionalRoutes: Schema.optional(
@@ -3336,7 +3270,7 @@ export const createWaitingRoom: API.OperationMethod<
3336
3270
  CreateWaitingRoomResponse,
3337
3271
  CreateWaitingRoomError,
3338
3272
  Credentials | HttpClient.HttpClient
3339
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3273
+ > = /*@__PURE__*/ API.make(() => ({
3340
3274
  input: CreateWaitingRoomRequest,
3341
3275
  output: CreateWaitingRoomResponse,
3342
3276
  errors: [ZoneNotEntitled, Forbidden],
@@ -3438,7 +3372,7 @@ export interface UpdateWaitingRoomRequest {
3438
3372
  }
3439
3373
 
3440
3374
  export const UpdateWaitingRoomRequest =
3441
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3375
+ /*@__PURE__*/ Schema.suspend(() =>
3442
3376
  Schema.Struct({
3443
3377
  waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
3444
3378
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
@@ -3670,7 +3604,7 @@ export interface UpdateWaitingRoomResponse {
3670
3604
  }
3671
3605
 
3672
3606
  export const UpdateWaitingRoomResponse =
3673
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3607
+ /*@__PURE__*/ Schema.suspend(() =>
3674
3608
  Schema.Struct({
3675
3609
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3676
3610
  additionalRoutes: Schema.optional(
@@ -3846,7 +3780,7 @@ export const updateWaitingRoom: API.OperationMethod<
3846
3780
  UpdateWaitingRoomResponse,
3847
3781
  UpdateWaitingRoomError,
3848
3782
  Credentials | HttpClient.HttpClient
3849
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3783
+ > = /*@__PURE__*/ API.make(() => ({
3850
3784
  input: UpdateWaitingRoomRequest,
3851
3785
  output: UpdateWaitingRoomResponse,
3852
3786
  errors: [WaitingRoomNotFound, ZoneNotEntitled, Forbidden],
@@ -3948,7 +3882,7 @@ export interface PatchWaitingRoomRequest {
3948
3882
  }
3949
3883
 
3950
3884
  export const PatchWaitingRoomRequest =
3951
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3885
+ /*@__PURE__*/ Schema.suspend(() =>
3952
3886
  Schema.Struct({
3953
3887
  waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
3954
3888
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
@@ -4180,7 +4114,7 @@ export interface PatchWaitingRoomResponse {
4180
4114
  }
4181
4115
 
4182
4116
  export const PatchWaitingRoomResponse =
4183
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4117
+ /*@__PURE__*/ Schema.suspend(() =>
4184
4118
  Schema.Struct({
4185
4119
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4186
4120
  additionalRoutes: Schema.optional(
@@ -4352,7 +4286,7 @@ export const patchWaitingRoom: API.OperationMethod<
4352
4286
  PatchWaitingRoomResponse,
4353
4287
  PatchWaitingRoomError,
4354
4288
  Credentials | HttpClient.HttpClient
4355
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4289
+ > = /*@__PURE__*/ API.make(() => ({
4356
4290
  input: PatchWaitingRoomRequest,
4357
4291
  output: PatchWaitingRoomResponse,
4358
4292
  errors: [],
@@ -4365,7 +4299,7 @@ export interface DeleteWaitingRoomRequest {
4365
4299
  }
4366
4300
 
4367
4301
  export const DeleteWaitingRoomRequest =
4368
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4302
+ /*@__PURE__*/ Schema.suspend(() =>
4369
4303
  Schema.Struct({
4370
4304
  waitingRoomId: Schema.String.pipe(T.HttpPath("waitingRoomId")),
4371
4305
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
@@ -4382,7 +4316,7 @@ export interface DeleteWaitingRoomResponse {
4382
4316
  }
4383
4317
 
4384
4318
  export const DeleteWaitingRoomResponse =
4385
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4319
+ /*@__PURE__*/ Schema.suspend(() =>
4386
4320
  Schema.Struct({
4387
4321
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4388
4322
  }).pipe(T.ResponsePath("result")),
@@ -4398,7 +4332,7 @@ export const deleteWaitingRoom: API.OperationMethod<
4398
4332
  DeleteWaitingRoomResponse,
4399
4333
  DeleteWaitingRoomError,
4400
4334
  Credentials | HttpClient.HttpClient
4401
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4335
+ > = /*@__PURE__*/ API.make(() => ({
4402
4336
  input: DeleteWaitingRoomRequest,
4403
4337
  output: DeleteWaitingRoomResponse,
4404
4338
  errors: [WaitingRoomNotFound, Forbidden],