@purpleschool/gptbot 0.15.56 → 0.15.57-stage2

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 (228) hide show
  1. package/build/api/controllers/http/avatar-studio.d.ts +5 -2
  2. package/build/api/controllers/http/avatar-studio.js +6 -4
  3. package/build/api/controllers/http/index.d.ts +1 -0
  4. package/build/api/controllers/http/index.js +1 -0
  5. package/build/api/controllers/http/photo-session.d.ts +20 -0
  6. package/build/api/controllers/http/photo-session.js +23 -0
  7. package/build/api/controllers/http/tts.d.ts +9 -0
  8. package/build/api/controllers/http/tts.js +9 -0
  9. package/build/api/routes.d.ts +50 -3
  10. package/build/api/routes.js +50 -3
  11. package/build/commands/ai-studio/canvas-node/find-canvas-node-definitions-with-configs.query.d.ts +11 -0
  12. package/build/commands/avatar-studio/clip/create-avatar-studio-clip.command.d.ts +1 -1
  13. package/build/commands/avatar-studio/clip/find-avatar-studio-clips.query.d.ts +1 -1
  14. package/build/commands/avatar-studio/clip/get-avatar-studio-clip.query.d.ts +1 -1
  15. package/build/commands/avatar-studio/clip/update-avatar-studio-clip.command.d.ts +1 -1
  16. package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-voice.command.d.ts +4 -2
  17. package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-voice.command.js +4 -2
  18. package/build/commands/avatar-studio/scene/{apply-avatar-studio-voice-sample-to-all-scenes.command.d.ts → apply-avatar-studio-voice-to-all-scenes.command.d.ts} +3 -3
  19. package/build/commands/avatar-studio/scene/apply-avatar-studio-voice-to-all-scenes.command.js +17 -0
  20. package/build/commands/avatar-studio/scene/create-avatar-studio-scene.command.d.ts +1 -1
  21. package/build/commands/avatar-studio/scene/index.d.ts +1 -1
  22. package/build/commands/avatar-studio/scene/index.js +1 -1
  23. package/build/commands/avatar-studio/scene/reorder-avatar-studio-scenes.command.d.ts +1 -1
  24. package/build/commands/avatar-studio/scene/set-avatar-studio-scene-slot.command.d.ts +1 -1
  25. package/build/commands/avatar-studio/scene/update-avatar-studio-scene.command.d.ts +2 -2
  26. package/build/commands/avatar-studio/scriptwriter/apply-avatar-studio-scriptwriter-message.command.d.ts +1 -1
  27. package/build/commands/avatar-studio/shared/avatar-studio-common.schema.d.ts +1 -1
  28. package/build/commands/avatar-studio/shared/get-avatar-studio-config.query.d.ts +5 -6
  29. package/build/commands/avatar-studio/shared/get-avatar-studio-config.query.js +7 -12
  30. package/build/commands/avatar-studio/voice/clone-avatar-studio-voice.command.d.ts +43 -0
  31. package/build/commands/avatar-studio/voice/clone-avatar-studio-voice.command.js +19 -0
  32. package/build/commands/avatar-studio/voice/delete-avatar-studio-voice.command.d.ts +11 -0
  33. package/build/commands/avatar-studio/voice/delete-avatar-studio-voice.command.js +13 -0
  34. package/build/commands/avatar-studio/voice/design-avatar-studio-voice.command.d.ts +26 -56
  35. package/build/commands/avatar-studio/voice/design-avatar-studio-voice.command.js +6 -7
  36. package/build/commands/avatar-studio/voice/find-avatar-studio-voices.query.d.ts +36 -0
  37. package/build/commands/avatar-studio/voice/find-avatar-studio-voices.query.js +11 -0
  38. package/build/commands/avatar-studio/voice/index.d.ts +3 -0
  39. package/build/commands/avatar-studio/voice/index.js +3 -0
  40. package/build/commands/tools/html-page-builder/execute-html-page-builder.command.d.ts +2 -0
  41. package/build/commands/tools/html-page-builder/find-html-page-builder-session-by-uuid.command.d.ts +2 -0
  42. package/build/commands/tools/html-page-builder/find-html-page-builder-sessions.command.d.ts +2 -0
  43. package/build/commands/tools/html-page-builder/update-html-page-builder-session-favorite.command.d.ts +2 -0
  44. package/build/commands/tools/html-page-builder/update-html-page-builder-session-title.command.d.ts +2 -0
  45. package/build/commands/tools/image-editor/find-image-editor-job-by-uuid.command.d.ts +2 -0
  46. package/build/commands/tools/image-editor/find-image-editor-jobs.command.d.ts +2 -0
  47. package/build/commands/tools/image-editor/retry-image-editor-job.command.d.ts +2 -0
  48. package/build/commands/tools/image-editor/set-reaction-to-image-editor-job.command.d.ts +2 -0
  49. package/build/commands/tools/image-editor/update-image-editor-job-favorite.command.d.ts +2 -0
  50. package/build/commands/tools/image-editor/update-image-editor-job-title.command.d.ts +2 -0
  51. package/build/commands/tools/image-recognition/find-image-recognition-job-by-uuid.command.d.ts +2 -0
  52. package/build/commands/tools/image-recognition/find-image-recognition-jobs.command.d.ts +2 -0
  53. package/build/commands/tools/image-recognition/image-recognition.command.d.ts +2 -0
  54. package/build/commands/tools/image-recognition/retry-image-recognition-job.command.d.ts +2 -0
  55. package/build/commands/tools/image-recognition/set-reaction-to-image-recognition-job.command.d.ts +2 -0
  56. package/build/commands/tools/image-recognition/update-image-recognition-job-favorite.command.d.ts +2 -0
  57. package/build/commands/tools/image-recognition/update-image-recognition-job-title.command.d.ts +2 -0
  58. package/build/commands/tools/index.d.ts +1 -0
  59. package/build/commands/tools/index.js +1 -0
  60. package/build/commands/tools/interior-design/find-interior-design-job-by-uuid.command.d.ts +2 -0
  61. package/build/commands/tools/interior-design/find-interior-design-jobs.command.d.ts +2 -0
  62. package/build/commands/tools/interior-design/retry-interior-design-job.command.d.ts +2 -0
  63. package/build/commands/tools/interior-design/set-reaction-to-interior-design-job.command.d.ts +2 -0
  64. package/build/commands/tools/interior-design/update-interior-design-job-favorite.command.d.ts +2 -0
  65. package/build/commands/tools/interior-design/update-interior-design-job-title.command.d.ts +2 -0
  66. package/build/commands/tools/photo-session/admin/create-photo-session-style.command.d.ts +39 -0
  67. package/build/commands/tools/photo-session/admin/create-photo-session-style.command.js +22 -0
  68. package/build/commands/tools/photo-session/admin/delete-photo-session-style.command.d.ts +9 -0
  69. package/build/commands/tools/photo-session/admin/delete-photo-session-style.command.js +11 -0
  70. package/build/commands/tools/photo-session/admin/index.d.ts +4 -0
  71. package/build/commands/tools/photo-session/admin/index.js +20 -0
  72. package/build/commands/tools/photo-session/admin/list-photo-session-styles.command.d.ts +8 -0
  73. package/build/commands/tools/photo-session/admin/list-photo-session-styles.command.js +11 -0
  74. package/build/commands/tools/photo-session/admin/update-photo-session-style.command.d.ts +38 -0
  75. package/build/commands/tools/photo-session/admin/update-photo-session-style.command.js +21 -0
  76. package/build/commands/tools/photo-session/delete-all-photo-session-jobs.command.d.ts +5 -0
  77. package/build/commands/tools/photo-session/delete-all-photo-session-jobs.command.js +8 -0
  78. package/build/commands/tools/photo-session/delete-photo-session-job-by-uuid.command.d.ts +9 -0
  79. package/build/commands/tools/photo-session/delete-photo-session-job-by-uuid.command.js +11 -0
  80. package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.d.ts +122 -0
  81. package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.js +14 -0
  82. package/build/commands/tools/photo-session/find-photo-session-jobs.command.d.ts +131 -0
  83. package/build/commands/tools/photo-session/find-photo-session-jobs.command.js +24 -0
  84. package/build/commands/tools/photo-session/get-photo-session-config.command.d.ts +76 -0
  85. package/build/commands/tools/photo-session/get-photo-session-config.command.js +11 -0
  86. package/build/commands/tools/photo-session/get-photo-session-price.command.d.ts +73 -0
  87. package/build/commands/tools/photo-session/get-photo-session-price.command.js +26 -0
  88. package/build/commands/tools/photo-session/get-photo-session-styles.command.d.ts +23 -0
  89. package/build/commands/tools/photo-session/get-photo-session-styles.command.js +11 -0
  90. package/build/commands/tools/photo-session/index.d.ts +14 -0
  91. package/build/commands/tools/photo-session/index.js +30 -0
  92. package/build/commands/tools/photo-session/photo-session.command.d.ts +143 -0
  93. package/build/commands/tools/photo-session/photo-session.command.js +26 -0
  94. package/build/commands/tools/photo-session/retry-photo-session-job.command.d.ts +129 -0
  95. package/build/commands/tools/photo-session/retry-photo-session-job.command.js +29 -0
  96. package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.d.ts +109 -0
  97. package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.js +28 -0
  98. package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.d.ts +107 -0
  99. package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.js +17 -0
  100. package/build/commands/tools/photo-session/update-photo-session-job-title.command.d.ts +126 -0
  101. package/build/commands/tools/photo-session/update-photo-session-job-title.command.js +17 -0
  102. package/build/commands/tools/photo-session/update-published-status-photo-session-job.command.d.ts +108 -0
  103. package/build/commands/tools/photo-session/update-published-status-photo-session-job.command.js +23 -0
  104. package/build/commands/tools/solving-edu-task/find-solving-edu-task-job-by-uuid.command.d.ts +2 -0
  105. package/build/commands/tools/solving-edu-task/find-solving-edu-task-jobs.command.d.ts +2 -0
  106. package/build/commands/tools/solving-edu-task/retry-solving-edu-task-job.command.d.ts +2 -0
  107. package/build/commands/tools/solving-edu-task/set-reaction-to-solving-edu-task-job.command.d.ts +2 -0
  108. package/build/commands/tools/solving-edu-task/solving-edu-task.command.d.ts +2 -0
  109. package/build/commands/tools/solving-edu-task/update-solving-edu-task-job-favorite.command.d.ts +2 -0
  110. package/build/commands/tools/solving-edu-task/update-solving-edu-task-job-title.command.d.ts +2 -0
  111. package/build/commands/tools/tts/create-voice-clone.command.d.ts +44 -0
  112. package/build/commands/tools/tts/create-voice-clone.command.js +18 -0
  113. package/build/commands/tools/tts/create-voice-design.command.d.ts +24 -0
  114. package/build/commands/tools/tts/create-voice-design.command.js +18 -0
  115. package/build/commands/tools/tts/delete-voice.command.d.ts +9 -0
  116. package/build/commands/tools/tts/delete-voice.command.js +11 -0
  117. package/build/commands/tools/tts/download-tts-job.command.d.ts +18 -0
  118. package/build/commands/tools/tts/download-tts-job.command.js +17 -0
  119. package/build/commands/tools/tts/find-tts-job-by-uuid.command.d.ts +13 -1
  120. package/build/commands/tools/tts/find-tts-jobs.command.d.ts +13 -1
  121. package/build/commands/tools/tts/find-voice-by-uuid.query.d.ts +40 -0
  122. package/build/commands/tools/tts/find-voice-by-uuid.query.js +14 -0
  123. package/build/commands/tools/tts/find-voices.query.d.ts +48 -0
  124. package/build/commands/tools/tts/find-voices.query.js +18 -0
  125. package/build/commands/tools/tts/get-tts-tool-config.command.d.ts +11 -0
  126. package/build/commands/tools/tts/improve-tts-text.command.d.ts +13 -0
  127. package/build/commands/tools/tts/improve-tts-text.command.js +13 -0
  128. package/build/commands/tools/tts/index.d.ts +9 -0
  129. package/build/commands/tools/tts/index.js +9 -0
  130. package/build/commands/tools/tts/retry-tts-job.command.d.ts +13 -1
  131. package/build/commands/tools/tts/select-voice-design.command.d.ts +44 -0
  132. package/build/commands/tools/tts/select-voice-design.command.js +17 -0
  133. package/build/commands/tools/tts/set-reaction-to-tts-job.command.d.ts +13 -1
  134. package/build/commands/tools/tts/tts.command.d.ts +6 -1
  135. package/build/commands/tools/tts/tts.command.js +7 -1
  136. package/build/commands/tools/tts/update-tts-job-favorite.command.d.ts +13 -1
  137. package/build/commands/tools/tts/update-tts-job-title.command.d.ts +13 -1
  138. package/build/commands/tools/tts/update-voice.command.d.ts +45 -0
  139. package/build/commands/tools/tts/update-voice.command.js +18 -0
  140. package/build/constants/avatar-studio/enums/avatar-studio-job-type.enum.d.ts +1 -0
  141. package/build/constants/avatar-studio/enums/avatar-studio-job-type.enum.js +1 -0
  142. package/build/constants/avatar-studio/enums/avatar-studio-media-kind.enum.d.ts +1 -2
  143. package/build/constants/avatar-studio/enums/avatar-studio-media-kind.enum.js +0 -1
  144. package/build/constants/avatar-studio/enums/avatar-studio-slot.enum.d.ts +1 -1
  145. package/build/constants/avatar-studio/enums/avatar-studio-slot.enum.js +1 -1
  146. package/build/constants/index.d.ts +2 -0
  147. package/build/constants/index.js +2 -0
  148. package/build/constants/tool/enums/index.d.ts +1 -0
  149. package/build/constants/tool/enums/index.js +1 -0
  150. package/build/constants/tool/enums/job-scope.enum.d.ts +5 -0
  151. package/build/constants/tool/enums/job-scope.enum.js +9 -0
  152. package/build/constants/tool-photo-session/enums/index.d.ts +4 -0
  153. package/build/constants/tool-photo-session/enums/index.js +20 -0
  154. package/build/constants/tool-photo-session/enums/photo-session-group-status.enum.d.ts +7 -0
  155. package/build/constants/tool-photo-session/enums/photo-session-group-status.enum.js +11 -0
  156. package/build/constants/tool-photo-session/enums/photo-session-look-type.enum.d.ts +5 -0
  157. package/build/constants/tool-photo-session/enums/photo-session-look-type.enum.js +9 -0
  158. package/build/constants/tool-photo-session/enums/photo-session-model-type.enum.d.ts +3 -0
  159. package/build/constants/tool-photo-session/enums/photo-session-model-type.enum.js +7 -0
  160. package/build/constants/tool-photo-session/enums/photo-session-strategy.enum.d.ts +4 -0
  161. package/build/constants/tool-photo-session/enums/photo-session-strategy.enum.js +8 -0
  162. package/build/constants/tool-photo-session/index.d.ts +1 -0
  163. package/build/constants/tool-photo-session/index.js +17 -0
  164. package/build/constants/tool-tts/enums/index.d.ts +7 -0
  165. package/build/constants/tool-tts/enums/index.js +23 -0
  166. package/build/constants/tool-tts/enums/tts-download-format.enum.d.ts +5 -0
  167. package/build/constants/tool-tts/enums/tts-download-format.enum.js +9 -0
  168. package/build/constants/tool-tts/enums/voice-category.enum.d.ts +19 -0
  169. package/build/constants/tool-tts/enums/voice-category.enum.js +23 -0
  170. package/build/constants/tool-tts/enums/voice-gender.enum.d.ts +4 -0
  171. package/build/constants/tool-tts/enums/voice-gender.enum.js +8 -0
  172. package/build/constants/tool-tts/enums/voice-source.enum.d.ts +5 -0
  173. package/build/constants/tool-tts/enums/voice-source.enum.js +9 -0
  174. package/build/constants/tool-tts/enums/voice-status.enum.d.ts +5 -0
  175. package/build/constants/tool-tts/enums/voice-status.enum.js +9 -0
  176. package/build/constants/tool-tts/enums/voice-tag-group.enum.d.ts +5 -0
  177. package/build/constants/tool-tts/enums/voice-tag-group.enum.js +9 -0
  178. package/build/constants/tool-tts/enums/voice-tag.enum.d.ts +20 -0
  179. package/build/constants/tool-tts/enums/voice-tag.enum.js +24 -0
  180. package/build/constants/tool-tts/index.d.ts +1 -0
  181. package/build/constants/tool-tts/index.js +17 -0
  182. package/build/helpers/index.d.ts +1 -0
  183. package/build/helpers/index.js +1 -0
  184. package/build/helpers/photo-session/calculate-photo-session-price.helper.d.ts +6 -0
  185. package/build/helpers/photo-session/calculate-photo-session-price.helper.js +13 -0
  186. package/build/helpers/photo-session/index.d.ts +1 -0
  187. package/build/helpers/photo-session/index.js +17 -0
  188. package/build/models/avatar-studio/avatar-studio.schema.d.ts +6 -6
  189. package/build/models/avatar-studio/avatar-studio.schema.js +3 -3
  190. package/build/models/canvas-node-definition.schema.d.ts +33 -0
  191. package/build/models/tools/common/attached-tool-file.schema.d.ts +2 -0
  192. package/build/models/tools/common/attached-tool-file.schema.js +2 -0
  193. package/build/models/tools/html-page-builder/html-page-builder-job.schema.d.ts +4 -0
  194. package/build/models/tools/html-page-builder/html-page-builder-session.schema.d.ts +2 -0
  195. package/build/models/tools/image-editor/image-editor-job.schema.d.ts +4 -0
  196. package/build/models/tools/image-recognition/image-recognition-job.schema.d.ts +4 -0
  197. package/build/models/tools/index.d.ts +1 -0
  198. package/build/models/tools/index.js +1 -0
  199. package/build/models/tools/interior-design/interior-design-job.schema.d.ts +4 -0
  200. package/build/models/tools/photo-session/index.d.ts +5 -0
  201. package/build/models/tools/photo-session/index.js +21 -0
  202. package/build/models/tools/photo-session/photo-session-config.schema.d.ts +143 -0
  203. package/build/models/tools/photo-session/photo-session-config.schema.js +21 -0
  204. package/build/models/tools/photo-session/photo-session-group.schema.d.ts +115 -0
  205. package/build/models/tools/photo-session/photo-session-group.schema.js +26 -0
  206. package/build/models/tools/photo-session/photo-session-job.schema.d.ts +168 -0
  207. package/build/models/tools/photo-session/photo-session-job.schema.js +51 -0
  208. package/build/models/tools/photo-session/photo-session-model.schema.d.ts +116 -0
  209. package/build/models/tools/photo-session/photo-session-model.schema.js +47 -0
  210. package/build/models/tools/photo-session/photo-session-style.schema.d.ts +29 -0
  211. package/build/models/tools/photo-session/photo-session-style.schema.js +22 -0
  212. package/build/models/tools/solving-edu-task/solving-edu-task-job.schema.d.ts +4 -0
  213. package/build/models/tools/tts/index.d.ts +3 -0
  214. package/build/models/tools/tts/index.js +3 -0
  215. package/build/models/tools/tts/tts-config.schema.d.ts +23 -0
  216. package/build/models/tools/tts/tts-config.schema.js +14 -1
  217. package/build/models/tools/tts/tts-job.schema.d.ts +26 -1
  218. package/build/models/tools/tts/tts-job.schema.js +16 -2
  219. package/build/models/tools/tts/tts-model.schema.d.ts +1 -0
  220. package/build/models/tools/tts/tts-model.schema.js +1 -0
  221. package/build/models/tools/tts/voice-design-draft.schema.d.ts +13 -0
  222. package/build/models/tools/tts/voice-design-draft.schema.js +13 -0
  223. package/build/models/tools/tts/voice-design-sample.schema.d.ts +6 -0
  224. package/build/models/tools/tts/voice-design-sample.schema.js +8 -0
  225. package/build/models/tools/tts/voice.schema.d.ts +33 -0
  226. package/build/models/tools/tts/voice.schema.js +37 -0
  227. package/package.json +1 -1
  228. package/build/commands/avatar-studio/scene/apply-avatar-studio-voice-sample-to-all-scenes.command.js +0 -15
