@clipwright/core 0.60.0 → 0.61.0

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 (587) hide show
  1. package/dist/account-actors.d.ts +0 -43
  2. package/dist/account-actors.js +0 -55
  3. package/dist/account.d.ts +0 -6
  4. package/dist/account.js +0 -18
  5. package/dist/actor-bounds.d.ts +0 -5
  6. package/dist/actor-bounds.js +0 -6
  7. package/dist/actor-qualities.d.ts +0 -3
  8. package/dist/actor-qualities.js +0 -4
  9. package/dist/actors.d.ts +0 -16
  10. package/dist/actors.js +0 -21
  11. package/dist/ad-guide.js +0 -2
  12. package/dist/ad-pause-trim.d.ts +0 -5
  13. package/dist/ad-pause-trim.js +0 -8
  14. package/dist/api-failure.d.ts +0 -44
  15. package/dist/api-failure.js +0 -62
  16. package/dist/aspect.d.ts +0 -29
  17. package/dist/aspect.js +1 -34
  18. package/dist/asset-identity.d.ts +0 -2
  19. package/dist/asset-identity.js +0 -3
  20. package/dist/assets.d.ts +0 -34
  21. package/dist/assets.js +0 -42
  22. package/dist/billing-terms.d.ts +0 -3
  23. package/dist/billing-terms.js +0 -4
  24. package/dist/brand-styles.d.ts +0 -6
  25. package/dist/brand-styles.js +0 -13
  26. package/dist/broll-policy.js +0 -1
  27. package/dist/canvas-fit.d.ts +0 -2
  28. package/dist/canvas-fit.js +0 -4
  29. package/dist/caption-funnel.d.ts +0 -2
  30. package/dist/caption-funnel.js +0 -15
  31. package/dist/caption-geometry.d.ts +0 -6
  32. package/dist/caption-geometry.js +0 -10
  33. package/dist/caption-language.d.ts +0 -3
  34. package/dist/caption-language.js +0 -6
  35. package/dist/contract-dispositions.d.ts +0 -61
  36. package/dist/contract-dispositions.js +3 -96
  37. package/dist/contracts/v1/workflow-brief.d.ts +57 -3
  38. package/dist/contracts/v1/workflow-brief.js +0 -13
  39. package/dist/contracts/v1/workflow-catalog.d.ts +114 -0
  40. package/dist/contracts/v1/workflow-catalog.js +0 -3
  41. package/dist/contracts/v1/workflow-client.d.ts +114 -0
  42. package/dist/contracts/v1/workflow-client.js +0 -1
  43. package/dist/contracts/v1/workflow-dto.js +0 -1
  44. package/dist/contracts/v1/workflow-evidence.js +0 -1
  45. package/dist/contracts/v1/workflow-execution.d.ts +0 -1
  46. package/dist/contracts/v1/workflow-execution.js +0 -4
  47. package/dist/contracts/v1/workflow-next.d.ts +0 -2
  48. package/dist/contracts/v1/workflow-next.js +0 -3
  49. package/dist/contracts/v1/workflow-plan.d.ts +171 -0
  50. package/dist/contracts/v1/workflow-plan.js +0 -1
  51. package/dist/contracts/v1/workflow-primitives.d.ts +0 -1
  52. package/dist/contracts/v1/workflow-primitives.js +0 -2
  53. package/dist/contracts/v1/workflow-run-read.d.ts +0 -1
  54. package/dist/contracts/v1/workflow-run-read.js +0 -3
  55. package/dist/creator-profile.d.ts +0 -30
  56. package/dist/creator-profile.js +0 -45
  57. package/dist/default-actor.js +0 -2
  58. package/dist/design.d.ts +0 -17
  59. package/dist/design.js +0 -18
  60. package/dist/edit-billing.d.ts +0 -6
  61. package/dist/edit-billing.js +0 -10
  62. package/dist/edit-candidate.d.ts +0 -6
  63. package/dist/edit-candidate.js +0 -9
  64. package/dist/edit-document.d.ts +0 -12
  65. package/dist/edit-document.js +0 -15
  66. package/dist/edit-faceless.d.ts +0 -3
  67. package/dist/edit-faceless.js +0 -4
  68. package/dist/edit-long-form.d.ts +0 -13
  69. package/dist/edit-long-form.js +0 -17
  70. package/dist/edit-operations.d.ts +0 -1
  71. package/dist/edit-operations.js +0 -2
  72. package/dist/edit-primitives.d.ts +0 -3
  73. package/dist/edit-primitives.js +0 -5
  74. package/dist/edit-revision.d.ts +0 -4
  75. package/dist/edit-revision.js +0 -6
  76. package/dist/edit-rules.d.ts +0 -3
  77. package/dist/edit-rules.js +0 -9
  78. package/dist/edit-shots.d.ts +45 -5
  79. package/dist/edit-shots.js +7 -11
  80. package/dist/edit-validate.d.ts +0 -10
  81. package/dist/edit-validate.js +0 -14
  82. package/dist/edit.js +0 -3
  83. package/dist/endpoint-notes.d.ts +0 -2
  84. package/dist/endpoint-notes.js +0 -3
  85. package/dist/endpoints.d.ts +0 -11
  86. package/dist/endpoints.js +7 -21
  87. package/dist/errors.d.ts +0 -42
  88. package/dist/errors.js +0 -54
  89. package/dist/explainer-fit.d.ts +0 -7
  90. package/dist/explainer-fit.js +0 -10
  91. package/dist/face-billing.d.ts +0 -9
  92. package/dist/face-billing.js +0 -23
  93. package/dist/face-delivery.d.ts +0 -1
  94. package/dist/face-delivery.js +0 -2
  95. package/dist/faceless-action-shots.d.ts +0 -8
  96. package/dist/faceless-action-shots.js +0 -8
  97. package/dist/faceless-customer-anchors.d.ts +0 -1
  98. package/dist/faceless-customer-anchors.js +0 -2
  99. package/dist/faceless-cut-style.js +0 -1
  100. package/dist/faceless-direction-summary.d.ts +0 -2
  101. package/dist/faceless-direction-summary.js +0 -3
  102. package/dist/faceless-image-placement.d.ts +0 -2
  103. package/dist/faceless-image-placement.js +0 -3
  104. package/dist/faceless-image-qualification.js +0 -2
  105. package/dist/faceless-media-record.d.ts +0 -6
  106. package/dist/faceless-media-record.js +0 -11
  107. package/dist/faceless-price.d.ts +0 -45
  108. package/dist/faceless-price.js +0 -64
  109. package/dist/faceless-public-plan.d.ts +0 -13
  110. package/dist/faceless-public-plan.js +0 -11
  111. package/dist/faceless-public.d.ts +0 -26
  112. package/dist/faceless-public.js +0 -59
  113. package/dist/faceless-short-61.js +0 -1
  114. package/dist/faceless-storyboard-timing.js +0 -1
  115. package/dist/faceless-storyboard-v2-plan.js +0 -1
  116. package/dist/faceless-storyboard-v2-timing.d.ts +0 -4
  117. package/dist/faceless-storyboard-v2-timing.js +0 -3
  118. package/dist/faceless-storyboard-v2.js +0 -1
  119. package/dist/faceless-storyboard.js +0 -1
  120. package/dist/faceless-voices.d.ts +0 -16
  121. package/dist/faceless-voices.js +0 -18
  122. package/dist/feedback.d.ts +0 -4
  123. package/dist/feedback.js +0 -5
  124. package/dist/film-directions.d.ts +0 -2
  125. package/dist/film-directions.js +0 -7
  126. package/dist/film-drafts.d.ts +0 -8
  127. package/dist/film-drafts.js +0 -19
  128. package/dist/film-guide.d.ts +0 -3
  129. package/dist/film-guide.js +0 -6
  130. package/dist/film-styles.d.ts +0 -5
  131. package/dist/film-styles.js +0 -8
  132. package/dist/generation-shot.d.ts +0 -5
  133. package/dist/generation-shot.js +0 -8
  134. package/dist/generations-output.d.ts +0 -2
  135. package/dist/generations-output.js +0 -5
  136. package/dist/generations.d.ts +0 -22
  137. package/dist/generations.js +21 -44
  138. package/dist/idempotency.d.ts +1 -21
  139. package/dist/idempotency.js +8 -29
  140. package/dist/index.d.ts +1 -0
  141. package/dist/index.js +1 -28
  142. package/dist/live-shot-kinds.d.ts +16 -25
  143. package/dist/live-shot-kinds.js +12 -28
  144. package/dist/long-form-pricing.d.ts +0 -5
  145. package/dist/long-form-pricing.js +0 -6
  146. package/dist/long-form-profile.d.ts +0 -3
  147. package/dist/long-form-profile.js +0 -4
  148. package/dist/long-form-revision.d.ts +0 -9
  149. package/dist/long-form-revision.js +0 -11
  150. package/dist/markdown-quote.d.ts +0 -2
  151. package/dist/markdown-quote.js +0 -3
  152. package/dist/mascots.d.ts +0 -5
  153. package/dist/mascots.js +0 -10
  154. package/dist/max-credits.d.ts +0 -1
  155. package/dist/max-credits.js +0 -2
  156. package/dist/mcp-ugc-descriptions.d.ts +0 -2
  157. package/dist/mcp-ugc-descriptions.js +1 -6
  158. package/dist/media-timebase.d.ts +0 -2
  159. package/dist/media-timebase.js +0 -6
  160. package/dist/motion-styles.d.ts +0 -8
  161. package/dist/motion-styles.js +0 -11
  162. package/dist/moves.d.ts +0 -7
  163. package/dist/moves.js +0 -9
  164. package/dist/music.d.ts +0 -5
  165. package/dist/music.js +0 -8
  166. package/dist/naming.d.ts +0 -3
  167. package/dist/naming.js +0 -19
  168. package/dist/openapi.d.ts +0 -13
  169. package/dist/openapi.js +6 -11
  170. package/dist/output-provenance.d.ts +0 -4
  171. package/dist/output-provenance.js +0 -5
  172. package/dist/own-agent-price.d.ts +19 -22
  173. package/dist/own-agent-price.js +30 -25
  174. package/dist/own-agent-runs.d.ts +111 -11
  175. package/dist/own-agent-runs.js +89 -24
  176. package/dist/pacing.d.ts +3 -15
  177. package/dist/pacing.js +18 -18
  178. package/dist/parts-pricing.d.ts +0 -28
  179. package/dist/parts-pricing.js +0 -32
  180. package/dist/post-text.d.ts +0 -2
  181. package/dist/post-text.js +0 -4
  182. package/dist/presenter-beats.d.ts +0 -10
  183. package/dist/presenter-beats.js +0 -14
  184. package/dist/presenter-matte.d.ts +0 -7
  185. package/dist/presenter-matte.js +0 -9
  186. package/dist/presenter-takes.d.ts +0 -3
  187. package/dist/presenter-takes.js +0 -8
  188. package/dist/prices.d.ts +2 -8
  189. package/dist/prices.js +13 -23
  190. package/dist/public-endpoints.d.ts +0 -11
  191. package/dist/public-endpoints.js +0 -14
  192. package/dist/public-responses.d.ts +0 -2
  193. package/dist/public-responses.js +0 -3
  194. package/dist/rate-limit.d.ts +0 -24
  195. package/dist/rate-limit.js +0 -29
  196. package/dist/reference-analysis.d.ts +57 -34
  197. package/dist/reference-analysis.js +0 -69
  198. package/dist/reference-bring.d.ts +33 -0
  199. package/dist/reference-bring.js +28 -0
  200. package/dist/reference-display.d.ts +0 -3
  201. package/dist/reference-display.js +37 -4
  202. package/dist/reference-kinds.d.ts +0 -4
  203. package/dist/reference-kinds.js +0 -6
  204. package/dist/reference-lyrics.d.ts +0 -6
  205. package/dist/reference-lyrics.js +0 -6
  206. package/dist/reference-profile.d.ts +270 -39
  207. package/dist/reference-profile.js +64 -50
  208. package/dist/reference-staging.d.ts +0 -10
  209. package/dist/reference-staging.js +0 -14
  210. package/dist/reference-text-spans.d.ts +0 -4
  211. package/dist/reference-text-spans.js +0 -7
  212. package/dist/reference-voice-over.d.ts +0 -6
  213. package/dist/reference-voice-over.js +0 -7
  214. package/dist/reference-voice.d.ts +0 -7
  215. package/dist/reference-voice.js +0 -12
  216. package/dist/render-backend.d.ts +0 -30
  217. package/dist/render-backend.js +0 -5
  218. package/dist/resolved-timeline.d.ts +0 -4
  219. package/dist/resolved-timeline.js +1 -31
  220. package/dist/run-media.d.ts +0 -1
  221. package/dist/run-media.js +0 -2
  222. package/dist/run-preflight.d.ts +0 -4
  223. package/dist/run-preflight.js +0 -11
  224. package/dist/run-static-warnings.d.ts +0 -8
  225. package/dist/run-static-warnings.js +0 -38
  226. package/dist/runs.d.ts +0 -32
  227. package/dist/runs.js +0 -50
  228. package/dist/scene-bible.d.ts +15 -7
  229. package/dist/scene-bible.js +15 -10
  230. package/dist/scene-graph.d.ts +0 -12
  231. package/dist/scene-graph.js +0 -24
  232. package/dist/scene-place.d.ts +0 -25
  233. package/dist/scene-place.js +0 -24
  234. package/dist/scene-proposal.d.ts +0 -3
  235. package/dist/scene-proposal.js +0 -9
  236. package/dist/script-integrity.d.ts +0 -6
  237. package/dist/script-integrity.js +0 -8
  238. package/dist/script-voice.d.ts +0 -7
  239. package/dist/script-voice.js +0 -16
  240. package/dist/semantic-inserts.d.ts +0 -7
  241. package/dist/semantic-inserts.js +0 -10
  242. package/dist/skill-theme-explainer.js +0 -5
  243. package/dist/skill-theme.d.ts +0 -13
  244. package/dist/skill-theme.js +0 -25
  245. package/dist/skills.d.ts +22 -86
  246. package/dist/skills.js +21 -167
  247. package/dist/speech-rhythm-contract.js +0 -1
  248. package/dist/speech-rhythm.d.ts +0 -4
  249. package/dist/speech-rhythm.js +0 -2
  250. package/dist/templates/backdrop.d.ts +0 -3
  251. package/dist/templates/backdrop.js +0 -5
  252. package/dist/templates/callout.d.ts +0 -4
  253. package/dist/templates/callout.js +0 -6
  254. package/dist/templates/chart.d.ts +0 -4
  255. package/dist/templates/chart.js +0 -6
  256. package/dist/templates/chat-window.d.ts +0 -8
  257. package/dist/templates/chat-window.js +0 -10
  258. package/dist/templates/checklist.d.ts +0 -3
  259. package/dist/templates/checklist.js +0 -6
  260. package/dist/templates/comment-cta.d.ts +0 -14
  261. package/dist/templates/comment-cta.js +0 -19
  262. package/dist/templates/compare.d.ts +0 -6
  263. package/dist/templates/compare.js +0 -7
  264. package/dist/templates/cover-story.d.ts +0 -1
  265. package/dist/templates/cover-story.js +0 -3
  266. package/dist/templates/end-card.d.ts +0 -2
  267. package/dist/templates/end-card.js +0 -3
  268. package/dist/templates/hand-title.d.ts +0 -5
  269. package/dist/templates/hand-title.js +0 -9
  270. package/dist/templates/index.d.ts +0 -57
  271. package/dist/templates/index.js +0 -60
  272. package/dist/templates/lower-third.d.ts +0 -4
  273. package/dist/templates/lower-third.js +0 -5
  274. package/dist/templates/notification.d.ts +0 -6
  275. package/dist/templates/notification.js +0 -7
  276. package/dist/templates/phone-call.d.ts +0 -2
  277. package/dist/templates/phone-call.js +0 -6
  278. package/dist/templates/phone-screen.d.ts +0 -5
  279. package/dist/templates/phone-screen.js +0 -7
  280. package/dist/templates/pointer-chips.d.ts +0 -4
  281. package/dist/templates/pointer-chips.js +0 -6
  282. package/dist/templates/progress.d.ts +0 -3
  283. package/dist/templates/progress.js +0 -5
  284. package/dist/templates/quote.d.ts +0 -3
  285. package/dist/templates/quote.js +0 -4
  286. package/dist/templates/race.d.ts +0 -5
  287. package/dist/templates/race.js +0 -7
  288. package/dist/templates/rating.d.ts +0 -3
  289. package/dist/templates/rating.js +0 -5
  290. package/dist/templates/series-frame.d.ts +0 -16
  291. package/dist/templates/series-frame.js +0 -19
  292. package/dist/templates/size.d.ts +0 -7
  293. package/dist/templates/size.js +0 -8
  294. package/dist/templates/slot.d.ts +0 -2
  295. package/dist/templates/slot.js +0 -2
  296. package/dist/templates/sounds.d.ts +0 -12
  297. package/dist/templates/sounds.js +0 -16
  298. package/dist/templates/stat.d.ts +0 -3
  299. package/dist/templates/stat.js +0 -5
  300. package/dist/templates/tag.d.ts +0 -3
  301. package/dist/templates/tag.js +0 -5
  302. package/dist/templates/terminal.d.ts +0 -6
  303. package/dist/templates/terminal.js +0 -8
  304. package/dist/templates/theme.d.ts +0 -7
  305. package/dist/templates/theme.js +0 -9
  306. package/dist/templates/title-card.d.ts +0 -3
  307. package/dist/templates/title-card.js +0 -5
  308. package/dist/templates/video-grid.d.ts +0 -5
  309. package/dist/templates/video-grid.js +0 -8
  310. package/dist/templates/word-fill.d.ts +0 -3
  311. package/dist/templates/word-fill.js +0 -4
  312. package/dist/templates/word-title.d.ts +0 -2
  313. package/dist/templates/word-title.js +0 -4
  314. package/dist/trend-niches.d.ts +0 -11
  315. package/dist/trend-niches.js +0 -16
  316. package/dist/trend-search.d.ts +0 -66
  317. package/dist/trend-search.js +0 -70
  318. package/dist/tts-backend.d.ts +0 -19
  319. package/dist/tts-backend.js +0 -7
  320. package/dist/ugc-call.d.ts +0 -16
  321. package/dist/ugc-call.js +0 -21
  322. package/dist/ugc-delivery.d.ts +0 -2
  323. package/dist/ugc-delivery.js +0 -4
  324. package/dist/ugc-framing.d.ts +0 -4
  325. package/dist/ugc-framing.js +0 -6
  326. package/dist/ugc-interview.d.ts +0 -18
  327. package/dist/ugc-interview.js +0 -24
  328. package/dist/ugc-layers.d.ts +0 -39
  329. package/dist/ugc-layers.js +0 -39
  330. package/dist/ugc-scenes.d.ts +0 -2
  331. package/dist/ugc-scenes.js +0 -5
  332. package/dist/ugc-video-media.d.ts +0 -5
  333. package/dist/ugc-video-media.js +0 -7
  334. package/dist/uploads.d.ts +0 -14
  335. package/dist/uploads.js +0 -17
  336. package/dist/vendor-response.d.ts +0 -19
  337. package/dist/vendor-response.js +0 -22
  338. package/dist/video-size.d.ts +0 -4
  339. package/dist/video-size.js +0 -7
  340. package/dist/voice-admission.d.ts +0 -11
  341. package/dist/voice-admission.js +0 -13
  342. package/dist/voice-catalog-data.d.ts +0 -2
  343. package/dist/voice-catalog-data.js +0 -3
  344. package/dist/voice-catalog.d.ts +0 -6
  345. package/dist/voice-catalog.js +0 -8
  346. package/dist/voice-listing.d.ts +0 -6
  347. package/dist/voice-listing.js +0 -14
  348. package/dist/voice-pace.d.ts +0 -4
  349. package/dist/voice-pace.js +0 -7
  350. package/dist/voice-preview-approval.js +0 -1
  351. package/dist/voices.d.ts +4 -69
  352. package/dist/voices.js +3 -88
  353. package/dist/workflows/catalog.d.ts +0 -2
  354. package/dist/workflows/catalog.js +0 -4
  355. package/dist/workflows/film-directions.d.ts +0 -3
  356. package/dist/workflows/film-directions.js +0 -4
  357. package/dist/workflows/index.js +0 -1
  358. package/dist/workflows/methods/faceless-explainer.d.ts +31 -0
  359. package/dist/workflows/methods/faceless-explainer.js +0 -1
  360. package/dist/workflows/methods/kinetic-launch.d.ts +62 -1
  361. package/dist/workflows/methods/kinetic-launch.js +0 -2
  362. package/dist/workflows/methods/product-image-story.d.ts +31 -0
  363. package/dist/workflows/methods/product-image-story.js +0 -1
  364. package/dist/workflows/methods/reference-remake.d.ts +31 -0
  365. package/dist/workflows/methods/reference-remake.js +0 -1
  366. package/dist/workflows/methods/shared.d.ts +31 -1
  367. package/dist/workflows/methods/shared.js +0 -3
  368. package/dist/workflows/methods/ugc-faq-answer.d.ts +31 -0
  369. package/dist/workflows/methods/ugc-faq-answer.js +0 -1
  370. package/dist/workflows/methods/ugc-product-intro.d.ts +31 -0
  371. package/dist/workflows/methods/ugc-product-intro.js +0 -1
  372. package/dist/workflows/methods/website-proof-demo.d.ts +62 -1
  373. package/dist/workflows/methods/website-proof-demo.js +0 -2
  374. package/dist/workflows/motion-director.d.ts +0 -11
  375. package/dist/workflows/motion-director.js +0 -11
  376. package/dist/workflows/product-references.js +0 -1
  377. package/dist/workflows/reference-remake.d.ts +114 -17
  378. package/dist/workflows/reference-remake.js +0 -167
  379. package/dist/workflows/remake-chooser.d.ts +0 -6
  380. package/dist/workflows/remake-chooser.js +0 -4
  381. package/dist/workflows/remake-motion.d.ts +0 -16
  382. package/dist/workflows/remake-motion.js +0 -19
  383. package/dist/workflows/validate.d.ts +0 -1
  384. package/dist/workflows/validate.js +0 -5
  385. package/dist/workflows.js +0 -1
  386. package/package.json +1 -1
  387. package/dist/account-actors.js.map +0 -1
  388. package/dist/account.js.map +0 -1
  389. package/dist/actor-bounds.js.map +0 -1
  390. package/dist/actor-qualities.js.map +0 -1
  391. package/dist/actors.js.map +0 -1
  392. package/dist/ad-guide.js.map +0 -1
  393. package/dist/ad-pause-trim.js.map +0 -1
  394. package/dist/api-failure.js.map +0 -1
  395. package/dist/aspect.js.map +0 -1
  396. package/dist/asset-identity.js.map +0 -1
  397. package/dist/assets.js.map +0 -1
  398. package/dist/billing-terms.js.map +0 -1
  399. package/dist/brand-styles.js.map +0 -1
  400. package/dist/broll-policy.js.map +0 -1
  401. package/dist/canvas-fit.js.map +0 -1
  402. package/dist/caption-funnel.js.map +0 -1
  403. package/dist/caption-geometry.js.map +0 -1
  404. package/dist/caption-language.js.map +0 -1
  405. package/dist/contract-dispositions.js.map +0 -1
  406. package/dist/contracts/v1/workflow-brief.js.map +0 -1
  407. package/dist/contracts/v1/workflow-catalog.js.map +0 -1
  408. package/dist/contracts/v1/workflow-client.js.map +0 -1
  409. package/dist/contracts/v1/workflow-dto.js.map +0 -1
  410. package/dist/contracts/v1/workflow-evidence.js.map +0 -1
  411. package/dist/contracts/v1/workflow-execution.js.map +0 -1
  412. package/dist/contracts/v1/workflow-next.js.map +0 -1
  413. package/dist/contracts/v1/workflow-plan.js.map +0 -1
  414. package/dist/contracts/v1/workflow-primitives.js.map +0 -1
  415. package/dist/contracts/v1/workflow-run-read.js.map +0 -1
  416. package/dist/creator-profile.js.map +0 -1
  417. package/dist/default-actor.js.map +0 -1
  418. package/dist/design.js.map +0 -1
  419. package/dist/edit-billing.js.map +0 -1
  420. package/dist/edit-candidate.js.map +0 -1
  421. package/dist/edit-document.js.map +0 -1
  422. package/dist/edit-faceless.js.map +0 -1
  423. package/dist/edit-long-form.js.map +0 -1
  424. package/dist/edit-operations.js.map +0 -1
  425. package/dist/edit-primitives.js.map +0 -1
  426. package/dist/edit-revision.js.map +0 -1
  427. package/dist/edit-rules.js.map +0 -1
  428. package/dist/edit-shots.js.map +0 -1
  429. package/dist/edit-validate.js.map +0 -1
  430. package/dist/edit.js.map +0 -1
  431. package/dist/endpoint-notes.js.map +0 -1
  432. package/dist/endpoints.js.map +0 -1
  433. package/dist/errors.js.map +0 -1
  434. package/dist/explainer-fit.js.map +0 -1
  435. package/dist/face-billing.js.map +0 -1
  436. package/dist/face-delivery.js.map +0 -1
  437. package/dist/faceless-action-shots.js.map +0 -1
  438. package/dist/faceless-customer-anchors.js.map +0 -1
  439. package/dist/faceless-cut-style.js.map +0 -1
  440. package/dist/faceless-direction-summary.js.map +0 -1
  441. package/dist/faceless-image-placement.js.map +0 -1
  442. package/dist/faceless-image-qualification.js.map +0 -1
  443. package/dist/faceless-media-record.js.map +0 -1
  444. package/dist/faceless-price.js.map +0 -1
  445. package/dist/faceless-public-plan.js.map +0 -1
  446. package/dist/faceless-public.js.map +0 -1
  447. package/dist/faceless-short-61.js.map +0 -1
  448. package/dist/faceless-storyboard-timing.js.map +0 -1
  449. package/dist/faceless-storyboard-v2-plan.js.map +0 -1
  450. package/dist/faceless-storyboard-v2-timing.js.map +0 -1
  451. package/dist/faceless-storyboard-v2.js.map +0 -1
  452. package/dist/faceless-storyboard.js.map +0 -1
  453. package/dist/faceless-voices.js.map +0 -1
  454. package/dist/feedback.js.map +0 -1
  455. package/dist/film-directions.js.map +0 -1
  456. package/dist/film-drafts.js.map +0 -1
  457. package/dist/film-guide.js.map +0 -1
  458. package/dist/film-styles.js.map +0 -1
  459. package/dist/generation-shot.js.map +0 -1
  460. package/dist/generations-output.js.map +0 -1
  461. package/dist/generations.js.map +0 -1
  462. package/dist/idempotency.js.map +0 -1
  463. package/dist/index.js.map +0 -1
  464. package/dist/live-shot-kinds.js.map +0 -1
  465. package/dist/long-form-pricing.js.map +0 -1
  466. package/dist/long-form-profile.js.map +0 -1
  467. package/dist/long-form-revision.js.map +0 -1
  468. package/dist/markdown-quote.js.map +0 -1
  469. package/dist/mascots.js.map +0 -1
  470. package/dist/max-credits.js.map +0 -1
  471. package/dist/mcp-ugc-descriptions.js.map +0 -1
  472. package/dist/media-timebase.js.map +0 -1
  473. package/dist/motion-styles.js.map +0 -1
  474. package/dist/moves.js.map +0 -1
  475. package/dist/music.js.map +0 -1
  476. package/dist/naming.js.map +0 -1
  477. package/dist/openapi.js.map +0 -1
  478. package/dist/output-provenance.js.map +0 -1
  479. package/dist/own-agent-price.js.map +0 -1
  480. package/dist/own-agent-runs.js.map +0 -1
  481. package/dist/pacing.js.map +0 -1
  482. package/dist/parts-pricing.js.map +0 -1
  483. package/dist/post-text.js.map +0 -1
  484. package/dist/presenter-beats.js.map +0 -1
  485. package/dist/presenter-matte.js.map +0 -1
  486. package/dist/presenter-takes.js.map +0 -1
  487. package/dist/prices.js.map +0 -1
  488. package/dist/public-endpoints.js.map +0 -1
  489. package/dist/public-responses.js.map +0 -1
  490. package/dist/rate-limit.js.map +0 -1
  491. package/dist/reference-analysis.js.map +0 -1
  492. package/dist/reference-display.js.map +0 -1
  493. package/dist/reference-kinds.js.map +0 -1
  494. package/dist/reference-lyrics.js.map +0 -1
  495. package/dist/reference-profile.js.map +0 -1
  496. package/dist/reference-staging.js.map +0 -1
  497. package/dist/reference-text-spans.js.map +0 -1
  498. package/dist/reference-voice-over.js.map +0 -1
  499. package/dist/reference-voice.js.map +0 -1
  500. package/dist/render-backend.js.map +0 -1
  501. package/dist/resolved-timeline.js.map +0 -1
  502. package/dist/run-media.js.map +0 -1
  503. package/dist/run-preflight.js.map +0 -1
  504. package/dist/run-static-warnings.js.map +0 -1
  505. package/dist/runs.js.map +0 -1
  506. package/dist/scene-bible.js.map +0 -1
  507. package/dist/scene-graph.js.map +0 -1
  508. package/dist/scene-place.js.map +0 -1
  509. package/dist/scene-proposal.js.map +0 -1
  510. package/dist/script-integrity.js.map +0 -1
  511. package/dist/script-voice.js.map +0 -1
  512. package/dist/semantic-inserts.js.map +0 -1
  513. package/dist/skill-theme-explainer.js.map +0 -1
  514. package/dist/skill-theme.js.map +0 -1
  515. package/dist/skills.js.map +0 -1
  516. package/dist/speech-rhythm-contract.js.map +0 -1
  517. package/dist/speech-rhythm.js.map +0 -1
  518. package/dist/templates/backdrop.js.map +0 -1
  519. package/dist/templates/callout.js.map +0 -1
  520. package/dist/templates/chart.js.map +0 -1
  521. package/dist/templates/chat-window.js.map +0 -1
  522. package/dist/templates/checklist.js.map +0 -1
  523. package/dist/templates/comment-cta.js.map +0 -1
  524. package/dist/templates/compare.js.map +0 -1
  525. package/dist/templates/cover-story.js.map +0 -1
  526. package/dist/templates/end-card.js.map +0 -1
  527. package/dist/templates/hand-title.js.map +0 -1
  528. package/dist/templates/index.js.map +0 -1
  529. package/dist/templates/lower-third.js.map +0 -1
  530. package/dist/templates/notification.js.map +0 -1
  531. package/dist/templates/phone-call.js.map +0 -1
  532. package/dist/templates/phone-screen.js.map +0 -1
  533. package/dist/templates/pointer-chips.js.map +0 -1
  534. package/dist/templates/progress.js.map +0 -1
  535. package/dist/templates/quote.js.map +0 -1
  536. package/dist/templates/race.js.map +0 -1
  537. package/dist/templates/rating.js.map +0 -1
  538. package/dist/templates/series-frame.js.map +0 -1
  539. package/dist/templates/size.js.map +0 -1
  540. package/dist/templates/slot.js.map +0 -1
  541. package/dist/templates/sounds.js.map +0 -1
  542. package/dist/templates/stat.js.map +0 -1
  543. package/dist/templates/tag.js.map +0 -1
  544. package/dist/templates/terminal.js.map +0 -1
  545. package/dist/templates/theme.js.map +0 -1
  546. package/dist/templates/title-card.js.map +0 -1
  547. package/dist/templates/video-grid.js.map +0 -1
  548. package/dist/templates/word-fill.js.map +0 -1
  549. package/dist/templates/word-title.js.map +0 -1
  550. package/dist/trend-niches.js.map +0 -1
  551. package/dist/trend-search.js.map +0 -1
  552. package/dist/tts-backend.js.map +0 -1
  553. package/dist/ugc-call.js.map +0 -1
  554. package/dist/ugc-delivery.js.map +0 -1
  555. package/dist/ugc-framing.js.map +0 -1
  556. package/dist/ugc-interview.js.map +0 -1
  557. package/dist/ugc-layers.js.map +0 -1
  558. package/dist/ugc-scenes.js.map +0 -1
  559. package/dist/ugc-video-media.js.map +0 -1
  560. package/dist/uploads.js.map +0 -1
  561. package/dist/vendor-response.js.map +0 -1
  562. package/dist/video-size.js.map +0 -1
  563. package/dist/voice-admission.js.map +0 -1
  564. package/dist/voice-catalog-data.js.map +0 -1
  565. package/dist/voice-catalog.js.map +0 -1
  566. package/dist/voice-listing.js.map +0 -1
  567. package/dist/voice-pace.js.map +0 -1
  568. package/dist/voice-preview-approval.js.map +0 -1
  569. package/dist/voices.js.map +0 -1
  570. package/dist/workflows/catalog.js.map +0 -1
  571. package/dist/workflows/film-directions.js.map +0 -1
  572. package/dist/workflows/index.js.map +0 -1
  573. package/dist/workflows/methods/faceless-explainer.js.map +0 -1
  574. package/dist/workflows/methods/kinetic-launch.js.map +0 -1
  575. package/dist/workflows/methods/product-image-story.js.map +0 -1
  576. package/dist/workflows/methods/reference-remake.js.map +0 -1
  577. package/dist/workflows/methods/shared.js.map +0 -1
  578. package/dist/workflows/methods/ugc-faq-answer.js.map +0 -1
  579. package/dist/workflows/methods/ugc-product-intro.js.map +0 -1
  580. package/dist/workflows/methods/website-proof-demo.js.map +0 -1
  581. package/dist/workflows/motion-director.js.map +0 -1
  582. package/dist/workflows/product-references.js.map +0 -1
  583. package/dist/workflows/reference-remake.js.map +0 -1
  584. package/dist/workflows/remake-chooser.js.map +0 -1
  585. package/dist/workflows/remake-motion.js.map +0 -1
  586. package/dist/workflows/validate.js.map +0 -1
  587. package/dist/workflows.js.map +0 -1
