@bharatbxhipment/xhipment-models-v2 1.0.33 → 1.0.34
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/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/schemas/call-center/call-center.interface.d.ts +15 -0
- package/dist/schemas/call-center/call-center.interface.d.ts.map +1 -0
- package/dist/schemas/call-center/call-center.interface.js +3 -0
- package/dist/schemas/call-center/call-center.interface.js.map +1 -0
- package/dist/schemas/call-center/call-center.model.d.ts +4 -0
- package/dist/schemas/call-center/call-center.model.d.ts.map +1 -0
- package/dist/schemas/call-center/call-center.model.js +15 -0
- package/dist/schemas/call-center/call-center.model.js.map +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export * from "./schemas/shipment-executions/shipment-execution.model";
|
|
|
5
5
|
export * from "./schemas/amsIsfFiling/ams-isf-filing.model";
|
|
6
6
|
export * from "./schemas/ports/ports.model";
|
|
7
7
|
export * from "./schemas/amsIsfFiling/ams-isf-filing.timeline.model";
|
|
8
|
+
export * from "./schemas/call-center/call-center.model";
|
|
8
9
|
export * from "./schemas/comms-hub/comms-hub.model";
|
|
9
10
|
export * from "./schemas/container-meta-data/container-meta-data.type";
|
|
10
11
|
export * from "./schemas/countries/countries.interface";
|
|
@@ -13,5 +14,6 @@ export * from "./schemas/shipment-executions/shipment-execution.interface";
|
|
|
13
14
|
export * from "./schemas/amsIsfFiling/ams-isf-filing.interface";
|
|
14
15
|
export * from "./schemas/ports/ports.interface";
|
|
15
16
|
export * from "./schemas/amsIsfFiling/ams-isf-filing.timeline.interface";
|
|
17
|
+
export * from "./schemas/call-center/call-center.interface";
|
|
16
18
|
export * from "./schemas/comms-hub/comms-hub.interface";
|
|
17
19
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,yDAAyD,CAAC;AACxE,cAAc,mDAAmD,CAAC;AAClE,cAAc,qCAAqC,CAAC;AACpD,cAAc,wDAAwD,CAAC;AACvE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sDAAsD,CAAC;AACrE,cAAc,qCAAqC,CAAC;AAEpD,cAAc,wDAAwD,CAAC;AACvE,cAAc,yCAAyC,CAAC;AACxD,cAAc,uDAAuD,CAAC;AACtE,cAAc,4DAA4D,CAAC;AAC3E,cAAc,iDAAiD,CAAC;AAChE,cAAc,iCAAiC,CAAC;AAChD,cAAc,0DAA0D,CAAC;AACzE,cAAc,yCAAyC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,yDAAyD,CAAC;AACxE,cAAc,mDAAmD,CAAC;AAClE,cAAc,qCAAqC,CAAC;AACpD,cAAc,wDAAwD,CAAC;AACvE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sDAAsD,CAAC;AACrE,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC;AAEpD,cAAc,wDAAwD,CAAC;AACvE,cAAc,yCAAyC,CAAC;AACxD,cAAc,uDAAuD,CAAC;AACtE,cAAc,4DAA4D,CAAC;AAC3E,cAAc,iDAAiD,CAAC;AAChE,cAAc,iCAAiC,CAAC;AAChD,cAAc,0DAA0D,CAAC;AACzE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,yCAAyC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -22,6 +22,7 @@ __exportStar(require("./schemas/shipment-executions/shipment-execution.model"),
|
|
|
22
22
|
__exportStar(require("./schemas/amsIsfFiling/ams-isf-filing.model"), exports);
|
|
23
23
|
__exportStar(require("./schemas/ports/ports.model"), exports);
|
|
24
24
|
__exportStar(require("./schemas/amsIsfFiling/ams-isf-filing.timeline.model"), exports);
|
|
25
|
+
__exportStar(require("./schemas/call-center/call-center.model"), exports);
|
|
25
26
|
__exportStar(require("./schemas/comms-hub/comms-hub.model"), exports);
|
|
26
27
|
// Types
|
|
27
28
|
__exportStar(require("./schemas/container-meta-data/container-meta-data.type"), exports);
|
|
@@ -31,5 +32,6 @@ __exportStar(require("./schemas/shipment-executions/shipment-execution.interface
|
|
|
31
32
|
__exportStar(require("./schemas/amsIsfFiling/ams-isf-filing.interface"), exports);
|
|
32
33
|
__exportStar(require("./schemas/ports/ports.interface"), exports);
|
|
33
34
|
__exportStar(require("./schemas/amsIsfFiling/ams-isf-filing.timeline.interface"), exports);
|
|
35
|
+
__exportStar(require("./schemas/call-center/call-center.interface"), exports);
|
|
34
36
|
__exportStar(require("./schemas/comms-hub/comms-hub.interface"), exports);
|
|
35
37
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,UAAU;AACV,0FAAwE;AACxE,oFAAkE;AAClE,sEAAoD;AACpD,yFAAuE;AACvE,8EAA4D;AAC5D,8DAA4C;AAC5C,uFAAqE;AACrE,sEAAoD;AACpD,QAAQ;AACR,yFAAuE;AACvE,0EAAwD;AACxD,wFAAsE;AACtE,6FAA2E;AAC3E,kFAAgE;AAChE,kEAAgD;AAChD,2FAAyE;AACzE,0EAAwD"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,UAAU;AACV,0FAAwE;AACxE,oFAAkE;AAClE,sEAAoD;AACpD,yFAAuE;AACvE,8EAA4D;AAC5D,8DAA4C;AAC5C,uFAAqE;AACrE,0EAAwD;AACxD,sEAAoD;AACpD,QAAQ;AACR,yFAAuE;AACvE,0EAAwD;AACxD,wFAAsE;AACtE,6FAA2E;AAC3E,kFAAgE;AAChE,kEAAgD;AAChD,2FAAyE;AACzE,8EAA4D;AAC5D,0EAAwD"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface CallCenter {
|
|
2
|
+
time: Date;
|
|
3
|
+
isNewCustomer: boolean;
|
|
4
|
+
status: 'missed' | 'answered' | 'busy' | 'not-answered';
|
|
5
|
+
owner: string;
|
|
6
|
+
comments: string;
|
|
7
|
+
isFollowUpRequired: boolean;
|
|
8
|
+
callFlow: string;
|
|
9
|
+
numberOfCallsUnanswered: number;
|
|
10
|
+
callDuration?: number;
|
|
11
|
+
callType: 'inbound' | 'outbound';
|
|
12
|
+
callRecordingUrl: string;
|
|
13
|
+
lisaReferenceUrl: string;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=call-center.interface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"call-center.interface.d.ts","sourceRoot":"","sources":["../../../src/schemas/call-center/call-center.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACvB,IAAI,EAAE,IAAI,CAAC;IACX,aAAa,EAAE,OAAO,CAAC;IACvB,MAAM,EAAE,QAAQ,GAAG,UAAU,GAAG,MAAM,GAAG,cAAc,CAAC;IACxD,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,uBAAuB,EAAE,MAAM,CAAC;IAChC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,SAAS,GAAG,UAAU,CAAC;IACjC,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;CAC5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"call-center.interface.js","sourceRoot":"","sources":["../../../src/schemas/call-center/call-center.interface.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Schema } from "mongoose";
|
|
2
|
+
import { CallCenter } from "./call-center.interface";
|
|
3
|
+
export declare const callCenterSchema: Schema<CallCenter, import("mongoose").Model<CallCenter, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, CallCenter>;
|
|
4
|
+
//# sourceMappingURL=call-center.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"call-center.model.d.ts","sourceRoot":"","sources":["../../../src/schemas/call-center/call-center.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD,eAAO,MAAM,gBAAgB,mJAS3B,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.callCenterSchema = void 0;
|
|
4
|
+
const mongoose_1 = require("mongoose");
|
|
5
|
+
exports.callCenterSchema = new mongoose_1.Schema({
|
|
6
|
+
time: { type: Date, required: true },
|
|
7
|
+
isNewCustomer: { type: Boolean, required: true },
|
|
8
|
+
status: { type: String, required: true },
|
|
9
|
+
owner: { type: String, required: true },
|
|
10
|
+
comments: { type: String, required: true },
|
|
11
|
+
isFollowUpRequired: { type: Boolean, required: true },
|
|
12
|
+
callFlow: { type: String, required: true },
|
|
13
|
+
numberOfCallsUnanswered: { type: Number, required: true },
|
|
14
|
+
});
|
|
15
|
+
//# sourceMappingURL=call-center.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"call-center.model.js","sourceRoot":"","sources":["../../../src/schemas/call-center/call-center.model.ts"],"names":[],"mappings":";;;AAAA,uCAAkC;AAGrB,QAAA,gBAAgB,GAAG,IAAI,iBAAM,CAAa;IACnD,IAAI,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE;IACpC,aAAa,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;IAChD,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IACxC,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IACvC,QAAQ,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IAC1C,kBAAkB,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;IACrD,QAAQ,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IAC1C,uBAAuB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;CAC5D,CAAC,CAAC"}
|