@purpleschool/gptbot 0.15.69 → 0.15.71

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 (238) hide show
  1. package/build/api/controllers/http/avatar-studio.d.ts +5 -3
  2. package/build/api/controllers/http/avatar-studio.js +6 -5
  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 -5
  10. package/build/api/routes.js +50 -5
  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 +3 -2
  13. package/build/commands/avatar-studio/clip/find-avatar-studio-clips.query.d.ts +3 -2
  14. package/build/commands/avatar-studio/clip/get-avatar-studio-clip.query.d.ts +3 -2
  15. package/build/commands/avatar-studio/clip/update-avatar-studio-clip.command.d.ts +3 -2
  16. package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-video.command.d.ts +2 -1
  17. package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-voice.command.d.ts +4 -2
  18. package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-voice.command.js +4 -2
  19. package/build/commands/avatar-studio/generation-job/index.d.ts +0 -1
  20. package/build/commands/avatar-studio/generation-job/index.js +0 -1
  21. 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} +5 -4
  22. package/build/commands/avatar-studio/scene/apply-avatar-studio-voice-to-all-scenes.command.js +17 -0
  23. package/build/commands/avatar-studio/scene/create-avatar-studio-scene.command.d.ts +3 -2
  24. package/build/commands/avatar-studio/scene/index.d.ts +1 -1
  25. package/build/commands/avatar-studio/scene/index.js +1 -1
  26. package/build/commands/avatar-studio/scene/reorder-avatar-studio-scenes.command.d.ts +3 -2
  27. package/build/commands/avatar-studio/scene/set-avatar-studio-scene-slot.command.d.ts +3 -2
  28. package/build/commands/avatar-studio/scene/update-avatar-studio-scene.command.d.ts +6 -4
  29. package/build/commands/avatar-studio/scriptwriter/apply-avatar-studio-scriptwriter-message.command.d.ts +3 -2
  30. package/build/commands/avatar-studio/scriptwriter/create-avatar-studio-scriptwriter-message.command.d.ts +7 -4
  31. package/build/commands/avatar-studio/scriptwriter/create-avatar-studio-scriptwriter-message.command.js +4 -2
  32. package/build/commands/avatar-studio/shared/avatar-studio-common.schema.d.ts +8 -5
  33. package/build/commands/avatar-studio/shared/avatar-studio-common.schema.js +2 -1
  34. package/build/commands/avatar-studio/shared/get-avatar-studio-config.query.d.ts +68 -65
  35. package/build/commands/avatar-studio/shared/get-avatar-studio-config.query.js +58 -40
  36. package/build/commands/avatar-studio/voice/clone-avatar-studio-voice.command.d.ts +43 -0
  37. package/build/commands/avatar-studio/voice/clone-avatar-studio-voice.command.js +19 -0
  38. package/build/commands/avatar-studio/voice/delete-avatar-studio-voice.command.d.ts +11 -0
  39. package/build/commands/avatar-studio/voice/delete-avatar-studio-voice.command.js +13 -0
  40. package/build/commands/avatar-studio/voice/design-avatar-studio-voice.command.d.ts +26 -55
  41. package/build/commands/avatar-studio/voice/design-avatar-studio-voice.command.js +6 -7
  42. package/build/commands/avatar-studio/voice/find-avatar-studio-voices.query.d.ts +36 -0
  43. package/build/commands/avatar-studio/voice/find-avatar-studio-voices.query.js +11 -0
  44. package/build/commands/avatar-studio/voice/index.d.ts +3 -0
  45. package/build/commands/avatar-studio/voice/index.js +3 -0
  46. package/build/commands/tools/html-page-builder/execute-html-page-builder.command.d.ts +2 -0
  47. package/build/commands/tools/html-page-builder/find-html-page-builder-session-by-uuid.command.d.ts +2 -0
  48. package/build/commands/tools/html-page-builder/find-html-page-builder-sessions.command.d.ts +2 -0
  49. package/build/commands/tools/html-page-builder/update-html-page-builder-session-favorite.command.d.ts +2 -0
  50. package/build/commands/tools/html-page-builder/update-html-page-builder-session-title.command.d.ts +2 -0
  51. package/build/commands/tools/image-editor/find-image-editor-job-by-uuid.command.d.ts +2 -0
  52. package/build/commands/tools/image-editor/find-image-editor-jobs.command.d.ts +2 -0
  53. package/build/commands/tools/image-editor/retry-image-editor-job.command.d.ts +2 -0
  54. package/build/commands/tools/image-editor/set-reaction-to-image-editor-job.command.d.ts +2 -0
  55. package/build/commands/tools/image-editor/update-image-editor-job-favorite.command.d.ts +2 -0
  56. package/build/commands/tools/image-editor/update-image-editor-job-title.command.d.ts +2 -0
  57. package/build/commands/tools/image-recognition/find-image-recognition-job-by-uuid.command.d.ts +2 -0
  58. package/build/commands/tools/image-recognition/find-image-recognition-jobs.command.d.ts +2 -0
  59. package/build/commands/tools/image-recognition/image-recognition.command.d.ts +2 -0
  60. package/build/commands/tools/image-recognition/retry-image-recognition-job.command.d.ts +2 -0
  61. package/build/commands/tools/image-recognition/set-reaction-to-image-recognition-job.command.d.ts +2 -0
  62. package/build/commands/tools/image-recognition/update-image-recognition-job-favorite.command.d.ts +2 -0
  63. package/build/commands/tools/image-recognition/update-image-recognition-job-title.command.d.ts +2 -0
  64. package/build/commands/tools/index.d.ts +1 -0
  65. package/build/commands/tools/index.js +1 -0
  66. package/build/commands/tools/interior-design/find-interior-design-job-by-uuid.command.d.ts +2 -0
  67. package/build/commands/tools/interior-design/find-interior-design-jobs.command.d.ts +2 -0
  68. package/build/commands/tools/interior-design/retry-interior-design-job.command.d.ts +2 -0
  69. package/build/commands/tools/interior-design/set-reaction-to-interior-design-job.command.d.ts +2 -0
  70. package/build/commands/tools/interior-design/update-interior-design-job-favorite.command.d.ts +2 -0
  71. package/build/commands/tools/interior-design/update-interior-design-job-title.command.d.ts +2 -0
  72. package/build/commands/tools/photo-session/admin/create-photo-session-style.command.d.ts +39 -0
  73. package/build/commands/tools/photo-session/admin/create-photo-session-style.command.js +22 -0
  74. package/build/commands/tools/photo-session/admin/delete-photo-session-style.command.d.ts +9 -0
  75. package/build/commands/tools/photo-session/admin/delete-photo-session-style.command.js +11 -0
  76. package/build/commands/tools/photo-session/admin/index.d.ts +4 -0
  77. package/build/commands/tools/photo-session/admin/index.js +20 -0
  78. package/build/commands/tools/photo-session/admin/list-photo-session-styles.command.d.ts +8 -0
  79. package/build/commands/tools/photo-session/admin/list-photo-session-styles.command.js +11 -0
  80. package/build/commands/tools/photo-session/admin/update-photo-session-style.command.d.ts +38 -0
  81. package/build/commands/tools/photo-session/admin/update-photo-session-style.command.js +21 -0
  82. package/build/commands/tools/photo-session/delete-all-photo-session-jobs.command.d.ts +5 -0
  83. package/build/commands/tools/photo-session/delete-all-photo-session-jobs.command.js +8 -0
  84. package/build/commands/tools/photo-session/delete-photo-session-job-by-uuid.command.d.ts +9 -0
  85. package/build/commands/tools/photo-session/delete-photo-session-job-by-uuid.command.js +11 -0
  86. package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.d.ts +119 -0
  87. package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.js +14 -0
  88. package/build/commands/tools/photo-session/find-photo-session-jobs.command.d.ts +128 -0
  89. package/build/commands/tools/photo-session/find-photo-session-jobs.command.js +24 -0
  90. package/build/commands/tools/photo-session/get-photo-session-config.command.d.ts +75 -0
  91. package/build/commands/tools/photo-session/get-photo-session-config.command.js +11 -0
  92. package/build/commands/tools/photo-session/get-photo-session-styles.command.d.ts +23 -0
  93. package/build/commands/tools/photo-session/get-photo-session-styles.command.js +11 -0
  94. package/build/commands/tools/photo-session/index.d.ts +13 -0
  95. package/build/commands/tools/photo-session/index.js +29 -0
  96. package/build/commands/tools/photo-session/photo-session.command.d.ts +138 -0
  97. package/build/commands/tools/photo-session/photo-session.command.js +25 -0
  98. package/build/commands/tools/photo-session/retry-photo-session-job.command.d.ts +100 -0
  99. package/build/commands/tools/photo-session/retry-photo-session-job.command.js +14 -0
  100. package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.d.ts +106 -0
  101. package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.js +28 -0
  102. package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.d.ts +104 -0
  103. package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.js +17 -0
  104. package/build/commands/tools/photo-session/update-photo-session-job-title.command.d.ts +123 -0
  105. package/build/commands/tools/photo-session/update-photo-session-job-title.command.js +17 -0
  106. package/build/commands/tools/photo-session/update-published-status-photo-session-job.command.d.ts +105 -0
  107. package/build/commands/tools/photo-session/update-published-status-photo-session-job.command.js +23 -0
  108. package/build/commands/tools/solving-edu-task/find-solving-edu-task-job-by-uuid.command.d.ts +2 -0
  109. package/build/commands/tools/solving-edu-task/find-solving-edu-task-jobs.command.d.ts +2 -0
  110. package/build/commands/tools/solving-edu-task/retry-solving-edu-task-job.command.d.ts +2 -0
  111. package/build/commands/tools/solving-edu-task/set-reaction-to-solving-edu-task-job.command.d.ts +2 -0
  112. package/build/commands/tools/solving-edu-task/solving-edu-task.command.d.ts +2 -0
  113. package/build/commands/tools/solving-edu-task/update-solving-edu-task-job-favorite.command.d.ts +2 -0
  114. package/build/commands/tools/solving-edu-task/update-solving-edu-task-job-title.command.d.ts +2 -0
  115. package/build/commands/tools/tts/create-voice-clone.command.d.ts +44 -0
  116. package/build/commands/tools/tts/create-voice-clone.command.js +18 -0
  117. package/build/commands/tools/tts/create-voice-design.command.d.ts +24 -0
  118. package/build/commands/tools/tts/create-voice-design.command.js +18 -0
  119. package/build/commands/tools/tts/delete-voice.command.d.ts +9 -0
  120. package/build/commands/tools/tts/delete-voice.command.js +11 -0
  121. package/build/commands/tools/tts/download-tts-job.command.d.ts +18 -0
  122. package/build/commands/tools/tts/download-tts-job.command.js +17 -0
  123. package/build/commands/tools/tts/find-tts-job-by-uuid.command.d.ts +13 -1
  124. package/build/commands/tools/tts/find-tts-jobs.command.d.ts +13 -1
  125. package/build/commands/tools/tts/find-voice-by-uuid.query.d.ts +40 -0
  126. package/build/commands/tools/tts/find-voice-by-uuid.query.js +14 -0
  127. package/build/commands/tools/tts/find-voices.query.d.ts +48 -0
  128. package/build/commands/tools/tts/find-voices.query.js +18 -0
  129. package/build/commands/tools/tts/get-tts-tool-config.command.d.ts +11 -0
  130. package/build/commands/tools/tts/improve-tts-text.command.d.ts +13 -0
  131. package/build/commands/tools/tts/improve-tts-text.command.js +13 -0
  132. package/build/commands/tools/tts/index.d.ts +9 -0
  133. package/build/commands/tools/tts/index.js +9 -0
  134. package/build/commands/tools/tts/retry-tts-job.command.d.ts +13 -1
  135. package/build/commands/tools/tts/select-voice-design.command.d.ts +44 -0
  136. package/build/commands/tools/tts/select-voice-design.command.js +17 -0
  137. package/build/commands/tools/tts/set-reaction-to-tts-job.command.d.ts +13 -1
  138. package/build/commands/tools/tts/tts.command.d.ts +6 -1
  139. package/build/commands/tools/tts/tts.command.js +7 -1
  140. package/build/commands/tools/tts/update-tts-job-favorite.command.d.ts +13 -1
  141. package/build/commands/tools/tts/update-tts-job-title.command.d.ts +13 -1
  142. package/build/commands/tools/tts/update-voice.command.d.ts +45 -0
  143. package/build/commands/tools/tts/update-voice.command.js +18 -0
  144. package/build/constants/avatar-studio/enums/avatar-studio-job-type.enum.d.ts +1 -0
  145. package/build/constants/avatar-studio/enums/avatar-studio-job-type.enum.js +1 -0
  146. package/build/constants/avatar-studio/enums/avatar-studio-media-kind.enum.d.ts +1 -2
  147. package/build/constants/avatar-studio/enums/avatar-studio-media-kind.enum.js +0 -1
  148. package/build/constants/avatar-studio/enums/avatar-studio-model-purpose.enum.d.ts +6 -0
  149. package/build/constants/avatar-studio/enums/avatar-studio-model-purpose.enum.js +10 -0
  150. package/build/constants/avatar-studio/enums/avatar-studio-slot.enum.d.ts +1 -1
  151. package/build/constants/avatar-studio/enums/avatar-studio-slot.enum.js +1 -1
  152. package/build/constants/avatar-studio/enums/index.d.ts +1 -1
  153. package/build/constants/avatar-studio/enums/index.js +1 -1
  154. package/build/constants/index.d.ts +2 -0
  155. package/build/constants/index.js +2 -0
  156. package/build/constants/tool/enums/index.d.ts +1 -0
  157. package/build/constants/tool/enums/index.js +1 -0
  158. package/build/constants/tool/enums/job-scope.enum.d.ts +5 -0
  159. package/build/constants/tool/enums/job-scope.enum.js +9 -0
  160. package/build/constants/tool-photo-session/enums/index.d.ts +3 -0
  161. package/build/constants/tool-photo-session/enums/index.js +19 -0
  162. package/build/constants/tool-photo-session/enums/photo-session-group-status.enum.d.ts +6 -0
  163. package/build/constants/tool-photo-session/enums/photo-session-group-status.enum.js +10 -0
  164. package/build/constants/tool-photo-session/enums/photo-session-look-type.enum.d.ts +5 -0
  165. package/build/constants/tool-photo-session/enums/photo-session-look-type.enum.js +9 -0
  166. package/build/constants/tool-photo-session/enums/photo-session-model-type.enum.d.ts +3 -0
  167. package/build/constants/tool-photo-session/enums/photo-session-model-type.enum.js +7 -0
  168. package/build/constants/tool-photo-session/index.d.ts +1 -0
  169. package/build/constants/tool-photo-session/index.js +17 -0
  170. package/build/constants/tool-tts/enums/index.d.ts +7 -0
  171. package/build/constants/tool-tts/enums/index.js +23 -0
  172. package/build/constants/tool-tts/enums/tts-download-format.enum.d.ts +5 -0
  173. package/build/constants/tool-tts/enums/tts-download-format.enum.js +9 -0
  174. package/build/constants/tool-tts/enums/voice-category.enum.d.ts +19 -0
  175. package/build/constants/tool-tts/enums/voice-category.enum.js +23 -0
  176. package/build/constants/tool-tts/enums/voice-gender.enum.d.ts +4 -0
  177. package/build/constants/tool-tts/enums/voice-gender.enum.js +8 -0
  178. package/build/constants/tool-tts/enums/voice-source.enum.d.ts +5 -0
  179. package/build/constants/tool-tts/enums/voice-source.enum.js +9 -0
  180. package/build/constants/tool-tts/enums/voice-status.enum.d.ts +5 -0
  181. package/build/constants/tool-tts/enums/voice-status.enum.js +9 -0
  182. package/build/constants/tool-tts/enums/voice-tag-group.enum.d.ts +5 -0
  183. package/build/constants/tool-tts/enums/voice-tag-group.enum.js +9 -0
  184. package/build/constants/tool-tts/enums/voice-tag.enum.d.ts +20 -0
  185. package/build/constants/tool-tts/enums/voice-tag.enum.js +24 -0
  186. package/build/constants/tool-tts/index.d.ts +1 -0
  187. package/build/constants/tool-tts/index.js +17 -0
  188. package/build/helpers/index.d.ts +1 -0
  189. package/build/helpers/index.js +1 -0
  190. package/build/helpers/photo-session/calculate-photo-session-price.helper.d.ts +6 -0
  191. package/build/helpers/photo-session/calculate-photo-session-price.helper.js +13 -0
  192. package/build/helpers/photo-session/index.d.ts +1 -0
  193. package/build/helpers/photo-session/index.js +17 -0
  194. package/build/models/avatar-studio/avatar-studio.schema.d.ts +15 -11
  195. package/build/models/avatar-studio/avatar-studio.schema.js +8 -4
  196. package/build/models/canvas-node-definition.schema.d.ts +33 -0
  197. package/build/models/tools/common/attached-tool-file.schema.d.ts +2 -0
  198. package/build/models/tools/common/attached-tool-file.schema.js +2 -0
  199. package/build/models/tools/html-page-builder/html-page-builder-job.schema.d.ts +4 -0
  200. package/build/models/tools/html-page-builder/html-page-builder-session.schema.d.ts +2 -0
  201. package/build/models/tools/image-editor/image-editor-job.schema.d.ts +4 -0
  202. package/build/models/tools/image-recognition/image-recognition-job.schema.d.ts +4 -0
  203. package/build/models/tools/index.d.ts +1 -0
  204. package/build/models/tools/index.js +1 -0
  205. package/build/models/tools/interior-design/interior-design-job.schema.d.ts +4 -0
  206. package/build/models/tools/photo-session/index.d.ts +5 -0
  207. package/build/models/tools/photo-session/index.js +21 -0
  208. package/build/models/tools/photo-session/photo-session-config.schema.d.ts +141 -0
  209. package/build/models/tools/photo-session/photo-session-config.schema.js +21 -0
  210. package/build/models/tools/photo-session/photo-session-group.schema.d.ts +112 -0
  211. package/build/models/tools/photo-session/photo-session-group.schema.js +26 -0
  212. package/build/models/tools/photo-session/photo-session-job.schema.d.ts +158 -0
  213. package/build/models/tools/photo-session/photo-session-job.schema.js +55 -0
  214. package/build/models/tools/photo-session/photo-session-model.schema.d.ts +114 -0
  215. package/build/models/tools/photo-session/photo-session-model.schema.js +46 -0
  216. package/build/models/tools/photo-session/photo-session-style.schema.d.ts +29 -0
  217. package/build/models/tools/photo-session/photo-session-style.schema.js +22 -0
  218. package/build/models/tools/solving-edu-task/solving-edu-task-job.schema.d.ts +4 -0
  219. package/build/models/tools/tts/index.d.ts +3 -0
  220. package/build/models/tools/tts/index.js +3 -0
  221. package/build/models/tools/tts/tts-config.schema.d.ts +23 -0
  222. package/build/models/tools/tts/tts-config.schema.js +14 -1
  223. package/build/models/tools/tts/tts-job.schema.d.ts +26 -1
  224. package/build/models/tools/tts/tts-job.schema.js +16 -2
  225. package/build/models/tools/tts/tts-model.schema.d.ts +1 -0
  226. package/build/models/tools/tts/tts-model.schema.js +1 -0
  227. package/build/models/tools/tts/voice-design-draft.schema.d.ts +13 -0
  228. package/build/models/tools/tts/voice-design-draft.schema.js +13 -0
  229. package/build/models/tools/tts/voice-design-sample.schema.d.ts +6 -0
  230. package/build/models/tools/tts/voice-design-sample.schema.js +8 -0
  231. package/build/models/tools/tts/voice.schema.d.ts +33 -0
  232. package/build/models/tools/tts/voice.schema.js +37 -0
  233. package/package.json +1 -1
  234. package/build/commands/avatar-studio/generation-job/generate-avatar-studio-talking-avatar.command.d.ts +0 -77
  235. package/build/commands/avatar-studio/generation-job/generate-avatar-studio-talking-avatar.command.js +0 -14
  236. package/build/commands/avatar-studio/scene/apply-avatar-studio-voice-sample-to-all-scenes.command.js +0 -15
  237. package/build/constants/avatar-studio/enums/avatar-studio-video-quality.enum.d.ts +0 -4
  238. package/build/constants/avatar-studio/enums/avatar-studio-video-quality.enum.js +0 -8
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CloneAvatarStudioVoiceCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const constants_1 = require("../../../constants");
6
+ const models_1 = require("../../../models");
7
+ var CloneAvatarStudioVoiceCommand;
8
+ (function (CloneAvatarStudioVoiceCommand) {
9
+ CloneAvatarStudioVoiceCommand.RequestSchema = zod_1.z
10
+ .object({
11
+ fileId: zod_1.z.string().uuid(),
12
+ title: zod_1.z.string().trim().min(1).max(255),
13
+ gender: zod_1.z.nativeEnum(constants_1.VOICE_GENDER).optional(),
14
+ })
15
+ .strict();
16
+ CloneAvatarStudioVoiceCommand.ResponseSchema = zod_1.z.object({
17
+ data: models_1.VoiceSchema,
18
+ });
19
+ })(CloneAvatarStudioVoiceCommand || (exports.CloneAvatarStudioVoiceCommand = CloneAvatarStudioVoiceCommand = {}));
@@ -0,0 +1,11 @@
1
+ import { z } from 'zod';
2
+ export declare namespace DeleteAvatarStudioVoiceCommand {
3
+ const ParamsSchema: z.ZodObject<{
4
+ voiceId: z.ZodString;
5
+ }, z.core.$strip>;
6
+ type Params = z.infer<typeof ParamsSchema>;
7
+ const ResponseSchema: z.ZodObject<{
8
+ data: z.ZodBoolean;
9
+ }, z.core.$strip>;
10
+ type Response = z.infer<typeof ResponseSchema>;
11
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteAvatarStudioVoiceCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ var DeleteAvatarStudioVoiceCommand;
6
+ (function (DeleteAvatarStudioVoiceCommand) {
7
+ DeleteAvatarStudioVoiceCommand.ParamsSchema = zod_1.z.object({
8
+ voiceId: zod_1.z.string().uuid(),
9
+ });
10
+ DeleteAvatarStudioVoiceCommand.ResponseSchema = zod_1.z.object({
11
+ data: zod_1.z.boolean(),
12
+ });
13
+ })(DeleteAvatarStudioVoiceCommand || (exports.DeleteAvatarStudioVoiceCommand = DeleteAvatarStudioVoiceCommand = {}));
@@ -1,69 +1,40 @@
1
1
  import { z } from 'zod';
2
+ import { VOICE_GENDER } from '../../../constants';
2
3
  export declare namespace DesignAvatarStudioVoiceCommand {
3
4
  const RequestSchema: z.ZodObject<{
4
- title: z.ZodOptional<z.ZodString>;
5
+ title: z.ZodString;
6
+ gender: z.ZodEnum<typeof VOICE_GENDER>;
5
7
  instruction: z.ZodString;
6
- language: z.ZodOptional<z.ZodString>;
7
8
  }, z.core.$strict>;
8
9
  type Request = z.infer<typeof RequestSchema>;
9
- /**
10
- * Отдаём job, как и все остальные генерации: созданный голос лежит в job.resultMedia.
11
- * Отдельного поля media нет — форма ответа одинакова у всех роутов генерации.
12
- */
13
10
  const ResponseSchema: z.ZodObject<{
14
11
  data: z.ZodObject<{
15
12
  uuid: z.ZodString;
13
+ scope: z.ZodEnum<typeof import("../../..").JOB_SCOPE>;
14
+ source: z.ZodObject<{
15
+ id: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
16
+ label: z.ZodString;
17
+ }, z.core.$strip>;
18
+ title: z.ZodString;
19
+ description: z.ZodString;
20
+ gender: z.ZodNullable<z.ZodObject<{
21
+ id: z.ZodEnum<typeof VOICE_GENDER>;
22
+ label: z.ZodString;
23
+ }, z.core.$strip>>;
24
+ trait: z.ZodNullable<z.ZodString>;
25
+ ageRange: z.ZodNullable<z.ZodString>;
26
+ categories: z.ZodArray<z.ZodObject<{
27
+ id: z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>;
28
+ label: z.ZodString;
29
+ }, z.core.$strip>>;
30
+ previewUrl: z.ZodString;
31
+ imageUrl: z.ZodNullable<z.ZodString>;
32
+ status: z.ZodEnum<typeof import("../../..").VOICE_STATUS>;
33
+ error: z.ZodNullable<z.ZodString>;
34
+ order: z.ZodNumber;
35
+ isDeleted: z.ZodBoolean;
16
36
  userId: z.ZodNullable<z.ZodString>;
17
37
  unregisteredUserId: z.ZodNullable<z.ZodString>;
18
- clipId: z.ZodNullable<z.ZodString>;
19
- sceneId: z.ZodNullable<z.ZodString>;
20
- toolJobId: z.ZodNullable<z.ZodString>;
21
- type: z.ZodEnum<typeof import("../../..").AVATAR_STUDIO_JOB_TYPE>;
22
- targetSlot: z.ZodNullable<z.ZodEnum<typeof import("../../..").AVATAR_STUDIO_SLOT>>;
23
- status: z.ZodEnum<typeof import("../../..").AVATAR_STUDIO_JOB_STATUS>;
24
- request: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodType<import("../../..").JsonValue, unknown, z.core.$ZodTypeInternals<import("../../..").JsonValue, unknown>>>>;
25
- resultMediaId: z.ZodNullable<z.ZodString>;
26
- error: z.ZodNullable<z.ZodString>;
27
- resultMedia: z.ZodOptional<z.ZodNullable<z.ZodObject<{
28
- uuid: z.ZodString;
29
- userId: z.ZodNullable<z.ZodString>;
30
- unregisteredUserId: z.ZodNullable<z.ZodString>;
31
- fileId: z.ZodString;
32
- kind: z.ZodEnum<typeof import("../../..").AVATAR_STUDIO_MEDIA_KIND>;
33
- title: z.ZodNullable<z.ZodString>;
34
- toolJobId: z.ZodNullable<z.ZodString>;
35
- durationSeconds: z.ZodNullable<z.ZodNumber>;
36
- transcript: z.ZodNullable<z.ZodString>;
37
- wordTimings: z.ZodNullable<z.ZodArray<z.ZodObject<{
38
- word: z.ZodString;
39
- start: z.ZodNumber;
40
- end: z.ZodNumber;
41
- }, z.core.$strip>>>;
42
- subtitles: z.ZodNullable<z.ZodType<import("../../..").JsonValue, unknown, z.core.$ZodTypeInternals<import("../../..").JsonValue, unknown>>>;
43
- deletedAt: z.ZodNullable<z.ZodDate>;
44
- file: z.ZodOptional<z.ZodObject<{
45
- uuid: z.ZodString;
46
- name: z.ZodString;
47
- size: z.ZodNumber;
48
- originalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
- resolution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
50
- width: z.ZodNumber;
51
- height: z.ZodNumber;
52
- }, z.core.$strip>>>;
53
- mimeType: z.ZodString;
54
- url: z.ZodString;
55
- key: z.ZodString;
56
- type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
57
- duration: z.ZodNullable<z.ZodNumber>;
58
- contentLength: z.ZodNullable<z.ZodNumber>;
59
- createdAt: z.ZodDate;
60
- updatedAt: z.ZodDate;
61
- }, z.core.$strip>>;
62
- createdAt: z.ZodDate;
63
- updatedAt: z.ZodDate;
64
- }, z.core.$strip>>>;
65
- startedAt: z.ZodNullable<z.ZodDate>;
66
- completedAt: z.ZodNullable<z.ZodDate>;
67
38
  createdAt: z.ZodDate;
68
39
  updatedAt: z.ZodDate;
69
40
  }, z.core.$strip>;
@@ -2,21 +2,20 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DesignAvatarStudioVoiceCommand = void 0;
4
4
  const zod_1 = require("zod");
5
+ const constants_1 = require("../../../constants");
5
6
  const models_1 = require("../../../models");
6
7
  var DesignAvatarStudioVoiceCommand;
7
8
  (function (DesignAvatarStudioVoiceCommand) {
8
9
  DesignAvatarStudioVoiceCommand.RequestSchema = zod_1.z
9
10
  .object({
10
- title: zod_1.z.string().trim().min(1).optional(),
11
+ title: zod_1.z.string().trim().min(1).max(255),
12
+ gender: zod_1.z.nativeEnum(constants_1.VOICE_GENDER),
11
13
  instruction: zod_1.z.string().trim().min(1),
12
- language: zod_1.z.string().trim().min(2).optional(),
13
14
  })
14
15
  .strict();
15
- /**
16
- * Отдаём job, как и все остальные генерации: созданный голос лежит в job.resultMedia.
17
- * Отдельного поля media нет — форма ответа одинакова у всех роутов генерации.
18
- */
16
+ // Дизайн — синхронная операция инструмента: кандидата выбирает сервер, поэтому
17
+ // ответ сразу готовый голос, а не job на отслеживание.
19
18
  DesignAvatarStudioVoiceCommand.ResponseSchema = zod_1.z.object({
20
- data: models_1.AvatarStudioGenerationJobSchema,
19
+ data: models_1.VoiceSchema,
21
20
  });
22
21
  })(DesignAvatarStudioVoiceCommand || (exports.DesignAvatarStudioVoiceCommand = DesignAvatarStudioVoiceCommand = {}));
@@ -0,0 +1,36 @@
1
+ import { z } from 'zod';
2
+ export declare namespace FindAvatarStudioVoicesQuery {
3
+ const ResponseSchema: z.ZodObject<{
4
+ data: z.ZodArray<z.ZodObject<{
5
+ uuid: z.ZodString;
6
+ scope: z.ZodEnum<typeof import("../../..").JOB_SCOPE>;
7
+ source: z.ZodObject<{
8
+ id: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
9
+ label: z.ZodString;
10
+ }, z.core.$strip>;
11
+ title: z.ZodString;
12
+ description: z.ZodString;
13
+ gender: z.ZodNullable<z.ZodObject<{
14
+ id: z.ZodEnum<typeof import("../../..").VOICE_GENDER>;
15
+ label: z.ZodString;
16
+ }, z.core.$strip>>;
17
+ trait: z.ZodNullable<z.ZodString>;
18
+ ageRange: z.ZodNullable<z.ZodString>;
19
+ categories: z.ZodArray<z.ZodObject<{
20
+ id: z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>;
21
+ label: z.ZodString;
22
+ }, z.core.$strip>>;
23
+ previewUrl: z.ZodString;
24
+ imageUrl: z.ZodNullable<z.ZodString>;
25
+ status: z.ZodEnum<typeof import("../../..").VOICE_STATUS>;
26
+ error: z.ZodNullable<z.ZodString>;
27
+ order: z.ZodNumber;
28
+ isDeleted: z.ZodBoolean;
29
+ userId: z.ZodNullable<z.ZodString>;
30
+ unregisteredUserId: z.ZodNullable<z.ZodString>;
31
+ createdAt: z.ZodDate;
32
+ updatedAt: z.ZodDate;
33
+ }, z.core.$strip>>;
34
+ }, z.core.$strip>;
35
+ type Response = z.infer<typeof ResponseSchema>;
36
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FindAvatarStudioVoicesQuery = void 0;
4
+ const zod_1 = require("zod");
5
+ const models_1 = require("../../../models");
6
+ var FindAvatarStudioVoicesQuery;
7
+ (function (FindAvatarStudioVoicesQuery) {
8
+ FindAvatarStudioVoicesQuery.ResponseSchema = zod_1.z.object({
9
+ data: zod_1.z.array(models_1.VoiceSchema),
10
+ });
11
+ })(FindAvatarStudioVoicesQuery || (exports.FindAvatarStudioVoicesQuery = FindAvatarStudioVoicesQuery = {}));
@@ -1 +1,4 @@
1
1
  export * from './design-avatar-studio-voice.command';
2
+ export * from './find-avatar-studio-voices.query';
3
+ export * from './clone-avatar-studio-voice.command';
4
+ export * from './delete-avatar-studio-voice.command';
@@ -15,3 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./design-avatar-studio-voice.command"), exports);
18
+ __exportStar(require("./find-avatar-studio-voices.query"), exports);
19
+ __exportStar(require("./clone-avatar-studio-voice.command"), exports);
20
+ __exportStar(require("./delete-avatar-studio-voice.command"), exports);
@@ -39,6 +39,8 @@ export declare namespace ExecuteHtmlPageBuilderCommand {
39
39
  type: z.ZodString;
40
40
  size: z.ZodNumber;
41
41
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
42
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
43
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
42
44
  }, z.core.$strip>>;
43
45
  }, z.core.$strip>;
44
46
  isDeleted: z.ZodBoolean;
@@ -34,6 +34,8 @@ export declare namespace FindHtmlPageBuilderSessionByUUIDCommand {
34
34
  type: z.ZodString;
35
35
  size: z.ZodNumber;
36
36
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
37
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
38
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
37
39
  }, z.core.$strip>>;
38
40
  }, z.core.$strip>;
39
41
  isDeleted: z.ZodBoolean;
@@ -40,6 +40,8 @@ export declare namespace FindHtmlPageBuilderSessionsCommand {
40
40
  type: z.ZodString;
41
41
  size: z.ZodNumber;
42
42
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
43
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
44
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
43
45
  }, z.core.$strip>>;
44
46
  }, z.core.$strip>;