@@ -0,0 +1,116 @@
1
+ import { PHOTO_SESSION_STRATEGY, 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
+ strategy: z.ZodEnum<typeof PHOTO_SESSION_STRATEGY>;
47
+ maxInputLength: z.ZodNumber;
48
+ params: z.ZodObject<{
49
+ imageAttachment: z.ZodObject<{
50
+ supported: z.ZodBoolean;
51
+ maxImages: z.ZodNumber;
52
+ acceptedTypes: z.ZodArray<z.ZodString>;
53
+ }, z.core.$strip>;
54
+ aspectRatio: z.ZodRecord<z.ZodString, z.ZodObject<{
55
+ width: z.ZodNumber;
56
+ height: z.ZodNumber;
57
+ }, z.core.$strip>>;
58
+ }, z.core.$strip>;
59
+ pricingRules: z.ZodArray<z.ZodObject<{
60
+ condition: z.ZodObject<{
61
+ withoutSub: z.ZodOptional<z.ZodBoolean>;
62
+ }, z.core.$strip>;
63
+ value: z.ZodNumber;
64
+ }, z.core.$strip>>;
65
+ createdAt: z.ZodCoercedDate<unknown>;
66
+ updatedAt: z.ZodCoercedDate<unknown>;
67
+ }, z.core.$strip>;
68
+ export type RawPhotoSessionModel = z.infer<typeof RawPhotoSessionModelSchema>;
69
+ export declare const PhotoSessionModelSchema: z.ZodObject<{
70
+ uuid: z.ZodString;
71
+ title: z.ZodString;
72
+ description: z.ZodString;
73
+ aiModel: z.ZodString;
74
+ isNew: z.ZodBoolean;
75
+ tierLabel: z.ZodString;
76
+ pricePerImage: z.ZodNumber;
77
+ order: z.ZodNumber;
78
+ status: z.ZodEnum<typeof TOOL_MODEL_STATUS>;
79
+ icons: z.ZodObject<{
80
+ light: z.ZodObject<{
81
+ svg: z.ZodString;
82
+ png: z.ZodString;
83
+ }, z.core.$strip>;
84
+ dark: z.ZodObject<{
85
+ svg: z.ZodString;
86
+ png: z.ZodString;
87
+ }, z.core.$strip>;
88
+ }, z.core.$strip>;
89
+ strategy: z.ZodEnum<typeof PHOTO_SESSION_STRATEGY>;
90
+ maxInputLength: z.ZodNumber;
91
+ params: z.ZodObject<{
92
+ imageAttachment: z.ZodObject<{
93
+ supported: z.ZodBoolean;
94
+ maxImages: z.ZodNumber;
95
+ acceptedTypes: z.ZodArray<z.ZodString>;
96
+ }, z.core.$strip>;
97
+ aspectRatio: z.ZodRecord<z.ZodString, z.ZodObject<{
98
+ width: z.ZodNumber;
99
+ height: z.ZodNumber;
100
+ }, z.core.$strip>>;
101
+ }, z.core.$strip>;
102
+ pricingRules: z.ZodArray<z.ZodObject<{
103
+ condition: z.ZodObject<{
104
+ withoutSub: z.ZodOptional<z.ZodBoolean>;
105
+ }, z.core.$strip>;
106
+ value: z.ZodNumber;
107
+ }, z.core.$strip>>;
108
+ createdAt: z.ZodCoercedDate<unknown>;
109
+ updatedAt: z.ZodCoercedDate<unknown>;
110
+ unlockedBy: z.ZodNullable<z.ZodObject<{
111
+ uuid: z.ZodString;
112
+ name: z.ZodString;
113
+ }, z.core.$strip>>;
114
+ canUse: z.ZodBoolean;
115
+ }, z.core.$strip>;
116
+ export type PhotoSessionModel = z.infer<typeof PhotoSessionModelSchema>;
@@ -0,0 +1,47 @@
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
+ strategy: zod_1.z.nativeEnum(constants_1.PHOTO_SESSION_STRATEGY),
38
+ maxInputLength: zod_1.z.number(),
39
+ params: exports.PhotoSessionModelParamsSchema,
40
+ pricingRules: exports.PhotoSessionModelPricingRulesSchema,
41
+ createdAt: zod_1.z.coerce.date(),
42
+ updatedAt: zod_1.z.coerce.date(),
43
+ });
44
+ exports.PhotoSessionModelSchema = exports.RawPhotoSessionModelSchema.extend({
45
+ unlockedBy: unlocked_by_subscription_schema_1.UnlockedBySchema.nullable(),
46
+ canUse: zod_1.z.boolean(),
47
+ });
@@ -0,0 +1,29 @@
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>;
@@ -0,0 +1,22 @@
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
+ });
@@ -10,6 +10,8 @@ export declare const SolvingEduTaskJobParamsSchema: z.ZodObject<{
10
10
  type: z.ZodString;
11
11
  size: z.ZodNumber;
12
12
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
13
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
14
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
13
15
  }, z.core.$strip>>;
