@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
@@ -46,7 +46,7 @@ export class WebhookNotFound extends T.applyErrorMatchers(Schema.TaggedErrorClas
46
46
  message: Schema.String,
47
47
  }), [{ code: 10003 }]) {
48
48
  }
49
- const Audio = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
49
+ const Audio = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
50
50
  default: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
51
51
  label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
52
52
  status: Schema.optional(Schema.Union([
@@ -58,7 +58,7 @@ const Audio = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
58
58
  ])),
59
59
  uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
60
60
  }));
61
- const GetCaptionResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
61
+ const GetCaptionResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
62
62
  generated: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
63
63
  label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
64
64
  language: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -70,18 +70,18 @@ const GetCaptionResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
70
70
  Schema.Null,
71
71
  ])),
72
72
  }));
73
- const Watermark = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
73
+ const Watermark = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
74
74
  uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
75
75
  }));
76
- const Input = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
76
+ const Input = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
77
77
  height: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
78
78
  width: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
79
79
  }));
80
- const Playback = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
80
+ const Playback = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
81
81
  dash: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
82
82
  hls: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
83
83
  }));
84
- const PublicDetails = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
84
+ const PublicDetails = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
85
85
  channelLink: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
86
86
  logo: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
87
87
  mediaId: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
@@ -94,7 +94,7 @@ const PublicDetails = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.St
94
94
  shareLink: "share_link",
95
95
  title: "title",
96
96
  })));
97
- const Status = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
97
+ const Status = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
98
98
  errorReasonCode: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
99
99
  errorReasonText: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
100
100
  pctComplete: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -114,7 +114,7 @@ const Status = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
114
114
  Schema.Null,
115
115
  ])),
116
116
  }));
117
- const Watermark2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
117
+ const Watermark2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
118
118
  created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
119
119
  downloadedFrom: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
120
120
  height: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
@@ -127,7 +127,7 @@ const Watermark2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struc
127
127
  uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
128
128
  width: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
129
129
  }));
130
- const Audio2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
130
+ const Audio2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
131
131
  percentComplete: Schema.Number,
132
132
  status: Schema.Union([
133
133
  Schema.Literals(["ready", "inprogress", "error"]),
@@ -135,12 +135,12 @@ const Audio2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
135
135
  ]),
136
136
  url: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
137
137
  }));
138
- const GetKeyResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
138
+ const GetKeyResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
139
139
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
140
140
  created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
141
141
  keyId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
142
142
  }).pipe(Schema.encodeKeys({ id: "id", created: "created", keyId: "key_id" })));
143
- const LiveInput = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
143
+ const LiveInput = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
144
144
  created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
145
145
  deleteRecordingAfterDays: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
146
146
  enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
@@ -148,12 +148,12 @@ const LiveInput = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct
148
148
  modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
149
149
  uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
150
150
  }));
151
- const ListLiveInputsResponse2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
151
+ const ListLiveInputsResponse2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
152
152
  liveInputs: Schema.optional(Schema.Union([Schema.Array(LiveInput), Schema.Null])),
153
153
  range: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
154
154
  total: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
155
155
  }));
156
- const Recording = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
156
+ const Recording = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
157
157
  allowedOrigins: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
158
158
  hideLiveViewerCount: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
159
159
  mode: Schema.optional(Schema.Union([
@@ -164,13 +164,13 @@ const Recording = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct
164
164
  timeoutSeconds: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
165
165
  }));
166
166
  const ListLiveInputOutputsResponseResult =
167
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
167
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
168
168
  enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
169
169
  streamKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
170
170
  uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
171
171
  url: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
172
172
  }));
173
- const ListStreamsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
173
+ const ListStreamsResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
174
174
  allowedOrigins: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
175
175
  clippedFrom: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
176
176
  created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -198,7 +198,7 @@ const ListStreamsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
198
198
  uploadExpiry: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
199
199
  watermark: Schema.optional(Schema.Union([Watermark2, Schema.Null])),
200
200
  }));
201
- const PublicDetails2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
201
+ const PublicDetails2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
202
202
  channelLink: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
203
203
  logo: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
204
204
  shareLink: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -209,7 +209,7 @@ const PublicDetails2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.S
209
209
  shareLink: "share_link",
210
210
  title: "title",
211
211
  })));
212
- const AccessRule = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
212
+ const AccessRule = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
213
213
  action: Schema.optional(Schema.Union([
214
214
  Schema.Union([Schema.Literals(["allow", "block"]), Schema.String]),
215
215
  Schema.Null,
@@ -224,26 +224,26 @@ const AccessRule = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struc
224
224
  Schema.Null,
225
225
  ])),
226
226
  }));
227
- const Flags = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
227
+ const Flags = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
228
228
  original: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
229
229
  }));
230
- export const GetAudioTrackRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
230
+ export const GetAudioTrackRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
231
231
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
232
232
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
233
233
  }).pipe(T.Http({
234
234
  method: "GET",
235
235
  path: "/accounts/{account_id}/stream/{identifier}/audio",
236
236
  })));
237
- export const GetAudioTrackResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
237
+ export const GetAudioTrackResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
238
238
  audio: Schema.optional(Schema.Union([Schema.Array(Audio), Schema.Null])),
239
239
  }).pipe(T.ResponsePath("result")));
240
- export const getAudioTrack = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
240
+ export const getAudioTrack = /*@__PURE__*/ API.make(() => ({
241
241
  input: GetAudioTrackRequest,
242
242
  output: GetAudioTrackResponse,
243
243
  errors: [],
244
244
  }));
