meemup-library 1.4.33 → 1.4.35
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/interfaces/cdn/ICustomerAccount.d.ts +2 -2
- package/dist/interfaces/cdn/ICustomerAccount.js +1 -1
- package/dist/interfaces/cdn/ICustomerAddress.d.ts +18 -0
- package/dist/interfaces/cdn/ICustomerAddress.js +16 -0
- package/dist/interfaces/cdn/ICustomerBalance.d.ts +6 -0
- package/dist/interfaces/cdn/ICustomerBalance.js +4 -0
- package/dist/interfaces/cdn/ICustomerCreditCard.d.ts +15 -0
- package/dist/interfaces/cdn/ICustomerCreditCard.js +13 -0
- package/dist/interfaces/cdn/ICustomerLoginAnswer.d.ts +8 -0
- package/dist/interfaces/cdn/{ICsutomerProfile.d.ts → ICustomerProfile.d.ts} +3 -3
- package/dist/interfaces/cdn/ICustomerStampCard.d.ts +22 -0
- package/dist/interfaces/cdn/ICustomerStampCard.js +20 -0
- package/package.json +2 -2
- package/dist/interfaces/cdn/ICsutomerLoginAnswer.d.ts +0 -8
- /package/dist/interfaces/cdn/{ICsutomerLoginAnswer.js → ICustomerLoginAnswer.js} +0 -0
- /package/dist/interfaces/cdn/{ICsutomerProfile.js → ICustomerProfile.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
interface ICustomerAccount extends
|
|
1
|
+
import ICustomerProfile from "./ICustomerProfile";
|
|
2
|
+
interface ICustomerAccount extends ICustomerProfile {
|
|
3
3
|
token: string;
|
|
4
4
|
fullName: string;
|
|
5
5
|
userName: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { initCustomerProfile } from "./
|
|
1
|
+
import { initCustomerProfile } from "./ICustomerProfile";
|
|
2
2
|
export const initCustomerAccount = Object.assign(Object.assign({}, initCustomerProfile), { token: "", fullName: "", userName: "" });
|
|
@@ -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,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;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import EnumGender from "../../enums/EnumGender";
|
|
2
|
-
interface
|
|
2
|
+
interface ICustomerProfile {
|
|
3
3
|
emailConfirmed: boolean;
|
|
4
4
|
fullName: string;
|
|
5
5
|
genderType: EnumGender.male;
|
|
@@ -11,5 +11,5 @@ interface ICsutomerProfile {
|
|
|
11
11
|
walletBalance: number;
|
|
12
12
|
customerToken: string;
|
|
13
13
|
}
|
|
14
|
-
export default
|
|
15
|
-
export declare const initCustomerProfile:
|
|
14
|
+
export default ICustomerProfile;
|
|
15
|
+
export declare const initCustomerProfile: ICustomerProfile;
|
|
@@ -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.
|
|
3
|
+
"version": "1.4.35",
|
|
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.35 \" && git push origin "
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
17
17
|
"/dist"
|
|
File without changes
|
|
File without changes
|