@purpleschool/gptbot 0.15.60-stage2 → 0.15.61

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 (269) 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 +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 +3 -50
  8. package/build/api/routes.js +3 -50
  9. package/build/commands/ai-studio/canvas-node/find-canvas-node-definitions-with-configs.query.d.ts +1 -11
  10. package/build/commands/avatar-studio/clip/create-avatar-studio-clip.command.d.ts +1 -1
  11. package/build/commands/avatar-studio/clip/find-avatar-studio-clips.query.d.ts +1 -1
  12. package/build/commands/avatar-studio/clip/get-avatar-studio-clip.query.d.ts +1 -1
  13. package/build/commands/avatar-studio/clip/update-avatar-studio-clip.command.d.ts +1 -1
  14. package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-voice.command.d.ts +2 -4
  15. package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-voice.command.js +2 -4
  16. 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
  17. package/build/commands/avatar-studio/scene/apply-avatar-studio-voice-sample-to-all-scenes.command.js +15 -0
  18. package/build/commands/avatar-studio/scene/create-avatar-studio-scene.command.d.ts +1 -1
  19. package/build/commands/avatar-studio/scene/index.d.ts +1 -1
  20. package/build/commands/avatar-studio/scene/index.js +1 -1
  21. package/build/commands/avatar-studio/scene/reorder-avatar-studio-scenes.command.d.ts +1 -1
  22. package/build/commands/avatar-studio/scene/set-avatar-studio-scene-slot.command.d.ts +1 -1
  23. package/build/commands/avatar-studio/scene/update-avatar-studio-scene.command.d.ts +2 -2
  24. package/build/commands/avatar-studio/scriptwriter/apply-avatar-studio-scriptwriter-message.command.d.ts +1 -1
  25. package/build/commands/avatar-studio/shared/avatar-studio-common.schema.d.ts +1 -1
  26. package/build/commands/avatar-studio/shared/get-avatar-studio-config.query.d.ts +6 -5
  27. package/build/commands/avatar-studio/shared/get-avatar-studio-config.query.js +12 -7
  28. package/build/commands/avatar-studio/voice/design-avatar-studio-voice.command.d.ts +56 -26
  29. package/build/commands/avatar-studio/voice/design-avatar-studio-voice.command.js +7 -6
  30. package/build/commands/avatar-studio/voice/index.d.ts +0 -3
  31. package/build/commands/avatar-studio/voice/index.js +0 -3
  32. package/build/commands/photo-studio/get-photo-studio-config.query.d.ts +2 -0
  33. package/build/commands/product/create-product.command.d.ts +100 -0
  34. package/build/commands/product/find-product.command.d.ts +100 -0
  35. package/build/commands/product/get-my-products.command.d.ts +50 -0
  36. package/build/commands/product/update-product.command.d.ts +100 -0
  37. package/build/commands/subscription/create-subscription.command.d.ts +100 -0
  38. package/build/commands/subscription/find-subscription.command.d.ts +150 -0
  39. package/build/commands/subscription/get-available-upgrades.command.d.ts +100 -0
  40. package/build/commands/subscription/get-free-subscription.command.d.ts +50 -0
  41. package/build/commands/subscription/get-subscriptions-summary.command.d.ts +250 -0
  42. package/build/commands/subscription/update-subscription.command.d.ts +100 -0
  43. package/build/commands/team-account/find-current-team-account-products-by-team-account-id.command.d.ts +50 -0
  44. package/build/commands/team-account/find-current-team-account-products.command.d.ts +50 -0
  45. package/build/commands/team-account/find-current-team-account-subscriptions-by-team-account-id.command.d.ts +50 -0
  46. package/build/commands/team-account/find-current-team-account-subscriptions.command.d.ts +50 -0
  47. package/build/commands/team-account/find-team-account-products.command.d.ts +50 -0
  48. package/build/commands/team-account/find-team-account-subscriptions.command.d.ts +100 -0
  49. package/build/commands/team-account/get-team-account-available-upgrades.command.d.ts +50 -0
  50. package/build/commands/team-to-product/get-team-to-products.command.d.ts +50 -0
  51. package/build/commands/team-to-subscription/get-team-to-subscriptions.command.d.ts +50 -0
  52. package/build/commands/tools/html-page-builder/execute-html-page-builder.command.d.ts +0 -2
  53. package/build/commands/tools/html-page-builder/find-html-page-builder-session-by-uuid.command.d.ts +0 -2
  54. package/build/commands/tools/html-page-builder/find-html-page-builder-sessions.command.d.ts +0 -2
  55. package/build/commands/tools/html-page-builder/update-html-page-builder-session-favorite.command.d.ts +0 -2
  56. package/build/commands/tools/html-page-builder/update-html-page-builder-session-title.command.d.ts +0 -2
  57. package/build/commands/tools/image-editor/find-image-editor-job-by-uuid.command.d.ts +0 -2
  58. package/build/commands/tools/image-editor/find-image-editor-jobs.command.d.ts +0 -2
  59. package/build/commands/tools/image-editor/get-image-editor-tool-config.command.d.ts +1 -0
  60. package/build/commands/tools/image-editor/retry-image-editor-job.command.d.ts +0 -2
  61. package/build/commands/tools/image-editor/set-reaction-to-image-editor-job.command.d.ts +0 -2
  62. package/build/commands/tools/image-editor/update-image-editor-job-favorite.command.d.ts +0 -2
  63. package/build/commands/tools/image-editor/update-image-editor-job-title.command.d.ts +0 -2
  64. package/build/commands/tools/image-recognition/find-image-recognition-job-by-uuid.command.d.ts +0 -2
  65. package/build/commands/tools/image-recognition/find-image-recognition-jobs.command.d.ts +0 -2
  66. package/build/commands/tools/image-recognition/image-recognition.command.d.ts +0 -2
  67. package/build/commands/tools/image-recognition/retry-image-recognition-job.command.d.ts +0 -2
  68. package/build/commands/tools/image-recognition/set-reaction-to-image-recognition-job.command.d.ts +0 -2
  69. package/build/commands/tools/image-recognition/update-image-recognition-job-favorite.command.d.ts +0 -2
  70. package/build/commands/tools/image-recognition/update-image-recognition-job-title.command.d.ts +0 -2
  71. package/build/commands/tools/index.d.ts +0 -1
  72. package/build/commands/tools/index.js +0 -1
  73. package/build/commands/tools/interior-design/find-interior-design-job-by-uuid.command.d.ts +0 -2
  74. package/build/commands/tools/interior-design/find-interior-design-jobs.command.d.ts +0 -2
  75. package/build/commands/tools/interior-design/retry-interior-design-job.command.d.ts +0 -2
  76. package/build/commands/tools/interior-design/set-reaction-to-interior-design-job.command.d.ts +0 -2
  77. package/build/commands/tools/interior-design/update-interior-design-job-favorite.command.d.ts +0 -2
  78. package/build/commands/tools/interior-design/update-interior-design-job-title.command.d.ts +0 -2
  79. package/build/commands/tools/solving-edu-task/find-solving-edu-task-job-by-uuid.command.d.ts +0 -2
  80. package/build/commands/tools/solving-edu-task/find-solving-edu-task-jobs.command.d.ts +0 -2
  81. package/build/commands/tools/solving-edu-task/retry-solving-edu-task-job.command.d.ts +0 -2
  82. package/build/commands/tools/solving-edu-task/set-reaction-to-solving-edu-task-job.command.d.ts +0 -2
  83. package/build/commands/tools/solving-edu-task/solving-edu-task.command.d.ts +0 -2
  84. package/build/commands/tools/solving-edu-task/update-solving-edu-task-job-favorite.command.d.ts +0 -2
  85. package/build/commands/tools/solving-edu-task/update-solving-edu-task-job-title.command.d.ts +0 -2
  86. package/build/commands/tools/tool/find-grouped-tools.command.d.ts +1 -0
  87. package/build/commands/tools/tts/find-tts-job-by-uuid.command.d.ts +1 -13
  88. package/build/commands/tools/tts/find-tts-jobs.command.d.ts +1 -13
  89. package/build/commands/tools/tts/get-tts-tool-config.command.d.ts +0 -11
  90. package/build/commands/tools/tts/index.d.ts +0 -9
  91. package/build/commands/tools/tts/index.js +0 -9
  92. package/build/commands/tools/tts/retry-tts-job.command.d.ts +1 -13
  93. package/build/commands/tools/tts/set-reaction-to-tts-job.command.d.ts +1 -13
  94. package/build/commands/tools/tts/tts.command.d.ts +1 -6
  95. package/build/commands/tools/tts/tts.command.js +1 -7
  96. package/build/commands/tools/tts/update-tts-job-favorite.command.d.ts +1 -13
  97. package/build/commands/tools/tts/update-tts-job-title.command.d.ts +1 -13
  98. package/build/commands/user/get-user-products.command.d.ts +50 -0
  99. package/build/commands/user/get-user-subscriptions.command.d.ts +50 -0
  100. package/build/commands/user-to-subscription/get-user-to-subscriptions.command.d.ts +50 -0
  101. package/build/constants/avatar-studio/enums/avatar-studio-job-type.enum.d.ts +0 -1
  102. package/build/constants/avatar-studio/enums/avatar-studio-job-type.enum.js +0 -1
  103. package/build/constants/avatar-studio/enums/avatar-studio-media-kind.enum.d.ts +2 -1
  104. package/build/constants/avatar-studio/enums/avatar-studio-media-kind.enum.js +1 -0
  105. package/build/constants/avatar-studio/enums/avatar-studio-slot.enum.d.ts +1 -1
  106. package/build/constants/avatar-studio/enums/avatar-studio-slot.enum.js +1 -1
  107. package/build/constants/index.d.ts +0 -2
  108. package/build/constants/index.js +0 -2
  109. package/build/constants/subscription/enums/subscription-feature-type.enum.d.ts +2 -0
  110. package/build/constants/subscription/enums/subscription-feature-type.enum.js +2 -0
  111. package/build/constants/tool/enums/index.d.ts +0 -1
  112. package/build/constants/tool/enums/index.js +0 -1
  113. package/build/constants/tool/enums/tool-group.enum.d.ts +1 -1
  114. package/build/constants/tool/enums/tool-group.enum.js +1 -1
  115. package/build/helpers/image-editor/calculate-image-editor-price.helper.d.ts +2 -1
  116. package/build/helpers/image-editor/calculate-image-editor-price.helper.js +4 -1
  117. package/build/helpers/index.d.ts +0 -1
  118. package/build/helpers/index.js +0 -1
  119. package/build/models/avatar-studio/avatar-studio.schema.d.ts +6 -6
  120. package/build/models/avatar-studio/avatar-studio.schema.js +3 -3
  121. package/build/models/canvas-node-definition.schema.d.ts +3 -33
  122. package/build/models/product.schema.d.ts +50 -0
  123. package/build/models/subscription-feature.schema.d.ts +103 -0
  124. package/build/models/subscription-feature.schema.js +14 -1
  125. package/build/models/subscription-upgrade-schema.d.ts +50 -0
  126. package/build/models/subscription.schema.d.ts +250 -0
  127. package/build/models/team-account/team-to-product.schema.d.ts +50 -0
  128. package/build/models/team-account/team-to-subscription.schema.d.ts +50 -0
  129. package/build/models/tool-group.schema.d.ts +1 -0
  130. package/build/models/tool-group.schema.js +1 -0
  131. package/build/models/tools/common/attached-tool-file.schema.d.ts +0 -2
  132. package/build/models/tools/common/attached-tool-file.schema.js +0 -2
  133. package/build/models/tools/html-page-builder/html-page-builder-job.schema.d.ts +0 -4
  134. package/build/models/tools/html-page-builder/html-page-builder-session.schema.d.ts +0 -2
  135. package/build/models/tools/image-editor/image-editor-config.schema.d.ts +1 -0
  136. package/build/models/tools/image-editor/image-editor-job.schema.d.ts +0 -4
  137. package/build/models/tools/image-editor/image-editor-model.schema.d.ts +3 -0
  138. package/build/models/tools/image-editor/image-editor-model.schema.js +1 -0
  139. package/build/models/tools/image-recognition/image-recognition-job.schema.d.ts +0 -4
  140. package/build/models/tools/index.d.ts +0 -1
  141. package/build/models/tools/index.js +0 -1
  142. package/build/models/tools/interior-design/interior-design-job.schema.d.ts +0 -4
  143. package/build/models/tools/solving-edu-task/solving-edu-task-job.schema.d.ts +0 -4
  144. package/build/models/tools/tts/index.d.ts +0 -3
  145. package/build/models/tools/tts/index.js +0 -3
  146. package/build/models/tools/tts/tts-config.schema.d.ts +0 -23
  147. package/build/models/tools/tts/tts-config.schema.js +1 -14
  148. package/build/models/tools/tts/tts-job.schema.d.ts +1 -26
  149. package/build/models/tools/tts/tts-job.schema.js +2 -16
  150. package/build/models/tools/tts/tts-model.schema.d.ts +0 -1
  151. package/build/models/tools/tts/tts-model.schema.js +0 -1
  152. package/build/models/user-to-product.schema.d.ts +50 -0
  153. package/build/models/user-to-subscription.schema.d.ts +150 -0
  154. package/package.json +1 -1
  155. package/build/api/controllers/http/photo-session.d.ts +0 -20
  156. package/build/api/controllers/http/photo-session.js +0 -23
  157. package/build/commands/avatar-studio/scene/apply-avatar-studio-voice-to-all-scenes.command.js +0 -17
  158. package/build/commands/avatar-studio/voice/clone-avatar-studio-voice.command.d.ts +0 -43
  159. package/build/commands/avatar-studio/voice/clone-avatar-studio-voice.command.js +0 -19
  160. package/build/commands/avatar-studio/voice/delete-avatar-studio-voice.command.d.ts +0 -11
  161. package/build/commands/avatar-studio/voice/delete-avatar-studio-voice.command.js +0 -13
  162. package/build/commands/avatar-studio/voice/find-avatar-studio-voices.query.d.ts +0 -36
  163. package/build/commands/avatar-studio/voice/find-avatar-studio-voices.query.js +0 -11
  164. package/build/commands/tools/photo-session/admin/create-photo-session-style.command.d.ts +0 -39
  165. package/build/commands/tools/photo-session/admin/create-photo-session-style.command.js +0 -22
  166. package/build/commands/tools/photo-session/admin/delete-photo-session-style.command.d.ts +0 -9
  167. package/build/commands/tools/photo-session/admin/delete-photo-session-style.command.js +0 -11
  168. package/build/commands/tools/photo-session/admin/index.d.ts +0 -4
  169. package/build/commands/tools/photo-session/admin/index.js +0 -20
  170. package/build/commands/tools/photo-session/admin/list-photo-session-styles.command.d.ts +0 -8
  171. package/build/commands/tools/photo-session/admin/list-photo-session-styles.command.js +0 -11
  172. package/build/commands/tools/photo-session/admin/update-photo-session-style.command.d.ts +0 -38
  173. package/build/commands/tools/photo-session/admin/update-photo-session-style.command.js +0 -21
  174. package/build/commands/tools/photo-session/delete-all-photo-session-jobs.command.d.ts +0 -5
  175. package/build/commands/tools/photo-session/delete-all-photo-session-jobs.command.js +0 -8
  176. package/build/commands/tools/photo-session/delete-photo-session-job-by-uuid.command.d.ts +0 -9
  177. package/build/commands/tools/photo-session/delete-photo-session-job-by-uuid.command.js +0 -11
  178. package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.d.ts +0 -119
  179. package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.js +0 -14
  180. package/build/commands/tools/photo-session/find-photo-session-jobs.command.d.ts +0 -128
  181. package/build/commands/tools/photo-session/find-photo-session-jobs.command.js +0 -24
  182. package/build/commands/tools/photo-session/get-photo-session-config.command.d.ts +0 -75
  183. package/build/commands/tools/photo-session/get-photo-session-config.command.js +0 -11
  184. package/build/commands/tools/photo-session/get-photo-session-styles.command.d.ts +0 -23
  185. package/build/commands/tools/photo-session/get-photo-session-styles.command.js +0 -11
  186. package/build/commands/tools/photo-session/index.d.ts +0 -13
  187. package/build/commands/tools/photo-session/index.js +0 -29
  188. package/build/commands/tools/photo-session/photo-session.command.d.ts +0 -138
  189. package/build/commands/tools/photo-session/photo-session.command.js +0 -25
  190. package/build/commands/tools/photo-session/retry-photo-session-job.command.d.ts +0 -100
  191. package/build/commands/tools/photo-session/retry-photo-session-job.command.js +0 -14
  192. package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.d.ts +0 -106
  193. package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.js +0 -28
  194. package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.d.ts +0 -104
  195. package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.js +0 -17
  196. package/build/commands/tools/photo-session/update-photo-session-job-title.command.d.ts +0 -123
  197. package/build/commands/tools/photo-session/update-photo-session-job-title.command.js +0 -17
  198. package/build/commands/tools/photo-session/update-published-status-photo-session-job.command.d.ts +0 -105
  199. package/build/commands/tools/photo-session/update-published-status-photo-session-job.command.js +0 -23
  200. package/build/commands/tools/tts/create-voice-clone.command.d.ts +0 -44
  201. package/build/commands/tools/tts/create-voice-clone.command.js +0 -18
  202. package/build/commands/tools/tts/create-voice-design.command.d.ts +0 -24
  203. package/build/commands/tools/tts/create-voice-design.command.js +0 -18
  204. package/build/commands/tools/tts/delete-voice.command.d.ts +0 -9
  205. package/build/commands/tools/tts/delete-voice.command.js +0 -11
  206. package/build/commands/tools/tts/download-tts-job.command.d.ts +0 -18
  207. package/build/commands/tools/tts/download-tts-job.command.js +0 -17
  208. package/build/commands/tools/tts/find-voice-by-uuid.query.d.ts +0 -40
  209. package/build/commands/tools/tts/find-voice-by-uuid.query.js +0 -14
  210. package/build/commands/tools/tts/find-voices.query.d.ts +0 -48
  211. package/build/commands/tools/tts/find-voices.query.js +0 -18
  212. package/build/commands/tools/tts/improve-tts-text.command.d.ts +0 -13
  213. package/build/commands/tools/tts/improve-tts-text.command.js +0 -13
  214. package/build/commands/tools/tts/select-voice-design.command.d.ts +0 -44
  215. package/build/commands/tools/tts/select-voice-design.command.js +0 -17
  216. package/build/commands/tools/tts/update-voice.command.d.ts +0 -45
  217. package/build/commands/tools/tts/update-voice.command.js +0 -18
  218. package/build/constants/tool/enums/job-scope.enum.d.ts +0 -5
  219. package/build/constants/tool/enums/job-scope.enum.js +0 -9
  220. package/build/constants/tool-photo-session/enums/index.d.ts +0 -3
  221. package/build/constants/tool-photo-session/enums/index.js +0 -19
  222. package/build/constants/tool-photo-session/enums/photo-session-group-status.enum.d.ts +0 -6
  223. package/build/constants/tool-photo-session/enums/photo-session-group-status.enum.js +0 -10
  224. package/build/constants/tool-photo-session/enums/photo-session-look-type.enum.d.ts +0 -5
  225. package/build/constants/tool-photo-session/enums/photo-session-look-type.enum.js +0 -9
  226. package/build/constants/tool-photo-session/enums/photo-session-model-type.enum.d.ts +0 -3
  227. package/build/constants/tool-photo-session/enums/photo-session-model-type.enum.js +0 -7
  228. package/build/constants/tool-photo-session/index.d.ts +0 -1
  229. package/build/constants/tool-photo-session/index.js +0 -17
  230. package/build/constants/tool-tts/enums/index.d.ts +0 -7
  231. package/build/constants/tool-tts/enums/index.js +0 -23
  232. package/build/constants/tool-tts/enums/tts-download-format.enum.d.ts +0 -5
  233. package/build/constants/tool-tts/enums/tts-download-format.enum.js +0 -9
  234. package/build/constants/tool-tts/enums/voice-category.enum.d.ts +0 -19
  235. package/build/constants/tool-tts/enums/voice-category.enum.js +0 -23
  236. package/build/constants/tool-tts/enums/voice-gender.enum.d.ts +0 -4
  237. package/build/constants/tool-tts/enums/voice-gender.enum.js +0 -8
  238. package/build/constants/tool-tts/enums/voice-source.enum.d.ts +0 -5
  239. package/build/constants/tool-tts/enums/voice-source.enum.js +0 -9
  240. package/build/constants/tool-tts/enums/voice-status.enum.d.ts +0 -5
  241. package/build/constants/tool-tts/enums/voice-status.enum.js +0 -9
  242. package/build/constants/tool-tts/enums/voice-tag-group.enum.d.ts +0 -5
  243. package/build/constants/tool-tts/enums/voice-tag-group.enum.js +0 -9
  244. package/build/constants/tool-tts/enums/voice-tag.enum.d.ts +0 -20
  245. package/build/constants/tool-tts/enums/voice-tag.enum.js +0 -24
  246. package/build/constants/tool-tts/index.d.ts +0 -1
  247. package/build/constants/tool-tts/index.js +0 -17
  248. package/build/helpers/photo-session/calculate-photo-session-price.helper.d.ts +0 -6
  249. package/build/helpers/photo-session/calculate-photo-session-price.helper.js +0 -13
  250. package/build/helpers/photo-session/index.d.ts +0 -1
  251. package/build/helpers/photo-session/index.js +0 -17
  252. package/build/models/tools/photo-session/index.d.ts +0 -5
  253. package/build/models/tools/photo-session/index.js +0 -21
  254. package/build/models/tools/photo-session/photo-session-config.schema.d.ts +0 -141
  255. package/build/models/tools/photo-session/photo-session-config.schema.js +0 -21
  256. package/build/models/tools/photo-session/photo-session-group.schema.d.ts +0 -112
  257. package/build/models/tools/photo-session/photo-session-group.schema.js +0 -26
  258. package/build/models/tools/photo-session/photo-session-job.schema.d.ts +0 -158
  259. package/build/models/tools/photo-session/photo-session-job.schema.js +0 -55
  260. package/build/models/tools/photo-session/photo-session-model.schema.d.ts +0 -114
  261. package/build/models/tools/photo-session/photo-session-model.schema.js +0 -46
  262. package/build/models/tools/photo-session/photo-session-style.schema.d.ts +0 -29
  263. package/build/models/tools/photo-session/photo-session-style.schema.js +0 -22
  264. package/build/models/tools/tts/voice-design-draft.schema.d.ts +0 -13
  265. package/build/models/tools/tts/voice-design-draft.schema.js +0 -13
  266. package/build/models/tools/tts/voice-design-sample.schema.d.ts +0 -6
  267. package/build/models/tools/tts/voice-design-sample.schema.js +0 -8
  268. package/build/models/tools/tts/voice.schema.d.ts +0 -33
  269. package/build/models/tools/tts/voice.schema.js +0 -37
