@purpleschool/gptbot-tools 0.0.63 → 0.0.65

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.
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.IMAGE_EDITOR_ROUTES = exports.IMAGE_EDITOR_CONTROLLER = void 0;
4
4
  exports.IMAGE_EDITOR_CONTROLLER = 'image-editor';
5
5
  exports.IMAGE_EDITOR_ROUTES = {
6
- KIE_NANO_BANANA_CALLBACK: 'kie/nano-banana/callback',
6
+ KIE_NANO_BANANA_CALLBACK: '/kie/nano-banana/callback',
7
7
  };
@@ -4,4 +4,5 @@ exports.MUSIC_GENERATION_STRATEGY = void 0;
4
4
  var MUSIC_GENERATION_STRATEGY;
5
5
  (function (MUSIC_GENERATION_STRATEGY) {
6
6
  MUSIC_GENERATION_STRATEGY["SUNO_POLLING"] = "SUNO_POLLING";
7
+ MUSIC_GENERATION_STRATEGY["SUNO_CALLBACK"] = "SUNO_CALLBACK";
7
8
  })(MUSIC_GENERATION_STRATEGY || (exports.MUSIC_GENERATION_STRATEGY = MUSIC_GENERATION_STRATEGY = {}));
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./music.amqp.routes"), exports);
18
+ __exportStar(require("./music.http.routes"), exports);
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MUSIC_ROUTES = exports.MUSIC_CONTROLLER = void 0;
4
+ exports.MUSIC_CONTROLLER = 'music';
5
+ exports.MUSIC_ROUTES = {
6
+ KIE_SUNO_CALLBACK: '/kie/suno/callback',
7
+ };
@@ -1,5 +1,5 @@
1
1
  export const IMAGE_EDITOR_CONTROLLER = 'image-editor';
2
2
 
3
3
  export const IMAGE_EDITOR_ROUTES = {
4
- KIE_NANO_BANANA_CALLBACK: 'kie/nano-banana/callback',
4
+ KIE_NANO_BANANA_CALLBACK: '/kie/nano-banana/callback',
5
5
  };
@@ -1,3 +1,4 @@
1
1
  export enum MUSIC_GENERATION_STRATEGY {
2
2
  SUNO_POLLING = 'SUNO_POLLING',
3
+ SUNO_CALLBACK = 'SUNO_CALLBACK',
3
4
  }
@@ -1 +1,2 @@
1
1
  export * from './music.amqp.routes';
2
+ export * from './music.http.routes';
@@ -0,0 +1,5 @@
1
+ export const MUSIC_CONTROLLER = 'music';
2
+
3
+ export const MUSIC_ROUTES = {
4
+ KIE_SUNO_CALLBACK: '/kie/suno/callback',
5
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot-tools",
3
- "version": "0.0.63",
3
+ "version": "0.0.65",
4
4
  "main": "build/index.js",
5
5
  "types": "build/index.d.ts",
6
6
  "scripts": {