@bharatbxhipment/xhipment-models-v2 1.0.90 → 1.0.92

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 CHANGED
@@ -7,6 +7,7 @@ export * from "./schemas/ports/ports.model";
7
7
  export * from "./schemas/amsIsfFiling/ams-isf-filing.timeline.model";
8
8
  export * from "./schemas/call-center/call-center.model";
9
9
  export * from "./schemas/comms-hub/comms-hub.model";
10
+ export * from "./schemas/duty-calculator-contact/duty-calculator-contact.model";
10
11
  export * from "./schemas/cogs-gm/cogs-gm.model";
11
12
  export * from "./schemas/cogs-gm/cogs-history.model";
12
13
  export * from "./schemas/cogs-gm/cogs-reconciliation.model";
@@ -27,6 +28,7 @@ export * from "./schemas/ports/ports.interface";
27
28
  export * from "./schemas/amsIsfFiling/ams-isf-filing.timeline.interface";
28
29
  export * from "./schemas/call-center/call-center.interface";
29
30
  export * from "./schemas/comms-hub/comms-hub.interface";
31
+ export * from "./schemas/duty-calculator-contact/duty-calculator-contact.interface";
30
32
  export * from "./schemas/cogs-gm/cogs-gm.interface";
31
33
  export * from "./schemas/cogs-gm/cogs-history.interface";
32
34
  export * from "./schemas/cogs-gm/cogs-reconciliation.interface";
@@ -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,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC;AACpD,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,gCAAgC,CAAC;AAC/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uDAAuD,CAAC;AACtE,cAAc,2DAA2D,CAAC;AAC1E,cAAc,yDAAyD,CAAC;AACxE,cAAc,uDAAuD,CAAC;AAEtE,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;AACxD,cAAc,qEAAqE,CAAC;AACpF,cAAc,qCAAqC,CAAC;AACpD,cAAc,0CAA0C,CAAC;AACzD,cAAc,iDAAiD,CAAC;AAChE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,oCAAoC,CAAC;AACnD,cAAc,oDAAoD,CAAC;AACnE,cAAc,2DAA2D,CAAC;AAC1E,cAAc,2DAA2D,CAAC;AAC1E,cAAc,+DAA+D,CAAC;AAC9E,cAAc,6DAA6D,CAAC;AAC5E,cAAc,2DAA2D,CAAC"}
package/dist/index.js CHANGED
@@ -24,6 +24,7 @@ __exportStar(require("./schemas/ports/ports.model"), exports);
24
24
  __exportStar(require("./schemas/amsIsfFiling/ams-isf-filing.timeline.model"), exports);
25
25
  __exportStar(require("./schemas/call-center/call-center.model"), exports);
26
26
  __exportStar(require("./schemas/comms-hub/comms-hub.model"), exports);
27
+ __exportStar(require("./schemas/duty-calculator-contact/duty-calculator-contact.model"), exports);
27
28
  __exportStar(require("./schemas/cogs-gm/cogs-gm.model"), exports);
28
29
  __exportStar(require("./schemas/cogs-gm/cogs-history.model"), exports);
29
30
  __exportStar(require("./schemas/cogs-gm/cogs-reconciliation.model"), exports);
@@ -45,6 +46,7 @@ __exportStar(require("./schemas/ports/ports.interface"), exports);
45
46
  __exportStar(require("./schemas/amsIsfFiling/ams-isf-filing.timeline.interface"), exports);
46
47
  __exportStar(require("./schemas/call-center/call-center.interface"), exports);
47
48
  __exportStar(require("./schemas/comms-hub/comms-hub.interface"), exports);
49
+ __exportStar(require("./schemas/duty-calculator-contact/duty-calculator-contact.interface"), exports);
48
50
  __exportStar(require("./schemas/cogs-gm/cogs-gm.interface"), exports);
49
51
  __exportStar(require("./schemas/cogs-gm/cogs-history.interface"), exports);
