meemup-library 1.5.40 → 1.5.42

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.
@@ -1,8 +1,6 @@
1
1
  declare enum EnumPointOfSaleReportFormMode {
2
- STORE_OPERATION = 1,
3
- DRIVERS = 2,
4
- CUSTOM_TRANSACTION = 3,
5
- TERMINALS = 4,
6
- STAFS = 5
2
+ Store = 1,
3
+ Drivers = 2,
4
+ CashDrawers = 3
7
5
  }
8
6
  export default EnumPointOfSaleReportFormMode;
@@ -1,9 +1,7 @@
1
1
  var EnumPointOfSaleReportFormMode;
2
2
  (function (EnumPointOfSaleReportFormMode) {
3
- EnumPointOfSaleReportFormMode[EnumPointOfSaleReportFormMode["STORE_OPERATION"] = 1] = "STORE_OPERATION";
4
- EnumPointOfSaleReportFormMode[EnumPointOfSaleReportFormMode["DRIVERS"] = 2] = "DRIVERS";
5
- EnumPointOfSaleReportFormMode[EnumPointOfSaleReportFormMode["CUSTOM_TRANSACTION"] = 3] = "CUSTOM_TRANSACTION";
6
- EnumPointOfSaleReportFormMode[EnumPointOfSaleReportFormMode["TERMINALS"] = 4] = "TERMINALS";
7
- EnumPointOfSaleReportFormMode[EnumPointOfSaleReportFormMode["STAFS"] = 5] = "STAFS";
3
+ EnumPointOfSaleReportFormMode[EnumPointOfSaleReportFormMode["Store"] = 1] = "Store";
4
+ EnumPointOfSaleReportFormMode[EnumPointOfSaleReportFormMode["Drivers"] = 2] = "Drivers";
5
+ EnumPointOfSaleReportFormMode[EnumPointOfSaleReportFormMode["CashDrawers"] = 3] = "CashDrawers";
8
6
  })(EnumPointOfSaleReportFormMode || (EnumPointOfSaleReportFormMode = {}));
9
7
  export default EnumPointOfSaleReportFormMode;
@@ -6,6 +6,7 @@ export default interface IPointOfSaleReportForm {
6
6
  mode: EnumPointOfSaleReportFormMode;
7
7
  staffId: number;
8
8
  driverId: number;
9
+ cashDrawerId: number;
9
10
  page: number;
10
11
  limit: number;
11
12
  terminalId: number;
@@ -3,9 +3,10 @@ export const initPointOfSaleReportForm = {
3
3
  startDate: new Date(),
4
4
  endDate: new Date(),
5
5
  type: 1,
6
- mode: EnumPointOfSaleReportFormMode.STORE_OPERATION,
6
+ mode: EnumPointOfSaleReportFormMode.Store,
7
7
  staffId: -1,
8
8
  driverId: -1,
9
+ cashDrawerId: -1,
9
10
  page: 0,
10
11
  limit: 25,
11
12
  terminalId: -1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.5.40",
3
+ "version": "1.5.42",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,7 +11,7 @@
11
11
  "remove:one": "rimraf dist",
12
12
  "remove:two": "rimraf ./src/dist",
13
13
  "test": "echo \"Error: no test specified\" && exit 1",
14
- "commit": "git add . && git commit -m \"version.1.5.40\" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.5.42\" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"