@purpleschool/gptbot-tools 0.2.57 → 0.2.59

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 (179) 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/image-editor/commands/get-image-editor-price.command.d.ts +2 -0
  4. package/build/image-editor/commands/get-image-editor-price.command.js +2 -0
  5. package/build/image-editor/commands/image-editor-model/get-image-editor-model-by-uuid.command.d.ts +6 -0
  6. package/build/image-editor/commands/image-editor.command.d.ts +3 -0
  7. package/build/image-editor/commands/image-editor.command.js +1 -0
  8. package/build/image-editor/commands/retry-image-editor-job.command.d.ts +3 -0
  9. package/build/image-editor/commands/set-reaction-to-image-editor-job.command.d.ts +2 -0
  10. package/build/image-editor/commands/update-image-editor-job-favorite.command.d.ts +2 -0
  11. package/build/image-editor/commands/update-image-editor-job-title.command.d.ts +2 -0
  12. package/build/image-editor/commands/update-published-status-image-editor-jobs.command.d.ts +2 -0
  13. package/build/image-editor/enums/image-editor-strategy.enum.d.ts +1 -0
  14. package/build/image-editor/enums/image-editor-strategy.enum.js +1 -0
  15. package/build/image-editor/models/image-editor-config.schema.d.ts +3 -0
  16. package/build/image-editor/models/image-editor-job.schema.d.ts +2 -0
  17. package/build/image-editor/models/image-editor-job.schema.js +1 -0
  18. package/build/image-editor/models/image-editor-model.schema.d.ts +6 -0
  19. package/build/image-editor/models/image-editor-model.schema.js +5 -0
  20. package/build/image-editor/queries/find-image-editor-job-by-id.query.d.ts +2 -0
  21. package/build/image-editor/queries/find-image-editor-jobs.query.d.ts +2 -0
  22. package/build/image-editor/queries/find-image-jobs.query.d.ts +2 -0
  23. package/build/image-editor/queries/get-image-editor-config.query.d.ts +6 -0
  24. package/build/index.d.ts +0 -3
  25. package/build/index.js +0 -3
  26. package/build/tool-workspace/models/tool-workspace-contents.schema.d.ts +1 -0
  27. package/build/tool-workspace/models/tool-workspace-item.schema.d.ts +1 -0
  28. package/build/tool-workspace/models/tool-workspace-job.schema.d.ts +1 -0
  29. package/build/tool-workspace/queries/find-tool-workspace-by-uuid.query.d.ts +2 -0
  30. package/build/tools/enums/tool-content-type.enum.d.ts +1 -2
  31. package/build/tools/enums/tool-content-type.enum.js +1 -2
  32. package/build/tools/enums/tool-type.enum.d.ts +0 -1
  33. package/build/tools/enums/tool-type.enum.js +0 -1
  34. package/build/tools/models/global-tools-config.schema.d.ts +3 -76
  35. package/build/tools/models/global-tools-config.schema.js +0 -2
  36. package/build/tools/models/tools-with-configs.schema.d.ts +6 -22
  37. package/build/tools/queries/get-global-tools-config.query.d.ts +6 -152
  38. package/build/tools/queries/get-tools-with-configs.query.d.ts +6 -22
  39. package/build/tts/commands/index.d.ts +0 -7
  40. package/build/tts/commands/index.js +0 -7
  41. package/build/tts/commands/retry-tts-job.command.d.ts +2 -29
  42. package/build/tts/commands/retry-tts-job.command.js +0 -2
  43. package/build/tts/commands/set-reaction-to-tts-job.command.d.ts +2 -29
  44. package/build/tts/commands/set-reaction-to-tts-job.command.js +0 -1
  45. package/build/tts/commands/tts.command.d.ts +3 -35
  46. package/build/tts/commands/tts.command.js +1 -4
  47. package/build/tts/commands/update-tts-job-favorite.command.d.ts +2 -29
  48. package/build/tts/commands/update-tts-job-favorite.command.js +0 -2
  49. package/build/tts/commands/update-tts-job-title.command.d.ts +2 -29
  50. package/build/tts/commands/update-tts-job-title.command.js +0 -2
  51. package/build/tts/enums/index.d.ts +0 -7
  52. package/build/tts/enums/index.js +0 -7
  53. package/build/tts/models/index.d.ts +0 -5
  54. package/build/tts/models/index.js +0 -5
  55. package/build/tts/models/tts-config-with-vendors.schema.d.ts +0 -1
  56. package/build/tts/models/tts-config.schema.d.ts +0 -11
  57. package/build/tts/models/tts-config.schema.js +0 -5
  58. package/build/tts/models/tts-job.schema.d.ts +2 -34
  59. package/build/tts/models/tts-job.schema.js +2 -22
  60. package/build/tts/models/tts-model-with-vendor.schema.d.ts +0 -1
  61. package/build/tts/models/tts-model.schema.d.ts +0 -1
  62. package/build/tts/models/tts-model.schema.js +0 -1
  63. package/build/tts/queries/find-tts-job-by-id.query.d.ts +2 -29
  64. package/build/tts/queries/find-tts-job-by-id.query.js +0 -2
  65. package/build/tts/queries/find-tts-jobs.query.d.ts +2 -29
  66. package/build/tts/queries/find-tts-jobs.query.js +0 -1
  67. package/build/tts/queries/get-tts-config-with-vendors.query.d.ts +0 -2
  68. package/build/tts/queries/get-tts-config.query.d.ts +0 -22
  69. package/build/tts/queries/index.d.ts +0 -2
  70. package/build/tts/queries/index.js +0 -2
  71. package/build/tts/routes/tts.amqp.routes.d.ts +0 -9
  72. package/build/tts/routes/tts.amqp.routes.js +0 -9
  73. package/package.json +1 -1
  74. package/build/photo-sessions/commands/admin/create-photo-session-style.command.d.ts +0 -58
  75. package/build/photo-sessions/commands/admin/create-photo-session-style.command.js +0 -21
  76. package/build/photo-sessions/commands/admin/delete-photo-session-style.command.d.ts +0 -14
  77. package/build/photo-sessions/commands/admin/delete-photo-session-style.command.js +0 -12
  78. package/build/photo-sessions/commands/admin/index.d.ts +0 -3
  79. package/build/photo-sessions/commands/admin/index.js +0 -19
  80. package/build/photo-sessions/commands/admin/update-photo-session-style.command.d.ts +0 -55
  81. package/build/photo-sessions/commands/admin/update-photo-session-style.command.js +0 -28
  82. package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.d.ts +0 -17
  83. package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.js +0 -15
  84. package/build/photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.d.ts +0 -16
  85. package/build/photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.js +0 -14
  86. package/build/photo-sessions/commands/get-photo-sessions-price.command.d.ts +0 -46
  87. package/build/photo-sessions/commands/get-photo-sessions-price.command.js +0 -30
  88. package/build/photo-sessions/commands/index.d.ts +0 -10
  89. package/build/photo-sessions/commands/index.js +0 -26
  90. package/build/photo-sessions/commands/photo-sessions.command.d.ts +0 -147
  91. package/build/photo-sessions/commands/photo-sessions.command.js +0 -41
  92. package/build/photo-sessions/commands/retry-photo-sessions-job.command.d.ts +0 -142
  93. package/build/photo-sessions/commands/retry-photo-sessions-job.command.js +0 -23
  94. package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.d.ts +0 -115
  95. package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.js +0 -27
  96. package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.d.ts +0 -113
  97. package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.js +0 -16
  98. package/build/photo-sessions/commands/update-photo-sessions-job-title.command.d.ts +0 -113
  99. package/build/photo-sessions/commands/update-photo-sessions-job-title.command.js +0 -16
  100. package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.d.ts +0 -118
  101. package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.js +0 -26
  102. package/build/photo-sessions/enums/index.d.ts +0 -2
  103. package/build/photo-sessions/enums/index.js +0 -18
  104. package/build/photo-sessions/enums/photo-session-look-type.enum.d.ts +0 -5
  105. package/build/photo-sessions/enums/photo-session-look-type.enum.js +0 -9
  106. package/build/photo-sessions/enums/photo-session-strategy.enum.d.ts +0 -4
  107. package/build/photo-sessions/enums/photo-session-strategy.enum.js +0 -8
  108. package/build/photo-sessions/index.d.ts +0 -5
  109. package/build/photo-sessions/index.js +0 -21
  110. package/build/photo-sessions/models/index.d.ts +0 -4
  111. package/build/photo-sessions/models/index.js +0 -20
  112. package/build/photo-sessions/models/photo-session-config.schema.d.ts +0 -72
  113. package/build/photo-sessions/models/photo-session-config.schema.js +0 -16
  114. package/build/photo-sessions/models/photo-session-job.schema.d.ts +0 -78
  115. package/build/photo-sessions/models/photo-session-job.schema.js +0 -46
  116. package/build/photo-sessions/models/photo-session-model.schema.d.ts +0 -69
  117. package/build/photo-sessions/models/photo-session-model.schema.js +0 -42
  118. package/build/photo-sessions/models/photo-session-style.schema.d.ts +0 -29
  119. package/build/photo-sessions/models/photo-session-style.schema.js +0 -22
  120. package/build/photo-sessions/queries/find-photo-session-style-by-id.query.d.ts +0 -46
  121. package/build/photo-sessions/queries/find-photo-session-style-by-id.query.js +0 -10
  122. package/build/photo-sessions/queries/find-photo-session-styles.query.d.ts +0 -57
  123. package/build/photo-sessions/queries/find-photo-session-styles.query.js +0 -19
  124. package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.d.ts +0 -110
  125. package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.js +0 -10
  126. package/build/photo-sessions/queries/find-photo-sessions-jobs.query.d.ts +0 -130
  127. package/build/photo-sessions/queries/find-photo-sessions-jobs.query.js +0 -28
  128. package/build/photo-sessions/queries/get-photo-sessions-config.query.d.ts +0 -142
  129. package/build/photo-sessions/queries/get-photo-sessions-config.query.js +0 -10
  130. package/build/photo-sessions/queries/index.d.ts +0 -5
  131. package/build/photo-sessions/queries/index.js +0 -21
  132. package/build/photo-sessions/routes/index.d.ts +0 -2
  133. package/build/photo-sessions/routes/index.js +0 -18
  134. package/build/photo-sessions/routes/photo-sessions.amqp.routes.d.ts +0 -19
  135. package/build/photo-sessions/routes/photo-sessions.amqp.routes.js +0 -22
  136. package/build/photo-sessions/routes/photo-sessions.http.routes.d.ts +0 -1
  137. package/build/photo-sessions/routes/photo-sessions.http.routes.js +0 -4
  138. package/build/tts/commands/create-voice-clone.command.d.ts +0 -56
  139. package/build/tts/commands/create-voice-clone.command.js +0 -19
  140. package/build/tts/commands/create-voice-design.command.d.ts +0 -35
  141. package/build/tts/commands/create-voice-design.command.js +0 -18
  142. package/build/tts/commands/delete-voice.command.d.ts +0 -15
  143. package/build/tts/commands/delete-voice.command.js +0 -13
  144. package/build/tts/commands/download-tts-job.command.d.ts +0 -25
  145. package/build/tts/commands/download-tts-job.command.js +0 -19
  146. package/build/tts/commands/improve-tts-text.command.d.ts +0 -22
  147. package/build/tts/commands/improve-tts-text.command.js +0 -16
  148. package/build/tts/commands/select-voice-design.command.d.ts +0 -53
  149. package/build/tts/commands/select-voice-design.command.js +0 -16
  150. package/build/tts/commands/update-voice.command.d.ts +0 -53
  151. package/build/tts/commands/update-voice.command.js +0 -16
  152. package/build/tts/enums/tts-download-format.enum.d.ts +0 -5
  153. package/build/tts/enums/tts-download-format.enum.js +0 -9
  154. package/build/tts/enums/voice-category.enum.d.ts +0 -14
  155. package/build/tts/enums/voice-category.enum.js +0 -18
  156. package/build/tts/enums/voice-gender.enum.d.ts +0 -4
  157. package/build/tts/enums/voice-gender.enum.js +0 -8
  158. package/build/tts/enums/voice-source.enum.d.ts +0 -5
  159. package/build/tts/enums/voice-source.enum.js +0 -9
  160. package/build/tts/enums/voice-status.enum.d.ts +0 -5
  161. package/build/tts/enums/voice-status.enum.js +0 -9
  162. package/build/tts/enums/voice-tag-group.enum.d.ts +0 -5
  163. package/build/tts/enums/voice-tag-group.enum.js +0 -9
  164. package/build/tts/enums/voice-tag.enum.d.ts +0 -20
  165. package/build/tts/enums/voice-tag.enum.js +0 -24
  166. package/build/tts/models/voice-category.schema.d.ts +0 -7
  167. package/build/tts/models/voice-category.schema.js +0 -9
  168. package/build/tts/models/voice-design-draft.schema.d.ts +0 -12
  169. package/build/tts/models/voice-design-draft.schema.js +0 -12
  170. package/build/tts/models/voice-design-sample.schema.d.ts +0 -6
  171. package/build/tts/models/voice-design-sample.schema.js +0 -8
  172. package/build/tts/models/voice-tag.schema.d.ts +0 -9
  173. package/build/tts/models/voice-tag.schema.js +0 -11
  174. package/build/tts/models/voice.schema.d.ts +0 -25
  175. package/build/tts/models/voice.schema.js +0 -27
  176. package/build/tts/queries/find-voice-by-id.query.d.ts +0 -53
  177. package/build/tts/queries/find-voice-by-id.query.js +0 -16
  178. package/build/tts/queries/find-voices.query.d.ts +0 -87
  179. package/build/tts/queries/find-voices.query.js +0 -24
