@purpleschool/gptbot 0.14.56 → 0.14.60-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 (153) 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 +44 -0
  8. package/build/api/routes.js +44 -0
  9. package/build/commands/ai-model/create-ai-model.command.d.ts +0 -6
  10. package/build/commands/ai-model/find-ai-model.command.d.ts +0 -6
  11. package/build/commands/ai-model/find-ai-models-available-to-user.comand.d.ts +0 -3
  12. package/build/commands/ai-model/find-formatted-ai-model.command.d.ts +0 -6
  13. package/build/commands/ai-model/update-ai-model.command.d.ts +0 -6
  14. package/build/commands/ai-studio/canvas-node/find-canvas-node-definitions-with-configs.query.d.ts +11 -3
  15. package/build/commands/ai-studio/canvas-tool/text-gen/get-text-generation-config.command.d.ts +0 -3
  16. package/build/commands/ai-studio/canvas-tool/var-gen/get-var-gen-config.command.d.ts +0 -3
  17. package/build/commands/b2b/get-b2b-documentation.command.d.ts +0 -6
  18. package/build/commands/page/find-page-by-alias.command.d.ts +0 -6
  19. package/build/commands/page/find-page.command.d.ts +0 -3
  20. package/build/commands/page/find-pages-by-criteria.command.d.ts +0 -6
  21. package/build/commands/tools/index.d.ts +1 -0
  22. package/build/commands/tools/index.js +1 -0
  23. package/build/commands/tools/photo-session/admin/create-photo-session-style.command.d.ts +39 -0
  24. package/build/commands/tools/photo-session/admin/create-photo-session-style.command.js +26 -0
  25. package/build/commands/tools/photo-session/admin/delete-photo-session-style.command.d.ts +9 -0
  26. package/build/commands/tools/photo-session/admin/delete-photo-session-style.command.js +11 -0
  27. package/build/commands/tools/photo-session/admin/index.d.ts +3 -0
  28. package/build/commands/tools/photo-session/admin/index.js +19 -0
  29. package/build/commands/tools/photo-session/admin/update-photo-session-style.command.d.ts +45 -0
  30. package/build/commands/tools/photo-session/admin/update-photo-session-style.command.js +36 -0
  31. package/build/commands/tools/photo-session/delete-all-photo-session-jobs.command.d.ts +5 -0
  32. package/build/commands/tools/photo-session/delete-all-photo-session-jobs.command.js +8 -0
  33. package/build/commands/tools/photo-session/delete-photo-session-job-by-uuid.command.d.ts +9 -0
  34. package/build/commands/tools/photo-session/delete-photo-session-job-by-uuid.command.js +11 -0
  35. package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.d.ts +63 -0
  36. package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.js +14 -0
  37. package/build/commands/tools/photo-session/find-photo-session-jobs.command.d.ts +72 -0
  38. package/build/commands/tools/photo-session/find-photo-session-jobs.command.js +24 -0
  39. package/build/commands/tools/photo-session/get-photo-session-config.command.d.ts +76 -0
  40. package/build/commands/tools/photo-session/get-photo-session-config.command.js +11 -0
  41. package/build/commands/tools/photo-session/get-photo-session-price.command.d.ts +32 -0
  42. package/build/commands/tools/photo-session/get-photo-session-price.command.js +27 -0
  43. package/build/commands/tools/photo-session/index.d.ts +12 -0
  44. package/build/commands/tools/photo-session/index.js +28 -0
  45. package/build/commands/tools/photo-session/photo-session.command.d.ts +83 -0
  46. package/build/commands/tools/photo-session/photo-session.command.js +27 -0
  47. package/build/commands/tools/photo-session/retry-photo-session-job.command.d.ts +87 -0
  48. package/build/commands/tools/photo-session/retry-photo-session-job.command.js +32 -0
  49. package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.d.ts +69 -0
  50. package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.js +28 -0
  51. package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.d.ts +67 -0
  52. package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.js +17 -0
  53. package/build/commands/tools/photo-session/update-photo-session-job-title.command.d.ts +67 -0
  54. package/build/commands/tools/photo-session/update-photo-session-job-title.command.js +17 -0
  55. package/build/commands/tools/tts/create-voice-clone.command.d.ts +32 -0
  56. package/build/commands/tools/tts/create-voice-clone.command.js +17 -0
  57. package/build/commands/tools/tts/create-voice-design.command.d.ts +22 -0
  58. package/build/commands/tools/tts/create-voice-design.command.js +17 -0
  59. package/build/commands/tools/tts/delete-voice.command.d.ts +9 -0
  60. package/build/commands/tools/tts/delete-voice.command.js +11 -0
  61. package/build/commands/tools/tts/download-tts-job.command.d.ts +18 -0
  62. package/build/commands/tools/tts/download-tts-job.command.js +17 -0
  63. package/build/commands/tools/tts/find-tts-job-by-uuid.command.d.ts +13 -1
  64. package/build/commands/tools/tts/find-tts-jobs.command.d.ts +13 -1
  65. package/build/commands/tools/tts/find-voice-by-uuid.query.d.ts +29 -0
  66. package/build/commands/tools/tts/find-voice-by-uuid.query.js +14 -0
  67. package/build/commands/tools/tts/find-voices.query.d.ts +37 -0
  68. package/build/commands/tools/tts/find-voices.query.js +18 -0
  69. package/build/commands/tools/tts/get-tts-tool-config.command.d.ts +11 -0
  70. package/build/commands/tools/tts/improve-tts-text.command.d.ts +13 -0
  71. package/build/commands/tools/tts/improve-tts-text.command.js +13 -0
  72. package/build/commands/tools/tts/index.d.ts +9 -0
  73. package/build/commands/tools/tts/index.js +9 -0
  74. package/build/commands/tools/tts/retry-tts-job.command.d.ts +13 -1
  75. package/build/commands/tools/tts/select-voice-design.command.d.ts +33 -0
  76. package/build/commands/tools/tts/select-voice-design.command.js +17 -0
  77. package/build/commands/tools/tts/set-reaction-to-tts-job.command.d.ts +13 -1
  78. package/build/commands/tools/tts/tts.command.d.ts +6 -1
  79. package/build/commands/tools/tts/tts.command.js +7 -1
  80. package/build/commands/tools/tts/update-tts-job-favorite.command.d.ts +13 -1
  81. package/build/commands/tools/tts/update-tts-job-title.command.d.ts +13 -1
  82. package/build/commands/tools/tts/update-voice.command.d.ts +33 -0
  83. package/build/commands/tools/tts/update-voice.command.js +17 -0
  84. package/build/constants/ai-model/enums/ai-model-config-selector-type.enum.d.ts +1 -2
  85. package/build/constants/ai-model/enums/ai-model-config-selector-type.enum.js +0 -1
  86. package/build/constants/index.d.ts +2 -0
  87. package/build/constants/index.js +2 -0
  88. package/build/constants/tool-photo-session/enums/index.d.ts +3 -0
  89. package/build/constants/tool-photo-session/enums/index.js +19 -0
  90. package/build/constants/tool-photo-session/enums/photo-session-look-type.enum.d.ts +5 -0
  91. package/build/constants/tool-photo-session/enums/photo-session-look-type.enum.js +9 -0
  92. package/build/constants/tool-photo-session/enums/photo-session-model-type.enum.d.ts +3 -0
  93. package/build/constants/tool-photo-session/enums/photo-session-model-type.enum.js +7 -0
  94. package/build/constants/tool-photo-session/enums/photo-session-strategy.enum.d.ts +4 -0
  95. package/build/constants/tool-photo-session/enums/photo-session-strategy.enum.js +8 -0
  96. package/build/constants/tool-photo-session/index.d.ts +1 -0
  97. package/build/constants/tool-photo-session/index.js +17 -0
  98. package/build/constants/tool-tts/enums/index.d.ts +7 -0
  99. package/build/constants/tool-tts/enums/index.js +23 -0
  100. package/build/constants/tool-tts/enums/tts-download-format.enum.d.ts +5 -0
  101. package/build/constants/tool-tts/enums/tts-download-format.enum.js +9 -0
  102. package/build/constants/tool-tts/enums/voice-category.enum.d.ts +14 -0
  103. package/build/constants/tool-tts/enums/voice-category.enum.js +18 -0
  104. package/build/constants/tool-tts/enums/voice-gender.enum.d.ts +4 -0
  105. package/build/constants/tool-tts/enums/voice-gender.enum.js +8 -0
  106. package/build/constants/tool-tts/enums/voice-source.enum.d.ts +5 -0
  107. package/build/constants/tool-tts/enums/voice-source.enum.js +9 -0
  108. package/build/constants/tool-tts/enums/voice-status.enum.d.ts +5 -0
  109. package/build/constants/tool-tts/enums/voice-status.enum.js +9 -0
  110. package/build/constants/tool-tts/enums/voice-tag-group.enum.d.ts +5 -0
  111. package/build/constants/tool-tts/enums/voice-tag-group.enum.js +9 -0
  112. package/build/constants/tool-tts/enums/voice-tag.enum.d.ts +20 -0
  113. package/build/constants/tool-tts/enums/voice-tag.enum.js +24 -0
  114. package/build/constants/tool-tts/index.d.ts +1 -0
  115. package/build/constants/tool-tts/index.js +17 -0
  116. package/build/helpers/index.d.ts +1 -0
  117. package/build/helpers/index.js +1 -0
  118. package/build/helpers/photo-session/calculate-photo-session-price.helper.d.ts +6 -0
  119. package/build/helpers/photo-session/calculate-photo-session-price.helper.js +13 -0
  120. package/build/helpers/photo-session/index.d.ts +1 -0
  121. package/build/helpers/photo-session/index.js +17 -0
  122. package/build/models/ai-model-config.schema.d.ts +0 -7
  123. package/build/models/ai-model-config.schema.js +1 -6
  124. package/build/models/ai-model-formatted.schema.d.ts +0 -3
  125. package/build/models/ai-model.schema.d.ts +0 -9
  126. package/build/models/canvas-node-definition.schema.d.ts +33 -12
  127. package/build/models/tools/index.d.ts +1 -0
  128. package/build/models/tools/index.js +1 -0
  129. package/build/models/tools/photo-session/index.d.ts +4 -0
  130. package/build/models/tools/photo-session/index.js +20 -0
  131. package/build/models/tools/photo-session/photo-session-config.schema.d.ts +77 -0
  132. package/build/models/tools/photo-session/photo-session-config.schema.js +16 -0
  133. package/build/models/tools/photo-session/photo-session-job.schema.d.ts +79 -0
  134. package/build/models/tools/photo-session/photo-session-job.schema.js +47 -0
  135. package/build/models/tools/photo-session/photo-session-model.schema.d.ts +73 -0
  136. package/build/models/tools/photo-session/photo-session-model.schema.js +45 -0
  137. package/build/models/tools/photo-session/photo-session-style.schema.d.ts +29 -0
  138. package/build/models/tools/photo-session/photo-session-style.schema.js +22 -0
  139. package/build/models/tools/tts/index.d.ts +3 -0
  140. package/build/models/tools/tts/index.js +3 -0
  141. package/build/models/tools/tts/tts-config.schema.d.ts +23 -0
  142. package/build/models/tools/tts/tts-config.schema.js +14 -1
  143. package/build/models/tools/tts/tts-job.schema.d.ts +26 -1
  144. package/build/models/tools/tts/tts-job.schema.js +16 -2
  145. package/build/models/tools/tts/tts-model.schema.d.ts +1 -0
  146. package/build/models/tools/tts/tts-model.schema.js +1 -0
  147. package/build/models/tools/tts/voice-design-draft.schema.d.ts +12 -0
  148. package/build/models/tools/tts/voice-design-draft.schema.js +12 -0
  149. package/build/models/tools/tts/voice-design-sample.schema.d.ts +6 -0
  150. package/build/models/tools/tts/voice-design-sample.schema.js +8 -0
  151. package/build/models/tools/tts/voice.schema.d.ts +22 -0
  152. package/build/models/tools/tts/voice.schema.js +24 -0
  153. package/package.json +1 -1
