@trii/types 2.10.762 → 2.10.764
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/dist/Spaces/spaces.d.ts
CHANGED
|
@@ -50,13 +50,13 @@ export declare const RegionInfo: {
|
|
|
50
50
|
Value: number;
|
|
51
51
|
DisplayName: string;
|
|
52
52
|
RegionalDisplayName: string;
|
|
53
|
-
};
|
|
53
|
+
} | null;
|
|
54
54
|
getInfo_from_Value: (Value: number) => {
|
|
55
55
|
Name: string;
|
|
56
56
|
Value: number;
|
|
57
57
|
DisplayName: string;
|
|
58
58
|
RegionalDisplayName: string;
|
|
59
|
-
};
|
|
59
|
+
} | null;
|
|
60
60
|
};
|
|
61
61
|
export interface ISpace {
|
|
62
62
|
id: string;
|
|
@@ -123,6 +123,7 @@ export declare enum TicketMetricCode {
|
|
|
123
123
|
NEXT_RESPONSE_TIME = "NEXT_RESPONSE_TIME",
|
|
124
124
|
RESOLUTION_TIME = "RESOLUTION_TIME",
|
|
125
125
|
ASSIGNMENT_TIME = "ASSIGNMENT_TIME",
|
|
126
|
+
/** @deprecated Assignment is direct: there is no acceptance to measure. Use ASSIGNMENT_TIME. */
|
|
126
127
|
ACCEPTANCE_TIME = "ACCEPTANCE_TIME",
|
|
127
128
|
HANDLE_TIME = "HANDLE_TIME",
|
|
128
129
|
WAITING_CUSTOMER_TIME = "WAITING_CUSTOMER_TIME",
|
|
@@ -149,7 +150,9 @@ export declare enum TicketMetricCode {
|
|
|
149
150
|
AGENT_CAPACITY_UTILIZATION = "AGENT_CAPACITY_UTILIZATION",
|
|
150
151
|
AGENT_AVAILABILITY_TIME = "AGENT_AVAILABILITY_TIME",
|
|
151
152
|
AGENT_OCCUPANCY_RATE = "AGENT_OCCUPANCY_RATE",
|
|
153
|
+
/** @deprecated Assignment is direct: nothing is accepted or declined. */
|
|
152
154
|
AGENT_ACCEPTANCE_RATE = "AGENT_ACCEPTANCE_RATE",
|
|
155
|
+
/** @deprecated Assignment is direct: nothing is accepted or declined. */
|
|
153
156
|
AGENT_DECLINE_RATE = "AGENT_DECLINE_RATE",
|
|
154
157
|
AGENT_PRODUCTIVITY = "AGENT_PRODUCTIVITY",
|
|
155
158
|
QUEUE_SIZE = "QUEUE_SIZE",
|
|
@@ -551,6 +554,7 @@ export interface IAgentDashboardMetrics {
|
|
|
551
554
|
qualityGoals: {
|
|
552
555
|
firstResponseSla: IAgentDashboardQualityGoal;
|
|
553
556
|
resolutionSla: IAgentDashboardQualityGoal;
|
|
557
|
+
/** @deprecated Assignment is direct: nothing is accepted, so this rate has no source. */
|
|
554
558
|
assignmentAcceptanceRate: IAgentDashboardQualityGoal;
|
|
555
559
|
};
|
|
556
560
|
csatScore: IAgentDashboardQualityGoal;
|
|
@@ -132,6 +132,7 @@ var TicketMetricCode;
|
|
|
132
132
|
TicketMetricCode["NEXT_RESPONSE_TIME"] = "NEXT_RESPONSE_TIME";
|
|
133
133
|
TicketMetricCode["RESOLUTION_TIME"] = "RESOLUTION_TIME";
|
|
134
134
|
TicketMetricCode["ASSIGNMENT_TIME"] = "ASSIGNMENT_TIME";
|
|
135
|
+
/** @deprecated Assignment is direct: there is no acceptance to measure. Use ASSIGNMENT_TIME. */
|
|
135
136
|
TicketMetricCode["ACCEPTANCE_TIME"] = "ACCEPTANCE_TIME";
|
|
136
137
|
TicketMetricCode["HANDLE_TIME"] = "HANDLE_TIME";
|
|
137
138
|
TicketMetricCode["WAITING_CUSTOMER_TIME"] = "WAITING_CUSTOMER_TIME";
|
|
@@ -158,7 +159,9 @@ var TicketMetricCode;
|
|
|
158
159
|
TicketMetricCode["AGENT_CAPACITY_UTILIZATION"] = "AGENT_CAPACITY_UTILIZATION";
|
|
159
160
|
TicketMetricCode["AGENT_AVAILABILITY_TIME"] = "AGENT_AVAILABILITY_TIME";
|
|
160
161
|
TicketMetricCode["AGENT_OCCUPANCY_RATE"] = "AGENT_OCCUPANCY_RATE";
|
|
162
|
+
/** @deprecated Assignment is direct: nothing is accepted or declined. */
|
|
161
163
|
TicketMetricCode["AGENT_ACCEPTANCE_RATE"] = "AGENT_ACCEPTANCE_RATE";
|
|
164
|
+
/** @deprecated Assignment is direct: nothing is accepted or declined. */
|
|
162
165
|
TicketMetricCode["AGENT_DECLINE_RATE"] = "AGENT_DECLINE_RATE";
|
|
163
166
|
TicketMetricCode["AGENT_PRODUCTIVITY"] = "AGENT_PRODUCTIVITY";
|
|
164
167
|
TicketMetricCode["QUEUE_SIZE"] = "QUEUE_SIZE";
|
|
@@ -14,9 +14,13 @@ export declare enum TicketRoutingStatus {
|
|
|
14
14
|
NOT_ROUTED = "NOT_ROUTED",
|
|
15
15
|
QUEUED = "QUEUED",
|
|
16
16
|
ROUTING = "ROUTING",
|
|
17
|
+
/** @deprecated Assignment is direct: there is no offer/accept flow. Never produced. */
|
|
17
18
|
OFFERED = "OFFERED",
|
|
19
|
+
/** @deprecated Assignment is direct (born ACCEPTED). Never produced. */
|
|
18
20
|
ASSIGNED = "ASSIGNED",
|
|
21
|
+
/** Every assignment (pull, manual, automatic) is direct and lands here. */
|
|
19
22
|
ACCEPTED = "ACCEPTED",
|
|
23
|
+
/** @deprecated There is no offer to decline. Never produced. */
|
|
20
24
|
DECLINED = "DECLINED",
|
|
21
25
|
RETURNED = "RETURNED",
|
|
22
26
|
ESCALATED = "ESCALATED",
|
|
@@ -50,10 +54,12 @@ export declare enum TicketSkillRelaxationMode {
|
|
|
50
54
|
}
|
|
51
55
|
export declare enum TicketEscalationTrigger {
|
|
52
56
|
QUEUE_WAIT = "QUEUE_WAIT",
|
|
57
|
+
/** @deprecated Assignment is direct: there are no offers to time out. */
|
|
53
58
|
OFFER_TIMEOUT = "OFFER_TIMEOUT",
|
|
54
59
|
SLA_WARNING = "SLA_WARNING",
|
|
55
60
|
SLA_BREACH = "SLA_BREACH",
|
|
56
61
|
NO_ELIGIBLE_AGENT = "NO_ELIGIBLE_AGENT",
|
|
62
|
+
/** @deprecated Assignment is direct: there is no offer to decline. */
|
|
57
63
|
DECLINED = "DECLINED"
|
|
58
64
|
}
|
|
59
65
|
export declare enum TicketEscalationActionType {
|
|
@@ -71,7 +77,9 @@ export declare enum TicketAssignmentEndReason {
|
|
|
71
77
|
COMPLETED = "COMPLETED",
|
|
72
78
|
REASSIGNED = "REASSIGNED",
|
|
73
79
|
RETURNED = "RETURNED",
|
|
80
|
+
/** @deprecated Assignment is direct: there is no offer to decline. Never produced. */
|
|
74
81
|
DECLINED = "DECLINED",
|
|
82
|
+
/** @deprecated Assignment is direct: there are no offers to expire. Never produced. */
|
|
75
83
|
EXPIRED = "EXPIRED",
|
|
76
84
|
MANUAL = "MANUAL"
|
|
77
85
|
}
|
|
@@ -139,7 +147,6 @@ export interface ITicketQueue extends ITicketAuditedEntity {
|
|
|
139
147
|
strategy: TicketRoutingStrategy;
|
|
140
148
|
ordering: ITicketQueueOrder[];
|
|
141
149
|
skillRequirements?: ITicketSkillRequirement[];
|
|
142
|
-
offerTimeoutSeconds?: number;
|
|
143
150
|
maximumWaitMinutes?: number;
|
|
144
151
|
escalationPolicyId?: string;
|
|
145
152
|
}
|
|
@@ -187,8 +194,6 @@ export interface ITicketAssignment {
|
|
|
187
194
|
groupId?: string;
|
|
188
195
|
agentId?: string;
|
|
189
196
|
status: TicketRoutingStatus;
|
|
190
|
-
offeredAt?: Date;
|
|
191
|
-
offerExpiresAt?: Date;
|
|
192
197
|
assignedAt?: Date;
|
|
193
198
|
acceptedAt?: Date;
|
|
194
199
|
endedAt?: Date;
|
|
@@ -251,8 +256,6 @@ export interface ITicketRoutingState {
|
|
|
251
256
|
policyId?: string;
|
|
252
257
|
currentAssignmentId?: string;
|
|
253
258
|
enqueuedAt?: Date;
|
|
254
|
-
offeredAt?: Date;
|
|
255
|
-
offerExpiresAt?: Date;
|
|
256
259
|
assignedAt?: Date;
|
|
257
260
|
acceptedAt?: Date;
|
|
258
261
|
priorityScore?: number;
|
|
@@ -270,21 +273,6 @@ export interface IEnqueueTicketDto {
|
|
|
270
273
|
queueId?: string;
|
|
271
274
|
reason?: string;
|
|
272
275
|
}
|
|
273
|
-
export interface IAcceptTicketAssignmentDto {
|
|
274
|
-
expectedVersion: number;
|
|
275
|
-
assignmentId: string;
|
|
276
|
-
}
|
|
277
|
-
export interface IDeclineTicketAssignmentDto {
|
|
278
|
-
expectedVersion: number;
|
|
279
|
-
assignmentId: string;
|
|
280
|
-
reason: string;
|
|
281
|
-
}
|
|
282
|
-
export interface IReturnTicketToQueueDto {
|
|
283
|
-
expectedVersion: number;
|
|
284
|
-
assignmentId: string;
|
|
285
|
-
reason?: string;
|
|
286
|
-
queueId?: string;
|
|
287
|
-
}
|
|
288
276
|
export interface IManualRouteTicketDto {
|
|
289
277
|
expectedVersion: number;
|
|
290
278
|
queueId?: string;
|
|
@@ -302,7 +290,6 @@ export interface ICreateTicketQueueDto {
|
|
|
302
290
|
strategy: TicketRoutingStrategy;
|
|
303
291
|
ordering: ITicketQueueOrder[];
|
|
304
292
|
skillRequirements?: ITicketSkillRequirement[];
|
|
305
|
-
offerTimeoutSeconds?: number;
|
|
306
293
|
maximumWaitMinutes?: number;
|
|
307
294
|
escalationPolicyId?: string;
|
|
308
295
|
}
|
package/dist/Tickets/Routing.js
CHANGED
|
@@ -16,9 +16,13 @@ var TicketRoutingStatus;
|
|
|
16
16
|
TicketRoutingStatus["NOT_ROUTED"] = "NOT_ROUTED";
|
|
17
17
|
TicketRoutingStatus["QUEUED"] = "QUEUED";
|
|
18
18
|
TicketRoutingStatus["ROUTING"] = "ROUTING";
|
|
19
|
+
/** @deprecated Assignment is direct: there is no offer/accept flow. Never produced. */
|
|
19
20
|
TicketRoutingStatus["OFFERED"] = "OFFERED";
|
|
21
|
+
/** @deprecated Assignment is direct (born ACCEPTED). Never produced. */
|
|
20
22
|
TicketRoutingStatus["ASSIGNED"] = "ASSIGNED";
|
|
23
|
+
/** Every assignment (pull, manual, automatic) is direct and lands here. */
|
|
21
24
|
TicketRoutingStatus["ACCEPTED"] = "ACCEPTED";
|
|
25
|
+
/** @deprecated There is no offer to decline. Never produced. */
|
|
22
26
|
TicketRoutingStatus["DECLINED"] = "DECLINED";
|
|
23
27
|
TicketRoutingStatus["RETURNED"] = "RETURNED";
|
|
24
28
|
TicketRoutingStatus["ESCALATED"] = "ESCALATED";
|
|
@@ -58,10 +62,12 @@ var TicketSkillRelaxationMode;
|
|
|
58
62
|
var TicketEscalationTrigger;
|
|
59
63
|
(function (TicketEscalationTrigger) {
|
|
60
64
|
TicketEscalationTrigger["QUEUE_WAIT"] = "QUEUE_WAIT";
|
|
65
|
+
/** @deprecated Assignment is direct: there are no offers to time out. */
|
|
61
66
|
TicketEscalationTrigger["OFFER_TIMEOUT"] = "OFFER_TIMEOUT";
|
|
62
67
|
TicketEscalationTrigger["SLA_WARNING"] = "SLA_WARNING";
|
|
63
68
|
TicketEscalationTrigger["SLA_BREACH"] = "SLA_BREACH";
|
|
64
69
|
TicketEscalationTrigger["NO_ELIGIBLE_AGENT"] = "NO_ELIGIBLE_AGENT";
|
|
70
|
+
/** @deprecated Assignment is direct: there is no offer to decline. */
|
|
65
71
|
TicketEscalationTrigger["DECLINED"] = "DECLINED";
|
|
66
72
|
})(TicketEscalationTrigger || (exports.TicketEscalationTrigger = TicketEscalationTrigger = {}));
|
|
67
73
|
var TicketEscalationActionType;
|
|
@@ -81,7 +87,9 @@ var TicketAssignmentEndReason;
|
|
|
81
87
|
TicketAssignmentEndReason["COMPLETED"] = "COMPLETED";
|
|
82
88
|
TicketAssignmentEndReason["REASSIGNED"] = "REASSIGNED";
|
|
83
89
|
TicketAssignmentEndReason["RETURNED"] = "RETURNED";
|
|
90
|
+
/** @deprecated Assignment is direct: there is no offer to decline. Never produced. */
|
|
84
91
|
TicketAssignmentEndReason["DECLINED"] = "DECLINED";
|
|
92
|
+
/** @deprecated Assignment is direct: there are no offers to expire. Never produced. */
|
|
85
93
|
TicketAssignmentEndReason["EXPIRED"] = "EXPIRED";
|
|
86
94
|
TicketAssignmentEndReason["MANUAL"] = "MANUAL";
|
|
87
95
|
})(TicketAssignmentEndReason || (exports.TicketAssignmentEndReason = TicketAssignmentEndReason = {}));
|
package/dist/Tickets/Sla.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export declare enum SlaMetricType {
|
|
|
9
9
|
NEXT_RESPONSE = "NEXT_RESPONSE",
|
|
10
10
|
RESOLUTION = "RESOLUTION",
|
|
11
11
|
ASSIGNMENT = "ASSIGNMENT",
|
|
12
|
+
/** @deprecated Assignment is direct: nothing is ever accepted, so this clock never closes. Use ASSIGNMENT. */
|
|
12
13
|
ACCEPTANCE = "ACCEPTANCE",
|
|
13
14
|
PERIODIC_UPDATE = "PERIODIC_UPDATE",
|
|
14
15
|
STATUS_TIME = "STATUS_TIME",
|
|
@@ -41,6 +42,7 @@ export declare enum SlaEventType {
|
|
|
41
42
|
STATUS_ENTERED = "STATUS_ENTERED",
|
|
42
43
|
STATUS_EXITED = "STATUS_EXITED",
|
|
43
44
|
ASSIGNED = "ASSIGNED",
|
|
45
|
+
/** @deprecated Assignment is direct: no event ever produces this. Use ASSIGNED. */
|
|
44
46
|
ASSIGNMENT_ACCEPTED = "ASSIGNMENT_ACCEPTED",
|
|
45
47
|
PUBLIC_MESSAGE_RECEIVED = "PUBLIC_MESSAGE_RECEIVED",
|
|
46
48
|
PUBLIC_AGENT_RESPONSE_SENT = "PUBLIC_AGENT_RESPONSE_SENT",
|
package/dist/Tickets/Sla.js
CHANGED
|
@@ -12,6 +12,7 @@ var SlaMetricType;
|
|
|
12
12
|
SlaMetricType["NEXT_RESPONSE"] = "NEXT_RESPONSE";
|
|
13
13
|
SlaMetricType["RESOLUTION"] = "RESOLUTION";
|
|
14
14
|
SlaMetricType["ASSIGNMENT"] = "ASSIGNMENT";
|
|
15
|
+
/** @deprecated Assignment is direct: nothing is ever accepted, so this clock never closes. Use ASSIGNMENT. */
|
|
15
16
|
SlaMetricType["ACCEPTANCE"] = "ACCEPTANCE";
|
|
16
17
|
SlaMetricType["PERIODIC_UPDATE"] = "PERIODIC_UPDATE";
|
|
17
18
|
SlaMetricType["STATUS_TIME"] = "STATUS_TIME";
|
|
@@ -49,6 +50,7 @@ var SlaEventType;
|
|
|
49
50
|
SlaEventType["STATUS_ENTERED"] = "STATUS_ENTERED";
|
|
50
51
|
SlaEventType["STATUS_EXITED"] = "STATUS_EXITED";
|
|
51
52
|
SlaEventType["ASSIGNED"] = "ASSIGNED";
|
|
53
|
+
/** @deprecated Assignment is direct: no event ever produces this. Use ASSIGNED. */
|
|
52
54
|
SlaEventType["ASSIGNMENT_ACCEPTED"] = "ASSIGNMENT_ACCEPTED";
|
|
53
55
|
SlaEventType["PUBLIC_MESSAGE_RECEIVED"] = "PUBLIC_MESSAGE_RECEIVED";
|
|
54
56
|
SlaEventType["PUBLIC_AGENT_RESPONSE_SENT"] = "PUBLIC_AGENT_RESPONSE_SENT";
|