@distilled.cloud/cloudflare 0.0.0 → 0.2.0-alpha

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 (560) hide show
  1. package/lib/auth.d.ts +13 -0
  2. package/lib/auth.d.ts.map +1 -0
  3. package/lib/auth.js +12 -0
  4. package/lib/auth.js.map +1 -0
  5. package/lib/category.d.ts +2 -0
  6. package/lib/category.d.ts.map +1 -0
  7. package/lib/category.js +2 -0
  8. package/lib/category.js.map +1 -0
  9. package/lib/client/api.d.ts +14 -0
  10. package/lib/client/api.d.ts.map +1 -0
  11. package/lib/client/api.js +197 -0
  12. package/lib/client/api.js.map +1 -0
  13. package/lib/client/index.d.ts +8 -0
  14. package/lib/client/index.d.ts.map +1 -0
  15. package/lib/client/index.js +8 -0
  16. package/lib/client/index.js.map +1 -0
  17. package/lib/credentials.d.ts +14 -0
  18. package/lib/credentials.d.ts.map +1 -0
  19. package/lib/credentials.js +17 -0
  20. package/lib/credentials.js.map +1 -0
  21. package/lib/errors.d.ts +48 -0
  22. package/lib/errors.d.ts.map +1 -0
  23. package/lib/errors.js +38 -0
  24. package/lib/errors.js.map +1 -0
  25. package/lib/index.d.ts +10 -0
  26. package/lib/index.d.ts.map +1 -0
  27. package/lib/index.js +10 -0
  28. package/lib/index.js.map +1 -0
  29. package/lib/retry.d.ts +14 -0
  30. package/lib/retry.d.ts.map +1 -0
  31. package/lib/retry.js +14 -0
  32. package/lib/retry.js.map +1 -0
  33. package/lib/schemas.d.ts +29 -0
  34. package/lib/schemas.d.ts.map +1 -0
  35. package/lib/schemas.js +34 -0
  36. package/lib/schemas.js.map +1 -0
  37. package/lib/services/abuse-reports.d.ts +224 -0
  38. package/lib/services/abuse-reports.d.ts.map +1 -0
  39. package/lib/services/abuse-reports.js +353 -0
  40. package/lib/services/abuse-reports.js.map +1 -0
  41. package/lib/services/accounts.d.ts +682 -0
  42. package/lib/services/accounts.d.ts.map +1 -0
  43. package/lib/services/accounts.js +805 -0
  44. package/lib/services/accounts.js.map +1 -0
  45. package/lib/services/acm.d.ts +73 -0
  46. package/lib/services/acm.d.ts.map +1 -0
  47. package/lib/services/acm.js +76 -0
  48. package/lib/services/acm.js.map +1 -0
  49. package/lib/services/addressing.d.ts +1208 -0
  50. package/lib/services/addressing.d.ts.map +1 -0
  51. package/lib/services/addressing.js +1776 -0
  52. package/lib/services/addressing.js.map +1 -0
  53. package/lib/services/ai-gateway.d.ts +956 -0
  54. package/lib/services/ai-gateway.d.ts.map +1 -0
  55. package/lib/services/ai-gateway.js +1706 -0
  56. package/lib/services/ai-gateway.js.map +1 -0
  57. package/lib/services/ai.d.ts +243 -0
  58. package/lib/services/ai.d.ts.map +1 -0
  59. package/lib/services/ai.js +299 -0
  60. package/lib/services/ai.js.map +1 -0
  61. package/lib/services/aisearch.d.ts +915 -0
  62. package/lib/services/aisearch.d.ts.map +1 -0
  63. package/lib/services/aisearch.js +2425 -0
  64. package/lib/services/aisearch.js.map +1 -0
  65. package/lib/services/alerting.d.ts +718 -0
  66. package/lib/services/alerting.d.ts.map +1 -0
  67. package/lib/services/alerting.js +1388 -0
  68. package/lib/services/alerting.js.map +1 -0
  69. package/lib/services/api-gateway.d.ts +830 -0
  70. package/lib/services/api-gateway.d.ts.map +1 -0
  71. package/lib/services/api-gateway.js +1548 -0
  72. package/lib/services/api-gateway.js.map +1 -0
  73. package/lib/services/argo.d.ts +101 -0
  74. package/lib/services/argo.d.ts.map +1 -0
  75. package/lib/services/argo.js +105 -0
  76. package/lib/services/argo.js.map +1 -0
  77. package/lib/services/audit-logs.d.ts +46 -0
  78. package/lib/services/audit-logs.d.ts.map +1 -0
  79. package/lib/services/audit-logs.js +37 -0
  80. package/lib/services/audit-logs.js.map +1 -0
  81. package/lib/services/billing.d.ts +62 -0
  82. package/lib/services/billing.d.ts.map +1 -0
  83. package/lib/services/billing.js +100 -0
  84. package/lib/services/billing.js.map +1 -0
  85. package/lib/services/bot-management.d.ts +124 -0
  86. package/lib/services/bot-management.d.ts.map +1 -0
  87. package/lib/services/bot-management.js +262 -0
  88. package/lib/services/bot-management.js.map +1 -0
  89. package/lib/services/botnet-feed.d.ts +65 -0
  90. package/lib/services/botnet-feed.d.ts.map +1 -0
  91. package/lib/services/botnet-feed.js +84 -0
  92. package/lib/services/botnet-feed.js.map +1 -0
  93. package/lib/services/brand-protection.d.ts +188 -0
  94. package/lib/services/brand-protection.d.ts.map +1 -0
  95. package/lib/services/brand-protection.js +214 -0
  96. package/lib/services/brand-protection.js.map +1 -0
  97. package/lib/services/browser-rendering.d.ts +857 -0
  98. package/lib/services/browser-rendering.d.ts.map +1 -0
  99. package/lib/services/browser-rendering.js +1141 -0
  100. package/lib/services/browser-rendering.js.map +1 -0
  101. package/lib/services/cache.d.ts +287 -0
  102. package/lib/services/cache.d.ts.map +1 -0
  103. package/lib/services/cache.js +330 -0
  104. package/lib/services/cache.js.map +1 -0
  105. package/lib/services/calls.d.ts +202 -0
  106. package/lib/services/calls.d.ts.map +1 -0
  107. package/lib/services/calls.js +175 -0
  108. package/lib/services/calls.js.map +1 -0
  109. package/lib/services/certificate-authorities.d.ts +40 -0
  110. package/lib/services/certificate-authorities.d.ts.map +1 -0
  111. package/lib/services/certificate-authorities.js +49 -0
  112. package/lib/services/certificate-authorities.js.map +1 -0
  113. package/lib/services/client-certificates.d.ts +254 -0
  114. package/lib/services/client-certificates.d.ts.map +1 -0
  115. package/lib/services/client-certificates.js +350 -0
  116. package/lib/services/client-certificates.js.map +1 -0
  117. package/lib/services/cloud-connector.d.ts +59 -0
  118. package/lib/services/cloud-connector.d.ts.map +1 -0
  119. package/lib/services/cloud-connector.js +84 -0
  120. package/lib/services/cloud-connector.js.map +1 -0
  121. package/lib/services/cloudforce-one.d.ts +1318 -0
  122. package/lib/services/cloudforce-one.d.ts.map +1 -0
  123. package/lib/services/cloudforce-one.js +1684 -0
  124. package/lib/services/cloudforce-one.js.map +1 -0
  125. package/lib/services/connectivity.d.ts +248 -0
  126. package/lib/services/connectivity.d.ts.map +1 -0
  127. package/lib/services/connectivity.js +377 -0
  128. package/lib/services/connectivity.js.map +1 -0
  129. package/lib/services/content-scanning.d.ts +131 -0
  130. package/lib/services/content-scanning.d.ts.map +1 -0
  131. package/lib/services/content-scanning.js +156 -0
  132. package/lib/services/content-scanning.js.map +1 -0
  133. package/lib/services/custom-certificates.d.ts +211 -0
  134. package/lib/services/custom-certificates.d.ts.map +1 -0
  135. package/lib/services/custom-certificates.js +309 -0
  136. package/lib/services/custom-certificates.js.map +1 -0
  137. package/lib/services/custom-hostnames.d.ts +525 -0
  138. package/lib/services/custom-hostnames.d.ts.map +1 -0
  139. package/lib/services/custom-hostnames.js +1164 -0
  140. package/lib/services/custom-hostnames.js.map +1 -0
  141. package/lib/services/custom-nameservers.d.ts +67 -0
  142. package/lib/services/custom-nameservers.d.ts.map +1 -0
  143. package/lib/services/custom-nameservers.js +80 -0
  144. package/lib/services/custom-nameservers.js.map +1 -0
  145. package/lib/services/custom-pages.d.ts +74 -0
  146. package/lib/services/custom-pages.d.ts.map +1 -0
  147. package/lib/services/custom-pages.js +125 -0
  148. package/lib/services/custom-pages.js.map +1 -0
  149. package/lib/services/d1.d.ts +326 -0
  150. package/lib/services/d1.d.ts.map +1 -0
  151. package/lib/services/d1.js +448 -0
  152. package/lib/services/d1.js.map +1 -0
  153. package/lib/services/dcv-delegation.d.ts +24 -0
  154. package/lib/services/dcv-delegation.d.ts.map +1 -0
  155. package/lib/services/dcv-delegation.js +24 -0
  156. package/lib/services/dcv-delegation.js.map +1 -0
  157. package/lib/services/diagnostics.d.ts +175 -0
  158. package/lib/services/diagnostics.d.ts.map +1 -0
  159. package/lib/services/diagnostics.js +273 -0
  160. package/lib/services/diagnostics.js.map +1 -0
  161. package/lib/services/dns-firewall.d.ts +288 -0
  162. package/lib/services/dns-firewall.d.ts.map +1 -0
  163. package/lib/services/dns-firewall.js +373 -0
  164. package/lib/services/dns-firewall.js.map +1 -0
  165. package/lib/services/dns.d.ts +2946 -0
  166. package/lib/services/dns.d.ts.map +1 -0
  167. package/lib/services/dns.js +4511 -0
  168. package/lib/services/dns.js.map +1 -0
  169. package/lib/services/durable-objects.d.ts +61 -0
  170. package/lib/services/durable-objects.d.ts.map +1 -0
  171. package/lib/services/durable-objects.js +66 -0
  172. package/lib/services/durable-objects.js.map +1 -0
  173. package/lib/services/email-routing.d.ts +542 -0
  174. package/lib/services/email-routing.d.ts.map +1 -0
  175. package/lib/services/email-routing.js +662 -0
  176. package/lib/services/email-routing.js.map +1 -0
  177. package/lib/services/email-security.d.ts +1131 -0
  178. package/lib/services/email-security.d.ts.map +1 -0
  179. package/lib/services/email-security.js +2065 -0
  180. package/lib/services/email-security.js.map +1 -0
  181. package/lib/services/filters.d.ts +157 -0
  182. package/lib/services/filters.d.ts.map +1 -0
  183. package/lib/services/filters.js +135 -0
  184. package/lib/services/filters.js.map +1 -0
  185. package/lib/services/firewall.d.ts +1080 -0
  186. package/lib/services/firewall.d.ts.map +1 -0
  187. package/lib/services/firewall.js +1881 -0
  188. package/lib/services/firewall.js.map +1 -0
  189. package/lib/services/healthchecks.d.ts +464 -0
  190. package/lib/services/healthchecks.d.ts.map +1 -0
  191. package/lib/services/healthchecks.js +838 -0
  192. package/lib/services/healthchecks.js.map +1 -0
  193. package/lib/services/hostnames.d.ts +74 -0
  194. package/lib/services/hostnames.d.ts.map +1 -0
  195. package/lib/services/hostnames.js +100 -0
  196. package/lib/services/hostnames.js.map +1 -0
  197. package/lib/services/hyperdrive.d.ts +203 -0
  198. package/lib/services/hyperdrive.d.ts.map +1 -0
  199. package/lib/services/hyperdrive.js +299 -0
  200. package/lib/services/hyperdrive.js.map +1 -0
  201. package/lib/services/iam.d.ts +554 -0
  202. package/lib/services/iam.d.ts.map +1 -0
  203. package/lib/services/iam.js +743 -0
  204. package/lib/services/iam.js.map +1 -0
  205. package/lib/services/images.d.ts +403 -0
  206. package/lib/services/images.d.ts.map +1 -0
  207. package/lib/services/images.js +417 -0
  208. package/lib/services/images.js.map +1 -0
  209. package/lib/services/intel.d.ts +768 -0
  210. package/lib/services/intel.d.ts.map +1 -0
  211. package/lib/services/intel.js +1179 -0
  212. package/lib/services/intel.js.map +1 -0
  213. package/lib/services/ips.d.ts +28 -0
  214. package/lib/services/ips.d.ts.map +1 -0
  215. package/lib/services/ips.js +39 -0
  216. package/lib/services/ips.js.map +1 -0
  217. package/lib/services/keyless-certificates.d.ts +177 -0
  218. package/lib/services/keyless-certificates.d.ts.map +1 -0
  219. package/lib/services/keyless-certificates.js +216 -0
  220. package/lib/services/keyless-certificates.js.map +1 -0
  221. package/lib/services/kv.d.ts +339 -0
  222. package/lib/services/kv.d.ts.map +1 -0
  223. package/lib/services/kv.js +402 -0
  224. package/lib/services/kv.js.map +1 -0
  225. package/lib/services/leaked-credential-checks.d.ts +119 -0
  226. package/lib/services/leaked-credential-checks.d.ts.map +1 -0
  227. package/lib/services/leaked-credential-checks.js +130 -0
  228. package/lib/services/leaked-credential-checks.js.map +1 -0
  229. package/lib/services/load-balancers.d.ts +1767 -0
  230. package/lib/services/load-balancers.d.ts.map +1 -0
  231. package/lib/services/load-balancers.js +3068 -0
  232. package/lib/services/load-balancers.js.map +1 -0
  233. package/lib/services/logpush.d.ts +401 -0
  234. package/lib/services/logpush.d.ts.map +1 -0
  235. package/lib/services/logpush.js +724 -0
  236. package/lib/services/logpush.js.map +1 -0
  237. package/lib/services/logs.d.ts +125 -0
  238. package/lib/services/logs.d.ts.map +1 -0
  239. package/lib/services/logs.js +145 -0
  240. package/lib/services/logs.js.map +1 -0
  241. package/lib/services/magic-cloud-networking.d.ts +1599 -0
  242. package/lib/services/magic-cloud-networking.d.ts.map +1 -0
  243. package/lib/services/magic-cloud-networking.js +5205 -0
  244. package/lib/services/magic-cloud-networking.js.map +1 -0
  245. package/lib/services/magic-network-monitoring.d.ts +379 -0
  246. package/lib/services/magic-network-monitoring.d.ts.map +1 -0
  247. package/lib/services/magic-network-monitoring.js +535 -0
  248. package/lib/services/magic-network-monitoring.js.map +1 -0
  249. package/lib/services/magic-transit.d.ts +3650 -0
  250. package/lib/services/magic-transit.d.ts.map +1 -0
  251. package/lib/services/magic-transit.js +6120 -0
  252. package/lib/services/magic-transit.js.map +1 -0
  253. package/lib/services/managed-transforms.d.ts +79 -0
  254. package/lib/services/managed-transforms.d.ts.map +1 -0
  255. package/lib/services/managed-transforms.js +107 -0
  256. package/lib/services/managed-transforms.js.map +1 -0
  257. package/lib/services/memberships.d.ts +172 -0
  258. package/lib/services/memberships.d.ts.map +1 -0
  259. package/lib/services/memberships.js +282 -0
  260. package/lib/services/memberships.js.map +1 -0
  261. package/lib/services/mtls-certificates.d.ts +140 -0
  262. package/lib/services/mtls-certificates.d.ts.map +1 -0
  263. package/lib/services/mtls-certificates.js +173 -0
  264. package/lib/services/mtls-certificates.js.map +1 -0
  265. package/lib/services/network-interconnects.d.ts +410 -0
  266. package/lib/services/network-interconnects.d.ts.map +1 -0
  267. package/lib/services/network-interconnects.js +583 -0
  268. package/lib/services/network-interconnects.js.map +1 -0
  269. package/lib/services/organizations.d.ts +201 -0
  270. package/lib/services/organizations.d.ts.map +1 -0
  271. package/lib/services/organizations.js +355 -0
  272. package/lib/services/organizations.js.map +1 -0
  273. package/lib/services/origin-ca-certificates.d.ts +99 -0
  274. package/lib/services/origin-ca-certificates.d.ts.map +1 -0
  275. package/lib/services/origin-ca-certificates.js +156 -0
  276. package/lib/services/origin-ca-certificates.js.map +1 -0
  277. package/lib/services/origin-post-quantum-encryption.d.ts +50 -0
  278. package/lib/services/origin-post-quantum-encryption.d.ts.map +1 -0
  279. package/lib/services/origin-post-quantum-encryption.js +60 -0
  280. package/lib/services/origin-post-quantum-encryption.js.map +1 -0
  281. package/lib/services/origin-tls-client-auth.d.ts +273 -0
  282. package/lib/services/origin-tls-client-auth.d.ts.map +1 -0
  283. package/lib/services/origin-tls-client-auth.js +401 -0
  284. package/lib/services/origin-tls-client-auth.js.map +1 -0
  285. package/lib/services/page-rules.d.ts +773 -0
  286. package/lib/services/page-rules.d.ts.map +1 -0
  287. package/lib/services/page-rules.js +1365 -0
  288. package/lib/services/page-rules.js.map +1 -0
  289. package/lib/services/page-shield.d.ts +426 -0
  290. package/lib/services/page-shield.d.ts.map +1 -0
  291. package/lib/services/page-shield.js +484 -0
  292. package/lib/services/page-shield.js.map +1 -0
  293. package/lib/services/pages.d.ts +1654 -0
  294. package/lib/services/pages.d.ts.map +1 -0
  295. package/lib/services/pages.js +2954 -0
  296. package/lib/services/pages.js.map +1 -0
  297. package/lib/services/pipelines.d.ts +1461 -0
  298. package/lib/services/pipelines.d.ts.map +1 -0
  299. package/lib/services/pipelines.js +2912 -0
  300. package/lib/services/pipelines.js.map +1 -0
  301. package/lib/services/queues.d.ts +807 -0
  302. package/lib/services/queues.d.ts.map +1 -0
  303. package/lib/services/queues.js +1194 -0
  304. package/lib/services/queues.js.map +1 -0
  305. package/lib/services/r2-data-catalog.d.ts +341 -0
  306. package/lib/services/r2-data-catalog.d.ts.map +1 -0
  307. package/lib/services/r2-data-catalog.js +499 -0
  308. package/lib/services/r2-data-catalog.js.map +1 -0
  309. package/lib/services/r2.d.ts +1041 -0
  310. package/lib/services/r2.d.ts.map +1 -0
  311. package/lib/services/r2.js +1384 -0
  312. package/lib/services/r2.js.map +1 -0
  313. package/lib/services/radar.d.ts +9276 -0
  314. package/lib/services/radar.d.ts.map +1 -0
  315. package/lib/services/radar.js +20491 -0
  316. package/lib/services/radar.js.map +1 -0
  317. package/lib/services/rate-limits.d.ts +315 -0
  318. package/lib/services/rate-limits.d.ts.map +1 -0
  319. package/lib/services/rate-limits.js +521 -0
  320. package/lib/services/rate-limits.js.map +1 -0
  321. package/lib/services/realtime-kit.d.ts +2728 -0
  322. package/lib/services/realtime-kit.d.ts.map +1 -0
  323. package/lib/services/realtime-kit.js +5401 -0
  324. package/lib/services/realtime-kit.js.map +1 -0
  325. package/lib/services/registrar.d.ts +81 -0
  326. package/lib/services/registrar.d.ts.map +1 -0
  327. package/lib/services/registrar.js +154 -0
  328. package/lib/services/registrar.js.map +1 -0
  329. package/lib/services/request-tracers.d.ts +61 -0
  330. package/lib/services/request-tracers.d.ts.map +1 -0
  331. package/lib/services/request-tracers.js +82 -0
  332. package/lib/services/request-tracers.js.map +1 -0
  333. package/lib/services/resource-sharing.d.ts +540 -0
  334. package/lib/services/resource-sharing.d.ts.map +1 -0
  335. package/lib/services/resource-sharing.js +846 -0
  336. package/lib/services/resource-sharing.js.map +1 -0
  337. package/lib/services/rules.d.ts +297 -0
  338. package/lib/services/rules.d.ts.map +1 -0
  339. package/lib/services/rules.js +396 -0
  340. package/lib/services/rules.js.map +1 -0
  341. package/lib/services/rulesets.d.ts +3300 -0
  342. package/lib/services/rulesets.d.ts.map +1 -0
  343. package/lib/services/rulesets.js +7852 -0
  344. package/lib/services/rulesets.js.map +1 -0
  345. package/lib/services/rum.d.ts +289 -0
  346. package/lib/services/rum.d.ts.map +1 -0
  347. package/lib/services/rum.js +409 -0
  348. package/lib/services/rum.js.map +1 -0
  349. package/lib/services/schema-validation.d.ts +240 -0
  350. package/lib/services/schema-validation.d.ts.map +1 -0
  351. package/lib/services/schema-validation.js +306 -0
  352. package/lib/services/schema-validation.js.map +1 -0
  353. package/lib/services/secrets-store.d.ts +321 -0
  354. package/lib/services/secrets-store.d.ts.map +1 -0
  355. package/lib/services/secrets-store.js +385 -0
  356. package/lib/services/secrets-store.js.map +1 -0
  357. package/lib/services/security-center.d.ts +102 -0
  358. package/lib/services/security-center.d.ts.map +1 -0
  359. package/lib/services/security-center.js +170 -0
  360. package/lib/services/security-center.js.map +1 -0
  361. package/lib/services/security-txt.d.ts +105 -0
  362. package/lib/services/security-txt.d.ts.map +1 -0
  363. package/lib/services/security-txt.js +136 -0
  364. package/lib/services/security-txt.js.map +1 -0
  365. package/lib/services/snippets.d.ts +138 -0
  366. package/lib/services/snippets.d.ts.map +1 -0
  367. package/lib/services/snippets.js +178 -0
  368. package/lib/services/snippets.js.map +1 -0
  369. package/lib/services/spectrum.d.ts +316 -0
  370. package/lib/services/spectrum.d.ts.map +1 -0
  371. package/lib/services/spectrum.js +510 -0
  372. package/lib/services/spectrum.js.map +1 -0
  373. package/lib/services/speed.d.ts +227 -0
  374. package/lib/services/speed.d.ts.map +1 -0
  375. package/lib/services/speed.js +444 -0
  376. package/lib/services/speed.js.map +1 -0
  377. package/lib/services/ssl.d.ts +370 -0
  378. package/lib/services/ssl.d.ts.map +1 -0
  379. package/lib/services/ssl.js +732 -0
  380. package/lib/services/ssl.js.map +1 -0
  381. package/lib/services/stream.d.ts +1014 -0
  382. package/lib/services/stream.d.ts.map +1 -0
  383. package/lib/services/stream.js +1049 -0
  384. package/lib/services/stream.js.map +1 -0
  385. package/lib/services/token-validation.d.ts +547 -0
  386. package/lib/services/token-validation.d.ts.map +1 -0
  387. package/lib/services/token-validation.js +768 -0
  388. package/lib/services/token-validation.js.map +1 -0
  389. package/lib/services/turnstile.d.ts +248 -0
  390. package/lib/services/turnstile.d.ts.map +1 -0
  391. package/lib/services/turnstile.js +308 -0
  392. package/lib/services/turnstile.js.map +1 -0
  393. package/lib/services/url-normalization.d.ts +53 -0
  394. package/lib/services/url-normalization.d.ts.map +1 -0
  395. package/lib/services/url-normalization.js +52 -0
  396. package/lib/services/url-normalization.js.map +1 -0
  397. package/lib/services/url-scanner.d.ts +612 -0
  398. package/lib/services/url-scanner.d.ts.map +1 -0
  399. package/lib/services/url-scanner.js +915 -0
  400. package/lib/services/url-scanner.js.map +1 -0
  401. package/lib/services/user.d.ts +441 -0
  402. package/lib/services/user.d.ts.map +1 -0
  403. package/lib/services/user.js +567 -0
  404. package/lib/services/user.js.map +1 -0
  405. package/lib/services/vectorize.d.ts +282 -0
  406. package/lib/services/vectorize.d.ts.map +1 -0
  407. package/lib/services/vectorize.js +340 -0
  408. package/lib/services/vectorize.js.map +1 -0
  409. package/lib/services/waiting-rooms.d.ts +1009 -0
  410. package/lib/services/waiting-rooms.d.ts.map +1 -0
  411. package/lib/services/waiting-rooms.js +1757 -0
  412. package/lib/services/waiting-rooms.js.map +1 -0
  413. package/lib/services/web3.d.ts +274 -0
  414. package/lib/services/web3.d.ts.map +1 -0
  415. package/lib/services/web3.js +362 -0
  416. package/lib/services/web3.js.map +1 -0
  417. package/lib/services/workers-for-platforms.d.ts +1224 -0
  418. package/lib/services/workers-for-platforms.d.ts.map +1 -0
  419. package/lib/services/workers-for-platforms.js +2078 -0
  420. package/lib/services/workers-for-platforms.js.map +1 -0
  421. package/lib/services/workers.d.ts +3498 -0
  422. package/lib/services/workers.d.ts.map +1 -0
  423. package/lib/services/workers.js +5967 -0
  424. package/lib/services/workers.js.map +1 -0
  425. package/lib/services/workflows.d.ts +359 -0
  426. package/lib/services/workflows.d.ts.map +1 -0
  427. package/lib/services/workflows.js +516 -0
  428. package/lib/services/workflows.js.map +1 -0
  429. package/lib/services/zaraz.d.ts +300 -0
  430. package/lib/services/zaraz.d.ts.map +1 -0
  431. package/lib/services/zaraz.js +298 -0
  432. package/lib/services/zaraz.js.map +1 -0
  433. package/lib/services/zero-trust.d.ts +15449 -0
  434. package/lib/services/zero-trust.d.ts.map +1 -0
  435. package/lib/services/zero-trust.js +29194 -0
  436. package/lib/services/zero-trust.js.map +1 -0
  437. package/lib/services/zones.d.ts +1278 -0
  438. package/lib/services/zones.d.ts.map +1 -0
  439. package/lib/services/zones.js +2416 -0
  440. package/lib/services/zones.js.map +1 -0
  441. package/lib/traits.d.ts +28 -0
  442. package/lib/traits.d.ts.map +1 -0
  443. package/lib/traits.js +26 -0
  444. package/lib/traits.js.map +1 -0
  445. package/package.json +67 -5
  446. package/src/auth.ts +14 -0
  447. package/src/category.ts +1 -0
  448. package/src/client/api.ts +269 -0
  449. package/src/client/index.ts +7 -0
  450. package/src/credentials.ts +30 -0
  451. package/src/errors.ts +65 -0
  452. package/src/index.ts +9 -0
  453. package/src/retry.ts +35 -0
  454. package/src/schemas.ts +51 -0
  455. package/src/services/abuse-reports.ts +747 -0
  456. package/src/services/accounts.ts +1947 -0
  457. package/src/services/acm.ts +170 -0
  458. package/src/services/addressing.ts +3947 -0
  459. package/src/services/ai-gateway.ts +3335 -0
  460. package/src/services/ai.ts +727 -0
  461. package/src/services/aisearch.ts +4750 -0
  462. package/src/services/alerting.ts +2947 -0
  463. package/src/services/api-gateway.ts +3391 -0
  464. package/src/services/argo.ts +254 -0
  465. package/src/services/audit-logs.ts +90 -0
  466. package/src/services/billing.ts +172 -0
  467. package/src/services/bot-management.ts +541 -0
  468. package/src/services/botnet-feed.ts +193 -0
  469. package/src/services/brand-protection.ts +553 -0
  470. package/src/services/browser-rendering.ts +2707 -0
  471. package/src/services/cache.ts +827 -0
  472. package/src/services/calls.ts +483 -0
  473. package/src/services/certificate-authorities.ts +110 -0
  474. package/src/services/client-certificates.ts +718 -0
  475. package/src/services/cloud-connector.ts +181 -0
  476. package/src/services/cloudforce-one.ts +3876 -0
  477. package/src/services/connectivity.ts +629 -0
  478. package/src/services/content-scanning.ts +385 -0
  479. package/src/services/custom-certificates.ts +611 -0
  480. package/src/services/custom-hostnames.ts +2453 -0
  481. package/src/services/custom-nameservers.ts +182 -0
  482. package/src/services/custom-pages.ts +264 -0
  483. package/src/services/d1.ts +1034 -0
  484. package/src/services/dcv-delegation.ts +52 -0
  485. package/src/services/diagnostics.ts +603 -0
  486. package/src/services/dns-firewall.ts +823 -0
  487. package/src/services/dns.ts +8897 -0
  488. package/src/services/durable-objects.ts +148 -0
  489. package/src/services/email-routing.ts +1602 -0
  490. package/src/services/email-security.ts +4283 -0
  491. package/src/services/filters.ts +370 -0
  492. package/src/services/firewall.ts +3896 -0
  493. package/src/services/healthchecks.ts +1750 -0
  494. package/src/services/hostnames.ts +218 -0
  495. package/src/services/hyperdrive.ts +592 -0
  496. package/src/services/iam.ts +1668 -0
  497. package/src/services/images.ts +1086 -0
  498. package/src/services/intel.ts +2768 -0
  499. package/src/services/ips.ts +88 -0
  500. package/src/services/keyless-certificates.ts +462 -0
  501. package/src/services/kv.ts +1011 -0
  502. package/src/services/leaked-credential-checks.ts +325 -0
  503. package/src/services/load-balancers.ts +6438 -0
  504. package/src/services/logpush.ts +1667 -0
  505. package/src/services/logs.ts +375 -0
  506. package/src/services/magic-cloud-networking.ts +10020 -0
  507. package/src/services/magic-network-monitoring.ts +1156 -0
  508. package/src/services/magic-transit.ts +13050 -0
  509. package/src/services/managed-transforms.ts +237 -0
  510. package/src/services/memberships.ts +615 -0
  511. package/src/services/mtls-certificates.ts +374 -0
  512. package/src/services/network-interconnects.ts +1253 -0
  513. package/src/services/organizations.ts +674 -0
  514. package/src/services/origin-ca-certificates.ts +303 -0
  515. package/src/services/origin-post-quantum-encryption.ts +128 -0
  516. package/src/services/origin-tls-client-auth.ts +878 -0
  517. package/src/services/page-rules.ts +2612 -0
  518. package/src/services/page-shield.ts +1195 -0
  519. package/src/services/pages.ts +5709 -0
  520. package/src/services/pipelines.ts +6000 -0
  521. package/src/services/queues.ts +2629 -0
  522. package/src/services/r2-data-catalog.ts +1119 -0
  523. package/src/services/r2.ts +3348 -0
  524. package/src/services/radar.ts +42152 -0
  525. package/src/services/rate-limits.ts +1150 -0
  526. package/src/services/realtime-kit.ts +11079 -0
  527. package/src/services/registrar.ts +295 -0
  528. package/src/services/request-tracers.ts +158 -0
  529. package/src/services/resource-sharing.ts +1832 -0
  530. package/src/services/rules.ts +837 -0
  531. package/src/services/rulesets.ts +15144 -0
  532. package/src/services/rum.ts +901 -0
  533. package/src/services/schema-validation.ts +733 -0
  534. package/src/services/secrets-store.ts +860 -0
  535. package/src/services/security-center.ts +397 -0
  536. package/src/services/security-txt.ts +315 -0
  537. package/src/services/snippets.ts +420 -0
  538. package/src/services/spectrum.ts +1103 -0
  539. package/src/services/speed.ts +1056 -0
  540. package/src/services/ssl.ts +1587 -0
  541. package/src/services/stream.ts +2756 -0
  542. package/src/services/token-validation.ts +1585 -0
  543. package/src/services/turnstile.ts +643 -0
  544. package/src/services/url-normalization.ts +129 -0
  545. package/src/services/url-scanner.ts +1851 -0
  546. package/src/services/user.ts +1384 -0
  547. package/src/services/vectorize.ts +816 -0
  548. package/src/services/waiting-rooms.ts +3807 -0
  549. package/src/services/web3.ts +834 -0
  550. package/src/services/workers-for-platforms.ts +3859 -0
  551. package/src/services/workers.ts +11637 -0
  552. package/src/services/workflows.ts +1124 -0
  553. package/src/services/zaraz.ts +797 -0
  554. package/src/services/zero-trust.ts +58933 -0
  555. package/src/services/zones.ts +4875 -0
  556. package/src/traits.ts +47 -0
  557. package/README.md +0 -15
  558. package/bun.lock +0 -26
  559. package/index.ts +0 -1
  560. package/tsconfig.json +0 -29
