@purpleschool/gptbot-tools 0.2.63-stage2 → 0.2.64
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.
- package/build/ai-proxy/routes/ai-proxy.routes.d.ts +0 -1
- package/build/ai-proxy/routes/ai-proxy.routes.js +0 -1
- package/build/image-generation/enums/image-generation-model-strategy.enum.d.ts +2 -1
- package/build/image-generation/enums/image-generation-model-strategy.enum.js +2 -0
- package/build/index.d.ts +3 -3
- package/build/index.js +3 -3
- package/build/{photo-sessions/commands/delete-all-photo-sessions-jobs.command.d.ts → sound-generation/commands/delete-all-sound-generation-jobs.command.d.ts} +2 -2
- package/build/sound-generation/commands/delete-all-sound-generation-jobs.command.js +14 -0
- package/build/{photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.d.ts → sound-generation/commands/delete-sound-generation-job-by-uuid.command.d.ts} +2 -2
- package/build/sound-generation/commands/delete-sound-generation-job-by-uuid.command.js +14 -0
- package/build/{tts/commands/improve-tts-text.command.d.ts → sound-generation/commands/get-sound-generation-price.command.d.ts} +8 -6
- package/build/sound-generation/commands/get-sound-generation-price.command.js +17 -0
- package/build/sound-generation/commands/index.d.ts +8 -0
- package/build/sound-generation/commands/index.js +24 -0
- package/build/sound-generation/commands/retry-sound-generation-job.command.d.ts +94 -0
- package/build/sound-generation/commands/retry-sound-generation-job.command.js +20 -0
- package/build/sound-generation/commands/set-reaction-to-sound-generation-job.command.d.ts +87 -0
- package/build/{photo-sessions/commands/set-reaction-to-photo-sessions-job.command.js → sound-generation/commands/set-reaction-to-sound-generation-job.command.js} +8 -8
- package/build/sound-generation/commands/sound-generation.command.d.ts +96 -0
- package/build/sound-generation/commands/sound-generation.command.js +27 -0
- package/build/sound-generation/commands/update-sound-generation-job-favorite.command.d.ts +85 -0
- package/build/sound-generation/commands/update-sound-generation-job-favorite.command.js +16 -0
- package/build/sound-generation/commands/update-sound-generation-job-title.command.d.ts +85 -0
- package/build/sound-generation/commands/update-sound-generation-job-title.command.js +16 -0
- package/build/sound-generation/enums/index.d.ts +1 -0
- package/build/{photo-sessions/routes → sound-generation/enums}/index.js +1 -2
- package/build/sound-generation/enums/sound-generation-strategy.enum.d.ts +3 -0
- package/build/sound-generation/enums/sound-generation-strategy.enum.js +7 -0
- package/build/sound-generation/models/index.d.ts +5 -0
- package/build/{photo-sessions → sound-generation}/models/index.js +5 -5
- package/build/sound-generation/models/sound-generation-config.schema.d.ts +34 -0
- package/build/sound-generation/models/sound-generation-config.schema.js +8 -0
- package/build/sound-generation/models/sound-generation-job.schema.d.ts +39 -0
- package/build/sound-generation/models/sound-generation-job.schema.js +34 -0
- package/build/sound-generation/models/sound-generation-model.schema.d.ts +42 -0
- package/build/sound-generation/models/sound-generation-model.schema.js +28 -0
- package/build/sound-generation/models/sound-generation-params.schema.d.ts +8 -0
- package/build/sound-generation/models/sound-generation-params.schema.js +10 -0
- package/build/sound-generation/models/sound-generation-result.schema.d.ts +7 -0
- package/build/sound-generation/models/sound-generation-result.schema.js +9 -0
- package/build/sound-generation/queries/find-sound-generation-job-by-id.query.d.ts +84 -0
- package/build/sound-generation/queries/find-sound-generation-job-by-id.query.js +15 -0
- package/build/sound-generation/queries/find-sound-generation-jobs.query.d.ts +102 -0
- package/build/sound-generation/queries/find-sound-generation-jobs.query.js +35 -0
- package/build/sound-generation/queries/get-sound-generation-config.query.d.ts +76 -0
- package/build/sound-generation/queries/get-sound-generation-config.query.js +10 -0
- package/build/sound-generation/queries/index.d.ts +3 -0
- package/build/{photo-sessions/commands/admin → sound-generation/queries}/index.js +3 -3
- package/build/sound-generation/routes/index.d.ts +1 -0
- package/build/{photo-sessions/enums → sound-generation/routes}/index.js +1 -3
- package/build/sound-generation/routes/sound-generation.amqp.routes.d.ts +13 -0
- package/build/sound-generation/routes/sound-generation.amqp.routes.js +16 -0
- package/build/tools/enums/tool-content-type.enum.d.ts +2 -2
- package/build/tools/enums/tool-content-type.enum.js +1 -1
- package/build/tools/enums/tool-type.enum.d.ts +2 -2
- package/build/tools/enums/tool-type.enum.js +1 -1
- package/build/tools/events/tool-job-complete.event.d.ts +0 -1
- package/build/tools/events/tool-job-failed.event.d.ts +0 -1
- package/build/tools/models/global-tools-config.schema.d.ts +25 -69
- package/build/tools/models/global-tools-config.schema.js +2 -2
- package/build/tools/models/tool-group.schema.d.ts +1 -0
- package/build/tools/models/tool-group.schema.js +1 -0
- package/build/tools/models/tool-job.schema.d.ts +0 -1
- package/build/tools/models/tool-job.schema.js +0 -1
- package/build/tools/models/tools-with-configs.schema.d.ts +88 -22
- package/build/tools/models/tools-with-configs.schema.js +5 -0
- package/build/tools/queries/find-grouped-tools.query.d.ts +2 -0
- package/build/tools/queries/get-global-tools-config.query.d.ts +46 -134
- package/build/tools/queries/get-tools-with-configs.query.d.ts +88 -22
- package/build/tts/commands/index.d.ts +0 -7
- package/build/tts/commands/index.js +0 -7
- package/build/tts/commands/retry-tts-job.command.d.ts +2 -29
- package/build/tts/commands/retry-tts-job.command.js +0 -2
- package/build/tts/commands/set-reaction-to-tts-job.command.d.ts +2 -29
- package/build/tts/commands/set-reaction-to-tts-job.command.js +0 -1
- package/build/tts/commands/tts.command.d.ts +3 -35
- package/build/tts/commands/tts.command.js +1 -4
- package/build/tts/commands/update-tts-job-favorite.command.d.ts +2 -29
- package/build/tts/commands/update-tts-job-favorite.command.js +0 -2
- package/build/tts/commands/update-tts-job-title.command.d.ts +2 -29
- package/build/tts/commands/update-tts-job-title.command.js +0 -2
- package/build/tts/enums/index.d.ts +0 -7
- package/build/tts/enums/index.js +0 -7
- package/build/tts/models/index.d.ts +0 -7
- package/build/tts/models/index.js +0 -7
- package/build/tts/models/tts-config-with-vendors.schema.d.ts +0 -1
- package/build/tts/models/tts-config.schema.d.ts +0 -11
- package/build/tts/models/tts-config.schema.js +0 -5
- package/build/tts/models/tts-job.schema.d.ts +2 -34
- package/build/tts/models/tts-job.schema.js +2 -22
- package/build/tts/models/tts-model-with-vendor.schema.d.ts +0 -1
- package/build/tts/models/tts-model.schema.d.ts +0 -1
- package/build/tts/models/tts-model.schema.js +0 -1
- package/build/tts/queries/find-tts-job-by-id.query.d.ts +2 -29
- package/build/tts/queries/find-tts-job-by-id.query.js +0 -2
- package/build/tts/queries/find-tts-jobs.query.d.ts +2 -29
- package/build/tts/queries/find-tts-jobs.query.js +0 -1
- package/build/tts/queries/get-tts-config-with-vendors.query.d.ts +0 -2
- package/build/tts/queries/get-tts-config.query.d.ts +0 -22
- package/build/tts/queries/index.d.ts +0 -2
- package/build/tts/queries/index.js +0 -2
- package/build/tts/routes/tts.amqp.routes.d.ts +0 -9
- package/build/tts/routes/tts.amqp.routes.js +0 -9
- package/build/video/enums/video-strategy.enum.d.ts +2 -1
- package/build/video/enums/video-strategy.enum.js +1 -0
- package/package.json +1 -1
- package/build/photo-sessions/commands/admin/create-photo-session-style.command.d.ts +0 -58
- package/build/photo-sessions/commands/admin/create-photo-session-style.command.js +0 -21
- package/build/photo-sessions/commands/admin/delete-photo-session-style.command.d.ts +0 -14
- package/build/photo-sessions/commands/admin/delete-photo-session-style.command.js +0 -12
- package/build/photo-sessions/commands/admin/index.d.ts +0 -3
- package/build/photo-sessions/commands/admin/update-photo-session-style.command.d.ts +0 -54
- package/build/photo-sessions/commands/admin/update-photo-session-style.command.js +0 -18
- package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.js +0 -19
- package/build/photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.js +0 -14
- package/build/photo-sessions/commands/get-photo-sessions-price.command.d.ts +0 -85
- package/build/photo-sessions/commands/get-photo-sessions-price.command.js +0 -29
- package/build/photo-sessions/commands/index.d.ts +0 -10
- package/build/photo-sessions/commands/index.js +0 -26
- package/build/photo-sessions/commands/photo-sessions.command.d.ts +0 -305
- package/build/photo-sessions/commands/photo-sessions.command.js +0 -38
- package/build/photo-sessions/commands/retry-photo-sessions-job.command.d.ts +0 -266
- package/build/photo-sessions/commands/retry-photo-sessions-job.command.js +0 -20
- package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.d.ts +0 -203
- package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.d.ts +0 -201
- package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.js +0 -16
- package/build/photo-sessions/commands/update-photo-sessions-job-title.command.d.ts +0 -239
- package/build/photo-sessions/commands/update-photo-sessions-job-title.command.js +0 -16
- package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.d.ts +0 -206
- package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.js +0 -26
- package/build/photo-sessions/enums/index.d.ts +0 -3
- package/build/photo-sessions/enums/photo-session-group-status.enum.d.ts +0 -7
- package/build/photo-sessions/enums/photo-session-group-status.enum.js +0 -11
- package/build/photo-sessions/enums/photo-session-look-type.enum.d.ts +0 -5
- package/build/photo-sessions/enums/photo-session-look-type.enum.js +0 -9
- package/build/photo-sessions/enums/photo-session-strategy.enum.d.ts +0 -4
- package/build/photo-sessions/enums/photo-session-strategy.enum.js +0 -8
- package/build/photo-sessions/models/index.d.ts +0 -5
- package/build/photo-sessions/models/photo-session-config.schema.d.ts +0 -72
- package/build/photo-sessions/models/photo-session-config.schema.js +0 -16
- package/build/photo-sessions/models/photo-session-group.schema.d.ts +0 -116
- package/build/photo-sessions/models/photo-session-group.schema.js +0 -27
- package/build/photo-sessions/models/photo-session-job.schema.d.ts +0 -169
- package/build/photo-sessions/models/photo-session-job.schema.js +0 -51
- package/build/photo-sessions/models/photo-session-model.schema.d.ts +0 -69
- package/build/photo-sessions/models/photo-session-model.schema.js +0 -42
- package/build/photo-sessions/models/photo-session-style.schema.d.ts +0 -29
- package/build/photo-sessions/models/photo-session-style.schema.js +0 -22
- package/build/photo-sessions/queries/find-photo-session-style-by-id.query.d.ts +0 -46
- package/build/photo-sessions/queries/find-photo-session-style-by-id.query.js +0 -10
- package/build/photo-sessions/queries/find-photo-session-styles.query.d.ts +0 -57
- package/build/photo-sessions/queries/find-photo-session-styles.query.js +0 -19
- package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.d.ts +0 -238
- package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.js +0 -18
- package/build/photo-sessions/queries/find-photo-sessions-jobs.query.d.ts +0 -257
- package/build/photo-sessions/queries/find-photo-sessions-jobs.query.js +0 -33
- package/build/photo-sessions/queries/get-photo-sessions-config.query.d.ts +0 -142
- package/build/photo-sessions/queries/get-photo-sessions-config.query.js +0 -10
- package/build/photo-sessions/queries/index.d.ts +0 -5
- package/build/photo-sessions/queries/index.js +0 -21
- package/build/photo-sessions/routes/index.d.ts +0 -2
- package/build/photo-sessions/routes/photo-sessions.amqp.routes.d.ts +0 -19
- package/build/photo-sessions/routes/photo-sessions.amqp.routes.js +0 -22
- package/build/photo-sessions/routes/photo-sessions.http.routes.d.ts +0 -1
- package/build/photo-sessions/routes/photo-sessions.http.routes.js +0 -4
- package/build/tts/commands/create-voice-clone.command.d.ts +0 -81
- package/build/tts/commands/create-voice-clone.command.js +0 -21
- package/build/tts/commands/create-voice-design.command.d.ts +0 -40
- package/build/tts/commands/create-voice-design.command.js +0 -20
- package/build/tts/commands/delete-voice.command.d.ts +0 -17
- package/build/tts/commands/delete-voice.command.js +0 -14
- package/build/tts/commands/download-tts-job.command.d.ts +0 -25
- package/build/tts/commands/download-tts-job.command.js +0 -19
- package/build/tts/commands/improve-tts-text.command.js +0 -16
- package/build/tts/commands/select-voice-design.command.d.ts +0 -77
- package/build/tts/commands/select-voice-design.command.js +0 -17
- package/build/tts/commands/update-voice.command.d.ts +0 -78
- package/build/tts/commands/update-voice.command.js +0 -18
- package/build/tts/enums/tts-download-format.enum.d.ts +0 -5
- package/build/tts/enums/tts-download-format.enum.js +0 -9
- package/build/tts/enums/voice-category.enum.d.ts +0 -19
- package/build/tts/enums/voice-category.enum.js +0 -23
- package/build/tts/enums/voice-gender.enum.d.ts +0 -4
- package/build/tts/enums/voice-gender.enum.js +0 -8
- package/build/tts/enums/voice-source.enum.d.ts +0 -5
- package/build/tts/enums/voice-source.enum.js +0 -9
- package/build/tts/enums/voice-status.enum.d.ts +0 -5
- package/build/tts/enums/voice-status.enum.js +0 -9
- package/build/tts/enums/voice-tag-group.enum.d.ts +0 -5
- package/build/tts/enums/voice-tag-group.enum.js +0 -9
- package/build/tts/enums/voice-tag.enum.d.ts +0 -20
- package/build/tts/enums/voice-tag.enum.js +0 -24
- package/build/tts/models/voice-category.schema.d.ts +0 -7
- package/build/tts/models/voice-category.schema.js +0 -9
- package/build/tts/models/voice-design-draft.schema.d.ts +0 -13
- package/build/tts/models/voice-design-draft.schema.js +0 -13
- package/build/tts/models/voice-design-sample.schema.d.ts +0 -6
- package/build/tts/models/voice-design-sample.schema.js +0 -8
- package/build/tts/models/voice-gender.schema.d.ts +0 -7
- package/build/tts/models/voice-gender.schema.js +0 -9
- package/build/tts/models/voice-source.schema.d.ts +0 -7
- package/build/tts/models/voice-source.schema.js +0 -9
- package/build/tts/models/voice-tag.schema.d.ts +0 -9
- package/build/tts/models/voice-tag.schema.js +0 -11
- package/build/tts/models/voice.schema.d.ts +0 -34
- package/build/tts/models/voice.schema.js +0 -30
- package/build/tts/queries/find-voice-by-id.query.d.ts +0 -77
- package/build/tts/queries/find-voice-by-id.query.js +0 -17
- package/build/tts/queries/find-voices.query.d.ts +0 -122
- package/build/tts/queries/find-voices.query.js +0 -25
- /package/build/{photo-sessions → sound-generation}/index.d.ts +0 -0
- /package/build/{photo-sessions → sound-generation}/index.js +0 -0
|
@@ -651,7 +651,6 @@ export declare const ToolWithConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
651
651
|
}, z.core.$strip>;
|
|
652
652
|
strategy: z.ZodOptional<z.ZodString>;
|
|
653
653
|
maxInputLength: z.ZodNumber;
|
|
654
|
-
maxSpeakers: z.ZodNumber;
|
|
655
654
|
voices: z.ZodArray<z.ZodObject<{
|
|
656
655
|
id: z.ZodString;
|
|
657
656
|
externalId: z.ZodString;
|
|
@@ -752,16 +751,6 @@ export declare const ToolWithConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
752
751
|
createdAt: z.ZodDate;
|
|
753
752
|
updatedAt: z.ZodDate;
|
|
754
753
|
}, z.core.$strip>>;
|
|
755
|
-
tags: z.ZodArray<z.ZodObject<{
|
|
756
|
-
id: z.ZodEnum<typeof import("../..").VOICE_TAG>;
|
|
757
|
-
group: z.ZodEnum<typeof import("../..").VOICE_TAG_GROUP>;
|
|
758
|
-
label: z.ZodString;
|
|
759
|
-
}, z.core.$strip>>;
|
|
760
|
-
categories: z.ZodArray<z.ZodObject<{
|
|
761
|
-
id: z.ZodEnum<typeof import("../..").VOICE_CATEGORY>;
|
|
762
|
-
label: z.ZodString;
|
|
763
|
-
}, z.core.$strip>>;
|
|
764
|
-
speakerMarkerLabel: z.ZodString;
|
|
765
754
|
}, z.core.$strip>;
|
|
766
755
|
}, z.core.$strip>, z.ZodObject<{
|
|
767
756
|
uuid: z.ZodString;
|
|
@@ -1168,6 +1157,50 @@ export declare const ToolWithConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
1168
1157
|
updatedAt: z.ZodDate;
|
|
1169
1158
|
}, z.core.$strip>>;
|
|
1170
1159
|
}, z.core.$strip>;
|
|
1160
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1161
|
+
uuid: z.ZodString;
|
|
1162
|
+
title: z.ZodString;
|
|
1163
|
+
description: z.ZodString;
|
|
1164
|
+
icon: z.ZodString;
|
|
1165
|
+
alias: z.ZodString;
|
|
1166
|
+
bgColor: z.ZodString;
|
|
1167
|
+
iconColor: z.ZodString;
|
|
1168
|
+
order: z.ZodNumber;
|
|
1169
|
+
createdAt: z.ZodDate;
|
|
1170
|
+
updatedAt: z.ZodDate;
|
|
1171
|
+
contentType: z.ZodLiteral<TOOL_CONTENT_TYPE.SOUND_GENERATION>;
|
|
1172
|
+
config: z.ZodObject<{
|
|
1173
|
+
models: z.ZodArray<z.ZodObject<{
|
|
1174
|
+
uuid: z.ZodString;
|
|
1175
|
+
title: z.ZodString;
|
|
1176
|
+
description: z.ZodString;
|
|
1177
|
+
aiModel: z.ZodString;
|
|
1178
|
+
pricePerSecond: z.ZodNumber;
|
|
1179
|
+
order: z.ZodNumber;
|
|
1180
|
+
status: z.ZodEnum<typeof import("../..").TOOL_MODEL_STATUS>;
|
|
1181
|
+
icons: z.ZodObject<{
|
|
1182
|
+
light: z.ZodObject<{
|
|
1183
|
+
svg: z.ZodString;
|
|
1184
|
+
png: z.ZodString;
|
|
1185
|
+
}, z.core.$strip>;
|
|
1186
|
+
dark: z.ZodObject<{
|
|
1187
|
+
svg: z.ZodString;
|
|
1188
|
+
png: z.ZodString;
|
|
1189
|
+
}, z.core.$strip>;
|
|
1190
|
+
}, z.core.$strip>;
|
|
1191
|
+
strategy: z.ZodEnum<typeof import("../..").SOUND_GENERATION_STRATEGY>;
|
|
1192
|
+
maxPromptLength: z.ZodNumber;
|
|
1193
|
+
params: z.ZodObject<{
|
|
1194
|
+
minDurationSeconds: z.ZodNumber;
|
|
1195
|
+
maxDurationSeconds: z.ZodNumber;
|
|
1196
|
+
durationStepSeconds: z.ZodNumber;
|
|
1197
|
+
maxVariations: z.ZodNumber;
|
|
1198
|
+
supportsLoop: z.ZodBoolean;
|
|
1199
|
+
}, z.core.$strip>;
|
|
1200
|
+
createdAt: z.ZodDate;
|
|
1201
|
+
updatedAt: z.ZodDate;
|
|
1202
|
+
}, z.core.$strip>>;
|
|
1203
|
+
}, z.core.$strip>;
|
|
1171
1204
|
}, z.core.$strip>], "contentType">;
|
|
1172
1205
|
export type ToolWithConfig = z.infer<typeof ToolWithConfigSchema>;
|
|
1173
1206
|
export declare const ToolsWithConfigsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1821,7 +1854,6 @@ export declare const ToolsWithConfigsSchema: z.ZodArray<z.ZodDiscriminatedUnion<
|
|
|
1821
1854
|
}, z.core.$strip>;
|
|
1822
1855
|
strategy: z.ZodOptional<z.ZodString>;
|
|
1823
1856
|
maxInputLength: z.ZodNumber;
|
|
1824
|
-
maxSpeakers: z.ZodNumber;
|
|
1825
1857
|
voices: z.ZodArray<z.ZodObject<{
|
|
1826
1858
|
id: z.ZodString;
|
|
1827
1859
|
externalId: z.ZodString;
|
|
@@ -1922,16 +1954,6 @@ export declare const ToolsWithConfigsSchema: z.ZodArray<z.ZodDiscriminatedUnion<
|
|
|
1922
1954
|
createdAt: z.ZodDate;
|
|
1923
1955
|
updatedAt: z.ZodDate;
|
|
1924
1956
|
}, z.core.$strip>>;
|
|
1925
|
-
tags: z.ZodArray<z.ZodObject<{
|
|
1926
|
-
id: z.ZodEnum<typeof import("../..").VOICE_TAG>;
|
|
1927
|
-
group: z.ZodEnum<typeof import("../..").VOICE_TAG_GROUP>;
|
|
1928
|
-
label: z.ZodString;
|
|
1929
|
-
}, z.core.$strip>>;
|
|
1930
|
-
categories: z.ZodArray<z.ZodObject<{
|
|
1931
|
-
id: z.ZodEnum<typeof import("../..").VOICE_CATEGORY>;
|
|
1932
|
-
label: z.ZodString;
|
|
1933
|
-
}, z.core.$strip>>;
|
|
1934
|
-
speakerMarkerLabel: z.ZodString;
|
|
1935
1957
|
}, z.core.$strip>;
|
|
1936
1958
|
}, z.core.$strip>, z.ZodObject<{
|
|
1937
1959
|
uuid: z.ZodString;
|
|
@@ -2338,5 +2360,49 @@ export declare const ToolsWithConfigsSchema: z.ZodArray<z.ZodDiscriminatedUnion<
|
|
|
2338
2360
|
updatedAt: z.ZodDate;
|
|
2339
2361
|
}, z.core.$strip>>;
|
|
2340
2362
|
}, z.core.$strip>;
|
|
2363
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2364
|
+
uuid: z.ZodString;
|
|
2365
|
+
title: z.ZodString;
|
|
2366
|
+
description: z.ZodString;
|
|
2367
|
+
icon: z.ZodString;
|
|
2368
|
+
alias: z.ZodString;
|
|
2369
|
+
bgColor: z.ZodString;
|
|
2370
|
+
iconColor: z.ZodString;
|
|
2371
|
+
order: z.ZodNumber;
|
|
2372
|
+
createdAt: z.ZodDate;
|
|
2373
|
+
updatedAt: z.ZodDate;
|
|
2374
|
+
contentType: z.ZodLiteral<TOOL_CONTENT_TYPE.SOUND_GENERATION>;
|
|
2375
|
+
config: z.ZodObject<{
|
|
2376
|
+
models: z.ZodArray<z.ZodObject<{
|
|
2377
|
+
uuid: z.ZodString;
|
|
2378
|
+
title: z.ZodString;
|
|
2379
|
+
description: z.ZodString;
|
|
2380
|
+
aiModel: z.ZodString;
|
|
2381
|
+
pricePerSecond: z.ZodNumber;
|
|
2382
|
+
order: z.ZodNumber;
|
|
2383
|
+
status: z.ZodEnum<typeof import("../..").TOOL_MODEL_STATUS>;
|
|
2384
|
+
icons: z.ZodObject<{
|
|
2385
|
+
light: z.ZodObject<{
|
|
2386
|
+
svg: z.ZodString;
|
|
2387
|
+
png: z.ZodString;
|
|
2388
|
+
}, z.core.$strip>;
|
|
2389
|
+
dark: z.ZodObject<{
|
|
2390
|
+
svg: z.ZodString;
|
|
2391
|
+
png: z.ZodString;
|
|
2392
|
+
}, z.core.$strip>;
|
|
2393
|
+
}, z.core.$strip>;
|
|
2394
|
+
strategy: z.ZodEnum<typeof import("../..").SOUND_GENERATION_STRATEGY>;
|
|
2395
|
+
maxPromptLength: z.ZodNumber;
|
|
2396
|
+
params: z.ZodObject<{
|
|
2397
|
+
minDurationSeconds: z.ZodNumber;
|
|
2398
|
+
maxDurationSeconds: z.ZodNumber;
|
|
2399
|
+
durationStepSeconds: z.ZodNumber;
|
|
2400
|
+
maxVariations: z.ZodNumber;
|
|
2401
|
+
supportsLoop: z.ZodBoolean;
|
|
2402
|
+
}, z.core.$strip>;
|
|
2403
|
+
createdAt: z.ZodDate;
|
|
2404
|
+
updatedAt: z.ZodDate;
|
|
2405
|
+
}, z.core.$strip>>;
|
|
2406
|
+
}, z.core.$strip>;
|
|
2341
2407
|
}, z.core.$strip>], "contentType">>;
|
|
2342
2408
|
export type ToolsWithConfigs = z.infer<typeof ToolsWithConfigsSchema>;
|
|
@@ -21,6 +21,7 @@ const spell_corrector_1 = require("../../spell-corrector");
|
|
|
21
21
|
const diagrams_1 = require("../../diagrams");
|
|
22
22
|
const models_2 = require("../../html-page-builder/models");
|
|
23
23
|
const image_recognition_1 = require("../../image-recognition");
|
|
24
|
+
const sound_generation_1 = require("../../sound-generation");
|
|
24
25
|
// Discriminated union array: Tools with their configs
|
|
25
26
|
exports.ToolWithConfigSchema = zod_1.z.discriminatedUnion('contentType', [
|
|
26
27
|
tool_schema_1.ToolSchema.merge(zod_1.z.object({
|
|
@@ -91,5 +92,9 @@ exports.ToolWithConfigSchema = zod_1.z.discriminatedUnion('contentType', [
|
|
|
91
92
|
contentType: zod_1.z.literal(enums_1.TOOL_CONTENT_TYPE.IMAGE_RECOGNITION),
|
|
92
93
|
config: image_recognition_1.ImageRecognitionConfigSchema,
|
|
93
94
|
})),
|
|
95
|
+
tool_schema_1.ToolSchema.merge(zod_1.z.object({
|
|
96
|
+
contentType: zod_1.z.literal(enums_1.TOOL_CONTENT_TYPE.SOUND_GENERATION),
|
|
97
|
+
config: sound_generation_1.SoundGenerationConfigSchema,
|
|
98
|
+
})),
|
|
94
99
|
]);
|
|
95
100
|
exports.ToolsWithConfigsSchema = zod_1.z.array(exports.ToolWithConfigSchema);
|
|
@@ -9,6 +9,7 @@ export declare namespace FindGroupedToolsQuery {
|
|
|
9
9
|
data: z.ZodOptional<z.ZodType<{
|
|
10
10
|
group: import("..").TOOL_GROUP;
|
|
11
11
|
title: string;
|
|
12
|
+
icon: string;
|
|
12
13
|
tools: {
|
|
13
14
|
uuid: string;
|
|
14
15
|
title: string;
|
|
@@ -25,6 +26,7 @@ export declare namespace FindGroupedToolsQuery {
|
|
|
25
26
|
}[], unknown, z.core.$ZodTypeInternals<{
|
|
26
27
|
group: import("..").TOOL_GROUP;
|
|
27
28
|
title: string;
|
|
29
|
+
icon: string;
|
|
28
30
|
tools: {
|
|
29
31
|
uuid: string;
|
|
30
32
|
title: string;
|
|
@@ -550,7 +550,6 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
550
550
|
};
|
|
551
551
|
strategy?: string | undefined;
|
|
552
552
|
maxInputLength: number;
|
|
553
|
-
maxSpeakers: number;
|
|
554
553
|
voices: {
|
|
555
554
|
id: string;
|
|
556
555
|
externalId: string;
|
|
@@ -651,16 +650,6 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
651
650
|
createdAt: Date;
|
|
652
651
|
updatedAt: Date;
|
|
653
652
|
}[];
|
|
654
|
-
tags: {
|
|
655
|
-
id: import("../..").VOICE_TAG;
|
|
656
|
-
group: import("../..").VOICE_TAG_GROUP;
|
|
657
|
-
label: string;
|
|
658
|
-
}[];
|
|
659
|
-
categories: {
|
|
660
|
-
id: import("../..").VOICE_CATEGORY;
|
|
661
|
-
label: string;
|
|
662
|
-
}[];
|
|
663
|
-
speakerMarkerLabel: string;
|
|
664
653
|
};
|
|
665
654
|
SPEECH_TO_TEXT: {
|
|
666
655
|
models: {
|
|
@@ -920,15 +909,13 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
920
909
|
}[];
|
|
921
910
|
maxAttachmentsCount: number;
|
|
922
911
|
};
|
|
923
|
-
|
|
912
|
+
IMAGE_RECOGNITION: {
|
|
924
913
|
models: {
|
|
925
914
|
uuid: string;
|
|
926
915
|
title: string;
|
|
927
916
|
description: string;
|
|
928
917
|
aiModel: string;
|
|
929
|
-
|
|
930
|
-
tierLabel: string;
|
|
931
|
-
pricePerImage: number;
|
|
918
|
+
price: number;
|
|
932
919
|
order: number;
|
|
933
920
|
status: import("../..").TOOL_MODEL_STATUS;
|
|
934
921
|
icons: {
|
|
@@ -941,57 +928,22 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
941
928
|
png: string;
|
|
942
929
|
};
|
|
943
930
|
};
|
|
944
|
-
|
|
945
|
-
maxInputLength: number;
|
|
931
|
+
maxPromptLength: number;
|
|
946
932
|
params: {
|
|
947
933
|
imageAttachment: {
|
|
948
934
|
supported: boolean;
|
|
949
935
|
maxImages: number;
|
|
950
936
|
acceptedTypes: string[];
|
|
951
937
|
};
|
|
952
|
-
aspectRatio: Record<string, {
|
|
953
|
-
width: number;
|
|
954
|
-
height: number;
|
|
955
|
-
}>;
|
|
956
938
|
};
|
|
957
|
-
pricingRules: {
|
|
958
|
-
condition: {
|
|
959
|
-
withoutSub?: boolean | undefined;
|
|
960
|
-
};
|
|
961
|
-
value: number;
|
|
962
|
-
}[];
|
|
963
939
|
createdAt: Date;
|
|
964
940
|
updatedAt: Date;
|
|
965
941
|
}[];
|
|
966
|
-
|
|
967
|
-
uuid: string;
|
|
968
|
-
code: string;
|
|
969
|
-
title: string;
|
|
970
|
-
description?: string | null | undefined;
|
|
971
|
-
references: {
|
|
972
|
-
uuid: string;
|
|
973
|
-
styleId: string;
|
|
974
|
-
photoUrl: string;
|
|
975
|
-
description?: string | null | undefined;
|
|
976
|
-
order: number;
|
|
977
|
-
createdAt: Date;
|
|
978
|
-
updatedAt: Date;
|
|
979
|
-
}[];
|
|
980
|
-
createdAt: Date;
|
|
981
|
-
updatedAt: Date;
|
|
982
|
-
}[];
|
|
983
|
-
looks: {
|
|
984
|
-
type: import("../..").PHOTO_SESSION_LOOK_TYPE;
|
|
985
|
-
maxPhotos: number;
|
|
986
|
-
}[];
|
|
987
|
-
};
|
|
988
|
-
IMAGE_RECOGNITION: {
|
|
989
|
-
models: {
|
|
942
|
+
categories: {
|
|
990
943
|
uuid: string;
|
|
944
|
+
parentId: string | null;
|
|
991
945
|
title: string;
|
|
992
|
-
|
|
993
|
-
aiModel: string;
|
|
994
|
-
price: number;
|
|
946
|
+
systemPrompt: string;
|
|
995
947
|
order: number;
|
|
996
948
|
status: import("../..").TOOL_MODEL_STATUS;
|
|
997
949
|
icons: {
|
|
@@ -1003,23 +955,18 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
1003
955
|
svg: string;
|
|
1004
956
|
png: string;
|
|
1005
957
|
};
|
|
1006
|
-
};
|
|
1007
|
-
maxPromptLength: number;
|
|
1008
|
-
params: {
|
|
1009
|
-
imageAttachment: {
|
|
1010
|
-
supported: boolean;
|
|
1011
|
-
maxImages: number;
|
|
1012
|
-
acceptedTypes: string[];
|
|
1013
|
-
};
|
|
1014
|
-
};
|
|
958
|
+
} | null;
|
|
1015
959
|
createdAt: Date;
|
|
1016
960
|
updatedAt: Date;
|
|
1017
961
|
}[];
|
|
1018
|
-
|
|
962
|
+
};
|
|
963
|
+
SOUND_GENERATION: {
|
|
964
|
+
models: {
|
|
1019
965
|
uuid: string;
|
|
1020
|
-
parentId: string | null;
|
|
1021
966
|
title: string;
|
|
1022
|
-
|
|
967
|
+
description: string;
|
|
968
|
+
aiModel: string;
|
|
969
|
+
pricePerSecond: number;
|
|
1023
970
|
order: number;
|
|
1024
971
|
status: import("../..").TOOL_MODEL_STATUS;
|
|
1025
972
|
icons: {
|
|
@@ -1031,7 +978,16 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
1031
978
|
svg: string;
|
|
1032
979
|
png: string;
|
|
1033
980
|
};
|
|
1034
|
-
}
|
|
981
|
+
};
|
|
982
|
+
strategy: import("../..").SOUND_GENERATION_STRATEGY.ELEVENLABS_SOUND_GENERATION;
|
|
983
|
+
maxPromptLength: number;
|
|
984
|
+
params: {
|
|
985
|
+
minDurationSeconds: number;
|
|
986
|
+
maxDurationSeconds: number;
|
|
987
|
+
durationStepSeconds: number;
|
|
988
|
+
maxVariations: number;
|
|
989
|
+
supportsLoop: boolean;
|
|
990
|
+
};
|
|
1035
991
|
createdAt: Date;
|
|
1036
992
|
updatedAt: Date;
|
|
1037
993
|
}[];
|
|
@@ -1580,7 +1536,6 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
1580
1536
|
};
|
|
1581
1537
|
strategy?: string | undefined;
|
|
1582
1538
|
maxInputLength: number;
|
|
1583
|
-
maxSpeakers: number;
|
|
1584
1539
|
voices: {
|
|
1585
1540
|
id: string;
|
|
1586
1541
|
externalId: string;
|
|
@@ -1681,16 +1636,6 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
1681
1636
|
createdAt: Date;
|
|
1682
1637
|
updatedAt: Date;
|
|
1683
1638
|
}[];
|
|
1684
|
-
tags: {
|
|
1685
|
-
id: import("../..").VOICE_TAG;
|
|
1686
|
-
group: import("../..").VOICE_TAG_GROUP;
|
|
1687
|
-
label: string;
|
|
1688
|
-
}[];
|
|
1689
|
-
categories: {
|
|
1690
|
-
id: import("../..").VOICE_CATEGORY;
|
|
1691
|
-
label: string;
|
|
1692
|
-
}[];
|
|
1693
|
-
speakerMarkerLabel: string;
|
|
1694
1639
|
};
|
|
1695
1640
|
SPEECH_TO_TEXT: {
|
|
1696
1641
|
models: {
|
|
@@ -1950,15 +1895,13 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
1950
1895
|
}[];
|
|
1951
1896
|
maxAttachmentsCount: number;
|
|
1952
1897
|
};
|
|
1953
|
-
|
|
1898
|
+
IMAGE_RECOGNITION: {
|
|
1954
1899
|
models: {
|
|
1955
1900
|
uuid: string;
|
|
1956
1901
|
title: string;
|
|
1957
1902
|
description: string;
|
|
1958
1903
|
aiModel: string;
|
|
1959
|
-
|
|
1960
|
-
tierLabel: string;
|
|
1961
|
-
pricePerImage: number;
|
|
1904
|
+
price: number;
|
|
1962
1905
|
order: number;
|
|
1963
1906
|
status: import("../..").TOOL_MODEL_STATUS;
|
|
1964
1907
|
icons: {
|
|
@@ -1971,57 +1914,22 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
1971
1914
|
png: string;
|
|
1972
1915
|
};
|
|
1973
1916
|
};
|
|
1974
|
-
|
|
1975
|
-
maxInputLength: number;
|
|
1917
|
+
maxPromptLength: number;
|
|
1976
1918
|
params: {
|
|
1977
1919
|
imageAttachment: {
|
|
1978
1920
|
supported: boolean;
|
|
1979
1921
|
maxImages: number;
|
|
1980
1922
|
acceptedTypes: string[];
|
|
1981
1923
|
};
|
|
1982
|
-
aspectRatio: Record<string, {
|
|
1983
|
-
width: number;
|
|
1984
|
-
height: number;
|
|
1985
|
-
}>;
|
|
1986
1924
|
};
|
|
1987
|
-
pricingRules: {
|
|
1988
|
-
condition: {
|
|
1989
|
-
withoutSub?: boolean | undefined;
|
|
1990
|
-
};
|
|
1991
|
-
value: number;
|
|
1992
|
-
}[];
|
|
1993
1925
|
createdAt: Date;
|
|
1994
1926
|
updatedAt: Date;
|
|
1995
1927
|
}[];
|
|
1996
|
-
|
|
1997
|
-
uuid: string;
|
|
1998
|
-
code: string;
|
|
1999
|
-
title: string;
|
|
2000
|
-
description?: string | null | undefined;
|
|
2001
|
-
references: {
|
|
2002
|
-
uuid: string;
|
|
2003
|
-
styleId: string;
|
|
2004
|
-
photoUrl: string;
|
|
2005
|
-
description?: string | null | undefined;
|
|
2006
|
-
order: number;
|
|
2007
|
-
createdAt: Date;
|
|
2008
|
-
updatedAt: Date;
|
|
2009
|
-
}[];
|
|
2010
|
-
createdAt: Date;
|
|
2011
|
-
updatedAt: Date;
|
|
2012
|
-
}[];
|
|
2013
|
-
looks: {
|
|
2014
|
-
type: import("../..").PHOTO_SESSION_LOOK_TYPE;
|
|
2015
|
-
maxPhotos: number;
|
|
2016
|
-
}[];
|
|
2017
|
-
};
|
|
2018
|
-
IMAGE_RECOGNITION: {
|
|
2019
|
-
models: {
|
|
1928
|
+
categories: {
|
|
2020
1929
|
uuid: string;
|
|
1930
|
+
parentId: string | null;
|
|
2021
1931
|
title: string;
|
|
2022
|
-
|
|
2023
|
-
aiModel: string;
|
|
2024
|
-
price: number;
|
|
1932
|
+
systemPrompt: string;
|
|
2025
1933
|
order: number;
|
|
2026
1934
|
status: import("../..").TOOL_MODEL_STATUS;
|
|
2027
1935
|
icons: {
|
|
@@ -2033,23 +1941,18 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
2033
1941
|
svg: string;
|
|
2034
1942
|
png: string;
|
|
2035
1943
|
};
|
|
2036
|
-
};
|
|
2037
|
-
maxPromptLength: number;
|
|
2038
|
-
params: {
|
|
2039
|
-
imageAttachment: {
|
|
2040
|
-
supported: boolean;
|
|
2041
|
-
maxImages: number;
|
|
2042
|
-
acceptedTypes: string[];
|
|
2043
|
-
};
|
|
2044
|
-
};
|
|
1944
|
+
} | null;
|
|
2045
1945
|
createdAt: Date;
|
|
2046
1946
|
updatedAt: Date;
|
|
2047
1947
|
}[];
|
|
2048
|
-
|
|
1948
|
+
};
|
|
1949
|
+
SOUND_GENERATION: {
|
|
1950
|
+
models: {
|
|
2049
1951
|
uuid: string;
|
|
2050
|
-
parentId: string | null;
|
|
2051
1952
|
title: string;
|
|
2052
|
-
|
|
1953
|
+
description: string;
|
|
1954
|
+
aiModel: string;
|
|
1955
|
+
pricePerSecond: number;
|
|
2053
1956
|
order: number;
|
|
2054
1957
|
status: import("../..").TOOL_MODEL_STATUS;
|
|
2055
1958
|
icons: {
|
|
@@ -2061,7 +1964,16 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
2061
1964
|
svg: string;
|
|
2062
1965
|
png: string;
|
|
2063
1966
|
};
|
|
2064
|
-
}
|
|
1967
|
+
};
|
|
1968
|
+
strategy: import("../..").SOUND_GENERATION_STRATEGY.ELEVENLABS_SOUND_GENERATION;
|
|
1969
|
+
maxPromptLength: number;
|
|
1970
|
+
params: {
|
|
1971
|
+
minDurationSeconds: number;
|
|
1972
|
+
maxDurationSeconds: number;
|
|
1973
|
+
durationStepSeconds: number;
|
|
1974
|
+
maxVariations: number;
|
|
1975
|
+
supportsLoop: boolean;
|
|
1976
|
+
};
|
|
2065
1977
|
createdAt: Date;
|
|
2066
1978
|
updatedAt: Date;
|
|
2067
1979
|
}[];
|
|
@@ -657,7 +657,6 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
657
657
|
};
|
|
658
658
|
strategy?: string | undefined;
|
|
659
659
|
maxInputLength: number;
|
|
660
|
-
maxSpeakers: number;
|
|
661
660
|
voices: {
|
|
662
661
|
id: string;
|
|
663
662
|
externalId: string;
|
|
@@ -758,16 +757,6 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
758
757
|
createdAt: Date;
|
|
759
758
|
updatedAt: Date;
|
|
760
759
|
}[];
|
|
761
|
-
tags: {
|
|
762
|
-
id: import("../..").VOICE_TAG;
|
|
763
|
-
group: import("../..").VOICE_TAG_GROUP;
|
|
764
|
-
label: string;
|
|
765
|
-
}[];
|
|
766
|
-
categories: {
|
|
767
|
-
id: import("../..").VOICE_CATEGORY;
|
|
768
|
-
label: string;
|
|
769
|
-
}[];
|
|
770
|
-
speakerMarkerLabel: string;
|
|
771
760
|
};
|
|
772
761
|
} | {
|
|
773
762
|
uuid: string;
|
|
@@ -1174,6 +1163,50 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
1174
1163
|
updatedAt: Date;
|
|
1175
1164
|
}[];
|
|
1176
1165
|
};
|
|
1166
|
+
} | {
|
|
1167
|
+
uuid: string;
|
|
1168
|
+
title: string;
|
|
1169
|
+
description: string;
|
|
1170
|
+
icon: string;
|
|
1171
|
+
alias: string;
|
|
1172
|
+
bgColor: string;
|
|
1173
|
+
iconColor: string;
|
|
1174
|
+
order: number;
|
|
1175
|
+
createdAt: Date;
|
|
1176
|
+
updatedAt: Date;
|
|
1177
|
+
contentType: import("..").TOOL_CONTENT_TYPE.SOUND_GENERATION;
|
|
1178
|
+
config: {
|
|
1179
|
+
models: {
|
|
1180
|
+
uuid: string;
|
|
1181
|
+
title: string;
|
|
1182
|
+
description: string;
|
|
1183
|
+
aiModel: string;
|
|
1184
|
+
pricePerSecond: number;
|
|
1185
|
+
order: number;
|
|
1186
|
+
status: import("../..").TOOL_MODEL_STATUS;
|
|
1187
|
+
icons: {
|
|
1188
|
+
light: {
|
|
1189
|
+
svg: string;
|
|
1190
|
+
png: string;
|
|
1191
|
+
};
|
|
1192
|
+
dark: {
|
|
1193
|
+
svg: string;
|
|
1194
|
+
png: string;
|
|
1195
|
+
};
|
|
1196
|
+
};
|
|
1197
|
+
strategy: import("../..").SOUND_GENERATION_STRATEGY.ELEVENLABS_SOUND_GENERATION;
|
|
1198
|
+
maxPromptLength: number;
|
|
1199
|
+
params: {
|
|
1200
|
+
minDurationSeconds: number;
|
|
1201
|
+
maxDurationSeconds: number;
|
|
1202
|
+
durationStepSeconds: number;
|
|
1203
|
+
maxVariations: number;
|
|
1204
|
+
supportsLoop: boolean;
|
|
1205
|
+
};
|
|
1206
|
+
createdAt: Date;
|
|
1207
|
+
updatedAt: Date;
|
|
1208
|
+
}[];
|
|
1209
|
+
};
|
|
1177
1210
|
})[], unknown, z.core.$ZodTypeInternals<({
|
|
1178
1211
|
uuid: string;
|
|
1179
1212
|
title: string;
|
|
@@ -1825,7 +1858,6 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
1825
1858
|
};
|
|
1826
1859
|
strategy?: string | undefined;
|
|
1827
1860
|
maxInputLength: number;
|
|
1828
|
-
maxSpeakers: number;
|
|
1829
1861
|
voices: {
|
|
1830
1862
|
id: string;
|
|
1831
1863
|
externalId: string;
|
|
@@ -1926,16 +1958,6 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
1926
1958
|
createdAt: Date;
|
|
1927
1959
|
updatedAt: Date;
|
|
1928
1960
|
}[];
|
|
1929
|
-
tags: {
|
|
1930
|
-
id: import("../..").VOICE_TAG;
|
|
1931
|
-
group: import("../..").VOICE_TAG_GROUP;
|
|
1932
|
-
label: string;
|
|
1933
|
-
}[];
|
|
1934
|
-
categories: {
|
|
1935
|
-
id: import("../..").VOICE_CATEGORY;
|
|
1936
|
-
label: string;
|
|
1937
|
-
}[];
|
|
1938
|
-
speakerMarkerLabel: string;
|
|
1939
1961
|
};
|
|
1940
1962
|
} | {
|
|
1941
1963
|
uuid: string;
|
|
@@ -2342,6 +2364,50 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
2342
2364
|
updatedAt: Date;
|
|
2343
2365
|
}[];
|
|
2344
2366
|
};
|
|
2367
|
+
} | {
|
|
2368
|
+
uuid: string;
|
|
2369
|
+
title: string;
|
|
2370
|
+
description: string;
|
|
2371
|
+
icon: string;
|
|
2372
|
+
alias: string;
|
|
2373
|
+
bgColor: string;
|
|
2374
|
+
iconColor: string;
|
|
2375
|
+
order: number;
|
|
2376
|
+
createdAt: Date;
|
|
2377
|
+
updatedAt: Date;
|
|
2378
|
+
contentType: import("..").TOOL_CONTENT_TYPE.SOUND_GENERATION;
|
|
2379
|
+
config: {
|
|
2380
|
+
models: {
|
|
2381
|
+
uuid: string;
|
|
2382
|
+
title: string;
|
|
2383
|
+
description: string;
|
|
2384
|
+
aiModel: string;
|
|
2385
|
+
pricePerSecond: number;
|
|
2386
|
+
order: number;
|
|
2387
|
+
status: import("../..").TOOL_MODEL_STATUS;
|
|
2388
|
+
icons: {
|
|
2389
|
+
light: {
|
|
2390
|
+
svg: string;
|
|
2391
|
+
png: string;
|
|
2392
|
+
};
|
|
2393
|
+
dark: {
|
|
2394
|
+
svg: string;
|
|
2395
|
+
png: string;
|
|
2396
|
+
};
|
|
2397
|
+
};
|
|
2398
|
+
strategy: import("../..").SOUND_GENERATION_STRATEGY.ELEVENLABS_SOUND_GENERATION;
|
|
2399
|
+
maxPromptLength: number;
|
|
2400
|
+
params: {
|
|
2401
|
+
minDurationSeconds: number;
|
|
2402
|
+
maxDurationSeconds: number;
|
|
2403
|
+
durationStepSeconds: number;
|
|
2404
|
+
maxVariations: number;
|
|
2405
|
+
supportsLoop: boolean;
|
|
2406
|
+
};
|
|
2407
|
+
createdAt: Date;
|
|
2408
|
+
updatedAt: Date;
|
|
2409
|
+
}[];
|
|
2410
|
+
};
|
|
2345
2411
|
})[], unknown>>>;
|
|
2346
2412
|
code: z.ZodOptional<z.ZodString>;
|
|
2347
2413
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -6,10 +6,3 @@ export * from './tts.command';
|
|
|
6
6
|
export * from './get-tts-price.command';
|
|
7
7
|
export * from './update-tts-job-title.command';
|
|
8
8
|
export * from './update-tts-job-favorite.command';
|
|
9
|
-
export * from './create-voice-clone.command';
|
|
10
|
-
export * from './create-voice-design.command';
|
|
11
|
-
export * from './select-voice-design.command';
|
|
12
|
-
export * from './update-voice.command';
|
|
13
|
-
export * from './delete-voice.command';
|
|
14
|
-
export * from './improve-tts-text.command';
|
|
15
|
-
export * from './download-tts-job.command';
|
|
@@ -22,10 +22,3 @@ __exportStar(require("./tts.command"), exports);
|
|
|
22
22
|
__exportStar(require("./get-tts-price.command"), exports);
|
|
23
23
|
__exportStar(require("./update-tts-job-title.command"), exports);
|
|
24
24
|
__exportStar(require("./update-tts-job-favorite.command"), exports);
|
|
25
|
-
__exportStar(require("./create-voice-clone.command"), exports);
|
|
26
|
-
__exportStar(require("./create-voice-design.command"), exports);
|
|
27
|
-
__exportStar(require("./select-voice-design.command"), exports);
|
|
28
|
-
__exportStar(require("./update-voice.command"), exports);
|
|
29
|
-
__exportStar(require("./delete-voice.command"), exports);
|
|
30
|
-
__exportStar(require("./improve-tts-text.command"), exports);
|
|
31
|
-
__exportStar(require("./download-tts-job.command"), exports);
|