@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
@@ -75,7 +75,8 @@ export declare function defineWorkflowMethod(value: MethodDescriptorArgs): {
75
75
  script?: string | undefined;
76
76
  inserts?: {
77
77
  id: string;
78
- media_url: string;
78
+ media_url?: string | undefined;
79
+ asset_id?: string | undefined;
79
80
  media_type: "image" | "video";
80
81
  anchor: {
81
82
  startWord: number;
@@ -89,7 +90,327 @@ export declare function defineWorkflowMethod(value: MethodDescriptorArgs): {
89
90
  direction: "in" | "out";
90
91
  amount: number;
91
92
  } | undefined;
93
+ transition?: "cut" | "flash" | "wipe" | "zoom" | undefined;
94
+ }[] | undefined;
95
+ overlays?: {
96
+ media_url?: string | undefined;
97
+ media_type: "image" | "video";
98
+ id: string;
99
+ asset_id?: string | undefined;
100
+ anchor: {
101
+ startWord: number;
102
+ endWord: number;
103
+ } | {
104
+ quote: string;
105
+ occurrence?: number | undefined;
106
+ };
107
+ cover_words?: number | undefined;
108
+ enter?: "cut" | "fade" | "slide" | "tilt_in" | undefined;
109
+ position: "bottom" | "bottom_left" | "bottom_right" | "top" | "top_left" | "top_right";
92
110
  }[] | undefined;
111
+ layout_windows?: {
112
+ media_url?: string | undefined;
113
+ media_type: "image" | "video";
114
+ id: string;
115
+ asset_id?: string | undefined;
116
+ anchor: {
117
+ startWord: number;
118
+ endWord: number;
119
+ } | {
120
+ quote: string;
121
+ occurrence?: number | undefined;
122
+ };
123
+ cover_words?: number | undefined;
124
+ enter?: "cut" | "fade" | "slide" | "tilt_in" | undefined;
125
+ layout: "card" | "split";
126
+ blur_presenter?: boolean | undefined;
127
+ }[] | undefined;
128
+ templates?: ({
129
+ id: string;
130
+ anchor: {
131
+ startWord: number;
132
+ endWord: number;
133
+ } | {
134
+ quote: string;
135
+ occurrence?: number | undefined;
136
+ };
137
+ cover_words?: number | undefined;
138
+ placement?: "full" | "over" | undefined;
139
+ transition?: "cut" | "flash" | "wipe" | "zoom" | undefined;
140
+ kind: "tag";
141
+ data: {
142
+ text: string;
143
+ position?: "bottom" | "center" | "top" | undefined;
144
+ size?: "large" | "medium" | "small" | undefined;
145
+ };
146
+ } | {
147
+ id: string;
148
+ anchor: {
149
+ startWord: number;
150
+ endWord: number;
151
+ } | {
152
+ quote: string;
153
+ occurrence?: number | undefined;
154
+ };
155
+ cover_words?: number | undefined;
156
+ placement?: "full" | "over" | undefined;
157
+ transition?: "cut" | "flash" | "wipe" | "zoom" | undefined;
158
+ kind: "lower_third";
159
+ data: {
160
+ name: string;
161
+ role?: string | undefined;
162
+ side: "left" | "right";
163
+ size?: "large" | "medium" | "small" | undefined;
164
+ };
165
+ } | {
166
+ id: string;
167
+ anchor: {
168
+ startWord: number;
169
+ endWord: number;
170
+ } | {
171
+ quote: string;
172
+ occurrence?: number | undefined;
173
+ };
174
+ cover_words?: number | undefined;
175
+ placement?: "full" | "over" | undefined;
176
+ transition?: "cut" | "flash" | "wipe" | "zoom" | undefined;
177
+ kind: "end_card";
178
+ data: {
179
+ site: string;
180
+ cta?: string | undefined;
181
+ size?: "large" | "medium" | "small" | undefined;
182
+ };
183
+ } | {
184
+ id: string;
185
+ anchor: {
186
+ startWord: number;
187
+ endWord: number;
188
+ } | {
189
+ quote: string;
190
+ occurrence?: number | undefined;
191
+ };
192
+ cover_words?: number | undefined;
193
+ placement?: "full" | "over" | undefined;
194
+ transition?: "cut" | "flash" | "wipe" | "zoom" | undefined;
195
+ kind: "title_card";
196
+ data: {
197
+ title: string;
198
+ chip?: string | undefined;
199
+ logo?: {
200
+ asset_id: string;
201
+ } | undefined;
202
+ size?: "large" | "medium" | "small" | undefined;
203
+ };
204
+ } | {
205
+ id: string;
206
+ anchor: {
207
+ startWord: number;
208
+ endWord: number;
209
+ } | {
210
+ quote: string;
211
+ occurrence?: number | undefined;
212
+ };
213
+ cover_words?: number | undefined;
214
+ placement?: "full" | "over" | undefined;
215
+ transition?: "cut" | "flash" | "wipe" | "zoom" | undefined;
216
+ kind: "quote";
217
+ data: {
218
+ text: string;
219
+ author?: string | undefined;
220
+ photo?: {
221
+ asset_id: string;
222
+ } | undefined;
223
+ size?: "large" | "medium" | "small" | undefined;
224
+ };
225
+ } | {
226
+ id: string;
227
+ anchor: {
228
+ startWord: number;
229
+ endWord: number;
230
+ } | {
231
+ quote: string;
232
+ occurrence?: number | undefined;
233
+ };
234
+ cover_words?: number | undefined;
235
+ placement?: "full" | "over" | undefined;
236
+ transition?: "cut" | "flash" | "wipe" | "zoom" | undefined;
237
+ kind: "stat";
238
+ data: {
239
+ value: number;
240
+ prefix?: string | undefined;
241
+ suffix?: string | undefined;
242
+ label?: string | undefined;
243
+ size?: "large" | "medium" | "small" | undefined;
244
+ };
245
+ } | {
246
+ id: string;
247
+ anchor: {
248
+ startWord: number;
249
+ endWord: number;
250
+ } | {
251
+ quote: string;
252
+ occurrence?: number | undefined;
253
+ };
254
+ cover_words?: number | undefined;
255
+ placement?: "full" | "over" | undefined;
256
+ transition?: "cut" | "flash" | "wipe" | "zoom" | undefined;
257
+ kind: "callout";
258
+ data: {
259
+ target: {
260
+ x: number;
261
+ y: number;
262
+ };
263
+ style: "arrow" | "ring";
264
+ text?: string | undefined;
265
+ size?: "large" | "medium" | "small" | undefined;
266
+ };
267
+ } | {
268
+ id: string;
269
+ anchor: {
270
+ startWord: number;
271
+ endWord: number;
272
+ } | {
273
+ quote: string;
274
+ occurrence?: number | undefined;
275
+ };
276
+ cover_words?: number | undefined;
277
+ placement?: "full" | "over" | undefined;
278
+ transition?: "cut" | "flash" | "wipe" | "zoom" | undefined;
279
+ kind: "checklist";
280
+ data: {
281
+ items: {
282
+ label: string;
283
+ on: boolean;
284
+ icon?: "briefcase" | "chat" | "clock" | "phone" | "star" | "user" | undefined;
285
+ }[];
286
+ clicks?: {
287
+ item: number;
288
+ quote?: string | undefined;
289
+ }[] | undefined;
290
+ style?: "check" | "switch" | undefined;
291
+ size?: "large" | "medium" | "small" | undefined;
292
+ };
293
+ } | {
294
+ id: string;
295
+ anchor: {
296
+ startWord: number;
297
+ endWord: number;
298
+ } | {
299
+ quote: string;
300
+ occurrence?: number | undefined;
301
+ };
302
+ cover_words?: number | undefined;
303
+ placement?: "full" | "over" | undefined;
304
+ transition?: "cut" | "flash" | "wipe" | "zoom" | undefined;
305
+ kind: "phone_call";
306
+ data: {
307
+ caller: string;
308
+ subtitle?: string | undefined;
309
+ avatar?: {
310
+ asset_id: string;
311
+ } | undefined;
312
+ answer_at: string;
313
+ side?: "left" | "right" | undefined;
314
+ size?: "large" | "medium" | "small" | undefined;
315
+ };
316
+ } | {
317
+ id: string;
318
+ anchor: {
319
+ startWord: number;
320
+ endWord: number;
321
+ } | {
322
+ quote: string;
323
+ occurrence?: number | undefined;
324
+ };
325
+ cover_words?: number | undefined;
326
+ placement?: "full" | "over" | undefined;
327
+ transition?: "cut" | "flash" | "wipe" | "zoom" | undefined;
328
+ kind: "compare";
329
+ data: {
330
+ before: {
331
+ asset_id: string;
332
+ };
333
+ after: {
334
+ asset_id: string;
335
+ };
336
+ labels?: {
337
+ before?: string | undefined;
338
+ after?: string | undefined;
339
+ } | undefined;
340
+ reveal_at: string;
341
+ size?: "large" | "medium" | "small" | undefined;
342
+ };
343
+ } | {
344
+ id: string;
345
+ anchor: {
346
+ startWord: number;
347
+ endWord: number;
348
+ } | {
349
+ quote: string;
350
+ occurrence?: number | undefined;
351
+ };
352
+ cover_words?: number | undefined;
353
+ placement?: "full" | "over" | undefined;
354
+ transition?: "cut" | "flash" | "wipe" | "zoom" | undefined;
355
+ kind: "notification";
356
+ data: {
357
+ app: string;
358
+ title: string;
359
+ body: string;
360
+ icon?: "briefcase" | "chat" | "clock" | "phone" | "star" | "user" | undefined;
361
+ size?: "large" | "medium" | "small" | undefined;
362
+ };
363
+ } | {
364
+ id: string;
365
+ anchor: {
366
+ startWord: number;
367
+ endWord: number;
368
+ } | {
369
+ quote: string;
370
+ occurrence?: number | undefined;
371
+ };
372
+ cover_words?: number | undefined;
373
+ placement?: "full" | "over" | undefined;
374
+ transition?: "cut" | "flash" | "wipe" | "zoom" | undefined;
375
+ kind: "progress";
376
+ data: {
377
+ steps: string[];
378
+ advance_at?: string[] | undefined;
379
+ size?: "large" | "medium" | "small" | undefined;
380
+ };
381
+ } | {
382
+ id: string;
383
+ anchor: {
384
+ startWord: number;
385
+ endWord: number;
386
+ } | {
387
+ quote: string;
388
+ occurrence?: number | undefined;
389
+ };
390
+ cover_words?: number | undefined;
391
+ placement?: "full" | "over" | undefined;
392
+ transition?: "cut" | "flash" | "wipe" | "zoom" | undefined;
393
+ kind: "rating";
394
+ data: {
395
+ stars: number;
396
+ label?: string | undefined;
397
+ size?: "large" | "medium" | "small" | undefined;
398
+ };
399
+ })[] | undefined;
400
+ template_theme?: {
401
+ preset?: "bold_dark" | "clean_light" | "mono" | "neon" | "paper" | undefined;
402
+ accent?: string | undefined;
403
+ } | undefined;
404
+ template_sounds?: false | {
405
+ 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;
406
+ 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;
407
+ 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;
408
+ 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;
409
+ 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;
410
+ 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;
411
+ 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;
412
+ 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;
413
+ } | undefined;
93
414
  person?: string | undefined;
94
415
  actor_id?: string | undefined;
95
416
  image?: string | undefined;
@@ -99,7 +420,13 @@ export declare function defineWorkflowMethod(value: MethodDescriptorArgs): {
99
420
  broll_url?: string | undefined;
100
421
  broll_policy?: "anyone" | "no_actor" | "no_people" | undefined;
101
422
  captions: boolean;
102
- caption_style: "hormozi" | "minimal" | "tiktok";
423
+ 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";
424
+ caption_emphasis?: (string | {
425
+ quote: string;
426
+ look?: "color" | "pill" | "punch" | undefined;
427
+ punch_in?: boolean | undefined;
428
+ })[] | undefined;
429
+ caption_mode?: "full" | "highlights" | undefined;
103
430
  look: "commercial" | "natural" | "raw_iphone";
104
431
  aspect_ratio?: "16:9" | "1:1" | "9:16" | undefined;
105
432
  resolution?: "1080p" | "4k" | "720p" | undefined;