@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
|
@@ -48,13 +48,6 @@ const AvatarStudioSelectFieldSchema = (optionSchema) => zod_1.z
|
|
|
48
48
|
options: zod_1.z.array(optionSchema),
|
|
49
49
|
})
|
|
50
50
|
.strict();
|
|
51
|
-
const AvatarStudioMediaFieldSchema = zod_1.z
|
|
52
|
-
.object({
|
|
53
|
-
kind: zod_1.z.literal('media'),
|
|
54
|
-
required: zod_1.z.boolean(),
|
|
55
|
-
mediaKind: zod_1.z.nativeEnum(constants_1.AVATAR_STUDIO_MEDIA_KIND),
|
|
56
|
-
})
|
|
57
|
-
.strict();
|
|
58
51
|
const AvatarStudioMediaArrayFieldSchema = zod_1.z
|
|
59
52
|
.object({
|
|
60
53
|
kind: zod_1.z.literal('media-array'),
|
|
@@ -91,12 +84,14 @@ const AvatarStudioAudioConfigSectionSchema = AvatarStudioConfigSectionBaseSchema
|
|
|
91
84
|
text: AvatarStudioTextFieldSchema.extend({
|
|
92
85
|
required: zod_1.z.boolean(),
|
|
93
86
|
}),
|
|
94
|
-
//
|
|
87
|
+
// Голос — вход генерации наравне с текстом, поэтому живёт
|
|
95
88
|
// в voiceConfig и ставится через PATCH .../scenes/:sceneId.
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
89
|
+
voiceId: zod_1.z
|
|
90
|
+
.object({
|
|
91
|
+
kind: zod_1.z.literal('voice'),
|
|
92
|
+
required: zod_1.z.literal(true),
|
|
93
|
+
})
|
|
94
|
+
.strict(),
|
|
100
95
|
})
|
|
101
96
|
.strict(),
|
|
102
97
|
defaults: models_1.AvatarStudioSceneVoiceConfigSchema,
|
|
@@ -125,42 +120,65 @@ const AvatarStudioFrameConfigSectionSchema = AvatarStudioConfigSectionBaseSchema
|
|
|
125
120
|
}),
|
|
126
121
|
pricing: AvatarStudioImagePricingSchema,
|
|
127
122
|
});
|
|
128
|
-
const
|
|
123
|
+
const AvatarStudioUnsupportedFieldSchema = zod_1.z.object({ kind: zod_1.z.literal('unsupported') }).strict();
|
|
124
|
+
/** Значение поля не выбирается, а выводится из другого входа. Для durationSeconds source = 'voice'. */
|
|
125
|
+
const AvatarStudioDerivedFieldSchema = zod_1.z
|
|
126
|
+
.object({ kind: zod_1.z.literal('derived'), source: zod_1.z.literal('voice') })
|
|
127
|
+
.strict();
|
|
128
|
+
const AvatarStudioVideoModelSchema = zod_1.z
|
|
129
|
+
.object({
|
|
130
|
+
uuid: zod_1.z.string().uuid(),
|
|
131
|
+
title: zod_1.z.string(),
|
|
132
|
+
description: zod_1.z.string(),
|
|
133
|
+
hint: zod_1.z.string().nullable(),
|
|
134
|
+
icons: zod_1.z.unknown().nullable(),
|
|
135
|
+
isNew: zod_1.z.boolean(),
|
|
136
|
+
tags: zod_1.z.array(zod_1.z.string()),
|
|
137
|
+
videoMode: zod_1.z.nativeEnum(constants_1.AVATAR_STUDIO_VIDEO_MODE),
|
|
138
|
+
isDefault: zod_1.z.boolean(),
|
|
139
|
+
order: zod_1.z.number().int().nonnegative(),
|
|
140
|
+
available: zod_1.z.boolean(),
|
|
141
|
+
unavailableReason: zod_1.z.nativeEnum(constants_1.AVATAR_STUDIO_UNAVAILABLE_REASON).optional(),
|
|
129
142
|
fields: zod_1.z
|
|
130
143
|
.object({
|
|
131
|
-
prompt:
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
required: zod_1.z.boolean(),
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
144
|
+
prompt: zod_1.z.union([
|
|
145
|
+
AvatarStudioTextFieldSchema.extend({ required: zod_1.z.boolean() }),
|
|
146
|
+
AvatarStudioUnsupportedFieldSchema,
|
|
147
|
+
]),
|
|
148
|
+
durationSeconds: zod_1.z.union([
|
|
149
|
+
AvatarStudioNumberFieldSchema.extend({ required: zod_1.z.boolean() }),
|
|
150
|
+
AvatarStudioDerivedFieldSchema,
|
|
151
|
+
]),
|
|
152
|
+
resolution: zod_1.z.union([
|
|
153
|
+
AvatarStudioSelectFieldSchema(zod_1.z.string()).extend({
|
|
154
|
+
required: zod_1.z.boolean(),
|
|
155
|
+
default: zod_1.z.string(),
|
|
156
|
+
}),
|
|
157
|
+
AvatarStudioUnsupportedFieldSchema,
|
|
158
|
+
]),
|
|
159
|
+
sound: zod_1.z.union([
|
|
160
|
+
AvatarStudioBooleanFieldSchema.extend({ required: zod_1.z.boolean() }),
|
|
161
|
+
AvatarStudioUnsupportedFieldSchema,
|
|
162
|
+
]),
|
|
142
163
|
aspectRatio: AvatarStudioFixedFieldSchema(zod_1.z.literal('9:16')),
|
|
143
164
|
})
|
|
144
165
|
.strict(),
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
pricing: zod_1.z
|
|
166
|
+
/** Что модель требует от сцены на входе. Выводится из mode каталога. */
|
|
167
|
+
requires: zod_1.z.object({ frame: zod_1.z.boolean(), voice: zod_1.z.boolean() }).strict(),
|
|
168
|
+
limits: zod_1.z
|
|
149
169
|
.object({
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
[constants_1.AVATAR_STUDIO_VIDEO_QUALITY.P720]: AvatarStudioGenerationPriceSchema.nullable(),
|
|
153
|
-
[constants_1.AVATAR_STUDIO_VIDEO_QUALITY.P1080]: AvatarStudioGenerationPriceSchema.nullable(),
|
|
154
|
-
})
|
|
155
|
-
.strict(),
|
|
156
|
-
avatar: zod_1.z
|
|
157
|
-
.object({
|
|
158
|
-
[constants_1.AVATAR_STUDIO_VIDEO_QUALITY.P720]: AvatarStudioGenerationPriceSchema.nullable(),
|
|
159
|
-
[constants_1.AVATAR_STUDIO_VIDEO_QUALITY.P1080]: AvatarStudioGenerationPriceSchema.nullable(),
|
|
160
|
-
})
|
|
161
|
-
.strict(),
|
|
170
|
+
/** Потолок длины озвучки из params.audioAttachment.maxDurationSeconds. null — лимита нет. */
|
|
171
|
+
maxVoiceDurationSeconds: zod_1.z.number().positive().nullable(),
|
|
162
172
|
})
|
|
163
173
|
.strict(),
|
|
174
|
+
pricing: zod_1.z
|
|
175
|
+
.object({ perSecondByResolution: zod_1.z.record(zod_1.z.string(), zod_1.z.number().nonnegative()) })
|
|
176
|
+
.strict(),
|
|
177
|
+
})
|
|
178
|
+
.strict();
|
|
179
|
+
const AvatarStudioVideoConfigSectionSchema = AvatarStudioConfigSectionBaseSchema.extend({
|
|
180
|
+
models: zod_1.z.array(AvatarStudioVideoModelSchema),
|
|
181
|
+
defaults: models_1.AvatarStudioSceneVideoConfigBaseSchema.extend({ aspectRatio: zod_1.z.literal('9:16') }),
|
|
164
182
|
});
|
|
165
183
|
const AvatarStudioLibraryImageConfigSectionSchema = AvatarStudioConfigSectionBaseSchema.extend({
|
|
166
184
|
fields: zod_1.z
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { VOICE_GENDER } from '../../../constants';
|
|
3
|
+
export declare namespace CloneAvatarStudioVoiceCommand {
|
|
4
|
+
const RequestSchema: z.ZodObject<{
|
|
5
|
+
fileId: z.ZodString;
|
|
6
|
+
title: z.ZodString;
|
|
7
|
+
gender: z.ZodOptional<z.ZodEnum<typeof VOICE_GENDER>>;
|
|
8
|
+
}, z.core.$strict>;
|
|
9
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
10
|
+
const ResponseSchema: z.ZodObject<{
|
|
11
|
+
data: z.ZodObject<{
|
|
12
|
+
uuid: z.ZodString;
|
|
13
|
+
scope: z.ZodEnum<typeof import("../../..").JOB_SCOPE>;
|
|
14
|
+
source: z.ZodObject<{
|
|
15
|
+
id: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
|
|
16
|
+
label: z.ZodString;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
title: z.ZodString;
|
|
19
|
+
description: z.ZodString;
|
|
20
|
+
gender: z.ZodNullable<z.ZodObject<{
|
|
21
|
+
id: z.ZodEnum<typeof VOICE_GENDER>;
|
|
22
|
+
label: z.ZodString;
|
|
23
|
+
}, z.core.$strip>>;
|
|
24
|
+
trait: z.ZodNullable<z.ZodString>;
|
|
25
|
+
ageRange: z.ZodNullable<z.ZodString>;
|
|
26
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
27
|
+
id: z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>;
|
|
28
|
+
label: z.ZodString;
|
|
29
|
+
}, z.core.$strip>>;
|
|
30
|
+
previewUrl: z.ZodString;
|
|
31
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
32
|
+
status: z.ZodEnum<typeof import("../../..").VOICE_STATUS>;
|
|
33
|
+
error: z.ZodNullable<z.ZodString>;
|
|
34
|
+
order: z.ZodNumber;
|
|
35
|
+
isDeleted: z.ZodBoolean;
|
|
36
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
37
|
+
unregisteredUserId: z.ZodNullable<z.ZodString>;
|
|
38
|
+
createdAt: z.ZodDate;
|
|
39
|
+
updatedAt: z.ZodDate;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CloneAvatarStudioVoiceCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const constants_1 = require("../../../constants");
|
|
6
|
+
const models_1 = require("../../../models");
|
|
7
|
+
var CloneAvatarStudioVoiceCommand;
|
|
8
|
+
(function (CloneAvatarStudioVoiceCommand) {
|
|
9
|
+
CloneAvatarStudioVoiceCommand.RequestSchema = zod_1.z
|
|
10
|
+
.object({
|
|
11
|
+
fileId: zod_1.z.string().uuid(),
|
|
12
|
+
title: zod_1.z.string().trim().min(1).max(255),
|
|
13
|
+
gender: zod_1.z.nativeEnum(constants_1.VOICE_GENDER).optional(),
|
|
14
|
+
})
|
|
15
|
+
.strict();
|
|
16
|
+
CloneAvatarStudioVoiceCommand.ResponseSchema = zod_1.z.object({
|
|
17
|
+
data: models_1.VoiceSchema,
|
|
18
|
+
});
|
|
19
|
+
})(CloneAvatarStudioVoiceCommand || (exports.CloneAvatarStudioVoiceCommand = CloneAvatarStudioVoiceCommand = {}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace DeleteAvatarStudioVoiceCommand {
|
|
3
|
+
const ParamsSchema: z.ZodObject<{
|
|
4
|
+
voiceId: z.ZodString;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
type Params = z.infer<typeof ParamsSchema>;
|
|
7
|
+
const ResponseSchema: z.ZodObject<{
|
|
8
|
+
data: z.ZodBoolean;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteAvatarStudioVoiceCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
var DeleteAvatarStudioVoiceCommand;
|
|
6
|
+
(function (DeleteAvatarStudioVoiceCommand) {
|
|
7
|
+
DeleteAvatarStudioVoiceCommand.ParamsSchema = zod_1.z.object({
|
|
8
|
+
voiceId: zod_1.z.string().uuid(),
|
|
9
|
+
});
|
|
10
|
+
DeleteAvatarStudioVoiceCommand.ResponseSchema = zod_1.z.object({
|
|
11
|
+
data: zod_1.z.boolean(),
|
|
12
|
+
});
|
|
13
|
+
})(DeleteAvatarStudioVoiceCommand || (exports.DeleteAvatarStudioVoiceCommand = DeleteAvatarStudioVoiceCommand = {}));
|
|
@@ -1,70 +1,40 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { VOICE_GENDER } from '../../../constants';
|
|
2
3
|
export declare namespace DesignAvatarStudioVoiceCommand {
|
|
3
4
|
const RequestSchema: z.ZodObject<{
|
|
4
|
-
title: z.
|
|
5
|
+
title: z.ZodString;
|
|
6
|
+
gender: z.ZodEnum<typeof VOICE_GENDER>;
|
|
5
7
|
instruction: z.ZodString;
|
|
6
|
-
language: z.ZodOptional<z.ZodString>;
|
|
7
8
|
}, z.core.$strict>;
|
|
8
9
|
type Request = z.infer<typeof RequestSchema>;
|
|
9
|
-
/**
|
|
10
|
-
* Отдаём job, как и все остальные генерации: созданный голос лежит в job.resultMedia.
|
|
11
|
-
* Отдельного поля media нет — форма ответа одинакова у всех роутов генерации.
|
|
12
|
-
*/
|
|
13
10
|
const ResponseSchema: z.ZodObject<{
|
|
14
11
|
data: z.ZodObject<{
|
|
15
12
|
uuid: z.ZodString;
|
|
13
|
+
scope: z.ZodEnum<typeof import("../../..").JOB_SCOPE>;
|
|
14
|
+
source: z.ZodObject<{
|
|
15
|
+
id: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
|
|
16
|
+
label: z.ZodString;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
title: z.ZodString;
|
|
19
|
+
description: z.ZodString;
|
|
20
|
+
gender: z.ZodNullable<z.ZodObject<{
|
|
21
|
+
id: z.ZodEnum<typeof VOICE_GENDER>;
|
|
22
|
+
label: z.ZodString;
|
|
23
|
+
}, z.core.$strip>>;
|
|
24
|
+
trait: z.ZodNullable<z.ZodString>;
|
|
25
|
+
ageRange: z.ZodNullable<z.ZodString>;
|
|
26
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
27
|
+
id: z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>;
|
|
28
|
+
label: z.ZodString;
|
|
29
|
+
}, z.core.$strip>>;
|
|
30
|
+
previewUrl: z.ZodString;
|
|
31
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
32
|
+
status: z.ZodEnum<typeof import("../../..").VOICE_STATUS>;
|
|
33
|
+
error: z.ZodNullable<z.ZodString>;
|
|
34
|
+
order: z.ZodNumber;
|
|
35
|
+
isDeleted: z.ZodBoolean;
|
|
16
36
|
userId: z.ZodNullable<z.ZodString>;
|
|
17
37
|
unregisteredUserId: z.ZodNullable<z.ZodString>;
|
|
18
|
-
clipId: z.ZodNullable<z.ZodString>;
|
|
19
|
-
sceneId: z.ZodNullable<z.ZodString>;
|
|
20
|
-
toolJobId: z.ZodNullable<z.ZodString>;
|
|
21
|
-
type: z.ZodEnum<typeof import("../../..").AVATAR_STUDIO_JOB_TYPE>;
|
|
22
|
-
targetSlot: z.ZodNullable<z.ZodEnum<typeof import("../../..").AVATAR_STUDIO_SLOT>>;
|
|
23
|
-
status: z.ZodEnum<typeof import("../../..").AVATAR_STUDIO_JOB_STATUS>;
|
|
24
|
-
request: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodType<import("../../..").JsonValue, unknown, z.core.$ZodTypeInternals<import("../../..").JsonValue, unknown>>>>;
|
|
25
|
-
resultMediaId: z.ZodNullable<z.ZodString>;
|
|
26
|
-
error: z.ZodNullable<z.ZodString>;
|
|
27
|
-
resultMedia: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
28
|
-
uuid: z.ZodString;
|
|
29
|
-
userId: z.ZodNullable<z.ZodString>;
|
|
30
|
-
unregisteredUserId: z.ZodNullable<z.ZodString>;
|
|
31
|
-
fileId: z.ZodString;
|
|
32
|
-
kind: z.ZodEnum<typeof import("../../..").AVATAR_STUDIO_MEDIA_KIND>;
|
|
33
|
-
title: z.ZodNullable<z.ZodString>;
|
|
34
|
-
toolJobId: z.ZodNullable<z.ZodString>;
|
|
35
|
-
durationSeconds: z.ZodNullable<z.ZodNumber>;
|
|
36
|
-
transcript: z.ZodNullable<z.ZodString>;
|
|
37
|
-
wordTimings: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
38
|
-
word: z.ZodString;
|
|
39
|
-
start: z.ZodNumber;
|
|
40
|
-
end: z.ZodNumber;
|
|
41
|
-
}, z.core.$strip>>>;
|
|
42
|
-
subtitles: z.ZodNullable<z.ZodType<import("../../..").JsonValue, unknown, z.core.$ZodTypeInternals<import("../../..").JsonValue, unknown>>>;
|
|
43
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
44
|
-
file: z.ZodOptional<z.ZodObject<{
|
|
45
|
-
uuid: z.ZodString;
|
|
46
|
-
name: z.ZodString;
|
|
47
|
-
size: z.ZodNumber;
|
|
48
|
-
originalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
-
resolution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
50
|
-
width: z.ZodNumber;
|
|
51
|
-
height: z.ZodNumber;
|
|
52
|
-
}, z.core.$strip>>>;
|
|
53
|
-
mimeType: z.ZodString;
|
|
54
|
-
url: z.ZodString;
|
|
55
|
-
key: z.ZodString;
|
|
56
|
-
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
57
|
-
duration: z.ZodNullable<z.ZodNumber>;
|
|
58
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
59
|
-
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
60
|
-
createdAt: z.ZodDate;
|
|
61
|
-
updatedAt: z.ZodDate;
|
|
62
|
-
}, z.core.$strip>>;
|
|
63
|
-
createdAt: z.ZodDate;
|
|
64
|
-
updatedAt: z.ZodDate;
|
|
65
|
-
}, z.core.$strip>>>;
|
|
66
|
-
startedAt: z.ZodNullable<z.ZodDate>;
|
|
67
|
-
completedAt: z.ZodNullable<z.ZodDate>;
|
|
68
38
|
createdAt: z.ZodDate;
|
|
69
39
|
updatedAt: z.ZodDate;
|
|
70
40
|
}, z.core.$strip>;
|
|
@@ -2,21 +2,20 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DesignAvatarStudioVoiceCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
const constants_1 = require("../../../constants");
|
|
5
6
|
const models_1 = require("../../../models");
|
|
6
7
|
var DesignAvatarStudioVoiceCommand;
|
|
7
8
|
(function (DesignAvatarStudioVoiceCommand) {
|
|
8
9
|
DesignAvatarStudioVoiceCommand.RequestSchema = zod_1.z
|
|
9
10
|
.object({
|
|
10
|
-
title: zod_1.z.string().trim().min(1).
|
|
11
|
+
title: zod_1.z.string().trim().min(1).max(255),
|
|
12
|
+
gender: zod_1.z.nativeEnum(constants_1.VOICE_GENDER),
|
|
11
13
|
instruction: zod_1.z.string().trim().min(1),
|
|
12
|
-
language: zod_1.z.string().trim().min(2).optional(),
|
|
13
14
|
})
|
|
14
15
|
.strict();
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
* Отдельного поля media нет — форма ответа одинакова у всех роутов генерации.
|
|
18
|
-
*/
|
|
16
|
+
// Дизайн — синхронная операция инструмента: кандидата выбирает сервер, поэтому
|
|
17
|
+
// ответ — сразу готовый голос, а не job на отслеживание.
|
|
19
18
|
DesignAvatarStudioVoiceCommand.ResponseSchema = zod_1.z.object({
|
|
20
|
-
data: models_1.
|
|
19
|
+
data: models_1.VoiceSchema,
|
|
21
20
|
});
|
|
22
21
|
})(DesignAvatarStudioVoiceCommand || (exports.DesignAvatarStudioVoiceCommand = DesignAvatarStudioVoiceCommand = {}));
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace FindAvatarStudioVoicesQuery {
|
|
3
|
+
const ResponseSchema: z.ZodObject<{
|
|
4
|
+
data: z.ZodArray<z.ZodObject<{
|
|
5
|
+
uuid: z.ZodString;
|
|
6
|
+
scope: z.ZodEnum<typeof import("../../..").JOB_SCOPE>;
|
|
7
|
+
source: z.ZodObject<{
|
|
8
|
+
id: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
|
|
9
|
+
label: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
title: z.ZodString;
|
|
12
|
+
description: z.ZodString;
|
|
13
|
+
gender: z.ZodNullable<z.ZodObject<{
|
|
14
|
+
id: z.ZodEnum<typeof import("../../..").VOICE_GENDER>;
|
|
15
|
+
label: z.ZodString;
|
|
16
|
+
}, z.core.$strip>>;
|
|
17
|
+
trait: z.ZodNullable<z.ZodString>;
|
|
18
|
+
ageRange: z.ZodNullable<z.ZodString>;
|
|
19
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
20
|
+
id: z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>;
|
|
21
|
+
label: z.ZodString;
|
|
22
|
+
}, z.core.$strip>>;
|
|
23
|
+
previewUrl: z.ZodString;
|
|
24
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
25
|
+
status: z.ZodEnum<typeof import("../../..").VOICE_STATUS>;
|
|
26
|
+
error: z.ZodNullable<z.ZodString>;
|
|
27
|
+
order: z.ZodNumber;
|
|
28
|
+
isDeleted: z.ZodBoolean;
|
|
29
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
30
|
+
unregisteredUserId: z.ZodNullable<z.ZodString>;
|
|
31
|
+
createdAt: z.ZodDate;
|
|
32
|
+
updatedAt: z.ZodDate;
|
|
33
|
+
}, z.core.$strip>>;
|
|
34
|
+
}, z.core.$strip>;
|
|
35
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FindAvatarStudioVoicesQuery = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const models_1 = require("../../../models");
|
|
6
|
+
var FindAvatarStudioVoicesQuery;
|
|
7
|
+
(function (FindAvatarStudioVoicesQuery) {
|
|
8
|
+
FindAvatarStudioVoicesQuery.ResponseSchema = zod_1.z.object({
|
|
9
|
+
data: zod_1.z.array(models_1.VoiceSchema),
|
|
10
|
+
});
|
|
11
|
+
})(FindAvatarStudioVoicesQuery || (exports.FindAvatarStudioVoicesQuery = FindAvatarStudioVoicesQuery = {}));
|
|
@@ -15,3 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./design-avatar-studio-voice.command"), exports);
|
|
18
|
+
__exportStar(require("./find-avatar-studio-voices.query"), exports);
|
|
19
|
+
__exportStar(require("./clone-avatar-studio-voice.command"), exports);
|
|
20
|
+
__exportStar(require("./delete-avatar-studio-voice.command"), exports);
|
|
@@ -89,6 +89,10 @@ export declare namespace CreateCommunityPostCommand {
|
|
|
89
89
|
mode: z.ZodLiteral<import("../..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL>;
|
|
90
90
|
style: z.ZodString;
|
|
91
91
|
}, z.core.$strip>], "mode">, z.ZodObject<{
|
|
92
|
+
prompt: z.ZodString;
|
|
93
|
+
style: z.ZodOptional<z.ZodString>;
|
|
94
|
+
structure: z.ZodEnum<typeof import("../..").MUSIC_LYRICS_STRUCTURE>;
|
|
95
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
92
96
|
audioId: z.ZodString;
|
|
93
97
|
style: z.ZodString;
|
|
94
98
|
prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -100,6 +100,10 @@ export declare namespace GetAllCommunityPostsCommand {
|
|
|
100
100
|
mode: z.ZodLiteral<import("../..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL>;
|
|
101
101
|
style: z.ZodString;
|
|
102
102
|
}, z.core.$strip>], "mode">, z.ZodObject<{
|
|
103
|
+
prompt: z.ZodString;
|
|
104
|
+
style: z.ZodOptional<z.ZodString>;
|
|
105
|
+
structure: z.ZodEnum<typeof import("../..").MUSIC_LYRICS_STRUCTURE>;
|
|
106
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
103
107
|
audioId: z.ZodString;
|
|
104
108
|
style: z.ZodString;
|
|
105
109
|
prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -90,6 +90,10 @@ export declare namespace GetCommunityPostByUuidCommand {
|
|
|
90
90
|
mode: z.ZodLiteral<import("../..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL>;
|
|
91
91
|
style: z.ZodString;
|
|
92
92
|
}, z.core.$strip>], "mode">, z.ZodObject<{
|
|
93
|
+
prompt: z.ZodString;
|
|
94
|
+
style: z.ZodOptional<z.ZodString>;
|
|
95
|
+
structure: z.ZodEnum<typeof import("../..").MUSIC_LYRICS_STRUCTURE>;
|
|
96
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
93
97
|
audioId: z.ZodString;
|
|
94
98
|
style: z.ZodString;
|
|
95
99
|
prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -102,6 +102,10 @@ export declare namespace GetMyCommunityPostsByCriteriaCommand {
|
|
|
102
102
|
mode: z.ZodLiteral<import("../..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL>;
|
|
103
103
|
style: z.ZodString;
|
|
104
104
|
}, z.core.$strip>], "mode">, z.ZodObject<{
|
|
105
|
+
prompt: z.ZodString;
|
|
106
|
+
style: z.ZodOptional<z.ZodString>;
|
|
107
|
+
structure: z.ZodEnum<typeof import("../..").MUSIC_LYRICS_STRUCTURE>;
|
|
108
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
105
109
|
audioId: z.ZodString;
|
|
106
110
|
style: z.ZodString;
|
|
107
111
|
prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -94,6 +94,10 @@ export declare namespace GetMyFavoriteCommunityPostsCommand {
|
|
|
94
94
|
mode: z.ZodLiteral<import("../..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL>;
|
|
95
95
|
style: z.ZodString;
|
|
96
96
|
}, z.core.$strip>], "mode">, z.ZodObject<{
|
|
97
|
+
prompt: z.ZodString;
|
|
98
|
+
style: z.ZodOptional<z.ZodString>;
|
|
99
|
+
structure: z.ZodEnum<typeof import("../..").MUSIC_LYRICS_STRUCTURE>;
|
|
100
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
97
101
|
audioId: z.ZodString;
|
|
98
102
|
style: z.ZodString;
|
|
99
103
|
prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -93,6 +93,10 @@ export declare namespace GetMyLikesCommunityPostsCommand {
|
|
|
93
93
|
mode: z.ZodLiteral<import("../..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL>;
|
|
94
94
|
style: z.ZodString;
|
|
95
95
|
}, z.core.$strip>], "mode">, z.ZodObject<{
|
|
96
|
+
prompt: z.ZodString;
|
|
97
|
+
style: z.ZodOptional<z.ZodString>;
|
|
98
|
+
structure: z.ZodEnum<typeof import("../..").MUSIC_LYRICS_STRUCTURE>;
|
|
99
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
96
100
|
audioId: z.ZodString;
|
|
97
101
|
style: z.ZodString;
|
|
98
102
|
prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -90,6 +90,10 @@ export declare namespace SetLikeCommunityPostCommand {
|
|
|
90
90
|
mode: z.ZodLiteral<import("../..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL>;
|
|
91
91
|
style: z.ZodString;
|
|
92
92
|
}, z.core.$strip>], "mode">, z.ZodObject<{
|
|
93
|
+
prompt: z.ZodString;
|
|
94
|
+
style: z.ZodOptional<z.ZodString>;
|
|
95
|
+
structure: z.ZodEnum<typeof import("../..").MUSIC_LYRICS_STRUCTURE>;
|
|
96
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
93
97
|
audioId: z.ZodString;
|
|
94
98
|
style: z.ZodString;
|
|
95
99
|
prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -39,6 +39,8 @@ export declare namespace ExecuteHtmlPageBuilderCommand {
|
|
|
39
39
|
type: z.ZodString;
|
|
40
40
|
size: z.ZodNumber;
|
|
41
41
|
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
42
|
+
content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
43
|
+
contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
42
44
|
}, z.core.$strip>>;
|
|
43
45
|
}, z.core.$strip>;
|
|
44
46
|
isDeleted: z.ZodBoolean;
|
package/build/commands/tools/html-page-builder/find-html-page-builder-session-by-uuid.command.d.ts
CHANGED
|
@@ -34,6 +34,8 @@ export declare namespace FindHtmlPageBuilderSessionByUUIDCommand {
|
|
|
34
34
|
type: z.ZodString;
|
|
35
35
|
size: z.ZodNumber;
|
|
36
36
|
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
37
|
+
content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
38
|
+
contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
37
39
|
}, z.core.$strip>>;
|
|
38
40
|
}, z.core.$strip>;
|
|
39
41
|
isDeleted: z.ZodBoolean;
|
|
@@ -40,6 +40,8 @@ export declare namespace FindHtmlPageBuilderSessionsCommand {
|
|
|
40
40
|
type: z.ZodString;
|
|
41
41
|
size: z.ZodNumber;
|
|
42
42
|
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
43
|
+
content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
44
|
+
contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
43
45
|
}, z.core.$strip>>;
|
|
44
46
|
}, z.core.$strip>;
|
|
45
47
|
isDeleted: z.ZodBoolean;
|
|
@@ -38,6 +38,8 @@ export declare namespace UpdateHtmlPageBuilderSessionFavoriteCommand {
|
|
|
38
38
|
type: z.ZodString;
|
|
39
39
|
size: z.ZodNumber;
|
|
40
40
|
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
41
|
+
content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
42
|
+
contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
41
43
|
}, z.core.$strip>>;
|
|
42
44
|
}, z.core.$strip>;
|
|
43
45
|
isDeleted: z.ZodBoolean;
|
package/build/commands/tools/html-page-builder/update-html-page-builder-session-title.command.d.ts
CHANGED
|
@@ -38,6 +38,8 @@ export declare namespace UpdateHtmlPageBuilderSessionTitleCommand {
|
|
|
38
38
|
type: z.ZodString;
|
|
39
39
|
size: z.ZodNumber;
|
|
40
40
|
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
41
|
+
content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
42
|
+
contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
41
43
|
}, z.core.$strip>>;
|
|
42
44
|
}, z.core.$strip>;
|
|
43
45
|
isDeleted: z.ZodBoolean;
|
|
@@ -29,6 +29,8 @@ export declare namespace FindImageEditorJobByUUIDCommand {
|
|
|
29
29
|
type: z.ZodString;
|
|
30
30
|
size: z.ZodNumber;
|
|
31
31
|
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
32
|
+
content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
33
|
+
contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
32
34
|
}, z.core.$strip>>;
|
|
33
35
|
systemPromptId: z.ZodOptional<z.ZodString>;
|
|
34
36
|
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -35,6 +35,8 @@ export declare namespace FindImageEditorJobsCommand {
|
|
|
35
35
|
type: z.ZodString;
|
|
36
36
|
size: z.ZodNumber;
|
|
37
37
|
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
38
|
+
content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
39
|
+
contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
38
40
|
}, z.core.$strip>>;
|
|
39
41
|
systemPromptId: z.ZodOptional<z.ZodString>;
|
|
40
42
|
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -40,6 +40,8 @@ export declare namespace RetryImageEditorJobCommand {
|
|
|
40
40
|
type: z.ZodString;
|
|
41
41
|
size: z.ZodNumber;
|
|
42
42
|
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
43
|
+
content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
44
|
+
contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
43
45
|
}, z.core.$strip>>;
|
|
44
46
|
systemPromptId: z.ZodOptional<z.ZodString>;
|
|
45
47
|
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -35,6 +35,8 @@ export declare namespace SetReactionToImageEditorJobCommand {
|
|
|
35
35
|
type: z.ZodString;
|
|
36
36
|
size: z.ZodNumber;
|
|
37
37
|
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
38
|
+
content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
39
|
+
contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
38
40
|
}, z.core.$strip>>;
|
|
39
41
|
systemPromptId: z.ZodOptional<z.ZodString>;
|
|
40
42
|
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -33,6 +33,8 @@ export declare namespace UpdateImageEditorJobFavoriteCommand {
|
|
|
33
33
|
type: z.ZodString;
|
|
34
34
|
size: z.ZodNumber;
|
|
35
35
|
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
36
|
+
content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
37
|
+
contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
36
38
|
}, z.core.$strip>>;
|
|
37
39
|
systemPromptId: z.ZodOptional<z.ZodString>;
|
|
38
40
|
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -33,6 +33,8 @@ export declare namespace UpdateImageEditorJobTitleCommand {
|
|
|
33
33
|
type: z.ZodString;
|
|
34
34
|
size: z.ZodNumber;
|
|
35
35
|
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
36
|
+
content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
37
|
+
contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
36
38
|
}, z.core.$strip>>;
|
|
37
39
|
systemPromptId: z.ZodOptional<z.ZodString>;
|
|
38
40
|
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
package/build/commands/tools/image-recognition/find-image-recognition-job-by-uuid.command.d.ts
CHANGED
|
@@ -29,6 +29,8 @@ export declare namespace FindImageRecognitionJobByUUIDCommand {
|
|
|
29
29
|
type: z.ZodString;
|
|
30
30
|
size: z.ZodNumber;
|
|
31
31
|
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
32
|
+
content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
33
|
+
contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
32
34
|
}, z.core.$strip>>;
|
|
33
35
|
}, z.core.$strip>;
|
|
34
36
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
@@ -35,6 +35,8 @@ export declare namespace FindImageRecognitionJobsCommand {
|
|
|
35
35
|
type: z.ZodString;
|
|
36
36
|
size: z.ZodNumber;
|
|
37
37
|
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
38
|
+
content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
39
|
+
contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
38
40
|
}, z.core.$strip>>;
|
|
39
41
|
}, z.core.$strip>;
|
|
40
42
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|