@purpleschool/gptbot 0.14.60-stage2 → 0.15.56

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 (195) hide show
  1. package/build/api/controllers/http/index.d.ts +1 -1
  2. package/build/api/controllers/http/index.js +1 -1
  3. package/build/api/controllers/http/{photo-session.d.ts → sound-generation.d.ts} +3 -9
  4. package/build/api/controllers/http/sound-generation.js +17 -0
  5. package/build/api/controllers/http/tts.d.ts +0 -9
  6. package/build/api/controllers/http/tts.js +0 -9
  7. package/build/api/routes.d.ts +24 -44
  8. package/build/api/routes.js +24 -44
  9. package/build/commands/ai-model/create-ai-model.command.d.ts +6 -0
  10. package/build/commands/ai-model/find-ai-model.command.d.ts +6 -0
  11. package/build/commands/ai-model/find-ai-models-available-to-user.comand.d.ts +3 -0
  12. package/build/commands/ai-model/find-formatted-ai-model.command.d.ts +6 -0
  13. package/build/commands/ai-model/update-ai-model.command.d.ts +6 -0
  14. package/build/commands/ai-studio/canvas-node/find-canvas-node-definitions-with-configs.query.d.ts +3 -11
  15. package/build/commands/ai-studio/canvas-tool/text-gen/get-text-generation-config.command.d.ts +3 -0
  16. package/build/commands/ai-studio/canvas-tool/var-gen/get-var-gen-config.command.d.ts +3 -0
  17. package/build/commands/b2b/get-b2b-documentation.command.d.ts +6 -0
  18. package/build/commands/page/find-page-by-alias.command.d.ts +6 -0
  19. package/build/commands/page/find-page.command.d.ts +3 -0
  20. package/build/commands/page/find-pages-by-criteria.command.d.ts +6 -0
  21. package/build/commands/payment/receipt.command.d.ts +3 -3
  22. package/build/commands/subscription/buy-subscription.command.d.ts +4 -4
  23. package/build/commands/subscription/buy-subscription.command.js +1 -1
  24. package/build/commands/subscription/upgrade-subscription.command.d.ts +3 -3
  25. package/build/commands/subscription/upgrade-subscription.command.js +1 -1
  26. package/build/commands/tools/index.d.ts +1 -1
  27. package/build/commands/tools/index.js +1 -1
  28. package/build/commands/tools/{photo-session/delete-all-photo-session-jobs.command.d.ts → sound-generation/delete-all-sound-generation-jobs.command.d.ts} +1 -1
  29. package/build/commands/tools/sound-generation/delete-all-sound-generation-jobs.command.js +8 -0
  30. package/build/commands/tools/{photo-session/admin/delete-photo-session-style.command.d.ts → sound-generation/delete-sound-generation-job-by-uuid.command.d.ts} +2 -2
  31. package/build/commands/tools/sound-generation/delete-sound-generation-job-by-uuid.command.js +11 -0
  32. package/build/commands/tools/sound-generation/find-sound-generation-job-by-uuid.command.d.ts +37 -0
  33. package/build/commands/tools/sound-generation/find-sound-generation-job-by-uuid.command.js +14 -0
  34. package/build/commands/tools/sound-generation/find-sound-generation-jobs.command.d.ts +46 -0
  35. package/build/commands/tools/sound-generation/find-sound-generation-jobs.command.js +24 -0
  36. package/build/commands/tools/sound-generation/get-sound-generation-tool-config.command.d.ts +43 -0
  37. package/build/commands/tools/sound-generation/get-sound-generation-tool-config.command.js +11 -0
  38. package/build/commands/tools/sound-generation/index.d.ts +10 -0
  39. package/build/commands/tools/{photo-session/admin → sound-generation}/index.js +10 -3
  40. package/build/commands/tools/sound-generation/retry-sound-generation-job.command.d.ts +48 -0
  41. package/build/commands/tools/sound-generation/retry-sound-generation-job.command.js +19 -0
  42. package/build/commands/tools/sound-generation/set-reaction-to-sound-generation-job.command.d.ts +43 -0
  43. package/build/commands/tools/sound-generation/set-reaction-to-sound-generation-job.command.js +23 -0
  44. package/build/commands/tools/sound-generation/sound-generation.command.d.ts +44 -0
  45. package/build/commands/tools/sound-generation/sound-generation.command.js +16 -0
  46. package/build/commands/tools/sound-generation/update-sound-generation-job-favorite.command.d.ts +41 -0
  47. package/build/commands/tools/sound-generation/update-sound-generation-job-favorite.command.js +17 -0
  48. package/build/commands/tools/sound-generation/update-sound-generation-job-title.command.d.ts +41 -0
  49. package/build/commands/tools/sound-generation/update-sound-generation-job-title.command.js +17 -0
  50. package/build/commands/tools/tts/find-tts-job-by-uuid.command.d.ts +1 -13
  51. package/build/commands/tools/tts/find-tts-jobs.command.d.ts +1 -13
  52. package/build/commands/tools/tts/get-tts-tool-config.command.d.ts +0 -11
  53. package/build/commands/tools/tts/index.d.ts +0 -9
  54. package/build/commands/tools/tts/index.js +0 -9
  55. package/build/commands/tools/tts/retry-tts-job.command.d.ts +1 -13
  56. package/build/commands/tools/tts/set-reaction-to-tts-job.command.d.ts +1 -13
  57. package/build/commands/tools/tts/tts.command.d.ts +1 -6
  58. package/build/commands/tools/tts/tts.command.js +1 -7
  59. package/build/commands/tools/tts/update-tts-job-favorite.command.d.ts +1 -13
  60. package/build/commands/tools/tts/update-tts-job-title.command.d.ts +1 -13
  61. package/build/constants/ai-model/enums/ai-model-config-selector-type.enum.d.ts +2 -1
  62. package/build/constants/ai-model/enums/ai-model-config-selector-type.enum.js +1 -0
  63. package/build/constants/cabinet/enums/statistics-request-type.enum.d.ts +1 -0
  64. package/build/constants/cabinet/enums/statistics-request-type.enum.js +1 -0
  65. package/build/constants/cloud-payments/index.d.ts +5 -0
  66. package/build/constants/cloud-payments/index.js +7 -1
  67. package/build/constants/index.d.ts +0 -2
  68. package/build/constants/index.js +0 -2
  69. package/build/helpers/index.d.ts +0 -1
  70. package/build/helpers/index.js +0 -1
  71. package/build/models/ai-model-config.schema.d.ts +7 -0
  72. package/build/models/ai-model-config.schema.js +6 -1
  73. package/build/models/ai-model-formatted.schema.d.ts +3 -0
  74. package/build/models/ai-model.schema.d.ts +9 -0
  75. package/build/models/canvas-node-definition.schema.d.ts +12 -33
  76. package/build/models/cloud-payments-receipt.schema.d.ts +1 -1
  77. package/build/models/cloud-payments-receipt.schema.js +1 -1
  78. package/build/models/tools/index.d.ts +1 -1
  79. package/build/models/tools/index.js +1 -1
  80. package/build/models/tools/sound-generation/index.d.ts +5 -0
  81. package/build/{constants/tool-photo-session/enums → models/tools/sound-generation}/index.js +5 -3
  82. package/build/models/tools/sound-generation/sound-generation-config.schema.d.ts +39 -0
  83. package/build/models/tools/sound-generation/sound-generation-config.schema.js +8 -0
  84. package/build/models/tools/sound-generation/sound-generation-job.schema.d.ts +30 -0
  85. package/build/models/tools/sound-generation/sound-generation-job.schema.js +20 -0
  86. package/build/models/tools/sound-generation/sound-generation-model.schema.d.ts +49 -0
  87. package/build/models/tools/sound-generation/sound-generation-model.schema.js +35 -0
  88. package/build/models/tools/sound-generation/sound-generation-params.schema.d.ts +8 -0
  89. package/build/models/tools/sound-generation/sound-generation-params.schema.js +10 -0
  90. package/build/models/tools/sound-generation/sound-generation-result.schema.d.ts +7 -0
  91. package/build/models/tools/sound-generation/sound-generation-result.schema.js +9 -0
  92. package/build/models/tools/tts/index.d.ts +0 -3
  93. package/build/models/tools/tts/index.js +0 -3
  94. package/build/models/tools/tts/tts-config.schema.d.ts +0 -23
  95. package/build/models/tools/tts/tts-config.schema.js +1 -14
  96. package/build/models/tools/tts/tts-job.schema.d.ts +1 -26
  97. package/build/models/tools/tts/tts-job.schema.js +2 -16
  98. package/build/models/tools/tts/tts-model.schema.d.ts +0 -1
  99. package/build/models/tools/tts/tts-model.schema.js +0 -1
  100. package/package.json +1 -1
  101. package/build/api/controllers/http/photo-session.js +0 -23
  102. package/build/commands/tools/photo-session/admin/create-photo-session-style.command.d.ts +0 -39
  103. package/build/commands/tools/photo-session/admin/create-photo-session-style.command.js +0 -26
  104. package/build/commands/tools/photo-session/admin/delete-photo-session-style.command.js +0 -11
  105. package/build/commands/tools/photo-session/admin/index.d.ts +0 -3
  106. package/build/commands/tools/photo-session/admin/update-photo-session-style.command.d.ts +0 -45
  107. package/build/commands/tools/photo-session/admin/update-photo-session-style.command.js +0 -36
  108. package/build/commands/tools/photo-session/delete-all-photo-session-jobs.command.js +0 -8
  109. package/build/commands/tools/photo-session/delete-photo-session-job-by-uuid.command.d.ts +0 -9
  110. package/build/commands/tools/photo-session/delete-photo-session-job-by-uuid.command.js +0 -11
  111. package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.d.ts +0 -63
  112. package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.js +0 -14
  113. package/build/commands/tools/photo-session/find-photo-session-jobs.command.d.ts +0 -72
  114. package/build/commands/tools/photo-session/find-photo-session-jobs.command.js +0 -24
  115. package/build/commands/tools/photo-session/get-photo-session-config.command.d.ts +0 -76
  116. package/build/commands/tools/photo-session/get-photo-session-config.command.js +0 -11
  117. package/build/commands/tools/photo-session/get-photo-session-price.command.d.ts +0 -32
  118. package/build/commands/tools/photo-session/get-photo-session-price.command.js +0 -27
  119. package/build/commands/tools/photo-session/index.d.ts +0 -12
  120. package/build/commands/tools/photo-session/index.js +0 -28
  121. package/build/commands/tools/photo-session/photo-session.command.d.ts +0 -83
  122. package/build/commands/tools/photo-session/photo-session.command.js +0 -27
  123. package/build/commands/tools/photo-session/retry-photo-session-job.command.d.ts +0 -87
  124. package/build/commands/tools/photo-session/retry-photo-session-job.command.js +0 -32
  125. package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.d.ts +0 -69
  126. package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.js +0 -28
  127. package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.d.ts +0 -67
  128. package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.js +0 -17
  129. package/build/commands/tools/photo-session/update-photo-session-job-title.command.d.ts +0 -67
  130. package/build/commands/tools/photo-session/update-photo-session-job-title.command.js +0 -17
  131. package/build/commands/tools/tts/create-voice-clone.command.d.ts +0 -32
  132. package/build/commands/tools/tts/create-voice-clone.command.js +0 -17
  133. package/build/commands/tools/tts/create-voice-design.command.d.ts +0 -22
  134. package/build/commands/tools/tts/create-voice-design.command.js +0 -17
  135. package/build/commands/tools/tts/delete-voice.command.d.ts +0 -9
  136. package/build/commands/tools/tts/delete-voice.command.js +0 -11
  137. package/build/commands/tools/tts/download-tts-job.command.d.ts +0 -18
  138. package/build/commands/tools/tts/download-tts-job.command.js +0 -17
  139. package/build/commands/tools/tts/find-voice-by-uuid.query.d.ts +0 -29
  140. package/build/commands/tools/tts/find-voice-by-uuid.query.js +0 -14
  141. package/build/commands/tools/tts/find-voices.query.d.ts +0 -37
  142. package/build/commands/tools/tts/find-voices.query.js +0 -18
  143. package/build/commands/tools/tts/improve-tts-text.command.d.ts +0 -13
  144. package/build/commands/tools/tts/improve-tts-text.command.js +0 -13
  145. package/build/commands/tools/tts/select-voice-design.command.d.ts +0 -33
  146. package/build/commands/tools/tts/select-voice-design.command.js +0 -17
  147. package/build/commands/tools/tts/update-voice.command.d.ts +0 -33
  148. package/build/commands/tools/tts/update-voice.command.js +0 -17
  149. package/build/constants/tool-photo-session/enums/index.d.ts +0 -3
  150. package/build/constants/tool-photo-session/enums/photo-session-look-type.enum.d.ts +0 -5
  151. package/build/constants/tool-photo-session/enums/photo-session-look-type.enum.js +0 -9
  152. package/build/constants/tool-photo-session/enums/photo-session-model-type.enum.d.ts +0 -3
  153. package/build/constants/tool-photo-session/enums/photo-session-model-type.enum.js +0 -7
  154. package/build/constants/tool-photo-session/enums/photo-session-strategy.enum.d.ts +0 -4
  155. package/build/constants/tool-photo-session/enums/photo-session-strategy.enum.js +0 -8
  156. package/build/constants/tool-photo-session/index.d.ts +0 -1
  157. package/build/constants/tool-photo-session/index.js +0 -17
  158. package/build/constants/tool-tts/enums/index.d.ts +0 -7
  159. package/build/constants/tool-tts/enums/index.js +0 -23
  160. package/build/constants/tool-tts/enums/tts-download-format.enum.d.ts +0 -5
  161. package/build/constants/tool-tts/enums/tts-download-format.enum.js +0 -9
  162. package/build/constants/tool-tts/enums/voice-category.enum.d.ts +0 -14
  163. package/build/constants/tool-tts/enums/voice-category.enum.js +0 -18
  164. package/build/constants/tool-tts/enums/voice-gender.enum.d.ts +0 -4
  165. package/build/constants/tool-tts/enums/voice-gender.enum.js +0 -8
  166. package/build/constants/tool-tts/enums/voice-source.enum.d.ts +0 -5
  167. package/build/constants/tool-tts/enums/voice-source.enum.js +0 -9
  168. package/build/constants/tool-tts/enums/voice-status.enum.d.ts +0 -5
  169. package/build/constants/tool-tts/enums/voice-status.enum.js +0 -9
  170. package/build/constants/tool-tts/enums/voice-tag-group.enum.d.ts +0 -5
  171. package/build/constants/tool-tts/enums/voice-tag-group.enum.js +0 -9
  172. package/build/constants/tool-tts/enums/voice-tag.enum.d.ts +0 -20
  173. package/build/constants/tool-tts/enums/voice-tag.enum.js +0 -24
  174. package/build/constants/tool-tts/index.d.ts +0 -1
  175. package/build/constants/tool-tts/index.js +0 -17
  176. package/build/helpers/photo-session/calculate-photo-session-price.helper.d.ts +0 -6
  177. package/build/helpers/photo-session/calculate-photo-session-price.helper.js +0 -13
  178. package/build/helpers/photo-session/index.d.ts +0 -1
  179. package/build/helpers/photo-session/index.js +0 -17
  180. package/build/models/tools/photo-session/index.d.ts +0 -4
  181. package/build/models/tools/photo-session/index.js +0 -20
  182. package/build/models/tools/photo-session/photo-session-config.schema.d.ts +0 -77
  183. package/build/models/tools/photo-session/photo-session-config.schema.js +0 -16
  184. package/build/models/tools/photo-session/photo-session-job.schema.d.ts +0 -79
  185. package/build/models/tools/photo-session/photo-session-job.schema.js +0 -47
  186. package/build/models/tools/photo-session/photo-session-model.schema.d.ts +0 -73
  187. package/build/models/tools/photo-session/photo-session-model.schema.js +0 -45
  188. package/build/models/tools/photo-session/photo-session-style.schema.d.ts +0 -29
  189. package/build/models/tools/photo-session/photo-session-style.schema.js +0 -22
  190. package/build/models/tools/tts/voice-design-draft.schema.d.ts +0 -12
  191. package/build/models/tools/tts/voice-design-draft.schema.js +0 -12
  192. package/build/models/tools/tts/voice-design-sample.schema.d.ts +0 -6
  193. package/build/models/tools/tts/voice-design-sample.schema.js +0 -8
  194. package/build/models/tools/tts/voice.schema.d.ts +0 -22
  195. package/build/models/tools/tts/voice.schema.js +0 -24
