@clipwright/core 0.33.0 → 0.35.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 (236) hide show
  1. package/CHANGELOG.md +251 -0
  2. package/README.md +3 -1
  3. package/dist/account-actors.d.ts +173 -14
  4. package/dist/account-actors.js +142 -10
  5. package/dist/account-actors.js.map +1 -1
  6. package/dist/actor-bounds.d.ts +4 -0
  7. package/dist/actor-bounds.js +4 -0
  8. package/dist/actor-bounds.js.map +1 -1
  9. package/dist/actors.d.ts +31 -0
  10. package/dist/actors.js +26 -0
  11. package/dist/actors.js.map +1 -1
  12. package/dist/api-failure.js +2 -1
  13. package/dist/api-failure.js.map +1 -1
  14. package/dist/asset-identity.d.ts +6 -0
  15. package/dist/asset-identity.js +7 -0
  16. package/dist/asset-identity.js.map +1 -0
  17. package/dist/assets.d.ts +403 -8
  18. package/dist/assets.js +132 -22
  19. package/dist/assets.js.map +1 -1
  20. package/dist/billing-terms.d.ts +69 -0
  21. package/dist/billing-terms.js +8 -0
  22. package/dist/billing-terms.js.map +1 -1
  23. package/dist/caption-language.d.ts +2 -0
  24. package/dist/caption-language.js +17 -0
  25. package/dist/caption-language.js.map +1 -0
  26. package/dist/contract-dispositions.d.ts +1617 -8
  27. package/dist/contract-dispositions.js +75 -11
  28. package/dist/contract-dispositions.js.map +1 -1
  29. package/dist/contracts/v1/workflow-brief.d.ts +3166 -78
  30. package/dist/contracts/v1/workflow-brief.js +4 -0
  31. package/dist/contracts/v1/workflow-brief.js.map +1 -1
  32. package/dist/contracts/v1/workflow-catalog.d.ts +3712 -8
  33. package/dist/contracts/v1/workflow-catalog.js +4 -2
  34. package/dist/contracts/v1/workflow-catalog.js.map +1 -1
  35. package/dist/contracts/v1/workflow-client.d.ts +2466 -4
  36. package/dist/contracts/v1/workflow-client.js +6 -3
  37. package/dist/contracts/v1/workflow-client.js.map +1 -1
  38. package/dist/contracts/v1/workflow-execution.d.ts +163 -9
  39. package/dist/contracts/v1/workflow-execution.js +15 -7
  40. package/dist/contracts/v1/workflow-execution.js.map +1 -1
  41. package/dist/contracts/v1/workflow-plan.d.ts +6014 -487
  42. package/dist/contracts/v1/workflow-primitives.d.ts +3 -1
  43. package/dist/contracts/v1/workflow-primitives.js +1 -1
  44. package/dist/contracts/v1/workflow-primitives.js.map +1 -1
  45. package/dist/contracts/v1/workflow-run-read.d.ts +114 -1
  46. package/dist/edit-billing.d.ts +12 -0
  47. package/dist/edit-billing.js +8 -0
  48. package/dist/edit-billing.js.map +1 -1
  49. package/dist/edit-long-form.d.ts +1 -1
  50. package/dist/edit-long-form.js +12 -2
  51. package/dist/edit-long-form.js.map +1 -1
  52. package/dist/endpoint-notes.d.ts +3 -0
  53. package/dist/endpoint-notes.js +66 -0
  54. package/dist/endpoint-notes.js.map +1 -0
  55. package/dist/endpoints.d.ts +4 -0
  56. package/dist/endpoints.js +15 -0
  57. package/dist/endpoints.js.map +1 -1
  58. package/dist/errors.d.ts +1 -1
  59. package/dist/errors.js +7 -0
  60. package/dist/errors.js.map +1 -1
  61. package/dist/face-billing.d.ts +55 -0
  62. package/dist/face-billing.js +22 -0
  63. package/dist/face-billing.js.map +1 -1
  64. package/dist/faceless-price.d.ts +26 -2
  65. package/dist/faceless-price.js +33 -6
  66. package/dist/faceless-price.js.map +1 -1
  67. package/dist/faceless-public.d.ts +6 -1
  68. package/dist/faceless-public.js +2 -2
  69. package/dist/faceless-public.js.map +1 -1
  70. package/dist/generations.d.ts +32 -6
  71. package/dist/generations.js +82 -27
  72. package/dist/generations.js.map +1 -1
  73. package/dist/idempotency.d.ts +2 -0
  74. package/dist/idempotency.js +7 -4
  75. package/dist/idempotency.js.map +1 -1
  76. package/dist/index.d.ts +15 -0
  77. package/dist/index.js +17 -0
  78. package/dist/index.js.map +1 -1
  79. package/dist/long-form-pricing.d.ts +7 -4
  80. package/dist/long-form-pricing.js +13 -10
  81. package/dist/long-form-pricing.js.map +1 -1
  82. package/dist/long-form-revision.js +1 -1
  83. package/dist/long-form-revision.js.map +1 -1
  84. package/dist/openapi.d.ts +154 -0
  85. package/dist/openapi.js +334 -0
  86. package/dist/openapi.js.map +1 -0
  87. package/dist/pacing.d.ts +15 -0
  88. package/dist/pacing.js +30 -0
  89. package/dist/pacing.js.map +1 -1
  90. package/dist/parts-pricing.d.ts +84 -0
  91. package/dist/parts-pricing.js +105 -0
  92. package/dist/parts-pricing.js.map +1 -0
  93. package/dist/presenter-beats.d.ts +45 -0
  94. package/dist/presenter-beats.js +144 -0
  95. package/dist/presenter-beats.js.map +1 -0
  96. package/dist/prices.d.ts +98 -0
  97. package/dist/prices.js +189 -0
  98. package/dist/prices.js.map +1 -0
  99. package/dist/public-endpoints.d.ts +2 -0
  100. package/dist/public-endpoints.js +2 -0
  101. package/dist/public-endpoints.js.map +1 -1
  102. package/dist/public-responses.d.ts +23 -0
  103. package/dist/public-responses.js +11 -0
  104. package/dist/public-responses.js.map +1 -0
  105. package/dist/reference-analysis.d.ts +683 -0
  106. package/dist/reference-analysis.js +91 -0
  107. package/dist/reference-analysis.js.map +1 -0
  108. package/dist/reference-kinds.d.ts +6 -0
  109. package/dist/reference-kinds.js +8 -0
  110. package/dist/reference-kinds.js.map +1 -0
  111. package/dist/reference-profile.d.ts +633 -0
  112. package/dist/reference-profile.js +151 -0
  113. package/dist/reference-profile.js.map +1 -0
  114. package/dist/reference-staging.d.ts +571 -0
  115. package/dist/reference-staging.js +151 -0
  116. package/dist/reference-staging.js.map +1 -0
  117. package/dist/reference-voice.d.ts +305 -0
  118. package/dist/reference-voice.js +108 -0
  119. package/dist/reference-voice.js.map +1 -0
  120. package/dist/resolved-timeline.d.ts +206 -1
  121. package/dist/resolved-timeline.js +96 -4
  122. package/dist/resolved-timeline.js.map +1 -1
  123. package/dist/run-static-warnings.js +19 -7
  124. package/dist/run-static-warnings.js.map +1 -1
  125. package/dist/runs.d.ts +75 -3
  126. package/dist/runs.js +6 -1
  127. package/dist/runs.js.map +1 -1
  128. package/dist/semantic-inserts.d.ts +7 -0
  129. package/dist/semantic-inserts.js +19 -9
  130. package/dist/semantic-inserts.js.map +1 -1
  131. package/dist/skills.d.ts +5838 -22
  132. package/dist/skills.js +380 -25
  133. package/dist/skills.js.map +1 -1
  134. package/dist/templates/callout.d.ts +34 -0
  135. package/dist/templates/callout.js +51 -0
  136. package/dist/templates/callout.js.map +1 -0
  137. package/dist/templates/checklist.d.ts +42 -0
  138. package/dist/templates/checklist.js +47 -0
  139. package/dist/templates/checklist.js.map +1 -0
  140. package/dist/templates/compare.d.ts +26 -0
  141. package/dist/templates/compare.js +35 -0
  142. package/dist/templates/compare.js.map +1 -0
  143. package/dist/templates/end-card.d.ts +16 -0
  144. package/dist/templates/end-card.js +25 -0
  145. package/dist/templates/end-card.js.map +1 -0
  146. package/dist/templates/index.d.ts +171 -0
  147. package/dist/templates/index.js +394 -0
  148. package/dist/templates/index.js.map +1 -0
  149. package/dist/templates/lower-third.d.ts +18 -0
  150. package/dist/templates/lower-third.js +26 -0
  151. package/dist/templates/lower-third.js.map +1 -0
  152. package/dist/templates/notification.d.ts +30 -0
  153. package/dist/templates/notification.js +32 -0
  154. package/dist/templates/notification.js.map +1 -0
  155. package/dist/templates/phone-call.d.ts +27 -0
  156. package/dist/templates/phone-call.js +43 -0
  157. package/dist/templates/phone-call.js.map +1 -0
  158. package/dist/templates/progress.d.ts +22 -0
  159. package/dist/templates/progress.js +42 -0
  160. package/dist/templates/progress.js.map +1 -0
  161. package/dist/templates/quote.d.ts +21 -0
  162. package/dist/templates/quote.js +29 -0
  163. package/dist/templates/quote.js.map +1 -0
  164. package/dist/templates/rating.d.ts +22 -0
  165. package/dist/templates/rating.js +29 -0
  166. package/dist/templates/rating.js.map +1 -0
  167. package/dist/templates/size.d.ts +13 -0
  168. package/dist/templates/size.js +10 -0
  169. package/dist/templates/size.js.map +1 -0
  170. package/dist/templates/slot.d.ts +10 -0
  171. package/dist/templates/slot.js +5 -0
  172. package/dist/templates/slot.js.map +1 -0
  173. package/dist/templates/sounds.d.ts +701 -0
  174. package/dist/templates/sounds.js +89 -0
  175. package/dist/templates/sounds.js.map +1 -0
  176. package/dist/templates/stat.d.ts +20 -0
  177. package/dist/templates/stat.js +33 -0
  178. package/dist/templates/stat.js.map +1 -0
  179. package/dist/templates/tag.d.ts +23 -0
  180. package/dist/templates/tag.js +31 -0
  181. package/dist/templates/tag.js.map +1 -0
  182. package/dist/templates/theme.d.ts +29 -0
  183. package/dist/templates/theme.js +47 -0
  184. package/dist/templates/theme.js.map +1 -0
  185. package/dist/templates/title-card.d.ts +21 -0
  186. package/dist/templates/title-card.js +30 -0
  187. package/dist/templates/title-card.js.map +1 -0
  188. package/dist/tts-backend.d.ts +9 -0
  189. package/dist/tts-backend.js +21 -0
  190. package/dist/tts-backend.js.map +1 -1
  191. package/dist/ugc-call.d.ts +89 -0
  192. package/dist/ugc-call.js +111 -0
  193. package/dist/ugc-call.js.map +1 -0
  194. package/dist/ugc-framing.d.ts +26 -0
  195. package/dist/ugc-framing.js +64 -0
  196. package/dist/ugc-framing.js.map +1 -0
  197. package/dist/ugc-layers.d.ts +88 -0
  198. package/dist/ugc-layers.js +142 -0
  199. package/dist/ugc-layers.js.map +1 -0
  200. package/dist/ugc-video-media.d.ts +12 -0
  201. package/dist/ugc-video-media.js +39 -0
  202. package/dist/ugc-video-media.js.map +1 -0
  203. package/dist/vendor-response.d.ts +4 -0
  204. package/dist/vendor-response.js +12 -0
  205. package/dist/vendor-response.js.map +1 -1
  206. package/dist/voice-admission.d.ts +1244 -1
  207. package/dist/voice-listing.js +7 -1
  208. package/dist/voice-listing.js.map +1 -1
  209. package/dist/voice-pace.d.ts +34 -0
  210. package/dist/voice-pace.generated.json +72 -0
  211. package/dist/voice-pace.js +34 -0
  212. package/dist/voice-pace.js.map +1 -0
  213. package/dist/voices.d.ts +21 -8
  214. package/dist/voices.js +44 -19
  215. package/dist/voices.js.map +1 -1
  216. package/dist/workflows/catalog.js +2 -1
  217. package/dist/workflows/catalog.js.map +1 -1
  218. package/dist/workflows/index.d.ts +2 -0
  219. package/dist/workflows/index.js +2 -0
  220. package/dist/workflows/index.js.map +1 -1
  221. package/dist/workflows/methods/faceless-explainer.d.ts +697 -3
  222. package/dist/workflows/methods/kinetic-launch.d.ts +697 -3
  223. package/dist/workflows/methods/product-image-story.d.ts +697 -3
  224. package/dist/workflows/methods/reference-remake.d.ts +870 -0
  225. package/dist/workflows/methods/reference-remake.js +26 -0
  226. package/dist/workflows/methods/reference-remake.js.map +1 -0
  227. package/dist/workflows/methods/shared.d.ts +697 -3
  228. package/dist/workflows/methods/ugc-faq-answer.d.ts +697 -3
  229. package/dist/workflows/methods/ugc-product-intro.d.ts +697 -3
  230. package/dist/workflows/methods/website-proof-demo.d.ts +697 -3
  231. package/dist/workflows/reference-remake.d.ts +663 -0
  232. package/dist/workflows/reference-remake.js +598 -0
  233. package/dist/workflows/reference-remake.js.map +1 -0
  234. package/dist/workflows/validate.js +19 -11
  235. package/dist/workflows/validate.js.map +1 -1
  236. package/package.json +9 -3
