@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
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SetReactionToSoundGenerationJobCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const constants_1 = require("../../../constants");
6
+ const models_1 = require("../../../models");
7
+ var SetReactionToSoundGenerationJobCommand;
8
+ (function (SetReactionToSoundGenerationJobCommand) {
9
+ SetReactionToSoundGenerationJobCommand.RequestSchema = zod_1.z
10
+ .object({
11
+ reaction: zod_1.z.enum(constants_1.USER_REACTION).nullable(),
12
+ dislikeReason: zod_1.z.string().nullable().default(null),
13
+ })
14
+ .refine((data) => data.reaction === constants_1.USER_REACTION.DISLIKED || !data.dislikeReason, {
15
+ message: 'Dislike reason is not allowed when reaction is not DISLIKED',
16
+ });
17
+ SetReactionToSoundGenerationJobCommand.RequestParamsSchema = zod_1.z.object({
18
+ uuid: zod_1.z.uuid(),
19
+ });
20
+ SetReactionToSoundGenerationJobCommand.ResponseSchema = zod_1.z.object({
21
+ data: models_1.SoundGenerationJobSchema,
22
+ });
23
+ })(SetReactionToSoundGenerationJobCommand || (exports.SetReactionToSoundGenerationJobCommand = SetReactionToSoundGenerationJobCommand = {}));
@@ -0,0 +1,44 @@
1
+ import { z } from 'zod';
2
+ export declare namespace SoundGenerationCommand {
3
+ const RequestSchema: z.ZodObject<{
4
+ prompt: z.ZodString;
5
+ modelId: z.ZodUUID;
6
+ params: z.ZodObject<{
7
+ durationInSeconds: z.ZodOptional<z.ZodNumber>;
8
+ variations: z.ZodDefault<z.ZodNumber>;
9
+ loop: z.ZodDefault<z.ZodBoolean>;
10
+ promptInfluence: z.ZodDefault<z.ZodNumber>;
11
+ }, z.core.$strip>;
12
+ }, z.core.$strip>;
13
+ type Request = z.infer<typeof RequestSchema>;
14
+ const ResponseSchema: z.ZodObject<{
15
+ data: z.ZodObject<{
16
+ uuid: z.ZodString;
17
+ status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
18
+ error: z.ZodNullable<z.ZodString>;
19
+ isFavorite: z.ZodBoolean;
20
+ createdAt: z.ZodDate;
21
+ updatedAt: z.ZodDate;
22
+ prompt: z.ZodString;
23
+ title: z.ZodString;
24
+ modelId: z.ZodString;
25
+ price: z.ZodNumber;
26
+ params: z.ZodObject<{
27
+ durationInSeconds: z.ZodOptional<z.ZodNumber>;
28
+ variations: z.ZodDefault<z.ZodNumber>;
29
+ loop: z.ZodDefault<z.ZodBoolean>;
30
+ promptInfluence: z.ZodDefault<z.ZodNumber>;
31
+ }, z.core.$strip>;
32
+ results: z.ZodArray<z.ZodObject<{
33
+ uuid: z.ZodUUID;
34
+ audioUrl: z.ZodURL;
35
+ duration: z.ZodNumber;
36
+ }, z.core.$strip>>;
37
+ attempts: z.ZodArray<z.ZodUnknown>;
38
+ reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
39
+ dislikeReason: z.ZodNullable<z.ZodString>;
40
+ completedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
41
+ }, z.core.$strip>;
42
+ }, z.core.$strip>;
43
+ type Response = z.infer<typeof ResponseSchema>;
44
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SoundGenerationCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const models_1 = require("../../../models");
6
+ var SoundGenerationCommand;
7
+ (function (SoundGenerationCommand) {
8
+ SoundGenerationCommand.RequestSchema = zod_1.z.object({
9
+ prompt: zod_1.z.string().min(1),
10
+ modelId: zod_1.z.uuid(),
11
+ params: models_1.SoundGenerationParamsSchema,
12
+ });
13
+ SoundGenerationCommand.ResponseSchema = zod_1.z.object({
14
+ data: models_1.SoundGenerationJobSchema,
15
+ });
16
+ })(SoundGenerationCommand || (exports.SoundGenerationCommand = SoundGenerationCommand = {}));
@@ -0,0 +1,41 @@
1
+ import { z } from 'zod';
2
+ export declare namespace UpdateSoundGenerationJobFavoriteCommand {
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.ZodUUID;
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
+ status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
15
+ error: z.ZodNullable<z.ZodString>;
16
+ isFavorite: z.ZodBoolean;
17
+ createdAt: z.ZodDate;
18
+ updatedAt: z.ZodDate;
19
+ prompt: z.ZodString;
20
+ title: z.ZodString;
21
+ modelId: z.ZodString;
22
+ price: z.ZodNumber;
23
+ params: z.ZodObject<{
24
+ durationInSeconds: z.ZodOptional<z.ZodNumber>;
25
+ variations: z.ZodDefault<z.ZodNumber>;
26
+ loop: z.ZodDefault<z.ZodBoolean>;
27
+ promptInfluence: z.ZodDefault<z.ZodNumber>;
28
+ }, z.core.$strip>;
29
+ results: z.ZodArray<z.ZodObject<{
30
+ uuid: z.ZodUUID;
31
+ audioUrl: z.ZodURL;
32
+ duration: z.ZodNumber;
33
+ }, z.core.$strip>>;
34
+ attempts: z.ZodArray<z.ZodUnknown>;
35
+ reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
36
+ dislikeReason: z.ZodNullable<z.ZodString>;
37
+ completedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
38
+ }, z.core.$strip>;
39
+ }, z.core.$strip>;
40
+ type Response = z.infer<typeof ResponseSchema>;
41
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateSoundGenerationJobFavoriteCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const models_1 = require("../../../models");
6
+ var UpdateSoundGenerationJobFavoriteCommand;
7
+ (function (UpdateSoundGenerationJobFavoriteCommand) {
8
+ UpdateSoundGenerationJobFavoriteCommand.RequestSchema = zod_1.z.object({
9
+ isFavorite: zod_1.z.boolean(),
10
+ });
11
+ UpdateSoundGenerationJobFavoriteCommand.RequestParamsSchema = zod_1.z.object({
12
+ uuid: zod_1.z.uuid(),
13
+ });
14
+ UpdateSoundGenerationJobFavoriteCommand.ResponseSchema = zod_1.z.object({
15
+ data: models_1.SoundGenerationJobSchema,
16
+ });
17
+ })(UpdateSoundGenerationJobFavoriteCommand || (exports.UpdateSoundGenerationJobFavoriteCommand = UpdateSoundGenerationJobFavoriteCommand = {}));
@@ -0,0 +1,41 @@
1
+ import { z } from 'zod';
2
+ export declare namespace UpdateSoundGenerationJobTitleCommand {
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.ZodUUID;
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
+ status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
15
+ error: z.ZodNullable<z.ZodString>;
16
+ isFavorite: z.ZodBoolean;
17
+ createdAt: z.ZodDate;
18
+ updatedAt: z.ZodDate;
19
+ prompt: z.ZodString;
20
+ title: z.ZodString;
21
+ modelId: z.ZodString;
22
+ price: z.ZodNumber;
23
+ params: z.ZodObject<{
24
+ durationInSeconds: z.ZodOptional<z.ZodNumber>;
25
+ variations: z.ZodDefault<z.ZodNumber>;
26
+ loop: z.ZodDefault<z.ZodBoolean>;
27
+ promptInfluence: z.ZodDefault<z.ZodNumber>;
28
+ }, z.core.$strip>;
29
+ results: z.ZodArray<z.ZodObject<{
30
+ uuid: z.ZodUUID;
31
+ audioUrl: z.ZodURL;
32
+ duration: z.ZodNumber;
33
+ }, z.core.$strip>>;
34
+ attempts: z.ZodArray<z.ZodUnknown>;
35
+ reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
36
+ dislikeReason: z.ZodNullable<z.ZodString>;
37
+ completedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
38
+ }, z.core.$strip>;
39
+ }, z.core.$strip>;
40
+ type Response = z.infer<typeof ResponseSchema>;
41
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateSoundGenerationJobTitleCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const models_1 = require("../../../models");
6
+ var UpdateSoundGenerationJobTitleCommand;
7
+ (function (UpdateSoundGenerationJobTitleCommand) {
8
+ UpdateSoundGenerationJobTitleCommand.RequestSchema = zod_1.z.object({
9
+ title: zod_1.z.string().min(1).max(40),
10
+ });
11
+ UpdateSoundGenerationJobTitleCommand.RequestParamsSchema = zod_1.z.object({
12
+ uuid: zod_1.z.uuid(),
13
+ });
14
+ UpdateSoundGenerationJobTitleCommand.ResponseSchema = zod_1.z.object({
15
+ data: models_1.SoundGenerationJobSchema,
16
+ });
17
+ })(UpdateSoundGenerationJobTitleCommand || (exports.UpdateSoundGenerationJobTitleCommand = UpdateSoundGenerationJobTitleCommand = {}));
@@ -5,6 +5,7 @@ export declare namespace FindGroupedToolsCommand {
5
5
  data: z.ZodArray<z.ZodObject<{
6
6
  group: z.ZodEnum<typeof import("../../..").TOOL_GROUP>;
7
7
  title: z.ZodString;
8
+ icon: z.ZodString;
8
9
  tools: z.ZodArray<z.ZodObject<{
9
10
  uuid: z.ZodString;
10
11
  title: z.ZodString;
@@ -24,19 +24,7 @@ export declare namespace FindTTSJobByUUIDCommand {
24
24
  style: z.ZodOptional<z.ZodNumber>;
25
25
  }, z.core.$strip>;
26
26
  modelId: z.ZodString;
27
- voiceId: z.ZodNullable<z.ZodString>;
28
- isDialog: z.ZodBoolean;
29
- speakers: z.ZodArray<z.ZodObject<{
30
- speaker: z.ZodNumber;
31
- voiceId: z.ZodString;
32
- }, z.core.$strip>>;
33
- voices: z.ZodArray<z.ZodObject<{
34
- uuid: z.ZodString;
35
- title: z.ZodString;
36
- previewUrl: z.ZodString;
37
- isDeleted: z.ZodBoolean;
38
- speaker: z.ZodNullable<z.ZodNumber>;
39
- }, z.core.$strip>>;
27
+ voiceId: z.ZodString;
40
28
  }, z.core.$strip>;
41
29
  }, z.core.$strip>;
42
30
  type Response = z.infer<typeof ResponseSchema>;
@@ -30,19 +30,7 @@ export declare namespace FindTTSJobsCommand {
30
30
  style: z.ZodOptional<z.ZodNumber>;
31
31
  }, z.core.$strip>;
32
32
  modelId: z.ZodString;
33
- voiceId: z.ZodNullable<z.ZodString>;
34
- isDialog: z.ZodBoolean;
35
- speakers: z.ZodArray<z.ZodObject<{
36
- speaker: z.ZodNumber;
37
- voiceId: z.ZodString;
38
- }, z.core.$strip>>;
39
- voices: z.ZodArray<z.ZodObject<{
40
- uuid: z.ZodString;
41
- title: z.ZodString;
42
- previewUrl: z.ZodString;
43
- isDeleted: z.ZodBoolean;
44
- speaker: z.ZodNullable<z.ZodNumber>;
45
- }, z.core.$strip>>;
33
+ voiceId: z.ZodString;
46
34
  }, z.core.$strip>>;