@@ -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";
@@ -1150,6 +1162,38 @@ export declare const REST_API: {
1150
1162
  readonly DELETE_ALL: "/api/public/tools/diagrams/jobs";
1151
1163
  readonly RETRY: (uuid: string) => string;
1152
1164
  };
1165
+ readonly PHOTO_SESSION_PUBLIC: {
1166
+ readonly CONFIG: "/api/public/tools/photo-session/config";
1167
+ readonly EXECUTE: "/api/public/tools/photo-session/execute";
1168
+ readonly PRICE: "/api/public/tools/photo-session/price";
1169
+ readonly GET_JOBS: "/api/public/tools/photo-session/jobs";
1170
+ readonly GET_JOB: (uuid: string) => string;
1171
+ readonly UPDATE: (uuid: string) => string;
1172
+ readonly UPDATE_FAVORITE: (uuid: string) => string;
1173
+ readonly SET_REACTION: (uuid: string) => string;
1174
+ readonly UPDATE_PUBLISHED: (uuid: string) => string;
1175
+ readonly DELETE: (uuid: string) => string;
1176
+ readonly DELETE_ALL: "/api/public/tools/photo-session/jobs";
1177
+ readonly RETRY: (uuid: string) => string;
1178
+ };
1179
+ readonly PHOTO_SESSION_PRIVATE: {
1180
+ readonly CONFIG: "/api/private/tools/photo-session/config";
1181
+ readonly EXECUTE: "/api/private/tools/photo-session/execute";
1182
+ readonly PRICE: "/api/private/tools/photo-session/price";
1183
+ readonly GET_JOBS: "/api/private/tools/photo-session/jobs";
1184
+ readonly GET_JOB: (uuid: string) => string;
1185
+ readonly UPDATE: (uuid: string) => string;
1186
+ readonly UPDATE_FAVORITE: (uuid: string) => string;
1187
+ readonly SET_REACTION: (uuid: string) => string;
1188
+ readonly UPDATE_PUBLISHED: (uuid: string) => string;
1189
+ readonly DELETE: (uuid: string) => string;
1190
+ readonly DELETE_ALL: "/api/private/tools/photo-session/jobs";
1191
+ readonly RETRY: (uuid: string) => string;
1192
+ readonly ADMIN: {
1193
+ readonly STYLES: "/api/private/tools/photo-session/admin/styles";
1194
+ readonly STYLE: (uuid: string) => string;
1195
+ };
1196
+ };
1153
1197
  readonly TOOL_WORKSPACE_PRIVATE: {
1154
1198
  readonly GET_WORKSPACES: "/api/private/tools/workspaces/";
1155
1199
  readonly GET_WORKSPACE: (uuid: string) => string;
@@ -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}`,
@@ -1188,6 +1200,38 @@ exports.REST_API = {
1188
1200
  DELETE_ALL: `${exports.ROOT}/${CONTROLLERS.DIAGRAMS_CONTROLLER_PUBLIC}/${CONTROLLERS.DIAGRAMS_ROUTES.DELETE_ALL}`,
1189
1201
  RETRY: (uuid) => `${exports.ROOT}/${CONTROLLERS.DIAGRAMS_CONTROLLER_PUBLIC}/${CONTROLLERS.DIAGRAMS_ROUTES.RETRY(uuid)}`,
1190
1202
  },
1203
+ PHOTO_SESSION_PUBLIC: {
1204
+ CONFIG: `${exports.ROOT}/${CONTROLLERS.PHOTO_SESSION_CONTROLLER_PUBLIC}/${CONTROLLERS.PHOTO_SESSION_ROUTES.CONFIG}`,
1205
+ EXECUTE: `${exports.ROOT}/${CONTROLLERS.PHOTO_SESSION_CONTROLLER_PUBLIC}/${CONTROLLERS.PHOTO_SESSION_ROUTES.EXECUTE}`,
1206
+ PRICE: `${exports.ROOT}/${CONTROLLERS.PHOTO_SESSION_CONTROLLER_PUBLIC}/${CONTROLLERS.PHOTO_SESSION_ROUTES.PRICE}`,
1207
+ GET_JOBS: `${exports.ROOT}/${CONTROLLERS.PHOTO_SESSION_CONTROLLER_PUBLIC}/${CONTROLLERS.PHOTO_SESSION_ROUTES.GET_JOBS}`,
1208
+ GET_JOB: (uuid) => `${exports.ROOT}/${CONTROLLERS.PHOTO_SESSION_CONTROLLER_PUBLIC}/${CONTROLLERS.PHOTO_SESSION_ROUTES.GET_JOB(uuid)}`,
1209
+ UPDATE: (uuid) => `${exports.ROOT}/${CONTROLLERS.PHOTO_SESSION_CONTROLLER_PUBLIC}/${CONTROLLERS.PHOTO_SESSION_ROUTES.UPDATE(uuid)}`,
1210
+ UPDATE_FAVORITE: (uuid) => `${exports.ROOT}/${CONTROLLERS.PHOTO_SESSION_CONTROLLER_PUBLIC}/${CONTROLLERS.PHOTO_SESSION_ROUTES.UPDATE_FAVORITE(uuid)}`,
1211
+ SET_REACTION: (uuid) => `${exports.ROOT}/${CONTROLLERS.PHOTO_SESSION_CONTROLLER_PUBLIC}/${CONTROLLERS.PHOTO_SESSION_ROUTES.SET_REACTION(uuid)}`,
1212
+ UPDATE_PUBLISHED: (uuid) => `${exports.ROOT}/${CONTROLLERS.PHOTO_SESSION_CONTROLLER_PUBLIC}/${CONTROLLERS.PHOTO_SESSION_ROUTES.UPDATE_PUBLISHED(uuid)}`,
1213
+ DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.PHOTO_SESSION_CONTROLLER_PUBLIC}/${CONTROLLERS.PHOTO_SESSION_ROUTES.DELETE(uuid)}`,
1214
+ DELETE_ALL: `${exports.ROOT}/${CONTROLLERS.PHOTO_SESSION_CONTROLLER_PUBLIC}/${CONTROLLERS.PHOTO_SESSION_ROUTES.DELETE_ALL}`,
1215
+ RETRY: (uuid) => `${exports.ROOT}/${CONTROLLERS.PHOTO_SESSION_CONTROLLER_PUBLIC}/${CONTROLLERS.PHOTO_SESSION_ROUTES.RETRY(uuid)}`,
1216
+ },
1217
+ PHOTO_SESSION_PRIVATE: {
1218
+ CONFIG: `${exports.ROOT}/${CONTROLLERS.PHOTO_SESSION_CONTROLLER_PRIVATE}/${CONTROLLERS.PHOTO_SESSION_ROUTES.CONFIG}`,
1219
+ EXECUTE: `${exports.ROOT}/${CONTROLLERS.PHOTO_SESSION_CONTROLLER_PRIVATE}/${CONTROLLERS.PHOTO_SESSION_ROUTES.EXECUTE}`,
1220
+ PRICE: `${exports.ROOT}/${CONTROLLERS.PHOTO_SESSION_CONTROLLER_PRIVATE}/${CONTROLLERS.PHOTO_SESSION_ROUTES.PRICE}`,
1221
+ GET_JOBS: `${exports.ROOT}/${CONTROLLERS.PHOTO_SESSION_CONTROLLER_PRIVATE}/${CONTROLLERS.PHOTO_SESSION_ROUTES.GET_JOBS}`,
1222
+ GET_JOB: (uuid) => `${exports.ROOT}/${CONTROLLERS.PHOTO_SESSION_CONTROLLER_PRIVATE}/${CONTROLLERS.PHOTO_SESSION_ROUTES.GET_JOB(uuid)}`,
1223
+ UPDATE: (uuid) => `${exports.ROOT}/${CONTROLLERS.PHOTO_SESSION_CONTROLLER_PRIVATE}/${CONTROLLERS.PHOTO_SESSION_ROUTES.UPDATE(uuid)}`,
1224
+ UPDATE_FAVORITE: (uuid) => `${exports.ROOT}/${CONTROLLERS.PHOTO_SESSION_CONTROLLER_PRIVATE}/${CONTROLLERS.PHOTO_SESSION_ROUTES.UPDATE_FAVORITE(uuid)}`,
1225
+ SET_REACTION: (uuid) => `${exports.ROOT}/${CONTROLLERS.PHOTO_SESSION_CONTROLLER_PRIVATE}/${CONTROLLERS.PHOTO_SESSION_ROUTES.SET_REACTION(uuid)}`,
1226
+ UPDATE_PUBLISHED: (uuid) => `${exports.ROOT}/${CONTROLLERS.PHOTO_SESSION_CONTROLLER_PRIVATE}/${CONTROLLERS.PHOTO_SESSION_ROUTES.UPDATE_PUBLISHED(uuid)}`,
1227
+ DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.PHOTO_SESSION_CONTROLLER_PRIVATE}/${CONTROLLERS.PHOTO_SESSION_ROUTES.DELETE(uuid)}`,
1228
+ DELETE_ALL: `${exports.ROOT}/${CONTROLLERS.PHOTO_SESSION_CONTROLLER_PRIVATE}/${CONTROLLERS.PHOTO_SESSION_ROUTES.DELETE_ALL}`,
1229
+ RETRY: (uuid) => `${exports.ROOT}/${CONTROLLERS.PHOTO_SESSION_CONTROLLER_PRIVATE}/${CONTROLLERS.PHOTO_SESSION_ROUTES.RETRY(uuid)}`,
1230
+ ADMIN: {
1231
+ STYLES: `${exports.ROOT}/${CONTROLLERS.PHOTO_SESSION_CONTROLLER_PRIVATE}/${CONTROLLERS.PHOTO_SESSION_ROUTES.ADMIN.STYLES}`,
1232
+ STYLE: (uuid) => `${exports.ROOT}/${CONTROLLERS.PHOTO_SESSION_CONTROLLER_PRIVATE}/${CONTROLLERS.PHOTO_SESSION_ROUTES.ADMIN.STYLE(uuid)}`,
1233
+ },
1234
+ },
1191
1235
  TOOL_WORKSPACE_PRIVATE: {
1192
1236
  GET_WORKSPACES: `${exports.ROOT}/${CONTROLLERS.TOOL_WORKSPACE_CONTROLLER_PRIVATE}/${CONTROLLERS.TOOL_WORKSPACE_ROUTES.GET_WORKSPACES}`,
1193
1237
  GET_WORKSPACE: (uuid) => `${exports.ROOT}/${CONTROLLERS.TOOL_WORKSPACE_CONTROLLER_PRIVATE}/${CONTROLLERS.TOOL_WORKSPACE_ROUTES.GET_WORKSPACE(uuid)}`,
@@ -55,9 +55,6 @@ export declare namespace CreateAIModelCommand {
55
55
  stepPrice: z.ZodNumber;
56
56
  isActive: z.ZodBoolean;
57
57
  }, z.core.$strip>>;
58
- "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
59
- multiplier: z.ZodNumber;
60
- }, z.core.$strip>>;
61
58
  }, z.core.$strict>;
62
59
  }, z.core.$strip>;
63
60
  tags: z.ZodDefault<z.ZodArray<z.ZodEnum<typeof import("../..").AI_MODEL_TAG>>>;
@@ -125,9 +122,6 @@ export declare namespace CreateAIModelCommand {
125
122
  stepPrice: z.ZodNumber;
126
123
  isActive: z.ZodBoolean;
127
124
  }, z.core.$strip>>;
128
- "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
129
- multiplier: z.ZodNumber;
130
- }, z.core.$strip>>;
131
125
  }, z.core.$strict>;
132
126
  }, z.core.$strip>;
133
127
  createdAt: z.ZodDate;
@@ -80,9 +80,6 @@ export declare namespace FindAIModelCommand {
80
80
  stepPrice: z.ZodNumber;
81
81
  isActive: z.ZodBoolean;
82
82
  }, z.core.$strip>>;
83
- "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
84
- multiplier: z.ZodNumber;
85
- }, z.core.$strip>>;
86
83
  }, z.core.$strict>;
87
84
  }, z.core.$strip>;
88
85
  createdAt: z.ZodDate;
@@ -154,9 +151,6 @@ export declare namespace FindAIModelCommand {
154
151
  stepPrice: z.ZodNumber;
155
152
  isActive: z.ZodBoolean;
156
153
  }, z.core.$strip>>;
157
- "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
158
- multiplier: z.ZodNumber;
159
- }, z.core.$strip>>;
160
154
  }, z.core.$strict>;
161
155
  }, z.core.$strip>;
162
156
  createdAt: z.ZodDate;
@@ -61,9 +61,6 @@ export declare namespace FindAiModelsAvailableToUserCommand {
61
61
  stepPrice: z.ZodNumber;
62
62
  isActive: z.ZodBoolean;
63
63
  }, z.core.$strip>>;
64
- "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
65
- multiplier: z.ZodNumber;
66
- }, z.core.$strip>>;
67
64
  }, z.core.$strict>;
68
65
  }, z.core.$strip>;
69
66
  createdAt: z.ZodDate;
@@ -63,9 +63,6 @@ export declare namespace FindFormattedAIModelCommand {
63
63
  stepPrice: z.ZodNumber;
64
64
  isActive: z.ZodBoolean;
65
65
  }, z.core.$strip>>;
66
- "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
67
- multiplier: z.ZodNumber;
68
- }, z.core.$strip>>;
69
66
  }, z.core.$strict>;
70
67
  }, z.core.$strip>;
71
68
  createdAt: z.ZodDate;
@@ -136,9 +133,6 @@ export declare namespace FindFormattedAIModelCommand {
136
133
  stepPrice: z.ZodNumber;
137
134
  isActive: z.ZodBoolean;
138
135
  }, z.core.$strip>>;
139
- "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
140
- multiplier: z.ZodNumber;
141
- }, z.core.$strip>>;
142
136
  }, z.core.$strict>;
143
137
  }, z.core.$strip>;
144
138
  createdAt: z.ZodDate;
@@ -55,9 +55,6 @@ export declare namespace UpdateAIModelCommand {
55
55
  stepPrice: z.ZodNumber;
56
56
  isActive: z.ZodBoolean;
57
57
  }, z.core.$strip>>;
58
- "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
59
- multiplier: z.ZodNumber;
60
- }, z.core.$strip>>;
61
58
  }, z.core.$strict>;
62
59
  }, z.core.$strip>>;
63
60
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<typeof import("../..").AI_MODEL_TAG>>>>;
@@ -129,9 +126,6 @@ export declare namespace UpdateAIModelCommand {
129
126
  stepPrice: z.ZodNumber;
130
127
  isActive: z.ZodBoolean;
131
128
  }, z.core.$strip>>;
132
- "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
133
- multiplier: z.ZodNumber;
134
- }, z.core.$strip>>;
135
129
  }, z.core.$strict>;
136
130
  }, z.core.$strip>;
137
131
  createdAt: z.ZodDate;
@@ -117,9 +117,6 @@ export declare namespace FindCanvasNodeDefinitionsWithConfigsQuery {
117
117
  stepPrice: z.ZodNumber;
118
118
  isActive: z.ZodBoolean;
119
119
  }, z.core.$strip>>;
120
- "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
121
- multiplier: z.ZodNumber;
122
- }, z.core.$strip>>;
123
120
  }, z.core.$strict>;
124
121
  }, z.core.$strip>;
125
122
  createdAt: z.ZodDate;
@@ -299,6 +296,7 @@ export declare namespace FindCanvasNodeDefinitionsWithConfigsQuery {
299
296
  }, z.core.$strip>;
300
297
  }, z.core.$strip>;
301
298
  maxInputLength: z.ZodNumber;
299
+ maxSpeakers: z.ZodNumber;
302
300
  params: z.ZodObject<{
303
301
  speed: z.ZodOptional<z.ZodObject<{
304
302
  title: z.ZodString;
@@ -402,6 +400,16 @@ export declare namespace FindCanvasNodeDefinitionsWithConfigsQuery {
402
400
  canUse: z.ZodBoolean;
403
401
  status: z.ZodString;
404
402
  }, z.core.$strip>>;
403
+ tags: z.ZodArray<z.ZodObject<{
404
+ id: z.ZodEnum<typeof import("../../..").VOICE_TAG>;
405
+ group: z.ZodEnum<typeof import("../../..").VOICE_TAG_GROUP>;
406
+ label: z.ZodString;
407
+ }, z.core.$strip>>;
408
+ categories: z.ZodArray<z.ZodObject<{
409
+ id: z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>;
410
+ label: z.ZodString;
411
+ }, z.core.$strip>>;
412
+ speakerMarkerLabel: z.ZodString;
405
413
  }, z.core.$strip>;
406
414
  }, z.core.$strip>, z.ZodObject<{
407
415
  nodeType: z.ZodLiteral<import("../../..").CANVAS_NODE_TYPE.sttGen>;
@@ -76,9 +76,6 @@ export declare namespace GetTextGenerationConfigCommand {
76
76
  stepPrice: z.ZodNumber;
77
77
  isActive: z.ZodBoolean;
78
78
  }, z.core.$strip>>;
79
- "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
80
- multiplier: z.ZodNumber;
81
- }, z.core.$strip>>;
82
79
  }, z.core.$strict>;
83
80
  }, z.core.$strip>;
84
81
  createdAt: z.ZodDate;
@@ -59,9 +59,6 @@ export declare namespace GetVarGenConfigCommand {
59
59
  stepPrice: z.ZodNumber;
60
60
  isActive: z.ZodBoolean;
61
61
  }, z.core.$strip>>;
62
- "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
63
- multiplier: z.ZodNumber;
64
- }, z.core.$strip>>;
65
62
  }, z.core.$strict>;
66
63
  }, z.core.$strip>;
67
64
  createdAt: z.ZodDate;
@@ -162,9 +162,6 @@ export declare namespace GetB2bDocumentationCommand {
162
162
  stepPrice: z.ZodNumber;
163
163
  isActive: z.ZodBoolean;
164
164
  }, z.core.$strip>>;
165
- "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
166
- multiplier: z.ZodNumber;
167
- }, z.core.$strip>>;
168
165
  }, z.core.$strict>;
169
166
  }, z.core.$strip>;
170
167
  createdAt: z.ZodString;
@@ -346,9 +343,6 @@ export declare namespace GetB2bDocumentationCommand {
346
343
  stepPrice: z.ZodNumber;
347
344
  isActive: z.ZodBoolean;
348
345
  }, z.core.$strip>>;
349
- "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
350
- multiplier: z.ZodNumber;
351
- }, z.core.$strip>>;
352
346
  }, z.core.$strict>;
353
347
  }, z.core.$strip>;
354
348
  createdAt: z.ZodString;
@@ -118,9 +118,6 @@ export declare namespace FindPageByAliasCommand {
118
118
  stepPrice: z.ZodNumber;
119
119
  isActive: z.ZodBoolean;
120
120
  }, z.core.$strip>>;
121
- "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
122
- multiplier: z.ZodNumber;
123
- }, z.core.$strip>>;
124
121
  }, z.core.$strict>;
125
122
  }, z.core.$strip>;
126
123
  createdAt: z.ZodDate;
@@ -241,9 +238,6 @@ export declare namespace FindPageByAliasCommand {
241
238
  stepPrice: z.ZodNumber;
242
239
  isActive: z.ZodBoolean;
243
240
  }, z.core.$strip>>;
244
- "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
245
- multiplier: z.ZodNumber;
246
- }, z.core.$strip>>;
247
241
  }, z.core.$strict>;
248
242
  }, z.core.$strip>;
249
243
  createdAt: z.ZodDate;
@@ -142,9 +142,6 @@ export declare namespace FindPageCommand {
142
142
  stepPrice: z.ZodNumber;
143
143
  isActive: z.ZodBoolean;
144
144
  }, z.core.$strip>>;
145
- "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
146
- multiplier: z.ZodNumber;
147
- }, z.core.$strip>>;
148
145
  }, z.core.$strict>;
149
146
  }, z.core.$strip>;
150
147
  createdAt: z.ZodDate;
@@ -129,9 +129,6 @@ export declare namespace FindPagesByCriteriaCommand {
129
129
  stepPrice: z.ZodNumber;
130
130
  isActive: z.ZodBoolean;
131
131
  }, z.core.$strip>>;
132
- "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
133
- multiplier: z.ZodNumber;
134
- }, z.core.$strip>>;
135
132
  }, z.core.$strict>;
136
133
  }, z.core.$strip>;
137
134
  createdAt: z.ZodDate;
@@ -251,9 +248,6 @@ export declare namespace FindPagesByCriteriaCommand {
251
248
  stepPrice: z.ZodNumber;
252
249
  isActive: z.ZodBoolean;
253
250
  }, z.core.$strip>>;
254
- "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
255
- multiplier: z.ZodNumber;
256
- }, z.core.$strip>>;
257
251
  }, z.core.$strict>;
258
252
  }, z.core.$strip>;
259
253
  createdAt: z.ZodDate;
@@ -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);
@@ -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,26 @@
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
18
+ .array(exports.CreatePhotoSessionStyleReferenceSchema)
19
+ .max(6)
20
+ .refine((references) => new Set(references.map((reference) => reference.order)).size ===
21
+ references.length, { message: 'Reference order must be unique' }),
22
+ });
23
+ CreatePhotoSessionStyleCommand.ResponseSchema = zod_1.z.object({
24
+ data: models_1.PhotoSessionStyleSchema,
25
+ });
26
+ })(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
+ }