@@ -1,114 +0,0 @@
1
- import { TOOL_MODEL_STATUS } from '../../../constants';
2
- import { z } from 'zod';
3
- export declare const PhotoSessionModelParamsSchema: z.ZodObject<{
4
- imageAttachment: z.ZodObject<{
5
- supported: z.ZodBoolean;
6
- maxImages: z.ZodNumber;
7
- acceptedTypes: z.ZodArray<z.ZodString>;
8
- }, z.core.$strip>;
9
- aspectRatio: z.ZodRecord<z.ZodString, z.ZodObject<{
10
- width: z.ZodNumber;
11
- height: z.ZodNumber;
12
- }, z.core.$strip>>;
13
- }, z.core.$strip>;
14
- export type PhotoSessionModelParams = z.infer<typeof PhotoSessionModelParamsSchema>;
15
- export declare const PhotoSessionModelPricingRuleConditionSchema: z.ZodObject<{
16
- withoutSub: z.ZodOptional<z.ZodBoolean>;
17
- }, z.core.$strip>;
18
- export type PhotoSessionModelPricingRuleCondition = z.infer<typeof PhotoSessionModelPricingRuleConditionSchema>;
19
- export declare const PhotoSessionModelPricingRulesSchema: z.ZodArray<z.ZodObject<{
20
- condition: z.ZodObject<{
21
- withoutSub: z.ZodOptional<z.ZodBoolean>;
22
- }, z.core.$strip>;
23
- value: z.ZodNumber;
24
- }, z.core.$strip>>;
25
- export type PhotoSessionModelPricingRules = z.infer<typeof PhotoSessionModelPricingRulesSchema>;
26
- export declare const RawPhotoSessionModelSchema: z.ZodObject<{
27
- uuid: z.ZodString;
28
- title: z.ZodString;
29
- description: z.ZodString;
30
- aiModel: z.ZodString;
31
- isNew: z.ZodBoolean;
32
- tierLabel: z.ZodString;
33
- pricePerImage: z.ZodNumber;
34
- order: z.ZodNumber;
35
- status: z.ZodEnum<typeof TOOL_MODEL_STATUS>;
36
- icons: z.ZodObject<{
37
- light: z.ZodObject<{
38
- svg: z.ZodString;
39
- png: z.ZodString;
40
- }, z.core.$strip>;
41
- dark: z.ZodObject<{
42
- svg: z.ZodString;
43
- png: z.ZodString;
44
- }, z.core.$strip>;
45
- }, z.core.$strip>;
46
- maxInputLength: z.ZodNumber;
47
- params: z.ZodObject<{
48
- imageAttachment: z.ZodObject<{
49
- supported: z.ZodBoolean;
50
- maxImages: z.ZodNumber;
51
- acceptedTypes: z.ZodArray<z.ZodString>;
52
- }, z.core.$strip>;
53
- aspectRatio: z.ZodRecord<z.ZodString, z.ZodObject<{
54
- width: z.ZodNumber;
55
- height: z.ZodNumber;
56
- }, z.core.$strip>>;
57
- }, z.core.$strip>;
58
- pricingRules: z.ZodArray<z.ZodObject<{
59
- condition: z.ZodObject<{
60
- withoutSub: z.ZodOptional<z.ZodBoolean>;
61
- }, z.core.$strip>;
62
- value: z.ZodNumber;
63
- }, z.core.$strip>>;
64
- createdAt: z.ZodCoercedDate<unknown>;
65
- updatedAt: z.ZodCoercedDate<unknown>;
66
- }, z.core.$strip>;
67
- export type RawPhotoSessionModel = z.infer<typeof RawPhotoSessionModelSchema>;
68
- export declare const PhotoSessionModelSchema: z.ZodObject<{
69
- uuid: z.ZodString;
70
- title: z.ZodString;
71
- description: z.ZodString;
72
- aiModel: z.ZodString;
73
- isNew: z.ZodBoolean;
74
- tierLabel: z.ZodString;
75
- pricePerImage: z.ZodNumber;
76
- order: z.ZodNumber;
77
- status: z.ZodEnum<typeof TOOL_MODEL_STATUS>;
78
- icons: z.ZodObject<{
79
- light: z.ZodObject<{
80
- svg: z.ZodString;
81
- png: z.ZodString;
82
- }, z.core.$strip>;
83
- dark: z.ZodObject<{
84
- svg: z.ZodString;
85
- png: z.ZodString;
86
- }, z.core.$strip>;
87
- }, z.core.$strip>;
88
- maxInputLength: z.ZodNumber;
89
- params: z.ZodObject<{
90
- imageAttachment: z.ZodObject<{
91
- supported: z.ZodBoolean;
92
- maxImages: z.ZodNumber;
93
- acceptedTypes: z.ZodArray<z.ZodString>;
94
- }, z.core.$strip>;
95
- aspectRatio: z.ZodRecord<z.ZodString, z.ZodObject<{
96
- width: z.ZodNumber;
97
- height: z.ZodNumber;
98
- }, z.core.$strip>>;
99
- }, z.core.$strip>;
100
- pricingRules: z.ZodArray<z.ZodObject<{
101
- condition: z.ZodObject<{
102
- withoutSub: z.ZodOptional<z.ZodBoolean>;
103
- }, z.core.$strip>;
104
- value: z.ZodNumber;
105
- }, z.core.$strip>>;
106
- createdAt: z.ZodCoercedDate<unknown>;
107
- updatedAt: z.ZodCoercedDate<unknown>;
108
- unlockedBy: z.ZodNullable<z.ZodObject<{
109
- uuid: z.ZodString;
110
- name: z.ZodString;
111
- }, z.core.$strip>>;
112
- canUse: z.ZodBoolean;
113
- }, z.core.$strip>;
114
- export type PhotoSessionModel = z.infer<typeof PhotoSessionModelSchema>;
@@ -1,46 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PhotoSessionModelSchema = exports.RawPhotoSessionModelSchema = exports.PhotoSessionModelPricingRulesSchema = exports.PhotoSessionModelPricingRuleConditionSchema = exports.PhotoSessionModelParamsSchema = void 0;
4
- const unlocked_by_subscription_schema_1 = require("../../unlocked-by-subscription.schema");
5
- const constants_1 = require("../../../constants");
6
- const zod_1 = require("zod");
7
- const icon_variants_schema_1 = require("../../icon-variants.schema");
8
- exports.PhotoSessionModelParamsSchema = zod_1.z.object({
9
- imageAttachment: zod_1.z.object({
10
- supported: zod_1.z.boolean(),
11
- maxImages: zod_1.z.number(),
12
- acceptedTypes: zod_1.z.array(zod_1.z.string()),
13
- }),
14
- aspectRatio: zod_1.z.record(zod_1.z.string(), zod_1.z.object({
15
- width: zod_1.z.number(),
16
- height: zod_1.z.number(),
17
- })),
18
- });
19
- exports.PhotoSessionModelPricingRuleConditionSchema = zod_1.z.object({
20
- withoutSub: zod_1.z.boolean().optional(),
21
- });
22
- exports.PhotoSessionModelPricingRulesSchema = zod_1.z.array(zod_1.z.object({
23
- condition: exports.PhotoSessionModelPricingRuleConditionSchema,
24
- value: zod_1.z.number(),
25
- }));
26
- exports.RawPhotoSessionModelSchema = zod_1.z.object({
27
- uuid: zod_1.z.string(),
28
- title: zod_1.z.string(),
29
- description: zod_1.z.string(),
30
- aiModel: zod_1.z.string(),
31
- isNew: zod_1.z.boolean(),
32
- tierLabel: zod_1.z.string(),
33
- pricePerImage: zod_1.z.number(),
34
- order: zod_1.z.number(),
35
- status: zod_1.z.nativeEnum(constants_1.TOOL_MODEL_STATUS),
36
- icons: icon_variants_schema_1.IconVariantsSchema,
37
- maxInputLength: zod_1.z.number(),
38
- params: exports.PhotoSessionModelParamsSchema,
39
- pricingRules: exports.PhotoSessionModelPricingRulesSchema,
40
- createdAt: zod_1.z.coerce.date(),
41
- updatedAt: zod_1.z.coerce.date(),
42
- });
43
- exports.PhotoSessionModelSchema = exports.RawPhotoSessionModelSchema.extend({
44
- unlockedBy: unlocked_by_subscription_schema_1.UnlockedBySchema.nullable(),
45
- canUse: zod_1.z.boolean(),
46
- });
@@ -1,29 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const PhotoSessionStyleReferenceSchema: z.ZodObject<{
3
- uuid: z.ZodString;
4
- styleId: z.ZodString;
5
- photoUrl: z.ZodString;
6
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
- order: z.ZodNumber;
8
- createdAt: z.ZodCoercedDate<unknown>;
9
- updatedAt: z.ZodCoercedDate<unknown>;
10
- }, z.core.$strip>;
11
- export type PhotoSessionStyleReference = z.infer<typeof PhotoSessionStyleReferenceSchema>;
12
- export declare const PhotoSessionStyleSchema: z.ZodObject<{
13
- uuid: z.ZodString;
14
- code: z.ZodString;
15
- title: z.ZodString;
16
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
- references: z.ZodArray<z.ZodObject<{
18
- uuid: z.ZodString;
19
- styleId: z.ZodString;
20
- photoUrl: z.ZodString;
21
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- order: z.ZodNumber;
23
- createdAt: z.ZodCoercedDate<unknown>;
24
- updatedAt: z.ZodCoercedDate<unknown>;
25
- }, z.core.$strip>>;
26
- createdAt: z.ZodCoercedDate<unknown>;
27
- updatedAt: z.ZodCoercedDate<unknown>;
28
- }, z.core.$strip>;
29
- export type PhotoSessionStyle = z.infer<typeof PhotoSessionStyleSchema>;
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PhotoSessionStyleSchema = exports.PhotoSessionStyleReferenceSchema = void 0;
4
- const zod_1 = require("zod");
5
- exports.PhotoSessionStyleReferenceSchema = zod_1.z.object({
6
- uuid: zod_1.z.string().uuid(),
7
- styleId: zod_1.z.string().uuid(),
8
- photoUrl: zod_1.z.string(),
9
- description: zod_1.z.string().nullable().optional(),
10
- order: zod_1.z.number().int().min(0).max(5),
11
- createdAt: zod_1.z.coerce.date(),
12
- updatedAt: zod_1.z.coerce.date(),
13
- });
14
- exports.PhotoSessionStyleSchema = zod_1.z.object({
15
- uuid: zod_1.z.string().uuid(),
16
- code: zod_1.z.string(),
17
- title: zod_1.z.string(),
18
- description: zod_1.z.string().nullable().optional(),
19
- references: zod_1.z.array(exports.PhotoSessionStyleReferenceSchema),
20
- createdAt: zod_1.z.coerce.date(),
21
- updatedAt: zod_1.z.coerce.date(),
22
- });
@@ -1,13 +0,0 @@
1
- import { z } from 'zod';
2
- import { VOICE_GENDER } from '../../../constants';
3
- export declare const VoiceDesignDraftSchema: z.ZodObject<{
4
- designId: z.ZodString;
5
- title: z.ZodString;
6
- gender: z.ZodEnum<typeof VOICE_GENDER>;
7
- imageUrl: z.ZodNullable<z.ZodString>;
8
- samples: z.ZodArray<z.ZodObject<{
9
- sampleId: z.ZodString;
10
- previewUrl: z.ZodString;
11
- }, z.core.$strip>>;
12
- }, z.core.$strip>;
13
- export type VoiceDesignDraft = z.infer<typeof VoiceDesignDraftSchema>;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VoiceDesignDraftSchema = void 0;
4
- const zod_1 = require("zod");
5
- const constants_1 = require("../../../constants");
6
- const voice_design_sample_schema_1 = require("./voice-design-sample.schema");
7
- exports.VoiceDesignDraftSchema = zod_1.z.object({
8
- designId: zod_1.z.string().uuid(),
9
- title: zod_1.z.string(),
10
- gender: zod_1.z.nativeEnum(constants_1.VOICE_GENDER),
11
- imageUrl: zod_1.z.string().nullable(),
12
- samples: zod_1.z.array(voice_design_sample_schema_1.VoiceDesignSampleSchema),
13
- });
@@ -1,6 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const VoiceDesignSampleSchema: z.ZodObject<{
3
- sampleId: z.ZodString;
4
- previewUrl: z.ZodString;
5
- }, z.core.$strip>;
6
- export type VoiceDesignSample = z.infer<typeof VoiceDesignSampleSchema>;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VoiceDesignSampleSchema = void 0;
4
- const zod_1 = require("zod");
5
- exports.VoiceDesignSampleSchema = zod_1.z.object({
6
- sampleId: zod_1.z.string().uuid(),
7
- previewUrl: zod_1.z.string(),
8
- });
@@ -1,33 +0,0 @@
1
- import { z } from 'zod';
2
- import { JOB_SCOPE, VOICE_CATEGORY, VOICE_GENDER, VOICE_SOURCE, VOICE_STATUS } from '../../../constants';
3
- export declare const VoiceSchema: z.ZodObject<{
4
- uuid: z.ZodString;
5
- scope: z.ZodEnum<typeof JOB_SCOPE>;
6
- source: z.ZodObject<{
7
- id: z.ZodEnum<typeof VOICE_SOURCE>;
8
- label: z.ZodString;
9
- }, z.core.$strip>;
10
- title: z.ZodString;
11
- description: z.ZodString;
12
- gender: z.ZodNullable<z.ZodObject<{
13
- id: z.ZodEnum<typeof VOICE_GENDER>;
14
- label: z.ZodString;
15
- }, z.core.$strip>>;
16
- trait: z.ZodNullable<z.ZodString>;
17
- ageRange: z.ZodNullable<z.ZodString>;
18
- categories: z.ZodArray<z.ZodObject<{
19
- id: z.ZodEnum<typeof VOICE_CATEGORY>;
20
- label: z.ZodString;
21
- }, z.core.$strip>>;
22
- previewUrl: z.ZodString;
23
- imageUrl: z.ZodNullable<z.ZodString>;
24
- status: z.ZodEnum<typeof VOICE_STATUS>;
25
- error: z.ZodNullable<z.ZodString>;
26
- order: z.ZodNumber;
27
- isDeleted: z.ZodBoolean;
28
- userId: z.ZodNullable<z.ZodString>;
29
- unregisteredUserId: z.ZodNullable<z.ZodString>;
30
- createdAt: z.ZodDate;
31
- updatedAt: z.ZodDate;
32
- }, z.core.$strip>;
33
- export type Voice = z.infer<typeof VoiceSchema>;
@@ -1,37 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VoiceSchema = void 0;
4
- const zod_1 = require("zod");
5
- const constants_1 = require("../../../constants");
6
- exports.VoiceSchema = zod_1.z.object({
7
- uuid: zod_1.z.string().uuid(),
8
- scope: zod_1.z.nativeEnum(constants_1.JOB_SCOPE),
9
- source: zod_1.z.object({
10
- id: zod_1.z.nativeEnum(constants_1.VOICE_SOURCE),
11
- label: zod_1.z.string(),
12
- }),
13
- title: zod_1.z.string(),
14
- description: zod_1.z.string(),
15
- gender: zod_1.z
16
- .object({
17
- id: zod_1.z.nativeEnum(constants_1.VOICE_GENDER),
18
- label: zod_1.z.string(),
19
- })
20
- .nullable(),
21
- trait: zod_1.z.string().nullable(),
22
- ageRange: zod_1.z.string().nullable(),
23
- categories: zod_1.z.array(zod_1.z.object({
24
- id: zod_1.z.nativeEnum(constants_1.VOICE_CATEGORY),
25
- label: zod_1.z.string(),
26
- })),
27
- previewUrl: zod_1.z.string(),
28
- imageUrl: zod_1.z.string().nullable(),
29
- status: zod_1.z.nativeEnum(constants_1.VOICE_STATUS),
30
- error: zod_1.z.string().nullable(),
31
- order: zod_1.z.number(),
32
- isDeleted: zod_1.z.boolean(),
33
- userId: zod_1.z.string().uuid().nullable(),
34
- unregisteredUserId: zod_1.z.string().uuid().nullable(),
35
- createdAt: zod_1.z.date(),
36
- updatedAt: zod_1.z.date(),
37
- });