@purpleschool/gptbot 0.13.23 → 0.14.2-stage-2
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/api/controllers/http/agents/agent-dialog.ts +1 -9
- package/api/controllers/http/agents/agent-lead-form.ts +0 -2
- package/api/controllers/http/agents/agent-lead.ts +0 -1
- package/api/controllers/http/agents/agent-template.ts +0 -4
- package/api/controllers/http/agents/agent-tool.ts +1 -2
- package/api/controllers/http/agents/agent.ts +3 -0
- package/api/controllers/http/agents/index.ts +0 -1
- package/api/controllers/http/b2b-compatible.ts +14 -0
- package/api/controllers/http/b2b-usage-log.ts +5 -0
- package/api/controllers/http/diagrams.ts +0 -1
- package/api/controllers/http/html-page-builder.ts +0 -1
- package/api/controllers/http/image-editor.ts +0 -1
- package/api/controllers/http/image-generation.ts +0 -1
- package/api/controllers/http/index.ts +3 -2
- package/api/controllers/http/interior-design.ts +0 -1
- package/api/controllers/http/marketplace-card.ts +0 -1
- package/api/controllers/http/model-page.ts +39 -0
- package/api/controllers/http/music.ts +0 -1
- package/api/controllers/http/paraphrase.ts +0 -1
- package/api/controllers/http/presentation.ts +0 -1
- package/api/controllers/http/solving-edu-task.ts +0 -1
- package/api/controllers/http/spell-corrector.ts +0 -1
- package/api/controllers/http/stt.ts +0 -1
- package/api/controllers/http/tts.ts +0 -1
- package/api/controllers/http/video-editor.ts +0 -1
- package/api/controllers/http/video.ts +0 -1
- package/api/controllers/http/writer.ts +0 -1
- package/api/routes.ts +72 -127
- package/build/api/controllers/http/agents/agent-dialog.js +1 -7
- package/build/api/controllers/http/agents/agent-lead-form.js +0 -2
- package/build/api/controllers/http/agents/agent-lead.js +0 -1
- package/build/api/controllers/http/agents/agent-template.js +0 -4
- package/build/api/controllers/http/agents/agent-tool.js +1 -2
- package/build/api/controllers/http/agents/agent.js +2 -0
- package/build/api/controllers/http/agents/index.js +0 -1
- package/build/api/controllers/http/b2b-compatible.js +15 -0
- package/build/api/controllers/http/b2b-usage-log.js +7 -0
- package/build/api/controllers/http/diagrams.js +0 -1
- package/build/api/controllers/http/html-page-builder.js +0 -1
- package/build/api/controllers/http/image-editor.js +0 -1
- package/build/api/controllers/http/image-generation.js +0 -1
- package/build/api/controllers/http/index.js +3 -2
- package/build/api/controllers/http/interior-design.js +0 -1
- package/build/api/controllers/http/marketplace-card.js +0 -1
- package/build/api/controllers/http/model-page.js +34 -0
- package/build/api/controllers/http/music.js +0 -1
- package/build/api/controllers/http/paraphrase.js +0 -1
- package/build/api/controllers/http/presentation.js +0 -1
- package/build/api/controllers/http/solving-edu-task.js +0 -1
- package/build/api/controllers/http/spell-corrector.js +0 -1
- package/build/api/controllers/http/stt.js +0 -1
- package/build/api/controllers/http/tts.js +0 -1
- package/build/api/controllers/http/video-editor.js +0 -1
- package/build/api/controllers/http/video.js +0 -1
- package/build/api/controllers/http/writer.js +0 -1
- package/build/api/routes.js +49 -69
- package/build/commands/agents/agent-dialog/clear-agent-dialog-history.command.js +14 -0
- package/build/commands/agents/agent-dialog/find-agent-dialogs.command.js +0 -1
- package/build/commands/agents/agent-dialog/index.js +1 -6
- package/build/commands/agents/agent-dialog/send-cabinet-message.command.js +11 -4
- package/build/commands/agents/agent-lead/find-agent-leads.command.js +4 -2
- package/build/commands/agents/agent-template/index.js +0 -1
- package/build/commands/agents/agent-tool/find-agent-tools-catalog.command.js +0 -2
- package/build/commands/agents/agent-tool/find-agent-tools.command.js +0 -2
- package/build/commands/agents/agents/index.js +0 -1
- package/build/commands/ai-studio/canvas-tool/index.js +0 -1
- package/build/commands/b2b/send-text-request.command.js +8 -1
- package/build/commands/b2b-compatible/anthropic-files.command.js +21 -0
- package/build/commands/b2b-compatible/anthropic-messages.command.js +217 -0
- package/build/commands/b2b-compatible/anthropic-models.command.js +26 -0
- package/build/commands/b2b-compatible/common.schemas.js +46 -0
- package/build/commands/b2b-compatible/index.js +23 -0
- package/build/commands/b2b-compatible/openai-files.command.js +26 -0
- package/build/commands/b2b-compatible/openai-models.command.js +24 -0
- package/build/commands/b2b-compatible/openai-responses.command.js +171 -0
- package/build/commands/b2b-usage-log/get-b2b-usage-statistics.command.js +111 -0
- package/build/{constants/photo-studio/enums → commands/b2b-usage-log}/index.js +1 -1
- package/build/commands/index.js +3 -1
- package/build/commands/model-page/base/create-model-page.command.js +13 -0
- package/build/commands/model-page/base/delete-model-page.command.js +9 -0
- package/build/commands/model-page/base/find-model-page-admin.command.js +13 -0
- package/build/commands/model-page/base/find-model-pages-admin.command.js +22 -0
- package/build/commands/model-page/base/index.js +21 -0
- package/build/commands/model-page/base/update-model-page.command.js +63 -0
- package/build/commands/model-page/common.schemas.js +62 -0
- package/build/{models/photo-studio → commands/model-page}/index.js +5 -4
- package/build/commands/model-page/public/find-model-page-answer-detail.command.js +14 -0
- package/build/commands/model-page/public/find-model-page-detail.command.js +12 -0
- package/build/commands/model-page/public/find-model-page-hub.command.js +19 -0
- package/build/commands/model-page/public/find-model-page-question-type.command.js +13 -0
- package/build/commands/model-page/public/index.js +20 -0
- package/build/commands/model-page/question/create-model-page-question.command.js +16 -0
- package/build/commands/model-page/question/delete-model-page-question.command.js +9 -0
- package/build/commands/model-page/question/find-model-page-question-admin.command.js +13 -0
- package/build/commands/model-page/question/find-model-page-questions-admin.command.js +21 -0
- package/build/commands/model-page/question/index.js +21 -0
- package/build/commands/model-page/question/update-model-page-question.command.js +18 -0
- package/build/commands/model-page/question-translation/create-model-page-question-translation.command.js +17 -0
- package/build/commands/model-page/question-translation/delete-model-page-question-translation.command.js +9 -0
- package/build/commands/model-page/question-translation/find-model-page-question-translation.command.js +13 -0
- package/build/commands/model-page/question-translation/find-model-page-question-translations.command.js +13 -0
- package/build/commands/model-page/question-translation/index.js +21 -0
- package/build/commands/model-page/question-translation/update-model-page-question-translation.command.js +16 -0
- package/build/commands/model-page/translation/create-model-page-translation.command.js +18 -0
- package/build/commands/model-page/translation/delete-model-page-translation.command.js +9 -0
- package/build/commands/model-page/translation/find-model-page-translation.command.js +13 -0
- package/build/commands/model-page/translation/find-model-page-translations.command.js +13 -0
- package/build/commands/model-page/translation/index.js +21 -0
- package/build/commands/model-page/translation/update-model-page-translation.command.js +17 -0
- package/build/commands/question/create-question.command.js +15 -4
- package/build/commands/question/update-question.command.js +12 -7
- package/build/commands/tools/diagrams/find-diagrams-jobs.command.js +0 -5
- package/build/commands/tools/diagrams/index.js +0 -1
- package/build/commands/tools/html-page-builder/find-html-page-builder-sessions.command.js +0 -5
- package/build/commands/tools/html-page-builder/index.js +0 -1
- package/build/commands/tools/image-editor/find-image-editor-jobs.command.js +0 -5
- package/build/commands/tools/image-editor/index.js +0 -1
- package/build/commands/tools/image-generation/find-image-generation-jobs.command.js +0 -5
- package/build/commands/tools/image-generation/index.js +0 -1
- package/build/commands/tools/interior-design/find-interior-design-jobs.command.js +0 -5
- package/build/commands/tools/interior-design/index.js +0 -1
- package/build/commands/tools/marketplace-card/find-marketplace-card-jobs.command.js +0 -5
- package/build/commands/tools/marketplace-card/index.js +0 -1
- package/build/commands/tools/music/find-music-jobs.command.js +0 -5
- package/build/commands/tools/music/index.js +0 -1
- package/build/commands/tools/paraphrase/find-paraphrase-jobs.command.js +0 -5
- package/build/commands/tools/paraphrase/index.js +0 -1
- package/build/commands/tools/presentation/find-presentations.command.js +0 -5
- package/build/commands/tools/presentation/index.js +0 -1
- package/build/commands/tools/solving-edu-task/find-solving-edu-task-jobs.command.js +0 -5
- package/build/commands/tools/solving-edu-task/index.js +0 -1
- package/build/commands/tools/spell-corrector/find-spell-corrector-jobs.command.js +0 -5
- package/build/commands/tools/spell-corrector/index.js +0 -1
- package/build/commands/tools/stt/find-stt-jobs.command.js +0 -5
- package/build/commands/tools/stt/index.js +0 -1
- package/build/commands/tools/tts/find-tts-jobs.command.js +0 -5
- package/build/commands/tools/tts/index.js +0 -1
- package/build/commands/tools/video/find-video-jobs.command.js +0 -5
- package/build/commands/tools/video/index.js +0 -1
- package/build/commands/tools/video-editor/find-video-editor-jobs.command.js +0 -5
- package/build/commands/tools/video-editor/index.js +0 -1
- package/build/commands/tools/writer/find-writer-documents.command.js +0 -5
- package/build/commands/tools/writer/index.js +0 -1
- package/build/constants/b2b/enums/b2b-debit-status.enum.js +9 -0
- package/build/constants/b2b/enums/b2b-endpoint-family.enum.js +9 -0
- package/build/constants/b2b/enums/b2b-statistics-granularity.enum.js +8 -0
- package/build/constants/b2b/enums/b2b-statistics-period.enum.js +13 -0
- package/build/constants/b2b/enums/b2b-usage-operation.enum.js +8 -0
- package/build/constants/b2b/enums/b2b-usage-spend-component.enum.js +12 -0
- package/build/constants/b2b/enums/b2b-usage-status.enum.js +8 -0
- package/build/constants/b2b/enums/index.js +23 -0
- package/build/constants/cabinet/enums/statistics-request-type.enum.js +0 -1
- package/build/constants/index.js +2 -1
- package/build/{commands/ai-studio/canvas-tool/var-gen → constants/model-page/enums}/index.js +3 -3
- package/build/constants/model-page/enums/model-page-question-type.enum.js +13 -0
- package/build/constants/model-page/enums/model-page-sort-by.enum.js +8 -0
- package/build/constants/model-page/enums/model-page-type.enum.js +12 -0
- package/build/constants/model-page/index.js +17 -0
- package/build/constants/tool/enums/index.js +0 -1
- package/build/helpers/index.js +0 -1
- package/build/models/agents/index.js +0 -2
- package/build/models/b2b/b2b-usage-statistics.schema.js +69 -0
- package/build/models/b2b/index.js +1 -0
- package/build/models/canvas-node.schema.js +2 -2
- package/build/models/file.schema.js +1 -7
- package/build/models/index.js +1 -1
- package/build/models/model-page/index.js +22 -0
- package/build/models/model-page/model-page-public.schema.js +63 -0
- package/build/models/model-page/model-page-question-translation.schema.js +13 -0
- package/build/models/model-page/model-page-question.schema.js +13 -0
- package/build/models/model-page/model-page-technical-model.schema.js +80 -0
- package/build/models/model-page/model-page-translation.schema.js +14 -0
- package/build/models/model-page/model-page.schema.js +15 -0
- package/build/models/question.schema.js +2 -1
- package/build/models/tool-job.schema.js +0 -1
- package/build/models/tools/diagrams/diagrams-job.schema.js +0 -1
- package/build/models/tools/html-page-builder/html-page-builder-session.schema.js +0 -1
- package/build/models/tools/image-generation/image-generation-job.schema.js +0 -3
- package/build/models/tools/presentation/presentation.schema.js +0 -1
- package/build/models/tools/solving-edu-task/solving-edu-task-job.schema.js +0 -1
- package/build/models/tools/video/video-model.schema.js +0 -1
- package/build/models/tools/writer/writer-document.schema.js +0 -1
- package/commands/agents/agent-dialog/{delete-dialog.command.ts → clear-agent-dialog-history.command.ts} +5 -5
- package/commands/agents/agent-dialog/find-agent-dialogs.command.ts +0 -1
- package/commands/agents/agent-dialog/index.ts +1 -6
- package/commands/agents/agent-dialog/send-cabinet-message.command.ts +18 -17
- package/commands/agents/agent-lead/find-agent-leads.command.ts +4 -2
- package/commands/agents/agent-template/index.ts +0 -1
- package/commands/agents/agent-tool/find-agent-tools-catalog.command.ts +0 -2
- package/commands/agents/agent-tool/find-agent-tools.command.ts +0 -2
- package/commands/agents/agents/index.ts +0 -1
- package/commands/ai-studio/canvas-tool/index.ts +0 -1
- package/commands/b2b/send-text-request.command.ts +10 -1
- package/commands/b2b-compatible/anthropic-files.command.ts +29 -0
- package/commands/b2b-compatible/anthropic-messages.command.ts +244 -0
- package/commands/b2b-compatible/anthropic-models.command.ts +31 -0
- package/commands/b2b-compatible/common.schemas.ts +55 -0
- package/commands/b2b-compatible/index.ts +7 -0
- package/commands/b2b-compatible/openai-files.command.ts +37 -0
- package/commands/b2b-compatible/openai-models.command.ts +29 -0
- package/commands/b2b-compatible/openai-responses.command.ts +191 -0
- package/commands/b2b-usage-log/get-b2b-usage-statistics.command.ts +128 -0
- package/commands/b2b-usage-log/index.ts +1 -0
- package/commands/index.ts +3 -1
- package/commands/model-page/base/create-model-page.command.ts +15 -0
- package/commands/model-page/base/delete-model-page.command.ts +10 -0
- package/commands/model-page/base/find-model-page-admin.command.ts +14 -0
- package/commands/model-page/base/find-model-pages-admin.command.ts +24 -0
- package/commands/model-page/base/index.ts +5 -0
- package/commands/model-page/base/update-model-page.command.ts +69 -0
- package/commands/model-page/common.schemas.ts +64 -0
- package/commands/model-page/index.ts +5 -0
- package/commands/model-page/public/find-model-page-answer-detail.command.ts +15 -0
- package/commands/model-page/public/find-model-page-detail.command.ts +13 -0
- package/commands/model-page/public/find-model-page-hub.command.ts +20 -0
- package/commands/model-page/public/find-model-page-question-type.command.ts +14 -0
- package/commands/model-page/public/index.ts +4 -0
- package/commands/model-page/question/create-model-page-question.command.ts +18 -0
- package/commands/model-page/question/delete-model-page-question.command.ts +10 -0
- package/commands/model-page/question/find-model-page-question-admin.command.ts +14 -0
- package/commands/model-page/question/find-model-page-questions-admin.command.ts +23 -0
- package/commands/model-page/question/index.ts +5 -0
- package/commands/model-page/question/update-model-page-question.command.ts +22 -0
- package/commands/model-page/question-translation/create-model-page-question-translation.command.ts +21 -0
- package/commands/model-page/question-translation/delete-model-page-question-translation.command.ts +10 -0
- package/commands/model-page/question-translation/find-model-page-question-translation.command.ts +14 -0
- package/commands/model-page/question-translation/find-model-page-question-translations.command.ts +14 -0
- package/commands/model-page/question-translation/index.ts +5 -0
- package/commands/model-page/question-translation/update-model-page-question-translation.command.ts +20 -0
- package/commands/model-page/translation/create-model-page-translation.command.ts +22 -0
- package/commands/model-page/translation/delete-model-page-translation.command.ts +10 -0
- package/commands/model-page/translation/find-model-page-translation.command.ts +14 -0
- package/commands/model-page/translation/find-model-page-translations.command.ts +14 -0
- package/commands/model-page/translation/index.ts +5 -0
- package/commands/model-page/translation/update-model-page-translation.command.ts +21 -0
- package/commands/question/create-question.command.ts +17 -3
- package/commands/question/update-question.command.ts +14 -7
- package/commands/tools/diagrams/find-diagrams-jobs.command.ts +0 -5
- package/commands/tools/diagrams/index.ts +0 -1
- package/commands/tools/html-page-builder/find-html-page-builder-sessions.command.ts +0 -5
- package/commands/tools/html-page-builder/index.ts +0 -1
- package/commands/tools/image-editor/find-image-editor-jobs.command.ts +0 -5
- package/commands/tools/image-editor/index.ts +0 -1
- package/commands/tools/image-generation/find-image-generation-jobs.command.ts +0 -5
- package/commands/tools/image-generation/index.ts +0 -1
- package/commands/tools/interior-design/find-interior-design-jobs.command.ts +0 -5
- package/commands/tools/interior-design/index.ts +0 -1
- package/commands/tools/marketplace-card/find-marketplace-card-jobs.command.ts +0 -5
- package/commands/tools/marketplace-card/index.ts +0 -1
- package/commands/tools/music/find-music-jobs.command.ts +0 -5
- package/commands/tools/music/index.ts +0 -1
- package/commands/tools/paraphrase/find-paraphrase-jobs.command.ts +0 -5
- package/commands/tools/paraphrase/index.ts +0 -1
- package/commands/tools/presentation/find-presentations.command.ts +0 -5
- package/commands/tools/presentation/index.ts +0 -1
- package/commands/tools/solving-edu-task/find-solving-edu-task-jobs.command.ts +0 -5
- package/commands/tools/solving-edu-task/index.ts +0 -1
- package/commands/tools/spell-corrector/find-spell-corrector-jobs.command.ts +0 -5
- package/commands/tools/spell-corrector/index.ts +0 -1
- package/commands/tools/stt/find-stt-jobs.command.ts +0 -5
- package/commands/tools/stt/index.ts +0 -1
- package/commands/tools/tts/find-tts-jobs.command.ts +0 -5
- package/commands/tools/tts/index.ts +0 -1
- package/commands/tools/video/find-video-jobs.command.ts +0 -5
- package/commands/tools/video/index.ts +0 -1
- package/commands/tools/video-editor/find-video-editor-jobs.command.ts +0 -5
- package/commands/tools/video-editor/index.ts +0 -1
- package/commands/tools/writer/find-writer-documents.command.ts +0 -5
- package/commands/tools/writer/index.ts +0 -1
- package/constants/b2b/enums/b2b-debit-status.enum.ts +5 -0
- package/constants/b2b/enums/b2b-endpoint-family.enum.ts +5 -0
- package/constants/b2b/enums/b2b-statistics-granularity.enum.ts +4 -0
- package/constants/b2b/enums/b2b-statistics-period.enum.ts +9 -0
- package/constants/b2b/enums/b2b-usage-operation.enum.ts +4 -0
- package/constants/b2b/enums/b2b-usage-spend-component.enum.ts +8 -0
- package/constants/b2b/enums/b2b-usage-status.enum.ts +4 -0
- package/constants/b2b/enums/index.ts +7 -0
- package/constants/cabinet/enums/statistics-request-type.enum.ts +0 -1
- package/constants/index.ts +2 -1
- package/constants/model-page/enums/index.ts +3 -0
- package/constants/model-page/enums/model-page-question-type.enum.ts +9 -0
- package/constants/model-page/enums/model-page-sort-by.enum.ts +4 -0
- package/constants/model-page/enums/model-page-type.enum.ts +8 -0
- package/constants/model-page/index.ts +1 -0
- package/constants/tool/enums/index.ts +0 -1
- package/helpers/index.ts +0 -1
- package/models/agents/index.ts +0 -2
- package/models/b2b/b2b-usage-statistics.schema.ts +81 -0
- package/models/b2b/index.ts +1 -0
- package/models/canvas-node.schema.ts +2 -2
- package/models/file.schema.ts +0 -8
- package/models/index.ts +1 -1
- package/models/model-page/index.ts +6 -0
- package/models/model-page/model-page-public.schema.ts +94 -0
- package/models/model-page/model-page-question-translation.schema.ts +13 -0
- package/models/model-page/model-page-question.schema.ts +13 -0
- package/models/model-page/model-page-technical-model.schema.ts +109 -0
- package/models/model-page/model-page-translation.schema.ts +14 -0
- package/models/model-page/model-page.schema.ts +15 -0
- package/models/question.schema.ts +2 -1
- package/models/tool-job.schema.ts +0 -1
- package/models/tools/diagrams/diagrams-job.schema.ts +0 -1
- package/models/tools/html-page-builder/html-page-builder-session.schema.ts +0 -1
- package/models/tools/image-generation/image-generation-job.schema.ts +0 -3
- package/models/tools/presentation/presentation.schema.ts +0 -1
- package/models/tools/solving-edu-task/solving-edu-task-job.schema.ts +0 -1
- package/models/tools/video/video-model.schema.ts +0 -1
- package/models/tools/writer/writer-document.schema.ts +0 -1
- package/package.json +1 -1
- package/api/controllers/http/agents/agent-statistics.ts +0 -5
- package/api/controllers/http/canvas-var-generation.ts +0 -7
- package/api/controllers/http/photo-studio.ts +0 -21
- package/build/api/controllers/http/agents/agent-statistics.js +0 -7
- package/build/api/controllers/http/canvas-var-generation.js +0 -9
- package/build/api/controllers/http/photo-studio.js +0 -21
- package/build/commands/agents/agent-dialog/delete-dialog.command.js +0 -16
- package/build/commands/agents/agent-dialog/get-cabinet-config.command.js +0 -12
- package/build/commands/agents/agent-dialog/get-cabinet-price-preview.command.js +0 -24
- package/build/commands/agents/agent-dialog/get-dialog-context-length.command.js +0 -32
- package/build/commands/agents/agent-dialog/rename-agent-dialog.command.js +0 -17
- package/build/commands/agents/agent-dialog/stop-cabinet-stream.command.js +0 -15
- package/build/commands/agents/agent-template/get-agent-template-instructions-by-template.command.js +0 -14
- package/build/commands/agents/agents/get-agent-statistics.command.js +0 -20
- package/build/commands/ai-studio/canvas-tool/var-gen/generate-variables.command.js +0 -18
- package/build/commands/ai-studio/canvas-tool/var-gen/get-var-gen-config.command.js +0 -11
- package/build/commands/ai-studio/canvas-tool/var-gen/get-var-gen-price.command.js +0 -18
- package/build/commands/photo-studio/add-photo-studio-checkpoint.command.js +0 -17
- package/build/commands/photo-studio/clear-photo-studio-checkpoints.command.js +0 -12
- package/build/commands/photo-studio/create-photo-studio-canvas.command.js +0 -15
- package/build/commands/photo-studio/delete-photo-studio-canvas.command.js +0 -11
- package/build/commands/photo-studio/delete-photo-studio-checkpoint.command.js +0 -14
- package/build/commands/photo-studio/execute-photo-studio-action.command.js +0 -47
- package/build/commands/photo-studio/find-photo-studio-canvas-by-uuid.query.js +0 -12
- package/build/commands/photo-studio/find-photo-studio-canvases.query.js +0 -18
- package/build/commands/photo-studio/find-photo-studio-checkpoints.query.js +0 -12
- package/build/commands/photo-studio/find-photo-studio-job-by-id.query.js +0 -32
- package/build/commands/photo-studio/find-photo-studio-jobs.query.js +0 -18
- package/build/commands/photo-studio/get-photo-studio-actions.query.js +0 -11
- package/build/commands/photo-studio/index.js +0 -31
- package/build/commands/photo-studio/save-photo-studio-canvas.command.js +0 -18
- package/build/commands/photo-studio/update-photo-studio-canvas.command.js +0 -15
- package/build/commands/photo-studio/update-photo-studio-checkpoint.command.js +0 -19
- package/build/commands/tools/diagrams/update-diagrams-job-favorite.command.js +0 -17
- package/build/commands/tools/html-page-builder/update-html-page-builder-session-favorite.command.js +0 -11
- package/build/commands/tools/image-editor/update-image-editor-job-favorite.command.js +0 -17
- package/build/commands/tools/image-generation/update-image-generation-job-favorite.command.js +0 -17
- package/build/commands/tools/interior-design/update-interior-design-job-favorite.command.js +0 -17
- package/build/commands/tools/marketplace-card/update-marketplace-card-job-favorite.command.js +0 -17
- package/build/commands/tools/music/update-music-job-favorite.command.js +0 -17
- package/build/commands/tools/paraphrase/update-paraphrase-job-favorite.command.js +0 -17
- package/build/commands/tools/presentation/update-presentation-favorite.command.js +0 -11
- package/build/commands/tools/solving-edu-task/update-solving-edu-task-job-favorite.command.js +0 -17
- package/build/commands/tools/spell-corrector/update-spell-corrector-job-favorite.command.js +0 -17
- package/build/commands/tools/stt/update-stt-job-favorite.command.js +0 -17
- package/build/commands/tools/tts/update-tts-job-favorite.command.js +0 -17
- package/build/commands/tools/video/update-video-job-favorite.command.js +0 -17
- package/build/commands/tools/video-editor/update-video-editor-job-favorite.command.js +0 -17
- package/build/commands/tools/writer/update-writer-document-favorite.command.js +0 -11
- package/build/constants/photo-studio/enums/photo-studio-checkpoint-action-type.enum.js +0 -11
- package/build/constants/tool/enums/job-sort.enum.js +0 -8
- package/build/helpers/query-boolean.schema.js +0 -13
- package/build/models/agents/agent-statistics.schema.js +0 -33
- package/build/models/agents/message-attachment.schema.js +0 -21
- package/build/models/photo-studio/photo-studio-action.schema.js +0 -17
- package/build/models/photo-studio/photo-studio-checkpoint.schema.js +0 -21
- package/build/models/photo-studio/photo-studio-image-node.schema.js +0 -19
- package/build/models/photo-studio/photo-studio.schema.js +0 -15
- package/commands/agents/agent-dialog/get-cabinet-config.command.ts +0 -11
- package/commands/agents/agent-dialog/get-cabinet-price-preview.command.ts +0 -26
- package/commands/agents/agent-dialog/get-dialog-context-length.command.ts +0 -35
- package/commands/agents/agent-dialog/rename-agent-dialog.command.ts +0 -19
- package/commands/agents/agent-dialog/stop-cabinet-stream.command.ts +0 -15
- package/commands/agents/agent-template/get-agent-template-instructions-by-template.command.ts +0 -14
- package/commands/agents/agents/get-agent-statistics.command.ts +0 -28
- package/commands/ai-studio/canvas-tool/var-gen/generate-variables.command.ts +0 -20
- package/commands/ai-studio/canvas-tool/var-gen/get-var-gen-config.command.ts +0 -9
- package/commands/ai-studio/canvas-tool/var-gen/get-var-gen-price.command.ts +0 -18
- package/commands/ai-studio/canvas-tool/var-gen/index.ts +0 -3
- package/commands/photo-studio/add-photo-studio-checkpoint.command.ts +0 -23
- package/commands/photo-studio/clear-photo-studio-checkpoints.command.ts +0 -12
- package/commands/photo-studio/create-photo-studio-canvas.command.ts +0 -16
- package/commands/photo-studio/delete-photo-studio-canvas.command.ts +0 -11
- package/commands/photo-studio/delete-photo-studio-checkpoint.command.ts +0 -14
- package/commands/photo-studio/execute-photo-studio-action.command.ts +0 -49
- package/commands/photo-studio/find-photo-studio-canvas-by-uuid.query.ts +0 -12
- package/commands/photo-studio/find-photo-studio-canvases.query.ts +0 -20
- package/commands/photo-studio/find-photo-studio-checkpoints.query.ts +0 -12
- package/commands/photo-studio/find-photo-studio-job-by-id.query.ts +0 -36
- package/commands/photo-studio/find-photo-studio-jobs.query.ts +0 -20
- package/commands/photo-studio/get-photo-studio-actions.query.ts +0 -10
- package/commands/photo-studio/index.ts +0 -15
- package/commands/photo-studio/save-photo-studio-canvas.command.ts +0 -24
- package/commands/photo-studio/update-photo-studio-canvas.command.ts +0 -17
- package/commands/photo-studio/update-photo-studio-checkpoint.command.ts +0 -25
- package/commands/tools/diagrams/update-diagrams-job-favorite.command.ts +0 -19
- package/commands/tools/html-page-builder/update-html-page-builder-session-favorite.command.ts +0 -13
- package/commands/tools/image-editor/update-image-editor-job-favorite.command.ts +0 -19
- package/commands/tools/image-generation/update-image-generation-job-favorite.command.ts +0 -19
- package/commands/tools/interior-design/update-interior-design-job-favorite.command.ts +0 -19
- package/commands/tools/marketplace-card/update-marketplace-card-job-favorite.command.ts +0 -19
- package/commands/tools/music/update-music-job-favorite.command.ts +0 -19
- package/commands/tools/paraphrase/update-paraphrase-job-favorite.command.ts +0 -19
- package/commands/tools/presentation/update-presentation-favorite.command.ts +0 -13
- package/commands/tools/solving-edu-task/update-solving-edu-task-job-favorite.command.ts +0 -19
- package/commands/tools/spell-corrector/update-spell-corrector-job-favorite.command.ts +0 -19
- package/commands/tools/stt/update-stt-job-favorite.command.ts +0 -19
- package/commands/tools/tts/update-tts-job-favorite.command.ts +0 -19
- package/commands/tools/video/update-video-job-favorite.command.ts +0 -19
- package/commands/tools/video-editor/update-video-editor-job-favorite.command.ts +0 -19
- package/commands/tools/writer/update-writer-document-favorite.command.ts +0 -13
- package/constants/photo-studio/enums/index.ts +0 -1
- package/constants/photo-studio/enums/photo-studio-checkpoint-action-type.enum.ts +0 -7
- package/constants/tool/enums/job-sort.enum.ts +0 -4
- package/helpers/query-boolean.schema.ts +0 -13
- package/models/agents/agent-statistics.schema.ts +0 -38
- package/models/agents/message-attachment.schema.ts +0 -22
- package/models/photo-studio/index.ts +0 -4
- package/models/photo-studio/photo-studio-action.schema.ts +0 -18
- package/models/photo-studio/photo-studio-checkpoint.schema.ts +0 -22
- package/models/photo-studio/photo-studio-image-node.schema.ts +0 -22
- package/models/photo-studio/photo-studio.schema.ts +0 -16
- /package/build/constants/{photo-studio → b2b}/index.js +0 -0
- /package/constants/{photo-studio → b2b}/index.ts +0 -0
|
@@ -4,14 +4,6 @@ export const AGENT_DIALOG_ROUTES = {
|
|
|
4
4
|
LIST: '',
|
|
5
5
|
GET_BY_ID: (id: string) => `${id}`,
|
|
6
6
|
UPDATE_STATUS: (id: string) => `${id}/status`,
|
|
7
|
+
CLEAR_HISTORY: (id: string) => `${id}/history`,
|
|
7
8
|
ADMIN_REPLY: (id: string) => `${id}/admin-reply`,
|
|
8
|
-
RENAME: (id: string) => `${id}/title`,
|
|
9
|
-
DELETE_DIALOG: (agentId: string, dialogId: string) => `${agentId}/${dialogId}`,
|
|
10
|
-
CABINET_CONFIG: 'cabinet/config',
|
|
11
|
-
CABINET_START_DIALOG: (agentId: string) => `${agentId}/cabinet/start`,
|
|
12
|
-
CABINET_SEND_MESSAGE_STREAM: (agentId: string, dialogId: string) =>
|
|
13
|
-
`${agentId}/${dialogId}/cabinet/messages/stream`,
|
|
14
|
-
STOP_CABINET_STREAM: (agentId: string, dialogId: string, messageId: string) =>
|
|
15
|
-
`${agentId}/${dialogId}/cabinet/messages/${messageId}/stop`,
|
|
16
|
-
CABINET_PRICE_PREVIEW: (agentId: string) => `${agentId}/cabinet/price-preview`,
|
|
17
9
|
} as const;
|
|
@@ -3,7 +3,5 @@ export const AGENT_LEAD_FORM_CONTROLLER_PRIVATE = 'private/agents-lead-forms' as
|
|
|
3
3
|
export const AGENT_LEAD_FORM_ROUTES = {
|
|
4
4
|
LIST: '',
|
|
5
5
|
BY_AGENT: (agentId: string) => `by-agent/${agentId}`,
|
|
6
|
-
UPSERT: (agentId: string) => `by-agent/${agentId}`,
|
|
7
6
|
GET_BY_ID: (agentId: string, id: string) => `${agentId}/${id}`,
|
|
8
|
-
DELETE: (agentId: string, id: string) => `${agentId}/${id}`,
|
|
9
7
|
} as const;
|
|
@@ -3,13 +3,9 @@ export const AGENT_TEMPLATE_CONTROLLER_PRIVATE = 'private/agents-templates' as c
|
|
|
3
3
|
export const AGENT_TEMPLATE_ROUTES = {
|
|
4
4
|
CATALOG: 'catalog',
|
|
5
5
|
CATEGORIES: 'categories',
|
|
6
|
-
CREATE_CATEGORIES: 'categories',
|
|
7
6
|
CATEGORY: (id: string) => `categories/${id}`,
|
|
8
7
|
TEMPLATES: 'templates',
|
|
9
|
-
CREATE_TEMPLATES: 'templates',
|
|
10
8
|
TEMPLATE: (id: string) => `templates/${id}`,
|
|
11
9
|
INSTRUCTIONS: (templateId: string) => `${templateId}/instructions`,
|
|
12
|
-
CREATE_INSTRUCTIONS: (templateId: string) => `${templateId}/instructions`,
|
|
13
|
-
INSTRUCTIONS_BY_TEMPLATE: (templateId: string) => `${templateId}/instructions/by-template`,
|
|
14
10
|
INSTRUCTION: (templateId: string, id: string) => `${templateId}/instructions/${id}`,
|
|
15
11
|
} as const;
|
|
@@ -2,8 +2,7 @@ export const AGENT_TOOL_CONTROLLER_PRIVATE = 'private/agents-tools' as const;
|
|
|
2
2
|
|
|
3
3
|
export const AGENT_TOOL_ROUTES = {
|
|
4
4
|
CATALOG: 'catalog',
|
|
5
|
-
|
|
6
|
-
CONNECT_AGENT_TOOL: (agentId: string) => `${agentId}`,
|
|
5
|
+
LIST_OR_CONNECT: (agentId: string) => `${agentId}`,
|
|
7
6
|
UPDATE: (agentId: string, id: string) => `${agentId}/${id}`,
|
|
8
7
|
DISCONNECT: (agentId: string, id: string) => `${agentId}/${id}`,
|
|
9
8
|
} as const;
|
|
@@ -10,6 +10,9 @@ export const AGENT_ROUTES = {
|
|
|
10
10
|
ACTIVATE: (id: string) => `${id}/activate`,
|
|
11
11
|
STOP: (id: string) => `${id}/stop`,
|
|
12
12
|
DELETE: (id: string) => `${id}`,
|
|
13
|
+
CABINET_START_DIALOG: (agentId: string) => `${agentId}/dialogs/cabinet/start`,
|
|
14
|
+
CABINET_SEND_MESSAGE: (agentId: string, dialogId: string) =>
|
|
15
|
+
`${agentId}/dialogs/${dialogId}/cabinet/messages`,
|
|
13
16
|
} as const;
|
|
14
17
|
|
|
15
18
|
export const AGENT_PUBLIC_ROUTES = {
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export const OPENAI_COMPATIBLE_CONTROLLER = 'openai/v1' as const;
|
|
2
|
+
export const ANTHROPIC_COMPATIBLE_CONTROLLER = 'anthropic/v1' as const;
|
|
3
|
+
|
|
4
|
+
export const OPENAI_COMPATIBLE_ROUTES = {
|
|
5
|
+
RESPONSES: 'responses',
|
|
6
|
+
MODELS: 'models',
|
|
7
|
+
FILES: 'files',
|
|
8
|
+
} as const;
|
|
9
|
+
|
|
10
|
+
export const ANTHROPIC_COMPATIBLE_ROUTES = {
|
|
11
|
+
MESSAGES: 'messages',
|
|
12
|
+
MODELS: 'models',
|
|
13
|
+
FILES: 'files',
|
|
14
|
+
} as const;
|
|
@@ -9,7 +9,6 @@ export const DIAGRAMS_ROUTES = {
|
|
|
9
9
|
GET_JOB: (uuid: string) => `jobs/${uuid}`,
|
|
10
10
|
EDIT: (uuid: string) => `jobs/${uuid}/edit`,
|
|
11
11
|
UPDATE: (uuid: string) => `jobs/${uuid}`,
|
|
12
|
-
UPDATE_FAVORITE: (uuid: string) => `jobs/${uuid}/favorite`,
|
|
13
12
|
SET_REACTION: (uuid: string) => `jobs/${uuid}/reaction`,
|
|
14
13
|
DELETE: (uuid: string) => `jobs/${uuid}`,
|
|
15
14
|
DELETE_ALL: 'jobs',
|
|
@@ -8,7 +8,6 @@ export const HTML_PAGE_BUILDER_ROUTES = {
|
|
|
8
8
|
GET_SESSIONS: 'sessions',
|
|
9
9
|
GET_SESSION: (uuid: string) => `sessions/${uuid}`,
|
|
10
10
|
UPDATE: (uuid: string) => `sessions/${uuid}`,
|
|
11
|
-
UPDATE_SESSION_FAVORITE: (uuid: string) => `sessions/${uuid}/favorite`,
|
|
12
11
|
DELETE: (uuid: string) => `sessions/${uuid}`,
|
|
13
12
|
DELETE_ALL: 'sessions',
|
|
14
13
|
} as const;
|
|
@@ -7,7 +7,6 @@ export const IMAGE_EDITOR_ROUTES = {
|
|
|
7
7
|
GET_JOBS: 'jobs',
|
|
8
8
|
GET_JOB: (uuid: string) => `jobs/${uuid}`,
|
|
9
9
|
UPDATE: (uuid: string) => `jobs/${uuid}`,
|
|
10
|
-
UPDATE_FAVORITE: (uuid: string) => `jobs/${uuid}/favorite`,
|
|
11
10
|
SET_REACTION: (uuid: string) => `jobs/${uuid}/reaction`,
|
|
12
11
|
DELETE: (uuid: string) => `jobs/${uuid}`,
|
|
13
12
|
DELETE_ALL: 'jobs',
|
|
@@ -7,7 +7,6 @@ export const IMAGE_GENERATION_ROUTES = {
|
|
|
7
7
|
GET_JOBS: 'jobs',
|
|
8
8
|
GET_JOB: (uuid: string) => `jobs/${uuid}`,
|
|
9
9
|
UPDATE: (uuid: string) => `jobs/${uuid}`,
|
|
10
|
-
UPDATE_FAVORITE: (uuid: string) => `jobs/${uuid}/favorite`,
|
|
11
10
|
SET_REACTION: (uuid: string) => `jobs/${uuid}/reaction`,
|
|
12
11
|
DELETE: (uuid: string) => `jobs/${uuid}`,
|
|
13
12
|
DELETE_ALL: 'jobs',
|
|
@@ -21,6 +21,7 @@ export * from './form-submission';
|
|
|
21
21
|
export * from './key-value';
|
|
22
22
|
export * from './referral';
|
|
23
23
|
export * from './message';
|
|
24
|
+
export * from './model-page';
|
|
24
25
|
export * from './page';
|
|
25
26
|
export * from './payment';
|
|
26
27
|
export * from './presentation';
|
|
@@ -63,6 +64,8 @@ export * from './music';
|
|
|
63
64
|
export * from './order';
|
|
64
65
|
export * from './webmaster-click';
|
|
65
66
|
export * from './b2b';
|
|
67
|
+
export * from './b2b-usage-log';
|
|
68
|
+
export * from './b2b-compatible';
|
|
66
69
|
export * from './community';
|
|
67
70
|
export * from './user-profile';
|
|
68
71
|
export * from './image-generation';
|
|
@@ -75,7 +78,5 @@ export * from './spell-corrector';
|
|
|
75
78
|
export * from './tool-workspace';
|
|
76
79
|
export * from './html-page-builder';
|
|
77
80
|
export * from './palette';
|
|
78
|
-
export * from './canvas-var-generation';
|
|
79
|
-
export * from './photo-studio';
|
|
80
81
|
|
|
81
82
|
export * from './canvas-template';
|
|
@@ -7,7 +7,6 @@ export const INTERIOR_DESIGN_ROUTES = {
|
|
|
7
7
|
GET_JOBS: 'jobs',
|
|
8
8
|
GET_JOB: (uuid: string) => `jobs/${uuid}`,
|
|
9
9
|
UPDATE: (uuid: string) => `jobs/${uuid}`,
|
|
10
|
-
UPDATE_FAVORITE: (uuid: string) => `jobs/${uuid}/favorite`,
|
|
11
10
|
SET_REACTION: (uuid: string) => `jobs/${uuid}/reaction`,
|
|
12
11
|
DELETE: (uuid: string) => `jobs/${uuid}`,
|
|
13
12
|
DELETE_ALL: 'jobs',
|
|
@@ -11,6 +11,5 @@ export const MARKETPLACE_CARD_ROUTES = {
|
|
|
11
11
|
DELETE: (uuid: string) => `jobs/${uuid}`,
|
|
12
12
|
RETRY: (uuid: string) => `jobs/${uuid}/retry`,
|
|
13
13
|
UPDATE: (uuid: string) => `jobs/${uuid}`,
|
|
14
|
-
UPDATE_FAVORITE: (uuid: string) => `jobs/${uuid}/favorite`,
|
|
15
14
|
DELETE_ALL: 'jobs',
|
|
16
15
|
} as const;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export const MODEL_PAGE_CONTROLLER = 'model-pages' as const;
|
|
2
|
+
export const MODEL_PAGE_ADMIN_CONTROLLER = 'model-pages/admin' as const;
|
|
3
|
+
export const MODEL_PAGE_QUESTION_CONTROLLER = 'model-page-questions' as const;
|
|
4
|
+
export const MODEL_PAGE_QUESTION_ADMIN_CONTROLLER = 'model-page-questions/admin' as const;
|
|
5
|
+
|
|
6
|
+
export const MODEL_PAGE_ROUTES = {
|
|
7
|
+
FIND_ALL: '',
|
|
8
|
+
CREATE: '',
|
|
9
|
+
FIND_BY_SLUG: (slug: string) => `${slug}`,
|
|
10
|
+
FIND_BY_UUID: (uuid: string) => `${uuid}`,
|
|
11
|
+
PATCH: (uuid: string) => `${uuid}`,
|
|
12
|
+
DELETE: (uuid: string) => `${uuid}`,
|
|
13
|
+
CREATE_TRANSLATION: (uuid: string) => `${uuid}/translations`,
|
|
14
|
+
FIND_TRANSLATIONS: (uuid: string) => `${uuid}/translations`,
|
|
15
|
+
FIND_TRANSLATION: (uuid: string, translationUuid: string) =>
|
|
16
|
+
`${uuid}/translations/${translationUuid}`,
|
|
17
|
+
PATCH_TRANSLATION: (uuid: string, translationUuid: string) =>
|
|
18
|
+
`${uuid}/translations/${translationUuid}`,
|
|
19
|
+
DELETE_TRANSLATION: (uuid: string, translationUuid: string) =>
|
|
20
|
+
`${uuid}/translations/${translationUuid}`,
|
|
21
|
+
} as const;
|
|
22
|
+
|
|
23
|
+
export const MODEL_PAGE_QUESTION_ROUTES = {
|
|
24
|
+
FIND_BY_TYPE: (questionType: string) => `${questionType}`,
|
|
25
|
+
FIND_BY_TYPE_AND_SLUG: (questionType: string, slug: string) => `${questionType}/${slug}`,
|
|
26
|
+
FIND_ALL: '',
|
|
27
|
+
CREATE: '',
|
|
28
|
+
FIND_BY_UUID: (uuid: string) => `${uuid}`,
|
|
29
|
+
PATCH: (uuid: string) => `${uuid}`,
|
|
30
|
+
DELETE: (uuid: string) => `${uuid}`,
|
|
31
|
+
CREATE_TRANSLATION: (uuid: string) => `${uuid}/translations`,
|
|
32
|
+
FIND_TRANSLATIONS: (uuid: string) => `${uuid}/translations`,
|
|
33
|
+
FIND_TRANSLATION: (uuid: string, translationUuid: string) =>
|
|
34
|
+
`${uuid}/translations/${translationUuid}`,
|
|
35
|
+
PATCH_TRANSLATION: (uuid: string, translationUuid: string) =>
|
|
36
|
+
`${uuid}/translations/${translationUuid}`,
|
|
37
|
+
DELETE_TRANSLATION: (uuid: string, translationUuid: string) =>
|
|
38
|
+
`${uuid}/translations/${translationUuid}`,
|
|
39
|
+
} as const;
|
|
@@ -9,7 +9,6 @@ export const MUSIC_ROUTES = {
|
|
|
9
9
|
GET_JOBS: 'jobs',
|
|
10
10
|
GET_JOB: (uuid: string) => `jobs/${uuid}`,
|
|
11
11
|
UPDATE: (uuid: string) => `jobs/${uuid}`,
|
|
12
|
-
UPDATE_FAVORITE: (uuid: string) => `jobs/${uuid}/favorite`,
|
|
13
12
|
SET_REACTION: (uuid: string) => `jobs/${uuid}/reaction`,
|
|
14
13
|
DELETE: (uuid: string) => `jobs/${uuid}`,
|
|
15
14
|
DELETE_ALL: 'jobs',
|
|
@@ -7,7 +7,6 @@ export const PARAPHRASE_ROUTES = {
|
|
|
7
7
|
GET_JOBS: 'jobs',
|
|
8
8
|
GET_JOB: (uuid: string) => `jobs/${uuid}`,
|
|
9
9
|
UPDATE: (uuid: string) => `jobs/${uuid}`,
|
|
10
|
-
UPDATE_FAVORITE: (uuid: string) => `jobs/${uuid}/favorite`,
|
|
11
10
|
SET_REACTION: (uuid: string) => `jobs/${uuid}/reaction`,
|
|
12
11
|
DELETE: (uuid: string) => `jobs/${uuid}`,
|
|
13
12
|
DELETE_ALL: 'jobs',
|
|
@@ -8,7 +8,6 @@ export const PRESENTATION_ROUTES = {
|
|
|
8
8
|
FIND_ALL: '',
|
|
9
9
|
DELETE: (uuid: string) => `${uuid}`,
|
|
10
10
|
UPDATE: (uuid: string) => `${uuid}`,
|
|
11
|
-
UPDATE_PRESENTATION_FAVORITE: (uuid: string) => `${uuid}/favorite`,
|
|
12
11
|
FIND_BY_UUID_INTERNAL: (uuid: string) => `internal/${uuid}`,
|
|
13
12
|
FIND_BY_UUID: (uuid: string) => `${uuid}`,
|
|
14
13
|
FIND_PRESENTATION_OUTLINE: (uuid: string) => `${uuid}/outline`,
|
|
@@ -7,7 +7,6 @@ export const SOLVING_EDU_TASK_ROUTES = {
|
|
|
7
7
|
GET_JOBS: 'jobs',
|
|
8
8
|
GET_JOB: (uuid: string) => `jobs/${uuid}`,
|
|
9
9
|
UPDATE: (uuid: string) => `jobs/${uuid}`,
|
|
10
|
-
UPDATE_FAVORITE: (uuid: string) => `jobs/${uuid}/favorite`,
|
|
11
10
|
SET_REACTION: (uuid: string) => `jobs/${uuid}/reaction`,
|
|
12
11
|
DELETE: (uuid: string) => `jobs/${uuid}`,
|
|
13
12
|
DELETE_ALL: 'jobs',
|
|
@@ -7,7 +7,6 @@ export const SPELL_CORRECTOR_ROUTES = {
|
|
|
7
7
|
GET_JOBS: 'jobs',
|
|
8
8
|
GET_JOB: (uuid: string) => `jobs/${uuid}`,
|
|
9
9
|
UPDATE: (uuid: string) => `jobs/${uuid}`,
|
|
10
|
-
UPDATE_FAVORITE: (uuid: string) => `jobs/${uuid}/favorite`,
|
|
11
10
|
SET_REACTION: (uuid: string) => `jobs/${uuid}/reaction`,
|
|
12
11
|
DELETE: (uuid: string) => `jobs/${uuid}`,
|
|
13
12
|
DELETE_ALL: 'jobs',
|
|
@@ -8,7 +8,6 @@ export const STT_ROUTES = {
|
|
|
8
8
|
GET_JOB: (uuid: string) => `jobs/${uuid}`,
|
|
9
9
|
SET_REACTION: (uuid: string) => `jobs/${uuid}/reaction`,
|
|
10
10
|
UPDATE: (uuid: string) => `jobs/${uuid}`,
|
|
11
|
-
UPDATE_FAVORITE: (uuid: string) => `jobs/${uuid}/favorite`,
|
|
12
11
|
DELETE: (uuid: string) => `jobs/${uuid}`,
|
|
13
12
|
DELETE_ALL: 'jobs',
|
|
14
13
|
RETRY: (uuid: string) => `jobs/${uuid}/retry`,
|
|
@@ -7,7 +7,6 @@ export const TTS_ROUTES = {
|
|
|
7
7
|
GET_JOBS: 'jobs',
|
|
8
8
|
GET_JOB: (uuid: string) => `jobs/${uuid}`,
|
|
9
9
|
UPDATE: (uuid: string) => `jobs/${uuid}`,
|
|
10
|
-
UPDATE_FAVORITE: (uuid: string) => `jobs/${uuid}/favorite`,
|
|
11
10
|
SET_REACTION: (uuid: string) => `jobs/${uuid}/reaction`,
|
|
12
11
|
DELETE: (uuid: string) => `jobs/${uuid}`,
|
|
13
12
|
DELETE_ALL: 'jobs',
|
|
@@ -7,7 +7,6 @@ export const VIDEO_EDITOR_ROUTES = {
|
|
|
7
7
|
GET_JOBS: 'jobs',
|
|
8
8
|
GET_JOB: (uuid: string) => `jobs/${uuid}`,
|
|
9
9
|
UPDATE: (uuid: string) => `jobs/${uuid}`,
|
|
10
|
-
UPDATE_FAVORITE: (uuid: string) => `jobs/${uuid}/favorite`,
|
|
11
10
|
SET_REACTION: (uuid: string) => `jobs/${uuid}/reaction`,
|
|
12
11
|
DELETE: (uuid: string) => `jobs/${uuid}`,
|
|
13
12
|
DELETE_ALL: 'jobs',
|
|
@@ -7,7 +7,6 @@ export const VIDEO_ROUTES = {
|
|
|
7
7
|
GET_JOBS: 'jobs',
|
|
8
8
|
GET_JOB: (uuid: string) => `jobs/${uuid}`,
|
|
9
9
|
UPDATE: (uuid: string) => `jobs/${uuid}`,
|
|
10
|
-
UPDATE_FAVORITE: (uuid: string) => `jobs/${uuid}/favorite`,
|
|
11
10
|
SET_REACTION: (uuid: string) => `jobs/${uuid}/reaction`,
|
|
12
11
|
DELETE: (uuid: string) => `jobs/${uuid}`,
|
|
13
12
|
DELETE_ALL: 'jobs',
|
|
@@ -14,7 +14,6 @@ export const WRITER_ROUTES = {
|
|
|
14
14
|
GENERATE_CONTENTS: (uuid: string) => `documents/${uuid}/generate`,
|
|
15
15
|
UPDATE_OUTLINE: (uuid: string) => `documents/${uuid}/outline`,
|
|
16
16
|
UPDATE_TITLE_PAGE: (uuid: string) => `documents/${uuid}/title-page`,
|
|
17
|
-
UPDATE_FAVORITE: (uuid: string) => `documents/${uuid}/favorite`,
|
|
18
17
|
TOGGLE_TITLE_PAGE: (uuid: string) => `documents/${uuid}/title-page/toggle`,
|
|
19
18
|
DELETE_DOCUMENT: (uuid: string) => `documents/${uuid}`,
|
|
20
19
|
UPDATE_CONTENTS: (uuid: string) => `documents/${uuid}/contents`,
|