@d19n/youfibre-odin-sdk 2.0.317 → 2.0.319

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.
@@ -335,12 +335,12 @@ export declare enum ChangeReasonRescheduleReason {
335
335
  *
336
336
  * @remarks Available options:
337
337
  * - `CUSTOMER_UNAVAILABLE_RETRYING_LATER` - Customer Unavailable - Retrying Later
338
- * - `EN_ROUTER_IN_ERROR` - En-Router in error
338
+ * - `EN_ROUTE_IN_ERROR` - En Route in error
339
339
  * - `MOVING_TO_ANOTHER_JOB_CUSTOMER_AWARE` - Moving to another job - Customer Aware
340
340
  */
341
341
  export declare enum ChangeReasonStandDownReason {
342
342
  CUSTOMER_UNAVAILABLE_RETRYING_LATER = "CUSTOMER_UNAVAILABLE_RETRYING_LATER",
343
- EN_ROUTER_IN_ERROR = "EN_ROUTER_IN_ERROR",
343
+ EN_ROUTE_IN_ERROR = "EN_ROUTE_IN_ERROR",
344
344
  MOVING_TO_ANOTHER_JOB_CUSTOMER_AWARE = "MOVING_TO_ANOTHER_JOB_CUSTOMER_AWARE"
345
345
  }
346
346
  /**
@@ -342,13 +342,13 @@ var ChangeReasonRescheduleReason;
342
342
  *
343
343
  * @remarks Available options:
344
344
  * - `CUSTOMER_UNAVAILABLE_RETRYING_LATER` - Customer Unavailable - Retrying Later
345
- * - `EN_ROUTER_IN_ERROR` - En-Router in error
345
+ * - `EN_ROUTE_IN_ERROR` - En Route in error
346
346
  * - `MOVING_TO_ANOTHER_JOB_CUSTOMER_AWARE` - Moving to another job - Customer Aware
347
347
  */
348
348
  var ChangeReasonStandDownReason;
349
349
  (function (ChangeReasonStandDownReason) {
350
350
  ChangeReasonStandDownReason["CUSTOMER_UNAVAILABLE_RETRYING_LATER"] = "CUSTOMER_UNAVAILABLE_RETRYING_LATER";
351
- ChangeReasonStandDownReason["EN_ROUTER_IN_ERROR"] = "EN_ROUTER_IN_ERROR";
351
+ ChangeReasonStandDownReason["EN_ROUTE_IN_ERROR"] = "EN_ROUTE_IN_ERROR";
352
352
  ChangeReasonStandDownReason["MOVING_TO_ANOTHER_JOB_CUSTOMER_AWARE"] = "MOVING_TO_ANOTHER_JOB_CUSTOMER_AWARE";
353
353
  })(ChangeReasonStandDownReason = exports.ChangeReasonStandDownReason || (exports.ChangeReasonStandDownReason = {}));
354
354
  /**
@@ -23,12 +23,12 @@ export declare enum ConfigEntityTypes {
23
23
  * Use these constants instead of string literals for type safety
24
24
  */
25
25
  export declare enum ConfigPropertyKeys {
26
- /** Data field for Config records. Used by Platform team. */
27
- Test = "Test",
28
26
  /** the name of the app this config relates to (Platform - Config) */
29
27
  AppName = "AppName",
30
28
  /** object of { key: value } mappings (Platform - Config) */
31
- Mappings = "Mappings"
29
+ Mappings = "Mappings",
30
+ /** Data field for Config records. Used by Platform team. */
31
+ Test = "Test"
32
32
  }
33
33
  /**
34
34
  * Properties for Config records
@@ -36,11 +36,6 @@ export declare enum ConfigPropertyKeys {
36
36
  * @see SchemaModule:Config
37
37
  */
38
38
  export interface ConfigProperties {
39
- /** Data field for Config records. Used by Platform team.
40
- *
41
- * @type {TEXT}
42
- */
43
- Test: string;
44
39
  /** the name of the app this config relates to (Platform - Config)
45
40
  *
46
41
  * @type {TEXT}
@@ -51,6 +46,11 @@ export interface ConfigProperties {
51
46
  * @type {JSON}
52
47
  */
53
48
  Mappings: string;
49
+ /** Data field for Config records. Used by Platform team.
50
+ *
51
+ * @type {TEXT}
52
+ */
53
+ Test: string;
54
54
  }
55
55
  /**
56
56
  * Config entity from SchemaModule
@@ -28,12 +28,12 @@ var ConfigEntityTypes;
28
28
  */
29
29
  var ConfigPropertyKeys;
30
30
  (function (ConfigPropertyKeys) {
31
- /** Data field for Config records. Used by Platform team. */
32
- ConfigPropertyKeys["Test"] = "Test";
33
31
  /** the name of the app this config relates to (Platform - Config) */
34
32
  ConfigPropertyKeys["AppName"] = "AppName";
35
33
  /** object of { key: value } mappings (Platform - Config) */
36
34
  ConfigPropertyKeys["Mappings"] = "Mappings";
35
+ /** Data field for Config records. Used by Platform team. */
36
+ ConfigPropertyKeys["Test"] = "Test";
37
37
  })(ConfigPropertyKeys = exports.ConfigPropertyKeys || (exports.ConfigPropertyKeys = {}));
38
38
  /**
39
39
  * Config entity from SchemaModule
@@ -38,6 +38,38 @@ export declare enum QaReportChannel {
38
38
  PORTAL_CHAT = "PORTAL_CHAT",
39
39
  WEB_CHAT = "WEB_CHAT"
40
40
  }
41
+ /**
42
+ * Valid values for QaReport.FeedbackAccuracy
43
+ *
44
+ * Whether the agent reading this report judged it accurate.
45
+ *
46
+ * @remarks Available options:
47
+ * - `ACCURATE` - Accurate
48
+ * - `INACCURATE` - Inaccurate
49
+ */
50
+ export declare enum QaReportFeedbackAccuracy {
51
+ ACCURATE = "ACCURATE",
52
+ INACCURATE = "INACCURATE"
53
+ }
54
+ /**
55
+ * Valid values for QaReport.FeedbackReason
56
+ *
57
+ * Only set when the report was judged inaccurate.
58
+ *
59
+ * @remarks Available options:
60
+ * - `MISSED_SOMETHING` - It missed something
61
+ * - `OTHER` - Something else
62
+ * - `EVIDENCE_WRONG` - The evidence is wrong
63
+ * - `SCORE_WRONG` - The score is wrong
64
+ * - `UNFAIR_TO_AGENT` - Unfair to the agent
65
+ */
66
+ export declare enum QaReportFeedbackReason {
67
+ IT_MISSED_SOMETHING = "MISSED_SOMETHING",
68
+ SOMETHING_ELSE = "OTHER",
69
+ THE_EVIDENCE_IS_WRONG = "EVIDENCE_WRONG",
70
+ THE_SCORE_IS_WRONG = "SCORE_WRONG",
71
+ UNFAIR_TO_THE_AGENT = "UNFAIR_TO_AGENT"
72
+ }
41
73
  /**
42
74
  * Property keys for QaReport
43
75
  * Use these constants instead of string literals for type safety
@@ -60,7 +92,17 @@ export declare enum QaReportPropertyKeys {
60
92
  /** Returned by the Databricks endpoint. The only thread tying this record to the matching inference row on the Databricks side — without it you are matching on timestamp and hoping. */
61
93
  CorrelationId = "CorrelationId",
62
94
  /** The case this report scores. This is the real link; it holds a uuid, so it is not shown in tables — the same choice Note.Case and ConversationSummaryFeedback.ConversationId make. The readable reference is the Case column below. */
63
- CaseId = "CaseId"
95
+ CaseId = "CaseId",
96
+ /** Whether the agent reading this report judged it accurate. */
97
+ FeedbackAccuracy = "FeedbackAccuracy",
98
+ /** Identity user id of whoever gave the feedback, stamped by the server from the principal. lastModifiedBy is not enough — any later edit would overwrite it. */
99
+ FeedbackBy = "FeedbackBy",
100
+ /** Only set when the report was judged inaccurate. */
101
+ FeedbackReason = "FeedbackReason",
102
+ /** Free text from the person giving feedback. TEXT, not TEXT_LONG: the ceiling is the same either way, about 2,700 characters of varied text, which is far more than a comment needs. */
103
+ FeedbackComment = "FeedbackComment",
104
+ /** When the feedback was given. Separate from updatedAt, which moves on any change to the record. */
105
+ FeedbackAt = "FeedbackAt"
64
106
  }