50
52
  __exportStar(require("./schemas/cogs-gm/cogs-reconciliation.interface"), exports);
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,0EAAwD;AACxD,sEAAoD;AACpD,kEAAgD;AAChD,uEAAqD;AACrD,8EAA4D;AAC5D,6EAA2D;AAC3D,iEAA+C;AAC/C,iFAA+D;AAC/D,wFAAsE;AACtE,wFAAsE;AACtE,4FAA0E;AAC1E,0FAAwE;AACxE,wFAAsE;AACtE,QAAQ;AACR,yFAAuE;AACvE,0EAAwD;AACxD,wFAAsE;AACtE,6FAA2E;AAC3E,kFAAgE;AAChE,kEAAgD;AAChD,2FAAyE;AACzE,8EAA4D;AAC5D,0EAAwD;AACxD,sEAAoD;AACpD,2EAAyD;AACzD,kFAAgE;AAChE,iFAA+D;AAC/D,qEAAmD;AACnD,qFAAmE;AACnE,4FAA0E;AAC1E,4FAA0E;AAC1E,gGAA8E;AAC9E,8FAA4E;AAC5E,4FAA0E"}
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,kGAAgF;AAChF,kEAAgD;AAChD,uEAAqD;AACrD,8EAA4D;AAC5D,6EAA2D;AAC3D,iEAA+C;AAC/C,iFAA+D;AAC/D,wFAAsE;AACtE,wFAAsE;AACtE,4FAA0E;AAC1E,0FAAwE;AACxE,wFAAsE;AACtE,QAAQ;AACR,yFAAuE;AACvE,0EAAwD;AACxD,wFAAsE;AACtE,6FAA2E;AAC3E,kFAAgE;AAChE,kEAAgD;AAChD,2FAAyE;AACzE,8EAA4D;AAC5D,0EAAwD;AACxD,sGAAoF;AACpF,sEAAoD;AACpD,2EAAyD;AACzD,kFAAgE;AAChE,iFAA+D;AAC/D,qEAAmD;AACnD,qFAAmE;AACnE,4FAA0E;AAC1E,4FAA0E;AAC1E,gGAA8E;AAC9E,8FAA4E;AAC5E,4FAA0E"}
@@ -0,0 +1,16 @@
1
+ import { Types } from "mongoose";
2
+ export interface IDutyCalculatorContact {
3
+ name: string;
4
+ email: string;
5
+ phoneNumber: string;
6
+ companyName: string;
7
+ files?: {
8
+ filename: string;
9
+ url: string;
10
+ }[];
11
+ zohoTicketId?: string;
12
+ _id?: Types.ObjectId;
13
+ createdAt?: Date;
14
+ updatedAt?: Date;
15
+ }
16
+ //# sourceMappingURL=duty-calculator-contact.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"duty-calculator-contact.interface.d.ts","sourceRoot":"","sources":["../../../src/schemas/duty-calculator-contact/duty-calculator-contact.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,MAAM,WAAW,sBAAsB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE;QACJ,QAAQ,EAAE,MAAM,CAAC;QACjB,GAAG,EAAE,MAAM,CAAC;KACf,EAAE,CAAC;IACJ,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,GAAG,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC;IACrB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,SAAS,CAAC,EAAE,IAAI,CAAC;CACpB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=duty-calculator-contact.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"duty-calculator-contact.interface.js","sourceRoot":"","sources":["../../../src/schemas/duty-calculator-contact/duty-calculator-contact.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import { Schema } from 'mongoose';
2
+ import { IDutyCalculatorContact } from './duty-calculator-contact.interface';
3
+ export declare const dutyCalculatorContactSchema: Schema<IDutyCalculatorContact, import("mongoose").Model<IDutyCalculatorContact, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IDutyCalculatorContact>;
4
+ //# sourceMappingURL=duty-calculator-contact.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"duty-calculator-contact.model.d.ts","sourceRoot":"","sources":["../../../src/schemas/duty-calculator-contact/duty-calculator-contact.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAE7E,eAAO,MAAM,2BAA2B,uLAkCtC,CAAC"}
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.dutyCalculatorContactSchema = void 0;
4
+ const mongoose_1 = require("mongoose");
5
+ exports.dutyCalculatorContactSchema = new mongoose_1.Schema({
6
+ name: {
7
+ type: String,
8
+ required: true,
9
+ trim: true,
10
+ },
11
+ email: {
12
+ type: String,
13
+ required: true,
14
+ trim: true,
15
+ lowercase: true,
16
+ },
17
+ phoneNumber: {
18
+ type: String,
19
+ required: true,
20
+ trim: true,
21
+ },
22
+ companyName: {
23
+ type: String,
24
+ required: true,
25
+ trim: true,
26
+ },
27
+ files: [
28
+ {
29
+ filename: { type: String },
30
+ url: { type: String },
31
+ },
32
+ ],
33
+ zohoTicketId: {
34
+ type: String,
35
+ trim: true,
36
+ },
37
+ }, {
38
+ timestamps: true,
39
+ });
40
+ exports.dutyCalculatorContactSchema.index({ email: 1 });
41
+ //# sourceMappingURL=duty-calculator-contact.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"duty-calculator-contact.model.js","sourceRoot":"","sources":["../../../src/schemas/duty-calculator-contact/duty-calculator-contact.model.ts"],"names":[],"mappings":";;;AAAA,uCAAkC;AAGrB,QAAA,2BAA2B,GAAG,IAAI,iBAAM,CAAyB;IAC1E,IAAI,EAAE;QACF,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,IAAI;KACb;IACD,KAAK,EAAE;QACH,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,IAAI;QACV,SAAS,EAAE,IAAI;KAClB;IACD,WAAW,EAAE;QACT,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,IAAI;KACb;IACD,WAAW,EAAE;QACT,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,IAAI;KACb;IACD,KAAK,EAAE;QACH;YACI,QAAQ,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;YAC1B,GAAG,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;SACxB;KACJ;IACD,YAAY,EAAE;QACV,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,IAAI;KACb;CACJ,EAAE;IACC,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAEH,mCAA2B,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bharatbxhipment/xhipment-models-v2",
3
- "version": "1.0.90",
3
+ "version": "1.0.92",
4
4
  "description": "Mongoose schemas and TypeScript types for Xhipment application",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",