post-engineer-mcp 1.51.0 → 1.52.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 (65) hide show
  1. package/README.md +10 -8
  2. package/dist/account-shapes.d.ts +4 -4
  3. package/dist/account-shapes.js +1 -1
  4. package/dist/account-shapes.js.map +1 -1
  5. package/dist/client-types.d.ts +16 -15
  6. package/dist/client-user-media.d.ts +1 -1
  7. package/dist/client-user-media.js +0 -1
  8. package/dist/client-user-media.js.map +1 -1
  9. package/dist/client.d.ts +2 -2
  10. package/dist/client.js +9 -9
  11. package/dist/client.js.map +1 -1
  12. package/dist/connect-account.d.ts +4 -4
  13. package/dist/connect-account.js +1 -1
  14. package/dist/connect-account.js.map +1 -1
  15. package/dist/direct-publish-form.js +4 -4
  16. package/dist/direct-publish-form.js.map +1 -1
  17. package/dist/errors.d.ts +6 -1
  18. package/dist/errors.js +11 -2
  19. package/dist/errors.js.map +1 -1
  20. package/dist/index.js +11 -8
  21. package/dist/index.js.map +1 -1
  22. package/dist/limits.d.ts +1 -8
  23. package/dist/limits.js +1 -8
  24. package/dist/limits.js.map +1 -1
  25. package/dist/persona-avatar.js +2 -2
  26. package/dist/persona-avatar.js.map +1 -1
  27. package/dist/persona-update.d.ts +6 -6
  28. package/dist/persona-update.js +1 -1
  29. package/dist/persona-update.js.map +1 -1
  30. package/dist/publish-direct-shape.d.ts +4 -4
  31. package/dist/publish-direct-shape.js +4 -4
  32. package/dist/publish-direct-shape.js.map +1 -1
  33. package/dist/recipe-session.d.ts +3 -2
  34. package/dist/recipe-session.js +2 -2
  35. package/dist/recipe-session.js.map +1 -1
  36. package/dist/schedule-shapes.d.ts +2 -4
  37. package/dist/schedule-shapes.js +18 -13
  38. package/dist/schedule-shapes.js.map +1 -1
  39. package/dist/script-segments.d.ts +9 -5
  40. package/dist/script-segments.js +26 -23
  41. package/dist/script-segments.js.map +1 -1
  42. package/dist/single-video-shape.d.ts +141 -58
  43. package/dist/single-video-shape.js +34 -11
  44. package/dist/single-video-shape.js.map +1 -1
  45. package/dist/tools-batch.d.ts +68 -97
  46. package/dist/tools-batch.js +1 -1
  47. package/dist/tools-batch.js.map +1 -1
  48. package/dist/tools-experiments.d.ts +28 -48
  49. package/dist/tools-posts.d.ts +4 -4
  50. package/dist/tools-single-video.d.ts +4 -4
  51. package/dist/tools-single-video.js +21 -14
  52. package/dist/tools-single-video.js.map +1 -1
  53. package/dist/tools-user-media.d.ts +2 -2
  54. package/dist/tools-user-media.js +2 -2
  55. package/dist/tools-user-media.js.map +1 -1
  56. package/dist/tools.d.ts +34 -22
  57. package/dist/tools.js +3 -3
  58. package/dist/tools.js.map +1 -1
  59. package/dist/video-task-tools.d.ts +30 -0
  60. package/dist/video-task-tools.js +173 -0
  61. package/dist/video-task-tools.js.map +1 -1
  62. package/dist/video-type.d.ts +16 -0
  63. package/dist/video-type.js +28 -0
  64. package/dist/video-type.js.map +1 -0
  65. package/package.json +1 -1
@@ -39,7 +39,6 @@ export declare const BatchVideoSchema: z.ZodObject<Omit<{
39
39
  badge?: string | undefined;
40
40
  } | undefined;
41
41
  }>, "many">>;
42
- terms: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
43
42
  }, "strict", z.ZodTypeAny, {
44
43
  kind: "hook" | "body" | "cta";
45
44
  text: string;
@@ -52,7 +51,6 @@ export declare const BatchVideoSchema: z.ZodObject<Omit<{
52
51
  badge?: string | undefined;
53
52
  } | undefined;
54
53
  }[] | undefined;
55
- terms?: string[] | undefined;
56
54
  }, {
57
55
  kind: "hook" | "body" | "cta";
58
56
  text: string;
@@ -65,11 +63,11 @@ export declare const BatchVideoSchema: z.ZodObject<Omit<{
65
63
  badge?: string | undefined;
66
64
  } | undefined;
67
65
  }[] | undefined;
68
- terms?: string[] | undefined;
69
66
  }>, "many">;
70
67
  title: z.ZodString;
68
+ description: z.ZodString;
71
69
  language: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
72
- providers: z.ZodArray<z.ZodEnum<["youtube", "instagram", "linkedin", "bluesky", "threads", "facebook", "pinterest", "3speak", "rumble"]>, "many">;
70
+ providers: z.ZodArray<z.ZodEnum<["youtube", "instagram", "linkedin", "bluesky", "threads", "facebook", "pinterest", "fanvue", "3speak", "rumble"]>, "many">;
73
71
  youtubeAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
74
72
  instagramAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
