@purpleschool/gptbot 0.14.48 → 0.14.50-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 (170) hide show
  1. package/build/api/controllers/http/index.d.ts +1 -0
  2. package/build/api/controllers/http/index.js +1 -0
  3. package/build/api/controllers/http/photo-session.d.ts +20 -0
  4. package/build/api/controllers/http/photo-session.js +23 -0
  5. package/build/api/controllers/http/tts.d.ts +9 -0
  6. package/build/api/controllers/http/tts.js +9 -0
  7. package/build/api/routes.d.ts +12 -0
  8. package/build/api/routes.js +12 -0
  9. package/build/commands/ai-studio/canvas-node/find-canvas-node-definitions-with-configs.query.d.ts +42 -2
  10. package/build/commands/community/create-community-post.command.d.ts +10 -0
  11. package/build/commands/community/get-all-community-posts-by-criteria.command.d.ts +10 -0
  12. package/build/commands/community/get-community-post-by-uuid.command.d.ts +10 -0
  13. package/build/commands/community/get-my-community-posts-by-criteria.command.d.ts +10 -0
  14. package/build/commands/community/get-my-favorite-community-posts.command.d.ts +10 -0
  15. package/build/commands/community/get-my-likes-community-posts.command.d.ts +10 -0
  16. package/build/commands/community/set-like-community-post.command.d.ts +10 -0
  17. package/build/commands/tools/index.d.ts +1 -0
  18. package/build/commands/tools/index.js +1 -0
  19. package/build/commands/tools/marketplace-card/get-marketplace-card-config.command.d.ts +0 -1
  20. package/build/commands/tools/photo-session/admin/create-photo-session-style.command.d.ts +39 -0
  21. package/build/commands/tools/photo-session/admin/create-photo-session-style.command.js +22 -0
  22. package/build/commands/tools/photo-session/admin/delete-photo-session-style.command.d.ts +9 -0
  23. package/build/commands/tools/photo-session/admin/delete-photo-session-style.command.js +11 -0
  24. package/build/commands/tools/photo-session/admin/index.d.ts +3 -0
  25. package/build/commands/tools/photo-session/admin/index.js +19 -0
  26. package/build/commands/tools/photo-session/admin/update-photo-session-style.command.d.ts +45 -0
  27. package/build/commands/tools/photo-session/admin/update-photo-session-style.command.js +31 -0
  28. package/build/commands/tools/photo-session/delete-all-photo-session-jobs.command.d.ts +5 -0
  29. package/build/commands/tools/photo-session/delete-all-photo-session-jobs.command.js +8 -0
  30. package/build/commands/tools/photo-session/delete-photo-session-job-by-uuid.command.d.ts +9 -0
  31. package/build/commands/tools/photo-session/delete-photo-session-job-by-uuid.command.js +11 -0
  32. package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.d.ts +61 -0
  33. package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.js +14 -0
  34. package/build/commands/tools/photo-session/find-photo-session-jobs.command.d.ts +70 -0
  35. package/build/commands/tools/photo-session/find-photo-session-jobs.command.js +24 -0
  36. package/build/commands/tools/photo-session/get-photo-session-config.command.d.ts +76 -0
  37. package/build/commands/tools/photo-session/get-photo-session-config.command.js +11 -0
  38. package/build/commands/tools/photo-session/get-photo-session-price.command.d.ts +32 -0
  39. package/build/commands/tools/photo-session/get-photo-session-price.command.js +27 -0
  40. package/build/commands/tools/photo-session/index.d.ts +12 -0
  41. package/build/commands/tools/photo-session/index.js +28 -0
  42. package/build/commands/tools/photo-session/photo-session.command.d.ts +87 -0
  43. package/build/commands/tools/photo-session/photo-session.command.js +33 -0
  44. package/build/commands/tools/photo-session/retry-photo-session-job.command.d.ts +85 -0
  45. package/build/commands/tools/photo-session/retry-photo-session-job.command.js +32 -0
  46. package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.d.ts +67 -0
  47. package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.js +28 -0
  48. package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.d.ts +65 -0
  49. package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.js +17 -0
  50. package/build/commands/tools/photo-session/update-photo-session-job-title.command.d.ts +65 -0
  51. package/build/commands/tools/photo-session/update-photo-session-job-title.command.js +17 -0
  52. package/build/commands/tools/tts/create-voice-clone.command.d.ts +32 -0
  53. package/build/commands/tools/tts/create-voice-clone.command.js +17 -0
  54. package/build/commands/tools/tts/create-voice-design.command.d.ts +22 -0
  55. package/build/commands/tools/tts/create-voice-design.command.js +17 -0
  56. package/build/commands/tools/tts/delete-voice.command.d.ts +9 -0
  57. package/build/commands/tools/tts/delete-voice.command.js +11 -0
  58. package/build/commands/tools/tts/download-tts-job.command.d.ts +18 -0
  59. package/build/commands/tools/tts/download-tts-job.command.js +17 -0
  60. package/build/commands/tools/tts/find-tts-job-by-uuid.command.d.ts +13 -1
  61. package/build/commands/tools/tts/find-tts-jobs.command.d.ts +13 -1
  62. package/build/commands/tools/tts/find-voice-by-uuid.query.d.ts +29 -0
  63. package/build/commands/tools/tts/find-voice-by-uuid.query.js +14 -0
  64. package/build/commands/tools/tts/find-voices.query.d.ts +37 -0
  65. package/build/commands/tools/tts/find-voices.query.js +18 -0
  66. package/build/commands/tools/tts/get-tts-tool-config.command.d.ts +11 -0
  67. package/build/commands/tools/tts/improve-tts-text.command.d.ts +13 -0
  68. package/build/commands/tools/tts/improve-tts-text.command.js +13 -0
  69. package/build/commands/tools/tts/index.d.ts +9 -0
  70. package/build/commands/tools/tts/index.js +9 -0
  71. package/build/commands/tools/tts/retry-tts-job.command.d.ts +13 -1
  72. package/build/commands/tools/tts/select-voice-design.command.d.ts +33 -0
  73. package/build/commands/tools/tts/select-voice-design.command.js +17 -0
  74. package/build/commands/tools/tts/set-reaction-to-tts-job.command.d.ts +13 -1
  75. package/build/commands/tools/tts/tts.command.d.ts +6 -1
  76. package/build/commands/tools/tts/tts.command.js +7 -1
  77. package/build/commands/tools/tts/update-tts-job-favorite.command.d.ts +13 -1
  78. package/build/commands/tools/tts/update-tts-job-title.command.d.ts +13 -1
  79. package/build/commands/tools/tts/update-voice.command.d.ts +33 -0
  80. package/build/commands/tools/tts/update-voice.command.js +17 -0
  81. package/build/commands/tools/video-editor/edit-video.command.d.ts +13 -0
  82. package/build/commands/tools/video-editor/edit-video.command.js +1 -0
  83. package/build/commands/tools/video-editor/find-video-editor-job-by-id.command.d.ts +5 -0
  84. package/build/commands/tools/video-editor/find-video-editor-jobs.command.d.ts +5 -0
  85. package/build/commands/tools/video-editor/get-video-editor-config.command.d.ts +31 -2
  86. package/build/commands/tools/video-editor/retry-video-editor-job.command.d.ts +13 -0
  87. package/build/commands/tools/video-editor/retry-video-editor-job.command.js +1 -0
  88. package/build/commands/tools/video-editor/set-reaction-to-video-editor-job.command.d.ts +5 -0
  89. package/build/commands/tools/video-editor/update-video-editor-job-favorite.command.d.ts +5 -0
  90. package/build/commands/tools/video-editor/update-video-editor-job-title.command.d.ts +5 -0
  91. package/build/constants/index.d.ts +2 -0
  92. package/build/constants/index.js +2 -0
  93. package/build/constants/tool-photo-session/enums/index.d.ts +3 -0
  94. package/build/constants/tool-photo-session/enums/index.js +19 -0
  95. package/build/constants/tool-photo-session/enums/photo-session-look-type.enum.d.ts +5 -0
  96. package/build/constants/tool-photo-session/enums/photo-session-look-type.enum.js +9 -0
  97. package/build/constants/tool-photo-session/enums/photo-session-model-type.enum.d.ts +3 -0
  98. package/build/constants/tool-photo-session/enums/photo-session-model-type.enum.js +7 -0
  99. package/build/constants/tool-photo-session/enums/photo-session-strategy.enum.d.ts +4 -0
  100. package/build/constants/tool-photo-session/enums/photo-session-strategy.enum.js +8 -0
  101. package/build/constants/tool-photo-session/index.d.ts +1 -0
  102. package/build/constants/tool-photo-session/index.js +17 -0
  103. package/build/constants/tool-tts/enums/index.d.ts +7 -0
  104. package/build/constants/tool-tts/enums/index.js +23 -0
  105. package/build/constants/tool-tts/enums/tts-download-format.enum.d.ts +5 -0
  106. package/build/constants/tool-tts/enums/tts-download-format.enum.js +9 -0
  107. package/build/constants/tool-tts/enums/voice-category.enum.d.ts +14 -0
  108. package/build/constants/tool-tts/enums/voice-category.enum.js +18 -0
  109. package/build/constants/tool-tts/enums/voice-gender.enum.d.ts +4 -0
  110. package/build/constants/tool-tts/enums/voice-gender.enum.js +8 -0
  111. package/build/constants/tool-tts/enums/voice-source.enum.d.ts +5 -0
  112. package/build/constants/tool-tts/enums/voice-source.enum.js +9 -0
  113. package/build/constants/tool-tts/enums/voice-status.enum.d.ts +5 -0
  114. package/build/constants/tool-tts/enums/voice-status.enum.js +9 -0
  115. package/build/constants/tool-tts/enums/voice-tag-group.enum.d.ts +5 -0
  116. package/build/constants/tool-tts/enums/voice-tag-group.enum.js +9 -0
  117. package/build/constants/tool-tts/enums/voice-tag.enum.d.ts +20 -0
  118. package/build/constants/tool-tts/enums/voice-tag.enum.js +24 -0
  119. package/build/constants/tool-tts/index.d.ts +1 -0
  120. package/build/constants/tool-tts/index.js +17 -0
  121. package/build/constants/tool-video-editor/enums/index.d.ts +0 -1
  122. package/build/constants/tool-video-editor/enums/index.js +0 -1
  123. package/build/constants/tool-video-editor/enums/video-editor-model-limitation.enum.d.ts +2 -1
  124. package/build/constants/tool-video-editor/enums/video-editor-model-limitation.enum.js +1 -0
  125. package/build/helpers/index.d.ts +1 -0
  126. package/build/helpers/index.js +1 -0
  127. package/build/helpers/photo-session/calculate-photo-session-price.helper.d.ts +6 -0
  128. package/build/helpers/photo-session/calculate-photo-session-price.helper.js +13 -0
  129. package/build/helpers/photo-session/index.d.ts +1 -0
  130. package/build/helpers/photo-session/index.js +17 -0
  131. package/build/models/canvas-node-definition.schema.d.ts +126 -6
  132. package/build/models/community/community-post-media-data.schema.d.ts +20 -0
  133. package/build/models/community/community-post-media-data.schema.js +4 -0
  134. package/build/models/community/community-post.schema.d.ts +30 -0
  135. package/build/models/tools/index.d.ts +1 -0
  136. package/build/models/tools/index.js +1 -0
  137. package/build/models/tools/marketplace-card/marketplace-card-config.schema.d.ts +0 -2
  138. package/build/models/tools/marketplace-card/marketplace-card-config.schema.js +0 -1
  139. package/build/models/tools/photo-session/index.d.ts +4 -0
  140. package/build/models/tools/photo-session/index.js +20 -0
  141. package/build/models/tools/photo-session/photo-session-config.schema.d.ts +77 -0
  142. package/build/models/tools/photo-session/photo-session-config.schema.js +16 -0
  143. package/build/models/tools/photo-session/photo-session-job.schema.d.ts +77 -0
  144. package/build/models/tools/photo-session/photo-session-job.schema.js +45 -0
  145. package/build/models/tools/photo-session/photo-session-model.schema.d.ts +73 -0
  146. package/build/models/tools/photo-session/photo-session-model.schema.js +45 -0
  147. package/build/models/tools/photo-session/photo-session-style.schema.d.ts +29 -0
  148. package/build/models/tools/photo-session/photo-session-style.schema.js +22 -0
  149. package/build/models/tools/tts/index.d.ts +3 -0
  150. package/build/models/tools/tts/index.js +3 -0
  151. package/build/models/tools/tts/tts-config.schema.d.ts +23 -0
  152. package/build/models/tools/tts/tts-config.schema.js +14 -1
  153. package/build/models/tools/tts/tts-job.schema.d.ts +26 -1
  154. package/build/models/tools/tts/tts-job.schema.js +16 -2
  155. package/build/models/tools/tts/tts-model.schema.d.ts +1 -0
  156. package/build/models/tools/tts/tts-model.schema.js +1 -0
  157. package/build/models/tools/tts/voice-design-draft.schema.d.ts +12 -0
  158. package/build/models/tools/tts/voice-design-draft.schema.js +12 -0
  159. package/build/models/tools/tts/voice-design-sample.schema.d.ts +6 -0
  160. package/build/models/tools/tts/voice-design-sample.schema.js +8 -0
  161. package/build/models/tools/tts/voice.schema.d.ts +22 -0
  162. package/build/models/tools/tts/voice.schema.js +24 -0
  163. package/build/models/tools/video-editor/video-editor-config.schema.d.ts +31 -2
  164. package/build/models/tools/video-editor/video-editor-job.schema.d.ts +9 -0
  165. package/build/models/tools/video-editor/video-editor-job.schema.js +5 -0
  166. package/build/models/tools/video-editor/video-editor-model.schema.d.ts +65 -2
  167. package/build/models/tools/video-editor/video-editor-model.schema.js +40 -2
  168. package/package.json +1 -1
  169. package/build/constants/tool-video-editor/enums/video-editor-model-strategy.enum.d.ts +0 -3
  170. package/build/constants/tool-video-editor/enums/video-editor-model-strategy.enum.js +0 -7