245
245
  export const PatchAudioTrackRequest =
246
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
246
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
247
247
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
248
248
  audioIdentifier: Schema.String.pipe(T.HttpPath("audioIdentifier")),
249
249
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -254,7 +254,7 @@ export const PatchAudioTrackRequest =
254
254
  path: "/accounts/{account_id}/stream/{identifier}/audio/{audioIdentifier}",
255
255
  })));
256
256
  export const PatchAudioTrackResponse =
257
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
257
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
258
258
  default: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
259
259
  label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
260
260
  status: Schema.optional(Schema.Union([
@@ -266,13 +266,13 @@ export const PatchAudioTrackResponse =
266
266
  ])),
267
267
  uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
268
268
  }).pipe(T.ResponsePath("result")));
269
- export const patchAudioTrack = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
269
+ export const patchAudioTrack = /*@__PURE__*/ API.make(() => ({
270
270
  input: PatchAudioTrackRequest,
271
271
  output: PatchAudioTrackResponse,
272
272
  errors: [],
273
273
  }));
274
274
  export const DeleteAudioTrackRequest =
275
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
275
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
276
276
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
277
277
  audioIdentifier: Schema.String.pipe(T.HttpPath("audioIdentifier")),
278
278
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -281,13 +281,13 @@ export const DeleteAudioTrackRequest =
281
281
  path: "/accounts/{account_id}/stream/{identifier}/audio/{audioIdentifier}",
282
282
  })));
283
283
  export const DeleteAudioTrackResponse =
284
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
285
- export const deleteAudioTrack = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
284
+ /*@__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
285
+ export const deleteAudioTrack = /*@__PURE__*/ API.make(() => ({
286
286
  input: DeleteAudioTrackRequest,
287
287
  output: DeleteAudioTrackResponse,
288
288
  errors: [],
289
289
  }));
290
- export const CopyAudioTrackRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
290
+ export const CopyAudioTrackRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
291
291
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
292
292
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
293
293
  label: Schema.String,
@@ -297,7 +297,7 @@ export const CopyAudioTrackRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
297
297
  path: "/accounts/{account_id}/stream/{identifier}/audio/copy",
298
298
  })));
299
299
  export const CopyAudioTrackResponse =
300
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
300
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
301
301
  default: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
302
302
  label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
303
303
  status: Schema.optional(Schema.Union([
@@ -309,22 +309,22 @@ export const CopyAudioTrackResponse =
309
309
  ])),
310
310
  uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
311
311
  }).pipe(T.ResponsePath("result")));
312
- export const copyAudioTrack = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
312
+ export const copyAudioTrack = /*@__PURE__*/ API.make(() => ({
313
313
  input: CopyAudioTrackRequest,
314
314
  output: CopyAudioTrackResponse,
315
315
  errors: [],
316
316
  }));
317
- export const GetCaptionRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
317
+ export const GetCaptionRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
318
318
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
319
319
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
320
320
  }).pipe(T.Http({
321
321
  method: "GET",
322
322
  path: "/accounts/{account_id}/stream/{identifier}/captions",
323
323
  })));
324
- export const GetCaptionResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
324
+ export const GetCaptionResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
325
325
  result: Schema.Array(GetCaptionResponseResult),
326
326
  }));
327
- export const getCaption = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
327
+ export const getCaption = /*@__PURE__*/ API.makePaginated(() => ({
328
328
  input: GetCaptionRequest,
329
329
  output: GetCaptionResponse,
330
330
  errors: [],
@@ -334,7 +334,7 @@ export const getCaption = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
334
334
  },
335
335
  }));
336
336
  export const GetCaptionLanguageRequest =
337
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
337
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
338
338
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
339
339
  language: Schema.String.pipe(T.HttpPath("language")),
340
340
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -343,7 +343,7 @@ export const GetCaptionLanguageRequest =
343
343
  path: "/accounts/{account_id}/stream/{identifier}/captions/{language}",
344
344
  })));
345
345
  export const GetCaptionLanguageResponse =
346
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
346
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
347
347
  generated: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
348
348
  label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
349
349
  language: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -355,13 +355,13 @@ export const GetCaptionLanguageResponse =
355
355
  Schema.Null,
356
356
  ])),
357
357
  }).pipe(T.ResponsePath("result")));
358
- export const getCaptionLanguage = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
358
+ export const getCaptionLanguage = /*@__PURE__*/ API.make(() => ({
359
359
  input: GetCaptionLanguageRequest,
360
360
  output: GetCaptionLanguageResponse,
361
361
  errors: [],
362
362
  }));
363
363
  export const CreateCaptionLanguageRequest =
364
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
364
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
365
365
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
366
366
  language: Schema.String.pipe(T.HttpPath("language")),
367
367
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -370,7 +370,7 @@ export const CreateCaptionLanguageRequest =
370
370
  path: "/accounts/{account_id}/stream/{identifier}/captions/{language}/generate",
371
371
  })));
372
372
  export const CreateCaptionLanguageResponse =
373
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
373
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
374
374
  generated: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
375
375
  label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
376
376
  language: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -382,13 +382,13 @@ export const CreateCaptionLanguageResponse =
382
382
  Schema.Null,
383
383
  ])),
384
384
  }).pipe(T.ResponsePath("result")));
385
- export const createCaptionLanguage = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
385
+ export const createCaptionLanguage = /*@__PURE__*/ API.make(() => ({
386
386
  input: CreateCaptionLanguageRequest,
387
387
  output: CreateCaptionLanguageResponse,
388
388
  errors: [],
389
389
  }));