@@ -290,6 +290,9 @@ export declare const ToolWithConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
290
290
  width: z.ZodNumber;
291
291
  height: z.ZodNumber;
292
292
  }, z.core.$strip>>;
293
+ resolution: z.ZodOptional<z.ZodObject<{
294
+ options: z.ZodArray<z.ZodString>;
295
+ }, z.core.$strip>>;
293
296
  }, z.core.$strip>;
294
297
  pricingRules: z.ZodArray<z.ZodObject<{
295
298
  condition: z.ZodObject<{
@@ -648,7 +651,6 @@ export declare const ToolWithConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
648
651
  }, z.core.$strip>;
649
652
  strategy: z.ZodOptional<z.ZodString>;
650
653
  maxInputLength: z.ZodNumber;
651
- maxSpeakers: z.ZodNumber;
652
654
  voices: z.ZodArray<z.ZodObject<{
653
655
  id: z.ZodString;
654
656
  externalId: z.ZodString;
@@ -749,16 +751,6 @@ export declare const ToolWithConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
749
751
  createdAt: z.ZodDate;
750
752
  updatedAt: z.ZodDate;
751
753
  }, z.core.$strip>>;
752
- tags: z.ZodArray<z.ZodObject<{
753
- id: z.ZodEnum<typeof import("../..").VOICE_TAG>;
754
- group: z.ZodEnum<typeof import("../..").VOICE_TAG_GROUP>;
755
- label: z.ZodString;
756
- }, z.core.$strip>>;
757
- categories: z.ZodArray<z.ZodObject<{
758
- id: z.ZodEnum<typeof import("../..").VOICE_CATEGORY>;
759
- label: z.ZodString;
760
- }, z.core.$strip>>;
761
- speakerMarkerLabel: z.ZodString;
762
754
  }, z.core.$strip>;
