@tiledesk/tiledesk-tybot-connector 2.0.18 → 2.0.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-tybot-connector",
3
- "version": "2.0.18",
3
+ "version": "2.0.19",
4
4
  "description": "Tiledesk Tybot connector",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -15,7 +15,7 @@
15
15
  "@tiledesk/tiledesk-chatbot-client": "^0.5.30",
16
16
  "@tiledesk/tiledesk-chatbot-util": "^0.8.39",
17
17
  "@tiledesk/tiledesk-client": "^0.10.13",
18
- "@tiledesk/tiledesk-multi-worker": "^0.3.1",
18
+ "@tiledesk/tiledesk-multi-worker": "^0.3.2",
19
19
  "accept-language-parser": "^1.5.0",
20
20
  "app-root-path": "^3.1.0",
21
21
  "axios": "^1.7.7",
@@ -42,6 +42,7 @@ class DirIntent {
42
42
  const intentName = action.intentName;
43
43
  const projectId = this.supportRequest.id_project;
44
44
  const requestId = this.supportRequest.request_id;
45
+ const draft = this.supportRequest.draft;
45
46
  const botId = this.supportRequest.bot_id;
46
47
  let intent_command;
47
48
  if (intentName) {
@@ -63,7 +64,8 @@ class DirIntent {
63
64
  "id_project": projectId,
64
65
  "request": {
65
66
  "request_id": requestId,
66
- "id_project": projectId
67
+ "id_project": projectId,
68
+ "draft": draft
67
69
  }
68
70
  },
69
71
  "token": this.token