meemup-library 1.5.83 → 1.5.85

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.
@@ -2,6 +2,7 @@ import IEmergencyBrake from "../IEmergencyBrake";
2
2
  import ILocation from "../ILocation";
3
3
  import ICompanyBranch from "./ICompanyBranch";
4
4
  import ICompanyColor from "./ICompanyColor";
5
+ import ICompanyGiftCardSetting from "../gift-card/ICompanyGiftCardSetting";
5
6
  import ICompanyHours from "./ICompanyHours";
6
7
  import ICompanyReservation from "./ICompanyReservation";
7
8
  import ICompanyRewardsProgram from "./ICompanyRewardsProgram";
@@ -49,4 +50,5 @@ export default interface ICompany {
49
50
  colors: ICompanyColor;
50
51
  seo: ICompanySeo;
51
52
  reservation: ICompanyReservation;
53
+ giftCards: ICompanyGiftCardSetting;
52
54
  }
@@ -0,0 +1,12 @@
1
+ export default interface IAccountGiftCardModel {
2
+ id: number;
3
+ text: string;
4
+ purchasedAt: string;
5
+ recipient: {
6
+ name: string;
7
+ phoneNumber: string;
8
+ email: string;
9
+ };
10
+ backgroundImage: string;
11
+ amount: number;
12
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ export default interface ICompanyGiftCardSetting {
2
+ enabled: boolean;
3
+ minimumAmount: number;
4
+ maximumAmount: number;
5
+ recommendedAmounts: number[];
6
+ bonusAmounts: number[];
7
+ }
@@ -0,0 +1,6 @@
1
+ import IGiftCardBackgroundItem from "./IGiftCardBackgroundItem";
2
+ export default interface IGiftCardBackgroundGroup {
3
+ title: string;
4
+ slug: string;
5
+ backgrounds: IGiftCardBackgroundItem[];
6
+ }
@@ -0,0 +1,4 @@
1
+ export default interface IGiftCardBackgroundItem {
2
+ title: string;
3
+ imageUrl: string;
4
+ }
@@ -0,0 +1,10 @@
1
+ export default interface IPurchaseGiftCard {
2
+ text: string;
3
+ recipient: {
4
+ name: string;
5
+ phoneNumber: string;
6
+ email: string;
7
+ };
8
+ backgroundImageUrl: string;
9
+ paymentTokenId: string;
10
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -12,6 +12,7 @@ export default interface IPointOfSaleOrderFilter {
12
12
  pointOfSale: boolean;
13
13
  onlineStore: boolean;
14
14
  googleOrdering: boolean;
15
+ kiosk: boolean;
15
16
  sort: EnumDashboardSort;
16
17
  page: number;
17
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.5.83",
3
+ "version": "1.5.85",
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.83\" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.5.85\" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"
@@ -26,4 +26,4 @@
26
26
  "dependencies": {
27
27
  "dayjs": "^1.11.13"
28
28
  }
29
- }
29
+ }