45
47
  isDeleted: z.ZodBoolean;
@@ -38,6 +38,8 @@ export declare namespace UpdateHtmlPageBuilderSessionFavoriteCommand {
38
38
  type: z.ZodString;
39
39
  size: z.ZodNumber;
40
40
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
41
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
42
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
41
43
  }, z.core.$strip>>;
42
44
  }, z.core.$strip>;
43
45
  isDeleted: z.ZodBoolean;
@@ -38,6 +38,8 @@ export declare namespace UpdateHtmlPageBuilderSessionTitleCommand {
38
38
  type: z.ZodString;
39
39
  size: z.ZodNumber;
40
40
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
41
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
42
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
41
43
  }, z.core.$strip>>;
42
44
  }, z.core.$strip>;
43
45
  isDeleted: z.ZodBoolean;
@@ -29,6 +29,8 @@ export declare namespace FindImageEditorJobByUUIDCommand {
29
29
  type: z.ZodString;
30
30
  size: z.ZodNumber;
31
31
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
32
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
33
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
32
34
  }, z.core.$strip>>;
33
35
  systemPromptId: z.ZodOptional<z.ZodString>;
34
36
  imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -35,6 +35,8 @@ export declare namespace FindImageEditorJobsCommand {
35
35
  type: z.ZodString;
36
36
  size: z.ZodNumber;
37
37
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
38
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
39
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
38
40
  }, z.core.$strip>>;