@@ -0,0 +1,663 @@
1
+ import { z } from 'zod';
2
+ import { type ReferenceProfile } from '../reference-profile.js';
3
+ import type { CapabilityProfile } from '../contracts/v1/workflow-catalog.js';
4
+ import { type WorkflowPlanDocument } from '../contracts/v1/workflow-plan.js';
5
+ import { type WorkflowIssue } from '../contracts/v1/workflow-primitives.js';
6
+ export declare const planReferenceRemake: z.ZodObject<{
7
+ reference_profile: z.ZodObject<{
8
+ version: z.ZodLiteral<"reference-profile-v1">;
9
+ source: z.ZodObject<{
10
+ digest: z.ZodString;
11
+ duration_s: z.ZodNumber;
12
+ width: z.ZodNumber;
13
+ height: z.ZodNumber;
14
+ url: z.ZodOptional<z.ZodString>;
15
+ }, z.core.$strict>;
16
+ format: z.ZodEnum<{
17
+ broll: "broll";
18
+ faceless: "faceless";
19
+ other: "other";
20
+ talking_head_graphics: "talking_head_graphics";
21
+ }>;
22
+ beats: z.ZodArray<z.ZodObject<{
23
+ start_frac: z.ZodNumber;
24
+ end_frac: z.ZodNumber;
25
+ start_s: z.ZodNumber;
26
+ end_s: z.ZodNumber;
27
+ role: z.ZodEnum<{
28
+ agitation: "agitation";
29
+ before_after: "before_after";
30
+ cta: "cta";
31
+ demo: "demo";
32
+ hook: "hook";
33
+ offer: "offer";
34
+ other: "other";
35
+ problem: "problem";
36
+ proof: "proof";
37
+ social_proof: "social_proof";
38
+ solution: "solution";
39
+ }>;
40
+ spoken_summary: z.ZodString;
41
+ graphics: z.ZodArray<z.ZodObject<{
42
+ kind: z.ZodEnum<{
43
+ callout: "callout";
44
+ checklist: "checklist";
45
+ compare: "compare";
46
+ end_card: "end_card";
47
+ insert_media: "insert_media";
48
+ layout_split: "layout_split";
49
+ lower_third: "lower_third";
50
+ notification: "notification";
51
+ overlay_media: "overlay_media";
52
+ particles: "particles";
53
+ phone_call: "phone_call";
54
+ progress: "progress";
55
+ quote: "quote";
56
+ rating: "rating";
57
+ stat: "stat";
58
+ tag: "tag";
59
+ title_card: "title_card";
60
+ unmapped: "unmapped";
61
+ }>;
62
+ source_kind: z.ZodEnum<{
63
+ before_after_split: "before_after_split";
64
+ callout: "callout";
65
+ checklist: "checklist";
66
+ compare: "compare";
67
+ end_card: "end_card";
68
+ insert_media: "insert_media";
69
+ layout_split: "layout_split";
70
+ lower_third: "lower_third";
71
+ notification: "notification";
72
+ other: "other";
73
+ overlay_media: "overlay_media";
74
+ particles: "particles";
75
+ phone_call: "phone_call";
76
+ product_ui: "product_ui";
77
+ progress: "progress";
78
+ quote: "quote";
79
+ rating: "rating";
80
+ screenshot: "screenshot";
81
+ split_screen: "split_screen";
82
+ stat: "stat";
83
+ tag: "tag";
84
+ title_card: "title_card";
85
+ toggle_checklist: "toggle_checklist";
86
+ unmapped: "unmapped";
87
+ }>;
88
+ position: z.ZodEnum<{
89
+ bottom: "bottom";
90
+ bottom_left: "bottom_left";
91
+ bottom_right: "bottom_right";
92
+ center: "center";
93
+ full_screen: "full_screen";
94
+ other: "other";
95
+ split_bottom: "split_bottom";
96
+ split_top: "split_top";
97
+ top: "top";
98
+ top_left: "top_left";
99
+ top_right: "top_right";
100
+ }>;
101
+ state_changes: z.ZodArray<z.ZodObject<{
102
+ at_frac: z.ZodNumber;
103
+ change: z.ZodEnum<{
104
+ appears: "appears";
105
+ checked: "checked";
106
+ disappears: "disappears";
107
+ highlighted: "highlighted";
108
+ other: "other";
109
+ toggles_off: "toggles_off";
110
+ toggles_on: "toggles_on";
111
+ value_changes: "value_changes";
112
+ }>;
113
+ }, z.core.$strict>>;
114
+ label_hint: z.ZodString;
115
+ }, z.core.$strict>>;
116
+ camera: z.ZodEnum<{
117
+ other: "other";
118
+ punch_in: "punch_in";
119
+ shake: "shake";
120
+ static: "static";
121
+ zoom_out: "zoom_out";
122
+ }>;
123
+ transition_in: z.ZodEnum<{
124
+ cut: "cut";
125
+ flash: "flash";
126
+ none: "none";
127
+ other: "other";
128
+ wipe: "wipe";
129
+ zoom: "zoom";
130
+ }>;
131
+ sounds: z.ZodArray<z.ZodObject<{
132
+ at_frac: z.ZodNumber;
133
+ kind: z.ZodEnum<{
134
+ answer: "answer";
135
+ click: "click";
136
+ edit: "edit";
137
+ flash: "flash";
138
+ hangup: "hangup";
139
+ money: "money";
140
+ music: "music";
141
+ notify: "notify";
142
+ other: "other";
143
+ pop: "pop";
144
+ recorded_audio: "recorded_audio";
145
+ ring: "ring";
146
+ step: "step";
147
+ toggle: "toggle";
148
+ whoosh: "whoosh";
149
+ }>;
150
+ }, z.core.$strict>>;
151
+ presenter_behaviour: z.ZodEnum<{
152
+ absent: "absent";
153
+ listening: "listening";
154
+ reacting: "reacting";
155
+ speaking: "speaking";
156
+ }>;
157
+ }, z.core.$strict>>;
158
+ captions: z.ZodObject<{
159
+ present: z.ZodBoolean;
160
+ words_per_caption_max: z.ZodNumber;
161
+ position: z.ZodEnum<{
162
+ bottom: "bottom";
163
+ lower: "lower";
164
+ middle: "middle";
165
+ top: "top";
166
+ }>;
167
+ emphasis_style: z.ZodEnum<{
168
+ color: "color";
169
+ none: "none";
170
+ pill: "pill";
171
+ punch: "punch";
172
+ }>;
173
+ hidden_under_graphics: z.ZodBoolean;
174
+ }, z.core.$strict>;
175
+ pacing: z.ZodObject<{
176
+ layer_change_every_s: z.ZodNumber;
177
+ face_share: z.ZodNumber;
178
+ }, z.core.$strict>;
179
+ palette: z.ZodArray<z.ZodString>;
180
+ music: z.ZodString;
181
+ unmapped: z.ZodArray<z.ZodObject<{
182
+ what: z.ZodString;
183
+ beat_index: z.ZodNumber;
184
+ suggested_substitute: z.ZodString;
185
+ }, z.core.$strict>>;
186
+ analysis: z.ZodObject<{
187
+ models: z.ZodArray<z.ZodString>;
188
+ cost_usd: z.ZodOptional<z.ZodNumber>;
189
+ latency_ms: z.ZodNumber;
190
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
191
+ }, z.core.$strict>;
192
+ voice: z.ZodOptional<z.ZodObject<{
193
+ version: z.ZodLiteral<"voice-profile-v1">;
194
+ method: z.ZodObject<{
195
+ pause_drop_db: z.ZodNumber;
196
+ pause_min_run_s: z.ZodNumber;
197
+ cut_safe_db: z.ZodNumber;
198
+ pitch: z.ZodLiteral<"yin">;
199
+ sample_rate: z.ZodNumber;
200
+ }, z.core.$strict>;
201
+ presenter_speaker: z.ZodNullable<z.ZodString>;
202
+ speakers: z.ZodArray<z.ZodObject<{
203
+ speaker: z.ZodString;
204
+ word_count: z.ZodNumber;
205
+ sentence_count: z.ZodNumber;
206
+ pace: z.ZodObject<{
207
+ status: z.ZodEnum<{
208
+ measured: "measured";
209
+ unmeasured: "unmeasured";
210
+ }>;
211
+ words_per_second: z.ZodNullable<z.ZodNumber>;
212
+ basis: z.ZodEnum<{
213
+ sentence_spans: "sentence_spans";
214
+ turn_spans: "turn_spans";
215
+ }>;
216
+ }, z.core.$strict>;
217
+ pauses: z.ZodObject<{
218
+ sentence_end: z.ZodObject<{
219
+ timestamp: z.ZodObject<{
220
+ count: z.ZodNumber;
221
+ median_s: z.ZodNullable<z.ZodNumber>;
222
+ p90_s: z.ZodNullable<z.ZodNumber>;
223
+ count_ge150ms: z.ZodNumber;
224
+ }, z.core.$strict>;
225
+ acoustic_pause: z.ZodObject<{
226
+ count: z.ZodNumber;
227
+ median_s: z.ZodNullable<z.ZodNumber>;
228
+ p90_s: z.ZodNullable<z.ZodNumber>;
229
+ count_ge150ms: z.ZodNumber;
230
+ }, z.core.$strict>;
231
+ cut_safe: z.ZodObject<{
232
+ count: z.ZodNumber;
233
+ median_s: z.ZodNullable<z.ZodNumber>;
234
+ p90_s: z.ZodNullable<z.ZodNumber>;
235
+ count_ge150ms: z.ZodNumber;
236
+ }, z.core.$strict>;
237
+ acoustic_no_dip_count: z.ZodNumber;
238
+ acoustic_unconfirmed_count: z.ZodNumber;
239
+ }, z.core.$strict>;
240
+ comma: z.ZodObject<{
241
+ timestamp: z.ZodObject<{
242
+ count: z.ZodNumber;
243
+ median_s: z.ZodNullable<z.ZodNumber>;
244
+ p90_s: z.ZodNullable<z.ZodNumber>;
245
+ count_ge150ms: z.ZodNumber;
246
+ }, z.core.$strict>;
247
+ acoustic_pause: z.ZodObject<{
248
+ count: z.ZodNumber;
249
+ median_s: z.ZodNullable<z.ZodNumber>;
250
+ p90_s: z.ZodNullable<z.ZodNumber>;
251
+ count_ge150ms: z.ZodNumber;
252
+ }, z.core.$strict>;
253
+ cut_safe: z.ZodObject<{
254
+ count: z.ZodNumber;
255
+ median_s: z.ZodNullable<z.ZodNumber>;
256
+ p90_s: z.ZodNullable<z.ZodNumber>;
257
+ count_ge150ms: z.ZodNumber;
258
+ }, z.core.$strict>;
259
+ acoustic_no_dip_count: z.ZodNumber;
260
+ acoustic_unconfirmed_count: z.ZodNumber;
261
+ }, z.core.$strict>;
262
+ mid_phrase: z.ZodObject<{
263
+ timestamp: z.ZodObject<{
264
+ count: z.ZodNumber;
265
+ median_s: z.ZodNullable<z.ZodNumber>;
266
+ p90_s: z.ZodNullable<z.ZodNumber>;
267
+ count_ge150ms: z.ZodNumber;
268
+ }, z.core.$strict>;
269
+ acoustic_pause: z.ZodObject<{
270
+ count: z.ZodNumber;
271
+ median_s: z.ZodNullable<z.ZodNumber>;
272
+ p90_s: z.ZodNullable<z.ZodNumber>;
273
+ count_ge150ms: z.ZodNumber;
274
+ }, z.core.$strict>;
275
+ cut_safe: z.ZodObject<{
276
+ count: z.ZodNumber;
277
+ median_s: z.ZodNullable<z.ZodNumber>;
278
+ p90_s: z.ZodNullable<z.ZodNumber>;
279
+ count_ge150ms: z.ZodNumber;
280
+ }, z.core.$strict>;
281
+ acoustic_no_dip_count: z.ZodNumber;
282
+ acoustic_unconfirmed_count: z.ZodNumber;
283
+ }, z.core.$strict>;
284
+ }, z.core.$strict>;
285
+ long_pause_count: z.ZodNumber;
286
+ hinge: z.ZodObject<{
287
+ status: z.ZodEnum<{
288
+ measured: "measured";
289
+ not_evaluated: "not_evaluated";
290
+ }>;
291
+ sentence_share: z.ZodNullable<z.ZodNumber>;
292
+ evaluated_sentences: z.ZodNumber;
293
+ coverage: z.ZodNullable<z.ZodNumber>;
294
+ timestamp_sentence_share: z.ZodNullable<z.ZodNumber>;
295
+ median_position: z.ZodNullable<z.ZodNumber>;
296
+ median_seconds: z.ZodNullable<z.ZodNumber>;
297
+ }, z.core.$strict>;
298
+ pitch: z.ZodObject<{
299
+ status: z.ZodEnum<{
300
+ measured: "measured";
301
+ no_voiced_frames: "no_voiced_frames";
302
+ }>;
303
+ ceiling_hz: z.ZodNumber;
304
+ ceiling_basis: z.ZodEnum<{
305
+ configured: "configured";
306
+ default: "default";
307
+ low_f0: "low_f0";
308
+ }>;
309
+ median_hz: z.ZodNullable<z.ZodNumber>;
310
+ p10_hz: z.ZodNullable<z.ZodNumber>;
311
+ p90_hz: z.ZodNullable<z.ZodNumber>;
312
+ range_st: z.ZodNullable<z.ZodNumber>;
313
+ voiced_frames: z.ZodNumber;
314
+ }, z.core.$strict>;
315
+ loudness: z.ZodObject<{
316
+ status: z.ZodEnum<{
317
+ measured: "measured";
318
+ unmeasured: "unmeasured";
319
+ }>;
320
+ range_db_p10_p90: z.ZodNullable<z.ZodNumber>;
321
+ }, z.core.$strict>;
322
+ warnings: z.ZodArray<z.ZodEnum<{
323
+ background_music_present_f0_and_intensity_may_be_contaminated: "background_music_present_f0_and_intensity_may_be_contaminated";
324
+ no_sentence_terminal_punctuation_pace_uses_turn_spans: "no_sentence_terminal_punctuation_pace_uses_turn_spans";
325
+ }>>;
326
+ }, z.core.$strict>>;
327
+ }, z.core.$strict>>;
328
+ presenter_framing: z.ZodOptional<z.ZodEnum<{
329
+ close: "close";
330
+ wide: "wide";
331
+ }>>;
332
+ presenter_mic: z.ZodOptional<z.ZodBoolean>;
333
+ staging: z.ZodOptional<z.ZodObject<{
334
+ version: z.ZodLiteral<"reference-staging-v1">;
335
+ analysis_width: z.ZodNumber;
336
+ anchors: z.ZodArray<z.ZodObject<{
337
+ id: z.ZodString;
338
+ t_s: z.ZodNumber;
339
+ }, z.core.$strict>>;
340
+ elements: z.ZodArray<z.ZodObject<{
341
+ id: z.ZodString;
342
+ beat_index: z.ZodNumber;
343
+ graphic_index: z.ZodNullable<z.ZodNumber>;
344
+ kind: z.ZodEnum<{
345
+ before_after_split: "before_after_split";
346
+ callout: "callout";
347
+ checklist: "checklist";
348
+ compare: "compare";
349
+ end_card: "end_card";
350
+ insert_media: "insert_media";
351
+ layout_split: "layout_split";
352
+ lower_third: "lower_third";
353
+ notification: "notification";
354
+ other: "other";
355
+ overlay_media: "overlay_media";
356
+ particles: "particles";
357
+ phone_call: "phone_call";
358
+ product_ui: "product_ui";
359
+ progress: "progress";
360
+ quote: "quote";
361
+ rating: "rating";
362
+ screenshot: "screenshot";
363
+ split_screen: "split_screen";
364
+ stat: "stat";
365
+ tag: "tag";
366
+ title_card: "title_card";
367
+ toggle_checklist: "toggle_checklist";
368
+ unmapped: "unmapped";
369
+ }>;
370
+ rect_hold: z.ZodOptional<z.ZodObject<{
371
+ left: z.ZodNumber;
372
+ top: z.ZodNumber;
373
+ width: z.ZodNumber;
374
+ height: z.ZodNumber;
375
+ }, z.core.$strict>>;
376
+ rect_hold_face: z.ZodOptional<z.ZodObject<{
377
+ left: z.ZodNumber;
378
+ top: z.ZodNumber;
379
+ width: z.ZodNumber;
380
+ height: z.ZodNumber;
381
+ }, z.core.$strict>>;
382
+ rect_method: z.ZodOptional<z.ZodEnum<{
383
+ "cv-before-after/v1": "cv-before-after/v1";
384
+ "cv-cells/v1": "cv-cells/v1";
385
+ "cv-parallax/v1": "cv-parallax/v1";
386
+ "cv-template/v1": "cv-template/v1";
387
+ "vision-still": "vision-still";
388
+ "vision-video": "vision-video";
389
+ "yunet-native/v1": "yunet-native/v1";
390
+ }>>;
391
+ rects: z.ZodOptional<z.ZodArray<z.ZodObject<{
392
+ t_s: z.ZodNumber;
393
+ rect: z.ZodObject<{
394
+ left: z.ZodNumber;
395
+ top: z.ZodNumber;
396
+ width: z.ZodNumber;
397
+ height: z.ZodNumber;
398
+ }, z.core.$strict>;
399
+ visible: z.ZodNumber;
400
+ }, z.core.$strict>>>;
401
+ entry: z.ZodOptional<z.ZodObject<{
402
+ first_visible_s: z.ZodOptional<z.ZodNumber>;
403
+ settled_s: z.ZodOptional<z.ZodNumber>;
404
+ anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
405
+ id: z.ZodString;
406
+ offset_s: z.ZodNumber;
407
+ }, z.core.$strict>>>;
408
+ style: z.ZodOptional<z.ZodEnum<{
409
+ blur_in: "blur_in";
410
+ fade: "fade";
411
+ pop: "pop";
412
+ scale_up: "scale_up";
413
+ slide: "slide";
414
+ tilt_in: "tilt_in";
415
+ typewriter: "typewriter";
416
+ unknown: "unknown";
417
+ wipe: "wipe";
418
+ }>>;
419
+ from: z.ZodOptional<z.ZodEnum<{
420
+ bottom: "bottom";
421
+ left: "left";
422
+ lower_left: "lower_left";
423
+ lower_right: "lower_right";
424
+ none: "none";
425
+ right: "right";
426
+ top: "top";
427
+ upper_left: "upper_left";
428
+ upper_right: "upper_right";
429
+ }>>;
430
+ duration_s: z.ZodOptional<z.ZodNumber>;
431
+ displacement: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
432
+ scale_from: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
433
+ method: z.ZodOptional<z.ZodEnum<{
434
+ "cv-before-after/v1": "cv-before-after/v1";
435
+ "cv-cells/v1": "cv-cells/v1";
436
+ "cv-parallax/v1": "cv-parallax/v1";
437
+ "cv-template/v1": "cv-template/v1";
438
+ "vision-still": "vision-still";
439
+ "vision-video": "vision-video";
440
+ "yunet-native/v1": "yunet-native/v1";
441
+ }>>;
442
+ }, z.core.$strict>>;
443
+ exit: z.ZodOptional<z.ZodObject<{
444
+ last_visible_s: z.ZodOptional<z.ZodNumber>;
445
+ anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
446
+ id: z.ZodString;
447
+ offset_s: z.ZodNumber;
448
+ }, z.core.$strict>>>;
449
+ style: z.ZodOptional<z.ZodEnum<{
450
+ blur_in: "blur_in";
451
+ cut: "cut";
452
+ fade: "fade";
453
+ flash: "flash";
454
+ pop: "pop";
455
+ scale_up: "scale_up";
456
+ slide: "slide";
457
+ tilt_in: "tilt_in";
458
+ typewriter: "typewriter";
459
+ unknown: "unknown";
460
+ wipe: "wipe";
461
+ }>>;
462
+ to: z.ZodOptional<z.ZodEnum<{
463
+ bottom: "bottom";
464
+ left: "left";
465
+ lower_left: "lower_left";
466
+ lower_right: "lower_right";
467
+ none: "none";
468
+ right: "right";
469
+ top: "top";
470
+ upper_left: "upper_left";
471
+ upper_right: "upper_right";
472
+ }>>;
473
+ duration_s: z.ZodOptional<z.ZodNumber>;
474
+ displacement: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
475
+ method: z.ZodOptional<z.ZodEnum<{
476
+ "cv-before-after/v1": "cv-before-after/v1";
477
+ "cv-cells/v1": "cv-cells/v1";
478
+ "cv-parallax/v1": "cv-parallax/v1";
479
+ "cv-template/v1": "cv-template/v1";
480
+ "vision-still": "vision-still";
481
+ "vision-video": "vision-video";
482
+ "yunet-native/v1": "yunet-native/v1";
483
+ }>>;
484
+ }, z.core.$strict>>;
485
+ layer: z.ZodOptional<z.ZodObject<{
486
+ value: z.ZodEnum<{
487
+ behind_presenter: "behind_presenter";
488
+ in_front_of_presenter: "in_front_of_presenter";
489
+ no_overlap: "no_overlap";
490
+ presenter_absent: "presenter_absent";
491
+ unknown: "unknown";
492
+ }>;
493
+ method: z.ZodEnum<{
494
+ "cv-before-after/v1": "cv-before-after/v1";
495
+ "cv-cells/v1": "cv-cells/v1";
496
+ "cv-parallax/v1": "cv-parallax/v1";
497
+ "cv-template/v1": "cv-template/v1";
498
+ "vision-still": "vision-still";
499
+ "vision-video": "vision-video";
500
+ "yunet-native/v1": "yunet-native/v1";
501
+ }>;
502
+ covered_by: z.ZodArray<z.ZodEnum<{
503
+ body: "body";
504
+ chair: "chair";
505
+ desk: "desk";
506
+ face: "face";
507
+ hair: "hair";
508
+ hand: "hand";
509
+ microphone: "microphone";
510
+ other: "other";
511
+ shoulder: "shoulder";
512
+ }>>;
513
+ face_clear: z.ZodOptional<z.ZodBoolean>;
514
+ face_core_cover_max: z.ZodOptional<z.ZodNumber>;
515
+ face_covered_share: z.ZodOptional<z.ZodNumber>;
516
+ blurs_presenter: z.ZodOptional<z.ZodBoolean>;
517
+ }, z.core.$strict>>;
518
+ motion: z.ZodOptional<z.ZodObject<{
519
+ kind: z.ZodOptional<z.ZodEnum<{
520
+ drift: "drift";
521
+ float: "float";
522
+ moves_with_frame: "moves_with_frame";
523
+ pushed: "pushed";
524
+ scale: "scale";
525
+ static: "static";
526
+ }>>;
527
+ drift_per_s: z.ZodOptional<z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>;
528
+ scale_per_s: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
529
+ wobble: z.ZodOptional<z.ZodOptional<z.ZodObject<{
530
+ amplitude: z.ZodNumber;
531
+ period_s: z.ZodNumber;
532
+ }, z.core.$strict>>>;
533
+ }, z.core.$strict>>;
534
+ }, z.core.$strict>>;
535
+ freezes: z.ZodArray<z.ZodObject<{
536
+ start_s: z.ZodNumber;
537
+ end_s: z.ZodNumber;
538
+ anchors: z.ZodArray<z.ZodObject<{
539
+ id: z.ZodString;
540
+ offset_s: z.ZodNumber;
541
+ }, z.core.$strict>>;
542
+ face_box_start: z.ZodObject<{
543
+ left: z.ZodNumber;
544
+ top: z.ZodNumber;
545
+ width: z.ZodNumber;
546
+ height: z.ZodNumber;
547
+ }, z.core.$strict>;
548
+ face_box_end: z.ZodObject<{
549
+ left: z.ZodNumber;
550
+ top: z.ZodNumber;
551
+ width: z.ZodNumber;
552
+ height: z.ZodNumber;
553
+ }, z.core.$strict>;
554
+ roll_deg: z.ZodNumber;
555
+ yaw: z.ZodNumber;
556
+ pitch: z.ZodNumber;
557
+ gaze: z.ZodOptional<z.ZodEnum<{
558
+ camera: "camera";
559
+ closed: "closed";
560
+ down: "down";
561
+ element: "element";
562
+ left: "left";
563
+ right: "right";
564
+ up_left: "up_left";
565
+ up_right: "up_right";
566
+ }>>;
567
+ head_roll: z.ZodEnum<{
568
+ left: "left";
569
+ right: "right";
570
+ upright: "upright";
571
+ }>;
572
+ expression: z.ZodOptional<z.ZodEnum<{
573
+ neutral: "neutral";
574
+ other: "other";
575
+ smile: "smile";
576
+ surprised: "surprised";
577
+ thinking: "thinking";
578
+ }>>;
579
+ hands: z.ZodOptional<z.ZodEnum<{
580
+ at_chest: "at_chest";
581
+ gesturing: "gesturing";
582
+ other: "other";
583
+ out_of_frame: "out_of_frame";
584
+ }>>;
585
+ frame_motion: z.ZodOptional<z.ZodObject<{
586
+ scale_end: z.ZodNumber;
587
+ centre_shift: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
588
+ }, z.core.$strict>>;
589
+ ends_with: z.ZodEnum<{
590
+ cut: "cut";
591
+ end: "end";
592
+ flash: "flash";
593
+ unfreeze: "unfreeze";
594
+ }>;
595
+ }, z.core.$strict>>;
596
+ }, z.core.$strict>>;
597
+ }, z.core.$strict>;
598
+ script: z.ZodString;
599
+ actor_id: z.ZodString;
600
+ voice: z.ZodOptional<z.ZodString>;
601
+ voice_id: z.ZodOptional<z.ZodString>;
602
+ assets: z.ZodDefault<z.ZodArray<z.ZodObject<{
603
+ asset_id: z.ZodString;
604
+ media_type: z.ZodEnum<{
605
+ image: "image";
606
+ video: "video";
607
+ }>;
608
+ }, z.core.$strict>>>;
609
+ site: z.ZodOptional<z.ZodString>;
610
+ audience: z.ZodOptional<z.ZodString>;
611
+ message: z.ZodOptional<z.ZodString>;
612
+ call: z.ZodOptional<z.ZodObject<{
613
+ lines: z.ZodArray<z.ZodObject<{
614
+ speaker: z.ZodEnum<{
615
+ agent: "agent";
616
+ caller: "caller";
617
+ }>;
618
+ text: z.ZodString;
619
+ }, z.core.$strict>>;
620
+ voices: z.ZodOptional<z.ZodObject<{
621
+ agent: z.ZodOptional<z.ZodString>;
622
+ caller: z.ZodOptional<z.ZodString>;
623
+ }, z.core.$strict>>;
624
+ phone: z.ZodOptional<z.ZodObject<{
625
+ caller: z.ZodOptional<z.ZodString>;
626
+ banner: z.ZodOptional<z.ZodString>;
627
+ banner_note: z.ZodOptional<z.ZodString>;
628
+ mask_number: z.ZodOptional<z.ZodBoolean>;
629
+ }, z.core.$strict>>;
630
+ }, z.core.$strict>>;
631
+ }, z.core.$strict>;
632
+ export type PlanReferenceRemakeArgs = z.input<typeof planReferenceRemake>;
633
+ export type ReferenceRemakeResult = {
634
+ kind: 'compiled';
635
+ document: WorkflowPlanDocument;
636
+ } | {
637
+ kind: 'invalid';
638
+ issues: WorkflowIssue[];
639
+ };
640
+ /** A script word as make_ugc counts it, with the whitespace chunk it sits in. */
641
+ export type ReferenceScriptWord = {
642
+ token: string;
643
+ from: number;
644
+ to: number;
645
+ tag: boolean;
646
+ first: boolean;
647
+ last: boolean;
648
+ stop?: 'sentence' | 'clause';
649
+ };
650
+ export type ReferenceSpan = {
651
+ start: number;
652
+ end: number;
653
+ } | null;
654
+ /** One span of words per profile beat, in order, or null for a beat left without words: the seam a model-backed planner fills later. */
655
+ export type ReferenceSpanPlanner = (input: {
656
+ profile: ReferenceProfile;
657
+ words: readonly ReferenceScriptWord[];
658
+ }) => ReferenceSpan[];
659
+ export declare function referenceScriptWords(script: string): ReferenceScriptWord[];
660
+ /** Beats share the words by their share of the reference, cut at the nearest sentence end, or clause end at a cost. With fewer sentence ends than
661
+ * beats, neighbours of one role share a span first, latest first as a close stacks its CTA beats; then the shortest inner beats give up their words. */
662
+ export declare const proportionalSpans: ReferenceSpanPlanner;
663
+ export declare function compileReferenceRemake(input: unknown, capabilities: CapabilityProfile, planSpans?: ReferenceSpanPlanner): ReferenceRemakeResult;