390
390
  export const UpdateCaptionLanguageRequest =
391
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
391
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
392
392
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
393
393
  language: Schema.String.pipe(T.HttpPath("language")),
394
394
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -399,7 +399,7 @@ export const UpdateCaptionLanguageRequest =
399
399
  contentType: "multipart",
400
400
  })));
401
401
  export const UpdateCaptionLanguageResponse =
402
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
402
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
403
403
  generated: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
404
404
  label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
405
405
  language: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -411,13 +411,13 @@ export const UpdateCaptionLanguageResponse =
411
411
  Schema.Null,
412
412
  ])),
413
413
  }).pipe(T.ResponsePath("result")));
414
- export const updateCaptionLanguage = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
414
+ export const updateCaptionLanguage = /*@__PURE__*/ API.make(() => ({
415
415
  input: UpdateCaptionLanguageRequest,
416
416
  output: UpdateCaptionLanguageResponse,
417
417
  errors: [],
418
418
  }));
419
419
  export const DeleteCaptionLanguageRequest =
420
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
420
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
421
421
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
422
422
  language: Schema.String.pipe(T.HttpPath("language")),
423
423
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -426,14 +426,14 @@ export const DeleteCaptionLanguageRequest =
426
426
  path: "/accounts/{account_id}/stream/{identifier}/captions/{language}",
427
427
  })));
428
428
  export const DeleteCaptionLanguageResponse =
429
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
430
- export const deleteCaptionLanguage = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
429
+ /*@__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
430
+ export const deleteCaptionLanguage = /*@__PURE__*/ API.make(() => ({
431
431
  input: DeleteCaptionLanguageRequest,
432
432
  output: DeleteCaptionLanguageResponse,
433
433
  errors: [],
434
434
  }));
435
435
  export const GetCaptionLanguageVttRequest =
436
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
436
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
437
437
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
438
438
  language: Schema.String.pipe(T.HttpPath("language")),
439
439
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -442,13 +442,13 @@ export const GetCaptionLanguageVttRequest =
442
442
  path: "/accounts/{account_id}/stream/{identifier}/captions/{language}/vtt",
443
443
  })));
444
444
  export const GetCaptionLanguageVttResponse =
445
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.String);
446
- export const getCaptionLanguageVtt = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
445
+ /*@__PURE__*/ Schema.suspend(() => Schema.String);
446
+ export const getCaptionLanguageVtt = /*@__PURE__*/ API.make(() => ({
447
447
  input: GetCaptionLanguageVttRequest,
448
448
  output: GetCaptionLanguageVttResponse,
449
449
  errors: [],
450
450
  }));
451
- export const CreateClipRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
451
+ export const CreateClipRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
452
452
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
453
453
  clippedFromVideoUID: Schema.String,
454
454
  endTimeSeconds: Schema.Number,
@@ -464,7 +464,7 @@ export const CreateClipRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
464
464
  url: Schema.optional(Schema.String),
465
465
  watermark: Schema.optional(Watermark),
466
466
  }).pipe(T.Http({ method: "POST", path: "/accounts/{account_id}/stream/clip" })));
467
- export const CreateClipResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
467
+ export const CreateClipResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
468
468
  allowedOrigins: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
469
469
  clippedFrom: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
470
470
  created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -492,12 +492,12 @@ export const CreateClipResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
492
492
  uploadExpiry: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
493
493
  watermark: Schema.optional(Schema.Union([Watermark2, Schema.Null])),
494
494
  }).pipe(T.ResponsePath("result")));
495
- export const createClip = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
495
+ export const createClip = /*@__PURE__*/ API.make(() => ({
496
496
  input: CreateClipRequest,
497
497
  output: CreateClipResponse,
498
498
  errors: [],
499
499
  }));
500
- export const CreateCopyRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
500
+ export const CreateCopyRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
501
501
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
502
502
  uploadCreator: Schema.optional(Schema.String).pipe(T.HttpHeader("Upload-Creator")),
503
503
  allowedOrigins: Schema.optional(Schema.Array(Schema.String)),
@@ -511,7 +511,7 @@ export const CreateCopyRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
511
511
  url: Schema.optional(Schema.String),
512
512
  watermark: Schema.optional(Watermark),
513
513
  }).pipe(T.Http({ method: "POST", path: "/accounts/{account_id}/stream/copy" })));
514
- export const CreateCopyResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
514
+ export const CreateCopyResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
515
515
  allowedOrigins: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
516
516
  clippedFrom: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
517
517
  created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -539,13 +539,13 @@ export const CreateCopyResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
539
539
  uploadExpiry: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
540
540
  watermark: Schema.optional(Schema.Union([Watermark2, Schema.Null])),
541
541
  }).pipe(T.ResponsePath("result")));
542
- export const createCopy = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
542
+ export const createCopy = /*@__PURE__*/ API.make(() => ({
543
543
  input: CreateCopyRequest,
544
544
  output: CreateCopyResponse,
545
545
  errors: [],
546
546
  }));
547
547
  export const CreateDirectUploadRequest =
548
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
548
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
549
549
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
550
550
  uploadCreator: Schema.optional(Schema.String).pipe(T.HttpHeader("Upload-Creator")),
551
551
  maxDurationSeconds: Schema.Number,
@@ -562,34 +562,34 @@ export const CreateDirectUploadRequest =
562
562
  path: "/accounts/{account_id}/stream/direct_upload",
563
563
  })));
564
564
  export const CreateDirectUploadResponse =
