@onereach/types-hitl-api 0.0.18 → 0.0.19

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,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CALL_MEMBER_TYPE = exports.CALL_MEMBER_STATUS = exports.AGENT_STATUS = void 0;
4
+ var AGENT_STATUS;
5
+ (function (AGENT_STATUS) {
6
+ AGENT_STATUS["AVAILABLE"] = "AVAILABLE";
7
+ AGENT_STATUS["BUSY"] = "BUSY";
8
+ AGENT_STATUS["OFFLINE"] = "OFFLINE";
9
+ })(AGENT_STATUS = exports.AGENT_STATUS || (exports.AGENT_STATUS = {}));
10
+ var CALL_MEMBER_STATUS;
11
+ (function (CALL_MEMBER_STATUS) {
12
+ CALL_MEMBER_STATUS["JOINED"] = "JOINED";
13
+ CALL_MEMBER_STATUS["CONNECTED"] = "CONNECTED";
14
+ CALL_MEMBER_STATUS["RINGING"] = "RINGING";
15
+ CALL_MEMBER_STATUS["ON_HOLD"] = "ON_HOLD";
16
+ CALL_MEMBER_STATUS["MUTED"] = "MUTED";
17
+ CALL_MEMBER_STATUS["ERROR"] = "ERROR";
18
+ CALL_MEMBER_STATUS["BUSY"] = "BUSY";
19
+ CALL_MEMBER_STATUS["NOT_CONNECTED"] = "NOT_CONNECTED";
20
+ CALL_MEMBER_STATUS["DISCONNECTED"] = "DISCONNECTED";
21
+ CALL_MEMBER_STATUS["HANG_UP"] = "HANG_UP";
22
+ })(CALL_MEMBER_STATUS = exports.CALL_MEMBER_STATUS || (exports.CALL_MEMBER_STATUS = {}));
23
+ var CALL_MEMBER_TYPE;
24
+ (function (CALL_MEMBER_TYPE) {
25
+ CALL_MEMBER_TYPE["AGENT"] = "agent";
26
+ CALL_MEMBER_TYPE["CONTACT"] = "contact";
27
+ CALL_MEMBER_TYPE["THIRD_PARTY"] = "3rd_party";
28
+ })(CALL_MEMBER_TYPE = exports.CALL_MEMBER_TYPE || (exports.CALL_MEMBER_TYPE = {}));
29
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/constants/index.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,6BAAa,CAAA;IACb,mCAAmB,CAAA;AACrB,CAAC,EAJW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAIvB;AAED,IAAY,kBAWX;AAXD,WAAY,kBAAkB;IAC5B,uCAAiB,CAAA;IACjB,6CAAuB,CAAA;IACvB,yCAAmB,CAAA;IACnB,yCAAmB,CAAA;IACnB,qCAAe,CAAA;IACf,qCAAe,CAAA;IACf,mCAAa,CAAA;IACb,qDAA+B,CAAA;IAC/B,mDAA6B,CAAA;IAC7B,yCAAmB,CAAA;AACrB,CAAC,EAXW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAW7B;AAED,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,mCAAe,CAAA;IACf,uCAAmB,CAAA;IACnB,6CAAyB,CAAA;AAC3B,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./constants"), exports);
14
+ __exportStar(require("./interfaces/index.types"), exports);
15
+ //# sourceMappingURL=index.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.types.js","sourceRoot":"","sources":["../../src/index.types.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8CAA4B;AAC5B,2DAAyC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=agents.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agents.js","sourceRoot":"","sources":["../../../src/interfaces/agents.ts"],"names":[],"mappings":""}
@@ -2,13 +2,13 @@ export declare type JSONProperty = string | boolean | number | null;
2
2
  export declare type JSONType = JSONType[] | {
3
3
  [key: string]: JSONProperty | JSONType;
4
4
  };
5
- export interface IDefaultPrimaryKey {
6
- readonly id: number;
7
- }
8
5
  export interface ITimestamps {
9
6
  readonly createdAt?: Date;
10
7
  readonly updatedAt?: Date;
11
8
  }
9
+ export interface IDefaultPrimaryKey {
10
+ readonly id: number;
11
+ }
12
12
  export interface ITargetAccountId {
13
13
  readonly accountId?: string;
14
14
  }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=common.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/interfaces/common.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=conferences.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conferences.js","sourceRoot":"","sources":["../../../src/interfaces/conferences.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=event-templates.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"event-templates.js","sourceRoot":"","sources":["../../../src/interfaces/event-templates.ts"],"names":[],"mappings":""}
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
11
+ }) : function(o, v) {
12
+ o["default"] = v;
13
+ });
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ var __importStar = (this && this.__importStar) || function (mod) {
18
+ if (mod && mod.__esModule) return mod;
19
+ var result = {};
20
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
21
+ __setModuleDefault(result, mod);
22
+ return result;
23
+ };
24
+ Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.Conferences = exports.EventTemplates = exports.RuleGroups = exports.Agents = exports.Migrations = exports.Settings = void 0;
26
+ /**
27
+ * TODO: Right now only includes types for available features.
28
+ * Should be removed later, when all features are enabled.
29
+ */
30
+ __exportStar(require("./common"), exports);
31
+ exports.Settings = __importStar(require("./settings"));
32
+ exports.Migrations = __importStar(require("./migrations"));
33
+ exports.Agents = __importStar(require("./agents"));
34
+ exports.RuleGroups = __importStar(require("./rule-groups"));
35
+ exports.EventTemplates = __importStar(require("./event-templates"));
36
+ exports.Conferences = __importStar(require("./conferences"));
37
+ //# sourceMappingURL=index.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.types.js","sourceRoot":"","sources":["../../../src/interfaces/index.types.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;GAGG;AACH,2CAAyB;AACzB,uDAAuC;AACvC,2DAA2C;AAC3C,mDAAmC;AACnC,4DAA4C;AAC5C,oEAAoD;AACpD,6DAA6C"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=migrations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"migrations.js","sourceRoot":"","sources":["../../../src/interfaces/migrations.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=rule-groups.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rule-groups.js","sourceRoot":"","sources":["../../../src/interfaces/rule-groups.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=settings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../src/interfaces/settings.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@onereach/types-hitl-api",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
4
4
  "author": "OneReach.ai",
5
- "main": "dist/types/index.types.d.ts",
5
+ "main": "dist/types/index.types.js",
6
+ "types": "dist/types/index.types.d.ts",
6
7
  "files": [
7
8
  "dist/types/**/*.*"
8
9
  ],