39
41
  systemPromptId: z.ZodOptional<z.ZodString>;
40
42
  imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -40,6 +40,8 @@ export declare namespace RetryImageEditorJobCommand {
40
40
  type: z.ZodString;
41
41
  size: z.ZodNumber;
42
42
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
43
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
44
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
43
45
  }, z.core.$strip>>;
44
46
  systemPromptId: z.ZodOptional<z.ZodString>;
45
47
  imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -35,6 +35,8 @@ export declare namespace SetReactionToImageEditorJobCommand {
35
35
  type: z.ZodString;
36
36
  size: z.ZodNumber;
37
37
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
38
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
39
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
38
40
  }, z.core.$strip>>;
39
41
  systemPromptId: z.ZodOptional<z.ZodString>;
40
42
  imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -33,6 +33,8 @@ export declare namespace UpdateImageEditorJobFavoriteCommand {
33
33
  type: z.ZodString;
34
34
  size: z.ZodNumber;
35
35
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
36
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
37
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
36
38
  }, z.core.$strip>>;
37
39
  systemPromptId: z.ZodOptional<z.ZodString>;
38
40
  imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -33,6 +33,8 @@ export declare namespace UpdateImageEditorJobTitleCommand {
33
33
  type: z.ZodString;
34
34
  size: z.ZodNumber;
35
35
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
36
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
37
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
36
38
  }, z.core.$strip>>;
