@purpleschool/gptbot-tools 0.2.60 → 0.2.61-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 (192) hide show
  1. package/build/ai-proxy/routes/ai-proxy.routes.d.ts +1 -0
  2. package/build/ai-proxy/routes/ai-proxy.routes.js +1 -0
  3. package/build/index.d.ts +3 -3
  4. package/build/index.js +3 -3
  5. package/build/photo-sessions/commands/admin/create-photo-session-style.command.d.ts +58 -0
  6. package/build/photo-sessions/commands/admin/create-photo-session-style.command.js +21 -0
  7. package/build/photo-sessions/commands/admin/delete-photo-session-style.command.d.ts +14 -0
  8. package/build/photo-sessions/commands/admin/delete-photo-session-style.command.js +12 -0
  9. package/build/photo-sessions/commands/admin/index.d.ts +3 -0
  10. package/build/{sound-generation/queries → photo-sessions/commands/admin}/index.js +3 -3
  11. package/build/photo-sessions/commands/admin/update-photo-session-style.command.d.ts +55 -0
  12. package/build/photo-sessions/commands/admin/update-photo-session-style.command.js +28 -0
  13. package/build/{sound-generation/commands/delete-all-sound-generation-jobs.command.d.ts → photo-sessions/commands/delete-all-photo-sessions-jobs.command.d.ts} +1 -1
  14. package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.js +15 -0
  15. package/build/{sound-generation/commands/delete-sound-generation-job-by-uuid.command.d.ts → photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.d.ts} +2 -2
  16. package/build/photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.js +14 -0
  17. package/build/photo-sessions/commands/get-photo-sessions-price.command.d.ts +46 -0
  18. package/build/photo-sessions/commands/get-photo-sessions-price.command.js +30 -0
  19. package/build/photo-sessions/commands/index.d.ts +10 -0
  20. package/build/{sound-generation → photo-sessions}/commands/index.js +10 -8
  21. package/build/photo-sessions/commands/photo-sessions.command.d.ts +147 -0
  22. package/build/photo-sessions/commands/photo-sessions.command.js +41 -0
  23. package/build/photo-sessions/commands/retry-photo-sessions-job.command.d.ts +142 -0
  24. package/build/photo-sessions/commands/retry-photo-sessions-job.command.js +23 -0
  25. package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.d.ts +115 -0
  26. package/build/{sound-generation/commands/set-reaction-to-sound-generation-job.command.js → photo-sessions/commands/set-reaction-to-photo-sessions-job.command.js} +7 -7
  27. package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.d.ts +113 -0
  28. package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.js +16 -0
  29. package/build/photo-sessions/commands/update-photo-sessions-job-title.command.d.ts +113 -0
  30. package/build/photo-sessions/commands/update-photo-sessions-job-title.command.js +16 -0
  31. package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.d.ts +118 -0
  32. package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.js +26 -0
  33. package/build/photo-sessions/enums/index.d.ts +2 -0
  34. package/build/{sound-generation/routes → photo-sessions/enums}/index.js +2 -1
  35. package/build/photo-sessions/enums/photo-session-look-type.enum.d.ts +5 -0
  36. package/build/photo-sessions/enums/photo-session-look-type.enum.js +9 -0
  37. package/build/photo-sessions/enums/photo-session-strategy.enum.d.ts +4 -0
  38. package/build/photo-sessions/enums/photo-session-strategy.enum.js +8 -0
  39. package/build/photo-sessions/models/index.d.ts +4 -0
  40. package/build/photo-sessions/models/index.js +20 -0
  41. package/build/photo-sessions/models/photo-session-config.schema.d.ts +72 -0
  42. package/build/photo-sessions/models/photo-session-config.schema.js +16 -0
  43. package/build/photo-sessions/models/photo-session-job.schema.d.ts +78 -0
  44. package/build/photo-sessions/models/photo-session-job.schema.js +46 -0
  45. package/build/photo-sessions/models/photo-session-model.schema.d.ts +69 -0
  46. package/build/photo-sessions/models/photo-session-model.schema.js +42 -0
  47. package/build/photo-sessions/models/photo-session-style.schema.d.ts +29 -0
  48. package/build/photo-sessions/models/photo-session-style.schema.js +22 -0
  49. package/build/photo-sessions/queries/find-photo-session-style-by-id.query.d.ts +46 -0
  50. package/build/photo-sessions/queries/find-photo-session-style-by-id.query.js +10 -0
  51. package/build/photo-sessions/queries/find-photo-session-styles.query.d.ts +57 -0
  52. package/build/photo-sessions/queries/find-photo-session-styles.query.js +19 -0
  53. package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.d.ts +110 -0
  54. package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.js +10 -0
  55. package/build/{sound-generation/queries/find-sound-generation-jobs.query.d.ts → photo-sessions/queries/find-photo-sessions-jobs.query.d.ts} +63 -33
  56. package/build/{sound-generation/queries/find-sound-generation-jobs.query.js → photo-sessions/queries/find-photo-sessions-jobs.query.js} +10 -17
  57. package/build/photo-sessions/queries/get-photo-sessions-config.query.d.ts +142 -0
  58. package/build/photo-sessions/queries/get-photo-sessions-config.query.js +10 -0
  59. package/build/photo-sessions/queries/index.d.ts +5 -0
  60. package/build/{sound-generation/models → photo-sessions/queries}/index.js +5 -5
  61. package/build/photo-sessions/routes/index.d.ts +2 -0
  62. package/build/{sound-generation/enums → photo-sessions/routes}/index.js +2 -1
  63. package/build/photo-sessions/routes/photo-sessions.amqp.routes.d.ts +19 -0
  64. package/build/photo-sessions/routes/photo-sessions.amqp.routes.js +22 -0
  65. package/build/photo-sessions/routes/photo-sessions.http.routes.d.ts +1 -0
  66. package/build/photo-sessions/routes/photo-sessions.http.routes.js +4 -0
  67. package/build/tools/enums/tool-content-type.enum.d.ts +2 -2
  68. package/build/tools/enums/tool-content-type.enum.js +1 -1
  69. package/build/tools/enums/tool-type.enum.d.ts +2 -2
  70. package/build/tools/enums/tool-type.enum.js +1 -1
  71. package/build/tools/models/global-tools-config.schema.d.ts +69 -25
  72. package/build/tools/models/global-tools-config.schema.js +2 -2
  73. package/build/tools/models/tools-with-configs.schema.d.ts +22 -88
  74. package/build/tools/models/tools-with-configs.schema.js +0 -5
  75. package/build/tools/queries/get-global-tools-config.query.d.ts +134 -46
  76. package/build/tools/queries/get-tools-with-configs.query.d.ts +22 -88
  77. package/build/tts/commands/create-voice-clone.command.d.ts +69 -0
  78. package/build/tts/commands/create-voice-clone.command.js +21 -0
  79. package/build/tts/commands/create-voice-design.command.d.ts +40 -0
  80. package/build/tts/commands/create-voice-design.command.js +20 -0
  81. package/build/tts/commands/delete-voice.command.d.ts +17 -0
  82. package/build/tts/commands/delete-voice.command.js +14 -0
  83. package/build/tts/commands/download-tts-job.command.d.ts +25 -0
  84. package/build/tts/commands/download-tts-job.command.js +19 -0
  85. package/build/{sound-generation/commands/get-sound-generation-price.command.d.ts → tts/commands/improve-tts-text.command.d.ts} +6 -8
  86. package/build/tts/commands/improve-tts-text.command.js +16 -0
  87. package/build/tts/commands/index.d.ts +7 -0
  88. package/build/tts/commands/index.js +7 -0
  89. package/build/tts/commands/retry-tts-job.command.d.ts +29 -2
  90. package/build/tts/commands/retry-tts-job.command.js +2 -0
  91. package/build/tts/commands/select-voice-design.command.d.ts +65 -0
  92. package/build/tts/commands/select-voice-design.command.js +17 -0
  93. package/build/tts/commands/set-reaction-to-tts-job.command.d.ts +29 -2
  94. package/build/tts/commands/set-reaction-to-tts-job.command.js +1 -0
  95. package/build/tts/commands/tts.command.d.ts +35 -3
  96. package/build/tts/commands/tts.command.js +4 -1
  97. package/build/tts/commands/update-tts-job-favorite.command.d.ts +29 -2
  98. package/build/tts/commands/update-tts-job-favorite.command.js +2 -0
  99. package/build/tts/commands/update-tts-job-title.command.d.ts +29 -2
  100. package/build/tts/commands/update-tts-job-title.command.js +2 -0
  101. package/build/tts/commands/update-voice.command.d.ts +66 -0
  102. package/build/tts/commands/update-voice.command.js +18 -0
  103. package/build/tts/enums/index.d.ts +7 -0
  104. package/build/tts/enums/index.js +7 -0
  105. package/build/tts/enums/tts-download-format.enum.d.ts +5 -0
  106. package/build/tts/enums/tts-download-format.enum.js +9 -0
  107. package/build/tts/enums/voice-category.enum.d.ts +19 -0
  108. package/build/tts/enums/voice-category.enum.js +23 -0
  109. package/build/tts/enums/voice-gender.enum.d.ts +4 -0
  110. package/build/tts/enums/voice-gender.enum.js +8 -0
  111. package/build/tts/enums/voice-source.enum.d.ts +5 -0
  112. package/build/tts/enums/voice-source.enum.js +9 -0
  113. package/build/tts/enums/voice-status.enum.d.ts +5 -0
  114. package/build/tts/enums/voice-status.enum.js +9 -0
  115. package/build/tts/enums/voice-tag-group.enum.d.ts +5 -0
  116. package/build/tts/enums/voice-tag-group.enum.js +9 -0
  117. package/build/tts/enums/voice-tag.enum.d.ts +20 -0
  118. package/build/tts/enums/voice-tag.enum.js +24 -0
  119. package/build/tts/models/index.d.ts +6 -0
  120. package/build/tts/models/index.js +6 -0
  121. package/build/tts/models/tts-config-with-vendors.schema.d.ts +1 -0
  122. package/build/tts/models/tts-config.schema.d.ts +11 -0
  123. package/build/tts/models/tts-config.schema.js +5 -0
  124. package/build/tts/models/tts-job.schema.d.ts +34 -2
  125. package/build/tts/models/tts-job.schema.js +22 -2
  126. package/build/tts/models/tts-model-with-vendor.schema.d.ts +1 -0
  127. package/build/tts/models/tts-model.schema.d.ts +1 -0
  128. package/build/tts/models/tts-model.schema.js +1 -0
  129. package/build/tts/models/voice-category.schema.d.ts +7 -0
  130. package/build/tts/models/voice-category.schema.js +9 -0
  131. package/build/tts/models/voice-design-draft.schema.d.ts +13 -0
  132. package/build/tts/models/voice-design-draft.schema.js +13 -0
  133. package/build/tts/models/voice-design-sample.schema.d.ts +6 -0
  134. package/build/tts/models/voice-design-sample.schema.js +8 -0
  135. package/build/tts/models/voice-source.schema.d.ts +7 -0
  136. package/build/tts/models/voice-source.schema.js +9 -0
  137. package/build/tts/models/voice-tag.schema.d.ts +9 -0
  138. package/build/tts/models/voice-tag.schema.js +11 -0
  139. package/build/tts/models/voice.schema.d.ts +30 -0
  140. package/build/tts/models/voice.schema.js +30 -0
  141. package/build/tts/queries/find-tts-job-by-id.query.d.ts +29 -2
  142. package/build/tts/queries/find-tts-job-by-id.query.js +2 -0
  143. package/build/tts/queries/find-tts-jobs.query.d.ts +29 -2
  144. package/build/tts/queries/find-tts-jobs.query.js +1 -0
  145. package/build/tts/queries/find-voice-by-id.query.d.ts +65 -0
  146. package/build/tts/queries/find-voice-by-id.query.js +17 -0
  147. package/build/tts/queries/find-voices.query.d.ts +104 -0
  148. package/build/tts/queries/find-voices.query.js +25 -0
  149. package/build/tts/queries/get-tts-config-with-vendors.query.d.ts +2 -0
  150. package/build/tts/queries/get-tts-config.query.d.ts +22 -0
  151. package/build/tts/queries/index.d.ts +2 -0
  152. package/build/tts/queries/index.js +2 -0
  153. package/build/tts/routes/tts.amqp.routes.d.ts +9 -0
  154. package/build/tts/routes/tts.amqp.routes.js +9 -0
  155. package/package.json +1 -1
  156. package/build/sound-generation/commands/delete-all-sound-generation-jobs.command.js +0 -14
  157. package/build/sound-generation/commands/delete-sound-generation-job-by-uuid.command.js +0 -14
  158. package/build/sound-generation/commands/get-sound-generation-price.command.js +0 -17
  159. package/build/sound-generation/commands/index.d.ts +0 -8
  160. package/build/sound-generation/commands/retry-sound-generation-job.command.d.ts +0 -84
  161. package/build/sound-generation/commands/retry-sound-generation-job.command.js +0 -17
  162. package/build/sound-generation/commands/set-reaction-to-sound-generation-job.command.d.ts +0 -85
  163. package/build/sound-generation/commands/sound-generation.command.d.ts +0 -94
  164. package/build/sound-generation/commands/sound-generation.command.js +0 -27
  165. package/build/sound-generation/commands/update-sound-generation-job-favorite.command.d.ts +0 -83
  166. package/build/sound-generation/commands/update-sound-generation-job-favorite.command.js +0 -16
  167. package/build/sound-generation/commands/update-sound-generation-job-title.command.d.ts +0 -83
  168. package/build/sound-generation/commands/update-sound-generation-job-title.command.js +0 -16
  169. package/build/sound-generation/enums/index.d.ts +0 -1
  170. package/build/sound-generation/enums/sound-generation-strategy.enum.d.ts +0 -3
  171. package/build/sound-generation/enums/sound-generation-strategy.enum.js +0 -7
  172. package/build/sound-generation/models/index.d.ts +0 -5
  173. package/build/sound-generation/models/sound-generation-config.schema.d.ts +0 -34
  174. package/build/sound-generation/models/sound-generation-config.schema.js +0 -8
  175. package/build/sound-generation/models/sound-generation-job.schema.d.ts +0 -38
  176. package/build/sound-generation/models/sound-generation-job.schema.js +0 -34
  177. package/build/sound-generation/models/sound-generation-model.schema.d.ts +0 -42
  178. package/build/sound-generation/models/sound-generation-model.schema.js +0 -28
  179. package/build/sound-generation/models/sound-generation-params.schema.d.ts +0 -8
  180. package/build/sound-generation/models/sound-generation-params.schema.js +0 -10
  181. package/build/sound-generation/models/sound-generation-result.schema.d.ts +0 -6
  182. package/build/sound-generation/models/sound-generation-result.schema.js +0 -8
  183. package/build/sound-generation/queries/find-sound-generation-job-by-id.query.d.ts +0 -82
  184. package/build/sound-generation/queries/find-sound-generation-job-by-id.query.js +0 -15
  185. package/build/sound-generation/queries/get-sound-generation-config.query.d.ts +0 -76
  186. package/build/sound-generation/queries/get-sound-generation-config.query.js +0 -10
  187. package/build/sound-generation/queries/index.d.ts +0 -3
  188. package/build/sound-generation/routes/index.d.ts +0 -1
  189. package/build/sound-generation/routes/sound-generation.amqp.routes.d.ts +0 -13
  190. package/build/sound-generation/routes/sound-generation.amqp.routes.js +0 -16
  191. /package/build/{sound-generation → photo-sessions}/index.d.ts +0 -0
  192. /package/build/{sound-generation → photo-sessions}/index.js +0 -0
