@purpleschool/gptbot 0.15.62-stage2 → 0.15.63

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 (316) hide show
  1. package/build/api/controllers/http/avatar-studio.d.ts +3 -5
  2. package/build/api/controllers/http/avatar-studio.js +5 -6
  3. package/build/api/controllers/http/index.d.ts +0 -1
  4. package/build/api/controllers/http/index.js +0 -1
  5. package/build/api/controllers/http/tts.d.ts +0 -9
  6. package/build/api/controllers/http/tts.js +0 -9
  7. package/build/api/routes.d.ts +5 -50
  8. package/build/api/routes.js +5 -50
  9. package/build/commands/ai-studio/canvas-node/find-canvas-node-definitions-with-configs.query.d.ts +2 -11
  10. package/build/commands/avatar-studio/clip/create-avatar-studio-clip.command.d.ts +2 -3
  11. package/build/commands/avatar-studio/clip/find-avatar-studio-clips.query.d.ts +2 -3
  12. package/build/commands/avatar-studio/clip/get-avatar-studio-clip.query.d.ts +2 -3
  13. package/build/commands/avatar-studio/clip/update-avatar-studio-clip.command.d.ts +2 -3
  14. package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-video.command.d.ts +1 -2
  15. package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-voice.command.d.ts +2 -4
  16. package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-voice.command.js +2 -4
  17. package/build/commands/avatar-studio/generation-job/generate-avatar-studio-talking-avatar.command.d.ts +78 -0
  18. package/build/commands/avatar-studio/generation-job/generate-avatar-studio-talking-avatar.command.js +14 -0
  19. package/build/commands/avatar-studio/generation-job/index.d.ts +1 -0
  20. package/build/commands/avatar-studio/generation-job/index.js +1 -0
  21. package/build/commands/avatar-studio/scene/{apply-avatar-studio-voice-to-all-scenes.command.d.ts → apply-avatar-studio-voice-sample-to-all-scenes.command.d.ts} +4 -5
  22. package/build/commands/avatar-studio/scene/apply-avatar-studio-voice-sample-to-all-scenes.command.js +15 -0
  23. package/build/commands/avatar-studio/scene/create-avatar-studio-scene.command.d.ts +2 -3
  24. package/build/commands/avatar-studio/scene/index.d.ts +1 -1
  25. package/build/commands/avatar-studio/scene/index.js +1 -1
  26. package/build/commands/avatar-studio/scene/reorder-avatar-studio-scenes.command.d.ts +2 -3
  27. package/build/commands/avatar-studio/scene/set-avatar-studio-scene-slot.command.d.ts +2 -3
  28. package/build/commands/avatar-studio/scene/update-avatar-studio-scene.command.d.ts +4 -6
  29. package/build/commands/avatar-studio/scriptwriter/apply-avatar-studio-scriptwriter-message.command.d.ts +2 -3
  30. package/build/commands/avatar-studio/scriptwriter/create-avatar-studio-scriptwriter-message.command.d.ts +4 -7
  31. package/build/commands/avatar-studio/scriptwriter/create-avatar-studio-scriptwriter-message.command.js +2 -4
  32. package/build/commands/avatar-studio/shared/avatar-studio-common.schema.d.ts +5 -8
  33. package/build/commands/avatar-studio/shared/avatar-studio-common.schema.js +1 -2
  34. package/build/commands/avatar-studio/shared/get-avatar-studio-config.query.d.ts +65 -68
  35. package/build/commands/avatar-studio/shared/get-avatar-studio-config.query.js +40 -58
  36. package/build/commands/avatar-studio/voice/design-avatar-studio-voice.command.d.ts +56 -26
  37. package/build/commands/avatar-studio/voice/design-avatar-studio-voice.command.js +7 -6
  38. package/build/commands/avatar-studio/voice/index.d.ts +0 -3
  39. package/build/commands/avatar-studio/voice/index.js +0 -3
  40. package/build/commands/b2b/get-b2b-documentation.command.d.ts +2 -0
  41. package/build/commands/model-page/base/find-model-page-admin.command.d.ts +1 -0
  42. package/build/commands/model-page/public/find-model-page-answer-detail.command.d.ts +1 -0
  43. package/build/commands/model-page/public/find-model-page-detail.command.d.ts +1 -0
  44. package/build/commands/model-page/public/find-model-page-hub.command.d.ts +1 -0
  45. package/build/commands/photo-studio/get-photo-studio-config.query.d.ts +4 -0
  46. package/build/commands/product/create-product.command.d.ts +100 -0
  47. package/build/commands/product/find-product.command.d.ts +100 -0
  48. package/build/commands/product/get-my-products.command.d.ts +50 -0
  49. package/build/commands/product/update-product.command.d.ts +100 -0
  50. package/build/commands/subscription/create-subscription.command.d.ts +100 -0
  51. package/build/commands/subscription/find-subscription.command.d.ts +150 -0
  52. package/build/commands/subscription/get-available-upgrades.command.d.ts +100 -0
  53. package/build/commands/subscription/get-free-subscription.command.d.ts +50 -0
  54. package/build/commands/subscription/get-subscriptions-summary.command.d.ts +250 -0
  55. package/build/commands/subscription/update-subscription.command.d.ts +100 -0
  56. package/build/commands/team-account/find-current-team-account-products-by-team-account-id.command.d.ts +50 -0
  57. package/build/commands/team-account/find-current-team-account-products.command.d.ts +50 -0
  58. package/build/commands/team-account/find-current-team-account-subscriptions-by-team-account-id.command.d.ts +50 -0
  59. package/build/commands/team-account/find-current-team-account-subscriptions.command.d.ts +50 -0
  60. package/build/commands/team-account/find-team-account-products.command.d.ts +50 -0
  61. package/build/commands/team-account/find-team-account-subscriptions.command.d.ts +100 -0
  62. package/build/commands/team-account/get-team-account-available-upgrades.command.d.ts +50 -0
  63. package/build/commands/team-to-product/get-team-to-products.command.d.ts +50 -0
  64. package/build/commands/team-to-subscription/get-team-to-subscriptions.command.d.ts +50 -0
  65. package/build/commands/tools/diagrams/diagrams.command.d.ts +17 -5
  66. package/build/commands/tools/diagrams/diagrams.command.js +2 -4
  67. package/build/commands/tools/diagrams/edit-diagrams-job.command.d.ts +18 -4
  68. package/build/commands/tools/diagrams/edit-diagrams-job.command.js +1 -2
  69. package/build/commands/tools/diagrams/find-diagrams-job-by-uuid.command.d.ts +9 -2
  70. package/build/commands/tools/diagrams/find-diagrams-jobs.command.d.ts +9 -2
  71. package/build/commands/tools/diagrams/get-diagrams-price.command.d.ts +9 -2
  72. package/build/commands/tools/diagrams/get-diagrams-price.command.js +2 -2
  73. package/build/commands/tools/diagrams/get-diagrams-tool-config.command.d.ts +4 -0
  74. package/build/commands/tools/diagrams/retry-diagrams-job.command.d.ts +15 -3
  75. package/build/commands/tools/diagrams/retry-diagrams-job.command.js +1 -1
  76. package/build/commands/tools/diagrams/set-reaction-to-diagrams-job.command.d.ts +9 -2
  77. package/build/commands/tools/diagrams/update-diagrams-job-favorite.command.d.ts +9 -2
  78. package/build/commands/tools/diagrams/update-diagrams-job-title.command.d.ts +9 -2
  79. package/build/commands/tools/html-page-builder/execute-html-page-builder.command.d.ts +0 -2
  80. package/build/commands/tools/html-page-builder/find-html-page-builder-session-by-uuid.command.d.ts +0 -2
  81. package/build/commands/tools/html-page-builder/find-html-page-builder-sessions.command.d.ts +0 -2
  82. package/build/commands/tools/html-page-builder/update-html-page-builder-session-favorite.command.d.ts +0 -2
  83. package/build/commands/tools/html-page-builder/update-html-page-builder-session-title.command.d.ts +0 -2
  84. package/build/commands/tools/image-editor/find-image-editor-job-by-uuid.command.d.ts +0 -2
  85. package/build/commands/tools/image-editor/find-image-editor-jobs.command.d.ts +0 -2
  86. package/build/commands/tools/image-editor/get-image-editor-tool-config.command.d.ts +1 -0
  87. package/build/commands/tools/image-editor/retry-image-editor-job.command.d.ts +0 -2
  88. package/build/commands/tools/image-editor/set-reaction-to-image-editor-job.command.d.ts +0 -2
  89. package/build/commands/tools/image-editor/update-image-editor-job-favorite.command.d.ts +0 -2
  90. package/build/commands/tools/image-editor/update-image-editor-job-title.command.d.ts +0 -2
  91. package/build/commands/tools/image-generation/get-image-generation-config.command.d.ts +1 -0
  92. package/build/commands/tools/image-recognition/find-image-recognition-job-by-uuid.command.d.ts +0 -2
  93. package/build/commands/tools/image-recognition/find-image-recognition-jobs.command.d.ts +0 -2
  94. package/build/commands/tools/image-recognition/image-recognition.command.d.ts +0 -2
  95. package/build/commands/tools/image-recognition/retry-image-recognition-job.command.d.ts +0 -2
  96. package/build/commands/tools/image-recognition/set-reaction-to-image-recognition-job.command.d.ts +0 -2
  97. package/build/commands/tools/image-recognition/update-image-recognition-job-favorite.command.d.ts +0 -2
  98. package/build/commands/tools/image-recognition/update-image-recognition-job-title.command.d.ts +0 -2
  99. package/build/commands/tools/index.d.ts +0 -1
  100. package/build/commands/tools/index.js +0 -1
  101. package/build/commands/tools/interior-design/find-interior-design-job-by-uuid.command.d.ts +0 -2
  102. package/build/commands/tools/interior-design/find-interior-design-jobs.command.d.ts +0 -2
  103. package/build/commands/tools/interior-design/retry-interior-design-job.command.d.ts +0 -2
  104. package/build/commands/tools/interior-design/set-reaction-to-interior-design-job.command.d.ts +0 -2
  105. package/build/commands/tools/interior-design/update-interior-design-job-favorite.command.d.ts +0 -2
  106. package/build/commands/tools/interior-design/update-interior-design-job-title.command.d.ts +0 -2
  107. package/build/commands/tools/solving-edu-task/find-solving-edu-task-job-by-uuid.command.d.ts +0 -2
  108. package/build/commands/tools/solving-edu-task/find-solving-edu-task-jobs.command.d.ts +0 -2
  109. package/build/commands/tools/solving-edu-task/retry-solving-edu-task-job.command.d.ts +0 -2
  110. package/build/commands/tools/solving-edu-task/set-reaction-to-solving-edu-task-job.command.d.ts +0 -2
  111. package/build/commands/tools/solving-edu-task/solving-edu-task.command.d.ts +0 -2
  112. package/build/commands/tools/solving-edu-task/update-solving-edu-task-job-favorite.command.d.ts +0 -2
  113. package/build/commands/tools/solving-edu-task/update-solving-edu-task-job-title.command.d.ts +0 -2
  114. package/build/commands/tools/tool/find-grouped-tools.command.d.ts +1 -0
  115. package/build/commands/tools/tts/find-tts-job-by-uuid.command.d.ts +1 -13
  116. package/build/commands/tools/tts/find-tts-jobs.command.d.ts +1 -13
  117. package/build/commands/tools/tts/get-tts-tool-config.command.d.ts +0 -11
  118. package/build/commands/tools/tts/index.d.ts +0 -9
  119. package/build/commands/tools/tts/index.js +0 -9
  120. package/build/commands/tools/tts/retry-tts-job.command.d.ts +1 -13
  121. package/build/commands/tools/tts/set-reaction-to-tts-job.command.d.ts +1 -13
  122. package/build/commands/tools/tts/tts.command.d.ts +1 -6
  123. package/build/commands/tools/tts/tts.command.js +1 -7
  124. package/build/commands/tools/tts/update-tts-job-favorite.command.d.ts +1 -13
  125. package/build/commands/tools/tts/update-tts-job-title.command.d.ts +1 -13
  126. package/build/commands/user/get-user-products.command.d.ts +50 -0
  127. package/build/commands/user/get-user-subscriptions.command.d.ts +50 -0
  128. package/build/commands/user-to-subscription/get-user-to-subscriptions.command.d.ts +50 -0
  129. package/build/constants/avatar-studio/enums/avatar-studio-job-type.enum.d.ts +0 -1
  130. package/build/constants/avatar-studio/enums/avatar-studio-job-type.enum.js +0 -1
  131. package/build/constants/avatar-studio/enums/avatar-studio-media-kind.enum.d.ts +2 -1
  132. package/build/constants/avatar-studio/enums/avatar-studio-media-kind.enum.js +1 -0
  133. package/build/constants/avatar-studio/enums/avatar-studio-slot.enum.d.ts +1 -1
  134. package/build/constants/avatar-studio/enums/avatar-studio-slot.enum.js +1 -1
  135. package/build/constants/avatar-studio/enums/avatar-studio-video-quality.enum.d.ts +4 -0
  136. package/build/constants/avatar-studio/enums/avatar-studio-video-quality.enum.js +8 -0
  137. package/build/constants/avatar-studio/enums/index.d.ts +1 -1
  138. package/build/constants/avatar-studio/enums/index.js +1 -1
  139. package/build/constants/index.d.ts +0 -2
  140. package/build/constants/index.js +0 -2
  141. package/build/constants/subscription/enums/subscription-feature-type.enum.d.ts +2 -0
  142. package/build/constants/subscription/enums/subscription-feature-type.enum.js +2 -0
  143. package/build/constants/tool/enums/index.d.ts +0 -1
  144. package/build/constants/tool/enums/index.js +0 -1
  145. package/build/constants/tool/enums/tool-content-type.enum.d.ts +3 -1
  146. package/build/constants/tool/enums/tool-content-type.enum.js +2 -0
  147. package/build/constants/tool/enums/tool-group.enum.d.ts +1 -1
  148. package/build/constants/tool/enums/tool-group.enum.js +1 -1
  149. package/build/helpers/image-editor/calculate-image-editor-price.helper.d.ts +2 -1
  150. package/build/helpers/image-editor/calculate-image-editor-price.helper.js +4 -1
  151. package/build/helpers/image-generation/calculate-image-generation-price.helper.d.ts +1 -1
  152. package/build/helpers/image-generation/calculate-image-generation-price.helper.js +5 -0
  153. package/build/helpers/index.d.ts +0 -1
  154. package/build/helpers/index.js +0 -1
  155. package/build/models/avatar-studio/avatar-studio.schema.d.ts +11 -15
  156. package/build/models/avatar-studio/avatar-studio.schema.js +4 -8
  157. package/build/models/canvas-node-definition.schema.d.ts +6 -33
  158. package/build/models/model-page/model-page-public.schema.d.ts +3 -0
  159. package/build/models/model-page/model-page-technical-model.schema.d.ts +3 -0
  160. package/build/models/product.schema.d.ts +50 -0
  161. package/build/models/subscription-feature.schema.d.ts +103 -0
  162. package/build/models/subscription-feature.schema.js +14 -1
  163. package/build/models/subscription-upgrade-schema.d.ts +50 -0
  164. package/build/models/subscription.schema.d.ts +250 -0
  165. package/build/models/team-account/team-to-product.schema.d.ts +50 -0
  166. package/build/models/team-account/team-to-subscription.schema.d.ts +50 -0
  167. package/build/models/tool-group.schema.d.ts +1 -0
  168. package/build/models/tool-group.schema.js +1 -0
  169. package/build/models/tools/common/attached-tool-file.schema.d.ts +0 -2
  170. package/build/models/tools/common/attached-tool-file.schema.js +0 -2
  171. package/build/models/tools/diagrams/diagrams-config.schema.d.ts +4 -0
  172. package/build/models/tools/diagrams/diagrams-config.schema.js +2 -0
  173. package/build/models/tools/diagrams/diagrams-job.schema.d.ts +104 -10
  174. package/build/models/tools/diagrams/diagrams-job.schema.js +71 -17
  175. package/build/models/tools/html-page-builder/html-page-builder-job.schema.d.ts +0 -4
  176. package/build/models/tools/html-page-builder/html-page-builder-session.schema.d.ts +0 -2
  177. package/build/models/tools/image-editor/image-editor-config.schema.d.ts +1 -0
  178. package/build/models/tools/image-editor/image-editor-job.schema.d.ts +0 -4
  179. package/build/models/tools/image-editor/image-editor-model.schema.d.ts +3 -0
  180. package/build/models/tools/image-editor/image-editor-model.schema.js +1 -0
  181. package/build/models/tools/image-generation/image-generation-config.schema.d.ts +2 -0
  182. package/build/models/tools/image-generation/image-generation-model.schema.d.ts +3 -0
  183. package/build/models/tools/image-generation/image-generation-model.schema.js +1 -0
  184. package/build/models/tools/image-recognition/image-recognition-job.schema.d.ts +0 -4
  185. package/build/models/tools/index.d.ts +0 -1
  186. package/build/models/tools/index.js +0 -1
  187. package/build/models/tools/interior-design/interior-design-job.schema.d.ts +0 -4
  188. package/build/models/tools/solving-edu-task/solving-edu-task-job.schema.d.ts +0 -4
  189. package/build/models/tools/tts/index.d.ts +0 -3
  190. package/build/models/tools/tts/index.js +0 -3
  191. package/build/models/tools/tts/tts-config.schema.d.ts +0 -23
  192. package/build/models/tools/tts/tts-config.schema.js +1 -14
  193. package/build/models/tools/tts/tts-job.schema.d.ts +1 -26
  194. package/build/models/tools/tts/tts-job.schema.js +2 -16
  195. package/build/models/tools/tts/tts-model.schema.d.ts +0 -1
  196. package/build/models/tools/tts/tts-model.schema.js +0 -1
  197. package/build/models/user-to-product.schema.d.ts +50 -0
  198. package/build/models/user-to-subscription.schema.d.ts +150 -0
  199. package/package.json +1 -1
  200. package/build/api/controllers/http/photo-session.d.ts +0 -20
  201. package/build/api/controllers/http/photo-session.js +0 -23
  202. package/build/commands/avatar-studio/scene/apply-avatar-studio-voice-to-all-scenes.command.js +0 -17
  203. package/build/commands/avatar-studio/voice/clone-avatar-studio-voice.command.d.ts +0 -43
  204. package/build/commands/avatar-studio/voice/clone-avatar-studio-voice.command.js +0 -19
  205. package/build/commands/avatar-studio/voice/delete-avatar-studio-voice.command.d.ts +0 -11
  206. package/build/commands/avatar-studio/voice/delete-avatar-studio-voice.command.js +0 -13
  207. package/build/commands/avatar-studio/voice/find-avatar-studio-voices.query.d.ts +0 -36
  208. package/build/commands/avatar-studio/voice/find-avatar-studio-voices.query.js +0 -11
  209. package/build/commands/tools/photo-session/admin/create-photo-session-style.command.d.ts +0 -39
  210. package/build/commands/tools/photo-session/admin/create-photo-session-style.command.js +0 -22
  211. package/build/commands/tools/photo-session/admin/delete-photo-session-style.command.d.ts +0 -9
  212. package/build/commands/tools/photo-session/admin/delete-photo-session-style.command.js +0 -11
  213. package/build/commands/tools/photo-session/admin/index.d.ts +0 -4
  214. package/build/commands/tools/photo-session/admin/index.js +0 -20
  215. package/build/commands/tools/photo-session/admin/list-photo-session-styles.command.d.ts +0 -8
  216. package/build/commands/tools/photo-session/admin/list-photo-session-styles.command.js +0 -11
  217. package/build/commands/tools/photo-session/admin/update-photo-session-style.command.d.ts +0 -38
  218. package/build/commands/tools/photo-session/admin/update-photo-session-style.command.js +0 -21
  219. package/build/commands/tools/photo-session/delete-all-photo-session-jobs.command.d.ts +0 -5
  220. package/build/commands/tools/photo-session/delete-all-photo-session-jobs.command.js +0 -8
  221. package/build/commands/tools/photo-session/delete-photo-session-job-by-uuid.command.d.ts +0 -9
  222. package/build/commands/tools/photo-session/delete-photo-session-job-by-uuid.command.js +0 -11
  223. package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.d.ts +0 -119
  224. package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.js +0 -14
  225. package/build/commands/tools/photo-session/find-photo-session-jobs.command.d.ts +0 -128
  226. package/build/commands/tools/photo-session/find-photo-session-jobs.command.js +0 -24
  227. package/build/commands/tools/photo-session/get-photo-session-config.command.d.ts +0 -75
  228. package/build/commands/tools/photo-session/get-photo-session-config.command.js +0 -11
  229. package/build/commands/tools/photo-session/get-photo-session-styles.command.d.ts +0 -23
  230. package/build/commands/tools/photo-session/get-photo-session-styles.command.js +0 -11
  231. package/build/commands/tools/photo-session/index.d.ts +0 -13
  232. package/build/commands/tools/photo-session/index.js +0 -29
  233. package/build/commands/tools/photo-session/photo-session.command.d.ts +0 -138
  234. package/build/commands/tools/photo-session/photo-session.command.js +0 -25
  235. package/build/commands/tools/photo-session/retry-photo-session-job.command.d.ts +0 -100
  236. package/build/commands/tools/photo-session/retry-photo-session-job.command.js +0 -14
  237. package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.d.ts +0 -106
  238. package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.js +0 -28
  239. package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.d.ts +0 -104
  240. package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.js +0 -17
  241. package/build/commands/tools/photo-session/update-photo-session-job-title.command.d.ts +0 -123
  242. package/build/commands/tools/photo-session/update-photo-session-job-title.command.js +0 -17
  243. package/build/commands/tools/photo-session/update-published-status-photo-session-job.command.d.ts +0 -105
  244. package/build/commands/tools/photo-session/update-published-status-photo-session-job.command.js +0 -23
  245. package/build/commands/tools/tts/create-voice-clone.command.d.ts +0 -44
  246. package/build/commands/tools/tts/create-voice-clone.command.js +0 -18
  247. package/build/commands/tools/tts/create-voice-design.command.d.ts +0 -24
  248. package/build/commands/tools/tts/create-voice-design.command.js +0 -18
  249. package/build/commands/tools/tts/delete-voice.command.d.ts +0 -9
  250. package/build/commands/tools/tts/delete-voice.command.js +0 -11
  251. package/build/commands/tools/tts/download-tts-job.command.d.ts +0 -18
  252. package/build/commands/tools/tts/download-tts-job.command.js +0 -17
  253. package/build/commands/tools/tts/find-voice-by-uuid.query.d.ts +0 -40
  254. package/build/commands/tools/tts/find-voice-by-uuid.query.js +0 -14
  255. package/build/commands/tools/tts/find-voices.query.d.ts +0 -48
  256. package/build/commands/tools/tts/find-voices.query.js +0 -18
  257. package/build/commands/tools/tts/improve-tts-text.command.d.ts +0 -13
  258. package/build/commands/tools/tts/improve-tts-text.command.js +0 -13
  259. package/build/commands/tools/tts/select-voice-design.command.d.ts +0 -44
  260. package/build/commands/tools/tts/select-voice-design.command.js +0 -17
  261. package/build/commands/tools/tts/update-voice.command.d.ts +0 -45
  262. package/build/commands/tools/tts/update-voice.command.js +0 -18
  263. package/build/constants/avatar-studio/enums/avatar-studio-model-purpose.enum.d.ts +0 -6
  264. package/build/constants/avatar-studio/enums/avatar-studio-model-purpose.enum.js +0 -10
  265. package/build/constants/tool/enums/job-scope.enum.d.ts +0 -5
  266. package/build/constants/tool/enums/job-scope.enum.js +0 -9
  267. package/build/constants/tool-photo-session/enums/index.d.ts +0 -3
  268. package/build/constants/tool-photo-session/enums/index.js +0 -19
  269. package/build/constants/tool-photo-session/enums/photo-session-group-status.enum.d.ts +0 -6
  270. package/build/constants/tool-photo-session/enums/photo-session-group-status.enum.js +0 -10
  271. package/build/constants/tool-photo-session/enums/photo-session-look-type.enum.d.ts +0 -5
  272. package/build/constants/tool-photo-session/enums/photo-session-look-type.enum.js +0 -9
  273. package/build/constants/tool-photo-session/enums/photo-session-model-type.enum.d.ts +0 -3
  274. package/build/constants/tool-photo-session/enums/photo-session-model-type.enum.js +0 -7
  275. package/build/constants/tool-photo-session/index.d.ts +0 -1
  276. package/build/constants/tool-photo-session/index.js +0 -17
  277. package/build/constants/tool-tts/enums/index.d.ts +0 -7
  278. package/build/constants/tool-tts/enums/index.js +0 -23
  279. package/build/constants/tool-tts/enums/tts-download-format.enum.d.ts +0 -5
  280. package/build/constants/tool-tts/enums/tts-download-format.enum.js +0 -9
  281. package/build/constants/tool-tts/enums/voice-category.enum.d.ts +0 -19
  282. package/build/constants/tool-tts/enums/voice-category.enum.js +0 -23
  283. package/build/constants/tool-tts/enums/voice-gender.enum.d.ts +0 -4
  284. package/build/constants/tool-tts/enums/voice-gender.enum.js +0 -8
  285. package/build/constants/tool-tts/enums/voice-source.enum.d.ts +0 -5
  286. package/build/constants/tool-tts/enums/voice-source.enum.js +0 -9
  287. package/build/constants/tool-tts/enums/voice-status.enum.d.ts +0 -5
  288. package/build/constants/tool-tts/enums/voice-status.enum.js +0 -9
  289. package/build/constants/tool-tts/enums/voice-tag-group.enum.d.ts +0 -5
  290. package/build/constants/tool-tts/enums/voice-tag-group.enum.js +0 -9
  291. package/build/constants/tool-tts/enums/voice-tag.enum.d.ts +0 -20
  292. package/build/constants/tool-tts/enums/voice-tag.enum.js +0 -24
  293. package/build/constants/tool-tts/index.d.ts +0 -1
  294. package/build/constants/tool-tts/index.js +0 -17
  295. package/build/helpers/photo-session/calculate-photo-session-price.helper.d.ts +0 -6
  296. package/build/helpers/photo-session/calculate-photo-session-price.helper.js +0 -13
  297. package/build/helpers/photo-session/index.d.ts +0 -1
  298. package/build/helpers/photo-session/index.js +0 -17
  299. package/build/models/tools/photo-session/index.d.ts +0 -5
  300. package/build/models/tools/photo-session/index.js +0 -21
  301. package/build/models/tools/photo-session/photo-session-config.schema.d.ts +0 -141
  302. package/build/models/tools/photo-session/photo-session-config.schema.js +0 -21
  303. package/build/models/tools/photo-session/photo-session-group.schema.d.ts +0 -112
  304. package/build/models/tools/photo-session/photo-session-group.schema.js +0 -26
  305. package/build/models/tools/photo-session/photo-session-job.schema.d.ts +0 -158
  306. package/build/models/tools/photo-session/photo-session-job.schema.js +0 -55
  307. package/build/models/tools/photo-session/photo-session-model.schema.d.ts +0 -114
  308. package/build/models/tools/photo-session/photo-session-model.schema.js +0 -46
  309. package/build/models/tools/photo-session/photo-session-style.schema.d.ts +0 -29
  310. package/build/models/tools/photo-session/photo-session-style.schema.js +0 -22
  311. package/build/models/tools/tts/voice-design-draft.schema.d.ts +0 -13
  312. package/build/models/tools/tts/voice-design-draft.schema.js +0 -13
  313. package/build/models/tools/tts/voice-design-sample.schema.d.ts +0 -6
  314. package/build/models/tools/tts/voice-design-sample.schema.js +0 -8
  315. package/build/models/tools/tts/voice.schema.d.ts +0 -33
  316. package/build/models/tools/tts/voice.schema.js +0 -37
