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.
@@ -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 */
@@ -78,6 +78,8 @@ export declare type MessageParams = IMayHaveChannelId & {
78
78
  /** reaction */
79
79
  reaction?: string;
80
80
  reactionTime?: string;
81
+ /** template*/
82
+ templateId?: string;
81
83
  };
82
84
  export declare type MediaMd5 = {
83
85
  mediaMd5?: string;
@@ -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 tplCategoryType = {
8
- tplCategoryId: string;
9
- tplCategoryName: string;
10
- tplCategoryDeleted: EnumBooleanStringified;
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: tplCategoryType;
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 & messageTemplateType;
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
- msgTplId: string;
47
- msgTplName: string;
48
- tplCategoryId: string;
49
- msgTplTags: ComaSeparatedValues<string>;
50
- msgTplCreated: string;
51
- msgTplChanged: string;
52
- msgTplDeleted: EnumBooleanStringified;
53
- msgTplSent: string;
54
- msgTplBought: string;
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;
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.337",
4
+ "version": "3.0.346",
5
5
  "directories": {
6
6
  "lib": "./dist"
7
7
  },