revdev 0.260.0 → 0.262.0

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.
@@ -43,3 +43,8 @@ export interface BoSmmChannelFeedRequest extends FeedRequest {
43
43
  export interface BoSmmPostFeedRequest extends FeedRequest {
44
44
  channelId?: string;
45
45
  }
46
+ export interface BoSmmCustomPostRequest {
47
+ channelId: string;
48
+ text: string;
49
+ base64Image?: string;
50
+ }
@@ -3,3 +3,6 @@ export interface ImageGen {
3
3
  fileName: string;
4
4
  thumbnailFileName: string;
5
5
  }
6
+ export interface Base64Image {
7
+ content: string;
8
+ }
@@ -0,0 +1,4 @@
1
+ export interface AiTextResponse {
2
+ content: string;
3
+ choices: string[];
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * from "./request";
2
+ export * from "./entity";
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./request"), exports);
14
+ __exportStar(require("./entity"), exports);
@@ -0,0 +1,7 @@
1
+ export interface AiTextRequest {
2
+ systemContent?: string;
3
+ userContent: string;
4
+ }
5
+ export interface AiImageRequest {
6
+ prompt: string;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -7,3 +7,4 @@ export * from "./tran";
7
7
  export * from "./general";
8
8
  export * from "./wordImage";
9
9
  export * from "./auth";
10
+ export * from "./ai";
@@ -19,3 +19,4 @@ __exportStar(require("./tran"), exports);
19
19
  __exportStar(require("./general"), exports);
20
20
  __exportStar(require("./wordImage"), exports);
21
21
  __exportStar(require("./auth"), exports);
22
+ __exportStar(require("./ai"), exports);
@@ -1,3 +1,7 @@
1
+ import { Base64Image } from "../../common";
1
2
  export interface UploadWordImageRequest {
2
3
  wordId: string;
3
4
  }
5
+ export interface UploadWordImageBase64Request extends Base64Image {
6
+ wordId: string;
7
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev",
3
- "version": "0.260.0",
3
+ "version": "0.262.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",