@trii/types 2.10.509 → 2.10.510

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,17 @@
1
+ export interface IAudio {
2
+ id: string;
3
+ spaceId: string;
4
+ type: audioType;
5
+ name: string;
6
+ description: string;
7
+ url: string;
8
+ fileName: string;
9
+ mimeType: string;
10
+ duration: number;
11
+ createdAt?: Date | null;
12
+ createdBy?: string | null;
13
+ }
14
+ export declare enum audioType {
15
+ PROMPT = 0,
16
+ MUSIC = 1
17
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.audioType = void 0;
4
+ var audioType;
5
+ (function (audioType) {
6
+ audioType[audioType["PROMPT"] = 0] = "PROMPT";
7
+ audioType[audioType["MUSIC"] = 1] = "MUSIC";
8
+ })(audioType || (exports.audioType = audioType = {}));
@@ -34,6 +34,8 @@ export interface ICallLog {
34
34
  sipCallId: string;
35
35
  domainName: string;
36
36
  source: string;
37
+ createdAt?: Date | null;
38
+ createdBy?: string | null;
37
39
  }
38
40
  export declare enum CallType {
39
41
  NONE = 0,
@@ -15,4 +15,6 @@ export interface IExtension {
15
15
  concurrentRegistrations: number;
16
16
  dtmfMode: string;
17
17
  codecs: string;
18
+ createdAt?: Date | null;
19
+ createdBy?: string | null;
18
20
  }
@@ -1,3 +1,4 @@
1
+ import { ExtensionType, IRingGroupMember } from "./RingGroup";
1
2
  export interface IQueue {
2
3
  id: string;
3
4
  spaceId: string;
@@ -38,6 +39,8 @@ export interface IQueue {
38
39
  TimeOutDestinationEnabled: boolean;
39
40
  TimeOutDestinationType: ExtensionType;
40
41
  TimeOutDestinationValue?: string;
42
+ createdAt?: Date | null;
43
+ createdBy?: string | null;
41
44
  }
42
45
  export declare enum RingStrategyQueue {
43
46
  RING_ALL = 0,
@@ -47,25 +50,3 @@ export declare enum RingStrategyQueue {
47
50
  RANDOM = 4,
48
51
  ROUND_ROBIN = 5
49
52
  }
50
- export interface IRingGroupMember {
51
- position: number;
52
- extension: string;
53
- }
54
- export declare enum ExtensionType {
55
- /**Extension is a user */
56
- USER = 0,
57
- /**Queue */
58
- QUEUE = 1,
59
- /**Group */
60
- GROUP = 2,
61
- /**Ring Group */
62
- RING_GROUP = 3,
63
- /**Conference */
64
- CONFERENCE = 4,
65
- /**Extension is a voicemail */
66
- VOICEMAIL = 5,
67
- /**Extension number */
68
- EXTERNAL = 6,
69
- /**Flow */
70
- FLOW = 7
71
- }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ExtensionType = exports.RingStrategyQueue = void 0;
3
+ exports.RingStrategyQueue = void 0;
4
4
  var RingStrategyQueue;
5
5
  (function (RingStrategyQueue) {
6
6
  RingStrategyQueue[RingStrategyQueue["RING_ALL"] = 0] = "RING_ALL";
@@ -10,22 +10,3 @@ var RingStrategyQueue;
10
10
  RingStrategyQueue[RingStrategyQueue["RANDOM"] = 4] = "RANDOM";
11
11
  RingStrategyQueue[RingStrategyQueue["ROUND_ROBIN"] = 5] = "ROUND_ROBIN";
12
12
  })(RingStrategyQueue || (exports.RingStrategyQueue = RingStrategyQueue = {}));
13
- var ExtensionType;
14
- (function (ExtensionType) {
15
- /**Extension is a user */
16
- ExtensionType[ExtensionType["USER"] = 0] = "USER";
17
- /**Queue */
18
- ExtensionType[ExtensionType["QUEUE"] = 1] = "QUEUE";
19
- /**Group */
20
- ExtensionType[ExtensionType["GROUP"] = 2] = "GROUP";
21
- /**Ring Group */
22
- ExtensionType[ExtensionType["RING_GROUP"] = 3] = "RING_GROUP";
23
- /**Conference */
24
- ExtensionType[ExtensionType["CONFERENCE"] = 4] = "CONFERENCE";
25
- /**Extension is a voicemail */
26
- ExtensionType[ExtensionType["VOICEMAIL"] = 5] = "VOICEMAIL";
27
- /**Extension number */
28
- ExtensionType[ExtensionType["EXTERNAL"] = 6] = "EXTERNAL";
29
- /**Flow */
30
- ExtensionType[ExtensionType["FLOW"] = 7] = "FLOW";
31
- })(ExtensionType || (exports.ExtensionType = ExtensionType = {}));
@@ -15,6 +15,8 @@ export interface IRingGroup {
15
15
  TimeOutDestinationEnabled: boolean;
16
16
  TimeOutDestinationType: ExtensionType;
17
17
  TimeOutDestinationValue?: string;
18
+ createdAt?: Date | null;
19
+ createdBy?: string | null;
18
20
  }
19
21
  export declare enum RingStrategyType {
20
22
  SIMULTANEOUS = 0,
@@ -26,4 +26,6 @@ export interface ITrunk {
26
26
  * e.g. "rfc4733"
27
27
  */
28
28
  dtmfMode: string;
29
+ createdAt?: Date | null;
30
+ createdBy?: string | null;
29
31
  }
@@ -3,3 +3,4 @@ export * from './RingGroup';
3
3
  export * from './Trunk';
4
4
  export * from './Transport';
5
5
  export * from './Codecs';
6
+ export * from './Queue';
@@ -19,3 +19,4 @@ __exportStar(require("./RingGroup"), exports);
19
19
  __exportStar(require("./Trunk"), exports);
20
20
  __exportStar(require("./Transport"), exports);
21
21
  __exportStar(require("./Codecs"), exports);
22
+ __exportStar(require("./Queue"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/types",
3
- "version": "2.10.509",
3
+ "version": "2.10.510",
4
4
  "description": "Types definitions for Trii projects - ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",