@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
@@ -86,7 +86,7 @@ interface Audio {
86
86
  /** A Cloudflare-generated unique identifier for a media item. */
87
87
  uid?: string | null;
88
88
  }
89
- const Audio = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
89
+ const Audio = /*@__PURE__*/ Schema.suspend(() =>
90
90
  Schema.Struct({
91
91
  default: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
92
92
  label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -113,29 +113,28 @@ interface GetCaptionResponseResult {
113
113
  /** The status of a generated caption. */
114
114
  status?: "ready" | "inprogress" | "error" | (string & {}) | null;
115
115
  }
116
- const GetCaptionResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
117
- () =>
118
- Schema.Struct({
119
- generated: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
120
- label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
121
- language: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
122
- status: Schema.optional(
116
+ const GetCaptionResponseResult = /*@__PURE__*/ Schema.suspend(() =>
117
+ Schema.Struct({
118
+ generated: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
119
+ label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
120
+ language: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
121
+ status: Schema.optional(
122
+ Schema.Union([
123
123
  Schema.Union([
124
- Schema.Union([
125
- Schema.Literals(["ready", "inprogress", "error"]),
126
- Schema.String,
127
- ]),
128
- Schema.Null,
124
+ Schema.Literals(["ready", "inprogress", "error"]),
125
+ Schema.String,
129
126
  ]),
130
- ),
131
- }),
127
+ Schema.Null,
128
+ ]),
129
+ ),
130
+ }),
132
131
  ) as unknown as Schema.Codec<GetCaptionResponseResult>;
133
132
 
134
133
  interface Watermark {
135
134
  /** The unique identifier for the watermark profile. */
136
135
  uid?: string | null;
137
136
  }
138
- const Watermark = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
137
+ const Watermark = /*@__PURE__*/ Schema.suspend(() =>
139
138
  Schema.Struct({
140
139
  uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
141
140
  }),
@@ -147,7 +146,7 @@ interface Input {
147
146
  /** The video width in pixels. A value of `-1` means the width is unknown. The value becomes available after the upload and before the video is ready. */
148
147
  width?: number | null;
149
148
  }
150
- const Input = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
149
+ const Input = /*@__PURE__*/ Schema.suspend(() =>
151
150
  Schema.Struct({
152
151
  height: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
153
152
  width: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
@@ -160,7 +159,7 @@ interface Playback {
160
159
  /** The HLS manifest for the video. */
161
160
  hls?: string | null;
162
161
  }
163
- const Playback = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
162
+ const Playback = /*@__PURE__*/ Schema.suspend(() =>
164
163
  Schema.Struct({
165
164
  dash: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
166
165
  hls: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -174,7 +173,7 @@ interface PublicDetails {
174
173
  shareLink?: string | null;
175
174
  title?: string | null;
176
175
  }
177
- const PublicDetails = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
176
+ const PublicDetails = /*@__PURE__*/ Schema.suspend(() =>
178
177
  Schema.Struct({
179
178
  channelLink: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
180
179
  logo: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -211,7 +210,7 @@ interface Status {
211
210
  | (string & {})
212
211
  | null;
213
212
  }
214
- const Status = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
213
+ const Status = /*@__PURE__*/ Schema.suspend(() =>
215
214
  Schema.Struct({
216
215
  errorReasonCode: Schema.optional(
217
216
  Schema.Union([Schema.String, Schema.Null]),
@@ -264,7 +263,7 @@ interface Watermark2 {
264
263
  /** The width of the image in pixels. */
265
264
  width?: number | null;
266
265
  }
267
- const Watermark2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
266
+ const Watermark2 = /*@__PURE__*/ Schema.suspend(() =>
268
267
  Schema.Struct({
269
268
  created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
270
269
  downloadedFrom: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -288,7 +287,7 @@ interface Audio2 {
288
287
  /** The URL to access the generated download. */
289
288
  url?: string | null;
290
289
  }
291
- const Audio2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
290
+ const Audio2 = /*@__PURE__*/ Schema.suspend(() =>
292
291
  Schema.Struct({
293
292
  percentComplete: Schema.Number,
294
293
  status: Schema.Union([
@@ -307,7 +306,7 @@ interface GetKeyResponseResult {
307
306
  /** The unique identifier for the signing key. */
308
307
  keyId?: string | null;
309
308
  }
310
- const GetKeyResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
309
+ const GetKeyResponseResult = /*@__PURE__*/ Schema.suspend(() =>
311
310
  Schema.Struct({
312
311
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
313
312
  created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -329,7 +328,7 @@ interface LiveInput {
329
328
  /** A unique identifier for a live input. */
330
329
  uid?: string | null;
331
330
  }
332
- const LiveInput = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
331
+ const LiveInput = /*@__PURE__*/ Schema.suspend(() =>
333
332
  Schema.Struct({
334
333
  created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
335
334
  deleteRecordingAfterDays: Schema.optional(
@@ -358,7 +357,7 @@ interface ListLiveInputsResponse2 {
358
357
  /** The total number of live inputs that match the provided filters. */
359
358
  total?: number | null;
360
359
  }
361
- const ListLiveInputsResponse2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
360
+ const ListLiveInputsResponse2 = /*@__PURE__*/ Schema.suspend(() =>
362
361
  Schema.Struct({
363
362
  liveInputs: Schema.optional(
364
363
  Schema.Union([Schema.Array(LiveInput), Schema.Null]),
@@ -380,7 +379,7 @@ interface Recording {
380
379
  /** Determines the amount of time a live input configured in `automatic` mode should wait before a recording transitions from live to on-demand. `0` is recommended for most use cases and indicates the pla */
381
380
  timeoutSeconds?: number | null;
382
381
  }
383
- const Recording = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
382
+ const Recording = /*@__PURE__*/ Schema.suspend(() =>
384
383
  Schema.Struct({
385
384
  allowedOrigins: Schema.optional(
386
385
  Schema.Union([Schema.Array(Schema.String), Schema.Null]),
@@ -412,7 +411,7 @@ interface ListLiveInputOutputsResponseResult {
412
411
  url?: string | null;
413
412
  }
414
413
  const ListLiveInputOutputsResponseResult =
415
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
414
+ /*@__PURE__*/ Schema.suspend(() =>
416
415
  Schema.Struct({
417
416
  enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
418
417
  streamKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -504,52 +503,47 @@ interface ListStreamsResponseResult {
504
503
  width?: number | null;
505
504
  } | null;
506
505
  }
507
- const ListStreamsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
508
- () =>
509
- Schema.Struct({
510
- allowedOrigins: Schema.optional(
511
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
512
- ),
513
- clippedFrom: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
514
- created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
515
- creator: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
516
- duration: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
517
- input: Schema.optional(Schema.Union([Input, Schema.Null])),
518
- liveInput: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
519
- maxDurationSeconds: Schema.optional(
520
- Schema.Union([Schema.Number, Schema.Null]),
521
- ),
522
- maxSizeBytes: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
523
- meta: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
524
- modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
525
- playback: Schema.optional(Schema.Union([Playback, Schema.Null])),
526
- preview: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
527
- publicDetails: Schema.optional(
528
- Schema.Union([PublicDetails, Schema.Null]),
529
- ),
530
- readyToStream: Schema.optional(
531
- Schema.Union([Schema.Boolean, Schema.Null]),
532
- ),
533
- readyToStreamAt: Schema.optional(
534
- Schema.Union([Schema.String, Schema.Null]),
535
- ),
536
- requireSignedURLs: Schema.optional(
537
- Schema.Union([Schema.Boolean, Schema.Null]),
538
- ),
539
- scheduledDeletion: Schema.optional(
540
- Schema.Union([Schema.String, Schema.Null]),
541
- ),
542
- size: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
543
- status: Schema.optional(Schema.Union([Status, Schema.Null])),
544
- thumbnail: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
545
- thumbnailTimestampPct: Schema.optional(
546
- Schema.Union([Schema.Number, Schema.Null]),
547
- ),
548
- uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
549
- uploaded: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
550
- uploadExpiry: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
551
- watermark: Schema.optional(Schema.Union([Watermark2, Schema.Null])),
552
- }),
506
+ const ListStreamsResponseResult = /*@__PURE__*/ Schema.suspend(() =>
507
+ Schema.Struct({
508
+ allowedOrigins: Schema.optional(
509
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
510
+ ),
511
+ clippedFrom: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
512
+ created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
513
+ creator: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
514
+ duration: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
515
+ input: Schema.optional(Schema.Union([Input, Schema.Null])),
516
+ liveInput: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
517
+ maxDurationSeconds: Schema.optional(
518
+ Schema.Union([Schema.Number, Schema.Null]),
519
+ ),
520
+ maxSizeBytes: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
521
+ meta: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
522
+ modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
523
+ playback: Schema.optional(Schema.Union([Playback, Schema.Null])),
524
+ preview: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
525
+ publicDetails: Schema.optional(Schema.Union([PublicDetails, Schema.Null])),
526
+ readyToStream: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
527
+ readyToStreamAt: Schema.optional(
528
+ Schema.Union([Schema.String, Schema.Null]),
529
+ ),
530
+ requireSignedURLs: Schema.optional(
531
+ Schema.Union([Schema.Boolean, Schema.Null]),
532
+ ),
533
+ scheduledDeletion: Schema.optional(
534
+ Schema.Union([Schema.String, Schema.Null]),
535
+ ),
536
+ size: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
537
+ status: Schema.optional(Schema.Union([Status, Schema.Null])),
538
+ thumbnail: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
539
+ thumbnailTimestampPct: Schema.optional(
540
+ Schema.Union([Schema.Number, Schema.Null]),
541
+ ),
542
+ uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
543
+ uploaded: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
544
+ uploadExpiry: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
545
+ watermark: Schema.optional(Schema.Union([Watermark2, Schema.Null])),
546
+ }),
553
547
  ) as unknown as Schema.Codec<ListStreamsResponseResult>;
554
548
 
555
549
  interface PublicDetails2 {
@@ -558,7 +552,7 @@ interface PublicDetails2 {
558
552
  shareLink?: string | null;
559
553
  title?: string | null;
560
554
  }
561
- const PublicDetails2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
555
+ const PublicDetails2 = /*@__PURE__*/ Schema.suspend(() =>
562
556
  Schema.Struct({
563
557
  channelLink: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
564
558
  logo: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -584,7 +578,7 @@ interface AccessRule {
584
578
  /** Lists available rule types to match for requests. An `any` type matches all requests and can be used as a wildcard to apply default actions after other rules. */
585
579
  type?: "any" | "ip.src" | "ip.geoip.country" | (string & {}) | null;
586
580
  }
587
- const AccessRule = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
581
+ const AccessRule = /*@__PURE__*/ Schema.suspend(() =>
588
582
  Schema.Struct({
589
583
  action: Schema.optional(
590
584
  Schema.Union([
@@ -614,7 +608,7 @@ interface Flags {
614
608
  /** Whether to return the original video without transformations. */
615
609
  original?: boolean | null;
616
610
  }
617
- const Flags = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
611
+ const Flags = /*@__PURE__*/ Schema.suspend(() =>
618
612
  Schema.Struct({
619
613
  original: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
620
614
  }),
@@ -630,17 +624,16 @@ export interface GetAudioTrackRequest {
630
624
  accountId: string;
631
625
  }
632
626
 
633
- export const GetAudioTrackRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
634
- () =>
635
- Schema.Struct({
636
- identifier: Schema.String.pipe(T.HttpPath("identifier")),
637
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
638
- }).pipe(
639
- T.Http({
640
- method: "GET",
641
- path: "/accounts/{account_id}/stream/{identifier}/audio",
642
- }),
643
- ),
627
+ export const GetAudioTrackRequest = /*@__PURE__*/ Schema.suspend(() =>
628
+ Schema.Struct({
629
+ identifier: Schema.String.pipe(T.HttpPath("identifier")),
630
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
631
+ }).pipe(
632
+ T.Http({
633
+ method: "GET",
634
+ path: "/accounts/{account_id}/stream/{identifier}/audio",
635
+ }),
636
+ ),
644
637
  ) as unknown as Schema.Codec<GetAudioTrackRequest>;
645
638
 
646
639
  export interface GetAudioTrackResponse {
@@ -655,11 +648,10 @@ export interface GetAudioTrackResponse {
655
648
  | null;
656
649
  }
657
650
 
658
- export const GetAudioTrackResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
659
- () =>
660
- Schema.Struct({
661
- audio: Schema.optional(Schema.Union([Schema.Array(Audio), Schema.Null])),
662
- }).pipe(T.ResponsePath("result")),
651
+ export const GetAudioTrackResponse = /*@__PURE__*/ Schema.suspend(() =>
652
+ Schema.Struct({
653
+ audio: Schema.optional(Schema.Union([Schema.Array(Audio), Schema.Null])),
654
+ }).pipe(T.ResponsePath("result")),
663
655
  ) as unknown as Schema.Codec<GetAudioTrackResponse>;
664
656
 
665
657
  export type GetAudioTrackError = DefaultErrors;
@@ -669,7 +661,7 @@ export const getAudioTrack: API.OperationMethod<
669
661
  GetAudioTrackResponse,
670
662
  GetAudioTrackError,
671
663
  Credentials | HttpClient.HttpClient
672
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
664
+ > = /*@__PURE__*/ API.make(() => ({
673
665
  input: GetAudioTrackRequest,
674
666
  output: GetAudioTrackResponse,
675
667
  errors: [],
@@ -687,7 +679,7 @@ export interface PatchAudioTrackRequest {
687
679
  }
688
680
 
689
681
  export const PatchAudioTrackRequest =
690
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
682
+ /*@__PURE__*/ Schema.suspend(() =>
691
683
  Schema.Struct({
692
684
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
693
685
  audioIdentifier: Schema.String.pipe(T.HttpPath("audioIdentifier")),
@@ -714,7 +706,7 @@ export interface PatchAudioTrackResponse {
714
706
  }
715
707
 
716
708
  export const PatchAudioTrackResponse =
717
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
709
+ /*@__PURE__*/ Schema.suspend(() =>
718
710
  Schema.Struct({
719
711
  default: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
720
712
  label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -738,7 +730,7 @@ export const patchAudioTrack: API.OperationMethod<
738
730
  PatchAudioTrackResponse,
739
731
  PatchAudioTrackError,
740
732
  Credentials | HttpClient.HttpClient
741
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
733
+ > = /*@__PURE__*/ API.make(() => ({
742
734
  input: PatchAudioTrackRequest,
743
735
  output: PatchAudioTrackResponse,
744
736
  errors: [],
@@ -752,7 +744,7 @@ export interface DeleteAudioTrackRequest {
752
744
  }
753
745
 
754
746
  export const DeleteAudioTrackRequest =
755
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
747
+ /*@__PURE__*/ Schema.suspend(() =>
756
748
  Schema.Struct({
757
749
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
758
750
  audioIdentifier: Schema.String.pipe(T.HttpPath("audioIdentifier")),
@@ -768,7 +760,7 @@ export const DeleteAudioTrackRequest =
768
760
  export type DeleteAudioTrackResponse = string;
769
761
 
770
762
  export const DeleteAudioTrackResponse =
771
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
763
+ /*@__PURE__*/ Schema.suspend(() =>
772
764
  Schema.String.pipe(T.ResponsePath("result")),
773
765
  ) as unknown as Schema.Codec<DeleteAudioTrackResponse>;
774
766
 
@@ -779,7 +771,7 @@ export const deleteAudioTrack: API.OperationMethod<
779
771
  DeleteAudioTrackResponse,
780
772
  DeleteAudioTrackError,
781
773
  Credentials | HttpClient.HttpClient
782
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
774
+ > = /*@__PURE__*/ API.make(() => ({
783
775
  input: DeleteAudioTrackRequest,
784
776
  output: DeleteAudioTrackResponse,
785
777
  errors: [],
@@ -795,19 +787,18 @@ export interface CopyAudioTrackRequest {
795
787
  url?: string;
796
788
  }
797
789
 
798
- export const CopyAudioTrackRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
799
- () =>
800
- Schema.Struct({
801
- identifier: Schema.String.pipe(T.HttpPath("identifier")),
802
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
803
- label: Schema.String,
804
- url: Schema.optional(Schema.String),
805
- }).pipe(
806
- T.Http({
807
- method: "POST",
808
- path: "/accounts/{account_id}/stream/{identifier}/audio/copy",
809
- }),
810
- ),
790
+ export const CopyAudioTrackRequest = /*@__PURE__*/ Schema.suspend(() =>
791
+ Schema.Struct({
792
+ identifier: Schema.String.pipe(T.HttpPath("identifier")),
793
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
794
+ label: Schema.String,
795
+ url: Schema.optional(Schema.String),
796
+ }).pipe(
797
+ T.Http({
798
+ method: "POST",
799
+ path: "/accounts/{account_id}/stream/{identifier}/audio/copy",
800
+ }),
801
+ ),
811
802
  ) as unknown as Schema.Codec<CopyAudioTrackRequest>;
812
803
 
813
804
  export interface CopyAudioTrackResponse {
@@ -822,7 +813,7 @@ export interface CopyAudioTrackResponse {
822
813
  }
823
814
 
824
815
  export const CopyAudioTrackResponse =
825
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
816
+ /*@__PURE__*/ Schema.suspend(() =>
826
817
  Schema.Struct({
827
818
  default: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
828
819
  label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -846,7 +837,7 @@ export const copyAudioTrack: API.OperationMethod<
846
837
  CopyAudioTrackResponse,
847
838
  CopyAudioTrackError,
848
839
  Credentials | HttpClient.HttpClient
849
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
840
+ > = /*@__PURE__*/ API.make(() => ({
850
841
  input: CopyAudioTrackRequest,
851
842
  output: CopyAudioTrackResponse,
852
843
  errors: [],
@@ -862,17 +853,16 @@ export interface GetCaptionRequest {
862
853
  accountId: string;
863
854
  }
864
855
 
865
- export const GetCaptionRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
866
- () =>
867
- Schema.Struct({
868
- identifier: Schema.String.pipe(T.HttpPath("identifier")),
869
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
870
- }).pipe(
871
- T.Http({
872
- method: "GET",
873
- path: "/accounts/{account_id}/stream/{identifier}/captions",
874
- }),
875
- ),
856
+ export const GetCaptionRequest = /*@__PURE__*/ Schema.suspend(() =>
857
+ Schema.Struct({
858
+ identifier: Schema.String.pipe(T.HttpPath("identifier")),
859
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
860
+ }).pipe(
861
+ T.Http({
862
+ method: "GET",
863
+ path: "/accounts/{account_id}/stream/{identifier}/captions",
864
+ }),
865
+ ),
876
866
  ) as unknown as Schema.Codec<GetCaptionRequest>;
877
867
 
878
868
  export interface GetCaptionResponse {
@@ -884,11 +874,10 @@ export interface GetCaptionResponse {
884
874
  }[];
885
875
  }
886
876
 
887
- export const GetCaptionResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
888
- () =>
889
- Schema.Struct({
890
- result: Schema.Array(GetCaptionResponseResult),
891
- }),
877
+ export const GetCaptionResponse = /*@__PURE__*/ Schema.suspend(() =>
878
+ Schema.Struct({
879
+ result: Schema.Array(GetCaptionResponseResult),
880
+ }),
892
881
  ) as unknown as Schema.Codec<GetCaptionResponse>;
893
882
 
894
883
  export type GetCaptionError = DefaultErrors;
@@ -898,7 +887,7 @@ export const getCaption: API.PaginatedOperationMethod<
898
887
  GetCaptionResponse,
899
888
  GetCaptionError,
900
889
  Credentials | HttpClient.HttpClient
901
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
890
+ > = /*@__PURE__*/ API.makePaginated(() => ({
902
891
  input: GetCaptionRequest,
903
892
  output: GetCaptionResponse,
904
893
  errors: [],
@@ -920,7 +909,7 @@ export interface GetCaptionLanguageRequest {
920
909
  }
921
910
 
922
911
  export const GetCaptionLanguageRequest =
923
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
912
+ /*@__PURE__*/ Schema.suspend(() =>
924
913
  Schema.Struct({
925
914
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
926
915
  language: Schema.String.pipe(T.HttpPath("language")),
@@ -945,7 +934,7 @@ export interface GetCaptionLanguageResponse {
945
934
  }
946
935
 
947
936
  export const GetCaptionLanguageResponse =
948
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
937
+ /*@__PURE__*/ Schema.suspend(() =>
949
938
  Schema.Struct({
950
939
  generated: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
951
940
  label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -969,7 +958,7 @@ export const getCaptionLanguage: API.OperationMethod<
969
958
  GetCaptionLanguageResponse,
970
959
  GetCaptionLanguageError,
971
960
  Credentials | HttpClient.HttpClient
972
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
961
+ > = /*@__PURE__*/ API.make(() => ({
973
962
  input: GetCaptionLanguageRequest,
974
963
  output: GetCaptionLanguageResponse,
975
964
  errors: [],
@@ -983,7 +972,7 @@ export interface CreateCaptionLanguageRequest {
983
972
  }
984
973
 
985
974
  export const CreateCaptionLanguageRequest =
986
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
975
+ /*@__PURE__*/ Schema.suspend(() =>
987
976
  Schema.Struct({
988
977
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
989
978
  language: Schema.String.pipe(T.HttpPath("language")),
@@ -1008,7 +997,7 @@ export interface CreateCaptionLanguageResponse {
1008
997
  }
1009
998
 
1010
999
  export const CreateCaptionLanguageResponse =
1011
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1000
+ /*@__PURE__*/ Schema.suspend(() =>
1012
1001
  Schema.Struct({
1013
1002
  generated: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1014
1003
  label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -1032,7 +1021,7 @@ export const createCaptionLanguage: API.OperationMethod<
1032
1021
  CreateCaptionLanguageResponse,
1033
1022
  CreateCaptionLanguageError,
1034
1023
  Credentials | HttpClient.HttpClient
1035
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1024
+ > = /*@__PURE__*/ API.make(() => ({
1036
1025
  input: CreateCaptionLanguageRequest,
1037
1026
  output: CreateCaptionLanguageResponse,
1038
1027
  errors: [],
@@ -1048,7 +1037,7 @@ export interface UpdateCaptionLanguageRequest {
1048
1037
  }
1049
1038
 
1050
1039
  export const UpdateCaptionLanguageRequest =
1051
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1040
+ /*@__PURE__*/ Schema.suspend(() =>
1052
1041
  Schema.Struct({
1053
1042
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
1054
1043
  language: Schema.String.pipe(T.HttpPath("language")),
@@ -1075,7 +1064,7 @@ export interface UpdateCaptionLanguageResponse {
1075
1064
  }
1076
1065
 
1077
1066
  export const UpdateCaptionLanguageResponse =
1078
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1067
+ /*@__PURE__*/ Schema.suspend(() =>
1079
1068
  Schema.Struct({
1080
1069
  generated: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1081
1070
  label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -1099,7 +1088,7 @@ export const updateCaptionLanguage: API.OperationMethod<
1099
1088
  UpdateCaptionLanguageResponse,
1100
1089
  UpdateCaptionLanguageError,
1101
1090
  Credentials | HttpClient.HttpClient
1102
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1091
+ > = /*@__PURE__*/ API.make(() => ({
1103
1092
  input: UpdateCaptionLanguageRequest,
1104
1093
  output: UpdateCaptionLanguageResponse,
1105
1094
  errors: [],
@@ -1113,7 +1102,7 @@ export interface DeleteCaptionLanguageRequest {
1113
1102
  }
1114
1103
 
1115
1104
  export const DeleteCaptionLanguageRequest =
1116
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1105
+ /*@__PURE__*/ Schema.suspend(() =>
1117
1106
  Schema.Struct({
1118
1107
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
1119
1108
  language: Schema.String.pipe(T.HttpPath("language")),
@@ -1129,7 +1118,7 @@ export const DeleteCaptionLanguageRequest =
1129
1118
  export type DeleteCaptionLanguageResponse = string;
1130
1119
 
1131
1120
  export const DeleteCaptionLanguageResponse =
1132
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1121
+ /*@__PURE__*/ Schema.suspend(() =>
1133
1122
  Schema.String.pipe(T.ResponsePath("result")),
1134
1123
  ) as unknown as Schema.Codec<DeleteCaptionLanguageResponse>;
1135
1124
 
@@ -1140,7 +1129,7 @@ export const deleteCaptionLanguage: API.OperationMethod<
1140
1129
  DeleteCaptionLanguageResponse,
1141
1130
  DeleteCaptionLanguageError,
1142
1131
  Credentials | HttpClient.HttpClient
1143
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1132
+ > = /*@__PURE__*/ API.make(() => ({
1144
1133
  input: DeleteCaptionLanguageRequest,
1145
1134
  output: DeleteCaptionLanguageResponse,
1146
1135
  errors: [],
@@ -1158,7 +1147,7 @@ export interface GetCaptionLanguageVttRequest {
1158
1147
  }
1159
1148
 
1160
1149
  export const GetCaptionLanguageVttRequest =
1161
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1150
+ /*@__PURE__*/ Schema.suspend(() =>
1162
1151
  Schema.Struct({
1163
1152
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
1164
1153
  language: Schema.String.pipe(T.HttpPath("language")),
@@ -1174,7 +1163,7 @@ export const GetCaptionLanguageVttRequest =
1174
1163
  export type GetCaptionLanguageVttResponse = string;
1175
1164
 
1176
1165
  export const GetCaptionLanguageVttResponse =
1177
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1166
+ /*@__PURE__*/ Schema.suspend(
1178
1167
  () => Schema.String,
1179
1168
  ) as unknown as Schema.Codec<GetCaptionLanguageVttResponse>;
1180
1169
 
@@ -1185,7 +1174,7 @@ export const getCaptionLanguageVtt: API.OperationMethod<
1185
1174
  GetCaptionLanguageVttResponse,
1186
1175
  GetCaptionLanguageVttError,
1187
1176
  Credentials | HttpClient.HttpClient
1188
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1177
+ > = /*@__PURE__*/ API.make(() => ({
1189
1178
  input: GetCaptionLanguageVttRequest,
1190
1179
  output: GetCaptionLanguageVttResponse,
1191
1180
  errors: [],
@@ -1226,26 +1215,25 @@ export interface CreateClipRequest {
1226
1215
  watermark?: { uid?: string };
1227
1216
  }
1228
1217
 
1229
- export const CreateClipRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1230
- () =>
1231
- Schema.Struct({
1232
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
1233
- clippedFromVideoUID: Schema.String,
1234
- endTimeSeconds: Schema.Number,
1235
- startTimeSeconds: Schema.Number,
1236
- allowedOrigins: Schema.optional(Schema.Array(Schema.String)),
1237
- creator: Schema.optional(Schema.String),
1238
- input: Schema.optional(Schema.String),
1239
- meta: Schema.optional(Schema.Unknown),
1240
- name: Schema.optional(Schema.String),
1241
- requireSignedURLs: Schema.optional(Schema.Boolean),
1242
- scheduledDeletion: Schema.optional(Schema.String),
1243
- thumbnailTimestampPct: Schema.optional(Schema.Number),
1244
- url: Schema.optional(Schema.String),
1245
- watermark: Schema.optional(Watermark),
1246
- }).pipe(
1247
- T.Http({ method: "POST", path: "/accounts/{account_id}/stream/clip" }),
1248
- ),
1218
+ export const CreateClipRequest = /*@__PURE__*/ Schema.suspend(() =>
1219
+ Schema.Struct({
1220
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
1221
+ clippedFromVideoUID: Schema.String,
1222
+ endTimeSeconds: Schema.Number,
1223
+ startTimeSeconds: Schema.Number,
1224
+ allowedOrigins: Schema.optional(Schema.Array(Schema.String)),
1225
+ creator: Schema.optional(Schema.String),
1226
+ input: Schema.optional(Schema.String),
1227
+ meta: Schema.optional(Schema.Unknown),
1228
+ name: Schema.optional(Schema.String),
1229
+ requireSignedURLs: Schema.optional(Schema.Boolean),
1230
+ scheduledDeletion: Schema.optional(Schema.String),
1231
+ thumbnailTimestampPct: Schema.optional(Schema.Number),
1232
+ url: Schema.optional(Schema.String),
1233
+ watermark: Schema.optional(Watermark),
1234
+ }).pipe(
1235
+ T.Http({ method: "POST", path: "/accounts/{account_id}/stream/clip" }),
1236
+ ),
1249
1237
  ) as unknown as Schema.Codec<CreateClipRequest>;
1250
1238
 
1251
1239
  export interface CreateClipResponse {
@@ -1332,52 +1320,47 @@ export interface CreateClipResponse {
1332
1320
  } | null;
1333
1321
  }
1334
1322
 
1335
- export const CreateClipResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1336
- () =>
1337
- Schema.Struct({
1338
- allowedOrigins: Schema.optional(
1339
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
1340
- ),
1341
- clippedFrom: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1342
- created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1343
- creator: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1344
- duration: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1345
- input: Schema.optional(Schema.Union([Input, Schema.Null])),
1346
- liveInput: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1347
- maxDurationSeconds: Schema.optional(
1348
- Schema.Union([Schema.Number, Schema.Null]),
1349
- ),
1350
- maxSizeBytes: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1351
- meta: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
1352
- modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1353
- playback: Schema.optional(Schema.Union([Playback, Schema.Null])),
1354
- preview: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1355
- publicDetails: Schema.optional(
1356
- Schema.Union([PublicDetails, Schema.Null]),
1357
- ),
1358
- readyToStream: Schema.optional(
1359
- Schema.Union([Schema.Boolean, Schema.Null]),
1360
- ),
1361
- readyToStreamAt: Schema.optional(
1362
- Schema.Union([Schema.String, Schema.Null]),
1363
- ),
1364
- requireSignedURLs: Schema.optional(
1365
- Schema.Union([Schema.Boolean, Schema.Null]),
1366
- ),
1367
- scheduledDeletion: Schema.optional(
1368
- Schema.Union([Schema.String, Schema.Null]),
1369
- ),
1370
- size: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1371
- status: Schema.optional(Schema.Union([Status, Schema.Null])),
1372
- thumbnail: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1373
- thumbnailTimestampPct: Schema.optional(
1374
- Schema.Union([Schema.Number, Schema.Null]),
1375
- ),
1376
- uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1377
- uploaded: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1378
- uploadExpiry: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1379
- watermark: Schema.optional(Schema.Union([Watermark2, Schema.Null])),
1380
- }).pipe(T.ResponsePath("result")),
1323
+ export const CreateClipResponse = /*@__PURE__*/ Schema.suspend(() =>
1324
+ Schema.Struct({
1325
+ allowedOrigins: Schema.optional(
1326
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
1327
+ ),
1328
+ clippedFrom: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1329
+ created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1330
+ creator: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1331
+ duration: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1332
+ input: Schema.optional(Schema.Union([Input, Schema.Null])),
1333
+ liveInput: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1334
+ maxDurationSeconds: Schema.optional(
1335
+ Schema.Union([Schema.Number, Schema.Null]),
1336
+ ),
1337
+ maxSizeBytes: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1338
+ meta: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
1339
+ modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1340
+ playback: Schema.optional(Schema.Union([Playback, Schema.Null])),
1341
+ preview: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1342
+ publicDetails: Schema.optional(Schema.Union([PublicDetails, Schema.Null])),
1343
+ readyToStream: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1344
+ readyToStreamAt: Schema.optional(
1345
+ Schema.Union([Schema.String, Schema.Null]),
1346
+ ),
1347
+ requireSignedURLs: Schema.optional(
1348
+ Schema.Union([Schema.Boolean, Schema.Null]),
1349
+ ),
1350
+ scheduledDeletion: Schema.optional(
1351
+ Schema.Union([Schema.String, Schema.Null]),
1352
+ ),
1353
+ size: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1354
+ status: Schema.optional(Schema.Union([Status, Schema.Null])),
1355
+ thumbnail: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1356
+ thumbnailTimestampPct: Schema.optional(
1357
+ Schema.Union([Schema.Number, Schema.Null]),
1358
+ ),
1359
+ uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1360
+ uploaded: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1361
+ uploadExpiry: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1362
+ watermark: Schema.optional(Schema.Union([Watermark2, Schema.Null])),
1363
+ }).pipe(T.ResponsePath("result")),
1381
1364
  ) as unknown as Schema.Codec<CreateClipResponse>;
1382
1365
 
1383
1366
  export type CreateClipError = DefaultErrors;
@@ -1387,7 +1370,7 @@ export const createClip: API.OperationMethod<
1387
1370
  CreateClipResponse,
1388
1371
  CreateClipError,
1389
1372
  Credentials | HttpClient.HttpClient
1390
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1373
+ > = /*@__PURE__*/ API.make(() => ({
1391
1374
  input: CreateClipRequest,
1392
1375
  output: CreateClipResponse,
1393
1376
  errors: [],
@@ -1424,26 +1407,25 @@ export interface CreateCopyRequest {
1424
1407
  watermark?: { uid?: string };
1425
1408
  }
1426
1409
 
1427
- export const CreateCopyRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1428
- () =>
1429
- Schema.Struct({
1430
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
1431
- uploadCreator: Schema.optional(Schema.String).pipe(
1432
- T.HttpHeader("Upload-Creator"),
1433
- ),
1434
- allowedOrigins: Schema.optional(Schema.Array(Schema.String)),
1435
- creator: Schema.optional(Schema.String),
1436
- input: Schema.optional(Schema.String),
1437
- meta: Schema.optional(Schema.Unknown),
1438
- name: Schema.optional(Schema.String),
1439
- requireSignedURLs: Schema.optional(Schema.Boolean),
1440
- scheduledDeletion: Schema.optional(Schema.String),
1441
- thumbnailTimestampPct: Schema.optional(Schema.Number),
1442
- url: Schema.optional(Schema.String),
1443
- watermark: Schema.optional(Watermark),
1444
- }).pipe(
1445
- T.Http({ method: "POST", path: "/accounts/{account_id}/stream/copy" }),
1410
+ export const CreateCopyRequest = /*@__PURE__*/ Schema.suspend(() =>
1411
+ Schema.Struct({
1412
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
1413
+ uploadCreator: Schema.optional(Schema.String).pipe(
1414
+ T.HttpHeader("Upload-Creator"),
1446
1415
  ),
1416
+ allowedOrigins: Schema.optional(Schema.Array(Schema.String)),
1417
+ creator: Schema.optional(Schema.String),
1418
+ input: Schema.optional(Schema.String),
1419
+ meta: Schema.optional(Schema.Unknown),
1420
+ name: Schema.optional(Schema.String),
1421
+ requireSignedURLs: Schema.optional(Schema.Boolean),
1422
+ scheduledDeletion: Schema.optional(Schema.String),
1423
+ thumbnailTimestampPct: Schema.optional(Schema.Number),
1424
+ url: Schema.optional(Schema.String),
1425
+ watermark: Schema.optional(Watermark),
1426
+ }).pipe(
1427
+ T.Http({ method: "POST", path: "/accounts/{account_id}/stream/copy" }),
1428
+ ),
1447
1429
  ) as unknown as Schema.Codec<CreateCopyRequest>;
1448
1430
 
1449
1431
  export interface CreateCopyResponse {
@@ -1530,52 +1512,47 @@ export interface CreateCopyResponse {
1530
1512
  } | null;
1531
1513
  }
1532
1514
 
1533
- export const CreateCopyResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1534
- () =>
1535
- Schema.Struct({
1536
- allowedOrigins: Schema.optional(
1537
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
1538
- ),
1539
- clippedFrom: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1540
- created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1541
- creator: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1542
- duration: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1543
- input: Schema.optional(Schema.Union([Input, Schema.Null])),
1544
- liveInput: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1545
- maxDurationSeconds: Schema.optional(
1546
- Schema.Union([Schema.Number, Schema.Null]),
1547
- ),
1548
- maxSizeBytes: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1549
- meta: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
1550
- modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1551
- playback: Schema.optional(Schema.Union([Playback, Schema.Null])),
1552
- preview: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1553
- publicDetails: Schema.optional(
1554
- Schema.Union([PublicDetails, Schema.Null]),
1555
- ),
1556
- readyToStream: Schema.optional(
1557
- Schema.Union([Schema.Boolean, Schema.Null]),
1558
- ),
1559
- readyToStreamAt: Schema.optional(
1560
- Schema.Union([Schema.String, Schema.Null]),
1561
- ),
1562
- requireSignedURLs: Schema.optional(
1563
- Schema.Union([Schema.Boolean, Schema.Null]),
1564
- ),
1565
- scheduledDeletion: Schema.optional(
1566
- Schema.Union([Schema.String, Schema.Null]),
1567
- ),
1568
- size: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1569
- status: Schema.optional(Schema.Union([Status, Schema.Null])),
1570
- thumbnail: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1571
- thumbnailTimestampPct: Schema.optional(
1572
- Schema.Union([Schema.Number, Schema.Null]),
1573
- ),
1574
- uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1575
- uploaded: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1576
- uploadExpiry: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1577
- watermark: Schema.optional(Schema.Union([Watermark2, Schema.Null])),
1578
- }).pipe(T.ResponsePath("result")),
1515
+ export const CreateCopyResponse = /*@__PURE__*/ Schema.suspend(() =>
1516
+ Schema.Struct({
1517
+ allowedOrigins: Schema.optional(
1518
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
1519
+ ),
1520
+ clippedFrom: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1521
+ created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1522
+ creator: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1523
+ duration: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1524
+ input: Schema.optional(Schema.Union([Input, Schema.Null])),
1525
+ liveInput: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1526
+ maxDurationSeconds: Schema.optional(
1527
+ Schema.Union([Schema.Number, Schema.Null]),
1528
+ ),
1529
+ maxSizeBytes: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1530
+ meta: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
1531
+ modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1532
+ playback: Schema.optional(Schema.Union([Playback, Schema.Null])),
1533
+ preview: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1534
+ publicDetails: Schema.optional(Schema.Union([PublicDetails, Schema.Null])),
1535
+ readyToStream: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1536
+ readyToStreamAt: Schema.optional(
1537
+ Schema.Union([Schema.String, Schema.Null]),
1538
+ ),
1539
+ requireSignedURLs: Schema.optional(
1540
+ Schema.Union([Schema.Boolean, Schema.Null]),
1541
+ ),
1542
+ scheduledDeletion: Schema.optional(
1543
+ Schema.Union([Schema.String, Schema.Null]),
1544
+ ),
1545
+ size: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1546
+ status: Schema.optional(Schema.Union([Status, Schema.Null])),
1547
+ thumbnail: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1548
+ thumbnailTimestampPct: Schema.optional(
1549
+ Schema.Union([Schema.Number, Schema.Null]),
1550
+ ),
1551
+ uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1552
+ uploaded: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1553
+ uploadExpiry: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1554
+ watermark: Schema.optional(Schema.Union([Watermark2, Schema.Null])),
1555
+ }).pipe(T.ResponsePath("result")),
1579
1556
  ) as unknown as Schema.Codec<CreateCopyResponse>;
1580
1557
 
1581
1558
  export type CreateCopyError = DefaultErrors;
@@ -1585,7 +1562,7 @@ export const createCopy: API.OperationMethod<
1585
1562
  CreateCopyResponse,
1586
1563
  CreateCopyError,
1587
1564
  Credentials | HttpClient.HttpClient
1588
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1565
+ > = /*@__PURE__*/ API.make(() => ({
1589
1566
  input: CreateCopyRequest,
1590
1567
  output: CreateCopyResponse,
1591
1568
  errors: [],
@@ -1621,7 +1598,7 @@ export interface CreateDirectUploadRequest {
1621
1598
  }
1622
1599
 
1623
1600
  export const CreateDirectUploadRequest =
1624
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1601
+ /*@__PURE__*/ Schema.suspend(() =>
1625
1602
  Schema.Struct({
1626
1603
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1627
1604
  uploadCreator: Schema.optional(Schema.String).pipe(
@@ -1667,7 +1644,7 @@ export interface CreateDirectUploadResponse {
1667
1644
  }
1668
1645
 
1669
1646
  export const CreateDirectUploadResponse =
1670
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1647
+ /*@__PURE__*/ Schema.suspend(() =>
1671
1648
  Schema.Struct({
1672
1649
  scheduledDeletion: Schema.optional(
1673
1650
  Schema.Union([Schema.String, Schema.Null]),
@@ -1685,7 +1662,7 @@ export const createDirectUpload: API.OperationMethod<
1685
1662
  CreateDirectUploadResponse,
1686
1663
  CreateDirectUploadError,
1687
1664
  Credentials | HttpClient.HttpClient
1688
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1665
+ > = /*@__PURE__*/ API.make(() => ({
1689
1666
  input: CreateDirectUploadRequest,
1690
1667
  output: CreateDirectUploadResponse,
1691
1668
  errors: [],
@@ -1701,17 +1678,16 @@ export interface GetDownloadRequest {
1701
1678
  accountId: string;
1702
1679
  }
1703
1680
 
1704
- export const GetDownloadRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1705
- () =>
1706
- Schema.Struct({
1707
- identifier: Schema.String.pipe(T.HttpPath("identifier")),
1708
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
1709
- }).pipe(
1710
- T.Http({
1711
- method: "GET",
1712
- path: "/accounts/{account_id}/stream/{identifier}/downloads",
1713
- }),
1714
- ),
1681
+ export const GetDownloadRequest = /*@__PURE__*/ Schema.suspend(() =>
1682
+ Schema.Struct({
1683
+ identifier: Schema.String.pipe(T.HttpPath("identifier")),
1684
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
1685
+ }).pipe(
1686
+ T.Http({
1687
+ method: "GET",
1688
+ path: "/accounts/{account_id}/stream/{identifier}/downloads",
1689
+ }),
1690
+ ),
1715
1691
  ) as unknown as Schema.Codec<GetDownloadRequest>;
1716
1692
 
1717
1693
  export interface GetDownloadResponse {
@@ -1729,12 +1705,11 @@ export interface GetDownloadResponse {
1729
1705
  } | null;
1730
1706
  }
1731
1707
 
1732
- export const GetDownloadResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1733
- () =>
1734
- Schema.Struct({
1735
- audio: Schema.optional(Schema.Union([Audio2, Schema.Null])),
1736
- default: Schema.optional(Schema.Union([Audio2, Schema.Null])),
1737
- }).pipe(T.ResponsePath("result")),
1708
+ export const GetDownloadResponse = /*@__PURE__*/ Schema.suspend(() =>
1709
+ Schema.Struct({
1710
+ audio: Schema.optional(Schema.Union([Audio2, Schema.Null])),
1711
+ default: Schema.optional(Schema.Union([Audio2, Schema.Null])),
1712
+ }).pipe(T.ResponsePath("result")),
1738
1713
  ) as unknown as Schema.Codec<GetDownloadResponse>;
1739
1714
 
1740
1715
  export type GetDownloadError = DefaultErrors;
@@ -1744,7 +1719,7 @@ export const getDownload: API.OperationMethod<
1744
1719
  GetDownloadResponse,
1745
1720
  GetDownloadError,
1746
1721
  Credentials | HttpClient.HttpClient
1747
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1722
+ > = /*@__PURE__*/ API.make(() => ({
1748
1723
  input: GetDownloadRequest,
1749
1724
  output: GetDownloadResponse,
1750
1725
  errors: [],
@@ -1756,17 +1731,16 @@ export interface CreateDownloadRequest {
1756
1731
  accountId: string;
1757
1732
  }
1758
1733
 
1759
- export const CreateDownloadRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1760
- () =>
1761
- Schema.Struct({
1762
- identifier: Schema.String.pipe(T.HttpPath("identifier")),
1763
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
1764
- }).pipe(
1765
- T.Http({
1766
- method: "POST",
1767
- path: "/accounts/{account_id}/stream/{identifier}/downloads",
1768
- }),
1769
- ),
1734
+ export const CreateDownloadRequest = /*@__PURE__*/ Schema.suspend(() =>
1735
+ Schema.Struct({
1736
+ identifier: Schema.String.pipe(T.HttpPath("identifier")),
1737
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
1738
+ }).pipe(
1739
+ T.Http({
1740
+ method: "POST",
1741
+ path: "/accounts/{account_id}/stream/{identifier}/downloads",
1742
+ }),
1743
+ ),
1770
1744
  ) as unknown as Schema.Codec<CreateDownloadRequest>;
1771
1745
 
1772
1746
  export interface CreateDownloadResponse {
@@ -1785,7 +1759,7 @@ export interface CreateDownloadResponse {
1785
1759
  }
1786
1760
 
1787
1761
  export const CreateDownloadResponse =
1788
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1762
+ /*@__PURE__*/ Schema.suspend(() =>
1789
1763
  Schema.Struct({
1790
1764
  audio: Schema.optional(Schema.Union([Audio2, Schema.Null])),
1791
1765
  default: Schema.optional(Schema.Union([Audio2, Schema.Null])),
@@ -1799,7 +1773,7 @@ export const createDownload: API.OperationMethod<
1799
1773
  CreateDownloadResponse,
1800
1774
  CreateDownloadError,
1801
1775
  Credentials | HttpClient.HttpClient
1802
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1776
+ > = /*@__PURE__*/ API.make(() => ({
1803
1777
  input: CreateDownloadRequest,
1804
1778
  output: CreateDownloadResponse,
1805
1779
  errors: [],
@@ -1811,23 +1785,22 @@ export interface DeleteDownloadRequest {
1811
1785
  accountId: string;
1812
1786
  }
1813
1787
 
1814
- export const DeleteDownloadRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1815
- () =>
1816
- Schema.Struct({
1817
- identifier: Schema.String.pipe(T.HttpPath("identifier")),
1818
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
1819
- }).pipe(
1820
- T.Http({
1821
- method: "DELETE",
1822
- path: "/accounts/{account_id}/stream/{identifier}/downloads",
1823
- }),
1824
- ),
1788
+ export const DeleteDownloadRequest = /*@__PURE__*/ Schema.suspend(() =>
1789
+ Schema.Struct({
1790
+ identifier: Schema.String.pipe(T.HttpPath("identifier")),
1791
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
1792
+ }).pipe(
1793
+ T.Http({
1794
+ method: "DELETE",
1795
+ path: "/accounts/{account_id}/stream/{identifier}/downloads",
1796
+ }),
1797
+ ),
1825
1798
  ) as unknown as Schema.Codec<DeleteDownloadRequest>;
1826
1799
 
1827
1800
  export type DeleteDownloadResponse = string;
1828
1801
 
1829
1802
  export const DeleteDownloadResponse =
1830
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1803
+ /*@__PURE__*/ Schema.suspend(() =>
1831
1804
  Schema.String.pipe(T.ResponsePath("result")),
1832
1805
  ) as unknown as Schema.Codec<DeleteDownloadResponse>;
1833
1806
 
@@ -1838,7 +1811,7 @@ export const deleteDownload: API.OperationMethod<
1838
1811
  DeleteDownloadResponse,
1839
1812
  DeleteDownloadError,
1840
1813
  Credentials | HttpClient.HttpClient
1841
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1814
+ > = /*@__PURE__*/ API.make(() => ({
1842
1815
  input: DeleteDownloadRequest,
1843
1816
  output: DeleteDownloadResponse,
1844
1817
  errors: [],
@@ -1854,7 +1827,7 @@ export interface GetEmbedRequest {
1854
1827
  accountId: string;
1855
1828
  }
1856
1829
 
1857
- export const GetEmbedRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1830
+ export const GetEmbedRequest = /*@__PURE__*/ Schema.suspend(() =>
1858
1831
  Schema.Struct({
1859
1832
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
1860
1833
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -1868,7 +1841,7 @@ export const GetEmbedRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1868
1841
 
1869
1842
  export type GetEmbedResponse = string;
1870
1843
 
1871
- export const GetEmbedResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1844
+ export const GetEmbedResponse = /*@__PURE__*/ Schema.suspend(
1872
1845
  () => Schema.String,
1873
1846
  ) as unknown as Schema.Codec<GetEmbedResponse>;
1874
1847
 
@@ -1879,7 +1852,7 @@ export const getEmbed: API.OperationMethod<
1879
1852
  GetEmbedResponse,
1880
1853
  GetEmbedError,
1881
1854
  Credentials | HttpClient.HttpClient
1882
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1855
+ > = /*@__PURE__*/ API.make(() => ({
1883
1856
  input: GetEmbedRequest,
1884
1857
  output: GetEmbedResponse,
1885
1858
  errors: [],
@@ -1894,7 +1867,7 @@ export interface GetKeyRequest {
1894
1867
  accountId: string;
1895
1868
  }
1896
1869
 
1897
- export const GetKeyRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1870
+ export const GetKeyRequest = /*@__PURE__*/ Schema.suspend(() =>
1898
1871
  Schema.Struct({
1899
1872
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1900
1873
  }).pipe(
@@ -1908,7 +1881,7 @@ export interface GetKeyResponse {
1908
1881
  | null;
1909
1882
  }
1910
1883
 
1911
- export const GetKeyResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1884
+ export const GetKeyResponse = /*@__PURE__*/ Schema.suspend(() =>
1912
1885
  Schema.Struct({
1913
1886
  result: Schema.Union([Schema.Array(GetKeyResponseResult), Schema.Null]),
1914
1887
  }),
@@ -1921,7 +1894,7 @@ export const getKey: API.PaginatedOperationMethod<
1921
1894
  GetKeyResponse,
1922
1895
  GetKeyError,
1923
1896
  Credentials | HttpClient.HttpClient
1924
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
1897
+ > = /*@__PURE__*/ API.makePaginated(() => ({
1925
1898
  input: GetKeyRequest,
1926
1899
  output: GetKeyResponse,
1927
1900
  errors: [Forbidden],
@@ -1938,7 +1911,7 @@ export interface CreateKeyRequest {
1938
1911
  body: unknown;
1939
1912
  }
1940
1913
 
1941
- export const CreateKeyRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1914
+ export const CreateKeyRequest = /*@__PURE__*/ Schema.suspend(() =>
1942
1915
  Schema.Struct({
1943
1916
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1944
1917
  body: Schema.Unknown.pipe(T.HttpBody()),
@@ -1958,14 +1931,13 @@ export interface CreateKeyResponse {
1958
1931
  pem?: string | null;
1959
1932
  }
1960
1933
 
1961
- export const CreateKeyResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1962
- () =>
1963
- Schema.Struct({
1964
- id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1965
- created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1966
- jwk: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1967
- pem: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1968
- }).pipe(T.ResponsePath("result")),
1934
+ export const CreateKeyResponse = /*@__PURE__*/ Schema.suspend(() =>
1935
+ Schema.Struct({
1936
+ id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1937
+ created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1938
+ jwk: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1939
+ pem: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1940
+ }).pipe(T.ResponsePath("result")),
1969
1941
  ) as unknown as Schema.Codec<CreateKeyResponse>;
1970
1942
 
1971
1943
  export type CreateKeyError = DefaultErrors;
@@ -1975,7 +1947,7 @@ export const createKey: API.OperationMethod<
1975
1947
  CreateKeyResponse,
1976
1948
  CreateKeyError,
1977
1949
  Credentials | HttpClient.HttpClient
1978
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1950
+ > = /*@__PURE__*/ API.make(() => ({
1979
1951
  input: CreateKeyRequest,
1980
1952
  output: CreateKeyResponse,
1981
1953
  errors: [],
@@ -1987,7 +1959,7 @@ export interface DeleteKeyRequest {
1987
1959
  accountId: string;
1988
1960
  }
1989
1961
 
1990
- export const DeleteKeyRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1962
+ export const DeleteKeyRequest = /*@__PURE__*/ Schema.suspend(() =>
1991
1963
  Schema.Struct({
1992
1964
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
1993
1965
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -2001,8 +1973,8 @@ export const DeleteKeyRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2001
1973
 
2002
1974
  export type DeleteKeyResponse = string;
2003
1975
 
2004
- export const DeleteKeyResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2005
- () => Schema.String.pipe(T.ResponsePath("result")),
1976
+ export const DeleteKeyResponse = /*@__PURE__*/ Schema.suspend(() =>
1977
+ Schema.String.pipe(T.ResponsePath("result")),
2006
1978
  ) as unknown as Schema.Codec<DeleteKeyResponse>;
2007
1979
 
2008
1980
  export type DeleteKeyError = DefaultErrors | SigningKeyNotFound | Forbidden;
@@ -2012,7 +1984,7 @@ export const deleteKey: API.OperationMethod<
2012
1984
  DeleteKeyResponse,
2013
1985
  DeleteKeyError,
2014
1986
  Credentials | HttpClient.HttpClient
2015
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1987
+ > = /*@__PURE__*/ API.make(() => ({
2016
1988
  input: DeleteKeyRequest,
2017
1989
  output: DeleteKeyResponse,
2018
1990
  errors: [SigningKeyNotFound, Forbidden],
@@ -2028,19 +2000,16 @@ export interface GetLiveInputRequest {
2028
2000
  accountId: string;
2029
2001
  }
2030
2002
 
2031
- export const GetLiveInputRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2032
- () =>
2033
- Schema.Struct({
2034
- liveInputIdentifier: Schema.String.pipe(
2035
- T.HttpPath("liveInputIdentifier"),
2036
- ),
2037
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
2038
- }).pipe(
2039
- T.Http({
2040
- method: "GET",
2041
- path: "/accounts/{account_id}/stream/live_inputs/{liveInputIdentifier}",
2042
- }),
2043
- ),
2003
+ export const GetLiveInputRequest = /*@__PURE__*/ Schema.suspend(() =>
2004
+ Schema.Struct({
2005
+ liveInputIdentifier: Schema.String.pipe(T.HttpPath("liveInputIdentifier")),
2006
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
2007
+ }).pipe(
2008
+ T.Http({
2009
+ method: "GET",
2010
+ path: "/accounts/{account_id}/stream/live_inputs/{liveInputIdentifier}",
2011
+ }),
2012
+ ),
2044
2013
  ) as unknown as Schema.Codec<GetLiveInputRequest>;
2045
2014
 
2046
2015
  export interface GetLiveInputResponse {
@@ -2058,18 +2027,17 @@ export interface GetLiveInputResponse {
2058
2027
  uid?: string | null;
2059
2028
  }
2060
2029
 
2061
- export const GetLiveInputResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2062
- () =>
2063
- Schema.Struct({
2064
- created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2065
- deleteRecordingAfterDays: Schema.optional(
2066
- Schema.Union([Schema.Number, Schema.Null]),
2067
- ),
2068
- enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
2069
- meta: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
2070
- modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2071
- uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2072
- }).pipe(T.ResponsePath("result")),
2030
+ export const GetLiveInputResponse = /*@__PURE__*/ Schema.suspend(() =>
2031
+ Schema.Struct({
2032
+ created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2033
+ deleteRecordingAfterDays: Schema.optional(
2034
+ Schema.Union([Schema.Number, Schema.Null]),
2035
+ ),
2036
+ enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
2037
+ meta: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
2038
+ modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2039
+ uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2040
+ }).pipe(T.ResponsePath("result")),
2073
2041
  ) as unknown as Schema.Codec<GetLiveInputResponse>;
2074
2042
 
2075
2043
  export type GetLiveInputError = DefaultErrors | LiveInputNotFound | Forbidden;
@@ -2079,7 +2047,7 @@ export const getLiveInput: API.OperationMethod<
2079
2047
  GetLiveInputResponse,
2080
2048
  GetLiveInputError,
2081
2049
  Credentials | HttpClient.HttpClient
2082
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2050
+ > = /*@__PURE__*/ API.make(() => ({
2083
2051
  input: GetLiveInputRequest,
2084
2052
  output: GetLiveInputResponse,
2085
2053
  errors: [LiveInputNotFound, Forbidden],
@@ -2092,19 +2060,18 @@ export interface ListLiveInputsRequest {
2092
2060
  includeCounts?: boolean;
2093
2061
  }
2094
2062
 
2095
- export const ListLiveInputsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2096
- () =>
2097
- Schema.Struct({
2098
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
2099
- includeCounts: Schema.optional(Schema.Boolean).pipe(
2100
- T.HttpQuery("include_counts"),
2101
- ),
2102
- }).pipe(
2103
- T.Http({
2104
- method: "GET",
2105
- path: "/accounts/{account_id}/stream/live_inputs",
2106
- }),
2063
+ export const ListLiveInputsRequest = /*@__PURE__*/ Schema.suspend(() =>
2064
+ Schema.Struct({
2065
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
2066
+ includeCounts: Schema.optional(Schema.Boolean).pipe(
2067
+ T.HttpQuery("include_counts"),
2107
2068
  ),
2069
+ }).pipe(
2070
+ T.Http({
2071
+ method: "GET",
2072
+ path: "/accounts/{account_id}/stream/live_inputs",
2073
+ }),
2074
+ ),
2108
2075
  ) as unknown as Schema.Codec<ListLiveInputsRequest>;
2109
2076
 
2110
2077
  export type ListLiveInputsResponse =
@@ -2132,7 +2099,7 @@ export type ListLiveInputsResponse =
2132
2099
  }[];
2133
2100
 
2134
2101
  export const ListLiveInputsResponse =
2135
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2102
+ /*@__PURE__*/ Schema.suspend(() =>
2136
2103
  Schema.Union([ListLiveInputsResponse2, Schema.Array(LiveInput)]).pipe(
2137
2104
  T.ResponsePath("result"),
2138
2105
  ),
@@ -2145,7 +2112,7 @@ export const listLiveInputs: API.OperationMethod<
2145
2112
  ListLiveInputsResponse,
2146
2113
  ListLiveInputsError,
2147
2114
  Credentials | HttpClient.HttpClient
2148
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2115
+ > = /*@__PURE__*/ API.make(() => ({
2149
2116
  input: ListLiveInputsRequest,
2150
2117
  output: ListLiveInputsResponse,
2151
2118
  errors: [],
@@ -2173,7 +2140,7 @@ export interface CreateLiveInputRequest {
2173
2140
  }
2174
2141
 
2175
2142
  export const CreateLiveInputRequest =
2176
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2143
+ /*@__PURE__*/ Schema.suspend(() =>
2177
2144
  Schema.Struct({
2178
2145
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
2179
2146
  defaultCreator: Schema.optional(Schema.String),
@@ -2205,7 +2172,7 @@ export interface CreateLiveInputResponse {
2205
2172
  }
2206
2173
 
2207
2174
  export const CreateLiveInputResponse =
2208
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2175
+ /*@__PURE__*/ Schema.suspend(() =>
2209
2176
  Schema.Struct({
2210
2177
  created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2211
2178
  deleteRecordingAfterDays: Schema.optional(
@@ -2225,7 +2192,7 @@ export const createLiveInput: API.OperationMethod<
2225
2192
  CreateLiveInputResponse,
2226
2193
  CreateLiveInputError,
2227
2194
  Credentials | HttpClient.HttpClient
2228
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2195
+ > = /*@__PURE__*/ API.make(() => ({
2229
2196
  input: CreateLiveInputRequest,
2230
2197
  output: CreateLiveInputResponse,
2231
2198
  errors: [],
@@ -2254,7 +2221,7 @@ export interface UpdateLiveInputRequest {
2254
2221
  }
2255
2222
 
2256
2223
  export const UpdateLiveInputRequest =
2257
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2224
+ /*@__PURE__*/ Schema.suspend(() =>
2258
2225
  Schema.Struct({
2259
2226
  liveInputIdentifier: Schema.String.pipe(
2260
2227
  T.HttpPath("liveInputIdentifier"),
@@ -2289,7 +2256,7 @@ export interface UpdateLiveInputResponse {
2289
2256
  }
2290
2257
 
2291
2258
  export const UpdateLiveInputResponse =
2292
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2259
+ /*@__PURE__*/ Schema.suspend(() =>
2293
2260
  Schema.Struct({
2294
2261
  created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2295
2262
  deleteRecordingAfterDays: Schema.optional(
@@ -2309,7 +2276,7 @@ export const updateLiveInput: API.OperationMethod<
2309
2276
  UpdateLiveInputResponse,
2310
2277
  UpdateLiveInputError,
2311
2278
  Credentials | HttpClient.HttpClient
2312
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2279
+ > = /*@__PURE__*/ API.make(() => ({
2313
2280
  input: UpdateLiveInputRequest,
2314
2281
  output: UpdateLiveInputResponse,
2315
2282
  errors: [],
@@ -2322,7 +2289,7 @@ export interface DeleteLiveInputRequest {
2322
2289
  }
2323
2290
 
2324
2291
  export const DeleteLiveInputRequest =
2325
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2292
+ /*@__PURE__*/ Schema.suspend(() =>
2326
2293
  Schema.Struct({
2327
2294
  liveInputIdentifier: Schema.String.pipe(
2328
2295
  T.HttpPath("liveInputIdentifier"),
@@ -2339,7 +2306,7 @@ export const DeleteLiveInputRequest =
2339
2306
  export type DeleteLiveInputResponse = unknown;
2340
2307
 
2341
2308
  export const DeleteLiveInputResponse =
2342
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2309
+ /*@__PURE__*/ Schema.suspend(
2343
2310
  () => Schema.Unknown,
2344
2311
  ) as unknown as Schema.Codec<DeleteLiveInputResponse>;
2345
2312
 
@@ -2353,7 +2320,7 @@ export const deleteLiveInput: API.OperationMethod<
2353
2320
  DeleteLiveInputResponse,
2354
2321
  DeleteLiveInputError,
2355
2322
  Credentials | HttpClient.HttpClient
2356
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2323
+ > = /*@__PURE__*/ API.make(() => ({
2357
2324
  input: DeleteLiveInputRequest,
2358
2325
  output: DeleteLiveInputResponse,
2359
2326
  errors: [LiveInputNotFound, Forbidden],
@@ -2370,7 +2337,7 @@ export interface ListLiveInputOutputsRequest {
2370
2337
  }
2371
2338
 
2372
2339
  export const ListLiveInputOutputsRequest =
2373
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2340
+ /*@__PURE__*/ Schema.suspend(() =>
2374
2341
  Schema.Struct({
2375
2342
  liveInputIdentifier: Schema.String.pipe(
2376
2343
  T.HttpPath("liveInputIdentifier"),
@@ -2394,7 +2361,7 @@ export interface ListLiveInputOutputsResponse {
2394
2361
  }
2395
2362
 
2396
2363
  export const ListLiveInputOutputsResponse =
2397
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2364
+ /*@__PURE__*/ Schema.suspend(() =>
2398
2365
  Schema.Struct({
2399
2366
  result: Schema.Array(ListLiveInputOutputsResponseResult),
2400
2367
  }),
@@ -2410,7 +2377,7 @@ export const listLiveInputOutputs: API.PaginatedOperationMethod<
2410
2377
  ListLiveInputOutputsResponse,
2411
2378
  ListLiveInputOutputsError,
2412
2379
  Credentials | HttpClient.HttpClient
2413
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
2380
+ > = /*@__PURE__*/ API.makePaginated(() => ({
2414
2381
  input: ListLiveInputOutputsRequest,
2415
2382
  output: ListLiveInputOutputsResponse,
2416
2383
  errors: [LiveInputNotFound, Forbidden],
@@ -2433,7 +2400,7 @@ export interface CreateLiveInputOutputRequest {
2433
2400
  }
2434
2401
 
2435
2402
  export const CreateLiveInputOutputRequest =
2436
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2403
+ /*@__PURE__*/ Schema.suspend(() =>
2437
2404
  Schema.Struct({
2438
2405
  liveInputIdentifier: Schema.String.pipe(
2439
2406
  T.HttpPath("liveInputIdentifier"),
@@ -2462,7 +2429,7 @@ export interface CreateLiveInputOutputResponse {
2462
2429
  }
2463
2430
 
2464
2431
  export const CreateLiveInputOutputResponse =
2465
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2432
+ /*@__PURE__*/ Schema.suspend(() =>
2466
2433
  Schema.Struct({
2467
2434
  enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
2468
2435
  streamKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -2481,7 +2448,7 @@ export const createLiveInputOutput: API.OperationMethod<
2481
2448
  CreateLiveInputOutputResponse,
2482
2449
  CreateLiveInputOutputError,
2483
2450
  Credentials | HttpClient.HttpClient
2484
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2451
+ > = /*@__PURE__*/ API.make(() => ({
2485
2452
  input: CreateLiveInputOutputRequest,
2486
2453
  output: CreateLiveInputOutputResponse,
2487
2454
  errors: [LiveInputNotFound, Forbidden],
@@ -2497,7 +2464,7 @@ export interface UpdateLiveInputOutputRequest {
2497
2464
  }
2498
2465
 
2499
2466
  export const UpdateLiveInputOutputRequest =
2500
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2467
+ /*@__PURE__*/ Schema.suspend(() =>
2501
2468
  Schema.Struct({
2502
2469
  liveInputIdentifier: Schema.String.pipe(
2503
2470
  T.HttpPath("liveInputIdentifier"),
@@ -2525,7 +2492,7 @@ export interface UpdateLiveInputOutputResponse {
2525
2492
  }
2526
2493
 
2527
2494
  export const UpdateLiveInputOutputResponse =
2528
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2495
+ /*@__PURE__*/ Schema.suspend(() =>
2529
2496
  Schema.Struct({
2530
2497
  enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
2531
2498
  streamKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -2544,7 +2511,7 @@ export const updateLiveInputOutput: API.OperationMethod<
2544
2511
  UpdateLiveInputOutputResponse,
2545
2512
  UpdateLiveInputOutputError,
2546
2513
  Credentials | HttpClient.HttpClient
2547
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2514
+ > = /*@__PURE__*/ API.make(() => ({
2548
2515
  input: UpdateLiveInputOutputRequest,
2549
2516
  output: UpdateLiveInputOutputResponse,
2550
2517
  errors: [OutputNotFound, Forbidden],
@@ -2558,7 +2525,7 @@ export interface DeleteLiveInputOutputRequest {
2558
2525
  }
2559
2526
 
2560
2527
  export const DeleteLiveInputOutputRequest =
2561
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2528
+ /*@__PURE__*/ Schema.suspend(() =>
2562
2529
  Schema.Struct({
2563
2530
  liveInputIdentifier: Schema.String.pipe(
2564
2531
  T.HttpPath("liveInputIdentifier"),
@@ -2576,7 +2543,7 @@ export const DeleteLiveInputOutputRequest =
2576
2543
  export type DeleteLiveInputOutputResponse = unknown;
2577
2544
 
2578
2545
  export const DeleteLiveInputOutputResponse =
2579
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2546
+ /*@__PURE__*/ Schema.suspend(
2580
2547
  () => Schema.Unknown,
2581
2548
  ) as unknown as Schema.Codec<DeleteLiveInputOutputResponse>;
2582
2549
 
@@ -2590,7 +2557,7 @@ export const deleteLiveInputOutput: API.OperationMethod<
2590
2557
  DeleteLiveInputOutputResponse,
2591
2558
  DeleteLiveInputOutputError,
2592
2559
  Credentials | HttpClient.HttpClient
2593
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2560
+ > = /*@__PURE__*/ API.make(() => ({
2594
2561
  input: DeleteLiveInputOutputRequest,
2595
2562
  output: DeleteLiveInputOutputResponse,
2596
2563
  errors: [OutputNotFound, Forbidden],
@@ -2606,7 +2573,7 @@ export interface GetStreamRequest {
2606
2573
  accountId: string;
2607
2574
  }
2608
2575
 
2609
- export const GetStreamRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2576
+ export const GetStreamRequest = /*@__PURE__*/ Schema.suspend(() =>
2610
2577
  Schema.Struct({
2611
2578
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
2612
2579
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -2702,52 +2669,47 @@ export interface GetStreamResponse {
2702
2669
  } | null;
2703
2670
  }
2704
2671
 
2705
- export const GetStreamResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2706
- () =>
2707
- Schema.Struct({
2708
- allowedOrigins: Schema.optional(
2709
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
2710
- ),
2711
- clippedFrom: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2712
- created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2713
- creator: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2714
- duration: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
2715
- input: Schema.optional(Schema.Union([Input, Schema.Null])),
2716
- liveInput: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2717
- maxDurationSeconds: Schema.optional(
2718
- Schema.Union([Schema.Number, Schema.Null]),
2719
- ),
2720
- maxSizeBytes: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
2721
- meta: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
2722
- modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2723
- playback: Schema.optional(Schema.Union([Playback, Schema.Null])),
2724
- preview: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2725
- publicDetails: Schema.optional(
2726
- Schema.Union([PublicDetails, Schema.Null]),
2727
- ),
2728
- readyToStream: Schema.optional(
2729
- Schema.Union([Schema.Boolean, Schema.Null]),
2730
- ),
2731
- readyToStreamAt: Schema.optional(
2732
- Schema.Union([Schema.String, Schema.Null]),
2733
- ),
2734
- requireSignedURLs: Schema.optional(
2735
- Schema.Union([Schema.Boolean, Schema.Null]),
2736
- ),
2737
- scheduledDeletion: Schema.optional(
2738
- Schema.Union([Schema.String, Schema.Null]),
2739
- ),
2740
- size: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
2741
- status: Schema.optional(Schema.Union([Status, Schema.Null])),
2742
- thumbnail: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2743
- thumbnailTimestampPct: Schema.optional(
2744
- Schema.Union([Schema.Number, Schema.Null]),
2745
- ),
2746
- uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2747
- uploaded: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2748
- uploadExpiry: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2749
- watermark: Schema.optional(Schema.Union([Watermark2, Schema.Null])),
2750
- }).pipe(T.ResponsePath("result")),
2672
+ export const GetStreamResponse = /*@__PURE__*/ Schema.suspend(() =>
2673
+ Schema.Struct({
2674
+ allowedOrigins: Schema.optional(
2675
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
2676
+ ),
2677
+ clippedFrom: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2678
+ created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2679
+ creator: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2680
+ duration: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
2681
+ input: Schema.optional(Schema.Union([Input, Schema.Null])),
2682
+ liveInput: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2683
+ maxDurationSeconds: Schema.optional(
2684
+ Schema.Union([Schema.Number, Schema.Null]),
2685
+ ),
2686
+ maxSizeBytes: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
2687
+ meta: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
2688
+ modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2689
+ playback: Schema.optional(Schema.Union([Playback, Schema.Null])),
2690
+ preview: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2691
+ publicDetails: Schema.optional(Schema.Union([PublicDetails, Schema.Null])),
2692
+ readyToStream: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
2693
+ readyToStreamAt: Schema.optional(
2694
+ Schema.Union([Schema.String, Schema.Null]),
2695
+ ),
2696
+ requireSignedURLs: Schema.optional(
2697
+ Schema.Union([Schema.Boolean, Schema.Null]),
2698
+ ),
2699
+ scheduledDeletion: Schema.optional(
2700
+ Schema.Union([Schema.String, Schema.Null]),
2701
+ ),
2702
+ size: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
2703
+ status: Schema.optional(Schema.Union([Status, Schema.Null])),
2704
+ thumbnail: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2705
+ thumbnailTimestampPct: Schema.optional(
2706
+ Schema.Union([Schema.Number, Schema.Null]),
2707
+ ),
2708
+ uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2709
+ uploaded: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2710
+ uploadExpiry: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2711
+ watermark: Schema.optional(Schema.Union([Watermark2, Schema.Null])),
2712
+ }).pipe(T.ResponsePath("result")),
2751
2713
  ) as unknown as Schema.Codec<GetStreamResponse>;
2752
2714
 
2753
2715
  export type GetStreamError = DefaultErrors;
@@ -2757,7 +2719,7 @@ export const getStream: API.OperationMethod<
2757
2719
  GetStreamResponse,
2758
2720
  GetStreamError,
2759
2721
  Credentials | HttpClient.HttpClient
2760
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2722
+ > = /*@__PURE__*/ API.make(() => ({
2761
2723
  input: GetStreamRequest,
2762
2724
  output: GetStreamResponse,
2763
2725
  errors: [],
@@ -2806,43 +2768,42 @@ export interface ListStreamsRequest {
2806
2768
  videoName?: string;
2807
2769
  }
2808
2770
 
2809
- export const ListStreamsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2810
- () =>
2811
- Schema.Struct({
2812
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
2813
- id: Schema.optional(Schema.String).pipe(T.HttpQuery("id")),
2814
- after: Schema.optional(Schema.String).pipe(T.HttpQuery("after")),
2815
- asc: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("asc")),
2816
- before: Schema.optional(Schema.String).pipe(T.HttpQuery("before")),
2817
- creator: Schema.optional(Schema.String).pipe(T.HttpQuery("creator")),
2818
- end: Schema.optional(Schema.String).pipe(T.HttpQuery("end")),
2819
- includeCounts: Schema.optional(Schema.Boolean).pipe(
2820
- T.HttpQuery("include_counts"),
2821
- ),
2822
- limit: Schema.optional(Schema.Number).pipe(T.HttpQuery("limit")),
2823
- liveInputId: Schema.optional(Schema.String).pipe(
2824
- T.HttpQuery("live_input_id"),
2825
- ),
2826
- name: Schema.optional(Schema.String).pipe(T.HttpQuery("name")),
2827
- search: Schema.optional(Schema.String).pipe(T.HttpQuery("search")),
2828
- start: Schema.optional(Schema.String).pipe(T.HttpQuery("start")),
2829
- status: Schema.optional(
2830
- Schema.Union([
2831
- Schema.Literals([
2832
- "pendingupload",
2833
- "downloading",
2834
- "queued",
2835
- "inprogress",
2836
- "ready",
2837
- "error",
2838
- "live-inprogress",
2839
- ]),
2840
- Schema.String,
2771
+ export const ListStreamsRequest = /*@__PURE__*/ Schema.suspend(() =>
2772
+ Schema.Struct({
2773
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
2774
+ id: Schema.optional(Schema.String).pipe(T.HttpQuery("id")),
2775
+ after: Schema.optional(Schema.String).pipe(T.HttpQuery("after")),
2776
+ asc: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("asc")),
2777
+ before: Schema.optional(Schema.String).pipe(T.HttpQuery("before")),
2778
+ creator: Schema.optional(Schema.String).pipe(T.HttpQuery("creator")),
2779
+ end: Schema.optional(Schema.String).pipe(T.HttpQuery("end")),
2780
+ includeCounts: Schema.optional(Schema.Boolean).pipe(
2781
+ T.HttpQuery("include_counts"),
2782
+ ),
2783
+ limit: Schema.optional(Schema.Number).pipe(T.HttpQuery("limit")),
2784
+ liveInputId: Schema.optional(Schema.String).pipe(
2785
+ T.HttpQuery("live_input_id"),
2786
+ ),
2787
+ name: Schema.optional(Schema.String).pipe(T.HttpQuery("name")),
2788
+ search: Schema.optional(Schema.String).pipe(T.HttpQuery("search")),
2789
+ start: Schema.optional(Schema.String).pipe(T.HttpQuery("start")),
2790
+ status: Schema.optional(
2791
+ Schema.Union([
2792
+ Schema.Literals([
2793
+ "pendingupload",
2794
+ "downloading",
2795
+ "queued",
2796
+ "inprogress",
2797
+ "ready",
2798
+ "error",
2799
+ "live-inprogress",
2841
2800
  ]),
2842
- ).pipe(T.HttpQuery("status")),
2843
- type: Schema.optional(Schema.String).pipe(T.HttpQuery("type")),
2844
- videoName: Schema.optional(Schema.String).pipe(T.HttpQuery("video_name")),
2845
- }).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/stream" })),
2801
+ Schema.String,
2802
+ ]),
2803
+ ).pipe(T.HttpQuery("status")),
2804
+ type: Schema.optional(Schema.String).pipe(T.HttpQuery("type")),
2805
+ videoName: Schema.optional(Schema.String).pipe(T.HttpQuery("video_name")),
2806
+ }).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/stream" })),
2846
2807
  ) as unknown as Schema.Codec<ListStreamsRequest>;
2847
2808
 
2848
2809
  export interface ListStreamsResponse {
@@ -2908,11 +2869,10 @@ export interface ListStreamsResponse {
2908
2869
  }[];
2909
2870
  }
2910
2871
 
2911
- export const ListStreamsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2912
- () =>
2913
- Schema.Struct({
2914
- result: Schema.Array(ListStreamsResponseResult),
2915
- }),
2872
+ export const ListStreamsResponse = /*@__PURE__*/ Schema.suspend(() =>
2873
+ Schema.Struct({
2874
+ result: Schema.Array(ListStreamsResponseResult),
2875
+ }),
2916
2876
  ) as unknown as Schema.Codec<ListStreamsResponse>;
2917
2877
 
2918
2878
  export type ListStreamsError = DefaultErrors;
@@ -2922,7 +2882,7 @@ export const listStreams: API.PaginatedOperationMethod<
2922
2882
  ListStreamsResponse,
2923
2883
  ListStreamsError,
2924
2884
  Credentials | HttpClient.HttpClient
2925
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
2885
+ > = /*@__PURE__*/ API.makePaginated(() => ({
2926
2886
  input: ListStreamsRequest,
2927
2887
  output: ListStreamsResponse,
2928
2888
  errors: [],
@@ -2947,27 +2907,26 @@ export interface CreateStreamRequest {
2947
2907
  uploadMetadata?: string;
2948
2908
  }
2949
2909
 
2950
- export const CreateStreamRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2951
- () =>
2952
- Schema.Struct({
2953
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
2954
- directUser: Schema.optional(Schema.Boolean).pipe(
2955
- T.HttpQuery("direct_user"),
2956
- ),
2957
- tusResumable: Schema.Literal("1.0.0").pipe(T.HttpHeader("Tus-Resumable")),
2958
- uploadLength: Schema.Number.pipe(T.HttpHeader("Upload-Length")),
2959
- uploadCreator: Schema.optional(Schema.String).pipe(
2960
- T.HttpHeader("Upload-Creator"),
2961
- ),
2962
- uploadMetadata: Schema.optional(Schema.String).pipe(
2963
- T.HttpHeader("Upload-Metadata"),
2964
- ),
2965
- }).pipe(T.Http({ method: "POST", path: "/accounts/{account_id}/stream" })),
2910
+ export const CreateStreamRequest = /*@__PURE__*/ Schema.suspend(() =>
2911
+ Schema.Struct({
2912
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
2913
+ directUser: Schema.optional(Schema.Boolean).pipe(
2914
+ T.HttpQuery("direct_user"),
2915
+ ),
2916
+ tusResumable: Schema.Literal("1.0.0").pipe(T.HttpHeader("Tus-Resumable")),
2917
+ uploadLength: Schema.Number.pipe(T.HttpHeader("Upload-Length")),
2918
+ uploadCreator: Schema.optional(Schema.String).pipe(
2919
+ T.HttpHeader("Upload-Creator"),
2920
+ ),
2921
+ uploadMetadata: Schema.optional(Schema.String).pipe(
2922
+ T.HttpHeader("Upload-Metadata"),
2923
+ ),
2924
+ }).pipe(T.Http({ method: "POST", path: "/accounts/{account_id}/stream" })),
2966
2925
  ) as unknown as Schema.Codec<CreateStreamRequest>;
2967
2926
 
2968
2927
  export type CreateStreamResponse = unknown;
2969
2928
 
2970
- export const CreateStreamResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2929
+ export const CreateStreamResponse = /*@__PURE__*/ Schema.suspend(
2971
2930
  () => Schema.Unknown,
2972
2931
  ) as unknown as Schema.Codec<CreateStreamResponse>;
2973
2932
 
@@ -2978,7 +2937,7 @@ export const createStream: API.OperationMethod<
2978
2937
  CreateStreamResponse,
2979
2938
  CreateStreamError,
2980
2939
  Credentials | HttpClient.HttpClient
2981
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2940
+ > = /*@__PURE__*/ API.make(() => ({
2982
2941
  input: CreateStreamRequest,
2983
2942
  output: CreateStreamResponse,
2984
2943
  errors: [],
@@ -2990,22 +2949,21 @@ export interface DeleteStreamRequest {
2990
2949
  accountId: string;
2991
2950
  }
2992
2951
 
2993
- export const DeleteStreamRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2994
- () =>
2995
- Schema.Struct({
2996
- identifier: Schema.String.pipe(T.HttpPath("identifier")),
2997
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
2998
- }).pipe(
2999
- T.Http({
3000
- method: "DELETE",
3001
- path: "/accounts/{account_id}/stream/{identifier}",
3002
- }),
3003
- ),
2952
+ export const DeleteStreamRequest = /*@__PURE__*/ Schema.suspend(() =>
2953
+ Schema.Struct({
2954
+ identifier: Schema.String.pipe(T.HttpPath("identifier")),
2955
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
2956
+ }).pipe(
2957
+ T.Http({
2958
+ method: "DELETE",
2959
+ path: "/accounts/{account_id}/stream/{identifier}",
2960
+ }),
2961
+ ),
3004
2962
  ) as unknown as Schema.Codec<DeleteStreamRequest>;
3005
2963
 
3006
2964
  export type DeleteStreamResponse = unknown;
3007
2965
 
3008
- export const DeleteStreamResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2966
+ export const DeleteStreamResponse = /*@__PURE__*/ Schema.suspend(
3009
2967
  () => Schema.Unknown,
3010
2968
  ) as unknown as Schema.Codec<DeleteStreamResponse>;
3011
2969
 
@@ -3016,7 +2974,7 @@ export const deleteStream: API.OperationMethod<
3016
2974
  DeleteStreamResponse,
3017
2975
  DeleteStreamError,
3018
2976
  Credentials | HttpClient.HttpClient
3019
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2977
+ > = /*@__PURE__*/ API.make(() => ({
3020
2978
  input: DeleteStreamRequest,
3021
2979
  output: DeleteStreamResponse,
3022
2980
  errors: [],
@@ -3053,27 +3011,26 @@ export interface EditStreamRequest {
3053
3011
  uploadExpiry?: string;
3054
3012
  }
3055
3013
 
3056
- export const EditStreamRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3057
- () =>
3058
- Schema.Struct({
3059
- identifier: Schema.String.pipe(T.HttpPath("identifier")),
3060
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
3061
- allowedOrigins: Schema.optional(Schema.Array(Schema.String)),
3062
- creator: Schema.optional(Schema.String),
3063
- maxDurationSeconds: Schema.optional(Schema.Number),
3064
- meta: Schema.optional(Schema.Unknown),
3065
- publicDetails: Schema.optional(PublicDetails2),
3066
- requireSignedURLs: Schema.optional(Schema.Boolean),
3067
- scheduledDeletion: Schema.optional(Schema.String),
3068
- thumbnailTimestampPct: Schema.optional(Schema.Number),
3069
- uid: Schema.optional(Schema.String),
3070
- uploadExpiry: Schema.optional(Schema.String),
3071
- }).pipe(
3072
- T.Http({
3073
- method: "POST",
3074
- path: "/accounts/{account_id}/stream/{identifier}",
3075
- }),
3076
- ),
3014
+ export const EditStreamRequest = /*@__PURE__*/ Schema.suspend(() =>
3015
+ Schema.Struct({
3016
+ identifier: Schema.String.pipe(T.HttpPath("identifier")),
3017
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
3018
+ allowedOrigins: Schema.optional(Schema.Array(Schema.String)),
3019
+ creator: Schema.optional(Schema.String),
3020
+ maxDurationSeconds: Schema.optional(Schema.Number),
3021
+ meta: Schema.optional(Schema.Unknown),
3022
+ publicDetails: Schema.optional(PublicDetails2),
3023
+ requireSignedURLs: Schema.optional(Schema.Boolean),
3024
+ scheduledDeletion: Schema.optional(Schema.String),
3025
+ thumbnailTimestampPct: Schema.optional(Schema.Number),
3026
+ uid: Schema.optional(Schema.String),
3027
+ uploadExpiry: Schema.optional(Schema.String),
3028
+ }).pipe(
3029
+ T.Http({
3030
+ method: "POST",
3031
+ path: "/accounts/{account_id}/stream/{identifier}",
3032
+ }),
3033
+ ),
3077
3034
  ) as unknown as Schema.Codec<EditStreamRequest>;
3078
3035
 
3079
3036
  export interface EditStreamResponse {
@@ -3160,52 +3117,47 @@ export interface EditStreamResponse {
3160
3117
  } | null;
3161
3118
  }
3162
3119
 
3163
- export const EditStreamResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3164
- () =>
3165
- Schema.Struct({
3166
- allowedOrigins: Schema.optional(
3167
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
3168
- ),
3169
- clippedFrom: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3170
- created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3171
- creator: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3172
- duration: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3173
- input: Schema.optional(Schema.Union([Input, Schema.Null])),
3174
- liveInput: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3175
- maxDurationSeconds: Schema.optional(
3176
- Schema.Union([Schema.Number, Schema.Null]),
3177
- ),
3178
- maxSizeBytes: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3179
- meta: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
3180
- modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3181
- playback: Schema.optional(Schema.Union([Playback, Schema.Null])),
3182
- preview: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3183
- publicDetails: Schema.optional(
3184
- Schema.Union([PublicDetails, Schema.Null]),
3185
- ),
3186
- readyToStream: Schema.optional(
3187
- Schema.Union([Schema.Boolean, Schema.Null]),
3188
- ),
3189
- readyToStreamAt: Schema.optional(
3190
- Schema.Union([Schema.String, Schema.Null]),
3191
- ),
3192
- requireSignedURLs: Schema.optional(
3193
- Schema.Union([Schema.Boolean, Schema.Null]),
3194
- ),
3195
- scheduledDeletion: Schema.optional(
3196
- Schema.Union([Schema.String, Schema.Null]),
3197
- ),
3198
- size: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3199
- status: Schema.optional(Schema.Union([Status, Schema.Null])),
3200
- thumbnail: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3201
- thumbnailTimestampPct: Schema.optional(
3202
- Schema.Union([Schema.Number, Schema.Null]),
3203
- ),
3204
- uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3205
- uploaded: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3206
- uploadExpiry: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3207
- watermark: Schema.optional(Schema.Union([Watermark2, Schema.Null])),
3208
- }).pipe(T.ResponsePath("result")),
3120
+ export const EditStreamResponse = /*@__PURE__*/ Schema.suspend(() =>
3121
+ Schema.Struct({
3122
+ allowedOrigins: Schema.optional(
3123
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
3124
+ ),
3125
+ clippedFrom: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3126
+ created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3127
+ creator: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3128
+ duration: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3129
+ input: Schema.optional(Schema.Union([Input, Schema.Null])),
3130
+ liveInput: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3131
+ maxDurationSeconds: Schema.optional(
3132
+ Schema.Union([Schema.Number, Schema.Null]),
3133
+ ),
3134
+ maxSizeBytes: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3135
+ meta: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
3136
+ modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3137
+ playback: Schema.optional(Schema.Union([Playback, Schema.Null])),
3138
+ preview: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3139
+ publicDetails: Schema.optional(Schema.Union([PublicDetails, Schema.Null])),
3140
+ readyToStream: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
3141
+ readyToStreamAt: Schema.optional(
3142
+ Schema.Union([Schema.String, Schema.Null]),
3143
+ ),
3144
+ requireSignedURLs: Schema.optional(
3145
+ Schema.Union([Schema.Boolean, Schema.Null]),
3146
+ ),
3147
+ scheduledDeletion: Schema.optional(
3148
+ Schema.Union([Schema.String, Schema.Null]),
3149
+ ),
3150
+ size: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3151
+ status: Schema.optional(Schema.Union([Status, Schema.Null])),
3152
+ thumbnail: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3153
+ thumbnailTimestampPct: Schema.optional(
3154
+ Schema.Union([Schema.Number, Schema.Null]),
3155
+ ),
3156
+ uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3157
+ uploaded: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3158
+ uploadExpiry: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3159
+ watermark: Schema.optional(Schema.Union([Watermark2, Schema.Null])),
3160
+ }).pipe(T.ResponsePath("result")),
3209
3161
  ) as unknown as Schema.Codec<EditStreamResponse>;
3210
3162
 
3211
3163
  export type EditStreamError = DefaultErrors;
@@ -3215,7 +3167,7 @@ export const editStream: API.OperationMethod<
3215
3167
  EditStreamResponse,
3216
3168
  EditStreamError,
3217
3169
  Credentials | HttpClient.HttpClient
3218
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3170
+ > = /*@__PURE__*/ API.make(() => ({
3219
3171
  input: EditStreamRequest,
3220
3172
  output: EditStreamResponse,
3221
3173
  errors: [],
@@ -3250,24 +3202,23 @@ export interface CreateTokenRequest {
3250
3202
  pem?: string;
3251
3203
  }
3252
3204
 
3253
- export const CreateTokenRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3254
- () =>
3255
- Schema.Struct({
3256
- identifier: Schema.String.pipe(T.HttpPath("identifier")),
3257
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
3258
- id: Schema.optional(Schema.String),
3259
- accessRules: Schema.optional(Schema.Array(AccessRule)),
3260
- downloadable: Schema.optional(Schema.Boolean),
3261
- exp: Schema.optional(Schema.Number),
3262
- flags: Schema.optional(Flags),
3263
- nbf: Schema.optional(Schema.Number),
3264
- pem: Schema.optional(Schema.String),
3265
- }).pipe(
3266
- T.Http({
3267
- method: "POST",
3268
- path: "/accounts/{account_id}/stream/{identifier}/token",
3269
- }),
3270
- ),
3205
+ export const CreateTokenRequest = /*@__PURE__*/ Schema.suspend(() =>
3206
+ Schema.Struct({
3207
+ identifier: Schema.String.pipe(T.HttpPath("identifier")),
3208
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
3209
+ id: Schema.optional(Schema.String),
3210
+ accessRules: Schema.optional(Schema.Array(AccessRule)),
3211
+ downloadable: Schema.optional(Schema.Boolean),
3212
+ exp: Schema.optional(Schema.Number),
3213
+ flags: Schema.optional(Flags),
3214
+ nbf: Schema.optional(Schema.Number),
3215
+ pem: Schema.optional(Schema.String),
3216
+ }).pipe(
3217
+ T.Http({
3218
+ method: "POST",
3219
+ path: "/accounts/{account_id}/stream/{identifier}/token",
3220
+ }),
3221
+ ),
3271
3222
  ) as unknown as Schema.Codec<CreateTokenRequest>;
3272
3223
 
3273
3224
  export interface CreateTokenResponse {
@@ -3275,11 +3226,10 @@ export interface CreateTokenResponse {
3275
3226
  token?: string | null;
3276
3227
  }
3277
3228
 
3278
- export const CreateTokenResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3279
- () =>
3280
- Schema.Struct({
3281
- token: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3282
- }).pipe(T.ResponsePath("result")),
3229
+ export const CreateTokenResponse = /*@__PURE__*/ Schema.suspend(() =>
3230
+ Schema.Struct({
3231
+ token: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3232
+ }).pipe(T.ResponsePath("result")),
3283
3233
  ) as unknown as Schema.Codec<CreateTokenResponse>;
3284
3234
 
3285
3235
  export type CreateTokenError = DefaultErrors;
@@ -3289,7 +3239,7 @@ export const createToken: API.OperationMethod<
3289
3239
  CreateTokenResponse,
3290
3240
  CreateTokenError,
3291
3241
  Credentials | HttpClient.HttpClient
3292
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3242
+ > = /*@__PURE__*/ API.make(() => ({
3293
3243
  input: CreateTokenRequest,
3294
3244
  output: CreateTokenResponse,
3295
3245
  errors: [],
@@ -3307,7 +3257,7 @@ export interface StorageUsageVideoRequest {
3307
3257
  }
3308
3258
 
3309
3259
  export const StorageUsageVideoRequest =
3310
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3260
+ /*@__PURE__*/ Schema.suspend(() =>
3311
3261
  Schema.Struct({
3312
3262
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
3313
3263
  creator: Schema.optional(Schema.String).pipe(T.HttpQuery("creator")),
@@ -3331,7 +3281,7 @@ export interface StorageUsageVideoResponse {
3331
3281
  }
3332
3282
 
3333
3283
  export const StorageUsageVideoResponse =
3334
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3284
+ /*@__PURE__*/ Schema.suspend(() =>
3335
3285
  Schema.Struct({
3336
3286
  creator: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3337
3287
  totalStorageMinutes: Schema.optional(
@@ -3351,7 +3301,7 @@ export const storageUsageVideo: API.OperationMethod<
3351
3301
  StorageUsageVideoResponse,
3352
3302
  StorageUsageVideoError,
3353
3303
  Credentials | HttpClient.HttpClient
3354
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3304
+ > = /*@__PURE__*/ API.make(() => ({
3355
3305
  input: StorageUsageVideoRequest,
3356
3306
  output: StorageUsageVideoResponse,
3357
3307
  errors: [],
@@ -3367,17 +3317,16 @@ export interface GetWatermarkRequest {
3367
3317
  accountId: string;
3368
3318
  }
3369
3319
 
3370
- export const GetWatermarkRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3371
- () =>
3372
- Schema.Struct({
3373
- identifier: Schema.String.pipe(T.HttpPath("identifier")),
3374
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
3375
- }).pipe(
3376
- T.Http({
3377
- method: "GET",
3378
- path: "/accounts/{account_id}/stream/watermarks/{identifier}",
3379
- }),
3380
- ),
3320
+ export const GetWatermarkRequest = /*@__PURE__*/ Schema.suspend(() =>
3321
+ Schema.Struct({
3322
+ identifier: Schema.String.pipe(T.HttpPath("identifier")),
3323
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
3324
+ }).pipe(
3325
+ T.Http({
3326
+ method: "GET",
3327
+ path: "/accounts/{account_id}/stream/watermarks/{identifier}",
3328
+ }),
3329
+ ),
3381
3330
  ) as unknown as Schema.Codec<GetWatermarkRequest>;
3382
3331
 
3383
3332
  export interface GetWatermarkResponse {
@@ -3405,23 +3354,20 @@ export interface GetWatermarkResponse {
3405
3354
  width?: number | null;
3406
3355
  }
3407
3356
 
3408
- export const GetWatermarkResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3409
- () =>
3410
- Schema.Struct({
3411
- created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3412
- downloadedFrom: Schema.optional(
3413
- Schema.Union([Schema.String, Schema.Null]),
3414
- ),
3415
- height: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3416
- name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3417
- opacity: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3418
- padding: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3419
- position: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3420
- scale: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3421
- size: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3422
- uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3423
- width: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3424
- }).pipe(T.ResponsePath("result")),
3357
+ export const GetWatermarkResponse = /*@__PURE__*/ Schema.suspend(() =>
3358
+ Schema.Struct({
3359
+ created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3360
+ downloadedFrom: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3361
+ height: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3362
+ name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3363
+ opacity: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3364
+ padding: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3365
+ position: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3366
+ scale: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3367
+ size: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3368
+ uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3369
+ width: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3370
+ }).pipe(T.ResponsePath("result")),
3425
3371
  ) as unknown as Schema.Codec<GetWatermarkResponse>;
3426
3372
 
3427
3373
  export type GetWatermarkError = DefaultErrors | WatermarkNotFound | Forbidden;
@@ -3431,7 +3377,7 @@ export const getWatermark: API.OperationMethod<
3431
3377
  GetWatermarkResponse,
3432
3378
  GetWatermarkError,
3433
3379
  Credentials | HttpClient.HttpClient
3434
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3380
+ > = /*@__PURE__*/ API.make(() => ({
3435
3381
  input: GetWatermarkRequest,
3436
3382
  output: GetWatermarkResponse,
3437
3383
  errors: [WatermarkNotFound, Forbidden],
@@ -3442,16 +3388,15 @@ export interface ListWatermarksRequest {
3442
3388
  accountId: string;
3443
3389
  }
3444
3390
 
3445
- export const ListWatermarksRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3446
- () =>
3447
- Schema.Struct({
3448
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
3449
- }).pipe(
3450
- T.Http({
3451
- method: "GET",
3452
- path: "/accounts/{account_id}/stream/watermarks",
3453
- }),
3454
- ),
3391
+ export const ListWatermarksRequest = /*@__PURE__*/ Schema.suspend(() =>
3392
+ Schema.Struct({
3393
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
3394
+ }).pipe(
3395
+ T.Http({
3396
+ method: "GET",
3397
+ path: "/accounts/{account_id}/stream/watermarks",
3398
+ }),
3399
+ ),
3455
3400
  ) as unknown as Schema.Codec<ListWatermarksRequest>;
3456
3401
 
3457
3402
  export interface ListWatermarksResponse {
@@ -3471,7 +3416,7 @@ export interface ListWatermarksResponse {
3471
3416
  }
3472
3417
 
3473
3418
  export const ListWatermarksResponse =
3474
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3419
+ /*@__PURE__*/ Schema.suspend(() =>
3475
3420
  Schema.Struct({
3476
3421
  result: Schema.Array(Watermark2),
3477
3422
  }),
@@ -3484,7 +3429,7 @@ export const listWatermarks: API.PaginatedOperationMethod<
3484
3429
  ListWatermarksResponse,
3485
3430
  ListWatermarksError,
3486
3431
  Credentials | HttpClient.HttpClient
3487
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
3432
+ > = /*@__PURE__*/ API.makePaginated(() => ({
3488
3433
  input: ListWatermarksRequest,
3489
3434
  output: ListWatermarksResponse,
3490
3435
  errors: [],
@@ -3512,7 +3457,7 @@ export interface CreateWatermarkRequest {
3512
3457
  }
3513
3458
 
3514
3459
  export const CreateWatermarkRequest =
3515
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3460
+ /*@__PURE__*/ Schema.suspend(() =>
3516
3461
  Schema.Struct({
3517
3462
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
3518
3463
  name: Schema.optional(Schema.String),
@@ -3555,7 +3500,7 @@ export interface CreateWatermarkResponse {
3555
3500
  }
3556
3501
 
3557
3502
  export const CreateWatermarkResponse =
3558
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3503
+ /*@__PURE__*/ Schema.suspend(() =>
3559
3504
  Schema.Struct({
3560
3505
  created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3561
3506
  downloadedFrom: Schema.optional(
@@ -3583,7 +3528,7 @@ export const createWatermark: API.OperationMethod<
3583
3528
  CreateWatermarkResponse,
3584
3529
  CreateWatermarkError,
3585
3530
  Credentials | HttpClient.HttpClient
3586
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3531
+ > = /*@__PURE__*/ API.make(() => ({
3587
3532
  input: CreateWatermarkRequest,
3588
3533
  output: CreateWatermarkResponse,
3589
3534
  errors: [WatermarkImageInvalid, Forbidden],
@@ -3596,7 +3541,7 @@ export interface DeleteWatermarkRequest {
3596
3541
  }
3597
3542
 
3598
3543
  export const DeleteWatermarkRequest =
3599
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3544
+ /*@__PURE__*/ Schema.suspend(() =>
3600
3545
  Schema.Struct({
3601
3546
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
3602
3547
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -3611,7 +3556,7 @@ export const DeleteWatermarkRequest =
3611
3556
  export type DeleteWatermarkResponse = string;
3612
3557
 
3613
3558
  export const DeleteWatermarkResponse =
3614
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3559
+ /*@__PURE__*/ Schema.suspend(() =>
3615
3560
  Schema.String.pipe(T.ResponsePath("result")),
3616
3561
  ) as unknown as Schema.Codec<DeleteWatermarkResponse>;
3617
3562
 
@@ -3625,7 +3570,7 @@ export const deleteWatermark: API.OperationMethod<
3625
3570
  DeleteWatermarkResponse,
3626
3571
  DeleteWatermarkError,
3627
3572
  Credentials | HttpClient.HttpClient
3628
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3573
+ > = /*@__PURE__*/ API.make(() => ({
3629
3574
  input: DeleteWatermarkRequest,
3630
3575
  output: DeleteWatermarkResponse,
3631
3576
  errors: [WatermarkNotFound, Forbidden],
@@ -3640,13 +3585,12 @@ export interface GetWebhookRequest {
3640
3585
  accountId: string;
3641
3586
  }
3642
3587
 
3643
- export const GetWebhookRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3644
- () =>
3645
- Schema.Struct({
3646
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
3647
- }).pipe(
3648
- T.Http({ method: "GET", path: "/accounts/{account_id}/stream/webhook" }),
3649
- ),
3588
+ export const GetWebhookRequest = /*@__PURE__*/ Schema.suspend(() =>
3589
+ Schema.Struct({
3590
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
3591
+ }).pipe(
3592
+ T.Http({ method: "GET", path: "/accounts/{account_id}/stream/webhook" }),
3593
+ ),
3650
3594
  ) as unknown as Schema.Codec<GetWebhookRequest>;
3651
3595
 
3652
3596
  export interface GetWebhookResponse {
@@ -3658,15 +3602,14 @@ export interface GetWebhookResponse {
3658
3602
  secret?: string | null;
3659
3603
  }
3660
3604
 
3661
- export const GetWebhookResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3662
- () =>
3663
- Schema.Struct({
3664
- modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3665
- notificationUrl: Schema.optional(
3666
- Schema.Union([Schema.String, Schema.Null]),
3667
- ),
3668
- secret: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3669
- }).pipe(T.ResponsePath("result")),
3605
+ export const GetWebhookResponse = /*@__PURE__*/ Schema.suspend(() =>
3606
+ Schema.Struct({
3607
+ modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3608
+ notificationUrl: Schema.optional(
3609
+ Schema.Union([Schema.String, Schema.Null]),
3610
+ ),
3611
+ secret: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3612
+ }).pipe(T.ResponsePath("result")),
3670
3613
  ) as unknown as Schema.Codec<GetWebhookResponse>;
3671
3614
 
3672
3615
  export type GetWebhookError = DefaultErrors | WebhookNotFound | Forbidden;
@@ -3676,7 +3619,7 @@ export const getWebhook: API.OperationMethod<
3676
3619
  GetWebhookResponse,
3677
3620
  GetWebhookError,
3678
3621
  Credentials | HttpClient.HttpClient
3679
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3622
+ > = /*@__PURE__*/ API.make(() => ({
3680
3623
  input: GetWebhookRequest,
3681
3624
  output: GetWebhookResponse,
3682
3625
  errors: [WebhookNotFound, Forbidden],
@@ -3689,14 +3632,13 @@ export interface PutWebhookRequest {
3689
3632
  notificationUrl?: string;
3690
3633
  }
3691
3634
 
3692
- export const PutWebhookRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3693
- () =>
3694
- Schema.Struct({
3695
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
3696
- notificationUrl: Schema.optional(Schema.String),
3697
- }).pipe(
3698
- T.Http({ method: "PUT", path: "/accounts/{account_id}/stream/webhook" }),
3699
- ),
3635
+ export const PutWebhookRequest = /*@__PURE__*/ Schema.suspend(() =>
3636
+ Schema.Struct({
3637
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
3638
+ notificationUrl: Schema.optional(Schema.String),
3639
+ }).pipe(
3640
+ T.Http({ method: "PUT", path: "/accounts/{account_id}/stream/webhook" }),
3641
+ ),
3700
3642
  ) as unknown as Schema.Codec<PutWebhookRequest>;
3701
3643
 
3702
3644
  export interface PutWebhookResponse {
@@ -3708,15 +3650,14 @@ export interface PutWebhookResponse {
3708
3650
  secret?: string | null;
3709
3651
  }
3710
3652
 
3711
- export const PutWebhookResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3712
- () =>
3713
- Schema.Struct({
3714
- modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3715
- notificationUrl: Schema.optional(
3716
- Schema.Union([Schema.String, Schema.Null]),
3717
- ),
3718
- secret: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3719
- }).pipe(T.ResponsePath("result")),
3653
+ export const PutWebhookResponse = /*@__PURE__*/ Schema.suspend(() =>
3654
+ Schema.Struct({
3655
+ modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3656
+ notificationUrl: Schema.optional(
3657
+ Schema.Union([Schema.String, Schema.Null]),
3658
+ ),
3659
+ secret: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3660
+ }).pipe(T.ResponsePath("result")),
3720
3661
  ) as unknown as Schema.Codec<PutWebhookResponse>;
3721
3662
 
3722
3663
  export type PutWebhookError = DefaultErrors;
@@ -3726,7 +3667,7 @@ export const putWebhook: API.OperationMethod<
3726
3667
  PutWebhookResponse,
3727
3668
  PutWebhookError,
3728
3669
  Credentials | HttpClient.HttpClient
3729
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3670
+ > = /*@__PURE__*/ API.make(() => ({
3730
3671
  input: PutWebhookRequest,
3731
3672
  output: PutWebhookResponse,
3732
3673
  errors: [],
@@ -3737,22 +3678,21 @@ export interface DeleteWebhookRequest {
3737
3678
  accountId: string;
3738
3679
  }
3739
3680
 
3740
- export const DeleteWebhookRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3741
- () =>
3742
- Schema.Struct({
3743
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
3744
- }).pipe(
3745
- T.Http({
3746
- method: "DELETE",
3747
- path: "/accounts/{account_id}/stream/webhook",
3748
- }),
3749
- ),
3681
+ export const DeleteWebhookRequest = /*@__PURE__*/ Schema.suspend(() =>
3682
+ Schema.Struct({
3683
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
3684
+ }).pipe(
3685
+ T.Http({
3686
+ method: "DELETE",
3687
+ path: "/accounts/{account_id}/stream/webhook",
3688
+ }),
3689
+ ),
3750
3690
  ) as unknown as Schema.Codec<DeleteWebhookRequest>;
3751
3691
 
3752
3692
  export type DeleteWebhookResponse = string;
3753
3693
 
3754
- export const DeleteWebhookResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3755
- () => Schema.String.pipe(T.ResponsePath("result")),
3694
+ export const DeleteWebhookResponse = /*@__PURE__*/ Schema.suspend(() =>
3695
+ Schema.String.pipe(T.ResponsePath("result")),
3756
3696
  ) as unknown as Schema.Codec<DeleteWebhookResponse>;
3757
3697
 
3758
3698
  export type DeleteWebhookError = DefaultErrors | WebhookNotFound | Forbidden;
@@ -3762,7 +3702,7 @@ export const deleteWebhook: API.OperationMethod<
3762
3702
  DeleteWebhookResponse,
3763
3703
  DeleteWebhookError,
3764
3704
  Credentials | HttpClient.HttpClient
3765
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3705
+ > = /*@__PURE__*/ API.make(() => ({
3766
3706
  input: DeleteWebhookRequest,
3767
3707
  output: DeleteWebhookResponse,
3768
3708
  errors: [WebhookNotFound, Forbidden],