@purpleschool/gptbot-tools 0.2.70 → 0.2.72-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 (200) 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 -0
  4. package/build/index.js +3 -0
  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/photo-sessions/commands/admin/index.js +19 -0
  11. package/build/photo-sessions/commands/admin/update-photo-session-style.command.d.ts +54 -0
  12. package/build/photo-sessions/commands/admin/update-photo-session-style.command.js +18 -0
  13. package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.d.ts +17 -0
  14. package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.js +19 -0
  15. package/build/photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.d.ts +16 -0
  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 +74 -0
  18. package/build/photo-sessions/commands/get-photo-sessions-price.command.js +28 -0
  19. package/build/photo-sessions/commands/index.d.ts +10 -0
  20. package/build/photo-sessions/commands/index.js +26 -0
  21. package/build/photo-sessions/commands/photo-sessions.command.d.ts +272 -0
  22. package/build/photo-sessions/commands/photo-sessions.command.js +37 -0
  23. package/build/photo-sessions/commands/retry-photo-sessions-job.command.d.ts +179 -0
  24. package/build/photo-sessions/commands/retry-photo-sessions-job.command.js +17 -0
  25. package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.d.ts +181 -0
  26. package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.js +27 -0
  27. package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.d.ts +179 -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 +217 -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 +184 -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 +3 -0
  34. package/build/photo-sessions/enums/index.js +19 -0
  35. package/build/photo-sessions/enums/photo-session-group-status.enum.d.ts +6 -0
  36. package/build/photo-sessions/enums/photo-session-group-status.enum.js +10 -0
  37. package/build/photo-sessions/enums/photo-session-look-type.enum.d.ts +5 -0
  38. package/build/photo-sessions/enums/photo-session-look-type.enum.js +9 -0
  39. package/build/photo-sessions/enums/photo-session-strategy.enum.d.ts +4 -0
  40. package/build/photo-sessions/enums/photo-session-strategy.enum.js +8 -0
  41. package/build/photo-sessions/index.d.ts +5 -0
  42. package/build/photo-sessions/index.js +21 -0
  43. package/build/photo-sessions/models/index.d.ts +5 -0
  44. package/build/photo-sessions/models/index.js +21 -0
  45. package/build/photo-sessions/models/photo-session-config.schema.d.ts +72 -0
  46. package/build/photo-sessions/models/photo-session-config.schema.js +16 -0
  47. package/build/photo-sessions/models/photo-session-group.schema.d.ts +113 -0
  48. package/build/photo-sessions/models/photo-session-group.schema.js +27 -0
  49. package/build/photo-sessions/models/photo-session-job.schema.d.ts +159 -0
  50. package/build/photo-sessions/models/photo-session-job.schema.js +55 -0
  51. package/build/photo-sessions/models/photo-session-model.schema.d.ts +69 -0
  52. package/build/photo-sessions/models/photo-session-model.schema.js +42 -0
  53. package/build/photo-sessions/models/photo-session-style.schema.d.ts +29 -0
  54. package/build/photo-sessions/models/photo-session-style.schema.js +22 -0
  55. package/build/photo-sessions/queries/find-photo-session-style-by-id.query.d.ts +46 -0
  56. package/build/photo-sessions/queries/find-photo-session-style-by-id.query.js +10 -0
  57. package/build/photo-sessions/queries/find-photo-session-styles.query.d.ts +57 -0
  58. package/build/photo-sessions/queries/find-photo-session-styles.query.js +19 -0
  59. package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.d.ts +216 -0
  60. package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.js +18 -0
  61. package/build/photo-sessions/queries/find-photo-sessions-jobs.query.d.ts +235 -0
  62. package/build/photo-sessions/queries/find-photo-sessions-jobs.query.js +33 -0
  63. package/build/photo-sessions/queries/get-photo-sessions-config.query.d.ts +142 -0
  64. package/build/photo-sessions/queries/get-photo-sessions-config.query.js +10 -0
  65. package/build/photo-sessions/queries/index.d.ts +5 -0
  66. package/build/photo-sessions/queries/index.js +21 -0
  67. package/build/photo-sessions/routes/index.d.ts +2 -0
  68. package/build/photo-sessions/routes/index.js +18 -0
  69. package/build/photo-sessions/routes/photo-sessions.amqp.routes.d.ts +19 -0
  70. package/build/photo-sessions/routes/photo-sessions.amqp.routes.js +22 -0
  71. package/build/photo-sessions/routes/photo-sessions.http.routes.d.ts +1 -0
  72. package/build/photo-sessions/routes/photo-sessions.http.routes.js +4 -0
  73. package/build/spell-corrector/commands/get-spell-corrector-price.command.d.ts +16 -3
  74. package/build/spell-corrector/commands/get-spell-corrector-price.command.js +6 -1
  75. package/build/spell-corrector/commands/retry-spell-corrector-job.command.d.ts +67 -0
  76. package/build/spell-corrector/commands/retry-spell-corrector-job.command.js +2 -0
  77. package/build/spell-corrector/commands/set-reaction-to-spell-corrector-job.command.d.ts +56 -0
  78. package/build/spell-corrector/commands/spell-corrector.command.d.ts +69 -1
  79. package/build/spell-corrector/commands/spell-corrector.command.js +9 -2
  80. package/build/spell-corrector/commands/update-spell-corrector-job-favorite.command.d.ts +56 -0
  81. package/build/spell-corrector/commands/update-spell-corrector-job-title.command.d.ts +56 -0
  82. package/build/spell-corrector/constants/index.d.ts +1 -0
  83. package/build/spell-corrector/constants/index.js +17 -0
  84. package/build/spell-corrector/constants/spell-corrector-errors.constant.d.ts +32 -0
  85. package/build/spell-corrector/constants/spell-corrector-errors.constant.js +35 -0
  86. package/build/spell-corrector/enums/index.d.ts +1 -0
  87. package/build/spell-corrector/enums/index.js +17 -0
  88. package/build/spell-corrector/enums/spell-corrector-input-kind.enum.d.ts +4 -0
  89. package/build/spell-corrector/enums/spell-corrector-input-kind.enum.js +8 -0
  90. package/build/spell-corrector/index.d.ts +2 -0
  91. package/build/spell-corrector/index.js +2 -0
  92. package/build/spell-corrector/models/index.d.ts +2 -0
  93. package/build/spell-corrector/models/index.js +2 -0
  94. package/build/spell-corrector/models/spell-corrector-correction-statistics.schema.d.ts +7 -0
  95. package/build/spell-corrector/models/spell-corrector-correction-statistics.schema.js +13 -0
  96. package/build/spell-corrector/models/spell-corrector-document.schema.d.ts +22 -0
  97. package/build/spell-corrector/models/spell-corrector-document.schema.js +16 -0
  98. package/build/spell-corrector/models/spell-corrector-job.schema.d.ts +29 -0
  99. package/build/spell-corrector/models/spell-corrector-job.schema.js +11 -0
  100. package/build/spell-corrector/models/spell-corrector-model.schema.d.ts +4 -0
  101. package/build/spell-corrector/models/spell-corrector-model.schema.js +4 -0
  102. package/build/spell-corrector/models/spell-corrector-tool-config.schema.d.ts +5 -0
  103. package/build/spell-corrector/models/spell-corrector-tool-config.schema.js +1 -0
  104. package/build/spell-corrector/queries/find-spell-corrector-job-by-uuid.query.d.ts +56 -0
  105. package/build/spell-corrector/queries/find-spell-corrector-jobs.query.d.ts +56 -0
  106. package/build/spell-corrector/queries/get-spell-corrector-tool-config.query.d.ts +10 -0
  107. package/build/tools/enums/tool-content-type.enum.d.ts +1 -0
  108. package/build/tools/enums/tool-content-type.enum.js +1 -0
  109. package/build/tools/enums/tool-type.enum.d.ts +1 -0
  110. package/build/tools/enums/tool-type.enum.js +1 -0
  111. package/build/tools/events/tool-job-complete.event.d.ts +1 -0
  112. package/build/tools/events/tool-job-failed.event.d.ts +1 -0
  113. package/build/tools/models/global-tools-config.schema.d.ts +81 -0
  114. package/build/tools/models/global-tools-config.schema.js +2 -0
  115. package/build/tools/models/tool-job.schema.d.ts +1 -0
  116. package/build/tools/models/tool-job.schema.js +1 -0
  117. package/build/tools/models/tools-with-configs.schema.d.ts +32 -0
  118. package/build/tools/queries/get-global-tools-config.query.d.ts +162 -0
  119. package/build/tools/queries/get-tools-with-configs.query.d.ts +32 -0
  120. package/build/tts/commands/create-voice-clone.command.d.ts +81 -0
  121. package/build/tts/commands/create-voice-clone.command.js +21 -0
  122. package/build/tts/commands/create-voice-design.command.d.ts +40 -0
  123. package/build/tts/commands/create-voice-design.command.js +20 -0
  124. package/build/tts/commands/delete-voice.command.d.ts +17 -0
  125. package/build/tts/commands/delete-voice.command.js +14 -0
  126. package/build/tts/commands/download-tts-job.command.d.ts +25 -0
  127. package/build/tts/commands/download-tts-job.command.js +19 -0
  128. package/build/tts/commands/improve-tts-text.command.d.ts +22 -0
  129. package/build/tts/commands/improve-tts-text.command.js +16 -0
  130. package/build/tts/commands/index.d.ts +7 -0
  131. package/build/tts/commands/index.js +7 -0
  132. package/build/tts/commands/retry-tts-job.command.d.ts +29 -2
  133. package/build/tts/commands/retry-tts-job.command.js +2 -0
  134. package/build/tts/commands/select-voice-design.command.d.ts +77 -0
  135. package/build/tts/commands/select-voice-design.command.js +17 -0
  136. package/build/tts/commands/set-reaction-to-tts-job.command.d.ts +29 -2
  137. package/build/tts/commands/set-reaction-to-tts-job.command.js +1 -0
  138. package/build/tts/commands/tts.command.d.ts +35 -3
  139. package/build/tts/commands/tts.command.js +4 -1
  140. package/build/tts/commands/update-tts-job-favorite.command.d.ts +29 -2
  141. package/build/tts/commands/update-tts-job-favorite.command.js +2 -0
  142. package/build/tts/commands/update-tts-job-title.command.d.ts +29 -2
  143. package/build/tts/commands/update-tts-job-title.command.js +2 -0
  144. package/build/tts/commands/update-voice.command.d.ts +78 -0
  145. package/build/tts/commands/update-voice.command.js +18 -0
  146. package/build/tts/enums/index.d.ts +7 -0
  147. package/build/tts/enums/index.js +7 -0
  148. package/build/tts/enums/tts-download-format.enum.d.ts +5 -0
  149. package/build/tts/enums/tts-download-format.enum.js +9 -0
  150. package/build/tts/enums/voice-category.enum.d.ts +19 -0
  151. package/build/tts/enums/voice-category.enum.js +23 -0
  152. package/build/tts/enums/voice-gender.enum.d.ts +4 -0
  153. package/build/tts/enums/voice-gender.enum.js +8 -0
  154. package/build/tts/enums/voice-source.enum.d.ts +5 -0
  155. package/build/tts/enums/voice-source.enum.js +9 -0
  156. package/build/tts/enums/voice-status.enum.d.ts +5 -0
  157. package/build/tts/enums/voice-status.enum.js +9 -0
  158. package/build/tts/enums/voice-tag-group.enum.d.ts +5 -0
  159. package/build/tts/enums/voice-tag-group.enum.js +9 -0
  160. package/build/tts/enums/voice-tag.enum.d.ts +20 -0
  161. package/build/tts/enums/voice-tag.enum.js +24 -0
  162. package/build/tts/models/index.d.ts +7 -0
  163. package/build/tts/models/index.js +7 -0
  164. package/build/tts/models/tts-config-with-vendors.schema.d.ts +1 -0
  165. package/build/tts/models/tts-config.schema.d.ts +11 -0
  166. package/build/tts/models/tts-config.schema.js +5 -0
  167. package/build/tts/models/tts-job.schema.d.ts +34 -2
  168. package/build/tts/models/tts-job.schema.js +22 -2
  169. package/build/tts/models/tts-model-with-vendor.schema.d.ts +1 -0
  170. package/build/tts/models/tts-model.schema.d.ts +1 -0
  171. package/build/tts/models/tts-model.schema.js +1 -0
  172. package/build/tts/models/voice-category.schema.d.ts +7 -0
  173. package/build/tts/models/voice-category.schema.js +9 -0
  174. package/build/tts/models/voice-design-draft.schema.d.ts +13 -0
  175. package/build/tts/models/voice-design-draft.schema.js +13 -0
  176. package/build/tts/models/voice-design-sample.schema.d.ts +6 -0
  177. package/build/tts/models/voice-design-sample.schema.js +8 -0
  178. package/build/tts/models/voice-gender.schema.d.ts +7 -0
  179. package/build/tts/models/voice-gender.schema.js +9 -0
  180. package/build/tts/models/voice-source.schema.d.ts +7 -0
  181. package/build/tts/models/voice-source.schema.js +9 -0
  182. package/build/tts/models/voice-tag.schema.d.ts +9 -0
  183. package/build/tts/models/voice-tag.schema.js +11 -0
  184. package/build/tts/models/voice.schema.d.ts +34 -0
  185. package/build/tts/models/voice.schema.js +30 -0
  186. package/build/tts/queries/find-tts-job-by-id.query.d.ts +29 -2
  187. package/build/tts/queries/find-tts-job-by-id.query.js +2 -0
  188. package/build/tts/queries/find-tts-jobs.query.d.ts +29 -2
  189. package/build/tts/queries/find-tts-jobs.query.js +1 -0
  190. package/build/tts/queries/find-voice-by-id.query.d.ts +77 -0
  191. package/build/tts/queries/find-voice-by-id.query.js +17 -0
  192. package/build/tts/queries/find-voices.query.d.ts +122 -0
  193. package/build/tts/queries/find-voices.query.js +25 -0
  194. package/build/tts/queries/get-tts-config-with-vendors.query.d.ts +2 -0
  195. package/build/tts/queries/get-tts-config.query.d.ts +22 -0
  196. package/build/tts/queries/index.d.ts +2 -0
  197. package/build/tts/queries/index.js +2 -0
  198. package/build/tts/routes/tts.amqp.routes.d.ts +9 -0
  199. package/build/tts/routes/tts.amqp.routes.js +9 -0
  200. package/package.json +1 -1