763
755
  }, z.core.$strip>, z.ZodObject<{
764
756
  uuid: z.ZodString;
@@ -1457,6 +1449,9 @@ export declare const ToolsWithConfigsSchema: z.ZodArray<z.ZodDiscriminatedUnion<
1457
1449
  width: z.ZodNumber;
1458
1450
  height: z.ZodNumber;
1459
1451
  }, z.core.$strip>>;
1452
+ resolution: z.ZodOptional<z.ZodObject<{
1453
+ options: z.ZodArray<z.ZodString>;
1454
+ }, z.core.$strip>>;
1460
1455
  }, z.core.$strip>;
1461
1456
  pricingRules: z.ZodArray<z.ZodObject<{
1462
1457
  condition: z.ZodObject<{
@@ -1815,7 +1810,6 @@ export declare const ToolsWithConfigsSchema: z.ZodArray<z.ZodDiscriminatedUnion<
1815
1810
  }, z.core.$strip>;
1816
1811
  strategy: z.ZodOptional<z.ZodString>;
1817
1812
  maxInputLength: z.ZodNumber;
1818
- maxSpeakers: z.ZodNumber;
1819
1813
  voices: z.ZodArray<z.ZodObject<{
1820
1814
  id: z.ZodString;
1821
1815
  externalId: z.ZodString;
@@ -1916,16 +1910,6 @@ export declare const ToolsWithConfigsSchema: z.ZodArray<z.ZodDiscriminatedUnion<
1916
1910
  createdAt: z.ZodDate;
1917
1911
  updatedAt: z.ZodDate;
1918
1912
  }, z.core.$strip>>;
1919
- tags: z.ZodArray<z.ZodObject<{
1920
- id: z.ZodEnum<typeof import("../..").VOICE_TAG>;
1921
- group: z.ZodEnum<typeof import("../..").VOICE_TAG_GROUP>;
1922
- label: z.ZodString;
1923
- }, z.core.$strip>>;
1924
- categories: z.ZodArray<z.ZodObject<{
1925
- id: z.ZodEnum<typeof import("../..").VOICE_CATEGORY>;
1926
- label: z.ZodString;
1927
- }, z.core.$strip>>;
1928
- speakerMarkerLabel: z.ZodString;
1929
1913
  }, z.core.$strip>;
