@shopby/shop-sdk 1.2.20 → 1.2.26
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/build/src/auth.d.ts +12 -12
- package/build/src/auth.js +4 -2
- package/build/src/auth.js.map +1 -1
- package/build/types/auth.d.ts +65 -26
- package/build/types/root.d.ts +11 -11
- package/package.json +1 -1
package/build/src/auth.d.ts
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { RequestOption, ResponseData } from '../types/root';
|
|
2
|
-
import {
|
|
1
|
+
import { CaptchaRequest, GetAuthenticationsRequest, KcpIdVerificationResponseRequest, PostAuthenticationsRequest, RequestOption, ResponseData } from '../types/root';
|
|
2
|
+
import { AuthenticationsBizmall, AuthenticationsBizmallResponse, AuthenticationsEmail, AuthenticationsEmailResponse, AuthenticationsResponse, AuthenticationsSms, CaptchaImage, CaptchaVerifyRequest, GetOpenIdTokenResponse, KcpIdVerificationFormRequest, KcpIdVerificationResponse, OauthBeginRequest, OauthCallbackRequest, OauthLoginUrlRequest, OauthLoginUrlResponse, OauthOpenIdRequest, OauthOpenIdResponse, PostAuthenticationsSms, PostKcpAgeVerificationRequest, PostKcpAgeVerificationResponse, PostOauthTokenRequest, PostOauthTokenResponse } from '../types/auth';
|
|
3
3
|
declare const auth: (createOption: Function) => {
|
|
4
4
|
/**
|
|
5
5
|
* Authentication
|
|
6
6
|
*/
|
|
7
|
-
getAuthentications(request:
|
|
8
|
-
postAuthentications(request:
|
|
7
|
+
getAuthentications(request: GetAuthenticationsRequest): Promise<ResponseData<void>>;
|
|
8
|
+
postAuthentications(request: PostAuthenticationsRequest): Promise<ResponseData<AuthenticationsResponse>>;
|
|
9
9
|
postAuthenticationsBizmall(request: RequestOption<null, AuthenticationsBizmall>): Promise<ResponseData<AuthenticationsBizmallResponse>>;
|
|
10
10
|
getAuthenticationsEmail(request: RequestOption<AuthenticationsEmail, null>): Promise<ResponseData<AuthenticationsEmailResponse>>;
|
|
11
11
|
postAuthenticationsEmail(request: RequestOption<null, AuthenticationsEmail>): Promise<ResponseData<AuthenticationsResponse>>;
|
|
12
12
|
getAuthenticationsSms(request: RequestOption<AuthenticationsSms, null>): Promise<ResponseData<AuthenticationsEmailResponse>>;
|
|
13
13
|
postAuthenticationsSms(request: RequestOption<null, PostAuthenticationsSms>): Promise<ResponseData<AuthenticationsResponse>>;
|
|
14
|
-
getOauthLoginUrl(request:
|
|
15
|
-
getOauthOpenId(request:
|
|
16
|
-
postOauthToken(request:
|
|
14
|
+
getOauthLoginUrl(request: OauthLoginUrlRequest): Promise<ResponseData<OauthLoginUrlResponse>>;
|
|
15
|
+
getOauthOpenId(request: OauthOpenIdRequest): Promise<ResponseData<OauthOpenIdResponse>>;
|
|
16
|
+
postOauthToken(request: PostOauthTokenRequest): Promise<ResponseData<PostOauthTokenResponse>>;
|
|
17
17
|
deleteOauthToken(): Promise<ResponseData<void>>;
|
|
18
18
|
getOpenidToken(): Promise<ResponseData<GetOpenIdTokenResponse>>;
|
|
19
19
|
/**
|
|
20
20
|
* KCPCertification
|
|
21
21
|
*/
|
|
22
|
-
postKcpAgeVerification(request:
|
|
23
|
-
getKcpIdVerificationForm(request:
|
|
24
|
-
getKcpIdVerificationResponse(request:
|
|
22
|
+
postKcpAgeVerification(request: PostKcpAgeVerificationRequest): Promise<ResponseData<PostKcpAgeVerificationResponse>>;
|
|
23
|
+
getKcpIdVerificationForm(request: KcpIdVerificationFormRequest): Promise<ResponseData<any>>;
|
|
24
|
+
getKcpIdVerificationResponse(request: KcpIdVerificationResponseRequest): Promise<ResponseData<KcpIdVerificationResponse>>;
|
|
25
25
|
/**
|
|
26
26
|
* OAuth callback
|
|
27
27
|
*/
|
|
@@ -30,7 +30,7 @@ declare const auth: (createOption: Function) => {
|
|
|
30
30
|
/**
|
|
31
31
|
* Captcha
|
|
32
32
|
*/
|
|
33
|
-
getCaptchaImage(): Promise<ResponseData<CaptchaImage>>;
|
|
34
|
-
postCaptchaVerify(request:
|
|
33
|
+
getCaptchaImage(request: CaptchaRequest): Promise<ResponseData<CaptchaImage>>;
|
|
34
|
+
postCaptchaVerify(request: CaptchaVerifyRequest): Promise<ResponseData<void>>;
|
|
35
35
|
};
|
|
36
36
|
export default auth;
|
package/build/src/auth.js
CHANGED
|
@@ -103,10 +103,10 @@ var auth = function (createOption) { return ({
|
|
|
103
103
|
method: 'POST',
|
|
104
104
|
url: '/kcp/age-verification',
|
|
105
105
|
queryString: queryString,
|
|
106
|
+
useAccessToken: true,
|
|
106
107
|
});
|
|
107
108
|
},
|
|
108
109
|
getKcpIdVerificationForm: function (request) {
|
|
109
|
-
// TODO: form data 타입 잡기
|
|
110
110
|
var queryString = request.queryString;
|
|
111
111
|
return createOption({
|
|
112
112
|
method: 'GET',
|
|
@@ -144,10 +144,12 @@ var auth = function (createOption) { return ({
|
|
|
144
144
|
/**
|
|
145
145
|
* Captcha
|
|
146
146
|
*/
|
|
147
|
-
getCaptchaImage: function () {
|
|
147
|
+
getCaptchaImage: function (request) {
|
|
148
|
+
var queryString = request.queryString;
|
|
148
149
|
return createOption({
|
|
149
150
|
method: 'GET',
|
|
150
151
|
url: '/captcha/image',
|
|
152
|
+
queryString: queryString
|
|
151
153
|
});
|
|
152
154
|
},
|
|
153
155
|
postCaptchaVerify: function (request) {
|
package/build/src/auth.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.js","sourceRoot":"","sources":["../../src/auth.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"auth.js","sourceRoot":"","sources":["../../src/auth.ts"],"names":[],"mappings":"AAgCA,IAAM,IAAI,GAAG,UAAC,YAAsB,IAAK,OAAA,CAAC;IACxC;;OAEG;IACH,kBAAkB,EAAlB,UACE,OAAkC;QAE3B,IAAA,WAAW,GAAI,OAAO,YAAX,CAAY;QAE9B,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,kBAAkB;YACvB,WAAW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export interface GetAuthenticationsRequest extends RequestConfig {
|
|
3
|
+
queryString: {
|
|
4
|
+
notiAccount?: string;
|
|
5
|
+
memberNo?: number;
|
|
6
|
+
usage?: string;
|
|
7
|
+
memberName?: string;
|
|
8
|
+
type?: string;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export interface PostAuthenticationsRequest extends RequestConfig {
|
|
12
|
+
requestBody: {
|
|
13
|
+
notiAccount?: string;
|
|
14
|
+
memberNo?: number;
|
|
15
|
+
usage?: string;
|
|
16
|
+
memberName?: string;
|
|
17
|
+
type?: string;
|
|
18
|
+
};
|
|
7
19
|
}
|
|
8
20
|
export interface AuthenticationsResponse {
|
|
9
21
|
remainTime: number;
|
|
@@ -35,18 +47,25 @@ export interface PostAuthenticationsSms {
|
|
|
35
47
|
memberName?: string;
|
|
36
48
|
mobileNo?: string;
|
|
37
49
|
}
|
|
38
|
-
export interface OauthLoginUrlRequest {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
50
|
+
export interface OauthLoginUrlRequest extends RequestConfig {
|
|
51
|
+
queryString: {
|
|
52
|
+
provider: string;
|
|
53
|
+
redirectUri?: string;
|
|
54
|
+
state?: string;
|
|
55
|
+
};
|
|
42
56
|
}
|
|
43
57
|
export interface OauthLoginUrlResponse {
|
|
44
58
|
loginUrl: string;
|
|
45
59
|
}
|
|
46
|
-
export interface OauthOpenIdRequest extends
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
60
|
+
export interface OauthOpenIdRequest extends RequestConfig {
|
|
61
|
+
queryString: {
|
|
62
|
+
provider: string;
|
|
63
|
+
redirectUri?: string;
|
|
64
|
+
state?: string;
|
|
65
|
+
code?: string;
|
|
66
|
+
openAccessToken?: string;
|
|
67
|
+
platformType?: string;
|
|
68
|
+
};
|
|
50
69
|
}
|
|
51
70
|
export interface DormantMemberResponse {
|
|
52
71
|
memberName: string;
|
|
@@ -59,12 +78,14 @@ export interface OauthOpenIdResponse {
|
|
|
59
78
|
expireIn: number;
|
|
60
79
|
accessToken: string;
|
|
61
80
|
}
|
|
62
|
-
export interface PostOauthTokenRequest {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
81
|
+
export interface PostOauthTokenRequest extends RequestConfig {
|
|
82
|
+
requestBody: {
|
|
83
|
+
password: string;
|
|
84
|
+
provider?: string;
|
|
85
|
+
captcha?: string;
|
|
86
|
+
keepLogin?: boolean;
|
|
87
|
+
memberId: string;
|
|
88
|
+
};
|
|
68
89
|
}
|
|
69
90
|
export interface PostOauthTokenResponse {
|
|
70
91
|
dormantMemberResponse?: DormantMemberResponse;
|
|
@@ -78,16 +99,26 @@ export interface GetOpenIdTokenResponse {
|
|
|
78
99
|
accessToken?: string;
|
|
79
100
|
refreshToken?: string;
|
|
80
101
|
}
|
|
81
|
-
export interface PostKcpAgeVerificationRequest {
|
|
82
|
-
|
|
102
|
+
export interface PostKcpAgeVerificationRequest extends RequestConfig {
|
|
103
|
+
queryString: {
|
|
104
|
+
key: string;
|
|
105
|
+
};
|
|
106
|
+
useAccessToken: boolean;
|
|
83
107
|
}
|
|
84
108
|
export interface PostKcpAgeVerificationResponse {
|
|
85
109
|
birthday: string;
|
|
86
110
|
verified: boolean;
|
|
87
111
|
verifiedDateTime: string;
|
|
88
112
|
}
|
|
89
|
-
export interface KcpIdVerificationFormRequest {
|
|
90
|
-
|
|
113
|
+
export interface KcpIdVerificationFormRequest extends RequestConfig {
|
|
114
|
+
queryString: {
|
|
115
|
+
returnUrl: string;
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
export interface KcpIdVerificationResponseRequest extends RequestConfig {
|
|
119
|
+
queryString: {
|
|
120
|
+
key: string;
|
|
121
|
+
};
|
|
91
122
|
}
|
|
92
123
|
export interface KcpIdVerificationResponse {
|
|
93
124
|
birthday?: string;
|
|
@@ -110,9 +141,17 @@ export interface OauthCallbackRequest {
|
|
|
110
141
|
nextUrl: string;
|
|
111
142
|
state?: string;
|
|
112
143
|
}
|
|
144
|
+
export interface CaptchaRequest extends RequestConfig {
|
|
145
|
+
queryString: {
|
|
146
|
+
key: string;
|
|
147
|
+
};
|
|
148
|
+
}
|
|
113
149
|
export interface CaptchaImage {
|
|
114
150
|
url?: string;
|
|
115
151
|
}
|
|
116
|
-
export interface CaptchaVerifyRequest {
|
|
117
|
-
|
|
152
|
+
export interface CaptchaVerifyRequest extends RequestConfig {
|
|
153
|
+
queryString: {
|
|
154
|
+
key: string;
|
|
155
|
+
code: string;
|
|
156
|
+
};
|
|
118
157
|
}
|
package/build/types/root.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { GetGuestRecentProductsRequest, GetGuestRecentProductsResponse, GetProdu
|
|
|
2
2
|
import { Malls, MallsPartnersResponse, MallsSslResponse } from './admin';
|
|
3
3
|
import { GetProfileResponse } from './member';
|
|
4
4
|
import { AddressesSearchRequest, AddressesSearchResponse, BoardsConfigurationsResponse, DeleteBoardsBoardNoArticlesArticleNoRequest, GetBoardsBoardNoArticlesArticleNoRequest, GetBoardsBoardNoArticlesArticleNoResponse, GetBoardsBoardNoArticlesRequest, GetBoardsBoardNoArticlesResponse, PageScriptsRequest, PageScriptsResponse, PostBoardsBoardNoArticlesRequest, TermsHistoryRequest, TermsHistoryResponse, TermsRequest, TermsResponse, TermsTermsNoRequest, TermsTermsNoResponse } from './manage';
|
|
5
|
-
import {
|
|
5
|
+
import { AuthenticationsBizmall, AuthenticationsBizmallResponse, AuthenticationsEmail, AuthenticationsEmailResponse, AuthenticationsResponse, AuthenticationsSms, CaptchaImage, CaptchaVerifyRequest, GetOpenIdTokenResponse, KcpIdVerificationFormRequest, KcpIdVerificationResponse, OauthBeginRequest, OauthCallbackRequest, OauthLoginUrlRequest, OauthLoginUrlResponse, OauthOpenIdRequest, OauthOpenIdResponse, PostAuthenticationsSms, PostKcpAgeVerificationRequest, PostKcpAgeVerificationResponse, KcpIdVerificationResponseRequest, PostOauthTokenRequest, PostOauthTokenResponse, CaptchaRequest, PostAuthenticationsRequest, GetAuthenticationsRequest } from './auth';
|
|
6
6
|
import { OrderConfigsResponse } from "./order";
|
|
7
7
|
import { ClaimOrderOptionNoPath, GuestClaimsCancelRequest, GuestClaimsClaimNoResult, GuestClaimsClaimNoResultClaimPriceInfo, GuestOrderOptionOrderOptionNoClaimsRequest, GuestOrderOptionsOrderOptionNoClaimsEstimate, ProfileClaims, ProfileClaimsClaimNoCheckWithdraw, ProfileClaimsClaimNoPath, ProfileClaimsEstimate, ProfileClaimsRequest, ProfileOrderOptionsOrderOptionNoClaims, ProfileOrderOptionsOrderOptionNoClaimsCancel } from "./claim";
|
|
8
8
|
import { CategoriesResponse, GetCategoriesRequest, SkinBannersGroupsBySkinRequest, SkinBannersGroupsBySkinResponse, SkinBannersRequest, SkinBannersResponse } from "./display";
|
|
@@ -58,24 +58,24 @@ export interface CreatedOutput {
|
|
|
58
58
|
getProductsProductNoOptionsOptionNoImages(request: any): Promise<ResponseData<any>>;
|
|
59
59
|
};
|
|
60
60
|
auth: {
|
|
61
|
-
getKcpIdVerificationForm(request:
|
|
62
|
-
postAuthentications(request:
|
|
61
|
+
getKcpIdVerificationForm(request: KcpIdVerificationFormRequest): Promise<ResponseData<any>>;
|
|
62
|
+
postAuthentications(request: PostAuthenticationsRequest): Promise<ResponseData<AuthenticationsResponse>>;
|
|
63
63
|
postAuthenticationsBizmall(request: RequestOption<null, AuthenticationsBizmall>): Promise<ResponseData<AuthenticationsBizmallResponse>>;
|
|
64
|
-
getOauthLoginUrl(request:
|
|
65
|
-
postOauthToken(request:
|
|
64
|
+
getOauthLoginUrl(request: OauthLoginUrlRequest): Promise<ResponseData<OauthLoginUrlResponse>>;
|
|
65
|
+
postOauthToken(request: PostOauthTokenRequest): Promise<ResponseData<PostOauthTokenResponse>>;
|
|
66
66
|
getOauthBegin(request: RequestOption<OauthBeginRequest, null>): Promise<ResponseData<void>>;
|
|
67
67
|
getAuthenticationsSms(request: RequestOption<AuthenticationsSms, null>): Promise<ResponseData<AuthenticationsEmailResponse>>;
|
|
68
68
|
postAuthenticationsSms(request: RequestOption<null, PostAuthenticationsSms>): Promise<ResponseData<AuthenticationsResponse>>;
|
|
69
69
|
getOauthCallback(request: RequestOption<OauthCallbackRequest, null>): Promise<ResponseData<void>>;
|
|
70
70
|
deleteOauthToken(): Promise<ResponseData<void>>;
|
|
71
|
-
postKcpAgeVerification(request:
|
|
72
|
-
postCaptchaVerify(request:
|
|
73
|
-
getAuthentications(request:
|
|
74
|
-
getOauthOpenId(request:
|
|
71
|
+
postKcpAgeVerification(request: PostKcpAgeVerificationRequest): Promise<ResponseData<PostKcpAgeVerificationResponse>>;
|
|
72
|
+
postCaptchaVerify(request: CaptchaVerifyRequest): Promise<ResponseData<void>>;
|
|
73
|
+
getAuthentications(request: GetAuthenticationsRequest): Promise<ResponseData<void>>;
|
|
74
|
+
getOauthOpenId(request: OauthOpenIdRequest): Promise<ResponseData<OauthOpenIdResponse>>;
|
|
75
75
|
postAuthenticationsEmail(request: RequestOption<null, AuthenticationsEmail>): Promise<ResponseData<AuthenticationsResponse>>;
|
|
76
76
|
getOpenidToken(): Promise<ResponseData<GetOpenIdTokenResponse>>;
|
|
77
|
-
getKcpIdVerificationResponse(request:
|
|
78
|
-
getCaptchaImage(): Promise<ResponseData<CaptchaImage>>;
|
|
77
|
+
getKcpIdVerificationResponse(request: KcpIdVerificationResponseRequest): Promise<ResponseData<KcpIdVerificationResponse>>;
|
|
78
|
+
getCaptchaImage(request: CaptchaRequest): Promise<ResponseData<CaptchaImage>>;
|
|
79
79
|
getAuthenticationsEmail(request: RequestOption<AuthenticationsEmail, null>): Promise<ResponseData<AuthenticationsEmailResponse>>;
|
|
80
80
|
};
|
|
81
81
|
display: {
|