@purpleschool/gptbot 0.14.60-stage2 → 0.14.62-stage2
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 -2
- package/build/api/controllers/http/avatar-studio.js +6 -4
- package/build/api/controllers/http/photo-session.d.ts +0 -1
- package/build/api/controllers/http/photo-session.js +0 -1
- package/build/api/routes.d.ts +6 -5
- package/build/api/routes.js +6 -5
- package/build/commands/avatar-studio/clip/create-avatar-studio-clip.command.d.ts +1 -1
- package/build/commands/avatar-studio/clip/find-avatar-studio-clips.query.d.ts +1 -1
- package/build/commands/avatar-studio/clip/get-avatar-studio-clip.query.d.ts +1 -1
- package/build/commands/avatar-studio/clip/update-avatar-studio-clip.command.d.ts +1 -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/scene/{apply-avatar-studio-voice-sample-to-all-scenes.command.d.ts → apply-avatar-studio-voice-to-all-scenes.command.d.ts} +3 -3
- 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 +1 -1
- 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 +1 -1
- package/build/commands/avatar-studio/scene/set-avatar-studio-scene-slot.command.d.ts +1 -1
- package/build/commands/avatar-studio/scene/update-avatar-studio-scene.command.d.ts +2 -2
- package/build/commands/avatar-studio/scriptwriter/apply-avatar-studio-scriptwriter-message.command.d.ts +1 -1
- package/build/commands/avatar-studio/shared/avatar-studio-common.schema.d.ts +1 -1
- package/build/commands/avatar-studio/shared/get-avatar-studio-config.query.d.ts +5 -6
- package/build/commands/avatar-studio/shared/get-avatar-studio-config.query.js +7 -12
- package/build/commands/avatar-studio/voice/clone-avatar-studio-voice.command.d.ts +33 -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 +16 -56
- 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 +26 -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/photo-session/admin/create-photo-session-style.command.d.ts +4 -4
- package/build/commands/tools/photo-session/admin/update-photo-session-style.command.d.ts +4 -4
- package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.d.ts +3 -2
- package/build/commands/tools/photo-session/find-photo-session-jobs.command.d.ts +5 -4
- package/build/commands/tools/photo-session/find-photo-session-jobs.command.js +3 -3
- package/build/commands/tools/photo-session/get-photo-session-config.command.d.ts +7 -7
- package/build/commands/tools/photo-session/get-photo-session-price.command.d.ts +6 -6
- package/build/commands/tools/photo-session/get-photo-session-price.command.js +6 -6
- package/build/commands/tools/photo-session/index.d.ts +1 -0
- package/build/commands/tools/photo-session/index.js +1 -0
- package/build/commands/tools/photo-session/photo-session.command.d.ts +20 -16
- package/build/commands/tools/photo-session/photo-session.command.js +13 -13
- package/build/commands/tools/photo-session/retry-photo-session-job.command.d.ts +23 -3
- package/build/commands/tools/photo-session/retry-photo-session-job.command.js +12 -13
- package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.d.ts +4 -3
- package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.js +2 -2
- package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.d.ts +3 -2
- package/build/commands/tools/photo-session/update-photo-session-job-title.command.d.ts +3 -2
- package/build/commands/tools/photo-session/update-published-status-photo-session-job.command.d.ts +69 -0
- package/build/commands/tools/photo-session/update-published-status-photo-session-job.command.js +18 -0
- package/build/commands/tools/tts/create-voice-clone.command.d.ts +1 -0
- package/build/commands/tools/tts/find-voice-by-uuid.query.d.ts +1 -0
- package/build/commands/tools/tts/find-voices.query.d.ts +2 -1
- package/build/commands/tools/tts/find-voices.query.js +1 -1
- package/build/commands/tools/tts/select-voice-design.command.d.ts +1 -0
- package/build/commands/tools/tts/update-voice.command.d.ts +1 -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-slot.enum.d.ts +1 -1
- package/build/constants/avatar-studio/enums/avatar-studio-slot.enum.js +1 -1
- 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-tts/enums/voice-category.enum.d.ts +6 -1
- package/build/constants/tool-tts/enums/voice-category.enum.js +5 -0
- package/build/models/avatar-studio/avatar-studio.schema.d.ts +6 -6
- package/build/models/avatar-studio/avatar-studio.schema.js +3 -3
- package/build/models/tools/photo-session/photo-session-config.schema.d.ts +73 -7
- package/build/models/tools/photo-session/photo-session-config.schema.js +6 -1
- package/build/models/tools/photo-session/photo-session-job.schema.d.ts +3 -2
- package/build/models/tools/photo-session/photo-session-job.schema.js +3 -0
- package/build/models/tools/photo-session/photo-session-model.schema.d.ts +46 -3
- package/build/models/tools/photo-session/photo-session-model.schema.js +7 -5
- package/build/models/tools/photo-session/photo-session-style.schema.d.ts +6 -6
- package/build/models/tools/photo-session/photo-session-style.schema.js +4 -4
- package/build/models/tools/tts/voice.schema.d.ts +2 -1
- package/build/models/tools/tts/voice.schema.js +1 -0
- package/package.json +1 -1
- package/build/commands/avatar-studio/scene/apply-avatar-studio-voice-sample-to-all-scenes.command.js +0 -15
|
@@ -8,8 +8,8 @@ exports.PhotoSessionStyleReferenceSchema = zod_1.z.object({
|
|
|
8
8
|
photoUrl: zod_1.z.string(),
|
|
9
9
|
description: zod_1.z.string().nullable().optional(),
|
|
10
10
|
order: zod_1.z.number().int().min(0).max(5),
|
|
11
|
-
createdAt: zod_1.z.date(),
|
|
12
|
-
updatedAt: zod_1.z.date(),
|
|
11
|
+
createdAt: zod_1.z.coerce.date(),
|
|
12
|
+
updatedAt: zod_1.z.coerce.date(),
|
|
13
13
|
});
|
|
14
14
|
exports.PhotoSessionStyleSchema = zod_1.z.object({
|
|
15
15
|
uuid: zod_1.z.string().uuid(),
|
|
@@ -17,6 +17,6 @@ exports.PhotoSessionStyleSchema = zod_1.z.object({
|
|
|
17
17
|
title: zod_1.z.string(),
|
|
18
18
|
description: zod_1.z.string().nullable().optional(),
|
|
19
19
|
references: zod_1.z.array(exports.PhotoSessionStyleReferenceSchema),
|
|
20
|
-
createdAt: zod_1.z.date(),
|
|
21
|
-
updatedAt: zod_1.z.date(),
|
|
20
|
+
createdAt: zod_1.z.coerce.date(),
|
|
21
|
+
updatedAt: zod_1.z.coerce.date(),
|
|
22
22
|
});
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { VOICE_CATEGORY, VOICE_GENDER, VOICE_SOURCE, VOICE_STATUS } from '../../../constants';
|
|
2
|
+
import { JOB_SCOPE, VOICE_CATEGORY, VOICE_GENDER, VOICE_SOURCE, VOICE_STATUS } from '../../../constants';
|
|
3
3
|
export declare const VoiceSchema: z.ZodObject<{
|
|
4
4
|
uuid: z.ZodString;
|
|
5
|
+
scope: z.ZodEnum<typeof JOB_SCOPE>;
|
|
5
6
|
source: z.ZodEnum<typeof VOICE_SOURCE>;
|
|
6
7
|
title: z.ZodString;
|
|
7
8
|
description: z.ZodString;
|
|
@@ -5,6 +5,7 @@ const zod_1 = require("zod");
|
|
|
5
5
|
const constants_1 = require("../../../constants");
|
|
6
6
|
exports.VoiceSchema = zod_1.z.object({
|
|
7
7
|
uuid: zod_1.z.string().uuid(),
|
|
8
|
+
scope: zod_1.z.nativeEnum(constants_1.JOB_SCOPE),
|
|
8
9
|
source: zod_1.z.nativeEnum(constants_1.VOICE_SOURCE),
|
|
9
10
|
title: zod_1.z.string(),
|
|
10
11
|
description: zod_1.z.string(),
|
package/package.json
CHANGED
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 = {}));
|