@@ -551,6 +551,7 @@ export declare namespace GetGlobalToolsConfigQuery {
551
551
  };
552
552
  strategy?: string | undefined;
553
553
  maxInputLength: number;
554
+ maxSpeakers: number;
554
555
  voices: {
555
556
  id: string;
556
557
  externalId: string;
@@ -651,6 +652,16 @@ export declare namespace GetGlobalToolsConfigQuery {
651
652
  createdAt: Date;
652
653
  updatedAt: Date;
653
654
  }[];
655
+ tags: {
656
+ id: import("../..").VOICE_TAG;
657
+ group: import("../..").VOICE_TAG_GROUP;
658
+ label: string;
659
+ }[];
660
+ categories: {
661
+ id: import("../..").VOICE_CATEGORY;
662
+ label: string;
663
+ }[];
664
+ speakerMarkerLabel: string;
654
665
  };
655
666
  SPEECH_TO_TEXT: {
656
667
  models: {
@@ -820,6 +831,10 @@ export declare namespace GetGlobalToolsConfigQuery {
820
831
  };
821
832
  };
822
833
  price: number;
834
+ inputPrice: number | null;
835
+ outputPrice: number | null;
836
+ freeMaxPromptLength: number | null;
837
+ maxPromptLength: number | null;
823
838
  aiModel: string;
824
839
  status: import("../..").TOOL_MODEL_STATUS;
825
840
  reasoningEffort?: import("../..").REASONING_EFFORT | null | undefined;
@@ -828,6 +843,7 @@ export declare namespace GetGlobalToolsConfigQuery {
828
843
  updatedAt: Date;
829
844
  }[];
830
845
  maxSymbols: number;
846
+ freeMaxSymbols: number;
831
847
  };
