cmd-control-client-lib 3.0.94 → 3.0.96

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.
@@ -37,6 +37,7 @@ export declare enum ResultCode {
37
37
  UNKNOWN_ERROR = 6001,
38
38
  INVALID_WEB_TOKEN = 6002,
39
39
  NO_CREDIT_VIDEOCHAT = 6106,
40
+ ACCESS_DENIED_BAN = 6201,
40
41
  MODEL_IS_OFFLINE = 6403,
41
42
  SOFT_CHAT = 6601,
42
43
  PREVIEW_LIMIT_EXCEEDED = 6401,
@@ -1,7 +1,7 @@
1
1
  import { ACTION } from "./command/action";
2
2
  import { baseParamsType } from "./command/baseparams";
3
3
  import { ICOMMAND, IKeyMaybeValue, IRESPONSE, RESULT } from "./command/icommand";
4
- import { MediaFile, MediaMd5, MediaPrice } from "./message";
4
+ import { MediaFile, MediaMd5, MediaPrice, EnumMediaType } from "./message";
5
5
  export declare type MayHaveChannelId = {
6
6
  channelId?: string;
7
7
  };
@@ -12,6 +12,11 @@ export declare enum ChannelMediaLinkState {
12
12
  PAID = "PAID",
13
13
  EXPIRED = "EXPIRED"
14
14
  }
15
+ export declare enum UploadedMediaDirection {
16
+ IN = "in",
17
+ OUT = "out",
18
+ ANY = "any"
19
+ }
15
20
  /**
16
21
  * media info, may have a channel id
17
22
  */
@@ -42,10 +47,10 @@ export declare class CMDP_SCHECKUPLOADEDMEDIA_RESPONSE extends CMDP_SCHECKUPLOAD
42
47
  export declare class CMDP_SGETUPLOADEDMEDIA implements ICOMMAND {
43
48
  action: ACTION;
44
49
  params: baseParamsType & MayHaveChannelId & {
45
- mediaType?: string;
46
- skip?: string;
47
- limit?: string;
48
- direction?: "in" | "out" | "any";
50
+ mediaType?: EnumMediaType;
51
+ skip?: number;
52
+ limit?: number;
53
+ direction?: UploadedMediaDirection;
49
54
  };
50
55
  }
51
56
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cmd-control-client-lib",
3
3
  "description": "Cmd-Client-Library",
4
- "version": "3.0.94",
4
+ "version": "3.0.96",
5
5
  "directories": {
6
6
  "lib": "./dist"
7
7
  },