cmd-control-client-lib 3.0.46 → 3.0.57

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.
@@ -1,4 +1,4 @@
1
- import { JSONString } from "../@types";
1
+ import { JSONString, EnumQueryBackendSubAction } from "../@types";
2
2
  import { IMayHaveChannelId, usrKeyType } from "./channel";
3
3
  import { ACTION } from "./command/action";
4
4
  import { baseParamsType } from "./command/baseparams";
@@ -13,12 +13,15 @@ export interface IBackEndPayload {
13
13
  export interface IBACKENDPAYLOAD {
14
14
  payload?: unknown;
15
15
  }
16
+ declare type TSubActionParams = {
17
+ subaction: EnumQueryBackendSubAction;
18
+ };
16
19
  /**
17
20
  * common command for take a backend action
18
21
  */
19
22
  export declare class CMDP_QUERYBACKEND implements ICOMMAND, IBACKENDPAYLOAD {
20
23
  action: ACTION;
21
- params: baseParamsType;
24
+ params: TSubActionParams & baseParamsType;
22
25
  /** if jwt-session, any json-payload for transport to backend */
23
26
  payload?: JSONString<any>;
24
27
  }
@@ -46,3 +49,4 @@ export declare class CMDP_BACKENDPAYLOAD implements ICOMMAND, IBACKENDPAYLOAD {
46
49
  params: IMayHaveChannelId & usrKeyType & IKeyMaybeValue;
47
50
  payload?: IBackEndPayload;
48
51
  }
52
+ export {};
@@ -131,7 +131,8 @@ export declare enum ChatFlags {
131
131
  TIP = "TIP",
132
132
  GUESTCHAT = "GUESTCHAT",
133
133
  MOBILE = "MOBILE",
134
- FLATRATE = "FLATRATE"
134
+ FLATRATE = "FLATRATE",
135
+ SINGLEC2C = "SINGLEC2C"
135
136
  }
136
137
  export declare class SChatInfo implements IKeyMaybeValue {
137
138
  [key: string]: string;
@@ -1,6 +1,6 @@
1
1
  import { ACTION } from "./command/action";
2
2
  import { baseParamsType } from "./command/baseparams";
3
- import { ICOMMAND, IKeyMaybeValue } from "./command/icommand";
3
+ import { ICOMMAND, IKeyMaybeValue, IRESPONSE, RESULT } from "./command/icommand";
4
4
  import { MediaFile, MediaMd5 } from "./message";
5
5
  export declare type MayHaveChannelId = {
6
6
  channelId?: string;
@@ -32,7 +32,8 @@ export declare class CMDP_SCHECKUPLOADEDMEDIA implements ICOMMAND {
32
32
  /**
33
33
  * media infos, if any found in cache
34
34
  */
35
- export declare class CMDP_SCHECKUPLOADEDMEDIA_RESPONSE extends CMDP_SCHECKUPLOADEDMEDIA {
35
+ export declare class CMDP_SCHECKUPLOADEDMEDIA_RESPONSE extends CMDP_SCHECKUPLOADEDMEDIA implements IRESPONSE {
36
+ result: RESULT;
36
37
  commands: CMDC_CMEDIA[];
37
38
  values: IKeyMaybeValue;
38
39
  }
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.46",
4
+ "version": "3.0.57",
5
5
  "directories": {
6
6
  "lib": "./dist"
7
7
  },