meemup-library 1.4.36 → 1.4.38
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.
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/interfaces/cdn/IShop.d.ts +92 -0
- package/dist/interfaces/cdn/IShop.js +1 -0
- package/dist/interfaces/cdn/IShopHourDay.d.ts +3 -0
- package/dist/interfaces/cdn/IShopHourDay.js +1 -0
- package/dist/interfaces/cdn/IShopHours.d.ts +88 -0
- package/dist/interfaces/cdn/IShopHours.js +1 -0
- package/dist/interfaces/cdn/IShopSocialNetwork.d.ts +6 -0
- package/dist/interfaces/cdn/IShopSocialNetwork.js +1 -0
- package/dist/interfaces/inventory/IEditInventoryItem.d.ts +5 -0
- package/dist/interfaces/inventory/IEditInventoryItem.js +2 -0
- package/dist/interfaces/pos/IPointOfSaleOrder.d.ts +2 -0
- package/dist/interfaces/pos/IPointOfSaleOrder.js +2 -0
- package/dist/interfaces/pos/IPointOfSaleSaveOrder.d.ts +2 -0
- package/dist/interfaces/print/IOrderDetailCustomer.d.ts +2 -0
- package/dist/interfaces/print/IOrderDetailCustomer.js +2 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -37,6 +37,7 @@ export * from "./enums/EnumProductAvailableMode";
|
|
|
37
37
|
export * from "./enums/EnumShowOrderMode";
|
|
38
38
|
export * from "./enums/EnumSortMode";
|
|
39
39
|
export * from "./enums/EnumTipType";
|
|
40
|
+
export * from "./interfaces/cdn/IShop";
|
|
40
41
|
export * from "./interfaces/IAccount";
|
|
41
42
|
export * from "./interfaces/IAction";
|
|
42
43
|
export * from "./interfaces/IAllergicStuffs";
|
package/dist/index.js
CHANGED
|
@@ -37,6 +37,7 @@ export * from "./enums/EnumProductAvailableMode";
|
|
|
37
37
|
export * from "./enums/EnumShowOrderMode";
|
|
38
38
|
export * from "./enums/EnumSortMode";
|
|
39
39
|
export * from "./enums/EnumTipType";
|
|
40
|
+
export * from "./interfaces/cdn/IShop";
|
|
40
41
|
export * from "./interfaces/IAccount";
|
|
41
42
|
export * from "./interfaces/IAction";
|
|
42
43
|
export * from "./interfaces/IAllergicStuffs";
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import EnumPaymentType from "../../enums/EnumPaymentType";
|
|
2
|
+
import IEmergencyBrake from "../IEmergencyBrake";
|
|
3
|
+
import ILocation from "../ILocation";
|
|
4
|
+
import IManagementOnlineStoreBlock from "../management/IManagementOnlineStoreBlock";
|
|
5
|
+
import IShopHours from "./IShopHours";
|
|
6
|
+
import IShopSocialNetwork from "./IShopSocialNetwork";
|
|
7
|
+
interface IShop {
|
|
8
|
+
"id": number;
|
|
9
|
+
"poweredBy": string;
|
|
10
|
+
"poweredByWebsiteUrl": string;
|
|
11
|
+
"title": string;
|
|
12
|
+
"subTitle": string;
|
|
13
|
+
"address": string;
|
|
14
|
+
"phoneNumber": string;
|
|
15
|
+
"logoUrl": string;
|
|
16
|
+
"faviconUrl": string;
|
|
17
|
+
"rootUrl": string;
|
|
18
|
+
"cashPayStatus": number;
|
|
19
|
+
"cashPayMaxAmount": number;
|
|
20
|
+
"currencySymbol": string;
|
|
21
|
+
"showNoPopupsByDefault": boolean;
|
|
22
|
+
"pickupEnabled": boolean;
|
|
23
|
+
"deliveryEnabled": boolean;
|
|
24
|
+
"deliveryMode": number;
|
|
25
|
+
"availablePaymentTypes": EnumPaymentType[];
|
|
26
|
+
"deliveryTransportType": number;
|
|
27
|
+
"deliveryTravelMaxDistance": number;
|
|
28
|
+
"deliveryTravelTime": string;
|
|
29
|
+
"emergencyBrakeEnabled": boolean;
|
|
30
|
+
"emergencyBrake": IEmergencyBrake | null;
|
|
31
|
+
"threeDimensionalSecurePayment": boolean;
|
|
32
|
+
"location": ILocation;
|
|
33
|
+
"socialNetworks": IShopSocialNetwork[];
|
|
34
|
+
"hours": IShopHours;
|
|
35
|
+
"branches": [];
|
|
36
|
+
"ownerCompany": string | null;
|
|
37
|
+
"timeZone": {
|
|
38
|
+
"id": number;
|
|
39
|
+
"key": string;
|
|
40
|
+
"name": string;
|
|
41
|
+
"offset": number;
|
|
42
|
+
};
|
|
43
|
+
"rewardsProgram": {
|
|
44
|
+
"enabled": boolean;
|
|
45
|
+
"minimumPointsRedeemablePerOrder": number;
|
|
46
|
+
"maximumPointsRedeemablePerOrder": number;
|
|
47
|
+
"valuePerPoint": number;
|
|
48
|
+
};
|
|
49
|
+
"template": {
|
|
50
|
+
"smallBannerUrl": string;
|
|
51
|
+
"largeBannerUrl": string;
|
|
52
|
+
"mediumBannerUrl": string;
|
|
53
|
+
"mapLocationSection": boolean;
|
|
54
|
+
"infoSection": boolean;
|
|
55
|
+
"pickupDeliverySelectorSection": boolean;
|
|
56
|
+
"splashPageLayout": number;
|
|
57
|
+
"productsPageTitle": "Product";
|
|
58
|
+
"promotionSectionVisibility": boolean;
|
|
59
|
+
"filterSectionVisibility": boolean;
|
|
60
|
+
"allergiesSectionVisibility": boolean;
|
|
61
|
+
"defaultProductView": number;
|
|
62
|
+
"ageVerificationPopUp": boolean;
|
|
63
|
+
"ageRestriction": number;
|
|
64
|
+
"contactUsEnabled": boolean;
|
|
65
|
+
"aboutUsEnabled": boolean;
|
|
66
|
+
"sectionBlocks": IManagementOnlineStoreBlock[];
|
|
67
|
+
};
|
|
68
|
+
"colors": {
|
|
69
|
+
"colorBar": string;
|
|
70
|
+
"primary": string;
|
|
71
|
+
"primaryDark": string;
|
|
72
|
+
"primaryLight": string;
|
|
73
|
+
"secondary": string;
|
|
74
|
+
"secondaryDark": string;
|
|
75
|
+
"secondaryLight": string;
|
|
76
|
+
"textPrimary": string;
|
|
77
|
+
"textSecondary": string;
|
|
78
|
+
"divider": string;
|
|
79
|
+
"backgroundColor": string;
|
|
80
|
+
"tabColor": string;
|
|
81
|
+
};
|
|
82
|
+
"seo": {
|
|
83
|
+
"title": string | null;
|
|
84
|
+
"summary": string | null;
|
|
85
|
+
"googleAnalyticsCode": string | null;
|
|
86
|
+
"googleAnalytics": boolean;
|
|
87
|
+
"facebookPixelCode": string | null;
|
|
88
|
+
"servesCuisine": string | null;
|
|
89
|
+
"priceRange": string | null;
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
export default IShop;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
interface IShopHours {
|
|
2
|
+
"delivery": [
|
|
3
|
+
{
|
|
4
|
+
"id": 10657;
|
|
5
|
+
"day": 6;
|
|
6
|
+
"opened": boolean;
|
|
7
|
+
"openHourFrom": "11:00:00";
|
|
8
|
+
"openHourTo": "22:30:00";
|
|
9
|
+
"closeHourFrom": null;
|
|
10
|
+
"closeHourTo": null;
|
|
11
|
+
}
|
|
12
|
+
];
|
|
13
|
+
"deliveryEnabled": boolean;
|
|
14
|
+
"pickup": [
|
|
15
|
+
{
|
|
16
|
+
"id": 10650;
|
|
17
|
+
"day": 7;
|
|
18
|
+
"opened": boolean;
|
|
19
|
+
"openHourFrom": "08:00:00";
|
|
20
|
+
"openHourTo": "23:30:00";
|
|
21
|
+
"closeHourFrom": null;
|
|
22
|
+
"closeHourTo": null;
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"id": 10651;
|
|
26
|
+
"day": 6;
|
|
27
|
+
"opened": boolean;
|
|
28
|
+
"openHourFrom": "08:00:00";
|
|
29
|
+
"openHourTo": "12:10:00";
|
|
30
|
+
"closeHourFrom": null;
|
|
31
|
+
"closeHourTo": null;
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"id": 10652;
|
|
35
|
+
"day": 5;
|
|
36
|
+
"opened": boolean;
|
|
37
|
+
"openHourFrom": "15:00:00";
|
|
38
|
+
"openHourTo": "23:00:00";
|
|
39
|
+
"closeHourFrom": null;
|
|
40
|
+
"closeHourTo": null;
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": 10653;
|
|
44
|
+
"day": 4;
|
|
45
|
+
"opened": boolean;
|
|
46
|
+
"openHourFrom": "08:00:00";
|
|
47
|
+
"openHourTo": "02:00:00";
|
|
48
|
+
"closeHourFrom": null;
|
|
49
|
+
"closeHourTo": null;
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"id": 10654;
|
|
53
|
+
"day": 3;
|
|
54
|
+
"opened": boolean;
|
|
55
|
+
"openHourFrom": "08:00:00";
|
|
56
|
+
"openHourTo": "23:00:00";
|
|
57
|
+
"closeHourFrom": null;
|
|
58
|
+
"closeHourTo": null;
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": 10655;
|
|
62
|
+
"day": 1;
|
|
63
|
+
"opened": boolean;
|
|
64
|
+
"openHourFrom": "08:00:00";
|
|
65
|
+
"openHourTo": "14:50:00";
|
|
66
|
+
"closeHourFrom": null;
|
|
67
|
+
"closeHourTo": null;
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"id": 10656;
|
|
71
|
+
"day": 2;
|
|
72
|
+
"opened": boolean;
|
|
73
|
+
"openHourFrom": "08:00:00";
|
|
74
|
+
"openHourTo": "23:00:00";
|
|
75
|
+
"closeHourFrom": null;
|
|
76
|
+
"closeHourTo": null;
|
|
77
|
+
}
|
|
78
|
+
];
|
|
79
|
+
"pickupEnabled": boolean;
|
|
80
|
+
"today": number;
|
|
81
|
+
"sameDayOrderEnabled": boolean;
|
|
82
|
+
"preOrderEnabled": boolean;
|
|
83
|
+
"preOrderMaxDays": number;
|
|
84
|
+
"preOrderOnSameDay": boolean;
|
|
85
|
+
"preOrderSubmissionDeadline": number;
|
|
86
|
+
"asSoonAsPossibleDesiredDateTimeEnabled": true;
|
|
87
|
+
}
|
|
88
|
+
export default IShopHours;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meemup-library",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.38",
|
|
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.4.
|
|
14
|
+
"commit": "git add . && git commit -m \"version.1.4.38 \" && git push origin "
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
17
17
|
"/dist"
|