@@ -22,6 +22,6 @@ var TOOL_TYPE;
22
22
  TOOL_TYPE["SOLVING_EDU_TASK"] = "SOLVING_EDU_TASK";
23
23
  TOOL_TYPE["DIAGRAMS"] = "DIAGRAMS";
24
24
  TOOL_TYPE["HTML_PAGE_BUILDER"] = "HTML_PAGE_BUILDER";
25
+ TOOL_TYPE["PHOTO_SESSION"] = "PHOTO_SESSION";
25
26
  TOOL_TYPE["IMAGE_RECOGNITION"] = "IMAGE_RECOGNITION";
26
- TOOL_TYPE["SOUND_GENERATION"] = "SOUND_GENERATION";
27
27
  })(TOOL_TYPE || (exports.TOOL_TYPE = TOOL_TYPE = {}));
@@ -543,6 +543,7 @@ export declare const GlobalToolsConfigSchema: z.ZodObject<{
543
543
  }, z.core.$strip>;
544
544
  strategy: z.ZodOptional<z.ZodString>;
545
545
  maxInputLength: z.ZodNumber;
546
+ maxSpeakers: z.ZodNumber;
546
547
  voices: z.ZodArray<z.ZodObject<{
547
548
  id: z.ZodString;
548
549
  externalId: z.ZodString;
@@ -643,6 +644,16 @@ export declare const GlobalToolsConfigSchema: z.ZodObject<{
643
644
  createdAt: z.ZodDate;
644
645
  updatedAt: z.ZodDate;
645
646
  }, z.core.$strip>>;
647
+ tags: z.ZodArray<z.ZodObject<{
648
+ id: z.ZodEnum<typeof import("../..").VOICE_TAG>;
649
+ group: z.ZodEnum<typeof import("../..").VOICE_TAG_GROUP>;
650
+ label: z.ZodString;
651
+ }, z.core.$strip>>;
652
+ categories: z.ZodArray<z.ZodObject<{
653
+ id: z.ZodEnum<typeof import("../..").VOICE_CATEGORY>;
654
+ label: z.ZodString;
655
+ }, z.core.$strip>>;
656
+ speakerMarkerLabel: z.ZodString;
646
657
  }, z.core.$strip>;
