@purpleschool/gptbot-tools 0.2.72-stage2 → 0.2.73
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/index.d.ts +0 -3
- package/build/index.js +0 -3
- package/build/music/commands/add-track-to-music-playlist.command.d.ts +822 -82
- package/build/music/commands/create-music-playlist.command.d.ts +822 -82
- package/build/music/commands/edit-music.command.d.ts +817 -77
- package/build/music/commands/generate-music.command.d.ts +811 -71
- package/build/music/commands/remove-track-from-music-playlist.command.d.ts +822 -82
- package/build/music/commands/retry-music-job.command.d.ts +811 -71
- package/build/music/commands/set-reaction-to-music-job.command.d.ts +811 -71
- package/build/music/commands/update-music-job-favorite.command.d.ts +811 -71
- package/build/music/commands/update-music-job-title.command.d.ts +811 -71
- package/build/music/commands/update-music-playlist.command.d.ts +822 -82
- package/build/music/commands/update-published-status-music-jobs.command.d.ts +811 -71
- package/build/music/models/music-job.schema.d.ts +386 -16
- package/build/music/models/music-job.schema.js +35 -6
- package/build/music/models/music-playlist.schema.d.ts +386 -16
- package/build/music/queries/find-music-job-by-id.query.d.ts +811 -71
- package/build/music/queries/find-music-jobs.query.d.ts +818 -78
- package/build/music/queries/find-music-playlists.query.d.ts +827 -87
- package/build/tools/enums/tool-content-type.enum.d.ts +0 -1
- package/build/tools/enums/tool-content-type.enum.js +0 -1
- package/build/tools/enums/tool-type.enum.d.ts +0 -1
- package/build/tools/enums/tool-type.enum.js +0 -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 +0 -76
- package/build/tools/models/global-tools-config.schema.js +0 -2
- 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 +0 -22
- package/build/tools/queries/get-global-tools-config.query.d.ts +0 -152
- package/build/tools/queries/get-tools-with-configs.query.d.ts +0 -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/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/index.js +0 -19
- 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.d.ts +0 -17
- 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.d.ts +0 -16
- 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 -74
- package/build/photo-sessions/commands/get-photo-sessions-price.command.js +0 -28
- 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 -272
- package/build/photo-sessions/commands/photo-sessions.command.js +0 -37
- package/build/photo-sessions/commands/retry-photo-sessions-job.command.d.ts +0 -179
- package/build/photo-sessions/commands/retry-photo-sessions-job.command.js +0 -17
- package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.d.ts +0 -181
- package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.js +0 -27
- package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.d.ts +0 -179
- 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 -217
- 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 -184
- 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/index.js +0 -19
- package/build/photo-sessions/enums/photo-session-group-status.enum.d.ts +0 -6
- package/build/photo-sessions/enums/photo-session-group-status.enum.js +0 -10
- 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/index.d.ts +0 -5
- package/build/photo-sessions/index.js +0 -21
- package/build/photo-sessions/models/index.d.ts +0 -5
- package/build/photo-sessions/models/index.js +0 -21
- 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 -113
- package/build/photo-sessions/models/photo-session-group.schema.js +0 -27
- package/build/photo-sessions/models/photo-session-job.schema.d.ts +0 -159
- package/build/photo-sessions/models/photo-session-job.schema.js +0 -55
- 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 -216
- 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 -235
- 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/index.js +0 -18
- 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.d.ts +0 -22
- 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
|
@@ -16,7 +16,6 @@ export declare enum TOOL_CONTENT_TYPE {
|
|
|
16
16
|
SPELL_CORRECTOR = "SPELL_CORRECTOR",
|
|
17
17
|
DIAGRAMS = "DIAGRAMS",
|
|
18
18
|
HTML_PAGE_BUILDER = "HTML_PAGE_BUILDER",
|
|
19
|
-
PHOTO_SESSIONS = "PHOTO_SESSIONS",
|
|
20
19
|
IMAGE_RECOGNITION = "IMAGE_RECOGNITION",
|
|
21
20
|
SOUND_GENERATION = "SOUND_GENERATION"
|
|
22
21
|
}
|
|
@@ -20,7 +20,6 @@ var TOOL_CONTENT_TYPE;
|
|
|
20
20
|
TOOL_CONTENT_TYPE["SPELL_CORRECTOR"] = "SPELL_CORRECTOR";
|
|
21
21
|
TOOL_CONTENT_TYPE["DIAGRAMS"] = "DIAGRAMS";
|
|
22
22
|
TOOL_CONTENT_TYPE["HTML_PAGE_BUILDER"] = "HTML_PAGE_BUILDER";
|
|
23
|
-
TOOL_CONTENT_TYPE["PHOTO_SESSIONS"] = "PHOTO_SESSIONS";
|
|
24
23
|
TOOL_CONTENT_TYPE["IMAGE_RECOGNITION"] = "IMAGE_RECOGNITION";
|
|
25
24
|
TOOL_CONTENT_TYPE["SOUND_GENERATION"] = "SOUND_GENERATION";
|
|
26
25
|
})(TOOL_CONTENT_TYPE || (exports.TOOL_CONTENT_TYPE = TOOL_CONTENT_TYPE = {}));
|
|
@@ -18,7 +18,6 @@ export declare enum TOOL_TYPE {
|
|
|
18
18
|
SOLVING_EDU_TASK = "SOLVING_EDU_TASK",
|
|
19
19
|
DIAGRAMS = "DIAGRAMS",
|
|
20
20
|
HTML_PAGE_BUILDER = "HTML_PAGE_BUILDER",
|
|
21
|
-
PHOTO_SESSION = "PHOTO_SESSION",
|
|
22
21
|
IMAGE_RECOGNITION = "IMAGE_RECOGNITION",
|
|
23
22
|
SOUND_GENERATION = "SOUND_GENERATION"
|
|
24
23
|
}
|
|
@@ -22,7 +22,6 @@ var TOOL_TYPE;
|
|
|
22
22
|
TOOL_TYPE["SOLVING_EDU_TASK"] = "SOLVING_EDU_TASK";
|
|
23
23
|
TOOL_TYPE["DIAGRAMS"] = "DIAGRAMS";
|
|
24
24
|
TOOL_TYPE["HTML_PAGE_BUILDER"] = "HTML_PAGE_BUILDER";
|
|
25
|
-
TOOL_TYPE["PHOTO_SESSION"] = "PHOTO_SESSION";
|
|
26
25
|
TOOL_TYPE["IMAGE_RECOGNITION"] = "IMAGE_RECOGNITION";
|
|
27
26
|
TOOL_TYPE["SOUND_GENERATION"] = "SOUND_GENERATION";
|
|
28
27
|
})(TOOL_TYPE || (exports.TOOL_TYPE = TOOL_TYPE = {}));
|
|
@@ -9,7 +9,6 @@ export declare namespace ToolJobCompleteEvent {
|
|
|
9
9
|
unregisteredUserId: z.ZodNullable<z.ZodString>;
|
|
10
10
|
price: z.ZodNumber;
|
|
11
11
|
tokenReservationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
13
12
|
createdAt: z.ZodDate;
|
|
14
13
|
updatedAt: z.ZodDate;
|
|
15
14
|
toolType: z.ZodEnum<typeof TOOL_TYPE>;
|
|
@@ -8,7 +8,6 @@ export declare namespace ToolJobFailedEvent {
|
|
|
8
8
|
unregisteredUserId: z.ZodNullable<z.ZodString>;
|
|
9
9
|
price: z.ZodNumber;
|
|
10
10
|
tokenReservationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
-
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
12
11
|
createdAt: z.ZodDate;
|
|
13
12
|
updatedAt: z.ZodDate;
|
|
14
13
|
toolType: z.ZodEnum<typeof TOOL_TYPE>;
|
|
@@ -544,7 +544,6 @@ export declare const GlobalToolsConfigSchema: z.ZodObject<{
|
|
|
544
544
|
}, z.core.$strip>;
|
|
545
545
|
strategy: z.ZodOptional<z.ZodString>;
|
|
546
546
|
maxInputLength: z.ZodNumber;
|
|
547
|
-
maxSpeakers: z.ZodNumber;
|
|
548
547
|
voices: z.ZodArray<z.ZodObject<{
|
|
549
548
|
id: z.ZodString;
|
|
550
549
|
externalId: z.ZodString;
|
|
@@ -645,16 +644,6 @@ export declare const GlobalToolsConfigSchema: z.ZodObject<{
|
|
|
645
644
|
createdAt: z.ZodDate;
|
|
646
645
|
updatedAt: z.ZodDate;
|
|
647
646
|
}, z.core.$strip>>;
|
|
648
|
-
tags: z.ZodArray<z.ZodObject<{
|
|
649
|
-
id: z.ZodEnum<typeof import("../..").VOICE_TAG>;
|
|
650
|
-
group: z.ZodEnum<typeof import("../..").VOICE_TAG_GROUP>;
|
|
651
|
-
label: z.ZodString;
|
|
652
|
-
}, z.core.$strip>>;
|
|
653
|
-
categories: z.ZodArray<z.ZodObject<{
|
|
654
|
-
id: z.ZodEnum<typeof import("../..").VOICE_CATEGORY>;
|
|
655
|
-
label: z.ZodString;
|
|
656
|
-
}, z.core.$strip>>;
|
|
657
|
-
speakerMarkerLabel: z.ZodString;
|
|
658
647
|
}, z.core.$strip>;
|
|
659
648
|
SPEECH_TO_TEXT: z.ZodObject<{
|
|
660
649
|
models: z.ZodArray<z.ZodObject<{
|
|
@@ -920,71 +909,6 @@ export declare const GlobalToolsConfigSchema: z.ZodObject<{
|
|
|
920
909
|
}, z.core.$strip>>;
|
|
921
910
|
maxAttachmentsCount: z.ZodNumber;
|
|
922
911
|
}, z.core.$strip>;
|
|
923
|
-
PHOTO_SESSIONS: z.ZodObject<{
|
|
924
|
-
models: z.ZodArray<z.ZodObject<{
|
|
925
|
-
uuid: z.ZodString;
|
|
926
|
-
title: z.ZodString;
|
|
927
|
-
description: z.ZodString;
|
|
928
|
-
aiModel: z.ZodString;
|
|
929
|
-
isNew: z.ZodBoolean;
|
|
930
|
-
tierLabel: z.ZodString;
|
|
931
|
-
pricePerImage: z.ZodNumber;
|
|
932
|
-
order: z.ZodNumber;
|
|
933
|
-
status: z.ZodEnum<typeof import("../..").TOOL_MODEL_STATUS>;
|
|
934
|
-
icons: z.ZodObject<{
|
|
935
|
-
light: z.ZodObject<{
|
|
936
|
-
svg: z.ZodString;
|
|
937
|
-
png: z.ZodString;
|
|
938
|
-
}, z.core.$strip>;
|
|
939
|
-
dark: z.ZodObject<{
|
|
940
|
-
svg: z.ZodString;
|
|
941
|
-
png: z.ZodString;
|
|
942
|
-
}, z.core.$strip>;
|
|
943
|
-
}, z.core.$strip>;
|
|
944
|
-
strategy: z.ZodEnum<typeof import("../..").PHOTO_SESSION_STRATEGY>;
|
|
945
|
-
maxInputLength: z.ZodNumber;
|
|
946
|
-
params: z.ZodObject<{
|
|
947
|
-
imageAttachment: z.ZodObject<{
|
|
948
|
-
supported: z.ZodBoolean;
|
|
949
|
-
maxImages: z.ZodNumber;
|
|
950
|
-
acceptedTypes: z.ZodArray<z.ZodString>;
|
|
951
|
-
}, z.core.$strip>;
|
|
952
|
-
aspectRatio: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
953
|
-
width: z.ZodNumber;
|
|
954
|
-
height: z.ZodNumber;
|
|
955
|
-
}, z.core.$strip>>;
|
|
956
|
-
}, z.core.$strip>;
|
|
957
|
-
pricingRules: z.ZodArray<z.ZodObject<{
|
|
958
|
-
condition: z.ZodObject<{
|
|
959
|
-
withoutSub: z.ZodOptional<z.ZodBoolean>;
|
|
960
|
-
}, z.core.$strip>;
|
|
961
|
-
value: z.ZodNumber;
|
|
962
|
-
}, z.core.$strip>>;
|
|
963
|
-
createdAt: z.ZodCoercedDate<unknown>;
|
|
964
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
965
|
-
}, z.core.$strip>>;
|
|
966
|
-
styles: z.ZodArray<z.ZodObject<{
|
|
967
|
-
uuid: z.ZodString;
|
|
968
|
-
code: z.ZodString;
|
|
969
|
-
title: z.ZodString;
|
|
970
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
971
|
-
references: z.ZodArray<z.ZodObject<{
|
|
972
|
-
uuid: z.ZodString;
|
|
973
|
-
styleId: z.ZodString;
|
|
974
|
-
photoUrl: z.ZodString;
|
|
975
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
976
|
-
order: z.ZodNumber;
|
|
977
|
-
createdAt: z.ZodCoercedDate<unknown>;
|
|
978
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
979
|
-
}, z.core.$strip>>;
|
|
980
|
-
createdAt: z.ZodCoercedDate<unknown>;
|
|
981
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
982
|
-
}, z.core.$strip>>;
|
|
983
|
-
looks: z.ZodArray<z.ZodObject<{
|
|
984
|
-
type: z.ZodEnum<typeof import("../..").PHOTO_SESSION_LOOK_TYPE>;
|
|
985
|
-
maxPhotos: z.ZodNumber;
|
|
986
|
-
}, z.core.$strip>>;
|
|
987
|
-
}, z.core.$strip>;
|
|
988
912
|
IMAGE_RECOGNITION: z.ZodObject<{
|
|
989
913
|
models: z.ZodArray<z.ZodObject<{
|
|
990
914
|
uuid: z.ZodString;
|
|
@@ -19,7 +19,6 @@ const solving_edu_task_1 = require("../../solving-edu-task");
|
|
|
19
19
|
const spell_corrector_1 = require("../../spell-corrector");
|
|
20
20
|
const diagrams_1 = require("../../diagrams");
|
|
21
21
|
const models_2 = require("../../html-page-builder/models");
|
|
22
|
-
const photo_sessions_1 = require("../../photo-sessions");
|
|
23
22
|
const image_recognition_1 = require("../../image-recognition");
|
|
24
23
|
const sound_generation_1 = require("../../sound-generation");
|
|
25
24
|
exports.GlobalToolsConfigSchema = zod_1.z.object({
|
|
@@ -39,7 +38,6 @@ exports.GlobalToolsConfigSchema = zod_1.z.object({
|
|
|
39
38
|
[enums_1.TOOL_CONTENT_TYPE.SPELL_CORRECTOR]: spell_corrector_1.SpellCorrectorToolConfigSchema,
|
|
40
39
|
[enums_1.TOOL_CONTENT_TYPE.DIAGRAMS]: diagrams_1.DiagramsConfigSchema,
|
|
41
40
|
[enums_1.TOOL_CONTENT_TYPE.HTML_PAGE_BUILDER]: models_2.HtmlPageBuilderConfigSchema,
|
|
42
|
-
[enums_1.TOOL_CONTENT_TYPE.PHOTO_SESSIONS]: photo_sessions_1.PhotoSessionConfigSchema,
|
|
43
41
|
[enums_1.TOOL_CONTENT_TYPE.IMAGE_RECOGNITION]: image_recognition_1.ImageRecognitionConfigSchema,
|
|
44
42
|
[enums_1.TOOL_CONTENT_TYPE.SOUND_GENERATION]: sound_generation_1.SoundGenerationConfigSchema,
|
|
45
43
|
});
|
|
@@ -5,7 +5,6 @@ export declare const ToolJobSchema: z.ZodObject<{
|
|
|
5
5
|
unregisteredUserId: z.ZodNullable<z.ZodString>;
|
|
6
6
|
price: z.ZodNumber;
|
|
7
7
|
tokenReservationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
-
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
9
8
|
createdAt: z.ZodDate;
|
|
10
9
|
updatedAt: z.ZodDate;
|
|
11
10
|
}, z.core.$strip>;
|
|
@@ -8,7 +8,6 @@ exports.ToolJobSchema = zod_1.z.object({
|
|
|
8
8
|
unregisteredUserId: zod_1.z.string().nullable(),
|
|
9
9
|
price: zod_1.z.number(),
|
|
10
10
|
tokenReservationId: zod_1.z.string().nullable().optional(),
|
|
11
|
-
idempotencyKey: zod_1.z.string().optional(),
|
|
12
11
|
createdAt: zod_1.z.date(),
|
|
13
12
|
updatedAt: zod_1.z.date(),
|
|
14
13
|
});
|
|
@@ -652,7 +652,6 @@ export declare const ToolWithConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
652
652
|
}, z.core.$strip>;
|
|
653
653
|
strategy: z.ZodOptional<z.ZodString>;
|
|
654
654
|
maxInputLength: z.ZodNumber;
|
|
655
|
-
maxSpeakers: z.ZodNumber;
|
|
656
655
|
voices: z.ZodArray<z.ZodObject<{
|
|
657
656
|
id: z.ZodString;
|
|
658
657
|
externalId: z.ZodString;
|
|
@@ -753,16 +752,6 @@ export declare const ToolWithConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
753
752
|
createdAt: z.ZodDate;
|
|
754
753
|
updatedAt: z.ZodDate;
|
|
755
754
|
}, z.core.$strip>>;
|
|
756
|
-
tags: z.ZodArray<z.ZodObject<{
|
|
757
|
-
id: z.ZodEnum<typeof import("../..").VOICE_TAG>;
|
|
758
|
-
group: z.ZodEnum<typeof import("../..").VOICE_TAG_GROUP>;
|
|
759
|
-
label: z.ZodString;
|
|
760
|
-
}, z.core.$strip>>;
|
|
761
|
-
categories: z.ZodArray<z.ZodObject<{
|
|
762
|
-
id: z.ZodEnum<typeof import("../..").VOICE_CATEGORY>;
|
|
763
|
-
label: z.ZodString;
|
|
764
|
-
}, z.core.$strip>>;
|
|
765
|
-
speakerMarkerLabel: z.ZodString;
|
|
766
755
|
}, z.core.$strip>;
|
|
767
756
|
}, z.core.$strip>, z.ZodObject<{
|
|
768
757
|
uuid: z.ZodString;
|
|
@@ -1873,7 +1862,6 @@ export declare const ToolsWithConfigsSchema: z.ZodArray<z.ZodDiscriminatedUnion<
|
|
|
1873
1862
|
}, z.core.$strip>;
|
|
1874
1863
|
strategy: z.ZodOptional<z.ZodString>;
|
|
1875
1864
|
maxInputLength: z.ZodNumber;
|
|
1876
|
-
maxSpeakers: z.ZodNumber;
|
|
1877
1865
|
voices: z.ZodArray<z.ZodObject<{
|
|
1878
1866
|
id: z.ZodString;
|
|
1879
1867
|
externalId: z.ZodString;
|
|
@@ -1974,16 +1962,6 @@ export declare const ToolsWithConfigsSchema: z.ZodArray<z.ZodDiscriminatedUnion<
|
|
|
1974
1962
|
createdAt: z.ZodDate;
|
|
1975
1963
|
updatedAt: z.ZodDate;
|
|
1976
1964
|
}, z.core.$strip>>;
|
|
1977
|
-
tags: z.ZodArray<z.ZodObject<{
|
|
1978
|
-
id: z.ZodEnum<typeof import("../..").VOICE_TAG>;
|
|
1979
|
-
group: z.ZodEnum<typeof import("../..").VOICE_TAG_GROUP>;
|
|
1980
|
-
label: z.ZodString;
|
|
1981
|
-
}, z.core.$strip>>;
|
|
1982
|
-
categories: z.ZodArray<z.ZodObject<{
|
|
1983
|
-
id: z.ZodEnum<typeof import("../..").VOICE_CATEGORY>;
|
|
1984
|
-
label: z.ZodString;
|
|
1985
|
-
}, z.core.$strip>>;
|
|
1986
|
-
speakerMarkerLabel: z.ZodString;
|
|
1987
1965
|
}, z.core.$strip>;
|
|
1988
1966
|
}, z.core.$strip>, z.ZodObject<{
|
|
1989
1967
|
uuid: z.ZodString;
|
|
@@ -551,7 +551,6 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
551
551
|
};
|
|
552
552
|
strategy?: string | undefined;
|
|
553
553
|
maxInputLength: number;
|
|
554
|
-
maxSpeakers: number;
|
|
555
554
|
voices: {
|
|
556
555
|
id: string;
|
|
557
556
|
externalId: string;
|
|
@@ -652,16 +651,6 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
652
651
|
createdAt: Date;
|
|
653
652
|
updatedAt: Date;
|
|
654
653
|
}[];
|
|
655
|
-
tags: {
|
|
656
|
-
id: import("../..").VOICE_TAG;
|
|
657
|
-
group: import("../..").VOICE_TAG_GROUP;
|
|
658
|
-
label: string;
|
|
659
|
-
}[];
|
|
660
|
-
categories: {
|
|
661
|
-
id: import("../..").VOICE_CATEGORY;
|
|
662
|
-
label: string;
|
|
663
|
-
}[];
|
|
664
|
-
speakerMarkerLabel: string;
|
|
665
654
|
};
|
|
666
655
|
SPEECH_TO_TEXT: {
|
|
667
656
|
models: {
|
|
@@ -927,71 +916,6 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
927
916
|
}[];
|
|
928
917
|
maxAttachmentsCount: number;
|
|
929
918
|
};
|
|
930
|
-
PHOTO_SESSIONS: {
|
|
931
|
-
models: {
|
|
932
|
-
uuid: string;
|
|
933
|
-
title: string;
|
|
934
|
-
description: string;
|
|
935
|
-
aiModel: string;
|
|
936
|
-
isNew: boolean;
|
|
937
|
-
tierLabel: string;
|
|
938
|
-
pricePerImage: number;
|
|
939
|
-
order: number;
|
|
940
|
-
status: import("../..").TOOL_MODEL_STATUS;
|
|
941
|
-
icons: {
|
|
942
|
-
light: {
|
|
943
|
-
svg: string;
|
|
944
|
-
png: string;
|
|
945
|
-
};
|
|
946
|
-
dark: {
|
|
947
|
-
svg: string;
|
|
948
|
-
png: string;
|
|
949
|
-
};
|
|
950
|
-
};
|
|
951
|
-
strategy: import("../..").PHOTO_SESSION_STRATEGY;
|
|
952
|
-
maxInputLength: number;
|
|
953
|
-
params: {
|
|
954
|
-
imageAttachment: {
|
|
955
|
-
supported: boolean;
|
|
956
|
-
maxImages: number;
|
|
957
|
-
acceptedTypes: string[];
|
|
958
|
-
};
|
|
959
|
-
aspectRatio: Record<string, {
|
|
960
|
-
width: number;
|
|
961
|
-
height: number;
|
|
962
|
-
}>;
|
|
963
|
-
};
|
|
964
|
-
pricingRules: {
|
|
965
|
-
condition: {
|
|
966
|
-
withoutSub?: boolean | undefined;
|
|
967
|
-
};
|
|
968
|
-
value: number;
|
|
969
|
-
}[];
|
|
970
|
-
createdAt: Date;
|
|
971
|
-
updatedAt: Date;
|
|
972
|
-
}[];
|
|
973
|
-
styles: {
|
|
974
|
-
uuid: string;
|
|
975
|
-
code: string;
|
|
976
|
-
title: string;
|
|
977
|
-
description?: string | null | undefined;
|
|
978
|
-
references: {
|
|
979
|
-
uuid: string;
|
|
980
|
-
styleId: string;
|
|
981
|
-
photoUrl: string;
|
|
982
|
-
description?: string | null | undefined;
|
|
983
|
-
order: number;
|
|
984
|
-
createdAt: Date;
|
|
985
|
-
updatedAt: Date;
|
|
986
|
-
}[];
|
|
987
|
-
createdAt: Date;
|
|
988
|
-
updatedAt: Date;
|
|
989
|
-
}[];
|
|
990
|
-
looks: {
|
|
991
|
-
type: import("../..").PHOTO_SESSION_LOOK_TYPE;
|
|
992
|
-
maxPhotos: number;
|
|
993
|
-
}[];
|
|
994
|
-
};
|
|
995
919
|
IMAGE_RECOGNITION: {
|
|
996
920
|
models: {
|
|
997
921
|
uuid: string;
|
|
@@ -1620,7 +1544,6 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
1620
1544
|
};
|
|
1621
1545
|
strategy?: string | undefined;
|
|
1622
1546
|
maxInputLength: number;
|
|
1623
|
-
maxSpeakers: number;
|
|
1624
1547
|
voices: {
|
|
1625
1548
|
id: string;
|
|
1626
1549
|
externalId: string;
|
|
@@ -1721,16 +1644,6 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
1721
1644
|
createdAt: Date;
|
|
1722
1645
|
updatedAt: Date;
|
|
1723
1646
|
}[];
|
|
1724
|
-
tags: {
|
|
1725
|
-
id: import("../..").VOICE_TAG;
|
|
1726
|
-
group: import("../..").VOICE_TAG_GROUP;
|
|
1727
|
-
label: string;
|
|
1728
|
-
}[];
|
|
1729
|
-
categories: {
|
|
1730
|
-
id: import("../..").VOICE_CATEGORY;
|
|
1731
|
-
label: string;
|
|
1732
|
-
}[];
|
|
1733
|
-
speakerMarkerLabel: string;
|
|
1734
1647
|
};
|
|
1735
1648
|
SPEECH_TO_TEXT: {
|
|
1736
1649
|
models: {
|
|
@@ -1996,71 +1909,6 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
1996
1909
|
}[];
|
|
1997
1910
|
maxAttachmentsCount: number;
|
|
1998
1911
|
};
|
|
1999
|
-
PHOTO_SESSIONS: {
|
|
2000
|
-
models: {
|
|
2001
|
-
uuid: string;
|
|
2002
|
-
title: string;
|
|
2003
|
-
description: string;
|
|
2004
|
-
aiModel: string;
|
|
2005
|
-
isNew: boolean;
|
|
2006
|
-
tierLabel: string;
|
|
2007
|
-
pricePerImage: number;
|
|
2008
|
-
order: number;
|
|
2009
|
-
status: import("../..").TOOL_MODEL_STATUS;
|
|
2010
|
-
icons: {
|
|
2011
|
-
light: {
|
|
2012
|
-
svg: string;
|
|
2013
|
-
png: string;
|
|
2014
|
-
};
|
|
2015
|
-
dark: {
|
|
2016
|
-
svg: string;
|
|
2017
|
-
png: string;
|
|
2018
|
-
};
|
|
2019
|
-
};
|
|
2020
|
-
strategy: import("../..").PHOTO_SESSION_STRATEGY;
|
|
2021
|
-
maxInputLength: number;
|
|
2022
|
-
params: {
|
|
2023
|
-
imageAttachment: {
|
|
2024
|
-
supported: boolean;
|
|
2025
|
-
maxImages: number;
|
|
2026
|
-
acceptedTypes: string[];
|
|
2027
|
-
};
|
|
2028
|
-
aspectRatio: Record<string, {
|
|
2029
|
-
width: number;
|
|
2030
|
-
height: number;
|
|
2031
|
-
}>;
|
|
2032
|
-
};
|
|
2033
|
-
pricingRules: {
|
|
2034
|
-
condition: {
|
|
2035
|
-
withoutSub?: boolean | undefined;
|
|
2036
|
-
};
|
|
2037
|
-
value: number;
|
|
2038
|
-
}[];
|
|
2039
|
-
createdAt: Date;
|
|
2040
|
-
updatedAt: Date;
|
|
2041
|
-
}[];
|
|
2042
|
-
styles: {
|
|
2043
|
-
uuid: string;
|
|
2044
|
-
code: string;
|
|
2045
|
-
title: string;
|
|
2046
|
-
description?: string | null | undefined;
|
|
2047
|
-
references: {
|
|
2048
|
-
uuid: string;
|
|
2049
|
-
styleId: string;
|
|
2050
|
-
photoUrl: string;
|
|
2051
|
-
description?: string | null | undefined;
|
|
2052
|
-
order: number;
|
|
2053
|
-
createdAt: Date;
|
|
2054
|
-
updatedAt: Date;
|
|
2055
|
-
}[];
|
|
2056
|
-
createdAt: Date;
|
|
2057
|
-
updatedAt: Date;
|
|
2058
|
-
}[];
|
|
2059
|
-
looks: {
|
|
2060
|
-
type: import("../..").PHOTO_SESSION_LOOK_TYPE;
|
|
2061
|
-
maxPhotos: number;
|
|
2062
|
-
}[];
|
|
2063
|
-
};
|
|
2064
1912
|
IMAGE_RECOGNITION: {
|
|
2065
1913
|
models: {
|
|
2066
1914
|
uuid: string;
|
|
@@ -658,7 +658,6 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
658
658
|
};
|
|
659
659
|
strategy?: string | undefined;
|
|
660
660
|
maxInputLength: number;
|
|
661
|
-
maxSpeakers: number;
|
|
662
661
|
voices: {
|
|
663
662
|
id: string;
|
|
664
663
|
externalId: string;
|
|
@@ -759,16 +758,6 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
759
758
|
createdAt: Date;
|
|
760
759
|
updatedAt: Date;
|
|
761
760
|
}[];
|
|
762
|
-
tags: {
|
|
763
|
-
id: import("../..").VOICE_TAG;
|
|
764
|
-
group: import("../..").VOICE_TAG_GROUP;
|
|
765
|
-
label: string;
|
|
766
|
-
}[];
|
|
767
|
-
categories: {
|
|
768
|
-
id: import("../..").VOICE_CATEGORY;
|
|
769
|
-
label: string;
|
|
770
|
-
}[];
|
|
771
|
-
speakerMarkerLabel: string;
|
|
772
761
|
};
|
|
773
762
|
} | {
|
|
774
763
|
uuid: string;
|
|
@@ -1877,7 +1866,6 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
1877
1866
|
};
|
|
1878
1867
|
strategy?: string | undefined;
|
|
1879
1868
|
maxInputLength: number;
|
|
1880
|
-
maxSpeakers: number;
|
|
1881
1869
|
voices: {
|
|
1882
1870
|
id: string;
|
|
1883
1871
|
externalId: string;
|
|
@@ -1978,16 +1966,6 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
1978
1966
|
createdAt: Date;
|
|
1979
1967
|
updatedAt: Date;
|
|
1980
1968
|
}[];
|
|
1981
|
-
tags: {
|
|
1982
|
-
id: import("../..").VOICE_TAG;
|
|
1983
|
-
group: import("../..").VOICE_TAG_GROUP;
|
|
1984
|
-
label: string;
|
|
1985
|
-
}[];
|
|
1986
|
-
categories: {
|
|
1987
|
-
id: import("../..").VOICE_CATEGORY;
|
|
1988
|
-
label: string;
|
|
1989
|
-
}[];
|
|
1990
|
-
speakerMarkerLabel: string;
|
|
1991
1969
|
};
|
|
1992
1970
|
} | {
|
|
1993
1971
|
uuid: string;
|
|
@@ -6,10 +6,3 @@ export * from './tts.command';
|
|
|
6
6
|
export * from './get-tts-price.command';
|
|
7
7
|
export * from './update-tts-job-title.command';
|
|
8
8
|
export * from './update-tts-job-favorite.command';
|
|
9
|
-
export * from './create-voice-clone.command';
|
|
10
|
-
export * from './create-voice-design.command';
|
|
11
|
-
export * from './select-voice-design.command';
|
|
12
|
-
export * from './update-voice.command';
|
|
13
|
-
export * from './delete-voice.command';
|
|
14
|
-
export * from './improve-tts-text.command';
|
|
15
|
-
export * from './download-tts-job.command';
|
|
@@ -22,10 +22,3 @@ __exportStar(require("./tts.command"), exports);
|
|
|
22
22
|
__exportStar(require("./get-tts-price.command"), exports);
|
|
23
23
|
__exportStar(require("./update-tts-job-title.command"), exports);
|
|
24
24
|
__exportStar(require("./update-tts-job-favorite.command"), exports);
|
|
25
|
-
__exportStar(require("./create-voice-clone.command"), exports);
|
|
26
|
-
__exportStar(require("./create-voice-design.command"), exports);
|
|
27
|
-
__exportStar(require("./select-voice-design.command"), exports);
|
|
28
|
-
__exportStar(require("./update-voice.command"), exports);
|
|
29
|
-
__exportStar(require("./delete-voice.command"), exports);
|
|
30
|
-
__exportStar(require("./improve-tts-text.command"), exports);
|
|
31
|
-
__exportStar(require("./download-tts-job.command"), exports);
|
|
@@ -4,7 +4,6 @@ export declare namespace RetryTTSJobCommand {
|
|
|
4
4
|
uuid: z.ZodString;
|
|
5
5
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
6
|
unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
-
locale: z.ZodOptional<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>>;
|
|
8
7
|
tokenReservationId: z.ZodString;
|
|
9
8
|
precalculatedPrice: z.ZodNumber;
|
|
10
9
|
mock: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -22,22 +21,9 @@ export declare namespace RetryTTSJobCommand {
|
|
|
22
21
|
status: import("../..").JOB_STATUS;
|
|
23
22
|
error: string | null;
|
|
24
23
|
modelId: string;
|
|
25
|
-
voiceId: string
|
|
26
|
-
isDialog: boolean;
|
|
27
|
-
speakers: {
|
|
28
|
-
speaker: number;
|
|
29
|
-
voiceId: string;
|
|
30
|
-
}[];
|
|
31
|
-
voices: {
|
|
32
|
-
uuid: string;
|
|
33
|
-
title: string;
|
|
34
|
-
previewUrl: string;
|
|
35
|
-
isDeleted: boolean;
|
|
36
|
-
speaker: number | null;
|
|
37
|
-
}[];
|
|
24
|
+
voiceId: string;
|
|
38
25
|
price: number;
|
|
39
26
|
duration: number;
|
|
40
|
-
scope: import("../..").JOB_SCOPE;
|
|
41
27
|
userId: string | null;
|
|
42
28
|
unregisteredUserId: string | null;
|
|
43
29
|
tokenReservationId?: string | null | undefined;
|
|
@@ -66,22 +52,9 @@ export declare namespace RetryTTSJobCommand {
|
|
|
66
52
|
status: import("../..").JOB_STATUS;
|
|
67
53
|
error: string | null;
|
|
68
54
|
modelId: string;
|
|
69
|
-
voiceId: string
|
|
70
|
-
isDialog: boolean;
|
|
71
|
-
speakers: {
|
|
72
|
-
speaker: number;
|
|
73
|
-
voiceId: string;
|
|
74
|
-
}[];
|
|
75
|
-
voices: {
|
|
76
|
-
uuid: string;
|
|
77
|
-
title: string;
|
|
78
|
-
previewUrl: string;
|
|
79
|
-
isDeleted: boolean;
|
|
80
|
-
speaker: number | null;
|
|
81
|
-
}[];
|
|
55
|
+
voiceId: string;
|
|
82
56
|
price: number;
|
|
83
57
|
duration: number;
|
|
84
|
-
scope: import("../..").JOB_SCOPE;
|
|
85
58
|
userId: string | null;
|
|
86
59
|
unregisteredUserId: string | null;
|
|
87
60
|
tokenReservationId?: string | null | undefined;
|
|
@@ -4,14 +4,12 @@ exports.RetryTTSJobCommand = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const command_response_schema_1 = require("../../common/models/command-response.schema");
|
|
6
6
|
const tts_job_schema_1 = require("../models/tts-job.schema");
|
|
7
|
-
const common_1 = require("../../common");
|
|
8
7
|
var RetryTTSJobCommand;
|
|
9
8
|
(function (RetryTTSJobCommand) {
|
|
10
9
|
RetryTTSJobCommand.RequestSchema = zod_1.z.object({
|
|
11
10
|
uuid: zod_1.z.string().uuid(),
|
|
12
11
|
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
13
12
|
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
14
|
-
locale: common_1.LocaleSchema.optional(),
|
|
15
13
|
tokenReservationId: zod_1.z.string().uuid(),
|
|
16
14
|
precalculatedPrice: zod_1.z.number(),
|
|
17
15
|
mock: zod_1.z.boolean().optional(),
|
|
@@ -4,7 +4,6 @@ export declare namespace SetReactionToTTSJobCommand {
|
|
|
4
4
|
const RequestSchema: z.ZodObject<{
|
|
5
5
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
6
|
unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
-
locale: z.ZodOptional<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>>;
|
|
8
7
|
uuid: z.ZodString;
|
|
9
8
|
reaction: z.ZodNullable<z.ZodEnum<typeof USER_REACTION>>;
|
|
10
9
|
dislikeReason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -22,22 +21,9 @@ export declare namespace SetReactionToTTSJobCommand {
|
|
|
22
21
|
status: import("../..").JOB_STATUS;
|
|
23
22
|
error: string | null;
|
|
24
23
|
modelId: string;
|
|
25
|
-
voiceId: string
|
|
26
|
-
isDialog: boolean;
|
|
27
|
-
speakers: {
|
|
28
|
-
speaker: number;
|
|
29
|
-
voiceId: string;
|
|
30
|
-
}[];
|
|
31
|
-
voices: {
|
|
32
|
-
uuid: string;
|
|
33
|
-
title: string;
|
|
34
|
-
previewUrl: string;
|
|
35
|
-
isDeleted: boolean;
|
|
36
|
-
speaker: number | null;
|
|
37
|
-
}[];
|
|
24
|
+
voiceId: string;
|
|
38
25
|
price: number;
|
|
39
26
|
duration: number;
|
|
40
|
-
scope: import("../..").JOB_SCOPE;
|
|
41
27
|
userId: string | null;
|
|
42
28
|
unregisteredUserId: string | null;
|
|
43
29
|
tokenReservationId?: string | null | undefined;
|
|
@@ -66,22 +52,9 @@ export declare namespace SetReactionToTTSJobCommand {
|
|
|
66
52
|
status: import("../..").JOB_STATUS;
|
|
67
53
|
error: string | null;
|
|
68
54
|
modelId: string;
|
|
69
|
-
voiceId: string
|
|
70
|
-
isDialog: boolean;
|
|
71
|
-
speakers: {
|
|
72
|
-
speaker: number;
|
|
73
|
-
voiceId: string;
|
|
74
|
-
}[];
|
|
75
|
-
voices: {
|
|
76
|
-
uuid: string;
|
|
77
|
-
title: string;
|
|
78
|
-
previewUrl: string;
|
|
79
|
-
isDeleted: boolean;
|
|
80
|
-
speaker: number | null;
|
|
81
|
-
}[];
|
|
55
|
+
voiceId: string;
|
|
82
56
|
price: number;
|
|
83
57
|
duration: number;
|
|
84
|
-
scope: import("../..").JOB_SCOPE;
|
|
85
58
|
userId: string | null;
|
|
86
59
|
unregisteredUserId: string | null;
|
|
87
60
|
tokenReservationId?: string | null | undefined;
|
|
@@ -11,7 +11,6 @@ var SetReactionToTTSJobCommand;
|
|
|
11
11
|
.object({
|
|
12
12
|
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
13
13
|
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
14
|
-
locale: common_1.LocaleSchema.optional(),
|
|
15
14
|
uuid: zod_1.z.string().uuid(),
|
|
16
15
|
reaction: zod_1.z.nativeEnum(common_1.USER_REACTION).nullable(),
|
|
17
16
|
dislikeReason: zod_1.z.string().nullable().default(null),
|