@purpleschool/gptbot 0.14.5-stage-2 → 0.14.7-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 +9 -1
- package/api/controllers/http/agents/agent-document.ts +1 -0
- package/api/controllers/http/agents/agent-lead-form.ts +2 -0
- package/api/controllers/http/agents/agent-lead.ts +1 -0
- package/api/controllers/http/agents/agent-statistics.ts +5 -0
- package/api/controllers/http/agents/agent-template.ts +4 -0
- package/api/controllers/http/agents/agent-tool.ts +2 -1
- package/api/controllers/http/agents/agent.ts +0 -3
- package/api/controllers/http/agents/index.ts +1 -0
- package/api/controllers/http/canvas-var-generation.ts +7 -0
- package/api/controllers/http/diagrams.ts +1 -0
- package/api/controllers/http/html-page-builder.ts +1 -0
- package/api/controllers/http/image-editor.ts +1 -0
- package/api/controllers/http/image-generation.ts +1 -0
- package/api/controllers/http/index.ts +2 -0
- package/api/controllers/http/interior-design.ts +1 -0
- package/api/controllers/http/marketplace-card.ts +1 -0
- package/api/controllers/http/music.ts +1 -0
- package/api/controllers/http/paraphrase.ts +1 -0
- package/api/controllers/http/photo-studio.ts +21 -0
- package/api/controllers/http/presentation.ts +1 -0
- package/api/controllers/http/solving-edu-task.ts +1 -0
- package/api/controllers/http/spell-corrector.ts +1 -0
- package/api/controllers/http/stt.ts +1 -0
- package/api/controllers/http/tts.ts +1 -0
- package/api/controllers/http/video-editor.ts +1 -0
- package/api/controllers/http/video.ts +1 -0
- package/api/controllers/http/writer.ts +1 -0
- package/api/routes.ts +127 -8
- package/build/api/controllers/http/agents/agent-dialog.js +7 -1
- package/build/api/controllers/http/agents/agent-document.js +1 -0
- package/build/api/controllers/http/agents/agent-lead-form.js +2 -0
- package/build/api/controllers/http/agents/agent-lead.js +1 -0
- package/build/api/controllers/http/agents/agent-statistics.js +7 -0
- package/build/api/controllers/http/agents/agent-template.js +4 -0
- package/build/api/controllers/http/agents/agent-tool.js +2 -1
- package/build/api/controllers/http/agents/agent.js +0 -2
- package/build/api/controllers/http/agents/index.js +1 -0
- package/build/api/controllers/http/canvas-var-generation.js +9 -0
- package/build/api/controllers/http/diagrams.js +1 -0
- package/build/api/controllers/http/html-page-builder.js +1 -0
- package/build/api/controllers/http/image-editor.js +1 -0
- package/build/api/controllers/http/image-generation.js +1 -0
- package/build/api/controllers/http/index.js +2 -0
- package/build/api/controllers/http/interior-design.js +1 -0
- package/build/api/controllers/http/marketplace-card.js +1 -0
- package/build/api/controllers/http/music.js +1 -0
- package/build/api/controllers/http/paraphrase.js +1 -0
- package/build/api/controllers/http/photo-studio.js +21 -0
- package/build/api/controllers/http/presentation.js +1 -0
- package/build/api/controllers/http/solving-edu-task.js +1 -0
- package/build/api/controllers/http/spell-corrector.js +1 -0
- package/build/api/controllers/http/stt.js +1 -0
- package/build/api/controllers/http/tts.js +1 -0
- package/build/api/controllers/http/video-editor.js +1 -0
- package/build/api/controllers/http/video.js +1 -0
- package/build/api/controllers/http/writer.js +1 -0
- package/build/api/routes.js +69 -4
- package/build/commands/agents/agent-dialog/delete-dialog.command.js +16 -0
- package/build/commands/agents/agent-dialog/find-agent-dialogs.command.js +1 -0
- package/build/commands/agents/agent-dialog/get-cabinet-config.command.js +12 -0
- package/build/commands/agents/agent-dialog/get-cabinet-price-preview.command.js +24 -0
- package/build/commands/agents/agent-dialog/get-dialog-context-length.command.js +32 -0
- package/build/commands/agents/agent-dialog/index.js +6 -1
- package/build/commands/agents/agent-dialog/rename-agent-dialog.command.js +17 -0
- package/build/commands/agents/agent-dialog/send-cabinet-message.command.js +4 -11
- package/build/commands/agents/agent-dialog/stop-cabinet-stream.command.js +15 -0
- package/build/commands/agents/agent-document/add-document-from-url.command.js +22 -0
- package/build/commands/agents/agent-document/index.js +1 -0
- package/build/commands/agents/agent-lead/find-agent-leads.command.js +2 -4
- package/build/commands/agents/agent-template/get-agent-template-instructions-by-template.command.js +14 -0
- package/build/commands/agents/agent-template/index.js +1 -0
- package/build/commands/agents/agent-tool/find-agent-tools-catalog.command.js +2 -0
- package/build/commands/agents/agent-tool/find-agent-tools.command.js +2 -0
- package/build/commands/agents/agents/create-agent.command.js +2 -0
- package/build/commands/agents/agents/get-agent-statistics.command.js +20 -0
- package/build/commands/agents/agents/index.js +1 -0
- package/build/commands/agents/agents/update-agent.command.js +1 -1
- package/build/commands/ai-studio/canvas-tool/index.js +1 -0
- package/build/commands/ai-studio/canvas-tool/var-gen/generate-variables.command.js +18 -0
- package/build/commands/ai-studio/canvas-tool/var-gen/get-var-gen-config.command.js +11 -0
- package/build/commands/ai-studio/canvas-tool/var-gen/get-var-gen-price.command.js +18 -0
- package/build/commands/ai-studio/canvas-tool/var-gen/index.js +19 -0
- package/build/commands/index.js +1 -0
- package/build/commands/photo-studio/add-photo-studio-checkpoint.command.js +17 -0
- package/build/commands/photo-studio/clear-photo-studio-checkpoints.command.js +12 -0
- package/build/commands/photo-studio/create-photo-studio-canvas.command.js +15 -0
- package/build/commands/photo-studio/delete-photo-studio-canvas.command.js +11 -0
- package/build/commands/photo-studio/delete-photo-studio-checkpoint.command.js +14 -0
- package/build/commands/photo-studio/execute-photo-studio-action.command.js +47 -0
- package/build/commands/photo-studio/find-photo-studio-canvas-by-uuid.query.js +12 -0
- package/build/commands/photo-studio/find-photo-studio-canvases.query.js +18 -0
- package/build/commands/photo-studio/find-photo-studio-checkpoints.query.js +12 -0
- package/build/commands/photo-studio/find-photo-studio-job-by-id.query.js +32 -0
- package/build/commands/photo-studio/find-photo-studio-jobs.query.js +18 -0
- package/build/commands/photo-studio/get-photo-studio-actions.query.js +11 -0
- package/build/commands/photo-studio/index.js +31 -0
- package/build/commands/photo-studio/save-photo-studio-canvas.command.js +18 -0
- package/build/commands/photo-studio/update-photo-studio-canvas.command.js +15 -0
- package/build/commands/photo-studio/update-photo-studio-checkpoint.command.js +19 -0
- package/build/commands/tools/diagrams/find-diagrams-jobs.command.js +6 -0
- package/build/commands/tools/diagrams/index.js +1 -0
- package/build/commands/tools/diagrams/update-diagrams-job-favorite.command.js +17 -0
- package/build/commands/tools/html-page-builder/find-html-page-builder-sessions.command.js +6 -0
- package/build/commands/tools/html-page-builder/index.js +1 -0
- package/build/commands/tools/html-page-builder/update-html-page-builder-session-favorite.command.js +11 -0
- package/build/commands/tools/image-editor/find-image-editor-jobs.command.js +6 -0
- package/build/commands/tools/image-editor/index.js +1 -0
- package/build/commands/tools/image-editor/update-image-editor-job-favorite.command.js +17 -0
- package/build/commands/tools/image-generation/find-image-generation-jobs.command.js +6 -0
- package/build/commands/tools/image-generation/image-generation.command.js +2 -1
- package/build/commands/tools/image-generation/index.js +1 -0
- package/build/commands/tools/image-generation/update-image-generation-job-favorite.command.js +17 -0
- package/build/commands/tools/interior-design/find-interior-design-jobs.command.js +6 -0
- package/build/commands/tools/interior-design/index.js +1 -0
- package/build/commands/tools/interior-design/update-interior-design-job-favorite.command.js +17 -0
- package/build/commands/tools/marketplace-card/find-marketplace-card-jobs.command.js +6 -0
- package/build/commands/tools/marketplace-card/index.js +1 -0
- package/build/commands/tools/marketplace-card/update-marketplace-card-job-favorite.command.js +17 -0
- package/build/commands/tools/music/find-music-jobs.command.js +6 -0
- package/build/commands/tools/music/index.js +1 -0
- package/build/commands/tools/music/update-music-job-favorite.command.js +17 -0
- package/build/commands/tools/paraphrase/find-paraphrase-jobs.command.js +6 -0
- package/build/commands/tools/paraphrase/index.js +1 -0
- package/build/commands/tools/paraphrase/update-paraphrase-job-favorite.command.js +17 -0
- package/build/commands/tools/presentation/find-presentations.command.js +6 -0
- package/build/commands/tools/presentation/index.js +1 -0
- package/build/commands/tools/presentation/update-presentation-favorite.command.js +11 -0
- package/build/commands/tools/solving-edu-task/find-solving-edu-task-jobs.command.js +6 -0
- package/build/commands/tools/solving-edu-task/index.js +1 -0
- package/build/commands/tools/solving-edu-task/update-solving-edu-task-job-favorite.command.js +17 -0
- package/build/commands/tools/spell-corrector/find-spell-corrector-jobs.command.js +6 -0
- package/build/commands/tools/spell-corrector/index.js +1 -0
- package/build/commands/tools/spell-corrector/update-spell-corrector-job-favorite.command.js +17 -0
- package/build/commands/tools/stt/find-stt-jobs.command.js +6 -0
- package/build/commands/tools/stt/index.js +1 -0
- package/build/commands/tools/stt/update-stt-job-favorite.command.js +17 -0
- package/build/commands/tools/tts/find-tts-jobs.command.js +6 -0
- package/build/commands/tools/tts/index.js +1 -0
- package/build/commands/tools/tts/update-tts-job-favorite.command.js +17 -0
- package/build/commands/tools/video/find-video-jobs.command.js +6 -0
- package/build/commands/tools/video/index.js +1 -0
- package/build/commands/tools/video/update-video-job-favorite.command.js +17 -0
- package/build/commands/tools/video/video.command.js +1 -1
- package/build/commands/tools/video-editor/find-video-editor-jobs.command.js +6 -0
- package/build/commands/tools/video-editor/index.js +1 -0
- package/build/commands/tools/video-editor/update-video-editor-job-favorite.command.js +17 -0
- package/build/commands/tools/writer/find-writer-documents.command.js +6 -0
- package/build/commands/tools/writer/index.js +1 -0
- package/build/commands/tools/writer/update-writer-document-favorite.command.js +11 -0
- package/build/constants/agents/enums/index.js +1 -0
- package/build/constants/agents/enums/url-ingestion-strategy.enum.js +10 -0
- package/build/constants/cabinet/enums/statistics-request-type.enum.js +1 -0
- package/build/constants/index.js +1 -0
- package/build/constants/photo-studio/enums/index.js +17 -0
- package/build/constants/photo-studio/enums/photo-studio-checkpoint-action-type.enum.js +11 -0
- package/build/constants/photo-studio/index.js +17 -0
- package/build/constants/tool/enums/index.js +1 -0
- package/build/constants/tool/enums/job-sort.enum.js +8 -0
- package/build/helpers/index.js +1 -0
- package/build/helpers/query-boolean.schema.js +13 -0
- package/build/models/agents/agent-document.schema.js +1 -0
- package/build/models/agents/agent-statistics.schema.js +33 -0
- package/build/models/agents/channel-connection-instruction.schema.js +23 -0
- package/build/models/agents/channel.schema.js +2 -1
- package/build/models/agents/index.js +3 -0
- package/build/models/agents/message-attachment.schema.js +21 -0
- package/build/models/canvas-node.schema.js +2 -2
- package/build/models/file.schema.js +7 -1
- package/build/models/index.js +1 -0
- package/build/models/model-page/model-page-technical-model.schema.js +1 -0
- package/build/models/photo-studio/index.js +20 -0
- package/build/models/photo-studio/photo-studio-action.schema.js +17 -0
- package/build/models/photo-studio/photo-studio-checkpoint.schema.js +21 -0
- package/build/models/photo-studio/photo-studio-image-node.schema.js +19 -0
- package/build/models/photo-studio/photo-studio.schema.js +15 -0
- package/build/models/tool-job.schema.js +1 -0
- package/build/models/tools/diagrams/diagrams-job.schema.js +1 -0
- package/build/models/tools/html-page-builder/html-page-builder-session.schema.js +1 -0
- package/build/models/tools/image-generation/image-generation-job.schema.js +4 -0
- package/build/models/tools/presentation/presentation.schema.js +1 -0
- package/build/models/tools/solving-edu-task/solving-edu-task-job.schema.js +1 -0
- package/build/models/tools/video/video-job.schema.js +1 -0
- package/build/models/tools/video/video-model.schema.js +2 -0
- package/build/models/tools/video-editor/video-editor-job.schema.js +1 -0
- package/build/models/tools/writer/writer-document.schema.js +1 -0
- package/commands/agents/agent-dialog/{clear-agent-dialog-history.command.ts → delete-dialog.command.ts} +5 -5
- package/commands/agents/agent-dialog/find-agent-dialogs.command.ts +1 -0
- package/commands/agents/agent-dialog/get-cabinet-config.command.ts +11 -0
- package/commands/agents/agent-dialog/get-cabinet-price-preview.command.ts +26 -0
- package/commands/agents/agent-dialog/get-dialog-context-length.command.ts +35 -0
- package/commands/agents/agent-dialog/index.ts +6 -1
- package/commands/agents/agent-dialog/rename-agent-dialog.command.ts +19 -0
- package/commands/agents/agent-dialog/send-cabinet-message.command.ts +17 -18
- package/commands/agents/agent-dialog/stop-cabinet-stream.command.ts +15 -0
- package/commands/agents/agent-document/add-document-from-url.command.ts +26 -0
- package/commands/agents/agent-document/index.ts +1 -0
- package/commands/agents/agent-lead/find-agent-leads.command.ts +2 -4
- package/commands/agents/agent-template/get-agent-template-instructions-by-template.command.ts +14 -0
- package/commands/agents/agent-template/index.ts +1 -0
- package/commands/agents/agent-tool/find-agent-tools-catalog.command.ts +2 -0
- package/commands/agents/agent-tool/find-agent-tools.command.ts +2 -0
- package/commands/agents/agents/create-agent.command.ts +2 -0
- package/commands/agents/agents/get-agent-statistics.command.ts +28 -0
- package/commands/agents/agents/index.ts +1 -0
- package/commands/agents/agents/update-agent.command.ts +1 -1
- package/commands/ai-studio/canvas-tool/index.ts +1 -0
- package/commands/ai-studio/canvas-tool/var-gen/generate-variables.command.ts +20 -0
- package/commands/ai-studio/canvas-tool/var-gen/get-var-gen-config.command.ts +9 -0
- package/commands/ai-studio/canvas-tool/var-gen/get-var-gen-price.command.ts +18 -0
- package/commands/ai-studio/canvas-tool/var-gen/index.ts +3 -0
- package/commands/index.ts +1 -0
- package/commands/photo-studio/add-photo-studio-checkpoint.command.ts +23 -0
- package/commands/photo-studio/clear-photo-studio-checkpoints.command.ts +12 -0
- package/commands/photo-studio/create-photo-studio-canvas.command.ts +16 -0
- package/commands/photo-studio/delete-photo-studio-canvas.command.ts +11 -0
- package/commands/photo-studio/delete-photo-studio-checkpoint.command.ts +14 -0
- package/commands/photo-studio/execute-photo-studio-action.command.ts +49 -0
- package/commands/photo-studio/find-photo-studio-canvas-by-uuid.query.ts +12 -0
- package/commands/photo-studio/find-photo-studio-canvases.query.ts +20 -0
- package/commands/photo-studio/find-photo-studio-checkpoints.query.ts +12 -0
- package/commands/photo-studio/find-photo-studio-job-by-id.query.ts +36 -0
- package/commands/photo-studio/find-photo-studio-jobs.query.ts +20 -0
- package/commands/photo-studio/get-photo-studio-actions.query.ts +10 -0
- package/commands/photo-studio/index.ts +15 -0
- package/commands/photo-studio/save-photo-studio-canvas.command.ts +24 -0
- package/commands/photo-studio/update-photo-studio-canvas.command.ts +17 -0
- package/commands/photo-studio/update-photo-studio-checkpoint.command.ts +25 -0
- package/commands/tools/diagrams/find-diagrams-jobs.command.ts +6 -0
- package/commands/tools/diagrams/index.ts +1 -0
- package/commands/tools/diagrams/update-diagrams-job-favorite.command.ts +19 -0
- package/commands/tools/html-page-builder/find-html-page-builder-sessions.command.ts +6 -0
- package/commands/tools/html-page-builder/index.ts +1 -0
- package/commands/tools/html-page-builder/update-html-page-builder-session-favorite.command.ts +13 -0
- package/commands/tools/image-editor/find-image-editor-jobs.command.ts +6 -0
- package/commands/tools/image-editor/index.ts +1 -0
- package/commands/tools/image-editor/update-image-editor-job-favorite.command.ts +19 -0
- package/commands/tools/image-generation/find-image-generation-jobs.command.ts +6 -0
- package/commands/tools/image-generation/image-generation.command.ts +2 -1
- package/commands/tools/image-generation/index.ts +1 -0
- package/commands/tools/image-generation/update-image-generation-job-favorite.command.ts +19 -0
- package/commands/tools/interior-design/find-interior-design-jobs.command.ts +6 -0
- package/commands/tools/interior-design/index.ts +1 -0
- package/commands/tools/interior-design/update-interior-design-job-favorite.command.ts +19 -0
- package/commands/tools/marketplace-card/find-marketplace-card-jobs.command.ts +6 -0
- package/commands/tools/marketplace-card/index.ts +1 -0
- package/commands/tools/marketplace-card/update-marketplace-card-job-favorite.command.ts +19 -0
- package/commands/tools/music/find-music-jobs.command.ts +6 -0
- package/commands/tools/music/index.ts +1 -0
- package/commands/tools/music/update-music-job-favorite.command.ts +19 -0
- package/commands/tools/paraphrase/find-paraphrase-jobs.command.ts +6 -0
- package/commands/tools/paraphrase/index.ts +1 -0
- package/commands/tools/paraphrase/update-paraphrase-job-favorite.command.ts +19 -0
- package/commands/tools/presentation/find-presentations.command.ts +6 -0
- package/commands/tools/presentation/index.ts +1 -0
- package/commands/tools/presentation/update-presentation-favorite.command.ts +13 -0
- package/commands/tools/solving-edu-task/find-solving-edu-task-jobs.command.ts +6 -0
- package/commands/tools/solving-edu-task/index.ts +1 -0
- package/commands/tools/solving-edu-task/update-solving-edu-task-job-favorite.command.ts +19 -0
- package/commands/tools/spell-corrector/find-spell-corrector-jobs.command.ts +6 -0
- package/commands/tools/spell-corrector/index.ts +1 -0
- package/commands/tools/spell-corrector/update-spell-corrector-job-favorite.command.ts +19 -0
- package/commands/tools/stt/find-stt-jobs.command.ts +6 -0
- package/commands/tools/stt/index.ts +1 -0
- package/commands/tools/stt/update-stt-job-favorite.command.ts +19 -0
- package/commands/tools/tts/find-tts-jobs.command.ts +6 -0
- package/commands/tools/tts/index.ts +1 -0
- package/commands/tools/tts/update-tts-job-favorite.command.ts +19 -0
- package/commands/tools/video/find-video-jobs.command.ts +6 -0
- package/commands/tools/video/index.ts +1 -0
- package/commands/tools/video/update-video-job-favorite.command.ts +19 -0
- package/commands/tools/video/video.command.ts +1 -1
- package/commands/tools/video-editor/find-video-editor-jobs.command.ts +6 -0
- package/commands/tools/video-editor/index.ts +1 -0
- package/commands/tools/video-editor/update-video-editor-job-favorite.command.ts +19 -0
- package/commands/tools/writer/find-writer-documents.command.ts +6 -0
- package/commands/tools/writer/index.ts +1 -0
- package/commands/tools/writer/update-writer-document-favorite.command.ts +13 -0
- package/constants/agents/enums/index.ts +1 -0
- package/constants/agents/enums/url-ingestion-strategy.enum.ts +6 -0
- package/constants/cabinet/enums/statistics-request-type.enum.ts +1 -0
- package/constants/index.ts +1 -0
- package/constants/photo-studio/enums/index.ts +1 -0
- package/constants/photo-studio/enums/photo-studio-checkpoint-action-type.enum.ts +7 -0
- package/constants/photo-studio/index.ts +1 -0
- package/constants/tool/enums/index.ts +1 -0
- package/constants/tool/enums/job-sort.enum.ts +4 -0
- package/helpers/index.ts +1 -0
- package/helpers/query-boolean.schema.ts +13 -0
- package/models/agents/agent-document.schema.ts +1 -0
- package/models/agents/agent-statistics.schema.ts +38 -0
- package/models/agents/channel-connection-instruction.schema.ts +36 -0
- package/models/agents/channel.schema.ts +2 -1
- package/models/agents/index.ts +3 -0
- package/models/agents/message-attachment.schema.ts +22 -0
- package/models/canvas-node.schema.ts +2 -2
- package/models/file.schema.ts +8 -0
- package/models/index.ts +1 -0
- package/models/model-page/model-page-technical-model.schema.ts +1 -0
- package/models/photo-studio/index.ts +4 -0
- package/models/photo-studio/photo-studio-action.schema.ts +18 -0
- package/models/photo-studio/photo-studio-checkpoint.schema.ts +22 -0
- package/models/photo-studio/photo-studio-image-node.schema.ts +22 -0
- package/models/photo-studio/photo-studio.schema.ts +16 -0
- package/models/tool-job.schema.ts +1 -0
- package/models/tools/diagrams/diagrams-job.schema.ts +1 -0
- package/models/tools/html-page-builder/html-page-builder-session.schema.ts +1 -0
- package/models/tools/image-generation/image-generation-job.schema.ts +4 -0
- package/models/tools/presentation/presentation.schema.ts +1 -0
- package/models/tools/solving-edu-task/solving-edu-task-job.schema.ts +1 -0
- package/models/tools/video/video-job.schema.ts +1 -0
- package/models/tools/video/video-model.schema.ts +2 -0
- package/models/tools/video-editor/video-editor-job.schema.ts +1 -0
- package/models/tools/writer/writer-document.schema.ts +1 -0
- package/package.json +1 -1
- package/build/commands/agents/agent-dialog/clear-agent-dialog-history.command.js +0 -14
|
@@ -4,6 +4,14 @@ 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`,
|
|
8
7
|
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`,
|
|
9
17
|
} as const;
|
|
@@ -5,4 +5,5 @@ export const AGENT_DOCUMENT_ROUTES = {
|
|
|
5
5
|
GET_BY_ID: (agentId: string, documentId: string) => `${agentId}/${documentId}`,
|
|
6
6
|
DELETE: (agentId: string, documentId: string) => `${agentId}/${documentId}`,
|
|
7
7
|
UPLOAD: (agentId: string) => `${agentId}/upload`,
|
|
8
|
+
ADD_FROM_URL: (agentId: string) => `${agentId}/add-from-url`,
|
|
8
9
|
} as const;
|
|
@@ -3,5 +3,7 @@ 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}`,
|
|
6
7
|
GET_BY_ID: (agentId: string, id: string) => `${agentId}/${id}`,
|
|
8
|
+
DELETE: (agentId: string, id: string) => `${agentId}/${id}`,
|
|
7
9
|
} as const;
|
|
@@ -3,9 +3,13 @@ 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',
|
|
6
7
|
CATEGORY: (id: string) => `categories/${id}`,
|
|
7
8
|
TEMPLATES: 'templates',
|
|
9
|
+
CREATE_TEMPLATES: 'templates',
|
|
8
10
|
TEMPLATE: (id: string) => `templates/${id}`,
|
|
9
11
|
INSTRUCTIONS: (templateId: string) => `${templateId}/instructions`,
|
|
12
|
+
CREATE_INSTRUCTIONS: (templateId: string) => `${templateId}/instructions`,
|
|
13
|
+
INSTRUCTIONS_BY_TEMPLATE: (templateId: string) => `${templateId}/instructions/by-template`,
|
|
10
14
|
INSTRUCTION: (templateId: string, id: string) => `${templateId}/instructions/${id}`,
|
|
11
15
|
} as const;
|
|
@@ -2,7 +2,8 @@ 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
|
-
|
|
5
|
+
LIST_AGENT_TOOLS: (agentId: string) => `${agentId}`,
|
|
6
|
+
CONNECT_AGENT_TOOL: (agentId: string) => `${agentId}`,
|
|
6
7
|
UPDATE: (agentId: string, id: string) => `${agentId}/${id}`,
|
|
7
8
|
DISCONNECT: (agentId: string, id: string) => `${agentId}/${id}`,
|
|
8
9
|
} as const;
|
|
@@ -10,9 +10,6 @@ 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`,
|
|
16
13
|
} as const;
|
|
17
14
|
|
|
18
15
|
export const AGENT_PUBLIC_ROUTES = {
|
|
@@ -9,6 +9,7 @@ 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`,
|
|
12
13
|
SET_REACTION: (uuid: string) => `jobs/${uuid}/reaction`,
|
|
13
14
|
DELETE: (uuid: string) => `jobs/${uuid}`,
|
|
14
15
|
DELETE_ALL: 'jobs',
|
|
@@ -8,6 +8,7 @@ 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`,
|
|
11
12
|
DELETE: (uuid: string) => `sessions/${uuid}`,
|
|
12
13
|
DELETE_ALL: 'sessions',
|
|
13
14
|
} as const;
|
|
@@ -7,6 +7,7 @@ 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`,
|
|
10
11
|
SET_REACTION: (uuid: string) => `jobs/${uuid}/reaction`,
|
|
11
12
|
DELETE: (uuid: string) => `jobs/${uuid}`,
|
|
12
13
|
DELETE_ALL: 'jobs',
|
|
@@ -7,6 +7,7 @@ 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`,
|
|
10
11
|
SET_REACTION: (uuid: string) => `jobs/${uuid}/reaction`,
|
|
11
12
|
DELETE: (uuid: string) => `jobs/${uuid}`,
|
|
12
13
|
DELETE_ALL: 'jobs',
|
|
@@ -7,6 +7,7 @@ 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`,
|
|
10
11
|
SET_REACTION: (uuid: string) => `jobs/${uuid}/reaction`,
|
|
11
12
|
DELETE: (uuid: string) => `jobs/${uuid}`,
|
|
12
13
|
DELETE_ALL: 'jobs',
|
|
@@ -11,5 +11,6 @@ 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`,
|
|
14
15
|
DELETE_ALL: 'jobs',
|
|
15
16
|
} as const;
|
|
@@ -9,6 +9,7 @@ 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`,
|
|
12
13
|
SET_REACTION: (uuid: string) => `jobs/${uuid}/reaction`,
|
|
13
14
|
DELETE: (uuid: string) => `jobs/${uuid}`,
|
|
14
15
|
DELETE_ALL: 'jobs',
|
|
@@ -7,6 +7,7 @@ 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`,
|
|
10
11
|
SET_REACTION: (uuid: string) => `jobs/${uuid}/reaction`,
|
|
11
12
|
DELETE: (uuid: string) => `jobs/${uuid}`,
|
|
12
13
|
DELETE_ALL: 'jobs',
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export const PHOTO_STUDIO_PRIVATE_CONTROLLER = 'private/photo-studio' as const;
|
|
2
|
+
|
|
3
|
+
export const PHOTO_STUDIO_ROUTES = {
|
|
4
|
+
ACTIONS: 'actions',
|
|
5
|
+
EXECUTE: (canvasId: string) => `canvases/${canvasId}/execute`,
|
|
6
|
+
CREATE_CANVAS: 'canvases',
|
|
7
|
+
GET_CANVASES: 'canvases',
|
|
8
|
+
GET_CANVAS: (uuid: string) => `canvases/${uuid}`,
|
|
9
|
+
GET_JOBS: (canvasId: string) => `canvases/${canvasId}/jobs`,
|
|
10
|
+
GET_JOB: (canvasId: string, jobId: string) => `canvases/${canvasId}/jobs/${jobId}`,
|
|
11
|
+
SAVE_CANVAS: (uuid: string) => `canvases/${uuid}/save`,
|
|
12
|
+
UPDATE_CANVAS: (uuid: string) => `canvases/${uuid}`,
|
|
13
|
+
DELETE_CANVAS: (uuid: string) => `canvases/${uuid}`,
|
|
14
|
+
GET_CHECKPOINTS: (canvasId: string) => `canvases/${canvasId}/checkpoints`,
|
|
15
|
+
ADD_CHECKPOINT: (canvasId: string) => `canvases/${canvasId}/checkpoints`,
|
|
16
|
+
UPDATE_CHECKPOINT: (canvasId: string, checkpointId: string) =>
|
|
17
|
+
`canvases/${canvasId}/checkpoints/${checkpointId}`,
|
|
18
|
+
DELETE_CHECKPOINT: (canvasId: string, checkpointId: string) =>
|
|
19
|
+
`canvases/${canvasId}/checkpoints/${checkpointId}`,
|
|
20
|
+
CLEAR_CHECKPOINTS: (canvasId: string) => `canvases/${canvasId}/checkpoints`,
|
|
21
|
+
} as const;
|
|
@@ -8,6 +8,7 @@ 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`,
|
|
11
12
|
FIND_BY_UUID_INTERNAL: (uuid: string) => `internal/${uuid}`,
|
|
12
13
|
FIND_BY_UUID: (uuid: string) => `${uuid}`,
|
|
13
14
|
FIND_PRESENTATION_OUTLINE: (uuid: string) => `${uuid}/outline`,
|
|
@@ -7,6 +7,7 @@ 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`,
|
|
10
11
|
SET_REACTION: (uuid: string) => `jobs/${uuid}/reaction`,
|
|
11
12
|
DELETE: (uuid: string) => `jobs/${uuid}`,
|
|
12
13
|
DELETE_ALL: 'jobs',
|
|
@@ -7,6 +7,7 @@ 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`,
|
|
10
11
|
SET_REACTION: (uuid: string) => `jobs/${uuid}/reaction`,
|
|
11
12
|
DELETE: (uuid: string) => `jobs/${uuid}`,
|
|
12
13
|
DELETE_ALL: 'jobs',
|
|
@@ -8,6 +8,7 @@ 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`,
|
|
11
12
|
DELETE: (uuid: string) => `jobs/${uuid}`,
|
|
12
13
|
DELETE_ALL: 'jobs',
|
|
13
14
|
RETRY: (uuid: string) => `jobs/${uuid}/retry`,
|
|
@@ -7,6 +7,7 @@ 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`,
|
|
10
11
|
SET_REACTION: (uuid: string) => `jobs/${uuid}/reaction`,
|
|
11
12
|
DELETE: (uuid: string) => `jobs/${uuid}`,
|
|
12
13
|
DELETE_ALL: 'jobs',
|
|
@@ -7,6 +7,7 @@ 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`,
|
|
10
11
|
SET_REACTION: (uuid: string) => `jobs/${uuid}/reaction`,
|
|
11
12
|
DELETE: (uuid: string) => `jobs/${uuid}`,
|
|
12
13
|
DELETE_ALL: 'jobs',
|
|
@@ -7,6 +7,7 @@ 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`,
|
|
10
11
|
SET_REACTION: (uuid: string) => `jobs/${uuid}/reaction`,
|
|
11
12
|
DELETE: (uuid: string) => `jobs/${uuid}`,
|
|
12
13
|
DELETE_ALL: 'jobs',
|
|
@@ -14,6 +14,7 @@ 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`,
|
|
17
18
|
TOGGLE_TITLE_PAGE: (uuid: string) => `documents/${uuid}/title-page/toggle`,
|
|
18
19
|
DELETE_DOCUMENT: (uuid: string) => `documents/${uuid}`,
|
|
19
20
|
UPDATE_CONTENTS: (uuid: string) => `documents/${uuid}/contents`,
|