65
107
  /**
66
108
  * Properties for QaReport records
@@ -123,6 +165,39 @@ export interface QaReportProperties {
123
165
  * @default
124
166
  */
125
167
  CaseId: string;
168
+ /** Whether the agent reading this report judged it accurate.
169
+ *
170
+ * @type {ENUM}
171
+ * @default
172
+ * @enum {QaReportFeedbackAccuracy}
173
+ */
174
+ FeedbackAccuracy: QaReportFeedbackAccuracy;
175
+ /** Identity user id of whoever gave the feedback, stamped by the server from the principal. lastModifiedBy is not enough — any later edit would overwrite it.
176
+ *
177
+ * @type {TEXT}
178
+ * @default
179
+ */
180
+ FeedbackBy: string;
181
+ /** Only set when the report was judged inaccurate.
182
+ *
183
+ * @type {ENUM}
184
+ * @default
185
+ * @enum {QaReportFeedbackReason}
186
+ */
187
+ FeedbackReason: QaReportFeedbackReason;
188
+ /** Free text from the person giving feedback. TEXT, not TEXT_LONG: the ceiling is the same either way, about 2,700 characters of varied text, which is far more than a comment needs.
189
+ *
190
+ * @type {TEXT}
191
+ * @default
192
+ * @placeholder Anything else? (optional)
193
+ */
194
+ FeedbackComment: string;
195
+ /** When the feedback was given. Separate from updatedAt, which moves on any change to the record.
196
+ *
197
+ * @type {DATE_TIME}
198
+ * @default
199
+ */
200
+ FeedbackAt: string;
126
201
  }
