@purpleschool/gptbot-tools 0.2.69 → 0.2.72-stage2

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.
Files changed (228) hide show
  1. package/build/ai-proxy/routes/ai-proxy.routes.d.ts +1 -0
  2. package/build/ai-proxy/routes/ai-proxy.routes.js +1 -0
  3. package/build/index.d.ts +3 -0
  4. package/build/index.js +3 -0
  5. package/build/music/commands/add-track-to-music-playlist.command.d.ts +199 -41
  6. package/build/music/commands/add-track-to-music-playlist.command.js +1 -1
  7. package/build/music/commands/create-music-playlist.command.d.ts +198 -40
  8. package/build/music/commands/edit-music.command.d.ts +12 -0
  9. package/build/music/commands/generate-music.command.d.ts +18 -2
  10. package/build/music/commands/generate-music.command.js +1 -1
  11. package/build/music/commands/get-music-price.command.d.ts +2 -0
  12. package/build/music/commands/get-music-price.command.js +2 -0
  13. package/build/music/commands/remove-track-from-music-playlist.command.d.ts +199 -41
  14. package/build/music/commands/remove-track-from-music-playlist.command.js +1 -1
  15. package/build/music/commands/retry-music-job.command.d.ts +12 -0
  16. package/build/music/commands/set-reaction-to-music-job.command.d.ts +12 -0
  17. package/build/music/commands/update-music-job-favorite.command.d.ts +12 -0
  18. package/build/music/commands/update-music-job-title.command.d.ts +12 -0
  19. package/build/music/commands/update-music-playlist.command.d.ts +198 -40
  20. package/build/music/commands/update-published-status-music-jobs.command.d.ts +12 -0
  21. package/build/music/enums/music-action-type.enum.d.ts +0 -2
  22. package/build/music/enums/music-action-type.enum.js +0 -2
  23. package/build/music/enums/music-audio-action-type.enum.d.ts +0 -2
  24. package/build/music/enums/music-audio-action-type.enum.js +0 -2
  25. package/build/music/models/music-job.schema.d.ts +10 -0
  26. package/build/music/models/music-job.schema.js +14 -15
  27. package/build/music/models/music-playlist.schema.d.ts +99 -20
  28. package/build/music/models/music-playlist.schema.js +3 -3
  29. package/build/music/queries/find-music-job-by-id.query.d.ts +12 -0
  30. package/build/music/queries/find-music-jobs.query.d.ts +12 -0
  31. package/build/music/queries/find-music-playlists.query.d.ts +227 -56
  32. package/build/music/queries/find-music-playlists.query.js +9 -1
  33. package/build/photo-sessions/commands/admin/create-photo-session-style.command.d.ts +58 -0
  34. package/build/photo-sessions/commands/admin/create-photo-session-style.command.js +21 -0
  35. package/build/photo-sessions/commands/admin/delete-photo-session-style.command.d.ts +14 -0
  36. package/build/photo-sessions/commands/admin/delete-photo-session-style.command.js +12 -0
  37. package/build/photo-sessions/commands/admin/index.d.ts +3 -0
  38. package/build/photo-sessions/commands/admin/index.js +19 -0
  39. package/build/photo-sessions/commands/admin/update-photo-session-style.command.d.ts +54 -0
  40. package/build/photo-sessions/commands/admin/update-photo-session-style.command.js +18 -0
  41. package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.d.ts +17 -0
  42. package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.js +19 -0
  43. package/build/photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.d.ts +16 -0
  44. package/build/photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.js +14 -0
  45. package/build/photo-sessions/commands/get-photo-sessions-price.command.d.ts +74 -0
  46. package/build/photo-sessions/commands/get-photo-sessions-price.command.js +28 -0
  47. package/build/photo-sessions/commands/index.d.ts +10 -0
  48. package/build/photo-sessions/commands/index.js +26 -0
  49. package/build/photo-sessions/commands/photo-sessions.command.d.ts +272 -0
  50. package/build/photo-sessions/commands/photo-sessions.command.js +37 -0
  51. package/build/photo-sessions/commands/retry-photo-sessions-job.command.d.ts +179 -0
  52. package/build/photo-sessions/commands/retry-photo-sessions-job.command.js +17 -0
  53. package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.d.ts +181 -0
  54. package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.js +27 -0
  55. package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.d.ts +179 -0
  56. package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.js +16 -0
  57. package/build/photo-sessions/commands/update-photo-sessions-job-title.command.d.ts +217 -0
  58. package/build/photo-sessions/commands/update-photo-sessions-job-title.command.js +16 -0
  59. package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.d.ts +184 -0
  60. package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.js +26 -0
  61. package/build/photo-sessions/enums/index.d.ts +3 -0
  62. package/build/photo-sessions/enums/index.js +19 -0
  63. package/build/photo-sessions/enums/photo-session-group-status.enum.d.ts +6 -0
  64. package/build/photo-sessions/enums/photo-session-group-status.enum.js +10 -0
  65. package/build/photo-sessions/enums/photo-session-look-type.enum.d.ts +5 -0
  66. package/build/photo-sessions/enums/photo-session-look-type.enum.js +9 -0
  67. package/build/photo-sessions/enums/photo-session-strategy.enum.d.ts +4 -0
  68. package/build/photo-sessions/enums/photo-session-strategy.enum.js +8 -0
  69. package/build/photo-sessions/index.d.ts +5 -0
  70. package/build/photo-sessions/index.js +21 -0
  71. package/build/photo-sessions/models/index.d.ts +5 -0
  72. package/build/photo-sessions/models/index.js +21 -0
  73. package/build/photo-sessions/models/photo-session-config.schema.d.ts +72 -0
  74. package/build/photo-sessions/models/photo-session-config.schema.js +16 -0
  75. package/build/photo-sessions/models/photo-session-group.schema.d.ts +113 -0
  76. package/build/photo-sessions/models/photo-session-group.schema.js +27 -0
  77. package/build/photo-sessions/models/photo-session-job.schema.d.ts +159 -0
  78. package/build/photo-sessions/models/photo-session-job.schema.js +55 -0
  79. package/build/photo-sessions/models/photo-session-model.schema.d.ts +69 -0
  80. package/build/photo-sessions/models/photo-session-model.schema.js +42 -0
  81. package/build/photo-sessions/models/photo-session-style.schema.d.ts +29 -0
  82. package/build/photo-sessions/models/photo-session-style.schema.js +22 -0
  83. package/build/photo-sessions/queries/find-photo-session-style-by-id.query.d.ts +46 -0
  84. package/build/photo-sessions/queries/find-photo-session-style-by-id.query.js +10 -0
  85. package/build/photo-sessions/queries/find-photo-session-styles.query.d.ts +57 -0
  86. package/build/photo-sessions/queries/find-photo-session-styles.query.js +19 -0
  87. package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.d.ts +216 -0
  88. package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.js +18 -0
  89. package/build/photo-sessions/queries/find-photo-sessions-jobs.query.d.ts +235 -0
  90. package/build/photo-sessions/queries/find-photo-sessions-jobs.query.js +33 -0
  91. package/build/photo-sessions/queries/get-photo-sessions-config.query.d.ts +142 -0
  92. package/build/photo-sessions/queries/get-photo-sessions-config.query.js +10 -0
  93. package/build/photo-sessions/queries/index.d.ts +5 -0
  94. package/build/photo-sessions/queries/index.js +21 -0
  95. package/build/photo-sessions/routes/index.d.ts +2 -0
  96. package/build/photo-sessions/routes/index.js +18 -0
  97. package/build/photo-sessions/routes/photo-sessions.amqp.routes.d.ts +19 -0
  98. package/build/photo-sessions/routes/photo-sessions.amqp.routes.js +22 -0
  99. package/build/photo-sessions/routes/photo-sessions.http.routes.d.ts +1 -0
  100. package/build/photo-sessions/routes/photo-sessions.http.routes.js +4 -0
  101. package/build/spell-corrector/commands/get-spell-corrector-price.command.d.ts +16 -3
  102. package/build/spell-corrector/commands/get-spell-corrector-price.command.js +6 -1
  103. package/build/spell-corrector/commands/retry-spell-corrector-job.command.d.ts +67 -0
  104. package/build/spell-corrector/commands/retry-spell-corrector-job.command.js +2 -0
  105. package/build/spell-corrector/commands/set-reaction-to-spell-corrector-job.command.d.ts +56 -0
  106. package/build/spell-corrector/commands/spell-corrector.command.d.ts +69 -1
  107. package/build/spell-corrector/commands/spell-corrector.command.js +9 -2
  108. package/build/spell-corrector/commands/update-spell-corrector-job-favorite.command.d.ts +56 -0
  109. package/build/spell-corrector/commands/update-spell-corrector-job-title.command.d.ts +56 -0
  110. package/build/spell-corrector/constants/index.d.ts +1 -0
  111. package/build/spell-corrector/constants/index.js +17 -0
  112. package/build/spell-corrector/constants/spell-corrector-errors.constant.d.ts +32 -0
  113. package/build/spell-corrector/constants/spell-corrector-errors.constant.js +35 -0
  114. package/build/spell-corrector/enums/index.d.ts +1 -0
  115. package/build/spell-corrector/enums/index.js +17 -0
  116. package/build/spell-corrector/enums/spell-corrector-input-kind.enum.d.ts +4 -0
  117. package/build/spell-corrector/enums/spell-corrector-input-kind.enum.js +8 -0
  118. package/build/spell-corrector/index.d.ts +2 -0
  119. package/build/spell-corrector/index.js +2 -0
  120. package/build/spell-corrector/models/index.d.ts +2 -0
  121. package/build/spell-corrector/models/index.js +2 -0
  122. package/build/spell-corrector/models/spell-corrector-correction-statistics.schema.d.ts +7 -0
  123. package/build/spell-corrector/models/spell-corrector-correction-statistics.schema.js +13 -0
  124. package/build/spell-corrector/models/spell-corrector-document.schema.d.ts +22 -0
  125. package/build/spell-corrector/models/spell-corrector-document.schema.js +16 -0
  126. package/build/spell-corrector/models/spell-corrector-job.schema.d.ts +29 -0
  127. package/build/spell-corrector/models/spell-corrector-job.schema.js +11 -0
  128. package/build/spell-corrector/models/spell-corrector-model.schema.d.ts +4 -0
  129. package/build/spell-corrector/models/spell-corrector-model.schema.js +4 -0
  130. package/build/spell-corrector/models/spell-corrector-tool-config.schema.d.ts +5 -0
  131. package/build/spell-corrector/models/spell-corrector-tool-config.schema.js +1 -0
  132. package/build/spell-corrector/queries/find-spell-corrector-job-by-uuid.query.d.ts +56 -0
  133. package/build/spell-corrector/queries/find-spell-corrector-jobs.query.d.ts +56 -0
  134. package/build/spell-corrector/queries/get-spell-corrector-tool-config.query.d.ts +10 -0
  135. package/build/tools/enums/tool-content-type.enum.d.ts +1 -0
  136. package/build/tools/enums/tool-content-type.enum.js +1 -0
  137. package/build/tools/enums/tool-type.enum.d.ts +1 -0
  138. package/build/tools/enums/tool-type.enum.js +1 -0
  139. package/build/tools/events/tool-job-complete.event.d.ts +1 -0
  140. package/build/tools/events/tool-job-failed.event.d.ts +1 -0
  141. package/build/tools/models/global-tools-config.schema.d.ts +81 -0
  142. package/build/tools/models/global-tools-config.schema.js +2 -0
  143. package/build/tools/models/tool-job.schema.d.ts +1 -0
  144. package/build/tools/models/tool-job.schema.js +1 -0
  145. package/build/tools/models/tools-with-configs.schema.d.ts +32 -0
  146. package/build/tools/queries/get-global-tools-config.query.d.ts +162 -0
  147. package/build/tools/queries/get-tools-with-configs.query.d.ts +32 -0
  148. package/build/tts/commands/create-voice-clone.command.d.ts +81 -0
  149. package/build/tts/commands/create-voice-clone.command.js +21 -0
  150. package/build/tts/commands/create-voice-design.command.d.ts +40 -0
  151. package/build/tts/commands/create-voice-design.command.js +20 -0
  152. package/build/tts/commands/delete-voice.command.d.ts +17 -0
  153. package/build/tts/commands/delete-voice.command.js +14 -0
  154. package/build/tts/commands/download-tts-job.command.d.ts +25 -0
  155. package/build/tts/commands/download-tts-job.command.js +19 -0
  156. package/build/tts/commands/improve-tts-text.command.d.ts +22 -0
  157. package/build/tts/commands/improve-tts-text.command.js +16 -0
  158. package/build/tts/commands/index.d.ts +7 -0
  159. package/build/tts/commands/index.js +7 -0
  160. package/build/tts/commands/retry-tts-job.command.d.ts +29 -2
  161. package/build/tts/commands/retry-tts-job.command.js +2 -0
  162. package/build/tts/commands/select-voice-design.command.d.ts +77 -0
  163. package/build/tts/commands/select-voice-design.command.js +17 -0
  164. package/build/tts/commands/set-reaction-to-tts-job.command.d.ts +29 -2
  165. package/build/tts/commands/set-reaction-to-tts-job.command.js +1 -0
  166. package/build/tts/commands/tts.command.d.ts +35 -3
  167. package/build/tts/commands/tts.command.js +4 -1
  168. package/build/tts/commands/update-tts-job-favorite.command.d.ts +29 -2
  169. package/build/tts/commands/update-tts-job-favorite.command.js +2 -0
  170. package/build/tts/commands/update-tts-job-title.command.d.ts +29 -2
  171. package/build/tts/commands/update-tts-job-title.command.js +2 -0
  172. package/build/tts/commands/update-voice.command.d.ts +78 -0
  173. package/build/tts/commands/update-voice.command.js +18 -0
  174. package/build/tts/enums/index.d.ts +7 -0
  175. package/build/tts/enums/index.js +7 -0
  176. package/build/tts/enums/tts-download-format.enum.d.ts +5 -0
  177. package/build/tts/enums/tts-download-format.enum.js +9 -0
  178. package/build/tts/enums/voice-category.enum.d.ts +19 -0
  179. package/build/tts/enums/voice-category.enum.js +23 -0
  180. package/build/tts/enums/voice-gender.enum.d.ts +4 -0
  181. package/build/tts/enums/voice-gender.enum.js +8 -0
  182. package/build/tts/enums/voice-source.enum.d.ts +5 -0
  183. package/build/tts/enums/voice-source.enum.js +9 -0
  184. package/build/tts/enums/voice-status.enum.d.ts +5 -0
  185. package/build/tts/enums/voice-status.enum.js +9 -0
  186. package/build/tts/enums/voice-tag-group.enum.d.ts +5 -0
  187. package/build/tts/enums/voice-tag-group.enum.js +9 -0
  188. package/build/tts/enums/voice-tag.enum.d.ts +20 -0
  189. package/build/tts/enums/voice-tag.enum.js +24 -0
  190. package/build/tts/models/index.d.ts +7 -0
  191. package/build/tts/models/index.js +7 -0
  192. package/build/tts/models/tts-config-with-vendors.schema.d.ts +1 -0
  193. package/build/tts/models/tts-config.schema.d.ts +11 -0
  194. package/build/tts/models/tts-config.schema.js +5 -0
  195. package/build/tts/models/tts-job.schema.d.ts +34 -2
  196. package/build/tts/models/tts-job.schema.js +22 -2
  197. package/build/tts/models/tts-model-with-vendor.schema.d.ts +1 -0
  198. package/build/tts/models/tts-model.schema.d.ts +1 -0
  199. package/build/tts/models/tts-model.schema.js +1 -0
  200. package/build/tts/models/voice-category.schema.d.ts +7 -0
  201. package/build/tts/models/voice-category.schema.js +9 -0
  202. package/build/tts/models/voice-design-draft.schema.d.ts +13 -0
  203. package/build/tts/models/voice-design-draft.schema.js +13 -0
  204. package/build/tts/models/voice-design-sample.schema.d.ts +6 -0
  205. package/build/tts/models/voice-design-sample.schema.js +8 -0
  206. package/build/tts/models/voice-gender.schema.d.ts +7 -0
  207. package/build/tts/models/voice-gender.schema.js +9 -0
  208. package/build/tts/models/voice-source.schema.d.ts +7 -0
  209. package/build/tts/models/voice-source.schema.js +9 -0
  210. package/build/tts/models/voice-tag.schema.d.ts +9 -0
  211. package/build/tts/models/voice-tag.schema.js +11 -0
  212. package/build/tts/models/voice.schema.d.ts +34 -0
  213. package/build/tts/models/voice.schema.js +30 -0
  214. package/build/tts/queries/find-tts-job-by-id.query.d.ts +29 -2
  215. package/build/tts/queries/find-tts-job-by-id.query.js +2 -0
  216. package/build/tts/queries/find-tts-jobs.query.d.ts +29 -2
  217. package/build/tts/queries/find-tts-jobs.query.js +1 -0
  218. package/build/tts/queries/find-voice-by-id.query.d.ts +77 -0
  219. package/build/tts/queries/find-voice-by-id.query.js +17 -0
  220. package/build/tts/queries/find-voices.query.d.ts +122 -0
  221. package/build/tts/queries/find-voices.query.js +25 -0
  222. package/build/tts/queries/get-tts-config-with-vendors.query.d.ts +2 -0
  223. package/build/tts/queries/get-tts-config.query.d.ts +22 -0
  224. package/build/tts/queries/index.d.ts +2 -0
  225. package/build/tts/queries/index.js +2 -0
  226. package/build/tts/routes/tts.amqp.routes.d.ts +9 -0
  227. package/build/tts/routes/tts.amqp.routes.js +9 -0
  228. package/package.json +1 -1
