@shopby/shop-sdk 1.0.3 → 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 +2 -0
- package/package.json +1 -1
- 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 -79
- package/build/src/index.js.map +0 -1
- package/build/src/manage.d.ts +0 -50
- package/build/src/manage.js +0 -210
- 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 -297
- package/build/types/root.js +0 -2
- package/build/types/root.js.map +0 -1
package/build/src/product.js
DELETED
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
var product = function (createOption) { return ({
|
|
2
|
-
/**
|
|
3
|
-
* Display
|
|
4
|
-
*/
|
|
5
|
-
getDisplayBrands: function (request) {
|
|
6
|
-
var queryString = request.queryString;
|
|
7
|
-
return createOption({
|
|
8
|
-
method: 'GET',
|
|
9
|
-
url: '/display/brands',
|
|
10
|
-
queryString: queryString,
|
|
11
|
-
});
|
|
12
|
-
},
|
|
13
|
-
getDisplayBrandsBrandNo: function (request) {
|
|
14
|
-
var brandNo = request.pathVariable.brandNo;
|
|
15
|
-
return createOption({
|
|
16
|
-
method: 'GET',
|
|
17
|
-
url: "/display/brands/".concat(brandNo),
|
|
18
|
-
});
|
|
19
|
-
},
|
|
20
|
-
/**
|
|
21
|
-
* Products
|
|
22
|
-
*/
|
|
23
|
-
getGuestRecentProducts: function (request) {
|
|
24
|
-
var queryString = request.queryString;
|
|
25
|
-
return createOption({
|
|
26
|
-
method: 'GET',
|
|
27
|
-
url: '/guest/recent-products',
|
|
28
|
-
queryString: queryString,
|
|
29
|
-
});
|
|
30
|
-
},
|
|
31
|
-
getProductsSearch: function (request) {
|
|
32
|
-
var queryString = request.queryString;
|
|
33
|
-
return createOption({
|
|
34
|
-
method: 'GET',
|
|
35
|
-
url: '/products/search',
|
|
36
|
-
queryString: queryString,
|
|
37
|
-
});
|
|
38
|
-
},
|
|
39
|
-
getProductsBestReviewSearch: function (request) {
|
|
40
|
-
var queryString = request.queryString;
|
|
41
|
-
return createOption({
|
|
42
|
-
method: 'GET',
|
|
43
|
-
url: '/products/best-review/search',
|
|
44
|
-
queryString: queryString,
|
|
45
|
-
});
|
|
46
|
-
},
|
|
47
|
-
getProductsBestSellerSearch: function (request) {
|
|
48
|
-
var queryString = request.queryString;
|
|
49
|
-
return createOption({
|
|
50
|
-
method: 'GET',
|
|
51
|
-
url: '/products/best-seller/search',
|
|
52
|
-
queryString: queryString,
|
|
53
|
-
});
|
|
54
|
-
},
|
|
55
|
-
getProfileRecentProducts: function (request) {
|
|
56
|
-
var queryString = request.queryString;
|
|
57
|
-
return createOption({
|
|
58
|
-
method: 'GET',
|
|
59
|
-
url: '/profile/recent-products',
|
|
60
|
-
queryString: queryString,
|
|
61
|
-
});
|
|
62
|
-
},
|
|
63
|
-
postProfileRecentProducts: function (request) {
|
|
64
|
-
var requestBody = request.requestBody;
|
|
65
|
-
return createOption({
|
|
66
|
-
method: 'POST',
|
|
67
|
-
url: '/profile/recent-products',
|
|
68
|
-
requestBody: requestBody,
|
|
69
|
-
});
|
|
70
|
-
},
|
|
71
|
-
deleteProfileRecentProducts: function (request) {
|
|
72
|
-
return createOption({
|
|
73
|
-
method: 'DELETE',
|
|
74
|
-
url: '/profile/recent-products',
|
|
75
|
-
});
|
|
76
|
-
},
|
|
77
|
-
/**
|
|
78
|
-
* Product
|
|
79
|
-
*/
|
|
80
|
-
getProductsFavoriteKeywords: function (request) {
|
|
81
|
-
var queryString = request.queryString;
|
|
82
|
-
return createOption({
|
|
83
|
-
method: 'GET',
|
|
84
|
-
url: '/products/favoriteKeywords',
|
|
85
|
-
queryString: queryString,
|
|
86
|
-
});
|
|
87
|
-
},
|
|
88
|
-
getProductsOptions: function (request) {
|
|
89
|
-
var queryString = request.queryString;
|
|
90
|
-
return createOption({
|
|
91
|
-
method: 'GET',
|
|
92
|
-
url: '/products/options',
|
|
93
|
-
queryString: queryString,
|
|
94
|
-
});
|
|
95
|
-
},
|
|
96
|
-
getProductsProductNo: function (request) {
|
|
97
|
-
var productNo = request.pathVariable.productNo;
|
|
98
|
-
return createOption({
|
|
99
|
-
method: 'GET',
|
|
100
|
-
url: "/products/".concat(productNo),
|
|
101
|
-
});
|
|
102
|
-
},
|
|
103
|
-
getProductsProductNoDisplayCategories: function (request) {
|
|
104
|
-
var productNo = request.pathVariable.productNo;
|
|
105
|
-
return createOption({
|
|
106
|
-
method: 'GET',
|
|
107
|
-
url: "/products/".concat(productNo, "/display-categories"),
|
|
108
|
-
});
|
|
109
|
-
},
|
|
110
|
-
getProductsProductNoOptions: function (request) {
|
|
111
|
-
var productNo = request.pathVariable.productNo;
|
|
112
|
-
return createOption({
|
|
113
|
-
method: 'GET',
|
|
114
|
-
url: "/products/".concat(productNo, "/options"),
|
|
115
|
-
});
|
|
116
|
-
},
|
|
117
|
-
getProductsProductNoRelatedProducts: function (request) {
|
|
118
|
-
var productNo = request.pathVariable.productNo;
|
|
119
|
-
return createOption({
|
|
120
|
-
method: 'GET',
|
|
121
|
-
url: "/products/".concat(productNo, "/related-products"),
|
|
122
|
-
});
|
|
123
|
-
},
|
|
124
|
-
getProductsProductNoOptionsImages: function (request) {
|
|
125
|
-
var productNo = request.pathVariable.productNo;
|
|
126
|
-
return createOption({
|
|
127
|
-
method: 'GET',
|
|
128
|
-
url: "/products/".concat(productNo, "/options/images"),
|
|
129
|
-
});
|
|
130
|
-
},
|
|
131
|
-
getProductsProductNoOptionsOptionNoImages: function (request) {
|
|
132
|
-
var _a = request.pathVariable, productNo = _a.productNo, optionNo = _a.optionNo;
|
|
133
|
-
return createOption({
|
|
134
|
-
method: 'GET',
|
|
135
|
-
url: "/products/".concat(productNo, "/options/").concat(optionNo, "/images"),
|
|
136
|
-
});
|
|
137
|
-
},
|
|
138
|
-
/**
|
|
139
|
-
* Profile
|
|
140
|
-
*/
|
|
141
|
-
getProfileLikeProducts: function (request) {
|
|
142
|
-
var queryString = request.queryString;
|
|
143
|
-
return createOption({
|
|
144
|
-
method: 'GET',
|
|
145
|
-
url: '/profile/like-products',
|
|
146
|
-
queryString: queryString,
|
|
147
|
-
});
|
|
148
|
-
},
|
|
149
|
-
postProfileLikeProducts: function (request) {
|
|
150
|
-
var requestBody = request.requestBody;
|
|
151
|
-
return createOption({
|
|
152
|
-
method: 'POST',
|
|
153
|
-
url: '/profile/like-products',
|
|
154
|
-
requestBody: requestBody,
|
|
155
|
-
});
|
|
156
|
-
},
|
|
157
|
-
/**
|
|
158
|
-
* Shopby
|
|
159
|
-
*/
|
|
160
|
-
getShopbyProductsDisplay: function (request) {
|
|
161
|
-
return createOption({
|
|
162
|
-
method: 'GET',
|
|
163
|
-
url: '/shopby/products/display',
|
|
164
|
-
});
|
|
165
|
-
},
|
|
166
|
-
getShopbyProductsProductNoUrlShortening: function (request) {
|
|
167
|
-
var productNo = request.pathVariable.productNo;
|
|
168
|
-
return createOption({
|
|
169
|
-
method: 'GET',
|
|
170
|
-
url: "/shopby/products/".concat(productNo, "/url-shortening"),
|
|
171
|
-
});
|
|
172
|
-
},
|
|
173
|
-
}); };
|
|
174
|
-
export default product;
|
|
175
|
-
//# sourceMappingURL=product.js.map
|
package/build/src/product.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"product.js","sourceRoot":"","sources":["../../src/product.ts"],"names":[],"mappings":"AAQA,IAAM,OAAO,GAAG,UAAC,YAAsB,IAAK,OAAA,CAAC;IAC3C;;OAEG;IACH,gBAAgB,EAAhB,UAAiB,OAAY;QACpB,IAAA,WAAW,GAAI,OAAO,YAAX,CAAY;QAE9B,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,iBAAiB;YACtB,WAAW,aAAA;SACZ,CAAC,CAAC;IACL,CAAC;IACD,uBAAuB,EAAvB,UAAwB,OAAY;QAEjB,IAAA,OAAO,GACpB,OAAO,qBADa,CACZ;QAEZ,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,0BAAmB,OAAO,CAAE;SAClC,CAAC,CAAC;IACL,CAAC;IACD;;OAEG;IACH,sBAAsB,EAAtB,UACE,OAAsC;QAE/B,IAAA,WAAW,GAAI,OAAO,YAAX,CAAY;QAE9B,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,wBAAwB;Y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AK;YACb,GAAG,EAAE,oBAAa,SAAS,oBAAiB;SAC7C,CAAC,CAAC;IACL,CAAC;IACD,yCAAyC,EAAzC,UACE,OAAY;QAGV,IAAA,KACE,OAAO,aAD0B,EAApB,SAAS,eAAA,EAAE,QAAQ,cAAC,CACzB;QAEZ,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,oBAAa,SAAS,sBAAY,QAAQ,YAAS;SACzD,CAAC,CAAC;IACL,CAAC;IACD;;OAEG;IACH,sBAAsB,EAAtB,UAAuB,OAAY;QAC1B,IAAA,WAAW,GAAI,OAAO,YAAX,CAAY;QAE9B,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,wBAAwB;YAC7B,WAAW,aAAA;SACZ,CAAC,CAAC;IACL,CAAC;IACD,uBAAuB,EAAvB,UAAwB,OAAY;QAC3B,IAAA,WAAW,GAAI,OAAO,YAAX,CAAY;QAE9B,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,wBAAwB;YAC7B,WAAW,aAAA;SACZ,CAAC,CAAC;IACL,CAAC;IACD;;OAEG;IACH,wBAAwB,EAAxB,UAAyB,OAAY;QACnC,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,0BAA0B;SAChC,CAAC,CAAC;IACL,CAAC;IACD,uCAAuC,EAAvC,UACE,OAAY;QAGK,IAAA,SAAS,GACtB,OAAO,uBADe,CACd;QAEZ,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,2BAAoB,SAAS,oBAAiB;SACpD,CAAC,CAAC;IACL,CAAC;CACF,CAAC,EA3N0C,CA2N1C,CAAC;AAEH,eAAe,OAAO,CAAC"}
|
package/build/src/promotion.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ResponseData } from '../types/root';
|
|
2
|
-
declare const promotion: (createOption: Function) => {
|
|
3
|
-
/**
|
|
4
|
-
* Coupon
|
|
5
|
-
*/
|
|
6
|
-
getCoupons(request: any): Promise<ResponseData<any>>;
|
|
7
|
-
getCouponsIssuable(request: any): Promise<ResponseData<any>>;
|
|
8
|
-
getCouponsSummary(request: any): Promise<ResponseData<any>>;
|
|
9
|
-
postCouponsRegisterCodePromotionCode(request: any): Promise<ResponseData<void>>;
|
|
10
|
-
postCouponsCouponNoDownload(request: any): Promise<ResponseData<any>>;
|
|
11
|
-
postCouponsEventsEventNoDownload(request: any): Promise<ResponseData<any>>;
|
|
12
|
-
postCouponsProductsProductNoDownload(request: any): Promise<ResponseData<any>>;
|
|
13
|
-
getCouponsProductsProductNoIssuableCoupons(request: any): Promise<ResponseData<any>>;
|
|
14
|
-
};
|
|
15
|
-
export default promotion;
|
package/build/src/promotion.js
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
var promotion = function (createOption) { return ({
|
|
2
|
-
/**
|
|
3
|
-
* Coupon
|
|
4
|
-
*/
|
|
5
|
-
getCoupons: function (request) {
|
|
6
|
-
var queryString = request.queryString;
|
|
7
|
-
return createOption({
|
|
8
|
-
method: 'GET',
|
|
9
|
-
url: '/coupons',
|
|
10
|
-
queryString: queryString,
|
|
11
|
-
});
|
|
12
|
-
},
|
|
13
|
-
getCouponsIssuable: function (request) {
|
|
14
|
-
return createOption({
|
|
15
|
-
method: 'GET',
|
|
16
|
-
url: '/coupons/issuable',
|
|
17
|
-
});
|
|
18
|
-
},
|
|
19
|
-
getCouponsSummary: function (request) {
|
|
20
|
-
var queryString = request.queryString;
|
|
21
|
-
return createOption({
|
|
22
|
-
method: 'GET',
|
|
23
|
-
url: '/coupons/summary',
|
|
24
|
-
queryString: queryString,
|
|
25
|
-
});
|
|
26
|
-
},
|
|
27
|
-
postCouponsRegisterCodePromotionCode: function (request) {
|
|
28
|
-
var promotionCode = request.pathVariable.promotionCode, requestBody = request.requestBody;
|
|
29
|
-
return createOption({
|
|
30
|
-
method: 'POST',
|
|
31
|
-
url: "/coupons/register-code/".concat(promotionCode),
|
|
32
|
-
requestBody: requestBody,
|
|
33
|
-
});
|
|
34
|
-
},
|
|
35
|
-
postCouponsCouponNoDownload: function (request) {
|
|
36
|
-
var couponNo = request.pathVariable.couponNo, requestBody = request.requestBody;
|
|
37
|
-
return createOption({
|
|
38
|
-
method: 'POST',
|
|
39
|
-
url: "/coupons/".concat(couponNo, "/download"),
|
|
40
|
-
requestBody: requestBody,
|
|
41
|
-
});
|
|
42
|
-
},
|
|
43
|
-
postCouponsEventsEventNoDownload: function (request) {
|
|
44
|
-
var eventNo = request.pathVariable.eventNo;
|
|
45
|
-
return createOption({
|
|
46
|
-
method: 'POST',
|
|
47
|
-
url: "/coupons/events/".concat(eventNo, "/download"),
|
|
48
|
-
});
|
|
49
|
-
},
|
|
50
|
-
postCouponsProductsProductNoDownload: function (request) {
|
|
51
|
-
var productNo = request.pathVariable.productNo;
|
|
52
|
-
return createOption({
|
|
53
|
-
method: 'POST',
|
|
54
|
-
url: "/coupons/products/".concat(productNo, "/download"),
|
|
55
|
-
});
|
|
56
|
-
},
|
|
57
|
-
getCouponsProductsProductNoIssuableCoupons: function (request) {
|
|
58
|
-
var productNo = request.pathVariable.productNo, queryString = request.queryString;
|
|
59
|
-
return createOption({
|
|
60
|
-
method: 'GET',
|
|
61
|
-
url: "/coupons/products/".concat(productNo, "/issuable/coupons"),
|
|
62
|
-
queryString: queryString,
|
|
63
|
-
});
|
|
64
|
-
},
|
|
65
|
-
}); };
|
|
66
|
-
export default promotion;
|
|
67
|
-
//# sourceMappingURL=promotion.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"promotion.js","sourceRoot":"","sources":["../../src/promotion.ts"],"names":[],"mappings":"AAEA,IAAM,SAAS,GAAG,UAAC,YAAsB,IAAK,OAAA,CAAC;IAC7C;;OAEG;IACH,UAAU,EAAV,UAAW,OAAY;QACd,IAAA,WAAW,GAAI,OAAO,YAAX,CAAY;QAE9B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AAM;YACd,GAAG,EAAE,4BAAqB,SAAS,cAAW;SAC/C,CAAC,CAAC;IACL,CAAC;IACD,0CAA0C,EAA1C,UACE,OAAY;QAGK,IAAA,SAAS,GAEtB,OAAO,uBAFe,EACxB,WAAW,GACT,OAAO,YADE,CACD;QAEZ,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,4BAAqB,SAAS,sBAAmB;YACtD,WAAW,aAAA;SACZ,CAAC,CAAC;IACL,CAAC;CACF,CAAC,EA1F4C,CA0F5C,CAAC;AAEH,eAAe,SAAS,CAAC"}
|
package/build/src/storage.d.ts
DELETED
package/build/src/storage.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
var storage = function (createOption) { return ({
|
|
2
|
-
/**
|
|
3
|
-
* Storage
|
|
4
|
-
*/
|
|
5
|
-
postFilesImages: function (request) {
|
|
6
|
-
var requestBody = request.requestBody;
|
|
7
|
-
return createOption({
|
|
8
|
-
method: 'POST',
|
|
9
|
-
url: '/files/images',
|
|
10
|
-
contentType: false,
|
|
11
|
-
processData: false,
|
|
12
|
-
requestBody: requestBody,
|
|
13
|
-
});
|
|
14
|
-
},
|
|
15
|
-
}); };
|
|
16
|
-
export default storage;
|
|
17
|
-
//# sourceMappingURL=storage.js.map
|
package/build/src/storage.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"storage.js","sourceRoot":"","sources":["../../src/storage.ts"],"names":[],"mappings":"AAEA,IAAM,OAAO,GAAG,UAAC,YAAsB,IAAK,OAAA,CAAC;IAC3C;;OAEG;IACH,eAAe,EAAf,UAAgB,OAAY;QACnB,IAAA,WAAW,GAAI,OAAO,YAAX,CAAY;QAC9B,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,eAAe;YACpB,WAAW,EAAE,KAAK;YAClB,WAAW,EAAE,KAAK;YAClB,WAAW,aAAA;SACZ,CAAC,CAAC;IACL,CAAC;CACF,CAAC,EAd0C,CAc1C,CAAC;AAEH,eAAe,OAAO,CAAC"}
|
package/build/types/admin.d.ts
DELETED
|
@@ -1,301 +0,0 @@
|
|
|
1
|
-
export interface Malls {
|
|
2
|
-
memberJoinConfig?: MallsMemberJoinConfig;
|
|
3
|
-
inquiryType?: MallsInquiryType[];
|
|
4
|
-
bankAccountInfo?: MallsBankAccountInfo;
|
|
5
|
-
bankType?: MallsBankType[];
|
|
6
|
-
orderStatusType?: MallsOrderStatusType[];
|
|
7
|
-
mall?: MallsMall;
|
|
8
|
-
claimReasonType?: MallsClaimReasonType[];
|
|
9
|
-
serviceBasicInfo?: MallsServiceBasicInfo;
|
|
10
|
-
termsConfig?: MallsTermsConfig;
|
|
11
|
-
openIdJoinConfig?: MallsOpenIdJoinConfig;
|
|
12
|
-
externalServiceConfig?: MallsExternalServiceConfig;
|
|
13
|
-
claimStatusType?: MallsClaimStatusType[];
|
|
14
|
-
cartConfig?: MallsCartConfig;
|
|
15
|
-
productReviewReportType?: MallsProductReviewReportType[];
|
|
16
|
-
productInquiryType?: MallsProductInquiryType[];
|
|
17
|
-
mallJoinConfig?: MallsMallJoinConfig;
|
|
18
|
-
accumulationConfig?: MallsAccumulationConfig;
|
|
19
|
-
categories?: MallsCategories;
|
|
20
|
-
bankAccountInfos?: MallsBankAccountInfos[];
|
|
21
|
-
boardsCategories?: MallsBoardsCategories[];
|
|
22
|
-
}
|
|
23
|
-
export interface MallsAccumulationConfig {
|
|
24
|
-
useExpireNotification?: boolean;
|
|
25
|
-
useSignUpAccumulation?: boolean;
|
|
26
|
-
adminMemo?: string;
|
|
27
|
-
accumulationUnit?: string;
|
|
28
|
-
accumulationGivePoint?: string;
|
|
29
|
-
accumulationRate?: number;
|
|
30
|
-
limitMaxRate?: boolean;
|
|
31
|
-
limitMinProductPrice?: boolean;
|
|
32
|
-
accumulationUseMinPrice?: number;
|
|
33
|
-
accumulationDisplayFormatType?: string;
|
|
34
|
-
reviewsAccumulationDetail?: MallsAccumulationConfigReviewsAccumulationDetail;
|
|
35
|
-
expireNotificationPoint?: number;
|
|
36
|
-
accumulationValidPeriod?: number;
|
|
37
|
-
useProductAccumulation?: boolean;
|
|
38
|
-
excludingReservePayAccumulation?: boolean;
|
|
39
|
-
limitMinPrice?: boolean;
|
|
40
|
-
accumulationUseMinProductPrice?: number;
|
|
41
|
-
signUpAccumulation?: number;
|
|
42
|
-
accumulationUseMaxRate?: number;
|
|
43
|
-
useReviewsAccumulation?: boolean;
|
|
44
|
-
productAccumulationBasisType?: string;
|
|
45
|
-
accumulationName?: number;
|
|
46
|
-
excludingReservePayCoupon?: boolean;
|
|
47
|
-
useMemberAccumulation?: boolean;
|
|
48
|
-
}
|
|
49
|
-
export interface MallsAccumulationConfigReviewsAccumulationDetail {
|
|
50
|
-
photoReviewsAccumulation?: number;
|
|
51
|
-
photoReviewsLength?: number;
|
|
52
|
-
reviewsLength?: number;
|
|
53
|
-
reviewsAccumulation?: number;
|
|
54
|
-
}
|
|
55
|
-
export interface MallsBankAccountInfo {
|
|
56
|
-
bankAccount?: string;
|
|
57
|
-
bankDepositorName?: string;
|
|
58
|
-
bankName?: string;
|
|
59
|
-
}
|
|
60
|
-
export interface MallsBankAccountInfos {
|
|
61
|
-
bankAccount?: string;
|
|
62
|
-
bankDepositorName?: string;
|
|
63
|
-
bankName?: string;
|
|
64
|
-
}
|
|
65
|
-
export interface MallsBankType {
|
|
66
|
-
kcpCode?: string;
|
|
67
|
-
code?: string;
|
|
68
|
-
name?: string;
|
|
69
|
-
value?: string;
|
|
70
|
-
}
|
|
71
|
-
export interface MallsBoardsCategories {
|
|
72
|
-
thumbnailUsed?: boolean;
|
|
73
|
-
replied?: boolean;
|
|
74
|
-
memberWrite?: boolean;
|
|
75
|
-
used?: boolean;
|
|
76
|
-
secreted?: boolean;
|
|
77
|
-
boardName?: string;
|
|
78
|
-
guestWrite?: boolean;
|
|
79
|
-
imageDisplayType?: string;
|
|
80
|
-
displayType?: string;
|
|
81
|
-
categoryUsed?: boolean;
|
|
82
|
-
attachmentUsed?: boolean;
|
|
83
|
-
boardId?: string;
|
|
84
|
-
categories?: MallsCategories1[];
|
|
85
|
-
boardNo?: number;
|
|
86
|
-
}
|
|
87
|
-
export interface MallsCartConfig {
|
|
88
|
-
storagePeriod?: number;
|
|
89
|
-
cartEquivalentOptionUnitType?: string;
|
|
90
|
-
storagePeriodNoLimit?: boolean;
|
|
91
|
-
storageMaxQuantity?: number;
|
|
92
|
-
}
|
|
93
|
-
export interface MallsCategories {
|
|
94
|
-
multiLevelCategories?: MallsCategoriesMultiLevelCategories[];
|
|
95
|
-
flatCategories?: MallsCategoriesFlatCategories[];
|
|
96
|
-
}
|
|
97
|
-
export interface MallsCategories1 {
|
|
98
|
-
categoryNo?: number;
|
|
99
|
-
label?: string;
|
|
100
|
-
}
|
|
101
|
-
export interface MallsCategoriesChildren {
|
|
102
|
-
depth?: number;
|
|
103
|
-
icon?: string;
|
|
104
|
-
categoryNo?: number;
|
|
105
|
-
label?: string;
|
|
106
|
-
content?: string;
|
|
107
|
-
}
|
|
108
|
-
export interface MallsCategoriesFlatCategories {
|
|
109
|
-
depth5CategoryNo?: number;
|
|
110
|
-
depth2DisplayOrder?: number;
|
|
111
|
-
depth3Icon?: string;
|
|
112
|
-
depth1DisplayOrder?: number;
|
|
113
|
-
depth3CategoryNo?: number;
|
|
114
|
-
depth2Icon?: string;
|
|
115
|
-
depth4Label?: string;
|
|
116
|
-
depth1Label?: string;
|
|
117
|
-
depth4Icon?: string;
|
|
118
|
-
depth2Label?: string;
|
|
119
|
-
depth5Label?: string;
|
|
120
|
-
depth5Icon?: string;
|
|
121
|
-
depth2CategoryNo?: number;
|
|
122
|
-
depth3Label?: string;
|
|
123
|
-
depth1CategoryNo?: number;
|
|
124
|
-
depth5Content?: string;
|
|
125
|
-
depth1Icon?: string;
|
|
126
|
-
fullCategoryName?: string;
|
|
127
|
-
depth5DisplayOrder?: number;
|
|
128
|
-
depth4DisplayOrder?: number;
|
|
129
|
-
depth3Content?: string;
|
|
130
|
-
depth4CategoryNo?: number;
|
|
131
|
-
depth2Content?: string;
|
|
132
|
-
depth1Content?: string;
|
|
133
|
-
depth4Content?: string;
|
|
134
|
-
depth3DisplayOrder?: number;
|
|
135
|
-
}
|
|
136
|
-
export interface MallsCategoriesMultiLevelCategories {
|
|
137
|
-
depth?: number;
|
|
138
|
-
children?: MallsCategoriesChildren[];
|
|
139
|
-
icon?: string;
|
|
140
|
-
categoryNo?: number;
|
|
141
|
-
label?: string;
|
|
142
|
-
content?: string;
|
|
143
|
-
}
|
|
144
|
-
export interface MallsClaimReasonType {
|
|
145
|
-
label?: string;
|
|
146
|
-
value?: string;
|
|
147
|
-
}
|
|
148
|
-
export interface MallsClaimStatusType {
|
|
149
|
-
label?: string;
|
|
150
|
-
value?: string;
|
|
151
|
-
}
|
|
152
|
-
export interface MallsExternalServiceConfig {
|
|
153
|
-
kakaoMap?: MallsExternalServiceConfigKakaoMap;
|
|
154
|
-
googleAnalytics?: string;
|
|
155
|
-
useScript?: boolean;
|
|
156
|
-
naverWebmaster?: string;
|
|
157
|
-
}
|
|
158
|
-
export interface MallsExternalServiceConfigKakaoMap {
|
|
159
|
-
kakaoMapLongitude?: string;
|
|
160
|
-
kakaoMapLatitude?: string;
|
|
161
|
-
kakaoMapKey?: string;
|
|
162
|
-
}
|
|
163
|
-
export interface MallsInquiryType {
|
|
164
|
-
inquiryTypeDescription?: string;
|
|
165
|
-
inquiryTypeNo?: number;
|
|
166
|
-
inquiryTypeName?: string;
|
|
167
|
-
}
|
|
168
|
-
export interface MallsMall {
|
|
169
|
-
godoSno?: string;
|
|
170
|
-
mallName?: string;
|
|
171
|
-
introRedirection?: MallsMallIntroRedirection;
|
|
172
|
-
countryCode?: string;
|
|
173
|
-
createdDateTime?: string;
|
|
174
|
-
grades?: MallsMallGrades[];
|
|
175
|
-
serviceCenter?: MallsMallServiceCenter;
|
|
176
|
-
escrowLogo?: MallsMallEscrowLogo;
|
|
177
|
-
url?: MallsMallUrl;
|
|
178
|
-
}
|
|
179
|
-
export interface MallsMallCoupons {
|
|
180
|
-
issueType?: string;
|
|
181
|
-
maximumDiscountAmount?: number;
|
|
182
|
-
couponName?: string;
|
|
183
|
-
discountPercent?: number;
|
|
184
|
-
discountAmount?: number;
|
|
185
|
-
discountType?: string;
|
|
186
|
-
couponNo?: number;
|
|
187
|
-
}
|
|
188
|
-
export interface MallsMallEscrowLogo {
|
|
189
|
-
logoHtml?: string;
|
|
190
|
-
pgType?: string;
|
|
191
|
-
exposure?: boolean;
|
|
192
|
-
}
|
|
193
|
-
export interface MallsMallEvaluationCondition {
|
|
194
|
-
minimumPayment?: number;
|
|
195
|
-
minimumCount?: number;
|
|
196
|
-
}
|
|
197
|
-
export interface MallsMallGrades {
|
|
198
|
-
reserveAutoSupplying?: MallsMallReserveAutoSupplying;
|
|
199
|
-
evaluationCondition?: MallsMallEvaluationCondition;
|
|
200
|
-
coupons?: MallsMallCoupons[];
|
|
201
|
-
description?: string;
|
|
202
|
-
label?: string;
|
|
203
|
-
used?: boolean;
|
|
204
|
-
reserveBenefit?: MallsMallReserveBenefit;
|
|
205
|
-
}
|
|
206
|
-
export interface MallsMallIntroRedirection {
|
|
207
|
-
pc?: string;
|
|
208
|
-
mobile?: string;
|
|
209
|
-
}
|
|
210
|
-
export interface MallsMallJoinConfig {
|
|
211
|
-
authenticationType?: string;
|
|
212
|
-
authenticationTimeType?: string;
|
|
213
|
-
}
|
|
214
|
-
export interface MallsMallReserveAutoSupplying {
|
|
215
|
-
amount?: number;
|
|
216
|
-
used?: boolean;
|
|
217
|
-
type?: string;
|
|
218
|
-
}
|
|
219
|
-
export interface MallsMallReserveBenefit {
|
|
220
|
-
reserveRate?: number;
|
|
221
|
-
used?: boolean;
|
|
222
|
-
}
|
|
223
|
-
export interface MallsMallServiceCenter {
|
|
224
|
-
phoneNo?: string;
|
|
225
|
-
email?: string;
|
|
226
|
-
}
|
|
227
|
-
export interface MallsMallUrl {
|
|
228
|
-
pc?: string;
|
|
229
|
-
android?: string;
|
|
230
|
-
mobile?: string;
|
|
231
|
-
ios?: string;
|
|
232
|
-
}
|
|
233
|
-
export interface MallsMemberJoinConfig {
|
|
234
|
-
birthday?: string;
|
|
235
|
-
password?: string;
|
|
236
|
-
address?: string;
|
|
237
|
-
nationality?: string;
|
|
238
|
-
sex?: string;
|
|
239
|
-
nickname?: string;
|
|
240
|
-
memberName?: string;
|
|
241
|
-
mobileNo?: string;
|
|
242
|
-
phoneNo?: string;
|
|
243
|
-
email?: string;
|
|
244
|
-
memberId?: string;
|
|
245
|
-
}
|
|
246
|
-
export interface MallsOpenIdJoinConfig {
|
|
247
|
-
authenticationType?: string;
|
|
248
|
-
authenticationTimeType?: string;
|
|
249
|
-
providers?: (object | boolean | string | number)[];
|
|
250
|
-
}
|
|
251
|
-
export interface MallsOrderStatusType {
|
|
252
|
-
label?: string;
|
|
253
|
-
value?: string;
|
|
254
|
-
}
|
|
255
|
-
export interface MallsProductInquiryType {
|
|
256
|
-
label?: string;
|
|
257
|
-
value?: string;
|
|
258
|
-
}
|
|
259
|
-
export interface MallsProductReviewReportType {
|
|
260
|
-
label?: string;
|
|
261
|
-
value?: string;
|
|
262
|
-
}
|
|
263
|
-
export interface MallsServiceBasicInfo {
|
|
264
|
-
address?: string;
|
|
265
|
-
representEmail?: string;
|
|
266
|
-
companyName?: string;
|
|
267
|
-
privacyManagerName?: string;
|
|
268
|
-
jibunAddress?: string;
|
|
269
|
-
onlineMarketingBusinessDeclarationNo?: string;
|
|
270
|
-
businessCondition?: string;
|
|
271
|
-
zipCd?: string;
|
|
272
|
-
addressDetail?: string;
|
|
273
|
-
faxNo?: string;
|
|
274
|
-
privacyManagerPhoneNo?: string;
|
|
275
|
-
businessRegistrationNo?: string;
|
|
276
|
-
representPhoneNo?: string;
|
|
277
|
-
businessType?: string;
|
|
278
|
-
plan?: string;
|
|
279
|
-
jibunAddressDetail?: string;
|
|
280
|
-
representativeName?: string;
|
|
281
|
-
}
|
|
282
|
-
export interface MallsTermsConfig {
|
|
283
|
-
fairLogoUsed?: boolean;
|
|
284
|
-
fairLogoUrl?: string;
|
|
285
|
-
}
|
|
286
|
-
export interface MallsPartnersResponse {
|
|
287
|
-
partnerNo: number;
|
|
288
|
-
ownerName: string;
|
|
289
|
-
faxNo: string;
|
|
290
|
-
partnerName: string;
|
|
291
|
-
officeAddressLabel: string;
|
|
292
|
-
companyName: string;
|
|
293
|
-
businessRegistrationNo: string;
|
|
294
|
-
onlineMarketingBusinessDeclarationNo: string;
|
|
295
|
-
email: string;
|
|
296
|
-
phoneNo: string;
|
|
297
|
-
}
|
|
298
|
-
export interface MallsSslResponse {
|
|
299
|
-
domain: string;
|
|
300
|
-
trustSeal: string;
|
|
301
|
-
}
|
package/build/types/admin.js
DELETED
package/build/types/admin.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"admin.js","sourceRoot":"","sources":["../../types/admin.ts"],"names":[],"mappings":""}
|