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.
package/dist/protocol/media.d.ts
CHANGED
|
@@ -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 &
|
|
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
|
|
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;
|