post-engineer-mcp 1.12.4 → 1.30.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.
package/dist/tools.d.ts CHANGED
@@ -4,14 +4,13 @@ import type { PostEngineerClient } from './client.js';
4
4
  export type McpToolResponse = CallToolResult;
5
5
  export declare const CreatePersonaShape: {
6
6
  name: z.ZodString;
7
- avatarUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7
+ avatarUrl: z.ZodString;
8
8
  voiceId: z.ZodDefault<z.ZodString>;
9
9
  language: z.ZodDefault<z.ZodString>;
10
10
  videoAspect: z.ZodDefault<z.ZodEnum<["9:16", "16:9"]>>;
11
11
  scriptPrompt: z.ZodDefault<z.ZodOptional<z.ZodString>>;
12
12
  paragraphNumber: z.ZodDefault<z.ZodNumber>;
13
13
  niche: z.ZodDefault<z.ZodOptional<z.ZodString>>;
14
- faceMixPercent: z.ZodDefault<z.ZodNumber>;
15
14
  faceQuality: z.ZodDefault<z.ZodEnum<["ok", "very_good"]>>;
16
15
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
17
16
  path: z.ZodString;
@@ -28,16 +27,15 @@ export declare const CreatePersonaShape: {
28
27
  }>, "many">>;
29
28
  imagePrimaryIndex: z.ZodOptional<z.ZodNumber>;
30
29
  };
