@purpleschool/gptbot 0.15.62-stage2 → 0.15.63
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 +3 -5
- package/build/api/controllers/http/avatar-studio.js +5 -6
- package/build/api/controllers/http/index.d.ts +0 -1
- package/build/api/controllers/http/index.js +0 -1
- package/build/api/controllers/http/tts.d.ts +0 -9
- package/build/api/controllers/http/tts.js +0 -9
- package/build/api/routes.d.ts +5 -50
- package/build/api/routes.js +5 -50
- package/build/commands/ai-studio/canvas-node/find-canvas-node-definitions-with-configs.query.d.ts +2 -11
- package/build/commands/avatar-studio/clip/create-avatar-studio-clip.command.d.ts +2 -3
- package/build/commands/avatar-studio/clip/find-avatar-studio-clips.query.d.ts +2 -3
- package/build/commands/avatar-studio/clip/get-avatar-studio-clip.query.d.ts +2 -3
- package/build/commands/avatar-studio/clip/update-avatar-studio-clip.command.d.ts +2 -3
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-video.command.d.ts +1 -2
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-voice.command.d.ts +2 -4
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-voice.command.js +2 -4
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-talking-avatar.command.d.ts +78 -0
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-talking-avatar.command.js +14 -0
- package/build/commands/avatar-studio/generation-job/index.d.ts +1 -0
- package/build/commands/avatar-studio/generation-job/index.js +1 -0
- package/build/commands/avatar-studio/scene/{apply-avatar-studio-voice-to-all-scenes.command.d.ts → apply-avatar-studio-voice-sample-to-all-scenes.command.d.ts} +4 -5
- package/build/commands/avatar-studio/scene/apply-avatar-studio-voice-sample-to-all-scenes.command.js +15 -0
- package/build/commands/avatar-studio/scene/create-avatar-studio-scene.command.d.ts +2 -3
- 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 +2 -3
- package/build/commands/avatar-studio/scene/set-avatar-studio-scene-slot.command.d.ts +2 -3
- package/build/commands/avatar-studio/scene/update-avatar-studio-scene.command.d.ts +4 -6
- package/build/commands/avatar-studio/scriptwriter/apply-avatar-studio-scriptwriter-message.command.d.ts +2 -3
- package/build/commands/avatar-studio/scriptwriter/create-avatar-studio-scriptwriter-message.command.d.ts +4 -7
- package/build/commands/avatar-studio/scriptwriter/create-avatar-studio-scriptwriter-message.command.js +2 -4
- package/build/commands/avatar-studio/shared/avatar-studio-common.schema.d.ts +5 -8
- package/build/commands/avatar-studio/shared/avatar-studio-common.schema.js +1 -2
- package/build/commands/avatar-studio/shared/get-avatar-studio-config.query.d.ts +65 -68
- package/build/commands/avatar-studio/shared/get-avatar-studio-config.query.js +40 -58
- package/build/commands/avatar-studio/voice/design-avatar-studio-voice.command.d.ts +56 -26
- package/build/commands/avatar-studio/voice/design-avatar-studio-voice.command.js +7 -6
- package/build/commands/avatar-studio/voice/index.d.ts +0 -3
- package/build/commands/avatar-studio/voice/index.js +0 -3
- package/build/commands/b2b/get-b2b-documentation.command.d.ts +2 -0
- package/build/commands/model-page/base/find-model-page-admin.command.d.ts +1 -0
- package/build/commands/model-page/public/find-model-page-answer-detail.command.d.ts +1 -0
- package/build/commands/model-page/public/find-model-page-detail.command.d.ts +1 -0
- package/build/commands/model-page/public/find-model-page-hub.command.d.ts +1 -0
- package/build/commands/photo-studio/get-photo-studio-config.query.d.ts +4 -0
- package/build/commands/product/create-product.command.d.ts +100 -0
- package/build/commands/product/find-product.command.d.ts +100 -0
- package/build/commands/product/get-my-products.command.d.ts +50 -0
- package/build/commands/product/update-product.command.d.ts +100 -0
- package/build/commands/subscription/create-subscription.command.d.ts +100 -0
- package/build/commands/subscription/find-subscription.command.d.ts +150 -0
- package/build/commands/subscription/get-available-upgrades.command.d.ts +100 -0
- package/build/commands/subscription/get-free-subscription.command.d.ts +50 -0
- package/build/commands/subscription/get-subscriptions-summary.command.d.ts +250 -0
- package/build/commands/subscription/update-subscription.command.d.ts +100 -0
- package/build/commands/team-account/find-current-team-account-products-by-team-account-id.command.d.ts +50 -0
- package/build/commands/team-account/find-current-team-account-products.command.d.ts +50 -0
- package/build/commands/team-account/find-current-team-account-subscriptions-by-team-account-id.command.d.ts +50 -0
- package/build/commands/team-account/find-current-team-account-subscriptions.command.d.ts +50 -0
- package/build/commands/team-account/find-team-account-products.command.d.ts +50 -0
- package/build/commands/team-account/find-team-account-subscriptions.command.d.ts +100 -0
- package/build/commands/team-account/get-team-account-available-upgrades.command.d.ts +50 -0
- package/build/commands/team-to-product/get-team-to-products.command.d.ts +50 -0
- package/build/commands/team-to-subscription/get-team-to-subscriptions.command.d.ts +50 -0
- package/build/commands/tools/diagrams/diagrams.command.d.ts +17 -5
- package/build/commands/tools/diagrams/diagrams.command.js +2 -4
- package/build/commands/tools/diagrams/edit-diagrams-job.command.d.ts +18 -4
- package/build/commands/tools/diagrams/edit-diagrams-job.command.js +1 -2
- package/build/commands/tools/diagrams/find-diagrams-job-by-uuid.command.d.ts +9 -2
- package/build/commands/tools/diagrams/find-diagrams-jobs.command.d.ts +9 -2
- package/build/commands/tools/diagrams/get-diagrams-price.command.d.ts +9 -2
- package/build/commands/tools/diagrams/get-diagrams-price.command.js +2 -2
- package/build/commands/tools/diagrams/get-diagrams-tool-config.command.d.ts +4 -0
- package/build/commands/tools/diagrams/retry-diagrams-job.command.d.ts +15 -3
- package/build/commands/tools/diagrams/retry-diagrams-job.command.js +1 -1
- package/build/commands/tools/diagrams/set-reaction-to-diagrams-job.command.d.ts +9 -2
- package/build/commands/tools/diagrams/update-diagrams-job-favorite.command.d.ts +9 -2
- package/build/commands/tools/diagrams/update-diagrams-job-title.command.d.ts +9 -2
- package/build/commands/tools/html-page-builder/execute-html-page-builder.command.d.ts +0 -2
- package/build/commands/tools/html-page-builder/find-html-page-builder-session-by-uuid.command.d.ts +0 -2
- package/build/commands/tools/html-page-builder/find-html-page-builder-sessions.command.d.ts +0 -2
- package/build/commands/tools/html-page-builder/update-html-page-builder-session-favorite.command.d.ts +0 -2
- package/build/commands/tools/html-page-builder/update-html-page-builder-session-title.command.d.ts +0 -2
- package/build/commands/tools/image-editor/find-image-editor-job-by-uuid.command.d.ts +0 -2
- package/build/commands/tools/image-editor/find-image-editor-jobs.command.d.ts +0 -2
- package/build/commands/tools/image-editor/get-image-editor-tool-config.command.d.ts +1 -0
- package/build/commands/tools/image-editor/retry-image-editor-job.command.d.ts +0 -2
- package/build/commands/tools/image-editor/set-reaction-to-image-editor-job.command.d.ts +0 -2
- package/build/commands/tools/image-editor/update-image-editor-job-favorite.command.d.ts +0 -2
- package/build/commands/tools/image-editor/update-image-editor-job-title.command.d.ts +0 -2
- package/build/commands/tools/image-generation/get-image-generation-config.command.d.ts +1 -0
- package/build/commands/tools/image-recognition/find-image-recognition-job-by-uuid.command.d.ts +0 -2
- package/build/commands/tools/image-recognition/find-image-recognition-jobs.command.d.ts +0 -2
- package/build/commands/tools/image-recognition/image-recognition.command.d.ts +0 -2
- package/build/commands/tools/image-recognition/retry-image-recognition-job.command.d.ts +0 -2
- package/build/commands/tools/image-recognition/set-reaction-to-image-recognition-job.command.d.ts +0 -2
- package/build/commands/tools/image-recognition/update-image-recognition-job-favorite.command.d.ts +0 -2
- package/build/commands/tools/image-recognition/update-image-recognition-job-title.command.d.ts +0 -2
- package/build/commands/tools/index.d.ts +0 -1
- package/build/commands/tools/index.js +0 -1
- package/build/commands/tools/interior-design/find-interior-design-job-by-uuid.command.d.ts +0 -2
- package/build/commands/tools/interior-design/find-interior-design-jobs.command.d.ts +0 -2
- package/build/commands/tools/interior-design/retry-interior-design-job.command.d.ts +0 -2
- package/build/commands/tools/interior-design/set-reaction-to-interior-design-job.command.d.ts +0 -2
- package/build/commands/tools/interior-design/update-interior-design-job-favorite.command.d.ts +0 -2
- package/build/commands/tools/interior-design/update-interior-design-job-title.command.d.ts +0 -2
- package/build/commands/tools/solving-edu-task/find-solving-edu-task-job-by-uuid.command.d.ts +0 -2
- package/build/commands/tools/solving-edu-task/find-solving-edu-task-jobs.command.d.ts +0 -2
- package/build/commands/tools/solving-edu-task/retry-solving-edu-task-job.command.d.ts +0 -2
- package/build/commands/tools/solving-edu-task/set-reaction-to-solving-edu-task-job.command.d.ts +0 -2
- package/build/commands/tools/solving-edu-task/solving-edu-task.command.d.ts +0 -2
- package/build/commands/tools/solving-edu-task/update-solving-edu-task-job-favorite.command.d.ts +0 -2
- package/build/commands/tools/solving-edu-task/update-solving-edu-task-job-title.command.d.ts +0 -2
- package/build/commands/tools/tool/find-grouped-tools.command.d.ts +1 -0
- package/build/commands/tools/tts/find-tts-job-by-uuid.command.d.ts +1 -13
- package/build/commands/tools/tts/find-tts-jobs.command.d.ts +1 -13
- package/build/commands/tools/tts/get-tts-tool-config.command.d.ts +0 -11
- package/build/commands/tools/tts/index.d.ts +0 -9
- package/build/commands/tools/tts/index.js +0 -9
- package/build/commands/tools/tts/retry-tts-job.command.d.ts +1 -13
- package/build/commands/tools/tts/set-reaction-to-tts-job.command.d.ts +1 -13
- package/build/commands/tools/tts/tts.command.d.ts +1 -6
- package/build/commands/tools/tts/tts.command.js +1 -7
- package/build/commands/tools/tts/update-tts-job-favorite.command.d.ts +1 -13
- package/build/commands/tools/tts/update-tts-job-title.command.d.ts +1 -13
- package/build/commands/user/get-user-products.command.d.ts +50 -0
- package/build/commands/user/get-user-subscriptions.command.d.ts +50 -0
- package/build/commands/user-to-subscription/get-user-to-subscriptions.command.d.ts +50 -0
- package/build/constants/avatar-studio/enums/avatar-studio-job-type.enum.d.ts +0 -1
- package/build/constants/avatar-studio/enums/avatar-studio-job-type.enum.js +0 -1
- package/build/constants/avatar-studio/enums/avatar-studio-media-kind.enum.d.ts +2 -1
- package/build/constants/avatar-studio/enums/avatar-studio-media-kind.enum.js +1 -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/avatar-studio-video-quality.enum.d.ts +4 -0
- package/build/constants/avatar-studio/enums/avatar-studio-video-quality.enum.js +8 -0
- 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 +0 -2
- package/build/constants/index.js +0 -2
- package/build/constants/subscription/enums/subscription-feature-type.enum.d.ts +2 -0
- package/build/constants/subscription/enums/subscription-feature-type.enum.js +2 -0
- package/build/constants/tool/enums/index.d.ts +0 -1
- package/build/constants/tool/enums/index.js +0 -1
- package/build/constants/tool/enums/tool-content-type.enum.d.ts +3 -1
- package/build/constants/tool/enums/tool-content-type.enum.js +2 -0
- package/build/constants/tool/enums/tool-group.enum.d.ts +1 -1
- package/build/constants/tool/enums/tool-group.enum.js +1 -1
- package/build/helpers/image-editor/calculate-image-editor-price.helper.d.ts +2 -1
- package/build/helpers/image-editor/calculate-image-editor-price.helper.js +4 -1
- package/build/helpers/image-generation/calculate-image-generation-price.helper.d.ts +1 -1
- package/build/helpers/image-generation/calculate-image-generation-price.helper.js +5 -0
- package/build/helpers/index.d.ts +0 -1
- package/build/helpers/index.js +0 -1
- package/build/models/avatar-studio/avatar-studio.schema.d.ts +11 -15
- package/build/models/avatar-studio/avatar-studio.schema.js +4 -8
- package/build/models/canvas-node-definition.schema.d.ts +6 -33
- package/build/models/model-page/model-page-public.schema.d.ts +3 -0
- package/build/models/model-page/model-page-technical-model.schema.d.ts +3 -0
- package/build/models/product.schema.d.ts +50 -0
- package/build/models/subscription-feature.schema.d.ts +103 -0
- package/build/models/subscription-feature.schema.js +14 -1
- package/build/models/subscription-upgrade-schema.d.ts +50 -0
- package/build/models/subscription.schema.d.ts +250 -0
- package/build/models/team-account/team-to-product.schema.d.ts +50 -0
- package/build/models/team-account/team-to-subscription.schema.d.ts +50 -0
- package/build/models/tool-group.schema.d.ts +1 -0
- package/build/models/tool-group.schema.js +1 -0
- package/build/models/tools/common/attached-tool-file.schema.d.ts +0 -2
- package/build/models/tools/common/attached-tool-file.schema.js +0 -2
- package/build/models/tools/diagrams/diagrams-config.schema.d.ts +4 -0
- package/build/models/tools/diagrams/diagrams-config.schema.js +2 -0
- package/build/models/tools/diagrams/diagrams-job.schema.d.ts +104 -10
- package/build/models/tools/diagrams/diagrams-job.schema.js +71 -17
- package/build/models/tools/html-page-builder/html-page-builder-job.schema.d.ts +0 -4
- package/build/models/tools/html-page-builder/html-page-builder-session.schema.d.ts +0 -2
- package/build/models/tools/image-editor/image-editor-config.schema.d.ts +1 -0
- package/build/models/tools/image-editor/image-editor-job.schema.d.ts +0 -4
- package/build/models/tools/image-editor/image-editor-model.schema.d.ts +3 -0
- package/build/models/tools/image-editor/image-editor-model.schema.js +1 -0
- package/build/models/tools/image-generation/image-generation-config.schema.d.ts +2 -0
- package/build/models/tools/image-generation/image-generation-model.schema.d.ts +3 -0
- package/build/models/tools/image-generation/image-generation-model.schema.js +1 -0
- package/build/models/tools/image-recognition/image-recognition-job.schema.d.ts +0 -4
- package/build/models/tools/index.d.ts +0 -1
- package/build/models/tools/index.js +0 -1
- package/build/models/tools/interior-design/interior-design-job.schema.d.ts +0 -4
- package/build/models/tools/solving-edu-task/solving-edu-task-job.schema.d.ts +0 -4
- package/build/models/tools/tts/index.d.ts +0 -3
- package/build/models/tools/tts/index.js +0 -3
- package/build/models/tools/tts/tts-config.schema.d.ts +0 -23
- package/build/models/tools/tts/tts-config.schema.js +1 -14
- package/build/models/tools/tts/tts-job.schema.d.ts +1 -26
- package/build/models/tools/tts/tts-job.schema.js +2 -16
- package/build/models/tools/tts/tts-model.schema.d.ts +0 -1
- package/build/models/tools/tts/tts-model.schema.js +0 -1
- package/build/models/user-to-product.schema.d.ts +50 -0
- package/build/models/user-to-subscription.schema.d.ts +150 -0
- package/package.json +1 -1
- package/build/api/controllers/http/photo-session.d.ts +0 -20
- package/build/api/controllers/http/photo-session.js +0 -23
- package/build/commands/avatar-studio/scene/apply-avatar-studio-voice-to-all-scenes.command.js +0 -17
- package/build/commands/avatar-studio/voice/clone-avatar-studio-voice.command.d.ts +0 -43
- package/build/commands/avatar-studio/voice/clone-avatar-studio-voice.command.js +0 -19
- package/build/commands/avatar-studio/voice/delete-avatar-studio-voice.command.d.ts +0 -11
- package/build/commands/avatar-studio/voice/delete-avatar-studio-voice.command.js +0 -13
- package/build/commands/avatar-studio/voice/find-avatar-studio-voices.query.d.ts +0 -36
- package/build/commands/avatar-studio/voice/find-avatar-studio-voices.query.js +0 -11
- package/build/commands/tools/photo-session/admin/create-photo-session-style.command.d.ts +0 -39
- package/build/commands/tools/photo-session/admin/create-photo-session-style.command.js +0 -22
- package/build/commands/tools/photo-session/admin/delete-photo-session-style.command.d.ts +0 -9
- package/build/commands/tools/photo-session/admin/delete-photo-session-style.command.js +0 -11
- package/build/commands/tools/photo-session/admin/index.d.ts +0 -4
- package/build/commands/tools/photo-session/admin/index.js +0 -20
- package/build/commands/tools/photo-session/admin/list-photo-session-styles.command.d.ts +0 -8
- package/build/commands/tools/photo-session/admin/list-photo-session-styles.command.js +0 -11
- package/build/commands/tools/photo-session/admin/update-photo-session-style.command.d.ts +0 -38
- package/build/commands/tools/photo-session/admin/update-photo-session-style.command.js +0 -21
- package/build/commands/tools/photo-session/delete-all-photo-session-jobs.command.d.ts +0 -5
- package/build/commands/tools/photo-session/delete-all-photo-session-jobs.command.js +0 -8
- package/build/commands/tools/photo-session/delete-photo-session-job-by-uuid.command.d.ts +0 -9
- package/build/commands/tools/photo-session/delete-photo-session-job-by-uuid.command.js +0 -11
- package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.d.ts +0 -119
- package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.js +0 -14
- package/build/commands/tools/photo-session/find-photo-session-jobs.command.d.ts +0 -128
- package/build/commands/tools/photo-session/find-photo-session-jobs.command.js +0 -24
- package/build/commands/tools/photo-session/get-photo-session-config.command.d.ts +0 -75
- package/build/commands/tools/photo-session/get-photo-session-config.command.js +0 -11
- package/build/commands/tools/photo-session/get-photo-session-styles.command.d.ts +0 -23
- package/build/commands/tools/photo-session/get-photo-session-styles.command.js +0 -11
- package/build/commands/tools/photo-session/index.d.ts +0 -13
- package/build/commands/tools/photo-session/index.js +0 -29
- package/build/commands/tools/photo-session/photo-session.command.d.ts +0 -138
- package/build/commands/tools/photo-session/photo-session.command.js +0 -25
- package/build/commands/tools/photo-session/retry-photo-session-job.command.d.ts +0 -100
- package/build/commands/tools/photo-session/retry-photo-session-job.command.js +0 -14
- package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.d.ts +0 -106
- package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.js +0 -28
- package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.d.ts +0 -104
- package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.js +0 -17
- package/build/commands/tools/photo-session/update-photo-session-job-title.command.d.ts +0 -123
- package/build/commands/tools/photo-session/update-photo-session-job-title.command.js +0 -17
- package/build/commands/tools/photo-session/update-published-status-photo-session-job.command.d.ts +0 -105
- package/build/commands/tools/photo-session/update-published-status-photo-session-job.command.js +0 -23
- package/build/commands/tools/tts/create-voice-clone.command.d.ts +0 -44
- package/build/commands/tools/tts/create-voice-clone.command.js +0 -18
- package/build/commands/tools/tts/create-voice-design.command.d.ts +0 -24
- package/build/commands/tools/tts/create-voice-design.command.js +0 -18
- package/build/commands/tools/tts/delete-voice.command.d.ts +0 -9
- package/build/commands/tools/tts/delete-voice.command.js +0 -11
- package/build/commands/tools/tts/download-tts-job.command.d.ts +0 -18
- package/build/commands/tools/tts/download-tts-job.command.js +0 -17
- package/build/commands/tools/tts/find-voice-by-uuid.query.d.ts +0 -40
- package/build/commands/tools/tts/find-voice-by-uuid.query.js +0 -14
- package/build/commands/tools/tts/find-voices.query.d.ts +0 -48
- package/build/commands/tools/tts/find-voices.query.js +0 -18
- package/build/commands/tools/tts/improve-tts-text.command.d.ts +0 -13
- package/build/commands/tools/tts/improve-tts-text.command.js +0 -13
- package/build/commands/tools/tts/select-voice-design.command.d.ts +0 -44
- package/build/commands/tools/tts/select-voice-design.command.js +0 -17
- package/build/commands/tools/tts/update-voice.command.d.ts +0 -45
- package/build/commands/tools/tts/update-voice.command.js +0 -18
- package/build/constants/avatar-studio/enums/avatar-studio-model-purpose.enum.d.ts +0 -6
- package/build/constants/avatar-studio/enums/avatar-studio-model-purpose.enum.js +0 -10
- package/build/constants/tool/enums/job-scope.enum.d.ts +0 -5
- package/build/constants/tool/enums/job-scope.enum.js +0 -9
- package/build/constants/tool-photo-session/enums/index.d.ts +0 -3
- package/build/constants/tool-photo-session/enums/index.js +0 -19
- package/build/constants/tool-photo-session/enums/photo-session-group-status.enum.d.ts +0 -6
- package/build/constants/tool-photo-session/enums/photo-session-group-status.enum.js +0 -10
- package/build/constants/tool-photo-session/enums/photo-session-look-type.enum.d.ts +0 -5
- package/build/constants/tool-photo-session/enums/photo-session-look-type.enum.js +0 -9
- package/build/constants/tool-photo-session/enums/photo-session-model-type.enum.d.ts +0 -3
- package/build/constants/tool-photo-session/enums/photo-session-model-type.enum.js +0 -7
- package/build/constants/tool-photo-session/index.d.ts +0 -1
- package/build/constants/tool-photo-session/index.js +0 -17
- package/build/constants/tool-tts/enums/index.d.ts +0 -7
- package/build/constants/tool-tts/enums/index.js +0 -23
- package/build/constants/tool-tts/enums/tts-download-format.enum.d.ts +0 -5
- package/build/constants/tool-tts/enums/tts-download-format.enum.js +0 -9
- package/build/constants/tool-tts/enums/voice-category.enum.d.ts +0 -19
- package/build/constants/tool-tts/enums/voice-category.enum.js +0 -23
- package/build/constants/tool-tts/enums/voice-gender.enum.d.ts +0 -4
- package/build/constants/tool-tts/enums/voice-gender.enum.js +0 -8
- package/build/constants/tool-tts/enums/voice-source.enum.d.ts +0 -5
- package/build/constants/tool-tts/enums/voice-source.enum.js +0 -9
- package/build/constants/tool-tts/enums/voice-status.enum.d.ts +0 -5
- package/build/constants/tool-tts/enums/voice-status.enum.js +0 -9
- package/build/constants/tool-tts/enums/voice-tag-group.enum.d.ts +0 -5
- package/build/constants/tool-tts/enums/voice-tag-group.enum.js +0 -9
- package/build/constants/tool-tts/enums/voice-tag.enum.d.ts +0 -20
- package/build/constants/tool-tts/enums/voice-tag.enum.js +0 -24
- package/build/constants/tool-tts/index.d.ts +0 -1
- package/build/constants/tool-tts/index.js +0 -17
- package/build/helpers/photo-session/calculate-photo-session-price.helper.d.ts +0 -6
- package/build/helpers/photo-session/calculate-photo-session-price.helper.js +0 -13
- package/build/helpers/photo-session/index.d.ts +0 -1
- package/build/helpers/photo-session/index.js +0 -17
- package/build/models/tools/photo-session/index.d.ts +0 -5
- package/build/models/tools/photo-session/index.js +0 -21
- package/build/models/tools/photo-session/photo-session-config.schema.d.ts +0 -141
- package/build/models/tools/photo-session/photo-session-config.schema.js +0 -21
- package/build/models/tools/photo-session/photo-session-group.schema.d.ts +0 -112
- package/build/models/tools/photo-session/photo-session-group.schema.js +0 -26
- package/build/models/tools/photo-session/photo-session-job.schema.d.ts +0 -158
- package/build/models/tools/photo-session/photo-session-job.schema.js +0 -55
- package/build/models/tools/photo-session/photo-session-model.schema.d.ts +0 -114
- package/build/models/tools/photo-session/photo-session-model.schema.js +0 -46
- package/build/models/tools/photo-session/photo-session-style.schema.d.ts +0 -29
- package/build/models/tools/photo-session/photo-session-style.schema.js +0 -22
- package/build/models/tools/tts/voice-design-draft.schema.d.ts +0 -13
- package/build/models/tools/tts/voice-design-draft.schema.js +0 -13
- package/build/models/tools/tts/voice-design-sample.schema.d.ts +0 -6
- package/build/models/tools/tts/voice-design-sample.schema.js +0 -8
- package/build/models/tools/tts/voice.schema.d.ts +0 -33
- package/build/models/tools/tts/voice.schema.js +0 -37
|
@@ -44,6 +44,7 @@ export declare namespace GetUserToSubscriptionsCommand {
|
|
|
44
44
|
action: z.ZodNullable<z.ZodOptional<z.ZodEnum<typeof import("../..").SUBSCRIPTION_ACTION>>>;
|
|
45
45
|
features: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
46
46
|
title: z.ZodString;
|
|
47
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
47
48
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.AI_MODEL_ACCESS>;
|
|
48
49
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.AI_MODEL>;
|
|
49
50
|
order: z.ZodNumber;
|
|
@@ -52,76 +53,90 @@ export declare namespace GetUserToSubscriptionsCommand {
|
|
|
52
53
|
maxInputLength: z.ZodNumber;
|
|
53
54
|
}, z.core.$strip>, z.ZodObject<{
|
|
54
55
|
title: z.ZodString;
|
|
56
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
55
57
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.TEXT_GENERATION_QUOTA>;
|
|
56
58
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.TEXT>;
|
|
57
59
|
value: z.ZodNumber;
|
|
58
60
|
tooltip: z.ZodNullable<z.ZodString>;
|
|
59
61
|
}, z.core.$strip>, z.ZodObject<{
|
|
60
62
|
title: z.ZodString;
|
|
63
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
61
64
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.MAX_INPUT_LENGTH>;
|
|
62
65
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.TEXT>;
|
|
63
66
|
tooltip: z.ZodString;
|
|
64
67
|
value: z.ZodNumber;
|
|
65
68
|
}, z.core.$strip>, z.ZodObject<{
|
|
66
69
|
title: z.ZodString;
|
|
70
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
67
71
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.TEXT>;
|
|
68
72
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.WEB_SEARCH>;
|
|
69
73
|
isAvailable: z.ZodBoolean;
|
|
70
74
|
}, z.core.$strip>, z.ZodObject<{
|
|
71
75
|
title: z.ZodString;
|
|
76
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
72
77
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.TEXT>;
|
|
73
78
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.ADVANCED_TOOLS_ACCESS>;
|
|
74
79
|
isAvailable: z.ZodBoolean;
|
|
75
80
|
}, z.core.$strip>, z.ZodObject<{
|
|
76
81
|
title: z.ZodString;
|
|
82
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
77
83
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.TTS>;
|
|
78
84
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.TTS_MODEL_ACCESS>;
|
|
79
85
|
isAvailable: z.ZodBoolean;
|
|
80
86
|
modelId: z.ZodString;
|
|
81
87
|
}, z.core.$strip>, z.ZodObject<{
|
|
82
88
|
title: z.ZodString;
|
|
89
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
83
90
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.IMAGE_GENERATION>;
|
|
84
91
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_GENERATION_QUOTA>;
|
|
85
92
|
value: z.ZodNumber;
|
|
86
93
|
}, z.core.$strip>, z.ZodObject<{
|
|
87
94
|
title: z.ZodString;
|
|
95
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
88
96
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.TTS>;
|
|
89
97
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.TTS_QUOTA>;
|
|
90
98
|
value: z.ZodNumber;
|
|
91
99
|
}, z.core.$strip>, z.ZodObject<{
|
|
92
100
|
title: z.ZodString;
|
|
101
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
93
102
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.STT>;
|
|
94
103
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.STT_MODEL_ACCESS>;
|
|
95
104
|
isAvailable: z.ZodBoolean;
|
|
96
105
|
modelId: z.ZodString;
|
|
97
106
|
}, z.core.$strip>, z.ZodObject<{
|
|
98
107
|
title: z.ZodString;
|
|
108
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
99
109
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.STT>;
|
|
100
110
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.STT_QUOTA>;
|
|
101
111
|
value: z.ZodNumber;
|
|
102
112
|
}, z.core.$strip>, z.ZodObject<{
|
|
103
113
|
title: z.ZodString;
|
|
114
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
104
115
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.VIDEO>;
|
|
105
116
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.VIDEO_QUOTA>;
|
|
106
117
|
value: z.ZodNumber;
|
|
107
118
|
}, z.core.$strip>, z.ZodObject<{
|
|
108
119
|
title: z.ZodString;
|
|
120
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
109
121
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.VIDEO>;
|
|
110
122
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.VIDEO_MODEL_ACCESS>;
|
|
111
123
|
isAvailable: z.ZodBoolean;
|
|
112
124
|
modelId: z.ZodString;
|
|
113
125
|
}, z.core.$strip>, z.ZodObject<{
|
|
114
126
|
title: z.ZodString;
|
|
127
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
115
128
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.EXTENDED_CONTEXT>;
|
|
116
129
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.TEXT>;
|
|
117
130
|
isAvailable: z.ZodBoolean;
|
|
118
131
|
}, z.core.$strip>, z.ZodObject<{
|
|
119
132
|
title: z.ZodString;
|
|
133
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
120
134
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.PRESENTATION>;
|
|
121
135
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.PRESENTATION_QUOTA>;
|
|
122
136
|
value: z.ZodNumber;
|
|
123
137
|
}, z.core.$strip>, z.ZodObject<{
|
|
124
138
|
title: z.ZodString;
|
|
139
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
125
140
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.BASE>;
|
|
126
141
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.TOKENS>;
|
|
127
142
|
tokens: z.ZodNumber;
|
|
@@ -137,6 +152,7 @@ export declare namespace GetUserToSubscriptionsCommand {
|
|
|
137
152
|
}, z.core.$strip>;
|
|
138
153
|
}, z.core.$strip>, z.ZodObject<{
|
|
139
154
|
title: z.ZodString;
|
|
155
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
140
156
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.BASE>;
|
|
141
157
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.CARRYOVER_BALANCE>;
|
|
142
158
|
isAvailable: z.ZodBoolean;
|
|
@@ -153,50 +169,59 @@ export declare namespace GetUserToSubscriptionsCommand {
|
|
|
153
169
|
}, z.core.$strip>;
|
|
154
170
|
}, z.core.$strip>, z.ZodObject<{
|
|
155
171
|
title: z.ZodString;
|
|
172
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
156
173
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.MUSIC>;
|
|
157
174
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.MUSIC_QUOTA>;
|
|
158
175
|
value: z.ZodNumber;
|
|
159
176
|
}, z.core.$strip>, z.ZodObject<{
|
|
160
177
|
title: z.ZodString;
|
|
178
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
161
179
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.MUSIC>;
|
|
162
180
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.MUSIC_MODEL_ACCESS>;
|
|
163
181
|
isAvailable: z.ZodBoolean;
|
|
164
182
|
modelId: z.ZodString;
|
|
165
183
|
}, z.core.$strip>, z.ZodObject<{
|
|
166
184
|
title: z.ZodString;
|
|
185
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
167
186
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.WRITER>;
|
|
168
187
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.WRITER_QUOTA>;
|
|
169
188
|
value: z.ZodNumber;
|
|
170
189
|
}, z.core.$strip>, z.ZodObject<{
|
|
171
190
|
title: z.ZodString;
|
|
191
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
172
192
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.WRITER>;
|
|
173
193
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.WRITER_MODEL_ACCESS>;
|
|
174
194
|
isAvailable: z.ZodBoolean;
|
|
175
195
|
modelId: z.ZodString;
|
|
176
196
|
}, z.core.$strip>, z.ZodObject<{
|
|
177
197
|
title: z.ZodString;
|
|
198
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
178
199
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.IMAGE_EDITOR>;
|
|
179
200
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_EDITOR_QUOTA>;
|
|
180
201
|
value: z.ZodNumber;
|
|
181
202
|
}, z.core.$strip>, z.ZodObject<{
|
|
182
203
|
title: z.ZodString;
|
|
204
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
183
205
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.IMAGE_EDITOR>;
|
|
184
206
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_EDITOR_MODEL_ACCESS>;
|
|
185
207
|
isAvailable: z.ZodBoolean;
|
|
186
208
|
modelId: z.ZodString;
|
|
187
209
|
}, z.core.$strip>, z.ZodObject<{
|
|
188
210
|
title: z.ZodString;
|
|
211
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
189
212
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.INTERIOR_DESIGN>;
|
|
190
213
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.INTERIOR_DESIGN_QUOTA>;
|
|
191
214
|
value: z.ZodNumber;
|
|
192
215
|
}, z.core.$strip>, z.ZodObject<{
|
|
193
216
|
title: z.ZodString;
|
|
217
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
194
218
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.INTERIOR_DESIGN>;
|
|
195
219
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.INTERIOR_DESIGN_MODEL_ACCESS>;
|
|
196
220
|
isAvailable: z.ZodBoolean;
|
|
197
221
|
modelId: z.ZodString;
|
|
198
222
|
}, z.core.$strip>, z.ZodObject<{
|
|
199
223
|
title: z.ZodString;
|
|
224
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
200
225
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_GENERATION_ACCESS>;
|
|
201
226
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.IMAGE_GENERATION>;
|
|
202
227
|
order: z.ZodNumber;
|
|
@@ -204,74 +229,99 @@ export declare namespace GetUserToSubscriptionsCommand {
|
|
|
204
229
|
isAvailable: z.ZodBoolean;
|
|
205
230
|
}, z.core.$strip>, z.ZodObject<{
|
|
206
231
|
title: z.ZodString;
|
|
232
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
207
233
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.SPELL_CORRECTOR>;
|
|
208
234
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.SPELL_CORRECTOR_QUOTA>;
|
|
209
235
|
value: z.ZodNumber;
|
|
210
236
|
}, z.core.$strip>, z.ZodObject<{
|
|
211
237
|
title: z.ZodString;
|
|
238
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
212
239
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.SPELL_CORRECTOR>;
|
|
213
240
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.SPELL_CORRECTOR_MODEL_ACCESS>;
|
|
214
241
|
isAvailable: z.ZodBoolean;
|
|
215
242
|
modelId: z.ZodString;
|
|
216
243
|
}, z.core.$strip>, z.ZodObject<{
|
|
217
244
|
title: z.ZodString;
|
|
245
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
218
246
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.PARAPHRASE>;
|
|
219
247
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.PARAPHRASE_TYPE_ACCESS>;
|
|
220
248
|
isAvailable: z.ZodBoolean;
|
|
221
249
|
modelId: z.ZodString;
|
|
222
250
|
}, z.core.$strip>, z.ZodObject<{
|
|
223
251
|
title: z.ZodString;
|
|
252
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
224
253
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.MARKETPLACE_CARD>;
|
|
225
254
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.MARKETPLACE_CARD_QUOTA>;
|
|
226
255
|
value: z.ZodNumber;
|
|
227
256
|
}, z.core.$strip>, z.ZodObject<{
|
|
228
257
|
title: z.ZodString;
|
|
258
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
229
259
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.MARKETPLACE_CARD>;
|
|
230
260
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.MARKETPLACE_CARD_MODEL_ACCESS>;
|
|
231
261
|
isAvailable: z.ZodBoolean;
|
|
232
262
|
modelId: z.ZodString;
|
|
233
263
|
}, z.core.$strip>, z.ZodObject<{
|
|
234
264
|
title: z.ZodString;
|
|
265
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
235
266
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.EDU_TASK>;
|
|
236
267
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.EDU_TASK_QUOTA>;
|
|
237
268
|
value: z.ZodNumber;
|
|
238
269
|
}, z.core.$strip>, z.ZodObject<{
|
|
239
270
|
title: z.ZodString;
|
|
271
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
240
272
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.EDU_TASK>;
|
|
241
273
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.EDU_TASK_MODEL_ACCESS>;
|
|
242
274
|
isAvailable: z.ZodBoolean;
|
|
243
275
|
modelId: z.ZodString;
|
|
244
276
|
}, z.core.$strip>, z.ZodObject<{
|
|
245
277
|
title: z.ZodString;
|
|
278
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
246
279
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.VIDEO_EDITOR>;
|
|
247
280
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.VIDEO_EDITOR_QUOTA>;
|
|
248
281
|
value: z.ZodNumber;
|
|
249
282
|
}, z.core.$strip>, z.ZodObject<{
|
|
250
283
|
title: z.ZodString;
|
|
284
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
251
285
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.VIDEO_EDITOR>;
|
|
252
286
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.VIDEO_EDITOR_MODEL_ACCESS>;
|
|
253
287
|
isAvailable: z.ZodBoolean;
|
|
254
288
|
modelId: z.ZodString;
|
|
255
289
|
}, z.core.$strip>, z.ZodObject<{
|
|
256
290
|
title: z.ZodString;
|
|
291
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
257
292
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.HTML_PAGE_BUILDER>;
|
|
258
293
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.HTML_PAGE_BUILDER_MODEL_ACCESS>;
|
|
259
294
|
isAvailable: z.ZodBoolean;
|
|
260
295
|
modelId: z.ZodString;
|
|
261
296
|
}, z.core.$strip>, z.ZodObject<{
|
|
262
297
|
title: z.ZodString;
|
|
298
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
299
|
+
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.HTML_PAGE_BUILDER>;
|
|
300
|
+
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.HTML_PAGE_BUILDER_QUOTA>;
|
|
301
|
+
value: z.ZodNumber;
|
|
302
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
303
|
+
title: z.ZodString;
|
|
304
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
263
305
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.DIAGRAMS>;
|
|
264
306
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.DIAGRAMS_MODEL_ACCESS>;
|
|
265
307
|
isAvailable: z.ZodBoolean;
|
|
266
308
|
modelId: z.ZodString;
|
|
267
309
|
}, z.core.$strip>, z.ZodObject<{
|
|
268
310
|
title: z.ZodString;
|
|
311
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
312
|
+
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.DIAGRAMS>;
|
|
313
|
+
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.DIAGRAMS_QUOTA>;
|
|
314
|
+
value: z.ZodNumber;
|
|
315
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
316
|
+
title: z.ZodString;
|
|
317
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
269
318
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.IMAGE_RECOGNITION>;
|
|
270
319
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_RECOGNITION_MODEL_ACCESS>;
|
|
271
320
|
isAvailable: z.ZodBoolean;
|
|
272
321
|
modelId: z.ZodString;
|
|
273
322
|
}, z.core.$strip>, z.ZodObject<{
|
|
274
323
|
title: z.ZodString;
|
|
324
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
275
325
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.IMAGE_RECOGNITION>;
|
|
276
326
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_RECOGNITION_QUOTA>;
|
|
277
327
|
value: z.ZodNumber;
|
|
@@ -5,6 +5,5 @@ export declare enum AVATAR_STUDIO_JOB_TYPE {
|
|
|
5
5
|
VOICE_TTS = "voice_tts",
|
|
6
6
|
VOICE_STT = "voice_stt",
|
|
7
7
|
TALKING_AVATAR = "talking_avatar",
|
|
8
|
-
/** legacy: новые job'ы этого типа не создаются, значение остаётся ради чтения продовой истории. */
|
|
9
8
|
VOICE_DESIGN = "voice_design"
|
|
10
9
|
}
|
|
@@ -9,6 +9,5 @@ var AVATAR_STUDIO_JOB_TYPE;
|
|
|
9
9
|
AVATAR_STUDIO_JOB_TYPE["VOICE_TTS"] = "voice_tts";
|
|
10
10
|
AVATAR_STUDIO_JOB_TYPE["VOICE_STT"] = "voice_stt";
|
|
11
11
|
AVATAR_STUDIO_JOB_TYPE["TALKING_AVATAR"] = "talking_avatar";
|
|
12
|
-
/** legacy: новые job'ы этого типа не создаются, значение остаётся ради чтения продовой истории. */
|
|
13
12
|
AVATAR_STUDIO_JOB_TYPE["VOICE_DESIGN"] = "voice_design";
|
|
14
13
|
})(AVATAR_STUDIO_JOB_TYPE || (exports.AVATAR_STUDIO_JOB_TYPE = AVATAR_STUDIO_JOB_TYPE = {}));
|
|
@@ -6,4 +6,5 @@ var AVATAR_STUDIO_MEDIA_KIND;
|
|
|
6
6
|
AVATAR_STUDIO_MEDIA_KIND["IMAGE"] = "image";
|
|
7
7
|
AVATAR_STUDIO_MEDIA_KIND["VIDEO"] = "video";
|
|
8
8
|
AVATAR_STUDIO_MEDIA_KIND["AUDIO"] = "audio";
|
|
9
|
+
AVATAR_STUDIO_MEDIA_KIND["VOICE_SAMPLE"] = "voice_sample";
|
|
9
10
|
})(AVATAR_STUDIO_MEDIA_KIND || (exports.AVATAR_STUDIO_MEDIA_KIND = AVATAR_STUDIO_MEDIA_KIND = {}));
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Здесь только то, что действительно является слотом сцены:
|
|
5
5
|
* - аватар и b-roll — два способа получить VIDEO, а не два слота (режим в videoConfig.videoMode);
|
|
6
|
-
* -
|
|
6
|
+
* - образец голоса — вход сцены (scene.voiceSampleMediaId), а не её результат;
|
|
7
7
|
* - референсы — несколько упорядоченных медиа, у них своя join-таблица;
|
|
8
8
|
* - «медиатека» слотом никогда не была: у таких job'ов targetSlot = null.
|
|
9
9
|
*/
|
|
@@ -6,7 +6,7 @@ exports.AVATAR_STUDIO_SLOT = void 0;
|
|
|
6
6
|
*
|
|
7
7
|
* Здесь только то, что действительно является слотом сцены:
|
|
8
8
|
* - аватар и b-roll — два способа получить VIDEO, а не два слота (режим в videoConfig.videoMode);
|
|
9
|
-
* -
|
|
9
|
+
* - образец голоса — вход сцены (scene.voiceSampleMediaId), а не её результат;
|
|
10
10
|
* - референсы — несколько упорядоченных медиа, у них своя join-таблица;
|
|
11
11
|
* - «медиатека» слотом никогда не была: у таких job'ов targetSlot = null.
|
|
12
12
|
*/
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AVATAR_STUDIO_VIDEO_QUALITY = void 0;
|
|
4
|
+
var AVATAR_STUDIO_VIDEO_QUALITY;
|
|
5
|
+
(function (AVATAR_STUDIO_VIDEO_QUALITY) {
|
|
6
|
+
AVATAR_STUDIO_VIDEO_QUALITY["P720"] = "720p";
|
|
7
|
+
AVATAR_STUDIO_VIDEO_QUALITY["P1080"] = "1080p";
|
|
8
|
+
})(AVATAR_STUDIO_VIDEO_QUALITY || (exports.AVATAR_STUDIO_VIDEO_QUALITY = AVATAR_STUDIO_VIDEO_QUALITY = {}));
|
|
@@ -3,10 +3,10 @@ export * from './avatar-studio-image-style.enum';
|
|
|
3
3
|
export * from './avatar-studio-job-status.enum';
|
|
4
4
|
export * from './avatar-studio-job-type.enum';
|
|
5
5
|
export * from './avatar-studio-media-kind.enum';
|
|
6
|
-
export * from './avatar-studio-model-purpose.enum';
|
|
7
6
|
export * from './avatar-studio-scriptwriter-role.enum';
|
|
8
7
|
export * from './avatar-studio-slot.enum';
|
|
9
8
|
export * from './avatar-studio-subtitle-font.enum';
|
|
10
9
|
export * from './avatar-studio-unavailable-reason.enum';
|
|
11
10
|
export * from './avatar-studio-subtitle-mode.enum';
|
|
12
11
|
export * from './avatar-studio-video-mode.enum';
|
|
12
|
+
export * from './avatar-studio-video-quality.enum';
|
|
@@ -19,10 +19,10 @@ __exportStar(require("./avatar-studio-image-style.enum"), exports);
|
|
|
19
19
|
__exportStar(require("./avatar-studio-job-status.enum"), exports);
|
|
20
20
|
__exportStar(require("./avatar-studio-job-type.enum"), exports);
|
|
21
21
|
__exportStar(require("./avatar-studio-media-kind.enum"), exports);
|
|
22
|
-
__exportStar(require("./avatar-studio-model-purpose.enum"), exports);
|
|
23
22
|
__exportStar(require("./avatar-studio-scriptwriter-role.enum"), exports);
|
|
24
23
|
__exportStar(require("./avatar-studio-slot.enum"), exports);
|
|
25
24
|
__exportStar(require("./avatar-studio-subtitle-font.enum"), exports);
|
|
26
25
|
__exportStar(require("./avatar-studio-unavailable-reason.enum"), exports);
|
|
27
26
|
__exportStar(require("./avatar-studio-subtitle-mode.enum"), exports);
|
|
28
27
|
__exportStar(require("./avatar-studio-video-mode.enum"), exports);
|
|
28
|
+
__exportStar(require("./avatar-studio-video-quality.enum"), exports);
|
|
@@ -41,8 +41,6 @@ export * from './tool-video-editor';
|
|
|
41
41
|
export * from './writer';
|
|
42
42
|
export * from './tool-image-editor';
|
|
43
43
|
export * from './tool-image-generation';
|
|
44
|
-
export * from './tool-photo-session';
|
|
45
|
-
export * from './tool-tts';
|
|
46
44
|
export * from './tool-interior-design';
|
|
47
45
|
export * from './tool-html-page-builder';
|
|
48
46
|
export * from './feedback';
|
package/build/constants/index.js
CHANGED
|
@@ -57,8 +57,6 @@ __exportStar(require("./tool-video-editor"), exports);
|
|
|
57
57
|
__exportStar(require("./writer"), exports);
|
|
58
58
|
__exportStar(require("./tool-image-editor"), exports);
|
|
59
59
|
__exportStar(require("./tool-image-generation"), exports);
|
|
60
|
-
__exportStar(require("./tool-photo-session"), exports);
|
|
61
|
-
__exportStar(require("./tool-tts"), exports);
|
|
62
60
|
__exportStar(require("./tool-interior-design"), exports);
|
|
63
61
|
__exportStar(require("./tool-html-page-builder"), exports);
|
|
64
62
|
__exportStar(require("./feedback"), exports);
|
|
@@ -35,7 +35,9 @@ export declare enum SUBSCRIPTION_FEATURE_TYPE {
|
|
|
35
35
|
VIDEO_EDITOR_MODEL_ACCESS = "video_editor_model_access",
|
|
36
36
|
VIDEO_EDITOR_QUOTA = "video_editor_quota",
|
|
37
37
|
HTML_PAGE_BUILDER_MODEL_ACCESS = "html_page_builder_model_access",
|
|
38
|
+
HTML_PAGE_BUILDER_QUOTA = "html_page_builder_quota",
|
|
38
39
|
DIAGRAMS_MODEL_ACCESS = "diagrams_model_access",
|
|
40
|
+
DIAGRAMS_QUOTA = "diagrams_quota",
|
|
39
41
|
IMAGE_RECOGNITION_MODEL_ACCESS = "image_recognition_model_access",
|
|
40
42
|
IMAGE_RECOGNITION_QUOTA = "image_recognition_quota"
|
|
41
43
|
}
|
|
@@ -39,7 +39,9 @@ var SUBSCRIPTION_FEATURE_TYPE;
|
|
|
39
39
|
SUBSCRIPTION_FEATURE_TYPE["VIDEO_EDITOR_MODEL_ACCESS"] = "video_editor_model_access";
|
|
40
40
|
SUBSCRIPTION_FEATURE_TYPE["VIDEO_EDITOR_QUOTA"] = "video_editor_quota";
|
|
41
41
|
SUBSCRIPTION_FEATURE_TYPE["HTML_PAGE_BUILDER_MODEL_ACCESS"] = "html_page_builder_model_access";
|
|
42
|
+
SUBSCRIPTION_FEATURE_TYPE["HTML_PAGE_BUILDER_QUOTA"] = "html_page_builder_quota";
|
|
42
43
|
SUBSCRIPTION_FEATURE_TYPE["DIAGRAMS_MODEL_ACCESS"] = "diagrams_model_access";
|
|
44
|
+
SUBSCRIPTION_FEATURE_TYPE["DIAGRAMS_QUOTA"] = "diagrams_quota";
|
|
43
45
|
SUBSCRIPTION_FEATURE_TYPE["IMAGE_RECOGNITION_MODEL_ACCESS"] = "image_recognition_model_access";
|
|
44
46
|
SUBSCRIPTION_FEATURE_TYPE["IMAGE_RECOGNITION_QUOTA"] = "image_recognition_quota";
|
|
45
47
|
})(SUBSCRIPTION_FEATURE_TYPE || (exports.SUBSCRIPTION_FEATURE_TYPE = SUBSCRIPTION_FEATURE_TYPE = {}));
|
|
@@ -21,4 +21,3 @@ __exportStar(require("./tool-type.enum"), exports);
|
|
|
21
21
|
__exportStar(require("./tool-workspace-item-slot.enum"), exports);
|
|
22
22
|
__exportStar(require("./tool-workspace-status.enum"), exports);
|
|
23
23
|
__exportStar(require("./job-sort.enum"), exports);
|
|
24
|
-
__exportStar(require("./job-scope.enum"), exports);
|
|
@@ -15,5 +15,7 @@ export declare enum TOOL_CONTENT_TYPE {
|
|
|
15
15
|
SOLVING_EDU_TASK = "SOLVING_EDU_TASK",
|
|
16
16
|
SPELL_CORRECTOR = "SPELL_CORRECTOR",
|
|
17
17
|
DIAGRAMS = "DIAGRAMS",
|
|
18
|
-
HTML_PAGE_BUILDER = "HTML_PAGE_BUILDER"
|
|
18
|
+
HTML_PAGE_BUILDER = "HTML_PAGE_BUILDER",
|
|
19
|
+
IMAGE_RECOGNITION = "IMAGE_RECOGNITION",
|
|
20
|
+
SOUND_GENERATION = "SOUND_GENERATION"
|
|
19
21
|
}
|
|
@@ -20,4 +20,6 @@ var TOOL_CONTENT_TYPE;
|
|
|
20
20
|
TOOL_CONTENT_TYPE["SPELL_CORRECTOR"] = "SPELL_CORRECTOR";
|
|
21
21
|
TOOL_CONTENT_TYPE["DIAGRAMS"] = "DIAGRAMS";
|
|
22
22
|
TOOL_CONTENT_TYPE["HTML_PAGE_BUILDER"] = "HTML_PAGE_BUILDER";
|
|
23
|
+
TOOL_CONTENT_TYPE["IMAGE_RECOGNITION"] = "IMAGE_RECOGNITION";
|
|
24
|
+
TOOL_CONTENT_TYPE["SOUND_GENERATION"] = "SOUND_GENERATION";
|
|
23
25
|
})(TOOL_CONTENT_TYPE || (exports.TOOL_CONTENT_TYPE = TOOL_CONTENT_TYPE = {}));
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ImageEditorModelPricingRules } from '../../models';
|
|
2
|
-
export declare function calculateImageEditorPrice({ basePrice, userHasActiveSubscriptionOrProduct, rules, }: {
|
|
2
|
+
export declare function calculateImageEditorPrice({ basePrice, userHasActiveSubscriptionOrProduct, resolution, rules, }: {
|
|
3
3
|
basePrice: number;
|
|
4
4
|
userHasActiveSubscriptionOrProduct: boolean;
|
|
5
|
+
resolution?: string;
|
|
5
6
|
rules: ImageEditorModelPricingRules;
|
|
6
7
|
}): number;
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.calculateImageEditorPrice = calculateImageEditorPrice;
|
|
4
|
-
function calculateImageEditorPrice({ basePrice, userHasActiveSubscriptionOrProduct, rules, }) {
|
|
4
|
+
function calculateImageEditorPrice({ basePrice, userHasActiveSubscriptionOrProduct, resolution, rules, }) {
|
|
5
5
|
let price = basePrice;
|
|
6
6
|
for (const rule of rules !== null && rules !== void 0 ? rules : []) {
|
|
7
7
|
const condition = rule.condition;
|
|
8
8
|
if (condition.withoutSub && userHasActiveSubscriptionOrProduct === false) {
|
|
9
9
|
price += rule.value;
|
|
10
10
|
}
|
|
11
|
+
if (condition.resolution && condition.resolution === resolution) {
|
|
12
|
+
price += rule.value;
|
|
13
|
+
}
|
|
11
14
|
}
|
|
12
15
|
return price;
|
|
13
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ImageGenerationJobParams, ImageModelPricingRules } from '../../models';
|
|
2
2
|
export declare function calculateImageGenerationPrice({ basePrice, params, userHasActiveSubscriptionOrProduct, rules, }: {
|
|
3
3
|
basePrice: number;
|
|
4
|
-
params: Pick<ImageGenerationJobParams, 'resolution'>;
|
|
4
|
+
params: Pick<ImageGenerationJobParams, 'resolution' | 'attachedFiles'>;
|
|
5
5
|
userHasActiveSubscriptionOrProduct: boolean;
|
|
6
6
|
rules: ImageModelPricingRules;
|
|
7
7
|
}): number;
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.calculateImageGenerationPrice = calculateImageGenerationPrice;
|
|
4
4
|
function calculateImageGenerationPrice({ basePrice, params, userHasActiveSubscriptionOrProduct, rules, }) {
|
|
5
|
+
var _a;
|
|
6
|
+
var _b;
|
|
5
7
|
let price = basePrice;
|
|
6
8
|
for (const rule of rules !== null && rules !== void 0 ? rules : []) {
|
|
7
9
|
const condition = rule.condition;
|
|
@@ -11,6 +13,9 @@ function calculateImageGenerationPrice({ basePrice, params, userHasActiveSubscri
|
|
|
11
13
|
if (condition.withoutSub && userHasActiveSubscriptionOrProduct === false) {
|
|
12
14
|
price += rule.value;
|
|
13
15
|
}
|
|
16
|
+
if (condition.perAttachedImage) {
|
|
17
|
+
price += rule.value * ((_b = (_a = params.attachedFiles) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0);
|
|
18
|
+
}
|
|
14
19
|
}
|
|
15
20
|
return price;
|
|
16
21
|
}
|
package/build/helpers/index.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ export * from './video-editor';
|
|
|
8
8
|
export * from './writer';
|
|
9
9
|
export * from './image-editor';
|
|
10
10
|
export * from './image-generation';
|
|
11
|
-
export * from './photo-session';
|
|
12
11
|
export * from './music';
|
|
13
12
|
export * from './interior-design';
|
|
14
13
|
export * from './query-boolean.schema';
|
package/build/helpers/index.js
CHANGED
|
@@ -24,7 +24,6 @@ __exportStar(require("./video-editor"), exports);
|
|
|
24
24
|
__exportStar(require("./writer"), exports);
|
|
25
25
|
__exportStar(require("./image-editor"), exports);
|
|
26
26
|
__exportStar(require("./image-generation"), exports);
|
|
27
|
-
__exportStar(require("./photo-session"), exports);
|
|
28
27
|
__exportStar(require("./music"), exports);
|
|
29
28
|
__exportStar(require("./interior-design"), exports);
|
|
30
29
|
__exportStar(require("./query-boolean.schema"), exports);
|