@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.
Files changed (423) hide show
  1. package/api/controllers/http/agents/agent-dialog.ts +1 -9
  2. package/api/controllers/http/agents/agent-lead-form.ts +0 -2
  3. package/api/controllers/http/agents/agent-lead.ts +0 -1
  4. package/api/controllers/http/agents/agent-template.ts +0 -4
  5. package/api/controllers/http/agents/agent-tool.ts +1 -2
  6. package/api/controllers/http/agents/agent.ts +3 -0
  7. package/api/controllers/http/agents/index.ts +0 -1
  8. package/api/controllers/http/b2b-compatible.ts +14 -0
  9. package/api/controllers/http/b2b-usage-log.ts +5 -0
  10. package/api/controllers/http/diagrams.ts +0 -1
  11. package/api/controllers/http/html-page-builder.ts +0 -1
  12. package/api/controllers/http/image-editor.ts +0 -1
  13. package/api/controllers/http/image-generation.ts +0 -1
  14. package/api/controllers/http/index.ts +3 -2
  15. package/api/controllers/http/interior-design.ts +0 -1
  16. package/api/controllers/http/marketplace-card.ts +0 -1
  17. package/api/controllers/http/model-page.ts +39 -0
  18. package/api/controllers/http/music.ts +0 -1
  19. package/api/controllers/http/paraphrase.ts +0 -1
  20. package/api/controllers/http/presentation.ts +0 -1
  21. package/api/controllers/http/solving-edu-task.ts +0 -1
  22. package/api/controllers/http/spell-corrector.ts +0 -1
  23. package/api/controllers/http/stt.ts +0 -1
  24. package/api/controllers/http/tts.ts +0 -1
  25. package/api/controllers/http/video-editor.ts +0 -1
  26. package/api/controllers/http/video.ts +0 -1
  27. package/api/controllers/http/writer.ts +0 -1
  28. package/api/routes.ts +72 -127
  29. package/build/api/controllers/http/agents/agent-dialog.js +1 -7
  30. package/build/api/controllers/http/agents/agent-lead-form.js +0 -2
  31. package/build/api/controllers/http/agents/agent-lead.js +0 -1
  32. package/build/api/controllers/http/agents/agent-template.js +0 -4
  33. package/build/api/controllers/http/agents/agent-tool.js +1 -2
  34. package/build/api/controllers/http/agents/agent.js +2 -0
  35. package/build/api/controllers/http/agents/index.js +0 -1
  36. package/build/api/controllers/http/b2b-compatible.js +15 -0
  37. package/build/api/controllers/http/b2b-usage-log.js +7 -0
  38. package/build/api/controllers/http/diagrams.js +0 -1
  39. package/build/api/controllers/http/html-page-builder.js +0 -1
  40. package/build/api/controllers/http/image-editor.js +0 -1
  41. package/build/api/controllers/http/image-generation.js +0 -1
  42. package/build/api/controllers/http/index.js +3 -2
  43. package/build/api/controllers/http/interior-design.js +0 -1
  44. package/build/api/controllers/http/marketplace-card.js +0 -1
  45. package/build/api/controllers/http/model-page.js +34 -0
  46. package/build/api/controllers/http/music.js +0 -1
  47. package/build/api/controllers/http/paraphrase.js +0 -1
  48. package/build/api/controllers/http/presentation.js +0 -1
  49. package/build/api/controllers/http/solving-edu-task.js +0 -1
  50. package/build/api/controllers/http/spell-corrector.js +0 -1
  51. package/build/api/controllers/http/stt.js +0 -1
  52. package/build/api/controllers/http/tts.js +0 -1
  53. package/build/api/controllers/http/video-editor.js +0 -1
  54. package/build/api/controllers/http/video.js +0 -1
  55. package/build/api/controllers/http/writer.js +0 -1
  56. package/build/api/routes.js +49 -69
  57. package/build/commands/agents/agent-dialog/clear-agent-dialog-history.command.js +14 -0
  58. package/build/commands/agents/agent-dialog/find-agent-dialogs.command.js +0 -1
  59. package/build/commands/agents/agent-dialog/index.js +1 -6
  60. package/build/commands/agents/agent-dialog/send-cabinet-message.command.js +11 -4
  61. package/build/commands/agents/agent-lead/find-agent-leads.command.js +4 -2
  62. package/build/commands/agents/agent-template/index.js +0 -1
  63. package/build/commands/agents/agent-tool/find-agent-tools-catalog.command.js +0 -2
  64. package/build/commands/agents/agent-tool/find-agent-tools.command.js +0 -2
  65. package/build/commands/agents/agents/index.js +0 -1
  66. package/build/commands/ai-studio/canvas-tool/index.js +0 -1
  67. package/build/commands/b2b/send-text-request.command.js +8 -1
  68. package/build/commands/b2b-compatible/anthropic-files.command.js +21 -0
  69. package/build/commands/b2b-compatible/anthropic-messages.command.js +217 -0
  70. package/build/commands/b2b-compatible/anthropic-models.command.js +26 -0
  71. package/build/commands/b2b-compatible/common.schemas.js +46 -0
  72. package/build/commands/b2b-compatible/index.js +23 -0
  73. package/build/commands/b2b-compatible/openai-files.command.js +26 -0
  74. package/build/commands/b2b-compatible/openai-models.command.js +24 -0
  75. package/build/commands/b2b-compatible/openai-responses.command.js +171 -0
  76. package/build/commands/b2b-usage-log/get-b2b-usage-statistics.command.js +111 -0
  77. package/build/{constants/photo-studio/enums → commands/b2b-usage-log}/index.js +1 -1
  78. package/build/commands/index.js +3 -1
  79. package/build/commands/model-page/base/create-model-page.command.js +13 -0
  80. package/build/commands/model-page/base/delete-model-page.command.js +9 -0
  81. package/build/commands/model-page/base/find-model-page-admin.command.js +13 -0
  82. package/build/commands/model-page/base/find-model-pages-admin.command.js +22 -0
  83. package/build/commands/model-page/base/index.js +21 -0
  84. package/build/commands/model-page/base/update-model-page.command.js +63 -0
  85. package/build/commands/model-page/common.schemas.js +62 -0
  86. package/build/{models/photo-studio → commands/model-page}/index.js +5 -4
  87. package/build/commands/model-page/public/find-model-page-answer-detail.command.js +14 -0
  88. package/build/commands/model-page/public/find-model-page-detail.command.js +12 -0
  89. package/build/commands/model-page/public/find-model-page-hub.command.js +19 -0
  90. package/build/commands/model-page/public/find-model-page-question-type.command.js +13 -0
  91. package/build/commands/model-page/public/index.js +20 -0
  92. package/build/commands/model-page/question/create-model-page-question.command.js +16 -0
  93. package/build/commands/model-page/question/delete-model-page-question.command.js +9 -0
  94. package/build/commands/model-page/question/find-model-page-question-admin.command.js +13 -0
  95. package/build/commands/model-page/question/find-model-page-questions-admin.command.js +21 -0
  96. package/build/commands/model-page/question/index.js +21 -0
  97. package/build/commands/model-page/question/update-model-page-question.command.js +18 -0
  98. package/build/commands/model-page/question-translation/create-model-page-question-translation.command.js +17 -0
  99. package/build/commands/model-page/question-translation/delete-model-page-question-translation.command.js +9 -0
  100. package/build/commands/model-page/question-translation/find-model-page-question-translation.command.js +13 -0
  101. package/build/commands/model-page/question-translation/find-model-page-question-translations.command.js +13 -0
  102. package/build/commands/model-page/question-translation/index.js +21 -0
  103. package/build/commands/model-page/question-translation/update-model-page-question-translation.command.js +16 -0
  104. package/build/commands/model-page/translation/create-model-page-translation.command.js +18 -0
  105. package/build/commands/model-page/translation/delete-model-page-translation.command.js +9 -0
  106. package/build/commands/model-page/translation/find-model-page-translation.command.js +13 -0
  107. package/build/commands/model-page/translation/find-model-page-translations.command.js +13 -0
  108. package/build/commands/model-page/translation/index.js +21 -0
  109. package/build/commands/model-page/translation/update-model-page-translation.command.js +17 -0
  110. package/build/commands/question/create-question.command.js +15 -4
  111. package/build/commands/question/update-question.command.js +12 -7
  112. package/build/commands/tools/diagrams/find-diagrams-jobs.command.js +0 -5
  113. package/build/commands/tools/diagrams/index.js +0 -1
  114. package/build/commands/tools/html-page-builder/find-html-page-builder-sessions.command.js +0 -5
  115. package/build/commands/tools/html-page-builder/index.js +0 -1
  116. package/build/commands/tools/image-editor/find-image-editor-jobs.command.js +0 -5
  117. package/build/commands/tools/image-editor/index.js +0 -1
  118. package/build/commands/tools/image-generation/find-image-generation-jobs.command.js +0 -5
  119. package/build/commands/tools/image-generation/index.js +0 -1
  120. package/build/commands/tools/interior-design/find-interior-design-jobs.command.js +0 -5
  121. package/build/commands/tools/interior-design/index.js +0 -1
  122. package/build/commands/tools/marketplace-card/find-marketplace-card-jobs.command.js +0 -5
  123. package/build/commands/tools/marketplace-card/index.js +0 -1
  124. package/build/commands/tools/music/find-music-jobs.command.js +0 -5
  125. package/build/commands/tools/music/index.js +0 -1
  126. package/build/commands/tools/paraphrase/find-paraphrase-jobs.command.js +0 -5
  127. package/build/commands/tools/paraphrase/index.js +0 -1
  128. package/build/commands/tools/presentation/find-presentations.command.js +0 -5
  129. package/build/commands/tools/presentation/index.js +0 -1
  130. package/build/commands/tools/solving-edu-task/find-solving-edu-task-jobs.command.js +0 -5
  131. package/build/commands/tools/solving-edu-task/index.js +0 -1
  132. package/build/commands/tools/spell-corrector/find-spell-corrector-jobs.command.js +0 -5
  133. package/build/commands/tools/spell-corrector/index.js +0 -1
  134. package/build/commands/tools/stt/find-stt-jobs.command.js +0 -5
  135. package/build/commands/tools/stt/index.js +0 -1
  136. package/build/commands/tools/tts/find-tts-jobs.command.js +0 -5
  137. package/build/commands/tools/tts/index.js +0 -1
  138. package/build/commands/tools/video/find-video-jobs.command.js +0 -5
  139. package/build/commands/tools/video/index.js +0 -1
  140. package/build/commands/tools/video-editor/find-video-editor-jobs.command.js +0 -5
  141. package/build/commands/tools/video-editor/index.js +0 -1
  142. package/build/commands/tools/writer/find-writer-documents.command.js +0 -5
  143. package/build/commands/tools/writer/index.js +0 -1
  144. package/build/constants/b2b/enums/b2b-debit-status.enum.js +9 -0
  145. package/build/constants/b2b/enums/b2b-endpoint-family.enum.js +9 -0
  146. package/build/constants/b2b/enums/b2b-statistics-granularity.enum.js +8 -0
  147. package/build/constants/b2b/enums/b2b-statistics-period.enum.js +13 -0
  148. package/build/constants/b2b/enums/b2b-usage-operation.enum.js +8 -0
  149. package/build/constants/b2b/enums/b2b-usage-spend-component.enum.js +12 -0
  150. package/build/constants/b2b/enums/b2b-usage-status.enum.js +8 -0
  151. package/build/constants/b2b/enums/index.js +23 -0
  152. package/build/constants/cabinet/enums/statistics-request-type.enum.js +0 -1
  153. package/build/constants/index.js +2 -1
  154. package/build/{commands/ai-studio/canvas-tool/var-gen → constants/model-page/enums}/index.js +3 -3
  155. package/build/constants/model-page/enums/model-page-question-type.enum.js +13 -0
  156. package/build/constants/model-page/enums/model-page-sort-by.enum.js +8 -0
  157. package/build/constants/model-page/enums/model-page-type.enum.js +12 -0
  158. package/build/constants/model-page/index.js +17 -0
  159. package/build/constants/tool/enums/index.js +0 -1
  160. package/build/helpers/index.js +0 -1
  161. package/build/models/agents/index.js +0 -2
  162. package/build/models/b2b/b2b-usage-statistics.schema.js +69 -0
  163. package/build/models/b2b/index.js +1 -0
  164. package/build/models/canvas-node.schema.js +2 -2
  165. package/build/models/file.schema.js +1 -7
  166. package/build/models/index.js +1 -1
  167. package/build/models/model-page/index.js +22 -0
  168. package/build/models/model-page/model-page-public.schema.js +63 -0
  169. package/build/models/model-page/model-page-question-translation.schema.js +13 -0
  170. package/build/models/model-page/model-page-question.schema.js +13 -0
  171. package/build/models/model-page/model-page-technical-model.schema.js +80 -0
  172. package/build/models/model-page/model-page-translation.schema.js +14 -0
  173. package/build/models/model-page/model-page.schema.js +15 -0
  174. package/build/models/question.schema.js +2 -1
  175. package/build/models/tool-job.schema.js +0 -1
  176. package/build/models/tools/diagrams/diagrams-job.schema.js +0 -1
  177. package/build/models/tools/html-page-builder/html-page-builder-session.schema.js +0 -1
  178. package/build/models/tools/image-generation/image-generation-job.schema.js +0 -3
  179. package/build/models/tools/presentation/presentation.schema.js +0 -1
  180. package/build/models/tools/solving-edu-task/solving-edu-task-job.schema.js +0 -1
  181. package/build/models/tools/video/video-model.schema.js +0 -1
  182. package/build/models/tools/writer/writer-document.schema.js +0 -1
  183. package/commands/agents/agent-dialog/{delete-dialog.command.ts → clear-agent-dialog-history.command.ts} +5 -5
  184. package/commands/agents/agent-dialog/find-agent-dialogs.command.ts +0 -1
  185. package/commands/agents/agent-dialog/index.ts +1 -6
  186. package/commands/agents/agent-dialog/send-cabinet-message.command.ts +18 -17
  187. package/commands/agents/agent-lead/find-agent-leads.command.ts +4 -2
  188. package/commands/agents/agent-template/index.ts +0 -1
  189. package/commands/agents/agent-tool/find-agent-tools-catalog.command.ts +0 -2
  190. package/commands/agents/agent-tool/find-agent-tools.command.ts +0 -2
  191. package/commands/agents/agents/index.ts +0 -1
  192. package/commands/ai-studio/canvas-tool/index.ts +0 -1
  193. package/commands/b2b/send-text-request.command.ts +10 -1
  194. package/commands/b2b-compatible/anthropic-files.command.ts +29 -0
  195. package/commands/b2b-compatible/anthropic-messages.command.ts +244 -0
  196. package/commands/b2b-compatible/anthropic-models.command.ts +31 -0
  197. package/commands/b2b-compatible/common.schemas.ts +55 -0
  198. package/commands/b2b-compatible/index.ts +7 -0
  199. package/commands/b2b-compatible/openai-files.command.ts +37 -0
  200. package/commands/b2b-compatible/openai-models.command.ts +29 -0
  201. package/commands/b2b-compatible/openai-responses.command.ts +191 -0
  202. package/commands/b2b-usage-log/get-b2b-usage-statistics.command.ts +128 -0
  203. package/commands/b2b-usage-log/index.ts +1 -0
  204. package/commands/index.ts +3 -1
  205. package/commands/model-page/base/create-model-page.command.ts +15 -0
  206. package/commands/model-page/base/delete-model-page.command.ts +10 -0
  207. package/commands/model-page/base/find-model-page-admin.command.ts +14 -0
  208. package/commands/model-page/base/find-model-pages-admin.command.ts +24 -0
  209. package/commands/model-page/base/index.ts +5 -0
  210. package/commands/model-page/base/update-model-page.command.ts +69 -0
  211. package/commands/model-page/common.schemas.ts +64 -0
  212. package/commands/model-page/index.ts +5 -0
  213. package/commands/model-page/public/find-model-page-answer-detail.command.ts +15 -0
  214. package/commands/model-page/public/find-model-page-detail.command.ts +13 -0
  215. package/commands/model-page/public/find-model-page-hub.command.ts +20 -0
  216. package/commands/model-page/public/find-model-page-question-type.command.ts +14 -0
  217. package/commands/model-page/public/index.ts +4 -0
  218. package/commands/model-page/question/create-model-page-question.command.ts +18 -0
  219. package/commands/model-page/question/delete-model-page-question.command.ts +10 -0
  220. package/commands/model-page/question/find-model-page-question-admin.command.ts +14 -0
  221. package/commands/model-page/question/find-model-page-questions-admin.command.ts +23 -0
  222. package/commands/model-page/question/index.ts +5 -0
  223. package/commands/model-page/question/update-model-page-question.command.ts +22 -0
  224. package/commands/model-page/question-translation/create-model-page-question-translation.command.ts +21 -0
  225. package/commands/model-page/question-translation/delete-model-page-question-translation.command.ts +10 -0
  226. package/commands/model-page/question-translation/find-model-page-question-translation.command.ts +14 -0
  227. package/commands/model-page/question-translation/find-model-page-question-translations.command.ts +14 -0
  228. package/commands/model-page/question-translation/index.ts +5 -0
  229. package/commands/model-page/question-translation/update-model-page-question-translation.command.ts +20 -0
  230. package/commands/model-page/translation/create-model-page-translation.command.ts +22 -0
  231. package/commands/model-page/translation/delete-model-page-translation.command.ts +10 -0
  232. package/commands/model-page/translation/find-model-page-translation.command.ts +14 -0
  233. package/commands/model-page/translation/find-model-page-translations.command.ts +14 -0
  234. package/commands/model-page/translation/index.ts +5 -0
  235. package/commands/model-page/translation/update-model-page-translation.command.ts +21 -0
  236. package/commands/question/create-question.command.ts +17 -3
  237. package/commands/question/update-question.command.ts +14 -7
  238. package/commands/tools/diagrams/find-diagrams-jobs.command.ts +0 -5
  239. package/commands/tools/diagrams/index.ts +0 -1
  240. package/commands/tools/html-page-builder/find-html-page-builder-sessions.command.ts +0 -5
  241. package/commands/tools/html-page-builder/index.ts +0 -1
  242. package/commands/tools/image-editor/find-image-editor-jobs.command.ts +0 -5
  243. package/commands/tools/image-editor/index.ts +0 -1
  244. package/commands/tools/image-generation/find-image-generation-jobs.command.ts +0 -5
  245. package/commands/tools/image-generation/index.ts +0 -1
  246. package/commands/tools/interior-design/find-interior-design-jobs.command.ts +0 -5
  247. package/commands/tools/interior-design/index.ts +0 -1
  248. package/commands/tools/marketplace-card/find-marketplace-card-jobs.command.ts +0 -5
  249. package/commands/tools/marketplace-card/index.ts +0 -1
  250. package/commands/tools/music/find-music-jobs.command.ts +0 -5
  251. package/commands/tools/music/index.ts +0 -1
  252. package/commands/tools/paraphrase/find-paraphrase-jobs.command.ts +0 -5
  253. package/commands/tools/paraphrase/index.ts +0 -1
  254. package/commands/tools/presentation/find-presentations.command.ts +0 -5
  255. package/commands/tools/presentation/index.ts +0 -1
  256. package/commands/tools/solving-edu-task/find-solving-edu-task-jobs.command.ts +0 -5
  257. package/commands/tools/solving-edu-task/index.ts +0 -1
  258. package/commands/tools/spell-corrector/find-spell-corrector-jobs.command.ts +0 -5
  259. package/commands/tools/spell-corrector/index.ts +0 -1
  260. package/commands/tools/stt/find-stt-jobs.command.ts +0 -5
  261. package/commands/tools/stt/index.ts +0 -1
  262. package/commands/tools/tts/find-tts-jobs.command.ts +0 -5
  263. package/commands/tools/tts/index.ts +0 -1
  264. package/commands/tools/video/find-video-jobs.command.ts +0 -5
  265. package/commands/tools/video/index.ts +0 -1
  266. package/commands/tools/video-editor/find-video-editor-jobs.command.ts +0 -5
  267. package/commands/tools/video-editor/index.ts +0 -1
  268. package/commands/tools/writer/find-writer-documents.command.ts +0 -5
  269. package/commands/tools/writer/index.ts +0 -1
  270. package/constants/b2b/enums/b2b-debit-status.enum.ts +5 -0
  271. package/constants/b2b/enums/b2b-endpoint-family.enum.ts +5 -0
  272. package/constants/b2b/enums/b2b-statistics-granularity.enum.ts +4 -0
  273. package/constants/b2b/enums/b2b-statistics-period.enum.ts +9 -0
  274. package/constants/b2b/enums/b2b-usage-operation.enum.ts +4 -0
  275. package/constants/b2b/enums/b2b-usage-spend-component.enum.ts +8 -0
  276. package/constants/b2b/enums/b2b-usage-status.enum.ts +4 -0
  277. package/constants/b2b/enums/index.ts +7 -0
  278. package/constants/cabinet/enums/statistics-request-type.enum.ts +0 -1
  279. package/constants/index.ts +2 -1
  280. package/constants/model-page/enums/index.ts +3 -0
  281. package/constants/model-page/enums/model-page-question-type.enum.ts +9 -0
  282. package/constants/model-page/enums/model-page-sort-by.enum.ts +4 -0
  283. package/constants/model-page/enums/model-page-type.enum.ts +8 -0
  284. package/constants/model-page/index.ts +1 -0
  285. package/constants/tool/enums/index.ts +0 -1
  286. package/helpers/index.ts +0 -1
  287. package/models/agents/index.ts +0 -2
  288. package/models/b2b/b2b-usage-statistics.schema.ts +81 -0
  289. package/models/b2b/index.ts +1 -0
  290. package/models/canvas-node.schema.ts +2 -2
  291. package/models/file.schema.ts +0 -8
  292. package/models/index.ts +1 -1
  293. package/models/model-page/index.ts +6 -0
  294. package/models/model-page/model-page-public.schema.ts +94 -0
  295. package/models/model-page/model-page-question-translation.schema.ts +13 -0
  296. package/models/model-page/model-page-question.schema.ts +13 -0
  297. package/models/model-page/model-page-technical-model.schema.ts +109 -0
  298. package/models/model-page/model-page-translation.schema.ts +14 -0
  299. package/models/model-page/model-page.schema.ts +15 -0
  300. package/models/question.schema.ts +2 -1
  301. package/models/tool-job.schema.ts +0 -1
  302. package/models/tools/diagrams/diagrams-job.schema.ts +0 -1
  303. package/models/tools/html-page-builder/html-page-builder-session.schema.ts +0 -1
  304. package/models/tools/image-generation/image-generation-job.schema.ts +0 -3
  305. package/models/tools/presentation/presentation.schema.ts +0 -1
  306. package/models/tools/solving-edu-task/solving-edu-task-job.schema.ts +0 -1
  307. package/models/tools/video/video-model.schema.ts +0 -1
  308. package/models/tools/writer/writer-document.schema.ts +0 -1
  309. package/package.json +1 -1
  310. package/api/controllers/http/agents/agent-statistics.ts +0 -5
  311. package/api/controllers/http/canvas-var-generation.ts +0 -7
  312. package/api/controllers/http/photo-studio.ts +0 -21
  313. package/build/api/controllers/http/agents/agent-statistics.js +0 -7
  314. package/build/api/controllers/http/canvas-var-generation.js +0 -9
  315. package/build/api/controllers/http/photo-studio.js +0 -21
  316. package/build/commands/agents/agent-dialog/delete-dialog.command.js +0 -16
  317. package/build/commands/agents/agent-dialog/get-cabinet-config.command.js +0 -12
  318. package/build/commands/agents/agent-dialog/get-cabinet-price-preview.command.js +0 -24
  319. package/build/commands/agents/agent-dialog/get-dialog-context-length.command.js +0 -32
  320. package/build/commands/agents/agent-dialog/rename-agent-dialog.command.js +0 -17
  321. package/build/commands/agents/agent-dialog/stop-cabinet-stream.command.js +0 -15
  322. package/build/commands/agents/agent-template/get-agent-template-instructions-by-template.command.js +0 -14
  323. package/build/commands/agents/agents/get-agent-statistics.command.js +0 -20
  324. package/build/commands/ai-studio/canvas-tool/var-gen/generate-variables.command.js +0 -18
  325. package/build/commands/ai-studio/canvas-tool/var-gen/get-var-gen-config.command.js +0 -11
  326. package/build/commands/ai-studio/canvas-tool/var-gen/get-var-gen-price.command.js +0 -18
  327. package/build/commands/photo-studio/add-photo-studio-checkpoint.command.js +0 -17
  328. package/build/commands/photo-studio/clear-photo-studio-checkpoints.command.js +0 -12
  329. package/build/commands/photo-studio/create-photo-studio-canvas.command.js +0 -15
  330. package/build/commands/photo-studio/delete-photo-studio-canvas.command.js +0 -11
  331. package/build/commands/photo-studio/delete-photo-studio-checkpoint.command.js +0 -14
  332. package/build/commands/photo-studio/execute-photo-studio-action.command.js +0 -47
  333. package/build/commands/photo-studio/find-photo-studio-canvas-by-uuid.query.js +0 -12
  334. package/build/commands/photo-studio/find-photo-studio-canvases.query.js +0 -18
  335. package/build/commands/photo-studio/find-photo-studio-checkpoints.query.js +0 -12
  336. package/build/commands/photo-studio/find-photo-studio-job-by-id.query.js +0 -32
  337. package/build/commands/photo-studio/find-photo-studio-jobs.query.js +0 -18
  338. package/build/commands/photo-studio/get-photo-studio-actions.query.js +0 -11
  339. package/build/commands/photo-studio/index.js +0 -31
  340. package/build/commands/photo-studio/save-photo-studio-canvas.command.js +0 -18
  341. package/build/commands/photo-studio/update-photo-studio-canvas.command.js +0 -15
  342. package/build/commands/photo-studio/update-photo-studio-checkpoint.command.js +0 -19
  343. package/build/commands/tools/diagrams/update-diagrams-job-favorite.command.js +0 -17
  344. package/build/commands/tools/html-page-builder/update-html-page-builder-session-favorite.command.js +0 -11
  345. package/build/commands/tools/image-editor/update-image-editor-job-favorite.command.js +0 -17
  346. package/build/commands/tools/image-generation/update-image-generation-job-favorite.command.js +0 -17
  347. package/build/commands/tools/interior-design/update-interior-design-job-favorite.command.js +0 -17
  348. package/build/commands/tools/marketplace-card/update-marketplace-card-job-favorite.command.js +0 -17
  349. package/build/commands/tools/music/update-music-job-favorite.command.js +0 -17
  350. package/build/commands/tools/paraphrase/update-paraphrase-job-favorite.command.js +0 -17
  351. package/build/commands/tools/presentation/update-presentation-favorite.command.js +0 -11
  352. package/build/commands/tools/solving-edu-task/update-solving-edu-task-job-favorite.command.js +0 -17
  353. package/build/commands/tools/spell-corrector/update-spell-corrector-job-favorite.command.js +0 -17
  354. package/build/commands/tools/stt/update-stt-job-favorite.command.js +0 -17
  355. package/build/commands/tools/tts/update-tts-job-favorite.command.js +0 -17
  356. package/build/commands/tools/video/update-video-job-favorite.command.js +0 -17
  357. package/build/commands/tools/video-editor/update-video-editor-job-favorite.command.js +0 -17
  358. package/build/commands/tools/writer/update-writer-document-favorite.command.js +0 -11
  359. package/build/constants/photo-studio/enums/photo-studio-checkpoint-action-type.enum.js +0 -11
  360. package/build/constants/tool/enums/job-sort.enum.js +0 -8
  361. package/build/helpers/query-boolean.schema.js +0 -13
  362. package/build/models/agents/agent-statistics.schema.js +0 -33
  363. package/build/models/agents/message-attachment.schema.js +0 -21
  364. package/build/models/photo-studio/photo-studio-action.schema.js +0 -17
  365. package/build/models/photo-studio/photo-studio-checkpoint.schema.js +0 -21
  366. package/build/models/photo-studio/photo-studio-image-node.schema.js +0 -19
  367. package/build/models/photo-studio/photo-studio.schema.js +0 -15
  368. package/commands/agents/agent-dialog/get-cabinet-config.command.ts +0 -11
  369. package/commands/agents/agent-dialog/get-cabinet-price-preview.command.ts +0 -26
  370. package/commands/agents/agent-dialog/get-dialog-context-length.command.ts +0 -35
  371. package/commands/agents/agent-dialog/rename-agent-dialog.command.ts +0 -19
  372. package/commands/agents/agent-dialog/stop-cabinet-stream.command.ts +0 -15
  373. package/commands/agents/agent-template/get-agent-template-instructions-by-template.command.ts +0 -14
  374. package/commands/agents/agents/get-agent-statistics.command.ts +0 -28
  375. package/commands/ai-studio/canvas-tool/var-gen/generate-variables.command.ts +0 -20
  376. package/commands/ai-studio/canvas-tool/var-gen/get-var-gen-config.command.ts +0 -9
  377. package/commands/ai-studio/canvas-tool/var-gen/get-var-gen-price.command.ts +0 -18
  378. package/commands/ai-studio/canvas-tool/var-gen/index.ts +0 -3
  379. package/commands/photo-studio/add-photo-studio-checkpoint.command.ts +0 -23
  380. package/commands/photo-studio/clear-photo-studio-checkpoints.command.ts +0 -12
  381. package/commands/photo-studio/create-photo-studio-canvas.command.ts +0 -16
  382. package/commands/photo-studio/delete-photo-studio-canvas.command.ts +0 -11
  383. package/commands/photo-studio/delete-photo-studio-checkpoint.command.ts +0 -14
  384. package/commands/photo-studio/execute-photo-studio-action.command.ts +0 -49
  385. package/commands/photo-studio/find-photo-studio-canvas-by-uuid.query.ts +0 -12
  386. package/commands/photo-studio/find-photo-studio-canvases.query.ts +0 -20
  387. package/commands/photo-studio/find-photo-studio-checkpoints.query.ts +0 -12
  388. package/commands/photo-studio/find-photo-studio-job-by-id.query.ts +0 -36
  389. package/commands/photo-studio/find-photo-studio-jobs.query.ts +0 -20
  390. package/commands/photo-studio/get-photo-studio-actions.query.ts +0 -10
  391. package/commands/photo-studio/index.ts +0 -15
  392. package/commands/photo-studio/save-photo-studio-canvas.command.ts +0 -24
  393. package/commands/photo-studio/update-photo-studio-canvas.command.ts +0 -17
  394. package/commands/photo-studio/update-photo-studio-checkpoint.command.ts +0 -25
  395. package/commands/tools/diagrams/update-diagrams-job-favorite.command.ts +0 -19
  396. package/commands/tools/html-page-builder/update-html-page-builder-session-favorite.command.ts +0 -13
  397. package/commands/tools/image-editor/update-image-editor-job-favorite.command.ts +0 -19
  398. package/commands/tools/image-generation/update-image-generation-job-favorite.command.ts +0 -19
  399. package/commands/tools/interior-design/update-interior-design-job-favorite.command.ts +0 -19
  400. package/commands/tools/marketplace-card/update-marketplace-card-job-favorite.command.ts +0 -19
  401. package/commands/tools/music/update-music-job-favorite.command.ts +0 -19
  402. package/commands/tools/paraphrase/update-paraphrase-job-favorite.command.ts +0 -19
  403. package/commands/tools/presentation/update-presentation-favorite.command.ts +0 -13
  404. package/commands/tools/solving-edu-task/update-solving-edu-task-job-favorite.command.ts +0 -19
  405. package/commands/tools/spell-corrector/update-spell-corrector-job-favorite.command.ts +0 -19
  406. package/commands/tools/stt/update-stt-job-favorite.command.ts +0 -19
  407. package/commands/tools/tts/update-tts-job-favorite.command.ts +0 -19
  408. package/commands/tools/video/update-video-job-favorite.command.ts +0 -19
  409. package/commands/tools/video-editor/update-video-editor-job-favorite.command.ts +0 -19
  410. package/commands/tools/writer/update-writer-document-favorite.command.ts +0 -13
  411. package/constants/photo-studio/enums/index.ts +0 -1
  412. package/constants/photo-studio/enums/photo-studio-checkpoint-action-type.enum.ts +0 -7
  413. package/constants/tool/enums/job-sort.enum.ts +0 -4
  414. package/helpers/query-boolean.schema.ts +0 -13
  415. package/models/agents/agent-statistics.schema.ts +0 -38
  416. package/models/agents/message-attachment.schema.ts +0 -22
  417. package/models/photo-studio/index.ts +0 -4
  418. package/models/photo-studio/photo-studio-action.schema.ts +0 -18
  419. package/models/photo-studio/photo-studio-checkpoint.schema.ts +0 -22
  420. package/models/photo-studio/photo-studio-image-node.schema.ts +0 -22
  421. package/models/photo-studio/photo-studio.schema.ts +0 -16
  422. /package/build/constants/{photo-studio → b2b}/index.js +0 -0
  423. /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;
@@ -2,7 +2,6 @@ export const AGENT_LEAD_CONTROLLER_PRIVATE = 'private/agents-leads' as const;
2
2
 
3
3
  export const AGENT_LEAD_ROUTES = {
4
4
  LIST: '',
5
- CREATE: '',
6
5
  GET_BY_ID: (id: string) => `${id}`,
7
6
  UPDATE: (id: string) => `${id}`,
8
7
  DELETE: (id: string) => `${id}`,
@@ -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
- LIST_AGENT_TOOLS: (agentId: string) => `${agentId}`,
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 = {
@@ -7,4 +7,3 @@ export * from './agent-tool';
7
7
  export * from './agent-document';
8
8
  export * from './agent-template';
9
9
  export * from './agent';
10
- export * from './agent-statistics';
@@ -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;
@@ -0,0 +1,5 @@
1
+ export const B2B_USAGE_LOG_CONTROLLER = 'private/b2b/usage' as const;
2
+
3
+ export const B2B_USAGE_LOG_ROUTES = {
4
+ STATISTICS: 'statistics',
5
+ } 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`,