75
73
  linkedinAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -78,6 +76,7 @@ export declare const BatchVideoSchema: z.ZodObject<Omit<{
78
76
  facebookAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
79
77
  pinterestAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
80
78
  pinterestBoardId: z.ZodOptional<z.ZodString>;
79
+ fanvueAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
81
80
  threespeakAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
82
81
  rumbleAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
83
82
  mode: z.ZodDefault<z.ZodEnum<["scheduled", "asap"]>>;
@@ -85,45 +84,39 @@ export declare const BatchVideoSchema: z.ZodObject<Omit<{
85
84
  times: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
86
85
  timezone: z.ZodDefault<z.ZodString>;
87
86
  options: z.ZodOptional<z.ZodObject<{
88
- faceless: z.ZodOptional<z.ZodBoolean>;
89
- facelessMaterial: z.ZodOptional<z.ZodEnum<["broll", "svg", "images"]>>;
90
- fullLipsync: z.ZodOptional<z.ZodBoolean>;
87
+ videoType: z.ZodEnum<["full_lipsync", "hook_lipsync", "faceless"]>;
91
88
  musicMood: z.ZodOptional<z.ZodString>;
92
89
  audioUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
93
90
  imageId: z.ZodOptional<z.ZodString>;
94
91
  voiceId: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<[string, ...string[]]>, z.ZodString]>, string, string>>;
95
92
  webhookUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
96
- videoAspect: z.ZodOptional<z.ZodEnum<["9:16", "16:9"]>>;
93
+ videoAspect: z.ZodOptional<z.ZodEnum<["9:16", "16:9", "1:1"]>>;
97
94
  videoLayout: z.ZodOptional<z.ZodEnum<["standard", "react"]>>;
98
95
  paragraphNumber: z.ZodOptional<z.ZodNumber>;
99
96
  language: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
100
97
  niche: z.ZodOptional<z.ZodString>;
101
98
  }, "strip", z.ZodTypeAny, {
99
+ videoType: "full_lipsync" | "hook_lipsync" | "faceless";
102
100
  voiceId?: string | undefined;
103
101
  language?: string | undefined;
104
- videoAspect?: "9:16" | "16:9" | undefined;
102
+ videoAspect?: "9:16" | "16:9" | "1:1" | undefined;
105
103
  videoLayout?: "standard" | "react" | undefined;
106
104
  paragraphNumber?: number | undefined;
107
105
  niche?: string | undefined;
108
106
  audioUrl?: string | undefined;
109
107
  webhookUrl?: string | undefined;
110
- faceless?: boolean | undefined;
111
- facelessMaterial?: "broll" | "svg" | "images" | undefined;
112
- fullLipsync?: boolean | undefined;
113
108
  musicMood?: string | undefined;
114
109
  imageId?: string | undefined;
115
110
  }, {
111
+ videoType: "full_lipsync" | "hook_lipsync" | "faceless";
116
112
  voiceId?: string | undefined;
117
113
  language?: string | undefined;
118
- videoAspect?: "9:16" | "16:9" | undefined;
114
+ videoAspect?: "9:16" | "16:9" | "1:1" | undefined;
119
115
  videoLayout?: "standard" | "react" | undefined;
120
116
  paragraphNumber?: number | undefined;
121
117
  niche?: string | undefined;
122
118
  audioUrl?: string | undefined;
123
119
  webhookUrl?: string | undefined;
124
- faceless?: boolean | undefined;
125
- facelessMaterial?: "broll" | "svg" | "images" | undefined;
126
- fullLipsync?: boolean | undefined;
127
120
  musicMood?: string | undefined;
128
121
  imageId?: string | undefined;
129
122
  }>>;
@@ -144,8 +137,9 @@ export declare const BatchVideoSchema: z.ZodObject<Omit<{
144
137
  recipe: z.ZodOptional<z.ZodString>;
145
138
  }, "experiment" | "idempotencyKey" | "recipe">, "strict", z.ZodTypeAny, {
146
139
  title: string;
140
+ description: string;
147
141
  timezone: string;
148
- providers: ("youtube" | "instagram" | "linkedin" | "bluesky" | "threads" | "facebook" | "pinterest" | "3speak" | "rumble")[];
142
+ providers: ("youtube" | "instagram" | "linkedin" | "bluesky" | "threads" | "facebook" | "pinterest" | "fanvue" | "3speak" | "rumble")[];
149
143
  segments: {
150
144
  kind: "hook" | "body" | "cta";
151
145
  text: string;
@@ -158,21 +152,18 @@ export declare const BatchVideoSchema: z.ZodObject<Omit<{
158
152
  badge?: string | undefined;
159
153
  } | undefined;
160
154
  }[] | undefined;
161
- terms?: string[] | undefined;
162
155
  }[];
163
156
  mode: "scheduled" | "asap";
164
157
  options?: {
158
+ videoType: "full_lipsync" | "hook_lipsync" | "faceless";
165
159
  voiceId?: string | undefined;
166
160
  language?: string | undefined;
167
- videoAspect?: "9:16" | "16:9" | undefined;
161
+ videoAspect?: "9:16" | "16:9" | "1:1" | undefined;
168
162
  videoLayout?: "standard" | "react" | undefined;
169
163
  paragraphNumber?: number | undefined;
170
164
  niche?: string | undefined;
171
165
  audioUrl?: string | undefined;
172
166
  webhookUrl?: string | undefined;
173
- faceless?: boolean | undefined;
174
- facelessMaterial?: "broll" | "svg" | "images" | undefined;
175
- fullLipsync?: boolean | undefined;
176
167
  musicMood?: string | undefined;
177
168
  imageId?: string | undefined;
178
169
  } | undefined;
@@ -180,6 +171,7 @@ export declare const BatchVideoSchema: z.ZodObject<Omit<{
180
171
  threadsAccountIds?: string[] | undefined;
181
172
  facebookAccountIds?: string[] | undefined;
182
173
  pinterestAccountIds?: string[] | undefined;
174
+ fanvueAccountIds?: string[] | undefined;
183
175
  threespeakAccountIds?: string[] | undefined;
184
176
  rumbleAccountIds?: string[] | undefined;
185
177
  language?: string | undefined;
@@ -192,7 +184,8 @@ export declare const BatchVideoSchema: z.ZodObject<Omit<{
192
184
  times?: string[] | undefined;
193
185
  }, {
194
186
  title: string;
195
- providers: ("youtube" | "instagram" | "linkedin" | "bluesky" | "threads" | "facebook" | "pinterest" | "3speak" | "rumble")[];
187
+ description: string;
188
+ providers: ("youtube" | "instagram" | "linkedin" | "bluesky" | "threads" | "facebook" | "pinterest" | "fanvue" | "3speak" | "rumble")[];
196
189
  segments: {
197
190
  kind: "hook" | "body" | "cta";
198
191
  text: string;
@@ -205,20 +198,17 @@ export declare const BatchVideoSchema: z.ZodObject<Omit<{
205
198
  badge?: string | undefined;
206
199
  } | undefined;
207
200
  }[] | undefined;
208
- terms?: string[] | undefined;
209
201
  }[];
210
202
  options?: {
203
+ videoType: "full_lipsync" | "hook_lipsync" | "faceless";
211
204
  voiceId?: string | undefined;
212
205
  language?: string | undefined;
213
- videoAspect?: "9:16" | "16:9" | undefined;
206
+ videoAspect?: "9:16" | "16:9" | "1:1" | undefined;
214
207
  videoLayout?: "standard" | "react" | undefined;
215
208
  paragraphNumber?: number | undefined;
216
209
  niche?: string | undefined;
217
210
  audioUrl?: string | undefined;
218
211
  webhookUrl?: string | undefined;
219
- faceless?: boolean | undefined;
220
- facelessMaterial?: "broll" | "svg" | "images" | undefined;
221
- fullLipsync?: boolean | undefined;
222
212
  musicMood?: string | undefined;
223
213
  imageId?: string | undefined;
224
214
  } | undefined;
@@ -226,6 +216,7 @@ export declare const BatchVideoSchema: z.ZodObject<Omit<{
226
216
  threadsAccountIds?: string[] | undefined;
227
217
  facebookAccountIds?: string[] | undefined;
228
218
  pinterestAccountIds?: string[] | undefined;
219
+ fanvueAccountIds?: string[] | undefined;
229
220
  threespeakAccountIds?: string[] | undefined;
230
221
  rumbleAccountIds?: string[] | undefined;
231
222
  language?: string | undefined;
@@ -279,7 +270,6 @@ export declare const GeneratePersonaVideoBatchShape: {
279
270
  badge?: string | undefined;
280
271
  } | undefined;
281
272
  }>, "many">>;
282
- terms: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
283
273
  }, "strict", z.ZodTypeAny, {
284
274
  kind: "hook" | "body" | "cta";
285
275
  text: string;
@@ -292,7 +282,6 @@ export declare const GeneratePersonaVideoBatchShape: {
292
282
  badge?: string | undefined;
293
283
  } | undefined;
294
284
  }[] | undefined;
295
- terms?: string[] | undefined;
296
285
  }, {
297
286
  kind: "hook" | "body" | "cta";
298
287
  text: string;
@@ -305,11 +294,11 @@ export declare const GeneratePersonaVideoBatchShape: {
305
294
  badge?: string | undefined;
306
295
  } | undefined;
307
296
  }[] | undefined;
