@purpleschool/gptbot-tools 0.2.63 → 0.2.64-stage2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai-proxy/routes/ai-proxy.routes.d.ts +1 -0
- package/build/ai-proxy/routes/ai-proxy.routes.js +1 -0
- package/build/index.d.ts +3 -3
- package/build/index.js +3 -3
- package/build/photo-sessions/commands/admin/create-photo-session-style.command.d.ts +58 -0
- package/build/photo-sessions/commands/admin/create-photo-session-style.command.js +21 -0
- package/build/photo-sessions/commands/admin/delete-photo-session-style.command.d.ts +14 -0
- package/build/photo-sessions/commands/admin/delete-photo-session-style.command.js +12 -0
- package/build/photo-sessions/commands/admin/index.d.ts +3 -0
- package/build/{sound-generation/queries → photo-sessions/commands/admin}/index.js +3 -3
- package/build/photo-sessions/commands/admin/update-photo-session-style.command.d.ts +54 -0
- package/build/photo-sessions/commands/admin/update-photo-session-style.command.js +18 -0
- package/build/{sound-generation/commands/delete-all-sound-generation-jobs.command.d.ts → photo-sessions/commands/delete-all-photo-sessions-jobs.command.d.ts} +2 -2
- package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.js +19 -0
- package/build/{sound-generation/commands/delete-sound-generation-job-by-uuid.command.d.ts → photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.d.ts} +2 -2
- package/build/photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.js +14 -0
- package/build/photo-sessions/commands/get-photo-sessions-price.command.d.ts +85 -0
- package/build/photo-sessions/commands/get-photo-sessions-price.command.js +29 -0
- package/build/photo-sessions/commands/index.d.ts +10 -0
- package/build/{sound-generation → photo-sessions}/commands/index.js +10 -8
- package/build/photo-sessions/commands/photo-sessions.command.d.ts +305 -0
- package/build/photo-sessions/commands/photo-sessions.command.js +38 -0
- package/build/photo-sessions/commands/retry-photo-sessions-job.command.d.ts +266 -0
- package/build/photo-sessions/commands/retry-photo-sessions-job.command.js +20 -0
- package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.d.ts +203 -0
- package/build/{sound-generation/commands/set-reaction-to-sound-generation-job.command.js → photo-sessions/commands/set-reaction-to-photo-sessions-job.command.js} +8 -8
- package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.d.ts +201 -0
- package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.js +16 -0
- package/build/photo-sessions/commands/update-photo-sessions-job-title.command.d.ts +239 -0
- package/build/photo-sessions/commands/update-photo-sessions-job-title.command.js +16 -0
- package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.d.ts +206 -0
- package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.js +26 -0
- package/build/photo-sessions/enums/index.d.ts +3 -0
- package/build/{sound-generation/routes → photo-sessions/enums}/index.js +3 -1
- package/build/photo-sessions/enums/photo-session-group-status.enum.d.ts +7 -0
- package/build/photo-sessions/enums/photo-session-group-status.enum.js +11 -0
- package/build/photo-sessions/enums/photo-session-look-type.enum.d.ts +5 -0
- package/build/photo-sessions/enums/photo-session-look-type.enum.js +9 -0
- package/build/photo-sessions/enums/photo-session-strategy.enum.d.ts +4 -0
- package/build/photo-sessions/enums/photo-session-strategy.enum.js +8 -0
- package/build/photo-sessions/models/index.d.ts +5 -0
- package/build/photo-sessions/models/index.js +21 -0
- package/build/photo-sessions/models/photo-session-config.schema.d.ts +72 -0
- package/build/photo-sessions/models/photo-session-config.schema.js +16 -0
- package/build/photo-sessions/models/photo-session-group.schema.d.ts +116 -0
- package/build/photo-sessions/models/photo-session-group.schema.js +27 -0
- package/build/photo-sessions/models/photo-session-job.schema.d.ts +169 -0
- package/build/photo-sessions/models/photo-session-job.schema.js +51 -0
- package/build/photo-sessions/models/photo-session-model.schema.d.ts +69 -0
- package/build/photo-sessions/models/photo-session-model.schema.js +42 -0
- package/build/photo-sessions/models/photo-session-style.schema.d.ts +29 -0
- package/build/photo-sessions/models/photo-session-style.schema.js +22 -0
- package/build/photo-sessions/queries/find-photo-session-style-by-id.query.d.ts +46 -0
- package/build/photo-sessions/queries/find-photo-session-style-by-id.query.js +10 -0
- package/build/photo-sessions/queries/find-photo-session-styles.query.d.ts +57 -0
- package/build/photo-sessions/queries/find-photo-session-styles.query.js +19 -0
- package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.d.ts +238 -0
- package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.js +18 -0
- package/build/photo-sessions/queries/find-photo-sessions-jobs.query.d.ts +257 -0
- package/build/photo-sessions/queries/find-photo-sessions-jobs.query.js +33 -0
- package/build/photo-sessions/queries/get-photo-sessions-config.query.d.ts +142 -0
- package/build/photo-sessions/queries/get-photo-sessions-config.query.js +10 -0
- package/build/photo-sessions/queries/index.d.ts +5 -0
- package/build/{sound-generation/models → photo-sessions/queries}/index.js +5 -5
- package/build/photo-sessions/routes/index.d.ts +2 -0
- package/build/{sound-generation/enums → photo-sessions/routes}/index.js +2 -1
- package/build/photo-sessions/routes/photo-sessions.amqp.routes.d.ts +19 -0
- package/build/photo-sessions/routes/photo-sessions.amqp.routes.js +22 -0
- package/build/photo-sessions/routes/photo-sessions.http.routes.d.ts +1 -0
- package/build/photo-sessions/routes/photo-sessions.http.routes.js +4 -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 +1 -0
- package/build/tools/events/tool-job-failed.event.d.ts +1 -0
- package/build/tools/models/global-tools-config.schema.d.ts +69 -25
- package/build/tools/models/global-tools-config.schema.js +2 -2
- package/build/tools/models/tool-group.schema.d.ts +0 -1
- package/build/tools/models/tool-group.schema.js +0 -1
- package/build/tools/models/tool-job.schema.d.ts +1 -0
- package/build/tools/models/tool-job.schema.js +1 -0
- package/build/tools/models/tools-with-configs.schema.d.ts +22 -88
- package/build/tools/models/tools-with-configs.schema.js +0 -5
- package/build/tools/queries/find-grouped-tools.query.d.ts +0 -2
- package/build/tools/queries/get-global-tools-config.query.d.ts +134 -46
- package/build/tools/queries/get-tools-with-configs.query.d.ts +22 -88
- package/build/tts/commands/create-voice-clone.command.d.ts +81 -0
- package/build/tts/commands/create-voice-clone.command.js +21 -0
- package/build/tts/commands/create-voice-design.command.d.ts +40 -0
- package/build/tts/commands/create-voice-design.command.js +20 -0
- package/build/tts/commands/delete-voice.command.d.ts +17 -0
- package/build/tts/commands/delete-voice.command.js +14 -0
- package/build/tts/commands/download-tts-job.command.d.ts +25 -0
- package/build/tts/commands/download-tts-job.command.js +19 -0
- package/build/{sound-generation/commands/get-sound-generation-price.command.d.ts → tts/commands/improve-tts-text.command.d.ts} +6 -8
- package/build/tts/commands/improve-tts-text.command.js +16 -0
- package/build/tts/commands/index.d.ts +7 -0
- package/build/tts/commands/index.js +7 -0
- package/build/tts/commands/retry-tts-job.command.d.ts +29 -2
- package/build/tts/commands/retry-tts-job.command.js +2 -0
- package/build/tts/commands/select-voice-design.command.d.ts +77 -0
- package/build/tts/commands/select-voice-design.command.js +17 -0
- package/build/tts/commands/set-reaction-to-tts-job.command.d.ts +29 -2
- package/build/tts/commands/set-reaction-to-tts-job.command.js +1 -0
- package/build/tts/commands/tts.command.d.ts +35 -3
- package/build/tts/commands/tts.command.js +4 -1
- package/build/tts/commands/update-tts-job-favorite.command.d.ts +29 -2
- package/build/tts/commands/update-tts-job-favorite.command.js +2 -0
- package/build/tts/commands/update-tts-job-title.command.d.ts +29 -2
- package/build/tts/commands/update-tts-job-title.command.js +2 -0
- package/build/tts/commands/update-voice.command.d.ts +78 -0
- package/build/tts/commands/update-voice.command.js +18 -0
- package/build/tts/enums/index.d.ts +7 -0
- package/build/tts/enums/index.js +7 -0
- package/build/tts/enums/tts-download-format.enum.d.ts +5 -0
- package/build/tts/enums/tts-download-format.enum.js +9 -0
- package/build/tts/enums/voice-category.enum.d.ts +19 -0
- package/build/tts/enums/voice-category.enum.js +23 -0
- package/build/tts/enums/voice-gender.enum.d.ts +4 -0
- package/build/tts/enums/voice-gender.enum.js +8 -0
- package/build/tts/enums/voice-source.enum.d.ts +5 -0
- package/build/tts/enums/voice-source.enum.js +9 -0
- package/build/tts/enums/voice-status.enum.d.ts +5 -0
- package/build/tts/enums/voice-status.enum.js +9 -0
- package/build/tts/enums/voice-tag-group.enum.d.ts +5 -0
- package/build/tts/enums/voice-tag-group.enum.js +9 -0
- package/build/tts/enums/voice-tag.enum.d.ts +20 -0
- package/build/tts/enums/voice-tag.enum.js +24 -0
- package/build/tts/models/index.d.ts +7 -0
- package/build/tts/models/index.js +7 -0
- package/build/tts/models/tts-config-with-vendors.schema.d.ts +1 -0
- package/build/tts/models/tts-config.schema.d.ts +11 -0
- package/build/tts/models/tts-config.schema.js +5 -0
- package/build/tts/models/tts-job.schema.d.ts +34 -2
- package/build/tts/models/tts-job.schema.js +22 -2
- package/build/tts/models/tts-model-with-vendor.schema.d.ts +1 -0
- package/build/tts/models/tts-model.schema.d.ts +1 -0
- package/build/tts/models/tts-model.schema.js +1 -0
- package/build/tts/models/voice-category.schema.d.ts +7 -0
- package/build/tts/models/voice-category.schema.js +9 -0
- package/build/tts/models/voice-design-draft.schema.d.ts +13 -0
- package/build/tts/models/voice-design-draft.schema.js +13 -0
- package/build/tts/models/voice-design-sample.schema.d.ts +6 -0
- package/build/tts/models/voice-design-sample.schema.js +8 -0
- package/build/tts/models/voice-gender.schema.d.ts +7 -0
- package/build/tts/models/voice-gender.schema.js +9 -0
- package/build/tts/models/voice-source.schema.d.ts +7 -0
- package/build/tts/models/voice-source.schema.js +9 -0
- package/build/tts/models/voice-tag.schema.d.ts +9 -0
- package/build/tts/models/voice-tag.schema.js +11 -0
- package/build/tts/models/voice.schema.d.ts +34 -0
- package/build/tts/models/voice.schema.js +30 -0
- package/build/tts/queries/find-tts-job-by-id.query.d.ts +29 -2
- package/build/tts/queries/find-tts-job-by-id.query.js +2 -0
- package/build/tts/queries/find-tts-jobs.query.d.ts +29 -2
- package/build/tts/queries/find-tts-jobs.query.js +1 -0
- package/build/tts/queries/find-voice-by-id.query.d.ts +77 -0
- package/build/tts/queries/find-voice-by-id.query.js +17 -0
- package/build/tts/queries/find-voices.query.d.ts +122 -0
- package/build/tts/queries/find-voices.query.js +25 -0
- package/build/tts/queries/get-tts-config-with-vendors.query.d.ts +2 -0
- package/build/tts/queries/get-tts-config.query.d.ts +22 -0
- package/build/tts/queries/index.d.ts +2 -0
- package/build/tts/queries/index.js +2 -0
- package/build/tts/routes/tts.amqp.routes.d.ts +9 -0
- package/build/tts/routes/tts.amqp.routes.js +9 -0
- package/package.json +1 -1
- package/build/sound-generation/commands/delete-all-sound-generation-jobs.command.js +0 -14
- package/build/sound-generation/commands/delete-sound-generation-job-by-uuid.command.js +0 -14
- package/build/sound-generation/commands/get-sound-generation-price.command.js +0 -17
- package/build/sound-generation/commands/index.d.ts +0 -8
- package/build/sound-generation/commands/retry-sound-generation-job.command.d.ts +0 -94
- package/build/sound-generation/commands/retry-sound-generation-job.command.js +0 -20
- package/build/sound-generation/commands/set-reaction-to-sound-generation-job.command.d.ts +0 -87
- package/build/sound-generation/commands/sound-generation.command.d.ts +0 -96
- package/build/sound-generation/commands/sound-generation.command.js +0 -27
- package/build/sound-generation/commands/update-sound-generation-job-favorite.command.d.ts +0 -85
- package/build/sound-generation/commands/update-sound-generation-job-favorite.command.js +0 -16
- package/build/sound-generation/commands/update-sound-generation-job-title.command.d.ts +0 -85
- package/build/sound-generation/commands/update-sound-generation-job-title.command.js +0 -16
- package/build/sound-generation/enums/index.d.ts +0 -1
- package/build/sound-generation/enums/sound-generation-strategy.enum.d.ts +0 -3
- package/build/sound-generation/enums/sound-generation-strategy.enum.js +0 -7
- package/build/sound-generation/models/index.d.ts +0 -5
- package/build/sound-generation/models/sound-generation-config.schema.d.ts +0 -34
- package/build/sound-generation/models/sound-generation-config.schema.js +0 -8
- package/build/sound-generation/models/sound-generation-job.schema.d.ts +0 -39
- package/build/sound-generation/models/sound-generation-job.schema.js +0 -34
- package/build/sound-generation/models/sound-generation-model.schema.d.ts +0 -42
- package/build/sound-generation/models/sound-generation-model.schema.js +0 -28
- package/build/sound-generation/models/sound-generation-params.schema.d.ts +0 -8
- package/build/sound-generation/models/sound-generation-params.schema.js +0 -10
- package/build/sound-generation/models/sound-generation-result.schema.d.ts +0 -7
- package/build/sound-generation/models/sound-generation-result.schema.js +0 -9
- package/build/sound-generation/queries/find-sound-generation-job-by-id.query.d.ts +0 -84
- package/build/sound-generation/queries/find-sound-generation-job-by-id.query.js +0 -15
- package/build/sound-generation/queries/find-sound-generation-jobs.query.d.ts +0 -102
- package/build/sound-generation/queries/find-sound-generation-jobs.query.js +0 -35
- package/build/sound-generation/queries/get-sound-generation-config.query.d.ts +0 -76
- package/build/sound-generation/queries/get-sound-generation-config.query.js +0 -10
- package/build/sound-generation/queries/index.d.ts +0 -3
- package/build/sound-generation/routes/index.d.ts +0 -1
- package/build/sound-generation/routes/sound-generation.amqp.routes.d.ts +0 -13
- package/build/sound-generation/routes/sound-generation.amqp.routes.js +0 -16
- /package/build/{sound-generation → photo-sessions}/index.d.ts +0 -0
- /package/build/{sound-generation → photo-sessions}/index.js +0 -0
|
@@ -651,6 +651,7 @@ 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;
|
|
654
655
|
voices: z.ZodArray<z.ZodObject<{
|
|
655
656
|
id: z.ZodString;
|
|
656
657
|
externalId: z.ZodString;
|
|
@@ -751,6 +752,16 @@ export declare const ToolWithConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
751
752
|
createdAt: z.ZodDate;
|
|
752
753
|
updatedAt: z.ZodDate;
|
|
753
754
|
}, 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;
|
|
754
765
|
}, z.core.$strip>;
|
|
755
766
|
}, z.core.$strip>, z.ZodObject<{
|
|
756
767
|
uuid: z.ZodString;
|
|
@@ -1157,50 +1168,6 @@ export declare const ToolWithConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
1157
1168
|
updatedAt: z.ZodDate;
|
|
1158
1169
|
}, z.core.$strip>>;
|
|
1159
1170
|
}, 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>;
|
|
1204
1171
|
}, z.core.$strip>], "contentType">;
|
|
1205
1172
|
export type ToolWithConfig = z.infer<typeof ToolWithConfigSchema>;
|
|
1206
1173
|
export declare const ToolsWithConfigsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1854,6 +1821,7 @@ export declare const ToolsWithConfigsSchema: z.ZodArray<z.ZodDiscriminatedUnion<
|
|
|
1854
1821
|
}, z.core.$strip>;
|
|
1855
1822
|
strategy: z.ZodOptional<z.ZodString>;
|
|
1856
1823
|
maxInputLength: z.ZodNumber;
|
|
1824
|
+
maxSpeakers: z.ZodNumber;
|
|
1857
1825
|
voices: z.ZodArray<z.ZodObject<{
|
|
1858
1826
|
id: z.ZodString;
|
|
1859
1827
|
externalId: z.ZodString;
|
|
@@ -1954,6 +1922,16 @@ export declare const ToolsWithConfigsSchema: z.ZodArray<z.ZodDiscriminatedUnion<
|
|
|
1954
1922
|
createdAt: z.ZodDate;
|
|
1955
1923
|
updatedAt: z.ZodDate;
|
|
1956
1924
|
}, 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;
|
|
1957
1935
|
}, z.core.$strip>;
|
|
1958
1936
|
}, z.core.$strip>, z.ZodObject<{
|
|
1959
1937
|
uuid: z.ZodString;
|
|
@@ -2360,49 +2338,5 @@ export declare const ToolsWithConfigsSchema: z.ZodArray<z.ZodDiscriminatedUnion<
|
|
|
2360
2338
|
updatedAt: z.ZodDate;
|
|
2361
2339
|
}, z.core.$strip>>;
|
|
2362
2340
|
}, 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>;
|
|
2407
2341
|
}, z.core.$strip>], "contentType">>;
|
|
2408
2342
|
export type ToolsWithConfigs = z.infer<typeof ToolsWithConfigsSchema>;
|
|
@@ -21,7 +21,6 @@ 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");
|
|
25
24
|
// Discriminated union array: Tools with their configs
|
|
26
25
|
exports.ToolWithConfigSchema = zod_1.z.discriminatedUnion('contentType', [
|
|
27
26
|
tool_schema_1.ToolSchema.merge(zod_1.z.object({
|
|
@@ -92,9 +91,5 @@ exports.ToolWithConfigSchema = zod_1.z.discriminatedUnion('contentType', [
|
|
|
92
91
|
contentType: zod_1.z.literal(enums_1.TOOL_CONTENT_TYPE.IMAGE_RECOGNITION),
|
|
93
92
|
config: image_recognition_1.ImageRecognitionConfigSchema,
|
|
94
93
|
})),
|
|
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
|
-
})),
|
|
99
94
|
]);
|
|
100
95
|
exports.ToolsWithConfigsSchema = zod_1.z.array(exports.ToolWithConfigSchema);
|
|
@@ -9,7 +9,6 @@ export declare namespace FindGroupedToolsQuery {
|
|
|
9
9
|
data: z.ZodOptional<z.ZodType<{
|
|
10
10
|
group: import("..").TOOL_GROUP;
|
|
11
11
|
title: string;
|
|
12
|
-
icon: string;
|
|
13
12
|
tools: {
|
|
14
13
|
uuid: string;
|
|
15
14
|
title: string;
|
|
@@ -26,7 +25,6 @@ export declare namespace FindGroupedToolsQuery {
|
|
|
26
25
|
}[], unknown, z.core.$ZodTypeInternals<{
|
|
27
26
|
group: import("..").TOOL_GROUP;
|
|
28
27
|
title: string;
|
|
29
|
-
icon: string;
|
|
30
28
|
tools: {
|
|
31
29
|
uuid: string;
|
|
32
30
|
title: string;
|
|
@@ -550,6 +550,7 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
550
550
|
};
|
|
551
551
|
strategy?: string | undefined;
|
|
552
552
|
maxInputLength: number;
|
|
553
|
+
maxSpeakers: number;
|
|
553
554
|
voices: {
|
|
554
555
|
id: string;
|
|
555
556
|
externalId: string;
|
|
@@ -650,6 +651,16 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
650
651
|
createdAt: Date;
|
|
651
652
|
updatedAt: Date;
|
|
652
653
|
}[];
|
|
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;
|
|
653
664
|
};
|
|
654
665
|
SPEECH_TO_TEXT: {
|
|
655
666
|
models: {
|
|
@@ -909,13 +920,15 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
909
920
|
}[];
|
|
910
921
|
maxAttachmentsCount: number;
|
|
911
922
|
};
|
|
912
|
-
|
|
923
|
+
PHOTO_SESSIONS: {
|
|
913
924
|
models: {
|
|
914
925
|
uuid: string;
|
|
915
926
|
title: string;
|
|
916
927
|
description: string;
|
|
917
928
|
aiModel: string;
|
|
918
|
-
|
|
929
|
+
isNew: boolean;
|
|
930
|
+
tierLabel: string;
|
|
931
|
+
pricePerImage: number;
|
|
919
932
|
order: number;
|
|
920
933
|
status: import("../..").TOOL_MODEL_STATUS;
|
|
921
934
|
icons: {
|
|
@@ -928,22 +941,57 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
928
941
|
png: string;
|
|
929
942
|
};
|
|
930
943
|
};
|
|
931
|
-
|
|
944
|
+
strategy: import("../..").PHOTO_SESSION_STRATEGY;
|
|
945
|
+
maxInputLength: number;
|
|
932
946
|
params: {
|
|
933
947
|
imageAttachment: {
|
|
934
948
|
supported: boolean;
|
|
935
949
|
maxImages: number;
|
|
936
950
|
acceptedTypes: string[];
|
|
937
951
|
};
|
|
952
|
+
aspectRatio: Record<string, {
|
|
953
|
+
width: number;
|
|
954
|
+
height: number;
|
|
955
|
+
}>;
|
|
938
956
|
};
|
|
957
|
+
pricingRules: {
|
|
958
|
+
condition: {
|
|
959
|
+
withoutSub?: boolean | undefined;
|
|
960
|
+
};
|
|
961
|
+
value: number;
|
|
962
|
+
}[];
|
|
939
963
|
createdAt: Date;
|
|
940
964
|
updatedAt: Date;
|
|
941
965
|
}[];
|
|
942
|
-
|
|
966
|
+
styles: {
|
|
943
967
|
uuid: string;
|
|
944
|
-
|
|
968
|
+
code: string;
|
|
945
969
|
title: string;
|
|
946
|
-
|
|
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: {
|
|
990
|
+
uuid: string;
|
|
991
|
+
title: string;
|
|
992
|
+
description: string;
|
|
993
|
+
aiModel: string;
|
|
994
|
+
price: number;
|
|
947
995
|
order: number;
|
|
948
996
|
status: import("../..").TOOL_MODEL_STATUS;
|
|
949
997
|
icons: {
|
|
@@ -955,18 +1003,23 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
955
1003
|
svg: string;
|
|
956
1004
|
png: string;
|
|
957
1005
|
};
|
|
958
|
-
}
|
|
1006
|
+
};
|
|
1007
|
+
maxPromptLength: number;
|
|
1008
|
+
params: {
|
|
1009
|
+
imageAttachment: {
|
|
1010
|
+
supported: boolean;
|
|
1011
|
+
maxImages: number;
|
|
1012
|
+
acceptedTypes: string[];
|
|
1013
|
+
};
|
|
1014
|
+
};
|
|
959
1015
|
createdAt: Date;
|
|
960
1016
|
updatedAt: Date;
|
|
961
1017
|
}[];
|
|
962
|
-
|
|
963
|
-
SOUND_GENERATION: {
|
|
964
|
-
models: {
|
|
1018
|
+
categories: {
|
|
965
1019
|
uuid: string;
|
|
1020
|
+
parentId: string | null;
|
|
966
1021
|
title: string;
|
|
967
|
-
|
|
968
|
-
aiModel: string;
|
|
969
|
-
pricePerSecond: number;
|
|
1022
|
+
systemPrompt: string;
|
|
970
1023
|
order: number;
|
|
971
1024
|
status: import("../..").TOOL_MODEL_STATUS;
|
|
972
1025
|
icons: {
|
|
@@ -978,16 +1031,7 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
978
1031
|
svg: string;
|
|
979
1032
|
png: string;
|
|
980
1033
|
};
|
|
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
|
-
};
|
|
1034
|
+
} | null;
|
|
991
1035
|
createdAt: Date;
|
|
992
1036
|
updatedAt: Date;
|
|
993
1037
|
}[];
|
|
@@ -1536,6 +1580,7 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
1536
1580
|
};
|
|
1537
1581
|
strategy?: string | undefined;
|
|
1538
1582
|
maxInputLength: number;
|
|
1583
|
+
maxSpeakers: number;
|
|
1539
1584
|
voices: {
|
|
1540
1585
|
id: string;
|
|
1541
1586
|
externalId: string;
|
|
@@ -1636,6 +1681,16 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
1636
1681
|
createdAt: Date;
|
|
1637
1682
|
updatedAt: Date;
|
|
1638
1683
|
}[];
|
|
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;
|
|
1639
1694
|
};
|
|
1640
1695
|
SPEECH_TO_TEXT: {
|
|
1641
1696
|
models: {
|
|
@@ -1895,13 +1950,15 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
1895
1950
|
}[];
|
|
1896
1951
|
maxAttachmentsCount: number;
|
|
1897
1952
|
};
|
|
1898
|
-
|
|
1953
|
+
PHOTO_SESSIONS: {
|
|
1899
1954
|
models: {
|
|
1900
1955
|
uuid: string;
|
|
1901
1956
|
title: string;
|
|
1902
1957
|
description: string;
|
|
1903
1958
|
aiModel: string;
|
|
1904
|
-
|
|
1959
|
+
isNew: boolean;
|
|
1960
|
+
tierLabel: string;
|
|
1961
|
+
pricePerImage: number;
|
|
1905
1962
|
order: number;
|
|
1906
1963
|
status: import("../..").TOOL_MODEL_STATUS;
|
|
1907
1964
|
icons: {
|
|
@@ -1914,22 +1971,57 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
1914
1971
|
png: string;
|
|
1915
1972
|
};
|
|
1916
1973
|
};
|
|
1917
|
-
|
|
1974
|
+
strategy: import("../..").PHOTO_SESSION_STRATEGY;
|
|
1975
|
+
maxInputLength: number;
|
|
1918
1976
|
params: {
|
|
1919
1977
|
imageAttachment: {
|
|
1920
1978
|
supported: boolean;
|
|
1921
1979
|
maxImages: number;
|
|
1922
1980
|
acceptedTypes: string[];
|
|
1923
1981
|
};
|
|
1982
|
+
aspectRatio: Record<string, {
|
|
1983
|
+
width: number;
|
|
1984
|
+
height: number;
|
|
1985
|
+
}>;
|
|
1924
1986
|
};
|
|
1987
|
+
pricingRules: {
|
|
1988
|
+
condition: {
|
|
1989
|
+
withoutSub?: boolean | undefined;
|
|
1990
|
+
};
|
|
1991
|
+
value: number;
|
|
1992
|
+
}[];
|
|
1925
1993
|
createdAt: Date;
|
|
1926
1994
|
updatedAt: Date;
|
|
1927
1995
|
}[];
|
|
1928
|
-
|
|
1996
|
+
styles: {
|
|
1929
1997
|
uuid: string;
|
|
1930
|
-
|
|
1998
|
+
code: string;
|
|
1931
1999
|
title: string;
|
|
1932
|
-
|
|
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: {
|
|
2020
|
+
uuid: string;
|
|
2021
|
+
title: string;
|
|
2022
|
+
description: string;
|
|
2023
|
+
aiModel: string;
|
|
2024
|
+
price: number;
|
|
1933
2025
|
order: number;
|
|
1934
2026
|
status: import("../..").TOOL_MODEL_STATUS;
|
|
1935
2027
|
icons: {
|
|
@@ -1941,18 +2033,23 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
1941
2033
|
svg: string;
|
|
1942
2034
|
png: string;
|
|
1943
2035
|
};
|
|
1944
|
-
}
|
|
2036
|
+
};
|
|
2037
|
+
maxPromptLength: number;
|
|
2038
|
+
params: {
|
|
2039
|
+
imageAttachment: {
|
|
2040
|
+
supported: boolean;
|
|
2041
|
+
maxImages: number;
|
|
2042
|
+
acceptedTypes: string[];
|
|
2043
|
+
};
|
|
2044
|
+
};
|
|
1945
2045
|
createdAt: Date;
|
|
1946
2046
|
updatedAt: Date;
|
|
1947
2047
|
}[];
|
|
1948
|
-
|
|
1949
|
-
SOUND_GENERATION: {
|
|
1950
|
-
models: {
|
|
2048
|
+
categories: {
|
|
1951
2049
|
uuid: string;
|
|
2050
|
+
parentId: string | null;
|
|
1952
2051
|
title: string;
|
|
1953
|
-
|
|
1954
|
-
aiModel: string;
|
|
1955
|
-
pricePerSecond: number;
|
|
2052
|
+
systemPrompt: string;
|
|
1956
2053
|
order: number;
|
|
1957
2054
|
status: import("../..").TOOL_MODEL_STATUS;
|
|
1958
2055
|
icons: {
|
|
@@ -1964,16 +2061,7 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
1964
2061
|
svg: string;
|
|
1965
2062
|
png: string;
|
|
1966
2063
|
};
|
|
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
|
-
};
|
|
2064
|
+
} | null;
|
|
1977
2065
|
createdAt: Date;
|
|
1978
2066
|
updatedAt: Date;
|
|
1979
2067
|
}[];
|
|
@@ -657,6 +657,7 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
657
657
|
};
|
|
658
658
|
strategy?: string | undefined;
|
|
659
659
|
maxInputLength: number;
|
|
660
|
+
maxSpeakers: number;
|
|
660
661
|
voices: {
|
|
661
662
|
id: string;
|
|
662
663
|
externalId: string;
|
|
@@ -757,6 +758,16 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
757
758
|
createdAt: Date;
|
|
758
759
|
updatedAt: Date;
|
|
759
760
|
}[];
|
|
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;
|
|
760
771
|
};
|
|
761
772
|
} | {
|
|
762
773
|
uuid: string;
|
|
@@ -1163,50 +1174,6 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
1163
1174
|
updatedAt: Date;
|
|
1164
1175
|
}[];
|
|
1165
1176
|
};
|
|
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
|
-
};
|
|
1210
1177
|
})[], unknown, z.core.$ZodTypeInternals<({
|
|
1211
1178
|
uuid: string;
|
|
1212
1179
|
title: string;
|
|
@@ -1858,6 +1825,7 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
1858
1825
|
};
|
|
1859
1826
|
strategy?: string | undefined;
|
|
1860
1827
|
maxInputLength: number;
|
|
1828
|
+
maxSpeakers: number;
|
|
1861
1829
|
voices: {
|
|
1862
1830
|
id: string;
|
|
1863
1831
|
externalId: string;
|
|
@@ -1958,6 +1926,16 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
1958
1926
|
createdAt: Date;
|
|
1959
1927
|
updatedAt: Date;
|
|
1960
1928
|
}[];
|
|
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;
|
|
1961
1939
|
};
|
|
1962
1940
|
} | {
|
|
1963
1941
|
uuid: string;
|
|
@@ -2364,50 +2342,6 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
2364
2342
|
updatedAt: Date;
|
|
2365
2343
|
}[];
|
|
2366
2344
|
};
|
|
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
|
-
};
|
|
2411
2345
|
})[], unknown>>>;
|
|
2412
2346
|
code: z.ZodOptional<z.ZodString>;
|
|
2413
2347
|
message: z.ZodOptional<z.ZodString>;
|