@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,106 +0,0 @@
1
- import { z } from 'zod';
2
- import { USER_REACTION } from '../../../constants';
3
- export declare namespace SetReactionToPhotoSessionJobCommand {
4
- const RequestSchema: z.ZodObject<{
5
- reaction: z.ZodNullable<z.ZodEnum<typeof USER_REACTION>>;
6
- dislikeReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
- }, z.core.$strip>;
8
- type Request = z.infer<typeof RequestSchema>;
9
- const RequestParamsSchema: z.ZodObject<{
10
- uuid: z.ZodString;
11
- }, z.core.$strip>;
12
- type RequestParams = z.infer<typeof RequestParamsSchema>;
13
- const ResponseSchema: z.ZodObject<{
14
- data: z.ZodObject<{
15
- uuid: z.ZodString;
16
- prompt: z.ZodString;
17
- reaction: z.ZodNullable<z.ZodEnum<typeof USER_REACTION>>;
18
- dislikeReason: z.ZodNullable<z.ZodString>;
19
- externalId: z.ZodNullable<z.ZodString>;
20
- title: z.ZodString;
21
- status: z.ZodEnum<{
22
- completed: import("../../..").TOOL_JOB_STATUS.COMPLETED;
23
- failed: import("../../..").TOOL_JOB_STATUS.FAILED;
24
- pending: import("../../..").TOOL_JOB_STATUS.PENDING;
25
- }>;
26
- error: z.ZodNullable<z.ZodString>;
27
- modelId: z.ZodString;
28
- groupId: z.ZodString;
29
- previewUrl: z.ZodNullable<z.ZodString>;
30
- params: z.ZodObject<{
31
- attachedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
32
- uuid: z.ZodString;
33
- url: z.ZodString;
34
- name: z.ZodString;
35
- mimeType: z.ZodString;
36
- type: z.ZodString;
37
- size: z.ZodNumber;
38
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
39
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
40
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
41
- }, z.core.$strip>>>;
42
- styleReferenceImageUrl: z.ZodOptional<z.ZodString>;
43
- styleId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
- referenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
- photosCount: z.ZodOptional<z.ZodNumber>;
46
- clothingPhotos: 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
- hairstylePhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
58
- uuid: z.ZodString;
59
- url: z.ZodString;
60
- name: z.ZodString;
61
- mimeType: z.ZodString;
62
- type: z.ZodString;
63
- size: z.ZodNumber;
64
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
65
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
66
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
67
- }, z.core.$strip>>>;
68
- accessoriesPhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
69
- uuid: z.ZodString;
70
- url: z.ZodString;
71
- name: z.ZodString;
72
- mimeType: z.ZodString;
73
- type: z.ZodString;
74
- size: z.ZodNumber;
75
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
76
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
77
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
78
- }, z.core.$strip>>>;
79
- aspectRatio: z.ZodOptional<z.ZodString>;
80
- userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
81
- }, z.core.$strip>;
82
- imageUrls: z.ZodNullable<z.ZodArray<z.ZodString>>;
83
- attempts: z.ZodArray<z.ZodObject<{
84
- order: z.ZodNumber;
85
- attemptId: z.ZodOptional<z.ZodString>;
86
- status: z.ZodEnum<{
87
- completed: import("../../..").TOOL_JOB_STATUS.COMPLETED;
88
- failed: import("../../..").TOOL_JOB_STATUS.FAILED;
89
- pending: import("../../..").TOOL_JOB_STATUS.PENDING;
90
- }>;
91
- error: z.ZodNullable<z.ZodString>;
92
- timestamp: z.ZodCoercedDate<unknown>;
93
- }, z.core.$strip>>;
94
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95
- unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
96
- isPublished: z.ZodBoolean;
97
- postId: z.ZodNullable<z.ZodString>;
98
- isDeleted: z.ZodBoolean;
99
- isFavorite: z.ZodBoolean;
100
- createdAt: z.ZodCoercedDate<unknown>;
101
- completedAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
102
- updatedAt: z.ZodCoercedDate<unknown>;
103
- }, z.core.$strip>;
104
- }, z.core.$strip>;
105
- type Response = z.infer<typeof ResponseSchema>;
106
- }
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SetReactionToPhotoSessionJobCommand = void 0;
4
- const zod_1 = require("zod");
5
- const models_1 = require("../../../models");
6
- const constants_1 = require("../../../constants");
7
- var SetReactionToPhotoSessionJobCommand;
8
- (function (SetReactionToPhotoSessionJobCommand) {
9
- SetReactionToPhotoSessionJobCommand.RequestSchema = zod_1.z
10
- .object({
11
- reaction: zod_1.z.enum(constants_1.USER_REACTION).nullable(),
12
- dislikeReason: zod_1.z.string().nullable().optional(),
13
- })
14
- .refine((data) => {
15
- if (data.reaction !== constants_1.USER_REACTION.DISLIKED && data.dislikeReason) {
16
- return false;
17
- }
18
- return true;
19
- }, {
20
- message: 'Dislike reason is not allowed when reaction is not DISLIKED',
21
- });
22
- SetReactionToPhotoSessionJobCommand.RequestParamsSchema = zod_1.z.object({
23
- uuid: zod_1.z.string().uuid(),
24
- });
25
- SetReactionToPhotoSessionJobCommand.ResponseSchema = zod_1.z.object({
26
- data: models_1.PhotoSessionJobSchema,
27
- });
28
- })(SetReactionToPhotoSessionJobCommand || (exports.SetReactionToPhotoSessionJobCommand = SetReactionToPhotoSessionJobCommand = {}));
@@ -1,104 +0,0 @@
1
- import { z } from 'zod';
2
- export declare namespace UpdatePhotoSessionJobFavoriteCommand {
3
- const RequestSchema: z.ZodObject<{
4
- isFavorite: z.ZodBoolean;
5
- }, z.core.$strip>;
6
- type Request = z.infer<typeof RequestSchema>;
7
- const RequestParamsSchema: z.ZodObject<{
8
- uuid: z.ZodString;
9
- }, z.core.$strip>;
10
- type RequestParams = z.infer<typeof RequestParamsSchema>;
11
- const ResponseSchema: z.ZodObject<{
12
- data: z.ZodObject<{
13
- uuid: z.ZodString;
14
- prompt: z.ZodString;
15
- reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
16
- dislikeReason: z.ZodNullable<z.ZodString>;
17
- externalId: z.ZodNullable<z.ZodString>;
18
- title: z.ZodString;
19
- status: z.ZodEnum<{
20
- completed: import("../../..").TOOL_JOB_STATUS.COMPLETED;
21
- failed: import("../../..").TOOL_JOB_STATUS.FAILED;
22
- pending: import("../../..").TOOL_JOB_STATUS.PENDING;
23
- }>;
24
- error: z.ZodNullable<z.ZodString>;
25
- modelId: z.ZodString;
26
- groupId: z.ZodString;
27
- previewUrl: z.ZodNullable<z.ZodString>;
28
- params: z.ZodObject<{
29
- attachedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
30
- uuid: z.ZodString;
31
- url: z.ZodString;
32
- name: z.ZodString;
33
- mimeType: z.ZodString;
34
- type: z.ZodString;
35
- size: z.ZodNumber;
36
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
37
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
38
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
39
- }, z.core.$strip>>>;
40
- styleReferenceImageUrl: z.ZodOptional<z.ZodString>;
41
- styleId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
- referenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
- photosCount: z.ZodOptional<z.ZodNumber>;
44
- clothingPhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
45
- uuid: z.ZodString;
46
- url: z.ZodString;
47
- name: z.ZodString;
48
- mimeType: z.ZodString;
49
- type: z.ZodString;
50
- size: z.ZodNumber;
51
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
52
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
53
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
54
- }, z.core.$strip>>>;
55
- hairstylePhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
56
- uuid: z.ZodString;
57
- url: z.ZodString;
58
- name: z.ZodString;
59
- mimeType: z.ZodString;
60
- type: z.ZodString;
61
- size: z.ZodNumber;
62
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
63
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
64
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
65
- }, z.core.$strip>>>;
66
- accessoriesPhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
67
- uuid: z.ZodString;
68
- url: z.ZodString;
69
- name: z.ZodString;
70
- mimeType: z.ZodString;
71
- type: z.ZodString;
72
- size: z.ZodNumber;
73
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
74
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
75
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
76
- }, z.core.$strip>>>;
77
- aspectRatio: z.ZodOptional<z.ZodString>;
78
- userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
79
- }, z.core.$strip>;
80
- imageUrls: z.ZodNullable<z.ZodArray<z.ZodString>>;
81
- attempts: z.ZodArray<z.ZodObject<{
82
- order: z.ZodNumber;
83
- attemptId: z.ZodOptional<z.ZodString>;
84
- status: z.ZodEnum<{
85
- completed: import("../../..").TOOL_JOB_STATUS.COMPLETED;
86
- failed: import("../../..").TOOL_JOB_STATUS.FAILED;
87
- pending: import("../../..").TOOL_JOB_STATUS.PENDING;
88
- }>;
89
- error: z.ZodNullable<z.ZodString>;
90
- timestamp: z.ZodCoercedDate<unknown>;
91
- }, z.core.$strip>>;
92
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
93
- unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94
- isPublished: z.ZodBoolean;
95
- postId: z.ZodNullable<z.ZodString>;
96
- isDeleted: z.ZodBoolean;
97
- isFavorite: z.ZodBoolean;
98
- createdAt: z.ZodCoercedDate<unknown>;
99
- completedAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
100
- updatedAt: z.ZodCoercedDate<unknown>;
101
- }, z.core.$strip>;
102
- }, z.core.$strip>;
103
- type Response = z.infer<typeof ResponseSchema>;
104
- }
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdatePhotoSessionJobFavoriteCommand = void 0;
4
- const zod_1 = require("zod");
5
- const models_1 = require("../../../models");
6
- var UpdatePhotoSessionJobFavoriteCommand;
7
- (function (UpdatePhotoSessionJobFavoriteCommand) {
8
- UpdatePhotoSessionJobFavoriteCommand.RequestSchema = zod_1.z.object({
9
- isFavorite: zod_1.z.boolean(),
10
- });
11
- UpdatePhotoSessionJobFavoriteCommand.RequestParamsSchema = zod_1.z.object({
12
- uuid: zod_1.z.string().uuid(),
13
- });
14
- UpdatePhotoSessionJobFavoriteCommand.ResponseSchema = zod_1.z.object({
15
- data: models_1.PhotoSessionJobSchema,
16
- });
17
- })(UpdatePhotoSessionJobFavoriteCommand || (exports.UpdatePhotoSessionJobFavoriteCommand = UpdatePhotoSessionJobFavoriteCommand = {}));
@@ -1,123 +0,0 @@
1
- import { z } from 'zod';
2
- export declare namespace UpdatePhotoSessionJobTitleCommand {
3
- const RequestSchema: z.ZodObject<{
4
- title: z.ZodString;
5
- }, z.core.$strip>;
6
- type Request = z.infer<typeof RequestSchema>;
7
- const RequestParamsSchema: z.ZodObject<{
8
- uuid: z.ZodString;
9
- }, z.core.$strip>;
10
- type RequestParams = z.infer<typeof RequestParamsSchema>;
11
- const ResponseSchema: z.ZodObject<{
12
- data: z.ZodObject<{
13
- uuid: z.ZodString;
14
- title: z.ZodString;
15
- prompt: z.ZodString;
16
- status: z.ZodEnum<typeof import("../../..").PHOTO_SESSION_GROUP_STATUS>;
17
- error: z.ZodNullable<z.ZodString>;
18
- modelId: z.ZodString;
19
- price: z.ZodNumber;
20
- tokenReservationId: z.ZodNullable<z.ZodString>;
21
- params: z.ZodUnknown;
22
- attempts: z.ZodArray<z.ZodUnknown>;
23
- scope: z.ZodEnum<typeof import("../../..").JOB_SCOPE>;
24
- userId: z.ZodNullable<z.ZodString>;
25
- unregisteredUserId: z.ZodNullable<z.ZodString>;
26
- isDeleted: z.ZodBoolean;
27
- subJobs: z.ZodArray<z.ZodObject<{
28
- uuid: z.ZodString;
29
- prompt: z.ZodString;
30
- reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
31
- dislikeReason: z.ZodNullable<z.ZodString>;
32
- externalId: z.ZodNullable<z.ZodString>;
33
- title: z.ZodString;
34
- status: z.ZodEnum<{
35
- completed: import("../../..").TOOL_JOB_STATUS.COMPLETED;
36
- failed: import("../../..").TOOL_JOB_STATUS.FAILED;
37
- pending: import("../../..").TOOL_JOB_STATUS.PENDING;
38
- }>;
39
- error: z.ZodNullable<z.ZodString>;
40
- modelId: z.ZodString;
41
- groupId: z.ZodString;
42
- previewUrl: z.ZodNullable<z.ZodString>;
43
- params: z.ZodObject<{
44
- attachedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
45
- uuid: z.ZodString;
46
- url: z.ZodString;
47
- name: z.ZodString;
48
- mimeType: z.ZodString;
49
- type: z.ZodString;
50
- size: z.ZodNumber;
51
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
52
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
53
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
54
- }, z.core.$strip>>>;
55
- styleReferenceImageUrl: z.ZodOptional<z.ZodString>;
56
- styleId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
- referenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
- photosCount: z.ZodOptional<z.ZodNumber>;
59
- clothingPhotos: 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
- hairstylePhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
71
- uuid: z.ZodString;
72
- url: z.ZodString;
73
- name: z.ZodString;
74
- mimeType: z.ZodString;
75
- type: z.ZodString;
76
- size: z.ZodNumber;
77
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
78
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
79
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
80
- }, z.core.$strip>>>;
81
- accessoriesPhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
82
- uuid: z.ZodString;
83
- url: z.ZodString;
84
- name: z.ZodString;
85
- mimeType: z.ZodString;
86
- type: z.ZodString;
87
- size: z.ZodNumber;
88
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
89
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
90
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
91
- }, z.core.$strip>>>;
92
- aspectRatio: z.ZodOptional<z.ZodString>;
93
- userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
94
- }, z.core.$strip>;
95
- imageUrls: z.ZodNullable<z.ZodArray<z.ZodString>>;
96
- attempts: z.ZodArray<z.ZodObject<{
97
- order: z.ZodNumber;
98
- attemptId: z.ZodOptional<z.ZodString>;
99
- status: z.ZodEnum<{
100
- completed: import("../../..").TOOL_JOB_STATUS.COMPLETED;
101
- failed: import("../../..").TOOL_JOB_STATUS.FAILED;
102
- pending: import("../../..").TOOL_JOB_STATUS.PENDING;
103
- }>;
104
- error: z.ZodNullable<z.ZodString>;
105
- timestamp: z.ZodCoercedDate<unknown>;
106
- }, z.core.$strip>>;
107
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
108
- unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
109
- isPublished: z.ZodBoolean;
110
- postId: z.ZodNullable<z.ZodString>;
111
- isDeleted: z.ZodBoolean;
112
- isFavorite: z.ZodBoolean;
113
- createdAt: z.ZodCoercedDate<unknown>;
114
- completedAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
115
- updatedAt: z.ZodCoercedDate<unknown>;
116
- }, z.core.$strip>>;
117
- createdAt: z.ZodCoercedDate<unknown>;
118
- completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
119
- updatedAt: z.ZodCoercedDate<unknown>;
120
- }, z.core.$strip>;
121
- }, z.core.$strip>;
122
- type Response = z.infer<typeof ResponseSchema>;
123
- }
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdatePhotoSessionJobTitleCommand = void 0;
4
- const zod_1 = require("zod");
5
- const models_1 = require("../../../models");
6
- var UpdatePhotoSessionJobTitleCommand;
7
- (function (UpdatePhotoSessionJobTitleCommand) {
8
- UpdatePhotoSessionJobTitleCommand.RequestSchema = zod_1.z.object({
9
- title: zod_1.z.string().min(1).max(40),
10
- });
11
- UpdatePhotoSessionJobTitleCommand.RequestParamsSchema = zod_1.z.object({
12
- uuid: zod_1.z.string().uuid(),
13
- });
14
- UpdatePhotoSessionJobTitleCommand.ResponseSchema = zod_1.z.object({
15
- data: models_1.PhotoSessionGroupSchema,
16
- });
17
- })(UpdatePhotoSessionJobTitleCommand || (exports.UpdatePhotoSessionJobTitleCommand = UpdatePhotoSessionJobTitleCommand = {}));
@@ -1,105 +0,0 @@
1
- import { z } from 'zod';
2
- export declare namespace UpdatePublishedStatusPhotoSessionJobCommand {
3
- const RequestParamsSchema: z.ZodObject<{
4
- uuid: z.ZodString;
5
- }, z.core.$strip>;
6
- type RequestParams = z.infer<typeof RequestParamsSchema>;
7
- const RequestSchema: z.ZodObject<{
8
- isPublished: z.ZodBoolean;
9
- postId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
- }, z.core.$strip>;
11
- type Request = z.infer<typeof RequestSchema>;
12
- const ResponseSchema: z.ZodObject<{
13
- data: z.ZodObject<{
14
- uuid: z.ZodString;
15
- prompt: z.ZodString;
16
- reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
17
- dislikeReason: z.ZodNullable<z.ZodString>;
18
- externalId: z.ZodNullable<z.ZodString>;
19
- title: z.ZodString;
20
- status: z.ZodEnum<{
21
- completed: import("../../..").TOOL_JOB_STATUS.COMPLETED;
22
- failed: import("../../..").TOOL_JOB_STATUS.FAILED;
23
- pending: import("../../..").TOOL_JOB_STATUS.PENDING;
24
- }>;
25
- error: z.ZodNullable<z.ZodString>;
26
- modelId: z.ZodString;
27
- groupId: z.ZodString;
28
- previewUrl: z.ZodNullable<z.ZodString>;
29
- params: z.ZodObject<{
30
- attachedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
31
- uuid: z.ZodString;
32
- url: z.ZodString;
33
- name: z.ZodString;
34
- mimeType: z.ZodString;
35
- type: z.ZodString;
36
- size: z.ZodNumber;
37
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
38
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
39
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
40
- }, z.core.$strip>>>;
41
- styleReferenceImageUrl: z.ZodOptional<z.ZodString>;
42
- styleId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
- referenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
- photosCount: z.ZodOptional<z.ZodNumber>;
45
- clothingPhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
46
- uuid: z.ZodString;
47
- url: z.ZodString;
48
- name: z.ZodString;
49
- mimeType: z.ZodString;
50
- type: z.ZodString;
51
- size: z.ZodNumber;
52
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
53
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
54
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
55
- }, z.core.$strip>>>;
56
- hairstylePhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
57
- uuid: z.ZodString;
58
- url: z.ZodString;
59
- name: z.ZodString;
60
- mimeType: z.ZodString;
61
- type: z.ZodString;
62
- size: z.ZodNumber;
63
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
64
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
65
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
66
- }, z.core.$strip>>>;
67
- accessoriesPhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
68
- uuid: z.ZodString;
69
- url: z.ZodString;
70
- name: z.ZodString;
71
- mimeType: z.ZodString;
72
- type: z.ZodString;
73
- size: z.ZodNumber;
74
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
75
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
76
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
77
- }, z.core.$strip>>>;
78
- aspectRatio: z.ZodOptional<z.ZodString>;
79
- userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
80
- }, z.core.$strip>;
81
- imageUrls: z.ZodNullable<z.ZodArray<z.ZodString>>;
82
- attempts: z.ZodArray<z.ZodObject<{
83
- order: z.ZodNumber;
84
- attemptId: z.ZodOptional<z.ZodString>;
85
- status: z.ZodEnum<{
86
- completed: import("../../..").TOOL_JOB_STATUS.COMPLETED;
87
- failed: import("../../..").TOOL_JOB_STATUS.FAILED;
88
- pending: import("../../..").TOOL_JOB_STATUS.PENDING;
89
- }>;
90
- error: z.ZodNullable<z.ZodString>;
91
- timestamp: z.ZodCoercedDate<unknown>;
92
- }, z.core.$strip>>;
93
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94
- unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95
- isPublished: z.ZodBoolean;
96
- postId: z.ZodNullable<z.ZodString>;
97
- isDeleted: z.ZodBoolean;
98
- isFavorite: z.ZodBoolean;
99
- createdAt: z.ZodCoercedDate<unknown>;
100
- completedAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
101
- updatedAt: z.ZodCoercedDate<unknown>;
102
- }, z.core.$strip>;
103
- }, z.core.$strip>;
104
- type Response = z.infer<typeof ResponseSchema>;
105
- }
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdatePublishedStatusPhotoSessionJobCommand = void 0;
4
- const zod_1 = require("zod");
5
- const models_1 = require("../../../models");
6
- var UpdatePublishedStatusPhotoSessionJobCommand;
7
- (function (UpdatePublishedStatusPhotoSessionJobCommand) {
8
- UpdatePublishedStatusPhotoSessionJobCommand.RequestParamsSchema = zod_1.z.object({
9
- uuid: zod_1.z.string().uuid(),
10
- });
11
- UpdatePublishedStatusPhotoSessionJobCommand.RequestSchema = zod_1.z
12
- .object({
13
- isPublished: zod_1.z.boolean(),
14
- postId: zod_1.z.string().nullable().optional(),
15
- })
16
- .refine((data) => (data.isPublished ? Boolean(data.postId) : true), {
17
- message: 'Post ID is required when job is published',
18
- path: ['postId'],
19
- });
20
- UpdatePublishedStatusPhotoSessionJobCommand.ResponseSchema = zod_1.z.object({
21
- data: models_1.PhotoSessionJobSchema,
22
- });
23
- })(UpdatePublishedStatusPhotoSessionJobCommand || (exports.UpdatePublishedStatusPhotoSessionJobCommand = UpdatePublishedStatusPhotoSessionJobCommand = {}));
@@ -1,44 +0,0 @@
1
- import { z } from 'zod';
2
- import { VOICE_GENDER } from '../../../constants';
3
- export declare namespace CreateVoiceCloneCommand {
4
- const RequestSchema: z.ZodObject<{
5
- fileId: z.ZodString;
6
- title: z.ZodString;
7
- gender: z.ZodOptional<z.ZodEnum<typeof VOICE_GENDER>>;
8
- imageFileId: z.ZodOptional<z.ZodString>;
9
- }, z.core.$strip>;
10
- type Request = z.infer<typeof RequestSchema>;
11
- const ResponseSchema: z.ZodObject<{
12
- data: z.ZodObject<{
13
- uuid: z.ZodString;
14
- scope: z.ZodEnum<typeof import("../../..").JOB_SCOPE>;
15
- source: z.ZodObject<{
16
- id: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
17
- label: z.ZodString;
18
- }, z.core.$strip>;
19
- title: z.ZodString;
20
- description: z.ZodString;
21
- gender: z.ZodNullable<z.ZodObject<{
22
- id: z.ZodEnum<typeof VOICE_GENDER>;
23
- label: z.ZodString;
24
- }, z.core.$strip>>;
25
- trait: z.ZodNullable<z.ZodString>;
26
- ageRange: z.ZodNullable<z.ZodString>;
27
- categories: z.ZodArray<z.ZodObject<{
28
- id: z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>;
29
- label: z.ZodString;
30
- }, z.core.$strip>>;
31
- previewUrl: z.ZodString;
32
- imageUrl: z.ZodNullable<z.ZodString>;
33
- status: z.ZodEnum<typeof import("../../..").VOICE_STATUS>;
34
- error: z.ZodNullable<z.ZodString>;
35
- order: z.ZodNumber;
36
- isDeleted: z.ZodBoolean;
37
- userId: z.ZodNullable<z.ZodString>;
38
- unregisteredUserId: z.ZodNullable<z.ZodString>;
39
- createdAt: z.ZodDate;
40
- updatedAt: z.ZodDate;
41
- }, z.core.$strip>;
42
- }, z.core.$strip>;
43
- type Response = z.infer<typeof ResponseSchema>;
44
- }
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateVoiceCloneCommand = void 0;
4
- const zod_1 = require("zod");
5
- const constants_1 = require("../../../constants");
6
- const models_1 = require("../../../models");
7
- var CreateVoiceCloneCommand;
8
- (function (CreateVoiceCloneCommand) {
9
- CreateVoiceCloneCommand.RequestSchema = zod_1.z.object({
10
- fileId: zod_1.z.string().uuid(),
11
- title: zod_1.z.string().min(1),
12
- gender: zod_1.z.nativeEnum(constants_1.VOICE_GENDER).optional(),
13
- imageFileId: zod_1.z.string().uuid().optional(),
14
- });
15
- CreateVoiceCloneCommand.ResponseSchema = zod_1.z.object({
16
- data: models_1.VoiceSchema,
17
- });
18
- })(CreateVoiceCloneCommand || (exports.CreateVoiceCloneCommand = CreateVoiceCloneCommand = {}));
@@ -1,24 +0,0 @@
1
- import { z } from 'zod';
2
- import { VOICE_GENDER } from '../../../constants';
3
- export declare namespace CreateVoiceDesignCommand {
4
- const RequestSchema: z.ZodObject<{
5
- title: z.ZodString;
6
- gender: z.ZodEnum<typeof VOICE_GENDER>;
7
- instruction: z.ZodString;
8
- imageFileId: z.ZodOptional<z.ZodString>;
9
- }, z.core.$strip>;
10
- type Request = z.infer<typeof RequestSchema>;
11
- const ResponseSchema: z.ZodObject<{
12
- data: z.ZodObject<{
13
- designId: z.ZodString;
14
- title: z.ZodString;
15
- gender: z.ZodEnum<typeof VOICE_GENDER>;
16
- imageUrl: z.ZodNullable<z.ZodString>;
17
- samples: z.ZodArray<z.ZodObject<{
18
- sampleId: z.ZodString;
19
- previewUrl: z.ZodString;
20
- }, z.core.$strip>>;
21
- }, z.core.$strip>;
22
- }, z.core.$strip>;
23
- type Response = z.infer<typeof ResponseSchema>;
24
- }
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateVoiceDesignCommand = void 0;
4
- const zod_1 = require("zod");
5
- const constants_1 = require("../../../constants");
6
- const models_1 = require("../../../models");
7
- var CreateVoiceDesignCommand;
8
- (function (CreateVoiceDesignCommand) {
9
- CreateVoiceDesignCommand.RequestSchema = zod_1.z.object({
10
- title: zod_1.z.string().min(1),
11
- gender: zod_1.z.nativeEnum(constants_1.VOICE_GENDER),
12
- instruction: zod_1.z.string().min(1),
13
- imageFileId: zod_1.z.string().uuid().optional(),
14
- });
15
- CreateVoiceDesignCommand.ResponseSchema = zod_1.z.object({
16
- data: models_1.VoiceDesignDraftSchema,
17
- });
18
- })(CreateVoiceDesignCommand || (exports.CreateVoiceDesignCommand = CreateVoiceDesignCommand = {}));
@@ -1,9 +0,0 @@
1
- import { z } from 'zod';
2
- export declare namespace DeleteVoiceCommand {
3
- const RequestParamsSchema: z.ZodObject<{
4
- uuid: z.ZodString;
5
- }, z.core.$strip>;
6
- type RequestParams = z.infer<typeof RequestParamsSchema>;
7
- const ResponseSchema: z.ZodVoid;
8
- type Response = z.infer<typeof ResponseSchema>;
9
- }
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteVoiceCommand = void 0;
4
- const zod_1 = require("zod");
5
- var DeleteVoiceCommand;
6
- (function (DeleteVoiceCommand) {
7
- DeleteVoiceCommand.RequestParamsSchema = zod_1.z.object({
8
- uuid: zod_1.z.string().uuid(),
9
- });
10
- DeleteVoiceCommand.ResponseSchema = zod_1.z.void();
11
- })(DeleteVoiceCommand || (exports.DeleteVoiceCommand = DeleteVoiceCommand = {}));