@@ -24,19 +24,7 @@ export declare namespace FindTTSJobByUUIDCommand {
24
24
  style: z.ZodOptional<z.ZodNumber>;
25
25
  }, z.core.$strip>;
26
26
  modelId: z.ZodString;
27
- voiceId: z.ZodNullable<z.ZodString>;
28
- isDialog: z.ZodBoolean;
29
- speakers: z.ZodArray<z.ZodObject<{
30
- speaker: z.ZodNumber;
31
- voiceId: z.ZodString;
32
- }, z.core.$strip>>;
33
- voices: z.ZodArray<z.ZodObject<{
34
- uuid: z.ZodString;
35
- title: z.ZodString;
36
- previewUrl: z.ZodString;
37
- isDeleted: z.ZodBoolean;
38
- speaker: z.ZodNullable<z.ZodNumber>;
39
- }, z.core.$strip>>;
27
+ voiceId: z.ZodString;
40
28
  }, z.core.$strip>;
41
29
  }, z.core.$strip>;
42
30
  type Response = z.infer<typeof ResponseSchema>;
@@ -30,19 +30,7 @@ export declare namespace FindTTSJobsCommand {
30
30
  style: z.ZodOptional<z.ZodNumber>;
31
31
  }, z.core.$strip>;
32
32
  modelId: z.ZodString;
