cmd-control-client-lib 3.0.99 → 3.0.101

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.
@@ -27,8 +27,9 @@ export * from "./protocol/mediaoffer";
27
27
  export * from "./protocol/media-b2b";
28
28
  export * from "./protocol/update-state";
29
29
  export * from "./protocol/b2b/b2buserinfo";
30
- export * from "./protocol/live/live-commands";
31
30
  export * from "./protocol/systemmessagekey";
31
+ export * from "./protocol/live/channelgroups";
32
+ export * from "./protocol/live/live-commands";
32
33
  export * from "./protocol/live/login";
33
34
  export * from "./protocol/live/devicestatus";
34
35
  export * from "./protocol/live/supdate";
@@ -149,6 +149,8 @@ export declare type getChannelsParamsType = {
149
149
  channelInfo?: EnumBooleanStringifiedExtended;
150
150
  /** get CMDC_ONLINESTATE in commands */
151
151
  onlineState?: EnumBooleanStringifiedExtended;
152
+ /** get CMDC_CHANNELGROUP in commands */
153
+ groupInfo?: EnumBooleanStringifiedExtended;
152
154
  /** search for contact-name, default empty */
153
155
  contactSearch?: string;
154
156
  sort: EnumSortOrder;
@@ -129,10 +129,12 @@ export declare enum ACTION {
129
129
  CMDC_MSETTINGS = "CMDC_MSETTINGS",
130
130
  CMDP_SDELETE_USER = "CMDP_SDELETE_USER",
131
131
  CMDC_GROUP = "CMDC_GROUP",
132
+ CMDC_CHANNELGROUP = "CMDC_CHANNELGROUP",
132
133
  CMDP_SGETGROUPS = "CMDP_SGETGROUPS",
133
134
  CMDP_SADDGROUP = "CMDP_SADDGROUP",
134
- CMDP_SDELGROUP = "CMDP_SDELGROUP",
135
+ CMDP_SUPDATEGROUP = "CMDP_SUPDATEGROUP",
135
136
  CMDP_SGETGROUPCHANNELS = "CMDP_SGETGROUPCHANNELS",
137
+ CMDP_SGETCHANNELGROUPS = "CMDP_SGETCHANNELGROUPS",
136
138
  CMDP_SADDCHANNELTOGROUP = "CMDP_SADDCHANNELTOGROUP",
137
139
  CMDP_SDELLCHANNELFROMGROUP = "CMDP_SDELLCHANNELFROMGROUP",
138
140
  CMDC_CTICKETSHOW = "CMDC_CTICKETSHOW",
@@ -0,0 +1,94 @@
1
+ import { EnumBooleanStringified } from "../../@types";
2
+ import { channelIdType, CMDC_CHANNEL } from "../channel";
3
+ import { ACTION } from "../command/action";
4
+ import { baseParamsType } from "../command/baseparams";
5
+ import { ICOMMAND, IKeyMaybeValue, IRESPONSE, RESULT } from "../command/icommand";
6
+ export declare type groupIdType = {
7
+ /** id */
8
+ groupId: string;
9
+ };
10
+ export declare type groupType = groupIdType & {
11
+ /** display name */
12
+ groupName: string;
13
+ /** create datetime */
14
+ groupCreated: string;
15
+ /** channel counter */
16
+ groupChannels: string;
17
+ };
18
+ export declare class CMDC_GROUP implements ICOMMAND {
19
+ action: ACTION;
20
+ params: groupType;
21
+ }
22
+ export declare class CMDC_CHANNELGROUP extends CMDC_GROUP {
23
+ action: ACTION;
24
+ params: IKeyMaybeValue & groupType & channelIdType & {
25
+ /** inform deleted channel from group */
26
+ isDeleted?: EnumBooleanStringified;
27
+ };
28
+ }
29
+ export declare class CMDP_SGETGROUPS implements ICOMMAND {
30
+ action: ACTION;
31
+ params: baseParamsType;
32
+ }
33
+ export declare class CMDP_SGETGROUPS_RESPONSE extends CMDP_SGETGROUPS implements IRESPONSE {
34
+ result: RESULT;
35
+ commands: CMDC_GROUP[];
36
+ values: IKeyMaybeValue;
37
+ }
38
+ export declare class CMDP_SADDGROUP implements ICOMMAND {
39
+ action: ACTION;
40
+ params: baseParamsType & {
41
+ groupName: string;
42
+ };
43
+ }
44
+ export declare class CMDP_SADDGROUP_RESPONSE extends CMDP_SADDGROUP {
45
+ commands: CMDC_GROUP;
46
+ values: IKeyMaybeValue;
47
+ }
48
+ export declare class CMDP_SUPDATEGROUP implements ICOMMAND {
49
+ action: ACTION;
50
+ params: baseParamsType & groupIdType & {
51
+ /** set for change the display name */
52
+ groupName?: string;
53
+ /**set 0 to deactivate group, 1 to activate */
54
+ groupActive?: 0 | 1;
55
+ };
56
+ }
57
+ export declare class CMDP_SUPDATEGROUP_RESPONSE extends CMDP_SUPDATEGROUP {
58
+ commands: CMDC_GROUP[];
59
+ values: IKeyMaybeValue;
60
+ }
61
+ export declare class CMDP_SGETGROUPCHANNELS implements ICOMMAND {
62
+ action: ACTION;
63
+ params: baseParamsType;
64
+ }
65
+ export declare class CMDP_SGETGROUPCHANNELS_RESPONSE extends CMDP_SGETGROUPCHANNELS implements IRESPONSE {
66
+ result: RESULT;
67
+ commands: CMDC_CHANNEL[];
68
+ values: IKeyMaybeValue;
69
+ }
70
+ export declare class CMDP_SGETCHANNELGROUPS implements ICOMMAND {
71
+ action: ACTION;
72
+ params: baseParamsType & channelIdType;
73
+ }
74
+ export declare class CMDP_SGETCHANNELGROUPS_RESPONSE extends CMDP_SGETCHANNELGROUPS implements IRESPONSE {
75
+ result: RESULT;
76
+ commands: CMDC_CHANNELGROUP[];
77
+ values: IKeyMaybeValue;
78
+ }
79
+ export declare class CMDP_SADDCHANNELTOGROUP implements ICOMMAND {
80
+ action: ACTION;
81
+ params: baseParamsType & channelIdType & groupIdType;
82
+ }
83
+ export declare class CMDP_SADDCHANNELTOGROUP_RESPONSE extends CMDP_SADDCHANNELTOGROUP {
84
+ commands: CMDC_CHANNELGROUP[];
85
+ values: IKeyMaybeValue;
86
+ }
87
+ export declare class CMDP_SDELLCHANNELFROMGROUP implements ICOMMAND {
88
+ action: ACTION;
89
+ params: baseParamsType & channelIdType & groupIdType;
90
+ }
91
+ export declare class CMDP_SDELLCHANNELFROMGROUP_RESPONSE extends CMDP_SDELLCHANNELFROMGROUP {
92
+ commands: CMDC_CHANNELGROUP[];
93
+ values: IKeyMaybeValue;
94
+ }
@@ -160,7 +160,7 @@ export declare class SChatInfo implements IKeyMaybeValue {
160
160
  /** single ability */
161
161
  canSingle?: EnumBooleanDigitized;
162
162
  /** c2c ability */
163
- canSingle?: EnumBooleanDigitized;
163
+ canCam2Cam?: EnumBooleanDigitized;
164
164
  /** the category */
165
165
  ccl_cat2?: string;
166
166
  /** messenger channel id */
@@ -81,6 +81,8 @@ export declare type MediaInfo = MediaMd5 & {
81
81
  mediaType?: EnumMediaType | string;
82
82
  /** state of media attached */
83
83
  mediaState?: EnumMediaState | string;
84
+ /** datetime of media*/
85
+ mediaCreated?: string;
84
86
  };
85
87
  export declare type MediaPrice = Currency & {
86
88
  mediaPrice?: string;
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.99",
4
+ "version": "3.0.101",
5
5
  "directories": {
6
6
  "lib": "./dist"
7
7
  },
@@ -1,72 +0,0 @@
1
- import { CMDC_CHANNEL } from "./channel";
2
- import { ACTION } from "./command/action";
3
- import { baseParamsType } from "./command/baseparams";
4
- import { ICOMMAND, IKeyMaybeValue, IRESPONSE, RESULT } from "./command/icommand";
5
- export declare class CMDC_GROUP implements ICOMMAND {
6
- action: ACTION;
7
- params: {
8
- groupId: string;
9
- groupName: string;
10
- groupCreated: string;
11
- groupChannels: string;
12
- };
13
- }
14
- export declare class CMDP_SGETGROUPS implements ICOMMAND {
15
- action: ACTION;
16
- params: baseParamsType;
17
- }
18
- export declare class CMDP_SGETGROUPS_RESPONSE extends CMDP_SGETGROUPS implements IRESPONSE {
19
- result: RESULT;
20
- commands: CMDC_GROUP[];
21
- values: IKeyMaybeValue;
22
- }
23
- export declare class CMDP_SADDGROUP implements ICOMMAND {
24
- action: ACTION;
25
- params: baseParamsType & {
26
- groupName: string;
27
- };
28
- }
29
- export declare class CMDP_SADDGROUP_RESPONSE extends CMDP_SADDGROUP {
30
- commands: CMDC_GROUP;
31
- values: IKeyMaybeValue;
32
- }
33
- export declare class CMDP_SDELGROUP implements ICOMMAND {
34
- action: ACTION;
35
- params: baseParamsType & {
36
- groupId: string;
37
- };
38
- }
39
- export declare class CMDP_SDELGROUP_RESPONSE extends CMDP_SDELGROUP {
40
- commands: ICOMMAND[];
41
- values: IKeyMaybeValue;
42
- }
43
- export declare class CMDP_SGETGROUPCHANNELS implements ICOMMAND {
44
- action: ACTION;
45
- params: baseParamsType;
46
- }
47
- export declare class CMDP_SGETGROUPCHANNELS_RESPONSE extends CMDP_SGETGROUPCHANNELS implements IRESPONSE {
48
- result: RESULT;
49
- commands: CMDC_CHANNEL[];
50
- values: IKeyMaybeValue;
51
- }
52
- export declare class CMDP_SADDCHANNELTOGROUP implements ICOMMAND {
53
- action: ACTION;
54
- params: baseParamsType & {
55
- groupName: string;
56
- };
57
- }
58
- export declare class CMDP_SADDCHANNELTOGROUP_RESPONSE extends CMDP_SADDCHANNELTOGROUP {
59
- commands: ICOMMAND[];
60
- values: IKeyMaybeValue;
61
- }
62
- export declare class CMDP_SDELLCHANNELFROMGROUP implements ICOMMAND {
63
- action: ACTION;
64
- params: baseParamsType & {
65
- groupId: string;
66
- channelId: string;
67
- };
68
- }
69
- export declare class CMDP_SDELLCHANNELFROMGROUP_RESPONSE extends CMDP_SDELLCHANNELFROMGROUP {
70
- commands: ICOMMAND[];
71
- values: IKeyMaybeValue;
72
- }