127
202
  /**
128
203
  * QaReport entity from SupportModule
@@ -12,7 +12,7 @@
12
12
  * Generated from Odin schema definition
13
13
  */
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.ROUTING_KEY_QA_REPORT_DEFAULT_DELETED = exports.ROUTING_KEY_QA_REPORT_DEFAULT_UPDATED = exports.ROUTING_KEY_QA_REPORT_DEFAULT_CREATED = exports.ROUTING_KEY_QA_REPORT_DELETED = exports.ROUTING_KEY_QA_REPORT_UPDATED = exports.ROUTING_KEY_QA_REPORT_CREATED = exports.QaReport = exports.QaReportPropertyKeys = exports.QaReportChannel = exports.QaReportEntityTypes = void 0;
15
+ exports.ROUTING_KEY_QA_REPORT_DEFAULT_DELETED = exports.ROUTING_KEY_QA_REPORT_DEFAULT_UPDATED = exports.ROUTING_KEY_QA_REPORT_DEFAULT_CREATED = exports.ROUTING_KEY_QA_REPORT_DELETED = exports.ROUTING_KEY_QA_REPORT_UPDATED = exports.ROUTING_KEY_QA_REPORT_CREATED = exports.QaReport = exports.QaReportPropertyKeys = exports.QaReportFeedbackReason = exports.QaReportFeedbackAccuracy = exports.QaReportChannel = exports.QaReportEntityTypes = void 0;
16
16
  const core_1 = require("@d19n/odin-types/dist/core");
17
17
  /**
18
18
  * Available types for QaReport records
@@ -42,6 +42,40 @@ var QaReportChannel;
42
42
  QaReportChannel["PORTAL_CHAT"] = "PORTAL_CHAT";
43
43
  QaReportChannel["WEB_CHAT"] = "WEB_CHAT";
44
44
  })(QaReportChannel = exports.QaReportChannel || (exports.QaReportChannel = {}));
45
+ /**
46
+ * Valid values for QaReport.FeedbackAccuracy
47
+ *
48
+ * Whether the agent reading this report judged it accurate.
49
+ *
50
+ * @remarks Available options:
51
+ * - `ACCURATE` - Accurate
52
+ * - `INACCURATE` - Inaccurate
53
+ */
54
+ var QaReportFeedbackAccuracy;
55
+ (function (QaReportFeedbackAccuracy) {
56
+ QaReportFeedbackAccuracy["ACCURATE"] = "ACCURATE";
57
+ QaReportFeedbackAccuracy["INACCURATE"] = "INACCURATE";
58
+ })(QaReportFeedbackAccuracy = exports.QaReportFeedbackAccuracy || (exports.QaReportFeedbackAccuracy = {}));
59
+ /**
60
+ * Valid values for QaReport.FeedbackReason
61
+ *
62
+ * Only set when the report was judged inaccurate.
63
+ *
64
+ * @remarks Available options:
65
+ * - `MISSED_SOMETHING` - It missed something
66
+ * - `OTHER` - Something else
67
+ * - `EVIDENCE_WRONG` - The evidence is wrong
68
+ * - `SCORE_WRONG` - The score is wrong
69
+ * - `UNFAIR_TO_AGENT` - Unfair to the agent
70
+ */
71
+ var QaReportFeedbackReason;
72
+ (function (QaReportFeedbackReason) {
73
+ QaReportFeedbackReason["IT_MISSED_SOMETHING"] = "MISSED_SOMETHING";
74
+ QaReportFeedbackReason["SOMETHING_ELSE"] = "OTHER";
75
+ QaReportFeedbackReason["THE_EVIDENCE_IS_WRONG"] = "EVIDENCE_WRONG";
76
+ QaReportFeedbackReason["THE_SCORE_IS_WRONG"] = "SCORE_WRONG";
77
+ QaReportFeedbackReason["UNFAIR_TO_THE_AGENT"] = "UNFAIR_TO_AGENT";
78
+ })(QaReportFeedbackReason = exports.QaReportFeedbackReason || (exports.QaReportFeedbackReason = {}));
45
79
  /**
46
80
  * Property keys for QaReport
47
81
  * Use these constants instead of string literals for type safety
@@ -66,6 +100,16 @@ var QaReportPropertyKeys;
66
100
  QaReportPropertyKeys["CorrelationId"] = "CorrelationId";
67
101
  /** The case this report scores. This is the real link; it holds a uuid, so it is not shown in tables — the same choice Note.Case and ConversationSummaryFeedback.ConversationId make. The readable reference is the Case column below. */