@@ -7,7 +7,7 @@ export declare namespace GenerateMusicCommand {
7
7
  unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
8
  actionType: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof MUSIC_GENERATION_ACTION_TYPE>>>;
9
9
  modelId: z.ZodString;
10
- params: z.ZodDiscriminatedUnion<[z.ZodObject<{
10
+ params: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
11
11
  mode: z.ZodLiteral<import("..").SUNO_MODE_TYPE.SIMPLE>;
12
12
  prompt: z.ZodString;
13
13
  style: z.ZodString;
@@ -24,7 +24,11 @@ export declare namespace GenerateMusicCommand {
24
24
  }, z.core.$strip>, z.ZodObject<{
25
25
  mode: z.ZodLiteral<import("..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL>;
26
26
  style: z.ZodString;
27
- }, z.core.$strip>], "mode">;
27
+ }, z.core.$strip>], "mode">, z.ZodObject<{
28
+ prompt: z.ZodString;
29
+ style: z.ZodOptional<z.ZodString>;
30
+ structure: z.ZodEnum<typeof import("..").MUSIC_LYRICS_STRUCTURE>;
31
+ }, z.core.$strip>]>;
28
32
  tokenReservationId: z.ZodString;
29
33
  precalculatedPrice: z.ZodNumber;
30
34
  userHasActiveSubscriptionOrProduct: z.ZodBoolean;
