@clipwright/core 0.33.0 → 0.34.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 (119) hide show
  1. package/CHANGELOG.md +144 -0
  2. package/dist/api-failure.js +2 -1
  3. package/dist/api-failure.js.map +1 -1
  4. package/dist/asset-identity.d.ts +6 -0
  5. package/dist/asset-identity.js +7 -0
  6. package/dist/asset-identity.js.map +1 -0
  7. package/dist/assets.d.ts +386 -7
  8. package/dist/assets.js +114 -21
  9. package/dist/assets.js.map +1 -1
  10. package/dist/caption-language.d.ts +2 -0
  11. package/dist/caption-language.js +17 -0
  12. package/dist/caption-language.js.map +1 -0
  13. package/dist/contract-dispositions.d.ts +1133 -8
  14. package/dist/contract-dispositions.js +51 -11
  15. package/dist/contract-dispositions.js.map +1 -1
  16. package/dist/contracts/v1/workflow-brief.d.ts +1670 -2
  17. package/dist/contracts/v1/workflow-catalog.d.ts +1670 -2
  18. package/dist/contracts/v1/workflow-client.d.ts +835 -1
  19. package/dist/contracts/v1/workflow-execution.d.ts +2 -0
  20. package/dist/contracts/v1/workflow-plan.d.ts +2533 -31
  21. package/dist/endpoints.js +2 -0
  22. package/dist/endpoints.js.map +1 -1
  23. package/dist/errors.d.ts +1 -1
  24. package/dist/errors.js +1 -0
  25. package/dist/errors.js.map +1 -1
  26. package/dist/generations.d.ts +32 -6
  27. package/dist/generations.js +83 -27
  28. package/dist/generations.js.map +1 -1
  29. package/dist/index.d.ts +4 -0
  30. package/dist/index.js +4 -0
  31. package/dist/index.js.map +1 -1
  32. package/dist/public-endpoints.d.ts +2 -0
  33. package/dist/public-endpoints.js +2 -0
  34. package/dist/public-endpoints.js.map +1 -1
  35. package/dist/resolved-timeline.d.ts +153 -0
  36. package/dist/resolved-timeline.js +46 -0
  37. package/dist/resolved-timeline.js.map +1 -1
  38. package/dist/run-static-warnings.js +5 -2
  39. package/dist/run-static-warnings.js.map +1 -1
  40. package/dist/semantic-inserts.d.ts +7 -0
  41. package/dist/semantic-inserts.js +19 -9
  42. package/dist/semantic-inserts.js.map +1 -1
  43. package/dist/skills.d.ts +4112 -77
  44. package/dist/skills.js +261 -16
  45. package/dist/skills.js.map +1 -1
  46. package/dist/templates/callout.d.ts +34 -0
  47. package/dist/templates/callout.js +51 -0
  48. package/dist/templates/callout.js.map +1 -0
  49. package/dist/templates/checklist.d.ts +42 -0
  50. package/dist/templates/checklist.js +47 -0
  51. package/dist/templates/checklist.js.map +1 -0
  52. package/dist/templates/compare.d.ts +26 -0
  53. package/dist/templates/compare.js +35 -0
  54. package/dist/templates/compare.js.map +1 -0
  55. package/dist/templates/end-card.d.ts +16 -0
  56. package/dist/templates/end-card.js +25 -0
  57. package/dist/templates/end-card.js.map +1 -0
  58. package/dist/templates/index.d.ts +164 -0
  59. package/dist/templates/index.js +382 -0
  60. package/dist/templates/index.js.map +1 -0
  61. package/dist/templates/lower-third.d.ts +18 -0
  62. package/dist/templates/lower-third.js +26 -0
  63. package/dist/templates/lower-third.js.map +1 -0
  64. package/dist/templates/notification.d.ts +30 -0
  65. package/dist/templates/notification.js +32 -0
  66. package/dist/templates/notification.js.map +1 -0
  67. package/dist/templates/phone-call.d.ts +24 -0
  68. package/dist/templates/phone-call.js +36 -0
  69. package/dist/templates/phone-call.js.map +1 -0
  70. package/dist/templates/progress.d.ts +22 -0
  71. package/dist/templates/progress.js +42 -0
  72. package/dist/templates/progress.js.map +1 -0
  73. package/dist/templates/quote.d.ts +21 -0
  74. package/dist/templates/quote.js +29 -0
  75. package/dist/templates/quote.js.map +1 -0
  76. package/dist/templates/rating.d.ts +22 -0
  77. package/dist/templates/rating.js +29 -0
  78. package/dist/templates/rating.js.map +1 -0
  79. package/dist/templates/size.d.ts +13 -0
  80. package/dist/templates/size.js +10 -0
  81. package/dist/templates/size.js.map +1 -0
  82. package/dist/templates/slot.d.ts +10 -0
  83. package/dist/templates/slot.js +5 -0
  84. package/dist/templates/slot.js.map +1 -0
  85. package/dist/templates/sounds.d.ts +351 -0
  86. package/dist/templates/sounds.js +67 -0
  87. package/dist/templates/sounds.js.map +1 -0
  88. package/dist/templates/stat.d.ts +20 -0
  89. package/dist/templates/stat.js +33 -0
  90. package/dist/templates/stat.js.map +1 -0
  91. package/dist/templates/tag.d.ts +23 -0
  92. package/dist/templates/tag.js +31 -0
  93. package/dist/templates/tag.js.map +1 -0
  94. package/dist/templates/theme.d.ts +29 -0
  95. package/dist/templates/theme.js +47 -0
  96. package/dist/templates/theme.js.map +1 -0
  97. package/dist/templates/title-card.d.ts +21 -0
  98. package/dist/templates/title-card.js +30 -0
  99. package/dist/templates/title-card.js.map +1 -0
  100. package/dist/tts-backend.d.ts +9 -0
  101. package/dist/tts-backend.js +21 -0
  102. package/dist/tts-backend.js.map +1 -1
  103. package/dist/ugc-layers.d.ts +84 -0
  104. package/dist/ugc-layers.js +137 -0
  105. package/dist/ugc-layers.js.map +1 -0
  106. package/dist/ugc-video-media.d.ts +12 -0
  107. package/dist/ugc-video-media.js +39 -0
  108. package/dist/ugc-video-media.js.map +1 -0
  109. package/dist/voice-admission.d.ts +835 -1
  110. package/dist/workflows/methods/faceless-explainer.d.ts +329 -2
  111. package/dist/workflows/methods/kinetic-launch.d.ts +329 -2
  112. package/dist/workflows/methods/product-image-story.d.ts +329 -2
  113. package/dist/workflows/methods/shared.d.ts +329 -2
  114. package/dist/workflows/methods/ugc-faq-answer.d.ts +329 -2
  115. package/dist/workflows/methods/ugc-product-intro.d.ts +329 -2
  116. package/dist/workflows/methods/website-proof-demo.d.ts +329 -2
  117. package/dist/workflows/validate.js +14 -9
  118. package/dist/workflows/validate.js.map +1 -1
  119. package/package.json +2 -2
