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.
package/dist/protocol/media.d.ts
CHANGED
|
@@ -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?:
|
|
46
|
-
skip?:
|
|
47
|
-
limit?:
|
|
48
|
-
direction?:
|
|
50
|
+
mediaType?: EnumMediaType;
|
|
51
|
+
skip?: number;
|
|
52
|
+
limit?: number;
|
|
53
|
+
direction?: UploadedMediaDirection;
|
|
49
54
|
};
|
|
50
55
|
}
|
|
51
56
|
/**
|