@purpleschool/gptbot 0.15.69 → 0.15.71
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/api/controllers/http/avatar-studio.d.ts +5 -3
- package/build/api/controllers/http/avatar-studio.js +6 -5
- package/build/api/controllers/http/index.d.ts +1 -0
- package/build/api/controllers/http/index.js +1 -0
- package/build/api/controllers/http/photo-session.d.ts +20 -0
- package/build/api/controllers/http/photo-session.js +23 -0
- package/build/api/controllers/http/tts.d.ts +9 -0
- package/build/api/controllers/http/tts.js +9 -0
- package/build/api/routes.d.ts +50 -5
- package/build/api/routes.js +50 -5
- package/build/commands/ai-studio/canvas-node/find-canvas-node-definitions-with-configs.query.d.ts +11 -0
- package/build/commands/avatar-studio/clip/create-avatar-studio-clip.command.d.ts +3 -2
- package/build/commands/avatar-studio/clip/find-avatar-studio-clips.query.d.ts +3 -2
- package/build/commands/avatar-studio/clip/get-avatar-studio-clip.query.d.ts +3 -2
- package/build/commands/avatar-studio/clip/update-avatar-studio-clip.command.d.ts +3 -2
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-video.command.d.ts +2 -1
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-voice.command.d.ts +4 -2
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-voice.command.js +4 -2
- package/build/commands/avatar-studio/generation-job/index.d.ts +0 -1
- package/build/commands/avatar-studio/generation-job/index.js +0 -1
- package/build/commands/avatar-studio/scene/{apply-avatar-studio-voice-sample-to-all-scenes.command.d.ts → apply-avatar-studio-voice-to-all-scenes.command.d.ts} +5 -4
- package/build/commands/avatar-studio/scene/apply-avatar-studio-voice-to-all-scenes.command.js +17 -0
- package/build/commands/avatar-studio/scene/create-avatar-studio-scene.command.d.ts +3 -2
- package/build/commands/avatar-studio/scene/index.d.ts +1 -1
- package/build/commands/avatar-studio/scene/index.js +1 -1
- package/build/commands/avatar-studio/scene/reorder-avatar-studio-scenes.command.d.ts +3 -2
- package/build/commands/avatar-studio/scene/set-avatar-studio-scene-slot.command.d.ts +3 -2
- package/build/commands/avatar-studio/scene/update-avatar-studio-scene.command.d.ts +6 -4
- package/build/commands/avatar-studio/scriptwriter/apply-avatar-studio-scriptwriter-message.command.d.ts +3 -2
- package/build/commands/avatar-studio/scriptwriter/create-avatar-studio-scriptwriter-message.command.d.ts +7 -4
- package/build/commands/avatar-studio/scriptwriter/create-avatar-studio-scriptwriter-message.command.js +4 -2
- package/build/commands/avatar-studio/shared/avatar-studio-common.schema.d.ts +8 -5
- package/build/commands/avatar-studio/shared/avatar-studio-common.schema.js +2 -1
- package/build/commands/avatar-studio/shared/get-avatar-studio-config.query.d.ts +68 -65
- package/build/commands/avatar-studio/shared/get-avatar-studio-config.query.js +58 -40
- package/build/commands/avatar-studio/voice/clone-avatar-studio-voice.command.d.ts +43 -0
- package/build/commands/avatar-studio/voice/clone-avatar-studio-voice.command.js +19 -0
- package/build/commands/avatar-studio/voice/delete-avatar-studio-voice.command.d.ts +11 -0
- package/build/commands/avatar-studio/voice/delete-avatar-studio-voice.command.js +13 -0
- package/build/commands/avatar-studio/voice/design-avatar-studio-voice.command.d.ts +26 -55
- package/build/commands/avatar-studio/voice/design-avatar-studio-voice.command.js +6 -7
- package/build/commands/avatar-studio/voice/find-avatar-studio-voices.query.d.ts +36 -0
- package/build/commands/avatar-studio/voice/find-avatar-studio-voices.query.js +11 -0
- package/build/commands/avatar-studio/voice/index.d.ts +3 -0
- package/build/commands/avatar-studio/voice/index.js +3 -0
- package/build/commands/tools/html-page-builder/execute-html-page-builder.command.d.ts +2 -0
- package/build/commands/tools/html-page-builder/find-html-page-builder-session-by-uuid.command.d.ts +2 -0
- package/build/commands/tools/html-page-builder/find-html-page-builder-sessions.command.d.ts +2 -0
- package/build/commands/tools/html-page-builder/update-html-page-builder-session-favorite.command.d.ts +2 -0
- package/build/commands/tools/html-page-builder/update-html-page-builder-session-title.command.d.ts +2 -0
- package/build/commands/tools/image-editor/find-image-editor-job-by-uuid.command.d.ts +2 -0
- package/build/commands/tools/image-editor/find-image-editor-jobs.command.d.ts +2 -0
- package/build/commands/tools/image-editor/retry-image-editor-job.command.d.ts +2 -0
- package/build/commands/tools/image-editor/set-reaction-to-image-editor-job.command.d.ts +2 -0
- package/build/commands/tools/image-editor/update-image-editor-job-favorite.command.d.ts +2 -0
- package/build/commands/tools/image-editor/update-image-editor-job-title.command.d.ts +2 -0
- package/build/commands/tools/image-recognition/find-image-recognition-job-by-uuid.command.d.ts +2 -0
- package/build/commands/tools/image-recognition/find-image-recognition-jobs.command.d.ts +2 -0
- package/build/commands/tools/image-recognition/image-recognition.command.d.ts +2 -0
- package/build/commands/tools/image-recognition/retry-image-recognition-job.command.d.ts +2 -0
- package/build/commands/tools/image-recognition/set-reaction-to-image-recognition-job.command.d.ts +2 -0
- package/build/commands/tools/image-recognition/update-image-recognition-job-favorite.command.d.ts +2 -0
- package/build/commands/tools/image-recognition/update-image-recognition-job-title.command.d.ts +2 -0
- package/build/commands/tools/index.d.ts +1 -0
- package/build/commands/tools/index.js +1 -0
- package/build/commands/tools/interior-design/find-interior-design-job-by-uuid.command.d.ts +2 -0
- package/build/commands/tools/interior-design/find-interior-design-jobs.command.d.ts +2 -0
- package/build/commands/tools/interior-design/retry-interior-design-job.command.d.ts +2 -0
- package/build/commands/tools/interior-design/set-reaction-to-interior-design-job.command.d.ts +2 -0
- package/build/commands/tools/interior-design/update-interior-design-job-favorite.command.d.ts +2 -0
- package/build/commands/tools/interior-design/update-interior-design-job-title.command.d.ts +2 -0
- package/build/commands/tools/photo-session/admin/create-photo-session-style.command.d.ts +39 -0
- package/build/commands/tools/photo-session/admin/create-photo-session-style.command.js +22 -0
- package/build/commands/tools/photo-session/admin/delete-photo-session-style.command.d.ts +9 -0
- package/build/commands/tools/photo-session/admin/delete-photo-session-style.command.js +11 -0
- package/build/commands/tools/photo-session/admin/index.d.ts +4 -0
- package/build/commands/tools/photo-session/admin/index.js +20 -0
- package/build/commands/tools/photo-session/admin/list-photo-session-styles.command.d.ts +8 -0
- package/build/commands/tools/photo-session/admin/list-photo-session-styles.command.js +11 -0
- package/build/commands/tools/photo-session/admin/update-photo-session-style.command.d.ts +38 -0
- package/build/commands/tools/photo-session/admin/update-photo-session-style.command.js +21 -0
- package/build/commands/tools/photo-session/delete-all-photo-session-jobs.command.d.ts +5 -0
- package/build/commands/tools/photo-session/delete-all-photo-session-jobs.command.js +8 -0
- package/build/commands/tools/photo-session/delete-photo-session-job-by-uuid.command.d.ts +9 -0
- package/build/commands/tools/photo-session/delete-photo-session-job-by-uuid.command.js +11 -0
- package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.d.ts +119 -0
- package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.js +14 -0
- package/build/commands/tools/photo-session/find-photo-session-jobs.command.d.ts +128 -0
- package/build/commands/tools/photo-session/find-photo-session-jobs.command.js +24 -0
- package/build/commands/tools/photo-session/get-photo-session-config.command.d.ts +75 -0
- package/build/commands/tools/photo-session/get-photo-session-config.command.js +11 -0
- package/build/commands/tools/photo-session/get-photo-session-styles.command.d.ts +23 -0
- package/build/commands/tools/photo-session/get-photo-session-styles.command.js +11 -0
- package/build/commands/tools/photo-session/index.d.ts +13 -0
- package/build/commands/tools/photo-session/index.js +29 -0
- package/build/commands/tools/photo-session/photo-session.command.d.ts +138 -0
- package/build/commands/tools/photo-session/photo-session.command.js +25 -0
- package/build/commands/tools/photo-session/retry-photo-session-job.command.d.ts +100 -0
- package/build/commands/tools/photo-session/retry-photo-session-job.command.js +14 -0
- package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.d.ts +106 -0
- package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.js +28 -0
- package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.d.ts +104 -0
- package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.js +17 -0
- package/build/commands/tools/photo-session/update-photo-session-job-title.command.d.ts +123 -0
- package/build/commands/tools/photo-session/update-photo-session-job-title.command.js +17 -0
- package/build/commands/tools/photo-session/update-published-status-photo-session-job.command.d.ts +105 -0
- package/build/commands/tools/photo-session/update-published-status-photo-session-job.command.js +23 -0
- package/build/commands/tools/solving-edu-task/find-solving-edu-task-job-by-uuid.command.d.ts +2 -0
- package/build/commands/tools/solving-edu-task/find-solving-edu-task-jobs.command.d.ts +2 -0
- package/build/commands/tools/solving-edu-task/retry-solving-edu-task-job.command.d.ts +2 -0
- package/build/commands/tools/solving-edu-task/set-reaction-to-solving-edu-task-job.command.d.ts +2 -0
- package/build/commands/tools/solving-edu-task/solving-edu-task.command.d.ts +2 -0
- package/build/commands/tools/solving-edu-task/update-solving-edu-task-job-favorite.command.d.ts +2 -0
- package/build/commands/tools/solving-edu-task/update-solving-edu-task-job-title.command.d.ts +2 -0
- package/build/commands/tools/tts/create-voice-clone.command.d.ts +44 -0
- package/build/commands/tools/tts/create-voice-clone.command.js +18 -0
- package/build/commands/tools/tts/create-voice-design.command.d.ts +24 -0
- package/build/commands/tools/tts/create-voice-design.command.js +18 -0
- package/build/commands/tools/tts/delete-voice.command.d.ts +9 -0
- package/build/commands/tools/tts/delete-voice.command.js +11 -0
- package/build/commands/tools/tts/download-tts-job.command.d.ts +18 -0
- package/build/commands/tools/tts/download-tts-job.command.js +17 -0
- package/build/commands/tools/tts/find-tts-job-by-uuid.command.d.ts +13 -1
- package/build/commands/tools/tts/find-tts-jobs.command.d.ts +13 -1
- package/build/commands/tools/tts/find-voice-by-uuid.query.d.ts +40 -0
- package/build/commands/tools/tts/find-voice-by-uuid.query.js +14 -0
- package/build/commands/tools/tts/find-voices.query.d.ts +48 -0
- package/build/commands/tools/tts/find-voices.query.js +18 -0
- package/build/commands/tools/tts/get-tts-tool-config.command.d.ts +11 -0
- package/build/commands/tools/tts/improve-tts-text.command.d.ts +13 -0
- package/build/commands/tools/tts/improve-tts-text.command.js +13 -0
- package/build/commands/tools/tts/index.d.ts +9 -0
- package/build/commands/tools/tts/index.js +9 -0
- package/build/commands/tools/tts/retry-tts-job.command.d.ts +13 -1
- package/build/commands/tools/tts/select-voice-design.command.d.ts +44 -0
- package/build/commands/tools/tts/select-voice-design.command.js +17 -0
- package/build/commands/tools/tts/set-reaction-to-tts-job.command.d.ts +13 -1
- package/build/commands/tools/tts/tts.command.d.ts +6 -1
- package/build/commands/tools/tts/tts.command.js +7 -1
- package/build/commands/tools/tts/update-tts-job-favorite.command.d.ts +13 -1
- package/build/commands/tools/tts/update-tts-job-title.command.d.ts +13 -1
- package/build/commands/tools/tts/update-voice.command.d.ts +45 -0
- package/build/commands/tools/tts/update-voice.command.js +18 -0
- package/build/constants/avatar-studio/enums/avatar-studio-job-type.enum.d.ts +1 -0
- package/build/constants/avatar-studio/enums/avatar-studio-job-type.enum.js +1 -0
- package/build/constants/avatar-studio/enums/avatar-studio-media-kind.enum.d.ts +1 -2
- package/build/constants/avatar-studio/enums/avatar-studio-media-kind.enum.js +0 -1
- package/build/constants/avatar-studio/enums/avatar-studio-model-purpose.enum.d.ts +6 -0
- package/build/constants/avatar-studio/enums/avatar-studio-model-purpose.enum.js +10 -0
- package/build/constants/avatar-studio/enums/avatar-studio-slot.enum.d.ts +1 -1
- package/build/constants/avatar-studio/enums/avatar-studio-slot.enum.js +1 -1
- package/build/constants/avatar-studio/enums/index.d.ts +1 -1
- package/build/constants/avatar-studio/enums/index.js +1 -1
- package/build/constants/index.d.ts +2 -0
- package/build/constants/index.js +2 -0
- package/build/constants/tool/enums/index.d.ts +1 -0
- package/build/constants/tool/enums/index.js +1 -0
- package/build/constants/tool/enums/job-scope.enum.d.ts +5 -0
- package/build/constants/tool/enums/job-scope.enum.js +9 -0
- package/build/constants/tool-photo-session/enums/index.d.ts +3 -0
- package/build/constants/tool-photo-session/enums/index.js +19 -0
- package/build/constants/tool-photo-session/enums/photo-session-group-status.enum.d.ts +6 -0
- package/build/constants/tool-photo-session/enums/photo-session-group-status.enum.js +10 -0
- package/build/constants/tool-photo-session/enums/photo-session-look-type.enum.d.ts +5 -0
- package/build/constants/tool-photo-session/enums/photo-session-look-type.enum.js +9 -0
- package/build/constants/tool-photo-session/enums/photo-session-model-type.enum.d.ts +3 -0
- package/build/constants/tool-photo-session/enums/photo-session-model-type.enum.js +7 -0
- package/build/constants/tool-photo-session/index.d.ts +1 -0
- package/build/constants/tool-photo-session/index.js +17 -0
- package/build/constants/tool-tts/enums/index.d.ts +7 -0
- package/build/constants/tool-tts/enums/index.js +23 -0
- package/build/constants/tool-tts/enums/tts-download-format.enum.d.ts +5 -0
- package/build/constants/tool-tts/enums/tts-download-format.enum.js +9 -0
- package/build/constants/tool-tts/enums/voice-category.enum.d.ts +19 -0
- package/build/constants/tool-tts/enums/voice-category.enum.js +23 -0
- package/build/constants/tool-tts/enums/voice-gender.enum.d.ts +4 -0
- package/build/constants/tool-tts/enums/voice-gender.enum.js +8 -0
- package/build/constants/tool-tts/enums/voice-source.enum.d.ts +5 -0
- package/build/constants/tool-tts/enums/voice-source.enum.js +9 -0
- package/build/constants/tool-tts/enums/voice-status.enum.d.ts +5 -0
- package/build/constants/tool-tts/enums/voice-status.enum.js +9 -0
- package/build/constants/tool-tts/enums/voice-tag-group.enum.d.ts +5 -0
- package/build/constants/tool-tts/enums/voice-tag-group.enum.js +9 -0
- package/build/constants/tool-tts/enums/voice-tag.enum.d.ts +20 -0
- package/build/constants/tool-tts/enums/voice-tag.enum.js +24 -0
- package/build/constants/tool-tts/index.d.ts +1 -0
- package/build/constants/tool-tts/index.js +17 -0
- package/build/helpers/index.d.ts +1 -0
- package/build/helpers/index.js +1 -0
- package/build/helpers/photo-session/calculate-photo-session-price.helper.d.ts +6 -0
- package/build/helpers/photo-session/calculate-photo-session-price.helper.js +13 -0
- package/build/helpers/photo-session/index.d.ts +1 -0
- package/build/helpers/photo-session/index.js +17 -0
- package/build/models/avatar-studio/avatar-studio.schema.d.ts +15 -11
- package/build/models/avatar-studio/avatar-studio.schema.js +8 -4
- package/build/models/canvas-node-definition.schema.d.ts +33 -0
- package/build/models/tools/common/attached-tool-file.schema.d.ts +2 -0
- package/build/models/tools/common/attached-tool-file.schema.js +2 -0
- package/build/models/tools/html-page-builder/html-page-builder-job.schema.d.ts +4 -0
- package/build/models/tools/html-page-builder/html-page-builder-session.schema.d.ts +2 -0
- package/build/models/tools/image-editor/image-editor-job.schema.d.ts +4 -0
- package/build/models/tools/image-recognition/image-recognition-job.schema.d.ts +4 -0
- package/build/models/tools/index.d.ts +1 -0
- package/build/models/tools/index.js +1 -0
- package/build/models/tools/interior-design/interior-design-job.schema.d.ts +4 -0
- package/build/models/tools/photo-session/index.d.ts +5 -0
- package/build/models/tools/photo-session/index.js +21 -0
- package/build/models/tools/photo-session/photo-session-config.schema.d.ts +141 -0
- package/build/models/tools/photo-session/photo-session-config.schema.js +21 -0
- package/build/models/tools/photo-session/photo-session-group.schema.d.ts +112 -0
- package/build/models/tools/photo-session/photo-session-group.schema.js +26 -0
- package/build/models/tools/photo-session/photo-session-job.schema.d.ts +158 -0
- package/build/models/tools/photo-session/photo-session-job.schema.js +55 -0
- package/build/models/tools/photo-session/photo-session-model.schema.d.ts +114 -0
- package/build/models/tools/photo-session/photo-session-model.schema.js +46 -0
- package/build/models/tools/photo-session/photo-session-style.schema.d.ts +29 -0
- package/build/models/tools/photo-session/photo-session-style.schema.js +22 -0
- package/build/models/tools/solving-edu-task/solving-edu-task-job.schema.d.ts +4 -0
- package/build/models/tools/tts/index.d.ts +3 -0
- package/build/models/tools/tts/index.js +3 -0
- package/build/models/tools/tts/tts-config.schema.d.ts +23 -0
- package/build/models/tools/tts/tts-config.schema.js +14 -1
- package/build/models/tools/tts/tts-job.schema.d.ts +26 -1
- package/build/models/tools/tts/tts-job.schema.js +16 -2
- package/build/models/tools/tts/tts-model.schema.d.ts +1 -0
- package/build/models/tools/tts/tts-model.schema.js +1 -0
- package/build/models/tools/tts/voice-design-draft.schema.d.ts +13 -0
- package/build/models/tools/tts/voice-design-draft.schema.js +13 -0
- package/build/models/tools/tts/voice-design-sample.schema.d.ts +6 -0
- package/build/models/tools/tts/voice-design-sample.schema.js +8 -0
- package/build/models/tools/tts/voice.schema.d.ts +33 -0
- package/build/models/tools/tts/voice.schema.js +37 -0
- package/package.json +1 -1
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-talking-avatar.command.d.ts +0 -77
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-talking-avatar.command.js +0 -14
- package/build/commands/avatar-studio/scene/apply-avatar-studio-voice-sample-to-all-scenes.command.js +0 -15
- package/build/constants/avatar-studio/enums/avatar-studio-video-quality.enum.d.ts +0 -4
- package/build/constants/avatar-studio/enums/avatar-studio-video-quality.enum.js +0 -8
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const PhotoSessionStyleReferenceSchema: z.ZodObject<{
|
|
3
|
+
uuid: z.ZodString;
|
|
4
|
+
styleId: z.ZodString;
|
|
5
|
+
photoUrl: z.ZodString;
|
|
6
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
+
order: z.ZodNumber;
|
|
8
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
9
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
export type PhotoSessionStyleReference = z.infer<typeof PhotoSessionStyleReferenceSchema>;
|
|
12
|
+
export declare const PhotoSessionStyleSchema: z.ZodObject<{
|
|
13
|
+
uuid: z.ZodString;
|
|
14
|
+
code: z.ZodString;
|
|
15
|
+
title: z.ZodString;
|
|
16
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
references: z.ZodArray<z.ZodObject<{
|
|
18
|
+
uuid: z.ZodString;
|
|
19
|
+
styleId: z.ZodString;
|
|
20
|
+
photoUrl: z.ZodString;
|
|
21
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
order: z.ZodNumber;
|
|
23
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
24
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
25
|
+
}, z.core.$strip>>;
|
|
26
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
27
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
28
|
+
}, z.core.$strip>;
|
|
29
|
+
export type PhotoSessionStyle = z.infer<typeof PhotoSessionStyleSchema>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PhotoSessionStyleSchema = exports.PhotoSessionStyleReferenceSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.PhotoSessionStyleReferenceSchema = zod_1.z.object({
|
|
6
|
+
uuid: zod_1.z.string().uuid(),
|
|
7
|
+
styleId: zod_1.z.string().uuid(),
|
|
8
|
+
photoUrl: zod_1.z.string(),
|
|
9
|
+
description: zod_1.z.string().nullable().optional(),
|
|
10
|
+
order: zod_1.z.number().int().min(0).max(5),
|
|
11
|
+
createdAt: zod_1.z.coerce.date(),
|
|
12
|
+
updatedAt: zod_1.z.coerce.date(),
|
|
13
|
+
});
|
|
14
|
+
exports.PhotoSessionStyleSchema = zod_1.z.object({
|
|
15
|
+
uuid: zod_1.z.string().uuid(),
|
|
16
|
+
code: zod_1.z.string(),
|
|
17
|
+
title: zod_1.z.string(),
|
|
18
|
+
description: zod_1.z.string().nullable().optional(),
|
|
19
|
+
references: zod_1.z.array(exports.PhotoSessionStyleReferenceSchema),
|
|
20
|
+
createdAt: zod_1.z.coerce.date(),
|
|
21
|
+
updatedAt: zod_1.z.coerce.date(),
|
|
22
|
+
});
|
|
@@ -10,6 +10,8 @@ export declare const SolvingEduTaskJobParamsSchema: z.ZodObject<{
|
|
|
10
10
|
type: z.ZodString;
|
|
11
11
|
size: z.ZodNumber;
|
|
12
12
|
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
13
|
+
content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
14
|
+
contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
13
15
|
}, z.core.$strip>>;
|
|
14
16
|
}, z.core.$strip>;
|
|
15
17
|
export type SolvingEduTaskJobParams = z.infer<typeof SolvingEduTaskJobParamsSchema>;
|
|
@@ -31,6 +33,8 @@ export declare const SolvingEduTaskJobSchema: z.ZodObject<{
|
|
|
31
33
|
type: z.ZodString;
|
|
32
34
|
size: z.ZodNumber;
|
|
33
35
|
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
36
|
+
content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
37
|
+
contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
34
38
|
}, z.core.$strip>>;
|
|
35
39
|
}, z.core.$strip>;
|
|
36
40
|
error: z.ZodNullable<z.ZodString>;
|
|
@@ -17,3 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./tts-config.schema"), exports);
|
|
18
18
|
__exportStar(require("./tts-job.schema"), exports);
|
|
19
19
|
__exportStar(require("./tts-model.schema"), exports);
|
|
20
|
+
__exportStar(require("./voice.schema"), exports);
|
|
21
|
+
__exportStar(require("./voice-design-draft.schema"), exports);
|
|
22
|
+
__exportStar(require("./voice-design-sample.schema"), exports);
|
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { VOICE_CATEGORY, VOICE_TAG, VOICE_TAG_GROUP } from '../../../constants';
|
|
3
|
+
export declare const TTSVoiceTagSchema: z.ZodObject<{
|
|
4
|
+
id: z.ZodEnum<typeof VOICE_TAG>;
|
|
5
|
+
group: z.ZodEnum<typeof VOICE_TAG_GROUP>;
|
|
6
|
+
label: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
export type TTSVoiceTag = z.infer<typeof TTSVoiceTagSchema>;
|
|
9
|
+
export declare const TTSVoiceCategorySchema: z.ZodObject<{
|
|
10
|
+
id: z.ZodEnum<typeof VOICE_CATEGORY>;
|
|
11
|
+
label: z.ZodString;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
export type TTSVoiceCategory = z.infer<typeof TTSVoiceCategorySchema>;
|
|
2
14
|
export declare const TTSConfigSchema: z.ZodObject<{
|
|
3
15
|
models: z.ZodArray<z.ZodObject<{
|
|
4
16
|
uuid: z.ZodString;
|
|
@@ -17,6 +29,7 @@ export declare const TTSConfigSchema: z.ZodObject<{
|
|
|
17
29
|
}, z.core.$strip>;
|
|
18
30
|
}, z.core.$strip>;
|
|
19
31
|
maxInputLength: z.ZodNumber;
|
|
32
|
+
maxSpeakers: z.ZodNumber;
|
|
20
33
|
params: z.ZodObject<{
|
|
21
34
|
speed: z.ZodOptional<z.ZodObject<{
|
|
22
35
|
title: z.ZodString;
|
|
@@ -120,4 +133,14 @@ export declare const TTSConfigSchema: z.ZodObject<{
|
|
|
120
133
|
canUse: z.ZodBoolean;
|
|
121
134
|
status: z.ZodString;
|
|
122
135
|
}, z.core.$strip>>;
|
|
136
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
137
|
+
id: z.ZodEnum<typeof VOICE_TAG>;
|
|
138
|
+
group: z.ZodEnum<typeof VOICE_TAG_GROUP>;
|
|
139
|
+
label: z.ZodString;
|
|
140
|
+
}, z.core.$strip>>;
|
|
141
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
142
|
+
id: z.ZodEnum<typeof VOICE_CATEGORY>;
|
|
143
|
+
label: z.ZodString;
|
|
144
|
+
}, z.core.$strip>>;
|
|
145
|
+
speakerMarkerLabel: z.ZodString;
|
|
123
146
|
}, z.core.$strip>;
|
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TTSConfigSchema = void 0;
|
|
3
|
+
exports.TTSConfigSchema = exports.TTSVoiceCategorySchema = exports.TTSVoiceTagSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
const constants_1 = require("../../../constants");
|
|
5
6
|
const tts_model_schema_1 = require("./tts-model.schema");
|
|
7
|
+
exports.TTSVoiceTagSchema = zod_1.z.object({
|
|
8
|
+
id: zod_1.z.nativeEnum(constants_1.VOICE_TAG),
|
|
9
|
+
group: zod_1.z.nativeEnum(constants_1.VOICE_TAG_GROUP),
|
|
10
|
+
label: zod_1.z.string(),
|
|
11
|
+
});
|
|
12
|
+
exports.TTSVoiceCategorySchema = zod_1.z.object({
|
|
13
|
+
id: zod_1.z.nativeEnum(constants_1.VOICE_CATEGORY),
|
|
14
|
+
label: zod_1.z.string(),
|
|
15
|
+
});
|
|
6
16
|
exports.TTSConfigSchema = zod_1.z.object({
|
|
7
17
|
models: zod_1.z.array(tts_model_schema_1.TTSModelSchema),
|
|
18
|
+
tags: zod_1.z.array(exports.TTSVoiceTagSchema),
|
|
19
|
+
categories: zod_1.z.array(exports.TTSVoiceCategorySchema),
|
|
20
|
+
speakerMarkerLabel: zod_1.z.string(),
|
|
8
21
|
});
|
|
@@ -7,6 +7,19 @@ export declare const TTSJobParamsSchema: z.ZodObject<{
|
|
|
7
7
|
style: z.ZodOptional<z.ZodNumber>;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
export type TTSJobParams = z.infer<typeof TTSJobParamsSchema>;
|
|
10
|
+
export declare const TTSJobSpeakerSchema: z.ZodObject<{
|
|
11
|
+
speaker: z.ZodNumber;
|
|
12
|
+
voiceId: z.ZodString;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
export type TTSJobSpeaker = z.infer<typeof TTSJobSpeakerSchema>;
|
|
15
|
+
export declare const TTSJobVoiceSchema: z.ZodObject<{
|
|
16
|
+
uuid: z.ZodString;
|
|
17
|
+
title: z.ZodString;
|
|
18
|
+
previewUrl: z.ZodString;
|
|
19
|
+
isDeleted: z.ZodBoolean;
|
|
20
|
+
speaker: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
export type TTSJobVoice = z.infer<typeof TTSJobVoiceSchema>;
|
|
10
23
|
export declare const TTSJobSchema: z.ZodObject<{
|
|
11
24
|
uuid: z.ZodString;
|
|
12
25
|
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
@@ -26,6 +39,18 @@ export declare const TTSJobSchema: z.ZodObject<{
|
|
|
26
39
|
style: z.ZodOptional<z.ZodNumber>;
|
|
27
40
|
}, z.core.$strip>;
|
|
28
41
|
modelId: z.ZodString;
|
|
29
|
-
voiceId: z.ZodString
|
|
42
|
+
voiceId: z.ZodNullable<z.ZodString>;
|
|
43
|
+
isDialog: z.ZodBoolean;
|
|
44
|
+
speakers: z.ZodArray<z.ZodObject<{
|
|
45
|
+
speaker: z.ZodNumber;
|
|
46
|
+
voiceId: z.ZodString;
|
|
47
|
+
}, z.core.$strip>>;
|
|
48
|
+
voices: z.ZodArray<z.ZodObject<{
|
|
49
|
+
uuid: z.ZodString;
|
|
50
|
+
title: z.ZodString;
|
|
51
|
+
previewUrl: z.ZodString;
|
|
52
|
+
isDeleted: z.ZodBoolean;
|
|
53
|
+
speaker: z.ZodNullable<z.ZodNumber>;
|
|
54
|
+
}, z.core.$strip>>;
|
|
30
55
|
}, z.core.$strip>;
|
|
31
56
|
export type TTSJob = z.infer<typeof TTSJobSchema>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TTSJobSchema = exports.TTSJobParamsSchema = void 0;
|
|
3
|
+
exports.TTSJobSchema = exports.TTSJobVoiceSchema = exports.TTSJobSpeakerSchema = exports.TTSJobParamsSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const tool_job_schema_1 = require("../../tool-job.schema");
|
|
6
6
|
const constants_1 = require("../../../constants");
|
|
@@ -10,6 +10,17 @@ exports.TTSJobParamsSchema = zod_1.z.object({
|
|
|
10
10
|
stability: zod_1.z.number().optional(),
|
|
11
11
|
style: zod_1.z.number().optional(),
|
|
12
12
|
});
|
|
13
|
+
exports.TTSJobSpeakerSchema = zod_1.z.object({
|
|
14
|
+
speaker: zod_1.z.number(),
|
|
15
|
+
voiceId: zod_1.z.string(),
|
|
16
|
+
});
|
|
17
|
+
exports.TTSJobVoiceSchema = zod_1.z.object({
|
|
18
|
+
uuid: zod_1.z.string(),
|
|
19
|
+
title: zod_1.z.string(),
|
|
20
|
+
previewUrl: zod_1.z.string(),
|
|
21
|
+
isDeleted: zod_1.z.boolean(),
|
|
22
|
+
speaker: zod_1.z.number().nullable(),
|
|
23
|
+
});
|
|
13
24
|
exports.TTSJobSchema = tool_job_schema_1.ToolJobSchema.extend({
|
|
14
25
|
userInput: zod_1.z.string(),
|
|
15
26
|
title: zod_1.z.string(),
|
|
@@ -18,5 +29,8 @@ exports.TTSJobSchema = tool_job_schema_1.ToolJobSchema.extend({
|
|
|
18
29
|
duration: zod_1.z.string(),
|
|
19
30
|
params: exports.TTSJobParamsSchema,
|
|
20
31
|
modelId: zod_1.z.string(),
|
|
21
|
-
voiceId: zod_1.z.string(),
|
|
32
|
+
voiceId: zod_1.z.string().nullable(),
|
|
33
|
+
isDialog: zod_1.z.boolean(),
|
|
34
|
+
speakers: zod_1.z.array(exports.TTSJobSpeakerSchema),
|
|
35
|
+
voices: zod_1.z.array(exports.TTSJobVoiceSchema),
|
|
22
36
|
});
|
|
@@ -45,6 +45,7 @@ exports.TTSModelSchema = zod_1.z.object({
|
|
|
45
45
|
order: zod_1.z.number(),
|
|
46
46
|
icons: icon_variants_schema_1.IconVariantsSchema,
|
|
47
47
|
maxInputLength: zod_1.z.number(),
|
|
48
|
+
maxSpeakers: zod_1.z.number(),
|
|
48
49
|
params: exports.TTSModelParams,
|
|
49
50
|
voices: zod_1.z.array(exports.TTSVoiceSchema),
|
|
50
51
|
unlockedBy: unlocked_by_subscription_schema_1.UnlockedBySchema.nullable(),
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { VOICE_GENDER } from '../../../constants';
|
|
3
|
+
export declare const VoiceDesignDraftSchema: z.ZodObject<{
|
|
4
|
+
designId: z.ZodString;
|
|
5
|
+
title: z.ZodString;
|
|
6
|
+
gender: z.ZodEnum<typeof VOICE_GENDER>;
|
|
7
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
8
|
+
samples: z.ZodArray<z.ZodObject<{
|
|
9
|
+
sampleId: z.ZodString;
|
|
10
|
+
previewUrl: z.ZodString;
|
|
11
|
+
}, z.core.$strip>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
export type VoiceDesignDraft = z.infer<typeof VoiceDesignDraftSchema>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VoiceDesignDraftSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const constants_1 = require("../../../constants");
|
|
6
|
+
const voice_design_sample_schema_1 = require("./voice-design-sample.schema");
|
|
7
|
+
exports.VoiceDesignDraftSchema = zod_1.z.object({
|
|
8
|
+
designId: zod_1.z.string().uuid(),
|
|
9
|
+
title: zod_1.z.string(),
|
|
10
|
+
gender: zod_1.z.nativeEnum(constants_1.VOICE_GENDER),
|
|
11
|
+
imageUrl: zod_1.z.string().nullable(),
|
|
12
|
+
samples: zod_1.z.array(voice_design_sample_schema_1.VoiceDesignSampleSchema),
|
|
13
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VoiceDesignSampleSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.VoiceDesignSampleSchema = zod_1.z.object({
|
|
6
|
+
sampleId: zod_1.z.string().uuid(),
|
|
7
|
+
previewUrl: zod_1.z.string(),
|
|
8
|
+
});
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { JOB_SCOPE, VOICE_CATEGORY, VOICE_GENDER, VOICE_SOURCE, VOICE_STATUS } from '../../../constants';
|
|
3
|
+
export declare const VoiceSchema: z.ZodObject<{
|
|
4
|
+
uuid: z.ZodString;
|
|
5
|
+
scope: z.ZodEnum<typeof JOB_SCOPE>;
|
|
6
|
+
source: z.ZodObject<{
|
|
7
|
+
id: z.ZodEnum<typeof VOICE_SOURCE>;
|
|
8
|
+
label: z.ZodString;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
title: z.ZodString;
|
|
11
|
+
description: z.ZodString;
|
|
12
|
+
gender: z.ZodNullable<z.ZodObject<{
|
|
13
|
+
id: z.ZodEnum<typeof VOICE_GENDER>;
|
|
14
|
+
label: z.ZodString;
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
trait: z.ZodNullable<z.ZodString>;
|
|
17
|
+
ageRange: z.ZodNullable<z.ZodString>;
|
|
18
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
19
|
+
id: z.ZodEnum<typeof VOICE_CATEGORY>;
|
|
20
|
+
label: z.ZodString;
|
|
21
|
+
}, z.core.$strip>>;
|
|
22
|
+
previewUrl: z.ZodString;
|
|
23
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
24
|
+
status: z.ZodEnum<typeof VOICE_STATUS>;
|
|
25
|
+
error: z.ZodNullable<z.ZodString>;
|
|
26
|
+
order: z.ZodNumber;
|
|
27
|
+
isDeleted: z.ZodBoolean;
|
|
28
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
29
|
+
unregisteredUserId: z.ZodNullable<z.ZodString>;
|
|
30
|
+
createdAt: z.ZodDate;
|
|
31
|
+
updatedAt: z.ZodDate;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
export type Voice = z.infer<typeof VoiceSchema>;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VoiceSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const constants_1 = require("../../../constants");
|
|
6
|
+
exports.VoiceSchema = zod_1.z.object({
|
|
7
|
+
uuid: zod_1.z.string().uuid(),
|
|
8
|
+
scope: zod_1.z.nativeEnum(constants_1.JOB_SCOPE),
|
|
9
|
+
source: zod_1.z.object({
|
|
10
|
+
id: zod_1.z.nativeEnum(constants_1.VOICE_SOURCE),
|
|
11
|
+
label: zod_1.z.string(),
|
|
12
|
+
}),
|
|
13
|
+
title: zod_1.z.string(),
|
|
14
|
+
description: zod_1.z.string(),
|
|
15
|
+
gender: zod_1.z
|
|
16
|
+
.object({
|
|
17
|
+
id: zod_1.z.nativeEnum(constants_1.VOICE_GENDER),
|
|
18
|
+
label: zod_1.z.string(),
|
|
19
|
+
})
|
|
20
|
+
.nullable(),
|
|
21
|
+
trait: zod_1.z.string().nullable(),
|
|
22
|
+
ageRange: zod_1.z.string().nullable(),
|
|
23
|
+
categories: zod_1.z.array(zod_1.z.object({
|
|
24
|
+
id: zod_1.z.nativeEnum(constants_1.VOICE_CATEGORY),
|
|
25
|
+
label: zod_1.z.string(),
|
|
26
|
+
})),
|
|
27
|
+
previewUrl: zod_1.z.string(),
|
|
28
|
+
imageUrl: zod_1.z.string().nullable(),
|
|
29
|
+
status: zod_1.z.nativeEnum(constants_1.VOICE_STATUS),
|
|
30
|
+
error: zod_1.z.string().nullable(),
|
|
31
|
+
order: zod_1.z.number(),
|
|
32
|
+
isDeleted: zod_1.z.boolean(),
|
|
33
|
+
userId: zod_1.z.string().uuid().nullable(),
|
|
34
|
+
unregisteredUserId: zod_1.z.string().uuid().nullable(),
|
|
35
|
+
createdAt: zod_1.z.date(),
|
|
36
|
+
updatedAt: zod_1.z.date(),
|
|
37
|
+
});
|
package/package.json
CHANGED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare namespace GenerateAvatarStudioTalkingAvatarCommand {
|
|
3
|
-
const ParamsSchema: z.ZodObject<{
|
|
4
|
-
clipId: z.ZodString;
|
|
5
|
-
sceneId: z.ZodString;
|
|
6
|
-
}, z.core.$strip>;
|
|
7
|
-
type Params = z.infer<typeof ParamsSchema>;
|
|
8
|
-
const RequestSchema: z.ZodObject<{
|
|
9
|
-
prompt: z.ZodOptional<z.ZodString>;
|
|
10
|
-
durationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
11
|
-
videoMode: z.ZodOptional<z.ZodEnum<typeof import("../../..").AVATAR_STUDIO_VIDEO_MODE>>;
|
|
12
|
-
quality: z.ZodOptional<z.ZodEnum<typeof import("../../..").AVATAR_STUDIO_VIDEO_QUALITY>>;
|
|
13
|
-
sound: z.ZodOptional<z.ZodBoolean>;
|
|
14
|
-
trimStart: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
-
trimEnd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
-
}, z.core.$strict>;
|
|
17
|
-
type Request = z.infer<typeof RequestSchema>;
|
|
18
|
-
const ResponseSchema: z.ZodObject<{
|
|
19
|
-
data: z.ZodObject<{
|
|
20
|
-
uuid: z.ZodString;
|
|
21
|
-
userId: z.ZodNullable<z.ZodString>;
|
|
22
|
-
unregisteredUserId: z.ZodNullable<z.ZodString>;
|
|
23
|
-
clipId: z.ZodNullable<z.ZodString>;
|
|
24
|
-
sceneId: z.ZodNullable<z.ZodString>;
|
|
25
|
-
toolJobId: z.ZodNullable<z.ZodString>;
|
|
26
|
-
type: z.ZodEnum<typeof import("../../..").AVATAR_STUDIO_JOB_TYPE>;
|
|
27
|
-
targetSlot: z.ZodNullable<z.ZodEnum<typeof import("../../..").AVATAR_STUDIO_SLOT>>;
|
|
28
|
-
status: z.ZodEnum<typeof import("../../..").AVATAR_STUDIO_JOB_STATUS>;
|
|
29
|
-
request: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodType<import("../../..").JsonValue, unknown, z.core.$ZodTypeInternals<import("../../..").JsonValue, unknown>>>>;
|
|
30
|
-
resultMediaId: z.ZodNullable<z.ZodString>;
|
|
31
|
-
error: z.ZodNullable<z.ZodString>;
|
|
32
|
-
resultMedia: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
33
|
-
uuid: z.ZodString;
|
|
34
|
-
userId: z.ZodNullable<z.ZodString>;
|
|
35
|
-
unregisteredUserId: z.ZodNullable<z.ZodString>;
|
|
36
|
-
fileId: z.ZodString;
|
|
37
|
-
kind: z.ZodEnum<typeof import("../../..").AVATAR_STUDIO_MEDIA_KIND>;
|
|
38
|
-
title: z.ZodNullable<z.ZodString>;
|
|
39
|
-
toolJobId: z.ZodNullable<z.ZodString>;
|
|
40
|
-
durationSeconds: z.ZodNullable<z.ZodNumber>;
|
|
41
|
-
transcript: z.ZodNullable<z.ZodString>;
|
|
42
|
-
wordTimings: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
43
|
-
word: z.ZodString;
|
|
44
|
-
start: z.ZodNumber;
|
|
45
|
-
end: z.ZodNumber;
|
|
46
|
-
}, z.core.$strip>>>;
|
|
47
|
-
subtitles: z.ZodNullable<z.ZodType<import("../../..").JsonValue, unknown, z.core.$ZodTypeInternals<import("../../..").JsonValue, unknown>>>;
|
|
48
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
49
|
-
file: z.ZodOptional<z.ZodObject<{
|
|
50
|
-
uuid: z.ZodString;
|
|
51
|
-
name: z.ZodString;
|
|
52
|
-
size: z.ZodNumber;
|
|
53
|
-
originalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
-
resolution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
55
|
-
width: z.ZodNumber;
|
|
56
|
-
height: z.ZodNumber;
|
|
57
|
-
}, z.core.$strip>>>;
|
|
58
|
-
mimeType: z.ZodString;
|
|
59
|
-
url: z.ZodString;
|
|
60
|
-
key: z.ZodString;
|
|
61
|
-
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
62
|
-
duration: z.ZodNullable<z.ZodNumber>;
|
|
63
|
-
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
64
|
-
createdAt: z.ZodDate;
|
|
65
|
-
updatedAt: z.ZodDate;
|
|
66
|
-
}, z.core.$strip>>;
|
|
67
|
-
createdAt: z.ZodDate;
|
|
68
|
-
updatedAt: z.ZodDate;
|
|
69
|
-
}, z.core.$strip>>>;
|
|
70
|
-
startedAt: z.ZodNullable<z.ZodDate>;
|
|
71
|
-
completedAt: z.ZodNullable<z.ZodDate>;
|
|
72
|
-
createdAt: z.ZodDate;
|
|
73
|
-
updatedAt: z.ZodDate;
|
|
74
|
-
}, z.core.$strip>;
|
|
75
|
-
}, z.core.$strip>;
|
|
76
|
-
type Response = z.infer<typeof ResponseSchema>;
|
|
77
|
-
}
|
package/build/commands/avatar-studio/generation-job/generate-avatar-studio-talking-avatar.command.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GenerateAvatarStudioTalkingAvatarCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const models_1 = require("../../../models");
|
|
6
|
-
const avatar_studio_common_schema_1 = require("../shared/avatar-studio-common.schema");
|
|
7
|
-
var GenerateAvatarStudioTalkingAvatarCommand;
|
|
8
|
-
(function (GenerateAvatarStudioTalkingAvatarCommand) {
|
|
9
|
-
GenerateAvatarStudioTalkingAvatarCommand.ParamsSchema = avatar_studio_common_schema_1.AvatarStudioSceneIdParamsSchema;
|
|
10
|
-
GenerateAvatarStudioTalkingAvatarCommand.RequestSchema = avatar_studio_common_schema_1.AvatarStudioVideoGenerationRequestSchema;
|
|
11
|
-
GenerateAvatarStudioTalkingAvatarCommand.ResponseSchema = zod_1.z.object({
|
|
12
|
-
data: models_1.AvatarStudioGenerationJobSchema,
|
|
13
|
-
});
|
|
14
|
-
})(GenerateAvatarStudioTalkingAvatarCommand || (exports.GenerateAvatarStudioTalkingAvatarCommand = GenerateAvatarStudioTalkingAvatarCommand = {}));
|
package/build/commands/avatar-studio/scene/apply-avatar-studio-voice-sample-to-all-scenes.command.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ApplyAvatarStudioVoiceSampleToAllScenesCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const models_1 = require("../../../models");
|
|
6
|
-
const avatar_studio_common_schema_1 = require("../shared/avatar-studio-common.schema");
|
|
7
|
-
var ApplyAvatarStudioVoiceSampleToAllScenesCommand;
|
|
8
|
-
(function (ApplyAvatarStudioVoiceSampleToAllScenesCommand) {
|
|
9
|
-
ApplyAvatarStudioVoiceSampleToAllScenesCommand.ParamsSchema = avatar_studio_common_schema_1.AvatarStudioClipIdParamsSchema.merge(avatar_studio_common_schema_1.AvatarStudioMediaIdParamsSchema);
|
|
10
|
-
// Ответ — клип со сценами, а не список сцен: фронт перерисовывает клип целиком
|
|
11
|
-
// и не ходит следом за GET /clips/:clipId.
|
|
12
|
-
ApplyAvatarStudioVoiceSampleToAllScenesCommand.ResponseSchema = zod_1.z.object({
|
|
13
|
-
data: models_1.AvatarStudioClipSchema,
|
|
14
|
-
});
|
|
15
|
-
})(ApplyAvatarStudioVoiceSampleToAllScenesCommand || (exports.ApplyAvatarStudioVoiceSampleToAllScenesCommand = ApplyAvatarStudioVoiceSampleToAllScenesCommand = {}));
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AVATAR_STUDIO_VIDEO_QUALITY = void 0;
|
|
4
|
-
var AVATAR_STUDIO_VIDEO_QUALITY;
|
|
5
|
-
(function (AVATAR_STUDIO_VIDEO_QUALITY) {
|
|
6
|
-
AVATAR_STUDIO_VIDEO_QUALITY["P720"] = "720p";
|
|
7
|
-
AVATAR_STUDIO_VIDEO_QUALITY["P1080"] = "1080p";
|
|
8
|
-
})(AVATAR_STUDIO_VIDEO_QUALITY || (exports.AVATAR_STUDIO_VIDEO_QUALITY = AVATAR_STUDIO_VIDEO_QUALITY = {}));
|