cmd-control-client-lib 3.0.43 → 3.0.44

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.
@@ -5,12 +5,20 @@ import { MediaFile, MediaMd5 } from "./message";
5
5
  export declare type MayHaveChannelId = {
6
6
  channelId?: string;
7
7
  };
8
+ export declare enum ChannelMediaLinkState {
9
+ NONE = "NONE",
10
+ FREE = "FREE",
11
+ OFFER = "OFFER",
12
+ PAID = "PAID"
13
+ }
8
14
  /**
9
15
  * media info, may have a channel id
10
16
  */
11
17
  export declare class CMDC_CMEDIA implements ICOMMAND {
12
18
  action: ACTION;
13
- params: MayHaveChannelId & MediaFile;
19
+ params: MediaFile & MayHaveChannelId & {
20
+ linkState?: ChannelMediaLinkState;
21
+ };
14
22
  }
15
23
  /**
16
24
  * check for media already was uploaded.
@@ -42,7 +42,7 @@ export declare class CMDP_SUPLOADMEDIA implements ICOMMAND {
42
42
  params: baseParamsType & MessageParams & UploadServiceReadOnlyParams & MediaOffer;
43
43
  }
44
44
  /**
45
- * Response for CMDP_INIT
45
+ * Response for CMDP_SUPLOADMEDIA
46
46
  */
47
47
  export declare class CMDP_SUPLOADMEDIA_RESPONSE extends CMDP_SUPLOADMEDIA implements IRESPONSE, IBACKENDPAYLOAD {
48
48
  result: RESULT;
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.43",
4
+ "version": "3.0.44",
5
5
  "directories": {
6
6
  "lib": "./dist"
7
7
  },