@purpleschool/gptbot-tools 0.2.72 → 0.2.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -48,6 +48,645 @@ export declare namespace GenerateMusicCommand {
48
48
  error: string | null;
49
49
  modelId: string;
50
50
  price: number;
51
+ tracks: {
52
+ uuid: string;
53
+ title: string;
54
+ audioId: string;
55
+ audioUrl: string;
56
+ audioFile?: {
57
+ uuid: string;
58
+ url: string;
59
+ mimeType: string;
60
+ duration: number | null;
61
+ originalName?: string | null | undefined;
62
+ } | null | undefined;
63
+ coverUrl: string;
64
+ prompt: string | null;
65
+ fullLyrics?: string | null | undefined;
66
+ tags: string;
67
+ duration: number;
68
+ waveformPeaks: number[];
69
+ isPublished?: boolean | undefined;
70
+ postId?: string | null | undefined;
71
+ genJobId?: string | null | undefined;
72
+ editorJobId?: string | null | undefined;
73
+ createdAt: Date;
74
+ updatedAt: Date;
75
+ }[];
76
+ attempts: any[];
77
+ userId?: string | null | undefined;
78
+ unregisteredUserId?: string | null | undefined;
79
+ isDeleted: boolean;
80
+ isFavorite: boolean;
81
+ tokenReservationId?: string | null | undefined;
82
+ createdAt: Date;
83
+ completedAt?: Date | null | undefined;
84
+ updatedAt: Date;
85
+ lyrics?: string | null | undefined;
86
+ actionType: MUSIC_GENERATION_ACTION_TYPE.GENERATE;
87
+ params: {
88
+ mode: import("..").SUNO_MODE_TYPE.SIMPLE;
89
+ prompt: string;
90
+ style: string;
91
+ vocalGender: import("..").MUSIC_VOCAL_GENDER;
92
+ } | {
93
+ mode: import("..").SUNO_MODE_TYPE.SIMPLE_INSTRUMENTAL;
94
+ prompt: string;
95
+ style: string;
96
+ } | {
97
+ mode: import("..").SUNO_MODE_TYPE.CUSTOM;
98
+ prompt: string;
99
+ style: string;
100
+ vocalGender: import("..").MUSIC_VOCAL_GENDER;
101
+ } | {
102
+ mode: import("..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL;
103
+ style: string;
104
+ };
105
+ } | {
106
+ uuid: string;
107
+ prompt: string;
108
+ reaction: import("../..").USER_REACTION | null;
109
+ dislikeReason: string | null;
110
+ externalId: string | null;
111
+ title: string;
112
+ status: import("../..").JOB_STATUS;
113
+ error: string | null;
114
+ modelId: string;
115
+ price: number;
116
+ tracks: {
117
+ uuid: string;
118
+ title: string;
119
+ audioId: string;
120
+ audioUrl: string;
121
+ audioFile?: {
122
+ uuid: string;
123
+ url: string;
124
+ mimeType: string;
125
+ duration: number | null;
126
+ originalName?: string | null | undefined;
127
+ } | null | undefined;
128
+ coverUrl: string;
129
+ prompt: string | null;
130
+ fullLyrics?: string | null | undefined;
131
+ tags: string;
132
+ duration: number;
133
+ waveformPeaks: number[];
134
+ isPublished?: boolean | undefined;
135
+ postId?: string | null | undefined;
136
+ genJobId?: string | null | undefined;
137
+ editorJobId?: string | null | undefined;
138
+ createdAt: Date;
139
+ updatedAt: Date;
140
+ }[];
141
+ attempts: any[];
142
+ userId?: string | null | undefined;
143
+ unregisteredUserId?: string | null | undefined;
144
+ isDeleted: boolean;
145
+ isFavorite: boolean;
146
+ tokenReservationId?: string | null | undefined;
147
+ createdAt: Date;
148
+ completedAt?: Date | null | undefined;
149
+ updatedAt: Date;
150
+ lyrics?: string | null | undefined;
151
+ actionType: MUSIC_GENERATION_ACTION_TYPE.GIFT;
152
+ params: {
153
+ mode: import("..").SUNO_MODE_TYPE.SIMPLE;
154
+ prompt: string;
155
+ style: string;
156
+ vocalGender: import("..").MUSIC_VOCAL_GENDER;
157
+ } | {
158
+ mode: import("..").SUNO_MODE_TYPE.SIMPLE_INSTRUMENTAL;
159
+ prompt: string;
160
+ style: string;
161
+ } | {
162
+ mode: import("..").SUNO_MODE_TYPE.CUSTOM;
163
+ prompt: string;
164
+ style: string;
165
+ vocalGender: import("..").MUSIC_VOCAL_GENDER;
166
+ } | {
167
+ mode: import("..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL;
168
+ style: string;
169
+ };
170
+ } | {
171
+ uuid: string;
172
+ prompt: string;
173
+ reaction: import("../..").USER_REACTION | null;
174
+ dislikeReason: string | null;
175
+ externalId: string | null;
176
+ title: string;
177
+ status: import("../..").JOB_STATUS;
178
+ error: string | null;
179
+ modelId: string;
180
+ price: number;
181
+ tracks: {
182
+ uuid: string;
183
+ title: string;
184
+ audioId: string;
185
+ audioUrl: string;
186
+ audioFile?: {
187
+ uuid: string;
188
+ url: string;
189
+ mimeType: string;
190
+ duration: number | null;
191
+ originalName?: string | null | undefined;
192
+ } | null | undefined;
193
+ coverUrl: string;
194
+ prompt: string | null;
195
+ fullLyrics?: string | null | undefined;
196
+ tags: string;
197
+ duration: number;
198
+ waveformPeaks: number[];
199
+ isPublished?: boolean | undefined;
200
+ postId?: string | null | undefined;
201
+ genJobId?: string | null | undefined;
202
+ editorJobId?: string | null | undefined;
203
+ createdAt: Date;
204
+ updatedAt: Date;
205
+ }[];
206
+ attempts: any[];
207
+ userId?: string | null | undefined;
208
+ unregisteredUserId?: string | null | undefined;
209
+ isDeleted: boolean;
210
+ isFavorite: boolean;
211
+ tokenReservationId?: string | null | undefined;
212
+ createdAt: Date;
213
+ completedAt?: Date | null | undefined;
214
+ updatedAt: Date;
215
+ lyrics?: string | null | undefined;
216
+ actionType: MUSIC_GENERATION_ACTION_TYPE.BACKGROUND;
217
+ params: {
218
+ mode: import("..").SUNO_MODE_TYPE.SIMPLE;
219
+ prompt: string;
220
+ style: string;
221
+ vocalGender: import("..").MUSIC_VOCAL_GENDER;
222
+ } | {
223
+ mode: import("..").SUNO_MODE_TYPE.SIMPLE_INSTRUMENTAL;
224
+ prompt: string;
225
+ style: string;
226
+ } | {
227
+ mode: import("..").SUNO_MODE_TYPE.CUSTOM;
228
+ prompt: string;
229
+ style: string;
230
+ vocalGender: import("..").MUSIC_VOCAL_GENDER;
231
+ } | {
232
+ mode: import("..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL;
233
+ style: string;
234
+ };
235
+ } | {
236
+ uuid: string;
237
+ prompt: string;
238
+ reaction: import("../..").USER_REACTION | null;
239
+ dislikeReason: string | null;
240
+ externalId: string | null;
241
+ title: string;
242
+ status: import("../..").JOB_STATUS;
243
+ error: string | null;
244
+ modelId: string;
245
+ price: number;
246
+ tracks: {
247
+ uuid: string;
248
+ title: string;
249
+ audioId: string;
250
+ audioUrl: string;
251
+ audioFile?: {
252
+ uuid: string;
253
+ url: string;
254
+ mimeType: string;
255
+ duration: number | null;
256
+ originalName?: string | null | undefined;
257
+ } | null | undefined;
258
+ coverUrl: string;
259
+ prompt: string | null;
260
+ fullLyrics?: string | null | undefined;
261
+ tags: string;
262
+ duration: number;
263
+ waveformPeaks: number[];
264
+ isPublished?: boolean | undefined;
265
+ postId?: string | null | undefined;
266
+ genJobId?: string | null | undefined;
267
+ editorJobId?: string | null | undefined;
268
+ createdAt: Date;
269
+ updatedAt: Date;
270
+ }[];
271
+ attempts: any[];
272
+ userId?: string | null | undefined;
273
+ unregisteredUserId?: string | null | undefined;
274
+ isDeleted: boolean;
275
+ isFavorite: boolean;
276
+ tokenReservationId?: string | null | undefined;
277
+ createdAt: Date;
278
+ completedAt?: Date | null | undefined;
279
+ updatedAt: Date;
280
+ lyrics?: string | null | undefined;
281
+ actionType: MUSIC_GENERATION_ACTION_TYPE.GENERATE_LYRICS;
282
+ params: {
283
+ prompt: string;
284
+ style?: string | undefined;
285
+ structure: import("..").MUSIC_LYRICS_STRUCTURE;
286
+ };
287
+ } | {
288
+ uuid: string;
289
+ prompt: string;
290
+ reaction: import("../..").USER_REACTION | null;
291
+ dislikeReason: string | null;
292
+ externalId: string | null;
293
+ title: string;
294
+ status: import("../..").JOB_STATUS;
295
+ error: string | null;
296
+ modelId: string;
297
+ price: number;
298
+ tracks: {
299
+ uuid: string;
300
+ title: string;
301
+ audioId: string;
302
+ audioUrl: string;
303
+ audioFile?: {
304
+ uuid: string;
305
+ url: string;
306
+ mimeType: string;
307
+ duration: number | null;
308
+ originalName?: string | null | undefined;
309
+ } | null | undefined;
310
+ coverUrl: string;
311
+ prompt: string | null;
312
+ fullLyrics?: string | null | undefined;
313
+ tags: string;
314
+ duration: number;
315
+ waveformPeaks: number[];
316
+ isPublished?: boolean | undefined;
317
+ postId?: string | null | undefined;
318
+ genJobId?: string | null | undefined;
319
+ editorJobId?: string | null | undefined;
320
+ createdAt: Date;
321
+ updatedAt: Date;
322
+ }[];
323
+ attempts: any[];
324
+ userId?: string | null | undefined;
325
+ unregisteredUserId?: string | null | undefined;
326
+ isDeleted: boolean;
327
+ isFavorite: boolean;
328
+ tokenReservationId?: string | null | undefined;
329
+ createdAt: Date;
330
+ completedAt?: Date | null | undefined;
331
+ updatedAt: Date;
332
+ lyrics?: string | null | undefined;
333
+ actionType: import("..").MUSIC_AUDIO_ACTION_TYPE.COVER;
334
+ params: {
335
+ audioId: string;
336
+ uploadUrl: string;
337
+ style: string;
338
+ prompt?: string | undefined;
339
+ title?: string | undefined;
340
+ negativeTags?: string | undefined;
341
+ vocalGender?: import("..").MUSIC_VOCAL_GENDER | undefined;
342
+ instrumental?: boolean | undefined;
343
+ };
344
+ } | {
345
+ uuid: string;
346
+ prompt: string;
347
+ reaction: import("../..").USER_REACTION | null;
348
+ dislikeReason: string | null;
349
+ externalId: string | null;
350
+ title: string;
351
+ status: import("../..").JOB_STATUS;
352
+ error: string | null;
353
+ modelId: string;
354
+ price: number;
355
+ tracks: {
356
+ uuid: string;
357
+ title: string;
358
+ audioId: string;
359
+ audioUrl: string;
360
+ audioFile?: {
361
+ uuid: string;
362
+ url: string;
363
+ mimeType: string;
364
+ duration: number | null;
365
+ originalName?: string | null | undefined;
366
+ } | null | undefined;
367
+ coverUrl: string;
368
+ prompt: string | null;
369
+ fullLyrics?: string | null | undefined;
370
+ tags: string;
371
+ duration: number;
372
+ waveformPeaks: number[];
373
+ isPublished?: boolean | undefined;
374
+ postId?: string | null | undefined;
375
+ genJobId?: string | null | undefined;
376
+ editorJobId?: string | null | undefined;
377
+ createdAt: Date;
378
+ updatedAt: Date;
379
+ }[];
380
+ attempts: any[];
381
+ userId?: string | null | undefined;
382
+ unregisteredUserId?: string | null | undefined;
383
+ isDeleted: boolean;
384
+ isFavorite: boolean;
385
+ tokenReservationId?: string | null | undefined;
386
+ createdAt: Date;
387
+ completedAt?: Date | null | undefined;
388
+ updatedAt: Date;
389
+ lyrics?: string | null | undefined;
390
+ actionType: import("..").MUSIC_AUDIO_ACTION_TYPE.EXTEND;
391
+ params: {
392
+ audioId: string;
393
+ uploadUrl: string;
394
+ continueAt: number;
395
+ prompt: string;
396
+ style?: string | undefined;
397
+ title?: string | undefined;
398
+ negativeTags?: string | undefined;
399
+ vocalGender?: import("..").MUSIC_VOCAL_GENDER | undefined;
400
+ instrumental?: boolean | undefined;
401
+ };
402
+ } | {
403
+ uuid: string;
404
+ prompt: string;
405
+ reaction: import("../..").USER_REACTION | null;
406
+ dislikeReason: string | null;
407
+ externalId: string | null;
408
+ title: string;
409
+ status: import("../..").JOB_STATUS;
410
+ error: string | null;
411
+ modelId: string;
412
+ price: number;
413
+ tracks: {
414
+ uuid: string;
415
+ title: string;
416
+ audioId: string;
417
+ audioUrl: string;
418
+ audioFile?: {
419
+ uuid: string;
420
+ url: string;
421
+ mimeType: string;
422
+ duration: number | null;
423
+ originalName?: string | null | undefined;
424
+ } | null | undefined;
425
+ coverUrl: string;
426
+ prompt: string | null;
427
+ fullLyrics?: string | null | undefined;
428
+ tags: string;
429
+ duration: number;
430
+ waveformPeaks: number[];
431
+ isPublished?: boolean | undefined;
432
+ postId?: string | null | undefined;
433
+ genJobId?: string | null | undefined;
434
+ editorJobId?: string | null | undefined;
435
+ createdAt: Date;
436
+ updatedAt: Date;
437
+ }[];
438
+ attempts: any[];
439
+ userId?: string | null | undefined;
440
+ unregisteredUserId?: string | null | undefined;
441
+ isDeleted: boolean;
442
+ isFavorite: boolean;
443
+ tokenReservationId?: string | null | undefined;
444
+ createdAt: Date;
445
+ completedAt?: Date | null | undefined;
446
+ updatedAt: Date;
447
+ lyrics?: string | null | undefined;
448
+ actionType: import("..").MUSIC_AUDIO_ACTION_TYPE.ADD_INSTRUMENTAL;
449
+ params: {
450
+ audioId: string;
451
+ uploadUrl: string;
452
+ style: string;
453
+ title?: string | undefined;
454
+ negativeTags?: string | undefined;
455
+ vocalGender?: import("..").MUSIC_VOCAL_GENDER | undefined;
456
+ };
457
+ } | {
458
+ uuid: string;
459
+ prompt: string;
460
+ reaction: import("../..").USER_REACTION | null;
461
+ dislikeReason: string | null;
462
+ externalId: string | null;
463
+ title: string;
464
+ status: import("../..").JOB_STATUS;
465
+ error: string | null;
466
+ modelId: string;
467
+ price: number;
468
+ tracks: {
469
+ uuid: string;
470
+ title: string;
471
+ audioId: string;
472
+ audioUrl: string;
473
+ audioFile?: {
474
+ uuid: string;
475
+ url: string;
476
+ mimeType: string;
477
+ duration: number | null;
478
+ originalName?: string | null | undefined;
479
+ } | null | undefined;
480
+ coverUrl: string;
481
+ prompt: string | null;
482
+ fullLyrics?: string | null | undefined;
483
+ tags: string;
484
+ duration: number;
485
+ waveformPeaks: number[];
486
+ isPublished?: boolean | undefined;
487
+ postId?: string | null | undefined;
488
+ genJobId?: string | null | undefined;
489
+ editorJobId?: string | null | undefined;
490
+ createdAt: Date;
491
+ updatedAt: Date;
492
+ }[];
493
+ attempts: any[];
494
+ userId?: string | null | undefined;
495
+ unregisteredUserId?: string | null | undefined;
496
+ isDeleted: boolean;
497
+ isFavorite: boolean;
498
+ tokenReservationId?: string | null | undefined;
499
+ createdAt: Date;
500
+ completedAt?: Date | null | undefined;
501
+ updatedAt: Date;
502
+ lyrics?: string | null | undefined;
503
+ actionType: import("..").MUSIC_AUDIO_ACTION_TYPE.ADD_VOCALS;
504
+ params: {
505
+ audioId: string;
506
+ uploadUrl: string;
507
+ prompt: string;
508
+ style: string;
509
+ title?: string | undefined;
510
+ negativeTags?: string | undefined;
511
+ vocalGender?: import("..").MUSIC_VOCAL_GENDER | undefined;
512
+ };
513
+ }, unknown, z.core.$ZodTypeInternals<{
514
+ uuid: string;
515
+ prompt: string;
516
+ reaction: import("../..").USER_REACTION | null;
517
+ dislikeReason: string | null;
518
+ externalId: string | null;
519
+ title: string;
520
+ status: import("../..").JOB_STATUS;
521
+ error: string | null;
522
+ modelId: string;
523
+ price: number;
524
+ tracks: {
525
+ uuid: string;
526
+ title: string;
527
+ audioId: string;
528
+ audioUrl: string;
529
+ audioFile?: {
530
+ uuid: string;
531
+ url: string;
532
+ mimeType: string;
533
+ duration: number | null;
534
+ originalName?: string | null | undefined;
535
+ } | null | undefined;
536
+ coverUrl: string;
537
+ prompt: string | null;
538
+ fullLyrics?: string | null | undefined;
539
+ tags: string;
540
+ duration: number;
541
+ waveformPeaks: number[];
542
+ isPublished?: boolean | undefined;
543
+ postId?: string | null | undefined;
544
+ genJobId?: string | null | undefined;
545
+ editorJobId?: string | null | undefined;
546
+ createdAt: Date;
547
+ updatedAt: Date;
548
+ }[];
549
+ attempts: any[];
550
+ userId?: string | null | undefined;
551
+ unregisteredUserId?: string | null | undefined;
552
+ isDeleted: boolean;
553
+ isFavorite: boolean;
554
+ tokenReservationId?: string | null | undefined;
555
+ createdAt: Date;
556
+ completedAt?: Date | null | undefined;
557
+ updatedAt: Date;
558
+ lyrics?: string | null | undefined;
559
+ actionType: MUSIC_GENERATION_ACTION_TYPE.GENERATE;
560
+ params: {
561
+ mode: import("..").SUNO_MODE_TYPE.SIMPLE;
562
+ prompt: string;
563
+ style: string;
564
+ vocalGender: import("..").MUSIC_VOCAL_GENDER;
565
+ } | {
566
+ mode: import("..").SUNO_MODE_TYPE.SIMPLE_INSTRUMENTAL;
567
+ prompt: string;
568
+ style: string;
569
+ } | {
570
+ mode: import("..").SUNO_MODE_TYPE.CUSTOM;
571
+ prompt: string;
572
+ style: string;
573
+ vocalGender: import("..").MUSIC_VOCAL_GENDER;
574
+ } | {
575
+ mode: import("..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL;
576
+ style: string;
577
+ };
578
+ } | {
579
+ uuid: string;
580
+ prompt: string;
581
+ reaction: import("../..").USER_REACTION | null;
582
+ dislikeReason: string | null;
583
+ externalId: string | null;
584
+ title: string;
585
+ status: import("../..").JOB_STATUS;
586
+ error: string | null;
587
+ modelId: string;
588
+ price: number;
589
+ tracks: {
590
+ uuid: string;
591
+ title: string;
592
+ audioId: string;
593
+ audioUrl: string;
594
+ audioFile?: {
595
+ uuid: string;
596
+ url: string;
597
+ mimeType: string;
598
+ duration: number | null;
599
+ originalName?: string | null | undefined;
600
+ } | null | undefined;
601
+ coverUrl: string;
602
+ prompt: string | null;
603
+ fullLyrics?: string | null | undefined;
604
+ tags: string;
605
+ duration: number;
606
+ waveformPeaks: number[];
607
+ isPublished?: boolean | undefined;
608
+ postId?: string | null | undefined;
609
+ genJobId?: string | null | undefined;
610
+ editorJobId?: string | null | undefined;
611
+ createdAt: Date;
612
+ updatedAt: Date;
613
+ }[];
614
+ attempts: any[];
615
+ userId?: string | null | undefined;
616
+ unregisteredUserId?: string | null | undefined;
617
+ isDeleted: boolean;
618
+ isFavorite: boolean;
619
+ tokenReservationId?: string | null | undefined;
620
+ createdAt: Date;
621
+ completedAt?: Date | null | undefined;
622
+ updatedAt: Date;
623
+ lyrics?: string | null | undefined;
624
+ actionType: MUSIC_GENERATION_ACTION_TYPE.GIFT;
625
+ params: {
626
+ mode: import("..").SUNO_MODE_TYPE.SIMPLE;
627
+ prompt: string;
628
+ style: string;
629
+ vocalGender: import("..").MUSIC_VOCAL_GENDER;
630
+ } | {
631
+ mode: import("..").SUNO_MODE_TYPE.SIMPLE_INSTRUMENTAL;
632
+ prompt: string;
633
+ style: string;
634
+ } | {
635
+ mode: import("..").SUNO_MODE_TYPE.CUSTOM;
636
+ prompt: string;
637
+ style: string;
638
+ vocalGender: import("..").MUSIC_VOCAL_GENDER;
639
+ } | {
640
+ mode: import("..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL;
641
+ style: string;
642
+ };
643
+ } | {
644
+ uuid: string;
645
+ prompt: string;
646
+ reaction: import("../..").USER_REACTION | null;
647
+ dislikeReason: string | null;
648
+ externalId: string | null;
649
+ title: string;
650
+ status: import("../..").JOB_STATUS;
651
+ error: string | null;
652
+ modelId: string;
653
+ price: number;
654
+ tracks: {
655
+ uuid: string;
656
+ title: string;
657
+ audioId: string;
658
+ audioUrl: string;
659
+ audioFile?: {
660
+ uuid: string;
661
+ url: string;
662
+ mimeType: string;
663
+ duration: number | null;
664
+ originalName?: string | null | undefined;
665
+ } | null | undefined;
666
+ coverUrl: string;
667
+ prompt: string | null;
668
+ fullLyrics?: string | null | undefined;
669
+ tags: string;
670
+ duration: number;
671
+ waveformPeaks: number[];
672
+ isPublished?: boolean | undefined;
673
+ postId?: string | null | undefined;
674
+ genJobId?: string | null | undefined;
675
+ editorJobId?: string | null | undefined;
676
+ createdAt: Date;
677
+ updatedAt: Date;
678
+ }[];
679
+ attempts: any[];
680
+ userId?: string | null | undefined;
681
+ unregisteredUserId?: string | null | undefined;
682
+ isDeleted: boolean;
683
+ isFavorite: boolean;
684
+ tokenReservationId?: string | null | undefined;
685
+ createdAt: Date;
686
+ completedAt?: Date | null | undefined;
687
+ updatedAt: Date;
688
+ lyrics?: string | null | undefined;
689
+ actionType: MUSIC_GENERATION_ACTION_TYPE.BACKGROUND;
51
690
  params: {
52
691
  mode: import("..").SUNO_MODE_TYPE.SIMPLE;
53
692
  prompt: string;
@@ -65,45 +704,18 @@ export declare namespace GenerateMusicCommand {
65
704
  } | {
66
705
  mode: import("..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL;
67
706
  style: string;
68
- } | {
69
- prompt: string;
70
- style?: string | undefined;
71
- structure: import("..").MUSIC_LYRICS_STRUCTURE;
72
- } | {
73
- audioId: string;
74
- uploadUrl: string;
75
- style: string;
76
- prompt?: string | undefined;
77
- title?: string | undefined;
78
- negativeTags?: string | undefined;
79
- vocalGender?: import("..").MUSIC_VOCAL_GENDER | undefined;
80
- instrumental?: boolean | undefined;
81
- } | {
82
- audioId: string;
83
- uploadUrl: string;
84
- continueAt: number;
85
- prompt: string;
86
- style?: string | undefined;
87
- title?: string | undefined;
88
- negativeTags?: string | undefined;
89
- vocalGender?: import("..").MUSIC_VOCAL_GENDER | undefined;
90
- instrumental?: boolean | undefined;
91
- } | {
92
- audioId: string;
93
- uploadUrl: string;
94
- style: string;
95
- title?: string | undefined;
96
- negativeTags?: string | undefined;
97
- vocalGender?: import("..").MUSIC_VOCAL_GENDER | undefined;
98
- } | {
99
- audioId: string;
100
- uploadUrl: string;
101
- prompt: string;
102
- style: string;
103
- title?: string | undefined;
104
- negativeTags?: string | undefined;
105
- vocalGender?: import("..").MUSIC_VOCAL_GENDER | undefined;
106
707
  };
708
+ } | {
709
+ uuid: string;
710
+ prompt: string;
711
+ reaction: import("../..").USER_REACTION | null;
712
+ dislikeReason: string | null;
713
+ externalId: string | null;
714
+ title: string;
715
+ status: import("../..").JOB_STATUS;
716
+ error: string | null;
717
+ modelId: string;
718
+ price: number;
107
719
  tracks: {
108
720
  uuid: string;
109
721
  title: string;
@@ -138,9 +750,14 @@ export declare namespace GenerateMusicCommand {
138
750
  createdAt: Date;
139
751
  completedAt?: Date | null | undefined;
140
752
  updatedAt: Date;
141
- actionType: import("..").MUSIC_AUDIO_ACTION_TYPE | MUSIC_GENERATION_ACTION_TYPE;
142
753
  lyrics?: string | null | undefined;
143
- }, unknown, z.core.$ZodTypeInternals<{
754
+ actionType: MUSIC_GENERATION_ACTION_TYPE.GENERATE_LYRICS;
755
+ params: {
756
+ prompt: string;
757
+ style?: string | undefined;
758
+ structure: import("..").MUSIC_LYRICS_STRUCTURE;
759
+ };
760
+ } | {
144
761
  uuid: string;
145
762
  prompt: string;
146
763
  reaction: import("../..").USER_REACTION | null;
@@ -151,28 +768,43 @@ export declare namespace GenerateMusicCommand {
151
768
  error: string | null;
152
769
  modelId: string;
153
770
  price: number;
771
+ tracks: {
772
+ uuid: string;
773
+ title: string;
774
+ audioId: string;
775
+ audioUrl: string;
776
+ audioFile?: {
777
+ uuid: string;
778
+ url: string;
779
+ mimeType: string;
780
+ duration: number | null;
781
+ originalName?: string | null | undefined;
782
+ } | null | undefined;
783
+ coverUrl: string;
784
+ prompt: string | null;
785
+ fullLyrics?: string | null | undefined;
786
+ tags: string;
787
+ duration: number;
788
+ waveformPeaks: number[];
789
+ isPublished?: boolean | undefined;
790
+ postId?: string | null | undefined;
791
+ genJobId?: string | null | undefined;
792
+ editorJobId?: string | null | undefined;
793
+ createdAt: Date;
794
+ updatedAt: Date;
795
+ }[];
796
+ attempts: any[];
797
+ userId?: string | null | undefined;
798
+ unregisteredUserId?: string | null | undefined;
799
+ isDeleted: boolean;
800
+ isFavorite: boolean;
801
+ tokenReservationId?: string | null | undefined;
802
+ createdAt: Date;
803
+ completedAt?: Date | null | undefined;
804
+ updatedAt: Date;
805
+ lyrics?: string | null | undefined;
806
+ actionType: import("..").MUSIC_AUDIO_ACTION_TYPE.COVER;
154
807
  params: {
155
- mode: import("..").SUNO_MODE_TYPE.SIMPLE;
156
- prompt: string;
157
- style: string;
158
- vocalGender: import("..").MUSIC_VOCAL_GENDER;
159
- } | {
160
- mode: import("..").SUNO_MODE_TYPE.SIMPLE_INSTRUMENTAL;
161
- prompt: string;
162
- style: string;
163
- } | {
164
- mode: import("..").SUNO_MODE_TYPE.CUSTOM;
165
- prompt: string;
166
- style: string;
167
- vocalGender: import("..").MUSIC_VOCAL_GENDER;
168
- } | {
169
- mode: import("..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL;
170
- style: string;
171
- } | {
172
- prompt: string;
173
- style?: string | undefined;
174
- structure: import("..").MUSIC_LYRICS_STRUCTURE;
175
- } | {
176
808
  audioId: string;
177
809
  uploadUrl: string;
178
810
  style: string;
@@ -181,7 +813,55 @@ export declare namespace GenerateMusicCommand {
181
813
  negativeTags?: string | undefined;
182
814
  vocalGender?: import("..").MUSIC_VOCAL_GENDER | undefined;
183
815
  instrumental?: boolean | undefined;
184
- } | {
816
+ };
817
+ } | {
818
+ uuid: string;
819
+ prompt: string;
820
+ reaction: import("../..").USER_REACTION | null;
821
+ dislikeReason: string | null;
822
+ externalId: string | null;
823
+ title: string;
824
+ status: import("../..").JOB_STATUS;
825
+ error: string | null;
826
+ modelId: string;
827
+ price: number;
828
+ tracks: {
829
+ uuid: string;
830
+ title: string;
831
+ audioId: string;
832
+ audioUrl: string;
833
+ audioFile?: {
834
+ uuid: string;
835
+ url: string;
836
+ mimeType: string;
837
+ duration: number | null;
838
+ originalName?: string | null | undefined;
839
+ } | null | undefined;
840
+ coverUrl: string;
841
+ prompt: string | null;
842
+ fullLyrics?: string | null | undefined;
843
+ tags: string;
844
+ duration: number;
845
+ waveformPeaks: number[];
846
+ isPublished?: boolean | undefined;
847
+ postId?: string | null | undefined;
848
+ genJobId?: string | null | undefined;
849
+ editorJobId?: string | null | undefined;
850
+ createdAt: Date;
851
+ updatedAt: Date;
852
+ }[];
853
+ attempts: any[];
854
+ userId?: string | null | undefined;
855
+ unregisteredUserId?: string | null | undefined;
856
+ isDeleted: boolean;
857
+ isFavorite: boolean;
858
+ tokenReservationId?: string | null | undefined;
859
+ createdAt: Date;
860
+ completedAt?: Date | null | undefined;
861
+ updatedAt: Date;
862
+ lyrics?: string | null | undefined;
863
+ actionType: import("..").MUSIC_AUDIO_ACTION_TYPE.EXTEND;
864
+ params: {
185
865
  audioId: string;
186
866
  uploadUrl: string;
187
867
  continueAt: number;
@@ -191,22 +871,73 @@ export declare namespace GenerateMusicCommand {
191
871
  negativeTags?: string | undefined;
192
872
  vocalGender?: import("..").MUSIC_VOCAL_GENDER | undefined;
193
873
  instrumental?: boolean | undefined;
194
- } | {
874
+ };
875
+ } | {
876
+ uuid: string;
877
+ prompt: string;
878
+ reaction: import("../..").USER_REACTION | null;
879
+ dislikeReason: string | null;
880
+ externalId: string | null;
881
+ title: string;
882
+ status: import("../..").JOB_STATUS;
883
+ error: string | null;
884
+ modelId: string;
885
+ price: number;
886
+ tracks: {
887
+ uuid: string;
888
+ title: string;
195
889
  audioId: string;
196
- uploadUrl: string;
197
- style: string;
198
- title?: string | undefined;
199
- negativeTags?: string | undefined;
200
- vocalGender?: import("..").MUSIC_VOCAL_GENDER | undefined;
201
- } | {
890
+ audioUrl: string;
891
+ audioFile?: {
892
+ uuid: string;
893
+ url: string;
894
+ mimeType: string;
895
+ duration: number | null;
896
+ originalName?: string | null | undefined;
897
+ } | null | undefined;
898
+ coverUrl: string;
899
+ prompt: string | null;
900
+ fullLyrics?: string | null | undefined;
901
+ tags: string;
902
+ duration: number;
903
+ waveformPeaks: number[];
904
+ isPublished?: boolean | undefined;
905
+ postId?: string | null | undefined;
906
+ genJobId?: string | null | undefined;
907
+ editorJobId?: string | null | undefined;
908
+ createdAt: Date;
909
+ updatedAt: Date;
910
+ }[];
911
+ attempts: any[];
912
+ userId?: string | null | undefined;
913
+ unregisteredUserId?: string | null | undefined;
914
+ isDeleted: boolean;
915
+ isFavorite: boolean;
916
+ tokenReservationId?: string | null | undefined;
917
+ createdAt: Date;
918
+ completedAt?: Date | null | undefined;
919
+ updatedAt: Date;
920
+ lyrics?: string | null | undefined;
921
+ actionType: import("..").MUSIC_AUDIO_ACTION_TYPE.ADD_INSTRUMENTAL;
922
+ params: {
202
923
  audioId: string;
203
924
  uploadUrl: string;
204
- prompt: string;
205
925
  style: string;
206
926
  title?: string | undefined;
207
927
  negativeTags?: string | undefined;
208
928
  vocalGender?: import("..").MUSIC_VOCAL_GENDER | undefined;
209
929
  };
930
+ } | {
931
+ uuid: string;
932
+ prompt: string;
933
+ reaction: import("../..").USER_REACTION | null;
934
+ dislikeReason: string | null;
935
+ externalId: string | null;
936
+ title: string;
937
+ status: import("../..").JOB_STATUS;
938
+ error: string | null;
939
+ modelId: string;
940
+ price: number;
210
941
  tracks: {
211
942
  uuid: string;
212
943
  title: string;
@@ -241,8 +972,17 @@ export declare namespace GenerateMusicCommand {
241
972
  createdAt: Date;
242
973
  completedAt?: Date | null | undefined;
243
974
  updatedAt: Date;
244
- actionType: import("..").MUSIC_AUDIO_ACTION_TYPE | MUSIC_GENERATION_ACTION_TYPE;
245
975
  lyrics?: string | null | undefined;
976
+ actionType: import("..").MUSIC_AUDIO_ACTION_TYPE.ADD_VOCALS;
977
+ params: {
978
+ audioId: string;
979
+ uploadUrl: string;
980
+ prompt: string;
981
+ style: string;
982
+ title?: string | undefined;
983
+ negativeTags?: string | undefined;
984
+ vocalGender?: import("..").MUSIC_VOCAL_GENDER | undefined;
985
+ };
246
986
  }, unknown>>>;
247
987
  code: z.ZodOptional<z.ZodString>;
248
988
  message: z.ZodOptional<z.ZodString>;