@purpleschool/gptbot-tools 0.2.67-stage2 → 0.2.68

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