@@ -82,5 +82,6 @@ export * from './tool-workspace';
82
82
  export * from './html-page-builder';
83
83
  export * from './palette';
84
84
  export * from './canvas-var-generation';
85
+ export * from './photo-session';
85
86
  export * from './photo-studio';
86
87
  export * from './canvas-template';
@@ -98,5 +98,6 @@ __exportStar(require("./tool-workspace"), exports);
98
98
  __exportStar(require("./html-page-builder"), exports);
99
99
  __exportStar(require("./palette"), exports);
100
100
  __exportStar(require("./canvas-var-generation"), exports);
101
+ __exportStar(require("./photo-session"), exports);
101
102
  __exportStar(require("./photo-studio"), exports);
102
103
  __exportStar(require("./canvas-template"), exports);
@@ -0,0 +1,20 @@
1
+ export declare const PHOTO_SESSION_CONTROLLER_PRIVATE: 'private/tools/photo-session';
2
+ export declare const PHOTO_SESSION_CONTROLLER_PUBLIC: 'public/tools/photo-session';
3
+ export declare const PHOTO_SESSION_ROUTES: {
4
+ readonly CONFIG: 'config';
5
+ readonly EXECUTE: 'execute';
6
+ readonly PRICE: 'price';
7
+ readonly GET_JOBS: 'jobs';
8
+ readonly GET_JOB: (uuid: string) => string;
9
+ readonly UPDATE: (uuid: string) => string;
10
+ readonly UPDATE_FAVORITE: (uuid: string) => string;
11
+ readonly SET_REACTION: (uuid: string) => string;
12
+ readonly DELETE: (uuid: string) => string;
13
+ readonly DELETE_ALL: 'jobs';
14
+ readonly RETRY: (uuid: string) => string;
15
+ readonly UPDATE_PUBLISHED: (uuid: string) => string;
16
+ readonly ADMIN: {
17
+ readonly STYLES: 'admin/styles';
18
+ readonly STYLE: (uuid: string) => string;
19
+ };
20
+ };
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PHOTO_SESSION_ROUTES = exports.PHOTO_SESSION_CONTROLLER_PUBLIC = exports.PHOTO_SESSION_CONTROLLER_PRIVATE = void 0;
4
+ exports.PHOTO_SESSION_CONTROLLER_PRIVATE = 'private/tools/photo-session';
5
+ exports.PHOTO_SESSION_CONTROLLER_PUBLIC = 'public/tools/photo-session';
6
+ exports.PHOTO_SESSION_ROUTES = {
7
+ CONFIG: 'config',
8
+ EXECUTE: 'execute',
9
+ PRICE: 'price',
10
+ GET_JOBS: 'jobs',
11
+ GET_JOB: (uuid) => `jobs/${uuid}`,
12
+ UPDATE: (uuid) => `jobs/${uuid}`,
13
+ UPDATE_FAVORITE: (uuid) => `jobs/${uuid}/favorite`,
14
+ SET_REACTION: (uuid) => `jobs/${uuid}/reaction`,
15
+ DELETE: (uuid) => `jobs/${uuid}`,
16
+ DELETE_ALL: 'jobs',
17
+ RETRY: (uuid) => `jobs/${uuid}/retry`,
18
+ UPDATE_PUBLISHED: (uuid) => `jobs/${uuid}/published`,
19
+ ADMIN: {
20
+ STYLES: 'admin/styles',
21
+ STYLE: (uuid) => `admin/styles/${uuid}`,
22
+ },
23
+ };
@@ -11,4 +11,13 @@ export declare const TTS_ROUTES: {
11
11
  readonly DELETE: (uuid: string) => string;
12
12
  readonly DELETE_ALL: 'jobs';
13
13
  readonly RETRY: (uuid: string) => string;
14
+ readonly IMPROVE: 'improve';
15
+ readonly GET_VOICES: 'voices';
16
+ readonly GET_VOICE: (uuid: string) => string;
17
+ readonly CREATE_CLONE: 'voices/clone';
18
+ readonly CREATE_DESIGN: 'voices/design';
19
+ readonly SELECT_DESIGN: (designId: string) => string;
20
+ readonly UPDATE_VOICE: (uuid: string) => string;
21
+ readonly DELETE_VOICE: (uuid: string) => string;
22
+ readonly DOWNLOAD: (uuid: string) => string;
14
23
  };
