meemup-library 1.1.24 → 1.1.25

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,7 +1,6 @@
1
1
  import IProduct from "./IProduct";
2
2
  import ICategory from "./ICategory";
3
3
  import IExtra from "./IExtra";
4
- import ISetting from "./ISetting";
5
4
  import IGeneralInformation from "./IGeneralInformation";
6
5
  import ITextValue from "./ITextValue";
7
6
  import ICheckoutOption from "./ICheckoutOption";
@@ -10,12 +9,13 @@ import IPrintTemplate from "./IPrintTemplate";
10
9
  import IOrderState from "./IOrderState";
11
10
  import IStarMicronicPrinter from "./IStarMicronicPrinter";
12
11
  import IBaseCustomer from "./IBaseCustomer";
12
+ import IPointOfSaleSetting from "./IPointOfSaleSetting";
13
13
  interface IApiShop {
14
14
  ok: boolean;
15
15
  products: IProduct[];
16
16
  categories: ICategory[];
17
17
  extras: IExtra[];
18
- setting: ISetting;
18
+ setting: IPointOfSaleSetting;
19
19
  generalInformation: IGeneralInformation;
20
20
  customers: IBaseCustomer[];
21
21
  printTemplates: IPrintTemplate[];
@@ -1,7 +1,7 @@
1
- import { initSetting } from "./ISetting";
2
1
  import { initGeneralInformation } from "./IGeneralInformation";
3
2
  import { initCheckoutOption } from "./ICheckoutOption";
4
3
  import { initGeneralItems } from "./IGeneralItems";
4
+ import { initPointOfSaleSetting } from "./IPointOfSaleSetting";
5
5
  export const initApiShop = {
6
6
  ok: false,
7
7
  extras: [],
@@ -9,7 +9,7 @@ export const initApiShop = {
9
9
  categories: [],
10
10
  generalInformation: initGeneralInformation,
11
11
  printTemplates: [],
12
- setting: initSetting,
12
+ setting: initPointOfSaleSetting,
13
13
  products: [],
14
14
  terminals: [],
15
15
  checkoutOption: initCheckoutOption,
@@ -0,0 +1,30 @@
1
+ import IBaseCustomer from "../IBaseCustomer";
2
+ import ICategory from "../ICategory";
3
+ import ICheckoutOption from "../ICheckoutOption";
4
+ import IExtra from "../IExtra";
5
+ import IGeneralInformation from "../IGeneralInformation";
6
+ import IGeneralItems from "../IGeneralItems";
7
+ import IOrderState from "../IOrderState";
8
+ import IPointOfSaleSetting from "../IPointOfSaleSetting";
9
+ import IPrintTemplate from "../IPrintTemplate";
10
+ import IProduct from "../IProduct";
11
+ import IStarMicronicPrinter from "../IStarMicronicPrinter";
12
+ import ITextValue from "../ITextValue";
13
+ interface IPointOfSaleApiShop {
14
+ ok: boolean;
15
+ products: IProduct[];
16
+ categories: ICategory[];
17
+ extras: IExtra[];
18
+ setting: IPointOfSaleSetting;
19
+ generalInformation: IGeneralInformation;
20
+ customers: IBaseCustomer[];
21
+ printTemplates: IPrintTemplate[];
22
+ terminals: ITextValue[];
23
+ checkoutOption: ICheckoutOption;
24
+ generalItems: IGeneralItems;
25
+ starMicronicPrinters: IStarMicronicPrinter[];
26
+ driversNames: ITextValue[];
27
+ orderStates: IOrderState[];
28
+ }
29
+ export default IPointOfSaleApiShop;
30
+ export declare const initApiShop: IPointOfSaleApiShop;
@@ -0,0 +1,20 @@
1
+ import { initCheckoutOption } from "../ICheckoutOption";
2
+ import { initGeneralInformation } from "../IGeneralInformation";
3
+ import { initGeneralItems } from "../IGeneralItems";
4
+ import { initPointOfSaleSetting } from "../IPointOfSaleSetting";
5
+ export const initApiShop = {
6
+ ok: false,
7
+ extras: [],
8
+ customers: [],
9
+ categories: [],
10
+ generalInformation: initGeneralInformation,
11
+ printTemplates: [],
12
+ setting: initPointOfSaleSetting,
13
+ products: [],
14
+ terminals: [],
15
+ checkoutOption: initCheckoutOption,
16
+ generalItems: initGeneralItems,
17
+ starMicronicPrinters: [],
18
+ driversNames: [],
19
+ orderStates: []
20
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.1.24",
3
+ "version": "1.1.25",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",