cmd-control-client-lib 3.0.162 → 3.0.164
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 { EnumBooleanStringified } from "../../@types";
|
|
1
|
+
import { EnumBooleanStringified, JSONString } from "../../@types";
|
|
2
2
|
import { channelIdType, CMDC_CHANNEL, EnumChannelFilterValues } from "../channel";
|
|
3
3
|
import { ACTION } from "../command/action";
|
|
4
4
|
import { baseParamsType } from "../command/baseparams";
|
|
@@ -7,6 +7,10 @@ export declare type groupIdType = {
|
|
|
7
7
|
/** id */
|
|
8
8
|
groupId: string;
|
|
9
9
|
};
|
|
10
|
+
export declare type groupDataType = {
|
|
11
|
+
key?: "ticketShow" | string;
|
|
12
|
+
auto_generated?: boolean;
|
|
13
|
+
};
|
|
10
14
|
export declare type groupType = groupIdType & {
|
|
11
15
|
/** display name */
|
|
12
16
|
groupName: string;
|
|
@@ -16,6 +20,8 @@ export declare type groupType = groupIdType & {
|
|
|
16
20
|
groupChannels: string;
|
|
17
21
|
/** status */
|
|
18
22
|
groupActive?: "0" | "1" | string;
|
|
23
|
+
/** JSON encoded GroupDataType*/
|
|
24
|
+
groupData?: JSONString<groupDataType>;
|
|
19
25
|
};
|
|
20
26
|
export declare class CMDC_GROUP implements ICOMMAND {
|
|
21
27
|
action: ACTION;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { channelIdSelector, channelIdType, IMayHaveChannelId } from "./channel";
|
|
1
|
+
import { channelIdSelector, channelIdType, getChannelsParamsType, IMayHaveChannelId } from "./channel";
|
|
2
2
|
import { EnumBooleanStringified, EnumCurrency } from "../@types";
|
|
3
3
|
import { SystemMessageKey } from "./systemmessagekey";
|
|
4
4
|
import { IBACKENDPAYLOAD } from "./backend";
|
|
@@ -234,7 +234,7 @@ export declare class CMDP_SMSGREACTION_RESPONSE extends CMDP_SMSGREACTION implem
|
|
|
234
234
|
*/
|
|
235
235
|
export declare class CMDP_SMSGESTIMATE implements ICOMMAND {
|
|
236
236
|
action: ACTION;
|
|
237
|
-
params: baseParamsType & MediaMd5 & Chargeable & channelIdSelector & {
|
|
237
|
+
params: baseParamsType & MediaMd5 & Chargeable & (getChannelsParamsType | channelIdSelector) & {
|
|
238
238
|
countOnly?: EnumBooleanStringified;
|
|
239
239
|
};
|
|
240
240
|
}
|