647
658
  SPEECH_TO_TEXT: z.ZodObject<{
648
659
  models: z.ZodArray<z.ZodObject<{
@@ -902,13 +913,15 @@ export declare const GlobalToolsConfigSchema: z.ZodObject<{
902
913
  }, z.core.$strip>>;
903
914
  maxAttachmentsCount: z.ZodNumber;
904
915
  }, z.core.$strip>;
905
- IMAGE_RECOGNITION: z.ZodObject<{
916
+ PHOTO_SESSIONS: z.ZodObject<{
906
917
  models: z.ZodArray<z.ZodObject<{
907
918
  uuid: z.ZodString;
908
919
  title: z.ZodString;
909
920
  description: z.ZodString;
910
921
  aiModel: z.ZodString;
911
- price: z.ZodNumber;
922
+ isNew: z.ZodBoolean;
923
+ tierLabel: z.ZodString;
924
+ pricePerImage: z.ZodNumber;
912
925
  order: z.ZodNumber;
913
926
  status: z.ZodEnum<typeof import("../..").TOOL_MODEL_STATUS>;
914
927
  icons: z.ZodObject<{
@@ -921,45 +934,57 @@ export declare const GlobalToolsConfigSchema: z.ZodObject<{
921
934
  png: z.ZodString;
922
935
  }, z.core.$strip>;
923
936
  }, z.core.$strip>;
924
- maxPromptLength: z.ZodNumber;
937
+ strategy: z.ZodEnum<typeof import("../..").PHOTO_SESSION_STRATEGY>;
938
+ maxInputLength: z.ZodNumber;
925
939
  params: z.ZodObject<{
926
940
  imageAttachment: z.ZodObject<{
927
941
  supported: z.ZodBoolean;
928
942
  maxImages: z.ZodNumber;
929
943
  acceptedTypes: z.ZodArray<z.ZodString>;
930
944
  }, z.core.$strip>;
945
+ aspectRatio: z.ZodRecord<z.ZodString, z.ZodObject<{
946
+ width: z.ZodNumber;
947
+ height: z.ZodNumber;
948
+ }, z.core.$strip>>;
931
949
  }, z.core.$strip>;
950
+ pricingRules: z.ZodArray<z.ZodObject<{
951
+ condition: z.ZodObject<{
952
+ withoutSub: z.ZodOptional<z.ZodBoolean>;
953
+ }, z.core.$strip>;
954
+ value: z.ZodNumber;
955
+ }, z.core.$strip>>;
932
956
  createdAt: z.ZodDate;
933
957
  updatedAt: z.ZodDate;
934
958
  }, z.core.$strip>>;
935
- categories: z.ZodArray<z.ZodObject<{
959
+ styles: z.ZodArray<z.ZodObject<{
936
960
  uuid: z.ZodString;
937
- parentId: z.ZodNullable<z.ZodString>;
961
+ code: z.ZodString;
938
962
  title: z.ZodString;
939
- systemPrompt: z.ZodString;
940
- order: z.ZodNumber;
941
- status: z.ZodEnum<typeof import("../..").TOOL_MODEL_STATUS>;
942
- icons: z.ZodNullable<z.ZodObject<{
943
- light: z.ZodObject<{
944
- svg: z.ZodString;
945
- png: z.ZodString;
946
- }, z.core.$strip>;
947
- dark: z.ZodObject<{
948
- svg: z.ZodString;
949
- png: z.ZodString;
950
- }, z.core.$strip>;
963
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
964
+ references: z.ZodArray<z.ZodObject<{
965
+ uuid: z.ZodString;
966
+ styleId: z.ZodString;
967
+ photoUrl: z.ZodString;
968
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
969
+ order: z.ZodNumber;
970
+ createdAt: z.ZodDate;
971
+ updatedAt: z.ZodDate;
951
972
  }, z.core.$strip>>;
952
973
  createdAt: z.ZodDate;
953
974
  updatedAt: z.ZodDate;
954
975
  }, z.core.$strip>>;
976
+ looks: z.ZodArray<z.ZodObject<{
977
+ type: z.ZodEnum<typeof import("../..").PHOTO_SESSION_LOOK_TYPE>;
978
+ maxPhotos: z.ZodNumber;
979
+ }, z.core.$strip>>;
955
980
  }, z.core.$strip>;
956
- SOUND_GENERATION: z.ZodObject<{
981
+ IMAGE_RECOGNITION: z.ZodObject<{
957
982
  models: z.ZodArray<z.ZodObject<{
958
983
  uuid: z.ZodString;
959
984
  title: z.ZodString;
960
985
  description: z.ZodString;
961
986
  aiModel: z.ZodString;
962
- pricePerSecond: z.ZodNumber;
987
+ price: z.ZodNumber;
963
988
  order: z.ZodNumber;
964
989
  status: z.ZodEnum<typeof import("../..").TOOL_MODEL_STATUS>;
965
990
  icons: z.ZodObject<{
@@ -972,18 +997,37 @@ export declare const GlobalToolsConfigSchema: z.ZodObject<{
972
997
  png: z.ZodString;
973
998
  }, z.core.$strip>;
974
999
  }, z.core.$strip>;
975
- strategy: z.ZodEnum<typeof import("../..").SOUND_GENERATION_STRATEGY>;
976
1000
  maxPromptLength: z.ZodNumber;
977
1001
  params: z.ZodObject<{
978
- minDurationSeconds: z.ZodNumber;
979
- maxDurationSeconds: z.ZodNumber;
980
- durationStepSeconds: z.ZodNumber;
981
- maxVariations: z.ZodNumber;
982
- supportsLoop: z.ZodBoolean;
1002
+ imageAttachment: z.ZodObject<{
1003
+ supported: z.ZodBoolean;
1004
+ maxImages: z.ZodNumber;
1005
+ acceptedTypes: z.ZodArray<z.ZodString>;
1006
+ }, z.core.$strip>;
983
1007
  }, z.core.$strip>;
984
1008
  createdAt: z.ZodDate;
985
1009
  updatedAt: z.ZodDate;
986
1010
  }, z.core.$strip>>;
1011
+ categories: z.ZodArray<z.ZodObject<{
1012
+ uuid: z.ZodString;
1013
+ parentId: z.ZodNullable<z.ZodString>;
1014
+ title: z.ZodString;
1015
+ systemPrompt: z.ZodString;
1016
+ order: z.ZodNumber;
1017
+ status: z.ZodEnum<typeof import("../..").TOOL_MODEL_STATUS>;
1018
+ icons: z.ZodNullable<z.ZodObject<{
1019
+ light: z.ZodObject<{
1020
+ svg: z.ZodString;
1021
+ png: z.ZodString;
1022
+ }, z.core.$strip>;
1023
+ dark: z.ZodObject<{
1024
+ svg: z.ZodString;
1025
+ png: z.ZodString;
1026
+ }, z.core.$strip>;
1027
+ }, z.core.$strip>>;
1028
+ createdAt: z.ZodDate;
1029
+ updatedAt: z.ZodDate;
1030
+ }, z.core.$strip>>;
987
1031
  }, z.core.$strip>;
988
1032
  }, z.core.$strip>;
989
1033
  export type GlobalToolsConfig = z.infer<typeof GlobalToolsConfigSchema>;
@@ -19,8 +19,8 @@ const solving_edu_task_1 = require("../../solving-edu-task");
19
19
  const spell_corrector_1 = require("../../spell-corrector");
20
20
  const diagrams_1 = require("../../diagrams");
21
21
  const models_2 = require("../../html-page-builder/models");
22
+ const photo_sessions_1 = require("../../photo-sessions");
22
23
  const image_recognition_1 = require("../../image-recognition");
23
- const sound_generation_1 = require("../../sound-generation");
24
24
  exports.GlobalToolsConfigSchema = zod_1.z.object({
25
25
  [enums_1.TOOL_CONTENT_TYPE.VIDEO]: video_1.VideoConfigSchema,
26
26
  [enums_1.TOOL_CONTENT_TYPE.MUSIC]: music_1.MusicConfigSchema,
@@ -38,6 +38,6 @@ exports.GlobalToolsConfigSchema = zod_1.z.object({
38
38
  [enums_1.TOOL_CONTENT_TYPE.SPELL_CORRECTOR]: spell_corrector_1.SpellCorrectorToolConfigSchema,
39
39
  [enums_1.TOOL_CONTENT_TYPE.DIAGRAMS]: diagrams_1.DiagramsConfigSchema,
40
40
  [enums_1.TOOL_CONTENT_TYPE.HTML_PAGE_BUILDER]: models_2.HtmlPageBuilderConfigSchema,
41
+ [enums_1.TOOL_CONTENT_TYPE.PHOTO_SESSIONS]: photo_sessions_1.PhotoSessionConfigSchema,
41
42
  [enums_1.TOOL_CONTENT_TYPE.IMAGE_RECOGNITION]: image_recognition_1.ImageRecognitionConfigSchema,
42
- [enums_1.TOOL_CONTENT_TYPE.SOUND_GENERATION]: sound_generation_1.SoundGenerationConfigSchema,
43
43
  });
@@ -651,6 +651,7 @@ export declare const ToolWithConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
651
651
  }, z.core.$strip>;
652
652
  strategy: z.ZodOptional<z.ZodString>;
653
653
  maxInputLength: z.ZodNumber;
654
+ maxSpeakers: z.ZodNumber;
654
655
  voices: z.ZodArray<z.ZodObject<{
655
656
  id: z.ZodString;
656
657
  externalId: z.ZodString;
@@ -751,6 +752,16 @@ export declare const ToolWithConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
751
752
  createdAt: z.ZodDate;
752
753
  updatedAt: z.ZodDate;
753
754
  }, z.core.$strip>>;
755
+ tags: z.ZodArray<z.ZodObject<{
756
+ id: z.ZodEnum<typeof import("../..").VOICE_TAG>;
757
+ group: z.ZodEnum<typeof import("../..").VOICE_TAG_GROUP>;
758
+ label: z.ZodString;
759
+ }, z.core.$strip>>;
760
+ categories: z.ZodArray<z.ZodObject<{
761
+ id: z.ZodEnum<typeof import("../..").VOICE_CATEGORY>;
762
+ label: z.ZodString;
763
+ }, z.core.$strip>>;
764
+ speakerMarkerLabel: z.ZodString;
754
765
  }, z.core.$strip>;
755
766
  }, z.core.$strip>, z.ZodObject<{
756
767
  uuid: z.ZodString;
@@ -1157,50 +1168,6 @@ export declare const ToolWithConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
1157
1168
  updatedAt: z.ZodDate;
1158
1169
  }, z.core.$strip>>;
1159
1170
  }, z.core.$strip>;
1160
- }, z.core.$strip>, z.ZodObject<{
1161
- uuid: z.ZodString;
1162
- title: z.ZodString;
1163
- description: z.ZodString;
1164
- icon: z.ZodString;
1165
- alias: z.ZodString;
1166
- bgColor: z.ZodString;
1167
- iconColor: z.ZodString;
1168
- order: z.ZodNumber;
1169
- createdAt: z.ZodDate;
1170
- updatedAt: z.ZodDate;
1171
- contentType: z.ZodLiteral<TOOL_CONTENT_TYPE.SOUND_GENERATION>;
1172
- config: z.ZodObject<{
1173
- models: z.ZodArray<z.ZodObject<{
1174
- uuid: z.ZodString;
1175
- title: z.ZodString;
1176
- description: z.ZodString;
1177
- aiModel: z.ZodString;
1178
- pricePerSecond: z.ZodNumber;
1179
- order: z.ZodNumber;
1180
- status: z.ZodEnum<typeof import("../..").TOOL_MODEL_STATUS>;
1181
- icons: z.ZodObject<{
1182
- light: z.ZodObject<{
1183
- svg: z.ZodString;
1184
- png: z.ZodString;
1185
- }, z.core.$strip>;
1186
- dark: z.ZodObject<{
1187
- svg: z.ZodString;
1188
- png: z.ZodString;
1189
- }, z.core.$strip>;
1190
- }, z.core.$strip>;
1191
- strategy: z.ZodEnum<typeof import("../..").SOUND_GENERATION_STRATEGY>;
1192
- maxPromptLength: z.ZodNumber;
1193
- params: z.ZodObject<{
1194
- minDurationSeconds: z.ZodNumber;
1195
- maxDurationSeconds: z.ZodNumber;
1196
- durationStepSeconds: z.ZodNumber;
1197
- maxVariations: z.ZodNumber;
1198
- supportsLoop: z.ZodBoolean;
1199
- }, z.core.$strip>;
1200
- createdAt: z.ZodDate;
1201
- updatedAt: z.ZodDate;
1202
- }, z.core.$strip>>;
1203
- }, z.core.$strip>;
1204
1171
  }, z.core.$strip>], "contentType">;