68
102
  QaReportPropertyKeys["CaseId"] = "CaseId";
103
+ /** Whether the agent reading this report judged it accurate. */
104
+ QaReportPropertyKeys["FeedbackAccuracy"] = "FeedbackAccuracy";
105
+ /** Identity user id of whoever gave the feedback, stamped by the server from the principal. lastModifiedBy is not enough — any later edit would overwrite it. */
106
+ QaReportPropertyKeys["FeedbackBy"] = "FeedbackBy";
107
+ /** Only set when the report was judged inaccurate. */
108
+ QaReportPropertyKeys["FeedbackReason"] = "FeedbackReason";
109
+ /** Free text from the person giving feedback. TEXT, not TEXT_LONG: the ceiling is the same either way, about 2,700 characters of varied text, which is far more than a comment needs. */
110
+ QaReportPropertyKeys["FeedbackComment"] = "FeedbackComment";
111
+ /** When the feedback was given. Separate from updatedAt, which moves on any change to the record. */
112
+ QaReportPropertyKeys["FeedbackAt"] = "FeedbackAt";
69
113
  })(QaReportPropertyKeys = exports.QaReportPropertyKeys || (exports.QaReportPropertyKeys = {}));
70
114
  /**
71
115
  * QaReport entity from SupportModule
@@ -45,6 +45,7 @@ export declare enum SmsMessageEntityTypes {
45
45
  * - `MOBILE_APP_REGISTRATION_CODE` - Mobile app registration code
46
46
  * - `REMEDIATION_WORK_ORDER` - Remediation work order
47
47
  * - `REMINDER` - Reminder
48
+ * - `SEVEN_DAY_POST_INSTALL_APP_SMS` - Seven day post install app sms
48
49
  * - `WORK_ORDER_DELAY` - Work order delay
49
50
  */
50
51
  export declare enum SmsMessageCategory {
@@ -59,6 +60,7 @@ export declare enum SmsMessageCategory {
59
60
  MOBILE_APP_REGISTRATION_CODE = "MOBILE_APP_REGISTRATION_CODE",
60
61
  REMEDIATION_WORK_ORDER = "REMEDIATION_WORK_ORDER",
61
62
  REMINDER = "REMINDER",
63
+ SEVEN_DAY_POST_INSTALL_APP_SMS = "SEVEN_DAY_POST_INSTALL_APP_SMS",
62
64
  WORK_ORDER_DELAY = "WORK_ORDER_DELAY"
63
65
  }
64
66
  /**
@@ -43,6 +43,7 @@ var SmsMessageEntityTypes;
43
43
  * - `MOBILE_APP_REGISTRATION_CODE` - Mobile app registration code
44
44
  * - `REMEDIATION_WORK_ORDER` - Remediation work order
45
45
  * - `REMINDER` - Reminder
46
+ * - `SEVEN_DAY_POST_INSTALL_APP_SMS` - Seven day post install app sms
46
47
  * - `WORK_ORDER_DELAY` - Work order delay
47
48
  */
48
49
  var SmsMessageCategory;
@@ -58,6 +59,7 @@ var SmsMessageCategory;
58
59
  SmsMessageCategory["MOBILE_APP_REGISTRATION_CODE"] = "MOBILE_APP_REGISTRATION_CODE";
59
60
  SmsMessageCategory["REMEDIATION_WORK_ORDER"] = "REMEDIATION_WORK_ORDER";
60
61
  SmsMessageCategory["REMINDER"] = "REMINDER";
62
+ SmsMessageCategory["SEVEN_DAY_POST_INSTALL_APP_SMS"] = "SEVEN_DAY_POST_INSTALL_APP_SMS";
61
63
  SmsMessageCategory["WORK_ORDER_DELAY"] = "WORK_ORDER_DELAY";
62
64
  })(SmsMessageCategory = exports.SmsMessageCategory || (exports.SmsMessageCategory = {}));
63
65
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d19n/youfibre-odin-sdk",
3
- "version": "2.0.317",
3
+ "version": "2.0.319",
4
4
  "description": "",
5
5
  "author": "@d19n",
6
6
  "license": "UNLICENSED",