@trii/types 2.10.504 → 2.10.506
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/Calls/RingGroup.d.ts +44 -0
- package/dist/Calls/RingGroup.js +27 -0
- package/dist/Calls/index.d.ts +1 -0
- package/dist/Calls/index.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export interface IRingGroup {
|
|
2
|
+
id: string;
|
|
3
|
+
spaceId: string;
|
|
4
|
+
name: string;
|
|
5
|
+
extension: string;
|
|
6
|
+
ringStrategy: RingStrategyType;
|
|
7
|
+
musicOnHold?: string;
|
|
8
|
+
customPrompt?: string;
|
|
9
|
+
ringTimeOut: number;
|
|
10
|
+
skipBusyAgent: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* extension number for external ring groups
|
|
13
|
+
*/
|
|
14
|
+
members: IRingGroupMember[];
|
|
15
|
+
TimeOutDestinationEnabled: boolean;
|
|
16
|
+
TimeOutDestinationType: ExtensionType;
|
|
17
|
+
TimeOutDestinationValue?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare enum RingStrategyType {
|
|
20
|
+
SIMULTANEOUS = 0,
|
|
21
|
+
RING_IN_ORDER = 1
|
|
22
|
+
}
|
|
23
|
+
export interface IRingGroupMember {
|
|
24
|
+
position: number;
|
|
25
|
+
extension: string;
|
|
26
|
+
}
|
|
27
|
+
export declare enum ExtensionType {
|
|
28
|
+
/**Extension is a user */
|
|
29
|
+
USER = 0,
|
|
30
|
+
/**Queue */
|
|
31
|
+
QUEUE = 1,
|
|
32
|
+
/**Group */
|
|
33
|
+
GROUP = 2,
|
|
34
|
+
/**Ring Group */
|
|
35
|
+
RING_GROUP = 3,
|
|
36
|
+
/**Conference */
|
|
37
|
+
CONFERENCE = 4,
|
|
38
|
+
/**Extension is a voicemail */
|
|
39
|
+
VOICEMAIL = 5,
|
|
40
|
+
/**Extension number */
|
|
41
|
+
EXTERNAL = 6,
|
|
42
|
+
/**Flow */
|
|
43
|
+
FLOW = 7
|
|
44
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ExtensionType = exports.RingStrategyType = void 0;
|
|
4
|
+
var RingStrategyType;
|
|
5
|
+
(function (RingStrategyType) {
|
|
6
|
+
RingStrategyType[RingStrategyType["SIMULTANEOUS"] = 0] = "SIMULTANEOUS";
|
|
7
|
+
RingStrategyType[RingStrategyType["RING_IN_ORDER"] = 1] = "RING_IN_ORDER";
|
|
8
|
+
})(RingStrategyType || (exports.RingStrategyType = RingStrategyType = {}));
|
|
9
|
+
var ExtensionType;
|
|
10
|
+
(function (ExtensionType) {
|
|
11
|
+
/**Extension is a user */
|
|
12
|
+
ExtensionType[ExtensionType["USER"] = 0] = "USER";
|
|
13
|
+
/**Queue */
|
|
14
|
+
ExtensionType[ExtensionType["QUEUE"] = 1] = "QUEUE";
|
|
15
|
+
/**Group */
|
|
16
|
+
ExtensionType[ExtensionType["GROUP"] = 2] = "GROUP";
|
|
17
|
+
/**Ring Group */
|
|
18
|
+
ExtensionType[ExtensionType["RING_GROUP"] = 3] = "RING_GROUP";
|
|
19
|
+
/**Conference */
|
|
20
|
+
ExtensionType[ExtensionType["CONFERENCE"] = 4] = "CONFERENCE";
|
|
21
|
+
/**Extension is a voicemail */
|
|
22
|
+
ExtensionType[ExtensionType["VOICEMAIL"] = 5] = "VOICEMAIL";
|
|
23
|
+
/**Extension number */
|
|
24
|
+
ExtensionType[ExtensionType["EXTERNAL"] = 6] = "EXTERNAL";
|
|
25
|
+
/**Flow */
|
|
26
|
+
ExtensionType[ExtensionType["FLOW"] = 7] = "FLOW";
|
|
27
|
+
})(ExtensionType || (exports.ExtensionType = ExtensionType = {}));
|
package/dist/Calls/index.d.ts
CHANGED
package/dist/Calls/index.js
CHANGED