cmd-control-client-lib 3.0.67 → 3.0.74

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.
@@ -22,8 +22,9 @@ export declare type channelIdType = {
22
22
  };
23
23
  /**
24
24
  * Type that may or may not have `channelId` field
25
+ * ONLY channel ID, not other fields!
25
26
  */
26
- export interface IMayHaveChannelId extends IKeyMaybeValue {
27
+ export interface IMayHaveChannelId {
27
28
  channelId?: string;
28
29
  }
29
30
  export declare type usrKeyType = {
@@ -318,24 +318,25 @@ export declare enum QueryUserKeyEnum {
318
318
  SINGLE = "single",
319
319
  SINGLEC2C = "singleC2C"
320
320
  }
321
+ export interface IQueryUserParams extends IKeyMaybeValue {
322
+ queryId: string;
323
+ key: QueryUserKeyEnum;
324
+ caption: string;
325
+ text: string;
326
+ btn0: string;
327
+ btn1: string;
328
+ timeout: string;
329
+ sound: string;
330
+ btnDefault: EnumBooleanDigitized;
331
+ btndef: "btn0" | "btn1";
332
+ }
321
333
  export declare class CMDC_QUERYUSER implements ICOMMAND {
322
334
  action: ACTION;
323
- params: IMayHaveChannelId & {
324
- queryId: string;
325
- key: QueryUserKeyEnum;
326
- caption: string;
327
- text: string;
328
- btn0: string;
329
- btn1: string;
330
- timeout: string;
331
- sound: string;
332
- btnDefault: EnumBooleanDigitized;
333
- btndef: "btn0" | "btn1";
334
- };
335
+ params: IMayHaveChannelId & IQueryUserParams;
335
336
  }
336
337
  export declare class CMDP_QUERYUSER implements ICOMMAND {
337
338
  action: ACTION;
338
- params: baseParamsType & chatIdType & {
339
+ params: baseParamsType & chatIdType & IMayHaveChannelId & {
339
340
  key: QueryUserKeyEnum;
340
341
  button: EnumBooleanDigitized;
341
342
  queryId: string;
@@ -27,6 +27,7 @@ export declare class MSetting {
27
27
  type: MSettingValueTypeEnum;
28
28
  isDisabled: boolean;
29
29
  isReadOnly: boolean;
30
+ isOnlineChangeAllowed: boolean;
30
31
  }
31
32
  export declare class MSettingFloat extends MSetting {
32
33
  type: MSettingValueTypeEnum.FLOAT;
@@ -49,7 +49,8 @@ export declare class CMDP_SGETUPLOADEDMEDIA implements ICOMMAND {
49
49
  /**
50
50
  * Media Info, if any found.
51
51
  */
52
- export declare class CMDP_SGETUPLOADEDMEDIA_RESPONSE extends CMDP_SGETUPLOADEDMEDIA {
52
+ export declare class CMDP_SGETUPLOADEDMEDIA_RESPONSE extends CMDP_SGETUPLOADEDMEDIA implements IRESPONSE {
53
+ result: RESULT;
53
54
  commands: CMDC_CMEDIA[];
54
55
  values: IKeyMaybeValue;
55
56
  }
@@ -183,7 +183,7 @@ export declare class CMDP_MSG_RESPONSE extends CMDP_MSG implements IRESPONSE {
183
183
  */
184
184
  export declare class CMDP_MSGDELETE implements ICOMMAND {
185
185
  action: ACTION;
186
- params: baseParamsType & channelIdType & MessageId;
186
+ params: baseParamsType & channelIdType & Partial<MessageId>;
187
187
  }
188
188
  /**
189
189
  * Response for CMDP_MSGDELETE
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.67",
4
+ "version": "3.0.74",
5
5
  "directories": {
6
6
  "lib": "./dist"
7
7
  },