@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
|
@@ -2,39 +2,106 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare namespace RemoveTrackFromMusicPlaylistCommand {
|
|
3
3
|
const RequestParamsSchema: z.ZodObject<{
|
|
4
4
|
uuid: z.ZodString;
|
|
5
|
-
|
|
5
|
+
jobId: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
type RequestParams = z.infer<typeof RequestParamsSchema>;
|
|
8
8
|
const ResponseSchema: z.ZodObject<{
|
|
9
9
|
data: z.ZodObject<{
|
|
10
10
|
uuid: z.ZodString;
|
|
11
11
|
title: z.ZodString;
|
|
12
|
-
|
|
12
|
+
jobs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13
13
|
uuid: z.ZodString;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
audioFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
18
|
-
uuid: z.ZodString;
|
|
19
|
-
originalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
mimeType: z.ZodString;
|
|
21
|
-
url: z.ZodString;
|
|
22
|
-
duration: z.ZodNullable<z.ZodNumber>;
|
|
23
|
-
}, z.core.$strip>>>;
|
|
24
|
-
coverUrl: z.ZodString;
|
|
25
|
-
prompt: z.ZodNullable<z.ZodString>;
|
|
26
|
-
fullLyrics: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
tags: z.ZodString;
|
|
28
|
-
duration: z.ZodNumber;
|
|
29
|
-
isPublished: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
-
postId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
-
waveformPeaks: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
32
|
-
genJobId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
editorJobId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
15
|
+
error: z.ZodNullable<z.ZodString>;
|
|
16
|
+
isFavorite: z.ZodBoolean;
|
|
34
17
|
createdAt: z.ZodDate;
|
|
35
18
|
updatedAt: z.ZodDate;
|
|
19
|
+
actionType: z.ZodUnion<readonly [z.ZodEnum<typeof import("../../..").MUSIC_GENERATION_ACTION_TYPE>, z.ZodEnum<typeof import("../../..").MUSIC_AUDIO_ACTION_TYPE>]>;
|
|
20
|
+
lyrics: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
title: z.ZodString;
|
|
22
|
+
prompt: z.ZodString;
|
|
23
|
+
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
24
|
+
tracks: z.ZodArray<z.ZodObject<{
|
|
25
|
+
uuid: z.ZodString;
|
|
26
|
+
title: z.ZodString;
|
|
27
|
+
audioId: z.ZodString;
|
|
28
|
+
audioUrl: z.ZodString;
|
|
29
|
+
audioFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30
|
+
uuid: z.ZodString;
|
|
31
|
+
originalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
mimeType: z.ZodString;
|
|
33
|
+
url: z.ZodString;
|
|
34
|
+
duration: z.ZodNullable<z.ZodNumber>;
|
|
35
|
+
}, z.core.$strip>>>;
|
|
36
|
+
coverUrl: z.ZodString;
|
|
37
|
+
prompt: z.ZodNullable<z.ZodString>;
|
|
38
|
+
fullLyrics: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
tags: z.ZodString;
|
|
40
|
+
duration: z.ZodNumber;
|
|
41
|
+
isPublished: z.ZodOptional<z.ZodBoolean>;
|
|
42
|
+
postId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
+
waveformPeaks: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
44
|
+
genJobId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
editorJobId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
+
createdAt: z.ZodDate;
|
|
47
|
+
updatedAt: z.ZodDate;
|
|
48
|
+
}, z.core.$strip>>;
|
|
49
|
+
params: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
50
|
+
mode: z.ZodLiteral<import("../../..").SUNO_MODE_TYPE.SIMPLE>;
|
|
51
|
+
prompt: z.ZodString;
|
|
52
|
+
style: z.ZodString;
|
|
53
|
+
vocalGender: z.ZodEnum<typeof import("../../..").MUSIC_VOCAL_GENDER>;
|
|
54
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
55
|
+
mode: z.ZodLiteral<import("../../..").SUNO_MODE_TYPE.SIMPLE_INSTRUMENTAL>;
|
|
56
|
+
prompt: z.ZodString;
|
|
57
|
+
style: z.ZodString;
|
|
58
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
+
mode: z.ZodLiteral<import("../../..").SUNO_MODE_TYPE.CUSTOM>;
|
|
60
|
+
prompt: z.ZodString;
|
|
61
|
+
style: z.ZodString;
|
|
62
|
+
vocalGender: z.ZodEnum<typeof import("../../..").MUSIC_VOCAL_GENDER>;
|
|
63
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
64
|
+
mode: z.ZodLiteral<import("../../..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL>;
|
|
65
|
+
style: z.ZodString;
|
|
66
|
+
}, z.core.$strip>], "mode">, z.ZodObject<{
|
|
67
|
+
prompt: z.ZodString;
|
|
68
|
+
style: z.ZodOptional<z.ZodString>;
|
|
69
|
+
structure: z.ZodEnum<typeof import("../../..").MUSIC_LYRICS_STRUCTURE>;
|
|
70
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
71
|
+
audioId: z.ZodString;
|
|
72
|
+
style: z.ZodString;
|
|
73
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
74
|
+
title: z.ZodOptional<z.ZodString>;
|
|
75
|
+
negativeTags: z.ZodOptional<z.ZodString>;
|
|
76
|
+
vocalGender: z.ZodOptional<z.ZodEnum<typeof import("../../..").MUSIC_VOCAL_GENDER>>;
|
|
77
|
+
instrumental: z.ZodOptional<z.ZodBoolean>;
|
|
78
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
79
|
+
audioId: z.ZodString;
|
|
80
|
+
continueAt: z.ZodNumber;
|
|
81
|
+
prompt: z.ZodString;
|
|
82
|
+
style: z.ZodOptional<z.ZodString>;
|
|
83
|
+
title: z.ZodOptional<z.ZodString>;
|
|
84
|
+
negativeTags: z.ZodOptional<z.ZodString>;
|
|
85
|
+
vocalGender: z.ZodOptional<z.ZodEnum<typeof import("../../..").MUSIC_VOCAL_GENDER>>;
|
|
86
|
+
instrumental: z.ZodOptional<z.ZodBoolean>;
|
|
87
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
88
|
+
audioId: z.ZodString;
|
|
89
|
+
style: z.ZodString;
|
|
90
|
+
title: z.ZodOptional<z.ZodString>;
|
|
91
|
+
negativeTags: z.ZodOptional<z.ZodString>;
|
|
92
|
+
vocalGender: z.ZodOptional<z.ZodEnum<typeof import("../../..").MUSIC_VOCAL_GENDER>>;
|
|
93
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
94
|
+
audioId: z.ZodString;
|
|
95
|
+
prompt: z.ZodString;
|
|
96
|
+
style: z.ZodString;
|
|
97
|
+
title: z.ZodOptional<z.ZodString>;
|
|
98
|
+
negativeTags: z.ZodOptional<z.ZodString>;
|
|
99
|
+
vocalGender: z.ZodOptional<z.ZodEnum<typeof import("../../..").MUSIC_VOCAL_GENDER>>;
|
|
100
|
+
}, z.core.$strip>]>;
|
|
101
|
+
externalId: z.ZodNullable<z.ZodString>;
|
|
102
|
+
modelId: z.ZodString;
|
|
36
103
|
}, z.core.$strip>>>;
|
|
37
|
-
|
|
104
|
+
jobCount: z.ZodNumber;
|
|
38
105
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
106
|
unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
107
|
createdAt: z.ZodDate;
|
|
@@ -7,7 +7,7 @@ var RemoveTrackFromMusicPlaylistCommand;
|
|
|
7
7
|
(function (RemoveTrackFromMusicPlaylistCommand) {
|
|
8
8
|
RemoveTrackFromMusicPlaylistCommand.RequestParamsSchema = zod_1.z.object({
|
|
9
9
|
uuid: zod_1.z.string().uuid(),
|
|
10
|
-
|
|
10
|
+
jobId: zod_1.z.string().uuid(),
|
|
11
11
|
});
|
|
12
12
|
RemoveTrackFromMusicPlaylistCommand.ResponseSchema = zod_1.z.object({
|
|
13
13
|
data: models_1.MusicPlaylistSchema,
|
|
@@ -34,6 +34,8 @@ export declare namespace RetryMusicJobCommand {
|
|
|
34
34
|
isFavorite: z.ZodBoolean;
|
|
35
35
|
createdAt: z.ZodDate;
|
|
36
36
|
updatedAt: z.ZodDate;
|
|
37
|
+
actionType: z.ZodUnion<readonly [z.ZodEnum<typeof import("../../..").MUSIC_GENERATION_ACTION_TYPE>, z.ZodEnum<typeof import("../../..").MUSIC_AUDIO_ACTION_TYPE>]>;
|
|
38
|
+
lyrics: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
39
|
title: z.ZodString;
|
|
38
40
|
prompt: z.ZodString;
|
|
39
41
|
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
@@ -80,6 +82,10 @@ export declare namespace RetryMusicJobCommand {
|
|
|
80
82
|
mode: z.ZodLiteral<import("../../..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL>;
|
|
81
83
|
style: z.ZodString;
|
|
82
84
|
}, z.core.$strip>], "mode">, z.ZodObject<{
|
|
85
|
+
prompt: z.ZodString;
|
|
86
|
+
style: z.ZodOptional<z.ZodString>;
|
|
87
|
+
structure: z.ZodEnum<typeof import("../../..").MUSIC_LYRICS_STRUCTURE>;
|
|
88
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
83
89
|
audioId: z.ZodString;
|
|
84
90
|
style: z.ZodString;
|
|
85
91
|
prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -18,6 +18,8 @@ export declare namespace SetReactionToMusicJobCommand {
|
|
|
18
18
|
isFavorite: z.ZodBoolean;
|
|
19
19
|
createdAt: z.ZodDate;
|
|
20
20
|
updatedAt: z.ZodDate;
|
|
21
|
+
actionType: z.ZodUnion<readonly [z.ZodEnum<typeof import("../../..").MUSIC_GENERATION_ACTION_TYPE>, z.ZodEnum<typeof import("../../..").MUSIC_AUDIO_ACTION_TYPE>]>;
|
|
22
|
+
lyrics: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
title: z.ZodString;
|
|
22
24
|
prompt: z.ZodString;
|
|
23
25
|
reaction: z.ZodNullable<z.ZodEnum<typeof USER_REACTION>>;
|
|
@@ -64,6 +66,10 @@ export declare namespace SetReactionToMusicJobCommand {
|
|
|
64
66
|
mode: z.ZodLiteral<import("../../..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL>;
|
|
65
67
|
style: z.ZodString;
|
|
66
68
|
}, z.core.$strip>], "mode">, z.ZodObject<{
|
|
69
|
+
prompt: z.ZodString;
|
|
70
|
+
style: z.ZodOptional<z.ZodString>;
|
|
71
|
+
structure: z.ZodEnum<typeof import("../../..").MUSIC_LYRICS_STRUCTURE>;
|
|
72
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
67
73
|
audioId: z.ZodString;
|
|
68
74
|
style: z.ZodString;
|
|
69
75
|
prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -16,6 +16,8 @@ export declare namespace UpdateMusicJobFavoriteCommand {
|
|
|
16
16
|
isFavorite: z.ZodBoolean;
|
|
17
17
|
createdAt: z.ZodDate;
|
|
18
18
|
updatedAt: z.ZodDate;
|
|
19
|
+
actionType: z.ZodUnion<readonly [z.ZodEnum<typeof import("../../..").MUSIC_GENERATION_ACTION_TYPE>, z.ZodEnum<typeof import("../../..").MUSIC_AUDIO_ACTION_TYPE>]>;
|
|
20
|
+
lyrics: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
21
|
title: z.ZodString;
|
|
20
22
|
prompt: z.ZodString;
|
|
21
23
|
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
@@ -62,6 +64,10 @@ export declare namespace UpdateMusicJobFavoriteCommand {
|
|
|
62
64
|
mode: z.ZodLiteral<import("../../..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL>;
|
|
63
65
|
style: z.ZodString;
|
|
64
66
|
}, z.core.$strip>], "mode">, z.ZodObject<{
|
|
67
|
+
prompt: z.ZodString;
|
|
68
|
+
style: z.ZodOptional<z.ZodString>;
|
|
69
|
+
structure: z.ZodEnum<typeof import("../../..").MUSIC_LYRICS_STRUCTURE>;
|
|
70
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
65
71
|
audioId: z.ZodString;
|
|
66
72
|
style: z.ZodString;
|
|
67
73
|
prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -16,6 +16,8 @@ export declare namespace UpdateMusicJobTitleCommand {
|
|
|
16
16
|
isFavorite: z.ZodBoolean;
|
|
17
17
|
createdAt: z.ZodDate;
|
|
18
18
|
updatedAt: z.ZodDate;
|
|
19
|
+
actionType: z.ZodUnion<readonly [z.ZodEnum<typeof import("../../..").MUSIC_GENERATION_ACTION_TYPE>, z.ZodEnum<typeof import("../../..").MUSIC_AUDIO_ACTION_TYPE>]>;
|
|
20
|
+
lyrics: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
21
|
title: z.ZodString;
|
|
20
22
|
prompt: z.ZodString;
|
|
21
23
|
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
@@ -62,6 +64,10 @@ export declare namespace UpdateMusicJobTitleCommand {
|
|
|
62
64
|
mode: z.ZodLiteral<import("../../..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL>;
|
|
63
65
|
style: z.ZodString;
|
|
64
66
|
}, z.core.$strip>], "mode">, z.ZodObject<{
|
|
67
|
+
prompt: z.ZodString;
|
|
68
|
+
style: z.ZodOptional<z.ZodString>;
|
|
69
|
+
structure: z.ZodEnum<typeof import("../../..").MUSIC_LYRICS_STRUCTURE>;
|
|
70
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
65
71
|
audioId: z.ZodString;
|
|
66
72
|
style: z.ZodString;
|
|
67
73
|
prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -12,32 +12,99 @@ export declare namespace UpdateMusicPlaylistCommand {
|
|
|
12
12
|
data: z.ZodObject<{
|
|
13
13
|
uuid: z.ZodString;
|
|
14
14
|
title: z.ZodString;
|
|
15
|
-
|
|
15
|
+
jobs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16
16
|
uuid: z.ZodString;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
audioFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
21
|
-
uuid: z.ZodString;
|
|
22
|
-
originalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
mimeType: z.ZodString;
|
|
24
|
-
url: z.ZodString;
|
|
25
|
-
duration: z.ZodNullable<z.ZodNumber>;
|
|
26
|
-
}, z.core.$strip>>>;
|
|
27
|
-
coverUrl: z.ZodString;
|
|
28
|
-
prompt: z.ZodNullable<z.ZodString>;
|
|
29
|
-
fullLyrics: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
-
tags: z.ZodString;
|
|
31
|
-
duration: z.ZodNumber;
|
|
32
|
-
isPublished: z.ZodOptional<z.ZodBoolean>;
|
|
33
|
-
postId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
-
waveformPeaks: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
35
|
-
genJobId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
-
editorJobId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
18
|
+
error: z.ZodNullable<z.ZodString>;
|
|
19
|
+
isFavorite: z.ZodBoolean;
|
|
37
20
|
createdAt: z.ZodDate;
|
|
38
21
|
updatedAt: z.ZodDate;
|
|
22
|
+
actionType: z.ZodUnion<readonly [z.ZodEnum<typeof import("../../..").MUSIC_GENERATION_ACTION_TYPE>, z.ZodEnum<typeof import("../../..").MUSIC_AUDIO_ACTION_TYPE>]>;
|
|
23
|
+
lyrics: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
title: z.ZodString;
|
|
25
|
+
prompt: z.ZodString;
|
|
26
|
+
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
27
|
+
tracks: z.ZodArray<z.ZodObject<{
|
|
28
|
+
uuid: z.ZodString;
|
|
29
|
+
title: z.ZodString;
|
|
30
|
+
audioId: z.ZodString;
|
|
31
|
+
audioUrl: z.ZodString;
|
|
32
|
+
audioFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
33
|
+
uuid: z.ZodString;
|
|
34
|
+
originalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
mimeType: z.ZodString;
|
|
36
|
+
url: z.ZodString;
|
|
37
|
+
duration: z.ZodNullable<z.ZodNumber>;
|
|
38
|
+
}, z.core.$strip>>>;
|
|
39
|
+
coverUrl: z.ZodString;
|
|
40
|
+
prompt: z.ZodNullable<z.ZodString>;
|
|
41
|
+
fullLyrics: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
tags: z.ZodString;
|
|
43
|
+
duration: z.ZodNumber;
|
|
44
|
+
isPublished: z.ZodOptional<z.ZodBoolean>;
|
|
45
|
+
postId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
+
waveformPeaks: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
47
|
+
genJobId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
+
editorJobId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
createdAt: z.ZodDate;
|
|
50
|
+
updatedAt: z.ZodDate;
|
|
51
|
+
}, z.core.$strip>>;
|
|
52
|
+
params: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
53
|
+
mode: z.ZodLiteral<import("../../..").SUNO_MODE_TYPE.SIMPLE>;
|
|
54
|
+
prompt: z.ZodString;
|
|
55
|
+
style: z.ZodString;
|
|
56
|
+
vocalGender: z.ZodEnum<typeof import("../../..").MUSIC_VOCAL_GENDER>;
|
|
57
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
58
|
+
mode: z.ZodLiteral<import("../../..").SUNO_MODE_TYPE.SIMPLE_INSTRUMENTAL>;
|
|
59
|
+
prompt: z.ZodString;
|
|
60
|
+
style: z.ZodString;
|
|
61
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
62
|
+
mode: z.ZodLiteral<import("../../..").SUNO_MODE_TYPE.CUSTOM>;
|
|
63
|
+
prompt: z.ZodString;
|
|
64
|
+
style: z.ZodString;
|
|
65
|
+
vocalGender: z.ZodEnum<typeof import("../../..").MUSIC_VOCAL_GENDER>;
|
|
66
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
67
|
+
mode: z.ZodLiteral<import("../../..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL>;
|
|
68
|
+
style: z.ZodString;
|
|
69
|
+
}, z.core.$strip>], "mode">, z.ZodObject<{
|
|
70
|
+
prompt: z.ZodString;
|
|
71
|
+
style: z.ZodOptional<z.ZodString>;
|
|
72
|
+
structure: z.ZodEnum<typeof import("../../..").MUSIC_LYRICS_STRUCTURE>;
|
|
73
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
74
|
+
audioId: z.ZodString;
|
|
75
|
+
style: z.ZodString;
|
|
76
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
77
|
+
title: z.ZodOptional<z.ZodString>;
|
|
78
|
+
negativeTags: z.ZodOptional<z.ZodString>;
|
|
79
|
+
vocalGender: z.ZodOptional<z.ZodEnum<typeof import("../../..").MUSIC_VOCAL_GENDER>>;
|
|
80
|
+
instrumental: z.ZodOptional<z.ZodBoolean>;
|
|
81
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
82
|
+
audioId: z.ZodString;
|
|
83
|
+
continueAt: z.ZodNumber;
|
|
84
|
+
prompt: z.ZodString;
|
|
85
|
+
style: z.ZodOptional<z.ZodString>;
|
|
86
|
+
title: z.ZodOptional<z.ZodString>;
|
|
87
|
+
negativeTags: z.ZodOptional<z.ZodString>;
|
|
88
|
+
vocalGender: z.ZodOptional<z.ZodEnum<typeof import("../../..").MUSIC_VOCAL_GENDER>>;
|
|
89
|
+
instrumental: z.ZodOptional<z.ZodBoolean>;
|
|
90
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
91
|
+
audioId: z.ZodString;
|
|
92
|
+
style: z.ZodString;
|
|
93
|
+
title: z.ZodOptional<z.ZodString>;
|
|
94
|
+
negativeTags: z.ZodOptional<z.ZodString>;
|
|
95
|
+
vocalGender: z.ZodOptional<z.ZodEnum<typeof import("../../..").MUSIC_VOCAL_GENDER>>;
|
|
96
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
97
|
+
audioId: z.ZodString;
|
|
98
|
+
prompt: z.ZodString;
|
|
99
|
+
style: z.ZodString;
|
|
100
|
+
title: z.ZodOptional<z.ZodString>;
|
|
101
|
+
negativeTags: z.ZodOptional<z.ZodString>;
|
|
102
|
+
vocalGender: z.ZodOptional<z.ZodEnum<typeof import("../../..").MUSIC_VOCAL_GENDER>>;
|
|
103
|
+
}, z.core.$strip>]>;
|
|
104
|
+
externalId: z.ZodNullable<z.ZodString>;
|
|
105
|
+
modelId: z.ZodString;
|
|
39
106
|
}, z.core.$strip>>>;
|
|
40
|
-
|
|
107
|
+
jobCount: z.ZodNumber;
|
|
41
108
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
109
|
unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
110
|
createdAt: z.ZodDate;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const CreatePhotoSessionStyleReferenceSchema: z.ZodObject<{
|
|
3
|
+
photoUrl: z.ZodString;
|
|
4
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5
|
+
order: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
export declare namespace CreatePhotoSessionStyleCommand {
|
|
8
|
+
const RequestSchema: z.ZodObject<{
|
|
9
|
+
code: z.ZodString;
|
|
10
|
+
title: z.ZodString;
|
|
11
|
+
description: z.ZodOptional<z.ZodString>;
|
|
12
|
+
references: z.ZodArray<z.ZodObject<{
|
|
13
|
+
photoUrl: z.ZodString;
|
|
14
|
+
description: z.ZodOptional<z.ZodString>;
|
|
15
|
+
order: z.ZodNumber;
|
|
16
|
+
}, z.core.$strip>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
19
|
+
const ResponseSchema: z.ZodObject<{
|
|
20
|
+
data: z.ZodObject<{
|
|
21
|
+
uuid: z.ZodString;
|
|
22
|
+
code: z.ZodString;
|
|
23
|
+
title: z.ZodString;
|
|
24
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
references: z.ZodArray<z.ZodObject<{
|
|
26
|
+
uuid: z.ZodString;
|
|
27
|
+
styleId: z.ZodString;
|
|
28
|
+
photoUrl: z.ZodString;
|
|
29
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
order: z.ZodNumber;
|
|
31
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
32
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
33
|
+
}, z.core.$strip>>;
|
|
34
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
35
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
36
|
+
}, z.core.$strip>;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreatePhotoSessionStyleCommand = exports.CreatePhotoSessionStyleReferenceSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const models_1 = require("../../../../models");
|
|
6
|
+
exports.CreatePhotoSessionStyleReferenceSchema = zod_1.z.object({
|
|
7
|
+
photoUrl: zod_1.z.string(),
|
|
8
|
+
description: zod_1.z.string().optional(),
|
|
9
|
+
order: zod_1.z.number().int().min(0).max(5),
|
|
10
|
+
});
|
|
11
|
+
var CreatePhotoSessionStyleCommand;
|
|
12
|
+
(function (CreatePhotoSessionStyleCommand) {
|
|
13
|
+
CreatePhotoSessionStyleCommand.RequestSchema = zod_1.z.object({
|
|
14
|
+
code: zod_1.z.string(),
|
|
15
|
+
title: zod_1.z.string(),
|
|
16
|
+
description: zod_1.z.string().optional(),
|
|
17
|
+
references: zod_1.z.array(exports.CreatePhotoSessionStyleReferenceSchema).max(6),
|
|
18
|
+
});
|
|
19
|
+
CreatePhotoSessionStyleCommand.ResponseSchema = zod_1.z.object({
|
|
20
|
+
data: models_1.PhotoSessionStyleSchema,
|
|
21
|
+
});
|
|
22
|
+
})(CreatePhotoSessionStyleCommand || (exports.CreatePhotoSessionStyleCommand = CreatePhotoSessionStyleCommand = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace DeletePhotoSessionStyleCommand {
|
|
3
|
+
const RequestParamsSchema: z.ZodObject<{
|
|
4
|
+
uuid: z.ZodString;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
type RequestParams = z.infer<typeof RequestParamsSchema>;
|
|
7
|
+
const ResponseSchema: z.ZodVoid;
|
|
8
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeletePhotoSessionStyleCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
var DeletePhotoSessionStyleCommand;
|
|
6
|
+
(function (DeletePhotoSessionStyleCommand) {
|
|
7
|
+
DeletePhotoSessionStyleCommand.RequestParamsSchema = zod_1.z.object({
|
|
8
|
+
uuid: zod_1.z.string().uuid(),
|
|
9
|
+
});
|
|
10
|
+
DeletePhotoSessionStyleCommand.ResponseSchema = zod_1.z.void();
|
|
11
|
+
})(DeletePhotoSessionStyleCommand || (exports.DeletePhotoSessionStyleCommand = DeletePhotoSessionStyleCommand = {}));
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./create-photo-session-style.command"), exports);
|
|
18
|
+
__exportStar(require("./update-photo-session-style.command"), exports);
|
|
19
|
+
__exportStar(require("./delete-photo-session-style.command"), exports);
|
|
20
|
+
__exportStar(require("./list-photo-session-styles.command"), exports);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace ListPhotoSessionStylesCommand {
|
|
3
|
+
const RequestQuerySchema: z.ZodObject<{
|
|
4
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5
|
+
offset: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
type RequestQuery = z.infer<typeof RequestQuerySchema>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListPhotoSessionStylesCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
var ListPhotoSessionStylesCommand;
|
|
6
|
+
(function (ListPhotoSessionStylesCommand) {
|
|
7
|
+
ListPhotoSessionStylesCommand.RequestQuerySchema = zod_1.z.object({
|
|
8
|
+
limit: zod_1.z.coerce.number().int().min(1).max(50).optional(),
|
|
9
|
+
offset: zod_1.z.coerce.number().int().min(0).optional(),
|
|
10
|
+
});
|
|
11
|
+
})(ListPhotoSessionStylesCommand || (exports.ListPhotoSessionStylesCommand = ListPhotoSessionStylesCommand = {}));
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace UpdatePhotoSessionStyleCommand {
|
|
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
|
+
code: z.ZodOptional<z.ZodString>;
|
|
9
|
+
title: z.ZodOptional<z.ZodString>;
|
|
10
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12
|
+
photoUrl: z.ZodString;
|
|
13
|
+
description: z.ZodOptional<z.ZodString>;
|
|
14
|
+
order: z.ZodNumber;
|
|
15
|
+
}, z.core.$strip>>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
18
|
+
const ResponseSchema: z.ZodObject<{
|
|
19
|
+
data: z.ZodObject<{
|
|
20
|
+
uuid: z.ZodString;
|
|
21
|
+
code: z.ZodString;
|
|
22
|
+
title: z.ZodString;
|
|
23
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
references: z.ZodArray<z.ZodObject<{
|
|
25
|
+
uuid: z.ZodString;
|
|
26
|
+
styleId: z.ZodString;
|
|
27
|
+
photoUrl: z.ZodString;
|
|
28
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
order: z.ZodNumber;
|
|
30
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
31
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
32
|
+
}, z.core.$strip>>;
|
|
33
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
34
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
}, z.core.$strip>;
|
|
37
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdatePhotoSessionStyleCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const models_1 = require("../../../../models");
|
|
6
|
+
const create_photo_session_style_command_1 = require("./create-photo-session-style.command");
|
|
7
|
+
var UpdatePhotoSessionStyleCommand;
|
|
8
|
+
(function (UpdatePhotoSessionStyleCommand) {
|
|
9
|
+
UpdatePhotoSessionStyleCommand.RequestParamsSchema = zod_1.z.object({
|
|
10
|
+
uuid: zod_1.z.string().uuid(),
|
|
11
|
+
});
|
|
12
|
+
UpdatePhotoSessionStyleCommand.RequestSchema = zod_1.z.object({
|
|
13
|
+
code: zod_1.z.string().optional(),
|
|
14
|
+
title: zod_1.z.string().optional(),
|
|
15
|
+
description: zod_1.z.string().nullable().optional(),
|
|
16
|
+
references: zod_1.z.array(create_photo_session_style_command_1.CreatePhotoSessionStyleReferenceSchema).max(6).optional(),
|
|
17
|
+
});
|
|
18
|
+
UpdatePhotoSessionStyleCommand.ResponseSchema = zod_1.z.object({
|
|
19
|
+
data: models_1.PhotoSessionStyleSchema,
|
|
20
|
+
});
|
|
21
|
+
})(UpdatePhotoSessionStyleCommand || (exports.UpdatePhotoSessionStyleCommand = UpdatePhotoSessionStyleCommand = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteAllPhotoSessionJobsCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
var DeleteAllPhotoSessionJobsCommand;
|
|
6
|
+
(function (DeleteAllPhotoSessionJobsCommand) {
|
|
7
|
+
DeleteAllPhotoSessionJobsCommand.ResponseSchema = zod_1.z.void();
|
|
8
|
+
})(DeleteAllPhotoSessionJobsCommand || (exports.DeleteAllPhotoSessionJobsCommand = DeleteAllPhotoSessionJobsCommand = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace DeletePhotoSessionJobByUUIDCommand {
|
|
3
|
+
const RequestParamsSchema: z.ZodObject<{
|
|
4
|
+
uuid: z.ZodString;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
type RequestParams = z.infer<typeof RequestParamsSchema>;
|
|
7
|
+
const ResponseSchema: z.ZodVoid;
|
|
8
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeletePhotoSessionJobByUUIDCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
var DeletePhotoSessionJobByUUIDCommand;
|
|
6
|
+
(function (DeletePhotoSessionJobByUUIDCommand) {
|
|
7
|
+
DeletePhotoSessionJobByUUIDCommand.RequestParamsSchema = zod_1.z.object({
|
|
8
|
+
uuid: zod_1.z.string().uuid(),
|
|
9
|
+
});
|
|
10
|
+
DeletePhotoSessionJobByUUIDCommand.ResponseSchema = zod_1.z.void();
|
|
11
|
+
})(DeletePhotoSessionJobByUUIDCommand || (exports.DeletePhotoSessionJobByUUIDCommand = DeletePhotoSessionJobByUUIDCommand = {}));
|