14
16
  }, z.core.$strip>;
15
17
  export type SolvingEduTaskJobParams = z.infer<typeof SolvingEduTaskJobParamsSchema>;
@@ -31,6 +33,8 @@ export declare const SolvingEduTaskJobSchema: z.ZodObject<{
31
33
  type: z.ZodString;
32
34
  size: z.ZodNumber;
33
35
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
36
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
37
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
34
38
  }, z.core.$strip>>;
35
39
  }, z.core.$strip>;
36
40
  error: z.ZodNullable<z.ZodString>;
@@ -1,3 +1,6 @@
1
1
  export * from './tts-config.schema';
2
2
  export * from './tts-job.schema';
3
3
  export * from './tts-model.schema';
4
+ export * from './voice.schema';
5
+ export * from './voice-design-draft.schema';
6
+ export * from './voice-design-sample.schema';
@@ -17,3 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./tts-config.schema"), exports);
18
18
  __exportStar(require("./tts-job.schema"), exports);
19
19
  __exportStar(require("./tts-model.schema"), exports);
20
+ __exportStar(require("./voice.schema"), exports);
21
+ __exportStar(require("./voice-design-draft.schema"), exports);
22
+ __exportStar(require("./voice-design-sample.schema"), exports);
@@ -1,4 +1,16 @@
1
1
  import { z } from 'zod';
