@koredev/kore-web-sdk 11.0.0-rc.48e72e2 → 11.0.0-rc.4ef95b4

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.
@@ -123,6 +123,14 @@ declare class chatWindow extends EventEmitter {
123
123
  * @property {Object} errObj - error object containing error details
124
124
  */
125
125
  API_FAILURE: string;
126
+ /**
127
+ * on historyComplete will be triggered on histroy response render completion.
128
+ *
129
+ * @event chatWindow#historyComplete
130
+ * @type {Object}
131
+ * @property {Object} chatWindowEvent
132
+ */
133
+ HISTORY_COMPLETE: string;
126
134
  };
127
135
  sendFailedMessage: any;
128
136
  constructor();
@@ -246,7 +254,7 @@ declare class chatWindow extends EventEmitter {
246
254
  getBrandingInformation(options: any): void;
247
255
  applySDKBranding(response: any): void;
248
256
  applyVariableValue(key: any, value: any, type: any): void;
249
- setBranding(brandingData?: any, type?: any, isEditor?: any): void;
257
+ setBranding(brandingData?: any, type?: any, isEditor?: any, headerTitle?: any): void;
250
258
  switchView(type: any): void;
251
259
  /**
252
260
  * [#]{@link chatWindow#sendMessage} Send message to bot including rendering
@@ -16,36 +16,43 @@ declare const BrandingJSON: {
16
16
  name: string;
17
17
  type: string;
18
18
  url: string;
19
+ fileId: string;
19
20
  };
20
21
  on_close: {
21
22
  name: string;
22
23
  type: string;
23
24
  url: string;
25
+ fileId: string;
24
26
  };
25
27
  on_msg_send: {
26
28
  name: string;
27
29
  type: string;
28
30
  url: string;
31
+ fileId: string;
29
32
  };
30
33
  on_new_msg: {
31
34
  name: string;
32
35
  type: string;
33
36
  url: string;
37
+ fileId: string;
34
38
  };
35
39
  on_open: {
36
40
  name: string;
37
41
  type: string;
38
42
  url: string;
43
+ fileId: string;
39
44
  };
40
45
  on_proactive_msg: {
41
46
  name: string;
42
47
  type: string;
43
48
  url: string;
49
+ fileId: string;
44
50
  };
45
51
  on_video_call: {
46
52
  name: string;
47
53
  type: string;
48
54
  url: string;
55
+ fileId: string;
49
56
  };
50
57
  };
51
58
  };
@@ -55,11 +62,13 @@ declare const BrandingJSON: {
55
62
  icon_url: string;
56
63
  size: string;
57
64
  type: string;
65
+ fileId: string;
58
66
  };
59
67
  minimise: {
60
68
  icon: string;
61
69
  theme: string;
62
70
  type: string;
71
+ fileId: string;
63
72
  };
64
73
  proactive: {
65
74
  show: boolean;
@@ -86,6 +95,7 @@ declare const BrandingJSON: {
86
95
  logo: {
87
96
  logo_url: string;
88
97
  name: string;
98
+ fileId: string;
89
99
  };
90
100
  title: {
91
101
  name: string;
@@ -101,6 +111,7 @@ declare const BrandingJSON: {
101
111
  color: string;
102
112
  name: string;
103
113
  img: string;
114
+ fileId: string;
104
115
  };
105
116
  top_fonts: {
106
117
  color: string;
@@ -160,6 +171,7 @@ declare const BrandingJSON: {
160
171
  value: string;
161
172
  };
162
173
  name: string;
174
+ fileId: string;
163
175
  }[];
164
176
  };
165
177
  };
@@ -170,6 +182,7 @@ declare const BrandingJSON: {
170
182
  show: boolean;
171
183
  icon_url: string;
172
184
  type: string;
185
+ fileId: string;
173
186
  };
174
187
  icons_color: string;
175
188
  title: {
@@ -255,6 +268,7 @@ declare const BrandingJSON: {
255
268
  color: string;
256
269
  img: string;
257
270
  name: string;
271
+ fileId: string;
258
272
  };
259
273
  font: {
260
274
  family: string;