@@ -61,6 +65,10 @@ export declare namespace GenerateMusicCommand {
61
65
  } | {
62
66
  mode: import("..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL;
63
67
  style: string;
68
+ } | {
69
+ prompt: string;
70
+ style?: string | undefined;
71
+ structure: import("..").MUSIC_LYRICS_STRUCTURE;
64
72
  } | {
65
73
  audioId: string;
66
74
  uploadUrl: string;
@@ -130,6 +138,8 @@ export declare namespace GenerateMusicCommand {
130
138
  createdAt: Date;
131
139
  completedAt?: Date | null | undefined;
132
140
  updatedAt: Date;
141
+ actionType: import("..").MUSIC_AUDIO_ACTION_TYPE | MUSIC_GENERATION_ACTION_TYPE;
142
+ lyrics?: string | null | undefined;
133
143
  }, unknown, z.core.$ZodTypeInternals<{
134
144
  uuid: string;
135
145
  prompt: string;
@@ -158,6 +168,10 @@ export declare namespace GenerateMusicCommand {
158
168
  } | {
159
169
  mode: import("..").SUNO_MODE_TYPE.CUSTOM_INSTRUMENTAL;
160
170
  style: string;
171
+ } | {
172
+ prompt: string;
173
+ style?: string | undefined;
174
+ structure: import("..").MUSIC_LYRICS_STRUCTURE;
161
175
  } | {
162
176
  audioId: string;
163
177
  uploadUrl: string;
@@ -227,6 +241,8 @@ export declare namespace GenerateMusicCommand {
227
241
  createdAt: Date;
228
242
  completedAt?: Date | null | undefined;
229
243
  updatedAt: Date;
244
+ actionType: import("..").MUSIC_AUDIO_ACTION_TYPE | MUSIC_GENERATION_ACTION_TYPE;
245
+ lyrics?: string | null | undefined;
230
246
  }, unknown>>>;
231
247
  code: z.ZodOptional<z.ZodString>;
232
248
  message: z.ZodOptional<z.ZodString>;
@@ -18,7 +18,7 @@ var GenerateMusicCommand;
18
18
  .optional()
19
19
  .default(enums_1.MUSIC_GENERATION_ACTION_TYPE.GENERATE),
20
20
  modelId: zod_1.z.string(),
21
- params: models_1.MusicJobParamsSchema,
21
+ params: zod_1.z.union([models_1.MusicJobParamsSchema, models_1.MusicLyricsParamsSchema]),
22
22
  tokenReservationId: zod_1.z.string().uuid(),
23
23
  precalculatedPrice: zod_1.z.number(),
24
24
  userHasActiveSubscriptionOrProduct: zod_1.z.boolean(),
@@ -1,7 +1,9 @@
1
1
  import { z } from 'zod';
2
+ import { MUSIC_GENERATION_ACTION_TYPE } from '../enums';
2
3
  export declare namespace GetMusicPriceCommand {
3
4
  const RequestSchema: z.ZodObject<{
4
5
  modelId: z.ZodString;
6
+ actionType: z.ZodOptional<z.ZodEnum<typeof MUSIC_GENERATION_ACTION_TYPE>>;
5
7
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
8
  unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
9
  params: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -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
- trackId: z.ZodString;
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
- tracks?: {
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
- audioId: string;
19
- audioUrl: string;
20
- audioFile?: {
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
- url: string;
23
- mimeType: string;
24
- duration: number | null;
25
- originalName?: string | null | undefined;
26
- } | null | undefined;
27
- coverUrl: string;
28
- prompt: string | null;
29
- fullLyrics?: string | null | undefined;
30
- tags: string;
31
- duration: number;
32
- waveformPeaks: number[];
33
- isPublished?: boolean | undefined;
34
- postId?: string | null | undefined;
35
- genJobId?: string | null | undefined;
36
- editorJobId?: string | null | undefined;
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
- trackCount: number;
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
- tracks?: {
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
- audioId: string;
52
- audioUrl: string;
53
- audioFile?: {
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
- url: string;
56
- mimeType: string;
57
- duration: number | null;
58
- originalName?: string | null | undefined;
59
- } | null | undefined;
60
- coverUrl: string;
61
- prompt: string | null;
62
- fullLyrics?: string | null | undefined;
63
- tags: string;
64
- duration: number;
65
- waveformPeaks: number[];
66
- isPublished?: boolean | undefined;
67
- postId?: string | null | undefined;
68
- genJobId?: string | null | undefined;
69
- editorJobId?: string | null | undefined;
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
- trackCount: number;
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
- trackId: zod_1.z.string().uuid(),
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>;