meemup-library 1.4.34 → 1.4.36

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.
@@ -3,6 +3,8 @@ interface ICustomerAccount extends ICustomerProfile {
3
3
  token: string;
4
4
  fullName: string;
5
5
  userName: string;
6
+ status: boolean;
7
+ balance: number;
6
8
  }
7
9
  export default ICustomerAccount;
8
10
  export declare const initCustomerAccount: ICustomerAccount;
@@ -1,2 +1,2 @@
1
1
  import { initCustomerProfile } from "./ICustomerProfile";
2
- export const initCustomerAccount = Object.assign(Object.assign({}, initCustomerProfile), { token: "", fullName: "", userName: "" });
2
+ export const initCustomerAccount = Object.assign(Object.assign({}, initCustomerProfile), { token: "", fullName: "", userName: "", status: false, balance: 0 });
@@ -0,0 +1,18 @@
1
+ interface ICustomerAddress {
2
+ id: number;
3
+ title: string;
4
+ address: string;
5
+ countryId: number;
6
+ countryTitle: string;
7
+ provinceId: number;
8
+ provinceTitle: string;
9
+ city: string;
10
+ houseNo: string;
11
+ apartment: string;
12
+ buzzer: string;
13
+ postalCode: string;
14
+ latitude: string;
15
+ longitude: string;
16
+ }
17
+ export default ICustomerAddress;
18
+ export declare const initCustomerAddress: ICustomerAddress;
@@ -0,0 +1,16 @@
1
+ export const initCustomerAddress = {
2
+ id: 0,
3
+ title: '',
4
+ address: '',
5
+ countryId: 0,
6
+ countryTitle: '',
7
+ provinceId: 0,
8
+ provinceTitle: '',
9
+ city: '',
10
+ houseNo: '',
11
+ apartment: '',
12
+ buzzer: '',
13
+ postalCode: '',
14
+ latitude: '',
15
+ longitude: '',
16
+ };
@@ -0,0 +1,6 @@
1
+ interface ICustomerBalance {
2
+ status: boolean;
3
+ balance: number;
4
+ }
5
+ export default ICustomerBalance;
6
+ export declare const initCustomerBalance: ICustomerBalance;
@@ -0,0 +1,4 @@
1
+ export const initCustomerBalance = {
2
+ status: false,
3
+ balance: 0,
4
+ };
@@ -0,0 +1,15 @@
1
+ interface ICustomerCreditCard {
2
+ deleted: boolean;
3
+ expireDate: string;
4
+ last4Number: string;
5
+ id: string;
6
+ name: string;
7
+ holderName: string;
8
+ number: string;
9
+ cvc: string;
10
+ expireYear: string;
11
+ expireMonth: string;
12
+ postalCode: string;
13
+ }
14
+ export default ICustomerCreditCard;
15
+ export declare const initCustomerCreditCard: ICustomerCreditCard;
@@ -0,0 +1,13 @@
1
+ export const initCustomerCreditCard = {
2
+ deleted: false,
3
+ expireDate: "",
4
+ last4Number: "",
5
+ id: "",
6
+ name: "",
7
+ holderName: "",
8
+ number: "",
9
+ cvc: "",
10
+ expireYear: "",
11
+ expireMonth: "",
12
+ postalCode: "",
13
+ };
@@ -0,0 +1,8 @@
1
+ interface ICustomerLoginAnswer {
2
+ token: string;
3
+ fullName: string;
4
+ userName: string;
5
+ customerToken: string;
6
+ }
7
+ export default ICustomerLoginAnswer;
8
+ export declare const initCustomerLoginAnswer: ICustomerLoginAnswer;
@@ -0,0 +1,22 @@
1
+ interface ICustomerStampCard {
2
+ id: number;
3
+ stampCardId: number;
4
+ reached: boolean;
5
+ punchs: number;
6
+ rewardReceived: boolean;
7
+ rewardReceivedDateTime: string | null;
8
+ status: number;
9
+ statusTitle: string;
10
+ rewardType: number;
11
+ rewardProducts: number[];
12
+ title: string;
13
+ text: string;
14
+ enabled: boolean;
15
+ image: string;
16
+ since: string;
17
+ until: string;
18
+ numberOfTimes: number;
19
+ accesses: number[];
20
+ }
21
+ export default ICustomerStampCard;
22
+ export declare const initCustomerStampCard: ICustomerStampCard;
@@ -0,0 +1,20 @@
1
+ export const initCustomerStampCard = {
2
+ id: -1,
3
+ stampCardId: -1,
4
+ reached: false,
5
+ punchs: 0,
6
+ rewardReceived: false,
7
+ rewardReceivedDateTime: null,
8
+ status: 0,
9
+ statusTitle: "",
10
+ rewardType: 0,
11
+ rewardProducts: [],
12
+ title: "",
13
+ text: "",
14
+ enabled: false,
15
+ image: "",
16
+ since: "",
17
+ until: "",
18
+ numberOfTimes: 0,
19
+ accesses: []
20
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.4.34",
3
+ "version": "1.4.36",
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.34 \" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.4.36 \" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"
@@ -1,8 +0,0 @@
1
- interface ICsutomerLoginAnswer {
2
- token: string;
3
- fullName: string;
4
- userName: string;
5
- customerToken: string;
6
- }
7
- export default ICsutomerLoginAnswer;
8
- export declare const initCustomerLoginAnswer: ICsutomerLoginAnswer;