cmd-control-client-lib 3.0.163 → 3.0.165
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;
|
|
@@ -234,7 +234,8 @@ 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 &
|
|
237
|
+
params: baseParamsType & (getChannelsParamsType | channelIdSelector) & {
|
|
238
|
+
mediaMd5: string;
|
|
238
239
|
countOnly?: EnumBooleanStringified;
|
|
239
240
|
};
|
|
240
241
|
}
|
|
@@ -245,9 +246,12 @@ export declare class CMDP_SMSGESTIMATE_RESPONSE extends CMDP_SMSGESTIMATE implem
|
|
|
245
246
|
result: RESULT;
|
|
246
247
|
commands: ICOMMAND[];
|
|
247
248
|
values: {
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
249
|
+
channelCount: string;
|
|
250
|
+
canReceiveCount: string;
|
|
251
|
+
canReceiveChannels: string;
|
|
252
|
+
canPurchaseCount: string;
|
|
253
|
+
canPurchaseChannels?: string;
|
|
254
|
+
hasPurchasedCount: string;
|
|
255
|
+
hasPurchasedChannels?: string;
|
|
252
256
|
};
|
|
253
257
|
}
|