47
35
  totalPages: z.ZodNumber;
48
36
  total: z.ZodNumber;
@@ -19,7 +19,6 @@ export declare namespace GetTTSToolConfigCommand {
19
19
  }, z.core.$strip>;
20
20
  }, z.core.$strip>;
21
21
  maxInputLength: z.ZodNumber;
22
- maxSpeakers: z.ZodNumber;
23
22
  params: z.ZodObject<{
24
23
  speed: z.ZodOptional<z.ZodObject<{
25
24
  title: z.ZodString;
@@ -123,16 +122,6 @@ export declare namespace GetTTSToolConfigCommand {
123
122
  canUse: z.ZodBoolean;
124
123
  status: z.ZodString;
125
124
  }, z.core.$strip>>;
126
- tags: z.ZodArray<z.ZodObject<{
127
- id: z.ZodEnum<typeof import("../../..").VOICE_TAG>;
128
- group: z.ZodEnum<typeof import("../../..").VOICE_TAG_GROUP>;
129
- label: z.ZodString;
130
- }, z.core.$strip>>;
131
- categories: z.ZodArray<z.ZodObject<{
132
- id: z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>;
133
- label: z.ZodString;
134
- }, z.core.$strip>>;
135
- speakerMarkerLabel: z.ZodString;
136
125
  }, z.core.$strip>;
137
126
  }, z.core.$strip>;