565
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
565
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
566
566
  scheduledDeletion: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
567
567
  uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
568
568
  uploadURL: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
569
569
  watermark: Schema.optional(Schema.Union([Watermark2, Schema.Null])),
570
570
  }).pipe(T.ResponsePath("result")));
571
- export const createDirectUpload = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
571
+ export const createDirectUpload = /*@__PURE__*/ API.make(() => ({
572
572
  input: CreateDirectUploadRequest,
573
573
  output: CreateDirectUploadResponse,
574
574
  errors: [],
575
575
  }));
576
- export const GetDownloadRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
576
+ export const GetDownloadRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
577
577
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
578
578
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
579
579
  }).pipe(T.Http({
580
580
  method: "GET",
581
581
  path: "/accounts/{account_id}/stream/{identifier}/downloads",
582
582
  })));
583
- export const GetDownloadResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
583
+ export const GetDownloadResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
584
584
  audio: Schema.optional(Schema.Union([Audio2, Schema.Null])),
585
585
  default: Schema.optional(Schema.Union([Audio2, Schema.Null])),
586
586
  }).pipe(T.ResponsePath("result")));
587
- export const getDownload = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
587
+ export const getDownload = /*@__PURE__*/ API.make(() => ({
588
588
  input: GetDownloadRequest,
589
589
  output: GetDownloadResponse,
590
590
  errors: [],
591
591
  }));
592
- export const CreateDownloadRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
592
+ export const CreateDownloadRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
593
593
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
594
594
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
595
595
  }).pipe(T.Http({
@@ -597,16 +597,16 @@ export const CreateDownloadRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
597
597
  path: "/accounts/{account_id}/stream/{identifier}/downloads",
598
598
  })));
599
599
  export const CreateDownloadResponse =
600
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
600
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
601
601
  audio: Schema.optional(Schema.Union([Audio2, Schema.Null])),
602
602
  default: Schema.optional(Schema.Union([Audio2, Schema.Null])),
603
603
  }).pipe(T.ResponsePath("result")));
604
- export const createDownload = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
604
+ export const createDownload = /*@__PURE__*/ API.make(() => ({
605
605
  input: CreateDownloadRequest,
606
606
  output: CreateDownloadResponse,
607
607
  errors: [],
608
608
  }));
609
- export const DeleteDownloadRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
609
+ export const DeleteDownloadRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
610
610
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
611
611
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
612
612
  }).pipe(T.Http({
@@ -614,32 +614,32 @@ export const DeleteDownloadRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
614
614
  path: "/accounts/{account_id}/stream/{identifier}/downloads",
615
615
  })));
616
616
  export const DeleteDownloadResponse =
617
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
618
- export const deleteDownload = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
617
+ /*@__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
618
+ export const deleteDownload = /*@__PURE__*/ API.make(() => ({
619
619
  input: DeleteDownloadRequest,
620
620
  output: DeleteDownloadResponse,
621
621
  errors: [],
622
622
  }));
623
- export const GetEmbedRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
623
+ export const GetEmbedRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
624
624
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
625
625
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
626
626
  }).pipe(T.Http({
627
627
  method: "GET",
628
628
  path: "/accounts/{account_id}/stream/{identifier}/embed",
629
629
  })));
630
- export const GetEmbedResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.String);
631
- export const getEmbed = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
630
+ export const GetEmbedResponse = /*@__PURE__*/ Schema.suspend(() => Schema.String);
631
+ export const getEmbed = /*@__PURE__*/ API.make(() => ({
632
632
  input: GetEmbedRequest,
633
633
  output: GetEmbedResponse,
634
634
  errors: [],
635
635
  }));
636
- export const GetKeyRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
636
+ export const GetKeyRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
637
637
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
638
638
  }).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/stream/keys" })));
639
- export const GetKeyResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
639
+ export const GetKeyResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
640
640
  result: Schema.Union([Schema.Array(GetKeyResponseResult), Schema.Null]),
641
641
  }));
642
- export const getKey = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
642
+ export const getKey = /*@__PURE__*/ API.makePaginated(() => ({
643
643
  input: GetKeyRequest,
644
644
  output: GetKeyResponse,
645
645
  errors: [Forbidden],
@@ -648,42 +648,42 @@ export const getKey = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
648
648
  items: "result",
649
649
  },
650
650
  }));
651
- export const CreateKeyRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
651
+ export const CreateKeyRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
652
652
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
653
653
  body: Schema.Unknown.pipe(T.HttpBody()),
654
654
  }).pipe(T.Http({ method: "POST", path: "/accounts/{account_id}/stream/keys" })));
655
- export const CreateKeyResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
655
+ export const CreateKeyResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
656
656
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
657
657
  created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
658
658
  jwk: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
659
659
  pem: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
660
660
  }).pipe(T.ResponsePath("result")));
661
- export const createKey = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
661
+ export const createKey = /*@__PURE__*/ API.make(() => ({
662
662
  input: CreateKeyRequest,
663
663
  output: CreateKeyResponse,
664
664
  errors: [],
665
665
  }));
666
- export const DeleteKeyRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
666
+ export const DeleteKeyRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
667
667
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
668
668
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
669
669
  }).pipe(T.Http({
670
670
  method: "DELETE",
671
671
  path: "/accounts/{account_id}/stream/keys/{identifier}",
672
672
  })));
