@trii/types 2.10.503 → 2.10.505

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,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 = {}));
@@ -1 +1,2 @@
1
1
  export * from './Call';
2
+ export * from './RingGroup';
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./Call"), exports);
18
+ __exportStar(require("./RingGroup"), exports);
@@ -38,6 +38,7 @@ export interface IConversation {
38
38
  botVars: ConversationBotVar[];
39
39
  metadata: IConversationMetadata;
40
40
  finalizedAt: Date;
41
+ finalizedBy?: string;
41
42
  finalizedOnWebChat: Date;
42
43
  ending?: IEnding;
43
44
  reOpenAt?: Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/types",
3
- "version": "2.10.503",
3
+ "version": "2.10.505",
4
4
  "description": "Types definitions for Trii projects - ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",