@purpleschool/gptbot-tools 0.2.67-stage2 → 0.2.67

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 (280) hide show
  1. package/build/ai-proxy/routes/ai-proxy.routes.d.ts +0 -1
  2. package/build/ai-proxy/routes/ai-proxy.routes.js +0 -1
  3. package/build/diagrams/commands/diagrams.command.d.ts +1 -0
  4. package/build/diagrams/commands/diagrams.command.js +1 -0
  5. package/build/diagrams/commands/edit-diagrams-job.command.d.ts +1 -0
  6. package/build/diagrams/commands/edit-diagrams-job.command.js +1 -0
  7. package/build/diagrams/commands/retry-diagrams-job.command.d.ts +1 -0
  8. package/build/diagrams/commands/retry-diagrams-job.command.js +1 -0
  9. package/build/html-page-builder/commands/html-page-builder-execute.command.d.ts +1 -0
  10. package/build/html-page-builder/commands/html-page-builder-execute.command.js +1 -0
  11. package/build/image-editor/commands/image-editor.command.d.ts +1 -0
  12. package/build/image-editor/commands/image-editor.command.js +1 -0
  13. package/build/image-editor/commands/retry-image-editor-job.command.d.ts +1 -0
  14. package/build/image-editor/commands/retry-image-editor-job.command.js +1 -0
  15. package/build/image-editor/enums/image-editor-strategy.enum.d.ts +1 -0
  16. package/build/image-editor/enums/image-editor-strategy.enum.js +1 -0
  17. package/build/image-generation/commands/execute-image-generation.command.d.ts +1 -0
  18. package/build/image-generation/commands/execute-image-generation.command.js +1 -0
  19. package/build/image-generation/commands/retry-image-generation-job.command.d.ts +1 -0
  20. package/build/image-generation/commands/retry-image-generation-job.command.js +1 -0
  21. package/build/image-generation/enums/image-generation-model-strategy.enum.d.ts +2 -1
  22. package/build/image-generation/enums/image-generation-model-strategy.enum.js +2 -0
  23. package/build/image-recognition/commands/image-recognition.command.d.ts +1 -0
  24. package/build/image-recognition/commands/image-recognition.command.js +1 -0
  25. package/build/image-recognition/commands/retry-image-recognition-job.command.d.ts +1 -0
  26. package/build/image-recognition/commands/retry-image-recognition-job.command.js +1 -0
  27. package/build/index.d.ts +0 -3
  28. package/build/index.js +0 -3
  29. package/build/interior-design/commands/interior-design.command.d.ts +1 -0
  30. package/build/interior-design/commands/interior-design.command.js +1 -0
  31. package/build/interior-design/commands/retry-interior-design-job.command.d.ts +1 -0
  32. package/build/interior-design/commands/retry-interior-design-job.command.js +1 -0
  33. package/build/marketplace-card/commands/execute-marketplace-card.command.d.ts +1 -0
  34. package/build/marketplace-card/commands/execute-marketplace-card.command.js +1 -0
  35. package/build/marketplace-card/commands/generate-marketplace-card-description.command.d.ts +1 -0
  36. package/build/marketplace-card/commands/generate-marketplace-card-description.command.js +1 -0
  37. package/build/marketplace-card/commands/retry-marketplace-card-job.command.d.ts +1 -0
  38. package/build/marketplace-card/commands/retry-marketplace-card-job.command.js +1 -0
  39. package/build/music/commands/boost-music-style.command.d.ts +1 -0
  40. package/build/music/commands/boost-music-style.command.js +1 -0
  41. package/build/music/commands/convert-to-wav.command.d.ts +1 -0
  42. package/build/music/commands/convert-to-wav.command.js +1 -0
  43. package/build/music/commands/edit-music.command.d.ts +1 -0
  44. package/build/music/commands/generate-lyrics.command.d.ts +1 -0
  45. package/build/music/commands/generate-lyrics.command.js +1 -0
  46. package/build/music/commands/generate-music.command.d.ts +1 -0
  47. package/build/music/commands/generate-music.command.js +1 -0
  48. package/build/music/commands/retry-music-job.command.d.ts +1 -0
  49. package/build/music/commands/retry-music-job.command.js +1 -0
  50. package/build/music/models/music-job.schema.d.ts +1 -0
  51. package/build/music/models/music-job.schema.js +1 -0
  52. package/build/paraphrase/commands/paraphrase.command.d.ts +1 -0
  53. package/build/paraphrase/commands/paraphrase.command.js +1 -0
  54. package/build/paraphrase/commands/retry-paraphrase-job.command.d.ts +1 -0
  55. package/build/paraphrase/commands/retry-paraphrase-job.command.js +1 -0
  56. package/build/presentation/commands/create-presentation.command.d.ts +1 -0
  57. package/build/presentation/commands/create-presentation.command.js +1 -0
  58. package/build/presentation/commands/generate-and-insert-slide.command.d.ts +1 -0
  59. package/build/presentation/commands/generate-and-insert-slide.command.js +1 -0
  60. package/build/presentation/commands/generate-presentation-outline.command.d.ts +1 -0
  61. package/build/presentation/commands/generate-presentation-outline.command.js +1 -0
  62. package/build/presentation/commands/generate-slides.command.d.ts +1 -0
  63. package/build/presentation/commands/generate-slides.command.js +1 -0
  64. package/build/presentation/commands/presentation-generate-report.command.d.ts +1 -0
  65. package/build/presentation/commands/presentation-generate-report.command.js +1 -0
  66. package/build/presentation/commands/presentation-paraphrase.command.d.ts +1 -0
  67. package/build/presentation/commands/presentation-paraphrase.command.js +1 -0
  68. package/build/presentation/commands/update-slide-image-slot.command.d.ts +1 -0
  69. package/build/presentation/commands/update-slide-image-slot.command.js +1 -0
  70. package/build/solving-edu-task/commands/retry-solving-edu-task-job.command.d.ts +1 -0
  71. package/build/solving-edu-task/commands/retry-solving-edu-task-job.command.js +1 -0
  72. package/build/solving-edu-task/commands/solving-edu-task.command.d.ts +1 -0
  73. package/build/solving-edu-task/commands/solving-edu-task.command.js +1 -0
  74. package/build/sound-generation/commands/retry-sound-generation-job.command.d.ts +1 -0
  75. package/build/sound-generation/commands/retry-sound-generation-job.command.js +1 -0
  76. package/build/sound-generation/commands/sound-generation.command.d.ts +1 -0
  77. package/build/sound-generation/commands/sound-generation.command.js +1 -0
  78. package/build/spell-corrector/commands/retry-spell-corrector-job.command.d.ts +1 -0
  79. package/build/spell-corrector/commands/retry-spell-corrector-job.command.js +1 -0
  80. package/build/spell-corrector/commands/spell-corrector.command.d.ts +1 -0
  81. package/build/spell-corrector/commands/spell-corrector.command.js +1 -0
  82. package/build/stt/commands/retry-stt-job.command.d.ts +1 -0
  83. package/build/stt/commands/retry-stt-job.command.js +1 -0
  84. package/build/stt/commands/stt.command.d.ts +1 -0
  85. package/build/stt/commands/stt.command.js +1 -0
  86. package/build/tools/enums/tool-content-type.enum.d.ts +0 -1
  87. package/build/tools/enums/tool-content-type.enum.js +0 -1
  88. package/build/tools/enums/tool-group.enum.d.ts +1 -1
  89. package/build/tools/enums/tool-group.enum.js +1 -1
  90. package/build/tools/enums/tool-type.enum.d.ts +0 -1
  91. package/build/tools/enums/tool-type.enum.js +0 -1
  92. package/build/tools/events/tool-job-complete.event.d.ts +0 -1
  93. package/build/tools/events/tool-job-failed.event.d.ts +0 -1
  94. package/build/tools/models/global-tools-config.schema.d.ts +0 -76
  95. package/build/tools/models/global-tools-config.schema.js +0 -2
  96. package/build/tools/models/tool-group.schema.d.ts +1 -0
  97. package/build/tools/models/tool-group.schema.js +1 -0
  98. package/build/tools/models/tool-job.schema.d.ts +0 -1
  99. package/build/tools/models/tool-job.schema.js +0 -1
  100. package/build/tools/models/tools-with-configs.schema.d.ts +0 -22
  101. package/build/tools/queries/find-grouped-tools.query.d.ts +2 -0
  102. package/build/tools/queries/get-global-tools-config.query.d.ts +0 -152
  103. package/build/tools/queries/get-tools-with-configs.query.d.ts +0 -22
  104. package/build/tts/commands/index.d.ts +0 -7
  105. package/build/tts/commands/index.js +0 -7
  106. package/build/tts/commands/retry-tts-job.command.d.ts +3 -29
  107. package/build/tts/commands/retry-tts-job.command.js +1 -2
  108. package/build/tts/commands/set-reaction-to-tts-job.command.d.ts +2 -29
  109. package/build/tts/commands/set-reaction-to-tts-job.command.js +0 -1
  110. package/build/tts/commands/tts.command.d.ts +4 -35
  111. package/build/tts/commands/tts.command.js +2 -4
  112. package/build/tts/commands/update-tts-job-favorite.command.d.ts +2 -29
  113. package/build/tts/commands/update-tts-job-favorite.command.js +0 -2
  114. package/build/tts/commands/update-tts-job-title.command.d.ts +2 -29
  115. package/build/tts/commands/update-tts-job-title.command.js +0 -2
  116. package/build/tts/enums/index.d.ts +0 -7
  117. package/build/tts/enums/index.js +0 -7
  118. package/build/tts/models/index.d.ts +0 -7
  119. package/build/tts/models/index.js +0 -7
  120. package/build/tts/models/tts-config-with-vendors.schema.d.ts +0 -1
  121. package/build/tts/models/tts-config.schema.d.ts +0 -11
  122. package/build/tts/models/tts-config.schema.js +0 -5
  123. package/build/tts/models/tts-job.schema.d.ts +2 -34
  124. package/build/tts/models/tts-job.schema.js +2 -22
  125. package/build/tts/models/tts-model-with-vendor.schema.d.ts +0 -1
  126. package/build/tts/models/tts-model.schema.d.ts +0 -1
  127. package/build/tts/models/tts-model.schema.js +0 -1
  128. package/build/tts/queries/find-tts-job-by-id.query.d.ts +2 -29
  129. package/build/tts/queries/find-tts-job-by-id.query.js +0 -2
  130. package/build/tts/queries/find-tts-jobs.query.d.ts +2 -29
  131. package/build/tts/queries/find-tts-jobs.query.js +0 -1
  132. package/build/tts/queries/get-tts-config-with-vendors.query.d.ts +0 -2
  133. package/build/tts/queries/get-tts-config.query.d.ts +0 -22
  134. package/build/tts/queries/index.d.ts +0 -2
  135. package/build/tts/queries/index.js +0 -2
  136. package/build/tts/routes/tts.amqp.routes.d.ts +0 -9
  137. package/build/tts/routes/tts.amqp.routes.js +0 -9
  138. package/build/video/commands/retry-video-job.command.d.ts +1 -0
  139. package/build/video/commands/retry-video-job.command.js +1 -0
  140. package/build/video/commands/video.command.d.ts +1 -0
  141. package/build/video/commands/video.command.js +1 -0
  142. package/build/video/enums/video-strategy.enum.d.ts +2 -1
  143. package/build/video/enums/video-strategy.enum.js +1 -0
  144. package/build/video-editor/commands/edit-video.command.d.ts +1 -0
  145. package/build/video-editor/commands/edit-video.command.js +1 -0
  146. package/build/video-editor/commands/retry-video-editor-job.command.d.ts +1 -0
  147. package/build/video-editor/commands/retry-video-editor-job.command.js +1 -0
  148. package/build/writer/commands/collect-sources.command.d.ts +1 -0
  149. package/build/writer/commands/collect-sources.command.js +1 -0
  150. package/build/writer/commands/create-writer-document.command.d.ts +1 -0
  151. package/build/writer/commands/create-writer-document.command.js +1 -0
  152. package/build/writer/commands/generate-document-contents.command.d.ts +1 -0
  153. package/build/writer/commands/generate-document-contents.command.js +1 -0
  154. package/build/writer/commands/generate-document-outline.command.d.ts +1 -0
  155. package/build/writer/commands/generate-document-outline.command.js +1 -0
  156. package/build/writer/commands/writer-extend-text.command.d.ts +1 -0
  157. package/build/writer/commands/writer-extend-text.command.js +1 -0
  158. package/build/writer/commands/writer-fix-errors.command.d.ts +1 -0
  159. package/build/writer/commands/writer-fix-errors.command.js +1 -0
  160. package/build/writer/commands/writer-generate-text.command.d.ts +1 -0
  161. package/build/writer/commands/writer-generate-text.command.js +1 -0
  162. package/build/writer/commands/writer-paraphrase.command.d.ts +1 -0
  163. package/build/writer/commands/writer-paraphrase.command.js +1 -0
  164. package/build/writer/commands/writer-shorten-text.command.d.ts +1 -0
  165. package/build/writer/commands/writer-shorten-text.command.js +1 -0
  166. package/package.json +1 -1
  167. package/build/photo-sessions/commands/admin/create-photo-session-style.command.d.ts +0 -58
  168. package/build/photo-sessions/commands/admin/create-photo-session-style.command.js +0 -21
  169. package/build/photo-sessions/commands/admin/delete-photo-session-style.command.d.ts +0 -14
  170. package/build/photo-sessions/commands/admin/delete-photo-session-style.command.js +0 -12
  171. package/build/photo-sessions/commands/admin/index.d.ts +0 -3
  172. package/build/photo-sessions/commands/admin/index.js +0 -19
  173. package/build/photo-sessions/commands/admin/update-photo-session-style.command.d.ts +0 -54
  174. package/build/photo-sessions/commands/admin/update-photo-session-style.command.js +0 -18
  175. package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.d.ts +0 -17
  176. package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.js +0 -19
  177. package/build/photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.d.ts +0 -16
  178. package/build/photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.js +0 -14
  179. package/build/photo-sessions/commands/get-photo-sessions-price.command.d.ts +0 -74
  180. package/build/photo-sessions/commands/get-photo-sessions-price.command.js +0 -28
  181. package/build/photo-sessions/commands/index.d.ts +0 -10
  182. package/build/photo-sessions/commands/index.js +0 -26
  183. package/build/photo-sessions/commands/photo-sessions.command.d.ts +0 -272
  184. package/build/photo-sessions/commands/photo-sessions.command.js +0 -37
  185. package/build/photo-sessions/commands/retry-photo-sessions-job.command.d.ts +0 -179
  186. package/build/photo-sessions/commands/retry-photo-sessions-job.command.js +0 -17
  187. package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.d.ts +0 -181
  188. package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.js +0 -27
  189. package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.d.ts +0 -179
  190. package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.js +0 -16
  191. package/build/photo-sessions/commands/update-photo-sessions-job-title.command.d.ts +0 -217
  192. package/build/photo-sessions/commands/update-photo-sessions-job-title.command.js +0 -16
  193. package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.d.ts +0 -184
  194. package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.js +0 -26
  195. package/build/photo-sessions/enums/index.d.ts +0 -3
  196. package/build/photo-sessions/enums/index.js +0 -19
  197. package/build/photo-sessions/enums/photo-session-group-status.enum.d.ts +0 -6
  198. package/build/photo-sessions/enums/photo-session-group-status.enum.js +0 -10
  199. package/build/photo-sessions/enums/photo-session-look-type.enum.d.ts +0 -5
  200. package/build/photo-sessions/enums/photo-session-look-type.enum.js +0 -9
  201. package/build/photo-sessions/enums/photo-session-strategy.enum.d.ts +0 -4
  202. package/build/photo-sessions/enums/photo-session-strategy.enum.js +0 -8
  203. package/build/photo-sessions/index.d.ts +0 -5
  204. package/build/photo-sessions/index.js +0 -21
  205. package/build/photo-sessions/models/index.d.ts +0 -5
  206. package/build/photo-sessions/models/index.js +0 -21
  207. package/build/photo-sessions/models/photo-session-config.schema.d.ts +0 -72
  208. package/build/photo-sessions/models/photo-session-config.schema.js +0 -16
  209. package/build/photo-sessions/models/photo-session-group.schema.d.ts +0 -113
  210. package/build/photo-sessions/models/photo-session-group.schema.js +0 -27
  211. package/build/photo-sessions/models/photo-session-job.schema.d.ts +0 -159
  212. package/build/photo-sessions/models/photo-session-job.schema.js +0 -55
  213. package/build/photo-sessions/models/photo-session-model.schema.d.ts +0 -69
  214. package/build/photo-sessions/models/photo-session-model.schema.js +0 -42
  215. package/build/photo-sessions/models/photo-session-style.schema.d.ts +0 -29
  216. package/build/photo-sessions/models/photo-session-style.schema.js +0 -22
  217. package/build/photo-sessions/queries/find-photo-session-style-by-id.query.d.ts +0 -46
  218. package/build/photo-sessions/queries/find-photo-session-style-by-id.query.js +0 -10
  219. package/build/photo-sessions/queries/find-photo-session-styles.query.d.ts +0 -57
  220. package/build/photo-sessions/queries/find-photo-session-styles.query.js +0 -19
  221. package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.d.ts +0 -216
  222. package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.js +0 -18
  223. package/build/photo-sessions/queries/find-photo-sessions-jobs.query.d.ts +0 -235
  224. package/build/photo-sessions/queries/find-photo-sessions-jobs.query.js +0 -33
  225. package/build/photo-sessions/queries/get-photo-sessions-config.query.d.ts +0 -142
  226. package/build/photo-sessions/queries/get-photo-sessions-config.query.js +0 -10
  227. package/build/photo-sessions/queries/index.d.ts +0 -5
  228. package/build/photo-sessions/queries/index.js +0 -21
  229. package/build/photo-sessions/routes/index.d.ts +0 -2
  230. package/build/photo-sessions/routes/index.js +0 -18
  231. package/build/photo-sessions/routes/photo-sessions.amqp.routes.d.ts +0 -19
  232. package/build/photo-sessions/routes/photo-sessions.amqp.routes.js +0 -22
  233. package/build/photo-sessions/routes/photo-sessions.http.routes.d.ts +0 -1
  234. package/build/photo-sessions/routes/photo-sessions.http.routes.js +0 -4
  235. package/build/tts/commands/create-voice-clone.command.d.ts +0 -81
  236. package/build/tts/commands/create-voice-clone.command.js +0 -21
  237. package/build/tts/commands/create-voice-design.command.d.ts +0 -40
  238. package/build/tts/commands/create-voice-design.command.js +0 -20
  239. package/build/tts/commands/delete-voice.command.d.ts +0 -17
  240. package/build/tts/commands/delete-voice.command.js +0 -14
  241. package/build/tts/commands/download-tts-job.command.d.ts +0 -25
  242. package/build/tts/commands/download-tts-job.command.js +0 -19
  243. package/build/tts/commands/improve-tts-text.command.d.ts +0 -22
  244. package/build/tts/commands/improve-tts-text.command.js +0 -16
  245. package/build/tts/commands/select-voice-design.command.d.ts +0 -77
  246. package/build/tts/commands/select-voice-design.command.js +0 -17
  247. package/build/tts/commands/update-voice.command.d.ts +0 -78
  248. package/build/tts/commands/update-voice.command.js +0 -18
  249. package/build/tts/enums/tts-download-format.enum.d.ts +0 -5
  250. package/build/tts/enums/tts-download-format.enum.js +0 -9
  251. package/build/tts/enums/voice-category.enum.d.ts +0 -19
  252. package/build/tts/enums/voice-category.enum.js +0 -23
  253. package/build/tts/enums/voice-gender.enum.d.ts +0 -4
  254. package/build/tts/enums/voice-gender.enum.js +0 -8
  255. package/build/tts/enums/voice-source.enum.d.ts +0 -5
  256. package/build/tts/enums/voice-source.enum.js +0 -9
  257. package/build/tts/enums/voice-status.enum.d.ts +0 -5
  258. package/build/tts/enums/voice-status.enum.js +0 -9
  259. package/build/tts/enums/voice-tag-group.enum.d.ts +0 -5
  260. package/build/tts/enums/voice-tag-group.enum.js +0 -9
  261. package/build/tts/enums/voice-tag.enum.d.ts +0 -20
  262. package/build/tts/enums/voice-tag.enum.js +0 -24
  263. package/build/tts/models/voice-category.schema.d.ts +0 -7
  264. package/build/tts/models/voice-category.schema.js +0 -9
  265. package/build/tts/models/voice-design-draft.schema.d.ts +0 -13
  266. package/build/tts/models/voice-design-draft.schema.js +0 -13
  267. package/build/tts/models/voice-design-sample.schema.d.ts +0 -6
  268. package/build/tts/models/voice-design-sample.schema.js +0 -8
  269. package/build/tts/models/voice-gender.schema.d.ts +0 -7
  270. package/build/tts/models/voice-gender.schema.js +0 -9
  271. package/build/tts/models/voice-source.schema.d.ts +0 -7
  272. package/build/tts/models/voice-source.schema.js +0 -9
  273. package/build/tts/models/voice-tag.schema.d.ts +0 -9
  274. package/build/tts/models/voice-tag.schema.js +0 -11
  275. package/build/tts/models/voice.schema.d.ts +0 -34
  276. package/build/tts/models/voice.schema.js +0 -30
  277. package/build/tts/queries/find-voice-by-id.query.d.ts +0 -77
  278. package/build/tts/queries/find-voice-by-id.query.js +0 -17
  279. package/build/tts/queries/find-voices.query.d.ts +0 -122
  280. package/build/tts/queries/find-voices.query.js +0 -25
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateVoiceDesignCommand = void 0;
4
- const zod_1 = require("zod");
5
- const common_1 = require("../../common");
6
- const voice_gender_enum_1 = require("../enums/voice-gender.enum");
7
- const models_1 = require("../models");
8
- var CreateVoiceDesignCommand;
9
- (function (CreateVoiceDesignCommand) {
10
- CreateVoiceDesignCommand.RequestSchema = zod_1.z.object({
11
- userId: zod_1.z.string().uuid(),
12
- locale: common_1.LocaleSchema.optional(),
13
- scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
14
- title: zod_1.z.string(),
15
- gender: zod_1.z.nativeEnum(voice_gender_enum_1.VOICE_GENDER),
16
- instruction: zod_1.z.string().min(1),
17
- imageUrl: zod_1.z.string().url().optional(),
18
- });
19
- CreateVoiceDesignCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.VoiceDesignDraftSchema);
20
- })(CreateVoiceDesignCommand || (exports.CreateVoiceDesignCommand = CreateVoiceDesignCommand = {}));
@@ -1,17 +0,0 @@
1
- import { z } from 'zod';
2
- import { JOB_SCOPE } from '../../common';
3
- export declare namespace DeleteVoiceCommand {
4
- const RequestSchema: z.ZodObject<{
5
- uuid: z.ZodString;
6
- userId: z.ZodString;
7
- scope: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof JOB_SCOPE>>>;
8
- }, z.core.$strip>;
9
- type Request = z.infer<typeof RequestSchema>;
10
- const ResponseSchema: z.ZodObject<{
11
- isSuccess: z.ZodBoolean;
12
- data: z.ZodOptional<z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>>;
13
- code: z.ZodOptional<z.ZodString>;
14
- message: z.ZodOptional<z.ZodString>;
15
- }, z.core.$strip>;
16
- type Response = z.infer<typeof ResponseSchema>;
17
- }
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteVoiceCommand = void 0;
4
- const zod_1 = require("zod");
5
- const common_1 = require("../../common");
6
- var DeleteVoiceCommand;
7
- (function (DeleteVoiceCommand) {
8
- DeleteVoiceCommand.RequestSchema = zod_1.z.object({
9
- uuid: zod_1.z.string().uuid(),
10
- userId: zod_1.z.string().uuid(),
11
- scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
12
- });
13
- DeleteVoiceCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(zod_1.z.boolean());
14
- })(DeleteVoiceCommand || (exports.DeleteVoiceCommand = DeleteVoiceCommand = {}));
@@ -1,25 +0,0 @@
1
- import { z } from 'zod';
2
- import { TTS_DOWNLOAD_FORMAT } from '../enums/tts-download-format.enum';
3
- export declare namespace DownloadTTSJobCommand {
4
- const RequestSchema: z.ZodObject<{
5
- uuid: z.ZodString;
6
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
- unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
- format: z.ZodEnum<typeof TTS_DOWNLOAD_FORMAT>;
9
- }, z.core.$strip>;
10
- type Request = z.infer<typeof RequestSchema>;
11
- const ResponseDataSchema: z.ZodObject<{
12
- url: z.ZodString;
13
- }, z.core.$strip>;
14
- const ResponseSchema: z.ZodObject<{
15
- isSuccess: z.ZodBoolean;
16
- data: z.ZodOptional<z.ZodType<{
17
- url: string;
18
- }, unknown, z.core.$ZodTypeInternals<{
19
- url: string;
20
- }, unknown>>>;
21
- code: z.ZodOptional<z.ZodString>;
22
- message: z.ZodOptional<z.ZodString>;
23
- }, z.core.$strip>;
24
- type Response = z.infer<typeof ResponseSchema>;
25
- }
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DownloadTTSJobCommand = void 0;
4
- const zod_1 = require("zod");
5
- const common_1 = require("../../common");
6
- const tts_download_format_enum_1 = require("../enums/tts-download-format.enum");
7
- var DownloadTTSJobCommand;
8
- (function (DownloadTTSJobCommand) {
9
- DownloadTTSJobCommand.RequestSchema = zod_1.z.object({
10
- uuid: zod_1.z.string().uuid(),
11
- userId: zod_1.z.string().uuid().nullable().optional(),
12
- unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
13
- format: zod_1.z.nativeEnum(tts_download_format_enum_1.TTS_DOWNLOAD_FORMAT),
14
- });
15
- DownloadTTSJobCommand.ResponseDataSchema = zod_1.z.object({
16
- url: zod_1.z.string(),
17
- });
18
- DownloadTTSJobCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(DownloadTTSJobCommand.ResponseDataSchema);
19
- })(DownloadTTSJobCommand || (exports.DownloadTTSJobCommand = DownloadTTSJobCommand = {}));
@@ -1,22 +0,0 @@
1
- import { z } from 'zod';
2
- export declare namespace ImproveTTSTextCommand {
3
- const RequestSchema: z.ZodObject<{
4
- userInput: z.ZodString;
5
- locale: z.ZodOptional<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>>;
6
- }, z.core.$strip>;
7
- type Request = z.infer<typeof RequestSchema>;
8
- const ResponseDataSchema: z.ZodObject<{
9
- text: z.ZodString;
10
- }, z.core.$strip>;
11
- const ResponseSchema: z.ZodObject<{
12
- isSuccess: z.ZodBoolean;
13
- data: z.ZodOptional<z.ZodType<{
14
- text: string;
15
- }, unknown, z.core.$ZodTypeInternals<{
16
- text: string;
17
- }, unknown>>>;
18
- code: z.ZodOptional<z.ZodString>;
19
- message: z.ZodOptional<z.ZodString>;
20
- }, z.core.$strip>;
21
- type Response = z.infer<typeof ResponseSchema>;
22
- }
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ImproveTTSTextCommand = void 0;
4
- const zod_1 = require("zod");
5
- const common_1 = require("../../common");
6
- var ImproveTTSTextCommand;
7
- (function (ImproveTTSTextCommand) {
8
- ImproveTTSTextCommand.RequestSchema = zod_1.z.object({
9
- userInput: zod_1.z.string(),
10
- locale: common_1.LocaleSchema.optional(),
11
- });
12
- ImproveTTSTextCommand.ResponseDataSchema = zod_1.z.object({
13
- text: zod_1.z.string(),
14
- });
15
- ImproveTTSTextCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(ImproveTTSTextCommand.ResponseDataSchema);
16
- })(ImproveTTSTextCommand || (exports.ImproveTTSTextCommand = ImproveTTSTextCommand = {}));
@@ -1,77 +0,0 @@
1
- import { z } from 'zod';
2
- import { JOB_SCOPE } from '../../common';
3
- export declare namespace SelectVoiceDesignCommand {
4
- const RequestSchema: z.ZodObject<{
5
- designId: z.ZodString;
6
- sampleId: z.ZodString;
7
- userId: z.ZodString;
8
- locale: z.ZodOptional<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>>;
9
- scope: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof JOB_SCOPE>>>;
10
- }, z.core.$strip>;
11
- type Request = z.infer<typeof RequestSchema>;
12
- const ResponseSchema: z.ZodObject<{
13
- isSuccess: z.ZodBoolean;
14
- data: z.ZodOptional<z.ZodType<{
15
- uuid: string;
16
- scope: JOB_SCOPE;
17
- source: {
18
- id: import("..").VOICE_SOURCE;
19
- label: string;
20
- };
21
- title: string;
22
- description: string;
23
- gender: {
24
- id: import("..").VOICE_GENDER;
25
- label: string;
26
- } | null;
27
- trait: string | null;
28
- ageRange: string | null;
29
- categories: {
30
- id: import("..").VOICE_CATEGORY;
31
- label: string;
32
- }[];
33
- previewUrl: string;
34
- imageUrl: string | null;
35
- status: import("..").VOICE_STATUS;
36
- error: string | null;
37
- order: number;
38
- isDeleted: boolean;
39
- userId: string | null;
40
- unregisteredUserId: string | null;
41
- createdAt: Date;
42
- updatedAt: Date;
43
- }, unknown, z.core.$ZodTypeInternals<{
44
- uuid: string;
45
- scope: JOB_SCOPE;
46
- source: {
47
- id: import("..").VOICE_SOURCE;
48
- label: string;
49
- };
50
- title: string;
51
- description: string;
52
- gender: {
53
- id: import("..").VOICE_GENDER;
54
- label: string;
55
- } | null;
56
- trait: string | null;
57
- ageRange: string | null;
58
- categories: {
59
- id: import("..").VOICE_CATEGORY;
60
- label: string;
61
- }[];
62
- previewUrl: string;
63
- imageUrl: string | null;
64
- status: import("..").VOICE_STATUS;
65
- error: string | null;
66
- order: number;
67
- isDeleted: boolean;
68
- userId: string | null;
69
- unregisteredUserId: string | null;
70
- createdAt: Date;
71
- updatedAt: Date;
72
- }, unknown>>>;
73
- code: z.ZodOptional<z.ZodString>;
74
- message: z.ZodOptional<z.ZodString>;
75
- }, z.core.$strip>;
76
- type Response = z.infer<typeof ResponseSchema>;
77
- }
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SelectVoiceDesignCommand = void 0;
4
- const zod_1 = require("zod");
5
- const common_1 = require("../../common");
6
- const models_1 = require("../models");
7
- var SelectVoiceDesignCommand;
8
- (function (SelectVoiceDesignCommand) {
9
- SelectVoiceDesignCommand.RequestSchema = zod_1.z.object({
10
- designId: zod_1.z.string().uuid(),
11
- sampleId: zod_1.z.string().uuid(),
12
- userId: zod_1.z.string().uuid(),
13
- locale: common_1.LocaleSchema.optional(),
14
- scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
15
- });
16
- SelectVoiceDesignCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.VoiceSchema);
17
- })(SelectVoiceDesignCommand || (exports.SelectVoiceDesignCommand = SelectVoiceDesignCommand = {}));
@@ -1,78 +0,0 @@
1
- import { z } from 'zod';
2
- import { JOB_SCOPE } from '../../common';
3
- export declare namespace UpdateVoiceCommand {
4
- const RequestSchema: z.ZodObject<{
5
- uuid: z.ZodString;
6
- userId: z.ZodString;
7
- locale: z.ZodOptional<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>>;
8
- title: z.ZodString;
9
- scope: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof JOB_SCOPE>>>;
10
- imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
- }, z.core.$strip>;
12
- type Request = z.infer<typeof RequestSchema>;
13
- const ResponseSchema: z.ZodObject<{
14
- isSuccess: z.ZodBoolean;
15
- data: z.ZodOptional<z.ZodType<{
16
- uuid: string;
17
- scope: JOB_SCOPE;
18
- source: {
19
- id: import("..").VOICE_SOURCE;
20
- label: string;
21
- };
22
- title: string;
23
- description: string;
24
- gender: {
25
- id: import("..").VOICE_GENDER;
26
- label: string;
27
- } | null;
28
- trait: string | null;
29
- ageRange: string | null;
30
- categories: {
31
- id: import("..").VOICE_CATEGORY;
32
- label: string;
33
- }[];
34
- previewUrl: string;
35
- imageUrl: string | null;
36
- status: import("..").VOICE_STATUS;
37
- error: string | null;
38
- order: number;
39
- isDeleted: boolean;
40
- userId: string | null;
41
- unregisteredUserId: string | null;
42
- createdAt: Date;
43
- updatedAt: Date;
44
- }, unknown, z.core.$ZodTypeInternals<{
45
- uuid: string;
46
- scope: JOB_SCOPE;
47
- source: {
48
- id: import("..").VOICE_SOURCE;
49
- label: string;
50
- };
51
- title: string;
52
- description: string;
53
- gender: {
54
- id: import("..").VOICE_GENDER;
55
- label: string;
56
- } | null;
57
- trait: string | null;
58
- ageRange: string | null;
59
- categories: {
60
- id: import("..").VOICE_CATEGORY;
61
- label: string;
62
- }[];
63
- previewUrl: string;
64
- imageUrl: string | null;
65
- status: import("..").VOICE_STATUS;
66
- error: string | null;
67
- order: number;
68
- isDeleted: boolean;
69
- userId: string | null;
70
- unregisteredUserId: string | null;
71
- createdAt: Date;
72
- updatedAt: Date;
73
- }, unknown>>>;
74
- code: z.ZodOptional<z.ZodString>;
75
- message: z.ZodOptional<z.ZodString>;
76
- }, z.core.$strip>;
77
- type Response = z.infer<typeof ResponseSchema>;
78
- }
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateVoiceCommand = void 0;
4
- const zod_1 = require("zod");
5
- const common_1 = require("../../common");
6
- const models_1 = require("../models");
7
- var UpdateVoiceCommand;
8
- (function (UpdateVoiceCommand) {
9
- UpdateVoiceCommand.RequestSchema = zod_1.z.object({
10
- uuid: zod_1.z.string().uuid(),
11
- userId: zod_1.z.string().uuid(),
12
- locale: common_1.LocaleSchema.optional(),
13
- title: zod_1.z.string().min(1),
14
- scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
15
- imageUrl: zod_1.z.string().url().nullable().optional(),
16
- });
17
- UpdateVoiceCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.VoiceSchema);
18
- })(UpdateVoiceCommand || (exports.UpdateVoiceCommand = UpdateVoiceCommand = {}));
@@ -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,7 +0,0 @@
1
- import { z } from 'zod';
2
- import { VOICE_CATEGORY } from '../enums/voice-category.enum';
3
- export declare const VoiceCategorySchema: z.ZodObject<{
4
- id: z.ZodEnum<typeof VOICE_CATEGORY>;
5
- label: z.ZodString;
6
- }, z.core.$strip>;
7
- export type VoiceCategory = z.infer<typeof VoiceCategorySchema>;
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VoiceCategorySchema = void 0;
4
- const zod_1 = require("zod");
5
- const voice_category_enum_1 = require("../enums/voice-category.enum");
6
- exports.VoiceCategorySchema = zod_1.z.object({
7
- id: zod_1.z.nativeEnum(voice_category_enum_1.VOICE_CATEGORY),
8
- label: zod_1.z.string(),
9
- });
@@ -1,13 +0,0 @@
1
- import { z } from 'zod';
2
- import { VOICE_GENDER } from '../enums/voice-gender.enum';
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 voice_gender_enum_1 = require("../enums/voice-gender.enum");
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(voice_gender_enum_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,7 +0,0 @@
1
- import { z } from 'zod';
2
- import { VOICE_GENDER } from '../enums/voice-gender.enum';
3
- export declare const VoiceGenderSchema: z.ZodObject<{
4
- id: z.ZodEnum<typeof VOICE_GENDER>;
5
- label: z.ZodString;
6
- }, z.core.$strip>;
7
- export type VoiceGender = z.infer<typeof VoiceGenderSchema>;
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VoiceGenderSchema = void 0;
4
- const zod_1 = require("zod");
5
- const voice_gender_enum_1 = require("../enums/voice-gender.enum");
6
- exports.VoiceGenderSchema = zod_1.z.object({
7
- id: zod_1.z.nativeEnum(voice_gender_enum_1.VOICE_GENDER),
8
- label: zod_1.z.string(),
9
- });
@@ -1,7 +0,0 @@
1
- import { z } from 'zod';
2
- import { VOICE_SOURCE } from '../enums/voice-source.enum';
3
- export declare const VoiceSourceSchema: z.ZodObject<{
4
- id: z.ZodEnum<typeof VOICE_SOURCE>;
5
- label: z.ZodString;
6
- }, z.core.$strip>;
7
- export type VoiceSource = z.infer<typeof VoiceSourceSchema>;
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VoiceSourceSchema = void 0;
4
- const zod_1 = require("zod");
5
- const voice_source_enum_1 = require("../enums/voice-source.enum");
6
- exports.VoiceSourceSchema = zod_1.z.object({
7
- id: zod_1.z.nativeEnum(voice_source_enum_1.VOICE_SOURCE),
8
- label: zod_1.z.string(),
9
- });
@@ -1,9 +0,0 @@
1
- import { z } from 'zod';
2
- import { VOICE_TAG } from '../enums/voice-tag.enum';
3
- import { VOICE_TAG_GROUP } from '../enums/voice-tag-group.enum';
4
- export declare const VoiceTagSchema: z.ZodObject<{
5
- id: z.ZodEnum<typeof VOICE_TAG>;
6
- group: z.ZodEnum<typeof VOICE_TAG_GROUP>;
7
- label: z.ZodString;
8
- }, z.core.$strip>;
9
- export type VoiceTag = z.infer<typeof VoiceTagSchema>;
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VoiceTagSchema = void 0;
4
- const zod_1 = require("zod");
5
- const voice_tag_enum_1 = require("../enums/voice-tag.enum");
6
- const voice_tag_group_enum_1 = require("../enums/voice-tag-group.enum");
7
- exports.VoiceTagSchema = zod_1.z.object({
8
- id: zod_1.z.nativeEnum(voice_tag_enum_1.VOICE_TAG),
9
- group: zod_1.z.nativeEnum(voice_tag_group_enum_1.VOICE_TAG_GROUP),
10
- label: zod_1.z.string(),
11
- });