cmd-control-client-lib 3.0.171 → 3.0.173

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,7 +3,8 @@ import { channelIdType } from "./channel";
3
3
  import { ACTION } from "./command/action";
4
4
  import { baseParamsType } from "./command/baseparams";
5
5
  import { ICOMMAND, IKeyMaybeValue, IRESPONSE, RESULT } from "./command/icommand";
6
- import { MediaFile, MediaMd5, MediaPrice, EnumMediaType } from "./message";
6
+ import { MediaFile, MediaMd5, MediaPrice, EnumMediaType, EnumMediaState } from "./message";
7
+ import { ComaSeparatedValues } from "./sessionstate";
7
8
  export declare type MayHaveChannelId = {
8
9
  channelId?: string;
9
10
  };
@@ -12,7 +13,8 @@ export declare enum ChannelMediaLinkState {
12
13
  FREE = "FREE",
13
14
  OFFER = "OFFER",
14
15
  PAID = "PAID",
15
- EXPIRED = "EXPIRED"
16
+ EXPIRED = "EXPIRED",
17
+ CLOSED = "CLOSED"
16
18
  }
17
19
  export declare enum UploadedMediaDirection {
18
20
  IN = "in",
@@ -51,11 +53,12 @@ export declare class CMDP_SCHECKUPLOADEDMEDIA_RESPONSE extends CMDP_SCHECKUPLOAD
51
53
  export declare class CMDP_SGETUPLOADEDMEDIA implements ICOMMAND {
52
54
  action: ACTION;
53
55
  params: baseParamsType & MayHaveChannelId & {
54
- mediaType?: EnumMediaType;
56
+ mediaState?: EnumMediaState;
57
+ mediaType?: ComaSeparatedValues<EnumMediaType> | EnumMediaType;
58
+ linkState?: ComaSeparatedValues<ChannelMediaLinkState> | ChannelMediaLinkState;
55
59
  skip?: string;
56
60
  limit?: string;
57
61
  direction?: UploadedMediaDirection;
58
- linkState?: ChannelMediaLinkState;
59
62
  /** get only mediaMd5, channelId, linkState, linkDate, direction and cut off all mediaXXX fields, default is false */
60
63
  dropMediaFields?: EnumBooleanStringifiedExtended;
61
64
  countOnly?: EnumBooleanStringifiedExtended;
@@ -31,7 +31,9 @@ export declare enum SessionFlag {
31
31
  FREEMODE = "FREEMODE",
32
32
  PARTYMODE = "PARTYMODE",
33
33
  BBS24 = "BBS24",
34
- LOBBY_OPENED = "LOBBY_OPENED"
34
+ LOBBY_OPENED = "LOBBY_OPENED",
35
+ MOBILEVIDEOCALL = "MOBILEVIDEOCALL",
36
+ WEBSIP = "WEBSIP"
35
37
  }
36
38
  export declare enum InfoWizard {
37
39
  FIRSTTIME = "FIRST_TIME",
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.171",
4
+ "version": "3.0.173",
5
5
  "directories": {
6
6
  "lib": "./dist"
7
7
  },