@@ -1,26 +1,13 @@
1
- /** Public product addresses, one constant for everyone: the client and the landing page */
2
- /** must name the same address. */
3
- /** Our own domain; the platform-generated address still answers and is not retired. */
4
1
  export const PUBLIC_API_BASE_URL = "https://api.clipwright.io";
5
- /** The dashboard; paths are appended to it. NOT `APP_ORIGIN`, which comes from the environment. */
6
2
  export const PUBLIC_APP_BASE_URL = "https://app.clipwright.io";
7
- /** The public site: the landing page and the pages a customer shares. */
8
3
  export const PUBLIC_SITE_BASE_URL = "https://clipwright.io";
9
- /** The hosted MCP server; the `@clipwright/mcp-server` README names the same address. */
10
4
  export const PUBLIC_MCP_URL = "https://mcp.clipwright.io/mcp";
11
- /** npm packages the product is called through. The landing page, `--help` and docs print */
12
- /** these names, so they are contract, not page copy. */
13
5
  export const CLI_PACKAGE = "@clipwright/cli";
14
6
  export const CLI_BIN = "clipwright";
15
7
  export const MCP_PACKAGE = "@clipwright/mcp-server";
16
8
  export const SDK_PACKAGE = "@clipwright/sdk";
17
- /** Node major from the client packages' `engines`; the quickstart names it. */
18
9
  export const NODE_MIN_MAJOR = 20;
