@shopby/shop-sdk 1.0.0 → 1.0.4
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/README.md +31 -1
- package/package.json +17 -6
- package/build/src/admin.d.ts +0 -11
- package/build/src/admin.js +0 -25
- package/build/src/admin.js.map +0 -1
- package/build/src/auth.d.ts +0 -36
- package/build/src/auth.js +0 -163
- package/build/src/auth.js.map +0 -1
- package/build/src/claim.d.ts +0 -36
- package/build/src/claim.js +0 -209
- package/build/src/claim.js.map +0 -1
- package/build/src/display.d.ts +0 -68
- package/build/src/display.js +0 -309
- package/build/src/display.js.map +0 -1
- package/build/src/index.d.ts +0 -7
- package/build/src/index.js +0 -69
- package/build/src/index.js.map +0 -1
- package/build/src/manage.d.ts +0 -50
- package/build/src/manage.js +0 -209
- package/build/src/manage.js.map +0 -1
- package/build/src/marketing.d.ts +0 -7
- package/build/src/marketing.js +0 -13
- package/build/src/marketing.js.map +0 -1
- package/build/src/member.d.ts +0 -51
- package/build/src/member.js +0 -271
- package/build/src/member.js.map +0 -1
- package/build/src/order.d.ts +0 -110
- package/build/src/order.js +0 -487
- package/build/src/order.js.map +0 -1
- package/build/src/product.d.ts +0 -41
- package/build/src/product.js +0 -175
- package/build/src/product.js.map +0 -1
- package/build/src/promotion.d.ts +0 -15
- package/build/src/promotion.js +0 -67
- package/build/src/promotion.js.map +0 -1
- package/build/src/storage.d.ts +0 -7
- package/build/src/storage.js +0 -17
- package/build/src/storage.js.map +0 -1
- package/build/types/admin.d.ts +0 -301
- package/build/types/admin.js +0 -2
- package/build/types/admin.js.map +0 -1
- package/build/types/auth.d.ts +0 -118
- package/build/types/auth.js +0 -2
- package/build/types/auth.js.map +0 -1
- package/build/types/manage.d.ts +0 -15
- package/build/types/manage.js +0 -2
- package/build/types/manage.js.map +0 -1
- package/build/types/member.d.ts +0 -1
- package/build/types/member.js +0 -2
- package/build/types/member.js.map +0 -1
- package/build/types/product.d.ts +0 -20
- package/build/types/product.js +0 -2
- package/build/types/product.js.map +0 -1
- package/build/types/root.d.ts +0 -296
- package/build/types/root.js +0 -2
- package/build/types/root.js.map +0 -1
package/README.md
CHANGED
|
@@ -1 +1,31 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Shopby-Shop-SDK for front API
|
|
2
|
+
|
|
3
|
+
### @shopby/shop-sdk
|
|
4
|
+
|
|
5
|
+
- Typescript support
|
|
6
|
+
- based on the fetch API
|
|
7
|
+
- https://docs.shopby.co.kr/
|
|
8
|
+
|
|
9
|
+
### How to use
|
|
10
|
+
|
|
11
|
+
```shell script
|
|
12
|
+
|
|
13
|
+
npm install @shopby/shop-sdk
|
|
14
|
+
# or
|
|
15
|
+
yarn add @shopby/shop-sdk
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
```js
|
|
20
|
+
import { create } from '@shopby/shop-sdk';
|
|
21
|
+
|
|
22
|
+
const api = create('https://alpha-shop-api.e-ncp.com', 'ACCESS_TOKEN', {
|
|
23
|
+
clientId: '{your client id}',
|
|
24
|
+
'Content-type': 'application/json'
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
const response = await api.admin.getMalls();
|
|
28
|
+
const data = await response.json();
|
|
29
|
+
|
|
30
|
+
console.log(data);
|
|
31
|
+
```
|
package/package.json
CHANGED
|
@@ -1,35 +1,46 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shopby/shop-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "",
|
|
5
|
-
"main": "index.js",
|
|
5
|
+
"main": "build/src/index.js",
|
|
6
|
+
"types": "build/types/root.d.ts",
|
|
6
7
|
"files": [
|
|
7
8
|
"build",
|
|
8
|
-
"build/types
|
|
9
|
+
"build/types"
|
|
9
10
|
],
|
|
10
11
|
"scripts": {
|
|
11
12
|
"lint": "gts lint",
|
|
12
13
|
"clean": "gts clean",
|
|
13
14
|
"compile": "tsc",
|
|
14
15
|
"fix": "gts fix",
|
|
15
|
-
"prepare": "
|
|
16
|
+
"prepare": "husky install",
|
|
16
17
|
"pretest": "npm run compile",
|
|
17
18
|
"posttest": "npm run lint",
|
|
18
|
-
"upload": "npm
|
|
19
|
+
"upload": "npm publish --access public",
|
|
20
|
+
"release": "standard-version"
|
|
19
21
|
},
|
|
20
22
|
"repository": {
|
|
21
23
|
"type": "git",
|
|
22
24
|
"url": "http://gitlab.e-ncp.com/ncp-client/shop-sdk.git"
|
|
23
25
|
},
|
|
24
|
-
"author": "",
|
|
26
|
+
"author": "nhn-commerce",
|
|
25
27
|
"license": "ISC",
|
|
26
28
|
"dependencies": {
|
|
27
29
|
"lodash.curry": "^4.1.1"
|
|
28
30
|
},
|
|
29
31
|
"devDependencies": {
|
|
32
|
+
"@commitlint/cli": "15.0.0",
|
|
33
|
+
"@commitlint/config-conventional": "15.0.0",
|
|
30
34
|
"@types/lodash.curry": "^4.1.6",
|
|
31
35
|
"@types/node": "^16.11.10",
|
|
32
36
|
"gts": "^3.1.0",
|
|
37
|
+
"husky": "7.0.4",
|
|
38
|
+
"standard-version": "9.3.2",
|
|
33
39
|
"typescript": "^4.5.2"
|
|
40
|
+
},
|
|
41
|
+
"husky": {
|
|
42
|
+
"hooks": {
|
|
43
|
+
"commit-msg": "echo -E HUSKY_GIT_PARAMS"
|
|
44
|
+
}
|
|
34
45
|
}
|
|
35
46
|
}
|
package/build/src/admin.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ResponseData } from '../types/root';
|
|
2
|
-
import { Malls, MallsPartnersResponse, MallsSslResponse } from '../types/admin';
|
|
3
|
-
declare const admin: (createOption: Function) => {
|
|
4
|
-
/**
|
|
5
|
-
* Mall
|
|
6
|
-
*/
|
|
7
|
-
getMalls(): Promise<ResponseData<Malls>>;
|
|
8
|
-
getMallsPartners(): Promise<ResponseData<MallsPartnersResponse[]>>;
|
|
9
|
-
getMallsSsl(): Promise<ResponseData<MallsSslResponse>>;
|
|
10
|
-
};
|
|
11
|
-
export default admin;
|
package/build/src/admin.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
const admin = (createOption) => ({
|
|
2
|
-
/**
|
|
3
|
-
* Mall
|
|
4
|
-
*/
|
|
5
|
-
getMalls() {
|
|
6
|
-
return createOption({
|
|
7
|
-
method: 'GET',
|
|
8
|
-
url: '/malls',
|
|
9
|
-
});
|
|
10
|
-
},
|
|
11
|
-
getMallsPartners() {
|
|
12
|
-
return createOption({
|
|
13
|
-
method: 'GET',
|
|
14
|
-
url: '/malls/partners',
|
|
15
|
-
});
|
|
16
|
-
},
|
|
17
|
-
getMallsSsl() {
|
|
18
|
-
return createOption({
|
|
19
|
-
method: 'GET',
|
|
20
|
-
url: '/malls/ssl',
|
|
21
|
-
});
|
|
22
|
-
},
|
|
23
|
-
});
|
|
24
|
-
export default admin;
|
|
25
|
-
//# sourceMappingURL=admin.js.map
|
package/build/src/admin.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"admin.js","sourceRoot":"","sources":["../../src/admin.ts"],"names":[],"mappings":"AAGA,MAAM,KAAK,GAAG,CAAC,YAAsB,EAAE,EAAE,CAAC,CAAC;IACzC;;OAEG;IACH,QAAQ;QACN,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,QAAQ;SACd,CAAC,CAAC;IACL,CAAC;IACD,gBAAgB;QACd,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,iBAAiB;SACvB,CAAC,CAAC;IACL,CAAC;IACD,WAAW;QACT,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,YAAY;SAClB,CAAC,CAAC;IACL,CAAC;CACF,CAAC,CAAC;AAEH,eAAe,KAAK,CAAC"}
|
package/build/src/auth.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { RequestOption, ResponseData } from '../types/root';
|
|
2
|
-
import { Authentications, 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
|
-
declare const auth: (createOption: Function) => {
|
|
4
|
-
/**
|
|
5
|
-
* Authentication
|
|
6
|
-
*/
|
|
7
|
-
getAuthentications(request: RequestOption<Authentications, null>): Promise<ResponseData<void>>;
|
|
8
|
-
postAuthentications(request: RequestOption<null, Authentications>): Promise<ResponseData<AuthenticationsResponse>>;
|
|
9
|
-
postAuthenticationsBizmall(request: RequestOption<null, AuthenticationsBizmall>): Promise<ResponseData<AuthenticationsBizmallResponse>>;
|
|
10
|
-
getAuthenticationsEmail(request: RequestOption<AuthenticationsEmail, null>): Promise<ResponseData<AuthenticationsEmailResponse>>;
|
|
11
|
-
postAuthenticationsEmail(request: RequestOption<null, AuthenticationsEmail>): Promise<ResponseData<AuthenticationsResponse>>;
|
|
12
|
-
getAuthenticationsSms(request: RequestOption<AuthenticationsSms, null>): Promise<ResponseData<AuthenticationsEmailResponse>>;
|
|
13
|
-
postAuthenticationsSms(request: RequestOption<null, PostAuthenticationsSms>): Promise<ResponseData<AuthenticationsResponse>>;
|
|
14
|
-
getOauthLoginUrl(request: RequestOption<OauthLoginUrlRequest, null>): Promise<ResponseData<OauthLoginUrlResponse>>;
|
|
15
|
-
getOauthOpenId(request: RequestOption<OauthOpenIdRequest, null>): Promise<ResponseData<OauthOpenIdResponse>>;
|
|
16
|
-
postOauthToken(request: RequestOption<null, PostOauthTokenRequest>): Promise<ResponseData<PostOauthTokenResponse>>;
|
|
17
|
-
deleteOauthToken(): Promise<ResponseData<void>>;
|
|
18
|
-
getOpenidToken(): Promise<ResponseData<GetOpenIdTokenResponse>>;
|
|
19
|
-
/**
|
|
20
|
-
* KCPCertification
|
|
21
|
-
*/
|
|
22
|
-
postKcpAgeVerification(request: RequestOption<PostKcpAgeVerificationRequest, null>): Promise<ResponseData<PostKcpAgeVerificationResponse>>;
|
|
23
|
-
getKcpIdVerificationForm(request: RequestOption<KcpIdVerificationFormRequest, null>): Promise<ResponseData<any>>;
|
|
24
|
-
getKcpIdVerificationResponse(request: RequestOption<KcpIdVerificationFormRequest, null>): Promise<ResponseData<KcpIdVerificationResponse>>;
|
|
25
|
-
/**
|
|
26
|
-
* OAuth callback
|
|
27
|
-
*/
|
|
28
|
-
getOauthBegin(request: RequestOption<OauthBeginRequest, null>): Promise<ResponseData<void>>;
|
|
29
|
-
getOauthCallback(request: RequestOption<OauthCallbackRequest, null>): Promise<ResponseData<void>>;
|
|
30
|
-
/**
|
|
31
|
-
* Captcha
|
|
32
|
-
*/
|
|
33
|
-
getCaptchaImage(): Promise<ResponseData<CaptchaImage>>;
|
|
34
|
-
postCaptchaVerify(request: RequestOption<CaptchaVerifyRequest, null>): Promise<ResponseData<void>>;
|
|
35
|
-
};
|
|
36
|
-
export default auth;
|
package/build/src/auth.js
DELETED
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
const auth = (createOption) => ({
|
|
2
|
-
/**
|
|
3
|
-
* Authentication
|
|
4
|
-
*/
|
|
5
|
-
getAuthentications(request) {
|
|
6
|
-
const { queryString } = request;
|
|
7
|
-
return createOption({
|
|
8
|
-
method: 'GET',
|
|
9
|
-
url: '/authentications',
|
|
10
|
-
queryString,
|
|
11
|
-
});
|
|
12
|
-
},
|
|
13
|
-
postAuthentications(request) {
|
|
14
|
-
const { requestBody } = request;
|
|
15
|
-
return createOption({
|
|
16
|
-
method: 'POST',
|
|
17
|
-
url: '/authentications',
|
|
18
|
-
requestBody,
|
|
19
|
-
});
|
|
20
|
-
},
|
|
21
|
-
postAuthenticationsBizmall(request) {
|
|
22
|
-
const { requestBody } = request;
|
|
23
|
-
return createOption({
|
|
24
|
-
method: 'POST',
|
|
25
|
-
url: '/authentications/bizmall',
|
|
26
|
-
requestBody,
|
|
27
|
-
});
|
|
28
|
-
},
|
|
29
|
-
getAuthenticationsEmail(request) {
|
|
30
|
-
const { queryString } = request;
|
|
31
|
-
return createOption({
|
|
32
|
-
method: 'GET',
|
|
33
|
-
url: '/authentications/email',
|
|
34
|
-
queryString,
|
|
35
|
-
});
|
|
36
|
-
},
|
|
37
|
-
postAuthenticationsEmail(request) {
|
|
38
|
-
const { requestBody } = request;
|
|
39
|
-
return createOption({
|
|
40
|
-
method: 'POST',
|
|
41
|
-
url: '/authentications/email',
|
|
42
|
-
requestBody,
|
|
43
|
-
});
|
|
44
|
-
},
|
|
45
|
-
getAuthenticationsSms(request) {
|
|
46
|
-
const { queryString } = request;
|
|
47
|
-
return createOption({
|
|
48
|
-
method: 'GET',
|
|
49
|
-
url: '/authentications/sms',
|
|
50
|
-
queryString,
|
|
51
|
-
});
|
|
52
|
-
},
|
|
53
|
-
postAuthenticationsSms(request) {
|
|
54
|
-
const { requestBody } = request;
|
|
55
|
-
return createOption({
|
|
56
|
-
method: 'POST',
|
|
57
|
-
url: '/authentications/sms',
|
|
58
|
-
requestBody,
|
|
59
|
-
});
|
|
60
|
-
},
|
|
61
|
-
getOauthLoginUrl(request) {
|
|
62
|
-
const { queryString } = request;
|
|
63
|
-
return createOption({
|
|
64
|
-
method: 'GET',
|
|
65
|
-
url: '/oauth/login-url',
|
|
66
|
-
queryString,
|
|
67
|
-
});
|
|
68
|
-
},
|
|
69
|
-
getOauthOpenId(request) {
|
|
70
|
-
const { queryString } = request;
|
|
71
|
-
return createOption({
|
|
72
|
-
method: 'GET',
|
|
73
|
-
url: '/oauth/openid',
|
|
74
|
-
queryString,
|
|
75
|
-
});
|
|
76
|
-
},
|
|
77
|
-
postOauthToken(request) {
|
|
78
|
-
const { requestBody } = request;
|
|
79
|
-
return createOption({
|
|
80
|
-
method: 'POST',
|
|
81
|
-
url: '/oauth/token',
|
|
82
|
-
requestBody,
|
|
83
|
-
});
|
|
84
|
-
},
|
|
85
|
-
deleteOauthToken() {
|
|
86
|
-
return createOption({
|
|
87
|
-
method: 'delete',
|
|
88
|
-
url: '/oauth/token',
|
|
89
|
-
});
|
|
90
|
-
},
|
|
91
|
-
getOpenidToken() {
|
|
92
|
-
return createOption({
|
|
93
|
-
method: 'GET',
|
|
94
|
-
url: '/openid/token',
|
|
95
|
-
});
|
|
96
|
-
},
|
|
97
|
-
/**
|
|
98
|
-
* KCPCertification
|
|
99
|
-
*/
|
|
100
|
-
postKcpAgeVerification(request) {
|
|
101
|
-
const { queryString } = request;
|
|
102
|
-
return createOption({
|
|
103
|
-
method: 'POST',
|
|
104
|
-
url: '/kcp/age-verification',
|
|
105
|
-
queryString,
|
|
106
|
-
});
|
|
107
|
-
},
|
|
108
|
-
getKcpIdVerificationForm(request) {
|
|
109
|
-
// TODO: form data 타입 잡기
|
|
110
|
-
const { queryString } = request;
|
|
111
|
-
return createOption({
|
|
112
|
-
method: 'GET',
|
|
113
|
-
url: '/kcp/id-verification/form',
|
|
114
|
-
queryString,
|
|
115
|
-
});
|
|
116
|
-
},
|
|
117
|
-
getKcpIdVerificationResponse(request) {
|
|
118
|
-
const { queryString } = request;
|
|
119
|
-
return createOption({
|
|
120
|
-
method: 'GET',
|
|
121
|
-
url: '/kcp/id-verification/response',
|
|
122
|
-
queryString,
|
|
123
|
-
});
|
|
124
|
-
},
|
|
125
|
-
/**
|
|
126
|
-
* OAuth callback
|
|
127
|
-
*/
|
|
128
|
-
getOauthBegin(request) {
|
|
129
|
-
const { queryString } = request;
|
|
130
|
-
return createOption({
|
|
131
|
-
method: 'GET',
|
|
132
|
-
url: '/oauth/begin',
|
|
133
|
-
queryString,
|
|
134
|
-
});
|
|
135
|
-
},
|
|
136
|
-
getOauthCallback(request) {
|
|
137
|
-
const { queryString } = request;
|
|
138
|
-
return createOption({
|
|
139
|
-
method: 'GET',
|
|
140
|
-
url: '/oauth/callback',
|
|
141
|
-
queryString,
|
|
142
|
-
});
|
|
143
|
-
},
|
|
144
|
-
/**
|
|
145
|
-
* Captcha
|
|
146
|
-
*/
|
|
147
|
-
getCaptchaImage() {
|
|
148
|
-
return createOption({
|
|
149
|
-
method: 'GET',
|
|
150
|
-
url: '/captcha/image',
|
|
151
|
-
});
|
|
152
|
-
},
|
|
153
|
-
postCaptchaVerify(request) {
|
|
154
|
-
const { queryString } = request;
|
|
155
|
-
return createOption({
|
|
156
|
-
method: 'POST',
|
|
157
|
-
url: '/captcha/verify',
|
|
158
|
-
queryString,
|
|
159
|
-
});
|
|
160
|
-
},
|
|
161
|
-
});
|
|
162
|
-
export default auth;
|
|
163
|
-
//# sourceMappingURL=auth.js.map
|
package/build/src/auth.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth.js","sourceRoot":"","sources":["../../src/auth.ts"],"names":[],"mappings":"AA2BA,MAAM,IAAI,GAAG,CAAC,YAAsB,EAAE,EAAE,CAAC,CAAC;IACxC;;OAEG;IACH,kBAAkB,CAChB,OAA6C;QAE7C,MAAM,EAAC,WAAW,EAAC,GAAG,OAAO,CAAC;QAE9B,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,kBAAkB;YACvB,WAAW;SACZ,CAAC,CAAC;IACL,CAAC;IACD,mBAAmB,CACjB,OAA6C;QAE7C,MAAM,EAAC,WAAW,EAAC,GAAG,OAAO,CAAC;QAE9B,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,kBAAkB;YACvB,WAAW;SACZ,CAAC,CAAC;IACL,CAAC;IACD,0BAA0B,CACxB,OAAoD;QAEpD,MAAM,EAAC,WAAW,EAAC,GAAG,OAAO,CAAC;QAE9B,OAAO,YAAY,CAAC;YAClB,MAAM,EAA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AM,EAAC,WAAW,EAAC,GAAG,OAAO,CAAC;QAE9B,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,iBAAiB;YACtB,WAAW;SACZ,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,eAAe;QACb,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,gBAAgB;SACtB,CAAC,CAAC;IACL,CAAC;IACD,iBAAiB,CACf,OAAkD;QAElD,MAAM,EAAC,WAAW,EAAC,GAAG,OAAO,CAAC;QAE9B,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,iBAAiB;YACtB,WAAW;SACZ,CAAC,CAAC;IACL,CAAC;CACF,CAAC,CAAC;AAEH,eAAe,IAAI,CAAC"}
|
package/build/src/claim.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { ResponseData } from '../types/root';
|
|
2
|
-
declare const claim: (createOption: Function) => {
|
|
3
|
-
/**
|
|
4
|
-
* Guest
|
|
5
|
-
*/
|
|
6
|
-
postGuestClaimsCancel(request: any): Promise<ResponseData<void>>;
|
|
7
|
-
postGuestClaimsEstimate(request: any): Promise<ResponseData<any>>;
|
|
8
|
-
postGuestClaimsReturn(request: any): Promise<ResponseData<void>>;
|
|
9
|
-
getGuestClaimsClaimNoCheckWithdraw(request: any): Promise<ResponseData<any>>;
|
|
10
|
-
getGuestClaimsClaimNoResult(request: any): Promise<ResponseData<any>>;
|
|
11
|
-
putGuestClaimsClaimNoWithdraw(request: any): Promise<ResponseData<void>>;
|
|
12
|
-
getGuestOrderOptionOrderOptionNoClaims(request: any): Promise<ResponseData<any>>;
|
|
13
|
-
postGuestOrderOptionOrderOptionNoClaimsCancel(request: any): Promise<ResponseData<any>>;
|
|
14
|
-
getGuestOrderOptionOrderOptionNoClaimsEstimate(request: any): Promise<ResponseData<any>>;
|
|
15
|
-
getGuestOrderOptionOrderOptionNoClaimsResult(request: any): Promise<ResponseData<any>>;
|
|
16
|
-
postGuestOrderOptionOrderOptionNoClaimsReturn(request: any): Promise<ResponseData<void>>;
|
|
17
|
-
putGuestOrderOptionOrderOptionNoClaimsWithdraw(request: any): Promise<ResponseData<void>>;
|
|
18
|
-
/**
|
|
19
|
-
* Profile
|
|
20
|
-
*/
|
|
21
|
-
getProfileClaims(request: any): Promise<ResponseData<any>>;
|
|
22
|
-
getProfileClaimsClaimNoResult(request: any): Promise<ResponseData<any>>;
|
|
23
|
-
postProfileClaimsCancel(request: any): Promise<ResponseData<void>>;
|
|
24
|
-
postProfileClaimsEstimate(request: any): Promise<ResponseData<any>>;
|
|
25
|
-
postProfileClaimsReturn(request: any): Promise<ResponseData<any>>;
|
|
26
|
-
putProfileClaimsClaimNoWithdraw(request: any): Promise<ResponseData<void>>;
|
|
27
|
-
getProfileOrderOptionOrderOptionNoClaims(request: any): Promise<ResponseData<any>>;
|
|
28
|
-
postProfileOrderOptionOrderOptionNoClaimsCancel(request: any): Promise<ResponseData<any>>;
|
|
29
|
-
getProfileOrderOptionOrderOptionNoClaimsEstimate(request: any): Promise<ResponseData<any>>;
|
|
30
|
-
postProfileOrderOptionOrderOptionNoClaimsExchange(request: any): Promise<ResponseData<void>>;
|
|
31
|
-
getProfileOrderOptionOrderOptionNoClaimsResult(request: any): Promise<ResponseData<any>>;
|
|
32
|
-
postProfileOrderOptionOrderOptionNoClaimsReturn(request: any): Promise<ResponseData<any>>;
|
|
33
|
-
putProfileOrderOptionOrderOptionNoClaimsWithdraw(request: any): Promise<ResponseData<void>>;
|
|
34
|
-
postProfileOrderOrderNoClaimsCancel(request: any): Promise<ResponseData<void>>;
|
|
35
|
-
};
|
|
36
|
-
export default claim;
|
package/build/src/claim.js
DELETED
|
@@ -1,209 +0,0 @@
|
|
|
1
|
-
const claim = (createOption) => ({
|
|
2
|
-
/**
|
|
3
|
-
* Guest
|
|
4
|
-
*/
|
|
5
|
-
postGuestClaimsCancel(request) {
|
|
6
|
-
const { requestBody } = request;
|
|
7
|
-
return createOption({
|
|
8
|
-
method: 'POST',
|
|
9
|
-
url: '/guest/claims/cancel',
|
|
10
|
-
requestBody,
|
|
11
|
-
});
|
|
12
|
-
},
|
|
13
|
-
postGuestClaimsEstimate(request) {
|
|
14
|
-
const { requestBody } = request;
|
|
15
|
-
return createOption({
|
|
16
|
-
method: 'POST',
|
|
17
|
-
url: '/guest/claims/estimate',
|
|
18
|
-
requestBody,
|
|
19
|
-
});
|
|
20
|
-
},
|
|
21
|
-
postGuestClaimsReturn(request) {
|
|
22
|
-
const { requestBody } = request;
|
|
23
|
-
return createOption({
|
|
24
|
-
method: 'POST',
|
|
25
|
-
url: '/guest/claims/return',
|
|
26
|
-
requestBody,
|
|
27
|
-
});
|
|
28
|
-
},
|
|
29
|
-
getGuestClaimsClaimNoCheckWithdraw(request) {
|
|
30
|
-
const { pathVariable: { claimNo }, } = request;
|
|
31
|
-
return createOption({
|
|
32
|
-
method: 'POST',
|
|
33
|
-
url: `/guest/claims/${claimNo}/check-withdraw`,
|
|
34
|
-
});
|
|
35
|
-
},
|
|
36
|
-
getGuestClaimsClaimNoResult(request) {
|
|
37
|
-
const { pathVariable: { claimNo }, } = request;
|
|
38
|
-
return createOption({
|
|
39
|
-
method: 'POST',
|
|
40
|
-
url: `/guest/claims/${claimNo}/result`,
|
|
41
|
-
});
|
|
42
|
-
},
|
|
43
|
-
putGuestClaimsClaimNoWithdraw(request) {
|
|
44
|
-
const { pathVariable: { claimNo }, } = request;
|
|
45
|
-
return createOption({
|
|
46
|
-
method: 'PUT',
|
|
47
|
-
url: `/guest/claims/${claimNo}/withdraw`,
|
|
48
|
-
});
|
|
49
|
-
},
|
|
50
|
-
getGuestOrderOptionOrderOptionNoClaims(request) {
|
|
51
|
-
const { pathVariable: { orderOptionNo }, queryString, } = request;
|
|
52
|
-
return createOption({
|
|
53
|
-
method: 'GET',
|
|
54
|
-
url: `/guest/order-options/${orderOptionNo}/claims`,
|
|
55
|
-
queryString,
|
|
56
|
-
});
|
|
57
|
-
},
|
|
58
|
-
postGuestOrderOptionOrderOptionNoClaimsCancel(request) {
|
|
59
|
-
const { pathVariable: { orderOptionNo }, requestBody, } = request;
|
|
60
|
-
return createOption({
|
|
61
|
-
method: 'POST',
|
|
62
|
-
url: `/guest/order-options/${orderOptionNo}/claims/cancel`,
|
|
63
|
-
requestBody,
|
|
64
|
-
});
|
|
65
|
-
},
|
|
66
|
-
getGuestOrderOptionOrderOptionNoClaimsEstimate(request) {
|
|
67
|
-
const { pathVariable: { orderOptionNo }, queryString, } = request;
|
|
68
|
-
return createOption({
|
|
69
|
-
method: 'GET',
|
|
70
|
-
url: `/guest/order-options/${orderOptionNo}/claims/estimate`,
|
|
71
|
-
queryString,
|
|
72
|
-
});
|
|
73
|
-
},
|
|
74
|
-
getGuestOrderOptionOrderOptionNoClaimsResult(request) {
|
|
75
|
-
const { pathVariable: { orderOptionNo }, } = request;
|
|
76
|
-
return createOption({
|
|
77
|
-
method: 'GET',
|
|
78
|
-
url: `/guest/order-options/${orderOptionNo}/claims/result`,
|
|
79
|
-
});
|
|
80
|
-
},
|
|
81
|
-
postGuestOrderOptionOrderOptionNoClaimsReturn(request) {
|
|
82
|
-
const { pathVariable: { orderOptionNo }, requestBody, } = request;
|
|
83
|
-
return createOption({
|
|
84
|
-
method: 'POST',
|
|
85
|
-
url: `/guest/order-options/${orderOptionNo}/claims/return`,
|
|
86
|
-
requestBody,
|
|
87
|
-
});
|
|
88
|
-
},
|
|
89
|
-
putGuestOrderOptionOrderOptionNoClaimsWithdraw(request) {
|
|
90
|
-
const { pathVariable: { orderOptionNo }, } = request;
|
|
91
|
-
return createOption({
|
|
92
|
-
method: 'POST',
|
|
93
|
-
url: `/guest/order-options/${orderOptionNo}/claims/withdraw`,
|
|
94
|
-
});
|
|
95
|
-
},
|
|
96
|
-
/**
|
|
97
|
-
* Profile
|
|
98
|
-
*/
|
|
99
|
-
getProfileClaims(request) {
|
|
100
|
-
const { queryString } = request;
|
|
101
|
-
return createOption({
|
|
102
|
-
method: 'GET',
|
|
103
|
-
url: '/profile/claims',
|
|
104
|
-
queryString,
|
|
105
|
-
});
|
|
106
|
-
},
|
|
107
|
-
getProfileClaimsClaimNoResult(request) {
|
|
108
|
-
const { pathVariable: { claimNo }, } = request;
|
|
109
|
-
return createOption({
|
|
110
|
-
method: 'GET',
|
|
111
|
-
url: `/profile/claims/${claimNo}/result`,
|
|
112
|
-
});
|
|
113
|
-
},
|
|
114
|
-
postProfileClaimsCancel(request) {
|
|
115
|
-
const { requestBody } = request;
|
|
116
|
-
return createOption({
|
|
117
|
-
method: 'POST',
|
|
118
|
-
url: '/profile/claims/cancel',
|
|
119
|
-
requestBody,
|
|
120
|
-
});
|
|
121
|
-
},
|
|
122
|
-
postProfileClaimsEstimate(request) {
|
|
123
|
-
const { requestBody } = request;
|
|
124
|
-
return createOption({
|
|
125
|
-
method: 'POST',
|
|
126
|
-
url: '/profile/claims/estimate',
|
|
127
|
-
requestBody,
|
|
128
|
-
});
|
|
129
|
-
},
|
|
130
|
-
postProfileClaimsReturn(request) {
|
|
131
|
-
const { requestBody } = request;
|
|
132
|
-
return createOption({
|
|
133
|
-
method: 'POST',
|
|
134
|
-
url: '/profile/claims/return',
|
|
135
|
-
requestBody,
|
|
136
|
-
});
|
|
137
|
-
},
|
|
138
|
-
putProfileClaimsClaimNoWithdraw(request) {
|
|
139
|
-
const { pathVariable: { claimNo }, } = request;
|
|
140
|
-
return createOption({
|
|
141
|
-
method: 'PUT',
|
|
142
|
-
url: `/profile/claims/${claimNo}/withdraw`,
|
|
143
|
-
});
|
|
144
|
-
},
|
|
145
|
-
getProfileOrderOptionOrderOptionNoClaims(request) {
|
|
146
|
-
const { pathVariable: { orderOptionNo }, queryString, } = request;
|
|
147
|
-
return createOption({
|
|
148
|
-
method: 'GET',
|
|
149
|
-
url: `/profile/order-options/${orderOptionNo}/claim`,
|
|
150
|
-
queryString,
|
|
151
|
-
});
|
|
152
|
-
},
|
|
153
|
-
postProfileOrderOptionOrderOptionNoClaimsCancel(request) {
|
|
154
|
-
const { pathVariable: { orderOptionNo }, requestBody, } = request;
|
|
155
|
-
return createOption({
|
|
156
|
-
method: 'POST',
|
|
157
|
-
url: `/profile/order-options/${orderOptionNo}/claims/cancel`,
|
|
158
|
-
requestBody,
|
|
159
|
-
});
|
|
160
|
-
},
|
|
161
|
-
getProfileOrderOptionOrderOptionNoClaimsEstimate(request) {
|
|
162
|
-
const { pathVariable: { orderOptionNo }, queryString, } = request;
|
|
163
|
-
return createOption({
|
|
164
|
-
method: 'GET',
|
|
165
|
-
url: `/profile/order-options/${orderOptionNo}/claims/estimate`,
|
|
166
|
-
queryString,
|
|
167
|
-
});
|
|
168
|
-
},
|
|
169
|
-
postProfileOrderOptionOrderOptionNoClaimsExchange(request) {
|
|
170
|
-
const { pathVariable: { orderOptionNo }, requestBody, } = request;
|
|
171
|
-
return createOption({
|
|
172
|
-
method: 'POST',
|
|
173
|
-
url: `/profile/order-options/${orderOptionNo}/claim/exchange`,
|
|
174
|
-
requestBody,
|
|
175
|
-
});
|
|
176
|
-
},
|
|
177
|
-
getProfileOrderOptionOrderOptionNoClaimsResult(request) {
|
|
178
|
-
const { pathVariable: { orderOptionNo }, } = request;
|
|
179
|
-
return createOption({
|
|
180
|
-
method: 'GET',
|
|
181
|
-
url: `/profile/order-options/${orderOptionNo}/claims/result`,
|
|
182
|
-
});
|
|
183
|
-
},
|
|
184
|
-
postProfileOrderOptionOrderOptionNoClaimsReturn(request) {
|
|
185
|
-
const { pathVariable: { orderOptionNo }, requestBody, } = request;
|
|
186
|
-
return createOption({
|
|
187
|
-
method: 'POST',
|
|
188
|
-
url: `/profile/order-options/${orderOptionNo}/claims/return`,
|
|
189
|
-
requestBody,
|
|
190
|
-
});
|
|
191
|
-
},
|
|
192
|
-
putProfileOrderOptionOrderOptionNoClaimsWithdraw(request) {
|
|
193
|
-
const { pathVariable: { orderOptionNo }, } = request;
|
|
194
|
-
return createOption({
|
|
195
|
-
method: 'POST',
|
|
196
|
-
url: `/profile/order-options/${orderOptionNo}/claims/withdraw`,
|
|
197
|
-
});
|
|
198
|
-
},
|
|
199
|
-
postProfileOrderOrderNoClaimsCancel(request) {
|
|
200
|
-
const { pathVariable: { orderNo }, requestBody, } = request;
|
|
201
|
-
return createOption({
|
|
202
|
-
method: 'POST',
|
|
203
|
-
url: `/profile/orders/${orderNo}/claim/cancel`,
|
|
204
|
-
requestBody,
|
|
205
|
-
});
|
|
206
|
-
},
|
|
207
|
-
});
|
|
208
|
-
export default claim;
|
|
209
|
-
//# sourceMappingURL=claim.js.map
|
package/build/src/claim.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"claim.js","sourceRoot":"","sources":["../../src/claim.ts"],"names":[],"mappings":"AAEA,MAAM,KAAK,GAAG,CAAC,YAAsB,EAAE,EAAE,CAAC,CAAC;IACzC;;OAEG;IACH,qBAAqB,CAAC,OAAY;QAChC,MAAM,EAAC,WAAW,EAAC,GAAG,OAAO,CAAC;QAE9B,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,sBAAsB;YAC3B,WAAW;SACZ,CAAC,CAAC;IACL,CAAC;IACD,uBAAuB,CAAC,OAAY;QAClC,MAAM,EAAC,WAAW,EAAC,GAAG,OAAO,CAAC;QAE9B,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,wBAAwB;YAC7B,WAAW;SACZ,CAAC,CAAC;IACL,CAAC;IACD,qBAAqB,CAAC,OAAY;QAChC,MAAM,EAAC,WAAW,EAAC,GAAG,OAAO,CAAC;QAE9B,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,sBAAsB;YAC3B,WAAW;SACZ,CAAC,CAAC;IACL,CAAC;IACD,kCAAkC,CAAC,OAAY;QAC7C,MAAM,EACJ,YAAY,EAAE,EAAC,OAAO,EAAC,GACxB,GAAG,OAAO,CA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C;QAEZ,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,mBAAmB,OAAO,eAAe;YAC9C,WAAW;SACZ,CAAC,CAAC;IACL,CAAC;CACF,CAAC,CAAC;AAEH,eAAe,KAAK,CAAC"}
|
package/build/src/display.d.ts
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { ResponseData } from '../types/root';
|
|
2
|
-
declare const display: (createOption: Function) => {
|
|
3
|
-
/**
|
|
4
|
-
* Category
|
|
5
|
-
*/
|
|
6
|
-
getCategories(request: any): Promise<ResponseData<any>>;
|
|
7
|
-
getCategoriesNewProductCategories(request: any): Promise<number[]>;
|
|
8
|
-
getCategoriesCategoryNo(request: any): Promise<ResponseData<any>>;
|
|
9
|
-
/**
|
|
10
|
-
* Review
|
|
11
|
-
*/
|
|
12
|
-
getCategoryProductReviews(request: any): Promise<ResponseData<any>>;
|
|
13
|
-
getProductReviewsConfigurations(request: any): Promise<ResponseData<any>>;
|
|
14
|
-
getProductsProductNoProductReviews(request: any): Promise<ResponseData<any>>;
|
|
15
|
-
postProductsProductNoProductReviews(request: any): Promise<ResponseData<any>>;
|
|
16
|
-
getProductsProductNoReviewableOptions(request: any): Promise<ResponseData<any>>;
|
|
17
|
-
getProductsProductNoProductReviewsReviewNo(request: any): Promise<ResponseData<any>>;
|
|
18
|
-
putProductsProductNoProductReviewsReviewNo(request: any): Promise<ResponseData<void>>;
|
|
19
|
-
deleteProductsProductNoProductReviewsReviewNo(request: any): Promise<ResponseData<void>>;
|
|
20
|
-
postProductsProductNoProductReviewsReviewNoCheckPassword(request: any): Promise<ResponseData<void>>;
|
|
21
|
-
postProductsProductNoProductReviewsReviewNoRecommend(request: any): Promise<ResponseData<void>>;
|
|
22
|
-
deleteProductsProductNoProductReviewsReviewNoRecommend(request: any): Promise<ResponseData<void>>;
|
|
23
|
-
postProductsProductNoProductReviewsReviewNoReport(request: any): Promise<ResponseData<void>>;
|
|
24
|
-
getProfileProductReviews(request: any): Promise<ResponseData<any>>;
|
|
25
|
-
getProfileOrderOptionsProductReviewable(request: any): Promise<ResponseData<any>>;
|
|
26
|
-
/**
|
|
27
|
-
* Design Popup
|
|
28
|
-
*/
|
|
29
|
-
postDesignPopups(request: any): Promise<ResponseData<any>>;
|
|
30
|
-
/**
|
|
31
|
-
* Event
|
|
32
|
-
*/
|
|
33
|
-
getDisplayEvents(request: any): Promise<ResponseData<any>>;
|
|
34
|
-
getDisplayEventsEventNo(request: any): Promise<ResponseData<any>>;
|
|
35
|
-
getDisplayEventsProductsProductNo(request: any): Promise<ResponseData<any>>;
|
|
36
|
-
/**
|
|
37
|
-
* Popup
|
|
38
|
-
*/
|
|
39
|
-
getDisplayPopups(request: any): Promise<ResponseData<any>>;
|
|
40
|
-
getDisplayPopupsPopupNos(request: any): Promise<ResponseData<any>>;
|
|
41
|
-
/**
|
|
42
|
-
* Banner
|
|
43
|
-
*/
|
|
44
|
-
getDisplayBannersBannerSectionCodes(request: any): Promise<ResponseData<any>>;
|
|
45
|
-
/**
|
|
46
|
-
* Product Section
|
|
47
|
-
*/
|
|
48
|
-
getDisplaySectionsSectionNos(request: any): Promise<ResponseData<any>>;
|
|
49
|
-
getDisplaySectionsSectionNo(request: any): Promise<ResponseData<any>>;
|
|
50
|
-
getDisplaySectionsIdsSectionId(request: any): Promise<ResponseData<any>>;
|
|
51
|
-
/**
|
|
52
|
-
* Inquiry
|
|
53
|
-
*/
|
|
54
|
-
getProductsInquiresConfigurations(request: any): Promise<ResponseData<any>>;
|
|
55
|
-
putProductsInquiresInquiryNo(request: any): Promise<ResponseData<void>>;
|
|
56
|
-
deleteProductsInquiresInquiryNo(request: any): Promise<ResponseData<void>>;
|
|
57
|
-
getProductsProductNoInquires(request: any): Promise<ResponseData<void>>;
|
|
58
|
-
postProductsProductNoInquires(request: any): Promise<ResponseData<any>>;
|
|
59
|
-
getProductsProductNoInquiresInquiryNo(request: any): Promise<ResponseData<any>>;
|
|
60
|
-
getProfileProductInquiries(request: any): Promise<ResponseData<any>>;
|
|
61
|
-
getProfileProductInquiriesCount(request: any): Promise<ResponseData<any>>;
|
|
62
|
-
/**
|
|
63
|
-
* Skin Banner
|
|
64
|
-
*/
|
|
65
|
-
getSkinBanners(request: any): Promise<ResponseData<any>>;
|
|
66
|
-
getSkinBannersGroupsBySkin(request: any): Promise<ResponseData<any>>;
|
|
67
|
-
};
|
|
68
|
-
export default display;
|