832
848
  DIAGRAMS: {
833
849
  models: {
@@ -911,6 +927,71 @@ export declare namespace GetGlobalToolsConfigQuery {
911
927
  }[];
912
928
  maxAttachmentsCount: number;
913
929
  };
930
+ PHOTO_SESSIONS: {
931
+ models: {
932
+ uuid: string;
933
+ title: string;
934
+ description: string;
935
+ aiModel: string;
936
+ isNew: boolean;
937
+ tierLabel: string;
938
+ pricePerImage: number;
939
+ order: number;
940
+ status: import("../..").TOOL_MODEL_STATUS;
941
+ icons: {
942
+ light: {
943
+ svg: string;
944
+ png: string;
945
+ };
946
+ dark: {
947
+ svg: string;
948
+ png: string;
949
+ };
950
+ };
951
+ strategy: import("../..").PHOTO_SESSION_STRATEGY;
952
+ maxInputLength: number;
953
+ params: {
954
+ imageAttachment: {
955
+ supported: boolean;
956
+ maxImages: number;
957
+ acceptedTypes: string[];
958
+ };
959
+ aspectRatio: Record<string, {
960
+ width: number;
961
+ height: number;
962
+ }>;
963
+ };
964
+ pricingRules: {
965
+ condition: {
966
+ withoutSub?: boolean | undefined;
967
+ };
968
+ value: number;
969
+ }[];
970
+ createdAt: Date;
971
+ updatedAt: Date;
972
+ }[];
973
+ styles: {
974
+ uuid: string;
975
+ code: string;
976
+ title: string;
977
+ description?: string | null | undefined;
978
+ references: {
979
+ uuid: string;
980
+ styleId: string;
981
+ photoUrl: string;
982
+ description?: string | null | undefined;
983
+ order: number;
984
+ createdAt: Date;
985
+ updatedAt: Date;
986
+ }[];
987
+ createdAt: Date;
988
+ updatedAt: Date;
989
+ }[];
990
+ looks: {
991
+ type: import("../..").PHOTO_SESSION_LOOK_TYPE;
992
+ maxPhotos: number;
993
+ }[];
994
+ };
914
995
  IMAGE_RECOGNITION: {
915
996
  models: {
916
997
  uuid: string;
@@ -1539,6 +1620,7 @@ export declare namespace GetGlobalToolsConfigQuery {
1539
1620
  };
1540
1621
  strategy?: string | undefined;
1541
1622
  maxInputLength: number;
1623
+ maxSpeakers: number;
1542
1624
  voices: {
1543
1625
  id: string;
1544
1626
  externalId: string;
@@ -1639,6 +1721,16 @@ export declare namespace GetGlobalToolsConfigQuery {
1639
1721
  createdAt: Date;
1640
1722
  updatedAt: Date;
1641
1723
  }[];
1724
+ tags: {
1725
+ id: import("../..").VOICE_TAG;
1726
+ group: import("../..").VOICE_TAG_GROUP;
1727
+ label: string;
1728
+ }[];
1729
+ categories: {
1730
+ id: import("../..").VOICE_CATEGORY;
1731
+ label: string;
1732
+ }[];
1733
+ speakerMarkerLabel: string;
1642
1734
  };
1643
1735
  SPEECH_TO_TEXT: {
1644
1736
  models: {
@@ -1808,6 +1900,10 @@ export declare namespace GetGlobalToolsConfigQuery {
1808
1900
  };
1809
1901
  };
1810
1902
  price: number;
1903
+ inputPrice: number | null;
1904
+ outputPrice: number | null;
1905
+ freeMaxPromptLength: number | null;
1906
+ maxPromptLength: number | null;
1811
1907
  aiModel: string;
1812
1908
  status: import("../..").TOOL_MODEL_STATUS;
1813
1909
  reasoningEffort?: import("../..").REASONING_EFFORT | null | undefined;
@@ -1816,6 +1912,7 @@ export declare namespace GetGlobalToolsConfigQuery {
1816
1912
  updatedAt: Date;
1817
1913
  }[];
1818
1914
  maxSymbols: number;
1915
+ freeMaxSymbols: number;
1819
1916
  };
1820
1917
  DIAGRAMS: {
1821
1918
  models: {
@@ -1899,6 +1996,71 @@ export declare namespace GetGlobalToolsConfigQuery {
1899
1996
  }[];
1900
1997
  maxAttachmentsCount: number;
1901
1998
  };
1999
+ PHOTO_SESSIONS: {
2000
+ models: {
2001
+ uuid: string;
2002
+ title: string;
2003
+ description: string;
2004
+ aiModel: string;
2005
+ isNew: boolean;
2006
+ tierLabel: string;
2007
+ pricePerImage: number;
2008
+ order: number;
2009
+ status: import("../..").TOOL_MODEL_STATUS;
2010
+ icons: {
2011
+ light: {
2012
+ svg: string;
2013
+ png: string;
2014
+ };
2015
+ dark: {
2016
+ svg: string;
2017
+ png: string;
2018
+ };
2019
+ };
2020
+ strategy: import("../..").PHOTO_SESSION_STRATEGY;
2021
+ maxInputLength: number;
2022
+ params: {
2023
+ imageAttachment: {
2024
+ supported: boolean;
2025
+ maxImages: number;
2026
+ acceptedTypes: string[];
2027
+ };
2028
+ aspectRatio: Record<string, {
2029
+ width: number;
2030
+ height: number;
2031
+ }>;
2032
+ };
2033
+ pricingRules: {
2034
+ condition: {
2035
+ withoutSub?: boolean | undefined;
2036
+ };
2037
+ value: number;
2038
+ }[];
2039
+ createdAt: Date;
2040
+ updatedAt: Date;
2041
+ }[];
2042
+ styles: {
2043
+ uuid: string;
2044
+ code: string;
2045
+ title: string;
2046
+ description?: string | null | undefined;
2047
+ references: {
2048
+ uuid: string;
2049
+ styleId: string;
2050
+ photoUrl: string;
2051
+ description?: string | null | undefined;
2052
+ order: number;
2053
+ createdAt: Date;
2054
+ updatedAt: Date;
2055
+ }[];
2056
+ createdAt: Date;
2057
+ updatedAt: Date;
2058
+ }[];
2059
+ looks: {
2060
+ type: import("../..").PHOTO_SESSION_LOOK_TYPE;
2061
+ maxPhotos: number;
2062
+ }[];
2063
+ };
1902
2064
  IMAGE_RECOGNITION: {
1903
2065
  models: {
1904
2066
  uuid: string;
@@ -658,6 +658,7 @@ export declare namespace GetToolsWithConfigsQuery {
658
658
  };
659
659
  strategy?: string | undefined;
660
660
  maxInputLength: number;
661
+ maxSpeakers: number;
661
662
  voices: {
662
663
  id: string;
663
664
  externalId: string;
@@ -758,6 +759,16 @@ export declare namespace GetToolsWithConfigsQuery {
758
759
  createdAt: Date;
759
760
  updatedAt: Date;
760
761
  }[];
762
+ tags: {
763
+ id: import("../..").VOICE_TAG;
764
+ group: import("../..").VOICE_TAG_GROUP;
765
+ label: string;
766
+ }[];
767
+ categories: {
768
+ id: import("../..").VOICE_CATEGORY;
769
+ label: string;
770
+ }[];
771
+ speakerMarkerLabel: string;
761
772
  };
762
773
  } | {
763
774
  uuid: string;
@@ -987,6 +998,10 @@ export declare namespace GetToolsWithConfigsQuery {
987
998
  };
988
999
  };
989
1000
  price: number;
1001
+ inputPrice: number | null;
1002
+ outputPrice: number | null;
1003
+ freeMaxPromptLength: number | null;
1004
+ maxPromptLength: number | null;
990
1005
  aiModel: string;
991
1006
  status: import("../..").TOOL_MODEL_STATUS;
992
1007
  reasoningEffort?: import("../..").REASONING_EFFORT | null | undefined;
@@ -995,6 +1010,7 @@ export declare namespace GetToolsWithConfigsQuery {
995
1010
  updatedAt: Date;
996
1011
  }[];
997
1012
  maxSymbols: number;
1013
+ freeMaxSymbols: number;
998
1014
  };
999
1015
  } | {
1000
1016
  uuid: string;
@@ -1861,6 +1877,7 @@ export declare namespace GetToolsWithConfigsQuery {
1861
1877
  };
1862
1878
  strategy?: string | undefined;
1863
1879
  maxInputLength: number;
1880
+ maxSpeakers: number;
1864
1881
  voices: {
1865
1882
  id: string;
1866
1883
  externalId: string;
@@ -1961,6 +1978,16 @@ export declare namespace GetToolsWithConfigsQuery {
1961
1978
  createdAt: Date;
1962
1979
  updatedAt: Date;
1963
1980
  }[];
1981
+ tags: {
1982
+ id: import("../..").VOICE_TAG;
1983
+ group: import("../..").VOICE_TAG_GROUP;
1984
+ label: string;
1985
+ }[];
1986
+ categories: {
1987
+ id: import("../..").VOICE_CATEGORY;
1988
+ label: string;
1989
+ }[];
1990
+ speakerMarkerLabel: string;
1964
1991
  };
1965
1992
  } | {
1966
1993
  uuid: string;
@@ -2190,6 +2217,10 @@ export declare namespace GetToolsWithConfigsQuery {
2190
2217
  };
2191
2218
  };
2192
2219
  price: number;
2220
+ inputPrice: number | null;
2221
+ outputPrice: number | null;
2222
+ freeMaxPromptLength: number | null;
2223
+ maxPromptLength: number | null;
2193
2224
  aiModel: string;
2194
2225
  status: import("../..").TOOL_MODEL_STATUS;
2195
2226
  reasoningEffort?: import("../..").REASONING_EFFORT | null | undefined;
@@ -2198,6 +2229,7 @@ export declare namespace GetToolsWithConfigsQuery {
2198
2229
  updatedAt: Date;
2199
2230
  }[];
2200
2231
  maxSymbols: number;
2232
+ freeMaxSymbols: number;
2201
2233
  };
2202
2234
  } | {
2203
2235
  uuid: string;
@@ -0,0 +1,81 @@
1
+ import { z } from 'zod';
2
+ import { JOB_SCOPE } from '../../common';
3
+ import { VOICE_GENDER } from '../enums/voice-gender.enum';
4
+ export declare namespace CreateVoiceCloneCommand {
5
+ const RequestSchema: z.ZodObject<{
6
+ userId: z.ZodString;
7
+ locale: z.ZodOptional<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>>;
8
+ scope: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof JOB_SCOPE>>>;
9
+ title: z.ZodString;
10
+ gender: z.ZodOptional<z.ZodEnum<typeof VOICE_GENDER>>;
11
+ fileUrl: z.ZodString;
12
+ fileKey: z.ZodString;
13
+ imageUrl: z.ZodOptional<z.ZodString>;
14
+ }, z.core.$strip>;
15
+ type Request = z.infer<typeof RequestSchema>;
16
+ const ResponseSchema: z.ZodObject<{
17
+ isSuccess: z.ZodBoolean;
18
+ data: z.ZodOptional<z.ZodType<{
19
+ uuid: string;
20
+ scope: JOB_SCOPE;
21
+ source: {
22
+ id: import("..").VOICE_SOURCE;
23
+ label: string;
24
+ };
25
+ title: string;
26
+ description: string;
27
+ gender: {
28
+ id: VOICE_GENDER;
29
+ label: string;
30
+ } | null;
31
+ trait: string | null;
32
+ ageRange: string | null;
33
+ categories: {
34
+ id: import("..").VOICE_CATEGORY;
35
+ label: string;
36
+ }[];
37
+ previewUrl: string;
38
+ imageUrl: string | null;
39
+ status: import("..").VOICE_STATUS;
40
+ error: string | null;
41
+ order: number;
42
+ isDeleted: boolean;
43
+ userId: string | null;
44
+ unregisteredUserId: string | null;
45
+ createdAt: Date;
46
+ updatedAt: Date;
47
+ }, unknown, z.core.$ZodTypeInternals<{
48
+ uuid: string;
49
+ scope: JOB_SCOPE;
50
+ source: {
51
+ id: import("..").VOICE_SOURCE;
52
+ label: string;
53
+ };
54
+ title: string;
55
+ description: string;
56
+ gender: {
57
+ id: VOICE_GENDER;
58
+ label: string;
59
+ } | null;
60
+ trait: string | null;
61
+ ageRange: string | null;
62
+ categories: {
63
+ id: import("..").VOICE_CATEGORY;
64
+ label: string;
65
+ }[];
66
+ previewUrl: string;
67
+ imageUrl: string | null;
68
+ status: import("..").VOICE_STATUS;
69
+ error: string | null;
70
+ order: number;
71
+ isDeleted: boolean;
72
+ userId: string | null;
73
+ unregisteredUserId: string | null;
74
+ createdAt: Date;
75
+ updatedAt: Date;
76
+ }, unknown>>>;
77
+ code: z.ZodOptional<z.ZodString>;
78
+ message: z.ZodOptional<z.ZodString>;
79
+ }, z.core.$strip>;
80
+ type Response = z.infer<typeof ResponseSchema>;
81
+ }
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateVoiceCloneCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const common_1 = require("../../common");
6
+ const voice_gender_enum_1 = require("../enums/voice-gender.enum");
7
+ const models_1 = require("../models");
8
+ var CreateVoiceCloneCommand;
9
+ (function (CreateVoiceCloneCommand) {
10
+ CreateVoiceCloneCommand.RequestSchema = zod_1.z.object({
11
+ userId: zod_1.z.string().uuid(),
12
+ locale: common_1.LocaleSchema.optional(),
13
+ scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
14
+ title: zod_1.z.string(),
15
+ gender: zod_1.z.nativeEnum(voice_gender_enum_1.VOICE_GENDER).optional(),
16
+ fileUrl: zod_1.z.string().url(),
17
+ fileKey: zod_1.z.string(),
18
+ imageUrl: zod_1.z.string().url().optional(),
19
+ });
20
+ CreateVoiceCloneCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.VoiceSchema);
21
+ })(CreateVoiceCloneCommand || (exports.CreateVoiceCloneCommand = CreateVoiceCloneCommand = {}));
@@ -0,0 +1,40 @@
1
+ import { z } from 'zod';
2
+ import { JOB_SCOPE } from '../../common';
3
+ import { VOICE_GENDER } from '../enums/voice-gender.enum';
4
+ export declare namespace CreateVoiceDesignCommand {
5
+ const RequestSchema: z.ZodObject<{
6
+ userId: z.ZodString;
7
+ locale: z.ZodOptional<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>>;
8
+ scope: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof JOB_SCOPE>>>;
9
+ title: z.ZodString;
10
+ gender: z.ZodEnum<typeof VOICE_GENDER>;
11
+ instruction: z.ZodString;
12
+ imageUrl: z.ZodOptional<z.ZodString>;
13
+ }, z.core.$strip>;
14
+ type Request = z.infer<typeof RequestSchema>;
15
+ const ResponseSchema: z.ZodObject<{
16
+ isSuccess: z.ZodBoolean;
17
+ data: z.ZodOptional<z.ZodType<{
18
+ designId: string;
19
+ title: string;
20
+ gender: VOICE_GENDER;
21
+ imageUrl: string | null;
22
+ samples: {
23
+ sampleId: string;
24
+ previewUrl: string;
25
+ }[];
26
+ }, unknown, z.core.$ZodTypeInternals<{
27
+ designId: string;
28
+ title: string;
29
+ gender: VOICE_GENDER;
30
+ imageUrl: string | null;
31
+ samples: {
32
+ sampleId: string;
33
+ previewUrl: string;
34
+ }[];
35
+ }, unknown>>>;
36
+ code: z.ZodOptional<z.ZodString>;
37
+ message: z.ZodOptional<z.ZodString>;
38
+ }, z.core.$strip>;
39
+ type Response = z.infer<typeof ResponseSchema>;
40
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateVoiceDesignCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const common_1 = require("../../common");
6
+ const voice_gender_enum_1 = require("../enums/voice-gender.enum");
7
+ const models_1 = require("../models");
8
+ var CreateVoiceDesignCommand;
9
+ (function (CreateVoiceDesignCommand) {
10
+ CreateVoiceDesignCommand.RequestSchema = zod_1.z.object({
11
+ userId: zod_1.z.string().uuid(),
12
+ locale: common_1.LocaleSchema.optional(),
13
+ scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
14
+ title: zod_1.z.string(),
15
+ gender: zod_1.z.nativeEnum(voice_gender_enum_1.VOICE_GENDER),
16
+ instruction: zod_1.z.string().min(1),
17
+ imageUrl: zod_1.z.string().url().optional(),
18
+ });
19
+ CreateVoiceDesignCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.VoiceDesignDraftSchema);
20
+ })(CreateVoiceDesignCommand || (exports.CreateVoiceDesignCommand = CreateVoiceDesignCommand = {}));
@@ -0,0 +1,17 @@
1
+ import { z } from 'zod';
2
+ import { JOB_SCOPE } from '../../common';
3
+ export declare namespace DeleteVoiceCommand {
4
+ const RequestSchema: z.ZodObject<{
5
+ uuid: z.ZodString;
6
+ userId: z.ZodString;
7
+ scope: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof JOB_SCOPE>>>;
8
+ }, z.core.$strip>;
9
+ type Request = z.infer<typeof RequestSchema>;
10
+ const ResponseSchema: z.ZodObject<{
11
+ isSuccess: z.ZodBoolean;
12
+ data: z.ZodOptional<z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>>;
13
+ code: z.ZodOptional<z.ZodString>;
14
+ message: z.ZodOptional<z.ZodString>;
15
+ }, z.core.$strip>;
16
+ type Response = z.infer<typeof ResponseSchema>;
17
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteVoiceCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const common_1 = require("../../common");
6
+ var DeleteVoiceCommand;
7
+ (function (DeleteVoiceCommand) {
8
+ DeleteVoiceCommand.RequestSchema = zod_1.z.object({
9
+ uuid: zod_1.z.string().uuid(),
10
+ userId: zod_1.z.string().uuid(),
11
+ scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
12
+ });
13
+ DeleteVoiceCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(zod_1.z.boolean());
14
+ })(DeleteVoiceCommand || (exports.DeleteVoiceCommand = DeleteVoiceCommand = {}));
@@ -0,0 +1,25 @@
1
+ import { z } from 'zod';
2
+ import { TTS_DOWNLOAD_FORMAT } from '../enums/tts-download-format.enum';
3
+ export declare namespace DownloadTTSJobCommand {
4
+ const RequestSchema: z.ZodObject<{
5
+ uuid: z.ZodString;
6
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
+ unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ format: z.ZodEnum<typeof TTS_DOWNLOAD_FORMAT>;
9
+ }, z.core.$strip>;
10
+ type Request = z.infer<typeof RequestSchema>;
11
+ const ResponseDataSchema: z.ZodObject<{
12
+ url: z.ZodString;
13
+ }, z.core.$strip>;
14
+ const ResponseSchema: z.ZodObject<{
15
+ isSuccess: z.ZodBoolean;
16
+ data: z.ZodOptional<z.ZodType<{
17
+ url: string;
18
+ }, unknown, z.core.$ZodTypeInternals<{
19
+ url: string;
20
+ }, unknown>>>;
21
+ code: z.ZodOptional<z.ZodString>;
22
+ message: z.ZodOptional<z.ZodString>;
23
+ }, z.core.$strip>;
24
+ type Response = z.infer<typeof ResponseSchema>;
25
+ }
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DownloadTTSJobCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const common_1 = require("../../common");
6
+ const tts_download_format_enum_1 = require("../enums/tts-download-format.enum");
7
+ var DownloadTTSJobCommand;
8
+ (function (DownloadTTSJobCommand) {
9
+ DownloadTTSJobCommand.RequestSchema = zod_1.z.object({
10
+ uuid: zod_1.z.string().uuid(),
11
+ userId: zod_1.z.string().uuid().nullable().optional(),
12
+ unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
13
+ format: zod_1.z.nativeEnum(tts_download_format_enum_1.TTS_DOWNLOAD_FORMAT),
14
+ });
15
+ DownloadTTSJobCommand.ResponseDataSchema = zod_1.z.object({
16
+ url: zod_1.z.string(),
17
+ });
18
+ DownloadTTSJobCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(DownloadTTSJobCommand.ResponseDataSchema);
19
+ })(DownloadTTSJobCommand || (exports.DownloadTTSJobCommand = DownloadTTSJobCommand = {}));
@@ -0,0 +1,22 @@
1
+ import { z } from 'zod';
2
+ export declare namespace ImproveTTSTextCommand {
3
+ const RequestSchema: z.ZodObject<{
4
+ userInput: z.ZodString;
5
+ locale: z.ZodOptional<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>>;
6
+ }, z.core.$strip>;
7
+ type Request = z.infer<typeof RequestSchema>;
8
+ const ResponseDataSchema: z.ZodObject<{
9
+ text: z.ZodString;
10
+ }, z.core.$strip>;
11
+ const ResponseSchema: z.ZodObject<{
12
+ isSuccess: z.ZodBoolean;
13
+ data: z.ZodOptional<z.ZodType<{
14
+ text: string;
15
+ }, unknown, z.core.$ZodTypeInternals<{
16
+ text: string;
17
+ }, unknown>>>;
18
+ code: z.ZodOptional<z.ZodString>;
19
+ message: z.ZodOptional<z.ZodString>;
20
+ }, z.core.$strip>;
21
+ type Response = z.infer<typeof ResponseSchema>;
22
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ImproveTTSTextCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const common_1 = require("../../common");
6
+ var ImproveTTSTextCommand;
7
+ (function (ImproveTTSTextCommand) {
8
+ ImproveTTSTextCommand.RequestSchema = zod_1.z.object({
9
+ userInput: zod_1.z.string(),
10
+ locale: common_1.LocaleSchema.optional(),
11
+ });
12
+ ImproveTTSTextCommand.ResponseDataSchema = zod_1.z.object({
13
+ text: zod_1.z.string(),
14
+ });
15
+ ImproveTTSTextCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(ImproveTTSTextCommand.ResponseDataSchema);
16
+ })(ImproveTTSTextCommand || (exports.ImproveTTSTextCommand = ImproveTTSTextCommand = {}));
@@ -6,3 +6,10 @@ 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,3 +22,10 @@ __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);