37
39
  systemPromptId: z.ZodOptional<z.ZodString>;
38
40
  imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -29,6 +29,8 @@ export declare namespace FindImageRecognitionJobByUUIDCommand {
29
29
  type: z.ZodString;
30
30
  size: z.ZodNumber;
31
31
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
32
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
33
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
32
34
  }, z.core.$strip>>;
33
35
  }, z.core.$strip>;
34
36
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -35,6 +35,8 @@ export declare namespace FindImageRecognitionJobsCommand {
35
35
  type: z.ZodString;
36
36
  size: z.ZodNumber;
37
37
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
38
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
39
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
38
40
  }, z.core.$strip>>;
39
41
  }, z.core.$strip>;
40
42
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -34,6 +34,8 @@ export declare namespace ImageRecognitionCommand {
34
34
  type: z.ZodString;
35
35
  size: z.ZodNumber;
36
36
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
37
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
38
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
37
39
  }, z.core.$strip>>;
38
40
  }, z.core.$strip>;
39
41
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -38,6 +38,8 @@ export declare namespace RetryImageRecognitionJobCommand {
38
38
  type: z.ZodString;
39
39
  size: z.ZodNumber;
40
40
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
41
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
42
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
41
43
  }, z.core.$strip>>;
42
44
  }, z.core.$strip>;
