@purpleschool/gptbot-tools 0.2.60-stage2 → 0.2.61

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 (191) hide show
  1. package/build/ai-proxy/routes/ai-proxy.routes.d.ts +0 -1
  2. package/build/ai-proxy/routes/ai-proxy.routes.js +0 -1
  3. package/build/index.d.ts +3 -3
  4. package/build/index.js +3 -3
  5. package/build/{photo-sessions/commands/delete-all-photo-sessions-jobs.command.d.ts → sound-generation/commands/delete-all-sound-generation-jobs.command.d.ts} +1 -1
  6. package/build/sound-generation/commands/delete-all-sound-generation-jobs.command.js +14 -0
  7. package/build/{photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.d.ts → sound-generation/commands/delete-sound-generation-job-by-uuid.command.d.ts} +2 -2
  8. package/build/sound-generation/commands/delete-sound-generation-job-by-uuid.command.js +14 -0
  9. package/build/{tts/commands/improve-tts-text.command.d.ts → sound-generation/commands/get-sound-generation-price.command.d.ts} +8 -6
  10. package/build/sound-generation/commands/get-sound-generation-price.command.js +17 -0
  11. package/build/sound-generation/commands/index.d.ts +8 -0
  12. package/build/sound-generation/commands/index.js +24 -0
  13. package/build/sound-generation/commands/retry-sound-generation-job.command.d.ts +84 -0
  14. package/build/sound-generation/commands/retry-sound-generation-job.command.js +17 -0
  15. package/build/sound-generation/commands/set-reaction-to-sound-generation-job.command.d.ts +85 -0
  16. package/build/{photo-sessions/commands/set-reaction-to-photo-sessions-job.command.js → sound-generation/commands/set-reaction-to-sound-generation-job.command.js} +7 -7
  17. package/build/sound-generation/commands/sound-generation.command.d.ts +94 -0
  18. package/build/sound-generation/commands/sound-generation.command.js +27 -0
  19. package/build/sound-generation/commands/update-sound-generation-job-favorite.command.d.ts +83 -0
  20. package/build/sound-generation/commands/update-sound-generation-job-favorite.command.js +16 -0
  21. package/build/sound-generation/commands/update-sound-generation-job-title.command.d.ts +83 -0
  22. package/build/sound-generation/commands/update-sound-generation-job-title.command.js +16 -0
  23. package/build/sound-generation/enums/index.d.ts +1 -0
  24. package/build/{photo-sessions/routes → sound-generation/enums}/index.js +1 -2
  25. package/build/sound-generation/enums/sound-generation-strategy.enum.d.ts +3 -0
  26. package/build/sound-generation/enums/sound-generation-strategy.enum.js +7 -0
  27. package/build/sound-generation/models/index.d.ts +5 -0
  28. package/build/{photo-sessions → sound-generation}/models/index.js +5 -4
  29. package/build/sound-generation/models/sound-generation-config.schema.d.ts +34 -0
  30. package/build/sound-generation/models/sound-generation-config.schema.js +8 -0
  31. package/build/sound-generation/models/sound-generation-job.schema.d.ts +38 -0
  32. package/build/sound-generation/models/sound-generation-job.schema.js +34 -0
  33. package/build/sound-generation/models/sound-generation-model.schema.d.ts +42 -0
  34. package/build/sound-generation/models/sound-generation-model.schema.js +28 -0
  35. package/build/sound-generation/models/sound-generation-params.schema.d.ts +8 -0
  36. package/build/sound-generation/models/sound-generation-params.schema.js +10 -0
  37. package/build/sound-generation/models/sound-generation-result.schema.d.ts +6 -0
  38. package/build/sound-generation/models/sound-generation-result.schema.js +8 -0
  39. package/build/sound-generation/queries/find-sound-generation-job-by-id.query.d.ts +82 -0
  40. package/build/sound-generation/queries/find-sound-generation-job-by-id.query.js +15 -0
  41. package/build/{photo-sessions/queries/find-photo-sessions-jobs.query.d.ts → sound-generation/queries/find-sound-generation-jobs.query.d.ts} +33 -63
  42. package/build/{photo-sessions/queries/find-photo-sessions-jobs.query.js → sound-generation/queries/find-sound-generation-jobs.query.js} +17 -10
  43. package/build/sound-generation/queries/get-sound-generation-config.query.d.ts +76 -0
  44. package/build/sound-generation/queries/get-sound-generation-config.query.js +10 -0
  45. package/build/sound-generation/queries/index.d.ts +3 -0
  46. package/build/{photo-sessions/commands/admin → sound-generation/queries}/index.js +3 -3
  47. package/build/sound-generation/routes/index.d.ts +1 -0
  48. package/build/{photo-sessions/enums → sound-generation/routes}/index.js +1 -2
  49. package/build/sound-generation/routes/sound-generation.amqp.routes.d.ts +13 -0
  50. package/build/sound-generation/routes/sound-generation.amqp.routes.js +16 -0
  51. package/build/tools/enums/tool-content-type.enum.d.ts +2 -2
  52. package/build/tools/enums/tool-content-type.enum.js +1 -1
  53. package/build/tools/enums/tool-type.enum.d.ts +2 -2
  54. package/build/tools/enums/tool-type.enum.js +1 -1
  55. package/build/tools/models/global-tools-config.schema.d.ts +25 -69
  56. package/build/tools/models/global-tools-config.schema.js +2 -2
  57. package/build/tools/models/tools-with-configs.schema.d.ts +88 -22
  58. package/build/tools/models/tools-with-configs.schema.js +5 -0
  59. package/build/tools/queries/get-global-tools-config.query.d.ts +46 -134
  60. package/build/tools/queries/get-tools-with-configs.query.d.ts +88 -22
  61. package/build/tts/commands/index.d.ts +0 -7
  62. package/build/tts/commands/index.js +0 -7
  63. package/build/tts/commands/retry-tts-job.command.d.ts +2 -29
  64. package/build/tts/commands/retry-tts-job.command.js +0 -2
  65. package/build/tts/commands/set-reaction-to-tts-job.command.d.ts +2 -29
  66. package/build/tts/commands/set-reaction-to-tts-job.command.js +0 -1
  67. package/build/tts/commands/tts.command.d.ts +3 -35
  68. package/build/tts/commands/tts.command.js +1 -4
  69. package/build/tts/commands/update-tts-job-favorite.command.d.ts +2 -29
  70. package/build/tts/commands/update-tts-job-favorite.command.js +0 -2
  71. package/build/tts/commands/update-tts-job-title.command.d.ts +2 -29
  72. package/build/tts/commands/update-tts-job-title.command.js +0 -2
  73. package/build/tts/enums/index.d.ts +0 -7
  74. package/build/tts/enums/index.js +0 -7
  75. package/build/tts/models/index.d.ts +0 -5
  76. package/build/tts/models/index.js +0 -5
  77. package/build/tts/models/tts-config-with-vendors.schema.d.ts +0 -1
  78. package/build/tts/models/tts-config.schema.d.ts +0 -11
  79. package/build/tts/models/tts-config.schema.js +0 -5
  80. package/build/tts/models/tts-job.schema.d.ts +2 -34
  81. package/build/tts/models/tts-job.schema.js +2 -22
  82. package/build/tts/models/tts-model-with-vendor.schema.d.ts +0 -1
  83. package/build/tts/models/tts-model.schema.d.ts +0 -1
  84. package/build/tts/models/tts-model.schema.js +0 -1
  85. package/build/tts/queries/find-tts-job-by-id.query.d.ts +2 -29
  86. package/build/tts/queries/find-tts-job-by-id.query.js +0 -2
  87. package/build/tts/queries/find-tts-jobs.query.d.ts +2 -29
  88. package/build/tts/queries/find-tts-jobs.query.js +0 -1
  89. package/build/tts/queries/get-tts-config-with-vendors.query.d.ts +0 -2
  90. package/build/tts/queries/get-tts-config.query.d.ts +0 -22
  91. package/build/tts/queries/index.d.ts +0 -2
  92. package/build/tts/queries/index.js +0 -2
  93. package/build/tts/routes/tts.amqp.routes.d.ts +0 -9
  94. package/build/tts/routes/tts.amqp.routes.js +0 -9
  95. package/package.json +1 -1
  96. package/build/photo-sessions/commands/admin/create-photo-session-style.command.d.ts +0 -58
  97. package/build/photo-sessions/commands/admin/create-photo-session-style.command.js +0 -21
  98. package/build/photo-sessions/commands/admin/delete-photo-session-style.command.d.ts +0 -14
  99. package/build/photo-sessions/commands/admin/delete-photo-session-style.command.js +0 -12
  100. package/build/photo-sessions/commands/admin/index.d.ts +0 -3
  101. package/build/photo-sessions/commands/admin/update-photo-session-style.command.d.ts +0 -55
  102. package/build/photo-sessions/commands/admin/update-photo-session-style.command.js +0 -28
  103. package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.js +0 -15
  104. package/build/photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.js +0 -14
  105. package/build/photo-sessions/commands/get-photo-sessions-price.command.d.ts +0 -46
  106. package/build/photo-sessions/commands/get-photo-sessions-price.command.js +0 -30
  107. package/build/photo-sessions/commands/index.d.ts +0 -10
  108. package/build/photo-sessions/commands/index.js +0 -26
  109. package/build/photo-sessions/commands/photo-sessions.command.d.ts +0 -147
  110. package/build/photo-sessions/commands/photo-sessions.command.js +0 -41
  111. package/build/photo-sessions/commands/retry-photo-sessions-job.command.d.ts +0 -142
  112. package/build/photo-sessions/commands/retry-photo-sessions-job.command.js +0 -23
  113. package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.d.ts +0 -115
  114. package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.d.ts +0 -113
  115. package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.js +0 -16
  116. package/build/photo-sessions/commands/update-photo-sessions-job-title.command.d.ts +0 -113
  117. package/build/photo-sessions/commands/update-photo-sessions-job-title.command.js +0 -16
  118. package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.d.ts +0 -118
  119. package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.js +0 -26
  120. package/build/photo-sessions/enums/index.d.ts +0 -2
  121. package/build/photo-sessions/enums/photo-session-look-type.enum.d.ts +0 -5
  122. package/build/photo-sessions/enums/photo-session-look-type.enum.js +0 -9
  123. package/build/photo-sessions/enums/photo-session-strategy.enum.d.ts +0 -4
  124. package/build/photo-sessions/enums/photo-session-strategy.enum.js +0 -8
  125. package/build/photo-sessions/models/index.d.ts +0 -4
  126. package/build/photo-sessions/models/photo-session-config.schema.d.ts +0 -72
  127. package/build/photo-sessions/models/photo-session-config.schema.js +0 -16
  128. package/build/photo-sessions/models/photo-session-job.schema.d.ts +0 -78
  129. package/build/photo-sessions/models/photo-session-job.schema.js +0 -46
  130. package/build/photo-sessions/models/photo-session-model.schema.d.ts +0 -69
  131. package/build/photo-sessions/models/photo-session-model.schema.js +0 -42
  132. package/build/photo-sessions/models/photo-session-style.schema.d.ts +0 -29
  133. package/build/photo-sessions/models/photo-session-style.schema.js +0 -22
  134. package/build/photo-sessions/queries/find-photo-session-style-by-id.query.d.ts +0 -46
  135. package/build/photo-sessions/queries/find-photo-session-style-by-id.query.js +0 -10
  136. package/build/photo-sessions/queries/find-photo-session-styles.query.d.ts +0 -57
  137. package/build/photo-sessions/queries/find-photo-session-styles.query.js +0 -19
  138. package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.d.ts +0 -110
  139. package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.js +0 -10
  140. package/build/photo-sessions/queries/get-photo-sessions-config.query.d.ts +0 -142
  141. package/build/photo-sessions/queries/get-photo-sessions-config.query.js +0 -10
  142. package/build/photo-sessions/queries/index.d.ts +0 -5
  143. package/build/photo-sessions/queries/index.js +0 -21
  144. package/build/photo-sessions/routes/index.d.ts +0 -2
  145. package/build/photo-sessions/routes/photo-sessions.amqp.routes.d.ts +0 -19
  146. package/build/photo-sessions/routes/photo-sessions.amqp.routes.js +0 -22
  147. package/build/photo-sessions/routes/photo-sessions.http.routes.d.ts +0 -1
  148. package/build/photo-sessions/routes/photo-sessions.http.routes.js +0 -4
  149. package/build/tts/commands/create-voice-clone.command.d.ts +0 -60
  150. package/build/tts/commands/create-voice-clone.command.js +0 -20
  151. package/build/tts/commands/create-voice-design.command.d.ts +0 -37
  152. package/build/tts/commands/create-voice-design.command.js +0 -19
  153. package/build/tts/commands/delete-voice.command.d.ts +0 -17
  154. package/build/tts/commands/delete-voice.command.js +0 -14
  155. package/build/tts/commands/download-tts-job.command.d.ts +0 -25
  156. package/build/tts/commands/download-tts-job.command.js +0 -19
  157. package/build/tts/commands/improve-tts-text.command.js +0 -16
  158. package/build/tts/commands/select-voice-design.command.d.ts +0 -57
  159. package/build/tts/commands/select-voice-design.command.js +0 -17
  160. package/build/tts/commands/update-voice.command.d.ts +0 -57
  161. package/build/tts/commands/update-voice.command.js +0 -17
  162. package/build/tts/enums/tts-download-format.enum.d.ts +0 -5
  163. package/build/tts/enums/tts-download-format.enum.js +0 -9
  164. package/build/tts/enums/voice-category.enum.d.ts +0 -19
  165. package/build/tts/enums/voice-category.enum.js +0 -23
  166. package/build/tts/enums/voice-gender.enum.d.ts +0 -4
  167. package/build/tts/enums/voice-gender.enum.js +0 -8
  168. package/build/tts/enums/voice-source.enum.d.ts +0 -5
  169. package/build/tts/enums/voice-source.enum.js +0 -9
  170. package/build/tts/enums/voice-status.enum.d.ts +0 -5
  171. package/build/tts/enums/voice-status.enum.js +0 -9
  172. package/build/tts/enums/voice-tag-group.enum.d.ts +0 -5
  173. package/build/tts/enums/voice-tag-group.enum.js +0 -9
  174. package/build/tts/enums/voice-tag.enum.d.ts +0 -20
  175. package/build/tts/enums/voice-tag.enum.js +0 -24
  176. package/build/tts/models/voice-category.schema.d.ts +0 -7
  177. package/build/tts/models/voice-category.schema.js +0 -9
  178. package/build/tts/models/voice-design-draft.schema.d.ts +0 -12
  179. package/build/tts/models/voice-design-draft.schema.js +0 -12
  180. package/build/tts/models/voice-design-sample.schema.d.ts +0 -6
  181. package/build/tts/models/voice-design-sample.schema.js +0 -8
  182. package/build/tts/models/voice-tag.schema.d.ts +0 -9
  183. package/build/tts/models/voice-tag.schema.js +0 -11
  184. package/build/tts/models/voice.schema.d.ts +0 -27
  185. package/build/tts/models/voice.schema.js +0 -29
  186. package/build/tts/queries/find-voice-by-id.query.d.ts +0 -57
  187. package/build/tts/queries/find-voice-by-id.query.js +0 -17
  188. package/build/tts/queries/find-voices.query.d.ts +0 -92
  189. package/build/tts/queries/find-voices.query.js +0 -25
  190. /package/build/{photo-sessions → sound-generation}/index.d.ts +0 -0
  191. /package/build/{photo-sessions → sound-generation}/index.js +0 -0
