@purpleschool/gptbot 0.15.63 → 0.15.65-stage2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/api/controllers/http/avatar-studio.d.ts +5 -3
- package/build/api/controllers/http/avatar-studio.js +6 -5
- 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/spell-corrector.d.ts +1 -0
- package/build/api/controllers/http/spell-corrector.js +1 -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 +52 -5
- package/build/api/routes.js +52 -5
- package/build/commands/ai-studio/canvas-node/find-canvas-node-definitions-with-configs.query.d.ts +11 -0
- package/build/commands/avatar-studio/clip/create-avatar-studio-clip.command.d.ts +3 -2
- package/build/commands/avatar-studio/clip/find-avatar-studio-clips.query.d.ts +3 -2
- package/build/commands/avatar-studio/clip/get-avatar-studio-clip.query.d.ts +3 -2
- package/build/commands/avatar-studio/clip/update-avatar-studio-clip.command.d.ts +3 -2
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-video.command.d.ts +2 -1
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-voice.command.d.ts +4 -2
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-voice.command.js +4 -2
- package/build/commands/avatar-studio/generation-job/index.d.ts +0 -1
- package/build/commands/avatar-studio/generation-job/index.js +0 -1
- package/build/commands/avatar-studio/scene/{apply-avatar-studio-voice-sample-to-all-scenes.command.d.ts → apply-avatar-studio-voice-to-all-scenes.command.d.ts} +5 -4
- package/build/commands/avatar-studio/scene/apply-avatar-studio-voice-to-all-scenes.command.js +17 -0
- package/build/commands/avatar-studio/scene/create-avatar-studio-scene.command.d.ts +3 -2
- package/build/commands/avatar-studio/scene/index.d.ts +1 -1
- package/build/commands/avatar-studio/scene/index.js +1 -1
- package/build/commands/avatar-studio/scene/reorder-avatar-studio-scenes.command.d.ts +3 -2
- package/build/commands/avatar-studio/scene/set-avatar-studio-scene-slot.command.d.ts +3 -2
- package/build/commands/avatar-studio/scene/update-avatar-studio-scene.command.d.ts +6 -4
- package/build/commands/avatar-studio/scriptwriter/apply-avatar-studio-scriptwriter-message.command.d.ts +3 -2
- package/build/commands/avatar-studio/scriptwriter/create-avatar-studio-scriptwriter-message.command.d.ts +7 -4
- package/build/commands/avatar-studio/scriptwriter/create-avatar-studio-scriptwriter-message.command.js +4 -2
- package/build/commands/avatar-studio/shared/avatar-studio-common.schema.d.ts +8 -5
- package/build/commands/avatar-studio/shared/avatar-studio-common.schema.js +2 -1
- package/build/commands/avatar-studio/shared/get-avatar-studio-config.query.d.ts +68 -65
- package/build/commands/avatar-studio/shared/get-avatar-studio-config.query.js +58 -40
- package/build/commands/avatar-studio/voice/clone-avatar-studio-voice.command.d.ts +43 -0
- package/build/commands/avatar-studio/voice/clone-avatar-studio-voice.command.js +19 -0
- package/build/commands/avatar-studio/voice/delete-avatar-studio-voice.command.d.ts +11 -0
- package/build/commands/avatar-studio/voice/delete-avatar-studio-voice.command.js +13 -0
- package/build/commands/avatar-studio/voice/design-avatar-studio-voice.command.d.ts +26 -56
- package/build/commands/avatar-studio/voice/design-avatar-studio-voice.command.js +6 -7
- package/build/commands/avatar-studio/voice/find-avatar-studio-voices.query.d.ts +36 -0
- package/build/commands/avatar-studio/voice/find-avatar-studio-voices.query.js +11 -0
- package/build/commands/avatar-studio/voice/index.d.ts +3 -0
- package/build/commands/avatar-studio/voice/index.js +3 -0
- package/build/commands/community/create-community-post.command.d.ts +4 -0
- package/build/commands/community/get-all-community-posts-by-criteria.command.d.ts +4 -0
- package/build/commands/community/get-community-post-by-uuid.command.d.ts +4 -0
- package/build/commands/community/get-my-community-posts-by-criteria.command.d.ts +4 -0
- package/build/commands/community/get-my-favorite-community-posts.command.d.ts +4 -0
- package/build/commands/community/get-my-likes-community-posts.command.d.ts +4 -0
- package/build/commands/community/set-like-community-post.command.d.ts +4 -0
- package/build/commands/tools/html-page-builder/execute-html-page-builder.command.d.ts +2 -0
- package/build/commands/tools/html-page-builder/find-html-page-builder-session-by-uuid.command.d.ts +2 -0
- package/build/commands/tools/html-page-builder/find-html-page-builder-sessions.command.d.ts +2 -0
- package/build/commands/tools/html-page-builder/update-html-page-builder-session-favorite.command.d.ts +2 -0
- package/build/commands/tools/html-page-builder/update-html-page-builder-session-title.command.d.ts +2 -0
- package/build/commands/tools/image-editor/find-image-editor-job-by-uuid.command.d.ts +2 -0
- package/build/commands/tools/image-editor/find-image-editor-jobs.command.d.ts +2 -0
- package/build/commands/tools/image-editor/retry-image-editor-job.command.d.ts +2 -0
- package/build/commands/tools/image-editor/set-reaction-to-image-editor-job.command.d.ts +2 -0
- package/build/commands/tools/image-editor/update-image-editor-job-favorite.command.d.ts +2 -0
- package/build/commands/tools/image-editor/update-image-editor-job-title.command.d.ts +2 -0
- package/build/commands/tools/image-recognition/find-image-recognition-job-by-uuid.command.d.ts +2 -0
- package/build/commands/tools/image-recognition/find-image-recognition-jobs.command.d.ts +2 -0
- package/build/commands/tools/image-recognition/image-recognition.command.d.ts +2 -0
- package/build/commands/tools/image-recognition/retry-image-recognition-job.command.d.ts +2 -0
- package/build/commands/tools/image-recognition/set-reaction-to-image-recognition-job.command.d.ts +2 -0
- package/build/commands/tools/image-recognition/update-image-recognition-job-favorite.command.d.ts +2 -0
- package/build/commands/tools/image-recognition/update-image-recognition-job-title.command.d.ts +2 -0
- package/build/commands/tools/index.d.ts +1 -0
- package/build/commands/tools/index.js +1 -0
- package/build/commands/tools/interior-design/find-interior-design-job-by-uuid.command.d.ts +2 -0
- package/build/commands/tools/interior-design/find-interior-design-jobs.command.d.ts +2 -0
- package/build/commands/tools/interior-design/retry-interior-design-job.command.d.ts +2 -0
- package/build/commands/tools/interior-design/set-reaction-to-interior-design-job.command.d.ts +2 -0
- package/build/commands/tools/interior-design/update-interior-design-job-favorite.command.d.ts +2 -0
- package/build/commands/tools/interior-design/update-interior-design-job-title.command.d.ts +2 -0
- package/build/commands/tools/music/add-track-to-music-playlist.command.d.ts +90 -23
- package/build/commands/tools/music/add-track-to-music-playlist.command.js +1 -1
- package/build/commands/tools/music/create-music-playlist.command.d.ts +89 -22
- package/build/commands/tools/music/edit-music.command.d.ts +6 -0
- package/build/commands/tools/music/find-music-job-by-uuid.command.d.ts +6 -0
- package/build/commands/tools/music/find-music-jobs.command.d.ts +6 -0
- package/build/commands/tools/music/find-music-playlists.command.d.ts +98 -22
- package/build/commands/tools/music/find-music-playlists.command.js +8 -0
- package/build/commands/tools/music/generate-music.command.d.ts +6 -0
- package/build/commands/tools/music/remove-track-from-music-playlist.command.d.ts +90 -23
- package/build/commands/tools/music/remove-track-from-music-playlist.command.js +1 -1
- package/build/commands/tools/music/retry-music-job.command.d.ts +6 -0
- package/build/commands/tools/music/set-reaction-to-music-job.command.d.ts +6 -0
- package/build/commands/tools/music/update-music-job-favorite.command.d.ts +6 -0
- package/build/commands/tools/music/update-music-job-title.command.d.ts +6 -0
- package/build/commands/tools/music/update-music-playlist.command.d.ts +89 -22
- 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 +4 -0
- package/build/commands/tools/photo-session/admin/index.js +20 -0
- package/build/commands/tools/photo-session/admin/list-photo-session-styles.command.d.ts +8 -0
- package/build/commands/tools/photo-session/admin/list-photo-session-styles.command.js +11 -0
- package/build/commands/tools/photo-session/admin/update-photo-session-style.command.d.ts +38 -0
- package/build/commands/tools/photo-session/admin/update-photo-session-style.command.js +21 -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 +119 -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 +128 -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 +75 -0
- package/build/commands/tools/photo-session/get-photo-session-config.command.js +11 -0
- package/build/commands/tools/photo-session/get-photo-session-styles.command.d.ts +23 -0
- package/build/commands/tools/photo-session/get-photo-session-styles.command.js +11 -0
- package/build/commands/tools/photo-session/index.d.ts +13 -0
- package/build/commands/tools/photo-session/index.js +29 -0
- package/build/commands/tools/photo-session/photo-session.command.d.ts +138 -0
- package/build/commands/tools/photo-session/photo-session.command.js +25 -0
- package/build/commands/tools/photo-session/retry-photo-session-job.command.d.ts +100 -0
- package/build/commands/tools/photo-session/retry-photo-session-job.command.js +14 -0
- package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.d.ts +106 -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 +104 -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 +123 -0
- package/build/commands/tools/photo-session/update-photo-session-job-title.command.js +17 -0
- package/build/commands/tools/photo-session/update-published-status-photo-session-job.command.d.ts +105 -0
- package/build/commands/tools/photo-session/update-published-status-photo-session-job.command.js +23 -0
- package/build/commands/tools/solving-edu-task/find-solving-edu-task-job-by-uuid.command.d.ts +2 -0
- package/build/commands/tools/solving-edu-task/find-solving-edu-task-jobs.command.d.ts +2 -0
- package/build/commands/tools/solving-edu-task/retry-solving-edu-task-job.command.d.ts +2 -0
- package/build/commands/tools/solving-edu-task/set-reaction-to-solving-edu-task-job.command.d.ts +2 -0
- package/build/commands/tools/solving-edu-task/solving-edu-task.command.d.ts +2 -0
- package/build/commands/tools/solving-edu-task/update-solving-edu-task-job-favorite.command.d.ts +2 -0
- package/build/commands/tools/solving-edu-task/update-solving-edu-task-job-title.command.d.ts +2 -0
- package/build/commands/tools/spell-corrector/find-spell-corrector-job-by-uuid.command.d.ts +24 -0
- package/build/commands/tools/spell-corrector/find-spell-corrector-jobs.command.d.ts +24 -0
- package/build/commands/tools/spell-corrector/get-spell-corrector-price.command.d.ts +24 -0
- package/build/commands/tools/spell-corrector/get-spell-corrector-price.command.js +25 -0
- package/build/commands/tools/spell-corrector/get-spell-corrector-tool-config.command.d.ts +3 -0
- package/build/commands/tools/spell-corrector/index.d.ts +1 -0
- package/build/commands/tools/spell-corrector/index.js +1 -0
- package/build/commands/tools/spell-corrector/retry-spell-corrector-job.command.d.ts +24 -0
- package/build/commands/tools/spell-corrector/set-reaction-to-spell-corrector-job.command.d.ts +24 -0
- package/build/commands/tools/spell-corrector/spell-corrector.command.d.ts +37 -1
- package/build/commands/tools/spell-corrector/spell-corrector.command.js +16 -3
- package/build/commands/tools/spell-corrector/update-spell-corrector-job-favorite.command.d.ts +24 -0
- package/build/commands/tools/spell-corrector/update-spell-corrector-job-title.command.d.ts +24 -0
- package/build/commands/tools/tts/create-voice-clone.command.d.ts +44 -0
- package/build/commands/tools/tts/create-voice-clone.command.js +18 -0
- package/build/commands/tools/tts/create-voice-design.command.d.ts +24 -0
- package/build/commands/tools/tts/create-voice-design.command.js +18 -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 +40 -0
- package/build/commands/tools/tts/find-voice-by-uuid.query.js +14 -0
- package/build/commands/tools/tts/find-voices.query.d.ts +48 -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 +44 -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 +45 -0
- package/build/commands/tools/tts/update-voice.command.js +18 -0
- package/build/constants/avatar-studio/enums/avatar-studio-job-type.enum.d.ts +1 -0
- package/build/constants/avatar-studio/enums/avatar-studio-job-type.enum.js +1 -0
- package/build/constants/avatar-studio/enums/avatar-studio-media-kind.enum.d.ts +1 -2
- package/build/constants/avatar-studio/enums/avatar-studio-media-kind.enum.js +0 -1
- package/build/constants/avatar-studio/enums/avatar-studio-model-purpose.enum.d.ts +6 -0
- package/build/constants/avatar-studio/enums/avatar-studio-model-purpose.enum.js +10 -0
- package/build/constants/avatar-studio/enums/avatar-studio-slot.enum.d.ts +1 -1
- package/build/constants/avatar-studio/enums/avatar-studio-slot.enum.js +1 -1
- package/build/constants/avatar-studio/enums/index.d.ts +1 -1
- package/build/constants/avatar-studio/enums/index.js +1 -1
- package/build/constants/index.d.ts +3 -0
- package/build/constants/index.js +3 -0
- package/build/constants/tool/enums/index.d.ts +1 -0
- package/build/constants/tool/enums/index.js +1 -0
- package/build/constants/tool/enums/job-scope.enum.d.ts +5 -0
- package/build/constants/tool/enums/job-scope.enum.js +9 -0
- package/build/constants/tool-music/enums/music-action-type.enum.d.ts +0 -2
- package/build/constants/tool-music/enums/music-action-type.enum.js +0 -2
- package/build/constants/tool-music/enums/music-audio-action-type.enum.d.ts +0 -2
- package/build/constants/tool-music/enums/music-audio-action-type.enum.js +0 -2
- package/build/constants/tool-music/enums/music-generation-action-type.enum.d.ts +2 -1
- package/build/constants/tool-music/enums/music-generation-action-type.enum.js +1 -0
- 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-group-status.enum.d.ts +6 -0
- package/build/constants/tool-photo-session/enums/photo-session-group-status.enum.js +10 -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/index.d.ts +1 -0
- package/build/constants/tool-photo-session/index.js +17 -0
- package/build/constants/tool-spell-corrector/enums/index.d.ts +1 -0
- package/build/constants/tool-spell-corrector/enums/index.js +17 -0
- package/build/constants/tool-spell-corrector/enums/spell-corrector-input-kind.enum.d.ts +4 -0
- package/build/constants/tool-spell-corrector/enums/spell-corrector-input-kind.enum.js +8 -0
- package/build/constants/tool-spell-corrector/index.d.ts +1 -0
- package/build/constants/tool-spell-corrector/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 +19 -0
- package/build/constants/tool-tts/enums/voice-category.enum.js +23 -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/avatar-studio/avatar-studio.schema.d.ts +15 -11
- package/build/models/avatar-studio/avatar-studio.schema.js +8 -4
- package/build/models/canvas-node-definition.schema.d.ts +33 -0
- package/build/models/community/community-post-media-data.schema.d.ts +8 -0
- package/build/models/community/community-post.schema.d.ts +12 -0
- package/build/models/tools/common/attached-tool-file.schema.d.ts +2 -0
- package/build/models/tools/common/attached-tool-file.schema.js +2 -0
- package/build/models/tools/html-page-builder/html-page-builder-job.schema.d.ts +4 -0
- package/build/models/tools/html-page-builder/html-page-builder-session.schema.d.ts +2 -0
- package/build/models/tools/image-editor/image-editor-job.schema.d.ts +4 -0
- package/build/models/tools/image-recognition/image-recognition-job.schema.d.ts +4 -0
- package/build/models/tools/index.d.ts +1 -0
- package/build/models/tools/index.js +1 -0
- package/build/models/tools/interior-design/interior-design-job.schema.d.ts +4 -0
- package/build/models/tools/music/music-job.schema.d.ts +10 -0
- package/build/models/tools/music/music-job.schema.js +20 -19
- package/build/models/tools/music/music-playlist.schema.d.ts +89 -22
- package/build/models/tools/music/music-playlist.schema.js +3 -3
- package/build/models/tools/photo-session/index.d.ts +5 -0
- package/build/models/tools/photo-session/index.js +21 -0
- package/build/models/tools/photo-session/photo-session-config.schema.d.ts +141 -0
- package/build/models/tools/photo-session/photo-session-config.schema.js +21 -0
- package/build/models/tools/photo-session/photo-session-group.schema.d.ts +112 -0
- package/build/models/tools/photo-session/photo-session-group.schema.js +26 -0
- package/build/models/tools/photo-session/photo-session-job.schema.d.ts +158 -0
- package/build/models/tools/photo-session/photo-session-job.schema.js +55 -0
- package/build/models/tools/photo-session/photo-session-model.schema.d.ts +114 -0
- package/build/models/tools/photo-session/photo-session-model.schema.js +46 -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/solving-edu-task/solving-edu-task-job.schema.d.ts +4 -0
- package/build/models/tools/spell-corrector/spell-corrector-config.schema.d.ts +3 -0
- package/build/models/tools/spell-corrector/spell-corrector-config.schema.js +1 -0
- package/build/models/tools/spell-corrector/spell-corrector-job.schema.d.ts +39 -1
- package/build/models/tools/spell-corrector/spell-corrector-job.schema.js +23 -1
- package/build/models/tools/spell-corrector/spell-corrector-model.schema.d.ts +2 -0
- package/build/models/tools/spell-corrector/spell-corrector-model.schema.js +2 -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 +13 -0
- package/build/models/tools/tts/voice-design-draft.schema.js +13 -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 +33 -0
- package/build/models/tools/tts/voice.schema.js +37 -0
- package/package.json +1 -1
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-talking-avatar.command.d.ts +0 -78
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-talking-avatar.command.js +0 -14
- package/build/commands/avatar-studio/scene/apply-avatar-studio-voice-sample-to-all-scenes.command.js +0 -15
- package/build/constants/avatar-studio/enums/avatar-studio-video-quality.enum.d.ts +0 -4
- package/build/constants/avatar-studio/enums/avatar-studio-video-quality.enum.js +0 -8
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace FindVoiceByUuidQuery {
|
|
3
|
+
const RequestParamsSchema: z.ZodObject<{
|
|
4
|
+
uuid: z.ZodString;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
type RequestParams = z.infer<typeof RequestParamsSchema>;
|
|
7
|
+
const ResponseSchema: z.ZodObject<{
|
|
8
|
+
data: z.ZodObject<{
|
|
9
|
+
uuid: z.ZodString;
|
|
10
|
+
scope: z.ZodEnum<typeof import("../../..").JOB_SCOPE>;
|
|
11
|
+
source: z.ZodObject<{
|
|
12
|
+
id: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
|
|
13
|
+
label: z.ZodString;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
title: z.ZodString;
|
|
16
|
+
description: z.ZodString;
|
|
17
|
+
gender: z.ZodNullable<z.ZodObject<{
|
|
18
|
+
id: z.ZodEnum<typeof import("../../..").VOICE_GENDER>;
|
|
19
|
+
label: z.ZodString;
|
|
20
|
+
}, z.core.$strip>>;
|
|
21
|
+
trait: z.ZodNullable<z.ZodString>;
|
|
22
|
+
ageRange: z.ZodNullable<z.ZodString>;
|
|
23
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
24
|
+
id: z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>;
|
|
25
|
+
label: z.ZodString;
|
|
26
|
+
}, z.core.$strip>>;
|
|
27
|
+
previewUrl: z.ZodString;
|
|
28
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
29
|
+
status: z.ZodEnum<typeof import("../../..").VOICE_STATUS>;
|
|
30
|
+
error: z.ZodNullable<z.ZodString>;
|
|
31
|
+
order: z.ZodNumber;
|
|
32
|
+
isDeleted: z.ZodBoolean;
|
|
33
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
34
|
+
unregisteredUserId: z.ZodNullable<z.ZodString>;
|
|
35
|
+
createdAt: z.ZodDate;
|
|
36
|
+
updatedAt: z.ZodDate;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FindVoiceByUuidQuery = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const models_1 = require("../../../models");
|
|
6
|
+
var FindVoiceByUuidQuery;
|
|
7
|
+
(function (FindVoiceByUuidQuery) {
|
|
8
|
+
FindVoiceByUuidQuery.RequestParamsSchema = zod_1.z.object({
|
|
9
|
+
uuid: zod_1.z.string().uuid(),
|
|
10
|
+
});
|
|
11
|
+
FindVoiceByUuidQuery.ResponseSchema = zod_1.z.object({
|
|
12
|
+
data: models_1.VoiceSchema,
|
|
13
|
+
});
|
|
14
|
+
})(FindVoiceByUuidQuery || (exports.FindVoiceByUuidQuery = FindVoiceByUuidQuery = {}));
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { VOICE_CATEGORY, VOICE_GENDER } from '../../../constants';
|
|
3
|
+
export declare namespace FindVoicesQuery {
|
|
4
|
+
const RequestQuerySchema: z.ZodObject<{
|
|
5
|
+
ownership: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
6
|
+
all: "all";
|
|
7
|
+
library: "library";
|
|
8
|
+
mine: "mine";
|
|
9
|
+
}>>>;
|
|
10
|
+
category: z.ZodOptional<z.ZodEnum<typeof VOICE_CATEGORY>>;
|
|
11
|
+
gender: z.ZodOptional<z.ZodEnum<typeof VOICE_GENDER>>;
|
|
12
|
+
query: z.ZodOptional<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
type RequestQuery = z.infer<typeof RequestQuerySchema>;
|
|
15
|
+
const ResponseSchema: z.ZodObject<{
|
|
16
|
+
data: z.ZodArray<z.ZodObject<{
|
|
17
|
+
uuid: z.ZodString;
|
|
18
|
+
scope: z.ZodEnum<typeof import("../../..").JOB_SCOPE>;
|
|
19
|
+
source: z.ZodObject<{
|
|
20
|
+
id: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
|
|
21
|
+
label: z.ZodString;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
title: z.ZodString;
|
|
24
|
+
description: z.ZodString;
|
|
25
|
+
gender: z.ZodNullable<z.ZodObject<{
|
|
26
|
+
id: z.ZodEnum<typeof VOICE_GENDER>;
|
|
27
|
+
label: z.ZodString;
|
|
28
|
+
}, z.core.$strip>>;
|
|
29
|
+
trait: z.ZodNullable<z.ZodString>;
|
|
30
|
+
ageRange: z.ZodNullable<z.ZodString>;
|
|
31
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
32
|
+
id: z.ZodEnum<typeof VOICE_CATEGORY>;
|
|
33
|
+
label: z.ZodString;
|
|
34
|
+
}, z.core.$strip>>;
|
|
35
|
+
previewUrl: z.ZodString;
|
|
36
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
37
|
+
status: z.ZodEnum<typeof import("../../..").VOICE_STATUS>;
|
|
38
|
+
error: z.ZodNullable<z.ZodString>;
|
|
39
|
+
order: z.ZodNumber;
|
|
40
|
+
isDeleted: z.ZodBoolean;
|
|
41
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
42
|
+
unregisteredUserId: z.ZodNullable<z.ZodString>;
|
|
43
|
+
createdAt: z.ZodDate;
|
|
44
|
+
updatedAt: z.ZodDate;
|
|
45
|
+
}, z.core.$strip>>;
|
|
46
|
+
}, z.core.$strip>;
|
|
47
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
48
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FindVoicesQuery = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const constants_1 = require("../../../constants");
|
|
6
|
+
const models_1 = require("../../../models");
|
|
7
|
+
var FindVoicesQuery;
|
|
8
|
+
(function (FindVoicesQuery) {
|
|
9
|
+
FindVoicesQuery.RequestQuerySchema = zod_1.z.object({
|
|
10
|
+
ownership: zod_1.z.enum(['all', 'library', 'mine']).optional().default('all'),
|
|
11
|
+
category: zod_1.z.nativeEnum(constants_1.VOICE_CATEGORY).optional(),
|
|
12
|
+
gender: zod_1.z.nativeEnum(constants_1.VOICE_GENDER).optional(),
|
|
13
|
+
query: zod_1.z.string().optional(),
|
|
14
|
+
});
|
|
15
|
+
FindVoicesQuery.ResponseSchema = zod_1.z.object({
|
|
16
|
+
data: zod_1.z.array(models_1.VoiceSchema),
|
|
17
|
+
});
|
|
18
|
+
})(FindVoicesQuery || (exports.FindVoicesQuery = FindVoicesQuery = {}));
|
|
@@ -19,6 +19,7 @@ export declare namespace GetTTSToolConfigCommand {
|
|
|
19
19
|
}, z.core.$strip>;
|
|
20
20
|
}, z.core.$strip>;
|
|
21
21
|
maxInputLength: z.ZodNumber;
|
|
22
|
+
maxSpeakers: z.ZodNumber;
|
|
22
23
|
params: z.ZodObject<{
|
|
23
24
|
speed: z.ZodOptional<z.ZodObject<{
|
|
24
25
|
title: z.ZodString;
|
|
@@ -122,6 +123,16 @@ export declare namespace GetTTSToolConfigCommand {
|
|
|
122
123
|
canUse: z.ZodBoolean;
|
|
123
124
|
status: z.ZodString;
|
|
124
125
|
}, z.core.$strip>>;
|
|
126
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
127
|
+
id: z.ZodEnum<typeof import("../../..").VOICE_TAG>;
|
|
128
|
+
group: z.ZodEnum<typeof import("../../..").VOICE_TAG_GROUP>;
|
|
129
|
+
label: z.ZodString;
|
|
130
|
+
}, z.core.$strip>>;
|
|
131
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
132
|
+
id: z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>;
|
|
133
|
+
label: z.ZodString;
|
|
134
|
+
}, z.core.$strip>>;
|
|
135
|
+
speakerMarkerLabel: z.ZodString;
|
|
125
136
|
}, z.core.$strip>;
|
|
126
137
|
}, z.core.$strip>;
|
|
127
138
|
type Response = z.infer<typeof ResponseSchema>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace ImproveTTSTextCommand {
|
|
3
|
+
const RequestSchema: z.ZodObject<{
|
|
4
|
+
text: z.ZodString;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
7
|
+
const ResponseSchema: z.ZodObject<{
|
|
8
|
+
data: z.ZodObject<{
|
|
9
|
+
text: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ImproveTTSTextCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
var ImproveTTSTextCommand;
|
|
6
|
+
(function (ImproveTTSTextCommand) {
|
|
7
|
+
ImproveTTSTextCommand.RequestSchema = zod_1.z.object({
|
|
8
|
+
text: zod_1.z.string().min(1),
|
|
9
|
+
});
|
|
10
|
+
ImproveTTSTextCommand.ResponseSchema = zod_1.z.object({
|
|
11
|
+
data: zod_1.z.object({ text: zod_1.z.string() }),
|
|
12
|
+
});
|
|
13
|
+
})(ImproveTTSTextCommand || (exports.ImproveTTSTextCommand = ImproveTTSTextCommand = {}));
|
|
@@ -8,3 +8,12 @@ export * from './set-reaction-to-tts-job.command';
|
|
|
8
8
|
export * from './tts.command';
|
|
9
9
|
export * from './update-tts-job-title.command';
|
|
10
10
|
export * from './update-tts-job-favorite.command';
|
|
11
|
+
export * from './improve-tts-text.command';
|
|
12
|
+
export * from './find-voices.query';
|
|
13
|
+
export * from './find-voice-by-uuid.query';
|
|
14
|
+
export * from './create-voice-clone.command';
|
|
15
|
+
export * from './create-voice-design.command';
|
|
16
|
+
export * from './select-voice-design.command';
|
|
17
|
+
export * from './update-voice.command';
|
|
18
|
+
export * from './delete-voice.command';
|
|
19
|
+
export * from './download-tts-job.command';
|
|
@@ -24,3 +24,12 @@ __exportStar(require("./set-reaction-to-tts-job.command"), exports);
|
|
|
24
24
|
__exportStar(require("./tts.command"), exports);
|
|
25
25
|
__exportStar(require("./update-tts-job-title.command"), exports);
|
|
26
26
|
__exportStar(require("./update-tts-job-favorite.command"), exports);
|
|
27
|
+
__exportStar(require("./improve-tts-text.command"), exports);
|
|
28
|
+
__exportStar(require("./find-voices.query"), exports);
|
|
29
|
+
__exportStar(require("./find-voice-by-uuid.query"), exports);
|
|
30
|
+
__exportStar(require("./create-voice-clone.command"), exports);
|
|
31
|
+
__exportStar(require("./create-voice-design.command"), exports);
|
|
32
|
+
__exportStar(require("./select-voice-design.command"), exports);
|
|
33
|
+
__exportStar(require("./update-voice.command"), exports);
|
|
34
|
+
__exportStar(require("./delete-voice.command"), exports);
|
|
35
|
+
__exportStar(require("./download-tts-job.command"), exports);
|
|
@@ -24,7 +24,19 @@ export declare namespace RetryTTSJobCommand {
|
|
|
24
24
|
style: z.ZodOptional<z.ZodNumber>;
|
|
25
25
|
}, z.core.$strip>;
|
|
26
26
|
modelId: z.ZodString;
|
|
27
|
-
voiceId: z.ZodString
|
|
27
|
+
voiceId: z.ZodNullable<z.ZodString>;
|
|
28
|
+
isDialog: z.ZodBoolean;
|
|
29
|
+
speakers: z.ZodArray<z.ZodObject<{
|
|
30
|
+
speaker: z.ZodNumber;
|
|
31
|
+
voiceId: z.ZodString;
|
|
32
|
+
}, z.core.$strip>>;
|
|
33
|
+
voices: z.ZodArray<z.ZodObject<{
|
|
34
|
+
uuid: z.ZodString;
|
|
35
|
+
title: z.ZodString;
|
|
36
|
+
previewUrl: z.ZodString;
|
|
37
|
+
isDeleted: z.ZodBoolean;
|
|
38
|
+
speaker: z.ZodNullable<z.ZodNumber>;
|
|
39
|
+
}, z.core.$strip>>;
|
|
28
40
|
}, z.core.$strip>;
|
|
29
41
|
}, z.core.$strip>;
|
|
30
42
|
type Response = z.infer<typeof ResponseSchema>;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace SelectVoiceDesignCommand {
|
|
3
|
+
const RequestParamsSchema: z.ZodObject<{
|
|
4
|
+
designId: z.ZodString;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
type RequestParams = z.infer<typeof RequestParamsSchema>;
|
|
7
|
+
const RequestSchema: z.ZodObject<{
|
|
8
|
+
sampleId: 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
|
+
scope: z.ZodEnum<typeof import("../../..").JOB_SCOPE>;
|
|
15
|
+
source: z.ZodObject<{
|
|
16
|
+
id: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
|
|
17
|
+
label: z.ZodString;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
title: z.ZodString;
|
|
20
|
+
description: z.ZodString;
|
|
21
|
+
gender: z.ZodNullable<z.ZodObject<{
|
|
22
|
+
id: z.ZodEnum<typeof import("../../..").VOICE_GENDER>;
|
|
23
|
+
label: z.ZodString;
|
|
24
|
+
}, z.core.$strip>>;
|
|
25
|
+
trait: z.ZodNullable<z.ZodString>;
|
|
26
|
+
ageRange: z.ZodNullable<z.ZodString>;
|
|
27
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
28
|
+
id: z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>;
|
|
29
|
+
label: z.ZodString;
|
|
30
|
+
}, z.core.$strip>>;
|
|
31
|
+
previewUrl: z.ZodString;
|
|
32
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
33
|
+
status: z.ZodEnum<typeof import("../../..").VOICE_STATUS>;
|
|
34
|
+
error: z.ZodNullable<z.ZodString>;
|
|
35
|
+
order: z.ZodNumber;
|
|
36
|
+
isDeleted: z.ZodBoolean;
|
|
37
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
38
|
+
unregisteredUserId: z.ZodNullable<z.ZodString>;
|
|
39
|
+
createdAt: z.ZodDate;
|
|
40
|
+
updatedAt: z.ZodDate;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SelectVoiceDesignCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const models_1 = require("../../../models");
|
|
6
|
+
var SelectVoiceDesignCommand;
|
|
7
|
+
(function (SelectVoiceDesignCommand) {
|
|
8
|
+
SelectVoiceDesignCommand.RequestParamsSchema = zod_1.z.object({
|
|
9
|
+
designId: zod_1.z.string().uuid(),
|
|
10
|
+
});
|
|
11
|
+
SelectVoiceDesignCommand.RequestSchema = zod_1.z.object({
|
|
12
|
+
sampleId: zod_1.z.string().uuid(),
|
|
13
|
+
});
|
|
14
|
+
SelectVoiceDesignCommand.ResponseSchema = zod_1.z.object({
|
|
15
|
+
data: models_1.VoiceSchema,
|
|
16
|
+
});
|
|
17
|
+
})(SelectVoiceDesignCommand || (exports.SelectVoiceDesignCommand = SelectVoiceDesignCommand = {}));
|
|
@@ -30,7 +30,19 @@ export declare namespace SetReactionToTTSJobCommand {
|
|
|
30
30
|
style: z.ZodOptional<z.ZodNumber>;
|
|
31
31
|
}, z.core.$strip>;
|
|
32
32
|
modelId: z.ZodString;
|
|
33
|
-
voiceId: z.ZodString
|
|
33
|
+
voiceId: z.ZodNullable<z.ZodString>;
|
|
34
|
+
isDialog: z.ZodBoolean;
|
|
35
|
+
speakers: z.ZodArray<z.ZodObject<{
|
|
36
|
+
speaker: z.ZodNumber;
|
|
37
|
+
voiceId: z.ZodString;
|
|
38
|
+
}, z.core.$strip>>;
|
|
39
|
+
voices: z.ZodArray<z.ZodObject<{
|
|
40
|
+
uuid: z.ZodString;
|
|
41
|
+
title: z.ZodString;
|
|
42
|
+
previewUrl: z.ZodString;
|
|
43
|
+
isDeleted: z.ZodBoolean;
|
|
44
|
+
speaker: z.ZodNullable<z.ZodNumber>;
|
|
45
|
+
}, z.core.$strip>>;
|
|
34
46
|
}, z.core.$strip>;
|
|
35
47
|
}, z.core.$strip>;
|
|
36
48
|
type Response = z.infer<typeof ResponseSchema>;
|
|
@@ -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,45 @@
|
|
|
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
|
+
imageFileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
12
|
+
const ResponseSchema: z.ZodObject<{
|
|
13
|
+
data: z.ZodObject<{
|
|
14
|
+
uuid: z.ZodString;
|
|
15
|
+
scope: z.ZodEnum<typeof import("../../..").JOB_SCOPE>;
|
|
16
|
+
source: z.ZodObject<{
|
|
17
|
+
id: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
|
|
18
|
+
label: z.ZodString;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
title: z.ZodString;
|
|
21
|
+
description: z.ZodString;
|
|
22
|
+
gender: z.ZodNullable<z.ZodObject<{
|
|
23
|
+
id: z.ZodEnum<typeof import("../../..").VOICE_GENDER>;
|
|
24
|
+
label: z.ZodString;
|
|
25
|
+
}, z.core.$strip>>;
|
|
26
|
+
trait: z.ZodNullable<z.ZodString>;
|
|
27
|
+
ageRange: z.ZodNullable<z.ZodString>;
|
|
28
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
29
|
+
id: z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>;
|
|
30
|
+
label: z.ZodString;
|
|
31
|
+
}, z.core.$strip>>;
|
|
32
|
+
previewUrl: z.ZodString;
|
|
33
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
34
|
+
status: z.ZodEnum<typeof import("../../..").VOICE_STATUS>;
|
|
35
|
+
error: z.ZodNullable<z.ZodString>;
|
|
36
|
+
order: z.ZodNumber;
|
|
37
|
+
isDeleted: z.ZodBoolean;
|
|
38
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
39
|
+
unregisteredUserId: z.ZodNullable<z.ZodString>;
|
|
40
|
+
createdAt: z.ZodDate;
|
|
41
|
+
updatedAt: z.ZodDate;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
45
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
imageFileId: zod_1.z.string().uuid().nullable().optional(),
|
|
14
|
+
});
|
|
15
|
+
UpdateVoiceCommand.ResponseSchema = zod_1.z.object({
|
|
16
|
+
data: models_1.VoiceSchema,
|
|
17
|
+
});
|
|
18
|
+
})(UpdateVoiceCommand || (exports.UpdateVoiceCommand = UpdateVoiceCommand = {}));
|
|
@@ -5,5 +5,6 @@ export declare enum AVATAR_STUDIO_JOB_TYPE {
|
|
|
5
5
|
VOICE_TTS = "voice_tts",
|
|
6
6
|
VOICE_STT = "voice_stt",
|
|
7
7
|
TALKING_AVATAR = "talking_avatar",
|
|
8
|
+
/** legacy: новые job'ы этого типа не создаются, значение остаётся ради чтения продовой истории. */
|
|
8
9
|
VOICE_DESIGN = "voice_design"
|
|
9
10
|
}
|
|
@@ -9,5 +9,6 @@ var AVATAR_STUDIO_JOB_TYPE;
|
|
|
9
9
|
AVATAR_STUDIO_JOB_TYPE["VOICE_TTS"] = "voice_tts";
|
|
10
10
|
AVATAR_STUDIO_JOB_TYPE["VOICE_STT"] = "voice_stt";
|
|
11
11
|
AVATAR_STUDIO_JOB_TYPE["TALKING_AVATAR"] = "talking_avatar";
|
|
12
|
+
/** legacy: новые job'ы этого типа не создаются, значение остаётся ради чтения продовой истории. */
|
|
12
13
|
AVATAR_STUDIO_JOB_TYPE["VOICE_DESIGN"] = "voice_design";
|
|
13
14
|
})(AVATAR_STUDIO_JOB_TYPE || (exports.AVATAR_STUDIO_JOB_TYPE = AVATAR_STUDIO_JOB_TYPE = {}));
|
|
@@ -6,5 +6,4 @@ var AVATAR_STUDIO_MEDIA_KIND;
|
|
|
6
6
|
AVATAR_STUDIO_MEDIA_KIND["IMAGE"] = "image";
|
|
7
7
|
AVATAR_STUDIO_MEDIA_KIND["VIDEO"] = "video";
|
|
8
8
|
AVATAR_STUDIO_MEDIA_KIND["AUDIO"] = "audio";
|
|
9
|
-
AVATAR_STUDIO_MEDIA_KIND["VOICE_SAMPLE"] = "voice_sample";
|
|
10
9
|
})(AVATAR_STUDIO_MEDIA_KIND || (exports.AVATAR_STUDIO_MEDIA_KIND = AVATAR_STUDIO_MEDIA_KIND = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AVATAR_STUDIO_MODEL_PURPOSE = void 0;
|
|
4
|
+
var AVATAR_STUDIO_MODEL_PURPOSE;
|
|
5
|
+
(function (AVATAR_STUDIO_MODEL_PURPOSE) {
|
|
6
|
+
AVATAR_STUDIO_MODEL_PURPOSE["VIDEO"] = "video";
|
|
7
|
+
AVATAR_STUDIO_MODEL_PURPOSE["IMAGE"] = "image";
|
|
8
|
+
AVATAR_STUDIO_MODEL_PURPOSE["TTS"] = "tts";
|
|
9
|
+
AVATAR_STUDIO_MODEL_PURPOSE["STT"] = "stt";
|
|
10
|
+
})(AVATAR_STUDIO_MODEL_PURPOSE || (exports.AVATAR_STUDIO_MODEL_PURPOSE = AVATAR_STUDIO_MODEL_PURPOSE = {}));
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Здесь только то, что действительно является слотом сцены:
|
|
5
5
|
* - аватар и b-roll — два способа получить VIDEO, а не два слота (режим в videoConfig.videoMode);
|
|
6
|
-
* -
|
|
6
|
+
* - голос — вход сцены (scene.voiceConfig.voiceId), а не её результат;
|
|
7
7
|
* - референсы — несколько упорядоченных медиа, у них своя join-таблица;
|
|
8
8
|
* - «медиатека» слотом никогда не была: у таких job'ов targetSlot = null.
|
|
9
9
|
*/
|
|
@@ -6,7 +6,7 @@ exports.AVATAR_STUDIO_SLOT = void 0;
|
|
|
6
6
|
*
|
|
7
7
|
* Здесь только то, что действительно является слотом сцены:
|
|
8
8
|
* - аватар и b-roll — два способа получить VIDEO, а не два слота (режим в videoConfig.videoMode);
|
|
9
|
-
* -
|
|
9
|
+
* - голос — вход сцены (scene.voiceConfig.voiceId), а не её результат;
|
|
10
10
|
* - референсы — несколько упорядоченных медиа, у них своя join-таблица;
|
|
11
11
|
* - «медиатека» слотом никогда не была: у таких job'ов targetSlot = null.
|
|
12
12
|
*/
|
|
@@ -3,10 +3,10 @@ export * from './avatar-studio-image-style.enum';
|
|
|
3
3
|
export * from './avatar-studio-job-status.enum';
|
|
4
4
|
export * from './avatar-studio-job-type.enum';
|
|
5
5
|
export * from './avatar-studio-media-kind.enum';
|
|
6
|
+
export * from './avatar-studio-model-purpose.enum';
|
|
6
7
|
export * from './avatar-studio-scriptwriter-role.enum';
|
|
7
8
|
export * from './avatar-studio-slot.enum';
|
|
8
9
|
export * from './avatar-studio-subtitle-font.enum';
|
|
9
10
|
export * from './avatar-studio-unavailable-reason.enum';
|
|
10
11
|
export * from './avatar-studio-subtitle-mode.enum';
|
|
11
12
|
export * from './avatar-studio-video-mode.enum';
|
|
12
|
-
export * from './avatar-studio-video-quality.enum';
|
|
@@ -19,10 +19,10 @@ __exportStar(require("./avatar-studio-image-style.enum"), exports);
|
|
|
19
19
|
__exportStar(require("./avatar-studio-job-status.enum"), exports);
|
|
20
20
|
__exportStar(require("./avatar-studio-job-type.enum"), exports);
|
|
21
21
|
__exportStar(require("./avatar-studio-media-kind.enum"), exports);
|
|
22
|
+
__exportStar(require("./avatar-studio-model-purpose.enum"), exports);
|
|
22
23
|
__exportStar(require("./avatar-studio-scriptwriter-role.enum"), exports);
|
|
23
24
|
__exportStar(require("./avatar-studio-slot.enum"), exports);
|
|
24
25
|
__exportStar(require("./avatar-studio-subtitle-font.enum"), exports);
|
|
25
26
|
__exportStar(require("./avatar-studio-unavailable-reason.enum"), exports);
|
|
26
27
|
__exportStar(require("./avatar-studio-subtitle-mode.enum"), exports);
|
|
27
28
|
__exportStar(require("./avatar-studio-video-mode.enum"), exports);
|
|
28
|
-
__exportStar(require("./avatar-studio-video-quality.enum"), exports);
|
|
@@ -30,6 +30,7 @@ export * from './task';
|
|
|
30
30
|
export * from './telegram';
|
|
31
31
|
export * from './tool';
|
|
32
32
|
export * from './tool-paraphrase';
|
|
33
|
+
export * from './tool-spell-corrector';
|
|
33
34
|
export * from './transaction';
|
|
34
35
|
export * from './unregistered-user';
|
|
35
36
|
export * from './user';
|
|
@@ -41,6 +42,8 @@ export * from './tool-video-editor';
|
|
|
41
42
|
export * from './writer';
|
|
42
43
|
export * from './tool-image-editor';
|
|
43
44
|
export * from './tool-image-generation';
|
|
45
|
+
export * from './tool-photo-session';
|
|
46
|
+
export * from './tool-tts';
|
|
44
47
|
export * from './tool-interior-design';
|
|
45
48
|
export * from './tool-html-page-builder';
|
|
46
49
|
export * from './feedback';
|
package/build/constants/index.js
CHANGED
|
@@ -46,6 +46,7 @@ __exportStar(require("./task"), exports);
|
|
|
46
46
|
__exportStar(require("./telegram"), exports);
|
|
47
47
|
__exportStar(require("./tool"), exports);
|
|
48
48
|
__exportStar(require("./tool-paraphrase"), exports);
|
|
49
|
+
__exportStar(require("./tool-spell-corrector"), exports);
|
|
49
50
|
__exportStar(require("./transaction"), exports);
|
|
50
51
|
__exportStar(require("./unregistered-user"), exports);
|
|
51
52
|
__exportStar(require("./user"), exports);
|
|
@@ -57,6 +58,8 @@ __exportStar(require("./tool-video-editor"), exports);
|
|
|
57
58
|
__exportStar(require("./writer"), exports);
|
|
58
59
|
__exportStar(require("./tool-image-editor"), exports);
|
|
59
60
|
__exportStar(require("./tool-image-generation"), exports);
|
|
61
|
+
__exportStar(require("./tool-photo-session"), exports);
|
|
62
|
+
__exportStar(require("./tool-tts"), exports);
|
|
60
63
|
__exportStar(require("./tool-interior-design"), exports);
|
|
61
64
|
__exportStar(require("./tool-html-page-builder"), exports);
|
|
62
65
|
__exportStar(require("./feedback"), exports);
|
|
@@ -21,3 +21,4 @@ __exportStar(require("./tool-type.enum"), exports);
|
|
|
21
21
|
__exportStar(require("./tool-workspace-item-slot.enum"), exports);
|
|
22
22
|
__exportStar(require("./tool-workspace-status.enum"), exports);
|
|
23
23
|
__exportStar(require("./job-sort.enum"), exports);
|
|
24
|
+
__exportStar(require("./job-scope.enum"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.JOB_SCOPE = void 0;
|
|
4
|
+
var JOB_SCOPE;
|
|
5
|
+
(function (JOB_SCOPE) {
|
|
6
|
+
JOB_SCOPE["TOOL"] = "tool";
|
|
7
|
+
JOB_SCOPE["CANVAS"] = "canvas";
|
|
8
|
+
JOB_SCOPE["AVATAR_STUDIO"] = "avatar_studio";
|
|
9
|
+
})(JOB_SCOPE || (exports.JOB_SCOPE = JOB_SCOPE = {}));
|