post-engineer-mcp 1.1.1 → 1.3.1
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/README.md +46 -4
- package/dist/client.d.ts +53 -4
- package/dist/client.js +329 -110
- package/dist/client.js.map +1 -1
- package/dist/errors.d.ts +15 -0
- package/dist/errors.js +36 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +64 -65
- package/dist/index.js.map +1 -1
- package/dist/limits.d.ts +14 -0
- package/dist/limits.js +15 -0
- package/dist/limits.js.map +1 -0
- package/dist/tools.d.ts +331 -11
- package/dist/tools.js +377 -216
- package/dist/tools.js.map +1 -1
- package/package.json +12 -3
package/dist/tools.d.ts
CHANGED
|
@@ -2,7 +2,15 @@ import { z } from 'zod';
|
|
|
2
2
|
import type { CallToolResult } from '@modelcontextprotocol/sdk/types.js';
|
|
3
3
|
import type { PostEngineerClient } from './client.js';
|
|
4
4
|
export type McpToolResponse = CallToolResult;
|
|
5
|
-
export declare
|
|
5
|
+
export declare function missingProviderAccountIds(args: {
|
|
6
|
+
providers: string[];
|
|
7
|
+
youtubeAccountIds?: string[];
|
|
8
|
+
instagramAccountIds?: string[];
|
|
9
|
+
linkedinAccountIds?: string[];
|
|
10
|
+
blueskyAccountIds?: string[];
|
|
11
|
+
}): string[];
|
|
12
|
+
export declare function recordIdShapedBlueskyIds(blueskyAccountIds: readonly string[] | undefined): string[];
|
|
13
|
+
export declare const CreatePersonaShape: {
|
|
6
14
|
name: z.ZodString;
|
|
7
15
|
avatarUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8
16
|
voiceId: z.ZodDefault<z.ZodString>;
|
|
@@ -13,6 +21,46 @@ export declare const CreatePersonaSchema: z.ZodObject<{
|
|
|
13
21
|
niche: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
14
22
|
faceMixPercent: z.ZodDefault<z.ZodNumber>;
|
|
15
23
|
faceQuality: z.ZodDefault<z.ZodEnum<["ok", "very_good"]>>;
|
|
24
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
25
|
+
path: z.ZodString;
|
|
26
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
27
|
+
description: z.ZodOptional<z.ZodString>;
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
path: string;
|
|
30
|
+
tag?: string | undefined;
|
|
31
|
+
description?: string | undefined;
|
|
32
|
+
}, {
|
|
33
|
+
path: string;
|
|
34
|
+
tag?: string | undefined;
|
|
35
|
+
description?: string | undefined;
|
|
36
|
+
}>, "many">>;
|
|
37
|
+
imagePrimaryIndex: z.ZodOptional<z.ZodNumber>;
|
|
38
|
+
};
|
|
39
|
+
export declare const CreatePersonaSchema: z.ZodEffects<z.ZodObject<{
|
|
40
|
+
name: z.ZodString;
|
|
41
|
+
avatarUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
42
|
+
voiceId: z.ZodDefault<z.ZodString>;
|
|
43
|
+
language: z.ZodDefault<z.ZodString>;
|
|
44
|
+
videoAspect: z.ZodDefault<z.ZodEnum<["9:16", "16:9"]>>;
|
|
45
|
+
scriptPrompt: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
46
|
+
paragraphNumber: z.ZodDefault<z.ZodNumber>;
|
|
47
|
+
niche: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
48
|
+
faceMixPercent: z.ZodDefault<z.ZodNumber>;
|
|
49
|
+
faceQuality: z.ZodDefault<z.ZodEnum<["ok", "very_good"]>>;
|
|
50
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
51
|
+
path: z.ZodString;
|
|
52
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
53
|
+
description: z.ZodOptional<z.ZodString>;
|
|
54
|
+
}, "strip", z.ZodTypeAny, {
|
|
55
|
+
path: string;
|
|
56
|
+
tag?: string | undefined;
|
|
57
|
+
description?: string | undefined;
|
|
58
|
+
}, {
|
|
59
|
+
path: string;
|
|
60
|
+
tag?: string | undefined;
|
|
61
|
+
description?: string | undefined;
|
|
62
|
+
}>, "many">>;
|
|
63
|
+
imagePrimaryIndex: z.ZodOptional<z.ZodNumber>;
|
|
16
64
|
}, "strip", z.ZodTypeAny, {
|
|
17
65
|
name: string;
|
|
18
66
|
voiceId: string;
|
|
@@ -24,6 +72,12 @@ export declare const CreatePersonaSchema: z.ZodObject<{
|
|
|
24
72
|
faceMixPercent: number;
|
|
25
73
|
faceQuality: "ok" | "very_good";
|
|
26
74
|
avatarUrl?: string | null | undefined;
|
|
75
|
+
imagePrimaryIndex?: number | undefined;
|
|
76
|
+
images?: {
|
|
77
|
+
path: string;
|
|
78
|
+
tag?: string | undefined;
|
|
79
|
+
description?: string | undefined;
|
|
80
|
+
}[] | undefined;
|
|
27
81
|
}, {
|
|
28
82
|
name: string;
|
|
29
83
|
avatarUrl?: string | null | undefined;
|
|
@@ -35,13 +89,68 @@ export declare const CreatePersonaSchema: z.ZodObject<{
|
|
|
35
89
|
niche?: string | undefined;
|
|
36
90
|
faceMixPercent?: number | undefined;
|
|
37
91
|
faceQuality?: "ok" | "very_good" | undefined;
|
|
92
|
+
imagePrimaryIndex?: number | undefined;
|
|
93
|
+
images?: {
|
|
94
|
+
path: string;
|
|
95
|
+
tag?: string | undefined;
|
|
96
|
+
description?: string | undefined;
|
|
97
|
+
}[] | undefined;
|
|
98
|
+
}>, {
|
|
99
|
+
name: string;
|
|
100
|
+
voiceId: string;
|
|
101
|
+
language: string;
|
|
102
|
+
videoAspect: "9:16" | "16:9";
|
|
103
|
+
scriptPrompt: string;
|
|
104
|
+
paragraphNumber: number;
|
|
105
|
+
niche: string;
|
|
106
|
+
faceMixPercent: number;
|
|
107
|
+
faceQuality: "ok" | "very_good";
|
|
108
|
+
avatarUrl?: string | null | undefined;
|
|
109
|
+
imagePrimaryIndex?: number | undefined;
|
|
110
|
+
images?: {
|
|
111
|
+
path: string;
|
|
112
|
+
tag?: string | undefined;
|
|
113
|
+
description?: string | undefined;
|
|
114
|
+
}[] | undefined;
|
|
115
|
+
}, {
|
|
116
|
+
name: string;
|
|
117
|
+
avatarUrl?: string | null | undefined;
|
|
118
|
+
voiceId?: string | undefined;
|
|
119
|
+
language?: string | undefined;
|
|
120
|
+
videoAspect?: "9:16" | "16:9" | undefined;
|
|
121
|
+
scriptPrompt?: string | undefined;
|
|
122
|
+
paragraphNumber?: number | undefined;
|
|
123
|
+
niche?: string | undefined;
|
|
124
|
+
faceMixPercent?: number | undefined;
|
|
125
|
+
faceQuality?: "ok" | "very_good" | undefined;
|
|
126
|
+
imagePrimaryIndex?: number | undefined;
|
|
127
|
+
images?: {
|
|
128
|
+
path: string;
|
|
129
|
+
tag?: string | undefined;
|
|
130
|
+
description?: string | undefined;
|
|
131
|
+
}[] | undefined;
|
|
38
132
|
}>;
|
|
133
|
+
export declare const ListPersonasShape: {};
|
|
39
134
|
export declare const ListPersonasSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
135
|
+
export declare const ListVoicesShape: {};
|
|
40
136
|
export declare const ListVoicesSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
137
|
+
export declare const ListFacesShape: {};
|
|
138
|
+
export declare const ListFacesSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
139
|
+
export declare const UpdatePersonaShape: {
|
|
140
|
+
personaId: z.ZodString;
|
|
141
|
+
name: z.ZodOptional<z.ZodString>;
|
|
142
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
143
|
+
voiceId: z.ZodOptional<z.ZodString>;
|
|
144
|
+
language: z.ZodOptional<z.ZodString>;
|
|
145
|
+
videoAspect: z.ZodOptional<z.ZodEnum<["9:16", "16:9"]>>;
|
|
146
|
+
scriptPrompt: z.ZodOptional<z.ZodString>;
|
|
147
|
+
paragraphNumber: z.ZodOptional<z.ZodNumber>;
|
|
148
|
+
niche: z.ZodOptional<z.ZodString>;
|
|
149
|
+
};
|
|
41
150
|
export declare const UpdatePersonaSchema: z.ZodObject<{
|
|
42
151
|
personaId: z.ZodString;
|
|
43
152
|
name: z.ZodOptional<z.ZodString>;
|
|
44
|
-
avatarUrl: z.
|
|
153
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
45
154
|
voiceId: z.ZodOptional<z.ZodString>;
|
|
46
155
|
language: z.ZodOptional<z.ZodString>;
|
|
47
156
|
videoAspect: z.ZodOptional<z.ZodEnum<["9:16", "16:9"]>>;
|
|
@@ -51,7 +160,7 @@ export declare const UpdatePersonaSchema: z.ZodObject<{
|
|
|
51
160
|
}, "strip", z.ZodTypeAny, {
|
|
52
161
|
personaId: string;
|
|
53
162
|
name?: string | undefined;
|
|
54
|
-
avatarUrl?: string |
|
|
163
|
+
avatarUrl?: string | undefined;
|
|
55
164
|
voiceId?: string | undefined;
|
|
56
165
|
language?: string | undefined;
|
|
57
166
|
videoAspect?: "9:16" | "16:9" | undefined;
|
|
@@ -61,7 +170,7 @@ export declare const UpdatePersonaSchema: z.ZodObject<{
|
|
|
61
170
|
}, {
|
|
62
171
|
personaId: string;
|
|
63
172
|
name?: string | undefined;
|
|
64
|
-
avatarUrl?: string |
|
|
173
|
+
avatarUrl?: string | undefined;
|
|
65
174
|
voiceId?: string | undefined;
|
|
66
175
|
language?: string | undefined;
|
|
67
176
|
videoAspect?: "9:16" | "16:9" | undefined;
|
|
@@ -69,8 +178,41 @@ export declare const UpdatePersonaSchema: z.ZodObject<{
|
|
|
69
178
|
paragraphNumber?: number | undefined;
|
|
70
179
|
niche?: string | undefined;
|
|
71
180
|
}>;
|
|
181
|
+
export declare const ListSocialAccountsShape: {};
|
|
72
182
|
export declare const ListSocialAccountsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
183
|
+
export declare const ConnectAccountShape: {
|
|
184
|
+
provider: z.ZodEnum<["youtube", "instagram", "linkedin", "bluesky"]>;
|
|
185
|
+
handle: z.ZodOptional<z.ZodString>;
|
|
186
|
+
appPassword: z.ZodOptional<z.ZodString>;
|
|
187
|
+
};
|
|
188
|
+
export declare const ConnectAccountSchema: z.ZodObject<{
|
|
189
|
+
provider: z.ZodEnum<["youtube", "instagram", "linkedin", "bluesky"]>;
|
|
190
|
+
handle: z.ZodOptional<z.ZodString>;
|
|
191
|
+
appPassword: z.ZodOptional<z.ZodString>;
|
|
192
|
+
}, "strip", z.ZodTypeAny, {
|
|
193
|
+
provider: "youtube" | "instagram" | "linkedin" | "bluesky";
|
|
194
|
+
handle?: string | undefined;
|
|
195
|
+
appPassword?: string | undefined;
|
|
196
|
+
}, {
|
|
197
|
+
provider: "youtube" | "instagram" | "linkedin" | "bluesky";
|
|
198
|
+
handle?: string | undefined;
|
|
199
|
+
appPassword?: string | undefined;
|
|
200
|
+
}>;
|
|
201
|
+
export declare const ListSchedulesShape: {};
|
|
73
202
|
export declare const ListSchedulesSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
203
|
+
export declare const ListPostsShape: {
|
|
204
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
205
|
+
};
|
|
206
|
+
export declare const ListPostsSchema: z.ZodObject<{
|
|
207
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
208
|
+
}, "strip", z.ZodTypeAny, {
|
|
209
|
+
limit: number;
|
|
210
|
+
}, {
|
|
211
|
+
limit?: number | undefined;
|
|
212
|
+
}>;
|
|
213
|
+
export declare const CancelScheduleShape: {
|
|
214
|
+
scheduleId: z.ZodString;
|
|
215
|
+
};
|
|
74
216
|
export declare const CancelScheduleSchema: z.ZodObject<{
|
|
75
217
|
scheduleId: z.ZodString;
|
|
76
218
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -78,17 +220,119 @@ export declare const CancelScheduleSchema: z.ZodObject<{
|
|
|
78
220
|
}, {
|
|
79
221
|
scheduleId: string;
|
|
80
222
|
}>;
|
|
223
|
+
export declare const GetTokenBalanceShape: {};
|
|
81
224
|
export declare const GetTokenBalanceSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
225
|
+
export declare const GenerateVideoShape: {
|
|
226
|
+
personaId: z.ZodOptional<z.ZodString>;
|
|
227
|
+
videoSubject: z.ZodOptional<z.ZodString>;
|
|
228
|
+
voiceId: z.ZodOptional<z.ZodString>;
|
|
229
|
+
scriptPrompt: z.ZodOptional<z.ZodString>;
|
|
230
|
+
audioUrl: z.ZodOptional<z.ZodString>;
|
|
231
|
+
imageId: z.ZodOptional<z.ZodString>;
|
|
232
|
+
};
|
|
82
233
|
export declare const GenerateVideoSchema: z.ZodObject<{
|
|
83
|
-
personaId: z.ZodString
|
|
234
|
+
personaId: z.ZodOptional<z.ZodString>;
|
|
235
|
+
videoSubject: z.ZodOptional<z.ZodString>;
|
|
236
|
+
voiceId: z.ZodOptional<z.ZodString>;
|
|
84
237
|
scriptPrompt: z.ZodOptional<z.ZodString>;
|
|
238
|
+
audioUrl: z.ZodOptional<z.ZodString>;
|
|
239
|
+
imageId: z.ZodOptional<z.ZodString>;
|
|
85
240
|
}, "strip", z.ZodTypeAny, {
|
|
86
|
-
|
|
241
|
+
voiceId?: string | undefined;
|
|
87
242
|
scriptPrompt?: string | undefined;
|
|
243
|
+
personaId?: string | undefined;
|
|
244
|
+
videoSubject?: string | undefined;
|
|
245
|
+
audioUrl?: string | undefined;
|
|
246
|
+
imageId?: string | undefined;
|
|
88
247
|
}, {
|
|
89
|
-
|
|
248
|
+
voiceId?: string | undefined;
|
|
90
249
|
scriptPrompt?: string | undefined;
|
|
250
|
+
personaId?: string | undefined;
|
|
251
|
+
videoSubject?: string | undefined;
|
|
252
|
+
audioUrl?: string | undefined;
|
|
253
|
+
imageId?: string | undefined;
|
|
254
|
+
}>;
|
|
255
|
+
export declare const ListPersonaImagesShape: {
|
|
256
|
+
personaId: z.ZodString;
|
|
257
|
+
};
|
|
258
|
+
export declare const ListPersonaImagesSchema: z.ZodObject<{
|
|
259
|
+
personaId: z.ZodString;
|
|
260
|
+
}, "strip", z.ZodTypeAny, {
|
|
261
|
+
personaId: string;
|
|
262
|
+
}, {
|
|
263
|
+
personaId: string;
|
|
91
264
|
}>;
|
|
265
|
+
export declare const AddPersonaImageShape: {
|
|
266
|
+
isPrimary: z.ZodOptional<z.ZodLiteral<true>>;
|
|
267
|
+
path: z.ZodString;
|
|
268
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
269
|
+
description: z.ZodOptional<z.ZodString>;
|
|
270
|
+
personaId: z.ZodString;
|
|
271
|
+
};
|
|
272
|
+
export declare const AddPersonaImageSchema: z.ZodObject<{
|
|
273
|
+
isPrimary: z.ZodOptional<z.ZodLiteral<true>>;
|
|
274
|
+
path: z.ZodString;
|
|
275
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
276
|
+
description: z.ZodOptional<z.ZodString>;
|
|
277
|
+
personaId: z.ZodString;
|
|
278
|
+
}, "strip", z.ZodTypeAny, {
|
|
279
|
+
path: string;
|
|
280
|
+
personaId: string;
|
|
281
|
+
tag?: string | undefined;
|
|
282
|
+
description?: string | undefined;
|
|
283
|
+
isPrimary?: true | undefined;
|
|
284
|
+
}, {
|
|
285
|
+
path: string;
|
|
286
|
+
personaId: string;
|
|
287
|
+
tag?: string | undefined;
|
|
288
|
+
description?: string | undefined;
|
|
289
|
+
isPrimary?: true | undefined;
|
|
290
|
+
}>;
|
|
291
|
+
export declare const UpdatePersonaImageShape: {
|
|
292
|
+
id: z.ZodString;
|
|
293
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
294
|
+
description: z.ZodOptional<z.ZodString>;
|
|
295
|
+
isPrimary: z.ZodOptional<z.ZodLiteral<true>>;
|
|
296
|
+
};
|
|
297
|
+
export declare const UpdatePersonaImageSchema: z.ZodEffects<z.ZodObject<{
|
|
298
|
+
id: z.ZodString;
|
|
299
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
300
|
+
description: z.ZodOptional<z.ZodString>;
|
|
301
|
+
isPrimary: z.ZodOptional<z.ZodLiteral<true>>;
|
|
302
|
+
}, "strip", z.ZodTypeAny, {
|
|
303
|
+
id: string;
|
|
304
|
+
tag?: string | undefined;
|
|
305
|
+
description?: string | undefined;
|
|
306
|
+
isPrimary?: true | undefined;
|
|
307
|
+
}, {
|
|
308
|
+
id: string;
|
|
309
|
+
tag?: string | undefined;
|
|
310
|
+
description?: string | undefined;
|
|
311
|
+
isPrimary?: true | undefined;
|
|
312
|
+
}>, {
|
|
313
|
+
id: string;
|
|
314
|
+
tag?: string | undefined;
|
|
315
|
+
description?: string | undefined;
|
|
316
|
+
isPrimary?: true | undefined;
|
|
317
|
+
}, {
|
|
318
|
+
id: string;
|
|
319
|
+
tag?: string | undefined;
|
|
320
|
+
description?: string | undefined;
|
|
321
|
+
isPrimary?: true | undefined;
|
|
322
|
+
}>;
|
|
323
|
+
export declare const RemovePersonaImageShape: {
|
|
324
|
+
id: z.ZodString;
|
|
325
|
+
};
|
|
326
|
+
export declare const RemovePersonaImageSchema: z.ZodObject<{
|
|
327
|
+
id: z.ZodString;
|
|
328
|
+
}, "strip", z.ZodTypeAny, {
|
|
329
|
+
id: string;
|
|
330
|
+
}, {
|
|
331
|
+
id: string;
|
|
332
|
+
}>;
|
|
333
|
+
export declare const GetVideoStatusShape: {
|
|
334
|
+
taskId: z.ZodString;
|
|
335
|
+
};
|
|
92
336
|
export declare const GetVideoStatusSchema: z.ZodObject<{
|
|
93
337
|
taskId: z.ZodString;
|
|
94
338
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -96,12 +340,27 @@ export declare const GetVideoStatusSchema: z.ZodObject<{
|
|
|
96
340
|
}, {
|
|
97
341
|
taskId: string;
|
|
98
342
|
}>;
|
|
99
|
-
export declare const
|
|
343
|
+
export declare const ScheduleVideoShape: {
|
|
100
344
|
personaId: z.ZodString;
|
|
101
|
-
providers: z.ZodArray<z.ZodEnum<["youtube", "instagram", "linkedin"]>, "many">;
|
|
345
|
+
providers: z.ZodArray<z.ZodEnum<["youtube", "instagram", "linkedin", "bluesky"]>, "many">;
|
|
102
346
|
youtubeAccountIds: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
103
347
|
instagramAccountIds: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
104
348
|
linkedinAccountIds: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
349
|
+
blueskyAccountIds: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
350
|
+
scheduledAt: z.ZodString;
|
|
351
|
+
daysOfWeek: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
352
|
+
startHour: z.ZodOptional<z.ZodNumber>;
|
|
353
|
+
endHour: z.ZodOptional<z.ZodNumber>;
|
|
354
|
+
postsPerDay: z.ZodOptional<z.ZodNumber>;
|
|
355
|
+
timezone: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
356
|
+
};
|
|
357
|
+
export declare const ScheduleVideoSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
358
|
+
personaId: z.ZodString;
|
|
359
|
+
providers: z.ZodArray<z.ZodEnum<["youtube", "instagram", "linkedin", "bluesky"]>, "many">;
|
|
360
|
+
youtubeAccountIds: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
361
|
+
instagramAccountIds: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
362
|
+
linkedinAccountIds: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
363
|
+
blueskyAccountIds: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
105
364
|
scheduledAt: z.ZodString;
|
|
106
365
|
daysOfWeek: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
107
366
|
startHour: z.ZodOptional<z.ZodNumber>;
|
|
@@ -110,10 +369,63 @@ export declare const ScheduleVideoSchema: z.ZodObject<{
|
|
|
110
369
|
timezone: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
111
370
|
}, "strip", z.ZodTypeAny, {
|
|
112
371
|
personaId: string;
|
|
113
|
-
providers: ("youtube" | "instagram" | "linkedin")[];
|
|
372
|
+
providers: ("youtube" | "instagram" | "linkedin" | "bluesky")[];
|
|
373
|
+
youtubeAccountIds: string[];
|
|
374
|
+
instagramAccountIds: string[];
|
|
375
|
+
linkedinAccountIds: string[];
|
|
376
|
+
blueskyAccountIds: string[];
|
|
377
|
+
scheduledAt: string;
|
|
378
|
+
timezone: string;
|
|
379
|
+
daysOfWeek?: number[] | undefined;
|
|
380
|
+
startHour?: number | undefined;
|
|
381
|
+
endHour?: number | undefined;
|
|
382
|
+
postsPerDay?: number | undefined;
|
|
383
|
+
}, {
|
|
384
|
+
personaId: string;
|
|
385
|
+
providers: ("youtube" | "instagram" | "linkedin" | "bluesky")[];
|
|
386
|
+
scheduledAt: string;
|
|
387
|
+
youtubeAccountIds?: string[] | undefined;
|
|
388
|
+
instagramAccountIds?: string[] | undefined;
|
|
389
|
+
linkedinAccountIds?: string[] | undefined;
|
|
390
|
+
blueskyAccountIds?: string[] | undefined;
|
|
391
|
+
daysOfWeek?: number[] | undefined;
|
|
392
|
+
startHour?: number | undefined;
|
|
393
|
+
endHour?: number | undefined;
|
|
394
|
+
postsPerDay?: number | undefined;
|
|
395
|
+
timezone?: string | undefined;
|
|
396
|
+
}>, {
|
|
397
|
+
personaId: string;
|
|
398
|
+
providers: ("youtube" | "instagram" | "linkedin" | "bluesky")[];
|
|
399
|
+
youtubeAccountIds: string[];
|
|
400
|
+
instagramAccountIds: string[];
|
|
401
|
+
linkedinAccountIds: string[];
|
|
402
|
+
blueskyAccountIds: string[];
|
|
403
|
+
scheduledAt: string;
|
|
404
|
+
timezone: string;
|
|
405
|
+
daysOfWeek?: number[] | undefined;
|
|
406
|
+
startHour?: number | undefined;
|
|
407
|
+
endHour?: number | undefined;
|
|
408
|
+
postsPerDay?: number | undefined;
|
|
409
|
+
}, {
|
|
410
|
+
personaId: string;
|
|
411
|
+
providers: ("youtube" | "instagram" | "linkedin" | "bluesky")[];
|
|
412
|
+
scheduledAt: string;
|
|
413
|
+
youtubeAccountIds?: string[] | undefined;
|
|
414
|
+
instagramAccountIds?: string[] | undefined;
|
|
415
|
+
linkedinAccountIds?: string[] | undefined;
|
|
416
|
+
blueskyAccountIds?: string[] | undefined;
|
|
417
|
+
daysOfWeek?: number[] | undefined;
|
|
418
|
+
startHour?: number | undefined;
|
|
419
|
+
endHour?: number | undefined;
|
|
420
|
+
postsPerDay?: number | undefined;
|
|
421
|
+
timezone?: string | undefined;
|
|
422
|
+
}>, {
|
|
423
|
+
personaId: string;
|
|
424
|
+
providers: ("youtube" | "instagram" | "linkedin" | "bluesky")[];
|
|
114
425
|
youtubeAccountIds: string[];
|
|
115
426
|
instagramAccountIds: string[];
|
|
116
427
|
linkedinAccountIds: string[];
|
|
428
|
+
blueskyAccountIds: string[];
|
|
117
429
|
scheduledAt: string;
|
|
118
430
|
timezone: string;
|
|
119
431
|
daysOfWeek?: number[] | undefined;
|
|
@@ -122,11 +434,12 @@ export declare const ScheduleVideoSchema: z.ZodObject<{
|
|
|
122
434
|
postsPerDay?: number | undefined;
|
|
123
435
|
}, {
|
|
124
436
|
personaId: string;
|
|
125
|
-
providers: ("youtube" | "instagram" | "linkedin")[];
|
|
437
|
+
providers: ("youtube" | "instagram" | "linkedin" | "bluesky")[];
|
|
126
438
|
scheduledAt: string;
|
|
127
439
|
youtubeAccountIds?: string[] | undefined;
|
|
128
440
|
instagramAccountIds?: string[] | undefined;
|
|
129
441
|
linkedinAccountIds?: string[] | undefined;
|
|
442
|
+
blueskyAccountIds?: string[] | undefined;
|
|
130
443
|
daysOfWeek?: number[] | undefined;
|
|
131
444
|
startHour?: number | undefined;
|
|
132
445
|
endHour?: number | undefined;
|
|
@@ -136,11 +449,18 @@ export declare const ScheduleVideoSchema: z.ZodObject<{
|
|
|
136
449
|
export declare function handleCreatePersona(client: PostEngineerClient, args: z.infer<typeof CreatePersonaSchema>): Promise<McpToolResponse>;
|
|
137
450
|
export declare function handleListPersonas(client: PostEngineerClient): Promise<McpToolResponse>;
|
|
138
451
|
export declare function handleListVoices(client: PostEngineerClient): Promise<McpToolResponse>;
|
|
452
|
+
export declare function handleListFaces(client: PostEngineerClient): Promise<McpToolResponse>;
|
|
139
453
|
export declare function handleUpdatePersona(client: PostEngineerClient, args: z.infer<typeof UpdatePersonaSchema>): Promise<McpToolResponse>;
|
|
140
454
|
export declare function handleListSocialAccounts(client: PostEngineerClient): Promise<McpToolResponse>;
|
|
455
|
+
export declare function handleConnectAccount(client: PostEngineerClient, args: z.infer<typeof ConnectAccountSchema>): Promise<McpToolResponse>;
|
|
141
456
|
export declare function handleListSchedules(client: PostEngineerClient): Promise<McpToolResponse>;
|
|
457
|
+
export declare function handleListPosts(client: PostEngineerClient, args: z.infer<typeof ListPostsSchema>): Promise<McpToolResponse>;
|
|
142
458
|
export declare function handleCancelSchedule(client: PostEngineerClient, args: z.infer<typeof CancelScheduleSchema>): Promise<McpToolResponse>;
|
|
143
459
|
export declare function handleGetTokenBalance(client: PostEngineerClient): Promise<McpToolResponse>;
|
|
144
460
|
export declare function handleGenerateVideo(client: PostEngineerClient, args: z.infer<typeof GenerateVideoSchema>): Promise<McpToolResponse>;
|
|
461
|
+
export declare function handleListPersonaImages(client: PostEngineerClient, args: z.infer<typeof ListPersonaImagesSchema>): Promise<McpToolResponse>;
|
|
462
|
+
export declare function handleAddPersonaImage(client: PostEngineerClient, args: z.infer<typeof AddPersonaImageSchema>): Promise<McpToolResponse>;
|
|
463
|
+
export declare function handleUpdatePersonaImage(client: PostEngineerClient, args: z.infer<typeof UpdatePersonaImageSchema>): Promise<McpToolResponse>;
|
|
464
|
+
export declare function handleRemovePersonaImage(client: PostEngineerClient, args: z.infer<typeof RemovePersonaImageSchema>): Promise<McpToolResponse>;
|
|
145
465
|
export declare function handleGetVideoStatus(client: PostEngineerClient, args: z.infer<typeof GetVideoStatusSchema>): Promise<McpToolResponse>;
|
|
146
466
|
export declare function handleScheduleVideo(client: PostEngineerClient, args: z.infer<typeof ScheduleVideoSchema>): Promise<McpToolResponse>;
|