308
- terms?: string[] | undefined;
309
297
  }>, "many">;
310
298
  title: z.ZodString;
299
+ description: z.ZodString;
311
300
  language: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
312
- providers: z.ZodArray<z.ZodEnum<["youtube", "instagram", "linkedin", "bluesky", "threads", "facebook", "pinterest", "3speak", "rumble"]>, "many">;
301
+ providers: z.ZodArray<z.ZodEnum<["youtube", "instagram", "linkedin", "bluesky", "threads", "facebook", "pinterest", "fanvue", "3speak", "rumble"]>, "many">;
313
302
  youtubeAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
314
303
  instagramAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
315
304
  linkedinAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -318,6 +307,7 @@ export declare const GeneratePersonaVideoBatchShape: {
318
307
  facebookAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
319
308
  pinterestAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
320
309
  pinterestBoardId: z.ZodOptional<z.ZodString>;
310
+ fanvueAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
321
311
  threespeakAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
322
312
  rumbleAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
323
313
  mode: z.ZodDefault<z.ZodEnum<["scheduled", "asap"]>>;
@@ -325,45 +315,39 @@ export declare const GeneratePersonaVideoBatchShape: {
325
315
  times: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
326
316
  timezone: z.ZodDefault<z.ZodString>;
327
317
  options: z.ZodOptional<z.ZodObject<{
328
- faceless: z.ZodOptional<z.ZodBoolean>;
329
- facelessMaterial: z.ZodOptional<z.ZodEnum<["broll", "svg", "images"]>>;
330
- fullLipsync: z.ZodOptional<z.ZodBoolean>;
318
+ videoType: z.ZodEnum<["full_lipsync", "hook_lipsync", "faceless"]>;
331
319
  musicMood: z.ZodOptional<z.ZodString>;
332
320
  audioUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
333
321
  imageId: z.ZodOptional<z.ZodString>;
334
322
  voiceId: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<[string, ...string[]]>, z.ZodString]>, string, string>>;
335
323
  webhookUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
336
- videoAspect: z.ZodOptional<z.ZodEnum<["9:16", "16:9"]>>;
324
+ videoAspect: z.ZodOptional<z.ZodEnum<["9:16", "16:9", "1:1"]>>;
337
325
  videoLayout: z.ZodOptional<z.ZodEnum<["standard", "react"]>>;
338
326
  paragraphNumber: z.ZodOptional<z.ZodNumber>;
339
327
  language: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
340
328
  niche: z.ZodOptional<z.ZodString>;
341
329
  }, "strip", z.ZodTypeAny, {
330
+ videoType: "full_lipsync" | "hook_lipsync" | "faceless";
342
331
  voiceId?: string | undefined;
343
332
  language?: string | undefined;
344
- videoAspect?: "9:16" | "16:9" | undefined;
333
+ videoAspect?: "9:16" | "16:9" | "1:1" | undefined;
345
334
  videoLayout?: "standard" | "react" | undefined;
346
335
  paragraphNumber?: number | undefined;
347
336
  niche?: string | undefined;
348
337
  audioUrl?: string | undefined;
349
338
  webhookUrl?: string | undefined;
350
- faceless?: boolean | undefined;
351
- facelessMaterial?: "broll" | "svg" | "images" | undefined;
352
- fullLipsync?: boolean | undefined;
353
339
  musicMood?: string | undefined;
354
340
  imageId?: string | undefined;
355
341
  }, {
342
+ videoType: "full_lipsync" | "hook_lipsync" | "faceless";
356
343
  voiceId?: string | undefined;
357
344
  language?: string | undefined;
358
- videoAspect?: "9:16" | "16:9" | undefined;
345
+ videoAspect?: "9:16" | "16:9" | "1:1" | undefined;
359
346
  videoLayout?: "standard" | "react" | undefined;
360
347
  paragraphNumber?: number | undefined;
361
348
  niche?: string | undefined;
362
349
  audioUrl?: string | undefined;
363
350
  webhookUrl?: string | undefined;
364
- faceless?: boolean | undefined;
365
- facelessMaterial?: "broll" | "svg" | "images" | undefined;
366
- fullLipsync?: boolean | undefined;
367
351
  musicMood?: string | undefined;
368
352
  imageId?: string | undefined;
369
353
  }>>;
@@ -384,8 +368,9 @@ export declare const GeneratePersonaVideoBatchShape: {
384
368
  recipe: z.ZodOptional<z.ZodString>;
385
369
  }, "experiment" | "idempotencyKey" | "recipe">, "strict", z.ZodTypeAny, {
386
370
  title: string;
371
+ description: string;
387
372
  timezone: string;
388
- providers: ("youtube" | "instagram" | "linkedin" | "bluesky" | "threads" | "facebook" | "pinterest" | "3speak" | "rumble")[];
373
+ providers: ("youtube" | "instagram" | "linkedin" | "bluesky" | "threads" | "facebook" | "pinterest" | "fanvue" | "3speak" | "rumble")[];
389
374
  segments: {
390
375
  kind: "hook" | "body" | "cta";
391
376
  text: string;
@@ -398,21 +383,18 @@ export declare const GeneratePersonaVideoBatchShape: {
398
383
  badge?: string | undefined;
399
384
  } | undefined;
400
385
  }[] | undefined;
401
- terms?: string[] | undefined;
402
386
  }[];
403
387
  mode: "scheduled" | "asap";
404
388
  options?: {
389
+ videoType: "full_lipsync" | "hook_lipsync" | "faceless";
405
390
  voiceId?: string | undefined;
406
391
  language?: string | undefined;
407
- videoAspect?: "9:16" | "16:9" | undefined;
392
+ videoAspect?: "9:16" | "16:9" | "1:1" | undefined;
408
393
  videoLayout?: "standard" | "react" | undefined;
409
394
  paragraphNumber?: number | undefined;
410
395
  niche?: string | undefined;
411
396
  audioUrl?: string | undefined;
412
397
  webhookUrl?: string | undefined;
413
- faceless?: boolean | undefined;
414
- facelessMaterial?: "broll" | "svg" | "images" | undefined;
415
- fullLipsync?: boolean | undefined;
416
398
  musicMood?: string | undefined;
417
399
  imageId?: string | undefined;
418
400
  } | undefined;
@@ -420,6 +402,7 @@ export declare const GeneratePersonaVideoBatchShape: {
420
402
  threadsAccountIds?: string[] | undefined;
421
403
  facebookAccountIds?: string[] | undefined;
422
404
  pinterestAccountIds?: string[] | undefined;
405
+ fanvueAccountIds?: string[] | undefined;
423
406
  threespeakAccountIds?: string[] | undefined;
424
407
  rumbleAccountIds?: string[] | undefined;
425
408
  language?: string | undefined;
@@ -432,7 +415,8 @@ export declare const GeneratePersonaVideoBatchShape: {
432
415
  times?: string[] | undefined;
433
416
  }, {
434
417
  title: string;
435
- providers: ("youtube" | "instagram" | "linkedin" | "bluesky" | "threads" | "facebook" | "pinterest" | "3speak" | "rumble")[];
418
+ description: string;
419
+ providers: ("youtube" | "instagram" | "linkedin" | "bluesky" | "threads" | "facebook" | "pinterest" | "fanvue" | "3speak" | "rumble")[];
436
420
  segments: {
437
421
  kind: "hook" | "body" | "cta";
438
422
  text: string;
@@ -445,20 +429,17 @@ export declare const GeneratePersonaVideoBatchShape: {
445
429
  badge?: string | undefined;
446
430
  } | undefined;
447
431
  }[] | undefined;
448
- terms?: string[] | undefined;
449
432
  }[];
450
433
  options?: {
434
+ videoType: "full_lipsync" | "hook_lipsync" | "faceless";
451
435
  voiceId?: string | undefined;
452
436
  language?: string | undefined;
453
- videoAspect?: "9:16" | "16:9" | undefined;
437
+ videoAspect?: "9:16" | "16:9" | "1:1" | undefined;
454
438
  videoLayout?: "standard" | "react" | undefined;
455
439
  paragraphNumber?: number | undefined;
456
440
  niche?: string | undefined;
457
441
  audioUrl?: string | undefined;
458
442
  webhookUrl?: string | undefined;
459
- faceless?: boolean | undefined;
460
- facelessMaterial?: "broll" | "svg" | "images" | undefined;
461
- fullLipsync?: boolean | undefined;
462
443
  musicMood?: string | undefined;
463
444
  imageId?: string | undefined;
464
445
  } | undefined;
@@ -466,6 +447,7 @@ export declare const GeneratePersonaVideoBatchShape: {
466
447
  threadsAccountIds?: string[] | undefined;
467
448
  facebookAccountIds?: string[] | undefined;
468
449
  pinterestAccountIds?: string[] | undefined;
450
+ fanvueAccountIds?: string[] | undefined;
469
451
  threespeakAccountIds?: string[] | undefined;
470
452
  rumbleAccountIds?: string[] | undefined;
471
453
  language?: string | undefined;
@@ -520,7 +502,6 @@ export declare const GeneratePersonaVideoBatchSchema: z.ZodObject<{
520
502
  badge?: string | undefined;
521
503
  } | undefined;
522
504
  }>, "many">>;
523
- terms: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
524
505
  }, "strict", z.ZodTypeAny, {
525
506
  kind: "hook" | "body" | "cta";
526
507
  text: string;
@@ -533,7 +514,6 @@ export declare const GeneratePersonaVideoBatchSchema: z.ZodObject<{
533
514
  badge?: string | undefined;
534
515
  } | undefined;
535
516
  }[] | undefined;
536
- terms?: string[] | undefined;
537
517
  }, {
538
518
  kind: "hook" | "body" | "cta";
539
519
  text: string;
@@ -546,11 +526,11 @@ export declare const GeneratePersonaVideoBatchSchema: z.ZodObject<{
546
526
  badge?: string | undefined;
547
527
  } | undefined;
548
528
  }[] | undefined;
