@purpleschool/gptbot 0.14.53 → 0.14.59-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/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 +44 -0
- package/build/api/routes.js +44 -0
- package/build/commands/ai-studio/canvas-node/find-canvas-node-definitions-with-configs.query.d.ts +11 -0
- package/build/commands/tools/index.d.ts +1 -0
- package/build/commands/tools/index.js +1 -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 +3 -0
- package/build/commands/tools/photo-session/admin/index.js +19 -0
- package/build/commands/tools/photo-session/admin/update-photo-session-style.command.d.ts +45 -0
- package/build/commands/tools/photo-session/admin/update-photo-session-style.command.js +31 -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 +61 -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 +70 -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 +76 -0
- package/build/commands/tools/photo-session/get-photo-session-config.command.js +11 -0
- package/build/commands/tools/photo-session/get-photo-session-price.command.d.ts +32 -0
- package/build/commands/tools/photo-session/get-photo-session-price.command.js +27 -0
- package/build/commands/tools/photo-session/index.d.ts +12 -0
- package/build/commands/tools/photo-session/index.js +28 -0
- package/build/commands/tools/photo-session/photo-session.command.d.ts +87 -0
- package/build/commands/tools/photo-session/photo-session.command.js +33 -0
- package/build/commands/tools/photo-session/retry-photo-session-job.command.d.ts +85 -0
- package/build/commands/tools/photo-session/retry-photo-session-job.command.js +32 -0
- package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.d.ts +67 -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 +65 -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 +65 -0
- package/build/commands/tools/photo-session/update-photo-session-job-title.command.js +17 -0
- package/build/commands/tools/tts/create-voice-clone.command.d.ts +32 -0
- package/build/commands/tools/tts/create-voice-clone.command.js +17 -0
- package/build/commands/tools/tts/create-voice-design.command.d.ts +22 -0
- package/build/commands/tools/tts/create-voice-design.command.js +17 -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 +29 -0
- package/build/commands/tools/tts/find-voice-by-uuid.query.js +14 -0
- package/build/commands/tools/tts/find-voices.query.d.ts +37 -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 +33 -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 +33 -0
- package/build/commands/tools/tts/update-voice.command.js +17 -0
- package/build/constants/index.d.ts +2 -0
- package/build/constants/index.js +2 -0
- package/build/constants/tool/enums/tool-content-type.enum.d.ts +1 -1
- package/build/constants/tool/enums/tool-content-type.enum.js +1 -1
- 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-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/enums/photo-session-strategy.enum.d.ts +4 -0
- package/build/constants/tool-photo-session/enums/photo-session-strategy.enum.js +8 -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 +14 -0
- package/build/constants/tool-tts/enums/voice-category.enum.js +18 -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/canvas-node-definition.schema.d.ts +33 -0
- package/build/models/tools/index.d.ts +1 -0
- package/build/models/tools/index.js +1 -0
- package/build/models/tools/photo-session/index.d.ts +4 -0
- package/build/models/tools/photo-session/index.js +20 -0
- package/build/models/tools/photo-session/photo-session-config.schema.d.ts +77 -0
- package/build/models/tools/photo-session/photo-session-config.schema.js +16 -0
- package/build/models/tools/photo-session/photo-session-job.schema.d.ts +77 -0
- package/build/models/tools/photo-session/photo-session-job.schema.js +45 -0
- package/build/models/tools/photo-session/photo-session-model.schema.d.ts +73 -0
- package/build/models/tools/photo-session/photo-session-model.schema.js +45 -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/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 +12 -0
- package/build/models/tools/tts/voice-design-draft.schema.js +12 -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 +22 -0
- package/build/models/tools/tts/voice.schema.js +24 -0
- package/package.json +1 -1
|
@@ -2,8 +2,13 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare namespace TTSCommand {
|
|
3
3
|
const RequestSchema: z.ZodObject<{
|
|
4
4
|
modelId: z.ZodString;
|
|
5
|
-
voiceId: z.ZodString
|
|
5
|
+
voiceId: z.ZodOptional<z.ZodString>;
|
|
6
6
|
text: z.ZodString;
|
|
7
|
+
isDialog: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
8
|
+
speakers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9
|
+
speaker: z.ZodNumber;
|
|
10
|
+
voiceId: z.ZodString;
|
|
11
|
+
}, z.core.$strip>>>>;
|
|
7
12
|
params: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
8
13
|
speed: z.ZodOptional<z.ZodNumber>;
|
|
9
14
|
similarity: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7,12 +7,18 @@ const TTSReferenceSchema = zod_1.z.object({
|
|
|
7
7
|
audioUrl: zod_1.z.string().url(),
|
|
8
8
|
text: zod_1.z.string(),
|
|
9
9
|
});
|
|
10
|
+
const TTSSpeakerSchema = zod_1.z.object({
|
|
11
|
+
speaker: zod_1.z.number().int().positive(),
|
|
12
|
+
voiceId: zod_1.z.string().uuid(),
|
|
13
|
+
});
|
|
10
14
|
var TTSCommand;
|
|
11
15
|
(function (TTSCommand) {
|
|
12
16
|
TTSCommand.RequestSchema = zod_1.z.object({
|
|
13
17
|
modelId: zod_1.z.string().uuid(),
|
|
14
|
-
voiceId: zod_1.z.string().uuid(),
|
|
18
|
+
voiceId: zod_1.z.string().uuid().optional(),
|
|
15
19
|
text: zod_1.z.string(),
|
|
20
|
+
isDialog: zod_1.z.boolean().optional().default(false),
|
|
21
|
+
speakers: zod_1.z.array(TTSSpeakerSchema).optional().default([]),
|
|
16
22
|
params: zod_1.z
|
|
17
23
|
.object({
|
|
18
24
|
speed: zod_1.z.number().optional(),
|
|
@@ -28,7 +28,19 @@ export declare namespace UpdateTTSJobFavoriteCommand {
|
|
|
28
28
|
style: z.ZodOptional<z.ZodNumber>;
|
|
29
29
|
}, z.core.$strip>;
|
|
30
30
|
modelId: z.ZodString;
|
|
31
|
-
voiceId: z.ZodString
|
|
31
|
+
voiceId: z.ZodNullable<z.ZodString>;
|
|
32
|
+
isDialog: z.ZodBoolean;
|
|
33
|
+
speakers: z.ZodArray<z.ZodObject<{
|
|
34
|
+
speaker: z.ZodNumber;
|
|
35
|
+
voiceId: z.ZodString;
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
|
+
voices: z.ZodArray<z.ZodObject<{
|
|
38
|
+
uuid: z.ZodString;
|
|
39
|
+
title: z.ZodString;
|
|
40
|
+
previewUrl: z.ZodString;
|
|
41
|
+
isDeleted: z.ZodBoolean;
|
|
42
|
+
speaker: z.ZodNullable<z.ZodNumber>;
|
|
43
|
+
}, z.core.$strip>>;
|
|
32
44
|
}, z.core.$strip>;
|
|
33
45
|
}, z.core.$strip>;
|
|
34
46
|
type Response = z.infer<typeof ResponseSchema>;
|
|
@@ -28,7 +28,19 @@ export declare namespace UpdateTTSJobTitleCommand {
|
|
|
28
28
|
style: z.ZodOptional<z.ZodNumber>;
|
|
29
29
|
}, z.core.$strip>;
|
|
30
30
|
modelId: z.ZodString;
|
|
31
|
-
voiceId: z.ZodString
|
|
31
|
+
voiceId: z.ZodNullable<z.ZodString>;
|
|
32
|
+
isDialog: z.ZodBoolean;
|
|
33
|
+
speakers: z.ZodArray<z.ZodObject<{
|
|
34
|
+
speaker: z.ZodNumber;
|
|
35
|
+
voiceId: z.ZodString;
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
|
+
voices: z.ZodArray<z.ZodObject<{
|
|
38
|
+
uuid: z.ZodString;
|
|
39
|
+
title: z.ZodString;
|
|
40
|
+
previewUrl: z.ZodString;
|
|
41
|
+
isDeleted: z.ZodBoolean;
|
|
42
|
+
speaker: z.ZodNullable<z.ZodNumber>;
|
|
43
|
+
}, z.core.$strip>>;
|
|
32
44
|
}, z.core.$strip>;
|
|
33
45
|
}, z.core.$strip>;
|
|
34
46
|
type Response = z.infer<typeof ResponseSchema>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace UpdateVoiceCommand {
|
|
3
|
+
const RequestParamsSchema: z.ZodObject<{
|
|
4
|
+
uuid: z.ZodString;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
type RequestParams = z.infer<typeof RequestParamsSchema>;
|
|
7
|
+
const RequestSchema: z.ZodObject<{
|
|
8
|
+
title: z.ZodString;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
11
|
+
const ResponseSchema: z.ZodObject<{
|
|
12
|
+
data: z.ZodObject<{
|
|
13
|
+
uuid: z.ZodString;
|
|
14
|
+
source: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
|
|
15
|
+
title: z.ZodString;
|
|
16
|
+
description: z.ZodString;
|
|
17
|
+
gender: z.ZodNullable<z.ZodEnum<typeof import("../../..").VOICE_GENDER>>;
|
|
18
|
+
trait: z.ZodNullable<z.ZodString>;
|
|
19
|
+
ageRange: z.ZodNullable<z.ZodString>;
|
|
20
|
+
categories: z.ZodArray<z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>>;
|
|
21
|
+
previewUrl: z.ZodString;
|
|
22
|
+
status: z.ZodEnum<typeof import("../../..").VOICE_STATUS>;
|
|
23
|
+
error: z.ZodNullable<z.ZodString>;
|
|
24
|
+
order: z.ZodNumber;
|
|
25
|
+
isDeleted: z.ZodBoolean;
|
|
26
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
27
|
+
unregisteredUserId: z.ZodNullable<z.ZodString>;
|
|
28
|
+
createdAt: z.ZodDate;
|
|
29
|
+
updatedAt: z.ZodDate;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateVoiceCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const models_1 = require("../../../models");
|
|
6
|
+
var UpdateVoiceCommand;
|
|
7
|
+
(function (UpdateVoiceCommand) {
|
|
8
|
+
UpdateVoiceCommand.RequestParamsSchema = zod_1.z.object({
|
|
9
|
+
uuid: zod_1.z.string().uuid(),
|
|
10
|
+
});
|
|
11
|
+
UpdateVoiceCommand.RequestSchema = zod_1.z.object({
|
|
12
|
+
title: zod_1.z.string().min(1),
|
|
13
|
+
});
|
|
14
|
+
UpdateVoiceCommand.ResponseSchema = zod_1.z.object({
|
|
15
|
+
data: models_1.VoiceSchema,
|
|
16
|
+
});
|
|
17
|
+
})(UpdateVoiceCommand || (exports.UpdateVoiceCommand = UpdateVoiceCommand = {}));
|
|
@@ -41,6 +41,8 @@ export * from './tool-video-editor';
|
|
|
41
41
|
export * from './writer';
|
|
42
42
|
export * from './tool-image-editor';
|
|
43
43
|
export * from './tool-image-generation';
|
|
44
|
+
export * from './tool-photo-session';
|
|
45
|
+
export * from './tool-tts';
|
|
44
46
|
export * from './tool-interior-design';
|
|
45
47
|
export * from './tool-html-page-builder';
|
|
46
48
|
export * from './feedback';
|
package/build/constants/index.js
CHANGED
|
@@ -57,6 +57,8 @@ __exportStar(require("./tool-video-editor"), exports);
|
|
|
57
57
|
__exportStar(require("./writer"), exports);
|
|
58
58
|
__exportStar(require("./tool-image-editor"), exports);
|
|
59
59
|
__exportStar(require("./tool-image-generation"), exports);
|
|
60
|
+
__exportStar(require("./tool-photo-session"), exports);
|
|
61
|
+
__exportStar(require("./tool-tts"), exports);
|
|
60
62
|
__exportStar(require("./tool-interior-design"), exports);
|
|
61
63
|
__exportStar(require("./tool-html-page-builder"), exports);
|
|
62
64
|
__exportStar(require("./feedback"), exports);
|
|
@@ -10,7 +10,7 @@ export declare enum TOOL_CONTENT_TYPE {
|
|
|
10
10
|
VIDEO_EDITOR = "VIDEO_EDITOR",
|
|
11
11
|
MUSIC = "MUSIC",
|
|
12
12
|
INTERIOR_DESIGN = "INTERIOR_DESIGN",
|
|
13
|
-
|
|
13
|
+
TEXT = "TEXT",
|
|
14
14
|
MARKETPLACE_CARD_GENERATION = "MARKETPLACE_CARD",
|
|
15
15
|
SOLVING_EDU_TASK = "SOLVING_EDU_TASK",
|
|
16
16
|
SPELL_CORRECTOR = "SPELL_CORRECTOR",
|
|
@@ -14,7 +14,7 @@ var TOOL_CONTENT_TYPE;
|
|
|
14
14
|
TOOL_CONTENT_TYPE["VIDEO_EDITOR"] = "VIDEO_EDITOR";
|
|
15
15
|
TOOL_CONTENT_TYPE["MUSIC"] = "MUSIC";
|
|
16
16
|
TOOL_CONTENT_TYPE["INTERIOR_DESIGN"] = "INTERIOR_DESIGN";
|
|
17
|
-
TOOL_CONTENT_TYPE["
|
|
17
|
+
TOOL_CONTENT_TYPE["TEXT"] = "TEXT";
|
|
18
18
|
TOOL_CONTENT_TYPE["MARKETPLACE_CARD_GENERATION"] = "MARKETPLACE_CARD";
|
|
19
19
|
TOOL_CONTENT_TYPE["SOLVING_EDU_TASK"] = "SOLVING_EDU_TASK";
|
|
20
20
|
TOOL_CONTENT_TYPE["SPELL_CORRECTOR"] = "SPELL_CORRECTOR";
|
|
@@ -0,0 +1,19 @@
|
|
|
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("./photo-session-model-type.enum"), exports);
|
|
18
|
+
__exportStar(require("./photo-session-strategy.enum"), exports);
|
|
19
|
+
__exportStar(require("./photo-session-look-type.enum"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PHOTO_SESSION_LOOK_TYPE = void 0;
|
|
4
|
+
var PHOTO_SESSION_LOOK_TYPE;
|
|
5
|
+
(function (PHOTO_SESSION_LOOK_TYPE) {
|
|
6
|
+
PHOTO_SESSION_LOOK_TYPE["CLOTHING"] = "clothing";
|
|
7
|
+
PHOTO_SESSION_LOOK_TYPE["HAIRSTYLE"] = "hairstyle";
|
|
8
|
+
PHOTO_SESSION_LOOK_TYPE["ACCESSORIES"] = "accessories";
|
|
9
|
+
})(PHOTO_SESSION_LOOK_TYPE || (exports.PHOTO_SESSION_LOOK_TYPE = PHOTO_SESSION_LOOK_TYPE = {}));
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PHOTO_SESSION_MODEL_TYPE = void 0;
|
|
4
|
+
var PHOTO_SESSION_MODEL_TYPE;
|
|
5
|
+
(function (PHOTO_SESSION_MODEL_TYPE) {
|
|
6
|
+
PHOTO_SESSION_MODEL_TYPE["DEFAULT"] = "default";
|
|
7
|
+
})(PHOTO_SESSION_MODEL_TYPE || (exports.PHOTO_SESSION_MODEL_TYPE = PHOTO_SESSION_MODEL_TYPE = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PHOTO_SESSION_STRATEGY = void 0;
|
|
4
|
+
var PHOTO_SESSION_STRATEGY;
|
|
5
|
+
(function (PHOTO_SESSION_STRATEGY) {
|
|
6
|
+
PHOTO_SESSION_STRATEGY["NANO_BANANA_PRO_CALLBACK"] = "NANO_BANANA_PRO_CALLBACK";
|
|
7
|
+
PHOTO_SESSION_STRATEGY["OPENAI_IMAGE_1_GENERATION"] = "OPENAI_IMAGE_1_GENERATION";
|
|
8
|
+
})(PHOTO_SESSION_STRATEGY || (exports.PHOTO_SESSION_STRATEGY = PHOTO_SESSION_STRATEGY = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './enums';
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./enums"), exports);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './tts-download-format.enum';
|
|
2
|
+
export * from './voice-category.enum';
|
|
3
|
+
export * from './voice-gender.enum';
|
|
4
|
+
export * from './voice-source.enum';
|
|
5
|
+
export * from './voice-status.enum';
|
|
6
|
+
export * from './voice-tag.enum';
|
|
7
|
+
export * from './voice-tag-group.enum';
|
|
@@ -0,0 +1,23 @@
|
|
|
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("./tts-download-format.enum"), exports);
|
|
18
|
+
__exportStar(require("./voice-category.enum"), exports);
|
|
19
|
+
__exportStar(require("./voice-gender.enum"), exports);
|
|
20
|
+
__exportStar(require("./voice-source.enum"), exports);
|
|
21
|
+
__exportStar(require("./voice-status.enum"), exports);
|
|
22
|
+
__exportStar(require("./voice-tag.enum"), exports);
|
|
23
|
+
__exportStar(require("./voice-tag-group.enum"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
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 = {}));
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
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 || (exports.VOICE_CATEGORY = VOICE_CATEGORY = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
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 = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
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 = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VOICE_STATUS = void 0;
|
|
4
|
+
var VOICE_STATUS;
|
|
5
|
+
(function (VOICE_STATUS) {
|
|
6
|
+
VOICE_STATUS["PENDING"] = "PENDING";
|
|
7
|
+
VOICE_STATUS["READY"] = "READY";
|
|
8
|
+
VOICE_STATUS["FAILED"] = "FAILED";
|
|
9
|
+
})(VOICE_STATUS || (exports.VOICE_STATUS = VOICE_STATUS = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VOICE_TAG_GROUP = void 0;
|
|
4
|
+
var VOICE_TAG_GROUP;
|
|
5
|
+
(function (VOICE_TAG_GROUP) {
|
|
6
|
+
VOICE_TAG_GROUP["EMOTION"] = "EMOTION";
|
|
7
|
+
VOICE_TAG_GROUP["DELIVERY"] = "DELIVERY";
|
|
8
|
+
VOICE_TAG_GROUP["SOUND"] = "SOUND";
|
|
9
|
+
})(VOICE_TAG_GROUP || (exports.VOICE_TAG_GROUP = VOICE_TAG_GROUP = {}));
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare enum VOICE_TAG {
|
|
2
|
+
JOYFUL = "JOYFUL",
|
|
3
|
+
SAD = "SAD",
|
|
4
|
+
ANGRY = "ANGRY",
|
|
5
|
+
SURPRISED = "SURPRISED",
|
|
6
|
+
TENDER = "TENDER",
|
|
7
|
+
IRONIC = "IRONIC",
|
|
8
|
+
CONVERSATIONAL = "CONVERSATIONAL",
|
|
9
|
+
PROFESSIONAL = "PROFESSIONAL",
|
|
10
|
+
WHISPER = "WHISPER",
|
|
11
|
+
LOUDER = "LOUDER",
|
|
12
|
+
QUIETER = "QUIETER",
|
|
13
|
+
FASTER = "FASTER",
|
|
14
|
+
PAUSE = "PAUSE",
|
|
15
|
+
SHORT_PAUSE = "SHORT_PAUSE",
|
|
16
|
+
LAUGH = "LAUGH",
|
|
17
|
+
SIGH = "SIGH",
|
|
18
|
+
COUGH = "COUGH",
|
|
19
|
+
BREATH = "BREATH"
|
|
20
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VOICE_TAG = void 0;
|
|
4
|
+
var VOICE_TAG;
|
|
5
|
+
(function (VOICE_TAG) {
|
|
6
|
+
VOICE_TAG["JOYFUL"] = "JOYFUL";
|
|
7
|
+
VOICE_TAG["SAD"] = "SAD";
|
|
8
|
+
VOICE_TAG["ANGRY"] = "ANGRY";
|
|
9
|
+
VOICE_TAG["SURPRISED"] = "SURPRISED";
|
|
10
|
+
VOICE_TAG["TENDER"] = "TENDER";
|
|
11
|
+
VOICE_TAG["IRONIC"] = "IRONIC";
|
|
12
|
+
VOICE_TAG["CONVERSATIONAL"] = "CONVERSATIONAL";
|
|
13
|
+
VOICE_TAG["PROFESSIONAL"] = "PROFESSIONAL";
|
|
14
|
+
VOICE_TAG["WHISPER"] = "WHISPER";
|
|
15
|
+
VOICE_TAG["LOUDER"] = "LOUDER";
|
|
16
|
+
VOICE_TAG["QUIETER"] = "QUIETER";
|
|
17
|
+
VOICE_TAG["FASTER"] = "FASTER";
|
|
18
|
+
VOICE_TAG["PAUSE"] = "PAUSE";
|
|
19
|
+
VOICE_TAG["SHORT_PAUSE"] = "SHORT_PAUSE";
|
|
20
|
+
VOICE_TAG["LAUGH"] = "LAUGH";
|
|
21
|
+
VOICE_TAG["SIGH"] = "SIGH";
|
|
22
|
+
VOICE_TAG["COUGH"] = "COUGH";
|
|
23
|
+
VOICE_TAG["BREATH"] = "BREATH";
|
|
24
|
+
})(VOICE_TAG || (exports.VOICE_TAG = VOICE_TAG = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './enums';
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./enums"), exports);
|
package/build/helpers/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * from './video-editor';
|
|
|
8
8
|
export * from './writer';
|
|
9
9
|
export * from './image-editor';
|
|
10
10
|
export * from './image-generation';
|
|
11
|
+
export * from './photo-session';
|
|
11
12
|
export * from './music';
|
|
12
13
|
export * from './interior-design';
|
|
13
14
|
export * from './query-boolean.schema';
|
package/build/helpers/index.js
CHANGED
|
@@ -24,6 +24,7 @@ __exportStar(require("./video-editor"), exports);
|
|
|
24
24
|
__exportStar(require("./writer"), exports);
|
|
25
25
|
__exportStar(require("./image-editor"), exports);
|
|
26
26
|
__exportStar(require("./image-generation"), exports);
|
|
27
|
+
__exportStar(require("./photo-session"), exports);
|
|
27
28
|
__exportStar(require("./music"), exports);
|
|
28
29
|
__exportStar(require("./interior-design"), exports);
|
|
29
30
|
__exportStar(require("./query-boolean.schema"), exports);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PhotoSessionModelPricingRules } from '../../models';
|
|
2
|
+
export declare function calculatePhotoSessionPrice({ basePrice, userHasActiveSubscriptionOrProduct, rules, }: {
|
|
3
|
+
basePrice: number;
|
|
4
|
+
userHasActiveSubscriptionOrProduct: boolean;
|
|
5
|
+
rules: PhotoSessionModelPricingRules;
|
|
6
|
+
}): number;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.calculatePhotoSessionPrice = calculatePhotoSessionPrice;
|
|
4
|
+
function calculatePhotoSessionPrice({ basePrice, userHasActiveSubscriptionOrProduct, rules, }) {
|
|
5
|
+
let price = basePrice;
|
|
6
|
+
for (const rule of rules !== null && rules !== void 0 ? rules : []) {
|
|
7
|
+
const condition = rule.condition;
|
|
8
|
+
if (condition.withoutSub && userHasActiveSubscriptionOrProduct === false) {
|
|
9
|
+
price += rule.value;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
return price;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './calculate-photo-session-price.helper';
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./calculate-photo-session-price.helper"), exports);
|
|
@@ -343,6 +343,7 @@ export declare const CanvasNodeDefinitionToolConfigSchema: z.ZodDiscriminatedUni
|
|
|
343
343
|
}, z.core.$strip>;
|
|
344
344
|
}, z.core.$strip>;
|
|
345
345
|
maxInputLength: z.ZodNumber;
|
|
346
|
+
maxSpeakers: z.ZodNumber;
|
|
346
347
|
params: z.ZodObject<{
|
|
347
348
|
speed: z.ZodOptional<z.ZodObject<{
|
|
348
349
|
title: z.ZodString;
|
|
@@ -446,6 +447,16 @@ export declare const CanvasNodeDefinitionToolConfigSchema: z.ZodDiscriminatedUni
|
|
|
446
447
|
canUse: z.ZodBoolean;
|
|
447
448
|
status: z.ZodString;
|
|
448
449
|
}, z.core.$strip>>;
|
|
450
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
451
|
+
id: z.ZodEnum<typeof import("..").VOICE_TAG>;
|
|
452
|
+
group: z.ZodEnum<typeof import("..").VOICE_TAG_GROUP>;
|
|
453
|
+
label: z.ZodString;
|
|
454
|
+
}, z.core.$strip>>;
|
|
455
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
456
|
+
id: z.ZodEnum<typeof import("..").VOICE_CATEGORY>;
|
|
457
|
+
label: z.ZodString;
|
|
458
|
+
}, z.core.$strip>>;
|
|
459
|
+
speakerMarkerLabel: z.ZodString;
|
|
449
460
|
}, z.core.$strip>;
|
|
450
461
|
}, z.core.$strip>, z.ZodObject<{
|
|
451
462
|
nodeType: z.ZodLiteral<CANVAS_NODE_TYPE.sttGen>;
|
|
@@ -1070,6 +1081,7 @@ export declare const CanvasNodeDefinitionWithConfigSchema: z.ZodObject<{
|
|
|
1070
1081
|
}, z.core.$strip>;
|
|
1071
1082
|
}, z.core.$strip>;
|
|
1072
1083
|
maxInputLength: z.ZodNumber;
|
|
1084
|
+
maxSpeakers: z.ZodNumber;
|
|
1073
1085
|
params: z.ZodObject<{
|
|
1074
1086
|
speed: z.ZodOptional<z.ZodObject<{
|
|
1075
1087
|
title: z.ZodString;
|
|
@@ -1173,6 +1185,16 @@ export declare const CanvasNodeDefinitionWithConfigSchema: z.ZodObject<{
|
|
|
1173
1185
|
canUse: z.ZodBoolean;
|
|
1174
1186
|
status: z.ZodString;
|
|
1175
1187
|
}, z.core.$strip>>;
|
|
1188
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
1189
|
+
id: z.ZodEnum<typeof import("..").VOICE_TAG>;
|
|
1190
|
+
group: z.ZodEnum<typeof import("..").VOICE_TAG_GROUP>;
|
|
1191
|
+
label: z.ZodString;
|
|
1192
|
+
}, z.core.$strip>>;
|
|
1193
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
1194
|
+
id: z.ZodEnum<typeof import("..").VOICE_CATEGORY>;
|
|
1195
|
+
label: z.ZodString;
|
|
1196
|
+
}, z.core.$strip>>;
|
|
1197
|
+
speakerMarkerLabel: z.ZodString;
|
|
1176
1198
|
}, z.core.$strip>;
|
|
1177
1199
|
}, z.core.$strip>, z.ZodObject<{
|
|
1178
1200
|
nodeType: z.ZodLiteral<CANVAS_NODE_TYPE.sttGen>;
|
|
@@ -1755,6 +1777,7 @@ export declare const CanvasNodeDefinitionsWithConfigsSchema: z.ZodRecord<z.ZodEn
|
|
|
1755
1777
|
}, z.core.$strip>;
|
|
1756
1778
|
}, z.core.$strip>;
|
|
1757
1779
|
maxInputLength: z.ZodNumber;
|
|
1780
|
+
maxSpeakers: z.ZodNumber;
|
|
1758
1781
|
params: z.ZodObject<{
|
|
1759
1782
|
speed: z.ZodOptional<z.ZodObject<{
|
|
1760
1783
|
title: z.ZodString;
|
|
@@ -1858,6 +1881,16 @@ export declare const CanvasNodeDefinitionsWithConfigsSchema: z.ZodRecord<z.ZodEn
|
|
|
1858
1881
|
canUse: z.ZodBoolean;
|
|
1859
1882
|
status: z.ZodString;
|
|
1860
1883
|
}, z.core.$strip>>;
|
|
1884
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
1885
|
+
id: z.ZodEnum<typeof import("..").VOICE_TAG>;
|
|
1886
|
+
group: z.ZodEnum<typeof import("..").VOICE_TAG_GROUP>;
|
|
1887
|
+
label: z.ZodString;
|
|
1888
|
+
}, z.core.$strip>>;
|
|
1889
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
1890
|
+
id: z.ZodEnum<typeof import("..").VOICE_CATEGORY>;
|
|
1891
|
+
label: z.ZodString;
|
|
1892
|
+
}, z.core.$strip>>;
|
|
1893
|
+
speakerMarkerLabel: z.ZodString;
|
|
1861
1894
|
}, z.core.$strip>;
|
|
1862
1895
|
}, z.core.$strip>, z.ZodObject<{
|
|
1863
1896
|
nodeType: z.ZodLiteral<CANVAS_NODE_TYPE.sttGen>;
|