@trii/types 2.10.527 → 2.10.529

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.
@@ -0,0 +1,3 @@
1
+ export interface AIModuleStatus {
2
+ enabled: boolean;
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +1,3 @@
1
1
  export * from './Credential';
2
2
  export * from './Provider';
3
+ export * from './aiModuleStatus';
package/dist/AI/index.js CHANGED
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./Credential"), exports);
18
18
  __exportStar(require("./Provider"), exports);
19
+ __exportStar(require("./aiModuleStatus"), exports);
@@ -374,6 +374,10 @@ export interface IMessage {
374
374
  templateHeaderVars?: MessageTemplateVar[];
375
375
  templateBodyVars?: MessageTemplateVar[];
376
376
  templateButtonVars?: MessageTemplateVar[];
377
+ templateLocationName?: string;
378
+ templateLocationAddress?: string;
379
+ templateLocationLatitude?: string;
380
+ templateLocationLongitude?: string;
377
381
  context?: string;
378
382
  text?: MessageText;
379
383
  contacts?: MessageContact[];
@@ -41,10 +41,24 @@ export interface IConversation {
41
41
  finalizedBy?: string;
42
42
  finalizedOnWebChat: Date;
43
43
  ending?: IEnding;
44
+ qualityEvaluation?: IInteractionQualityEvaluation;
44
45
  reOpenAt?: Date;
45
46
  createdAt: Date;
46
47
  updatedAt: Date;
47
48
  }
49
+ export interface IInteractionQualityEvaluation {
50
+ courtesy: EvaluationCriterion;
51
+ clarity: EvaluationCriterion;
52
+ empathy: EvaluationCriterion;
53
+ proactivity: EvaluationCriterion;
54
+ resolution: EvaluationCriterion;
55
+ responseTime: EvaluationCriterion;
56
+ overallScore: EvaluationCriterion;
57
+ }
58
+ export interface EvaluationCriterion {
59
+ value: number;
60
+ comment: string;
61
+ }
48
62
  export interface IConversationMetadata {
49
63
  nickname?: string;
50
64
  email?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/types",
3
- "version": "2.10.527",
3
+ "version": "2.10.529",
4
4
  "description": "Types definitions for Trii projects - ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",