138
127
  type Response = z.infer<typeof ResponseSchema>;
@@ -8,12 +8,3 @@ export * from './set-reaction-to-tts-job.command';
8
8
  export * from './tts.command';
9
9
  export * from './update-tts-job-title.command';
10
10
  export * from './update-tts-job-favorite.command';
11
- export * from './improve-tts-text.command';
12
- export * from './find-voices.query';
13
- export * from './find-voice-by-uuid.query';
14
- export * from './create-voice-clone.command';
15
- export * from './create-voice-design.command';
16
- export * from './select-voice-design.command';
17
- export * from './update-voice.command';
18
- export * from './delete-voice.command';
19
- export * from './download-tts-job.command';
@@ -24,12 +24,3 @@ __exportStar(require("./set-reaction-to-tts-job.command"), exports);
24
24
  __exportStar(require("./tts.command"), exports);
25
25
  __exportStar(require("./update-tts-job-title.command"), exports);
26
26
  __exportStar(require("./update-tts-job-favorite.command"), exports);
27
- __exportStar(require("./improve-tts-text.command"), exports);
28
- __exportStar(require("./find-voices.query"), exports);
29
- __exportStar(require("./find-voice-by-uuid.query"), exports);
30
- __exportStar(require("./create-voice-clone.command"), exports);
31
- __exportStar(require("./create-voice-design.command"), exports);
32
- __exportStar(require("./select-voice-design.command"), exports);
33
- __exportStar(require("./update-voice.command"), exports);
34
- __exportStar(require("./delete-voice.command"), exports);
35
- __exportStar(require("./download-tts-job.command"), exports);
@@ -24,19 +24,7 @@ export declare namespace RetryTTSJobCommand {
24
24
  style: z.ZodOptional<z.ZodNumber>;
25
25
  }, z.core.$strip>;