43
45
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -35,6 +35,8 @@ export declare namespace SetReactionToImageRecognitionJobCommand {
35
35
  type: z.ZodString;
36
36
  size: z.ZodNumber;
37
37
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
38
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
39
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
38
40
  }, z.core.$strip>>;
39
41
  }, z.core.$strip>;
40
42
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -33,6 +33,8 @@ export declare namespace UpdateImageRecognitionJobFavoriteCommand {
33
33
  type: z.ZodString;
34
34
  size: z.ZodNumber;
35
35
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
36
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
37
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
36
38
  }, z.core.$strip>>;
37
39
  }, z.core.$strip>;
38
40
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -33,6 +33,8 @@ export declare namespace UpdateImageRecognitionJobTitleCommand {
33
33
  type: z.ZodString;
34
34
  size: z.ZodNumber;
35
35
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
36
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
37
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
36
38
  }, z.core.$strip>>;
37
39
  }, z.core.$strip>;
38
40
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -16,5 +16,6 @@ export * from './solving-edu-task';
16
16
  export * from './spell-corrector';
17
17
  export * from './html-page-builder';
18
18
  export * from './tool-workspace';
19
+ export * from './photo-session';
19
20
  export * from './diagrams';
20
21
  export * from './sound-generation';
@@ -32,5 +32,6 @@ __exportStar(require("./solving-edu-task"), exports);
32
32
  __exportStar(require("./spell-corrector"), exports);
