@purpleschool/gptbot-tools 0.1.134 → 0.2.1-stage

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 (282) hide show
  1. package/account-merge/commands/index.ts +1 -0
  2. package/account-merge/commands/transfer-user-jobs.command.ts +13 -0
  3. package/account-merge/index.ts +2 -0
  4. package/account-merge/routes/account-merge.amqp.routes.ts +3 -0
  5. package/account-merge/routes/index.ts +1 -0
  6. package/analytics/index.ts +1 -0
  7. package/analytics/job-model-analytics/commands/get-job-model-analytics.command.ts +12 -0
  8. package/analytics/job-model-analytics/commands/index.ts +1 -0
  9. package/analytics/job-model-analytics/index.ts +2 -0
  10. package/analytics/job-model-analytics/routes/index.ts +1 -0
  11. package/analytics/job-model-analytics/routes/job-model-analytics.http.routes.ts +5 -0
  12. package/build/account-merge/commands/index.js +17 -0
  13. package/build/account-merge/commands/transfer-user-jobs.command.js +13 -0
  14. package/build/account-merge/index.js +18 -0
  15. package/build/account-merge/routes/account-merge.amqp.routes.js +6 -0
  16. package/build/account-merge/routes/index.js +17 -0
  17. package/build/analytics/index.js +17 -0
  18. package/build/analytics/job-model-analytics/commands/get-job-model-analytics.command.js +11 -0
  19. package/build/analytics/job-model-analytics/commands/index.js +17 -0
  20. package/build/analytics/job-model-analytics/index.js +18 -0
  21. package/build/analytics/job-model-analytics/routes/index.js +17 -0
  22. package/build/analytics/job-model-analytics/routes/job-model-analytics.http.routes.js +7 -0
  23. package/build/common/enums/file-type.enum.js +8 -0
  24. package/build/common/enums/index.js +1 -0
  25. package/build/common/enums/reasoning-effort.enum.js +6 -1
  26. package/build/image-editor/commands/image-editor.command.js +1 -0
  27. package/build/image-editor/models/image-editor-job.schema.js +2 -0
  28. package/build/image-editor/models/image-editor-model.schema.js +6 -0
  29. package/build/image-generation/models/image-generation-job.schema.js +1 -0
  30. package/build/image-generation/models/image-generation-model.schema.js +1 -0
  31. package/build/image-generation/queries/find-image-generation-jobs.query.js +2 -0
  32. package/build/index.js +15 -0
  33. package/build/interior-design/commands/interior-design.command.js +2 -0
  34. package/build/interior-design/enums/index.js +1 -0
  35. package/build/interior-design/enums/interior-design-job-source.enum.js +8 -0
  36. package/build/interior-design/models/interior-design-job.schema.js +2 -0
  37. package/build/marketplace-card/commands/execute-marketplace-card.command.js +7 -0
  38. package/build/marketplace-card/commands/index.js +2 -0
  39. package/build/marketplace-card/commands/soft-delete-all-marketplace-card-jobs.command.js +13 -0
  40. package/build/marketplace-card/commands/update-title-marketplace-card-job.command.js +16 -0
  41. package/build/marketplace-card/models/index.js +1 -0
  42. package/build/marketplace-card/models/marketplace-card-config.schema.js +2 -0
  43. package/build/marketplace-card/routes/marketplace-card.amqp.routes.js +2 -0
  44. package/build/presentation/commands/create-presentation.command.js +3 -0
  45. package/build/presentation/commands/generate-slides.command.js +1 -0
  46. package/build/presentation/commands/get-presentation-slides-generation-price.command.js +1 -0
  47. package/build/presentation/commands/index.js +1 -0
  48. package/build/presentation/commands/reposition-slide.command.js +16 -0
  49. package/build/presentation/enums/index.js +1 -0
  50. package/build/presentation/enums/presentation-target-audience.enum.js +10 -0
  51. package/build/presentation/models/index.js +1 -0
  52. package/build/presentation/models/presentation-template.schema.js +2 -0
  53. package/build/presentation/models/presentation-title-page.schema.js +9 -0
  54. package/build/presentation/models/presentation.schema.js +4 -0
  55. package/build/presentation/models/slide-content-edit.schema.js +24 -12
  56. package/build/presentation/models/slide-content.schema.js +215 -73
  57. package/build/presentation/routes/presentation.routes.js +4 -1
  58. package/build/solving-edu-task/commands/delete-all-solving-edu-task-jobs.command.js +13 -0
  59. package/build/solving-edu-task/commands/delete-solving-edu-task-job-by-uuid.command.js +14 -0
  60. package/build/solving-edu-task/commands/get-solving-edu-task-price.command.js +15 -0
  61. package/build/solving-edu-task/commands/index.js +23 -0
  62. package/build/solving-edu-task/commands/retry-solving-edu-task-job.command.js +25 -0
  63. package/build/solving-edu-task/commands/set-reaction-to-solving-edu-task-job.command.js +27 -0
  64. package/build/solving-edu-task/commands/solving-edu-task.command.js +22 -0
  65. package/build/solving-edu-task/commands/update-solving-edu-task-job-title.command.js +16 -0
  66. package/build/solving-edu-task/index.js +20 -0
  67. package/build/solving-edu-task/models/index.js +19 -0
  68. package/build/solving-edu-task/models/solving-edu-task-config.schema.js +8 -0
  69. package/build/solving-edu-task/models/solving-edu-task-job.schema.js +32 -0
  70. package/build/solving-edu-task/models/solving-edu-task-model.schema.js +27 -0
  71. package/build/solving-edu-task/queries/find-solving-edu-task-job-by-id.query.js +15 -0
  72. package/build/solving-edu-task/queries/find-solving-edu-task-jobs.query.js +28 -0
  73. package/build/solving-edu-task/queries/get-solving-edu-task-config.query.js +11 -0
  74. package/build/solving-edu-task/queries/index.js +19 -0
  75. package/build/solving-edu-task/routes/index.js +17 -0
  76. package/build/solving-edu-task/routes/solving-edu-task.amqp.routes.js +15 -0
  77. package/build/spell-corrector/commands/delete-all-spell-corrector-jobs.command.js +13 -0
  78. package/build/spell-corrector/commands/delete-spell-corrector-job-by-uuid.command.js +14 -0
  79. package/build/spell-corrector/commands/get-spell-corrector-price.command.js +15 -0
  80. package/build/spell-corrector/commands/index.js +23 -0
  81. package/build/spell-corrector/commands/retry-spell-corrector-job.command.js +17 -0
  82. package/build/spell-corrector/commands/set-reaction-to-spell-corrector-job.command.js +27 -0
  83. package/build/spell-corrector/commands/spell-corrector.command.js +18 -0
  84. package/build/spell-corrector/commands/update-spell-corrector-job-title.command.js +16 -0
  85. package/build/spell-corrector/index.js +20 -0
  86. package/build/spell-corrector/models/index.js +19 -0
  87. package/build/spell-corrector/models/spell-corrector-job.schema.js +25 -0
  88. package/build/spell-corrector/models/spell-corrector-model.schema.js +18 -0
  89. package/build/spell-corrector/models/spell-corrector-tool-config.schema.js +9 -0
  90. package/build/spell-corrector/queries/find-spell-corrector-job-by-uuid.query.js +10 -0
  91. package/build/spell-corrector/queries/find-spell-corrector-jobs.query.js +28 -0
  92. package/build/spell-corrector/queries/get-spell-corrector-tool-config.query.js +9 -0
  93. package/build/spell-corrector/queries/index.js +19 -0
  94. package/build/spell-corrector/routes/index.js +17 -0
  95. package/build/spell-corrector/routes/spell-corrector.amqp.routes.js +15 -0
  96. package/build/stt/models/stt-response.schema.js +2 -0
  97. package/build/tool-workspace/commands/index.js +18 -0
  98. package/build/tool-workspace/commands/soft-delete-tool-workspace.command.js +21 -0
  99. package/build/tool-workspace/commands/update-tool-workspace.command.js +26 -0
  100. package/build/tool-workspace/enums/index.js +18 -0
  101. package/build/tool-workspace/enums/tool-workspace-item-slot.enum.js +9 -0
  102. package/build/tool-workspace/enums/tool-workspace-status.enum.js +8 -0
  103. package/build/tool-workspace/index.js +21 -0
  104. package/build/tool-workspace/models/index.js +20 -0
  105. package/build/tool-workspace/models/tool-workspace-contents.schema.js +10 -0
  106. package/build/tool-workspace/models/tool-workspace-item.schema.js +17 -0
  107. package/build/tool-workspace/models/tool-workspace-job.schema.js +17 -0
  108. package/build/tool-workspace/models/tool-workspace.schema.js +17 -0
  109. package/build/tool-workspace/queries/find-tool-workspace-by-uuid.query.js +22 -0
  110. package/build/tool-workspace/queries/find-tool-workspaces.query.js +30 -0
  111. package/build/tool-workspace/queries/index.js +18 -0
  112. package/build/tool-workspace/routes/index.js +17 -0
  113. package/build/tool-workspace/routes/tool-workspace.amqp.routes.js +9 -0
  114. package/build/tools/enums/tool-content-type.enum.js +3 -1
  115. package/build/tools/enums/tool-type.enum.js +2 -0
  116. package/build/tools/models/global-tools-config.schema.js +4 -0
  117. package/build/tools/models/tools-with-configs.schema.js +10 -0
  118. package/build/video/commands/video.command.js +7 -0
  119. package/build/video/const/videoMaxDuration.js +1 -1
  120. package/build/video/enums/video-resolution.enum.js +1 -0
  121. package/build/video/enums/video-strategy.enum.js +1 -0
  122. package/build/video/models/video-config.schema.js +2 -0
  123. package/build/video/models/video-model.schema.js +1 -0
  124. package/build/video-editor/commands/edit-video.command.js +1 -0
  125. package/build/video-editor/commands/get-video-editor-price.command.js +2 -0
  126. package/build/video-editor/commands/retry-video-editor-job.command.js +1 -0
  127. package/build/video-editor/enums/index.js +1 -0
  128. package/build/video-editor/enums/video-editor-pricing-rule-type.enum.js +8 -0
  129. package/build/video-editor/models/video-editor-job.schema.js +7 -1
  130. package/build/video-editor/models/video-editor-model.schema.js +28 -1
  131. package/build/video-editor/utils/calculate-video-editing-price.js +24 -2
  132. package/build/writer/commands/collect-sources.command.js +15 -0
  133. package/build/writer/commands/confirm-source-citation-metadata.command.js +18 -0
  134. package/build/writer/commands/discard-writer-source.command.js +16 -0
  135. package/build/writer/commands/generate-document-outline.command.js +17 -0
  136. package/build/writer/commands/index.js +5 -0
  137. package/build/writer/commands/update-writer-document-outline.command.js +1 -0
  138. package/build/writer/commands/upload-writer-source.command.js +18 -0
  139. package/build/writer/enums/index.js +3 -0
  140. package/build/writer/enums/writer-document-stage.enum.js +6 -0
  141. package/build/writer/enums/writer-source-origin.enum.js +8 -0
  142. package/build/writer/enums/writer-source-status.enum.js +9 -0
  143. package/build/writer/enums/writer-source-type.enum.js +8 -0
  144. package/build/writer/models/index.js +2 -0
  145. package/build/writer/models/writer-document-type.schema.js +1 -1
  146. package/build/writer/models/writer-document.schema.js +3 -0
  147. package/build/writer/models/writer-source-bibliographic-metadata.schema.js +27 -0
  148. package/build/writer/models/writer-source.schema.js +22 -0
  149. package/build/writer/queries/get-writer-document-sources.query.js +15 -0
  150. package/build/writer/queries/index.js +1 -0
  151. package/build/writer/routes/writer.routes.js +6 -0
  152. package/common/enums/file-type.enum.ts +4 -0
  153. package/common/enums/index.ts +1 -0
  154. package/common/enums/reasoning-effort.enum.ts +5 -0
  155. package/image-editor/commands/image-editor.command.ts +1 -0
  156. package/image-editor/models/image-editor-job.schema.ts +2 -0
  157. package/image-editor/models/image-editor-model.schema.ts +9 -0
  158. package/image-generation/models/image-generation-job.schema.ts +2 -1
  159. package/image-generation/models/image-generation-model.schema.ts +1 -0
  160. package/image-generation/queries/find-image-generation-jobs.query.ts +2 -0
  161. package/index.ts +15 -0
  162. package/interior-design/commands/interior-design.command.ts +2 -0
  163. package/interior-design/enums/index.ts +1 -0
  164. package/interior-design/enums/interior-design-job-source.enum.ts +4 -0
  165. package/interior-design/models/interior-design-job.schema.ts +2 -0
  166. package/marketplace-card/commands/execute-marketplace-card.command.ts +7 -0
  167. package/marketplace-card/commands/index.ts +2 -0
  168. package/marketplace-card/commands/soft-delete-all-marketplace-card-jobs.command.ts +13 -0
  169. package/marketplace-card/commands/update-title-marketplace-card-job.command.ts +16 -0
  170. package/marketplace-card/models/index.ts +1 -0
  171. package/marketplace-card/models/marketplace-card-config.schema.ts +2 -0
  172. package/marketplace-card/models/marketplace-card-job.schema.ts +1 -1
  173. package/marketplace-card/routes/marketplace-card.amqp.routes.ts +2 -0
  174. package/package.json +1 -1
  175. package/presentation/commands/create-presentation.command.ts +3 -0
  176. package/presentation/commands/generate-slides.command.ts +2 -1
  177. package/presentation/commands/get-presentation-slides-generation-price.command.ts +1 -0
  178. package/presentation/commands/index.ts +1 -0
  179. package/presentation/commands/reposition-slide.command.ts +16 -0
  180. package/presentation/enums/index.ts +1 -0
  181. package/presentation/enums/presentation-target-audience.enum.ts +6 -0
  182. package/presentation/models/index.ts +1 -0
  183. package/presentation/models/presentation-template.schema.ts +2 -0
  184. package/presentation/models/presentation-title-page.schema.ts +9 -0
  185. package/presentation/models/presentation.schema.ts +5 -1
  186. package/presentation/models/slide-content-edit.schema.ts +36 -24
  187. package/presentation/models/slide-content.schema.ts +294 -90
  188. package/presentation/routes/presentation.routes.ts +4 -0
  189. package/solving-edu-task/commands/delete-all-solving-edu-task-jobs.command.ts +13 -0
  190. package/solving-edu-task/commands/delete-solving-edu-task-job-by-uuid.command.ts +14 -0
  191. package/solving-edu-task/commands/get-solving-edu-task-price.command.ts +17 -0
  192. package/solving-edu-task/commands/index.ts +7 -0
  193. package/solving-edu-task/commands/retry-solving-edu-task-job.command.ts +25 -0
  194. package/solving-edu-task/commands/set-reaction-to-solving-edu-task-job.command.ts +31 -0
  195. package/solving-edu-task/commands/solving-edu-task.command.ts +22 -0
  196. package/solving-edu-task/commands/update-solving-edu-task-job-title.command.ts +16 -0
  197. package/solving-edu-task/index.ts +4 -0
  198. package/solving-edu-task/models/index.ts +3 -0
  199. package/solving-edu-task/models/solving-edu-task-config.schema.ts +8 -0
  200. package/solving-edu-task/models/solving-edu-task-job.schema.ts +35 -0
  201. package/solving-edu-task/models/solving-edu-task-model.schema.ts +30 -0
  202. package/solving-edu-task/queries/find-solving-edu-task-job-by-id.query.ts +16 -0
  203. package/solving-edu-task/queries/find-solving-edu-task-jobs.query.ts +33 -0
  204. package/solving-edu-task/queries/get-solving-edu-task-config.query.ts +11 -0
  205. package/solving-edu-task/queries/index.ts +3 -0
  206. package/solving-edu-task/routes/index.ts +1 -0
  207. package/solving-edu-task/routes/solving-edu-task.amqp.routes.ts +12 -0
  208. package/spell-corrector/commands/delete-all-spell-corrector-jobs.command.ts +13 -0
  209. package/spell-corrector/commands/delete-spell-corrector-job-by-uuid.command.ts +14 -0
  210. package/spell-corrector/commands/get-spell-corrector-price.command.ts +16 -0
  211. package/spell-corrector/commands/index.ts +7 -0
  212. package/spell-corrector/commands/retry-spell-corrector-job.command.ts +17 -0
  213. package/spell-corrector/commands/set-reaction-to-spell-corrector-job.command.ts +30 -0
  214. package/spell-corrector/commands/spell-corrector.command.ts +18 -0
  215. package/spell-corrector/commands/update-spell-corrector-job-title.command.ts +16 -0
  216. package/spell-corrector/index.ts +4 -0
  217. package/spell-corrector/models/index.ts +3 -0
  218. package/spell-corrector/models/spell-corrector-job.schema.ts +25 -0
  219. package/spell-corrector/models/spell-corrector-model.schema.ts +18 -0
  220. package/spell-corrector/models/spell-corrector-tool-config.schema.ts +9 -0
  221. package/spell-corrector/queries/find-spell-corrector-job-by-uuid.query.ts +11 -0
  222. package/spell-corrector/queries/find-spell-corrector-jobs.query.ts +33 -0
  223. package/spell-corrector/queries/get-spell-corrector-tool-config.query.ts +8 -0
  224. package/spell-corrector/queries/index.ts +3 -0
  225. package/spell-corrector/routes/index.ts +1 -0
  226. package/spell-corrector/routes/spell-corrector.amqp.routes.ts +12 -0
  227. package/stt/models/stt-response.schema.ts +2 -0
  228. package/tool-workspace/commands/index.ts +2 -0
  229. package/tool-workspace/commands/soft-delete-tool-workspace.command.ts +25 -0
  230. package/tool-workspace/commands/update-tool-workspace.command.ts +30 -0
  231. package/tool-workspace/enums/index.ts +2 -0
  232. package/tool-workspace/enums/tool-workspace-item-slot.enum.ts +5 -0
  233. package/tool-workspace/enums/tool-workspace-status.enum.ts +4 -0
  234. package/tool-workspace/index.ts +5 -0
  235. package/tool-workspace/models/index.ts +4 -0
  236. package/tool-workspace/models/tool-workspace-contents.schema.ts +10 -0
  237. package/tool-workspace/models/tool-workspace-item.schema.ts +17 -0
  238. package/tool-workspace/models/tool-workspace-job.schema.ts +17 -0
  239. package/tool-workspace/models/tool-workspace.schema.ts +17 -0
  240. package/tool-workspace/queries/find-tool-workspace-by-uuid.query.ts +26 -0
  241. package/tool-workspace/queries/find-tool-workspaces.query.ts +37 -0
  242. package/tool-workspace/queries/index.ts +2 -0
  243. package/tool-workspace/routes/index.ts +1 -0
  244. package/tool-workspace/routes/tool-workspace.amqp.routes.ts +6 -0
  245. package/tools/enums/tool-content-type.enum.ts +3 -1
  246. package/tools/enums/tool-type.enum.ts +2 -0
  247. package/tools/models/global-tools-config.schema.ts +4 -0
  248. package/tools/models/tools-with-configs.schema.ts +14 -0
  249. package/video/commands/video.command.ts +7 -0
  250. package/video/const/videoMaxDuration.ts +1 -1
  251. package/video/enums/video-resolution.enum.ts +1 -0
  252. package/video/enums/video-strategy.enum.ts +1 -0
  253. package/video/models/video-config.schema.ts +2 -0
  254. package/video/models/video-model.schema.ts +1 -0
  255. package/video-editor/commands/edit-video.command.ts +2 -1
  256. package/video-editor/commands/get-video-editor-price.command.ts +2 -0
  257. package/video-editor/commands/retry-video-editor-job.command.ts +5 -1
  258. package/video-editor/enums/index.ts +1 -0
  259. package/video-editor/enums/video-editor-pricing-rule-type.enum.ts +4 -0
  260. package/video-editor/models/video-editor-job.schema.ts +9 -0
  261. package/video-editor/models/video-editor-model.schema.ts +45 -1
  262. package/video-editor/utils/calculate-video-editing-price.ts +45 -2
  263. package/writer/commands/collect-sources.command.ts +15 -0
  264. package/writer/commands/confirm-source-citation-metadata.command.ts +18 -0
  265. package/writer/commands/discard-writer-source.command.ts +18 -0
  266. package/writer/commands/generate-document-outline.command.ts +17 -0
  267. package/writer/commands/index.ts +5 -0
  268. package/writer/commands/update-writer-document-outline.command.ts +1 -0
  269. package/writer/commands/upload-writer-source.command.ts +18 -0
  270. package/writer/enums/index.ts +3 -0
  271. package/writer/enums/writer-document-stage.enum.ts +8 -0
  272. package/writer/enums/writer-source-origin.enum.ts +4 -0
  273. package/writer/enums/writer-source-status.enum.ts +5 -0
  274. package/writer/enums/writer-source-type.enum.ts +4 -0
  275. package/writer/models/index.ts +2 -0
  276. package/writer/models/writer-document-type.schema.ts +1 -1
  277. package/writer/models/writer-document.schema.ts +3 -0
  278. package/writer/models/writer-source-bibliographic-metadata.schema.ts +31 -0
  279. package/writer/models/writer-source.schema.ts +22 -0
  280. package/writer/queries/get-writer-document-sources.query.ts +15 -0
  281. package/writer/queries/index.ts +1 -0
  282. package/writer/routes/writer.routes.ts +6 -0
