@purpleschool/gptbot-tools 0.2.56 → 0.2.57
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 +1 -0
- package/build/ai-proxy/routes/ai-proxy.routes.js +1 -0
- package/build/index.d.ts +3 -0
- package/build/index.js +3 -0
- package/build/photo-sessions/commands/admin/create-photo-session-style.command.d.ts +58 -0
- package/build/photo-sessions/commands/admin/create-photo-session-style.command.js +21 -0
- package/build/photo-sessions/commands/admin/delete-photo-session-style.command.d.ts +14 -0
- package/build/photo-sessions/commands/admin/delete-photo-session-style.command.js +12 -0
- package/build/photo-sessions/commands/admin/index.d.ts +3 -0
- package/build/photo-sessions/commands/admin/index.js +19 -0
- package/build/photo-sessions/commands/admin/update-photo-session-style.command.d.ts +55 -0
- package/build/photo-sessions/commands/admin/update-photo-session-style.command.js +28 -0
- package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.d.ts +17 -0
- package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.js +15 -0
- package/build/photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.d.ts +16 -0
- package/build/photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.js +14 -0
- package/build/photo-sessions/commands/get-photo-sessions-price.command.d.ts +46 -0
- package/build/photo-sessions/commands/get-photo-sessions-price.command.js +30 -0
- package/build/photo-sessions/commands/index.d.ts +10 -0
- package/build/photo-sessions/commands/index.js +26 -0
- package/build/photo-sessions/commands/photo-sessions.command.d.ts +147 -0
- package/build/photo-sessions/commands/photo-sessions.command.js +41 -0
- package/build/photo-sessions/commands/retry-photo-sessions-job.command.d.ts +142 -0
- package/build/photo-sessions/commands/retry-photo-sessions-job.command.js +23 -0
- package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.d.ts +115 -0
- package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.js +27 -0
- package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.d.ts +113 -0
- package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.js +16 -0
- package/build/photo-sessions/commands/update-photo-sessions-job-title.command.d.ts +113 -0
- package/build/photo-sessions/commands/update-photo-sessions-job-title.command.js +16 -0
- package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.d.ts +118 -0
- package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.js +26 -0
- package/build/photo-sessions/enums/index.d.ts +2 -0
- package/build/photo-sessions/enums/index.js +18 -0
- package/build/photo-sessions/enums/photo-session-look-type.enum.d.ts +5 -0
- package/build/photo-sessions/enums/photo-session-look-type.enum.js +9 -0
- package/build/photo-sessions/enums/photo-session-strategy.enum.d.ts +4 -0
- package/build/photo-sessions/enums/photo-session-strategy.enum.js +8 -0
- package/build/photo-sessions/index.d.ts +5 -0
- package/build/photo-sessions/index.js +21 -0
- package/build/photo-sessions/models/index.d.ts +4 -0
- package/build/photo-sessions/models/index.js +20 -0
- package/build/photo-sessions/models/photo-session-config.schema.d.ts +72 -0
- package/build/photo-sessions/models/photo-session-config.schema.js +16 -0
- package/build/photo-sessions/models/photo-session-job.schema.d.ts +78 -0
- package/build/photo-sessions/models/photo-session-job.schema.js +46 -0
- package/build/photo-sessions/models/photo-session-model.schema.d.ts +69 -0
- package/build/photo-sessions/models/photo-session-model.schema.js +42 -0
- package/build/photo-sessions/models/photo-session-style.schema.d.ts +29 -0
- package/build/photo-sessions/models/photo-session-style.schema.js +22 -0
- package/build/photo-sessions/queries/find-photo-session-style-by-id.query.d.ts +46 -0
- package/build/photo-sessions/queries/find-photo-session-style-by-id.query.js +10 -0
- package/build/photo-sessions/queries/find-photo-session-styles.query.d.ts +57 -0
- package/build/photo-sessions/queries/find-photo-session-styles.query.js +19 -0
- package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.d.ts +110 -0
- package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.js +10 -0
- package/build/photo-sessions/queries/find-photo-sessions-jobs.query.d.ts +130 -0
- package/build/photo-sessions/queries/find-photo-sessions-jobs.query.js +28 -0
- package/build/photo-sessions/queries/get-photo-sessions-config.query.d.ts +142 -0
- package/build/photo-sessions/queries/get-photo-sessions-config.query.js +10 -0
- package/build/photo-sessions/queries/index.d.ts +5 -0
- package/build/photo-sessions/queries/index.js +21 -0
- package/build/photo-sessions/routes/index.d.ts +2 -0
- package/build/photo-sessions/routes/index.js +18 -0
- package/build/photo-sessions/routes/photo-sessions.amqp.routes.d.ts +19 -0
- package/build/photo-sessions/routes/photo-sessions.amqp.routes.js +22 -0
- package/build/photo-sessions/routes/photo-sessions.http.routes.d.ts +1 -0
- package/build/photo-sessions/routes/photo-sessions.http.routes.js +4 -0
- package/build/tools/enums/tool-content-type.enum.d.ts +1 -0
- package/build/tools/enums/tool-content-type.enum.js +1 -0
- package/build/tools/enums/tool-type.enum.d.ts +1 -0
- package/build/tools/enums/tool-type.enum.js +1 -0
- package/build/tools/models/global-tools-config.schema.d.ts +76 -0
- package/build/tools/models/global-tools-config.schema.js +2 -0
- package/build/tools/models/tools-with-configs.schema.d.ts +22 -0
- package/build/tools/queries/get-global-tools-config.query.d.ts +152 -0
- package/build/tools/queries/get-tools-with-configs.query.d.ts +22 -0
- package/build/tts/commands/create-voice-clone.command.d.ts +56 -0
- package/build/tts/commands/create-voice-clone.command.js +19 -0
- package/build/tts/commands/create-voice-design.command.d.ts +35 -0
- package/build/tts/commands/create-voice-design.command.js +18 -0
- package/build/tts/commands/delete-voice.command.d.ts +15 -0
- package/build/tts/commands/delete-voice.command.js +13 -0
- package/build/tts/commands/download-tts-job.command.d.ts +25 -0
- package/build/tts/commands/download-tts-job.command.js +19 -0
- package/build/tts/commands/improve-tts-text.command.d.ts +22 -0
- package/build/tts/commands/improve-tts-text.command.js +16 -0
- package/build/tts/commands/index.d.ts +7 -0
- package/build/tts/commands/index.js +7 -0
- package/build/tts/commands/retry-tts-job.command.d.ts +29 -2
- package/build/tts/commands/retry-tts-job.command.js +2 -0
- package/build/tts/commands/select-voice-design.command.d.ts +53 -0
- package/build/tts/commands/select-voice-design.command.js +16 -0
- package/build/tts/commands/set-reaction-to-tts-job.command.d.ts +29 -2
- package/build/tts/commands/set-reaction-to-tts-job.command.js +1 -0
- package/build/tts/commands/tts.command.d.ts +35 -3
- package/build/tts/commands/tts.command.js +4 -1
- package/build/tts/commands/update-tts-job-favorite.command.d.ts +29 -2
- package/build/tts/commands/update-tts-job-favorite.command.js +2 -0
- package/build/tts/commands/update-tts-job-title.command.d.ts +29 -2
- package/build/tts/commands/update-tts-job-title.command.js +2 -0
- package/build/tts/commands/update-voice.command.d.ts +53 -0
- package/build/tts/commands/update-voice.command.js +16 -0
- package/build/tts/enums/index.d.ts +7 -0
- package/build/tts/enums/index.js +7 -0
- package/build/tts/enums/tts-download-format.enum.d.ts +5 -0
- package/build/tts/enums/tts-download-format.enum.js +9 -0
- package/build/tts/enums/voice-category.enum.d.ts +14 -0
- package/build/tts/enums/voice-category.enum.js +18 -0
- package/build/tts/enums/voice-gender.enum.d.ts +4 -0
- package/build/tts/enums/voice-gender.enum.js +8 -0
- package/build/tts/enums/voice-source.enum.d.ts +5 -0
- package/build/tts/enums/voice-source.enum.js +9 -0
- package/build/tts/enums/voice-status.enum.d.ts +5 -0
- package/build/tts/enums/voice-status.enum.js +9 -0
- package/build/tts/enums/voice-tag-group.enum.d.ts +5 -0
- package/build/tts/enums/voice-tag-group.enum.js +9 -0
- package/build/tts/enums/voice-tag.enum.d.ts +20 -0
- package/build/tts/enums/voice-tag.enum.js +24 -0
- package/build/tts/models/index.d.ts +5 -0
- package/build/tts/models/index.js +5 -0
- package/build/tts/models/tts-config-with-vendors.schema.d.ts +1 -0
- package/build/tts/models/tts-config.schema.d.ts +11 -0
- package/build/tts/models/tts-config.schema.js +5 -0
- package/build/tts/models/tts-job.schema.d.ts +34 -2
- package/build/tts/models/tts-job.schema.js +22 -2
- package/build/tts/models/tts-model-with-vendor.schema.d.ts +1 -0
- package/build/tts/models/tts-model.schema.d.ts +1 -0
- package/build/tts/models/tts-model.schema.js +1 -0
- package/build/tts/models/voice-category.schema.d.ts +7 -0
- package/build/tts/models/voice-category.schema.js +9 -0
- package/build/tts/models/voice-design-draft.schema.d.ts +12 -0
- package/build/tts/models/voice-design-draft.schema.js +12 -0
- package/build/tts/models/voice-design-sample.schema.d.ts +6 -0
- package/build/tts/models/voice-design-sample.schema.js +8 -0
- package/build/tts/models/voice-tag.schema.d.ts +9 -0
- package/build/tts/models/voice-tag.schema.js +11 -0
- package/build/tts/models/voice.schema.d.ts +25 -0
- package/build/tts/models/voice.schema.js +27 -0
- package/build/tts/queries/find-tts-job-by-id.query.d.ts +29 -2
- package/build/tts/queries/find-tts-job-by-id.query.js +2 -0
- package/build/tts/queries/find-tts-jobs.query.d.ts +29 -2
- package/build/tts/queries/find-tts-jobs.query.js +1 -0
- package/build/tts/queries/find-voice-by-id.query.d.ts +53 -0
- package/build/tts/queries/find-voice-by-id.query.js +16 -0
- package/build/tts/queries/find-voices.query.d.ts +87 -0
- package/build/tts/queries/find-voices.query.js +24 -0
- package/build/tts/queries/get-tts-config-with-vendors.query.d.ts +2 -0
- package/build/tts/queries/get-tts-config.query.d.ts +22 -0
- package/build/tts/queries/index.d.ts +2 -0
- package/build/tts/queries/index.js +2 -0
- package/build/tts/routes/tts.amqp.routes.d.ts +9 -0
- package/build/tts/routes/tts.amqp.routes.js +9 -0
- package/package.json +1 -1
|
@@ -20,5 +20,6 @@ var TOOL_CONTENT_TYPE;
|
|
|
20
20
|
TOOL_CONTENT_TYPE["SPELL_CORRECTOR"] = "SPELL_CORRECTOR";
|
|
21
21
|
TOOL_CONTENT_TYPE["DIAGRAMS"] = "DIAGRAMS";
|
|
22
22
|
TOOL_CONTENT_TYPE["HTML_PAGE_BUILDER"] = "HTML_PAGE_BUILDER";
|
|
23
|
+
TOOL_CONTENT_TYPE["PHOTO_SESSIONS"] = "PHOTO_SESSIONS";
|
|
23
24
|
TOOL_CONTENT_TYPE["IMAGE_RECOGNITION"] = "IMAGE_RECOGNITION";
|
|
24
25
|
})(TOOL_CONTENT_TYPE || (exports.TOOL_CONTENT_TYPE = TOOL_CONTENT_TYPE = {}));
|
|
@@ -22,5 +22,6 @@ var TOOL_TYPE;
|
|
|
22
22
|
TOOL_TYPE["SOLVING_EDU_TASK"] = "SOLVING_EDU_TASK";
|
|
23
23
|
TOOL_TYPE["DIAGRAMS"] = "DIAGRAMS";
|
|
24
24
|
TOOL_TYPE["HTML_PAGE_BUILDER"] = "HTML_PAGE_BUILDER";
|
|
25
|
+
TOOL_TYPE["PHOTO_SESSION"] = "PHOTO_SESSION";
|
|
25
26
|
TOOL_TYPE["IMAGE_RECOGNITION"] = "IMAGE_RECOGNITION";
|
|
26
27
|
})(TOOL_TYPE || (exports.TOOL_TYPE = TOOL_TYPE = {}));
|
|
@@ -540,6 +540,7 @@ export declare const GlobalToolsConfigSchema: z.ZodObject<{
|
|
|
540
540
|
}, z.core.$strip>;
|
|
541
541
|
strategy: z.ZodOptional<z.ZodString>;
|
|
542
542
|
maxInputLength: z.ZodNumber;
|
|
543
|
+
maxSpeakers: z.ZodNumber;
|
|
543
544
|
voices: z.ZodArray<z.ZodObject<{
|
|
544
545
|
id: z.ZodString;
|
|
545
546
|
externalId: z.ZodString;
|
|
@@ -640,6 +641,16 @@ export declare const GlobalToolsConfigSchema: z.ZodObject<{
|
|
|
640
641
|
createdAt: z.ZodDate;
|
|
641
642
|
updatedAt: z.ZodDate;
|
|
642
643
|
}, z.core.$strip>>;
|
|
644
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
645
|
+
id: z.ZodEnum<typeof import("../..").VOICE_TAG>;
|
|
646
|
+
group: z.ZodEnum<typeof import("../..").VOICE_TAG_GROUP>;
|
|
647
|
+
label: z.ZodString;
|
|
648
|
+
}, z.core.$strip>>;
|
|
649
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
650
|
+
id: z.ZodEnum<typeof import("../..").VOICE_CATEGORY>;
|
|
651
|
+
label: z.ZodString;
|
|
652
|
+
}, z.core.$strip>>;
|
|
653
|
+
speakerMarkerLabel: z.ZodString;
|
|
643
654
|
}, z.core.$strip>;
|
|
644
655
|
SPEECH_TO_TEXT: z.ZodObject<{
|
|
645
656
|
models: z.ZodArray<z.ZodObject<{
|
|
@@ -899,6 +910,71 @@ export declare const GlobalToolsConfigSchema: z.ZodObject<{
|
|
|
899
910
|
}, z.core.$strip>>;
|
|
900
911
|
maxAttachmentsCount: z.ZodNumber;
|
|
901
912
|
}, z.core.$strip>;
|
|
913
|
+
PHOTO_SESSIONS: z.ZodObject<{
|
|
914
|
+
models: z.ZodArray<z.ZodObject<{
|
|
915
|
+
uuid: z.ZodString;
|
|
916
|
+
title: z.ZodString;
|
|
917
|
+
description: z.ZodString;
|
|
918
|
+
aiModel: z.ZodString;
|
|
919
|
+
isNew: z.ZodBoolean;
|
|
920
|
+
tierLabel: z.ZodString;
|
|
921
|
+
pricePerImage: z.ZodNumber;
|
|
922
|
+
order: z.ZodNumber;
|
|
923
|
+
status: z.ZodEnum<typeof import("../..").TOOL_MODEL_STATUS>;
|
|
924
|
+
icons: z.ZodObject<{
|
|
925
|
+
light: z.ZodObject<{
|
|
926
|
+
svg: z.ZodString;
|
|
927
|
+
png: z.ZodString;
|
|
928
|
+
}, z.core.$strip>;
|
|
929
|
+
dark: z.ZodObject<{
|
|
930
|
+
svg: z.ZodString;
|
|
931
|
+
png: z.ZodString;
|
|
932
|
+
}, z.core.$strip>;
|
|
933
|
+
}, z.core.$strip>;
|
|
934
|
+
strategy: z.ZodEnum<typeof import("../..").PHOTO_SESSION_STRATEGY>;
|
|
935
|
+
maxInputLength: z.ZodNumber;
|
|
936
|
+
params: z.ZodObject<{
|
|
937
|
+
imageAttachment: z.ZodObject<{
|
|
938
|
+
supported: z.ZodBoolean;
|
|
939
|
+
maxImages: z.ZodNumber;
|
|
940
|
+
acceptedTypes: z.ZodArray<z.ZodString>;
|
|
941
|
+
}, z.core.$strip>;
|
|
942
|
+
aspectRatio: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
943
|
+
width: z.ZodNumber;
|
|
944
|
+
height: z.ZodNumber;
|
|
945
|
+
}, z.core.$strip>>;
|
|
946
|
+
}, z.core.$strip>;
|
|
947
|
+
pricingRules: z.ZodArray<z.ZodObject<{
|
|
948
|
+
condition: z.ZodObject<{
|
|
949
|
+
withoutSub: z.ZodOptional<z.ZodBoolean>;
|
|
950
|
+
}, z.core.$strip>;
|
|
951
|
+
value: z.ZodNumber;
|
|
952
|
+
}, z.core.$strip>>;
|
|
953
|
+
createdAt: z.ZodDate;
|
|
954
|
+
updatedAt: z.ZodDate;
|
|
955
|
+
}, z.core.$strip>>;
|
|
956
|
+
styles: z.ZodArray<z.ZodObject<{
|
|
957
|
+
uuid: z.ZodString;
|
|
958
|
+
code: z.ZodString;
|
|
959
|
+
title: z.ZodString;
|
|
960
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
961
|
+
references: z.ZodArray<z.ZodObject<{
|
|
962
|
+
uuid: z.ZodString;
|
|
963
|
+
styleId: z.ZodString;
|
|
964
|
+
photoUrl: z.ZodString;
|
|
965
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
966
|
+
order: z.ZodNumber;
|
|
967
|
+
createdAt: z.ZodDate;
|
|
968
|
+
updatedAt: z.ZodDate;
|
|
969
|
+
}, z.core.$strip>>;
|
|
970
|
+
createdAt: z.ZodDate;
|
|
971
|
+
updatedAt: z.ZodDate;
|
|
972
|
+
}, z.core.$strip>>;
|
|
973
|
+
looks: z.ZodArray<z.ZodObject<{
|
|
974
|
+
type: z.ZodEnum<typeof import("../..").PHOTO_SESSION_LOOK_TYPE>;
|
|
975
|
+
maxPhotos: z.ZodNumber;
|
|
976
|
+
}, z.core.$strip>>;
|
|
977
|
+
}, z.core.$strip>;
|
|
902
978
|
IMAGE_RECOGNITION: z.ZodObject<{
|
|
903
979
|
models: z.ZodArray<z.ZodObject<{
|
|
904
980
|
uuid: z.ZodString;
|
|
@@ -19,6 +19,7 @@ const solving_edu_task_1 = require("../../solving-edu-task");
|
|
|
19
19
|
const spell_corrector_1 = require("../../spell-corrector");
|
|
20
20
|
const diagrams_1 = require("../../diagrams");
|
|
21
21
|
const models_2 = require("../../html-page-builder/models");
|
|
22
|
+
const photo_sessions_1 = require("../../photo-sessions");
|
|
22
23
|
const image_recognition_1 = require("../../image-recognition");
|
|
23
24
|
exports.GlobalToolsConfigSchema = zod_1.z.object({
|
|
24
25
|
[enums_1.TOOL_CONTENT_TYPE.VIDEO]: video_1.VideoConfigSchema,
|
|
@@ -37,5 +38,6 @@ exports.GlobalToolsConfigSchema = zod_1.z.object({
|
|
|
37
38
|
[enums_1.TOOL_CONTENT_TYPE.SPELL_CORRECTOR]: spell_corrector_1.SpellCorrectorToolConfigSchema,
|
|
38
39
|
[enums_1.TOOL_CONTENT_TYPE.DIAGRAMS]: diagrams_1.DiagramsConfigSchema,
|
|
39
40
|
[enums_1.TOOL_CONTENT_TYPE.HTML_PAGE_BUILDER]: models_2.HtmlPageBuilderConfigSchema,
|
|
41
|
+
[enums_1.TOOL_CONTENT_TYPE.PHOTO_SESSIONS]: photo_sessions_1.PhotoSessionConfigSchema,
|
|
40
42
|
[enums_1.TOOL_CONTENT_TYPE.IMAGE_RECOGNITION]: image_recognition_1.ImageRecognitionConfigSchema,
|
|
41
43
|
});
|
|
@@ -648,6 +648,7 @@ export declare const ToolWithConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
648
648
|
}, z.core.$strip>;
|
|
649
649
|
strategy: z.ZodOptional<z.ZodString>;
|
|
650
650
|
maxInputLength: z.ZodNumber;
|
|
651
|
+
maxSpeakers: z.ZodNumber;
|
|
651
652
|
voices: z.ZodArray<z.ZodObject<{
|
|
652
653
|
id: z.ZodString;
|
|
653
654
|
externalId: z.ZodString;
|
|
@@ -748,6 +749,16 @@ export declare const ToolWithConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
748
749
|
createdAt: z.ZodDate;
|
|
749
750
|
updatedAt: z.ZodDate;
|
|
750
751
|
}, z.core.$strip>>;
|
|
752
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
753
|
+
id: z.ZodEnum<typeof import("../..").VOICE_TAG>;
|
|
754
|
+
group: z.ZodEnum<typeof import("../..").VOICE_TAG_GROUP>;
|
|
755
|
+
label: z.ZodString;
|
|
756
|
+
}, z.core.$strip>>;
|
|
757
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
758
|
+
id: z.ZodEnum<typeof import("../..").VOICE_CATEGORY>;
|
|
759
|
+
label: z.ZodString;
|
|
760
|
+
}, z.core.$strip>>;
|
|
761
|
+
speakerMarkerLabel: z.ZodString;
|
|
751
762
|
}, z.core.$strip>;
|
|
752
763
|
}, z.core.$strip>, z.ZodObject<{
|
|
753
764
|
uuid: z.ZodString;
|
|
@@ -1804,6 +1815,7 @@ export declare const ToolsWithConfigsSchema: z.ZodArray<z.ZodDiscriminatedUnion<
|
|
|
1804
1815
|
}, z.core.$strip>;
|
|
1805
1816
|
strategy: z.ZodOptional<z.ZodString>;
|
|
1806
1817
|
maxInputLength: z.ZodNumber;
|
|
1818
|
+
maxSpeakers: z.ZodNumber;
|
|
1807
1819
|
voices: z.ZodArray<z.ZodObject<{
|
|
1808
1820
|
id: z.ZodString;
|
|
1809
1821
|
externalId: z.ZodString;
|
|
@@ -1904,6 +1916,16 @@ export declare const ToolsWithConfigsSchema: z.ZodArray<z.ZodDiscriminatedUnion<
|
|
|
1904
1916
|
createdAt: z.ZodDate;
|
|
1905
1917
|
updatedAt: z.ZodDate;
|
|
1906
1918
|
}, z.core.$strip>>;
|
|
1919
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
1920
|
+
id: z.ZodEnum<typeof import("../..").VOICE_TAG>;
|
|
1921
|
+
group: z.ZodEnum<typeof import("../..").VOICE_TAG_GROUP>;
|
|
1922
|
+
label: z.ZodString;
|
|
1923
|
+
}, z.core.$strip>>;
|
|
1924
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
1925
|
+
id: z.ZodEnum<typeof import("../..").VOICE_CATEGORY>;
|
|
1926
|
+
label: z.ZodString;
|
|
1927
|
+
}, z.core.$strip>>;
|
|
1928
|
+
speakerMarkerLabel: z.ZodString;
|
|
1907
1929
|
}, z.core.$strip>;
|
|
1908
1930
|
}, z.core.$strip>, z.ZodObject<{
|
|
1909
1931
|
uuid: z.ZodString;
|
|
@@ -547,6 +547,7 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
547
547
|
};
|
|
548
548
|
strategy?: string | undefined;
|
|
549
549
|
maxInputLength: number;
|
|
550
|
+
maxSpeakers: number;
|
|
550
551
|
voices: {
|
|
551
552
|
id: string;
|
|
552
553
|
externalId: string;
|
|
@@ -647,6 +648,16 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
647
648
|
createdAt: Date;
|
|
648
649
|
updatedAt: Date;
|
|
649
650
|
}[];
|
|
651
|
+
tags: {
|
|
652
|
+
id: import("../..").VOICE_TAG;
|
|
653
|
+
group: import("../..").VOICE_TAG_GROUP;
|
|
654
|
+
label: string;
|
|
655
|
+
}[];
|
|
656
|
+
categories: {
|
|
657
|
+
id: import("../..").VOICE_CATEGORY;
|
|
658
|
+
label: string;
|
|
659
|
+
}[];
|
|
660
|
+
speakerMarkerLabel: string;
|
|
650
661
|
};
|
|
651
662
|
SPEECH_TO_TEXT: {
|
|
652
663
|
models: {
|
|
@@ -906,6 +917,71 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
906
917
|
}[];
|
|
907
918
|
maxAttachmentsCount: number;
|
|
908
919
|
};
|
|
920
|
+
PHOTO_SESSIONS: {
|
|
921
|
+
models: {
|
|
922
|
+
uuid: string;
|
|
923
|
+
title: string;
|
|
924
|
+
description: string;
|
|
925
|
+
aiModel: string;
|
|
926
|
+
isNew: boolean;
|
|
927
|
+
tierLabel: string;
|
|
928
|
+
pricePerImage: number;
|
|
929
|
+
order: number;
|
|
930
|
+
status: import("../..").TOOL_MODEL_STATUS;
|
|
931
|
+
icons: {
|
|
932
|
+
light: {
|
|
933
|
+
svg: string;
|
|
934
|
+
png: string;
|
|
935
|
+
};
|
|
936
|
+
dark: {
|
|
937
|
+
svg: string;
|
|
938
|
+
png: string;
|
|
939
|
+
};
|
|
940
|
+
};
|
|
941
|
+
strategy: import("../..").PHOTO_SESSION_STRATEGY;
|
|
942
|
+
maxInputLength: number;
|
|
943
|
+
params: {
|
|
944
|
+
imageAttachment: {
|
|
945
|
+
supported: boolean;
|
|
946
|
+
maxImages: number;
|
|
947
|
+
acceptedTypes: string[];
|
|
948
|
+
};
|
|
949
|
+
aspectRatio: Record<string, {
|
|
950
|
+
width: number;
|
|
951
|
+
height: number;
|
|
952
|
+
}>;
|
|
953
|
+
};
|
|
954
|
+
pricingRules: {
|
|
955
|
+
condition: {
|
|
956
|
+
withoutSub?: boolean | undefined;
|
|
957
|
+
};
|
|
958
|
+
value: number;
|
|
959
|
+
}[];
|
|
960
|
+
createdAt: Date;
|
|
961
|
+
updatedAt: Date;
|
|
962
|
+
}[];
|
|
963
|
+
styles: {
|
|
964
|
+
uuid: string;
|
|
965
|
+
code: string;
|
|
966
|
+
title: string;
|
|
967
|
+
description?: string | null | undefined;
|
|
968
|
+
references: {
|
|
969
|
+
uuid: string;
|
|
970
|
+
styleId: string;
|
|
971
|
+
photoUrl: string;
|
|
972
|
+
description?: string | null | undefined;
|
|
973
|
+
order: number;
|
|
974
|
+
createdAt: Date;
|
|
975
|
+
updatedAt: Date;
|
|
976
|
+
}[];
|
|
977
|
+
createdAt: Date;
|
|
978
|
+
updatedAt: Date;
|
|
979
|
+
}[];
|
|
980
|
+
looks: {
|
|
981
|
+
type: import("../..").PHOTO_SESSION_LOOK_TYPE;
|
|
982
|
+
maxPhotos: number;
|
|
983
|
+
}[];
|
|
984
|
+
};
|
|
909
985
|
IMAGE_RECOGNITION: {
|
|
910
986
|
models: {
|
|
911
987
|
uuid: string;
|
|
@@ -1498,6 +1574,7 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
1498
1574
|
};
|
|
1499
1575
|
strategy?: string | undefined;
|
|
1500
1576
|
maxInputLength: number;
|
|
1577
|
+
maxSpeakers: number;
|
|
1501
1578
|
voices: {
|
|
1502
1579
|
id: string;
|
|
1503
1580
|
externalId: string;
|
|
@@ -1598,6 +1675,16 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
1598
1675
|
createdAt: Date;
|
|
1599
1676
|
updatedAt: Date;
|
|
1600
1677
|
}[];
|
|
1678
|
+
tags: {
|
|
1679
|
+
id: import("../..").VOICE_TAG;
|
|
1680
|
+
group: import("../..").VOICE_TAG_GROUP;
|
|
1681
|
+
label: string;
|
|
1682
|
+
}[];
|
|
1683
|
+
categories: {
|
|
1684
|
+
id: import("../..").VOICE_CATEGORY;
|
|
1685
|
+
label: string;
|
|
1686
|
+
}[];
|
|
1687
|
+
speakerMarkerLabel: string;
|
|
1601
1688
|
};
|
|
1602
1689
|
SPEECH_TO_TEXT: {
|
|
1603
1690
|
models: {
|
|
@@ -1857,6 +1944,71 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
1857
1944
|
}[];
|
|
1858
1945
|
maxAttachmentsCount: number;
|
|
1859
1946
|
};
|
|
1947
|
+
PHOTO_SESSIONS: {
|
|
1948
|
+
models: {
|
|
1949
|
+
uuid: string;
|
|
1950
|
+
title: string;
|
|
1951
|
+
description: string;
|
|
1952
|
+
aiModel: string;
|
|
1953
|
+
isNew: boolean;
|
|
1954
|
+
tierLabel: string;
|
|
1955
|
+
pricePerImage: number;
|
|
1956
|
+
order: number;
|
|
1957
|
+
status: import("../..").TOOL_MODEL_STATUS;
|
|
1958
|
+
icons: {
|
|
1959
|
+
light: {
|
|
1960
|
+
svg: string;
|
|
1961
|
+
png: string;
|
|
1962
|
+
};
|
|
1963
|
+
dark: {
|
|
1964
|
+
svg: string;
|
|
1965
|
+
png: string;
|
|
1966
|
+
};
|
|
1967
|
+
};
|
|
1968
|
+
strategy: import("../..").PHOTO_SESSION_STRATEGY;
|
|
1969
|
+
maxInputLength: number;
|
|
1970
|
+
params: {
|
|
1971
|
+
imageAttachment: {
|
|
1972
|
+
supported: boolean;
|
|
1973
|
+
maxImages: number;
|
|
1974
|
+
acceptedTypes: string[];
|
|
1975
|
+
};
|
|
1976
|
+
aspectRatio: Record<string, {
|
|
1977
|
+
width: number;
|
|
1978
|
+
height: number;
|
|
1979
|
+
}>;
|
|
1980
|
+
};
|
|
1981
|
+
pricingRules: {
|
|
1982
|
+
condition: {
|
|
1983
|
+
withoutSub?: boolean | undefined;
|
|
1984
|
+
};
|
|
1985
|
+
value: number;
|
|
1986
|
+
}[];
|
|
1987
|
+
createdAt: Date;
|
|
1988
|
+
updatedAt: Date;
|
|
1989
|
+
}[];
|
|
1990
|
+
styles: {
|
|
1991
|
+
uuid: string;
|
|
1992
|
+
code: string;
|
|
1993
|
+
title: string;
|
|
1994
|
+
description?: string | null | undefined;
|
|
1995
|
+
references: {
|
|
1996
|
+
uuid: string;
|
|
1997
|
+
styleId: string;
|
|
1998
|
+
photoUrl: string;
|
|
1999
|
+
description?: string | null | undefined;
|
|
2000
|
+
order: number;
|
|
2001
|
+
createdAt: Date;
|
|
2002
|
+
updatedAt: Date;
|
|
2003
|
+
}[];
|
|
2004
|
+
createdAt: Date;
|
|
2005
|
+
updatedAt: Date;
|
|
2006
|
+
}[];
|
|
2007
|
+
looks: {
|
|
2008
|
+
type: import("../..").PHOTO_SESSION_LOOK_TYPE;
|
|
2009
|
+
maxPhotos: number;
|
|
2010
|
+
}[];
|
|
2011
|
+
};
|
|
1860
2012
|
IMAGE_RECOGNITION: {
|
|
1861
2013
|
models: {
|
|
1862
2014
|
uuid: string;
|
|
@@ -654,6 +654,7 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
654
654
|
};
|
|
655
655
|
strategy?: string | undefined;
|
|
656
656
|
maxInputLength: number;
|
|
657
|
+
maxSpeakers: number;
|
|
657
658
|
voices: {
|
|
658
659
|
id: string;
|
|
659
660
|
externalId: string;
|
|
@@ -754,6 +755,16 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
754
755
|
createdAt: Date;
|
|
755
756
|
updatedAt: Date;
|
|
756
757
|
}[];
|
|
758
|
+
tags: {
|
|
759
|
+
id: import("../..").VOICE_TAG;
|
|
760
|
+
group: import("../..").VOICE_TAG_GROUP;
|
|
761
|
+
label: string;
|
|
762
|
+
}[];
|
|
763
|
+
categories: {
|
|
764
|
+
id: import("../..").VOICE_CATEGORY;
|
|
765
|
+
label: string;
|
|
766
|
+
}[];
|
|
767
|
+
speakerMarkerLabel: string;
|
|
757
768
|
};
|
|
758
769
|
} | {
|
|
759
770
|
uuid: string;
|
|
@@ -1808,6 +1819,7 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
1808
1819
|
};
|
|
1809
1820
|
strategy?: string | undefined;
|
|
1810
1821
|
maxInputLength: number;
|
|
1822
|
+
maxSpeakers: number;
|
|
1811
1823
|
voices: {
|
|
1812
1824
|
id: string;
|
|
1813
1825
|
externalId: string;
|
|
@@ -1908,6 +1920,16 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
1908
1920
|
createdAt: Date;
|
|
1909
1921
|
updatedAt: Date;
|
|
1910
1922
|
}[];
|
|
1923
|
+
tags: {
|
|
1924
|
+
id: import("../..").VOICE_TAG;
|
|
1925
|
+
group: import("../..").VOICE_TAG_GROUP;
|
|
1926
|
+
label: string;
|
|
1927
|
+
}[];
|
|
1928
|
+
categories: {
|
|
1929
|
+
id: import("../..").VOICE_CATEGORY;
|
|
1930
|
+
label: string;
|
|
1931
|
+
}[];
|
|
1932
|
+
speakerMarkerLabel: string;
|
|
1911
1933
|
};
|
|
1912
1934
|
} | {
|
|
1913
1935
|
uuid: string;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { VOICE_GENDER } from '../enums/voice-gender.enum';
|
|
3
|
+
export declare namespace CreateVoiceCloneCommand {
|
|
4
|
+
const RequestSchema: z.ZodObject<{
|
|
5
|
+
userId: z.ZodString;
|
|
6
|
+
locale: z.ZodOptional<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>>;
|
|
7
|
+
title: z.ZodString;
|
|
8
|
+
gender: z.ZodOptional<z.ZodEnum<typeof VOICE_GENDER>>;
|
|
9
|
+
fileUrl: z.ZodString;
|
|
10
|
+
fileKey: 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
|
+
source: import("..").VOICE_SOURCE;
|
|
18
|
+
title: string;
|
|
19
|
+
description: string;
|
|
20
|
+
gender: VOICE_GENDER | null;
|
|
21
|
+
trait: string | null;
|
|
22
|
+
ageRange: string | null;
|
|
23
|
+
categories: import("..").VOICE_CATEGORY[];
|
|
24
|
+
previewUrl: string;
|
|
25
|
+
status: import("..").VOICE_STATUS;
|
|
26
|
+
error: string | null;
|
|
27
|
+
order: number;
|
|
28
|
+
isDeleted: boolean;
|
|
29
|
+
userId: string | null;
|
|
30
|
+
unregisteredUserId: string | null;
|
|
31
|
+
createdAt: Date;
|
|
32
|
+
updatedAt: Date;
|
|
33
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
34
|
+
uuid: string;
|
|
35
|
+
source: import("..").VOICE_SOURCE;
|
|
36
|
+
title: string;
|
|
37
|
+
description: string;
|
|
38
|
+
gender: VOICE_GENDER | null;
|
|
39
|
+
trait: string | null;
|
|
40
|
+
ageRange: string | null;
|
|
41
|
+
categories: import("..").VOICE_CATEGORY[];
|
|
42
|
+
previewUrl: string;
|
|
43
|
+
status: import("..").VOICE_STATUS;
|
|
44
|
+
error: string | null;
|
|
45
|
+
order: number;
|
|
46
|
+
isDeleted: boolean;
|
|
47
|
+
userId: string | null;
|
|
48
|
+
unregisteredUserId: string | null;
|
|
49
|
+
createdAt: Date;
|
|
50
|
+
updatedAt: Date;
|
|
51
|
+
}, unknown>>>;
|
|
52
|
+
code: z.ZodOptional<z.ZodString>;
|
|
53
|
+
message: z.ZodOptional<z.ZodString>;
|
|
54
|
+
}, z.core.$strip>;
|
|
55
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
title: zod_1.z.string(),
|
|
14
|
+
gender: zod_1.z.nativeEnum(voice_gender_enum_1.VOICE_GENDER).optional(),
|
|
15
|
+
fileUrl: zod_1.z.string().url(),
|
|
16
|
+
fileKey: zod_1.z.string(),
|
|
17
|
+
});
|
|
18
|
+
CreateVoiceCloneCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.VoiceSchema);
|
|
19
|
+
})(CreateVoiceCloneCommand || (exports.CreateVoiceCloneCommand = CreateVoiceCloneCommand = {}));
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { VOICE_GENDER } from '../enums/voice-gender.enum';
|
|
3
|
+
export declare namespace CreateVoiceDesignCommand {
|
|
4
|
+
const RequestSchema: z.ZodObject<{
|
|
5
|
+
userId: z.ZodString;
|
|
6
|
+
locale: z.ZodOptional<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>>;
|
|
7
|
+
title: z.ZodString;
|
|
8
|
+
gender: z.ZodEnum<typeof VOICE_GENDER>;
|
|
9
|
+
instruction: z.ZodString;
|
|
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
|
+
designId: string;
|
|
16
|
+
title: string;
|
|
17
|
+
gender: VOICE_GENDER;
|
|
18
|
+
samples: {
|
|
19
|
+
sampleId: string;
|
|
20
|
+
previewUrl: string;
|
|
21
|
+
}[];
|
|
22
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
23
|
+
designId: string;
|
|
24
|
+
title: string;
|
|
25
|
+
gender: VOICE_GENDER;
|
|
26
|
+
samples: {
|
|
27
|
+
sampleId: string;
|
|
28
|
+
previewUrl: string;
|
|
29
|
+
}[];
|
|
30
|
+
}, unknown>>>;
|
|
31
|
+
code: z.ZodOptional<z.ZodString>;
|
|
32
|
+
message: z.ZodOptional<z.ZodString>;
|
|
33
|
+
}, z.core.$strip>;
|
|
34
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
title: zod_1.z.string(),
|
|
14
|
+
gender: zod_1.z.nativeEnum(voice_gender_enum_1.VOICE_GENDER),
|
|
15
|
+
instruction: zod_1.z.string().min(1),
|
|
16
|
+
});
|
|
17
|
+
CreateVoiceDesignCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.VoiceDesignDraftSchema);
|
|
18
|
+
})(CreateVoiceDesignCommand || (exports.CreateVoiceDesignCommand = CreateVoiceDesignCommand = {}));
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace DeleteVoiceCommand {
|
|
3
|
+
const RequestSchema: z.ZodObject<{
|
|
4
|
+
uuid: z.ZodString;
|
|
5
|
+
userId: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
8
|
+
const ResponseSchema: z.ZodObject<{
|
|
9
|
+
isSuccess: z.ZodBoolean;
|
|
10
|
+
data: z.ZodOptional<z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>>;
|
|
11
|
+
code: z.ZodOptional<z.ZodString>;
|
|
12
|
+
message: z.ZodOptional<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
});
|
|
12
|
+
DeleteVoiceCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(zod_1.z.boolean());
|
|
13
|
+
})(DeleteVoiceCommand || (exports.DeleteVoiceCommand = DeleteVoiceCommand = {}));
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
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 = {}));
|