meemup-library 1.0.75 → 1.0.77

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.
@@ -34,7 +34,7 @@ export interface ISaveOrder {
34
34
  driverId: number | null;
35
35
  deviceId: string | null;
36
36
  zoneId: number | null;
37
- refrenceId: string;
37
+ referenceId: string;
38
38
  }
39
39
  export interface ISaveOrderAnswer {
40
40
  orderId: number;
@@ -4,7 +4,7 @@ interface IWorkScreen {
4
4
  screen: string;
5
5
  waitLogOut: boolean;
6
6
  waitDestroyToken: boolean;
7
- waitSyncLocalOrders: boolean;
7
+ waitSyncLocalOrders: TApiStatus;
8
8
  apiOnlineOrders: TApiStatus;
9
9
  apiShop: TApiStatus;
10
10
  detail: IOrderDetails | null;
@@ -2,7 +2,7 @@ export const initWorkScreen = {
2
2
  screen: "/order",
3
3
  waitLogOut: false,
4
4
  waitDestroyToken: false,
5
- waitSyncLocalOrders: false,
5
+ waitSyncLocalOrders: "FREE",
6
6
  apiOnlineOrders: "FREE",
7
7
  apiShop: "FREE",
8
8
  detail: null
package/dist/statics.d.ts CHANGED
@@ -5,6 +5,7 @@ export declare const API_ROOT = "https://core.meemup.com";
5
5
  export declare const STORAGE_PRE_ORDER_DETAIL_NAME = "z-";
6
6
  export declare const STORAGE_PRE_LOG_NAME = "log-";
7
7
  export declare const MANAGEMENT_URL = "https://my.meemup.com";
8
+ export declare const MANAGEMENT_BETA_URL = "https://beta_management.meemup.com";
8
9
  export declare const GOOGLE_MAP_TOKEN = "AIzaSyCPfdaGt8HtI21kimrmVN08yNHu-lvmgcA";
9
10
  export declare const CUSTOM_DELIVERY_ZONE_ID: null;
10
11
  export declare const UDP_CUSTOMER_MONITOR_PRE_NAME = "Pos monitor ";
@@ -32,3 +33,7 @@ export declare const KDS_SIGNALR: {
32
33
  informationChanged: string;
33
34
  };
34
35
  export declare const REFRESH_TOKEN_EVERY_MINUTE = 60;
36
+ export declare const FIND_STAR_MICRONIC_PRINTER_TIMEOUT_POST_NAME = " Sec";
37
+ export declare const DASHBOARD_ITEM_MINIMUM_WITH = 300;
38
+ export declare const TOKEN_REFRESH_AFTER_THIS_AMOUNT_OF_MINUTE = 60;
39
+ export declare const SIGNALR_AUTO_RECONNECT_TIMES_ARRAY: number[];
package/dist/statics.js CHANGED
@@ -4,6 +4,7 @@ export const API_ROOT = API_ROOT_CORE;
4
4
  export const STORAGE_PRE_ORDER_DETAIL_NAME = "z-";
5
5
  export const STORAGE_PRE_LOG_NAME = "log-";
6
6
  export const MANAGEMENT_URL = "https://my.meemup.com";
7
+ export const MANAGEMENT_BETA_URL = "https://beta_management.meemup.com";
7
8
  export const GOOGLE_MAP_TOKEN = "AIzaSyCPfdaGt8HtI21kimrmVN08yNHu-lvmgcA";
8
9
  export const CUSTOM_DELIVERY_ZONE_ID = null;
9
10
  export const UDP_CUSTOMER_MONITOR_PRE_NAME = "Pos monitor ";
@@ -34,3 +35,7 @@ export const KDS_SIGNALR = {
34
35
  informationChanged: "InformationChanged"
35
36
  };
36
37
  export const REFRESH_TOKEN_EVERY_MINUTE = 60;
38
+ export const FIND_STAR_MICRONIC_PRINTER_TIMEOUT_POST_NAME = " Sec";
39
+ export const DASHBOARD_ITEM_MINIMUM_WITH = 300;
40
+ export const TOKEN_REFRESH_AFTER_THIS_AMOUNT_OF_MINUTE = 60;
41
+ export const SIGNALR_AUTO_RECONNECT_TIMES_ARRAY = [20000, 40000, 60000, 80000, 100000, 120000];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.0.75",
3
+ "version": "1.0.77",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",