549
- terms?: string[] | undefined;
550
529
  }>, "many">;
551
530
  title: z.ZodString;
531
+ description: z.ZodString;
552
532
  language: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
553
- providers: z.ZodArray<z.ZodEnum<["youtube", "instagram", "linkedin", "bluesky", "threads", "facebook", "pinterest", "3speak", "rumble"]>, "many">;
533
+ providers: z.ZodArray<z.ZodEnum<["youtube", "instagram", "linkedin", "bluesky", "threads", "facebook", "pinterest", "fanvue", "3speak", "rumble"]>, "many">;
554
534
  youtubeAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
555
535
  instagramAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
556
536
  linkedinAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -559,6 +539,7 @@ export declare const GeneratePersonaVideoBatchSchema: z.ZodObject<{
559
539
  facebookAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
560
540
  pinterestAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
561
541
  pinterestBoardId: z.ZodOptional<z.ZodString>;
542
+ fanvueAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
562
543
  threespeakAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
563
544
  rumbleAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
564
545
  mode: z.ZodDefault<z.ZodEnum<["scheduled", "asap"]>>;
@@ -566,45 +547,39 @@ export declare const GeneratePersonaVideoBatchSchema: z.ZodObject<{
566
547
  times: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
567
548
  timezone: z.ZodDefault<z.ZodString>;
568
549
  options: z.ZodOptional<z.ZodObject<{
569
- faceless: z.ZodOptional<z.ZodBoolean>;
570
- facelessMaterial: z.ZodOptional<z.ZodEnum<["broll", "svg", "images"]>>;
571
- fullLipsync: z.ZodOptional<z.ZodBoolean>;
550
+ videoType: z.ZodEnum<["full_lipsync", "hook_lipsync", "faceless"]>;
572
551
  musicMood: z.ZodOptional<z.ZodString>;
573
552
  audioUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
574
553
  imageId: z.ZodOptional<z.ZodString>;
575
554
  voiceId: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<[string, ...string[]]>, z.ZodString]>, string, string>>;
576
555
  webhookUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
577
- videoAspect: z.ZodOptional<z.ZodEnum<["9:16", "16:9"]>>;
556
+ videoAspect: z.ZodOptional<z.ZodEnum<["9:16", "16:9", "1:1"]>>;
578
557
  videoLayout: z.ZodOptional<z.ZodEnum<["standard", "react"]>>;
579
558
  paragraphNumber: z.ZodOptional<z.ZodNumber>;
580
559
  language: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
581
560
  niche: z.ZodOptional<z.ZodString>;
582
561
  }, "strip", z.ZodTypeAny, {
562
+ videoType: "full_lipsync" | "hook_lipsync" | "faceless";
583
563
  voiceId?: string | undefined;
584
564
  language?: string | undefined;
585
- videoAspect?: "9:16" | "16:9" | undefined;
565
+ videoAspect?: "9:16" | "16:9" | "1:1" | undefined;
586
566
  videoLayout?: "standard" | "react" | undefined;
587
567
  paragraphNumber?: number | undefined;
588
568
  niche?: string | undefined;
589
569
  audioUrl?: string | undefined;
590
570
  webhookUrl?: string | undefined;
591
- faceless?: boolean | undefined;
592
- facelessMaterial?: "broll" | "svg" | "images" | undefined;
593
- fullLipsync?: boolean | undefined;
594
571
  musicMood?: string | undefined;
595
572
  imageId?: string | undefined;
596
573
  }, {
574
+ videoType: "full_lipsync" | "hook_lipsync" | "faceless";
597
575
  voiceId?: string | undefined;
598
576
  language?: string | undefined;
599
- videoAspect?: "9:16" | "16:9" | undefined;
577
+ videoAspect?: "9:16" | "16:9" | "1:1" | undefined;
600
578
  videoLayout?: "standard" | "react" | undefined;
601
579
  paragraphNumber?: number | undefined;
602
580
  niche?: string | undefined;
603
581
  audioUrl?: string | undefined;
604
582
  webhookUrl?: string | undefined;
605
- faceless?: boolean | undefined;
606
- facelessMaterial?: "broll" | "svg" | "images" | undefined;
607
- fullLipsync?: boolean | undefined;
608
583
  musicMood?: string | undefined;
609
584
  imageId?: string | undefined;
610
585
  }>>;
@@ -625,8 +600,9 @@ export declare const GeneratePersonaVideoBatchSchema: z.ZodObject<{
625
600
  recipe: z.ZodOptional<z.ZodString>;
626
601
  }, "experiment" | "idempotencyKey" | "recipe">, "strict", z.ZodTypeAny, {
627
602
  title: string;
603
+ description: string;
628
604
  timezone: string;
629
- providers: ("youtube" | "instagram" | "linkedin" | "bluesky" | "threads" | "facebook" | "pinterest" | "3speak" | "rumble")[];
605
+ providers: ("youtube" | "instagram" | "linkedin" | "bluesky" | "threads" | "facebook" | "pinterest" | "fanvue" | "3speak" | "rumble")[];
630
606
  segments: {
631
607
  kind: "hook" | "body" | "cta";
632
608
  text: string;
@@ -639,21 +615,18 @@ export declare const GeneratePersonaVideoBatchSchema: z.ZodObject<{
639
615
  badge?: string | undefined;
640
616
  } | undefined;
641
617
  }[] | undefined;
642
- terms?: string[] | undefined;
643
618
  }[];
644
619
  mode: "scheduled" | "asap";
645
620
  options?: {
621
+ videoType: "full_lipsync" | "hook_lipsync" | "faceless";
646
622
  voiceId?: string | undefined;
647
623
  language?: string | undefined;
648
- videoAspect?: "9:16" | "16:9" | undefined;
624
+ videoAspect?: "9:16" | "16:9" | "1:1" | undefined;
649
625
  videoLayout?: "standard" | "react" | undefined;
650
626
  paragraphNumber?: number | undefined;
651
627
  niche?: string | undefined;
652
628
  audioUrl?: string | undefined;
653
629
  webhookUrl?: string | undefined;
654
- faceless?: boolean | undefined;
655
- facelessMaterial?: "broll" | "svg" | "images" | undefined;
656
- fullLipsync?: boolean | undefined;
657
630
  musicMood?: string | undefined;
658
631
  imageId?: string | undefined;
659
632
  } | undefined;
@@ -661,6 +634,7 @@ export declare const GeneratePersonaVideoBatchSchema: z.ZodObject<{
661
634
  threadsAccountIds?: string[] | undefined;
662
635
  facebookAccountIds?: string[] | undefined;
663
636
  pinterestAccountIds?: string[] | undefined;
637
+ fanvueAccountIds?: string[] | undefined;
664
638
  threespeakAccountIds?: string[] | undefined;
665
639
  rumbleAccountIds?: string[] | undefined;
666
640
  language?: string | undefined;
@@ -673,7 +647,8 @@ export declare const GeneratePersonaVideoBatchSchema: z.ZodObject<{
673
647
  times?: string[] | undefined;
674
648
  }, {
675
649
  title: string;
676
- providers: ("youtube" | "instagram" | "linkedin" | "bluesky" | "threads" | "facebook" | "pinterest" | "3speak" | "rumble")[];
650
+ description: string;
651
+ providers: ("youtube" | "instagram" | "linkedin" | "bluesky" | "threads" | "facebook" | "pinterest" | "fanvue" | "3speak" | "rumble")[];
677
652
  segments: {
678
653
  kind: "hook" | "body" | "cta";
679
654
  text: string;
@@ -686,20 +661,17 @@ export declare const GeneratePersonaVideoBatchSchema: z.ZodObject<{
686
661
  badge?: string | undefined;
687
662
  } | undefined;
688
663
  }[] | undefined;
689
- terms?: string[] | undefined;
690
664
  }[];
691
665
  options?: {
666
+ videoType: "full_lipsync" | "hook_lipsync" | "faceless";
692
667
  voiceId?: string | undefined;
693
668
  language?: string | undefined;
694
- videoAspect?: "9:16" | "16:9" | undefined;
669
+ videoAspect?: "9:16" | "16:9" | "1:1" | undefined;
695
670
  videoLayout?: "standard" | "react" | undefined;
696
671
  paragraphNumber?: number | undefined;
697
672
  niche?: string | undefined;
698
673
  audioUrl?: string | undefined;
699
674
  webhookUrl?: string | undefined;
700
- faceless?: boolean | undefined;
701
- facelessMaterial?: "broll" | "svg" | "images" | undefined;
702
- fullLipsync?: boolean | undefined;
703
675
  musicMood?: string | undefined;
704
676
  imageId?: string | undefined;
705
677
  } | undefined;
@@ -707,6 +679,7 @@ export declare const GeneratePersonaVideoBatchSchema: z.ZodObject<{
707
679
  threadsAccountIds?: string[] | undefined;
708
680
  facebookAccountIds?: string[] | undefined;
709
681
  pinterestAccountIds?: string[] | undefined;
682
+ fanvueAccountIds?: string[] | undefined;
710
683
  threespeakAccountIds?: string[] | undefined;
711
684
  rumbleAccountIds?: string[] | undefined;
712
685
  language?: string | undefined;
@@ -723,8 +696,9 @@ export declare const GeneratePersonaVideoBatchSchema: z.ZodObject<{
723
696
  }, "strip", z.ZodTypeAny, {
724
697
  videos: {
725
698
  title: string;
699
+ description: string;
726
700
  timezone: string;
727
- providers: ("youtube" | "instagram" | "linkedin" | "bluesky" | "threads" | "facebook" | "pinterest" | "3speak" | "rumble")[];
701
+ providers: ("youtube" | "instagram" | "linkedin" | "bluesky" | "threads" | "facebook" | "pinterest" | "fanvue" | "3speak" | "rumble")[];
728
702
  segments: {
729
703
  kind: "hook" | "body" | "cta";
730
704
  text: string;
@@ -737,21 +711,18 @@ export declare const GeneratePersonaVideoBatchSchema: z.ZodObject<{
737
711
  badge?: string | undefined;
738
712
  } | undefined;
739
713
  }[] | undefined;
740
- terms?: string[] | undefined;
741
714
  }[];
742
715
  mode: "scheduled" | "asap";
743
716
  options?: {
717
+ videoType: "full_lipsync" | "hook_lipsync" | "faceless";
744
718
  voiceId?: string | undefined;
745
719
  language?: string | undefined;
746
- videoAspect?: "9:16" | "16:9" | undefined;
720
+ videoAspect?: "9:16" | "16:9" | "1:1" | undefined;
747
721
  videoLayout?: "standard" | "react" | undefined;
748
722
  paragraphNumber?: number | undefined;
749
723
  niche?: string | undefined;
750
724
  audioUrl?: string | undefined;
751
725
  webhookUrl?: string | undefined;
752
- faceless?: boolean | undefined;
753
- facelessMaterial?: "broll" | "svg" | "images" | undefined;
754
- fullLipsync?: boolean | undefined;
755
726
  musicMood?: string | undefined;
756
727
  imageId?: string | undefined;
757
728
  } | undefined;
@@ -759,6 +730,7 @@ export declare const GeneratePersonaVideoBatchSchema: z.ZodObject<{
759
730
  threadsAccountIds?: string[] | undefined;
760
731
  facebookAccountIds?: string[] | undefined;
761
732
  pinterestAccountIds?: string[] | undefined;
733
+ fanvueAccountIds?: string[] | undefined;
762
734
  threespeakAccountIds?: string[] | undefined;
763
735
  rumbleAccountIds?: string[] | undefined;
764
736
  language?: string | undefined;
@@ -774,7 +746,8 @@ export declare const GeneratePersonaVideoBatchSchema: z.ZodObject<{
774
746
  }, {
775
747
  videos: {
776
748
  title: string;
777
- providers: ("youtube" | "instagram" | "linkedin" | "bluesky" | "threads" | "facebook" | "pinterest" | "3speak" | "rumble")[];
749
+ description: string;
750
+ providers: ("youtube" | "instagram" | "linkedin" | "bluesky" | "threads" | "facebook" | "pinterest" | "fanvue" | "3speak" | "rumble")[];
778
751
  segments: {
779
752
  kind: "hook" | "body" | "cta";
780
753
  text: string;
@@ -787,20 +760,17 @@ export declare const GeneratePersonaVideoBatchSchema: z.ZodObject<{
787
760
  badge?: string | undefined;
788
761
  } | undefined;
789
762
  }[] | undefined;
790
- terms?: string[] | undefined;
791
763
  }[];
792
764
  options?: {
765
+ videoType: "full_lipsync" | "hook_lipsync" | "faceless";
793
766
  voiceId?: string | undefined;
794
767
  language?: string | undefined;
795
- videoAspect?: "9:16" | "16:9" | undefined;
768
+ videoAspect?: "9:16" | "16:9" | "1:1" | undefined;
796
769
  videoLayout?: "standard" | "react" | undefined;
797
770
  paragraphNumber?: number | undefined;
798
771
  niche?: string | undefined;
799
772
  audioUrl?: string | undefined;
800
773
  webhookUrl?: string | undefined;
801
- faceless?: boolean | undefined;
802
- facelessMaterial?: "broll" | "svg" | "images" | undefined;
803
- fullLipsync?: boolean | undefined;
804
774
  musicMood?: string | undefined;
805
775
  imageId?: string | undefined;
806
776
  } | undefined;
@@ -808,6 +778,7 @@ export declare const GeneratePersonaVideoBatchSchema: z.ZodObject<{
808
778
  threadsAccountIds?: string[] | undefined;
809
779
  facebookAccountIds?: string[] | undefined;
810
780
  pinterestAccountIds?: string[] | undefined;
781
+ fanvueAccountIds?: string[] | undefined;
811
782
  threespeakAccountIds?: string[] | undefined;
812
783
  rumbleAccountIds?: string[] | undefined;
813
784
  language?: string | undefined;
@@ -823,5 +794,5 @@ export declare const GeneratePersonaVideoBatchSchema: z.ZodObject<{
823
794
  }[];
824
795
  batchKey: string;
825
796
  }>;
826
- export declare const GeneratePersonaVideoBatchDescription = "Generate and schedule a BATCH of persona videos in one call (2-12), cheaper than one by one: for every 6 videos with the persona face in the batch, the cheapest one is free (its tokens are credited back right after creation). Faceless videos can be in the batch but pay full price, do not count toward the 6 and are never free. Each video takes the same fields as generate_persona_video and is created and dispatched right away, one after the other, so the batch renders together. All videos must be created within 10 minutes of the first. Cancelling a video of a discounted batch (cancel_schedule) gives back the discount the batch no longer earns: it is withheld from that video's refund. If a video fails validation or creation, the videos before it stay created and discounted; fix the error and call again with the same batchKey and the same videos in the same order \u2014 created videos replay without a new charge.";
797
+ export declare const GeneratePersonaVideoBatchDescription = "Generate and schedule a BATCH of persona videos in one call (2-12), cheaper than one by one: for every 6 videos with the persona face in the batch, the cheapest one is free (its tokens are credited back right after creation). Faceless videos can be in the batch but pay full price, do not count toward the 6 and are never free. Each video takes the same fields as generate_persona_video and is created and dispatched right away, one after the other, so the batch renders together. All videos must be created within 10 minutes of the first. Cancelling a video of a discounted batch (cancel_schedule) gives back the discount the batch no longer earns: it is withheld from that video's refund. If a video fails validation or creation, the videos before it stay created and discounted; fix the error and call again with the same batchKey and the same videos in the same order \u2014 created videos replay without a new charge. After creation, wait for every taskId with wait_for_video_tasks.";
827
798
  export declare function handleGeneratePersonaVideoBatch(client: PostEngineerClient, args: z.infer<typeof GeneratePersonaVideoBatchSchema>): Promise<McpToolResponse>;
@@ -38,7 +38,7 @@ export const GeneratePersonaVideoBatchShape = {
38
38
  .describe(`The videos, each with the same fields as generate_persona_video (no idempotencyKey, experiment or recipe). Up to ${MAX_BATCH_VIDEOS}.`),
39
39
  };
40
40
  export const GeneratePersonaVideoBatchSchema = z.object(GeneratePersonaVideoBatchShape);
41
- export const GeneratePersonaVideoBatchDescription = `Generate and schedule a BATCH of persona videos in one call (2-${MAX_BATCH_VIDEOS}), cheaper than one by one: for every ${BATCH_FREE_EVERY} videos with the persona face in the batch, the cheapest one is free (its tokens are credited back right after creation). Faceless videos can be in the batch but pay full price, do not count toward the ${BATCH_FREE_EVERY} and are never free. Each video takes the same fields as generate_persona_video and is created and dispatched right away, one after the other, so the batch renders together. All videos must be created within ${BATCH_WINDOW_MINUTES} minutes of the first. Cancelling a video of a discounted batch (cancel_schedule) gives back the discount the batch no longer earns: it is withheld from that video's refund. If a video fails validation or creation, the videos before it stay created and discounted; fix the error and call again with the same batchKey and the same videos in the same order — created videos replay without a new charge.`;
41
+ export const GeneratePersonaVideoBatchDescription = `Generate and schedule a BATCH of persona videos in one call (2-${MAX_BATCH_VIDEOS}), cheaper than one by one: for every ${BATCH_FREE_EVERY} videos with the persona face in the batch, the cheapest one is free (its tokens are credited back right after creation). Faceless videos can be in the batch but pay full price, do not count toward the ${BATCH_FREE_EVERY} and are never free. Each video takes the same fields as generate_persona_video and is created and dispatched right away, one after the other, so the batch renders together. All videos must be created within ${BATCH_WINDOW_MINUTES} minutes of the first. Cancelling a video of a discounted batch (cancel_schedule) gives back the discount the batch no longer earns: it is withheld from that video's refund. If a video fails validation or creation, the videos before it stay created and discounted; fix the error and call again with the same batchKey and the same videos in the same order — created videos replay without a new charge. After creation, wait for every taskId with wait_for_video_tasks.`;
42
42
  function discountFailureText(error) {
43
43
  const message = sanitizeEngineError(getErrorMessage(error));
44
44
  const code = error instanceof ApiError ? error.code : null;
@@ -1 +1 @@
1
- {"version":3,"file":"tools-batch.js","sourceRoot":"","sources":["../src/tools-batch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAChI,OAAO,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEjD,OAAO,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAEtE,iBAAiB;AACjB,mEAAmE;AACnE,EAAE;AACF,yEAAyE;AACzE,0EAA0E;AAC1E,sEAAsE;AACtE,yEAAyE;AACzE,0EAA0E;AAC1E,gEAAgE;AAChE,EAAE;AACF,2EAA2E;AAC3E,0EAA0E;AAC1E,qEAAqE;AACrE,yCAAyC;AACzC,iBAAiB;AAEjB,MAAM,CAAC,MAAM,gBAAgB,GAAG,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