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