contactstudiocstools 1.0.277 → 1.0.279

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/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@contactstudio/cstools",
3
3
  "configKey": "CSTools",
4
- "version": "1.0.277"
4
+ "version": "1.0.279"
5
5
  }
@@ -157,7 +157,10 @@ export function ChatContactsDTO({
157
157
  entrydate: new Date(primitive.creation_date * 1e3),
158
158
  primitive,
159
159
  date,
160
- message
160
+ message,
161
+ nameCS: "",
162
+ nameWhatsapp: "",
163
+ tags: []
161
164
  });
162
165
  }
163
166
  return contacts;
@@ -259,8 +259,8 @@ export function newChatHistoryEvent({
259
259
  name
260
260
  }) {
261
261
  const interaction = newChatInteraction({ company, roomID, nickname, name });
262
- interaction.interaction_type = "event";
263
- interaction.content.event_type = "request_history";
262
+ interaction.interaction_type = "command";
263
+ interaction.content.command_type = "request_history";
264
264
  return interaction;
265
265
  }
266
266
  export function newChatTextMessage({
@@ -124,6 +124,9 @@ export interface IChatContact {
124
124
  on: boolean;
125
125
  typing?: boolean;
126
126
  avatar?: string;
127
+ nameCS?: string;
128
+ nameWhatsapp?: string;
129
+ tags?: string[];
127
130
  primitive?: any;
128
131
  }
129
132
  export interface IChatContacts extends Array<IChatContact> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contactstudiocstools",
3
- "version": "1.0.277",
3
+ "version": "1.0.279",
4
4
  "description": "Nuxt Tools Module for ContactStudio",
5
5
  "type": "module",
6
6
  "exports": {