33
- voiceId: z.ZodNullable<z.ZodString>;
34
- isDialog: z.ZodBoolean;
35
- speakers: z.ZodArray<z.ZodObject<{
36
- speaker: z.ZodNumber;
37
- voiceId: z.ZodString;
38
- }, z.core.$strip>>;
39
- voices: z.ZodArray<z.ZodObject<{
40
- uuid: z.ZodString;
41
- title: z.ZodString;
42
- previewUrl: z.ZodString;
43
- isDeleted: z.ZodBoolean;
44
- speaker: z.ZodNullable<z.ZodNumber>;
45
- }, z.core.$strip>>;
33
+ voiceId: z.ZodString;
46
34
  }, z.core.$strip>>;
47
35
  totalPages: z.ZodNumber;
48
36
  total: z.ZodNumber;
@@ -19,7 +19,6 @@ export declare namespace GetTTSToolConfigCommand {
19
19
  }, z.core.$strip>;
20
20
  }, z.core.$strip>;
21
21
  maxInputLength: z.ZodNumber;
22
- maxSpeakers: z.ZodNumber;
23
22
  params: z.ZodObject<{
24
23
  speed: z.ZodOptional<z.ZodObject<{
25
24
  title: z.ZodString;
@@ -123,16 +122,6 @@ export declare namespace GetTTSToolConfigCommand {
123
122
  canUse: z.ZodBoolean;
124
123
  status: z.ZodString;
125
124
  }, z.core.$strip>>;
126
- tags: z.ZodArray<z.ZodObject<{
127
- id: z.ZodEnum<typeof import("../../..").VOICE_TAG>;
128
- group: z.ZodEnum<typeof import("../../..").VOICE_TAG_GROUP>;
129
- label: z.ZodString;
130
- }, z.core.$strip>>;
131
- categories: z.ZodArray<z.ZodObject<{
132
- id: z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>;
133
- label: z.ZodString;
134
- }, z.core.$strip>>;
135
- speakerMarkerLabel: z.ZodString;
136
125
  }, z.core.$strip>;
137
126
  }, z.core.$strip>;