1205
1172
  export type ToolWithConfig = z.infer<typeof ToolWithConfigSchema>;
1206
1173
  export declare const ToolsWithConfigsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1854,6 +1821,7 @@ export declare const ToolsWithConfigsSchema: z.ZodArray<z.ZodDiscriminatedUnion<
1854
1821
  }, z.core.$strip>;
1855
1822
  strategy: z.ZodOptional<z.ZodString>;
1856
1823
  maxInputLength: z.ZodNumber;
1824
+ maxSpeakers: z.ZodNumber;
1857
1825
  voices: z.ZodArray<z.ZodObject<{
1858
1826
  id: z.ZodString;
1859
1827
  externalId: z.ZodString;
@@ -1954,6 +1922,16 @@ export declare const ToolsWithConfigsSchema: z.ZodArray<z.ZodDiscriminatedUnion<
1954
1922
  createdAt: z.ZodDate;
1955
1923
  updatedAt: z.ZodDate;
1956
1924
  }, z.core.$strip>>;
1925
+ tags: z.ZodArray<z.ZodObject<{
1926
+ id: z.ZodEnum<typeof import("../..").VOICE_TAG>;
1927
+ group: z.ZodEnum<typeof import("../..").VOICE_TAG_GROUP>;
1928
+ label: z.ZodString;
1929
+ }, z.core.$strip>>;
1930
+ categories: z.ZodArray<z.ZodObject<{
1931
+ id: z.ZodEnum<typeof import("../..").VOICE_CATEGORY>;
1932
+ label: z.ZodString;
1933
+ }, z.core.$strip>>;
1934
+ speakerMarkerLabel: z.ZodString;
1957
1935
  }, z.core.$strip>;
