@purpleschool/gptbot-tools 0.2.52 → 0.2.54
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/account-merge/commands/transfer-user-jobs.command.d.ts +15 -0
- package/build/account-merge/routes/account-merge.amqp.routes.d.ts +3 -0
- package/build/ai-proxy/routes/ai-proxy.routes.d.ts +10 -0
- package/build/ai-vendor/models/ai-vendor.schema.d.ts +19 -0
- package/build/analytics/job-model-analytics/commands/get-job-model-analytics.command.d.ts +9 -0
- package/build/analytics/job-model-analytics/routes/job-model-analytics.http.routes.d.ts +4 -0
- package/build/common/enums/file-type.enum.d.ts +9 -0
- package/build/common/enums/job-scope.enum.d.ts +5 -0
- package/build/common/enums/reasoning-effort.enum.d.ts +9 -0
- package/build/common/enums/tool-model-status.enum.d.ts +4 -0
- package/build/common/enums/tool-model-tag.enum.d.ts +3 -0
- package/build/common/enums/user-reaction.enum.d.ts +4 -0
- package/build/common/errors/error.interface.d.ts +5 -0
- package/build/common/models/attached-file.schema.d.ts +12 -0
- package/build/common/models/command-response.schema.d.ts +12 -0
- package/build/common/models/icon-variants.schema.d.ts +11 -0
- package/build/common/models/locale.schema.d.ts +8 -0
- package/build/diagrams/commands/delete-all-diagrams-jobs.command.d.ts +15 -0
- package/build/diagrams/commands/delete-diagrams-job-by-uuid.command.d.ts +16 -0
- package/build/diagrams/commands/diagrams.command.d.ts +100 -0
- package/build/diagrams/commands/edit-diagrams-job.command.d.ts +99 -0
- package/build/diagrams/commands/get-diagrams-price-calculation-data.command.d.ts +38 -0
- package/build/diagrams/commands/retry-diagrams-job.command.d.ts +101 -0
- package/build/diagrams/commands/set-reaction-to-diagrams-job.command.d.ts +91 -0
- package/build/diagrams/commands/update-diagrams-job-favorite.command.d.ts +89 -0
- package/build/diagrams/commands/update-diagrams-job-title.command.d.ts +93 -0
- package/build/diagrams/models/diagrams-chart-type.schema.d.ts +20 -0
- package/build/diagrams/models/diagrams-config.schema.d.ts +56 -0
- package/build/diagrams/models/diagrams-job.schema.d.ts +59 -0
- package/build/diagrams/models/diagrams-model.schema.d.ts +43 -0
- package/build/diagrams/queries/find-diagrams-job-by-uuid.query.d.ts +88 -0
- package/build/diagrams/queries/find-diagrams-jobs.query.d.ts +104 -0
- package/build/diagrams/queries/get-diagrams-config.query.d.ts +120 -0
- package/build/diagrams/routes/diagrams.amqp.routes.d.ts +14 -0
- package/build/html-page-builder/commands/create-html-page-builder-session.command.d.ts +118 -0
- package/build/html-page-builder/commands/get-html-page-builder-price-calculation-data.command.d.ts +79 -0
- package/build/html-page-builder/commands/get-html-page-builder-price.command.d.ts +24 -0
- package/build/html-page-builder/commands/html-page-builder-execute.command.d.ts +135 -0
- package/build/html-page-builder/commands/soft-delete-all-html-page-builder-sessions.command.d.ts +17 -0
- package/build/html-page-builder/commands/soft-delete-html-page-builder-session-by-uuid.command.d.ts +16 -0
- package/build/html-page-builder/commands/update-html-page-builder-session-favorite.command.d.ts +117 -0
- package/build/html-page-builder/commands/update-html-page-builder-session-title.command.d.ts +117 -0
- package/build/html-page-builder/enums/html-page-builder-session-stage.enum.d.ts +4 -0
- package/build/html-page-builder/models/html-page-builder-config.schema.d.ts +29 -0
- package/build/html-page-builder/models/html-page-builder-job.schema.d.ts +55 -0
- package/build/html-page-builder/models/html-page-builder-model.schema.d.ts +27 -0
- package/build/html-page-builder/models/html-page-builder-session.schema.d.ts +55 -0
- package/build/html-page-builder/queries/find-html-page-builder-session-by-id.query.d.ts +116 -0
- package/build/html-page-builder/queries/find-html-page-builder-sessions.query.d.ts +134 -0
- package/build/html-page-builder/queries/get-html-page-builder-config.query.d.ts +66 -0
- package/build/html-page-builder/routes/html-page-builder.amqp.routes.d.ts +12 -0
- package/build/image-editor/commands/delete-all-image-editor-jobs.command.d.ts +17 -0
- package/build/image-editor/commands/delete-image-editor-job-by-uuid.command.d.ts +16 -0
- package/build/image-editor/commands/get-image-editor-price.command.d.ts +40 -0
- package/build/image-editor/commands/image-editor-model/get-image-editor-model-by-uuid.command.d.ts +97 -0
- package/build/image-editor/commands/image-editor.command.d.ts +127 -0
- package/build/image-editor/commands/image-editor.command.js +4 -4
- package/build/image-editor/commands/retry-image-editor-job.command.d.ts +121 -0
- package/build/image-editor/commands/set-reaction-to-image-editor-job.command.d.ts +101 -0
- package/build/image-editor/commands/update-image-editor-job-favorite.command.d.ts +99 -0
- package/build/image-editor/commands/update-image-editor-job-title.command.d.ts +99 -0
- package/build/image-editor/commands/update-published-status-image-editor-jobs.command.d.ts +104 -0
- package/build/image-editor/enums/image-editor-model-type.enum.d.ts +5 -0
- package/build/image-editor/enums/image-editor-strategy.enum.d.ts +9 -0
- package/build/image-editor/models/image-editor-config.schema.d.ts +143 -0
- package/build/image-editor/models/image-editor-job.schema.d.ts +64 -0
- package/build/image-editor/models/image-editor-job.schema.js +2 -2
- package/build/image-editor/models/image-editor-model.schema.d.ts +69 -0
- package/build/image-editor/queries/find-image-editor-job-by-id.query.d.ts +98 -0
- package/build/image-editor/queries/find-image-editor-jobs.query.d.ts +117 -0
- package/build/image-editor/queries/find-image-editor-jobs.query.js +4 -3
- package/build/image-editor/queries/find-image-jobs.query.d.ts +113 -0
- package/build/image-editor/queries/find-image-jobs.query.js +4 -3
- package/build/image-editor/queries/get-image-editor-config.query.d.ts +170 -0
- package/build/image-editor/routes/image-editor-model.amqp.routes.d.ts +3 -0
- package/build/image-editor/routes/image-editor.amqp.routes.d.ts +14 -0
- package/build/image-editor/routes/image-editor.http.routes.d.ts +1 -0
- package/build/image-generation/commands/execute-image-generation.command.d.ts +131 -0
- package/build/image-generation/commands/forward-image-generation-job.command.d.ts +139 -0
- package/build/image-generation/commands/get-image-generation-price.command.d.ts +44 -0
- package/build/image-generation/commands/image-generation-model/get-image-generation-model-by-uuid.command.d.ts +105 -0
- package/build/image-generation/commands/retry-image-generation-job.command.d.ts +128 -0
- package/build/image-generation/commands/save-image-generation-job.command.d.ts +106 -0
- package/build/image-generation/commands/set-reaction-to-image-generation-job.command.d.ts +107 -0
- package/build/image-generation/commands/soft-delete-image-generation-job-by-uuid.command.d.ts +16 -0
- package/build/image-generation/commands/soft-delete-image-generation-jobs-by-criteria.command.d.ts +17 -0
- package/build/image-generation/commands/update-image-generation-job-favorite.command.d.ts +105 -0
- package/build/image-generation/commands/update-image-generation-job-title.command.d.ts +105 -0
- package/build/image-generation/commands/update-published-status-image-generation-jobs.command.d.ts +110 -0
- package/build/image-generation/enums/image-generation-model-strategy.enum.d.ts +16 -0
- package/build/image-generation/enums/image-generation-models.enum.d.ts +4 -0
- package/build/image-generation/enums/image-generation-resolution.enum.d.ts +5 -0
- package/build/image-generation/models/image-generation-config.schema.d.ts +76 -0
- package/build/image-generation/models/image-generation-job.schema.d.ts +69 -0
- package/build/image-generation/models/image-generation-model.schema.d.ts +92 -0
- package/build/image-generation/models/image-generation-preset.schema.d.ts +11 -0
- package/build/image-generation/queries/find-image-generation-job-by-id.query.d.ts +104 -0
- package/build/image-generation/queries/find-image-generation-jobs.query.d.ts +124 -0
- package/build/image-generation/queries/get-image-generation-config.query.d.ts +160 -0
- package/build/image-generation/routes/image-generation.amqp.routes.d.ts +16 -0
- package/build/image-generation/routes/image-generation.http.routes.d.ts +8 -0
- package/build/image-recognition/commands/delete-all-image-recognition-jobs.command.d.ts +15 -0
- package/build/image-recognition/commands/delete-image-recognition-job-by-uuid.command.d.ts +16 -0
- package/build/image-recognition/commands/get-image-recognition-price.command.d.ts +22 -0
- package/build/image-recognition/commands/image-recognition.command.d.ts +106 -0
- package/build/image-recognition/commands/retry-image-recognition-job.command.d.ts +107 -0
- package/build/image-recognition/commands/set-reaction-to-image-recognition-job.command.d.ts +91 -0
- package/build/image-recognition/commands/update-image-recognition-job-favorite.command.d.ts +89 -0
- package/build/image-recognition/commands/update-image-recognition-job-title.command.d.ts +89 -0
- package/build/image-recognition/models/image-recognition-category.schema.d.ts +23 -0
- package/build/image-recognition/models/image-recognition-config.schema.d.ts +53 -0
- package/build/image-recognition/models/image-recognition-job.schema.d.ts +55 -0
- package/build/image-recognition/models/image-recognition-model.schema.d.ts +40 -0
- package/build/image-recognition/queries/find-image-recognition-job-by-id.query.d.ts +88 -0
- package/build/image-recognition/queries/find-image-recognition-jobs.query.d.ts +104 -0
- package/build/image-recognition/queries/get-image-recognition-config.query.d.ts +114 -0
- package/build/image-recognition/routes/image-recognition.amqp.routes.d.ts +13 -0
- package/build/index.d.ts +74 -0
- package/build/interior-design/commands/delete-all-interior-design-jobs.command.d.ts +15 -0
- package/build/interior-design/commands/delete-interior-design-job-by-uuid.command.d.ts +16 -0
- package/build/interior-design/commands/get-interior-design-price.command.d.ts +42 -0
- package/build/interior-design/commands/interior-design-model/get-interior-design-model-by-uuid.command.d.ts +85 -0
- package/build/interior-design/commands/interior-design.command.d.ts +116 -0
- package/build/interior-design/commands/retry-interior-design-job.command.d.ts +115 -0
- package/build/interior-design/commands/set-reaction-to-interior-design-job.command.d.ts +97 -0
- package/build/interior-design/commands/update-interior-design-job-favorite.command.d.ts +95 -0
- package/build/interior-design/commands/update-interior-design-job-title.command.d.ts +95 -0
- package/build/interior-design/enums/interior-design-job-source.enum.d.ts +4 -0
- package/build/interior-design/enums/interior-design-model-type.enum.d.ts +4 -0
- package/build/interior-design/enums/interior-design-strategy.enum.d.ts +6 -0
- package/build/interior-design/models/interior-design-config.schema.d.ts +68 -0
- package/build/interior-design/models/interior-design-job.schema.d.ts +61 -0
- package/build/interior-design/models/interior-design-model.schema.d.ts +59 -0
- package/build/interior-design/queries/find-interior-design-job-by-id.query.d.ts +94 -0
- package/build/interior-design/queries/find-interior-design-jobs.query.d.ts +110 -0
- package/build/interior-design/queries/get-interior-design-config.query.d.ts +114 -0
- package/build/interior-design/routes/interior-design-model.amqp.routes.d.ts +3 -0
- package/build/interior-design/routes/interior-design.amqp.routes.d.ts +13 -0
- package/build/interior-design/routes/interior-design.http.routes.d.ts +1 -0
- package/build/language/models/language.schema.d.ts +10 -0
- package/build/marketplace-card/commands/execute-marketplace-card.command.d.ts +172 -0
- package/build/marketplace-card/commands/execute-marketplace-card.command.js +4 -4
- package/build/marketplace-card/commands/generate-marketplace-card-description.command.d.ts +59 -0
- package/build/marketplace-card/commands/get-marketplace-card-price.command.d.ts +22 -0
- package/build/marketplace-card/commands/retry-marketplace-card-job.command.d.ts +162 -0
- package/build/marketplace-card/commands/set-reaction-to-marketplace-card-job.command.d.ts +133 -0
- package/build/marketplace-card/commands/soft-delete-all-marketplace-card-jobs.command.d.ts +15 -0
- package/build/marketplace-card/commands/soft-delete-marketplace-card-job-by-uuid.command.d.ts +16 -0
- package/build/marketplace-card/commands/update-marketplace-card-job-favorite.command.d.ts +131 -0
- package/build/marketplace-card/commands/update-title-marketplace-card-job.command.d.ts +131 -0
- package/build/marketplace-card/enums/marketplace-card-strategy.enum.d.ts +6 -0
- package/build/marketplace-card/models/marketplace-card-config.schema.d.ts +44 -0
- package/build/marketplace-card/models/marketplace-card-description-generation.schema.d.ts +24 -0
- package/build/marketplace-card/models/marketplace-card-description-generation.schema.js +2 -2
- package/build/marketplace-card/models/marketplace-card-job.schema.d.ts +97 -0
- package/build/marketplace-card/models/marketplace-card-job.schema.js +2 -2
- package/build/marketplace-card/models/marketplace-card-model.schema.d.ts +45 -0
- package/build/marketplace-card/models/marketplace-card-style-preset.schema.d.ts +9 -0
- package/build/marketplace-card/queries/find-marketplace-card-job-by-uuid.query.d.ts +130 -0
- package/build/marketplace-card/queries/find-marketplace-card-jobs.query.d.ts +147 -0
- package/build/marketplace-card/queries/find-marketplace-card-jobs.query.js +4 -3
- package/build/marketplace-card/queries/get-marketplace-card-config.query.d.ts +96 -0
- package/build/marketplace-card/routes/marketplace-card.amqp.routes.d.ts +14 -0
- package/build/music/commands/add-track-to-music-playlist.command.d.ts +83 -0
- package/build/music/commands/boost-music-style.command.d.ts +21 -0
- package/build/music/commands/convert-to-wav.command.d.ts +21 -0
- package/build/music/commands/create-music-playlist.command.d.ts +82 -0
- package/build/music/commands/delete-all-music-jobs.command.d.ts +15 -0
- package/build/music/commands/delete-music-job-by-uuid.command.d.ts +16 -0
- package/build/music/commands/delete-music-playlist.command.d.ts +16 -0
- package/build/music/commands/edit-music.command.d.ts +227 -0
- package/build/music/commands/generate-lyrics.command.d.ts +22 -0
- package/build/music/commands/generate-music.command.d.ts +234 -0
- package/build/music/commands/get-music-price.command.d.ts +43 -0
- package/build/music/commands/music-model/get-music-model-by-uuid.command.d.ts +97 -0
- package/build/music/commands/remove-track-from-music-playlist.command.d.ts +83 -0
- package/build/music/commands/retry-music-job.command.d.ts +233 -0
- package/build/music/commands/set-reaction-to-music-job.command.d.ts +213 -0
- package/build/music/commands/update-music-job-favorite.command.d.ts +211 -0
- package/build/music/commands/update-music-job-title.command.d.ts +211 -0
- package/build/music/commands/update-music-playlist.command.d.ts +83 -0
- package/build/music/commands/update-published-status-music-jobs.command.d.ts +217 -0
- package/build/music/enums/music-action-type.enum.d.ts +10 -0
- package/build/music/enums/music-audio-action-type.enum.d.ts +8 -0
- package/build/music/enums/music-generation-action-type.enum.d.ts +6 -0
- package/build/music/enums/music-lyrics-structure.enum.d.ts +5 -0
- package/build/music/enums/music-pricing-rule-type.enum.d.ts +3 -0
- package/build/music/enums/music-strategy.enum.d.ts +4 -0
- package/build/music/enums/music-vocal-gender.enum.d.ts +4 -0
- package/build/music/enums/suno-mode-type.enum.d.ts +6 -0
- package/build/music/enums/suno-model-type.enum.d.ts +7 -0
- package/build/music/models/music-config-with-vendors.schema.d.ts +65 -0
- package/build/music/models/music-config.schema.d.ts +50 -0
- package/build/music/models/music-job.schema.d.ts +258 -0
- package/build/music/models/music-model-with-vendor.schema.d.ts +45 -0
- package/build/music/models/music-model.schema.d.ts +71 -0
- package/build/music/models/music-playlist.schema.d.ts +36 -0
- package/build/music/models/music-track.schema.d.ts +27 -0
- package/build/music/queries/find-music-job-by-id.query.d.ts +210 -0
- package/build/music/queries/find-music-jobs.query.d.ts +226 -0
- package/build/music/queries/find-music-playlists.query.d.ts +81 -0
- package/build/music/queries/get-music-config-with-vendors.query.d.ts +138 -0
- package/build/music/queries/get-music-config.query.d.ts +102 -0
- package/build/music/routes/music-model.amqp.routes.d.ts +3 -0
- package/build/music/routes/music.amqp.routes.d.ts +25 -0
- package/build/music/routes/music.http.routes.d.ts +1 -0
- package/build/music/utils/calculate-music-generation-price.util.d.ts +3 -0
- package/build/paraphrase/commands/delete-all-paraphrase-jobs.command.d.ts +15 -0
- package/build/paraphrase/commands/delete-paraphrase-job-by-uuid.command.d.ts +16 -0
- package/build/paraphrase/commands/get-paraphrase-price.command.d.ts +21 -0
- package/build/paraphrase/commands/paraphrase.command.d.ts +62 -0
- package/build/paraphrase/commands/retry-paraphrase-job.command.d.ts +58 -0
- package/build/paraphrase/commands/set-reaction-to-paraphrase-job.command.d.ts +59 -0
- package/build/paraphrase/commands/update-paraphrase-job-favorite.command.d.ts +57 -0
- package/build/paraphrase/commands/update-paraphrase-job-title.command.d.ts +57 -0
- package/build/paraphrase/enums/paraphrasing-intesity.enum.d.ts +5 -0
- package/build/paraphrase/models/paraphrase-job.schema.d.ts +26 -0
- package/build/paraphrase/models/paraphrase-style.schema.d.ts +11 -0
- package/build/paraphrase/models/paraphrase-tool-config.schema.d.ts +25 -0
- package/build/paraphrase/models/paraphrase-type.schema.d.ts +14 -0
- package/build/paraphrase/queries/find-paraphrase-job-by-uuid.query.d.ts +56 -0
- package/build/paraphrase/queries/find-paraphrase-jobs.query.d.ts +72 -0
- package/build/paraphrase/queries/get-paraphrase-tool-config.query.d.ts +58 -0
- package/build/paraphrase/routes/paraphrase.amqp.routes.d.ts +13 -0
- package/build/presentation/commands/build-blank-slide.command.d.ts +292 -0
- package/build/presentation/commands/create-presentation.command.d.ts +77 -0
- package/build/presentation/commands/delete-all-user-presentations.command.d.ts +15 -0
- package/build/presentation/commands/delete-presentation.command.d.ts +16 -0
- package/build/presentation/commands/delete-slide-outline.command.d.ts +17 -0
- package/build/presentation/commands/export-as-pptx.command.d.ts +155 -0
- package/build/presentation/commands/generate-and-insert-slide.command.d.ts +300 -0
- package/build/presentation/commands/generate-presentation-outline.command.d.ts +37 -0
- package/build/presentation/commands/generate-slides.command.d.ts +78 -0
- package/build/presentation/commands/get-presentation-slides-generation-price.command.d.ts +22 -0
- package/build/presentation/commands/presentation-generate-report.command.d.ts +23 -0
- package/build/presentation/commands/presentation-paraphrase.command.d.ts +23 -0
- package/build/presentation/commands/reposition-slide-outline.command.d.ts +18 -0
- package/build/presentation/commands/reposition-slide.command.d.ts +18 -0
- package/build/presentation/commands/set-reaction-to-presentation.command.d.ts +73 -0
- package/build/presentation/commands/update-presentation-favorite.command.d.ts +71 -0
- package/build/presentation/commands/update-presentation-outline.command.d.ts +42 -0
- package/build/presentation/commands/update-presentation-slides.command.d.ts +408 -0
- package/build/presentation/commands/update-presentation.command.d.ts +79 -0
- package/build/presentation/commands/update-slide-image-slot.command.d.ts +51 -0
- package/build/presentation/commands/update-slide-outline.command.d.ts +40 -0
- package/build/presentation/commands/update-slide.command.d.ts +405 -0
- package/build/presentation/constants/slide-layout-map.constant.d.ts +3 -0
- package/build/presentation/enums/presentation-ai-action-call-status.enum.d.ts +5 -0
- package/build/presentation/enums/presentation-ai-action-pricing-type.enum.d.ts +4 -0
- package/build/presentation/enums/presentation-ai-action-type.enum.d.ts +4 -0
- package/build/presentation/enums/presentation-stage.enum.d.ts +10 -0
- package/build/presentation/enums/presentation-target-audience.enum.d.ts +6 -0
- package/build/presentation/enums/slide-content-type.enum.d.ts +12 -0
- package/build/presentation/enums/slide-icon-slot-status.enum.d.ts +6 -0
- package/build/presentation/enums/slide-image-job-status.enum.d.ts +6 -0
- package/build/presentation/enums/slide-image-slot-action.enum.d.ts +4 -0
- package/build/presentation/enums/slide-image-slot-status.enum.d.ts +6 -0
- package/build/presentation/enums/slide-layout.enum.d.ts +4 -0
- package/build/presentation/models/pptx-export-payload.d.ts +687 -0
- package/build/presentation/models/presentation-ai-action.schema.d.ts +29 -0
- package/build/presentation/models/presentation-config.schema.d.ts +57 -0
- package/build/presentation/models/presentation-template.schema.d.ts +13 -0
- package/build/presentation/models/presentation-title-page.schema.d.ts +7 -0
- package/build/presentation/models/presentation.schema.d.ts +220 -0
- package/build/presentation/models/slide-content-edit.schema.d.ts +243 -0
- package/build/presentation/models/slide-content-type.schema.d.ts +12 -0
- package/build/presentation/models/slide-content.schema.d.ts +382 -0
- package/build/presentation/models/slide-content.schema.js +8 -0
- package/build/presentation/models/slide-icon-slot.schema.d.ts +12 -0
- package/build/presentation/models/slide-image-slot.schema.d.ts +14 -0
- package/build/presentation/models/slide-outline.schema.d.ts +28 -0
- package/build/presentation/models/slide.schema.d.ts +372 -0
- package/build/presentation/queries/find-presentation-by-uuid.query.d.ts +366 -0
- package/build/presentation/queries/find-presentation-outline.query.d.ts +34 -0
- package/build/presentation/queries/find-presentations.query.d.ts +86 -0
- package/build/presentation/queries/get-presentation-config.query.d.ts +122 -0
- package/build/presentation/routes/presentation.routes.d.ts +32 -0
- package/build/presentation/utils/calculate-presentation-ai-action-price.util.d.ts +2 -0
- package/build/solving-edu-task/commands/delete-all-solving-edu-task-jobs.command.d.ts +15 -0
- package/build/solving-edu-task/commands/delete-solving-edu-task-job-by-uuid.command.d.ts +16 -0
- package/build/solving-edu-task/commands/get-solving-edu-task-price.command.d.ts +22 -0
- package/build/solving-edu-task/commands/retry-solving-edu-task-job.command.d.ts +104 -0
- package/build/solving-edu-task/commands/set-reaction-to-solving-edu-task-job.command.d.ts +89 -0
- package/build/solving-edu-task/commands/solving-edu-task.command.d.ts +103 -0
- package/build/solving-edu-task/commands/update-solving-edu-task-job-favorite.command.d.ts +87 -0
- package/build/solving-edu-task/commands/update-solving-edu-task-job-title.command.d.ts +87 -0
- package/build/solving-edu-task/models/solving-edu-task-config.schema.d.ts +34 -0
- package/build/solving-edu-task/models/solving-edu-task-job.schema.d.ts +54 -0
- package/build/solving-edu-task/models/solving-edu-task-model.schema.d.ts +41 -0
- package/build/solving-edu-task/queries/find-solving-edu-task-job-by-id.query.d.ts +86 -0
- package/build/solving-edu-task/queries/find-solving-edu-task-jobs.query.d.ts +102 -0
- package/build/solving-edu-task/queries/get-solving-edu-task-config.query.d.ts +76 -0
- package/build/solving-edu-task/routes/solving-edu-task.amqp.routes.d.ts +13 -0
- package/build/spell-corrector/commands/delete-all-spell-corrector-jobs.command.d.ts +15 -0
- package/build/spell-corrector/commands/delete-spell-corrector-job-by-uuid.command.d.ts +16 -0
- package/build/spell-corrector/commands/get-spell-corrector-price.command.d.ts +21 -0
- package/build/spell-corrector/commands/retry-spell-corrector-job.command.d.ts +54 -0
- package/build/spell-corrector/commands/set-reaction-to-spell-corrector-job.command.d.ts +55 -0
- package/build/spell-corrector/commands/spell-corrector.command.d.ts +55 -0
- package/build/spell-corrector/commands/update-spell-corrector-job-favorite.command.d.ts +53 -0
- package/build/spell-corrector/commands/update-spell-corrector-job-title.command.d.ts +53 -0
- package/build/spell-corrector/models/spell-corrector-job.schema.d.ts +23 -0
- package/build/spell-corrector/models/spell-corrector-model.schema.d.ts +25 -0
- package/build/spell-corrector/models/spell-corrector-tool-config.schema.d.ts +27 -0
- package/build/spell-corrector/queries/find-spell-corrector-job-by-uuid.query.d.ts +52 -0
- package/build/spell-corrector/queries/find-spell-corrector-jobs.query.d.ts +68 -0
- package/build/spell-corrector/queries/get-spell-corrector-tool-config.query.d.ts +62 -0
- package/build/spell-corrector/routes/spell-corrector.amqp.routes.d.ts +13 -0
- package/build/stt/commands/delete-all-stt-jobs.command.d.ts +17 -0
- package/build/stt/commands/delete-stt-job-by-uuid.command.d.ts +16 -0
- package/build/stt/commands/get-stt-price.command.d.ts +22 -0
- package/build/stt/commands/retry-stt-job.command.d.ts +74 -0
- package/build/stt/commands/set-reaction-to-stt-job.command.d.ts +75 -0
- package/build/stt/commands/stt.command.d.ts +81 -0
- package/build/stt/commands/update-stt-job-favorite.command.d.ts +73 -0
- package/build/stt/commands/update-stt-job-title.command.d.ts +77 -0
- package/build/stt/enums/stt-strategy.enum.d.ts +4 -0
- package/build/stt/models/stt-config-with-vendors.schema.d.ts +47 -0
- package/build/stt/models/stt-config.schema.d.ts +29 -0
- package/build/stt/models/stt-job.schema.d.ts +33 -0
- package/build/stt/models/stt-model-with-vendor.schema.d.ts +28 -0
- package/build/stt/models/stt-model.schema.d.ts +28 -0
- package/build/stt/models/stt-response.schema.d.ts +8 -0
- package/build/stt/models/stt-response.schema.js +1 -1
- package/build/stt/queries/find-stt-job-by-uuid.query.d.ts +72 -0
- package/build/stt/queries/find-stt-jobs.query.d.ts +90 -0
- package/build/stt/queries/get-stt-config-with-vendors.query.d.ts +102 -0
- package/build/stt/queries/get-stt-config.query.d.ts +67 -0
- package/build/stt/routes/stt.amqp.routes.d.ts +14 -0
- package/build/tool-workspace/commands/soft-delete-all-tool-workspaces-by-tool-type.command.d.ts +21 -0
- package/build/tool-workspace/commands/soft-delete-all-tool-workspaces-by-tool-type.command.js +2 -2
- package/build/tool-workspace/commands/soft-delete-tool-workspace.command.d.ts +20 -0
- package/build/tool-workspace/commands/update-tool-workspace.command.d.ts +40 -0
- package/build/tool-workspace/enums/tool-workspace-item-slot.enum.d.ts +5 -0
- package/build/tool-workspace/enums/tool-workspace-status.enum.d.ts +4 -0
- package/build/tool-workspace/models/tool-workspace-contents.schema.d.ts +177 -0
- package/build/tool-workspace/models/tool-workspace-item.schema.d.ts +166 -0
- package/build/tool-workspace/models/tool-workspace-item.schema.js +2 -2
- package/build/tool-workspace/models/tool-workspace-job.schema.d.ts +156 -0
- package/build/tool-workspace/models/tool-workspace-job.schema.js +10 -10
- package/build/tool-workspace/models/tool-workspace.schema.d.ts +15 -0
- package/build/tool-workspace/models/tool-workspace.schema.js +2 -2
- package/build/tool-workspace/queries/find-tool-workspace-by-uuid.query.d.ts +364 -0
- package/build/tool-workspace/queries/find-tool-workspaces.query.d.ts +48 -0
- package/build/tool-workspace/queries/find-tool-workspaces.query.js +2 -2
- package/build/tool-workspace/routes/tool-workspace.amqp.routes.d.ts +7 -0
- package/build/tools/enums/job-sort.enum.d.ts +4 -0
- package/build/tools/enums/job-status.enum.d.ts +6 -0
- package/build/tools/enums/tool-content-type.enum.d.ts +20 -0
- package/build/tools/enums/tool-group.enum.d.ts +8 -0
- package/build/tools/enums/tool-type.enum.d.ts +22 -0
- package/build/tools/events/tool-job-complete.event.d.ts +19 -0
- package/build/tools/events/tool-job-failed.event.d.ts +17 -0
- package/build/tools/models/global-tools-config.schema.d.ts +922 -0
- package/build/tools/models/tool-group.schema.d.ts +20 -0
- package/build/tools/models/tool-job.schema.d.ts +11 -0
- package/build/tools/models/tool.schema.d.ts +16 -0
- package/build/tools/models/tools-with-configs.schema.d.ts +2250 -0
- package/build/tools/queries/find-all-tools.query.d.ts +38 -0
- package/build/tools/queries/find-grouped-tools.query.d.ts +46 -0
- package/build/tools/queries/get-global-tools-config.query.d.ts +1852 -0
- package/build/tools/queries/get-tools-with-configs.query.d.ts +2258 -0
- package/build/tools/routes/tools.aqmp.routes.d.ts +8 -0
- package/build/tts/commands/delete-all-tts-jobs.command.d.ts +17 -0
- package/build/tts/commands/delete-tts-job-by-uuid.command.d.ts +16 -0
- package/build/tts/commands/get-tts-price.command.d.ts +22 -0
- package/build/tts/commands/retry-tts-job.command.d.ts +80 -0
- package/build/tts/commands/set-reaction-to-tts-job.command.d.ts +81 -0
- package/build/tts/commands/tts.command.d.ts +94 -0
- package/build/tts/commands/update-tts-job-favorite.command.d.ts +79 -0
- package/build/tts/commands/update-tts-job-title.command.d.ts +79 -0
- package/build/tts/enums/tts-model-type.enum.d.ts +4 -0
- package/build/tts/enums/tts-strategy.enum.d.ts +4 -0
- package/build/tts/models/tts-config-with-vendors.schema.d.ts +143 -0
- package/build/tts/models/tts-config.schema.d.ts +125 -0
- package/build/tts/models/tts-job.schema.d.ts +48 -0
- package/build/tts/models/tts-model-with-vendor.schema.d.ts +124 -0
- package/build/tts/models/tts-model.schema.d.ts +244 -0
- package/build/tts/queries/find-tts-job-by-id.query.d.ts +78 -0
- package/build/tts/queries/find-tts-jobs.query.d.ts +96 -0
- package/build/tts/queries/get-tts-config-with-vendors.query.d.ts +294 -0
- package/build/tts/queries/get-tts-config.query.d.ts +259 -0
- package/build/tts/routes/tts.amqp.routes.d.ts +14 -0
- package/build/video/commands/delete-all-video-jobs.command.d.ts +17 -0
- package/build/video/commands/delete-video-job-by-uuid.command.d.ts +16 -0
- package/build/video/commands/get-video-price.command.d.ts +51 -0
- package/build/video/commands/moderate-video-before-post.command.d.ts +22 -0
- package/build/video/commands/retry-video-job.command.d.ts +141 -0
- package/build/video/commands/set-reaction-to-video-job.command.d.ts +109 -0
- package/build/video/commands/update-published-status-video-jobs.command.d.ts +112 -0
- package/build/video/commands/update-video-job-favorite.command.d.ts +107 -0
- package/build/video/commands/update-video-job-title.command.d.ts +107 -0
- package/build/video/commands/video-model/get-video-model-by-uuid.command.d.ts +173 -0
- package/build/video/commands/video.command.d.ts +149 -0
- package/build/video/commands/video.command.js +4 -4
- package/build/video/const/videoMaxDuration.d.ts +1 -0
- package/build/video/enums/veo-aspect-ratio.enum.d.ts +4 -0
- package/build/video/enums/veo-audio-support.enum.d.ts +4 -0
- package/build/video/enums/veo-input-modality.enum.d.ts +4 -0
- package/build/video/enums/veo-job-params-type.enum.d.ts +4 -0
- package/build/video/enums/veo-person-allow.enum.d.ts +5 -0
- package/build/video/enums/video-generation-model-limitation.enum.d.ts +8 -0
- package/build/video/enums/video-model-type.enum.d.ts +4 -0
- package/build/video/enums/video-pricing-rule-type.enum.d.ts +4 -0
- package/build/video/enums/video-publish-moderation-status.enum.d.ts +5 -0
- package/build/video/enums/video-resolution.enum.d.ts +5 -0
- package/build/video/enums/video-strategy.enum.d.ts +18 -0
- package/build/video/models/video-config.schema.d.ts +101 -0
- package/build/video/models/video-job.schema.d.ts +71 -0
- package/build/video/models/video-job.schema.js +2 -2
- package/build/video/models/video-model.schema.d.ts +176 -0
- package/build/video/queries/find-video-job-by-id.query.d.ts +106 -0
- package/build/video/queries/find-video-jobs.query.d.ts +126 -0
- package/build/video/queries/find-video-jobs.query.js +4 -3
- package/build/video/queries/get-video-config.query.d.ts +211 -0
- package/build/video/routes/video-model.amqp.routes.d.ts +3 -0
- package/build/video/routes/video.amqp.routes.d.ts +15 -0
- package/build/video/routes/video.http.routes.d.ts +8 -0
- package/build/video/utils/calculate-video-generation-price.util.d.ts +6 -0
- package/build/video-editor/commands/delete-all-video-editor-jobs.command.d.ts +17 -0
- package/build/video-editor/commands/delete-video-editor-job-by-uuid.command.d.ts +16 -0
- package/build/video-editor/commands/edit-video.command.d.ts +92 -0
- package/build/video-editor/commands/get-video-editor-price.command.d.ts +25 -0
- package/build/video-editor/commands/retry-video-editor-job.command.d.ts +91 -0
- package/build/video-editor/commands/set-reaction-to-video-editor-job.command.d.ts +83 -0
- package/build/video-editor/commands/update-published-status-video-editor-jobs.command.d.ts +86 -0
- package/build/video-editor/commands/update-video-editor-job-favorite.command.d.ts +81 -0
- package/build/video-editor/commands/update-video-editor-job-title.command.d.ts +81 -0
- package/build/video-editor/commands/video-editor-model/get-video-editor-model.command.d.ts +101 -0
- package/build/video-editor/enums/video-editor-model-limitation.enum.d.ts +4 -0
- package/build/video-editor/enums/video-editor-model-strategy.enum.d.ts +8 -0
- package/build/video-editor/enums/video-editor-pricing-rule-type.enum.d.ts +4 -0
- package/build/video-editor/models/video-editor-config.schema.d.ts +48 -0
- package/build/video-editor/models/video-editor-job.schema.d.ts +42 -0
- package/build/video-editor/models/video-editor-model.schema.d.ts +76 -0
- package/build/video-editor/queries/find-video-editor-job-by-id.query.d.ts +80 -0
- package/build/video-editor/queries/find-video-editor-jobs.query.d.ts +98 -0
- package/build/video-editor/queries/get-video-editor-config.query.d.ts +104 -0
- package/build/video-editor/routes/video-editor-model.amqp.routes.d.ts +3 -0
- package/build/video-editor/routes/video-editor.amqp.routes.d.ts +14 -0
- package/build/video-editor/routes/video-editor.http.routes.d.ts +5 -0
- package/build/video-editor/utils/calculate-video-editing-price.d.ts +6 -0
- package/build/writer/commands/collect-sources.command.d.ts +96 -0
- package/build/writer/commands/confirm-source-citation-metadata.command.d.ts +96 -0
- package/build/writer/commands/create-writer-document.command.d.ts +100 -0
- package/build/writer/commands/delete-all-user-writer-documents.command.d.ts +15 -0
- package/build/writer/commands/delete-writer-document.command.d.ts +16 -0
- package/build/writer/commands/discard-writer-source.command.d.ts +20 -0
- package/build/writer/commands/export-writer-document-as-docx.command.d.ts +20 -0
- package/build/writer/commands/generate-document-contents.command.d.ts +99 -0
- package/build/writer/commands/generate-document-outline.command.d.ts +99 -0
- package/build/writer/commands/get-writer-content-generation-price.command.d.ts +22 -0
- package/build/writer/commands/set-reaction-writer-document.command.d.ts +99 -0
- package/build/writer/commands/toggle-writer-document-title-page.command.d.ts +21 -0
- package/build/writer/commands/update-writer-document-contents.command.d.ts +21 -0
- package/build/writer/commands/update-writer-document-favorite.command.d.ts +97 -0
- package/build/writer/commands/update-writer-document-final-md.command.d.ts +21 -0
- package/build/writer/commands/update-writer-document-outline.command.d.ts +36 -0
- package/build/writer/commands/update-writer-document-title-page.command.d.ts +41 -0
- package/build/writer/commands/upload-writer-source.command.d.ts +81 -0
- package/build/writer/commands/writer-extend-text.command.d.ts +22 -0
- package/build/writer/commands/writer-fix-errors.command.d.ts +22 -0
- package/build/writer/commands/writer-generate-text.command.d.ts +25 -0
- package/build/writer/commands/writer-paraphrase.command.d.ts +22 -0
- package/build/writer/commands/writer-shorten-text.command.d.ts +22 -0
- package/build/writer/enums/writer-ai-action-call.enum.d.ts +5 -0
- package/build/writer/enums/writer-ai-action-pricing-type.enum.d.ts +4 -0
- package/build/writer/enums/writer-ai-action-type.enum.d.ts +7 -0
- package/build/writer/enums/writer-content-generation-strategy.enum.d.ts +4 -0
- package/build/writer/enums/writer-document-section-type.enum.d.ts +5 -0
- package/build/writer/enums/writer-document-stage.enum.d.ts +16 -0
- package/build/writer/enums/writer-source-origin.enum.d.ts +4 -0
- package/build/writer/enums/writer-source-status.enum.d.ts +5 -0
- package/build/writer/enums/writer-source-type.enum.d.ts +4 -0
- package/build/writer/models/writer-ai-action.schema.d.ts +28 -0
- package/build/writer/models/writer-config.schema.d.ts +67 -0
- package/build/writer/models/writer-document-outline.schema.d.ts +21 -0
- package/build/writer/models/writer-document-outline.schema.js +1 -0
- package/build/writer/models/writer-document-title-page.schema.d.ts +11 -0
- package/build/writer/models/writer-document-type.schema.d.ts +24 -0
- package/build/writer/models/writer-document.schema.d.ts +45 -0
- package/build/writer/models/writer-model.schema.d.ts +27 -0
- package/build/writer/models/writer-source-bibliographic-metadata.schema.d.ts +38 -0
- package/build/writer/models/writer-source.schema.d.ts +35 -0
- package/build/writer/queries/find-writer-document-by-uuid.query.d.ts +94 -0
- package/build/writer/queries/find-writer-documents.query.d.ts +112 -0
- package/build/writer/queries/get-writer-config.query.d.ts +142 -0
- package/build/writer/queries/get-writer-document-sources.query.d.ts +78 -0
- package/build/writer/routes/writer.routes.d.ts +28 -0
- package/build/writer/utils/calculate-writer-ai-action-price.util.d.ts +2 -0
- package/build/writer/utils/calculate-writer-content-generation-price.util.d.ts +2 -0
- package/package.json +6 -3
- package/account-merge/commands/transfer-user-jobs.command.ts +0 -13
- package/account-merge/routes/account-merge.amqp.routes.ts +0 -3
- package/ai-proxy/routes/ai-proxy.routes.ts +0 -11
- package/ai-vendor/models/ai-vendor.schema.ts +0 -13
- package/analytics/job-model-analytics/commands/get-job-model-analytics.command.ts +0 -12
- package/analytics/job-model-analytics/routes/job-model-analytics.http.routes.ts +0 -5
- package/common/enums/file-type.enum.ts +0 -9
- package/common/enums/job-scope.enum.ts +0 -5
- package/common/enums/reasoning-effort.enum.ts +0 -10
- package/common/enums/tool-model-status.enum.ts +0 -4
- package/common/enums/tool-model-tag.enum.ts +0 -3
- package/common/enums/user-reaction.enum.ts +0 -4
- package/common/errors/error.interface.ts +0 -5
- package/common/models/attached-file.schema.ts +0 -13
- package/common/models/command-response.schema.ts +0 -18
- package/common/models/icon-variants.schema.ts +0 -12
- package/common/models/locale.schema.ts +0 -11
- package/diagrams/commands/delete-all-diagrams-jobs.command.ts +0 -13
- package/diagrams/commands/delete-diagrams-job-by-uuid.command.ts +0 -14
- package/diagrams/commands/diagrams.command.ts +0 -20
- package/diagrams/commands/edit-diagrams-job.command.ts +0 -30
- package/diagrams/commands/get-diagrams-price-calculation-data.command.ts +0 -25
- package/diagrams/commands/retry-diagrams-job.command.ts +0 -22
- package/diagrams/commands/set-reaction-to-diagrams-job.command.ts +0 -30
- package/diagrams/commands/update-diagrams-job-favorite.command.ts +0 -16
- package/diagrams/commands/update-diagrams-job-title.command.ts +0 -21
- package/diagrams/models/diagrams-chart-type.schema.ts +0 -14
- package/diagrams/models/diagrams-config.schema.ts +0 -10
- package/diagrams/models/diagrams-job.schema.ts +0 -57
- package/diagrams/models/diagrams-model.schema.ts +0 -34
- package/diagrams/queries/find-diagrams-job-by-uuid.query.ts +0 -15
- package/diagrams/queries/find-diagrams-jobs.query.ts +0 -38
- package/diagrams/queries/get-diagrams-config.query.ts +0 -10
- package/diagrams/routes/diagrams.amqp.routes.ts +0 -14
- package/html-page-builder/commands/create-html-page-builder-session.command.ts +0 -31
- package/html-page-builder/commands/get-html-page-builder-price-calculation-data.command.ts +0 -38
- package/html-page-builder/commands/get-html-page-builder-price.command.ts +0 -19
- package/html-page-builder/commands/html-page-builder-execute.command.ts +0 -22
- package/html-page-builder/commands/soft-delete-all-html-page-builder-sessions.command.ts +0 -25
- package/html-page-builder/commands/soft-delete-html-page-builder-session-by-uuid.command.ts +0 -14
- package/html-page-builder/commands/update-html-page-builder-session-favorite.command.ts +0 -16
- package/html-page-builder/commands/update-html-page-builder-session-title.command.ts +0 -16
- package/html-page-builder/enums/html-page-builder-session-stage.enum.ts +0 -4
- package/html-page-builder/models/html-page-builder-config.schema.ts +0 -9
- package/html-page-builder/models/html-page-builder-job.schema.ts +0 -37
- package/html-page-builder/models/html-page-builder-model.schema.ts +0 -20
- package/html-page-builder/models/html-page-builder-session.schema.ts +0 -22
- package/html-page-builder/queries/find-html-page-builder-session-by-id.query.ts +0 -25
- package/html-page-builder/queries/find-html-page-builder-sessions.query.ts +0 -40
- package/html-page-builder/queries/get-html-page-builder-config.query.ts +0 -11
- package/html-page-builder/routes/html-page-builder.amqp.routes.ts +0 -12
- package/image-editor/commands/delete-all-image-editor-jobs.command.ts +0 -15
- package/image-editor/commands/delete-image-editor-job-by-uuid.command.ts +0 -14
- package/image-editor/commands/get-image-editor-price.command.ts +0 -26
- package/image-editor/commands/image-editor-model/get-image-editor-model-by-uuid.command.ts +0 -14
- package/image-editor/commands/image-editor.command.ts +0 -35
- package/image-editor/commands/retry-image-editor-job.command.ts +0 -23
- package/image-editor/commands/set-reaction-to-image-editor-job.command.ts +0 -30
- package/image-editor/commands/update-image-editor-job-favorite.command.ts +0 -16
- package/image-editor/commands/update-image-editor-job-title.command.ts +0 -16
- package/image-editor/commands/update-published-status-image-editor-jobs.command.ts +0 -26
- package/image-editor/enums/image-editor-model-type.enum.ts +0 -5
- package/image-editor/enums/image-editor-strategy.enum.ts +0 -9
- package/image-editor/models/image-editor-config.schema.ts +0 -45
- package/image-editor/models/image-editor-job.schema.ts +0 -42
- package/image-editor/models/image-editor-model.schema.ts +0 -56
- package/image-editor/queries/find-image-editor-job-by-id.query.ts +0 -15
- package/image-editor/queries/find-image-editor-jobs.query.ts +0 -30
- package/image-editor/queries/find-image-jobs.query.ts +0 -27
- package/image-editor/queries/get-image-editor-config.query.ts +0 -11
- package/image-editor/routes/image-editor-model.amqp.routes.ts +0 -3
- package/image-editor/routes/image-editor.amqp.routes.ts +0 -14
- package/image-editor/routes/image-editor.http.routes.ts +0 -1
- package/image-generation/commands/execute-image-generation.command.ts +0 -27
- package/image-generation/commands/forward-image-generation-job.command.ts +0 -34
- package/image-generation/commands/get-image-generation-price.command.ts +0 -24
- package/image-generation/commands/image-generation-model/get-image-generation-model-by-uuid.command.ts +0 -14
- package/image-generation/commands/retry-image-generation-job.command.ts +0 -24
- package/image-generation/commands/save-image-generation-job.command.ts +0 -17
- package/image-generation/commands/set-reaction-to-image-generation-job.command.ts +0 -30
- package/image-generation/commands/soft-delete-image-generation-job-by-uuid.command.ts +0 -14
- package/image-generation/commands/soft-delete-image-generation-jobs-by-criteria.command.ts +0 -15
- package/image-generation/commands/update-image-generation-job-favorite.command.ts +0 -16
- package/image-generation/commands/update-image-generation-job-title.command.ts +0 -16
- package/image-generation/commands/update-published-status-image-generation-jobs.command.ts +0 -26
- package/image-generation/enums/image-generation-model-strategy.enum.ts +0 -31
- package/image-generation/enums/image-generation-models.enum.ts +0 -4
- package/image-generation/enums/image-generation-resolution.enum.ts +0 -5
- package/image-generation/models/image-generation-config.schema.ts +0 -11
- package/image-generation/models/image-generation-job.schema.ts +0 -46
- package/image-generation/models/image-generation-model.schema.ts +0 -73
- package/image-generation/models/image-generation-preset.schema.ts +0 -13
- package/image-generation/queries/find-image-generation-job-by-id.query.ts +0 -15
- package/image-generation/queries/find-image-generation-jobs.query.ts +0 -42
- package/image-generation/queries/get-image-generation-config.query.ts +0 -11
- package/image-generation/routes/image-generation.amqp.routes.ts +0 -16
- package/image-generation/routes/image-generation.http.routes.ts +0 -9
- package/image-recognition/commands/delete-all-image-recognition-jobs.command.ts +0 -13
- package/image-recognition/commands/delete-image-recognition-job-by-uuid.command.ts +0 -14
- package/image-recognition/commands/get-image-recognition-price.command.ts +0 -17
- package/image-recognition/commands/image-recognition.command.ts +0 -24
- package/image-recognition/commands/retry-image-recognition-job.command.ts +0 -28
- package/image-recognition/commands/set-reaction-to-image-recognition-job.command.ts +0 -31
- package/image-recognition/commands/update-image-recognition-job-favorite.command.ts +0 -16
- package/image-recognition/commands/update-image-recognition-job-title.command.ts +0 -16
- package/image-recognition/models/image-recognition-category.schema.ts +0 -16
- package/image-recognition/models/image-recognition-config.schema.ts +0 -10
- package/image-recognition/models/image-recognition-job.schema.ts +0 -37
- package/image-recognition/models/image-recognition-model.schema.ts +0 -29
- package/image-recognition/queries/find-image-recognition-job-by-id.query.ts +0 -16
- package/image-recognition/queries/find-image-recognition-jobs.query.ts +0 -38
- package/image-recognition/queries/get-image-recognition-config.query.ts +0 -11
- package/image-recognition/routes/image-recognition.amqp.routes.ts +0 -13
- package/index.ts +0 -76
- package/interior-design/commands/delete-all-interior-design-jobs.command.ts +0 -13
- package/interior-design/commands/delete-interior-design-job-by-uuid.command.ts +0 -14
- package/interior-design/commands/get-interior-design-price.command.ts +0 -28
- package/interior-design/commands/interior-design-model/get-interior-design-model-by-uuid.command.ts +0 -14
- package/interior-design/commands/interior-design.command.ts +0 -28
- package/interior-design/commands/retry-interior-design-job.command.ts +0 -23
- package/interior-design/commands/set-reaction-to-interior-design-job.command.ts +0 -30
- package/interior-design/commands/update-interior-design-job-favorite.command.ts +0 -16
- package/interior-design/commands/update-interior-design-job-title.command.ts +0 -16
- package/interior-design/enums/interior-design-job-source.enum.ts +0 -4
- package/interior-design/enums/interior-design-model-type.enum.ts +0 -4
- package/interior-design/enums/interior-design-strategy.enum.ts +0 -6
- package/interior-design/models/interior-design-config.schema.ts +0 -29
- package/interior-design/models/interior-design-job.schema.ts +0 -41
- package/interior-design/models/interior-design-model.schema.ts +0 -47
- package/interior-design/queries/find-interior-design-job-by-id.query.ts +0 -15
- package/interior-design/queries/find-interior-design-jobs.query.ts +0 -28
- package/interior-design/queries/get-interior-design-config.query.ts +0 -11
- package/interior-design/routes/interior-design-model.amqp.routes.ts +0 -3
- package/interior-design/routes/interior-design.amqp.routes.ts +0 -13
- package/interior-design/routes/interior-design.http.routes.ts +0 -1
- package/language/models/language.schema.ts +0 -11
- package/marketplace-card/commands/execute-marketplace-card.command.ts +0 -38
- package/marketplace-card/commands/generate-marketplace-card-description.command.ts +0 -21
- package/marketplace-card/commands/get-marketplace-card-price.command.ts +0 -17
- package/marketplace-card/commands/retry-marketplace-card-job.command.ts +0 -28
- package/marketplace-card/commands/set-reaction-to-marketplace-card-job.command.ts +0 -30
- package/marketplace-card/commands/soft-delete-all-marketplace-card-jobs.command.ts +0 -13
- package/marketplace-card/commands/soft-delete-marketplace-card-job-by-uuid.command.ts +0 -14
- package/marketplace-card/commands/update-marketplace-card-job-favorite.command.ts +0 -16
- package/marketplace-card/commands/update-title-marketplace-card-job.command.ts +0 -16
- package/marketplace-card/enums/marketplace-card-strategy.enum.ts +0 -6
- package/marketplace-card/models/marketplace-card-config.schema.ts +0 -9
- package/marketplace-card/models/marketplace-card-description-generation.schema.ts +0 -28
- package/marketplace-card/models/marketplace-card-job.schema.ts +0 -54
- package/marketplace-card/models/marketplace-card-model.schema.ts +0 -34
- package/marketplace-card/models/marketplace-card-style-preset.schema.ts +0 -10
- package/marketplace-card/queries/find-marketplace-card-job-by-uuid.query.ts +0 -16
- package/marketplace-card/queries/find-marketplace-card-jobs.query.ts +0 -38
- package/marketplace-card/queries/get-marketplace-card-config.query.ts +0 -10
- package/marketplace-card/routes/marketplace-card.amqp.routes.ts +0 -14
- package/music/commands/add-track-to-music-playlist.command.ts +0 -26
- package/music/commands/boost-music-style.command.ts +0 -19
- package/music/commands/convert-to-wav.command.ts +0 -15
- package/music/commands/create-music-playlist.command.ts +0 -25
- package/music/commands/delete-all-music-jobs.command.ts +0 -13
- package/music/commands/delete-music-job-by-uuid.command.ts +0 -14
- package/music/commands/delete-music-playlist.command.ts +0 -24
- package/music/commands/edit-music.command.ts +0 -13
- package/music/commands/generate-lyrics.command.ts +0 -21
- package/music/commands/generate-music.command.ts +0 -27
- package/music/commands/get-music-price.command.ts +0 -22
- package/music/commands/music-model/get-music-model-by-uuid.command.ts +0 -14
- package/music/commands/remove-track-from-music-playlist.command.ts +0 -26
- package/music/commands/retry-music-job.command.ts +0 -22
- package/music/commands/set-reaction-to-music-job.command.ts +0 -30
- package/music/commands/update-music-job-favorite.command.ts +0 -16
- package/music/commands/update-music-job-title.command.ts +0 -16
- package/music/commands/update-music-playlist.command.ts +0 -26
- package/music/commands/update-published-status-music-jobs.command.ts +0 -27
- package/music/enums/music-action-type.enum.ts +0 -10
- package/music/enums/music-audio-action-type.enum.ts +0 -8
- package/music/enums/music-generation-action-type.enum.ts +0 -6
- package/music/enums/music-lyrics-structure.enum.ts +0 -5
- package/music/enums/music-pricing-rule-type.enum.ts +0 -3
- package/music/enums/music-strategy.enum.ts +0 -4
- package/music/enums/music-vocal-gender.enum.ts +0 -4
- package/music/enums/suno-mode-type.enum.ts +0 -6
- package/music/enums/suno-model-type.enum.ts +0 -7
- package/music/models/music-config-with-vendors.schema.ts +0 -12
- package/music/models/music-config.schema.ts +0 -16
- package/music/models/music-job.schema.ts +0 -229
- package/music/models/music-model-with-vendor.schema.ts +0 -8
- package/music/models/music-model.schema.ts +0 -54
- package/music/models/music-playlist.schema.ts +0 -15
- package/music/models/music-track.schema.ts +0 -35
- package/music/queries/find-music-job-by-id.query.ts +0 -15
- package/music/queries/find-music-jobs.query.ts +0 -38
- package/music/queries/find-music-playlists.query.ts +0 -24
- package/music/queries/get-music-config-with-vendors.query.ts +0 -11
- package/music/queries/get-music-config.query.ts +0 -11
- package/music/routes/music-model.amqp.routes.ts +0 -3
- package/music/routes/music.amqp.routes.ts +0 -25
- package/music/routes/music.http.routes.ts +0 -1
- package/music/utils/calculate-music-generation-price.util.ts +0 -5
- package/paraphrase/commands/delete-all-paraphrase-jobs.command.ts +0 -13
- package/paraphrase/commands/delete-paraphrase-job-by-uuid.command.ts +0 -14
- package/paraphrase/commands/get-paraphrase-price.command.ts +0 -16
- package/paraphrase/commands/paraphrase.command.ts +0 -21
- package/paraphrase/commands/retry-paraphrase-job.command.ts +0 -17
- package/paraphrase/commands/set-reaction-to-paraphrase-job.command.ts +0 -30
- package/paraphrase/commands/update-paraphrase-job-favorite.command.ts +0 -16
- package/paraphrase/commands/update-paraphrase-job-title.command.ts +0 -16
- package/paraphrase/enums/paraphrasing-intesity.enum.ts +0 -5
- package/paraphrase/models/paraphrase-job.schema.ts +0 -28
- package/paraphrase/models/paraphrase-style.schema.ts +0 -13
- package/paraphrase/models/paraphrase-tool-config.schema.ts +0 -11
- package/paraphrase/models/paraphrase-type.schema.ts +0 -16
- package/paraphrase/queries/find-paraphrase-job-by-uuid.query.ts +0 -15
- package/paraphrase/queries/find-paraphrase-jobs.query.ts +0 -38
- package/paraphrase/queries/get-paraphrase-tool-config.query.ts +0 -11
- package/paraphrase/routes/paraphrase.amqp.routes.ts +0 -13
- package/presentation/commands/build-blank-slide.command.ts +0 -15
- package/presentation/commands/create-presentation.command.ts +0 -22
- package/presentation/commands/delete-all-user-presentations.command.ts +0 -13
- package/presentation/commands/delete-presentation.command.ts +0 -14
- package/presentation/commands/delete-slide-outline.command.ts +0 -15
- package/presentation/commands/export-as-pptx.command.ts +0 -20
- package/presentation/commands/generate-and-insert-slide.command.ts +0 -23
- package/presentation/commands/generate-presentation-outline.command.ts +0 -18
- package/presentation/commands/generate-slides.command.ts +0 -19
- package/presentation/commands/get-presentation-slides-generation-price.command.ts +0 -17
- package/presentation/commands/presentation-generate-report.command.ts +0 -20
- package/presentation/commands/presentation-paraphrase.command.ts +0 -21
- package/presentation/commands/reposition-slide-outline.command.ts +0 -16
- package/presentation/commands/reposition-slide.command.ts +0 -16
- package/presentation/commands/set-reaction-to-presentation.command.ts +0 -29
- package/presentation/commands/update-presentation-favorite.command.ts +0 -16
- package/presentation/commands/update-presentation-outline.command.ts +0 -16
- package/presentation/commands/update-presentation-slides.command.ts +0 -16
- package/presentation/commands/update-presentation.command.ts +0 -16
- package/presentation/commands/update-slide-image-slot.command.ts +0 -39
- package/presentation/commands/update-slide-outline.command.ts +0 -17
- package/presentation/commands/update-slide.command.ts +0 -17
- package/presentation/constants/slide-layout-map.constant.ts +0 -15
- package/presentation/enums/presentation-ai-action-call-status.enum.ts +0 -5
- package/presentation/enums/presentation-ai-action-pricing-type.enum.ts +0 -4
- package/presentation/enums/presentation-ai-action-type.enum.ts +0 -4
- package/presentation/enums/presentation-stage.enum.ts +0 -13
- package/presentation/enums/presentation-target-audience.enum.ts +0 -6
- package/presentation/enums/slide-content-type.enum.ts +0 -12
- package/presentation/enums/slide-icon-slot-status.enum.ts +0 -6
- package/presentation/enums/slide-image-job-status.enum.ts +0 -6
- package/presentation/enums/slide-image-slot-action.enum.ts +0 -4
- package/presentation/enums/slide-image-slot-status.enum.ts +0 -6
- package/presentation/enums/slide-layout.enum.ts +0 -4
- package/presentation/models/pptx-export-payload.ts +0 -232
- package/presentation/models/presentation-ai-action.schema.ts +0 -30
- package/presentation/models/presentation-config.schema.ts +0 -20
- package/presentation/models/presentation-template.schema.ts +0 -14
- package/presentation/models/presentation-title-page.schema.ts +0 -9
- package/presentation/models/presentation.schema.ts +0 -45
- package/presentation/models/slide-content-edit.schema.ts +0 -193
- package/presentation/models/slide-content-type.schema.ts +0 -13
- package/presentation/models/slide-content.schema.ts +0 -582
- package/presentation/models/slide-icon-slot.schema.ts +0 -13
- package/presentation/models/slide-image-slot.schema.ts +0 -15
- package/presentation/models/slide-outline.schema.ts +0 -58
- package/presentation/models/slide.schema.ts +0 -66
- package/presentation/queries/find-presentation-by-uuid.query.ts +0 -13
- package/presentation/queries/find-presentation-outline.query.ts +0 -15
- package/presentation/queries/find-presentations.query.ts +0 -29
- package/presentation/queries/get-presentation-config.query.ts +0 -11
- package/presentation/routes/presentation.routes.ts +0 -34
- package/presentation/utils/calculate-presentation-ai-action-price.util.ts +0 -20
- package/solving-edu-task/commands/delete-all-solving-edu-task-jobs.command.ts +0 -13
- package/solving-edu-task/commands/delete-solving-edu-task-job-by-uuid.command.ts +0 -14
- package/solving-edu-task/commands/get-solving-edu-task-price.command.ts +0 -17
- package/solving-edu-task/commands/retry-solving-edu-task-job.command.ts +0 -27
- package/solving-edu-task/commands/set-reaction-to-solving-edu-task-job.command.ts +0 -31
- package/solving-edu-task/commands/solving-edu-task.command.ts +0 -23
- package/solving-edu-task/commands/update-solving-edu-task-job-favorite.command.ts +0 -16
- package/solving-edu-task/commands/update-solving-edu-task-job-title.command.ts +0 -16
- package/solving-edu-task/models/solving-edu-task-config.schema.ts +0 -8
- package/solving-edu-task/models/solving-edu-task-job.schema.ts +0 -36
- package/solving-edu-task/models/solving-edu-task-model.schema.ts +0 -30
- package/solving-edu-task/queries/find-solving-edu-task-job-by-id.query.ts +0 -16
- package/solving-edu-task/queries/find-solving-edu-task-jobs.query.ts +0 -38
- package/solving-edu-task/queries/get-solving-edu-task-config.query.ts +0 -11
- package/solving-edu-task/routes/solving-edu-task.amqp.routes.ts +0 -13
- package/spell-corrector/commands/delete-all-spell-corrector-jobs.command.ts +0 -13
- package/spell-corrector/commands/delete-spell-corrector-job-by-uuid.command.ts +0 -14
- package/spell-corrector/commands/get-spell-corrector-price.command.ts +0 -16
- package/spell-corrector/commands/retry-spell-corrector-job.command.ts +0 -17
- package/spell-corrector/commands/set-reaction-to-spell-corrector-job.command.ts +0 -30
- package/spell-corrector/commands/spell-corrector.command.ts +0 -18
- package/spell-corrector/commands/update-spell-corrector-job-favorite.command.ts +0 -16
- package/spell-corrector/commands/update-spell-corrector-job-title.command.ts +0 -16
- package/spell-corrector/models/spell-corrector-job.schema.ts +0 -25
- package/spell-corrector/models/spell-corrector-model.schema.ts +0 -18
- package/spell-corrector/models/spell-corrector-tool-config.schema.ts +0 -9
- package/spell-corrector/queries/find-spell-corrector-job-by-uuid.query.ts +0 -15
- package/spell-corrector/queries/find-spell-corrector-jobs.query.ts +0 -38
- package/spell-corrector/queries/get-spell-corrector-tool-config.query.ts +0 -11
- package/spell-corrector/routes/spell-corrector.amqp.routes.ts +0 -13
- package/stt/commands/delete-all-stt-jobs.command.ts +0 -15
- package/stt/commands/delete-stt-job-by-uuid.command.ts +0 -14
- package/stt/commands/get-stt-price.command.ts +0 -17
- package/stt/commands/retry-stt-job.command.ts +0 -17
- package/stt/commands/set-reaction-to-stt-job.command.ts +0 -30
- package/stt/commands/stt.command.ts +0 -24
- package/stt/commands/update-stt-job-favorite.command.ts +0 -16
- package/stt/commands/update-stt-job-title.command.ts +0 -21
- package/stt/enums/stt-strategy.enum.ts +0 -4
- package/stt/models/stt-config-with-vendors.schema.ts +0 -10
- package/stt/models/stt-config.schema.ts +0 -8
- package/stt/models/stt-job.schema.ts +0 -31
- package/stt/models/stt-model-with-vendor.schema.ts +0 -8
- package/stt/models/stt-model.schema.ts +0 -21
- package/stt/models/stt-response.schema.ts +0 -10
- package/stt/queries/find-stt-job-by-uuid.query.ts +0 -15
- package/stt/queries/find-stt-jobs.query.ts +0 -40
- package/stt/queries/get-stt-config-with-vendors.query.ts +0 -11
- package/stt/queries/get-stt-config.query.ts +0 -13
- package/stt/routes/stt.amqp.routes.ts +0 -14
- package/tool-workspace/commands/soft-delete-all-tool-workspaces-by-tool-type.command.ts +0 -26
- package/tool-workspace/commands/soft-delete-tool-workspace.command.ts +0 -25
- package/tool-workspace/commands/update-tool-workspace.command.ts +0 -30
- package/tool-workspace/enums/tool-workspace-item-slot.enum.ts +0 -5
- package/tool-workspace/enums/tool-workspace-status.enum.ts +0 -4
- package/tool-workspace/models/tool-workspace-contents.schema.ts +0 -10
- package/tool-workspace/models/tool-workspace-item.schema.ts +0 -17
- package/tool-workspace/models/tool-workspace-job.schema.ts +0 -22
- package/tool-workspace/models/tool-workspace.schema.ts +0 -17
- package/tool-workspace/queries/find-tool-workspace-by-uuid.query.ts +0 -26
- package/tool-workspace/queries/find-tool-workspaces.query.ts +0 -37
- package/tool-workspace/routes/tool-workspace.amqp.routes.ts +0 -7
- package/tools/enums/job-sort.enum.ts +0 -4
- package/tools/enums/job-status.enum.ts +0 -6
- package/tools/enums/tool-content-type.enum.ts +0 -20
- package/tools/enums/tool-group.enum.ts +0 -8
- package/tools/enums/tool-type.enum.ts +0 -22
- package/tools/events/tool-job-complete.event.ts +0 -15
- package/tools/events/tool-job-failed.event.ts +0 -13
- package/tools/models/global-tools-config.schema.ts +0 -41
- package/tools/models/tool-group.schema.ts +0 -11
- package/tools/models/tool-job.schema.ts +0 -13
- package/tools/models/tool.schema.ts +0 -18
- package/tools/models/tools-with-configs.schema.ts +0 -131
- package/tools/queries/find-all-tools.query.ts +0 -11
- package/tools/queries/find-grouped-tools.query.ts +0 -11
- package/tools/queries/get-global-tools-config.query.ts +0 -11
- package/tools/queries/get-tools-with-configs.query.ts +0 -11
- package/tools/routes/tools.aqmp.routes.ts +0 -8
- package/tsconfig.json +0 -12
- package/tts/commands/delete-all-tts-jobs.command.ts +0 -15
- package/tts/commands/delete-tts-job-by-uuid.command.ts +0 -14
- package/tts/commands/get-tts-price.command.ts +0 -17
- package/tts/commands/retry-tts-job.command.ts +0 -17
- package/tts/commands/set-reaction-to-tts-job.command.ts +0 -30
- package/tts/commands/tts.command.ts +0 -30
- package/tts/commands/update-tts-job-favorite.command.ts +0 -16
- package/tts/commands/update-tts-job-title.command.ts +0 -16
- package/tts/enums/tts-model-type.enum.ts +0 -4
- package/tts/enums/tts-strategy.enum.ts +0 -4
- package/tts/models/tts-config-with-vendors.schema.ts +0 -10
- package/tts/models/tts-config.schema.ts +0 -8
- package/tts/models/tts-job.schema.ts +0 -44
- package/tts/models/tts-model-with-vendor.schema.ts +0 -8
- package/tts/models/tts-model.schema.ts +0 -64
- package/tts/queries/find-tts-job-by-id.query.ts +0 -15
- package/tts/queries/find-tts-jobs.query.ts +0 -40
- package/tts/queries/get-tts-config-with-vendors.query.ts +0 -11
- package/tts/queries/get-tts-config.query.ts +0 -13
- package/tts/routes/tts.amqp.routes.ts +0 -14
- package/video/commands/delete-all-video-jobs.command.ts +0 -15
- package/video/commands/delete-video-job-by-uuid.command.ts +0 -14
- package/video/commands/get-video-price.command.ts +0 -18
- package/video/commands/moderate-video-before-post.command.ts +0 -20
- package/video/commands/retry-video-job.command.ts +0 -23
- package/video/commands/set-reaction-to-video-job.command.ts +0 -30
- package/video/commands/update-published-status-video-jobs.command.ts +0 -26
- package/video/commands/update-video-job-favorite.command.ts +0 -16
- package/video/commands/update-video-job-title.command.ts +0 -16
- package/video/commands/video-model/get-video-model-by-uuid.command.ts +0 -14
- package/video/commands/video.command.ts +0 -31
- package/video/const/videoMaxDuration.ts +0 -1
- package/video/enums/veo-aspect-ratio.enum.ts +0 -4
- package/video/enums/veo-audio-support.enum.ts +0 -4
- package/video/enums/veo-input-modality.enum.ts +0 -4
- package/video/enums/veo-job-params-type.enum.ts +0 -4
- package/video/enums/veo-person-allow.enum.ts +0 -5
- package/video/enums/video-generation-model-limitation.enum.ts +0 -8
- package/video/enums/video-model-type.enum.ts +0 -4
- package/video/enums/video-pricing-rule-type.enum.ts +0 -4
- package/video/enums/video-publish-moderation-status.enum.ts +0 -5
- package/video/enums/video-resolution.enum.ts +0 -5
- package/video/enums/video-strategy.enum.ts +0 -18
- package/video/models/video-config.schema.ts +0 -10
- package/video/models/video-job.schema.ts +0 -57
- package/video/models/video-model.schema.ts +0 -136
- package/video/queries/find-video-job-by-id.query.ts +0 -15
- package/video/queries/find-video-jobs.query.ts +0 -41
- package/video/queries/get-video-config.query.ts +0 -13
- package/video/routes/video-model.amqp.routes.ts +0 -3
- package/video/routes/video.amqp.routes.ts +0 -15
- package/video/routes/video.http.routes.ts +0 -9
- package/video/utils/calculate-video-generation-price.util.ts +0 -56
- package/video-editor/commands/delete-all-video-editor-jobs.command.ts +0 -15
- package/video-editor/commands/delete-video-editor-job-by-uuid.command.ts +0 -14
- package/video-editor/commands/edit-video.command.ts +0 -24
- package/video-editor/commands/get-video-editor-price.command.ts +0 -18
- package/video-editor/commands/retry-video-editor-job.command.ts +0 -26
- package/video-editor/commands/set-reaction-to-video-editor-job.command.ts +0 -30
- package/video-editor/commands/update-published-status-video-editor-jobs.command.ts +0 -26
- package/video-editor/commands/update-video-editor-job-favorite.command.ts +0 -16
- package/video-editor/commands/update-video-editor-job-title.command.ts +0 -16
- package/video-editor/commands/video-editor-model/get-video-editor-model.command.ts +0 -14
- package/video-editor/enums/video-editor-model-limitation.enum.ts +0 -4
- package/video-editor/enums/video-editor-model-strategy.enum.ts +0 -8
- package/video-editor/enums/video-editor-pricing-rule-type.enum.ts +0 -4
- package/video-editor/models/video-editor-config.schema.ts +0 -7
- package/video-editor/models/video-editor-job.schema.ts +0 -43
- package/video-editor/models/video-editor-model.schema.ts +0 -68
- package/video-editor/queries/find-video-editor-job-by-id.query.ts +0 -15
- package/video-editor/queries/find-video-editor-jobs.query.ts +0 -40
- package/video-editor/queries/get-video-editor-config.query.ts +0 -11
- package/video-editor/routes/video-editor-model.amqp.routes.ts +0 -3
- package/video-editor/routes/video-editor.amqp.routes.ts +0 -14
- package/video-editor/routes/video-editor.http.routes.ts +0 -6
- package/video-editor/utils/calculate-video-editing-price.ts +0 -46
- package/writer/commands/collect-sources.command.ts +0 -15
- package/writer/commands/confirm-source-citation-metadata.command.ts +0 -18
- package/writer/commands/create-writer-document.command.ts +0 -19
- package/writer/commands/delete-all-user-writer-documents.command.ts +0 -18
- package/writer/commands/delete-writer-document.command.ts +0 -14
- package/writer/commands/discard-writer-source.command.ts +0 -18
- package/writer/commands/export-writer-document-as-docx.command.ts +0 -18
- package/writer/commands/generate-document-contents.command.ts +0 -18
- package/writer/commands/generate-document-outline.command.ts +0 -19
- package/writer/commands/get-writer-content-generation-price.command.ts +0 -17
- package/writer/commands/set-reaction-writer-document.command.ts +0 -29
- package/writer/commands/toggle-writer-document-title-page.command.ts +0 -19
- package/writer/commands/update-writer-document-contents.command.ts +0 -19
- package/writer/commands/update-writer-document-favorite.command.ts +0 -16
- package/writer/commands/update-writer-document-final-md.command.ts +0 -19
- package/writer/commands/update-writer-document-outline.command.ts +0 -17
- package/writer/commands/update-writer-document-title-page.command.ts +0 -16
- package/writer/commands/upload-writer-source.command.ts +0 -18
- package/writer/commands/writer-extend-text.command.ts +0 -20
- package/writer/commands/writer-fix-errors.command.ts +0 -20
- package/writer/commands/writer-generate-text.command.ts +0 -23
- package/writer/commands/writer-paraphrase.command.ts +0 -20
- package/writer/commands/writer-shorten-text.command.ts +0 -20
- package/writer/enums/writer-ai-action-call.enum.ts +0 -5
- package/writer/enums/writer-ai-action-pricing-type.enum.ts +0 -4
- package/writer/enums/writer-ai-action-type.enum.ts +0 -7
- package/writer/enums/writer-content-generation-strategy.enum.ts +0 -4
- package/writer/enums/writer-document-section-type.enum.ts +0 -5
- package/writer/enums/writer-document-stage.enum.ts +0 -21
- package/writer/enums/writer-source-origin.enum.ts +0 -4
- package/writer/enums/writer-source-status.enum.ts +0 -5
- package/writer/enums/writer-source-type.enum.ts +0 -4
- package/writer/models/writer-ai-action.schema.ts +0 -27
- package/writer/models/writer-config.schema.ts +0 -12
- package/writer/models/writer-document-outline.schema.ts +0 -27
- package/writer/models/writer-document-title-page.schema.ts +0 -13
- package/writer/models/writer-document-type.schema.ts +0 -17
- package/writer/models/writer-document.schema.ts +0 -34
- package/writer/models/writer-model.schema.ts +0 -21
- package/writer/models/writer-source-bibliographic-metadata.schema.ts +0 -31
- package/writer/models/writer-source.schema.ts +0 -22
- package/writer/queries/find-writer-document-by-uuid.query.ts +0 -11
- package/writer/queries/find-writer-documents.query.ts +0 -29
- package/writer/queries/get-writer-config.query.ts +0 -11
- package/writer/queries/get-writer-document-sources.query.ts +0 -15
- package/writer/routes/writer.routes.ts +0 -28
- package/writer/utils/calculate-writer-ai-action-price.util.ts +0 -20
- package/writer/utils/calculate-writer-content-generation-price.util.ts +0 -5
- /package/{account-merge/commands/index.ts → build/account-merge/commands/index.d.ts} +0 -0
- /package/{account-merge/index.ts → build/account-merge/index.d.ts} +0 -0
- /package/{account-merge/routes/index.ts → build/account-merge/routes/index.d.ts} +0 -0
- /package/{ai-proxy/index.ts → build/ai-proxy/index.d.ts} +0 -0
- /package/{ai-proxy/routes/index.ts → build/ai-proxy/routes/index.d.ts} +0 -0
- /package/{ai-vendor/index.ts → build/ai-vendor/index.d.ts} +0 -0
- /package/{ai-vendor/models/index.ts → build/ai-vendor/models/index.d.ts} +0 -0
- /package/{analytics/index.ts → build/analytics/index.d.ts} +0 -0
- /package/{analytics/job-model-analytics/commands/index.ts → build/analytics/job-model-analytics/commands/index.d.ts} +0 -0
- /package/{analytics/job-model-analytics/index.ts → build/analytics/job-model-analytics/index.d.ts} +0 -0
- /package/{analytics/job-model-analytics/routes/index.ts → build/analytics/job-model-analytics/routes/index.d.ts} +0 -0
- /package/{common/enums/index.ts → build/common/enums/index.d.ts} +0 -0
- /package/{common/errors/index.ts → build/common/errors/index.d.ts} +0 -0
- /package/{common/index.ts → build/common/index.d.ts} +0 -0
- /package/{common/models/index.ts → build/common/models/index.d.ts} +0 -0
- /package/{diagrams/commands/index.ts → build/diagrams/commands/index.d.ts} +0 -0
- /package/{diagrams/index.ts → build/diagrams/index.d.ts} +0 -0
- /package/{diagrams/models/index.ts → build/diagrams/models/index.d.ts} +0 -0
- /package/{diagrams/queries/index.ts → build/diagrams/queries/index.d.ts} +0 -0
- /package/{diagrams/routes/index.ts → build/diagrams/routes/index.d.ts} +0 -0
- /package/{html-page-builder/commands/index.ts → build/html-page-builder/commands/index.d.ts} +0 -0
- /package/{html-page-builder/enums/index.ts → build/html-page-builder/enums/index.d.ts} +0 -0
- /package/{html-page-builder/index.ts → build/html-page-builder/index.d.ts} +0 -0
- /package/{html-page-builder/models/index.ts → build/html-page-builder/models/index.d.ts} +0 -0
- /package/{html-page-builder/queries/index.ts → build/html-page-builder/queries/index.d.ts} +0 -0
- /package/{html-page-builder/routes/index.ts → build/html-page-builder/routes/index.d.ts} +0 -0
- /package/{image-editor/commands/image-editor-model/index.ts → build/image-editor/commands/image-editor-model/index.d.ts} +0 -0
- /package/{image-editor/commands/index.ts → build/image-editor/commands/index.d.ts} +0 -0
- /package/{image-editor/enums/index.ts → build/image-editor/enums/index.d.ts} +0 -0
- /package/{image-editor/index.ts → build/image-editor/index.d.ts} +0 -0
- /package/{image-editor/models/index.ts → build/image-editor/models/index.d.ts} +0 -0
- /package/{image-editor/queries/index.ts → build/image-editor/queries/index.d.ts} +0 -0
- /package/{image-editor/routes/index.ts → build/image-editor/routes/index.d.ts} +0 -0
- /package/{image-generation/commands/image-generation-model/index.ts → build/image-generation/commands/image-generation-model/index.d.ts} +0 -0
- /package/{image-generation/commands/index.ts → build/image-generation/commands/index.d.ts} +0 -0
- /package/{image-generation/enums/index.ts → build/image-generation/enums/index.d.ts} +0 -0
- /package/{image-generation/index.ts → build/image-generation/index.d.ts} +0 -0
- /package/{image-generation/models/index.ts → build/image-generation/models/index.d.ts} +0 -0
- /package/{image-generation/queries/index.ts → build/image-generation/queries/index.d.ts} +0 -0
- /package/{image-generation/routes/index.ts → build/image-generation/routes/index.d.ts} +0 -0
- /package/{image-recognition/commands/index.ts → build/image-recognition/commands/index.d.ts} +0 -0
- /package/{image-recognition/index.ts → build/image-recognition/index.d.ts} +0 -0
- /package/{image-recognition/models/index.ts → build/image-recognition/models/index.d.ts} +0 -0
- /package/{image-recognition/queries/index.ts → build/image-recognition/queries/index.d.ts} +0 -0
- /package/{image-recognition/routes/index.ts → build/image-recognition/routes/index.d.ts} +0 -0
- /package/{interior-design/commands/index.ts → build/interior-design/commands/index.d.ts} +0 -0
- /package/{interior-design/commands/interior-design-model/index.ts → build/interior-design/commands/interior-design-model/index.d.ts} +0 -0
- /package/{interior-design/enums/index.ts → build/interior-design/enums/index.d.ts} +0 -0
- /package/{interior-design/index.ts → build/interior-design/index.d.ts} +0 -0
- /package/{interior-design/models/index.ts → build/interior-design/models/index.d.ts} +0 -0
- /package/{interior-design/queries/index.ts → build/interior-design/queries/index.d.ts} +0 -0
- /package/{interior-design/routes/index.ts → build/interior-design/routes/index.d.ts} +0 -0
- /package/{language/index.ts → build/language/index.d.ts} +0 -0
- /package/{language/models/index.ts → build/language/models/index.d.ts} +0 -0
- /package/{marketplace-card/commands/index.ts → build/marketplace-card/commands/index.d.ts} +0 -0
- /package/{marketplace-card/enums/index.ts → build/marketplace-card/enums/index.d.ts} +0 -0
- /package/{marketplace-card/index.ts → build/marketplace-card/index.d.ts} +0 -0
- /package/{marketplace-card/models/index.ts → build/marketplace-card/models/index.d.ts} +0 -0
- /package/{marketplace-card/queries/index.ts → build/marketplace-card/queries/index.d.ts} +0 -0
- /package/{marketplace-card/routes/index.ts → build/marketplace-card/routes/index.d.ts} +0 -0
- /package/{music/commands/index.ts → build/music/commands/index.d.ts} +0 -0
- /package/{music/commands/music-model/index.ts → build/music/commands/music-model/index.d.ts} +0 -0
- /package/{music/enums/index.ts → build/music/enums/index.d.ts} +0 -0
- /package/{music/index.ts → build/music/index.d.ts} +0 -0
- /package/{music/models/index.ts → build/music/models/index.d.ts} +0 -0
- /package/{music/queries/index.ts → build/music/queries/index.d.ts} +0 -0
- /package/{music/routes/index.ts → build/music/routes/index.d.ts} +0 -0
- /package/{music/utils/index.ts → build/music/utils/index.d.ts} +0 -0
- /package/{paraphrase/commands/index.ts → build/paraphrase/commands/index.d.ts} +0 -0
- /package/{paraphrase/enums/index.ts → build/paraphrase/enums/index.d.ts} +0 -0
- /package/{paraphrase/index.ts → build/paraphrase/index.d.ts} +0 -0
- /package/{paraphrase/models/index.ts → build/paraphrase/models/index.d.ts} +0 -0
- /package/{paraphrase/queries/index.ts → build/paraphrase/queries/index.d.ts} +0 -0
- /package/{paraphrase/routes/index.ts → build/paraphrase/routes/index.d.ts} +0 -0
- /package/{presentation/commands/index.ts → build/presentation/commands/index.d.ts} +0 -0
- /package/{presentation/constants/index.ts → build/presentation/constants/index.d.ts} +0 -0
- /package/{presentation/enums/index.ts → build/presentation/enums/index.d.ts} +0 -0
- /package/{presentation/index.ts → build/presentation/index.d.ts} +0 -0
- /package/{presentation/models/index.ts → build/presentation/models/index.d.ts} +0 -0
- /package/{presentation/queries/index.ts → build/presentation/queries/index.d.ts} +0 -0
- /package/{presentation/routes/index.ts → build/presentation/routes/index.d.ts} +0 -0
- /package/{presentation/utils/index.ts → build/presentation/utils/index.d.ts} +0 -0
- /package/{solving-edu-task/commands/index.ts → build/solving-edu-task/commands/index.d.ts} +0 -0
- /package/{solving-edu-task/index.ts → build/solving-edu-task/index.d.ts} +0 -0
- /package/{solving-edu-task/models/index.ts → build/solving-edu-task/models/index.d.ts} +0 -0
- /package/{solving-edu-task/queries/index.ts → build/solving-edu-task/queries/index.d.ts} +0 -0
- /package/{solving-edu-task/routes/index.ts → build/solving-edu-task/routes/index.d.ts} +0 -0
- /package/{spell-corrector/commands/index.ts → build/spell-corrector/commands/index.d.ts} +0 -0
- /package/{spell-corrector/index.ts → build/spell-corrector/index.d.ts} +0 -0
- /package/{spell-corrector/models/index.ts → build/spell-corrector/models/index.d.ts} +0 -0
- /package/{spell-corrector/queries/index.ts → build/spell-corrector/queries/index.d.ts} +0 -0
- /package/{spell-corrector/routes/index.ts → build/spell-corrector/routes/index.d.ts} +0 -0
- /package/{stt/commands/index.ts → build/stt/commands/index.d.ts} +0 -0
- /package/{stt/enums/index.ts → build/stt/enums/index.d.ts} +0 -0
- /package/{stt/index.ts → build/stt/index.d.ts} +0 -0
- /package/{stt/models/index.ts → build/stt/models/index.d.ts} +0 -0
- /package/{stt/queries/index.ts → build/stt/queries/index.d.ts} +0 -0
- /package/{stt/routes/index.ts → build/stt/routes/index.d.ts} +0 -0
- /package/{tool-workspace/commands/index.ts → build/tool-workspace/commands/index.d.ts} +0 -0
- /package/{tool-workspace/enums/index.ts → build/tool-workspace/enums/index.d.ts} +0 -0
- /package/{tool-workspace/index.ts → build/tool-workspace/index.d.ts} +0 -0
- /package/{tool-workspace/models/index.ts → build/tool-workspace/models/index.d.ts} +0 -0
- /package/{tool-workspace/queries/index.ts → build/tool-workspace/queries/index.d.ts} +0 -0
- /package/{tool-workspace/routes/index.ts → build/tool-workspace/routes/index.d.ts} +0 -0
- /package/{tools/enums/index.ts → build/tools/enums/index.d.ts} +0 -0
- /package/{tools/events/index.ts → build/tools/events/index.d.ts} +0 -0
- /package/{tools/index.ts → build/tools/index.d.ts} +0 -0
- /package/{tools/models/index.ts → build/tools/models/index.d.ts} +0 -0
- /package/{tools/queries/index.ts → build/tools/queries/index.d.ts} +0 -0
- /package/{tools/routes/index.ts → build/tools/routes/index.d.ts} +0 -0
- /package/{tts/commands/index.ts → build/tts/commands/index.d.ts} +0 -0
- /package/{tts/enums/index.ts → build/tts/enums/index.d.ts} +0 -0
- /package/{tts/index.ts → build/tts/index.d.ts} +0 -0
- /package/{tts/models/index.ts → build/tts/models/index.d.ts} +0 -0
- /package/{tts/queries/index.ts → build/tts/queries/index.d.ts} +0 -0
- /package/{tts/routes/index.ts → build/tts/routes/index.d.ts} +0 -0
- /package/{video/commands/index.ts → build/video/commands/index.d.ts} +0 -0
- /package/{video/commands/video-model/index.ts → build/video/commands/video-model/index.d.ts} +0 -0
- /package/{video/const/index.ts → build/video/const/index.d.ts} +0 -0
- /package/{video/enums/index.ts → build/video/enums/index.d.ts} +0 -0
- /package/{video/index.ts → build/video/index.d.ts} +0 -0
- /package/{video/models/index.ts → build/video/models/index.d.ts} +0 -0
- /package/{video/queries/index.ts → build/video/queries/index.d.ts} +0 -0
- /package/{video/routes/index.ts → build/video/routes/index.d.ts} +0 -0
- /package/{video/utils/index.ts → build/video/utils/index.d.ts} +0 -0
- /package/{video-editor/commands/index.ts → build/video-editor/commands/index.d.ts} +0 -0
- /package/{video-editor/commands/video-editor-model/index.ts → build/video-editor/commands/video-editor-model/index.d.ts} +0 -0
- /package/{video-editor/enums/index.ts → build/video-editor/enums/index.d.ts} +0 -0
- /package/{video-editor/index.ts → build/video-editor/index.d.ts} +0 -0
- /package/{video-editor/models/index.ts → build/video-editor/models/index.d.ts} +0 -0
- /package/{video-editor/queries/index.ts → build/video-editor/queries/index.d.ts} +0 -0
- /package/{video-editor/routes/index.ts → build/video-editor/routes/index.d.ts} +0 -0
- /package/{video-editor/utils/index.ts → build/video-editor/utils/index.d.ts} +0 -0
- /package/{writer/commands/index.ts → build/writer/commands/index.d.ts} +0 -0
- /package/{writer/enums/index.ts → build/writer/enums/index.d.ts} +0 -0
- /package/{writer/index.ts → build/writer/index.d.ts} +0 -0
- /package/{writer/models/index.ts → build/writer/models/index.d.ts} +0 -0
- /package/{writer/queries/index.ts → build/writer/queries/index.d.ts} +0 -0
- /package/{writer/routes/index.ts → build/writer/routes/index.d.ts} +0 -0
- /package/{writer/utils/index.ts → build/writer/utils/index.d.ts} +0 -0
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { JOB_STATUS } from '../../tools';
|
|
3
|
-
import { USER_REACTION } from '../../common';
|
|
4
|
-
import { VIDEO_PUBLISH_MODERATION_STATUS } from '../enums';
|
|
5
|
-
|
|
6
|
-
export const VideoJobParamsSchema = z.object({
|
|
7
|
-
imageUrls: z.string().array().optional(),
|
|
8
|
-
imageIds: z.array(z.string()).optional(),
|
|
9
|
-
referenceImages: z.string().array().optional(),
|
|
10
|
-
referenceImageIds: z.array(z.string()).optional(),
|
|
11
|
-
firstFrameUrl: z.string().optional(),
|
|
12
|
-
lastFrameUrl: z.string().optional(),
|
|
13
|
-
audioUrls: z.array(z.string().url()).optional(),
|
|
14
|
-
audioIds: z.array(z.string()).optional(),
|
|
15
|
-
firstFrameId: z.string().optional(),
|
|
16
|
-
lastFrameId: z.string().optional(),
|
|
17
|
-
duration: z.number(),
|
|
18
|
-
aspectRatio: z.string().optional(),
|
|
19
|
-
quality: z.string().optional(),
|
|
20
|
-
resolution: z.string().optional(),
|
|
21
|
-
sound: z.boolean().optional(),
|
|
22
|
-
multiShots: z.boolean().optional(),
|
|
23
|
-
batching: z.number().int().min(1).max(4).optional(),
|
|
24
|
-
});
|
|
25
|
-
|
|
26
|
-
export type VideoJobParams = z.infer<typeof VideoJobParamsSchema>;
|
|
27
|
-
|
|
28
|
-
export const VideoJobSchema = z.object({
|
|
29
|
-
uuid: z.string(),
|
|
30
|
-
prompt: z.string(),
|
|
31
|
-
reaction: z.nativeEnum(USER_REACTION).nullable(),
|
|
32
|
-
isPublished: z.boolean(),
|
|
33
|
-
publishModerationStatus: z.nativeEnum(VIDEO_PUBLISH_MODERATION_STATUS),
|
|
34
|
-
postId: z.string().nullable(),
|
|
35
|
-
dislikeReason: z.string().nullable(),
|
|
36
|
-
externalId: z.string().nullable(),
|
|
37
|
-
title: z.string(),
|
|
38
|
-
status: z.nativeEnum(JOB_STATUS),
|
|
39
|
-
error: z.string().nullable(),
|
|
40
|
-
modelId: z.string(),
|
|
41
|
-
price: z.number(),
|
|
42
|
-
params: VideoJobParamsSchema,
|
|
43
|
-
videoUrl: z.string().nullable(),
|
|
44
|
-
previewUrl: z.string().nullable(),
|
|
45
|
-
attempts: z.array(z.any()),
|
|
46
|
-
userId: z.string().nullable().optional(),
|
|
47
|
-
unregisteredUserId: z.string().nullable().optional(),
|
|
48
|
-
tokenReservationId: z.string().nullable().optional(),
|
|
49
|
-
workspaceId: z.string().uuid().nullable().optional(),
|
|
50
|
-
isDeleted: z.boolean(),
|
|
51
|
-
isFavorite: z.boolean(),
|
|
52
|
-
createdAt: z.date(),
|
|
53
|
-
completedAt: z.date().nullable().optional(),
|
|
54
|
-
updatedAt: z.date(),
|
|
55
|
-
});
|
|
56
|
-
|
|
57
|
-
export type VideoJob = z.infer<typeof VideoJobSchema>;
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import {
|
|
3
|
-
AttachedFileSchema,
|
|
4
|
-
TOOL_MODEL_STATUS,
|
|
5
|
-
TOOL_MODEL_TAG,
|
|
6
|
-
IconVariantsSchema,
|
|
7
|
-
} from '../../common';
|
|
8
|
-
import {
|
|
9
|
-
VIDEO_GENERATION_MODEL_LIMITATION,
|
|
10
|
-
VIDEO_GENERATION_STRATEGY,
|
|
11
|
-
VIDEO_PRICING_RULE_TYPE,
|
|
12
|
-
} from '../enums';
|
|
13
|
-
|
|
14
|
-
export const VideoModelParamsSchema = z.object({
|
|
15
|
-
imageAttachment: z.object({
|
|
16
|
-
supported: z.boolean(),
|
|
17
|
-
maxImages: z.number(),
|
|
18
|
-
}),
|
|
19
|
-
referenceImageAttachment: z
|
|
20
|
-
.object({
|
|
21
|
-
supported: z.boolean(),
|
|
22
|
-
maxImages: z.number(),
|
|
23
|
-
})
|
|
24
|
-
.optional(),
|
|
25
|
-
duration: z
|
|
26
|
-
.object({
|
|
27
|
-
options: z.array(z.number()),
|
|
28
|
-
})
|
|
29
|
-
.optional(),
|
|
30
|
-
sound: z
|
|
31
|
-
.object({
|
|
32
|
-
options: z.array(z.boolean()),
|
|
33
|
-
})
|
|
34
|
-
.optional(),
|
|
35
|
-
audioAttachment: z
|
|
36
|
-
.object({
|
|
37
|
-
supported: z.boolean(),
|
|
38
|
-
maxAudios: z.number(),
|
|
39
|
-
maxDurationSeconds: z.number(),
|
|
40
|
-
minDurationSeconds: z.number().optional(),
|
|
41
|
-
maxTotalDurationSeconds: z.number().optional(),
|
|
42
|
-
maxFileSizeMb: z.number().optional(),
|
|
43
|
-
formats: z.array(z.string()).optional(),
|
|
44
|
-
mimeTypes: z.array(z.string()).optional(),
|
|
45
|
-
})
|
|
46
|
-
.optional(),
|
|
47
|
-
aspectRatio: z
|
|
48
|
-
.object({
|
|
49
|
-
options: z.array(z.string()),
|
|
50
|
-
})
|
|
51
|
-
.optional(),
|
|
52
|
-
quality: z.string().optional(),
|
|
53
|
-
resolution: z
|
|
54
|
-
.object({
|
|
55
|
-
options: z.array(z.string()),
|
|
56
|
-
})
|
|
57
|
-
.optional(),
|
|
58
|
-
multiShots: z
|
|
59
|
-
.object({
|
|
60
|
-
options: z.array(z.boolean()),
|
|
61
|
-
})
|
|
62
|
-
.optional(),
|
|
63
|
-
frameAttachment: z
|
|
64
|
-
.object({
|
|
65
|
-
supported: z.boolean(),
|
|
66
|
-
maxImages: z.number(),
|
|
67
|
-
})
|
|
68
|
-
.optional(),
|
|
69
|
-
});
|
|
70
|
-
|
|
71
|
-
export type VideoModelParams = z.infer<typeof VideoModelParamsSchema>;
|
|
72
|
-
|
|
73
|
-
export const VideoGenerationRequestParamsSchema = z.object({
|
|
74
|
-
attachedFiles: z.array(AttachedFileSchema).optional(),
|
|
75
|
-
imageUrls: z.string().array().optional(),
|
|
76
|
-
imageIds: z.array(z.string()).optional(),
|
|
77
|
-
referenceImages: z.string().array().optional(),
|
|
78
|
-
referenceImageIds: z.array(z.string()).optional(),
|
|
79
|
-
firstFrameUrl: z.string().optional(),
|
|
80
|
-
lastFrameUrl: z.string().optional(),
|
|
81
|
-
audioUrls: z.array(z.string().url()).optional(),
|
|
82
|
-
audioIds: z.array(z.string()).optional(),
|
|
83
|
-
firstFrameId: z.string().optional(),
|
|
84
|
-
lastFrameId: z.string().optional(),
|
|
85
|
-
duration: z.number(),
|
|
86
|
-
aspectRatio: z.string().optional(),
|
|
87
|
-
quality: z.string().optional(),
|
|
88
|
-
resolution: z.string().optional(),
|
|
89
|
-
sound: z.boolean().optional(),
|
|
90
|
-
multiShots: z.boolean().optional(),
|
|
91
|
-
batching: z.number().int().min(1).max(4).optional(),
|
|
92
|
-
});
|
|
93
|
-
export type VideoGenerationRequestParams = z.infer<typeof VideoGenerationRequestParamsSchema>;
|
|
94
|
-
|
|
95
|
-
export const VideoModelPricingRuleConditionSchema = z.object({
|
|
96
|
-
duration: z.number().optional(),
|
|
97
|
-
aspectRatio: z.string().optional(),
|
|
98
|
-
quality: z.string().optional(),
|
|
99
|
-
resolution: z.string().optional(),
|
|
100
|
-
sound: z.boolean().optional(),
|
|
101
|
-
});
|
|
102
|
-
export type VideoModelPricingRuleCondition = z.infer<typeof VideoModelPricingRuleConditionSchema>;
|
|
103
|
-
|
|
104
|
-
export const VideoModelPricingRulesSchema = z.array(
|
|
105
|
-
z.object({
|
|
106
|
-
type: z.nativeEnum(VIDEO_PRICING_RULE_TYPE),
|
|
107
|
-
condition: VideoModelPricingRuleConditionSchema,
|
|
108
|
-
value: z.number(),
|
|
109
|
-
}),
|
|
110
|
-
);
|
|
111
|
-
export type VideoModelPricingRules = z.infer<typeof VideoModelPricingRulesSchema>;
|
|
112
|
-
|
|
113
|
-
export const VideoModelSchema = z.object({
|
|
114
|
-
uuid: z.string(),
|
|
115
|
-
title: z.string(),
|
|
116
|
-
tags: z.array(z.nativeEnum(TOOL_MODEL_TAG)),
|
|
117
|
-
hint: z.string().nullable(),
|
|
118
|
-
description: z.string(),
|
|
119
|
-
aiModel: z.string(),
|
|
120
|
-
pricePerSecond: z.number(),
|
|
121
|
-
order: z.number(),
|
|
122
|
-
isNew: z.boolean(),
|
|
123
|
-
isHidden: z.boolean(),
|
|
124
|
-
status: z.nativeEnum(TOOL_MODEL_STATUS),
|
|
125
|
-
icons: IconVariantsSchema,
|
|
126
|
-
strategy: z.nativeEnum(VIDEO_GENERATION_STRATEGY),
|
|
127
|
-
maxInputLength: z.number(),
|
|
128
|
-
params: VideoModelParamsSchema,
|
|
129
|
-
pricingRules: VideoModelPricingRulesSchema,
|
|
130
|
-
limitations: z.array(z.nativeEnum(VIDEO_GENERATION_MODEL_LIMITATION)),
|
|
131
|
-
vendorId: z.string().uuid(),
|
|
132
|
-
createdAt: z.date(),
|
|
133
|
-
updatedAt: z.date(),
|
|
134
|
-
});
|
|
135
|
-
|
|
136
|
-
export type VideoModel = z.infer<typeof VideoModelSchema>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { ICommandResponseSchema } from '../../common/models/command-response.schema';
|
|
3
|
-
import { VideoJobSchema } from '../models/video-job.schema';
|
|
4
|
-
|
|
5
|
-
export namespace FindVideoJobByIdQuery {
|
|
6
|
-
export const RequestSchema = z.object({
|
|
7
|
-
uuid: z.string().uuid(),
|
|
8
|
-
userId: z.string().uuid().nullable().optional(),
|
|
9
|
-
unregisteredUserId: z.string().uuid().nullable().optional(),
|
|
10
|
-
});
|
|
11
|
-
export type Request = z.infer<typeof RequestSchema>;
|
|
12
|
-
|
|
13
|
-
export const ResponseSchema = ICommandResponseSchema(VideoJobSchema);
|
|
14
|
-
export type Response = z.infer<typeof ResponseSchema>;
|
|
15
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { JOB_SCOPE } from '../../common';
|
|
3
|
-
import { ICommandResponseSchema } from '../../common/models/command-response.schema';
|
|
4
|
-
import { VideoJobSchema } from '../models/video-job.schema';
|
|
5
|
-
import { JOB_SORT, JOB_STATUS } from '../../tools';
|
|
6
|
-
|
|
7
|
-
export namespace FindVideoJobsQuery {
|
|
8
|
-
export const RequestSchema = z
|
|
9
|
-
.object({
|
|
10
|
-
userId: z.string().uuid().optional(),
|
|
11
|
-
unregisteredUserId: z.string().uuid().optional(),
|
|
12
|
-
scope: z.nativeEnum(JOB_SCOPE).optional().default(JOB_SCOPE.TOOL),
|
|
13
|
-
workspaceId: z.string().uuid().nullable().optional(),
|
|
14
|
-
title: z.string().optional(),
|
|
15
|
-
isFavorite: z.coerce.boolean().optional(),
|
|
16
|
-
createdAtSortOrder: z.nativeEnum(JOB_SORT).optional().default(JOB_SORT.DESC),
|
|
17
|
-
status: z.nativeEnum(JOB_STATUS).optional(),
|
|
18
|
-
limit: z.coerce.number().min(1).optional(),
|
|
19
|
-
offset: z.coerce.number().min(0).default(0).optional(),
|
|
20
|
-
})
|
|
21
|
-
.refine(
|
|
22
|
-
(data) => {
|
|
23
|
-
return Boolean(data.userId) !== Boolean(data.unregisteredUserId);
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
message: 'At least userId or unregisteredUserId must be present',
|
|
27
|
-
path: ['userId', 'unregisteredUserId'],
|
|
28
|
-
},
|
|
29
|
-
);
|
|
30
|
-
export type Request = z.infer<typeof RequestSchema>;
|
|
31
|
-
|
|
32
|
-
export const ResponseSchema = ICommandResponseSchema(
|
|
33
|
-
z.object({
|
|
34
|
-
data: z.array(VideoJobSchema),
|
|
35
|
-
page: z.number(),
|
|
36
|
-
totalPages: z.number(),
|
|
37
|
-
total: z.number(),
|
|
38
|
-
}),
|
|
39
|
-
);
|
|
40
|
-
export type Response = z.infer<typeof ResponseSchema>;
|
|
41
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { ICommandResponseSchema, LocaleRequestSchema } from '../../common';
|
|
3
|
-
import { VideoConfigSchema } from '../models';
|
|
4
|
-
|
|
5
|
-
export namespace GetVideoConfigQuery {
|
|
6
|
-
export const RequestSchema = LocaleRequestSchema.extend({
|
|
7
|
-
includeHidden: z.boolean().optional(),
|
|
8
|
-
});
|
|
9
|
-
export type Request = z.infer<typeof RequestSchema>;
|
|
10
|
-
|
|
11
|
-
export const ResponseSchema = ICommandResponseSchema(VideoConfigSchema);
|
|
12
|
-
export type Response = z.infer<typeof ResponseSchema>;
|
|
13
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export const VIDEO_AMQP_ROUTES = {
|
|
2
|
-
EXECUTE: 'tools.video.execute.rpc',
|
|
3
|
-
GET_PRICE: 'tools.video.get-price.rpc',
|
|
4
|
-
CONFIG: 'tools.video.config.rpc',
|
|
5
|
-
GET_JOB: 'tools.video.jobs.get.rpc',
|
|
6
|
-
LIST_JOBS: 'tools.video.jobs.list.rpc',
|
|
7
|
-
SET_REACTION: 'tools.video.jobs.set-reaction.rpc',
|
|
8
|
-
UPDATE_TITLE: 'tools.video.jobs.update-title.rpc',
|
|
9
|
-
UPDATE_FAVORITE: 'tools.video.jobs.update-favorite.rpc',
|
|
10
|
-
SOFT_DELETE: 'tools.video.jobs.soft-delete.rpc',
|
|
11
|
-
SOFT_DELETE_ALL: 'tools.video.jobs.soft-delete-all.rpc',
|
|
12
|
-
RETRY: 'tools.video.jobs.retry.rpc',
|
|
13
|
-
UPDATE_JOB: 'tools.video.jobs.update.rpc',
|
|
14
|
-
MODERATE_BEFORE_POST: 'tools.video.jobs.moderate-before-post.rpc',
|
|
15
|
-
} as const;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export const VIDEO_GENERATION_CONTROLLER = 'video-generation';
|
|
2
|
-
|
|
3
|
-
export const VIDEO_GENERATION_ROUTES = {
|
|
4
|
-
KIE_VEO_CALLBACK: 'kie/veo/callback',
|
|
5
|
-
KIE_RUNWAY_CALLBACK: 'kie/runway/callback',
|
|
6
|
-
KIE_SORA_2_CALLBACK: 'kie/sora-2/callback',
|
|
7
|
-
KIE_SEEDANCE_CALLBACK: 'kie/seedance/callback',
|
|
8
|
-
KIE_KLING_CALLBACK: 'kie/kling/callback',
|
|
9
|
-
};
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { VIDEO_PRICING_RULE_TYPE } from '../enums';
|
|
2
|
-
import {
|
|
3
|
-
VideoGenerationRequestParams,
|
|
4
|
-
VideoModelPricingRuleCondition,
|
|
5
|
-
VideoModelPricingRules,
|
|
6
|
-
} from '../models';
|
|
7
|
-
|
|
8
|
-
function matchesCondition(
|
|
9
|
-
condition: VideoModelPricingRuleCondition,
|
|
10
|
-
params: VideoGenerationRequestParams,
|
|
11
|
-
): boolean {
|
|
12
|
-
const keys = Object.keys(condition) as (keyof VideoModelPricingRuleCondition)[];
|
|
13
|
-
|
|
14
|
-
return keys.every((key) => {
|
|
15
|
-
const expected = condition[key];
|
|
16
|
-
|
|
17
|
-
if (expected === undefined || expected === null || expected === '') {
|
|
18
|
-
return true;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
const value = params[key];
|
|
22
|
-
if (value === undefined || value === null) {
|
|
23
|
-
return false;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
return value === expected;
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export function calculateVideoGenerationPrice({
|
|
31
|
-
pricePerSecond,
|
|
32
|
-
params,
|
|
33
|
-
rules,
|
|
34
|
-
}: {
|
|
35
|
-
pricePerSecond: number;
|
|
36
|
-
params: VideoGenerationRequestParams;
|
|
37
|
-
rules: VideoModelPricingRules;
|
|
38
|
-
}) {
|
|
39
|
-
const perSecondRule = rules
|
|
40
|
-
.filter((r) => r.type === VIDEO_PRICING_RULE_TYPE.PER_SECOND)
|
|
41
|
-
.find((r) => matchesCondition(r.condition, params));
|
|
42
|
-
|
|
43
|
-
const effectivePricePerSecond = perSecondRule ? perSecondRule.value : pricePerSecond;
|
|
44
|
-
|
|
45
|
-
const base = effectivePricePerSecond * params.duration;
|
|
46
|
-
|
|
47
|
-
const flatMarkup = rules.reduce((sum, r) => {
|
|
48
|
-
if (r.type !== VIDEO_PRICING_RULE_TYPE.FLAT) {
|
|
49
|
-
return sum;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
return matchesCondition(r.condition, params) ? sum + r.value : sum;
|
|
53
|
-
}, 0);
|
|
54
|
-
|
|
55
|
-
return Math.ceil(base + flatMarkup);
|
|
56
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { JOB_SCOPE } from '../../common';
|
|
3
|
-
import { ICommandResponseSchema } from '../../common/models/command-response.schema';
|
|
4
|
-
|
|
5
|
-
export namespace DeleteAllVideoEditorJobsCommand {
|
|
6
|
-
export const RequestSchema = z.object({
|
|
7
|
-
userId: z.string().uuid().nullable().optional(),
|
|
8
|
-
unregisteredUserId: z.string().uuid().nullable().optional(),
|
|
9
|
-
scope: z.nativeEnum(JOB_SCOPE).optional().default(JOB_SCOPE.TOOL),
|
|
10
|
-
});
|
|
11
|
-
export type Request = z.infer<typeof RequestSchema>;
|
|
12
|
-
|
|
13
|
-
export const ResponseSchema = ICommandResponseSchema(z.boolean());
|
|
14
|
-
export type Response = z.infer<typeof ResponseSchema>;
|
|
15
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { ICommandResponseSchema } from '../../common/models/command-response.schema';
|
|
3
|
-
|
|
4
|
-
export namespace DeleteVideoEditorJobByUuidCommand {
|
|
5
|
-
export const RequestSchema = z.object({
|
|
6
|
-
userId: z.string().uuid().nullable().optional(),
|
|
7
|
-
unregisteredUserId: z.string().uuid().nullable().optional(),
|
|
8
|
-
uuid: z.string(),
|
|
9
|
-
});
|
|
10
|
-
export type Request = z.infer<typeof RequestSchema>;
|
|
11
|
-
|
|
12
|
-
export const ResponseSchema = ICommandResponseSchema(z.boolean());
|
|
13
|
-
export type Response = z.infer<typeof ResponseSchema>;
|
|
14
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { JOB_SCOPE } from '../../common';
|
|
3
|
-
import { ICommandResponseSchema } from '../../common/models/command-response.schema';
|
|
4
|
-
import { VideoEditorJobSchema, VideoEditorJobParamsSchema } from '../models';
|
|
5
|
-
|
|
6
|
-
export namespace EditVideoCommand {
|
|
7
|
-
export const RequestSchema = z.object({
|
|
8
|
-
userId: z.string().uuid().nullable().optional(),
|
|
9
|
-
unregisteredUserId: z.string().uuid().nullable().optional(),
|
|
10
|
-
scope: z.nativeEnum(JOB_SCOPE).optional().default(JOB_SCOPE.TOOL),
|
|
11
|
-
prompt: z.string(),
|
|
12
|
-
inputVideoId: z.string().uuid(),
|
|
13
|
-
inputVideoUrl: z.string(),
|
|
14
|
-
duration: z.number(),
|
|
15
|
-
modelId: z.string().uuid(),
|
|
16
|
-
tokenReservationId: z.string().uuid(),
|
|
17
|
-
precalculatedPrice: z.number(),
|
|
18
|
-
params: VideoEditorJobParamsSchema.optional(),
|
|
19
|
-
});
|
|
20
|
-
export type Request = z.infer<typeof RequestSchema>;
|
|
21
|
-
|
|
22
|
-
export const ResponseSchema = ICommandResponseSchema(VideoEditorJobSchema);
|
|
23
|
-
export type Response = z.infer<typeof ResponseSchema>;
|
|
24
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { ICommandResponseSchema } from '../../common/models/command-response.schema';
|
|
3
|
-
import { VideoEditorPricingRequestParamsSchema } from '../models';
|
|
4
|
-
|
|
5
|
-
export namespace GetVideoEditorPriceCommand {
|
|
6
|
-
export const RequestSchema = z.object({
|
|
7
|
-
modelId: z.string(),
|
|
8
|
-
params: VideoEditorPricingRequestParamsSchema,
|
|
9
|
-
});
|
|
10
|
-
export type Request = z.infer<typeof RequestSchema>;
|
|
11
|
-
|
|
12
|
-
export const ResponseDataSchema = z.object({
|
|
13
|
-
price: z.number(),
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
export const ResponseSchema = ICommandResponseSchema(ResponseDataSchema);
|
|
17
|
-
export type Response = z.infer<typeof ResponseSchema>;
|
|
18
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { ICommandResponseSchema } from '../../common/models/command-response.schema';
|
|
3
|
-
import {
|
|
4
|
-
VideoEditorJobParamsSchema,
|
|
5
|
-
VideoEditorJobSchema,
|
|
6
|
-
} from '../models/video-editor-job.schema';
|
|
7
|
-
|
|
8
|
-
export namespace RetryVideoEditorJobCommand {
|
|
9
|
-
export const RequestSchema = z.object({
|
|
10
|
-
uuid: z.string().uuid(),
|
|
11
|
-
userId: z.string().uuid().nullable().optional(),
|
|
12
|
-
unregisteredUserId: z.string().uuid().nullable().optional(),
|
|
13
|
-
prompt: z.string().optional(),
|
|
14
|
-
inputVideoId: z.string().uuid().optional(),
|
|
15
|
-
inputVideoUrl: z.string().optional(),
|
|
16
|
-
duration: z.number().optional(),
|
|
17
|
-
modelId: z.string().uuid().optional(),
|
|
18
|
-
tokenReservationId: z.string().uuid(),
|
|
19
|
-
precalculatedPrice: z.number(),
|
|
20
|
-
params: VideoEditorJobParamsSchema.optional(),
|
|
21
|
-
});
|
|
22
|
-
export type Request = z.infer<typeof RequestSchema>;
|
|
23
|
-
|
|
24
|
-
export const ResponseSchema = ICommandResponseSchema(VideoEditorJobSchema);
|
|
25
|
-
export type Response = z.infer<typeof ResponseSchema>;
|
|
26
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { ICommandResponseSchema } from '../../common/models/command-response.schema';
|
|
3
|
-
import { VideoEditorJobSchema } from '../models/video-editor-job.schema';
|
|
4
|
-
import { USER_REACTION } from '../../common';
|
|
5
|
-
|
|
6
|
-
export namespace SetReactionToVideoEditorJobCommand {
|
|
7
|
-
export const RequestSchema = z
|
|
8
|
-
.object({
|
|
9
|
-
userId: z.string().uuid().nullable().optional(),
|
|
10
|
-
unregisteredUserId: z.string().uuid().nullable().optional(),
|
|
11
|
-
uuid: z.string().uuid(),
|
|
12
|
-
reaction: z.nativeEnum(USER_REACTION).nullable(),
|
|
13
|
-
dislikeReason: z.string().nullable().default(null),
|
|
14
|
-
})
|
|
15
|
-
.refine(
|
|
16
|
-
(data) => {
|
|
17
|
-
if (data.reaction !== USER_REACTION.DISLIKED && data.dislikeReason) {
|
|
18
|
-
return false;
|
|
19
|
-
}
|
|
20
|
-
return true;
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
message: 'Dislike reason is not allowed when reaction is not disliked',
|
|
24
|
-
},
|
|
25
|
-
);
|
|
26
|
-
export type Request = z.infer<typeof RequestSchema>;
|
|
27
|
-
|
|
28
|
-
export const ResponseSchema = ICommandResponseSchema(VideoEditorJobSchema);
|
|
29
|
-
export type Response = z.infer<typeof ResponseSchema>;
|
|
30
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { ICommandResponseSchema } from '../../common/models/command-response.schema';
|
|
3
|
-
import { VideoEditorJobSchema } from '../models/video-editor-job.schema';
|
|
4
|
-
|
|
5
|
-
export namespace UpdatePublishedStatusVideoEditorJobsCommand {
|
|
6
|
-
export const RequestSchema = z.object({
|
|
7
|
-
criteria: z.object({
|
|
8
|
-
uuid: z.string().uuid(),
|
|
9
|
-
userId: z.string().uuid().nullable().optional(),
|
|
10
|
-
unregisteredUserId: z.string().uuid().nullable().optional(),
|
|
11
|
-
}),
|
|
12
|
-
data: z
|
|
13
|
-
.object({
|
|
14
|
-
isPublished: z.boolean(),
|
|
15
|
-
postId: z.string().nullable().optional(),
|
|
16
|
-
})
|
|
17
|
-
.refine((data) => (data.isPublished ? !!data.postId : true), {
|
|
18
|
-
message: 'Post ID is required when job is published',
|
|
19
|
-
path: ['postId'],
|
|
20
|
-
}),
|
|
21
|
-
});
|
|
22
|
-
export type Request = z.infer<typeof RequestSchema>;
|
|
23
|
-
|
|
24
|
-
export const ResponseSchema = ICommandResponseSchema(VideoEditorJobSchema);
|
|
25
|
-
export type Response = z.infer<typeof ResponseSchema>;
|
|
26
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { ICommandResponseSchema } from '../../common/models/command-response.schema';
|
|
3
|
-
import { VideoEditorJobSchema } from '../models/video-editor-job.schema';
|
|
4
|
-
|
|
5
|
-
export namespace UpdateVideoEditorJobFavoriteCommand {
|
|
6
|
-
export const RequestSchema = z.object({
|
|
7
|
-
uuid: z.string().uuid(),
|
|
8
|
-
userId: z.string().uuid().nullable().optional(),
|
|
9
|
-
unregisteredUserId: z.string().uuid().nullable().optional(),
|
|
10
|
-
isFavorite: z.boolean(),
|
|
11
|
-
});
|
|
12
|
-
export type Request = z.infer<typeof RequestSchema>;
|
|
13
|
-
|
|
14
|
-
export const ResponseSchema = ICommandResponseSchema(VideoEditorJobSchema);
|
|
15
|
-
export type Response = z.infer<typeof ResponseSchema>;
|
|
16
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { ICommandResponseSchema } from '../../common/models/command-response.schema';
|
|
3
|
-
import { VideoEditorJobSchema } from '../models/video-editor-job.schema';
|
|
4
|
-
|
|
5
|
-
export namespace UpdateVideoEditorJobTitleCommand {
|
|
6
|
-
export const RequestSchema = z.object({
|
|
7
|
-
userId: z.string().uuid().nullable().optional(),
|
|
8
|
-
unregisteredUserId: z.string().uuid().nullable().optional(),
|
|
9
|
-
uuid: z.string(),
|
|
10
|
-
title: z.string(),
|
|
11
|
-
});
|
|
12
|
-
export type Request = z.infer<typeof RequestSchema>;
|
|
13
|
-
|
|
14
|
-
export const ResponseSchema = ICommandResponseSchema(VideoEditorJobSchema);
|
|
15
|
-
export type Response = z.infer<typeof ResponseSchema>;
|
|
16
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { ICommandResponseSchema, LocaleSchema } from '../../../common';
|
|
3
|
-
import { VideoEditorModelSchema } from '../../models';
|
|
4
|
-
|
|
5
|
-
export namespace GetVideoEditorModelByUuidCommand {
|
|
6
|
-
export const RequestSchema = z.object({
|
|
7
|
-
uuid: z.string().uuid(),
|
|
8
|
-
locale: LocaleSchema,
|
|
9
|
-
});
|
|
10
|
-
export type Request = z.infer<typeof RequestSchema>;
|
|
11
|
-
|
|
12
|
-
export const ResponseSchema = ICommandResponseSchema(VideoEditorModelSchema);
|
|
13
|
-
export type Response = z.infer<typeof ResponseSchema>;
|
|
14
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export enum VIDEO_EDITOR_MODEL_STRATEGY {
|
|
2
|
-
LUMA_MODIFY_POLLING = 'LUMA_MODIFY_POLLING',
|
|
3
|
-
ALEPH_EDITING_POLLING = 'ALEPH_EDITING_POLLING',
|
|
4
|
-
LUMA_MODIFY_CALLBACK = 'LUMA_MODIFY_CALLBACK',
|
|
5
|
-
ALEPH_EDITING_CALLBACK = 'ALEPH_EDITING_CALLBACK',
|
|
6
|
-
WAN_2_6_VIDEO_TO_VIDEO_CALLBACK = 'WAN_2_6_VIDEO_TO_VIDEO_CALLBACK',
|
|
7
|
-
WAN_2_7_VIDEO_TO_VIDEO_CALLBACK = 'WAN_2_7_VIDEO_TO_VIDEO_CALLBACK',
|
|
8
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import z from 'zod';
|
|
2
|
-
import { VideoEditorModelSchema } from './video-editor-model.schema';
|
|
3
|
-
|
|
4
|
-
export const VideoEditorConfigSchema = z.object({
|
|
5
|
-
models: z.array(VideoEditorModelSchema),
|
|
6
|
-
});
|
|
7
|
-
export type VideoEditorConfig = z.infer<typeof VideoEditorConfigSchema>;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { JOB_STATUS } from '../../tools';
|
|
3
|
-
import { USER_REACTION } from '../../common';
|
|
4
|
-
|
|
5
|
-
export const VideoEditorJobParamsSchema = z.object({
|
|
6
|
-
duration: z.number().optional(),
|
|
7
|
-
resolution: z.string().optional(),
|
|
8
|
-
});
|
|
9
|
-
|
|
10
|
-
export type VideoEditorJobParams = z.infer<typeof VideoEditorJobParamsSchema>;
|
|
11
|
-
|
|
12
|
-
export const VideoEditorJobSchema = z.object({
|
|
13
|
-
uuid: z.string(),
|
|
14
|
-
prompt: z.string(),
|
|
15
|
-
title: z.string(),
|
|
16
|
-
status: z.nativeEnum(JOB_STATUS),
|
|
17
|
-
error: z.string().nullable(),
|
|
18
|
-
price: z.number(),
|
|
19
|
-
reaction: z.nativeEnum(USER_REACTION).nullable(),
|
|
20
|
-
dislikeReason: z.string().nullable(),
|
|
21
|
-
externalId: z.string().nullable(),
|
|
22
|
-
modelId: z.string(),
|
|
23
|
-
inputVideoUrl: z.string(),
|
|
24
|
-
inputVideoId: z.string().nullable(),
|
|
25
|
-
outputVideoUrl: z.string().nullable(),
|
|
26
|
-
outputVideoId: z.string().nullable(),
|
|
27
|
-
previewUrl: z.string().nullable(),
|
|
28
|
-
params: VideoEditorJobParamsSchema.optional(),
|
|
29
|
-
duration: z.number(),
|
|
30
|
-
attempts: z.array(z.any()),
|
|
31
|
-
userId: z.string().nullable().optional(),
|
|
32
|
-
unregisteredUserId: z.string().nullable().optional(),
|
|
33
|
-
tokenReservationId: z.string().nullable().optional(),
|
|
34
|
-
isPublished: z.boolean(),
|
|
35
|
-
postId: z.string().nullable(),
|
|
36
|
-
isDeleted: z.boolean(),
|
|
37
|
-
isFavorite: z.boolean(),
|
|
38
|
-
createdAt: z.date(),
|
|
39
|
-
completedAt: z.date().nullable().optional(),
|
|
40
|
-
updatedAt: z.date(),
|
|
41
|
-
});
|
|
42
|
-
|
|
43
|
-
export type VideoEditorJob = z.infer<typeof VideoEditorJobSchema>;
|