@@ -0,0 +1,1014 @@
1
+ /**
2
+ * Cloudflare STREAM API
3
+ *
4
+ * Generated from Cloudflare TypeScript SDK.
5
+ * DO NOT EDIT - regenerate with: bun scripts/generate.ts --service stream
6
+ */
7
+ import * as Schema from "effect/Schema";
8
+ import type * as HttpClient from "effect/unstable/http/HttpClient";
9
+ import * as API from "../client/api.ts";
10
+ import type { Credentials } from "../credentials";
11
+ import { type DefaultErrors } from "../errors";
12
+ export interface GetAudioTrackRequest {
13
+ identifier: string;
14
+ /** The account identifier tag. */
15
+ accountId: string;
16
+ }
17
+ export declare const GetAudioTrackRequest: Schema.Schema<GetAudioTrackRequest>;
18
+ export type GetAudioTrackResponse = {
19
+ default?: boolean | null;
20
+ label?: string | null;
21
+ status?: "queued" | "ready" | "error" | null;
22
+ uid?: string | null;
23
+ }[];
24
+ export declare const GetAudioTrackResponse: Schema.Schema<GetAudioTrackResponse>;
25
+ export type GetAudioTrackError = DefaultErrors;
26
+ export declare const getAudioTrack: API.OperationMethod<GetAudioTrackRequest, GetAudioTrackResponse, GetAudioTrackError, Credentials | HttpClient.HttpClient>;
27
+ export interface PatchAudioTrackRequest {
28
+ identifier: string;
29
+ audioIdentifier: string;
30
+ /** Path param: The account identifier tag. */
31
+ accountId: string;
32
+ /** Body param: Denotes whether the audio track will be played by default in a player. */
33
+ default?: boolean;
34
+ /** Body param: A string to uniquely identify the track amongst other audio track labels for the specified video. */
35
+ label?: string;
36
+ }
37
+ export declare const PatchAudioTrackRequest: Schema.Schema<PatchAudioTrackRequest>;
38
+ export interface PatchAudioTrackResponse {
39
+ /** Denotes whether the audio track will be played by default in a player. */
40
+ default?: boolean | null;
41
+ /** A string to uniquely identify the track amongst other audio track labels for the specified video. */
42
+ label?: string | null;
43
+ /** Specifies the processing status of the video. */
44
+ status?: "queued" | "ready" | "error" | null;
45
+ /** A Cloudflare-generated unique identifier for a media item. */
46
+ uid?: string | null;
47
+ }
48
+ export declare const PatchAudioTrackResponse: Schema.Schema<PatchAudioTrackResponse>;
49
+ export type PatchAudioTrackError = DefaultErrors;
50
+ export declare const patchAudioTrack: API.OperationMethod<PatchAudioTrackRequest, PatchAudioTrackResponse, PatchAudioTrackError, Credentials | HttpClient.HttpClient>;
51
+ export interface DeleteAudioTrackRequest {
52
+ identifier: string;
53
+ audioIdentifier: string;
54
+ /** The account identifier tag. */
55
+ accountId: string;
56
+ }
57
+ export declare const DeleteAudioTrackRequest: Schema.Schema<DeleteAudioTrackRequest>;
58
+ export type DeleteAudioTrackResponse = string;
59
+ export declare const DeleteAudioTrackResponse: Schema.Schema<string>;
60
+ export type DeleteAudioTrackError = DefaultErrors;
61
+ export declare const deleteAudioTrack: API.OperationMethod<DeleteAudioTrackRequest, DeleteAudioTrackResponse, DeleteAudioTrackError, Credentials | HttpClient.HttpClient>;
62
+ export interface CopyAudioTrackRequest {
63
+ identifier: string;
64
+ /** Path param: The account identifier tag. */
65
+ accountId: string;
66
+ /** Body param: A string to uniquely identify the track amongst other audio track labels for the specified video. */
67
+ label: string;
68
+ /** Body param: An audio track URL. The server must be publicly routable and support `HTTP HEAD` requests and `HTTP GET` range requests. The server should respond to `HTTP HEAD` requests with a `content-r */
69
+ url?: string;
70
+ }
71
+ export declare const CopyAudioTrackRequest: Schema.Schema<CopyAudioTrackRequest>;
72
+ export interface CopyAudioTrackResponse {
73
+ /** Denotes whether the audio track will be played by default in a player. */
74
+ default?: boolean | null;
75
+ /** A string to uniquely identify the track amongst other audio track labels for the specified video. */
76
+ label?: string | null;
77
+ /** Specifies the processing status of the video. */
78
+ status?: "queued" | "ready" | "error" | null;
79
+ /** A Cloudflare-generated unique identifier for a media item. */
80
+ uid?: string | null;
81
+ }
82
+ export declare const CopyAudioTrackResponse: Schema.Schema<CopyAudioTrackResponse>;
83
+ export type CopyAudioTrackError = DefaultErrors;
84
+ export declare const copyAudioTrack: API.OperationMethod<CopyAudioTrackRequest, CopyAudioTrackResponse, CopyAudioTrackError, Credentials | HttpClient.HttpClient>;
85
+ export interface GetCaptionRequest {
86
+ identifier: string;
87
+ /** Identifier. */
88
+ accountId: string;
89
+ }
90
+ export declare const GetCaptionRequest: Schema.Schema<GetCaptionRequest>;
91
+ export type GetCaptionResponse = {
92
+ generated?: boolean | null;
93
+ label?: string | null;
94
+ language?: string | null;
95
+ status?: "ready" | "inprogress" | "error" | null;
96
+ }[];
97
+ export declare const GetCaptionResponse: Schema.Schema<GetCaptionResponse>;
98
+ export type GetCaptionError = DefaultErrors;
99
+ export declare const getCaption: API.OperationMethod<GetCaptionRequest, GetCaptionResponse, GetCaptionError, Credentials | HttpClient.HttpClient>;
100
+ export interface GetCaptionLanguageRequest {
101
+ identifier: string;
102
+ language: string;
103
+ /** Identifier. */
104
+ accountId: string;
105
+ }
106
+ export declare const GetCaptionLanguageRequest: Schema.Schema<GetCaptionLanguageRequest>;
107
+ export type GetCaptionLanguageResponse = unknown;
108
+ export declare const GetCaptionLanguageResponse: Schema.Schema<unknown>;
109
+ export type GetCaptionLanguageError = DefaultErrors;
110
+ export declare const getCaptionLanguage: API.OperationMethod<GetCaptionLanguageRequest, GetCaptionLanguageResponse, GetCaptionLanguageError, Credentials | HttpClient.HttpClient>;
111
+ export interface CreateCaptionLanguageRequest {
112
+ identifier: string;
113
+ language: string;
114
+ /** Identifier. */
115
+ accountId: string;
116
+ }
117
+ export declare const CreateCaptionLanguageRequest: Schema.Schema<CreateCaptionLanguageRequest>;
118
+ export type CreateCaptionLanguageResponse = unknown;
119
+ export declare const CreateCaptionLanguageResponse: Schema.Schema<unknown>;
120
+ export type CreateCaptionLanguageError = DefaultErrors;
121
+ export declare const createCaptionLanguage: API.OperationMethod<CreateCaptionLanguageRequest, CreateCaptionLanguageResponse, CreateCaptionLanguageError, Credentials | HttpClient.HttpClient>;
122
+ export interface UpdateCaptionLanguageRequest {
123
+ identifier: string;
124
+ language: string;
125
+ /** Path param: Identifier. */
126
+ accountId: string;
127
+ /** Body param: The WebVTT file containing the caption or subtitle content. */
128
+ file: string;
129
+ }
130
+ export declare const UpdateCaptionLanguageRequest: Schema.Schema<UpdateCaptionLanguageRequest>;
131
+ export type UpdateCaptionLanguageResponse = unknown;
132
+ export declare const UpdateCaptionLanguageResponse: Schema.Schema<unknown>;
133
+ export type UpdateCaptionLanguageError = DefaultErrors;
134
+ export declare const updateCaptionLanguage: API.OperationMethod<UpdateCaptionLanguageRequest, UpdateCaptionLanguageResponse, UpdateCaptionLanguageError, Credentials | HttpClient.HttpClient>;
135
+ export interface DeleteCaptionLanguageRequest {
136
+ identifier: string;
137
+ language: string;
138
+ /** Identifier. */
139
+ accountId: string;
140
+ }
141
+ export declare const DeleteCaptionLanguageRequest: Schema.Schema<DeleteCaptionLanguageRequest>;
142
+ export type DeleteCaptionLanguageResponse = string;
143
+ export declare const DeleteCaptionLanguageResponse: Schema.Schema<string>;
144
+ export type DeleteCaptionLanguageError = DefaultErrors;
145
+ export declare const deleteCaptionLanguage: API.OperationMethod<DeleteCaptionLanguageRequest, DeleteCaptionLanguageResponse, DeleteCaptionLanguageError, Credentials | HttpClient.HttpClient>;
146
+ export interface GetCaptionLanguageVttRequest {
147
+ identifier: string;
148
+ language: string;
149
+ /** Identifier. */
150
+ accountId: string;
151
+ }
152
+ export declare const GetCaptionLanguageVttRequest: Schema.Schema<GetCaptionLanguageVttRequest>;
153
+ export type GetCaptionLanguageVttResponse = unknown;
154
+ export declare const GetCaptionLanguageVttResponse: Schema.Schema<unknown>;
155
+ export type GetCaptionLanguageVttError = DefaultErrors;
156
+ export declare const getCaptionLanguageVtt: API.OperationMethod<GetCaptionLanguageVttRequest, GetCaptionLanguageVttResponse, GetCaptionLanguageVttError, Credentials | HttpClient.HttpClient>;
157
+ export interface CreateClipRequest {
158
+ /** Path param: The account identifier tag. */
159
+ accountId: string;
160
+ /** Body param: The unique video identifier (UID). */
161
+ clippedFromVideoUID: string;
162
+ /** Body param: Specifies the end time for the video clip in seconds. */
163
+ endTimeSeconds: number;
164
+ /** Body param: Specifies the start time for the video clip in seconds. */
165
+ startTimeSeconds: number;
166
+ /** Body param: Lists the origins allowed to display the video. Enter allowed origin domains in an array and use ` ` for wildcard subdomains. Empty arrays allow the video to be viewed on any origin. */
167
+ allowedOrigins?: string[];
168
+ /** Body param: A user-defined identifier for the media creator. */
169
+ creator?: string;
170
+ /** Body param: The maximum duration in seconds for a video upload. Can be set for a video that is not yet uploaded to limit its duration. Uploads that exceed the specified duration will fail during proce */
171
+ maxDurationSeconds?: number;
172
+ /** Body param: Indicates whether the video can be a accessed using the UID. When set to `true`, a signed token must be generated with a signing key to view the video. */
173
+ requireSignedURLs?: boolean;
174
+ /** Body param: The timestamp for a thumbnail image calculated as a percentage value of the video's duration. To convert from a second-wise timestamp to a percentage, divide the desired timestamp by the t */
175
+ thumbnailTimestampPct?: number;
176
+ /** Body param: */
177
+ watermark?: {
178
+ uid?: string;
179
+ };
180
+ }
181
+ export declare const CreateClipRequest: Schema.Schema<CreateClipRequest>;
182
+ export interface CreateClipResponse {
183
+ /** Lists the origins allowed to display the video. Enter allowed origin domains in an array and use ` ` for wildcard subdomains. Empty arrays allow the video to be viewed on any origin. */
184
+ allowedOrigins?: string[] | null;
185
+ /** The unique video identifier (UID). */
186
+ clippedFromVideoUID?: string | null;
187
+ /** The date and time the clip was created. */
188
+ created?: string | null;
189
+ /** A user-defined identifier for the media creator. */
190
+ creator?: string | null;
191
+ /** Specifies the end time for the video clip in seconds. */
192
+ endTimeSeconds?: number | null;
193
+ /** The maximum duration in seconds for a video upload. Can be set for a video that is not yet uploaded to limit its duration. Uploads that exceed the specified duration will fail during processing. A val */
194
+ maxDurationSeconds?: number | null;
195
+ /** A user modifiable key-value store used to reference other systems of record for managing videos. */
196
+ meta?: unknown | null;
197
+ /** The date and time the live input was last modified. */
198
+ modified?: string | null;
199
+ playback?: {
200
+ dash?: string | null;
201
+ hls?: string | null;
202
+ } | null;
203
+ /** The video's preview page URI. This field is omitted until encoding is complete. */
204
+ preview?: string | null;
205
+ /** Indicates whether the video can be a accessed using the UID. When set to `true`, a signed token must be generated with a signing key to view the video. */
206
+ requireSignedURLs?: boolean | null;
207
+ /** Specifies the start time for the video clip in seconds. */
208
+ startTimeSeconds?: number | null;
209
+ /** Specifies the processing status for all quality levels for a video. */
210
+ status?: "pendingupload" | "downloading" | "queued" | "inprogress" | "ready" | "error" | "live-inprogress" | null;
211
+ /** The timestamp for a thumbnail image calculated as a percentage value of the video's duration. To convert from a second-wise timestamp to a percentage, divide the desired timestamp by the total duratio */
212
+ thumbnailTimestampPct?: number | null;
213
+ watermark?: {
214
+ uid?: string | null;
215
+ } | null;
216
+ }
217
+ export declare const CreateClipResponse: Schema.Schema<CreateClipResponse>;
218
+ export type CreateClipError = DefaultErrors;
219
+ export declare const createClip: API.OperationMethod<CreateClipRequest, CreateClipResponse, CreateClipError, Credentials | HttpClient.HttpClient>;
220
+ export interface CreateCopyRequest {
221
+ /** Path param: The account identifier tag. */
222
+ accountId: string;
223
+ /** Header param: A user-defined identifier for the media creator. */
224
+ uploadCreator?: string;
225
+ /** Body param: A video's URL. The server must be publicly routable and support `HTTP HEAD` requests and `HTTP GET` range requests. The server should respond to `HTTP HEAD` requests with a `content-range` */
226
+ url: string;
227
+ /** Body param: Lists the origins allowed to display the video. Enter allowed origin domains in an array and use ` ` for wildcard subdomains. Empty arrays allow the video to be viewed on any origin. */
228
+ allowedOrigins?: string[];
229
+ /** Body param: A user-defined identifier for the media creator. */
230
+ creator?: string;
231
+ /** Body param: A user modifiable key-value store used to reference other systems of record for managing videos. */
232
+ meta?: unknown;
233
+ /** Body param: Indicates whether the video can be a accessed using the UID. When set to `true`, a signed token must be generated with a signing key to view the video. */
234
+ requireSignedURLs?: boolean;
235
+ /** Body param: Indicates the date and time at which the video will be deleted. Omit the field to indicate no change, or include with a `null` value to remove an existing scheduled deletion. If specified, */
236
+ scheduledDeletion?: string;
237
+ /** Body param: The timestamp for a thumbnail image calculated as a percentage value of the video's duration. To convert from a second-wise timestamp to a percentage, divide the desired timestamp by the t */
238
+ thumbnailTimestampPct?: number;
239
+ /** Body param: */
240
+ watermark?: {
241
+ uid?: string;
242
+ };
243
+ }
244
+ export declare const CreateCopyRequest: Schema.Schema<CreateCopyRequest>;
245
+ export type CreateCopyResponse = unknown;
246
+ export declare const CreateCopyResponse: Schema.Schema<unknown>;
247
+ export type CreateCopyError = DefaultErrors;
248
+ export declare const createCopy: API.OperationMethod<CreateCopyRequest, CreateCopyResponse, CreateCopyError, Credentials | HttpClient.HttpClient>;
249
+ export interface CreateDirectUploadRequest {
250
+ /** Path param: The account identifier tag. */
251
+ accountId: string;
252
+ /** Header param: A user-defined identifier for the media creator. */
253
+ uploadCreator?: string;
254
+ /** Body param: The maximum duration in seconds for a video upload. Can be set for a video that is not yet uploaded to limit its duration. Uploads that exceed the specified duration will fail during proce */
255
+ maxDurationSeconds: number;
256
+ /** Body param: Lists the origins allowed to display the video. Enter allowed origin domains in an array and use ` ` for wildcard subdomains. Empty arrays allow the video to be viewed on any origin. */
257
+ allowedOrigins?: string[];
258
+ /** Body param: A user-defined identifier for the media creator. */
259
+ creator?: string;
260
+ /** Body param: The date and time after upload when videos will not be accepted. */
261
+ expiry?: string;
262
+ /** Body param: A user modifiable key-value store used to reference other systems of record for managing videos. */
263
+ meta?: unknown;
264
+ /** Body param: Indicates whether the video can be a accessed using the UID. When set to `true`, a signed token must be generated with a signing key to view the video. */
265
+ requireSignedURLs?: boolean;
266
+ /** Body param: Indicates the date and time at which the video will be deleted. Omit the field to indicate no change, or include with a `null` value to remove an existing scheduled deletion. If specified, */
267
+ scheduledDeletion?: string;
268
+ /** Body param: The timestamp for a thumbnail image calculated as a percentage value of the video's duration. To convert from a second-wise timestamp to a percentage, divide the desired timestamp by the t */
269
+ thumbnailTimestampPct?: number;
270
+ /** Body param: */
271
+ watermark?: {
272
+ uid?: string;
273
+ };
274
+ }
275
+ export declare const CreateDirectUploadRequest: Schema.Schema<CreateDirectUploadRequest>;
276
+ export interface CreateDirectUploadResponse {
277
+ /** Indicates the date and time at which the video will be deleted. Omit the field to indicate no change, or include with a `null` value to remove an existing scheduled deletion. If specified, must be at */
278
+ scheduledDeletion?: string | null;
279
+ /** A Cloudflare-generated unique identifier for a media item. */
280
+ uid?: string | null;
281
+ /** The URL an unauthenticated upload can use for a single `HTTP POST multipart/form-data` request. */
282
+ uploadURL?: string | null;
283
+ watermark?: unknown | null;
284
+ }
285
+ export declare const CreateDirectUploadResponse: Schema.Schema<CreateDirectUploadResponse>;
286
+ export type CreateDirectUploadError = DefaultErrors;
287
+ export declare const createDirectUpload: API.OperationMethod<CreateDirectUploadRequest, CreateDirectUploadResponse, CreateDirectUploadError, Credentials | HttpClient.HttpClient>;
288
+ export interface GetDownloadRequest {
289
+ identifier: string;
290
+ /** Identifier. */
291
+ accountId: string;
292
+ }
293
+ export declare const GetDownloadRequest: Schema.Schema<GetDownloadRequest>;
294
+ export interface GetDownloadResponse {
295
+ /** The audio-only download. Only present if this download type has been created. */
296
+ audio?: {
297
+ percentComplete?: number | null;
298
+ status?: "ready" | "inprogress" | "error" | null;
299
+ url?: string | null;
300
+ } | null;
301
+ /** The default video download. Only present if this download type has been created. */
302
+ default?: {
303
+ percentComplete?: number | null;
304
+ status?: "ready" | "inprogress" | "error" | null;
305
+ url?: string | null;
306
+ } | null;
307
+ }
308
+ export declare const GetDownloadResponse: Schema.Schema<GetDownloadResponse>;
309
+ export type GetDownloadError = DefaultErrors;
310
+ export declare const getDownload: API.OperationMethod<GetDownloadRequest, GetDownloadResponse, GetDownloadError, Credentials | HttpClient.HttpClient>;
311
+ export interface CreateDownloadRequest {
312
+ identifier: string;
313
+ /** Path param: Identifier. */
314
+ accountId: string;
315
+ /** Body param: */
316
+ body: unknown;
317
+ }
318
+ export declare const CreateDownloadRequest: Schema.Schema<CreateDownloadRequest>;
319
+ export interface CreateDownloadResponse {
320
+ /** Indicates the progress as a percentage between 0 and 100. */
321
+ percentComplete?: number | null;
322
+ /** The status of a generated download. */
323
+ status?: "ready" | "inprogress" | "error" | null;
324
+ /** The URL to access the generated download. */
325
+ url?: string | null;
326
+ }
327
+ export declare const CreateDownloadResponse: Schema.Schema<CreateDownloadResponse>;
328
+ export type CreateDownloadError = DefaultErrors;
329
+ export declare const createDownload: API.OperationMethod<CreateDownloadRequest, CreateDownloadResponse, CreateDownloadError, Credentials | HttpClient.HttpClient>;
330
+ export interface DeleteDownloadRequest {
331
+ identifier: string;
332
+ /** Identifier. */
333
+ accountId: string;
334
+ }
335
+ export declare const DeleteDownloadRequest: Schema.Schema<DeleteDownloadRequest>;
336
+ export type DeleteDownloadResponse = string;
337
+ export declare const DeleteDownloadResponse: Schema.Schema<string>;
338
+ export type DeleteDownloadError = DefaultErrors;
339
+ export declare const deleteDownload: API.OperationMethod<DeleteDownloadRequest, DeleteDownloadResponse, DeleteDownloadError, Credentials | HttpClient.HttpClient>;
340
+ export interface GetEmbedRequest {
341
+ identifier: string;
342
+ /** The account identifier tag. */
343
+ accountId: string;
344
+ }
345
+ export declare const GetEmbedRequest: Schema.Schema<GetEmbedRequest>;
346
+ export type GetEmbedResponse = unknown;
347
+ export declare const GetEmbedResponse: Schema.Schema<unknown>;
348
+ export type GetEmbedError = DefaultErrors;
349
+ export declare const getEmbed: API.OperationMethod<GetEmbedRequest, GetEmbedResponse, GetEmbedError, Credentials | HttpClient.HttpClient>;
350
+ export interface GetKeyRequest {
351
+ /** Identifier. */
352
+ accountId: string;
353
+ }
354
+ export declare const GetKeyRequest: Schema.Schema<GetKeyRequest>;
355
+ export type GetKeyResponse = {
356
+ id?: string | null;
357
+ created?: string | null;
358
+ }[];
359
+ export declare const GetKeyResponse: Schema.Schema<GetKeyResponse>;
360
+ export type GetKeyError = DefaultErrors;
361
+ export declare const getKey: API.OperationMethod<GetKeyRequest, GetKeyResponse, GetKeyError, Credentials | HttpClient.HttpClient>;
362
+ export interface CreateKeyRequest {
363
+ /** Path param: Identifier. */
364
+ accountId: string;
365
+ /** Body param: */
366
+ body: unknown;
367
+ }
368
+ export declare const CreateKeyRequest: Schema.Schema<CreateKeyRequest>;
369
+ export interface CreateKeyResponse {
370
+ /** Identifier. */
371
+ id?: string | null;
372
+ /** The date and time a signing key was created. */
373
+ created?: string | null;
374
+ /** The signing key in JWK format. */
375
+ jwk?: string | null;
376
+ /** The signing key in PEM format. */
377
+ pem?: string | null;
378
+ }
379
+ export declare const CreateKeyResponse: Schema.Schema<CreateKeyResponse>;
380
+ export type CreateKeyError = DefaultErrors;
381
+ export declare const createKey: API.OperationMethod<CreateKeyRequest, CreateKeyResponse, CreateKeyError, Credentials | HttpClient.HttpClient>;
382
+ export interface DeleteKeyRequest {
383
+ identifier: string;
384
+ /** Identifier. */
385
+ accountId: string;
386
+ }
387
+ export declare const DeleteKeyRequest: Schema.Schema<DeleteKeyRequest>;
388
+ export type DeleteKeyResponse = string;
389
+ export declare const DeleteKeyResponse: Schema.Schema<string>;
390
+ export type DeleteKeyError = DefaultErrors;
391
+ export declare const deleteKey: API.OperationMethod<DeleteKeyRequest, DeleteKeyResponse, DeleteKeyError, Credentials | HttpClient.HttpClient>;
392
+ export interface GetLiveInputRequest {
393
+ liveInputIdentifier: string;
394
+ /** Identifier. */
395
+ accountId: string;
396
+ }
397
+ export declare const GetLiveInputRequest: Schema.Schema<GetLiveInputRequest>;
398
+ export interface GetLiveInputResponse {
399
+ /** The date and time the live input was created. */
400
+ created?: string | null;
401
+ /** Indicates the number of days after which the live inputs recordings will be deleted. When a stream completes and the recording is ready, the value is used to calculate a scheduled deletion date for th */
402
+ deleteRecordingAfterDays?: number | null;
403
+ /** A user modifiable key-value store used to reference other systems of record for managing live inputs. */
404
+ meta?: unknown | null;
405
+ /** The date and time the live input was last modified. */
406
+ modified?: string | null;
407
+ /** A unique identifier for a live input. */
408
+ uid?: string | null;
409
+ }
410
+ export declare const GetLiveInputResponse: Schema.Schema<GetLiveInputResponse>;
411
+ export type GetLiveInputError = DefaultErrors;
412
+ export declare const getLiveInput: API.OperationMethod<GetLiveInputRequest, GetLiveInputResponse, GetLiveInputError, Credentials | HttpClient.HttpClient>;
413
+ export interface ListLiveInputsRequest {
414
+ /** Path param: Identifier. */
415
+ accountId: string;
416
+ /** Query param: Includes the total number of videos associated with the submitted query parameters. */
417
+ includeCounts?: boolean;
418
+ }
419
+ export declare const ListLiveInputsRequest: Schema.Schema<ListLiveInputsRequest>;
420
+ export interface ListLiveInputsResponse {
421
+ liveInputs?: {
422
+ created?: string | null;
423
+ deleteRecordingAfterDays?: number | null;
424
+ meta?: unknown | null;
425
+ modified?: string | null;
426
+ uid?: string | null;
427
+ }[] | null;
428
+ /** The total number of remaining live inputs based on cursor position. */
429
+ range?: number | null;
430
+ /** The total number of live inputs that match the provided filters. */
431
+ total?: number | null;
432
+ }
433
+ export declare const ListLiveInputsResponse: Schema.Schema<ListLiveInputsResponse>;
434
+ export type ListLiveInputsError = DefaultErrors;
435
+ export declare const listLiveInputs: API.OperationMethod<ListLiveInputsRequest, ListLiveInputsResponse, ListLiveInputsError, Credentials | HttpClient.HttpClient>;
436
+ export interface CreateLiveInputRequest {
437
+ /** Path param: Identifier. */
438
+ accountId: string;
439
+ /** Body param: Sets the creator ID asssociated with this live input. */
440
+ defaultCreator?: string;
441
+ /** Body param: Indicates the number of days after which the live inputs recordings will be deleted. When a stream completes and the recording is ready, the value is used to calculate a scheduled deletion */
442
+ deleteRecordingAfterDays?: number;
443
+ /** Body param: A user modifiable key-value store used to reference other systems of record for managing live inputs. */
444
+ meta?: unknown;
445
+ /** Body param: Records the input to a Cloudflare Stream video. Behavior depends on the mode. In most cases, the video will initially be viewable as a live video and transition to on-demand after a condit */
446
+ recording?: {
447
+ allowedOrigins?: string[];
448
+ hideLiveViewerCount?: boolean;
449
+ mode?: "off" | "automatic";
450
+ requireSignedURLs?: boolean;
451
+ timeoutSeconds?: number;
452
+ };
453
+ }
454
+ export declare const CreateLiveInputRequest: Schema.Schema<CreateLiveInputRequest>;
455
+ export interface CreateLiveInputResponse {
456
+ /** The date and time the live input was created. */
457
+ created?: string | null;
458
+ /** Indicates the number of days after which the live inputs recordings will be deleted. When a stream completes and the recording is ready, the value is used to calculate a scheduled deletion date for th */
459
+ deleteRecordingAfterDays?: number | null;
460
+ /** A user modifiable key-value store used to reference other systems of record for managing live inputs. */
461
+ meta?: unknown | null;
462
+ /** The date and time the live input was last modified. */
463
+ modified?: string | null;
464
+ /** A unique identifier for a live input. */
465
+ uid?: string | null;
466
+ }
467
+ export declare const CreateLiveInputResponse: Schema.Schema<CreateLiveInputResponse>;
468
+ export type CreateLiveInputError = DefaultErrors;
469
+ export declare const createLiveInput: API.OperationMethod<CreateLiveInputRequest, CreateLiveInputResponse, CreateLiveInputError, Credentials | HttpClient.HttpClient>;
470
+ export interface UpdateLiveInputRequest {
471
+ liveInputIdentifier: string;
472
+ /** Path param: Identifier. */
473
+ accountId: string;
474
+ /** Body param: Sets the creator ID asssociated with this live input. */
475
+ defaultCreator?: string;
476
+ /** Body param: Indicates the number of days after which the live inputs recordings will be deleted. When a stream completes and the recording is ready, the value is used to calculate a scheduled deletion */
477
+ deleteRecordingAfterDays?: number;
478
+ /** Body param: A user modifiable key-value store used to reference other systems of record for managing live inputs. */
479
+ meta?: unknown;
480
+ /** Body param: Records the input to a Cloudflare Stream video. Behavior depends on the mode. In most cases, the video will initially be viewable as a live video and transition to on-demand after a condit */
481
+ recording?: {
482
+ allowedOrigins?: string[];
483
+ hideLiveViewerCount?: boolean;
484
+ mode?: "off" | "automatic";
485
+ requireSignedURLs?: boolean;
486
+ timeoutSeconds?: number;
487
+ };
488
+ }
489
+ export declare const UpdateLiveInputRequest: Schema.Schema<UpdateLiveInputRequest>;
490
+ export interface UpdateLiveInputResponse {
491
+ /** The date and time the live input was created. */
492
+ created?: string | null;
493
+ /** Indicates the number of days after which the live inputs recordings will be deleted. When a stream completes and the recording is ready, the value is used to calculate a scheduled deletion date for th */
494
+ deleteRecordingAfterDays?: number | null;
495
+ /** A user modifiable key-value store used to reference other systems of record for managing live inputs. */
496
+ meta?: unknown | null;
497
+ /** The date and time the live input was last modified. */
498
+ modified?: string | null;
499
+ /** A unique identifier for a live input. */
500
+ uid?: string | null;
501
+ }
502
+ export declare const UpdateLiveInputResponse: Schema.Schema<UpdateLiveInputResponse>;
503
+ export type UpdateLiveInputError = DefaultErrors;
504
+ export declare const updateLiveInput: API.OperationMethod<UpdateLiveInputRequest, UpdateLiveInputResponse, UpdateLiveInputError, Credentials | HttpClient.HttpClient>;
505
+ export interface DeleteLiveInputRequest {
506
+ liveInputIdentifier: string;
507
+ /** Identifier. */
508
+ accountId: string;
509
+ }
510
+ export declare const DeleteLiveInputRequest: Schema.Schema<DeleteLiveInputRequest>;
511
+ export type DeleteLiveInputResponse = unknown;
512
+ export declare const DeleteLiveInputResponse: Schema.Schema<unknown>;
513
+ export type DeleteLiveInputError = DefaultErrors;
514
+ export declare const deleteLiveInput: API.OperationMethod<DeleteLiveInputRequest, DeleteLiveInputResponse, DeleteLiveInputError, Credentials | HttpClient.HttpClient>;
515
+ export interface ListLiveInputOutputsRequest {
516
+ liveInputIdentifier: string;
517
+ /** Identifier. */
518
+ accountId: string;
519
+ }
520
+ export declare const ListLiveInputOutputsRequest: Schema.Schema<ListLiveInputOutputsRequest>;
521
+ export type ListLiveInputOutputsResponse = {
522
+ enabled?: boolean | null;
523
+ streamKey?: string | null;
524
+ uid?: string | null;
525
+ url?: string | null;
526
+ }[];
527
+ export declare const ListLiveInputOutputsResponse: Schema.Schema<ListLiveInputOutputsResponse>;
528
+ export type ListLiveInputOutputsError = DefaultErrors;
529
+ export declare const listLiveInputOutputs: API.OperationMethod<ListLiveInputOutputsRequest, ListLiveInputOutputsResponse, ListLiveInputOutputsError, Credentials | HttpClient.HttpClient>;
530
+ export interface CreateLiveInputOutputRequest {
531
+ liveInputIdentifier: string;
532
+ /** Path param: Identifier. */
533
+ accountId: string;
534
+ /** Body param: The streamKey used to authenticate against an output's target. */
535
+ streamKey: string;
536
+ /** Body param: The URL an output uses to restream. */
537
+ url: string;
538
+ /** Body param: When enabled, live video streamed to the associated live input will be sent to the output URL. When disabled, live video will not be sent to the output URL, even when streaming to the asso */
539
+ enabled?: boolean;
540
+ }
541
+ export declare const CreateLiveInputOutputRequest: Schema.Schema<CreateLiveInputOutputRequest>;
542
+ export interface CreateLiveInputOutputResponse {
543
+ /** When enabled, live video streamed to the associated live input will be sent to the output URL. When disabled, live video will not be sent to the output URL, even when streaming to the associated live */
544
+ enabled?: boolean | null;
545
+ /** The streamKey used to authenticate against an output's target. */
546
+ streamKey?: string | null;
547
+ /** A unique identifier for the output. */
548
+ uid?: string | null;
549
+ /** The URL an output uses to restream. */
550
+ url?: string | null;
551
+ }
552
+ export declare const CreateLiveInputOutputResponse: Schema.Schema<CreateLiveInputOutputResponse>;
553
+ export type CreateLiveInputOutputError = DefaultErrors;
554
+ export declare const createLiveInputOutput: API.OperationMethod<CreateLiveInputOutputRequest, CreateLiveInputOutputResponse, CreateLiveInputOutputError, Credentials | HttpClient.HttpClient>;
555
+ export interface UpdateLiveInputOutputRequest {
556
+ liveInputIdentifier: string;
557
+ outputIdentifier: string;
558
+ /** Path param: Identifier. */
559
+ accountId: string;
560
+ /** Body param: When enabled, live video streamed to the associated live input will be sent to the output URL. When disabled, live video will not be sent to the output URL, even when streaming to the asso */
561
+ enabled: boolean;
562
+ }
563
+ export declare const UpdateLiveInputOutputRequest: Schema.Schema<UpdateLiveInputOutputRequest>;
564
+ export interface UpdateLiveInputOutputResponse {
565
+ /** When enabled, live video streamed to the associated live input will be sent to the output URL. When disabled, live video will not be sent to the output URL, even when streaming to the associated live */
566
+ enabled?: boolean | null;
567
+ /** The streamKey used to authenticate against an output's target. */
568
+ streamKey?: string | null;
569
+ /** A unique identifier for the output. */
570
+ uid?: string | null;
571
+ /** The URL an output uses to restream. */
572
+ url?: string | null;
573
+ }
574
+ export declare const UpdateLiveInputOutputResponse: Schema.Schema<UpdateLiveInputOutputResponse>;
575
+ export type UpdateLiveInputOutputError = DefaultErrors;
576
+ export declare const updateLiveInputOutput: API.OperationMethod<UpdateLiveInputOutputRequest, UpdateLiveInputOutputResponse, UpdateLiveInputOutputError, Credentials | HttpClient.HttpClient>;
577
+ export interface DeleteLiveInputOutputRequest {
578
+ liveInputIdentifier: string;
579
+ outputIdentifier: string;
580
+ /** Identifier. */
581
+ accountId: string;
582
+ }
583
+ export declare const DeleteLiveInputOutputRequest: Schema.Schema<DeleteLiveInputOutputRequest>;
584
+ export type DeleteLiveInputOutputResponse = unknown;
585
+ export declare const DeleteLiveInputOutputResponse: Schema.Schema<unknown>;
586
+ export type DeleteLiveInputOutputError = DefaultErrors;
587
+ export declare const deleteLiveInputOutput: API.OperationMethod<DeleteLiveInputOutputRequest, DeleteLiveInputOutputResponse, DeleteLiveInputOutputError, Credentials | HttpClient.HttpClient>;
588
+ export interface GetStreamRequest {
589
+ identifier: string;
590
+ /** The account identifier tag. */
591
+ accountId: string;
592
+ }
593
+ export declare const GetStreamRequest: Schema.Schema<GetStreamRequest>;
594
+ export interface GetStreamResponse {
595
+ /** Lists the origins allowed to display the video. Enter allowed origin domains in an array and use ` ` for wildcard subdomains. Empty arrays allow the video to be viewed on any origin. */
596
+ allowedOrigins?: string[] | null;
597
+ /** The date and time the media item was created. */
598
+ created?: string | null;
599
+ /** A user-defined identifier for the media creator. */
600
+ creator?: string | null;
601
+ /** The duration of the video in seconds. A value of `-1` means the duration is unknown. The duration becomes available after the upload and before the video is ready. */
602
+ duration?: number | null;
603
+ input?: {
604
+ height?: number | null;
605
+ width?: number | null;
606
+ } | null;
607
+ /** The live input ID used to upload a video with Stream Live. */
608
+ liveInput?: string | null;
609
+ /** The maximum duration in seconds for a video upload. Can be set for a video that is not yet uploaded to limit its duration. Uploads that exceed the specified duration will fail during processing. A val */
610
+ maxDurationSeconds?: number | null;
611
+ /** A user modifiable key-value store used to reference other systems of record for managing videos. */
612
+ meta?: unknown | null;
613
+ /** The date and time the media item was last modified. */
614
+ modified?: string | null;
615
+ playback?: {
616
+ dash?: string | null;
617
+ hls?: string | null;
618
+ } | null;
619
+ /** The video's preview page URI. This field is omitted until encoding is complete. */
620
+ preview?: string | null;
621
+ /** Indicates whether the video is playable. The field is empty if the video is not ready for viewing or the live stream is still in progress. */
622
+ readyToStream?: boolean | null;
623
+ /** Indicates the time at which the video became playable. The field is empty if the video is not ready for viewing or the live stream is still in progress. */
624
+ readyToStreamAt?: string | null;
625
+ /** Indicates whether the video can be a accessed using the UID. When set to `true`, a signed token must be generated with a signing key to view the video. */
626
+ requireSignedURLs?: boolean | null;
627
+ /** Indicates the date and time at which the video will be deleted. Omit the field to indicate no change, or include with a `null` value to remove an existing scheduled deletion. If specified, must be at */
628
+ scheduledDeletion?: string | null;
629
+ /** The size of the media item in bytes. */
630
+ size?: number | null;
631
+ /** Specifies a detailed status for a video. If the `state` is `inprogress` or `error`, the `step` field returns `encoding` or `manifest`. If the `state` is `inprogress`, `pctComplete` returns a number be */
632
+ status?: {
633
+ errorReasonCode?: string | null;
634
+ errorReasonText?: string | null;
635
+ pctComplete?: string | null;
636
+ state?: "pendingupload" | "downloading" | "queued" | "inprogress" | "ready" | "error" | "live-inprogress" | null;
637
+ } | null;
638
+ /** The media item's thumbnail URI. This field is omitted until encoding is complete. */
639
+ thumbnail?: string | null;
640
+ /** The timestamp for a thumbnail image calculated as a percentage value of the video's duration. To convert from a second-wise timestamp to a percentage, divide the desired timestamp by the total duratio */
641
+ thumbnailTimestampPct?: number | null;
642
+ /** A Cloudflare-generated unique identifier for a media item. */
643
+ uid?: string | null;
644
+ /** The date and time the media item was uploaded. */
645
+ uploaded?: string | null;
646
+ /** The date and time when the video upload URL is no longer valid for direct user uploads. */
647
+ uploadExpiry?: string | null;
648
+ watermark?: unknown | null;
649
+ }
650
+ export declare const GetStreamResponse: Schema.Schema<GetStreamResponse>;
651
+ export type GetStreamError = DefaultErrors;
652
+ export declare const getStream: API.OperationMethod<GetStreamRequest, GetStreamResponse, GetStreamError, Credentials | HttpClient.HttpClient>;
653
+ export interface ListStreamsRequest {
654
+ /** Path param: The account identifier tag. */
655
+ accountId: string;
656
+ /** Query param: Lists videos in ascending order of creation. */
657
+ asc?: boolean;
658
+ /** Query param: A user-defined identifier for the media creator. */
659
+ creator?: string;
660
+ /** Query param: Lists videos created before the specified date. */
661
+ end?: string;
662
+ /** Query param: Includes the total number of videos associated with the submitted query parameters. */
663
+ includeCounts?: boolean;
664
+ /** Query param: Provides a partial word match of the `name` key in the `meta` field. Slow for medium to large video libraries. May be unavailable for very large libraries. */
665
+ search?: string;
666
+ /** Query param: Lists videos created after the specified date. */
667
+ start?: string;
668
+ /** Query param: Specifies the processing status for all quality levels for a video. */
669
+ status?: "pendingupload" | "downloading" | "queued" | "inprogress" | "ready" | "error" | "live-inprogress";
670
+ /** Query param: Specifies whether the video is `vod` or `live`. */
671
+ type?: string;
672
+ /** Query param: Provides a fast, exact string match on the `name` key in the `meta` field. */
673
+ videoName?: string;
674
+ }
675
+ export declare const ListStreamsRequest: Schema.Schema<ListStreamsRequest>;
676
+ export type ListStreamsResponse = {
677
+ allowedOrigins?: string[] | null;
678
+ created?: string | null;
679
+ creator?: string | null;
680
+ duration?: number | null;
681
+ input?: {
682
+ height?: number | null;
683
+ width?: number | null;
684
+ } | null;
685
+ liveInput?: string | null;
686
+ maxDurationSeconds?: number | null;
687
+ meta?: unknown | null;
688
+ modified?: string | null;
689
+ playback?: {
690
+ dash?: string | null;
691
+ hls?: string | null;
692
+ } | null;
693
+ preview?: string | null;
694
+ readyToStream?: boolean | null;
695
+ readyToStreamAt?: string | null;
696
+ requireSignedURLs?: boolean | null;
697
+ scheduledDeletion?: string | null;
698
+ size?: number | null;
699
+ status?: {
700
+ errorReasonCode?: string | null;
701
+ errorReasonText?: string | null;
702
+ pctComplete?: string | null;
703
+ state?: "pendingupload" | "downloading" | "queued" | "inprogress" | "ready" | "error" | "live-inprogress" | null;
704
+ } | null;
705
+ thumbnail?: string | null;
706
+ thumbnailTimestampPct?: number | null;
707
+ uid?: string | null;
708
+ uploaded?: string | null;
709
+ uploadExpiry?: string | null;
710
+ watermark?: unknown | null;
711
+ }[];
712
+ export declare const ListStreamsResponse: Schema.Schema<ListStreamsResponse>;
713
+ export type ListStreamsError = DefaultErrors;
714
+ export declare const listStreams: API.OperationMethod<ListStreamsRequest, ListStreamsResponse, ListStreamsError, Credentials | HttpClient.HttpClient>;
715
+ export interface CreateStreamRequest {
716
+ /** Path param: The account identifier tag. */
717
+ accountId: string;
718
+ /** Query param: Provisions a URL to let your end users upload videos directly to Cloudflare Stream without exposing your API token to clients. */
719
+ directUser?: boolean;
720
+ /** Header param: Specifies the TUS protocol version. This value must be included in every upload request. Notes: The only supported version of TUS protocol is 1.0.0. */
721
+ tusResumable: "1.0.0";
722
+ /** Header param: Indicates the size of the entire upload in bytes. The value must be a non-negative integer. */
723
+ uploadLength: number;
724
+ /** Header param: A user-defined identifier for the media creator. */
725
+ uploadCreator?: string;
726
+ /** Header param: Comma-separated key-value pairs following the TUS protocol specification. Values are Base-64 encoded. Supported keys: `name`, `requiresignedurls`, `allowedorigins`, `thumbnailtimestamppc */
727
+ uploadMetadata?: string;
728
+ /** Body param: */
729
+ body: unknown;
730
+ }
731
+ export declare const CreateStreamRequest: Schema.Schema<CreateStreamRequest>;
732
+ export type CreateStreamResponse = unknown;
733
+ export declare const CreateStreamResponse: Schema.Schema<unknown>;
734
+ export type CreateStreamError = DefaultErrors;
735
+ export declare const createStream: API.OperationMethod<CreateStreamRequest, CreateStreamResponse, CreateStreamError, Credentials | HttpClient.HttpClient>;
736
+ export interface DeleteStreamRequest {
737
+ identifier: string;
738
+ /** The account identifier tag. */
739
+ accountId: string;
740
+ }
741
+ export declare const DeleteStreamRequest: Schema.Schema<DeleteStreamRequest>;
742
+ export type DeleteStreamResponse = unknown;
743
+ export declare const DeleteStreamResponse: Schema.Schema<unknown>;
744
+ export type DeleteStreamError = DefaultErrors;
745
+ export declare const deleteStream: API.OperationMethod<DeleteStreamRequest, DeleteStreamResponse, DeleteStreamError, Credentials | HttpClient.HttpClient>;
746
+ export interface EditStreamRequest {
747
+ identifier: string;
748
+ /** Path param: The account identifier tag. */
749
+ accountId: string;
750
+ /** Body param: Lists the origins allowed to display the video. Enter allowed origin domains in an array and use ` ` for wildcard subdomains. Empty arrays allow the video to be viewed on any origin. */
751
+ allowedOrigins?: string[];
752
+ /** Body param: A user-defined identifier for the media creator. */
753
+ creator?: string;
754
+ /** Body param: The maximum duration in seconds for a video upload. Can be set for a video that is not yet uploaded to limit its duration. Uploads that exceed the specified duration will fail during proce */
755
+ maxDurationSeconds?: number;
756
+ /** Body param: A user modifiable key-value store used to reference other systems of record for managing videos. */
757
+ meta?: unknown;
758
+ /** Body param: Indicates whether the video can be a accessed using the UID. When set to `true`, a signed token must be generated with a signing key to view the video. */
759
+ requireSignedURLs?: boolean;
760
+ /** Body param: Indicates the date and time at which the video will be deleted. Omit the field to indicate no change, or include with a `null` value to remove an existing scheduled deletion. If specified, */
761
+ scheduledDeletion?: string;
762
+ /** Body param: The timestamp for a thumbnail image calculated as a percentage value of the video's duration. To convert from a second-wise timestamp to a percentage, divide the desired timestamp by the t */
763
+ thumbnailTimestampPct?: number;
764
+ /** Body param: The date and time when the video upload URL is no longer valid for direct user uploads. */
765
+ uploadExpiry?: string;
766
+ }
767
+ export declare const EditStreamRequest: Schema.Schema<EditStreamRequest>;
768
+ export interface EditStreamResponse {
769
+ /** Lists the origins allowed to display the video. Enter allowed origin domains in an array and use ` ` for wildcard subdomains. Empty arrays allow the video to be viewed on any origin. */
770
+ allowedOrigins?: string[] | null;
771
+ /** The date and time the media item was created. */
772
+ created?: string | null;
773
+ /** A user-defined identifier for the media creator. */
774
+ creator?: string | null;
775
+ /** The duration of the video in seconds. A value of `-1` means the duration is unknown. The duration becomes available after the upload and before the video is ready. */
776
+ duration?: number | null;
777
+ input?: {
778
+ height?: number | null;
779
+ width?: number | null;
780
+ } | null;
781
+ /** The live input ID used to upload a video with Stream Live. */
782
+ liveInput?: string | null;
783
+ /** The maximum duration in seconds for a video upload. Can be set for a video that is not yet uploaded to limit its duration. Uploads that exceed the specified duration will fail during processing. A val */
784
+ maxDurationSeconds?: number | null;
785
+ /** A user modifiable key-value store used to reference other systems of record for managing videos. */
786
+ meta?: unknown | null;
787
+ /** The date and time the media item was last modified. */
788
+ modified?: string | null;
789
+ playback?: {
790
+ dash?: string | null;
791
+ hls?: string | null;
792
+ } | null;
793
+ /** The video's preview page URI. This field is omitted until encoding is complete. */
794
+ preview?: string | null;
795
+ /** Indicates whether the video is playable. The field is empty if the video is not ready for viewing or the live stream is still in progress. */
796
+ readyToStream?: boolean | null;
797
+ /** Indicates the time at which the video became playable. The field is empty if the video is not ready for viewing or the live stream is still in progress. */
798
+ readyToStreamAt?: string | null;
799
+ /** Indicates whether the video can be a accessed using the UID. When set to `true`, a signed token must be generated with a signing key to view the video. */
800
+ requireSignedURLs?: boolean | null;
801
+ /** Indicates the date and time at which the video will be deleted. Omit the field to indicate no change, or include with a `null` value to remove an existing scheduled deletion. If specified, must be at */
802
+ scheduledDeletion?: string | null;
803
+ /** The size of the media item in bytes. */
804
+ size?: number | null;
805
+ /** Specifies a detailed status for a video. If the `state` is `inprogress` or `error`, the `step` field returns `encoding` or `manifest`. If the `state` is `inprogress`, `pctComplete` returns a number be */
806
+ status?: {
807
+ errorReasonCode?: string | null;
808
+ errorReasonText?: string | null;
809
+ pctComplete?: string | null;
810
+ state?: "pendingupload" | "downloading" | "queued" | "inprogress" | "ready" | "error" | "live-inprogress" | null;
811
+ } | null;
812
+ /** The media item's thumbnail URI. This field is omitted until encoding is complete. */
813
+ thumbnail?: string | null;
814
+ /** The timestamp for a thumbnail image calculated as a percentage value of the video's duration. To convert from a second-wise timestamp to a percentage, divide the desired timestamp by the total duratio */
815
+ thumbnailTimestampPct?: number | null;
816
+ /** A Cloudflare-generated unique identifier for a media item. */
817
+ uid?: string | null;
818
+ /** The date and time the media item was uploaded. */
819
+ uploaded?: string | null;
820
+ /** The date and time when the video upload URL is no longer valid for direct user uploads. */
821
+ uploadExpiry?: string | null;
822
+ watermark?: unknown | null;
823
+ }
824
+ export declare const EditStreamResponse: Schema.Schema<EditStreamResponse>;
825
+ export type EditStreamError = DefaultErrors;
826
+ export declare const editStream: API.OperationMethod<EditStreamRequest, EditStreamResponse, EditStreamError, Credentials | HttpClient.HttpClient>;
827
+ export interface CreateTokenRequest {
828
+ identifier: string;
829
+ /** Path param: The account identifier tag. */
830
+ accountId: string;
831
+ /** Body param: The optional ID of a Stream signing key. If present, the `pem` field is also required. */
832
+ id?: string;
833
+ /** Body param: The optional list of access rule constraints on the token. Access can be blocked or allowed based on an IP, IP range, or by country. Access rules are evaluated from first to last. If a rul */
834
+ accessRules?: {
835
+ action?: "allow" | "block";
836
+ country?: string[];
837
+ ip?: string[];
838
+ type?: "any" | "ip.src" | "ip.geoip.country";
839
+ }[];
840
+ /** Body param: The optional boolean value that enables using signed tokens to access MP4 download links for a video. */
841
+ downloadable?: boolean;
842
+ /** Body param: The optional unix epoch timestamp that specficies the time after a token is not accepted. The maximum time specification is 24 hours from issuing time. If this field is not set, the defaul */
843
+ exp?: number;
844
+ /** Body param: The optional unix epoch timestamp that specifies the time before a the token is not accepted. If this field is not set, the default is one hour before issuing. */
845
+ nbf?: number;
846
+ /** Body param: The optional base64 encoded private key in PEM format associated with a Stream signing key. If present, the `id` field is also required. */
847
+ pem?: string;
848
+ }
849
+ export declare const CreateTokenRequest: Schema.Schema<CreateTokenRequest>;
850
+ export interface CreateTokenResponse {
851
+ /** The signed token used with the signed URLs feature. */
852
+ token?: string | null;
853
+ }
854
+ export declare const CreateTokenResponse: Schema.Schema<CreateTokenResponse>;
855
+ export type CreateTokenError = DefaultErrors;
856
+ export declare const createToken: API.OperationMethod<CreateTokenRequest, CreateTokenResponse, CreateTokenError, Credentials | HttpClient.HttpClient>;
857
+ export interface StorageUsageVideoRequest {
858
+ /** Path param: The account identifier tag. */
859
+ accountId: string;
860
+ /** Query param: A user-defined identifier for the media creator. */
861
+ creator?: string;
862
+ }
863
+ export declare const StorageUsageVideoRequest: Schema.Schema<StorageUsageVideoRequest>;
864
+ export interface StorageUsageVideoResponse {
865
+ /** A user-defined identifier for the media creator. */
866
+ creator?: string | null;
867
+ /** The total minutes of video content stored in the account. */
868
+ totalStorageMinutes?: number | null;
869
+ /** The storage capacity alloted for the account. */
870
+ totalStorageMinutesLimit?: number | null;
871
+ /** The total count of videos associated with the account. */
872
+ videoCount?: number | null;
873
+ }
874
+ export declare const StorageUsageVideoResponse: Schema.Schema<StorageUsageVideoResponse>;
875
+ export type StorageUsageVideoError = DefaultErrors;
876
+ export declare const storageUsageVideo: API.OperationMethod<StorageUsageVideoRequest, StorageUsageVideoResponse, StorageUsageVideoError, Credentials | HttpClient.HttpClient>;
877
+ export interface GetWatermarkRequest {
878
+ identifier: string;
879
+ /** The account identifier tag. */
880
+ accountId: string;
881
+ }
882
+ export declare const GetWatermarkRequest: Schema.Schema<GetWatermarkRequest>;
883
+ export interface GetWatermarkResponse {
884
+ /** The date and a time a watermark profile was created. */
885
+ created?: string | null;
886
+ /** The source URL for a downloaded image. If the watermark profile was created via direct upload, this field is null. */
887
+ downloadedFrom?: string | null;
888
+ /** The height of the image in pixels. */
889
+ height?: number | null;
890
+ /** A short description of the watermark profile. */
891
+ name?: string | null;
892
+ /** The translucency of the image. A value of `0.0` makes the image completely transparent, and `1.0` makes the image completely opaque. Note that if the image is already semi-transparent, setting this to */
893
+ opacity?: number | null;
894
+ /** The whitespace between the adjacent edges (determined by position) of the video and the image. `0.0` indicates no padding, and `1.0` indicates a fully padded video width or length, as determined by th */
895
+ padding?: number | null;
896
+ /** The location of the image. Valid positions are: `upperRight`, `upperLeft`, `lowerLeft`, `lowerRight`, and `center`. Note that `center` ignores the `padding` parameter. */
897
+ position?: string | null;
898
+ /** The size of the image relative to the overall size of the video. This parameter will adapt to horizontal and vertical videos automatically. `0.0` indicates no scaling (use the size of the image as-is) */
899
+ scale?: number | null;
900
+ /** The size of the image in bytes. */
901
+ size?: number | null;
902
+ /** The unique identifier for a watermark profile. */
903
+ uid?: string | null;
904
+ /** The width of the image in pixels. */
905
+ width?: number | null;
906
+ }
907
+ export declare const GetWatermarkResponse: Schema.Schema<GetWatermarkResponse>;
908
+ export type GetWatermarkError = DefaultErrors;
909
+ export declare const getWatermark: API.OperationMethod<GetWatermarkRequest, GetWatermarkResponse, GetWatermarkError, Credentials | HttpClient.HttpClient>;
910
+ export interface ListWatermarksRequest {
911
+ /** The account identifier tag. */
912
+ accountId: string;
913
+ }
914
+ export declare const ListWatermarksRequest: Schema.Schema<ListWatermarksRequest>;
915
+ export type ListWatermarksResponse = {
916
+ created?: string | null;
917
+ downloadedFrom?: string | null;
918
+ height?: number | null;
919
+ name?: string | null;
920
+ opacity?: number | null;
921
+ padding?: number | null;
922
+ position?: string | null;
923
+ scale?: number | null;
924
+ size?: number | null;
925
+ uid?: string | null;
926
+ width?: number | null;
927
+ }[];
928
+ export declare const ListWatermarksResponse: Schema.Schema<ListWatermarksResponse>;
929
+ export type ListWatermarksError = DefaultErrors;
930
+ export declare const listWatermarks: API.OperationMethod<ListWatermarksRequest, ListWatermarksResponse, ListWatermarksError, Credentials | HttpClient.HttpClient>;
931
+ export interface CreateWatermarkRequest {
932
+ /** Path param: The account identifier tag. */
933
+ accountId: string;
934
+ /** Body param: The image file to upload. */
935
+ file: string;
936
+ /** Body param: A short description of the watermark profile. */
937
+ name?: string;
938
+ /** Body param: The translucency of the image. A value of `0.0` makes the image completely transparent, and `1.0` makes the image completely opaque. Note that if the image is already semi-transparent, set */
939
+ opacity?: number;
940
+ /** Body param: The whitespace between the adjacent edges (determined by position) of the video and the image. `0.0` indicates no padding, and `1.0` indicates a fully padded video width or length, as dete */
941
+ padding?: number;
942
+ /** Body param: The location of the image. Valid positions are: `upperRight`, `upperLeft`, `lowerLeft`, `lowerRight`, and `center`. Note that `center` ignores the `padding` parameter. */
943
+ position?: string;
944
+ /** Body param: The size of the image relative to the overall size of the video. This parameter will adapt to horizontal and vertical videos automatically. `0.0` indicates no scaling (use the size of the */
945
+ scale?: number;
946
+ }
947
+ export declare const CreateWatermarkRequest: Schema.Schema<CreateWatermarkRequest>;
948
+ export interface CreateWatermarkResponse {
949
+ /** The date and a time a watermark profile was created. */
950
+ created?: string | null;
951
+ /** The source URL for a downloaded image. If the watermark profile was created via direct upload, this field is null. */
952
+ downloadedFrom?: string | null;
953
+ /** The height of the image in pixels. */
954
+ height?: number | null;
955
+ /** A short description of the watermark profile. */
956
+ name?: string | null;
957
+ /** The translucency of the image. A value of `0.0` makes the image completely transparent, and `1.0` makes the image completely opaque. Note that if the image is already semi-transparent, setting this to */
958
+ opacity?: number | null;
959
+ /** The whitespace between the adjacent edges (determined by position) of the video and the image. `0.0` indicates no padding, and `1.0` indicates a fully padded video width or length, as determined by th */
960
+ padding?: number | null;
961
+ /** The location of the image. Valid positions are: `upperRight`, `upperLeft`, `lowerLeft`, `lowerRight`, and `center`. Note that `center` ignores the `padding` parameter. */
962
+ position?: string | null;
963
+ /** The size of the image relative to the overall size of the video. This parameter will adapt to horizontal and vertical videos automatically. `0.0` indicates no scaling (use the size of the image as-is) */
964
+ scale?: number | null;
965
+ /** The size of the image in bytes. */
966
+ size?: number | null;
967
+ /** The unique identifier for a watermark profile. */
968
+ uid?: string | null;
969
+ /** The width of the image in pixels. */
970
+ width?: number | null;
971
+ }
972
+ export declare const CreateWatermarkResponse: Schema.Schema<CreateWatermarkResponse>;
973
+ export type CreateWatermarkError = DefaultErrors;
974
+ export declare const createWatermark: API.OperationMethod<CreateWatermarkRequest, CreateWatermarkResponse, CreateWatermarkError, Credentials | HttpClient.HttpClient>;
975
+ export interface DeleteWatermarkRequest {
976
+ identifier: string;
977
+ /** The account identifier tag. */
978
+ accountId: string;
979
+ }
980
+ export declare const DeleteWatermarkRequest: Schema.Schema<DeleteWatermarkRequest>;
981
+ export type DeleteWatermarkResponse = string;
982
+ export declare const DeleteWatermarkResponse: Schema.Schema<string>;
983
+ export type DeleteWatermarkError = DefaultErrors;
984
+ export declare const deleteWatermark: API.OperationMethod<DeleteWatermarkRequest, DeleteWatermarkResponse, DeleteWatermarkError, Credentials | HttpClient.HttpClient>;
985
+ export interface GetWebhookRequest {
986
+ /** The account identifier tag. */
987
+ accountId: string;
988
+ }
989
+ export declare const GetWebhookRequest: Schema.Schema<GetWebhookRequest>;
990
+ export type GetWebhookResponse = unknown;
991
+ export declare const GetWebhookResponse: Schema.Schema<unknown>;
992
+ export type GetWebhookError = DefaultErrors;
993
+ export declare const getWebhook: API.OperationMethod<GetWebhookRequest, GetWebhookResponse, GetWebhookError, Credentials | HttpClient.HttpClient>;
994
+ export interface PutWebhookRequest {
995
+ /** Path param: The account identifier tag. */
996
+ accountId: string;
997
+ /** Body param: The URL where webhooks will be sent. */
998
+ notificationUrl: string;
999
+ }
1000
+ export declare const PutWebhookRequest: Schema.Schema<PutWebhookRequest>;
1001
+ export type PutWebhookResponse = unknown;
1002
+ export declare const PutWebhookResponse: Schema.Schema<unknown>;
1003
+ export type PutWebhookError = DefaultErrors;
1004
+ export declare const putWebhook: API.OperationMethod<PutWebhookRequest, PutWebhookResponse, PutWebhookError, Credentials | HttpClient.HttpClient>;
1005
+ export interface DeleteWebhookRequest {
1006
+ /** The account identifier tag. */
1007
+ accountId: string;
1008
+ }
1009
+ export declare const DeleteWebhookRequest: Schema.Schema<DeleteWebhookRequest>;
1010
+ export type DeleteWebhookResponse = string;
1011
+ export declare const DeleteWebhookResponse: Schema.Schema<string>;
1012
+ export type DeleteWebhookError = DefaultErrors;
1013
+ export declare const deleteWebhook: API.OperationMethod<DeleteWebhookRequest, DeleteWebhookResponse, DeleteWebhookError, Credentials | HttpClient.HttpClient>;
1014
+ //# sourceMappingURL=stream.d.ts.map