@purpleschool/gptbot-tools 0.2.67-stage2 → 0.2.67
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/diagrams/commands/diagrams.command.d.ts +1 -0
- package/build/diagrams/commands/diagrams.command.js +1 -0
- package/build/diagrams/commands/edit-diagrams-job.command.d.ts +1 -0
- package/build/diagrams/commands/edit-diagrams-job.command.js +1 -0
- package/build/diagrams/commands/retry-diagrams-job.command.d.ts +1 -0
- package/build/diagrams/commands/retry-diagrams-job.command.js +1 -0
- package/build/html-page-builder/commands/html-page-builder-execute.command.d.ts +1 -0
- package/build/html-page-builder/commands/html-page-builder-execute.command.js +1 -0
- package/build/image-editor/commands/image-editor.command.d.ts +1 -0
- package/build/image-editor/commands/image-editor.command.js +1 -0
- package/build/image-editor/commands/retry-image-editor-job.command.d.ts +1 -0
- package/build/image-editor/commands/retry-image-editor-job.command.js +1 -0
- package/build/image-editor/enums/image-editor-strategy.enum.d.ts +1 -0
- package/build/image-editor/enums/image-editor-strategy.enum.js +1 -0
- package/build/image-generation/commands/execute-image-generation.command.d.ts +1 -0
- package/build/image-generation/commands/execute-image-generation.command.js +1 -0
- package/build/image-generation/commands/retry-image-generation-job.command.d.ts +1 -0
- package/build/image-generation/commands/retry-image-generation-job.command.js +1 -0
- 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/image-recognition/commands/image-recognition.command.d.ts +1 -0
- package/build/image-recognition/commands/image-recognition.command.js +1 -0
- package/build/image-recognition/commands/retry-image-recognition-job.command.d.ts +1 -0
- package/build/image-recognition/commands/retry-image-recognition-job.command.js +1 -0
- package/build/index.d.ts +0 -3
- package/build/index.js +0 -3
- package/build/interior-design/commands/interior-design.command.d.ts +1 -0
- package/build/interior-design/commands/interior-design.command.js +1 -0
- package/build/interior-design/commands/retry-interior-design-job.command.d.ts +1 -0
- package/build/interior-design/commands/retry-interior-design-job.command.js +1 -0
- package/build/marketplace-card/commands/execute-marketplace-card.command.d.ts +1 -0
- package/build/marketplace-card/commands/execute-marketplace-card.command.js +1 -0
- package/build/marketplace-card/commands/generate-marketplace-card-description.command.d.ts +1 -0
- package/build/marketplace-card/commands/generate-marketplace-card-description.command.js +1 -0
- package/build/marketplace-card/commands/retry-marketplace-card-job.command.d.ts +1 -0
- package/build/marketplace-card/commands/retry-marketplace-card-job.command.js +1 -0
- package/build/music/commands/boost-music-style.command.d.ts +1 -0
- package/build/music/commands/boost-music-style.command.js +1 -0
- package/build/music/commands/convert-to-wav.command.d.ts +1 -0
- package/build/music/commands/convert-to-wav.command.js +1 -0
- package/build/music/commands/edit-music.command.d.ts +1 -0
- package/build/music/commands/generate-lyrics.command.d.ts +1 -0
- package/build/music/commands/generate-lyrics.command.js +1 -0
- package/build/music/commands/generate-music.command.d.ts +1 -0
- package/build/music/commands/generate-music.command.js +1 -0
- package/build/music/commands/retry-music-job.command.d.ts +1 -0
- package/build/music/commands/retry-music-job.command.js +1 -0
- package/build/music/models/music-job.schema.d.ts +1 -0
- package/build/music/models/music-job.schema.js +1 -0
- package/build/paraphrase/commands/paraphrase.command.d.ts +1 -0
- package/build/paraphrase/commands/paraphrase.command.js +1 -0
- package/build/paraphrase/commands/retry-paraphrase-job.command.d.ts +1 -0
- package/build/paraphrase/commands/retry-paraphrase-job.command.js +1 -0
- package/build/presentation/commands/create-presentation.command.d.ts +1 -0
- package/build/presentation/commands/create-presentation.command.js +1 -0
- package/build/presentation/commands/generate-and-insert-slide.command.d.ts +1 -0
- package/build/presentation/commands/generate-and-insert-slide.command.js +1 -0
- package/build/presentation/commands/generate-presentation-outline.command.d.ts +1 -0
- package/build/presentation/commands/generate-presentation-outline.command.js +1 -0
- package/build/presentation/commands/generate-slides.command.d.ts +1 -0
- package/build/presentation/commands/generate-slides.command.js +1 -0
- package/build/presentation/commands/presentation-generate-report.command.d.ts +1 -0
- package/build/presentation/commands/presentation-generate-report.command.js +1 -0
- package/build/presentation/commands/presentation-paraphrase.command.d.ts +1 -0
- package/build/presentation/commands/presentation-paraphrase.command.js +1 -0
- package/build/presentation/commands/update-slide-image-slot.command.d.ts +1 -0
- package/build/presentation/commands/update-slide-image-slot.command.js +1 -0
- package/build/solving-edu-task/commands/retry-solving-edu-task-job.command.d.ts +1 -0
- package/build/solving-edu-task/commands/retry-solving-edu-task-job.command.js +1 -0
- package/build/solving-edu-task/commands/solving-edu-task.command.d.ts +1 -0
- package/build/solving-edu-task/commands/solving-edu-task.command.js +1 -0
- package/build/sound-generation/commands/retry-sound-generation-job.command.d.ts +1 -0
- package/build/sound-generation/commands/retry-sound-generation-job.command.js +1 -0
- package/build/sound-generation/commands/sound-generation.command.d.ts +1 -0
- package/build/sound-generation/commands/sound-generation.command.js +1 -0
- package/build/spell-corrector/commands/retry-spell-corrector-job.command.d.ts +1 -0
- package/build/spell-corrector/commands/retry-spell-corrector-job.command.js +1 -0
- package/build/spell-corrector/commands/spell-corrector.command.d.ts +1 -0
- package/build/spell-corrector/commands/spell-corrector.command.js +1 -0
- package/build/stt/commands/retry-stt-job.command.d.ts +1 -0
- package/build/stt/commands/retry-stt-job.command.js +1 -0
- package/build/stt/commands/stt.command.d.ts +1 -0
- package/build/stt/commands/stt.command.js +1 -0
- package/build/tools/enums/tool-content-type.enum.d.ts +0 -1
- package/build/tools/enums/tool-content-type.enum.js +0 -1
- package/build/tools/enums/tool-group.enum.d.ts +1 -1
- package/build/tools/enums/tool-group.enum.js +1 -1
- package/build/tools/enums/tool-type.enum.d.ts +0 -1
- package/build/tools/enums/tool-type.enum.js +0 -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 +0 -76
- package/build/tools/models/global-tools-config.schema.js +0 -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 +0 -22
- package/build/tools/queries/find-grouped-tools.query.d.ts +2 -0
- package/build/tools/queries/get-global-tools-config.query.d.ts +0 -152
- package/build/tools/queries/get-tools-with-configs.query.d.ts +0 -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 +3 -29
- package/build/tts/commands/retry-tts-job.command.js +1 -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 +4 -35
- package/build/tts/commands/tts.command.js +2 -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/commands/retry-video-job.command.d.ts +1 -0
- package/build/video/commands/retry-video-job.command.js +1 -0
- package/build/video/commands/video.command.d.ts +1 -0
- package/build/video/commands/video.command.js +1 -0
- package/build/video/enums/video-strategy.enum.d.ts +2 -1
- package/build/video/enums/video-strategy.enum.js +1 -0
- package/build/video-editor/commands/edit-video.command.d.ts +1 -0
- package/build/video-editor/commands/edit-video.command.js +1 -0
- package/build/video-editor/commands/retry-video-editor-job.command.d.ts +1 -0
- package/build/video-editor/commands/retry-video-editor-job.command.js +1 -0
- package/build/writer/commands/collect-sources.command.d.ts +1 -0
- package/build/writer/commands/collect-sources.command.js +1 -0
- package/build/writer/commands/create-writer-document.command.d.ts +1 -0
- package/build/writer/commands/create-writer-document.command.js +1 -0
- package/build/writer/commands/generate-document-contents.command.d.ts +1 -0
- package/build/writer/commands/generate-document-contents.command.js +1 -0
- package/build/writer/commands/generate-document-outline.command.d.ts +1 -0
- package/build/writer/commands/generate-document-outline.command.js +1 -0
- package/build/writer/commands/writer-extend-text.command.d.ts +1 -0
- package/build/writer/commands/writer-extend-text.command.js +1 -0
- package/build/writer/commands/writer-fix-errors.command.d.ts +1 -0
- package/build/writer/commands/writer-fix-errors.command.js +1 -0
- package/build/writer/commands/writer-generate-text.command.d.ts +1 -0
- package/build/writer/commands/writer-generate-text.command.js +1 -0
- package/build/writer/commands/writer-paraphrase.command.d.ts +1 -0
- package/build/writer/commands/writer-paraphrase.command.js +1 -0
- package/build/writer/commands/writer-shorten-text.command.d.ts +1 -0
- package/build/writer/commands/writer-shorten-text.command.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/index.js +0 -19
- 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.d.ts +0 -17
- 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.d.ts +0 -16
- 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 -74
- package/build/photo-sessions/commands/get-photo-sessions-price.command.js +0 -28
- 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 -272
- package/build/photo-sessions/commands/photo-sessions.command.js +0 -37
- package/build/photo-sessions/commands/retry-photo-sessions-job.command.d.ts +0 -179
- package/build/photo-sessions/commands/retry-photo-sessions-job.command.js +0 -17
- package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.d.ts +0 -181
- package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.js +0 -27
- package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.d.ts +0 -179
- 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 -217
- 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 -184
- 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/index.js +0 -19
- package/build/photo-sessions/enums/photo-session-group-status.enum.d.ts +0 -6
- package/build/photo-sessions/enums/photo-session-group-status.enum.js +0 -10
- 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/index.d.ts +0 -5
- package/build/photo-sessions/index.js +0 -21
- package/build/photo-sessions/models/index.d.ts +0 -5
- package/build/photo-sessions/models/index.js +0 -21
- 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 -113
- package/build/photo-sessions/models/photo-session-group.schema.js +0 -27
- package/build/photo-sessions/models/photo-session-job.schema.d.ts +0 -159
- package/build/photo-sessions/models/photo-session-job.schema.js +0 -55
- 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 -216
- 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 -235
- 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/index.js +0 -18
- 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.d.ts +0 -22
- 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
|
@@ -550,7 +550,6 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
550
550
|
};
|
|
551
551
|
strategy?: string | undefined;
|
|
552
552
|
maxInputLength: number;
|
|
553
|
-
maxSpeakers: number;
|
|
554
553
|
voices: {
|
|
555
554
|
id: string;
|
|
556
555
|
externalId: string;
|
|
@@ -651,16 +650,6 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
651
650
|
createdAt: Date;
|
|
652
651
|
updatedAt: Date;
|
|
653
652
|
}[];
|
|
654
|
-
tags: {
|
|
655
|
-
id: import("../..").VOICE_TAG;
|
|
656
|
-
group: import("../..").VOICE_TAG_GROUP;
|
|
657
|
-
label: string;
|
|
658
|
-
}[];
|
|
659
|
-
categories: {
|
|
660
|
-
id: import("../..").VOICE_CATEGORY;
|
|
661
|
-
label: string;
|
|
662
|
-
}[];
|
|
663
|
-
speakerMarkerLabel: string;
|
|
664
653
|
};
|
|
665
654
|
SPEECH_TO_TEXT: {
|
|
666
655
|
models: {
|
|
@@ -920,71 +909,6 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
920
909
|
}[];
|
|
921
910
|
maxAttachmentsCount: number;
|
|
922
911
|
};
|
|
923
|
-
PHOTO_SESSIONS: {
|
|
924
|
-
models: {
|
|
925
|
-
uuid: string;
|
|
926
|
-
title: string;
|
|
927
|
-
description: string;
|
|
928
|
-
aiModel: string;
|
|
929
|
-
isNew: boolean;
|
|
930
|
-
tierLabel: string;
|
|
931
|
-
pricePerImage: number;
|
|
932
|
-
order: number;
|
|
933
|
-
status: import("../..").TOOL_MODEL_STATUS;
|
|
934
|
-
icons: {
|
|
935
|
-
light: {
|
|
936
|
-
svg: string;
|
|
937
|
-
png: string;
|
|
938
|
-
};
|
|
939
|
-
dark: {
|
|
940
|
-
svg: string;
|
|
941
|
-
png: string;
|
|
942
|
-
};
|
|
943
|
-
};
|
|
944
|
-
strategy: import("../..").PHOTO_SESSION_STRATEGY;
|
|
945
|
-
maxInputLength: number;
|
|
946
|
-
params: {
|
|
947
|
-
imageAttachment: {
|
|
948
|
-
supported: boolean;
|
|
949
|
-
maxImages: number;
|
|
950
|
-
acceptedTypes: string[];
|
|
951
|
-
};
|
|
952
|
-
aspectRatio: Record<string, {
|
|
953
|
-
width: number;
|
|
954
|
-
height: number;
|
|
955
|
-
}>;
|
|
956
|
-
};
|
|
957
|
-
pricingRules: {
|
|
958
|
-
condition: {
|
|
959
|
-
withoutSub?: boolean | undefined;
|
|
960
|
-
};
|
|
961
|
-
value: number;
|
|
962
|
-
}[];
|
|
963
|
-
createdAt: Date;
|
|
964
|
-
updatedAt: Date;
|
|
965
|
-
}[];
|
|
966
|
-
styles: {
|
|
967
|
-
uuid: string;
|
|
968
|
-
code: string;
|
|
969
|
-
title: string;
|
|
970
|
-
description?: string | null | undefined;
|
|
971
|
-
references: {
|
|
972
|
-
uuid: string;
|
|
973
|
-
styleId: string;
|
|
974
|
-
photoUrl: string;
|
|
975
|
-
description?: string | null | undefined;
|
|
976
|
-
order: number;
|
|
977
|
-
createdAt: Date;
|
|
978
|
-
updatedAt: Date;
|
|
979
|
-
}[];
|
|
980
|
-
createdAt: Date;
|
|
981
|
-
updatedAt: Date;
|
|
982
|
-
}[];
|
|
983
|
-
looks: {
|
|
984
|
-
type: import("../..").PHOTO_SESSION_LOOK_TYPE;
|
|
985
|
-
maxPhotos: number;
|
|
986
|
-
}[];
|
|
987
|
-
};
|
|
988
912
|
IMAGE_RECOGNITION: {
|
|
989
913
|
models: {
|
|
990
914
|
uuid: string;
|
|
@@ -1612,7 +1536,6 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
1612
1536
|
};
|
|
1613
1537
|
strategy?: string | undefined;
|
|
1614
1538
|
maxInputLength: number;
|
|
1615
|
-
maxSpeakers: number;
|
|
1616
1539
|
voices: {
|
|
1617
1540
|
id: string;
|
|
1618
1541
|
externalId: string;
|
|
@@ -1713,16 +1636,6 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
1713
1636
|
createdAt: Date;
|
|
1714
1637
|
updatedAt: Date;
|
|
1715
1638
|
}[];
|
|
1716
|
-
tags: {
|
|
1717
|
-
id: import("../..").VOICE_TAG;
|
|
1718
|
-
group: import("../..").VOICE_TAG_GROUP;
|
|
1719
|
-
label: string;
|
|
1720
|
-
}[];
|
|
1721
|
-
categories: {
|
|
1722
|
-
id: import("../..").VOICE_CATEGORY;
|
|
1723
|
-
label: string;
|
|
1724
|
-
}[];
|
|
1725
|
-
speakerMarkerLabel: string;
|
|
1726
1639
|
};
|
|
1727
1640
|
SPEECH_TO_TEXT: {
|
|
1728
1641
|
models: {
|
|
@@ -1982,71 +1895,6 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
1982
1895
|
}[];
|
|
1983
1896
|
maxAttachmentsCount: number;
|
|
1984
1897
|
};
|
|
1985
|
-
PHOTO_SESSIONS: {
|
|
1986
|
-
models: {
|
|
1987
|
-
uuid: string;
|
|
1988
|
-
title: string;
|
|
1989
|
-
description: string;
|
|
1990
|
-
aiModel: string;
|
|
1991
|
-
isNew: boolean;
|
|
1992
|
-
tierLabel: string;
|
|
1993
|
-
pricePerImage: number;
|
|
1994
|
-
order: number;
|
|
1995
|
-
status: import("../..").TOOL_MODEL_STATUS;
|
|
1996
|
-
icons: {
|
|
1997
|
-
light: {
|
|
1998
|
-
svg: string;
|
|
1999
|
-
png: string;
|
|
2000
|
-
};
|
|
2001
|
-
dark: {
|
|
2002
|
-
svg: string;
|
|
2003
|
-
png: string;
|
|
2004
|
-
};
|
|
2005
|
-
};
|
|
2006
|
-
strategy: import("../..").PHOTO_SESSION_STRATEGY;
|
|
2007
|
-
maxInputLength: number;
|
|
2008
|
-
params: {
|
|
2009
|
-
imageAttachment: {
|
|
2010
|
-
supported: boolean;
|
|
2011
|
-
maxImages: number;
|
|
2012
|
-
acceptedTypes: string[];
|
|
2013
|
-
};
|
|
2014
|
-
aspectRatio: Record<string, {
|
|
2015
|
-
width: number;
|
|
2016
|
-
height: number;
|
|
2017
|
-
}>;
|
|
2018
|
-
};
|
|
2019
|
-
pricingRules: {
|
|
2020
|
-
condition: {
|
|
2021
|
-
withoutSub?: boolean | undefined;
|
|
2022
|
-
};
|
|
2023
|
-
value: number;
|
|
2024
|
-
}[];
|
|
2025
|
-
createdAt: Date;
|
|
2026
|
-
updatedAt: Date;
|
|
2027
|
-
}[];
|
|
2028
|
-
styles: {
|
|
2029
|
-
uuid: string;
|
|
2030
|
-
code: string;
|
|
2031
|
-
title: string;
|
|
2032
|
-
description?: string | null | undefined;
|
|
2033
|
-
references: {
|
|
2034
|
-
uuid: string;
|
|
2035
|
-
styleId: string;
|
|
2036
|
-
photoUrl: string;
|
|
2037
|
-
description?: string | null | undefined;
|
|
2038
|
-
order: number;
|
|
2039
|
-
createdAt: Date;
|
|
2040
|
-
updatedAt: Date;
|
|
2041
|
-
}[];
|
|
2042
|
-
createdAt: Date;
|
|
2043
|
-
updatedAt: Date;
|
|
2044
|
-
}[];
|
|
2045
|
-
looks: {
|
|
2046
|
-
type: import("../..").PHOTO_SESSION_LOOK_TYPE;
|
|
2047
|
-
maxPhotos: number;
|
|
2048
|
-
}[];
|
|
2049
|
-
};
|
|
2050
1898
|
IMAGE_RECOGNITION: {
|
|
2051
1899
|
models: {
|
|
2052
1900
|
uuid: string;
|
|
@@ -657,7 +657,6 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
657
657
|
};
|
|
658
658
|
strategy?: string | undefined;
|
|
659
659
|
maxInputLength: number;
|
|
660
|
-
maxSpeakers: number;
|
|
661
660
|
voices: {
|
|
662
661
|
id: string;
|
|
663
662
|
externalId: string;
|
|
@@ -758,16 +757,6 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
758
757
|
createdAt: Date;
|
|
759
758
|
updatedAt: Date;
|
|
760
759
|
}[];
|
|
761
|
-
tags: {
|
|
762
|
-
id: import("../..").VOICE_TAG;
|
|
763
|
-
group: import("../..").VOICE_TAG_GROUP;
|
|
764
|
-
label: string;
|
|
765
|
-
}[];
|
|
766
|
-
categories: {
|
|
767
|
-
id: import("../..").VOICE_CATEGORY;
|
|
768
|
-
label: string;
|
|
769
|
-
}[];
|
|
770
|
-
speakerMarkerLabel: string;
|
|
771
760
|
};
|
|
772
761
|
} | {
|
|
773
762
|
uuid: string;
|
|
@@ -1869,7 +1858,6 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
1869
1858
|
};
|
|
1870
1859
|
strategy?: string | undefined;
|
|
1871
1860
|
maxInputLength: number;
|
|
1872
|
-
maxSpeakers: number;
|
|
1873
1861
|
voices: {
|
|
1874
1862
|
id: string;
|
|
1875
1863
|
externalId: string;
|
|
@@ -1970,16 +1958,6 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
1970
1958
|
createdAt: Date;
|
|
1971
1959
|
updatedAt: Date;
|
|
1972
1960
|
}[];
|
|
1973
|
-
tags: {
|
|
1974
|
-
id: import("../..").VOICE_TAG;
|
|
1975
|
-
group: import("../..").VOICE_TAG_GROUP;
|
|
1976
|
-
label: string;
|
|
1977
|
-
}[];
|
|
1978
|
-
categories: {
|
|
1979
|
-
id: import("../..").VOICE_CATEGORY;
|
|
1980
|
-
label: string;
|
|
1981
|
-
}[];
|
|
1982
|
-
speakerMarkerLabel: string;
|
|
1983
1961
|
};
|
|
1984
1962
|
} | {
|
|
1985
1963
|
uuid: string;
|
|
@@ -6,10 +6,3 @@ export * from './tts.command';
|
|
|
6
6
|
export * from './get-tts-price.command';
|
|
7
7
|
export * from './update-tts-job-title.command';
|
|
8
8
|
export * from './update-tts-job-favorite.command';
|
|
9
|
-
export * from './create-voice-clone.command';
|
|
10
|
-
export * from './create-voice-design.command';
|
|
11
|
-
export * from './select-voice-design.command';
|
|
12
|
-
export * from './update-voice.command';
|
|
13
|
-
export * from './delete-voice.command';
|
|
14
|
-
export * from './improve-tts-text.command';
|
|
15
|
-
export * from './download-tts-job.command';
|
|
@@ -22,10 +22,3 @@ __exportStar(require("./tts.command"), exports);
|
|
|
22
22
|
__exportStar(require("./get-tts-price.command"), exports);
|
|
23
23
|
__exportStar(require("./update-tts-job-title.command"), exports);
|
|
24
24
|
__exportStar(require("./update-tts-job-favorite.command"), exports);
|
|
25
|
-
__exportStar(require("./create-voice-clone.command"), exports);
|
|
26
|
-
__exportStar(require("./create-voice-design.command"), exports);
|
|
27
|
-
__exportStar(require("./select-voice-design.command"), exports);
|
|
28
|
-
__exportStar(require("./update-voice.command"), exports);
|
|
29
|
-
__exportStar(require("./delete-voice.command"), exports);
|
|
30
|
-
__exportStar(require("./improve-tts-text.command"), exports);
|
|
31
|
-
__exportStar(require("./download-tts-job.command"), exports);
|
|
@@ -4,9 +4,9 @@ export declare namespace RetryTTSJobCommand {
|
|
|
4
4
|
uuid: z.ZodString;
|
|
5
5
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
6
|
unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
-
locale: z.ZodOptional<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>>;
|
|
8
7
|
tokenReservationId: z.ZodString;
|
|
9
8
|
precalculatedPrice: z.ZodNumber;
|
|
9
|
+
mock: z.ZodOptional<z.ZodBoolean>;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
type Request = z.infer<typeof RequestSchema>;
|
|
12
12
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -21,22 +21,9 @@ export declare namespace RetryTTSJobCommand {
|
|
|
21
21
|
status: import("../..").JOB_STATUS;
|
|
22
22
|
error: string | null;
|
|
23
23
|
modelId: string;
|
|
24
|
-
voiceId: string
|
|
25
|
-
isDialog: boolean;
|
|
26
|
-
speakers: {
|
|
27
|
-
speaker: number;
|
|
28
|
-
voiceId: string;
|
|
29
|
-
}[];
|
|
30
|
-
voices: {
|
|
31
|
-
uuid: string;
|
|
32
|
-
title: string;
|
|
33
|
-
previewUrl: string;
|
|
34
|
-
isDeleted: boolean;
|
|
35
|
-
speaker: number | null;
|
|
36
|
-
}[];
|
|
24
|
+
voiceId: string;
|
|
37
25
|
price: number;
|
|
38
26
|
duration: number;
|
|
39
|
-
scope: import("../..").JOB_SCOPE;
|
|
40
27
|
userId: string | null;
|
|
41
28
|
unregisteredUserId: string | null;
|
|
42
29
|
tokenReservationId?: string | null | undefined;
|
|
@@ -65,22 +52,9 @@ export declare namespace RetryTTSJobCommand {
|
|
|
65
52
|
status: import("../..").JOB_STATUS;
|
|
66
53
|
error: string | null;
|
|
67
54
|
modelId: string;
|
|
68
|
-
voiceId: string
|
|
69
|
-
isDialog: boolean;
|
|
70
|
-
speakers: {
|
|
71
|
-
speaker: number;
|
|
72
|
-
voiceId: string;
|
|
73
|
-
}[];
|
|
74
|
-
voices: {
|
|
75
|
-
uuid: string;
|
|
76
|
-
title: string;
|
|
77
|
-
previewUrl: string;
|
|
78
|
-
isDeleted: boolean;
|
|
79
|
-
speaker: number | null;
|
|
80
|
-
}[];
|
|
55
|
+
voiceId: string;
|
|
81
56
|
price: number;
|
|
82
57
|
duration: number;
|
|
83
|
-
scope: import("../..").JOB_SCOPE;
|
|
84
58
|
userId: string | null;
|
|
85
59
|
unregisteredUserId: string | null;
|
|
86
60
|
tokenReservationId?: string | null | undefined;
|
|
@@ -4,16 +4,15 @@ exports.RetryTTSJobCommand = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const command_response_schema_1 = require("../../common/models/command-response.schema");
|
|
6
6
|
const tts_job_schema_1 = require("../models/tts-job.schema");
|
|
7
|
-
const common_1 = require("../../common");
|
|
8
7
|
var RetryTTSJobCommand;
|
|
9
8
|
(function (RetryTTSJobCommand) {
|
|
10
9
|
RetryTTSJobCommand.RequestSchema = zod_1.z.object({
|
|
11
10
|
uuid: zod_1.z.string().uuid(),
|
|
12
11
|
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
13
12
|
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
14
|
-
locale: common_1.LocaleSchema.optional(),
|
|
15
13
|
tokenReservationId: zod_1.z.string().uuid(),
|
|
16
14
|
precalculatedPrice: zod_1.z.number(),
|
|
15
|
+
mock: zod_1.z.boolean().optional(),
|
|
17
16
|
});
|
|
18
17
|
RetryTTSJobCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(tts_job_schema_1.TTSJobSchema);
|
|
19
18
|
})(RetryTTSJobCommand || (exports.RetryTTSJobCommand = RetryTTSJobCommand = {}));
|
|
@@ -4,7 +4,6 @@ export declare namespace SetReactionToTTSJobCommand {
|
|
|
4
4
|
const RequestSchema: z.ZodObject<{
|
|
5
5
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
6
|
unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
-
locale: z.ZodOptional<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>>;
|
|
8
7
|
uuid: z.ZodString;
|
|
9
8
|
reaction: z.ZodNullable<z.ZodEnum<typeof USER_REACTION>>;
|
|
10
9
|
dislikeReason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -22,22 +21,9 @@ export declare namespace SetReactionToTTSJobCommand {
|
|
|
22
21
|
status: import("../..").JOB_STATUS;
|
|
23
22
|
error: string | null;
|
|
24
23
|
modelId: string;
|
|
25
|
-
voiceId: string
|
|
26
|
-
isDialog: boolean;
|
|
27
|
-
speakers: {
|
|
28
|
-
speaker: number;
|
|
29
|
-
voiceId: string;
|
|
30
|
-
}[];
|
|
31
|
-
voices: {
|
|
32
|
-
uuid: string;
|
|
33
|
-
title: string;
|
|
34
|
-
previewUrl: string;
|
|
35
|
-
isDeleted: boolean;
|
|
36
|
-
speaker: number | null;
|
|
37
|
-
}[];
|
|
24
|
+
voiceId: string;
|
|
38
25
|
price: number;
|
|
39
26
|
duration: number;
|
|
40
|
-
scope: import("../..").JOB_SCOPE;
|
|
41
27
|
userId: string | null;
|
|
42
28
|
unregisteredUserId: string | null;
|
|
43
29
|
tokenReservationId?: string | null | undefined;
|
|
@@ -66,22 +52,9 @@ export declare namespace SetReactionToTTSJobCommand {
|
|
|
66
52
|
status: import("../..").JOB_STATUS;
|
|
67
53
|
error: string | null;
|
|
68
54
|
modelId: string;
|
|
69
|
-
voiceId: string
|
|
70
|
-
isDialog: boolean;
|
|
71
|
-
speakers: {
|
|
72
|
-
speaker: number;
|
|
73
|
-
voiceId: string;
|
|
74
|
-
}[];
|
|
75
|
-
voices: {
|
|
76
|
-
uuid: string;
|
|
77
|
-
title: string;
|
|
78
|
-
previewUrl: string;
|
|
79
|
-
isDeleted: boolean;
|
|
80
|
-
speaker: number | null;
|
|
81
|
-
}[];
|
|
55
|
+
voiceId: string;
|
|
82
56
|
price: number;
|
|
83
57
|
duration: number;
|
|
84
|
-
scope: import("../..").JOB_SCOPE;
|
|
85
58
|
userId: string | null;
|
|
86
59
|
unregisteredUserId: string | null;
|
|
87
60
|
tokenReservationId?: string | null | undefined;
|
|
@@ -11,7 +11,6 @@ var SetReactionToTTSJobCommand;
|
|
|
11
11
|
.object({
|
|
12
12
|
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
13
13
|
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
14
|
-
locale: common_1.LocaleSchema.optional(),
|
|
15
14
|
uuid: zod_1.z.string().uuid(),
|
|
16
15
|
reaction: zod_1.z.nativeEnum(common_1.USER_REACTION).nullable(),
|
|
17
16
|
dislikeReason: zod_1.z.string().nullable().default(null),
|
|
@@ -5,15 +5,9 @@ export declare namespace TTSCommand {
|
|
|
5
5
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
6
|
unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
7
|
scope: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof JOB_SCOPE>>>;
|
|
8
|
-
locale: z.ZodOptional<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>>;
|
|
9
8
|
modelId: z.ZodString;
|
|
10
|
-
voiceId: z.
|
|
9
|
+
voiceId: z.ZodString;
|
|
11
10
|
userInput: z.ZodString;
|
|
12
|
-
isDialog: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
13
|
-
speakers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14
|
-
speaker: z.ZodNumber;
|
|
15
|
-
voiceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>>>>;
|
|
17
11
|
params: z.ZodOptional<z.ZodObject<{
|
|
18
12
|
speed: z.ZodOptional<z.ZodNumber>;
|
|
19
13
|
similarity: z.ZodOptional<z.ZodNumber>;
|
|
@@ -26,6 +20,7 @@ export declare namespace TTSCommand {
|
|
|
26
20
|
}, z.core.$strip>>>>;
|
|
27
21
|
tokenReservationId: z.ZodString;
|
|
28
22
|
precalculatedPrice: z.ZodNumber;
|
|
23
|
+
mock: z.ZodOptional<z.ZodBoolean>;
|
|
29
24
|
}, z.core.$strip>;
|
|
30
25
|
type Request = z.infer<typeof RequestSchema>;
|
|
31
26
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -40,22 +35,9 @@ export declare namespace TTSCommand {
|
|
|
40
35
|
status: import("../..").JOB_STATUS;
|
|
41
36
|
error: string | null;
|
|
42
37
|
modelId: string;
|
|
43
|
-
voiceId: string
|
|
44
|
-
isDialog: boolean;
|
|
45
|
-
speakers: {
|
|
46
|
-
speaker: number;
|
|
47
|
-
voiceId: string;
|
|
48
|
-
}[];
|
|
49
|
-
voices: {
|
|
50
|
-
uuid: string;
|
|
51
|
-
title: string;
|
|
52
|
-
previewUrl: string;
|
|
53
|
-
isDeleted: boolean;
|
|
54
|
-
speaker: number | null;
|
|
55
|
-
}[];
|
|
38
|
+
voiceId: string;
|
|
56
39
|
price: number;
|
|
57
40
|
duration: number;
|
|
58
|
-
scope: JOB_SCOPE;
|
|
59
41
|
userId: string | null;
|
|
60
42
|
unregisteredUserId: string | null;
|
|
61
43
|
tokenReservationId?: string | null | undefined;
|
|
@@ -84,22 +66,9 @@ export declare namespace TTSCommand {
|
|
|
84
66
|
status: import("../..").JOB_STATUS;
|
|
85
67
|
error: string | null;
|
|
86
68
|
modelId: string;
|
|
87
|
-
voiceId: string
|
|
88
|
-
isDialog: boolean;
|
|
89
|
-
speakers: {
|
|
90
|
-
speaker: number;
|
|
91
|
-
voiceId: string;
|
|
92
|
-
}[];
|
|
93
|
-
voices: {
|
|
94
|
-
uuid: string;
|
|
95
|
-
title: string;
|
|
96
|
-
previewUrl: string;
|
|
97
|
-
isDeleted: boolean;
|
|
98
|
-
speaker: number | null;
|
|
99
|
-
}[];
|
|
69
|
+
voiceId: string;
|
|
100
70
|
price: number;
|
|
101
71
|
duration: number;
|
|
102
|
-
scope: JOB_SCOPE;
|
|
103
72
|
userId: string | null;
|
|
104
73
|
unregisteredUserId: string | null;
|
|
105
74
|
tokenReservationId?: string | null | undefined;
|
|
@@ -11,12 +11,9 @@ var TTSCommand;
|
|
|
11
11
|
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
12
12
|
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
13
13
|
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
|
|
14
|
-
locale: common_1.LocaleSchema.optional(),
|
|
15
14
|
modelId: zod_1.z.string(),
|
|
16
|
-
voiceId: zod_1.z.string()
|
|
15
|
+
voiceId: zod_1.z.string(),
|
|
17
16
|
userInput: zod_1.z.string(),
|
|
18
|
-
isDialog: zod_1.z.boolean().optional().default(false),
|
|
19
|
-
speakers: zod_1.z.array(tts_job_schema_1.TTSJobSpeakerSchema).optional().default([]),
|
|
20
17
|
params: zod_1.z
|
|
21
18
|
.object({
|
|
22
19
|
speed: zod_1.z.number().optional(),
|
|
@@ -28,6 +25,7 @@ var TTSCommand;
|
|
|
28
25
|
references: zod_1.z.array(tts_job_schema_1.TTSReferenceSchema).optional().default([]),
|
|
29
26
|
tokenReservationId: zod_1.z.string().uuid(),
|
|
30
27
|
precalculatedPrice: zod_1.z.number(),
|
|
28
|
+
mock: zod_1.z.boolean().optional(),
|
|
31
29
|
});
|
|
32
30
|
TTSCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(tts_job_schema_1.TTSJobSchema);
|
|
33
31
|
})(TTSCommand || (exports.TTSCommand = TTSCommand = {}));
|
|
@@ -4,7 +4,6 @@ export declare namespace UpdateTTSJobFavoriteCommand {
|
|
|
4
4
|
uuid: z.ZodString;
|
|
5
5
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
6
|
unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
-
locale: z.ZodOptional<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>>;
|
|
8
7
|
isFavorite: z.ZodBoolean;
|
|
9
8
|
}, z.core.$strip>;
|
|
10
9
|
type Request = z.infer<typeof RequestSchema>;
|
|
@@ -20,22 +19,9 @@ export declare namespace UpdateTTSJobFavoriteCommand {
|
|
|
20
19
|
status: import("../..").JOB_STATUS;
|
|
21
20
|
error: string | null;
|
|
22
21
|
modelId: string;
|
|
23
|
-
voiceId: string
|
|
24
|
-
isDialog: boolean;
|
|
25
|
-
speakers: {
|
|
26
|
-
speaker: number;
|
|
27
|
-
voiceId: string;
|
|
28
|
-
}[];
|
|
29
|
-
voices: {
|
|
30
|
-
uuid: string;
|
|
31
|
-
title: string;
|
|
32
|
-
previewUrl: string;
|
|
33
|
-
isDeleted: boolean;
|
|
34
|
-
speaker: number | null;
|
|
35
|
-
}[];
|
|
22
|
+
voiceId: string;
|
|
36
23
|
price: number;
|
|
37
24
|
duration: number;
|
|
38
|
-
scope: import("../..").JOB_SCOPE;
|
|
39
25
|
userId: string | null;
|
|
40
26
|
unregisteredUserId: string | null;
|
|
41
27
|
tokenReservationId?: string | null | undefined;
|
|
@@ -64,22 +50,9 @@ export declare namespace UpdateTTSJobFavoriteCommand {
|
|
|
64
50
|
status: import("../..").JOB_STATUS;
|
|
65
51
|
error: string | null;
|
|
66
52
|
modelId: string;
|
|
67
|
-
voiceId: string
|
|
68
|
-
isDialog: boolean;
|
|
69
|
-
speakers: {
|
|
70
|
-
speaker: number;
|
|
71
|
-
voiceId: string;
|
|
72
|
-
}[];
|
|
73
|
-
voices: {
|
|
74
|
-
uuid: string;
|
|
75
|
-
title: string;
|
|
76
|
-
previewUrl: string;
|
|
77
|
-
isDeleted: boolean;
|
|
78
|
-
speaker: number | null;
|
|
79
|
-
}[];
|
|
53
|
+
voiceId: string;
|
|
80
54
|
price: number;
|
|
81
55
|
duration: number;
|
|
82
|
-
scope: import("../..").JOB_SCOPE;
|
|
83
56
|
userId: string | null;
|
|
84
57
|
unregisteredUserId: string | null;
|
|
85
58
|
tokenReservationId?: string | null | undefined;
|
|
@@ -4,14 +4,12 @@ exports.UpdateTTSJobFavoriteCommand = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const command_response_schema_1 = require("../../common/models/command-response.schema");
|
|
6
6
|
const tts_job_schema_1 = require("../models/tts-job.schema");
|
|
7
|
-
const common_1 = require("../../common");
|
|
8
7
|
var UpdateTTSJobFavoriteCommand;
|
|
9
8
|
(function (UpdateTTSJobFavoriteCommand) {
|
|
10
9
|
UpdateTTSJobFavoriteCommand.RequestSchema = zod_1.z.object({
|
|
11
10
|
uuid: zod_1.z.string().uuid(),
|
|
12
11
|
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
13
12
|
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
14
|
-
locale: common_1.LocaleSchema.optional(),
|
|
15
13
|
isFavorite: zod_1.z.boolean(),
|
|
16
14
|
});
|
|
17
15
|
UpdateTTSJobFavoriteCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(tts_job_schema_1.TTSJobSchema);
|
|
@@ -4,7 +4,6 @@ export declare namespace UpdateTTSJobTitleCommand {
|
|
|
4
4
|
uuid: z.ZodString;
|
|
5
5
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
6
|
unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
-
locale: z.ZodOptional<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>>;
|
|
8
7
|
title: z.ZodString;
|
|
9
8
|
}, z.core.$strip>;
|
|
10
9
|
type Request = z.infer<typeof RequestSchema>;
|
|
@@ -20,22 +19,9 @@ export declare namespace UpdateTTSJobTitleCommand {
|
|
|
20
19
|
status: import("../..").JOB_STATUS;
|
|
21
20
|
error: string | null;
|
|
22
21
|
modelId: string;
|
|
23
|
-
voiceId: string
|
|
24
|
-
isDialog: boolean;
|
|
25
|
-
speakers: {
|
|
26
|
-
speaker: number;
|
|
27
|
-
voiceId: string;
|
|
28
|
-
}[];
|
|
29
|
-
voices: {
|
|
30
|
-
uuid: string;
|
|
31
|
-
title: string;
|
|
32
|
-
previewUrl: string;
|
|
33
|
-
isDeleted: boolean;
|
|
34
|
-
speaker: number | null;
|
|
35
|
-
}[];
|
|
22
|
+
voiceId: string;
|
|
36
23
|
price: number;
|
|
37
24
|
duration: number;
|
|
38
|
-
scope: import("../..").JOB_SCOPE;
|
|
39
25
|
userId: string | null;
|
|
40
26
|
unregisteredUserId: string | null;
|
|
41
27
|
tokenReservationId?: string | null | undefined;
|
|
@@ -64,22 +50,9 @@ export declare namespace UpdateTTSJobTitleCommand {
|
|
|
64
50
|
status: import("../..").JOB_STATUS;
|
|
65
51
|
error: string | null;
|
|
66
52
|
modelId: string;
|
|
67
|
-
voiceId: string
|
|
68
|
-
isDialog: boolean;
|
|
69
|
-
speakers: {
|
|
70
|
-
speaker: number;
|
|
71
|
-
voiceId: string;
|
|
72
|
-
}[];
|
|
73
|
-
voices: {
|
|
74
|
-
uuid: string;
|
|
75
|
-
title: string;
|
|
76
|
-
previewUrl: string;
|
|
77
|
-
isDeleted: boolean;
|
|
78
|
-
speaker: number | null;
|
|
79
|
-
}[];
|
|
53
|
+
voiceId: string;
|
|
80
54
|
price: number;
|
|
81
55
|
duration: number;
|
|
82
|
-
scope: import("../..").JOB_SCOPE;
|
|
83
56
|
userId: string | null;
|
|
84
57
|
unregisteredUserId: string | null;
|
|
85
58
|
tokenReservationId?: string | null | undefined;
|
|
@@ -4,14 +4,12 @@ exports.UpdateTTSJobTitleCommand = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const command_response_schema_1 = require("../../common/models/command-response.schema");
|
|
6
6
|
const tts_job_schema_1 = require("../models/tts-job.schema");
|
|
7
|
-
const common_1 = require("../../common");
|
|
8
7
|
var UpdateTTSJobTitleCommand;
|
|
9
8
|
(function (UpdateTTSJobTitleCommand) {
|
|
10
9
|
UpdateTTSJobTitleCommand.RequestSchema = zod_1.z.object({
|
|
11
10
|
uuid: zod_1.z.string().uuid(),
|
|
12
11
|
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
13
12
|
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
14
|
-
locale: common_1.LocaleSchema.optional(),
|
|
15
13
|
title: zod_1.z.string().min(1).max(40),
|
|
16
14
|
});
|
|
17
15
|
UpdateTTSJobTitleCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(tts_job_schema_1.TTSJobSchema);
|
|
@@ -1,9 +1,2 @@
|
|
|
1
1
|
export * from './tts-model-type.enum';
|
|
2
2
|
export * from './tts-strategy.enum';
|
|
3
|
-
export * from './voice-source.enum';
|
|
4
|
-
export * from './voice-status.enum';
|
|
5
|
-
export * from './voice-gender.enum';
|
|
6
|
-
export * from './voice-category.enum';
|
|
7
|
-
export * from './voice-tag.enum';
|
|
8
|
-
export * from './voice-tag-group.enum';
|
|
9
|
-
export * from './tts-download-format.enum';
|
package/build/tts/enums/index.js
CHANGED
|
@@ -16,10 +16,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./tts-model-type.enum"), exports);
|
|
18
18
|
__exportStar(require("./tts-strategy.enum"), exports);
|
|
19
|
-
__exportStar(require("./voice-source.enum"), exports);
|
|
20
|
-
__exportStar(require("./voice-status.enum"), exports);
|
|
21
|
-
__exportStar(require("./voice-gender.enum"), exports);
|
|
22
|
-
__exportStar(require("./voice-category.enum"), exports);
|
|
23
|
-
__exportStar(require("./voice-tag.enum"), exports);
|
|
24
|
-
__exportStar(require("./voice-tag-group.enum"), exports);
|
|
25
|
-
__exportStar(require("./tts-download-format.enum"), exports);
|