@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,272 +0,0 @@
1
- import { z } from 'zod';
2
- import { JOB_SCOPE } from '../../common';
3
- export declare namespace PhotoSessionsCommand {
4
- const RequestSchema: z.ZodObject<{
5
- locale: z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>;
6
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
- unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
- scope: z.ZodOptional<z.ZodEnum<typeof JOB_SCOPE>>;
9
- prompt: z.ZodOptional<z.ZodString>;
10
- modelId: z.ZodString;
11
- params: z.ZodObject<{
12
- attachedFiles: z.ZodArray<z.ZodObject<{
13
- uuid: z.ZodString;
14
- url: z.ZodString;
15
- name: z.ZodString;
16
- mimeType: z.ZodString;
17
- type: z.ZodString;
18
- size: z.ZodNumber;
19
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
20
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
22
- }, z.core.$strip>>;
23
- styleId: z.ZodNullable<z.ZodString>;
24
- photosCount: z.ZodNumber;
25
- clothingPhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
26
- uuid: z.ZodString;
27
- url: z.ZodString;
28
- name: z.ZodString;
29
- mimeType: z.ZodString;
30
- type: z.ZodString;
31
- size: z.ZodNumber;
32
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
33
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
34
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
35
- }, z.core.$strip>>>;
36
- hairstylePhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37
- uuid: z.ZodString;
38
- url: z.ZodString;
39
- name: z.ZodString;
40
- mimeType: z.ZodString;
41
- type: z.ZodString;
42
- size: z.ZodNumber;
43
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
44
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
45
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
46
- }, z.core.$strip>>>;
47
- accessoriesPhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
48
- uuid: z.ZodString;
49
- url: z.ZodString;
50
- name: z.ZodString;
51
- mimeType: z.ZodString;
52
- type: z.ZodString;
53
- size: z.ZodNumber;
54
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
55
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
56
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
57
- }, z.core.$strip>>>;
58
- aspectRatio: z.ZodOptional<z.ZodString>;
59
- }, z.core.$strip>;
60
- userHasActiveSubscriptionOrProduct: z.ZodBoolean;
61
- tokenReservationId: z.ZodString;
62
- precalculatedPrice: z.ZodNumber;
63
- }, z.core.$strip>;
64
- type Request = z.infer<typeof RequestSchema>;
65
- const ResponseSchema: z.ZodObject<{
66
- isSuccess: z.ZodBoolean;
67
- data: z.ZodOptional<z.ZodType<{
68
- uuid: string;
69
- title: string;
70
- prompt: string;
71
- status: import("..").PHOTO_SESSION_GROUP_STATUS;
72
- error: string | null;
73
- modelId: string;
74
- price: number;
75
- tokenReservationId: string | null;
76
- params: unknown;
77
- attempts: unknown[];
78
- scope: JOB_SCOPE;
79
- userId: string | null;
80
- unregisteredUserId: string | null;
81
- isDeleted: boolean;
82
- subJobs: {
83
- uuid: string;
84
- prompt: string;
85
- reaction: import("../..").USER_REACTION | null;
86
- dislikeReason: string | null;
87
- externalId: string | null;
88
- title: string;
89
- status: import("../..").JOB_STATUS.PENDING | import("../..").JOB_STATUS.COMPLETED | import("../..").JOB_STATUS.FAILED;
90
- error: string | null;
91
- modelId: string;
92
- groupId: string;
93
- previewUrl: string | null;
94
- params: {
95
- attachedFiles?: {
96
- uuid: string;
97
- url: string;
98
- name: string;
99
- mimeType: string;
100
- type: string;
101
- size: number;
102
- duration?: number | null | undefined;
103
- content?: string | null | undefined;
104
- contentLength?: number | null | undefined;
105
- }[] | undefined;
106
- styleReferenceImageUrl?: string | undefined;
107
- styleId?: string | null | undefined;
108
- referenceId?: string | null | undefined;
109
- photosCount?: number | undefined;
110
- clothingPhotos?: {
111
- uuid: string;
112
- url: string;
113
- name: string;
114
- mimeType: string;
115
- type: string;
116
- size: number;
117
- duration?: number | null | undefined;
118
- content?: string | null | undefined;
119
- contentLength?: number | null | undefined;
120
- }[] | undefined;
121
- hairstylePhotos?: {
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
- accessoriesPhotos?: {
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
- aspectRatio?: string | undefined;
144
- userHasActiveSubscriptionOrProduct?: boolean | undefined;
145
- };
146
- imageUrls: string[] | null;
147
- attempts: {
148
- order: number;
149
- attemptId?: string | undefined;
150
- status: import("../..").JOB_STATUS.PENDING | import("../..").JOB_STATUS.COMPLETED | import("../..").JOB_STATUS.FAILED;
151
- error: string | null;
152
- timestamp: Date;
153
- }[];
154
- userId?: string | null | undefined;
155
- unregisteredUserId?: string | null | undefined;
156
- isPublished: boolean;
157
- postId: string | null;
158
- isDeleted: boolean;
159
- isFavorite: boolean;
160
- createdAt: Date;
161
- completedAt?: Date | null | undefined;
162
- updatedAt: Date;
163
- }[];
164
- createdAt: Date;
165
- completedAt: Date | null;
166
- updatedAt: Date;
167
- }, unknown, z.core.$ZodTypeInternals<{
168
- uuid: string;
169
- title: string;
170
- prompt: string;
171
- status: import("..").PHOTO_SESSION_GROUP_STATUS;
172
- error: string | null;
173
- modelId: string;
174
- price: number;
175
- tokenReservationId: string | null;
176
- params: unknown;
177
- attempts: unknown[];
178
- scope: JOB_SCOPE;
179
- userId: string | null;
180
- unregisteredUserId: string | null;
181
- isDeleted: boolean;
182
- subJobs: {
183
- uuid: string;
184
- prompt: string;
185
- reaction: import("../..").USER_REACTION | null;
186
- dislikeReason: string | null;
187
- externalId: string | null;
188
- title: string;
189
- status: import("../..").JOB_STATUS.PENDING | import("../..").JOB_STATUS.COMPLETED | import("../..").JOB_STATUS.FAILED;
190
- error: string | null;
191
- modelId: string;
192
- groupId: string;
193
- previewUrl: string | null;
194
- params: {
195
- attachedFiles?: {
196
- uuid: string;
197
- url: string;
198
- name: string;
199
- mimeType: string;
200
- type: string;
201
- size: number;
202
- duration?: number | null | undefined;
203
- content?: string | null | undefined;
204
- contentLength?: number | null | undefined;
205
- }[] | undefined;
206
- styleReferenceImageUrl?: string | undefined;
207
- styleId?: string | null | undefined;
208
- referenceId?: string | null | undefined;
209
- photosCount?: number | undefined;
210
- clothingPhotos?: {
211
- uuid: string;
212
- url: string;
213
- name: string;
214
- mimeType: string;
215
- type: string;
216
- size: number;
217
- duration?: number | null | undefined;
218
- content?: string | null | undefined;
219
- contentLength?: number | null | undefined;
220
- }[] | undefined;
221
- hairstylePhotos?: {
222
- uuid: string;
223
- url: string;
224
- name: string;
225
- mimeType: string;
226
- type: string;
227
- size: number;
228
- duration?: number | null | undefined;
229
- content?: string | null | undefined;
230
- contentLength?: number | null | undefined;
231
- }[] | undefined;
232
- accessoriesPhotos?: {
233
- uuid: string;
234
- url: string;
235
- name: string;
236
- mimeType: string;
237
- type: string;
238
- size: number;
239
- duration?: number | null | undefined;
240
- content?: string | null | undefined;
241
- contentLength?: number | null | undefined;
242
- }[] | undefined;
243
- aspectRatio?: string | undefined;
244
- userHasActiveSubscriptionOrProduct?: boolean | undefined;
245
- };
246
- imageUrls: string[] | null;
247
- attempts: {
248
- order: number;
249
- attemptId?: string | undefined;
250
- status: import("../..").JOB_STATUS.PENDING | import("../..").JOB_STATUS.COMPLETED | import("../..").JOB_STATUS.FAILED;
251
- error: string | null;
252
- timestamp: Date;
253
- }[];
254
- userId?: string | null | undefined;
255
- unregisteredUserId?: string | null | undefined;
256
- isPublished: boolean;
257
- postId: string | null;
258
- isDeleted: boolean;
259
- isFavorite: boolean;
260
- createdAt: Date;
261
- completedAt?: Date | null | undefined;
262
- updatedAt: Date;
263
- }[];
264
- createdAt: Date;
265
- completedAt: Date | null;
266
- updatedAt: Date;
267
- }, unknown>>>;
268
- code: z.ZodOptional<z.ZodString>;
269
- message: z.ZodOptional<z.ZodString>;
270
- }, z.core.$strip>;
271
- type Response = z.infer<typeof ResponseSchema>;
272
- }
@@ -1,37 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PhotoSessionsCommand = void 0;
4
- const zod_1 = require("zod");
5
- const common_1 = require("../../common");
6
- const command_response_schema_1 = require("../../common/models/command-response.schema");
7
- const locale_schema_1 = require("../../common/models/locale.schema");
8
- const models_1 = require("../models");
9
- var PhotoSessionsCommand;
10
- (function (PhotoSessionsCommand) {
11
- PhotoSessionsCommand.RequestSchema = zod_1.z
12
- .object({
13
- locale: locale_schema_1.LocaleSchema,
14
- userId: zod_1.z.string().uuid().nullable().optional(),
15
- unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
16
- scope: zod_1.z.enum(common_1.JOB_SCOPE).optional(),
17
- prompt: zod_1.z.string().optional(),
18
- modelId: zod_1.z.string(),
19
- params: zod_1.z.object({
20
- attachedFiles: zod_1.z.array(common_1.AttachedFileSchema).min(1).max(3),
21
- styleId: zod_1.z.string().uuid().nullable(),
22
- photosCount: zod_1.z.number().int().min(1).max(6),
23
- clothingPhotos: zod_1.z.array(common_1.AttachedFileSchema).max(2).optional(),
24
- hairstylePhotos: zod_1.z.array(common_1.AttachedFileSchema).max(2).optional(),
25
- accessoriesPhotos: zod_1.z.array(common_1.AttachedFileSchema).max(2).optional(),
26
- aspectRatio: zod_1.z.string().optional(),
27
- }),
28
- userHasActiveSubscriptionOrProduct: zod_1.z.boolean(),
29
- tokenReservationId: zod_1.z.string().uuid(),
30
- precalculatedPrice: zod_1.z.number(),
31
- })
32
- .refine((value) => Boolean(value.userId) !== Boolean(value.unregisteredUserId), {
33
- message: 'Exactly one owner identity is required',
34
- path: ['userId'],
35
- });
36
- PhotoSessionsCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.PhotoSessionGroupSchema);
37
- })(PhotoSessionsCommand || (exports.PhotoSessionsCommand = PhotoSessionsCommand = {}));
@@ -1,179 +0,0 @@
1
- import { z } from 'zod';
2
- export declare namespace RetryPhotoSessionsJobCommand {
3
- const RequestSchema: z.ZodObject<{
4
- locale: z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>;
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
- 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,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RetryPhotoSessionsJobCommand = 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 RetryPhotoSessionsJobCommand;
9
- (function (RetryPhotoSessionsJobCommand) {
10
- RetryPhotoSessionsJobCommand.RequestSchema = zod_1.z.object({
11
- locale: common_1.LocaleSchema,
12
- uuid: zod_1.z.string().uuid(),
13
- userId: zod_1.z.string().uuid().nullable().optional(),
14
- unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
15
- });
16
- RetryPhotoSessionsJobCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.PhotoSessionJobSchema);
17
- })(RetryPhotoSessionsJobCommand || (exports.RetryPhotoSessionsJobCommand = RetryPhotoSessionsJobCommand = {}));
@@ -1,181 +0,0 @@
1
- import { z } from 'zod';
2
- import { USER_REACTION } from '../../common';
3
- export declare namespace SetReactionToPhotoSessionsJobCommand {
4
- const RequestSchema: z.ZodObject<{
5
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
- unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
- uuid: z.ZodString;
8
- reaction: z.ZodNullable<z.ZodEnum<typeof USER_REACTION>>;
9
- dislikeReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
- }, z.core.$strip>;
11
- type Request = z.infer<typeof RequestSchema>;
12
- const ResponseSchema: z.ZodObject<{
13
- isSuccess: z.ZodBoolean;
14
- data: z.ZodOptional<z.ZodType<{
15
- uuid: string;
16
- prompt: string;
17
- reaction: USER_REACTION | null;
18
- dislikeReason: string | null;
19
- externalId: string | null;
20
- title: string;
21
- status: import("../..").JOB_STATUS.PENDING | import("../..").JOB_STATUS.COMPLETED | import("../..").JOB_STATUS.FAILED;
22
- error: string | null;
23
- modelId: string;
24
- groupId: string;
25
- previewUrl: string | null;
26
- params: {
27
- attachedFiles?: {
28
- uuid: string;
29
- url: string;
30
- name: string;
31
- mimeType: string;
32
- type: string;
33
- size: number;
34
- duration?: number | null | undefined;
35
- content?: string | null | undefined;
36
- contentLength?: number | null | undefined;
37
- }[] | undefined;
38
- styleReferenceImageUrl?: string | undefined;
39
- styleId?: string | null | undefined;
40
- referenceId?: string | null | undefined;
41
- photosCount?: number | undefined;
42
- clothingPhotos?: {
43
- uuid: string;
44
- url: string;
45
- name: string;
46
- mimeType: string;
47
- type: string;
48
- size: number;
49
- duration?: number | null | undefined;
50
- content?: string | null | undefined;
51
- contentLength?: number | null | undefined;
52
- }[] | undefined;
53
- hairstylePhotos?: {
54
- uuid: string;
55
- url: string;
56
- name: string;
57
- mimeType: string;
58
- type: string;
59
- size: number;
60
- duration?: number | null | undefined;
61
- content?: string | null | undefined;
62
- contentLength?: number | null | undefined;
63
- }[] | undefined;
64
- accessoriesPhotos?: {
65
- uuid: string;
66
- url: string;
67
- name: string;
68
- mimeType: string;
69
- type: string;
70
- size: number;
71
- duration?: number | null | undefined;
72
- content?: string | null | undefined;
73
- contentLength?: number | null | undefined;
74
- }[] | undefined;
75
- aspectRatio?: string | undefined;
76
- userHasActiveSubscriptionOrProduct?: boolean | undefined;
77
- };
78
- imageUrls: string[] | null;
79
- attempts: {
80
- order: number;
81
- attemptId?: string | undefined;
82
- status: import("../..").JOB_STATUS.PENDING | import("../..").JOB_STATUS.COMPLETED | import("../..").JOB_STATUS.FAILED;
83
- error: string | null;
84
- timestamp: Date;
85
- }[];
86
- userId?: string | null | undefined;
87
- unregisteredUserId?: string | null | undefined;
88
- isPublished: boolean;
89
- postId: string | null;
90
- isDeleted: boolean;
91
- isFavorite: boolean;
92
- createdAt: Date;
93
- completedAt?: Date | null | undefined;
94
- updatedAt: Date;
95
- }, unknown, z.core.$ZodTypeInternals<{
96
- uuid: string;
97
- prompt: string;
98
- reaction: USER_REACTION | null;
99
- dislikeReason: string | null;
100
- externalId: string | null;
101
- title: string;
102
- status: import("../..").JOB_STATUS.PENDING | import("../..").JOB_STATUS.COMPLETED | import("../..").JOB_STATUS.FAILED;
103
- error: string | null;
104
- modelId: string;
105
- groupId: string;
106
- previewUrl: string | null;
107
- params: {
108
- attachedFiles?: {
109
- uuid: string;
110
- url: string;
111
- name: string;
112
- mimeType: string;
113
- type: string;
114
- size: number;
115
- duration?: number | null | undefined;
116
- content?: string | null | undefined;
117
- contentLength?: number | null | undefined;
118
- }[] | undefined;
119
- styleReferenceImageUrl?: string | undefined;
120
- styleId?: string | null | undefined;
121
- referenceId?: string | null | undefined;
122
- photosCount?: number | undefined;
123
- clothingPhotos?: {
124
- uuid: string;
125
- url: string;
126
- name: string;
127
- mimeType: string;
128
- type: string;
129
- size: number;
130
- duration?: number | null | undefined;
131
- content?: string | null | undefined;
132
- contentLength?: number | null | undefined;
133
- }[] | undefined;
134
- hairstylePhotos?: {
135
- uuid: string;
136
- url: string;
137
- name: string;
138
- mimeType: string;
139
- type: string;
140
- size: number;
141
- duration?: number | null | undefined;
142
- content?: string | null | undefined;
143
- contentLength?: number | null | undefined;
144
- }[] | undefined;
145
- accessoriesPhotos?: {
146
- uuid: string;
147
- url: string;
148
- name: string;
149
- mimeType: string;
150
- type: string;
151
- size: number;
152
- duration?: number | null | undefined;
153
- content?: string | null | undefined;
154
- contentLength?: number | null | undefined;
155
- }[] | undefined;
156
- aspectRatio?: string | undefined;
157
- userHasActiveSubscriptionOrProduct?: boolean | undefined;
158
- };
159
- imageUrls: string[] | null;
160
- attempts: {
161
- order: number;
162
- attemptId?: string | undefined;
163
- status: import("../..").JOB_STATUS.PENDING | import("../..").JOB_STATUS.COMPLETED | import("../..").JOB_STATUS.FAILED;
164
- error: string | null;
165
- timestamp: Date;
166
- }[];
167
- userId?: string | null | undefined;
168
- unregisteredUserId?: string | null | undefined;
169
- isPublished: boolean;
170
- postId: string | null;
171
- isDeleted: boolean;
172
- isFavorite: boolean;
173
- createdAt: Date;
174
- completedAt?: Date | null | undefined;
175
- updatedAt: Date;
176
- }, unknown>>>;
177
- code: z.ZodOptional<z.ZodString>;
178
- message: z.ZodOptional<z.ZodString>;
179
- }, z.core.$strip>;
180
- type Response = z.infer<typeof ResponseSchema>;
181
- }