138
127
  type Response = z.infer<typeof ResponseSchema>;
@@ -8,12 +8,3 @@ export * from './set-reaction-to-tts-job.command';
8
8
  export * from './tts.command';
9
9
  export * from './update-tts-job-title.command';
10
10
  export * from './update-tts-job-favorite.command';
11
- export * from './improve-tts-text.command';
12
- export * from './find-voices.query';
13
- export * from './find-voice-by-uuid.query';
14
- export * from './create-voice-clone.command';
15
- export * from './create-voice-design.command';
16
- export * from './select-voice-design.command';
17
- export * from './update-voice.command';
18
- export * from './delete-voice.command';
19
- export * from './download-tts-job.command';
@@ -24,12 +24,3 @@ __exportStar(require("./set-reaction-to-tts-job.command"), exports);
24
24
  __exportStar(require("./tts.command"), exports);
25
25
  __exportStar(require("./update-tts-job-title.command"), exports);
26
26
  __exportStar(require("./update-tts-job-favorite.command"), exports);
27
- __exportStar(require("./improve-tts-text.command"), exports);
28
- __exportStar(require("./find-voices.query"), exports);
29
- __exportStar(require("./find-voice-by-uuid.query"), exports);
30
- __exportStar(require("./create-voice-clone.command"), exports);
31
- __exportStar(require("./create-voice-design.command"), exports);
32
- __exportStar(require("./select-voice-design.command"), exports);
33
- __exportStar(require("./update-voice.command"), exports);
34
- __exportStar(require("./delete-voice.command"), exports);
35
- __exportStar(require("./download-tts-job.command"), exports);
@@ -24,19 +24,7 @@ export declare namespace RetryTTSJobCommand {
24
24
  style: z.ZodOptional<z.ZodNumber>;
25
25
  }, z.core.$strip>;
26
26
  modelId: z.ZodString;
27
- voiceId: z.ZodNullable<z.ZodString>;
28
- isDialog: z.ZodBoolean;
29
- speakers: z.ZodArray<z.ZodObject<{
30
- speaker: z.ZodNumber;
31
- voiceId: z.ZodString;
32
- }, z.core.$strip>>;
33
- voices: z.ZodArray<z.ZodObject<{
34
- uuid: z.ZodString;
35
- title: z.ZodString;
36
- previewUrl: z.ZodString;
37
- isDeleted: z.ZodBoolean;
38
- speaker: z.ZodNullable<z.ZodNumber>;
39
- }, z.core.$strip>>;
27
+ voiceId: z.ZodString;
40
28
  }, z.core.$strip>;
41
29
  }, z.core.$strip>;
42
30
  type Response = z.infer<typeof ResponseSchema>;
@@ -30,19 +30,7 @@ export declare namespace SetReactionToTTSJobCommand {
30
30
  style: z.ZodOptional<z.ZodNumber>;
31
31
  }, z.core.$strip>;
32
32
  modelId: z.ZodString;
33
- voiceId: z.ZodNullable<z.ZodString>;
34
- isDialog: z.ZodBoolean;
35
- speakers: z.ZodArray<z.ZodObject<{
36
- speaker: z.ZodNumber;
37
- voiceId: z.ZodString;
38
- }, z.core.$strip>>;
39
- voices: z.ZodArray<z.ZodObject<{
40
- uuid: z.ZodString;
41
- title: z.ZodString;
42
- previewUrl: z.ZodString;
43
- isDeleted: z.ZodBoolean;
44
- speaker: z.ZodNullable<z.ZodNumber>;
45
- }, z.core.$strip>>;
33
+ voiceId: z.ZodString;
46
34
  }, z.core.$strip>;
47
35
  }, z.core.$strip>;
48
36
  type Response = z.infer<typeof ResponseSchema>;