33
33
  __exportStar(require("./html-page-builder"), exports);
34
34
  __exportStar(require("./tool-workspace"), exports);
35
+ __exportStar(require("./photo-session"), exports);
35
36
  __exportStar(require("./diagrams"), exports);
36
37
  __exportStar(require("./sound-generation"), exports);
@@ -30,6 +30,8 @@ export declare namespace FindInteriorDesignJobByUUIDCommand {
30
30
  type: z.ZodString;
31
31
  size: z.ZodNumber;
32
32
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
33
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
34
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
33
35
  }, z.core.$strip>>;
34
36
  styleId: z.ZodOptional<z.ZodString>;
35
37
  roomTypeId: z.ZodOptional<z.ZodString>;
@@ -36,6 +36,8 @@ export declare namespace FindInteriorDesignJobsCommand {
36
36
  type: z.ZodString;
37
37
  size: z.ZodNumber;
38
38
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
39
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
40
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
39
41
  }, z.core.$strip>>;
40
42
  styleId: z.ZodOptional<z.ZodString>;
41
43
  roomTypeId: z.ZodOptional<z.ZodString>;
@@ -40,6 +40,8 @@ export declare namespace RetryInteriorDesignJobCommand {
40
40
  type: z.ZodString;
41
41
  size: z.ZodNumber;
42
42
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
43
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
44
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
43
45
  }, z.core.$strip>>;