673
- export const DeleteKeyResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
674
- export const deleteKey = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
673
+ export const DeleteKeyResponse = /*@__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
674
+ export const deleteKey = /*@__PURE__*/ API.make(() => ({
675
675
  input: DeleteKeyRequest,
676
676
  output: DeleteKeyResponse,
677
677
  errors: [SigningKeyNotFound, Forbidden],
678
678
  }));
679
- export const GetLiveInputRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
679
+ export const GetLiveInputRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
680
680
  liveInputIdentifier: Schema.String.pipe(T.HttpPath("liveInputIdentifier")),
681
681
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
682
682
  }).pipe(T.Http({
683
683
  method: "GET",
684
684
  path: "/accounts/{account_id}/stream/live_inputs/{liveInputIdentifier}",
685
685
  })));
686
- export const GetLiveInputResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
686
+ export const GetLiveInputResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
687
687
  created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
688
688
  deleteRecordingAfterDays: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
689
689
  enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
@@ -691,12 +691,12 @@ export const GetLiveInputResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
691
691
  modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
692
692
  uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
693
693
  }).pipe(T.ResponsePath("result")));
694
- export const getLiveInput = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
694
+ export const getLiveInput = /*@__PURE__*/ API.make(() => ({
695
695
  input: GetLiveInputRequest,
696
696
  output: GetLiveInputResponse,
697
697
  errors: [LiveInputNotFound, Forbidden],
698
698
  }));
699
- export const ListLiveInputsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
699
+ export const ListLiveInputsRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
700
700
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
701
701
  includeCounts: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("include_counts")),
702
702
  }).pipe(T.Http({
@@ -704,14 +704,14 @@ export const ListLiveInputsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
704
704
  path: "/accounts/{account_id}/stream/live_inputs",
705
705
  })));
706
706
  export const ListLiveInputsResponse =
707
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Union([ListLiveInputsResponse2, Schema.Array(LiveInput)]).pipe(T.ResponsePath("result")));
708
- export const listLiveInputs = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
707
+ /*@__PURE__*/ Schema.suspend(() => Schema.Union([ListLiveInputsResponse2, Schema.Array(LiveInput)]).pipe(T.ResponsePath("result")));
708
+ export const listLiveInputs = /*@__PURE__*/ API.make(() => ({
709
709
  input: ListLiveInputsRequest,
710
710
  output: ListLiveInputsResponse,
711
711
  errors: [],
712
712
  }));
713
713
  export const CreateLiveInputRequest =
714
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
714
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
715
715
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
716
716
  defaultCreator: Schema.optional(Schema.String),
717
717
  deleteRecordingAfterDays: Schema.optional(Schema.Number),
@@ -723,7 +723,7 @@ export const CreateLiveInputRequest =
723
723
  path: "/accounts/{account_id}/stream/live_inputs",
724
724
  })));
725
725
  export const CreateLiveInputResponse =
726
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
726
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
727
727
  created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
728
728
  deleteRecordingAfterDays: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
729
729
  enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
@@ -731,13 +731,13 @@ export const CreateLiveInputResponse =
731
731
  modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
732
732
  uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
733
733
  }).pipe(T.ResponsePath("result")));
734
- export const createLiveInput = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
734
+ export const createLiveInput = /*@__PURE__*/ API.make(() => ({
735
735
  input: CreateLiveInputRequest,
736
736
  output: CreateLiveInputResponse,
737
737
  errors: [],
738
738
  }));
739
739
  export const UpdateLiveInputRequest =
740
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
740
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
741
741
  liveInputIdentifier: Schema.String.pipe(T.HttpPath("liveInputIdentifier")),
742
742
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
743
743
  defaultCreator: Schema.optional(Schema.String),
@@ -750,7 +750,7 @@ export const UpdateLiveInputRequest =
750
750
  path: "/accounts/{account_id}/stream/live_inputs/{liveInputIdentifier}",
751
751
  })));
752
752
  export const UpdateLiveInputResponse =
753
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
753
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
754
754
  created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
755
755
  deleteRecordingAfterDays: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
756
756
  enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
@@ -758,13 +758,13 @@ export const UpdateLiveInputResponse =
758
758
  modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
759
759
  uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
760
760
  }).pipe(T.ResponsePath("result")));
761
- export const updateLiveInput = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
761
+ export const updateLiveInput = /*@__PURE__*/ API.make(() => ({
762
762
  input: UpdateLiveInputRequest,
763
763
  output: UpdateLiveInputResponse,
764
764
  errors: [],
765
765
  }));
766
766
  export const DeleteLiveInputRequest =
767
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
767
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
768
768
  liveInputIdentifier: Schema.String.pipe(T.HttpPath("liveInputIdentifier")),
769
769
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
770
770
  }).pipe(T.Http({
@@ -772,14 +772,14 @@ export const DeleteLiveInputRequest =
772
772
  path: "/accounts/{account_id}/stream/live_inputs/{liveInputIdentifier}",
773
773
  })));
774
774
  export const DeleteLiveInputResponse =
775
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Unknown);
776
- export const deleteLiveInput = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
775
+ /*@__PURE__*/ Schema.suspend(() => Schema.Unknown);
776
+ export const deleteLiveInput = /*@__PURE__*/ API.make(() => ({
777
777
  input: DeleteLiveInputRequest,
778
778
  output: DeleteLiveInputResponse,
779
779
  errors: [LiveInputNotFound, Forbidden],
780
780
  }));
781
781
  export const ListLiveInputOutputsRequest =
782
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
782
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
783
783
  liveInputIdentifier: Schema.String.pipe(T.HttpPath("liveInputIdentifier")),
