cmd-control-client-lib 3.0.108 → 3.0.111

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.
@@ -42,4 +42,5 @@ export * from "./protocol/live/ticketshow";
42
42
  export * from "./protocol/messenger/expo";
43
43
  export * from "./protocol/messenger/signup";
44
44
  export * from "./protocol/single-c2c";
45
+ export * from "./protocol/status";
45
46
  export { SupportedLanguage, CmdClientAgent, EnumFormatValues, baseParamsType } from "./protocol/command/baseparams";
@@ -146,5 +146,8 @@ export declare enum ACTION {
146
146
  CMDP_SGETCHATSSUMMARY = "CMDP_SGETCHATSSUMMARY",
147
147
  CMDP_GETLIVEHISTORY = "CMDP_GETLIVEHISTORY",
148
148
  CMDC_LIVESESSION = "CMDC_LIVESESSION",
149
- CMDC_LIVECHAT = "CMDC_LIVECHAT"
149
+ CMDC_LIVECHAT = "CMDC_LIVECHAT",
150
+ CMDC_STATUS = "CMDC_STATUS",
151
+ CMDC_CHANNELMEDIASUMMARY = "CMDC_CHANNELMEDIASUMMARY",
152
+ CMDP_SGETCHANNELDMEDIASUMMARY = "CMDP_SGETCHANNELDMEDIASUMMARY"
150
153
  }
@@ -1,4 +1,5 @@
1
1
  import { EnumBooleanStringified } from "../../@types/enum-boolean-stringified";
2
+ import { ComaSeparatedValues } from "../sessionstate";
2
3
  export declare enum SupportedLanguage {
3
4
  DE = "de",
4
5
  EN = "en",
@@ -14,7 +15,7 @@ export declare enum EnumFormatValues {
14
15
  PLAIN = "plain"
15
16
  }
16
17
  export declare type baseParamsType = {
17
- [key: string]: string;
18
+ [key: string]: string | ComaSeparatedValues<string>;
18
19
  /** your app instance id, internal */
19
20
  _iid?: string;
20
21
  /** your app type */
@@ -3,7 +3,7 @@ import { IMayHaveChannelId } 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 { EnumBooleanDigitized, EnumBooleanStringified, EnumBooleanStringifiedExtended, EnumStreamStatusType } from "../../@types";
6
+ import { EnumBooleanDigitized, EnumBooleanStringified, EnumBooleanStringifiedExtended } from "../../@types";
7
7
  export declare class CMDP_STARTSEND implements ICOMMAND {
8
8
  action: ACTION;
9
9
  params: baseParamsType & {
@@ -34,18 +34,6 @@ export declare class CMDP_STOPSEND_RESPONSE extends CMDP_STOPSEND implements IRE
34
34
  commands: ICOMMAND[];
35
35
  values: IKeyMaybeValue;
36
36
  }
37
- export declare class CMDP_SSTATUS implements ICOMMAND {
38
- action: ACTION;
39
- params: baseParamsType & {
40
- type: EnumStreamStatusType;
41
- value: string;
42
- };
43
- }
44
- export declare class CMDP_SSTATUS_RESPONSE extends CMDP_SSTATUS implements IRESPONSE {
45
- result: RESULT;
46
- commands: ICOMMAND[];
47
- values: IKeyMaybeValue;
48
- }
49
37
  export declare class CMDP_TRACERT_REPLY implements ICOMMAND {
50
38
  action: ACTION;
51
39
  params: baseParamsType & {
@@ -1,3 +1,4 @@
1
+ import { channelIdType } from "./channel";
1
2
  import { ACTION } from "./command/action";
2
3
  import { baseParamsType } from "./command/baseparams";
3
4
  import { ICOMMAND, IKeyMaybeValue, IRESPONSE, RESULT } from "./command/icommand";
@@ -63,3 +64,33 @@ export declare class CMDP_SGETUPLOADEDMEDIA_RESPONSE extends CMDP_SGETUPLOADEDME
63
64
  commands: CMDC_CMEDIA[];
64
65
  values: IKeyMaybeValue;
65
66
  }
67
+ export declare class CMDC_CHANNELMEDIASUMMARY implements ICOMMAND {
68
+ action: ACTION;
69
+ params: MediaFile & channelIdType & {
70
+ outAll: string;
71
+ outSold: string;
72
+ outOffer: string;
73
+ outVideo: string;
74
+ outAudio: string;
75
+ outBitmap: string;
76
+ inAll: string;
77
+ inSold: string;
78
+ inOffer: string;
79
+ inVideo: string;
80
+ inAudio: string;
81
+ inBitmap: string;
82
+ };
83
+ }
84
+ /** query media summary for channels */
85
+ export declare class CMDP_SGETCHANNELDMEDIASUMMARY implements ICOMMAND {
86
+ action: ACTION;
87
+ params: baseParamsType & channelIdType;
88
+ }
89
+ /**
90
+ * response
91
+ */
92
+ export declare class CMDP_SGETCHANNELDMEDIASUMMARY_RESPONSE extends CMDP_SGETCHANNELDMEDIASUMMARY implements IRESPONSE {
93
+ result: RESULT;
94
+ commands: CMDC_CHANNELMEDIASUMMARY[];
95
+ values: IKeyMaybeValue;
96
+ }
@@ -0,0 +1,26 @@
1
+ import { EnumStreamStatusType } from "../@types";
2
+ import { ICOMMAND, ACTION, baseParamsType, IRESPONSE, RESULT, IKeyMaybeValue } from "../cmd-protocol";
3
+ export declare class CMDC_STATUS implements ICOMMAND {
4
+ action: ACTION;
5
+ params: IKeyMaybeValue & {
6
+ [key: string]: string;
7
+ proxyStateInfo?: string;
8
+ channelId?: string;
9
+ chatID?: string;
10
+ };
11
+ }
12
+ /** */
13
+ export declare class CMDP_SSTATUS implements ICOMMAND {
14
+ action: ACTION;
15
+ params: baseParamsType & {
16
+ type: EnumStreamStatusType;
17
+ value: string;
18
+ channelId?: string;
19
+ chatIDs: string;
20
+ };
21
+ }
22
+ export declare class CMDP_SSTATUS_RESPONSE extends CMDP_SSTATUS implements IRESPONSE {
23
+ result: RESULT;
24
+ commands: ICOMMAND[];
25
+ values: IKeyMaybeValue;
26
+ }
@@ -7,5 +7,7 @@ import { SessionState } from "./sessionstate";
7
7
  */
8
8
  export declare class CMDC_UPDATE implements ICOMMAND {
9
9
  action: ACTION;
10
- params: ChatState | SessionState;
10
+ params: (ChatState | SessionState) & {
11
+ proxyStreamInfo?: string;
12
+ };
11
13
  }
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.108",
4
+ "version": "3.0.111",
5
5
  "directories": {
6
6
  "lib": "./dist"
7
7
  },