@tiledesk/tiledesk-tybot-connector 0.1.50 → 0.1.51

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/CHANGELOG.md CHANGED
@@ -5,6 +5,9 @@
5
5
  available on:
6
6
  ▶️ https://www.npmjs.com/package/@tiledesk/tiledesk-tybot-connector
7
7
 
8
+ ### 0.1.51
9
+ - only debug on pre
10
+
8
11
  ### 0.1.50
9
12
  - bug fixing
10
13
  - multilang prototype
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-tybot-connector",
3
- "version": "0.1.50",
3
+ "version": "0.1.51",
4
4
  "description": "Tiledesk Tybot connector",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -28,15 +28,15 @@ class DirCondition {
28
28
  // APIKEY: "___",
29
29
  // log: context.log
30
30
  // });
31
- this.intentDir = new DirIntent(
32
- {
33
- API_ENDPOINT: context.TILEDESK_APIURL,
34
- TILEBOT_ENDPOINT: context.TILEBOT_ENDPOINT,
35
- supportRequest: context.supportRequest,
36
- token: context.token,
37
- log: context.log
38
- }
39
- );
31
+ this.intentDir = new DirIntent(context);
32
+ // {
33
+ // API_ENDPOINT: context.TILEDESK_APIURL,
34
+ // TILEBOT_ENDPOINT: context.TILEBOT_ENDPOINT,
35
+ // supportRequest: context.supportRequest,
36
+ // token: context.token,
37
+ // log: context.log
38
+ // }
39
+ // );
40
40
  this.log = context.log;
41
41
  }
42
42
 
@@ -25,15 +25,15 @@ class DirIfOnlineAgents {
25
25
  // departmentId: depId,
26
26
  // log: false
27
27
  // }
28
- this.intentDir = new DirIntent(
29
- {
30
- API_ENDPOINT: context.TILEDESK_APIURL,
31
- TILEBOT_ENDPOINT: context.TILEBOT_ENDPOINT,
32
- supportRequest: context.supportRequest,
33
- token: context.token,
34
- log: context.log
35
- }
36
- );
28
+ this.intentDir = new DirIntent(context);
29
+ // {
30
+ // API_ENDPOINT: context.TILEDESK_APIURL,
31
+ // TILEBOT_ENDPOINT: context.TILEBOT_ENDPOINT,
32
+ // supportRequest: context.supportRequest,
33
+ // token: context.token,
34
+ // log: context.log
35
+ // }
36
+ // );
37
37
  this.log = context.log;
38
38
  }
39
39
 
@@ -25,15 +25,15 @@ class DirIfOpenHours {
25
25
  // departmentId: depId,
26
26
  // log: false
27
27
  // }
28
- this.intentDir = new DirIntent(
29
- {
30
- API_ENDPOINT: context.TILEDESK_APIURL,
31
- TILEBOT_ENDPOINT: context.TILEBOT_ENDPOINT,
32
- supportRequest: context.supportRequest,
33
- token: context.token,
34
- log: context.log
35
- }
36
- );
28
+ this.intentDir = new DirIntent(context);
29
+ // {
30
+ // API_ENDPOINT: context.TILEDESK_APIURL,
31
+ // TILEBOT_ENDPOINT: context.TILEBOT_ENDPOINT,
32
+ // supportRequest: context.supportRequest,
33
+ // token: context.token,
34
+ // log: context.log
35
+ // }
36
+ // );
37
37
  this.log = context.log;
38
38
  }
39
39