cmd-control-client-lib 3.0.337 → 3.0.346
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.
- package/README.md +3 -1
- package/dist/cmd-control-client-lib.js +1 -1
- package/dist/cmd-control-client-lib.js.map +1 -1
- package/dist/cmd-protocol.d.ts +1 -0
- package/dist/protocol/channel.d.ts +2 -0
- package/dist/protocol/message.d.ts +2 -0
- package/dist/protocol/msgtemplate.d.ts +21 -16
- package/package.json +1 -1
package/dist/cmd-protocol.d.ts
CHANGED
|
@@ -48,4 +48,5 @@ export * from "./protocol/clivechat";
|
|
|
48
48
|
export * from "./protocol/feedback";
|
|
49
49
|
export * from "./protocol/messenger/videosdk";
|
|
50
50
|
export * from "./protocol/messenger/mvcschedule";
|
|
51
|
+
export * from "./protocol/msgtemplate";
|
|
51
52
|
export { SupportedLanguage, CmdClientAgent, EnumFormatValues, baseParamsType } from "./protocol/command/baseparams";
|
|
@@ -167,6 +167,8 @@ export declare type channelIdFilter = {
|
|
|
167
167
|
filterAdvertised?: EnumChannelFilterValues;
|
|
168
168
|
/** filter by favorite flag, default any */
|
|
169
169
|
filterRegularCustomer?: EnumChannelFilterValues;
|
|
170
|
+
/** filter by favorite flag, default any */
|
|
171
|
+
filterFollowMe?: EnumChannelFilterValues;
|
|
170
172
|
/** filter by unseen, default any */
|
|
171
173
|
filterUnseen?: EnumChannelFilterValues;
|
|
172
174
|
/** filter by unanswered, default any */
|
|
@@ -4,14 +4,14 @@ import { MediaFile, MediaOffer, MessageParams } from "./message";
|
|
|
4
4
|
import { ComaSeparatedValues } from "./sessionstate";
|
|
5
5
|
import { baseParamsType } from "./command/baseparams";
|
|
6
6
|
import { EnumBooleanStringified } from "../@types";
|
|
7
|
-
export declare type
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
export declare type templateCategoryType = {
|
|
8
|
+
categoryId: string;
|
|
9
|
+
categoryName: string;
|
|
10
|
+
categoryDeleted?: EnumBooleanStringified;
|
|
11
11
|
};
|
|
12
12
|
export declare class CMDC_TPLCATEGORY implements ICOMMAND {
|
|
13
13
|
action: ACTION;
|
|
14
|
-
params:
|
|
14
|
+
params: templateCategoryType;
|
|
15
15
|
}
|
|
16
16
|
export declare class CMDP_SGETTPLCATEGORIES implements ICOMMAND {
|
|
17
17
|
action: ACTION;
|
|
@@ -24,7 +24,7 @@ export declare class CMDP_SGETTPLCATEGORIES_RESPONSE extends CMDP_SGETTPLCATEGOR
|
|
|
24
24
|
}
|
|
25
25
|
export declare class CMDP_SUPSERTTPLCATEGORY implements ICOMMAND {
|
|
26
26
|
action: ACTION;
|
|
27
|
-
params: baseParamsType &
|
|
27
|
+
params: baseParamsType & templateCategoryType;
|
|
28
28
|
}
|
|
29
29
|
export declare class CMDP_SUPSERTTPLCATEGORY_RESPONSE extends CMDP_SUPSERTTPLCATEGORY implements IRESPONSE {
|
|
30
30
|
result: RESULT;
|
|
@@ -43,15 +43,18 @@ export declare class CMDP_SDELETETPLCATEGORY_RESPONSE extends CMDP_SDELETETPLCAT
|
|
|
43
43
|
values: IKeyMaybeValue;
|
|
44
44
|
}
|
|
45
45
|
export declare type messageTemplateType = MessageParams & MediaFile & MediaOffer & {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
46
|
+
templateId: string;
|
|
47
|
+
templateName?: string;
|
|
48
|
+
categoryId?: string;
|
|
49
|
+
templateTags?: ComaSeparatedValues<string>;
|
|
50
|
+
templateText?: string;
|
|
51
|
+
templateCreated: string;
|
|
52
|
+
templateChanged?: string;
|
|
53
|
+
templateDeleted?: EnumBooleanStringified;
|
|
54
|
+
templateSent?: string;
|
|
55
|
+
templateBought?: string;
|
|
56
|
+
} & {
|
|
57
|
+
umaId?: string;
|
|
55
58
|
};
|
|
56
59
|
export declare class CMDC_MSGTEMPLATE implements ICOMMAND {
|
|
57
60
|
action: ACTION;
|
|
@@ -59,7 +62,9 @@ export declare class CMDC_MSGTEMPLATE implements ICOMMAND {
|
|
|
59
62
|
}
|
|
60
63
|
export declare class CMDP_SGETMSGTEMPLATES implements ICOMMAND {
|
|
61
64
|
action: ACTION;
|
|
62
|
-
params: baseParamsType
|
|
65
|
+
params: baseParamsType & {
|
|
66
|
+
categoryId?: string;
|
|
67
|
+
};
|
|
63
68
|
}
|
|
64
69
|
export declare class CMDP_SGETMSGTEMPLATES_RESPONSE extends CMDP_SGETMSGTEMPLATES implements IRESPONSE {
|
|
65
70
|
result: RESULT;
|