@@ -2,13 +2,8 @@ import { z } from 'zod';
2
2
  export declare namespace TTSCommand {
3
3
  const RequestSchema: z.ZodObject<{
4
4
  modelId: z.ZodString;
5
- voiceId: z.ZodOptional<z.ZodString>;
5
+ voiceId: z.ZodString;
6
6
  text: z.ZodString;
7
- isDialog: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
8
- speakers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
9
- speaker: z.ZodNumber;
10
- voiceId: z.ZodString;
11
- }, z.core.$strip>>>>;
12
7
  params: z.ZodDefault<z.ZodOptional<z.ZodObject<{
13
8
  speed: z.ZodOptional<z.ZodNumber>;
14
9
  similarity: z.ZodOptional<z.ZodNumber>;
@@ -7,18 +7,12 @@ const TTSReferenceSchema = zod_1.z.object({
7
7
  audioUrl: zod_1.z.string().url(),
8
8
  text: zod_1.z.string(),
9
9
  });
10
- const TTSSpeakerSchema = zod_1.z.object({
11
- speaker: zod_1.z.number().int().positive(),
12
- voiceId: zod_1.z.string().uuid(),
13
- });
14
10
  var TTSCommand;
15
11
  (function (TTSCommand) {
16
12
  TTSCommand.RequestSchema = zod_1.z.object({
17
13
  modelId: zod_1.z.string().uuid(),
18
- voiceId: zod_1.z.string().uuid().optional(),
14
+ voiceId: zod_1.z.string().uuid(),
19
15
  text: zod_1.z.string(),
20
- isDialog: zod_1.z.boolean().optional().default(false),
21
- speakers: zod_1.z.array(TTSSpeakerSchema).optional().default([]),
22
16
  params: zod_1.z
23
17
  .object({
24
18
  speed: zod_1.z.number().optional(),
@@ -28,19 +28,7 @@ export declare namespace UpdateTTSJobFavoriteCommand {
28
28
  style: z.ZodOptional<z.ZodNumber>;
29
29
  }, z.core.$strip>;
30
30
  modelId: z.ZodString;
31
- voiceId: z.ZodNullable<z.ZodString>;
32
- isDialog: z.ZodBoolean;
33
- speakers: z.ZodArray<z.ZodObject<{
34
- speaker: z.ZodNumber;
35
- voiceId: z.ZodString;
36
- }, z.core.$strip>>;
37
- voices: z.ZodArray<z.ZodObject<{
38
- uuid: z.ZodString;
39
- title: z.ZodString;
40
- previewUrl: z.ZodString;
41
- isDeleted: z.ZodBoolean;
42
- speaker: z.ZodNullable<z.ZodNumber>;
43
- }, z.core.$strip>>;
31
+ voiceId: z.ZodString;
44
32
  }, z.core.$strip>;
45
33
  }, z.core.$strip>;
46
34
  type Response = z.infer<typeof ResponseSchema>;
@@ -28,19 +28,7 @@ export declare namespace UpdateTTSJobTitleCommand {
28
28
  style: z.ZodOptional<z.ZodNumber>;
29
29
  }, z.core.$strip>;
30
30
  modelId: z.ZodString;
31
- voiceId: z.ZodNullable<z.ZodString>;
32
- isDialog: z.ZodBoolean;
33
- speakers: z.ZodArray<z.ZodObject<{
34
- speaker: z.ZodNumber;
35
- voiceId: z.ZodString;
36
- }, z.core.$strip>>;
37
- voices: z.ZodArray<z.ZodObject<{
38
- uuid: z.ZodString;
39
- title: z.ZodString;
40
- previewUrl: z.ZodString;
41
- isDeleted: z.ZodBoolean;
42
- speaker: z.ZodNullable<z.ZodNumber>;
43
- }, z.core.$strip>>;
31
+ voiceId: z.ZodString;
44
32
  }, z.core.$strip>;
45
33
  }, z.core.$strip>;
46
34
  type Response = z.infer<typeof ResponseSchema>;
@@ -3,5 +3,6 @@ export declare enum AI_MODEL_CONFIG_PARAM {
3
3
  IMAGE_STYLE = "image-style",
4
4
  WEB_SEARCH = "web-search",
5
5
  EXTRA_SYMBOLS_PRICING = "extra-symbols-pricing",
6
- REASONING = "reasoning"
6
+ REASONING = "reasoning",
7
+ NO_ACTIVE_SUBSCRIPTION_OR_PRODUCT_MULTIPLIER = "no-active-subscription-or-product-multiplier"
7
8
  }
@@ -8,4 +8,5 @@ var AI_MODEL_CONFIG_PARAM;
8
8
  AI_MODEL_CONFIG_PARAM["WEB_SEARCH"] = "web-search";
9
9
  AI_MODEL_CONFIG_PARAM["EXTRA_SYMBOLS_PRICING"] = "extra-symbols-pricing";
10
10
  AI_MODEL_CONFIG_PARAM["REASONING"] = "reasoning";
11
+ AI_MODEL_CONFIG_PARAM["NO_ACTIVE_SUBSCRIPTION_OR_PRODUCT_MULTIPLIER"] = "no-active-subscription-or-product-multiplier";
11
12
  })(AI_MODEL_CONFIG_PARAM || (exports.AI_MODEL_CONFIG_PARAM = AI_MODEL_CONFIG_PARAM = {}));
@@ -5,6 +5,7 @@ export declare enum STATISTICS_REQUEST_TYPE {
5
5
  PRESENTATION = "PRESENTATION",
6
6
  TEXT = "TEXT",
7
7
  AUDIO = "AUDIO",
8
+ SOUND_GENERATION = "SOUND_GENERATION",
8
9
  PARAPHRASE = "PARAPHRASE",
9
10
  WRITER = "WRITER",
10
11
  PRESENTATION_AI_ACTION = "PRESENTATION_AI_ACTION",
@@ -9,6 +9,7 @@ var STATISTICS_REQUEST_TYPE;
9
9
  STATISTICS_REQUEST_TYPE["PRESENTATION"] = "PRESENTATION";
10
10
  STATISTICS_REQUEST_TYPE["TEXT"] = "TEXT";
11
11
  STATISTICS_REQUEST_TYPE["AUDIO"] = "AUDIO";
12
+ STATISTICS_REQUEST_TYPE["SOUND_GENERATION"] = "SOUND_GENERATION";
12
13
  STATISTICS_REQUEST_TYPE["PARAPHRASE"] = "PARAPHRASE";
13
14
  STATISTICS_REQUEST_TYPE["WRITER"] = "WRITER";
14
15
  STATISTICS_REQUEST_TYPE["PRESENTATION_AI_ACTION"] = "PRESENTATION_AI_ACTION";
@@ -8,3 +8,8 @@ export declare const CLOUD_PAYMENTS_UPDATE = "https://api.cloudpayments.ru/subsc
8
8
  export declare const CLOUD_PAYMENTS_GET_SUBSCRIPTION = "https://api.cloudpayments.ru/subscriptions/get";
9
9
  export declare const CLOUD_PAYMENTS_CREATE = "https://api.cloudpayments.ru/subscriptions/create";
10
10
  export declare const CLOUD_PAYMENTS_REFUND = "https://api.cloudpayments.ru/payments/refund";
11
+ export declare enum CLOUD_PAYMENTS_RECURRENT_INTERVAL {
12
+ DAY = "Day",
13
+ WEEK = "Week",
14
+ MONTH = "Month"
15
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CLOUD_PAYMENTS_REFUND = exports.CLOUD_PAYMENTS_CREATE = exports.CLOUD_PAYMENTS_GET_SUBSCRIPTION = exports.CLOUD_PAYMENTS_UPDATE = exports.CLOUD_PAYMENTS_CANCEL = exports.FORMATS = void 0;
3
+ exports.CLOUD_PAYMENTS_RECURRENT_INTERVAL = exports.CLOUD_PAYMENTS_REFUND = exports.CLOUD_PAYMENTS_CREATE = exports.CLOUD_PAYMENTS_GET_SUBSCRIPTION = exports.CLOUD_PAYMENTS_UPDATE = exports.CLOUD_PAYMENTS_CANCEL = exports.FORMATS = void 0;
4
4
  exports.FORMATS = {
5
5
  UTF8: 'utf-8',
6
6
  BASE64: 'base64',
@@ -11,3 +11,9 @@ exports.CLOUD_PAYMENTS_UPDATE = 'https://api.cloudpayments.ru/subscriptions/upda
11
11
  exports.CLOUD_PAYMENTS_GET_SUBSCRIPTION = 'https://api.cloudpayments.ru/subscriptions/get';
12
12
  exports.CLOUD_PAYMENTS_CREATE = 'https://api.cloudpayments.ru/subscriptions/create';
13
13
  exports.CLOUD_PAYMENTS_REFUND = 'https://api.cloudpayments.ru/payments/refund';
14
+ var CLOUD_PAYMENTS_RECURRENT_INTERVAL;
15
+ (function (CLOUD_PAYMENTS_RECURRENT_INTERVAL) {
16
+ CLOUD_PAYMENTS_RECURRENT_INTERVAL["DAY"] = "Day";
17
+ CLOUD_PAYMENTS_RECURRENT_INTERVAL["WEEK"] = "Week";
18
+ CLOUD_PAYMENTS_RECURRENT_INTERVAL["MONTH"] = "Month";
19
+ })(CLOUD_PAYMENTS_RECURRENT_INTERVAL || (exports.CLOUD_PAYMENTS_RECURRENT_INTERVAL = CLOUD_PAYMENTS_RECURRENT_INTERVAL = {}));
@@ -41,8 +41,6 @@ export * from './tool-video-editor';
41
41
  export * from './writer';
42
42
  export * from './tool-image-editor';
43
43
  export * from './tool-image-generation';
44
- export * from './tool-photo-session';
45
- export * from './tool-tts';
46
44
  export * from './tool-interior-design';
47
45
  export * from './tool-html-page-builder';
48
46
  export * from './feedback';
@@ -57,8 +57,6 @@ __exportStar(require("./tool-video-editor"), exports);
57
57
  __exportStar(require("./writer"), exports);
58
58
  __exportStar(require("./tool-image-editor"), exports);
59
59
  __exportStar(require("./tool-image-generation"), exports);
60
- __exportStar(require("./tool-photo-session"), exports);
61
- __exportStar(require("./tool-tts"), exports);
62
60
  __exportStar(require("./tool-interior-design"), exports);
63
61
  __exportStar(require("./tool-html-page-builder"), exports);
64
62
  __exportStar(require("./feedback"), exports);
@@ -8,7 +8,6 @@ export * from './video-editor';
8
8
  export * from './writer';
9
9
  export * from './image-editor';
10
10
  export * from './image-generation';
11
- export * from './photo-session';
12
11
  export * from './music';
13
12
  export * from './interior-design';
14
13
  export * from './query-boolean.schema';
@@ -24,7 +24,6 @@ __exportStar(require("./video-editor"), exports);
24
24
  __exportStar(require("./writer"), exports);
25
25
  __exportStar(require("./image-editor"), exports);
26
26
  __exportStar(require("./image-generation"), exports);
27
- __exportStar(require("./photo-session"), exports);
28
27
  __exportStar(require("./music"), exports);
29
28
  __exportStar(require("./interior-design"), exports);
30
29
  __exportStar(require("./query-boolean.schema"), exports);
@@ -50,6 +50,9 @@ export declare const AiModelExtraSymbolsPricingParameter: z.ZodObject<{
50
50
  stepPrice: z.ZodNumber;
51
51
  isActive: z.ZodBoolean;
52
52
  }, z.core.$strip>;
53
+ export declare const AiModelNoActiveSubscriptionOrProductMultiplierParameter: z.ZodObject<{
54
+ multiplier: z.ZodNumber;
55
+ }, z.core.$strip>;
53
56
  export declare const AiModelConfigSchema: z.ZodObject<{
54
57
  parameters: z.ZodObject<{
55
58
  "image-size": z.ZodOptional<z.ZodObject<{
@@ -82,6 +85,9 @@ export declare const AiModelConfigSchema: z.ZodObject<{
82
85
  stepPrice: z.ZodNumber;
83
86
  isActive: z.ZodBoolean;
84
87
  }, z.core.$strip>>;
88
+ "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
89
+ multiplier: z.ZodNumber;
90
+ }, z.core.$strip>>;
85
91
  }, z.core.$strict>;
86
92
  }, z.core.$strip>;
87
93
  export type AiModelConfigParameter = z.infer<typeof AiModelConfigParameterSchema>;
@@ -91,4 +97,5 @@ export type AiModelImageStyleOption = z.infer<typeof AiModelImageStyleOptionSche
91
97
  export type AiModelImageStyleParameter = z.infer<typeof AiModelImageStyleParameter>;
92
98
  export type AiModelWebSeachParameter = z.infer<typeof AiModelWebSearchParameter>;
93
99
  export type AiModelExtraSymbolsPricingParameter = z.infer<typeof AiModelExtraSymbolsPricingParameter>;
100
+ export type AiModelNoActiveSubscriptionOrProductMultiplierParameter = z.infer<typeof AiModelNoActiveSubscriptionOrProductMultiplierParameter>;
94
101
  export type AiModelConfig = z.infer<typeof AiModelConfigSchema>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AiModelConfigSchema = exports.AiModelExtraSymbolsPricingParameter = exports.AiModelWebSearchParameter = exports.AiModelImageStyleParameter = exports.AiModelImageStyleOptionSchema = exports.AiModelImageSizeParameter = exports.AiModelImageSizeOptionSchema = exports.AiModelConfigParameterSchema = void 0;
3
+ exports.AiModelConfigSchema = exports.AiModelNoActiveSubscriptionOrProductMultiplierParameter = exports.AiModelExtraSymbolsPricingParameter = exports.AiModelWebSearchParameter = exports.AiModelImageStyleParameter = exports.AiModelImageStyleOptionSchema = exports.AiModelImageSizeParameter = exports.AiModelImageSizeOptionSchema = exports.AiModelConfigParameterSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const constants_1 = require("../constants");
6
6
  exports.AiModelConfigParameterSchema = zod_1.z.object({
@@ -38,6 +38,10 @@ exports.AiModelExtraSymbolsPricingParameter = zod_1.z.object({
38
38
  stepPrice: zod_1.z.number(),
39
39
  isActive: zod_1.z.boolean(),
40
40
  });
41
+ // NO ACTIVE SUBSCRIPTION OR PRODUCT MULTIPLIER
42
+ exports.AiModelNoActiveSubscriptionOrProductMultiplierParameter = zod_1.z.object({
43
+ multiplier: zod_1.z.number(),
44
+ });
41
45
  // CONFIG
42
46
  exports.AiModelConfigSchema = zod_1.z.object({
43
47
  parameters: zod_1.z
@@ -46,6 +50,7 @@ exports.AiModelConfigSchema = zod_1.z.object({
46
50
  [constants_1.AI_MODEL_CONFIG_PARAM.IMAGE_STYLE]: exports.AiModelImageStyleParameter.optional(),
47
51
  [constants_1.AI_MODEL_CONFIG_PARAM.WEB_SEARCH]: exports.AiModelWebSearchParameter.optional(),
48
52
  [constants_1.AI_MODEL_CONFIG_PARAM.EXTRA_SYMBOLS_PRICING]: exports.AiModelExtraSymbolsPricingParameter.optional(),
53
+ [constants_1.AI_MODEL_CONFIG_PARAM.NO_ACTIVE_SUBSCRIPTION_OR_PRODUCT_MULTIPLIER]: exports.AiModelNoActiveSubscriptionOrProductMultiplierParameter.optional(),
49
54
  })
50
55
  .strict(),
51
56
  });
@@ -57,6 +57,9 @@ export declare const AiModelFormmattedSchema: z.ZodIntersection<z.ZodObject<{
57
57
  stepPrice: z.ZodNumber;
58
58
  isActive: z.ZodBoolean;
59
59
  }, z.core.$strip>>;
60
+ "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
61
+ multiplier: z.ZodNumber;
62
+ }, z.core.$strip>>;
60
63
  }, z.core.$strict>;
61
64
  }, z.core.$strip>;
62
65
  createdAt: z.ZodDate;
@@ -58,6 +58,9 @@ export declare const AiModelSchema: z.ZodObject<{
58
58
  stepPrice: z.ZodNumber;
59
59
  isActive: z.ZodBoolean;
60
60
  }, z.core.$strip>>;
61
+ "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
62
+ multiplier: z.ZodNumber;
63
+ }, z.core.$strip>>;
61
64
  }, z.core.$strict>;
62
65
  }, z.core.$strip>;
63
66
  createdAt: z.ZodDate;
@@ -120,6 +123,9 @@ export declare const CreateAiModelSchema: z.ZodObject<{
120
123
  stepPrice: z.ZodNumber;
121
124
  isActive: z.ZodBoolean;
122
125
  }, z.core.$strip>>;
126
+ "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
127
+ multiplier: z.ZodNumber;
128
+ }, z.core.$strip>>;
123
129
  }, z.core.$strict>;