26
26
  modelId: z.ZodString;
27
- voiceId: z.ZodNullable<z.ZodString>;
28
- isDialog: z.ZodBoolean;
29
- speakers: z.ZodArray<z.ZodObject<{
30
- speaker: z.ZodNumber;
31
- voiceId: z.ZodString;
32
- }, z.core.$strip>>;
33
- voices: z.ZodArray<z.ZodObject<{
34
- uuid: z.ZodString;
35
- title: z.ZodString;
36
- previewUrl: z.ZodString;
37
- isDeleted: z.ZodBoolean;
38
- speaker: z.ZodNullable<z.ZodNumber>;
39
- }, z.core.$strip>>;
27
+ voiceId: z.ZodString;
40
28
  }, z.core.$strip>;
41
29
  }, z.core.$strip>;
42
30
  type Response = z.infer<typeof ResponseSchema>;
@@ -30,19 +30,7 @@ export declare namespace SetReactionToTTSJobCommand {
30
30
  style: z.ZodOptional<z.ZodNumber>;
31
31
  }, z.core.$strip>;
32
32
  modelId: z.ZodString;
33
- voiceId: z.ZodNullable<z.ZodString>;
34
- isDialog: z.ZodBoolean;
35
- speakers: z.ZodArray<z.ZodObject<{
36
- speaker: z.ZodNumber;
37
- voiceId: z.ZodString;
38
- }, z.core.$strip>>;
39
- voices: z.ZodArray<z.ZodObject<{
40
- uuid: z.ZodString;
41
- title: z.ZodString;
42
- previewUrl: z.ZodString;
43
- isDeleted: z.ZodBoolean;
44
- speaker: z.ZodNullable<z.ZodNumber>;
45
- }, z.core.$strip>>;
33
+ voiceId: z.ZodString;
46
34
  }, z.core.$strip>;
