@purpleschool/gptbot-tools 0.2.63-stage2 → 0.2.64
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/ai-proxy/routes/ai-proxy.routes.d.ts +0 -1
- package/build/ai-proxy/routes/ai-proxy.routes.js +0 -1
- package/build/image-generation/enums/image-generation-model-strategy.enum.d.ts +2 -1
- package/build/image-generation/enums/image-generation-model-strategy.enum.js +2 -0
- package/build/index.d.ts +3 -3
- package/build/index.js +3 -3
- package/build/{photo-sessions/commands/delete-all-photo-sessions-jobs.command.d.ts → sound-generation/commands/delete-all-sound-generation-jobs.command.d.ts} +2 -2
- package/build/sound-generation/commands/delete-all-sound-generation-jobs.command.js +14 -0
- package/build/{photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.d.ts → sound-generation/commands/delete-sound-generation-job-by-uuid.command.d.ts} +2 -2
- package/build/sound-generation/commands/delete-sound-generation-job-by-uuid.command.js +14 -0
- package/build/{tts/commands/improve-tts-text.command.d.ts → sound-generation/commands/get-sound-generation-price.command.d.ts} +8 -6
- package/build/sound-generation/commands/get-sound-generation-price.command.js +17 -0
- package/build/sound-generation/commands/index.d.ts +8 -0
- package/build/sound-generation/commands/index.js +24 -0
- package/build/sound-generation/commands/retry-sound-generation-job.command.d.ts +94 -0
- package/build/sound-generation/commands/retry-sound-generation-job.command.js +20 -0
- package/build/sound-generation/commands/set-reaction-to-sound-generation-job.command.d.ts +87 -0
- package/build/{photo-sessions/commands/set-reaction-to-photo-sessions-job.command.js → sound-generation/commands/set-reaction-to-sound-generation-job.command.js} +8 -8
- package/build/sound-generation/commands/sound-generation.command.d.ts +96 -0
- package/build/sound-generation/commands/sound-generation.command.js +27 -0
- package/build/sound-generation/commands/update-sound-generation-job-favorite.command.d.ts +85 -0
- package/build/sound-generation/commands/update-sound-generation-job-favorite.command.js +16 -0
- package/build/sound-generation/commands/update-sound-generation-job-title.command.d.ts +85 -0
- package/build/sound-generation/commands/update-sound-generation-job-title.command.js +16 -0
- package/build/sound-generation/enums/index.d.ts +1 -0
- package/build/{photo-sessions/routes → sound-generation/enums}/index.js +1 -2
- package/build/sound-generation/enums/sound-generation-strategy.enum.d.ts +3 -0
- package/build/sound-generation/enums/sound-generation-strategy.enum.js +7 -0
- package/build/sound-generation/models/index.d.ts +5 -0
- package/build/{photo-sessions → sound-generation}/models/index.js +5 -5
- package/build/sound-generation/models/sound-generation-config.schema.d.ts +34 -0
- package/build/sound-generation/models/sound-generation-config.schema.js +8 -0
- package/build/sound-generation/models/sound-generation-job.schema.d.ts +39 -0
- package/build/sound-generation/models/sound-generation-job.schema.js +34 -0
- package/build/sound-generation/models/sound-generation-model.schema.d.ts +42 -0
- package/build/sound-generation/models/sound-generation-model.schema.js +28 -0
- package/build/sound-generation/models/sound-generation-params.schema.d.ts +8 -0
- package/build/sound-generation/models/sound-generation-params.schema.js +10 -0
- package/build/sound-generation/models/sound-generation-result.schema.d.ts +7 -0
- package/build/sound-generation/models/sound-generation-result.schema.js +9 -0
- package/build/sound-generation/queries/find-sound-generation-job-by-id.query.d.ts +84 -0
- package/build/sound-generation/queries/find-sound-generation-job-by-id.query.js +15 -0
- package/build/sound-generation/queries/find-sound-generation-jobs.query.d.ts +102 -0
- package/build/sound-generation/queries/find-sound-generation-jobs.query.js +35 -0
- package/build/sound-generation/queries/get-sound-generation-config.query.d.ts +76 -0
- package/build/sound-generation/queries/get-sound-generation-config.query.js +10 -0
- package/build/sound-generation/queries/index.d.ts +3 -0
- package/build/{photo-sessions/commands/admin → sound-generation/queries}/index.js +3 -3
- package/build/sound-generation/routes/index.d.ts +1 -0
- package/build/{photo-sessions/enums → sound-generation/routes}/index.js +1 -3
- package/build/sound-generation/routes/sound-generation.amqp.routes.d.ts +13 -0
- package/build/sound-generation/routes/sound-generation.amqp.routes.js +16 -0
- package/build/tools/enums/tool-content-type.enum.d.ts +2 -2
- package/build/tools/enums/tool-content-type.enum.js +1 -1
- package/build/tools/enums/tool-type.enum.d.ts +2 -2
- package/build/tools/enums/tool-type.enum.js +1 -1
- package/build/tools/events/tool-job-complete.event.d.ts +0 -1
- package/build/tools/events/tool-job-failed.event.d.ts +0 -1
- package/build/tools/models/global-tools-config.schema.d.ts +25 -69
- package/build/tools/models/global-tools-config.schema.js +2 -2
- package/build/tools/models/tool-group.schema.d.ts +1 -0
- package/build/tools/models/tool-group.schema.js +1 -0
- package/build/tools/models/tool-job.schema.d.ts +0 -1
- package/build/tools/models/tool-job.schema.js +0 -1
- package/build/tools/models/tools-with-configs.schema.d.ts +88 -22
- package/build/tools/models/tools-with-configs.schema.js +5 -0
- package/build/tools/queries/find-grouped-tools.query.d.ts +2 -0
- package/build/tools/queries/get-global-tools-config.query.d.ts +46 -134
- package/build/tools/queries/get-tools-with-configs.query.d.ts +88 -22
- package/build/tts/commands/index.d.ts +0 -7
- package/build/tts/commands/index.js +0 -7
- package/build/tts/commands/retry-tts-job.command.d.ts +2 -29
- package/build/tts/commands/retry-tts-job.command.js +0 -2
- package/build/tts/commands/set-reaction-to-tts-job.command.d.ts +2 -29
- package/build/tts/commands/set-reaction-to-tts-job.command.js +0 -1
- package/build/tts/commands/tts.command.d.ts +3 -35
- package/build/tts/commands/tts.command.js +1 -4
- package/build/tts/commands/update-tts-job-favorite.command.d.ts +2 -29
- package/build/tts/commands/update-tts-job-favorite.command.js +0 -2
- package/build/tts/commands/update-tts-job-title.command.d.ts +2 -29
- package/build/tts/commands/update-tts-job-title.command.js +0 -2
- package/build/tts/enums/index.d.ts +0 -7
- package/build/tts/enums/index.js +0 -7
- package/build/tts/models/index.d.ts +0 -7
- package/build/tts/models/index.js +0 -7
- package/build/tts/models/tts-config-with-vendors.schema.d.ts +0 -1
- package/build/tts/models/tts-config.schema.d.ts +0 -11
- package/build/tts/models/tts-config.schema.js +0 -5
- package/build/tts/models/tts-job.schema.d.ts +2 -34
- package/build/tts/models/tts-job.schema.js +2 -22
- package/build/tts/models/tts-model-with-vendor.schema.d.ts +0 -1
- package/build/tts/models/tts-model.schema.d.ts +0 -1
- package/build/tts/models/tts-model.schema.js +0 -1
- package/build/tts/queries/find-tts-job-by-id.query.d.ts +2 -29
- package/build/tts/queries/find-tts-job-by-id.query.js +0 -2
- package/build/tts/queries/find-tts-jobs.query.d.ts +2 -29
- package/build/tts/queries/find-tts-jobs.query.js +0 -1
- package/build/tts/queries/get-tts-config-with-vendors.query.d.ts +0 -2
- package/build/tts/queries/get-tts-config.query.d.ts +0 -22
- package/build/tts/queries/index.d.ts +0 -2
- package/build/tts/queries/index.js +0 -2
- package/build/tts/routes/tts.amqp.routes.d.ts +0 -9
- package/build/tts/routes/tts.amqp.routes.js +0 -9
- package/build/video/enums/video-strategy.enum.d.ts +2 -1
- package/build/video/enums/video-strategy.enum.js +1 -0
- package/package.json +1 -1
- package/build/photo-sessions/commands/admin/create-photo-session-style.command.d.ts +0 -58
- package/build/photo-sessions/commands/admin/create-photo-session-style.command.js +0 -21
- package/build/photo-sessions/commands/admin/delete-photo-session-style.command.d.ts +0 -14
- package/build/photo-sessions/commands/admin/delete-photo-session-style.command.js +0 -12
- package/build/photo-sessions/commands/admin/index.d.ts +0 -3
- package/build/photo-sessions/commands/admin/update-photo-session-style.command.d.ts +0 -54
- package/build/photo-sessions/commands/admin/update-photo-session-style.command.js +0 -18
- package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.js +0 -19
- package/build/photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.js +0 -14
- package/build/photo-sessions/commands/get-photo-sessions-price.command.d.ts +0 -85
- package/build/photo-sessions/commands/get-photo-sessions-price.command.js +0 -29
- package/build/photo-sessions/commands/index.d.ts +0 -10
- package/build/photo-sessions/commands/index.js +0 -26
- package/build/photo-sessions/commands/photo-sessions.command.d.ts +0 -305
- package/build/photo-sessions/commands/photo-sessions.command.js +0 -38
- package/build/photo-sessions/commands/retry-photo-sessions-job.command.d.ts +0 -266
- package/build/photo-sessions/commands/retry-photo-sessions-job.command.js +0 -20
- package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.d.ts +0 -203
- package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.d.ts +0 -201
- package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.js +0 -16
- package/build/photo-sessions/commands/update-photo-sessions-job-title.command.d.ts +0 -239
- package/build/photo-sessions/commands/update-photo-sessions-job-title.command.js +0 -16
- package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.d.ts +0 -206
- package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.js +0 -26
- package/build/photo-sessions/enums/index.d.ts +0 -3
- package/build/photo-sessions/enums/photo-session-group-status.enum.d.ts +0 -7
- package/build/photo-sessions/enums/photo-session-group-status.enum.js +0 -11
- package/build/photo-sessions/enums/photo-session-look-type.enum.d.ts +0 -5
- package/build/photo-sessions/enums/photo-session-look-type.enum.js +0 -9
- package/build/photo-sessions/enums/photo-session-strategy.enum.d.ts +0 -4
- package/build/photo-sessions/enums/photo-session-strategy.enum.js +0 -8
- package/build/photo-sessions/models/index.d.ts +0 -5
- package/build/photo-sessions/models/photo-session-config.schema.d.ts +0 -72
- package/build/photo-sessions/models/photo-session-config.schema.js +0 -16
- package/build/photo-sessions/models/photo-session-group.schema.d.ts +0 -116
- package/build/photo-sessions/models/photo-session-group.schema.js +0 -27
- package/build/photo-sessions/models/photo-session-job.schema.d.ts +0 -169
- package/build/photo-sessions/models/photo-session-job.schema.js +0 -51
- package/build/photo-sessions/models/photo-session-model.schema.d.ts +0 -69
- package/build/photo-sessions/models/photo-session-model.schema.js +0 -42
- package/build/photo-sessions/models/photo-session-style.schema.d.ts +0 -29
- package/build/photo-sessions/models/photo-session-style.schema.js +0 -22
- package/build/photo-sessions/queries/find-photo-session-style-by-id.query.d.ts +0 -46
- package/build/photo-sessions/queries/find-photo-session-style-by-id.query.js +0 -10
- package/build/photo-sessions/queries/find-photo-session-styles.query.d.ts +0 -57
- package/build/photo-sessions/queries/find-photo-session-styles.query.js +0 -19
- package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.d.ts +0 -238
- package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.js +0 -18
- package/build/photo-sessions/queries/find-photo-sessions-jobs.query.d.ts +0 -257
- package/build/photo-sessions/queries/find-photo-sessions-jobs.query.js +0 -33
- package/build/photo-sessions/queries/get-photo-sessions-config.query.d.ts +0 -142
- package/build/photo-sessions/queries/get-photo-sessions-config.query.js +0 -10
- package/build/photo-sessions/queries/index.d.ts +0 -5
- package/build/photo-sessions/queries/index.js +0 -21
- package/build/photo-sessions/routes/index.d.ts +0 -2
- package/build/photo-sessions/routes/photo-sessions.amqp.routes.d.ts +0 -19
- package/build/photo-sessions/routes/photo-sessions.amqp.routes.js +0 -22
- package/build/photo-sessions/routes/photo-sessions.http.routes.d.ts +0 -1
- package/build/photo-sessions/routes/photo-sessions.http.routes.js +0 -4
- package/build/tts/commands/create-voice-clone.command.d.ts +0 -81
- package/build/tts/commands/create-voice-clone.command.js +0 -21
- package/build/tts/commands/create-voice-design.command.d.ts +0 -40
- package/build/tts/commands/create-voice-design.command.js +0 -20
- package/build/tts/commands/delete-voice.command.d.ts +0 -17
- package/build/tts/commands/delete-voice.command.js +0 -14
- package/build/tts/commands/download-tts-job.command.d.ts +0 -25
- package/build/tts/commands/download-tts-job.command.js +0 -19
- package/build/tts/commands/improve-tts-text.command.js +0 -16
- package/build/tts/commands/select-voice-design.command.d.ts +0 -77
- package/build/tts/commands/select-voice-design.command.js +0 -17
- package/build/tts/commands/update-voice.command.d.ts +0 -78
- package/build/tts/commands/update-voice.command.js +0 -18
- package/build/tts/enums/tts-download-format.enum.d.ts +0 -5
- package/build/tts/enums/tts-download-format.enum.js +0 -9
- package/build/tts/enums/voice-category.enum.d.ts +0 -19
- package/build/tts/enums/voice-category.enum.js +0 -23
- package/build/tts/enums/voice-gender.enum.d.ts +0 -4
- package/build/tts/enums/voice-gender.enum.js +0 -8
- package/build/tts/enums/voice-source.enum.d.ts +0 -5
- package/build/tts/enums/voice-source.enum.js +0 -9
- package/build/tts/enums/voice-status.enum.d.ts +0 -5
- package/build/tts/enums/voice-status.enum.js +0 -9
- package/build/tts/enums/voice-tag-group.enum.d.ts +0 -5
- package/build/tts/enums/voice-tag-group.enum.js +0 -9
- package/build/tts/enums/voice-tag.enum.d.ts +0 -20
- package/build/tts/enums/voice-tag.enum.js +0 -24
- package/build/tts/models/voice-category.schema.d.ts +0 -7
- package/build/tts/models/voice-category.schema.js +0 -9
- package/build/tts/models/voice-design-draft.schema.d.ts +0 -13
- package/build/tts/models/voice-design-draft.schema.js +0 -13
- package/build/tts/models/voice-design-sample.schema.d.ts +0 -6
- package/build/tts/models/voice-design-sample.schema.js +0 -8
- package/build/tts/models/voice-gender.schema.d.ts +0 -7
- package/build/tts/models/voice-gender.schema.js +0 -9
- package/build/tts/models/voice-source.schema.d.ts +0 -7
- package/build/tts/models/voice-source.schema.js +0 -9
- package/build/tts/models/voice-tag.schema.d.ts +0 -9
- package/build/tts/models/voice-tag.schema.js +0 -11
- package/build/tts/models/voice.schema.d.ts +0 -34
- package/build/tts/models/voice.schema.js +0 -30
- package/build/tts/queries/find-voice-by-id.query.d.ts +0 -77
- package/build/tts/queries/find-voice-by-id.query.js +0 -17
- package/build/tts/queries/find-voices.query.d.ts +0 -122
- package/build/tts/queries/find-voices.query.js +0 -25
- /package/build/{photo-sessions → sound-generation}/index.d.ts +0 -0
- /package/build/{photo-sessions → sound-generation}/index.js +0 -0
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetPhotoSessionsConfigQuery = void 0;
|
|
4
|
-
const common_1 = require("../../common");
|
|
5
|
-
const models_1 = require("../models");
|
|
6
|
-
var GetPhotoSessionsConfigQuery;
|
|
7
|
-
(function (GetPhotoSessionsConfigQuery) {
|
|
8
|
-
GetPhotoSessionsConfigQuery.RequestSchema = common_1.LocaleRequestSchema;
|
|
9
|
-
GetPhotoSessionsConfigQuery.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.PhotoSessionConfigSchema);
|
|
10
|
-
})(GetPhotoSessionsConfigQuery || (exports.GetPhotoSessionsConfigQuery = GetPhotoSessionsConfigQuery = {}));
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./find-photo-sessions-job-by-id.query"), exports);
|
|
18
|
-
__exportStar(require("./find-photo-sessions-jobs.query"), exports);
|
|
19
|
-
__exportStar(require("./get-photo-sessions-config.query"), exports);
|
|
20
|
-
__exportStar(require("./find-photo-session-styles.query"), exports);
|
|
21
|
-
__exportStar(require("./find-photo-session-style-by-id.query"), exports);
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare const PHOTO_SESSIONS_AMQP_ROUTES: {
|
|
2
|
-
readonly EXECUTE: 'tools.photo-sessions.execute.rpc';
|
|
3
|
-
readonly GET_PRICE: 'tools.photo-sessions.get-price.rpc';
|
|
4
|
-
readonly CONFIG: 'tools.photo-sessions.config.rpc';
|
|
5
|
-
readonly GET_JOB: 'tools.photo-sessions.jobs.get.rpc';
|
|
6
|
-
readonly LIST_JOBS: 'tools.photo-sessions.jobs.list.rpc';
|
|
7
|
-
readonly SET_REACTION: 'tools.photo-sessions.jobs.set-reaction.rpc';
|
|
8
|
-
readonly UPDATE_TITLE: 'tools.photo-sessions.jobs.update-title.rpc';
|
|
9
|
-
readonly UPDATE_FAVORITE: 'tools.photo-sessions.jobs.update-favorite.rpc';
|
|
10
|
-
readonly SOFT_DELETE: 'tools.photo-sessions.jobs.soft-delete.rpc';
|
|
11
|
-
readonly SOFT_DELETE_ALL: 'tools.photo-sessions.jobs.soft-delete-all.rpc';
|
|
12
|
-
readonly RETRY: 'tools.photo-sessions.jobs.retry.rpc';
|
|
13
|
-
readonly UPDATE_JOB: 'tools.photo-sessions.jobs.update.rpc';
|
|
14
|
-
readonly LIST_STYLES: 'tools.photo-sessions.styles.list.rpc';
|
|
15
|
-
readonly GET_STYLE: 'tools.photo-sessions.styles.get.rpc';
|
|
16
|
-
readonly CREATE_STYLE: 'tools.photo-sessions.styles.create.rpc';
|
|
17
|
-
readonly UPDATE_STYLE: 'tools.photo-sessions.styles.update.rpc';
|
|
18
|
-
readonly DELETE_STYLE: 'tools.photo-sessions.styles.delete.rpc';
|
|
19
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PHOTO_SESSIONS_AMQP_ROUTES = void 0;
|
|
4
|
-
exports.PHOTO_SESSIONS_AMQP_ROUTES = {
|
|
5
|
-
EXECUTE: 'tools.photo-sessions.execute.rpc',
|
|
6
|
-
GET_PRICE: 'tools.photo-sessions.get-price.rpc',
|
|
7
|
-
CONFIG: 'tools.photo-sessions.config.rpc',
|
|
8
|
-
GET_JOB: 'tools.photo-sessions.jobs.get.rpc',
|
|
9
|
-
LIST_JOBS: 'tools.photo-sessions.jobs.list.rpc',
|
|
10
|
-
SET_REACTION: 'tools.photo-sessions.jobs.set-reaction.rpc',
|
|
11
|
-
UPDATE_TITLE: 'tools.photo-sessions.jobs.update-title.rpc',
|
|
12
|
-
UPDATE_FAVORITE: 'tools.photo-sessions.jobs.update-favorite.rpc',
|
|
13
|
-
SOFT_DELETE: 'tools.photo-sessions.jobs.soft-delete.rpc',
|
|
14
|
-
SOFT_DELETE_ALL: 'tools.photo-sessions.jobs.soft-delete-all.rpc',
|
|
15
|
-
RETRY: 'tools.photo-sessions.jobs.retry.rpc',
|
|
16
|
-
UPDATE_JOB: 'tools.photo-sessions.jobs.update.rpc',
|
|
17
|
-
LIST_STYLES: 'tools.photo-sessions.styles.list.rpc',
|
|
18
|
-
GET_STYLE: 'tools.photo-sessions.styles.get.rpc',
|
|
19
|
-
CREATE_STYLE: 'tools.photo-sessions.styles.create.rpc',
|
|
20
|
-
UPDATE_STYLE: 'tools.photo-sessions.styles.update.rpc',
|
|
21
|
-
DELETE_STYLE: 'tools.photo-sessions.styles.delete.rpc',
|
|
22
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const PHOTO_SESSIONS_CONTROLLER = "photo-sessions";
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { JOB_SCOPE } from '../../common';
|
|
3
|
-
import { VOICE_GENDER } from '../enums/voice-gender.enum';
|
|
4
|
-
export declare namespace CreateVoiceCloneCommand {
|
|
5
|
-
const RequestSchema: z.ZodObject<{
|
|
6
|
-
userId: z.ZodString;
|
|
7
|
-
locale: z.ZodOptional<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>>;
|
|
8
|
-
scope: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof JOB_SCOPE>>>;
|
|
9
|
-
title: z.ZodString;
|
|
10
|
-
gender: z.ZodOptional<z.ZodEnum<typeof VOICE_GENDER>>;
|
|
11
|
-
fileUrl: z.ZodString;
|
|
12
|
-
fileKey: z.ZodString;
|
|
13
|
-
imageUrl: z.ZodOptional<z.ZodString>;
|
|
14
|
-
}, z.core.$strip>;
|
|
15
|
-
type Request = z.infer<typeof RequestSchema>;
|
|
16
|
-
const ResponseSchema: z.ZodObject<{
|
|
17
|
-
isSuccess: z.ZodBoolean;
|
|
18
|
-
data: z.ZodOptional<z.ZodType<{
|
|
19
|
-
uuid: string;
|
|
20
|
-
scope: JOB_SCOPE;
|
|
21
|
-
source: {
|
|
22
|
-
id: import("..").VOICE_SOURCE;
|
|
23
|
-
label: string;
|
|
24
|
-
};
|
|
25
|
-
title: string;
|
|
26
|
-
description: string;
|
|
27
|
-
gender: {
|
|
28
|
-
id: VOICE_GENDER;
|
|
29
|
-
label: string;
|
|
30
|
-
} | null;
|
|
31
|
-
trait: string | null;
|
|
32
|
-
ageRange: string | null;
|
|
33
|
-
categories: {
|
|
34
|
-
id: import("..").VOICE_CATEGORY;
|
|
35
|
-
label: string;
|
|
36
|
-
}[];
|
|
37
|
-
previewUrl: string;
|
|
38
|
-
imageUrl: string | null;
|
|
39
|
-
status: import("..").VOICE_STATUS;
|
|
40
|
-
error: string | null;
|
|
41
|
-
order: number;
|
|
42
|
-
isDeleted: boolean;
|
|
43
|
-
userId: string | null;
|
|
44
|
-
unregisteredUserId: string | null;
|
|
45
|
-
createdAt: Date;
|
|
46
|
-
updatedAt: Date;
|
|
47
|
-
}, unknown, z.core.$ZodTypeInternals<{
|
|
48
|
-
uuid: string;
|
|
49
|
-
scope: JOB_SCOPE;
|
|
50
|
-
source: {
|
|
51
|
-
id: import("..").VOICE_SOURCE;
|
|
52
|
-
label: string;
|
|
53
|
-
};
|
|
54
|
-
title: string;
|
|
55
|
-
description: string;
|
|
56
|
-
gender: {
|
|
57
|
-
id: VOICE_GENDER;
|
|
58
|
-
label: string;
|
|
59
|
-
} | null;
|
|
60
|
-
trait: string | null;
|
|
61
|
-
ageRange: string | null;
|
|
62
|
-
categories: {
|
|
63
|
-
id: import("..").VOICE_CATEGORY;
|
|
64
|
-
label: string;
|
|
65
|
-
}[];
|
|
66
|
-
previewUrl: string;
|
|
67
|
-
imageUrl: string | null;
|
|
68
|
-
status: import("..").VOICE_STATUS;
|
|
69
|
-
error: string | null;
|
|
70
|
-
order: number;
|
|
71
|
-
isDeleted: boolean;
|
|
72
|
-
userId: string | null;
|
|
73
|
-
unregisteredUserId: string | null;
|
|
74
|
-
createdAt: Date;
|
|
75
|
-
updatedAt: Date;
|
|
76
|
-
}, unknown>>>;
|
|
77
|
-
code: z.ZodOptional<z.ZodString>;
|
|
78
|
-
message: z.ZodOptional<z.ZodString>;
|
|
79
|
-
}, z.core.$strip>;
|
|
80
|
-
type Response = z.infer<typeof ResponseSchema>;
|
|
81
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CreateVoiceCloneCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const common_1 = require("../../common");
|
|
6
|
-
const voice_gender_enum_1 = require("../enums/voice-gender.enum");
|
|
7
|
-
const models_1 = require("../models");
|
|
8
|
-
var CreateVoiceCloneCommand;
|
|
9
|
-
(function (CreateVoiceCloneCommand) {
|
|
10
|
-
CreateVoiceCloneCommand.RequestSchema = zod_1.z.object({
|
|
11
|
-
userId: zod_1.z.string().uuid(),
|
|
12
|
-
locale: common_1.LocaleSchema.optional(),
|
|
13
|
-
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
|
|
14
|
-
title: zod_1.z.string(),
|
|
15
|
-
gender: zod_1.z.nativeEnum(voice_gender_enum_1.VOICE_GENDER).optional(),
|
|
16
|
-
fileUrl: zod_1.z.string().url(),
|
|
17
|
-
fileKey: zod_1.z.string(),
|
|
18
|
-
imageUrl: zod_1.z.string().url().optional(),
|
|
19
|
-
});
|
|
20
|
-
CreateVoiceCloneCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.VoiceSchema);
|
|
21
|
-
})(CreateVoiceCloneCommand || (exports.CreateVoiceCloneCommand = CreateVoiceCloneCommand = {}));
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { JOB_SCOPE } from '../../common';
|
|
3
|
-
import { VOICE_GENDER } from '../enums/voice-gender.enum';
|
|
4
|
-
export declare namespace CreateVoiceDesignCommand {
|
|
5
|
-
const RequestSchema: z.ZodObject<{
|
|
6
|
-
userId: z.ZodString;
|
|
7
|
-
locale: z.ZodOptional<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>>;
|
|
8
|
-
scope: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof JOB_SCOPE>>>;
|
|
9
|
-
title: z.ZodString;
|
|
10
|
-
gender: z.ZodEnum<typeof VOICE_GENDER>;
|
|
11
|
-
instruction: z.ZodString;
|
|
12
|
-
imageUrl: z.ZodOptional<z.ZodString>;
|
|
13
|
-
}, z.core.$strip>;
|
|
14
|
-
type Request = z.infer<typeof RequestSchema>;
|
|
15
|
-
const ResponseSchema: z.ZodObject<{
|
|
16
|
-
isSuccess: z.ZodBoolean;
|
|
17
|
-
data: z.ZodOptional<z.ZodType<{
|
|
18
|
-
designId: string;
|
|
19
|
-
title: string;
|
|
20
|
-
gender: VOICE_GENDER;
|
|
21
|
-
imageUrl: string | null;
|
|
22
|
-
samples: {
|
|
23
|
-
sampleId: string;
|
|
24
|
-
previewUrl: string;
|
|
25
|
-
}[];
|
|
26
|
-
}, unknown, z.core.$ZodTypeInternals<{
|
|
27
|
-
designId: string;
|
|
28
|
-
title: string;
|
|
29
|
-
gender: VOICE_GENDER;
|
|
30
|
-
imageUrl: string | null;
|
|
31
|
-
samples: {
|
|
32
|
-
sampleId: string;
|
|
33
|
-
previewUrl: string;
|
|
34
|
-
}[];
|
|
35
|
-
}, unknown>>>;
|
|
36
|
-
code: z.ZodOptional<z.ZodString>;
|
|
37
|
-
message: z.ZodOptional<z.ZodString>;
|
|
38
|
-
}, z.core.$strip>;
|
|
39
|
-
type Response = z.infer<typeof ResponseSchema>;
|
|
40
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CreateVoiceDesignCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const common_1 = require("../../common");
|
|
6
|
-
const voice_gender_enum_1 = require("../enums/voice-gender.enum");
|
|
7
|
-
const models_1 = require("../models");
|
|
8
|
-
var CreateVoiceDesignCommand;
|
|
9
|
-
(function (CreateVoiceDesignCommand) {
|
|
10
|
-
CreateVoiceDesignCommand.RequestSchema = zod_1.z.object({
|
|
11
|
-
userId: zod_1.z.string().uuid(),
|
|
12
|
-
locale: common_1.LocaleSchema.optional(),
|
|
13
|
-
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
|
|
14
|
-
title: zod_1.z.string(),
|
|
15
|
-
gender: zod_1.z.nativeEnum(voice_gender_enum_1.VOICE_GENDER),
|
|
16
|
-
instruction: zod_1.z.string().min(1),
|
|
17
|
-
imageUrl: zod_1.z.string().url().optional(),
|
|
18
|
-
});
|
|
19
|
-
CreateVoiceDesignCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.VoiceDesignDraftSchema);
|
|
20
|
-
})(CreateVoiceDesignCommand || (exports.CreateVoiceDesignCommand = CreateVoiceDesignCommand = {}));
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { JOB_SCOPE } from '../../common';
|
|
3
|
-
export declare namespace DeleteVoiceCommand {
|
|
4
|
-
const RequestSchema: z.ZodObject<{
|
|
5
|
-
uuid: z.ZodString;
|
|
6
|
-
userId: z.ZodString;
|
|
7
|
-
scope: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof JOB_SCOPE>>>;
|
|
8
|
-
}, z.core.$strip>;
|
|
9
|
-
type Request = z.infer<typeof RequestSchema>;
|
|
10
|
-
const ResponseSchema: z.ZodObject<{
|
|
11
|
-
isSuccess: z.ZodBoolean;
|
|
12
|
-
data: z.ZodOptional<z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>>;
|
|
13
|
-
code: z.ZodOptional<z.ZodString>;
|
|
14
|
-
message: z.ZodOptional<z.ZodString>;
|
|
15
|
-
}, z.core.$strip>;
|
|
16
|
-
type Response = z.infer<typeof ResponseSchema>;
|
|
17
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DeleteVoiceCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const common_1 = require("../../common");
|
|
6
|
-
var DeleteVoiceCommand;
|
|
7
|
-
(function (DeleteVoiceCommand) {
|
|
8
|
-
DeleteVoiceCommand.RequestSchema = zod_1.z.object({
|
|
9
|
-
uuid: zod_1.z.string().uuid(),
|
|
10
|
-
userId: zod_1.z.string().uuid(),
|
|
11
|
-
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
|
|
12
|
-
});
|
|
13
|
-
DeleteVoiceCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(zod_1.z.boolean());
|
|
14
|
-
})(DeleteVoiceCommand || (exports.DeleteVoiceCommand = DeleteVoiceCommand = {}));
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { TTS_DOWNLOAD_FORMAT } from '../enums/tts-download-format.enum';
|
|
3
|
-
export declare namespace DownloadTTSJobCommand {
|
|
4
|
-
const RequestSchema: z.ZodObject<{
|
|
5
|
-
uuid: z.ZodString;
|
|
6
|
-
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
-
unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
-
format: z.ZodEnum<typeof TTS_DOWNLOAD_FORMAT>;
|
|
9
|
-
}, z.core.$strip>;
|
|
10
|
-
type Request = z.infer<typeof RequestSchema>;
|
|
11
|
-
const ResponseDataSchema: z.ZodObject<{
|
|
12
|
-
url: z.ZodString;
|
|
13
|
-
}, z.core.$strip>;
|
|
14
|
-
const ResponseSchema: z.ZodObject<{
|
|
15
|
-
isSuccess: z.ZodBoolean;
|
|
16
|
-
data: z.ZodOptional<z.ZodType<{
|
|
17
|
-
url: string;
|
|
18
|
-
}, unknown, z.core.$ZodTypeInternals<{
|
|
19
|
-
url: string;
|
|
20
|
-
}, unknown>>>;
|
|
21
|
-
code: z.ZodOptional<z.ZodString>;
|
|
22
|
-
message: z.ZodOptional<z.ZodString>;
|
|
23
|
-
}, z.core.$strip>;
|
|
24
|
-
type Response = z.infer<typeof ResponseSchema>;
|
|
25
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DownloadTTSJobCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const common_1 = require("../../common");
|
|
6
|
-
const tts_download_format_enum_1 = require("../enums/tts-download-format.enum");
|
|
7
|
-
var DownloadTTSJobCommand;
|
|
8
|
-
(function (DownloadTTSJobCommand) {
|
|
9
|
-
DownloadTTSJobCommand.RequestSchema = zod_1.z.object({
|
|
10
|
-
uuid: zod_1.z.string().uuid(),
|
|
11
|
-
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
12
|
-
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
13
|
-
format: zod_1.z.nativeEnum(tts_download_format_enum_1.TTS_DOWNLOAD_FORMAT),
|
|
14
|
-
});
|
|
15
|
-
DownloadTTSJobCommand.ResponseDataSchema = zod_1.z.object({
|
|
16
|
-
url: zod_1.z.string(),
|
|
17
|
-
});
|
|
18
|
-
DownloadTTSJobCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(DownloadTTSJobCommand.ResponseDataSchema);
|
|
19
|
-
})(DownloadTTSJobCommand || (exports.DownloadTTSJobCommand = DownloadTTSJobCommand = {}));
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ImproveTTSTextCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const common_1 = require("../../common");
|
|
6
|
-
var ImproveTTSTextCommand;
|
|
7
|
-
(function (ImproveTTSTextCommand) {
|
|
8
|
-
ImproveTTSTextCommand.RequestSchema = zod_1.z.object({
|
|
9
|
-
userInput: zod_1.z.string(),
|
|
10
|
-
locale: common_1.LocaleSchema.optional(),
|
|
11
|
-
});
|
|
12
|
-
ImproveTTSTextCommand.ResponseDataSchema = zod_1.z.object({
|
|
13
|
-
text: zod_1.z.string(),
|
|
14
|
-
});
|
|
15
|
-
ImproveTTSTextCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(ImproveTTSTextCommand.ResponseDataSchema);
|
|
16
|
-
})(ImproveTTSTextCommand || (exports.ImproveTTSTextCommand = ImproveTTSTextCommand = {}));
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { JOB_SCOPE } from '../../common';
|
|
3
|
-
export declare namespace SelectVoiceDesignCommand {
|
|
4
|
-
const RequestSchema: z.ZodObject<{
|
|
5
|
-
designId: z.ZodString;
|
|
6
|
-
sampleId: z.ZodString;
|
|
7
|
-
userId: z.ZodString;
|
|
8
|
-
locale: z.ZodOptional<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>>;
|
|
9
|
-
scope: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof JOB_SCOPE>>>;
|
|
10
|
-
}, z.core.$strip>;
|
|
11
|
-
type Request = z.infer<typeof RequestSchema>;
|
|
12
|
-
const ResponseSchema: z.ZodObject<{
|
|
13
|
-
isSuccess: z.ZodBoolean;
|
|
14
|
-
data: z.ZodOptional<z.ZodType<{
|
|
15
|
-
uuid: string;
|
|
16
|
-
scope: JOB_SCOPE;
|
|
17
|
-
source: {
|
|
18
|
-
id: import("..").VOICE_SOURCE;
|
|
19
|
-
label: string;
|
|
20
|
-
};
|
|
21
|
-
title: string;
|
|
22
|
-
description: string;
|
|
23
|
-
gender: {
|
|
24
|
-
id: import("..").VOICE_GENDER;
|
|
25
|
-
label: string;
|
|
26
|
-
} | null;
|
|
27
|
-
trait: string | null;
|
|
28
|
-
ageRange: string | null;
|
|
29
|
-
categories: {
|
|
30
|
-
id: import("..").VOICE_CATEGORY;
|
|
31
|
-
label: string;
|
|
32
|
-
}[];
|
|
33
|
-
previewUrl: string;
|
|
34
|
-
imageUrl: string | null;
|
|
35
|
-
status: import("..").VOICE_STATUS;
|
|
36
|
-
error: string | null;
|
|
37
|
-
order: number;
|
|
38
|
-
isDeleted: boolean;
|
|
39
|
-
userId: string | null;
|
|
40
|
-
unregisteredUserId: string | null;
|
|
41
|
-
createdAt: Date;
|
|
42
|
-
updatedAt: Date;
|
|
43
|
-
}, unknown, z.core.$ZodTypeInternals<{
|
|
44
|
-
uuid: string;
|
|
45
|
-
scope: JOB_SCOPE;
|
|
46
|
-
source: {
|
|
47
|
-
id: import("..").VOICE_SOURCE;
|
|
48
|
-
label: string;
|
|
49
|
-
};
|
|
50
|
-
title: string;
|
|
51
|
-
description: string;
|
|
52
|
-
gender: {
|
|
53
|
-
id: import("..").VOICE_GENDER;
|
|
54
|
-
label: string;
|
|
55
|
-
} | null;
|
|
56
|
-
trait: string | null;
|
|
57
|
-
ageRange: string | null;
|
|
58
|
-
categories: {
|
|
59
|
-
id: import("..").VOICE_CATEGORY;
|
|
60
|
-
label: string;
|
|
61
|
-
}[];
|
|
62
|
-
previewUrl: string;
|
|
63
|
-
imageUrl: string | null;
|
|
64
|
-
status: import("..").VOICE_STATUS;
|
|
65
|
-
error: string | null;
|
|
66
|
-
order: number;
|
|
67
|
-
isDeleted: boolean;
|
|
68
|
-
userId: string | null;
|
|
69
|
-
unregisteredUserId: string | null;
|
|
70
|
-
createdAt: Date;
|
|
71
|
-
updatedAt: Date;
|
|
72
|
-
}, unknown>>>;
|
|
73
|
-
code: z.ZodOptional<z.ZodString>;
|
|
74
|
-
message: z.ZodOptional<z.ZodString>;
|
|
75
|
-
}, z.core.$strip>;
|
|
76
|
-
type Response = z.infer<typeof ResponseSchema>;
|
|
77
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SelectVoiceDesignCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const common_1 = require("../../common");
|
|
6
|
-
const models_1 = require("../models");
|
|
7
|
-
var SelectVoiceDesignCommand;
|
|
8
|
-
(function (SelectVoiceDesignCommand) {
|
|
9
|
-
SelectVoiceDesignCommand.RequestSchema = zod_1.z.object({
|
|
10
|
-
designId: zod_1.z.string().uuid(),
|
|
11
|
-
sampleId: zod_1.z.string().uuid(),
|
|
12
|
-
userId: zod_1.z.string().uuid(),
|
|
13
|
-
locale: common_1.LocaleSchema.optional(),
|
|
14
|
-
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
|
|
15
|
-
});
|
|
16
|
-
SelectVoiceDesignCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.VoiceSchema);
|
|
17
|
-
})(SelectVoiceDesignCommand || (exports.SelectVoiceDesignCommand = SelectVoiceDesignCommand = {}));
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { JOB_SCOPE } from '../../common';
|
|
3
|
-
export declare namespace UpdateVoiceCommand {
|
|
4
|
-
const RequestSchema: z.ZodObject<{
|
|
5
|
-
uuid: z.ZodString;
|
|
6
|
-
userId: z.ZodString;
|
|
7
|
-
locale: z.ZodOptional<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>>;
|
|
8
|
-
title: z.ZodString;
|
|
9
|
-
scope: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof JOB_SCOPE>>>;
|
|
10
|
-
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
-
}, z.core.$strip>;
|
|
12
|
-
type Request = z.infer<typeof RequestSchema>;
|
|
13
|
-
const ResponseSchema: z.ZodObject<{
|
|
14
|
-
isSuccess: z.ZodBoolean;
|
|
15
|
-
data: z.ZodOptional<z.ZodType<{
|
|
16
|
-
uuid: string;
|
|
17
|
-
scope: JOB_SCOPE;
|
|
18
|
-
source: {
|
|
19
|
-
id: import("..").VOICE_SOURCE;
|
|
20
|
-
label: string;
|
|
21
|
-
};
|
|
22
|
-
title: string;
|
|
23
|
-
description: string;
|
|
24
|
-
gender: {
|
|
25
|
-
id: import("..").VOICE_GENDER;
|
|
26
|
-
label: string;
|
|
27
|
-
} | null;
|
|
28
|
-
trait: string | null;
|
|
29
|
-
ageRange: string | null;
|
|
30
|
-
categories: {
|
|
31
|
-
id: import("..").VOICE_CATEGORY;
|
|
32
|
-
label: string;
|
|
33
|
-
}[];
|
|
34
|
-
previewUrl: string;
|
|
35
|
-
imageUrl: string | null;
|
|
36
|
-
status: import("..").VOICE_STATUS;
|
|
37
|
-
error: string | null;
|
|
38
|
-
order: number;
|
|
39
|
-
isDeleted: boolean;
|
|
40
|
-
userId: string | null;
|
|
41
|
-
unregisteredUserId: string | null;
|
|
42
|
-
createdAt: Date;
|
|
43
|
-
updatedAt: Date;
|
|
44
|
-
}, unknown, z.core.$ZodTypeInternals<{
|
|
45
|
-
uuid: string;
|
|
46
|
-
scope: JOB_SCOPE;
|
|
47
|
-
source: {
|
|
48
|
-
id: import("..").VOICE_SOURCE;
|
|
49
|
-
label: string;
|
|
50
|
-
};
|
|
51
|
-
title: string;
|
|
52
|
-
description: string;
|
|
53
|
-
gender: {
|
|
54
|
-
id: import("..").VOICE_GENDER;
|
|
55
|
-
label: string;
|
|
56
|
-
} | null;
|
|
57
|
-
trait: string | null;
|
|
58
|
-
ageRange: string | null;
|
|
59
|
-
categories: {
|
|
60
|
-
id: import("..").VOICE_CATEGORY;
|
|
61
|
-
label: string;
|
|
62
|
-
}[];
|
|
63
|
-
previewUrl: string;
|
|
64
|
-
imageUrl: string | null;
|
|
65
|
-
status: import("..").VOICE_STATUS;
|
|
66
|
-
error: string | null;
|
|
67
|
-
order: number;
|
|
68
|
-
isDeleted: boolean;
|
|
69
|
-
userId: string | null;
|
|
70
|
-
unregisteredUserId: string | null;
|
|
71
|
-
createdAt: Date;
|
|
72
|
-
updatedAt: Date;
|
|
73
|
-
}, unknown>>>;
|
|
74
|
-
code: z.ZodOptional<z.ZodString>;
|
|
75
|
-
message: z.ZodOptional<z.ZodString>;
|
|
76
|
-
}, z.core.$strip>;
|
|
77
|
-
type Response = z.infer<typeof ResponseSchema>;
|
|
78
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateVoiceCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const common_1 = require("../../common");
|
|
6
|
-
const models_1 = require("../models");
|
|
7
|
-
var UpdateVoiceCommand;
|
|
8
|
-
(function (UpdateVoiceCommand) {
|
|
9
|
-
UpdateVoiceCommand.RequestSchema = zod_1.z.object({
|
|
10
|
-
uuid: zod_1.z.string().uuid(),
|
|
11
|
-
userId: zod_1.z.string().uuid(),
|
|
12
|
-
locale: common_1.LocaleSchema.optional(),
|
|
13
|
-
title: zod_1.z.string().min(1),
|
|
14
|
-
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
|
|
15
|
-
imageUrl: zod_1.z.string().url().nullable().optional(),
|
|
16
|
-
});
|
|
17
|
-
UpdateVoiceCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.VoiceSchema);
|
|
18
|
-
})(UpdateVoiceCommand || (exports.UpdateVoiceCommand = UpdateVoiceCommand = {}));
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TTS_DOWNLOAD_FORMAT = void 0;
|
|
4
|
-
var TTS_DOWNLOAD_FORMAT;
|
|
5
|
-
(function (TTS_DOWNLOAD_FORMAT) {
|
|
6
|
-
TTS_DOWNLOAD_FORMAT["MP3"] = "mp3";
|
|
7
|
-
TTS_DOWNLOAD_FORMAT["WAV"] = "wav";
|
|
8
|
-
TTS_DOWNLOAD_FORMAT["OPUS"] = "opus";
|
|
9
|
-
})(TTS_DOWNLOAD_FORMAT || (exports.TTS_DOWNLOAD_FORMAT = TTS_DOWNLOAD_FORMAT = {}));
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare enum VOICE_CATEGORY {
|
|
2
|
-
GAMES = "GAMES",
|
|
3
|
-
AUDIOBOOKS = "AUDIOBOOKS",
|
|
4
|
-
YOUTUBE = "YOUTUBE",
|
|
5
|
-
PODCASTS = "PODCASTS",
|
|
6
|
-
NEWS = "NEWS",
|
|
7
|
-
EDUCATION = "EDUCATION",
|
|
8
|
-
ADVERTISING = "ADVERTISING",
|
|
9
|
-
IVR = "IVR",
|
|
10
|
-
FAIRY_TALES = "FAIRY_TALES",
|
|
11
|
-
HORROR = "HORROR",
|
|
12
|
-
WHISPER = "WHISPER",
|
|
13
|
-
ROMANCE = "ROMANCE",
|
|
14
|
-
BUSINESS = "BUSINESS",
|
|
15
|
-
WELLNESS = "WELLNESS",
|
|
16
|
-
SPORTS = "SPORTS",
|
|
17
|
-
AMBIENCE = "AMBIENCE",
|
|
18
|
-
TRAVEL = "TRAVEL"
|
|
19
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VOICE_CATEGORY = void 0;
|
|
4
|
-
var VOICE_CATEGORY;
|
|
5
|
-
(function (VOICE_CATEGORY) {
|
|
6
|
-
VOICE_CATEGORY["GAMES"] = "GAMES";
|
|
7
|
-
VOICE_CATEGORY["AUDIOBOOKS"] = "AUDIOBOOKS";
|
|
8
|
-
VOICE_CATEGORY["YOUTUBE"] = "YOUTUBE";
|
|
9
|
-
VOICE_CATEGORY["PODCASTS"] = "PODCASTS";
|
|
10
|
-
VOICE_CATEGORY["NEWS"] = "NEWS";
|
|
11
|
-
VOICE_CATEGORY["EDUCATION"] = "EDUCATION";
|
|
12
|
-
VOICE_CATEGORY["ADVERTISING"] = "ADVERTISING";
|
|
13
|
-
VOICE_CATEGORY["IVR"] = "IVR";
|
|
14
|
-
VOICE_CATEGORY["FAIRY_TALES"] = "FAIRY_TALES";
|
|
15
|
-
VOICE_CATEGORY["HORROR"] = "HORROR";
|
|
16
|
-
VOICE_CATEGORY["WHISPER"] = "WHISPER";
|
|
17
|
-
VOICE_CATEGORY["ROMANCE"] = "ROMANCE";
|
|
18
|
-
VOICE_CATEGORY["BUSINESS"] = "BUSINESS";
|
|
19
|
-
VOICE_CATEGORY["WELLNESS"] = "WELLNESS";
|
|
20
|
-
VOICE_CATEGORY["SPORTS"] = "SPORTS";
|
|
21
|
-
VOICE_CATEGORY["AMBIENCE"] = "AMBIENCE";
|
|
22
|
-
VOICE_CATEGORY["TRAVEL"] = "TRAVEL";
|
|
23
|
-
})(VOICE_CATEGORY || (exports.VOICE_CATEGORY = VOICE_CATEGORY = {}));
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VOICE_GENDER = void 0;
|
|
4
|
-
var VOICE_GENDER;
|
|
5
|
-
(function (VOICE_GENDER) {
|
|
6
|
-
VOICE_GENDER["M"] = "M";
|
|
7
|
-
VOICE_GENDER["F"] = "F";
|
|
8
|
-
})(VOICE_GENDER || (exports.VOICE_GENDER = VOICE_GENDER = {}));
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VOICE_SOURCE = void 0;
|
|
4
|
-
var VOICE_SOURCE;
|
|
5
|
-
(function (VOICE_SOURCE) {
|
|
6
|
-
VOICE_SOURCE["LIBRARY"] = "LIBRARY";
|
|
7
|
-
VOICE_SOURCE["CLONE"] = "CLONE";
|
|
8
|
-
VOICE_SOURCE["DESIGN"] = "DESIGN";
|
|
9
|
-
})(VOICE_SOURCE || (exports.VOICE_SOURCE = VOICE_SOURCE = {}));
|