124
130
  }, z.core.$strip>;
125
131
  createdAt: z.ZodDate;
@@ -187,6 +193,9 @@ export declare const AiModelWithUnlockedBySchema: z.ZodObject<{
187
193
  stepPrice: z.ZodNumber;
188
194
  isActive: z.ZodBoolean;
189
195
  }, z.core.$strip>>;
196
+ "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
197
+ multiplier: z.ZodNumber;
198
+ }, z.core.$strip>>;
190
199
  }, z.core.$strict>;
191
200
  }, z.core.$strip>;
192
201
  createdAt: z.ZodDate;
@@ -75,6 +75,9 @@ export declare const CanvasTextGenerationConfigSchema: z.ZodArray<z.ZodObject<{
75
75
  stepPrice: z.ZodNumber;
76
76
  isActive: z.ZodBoolean;
77
77
  }, z.core.$strip>>;
78
+ "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
79
+ multiplier: z.ZodNumber;
80
+ }, z.core.$strip>>;
78
81
  }, z.core.$strict>;
79
82
  }, z.core.$strip>;
80
83
  createdAt: z.ZodDate;
@@ -164,6 +167,9 @@ export declare const CanvasNodeDefinitionToolConfigSchema: z.ZodDiscriminatedUni
164
167
  stepPrice: z.ZodNumber;