@@ -14,4 +14,13 @@ exports.TTS_ROUTES = {
14
14
  DELETE: (uuid) => `jobs/${uuid}`,
15
15
  DELETE_ALL: 'jobs',
16
16
  RETRY: (uuid) => `jobs/${uuid}/retry`,
17
+ IMPROVE: 'improve',
18
+ GET_VOICES: 'voices',
19
+ GET_VOICE: (uuid) => `voices/${uuid}`,
20
+ CREATE_CLONE: 'voices/clone',
21
+ CREATE_DESIGN: 'voices/design',
22
+ SELECT_DESIGN: (designId) => `voices/design/${designId}/select`,
23
+ UPDATE_VOICE: (uuid) => `voices/${uuid}`,
24
+ DELETE_VOICE: (uuid) => `voices/${uuid}`,
25
+ DOWNLOAD: (uuid) => `jobs/${uuid}/download`,
17
26
  };
@@ -633,6 +633,9 @@ export declare const REST_API: {
633
633
  readonly DELETE: (uuid: string) => string;
634
634
  readonly DELETE_ALL: "/api/public/tools/tts/jobs";
635
635
  readonly RETRY: (uuid: string) => string;
636
+ readonly GET_VOICES: "/api/public/tools/tts/voices";
637
+ readonly GET_VOICE: (uuid: string) => string;
638
+ readonly DOWNLOAD: (uuid: string) => string;
636
639
  };
