@tiledesk/tiledesk-tybot-connector 2.0.10-rc10 → 2.0.10-rc11

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.10-rc10",
3
+ "version": "2.0.10-rc11",
4
4
  "description": "Tiledesk Tybot connector",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -25,7 +25,7 @@ class DirAddTags {
25
25
  this.requestId = this.context.requestId;
26
26
  this.API_ENDPOINT = this.context.API_ENDPOINT;
27
27
  this.log = context.log;
28
- this.logger = new Logger({ request_id: this.requestId, dev: this.supportRequest.draft, intent_id: this.context.reply.attributes.intent_info.intent_id });
28
+ this.logger = new Logger({ request_id: this.requestId, dev: this.context.supportRequest.draft, intent_id: this.context.reply.attributes.intent_info.intent_id });
29
29
 
30
30
  this.tdClient = new TiledeskClient({
31
31
  projectId: this.context.projectId,
@@ -29,7 +29,7 @@ class DirAiPrompt {
29
29
  this.intentDir = new DirIntent(context);
30
30
  this.API_ENDPOINT = this.context.API_ENDPOINT;
31
31
  this.log = context.log;
32
- this.logger = new Logger({ request_id: this.requestId, dev: this.supportRequest.draft, intent_id: this.context.reply.attributes.intent_info.intent_id });
32
+ this.logger = new Logger({ request_id: this.requestId, dev: this.context.supportRequest.draft, intent_id: this.context.reply.attributes.intent_info.intent_id });
33
33
  }
34
34
 
35
35
  execute(directive, callback) {
@@ -27,7 +27,7 @@ class DirAskGPTV2 {
27
27
  this.intentDir = new DirIntent(context);
28
28
  this.API_ENDPOINT = this.context.API_ENDPOINT;
29
29
  this.log = context.log;
30
- this.logger = new Logger({ request_id: this.requestId, dev: this.supportRequest.draft, intent_id: this.context.reply.attributes.intent_info.intent_id });
30
+ this.logger = new Logger({ request_id: this.requestId, dev: this.context.supportRequest.draft, intent_id: this.context.reply.attributes.intent_info.intent_id });
31
31
  }
32
32
 
33
33
  execute(directive, callback) {
@@ -18,7 +18,7 @@ class DirReply {
18
18
  this.token = context.token;
19
19
  this.tdcache = context.tdcache;
20
20
  this.supportRequest = this.context.supportRequest;
21
- this.logger = new Logger({ request_id: this.requestId, dev: this.supportRequest.draft, intent_id: this.context.reply.attributes.intent_info.intent_id });
21
+ this.logger = new Logger({ request_id: this.requestId, dev: this.context.supportRequest.draft, intent_id: this.context.reply.attributes.intent_info.intent_id });
22
22
 
23
23
  this.API_ENDPOINT = context.API_ENDPOINT;
24
24
  this.tdClient = new TiledeskClient({
@@ -18,7 +18,7 @@ class DirWebRequestV2 {
18
18
  this.chatbot = context.chatbot;
19
19
  this.intentDir = new DirIntent(context);
20
20
  this.log = context.log;
21
- this.logger = new Logger({ request_id: this.requestId, dev: this.supportRequest.draft, intent_id: this.context.reply.attributes.intent_info.intent_id });
21
+ this.logger = new Logger({ request_id: this.requestId, dev: this.context.supportRequest.draft, intent_id: this.context.reply.attributes.intent_info.intent_id });
22
22
  }
23
23
 
24
24
  execute(directive, callback) {
@@ -16,7 +16,7 @@ class DirWebResponse {
16
16
  this.requestId = context.requestId;
17
17
  this.token = context.token;
18
18
  this.tdcache = context.tdcache;
19
- this.logger = new Logger({ request_id: this.requestId, dev: this.supportRequest.draft, intent_id: this.context.reply.attributes.intent_info.intent_id });
19
+ this.logger = new Logger({ request_id: this.requestId, dev: this.context.supportRequest.draft, intent_id: this.context.reply.attributes.intent_info.intent_id });
20
20
  }
21
21
 
22
22
  execute(directive, callback) {