165
168
  isActive: z.ZodBoolean;
166
169
  }, z.core.$strip>>;
170
+ "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
171
+ multiplier: z.ZodNumber;
172
+ }, z.core.$strip>>;
167
173
  }, z.core.$strict>;
168
174
  }, z.core.$strip>;
169
175
  createdAt: z.ZodDate;
@@ -343,7 +349,6 @@ export declare const CanvasNodeDefinitionToolConfigSchema: z.ZodDiscriminatedUni
343
349
  }, z.core.$strip>;
344
350
  }, z.core.$strip>;
345
351
  maxInputLength: z.ZodNumber;
346
- maxSpeakers: z.ZodNumber;
347
352
  params: z.ZodObject<{
348
353
  speed: z.ZodOptional<z.ZodObject<{
349
354
  title: z.ZodString;
@@ -447,16 +452,6 @@ export declare const CanvasNodeDefinitionToolConfigSchema: z.ZodDiscriminatedUni
447
452
  canUse: z.ZodBoolean;
448
453
  status: z.ZodString;
449
454
  }, z.core.$strip>>;
450
- tags: z.ZodArray<z.ZodObject<{
451
- id: z.ZodEnum<typeof import("..").VOICE_TAG>;
452
- group: z.ZodEnum<typeof import("..").VOICE_TAG_GROUP>;
453
- label: z.ZodString;
454
- }, z.core.$strip>>;
455
- categories: z.ZodArray<z.ZodObject<{
456
- id: z.ZodEnum<typeof import("..").VOICE_CATEGORY>;
457
- label: z.ZodString;
458
- }, z.core.$strip>>;
459
- speakerMarkerLabel: z.ZodString;
460
455
  }, z.core.$strip>;
461
456
  }, z.core.$strip>, z.ZodObject<{
462
457
  nodeType: z.ZodLiteral<CANVAS_NODE_TYPE.sttGen>;
@@ -902,6 +897,9 @@ export declare const CanvasNodeDefinitionWithConfigSchema: z.ZodObject<{
902
897
  stepPrice: z.ZodNumber;
903
898
  isActive: z.ZodBoolean;
904
899
  }, z.core.$strip>>;
900
+ "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
901
+ multiplier: z.ZodNumber;
902
+ }, z.core.$strip>>;
905
903
  }, z.core.$strict>;
906
904
  }, z.core.$strip>;
907
905
  createdAt: z.ZodDate;
@@ -1081,7 +1079,6 @@ export declare const CanvasNodeDefinitionWithConfigSchema: z.ZodObject<{
1081
1079
  }, z.core.$strip>;
1082
1080
  }, z.core.$strip>;
1083
1081
  maxInputLength: z.ZodNumber;
1084
- maxSpeakers: z.ZodNumber;
1085
1082
  params: z.ZodObject<{
1086
1083
  speed: z.ZodOptional<z.ZodObject<{
1087
1084
  title: z.ZodString;
@@ -1185,16 +1182,6 @@ export declare const CanvasNodeDefinitionWithConfigSchema: z.ZodObject<{
1185
1182
  canUse: z.ZodBoolean;
1186
1183
  status: z.ZodString;
1187
1184
  }, z.core.$strip>>;
1188
- tags: z.ZodArray<z.ZodObject<{
1189
- id: z.ZodEnum<typeof import("..").VOICE_TAG>;
1190
- group: z.ZodEnum<typeof import("..").VOICE_TAG_GROUP>;
1191
- label: z.ZodString;
1192
- }, z.core.$strip>>;
1193
- categories: z.ZodArray<z.ZodObject<{
1194
- id: z.ZodEnum<typeof import("..").VOICE_CATEGORY>;
1195
- label: z.ZodString;
1196
- }, z.core.$strip>>;
1197
- speakerMarkerLabel: z.ZodString;
1198
1185
  }, z.core.$strip>;
1199
1186
  }, z.core.$strip>, z.ZodObject<{
1200
1187
  nodeType: z.ZodLiteral<CANVAS_NODE_TYPE.sttGen>;
@@ -1598,6 +1585,9 @@ export declare const CanvasNodeDefinitionsWithConfigsSchema: z.ZodRecord<z.ZodEn
1598
1585
  stepPrice: z.ZodNumber;
1599
1586
  isActive: z.ZodBoolean;
1600
1587
  }, z.core.$strip>>;
1588
+ "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
1589
+ multiplier: z.ZodNumber;
1590
+ }, z.core.$strip>>;
1601
1591
  }, z.core.$strict>;
1602
1592
  }, z.core.$strip>;
1603
1593
  createdAt: z.ZodDate;
