@purpleschool/gptbot-tools 0.0.86 → 0.0.87
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/build/stt/models/stt-job.schema.js +1 -0
- package/build/tts/models/tts-job.schema.js +1 -0
- package/build/video-editor/commands/edit-video.command.js +1 -0
- package/build/video-editor/models/video-editor-job.schema.js +2 -0
- package/package.json +1 -1
- package/stt/models/stt-job.schema.ts +1 -0
- package/tts/models/tts-job.schema.ts +1 -0
- package/video-editor/commands/edit-video.command.ts +1 -0
- package/video-editor/models/video-editor-job.schema.ts +2 -0
|
@@ -15,6 +15,7 @@ exports.STTJobSchema = zod_1.z.object({
|
|
|
15
15
|
aiResponse: stt_response_schema_1.STTResponseSchema.nullable(),
|
|
16
16
|
reaction: zod_1.z.nativeEnum(common_1.USER_REACTION).nullable(),
|
|
17
17
|
status: zod_1.z.nativeEnum(tools_1.JOB_STATUS),
|
|
18
|
+
duration: zod_1.z.number(),
|
|
18
19
|
error: zod_1.z.string().nullable(),
|
|
19
20
|
userId: zod_1.z.string().nullable(),
|
|
20
21
|
unregisteredUserId: zod_1.z.string().nullable(),
|
|
@@ -21,6 +21,7 @@ exports.TTSJobSchema = zod_1.z.object({
|
|
|
21
21
|
modelId: zod_1.z.string(),
|
|
22
22
|
voiceId: zod_1.z.string(),
|
|
23
23
|
price: zod_1.z.number(),
|
|
24
|
+
duration: zod_1.z.number(),
|
|
24
25
|
userId: zod_1.z.string().nullable(),
|
|
25
26
|
unregisteredUserId: zod_1.z.string().nullable(),
|
|
26
27
|
isDeleted: zod_1.z.boolean(),
|
|
@@ -10,6 +10,7 @@ var EditVideoCommand;
|
|
|
10
10
|
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
11
11
|
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
12
12
|
prompt: zod_1.z.string(),
|
|
13
|
+
inputVideoId: zod_1.z.string(),
|
|
13
14
|
inputVideoUrl: zod_1.z.string(),
|
|
14
15
|
duration: zod_1.z.number(),
|
|
15
16
|
userBalance: zod_1.z.number(),
|
|
@@ -15,7 +15,9 @@ exports.VideoEditorJobSchema = zod_1.z.object({
|
|
|
15
15
|
externalId: zod_1.z.string().nullable(),
|
|
16
16
|
modelId: zod_1.z.string(),
|
|
17
17
|
inputVideoUrl: zod_1.z.string(),
|
|
18
|
+
inputVideoId: zod_1.z.string().nullable(),
|
|
18
19
|
outputVideoUrl: zod_1.z.string().nullable(),
|
|
20
|
+
outputVideoId: zod_1.z.string().nullable(),
|
|
19
21
|
duration: zod_1.z.number(),
|
|
20
22
|
attempts: zod_1.z.array(zod_1.z.any()),
|
|
21
23
|
userId: zod_1.z.string().nullable().optional(),
|
package/package.json
CHANGED
|
@@ -13,6 +13,7 @@ export const STTJobSchema = z.object({
|
|
|
13
13
|
aiResponse: STTResponseSchema.nullable(),
|
|
14
14
|
reaction: z.nativeEnum(USER_REACTION).nullable(),
|
|
15
15
|
status: z.nativeEnum(JOB_STATUS),
|
|
16
|
+
duration: z.number(),
|
|
16
17
|
error: z.string().nullable(),
|
|
17
18
|
userId: z.string().nullable(),
|
|
18
19
|
unregisteredUserId: z.string().nullable(),
|
|
@@ -7,6 +7,7 @@ export namespace EditVideoCommand {
|
|
|
7
7
|
userId: z.string().uuid().nullable().optional(),
|
|
8
8
|
unregisteredUserId: z.string().uuid().nullable().optional(),
|
|
9
9
|
prompt: z.string(),
|
|
10
|
+
inputVideoId: z.string(),
|
|
10
11
|
inputVideoUrl: z.string(),
|
|
11
12
|
duration: z.number(),
|
|
12
13
|
userBalance: z.number(),
|
|
@@ -13,7 +13,9 @@ export const VideoEditorJobSchema = z.object({
|
|
|
13
13
|
externalId: z.string().nullable(),
|
|
14
14
|
modelId: z.string(),
|
|
15
15
|
inputVideoUrl: z.string(),
|
|
16
|
+
inputVideoId: z.string().nullable(),
|
|
16
17
|
outputVideoUrl: z.string().nullable(),
|
|
18
|
+
outputVideoId: z.string().nullable(),
|
|
17
19
|
duration: z.number(),
|
|
18
20
|
attempts: z.array(z.any()),
|
|
19
21
|
userId: z.string().nullable().optional(),
|