meemup-library 1.4.79 → 1.4.80

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.
@@ -0,0 +1,48 @@
1
+ import IEmergencyBrake from "../IEmergencyBrake";
2
+ import ILocation from "../ILocation";
3
+ import ICompanyColor from "./ICompanyColor";
4
+ import ICompanyHours from "./ICompanyHours";
5
+ import ICompanyRewardsProgram from "./ICompanyRewardsProgram";
6
+ import ICompanySeo from "./ICompanySeo";
7
+ import ICompanyTemplate from "./ICompanyTemplate";
8
+ import ICompanyTimeZone from "./ICompanyTimeZone";
9
+ import IShopSocialNetwork from "./IShopSocialNetwork";
10
+ export default interface ICompany {
11
+ id: number;
12
+ domain: string;
13
+ subDomain: string;
14
+ poweredBy: string;
15
+ poweredByWebsiteUrl: string;
16
+ title: string;
17
+ subTitle: string;
18
+ address: string;
19
+ phoneNumber: string;
20
+ email: string | null;
21
+ logoUrl: string;
22
+ faviconUrl: string;
23
+ rootUrl: string;
24
+ cashPayStatus: boolean;
25
+ cashPayMaxAmount: number;
26
+ currencySymbol: string;
27
+ showNoPopupsByDefault: boolean;
28
+ pickupEnabled: boolean;
29
+ deliveryEnabled: boolean;
30
+ deliveryMode: number;
31
+ availablePaymentTypes: number[];
32
+ deliveryTransportType: number;
33
+ deliveryTravelMaxDistance: number;
34
+ deliveryTravelTime: string;
35
+ emergencyBrakeEnabled: boolean;
36
+ emergencyBrake: IEmergencyBrake | null;
37
+ threeDimensionalSecurePayment: boolean;
38
+ location: ILocation;
39
+ socialNetworks: IShopSocialNetwork[];
40
+ hours: ICompanyHours;
41
+ branches: [];
42
+ ownerCompany: number;
43
+ timeZone: ICompanyTimeZone;
44
+ rewardsProgram: ICompanyRewardsProgram;
45
+ template: ICompanyTemplate;
46
+ colors: ICompanyColor;
47
+ seo: ICompanySeo;
48
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,14 @@
1
+ export default interface ICompanyColor {
2
+ colorBar: string;
3
+ colorTab: string;
4
+ primary: string;
5
+ primaryDark: string;
6
+ primaryLight: string;
7
+ secondary: string;
8
+ secondaryDark: string;
9
+ secondaryLight: string;
10
+ textPrimary: string;
11
+ textSecondary: string;
12
+ divider: string;
13
+ backgroundColor: string;
14
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,14 @@
1
+ import ICompanyWorkDay from "./ICompanyWorkDay";
2
+ export default interface ICompanyHours {
3
+ delivery: ICompanyWorkDay[];
4
+ pickup: ICompanyWorkDay[];
5
+ deliveryEnabled: boolean;
6
+ pickupEnabled: boolean;
7
+ today: number;
8
+ sameDayOrderEnabled: boolean;
9
+ preOrderEnabled: boolean;
10
+ preOrderMaxDays: number;
11
+ preOrderOnSameDay: boolean;
12
+ preOrderSubmissionDeadline: number;
13
+ asSoonAsPossibleDesiredDateTimeEnabled: boolean;
14
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ export default interface ICompanyRewardsProgram {
2
+ enabled: boolean;
3
+ minimumPointsRedeemablePerOrder: number;
4
+ maximumPointsRedeemablePerOrder: number;
5
+ valuePerPoint: number;
6
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,9 @@
1
+ export default interface ICompanySeo {
2
+ title: string | null;
3
+ summary: string | null;
4
+ googleAnalyticsCode: string | null;
5
+ googleAnalytics: boolean;
6
+ facebookPixelCode: string | null;
7
+ servesCuisine: string | null;
8
+ priceRange: string | null;
9
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,25 @@
1
+ import IManagementOnlineStoreBlock from "../management/IManagementOnlineStoreBlock";
2
+ export default interface ICompanyTemplate {
3
+ homePage: string | null;
4
+ smallBannerUrl: string;
5
+ largeBannerUrl: string;
6
+ mediumBannerUrl: string;
7
+ noProductImageAvailable: string;
8
+ mapLocationSection: boolean;
9
+ infoSection: boolean;
10
+ pickupDeliverySelectorSection: boolean;
11
+ splashPageLayout: number;
12
+ productsPageTitle: string;
13
+ promotionSectionVisibility: boolean;
14
+ filterSectionVisibility: boolean;
15
+ allergiesSectionVisibility: boolean;
16
+ defaultProductView: number;
17
+ ageVerificationPopUp: boolean;
18
+ ageRestriction: number;
19
+ requirePinForOrder: boolean;
20
+ authorizedPinsForOrdering: string[] | number[];
21
+ displayExtraAndExtraItemImages: boolean;
22
+ contactUsEnabled: boolean;
23
+ aboutUsEnabled: boolean;
24
+ sectionBlocks: IManagementOnlineStoreBlock[];
25
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ export default interface ICompanyTimeZone {
2
+ id: number;
3
+ key: string;
4
+ name: string;
5
+ offset: number;
6
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,9 @@
1
+ export default interface ICompanyWorkDay {
2
+ id: number;
3
+ day: number;
4
+ opened: boolean;
5
+ openHourFrom: string | null;
6
+ openHourTo: string | null;
7
+ closeHourFrom: string | null;
8
+ closeHourTo: string | null;
9
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -1,13 +1,13 @@
1
1
  interface IShopHours {
2
2
  "delivery": [
3
3
  {
4
- "id": 10657;
5
- "day": 6;
4
+ "id": number;
5
+ "day": number;
6
6
  "opened": boolean;
7
- "openHourFrom": "11:00:00";
8
- "openHourTo": "22:30:00";
9
- "closeHourFrom": null;
10
- "closeHourTo": null;
7
+ "openHourFrom": string;
8
+ "openHourTo": string;
9
+ "closeHourFrom": string | null;
10
+ "closeHourTo": string | null;
11
11
  }
12
12
  ];
13
13
  "deliveryEnabled": boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.4.79",
3
+ "version": "1.4.80",
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.79\" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.4.80\" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"