1958
1936
  }, z.core.$strip>, z.ZodObject<{
1959
1937
  uuid: z.ZodString;
@@ -2360,49 +2338,5 @@ export declare const ToolsWithConfigsSchema: z.ZodArray<z.ZodDiscriminatedUnion<
2360
2338
  updatedAt: z.ZodDate;
2361
2339
  }, z.core.$strip>>;
2362
2340
  }, z.core.$strip>;
2363
- }, z.core.$strip>, z.ZodObject<{
2364
- uuid: z.ZodString;
2365
- title: z.ZodString;
2366
- description: z.ZodString;
2367
- icon: z.ZodString;
2368
- alias: z.ZodString;
2369
- bgColor: z.ZodString;
2370
- iconColor: z.ZodString;
2371
- order: z.ZodNumber;
2372
- createdAt: z.ZodDate;
2373
- updatedAt: z.ZodDate;
2374
- contentType: z.ZodLiteral<TOOL_CONTENT_TYPE.SOUND_GENERATION>;
2375
- config: z.ZodObject<{
2376
- models: z.ZodArray<z.ZodObject<{
2377
- uuid: z.ZodString;
2378
- title: z.ZodString;
2379
- description: z.ZodString;
2380
- aiModel: z.ZodString;
2381
- pricePerSecond: z.ZodNumber;
2382
- order: z.ZodNumber;
2383
- status: z.ZodEnum<typeof import("../..").TOOL_MODEL_STATUS>;
2384
- icons: z.ZodObject<{
2385
- light: z.ZodObject<{
2386
- svg: z.ZodString;
2387
- png: z.ZodString;
2388
- }, z.core.$strip>;
2389
- dark: z.ZodObject<{
2390
- svg: z.ZodString;
2391
- png: z.ZodString;
2392
- }, z.core.$strip>;
2393
- }, z.core.$strip>;
2394
- strategy: z.ZodEnum<typeof import("../..").SOUND_GENERATION_STRATEGY>;
2395
- maxPromptLength: z.ZodNumber;
2396
- params: z.ZodObject<{
2397
- minDurationSeconds: z.ZodNumber;
2398
- maxDurationSeconds: z.ZodNumber;
2399
- durationStepSeconds: z.ZodNumber;
2400
- maxVariations: z.ZodNumber;
2401
- supportsLoop: z.ZodBoolean;
2402
- }, z.core.$strip>;
2403
- createdAt: z.ZodDate;
2404
- updatedAt: z.ZodDate;
2405
- }, z.core.$strip>>;
2406
- }, z.core.$strip>;
2407
2341
  }, z.core.$strip>], "contentType">>;
