@purpleschool/gptbot 0.14.63-stage2 → 0.15.57

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 (274) hide show
  1. package/build/api/controllers/http/avatar-studio.d.ts +2 -5
  2. package/build/api/controllers/http/avatar-studio.js +4 -6
  3. package/build/api/controllers/http/index.d.ts +1 -1
  4. package/build/api/controllers/http/index.js +1 -1
  5. package/build/api/controllers/http/{photo-session.d.ts → sound-generation.d.ts} +3 -8
  6. package/build/api/controllers/http/sound-generation.js +17 -0
  7. package/build/api/controllers/http/tts.d.ts +0 -9
  8. package/build/api/controllers/http/tts.js +0 -9
  9. package/build/api/routes.d.ts +27 -48
  10. package/build/api/routes.js +27 -48
  11. package/build/commands/ai-model/create-ai-model.command.d.ts +6 -0
  12. package/build/commands/ai-model/find-ai-model.command.d.ts +6 -0
  13. package/build/commands/ai-model/find-ai-models-available-to-user.comand.d.ts +3 -0
  14. package/build/commands/ai-model/find-formatted-ai-model.command.d.ts +6 -0
  15. package/build/commands/ai-model/update-ai-model.command.d.ts +6 -0
  16. package/build/commands/ai-studio/canvas-node/find-canvas-node-definitions-with-configs.query.d.ts +3 -11
  17. package/build/commands/ai-studio/canvas-tool/text-gen/get-text-generation-config.command.d.ts +3 -0
  18. package/build/commands/ai-studio/canvas-tool/var-gen/get-var-gen-config.command.d.ts +3 -0
  19. package/build/commands/avatar-studio/clip/create-avatar-studio-clip.command.d.ts +1 -1
  20. package/build/commands/avatar-studio/clip/find-avatar-studio-clips.query.d.ts +1 -1
  21. package/build/commands/avatar-studio/clip/get-avatar-studio-clip.query.d.ts +1 -1
  22. package/build/commands/avatar-studio/clip/update-avatar-studio-clip.command.d.ts +1 -1
  23. package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-voice.command.d.ts +2 -4
  24. package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-voice.command.js +2 -4
  25. 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} +3 -3
  26. package/build/commands/avatar-studio/scene/apply-avatar-studio-voice-sample-to-all-scenes.command.js +15 -0
  27. package/build/commands/avatar-studio/scene/create-avatar-studio-scene.command.d.ts +1 -1
  28. package/build/commands/avatar-studio/scene/index.d.ts +1 -1
  29. package/build/commands/avatar-studio/scene/index.js +1 -1
  30. package/build/commands/avatar-studio/scene/reorder-avatar-studio-scenes.command.d.ts +1 -1
  31. package/build/commands/avatar-studio/scene/set-avatar-studio-scene-slot.command.d.ts +1 -1
  32. package/build/commands/avatar-studio/scene/update-avatar-studio-scene.command.d.ts +2 -2
  33. package/build/commands/avatar-studio/scriptwriter/apply-avatar-studio-scriptwriter-message.command.d.ts +1 -1
  34. package/build/commands/avatar-studio/shared/avatar-studio-common.schema.d.ts +1 -1
  35. package/build/commands/avatar-studio/shared/get-avatar-studio-config.query.d.ts +6 -5
  36. package/build/commands/avatar-studio/shared/get-avatar-studio-config.query.js +12 -7
  37. package/build/commands/avatar-studio/voice/design-avatar-studio-voice.command.d.ts +56 -26
  38. package/build/commands/avatar-studio/voice/design-avatar-studio-voice.command.js +7 -6
  39. package/build/commands/avatar-studio/voice/index.d.ts +0 -3
  40. package/build/commands/avatar-studio/voice/index.js +0 -3
  41. package/build/commands/b2b/get-b2b-documentation.command.d.ts +6 -0
  42. package/build/commands/page/find-page-by-alias.command.d.ts +6 -0
  43. package/build/commands/page/find-page.command.d.ts +3 -0
  44. package/build/commands/page/find-pages-by-criteria.command.d.ts +6 -0
  45. package/build/commands/payment/receipt.command.d.ts +3 -3
  46. package/build/commands/product/create-product.command.d.ts +76 -0
  47. package/build/commands/product/find-product.command.d.ts +76 -0
  48. package/build/commands/product/get-my-products.command.d.ts +38 -0
  49. package/build/commands/product/update-product.command.d.ts +76 -0
  50. package/build/commands/subscription/buy-subscription.command.d.ts +4 -4
  51. package/build/commands/subscription/buy-subscription.command.js +1 -1
  52. package/build/commands/subscription/create-subscription.command.d.ts +76 -0
  53. package/build/commands/subscription/find-subscription.command.d.ts +114 -0
  54. package/build/commands/subscription/get-available-upgrades.command.d.ts +76 -0
  55. package/build/commands/subscription/get-free-subscription.command.d.ts +38 -0
  56. package/build/commands/subscription/get-subscriptions-summary.command.d.ts +190 -0
  57. package/build/commands/subscription/update-subscription.command.d.ts +76 -0
  58. package/build/commands/subscription/upgrade-subscription.command.d.ts +3 -3
  59. package/build/commands/subscription/upgrade-subscription.command.js +1 -1
  60. package/build/commands/team-account/find-current-team-account-products-by-team-account-id.command.d.ts +38 -0
  61. package/build/commands/team-account/find-current-team-account-products.command.d.ts +38 -0
  62. package/build/commands/team-account/find-current-team-account-subscriptions-by-team-account-id.command.d.ts +38 -0
  63. package/build/commands/team-account/find-current-team-account-subscriptions.command.d.ts +38 -0
  64. package/build/commands/team-account/find-team-account-products.command.d.ts +38 -0
  65. package/build/commands/team-account/find-team-account-subscriptions.command.d.ts +76 -0
  66. package/build/commands/team-account/get-team-account-available-upgrades.command.d.ts +38 -0
  67. package/build/commands/team-to-product/get-team-to-products.command.d.ts +38 -0
  68. package/build/commands/team-to-subscription/get-team-to-subscriptions.command.d.ts +38 -0
  69. package/build/commands/tools/index.d.ts +1 -1
  70. package/build/commands/tools/index.js +1 -1
  71. package/build/commands/tools/{photo-session/delete-all-photo-session-jobs.command.d.ts → sound-generation/delete-all-sound-generation-jobs.command.d.ts} +1 -1
  72. package/build/commands/tools/sound-generation/delete-all-sound-generation-jobs.command.js +8 -0
  73. package/build/commands/tools/{tts/delete-voice.command.d.ts → sound-generation/delete-sound-generation-job-by-uuid.command.d.ts} +2 -2
  74. package/build/commands/tools/sound-generation/delete-sound-generation-job-by-uuid.command.js +11 -0
  75. package/build/commands/tools/sound-generation/find-sound-generation-job-by-uuid.command.d.ts +37 -0
  76. package/build/commands/tools/sound-generation/find-sound-generation-job-by-uuid.command.js +14 -0
  77. package/build/commands/tools/sound-generation/find-sound-generation-jobs.command.d.ts +46 -0
  78. package/build/commands/tools/sound-generation/find-sound-generation-jobs.command.js +24 -0
  79. package/build/commands/tools/sound-generation/get-sound-generation-tool-config.command.d.ts +43 -0
  80. package/build/commands/tools/sound-generation/get-sound-generation-tool-config.command.js +11 -0
  81. package/build/commands/tools/sound-generation/index.d.ts +10 -0
  82. package/build/commands/tools/{photo-session/admin → sound-generation}/index.js +10 -3
  83. package/build/commands/tools/sound-generation/retry-sound-generation-job.command.d.ts +48 -0
  84. package/build/commands/tools/sound-generation/retry-sound-generation-job.command.js +19 -0
  85. package/build/commands/tools/sound-generation/set-reaction-to-sound-generation-job.command.d.ts +43 -0
  86. package/build/commands/tools/sound-generation/set-reaction-to-sound-generation-job.command.js +23 -0
  87. package/build/commands/tools/sound-generation/sound-generation.command.d.ts +44 -0
  88. package/build/commands/tools/sound-generation/sound-generation.command.js +16 -0
  89. package/build/commands/tools/sound-generation/update-sound-generation-job-favorite.command.d.ts +41 -0
  90. package/build/commands/tools/sound-generation/update-sound-generation-job-favorite.command.js +17 -0
  91. package/build/commands/tools/sound-generation/update-sound-generation-job-title.command.d.ts +41 -0
  92. package/build/commands/tools/sound-generation/update-sound-generation-job-title.command.js +17 -0
  93. package/build/commands/tools/tool/find-grouped-tools.command.d.ts +1 -0
  94. package/build/commands/tools/tts/find-tts-job-by-uuid.command.d.ts +1 -13
  95. package/build/commands/tools/tts/find-tts-jobs.command.d.ts +1 -13
  96. package/build/commands/tools/tts/get-tts-tool-config.command.d.ts +0 -11
  97. package/build/commands/tools/tts/index.d.ts +0 -9
  98. package/build/commands/tools/tts/index.js +0 -9
  99. package/build/commands/tools/tts/retry-tts-job.command.d.ts +1 -13
  100. package/build/commands/tools/tts/set-reaction-to-tts-job.command.d.ts +1 -13
  101. package/build/commands/tools/tts/tts.command.d.ts +1 -6
  102. package/build/commands/tools/tts/tts.command.js +1 -7
  103. package/build/commands/tools/tts/update-tts-job-favorite.command.d.ts +1 -13
  104. package/build/commands/tools/tts/update-tts-job-title.command.d.ts +1 -13
  105. package/build/commands/user/get-user-products.command.d.ts +38 -0
  106. package/build/commands/user/get-user-subscriptions.command.d.ts +38 -0
  107. package/build/commands/user-to-subscription/get-user-to-subscriptions.command.d.ts +38 -0
  108. package/build/constants/ai-model/enums/ai-model-config-selector-type.enum.d.ts +2 -1
  109. package/build/constants/ai-model/enums/ai-model-config-selector-type.enum.js +1 -0
  110. package/build/constants/avatar-studio/enums/avatar-studio-job-type.enum.d.ts +0 -1
  111. package/build/constants/avatar-studio/enums/avatar-studio-job-type.enum.js +0 -1
  112. package/build/constants/avatar-studio/enums/avatar-studio-media-kind.enum.d.ts +2 -1
  113. package/build/constants/avatar-studio/enums/avatar-studio-media-kind.enum.js +1 -0
  114. package/build/constants/avatar-studio/enums/avatar-studio-slot.enum.d.ts +1 -1
  115. package/build/constants/avatar-studio/enums/avatar-studio-slot.enum.js +1 -1
  116. package/build/constants/cabinet/enums/statistics-request-type.enum.d.ts +1 -0
  117. package/build/constants/cabinet/enums/statistics-request-type.enum.js +1 -0
  118. package/build/constants/cloud-payments/index.d.ts +5 -0
  119. package/build/constants/cloud-payments/index.js +7 -1
  120. package/build/constants/index.d.ts +0 -2
  121. package/build/constants/index.js +0 -2
  122. package/build/constants/tool/enums/index.d.ts +0 -1
  123. package/build/constants/tool/enums/index.js +0 -1
  124. package/build/helpers/index.d.ts +0 -1
  125. package/build/helpers/index.js +0 -1
  126. package/build/models/ai-model-config.schema.d.ts +7 -0
  127. package/build/models/ai-model-config.schema.js +6 -1
  128. package/build/models/ai-model-formatted.schema.d.ts +3 -0
  129. package/build/models/ai-model.schema.d.ts +9 -0
  130. package/build/models/avatar-studio/avatar-studio.schema.d.ts +6 -6
  131. package/build/models/avatar-studio/avatar-studio.schema.js +3 -3
  132. package/build/models/canvas-node-definition.schema.d.ts +12 -33
  133. package/build/models/cloud-payments-receipt.schema.d.ts +1 -1
  134. package/build/models/cloud-payments-receipt.schema.js +1 -1
  135. package/build/models/product.schema.d.ts +38 -0
  136. package/build/models/subscription-feature.schema.d.ts +77 -0
  137. package/build/models/subscription-feature.schema.js +1 -0
  138. package/build/models/subscription-upgrade-schema.d.ts +38 -0
  139. package/build/models/subscription.schema.d.ts +190 -0
  140. package/build/models/team-account/team-to-product.schema.d.ts +38 -0
  141. package/build/models/team-account/team-to-subscription.schema.d.ts +38 -0
  142. package/build/models/tool-group.schema.d.ts +1 -0
  143. package/build/models/tool-group.schema.js +1 -0
  144. package/build/models/tools/index.d.ts +1 -1
  145. package/build/models/tools/index.js +1 -1
  146. package/build/models/tools/sound-generation/index.d.ts +5 -0
  147. package/build/{constants/tool-photo-session/enums → models/tools/sound-generation}/index.js +5 -3
  148. package/build/models/tools/sound-generation/sound-generation-config.schema.d.ts +39 -0
  149. package/build/models/tools/sound-generation/sound-generation-config.schema.js +8 -0
  150. package/build/models/tools/sound-generation/sound-generation-job.schema.d.ts +30 -0
  151. package/build/models/tools/sound-generation/sound-generation-job.schema.js +20 -0
  152. package/build/models/tools/sound-generation/sound-generation-model.schema.d.ts +49 -0
  153. package/build/models/tools/sound-generation/sound-generation-model.schema.js +35 -0
  154. package/build/models/tools/sound-generation/sound-generation-params.schema.d.ts +8 -0
  155. package/build/models/tools/sound-generation/sound-generation-params.schema.js +10 -0
  156. package/build/models/tools/sound-generation/sound-generation-result.schema.d.ts +7 -0
  157. package/build/models/tools/sound-generation/sound-generation-result.schema.js +9 -0
  158. package/build/models/tools/tts/index.d.ts +0 -3
  159. package/build/models/tools/tts/index.js +0 -3
  160. package/build/models/tools/tts/tts-config.schema.d.ts +0 -23
  161. package/build/models/tools/tts/tts-config.schema.js +1 -14
  162. package/build/models/tools/tts/tts-job.schema.d.ts +1 -26
  163. package/build/models/tools/tts/tts-job.schema.js +2 -16
  164. package/build/models/tools/tts/tts-model.schema.d.ts +0 -1
  165. package/build/models/tools/tts/tts-model.schema.js +0 -1
  166. package/build/models/user-to-product.schema.d.ts +38 -0
  167. package/build/models/user-to-subscription.schema.d.ts +114 -0
  168. package/package.json +1 -1
  169. package/build/api/controllers/http/photo-session.js +0 -22
  170. package/build/commands/avatar-studio/scene/apply-avatar-studio-voice-to-all-scenes.command.js +0 -17
  171. package/build/commands/avatar-studio/voice/clone-avatar-studio-voice.command.d.ts +0 -43
  172. package/build/commands/avatar-studio/voice/clone-avatar-studio-voice.command.js +0 -19
  173. package/build/commands/avatar-studio/voice/delete-avatar-studio-voice.command.d.ts +0 -11
  174. package/build/commands/avatar-studio/voice/delete-avatar-studio-voice.command.js +0 -13
  175. package/build/commands/avatar-studio/voice/find-avatar-studio-voices.query.d.ts +0 -36
  176. package/build/commands/avatar-studio/voice/find-avatar-studio-voices.query.js +0 -11
  177. package/build/commands/tools/photo-session/admin/create-photo-session-style.command.d.ts +0 -39
  178. package/build/commands/tools/photo-session/admin/create-photo-session-style.command.js +0 -26
  179. package/build/commands/tools/photo-session/admin/delete-photo-session-style.command.d.ts +0 -9
  180. package/build/commands/tools/photo-session/admin/delete-photo-session-style.command.js +0 -11
  181. package/build/commands/tools/photo-session/admin/index.d.ts +0 -3
  182. package/build/commands/tools/photo-session/admin/update-photo-session-style.command.d.ts +0 -45
  183. package/build/commands/tools/photo-session/admin/update-photo-session-style.command.js +0 -36
  184. package/build/commands/tools/photo-session/delete-all-photo-session-jobs.command.js +0 -8
  185. package/build/commands/tools/photo-session/delete-photo-session-job-by-uuid.command.d.ts +0 -9
  186. package/build/commands/tools/photo-session/delete-photo-session-job-by-uuid.command.js +0 -11
  187. package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.d.ts +0 -64
  188. package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.js +0 -14
  189. package/build/commands/tools/photo-session/find-photo-session-jobs.command.d.ts +0 -73
  190. package/build/commands/tools/photo-session/find-photo-session-jobs.command.js +0 -24
  191. package/build/commands/tools/photo-session/get-photo-session-config.command.d.ts +0 -76
  192. package/build/commands/tools/photo-session/get-photo-session-config.command.js +0 -11
  193. package/build/commands/tools/photo-session/get-photo-session-price.command.d.ts +0 -32
  194. package/build/commands/tools/photo-session/get-photo-session-price.command.js +0 -27
  195. package/build/commands/tools/photo-session/index.d.ts +0 -13
  196. package/build/commands/tools/photo-session/index.js +0 -29
  197. package/build/commands/tools/photo-session/photo-session.command.d.ts +0 -87
  198. package/build/commands/tools/photo-session/photo-session.command.js +0 -27
  199. package/build/commands/tools/photo-session/retry-photo-session-job.command.d.ts +0 -107
  200. package/build/commands/tools/photo-session/retry-photo-session-job.command.js +0 -31
  201. package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.d.ts +0 -70
  202. package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.js +0 -28
  203. package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.d.ts +0 -68
  204. package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.js +0 -17
  205. package/build/commands/tools/photo-session/update-photo-session-job-title.command.d.ts +0 -68
  206. package/build/commands/tools/photo-session/update-photo-session-job-title.command.js +0 -17
  207. package/build/commands/tools/photo-session/update-published-status-photo-session-job.command.d.ts +0 -69
  208. package/build/commands/tools/photo-session/update-published-status-photo-session-job.command.js +0 -18
  209. package/build/commands/tools/tts/create-voice-clone.command.d.ts +0 -44
  210. package/build/commands/tools/tts/create-voice-clone.command.js +0 -18
  211. package/build/commands/tools/tts/create-voice-design.command.d.ts +0 -24
  212. package/build/commands/tools/tts/create-voice-design.command.js +0 -18
  213. package/build/commands/tools/tts/delete-voice.command.js +0 -11
  214. package/build/commands/tools/tts/download-tts-job.command.d.ts +0 -18
  215. package/build/commands/tools/tts/download-tts-job.command.js +0 -17
  216. package/build/commands/tools/tts/find-voice-by-uuid.query.d.ts +0 -40
  217. package/build/commands/tools/tts/find-voice-by-uuid.query.js +0 -14
  218. package/build/commands/tools/tts/find-voices.query.d.ts +0 -48
  219. package/build/commands/tools/tts/find-voices.query.js +0 -18
  220. package/build/commands/tools/tts/improve-tts-text.command.d.ts +0 -13
  221. package/build/commands/tools/tts/improve-tts-text.command.js +0 -13
  222. package/build/commands/tools/tts/select-voice-design.command.d.ts +0 -44
  223. package/build/commands/tools/tts/select-voice-design.command.js +0 -17
  224. package/build/commands/tools/tts/update-voice.command.d.ts +0 -45
  225. package/build/commands/tools/tts/update-voice.command.js +0 -18
  226. package/build/constants/tool/enums/job-scope.enum.d.ts +0 -5
  227. package/build/constants/tool/enums/job-scope.enum.js +0 -9
  228. package/build/constants/tool-photo-session/enums/index.d.ts +0 -3
  229. package/build/constants/tool-photo-session/enums/photo-session-look-type.enum.d.ts +0 -5
  230. package/build/constants/tool-photo-session/enums/photo-session-look-type.enum.js +0 -9
  231. package/build/constants/tool-photo-session/enums/photo-session-model-type.enum.d.ts +0 -3
  232. package/build/constants/tool-photo-session/enums/photo-session-model-type.enum.js +0 -7
  233. package/build/constants/tool-photo-session/enums/photo-session-strategy.enum.d.ts +0 -4
  234. package/build/constants/tool-photo-session/enums/photo-session-strategy.enum.js +0 -8
  235. package/build/constants/tool-photo-session/index.d.ts +0 -1
  236. package/build/constants/tool-photo-session/index.js +0 -17
  237. package/build/constants/tool-tts/enums/index.d.ts +0 -7
  238. package/build/constants/tool-tts/enums/index.js +0 -23
  239. package/build/constants/tool-tts/enums/tts-download-format.enum.d.ts +0 -5
  240. package/build/constants/tool-tts/enums/tts-download-format.enum.js +0 -9
  241. package/build/constants/tool-tts/enums/voice-category.enum.d.ts +0 -19
  242. package/build/constants/tool-tts/enums/voice-category.enum.js +0 -23
  243. package/build/constants/tool-tts/enums/voice-gender.enum.d.ts +0 -4
  244. package/build/constants/tool-tts/enums/voice-gender.enum.js +0 -8
  245. package/build/constants/tool-tts/enums/voice-source.enum.d.ts +0 -5
  246. package/build/constants/tool-tts/enums/voice-source.enum.js +0 -9
  247. package/build/constants/tool-tts/enums/voice-status.enum.d.ts +0 -5
  248. package/build/constants/tool-tts/enums/voice-status.enum.js +0 -9
  249. package/build/constants/tool-tts/enums/voice-tag-group.enum.d.ts +0 -5
  250. package/build/constants/tool-tts/enums/voice-tag-group.enum.js +0 -9
  251. package/build/constants/tool-tts/enums/voice-tag.enum.d.ts +0 -20
  252. package/build/constants/tool-tts/enums/voice-tag.enum.js +0 -24
  253. package/build/constants/tool-tts/index.d.ts +0 -1
  254. package/build/constants/tool-tts/index.js +0 -17
  255. package/build/helpers/photo-session/calculate-photo-session-price.helper.d.ts +0 -6
  256. package/build/helpers/photo-session/calculate-photo-session-price.helper.js +0 -13
  257. package/build/helpers/photo-session/index.d.ts +0 -1
  258. package/build/helpers/photo-session/index.js +0 -17
  259. package/build/models/tools/photo-session/index.d.ts +0 -4
  260. package/build/models/tools/photo-session/index.js +0 -20
  261. package/build/models/tools/photo-session/photo-session-config.schema.d.ts +0 -143
  262. package/build/models/tools/photo-session/photo-session-config.schema.js +0 -21
  263. package/build/models/tools/photo-session/photo-session-job.schema.d.ts +0 -80
  264. package/build/models/tools/photo-session/photo-session-job.schema.js +0 -50
  265. package/build/models/tools/photo-session/photo-session-model.schema.d.ts +0 -116
  266. package/build/models/tools/photo-session/photo-session-model.schema.js +0 -47
  267. package/build/models/tools/photo-session/photo-session-style.schema.d.ts +0 -29
  268. package/build/models/tools/photo-session/photo-session-style.schema.js +0 -22
  269. package/build/models/tools/tts/voice-design-draft.schema.d.ts +0 -13
  270. package/build/models/tools/tts/voice-design-draft.schema.js +0 -13
  271. package/build/models/tools/tts/voice-design-sample.schema.d.ts +0 -6
  272. package/build/models/tools/tts/voice-design-sample.schema.js +0 -8
  273. package/build/models/tools/tts/voice.schema.d.ts +0 -33
  274. package/build/models/tools/tts/voice.schema.js +0 -37
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PHOTO_SESSION_LOOK_TYPE = void 0;
4
- var PHOTO_SESSION_LOOK_TYPE;
5
- (function (PHOTO_SESSION_LOOK_TYPE) {
6
- PHOTO_SESSION_LOOK_TYPE["CLOTHING"] = "clothing";
7
- PHOTO_SESSION_LOOK_TYPE["HAIRSTYLE"] = "hairstyle";
8
- PHOTO_SESSION_LOOK_TYPE["ACCESSORIES"] = "accessories";
9
- })(PHOTO_SESSION_LOOK_TYPE || (exports.PHOTO_SESSION_LOOK_TYPE = PHOTO_SESSION_LOOK_TYPE = {}));
@@ -1,3 +0,0 @@
1
- export declare enum PHOTO_SESSION_MODEL_TYPE {
2
- DEFAULT = "default"
3
- }
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PHOTO_SESSION_MODEL_TYPE = void 0;
4
- var PHOTO_SESSION_MODEL_TYPE;
5
- (function (PHOTO_SESSION_MODEL_TYPE) {
6
- PHOTO_SESSION_MODEL_TYPE["DEFAULT"] = "default";
7
- })(PHOTO_SESSION_MODEL_TYPE || (exports.PHOTO_SESSION_MODEL_TYPE = PHOTO_SESSION_MODEL_TYPE = {}));
@@ -1,4 +0,0 @@
1
- export declare enum PHOTO_SESSION_STRATEGY {
2
- NANO_BANANA_PRO_CALLBACK = "NANO_BANANA_PRO_CALLBACK",
3
- OPENAI_IMAGE_1_GENERATION = "OPENAI_IMAGE_1_GENERATION"
4
- }
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PHOTO_SESSION_STRATEGY = void 0;
4
- var PHOTO_SESSION_STRATEGY;
5
- (function (PHOTO_SESSION_STRATEGY) {
6
- PHOTO_SESSION_STRATEGY["NANO_BANANA_PRO_CALLBACK"] = "NANO_BANANA_PRO_CALLBACK";
7
- PHOTO_SESSION_STRATEGY["OPENAI_IMAGE_1_GENERATION"] = "OPENAI_IMAGE_1_GENERATION";
8
- })(PHOTO_SESSION_STRATEGY || (exports.PHOTO_SESSION_STRATEGY = PHOTO_SESSION_STRATEGY = {}));
@@ -1 +0,0 @@
1
- export * from './enums';
@@ -1,17 +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("./enums"), exports);
@@ -1,7 +0,0 @@
1
- export * from './tts-download-format.enum';
2
- export * from './voice-category.enum';
3
- export * from './voice-gender.enum';
4
- export * from './voice-source.enum';
5
- export * from './voice-status.enum';
6
- export * from './voice-tag.enum';
7
- export * from './voice-tag-group.enum';
@@ -1,23 +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("./tts-download-format.enum"), exports);
18
- __exportStar(require("./voice-category.enum"), exports);
19
- __exportStar(require("./voice-gender.enum"), exports);
20
- __exportStar(require("./voice-source.enum"), exports);
21
- __exportStar(require("./voice-status.enum"), exports);
22
- __exportStar(require("./voice-tag.enum"), exports);
23
- __exportStar(require("./voice-tag-group.enum"), exports);
@@ -1,5 +0,0 @@
1
- export declare enum TTS_DOWNLOAD_FORMAT {
2
- MP3 = "mp3",
3
- WAV = "wav",
4
- OPUS = "opus"
5
- }
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TTS_DOWNLOAD_FORMAT = void 0;
4
- var TTS_DOWNLOAD_FORMAT;
5
- (function (TTS_DOWNLOAD_FORMAT) {
6
- TTS_DOWNLOAD_FORMAT["MP3"] = "mp3";
7
- TTS_DOWNLOAD_FORMAT["WAV"] = "wav";
8
- TTS_DOWNLOAD_FORMAT["OPUS"] = "opus";
9
- })(TTS_DOWNLOAD_FORMAT || (exports.TTS_DOWNLOAD_FORMAT = TTS_DOWNLOAD_FORMAT = {}));
@@ -1,19 +0,0 @@
1
- export declare enum VOICE_CATEGORY {
2
- GAMES = "GAMES",
3
- AUDIOBOOKS = "AUDIOBOOKS",
4
- YOUTUBE = "YOUTUBE",
5
- PODCASTS = "PODCASTS",
6
- NEWS = "NEWS",
7
- EDUCATION = "EDUCATION",
8
- ADVERTISING = "ADVERTISING",
9
- IVR = "IVR",
10
- FAIRY_TALES = "FAIRY_TALES",
11
- HORROR = "HORROR",
12
- WHISPER = "WHISPER",
13
- ROMANCE = "ROMANCE",
14
- BUSINESS = "BUSINESS",
15
- WELLNESS = "WELLNESS",
16
- SPORTS = "SPORTS",
17
- AMBIENCE = "AMBIENCE",
18
- TRAVEL = "TRAVEL"
19
- }
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VOICE_CATEGORY = void 0;
4
- var VOICE_CATEGORY;
5
- (function (VOICE_CATEGORY) {
6
- VOICE_CATEGORY["GAMES"] = "GAMES";
7
- VOICE_CATEGORY["AUDIOBOOKS"] = "AUDIOBOOKS";
8
- VOICE_CATEGORY["YOUTUBE"] = "YOUTUBE";
9
- VOICE_CATEGORY["PODCASTS"] = "PODCASTS";
10
- VOICE_CATEGORY["NEWS"] = "NEWS";
11
- VOICE_CATEGORY["EDUCATION"] = "EDUCATION";
12
- VOICE_CATEGORY["ADVERTISING"] = "ADVERTISING";
13
- VOICE_CATEGORY["IVR"] = "IVR";
14
- VOICE_CATEGORY["FAIRY_TALES"] = "FAIRY_TALES";
15
- VOICE_CATEGORY["HORROR"] = "HORROR";
16
- VOICE_CATEGORY["WHISPER"] = "WHISPER";
17
- VOICE_CATEGORY["ROMANCE"] = "ROMANCE";
18
- VOICE_CATEGORY["BUSINESS"] = "BUSINESS";
19
- VOICE_CATEGORY["WELLNESS"] = "WELLNESS";
20
- VOICE_CATEGORY["SPORTS"] = "SPORTS";
21
- VOICE_CATEGORY["AMBIENCE"] = "AMBIENCE";
22
- VOICE_CATEGORY["TRAVEL"] = "TRAVEL";
23
- })(VOICE_CATEGORY || (exports.VOICE_CATEGORY = VOICE_CATEGORY = {}));
@@ -1,4 +0,0 @@
1
- export declare enum VOICE_GENDER {
2
- M = "M",
3
- F = "F"
4
- }
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VOICE_GENDER = void 0;
4
- var VOICE_GENDER;
5
- (function (VOICE_GENDER) {
6
- VOICE_GENDER["M"] = "M";
7
- VOICE_GENDER["F"] = "F";
8
- })(VOICE_GENDER || (exports.VOICE_GENDER = VOICE_GENDER = {}));
@@ -1,5 +0,0 @@
1
- export declare enum VOICE_SOURCE {
2
- LIBRARY = "LIBRARY",
3
- CLONE = "CLONE",
4
- DESIGN = "DESIGN"
5
- }
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VOICE_SOURCE = void 0;
4
- var VOICE_SOURCE;
5
- (function (VOICE_SOURCE) {
6
- VOICE_SOURCE["LIBRARY"] = "LIBRARY";
7
- VOICE_SOURCE["CLONE"] = "CLONE";
8
- VOICE_SOURCE["DESIGN"] = "DESIGN";
9
- })(VOICE_SOURCE || (exports.VOICE_SOURCE = VOICE_SOURCE = {}));
@@ -1,5 +0,0 @@
1
- export declare enum VOICE_STATUS {
2
- PENDING = "PENDING",
3
- READY = "READY",
4
- FAILED = "FAILED"
5
- }
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VOICE_STATUS = void 0;
4
- var VOICE_STATUS;
5
- (function (VOICE_STATUS) {
6
- VOICE_STATUS["PENDING"] = "PENDING";
7
- VOICE_STATUS["READY"] = "READY";
8
- VOICE_STATUS["FAILED"] = "FAILED";
9
- })(VOICE_STATUS || (exports.VOICE_STATUS = VOICE_STATUS = {}));
@@ -1,5 +0,0 @@
1
- export declare enum VOICE_TAG_GROUP {
2
- EMOTION = "EMOTION",
3
- DELIVERY = "DELIVERY",
4
- SOUND = "SOUND"
5
- }
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VOICE_TAG_GROUP = void 0;
4
- var VOICE_TAG_GROUP;
5
- (function (VOICE_TAG_GROUP) {
6
- VOICE_TAG_GROUP["EMOTION"] = "EMOTION";
7
- VOICE_TAG_GROUP["DELIVERY"] = "DELIVERY";
8
- VOICE_TAG_GROUP["SOUND"] = "SOUND";
9
- })(VOICE_TAG_GROUP || (exports.VOICE_TAG_GROUP = VOICE_TAG_GROUP = {}));
@@ -1,20 +0,0 @@
1
- export declare enum VOICE_TAG {
2
- JOYFUL = "JOYFUL",
3
- SAD = "SAD",
4
- ANGRY = "ANGRY",
5
- SURPRISED = "SURPRISED",
6
- TENDER = "TENDER",
7
- IRONIC = "IRONIC",
8
- CONVERSATIONAL = "CONVERSATIONAL",
9
- PROFESSIONAL = "PROFESSIONAL",
10
- WHISPER = "WHISPER",
11
- LOUDER = "LOUDER",
12
- QUIETER = "QUIETER",
13
- FASTER = "FASTER",
14
- PAUSE = "PAUSE",
15
- SHORT_PAUSE = "SHORT_PAUSE",
16
- LAUGH = "LAUGH",
17
- SIGH = "SIGH",
18
- COUGH = "COUGH",
19
- BREATH = "BREATH"
20
- }
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VOICE_TAG = void 0;
4
- var VOICE_TAG;
5
- (function (VOICE_TAG) {
6
- VOICE_TAG["JOYFUL"] = "JOYFUL";
7
- VOICE_TAG["SAD"] = "SAD";
8
- VOICE_TAG["ANGRY"] = "ANGRY";
9
- VOICE_TAG["SURPRISED"] = "SURPRISED";
10
- VOICE_TAG["TENDER"] = "TENDER";
11
- VOICE_TAG["IRONIC"] = "IRONIC";
12
- VOICE_TAG["CONVERSATIONAL"] = "CONVERSATIONAL";
13
- VOICE_TAG["PROFESSIONAL"] = "PROFESSIONAL";
14
- VOICE_TAG["WHISPER"] = "WHISPER";
15
- VOICE_TAG["LOUDER"] = "LOUDER";
16
- VOICE_TAG["QUIETER"] = "QUIETER";
17
- VOICE_TAG["FASTER"] = "FASTER";
18
- VOICE_TAG["PAUSE"] = "PAUSE";
19
- VOICE_TAG["SHORT_PAUSE"] = "SHORT_PAUSE";
20
- VOICE_TAG["LAUGH"] = "LAUGH";
21
- VOICE_TAG["SIGH"] = "SIGH";
22
- VOICE_TAG["COUGH"] = "COUGH";
23
- VOICE_TAG["BREATH"] = "BREATH";
24
- })(VOICE_TAG || (exports.VOICE_TAG = VOICE_TAG = {}));
@@ -1 +0,0 @@
1
- export * from './enums';
@@ -1,17 +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("./enums"), exports);
@@ -1,6 +0,0 @@
1
- import { PhotoSessionModelPricingRules } from '../../models';
2
- export declare function calculatePhotoSessionPrice({ basePrice, userHasActiveSubscriptionOrProduct, rules, }: {
3
- basePrice: number;
4
- userHasActiveSubscriptionOrProduct: boolean;
5
- rules: PhotoSessionModelPricingRules;
6
- }): number;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.calculatePhotoSessionPrice = calculatePhotoSessionPrice;
4
- function calculatePhotoSessionPrice({ basePrice, userHasActiveSubscriptionOrProduct, rules, }) {
5
- let price = basePrice;
6
- for (const rule of rules !== null && rules !== void 0 ? rules : []) {
7
- const condition = rule.condition;
8
- if (condition.withoutSub && userHasActiveSubscriptionOrProduct === false) {
9
- price += rule.value;
10
- }
11
- }
12
- return price;
13
- }
@@ -1 +0,0 @@
1
- export * from './calculate-photo-session-price.helper';
@@ -1,17 +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("./calculate-photo-session-price.helper"), exports);
@@ -1,4 +0,0 @@
1
- export * from './photo-session-config.schema';
2
- export * from './photo-session-job.schema';
3
- export * from './photo-session-model.schema';
4
- export * from './photo-session-style.schema';
@@ -1,20 +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-config.schema"), exports);
18
- __exportStar(require("./photo-session-job.schema"), exports);
19
- __exportStar(require("./photo-session-model.schema"), exports);
20
- __exportStar(require("./photo-session-style.schema"), exports);
@@ -1,143 +0,0 @@
1
- import { z } from 'zod';
2
- import { PHOTO_SESSION_LOOK_TYPE } from '../../../constants';
3
- export declare const PhotoSessionLookCategorySchema: z.ZodObject<{
4
- type: z.ZodEnum<typeof PHOTO_SESSION_LOOK_TYPE>;
5
- maxPhotos: z.ZodNumber;
6
- }, z.core.$strip>;
7
- export declare const PhotoSessionConfigSchema: z.ZodObject<{
8
- models: z.ZodArray<z.ZodObject<{
9
- uuid: z.ZodString;
10
- title: z.ZodString;
11
- description: z.ZodString;
12
- aiModel: z.ZodString;
13
- isNew: z.ZodBoolean;
14
- tierLabel: z.ZodString;
15
- pricePerImage: z.ZodNumber;
16
- order: z.ZodNumber;
17
- status: z.ZodEnum<typeof import("../../..").TOOL_MODEL_STATUS>;
18
- icons: z.ZodObject<{
19
- light: z.ZodObject<{
20
- svg: z.ZodString;
21
- png: z.ZodString;
22
- }, z.core.$strip>;
23
- dark: z.ZodObject<{
24
- svg: z.ZodString;
25
- png: z.ZodString;
26
- }, z.core.$strip>;
27
- }, z.core.$strip>;
28
- strategy: z.ZodEnum<typeof import("../../..").PHOTO_SESSION_STRATEGY>;
29
- maxInputLength: z.ZodNumber;
30
- params: z.ZodObject<{
31
- imageAttachment: z.ZodObject<{
32
- supported: z.ZodBoolean;
33
- maxImages: z.ZodNumber;
34
- acceptedTypes: z.ZodArray<z.ZodString>;
35
- }, z.core.$strip>;
36
- aspectRatio: z.ZodRecord<z.ZodString, z.ZodObject<{
37
- width: z.ZodNumber;
38
- height: z.ZodNumber;
39
- }, z.core.$strip>>;
40
- }, z.core.$strip>;
41
- pricingRules: z.ZodArray<z.ZodObject<{
42
- condition: z.ZodObject<{
43
- withoutSub: z.ZodOptional<z.ZodBoolean>;
44
- }, z.core.$strip>;
45
- value: z.ZodNumber;
46
- }, z.core.$strip>>;
47
- createdAt: z.ZodCoercedDate<unknown>;
48
- updatedAt: z.ZodCoercedDate<unknown>;
49
- unlockedBy: z.ZodNullable<z.ZodObject<{
50
- uuid: z.ZodString;
51
- name: z.ZodString;
52
- }, z.core.$strip>>;
53
- canUse: z.ZodBoolean;
54
- }, z.core.$strip>>;
55
- styles: z.ZodArray<z.ZodObject<{
56
- uuid: z.ZodString;
57
- code: z.ZodString;
58
- title: z.ZodString;
59
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
- references: z.ZodArray<z.ZodObject<{
61
- uuid: z.ZodString;
62
- styleId: z.ZodString;
63
- photoUrl: z.ZodString;
64
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
- order: z.ZodNumber;
66
- createdAt: z.ZodCoercedDate<unknown>;
67
- updatedAt: z.ZodCoercedDate<unknown>;
68
- }, z.core.$strip>>;
69
- createdAt: z.ZodCoercedDate<unknown>;
70
- updatedAt: z.ZodCoercedDate<unknown>;
71
- }, z.core.$strip>>;
72
- looks: z.ZodArray<z.ZodObject<{
73
- type: z.ZodEnum<typeof PHOTO_SESSION_LOOK_TYPE>;
74
- maxPhotos: z.ZodNumber;
75
- }, z.core.$strip>>;
76
- }, z.core.$strip>;
77
- export type PhotoSessionConfig = z.infer<typeof PhotoSessionConfigSchema>;
78
- export declare const RawPhotoSessionConfigSchema: z.ZodObject<{
79
- models: z.ZodArray<z.ZodObject<{
80
- uuid: z.ZodString;
81
- title: z.ZodString;
82
- description: z.ZodString;
83
- aiModel: z.ZodString;
84
- isNew: z.ZodBoolean;
85
- tierLabel: z.ZodString;
86
- pricePerImage: z.ZodNumber;
87
- order: z.ZodNumber;
88
- status: z.ZodEnum<typeof import("../../..").TOOL_MODEL_STATUS>;
89
- icons: z.ZodObject<{
90
- light: z.ZodObject<{
91
- svg: z.ZodString;
92
- png: z.ZodString;
93
- }, z.core.$strip>;
94
- dark: z.ZodObject<{
95
- svg: z.ZodString;
96
- png: z.ZodString;
97
- }, z.core.$strip>;
98
- }, z.core.$strip>;
99
- strategy: z.ZodEnum<typeof import("../../..").PHOTO_SESSION_STRATEGY>;
100
- maxInputLength: z.ZodNumber;
101
- params: z.ZodObject<{
102
- imageAttachment: z.ZodObject<{
103
- supported: z.ZodBoolean;
104
- maxImages: z.ZodNumber;
105
- acceptedTypes: z.ZodArray<z.ZodString>;
106
- }, z.core.$strip>;
107
- aspectRatio: z.ZodRecord<z.ZodString, z.ZodObject<{
108
- width: z.ZodNumber;
109
- height: z.ZodNumber;
110
- }, z.core.$strip>>;
111
- }, z.core.$strip>;
112
- pricingRules: z.ZodArray<z.ZodObject<{
113
- condition: z.ZodObject<{
114
- withoutSub: z.ZodOptional<z.ZodBoolean>;
115
- }, z.core.$strip>;
116
- value: z.ZodNumber;
117
- }, z.core.$strip>>;
118
- createdAt: z.ZodCoercedDate<unknown>;
119
- updatedAt: z.ZodCoercedDate<unknown>;
120
- }, z.core.$strip>>;
121
- styles: z.ZodArray<z.ZodObject<{
122
- uuid: z.ZodString;
123
- code: z.ZodString;
124
- title: z.ZodString;
125
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
126
- references: z.ZodArray<z.ZodObject<{
127
- uuid: z.ZodString;
128
- styleId: z.ZodString;
129
- photoUrl: z.ZodString;
130
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
131
- order: z.ZodNumber;
132
- createdAt: z.ZodCoercedDate<unknown>;
133
- updatedAt: z.ZodCoercedDate<unknown>;
134
- }, z.core.$strip>>;
135
- createdAt: z.ZodCoercedDate<unknown>;
136
- updatedAt: z.ZodCoercedDate<unknown>;
137
- }, z.core.$strip>>;
138
- looks: z.ZodArray<z.ZodObject<{
139
- type: z.ZodEnum<typeof PHOTO_SESSION_LOOK_TYPE>;
140
- maxPhotos: z.ZodNumber;
141
- }, z.core.$strip>>;
142
- }, z.core.$strip>;
143
- export type RawPhotoSessionConfig = z.infer<typeof RawPhotoSessionConfigSchema>;
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RawPhotoSessionConfigSchema = exports.PhotoSessionConfigSchema = exports.PhotoSessionLookCategorySchema = void 0;
4
- const zod_1 = require("zod");
5
- const photo_session_model_schema_1 = require("./photo-session-model.schema");
6
- const photo_session_style_schema_1 = require("./photo-session-style.schema");
7
- const constants_1 = require("../../../constants");
8
- exports.PhotoSessionLookCategorySchema = zod_1.z.object({
9
- type: zod_1.z.nativeEnum(constants_1.PHOTO_SESSION_LOOK_TYPE),
10
- maxPhotos: zod_1.z.number(),
11
- });
12
- exports.PhotoSessionConfigSchema = zod_1.z.object({
13
- models: zod_1.z.array(photo_session_model_schema_1.PhotoSessionModelSchema),
14
- styles: zod_1.z.array(photo_session_style_schema_1.PhotoSessionStyleSchema),
15
- looks: zod_1.z.array(exports.PhotoSessionLookCategorySchema),
16
- });
17
- exports.RawPhotoSessionConfigSchema = zod_1.z.object({
18
- models: zod_1.z.array(photo_session_model_schema_1.RawPhotoSessionModelSchema),
19
- styles: zod_1.z.array(photo_session_style_schema_1.PhotoSessionStyleSchema),
20
- looks: zod_1.z.array(exports.PhotoSessionLookCategorySchema),
21
- });
@@ -1,80 +0,0 @@
1
- import { z } from 'zod';
2
- import { USER_REACTION } from '../../../constants';
3
- export declare const PhotoSessionJobParamsSchema: z.ZodObject<{
4
- attachedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
5
- uuid: z.ZodString;
6
- url: z.ZodString;
7
- name: z.ZodString;
8
- mimeType: z.ZodString;
9
- type: z.ZodString;
10
- size: z.ZodNumber;
11
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
12
- }, z.core.$strip>>>;
13
- imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
14
- styleId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- referenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
- referenceIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
17
- customStylePrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- customStylePhotos: z.ZodOptional<z.ZodArray<z.ZodString>>;
19
- clothingPhotos: z.ZodOptional<z.ZodArray<z.ZodString>>;
20
- hairstylePhotos: z.ZodOptional<z.ZodArray<z.ZodString>>;
21
- accessoriesPhotos: z.ZodOptional<z.ZodArray<z.ZodString>>;
22
- aspectRatio: z.ZodOptional<z.ZodString>;
23
- userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
24
- }, z.core.$strip>;
25
- export type PhotoSessionJobParams = z.infer<typeof PhotoSessionJobParamsSchema>;
26
- export declare const PhotoSessionJobSchema: z.ZodObject<{
27
- uuid: z.ZodString;
28
- status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
29
- error: z.ZodNullable<z.ZodString>;
30
- isFavorite: z.ZodBoolean;
31
- createdAt: z.ZodCoercedDate<unknown>;
32
- updatedAt: z.ZodCoercedDate<unknown>;
33
- prompt: z.ZodString;
34
- reaction: z.ZodNullable<z.ZodEnum<typeof USER_REACTION>>;
35
- dislikeReason: z.ZodNullable<z.ZodString>;
36
- externalId: z.ZodNullable<z.ZodString>;
37
- title: z.ZodString;
38
- modelId: z.ZodString;
39
- price: z.ZodNumber;
40
- previewUrl: z.ZodNullable<z.ZodString>;
41
- params: z.ZodObject<{
42
- attachedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
43
- uuid: z.ZodString;
44
- url: z.ZodString;
45
- name: z.ZodString;
46
- mimeType: z.ZodString;
47
- type: z.ZodString;
48
- size: z.ZodNumber;
49
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
50
- }, z.core.$strip>>>;
51
- imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
52
- styleId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
- referenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
- referenceIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
55
- customStylePrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
- customStylePhotos: z.ZodOptional<z.ZodArray<z.ZodString>>;
57
- clothingPhotos: z.ZodOptional<z.ZodArray<z.ZodString>>;
58
- hairstylePhotos: z.ZodOptional<z.ZodArray<z.ZodString>>;
59
- accessoriesPhotos: z.ZodOptional<z.ZodArray<z.ZodString>>;
60
- aspectRatio: z.ZodOptional<z.ZodString>;
61
- userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
62
- }, z.core.$strip>;
63
- imageUrls: z.ZodNullable<z.ZodArray<z.ZodString>>;
64
- images: z.ZodNullable<z.ZodArray<z.ZodObject<{
65
- uuid: z.ZodString;
66
- url: z.ZodString;
67
- originalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
- resolution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
69
- width: z.ZodNumber;
70
- height: z.ZodNumber;
71
- }, z.core.$strip>>>;
72
- }, z.core.$strip>>>;
73
- isPublished: z.ZodBoolean;
74
- postId: z.ZodNullable<z.ZodString>;
75
- isDeleted: z.ZodBoolean;
76
- tokenReservationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
- userId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
78
- unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
79
- }, z.core.$strip>;
80
- export type PhotoSessionJob = z.infer<typeof PhotoSessionJobSchema>;