@@ -0,0 +1,31 @@
1
+ import { z } from 'zod';
2
+ import { WRITER_SOURCE_TYPE } from '../enums';
3
+
4
+ export const BookBibliographicMetadataSchema = z.object({
5
+ type: z.literal(WRITER_SOURCE_TYPE.BOOK),
6
+ title: z.string(),
7
+ authors: z.string(),
8
+ year: z.number(),
9
+ publicationCity: z.string(),
10
+ publisher: z.string(),
11
+ pageCount: z.number().nullable(),
12
+ });
13
+
14
+ export const JournalArticleBibliographicMetadataSchema = z.object({
15
+ type: z.literal(WRITER_SOURCE_TYPE.JOURNAL_ARTICLE),
16
+ title: z.string(),
17
+ authors: z.string(),
18
+ year: z.number(),
19
+ journalName: z.string(),
20
+ issueNumber: z.string(),
21
+ pageRange: z.string(),
22
+ });
23
+
24
+ export const WriterSourceBibliographicMetadataSchema = z.discriminatedUnion('type', [
25
+ BookBibliographicMetadataSchema,
26
+ JournalArticleBibliographicMetadataSchema,
27
+ ]);
28
+
29
+ export type WriterSourceBibliographicMetadata = z.infer<
30
+ typeof WriterSourceBibliographicMetadataSchema
31
+ >;
@@ -0,0 +1,22 @@
1
+ import { z } from 'zod';
2
+ import { WRITER_SOURCE_ORIGIN, WRITER_SOURCE_STATUS } from '../enums';
3
+ import { WriterSourceBibliographicMetadataSchema } from './writer-source-bibliographic-metadata.schema';
4
+
5
+ export const WriterSourceSchema = z.object({
6
+ uuid: z.string().uuid(),
7
+ query: z.string().nullable(),
8
+ url: z.string(),
9
+ snippet: z.string().nullable(),
10
+ inclusionReason: z.string().nullable(),
11
+ sourceOrigin: z.nativeEnum(WRITER_SOURCE_ORIGIN),
12
+ content: z.string().nullable(),
13
+ documentId: z.string().uuid(),
14
+ fileId: z.string().nullable(),
15
+ citation: z.string().nullable(),
16
+ status: z.nativeEnum(WRITER_SOURCE_STATUS),
17
+ bibliographicMetadata: WriterSourceBibliographicMetadataSchema.nullable(),
18
+ createdAt: z.date(),
19
+ updatedAt: z.date(),
20
+ });
21
+
22
+ export type WriterSource = z.infer<typeof WriterSourceSchema>;
@@ -0,0 +1,15 @@
1
+ import { z } from 'zod';
2
+ import { ICommandResponseSchema } from '../../common/models/command-response.schema';
3
+ import { WriterSourceSchema } from '../models';
4
+
5
+ export namespace GetWriterDocumentSourcesQueryContract {
6
+ export const RequestSchema = z.object({
7
+ uuid: z.string().uuid(),
8
+ userId: z.string().uuid().nullable().optional(),
9
+ unregisteredUserId: z.string().uuid().nullable().optional(),
10
+ });
11
+ export type Request = z.infer<typeof RequestSchema>;
12
+
13
+ export const ResponseSchema = ICommandResponseSchema(z.array(WriterSourceSchema));
14
+ export type Response = z.infer<typeof ResponseSchema>;
15
+ }
@@ -1,3 +1,4 @@
1
1
  export * from './find-writer-documents.query';
