meemup-library 1.4.32 → 1.4.34

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,8 @@
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;
@@ -0,0 +1,6 @@
1
+ export const initCustomerLoginAnswer = {
2
+ token: '',
3
+ fullName: '',
4
+ userName: '',
5
+ customerToken: ''
6
+ };
@@ -0,0 +1,8 @@
1
+ import ICustomerProfile from "./ICustomerProfile";
2
+ interface ICustomerAccount extends ICustomerProfile {
3
+ token: string;
4
+ fullName: string;
5
+ userName: string;
6
+ }
7
+ export default ICustomerAccount;
8
+ export declare const initCustomerAccount: ICustomerAccount;
@@ -0,0 +1,2 @@
1
+ import { initCustomerProfile } from "./ICustomerProfile";
2
+ export const initCustomerAccount = Object.assign(Object.assign({}, initCustomerProfile), { token: "", fullName: "", userName: "" });
@@ -0,0 +1,15 @@
1
+ import EnumGender from "../../enums/EnumGender";
2
+ interface ICustomerProfile {
3
+ emailConfirmed: boolean;
4
+ fullName: string;
5
+ genderType: EnumGender.male;
6
+ firstName: string;
7
+ lastName: string;
8
+ email: string;
9
+ phoneNumber: string;
10
+ points: number;
11
+ walletBalance: number;
12
+ customerToken: string;
13
+ }
14
+ export default ICustomerProfile;
15
+ export declare const initCustomerProfile: ICustomerProfile;
@@ -0,0 +1,13 @@
1
+ import EnumGender from "../../enums/EnumGender";
2
+ export const initCustomerProfile = {
3
+ emailConfirmed: false,
4
+ fullName: "",
5
+ genderType: EnumGender.male,
6
+ firstName: "",
7
+ lastName: "",
8
+ customerToken: "",
9
+ email: "",
10
+ phoneNumber: "",
11
+ points: 0,
12
+ walletBalance: 0,
13
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.4.32",
3
+ "version": "1.4.34",
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.32 \" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.4.34 \" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"