@@ -1,128 +0,0 @@
1
- import { z } from 'zod';
2
- import { JOB_SORT, PHOTO_SESSION_GROUP_STATUS } from '../../../constants';
3
- export declare namespace FindPhotoSessionJobsCommand {
4
- const RequestQuerySchema: z.ZodObject<{
5
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
6
- offset: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
7
- title: z.ZodOptional<z.ZodString>;
8
- isFavorite: z.ZodOptional<z.ZodPreprocess<z.ZodBoolean>>;
9
- createdAtSortOrder: z.ZodOptional<z.ZodEnum<typeof JOB_SORT>>;
10
- status: z.ZodOptional<z.ZodEnum<typeof PHOTO_SESSION_GROUP_STATUS>>;
11
- }, z.core.$strip>;
12
- type RequestQuery = z.infer<typeof RequestQuerySchema>;
13
- const ResponseSchema: z.ZodObject<{
14
- data: z.ZodArray<z.ZodObject<{
15
- uuid: z.ZodString;
16
- title: z.ZodString;
17
- prompt: z.ZodString;
18
- status: z.ZodEnum<typeof PHOTO_SESSION_GROUP_STATUS>;
19
- error: z.ZodNullable<z.ZodString>;
20
- modelId: z.ZodString;
21
- price: z.ZodNumber;
22
- tokenReservationId: z.ZodNullable<z.ZodString>;
23
- params: z.ZodUnknown;
24
- attempts: z.ZodArray<z.ZodUnknown>;
25
- scope: z.ZodEnum<typeof import("../../..").JOB_SCOPE>;
26
- userId: z.ZodNullable<z.ZodString>;
27
- unregisteredUserId: z.ZodNullable<z.ZodString>;
28
- isDeleted: z.ZodBoolean;
29
- subJobs: z.ZodArray<z.ZodObject<{
30
- uuid: z.ZodString;
31
- prompt: z.ZodString;
32
- reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
33
- dislikeReason: z.ZodNullable<z.ZodString>;
34
- externalId: z.ZodNullable<z.ZodString>;
35
- title: z.ZodString;
36
- status: z.ZodEnum<{
37
- completed: import("../../..").TOOL_JOB_STATUS.COMPLETED;
38
- failed: import("../../..").TOOL_JOB_STATUS.FAILED;
39
- pending: import("../../..").TOOL_JOB_STATUS.PENDING;
40
- }>;
41
- error: z.ZodNullable<z.ZodString>;
42
- modelId: z.ZodString;
43
- groupId: z.ZodString;
44
- previewUrl: z.ZodNullable<z.ZodString>;
45
- params: z.ZodObject<{
46
- attachedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
47
- uuid: z.ZodString;
48
- url: z.ZodString;
49
- name: z.ZodString;
50
- mimeType: z.ZodString;
51
- type: z.ZodString;
52
- size: z.ZodNumber;
53
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
54
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
55
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
56
- }, z.core.$strip>>>;
57
- styleReferenceImageUrl: z.ZodOptional<z.ZodString>;
58
- styleId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
- referenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
- photosCount: z.ZodOptional<z.ZodNumber>;
61
- clothingPhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
62
- uuid: z.ZodString;
63
- url: z.ZodString;
64
- name: z.ZodString;
65
- mimeType: z.ZodString;
66
- type: z.ZodString;
67
- size: z.ZodNumber;
68
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
69
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
70
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
71
- }, z.core.$strip>>>;
72
- hairstylePhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
73
- uuid: z.ZodString;
74
- url: z.ZodString;
75
- name: z.ZodString;
76
- mimeType: z.ZodString;
77
- type: z.ZodString;
78
- size: z.ZodNumber;
79
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
80
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
81
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
82
- }, z.core.$strip>>>;
83
- accessoriesPhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
84
- uuid: z.ZodString;
85
- url: z.ZodString;
86
- name: z.ZodString;
87
- mimeType: z.ZodString;
88
- type: z.ZodString;
89
- size: z.ZodNumber;
90
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
91
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
92
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
93
- }, z.core.$strip>>>;
94
- aspectRatio: z.ZodOptional<z.ZodString>;
95
- userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
96
- }, z.core.$strip>;
97
- imageUrls: z.ZodNullable<z.ZodArray<z.ZodString>>;
98
- attempts: z.ZodArray<z.ZodObject<{
99
- order: z.ZodNumber;
100
- attemptId: z.ZodOptional<z.ZodString>;
101
- status: z.ZodEnum<{
102
- completed: import("../../..").TOOL_JOB_STATUS.COMPLETED;
103
- failed: import("../../..").TOOL_JOB_STATUS.FAILED;
104
- pending: import("../../..").TOOL_JOB_STATUS.PENDING;
105
- }>;
106
- error: z.ZodNullable<z.ZodString>;
107
- timestamp: z.ZodCoercedDate<unknown>;
108
- }, z.core.$strip>>;
109
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
110
- unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
111
- isPublished: z.ZodBoolean;
112
- postId: z.ZodNullable<z.ZodString>;
113
- isDeleted: z.ZodBoolean;
114
- isFavorite: z.ZodBoolean;
115
- createdAt: z.ZodCoercedDate<unknown>;
116
- completedAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
117
- updatedAt: z.ZodCoercedDate<unknown>;
118
- }, z.core.$strip>>;
119
- createdAt: z.ZodCoercedDate<unknown>;
120
- completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
121
- updatedAt: z.ZodCoercedDate<unknown>;
122
- }, z.core.$strip>>;
123
- totalPages: z.ZodNumber;
124
- total: z.ZodNumber;
125
- page: z.ZodNumber;
126
- }, z.core.$strip>;
127
- type Response = z.infer<typeof ResponseSchema>;
128
- }
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FindPhotoSessionJobsCommand = void 0;
4
- const zod_1 = require("zod");
5
- const helpers_1 = require("../../../helpers");
6
- const constants_1 = require("../../../constants");
7
- const models_1 = require("../../../models");
8
- var FindPhotoSessionJobsCommand;
9
- (function (FindPhotoSessionJobsCommand) {
10
- FindPhotoSessionJobsCommand.RequestQuerySchema = zod_1.z.object({
11
- limit: zod_1.z.coerce.number().min(1).max(100).optional(),
12
- offset: zod_1.z.coerce.number().min(0).optional(),
13
- title: zod_1.z.string().optional(),
14
- isFavorite: helpers_1.QueryBooleanSchema.optional(),
15
- createdAtSortOrder: zod_1.z.enum(constants_1.JOB_SORT).optional(),
16
- status: zod_1.z.nativeEnum(constants_1.PHOTO_SESSION_GROUP_STATUS).optional(),
17
- });
18
- FindPhotoSessionJobsCommand.ResponseSchema = zod_1.z.object({
19
- data: zod_1.z.array(models_1.PhotoSessionGroupSchema),
20
- totalPages: zod_1.z.number(),
21
- total: zod_1.z.number(),
22
- page: zod_1.z.number(),
23
- });
24
- })(FindPhotoSessionJobsCommand || (exports.FindPhotoSessionJobsCommand = FindPhotoSessionJobsCommand = {}));
@@ -1,75 +0,0 @@
1
- import { z } from 'zod';
2
- export declare namespace GetPhotoSessionConfigCommand {
3
- const ResponseSchema: z.ZodObject<{
4
- data: z.ZodObject<{
5
- models: z.ZodArray<z.ZodObject<{
6
- uuid: z.ZodString;
7
- title: z.ZodString;
8
- description: z.ZodString;
9
- aiModel: z.ZodString;
10
- isNew: z.ZodBoolean;
11
- tierLabel: z.ZodString;
12
- pricePerImage: z.ZodNumber;
13
- order: z.ZodNumber;
14
- status: z.ZodEnum<typeof import("../../..").TOOL_MODEL_STATUS>;
15
- icons: z.ZodObject<{
16
- light: z.ZodObject<{
17
- svg: z.ZodString;
18
- png: z.ZodString;
19
- }, z.core.$strip>;
20
- dark: z.ZodObject<{
21
- svg: z.ZodString;
22
- png: z.ZodString;
23
- }, z.core.$strip>;
24
- }, z.core.$strip>;
25
- maxInputLength: z.ZodNumber;
26
- params: z.ZodObject<{
27
- imageAttachment: z.ZodObject<{
28
- supported: z.ZodBoolean;
29
- maxImages: z.ZodNumber;
30
- acceptedTypes: z.ZodArray<z.ZodString>;
31
- }, z.core.$strip>;
32
- aspectRatio: z.ZodRecord<z.ZodString, z.ZodObject<{
33
- width: z.ZodNumber;
34
- height: z.ZodNumber;
35
- }, z.core.$strip>>;
36
- }, z.core.$strip>;
37
- pricingRules: z.ZodArray<z.ZodObject<{
38
- condition: z.ZodObject<{
39
- withoutSub: z.ZodOptional<z.ZodBoolean>;
40
- }, z.core.$strip>;
41
- value: z.ZodNumber;
42
- }, z.core.$strip>>;
43
- createdAt: z.ZodCoercedDate<unknown>;
44
- updatedAt: z.ZodCoercedDate<unknown>;
45
- unlockedBy: z.ZodNullable<z.ZodObject<{
46
- uuid: z.ZodString;
47
- name: z.ZodString;
48
- }, z.core.$strip>>;
49
- canUse: z.ZodBoolean;
50
- }, z.core.$strip>>;
51
- styles: z.ZodArray<z.ZodObject<{
52
- uuid: z.ZodString;
53
- code: z.ZodString;
54
- title: z.ZodString;
55
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
- references: z.ZodArray<z.ZodObject<{
57
- uuid: z.ZodString;
58
- styleId: z.ZodString;
59
- photoUrl: z.ZodString;
60
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
- order: z.ZodNumber;
62
- createdAt: z.ZodCoercedDate<unknown>;
63
- updatedAt: z.ZodCoercedDate<unknown>;
64
- }, z.core.$strip>>;
65
- createdAt: z.ZodCoercedDate<unknown>;
66
- updatedAt: z.ZodCoercedDate<unknown>;
67
- }, z.core.$strip>>;
68
- looks: z.ZodArray<z.ZodObject<{
69
- type: z.ZodEnum<typeof import("../../..").PHOTO_SESSION_LOOK_TYPE>;
70
- maxPhotos: z.ZodNumber;
71
- }, z.core.$strip>>;
72
- }, z.core.$strip>;
73
- }, z.core.$strip>;
74
- type Response = z.infer<typeof ResponseSchema>;
75
- }
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetPhotoSessionConfigCommand = void 0;
4
- const zod_1 = require("zod");
5
- const models_1 = require("../../../models");
6
- var GetPhotoSessionConfigCommand;
7
- (function (GetPhotoSessionConfigCommand) {
8
- GetPhotoSessionConfigCommand.ResponseSchema = zod_1.z.object({
9
- data: models_1.PhotoSessionConfigSchema,
10
- });
11
- })(GetPhotoSessionConfigCommand || (exports.GetPhotoSessionConfigCommand = GetPhotoSessionConfigCommand = {}));
@@ -1,23 +0,0 @@
1
- import { z } from 'zod';
2
- export declare namespace GetPhotoSessionStylesCommand {
3
- const ResponseSchema: z.ZodObject<{
4
- data: z.ZodArray<z.ZodObject<{
5
- uuid: z.ZodString;
6
- code: z.ZodString;
7
- title: z.ZodString;
8
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
- references: z.ZodArray<z.ZodObject<{
10
- uuid: z.ZodString;
11
- styleId: z.ZodString;
12
- photoUrl: z.ZodString;
13
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
- order: z.ZodNumber;
15
- createdAt: z.ZodCoercedDate<unknown>;
16
- updatedAt: z.ZodCoercedDate<unknown>;
17
- }, z.core.$strip>>;
18
- createdAt: z.ZodCoercedDate<unknown>;
19
- updatedAt: z.ZodCoercedDate<unknown>;
20
- }, z.core.$strip>>;
21
- }, z.core.$strip>;
22
- type Response = z.infer<typeof ResponseSchema>;
23
- }
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetPhotoSessionStylesCommand = void 0;
4
- const zod_1 = require("zod");
5
- const models_1 = require("../../../models");
6
- var GetPhotoSessionStylesCommand;
7
- (function (GetPhotoSessionStylesCommand) {
8
- GetPhotoSessionStylesCommand.ResponseSchema = zod_1.z.object({
9
- data: zod_1.z.array(models_1.PhotoSessionStyleSchema),
10
- });
11
- })(GetPhotoSessionStylesCommand || (exports.GetPhotoSessionStylesCommand = GetPhotoSessionStylesCommand = {}));
@@ -1,13 +0,0 @@
1
- export * from './photo-session.command';
2
- export * from './find-photo-session-job-by-uuid.command';
3
- export * from './find-photo-session-jobs.command';
4
- export * from './set-reaction-to-photo-session-job.command';
5
- export * from './update-photo-session-job-title.command';
6
- export * from './update-photo-session-job-favorite.command';
7
- export * from './update-published-status-photo-session-job.command';
8
- export * from './retry-photo-session-job.command';
9
- export * from './delete-photo-session-job-by-uuid.command';
10
- export * from './delete-all-photo-session-jobs.command';
11
- export * from './get-photo-session-config.command';
12
- export * from './get-photo-session-styles.command';
13
- export * from './admin';
@@ -1,29 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./photo-session.command"), exports);
18
- __exportStar(require("./find-photo-session-job-by-uuid.command"), exports);
19
- __exportStar(require("./find-photo-session-jobs.command"), exports);
20
- __exportStar(require("./set-reaction-to-photo-session-job.command"), exports);
21
- __exportStar(require("./update-photo-session-job-title.command"), exports);
22
- __exportStar(require("./update-photo-session-job-favorite.command"), exports);
23
- __exportStar(require("./update-published-status-photo-session-job.command"), exports);
24
- __exportStar(require("./retry-photo-session-job.command"), exports);
25
- __exportStar(require("./delete-photo-session-job-by-uuid.command"), exports);
26
- __exportStar(require("./delete-all-photo-session-jobs.command"), exports);
27
- __exportStar(require("./get-photo-session-config.command"), exports);
28
- __exportStar(require("./get-photo-session-styles.command"), exports);
29
- __exportStar(require("./admin"), exports);
@@ -1,138 +0,0 @@
1
- import { z } from 'zod';
2
- export declare namespace PhotoSessionCommand {
3
- const ParamsSchema: z.ZodObject<{
4
- attachedFiles: z.ZodArray<z.ZodUUID>;
5
- styleId: z.ZodNullable<z.ZodUUID>;
6
- photosCount: z.ZodNumber;
7
- clothingPhotos: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
8
- hairstylePhotos: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
9
- accessoriesPhotos: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
10
- aspectRatio: z.ZodOptional<z.ZodString>;
11
- }, z.core.$strip>;
12
- const RequestSchema: z.ZodObject<{
13
- modelId: z.ZodUUID;
14
- prompt: z.ZodOptional<z.ZodString>;
15
- params: z.ZodObject<{
16
- attachedFiles: z.ZodArray<z.ZodUUID>;
17
- styleId: z.ZodNullable<z.ZodUUID>;
18
- photosCount: z.ZodNumber;
19
- clothingPhotos: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
20
- hairstylePhotos: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
21
- accessoriesPhotos: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
22
- aspectRatio: z.ZodOptional<z.ZodString>;
23
- }, z.core.$strip>;
24
- }, z.core.$strip>;
25
- type Request = z.infer<typeof RequestSchema>;
26
- const ResponseSchema: z.ZodObject<{
27
- data: z.ZodObject<{
28
- uuid: z.ZodString;
29
- title: z.ZodString;
30
- prompt: z.ZodString;
31
- status: z.ZodEnum<typeof import("../../..").PHOTO_SESSION_GROUP_STATUS>;
32
- error: z.ZodNullable<z.ZodString>;
33
- modelId: z.ZodString;
34
- price: z.ZodNumber;
35
- tokenReservationId: z.ZodNullable<z.ZodString>;
36
- params: z.ZodUnknown;
37
- attempts: z.ZodArray<z.ZodUnknown>;
38
- scope: z.ZodEnum<typeof import("../../..").JOB_SCOPE>;
39
- userId: z.ZodNullable<z.ZodString>;
40
- unregisteredUserId: z.ZodNullable<z.ZodString>;
41
- isDeleted: z.ZodBoolean;
42
- subJobs: z.ZodArray<z.ZodObject<{
43
- uuid: z.ZodString;
44
- prompt: z.ZodString;
45
- reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
46
- dislikeReason: z.ZodNullable<z.ZodString>;
47
- externalId: z.ZodNullable<z.ZodString>;
48
- title: z.ZodString;
49
- status: z.ZodEnum<{
50
- completed: import("../../..").TOOL_JOB_STATUS.COMPLETED;
51
- failed: import("../../..").TOOL_JOB_STATUS.FAILED;
52
- pending: import("../../..").TOOL_JOB_STATUS.PENDING;
53
- }>;
54
- error: z.ZodNullable<z.ZodString>;
55
- modelId: z.ZodString;
56
- groupId: z.ZodString;
57
- previewUrl: z.ZodNullable<z.ZodString>;
58
- params: z.ZodObject<{
59
- attachedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
60
- uuid: z.ZodString;
61
- url: z.ZodString;
62
- name: z.ZodString;
63
- mimeType: z.ZodString;
64
- type: z.ZodString;
65
- size: z.ZodNumber;
66
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
67
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
68
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
69
- }, z.core.$strip>>>;
70
- styleReferenceImageUrl: z.ZodOptional<z.ZodString>;
71
- styleId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
- referenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73
- photosCount: z.ZodOptional<z.ZodNumber>;
74
- clothingPhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
75
- uuid: z.ZodString;
76
- url: z.ZodString;
77
- name: z.ZodString;
78
- mimeType: z.ZodString;
79
- type: z.ZodString;
80
- size: z.ZodNumber;
81
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
82
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
83
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
84
- }, z.core.$strip>>>;
85
- hairstylePhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
86
- uuid: z.ZodString;
87
- url: z.ZodString;
88
- name: z.ZodString;
89
- mimeType: z.ZodString;
90
- type: z.ZodString;
91
- size: z.ZodNumber;
92
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
93
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
94
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
95
- }, z.core.$strip>>>;
96
- accessoriesPhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
97
- uuid: z.ZodString;
98
- url: z.ZodString;
99
- name: z.ZodString;
100
- mimeType: z.ZodString;
101
- type: z.ZodString;
102
- size: z.ZodNumber;
103
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
104
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
105
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
106
- }, z.core.$strip>>>;
107
- aspectRatio: z.ZodOptional<z.ZodString>;
108
- userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
109
- }, z.core.$strip>;
110
- imageUrls: z.ZodNullable<z.ZodArray<z.ZodString>>;
111
- attempts: z.ZodArray<z.ZodObject<{
112
- order: z.ZodNumber;
113
- attemptId: z.ZodOptional<z.ZodString>;
114
- status: z.ZodEnum<{
115
- completed: import("../../..").TOOL_JOB_STATUS.COMPLETED;
116
- failed: import("../../..").TOOL_JOB_STATUS.FAILED;
117
- pending: import("../../..").TOOL_JOB_STATUS.PENDING;
118
- }>;
119
- error: z.ZodNullable<z.ZodString>;
120
- timestamp: z.ZodCoercedDate<unknown>;
121
- }, z.core.$strip>>;
122
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
123
- unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
124
- isPublished: z.ZodBoolean;
125
- postId: z.ZodNullable<z.ZodString>;
126
- isDeleted: z.ZodBoolean;
127
- isFavorite: z.ZodBoolean;
128
- createdAt: z.ZodCoercedDate<unknown>;
129
- completedAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
130
- updatedAt: z.ZodCoercedDate<unknown>;
131
- }, z.core.$strip>>;
132
- createdAt: z.ZodCoercedDate<unknown>;
133
- completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
134
- updatedAt: z.ZodCoercedDate<unknown>;
135
- }, z.core.$strip>;
136
- }, z.core.$strip>;
137
- type Response = z.infer<typeof ResponseSchema>;
138
- }
@@ -1,25 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PhotoSessionCommand = void 0;
4
- const zod_1 = require("zod");
5
- const models_1 = require("../../../models");
6
- var PhotoSessionCommand;
7
- (function (PhotoSessionCommand) {
8
- PhotoSessionCommand.ParamsSchema = zod_1.z.object({
9
- attachedFiles: zod_1.z.array(zod_1.z.uuid()).min(1).max(3),
10
- styleId: zod_1.z.uuid().nullable(),
11
- photosCount: zod_1.z.number().int().min(1).max(6),
12
- clothingPhotos: zod_1.z.array(zod_1.z.uuid()).max(2).optional(),
13
- hairstylePhotos: zod_1.z.array(zod_1.z.uuid()).max(2).optional(),
14
- accessoriesPhotos: zod_1.z.array(zod_1.z.uuid()).max(2).optional(),
15
- aspectRatio: zod_1.z.string().optional(),
16
- });
17
- PhotoSessionCommand.RequestSchema = zod_1.z.object({
18
- modelId: zod_1.z.uuid(),
19
- prompt: zod_1.z.string().optional(),
20
- params: PhotoSessionCommand.ParamsSchema,
21
- });
22
- PhotoSessionCommand.ResponseSchema = zod_1.z.object({
23
- data: models_1.PhotoSessionGroupSchema,
24
- });
25
- })(PhotoSessionCommand || (exports.PhotoSessionCommand = PhotoSessionCommand = {}));
@@ -1,100 +0,0 @@
1
- import { z } from 'zod';
2
- export declare namespace RetryPhotoSessionJobCommand {
3
- const RequestParamsSchema: z.ZodObject<{
4
- uuid: z.ZodString;
5
- }, z.core.$strip>;
6
- type RequestParams = z.infer<typeof RequestParamsSchema>;
7
- const ResponseSchema: z.ZodObject<{
8
- data: z.ZodObject<{
9
- uuid: z.ZodString;
10
- prompt: z.ZodString;
11
- reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
12
- dislikeReason: z.ZodNullable<z.ZodString>;
13
- externalId: z.ZodNullable<z.ZodString>;
14
- title: z.ZodString;
15
- status: z.ZodEnum<{
16
- completed: import("../../..").TOOL_JOB_STATUS.COMPLETED;
17
- failed: import("../../..").TOOL_JOB_STATUS.FAILED;
18
- pending: import("../../..").TOOL_JOB_STATUS.PENDING;
19
- }>;
20
- error: z.ZodNullable<z.ZodString>;
21
- modelId: z.ZodString;
22
- groupId: z.ZodString;
23
- previewUrl: z.ZodNullable<z.ZodString>;
24
- params: z.ZodObject<{
25
- attachedFiles: 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
- styleReferenceImageUrl: z.ZodOptional<z.ZodString>;
37
- styleId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
- referenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
- photosCount: z.ZodOptional<z.ZodNumber>;
40
- clothingPhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
41
- uuid: z.ZodString;
42
- url: z.ZodString;
43
- name: z.ZodString;
44
- mimeType: z.ZodString;
45
- type: z.ZodString;
46
- size: z.ZodNumber;
47
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
48
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
49
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
50
- }, z.core.$strip>>>;
51
- hairstylePhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
52
- uuid: z.ZodString;
53
- url: z.ZodString;
54
- name: z.ZodString;
55
- mimeType: z.ZodString;
56
- type: z.ZodString;
57
- size: z.ZodNumber;
58
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
59
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
60
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
61
- }, z.core.$strip>>>;
62
- accessoriesPhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
63
- uuid: z.ZodString;
64
- url: z.ZodString;
65
- name: z.ZodString;
66
- mimeType: z.ZodString;
67
- type: z.ZodString;
68
- size: z.ZodNumber;
69
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
70
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
71
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
72
- }, z.core.$strip>>>;
73
- aspectRatio: z.ZodOptional<z.ZodString>;
74
- userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
75
- }, z.core.$strip>;
76
- imageUrls: z.ZodNullable<z.ZodArray<z.ZodString>>;
77
- attempts: z.ZodArray<z.ZodObject<{
78
- order: z.ZodNumber;
79
- attemptId: z.ZodOptional<z.ZodString>;
80
- status: z.ZodEnum<{
81
- completed: import("../../..").TOOL_JOB_STATUS.COMPLETED;
82
- failed: import("../../..").TOOL_JOB_STATUS.FAILED;
83
- pending: import("../../..").TOOL_JOB_STATUS.PENDING;
84
- }>;
85
- error: z.ZodNullable<z.ZodString>;
86
- timestamp: z.ZodCoercedDate<unknown>;
87
- }, z.core.$strip>>;
88
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
89
- unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
90
- isPublished: z.ZodBoolean;
91
- postId: z.ZodNullable<z.ZodString>;
92
- isDeleted: z.ZodBoolean;
93
- isFavorite: z.ZodBoolean;
94
- createdAt: z.ZodCoercedDate<unknown>;
95
- completedAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
96
- updatedAt: z.ZodCoercedDate<unknown>;
97
- }, z.core.$strip>;
98
- }, z.core.$strip>;
99
- type Response = z.infer<typeof ResponseSchema>;
100
- }
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RetryPhotoSessionJobCommand = void 0;
4
- const zod_1 = require("zod");
5
- const models_1 = require("../../../models");
6
- var RetryPhotoSessionJobCommand;
7
- (function (RetryPhotoSessionJobCommand) {
8
- RetryPhotoSessionJobCommand.RequestParamsSchema = zod_1.z.object({
9
- uuid: zod_1.z.string().uuid(),
10
- });
11
- RetryPhotoSessionJobCommand.ResponseSchema = zod_1.z.object({
12
- data: models_1.PhotoSessionJobSchema,
13
- });
14
- })(RetryPhotoSessionJobCommand || (exports.RetryPhotoSessionJobCommand = RetryPhotoSessionJobCommand = {}));