revdev 0.335.0 → 0.337.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.
@@ -28,3 +28,7 @@ export interface BoListWordFeedRequest extends FeedRequest, WordFeedExtension {
28
28
  listId: string;
29
29
  hasTran?: boolean;
30
30
  }
31
+ export interface BoAddWordTranscriptionsRequest {
32
+ langCode: string;
33
+ wordIds: string[];
34
+ }
@@ -18,7 +18,7 @@ export interface BoSmmCampaignRecord {
18
18
  status: SmmCampaignStatus;
19
19
  channel: NameGen;
20
20
  list: NameGen;
21
- cronIntervalFormat: string;
21
+ cronExpression: string;
22
22
  timeZone: string;
23
23
  wordsPosted: number;
24
24
  wordsTotal: number;
@@ -9,24 +9,26 @@ export interface BoCreateSmmChannelRequest {
9
9
  meaningTemplate?: string;
10
10
  url: string;
11
11
  quizTemplate?: string;
12
+ transcriptionTemplate?: string;
12
13
  }
13
14
  export interface BoSmmChannelModifier extends BoCreateSmmChannelRequest {
14
15
  id: string;
15
16
  active: boolean;
16
17
  }
17
- export interface BoUpdateSmmChannelRequest extends Pick<BoCreateSmmChannelRequest, "providerId" | "url" | "postTemplate" | "meaningTemplate"> {
18
+ export interface BoUpdateSmmChannelRequest extends Pick<BoCreateSmmChannelRequest, "providerId" | "url" | "postTemplate" | "meaningTemplate" | "transcriptionTemplate"> {
18
19
  id: string;
19
20
  }
20
21
  export interface BoSmmCampaignFeedRequest extends FeedRequest {
21
22
  channelId?: string;
22
23
  active?: boolean;
23
24
  listId?: string;
25
+ type?: SmmCampaignType;
24
26
  }
25
27
  export interface BoCreateSmmCampaignRequest {
26
28
  name: string;
27
29
  channelId: string;
28
30
  listId: string;
29
- cronIntervalFormat: string;
31
+ cronExpression: string;
30
32
  timeZone: string;
31
33
  type: SmmCampaignType;
32
34
  }
@@ -34,7 +36,7 @@ export interface BoSmmCampaignModifier extends BoCreateSmmCampaignRequest {
34
36
  id: string;
35
37
  active: boolean;
36
38
  }
37
- export interface BoUpdateSmmCampaignRequest extends Pick<BoCreateSmmCampaignRequest, "name" | "cronIntervalFormat" | "timeZone" | "type"> {
39
+ export interface BoUpdateSmmCampaignRequest extends Pick<BoCreateSmmCampaignRequest, "name" | "cronExpression" | "timeZone" | "type"> {
38
40
  id: string;
39
41
  }
40
42
  export interface BoSmmChannelFeedRequest extends FeedRequest {
@@ -31,6 +31,7 @@ export interface WordFeedExtension {
31
31
  hasAudio?: boolean;
32
32
  hasTag?: boolean;
33
33
  tranLangCode?: string;
34
+ hasTranscription?: boolean;
34
35
  }
35
36
  export interface WordRelationFeedRequest extends Pick<Feed, "skip"> {
36
37
  wordId: string;
@@ -4,6 +4,7 @@ export interface WordGen {
4
4
  text: string;
5
5
  langCode: string;
6
6
  active: boolean;
7
+ transcription?: string;
7
8
  }
8
9
  export interface WordUserGen extends WordGen {
9
10
  knowing?: Knowing;
@@ -4,6 +4,7 @@ export interface CreateWordRequest {
4
4
  text: string;
5
5
  mode?: number;
6
6
  rate?: number;
7
+ transcription?: string;
7
8
  }
8
9
  export interface UpdateWordRequest extends CreateWordRequest {
9
10
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev",
3
- "version": "0.335.0",
3
+ "version": "0.337.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",