orbitx-core-models 11.5.0 → 11.6.0

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.
@@ -20,5 +20,6 @@ export interface IMonthlyTierSnapshot {
20
20
  rewardAmount: number;
21
21
  commissionEarned: number;
22
22
  lockedAt: Date;
23
+ walletBalance: number;
23
24
  }
24
25
  //# sourceMappingURL=monthlyTierSnapshot.interface.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"monthlyTierSnapshot.interface.d.ts","sourceRoot":"","sources":["../../src/interfaces/monthlyTierSnapshot.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAElD,MAAM,WAAW,oBAAoB;IACnC,GAAG,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC;IAErB,OAAO,EAAE,KAAK,CAAC,QAAQ,CAAC;IAExB,KAAK,EAAE,MAAM,CAAC;IAEd,IAAI,EAAE,QAAQ,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IAEvB,kBAAkB,EAAE,MAAM,CAAC;IAE3B,aAAa,EAAE;QACb,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IAEF,gBAAgB,EAAE,MAAM,CAAC;IAEzB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IAExB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IAEvB,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IAErB,gBAAgB,EAAE,MAAM,CAAC;IAEzB,QAAQ,EAAE,IAAI,CAAC;CAChB"}
1
+ {"version":3,"file":"monthlyTierSnapshot.interface.d.ts","sourceRoot":"","sources":["../../src/interfaces/monthlyTierSnapshot.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAElD,MAAM,WAAW,oBAAoB;IACnC,GAAG,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC;IAErB,OAAO,EAAE,KAAK,CAAC,QAAQ,CAAC;IAExB,KAAK,EAAE,MAAM,CAAC;IAEd,IAAI,EAAE,QAAQ,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IAEvB,kBAAkB,EAAE,MAAM,CAAC;IAE3B,aAAa,EAAE;QACb,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IAEF,gBAAgB,EAAE,MAAM,CAAC;IAEzB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IAExB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IAEvB,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IAErB,gBAAgB,EAAE,MAAM,CAAC;IAEzB,QAAQ,EAAE,IAAI,CAAC;IAEf,aAAa,EAAE,MAAM,CAAC;CACvB"}
@@ -1 +1 @@
1
- {"version":3,"file":"monthlyTierSnapshot.model.d.ts","sourceRoot":"","sources":["../../src/models/monthlyTierSnapshot.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAoB,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AAyGnF,eAAO,MAAM,mBAAmB;;;;OAG/B,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"monthlyTierSnapshot.model.d.ts","sourceRoot":"","sources":["../../src/models/monthlyTierSnapshot.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAoB,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AA+GnF,eAAO,MAAM,mBAAmB;;;;OAG/B,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -112,6 +112,11 @@ const MonthlyTierSnapshotSchema = new mongoose_1.Schema({
112
112
  required: true,
113
113
  min: 0,
114
114
  },
115
+ walletBalance: {
116
+ type: Number,
117
+ required: true,
118
+ min: 0,
119
+ },
115
120
  lockedAt: {
116
121
  type: Date,
117
122
  default: Date.now,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orbitx-core-models",
3
- "version": "11.5.0",
3
+ "version": "11.6.0",
4
4
  "description": "Shared Mongoose models and interfaces for OrbitX services",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",