@@ -550,7 +550,6 @@ export declare namespace GetGlobalToolsConfigQuery {
550
550
  };
551
551
  strategy?: string | undefined;
552
552
  maxInputLength: number;
553
- maxSpeakers: number;
554
553
  voices: {
555
554
  id: string;
556
555
  externalId: string;
@@ -651,16 +650,6 @@ export declare namespace GetGlobalToolsConfigQuery {
651
650
  createdAt: Date;
652
651
  updatedAt: Date;
653
652
  }[];
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;
664
653
  };
665
654
  SPEECH_TO_TEXT: {
666
655
  models: {
@@ -920,15 +909,13 @@ export declare namespace GetGlobalToolsConfigQuery {
920
909
  }[];
921
910
  maxAttachmentsCount: number;
922
911
  };
923
- PHOTO_SESSIONS: {
912
+ IMAGE_RECOGNITION: {
924
913
  models: {
925
914
  uuid: string;
926
915
  title: string;
927
916
  description: string;
928
917
  aiModel: string;
929
- isNew: boolean;
930
- tierLabel: string;
931
- pricePerImage: number;
918
+ price: number;
932
919
  order: number;
933
920
  status: import("../..").TOOL_MODEL_STATUS;
934
921
  icons: {
@@ -941,57 +928,22 @@ export declare namespace GetGlobalToolsConfigQuery {
941
928
  png: string;
942
929
  };
943
930
  };
944
- strategy: import("../..").PHOTO_SESSION_STRATEGY;
945
- maxInputLength: number;
931
+ maxPromptLength: number;
946
932
  params: {
947
933
  imageAttachment: {
948
934
  supported: boolean;
949
935
  maxImages: number;
950
936
  acceptedTypes: string[];
951
937
  };
952
- aspectRatio: Record<string, {
953
- width: number;
954
- height: number;
955
- }>;
956
938
  };
957
- pricingRules: {
958
- condition: {
959
- withoutSub?: boolean | undefined;
960
- };
961
- value: number;
962
- }[];
963
939
  createdAt: Date;
964
940
  updatedAt: Date;
965
941
  }[];
966
- styles: {
967
- uuid: string;
968
- code: string;
969
- title: 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: {
942
+ categories: {
990
943
  uuid: string;
944
+ parentId: string | null;
991
945
  title: string;
992
- description: string;
993
- aiModel: string;
994
- price: number;
946
+ systemPrompt: string;
995
947
  order: number;
996
948
  status: import("../..").TOOL_MODEL_STATUS;
997
949
  icons: {
@@ -1003,23 +955,18 @@ export declare namespace GetGlobalToolsConfigQuery {
1003
955
  svg: string;
1004
956
  png: string;
1005
957
  };
1006
- };
1007
- maxPromptLength: number;
1008
- params: {
1009
- imageAttachment: {
1010
- supported: boolean;
1011
- maxImages: number;
1012
- acceptedTypes: string[];
1013
- };
1014
- };
958
+ } | null;
1015
959
  createdAt: Date;
1016
960
  updatedAt: Date;
1017
961
  }[];
1018
- categories: {
962
+ };
963
+ SOUND_GENERATION: {
964
+ models: {
1019
965
  uuid: string;
1020
- parentId: string | null;
1021
966
  title: string;
1022
- systemPrompt: string;
967
+ description: string;
968
+ aiModel: string;
969
+ pricePerSecond: number;
1023
970
  order: number;
1024
971
  status: import("../..").TOOL_MODEL_STATUS;
1025
972
  icons: {
@@ -1031,7 +978,16 @@ export declare namespace GetGlobalToolsConfigQuery {
1031
978
  svg: string;
1032
979
  png: string;
1033
980
  };
1034
- } | null;
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
+ };
1035
991
  createdAt: Date;
1036
992
  updatedAt: Date;
1037
993
  }[];
@@ -1580,7 +1536,6 @@ export declare namespace GetGlobalToolsConfigQuery {
1580
1536
  };
1581
1537
  strategy?: string | undefined;
1582
1538
  maxInputLength: number;
1583
- maxSpeakers: number;
1584
1539
  voices: {
1585
1540
  id: string;
1586
1541
  externalId: string;
@@ -1681,16 +1636,6 @@ export declare namespace GetGlobalToolsConfigQuery {
1681
1636
  createdAt: Date;
1682
1637
  updatedAt: Date;
1683
1638
  }[];
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;
1694
1639
  };
1695
1640
  SPEECH_TO_TEXT: {
1696
1641
  models: {
@@ -1950,15 +1895,13 @@ export declare namespace GetGlobalToolsConfigQuery {
1950
1895
  }[];
1951
1896
  maxAttachmentsCount: number;
1952
1897
  };
1953
- PHOTO_SESSIONS: {
1898
+ IMAGE_RECOGNITION: {
1954
1899
  models: {
1955
1900
  uuid: string;
1956
1901
  title: string;
1957
1902
  description: string;
1958
1903
  aiModel: string;
1959
- isNew: boolean;
1960
- tierLabel: string;
1961
- pricePerImage: number;
1904
+ price: number;
1962
1905
  order: number;
1963
1906
  status: import("../..").TOOL_MODEL_STATUS;
1964
1907
  icons: {
@@ -1971,57 +1914,22 @@ export declare namespace GetGlobalToolsConfigQuery {
1971
1914
  png: string;
1972
1915
  };
1973
1916
  };
1974
- strategy: import("../..").PHOTO_SESSION_STRATEGY;
1975
- maxInputLength: number;
1917
+ maxPromptLength: number;
1976
1918
  params: {
1977
1919
  imageAttachment: {
1978
1920
  supported: boolean;
1979
1921
  maxImages: number;
1980
1922
  acceptedTypes: string[];
1981
1923
  };
1982
- aspectRatio: Record<string, {
1983
- width: number;
1984
- height: number;
1985
- }>;
1986
1924
  };
1987
- pricingRules: {
1988
- condition: {
1989
- withoutSub?: boolean | undefined;
1990
- };
1991
- value: number;
1992
- }[];
1993
1925
  createdAt: Date;
1994
1926
  updatedAt: Date;
1995
1927
  }[];
1996
- styles: {
1997
- uuid: string;
1998
- code: string;
1999
- title: 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: {
1928
+ categories: {
2020
1929
  uuid: string;
1930
+ parentId: string | null;
2021
1931
  title: string;
2022
- description: string;
2023
- aiModel: string;
2024
- price: number;
1932
+ systemPrompt: string;
2025
1933
  order: number;
2026
1934
  status: import("../..").TOOL_MODEL_STATUS;
2027
1935
  icons: {
@@ -2033,23 +1941,18 @@ export declare namespace GetGlobalToolsConfigQuery {
2033
1941
  svg: string;
2034
1942
  png: string;
2035
1943
  };
2036
- };
2037
- maxPromptLength: number;
2038
- params: {
2039
- imageAttachment: {
2040
- supported: boolean;
2041
- maxImages: number;
2042
- acceptedTypes: string[];
2043
- };
2044
- };
1944
+ } | null;
2045
1945
  createdAt: Date;
2046
1946
  updatedAt: Date;
2047
1947
  }[];
2048
- categories: {
1948
+ };
1949
+ SOUND_GENERATION: {
1950
+ models: {
2049
1951
  uuid: string;
2050
- parentId: string | null;
2051
1952
  title: string;
2052
- systemPrompt: string;
1953
+ description: string;
1954
+ aiModel: string;
1955
+ pricePerSecond: number;
2053
1956
  order: number;
2054
1957
  status: import("../..").TOOL_MODEL_STATUS;
2055
1958
  icons: {
@@ -2061,7 +1964,16 @@ export declare namespace GetGlobalToolsConfigQuery {
2061
1964
  svg: string;
2062
1965
  png: string;
2063
1966
  };
2064
- } | null;
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
+ };
2065
1977
  createdAt: Date;
2066
1978
  updatedAt: Date;
2067
1979
  }[];
@@ -657,7 +657,6 @@ export declare namespace GetToolsWithConfigsQuery {
657
657
  };
658
658
  strategy?: string | undefined;
659
659
  maxInputLength: number;
660
- maxSpeakers: number;
661
660
  voices: {
662
661
  id: string;
663
662
  externalId: string;
@@ -758,16 +757,6 @@ export declare namespace GetToolsWithConfigsQuery {
758
757
  createdAt: Date;
759
758
  updatedAt: Date;
760
759
  }[];
761
- tags: {
762
- id: import("../..").VOICE_TAG;
763
- group: import("../..").VOICE_TAG_GROUP;
764
- label: string;
765
- }[];
766
- categories: {
767
- id: import("../..").VOICE_CATEGORY;
768
- label: string;
769
- }[];
770
- speakerMarkerLabel: string;
771
760
  };
772
761
  } | {
773
762
  uuid: string;
@@ -1174,6 +1163,50 @@ export declare namespace GetToolsWithConfigsQuery {
1174
1163
  updatedAt: Date;
1175
1164
  }[];
1176
1165
  };
1166
+ } | {
1167
+ uuid: string;
1168
+ title: string;
1169
+ description: string;
1170
+ icon: string;
1171
+ alias: string;
1172
+ bgColor: string;
1173
+ iconColor: string;
1174
+ order: number;
1175
+ createdAt: Date;
1176
+ updatedAt: Date;
1177
+ contentType: import("..").TOOL_CONTENT_TYPE.SOUND_GENERATION;
1178
+ config: {
1179
+ models: {
1180
+ uuid: string;
1181
+ title: string;
1182
+ description: string;
1183
+ aiModel: string;
1184
+ pricePerSecond: number;
1185
+ order: number;
1186
+ status: import("../..").TOOL_MODEL_STATUS;
1187
+ icons: {
1188
+ light: {
1189
+ svg: string;
1190
+ png: string;
1191
+ };
1192
+ dark: {
1193
+ svg: string;
1194
+ png: string;
1195
+ };
1196
+ };
1197
+ strategy: import("../..").SOUND_GENERATION_STRATEGY.ELEVENLABS_SOUND_GENERATION;
1198
+ maxPromptLength: number;
1199
+ params: {
1200
+ minDurationSeconds: number;
1201
+ maxDurationSeconds: number;
1202
+ durationStepSeconds: number;
1203
+ maxVariations: number;
1204
+ supportsLoop: boolean;
1205
+ };
1206
+ createdAt: Date;
1207
+ updatedAt: Date;
1208
+ }[];
1209
+ };
1177
1210
  })[], unknown, z.core.$ZodTypeInternals<({
1178
1211
  uuid: string;
1179
1212
  title: string;
@@ -1825,7 +1858,6 @@ export declare namespace GetToolsWithConfigsQuery {
1825
1858
  };
1826
1859
  strategy?: string | undefined;
1827
1860
  maxInputLength: number;
1828
- maxSpeakers: number;
1829
1861
  voices: {
1830
1862
  id: string;
1831
1863
  externalId: string;
@@ -1926,16 +1958,6 @@ export declare namespace GetToolsWithConfigsQuery {
1926
1958
  createdAt: Date;
1927
1959
  updatedAt: Date;
1928
1960
  }[];
1929
- tags: {
1930
- id: import("../..").VOICE_TAG;
1931
- group: import("../..").VOICE_TAG_GROUP;
1932
- label: string;
1933
- }[];
1934
- categories: {
1935
- id: import("../..").VOICE_CATEGORY;
1936
- label: string;
1937
- }[];
1938
- speakerMarkerLabel: string;
1939
1961
  };
1940
1962
  } | {
1941
1963
  uuid: string;
@@ -2342,6 +2364,50 @@ export declare namespace GetToolsWithConfigsQuery {
2342
2364
  updatedAt: Date;
2343
2365
  }[];
2344
2366
  };
2367
+ } | {
2368
+ uuid: string;
2369
+ title: string;
2370
+ description: string;
2371
+ icon: string;
2372
+ alias: string;
2373
+ bgColor: string;
2374
+ iconColor: string;
2375
+ order: number;
2376
+ createdAt: Date;
2377
+ updatedAt: Date;
2378
+ contentType: import("..").TOOL_CONTENT_TYPE.SOUND_GENERATION;
2379
+ config: {
2380
+ models: {
2381
+ uuid: string;
2382
+ title: string;
2383
+ description: string;
2384
+ aiModel: string;
2385
+ pricePerSecond: number;
2386
+ order: number;
2387
+ status: import("../..").TOOL_MODEL_STATUS;
2388
+ icons: {
2389
+ light: {
2390
+ svg: string;
2391
+ png: string;
2392
+ };
2393
+ dark: {
2394
+ svg: string;
2395
+ png: string;
2396
+ };
2397
+ };
2398
+ strategy: import("../..").SOUND_GENERATION_STRATEGY.ELEVENLABS_SOUND_GENERATION;
2399
+ maxPromptLength: number;
2400
+ params: {
2401
+ minDurationSeconds: number;
2402
+ maxDurationSeconds: number;
2403
+ durationStepSeconds: number;
2404
+ maxVariations: number;
2405
+ supportsLoop: boolean;
2406
+ };
2407
+ createdAt: Date;
2408
+ updatedAt: Date;
2409
+ }[];
2410
+ };
2345
2411
  })[], unknown>>>;
2346
2412
  code: z.ZodOptional<z.ZodString>;
2347
2413
  message: z.ZodOptional<z.ZodString>;
@@ -6,10 +6,3 @@ export * from './tts.command';
6
6
  export * from './get-tts-price.command';
7
7
  export * from './update-tts-job-title.command';
8
8
  export * from './update-tts-job-favorite.command';
9
- export * from './create-voice-clone.command';
10
- export * from './create-voice-design.command';
11
- export * from './select-voice-design.command';
12
- export * from './update-voice.command';
13
- export * from './delete-voice.command';
14
- export * from './improve-tts-text.command';
15
- export * from './download-tts-job.command';
@@ -22,10 +22,3 @@ __exportStar(require("./tts.command"), exports);
22
22
  __exportStar(require("./get-tts-price.command"), exports);
23
23
  __exportStar(require("./update-tts-job-title.command"), exports);
24
24
  __exportStar(require("./update-tts-job-favorite.command"), exports);
25
- __exportStar(require("./create-voice-clone.command"), exports);
26
- __exportStar(require("./create-voice-design.command"), exports);
27
- __exportStar(require("./select-voice-design.command"), exports);
28
- __exportStar(require("./update-voice.command"), exports);
29
- __exportStar(require("./delete-voice.command"), exports);
30
- __exportStar(require("./improve-tts-text.command"), exports);
31
- __exportStar(require("./download-tts-job.command"), exports);
@@ -4,7 +4,6 @@ export declare namespace RetryTTSJobCommand {
4
4
  uuid: z.ZodString;
5
5
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
6
  unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
- locale: z.ZodOptional<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>>;
8
7
  tokenReservationId: z.ZodString;
9
8
  precalculatedPrice: z.ZodNumber;
10
9
  }, z.core.$strip>;
@@ -21,22 +20,9 @@ export declare namespace RetryTTSJobCommand {
21
20
  status: import("../..").JOB_STATUS;
22
21
  error: string | null;
23
22
  modelId: string;
24
- voiceId: string | null;
25
- isDialog: boolean;
26
- speakers: {
27
- speaker: number;
28
- voiceId: string;
29
- }[];
30
- voices: {
31
- uuid: string;
32
- title: string;
33
- previewUrl: string;
34
- isDeleted: boolean;
35
- speaker: number | null;
36
- }[];
23
+ voiceId: string;
37
24
  price: number;
38
25
  duration: number;
39
- scope: import("../..").JOB_SCOPE;
40
26
  userId: string | null;
41
27
  unregisteredUserId: string | null;
42
28
  tokenReservationId?: string | null | undefined;
@@ -65,22 +51,9 @@ export declare namespace RetryTTSJobCommand {
65
51
  status: import("../..").JOB_STATUS;
66
52
  error: string | null;
67
53
  modelId: string;
68
- voiceId: string | null;
69
- isDialog: boolean;
70
- speakers: {
71
- speaker: number;
72
- voiceId: string;
73
- }[];
74
- voices: {
75
- uuid: string;
76
- title: string;
77
- previewUrl: string;
78
- isDeleted: boolean;
79
- speaker: number | null;
80
- }[];
54
+ voiceId: string;
81
55
  price: number;
82
56
  duration: number;
83
- scope: import("../..").JOB_SCOPE;
84
57
  userId: string | null;
85
58
  unregisteredUserId: string | null;
86
59
  tokenReservationId?: string | null | undefined;
@@ -4,14 +4,12 @@ exports.RetryTTSJobCommand = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const command_response_schema_1 = require("../../common/models/command-response.schema");
6
6
  const tts_job_schema_1 = require("../models/tts-job.schema");
7
- const common_1 = require("../../common");
8
7
  var RetryTTSJobCommand;
9
8
  (function (RetryTTSJobCommand) {
10
9
  RetryTTSJobCommand.RequestSchema = zod_1.z.object({
11
10
  uuid: zod_1.z.string().uuid(),
12
11
  userId: zod_1.z.string().uuid().nullable().optional(),
13
12
  unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
14
- locale: common_1.LocaleSchema.optional(),
15
13
  tokenReservationId: zod_1.z.string().uuid(),
16
14
  precalculatedPrice: zod_1.z.number(),
17
15
  });
@@ -4,7 +4,6 @@ export declare namespace SetReactionToTTSJobCommand {
4
4
  const RequestSchema: z.ZodObject<{
5
5
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
6
  unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
- locale: z.ZodOptional<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>>;
8
7
  uuid: z.ZodString;
9
8
  reaction: z.ZodNullable<z.ZodEnum<typeof USER_REACTION>>;
10
9
  dislikeReason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -22,22 +21,9 @@ export declare namespace SetReactionToTTSJobCommand {
22
21
  status: import("../..").JOB_STATUS;
23
22
  error: string | null;
24
23
  modelId: string;
25
- voiceId: string | null;
26
- isDialog: boolean;
27
- speakers: {
28
- speaker: number;
29
- voiceId: string;
30
- }[];
31
- voices: {
32
- uuid: string;
33
- title: string;
34
- previewUrl: string;
35
- isDeleted: boolean;
36
- speaker: number | null;
37
- }[];
24
+ voiceId: string;
38
25
  price: number;
39
26
  duration: number;
40
- scope: import("../..").JOB_SCOPE;
41
27
  userId: string | null;
42
28
  unregisteredUserId: string | null;
43
29
  tokenReservationId?: string | null | undefined;
@@ -66,22 +52,9 @@ export declare namespace SetReactionToTTSJobCommand {
66
52
  status: import("../..").JOB_STATUS;
67
53
  error: string | null;
68
54
  modelId: string;
69
- voiceId: string | null;
70
- isDialog: boolean;
71
- speakers: {
72
- speaker: number;
73
- voiceId: string;
74
- }[];
75
- voices: {
76
- uuid: string;
77
- title: string;
78
- previewUrl: string;
79
- isDeleted: boolean;
80
- speaker: number | null;
81
- }[];
55
+ voiceId: string;
82
56
  price: number;
83
57
  duration: number;
84
- scope: import("../..").JOB_SCOPE;
85
58
  userId: string | null;
86
59
  unregisteredUserId: string | null;
87
60
  tokenReservationId?: string | null | undefined;
@@ -11,7 +11,6 @@ var SetReactionToTTSJobCommand;
11
11
  .object({
12
12
  userId: zod_1.z.string().uuid().nullable().optional(),
13
13
  unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
14
- locale: common_1.LocaleSchema.optional(),
15
14
  uuid: zod_1.z.string().uuid(),
16
15
  reaction: zod_1.z.nativeEnum(common_1.USER_REACTION).nullable(),
17
16
  dislikeReason: zod_1.z.string().nullable().default(null),
@@ -5,15 +5,9 @@ export declare namespace TTSCommand {
5
5
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
6
  unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
7
  scope: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof JOB_SCOPE>>>;
8
- locale: z.ZodOptional<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>>;
9
8
  modelId: z.ZodString;
10
- voiceId: z.ZodOptional<z.ZodString>;
9
+ voiceId: z.ZodString;
11
10
  userInput: z.ZodString;
12
- isDialog: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
13
- speakers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
14
- speaker: z.ZodNumber;
15
- voiceId: z.ZodString;
16
- }, z.core.$strip>>>>;
17
11
  params: z.ZodOptional<z.ZodObject<{
18
12
  speed: z.ZodOptional<z.ZodNumber>;
19
13
  similarity: z.ZodOptional<z.ZodNumber>;
@@ -40,22 +34,9 @@ export declare namespace TTSCommand {
40
34
  status: import("../..").JOB_STATUS;
41
35
  error: string | null;
42
36
  modelId: string;
43
- voiceId: string | null;
44
- isDialog: boolean;
45
- speakers: {
46
- speaker: number;
47
- voiceId: string;
48
- }[];
49
- voices: {
50
- uuid: string;
51
- title: string;
52
- previewUrl: string;
53
- isDeleted: boolean;
54
- speaker: number | null;
55
- }[];
37
+ voiceId: string;
56
38
  price: number;
57
39
  duration: number;
58
- scope: JOB_SCOPE;
59
40
  userId: string | null;
60
41
  unregisteredUserId: string | null;
61
42
  tokenReservationId?: string | null | undefined;
@@ -84,22 +65,9 @@ export declare namespace TTSCommand {
84
65
  status: import("../..").JOB_STATUS;
85
66
  error: string | null;
86
67
  modelId: string;
87
- voiceId: string | null;
88
- isDialog: boolean;
89
- speakers: {
90
- speaker: number;
91
- voiceId: string;
92
- }[];
93
- voices: {
94
- uuid: string;
95
- title: string;
96
- previewUrl: string;
97
- isDeleted: boolean;
98
- speaker: number | null;
99
- }[];
68
+ voiceId: string;
100
69
  price: number;
101
70
  duration: number;
102
- scope: JOB_SCOPE;
103
71
  userId: string | null;
104
72
  unregisteredUserId: string | null;
105
73
  tokenReservationId?: string | null | undefined;