@purpleschool/gptbot-tools 0.2.69 → 0.2.70
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/music/commands/add-track-to-music-playlist.command.d.ts +199 -41
- package/build/music/commands/add-track-to-music-playlist.command.js +1 -1
- package/build/music/commands/create-music-playlist.command.d.ts +198 -40
- package/build/music/commands/edit-music.command.d.ts +12 -0
- package/build/music/commands/generate-music.command.d.ts +18 -2
- package/build/music/commands/generate-music.command.js +1 -1
- package/build/music/commands/get-music-price.command.d.ts +2 -0
- package/build/music/commands/get-music-price.command.js +2 -0
- package/build/music/commands/remove-track-from-music-playlist.command.d.ts +199 -41
- package/build/music/commands/remove-track-from-music-playlist.command.js +1 -1
- package/build/music/commands/retry-music-job.command.d.ts +12 -0
- package/build/music/commands/set-reaction-to-music-job.command.d.ts +12 -0
- package/build/music/commands/update-music-job-favorite.command.d.ts +12 -0
- package/build/music/commands/update-music-job-title.command.d.ts +12 -0
- package/build/music/commands/update-music-playlist.command.d.ts +198 -40
- package/build/music/commands/update-published-status-music-jobs.command.d.ts +12 -0
- package/build/music/enums/music-action-type.enum.d.ts +0 -2
- package/build/music/enums/music-action-type.enum.js +0 -2
- package/build/music/enums/music-audio-action-type.enum.d.ts +0 -2
- package/build/music/enums/music-audio-action-type.enum.js +0 -2
- package/build/music/models/music-job.schema.d.ts +10 -0
- package/build/music/models/music-job.schema.js +14 -15
- package/build/music/models/music-playlist.schema.d.ts +99 -20
- package/build/music/models/music-playlist.schema.js +3 -3
- package/build/music/queries/find-music-job-by-id.query.d.ts +12 -0
- package/build/music/queries/find-music-jobs.query.d.ts +12 -0
- package/build/music/queries/find-music-playlists.query.d.ts +227 -56
- package/build/music/queries/find-music-playlists.query.js +9 -1
- package/package.json +1 -1
|
@@ -4,10 +4,12 @@ exports.GetMusicPriceCommand = 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 models_1 = require("../models");
|
|
7
|
+
const enums_1 = require("../enums");
|
|
7
8
|
var GetMusicPriceCommand;
|
|
8
9
|
(function (GetMusicPriceCommand) {
|
|
9
10
|
GetMusicPriceCommand.RequestSchema = zod_1.z.object({
|
|
10
11
|
modelId: zod_1.z.string(),
|
|
12
|
+
actionType: zod_1.z.nativeEnum(enums_1.MUSIC_GENERATION_ACTION_TYPE).optional(),
|
|
11
13
|
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
12
14
|
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
13
15
|
params: models_1.MusicJobParamsSchema,
|
|
@@ -2,7 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare namespace RemoveTrackFromMusicPlaylistCommand {
|
|
3
3
|
const RequestSchema: z.ZodObject<{
|
|
4
4
|
playlistId: z.ZodString;
|
|
5
|
-
|
|
5
|
+
jobId: z.ZodString;
|
|
6
6
|
userId: z.ZodOptional<z.ZodString>;
|
|
7
7
|
unregisteredUserId: z.ZodOptional<z.ZodString>;
|
|
8
8
|
}, z.core.$strip>;
|
|
@@ -12,32 +12,111 @@ export declare namespace RemoveTrackFromMusicPlaylistCommand {
|
|
|
12
12
|
data: z.ZodOptional<z.ZodType<{
|
|
13
13
|
uuid: string;
|
|
14
14
|
title: string;
|
|
15
|
-
|
|
15
|
+
jobs?: {
|
|
16
16
|
uuid: string;
|
|
17
|
+
prompt: string;
|
|
18
|
+
reaction: import("../..").USER_REACTION | null;
|
|
19
|
+
dislikeReason: string | null;
|
|
20
|
+
externalId: string | null;
|
|
17
21
|
title: string;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
22
|
+
status: import("../..").JOB_STATUS;
|
|
23
|
+
error: string | null;
|
|
24
|
+
modelId: string;
|
|
25
|
+
price: number;
|
|
26
|
+
params: {
|
|
27
|
+
mode: import("..").SUNO_MODE_TYPE.SIMPLE;
|
|
28
|
+
prompt: string;
|
|
29
|
+
style: string;
|
|
30
|
+
vocalGender: import("..").MUSIC_VOCAL_GENDER;
|
|
31
|
+
} | {
|
|
32
|
+
mode: import("..").SUNO_MODE_TYPE.SIMPLE_INSTRUMENTAL;
|
|
33
|
+
prompt: string;
|
|
34
|
+
style: string;
|
|
35
|
+
} | {
|
|
36
|
+
mode: import("..").SUNO_MODE_TYPE.CUSTOM;
|
|
37
|
+
prompt: string;
|
|
38
|
+
style: string;
|
|
39
|
+
vocalGender: import("..").MUSIC_VOCAL_GENDER;
|
|
40
|
+
} | {
|
|
41
|
+
mode: import("..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL;
|
|
42
|
+
style: string;
|
|
43
|
+
} | {
|
|
44
|
+
prompt: string;
|
|
45
|
+
style?: string | undefined;
|
|
46
|
+
structure: import("..").MUSIC_LYRICS_STRUCTURE;
|
|
47
|
+
} | {
|
|
48
|
+
audioId: string;
|
|
49
|
+
uploadUrl: string;
|
|
50
|
+
style: string;
|
|
51
|
+
prompt?: string | undefined;
|
|
52
|
+
title?: string | undefined;
|
|
53
|
+
negativeTags?: string | undefined;
|
|
54
|
+
vocalGender?: import("..").MUSIC_VOCAL_GENDER | undefined;
|
|
55
|
+
instrumental?: boolean | undefined;
|
|
56
|
+
} | {
|
|
57
|
+
audioId: string;
|
|
58
|
+
uploadUrl: string;
|
|
59
|
+
continueAt: number;
|
|
60
|
+
prompt: string;
|
|
61
|
+
style?: string | undefined;
|
|
62
|
+
title?: string | undefined;
|
|
63
|
+
negativeTags?: string | undefined;
|
|
64
|
+
vocalGender?: import("..").MUSIC_VOCAL_GENDER | undefined;
|
|
65
|
+
instrumental?: boolean | undefined;
|
|
66
|
+
} | {
|
|
67
|
+
audioId: string;
|
|
68
|
+
uploadUrl: string;
|
|
69
|
+
style: string;
|
|
70
|
+
title?: string | undefined;
|
|
71
|
+
negativeTags?: string | undefined;
|
|
72
|
+
vocalGender?: import("..").MUSIC_VOCAL_GENDER | undefined;
|
|
73
|
+
} | {
|
|
74
|
+
audioId: string;
|
|
75
|
+
uploadUrl: string;
|
|
76
|
+
prompt: string;
|
|
77
|
+
style: string;
|
|
78
|
+
title?: string | undefined;
|
|
79
|
+
negativeTags?: string | undefined;
|
|
80
|
+
vocalGender?: import("..").MUSIC_VOCAL_GENDER | undefined;
|
|
81
|
+
};
|
|
82
|
+
tracks: {
|
|
21
83
|
uuid: string;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
84
|
+
title: string;
|
|
85
|
+
audioId: string;
|
|
86
|
+
audioUrl: string;
|
|
87
|
+
audioFile?: {
|
|
88
|
+
uuid: string;
|
|
89
|
+
url: string;
|
|
90
|
+
mimeType: string;
|
|
91
|
+
duration: number | null;
|
|
92
|
+
originalName?: string | null | undefined;
|
|
93
|
+
} | null | undefined;
|
|
94
|
+
coverUrl: string;
|
|
95
|
+
prompt: string | null;
|
|
96
|
+
fullLyrics?: string | null | undefined;
|
|
97
|
+
tags: string;
|
|
98
|
+
duration: number;
|
|
99
|
+
waveformPeaks: number[];
|
|
100
|
+
isPublished?: boolean | undefined;
|
|
101
|
+
postId?: string | null | undefined;
|
|
102
|
+
genJobId?: string | null | undefined;
|
|
103
|
+
editorJobId?: string | null | undefined;
|
|
104
|
+
createdAt: Date;
|
|
105
|
+
updatedAt: Date;
|
|
106
|
+
}[];
|
|
107
|
+
attempts: any[];
|
|
108
|
+
userId?: string | null | undefined;
|
|
109
|
+
unregisteredUserId?: string | null | undefined;
|
|
110
|
+
isDeleted: boolean;
|
|
111
|
+
isFavorite: boolean;
|
|
112
|
+
tokenReservationId?: string | null | undefined;
|
|
37
113
|
createdAt: Date;
|
|
114
|
+
completedAt?: Date | null | undefined;
|
|
38
115
|
updatedAt: Date;
|
|
116
|
+
actionType: import("..").MUSIC_AUDIO_ACTION_TYPE | import("..").MUSIC_GENERATION_ACTION_TYPE;
|
|
117
|
+
lyrics?: string | null | undefined;
|
|
39
118
|
}[] | undefined;
|
|
40
|
-
|
|
119
|
+
jobCount: number;
|
|
41
120
|
userId?: string | null | undefined;
|
|
42
121
|
unregisteredUserId?: string | null | undefined;
|
|
43
122
|
createdAt: Date;
|
|
@@ -45,32 +124,111 @@ export declare namespace RemoveTrackFromMusicPlaylistCommand {
|
|
|
45
124
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
46
125
|
uuid: string;
|
|
47
126
|
title: string;
|
|
48
|
-
|
|
127
|
+
jobs?: {
|
|
49
128
|
uuid: string;
|
|
129
|
+
prompt: string;
|
|
130
|
+
reaction: import("../..").USER_REACTION | null;
|
|
131
|
+
dislikeReason: string | null;
|
|
132
|
+
externalId: string | null;
|
|
50
133
|
title: string;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
134
|
+
status: import("../..").JOB_STATUS;
|
|
135
|
+
error: string | null;
|
|
136
|
+
modelId: string;
|
|
137
|
+
price: number;
|
|
138
|
+
params: {
|
|
139
|
+
mode: import("..").SUNO_MODE_TYPE.SIMPLE;
|
|
140
|
+
prompt: string;
|
|
141
|
+
style: string;
|
|
142
|
+
vocalGender: import("..").MUSIC_VOCAL_GENDER;
|
|
143
|
+
} | {
|
|
144
|
+
mode: import("..").SUNO_MODE_TYPE.SIMPLE_INSTRUMENTAL;
|
|
145
|
+
prompt: string;
|
|
146
|
+
style: string;
|
|
147
|
+
} | {
|
|
148
|
+
mode: import("..").SUNO_MODE_TYPE.CUSTOM;
|
|
149
|
+
prompt: string;
|
|
150
|
+
style: string;
|
|
151
|
+
vocalGender: import("..").MUSIC_VOCAL_GENDER;
|
|
152
|
+
} | {
|
|
153
|
+
mode: import("..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL;
|
|
154
|
+
style: string;
|
|
155
|
+
} | {
|
|
156
|
+
prompt: string;
|
|
157
|
+
style?: string | undefined;
|
|
158
|
+
structure: import("..").MUSIC_LYRICS_STRUCTURE;
|
|
159
|
+
} | {
|
|
160
|
+
audioId: string;
|
|
161
|
+
uploadUrl: string;
|
|
162
|
+
style: string;
|
|
163
|
+
prompt?: string | undefined;
|
|
164
|
+
title?: string | undefined;
|
|
165
|
+
negativeTags?: string | undefined;
|
|
166
|
+
vocalGender?: import("..").MUSIC_VOCAL_GENDER | undefined;
|
|
167
|
+
instrumental?: boolean | undefined;
|
|
168
|
+
} | {
|
|
169
|
+
audioId: string;
|
|
170
|
+
uploadUrl: string;
|
|
171
|
+
continueAt: number;
|
|
172
|
+
prompt: string;
|
|
173
|
+
style?: string | undefined;
|
|
174
|
+
title?: string | undefined;
|
|
175
|
+
negativeTags?: string | undefined;
|
|
176
|
+
vocalGender?: import("..").MUSIC_VOCAL_GENDER | undefined;
|
|
177
|
+
instrumental?: boolean | undefined;
|
|
178
|
+
} | {
|
|
179
|
+
audioId: string;
|
|
180
|
+
uploadUrl: string;
|
|
181
|
+
style: string;
|
|
182
|
+
title?: string | undefined;
|
|
183
|
+
negativeTags?: string | undefined;
|
|
184
|
+
vocalGender?: import("..").MUSIC_VOCAL_GENDER | undefined;
|
|
185
|
+
} | {
|
|
186
|
+
audioId: string;
|
|
187
|
+
uploadUrl: string;
|
|
188
|
+
prompt: string;
|
|
189
|
+
style: string;
|
|
190
|
+
title?: string | undefined;
|
|
191
|
+
negativeTags?: string | undefined;
|
|
192
|
+
vocalGender?: import("..").MUSIC_VOCAL_GENDER | undefined;
|
|
193
|
+
};
|
|
194
|
+
tracks: {
|
|
54
195
|
uuid: string;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
196
|
+
title: string;
|
|
197
|
+
audioId: string;
|
|
198
|
+
audioUrl: string;
|
|
199
|
+
audioFile?: {
|
|
200
|
+
uuid: string;
|
|
201
|
+
url: string;
|
|
202
|
+
mimeType: string;
|
|
203
|
+
duration: number | null;
|
|
204
|
+
originalName?: string | null | undefined;
|
|
205
|
+
} | null | undefined;
|
|
206
|
+
coverUrl: string;
|
|
207
|
+
prompt: string | null;
|
|
208
|
+
fullLyrics?: string | null | undefined;
|
|
209
|
+
tags: string;
|
|
210
|
+
duration: number;
|
|
211
|
+
waveformPeaks: number[];
|
|
212
|
+
isPublished?: boolean | undefined;
|
|
213
|
+
postId?: string | null | undefined;
|
|
214
|
+
genJobId?: string | null | undefined;
|
|
215
|
+
editorJobId?: string | null | undefined;
|
|
216
|
+
createdAt: Date;
|
|
217
|
+
updatedAt: Date;
|
|
218
|
+
}[];
|
|
219
|
+
attempts: any[];
|
|
220
|
+
userId?: string | null | undefined;
|
|
221
|
+
unregisteredUserId?: string | null | undefined;
|
|
222
|
+
isDeleted: boolean;
|
|
223
|
+
isFavorite: boolean;
|
|
224
|
+
tokenReservationId?: string | null | undefined;
|
|
70
225
|
createdAt: Date;
|
|
226
|
+
completedAt?: Date | null | undefined;
|
|
71
227
|
updatedAt: Date;
|
|
228
|
+
actionType: import("..").MUSIC_AUDIO_ACTION_TYPE | import("..").MUSIC_GENERATION_ACTION_TYPE;
|
|
229
|
+
lyrics?: string | null | undefined;
|
|
72
230
|
}[] | undefined;
|
|
73
|
-
|
|
231
|
+
jobCount: number;
|
|
74
232
|
userId?: string | null | undefined;
|
|
75
233
|
unregisteredUserId?: string | null | undefined;
|
|
76
234
|
createdAt: Date;
|
|
@@ -9,7 +9,7 @@ var RemoveTrackFromMusicPlaylistCommand;
|
|
|
9
9
|
RemoveTrackFromMusicPlaylistCommand.RequestSchema = zod_1.z
|
|
10
10
|
.object({
|
|
11
11
|
playlistId: zod_1.z.string().uuid(),
|
|
12
|
-
|
|
12
|
+
jobId: zod_1.z.string().uuid(),
|
|
13
13
|
userId: zod_1.z.string().uuid().optional(),
|
|
14
14
|
unregisteredUserId: zod_1.z.string().uuid().optional(),
|
|
15
15
|
})
|
|
@@ -60,6 +60,10 @@ export declare namespace RetryMusicJobCommand {
|
|
|
60
60
|
} | {
|
|
61
61
|
mode: import("..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL;
|
|
62
62
|
style: string;
|
|
63
|
+
} | {
|
|
64
|
+
prompt: string;
|
|
65
|
+
style?: string | undefined;
|
|
66
|
+
structure: import("..").MUSIC_LYRICS_STRUCTURE;
|
|
63
67
|
} | {
|
|
64
68
|
audioId: string;
|
|
65
69
|
uploadUrl: string;
|
|
@@ -129,6 +133,8 @@ export declare namespace RetryMusicJobCommand {
|
|
|
129
133
|
createdAt: Date;
|
|
130
134
|
completedAt?: Date | null | undefined;
|
|
131
135
|
updatedAt: Date;
|
|
136
|
+
actionType: import("..").MUSIC_AUDIO_ACTION_TYPE | import("..").MUSIC_GENERATION_ACTION_TYPE;
|
|
137
|
+
lyrics?: string | null | undefined;
|
|
132
138
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
133
139
|
uuid: string;
|
|
134
140
|
prompt: string;
|
|
@@ -157,6 +163,10 @@ export declare namespace RetryMusicJobCommand {
|
|
|
157
163
|
} | {
|
|
158
164
|
mode: import("..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL;
|
|
159
165
|
style: string;
|
|
166
|
+
} | {
|
|
167
|
+
prompt: string;
|
|
168
|
+
style?: string | undefined;
|
|
169
|
+
structure: import("..").MUSIC_LYRICS_STRUCTURE;
|
|
160
170
|
} | {
|
|
161
171
|
audioId: string;
|
|
162
172
|
uploadUrl: string;
|
|
@@ -226,6 +236,8 @@ export declare namespace RetryMusicJobCommand {
|
|
|
226
236
|
createdAt: Date;
|
|
227
237
|
completedAt?: Date | null | undefined;
|
|
228
238
|
updatedAt: Date;
|
|
239
|
+
actionType: import("..").MUSIC_AUDIO_ACTION_TYPE | import("..").MUSIC_GENERATION_ACTION_TYPE;
|
|
240
|
+
lyrics?: string | null | undefined;
|
|
229
241
|
}, unknown>>>;
|
|
230
242
|
code: z.ZodOptional<z.ZodString>;
|
|
231
243
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -39,6 +39,10 @@ export declare namespace SetReactionToMusicJobCommand {
|
|
|
39
39
|
} | {
|
|
40
40
|
mode: import("..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL;
|
|
41
41
|
style: string;
|
|
42
|
+
} | {
|
|
43
|
+
prompt: string;
|
|
44
|
+
style?: string | undefined;
|
|
45
|
+
structure: import("..").MUSIC_LYRICS_STRUCTURE;
|
|
42
46
|
} | {
|
|
43
47
|
audioId: string;
|
|
44
48
|
uploadUrl: string;
|
|
@@ -108,6 +112,8 @@ export declare namespace SetReactionToMusicJobCommand {
|
|
|
108
112
|
createdAt: Date;
|
|
109
113
|
completedAt?: Date | null | undefined;
|
|
110
114
|
updatedAt: Date;
|
|
115
|
+
actionType: import("..").MUSIC_AUDIO_ACTION_TYPE | import("..").MUSIC_GENERATION_ACTION_TYPE;
|
|
116
|
+
lyrics?: string | null | undefined;
|
|
111
117
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
112
118
|
uuid: string;
|
|
113
119
|
prompt: string;
|
|
@@ -136,6 +142,10 @@ export declare namespace SetReactionToMusicJobCommand {
|
|
|
136
142
|
} | {
|
|
137
143
|
mode: import("..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL;
|
|
138
144
|
style: string;
|
|
145
|
+
} | {
|
|
146
|
+
prompt: string;
|
|
147
|
+
style?: string | undefined;
|
|
148
|
+
structure: import("..").MUSIC_LYRICS_STRUCTURE;
|
|
139
149
|
} | {
|
|
140
150
|
audioId: string;
|
|
141
151
|
uploadUrl: string;
|
|
@@ -205,6 +215,8 @@ export declare namespace SetReactionToMusicJobCommand {
|
|
|
205
215
|
createdAt: Date;
|
|
206
216
|
completedAt?: Date | null | undefined;
|
|
207
217
|
updatedAt: Date;
|
|
218
|
+
actionType: import("..").MUSIC_AUDIO_ACTION_TYPE | import("..").MUSIC_GENERATION_ACTION_TYPE;
|
|
219
|
+
lyrics?: string | null | undefined;
|
|
208
220
|
}, unknown>>>;
|
|
209
221
|
code: z.ZodOptional<z.ZodString>;
|
|
210
222
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -37,6 +37,10 @@ export declare namespace UpdateMusicJobFavoriteCommand {
|
|
|
37
37
|
} | {
|
|
38
38
|
mode: import("..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL;
|
|
39
39
|
style: string;
|
|
40
|
+
} | {
|
|
41
|
+
prompt: string;
|
|
42
|
+
style?: string | undefined;
|
|
43
|
+
structure: import("..").MUSIC_LYRICS_STRUCTURE;
|
|
40
44
|
} | {
|
|
41
45
|
audioId: string;
|
|
42
46
|
uploadUrl: string;
|
|
@@ -106,6 +110,8 @@ export declare namespace UpdateMusicJobFavoriteCommand {
|
|
|
106
110
|
createdAt: Date;
|
|
107
111
|
completedAt?: Date | null | undefined;
|
|
108
112
|
updatedAt: Date;
|
|
113
|
+
actionType: import("..").MUSIC_AUDIO_ACTION_TYPE | import("..").MUSIC_GENERATION_ACTION_TYPE;
|
|
114
|
+
lyrics?: string | null | undefined;
|
|
109
115
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
110
116
|
uuid: string;
|
|
111
117
|
prompt: string;
|
|
@@ -134,6 +140,10 @@ export declare namespace UpdateMusicJobFavoriteCommand {
|
|
|
134
140
|
} | {
|
|
135
141
|
mode: import("..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL;
|
|
136
142
|
style: string;
|
|
143
|
+
} | {
|
|
144
|
+
prompt: string;
|
|
145
|
+
style?: string | undefined;
|
|
146
|
+
structure: import("..").MUSIC_LYRICS_STRUCTURE;
|
|
137
147
|
} | {
|
|
138
148
|
audioId: string;
|
|
139
149
|
uploadUrl: string;
|
|
@@ -203,6 +213,8 @@ export declare namespace UpdateMusicJobFavoriteCommand {
|
|
|
203
213
|
createdAt: Date;
|
|
204
214
|
completedAt?: Date | null | undefined;
|
|
205
215
|
updatedAt: Date;
|
|
216
|
+
actionType: import("..").MUSIC_AUDIO_ACTION_TYPE | import("..").MUSIC_GENERATION_ACTION_TYPE;
|
|
217
|
+
lyrics?: string | null | undefined;
|
|
206
218
|
}, unknown>>>;
|
|
207
219
|
code: z.ZodOptional<z.ZodString>;
|
|
208
220
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -37,6 +37,10 @@ export declare namespace UpdateMusicJobTitleCommand {
|
|
|
37
37
|
} | {
|
|
38
38
|
mode: import("..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL;
|
|
39
39
|
style: string;
|
|
40
|
+
} | {
|
|
41
|
+
prompt: string;
|
|
42
|
+
style?: string | undefined;
|
|
43
|
+
structure: import("..").MUSIC_LYRICS_STRUCTURE;
|
|
40
44
|
} | {
|
|
41
45
|
audioId: string;
|
|
42
46
|
uploadUrl: string;
|
|
@@ -106,6 +110,8 @@ export declare namespace UpdateMusicJobTitleCommand {
|
|
|
106
110
|
createdAt: Date;
|
|
107
111
|
completedAt?: Date | null | undefined;
|
|
108
112
|
updatedAt: Date;
|
|
113
|
+
actionType: import("..").MUSIC_AUDIO_ACTION_TYPE | import("..").MUSIC_GENERATION_ACTION_TYPE;
|
|
114
|
+
lyrics?: string | null | undefined;
|
|
109
115
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
110
116
|
uuid: string;
|
|
111
117
|
prompt: string;
|
|
@@ -134,6 +140,10 @@ export declare namespace UpdateMusicJobTitleCommand {
|
|
|
134
140
|
} | {
|
|
135
141
|
mode: import("..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL;
|
|
136
142
|
style: string;
|
|
143
|
+
} | {
|
|
144
|
+
prompt: string;
|
|
145
|
+
style?: string | undefined;
|
|
146
|
+
structure: import("..").MUSIC_LYRICS_STRUCTURE;
|
|
137
147
|
} | {
|
|
138
148
|
audioId: string;
|
|
139
149
|
uploadUrl: string;
|
|
@@ -203,6 +213,8 @@ export declare namespace UpdateMusicJobTitleCommand {
|
|
|
203
213
|
createdAt: Date;
|
|
204
214
|
completedAt?: Date | null | undefined;
|
|
205
215
|
updatedAt: Date;
|
|
216
|
+
actionType: import("..").MUSIC_AUDIO_ACTION_TYPE | import("..").MUSIC_GENERATION_ACTION_TYPE;
|
|
217
|
+
lyrics?: string | null | undefined;
|
|
206
218
|
}, unknown>>>;
|
|
207
219
|
code: z.ZodOptional<z.ZodString>;
|
|
208
220
|
message: z.ZodOptional<z.ZodString>;
|