@purpleschool/gptbot-tools 0.2.67-stage2 → 0.2.67

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 (280) hide show
  1. package/build/ai-proxy/routes/ai-proxy.routes.d.ts +0 -1
  2. package/build/ai-proxy/routes/ai-proxy.routes.js +0 -1
  3. package/build/diagrams/commands/diagrams.command.d.ts +1 -0
  4. package/build/diagrams/commands/diagrams.command.js +1 -0
  5. package/build/diagrams/commands/edit-diagrams-job.command.d.ts +1 -0
  6. package/build/diagrams/commands/edit-diagrams-job.command.js +1 -0
  7. package/build/diagrams/commands/retry-diagrams-job.command.d.ts +1 -0
  8. package/build/diagrams/commands/retry-diagrams-job.command.js +1 -0
  9. package/build/html-page-builder/commands/html-page-builder-execute.command.d.ts +1 -0
  10. package/build/html-page-builder/commands/html-page-builder-execute.command.js +1 -0
  11. package/build/image-editor/commands/image-editor.command.d.ts +1 -0
  12. package/build/image-editor/commands/image-editor.command.js +1 -0
  13. package/build/image-editor/commands/retry-image-editor-job.command.d.ts +1 -0
  14. package/build/image-editor/commands/retry-image-editor-job.command.js +1 -0
  15. package/build/image-editor/enums/image-editor-strategy.enum.d.ts +1 -0
  16. package/build/image-editor/enums/image-editor-strategy.enum.js +1 -0
  17. package/build/image-generation/commands/execute-image-generation.command.d.ts +1 -0
  18. package/build/image-generation/commands/execute-image-generation.command.js +1 -0
  19. package/build/image-generation/commands/retry-image-generation-job.command.d.ts +1 -0
  20. package/build/image-generation/commands/retry-image-generation-job.command.js +1 -0
  21. package/build/image-generation/enums/image-generation-model-strategy.enum.d.ts +2 -1
  22. package/build/image-generation/enums/image-generation-model-strategy.enum.js +2 -0
  23. package/build/image-recognition/commands/image-recognition.command.d.ts +1 -0
  24. package/build/image-recognition/commands/image-recognition.command.js +1 -0
  25. package/build/image-recognition/commands/retry-image-recognition-job.command.d.ts +1 -0
  26. package/build/image-recognition/commands/retry-image-recognition-job.command.js +1 -0
  27. package/build/index.d.ts +0 -3
  28. package/build/index.js +0 -3
  29. package/build/interior-design/commands/interior-design.command.d.ts +1 -0
  30. package/build/interior-design/commands/interior-design.command.js +1 -0
  31. package/build/interior-design/commands/retry-interior-design-job.command.d.ts +1 -0
  32. package/build/interior-design/commands/retry-interior-design-job.command.js +1 -0
  33. package/build/marketplace-card/commands/execute-marketplace-card.command.d.ts +1 -0
  34. package/build/marketplace-card/commands/execute-marketplace-card.command.js +1 -0
  35. package/build/marketplace-card/commands/generate-marketplace-card-description.command.d.ts +1 -0
  36. package/build/marketplace-card/commands/generate-marketplace-card-description.command.js +1 -0
  37. package/build/marketplace-card/commands/retry-marketplace-card-job.command.d.ts +1 -0
  38. package/build/marketplace-card/commands/retry-marketplace-card-job.command.js +1 -0
  39. package/build/music/commands/boost-music-style.command.d.ts +1 -0
  40. package/build/music/commands/boost-music-style.command.js +1 -0
  41. package/build/music/commands/convert-to-wav.command.d.ts +1 -0
  42. package/build/music/commands/convert-to-wav.command.js +1 -0
  43. package/build/music/commands/edit-music.command.d.ts +1 -0
  44. package/build/music/commands/generate-lyrics.command.d.ts +1 -0
  45. package/build/music/commands/generate-lyrics.command.js +1 -0
  46. package/build/music/commands/generate-music.command.d.ts +1 -0
  47. package/build/music/commands/generate-music.command.js +1 -0
  48. package/build/music/commands/retry-music-job.command.d.ts +1 -0
  49. package/build/music/commands/retry-music-job.command.js +1 -0
  50. package/build/music/models/music-job.schema.d.ts +1 -0
  51. package/build/music/models/music-job.schema.js +1 -0
  52. package/build/paraphrase/commands/paraphrase.command.d.ts +1 -0
  53. package/build/paraphrase/commands/paraphrase.command.js +1 -0
  54. package/build/paraphrase/commands/retry-paraphrase-job.command.d.ts +1 -0
  55. package/build/paraphrase/commands/retry-paraphrase-job.command.js +1 -0
  56. package/build/presentation/commands/create-presentation.command.d.ts +1 -0
  57. package/build/presentation/commands/create-presentation.command.js +1 -0
  58. package/build/presentation/commands/generate-and-insert-slide.command.d.ts +1 -0
  59. package/build/presentation/commands/generate-and-insert-slide.command.js +1 -0
  60. package/build/presentation/commands/generate-presentation-outline.command.d.ts +1 -0
  61. package/build/presentation/commands/generate-presentation-outline.command.js +1 -0
  62. package/build/presentation/commands/generate-slides.command.d.ts +1 -0
  63. package/build/presentation/commands/generate-slides.command.js +1 -0
  64. package/build/presentation/commands/presentation-generate-report.command.d.ts +1 -0
  65. package/build/presentation/commands/presentation-generate-report.command.js +1 -0
  66. package/build/presentation/commands/presentation-paraphrase.command.d.ts +1 -0
  67. package/build/presentation/commands/presentation-paraphrase.command.js +1 -0
  68. package/build/presentation/commands/update-slide-image-slot.command.d.ts +1 -0
  69. package/build/presentation/commands/update-slide-image-slot.command.js +1 -0
  70. package/build/solving-edu-task/commands/retry-solving-edu-task-job.command.d.ts +1 -0
  71. package/build/solving-edu-task/commands/retry-solving-edu-task-job.command.js +1 -0
  72. package/build/solving-edu-task/commands/solving-edu-task.command.d.ts +1 -0
  73. package/build/solving-edu-task/commands/solving-edu-task.command.js +1 -0
  74. package/build/sound-generation/commands/retry-sound-generation-job.command.d.ts +1 -0
  75. package/build/sound-generation/commands/retry-sound-generation-job.command.js +1 -0
  76. package/build/sound-generation/commands/sound-generation.command.d.ts +1 -0
  77. package/build/sound-generation/commands/sound-generation.command.js +1 -0
  78. package/build/spell-corrector/commands/retry-spell-corrector-job.command.d.ts +1 -0
  79. package/build/spell-corrector/commands/retry-spell-corrector-job.command.js +1 -0
  80. package/build/spell-corrector/commands/spell-corrector.command.d.ts +1 -0
  81. package/build/spell-corrector/commands/spell-corrector.command.js +1 -0
  82. package/build/stt/commands/retry-stt-job.command.d.ts +1 -0
  83. package/build/stt/commands/retry-stt-job.command.js +1 -0
  84. package/build/stt/commands/stt.command.d.ts +1 -0
  85. package/build/stt/commands/stt.command.js +1 -0
  86. package/build/tools/enums/tool-content-type.enum.d.ts +0 -1
  87. package/build/tools/enums/tool-content-type.enum.js +0 -1
  88. package/build/tools/enums/tool-group.enum.d.ts +1 -1
  89. package/build/tools/enums/tool-group.enum.js +1 -1
  90. package/build/tools/enums/tool-type.enum.d.ts +0 -1
  91. package/build/tools/enums/tool-type.enum.js +0 -1
  92. package/build/tools/events/tool-job-complete.event.d.ts +0 -1
  93. package/build/tools/events/tool-job-failed.event.d.ts +0 -1
  94. package/build/tools/models/global-tools-config.schema.d.ts +0 -76
  95. package/build/tools/models/global-tools-config.schema.js +0 -2
  96. package/build/tools/models/tool-group.schema.d.ts +1 -0
  97. package/build/tools/models/tool-group.schema.js +1 -0
  98. package/build/tools/models/tool-job.schema.d.ts +0 -1
  99. package/build/tools/models/tool-job.schema.js +0 -1
  100. package/build/tools/models/tools-with-configs.schema.d.ts +0 -22
  101. package/build/tools/queries/find-grouped-tools.query.d.ts +2 -0
  102. package/build/tools/queries/get-global-tools-config.query.d.ts +0 -152
  103. package/build/tools/queries/get-tools-with-configs.query.d.ts +0 -22
  104. package/build/tts/commands/index.d.ts +0 -7
  105. package/build/tts/commands/index.js +0 -7
  106. package/build/tts/commands/retry-tts-job.command.d.ts +3 -29
  107. package/build/tts/commands/retry-tts-job.command.js +1 -2
  108. package/build/tts/commands/set-reaction-to-tts-job.command.d.ts +2 -29
  109. package/build/tts/commands/set-reaction-to-tts-job.command.js +0 -1
  110. package/build/tts/commands/tts.command.d.ts +4 -35
  111. package/build/tts/commands/tts.command.js +2 -4
  112. package/build/tts/commands/update-tts-job-favorite.command.d.ts +2 -29
  113. package/build/tts/commands/update-tts-job-favorite.command.js +0 -2
  114. package/build/tts/commands/update-tts-job-title.command.d.ts +2 -29
  115. package/build/tts/commands/update-tts-job-title.command.js +0 -2
  116. package/build/tts/enums/index.d.ts +0 -7
  117. package/build/tts/enums/index.js +0 -7
  118. package/build/tts/models/index.d.ts +0 -7
  119. package/build/tts/models/index.js +0 -7
  120. package/build/tts/models/tts-config-with-vendors.schema.d.ts +0 -1
  121. package/build/tts/models/tts-config.schema.d.ts +0 -11
  122. package/build/tts/models/tts-config.schema.js +0 -5
  123. package/build/tts/models/tts-job.schema.d.ts +2 -34
  124. package/build/tts/models/tts-job.schema.js +2 -22
  125. package/build/tts/models/tts-model-with-vendor.schema.d.ts +0 -1
  126. package/build/tts/models/tts-model.schema.d.ts +0 -1
  127. package/build/tts/models/tts-model.schema.js +0 -1
  128. package/build/tts/queries/find-tts-job-by-id.query.d.ts +2 -29
  129. package/build/tts/queries/find-tts-job-by-id.query.js +0 -2
  130. package/build/tts/queries/find-tts-jobs.query.d.ts +2 -29
  131. package/build/tts/queries/find-tts-jobs.query.js +0 -1
  132. package/build/tts/queries/get-tts-config-with-vendors.query.d.ts +0 -2
  133. package/build/tts/queries/get-tts-config.query.d.ts +0 -22
  134. package/build/tts/queries/index.d.ts +0 -2
  135. package/build/tts/queries/index.js +0 -2
  136. package/build/tts/routes/tts.amqp.routes.d.ts +0 -9
  137. package/build/tts/routes/tts.amqp.routes.js +0 -9
  138. package/build/video/commands/retry-video-job.command.d.ts +1 -0
  139. package/build/video/commands/retry-video-job.command.js +1 -0
  140. package/build/video/commands/video.command.d.ts +1 -0
  141. package/build/video/commands/video.command.js +1 -0
  142. package/build/video/enums/video-strategy.enum.d.ts +2 -1
  143. package/build/video/enums/video-strategy.enum.js +1 -0
  144. package/build/video-editor/commands/edit-video.command.d.ts +1 -0
  145. package/build/video-editor/commands/edit-video.command.js +1 -0
  146. package/build/video-editor/commands/retry-video-editor-job.command.d.ts +1 -0
  147. package/build/video-editor/commands/retry-video-editor-job.command.js +1 -0
  148. package/build/writer/commands/collect-sources.command.d.ts +1 -0
  149. package/build/writer/commands/collect-sources.command.js +1 -0
  150. package/build/writer/commands/create-writer-document.command.d.ts +1 -0
  151. package/build/writer/commands/create-writer-document.command.js +1 -0
  152. package/build/writer/commands/generate-document-contents.command.d.ts +1 -0
  153. package/build/writer/commands/generate-document-contents.command.js +1 -0
  154. package/build/writer/commands/generate-document-outline.command.d.ts +1 -0
  155. package/build/writer/commands/generate-document-outline.command.js +1 -0
  156. package/build/writer/commands/writer-extend-text.command.d.ts +1 -0
  157. package/build/writer/commands/writer-extend-text.command.js +1 -0
  158. package/build/writer/commands/writer-fix-errors.command.d.ts +1 -0
  159. package/build/writer/commands/writer-fix-errors.command.js +1 -0
  160. package/build/writer/commands/writer-generate-text.command.d.ts +1 -0
  161. package/build/writer/commands/writer-generate-text.command.js +1 -0
  162. package/build/writer/commands/writer-paraphrase.command.d.ts +1 -0
  163. package/build/writer/commands/writer-paraphrase.command.js +1 -0
  164. package/build/writer/commands/writer-shorten-text.command.d.ts +1 -0
  165. package/build/writer/commands/writer-shorten-text.command.js +1 -0
  166. package/package.json +1 -1
  167. package/build/photo-sessions/commands/admin/create-photo-session-style.command.d.ts +0 -58
  168. package/build/photo-sessions/commands/admin/create-photo-session-style.command.js +0 -21
  169. package/build/photo-sessions/commands/admin/delete-photo-session-style.command.d.ts +0 -14
  170. package/build/photo-sessions/commands/admin/delete-photo-session-style.command.js +0 -12
  171. package/build/photo-sessions/commands/admin/index.d.ts +0 -3
  172. package/build/photo-sessions/commands/admin/index.js +0 -19
  173. package/build/photo-sessions/commands/admin/update-photo-session-style.command.d.ts +0 -54
  174. package/build/photo-sessions/commands/admin/update-photo-session-style.command.js +0 -18
  175. package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.d.ts +0 -17
  176. package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.js +0 -19
  177. package/build/photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.d.ts +0 -16
  178. package/build/photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.js +0 -14
  179. package/build/photo-sessions/commands/get-photo-sessions-price.command.d.ts +0 -74
  180. package/build/photo-sessions/commands/get-photo-sessions-price.command.js +0 -28
  181. package/build/photo-sessions/commands/index.d.ts +0 -10
  182. package/build/photo-sessions/commands/index.js +0 -26
  183. package/build/photo-sessions/commands/photo-sessions.command.d.ts +0 -272
  184. package/build/photo-sessions/commands/photo-sessions.command.js +0 -37
  185. package/build/photo-sessions/commands/retry-photo-sessions-job.command.d.ts +0 -179
  186. package/build/photo-sessions/commands/retry-photo-sessions-job.command.js +0 -17
  187. package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.d.ts +0 -181
  188. package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.js +0 -27
  189. package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.d.ts +0 -179
  190. package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.js +0 -16
  191. package/build/photo-sessions/commands/update-photo-sessions-job-title.command.d.ts +0 -217
  192. package/build/photo-sessions/commands/update-photo-sessions-job-title.command.js +0 -16
  193. package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.d.ts +0 -184
  194. package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.js +0 -26
  195. package/build/photo-sessions/enums/index.d.ts +0 -3
  196. package/build/photo-sessions/enums/index.js +0 -19
  197. package/build/photo-sessions/enums/photo-session-group-status.enum.d.ts +0 -6
  198. package/build/photo-sessions/enums/photo-session-group-status.enum.js +0 -10
  199. package/build/photo-sessions/enums/photo-session-look-type.enum.d.ts +0 -5
  200. package/build/photo-sessions/enums/photo-session-look-type.enum.js +0 -9
  201. package/build/photo-sessions/enums/photo-session-strategy.enum.d.ts +0 -4
  202. package/build/photo-sessions/enums/photo-session-strategy.enum.js +0 -8
  203. package/build/photo-sessions/index.d.ts +0 -5
  204. package/build/photo-sessions/index.js +0 -21
  205. package/build/photo-sessions/models/index.d.ts +0 -5
  206. package/build/photo-sessions/models/index.js +0 -21
  207. package/build/photo-sessions/models/photo-session-config.schema.d.ts +0 -72
  208. package/build/photo-sessions/models/photo-session-config.schema.js +0 -16
  209. package/build/photo-sessions/models/photo-session-group.schema.d.ts +0 -113
  210. package/build/photo-sessions/models/photo-session-group.schema.js +0 -27
  211. package/build/photo-sessions/models/photo-session-job.schema.d.ts +0 -159
  212. package/build/photo-sessions/models/photo-session-job.schema.js +0 -55
  213. package/build/photo-sessions/models/photo-session-model.schema.d.ts +0 -69
  214. package/build/photo-sessions/models/photo-session-model.schema.js +0 -42
  215. package/build/photo-sessions/models/photo-session-style.schema.d.ts +0 -29
  216. package/build/photo-sessions/models/photo-session-style.schema.js +0 -22
  217. package/build/photo-sessions/queries/find-photo-session-style-by-id.query.d.ts +0 -46
  218. package/build/photo-sessions/queries/find-photo-session-style-by-id.query.js +0 -10
  219. package/build/photo-sessions/queries/find-photo-session-styles.query.d.ts +0 -57
  220. package/build/photo-sessions/queries/find-photo-session-styles.query.js +0 -19
  221. package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.d.ts +0 -216
  222. package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.js +0 -18
  223. package/build/photo-sessions/queries/find-photo-sessions-jobs.query.d.ts +0 -235
  224. package/build/photo-sessions/queries/find-photo-sessions-jobs.query.js +0 -33
  225. package/build/photo-sessions/queries/get-photo-sessions-config.query.d.ts +0 -142
  226. package/build/photo-sessions/queries/get-photo-sessions-config.query.js +0 -10
  227. package/build/photo-sessions/queries/index.d.ts +0 -5
  228. package/build/photo-sessions/queries/index.js +0 -21
  229. package/build/photo-sessions/routes/index.d.ts +0 -2
  230. package/build/photo-sessions/routes/index.js +0 -18
  231. package/build/photo-sessions/routes/photo-sessions.amqp.routes.d.ts +0 -19
  232. package/build/photo-sessions/routes/photo-sessions.amqp.routes.js +0 -22
  233. package/build/photo-sessions/routes/photo-sessions.http.routes.d.ts +0 -1
  234. package/build/photo-sessions/routes/photo-sessions.http.routes.js +0 -4
  235. package/build/tts/commands/create-voice-clone.command.d.ts +0 -81
  236. package/build/tts/commands/create-voice-clone.command.js +0 -21
  237. package/build/tts/commands/create-voice-design.command.d.ts +0 -40
  238. package/build/tts/commands/create-voice-design.command.js +0 -20
  239. package/build/tts/commands/delete-voice.command.d.ts +0 -17
  240. package/build/tts/commands/delete-voice.command.js +0 -14
  241. package/build/tts/commands/download-tts-job.command.d.ts +0 -25
  242. package/build/tts/commands/download-tts-job.command.js +0 -19
  243. package/build/tts/commands/improve-tts-text.command.d.ts +0 -22
  244. package/build/tts/commands/improve-tts-text.command.js +0 -16
  245. package/build/tts/commands/select-voice-design.command.d.ts +0 -77
  246. package/build/tts/commands/select-voice-design.command.js +0 -17
  247. package/build/tts/commands/update-voice.command.d.ts +0 -78
  248. package/build/tts/commands/update-voice.command.js +0 -18
  249. package/build/tts/enums/tts-download-format.enum.d.ts +0 -5
  250. package/build/tts/enums/tts-download-format.enum.js +0 -9
  251. package/build/tts/enums/voice-category.enum.d.ts +0 -19
  252. package/build/tts/enums/voice-category.enum.js +0 -23
  253. package/build/tts/enums/voice-gender.enum.d.ts +0 -4
  254. package/build/tts/enums/voice-gender.enum.js +0 -8
  255. package/build/tts/enums/voice-source.enum.d.ts +0 -5
  256. package/build/tts/enums/voice-source.enum.js +0 -9
  257. package/build/tts/enums/voice-status.enum.d.ts +0 -5
  258. package/build/tts/enums/voice-status.enum.js +0 -9
  259. package/build/tts/enums/voice-tag-group.enum.d.ts +0 -5
  260. package/build/tts/enums/voice-tag-group.enum.js +0 -9
  261. package/build/tts/enums/voice-tag.enum.d.ts +0 -20
  262. package/build/tts/enums/voice-tag.enum.js +0 -24
  263. package/build/tts/models/voice-category.schema.d.ts +0 -7
  264. package/build/tts/models/voice-category.schema.js +0 -9
  265. package/build/tts/models/voice-design-draft.schema.d.ts +0 -13
  266. package/build/tts/models/voice-design-draft.schema.js +0 -13
  267. package/build/tts/models/voice-design-sample.schema.d.ts +0 -6
  268. package/build/tts/models/voice-design-sample.schema.js +0 -8
  269. package/build/tts/models/voice-gender.schema.d.ts +0 -7
  270. package/build/tts/models/voice-gender.schema.js +0 -9
  271. package/build/tts/models/voice-source.schema.d.ts +0 -7
  272. package/build/tts/models/voice-source.schema.js +0 -9
  273. package/build/tts/models/voice-tag.schema.d.ts +0 -9
  274. package/build/tts/models/voice-tag.schema.js +0 -11
  275. package/build/tts/models/voice.schema.d.ts +0 -34
  276. package/build/tts/models/voice.schema.js +0 -30
  277. package/build/tts/queries/find-voice-by-id.query.d.ts +0 -77
  278. package/build/tts/queries/find-voice-by-id.query.js +0 -17
  279. package/build/tts/queries/find-voices.query.d.ts +0 -122
  280. package/build/tts/queries/find-voices.query.js +0 -25
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SetReactionToPhotoSessionsJobCommand = void 0;
4
- const zod_1 = require("zod");
5
- const command_response_schema_1 = require("../../common/models/command-response.schema");
6
- const models_1 = require("../models");
7
- const common_1 = require("../../common");
8
- var SetReactionToPhotoSessionsJobCommand;
9
- (function (SetReactionToPhotoSessionsJobCommand) {
10
- SetReactionToPhotoSessionsJobCommand.RequestSchema = zod_1.z
11
- .object({
12
- userId: zod_1.z.string().uuid().nullable().optional(),
13
- unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
14
- uuid: zod_1.z.string().uuid(),
15
- reaction: zod_1.z.nativeEnum(common_1.USER_REACTION).nullable(),
16
- dislikeReason: zod_1.z.string().nullable().optional(),
17
- })
18
- .refine((data) => {
19
- if (data.reaction !== common_1.USER_REACTION.DISLIKED && data.dislikeReason) {
20
- return false;
21
- }
22
- return true;
23
- }, {
24
- message: 'Dislike reason is not allowed when reaction is not disliked',
25
- });
26
- SetReactionToPhotoSessionsJobCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.PhotoSessionJobSchema);
27
- })(SetReactionToPhotoSessionsJobCommand || (exports.SetReactionToPhotoSessionsJobCommand = SetReactionToPhotoSessionsJobCommand = {}));
@@ -1,179 +0,0 @@
1
- import { z } from 'zod';
2
- export declare namespace UpdatePhotoSessionsJobFavoriteCommand {
3
- const RequestSchema: z.ZodObject<{
4
- uuid: z.ZodString;
5
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
- unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
- isFavorite: z.ZodBoolean;
8
- }, z.core.$strip>;
9
- type Request = z.infer<typeof RequestSchema>;
10
- const ResponseSchema: z.ZodObject<{
11
- isSuccess: z.ZodBoolean;
12
- data: z.ZodOptional<z.ZodType<{
13
- uuid: string;
14
- prompt: string;
15
- reaction: import("../..").USER_REACTION | null;
16
- dislikeReason: string | null;
17
- externalId: string | null;
18
- title: string;
19
- status: import("../..").JOB_STATUS.PENDING | import("../..").JOB_STATUS.COMPLETED | import("../..").JOB_STATUS.FAILED;
20
- error: string | null;
21
- modelId: string;
22
- groupId: string;
23
- previewUrl: string | null;
24
- params: {
25
- attachedFiles?: {
26
- uuid: string;
27
- url: string;
28
- name: string;
29
- mimeType: string;
30
- type: string;
31
- size: number;
32
- duration?: number | null | undefined;
33
- content?: string | null | undefined;
34
- contentLength?: number | null | undefined;
35
- }[] | undefined;
36
- styleReferenceImageUrl?: string | undefined;
37
- styleId?: string | null | undefined;
38
- referenceId?: string | null | undefined;
39
- photosCount?: number | undefined;
40
- clothingPhotos?: {
41
- uuid: string;
42
- url: string;
43
- name: string;
44
- mimeType: string;
45
- type: string;
46
- size: number;
47
- duration?: number | null | undefined;
48
- content?: string | null | undefined;
49
- contentLength?: number | null | undefined;
50
- }[] | undefined;
51
- hairstylePhotos?: {
52
- uuid: string;
53
- url: string;
54
- name: string;
55
- mimeType: string;
56
- type: string;
57
- size: number;
58
- duration?: number | null | undefined;
59
- content?: string | null | undefined;
60
- contentLength?: number | null | undefined;
61
- }[] | undefined;
62
- accessoriesPhotos?: {
63
- uuid: string;
64
- url: string;
65
- name: string;
66
- mimeType: string;
67
- type: string;
68
- size: number;
69
- duration?: number | null | undefined;
70
- content?: string | null | undefined;
71
- contentLength?: number | null | undefined;
72
- }[] | undefined;
73
- aspectRatio?: string | undefined;
74
- userHasActiveSubscriptionOrProduct?: boolean | undefined;
75
- };
76
- imageUrls: string[] | null;
77
- attempts: {
78
- order: number;
79
- attemptId?: string | undefined;
80
- status: import("../..").JOB_STATUS.PENDING | import("../..").JOB_STATUS.COMPLETED | import("../..").JOB_STATUS.FAILED;
81
- error: string | null;
82
- timestamp: Date;
83
- }[];
84
- userId?: string | null | undefined;
85
- unregisteredUserId?: string | null | undefined;
86
- isPublished: boolean;
87
- postId: string | null;
88
- isDeleted: boolean;
89
- isFavorite: boolean;
90
- createdAt: Date;
91
- completedAt?: Date | null | undefined;
92
- updatedAt: Date;
93
- }, unknown, z.core.$ZodTypeInternals<{
94
- uuid: string;
95
- prompt: string;
96
- reaction: import("../..").USER_REACTION | null;
97
- dislikeReason: string | null;
98
- externalId: string | null;
99
- title: string;
100
- status: import("../..").JOB_STATUS.PENDING | import("../..").JOB_STATUS.COMPLETED | import("../..").JOB_STATUS.FAILED;
101
- error: string | null;
102
- modelId: string;
103
- groupId: string;
104
- previewUrl: string | null;
105
- params: {
106
- attachedFiles?: {
107
- uuid: string;
108
- url: string;
109
- name: string;
110
- mimeType: string;
111
- type: string;
112
- size: number;
113
- duration?: number | null | undefined;
114
- content?: string | null | undefined;
115
- contentLength?: number | null | undefined;
116
- }[] | undefined;
117
- styleReferenceImageUrl?: string | undefined;
118
- styleId?: string | null | undefined;
119
- referenceId?: string | null | undefined;
120
- photosCount?: number | undefined;
121
- clothingPhotos?: {
122
- uuid: string;
123
- url: string;
124
- name: string;
125
- mimeType: string;
126
- type: string;
127
- size: number;
128
- duration?: number | null | undefined;
129
- content?: string | null | undefined;
130
- contentLength?: number | null | undefined;
131
- }[] | undefined;
132
- hairstylePhotos?: {
133
- uuid: string;
134
- url: string;
135
- name: string;
136
- mimeType: string;
137
- type: string;
138
- size: number;
139
- duration?: number | null | undefined;
140
- content?: string | null | undefined;
141
- contentLength?: number | null | undefined;
142
- }[] | undefined;
143
- accessoriesPhotos?: {
144
- uuid: string;
145
- url: string;
146
- name: string;
147
- mimeType: string;
148
- type: string;
149
- size: number;
150
- duration?: number | null | undefined;
151
- content?: string | null | undefined;
152
- contentLength?: number | null | undefined;
153
- }[] | undefined;
154
- aspectRatio?: string | undefined;
155
- userHasActiveSubscriptionOrProduct?: boolean | undefined;
156
- };
157
- imageUrls: string[] | null;
158
- attempts: {
159
- order: number;
160
- attemptId?: string | undefined;
161
- status: import("../..").JOB_STATUS.PENDING | import("../..").JOB_STATUS.COMPLETED | import("../..").JOB_STATUS.FAILED;
162
- error: string | null;
163
- timestamp: Date;
164
- }[];
165
- userId?: string | null | undefined;
166
- unregisteredUserId?: string | null | undefined;
167
- isPublished: boolean;
168
- postId: string | null;
169
- isDeleted: boolean;
170
- isFavorite: boolean;
171
- createdAt: Date;
172
- completedAt?: Date | null | undefined;
173
- updatedAt: Date;
174
- }, unknown>>>;
175
- code: z.ZodOptional<z.ZodString>;
176
- message: z.ZodOptional<z.ZodString>;
177
- }, z.core.$strip>;
178
- type Response = z.infer<typeof ResponseSchema>;
179
- }
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdatePhotoSessionsJobFavoriteCommand = void 0;
4
- const zod_1 = require("zod");
5
- const command_response_schema_1 = require("../../common/models/command-response.schema");
6
- const models_1 = require("../models");
7
- var UpdatePhotoSessionsJobFavoriteCommand;
8
- (function (UpdatePhotoSessionsJobFavoriteCommand) {
9
- UpdatePhotoSessionsJobFavoriteCommand.RequestSchema = zod_1.z.object({
10
- uuid: zod_1.z.string().uuid(),
11
- userId: zod_1.z.string().uuid().nullable().optional(),
12
- unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
13
- isFavorite: zod_1.z.boolean(),
14
- });
15
- UpdatePhotoSessionsJobFavoriteCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.PhotoSessionJobSchema);
16
- })(UpdatePhotoSessionsJobFavoriteCommand || (exports.UpdatePhotoSessionsJobFavoriteCommand = UpdatePhotoSessionsJobFavoriteCommand = {}));
@@ -1,217 +0,0 @@
1
- import { z } from 'zod';
2
- export declare namespace UpdatePhotoSessionsJobTitleCommand {
3
- const RequestSchema: z.ZodObject<{
4
- uuid: z.ZodString;
5
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
- unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
- title: z.ZodString;
8
- }, z.core.$strip>;
9
- type Request = z.infer<typeof RequestSchema>;
10
- const ResponseSchema: z.ZodObject<{
11
- isSuccess: z.ZodBoolean;
12
- data: z.ZodOptional<z.ZodType<{
13
- uuid: string;
14
- title: string;
15
- prompt: string;
16
- status: import("..").PHOTO_SESSION_GROUP_STATUS;
17
- error: string | null;
18
- modelId: string;
19
- price: number;
20
- tokenReservationId: string | null;
21
- params: unknown;
22
- attempts: unknown[];
23
- scope: import("../..").JOB_SCOPE;
24
- userId: string | null;
25
- unregisteredUserId: string | null;
26
- isDeleted: boolean;
27
- subJobs: {
28
- uuid: string;
29
- prompt: string;
30
- reaction: import("../..").USER_REACTION | null;
31
- dislikeReason: string | null;
32
- externalId: string | null;
33
- title: string;
34
- status: import("../..").JOB_STATUS.PENDING | import("../..").JOB_STATUS.COMPLETED | import("../..").JOB_STATUS.FAILED;
35
- error: string | null;
36
- modelId: string;
37
- groupId: string;
38
- previewUrl: string | null;
39
- params: {
40
- attachedFiles?: {
41
- uuid: string;
42
- url: string;
43
- name: string;
44
- mimeType: string;
45
- type: string;
46
- size: number;
47
- duration?: number | null | undefined;
48
- content?: string | null | undefined;
49
- contentLength?: number | null | undefined;
50
- }[] | undefined;
51
- styleReferenceImageUrl?: string | undefined;
52
- styleId?: string | null | undefined;
53
- referenceId?: string | null | undefined;
54
- photosCount?: number | undefined;
55
- clothingPhotos?: {
56
- uuid: string;
57
- url: string;
58
- name: string;
59
- mimeType: string;
60
- type: string;
61
- size: number;
62
- duration?: number | null | undefined;
63
- content?: string | null | undefined;
64
- contentLength?: number | null | undefined;
65
- }[] | undefined;
66
- hairstylePhotos?: {
67
- uuid: string;
68
- url: string;
69
- name: string;
70
- mimeType: string;
71
- type: string;
72
- size: number;
73
- duration?: number | null | undefined;
74
- content?: string | null | undefined;
75
- contentLength?: number | null | undefined;
76
- }[] | undefined;
77
- accessoriesPhotos?: {
78
- uuid: string;
79
- url: string;
80
- name: string;
81
- mimeType: string;
82
- type: string;
83
- size: number;
84
- duration?: number | null | undefined;
85
- content?: string | null | undefined;
86
- contentLength?: number | null | undefined;
87
- }[] | undefined;
88
- aspectRatio?: string | undefined;
89
- userHasActiveSubscriptionOrProduct?: boolean | undefined;
90
- };
91
- imageUrls: string[] | null;
92
- attempts: {
93
- order: number;
94
- attemptId?: string | undefined;
95
- status: import("../..").JOB_STATUS.PENDING | import("../..").JOB_STATUS.COMPLETED | import("../..").JOB_STATUS.FAILED;
96
- error: string | null;
97
- timestamp: Date;
98
- }[];
99
- userId?: string | null | undefined;
100
- unregisteredUserId?: string | null | undefined;
101
- isPublished: boolean;
102
- postId: string | null;
103
- isDeleted: boolean;
104
- isFavorite: boolean;
105
- createdAt: Date;
106
- completedAt?: Date | null | undefined;
107
- updatedAt: Date;
108
- }[];
109
- createdAt: Date;
110
- completedAt: Date | null;
111
- updatedAt: Date;
112
- }, unknown, z.core.$ZodTypeInternals<{
113
- uuid: string;
114
- title: string;
115
- prompt: string;
116
- status: import("..").PHOTO_SESSION_GROUP_STATUS;
117
- error: string | null;
118
- modelId: string;
119
- price: number;
120
- tokenReservationId: string | null;
121
- params: unknown;
122
- attempts: unknown[];
123
- scope: import("../..").JOB_SCOPE;
124
- userId: string | null;
125
- unregisteredUserId: string | null;
126
- isDeleted: boolean;
127
- subJobs: {
128
- uuid: string;
129
- prompt: string;
130
- reaction: import("../..").USER_REACTION | null;
131
- dislikeReason: string | null;
132
- externalId: string | null;
133
- title: string;
134
- status: import("../..").JOB_STATUS.PENDING | import("../..").JOB_STATUS.COMPLETED | import("../..").JOB_STATUS.FAILED;
135
- error: string | null;
136
- modelId: string;
137
- groupId: string;
138
- previewUrl: string | null;
139
- params: {
140
- attachedFiles?: {
141
- uuid: string;
142
- url: string;
143
- name: string;
144
- mimeType: string;
145
- type: string;
146
- size: number;
147
- duration?: number | null | undefined;
148
- content?: string | null | undefined;
149
- contentLength?: number | null | undefined;
150
- }[] | undefined;
151
- styleReferenceImageUrl?: string | undefined;
152
- styleId?: string | null | undefined;
153
- referenceId?: string | null | undefined;
154
- photosCount?: number | undefined;
155
- clothingPhotos?: {
156
- uuid: string;
157
- url: string;
158
- name: string;
159
- mimeType: string;
160
- type: string;
161
- size: number;
162
- duration?: number | null | undefined;
163
- content?: string | null | undefined;
164
- contentLength?: number | null | undefined;
165
- }[] | undefined;
166
- hairstylePhotos?: {
167
- uuid: string;
168
- url: string;
169
- name: string;
170
- mimeType: string;
171
- type: string;
172
- size: number;
173
- duration?: number | null | undefined;
174
- content?: string | null | undefined;
175
- contentLength?: number | null | undefined;
176
- }[] | undefined;
177
- accessoriesPhotos?: {
178
- uuid: string;
179
- url: string;
180
- name: string;
181
- mimeType: string;
182
- type: string;
183
- size: number;
184
- duration?: number | null | undefined;
185
- content?: string | null | undefined;
186
- contentLength?: number | null | undefined;
187
- }[] | undefined;
188
- aspectRatio?: string | undefined;
189
- userHasActiveSubscriptionOrProduct?: boolean | undefined;
190
- };
191
- imageUrls: string[] | null;
192
- attempts: {
193
- order: number;
194
- attemptId?: string | undefined;
195
- status: import("../..").JOB_STATUS.PENDING | import("../..").JOB_STATUS.COMPLETED | import("../..").JOB_STATUS.FAILED;
196
- error: string | null;
197
- timestamp: Date;
198
- }[];
199
- userId?: string | null | undefined;
200
- unregisteredUserId?: string | null | undefined;
201
- isPublished: boolean;
202
- postId: string | null;
203
- isDeleted: boolean;
204
- isFavorite: boolean;
205
- createdAt: Date;
206
- completedAt?: Date | null | undefined;
207
- updatedAt: Date;
208
- }[];
209
- createdAt: Date;
210
- completedAt: Date | null;
211
- updatedAt: Date;
212
- }, unknown>>>;
213
- code: z.ZodOptional<z.ZodString>;
214
- message: z.ZodOptional<z.ZodString>;
215
- }, z.core.$strip>;
216
- type Response = z.infer<typeof ResponseSchema>;
217
- }
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdatePhotoSessionsJobTitleCommand = void 0;
4
- const zod_1 = require("zod");
5
- const command_response_schema_1 = require("../../common/models/command-response.schema");
6
- const models_1 = require("../models");
7
- var UpdatePhotoSessionsJobTitleCommand;
8
- (function (UpdatePhotoSessionsJobTitleCommand) {
9
- UpdatePhotoSessionsJobTitleCommand.RequestSchema = zod_1.z.object({
10
- uuid: zod_1.z.string().uuid(),
11
- userId: zod_1.z.string().uuid().nullable().optional(),
12
- unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
13
- title: zod_1.z.string().min(1).max(40),
14
- });
15
- UpdatePhotoSessionsJobTitleCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.PhotoSessionGroupSchema);
16
- })(UpdatePhotoSessionsJobTitleCommand || (exports.UpdatePhotoSessionsJobTitleCommand = UpdatePhotoSessionsJobTitleCommand = {}));
@@ -1,184 +0,0 @@
1
- import { z } from 'zod';
2
- export declare namespace UpdatePublishedStatusPhotoSessionsJobsCommand {
3
- const RequestSchema: z.ZodObject<{
4
- criteria: z.ZodObject<{
5
- uuid: z.ZodString;
6
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
- unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
- }, z.core.$strip>;
9
- data: z.ZodObject<{
10
- isPublished: z.ZodBoolean;
11
- postId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- }, z.core.$strip>;
13
- }, z.core.$strip>;
14
- type Request = z.infer<typeof RequestSchema>;
15
- const ResponseSchema: z.ZodObject<{
16
- isSuccess: z.ZodBoolean;
17
- data: z.ZodOptional<z.ZodType<{
18
- uuid: string;
19
- prompt: string;
20
- reaction: import("../..").USER_REACTION | null;
21
- dislikeReason: string | null;
22
- externalId: string | null;
23
- title: string;
24
- status: import("../..").JOB_STATUS.PENDING | import("../..").JOB_STATUS.COMPLETED | import("../..").JOB_STATUS.FAILED;
25
- error: string | null;
26
- modelId: string;
27
- groupId: string;
28
- previewUrl: string | null;
29
- params: {
30
- attachedFiles?: {
31
- uuid: string;
32
- url: string;
33
- name: string;
34
- mimeType: string;
35
- type: string;
36
- size: number;
37
- duration?: number | null | undefined;
38
- content?: string | null | undefined;
39
- contentLength?: number | null | undefined;
40
- }[] | undefined;
41
- styleReferenceImageUrl?: string | undefined;
42
- styleId?: string | null | undefined;
43
- referenceId?: string | null | undefined;
44
- photosCount?: number | undefined;
45
- clothingPhotos?: {
46
- uuid: string;
47
- url: string;
48
- name: string;
49
- mimeType: string;
50
- type: string;
51
- size: number;
52
- duration?: number | null | undefined;
53
- content?: string | null | undefined;
54
- contentLength?: number | null | undefined;
55
- }[] | undefined;
56
- hairstylePhotos?: {
57
- uuid: string;
58
- url: string;
59
- name: string;
60
- mimeType: string;
61
- type: string;
62
- size: number;
63
- duration?: number | null | undefined;
64
- content?: string | null | undefined;
65
- contentLength?: number | null | undefined;
66
- }[] | undefined;
67
- accessoriesPhotos?: {
68
- uuid: string;
69
- url: string;
70
- name: string;
71
- mimeType: string;
72
- type: string;
73
- size: number;
74
- duration?: number | null | undefined;
75
- content?: string | null | undefined;
76
- contentLength?: number | null | undefined;
77
- }[] | undefined;
78
- aspectRatio?: string | undefined;
79
- userHasActiveSubscriptionOrProduct?: boolean | undefined;
80
- };
81
- imageUrls: string[] | null;
82
- attempts: {
83
- order: number;
84
- attemptId?: string | undefined;
85
- status: import("../..").JOB_STATUS.PENDING | import("../..").JOB_STATUS.COMPLETED | import("../..").JOB_STATUS.FAILED;
86
- error: string | null;
87
- timestamp: Date;
88
- }[];
89
- userId?: string | null | undefined;
90
- unregisteredUserId?: string | null | undefined;
91
- isPublished: boolean;
92
- postId: string | null;
93
- isDeleted: boolean;
94
- isFavorite: boolean;
95
- createdAt: Date;
96
- completedAt?: Date | null | undefined;
97
- updatedAt: Date;
98
- }, unknown, z.core.$ZodTypeInternals<{
99
- uuid: string;
100
- prompt: string;
101
- reaction: import("../..").USER_REACTION | null;
102
- dislikeReason: string | null;
103
- externalId: string | null;
104
- title: string;
105
- status: import("../..").JOB_STATUS.PENDING | import("../..").JOB_STATUS.COMPLETED | import("../..").JOB_STATUS.FAILED;
106
- error: string | null;
107
- modelId: string;
108
- groupId: string;
109
- previewUrl: string | null;
110
- params: {
111
- attachedFiles?: {
112
- uuid: string;
113
- url: string;
114
- name: string;
115
- mimeType: string;
116
- type: string;
117
- size: number;
118
- duration?: number | null | undefined;
119
- content?: string | null | undefined;
120
- contentLength?: number | null | undefined;
121
- }[] | undefined;
122
- styleReferenceImageUrl?: string | undefined;
123
- styleId?: string | null | undefined;
124
- referenceId?: string | null | undefined;
125
- photosCount?: number | undefined;
126
- clothingPhotos?: {
127
- uuid: string;
128
- url: string;
129
- name: string;
130
- mimeType: string;
131
- type: string;
132
- size: number;
133
- duration?: number | null | undefined;
134
- content?: string | null | undefined;
135
- contentLength?: number | null | undefined;
136
- }[] | undefined;
137
- hairstylePhotos?: {
138
- uuid: string;
139
- url: string;
140
- name: string;
141
- mimeType: string;
142
- type: string;
143
- size: number;
144
- duration?: number | null | undefined;
145
- content?: string | null | undefined;
146
- contentLength?: number | null | undefined;
147
- }[] | undefined;
148
- accessoriesPhotos?: {
149
- uuid: string;
150
- url: string;
151
- name: string;
152
- mimeType: string;
153
- type: string;
154
- size: number;
155
- duration?: number | null | undefined;
156
- content?: string | null | undefined;
157
- contentLength?: number | null | undefined;
158
- }[] | undefined;
159
- aspectRatio?: string | undefined;
160
- userHasActiveSubscriptionOrProduct?: boolean | undefined;
161
- };
162
- imageUrls: string[] | null;
163
- attempts: {
164
- order: number;
165
- attemptId?: string | undefined;
166
- status: import("../..").JOB_STATUS.PENDING | import("../..").JOB_STATUS.COMPLETED | import("../..").JOB_STATUS.FAILED;
167
- error: string | null;
168
- timestamp: Date;
169
- }[];
170
- userId?: string | null | undefined;
171
- unregisteredUserId?: string | null | undefined;
172
- isPublished: boolean;
173
- postId: string | null;
174
- isDeleted: boolean;
175
- isFavorite: boolean;
176
- createdAt: Date;
177
- completedAt?: Date | null | undefined;
178
- updatedAt: Date;
179
- }, unknown>>>;
180
- code: z.ZodOptional<z.ZodString>;
181
- message: z.ZodOptional<z.ZodString>;
182
- }, z.core.$strip>;
183
- type Response = z.infer<typeof ResponseSchema>;
184
- }
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdatePublishedStatusPhotoSessionsJobsCommand = void 0;
4
- const zod_1 = require("zod");
5
- const command_response_schema_1 = require("../../common/models/command-response.schema");
6
- const models_1 = require("../models");
7
- var UpdatePublishedStatusPhotoSessionsJobsCommand;
8
- (function (UpdatePublishedStatusPhotoSessionsJobsCommand) {
9
- UpdatePublishedStatusPhotoSessionsJobsCommand.RequestSchema = zod_1.z.object({
10
- criteria: zod_1.z.object({
11
- uuid: zod_1.z.string().uuid(),
12
- userId: zod_1.z.string().uuid().nullable().optional(),
13
- unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
14
- }),
15
- data: zod_1.z
16
- .object({
17
- isPublished: zod_1.z.boolean(),
18
- postId: zod_1.z.string().nullable().optional(),
19
- })
20
- .refine((data) => (data.isPublished ? !!data.postId : true), {
21
- message: 'Post ID is required when job is published',
22
- path: ['postId'],
23
- }),
24
- });
25
- UpdatePublishedStatusPhotoSessionsJobsCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.PhotoSessionJobSchema);
26
- })(UpdatePublishedStatusPhotoSessionsJobsCommand || (exports.UpdatePublishedStatusPhotoSessionsJobsCommand = UpdatePublishedStatusPhotoSessionsJobsCommand = {}));
@@ -1,3 +0,0 @@
1
- export * from './photo-session-strategy.enum';
2
- export * from './photo-session-look-type.enum';
3
- export * from './photo-session-group-status.enum';