2408
2342
  export type ToolsWithConfigs = z.infer<typeof ToolsWithConfigsSchema>;
@@ -21,7 +21,6 @@ const spell_corrector_1 = require("../../spell-corrector");
21
21
  const diagrams_1 = require("../../diagrams");
22
22
  const models_2 = require("../../html-page-builder/models");
23
23
  const image_recognition_1 = require("../../image-recognition");
24
- const sound_generation_1 = require("../../sound-generation");
25
24
  // Discriminated union array: Tools with their configs
26
25
  exports.ToolWithConfigSchema = zod_1.z.discriminatedUnion('contentType', [
27
26
  tool_schema_1.ToolSchema.merge(zod_1.z.object({
@@ -92,9 +91,5 @@ exports.ToolWithConfigSchema = zod_1.z.discriminatedUnion('contentType', [
92
91
  contentType: zod_1.z.literal(enums_1.TOOL_CONTENT_TYPE.IMAGE_RECOGNITION),
93
92
  config: image_recognition_1.ImageRecognitionConfigSchema,
94
93
  })),
95
- tool_schema_1.ToolSchema.merge(zod_1.z.object({
96
- contentType: zod_1.z.literal(enums_1.TOOL_CONTENT_TYPE.SOUND_GENERATION),
97
- config: sound_generation_1.SoundGenerationConfigSchema,
98
- })),
99
94
  ]);
100
95
  exports.ToolsWithConfigsSchema = zod_1.z.array(exports.ToolWithConfigSchema);
@@ -550,6 +550,7 @@ export declare namespace GetGlobalToolsConfigQuery {
550
550
  };
551
551
  strategy?: string | undefined;
552
552
  maxInputLength: number;
553
+ maxSpeakers: number;
553
554
  voices: {
554
555
  id: string;
555
556
  externalId: string;
@@ -650,6 +651,16 @@ export declare namespace GetGlobalToolsConfigQuery {
650
651
  createdAt: Date;
651
652
  updatedAt: Date;
652
653
  }[];
654
+ tags: {
655
+ id: import("../..").VOICE_TAG;
656
+ group: import("../..").VOICE_TAG_GROUP;
657
+ label: string;
658
+ }[];
659
+ categories: {
660
+ id: import("../..").VOICE_CATEGORY;
661
+ label: string;
662
+ }[];
663
+ speakerMarkerLabel: string;
653
664
  };
654
665
  SPEECH_TO_TEXT: {
655
666
  models: {
@@ -909,13 +920,15 @@ export declare namespace GetGlobalToolsConfigQuery {
909
920
  }[];
910
921
  maxAttachmentsCount: number;
911
922
  };
912
- IMAGE_RECOGNITION: {
923
+ PHOTO_SESSIONS: {
913
924
  models: {
914
925
  uuid: string;
915
926
  title: string;
916
927
  description: string;
917
928
  aiModel: string;
918
- price: number;
929
+ isNew: boolean;
930
+ tierLabel: string;
931
+ pricePerImage: number;
919
932
  order: number;
920
933
  status: import("../..").TOOL_MODEL_STATUS;
921
934
  icons: {
@@ -928,22 +941,57 @@ export declare namespace GetGlobalToolsConfigQuery {
928
941
  png: string;
929
942
  };
930
943
  };
931
- maxPromptLength: number;
944
+ strategy: import("../..").PHOTO_SESSION_STRATEGY;
945
+ maxInputLength: number;
932
946
  params: {
933
947
  imageAttachment: {
934
948
  supported: boolean;
935
949
  maxImages: number;
936
950
  acceptedTypes: string[];
937
951
  };
952
+ aspectRatio: Record<string, {
953
+ width: number;
954
+ height: number;
955
+ }>;
938
956
  };
957
+ pricingRules: {
958
+ condition: {
959
+ withoutSub?: boolean | undefined;
960
+ };
961
+ value: number;
962
+ }[];
939
963
  createdAt: Date;
940
964
  updatedAt: Date;
941
965
  }[];
942
- categories: {
966
+ styles: {
943
967
  uuid: string;
944
- parentId: string | null;
968
+ code: string;
945
969
  title: string;
946
- systemPrompt: string;
970
+ description?: string | null | undefined;
971
+ references: {
972
+ uuid: string;
973
+ styleId: string;
974
+ photoUrl: string;
975
+ description?: string | null | undefined;
976
+ order: number;
977
+ createdAt: Date;
978
+ updatedAt: Date;
979
+ }[];
980
+ createdAt: Date;
981
+ updatedAt: Date;
982
+ }[];
983
+ looks: {
984
+ type: import("../..").PHOTO_SESSION_LOOK_TYPE;
985
+ maxPhotos: number;
986
+ }[];
987
+ };
988
+ IMAGE_RECOGNITION: {
989
+ models: {
990
+ uuid: string;
991
+ title: string;
992
+ description: string;
993
+ aiModel: string;
994
+ price: number;
947
995
  order: number;
948
996
  status: import("../..").TOOL_MODEL_STATUS;
949
997
  icons: {
@@ -955,18 +1003,23 @@ export declare namespace GetGlobalToolsConfigQuery {
955
1003
  svg: string;
956
1004
  png: string;
957
1005
  };
958
- } | null;
1006
+ };
1007
+ maxPromptLength: number;
1008
+ params: {
1009
+ imageAttachment: {
1010
+ supported: boolean;
1011
+ maxImages: number;
1012
+ acceptedTypes: string[];
1013
+ };
1014
+ };
959
1015
  createdAt: Date;
960
1016
  updatedAt: Date;
961
1017
  }[];
962
- };
963
- SOUND_GENERATION: {
964
- models: {
1018
+ categories: {
965
1019
  uuid: string;
1020
+ parentId: string | null;
966
1021
  title: string;
967
- description: string;
968
- aiModel: string;
969
- pricePerSecond: number;
1022
+ systemPrompt: string;
970
1023
  order: number;
971
1024
  status: import("../..").TOOL_MODEL_STATUS;
972
1025
  icons: {
@@ -978,16 +1031,7 @@ export declare namespace GetGlobalToolsConfigQuery {
978
1031
  svg: string;
979
1032
  png: string;
980
1033
  };
981
- };
982
- strategy: import("../..").SOUND_GENERATION_STRATEGY.ELEVENLABS_SOUND_GENERATION;
983
- maxPromptLength: number;
984
- params: {
985
- minDurationSeconds: number;
986
- maxDurationSeconds: number;
987
- durationStepSeconds: number;
988
- maxVariations: number;
989
- supportsLoop: boolean;
990
- };
1034
+ } | null;
991
1035
  createdAt: Date;
992
1036
  updatedAt: Date;
993
1037
  }[];
@@ -1536,6 +1580,7 @@ export declare namespace GetGlobalToolsConfigQuery {
1536
1580
  };
1537
1581
  strategy?: string | undefined;
1538
1582
  maxInputLength: number;
1583
+ maxSpeakers: number;
1539
1584
  voices: {
1540
1585
  id: string;
1541
1586
  externalId: string;
@@ -1636,6 +1681,16 @@ export declare namespace GetGlobalToolsConfigQuery {
1636
1681
  createdAt: Date;
1637
1682
  updatedAt: Date;
1638
1683
  }[];
1684
+ tags: {
1685
+ id: import("../..").VOICE_TAG;
1686
+ group: import("../..").VOICE_TAG_GROUP;
1687
+ label: string;
1688
+ }[];
1689
+ categories: {
1690
+ id: import("../..").VOICE_CATEGORY;
1691
+ label: string;
1692
+ }[];
1693
+ speakerMarkerLabel: string;
1639
1694
  };
1640
1695
  SPEECH_TO_TEXT: {
1641
1696
  models: {
@@ -1895,13 +1950,15 @@ export declare namespace GetGlobalToolsConfigQuery {
1895
1950
  }[];
1896
1951
  maxAttachmentsCount: number;
1897
1952
  };
1898
- IMAGE_RECOGNITION: {
1953
+ PHOTO_SESSIONS: {
1899
1954
  models: {
1900
1955
  uuid: string;
1901
1956
  title: string;
1902
1957
  description: string;
1903
1958
  aiModel: string;
1904
- price: number;
1959
+ isNew: boolean;
1960
+ tierLabel: string;
1961
+ pricePerImage: number;
1905
1962
  order: number;
1906
1963
  status: import("../..").TOOL_MODEL_STATUS;
1907
1964
  icons: {
@@ -1914,22 +1971,57 @@ export declare namespace GetGlobalToolsConfigQuery {
1914
1971
  png: string;
1915
1972
  };
1916
1973
  };
1917
- maxPromptLength: number;
1974
+ strategy: import("../..").PHOTO_SESSION_STRATEGY;
1975
+ maxInputLength: number;
1918
1976
  params: {
1919
1977
  imageAttachment: {
1920
1978
  supported: boolean;
1921
1979
  maxImages: number;
1922
1980
  acceptedTypes: string[];
1923
1981
  };
1982
+ aspectRatio: Record<string, {
1983
+ width: number;
1984
+ height: number;
1985
+ }>;
1924
1986
  };
1987
+ pricingRules: {
1988
+ condition: {
1989
+ withoutSub?: boolean | undefined;
1990
+ };
1991
+ value: number;
1992
+ }[];
1925
1993
  createdAt: Date;
1926
1994
  updatedAt: Date;
1927
1995
  }[];
1928
- categories: {
1996
+ styles: {
1929
1997
  uuid: string;
1930
- parentId: string | null;
1998
+ code: string;
1931
1999
  title: string;
1932
- systemPrompt: string;
2000
+ description?: string | null | undefined;
2001
+ references: {
2002
+ uuid: string;
2003
+ styleId: string;
2004
+ photoUrl: string;
2005
+ description?: string | null | undefined;
2006
+ order: number;
2007
+ createdAt: Date;
2008
+ updatedAt: Date;
2009
+ }[];
2010
+ createdAt: Date;
2011
+ updatedAt: Date;
2012
+ }[];
2013
+ looks: {
2014
+ type: import("../..").PHOTO_SESSION_LOOK_TYPE;
2015
+ maxPhotos: number;
2016
+ }[];
2017
+ };
2018
+ IMAGE_RECOGNITION: {
2019
+ models: {
2020
+ uuid: string;
2021
+ title: string;
2022
+ description: string;
2023
+ aiModel: string;
2024
+ price: number;
1933
2025
  order: number;
1934
2026
  status: import("../..").TOOL_MODEL_STATUS;
1935
2027
  icons: {
@@ -1941,18 +2033,23 @@ export declare namespace GetGlobalToolsConfigQuery {
1941
2033
  svg: string;
1942
2034
  png: string;
1943
2035
  };
1944
- } | null;
2036
+ };
2037
+ maxPromptLength: number;
2038
+ params: {
2039
+ imageAttachment: {
2040
+ supported: boolean;
2041
+ maxImages: number;
2042
+ acceptedTypes: string[];
2043
+ };
2044
+ };
1945
2045
  createdAt: Date;
1946
2046
  updatedAt: Date;
1947
2047
  }[];
1948
- };
1949
- SOUND_GENERATION: {
1950
- models: {
2048
+ categories: {
1951
2049
  uuid: string;
2050
+ parentId: string | null;
1952
2051
  title: string;
1953
- description: string;
1954
- aiModel: string;
1955
- pricePerSecond: number;
2052
+ systemPrompt: string;
1956
2053
  order: number;
1957
2054
  status: import("../..").TOOL_MODEL_STATUS;
1958
2055
  icons: {
@@ -1964,16 +2061,7 @@ export declare namespace GetGlobalToolsConfigQuery {
1964
2061
  svg: string;
1965
2062
  png: string;
1966
2063
  };
1967
- };
1968
- strategy: import("../..").SOUND_GENERATION_STRATEGY.ELEVENLABS_SOUND_GENERATION;
1969
- maxPromptLength: number;
1970
- params: {
1971
- minDurationSeconds: number;
1972
- maxDurationSeconds: number;
1973
- durationStepSeconds: number;
1974
- maxVariations: number;
1975
- supportsLoop: boolean;
1976
- };
2064
+ } | null;
1977
2065
  createdAt: Date;
1978
2066
  updatedAt: Date;
1979
2067
  }[];