cmd-control-client-lib 3.0.217 → 3.0.223

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.
@@ -47,4 +47,5 @@ export * from "./protocol/status";
47
47
  export * from "./protocol/exit-code";
48
48
  export * from "./protocol/clivechat";
49
49
  export * from "./protocol/feedback";
50
+ export * from "./protocol/messenger/videosdk";
50
51
  export { SupportedLanguage, CmdClientAgent, EnumFormatValues, baseParamsType } from "./protocol/command/baseparams";
@@ -165,6 +165,11 @@ export declare enum ACTION {
165
165
  CMDC_STARTWEBSIP = "CMDC_STARTWEBSIP",
166
166
  CMDC_STOPWEBSIP = "CMDC_STOPWEBSIP",
167
167
  CMDP_WSA_ADDUPDATEUSER = "CMDP_WSA_ADDUPDATEUSER",
168
+ CMDP_WSA_DELETEUSER = "CMDP_WSA_DELETEUSER",
169
+ CMDP_WSA_GET_USERS = "CMDP_WSA_GET_USERS",
170
+ CMDC_WSA_USER = "CMDC_WSA_USER",
171
+ CMDP_WSA_GET_CLIENTS = "CMDP_WSA_GET_CLIENTS",
172
+ CMDC_WSA_CLIENT = "CMDC_WSA_CLIENT",
168
173
  CMDP_WSA_HEARTBEAT = "CMDP_WSA_HEARTBEAT",
169
174
  CMDP_DEEPL = "CMDP_DEEPL",
170
175
  CMDP_SGETSTREAMPARAMS = "CMDP_SGETSTREAMPARAMS",
@@ -12,8 +12,6 @@ export declare enum EnumPowerEstimation {
12
12
  export declare class CMDP_STARTSEND implements ICOMMAND {
13
13
  action: ACTION;
14
14
  params: baseParamsType & {
15
- hasAudio?: EnumBooleanDigitized;
16
- bandWidth?: string;
17
15
  capabilities?: string;
18
16
  };
19
17
  }
@@ -2,7 +2,7 @@ import { ACTION } from "./command/action";
2
2
  import { ICOMMAND, IKeyMaybeValue, IRESPONSE, RESULT } from "./command/icommand";
3
3
  import { baseParamsType } from "./command/baseparams";
4
4
  import { EnumBooleanStringified } from "../@types";
5
- export declare type wsaUser = {
5
+ export declare type wsaUserType = {
6
6
  id: string;
7
7
  username: string;
8
8
  password: string;
@@ -12,13 +12,64 @@ export declare type wsaUser = {
12
12
  /** command to asterisk*/
13
13
  export declare class CMDP_WSA_ADDUPDATEUSER implements ICOMMAND {
14
14
  action: ACTION.CMDP_WSA_ADDUPDATEUSER;
15
- params: baseParamsType & wsaUser;
15
+ params: wsaUserType;
16
16
  }
17
17
  export declare class CMDP_WSA_ADDUPDATEUSER_RESPONSE extends CMDP_WSA_ADDUPDATEUSER implements IRESPONSE {
18
18
  result: RESULT;
19
19
  values: IKeyMaybeValue;
20
20
  commands: ICOMMAND[];
21
21
  }
22
+ export declare class CMDP_WSA_DELETEUSER implements ICOMMAND {
23
+ action: ACTION.CMDP_WSA_DELETEUSER;
24
+ params: wsaUserType;
25
+ }
26
+ export declare class CMDP_WSA_DELETEUSER_RESPONSE extends CMDP_WSA_DELETEUSER implements IRESPONSE {
27
+ result: RESULT;
28
+ values: IKeyMaybeValue;
29
+ commands: ICOMMAND[];
30
+ }
31
+ export declare class CMDP_WSA_GET_USERS implements ICOMMAND {
32
+ action: ACTION.CMDP_WSA_GET_USERS;
33
+ params: IKeyMaybeValue;
34
+ }
35
+ export declare class CMDC_WSA_USER implements ICOMMAND {
36
+ action: ACTION.CMDC_WSA_USER;
37
+ params: {
38
+ objectName: string;
39
+ transport: string;
40
+ contacts: string;
41
+ deviceState: string;
42
+ activeChannels: string;
43
+ };
44
+ }
45
+ export declare class CMDP_WSA_GET_USERS_RESPONSE extends CMDP_WSA_GET_USERS implements IRESPONSE {
46
+ result: RESULT;
47
+ values: IKeyMaybeValue;
48
+ commands: CMDC_WSA_USER[];
49
+ }
50
+ export declare class CMDP_WSA_GET_CLIENTS implements ICOMMAND {
51
+ action: ACTION.CMDP_WSA_GET_CLIENTS;
52
+ params: IKeyMaybeValue;
53
+ }
54
+ export declare class CMDC_WSA_CLIENT implements ICOMMAND {
55
+ action: ACTION.CMDC_WSA_CLIENT;
56
+ params: {
57
+ callId: string;
58
+ endPoint: string;
59
+ expirationTime: string;
60
+ objectName: string;
61
+ qualifyTimeout: string;
62
+ roundripUsec: string;
63
+ status: string;
64
+ uri: string;
65
+ viaAddr: string;
66
+ };
67
+ }
68
+ export declare class CMDP_WSA_GET_CLIENTS_RESPONSE extends CMDP_WSA_GET_CLIENTS implements IRESPONSE {
69
+ result: RESULT;
70
+ values: IKeyMaybeValue;
71
+ commands: CMDC_WSA_CLIENT[];
72
+ }
22
73
  /** command from asterisk*/
23
74
  export declare class CMDP_WSA_HEARTBEAT implements ICOMMAND {
24
75
  action: ACTION.CMDP_WSA_HEARTBEAT;
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.217",
4
+ "version": "3.0.223",
5
5
  "directories": {
6
6
  "lib": "./dist"
7
7
  },