2
2
  export * from './get-writer-config.query';
3
3
  export * from './find-writer-document-by-uuid.query';
4
+ export * from './get-writer-document-sources.query';
@@ -10,6 +10,12 @@ export const WRITER_AMQP_ROUTES = {
10
10
  TOGGLE_DOCUMENT_TITLE_PAGE: 'tools.writer.toggle-document-title-page.rpc',
11
11
  UPDATE_DOCUMENT_CONTENTS: 'tools.writer.update-document-contents.rpc',
12
12
  GENERATE_DOCUMENT_CONTENTS: 'tools.writer.generate-document-contents.rpc',
13
+ GENERATE_DOCUMENT_OUTLINE: 'tools.writer.generate-document-outline.rpc',
14
+ COLLECT_SOURCES: 'tools.writer.collect-sources.rpc',
15
+ GET_DOCUMENT_SOURCES: 'tools.writer.get-document-sources.rpc',
16
+ UPLOAD_SOURCE: 'tools.writer.upload-source.rpc',
17
+ CONFIRM_SOURCE_CITATION_METADATA: 'tools.writer.confirm-source-citation-metadata.rpc',
18
+ DISCARD_SOURCE: 'tools.writer.discard-source.rpc',
13
19
  GET_CONTENT_GENERATION_PRICE: 'tools.writer.content-generation.get-price.rpc',
14
20
  PARAPHRASE: 'tools.writer.actions.paraphrase.rpc',
15
21
  EXTEND_TEXT: 'tools.writer.actions.extend-text.rpc',