@purpleschool/gptbot 0.15.66 → 0.15.68
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/chat-private.d.ts +2 -0
- package/build/api/controllers/http/chat-private.js +2 -0
- package/build/api/controllers/http/chat-public.d.ts +2 -0
- package/build/api/controllers/http/chat-public.js +2 -0
- package/build/api/controllers/http/files.d.ts +0 -1
- package/build/api/controllers/http/files.js +0 -1
- package/build/api/routes.d.ts +4 -1
- package/build/api/routes.js +4 -1
- package/build/commands/avatar-studio/clip/create-avatar-studio-clip.command.d.ts +0 -6
- package/build/commands/avatar-studio/clip/find-avatar-studio-clips.query.d.ts +0 -6
- package/build/commands/avatar-studio/clip/get-avatar-studio-clip.query.d.ts +0 -6
- package/build/commands/avatar-studio/clip/update-avatar-studio-clip.command.d.ts +0 -6
- package/build/commands/avatar-studio/export-job/find-avatar-studio-export-jobs.query.d.ts +0 -1
- package/build/commands/avatar-studio/export-job/get-avatar-studio-export-job.query.d.ts +0 -1
- package/build/commands/avatar-studio/export-job/start-avatar-studio-export.command.d.ts +0 -1
- package/build/commands/avatar-studio/generation-job/find-avatar-studio-generation-jobs.query.d.ts +0 -1
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-frame.command.d.ts +0 -1
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-image.command.d.ts +0 -1
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-video.command.d.ts +0 -1
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-voice.command.d.ts +0 -1
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-talking-avatar.command.d.ts +0 -1
- package/build/commands/avatar-studio/generation-job/get-avatar-studio-generation-job.query.d.ts +0 -1
- package/build/commands/avatar-studio/media/create-avatar-studio-media-from-file.command.d.ts +0 -1
- package/build/commands/avatar-studio/media/find-avatar-studio-media.query.d.ts +0 -1
- package/build/commands/avatar-studio/media/update-avatar-studio-media.command.d.ts +0 -1
- package/build/commands/avatar-studio/scene/apply-avatar-studio-voice-sample-to-all-scenes.command.d.ts +0 -6
- package/build/commands/avatar-studio/scene/create-avatar-studio-scene.command.d.ts +0 -3
- package/build/commands/avatar-studio/scene/reorder-avatar-studio-scenes.command.d.ts +0 -3
- package/build/commands/avatar-studio/scene/set-avatar-studio-scene-slot.command.d.ts +0 -3
- package/build/commands/avatar-studio/scene/update-avatar-studio-scene.command.d.ts +0 -3
- package/build/commands/avatar-studio/scriptwriter/apply-avatar-studio-scriptwriter-message.command.d.ts +0 -3
- package/build/commands/avatar-studio/voice/design-avatar-studio-voice.command.d.ts +0 -1
- package/build/commands/b2b/upload-b2b-file.command.d.ts +0 -1
- package/build/commands/chat/create-chat.command.d.ts +0 -1
- package/build/commands/chat/detach-chat-file.command.d.ts +9 -0
- package/build/commands/chat/detach-chat-file.command.js +14 -0
- package/build/commands/chat/find-chat-by-uuid.command.d.ts +0 -1
- package/build/commands/{file/calculate-file-cost.command.d.ts → chat/get-active-chat-files.command.d.ts} +4 -10
- package/build/commands/chat/get-active-chat-files.command.js +14 -0
- package/build/commands/chat/get-last-active-chat-command.d.ts +0 -1
- package/build/commands/chat/index.d.ts +2 -0
- package/build/commands/chat/index.js +2 -0
- package/build/commands/file/index.d.ts +0 -1
- package/build/commands/file/index.js +0 -1
- package/build/commands/file/upload.command.d.ts +1 -4
- package/build/commands/file/upload.command.js +1 -3
- package/build/commands/message/create-text-message.command.d.ts +0 -1
- package/build/commands/message/create-text-message.command.js +1 -1
- package/build/commands/message/find-message-by-uuid.command.d.ts +0 -1
- package/build/commands/message/rate-message.command.d.ts +0 -1
- package/build/commands/tools/music/add-track-to-music-playlist.command.d.ts +326 -12
- package/build/commands/tools/music/create-music-playlist.command.d.ts +326 -12
- package/build/commands/tools/music/edit-music.command.d.ts +326 -12
- package/build/commands/tools/music/find-music-job-by-uuid.command.d.ts +326 -12
- package/build/commands/tools/music/find-music-jobs.command.d.ts +326 -12
- package/build/commands/tools/music/find-music-playlists.command.d.ts +326 -12
- package/build/commands/tools/music/generate-music.command.d.ts +326 -12
- package/build/commands/tools/music/remove-track-from-music-playlist.command.d.ts +326 -12
- package/build/commands/tools/music/retry-music-job.command.d.ts +326 -12
- package/build/commands/tools/music/set-reaction-to-music-job.command.d.ts +326 -12
- package/build/commands/tools/music/update-music-job-favorite.command.d.ts +326 -12
- package/build/commands/tools/music/update-music-job-title.command.d.ts +326 -12
- package/build/commands/tools/music/update-music-playlist.command.d.ts +326 -12
- package/build/constants/b2b/enums/b2b-usage-operation.enum.d.ts +2 -1
- package/build/constants/b2b/enums/b2b-usage-operation.enum.js +1 -0
- package/build/models/avatar-studio/avatar-studio.schema.d.ts +0 -13
- package/build/models/b2b/b2b-file-upload-response.schema.d.ts +0 -2
- package/build/models/chat-with-messages.schema.d.ts +0 -1
- package/build/models/file.schema.d.ts +0 -1
- package/build/models/file.schema.js +0 -1
- package/build/models/message.schema.d.ts +0 -1
- package/build/models/tools/music/music-job.schema.d.ts +326 -12
- package/build/models/tools/music/music-job.schema.js +35 -6
- package/build/models/tools/music/music-playlist.schema.d.ts +326 -12
- package/package.json +1 -1
- package/build/commands/file/calculate-file-cost.command.js +0 -17
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DetachChatFileCommand = void 0;
|
|
4
|
+
const models_1 = require("../../models");
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
var DetachChatFileCommand;
|
|
7
|
+
(function (DetachChatFileCommand) {
|
|
8
|
+
DetachChatFileCommand.RequestParamsSchema = models_1.ChatSchema.pick({
|
|
9
|
+
uuid: true,
|
|
10
|
+
}).extend({
|
|
11
|
+
fileId: models_1.FileSchema.shape.uuid,
|
|
12
|
+
});
|
|
13
|
+
DetachChatFileCommand.ResponseSchema = zod_1.z.void();
|
|
14
|
+
})(DetachChatFileCommand || (exports.DetachChatFileCommand = DetachChatFileCommand = {}));
|
|
@@ -43,7 +43,6 @@ export declare namespace FindChatByUUIDCommand {
|
|
|
43
43
|
key: z.ZodString;
|
|
44
44
|
type: z.ZodEnum<typeof import("../..").FILE_TYPE>;
|
|
45
45
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
46
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
47
46
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
48
47
|
createdAt: z.ZodDate;
|
|
49
48
|
updatedAt: z.ZodDate;
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare namespace
|
|
3
|
-
const
|
|
2
|
+
export declare namespace GetActiveChatFilesCommand {
|
|
3
|
+
const RequestParamsSchema: z.ZodObject<{
|
|
4
4
|
uuid: z.ZodString;
|
|
5
5
|
}, z.core.$strip>;
|
|
6
|
-
type RequestParam = z.infer<typeof RequestParamSchema>;
|
|
7
|
-
const RequestSchema: z.ZodObject<{
|
|
8
|
-
modelId: z.ZodString;
|
|
9
|
-
}, z.core.$strip>;
|
|
10
|
-
type Request = z.infer<typeof RequestSchema>;
|
|
11
6
|
const ResponseSchema: z.ZodObject<{
|
|
12
|
-
data: z.ZodObject<{
|
|
7
|
+
data: z.ZodArray<z.ZodObject<{
|
|
13
8
|
uuid: z.ZodString;
|
|
14
9
|
name: z.ZodString;
|
|
15
10
|
size: z.ZodNumber;
|
|
@@ -23,11 +18,10 @@ export declare namespace CalculateFileCostCommand {
|
|
|
23
18
|
key: z.ZodString;
|
|
24
19
|
type: z.ZodEnum<typeof import("../..").FILE_TYPE>;
|
|
25
20
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
26
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
27
21
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
28
22
|
createdAt: z.ZodDate;
|
|
29
23
|
updatedAt: z.ZodDate;
|
|
30
|
-
}, z.core.$strip
|
|
24
|
+
}, z.core.$strip>>;
|
|
31
25
|
}, z.core.$strip>;
|
|
32
26
|
type Response = z.infer<typeof ResponseSchema>;
|
|
33
27
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetActiveChatFilesCommand = void 0;
|
|
4
|
+
const models_1 = require("../../models");
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
var GetActiveChatFilesCommand;
|
|
7
|
+
(function (GetActiveChatFilesCommand) {
|
|
8
|
+
GetActiveChatFilesCommand.RequestParamsSchema = models_1.ChatSchema.pick({
|
|
9
|
+
uuid: true,
|
|
10
|
+
});
|
|
11
|
+
GetActiveChatFilesCommand.ResponseSchema = zod_1.z.object({
|
|
12
|
+
data: zod_1.z.array(models_1.FileSchema),
|
|
13
|
+
});
|
|
14
|
+
})(GetActiveChatFilesCommand || (exports.GetActiveChatFilesCommand = GetActiveChatFilesCommand = {}));
|
|
@@ -42,7 +42,6 @@ export declare namespace GetLastActiveChatCommand {
|
|
|
42
42
|
key: z.ZodString;
|
|
43
43
|
type: z.ZodEnum<typeof import("../..").FILE_TYPE>;
|
|
44
44
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
45
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
46
45
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
47
46
|
createdAt: z.ZodDate;
|
|
48
47
|
updatedAt: z.ZodDate;
|
|
@@ -4,9 +4,11 @@ export * from './check-limit.command';
|
|
|
4
4
|
export * from './compact-chat.command';
|
|
5
5
|
export * from './create-chat.command';
|
|
6
6
|
export * from './delete-chat.command';
|
|
7
|
+
export * from './detach-chat-file.command';
|
|
7
8
|
export * from './find-chat-by-uuid.command';
|
|
8
9
|
export * from './find-chats.command';
|
|
9
10
|
export * from './get-chats-config.command';
|
|
11
|
+
export * from './get-active-chat-files.command';
|
|
10
12
|
export * from './get-input-limits.command';
|
|
11
13
|
export * from './get-last-active-chat-command';
|
|
12
14
|
export * from './update-chat.command';
|
|
@@ -20,9 +20,11 @@ __exportStar(require("./check-limit.command"), exports);
|
|
|
20
20
|
__exportStar(require("./compact-chat.command"), exports);
|
|
21
21
|
__exportStar(require("./create-chat.command"), exports);
|
|
22
22
|
__exportStar(require("./delete-chat.command"), exports);
|
|
23
|
+
__exportStar(require("./detach-chat-file.command"), exports);
|
|
23
24
|
__exportStar(require("./find-chat-by-uuid.command"), exports);
|
|
24
25
|
__exportStar(require("./find-chats.command"), exports);
|
|
25
26
|
__exportStar(require("./get-chats-config.command"), exports);
|
|
27
|
+
__exportStar(require("./get-active-chat-files.command"), exports);
|
|
26
28
|
__exportStar(require("./get-input-limits.command"), exports);
|
|
27
29
|
__exportStar(require("./get-last-active-chat-command"), exports);
|
|
28
30
|
__exportStar(require("./update-chat.command"), exports);
|
|
@@ -16,4 +16,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./delete-user-file.command"), exports);
|
|
18
18
|
__exportStar(require("./upload.command"), exports);
|
|
19
|
-
__exportStar(require("./calculate-file-cost.command"), exports);
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare namespace UploadFileCommand {
|
|
3
|
-
const RequestSchema: z.ZodObject<{
|
|
4
|
-
modelId: z.ZodOptional<z.ZodString>;
|
|
5
|
-
}, z.core.$strip>;
|
|
3
|
+
const RequestSchema: z.ZodObject<{}, z.core.$strip>;
|
|
6
4
|
type Request = z.infer<typeof RequestSchema>;
|
|
7
5
|
const ResponseSchema: z.ZodObject<{
|
|
8
6
|
data: z.ZodObject<{
|
|
@@ -19,7 +17,6 @@ export declare namespace UploadFileCommand {
|
|
|
19
17
|
key: z.ZodString;
|
|
20
18
|
type: z.ZodEnum<typeof import("../..").FILE_TYPE>;
|
|
21
19
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
22
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
23
20
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
24
21
|
createdAt: z.ZodDate;
|
|
25
22
|
updatedAt: z.ZodDate;
|
|
@@ -5,9 +5,7 @@ const models_1 = require("../../models");
|
|
|
5
5
|
const zod_1 = require("zod");
|
|
6
6
|
var UploadFileCommand;
|
|
7
7
|
(function (UploadFileCommand) {
|
|
8
|
-
UploadFileCommand.RequestSchema = zod_1.z.object({
|
|
9
|
-
modelId: zod_1.z.string().uuid().optional(),
|
|
10
|
-
});
|
|
8
|
+
UploadFileCommand.RequestSchema = zod_1.z.object({});
|
|
11
9
|
UploadFileCommand.ResponseSchema = zod_1.z.object({
|
|
12
10
|
data: models_1.FileSchema,
|
|
13
11
|
});
|
|
@@ -34,7 +34,6 @@ export declare namespace CreateTextMessageCommand {
|
|
|
34
34
|
key: z.ZodString;
|
|
35
35
|
type: z.ZodEnum<typeof import("../..").FILE_TYPE>;
|
|
36
36
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
37
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
38
37
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
39
38
|
createdAt: z.ZodDate;
|
|
40
39
|
updatedAt: z.ZodDate;
|
|
@@ -7,7 +7,7 @@ const zod_1 = require("zod");
|
|
|
7
7
|
var CreateTextMessageCommand;
|
|
8
8
|
(function (CreateTextMessageCommand) {
|
|
9
9
|
CreateTextMessageCommand.RequestSchema = zod_1.z.object({
|
|
10
|
-
text: zod_1.z.string(),
|
|
10
|
+
text: zod_1.z.string().min(1),
|
|
11
11
|
files: zod_1.z.array(zod_1.z.string().uuid()).optional().default([]),
|
|
12
12
|
features: zod_1.z.array(zod_1.z.nativeEnum(constants_1.AI_MODEL_FEATURE)).optional().default([]),
|
|
13
13
|
aiModelId: zod_1.z.string().uuid(),
|
|
@@ -27,7 +27,6 @@ export declare namespace FindMessageByUUIDCommand {
|
|
|
27
27
|
key: z.ZodString;
|
|
28
28
|
type: z.ZodEnum<typeof import("../..").FILE_TYPE>;
|
|
29
29
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
30
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
31
30
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
32
31
|
createdAt: z.ZodDate;
|
|
33
32
|
updatedAt: z.ZodDate;
|
|
@@ -30,7 +30,6 @@ export declare namespace RateMessageCommand {
|
|
|
30
30
|
key: z.ZodString;
|
|
31
31
|
type: z.ZodEnum<typeof import("../..").FILE_TYPE>;
|
|
32
32
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
33
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
34
33
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
35
34
|
createdAt: z.ZodDate;
|
|
36
35
|
updatedAt: z.ZodDate;
|
|
@@ -12,14 +12,13 @@ export declare namespace AddTrackToMusicPlaylistCommand {
|
|
|
12
12
|
data: z.ZodObject<{
|
|
13
13
|
uuid: z.ZodString;
|
|
14
14
|
title: z.ZodString;
|
|
15
|
-
jobs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15
|
+
jobs: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
16
16
|
uuid: z.ZodString;
|
|
17
17
|
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
18
18
|
error: z.ZodNullable<z.ZodString>;
|
|
19
19
|
isFavorite: z.ZodBoolean;
|
|
20
20
|
createdAt: z.ZodDate;
|
|
21
21
|
updatedAt: z.ZodDate;
|
|
22
|
-
actionType: z.ZodUnion<readonly [z.ZodEnum<typeof import("../../..").MUSIC_GENERATION_ACTION_TYPE>, z.ZodEnum<typeof import("../../..").MUSIC_AUDIO_ACTION_TYPE>]>;
|
|
23
22
|
lyrics: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
23
|
title: z.ZodString;
|
|
25
24
|
prompt: z.ZodString;
|
|
@@ -49,7 +48,124 @@ export declare namespace AddTrackToMusicPlaylistCommand {
|
|
|
49
48
|
createdAt: z.ZodDate;
|
|
50
49
|
updatedAt: z.ZodDate;
|
|
51
50
|
}, z.core.$strip>>;
|
|
52
|
-
|
|
51
|
+
externalId: z.ZodNullable<z.ZodString>;
|
|
52
|
+
modelId: z.ZodString;
|
|
53
|
+
actionType: z.ZodLiteral<import("../../..").MUSIC_GENERATION_ACTION_TYPE.GENERATE>;
|
|
54
|
+
params: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
55
|
+
mode: z.ZodLiteral<import("../../..").SUNO_MODE_TYPE.SIMPLE>;
|
|
56
|
+
prompt: z.ZodString;
|
|
57
|
+
style: z.ZodString;
|
|
58
|
+
vocalGender: z.ZodEnum<typeof import("../../..").MUSIC_VOCAL_GENDER>;
|
|
59
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
60
|
+
mode: z.ZodLiteral<import("../../..").SUNO_MODE_TYPE.SIMPLE_INSTRUMENTAL>;
|
|
61
|
+
prompt: z.ZodString;
|
|
62
|
+
style: z.ZodString;
|
|
63
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
64
|
+
mode: z.ZodLiteral<import("../../..").SUNO_MODE_TYPE.CUSTOM>;
|
|
65
|
+
prompt: z.ZodString;
|
|
66
|
+
style: z.ZodString;
|
|
67
|
+
vocalGender: z.ZodEnum<typeof import("../../..").MUSIC_VOCAL_GENDER>;
|
|
68
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
69
|
+
mode: z.ZodLiteral<import("../../..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL>;
|
|
70
|
+
style: z.ZodString;
|
|
71
|
+
}, z.core.$strip>], "mode">;
|
|
72
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
73
|
+
uuid: z.ZodString;
|
|
74
|
+
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
75
|
+
error: z.ZodNullable<z.ZodString>;
|
|
76
|
+
isFavorite: z.ZodBoolean;
|
|
77
|
+
createdAt: z.ZodDate;
|
|
78
|
+
updatedAt: z.ZodDate;
|
|
79
|
+
lyrics: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
80
|
+
title: z.ZodString;
|
|
81
|
+
prompt: z.ZodString;
|
|
82
|
+
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
83
|
+
tracks: z.ZodArray<z.ZodObject<{
|
|
84
|
+
uuid: z.ZodString;
|
|
85
|
+
title: z.ZodString;
|
|
86
|
+
audioId: z.ZodString;
|
|
87
|
+
audioUrl: z.ZodString;
|
|
88
|
+
audioFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
89
|
+
uuid: z.ZodString;
|
|
90
|
+
originalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
91
|
+
mimeType: z.ZodString;
|
|
92
|
+
url: z.ZodString;
|
|
93
|
+
duration: z.ZodNullable<z.ZodNumber>;
|
|
94
|
+
}, z.core.$strip>>>;
|
|
95
|
+
coverUrl: z.ZodString;
|
|
96
|
+
prompt: z.ZodNullable<z.ZodString>;
|
|
97
|
+
fullLyrics: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
98
|
+
tags: z.ZodString;
|
|
99
|
+
duration: z.ZodNumber;
|
|
100
|
+
isPublished: z.ZodOptional<z.ZodBoolean>;
|
|
101
|
+
postId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
102
|
+
waveformPeaks: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
103
|
+
genJobId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
104
|
+
editorJobId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
105
|
+
createdAt: z.ZodDate;
|
|
106
|
+
updatedAt: z.ZodDate;
|
|
107
|
+
}, z.core.$strip>>;
|
|
108
|
+
externalId: z.ZodNullable<z.ZodString>;
|
|
109
|
+
modelId: z.ZodString;
|
|
110
|
+
actionType: z.ZodLiteral<import("../../..").MUSIC_GENERATION_ACTION_TYPE.GIFT>;
|
|
111
|
+
params: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
112
|
+
mode: z.ZodLiteral<import("../../..").SUNO_MODE_TYPE.SIMPLE>;
|
|
113
|
+
prompt: z.ZodString;
|
|
114
|
+
style: z.ZodString;
|
|
115
|
+
vocalGender: z.ZodEnum<typeof import("../../..").MUSIC_VOCAL_GENDER>;
|
|
116
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
117
|
+
mode: z.ZodLiteral<import("../../..").SUNO_MODE_TYPE.SIMPLE_INSTRUMENTAL>;
|
|
118
|
+
prompt: z.ZodString;
|
|
119
|
+
style: z.ZodString;
|
|
120
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
121
|
+
mode: z.ZodLiteral<import("../../..").SUNO_MODE_TYPE.CUSTOM>;
|
|
122
|
+
prompt: z.ZodString;
|
|
123
|
+
style: z.ZodString;
|
|
124
|
+
vocalGender: z.ZodEnum<typeof import("../../..").MUSIC_VOCAL_GENDER>;
|
|
125
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
126
|
+
mode: z.ZodLiteral<import("../../..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL>;
|
|
127
|
+
style: z.ZodString;
|
|
128
|
+
}, z.core.$strip>], "mode">;
|
|
129
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
130
|
+
uuid: z.ZodString;
|
|
131
|
+
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
132
|
+
error: z.ZodNullable<z.ZodString>;
|
|
133
|
+
isFavorite: z.ZodBoolean;
|
|
134
|
+
createdAt: z.ZodDate;
|
|
135
|
+
updatedAt: z.ZodDate;
|
|
136
|
+
lyrics: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
137
|
+
title: z.ZodString;
|
|
138
|
+
prompt: z.ZodString;
|
|
139
|
+
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
140
|
+
tracks: z.ZodArray<z.ZodObject<{
|
|
141
|
+
uuid: z.ZodString;
|
|
142
|
+
title: z.ZodString;
|
|
143
|
+
audioId: z.ZodString;
|
|
144
|
+
audioUrl: z.ZodString;
|
|
145
|
+
audioFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
146
|
+
uuid: z.ZodString;
|
|
147
|
+
originalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
148
|
+
mimeType: z.ZodString;
|
|
149
|
+
url: z.ZodString;
|
|
150
|
+
duration: z.ZodNullable<z.ZodNumber>;
|
|
151
|
+
}, z.core.$strip>>>;
|
|
152
|
+
coverUrl: z.ZodString;
|
|
153
|
+
prompt: z.ZodNullable<z.ZodString>;
|
|
154
|
+
fullLyrics: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
155
|
+
tags: z.ZodString;
|
|
156
|
+
duration: z.ZodNumber;
|
|
157
|
+
isPublished: z.ZodOptional<z.ZodBoolean>;
|
|
158
|
+
postId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
159
|
+
waveformPeaks: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
160
|
+
genJobId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
161
|
+
editorJobId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
162
|
+
createdAt: z.ZodDate;
|
|
163
|
+
updatedAt: z.ZodDate;
|
|
164
|
+
}, z.core.$strip>>;
|
|
165
|
+
externalId: z.ZodNullable<z.ZodString>;
|
|
166
|
+
modelId: z.ZodString;
|
|
167
|
+
actionType: z.ZodLiteral<import("../../..").MUSIC_GENERATION_ACTION_TYPE.BACKGROUND>;
|
|
168
|
+
params: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
53
169
|
mode: z.ZodLiteral<import("../../..").SUNO_MODE_TYPE.SIMPLE>;
|
|
54
170
|
prompt: z.ZodString;
|
|
55
171
|
style: z.ZodString;
|
|
@@ -66,11 +182,91 @@ export declare namespace AddTrackToMusicPlaylistCommand {
|
|
|
66
182
|
}, z.core.$strip>, z.ZodObject<{
|
|
67
183
|
mode: z.ZodLiteral<import("../../..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL>;
|
|
68
184
|
style: z.ZodString;
|
|
69
|
-
}, z.core.$strip>], "mode"
|
|
185
|
+
}, z.core.$strip>], "mode">;
|
|
186
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
187
|
+
uuid: z.ZodString;
|
|
188
|
+
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
189
|
+
error: z.ZodNullable<z.ZodString>;
|
|
190
|
+
isFavorite: z.ZodBoolean;
|
|
191
|
+
createdAt: z.ZodDate;
|
|
192
|
+
updatedAt: z.ZodDate;
|
|
193
|
+
lyrics: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
194
|
+
title: z.ZodString;
|
|
195
|
+
prompt: z.ZodString;
|
|
196
|
+
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
197
|
+
tracks: z.ZodArray<z.ZodObject<{
|
|
198
|
+
uuid: z.ZodString;
|
|
199
|
+
title: z.ZodString;
|
|
200
|
+
audioId: z.ZodString;
|
|
201
|
+
audioUrl: z.ZodString;
|
|
202
|
+
audioFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
203
|
+
uuid: z.ZodString;
|
|
204
|
+
originalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
205
|
+
mimeType: z.ZodString;
|
|
206
|
+
url: z.ZodString;
|
|
207
|
+
duration: z.ZodNullable<z.ZodNumber>;
|
|
208
|
+
}, z.core.$strip>>>;
|
|
209
|
+
coverUrl: z.ZodString;
|
|
210
|
+
prompt: z.ZodNullable<z.ZodString>;
|
|
211
|
+
fullLyrics: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
212
|
+
tags: z.ZodString;
|
|
213
|
+
duration: z.ZodNumber;
|
|
214
|
+
isPublished: z.ZodOptional<z.ZodBoolean>;
|
|
215
|
+
postId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
216
|
+
waveformPeaks: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
217
|
+
genJobId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
218
|
+
editorJobId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
219
|
+
createdAt: z.ZodDate;
|
|
220
|
+
updatedAt: z.ZodDate;
|
|
221
|
+
}, z.core.$strip>>;
|
|
222
|
+
externalId: z.ZodNullable<z.ZodString>;
|
|
223
|
+
modelId: z.ZodString;
|
|
224
|
+
actionType: z.ZodLiteral<import("../../..").MUSIC_GENERATION_ACTION_TYPE.GENERATE_LYRICS>;
|
|
225
|
+
params: z.ZodObject<{
|
|
70
226
|
prompt: z.ZodString;
|
|
71
227
|
style: z.ZodOptional<z.ZodString>;
|
|
72
228
|
structure: z.ZodEnum<typeof import("../../..").MUSIC_LYRICS_STRUCTURE>;
|
|
73
|
-
}, z.core.$strip
|
|
229
|
+
}, z.core.$strip>;
|
|
230
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
231
|
+
uuid: z.ZodString;
|
|
232
|
+
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
233
|
+
error: z.ZodNullable<z.ZodString>;
|
|
234
|
+
isFavorite: z.ZodBoolean;
|
|
235
|
+
createdAt: z.ZodDate;
|
|
236
|
+
updatedAt: z.ZodDate;
|
|
237
|
+
lyrics: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
238
|
+
title: z.ZodString;
|
|
239
|
+
prompt: z.ZodString;
|
|
240
|
+
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
241
|
+
tracks: z.ZodArray<z.ZodObject<{
|
|
242
|
+
uuid: z.ZodString;
|
|
243
|
+
title: z.ZodString;
|
|
244
|
+
audioId: z.ZodString;
|
|
245
|
+
audioUrl: z.ZodString;
|
|
246
|
+
audioFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
247
|
+
uuid: z.ZodString;
|
|
248
|
+
originalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
249
|
+
mimeType: z.ZodString;
|
|
250
|
+
url: z.ZodString;
|
|
251
|
+
duration: z.ZodNullable<z.ZodNumber>;
|
|
252
|
+
}, z.core.$strip>>>;
|
|
253
|
+
coverUrl: z.ZodString;
|
|
254
|
+
prompt: z.ZodNullable<z.ZodString>;
|
|
255
|
+
fullLyrics: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
256
|
+
tags: z.ZodString;
|
|
257
|
+
duration: z.ZodNumber;
|
|
258
|
+
isPublished: z.ZodOptional<z.ZodBoolean>;
|
|
259
|
+
postId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
260
|
+
waveformPeaks: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
261
|
+
genJobId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
262
|
+
editorJobId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
263
|
+
createdAt: z.ZodDate;
|
|
264
|
+
updatedAt: z.ZodDate;
|
|
265
|
+
}, z.core.$strip>>;
|
|
266
|
+
externalId: z.ZodNullable<z.ZodString>;
|
|
267
|
+
modelId: z.ZodString;
|
|
268
|
+
actionType: z.ZodLiteral<import("../../..").MUSIC_AUDIO_ACTION_TYPE.COVER>;
|
|
269
|
+
params: z.ZodObject<{
|
|
74
270
|
audioId: z.ZodString;
|
|
75
271
|
style: z.ZodString;
|
|
76
272
|
prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -78,7 +274,47 @@ export declare namespace AddTrackToMusicPlaylistCommand {
|
|
|
78
274
|
negativeTags: z.ZodOptional<z.ZodString>;
|
|
79
275
|
vocalGender: z.ZodOptional<z.ZodEnum<typeof import("../../..").MUSIC_VOCAL_GENDER>>;
|
|
80
276
|
instrumental: z.ZodOptional<z.ZodBoolean>;
|
|
81
|
-
}, z.core.$strip
|
|
277
|
+
}, z.core.$strip>;
|
|
278
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
279
|
+
uuid: z.ZodString;
|
|
280
|
+
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
281
|
+
error: z.ZodNullable<z.ZodString>;
|
|
282
|
+
isFavorite: z.ZodBoolean;
|
|
283
|
+
createdAt: z.ZodDate;
|
|
284
|
+
updatedAt: z.ZodDate;
|
|
285
|
+
lyrics: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
286
|
+
title: z.ZodString;
|
|
287
|
+
prompt: z.ZodString;
|
|
288
|
+
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
289
|
+
tracks: z.ZodArray<z.ZodObject<{
|
|
290
|
+
uuid: z.ZodString;
|
|
291
|
+
title: z.ZodString;
|
|
292
|
+
audioId: z.ZodString;
|
|
293
|
+
audioUrl: z.ZodString;
|
|
294
|
+
audioFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
295
|
+
uuid: z.ZodString;
|
|
296
|
+
originalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
297
|
+
mimeType: z.ZodString;
|
|
298
|
+
url: z.ZodString;
|
|
299
|
+
duration: z.ZodNullable<z.ZodNumber>;
|
|
300
|
+
}, z.core.$strip>>>;
|
|
301
|
+
coverUrl: z.ZodString;
|
|
302
|
+
prompt: z.ZodNullable<z.ZodString>;
|
|
303
|
+
fullLyrics: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
304
|
+
tags: z.ZodString;
|
|
305
|
+
duration: z.ZodNumber;
|
|
306
|
+
isPublished: z.ZodOptional<z.ZodBoolean>;
|
|
307
|
+
postId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
308
|
+
waveformPeaks: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
309
|
+
genJobId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
310
|
+
editorJobId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
311
|
+
createdAt: z.ZodDate;
|
|
312
|
+
updatedAt: z.ZodDate;
|
|
313
|
+
}, z.core.$strip>>;
|
|
314
|
+
externalId: z.ZodNullable<z.ZodString>;
|
|
315
|
+
modelId: z.ZodString;
|
|
316
|
+
actionType: z.ZodLiteral<import("../../..").MUSIC_AUDIO_ACTION_TYPE.EXTEND>;
|
|
317
|
+
params: z.ZodObject<{
|
|
82
318
|
audioId: z.ZodString;
|
|
83
319
|
continueAt: z.ZodNumber;
|
|
84
320
|
prompt: z.ZodString;
|
|
@@ -87,23 +323,101 @@ export declare namespace AddTrackToMusicPlaylistCommand {
|
|
|
87
323
|
negativeTags: z.ZodOptional<z.ZodString>;
|
|
88
324
|
vocalGender: z.ZodOptional<z.ZodEnum<typeof import("../../..").MUSIC_VOCAL_GENDER>>;
|
|
89
325
|
instrumental: z.ZodOptional<z.ZodBoolean>;
|
|
90
|
-
}, z.core.$strip
|
|
326
|
+
}, z.core.$strip>;
|
|
327
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
328
|
+
uuid: z.ZodString;
|
|
329
|
+
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
330
|
+
error: z.ZodNullable<z.ZodString>;
|
|
331
|
+
isFavorite: z.ZodBoolean;
|
|
332
|
+
createdAt: z.ZodDate;
|
|
333
|
+
updatedAt: z.ZodDate;
|
|
334
|
+
lyrics: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
335
|
+
title: z.ZodString;
|
|
336
|
+
prompt: z.ZodString;
|
|
337
|
+
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
338
|
+
tracks: z.ZodArray<z.ZodObject<{
|
|
339
|
+
uuid: z.ZodString;
|
|
340
|
+
title: z.ZodString;
|
|
341
|
+
audioId: z.ZodString;
|
|
342
|
+
audioUrl: z.ZodString;
|
|
343
|
+
audioFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
344
|
+
uuid: z.ZodString;
|
|
345
|
+
originalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
346
|
+
mimeType: z.ZodString;
|
|
347
|
+
url: z.ZodString;
|
|
348
|
+
duration: z.ZodNullable<z.ZodNumber>;
|
|
349
|
+
}, z.core.$strip>>>;
|
|
350
|
+
coverUrl: z.ZodString;
|
|
351
|
+
prompt: z.ZodNullable<z.ZodString>;
|
|
352
|
+
fullLyrics: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
353
|
+
tags: z.ZodString;
|
|
354
|
+
duration: z.ZodNumber;
|
|
355
|
+
isPublished: z.ZodOptional<z.ZodBoolean>;
|
|
356
|
+
postId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
357
|
+
waveformPeaks: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
358
|
+
genJobId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
359
|
+
editorJobId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
360
|
+
createdAt: z.ZodDate;
|
|
361
|
+
updatedAt: z.ZodDate;
|
|
362
|
+
}, z.core.$strip>>;
|
|
363
|
+
externalId: z.ZodNullable<z.ZodString>;
|
|
364
|
+
modelId: z.ZodString;
|
|
365
|
+
actionType: z.ZodLiteral<import("../../..").MUSIC_AUDIO_ACTION_TYPE.ADD_INSTRUMENTAL>;
|
|
366
|
+
params: z.ZodObject<{
|
|
91
367
|
audioId: z.ZodString;
|
|
92
368
|
style: z.ZodString;
|
|
93
369
|
title: z.ZodOptional<z.ZodString>;
|
|
94
370
|
negativeTags: z.ZodOptional<z.ZodString>;
|
|
95
371
|
vocalGender: z.ZodOptional<z.ZodEnum<typeof import("../../..").MUSIC_VOCAL_GENDER>>;
|
|
96
|
-
}, z.core.$strip
|
|
372
|
+
}, z.core.$strip>;
|
|
373
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
374
|
+
uuid: z.ZodString;
|
|
375
|
+
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
376
|
+
error: z.ZodNullable<z.ZodString>;
|
|
377
|
+
isFavorite: z.ZodBoolean;
|
|
378
|
+
createdAt: z.ZodDate;
|
|
379
|
+
updatedAt: z.ZodDate;
|
|
380
|
+
lyrics: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
381
|
+
title: z.ZodString;
|
|
382
|
+
prompt: z.ZodString;
|
|
383
|
+
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
384
|
+
tracks: z.ZodArray<z.ZodObject<{
|
|
385
|
+
uuid: z.ZodString;
|
|
386
|
+
title: z.ZodString;
|
|
387
|
+
audioId: z.ZodString;
|
|
388
|
+
audioUrl: z.ZodString;
|
|
389
|
+
audioFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
390
|
+
uuid: z.ZodString;
|
|
391
|
+
originalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
392
|
+
mimeType: z.ZodString;
|
|
393
|
+
url: z.ZodString;
|
|
394
|
+
duration: z.ZodNullable<z.ZodNumber>;
|
|
395
|
+
}, z.core.$strip>>>;
|
|
396
|
+
coverUrl: z.ZodString;
|
|
397
|
+
prompt: z.ZodNullable<z.ZodString>;
|
|
398
|
+
fullLyrics: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
399
|
+
tags: z.ZodString;
|
|
400
|
+
duration: z.ZodNumber;
|
|
401
|
+
isPublished: z.ZodOptional<z.ZodBoolean>;
|
|
402
|
+
postId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
403
|
+
waveformPeaks: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
404
|
+
genJobId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
405
|
+
editorJobId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
406
|
+
createdAt: z.ZodDate;
|
|
407
|
+
updatedAt: z.ZodDate;
|
|
408
|
+
}, z.core.$strip>>;
|
|
409
|
+
externalId: z.ZodNullable<z.ZodString>;
|
|
410
|
+
modelId: z.ZodString;
|
|
411
|
+
actionType: z.ZodLiteral<import("../../..").MUSIC_AUDIO_ACTION_TYPE.ADD_VOCALS>;
|
|
412
|
+
params: z.ZodObject<{
|
|
97
413
|
audioId: z.ZodString;
|
|
98
414
|
prompt: z.ZodString;
|
|
99
415
|
style: z.ZodString;
|
|
100
416
|
title: z.ZodOptional<z.ZodString>;
|
|
101
417
|
negativeTags: z.ZodOptional<z.ZodString>;
|
|
102
418
|
vocalGender: z.ZodOptional<z.ZodEnum<typeof import("../../..").MUSIC_VOCAL_GENDER>>;
|
|
103
|
-
}, z.core.$strip
|
|
104
|
-
|
|
105
|
-
modelId: z.ZodString;
|
|
106
|
-
}, z.core.$strip>>>;
|
|
419
|
+
}, z.core.$strip>;
|
|
420
|
+
}, z.core.$strip>], "actionType">>>;
|
|
107
421
|
jobCount: z.ZodNumber;
|
|
108
422
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109
423
|
unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|