@purpleschool/gptbot 0.7.87 → 0.7.89

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.
@@ -9,7 +9,6 @@ var GenerateLyricsCommand;
9
9
  });
10
10
  GenerateLyricsCommand.ResponseSchema = zod_1.z.object({
11
11
  data: zod_1.z.object({
12
- title: zod_1.z.string(),
13
12
  lyrics: zod_1.z.string(),
14
13
  }),
15
14
  });
@@ -4,4 +4,5 @@ exports.VIDEO_EDITOR_MODEL_LIMITATION = void 0;
4
4
  var VIDEO_EDITOR_MODEL_LIMITATION;
5
5
  (function (VIDEO_EDITOR_MODEL_LIMITATION) {
6
6
  VIDEO_EDITOR_MODEL_LIMITATION["OUTPUT_VIDEO_LENGTH_CAPPED_TO_5_SECONDS"] = "OUTPUT_VIDEO_LENGTH_CAPPED_TO_5_SECONDS";
7
+ VIDEO_EDITOR_MODEL_LIMITATION["DOES_NOT_AFFECT_AUDIO"] = "DOES_NOT_AFFECT_AUDIO";
7
8
  })(VIDEO_EDITOR_MODEL_LIMITATION || (exports.VIDEO_EDITOR_MODEL_LIMITATION = VIDEO_EDITOR_MODEL_LIMITATION = {}));
@@ -20,13 +20,11 @@ exports.MusicJobParamsSchema = zod_1.z.discriminatedUnion('mode', [
20
20
  zod_1.z.object({
21
21
  mode: zod_1.z.literal(constants_1.SUNO_MODE_TYPE.CUSTOM),
22
22
  prompt: zod_1.z.string().min(1).max(5000),
23
- title: zod_1.z.string().min(1).max(80),
24
23
  style: zod_1.z.string().min(1).max(1000),
25
24
  vocalGender: zod_1.z.nativeEnum(constants_1.MUSIC_VOCAL_GENDER),
26
25
  }),
27
26
  zod_1.z.object({
28
27
  mode: zod_1.z.literal(constants_1.SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL),
29
- title: zod_1.z.string().min(1).max(80),
30
28
  style: zod_1.z.string().min(1).max(1000),
31
29
  }),
32
30
  ]);
@@ -8,7 +8,6 @@ export namespace GenerateLyricsCommand {
8
8
 
9
9
  export const ResponseSchema = z.object({
10
10
  data: z.object({
11
- title: z.string(),
12
11
  lyrics: z.string(),
13
12
  }),
14
13
  });
@@ -1,3 +1,4 @@
1
1
  export enum VIDEO_EDITOR_MODEL_LIMITATION {
2
2
  OUTPUT_VIDEO_LENGTH_CAPPED_TO_5_SECONDS = 'OUTPUT_VIDEO_LENGTH_CAPPED_TO_5_SECONDS',
3
+ DOES_NOT_AFFECT_AUDIO = 'DOES_NOT_AFFECT_AUDIO',
3
4
  }
@@ -18,13 +18,11 @@ export const MusicJobParamsSchema = z.discriminatedUnion('mode', [
18
18
  z.object({
19
19
  mode: z.literal(SUNO_MODE_TYPE.CUSTOM),
20
20
  prompt: z.string().min(1).max(5000),
21
- title: z.string().min(1).max(80),
22
21
  style: z.string().min(1).max(1000),
23
22
  vocalGender: z.nativeEnum(MUSIC_VOCAL_GENDER),
24
23
  }),
25
24
  z.object({
26
25
  mode: z.literal(SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL),
27
- title: z.string().min(1).max(80),
28
26
  style: z.string().min(1).max(1000),
29
27
  }),
30
28
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot",
3
- "version": "0.7.87",
3
+ "version": "0.7.89",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",