@@ -1777,7 +1767,6 @@ export declare const CanvasNodeDefinitionsWithConfigsSchema: z.ZodRecord<z.ZodEn
1777
1767
  }, z.core.$strip>;
1778
1768
  }, z.core.$strip>;
1779
1769
  maxInputLength: z.ZodNumber;
1780
- maxSpeakers: z.ZodNumber;
1781
1770
  params: z.ZodObject<{
1782
1771
  speed: z.ZodOptional<z.ZodObject<{
1783
1772
  title: z.ZodString;
@@ -1881,16 +1870,6 @@ export declare const CanvasNodeDefinitionsWithConfigsSchema: z.ZodRecord<z.ZodEn
1881
1870
  canUse: z.ZodBoolean;
1882
1871
  status: z.ZodString;
1883
1872
  }, z.core.$strip>>;
1884
- tags: z.ZodArray<z.ZodObject<{
1885
- id: z.ZodEnum<typeof import("..").VOICE_TAG>;
1886
- group: z.ZodEnum<typeof import("..").VOICE_TAG_GROUP>;
1887
- label: z.ZodString;
1888
- }, z.core.$strip>>;
1889
- categories: z.ZodArray<z.ZodObject<{
1890
- id: z.ZodEnum<typeof import("..").VOICE_CATEGORY>;
1891
- label: z.ZodString;
1892
- }, z.core.$strip>>;
1893
- speakerMarkerLabel: z.ZodString;
1894
1873
  }, z.core.$strip>;
1895
1874
  }, z.core.$strip>, z.ZodObject<{
1896
1875
  nodeType: z.ZodLiteral<CANVAS_NODE_TYPE.sttGen>;
@@ -45,7 +45,7 @@ export declare const CloudPaymentsReceiptSchema: z.ZodObject<{
45
45
  Barcode: z.ZodNullable<z.ZodString>;
46
46
  Discount: z.ZodNullable<z.ZodNumber>;
47
47
  OtherDiscount: z.ZodNullable<z.ZodNumber>;
48
- MarkCodes: z.ZodArray<z.ZodUnknown>;
48
+ MarkCodes: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
49
49
  }, z.core.$strip>>;
50
50
  TaxationSystem: z.ZodNumber;
51
51
  Amounts: z.ZodObject<{
@@ -42,7 +42,7 @@ const ItemSchema = zod_1.z.object({
42
42
  Barcode: zod_1.z.nullable(zod_1.z.string()),
43
43
  Discount: zod_1.z.nullable(zod_1.z.number()),
44
44
  OtherDiscount: zod_1.z.nullable(zod_1.z.number()),
45
- MarkCodes: zod_1.z.array(zod_1.z.unknown()),
45
+ MarkCodes: zod_1.z.array(zod_1.z.unknown()).nullable(),
46
46
  });
47
47
  const AmountsSchema = zod_1.z.object({
48
48
  Electronic: zod_1.z.number(),
@@ -17,5 +17,5 @@ export * from './solving-edu-task';
17
17
  export * from './spell-corrector';
18
18
  export * from './html-page-builder';
19
19
  export * from './tool-workspace';
20
- export * from './photo-session';
21
20
  export * from './diagrams';
21
+ export * from './sound-generation';
@@ -33,5 +33,5 @@ __exportStar(require("./solving-edu-task"), exports);
33
33
  __exportStar(require("./spell-corrector"), exports);
34
34
  __exportStar(require("./html-page-builder"), exports);
35
35
  __exportStar(require("./tool-workspace"), exports);
36
- __exportStar(require("./photo-session"), exports);
37
36
  __exportStar(require("./diagrams"), exports);
37
+ __exportStar(require("./sound-generation"), exports);
@@ -0,0 +1,5 @@
1
+ export * from './sound-generation-config.schema';
2
+ export * from './sound-generation-job.schema';
3
+ export * from './sound-generation-model.schema';
4
+ export * from './sound-generation-params.schema';
5
+ export * from './sound-generation-result.schema';
@@ -14,6 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./photo-session-model-type.enum"), exports);
18
- __exportStar(require("./photo-session-strategy.enum"), exports);
19
- __exportStar(require("./photo-session-look-type.enum"), exports);
17
+ __exportStar(require("./sound-generation-config.schema"), exports);
18
+ __exportStar(require("./sound-generation-job.schema"), exports);
19
+ __exportStar(require("./sound-generation-model.schema"), exports);
20
+ __exportStar(require("./sound-generation-params.schema"), exports);
21
+ __exportStar(require("./sound-generation-result.schema"), exports);
@@ -0,0 +1,39 @@
1
+ import { z } from 'zod';
2
+ export declare const SoundGenerationConfigSchema: z.ZodObject<{
3
+ models: z.ZodArray<z.ZodObject<{
4
+ uuid: z.ZodString;
5
+ title: z.ZodString;
6
+ description: z.ZodString;
7
+ aiModel: z.ZodString;
8
+ pricePerSecond: z.ZodNumber;
9
+ order: z.ZodNumber;
10
+ status: z.ZodEnum<typeof import("../../..").TOOL_MODEL_STATUS>;
11
+ icons: z.ZodObject<{
12
+ light: z.ZodObject<{
13
+ svg: z.ZodString;
14
+ png: z.ZodString;
15
+ }, z.core.$strip>;
16
+ dark: z.ZodObject<{
17
+ svg: z.ZodString;
18
+ png: z.ZodString;
19
+ }, z.core.$strip>;
20
+ }, z.core.$strip>;
21
+ strategy: z.ZodEnum<typeof import("./sound-generation-model.schema").SOUND_GENERATION_STRATEGY>;
22
+ maxPromptLength: z.ZodNumber;
23
+ params: z.ZodObject<{
24
+ minDurationSeconds: z.ZodNumber;
25
+ maxDurationSeconds: z.ZodNumber;
26
+ durationStepSeconds: z.ZodNumber;
27
+ maxVariations: z.ZodNumber;
28
+ supportsLoop: z.ZodBoolean;
29
+ }, z.core.$strip>;
30
+ createdAt: z.ZodDate;
31
+ updatedAt: z.ZodDate;
32
+ unlockedBy: z.ZodNullable<z.ZodObject<{
33
+ uuid: z.ZodString;
34
+ name: z.ZodString;
35
+ }, z.core.$strip>>;
36
+ canUse: z.ZodBoolean;
37
+ }, z.core.$strip>>;
38
+ }, z.core.$strip>;
39
+ export type SoundGenerationConfig = z.infer<typeof SoundGenerationConfigSchema>;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SoundGenerationConfigSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const sound_generation_model_schema_1 = require("./sound-generation-model.schema");
6
+ exports.SoundGenerationConfigSchema = zod_1.z.object({
7
+ models: zod_1.z.array(sound_generation_model_schema_1.SoundGenerationModelSchema),
8
+ });