637
640
  readonly TTS_PRIVATE: {
638
641
  readonly CONFIG: "/api/private/tools/tts/config";
@@ -645,6 +648,15 @@ export declare const REST_API: {
645
648
  readonly DELETE: (uuid: string) => string;
646
649
  readonly DELETE_ALL: "/api/private/tools/tts/jobs";
647
650
  readonly RETRY: (uuid: string) => string;
651
+ readonly IMPROVE: "/api/private/tools/tts/improve";
652
+ readonly GET_VOICES: "/api/private/tools/tts/voices";
653
+ readonly GET_VOICE: (uuid: string) => string;
654
+ readonly CREATE_CLONE: "/api/private/tools/tts/voices/clone";
655
+ readonly CREATE_DESIGN: "/api/private/tools/tts/voices/design";
656
+ readonly SELECT_DESIGN: (designId: string) => string;
657
+ readonly UPDATE_VOICE: (uuid: string) => string;
658
+ readonly DELETE_VOICE: (uuid: string) => string;
659
+ readonly DOWNLOAD: (uuid: string) => string;
648
660
  };
649
661
  readonly STT_PUBLIC: {
650
662
  readonly CONFIG: "/api/public/tools/stt/config";
@@ -671,6 +671,9 @@ exports.REST_API = {
671
671
  DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.TTS_CONTROLLER_PUBLIC}/${CONTROLLERS.TTS_ROUTES.DELETE(uuid)}`,
672
672
  DELETE_ALL: `${exports.ROOT}/${CONTROLLERS.TTS_CONTROLLER_PUBLIC}/${CONTROLLERS.TTS_ROUTES.DELETE_ALL}`,
673
673
  RETRY: (uuid) => `${exports.ROOT}/${CONTROLLERS.TTS_CONTROLLER_PUBLIC}/${CONTROLLERS.TTS_ROUTES.RETRY(uuid)}`,
674
+ GET_VOICES: `${exports.ROOT}/${CONTROLLERS.TTS_CONTROLLER_PUBLIC}/${CONTROLLERS.TTS_ROUTES.GET_VOICES}`,
675
+ GET_VOICE: (uuid) => `${exports.ROOT}/${CONTROLLERS.TTS_CONTROLLER_PUBLIC}/${CONTROLLERS.TTS_ROUTES.GET_VOICE(uuid)}`,
676
+ DOWNLOAD: (uuid) => `${exports.ROOT}/${CONTROLLERS.TTS_CONTROLLER_PUBLIC}/${CONTROLLERS.TTS_ROUTES.DOWNLOAD(uuid)}`,
674
677
  },
675
678
  TTS_PRIVATE: {
676
679
  CONFIG: `${exports.ROOT}/${CONTROLLERS.TTS_CONTROLLER_PRIVATE}/${CONTROLLERS.TTS_ROUTES.CONFIG}`,
@@ -683,6 +686,15 @@ exports.REST_API = {
683
686
  DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.TTS_CONTROLLER_PRIVATE}/${CONTROLLERS.TTS_ROUTES.DELETE(uuid)}`,
684
687
  DELETE_ALL: `${exports.ROOT}/${CONTROLLERS.TTS_CONTROLLER_PRIVATE}/${CONTROLLERS.TTS_ROUTES.DELETE_ALL}`,
685
688
  RETRY: (uuid) => `${exports.ROOT}/${CONTROLLERS.TTS_CONTROLLER_PRIVATE}/${CONTROLLERS.TTS_ROUTES.RETRY(uuid)}`,
689
+ IMPROVE: `${exports.ROOT}/${CONTROLLERS.TTS_CONTROLLER_PRIVATE}/${CONTROLLERS.TTS_ROUTES.IMPROVE}`,
690
+ GET_VOICES: `${exports.ROOT}/${CONTROLLERS.TTS_CONTROLLER_PRIVATE}/${CONTROLLERS.TTS_ROUTES.GET_VOICES}`,
691
+ GET_VOICE: (uuid) => `${exports.ROOT}/${CONTROLLERS.TTS_CONTROLLER_PRIVATE}/${CONTROLLERS.TTS_ROUTES.GET_VOICE(uuid)}`,
692
+ CREATE_CLONE: `${exports.ROOT}/${CONTROLLERS.TTS_CONTROLLER_PRIVATE}/${CONTROLLERS.TTS_ROUTES.CREATE_CLONE}`,
693
+ CREATE_DESIGN: `${exports.ROOT}/${CONTROLLERS.TTS_CONTROLLER_PRIVATE}/${CONTROLLERS.TTS_ROUTES.CREATE_DESIGN}`,
694
+ SELECT_DESIGN: (designId) => `${exports.ROOT}/${CONTROLLERS.TTS_CONTROLLER_PRIVATE}/${CONTROLLERS.TTS_ROUTES.SELECT_DESIGN(designId)}`,
695
+ UPDATE_VOICE: (uuid) => `${exports.ROOT}/${CONTROLLERS.TTS_CONTROLLER_PRIVATE}/${CONTROLLERS.TTS_ROUTES.UPDATE_VOICE(uuid)}`,
696
+ DELETE_VOICE: (uuid) => `${exports.ROOT}/${CONTROLLERS.TTS_CONTROLLER_PRIVATE}/${CONTROLLERS.TTS_ROUTES.DELETE_VOICE(uuid)}`,
697
+ DOWNLOAD: (uuid) => `${exports.ROOT}/${CONTROLLERS.TTS_CONTROLLER_PRIVATE}/${CONTROLLERS.TTS_ROUTES.DOWNLOAD(uuid)}`,
686
698
  },
687
699
  STT_PUBLIC: {
688
700
  CONFIG: `${exports.ROOT}/${CONTROLLERS.STT_CONTROLLER_PUBLIC}/${CONTROLLERS.STT_ROUTES.CONFIG}`,
@@ -293,6 +293,7 @@ export declare namespace FindCanvasNodeDefinitionsWithConfigsQuery {
293
293
  }, z.core.$strip>;
294
294
  }, z.core.$strip>;
295
295
  maxInputLength: z.ZodNumber;
296
+ maxSpeakers: z.ZodNumber;
296
297
  params: z.ZodObject<{
297
298
  speed: z.ZodOptional<z.ZodObject<{
298
299
  title: z.ZodString;
@@ -396,6 +397,16 @@ export declare namespace FindCanvasNodeDefinitionsWithConfigsQuery {
396
397
  canUse: z.ZodBoolean;
397
398
  status: z.ZodString;
398
399
  }, z.core.$strip>>;
400
+ tags: z.ZodArray<z.ZodObject<{
401
+ id: z.ZodEnum<typeof import("../../..").VOICE_TAG>;
402
+ group: z.ZodEnum<typeof import("../../..").VOICE_TAG_GROUP>;
403
+ label: z.ZodString;
404
+ }, z.core.$strip>>;
405
+ categories: z.ZodArray<z.ZodObject<{
406
+ id: z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>;
407
+ label: z.ZodString;
408
+ }, z.core.$strip>>;
409
+ speakerMarkerLabel: z.ZodString;
399
410
  }, z.core.$strip>;
400
411
  }, z.core.$strip>, z.ZodObject<{
401
412
  nodeType: z.ZodLiteral<import("../../..").CANVAS_NODE_TYPE.sttGen>;
@@ -536,7 +547,6 @@ export declare namespace FindCanvasNodeDefinitionsWithConfigsQuery {
536
547
  title: z.ZodString;
537
548
  description: z.ZodString;
538
549
  aiModel: z.ZodString;
539
- pricePerCall: z.ZodNumber;
540
550
  order: z.ZodNumber;
541
551
  icons: z.ZodObject<{
542
552
  light: z.ZodObject<{
@@ -553,18 +563,49 @@ export declare namespace FindCanvasNodeDefinitionsWithConfigsQuery {
553
563
  maxInputVideoDurationInSeconds: z.ZodNumber;
554
564
  supportedFormats: z.ZodArray<z.ZodString>;
555
565
  params: z.ZodObject<{
566
+ imageAttachment: z.ZodOptional<z.ZodObject<{
567
+ supported: z.ZodBoolean;
568
+ maxImages: z.ZodNumber;
569
+ maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
570
+ }, z.core.$strip>>;
571
+ referenceImageAttachment: z.ZodOptional<z.ZodObject<{
572
+ supported: z.ZodBoolean;
573
+ maxImages: z.ZodNumber;
574
+ formats: z.ZodOptional<z.ZodArray<z.ZodString>>;
575
+ minWidthToHeightRatio: z.ZodOptional<z.ZodNumber>;
576
+ maxWidthToHeightRatio: z.ZodOptional<z.ZodNumber>;
577
+ minWidthPx: z.ZodOptional<z.ZodNumber>;
578
+ maxWidthPx: z.ZodOptional<z.ZodNumber>;
579
+ minHeightPx: z.ZodOptional<z.ZodNumber>;
580
+ maxHeightPx: z.ZodOptional<z.ZodNumber>;
581
+ maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
582
+ }, z.core.$strip>>;
583
+ audioAttachment: z.ZodOptional<z.ZodObject<{
584
+ supported: z.ZodBoolean;
585
+ maxAudios: z.ZodNumber;
586
+ maxDurationSeconds: z.ZodNumber;
587
+ minDurationSeconds: z.ZodOptional<z.ZodNumber>;
588
+ maxTotalDurationSeconds: z.ZodOptional<z.ZodNumber>;
589
+ maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
590
+ formats: z.ZodOptional<z.ZodArray<z.ZodString>>;
591
+ mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
592
+ }, z.core.$strip>>;
556
593
  duration: z.ZodOptional<z.ZodObject<{
557
594
  options: z.ZodArray<z.ZodNumber>;
558
595
  }, z.core.$strip>>;
559
596
  resolution: z.ZodOptional<z.ZodObject<{
560
597
  options: z.ZodArray<z.ZodString>;
561
598
  }, z.core.$strip>>;
599
+ aspectRatio: z.ZodOptional<z.ZodObject<{
600
+ options: z.ZodArray<z.ZodString>;
601
+ }, z.core.$strip>>;
562
602
  }, z.core.$strip>;
563
603
  pricingRules: z.ZodArray<z.ZodObject<{
564
604
  type: z.ZodEnum<typeof import("../../..").VIDEO_EDITOR_PRICING_RULE_TYPE>;
565
605
  condition: z.ZodObject<{
566
606
  duration: z.ZodOptional<z.ZodNumber>;
567
607
  resolution: z.ZodOptional<z.ZodString>;
608
+ aspectRatio: z.ZodOptional<z.ZodString>;
568
609
  }, z.core.$strip>;
569
610
  value: z.ZodNumber;
570
611
  }, z.core.$strip>>;
@@ -576,7 +617,6 @@ export declare namespace FindCanvasNodeDefinitionsWithConfigsQuery {
576
617
  }, z.core.$strip>>;
577
618
  limitations: z.ZodArray<z.ZodEnum<typeof import("../../..").VIDEO_EDITOR_MODEL_LIMITATION>>;
578
619
  canUse: z.ZodBoolean;
579
- status: z.ZodString;
580
620
  }, z.core.$strip>>;
581
621
  }, z.core.$strip>;
582
622
  }, z.core.$strip>, z.ZodObject<{
@@ -59,6 +59,16 @@ export declare namespace CreateCommunityPostCommand {
59
59
  prompt: z.ZodString;
60
60
  inputVideoUrl: z.ZodString;
61
61
  outputVideoUrl: z.ZodNullable<z.ZodString>;
62
+ inputVideoId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
+ outputVideoId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
+ params: z.ZodOptional<z.ZodObject<{
65
+ imageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
66
+ referenceImageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
67
+ audioIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
68
+ duration: z.ZodOptional<z.ZodNumber>;
69
+ resolution: z.ZodOptional<z.ZodString>;
70
+ aspectRatio: z.ZodOptional<z.ZodString>;
71
+ }, z.core.$strip>>;
62
72
  }, z.core.$strip>, z.ZodObject<{
63
73
  type: z.ZodLiteral<import("../..").COMMUNITY_POST_TYPE.MUSIC>;
64
74
  params: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -70,6 +70,16 @@ export declare namespace GetAllCommunityPostsCommand {
70
70
  prompt: z.ZodString;
71
71
  inputVideoUrl: z.ZodString;
72
72
  outputVideoUrl: z.ZodNullable<z.ZodString>;
73
+ inputVideoId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
+ outputVideoId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
75
+ params: z.ZodOptional<z.ZodObject<{
76
+ imageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
77
+ referenceImageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
78
+ audioIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
79
+ duration: z.ZodOptional<z.ZodNumber>;
80
+ resolution: z.ZodOptional<z.ZodString>;
81
+ aspectRatio: z.ZodOptional<z.ZodString>;
82
+ }, z.core.$strip>>;
73
83
  }, z.core.$strip>, z.ZodObject<{
74
84
  type: z.ZodLiteral<COMMUNITY_POST_TYPE.MUSIC>;
75
85
  params: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -60,6 +60,16 @@ export declare namespace GetCommunityPostByUuidCommand {
60
60
  prompt: z.ZodString;
61
61
  inputVideoUrl: z.ZodString;
62
62
  outputVideoUrl: z.ZodNullable<z.ZodString>;
63
+ inputVideoId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
+ outputVideoId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ params: z.ZodOptional<z.ZodObject<{
66
+ imageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
67
+ referenceImageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
68
+ audioIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
69
+ duration: z.ZodOptional<z.ZodNumber>;
70
+ resolution: z.ZodOptional<z.ZodString>;
71
+ aspectRatio: z.ZodOptional<z.ZodString>;
72
+ }, z.core.$strip>>;
63
73
  }, z.core.$strip>, z.ZodObject<{
64
74
  type: z.ZodLiteral<import("../..").COMMUNITY_POST_TYPE.MUSIC>;
65
75
  params: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -72,6 +72,16 @@ export declare namespace GetMyCommunityPostsByCriteriaCommand {
72
72
  prompt: z.ZodString;
73
73
  inputVideoUrl: z.ZodString;
74
74
  outputVideoUrl: z.ZodNullable<z.ZodString>;
75
+ inputVideoId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
76
+ outputVideoId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
+ params: z.ZodOptional<z.ZodObject<{
78
+ imageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
79
+ referenceImageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
80
+ audioIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
81
+ duration: z.ZodOptional<z.ZodNumber>;
82
+ resolution: z.ZodOptional<z.ZodString>;
83
+ aspectRatio: z.ZodOptional<z.ZodString>;
84
+ }, z.core.$strip>>;
75
85
  }, z.core.$strip>, z.ZodObject<{
76
86
  type: z.ZodLiteral<COMMUNITY_POST_TYPE.MUSIC>;
77
87
  params: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -64,6 +64,16 @@ export declare namespace GetMyFavoriteCommunityPostsCommand {
64
64
  prompt: z.ZodString;
65
65
  inputVideoUrl: z.ZodString;
66
66
  outputVideoUrl: z.ZodNullable<z.ZodString>;
67
+ inputVideoId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
+ outputVideoId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
+ params: z.ZodOptional<z.ZodObject<{
70
+ imageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
71
+ referenceImageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
72
+ audioIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
73
+ duration: z.ZodOptional<z.ZodNumber>;
74
+ resolution: z.ZodOptional<z.ZodString>;
75
+ aspectRatio: z.ZodOptional<z.ZodString>;
76
+ }, z.core.$strip>>;
67
77
  }, z.core.$strip>, z.ZodObject<{
68
78
  type: z.ZodLiteral<COMMUNITY_POST_TYPE.MUSIC>;
69
79
  params: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -63,6 +63,16 @@ export declare namespace GetMyLikesCommunityPostsCommand {
63
63
  prompt: z.ZodString;
64
64
  inputVideoUrl: z.ZodString;
65
65
  outputVideoUrl: z.ZodNullable<z.ZodString>;
66
+ inputVideoId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
+ outputVideoId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
+ params: z.ZodOptional<z.ZodObject<{
69
+ imageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
70
+ referenceImageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
71
+ audioIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
72
+ duration: z.ZodOptional<z.ZodNumber>;
73
+ resolution: z.ZodOptional<z.ZodString>;
74
+ aspectRatio: z.ZodOptional<z.ZodString>;
75
+ }, z.core.$strip>>;
66
76
  }, z.core.$strip>, z.ZodObject<{
67
77
  type: z.ZodLiteral<import("../..").COMMUNITY_POST_TYPE.MUSIC>;
68
78
  params: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -60,6 +60,16 @@ export declare namespace SetLikeCommunityPostCommand {
60
60
  prompt: z.ZodString;
61
61
  inputVideoUrl: z.ZodString;
62
62
  outputVideoUrl: z.ZodNullable<z.ZodString>;
63
+ inputVideoId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
+ outputVideoId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ params: z.ZodOptional<z.ZodObject<{
66
+ imageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
67
+ referenceImageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
68
+ audioIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
69
+ duration: z.ZodOptional<z.ZodNumber>;
70
+ resolution: z.ZodOptional<z.ZodString>;
71
+ aspectRatio: z.ZodOptional<z.ZodString>;
72
+ }, z.core.$strip>>;
63
73
  }, z.core.$strip>, z.ZodObject<{
64
74
  type: z.ZodLiteral<import("../..").COMMUNITY_POST_TYPE.MUSIC>;
65
75
  params: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -16,4 +16,5 @@ 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';
@@ -32,4 +32,5 @@ __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);
@@ -31,7 +31,6 @@ export declare namespace GetMarketplaceCardConfigCommand {
31
31
  }, z.core.$strip>;
32
32
  maxPromptLength: z.ZodNumber;
33
33
  supportsImageAttachment: z.ZodBoolean;
34
- maxAttachedImages: z.ZodNumber;
35
34
  }, z.core.$strip>>;
36
35
  }, z.core.$strip>;
37
36
  }, z.core.$strip>;
@@ -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.ZodDate;
32
+ updatedAt: z.ZodDate;
33
+ }, z.core.$strip>>;
34
+ createdAt: z.ZodDate;
35
+ updatedAt: z.ZodDate;
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,3 @@
1
+ export * from './create-photo-session-style.command';
2
+ export * from './update-photo-session-style.command';
3
+ export * from './delete-photo-session-style.command';
@@ -0,0 +1,19 @@
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);
@@ -0,0 +1,45 @@
1
+ import { z } from 'zod';
2
+ export declare const UpdatePhotoSessionStyleReferenceSchema: z.ZodObject<{
3
+ photoUrl: z.ZodString;
4
+ description: z.ZodOptional<z.ZodString>;
5
+ order: z.ZodNumber;
6
+ uuid: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ export declare namespace UpdatePhotoSessionStyleCommand {
9
+ const RequestParamsSchema: z.ZodObject<{
10
+ uuid: z.ZodString;
11
+ }, z.core.$strip>;
12
+ type RequestParams = z.infer<typeof RequestParamsSchema>;
13
+ const RequestSchema: z.ZodObject<{
14
+ code: z.ZodOptional<z.ZodString>;
15
+ title: z.ZodOptional<z.ZodString>;
16
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ references: z.ZodOptional<z.ZodArray<z.ZodObject<{
18
+ photoUrl: z.ZodString;
19
+ description: z.ZodOptional<z.ZodString>;
20
+ order: z.ZodNumber;
21
+ uuid: z.ZodOptional<z.ZodString>;
22
+ }, z.core.$strip>>>;
23
+ }, z.core.$strip>;
24
+ type Request = z.infer<typeof RequestSchema>;
25
+ const ResponseSchema: z.ZodObject<{
26
+ data: z.ZodObject<{
27
+ uuid: z.ZodString;
28
+ code: z.ZodString;
29
+ title: z.ZodString;
30
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ references: z.ZodArray<z.ZodObject<{
32
+ uuid: z.ZodString;
33
+ styleId: z.ZodString;
34
+ photoUrl: z.ZodString;
35
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ order: z.ZodNumber;
37
+ createdAt: z.ZodDate;
38
+ updatedAt: z.ZodDate;
39
+ }, z.core.$strip>>;
40
+ createdAt: z.ZodDate;
41
+ updatedAt: z.ZodDate;
42
+ }, z.core.$strip>;
43
+ }, z.core.$strip>;
44
+ type Response = z.infer<typeof ResponseSchema>;
45
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdatePhotoSessionStyleCommand = exports.UpdatePhotoSessionStyleReferenceSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const models_1 = require("../../../../models");
6
+ const create_photo_session_style_command_1 = require("./create-photo-session-style.command");
7
+ exports.UpdatePhotoSessionStyleReferenceSchema = create_photo_session_style_command_1.CreatePhotoSessionStyleReferenceSchema.extend({
8
+ uuid: zod_1.z.string().uuid().optional(),
9
+ }).refine((ref) => {
10
+ if (ref.photoUrl === undefined &&
11
+ ref.description === undefined &&
12
+ ref.order === undefined) {
13
+ return false;
14
+ }
15
+ return true;
16
+ }, { message: 'At least one field must be provided for reference update' });
17
+ var UpdatePhotoSessionStyleCommand;
18
+ (function (UpdatePhotoSessionStyleCommand) {
19
+ UpdatePhotoSessionStyleCommand.RequestParamsSchema = zod_1.z.object({
20
+ uuid: zod_1.z.string().uuid(),
21
+ });
22
+ UpdatePhotoSessionStyleCommand.RequestSchema = zod_1.z.object({
23
+ code: zod_1.z.string().optional(),
24
+ title: zod_1.z.string().optional(),
25
+ description: zod_1.z.string().nullable().optional(),
26
+ references: zod_1.z.array(exports.UpdatePhotoSessionStyleReferenceSchema).max(6).optional(),
27
+ });
28
+ UpdatePhotoSessionStyleCommand.ResponseSchema = zod_1.z.object({
29
+ data: models_1.PhotoSessionStyleSchema,
30
+ });
31
+ })(UpdatePhotoSessionStyleCommand || (exports.UpdatePhotoSessionStyleCommand = UpdatePhotoSessionStyleCommand = {}));
@@ -0,0 +1,5 @@
1
+ import { z } from 'zod';
2
+ export declare namespace DeleteAllPhotoSessionJobsCommand {
3
+ const ResponseSchema: z.ZodVoid;
4
+ type Response = z.infer<typeof ResponseSchema>;
5
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteAllPhotoSessionJobsCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ var DeleteAllPhotoSessionJobsCommand;
6
+ (function (DeleteAllPhotoSessionJobsCommand) {
7
+ DeleteAllPhotoSessionJobsCommand.ResponseSchema = zod_1.z.void();
8
+ })(DeleteAllPhotoSessionJobsCommand || (exports.DeleteAllPhotoSessionJobsCommand = DeleteAllPhotoSessionJobsCommand = {}));
@@ -0,0 +1,9 @@
1
+ import { z } from 'zod';
2
+ export declare namespace DeletePhotoSessionJobByUUIDCommand {
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.DeletePhotoSessionJobByUUIDCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ var DeletePhotoSessionJobByUUIDCommand;
6
+ (function (DeletePhotoSessionJobByUUIDCommand) {
7
+ DeletePhotoSessionJobByUUIDCommand.RequestParamsSchema = zod_1.z.object({
8
+ uuid: zod_1.z.string().uuid(),
9
+ });
10
+ DeletePhotoSessionJobByUUIDCommand.ResponseSchema = zod_1.z.void();
11
+ })(DeletePhotoSessionJobByUUIDCommand || (exports.DeletePhotoSessionJobByUUIDCommand = DeletePhotoSessionJobByUUIDCommand = {}));