44
46
  styleId: z.ZodOptional<z.ZodString>;
45
47
  roomTypeId: z.ZodOptional<z.ZodString>;
@@ -36,6 +36,8 @@ export declare namespace SetReactionToInteriorDesignJobCommand {
36
36
  type: z.ZodString;
37
37
  size: z.ZodNumber;
38
38
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
39
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
40
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
39
41
  }, z.core.$strip>>;
40
42
  styleId: z.ZodOptional<z.ZodString>;
41
43
  roomTypeId: z.ZodOptional<z.ZodString>;
@@ -34,6 +34,8 @@ export declare namespace UpdateInteriorDesignJobFavoriteCommand {
34
34
  type: z.ZodString;
35
35
  size: z.ZodNumber;
36
36
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
37
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
38
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
37
39
  }, z.core.$strip>>;
38
40
  styleId: z.ZodOptional<z.ZodString>;
39
41
  roomTypeId: z.ZodOptional<z.ZodString>;
@@ -34,6 +34,8 @@ export declare namespace UpdateInteriorDesignJobTitleCommand {
34
34
  type: z.ZodString;
35
35
  size: z.ZodNumber;
36
36
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
37
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
38
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
37
39
  }, z.core.$strip>>;
38
40
  styleId: z.ZodOptional<z.ZodString>;