2
+ import { VOICE_CATEGORY, VOICE_TAG, VOICE_TAG_GROUP } from '../../../constants';
3
+ export declare const TTSVoiceTagSchema: z.ZodObject<{
4
+ id: z.ZodEnum<typeof VOICE_TAG>;
5
+ group: z.ZodEnum<typeof VOICE_TAG_GROUP>;
6
+ label: z.ZodString;
7
+ }, z.core.$strip>;
8
+ export type TTSVoiceTag = z.infer<typeof TTSVoiceTagSchema>;
9
+ export declare const TTSVoiceCategorySchema: z.ZodObject<{
10
+ id: z.ZodEnum<typeof VOICE_CATEGORY>;
11
+ label: z.ZodString;
12
+ }, z.core.$strip>;
13
+ export type TTSVoiceCategory = z.infer<typeof TTSVoiceCategorySchema>;
2
14
  export declare const TTSConfigSchema: z.ZodObject<{
3
15
  models: z.ZodArray<z.ZodObject<{
4
16
  uuid: z.ZodString;
@@ -17,6 +29,7 @@ export declare const TTSConfigSchema: z.ZodObject<{
17
29
  }, z.core.$strip>;
18
30
  }, z.core.$strip>;
19
31
  maxInputLength: z.ZodNumber;
32
+ maxSpeakers: z.ZodNumber;
20
33
  params: z.ZodObject<{
21
34
  speed: z.ZodOptional<z.ZodObject<{
22
35
  title: z.ZodString;
@@ -120,4 +133,14 @@ export declare const TTSConfigSchema: z.ZodObject<{
120
133
  canUse: z.ZodBoolean;
121
134
  status: z.ZodString;
122
135
  }, z.core.$strip>>;
136
+ tags: z.ZodArray<z.ZodObject<{
137
+ id: z.ZodEnum<typeof VOICE_TAG>;
138
+ group: z.ZodEnum<typeof VOICE_TAG_GROUP>;
139
+ label: z.ZodString;
140
+ }, z.core.$strip>>;
141
+ categories: z.ZodArray<z.ZodObject<{
142
+ id: z.ZodEnum<typeof VOICE_CATEGORY>;
143
+ label: z.ZodString;
144
+ }, z.core.$strip>>;
145
+ speakerMarkerLabel: z.ZodString;
123
146
  }, z.core.$strip>;
@@ -1,8 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TTSConfigSchema = void 0;
3
+ exports.TTSConfigSchema = exports.TTSVoiceCategorySchema = exports.TTSVoiceTagSchema = void 0;
4
4
  const zod_1 = require("zod");
5
+ const constants_1 = require("../../../constants");
5
6
  const tts_model_schema_1 = require("./tts-model.schema");
7
+ exports.TTSVoiceTagSchema = zod_1.z.object({
8
+ id: zod_1.z.nativeEnum(constants_1.VOICE_TAG),
9
+ group: zod_1.z.nativeEnum(constants_1.VOICE_TAG_GROUP),
10
+ label: zod_1.z.string(),
11
+ });
12
+ exports.TTSVoiceCategorySchema = zod_1.z.object({
13
+ id: zod_1.z.nativeEnum(constants_1.VOICE_CATEGORY),
14
+ label: zod_1.z.string(),
15
+ });
6
16
  exports.TTSConfigSchema = zod_1.z.object({
7
17
  models: zod_1.z.array(tts_model_schema_1.TTSModelSchema),
18
+ tags: zod_1.z.array(exports.TTSVoiceTagSchema),
19
+ categories: zod_1.z.array(exports.TTSVoiceCategorySchema),
20
+ speakerMarkerLabel: zod_1.z.string(),
8
21
  });
@@ -7,6 +7,19 @@ export declare const TTSJobParamsSchema: z.ZodObject<{
7
7
  style: z.ZodOptional<z.ZodNumber>;
8
8
  }, z.core.$strip>;
9
9
  export type TTSJobParams = z.infer<typeof TTSJobParamsSchema>;
10
+ export declare const TTSJobSpeakerSchema: z.ZodObject<{
11
+ speaker: z.ZodNumber;
12
+ voiceId: z.ZodString;
13
+ }, z.core.$strip>;
14
+ export type TTSJobSpeaker = z.infer<typeof TTSJobSpeakerSchema>;
15
+ export declare const TTSJobVoiceSchema: z.ZodObject<{
16
+ uuid: z.ZodString;
17
+ title: z.ZodString;
18
+ previewUrl: z.ZodString;
19
+ isDeleted: z.ZodBoolean;
20
+ speaker: z.ZodNullable<z.ZodNumber>;
21
+ }, z.core.$strip>;
22
+ export type TTSJobVoice = z.infer<typeof TTSJobVoiceSchema>;
10
23
  export declare const TTSJobSchema: z.ZodObject<{
11
24
  uuid: z.ZodString;
12
25
  status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
@@ -26,6 +39,18 @@ export declare const TTSJobSchema: z.ZodObject<{
26
39
  style: z.ZodOptional<z.ZodNumber>;
27
40
  }, z.core.$strip>;
28
41
  modelId: z.ZodString;
29
- voiceId: z.ZodString;
42
+ voiceId: z.ZodNullable<z.ZodString>;
43
+ isDialog: z.ZodBoolean;
44
+ speakers: z.ZodArray<z.ZodObject<{
45
+ speaker: z.ZodNumber;
46
+ voiceId: z.ZodString;
47
+ }, z.core.$strip>>;
48
+ voices: z.ZodArray<z.ZodObject<{
49
+ uuid: z.ZodString;
50
+ title: z.ZodString;
51
+ previewUrl: z.ZodString;
52
+ isDeleted: z.ZodBoolean;
53
+ speaker: z.ZodNullable<z.ZodNumber>;
54
+ }, z.core.$strip>>;
30
55
  }, z.core.$strip>;
31
56
  export type TTSJob = z.infer<typeof TTSJobSchema>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TTSJobSchema = exports.TTSJobParamsSchema = void 0;
3
+ exports.TTSJobSchema = exports.TTSJobVoiceSchema = exports.TTSJobSpeakerSchema = exports.TTSJobParamsSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const tool_job_schema_1 = require("../../tool-job.schema");
6
6
  const constants_1 = require("../../../constants");
@@ -10,6 +10,17 @@ exports.TTSJobParamsSchema = zod_1.z.object({
10
10
  stability: zod_1.z.number().optional(),
11
11
  style: zod_1.z.number().optional(),
12
12
  });
13
+ exports.TTSJobSpeakerSchema = zod_1.z.object({
14
+ speaker: zod_1.z.number(),
15
+ voiceId: zod_1.z.string(),
16
+ });
17
+ exports.TTSJobVoiceSchema = zod_1.z.object({
18
+ uuid: zod_1.z.string(),
19
+ title: zod_1.z.string(),
20
+ previewUrl: zod_1.z.string(),
21
+ isDeleted: zod_1.z.boolean(),
22
+ speaker: zod_1.z.number().nullable(),
23
+ });
13
24
  exports.TTSJobSchema = tool_job_schema_1.ToolJobSchema.extend({
14
25
  userInput: zod_1.z.string(),
15
26
  title: zod_1.z.string(),
@@ -18,5 +29,8 @@ exports.TTSJobSchema = tool_job_schema_1.ToolJobSchema.extend({
18
29
  duration: zod_1.z.string(),
19
30
  params: exports.TTSJobParamsSchema,
20
31
  modelId: zod_1.z.string(),
21
- voiceId: zod_1.z.string(),
32
+ voiceId: zod_1.z.string().nullable(),
33
+ isDialog: zod_1.z.boolean(),
34
+ speakers: zod_1.z.array(exports.TTSJobSpeakerSchema),
35
+ voices: zod_1.z.array(exports.TTSJobVoiceSchema),
22
36
  });
@@ -132,6 +132,7 @@ export declare const TTSModelSchema: z.ZodObject<{
132
132
  }, z.core.$strip>;
133
133
  }, z.core.$strip>;
134
134
  maxInputLength: z.ZodNumber;
135
+ maxSpeakers: z.ZodNumber;
135
136
  params: z.ZodObject<{
136
137
  speed: z.ZodOptional<z.ZodObject<{
137
138
  title: z.ZodString;
@@ -45,6 +45,7 @@ exports.TTSModelSchema = zod_1.z.object({
45
45
  order: zod_1.z.number(),
46
46
  icons: icon_variants_schema_1.IconVariantsSchema,
47
47
  maxInputLength: zod_1.z.number(),
48
+ maxSpeakers: zod_1.z.number(),
48
49
  params: exports.TTSModelParams,
49
50
  voices: zod_1.z.array(exports.TTSVoiceSchema),
50
51
  unlockedBy: unlocked_by_subscription_schema_1.UnlockedBySchema.nullable(),
@@ -0,0 +1,13 @@
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>;
@@ -0,0 +1,13 @@
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
+ });
@@ -0,0 +1,6 @@
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>;
@@ -0,0 +1,8 @@
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
+ });
@@ -0,0 +1,33 @@
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>;
@@ -0,0 +1,37 @@
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
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot",
3
- "version": "0.15.56",
3
+ "version": "0.15.57-stage2",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ApplyAvatarStudioVoiceSampleToAllScenesCommand = void 0;
4
- const zod_1 = require("zod");
5
- const models_1 = require("../../../models");
6
- const avatar_studio_common_schema_1 = require("../shared/avatar-studio-common.schema");
7
- var ApplyAvatarStudioVoiceSampleToAllScenesCommand;
8
- (function (ApplyAvatarStudioVoiceSampleToAllScenesCommand) {
9
- ApplyAvatarStudioVoiceSampleToAllScenesCommand.ParamsSchema = avatar_studio_common_schema_1.AvatarStudioClipIdParamsSchema.merge(avatar_studio_common_schema_1.AvatarStudioMediaIdParamsSchema);
10
- // Ответ — клип со сценами, а не список сцен: фронт перерисовывает клип целиком
11
- // и не ходит следом за GET /clips/:clipId.
12
- ApplyAvatarStudioVoiceSampleToAllScenesCommand.ResponseSchema = zod_1.z.object({
13
- data: models_1.AvatarStudioClipSchema,
14
- });
15
- })(ApplyAvatarStudioVoiceSampleToAllScenesCommand || (exports.ApplyAvatarStudioVoiceSampleToAllScenesCommand = ApplyAvatarStudioVoiceSampleToAllScenesCommand = {}));