@trii/types 2.10.796 → 2.10.797
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/Tickets/Routing.d.ts +11 -0
- package/dist/Tickets/Routing.js +11 -1
- package/package.json +1 -1
|
@@ -10,6 +10,15 @@ export declare enum TicketRoutingStrategy {
|
|
|
10
10
|
RANDOM = "RANDOM",
|
|
11
11
|
WEIGHTED = "WEIGHTED"
|
|
12
12
|
}
|
|
13
|
+
/** Marks a queue the platform creates and owns in every space. */
|
|
14
|
+
export declare enum TicketQueueSystemKey {
|
|
15
|
+
/**
|
|
16
|
+
* Catches every ticket that no routing policy routes. It cannot be disabled or
|
|
17
|
+
* deleted and its strategy is always MANUAL_PULL. With no groups configured any
|
|
18
|
+
* agent can pull from it; once groups are set, the usual membership rule applies.
|
|
19
|
+
*/
|
|
20
|
+
FALLBACK = "FALLBACK"
|
|
21
|
+
}
|
|
13
22
|
export declare enum TicketRoutingStatus {
|
|
14
23
|
NOT_ROUTED = "NOT_ROUTED",
|
|
15
24
|
QUEUED = "QUEUED",
|
|
@@ -155,6 +164,8 @@ export interface ITicketQueue extends ITicketAuditedEntity {
|
|
|
155
164
|
*/
|
|
156
165
|
maximumWaitMinutes?: number;
|
|
157
166
|
escalationPolicyId?: string;
|
|
167
|
+
/** Set only on a system queue; absent on queues an admin created. */
|
|
168
|
+
systemKey?: TicketQueueSystemKey;
|
|
158
169
|
}
|
|
159
170
|
export interface ITicketRoutingPolicy extends ITicketAuditedEntity {
|
|
160
171
|
name: string;
|
package/dist/Tickets/Routing.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EscalationPolicyWarningCode = exports.TicketSkillWarningCode = exports.TicketAssignmentEndReason = exports.TicketEscalationActionType = exports.TicketEscalationTrigger = exports.TicketSkillRelaxationMode = exports.TicketQueueOrderDirection = exports.TicketQueueOrderCriterion = exports.TicketRoutingConditionGroupOperator = exports.AgentAvailabilityStatus = exports.TicketRoutingStatus = exports.TicketRoutingStrategy = void 0;
|
|
3
|
+
exports.EscalationPolicyWarningCode = exports.TicketSkillWarningCode = exports.TicketAssignmentEndReason = exports.TicketEscalationActionType = exports.TicketEscalationTrigger = exports.TicketSkillRelaxationMode = exports.TicketQueueOrderDirection = exports.TicketQueueOrderCriterion = exports.TicketRoutingConditionGroupOperator = exports.AgentAvailabilityStatus = exports.TicketRoutingStatus = exports.TicketQueueSystemKey = exports.TicketRoutingStrategy = void 0;
|
|
4
4
|
var TicketRoutingStrategy;
|
|
5
5
|
(function (TicketRoutingStrategy) {
|
|
6
6
|
TicketRoutingStrategy["ROUND_ROBIN"] = "ROUND_ROBIN";
|
|
@@ -11,6 +11,16 @@ var TicketRoutingStrategy;
|
|
|
11
11
|
TicketRoutingStrategy["RANDOM"] = "RANDOM";
|
|
12
12
|
TicketRoutingStrategy["WEIGHTED"] = "WEIGHTED";
|
|
13
13
|
})(TicketRoutingStrategy || (exports.TicketRoutingStrategy = TicketRoutingStrategy = {}));
|
|
14
|
+
/** Marks a queue the platform creates and owns in every space. */
|
|
15
|
+
var TicketQueueSystemKey;
|
|
16
|
+
(function (TicketQueueSystemKey) {
|
|
17
|
+
/**
|
|
18
|
+
* Catches every ticket that no routing policy routes. It cannot be disabled or
|
|
19
|
+
* deleted and its strategy is always MANUAL_PULL. With no groups configured any
|
|
20
|
+
* agent can pull from it; once groups are set, the usual membership rule applies.
|
|
21
|
+
*/
|
|
22
|
+
TicketQueueSystemKey["FALLBACK"] = "FALLBACK";
|
|
23
|
+
})(TicketQueueSystemKey || (exports.TicketQueueSystemKey = TicketQueueSystemKey = {}));
|
|
14
24
|
var TicketRoutingStatus;
|
|
15
25
|
(function (TicketRoutingStatus) {
|
|
16
26
|
TicketRoutingStatus["NOT_ROUTED"] = "NOT_ROUTED";
|