784
784
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
785
785
  }).pipe(T.Http({
@@ -787,10 +787,10 @@ export const ListLiveInputOutputsRequest =
787
787
  path: "/accounts/{account_id}/stream/live_inputs/{liveInputIdentifier}/outputs",
788
788
  })));
789
789
  export const ListLiveInputOutputsResponse =
790
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
790
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
791
791
  result: Schema.Array(ListLiveInputOutputsResponseResult),
792
792
  }));
793
- export const listLiveInputOutputs = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
793
+ export const listLiveInputOutputs = /*@__PURE__*/ API.makePaginated(() => ({
794
794
  input: ListLiveInputOutputsRequest,
795
795
  output: ListLiveInputOutputsResponse,
796
796
  errors: [LiveInputNotFound, Forbidden],
@@ -800,7 +800,7 @@ export const listLiveInputOutputs = /*@__PURE__*/ /*#__PURE__*/ API.makePaginate
800
800
  },
801
801
  }));
802
802
  export const CreateLiveInputOutputRequest =
803
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
803
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
804
804
  liveInputIdentifier: Schema.String.pipe(T.HttpPath("liveInputIdentifier")),
805
805
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
806
806
  streamKey: Schema.String,
@@ -811,19 +811,19 @@ export const CreateLiveInputOutputRequest =
811
811
  path: "/accounts/{account_id}/stream/live_inputs/{liveInputIdentifier}/outputs",
812
812
  })));
813
813
  export const CreateLiveInputOutputResponse =
814
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
814
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
815
815
  enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
816
816
  streamKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
817
817
  uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
818
818
  url: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
819
819
  }).pipe(T.ResponsePath("result")));
820
- export const createLiveInputOutput = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
820
+ export const createLiveInputOutput = /*@__PURE__*/ API.make(() => ({
821
821
  input: CreateLiveInputOutputRequest,
822
822
  output: CreateLiveInputOutputResponse,
823
823
  errors: [LiveInputNotFound, Forbidden],
824
824
  }));
825
825
  export const UpdateLiveInputOutputRequest =
826
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
826
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
827
827
  liveInputIdentifier: Schema.String.pipe(T.HttpPath("liveInputIdentifier")),
828
828
  outputIdentifier: Schema.String.pipe(T.HttpPath("outputIdentifier")),
829
829
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -833,19 +833,19 @@ export const UpdateLiveInputOutputRequest =
833
833
  path: "/accounts/{account_id}/stream/live_inputs/{liveInputIdentifier}/outputs/{outputIdentifier}",
834
834
  })));
835
835
  export const UpdateLiveInputOutputResponse =
836
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
836
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
837
837
  enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
838
838
  streamKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
839
839
  uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
840
840
  url: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
841
841
  }).pipe(T.ResponsePath("result")));
842
- export const updateLiveInputOutput = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
842
+ export const updateLiveInputOutput = /*@__PURE__*/ API.make(() => ({
843
843
  input: UpdateLiveInputOutputRequest,
844
844
  output: UpdateLiveInputOutputResponse,
845
845
  errors: [OutputNotFound, Forbidden],
846
846
  }));
847
847
  export const DeleteLiveInputOutputRequest =
848
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
848
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
849
849
  liveInputIdentifier: Schema.String.pipe(T.HttpPath("liveInputIdentifier")),
850
850
  outputIdentifier: Schema.String.pipe(T.HttpPath("outputIdentifier")),
851
851
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -854,20 +854,20 @@ export const DeleteLiveInputOutputRequest =
854
854
  path: "/accounts/{account_id}/stream/live_inputs/{liveInputIdentifier}/outputs/{outputIdentifier}",
855
855
  })));
856
856
  export const DeleteLiveInputOutputResponse =
857
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Unknown);
858
- export const deleteLiveInputOutput = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
857
+ /*@__PURE__*/ Schema.suspend(() => Schema.Unknown);
858
+ export const deleteLiveInputOutput = /*@__PURE__*/ API.make(() => ({
859
859
  input: DeleteLiveInputOutputRequest,
860
860
  output: DeleteLiveInputOutputResponse,
861
861
  errors: [OutputNotFound, Forbidden],
862
862
  }));
863
- export const GetStreamRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
863
+ export const GetStreamRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
864
864
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
865
865
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
866
866
  }).pipe(T.Http({
867
867
  method: "GET",
868
868
  path: "/accounts/{account_id}/stream/{identifier}",
869
869
  })));
870
- export const GetStreamResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
870
+ export const GetStreamResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
871
871
  allowedOrigins: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
872
872
  clippedFrom: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
873
873
  created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -895,12 +895,12 @@ export const GetStreamResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
895
895
  uploadExpiry: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
896
896
  watermark: Schema.optional(Schema.Union([Watermark2, Schema.Null])),
897
897
  }).pipe(T.ResponsePath("result")));
898
- export const getStream = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
898
+ export const getStream = /*@__PURE__*/ API.make(() => ({
899
899
  input: GetStreamRequest,
900
900
  output: GetStreamResponse,
901
901
  errors: [],
902
902
  }));
903
- export const ListStreamsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
903
+ export const ListStreamsRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
904
904
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
905
905
  id: Schema.optional(Schema.String).pipe(T.HttpQuery("id")),
906
906
  after: Schema.optional(Schema.String).pipe(T.HttpQuery("after")),
@@ -929,10 +929,10 @@ export const ListStreamsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
929
929
  type: Schema.optional(Schema.String).pipe(T.HttpQuery("type")),
930
930
  videoName: Schema.optional(Schema.String).pipe(T.HttpQuery("video_name")),