31
- export declare const CreatePersonaSchema: z.ZodEffects<z.ZodObject<{
30
+ export declare const CreatePersonaSchema: z.ZodObject<{
32
31
  name: z.ZodString;
33
- avatarUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
32
+ avatarUrl: z.ZodString;
34
33
  voiceId: z.ZodDefault<z.ZodString>;
35
34
  language: z.ZodDefault<z.ZodString>;
36
35
  videoAspect: z.ZodDefault<z.ZodEnum<["9:16", "16:9"]>>;
37
36
  scriptPrompt: z.ZodDefault<z.ZodOptional<z.ZodString>>;
38
37
  paragraphNumber: z.ZodDefault<z.ZodNumber>;
39
38
  niche: z.ZodDefault<z.ZodOptional<z.ZodString>>;
40
- faceMixPercent: z.ZodDefault<z.ZodNumber>;
41
39
  faceQuality: z.ZodDefault<z.ZodEnum<["ok", "very_good"]>>;
42
40
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
43
41
  path: z.ZodString;
@@ -55,15 +53,14 @@ export declare const CreatePersonaSchema: z.ZodEffects<z.ZodObject<{
55
53
  imagePrimaryIndex: z.ZodOptional<z.ZodNumber>;
56
54
  }, "strip", z.ZodTypeAny, {
57
55
  name: string;
56
+ avatarUrl: string;
58
57
  voiceId: string;
59
58
  language: string;
60
59
  videoAspect: "9:16" | "16:9";
61
60
  scriptPrompt: string;
62
61
  paragraphNumber: number;
63
62
  niche: string;
64
- faceMixPercent: number;
65
63
  faceQuality: "ok" | "very_good";
66
- avatarUrl?: string | null | undefined;
67
64
  imagePrimaryIndex?: number | undefined;
68
65
  images?: {
69
66
  path: string;
@@ -72,48 +69,13 @@ export declare const CreatePersonaSchema: z.ZodEffects<z.ZodObject<{
72
69
  }[] | undefined;
73
70
  }, {
74
71
  name: string;
75
- avatarUrl?: string | null | undefined;
72
+ avatarUrl: string;
76
73
  voiceId?: string | undefined;
77
74
  language?: string | undefined;
78
75
  videoAspect?: "9:16" | "16:9" | undefined;
79
76
  scriptPrompt?: string | undefined;
80
77
  paragraphNumber?: number | undefined;
81
78
  niche?: string | undefined;
82
- faceMixPercent?: number | undefined;
83
- faceQuality?: "ok" | "very_good" | undefined;
84
- imagePrimaryIndex?: number | undefined;
85
- images?: {
86
- path: string;
87
- tag?: string | undefined;
88
- description?: string | undefined;
89
- }[] | undefined;
90
- }>, {
91
- name: string;
92
- voiceId: string;
93
- language: string;
94
- videoAspect: "9:16" | "16:9";
95
- scriptPrompt: string;
96
- paragraphNumber: number;
97
- niche: string;
98
- faceMixPercent: number;
99
- faceQuality: "ok" | "very_good";
100
- avatarUrl?: string | null | undefined;
101
- imagePrimaryIndex?: number | undefined;
102
- images?: {
103
- path: string;
104
- tag?: string | undefined;
105
- description?: string | undefined;
106
- }[] | undefined;
107
- }, {
108
- name: string;
109
- avatarUrl?: string | null | undefined;
110
- voiceId?: string | undefined;
111
- language?: string | undefined;
112
- videoAspect?: "9:16" | "16:9" | undefined;
113
- scriptPrompt?: string | undefined;
114
- paragraphNumber?: number | undefined;
115
- niche?: string | undefined;
116
- faceMixPercent?: number | undefined;
117
79
  faceQuality?: "ok" | "very_good" | undefined;
118
80
  imagePrimaryIndex?: number | undefined;
119
81
  images?: {
@@ -212,11 +174,114 @@ export declare const CancelScheduleSchema: z.ZodObject<{
212
174
  }, {
213
175
  scheduleId: string;
214
176
  }>;
177
+ export declare const GetSlotShape: {
178
+ slotId: z.ZodString;
179
+ };
180
+ export declare const GetSlotSchema: z.ZodObject<{
181
+ slotId: z.ZodString;
182
+ }, "strip", z.ZodTypeAny, {
183
+ slotId: string;
184
+ }, {
185
+ slotId: string;
186
+ }>;
187
+ export declare const UpdateSlotTopicShape: {
188
+ slotId: z.ZodString;
189
+ topic: z.ZodString;
190
+ };
191
+ export declare const UpdateSlotTopicSchema: z.ZodObject<{
192
+ slotId: z.ZodString;
193
+ topic: z.ZodString;
194
+ }, "strip", z.ZodTypeAny, {
195
+ slotId: string;
196
+ topic: string;
197
+ }, {
198
+ slotId: string;
199
+ topic: string;
200
+ }>;
201
+ export declare const DeleteSlotShape: {
202
+ slotId: z.ZodString;
203
+ };
204
+ export declare const DeleteSlotSchema: z.ZodObject<{
205
+ slotId: z.ZodString;
206
+ }, "strip", z.ZodTypeAny, {
207
+ slotId: string;
208
+ }, {
209
+ slotId: string;
210
+ }>;
211
+ export declare const ListVideoGenerationsShape: {
212
+ limit: z.ZodOptional<z.ZodNumber>;
213
+ };
214
+ export declare const ListVideoGenerationsSchema: z.ZodObject<{
215
+ limit: z.ZodOptional<z.ZodNumber>;
216
+ }, "strip", z.ZodTypeAny, {
217
+ limit?: number | undefined;
218
+ }, {
219
+ limit?: number | undefined;
220
+ }>;
221
+ export declare const GetVideoGenerationShape: {
222
+ generationId: z.ZodString;
223
+ };
224
+ export declare const GetVideoGenerationSchema: z.ZodObject<{
225
+ generationId: z.ZodString;
226
+ }, "strip", z.ZodTypeAny, {
227
+ generationId: string;
228
+ }, {
229
+ generationId: string;
230
+ }>;
231
+ export declare const ListTokenTransactionsShape: {
232
+ limit: z.ZodOptional<z.ZodNumber>;
233
+ offset: z.ZodOptional<z.ZodNumber>;
234
+ };
235
+ export declare const ListTokenTransactionsSchema: z.ZodObject<{
236
+ limit: z.ZodOptional<z.ZodNumber>;
237
+ offset: z.ZodOptional<z.ZodNumber>;
238
+ }, "strip", z.ZodTypeAny, {
239
+ limit?: number | undefined;
240
+ offset?: number | undefined;
241
+ }, {
242
+ limit?: number | undefined;
243
+ offset?: number | undefined;
244
+ }>;
245
+ export declare const GetPersonaDeletePreviewShape: {
246
+ personaId: z.ZodString;
247
+ };
248
+ export declare const GetPersonaDeletePreviewSchema: z.ZodObject<{
249
+ personaId: z.ZodString;
250
+ }, "strip", z.ZodTypeAny, {
251
+ personaId: string;
252
+ }, {
253
+ personaId: string;
254
+ }>;
255
+ export declare const DeletePersonaShape: {
256
+ personaId: z.ZodString;
257
+ };
258
+ export declare const DeletePersonaSchema: z.ZodObject<{
259
+ personaId: z.ZodString;
260
+ }, "strip", z.ZodTypeAny, {
261
+ personaId: string;
262
+ }, {
263
+ personaId: string;
264
+ }>;
265
+ export declare const DisconnectAccountShape: {
266
+ provider: z.ZodEnum<["youtube", "instagram", "linkedin", "bluesky"]>;
267
+ providerAccountId: z.ZodString;
268
+ };
269
+ export declare const DisconnectAccountSchema: z.ZodObject<{
270
+ provider: z.ZodEnum<["youtube", "instagram", "linkedin", "bluesky"]>;
271
+ providerAccountId: z.ZodString;
272
+ }, "strip", z.ZodTypeAny, {
273
+ provider: "youtube" | "instagram" | "linkedin" | "bluesky";
274
+ providerAccountId: string;
275
+ }, {
276
+ provider: "youtube" | "instagram" | "linkedin" | "bluesky";
277
+ providerAccountId: string;
278
+ }>;
215
279
  export declare const GetTokenBalanceShape: {};
216
280
  export declare const GetTokenBalanceSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
217
281
  export declare const GeneratePersonaVideosShape: {
218
- startAt: z.ZodEffects<z.ZodString, string, string>;
219
- times: z.ZodArray<z.ZodString, "many">;
282
+ mode: z.ZodDefault<z.ZodEnum<["scheduled", "asap"]>>;
283
+ startAt: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
284
+ times: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
220
285
  timezone: z.ZodDefault<z.ZodString>;
221
286
  options: z.ZodOptional<z.ZodObject<{
222
287
  faceless: z.ZodOptional<z.ZodBoolean>;
@@ -226,18 +291,30 @@ export declare const GeneratePersonaVideosShape: {
226
291
  scriptPrompts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
227
292
  voiceId: z.ZodOptional<z.ZodString>;
228
293
  webhookUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
294
+ videoAspect: z.ZodOptional<z.ZodEnum<["9:16", "16:9"]>>;
295
+ paragraphNumber: z.ZodOptional<z.ZodNumber>;
296
+ language: z.ZodOptional<z.ZodString>;
297
+ niche: z.ZodOptional<z.ZodString>;
229
298
  }, "strip", z.ZodTypeAny, {
230
- faceless?: boolean | undefined;
231
299
  voiceId?: string | undefined;
300
+ language?: string | undefined;
301
+ videoAspect?: "9:16" | "16:9" | undefined;
232
302
  scriptPrompt?: string | undefined;
303
+ paragraphNumber?: number | undefined;
304
+ niche?: string | undefined;
305
+ faceless?: boolean | undefined;
233
306
  audioUrl?: string | undefined;
234
307
  imageId?: string | undefined;
235
308
  scriptPrompts?: string[] | undefined;
236
309
  webhookUrl?: string | undefined;
237
310
  }, {
238
- faceless?: boolean | undefined;
239
311
  voiceId?: string | undefined;
312
+ language?: string | undefined;
313
+ videoAspect?: "9:16" | "16:9" | undefined;
240
314
  scriptPrompt?: string | undefined;
315
+ paragraphNumber?: number | undefined;
316
+ niche?: string | undefined;
317
+ faceless?: boolean | undefined;
241
318
  audioUrl?: string | undefined;
242
319
  imageId?: string | undefined;
243
320
  scriptPrompts?: string[] | undefined;
@@ -248,13 +325,14 @@ export declare const GeneratePersonaVideosShape: {
248
325
  instagramAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
249
326
  linkedinAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
250
327
  blueskyAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
251
- personaId: z.ZodString;
328
+ personaId: z.ZodOptional<z.ZodString>;
252
329
  topics: z.ZodArray<z.ZodString, "many">;
253
330
  providers: z.ZodArray<z.ZodEnum<["youtube", "instagram", "linkedin", "bluesky"]>, "many">;
254
331
  };
255
332
  export declare const GeneratePersonaVideosSchema: z.ZodObject<{
256
- startAt: z.ZodEffects<z.ZodString, string, string>;
257
- times: z.ZodArray<z.ZodString, "many">;
333
+ mode: z.ZodDefault<z.ZodEnum<["scheduled", "asap"]>>;
334
+ startAt: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
335
+ times: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
258
336
  timezone: z.ZodDefault<z.ZodString>;
259
337
  options: z.ZodOptional<z.ZodObject<{
260
338
  faceless: z.ZodOptional<z.ZodBoolean>;
@@ -264,18 +342,30 @@ export declare const GeneratePersonaVideosSchema: z.ZodObject<{
264
342
  scriptPrompts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
265
343
  voiceId: z.ZodOptional<z.ZodString>;
266
344
  webhookUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
345
+ videoAspect: z.ZodOptional<z.ZodEnum<["9:16", "16:9"]>>;
346
+ paragraphNumber: z.ZodOptional<z.ZodNumber>;
347
+ language: z.ZodOptional<z.ZodString>;
348
+ niche: z.ZodOptional<z.ZodString>;
267
349
  }, "strip", z.ZodTypeAny, {
268
- faceless?: boolean | undefined;
269
350
  voiceId?: string | undefined;
351
+ language?: string | undefined;
352
+ videoAspect?: "9:16" | "16:9" | undefined;
270
353
  scriptPrompt?: string | undefined;
354
+ paragraphNumber?: number | undefined;
355
+ niche?: string | undefined;
356
+ faceless?: boolean | undefined;
271
357
  audioUrl?: string | undefined;
272
358
  imageId?: string | undefined;
273
359
  scriptPrompts?: string[] | undefined;
274
360
  webhookUrl?: string | undefined;
275
361
  }, {
276
- faceless?: boolean | undefined;
277
362
  voiceId?: string | undefined;
363
+ language?: string | undefined;
364
+ videoAspect?: "9:16" | "16:9" | undefined;
278
365
  scriptPrompt?: string | undefined;
366
+ paragraphNumber?: number | undefined;
367
+ niche?: string | undefined;
368
+ faceless?: boolean | undefined;
279
369
  audioUrl?: string | undefined;
280
370
  imageId?: string | undefined;
281
371
  scriptPrompts?: string[] | undefined;
@@ -286,46 +376,56 @@ export declare const GeneratePersonaVideosSchema: z.ZodObject<{
286
376
  instagramAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
287
377
  linkedinAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
288
378
  blueskyAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
289
- personaId: z.ZodString;
379
+ personaId: z.ZodOptional<z.ZodString>;
290
380
  topics: z.ZodArray<z.ZodString, "many">;
291
381
  providers: z.ZodArray<z.ZodEnum<["youtube", "instagram", "linkedin", "bluesky"]>, "many">;
292
382
  }, "strip", z.ZodTypeAny, {
293
- personaId: string;
294
- startAt: string;
295
- times: string[];
296
383
  timezone: string;
384
+ mode: "scheduled" | "asap";
297
385
  topics: string[];
298
386
  providers: ("youtube" | "instagram" | "linkedin" | "bluesky")[];
387
+ personaId?: string | undefined;
299
388
  options?: {
300
- faceless?: boolean | undefined;
301
389
  voiceId?: string | undefined;
390
+ language?: string | undefined;
391
+ videoAspect?: "9:16" | "16:9" | undefined;
302
392
  scriptPrompt?: string | undefined;
393
+ paragraphNumber?: number | undefined;
394
+ niche?: string | undefined;
395
+ faceless?: boolean | undefined;
303
396
  audioUrl?: string | undefined;
304
397
  imageId?: string | undefined;
305
398
  scriptPrompts?: string[] | undefined;
306
399
  webhookUrl?: string | undefined;
307
400
  } | undefined;
401
+ startAt?: string | undefined;
402
+ times?: string[] | undefined;
308
403
  idempotencyKey?: string | undefined;
309
404
  youtubeAccountIds?: string[] | undefined;
310
405
  instagramAccountIds?: string[] | undefined;
311
406
  linkedinAccountIds?: string[] | undefined;
312
407
  blueskyAccountIds?: string[] | undefined;
313
408
  }, {
314
- personaId: string;
315
- startAt: string;
316
- times: string[];
317
409
  topics: string[];
318
410
  providers: ("youtube" | "instagram" | "linkedin" | "bluesky")[];
411
+ personaId?: string | undefined;
412
+ timezone?: string | undefined;
319
413
  options?: {
320
- faceless?: boolean | undefined;
321
414
  voiceId?: string | undefined;
415
+ language?: string | undefined;
416
+ videoAspect?: "9:16" | "16:9" | undefined;
322
417
  scriptPrompt?: string | undefined;
418
+ paragraphNumber?: number | undefined;
419
+ niche?: string | undefined;
420
+ faceless?: boolean | undefined;
323
421
  audioUrl?: string | undefined;
324
422
  imageId?: string | undefined;
325
423
  scriptPrompts?: string[] | undefined;
326
424
  webhookUrl?: string | undefined;
327
425
  } | undefined;
328
- timezone?: string | undefined;
426
+ mode?: "scheduled" | "asap" | undefined;
427
+ startAt?: string | undefined;
428
+ times?: string[] | undefined;
329
429
  idempotencyKey?: string | undefined;
330
430
  youtubeAccountIds?: string[] | undefined;
331
431
  instagramAccountIds?: string[] | undefined;
@@ -440,6 +540,15 @@ export declare function handleConnectAccount(client: PostEngineerClient, args: z
440
540
  export declare function handleListSchedules(client: PostEngineerClient): Promise<McpToolResponse>;
441
541
  export declare function handleListPosts(client: PostEngineerClient, args: z.infer<typeof ListPostsSchema>): Promise<McpToolResponse>;
442
542
  export declare function handleCancelSchedule(client: PostEngineerClient, args: z.infer<typeof CancelScheduleSchema>): Promise<McpToolResponse>;
543
+ export declare function handleGetSlot(client: PostEngineerClient, args: z.infer<typeof GetSlotSchema>): Promise<McpToolResponse>;
544
+ export declare function handleUpdateSlotTopic(client: PostEngineerClient, args: z.infer<typeof UpdateSlotTopicSchema>): Promise<McpToolResponse>;
545
+ export declare function handleDeleteSlot(client: PostEngineerClient, args: z.infer<typeof DeleteSlotSchema>): Promise<McpToolResponse>;
546
+ export declare function handleListVideoGenerations(client: PostEngineerClient, args: z.infer<typeof ListVideoGenerationsSchema>): Promise<McpToolResponse>;
547
+ export declare function handleGetVideoGeneration(client: PostEngineerClient, args: z.infer<typeof GetVideoGenerationSchema>): Promise<McpToolResponse>;
548
+ export declare function handleListTokenTransactions(client: PostEngineerClient, args: z.infer<typeof ListTokenTransactionsSchema>): Promise<McpToolResponse>;
549
+ export declare function handleGetPersonaDeletePreview(client: PostEngineerClient, args: z.infer<typeof GetPersonaDeletePreviewSchema>): Promise<McpToolResponse>;
550
+ export declare function handleDeletePersona(client: PostEngineerClient, args: z.infer<typeof DeletePersonaSchema>): Promise<McpToolResponse>;
551
+ export declare function handleDisconnectAccount(client: PostEngineerClient, args: z.infer<typeof DisconnectAccountSchema>): Promise<McpToolResponse>;
443
552
  export declare function handleGetTokenBalance(client: PostEngineerClient): Promise<McpToolResponse>;
444
553
  export declare function handleListPersonaImages(client: PostEngineerClient, args: z.infer<typeof ListPersonaImagesSchema>): Promise<McpToolResponse>;
445
554
  export declare function handleAddPersonaImage(client: PostEngineerClient, args: z.infer<typeof AddPersonaImageSchema>): Promise<McpToolResponse>;