@@ -60,7 +60,8 @@ export declare const ugcFaqAnswer: {
60
60
  script?: string | undefined;
61
61
  inserts?: {
62
62
  id: string;
63
- media_url: string;
63
+ media_url?: string | undefined;
64
+ asset_id?: string | undefined;
64
65
  media_type: "image" | "video";
65
66
  anchor: {
66
67
  startWord: number;
@@ -74,7 +75,327 @@ export declare const ugcFaqAnswer: {
74
75
  direction: "in" | "out";
75
76
  amount: number;
76
77
  } | undefined;
78
+ transition?: "cut" | "flash" | "wipe" | "zoom" | undefined;
79
+ }[] | undefined;
80
+ overlays?: {
81
+ media_url?: string | undefined;
82
+ media_type: "image" | "video";
83
+ id: string;
84
+ asset_id?: string | undefined;
85
+ anchor: {
86
+ startWord: number;
87
+ endWord: number;
88
+ } | {
89
+ quote: string;
90
+ occurrence?: number | undefined;
91
+ };
92
+ cover_words?: number | undefined;
93
+ enter?: "cut" | "fade" | "slide" | "tilt_in" | undefined;
94
+ position: "bottom" | "bottom_left" | "bottom_right" | "top" | "top_left" | "top_right";
77
95
  }[] | undefined;
96
+ layout_windows?: {
97
+ media_url?: string | undefined;
98
+ media_type: "image" | "video";
99
+ id: string;
100
+ asset_id?: string | undefined;
101
+ anchor: {
102
+ startWord: number;
103
+ endWord: number;
104
+ } | {
105
+ quote: string;
106
+ occurrence?: number | undefined;
107
+ };
108
+ cover_words?: number | undefined;
109
+ enter?: "cut" | "fade" | "slide" | "tilt_in" | undefined;
110
+ layout: "card" | "split";
111
+ blur_presenter?: boolean | undefined;
112
+ }[] | undefined;
113
+ templates?: ({
114
+ id: string;
115
+ anchor: {
116
+ startWord: number;
117
+ endWord: number;
118
+ } | {
119
+ quote: string;
120
+ occurrence?: number | undefined;
121
+ };
122
+ cover_words?: number | undefined;
123
+ placement?: "full" | "over" | undefined;
124
+ transition?: "cut" | "flash" | "wipe" | "zoom" | undefined;
125
+ kind: "tag";
126
+ data: {
127
+ text: string;
128
+ position?: "bottom" | "center" | "top" | undefined;
129
+ size?: "large" | "medium" | "small" | undefined;
130
+ };
131
+ } | {
132
+ id: string;
133
+ anchor: {
134
+ startWord: number;
135
+ endWord: number;
136
+ } | {
137
+ quote: string;
138
+ occurrence?: number | undefined;
139
+ };
140
+ cover_words?: number | undefined;
141
+ placement?: "full" | "over" | undefined;
142
+ transition?: "cut" | "flash" | "wipe" | "zoom" | undefined;
143
+ kind: "lower_third";
144
+ data: {
145
+ name: string;
146
+ role?: string | undefined;
147
+ side: "left" | "right";
148
+ size?: "large" | "medium" | "small" | undefined;
149
+ };
150
+ } | {
151
+ id: string;
152
+ anchor: {
153
+ startWord: number;
154
+ endWord: number;
155
+ } | {
156
+ quote: string;
157
+ occurrence?: number | undefined;
158
+ };
159
+ cover_words?: number | undefined;
160
+ placement?: "full" | "over" | undefined;
161
+ transition?: "cut" | "flash" | "wipe" | "zoom" | undefined;
162
+ kind: "end_card";
163
+ data: {
164
+ site: string;
165
+ cta?: string | undefined;
166
+ size?: "large" | "medium" | "small" | undefined;
167
+ };
168
+ } | {
169
+ id: string;
170
+ anchor: {
171
+ startWord: number;
172
+ endWord: number;
173
+ } | {
174
+ quote: string;
175
+ occurrence?: number | undefined;
176
+ };
177
+ cover_words?: number | undefined;
178
+ placement?: "full" | "over" | undefined;
179
+ transition?: "cut" | "flash" | "wipe" | "zoom" | undefined;
180
+ kind: "title_card";
181
+ data: {
182
+ title: string;
183
+ chip?: string | undefined;
184
+ logo?: {
185
+ asset_id: string;
186
+ } | undefined;
187
+ size?: "large" | "medium" | "small" | undefined;
188
+ };
189
+ } | {
190
+ id: string;
191
+ anchor: {
192
+ startWord: number;
193
+ endWord: number;
194
+ } | {
195
+ quote: string;
196
+ occurrence?: number | undefined;
197
+ };
198
+ cover_words?: number | undefined;
199
+ placement?: "full" | "over" | undefined;
200
+ transition?: "cut" | "flash" | "wipe" | "zoom" | undefined;
201
+ kind: "quote";
202
+ data: {
203
+ text: string;
204
+ author?: string | undefined;
205
+ photo?: {
206
+ asset_id: string;
207
+ } | undefined;
208
+ size?: "large" | "medium" | "small" | undefined;
209
+ };
210
+ } | {
211
+ id: string;
212
+ anchor: {
213
+ startWord: number;
214
+ endWord: number;
215
+ } | {
216
+ quote: string;
217
+ occurrence?: number | undefined;
218
+ };
219
+ cover_words?: number | undefined;
220
+ placement?: "full" | "over" | undefined;
221
+ transition?: "cut" | "flash" | "wipe" | "zoom" | undefined;
222
+ kind: "stat";
223
+ data: {
224
+ value: number;
225
+ prefix?: string | undefined;
226
+ suffix?: string | undefined;
227
+ label?: string | undefined;
228
+ size?: "large" | "medium" | "small" | undefined;
229
+ };
230
+ } | {
231
+ id: string;
232
+ anchor: {
233
+ startWord: number;
234
+ endWord: number;
235
+ } | {
236
+ quote: string;
237
+ occurrence?: number | undefined;
238
+ };
239
+ cover_words?: number | undefined;
240
+ placement?: "full" | "over" | undefined;
241
+ transition?: "cut" | "flash" | "wipe" | "zoom" | undefined;
242
+ kind: "callout";
243
+ data: {
244
+ target: {
245
+ x: number;
246
+ y: number;
247
+ };
248
+ style: "arrow" | "ring";
249
+ text?: string | undefined;
250
+ size?: "large" | "medium" | "small" | undefined;
251
+ };
252
+ } | {
253
+ id: string;
254
+ anchor: {
255
+ startWord: number;
256
+ endWord: number;
257
+ } | {
258
+ quote: string;
259
+ occurrence?: number | undefined;
260
+ };
261
+ cover_words?: number | undefined;
262
+ placement?: "full" | "over" | undefined;
263
+ transition?: "cut" | "flash" | "wipe" | "zoom" | undefined;
264
+ kind: "checklist";
265
+ data: {
266
+ items: {
267
+ label: string;
268
+ on: boolean;
269
+ icon?: "briefcase" | "chat" | "clock" | "phone" | "star" | "user" | undefined;
270
+ }[];
271
+ clicks?: {
272
+ item: number;
273
+ quote?: string | undefined;
274
+ }[] | undefined;
275
+ style?: "check" | "switch" | undefined;
276
+ size?: "large" | "medium" | "small" | undefined;
277
+ };
278
+ } | {
279
+ id: string;
280
+ anchor: {
281
+ startWord: number;
282
+ endWord: number;
283
+ } | {
284
+ quote: string;
285
+ occurrence?: number | undefined;
286
+ };
287
+ cover_words?: number | undefined;
288
+ placement?: "full" | "over" | undefined;
289
+ transition?: "cut" | "flash" | "wipe" | "zoom" | undefined;
290
+ kind: "phone_call";
291
+ data: {
292
+ caller: string;
293
+ subtitle?: string | undefined;
294
+ avatar?: {
295
+ asset_id: string;
296
+ } | undefined;
297
+ answer_at: string;
298
+ side?: "left" | "right" | undefined;
299
+ size?: "large" | "medium" | "small" | undefined;
300
+ };
301
+ } | {
302
+ id: string;
303
+ anchor: {
304
+ startWord: number;
305
+ endWord: number;
306
+ } | {
307
+ quote: string;
308
+ occurrence?: number | undefined;
309
+ };
310
+ cover_words?: number | undefined;
311
+ placement?: "full" | "over" | undefined;
312
+ transition?: "cut" | "flash" | "wipe" | "zoom" | undefined;
313
+ kind: "compare";
314
+ data: {
315
+ before: {
316
+ asset_id: string;
317
+ };
318
+ after: {
319
+ asset_id: string;
320
+ };
321
+ labels?: {
322
+ before?: string | undefined;
323
+ after?: string | undefined;
324
+ } | undefined;
325
+ reveal_at: string;
326
+ size?: "large" | "medium" | "small" | undefined;
327
+ };
328
+ } | {
329
+ id: string;
330
+ anchor: {
331
+ startWord: number;
332
+ endWord: number;
333
+ } | {
334
+ quote: string;
335
+ occurrence?: number | undefined;
336
+ };
337
+ cover_words?: number | undefined;
338
+ placement?: "full" | "over" | undefined;
339
+ transition?: "cut" | "flash" | "wipe" | "zoom" | undefined;
340
+ kind: "notification";
341
+ data: {
342
+ app: string;
343
+ title: string;
344
+ body: string;
345
+ icon?: "briefcase" | "chat" | "clock" | "phone" | "star" | "user" | undefined;
346
+ size?: "large" | "medium" | "small" | undefined;
347
+ };
348
+ } | {
349
+ id: string;
350
+ anchor: {
351
+ startWord: number;
352
+ endWord: number;
353
+ } | {
354
+ quote: string;
355
+ occurrence?: number | undefined;
356
+ };
357
+ cover_words?: number | undefined;
358
+ placement?: "full" | "over" | undefined;
359
+ transition?: "cut" | "flash" | "wipe" | "zoom" | undefined;
360
+ kind: "progress";
361
+ data: {
362
+ steps: string[];
363
+ advance_at?: string[] | undefined;
364
+ size?: "large" | "medium" | "small" | undefined;
365
+ };
366
+ } | {
367
+ id: string;
368
+ anchor: {
369
+ startWord: number;
370
+ endWord: number;
371
+ } | {
372
+ quote: string;
373
+ occurrence?: number | undefined;
374
+ };
375
+ cover_words?: number | undefined;
376
+ placement?: "full" | "over" | undefined;
377
+ transition?: "cut" | "flash" | "wipe" | "zoom" | undefined;
378
+ kind: "rating";
379
+ data: {
380
+ stars: number;
381
+ label?: string | undefined;
382
+ size?: "large" | "medium" | "small" | undefined;
383
+ };
384
+ })[] | undefined;
385
+ template_theme?: {
386
+ preset?: "bold_dark" | "clean_light" | "mono" | "neon" | "paper" | undefined;
387
+ accent?: string | undefined;
388
+ } | undefined;
389
+ template_sounds?: false | {
390
+ click?: "answer_confirm" | "answer_open" | "answer_pop" | "answer_select" | "bong" | "chime" | "click_crisp" | "click_light" | "click_mouse" | "click_soft" | "drop" | "drop_high" | "glass_ping" | "glass_soft" | "glitch" | "paper_swipe" | "pluck" | "pluck_bright" | "question_ping" | "ring_classic" | "ring_digital" | "ring_marimba" | "shutter" | "sweep" | "switch_flip" | "switch_heavy" | "switch_light" | "tick" | "toggle_snap" | "whip" | "whoosh" | undefined;
391
+ toggle?: "answer_confirm" | "answer_open" | "answer_pop" | "answer_select" | "bong" | "chime" | "click_crisp" | "click_light" | "click_mouse" | "click_soft" | "drop" | "drop_high" | "glass_ping" | "glass_soft" | "glitch" | "paper_swipe" | "pluck" | "pluck_bright" | "question_ping" | "ring_classic" | "ring_digital" | "ring_marimba" | "shutter" | "sweep" | "switch_flip" | "switch_heavy" | "switch_light" | "tick" | "toggle_snap" | "whip" | "whoosh" | undefined;
392
+ ring?: "answer_confirm" | "answer_open" | "answer_pop" | "answer_select" | "bong" | "chime" | "click_crisp" | "click_light" | "click_mouse" | "click_soft" | "drop" | "drop_high" | "glass_ping" | "glass_soft" | "glitch" | "paper_swipe" | "pluck" | "pluck_bright" | "question_ping" | "ring_classic" | "ring_digital" | "ring_marimba" | "shutter" | "sweep" | "switch_flip" | "switch_heavy" | "switch_light" | "tick" | "toggle_snap" | "whip" | "whoosh" | undefined;
393
+ answer?: "answer_confirm" | "answer_open" | "answer_pop" | "answer_select" | "bong" | "chime" | "click_crisp" | "click_light" | "click_mouse" | "click_soft" | "drop" | "drop_high" | "glass_ping" | "glass_soft" | "glitch" | "paper_swipe" | "pluck" | "pluck_bright" | "question_ping" | "ring_classic" | "ring_digital" | "ring_marimba" | "shutter" | "sweep" | "switch_flip" | "switch_heavy" | "switch_light" | "tick" | "toggle_snap" | "whip" | "whoosh" | undefined;
394
+ notify?: "answer_confirm" | "answer_open" | "answer_pop" | "answer_select" | "bong" | "chime" | "click_crisp" | "click_light" | "click_mouse" | "click_soft" | "drop" | "drop_high" | "glass_ping" | "glass_soft" | "glitch" | "paper_swipe" | "pluck" | "pluck_bright" | "question_ping" | "ring_classic" | "ring_digital" | "ring_marimba" | "shutter" | "sweep" | "switch_flip" | "switch_heavy" | "switch_light" | "tick" | "toggle_snap" | "whip" | "whoosh" | undefined;
395
+ step?: "answer_confirm" | "answer_open" | "answer_pop" | "answer_select" | "bong" | "chime" | "click_crisp" | "click_light" | "click_mouse" | "click_soft" | "drop" | "drop_high" | "glass_ping" | "glass_soft" | "glitch" | "paper_swipe" | "pluck" | "pluck_bright" | "question_ping" | "ring_classic" | "ring_digital" | "ring_marimba" | "shutter" | "sweep" | "switch_flip" | "switch_heavy" | "switch_light" | "tick" | "toggle_snap" | "whip" | "whoosh" | undefined;
396
+ whoosh?: "answer_confirm" | "answer_open" | "answer_pop" | "answer_select" | "bong" | "chime" | "click_crisp" | "click_light" | "click_mouse" | "click_soft" | "drop" | "drop_high" | "glass_ping" | "glass_soft" | "glitch" | "paper_swipe" | "pluck" | "pluck_bright" | "question_ping" | "ring_classic" | "ring_digital" | "ring_marimba" | "shutter" | "sweep" | "switch_flip" | "switch_heavy" | "switch_light" | "tick" | "toggle_snap" | "whip" | "whoosh" | undefined;
397
+ flash?: "answer_confirm" | "answer_open" | "answer_pop" | "answer_select" | "bong" | "chime" | "click_crisp" | "click_light" | "click_mouse" | "click_soft" | "drop" | "drop_high" | "glass_ping" | "glass_soft" | "glitch" | "paper_swipe" | "pluck" | "pluck_bright" | "question_ping" | "ring_classic" | "ring_digital" | "ring_marimba" | "shutter" | "sweep" | "switch_flip" | "switch_heavy" | "switch_light" | "tick" | "toggle_snap" | "whip" | "whoosh" | undefined;
398
+ } | undefined;
78
399
  person?: string | undefined;
79
400
  actor_id?: string | undefined;
80
401
  image?: string | undefined;
@@ -84,7 +405,13 @@ export declare const ugcFaqAnswer: {
84
405
  broll_url?: string | undefined;
85
406
  broll_policy?: "anyone" | "no_actor" | "no_people" | undefined;
86
407
  captions: boolean;
87
- caption_style: "hormozi" | "minimal" | "tiktok";
408
+ caption_style: "arcade" | "bassdrop" | "broadcast" | "bubblegum" | "campfire" | "clutch" | "crayon" | "genz" | "headline" | "highlighter" | "hormozi" | "instagram" | "lecture" | "lyrics" | "midnight" | "minimal" | "minimalist" | "neon" | "plottwist" | "promo" | "punch" | "studio" | "tiktok" | "youtube";
409
+ caption_emphasis?: (string | {
410
+ quote: string;
411
+ look?: "color" | "pill" | "punch" | undefined;
412
+ punch_in?: boolean | undefined;
413
+ })[] | undefined;
414
+ caption_mode?: "full" | "highlights" | undefined;
88
415
  look: "commercial" | "natural" | "raw_iphone";
89
416
  aspect_ratio?: "16:9" | "1:1" | "9:16" | undefined;
90
417
  resolution?: "1080p" | "4k" | "720p" | undefined;