1930
1914
  }, z.core.$strip>, z.ZodObject<{
1931
1915
  uuid: z.ZodString;
@@ -249,6 +249,9 @@ export declare namespace GetGlobalToolsConfigQuery {
249
249
  width: number;
250
250
  height: number;
251
251
  }>;
252
+ resolution?: {
253
+ options: string[];
254
+ } | undefined;
252
255
  };
253
256
  pricingRules: {
254
257
  condition: {
@@ -547,7 +550,6 @@ export declare namespace GetGlobalToolsConfigQuery {
547
550
  };
548
551
  strategy?: string | undefined;
549
552
  maxInputLength: number;
550
- maxSpeakers: number;
551
553
  voices: {
552
554
  id: string;
553
555
  externalId: string;
@@ -648,16 +650,6 @@ export declare namespace GetGlobalToolsConfigQuery {
648
650
  createdAt: Date;
649
651
  updatedAt: Date;
650
652
  }[];
651
- tags: {
652
- id: import("../..").VOICE_TAG;
653
- group: import("../..").VOICE_TAG_GROUP;
654
- label: string;
655
- }[];
656
- categories: {
657
- id: import("../..").VOICE_CATEGORY;
658
- label: string;
659
- }[];
660
- speakerMarkerLabel: string;
661
653
  };
662
654
  SPEECH_TO_TEXT: {
663
655
  models: {
@@ -917,71 +909,6 @@ export declare namespace GetGlobalToolsConfigQuery {
917
909
  }[];
918
910
  maxAttachmentsCount: number;
919
911
  };
920
- PHOTO_SESSIONS: {
921
- models: {
922
- uuid: string;
923
- title: string;
924
- description: string;
925
- aiModel: string;
926
- isNew: boolean;
927
- tierLabel: string;
928
- pricePerImage: number;
929
- order: number;
930
- status: import("../..").TOOL_MODEL_STATUS;
931
- icons: {
932
- light: {
933
- svg: string;
934
- png: string;
935
- };
936
- dark: {
937
- svg: string;
938
- png: string;
939
- };
940
- };
941
- strategy: import("../..").PHOTO_SESSION_STRATEGY;
942
- maxInputLength: number;
943
- params: {
944
- imageAttachment: {
945
- supported: boolean;
946
- maxImages: number;
947
- acceptedTypes: string[];
948
- };
949
- aspectRatio: Record<string, {
950
- width: number;
951
- height: number;
952
- }>;
953
- };
954
- pricingRules: {
955
- condition: {
956
- withoutSub?: boolean | undefined;
957
- };
958
- value: number;
959
- }[];
960
- createdAt: Date;
961
- updatedAt: Date;
962
- }[];
963
- styles: {
964
- uuid: string;
965
- code: string;
966
- title: string;
967
- description?: string | null | undefined;
968
- references: {
969
- uuid: string;
970
- styleId: string;
971
- photoUrl: string;
972
- description?: string | null | undefined;
973
- order: number;
974
- createdAt: Date;
975
- updatedAt: Date;
976
- }[];
977
- createdAt: Date;
978
- updatedAt: Date;
979
- }[];
980
- looks: {
981
- type: import("../..").PHOTO_SESSION_LOOK_TYPE;
982
- maxPhotos: number;
983
- }[];
984
- };
985
912
  IMAGE_RECOGNITION: {
986
913
  models: {
987
914
  uuid: string;
@@ -1276,6 +1203,9 @@ export declare namespace GetGlobalToolsConfigQuery {
1276
1203
  width: number;
1277
1204
  height: number;
1278
1205
  }>;
1206
+ resolution?: {
1207
+ options: string[];
1208
+ } | undefined;
1279
1209
  };
1280
1210
  pricingRules: {
1281
1211
  condition: {
@@ -1574,7 +1504,6 @@ export declare namespace GetGlobalToolsConfigQuery {
1574
1504
  };
1575
1505
  strategy?: string | undefined;
1576
1506
  maxInputLength: number;
1577
- maxSpeakers: number;
1578
1507
  voices: {
1579
1508
  id: string;
1580
1509
  externalId: string;
@@ -1675,16 +1604,6 @@ export declare namespace GetGlobalToolsConfigQuery {
1675
1604
  createdAt: Date;
1676
1605
  updatedAt: Date;
1677
1606
  }[];
1678
- tags: {
1679
- id: import("../..").VOICE_TAG;
1680
- group: import("../..").VOICE_TAG_GROUP;
1681
- label: string;
1682
- }[];
1683
- categories: {
1684
- id: import("../..").VOICE_CATEGORY;
1685
- label: string;
1686
- }[];
1687
- speakerMarkerLabel: string;
1688
1607
  };
1689
1608
  SPEECH_TO_TEXT: {
1690
1609
  models: {
@@ -1944,71 +1863,6 @@ export declare namespace GetGlobalToolsConfigQuery {
1944
1863
  }[];
1945
1864
  maxAttachmentsCount: number;
1946
1865
  };
1947
- PHOTO_SESSIONS: {
1948
- models: {
1949
- uuid: string;
1950
- title: string;
1951
- description: string;
1952
- aiModel: string;
1953
- isNew: boolean;
1954
- tierLabel: string;
1955
- pricePerImage: number;
1956
- order: number;
1957
- status: import("../..").TOOL_MODEL_STATUS;
1958
- icons: {
1959
- light: {
1960
- svg: string;
1961
- png: string;
1962
- };
1963
- dark: {
1964
- svg: string;
1965
- png: string;
1966
- };
1967
- };
1968
- strategy: import("../..").PHOTO_SESSION_STRATEGY;
1969
- maxInputLength: number;
1970
- params: {
1971
- imageAttachment: {
1972
- supported: boolean;
1973
- maxImages: number;
1974
- acceptedTypes: string[];
1975
- };
1976
- aspectRatio: Record<string, {
1977
- width: number;
1978
- height: number;
1979
- }>;
1980
- };
1981
- pricingRules: {
1982
- condition: {
1983
- withoutSub?: boolean | undefined;
1984
- };
1985
- value: number;
1986
- }[];
1987
- createdAt: Date;
1988
- updatedAt: Date;
1989
- }[];
1990
- styles: {
1991
- uuid: string;
1992
- code: string;
1993
- title: string;
1994
- description?: string | null | undefined;
1995
- references: {
1996
- uuid: string;
1997
- styleId: string;
1998
- photoUrl: string;
1999
- description?: string | null | undefined;
2000
- order: number;
2001
- createdAt: Date;
2002
- updatedAt: Date;
2003
- }[];
2004
- createdAt: Date;
2005
- updatedAt: Date;
2006
- }[];
2007
- looks: {
2008
- type: import("../..").PHOTO_SESSION_LOOK_TYPE;
2009
- maxPhotos: number;
2010
- }[];
2011
- };
2012
1866
  IMAGE_RECOGNITION: {
2013
1867
  models: {
2014
1868
  uuid: string;
@@ -296,6 +296,9 @@ export declare namespace GetToolsWithConfigsQuery {
296
296
  width: number;
297
297
  height: number;
298
298
  }>;
299
+ resolution?: {
300
+ options: string[];
301
+ } | undefined;
299
302
  };
300
303
  pricingRules: {
301
304
  condition: {
@@ -654,7 +657,6 @@ export declare namespace GetToolsWithConfigsQuery {
654
657
  };
655
658
  strategy?: string | undefined;
656
659
  maxInputLength: number;
657
- maxSpeakers: number;
658
660
  voices: {
659
661
  id: string;
660
662
  externalId: string;
@@ -755,16 +757,6 @@ export declare namespace GetToolsWithConfigsQuery {
755
757
  createdAt: Date;
756
758
  updatedAt: Date;
757
759
  }[];
758
- tags: {
759
- id: import("../..").VOICE_TAG;
760
- group: import("../..").VOICE_TAG_GROUP;
761
- label: string;
762
- }[];
763
- categories: {
764
- id: import("../..").VOICE_CATEGORY;
765
- label: string;
766
- }[];
767
- speakerMarkerLabel: string;
768
760
  };
769
761
  } | {
770
762
  uuid: string;
@@ -1461,6 +1453,9 @@ export declare namespace GetToolsWithConfigsQuery {
1461
1453
  width: number;
1462
1454
  height: number;
1463
1455
  }>;
1456
+ resolution?: {
1457
+ options: string[];
1458
+ } | undefined;
1464
1459
  };
1465
1460
  pricingRules: {
1466
1461
  condition: {
@@ -1819,7 +1814,6 @@ export declare namespace GetToolsWithConfigsQuery {
1819
1814
  };
1820
1815
  strategy?: string | undefined;
1821
1816
  maxInputLength: number;
1822
- maxSpeakers: number;
1823
1817
  voices: {
1824
1818
  id: string;
1825
1819
  externalId: string;
@@ -1920,16 +1914,6 @@ export declare namespace GetToolsWithConfigsQuery {
1920
1914
  createdAt: Date;
1921
1915
  updatedAt: Date;
1922
1916
  }[];
1923
- tags: {
1924
- id: import("../..").VOICE_TAG;
1925
- group: import("../..").VOICE_TAG_GROUP;
1926
- label: string;
1927
- }[];
1928
- categories: {
1929
- id: import("../..").VOICE_CATEGORY;
1930
- label: string;
1931
- }[];
1932
- speakerMarkerLabel: string;
1933
1917
  };
1934
1918
  } | {
1935
1919
  uuid: string;
@@ -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;
@@ -11,12 +11,9 @@ var TTSCommand;
11
11
  userId: zod_1.z.string().uuid().nullable().optional(),
12
12
  unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
13
13
  scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
14
- locale: common_1.LocaleSchema.optional(),
15
14
  modelId: zod_1.z.string(),
16
- voiceId: zod_1.z.string().uuid().optional(),
15
+ voiceId: zod_1.z.string(),
17
16
  userInput: zod_1.z.string(),
18
- isDialog: zod_1.z.boolean().optional().default(false),
19
- speakers: zod_1.z.array(tts_job_schema_1.TTSJobSpeakerSchema).optional().default([]),
20
17
  params: zod_1.z
21
18
  .object({
22
19
  speed: zod_1.z.number().optional(),
@@ -4,7 +4,6 @@ export declare namespace UpdateTTSJobFavoriteCommand {
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
  isFavorite: z.ZodBoolean;
9
8
  }, z.core.$strip>;
10
9
  type Request = z.infer<typeof RequestSchema>;
@@ -20,22 +19,9 @@ export declare namespace UpdateTTSJobFavoriteCommand {
20
19
  status: import("../..").JOB_STATUS;
21
20
  error: string | null;
22
21
  modelId: string;
23
- voiceId: string | null;
24
- isDialog: boolean;
25
- speakers: {
26
- speaker: number;
27
- voiceId: string;
28
- }[];
29
- voices: {
30
- uuid: string;
31
- title: string;
32
- previewUrl: string;
33
- isDeleted: boolean;
34
- speaker: number | null;
35
- }[];
22
+ voiceId: string;
36
23
  price: number;
37
24
  duration: number;
38
- scope: import("../..").JOB_SCOPE;
39
25
  userId: string | null;
40
26
  unregisteredUserId: string | null;
41
27
  tokenReservationId?: string | null | undefined;
@@ -64,22 +50,9 @@ export declare namespace UpdateTTSJobFavoriteCommand {
64
50
  status: import("../..").JOB_STATUS;
65
51
  error: string | null;
66
52
  modelId: string;
67
- voiceId: string | null;
68
- isDialog: boolean;
69
- speakers: {
70
- speaker: number;
71
- voiceId: string;
72
- }[];
73
- voices: {
74
- uuid: string;
75
- title: string;
76
- previewUrl: string;
77
- isDeleted: boolean;
78
- speaker: number | null;
79
- }[];
53
+ voiceId: string;
80
54
  price: number;
81
55
  duration: number;
82
- scope: import("../..").JOB_SCOPE;
83
56
  userId: string | null;
84
57
  unregisteredUserId: string | null;
85
58
  tokenReservationId?: string | null | undefined;
@@ -4,14 +4,12 @@ exports.UpdateTTSJobFavoriteCommand = 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 UpdateTTSJobFavoriteCommand;
9
8
  (function (UpdateTTSJobFavoriteCommand) {
10
9
  UpdateTTSJobFavoriteCommand.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
  isFavorite: zod_1.z.boolean(),
16
14
  });
17
15
  UpdateTTSJobFavoriteCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(tts_job_schema_1.TTSJobSchema);