39
41
  roomTypeId: z.ZodOptional<z.ZodString>;
@@ -0,0 +1,39 @@
1
+ import { z } from 'zod';
2
+ export declare const CreatePhotoSessionStyleReferenceSchema: z.ZodObject<{
3
+ photoUrl: z.ZodString;
4
+ description: z.ZodOptional<z.ZodString>;
5
+ order: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ export declare namespace CreatePhotoSessionStyleCommand {
8
+ const RequestSchema: z.ZodObject<{
9
+ code: z.ZodString;
10
+ title: z.ZodString;
11
+ description: z.ZodOptional<z.ZodString>;
12
+ references: z.ZodArray<z.ZodObject<{
13
+ photoUrl: z.ZodString;
14
+ description: z.ZodOptional<z.ZodString>;
15
+ order: z.ZodNumber;
16
+ }, z.core.$strip>>;
17
+ }, z.core.$strip>;
18
+ type Request = z.infer<typeof RequestSchema>;
19
+ const ResponseSchema: z.ZodObject<{
20
+ data: z.ZodObject<{
21
+ uuid: z.ZodString;
22
+ code: z.ZodString;
23
+ title: z.ZodString;
24
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ references: z.ZodArray<z.ZodObject<{
26
+ uuid: z.ZodString;
27
+ styleId: z.ZodString;
28
+ photoUrl: z.ZodString;
29
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ order: z.ZodNumber;
31
+ createdAt: z.ZodCoercedDate<unknown>;
32
+ updatedAt: z.ZodCoercedDate<unknown>;
33
+ }, z.core.$strip>>;
34
+ createdAt: z.ZodCoercedDate<unknown>;
35
+ updatedAt: z.ZodCoercedDate<unknown>;
36
+ }, z.core.$strip>;
37
+ }, z.core.$strip>;
38
+ type Response = z.infer<typeof ResponseSchema>;
39
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreatePhotoSessionStyleCommand = exports.CreatePhotoSessionStyleReferenceSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const models_1 = require("../../../../models");
6
+ exports.CreatePhotoSessionStyleReferenceSchema = zod_1.z.object({
7
+ photoUrl: zod_1.z.string(),
8
+ description: zod_1.z.string().optional(),
9
+ order: zod_1.z.number().int().min(0).max(5),
10
+ });
11
+ var CreatePhotoSessionStyleCommand;
12
+ (function (CreatePhotoSessionStyleCommand) {
13
+ CreatePhotoSessionStyleCommand.RequestSchema = zod_1.z.object({
14
+ code: zod_1.z.string(),
15
+ title: zod_1.z.string(),
16
+ description: zod_1.z.string().optional(),
17
+ references: zod_1.z.array(exports.CreatePhotoSessionStyleReferenceSchema).max(6),
18
+ });
19
+ CreatePhotoSessionStyleCommand.ResponseSchema = zod_1.z.object({
20
+ data: models_1.PhotoSessionStyleSchema,
21
+ });
22
+ })(CreatePhotoSessionStyleCommand || (exports.CreatePhotoSessionStyleCommand = CreatePhotoSessionStyleCommand = {}));
@@ -0,0 +1,9 @@
1
+ import { z } from 'zod';
2
+ export declare namespace DeletePhotoSessionStyleCommand {
3
+ const RequestParamsSchema: z.ZodObject<{
4
+ uuid: z.ZodString;
5
+ }, z.core.$strip>;
6
+ type RequestParams = z.infer<typeof RequestParamsSchema>;
7
+ const ResponseSchema: z.ZodVoid;
8
+ type Response = z.infer<typeof ResponseSchema>;
9
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeletePhotoSessionStyleCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ var DeletePhotoSessionStyleCommand;
6
+ (function (DeletePhotoSessionStyleCommand) {
7
+ DeletePhotoSessionStyleCommand.RequestParamsSchema = zod_1.z.object({
8
+ uuid: zod_1.z.string().uuid(),
9
+ });
10
+ DeletePhotoSessionStyleCommand.ResponseSchema = zod_1.z.void();
11
+ })(DeletePhotoSessionStyleCommand || (exports.DeletePhotoSessionStyleCommand = DeletePhotoSessionStyleCommand = {}));
@@ -0,0 +1,4 @@
1
+ export * from './create-photo-session-style.command';
2
+ export * from './update-photo-session-style.command';
3
+ export * from './delete-photo-session-style.command';
4
+ export * from './list-photo-session-styles.command';
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./create-photo-session-style.command"), exports);
18
+ __exportStar(require("./update-photo-session-style.command"), exports);
19
+ __exportStar(require("./delete-photo-session-style.command"), exports);
20
+ __exportStar(require("./list-photo-session-styles.command"), exports);
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ export declare namespace ListPhotoSessionStylesCommand {
3
+ const RequestQuerySchema: z.ZodObject<{
4
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
5
+ offset: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
6
+ }, z.core.$strip>;
7
+ type RequestQuery = z.infer<typeof RequestQuerySchema>;
8
+ }