revdev 0.264.0 → 0.266.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.
@@ -26,9 +26,10 @@ export interface BoSmmCampaignRecord {
26
26
  }
27
27
  export interface BoSmmPostRecord {
28
28
  id: string;
29
- word: WordGen;
30
- campaign: NameGen;
31
- channel: NameGen;
29
+ word?: WordGen;
30
+ campaign?: NameGen;
31
+ channel?: NameGen;
32
32
  created: string;
33
- url: string;
33
+ url?: string;
34
+ error?: string;
34
35
  }
@@ -42,6 +42,7 @@ export interface BoSmmChannelFeedRequest extends FeedRequest {
42
42
  }
43
43
  export interface BoSmmPostFeedRequest extends FeedRequest {
44
44
  channelId?: string;
45
+ hasError?: boolean;
45
46
  }
46
47
  export interface BoSmmCustomPostRequest {
47
48
  channelId: string;
@@ -37,5 +37,6 @@ export declare enum ExceptionCodes {
37
37
  MaxWordImagePinsExceeded = "MaxWordImagePinsExceeded",
38
38
  SimilarRecordAlreadyExists = "SimilarRecordAlreadyExists",
39
39
  ErrorText = "ErrorText",
40
- SmmChannelIsNotActive = "SmmChannelIsNotActive"
40
+ SmmChannelIsNotActive = "SmmChannelIsNotActive",
41
+ SmmPostWordWithoutTranslation = "SmmPostWordWithoutTranslation"
41
42
  }
@@ -47,4 +47,5 @@ var ExceptionCodes;
47
47
  ExceptionCodes["ErrorText"] = "ErrorText";
48
48
  // smm
49
49
  ExceptionCodes["SmmChannelIsNotActive"] = "SmmChannelIsNotActive";
50
+ ExceptionCodes["SmmPostWordWithoutTranslation"] = "SmmPostWordWithoutTranslation";
50
51
  })(ExceptionCodes = exports.ExceptionCodes || (exports.ExceptionCodes = {}));
@@ -11,6 +11,9 @@ export interface IdRequest {
11
11
  export interface IdMultiRequest {
12
12
  id: string | string[];
13
13
  }
14
+ export interface WordIdRequest {
15
+ wordId: string;
16
+ }
14
17
  export interface WordIdsRequest {
15
18
  wordIds: string[];
16
19
  }
@@ -4,5 +4,6 @@ export interface AiTextResponse {
4
4
  }
5
5
  export interface AIWordTagsItem {
6
6
  tag: string;
7
+ originalTag: string;
7
8
  rate: number;
8
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev",
3
- "version": "0.264.0",
3
+ "version": "0.266.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",