@purpleschool/gptbot-tools 0.2.28-stage → 0.2.29-stage
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/html-page-builder/commands/create-html-page-builder-session.command.js +1 -1
- package/build/html-page-builder/commands/html-page-builder-execute.command.js +1 -1
- package/build/html-page-builder/commands/soft-delete-all-html-page-builder-sessions.command.js +1 -1
- package/build/html-page-builder/queries/find-html-page-builder-sessions.query.js +1 -1
- package/build/image-editor/commands/delete-all-image-editor-jobs.command.js +1 -1
- package/build/image-editor/commands/image-editor.command.js +1 -1
- package/build/image-generation/commands/execute-image-generation.command.js +1 -1
- package/build/image-generation/commands/forward-image-generation-job.command.js +1 -1
- package/build/image-generation/commands/soft-delete-image-generation-jobs-by-criteria.command.js +1 -1
- package/build/image-generation/queries/find-image-generation-jobs.query.js +1 -1
- package/build/stt/commands/delete-all-stt-jobs.command.js +1 -1
- package/build/stt/commands/stt.command.js +1 -1
- package/build/stt/queries/find-stt-jobs.query.js +1 -1
- package/build/tts/commands/delete-all-tts-jobs.command.js +1 -1
- package/build/tts/commands/tts.command.js +1 -1
- package/build/tts/queries/find-tts-jobs.query.js +1 -1
- package/build/video/commands/delete-all-video-jobs.command.js +1 -1
- package/build/video/commands/video.command.js +1 -1
- package/build/video/queries/find-video-jobs.query.js +1 -1
- package/build/video-editor/commands/delete-all-video-editor-jobs.command.js +1 -1
- package/build/video-editor/commands/edit-video.command.js +1 -1
- package/build/video-editor/queries/find-video-editor-jobs.query.js +1 -1
- package/html-page-builder/commands/create-html-page-builder-session.command.ts +1 -1
- package/html-page-builder/commands/html-page-builder-execute.command.ts +1 -1
- package/html-page-builder/commands/soft-delete-all-html-page-builder-sessions.command.ts +1 -1
- package/html-page-builder/queries/find-html-page-builder-sessions.query.ts +1 -1
- package/image-editor/commands/delete-all-image-editor-jobs.command.ts +1 -1
- package/image-editor/commands/image-editor.command.ts +1 -1
- package/image-generation/commands/execute-image-generation.command.ts +1 -1
- package/image-generation/commands/forward-image-generation-job.command.ts +1 -1
- package/image-generation/commands/soft-delete-image-generation-jobs-by-criteria.command.ts +1 -1
- package/image-generation/queries/find-image-generation-jobs.query.ts +1 -1
- package/package.json +1 -1
- package/stt/commands/delete-all-stt-jobs.command.ts +1 -1
- package/stt/commands/stt.command.ts +1 -1
- package/stt/queries/find-stt-jobs.query.ts +1 -1
- package/tts/commands/delete-all-tts-jobs.command.ts +1 -1
- package/tts/commands/tts.command.ts +1 -1
- package/tts/queries/find-tts-jobs.query.ts +1 -1
- package/video/commands/delete-all-video-jobs.command.ts +1 -1
- package/video/commands/video.command.ts +1 -1
- package/video/queries/find-video-jobs.query.ts +1 -1
- package/video-editor/commands/delete-all-video-editor-jobs.command.ts +1 -1
- package/video-editor/commands/edit-video.command.ts +1 -1
- package/video-editor/queries/find-video-editor-jobs.query.ts +1 -1
|
@@ -11,7 +11,7 @@ var CreateHtmlPageBuilderSessionCommand;
|
|
|
11
11
|
.object({
|
|
12
12
|
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
13
13
|
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
14
|
-
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).default(common_1.JOB_SCOPE.TOOL),
|
|
14
|
+
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
|
|
15
15
|
title: zod_1.z.string().optional(),
|
|
16
16
|
})
|
|
17
17
|
.refine((data) => {
|
|
@@ -10,7 +10,7 @@ var HtmlPageBuilderExecuteCommand;
|
|
|
10
10
|
HtmlPageBuilderExecuteCommand.RequestSchema = zod_1.z.object({
|
|
11
11
|
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
12
12
|
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
13
|
-
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).default(common_1.JOB_SCOPE.TOOL),
|
|
13
|
+
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
|
|
14
14
|
sessionId: zod_1.z.string().uuid().optional(),
|
|
15
15
|
userPrompt: zod_1.z.string(),
|
|
16
16
|
modelId: zod_1.z.string().uuid(),
|
package/build/html-page-builder/commands/soft-delete-all-html-page-builder-sessions.command.js
CHANGED
|
@@ -10,7 +10,7 @@ var SoftDeleteAllHtmlPageBuilderSessionsCommand;
|
|
|
10
10
|
.object({
|
|
11
11
|
userId: zod_1.z.string().uuid().optional(),
|
|
12
12
|
unregisteredUserId: zod_1.z.string().uuid().optional(),
|
|
13
|
-
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).default(common_1.JOB_SCOPE.TOOL),
|
|
13
|
+
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
|
|
14
14
|
})
|
|
15
15
|
.refine((data) => {
|
|
16
16
|
return !(data.userId && data.unregisteredUserId);
|
|
@@ -11,7 +11,7 @@ var FindHtmlPageBuilderSessionsQuery;
|
|
|
11
11
|
.object({
|
|
12
12
|
userId: zod_1.z.string().uuid().optional(),
|
|
13
13
|
unregisteredUserId: zod_1.z.string().uuid().optional(),
|
|
14
|
-
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).default(common_1.JOB_SCOPE.TOOL),
|
|
14
|
+
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
|
|
15
15
|
title: zod_1.z.string().optional(),
|
|
16
16
|
limit: zod_1.z.coerce.number().min(1).optional(),
|
|
17
17
|
offset: zod_1.z.coerce.number().min(0).default(0).optional(),
|
|
@@ -9,7 +9,7 @@ var DeleteAllImageEditorJobsCommand;
|
|
|
9
9
|
DeleteAllImageEditorJobsCommand.RequestSchema = zod_1.z.object({
|
|
10
10
|
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
11
11
|
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
12
|
-
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).default(common_1.JOB_SCOPE.TOOL),
|
|
12
|
+
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
|
|
13
13
|
});
|
|
14
14
|
DeleteAllImageEditorJobsCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(zod_1.z.boolean());
|
|
15
15
|
})(DeleteAllImageEditorJobsCommand || (exports.DeleteAllImageEditorJobsCommand = DeleteAllImageEditorJobsCommand = {}));
|
|
@@ -14,7 +14,7 @@ var ImageEditorCommand;
|
|
|
14
14
|
locale: locale_schema_1.LocaleSchema,
|
|
15
15
|
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
16
16
|
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
17
|
-
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).default(common_1.JOB_SCOPE.TOOL),
|
|
17
|
+
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
|
|
18
18
|
workspaceId: zod_1.z.string().uuid().nullable().optional(),
|
|
19
19
|
workspaceItemId: zod_1.z.string().uuid().nullable().optional(),
|
|
20
20
|
workspaceToolType: zod_1.z.nativeEnum(tools_1.TOOL_CONTENT_TYPE).nullable().optional(),
|
|
@@ -13,7 +13,7 @@ var ExecuteImageGenerationCommand;
|
|
|
13
13
|
locale: locale_schema_1.LocaleSchema,
|
|
14
14
|
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
15
15
|
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
16
|
-
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).default(common_1.JOB_SCOPE.TOOL),
|
|
16
|
+
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
|
|
17
17
|
prompt: zod_1.z.string(),
|
|
18
18
|
modelId: zod_1.z.string().uuid(),
|
|
19
19
|
params: models_1.ImageGenerationRequestParamsSchema,
|
|
@@ -14,7 +14,7 @@ var ForwardImageGenerationJobCommand;
|
|
|
14
14
|
prompt: zod_1.z.string(),
|
|
15
15
|
title: zod_1.z.string(),
|
|
16
16
|
status: zod_1.z.nativeEnum(job_status_enum_1.JOB_STATUS),
|
|
17
|
-
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).default(common_1.JOB_SCOPE.TOOL),
|
|
17
|
+
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
|
|
18
18
|
error: zod_1.z.string().nullable(),
|
|
19
19
|
price: zod_1.z.number(),
|
|
20
20
|
reaction: zod_1.z.nativeEnum(user_reaction_enum_1.USER_REACTION).nullable(),
|
package/build/image-generation/commands/soft-delete-image-generation-jobs-by-criteria.command.js
CHANGED
|
@@ -9,7 +9,7 @@ var SoftDeleteImageGenerationJobsByCriteriaCommand;
|
|
|
9
9
|
SoftDeleteImageGenerationJobsByCriteriaCommand.RequestSchema = zod_1.z.object({
|
|
10
10
|
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
11
11
|
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
12
|
-
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).default(common_1.JOB_SCOPE.TOOL),
|
|
12
|
+
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
|
|
13
13
|
});
|
|
14
14
|
SoftDeleteImageGenerationJobsByCriteriaCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(zod_1.z.boolean());
|
|
15
15
|
})(SoftDeleteImageGenerationJobsByCriteriaCommand || (exports.SoftDeleteImageGenerationJobsByCriteriaCommand = SoftDeleteImageGenerationJobsByCriteriaCommand = {}));
|
|
@@ -12,7 +12,7 @@ var FindImageGenerationJobsQuery;
|
|
|
12
12
|
.object({
|
|
13
13
|
userId: zod_1.z.string().uuid().optional(),
|
|
14
14
|
unregisteredUserId: zod_1.z.string().uuid().optional(),
|
|
15
|
-
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).default(common_1.JOB_SCOPE.TOOL),
|
|
15
|
+
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
|
|
16
16
|
title: zod_1.z.string().optional(),
|
|
17
17
|
limit: zod_1.z.coerce.number().min(1).optional(),
|
|
18
18
|
offset: zod_1.z.coerce.number().min(0).default(0).optional(),
|
|
@@ -9,7 +9,7 @@ var DeleteAllSTTJobsCommand;
|
|
|
9
9
|
DeleteAllSTTJobsCommand.RequestSchema = zod_1.z.object({
|
|
10
10
|
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
11
11
|
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
12
|
-
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).default(common_1.JOB_SCOPE.TOOL),
|
|
12
|
+
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
|
|
13
13
|
});
|
|
14
14
|
DeleteAllSTTJobsCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(zod_1.z.boolean());
|
|
15
15
|
})(DeleteAllSTTJobsCommand || (exports.DeleteAllSTTJobsCommand = DeleteAllSTTJobsCommand = {}));
|
|
@@ -10,7 +10,7 @@ var STTCommand;
|
|
|
10
10
|
STTCommand.RequestSchema = zod_1.z.object({
|
|
11
11
|
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
12
12
|
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
13
|
-
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).default(common_1.JOB_SCOPE.TOOL),
|
|
13
|
+
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
|
|
14
14
|
modelId: zod_1.z.string(),
|
|
15
15
|
fileId: zod_1.z.string(),
|
|
16
16
|
fileKey: zod_1.z.string(),
|
|
@@ -11,7 +11,7 @@ var FindSTTJobsQuery;
|
|
|
11
11
|
.object({
|
|
12
12
|
userId: zod_1.z.string().uuid().optional(),
|
|
13
13
|
unregisteredUserId: zod_1.z.string().uuid().optional(),
|
|
14
|
-
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).default(common_1.JOB_SCOPE.TOOL),
|
|
14
|
+
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
|
|
15
15
|
title: zod_1.z.string().optional(),
|
|
16
16
|
limit: zod_1.z.coerce.number().min(1).optional(),
|
|
17
17
|
offset: zod_1.z.coerce.number().min(0).optional(),
|
|
@@ -9,7 +9,7 @@ var DeleteAllTTSJobsCommand;
|
|
|
9
9
|
DeleteAllTTSJobsCommand.RequestSchema = zod_1.z.object({
|
|
10
10
|
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
11
11
|
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
12
|
-
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).default(common_1.JOB_SCOPE.TOOL),
|
|
12
|
+
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
|
|
13
13
|
});
|
|
14
14
|
DeleteAllTTSJobsCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(zod_1.z.boolean());
|
|
15
15
|
})(DeleteAllTTSJobsCommand || (exports.DeleteAllTTSJobsCommand = DeleteAllTTSJobsCommand = {}));
|
|
@@ -10,7 +10,7 @@ var TTSCommand;
|
|
|
10
10
|
TTSCommand.RequestSchema = zod_1.z.object({
|
|
11
11
|
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
12
12
|
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
13
|
-
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).default(common_1.JOB_SCOPE.TOOL),
|
|
13
|
+
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
|
|
14
14
|
modelId: zod_1.z.string(),
|
|
15
15
|
voiceId: zod_1.z.string(),
|
|
16
16
|
userInput: zod_1.z.string(),
|
|
@@ -11,7 +11,7 @@ var FindTTSJobsQuery;
|
|
|
11
11
|
.object({
|
|
12
12
|
userId: zod_1.z.string().uuid().optional(),
|
|
13
13
|
unregisteredUserId: zod_1.z.string().uuid().optional(),
|
|
14
|
-
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).default(common_1.JOB_SCOPE.TOOL),
|
|
14
|
+
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
|
|
15
15
|
title: zod_1.z.string().optional(),
|
|
16
16
|
limit: zod_1.z.coerce.number().min(1).optional(),
|
|
17
17
|
offset: zod_1.z.coerce.number().min(0).default(0).optional(),
|
|
@@ -9,7 +9,7 @@ var DeleteAllVideoJobsCommand;
|
|
|
9
9
|
DeleteAllVideoJobsCommand.RequestSchema = zod_1.z.object({
|
|
10
10
|
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
11
11
|
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
12
|
-
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).default(common_1.JOB_SCOPE.TOOL),
|
|
12
|
+
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
|
|
13
13
|
});
|
|
14
14
|
DeleteAllVideoJobsCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(zod_1.z.boolean());
|
|
15
15
|
})(DeleteAllVideoJobsCommand || (exports.DeleteAllVideoJobsCommand = DeleteAllVideoJobsCommand = {}));
|
|
@@ -15,7 +15,7 @@ var VideoCommand;
|
|
|
15
15
|
locale: locale_schema_1.LocaleSchema,
|
|
16
16
|
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
17
17
|
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
18
|
-
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).default(common_1.JOB_SCOPE.TOOL),
|
|
18
|
+
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
|
|
19
19
|
workspaceId: zod_1.z.string().uuid().nullable().optional(),
|
|
20
20
|
workspaceItemId: zod_1.z.string().uuid().nullable().optional(),
|
|
21
21
|
workspaceToolType: zod_1.z.nativeEnum(tools_1.TOOL_CONTENT_TYPE).nullable().optional(),
|
|
@@ -11,7 +11,7 @@ var FindVideoJobsQuery;
|
|
|
11
11
|
.object({
|
|
12
12
|
userId: zod_1.z.string().uuid().optional(),
|
|
13
13
|
unregisteredUserId: zod_1.z.string().uuid().optional(),
|
|
14
|
-
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).default(common_1.JOB_SCOPE.TOOL),
|
|
14
|
+
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
|
|
15
15
|
workspaceId: zod_1.z.string().uuid().nullable().optional(),
|
|
16
16
|
title: zod_1.z.string().optional(),
|
|
17
17
|
limit: zod_1.z.coerce.number().min(1).optional(),
|
|
@@ -9,7 +9,7 @@ var DeleteAllVideoEditorJobsCommand;
|
|
|
9
9
|
DeleteAllVideoEditorJobsCommand.RequestSchema = zod_1.z.object({
|
|
10
10
|
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
11
11
|
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
12
|
-
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).default(common_1.JOB_SCOPE.TOOL),
|
|
12
|
+
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
|
|
13
13
|
});
|
|
14
14
|
DeleteAllVideoEditorJobsCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(zod_1.z.boolean());
|
|
15
15
|
})(DeleteAllVideoEditorJobsCommand || (exports.DeleteAllVideoEditorJobsCommand = DeleteAllVideoEditorJobsCommand = {}));
|
|
@@ -10,7 +10,7 @@ var EditVideoCommand;
|
|
|
10
10
|
EditVideoCommand.RequestSchema = zod_1.z.object({
|
|
11
11
|
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
12
12
|
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
13
|
-
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).default(common_1.JOB_SCOPE.TOOL),
|
|
13
|
+
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
|
|
14
14
|
prompt: zod_1.z.string(),
|
|
15
15
|
inputVideoId: zod_1.z.string().uuid(),
|
|
16
16
|
inputVideoUrl: zod_1.z.string(),
|
|
@@ -11,7 +11,7 @@ var FindVideoEditorJobsQuery;
|
|
|
11
11
|
.object({
|
|
12
12
|
userId: zod_1.z.string().uuid().optional(),
|
|
13
13
|
unregisteredUserId: zod_1.z.string().uuid().optional(),
|
|
14
|
-
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).default(common_1.JOB_SCOPE.TOOL),
|
|
14
|
+
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
|
|
15
15
|
title: zod_1.z.string().optional(),
|
|
16
16
|
limit: zod_1.z.coerce.number().min(1).optional(),
|
|
17
17
|
offset: zod_1.z.coerce.number().min(0).default(0).optional(),
|
|
@@ -8,7 +8,7 @@ export namespace CreateHtmlPageBuilderSessionCommand {
|
|
|
8
8
|
.object({
|
|
9
9
|
userId: z.string().uuid().nullable().optional(),
|
|
10
10
|
unregisteredUserId: z.string().uuid().nullable().optional(),
|
|
11
|
-
scope: z.nativeEnum(JOB_SCOPE).default(JOB_SCOPE.TOOL),
|
|
11
|
+
scope: z.nativeEnum(JOB_SCOPE).optional().default(JOB_SCOPE.TOOL),
|
|
12
12
|
title: z.string().optional(),
|
|
13
13
|
})
|
|
14
14
|
.refine(
|
|
@@ -7,7 +7,7 @@ export namespace HtmlPageBuilderExecuteCommand {
|
|
|
7
7
|
export const RequestSchema = z.object({
|
|
8
8
|
userId: z.string().uuid().nullable().optional(),
|
|
9
9
|
unregisteredUserId: z.string().uuid().nullable().optional(),
|
|
10
|
-
scope: z.nativeEnum(JOB_SCOPE).default(JOB_SCOPE.TOOL),
|
|
10
|
+
scope: z.nativeEnum(JOB_SCOPE).optional().default(JOB_SCOPE.TOOL),
|
|
11
11
|
sessionId: z.string().uuid().optional(),
|
|
12
12
|
userPrompt: z.string(),
|
|
13
13
|
modelId: z.string().uuid(),
|
|
@@ -7,7 +7,7 @@ export namespace SoftDeleteAllHtmlPageBuilderSessionsCommand {
|
|
|
7
7
|
.object({
|
|
8
8
|
userId: z.string().uuid().optional(),
|
|
9
9
|
unregisteredUserId: z.string().uuid().optional(),
|
|
10
|
-
scope: z.nativeEnum(JOB_SCOPE).default(JOB_SCOPE.TOOL),
|
|
10
|
+
scope: z.nativeEnum(JOB_SCOPE).optional().default(JOB_SCOPE.TOOL),
|
|
11
11
|
})
|
|
12
12
|
.refine(
|
|
13
13
|
(data) => {
|
|
@@ -8,7 +8,7 @@ export namespace FindHtmlPageBuilderSessionsQuery {
|
|
|
8
8
|
.object({
|
|
9
9
|
userId: z.string().uuid().optional(),
|
|
10
10
|
unregisteredUserId: z.string().uuid().optional(),
|
|
11
|
-
scope: z.nativeEnum(JOB_SCOPE).default(JOB_SCOPE.TOOL),
|
|
11
|
+
scope: z.nativeEnum(JOB_SCOPE).optional().default(JOB_SCOPE.TOOL),
|
|
12
12
|
title: z.string().optional(),
|
|
13
13
|
limit: z.coerce.number().min(1).optional(),
|
|
14
14
|
offset: z.coerce.number().min(0).default(0).optional(),
|
|
@@ -6,7 +6,7 @@ export namespace DeleteAllImageEditorJobsCommand {
|
|
|
6
6
|
export const RequestSchema = z.object({
|
|
7
7
|
userId: z.string().uuid().nullable().optional(),
|
|
8
8
|
unregisteredUserId: z.string().uuid().nullable().optional(),
|
|
9
|
-
scope: z.nativeEnum(JOB_SCOPE).default(JOB_SCOPE.TOOL),
|
|
9
|
+
scope: z.nativeEnum(JOB_SCOPE).optional().default(JOB_SCOPE.TOOL),
|
|
10
10
|
});
|
|
11
11
|
export type Request = z.infer<typeof RequestSchema>;
|
|
12
12
|
|
|
@@ -11,7 +11,7 @@ export namespace ImageEditorCommand {
|
|
|
11
11
|
locale: LocaleSchema,
|
|
12
12
|
userId: z.string().uuid().nullable().optional(),
|
|
13
13
|
unregisteredUserId: z.string().uuid().nullable().optional(),
|
|
14
|
-
scope: z.nativeEnum(JOB_SCOPE).default(JOB_SCOPE.TOOL),
|
|
14
|
+
scope: z.nativeEnum(JOB_SCOPE).optional().default(JOB_SCOPE.TOOL),
|
|
15
15
|
workspaceId: z.string().uuid().nullable().optional(),
|
|
16
16
|
workspaceItemId: z.string().uuid().nullable().optional(),
|
|
17
17
|
workspaceToolType: z.nativeEnum(TOOL_CONTENT_TYPE).nullable().optional(),
|
|
@@ -10,7 +10,7 @@ export namespace ExecuteImageGenerationCommand {
|
|
|
10
10
|
locale: LocaleSchema,
|
|
11
11
|
userId: z.string().uuid().nullable().optional(),
|
|
12
12
|
unregisteredUserId: z.string().uuid().nullable().optional(),
|
|
13
|
-
scope: z.nativeEnum(JOB_SCOPE).default(JOB_SCOPE.TOOL),
|
|
13
|
+
scope: z.nativeEnum(JOB_SCOPE).optional().default(JOB_SCOPE.TOOL),
|
|
14
14
|
prompt: z.string(),
|
|
15
15
|
modelId: z.string().uuid(),
|
|
16
16
|
params: ImageGenerationRequestParamsSchema,
|
|
@@ -11,7 +11,7 @@ export namespace ForwardImageGenerationJobCommand {
|
|
|
11
11
|
prompt: z.string(),
|
|
12
12
|
title: z.string(),
|
|
13
13
|
status: z.nativeEnum(JOB_STATUS),
|
|
14
|
-
scope: z.nativeEnum(JOB_SCOPE).default(JOB_SCOPE.TOOL),
|
|
14
|
+
scope: z.nativeEnum(JOB_SCOPE).optional().default(JOB_SCOPE.TOOL),
|
|
15
15
|
error: z.string().nullable(),
|
|
16
16
|
price: z.number(),
|
|
17
17
|
reaction: z.nativeEnum(USER_REACTION).nullable(),
|
|
@@ -6,7 +6,7 @@ export namespace SoftDeleteImageGenerationJobsByCriteriaCommand {
|
|
|
6
6
|
export const RequestSchema = z.object({
|
|
7
7
|
userId: z.string().uuid().nullable().optional(),
|
|
8
8
|
unregisteredUserId: z.string().uuid().nullable().optional(),
|
|
9
|
-
scope: z.nativeEnum(JOB_SCOPE).default(JOB_SCOPE.TOOL),
|
|
9
|
+
scope: z.nativeEnum(JOB_SCOPE).optional().default(JOB_SCOPE.TOOL),
|
|
10
10
|
});
|
|
11
11
|
export type Request = z.infer<typeof RequestSchema>;
|
|
12
12
|
|
|
@@ -9,7 +9,7 @@ export namespace FindImageGenerationJobsQuery {
|
|
|
9
9
|
.object({
|
|
10
10
|
userId: z.string().uuid().optional(),
|
|
11
11
|
unregisteredUserId: z.string().uuid().optional(),
|
|
12
|
-
scope: z.nativeEnum(JOB_SCOPE).default(JOB_SCOPE.TOOL),
|
|
12
|
+
scope: z.nativeEnum(JOB_SCOPE).optional().default(JOB_SCOPE.TOOL),
|
|
13
13
|
title: z.string().optional(),
|
|
14
14
|
limit: z.coerce.number().min(1).optional(),
|
|
15
15
|
offset: z.coerce.number().min(0).default(0).optional(),
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ export namespace DeleteAllSTTJobsCommand {
|
|
|
6
6
|
export const RequestSchema = z.object({
|
|
7
7
|
userId: z.string().uuid().nullable().optional(),
|
|
8
8
|
unregisteredUserId: z.string().uuid().nullable().optional(),
|
|
9
|
-
scope: z.nativeEnum(JOB_SCOPE).default(JOB_SCOPE.TOOL),
|
|
9
|
+
scope: z.nativeEnum(JOB_SCOPE).optional().default(JOB_SCOPE.TOOL),
|
|
10
10
|
});
|
|
11
11
|
export type Request = z.infer<typeof RequestSchema>;
|
|
12
12
|
|
|
@@ -7,7 +7,7 @@ export namespace STTCommand {
|
|
|
7
7
|
export const RequestSchema = z.object({
|
|
8
8
|
userId: z.string().uuid().nullable().optional(),
|
|
9
9
|
unregisteredUserId: z.string().uuid().nullable().optional(),
|
|
10
|
-
scope: z.nativeEnum(JOB_SCOPE).default(JOB_SCOPE.TOOL),
|
|
10
|
+
scope: z.nativeEnum(JOB_SCOPE).optional().default(JOB_SCOPE.TOOL),
|
|
11
11
|
modelId: z.string(),
|
|
12
12
|
fileId: z.string(),
|
|
13
13
|
fileKey: z.string(),
|
|
@@ -8,7 +8,7 @@ export namespace FindSTTJobsQuery {
|
|
|
8
8
|
.object({
|
|
9
9
|
userId: z.string().uuid().optional(),
|
|
10
10
|
unregisteredUserId: z.string().uuid().optional(),
|
|
11
|
-
scope: z.nativeEnum(JOB_SCOPE).default(JOB_SCOPE.TOOL),
|
|
11
|
+
scope: z.nativeEnum(JOB_SCOPE).optional().default(JOB_SCOPE.TOOL),
|
|
12
12
|
title: z.string().optional(),
|
|
13
13
|
limit: z.coerce.number().min(1).optional(),
|
|
14
14
|
offset: z.coerce.number().min(0).optional(),
|
|
@@ -6,7 +6,7 @@ export namespace DeleteAllTTSJobsCommand {
|
|
|
6
6
|
export const RequestSchema = z.object({
|
|
7
7
|
userId: z.string().uuid().nullable().optional(),
|
|
8
8
|
unregisteredUserId: z.string().uuid().nullable().optional(),
|
|
9
|
-
scope: z.nativeEnum(JOB_SCOPE).default(JOB_SCOPE.TOOL),
|
|
9
|
+
scope: z.nativeEnum(JOB_SCOPE).optional().default(JOB_SCOPE.TOOL),
|
|
10
10
|
});
|
|
11
11
|
export type Request = z.infer<typeof RequestSchema>;
|
|
12
12
|
|
|
@@ -7,7 +7,7 @@ export namespace TTSCommand {
|
|
|
7
7
|
export const RequestSchema = z.object({
|
|
8
8
|
userId: z.string().uuid().nullable().optional(),
|
|
9
9
|
unregisteredUserId: z.string().uuid().nullable().optional(),
|
|
10
|
-
scope: z.nativeEnum(JOB_SCOPE).default(JOB_SCOPE.TOOL),
|
|
10
|
+
scope: z.nativeEnum(JOB_SCOPE).optional().default(JOB_SCOPE.TOOL),
|
|
11
11
|
modelId: z.string(),
|
|
12
12
|
voiceId: z.string(),
|
|
13
13
|
userInput: z.string(),
|
|
@@ -8,7 +8,7 @@ export namespace FindTTSJobsQuery {
|
|
|
8
8
|
.object({
|
|
9
9
|
userId: z.string().uuid().optional(),
|
|
10
10
|
unregisteredUserId: z.string().uuid().optional(),
|
|
11
|
-
scope: z.nativeEnum(JOB_SCOPE).default(JOB_SCOPE.TOOL),
|
|
11
|
+
scope: z.nativeEnum(JOB_SCOPE).optional().default(JOB_SCOPE.TOOL),
|
|
12
12
|
title: z.string().optional(),
|
|
13
13
|
limit: z.coerce.number().min(1).optional(),
|
|
14
14
|
offset: z.coerce.number().min(0).default(0).optional(),
|
|
@@ -6,7 +6,7 @@ export namespace DeleteAllVideoJobsCommand {
|
|
|
6
6
|
export const RequestSchema = z.object({
|
|
7
7
|
userId: z.string().uuid().nullable().optional(),
|
|
8
8
|
unregisteredUserId: z.string().uuid().nullable().optional(),
|
|
9
|
-
scope: z.nativeEnum(JOB_SCOPE).default(JOB_SCOPE.TOOL),
|
|
9
|
+
scope: z.nativeEnum(JOB_SCOPE).optional().default(JOB_SCOPE.TOOL),
|
|
10
10
|
});
|
|
11
11
|
export type Request = z.infer<typeof RequestSchema>;
|
|
12
12
|
|
|
@@ -12,7 +12,7 @@ export namespace VideoCommand {
|
|
|
12
12
|
locale: LocaleSchema,
|
|
13
13
|
userId: z.string().uuid().nullable().optional(),
|
|
14
14
|
unregisteredUserId: z.string().uuid().nullable().optional(),
|
|
15
|
-
scope: z.nativeEnum(JOB_SCOPE).default(JOB_SCOPE.TOOL),
|
|
15
|
+
scope: z.nativeEnum(JOB_SCOPE).optional().default(JOB_SCOPE.TOOL),
|
|
16
16
|
workspaceId: z.string().uuid().nullable().optional(),
|
|
17
17
|
workspaceItemId: z.string().uuid().nullable().optional(),
|
|
18
18
|
workspaceToolType: z.nativeEnum(TOOL_CONTENT_TYPE).nullable().optional(),
|
|
@@ -8,7 +8,7 @@ export namespace FindVideoJobsQuery {
|
|
|
8
8
|
.object({
|
|
9
9
|
userId: z.string().uuid().optional(),
|
|
10
10
|
unregisteredUserId: z.string().uuid().optional(),
|
|
11
|
-
scope: z.nativeEnum(JOB_SCOPE).default(JOB_SCOPE.TOOL),
|
|
11
|
+
scope: z.nativeEnum(JOB_SCOPE).optional().default(JOB_SCOPE.TOOL),
|
|
12
12
|
workspaceId: z.string().uuid().nullable().optional(),
|
|
13
13
|
title: z.string().optional(),
|
|
14
14
|
limit: z.coerce.number().min(1).optional(),
|
|
@@ -6,7 +6,7 @@ export namespace DeleteAllVideoEditorJobsCommand {
|
|
|
6
6
|
export const RequestSchema = z.object({
|
|
7
7
|
userId: z.string().uuid().nullable().optional(),
|
|
8
8
|
unregisteredUserId: z.string().uuid().nullable().optional(),
|
|
9
|
-
scope: z.nativeEnum(JOB_SCOPE).default(JOB_SCOPE.TOOL),
|
|
9
|
+
scope: z.nativeEnum(JOB_SCOPE).optional().default(JOB_SCOPE.TOOL),
|
|
10
10
|
});
|
|
11
11
|
export type Request = z.infer<typeof RequestSchema>;
|
|
12
12
|
|
|
@@ -7,7 +7,7 @@ export namespace EditVideoCommand {
|
|
|
7
7
|
export const RequestSchema = z.object({
|
|
8
8
|
userId: z.string().uuid().nullable().optional(),
|
|
9
9
|
unregisteredUserId: z.string().uuid().nullable().optional(),
|
|
10
|
-
scope: z.nativeEnum(JOB_SCOPE).default(JOB_SCOPE.TOOL),
|
|
10
|
+
scope: z.nativeEnum(JOB_SCOPE).optional().default(JOB_SCOPE.TOOL),
|
|
11
11
|
prompt: z.string(),
|
|
12
12
|
inputVideoId: z.string().uuid(),
|
|
13
13
|
inputVideoUrl: z.string(),
|
|
@@ -8,7 +8,7 @@ export namespace FindVideoEditorJobsQuery {
|
|
|
8
8
|
.object({
|
|
9
9
|
userId: z.string().uuid().optional(),
|
|
10
10
|
unregisteredUserId: z.string().uuid().optional(),
|
|
11
|
-
scope: z.nativeEnum(JOB_SCOPE).default(JOB_SCOPE.TOOL),
|
|
11
|
+
scope: z.nativeEnum(JOB_SCOPE).optional().default(JOB_SCOPE.TOOL),
|
|
12
12
|
title: z.string().optional(),
|
|
13
13
|
limit: z.coerce.number().min(1).optional(),
|
|
14
14
|
offset: z.coerce.number().min(0).default(0).optional(),
|