47
35
  }, z.core.$strip>;
48
36
  type Response = z.infer<typeof ResponseSchema>;
@@ -2,13 +2,8 @@ import { z } from 'zod';
2
2
  export declare namespace TTSCommand {
3
3
  const RequestSchema: z.ZodObject<{
4
4
  modelId: z.ZodString;
5
- voiceId: z.ZodOptional<z.ZodString>;
5
+ voiceId: z.ZodString;
6
6
  text: z.ZodString;
7
- isDialog: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
8
- speakers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
9
- speaker: z.ZodNumber;
10
- voiceId: z.ZodString;
11
- }, z.core.$strip>>>>;
12
7
  params: z.ZodDefault<z.ZodOptional<z.ZodObject<{
13
8
  speed: z.ZodOptional<z.ZodNumber>;
14
9
  similarity: z.ZodOptional<z.ZodNumber>;
@@ -7,18 +7,12 @@ const TTSReferenceSchema = zod_1.z.object({
7
7
  audioUrl: zod_1.z.string().url(),
8
8
  text: zod_1.z.string(),
9
9
  });
10
- const TTSSpeakerSchema = zod_1.z.object({
11
- speaker: zod_1.z.number().int().positive(),
12
- voiceId: zod_1.z.string().uuid(),
13
- });
14
10
  var TTSCommand;
15
11
  (function (TTSCommand) {
16
12
  TTSCommand.RequestSchema = zod_1.z.object({
17
13
  modelId: zod_1.z.string().uuid(),
18
- voiceId: zod_1.z.string().uuid().optional(),
14
+ voiceId: zod_1.z.string().uuid(),
19
15
  text: zod_1.z.string(),
20
- isDialog: zod_1.z.boolean().optional().default(false),
21
- speakers: zod_1.z.array(TTSSpeakerSchema).optional().default([]),
22
16
  params: zod_1.z
23
17
  .object({
24
18
  speed: zod_1.z.number().optional(),
@@ -28,19 +28,7 @@ export declare namespace UpdateTTSJobFavoriteCommand {
28
28
  style: z.ZodOptional<z.ZodNumber>;
29
29
  }, z.core.$strip>;
30
30
  modelId: z.ZodString;
31
- voiceId: z.ZodNullable<z.ZodString>;
32
- isDialog: z.ZodBoolean;
33
- speakers: z.ZodArray<z.ZodObject<{
34
- speaker: z.ZodNumber;
35
- voiceId: z.ZodString;
36
- }, z.core.$strip>>;
37
- voices: z.ZodArray<z.ZodObject<{
38
- uuid: z.ZodString;
39
- title: z.ZodString;
40
- previewUrl: z.ZodString;
41
- isDeleted: z.ZodBoolean;
42
- speaker: z.ZodNullable<z.ZodNumber>;
43
- }, z.core.$strip>>;
31
+ voiceId: z.ZodString;
44
32
  }, z.core.$strip>;
45
33
  }, z.core.$strip>;
46
34
  type Response = z.infer<typeof ResponseSchema>;
@@ -28,19 +28,7 @@ export declare namespace UpdateTTSJobTitleCommand {
28
28
  style: z.ZodOptional<z.ZodNumber>;
29
29
  }, z.core.$strip>;
30
30
  modelId: z.ZodString;
31
- voiceId: z.ZodNullable<z.ZodString>;
32
- isDialog: z.ZodBoolean;
33
- speakers: z.ZodArray<z.ZodObject<{
34
- speaker: z.ZodNumber;
35
- voiceId: z.ZodString;
36
- }, z.core.$strip>>;
37
- voices: z.ZodArray<z.ZodObject<{
38
- uuid: z.ZodString;
39
- title: z.ZodString;
40
- previewUrl: z.ZodString;
41
- isDeleted: z.ZodBoolean;
42
- speaker: z.ZodNullable<z.ZodNumber>;
43
- }, z.core.$strip>>;
31
+ voiceId: z.ZodString;
44
32
  }, z.core.$strip>;
45
33
  }, z.core.$strip>;
46
34
  type Response = z.infer<typeof ResponseSchema>;