meemup-library 1.5.89 → 1.5.90

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.
@@ -15,6 +15,7 @@ import IBundleProduct from "../management/bundle-product/bundle-product";
15
15
  interface IPointOfSaleOrder {
16
16
  id: number;
17
17
  number: number;
18
+ companyId: number;
18
19
  customerId: number | null;
19
20
  firstName: string;
20
21
  lastName: string;
@@ -6,13 +6,11 @@ import EnumPaymentType from "../../enums/EnumPaymentType";
6
6
  import { INIT_TERMINAL } from "../../statics";
7
7
  import EnumPaymentState from "../../enums/EnumPaymentState";
8
8
  import EnumPickupInstruction from "../../enums/EnumPickupInstruction";
9
- // import IPointOfSaleElavonTerminalDevice, {
10
- // initPointOfSaleElavonTerminalDevice
11
- // } from "./IPointOfSaleElavonTerminalDevice";
12
9
  import EnumChannels from "../../enums/EnumChannels";
13
10
  export const initOrder = {
14
11
  id: -1,
15
12
  number: 0,
13
+ companyId: -1,
16
14
  //customer
17
15
  customerId: null,
18
16
  firstName: "",
@@ -7,6 +7,7 @@ import TPointOfSaleSaveOrderItem from "../../types/TPointOfSaleSaveOrderItem";
7
7
  export default interface IPointOfSaleSaveOrder {
8
8
  id?: number;
9
9
  number: number;
10
+ companyId: number;
10
11
  customer: IPointOfSaleSaveOrderCustomer;
11
12
  items: TPointOfSaleSaveOrderItem[];
12
13
  discount: IPointOfSaleSaveOrderDiscount | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.5.89",
3
+ "version": "1.5.90",
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.89\" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.5.90\" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"