931
931
  }).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/stream" })));
932
- export const ListStreamsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
932
+ export const ListStreamsResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
933
933
  result: Schema.Array(ListStreamsResponseResult),
934
934
  }));
935
- export const listStreams = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
935
+ export const listStreams = /*@__PURE__*/ API.makePaginated(() => ({
936
936
  input: ListStreamsRequest,
937
937
  output: ListStreamsResponse,
938
938
  errors: [],
@@ -941,7 +941,7 @@ export const listStreams = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => (
941
941
  items: "result",
942
942
  },
943
943
  }));
944
- export const CreateStreamRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
944
+ export const CreateStreamRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
945
945
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
946
946
  directUser: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("direct_user")),
947
947
  tusResumable: Schema.Literal("1.0.0").pipe(T.HttpHeader("Tus-Resumable")),
@@ -949,26 +949,26 @@ export const CreateStreamRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
949
949
  uploadCreator: Schema.optional(Schema.String).pipe(T.HttpHeader("Upload-Creator")),
950
950
  uploadMetadata: Schema.optional(Schema.String).pipe(T.HttpHeader("Upload-Metadata")),
951
951
  }).pipe(T.Http({ method: "POST", path: "/accounts/{account_id}/stream" })));
952
- export const CreateStreamResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Unknown);
953
- export const createStream = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
952
+ export const CreateStreamResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Unknown);
953
+ export const createStream = /*@__PURE__*/ API.make(() => ({
954
954
  input: CreateStreamRequest,
955
955
  output: CreateStreamResponse,
956
956
  errors: [],
957
957
  }));
958
- export const DeleteStreamRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
958
+ export const DeleteStreamRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
959
959
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
960
960
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
961
961
  }).pipe(T.Http({
962
962
  method: "DELETE",
963
963
  path: "/accounts/{account_id}/stream/{identifier}",
964
964
  })));
965
- export const DeleteStreamResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Unknown);
966
- export const deleteStream = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
965
+ export const DeleteStreamResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Unknown);
966
+ export const deleteStream = /*@__PURE__*/ API.make(() => ({
967
967
  input: DeleteStreamRequest,
968
968
  output: DeleteStreamResponse,
969
969
  errors: [],
970
970
  }));
971
- export const EditStreamRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
971
+ export const EditStreamRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
972
972
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
973
973
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
974
974
  allowedOrigins: Schema.optional(Schema.Array(Schema.String)),
@@ -985,7 +985,7 @@ export const EditStreamRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
985
985
  method: "POST",
986
986
  path: "/accounts/{account_id}/stream/{identifier}",
987
987
  })));
988
- export const EditStreamResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
988
+ export const EditStreamResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
989
989
  allowedOrigins: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
990
990
  clippedFrom: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
991
991
  created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -1013,12 +1013,12 @@ export const EditStreamResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
1013
1013
  uploadExpiry: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1014
1014
  watermark: Schema.optional(Schema.Union([Watermark2, Schema.Null])),
1015
1015
  }).pipe(T.ResponsePath("result")));
1016
- export const editStream = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1016
+ export const editStream = /*@__PURE__*/ API.make(() => ({
1017
1017
  input: EditStreamRequest,
1018
1018
  output: EditStreamResponse,
1019
1019
  errors: [],
1020
1020
  }));
1021
- export const CreateTokenRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1021
+ export const CreateTokenRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1022
1022
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
1023
1023
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1024
1024
  id: Schema.optional(Schema.String),
@@ -1032,16 +1032,16 @@ export const CreateTokenRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
1032
1032
  method: "POST",
1033
1033
  path: "/accounts/{account_id}/stream/{identifier}/token",
1034
1034
  })));
1035
- export const CreateTokenResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1035
+ export const CreateTokenResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1036
1036
  token: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1037
1037
  }).pipe(T.ResponsePath("result")));
1038
- export const createToken = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1038
+ export const createToken = /*@__PURE__*/ API.make(() => ({
1039
1039
  input: CreateTokenRequest,
1040
1040
  output: CreateTokenResponse,
1041
1041
  errors: [],
1042
1042
  }));
1043
1043
  export const StorageUsageVideoRequest =
1044
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1044
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1045
1045
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1046
1046
  creator: Schema.optional(Schema.String).pipe(T.HttpQuery("creator")),
1047
1047
  }).pipe(T.Http({
@@ -1049,25 +1049,25 @@ export const StorageUsageVideoRequest =
1049
1049
  path: "/accounts/{account_id}/stream/storage-usage",
1050
1050
  })));
1051
1051
  export const StorageUsageVideoResponse =
1052
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1052
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1053
1053
  creator: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1054
1054
  totalStorageMinutes: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1055
1055
  totalStorageMinutesLimit: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1056
1056
  videoCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1057
1057
  }).pipe(T.ResponsePath("result")));
1058
- export const storageUsageVideo = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1058
+ export const storageUsageVideo = /*@__PURE__*/ API.make(() => ({
1059
1059
  input: StorageUsageVideoRequest,
1060
1060
  output: StorageUsageVideoResponse,
1061
1061
  errors: [],
1062
1062
  }));
1063
- export const GetWatermarkRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1063
+ export const GetWatermarkRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1064
1064
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
1065
1065
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1066
1066
  }).pipe(T.Http({
1067
1067
  method: "GET",
1068
1068
  path: "/accounts/{account_id}/stream/watermarks/{identifier}",
1069
1069
  })));
1070
- export const GetWatermarkResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1070
+ export const GetWatermarkResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1071
1071
  created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1072
