@shopby/shop-sdk 1.2.1 → 1.2.3

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.
@@ -8,7 +8,7 @@ declare const member: (createOption: Function) => {
8
8
  /**
9
9
  * Profile
10
10
  */
11
- getProfile(): Promise<GetProfileResponse>;
11
+ getProfile(): Promise<ResponseData<GetProfileResponse>>;
12
12
  putProfile(request: any): Promise<ResponseData<any>>;
13
13
  postProfile(request: any): Promise<ResponseData<any>>;
14
14
  deleteProfile(request: any): Promise<ResponseData<void>>;
@@ -1 +1,59 @@
1
- export declare type GetProfileResponse = any;
1
+ export interface MemberGroup {
2
+ memberGroupNo: number;
3
+ memberGroupName: string;
4
+ memberGroupDescription: string;
5
+ }
6
+ export interface AgreedTermsInfo {
7
+ termsType: string;
8
+ agreementYmdt: string;
9
+ }
10
+ export interface GetProfileResponse {
11
+ mallName: string;
12
+ memberNo: number;
13
+ memberGradeName: string;
14
+ memberGroupNames: string;
15
+ memberGroups: MemberGroup[];
16
+ memberName: string;
17
+ memberId: string;
18
+ mobileNo: string;
19
+ telephoneNo: string;
20
+ memberStatus: string;
21
+ memberType: string;
22
+ principalCertificated: boolean;
23
+ certificationType?: any;
24
+ birthday: string;
25
+ sex: string;
26
+ email: string;
27
+ zipCd: string;
28
+ address: string;
29
+ detailAddress: string;
30
+ jibunAddress: string;
31
+ jibunDetailAddress: string;
32
+ nickname: string;
33
+ joinTypeName: string;
34
+ joinYmdt: string;
35
+ lastLoginYmdt: string;
36
+ lastLoginIp: string;
37
+ loginCount: number;
38
+ pushNotificationAgreed: boolean;
39
+ pushNotificationAgreeYmdt: string;
40
+ pushNotificationDisagreeYmdt?: any;
41
+ smsAgreed: boolean;
42
+ smsAgreeYmdt: string;
43
+ smsDisagreeYmdt?: any;
44
+ directMailAgreed: boolean;
45
+ directMailAgreeYmdt: string;
46
+ directMailDisagreeYmdt?: any;
47
+ countryCd: string;
48
+ oauthIdNo: string;
49
+ additionalInfo: string;
50
+ adultCertificated: boolean;
51
+ adultCertificatedYmdt: string;
52
+ refundBank: string;
53
+ refundBankAccount: string;
54
+ refundBankDepositorName: string;
55
+ agreedTerms: string[];
56
+ agreedTermsInfos: AgreedTermsInfo[];
57
+ providerType: string;
58
+ providerTypes: string[];
59
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopby/shop-sdk",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "description": "",
5
5
  "main": "build/src/index.js",
6
6
  "types": "build/types/root.d.ts",