19
- /** Loopback names are the only ones allowed `http:`: a local API goes nowhere, and */
20
- /** requiring a certificate there would forbid development. */
21
10
  const LOOPBACK_HOSTS = new Set(["localhost", "127.0.0.1", "[::1]", "::1"]);
22
- /** API address FROM THE ENVIRONMENT, `https:` only: `Authorization: Bearer cw_…` goes there. */
23
- /** An embedder's programmatic `baseUrl` is left alone; the code's author chooses it. */
24
11
  export function apiBaseUrlFromEnv(raw) {
25
12
  if (raw === undefined || raw === "")
26
13
  return undefined;
@@ -38,4 +25,3 @@ export function apiBaseUrlFromEnv(raw) {
38
25
  throw new Error(`CLIPWRIGHT_API_URL must be https (loopback may be http), got ${url.protocol}//${url.hostname}. ` +
39
26
  "The api key travels in the Authorization header of every request to it.");
40
27
  }
41
- //# sourceMappingURL=public-endpoints.js.map
@@ -1,9 +1,7 @@
1
1
  import { z } from "zod";
2
- /** `GET /health`: the API process answers. */
3
2
  export declare const healthResponse: z.ZodObject<{
4
3
  ok: z.ZodLiteral<true>;
5
4
  }, z.core.$strict>;
6
- /** `GET /v1/public/skills`: the skills open right now, without a key; a closed skill is absent. */
7
5
  export declare const publicSkillsResponse: z.ZodObject<{
8
6
  skills: z.ZodArray<z.ZodObject<{
9
7
  slug: z.ZodEnum<{
@@ -1,11 +1,8 @@
1
1
  import { z } from "zod";
2
2
  import { SKILLS } from "./skills.js";
3
- /** `GET /health`: the API process answers. */
4
3
  export const healthResponse = z.strictObject({ ok: z.literal(true) });
5
- /** `GET /v1/public/skills`: the skills open right now, without a key; a closed skill is absent. */
6
4
  export const publicSkillsResponse = z.strictObject({
7
5
  skills: z.array(z.strictObject({
8
6
  slug: z.enum(SKILLS), name: z.string().min(1), version: z.string().min(1), description: z.string().min(1),
9
7
  })),
10
8
  });
11
- //# sourceMappingURL=public-responses.js.map
@@ -1,30 +1,14 @@
1
1
  import { z } from "zod";
2
- /** Header with the bucket size: how many requests the window allows in total. */
3
2
  export declare const RATE_LIMIT_LIMIT_HEADER = "X-RateLimit-Limit";
4
- /** How many requests remain in the current window. Zero is a legal value. */
5
3
  export declare const RATE_LIMIT_REMAINING_HEADER = "X-RateLimit-Remaining";
6
- /** SECONDS until the remainder grows by at least one: a delta, not Unix time, so client */
7
- /** clock skew does not matter, matching `Retry-After`. The window slides; it never resets. */
8
4
  export declare const RATE_LIMIT_RESET_HEADER = "X-RateLimit-Reset";
9
- /** Standard `Retry-After` (RFC 9110), in seconds. Only on 429. */
10
5
  export declare const RETRY_AFTER_HEADER = "Retry-After";
11
- /** Window length, shared by both buckets: "per minute" is what is published. */
12
6
  export declare const RATE_LIMIT_WINDOW_SECONDS = 60;
13
- /** PAID bucket: 60 requests per minute, the published figure. */
14
7
  export declare const RATE_LIMIT_PAID_PER_MINUTE = 60;
15
- /** FREE bucket: 300 per minute, counted separately so run polling (~12/min per run, three */
16
- /** runs at once) never starves paid calls. A ceiling: a looping client hits it in seconds. */
17
8
  export declare const RATE_LIMIT_FREE_PER_MINUTE = 300;
18
- /** Concurrent presenter renders per account: 3. Excess runs are queued (202), not refused, so agents */
19
- /** need no scheduler of their own. A run may also wait behind other accounts: our service caps each line as a whole. */
20
9
  export declare const MAX_CONCURRENT_RENDERS_PER_ACCOUNT = 3;
21
- /** Concurrent faceless videos per account: 2, queued the same way. */
22
10
  export declare const MAX_CONCURRENT_FACELESS_PER_ACCOUNT = 2;
23
- /** The bucket: also the counter axis in the DB and the `bucket` column value. It lives here */
24
- /** because the client-facing message names it. */
25
11
  export type RateLimitScope = "paid" | "free";
26
- /** 429 body. The numbers sit INSIDE `error`, like the money refusals in `errors.ts`: an */
27
- /** error response has one envelope. */
28
12
  export declare const rateLimitedError: z.ZodObject<{
29
13
  error: z.ZodObject<{
30
14
  code: z.ZodLiteral<"rate_limited">;
@@ -35,26 +19,18 @@ export declare const rateLimitedError: z.ZodObject<{
35
19
  }, z.core.$strip>;
36
20
  }, z.core.$strip>;
37
21
  export type RateLimitedError = z.infer<typeof rateLimitedError>;
38
- /** Builds the "too many requests" body. The message NAMES the bucket, so an agent hitting */
39
- /** the paid limit does not stop polling runs it already started. */
40
22
  export declare function rateLimitedBody(args: {
41
23
  limit: number;
42
24
  windowSeconds: number;
43
25
  retryAfterSeconds: number;
44
26
  scope: RateLimitScope;
45
- /** Whether the refused request was ADDRESSED to run creation; only the caller knows. The */
46
- /** "second paid render" advice appears only then. "Addressed", since later checks may still refuse. */
47
27
  targetsRunCreation?: boolean;
48
28
  }): RateLimitedError;
49
- /** "Too many failed authentication attempts" in the same 429 shape, so clients parse it with */
50
- /** one schema. Only the message differs: the caller has no account, so no idempotency advice. */
51
29
  export declare function authThrottledBody(args: {
52
30
  limit: number;
53
31
  windowSeconds: number;
54
32
  retryAfterSeconds: number;
55
33
  }): RateLimitedError;
56
- /** Per-account `create_actor` limits over a sliding day. Creations count runs of any */
57
- /** outcome; refusals and unusable portraits count as well. */
58
34
  export declare const ACTOR_LIMIT_WINDOW_SECONDS = 86400;
59
35
  export declare const ACTOR_LIMIT_KINDS: readonly ["creations", "prompt_refusals", "unusable_portraits"];
60
36
  export type ActorLimitKind = (typeof ACTOR_LIMIT_KINDS)[number];
@@ -1,50 +1,26 @@
1
1
  import { z } from "zod";
2
- // Rate-limit body shape, header names and limits in one home: REST, SDK and MCP take them
3
- // from here, since a header name drifting between server and client is caught by neither side.
4
- /** Header with the bucket size: how many requests the window allows in total. */
5
2
  export const RATE_LIMIT_LIMIT_HEADER = "X-RateLimit-Limit";
6
- /** How many requests remain in the current window. Zero is a legal value. */
7
3
  export const RATE_LIMIT_REMAINING_HEADER = "X-RateLimit-Remaining";
8
- /** SECONDS until the remainder grows by at least one: a delta, not Unix time, so client */
9
- /** clock skew does not matter, matching `Retry-After`. The window slides; it never resets. */
10
4
  export const RATE_LIMIT_RESET_HEADER = "X-RateLimit-Reset";
11
- /** Standard `Retry-After` (RFC 9110), in seconds. Only on 429. */
12
5
  export const RETRY_AFTER_HEADER = "Retry-After";
13
- /** Window length, shared by both buckets: "per minute" is what is published. */
14
6
  export const RATE_LIMIT_WINDOW_SECONDS = 60;
15
- /** PAID bucket: 60 requests per minute, the published figure. */
16
7
  export const RATE_LIMIT_PAID_PER_MINUTE = 60;
17
- /** FREE bucket: 300 per minute, counted separately so run polling (~12/min per run, three */
18
- /** runs at once) never starves paid calls. A ceiling: a looping client hits it in seconds. */
19
8
  export const RATE_LIMIT_FREE_PER_MINUTE = 300;
20
- /** Concurrent presenter renders per account: 3. Excess runs are queued (202), not refused, so agents */
21
- /** need no scheduler of their own. A run may also wait behind other accounts: our service caps each line as a whole. */
22
9
  export const MAX_CONCURRENT_RENDERS_PER_ACCOUNT = 3;
23
- /** Concurrent faceless videos per account: 2, queued the same way. */
24
10
  export const MAX_CONCURRENT_FACELESS_PER_ACCOUNT = 2;
25
- /** 429 body. The numbers sit INSIDE `error`, like the money refusals in `errors.ts`: an */
26
- /** error response has one envelope. */
27
11
  export const rateLimitedError = z.object({
28
12
  error: z.object({
29
13
  code: z.literal("rate_limited"),
30
14
  message: z.string().min(1),
31
- /** Size of the bucket the request fell into. */
32
15
  limit: z.number().int().positive(),
33
- /** Window length in seconds; `limit` means nothing without it. */
34
16
  window_seconds: z.number().int().positive(),
35
- /** Seconds until a retry. Matches `Retry-After`. */
36
17
  retry_after_seconds: z.number().int().positive(),
37
18
  }),
38
19
  });
39
- /** Builds the "too many requests" body. The message NAMES the bucket, so an agent hitting */
40
- /** the paid limit does not stop polling runs it already started. */
41
20
  export function rateLimitedBody(args) {
42
- // The paid bucket also catches any unknown authenticated path, and the text says so.
43
21
  const surface = args.scope === "paid"
44
22
  ? "paid requests (starting a run, and any unrecognised authenticated path)"
45
23
  : "free requests (quotes, voices, run status, account)";
46
- // No claim that no run exists: the paid limit precedes the handler, so a retry may own
47
- // a run. Key advice only for run creation, which only the middleware can tell.
48
24
  const tail = args.scope === "free"
49
25
  ? "nothing was charged; runs already started keep going and stay retrievable."
50
26
  : args.targetsRunCreation === true
@@ -61,8 +37,6 @@ export function rateLimitedBody(args) {
61
37
  },
62
38
  });
63
39
  }
64
- /** "Too many failed authentication attempts" in the same 429 shape, so clients parse it with */
65
- /** one schema. Only the message differs: the caller has no account, so no idempotency advice. */
66
40
  export function authThrottledBody(args) {
67
41
  return rateLimitedError.parse({
68
42
  error: {
@@ -76,8 +50,6 @@ export function authThrottledBody(args) {
76
50
  },
77
51
  });
78
52
  }
79
- /** Per-account `create_actor` limits over a sliding day. Creations count runs of any */
80
- /** outcome; refusals and unusable portraits count as well. */
81
53
  export const ACTOR_LIMIT_WINDOW_SECONDS = 86_400;
82
54
  export const ACTOR_LIMIT_KINDS = ["creations", "prompt_refusals", "unusable_portraits"];
83
55
  export const ACTOR_LIMITS = {
@@ -116,4 +88,3 @@ export function actorCreationLimitedBody(args) {
116
88
  },
117
89
  });
118
90
  }
119
- //# sourceMappingURL=rate-limit.js.map
@@ -1,43 +1,30 @@
1
1
  import { z } from "zod";
2
2
  import { type ReferenceProfileAnswer } from "./reference-profile.js";
3
- /** Reference analysis (reference-to-video S1c): an MP4 asset read into a `reference_profile`. Its status lives at its own */
4
- /** path, as an asset's processing does; its money (#927) rides a run of skill `analyze_reference` that holds and settles it. */
5
3
  export declare const REFERENCE_ANALYSES_PATH = "/v1/reference-analyses";
6
4
  export declare const REFERENCE_ANALYSIS_PATH = "/v1/reference-analyses/:id";
7
5
  export declare const REFERENCE_ANALYSIS_QUOTE_PATH = "/v1/reference-analyses/quote";
8
6
  export declare const ANALYZE_REFERENCE_TASK = "analyze-reference";
9
- /** The run skill that carries an analysis's hold and charge; not a `SKILLS` entry, since no `/v1/skills` route starts it. */
10
7
  export declare const ANALYZE_REFERENCE_SKILL = "analyze_reference";
11
8
  export declare const referenceAnalysisId: z.ZodString;
12
- /** What a succeeded analysis holds: 2 since frames, speakers, gaze and gestures (#979). A start on a reel whose analysis is older */
13
- /** redoes it at no charge, once. */
14
9
  export declare const REFERENCE_ANALYSIS_VERSION = 2;
15
- /** The price of a delivered analysis. */
16
10
  export declare const REFERENCE_ANALYSIS_CREDITS = 70;
17
- /** The data mode: metrics, transcript and a frame sheet without beats or graphics. */
18
11
  export declare const REFERENCE_DATA_CREDITS = 10;
19
- /** `full` reads the reference into a profile; `data` hands back its numbers, words and a frame sheet, with no vision call. */
20
12
  export declare const REFERENCE_ANALYSIS_MODES: readonly ["full", "data"];
21
13
  export type ReferenceAnalysisMode = (typeof REFERENCE_ANALYSIS_MODES)[number];
22
14
  export declare const REFERENCE_ANALYSIS_MODE_CREDITS: Readonly<Record<ReferenceAnalysisMode, number>>;
23
- /** New analyses per account per hour. */
24
15
  export declare const REFERENCE_ANALYSIS_PER_HOUR = 10;
25
- /** The data mode's own cap, scope `reference_data`: cheap enough to run on every candidate reel of a search (#921). */
26
16
  export declare const REFERENCE_DATA_PER_HOUR = 60;
27
17
  export declare const REFERENCE_DATA_SHEET_COLUMNS = 3;
28
18
  export declare const REFERENCE_DATA_SHEET_ROWS = 3;
29
19
  export declare const REFERENCE_DATA_SHEET_MAX_WIDTH = 1080;
30
20
  export declare const REFERENCE_ANALYSIS_WINDOW_SECONDS = 3600;
31
- /** The analysis stops here and fails; under the task's ceiling. */
32
21
  export declare const REFERENCE_ANALYSIS_WORK_SECONDS = 420;
33
22
  export declare const REFERENCE_ANALYSIS_TASK_MAX_DURATION_SECONDS = 600;
34
- /** Past this a read calls an unfinished analysis failed: a task killed at its ceiling writes nothing. */
35
23
  export declare const REFERENCE_ANALYSIS_DEADLINE_SECONDS = 900;
36
24
  export declare const REFERENCE_ANALYSIS_STATES: readonly ["queued", "analyzing", "succeeded", "failed"];
37
25
  export declare const REFERENCE_ANALYSIS_ERRORS: readonly ["timed_out", "analysis_failed", "asset_gone", "enqueue_failed"];
38
26
  export type ReferenceAnalysisError = (typeof REFERENCE_ANALYSIS_ERRORS)[number];
39
27
  export declare const REFERENCE_ANALYSIS_ERROR_MESSAGES: Readonly<Record<ReferenceAnalysisError, string>>;
40
- /** What starts an analysis: ids only, so no file name or reference text reaches a log. */
41
28
  export declare const analyzeReferencePayload: z.ZodObject<{
42
29
  analysisId: z.ZodString;
43
30
  accountId: z.ZodString;
@@ -45,7 +32,6 @@ export declare const analyzeReferencePayload: z.ZodObject<{
45
32
  export type AnalyzeReferencePayload = z.infer<typeof analyzeReferencePayload>;
46
33
  export declare const REFERENCE_SOURCE_PLATFORMS: readonly ["instagram", "tiktok"];
47
34
  export type ReferenceSourcePlatform = (typeof REFERENCE_SOURCE_PLATFORMS)[number];
48
- /** The live analysis a link replays is found by this key; a short TikTok link has none before it is resolved. */
49
35
  export declare const referenceSourceKey: z.ZodString;
50
36
  export declare const REFERENCE_URL_YOUTUBE_REFUSAL = "YouTube gives no video file through our source; upload the MP4 with create_asset";
51
37
  export declare const REFERENCE_URL_ACCEPTED: string;
@@ -58,7 +44,6 @@ export type ReferenceUrl = {
58
44
  ok: false;
59
45
  message: string;
60
46
  };
61
- /** Which post a link names, read from its text alone: no network, so a refusal costs nothing (#930 S3). */
62
47
  export declare function classifyReferenceUrl(raw: string): ReferenceUrl;
63
48
  export declare const analyzeReferenceRequest: z.ZodObject<{
64
49
  asset_id: z.ZodOptional<z.ZodString>;
@@ -70,11 +55,8 @@ export declare const analyzeReferenceRequest: z.ZodObject<{
70
55
  max_credits: z.ZodOptional<z.ZodNumber>;
71
56
  }, z.core.$strict>;
72
57
  export type AnalyzeReferenceRequest = z.infer<typeof analyzeReferenceRequest>;
73
- /** Where an author asks for a comment word (#1422). */
74
58
  export declare const REFERENCE_FUNNEL_ASKED_IN: readonly ["caption", "speech", "screen"];
75
- /** Instagram's caption limit; a longer one (TikTok allows 4000) is cut and says so. */
76
59
  export declare const REFERENCE_CAPTION_MAX_CHARS = 2200;
77
- /** The post behind a link analysis (#930 S3): `null` is unknown, never 0, and each unknown is also a line in `warnings[]`. */
78
60
  export declare const referenceSource: z.ZodObject<{
79
61
  url: z.ZodString;
80
62
  platform: z.ZodEnum<{
@@ -137,7 +119,6 @@ export declare const referenceSource: z.ZodObject<{
137
119
  }, z.core.$strict>>;
138
120
  }, z.core.$strict>;
139
121
  export type ReferenceSource = z.infer<typeof referenceSource>;
140
- /** What a succeeded data analysis hands back (#930 S4): the probe, the transcribed words as the profile writes them, and a frame sheet. */
141
122
  export declare const referenceData: z.ZodObject<{
142
123
  transcript: z.ZodArray<z.ZodObject<{
143
124
  text: z.ZodString;
@@ -183,7 +164,6 @@ export declare const referenceData: z.ZodObject<{
183
164
  }, z.core.$strict>;
184
165
  }, z.core.$strict>;
185
166
  export type ReferenceData = z.infer<typeof referenceData>;
186
- /** The data answer's parts, for the record the analysis keeps. */
187
167
  export declare const referenceDataParts: {
188
168
  frameSheet: z.ZodObject<{
189
169
  columns: z.ZodNumber;
@@ -197,15 +177,12 @@ export declare const referenceDataParts: {
197
177
  end_s: z.ZodNumber;
198
178
  speaker: z.ZodOptional<z.ZodString>;
199
179
  }, z.core.$strict>>;
200
- /** Since #990; absent on data from before it. */
201
180
  transcript_language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
202
- /** `null` when no word starts in the first seconds; no caption, since the screen is not read in this mode. */
203
181
  hook: z.ZodNullable<z.ZodObject<{
204
182
  text: z.ZodString;
205
183
  end_s: z.ZodNumber;
206
184
  caption: z.ZodOptional<z.ZodString>;
207
185
  }, z.core.$strict>>;
208
- /** The transcript as timed segments with the transcription's speaker label (#979); absent on data from before them. */
209
186
  segments: z.ZodOptional<z.ZodArray<z.ZodObject<{
210
187
  start_s: z.ZodNumber;
211
188
  end_s: z.ZodNumber;
@@ -234,7 +211,6 @@ export declare const referenceDataParts: {
234
211
  fps: z.ZodNumber;
235
212
  };
236
213
  };
237
- /** The reel's frames (#979): one a second, 4×3 sheets of 12 seconds, scenes from measured cuts; links signed for a day on each read. */
238
214
  export declare const REFERENCE_FRAMES_FPS = 1;
239
215
  export declare const REFERENCE_FRAME_MAX_WIDTH = 540;
240
216
  export declare const REFERENCE_SHEET_COLUMNS = 4;
@@ -244,10 +220,8 @@ export declare const REFERENCE_FRAMES_PAGE_MAX = 60;
244
220
  export declare const REFERENCE_FRAME_LINK_TTL_SECONDS = 86400;
245
221
  export declare const MAX_REFERENCE_SCENES = 60;
246
222
  export declare const REFERENCE_FRAMES_VERSION = "reference-frames-v1";
247
- /** A frame's and a sheet's file name; the end frame's carries its tenth of a second. */
248
223
  export declare const referenceFrameName: (t: number) => string;
249
224
  export declare const referenceSheetName: (index: number) => string;
250
- /** The frames as kept with an analysis: counts, size and scenes, no links. */
251
225
  export declare const referenceFramesStored: z.ZodObject<{
252
226
  version: z.ZodLiteral<"reference-frames-v1">;
253
227
  count: z.ZodNumber;
@@ -306,17 +280,13 @@ export declare const referenceFrames: z.ZodObject<{
306
280
  }, z.core.$strict>>;
307
281
  }, z.core.$strict>;
308
282
  export type ReferenceFrames = z.infer<typeof referenceFrames>;
309
- /** Which frames a read signs; the whole reel when it fits one page. */
310
283
  export declare const referenceFramesPage: z.ZodObject<{
311
284
  frames_from: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
312
285
  frames_to: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
313
286
  }, z.core.$strict>;
314
287
  export type ReferenceFramesPage = z.infer<typeof referenceFramesPage>;
315
- /** How long a read may wait for an analysis to finish (#970): under an agent's usual 60 s tool timeout. */
316
288
  export declare const REFERENCE_WAIT_MAX_SECONDS = 50;
317
- /** Measured wall time from start to finish (#970: a full analysis took about 2.5 minutes), for `retry_after_seconds`. */
318
289
  export declare const REFERENCE_EXPECTED_SECONDS: Readonly<Record<ReferenceAnalysisMode, number>>;
319
- /** The query of `GET /v1/reference-analyses/{id}`. */
320
290
  export declare const referenceAnalysisQuery: z.ZodObject<{
321
291
  frames_from: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
322
292
  frames_to: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
@@ -326,9 +296,7 @@ export declare const referenceAnalysisQuery: z.ZodObject<{
326
296
  }>>;
327
297
  }, z.core.$strict>;
328
298
  export type ReferenceAnalysisQuery = z.infer<typeof referenceAnalysisQuery>;
329
- /** What asking again costs, in the quote and in a succeeded analysis (#1007). */
330
299
  export declare const REFERENCE_REPEAT_NOTE: string;
331
- /** The call a succeeded full analysis leads to (#1172): a remake plan from this analysis, with the user's script and an actor added. */
332
300
  export declare const REFERENCE_NEXT_NOTE: string;
333
301
  export declare const referenceAnalysisNext: z.ZodObject<{
334
302
  action: z.ZodLiteral<"plan_reference_remake">;
@@ -661,6 +629,7 @@ export declare const referenceAnalysis: z.ZodObject<{
661
629
  pacing: z.ZodObject<{
662
630
  layer_change_every_s: z.ZodNumber;
663
631
  face_share: z.ZodNumber;
632
+ effective_words_per_s: z.ZodOptional<z.ZodNumber>;
664
633
  }, z.core.$strict>;
665
634
  palette: z.ZodArray<z.ZodString>;
666
635
  music: z.ZodString;
@@ -1175,6 +1144,62 @@ export declare const referenceAnalysis: z.ZodObject<{
1175
1144
  start_s: z.ZodNumber;
1176
1145
  end_s: z.ZodNumber;
1177
1146
  }, z.core.$strict>>>;
1147
+ shots: z.ZodOptional<z.ZodArray<z.ZodObject<{
1148
+ start_s: z.ZodNumber;
1149
+ end_s: z.ZodNumber;
1150
+ beat_index: z.ZodNumber;
1151
+ words: z.ZodNumber;
1152
+ silent: z.ZodBoolean;
1153
+ cut_in: z.ZodEnum<{
1154
+ from_insert: "from_insert";
1155
+ jump_cut: "jump_cut";
1156
+ other: "other";
1157
+ size_change: "size_change";
1158
+ start: "start";
1159
+ to_insert: "to_insert";
1160
+ }>;
1161
+ source: z.ZodOptional<z.ZodObject<{
1162
+ kind: z.ZodEnum<{
1163
+ ai_video: "ai_video";
1164
+ code_render: "code_render";
1165
+ live: "live";
1166
+ real_footage: "real_footage";
1167
+ screen_capture: "screen_capture";
1168
+ }>;
1169
+ confidence: z.ZodNumber;
1170
+ measured: z.ZodBoolean;
1171
+ }, z.core.$strict>>;
1172
+ same_clip_as: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1173
+ }, z.core.$strict>>>;
1174
+ tempo: z.ZodOptional<z.ZodObject<{
1175
+ music_bed: z.ZodBoolean;
1176
+ bpm: z.ZodNullable<z.ZodNumber>;
1177
+ cuts_on_beat: z.ZodNullable<z.ZodNumber>;
1178
+ cuts_on_beat_by_chance: z.ZodNullable<z.ZodNumber>;
1179
+ edit_on_beat: z.ZodBoolean;
1180
+ }, z.core.$strict>>;
1181
+ bring: z.ZodOptional<z.ZodArray<z.ZodObject<{
1182
+ kind: z.ZodEnum<{
1183
+ live_clip: "live_clip";
1184
+ product_photo: "product_photo";
1185
+ screen_recording: "screen_recording";
1186
+ screenshot: "screenshot";
1187
+ }>;
1188
+ seconds: z.ZodNumber;
1189
+ at_s: z.ZodArray<z.ZodNumber>;
1190
+ }, z.core.$strict>>>;
1191
+ sound_events: z.ZodOptional<z.ZodArray<z.ZodObject<{
1192
+ t_s: z.ZodNumber;
1193
+ kind: z.ZodEnum<{
1194
+ click: "click";
1195
+ ding: "ding";
1196
+ hit: "hit";
1197
+ impact: "impact";
1198
+ pop: "pop";
1199
+ typing: "typing";
1200
+ whoosh: "whoosh";
1201
+ }>;
1202
+ }, z.core.$strict>>>;
1178
1203
  analysis: z.ZodObject<{
1179
1204
  warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
1180
1205
  }, z.core.$strict>;
@@ -1395,7 +1420,6 @@ export declare const analysisQuoteResponse: z.ZodObject<{
1395
1420
  warnings: z.ZodArray<z.ZodString>;
1396
1421
  }, z.core.$strict>;
1397
1422
  export type AnalysisQuoteResponse = z.infer<typeof analysisQuoteResponse>;
1398
- /** What a client reads: a new state, error code or profile field must not break an installed client. */
1399
1423
  export declare const referenceAnalysisRead: z.ZodObject<{
1400
1424
  analysis_id: z.ZodString;
1401
1425
  asset_id: z.ZodString;
@@ -1434,7 +1458,6 @@ export declare const referenceAnalysisRead: z.ZodObject<{
1434
1458
  balance_after_credits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1435
1459
  }, z.core.$strict>;
1436
1460
  export type ReferenceAnalysisRead = z.infer<typeof referenceAnalysisRead>;
1437
- /** Rule 3: every element we cannot draw is said in `warnings[]` too, not only inside the profile. */
1438
1461
  export declare function referenceAnalysisWarnings(profile: Pick<ReferenceProfileAnswer, "unmapped" | "analysis">): string[];
1439
1462
  export declare const ANALYZE_REFERENCE_DESCRIPTION: string;
1440
1463
  export declare const GET_REFERENCE_ANALYSIS_DESCRIPTION: string;