1072
  downloadedFrom: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1073
1073
  height: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
@@ -1080,22 +1080,22 @@ export const GetWatermarkResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
1080
1080
  uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1081
1081
  width: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1082
1082
  }).pipe(T.ResponsePath("result")));
1083
- export const getWatermark = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1083
+ export const getWatermark = /*@__PURE__*/ API.make(() => ({
1084
1084
  input: GetWatermarkRequest,
1085
1085
  output: GetWatermarkResponse,
1086
1086
  errors: [WatermarkNotFound, Forbidden],
1087
1087
  }));
1088
- export const ListWatermarksRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1088
+ export const ListWatermarksRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1089
1089
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1090
1090
  }).pipe(T.Http({
1091
1091
  method: "GET",
1092
1092
  path: "/accounts/{account_id}/stream/watermarks",
1093
1093
  })));
1094
1094
  export const ListWatermarksResponse =
1095
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1095
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1096
1096
  result: Schema.Array(Watermark2),
1097
1097
  }));
1098
- export const listWatermarks = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
1098
+ export const listWatermarks = /*@__PURE__*/ API.makePaginated(() => ({
1099
1099
  input: ListWatermarksRequest,
1100
1100
  output: ListWatermarksResponse,
1101
1101
  errors: [],
@@ -1105,7 +1105,7 @@ export const listWatermarks = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() =
1105
1105
  },
1106
1106
  }));
1107
1107
  export const CreateWatermarkRequest =
1108
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1108
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1109
1109
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1110
1110
  name: Schema.optional(Schema.String),
1111
1111
  opacity: Schema.optional(Schema.Number),
@@ -1118,7 +1118,7 @@ export const CreateWatermarkRequest =
1118
1118
  path: "/accounts/{account_id}/stream/watermarks",
1119
1119
  })));
1120
1120
  export const CreateWatermarkResponse =
1121
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1121
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1122
1122
  created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1123
1123
  downloadedFrom: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1124
1124
  height: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
@@ -1131,13 +1131,13 @@ export const CreateWatermarkResponse =
1131
1131
  uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1132
1132
  width: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1133
1133
  }).pipe(T.ResponsePath("result")));
1134
- export const createWatermark = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1134
+ export const createWatermark = /*@__PURE__*/ API.make(() => ({
1135
1135
  input: CreateWatermarkRequest,
1136
1136
  output: CreateWatermarkResponse,
1137
1137
  errors: [WatermarkImageInvalid, Forbidden],
1138
1138
  }));
1139
1139
  export const DeleteWatermarkRequest =
1140
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1140
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1141
1141
  identifier: Schema.String.pipe(T.HttpPath("identifier")),
1142
1142
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1143
1143
  }).pipe(T.Http({
@@ -1145,47 +1145,47 @@ export const DeleteWatermarkRequest =
1145
1145
  path: "/accounts/{account_id}/stream/watermarks/{identifier}",
1146
1146
  })));
1147
1147
  export const DeleteWatermarkResponse =
1148
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
1149
- export const deleteWatermark = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1148
+ /*@__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
1149
+ export const deleteWatermark = /*@__PURE__*/ API.make(() => ({
1150
1150
  input: DeleteWatermarkRequest,
1151
1151
  output: DeleteWatermarkResponse,
1152
1152
  errors: [WatermarkNotFound, Forbidden],
1153
1153
  }));
1154
- export const GetWebhookRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1154
+ export const GetWebhookRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1155
1155
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1156
1156
  }).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/stream/webhook" })));
1157
- export const GetWebhookResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1157
+ export const GetWebhookResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1158
1158
  modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1159
1159
  notificationUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1160
1160
  secret: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1161
1161
  }).pipe(T.ResponsePath("result")));
1162
- export const getWebhook = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1162
+ export const getWebhook = /*@__PURE__*/ API.make(() => ({
1163
1163
  input: GetWebhookRequest,
1164
1164
  output: GetWebhookResponse,
1165
1165
  errors: [WebhookNotFound, Forbidden],
1166
1166
  }));
1167
- export const PutWebhookRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1167
+ export const PutWebhookRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1168
1168
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1169
1169
  notificationUrl: Schema.optional(Schema.String),
1170
1170
  }).pipe(T.Http({ method: "PUT", path: "/accounts/{account_id}/stream/webhook" })));
1171
- export const PutWebhookResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1171
+ export const PutWebhookResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1172
1172
  modified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1173
1173
  notificationUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1174
1174
  secret: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1175
1175
  }).pipe(T.ResponsePath("result")));
1176
- export const putWebhook = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1176
+ export const putWebhook = /*@__PURE__*/ API.make(() => ({
1177
1177
  input: PutWebhookRequest,
1178
1178
  output: PutWebhookResponse,
1179
1179
  errors: [],
1180
1180
  }));
1181
- export const DeleteWebhookRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1181
+ export const DeleteWebhookRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1182
1182
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1183
1183
  }).pipe(T.Http({
1184
1184
  method: "DELETE",
1185
1185
  path: "/accounts/{account_id}/stream/webhook",
1186
1186
  })));
1187
- export const DeleteWebhookResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
1188
- export const deleteWebhook = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1187
+ export const DeleteWebhookResponse = /*@__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
1188
+ export const deleteWebhook = /*@__PURE__*/ API.make(() => ({
1189
1189
  input: DeleteWebhookRequest,
1190
1190
  output: DeleteWebhookResponse,
1191
1191
  errors: [WebhookNotFound, Forbidden],