@shopby/shop-sdk 1.0.0

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.
Files changed (56) hide show
  1. package/README.md +1 -0
  2. package/build/src/admin.d.ts +11 -0
  3. package/build/src/admin.js +25 -0
  4. package/build/src/admin.js.map +1 -0
  5. package/build/src/auth.d.ts +36 -0
  6. package/build/src/auth.js +163 -0
  7. package/build/src/auth.js.map +1 -0
  8. package/build/src/claim.d.ts +36 -0
  9. package/build/src/claim.js +209 -0
  10. package/build/src/claim.js.map +1 -0
  11. package/build/src/display.d.ts +68 -0
  12. package/build/src/display.js +309 -0
  13. package/build/src/display.js.map +1 -0
  14. package/build/src/index.d.ts +7 -0
  15. package/build/src/index.js +69 -0
  16. package/build/src/index.js.map +1 -0
  17. package/build/src/manage.d.ts +50 -0
  18. package/build/src/manage.js +209 -0
  19. package/build/src/manage.js.map +1 -0
  20. package/build/src/marketing.d.ts +7 -0
  21. package/build/src/marketing.js +13 -0
  22. package/build/src/marketing.js.map +1 -0
  23. package/build/src/member.d.ts +51 -0
  24. package/build/src/member.js +271 -0
  25. package/build/src/member.js.map +1 -0
  26. package/build/src/order.d.ts +110 -0
  27. package/build/src/order.js +487 -0
  28. package/build/src/order.js.map +1 -0
  29. package/build/src/product.d.ts +41 -0
  30. package/build/src/product.js +175 -0
  31. package/build/src/product.js.map +1 -0
  32. package/build/src/promotion.d.ts +15 -0
  33. package/build/src/promotion.js +67 -0
  34. package/build/src/promotion.js.map +1 -0
  35. package/build/src/storage.d.ts +7 -0
  36. package/build/src/storage.js +17 -0
  37. package/build/src/storage.js.map +1 -0
  38. package/build/types/admin.d.ts +301 -0
  39. package/build/types/admin.js +2 -0
  40. package/build/types/admin.js.map +1 -0
  41. package/build/types/auth.d.ts +118 -0
  42. package/build/types/auth.js +2 -0
  43. package/build/types/auth.js.map +1 -0
  44. package/build/types/manage.d.ts +15 -0
  45. package/build/types/manage.js +2 -0
  46. package/build/types/manage.js.map +1 -0
  47. package/build/types/member.d.ts +1 -0
  48. package/build/types/member.js +2 -0
  49. package/build/types/member.js.map +1 -0
  50. package/build/types/product.d.ts +20 -0
  51. package/build/types/product.js +2 -0
  52. package/build/types/product.js.map +1 -0
  53. package/build/types/root.d.ts +296 -0
  54. package/build/types/root.js +2 -0
  55. package/build/types/root.js.map +1 -0
  56. package/package.json +35 -0
@@ -0,0 +1,175 @@
1
+ const product = (createOption) => ({
2
+ /**
3
+ * Display
4
+ */
5
+ getDisplayBrands(request) {
6
+ const { queryString } = request;
7
+ return createOption({
8
+ method: 'GET',
9
+ url: '/display/brands',
10
+ queryString,
11
+ });
12
+ },
13
+ getDisplayBrandsBrandNo(request) {
14
+ const { pathVariable: { brandNo }, } = request;
15
+ return createOption({
16
+ method: 'GET',
17
+ url: `/display/brands/${brandNo}`,
18
+ });
19
+ },
20
+ /**
21
+ * Products
22
+ */
23
+ getGuestRecentProducts(request) {
24
+ const { queryString } = request;
25
+ return createOption({
26
+ method: 'GET',
27
+ url: '/guest/recent-products',
28
+ queryString,
29
+ });
30
+ },
31
+ getProductsSearch(request) {
32
+ const { queryString } = request;
33
+ return createOption({
34
+ method: 'GET',
35
+ url: '/products/search',
36
+ queryString,
37
+ });
38
+ },
39
+ getProductsBestReviewSearch(request) {
40
+ const { queryString } = request;
41
+ return createOption({
42
+ method: 'GET',
43
+ url: '/products/best-review/search',
44
+ queryString,
45
+ });
46
+ },
47
+ getProductsBestSellerSearch(request) {
48
+ const { queryString } = request;
49
+ return createOption({
50
+ method: 'GET',
51
+ url: '/products/best-seller/search',
52
+ queryString,
53
+ });
54
+ },
55
+ getProfileRecentProducts(request) {
56
+ const { queryString } = request;
57
+ return createOption({
58
+ method: 'GET',
59
+ url: '/profile/recent-products',
60
+ queryString,
61
+ });
62
+ },
63
+ postProfileRecentProducts(request) {
64
+ const { requestBody } = request;
65
+ return createOption({
66
+ method: 'POST',
67
+ url: '/profile/recent-products',
68
+ requestBody,
69
+ });
70
+ },
71
+ deleteProfileRecentProducts(request) {
72
+ return createOption({
73
+ method: 'DELETE',
74
+ url: '/profile/recent-products',
75
+ });
76
+ },
77
+ /**
78
+ * Product
79
+ */
80
+ getProductsFavoriteKeywords(request) {
81
+ const { queryString } = request;
82
+ return createOption({
83
+ method: 'GET',
84
+ url: '/products/favoriteKeywords',
85
+ queryString,
86
+ });
87
+ },
88
+ getProductsOptions(request) {
89
+ const { queryString } = request;
90
+ return createOption({
91
+ method: 'GET',
92
+ url: '/products/options',
93
+ queryString,
94
+ });
95
+ },
96
+ getProductsProductNo(request) {
97
+ const { pathVariable: { productNo }, } = request;
98
+ return createOption({
99
+ method: 'GET',
100
+ url: `/products/${productNo}`,
101
+ });
102
+ },
103
+ getProductsProductNoDisplayCategories(request) {
104
+ const { pathVariable: { productNo }, } = request;
105
+ return createOption({
106
+ method: 'GET',
107
+ url: `/products/${productNo}/display-categories`,
108
+ });
109
+ },
110
+ getProductsProductNoOptions(request) {
111
+ const { pathVariable: { productNo }, } = request;
112
+ return createOption({
113
+ method: 'GET',
114
+ url: `/products/${productNo}/options`,
115
+ });
116
+ },
117
+ getProductsProductNoRelatedProducts(request) {
118
+ const { pathVariable: { productNo }, } = request;
119
+ return createOption({
120
+ method: 'GET',
121
+ url: `/products/${productNo}/related-products`,
122
+ });
123
+ },
124
+ getProductsProductNoOptionsImages(request) {
125
+ const { pathVariable: { productNo }, } = request;
126
+ return createOption({
127
+ method: 'GET',
128
+ url: `/products/${productNo}/options/images`,
129
+ });
130
+ },
131
+ getProductsProductNoOptionsOptionNoImages(request) {
132
+ const { pathVariable: { productNo, optionNo }, } = request;
133
+ return createOption({
134
+ method: 'GET',
135
+ url: `/products/${productNo}/options/${optionNo}/images`,
136
+ });
137
+ },
138
+ /**
139
+ * Profile
140
+ */
141
+ getProfileLikeProducts(request) {
142
+ const { queryString } = request;
143
+ return createOption({
144
+ method: 'GET',
145
+ url: '/profile/like-products',
146
+ queryString,
147
+ });
148
+ },
149
+ postProfileLikeProducts(request) {
150
+ const { requestBody } = request;
151
+ return createOption({
152
+ method: 'POST',
153
+ url: '/profile/like-products',
154
+ requestBody,
155
+ });
156
+ },
157
+ /**
158
+ * Shopby
159
+ */
160
+ getShopbyProductsDisplay(request) {
161
+ return createOption({
162
+ method: 'GET',
163
+ url: '/shopby/products/display',
164
+ });
165
+ },
166
+ getShopbyProductsProductNoUrlShortening(request) {
167
+ const { pathVariable: { productNo }, } = request;
168
+ return createOption({
169
+ method: 'GET',
170
+ url: `/shopby/products/${productNo}/url-shortening`,
171
+ });
172
+ },
173
+ });
174
+ export default product;
175
+ //# sourceMappingURL=product.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"product.js","sourceRoot":"","sources":["../../src/product.ts"],"names":[],"mappings":"AAQA,MAAM,OAAO,GAAG,CAAC,YAAsB,EAAE,EAAE,CAAC,CAAC;IAC3C;;OAEG;IACH,gBAAgB,CAAC,OAAY;QAC3B,MAAM,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;IACD,uBAAuB,CAAC,OAAY;QAClC,MAAM,EACJ,YAAY,EAAE,EAAC,OAAO,EAAC,GACxB,GAAG,OAAO,CAAC;QAEZ,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,mBAAmB,OAAO,EAAE;SAClC,CAAC,CAAC;IACL,CAAC;IACD;;OAEG;IACH,sBAAsB,CACpB,OAAsC;QAEtC,MAAM,EAAC,WAAW,EAAC,GAAG,OAAO,CAAC;QAE9B,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,wBAAwB;YAC7B,WAAW;SACZ,CAAC,CAAC;IACL,CAAC;IACD,iBAAiB,CAAC,OAAY;QAC5B,MAAM,EAAC,WAAW,EAAC,GAAG,OAAO,CAAC;QAE9B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;IACD,yCAAyC,CACvC,OAAY;QAEZ,MAAM,EACJ,YAAY,EAAE,EAAC,SAAS,EAAE,QAAQ,EAAC,GACpC,GAAG,OAAO,CAAC;QAEZ,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,aAAa,SAAS,YAAY,QAAQ,SAAS;SACzD,CAAC,CAAC;IACL,CAAC;IACD;;OAEG;IACH,sBAAsB,CAAC,OAAY;QACjC,MAAM,EAAC,WAAW,EAAC,GAAG,OAAO,CAAC;QAE9B,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,wBAAwB;YAC7B,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;;OAEG;IACH,wBAAwB,CAAC,OAAY;QACnC,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,0BAA0B;SAChC,CAAC,CAAC;IACL,CAAC;IACD,uCAAuC,CACrC,OAAY;QAEZ,MAAM,EACJ,YAAY,EAAE,EAAC,SAAS,EAAC,GAC1B,GAAG,OAAO,CAAC;QAEZ,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,oBAAoB,SAAS,iBAAiB;SACpD,CAAC,CAAC;IACL,CAAC;CACF,CAAC,CAAC;AAEH,eAAe,OAAO,CAAC"}
@@ -0,0 +1,15 @@
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;
@@ -0,0 +1,67 @@
1
+ const promotion = (createOption) => ({
2
+ /**
3
+ * Coupon
4
+ */
5
+ getCoupons(request) {
6
+ const { queryString } = request;
7
+ return createOption({
8
+ method: 'GET',
9
+ url: '/coupons',
10
+ queryString,
11
+ });
12
+ },
13
+ getCouponsIssuable(request) {
14
+ return createOption({
15
+ method: 'GET',
16
+ url: '/coupons/issuable',
17
+ });
18
+ },
19
+ getCouponsSummary(request) {
20
+ const { queryString } = request;
21
+ return createOption({
22
+ method: 'GET',
23
+ url: '/coupons/summary',
24
+ queryString,
25
+ });
26
+ },
27
+ postCouponsRegisterCodePromotionCode(request) {
28
+ const { pathVariable: { promotionCode }, requestBody, } = request;
29
+ return createOption({
30
+ method: 'POST',
31
+ url: `/coupons/register-code/${promotionCode}`,
32
+ requestBody,
33
+ });
34
+ },
35
+ postCouponsCouponNoDownload(request) {
36
+ const { pathVariable: { couponNo }, requestBody, } = request;
37
+ return createOption({
38
+ method: 'POST',
39
+ url: `/coupons/${couponNo}/download`,
40
+ requestBody,
41
+ });
42
+ },
43
+ postCouponsEventsEventNoDownload(request) {
44
+ const { pathVariable: { eventNo }, } = request;
45
+ return createOption({
46
+ method: 'POST',
47
+ url: `/coupons/events/${eventNo}/download`,
48
+ });
49
+ },
50
+ postCouponsProductsProductNoDownload(request) {
51
+ const { pathVariable: { productNo }, } = request;
52
+ return createOption({
53
+ method: 'POST',
54
+ url: `/coupons/products/${productNo}/download`,
55
+ });
56
+ },
57
+ getCouponsProductsProductNoIssuableCoupons(request) {
58
+ const { pathVariable: { productNo }, queryString, } = request;
59
+ return createOption({
60
+ method: 'GET',
61
+ url: `/coupons/products/${productNo}/issuable/coupons`,
62
+ queryString,
63
+ });
64
+ },
65
+ });
66
+ export default promotion;
67
+ //# sourceMappingURL=promotion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promotion.js","sourceRoot":"","sources":["../../src/promotion.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAG,CAAC,YAAsB,EAAE,EAAE,CAAC,CAAC;IAC7C;;OAEG;IACH,UAAU,CAAC,OAAY;QACrB,MAAM,EAAC,WAAW,EAAC,GAAG,OAAO,CAAC;QAE9B,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,UAAU;YACf,WAAW;SACZ,CAAC,CAAC;IACL,CAAC;IACD,kBAAkB,CAAC,OAAY;QAC7B,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,mBAAmB;SACzB,CAAC,CAAC;IACL,CAAC;IACD,iBAAiB,CAAC,OAAY;QAC5B,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,oCAAoC,CAClC,OAAY;QAEZ,MAAM,EACJ,YAAY,EAAE,EAAC,aAAa,EAAC,EAC7B,WAAW,GACZ,GAAG,OAAO,CAAC;QAEZ,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,0BAA0B,aAAa,EAAE;YAC9C,WAAW;SACZ,CAAC,CAAC;IACL,CAAC;IACD,2BAA2B,CAAC,OAAY;QACtC,MAAM,EACJ,YAAY,EAAE,EAAC,QAAQ,EAAC,EACxB,WAAW,GACZ,GAAG,OAAO,CAAC;QAEZ,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,YAAY,QAAQ,WAAW;YACpC,WAAW;SACZ,CAAC,CAAC;IACL,CAAC;IACD,gCAAgC,CAAC,OAAY;QAC3C,MAAM,EACJ,YAAY,EAAE,EAAC,OAAO,EAAC,GACxB,GAAG,OAAO,CAAC;QAEZ,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,mBAAmB,OAAO,WAAW;SAC3C,CAAC,CAAC;IACL,CAAC;IACD,oCAAoC,CAClC,OAAY;QAEZ,MAAM,EACJ,YAAY,EAAE,EAAC,SAAS,EAAC,GAC1B,GAAG,OAAO,CAAC;QAEZ,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,qBAAqB,SAAS,WAAW;SAC/C,CAAC,CAAC;IACL,CAAC;IACD,0CAA0C,CACxC,OAAY;QAEZ,MAAM,EACJ,YAAY,EAAE,EAAC,SAAS,EAAC,EACzB,WAAW,GACZ,GAAG,OAAO,CAAC;QAEZ,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,qBAAqB,SAAS,mBAAmB;YACtD,WAAW;SACZ,CAAC,CAAC;IACL,CAAC;CACF,CAAC,CAAC;AAEH,eAAe,SAAS,CAAC"}
@@ -0,0 +1,7 @@
1
+ declare const storage: (createOption: Function) => {
2
+ /**
3
+ * Storage
4
+ */
5
+ postFilesImages(request: any): any;
6
+ };
7
+ export default storage;
@@ -0,0 +1,17 @@
1
+ const storage = (createOption) => ({
2
+ /**
3
+ * Storage
4
+ */
5
+ postFilesImages(request) {
6
+ const { requestBody } = request;
7
+ return createOption({
8
+ method: 'POST',
9
+ url: '/files/images',
10
+ contentType: false,
11
+ processData: false,
12
+ requestBody,
13
+ });
14
+ },
15
+ });
16
+ export default storage;
17
+ //# sourceMappingURL=storage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storage.js","sourceRoot":"","sources":["../../src/storage.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,GAAG,CAAC,YAAsB,EAAE,EAAE,CAAC,CAAC;IAC3C;;OAEG;IACH,eAAe,CAAC,OAAY;QAC1B,MAAM,EAAC,WAAW,EAAC,GAAG,OAAO,CAAC;QAC9B,OAAO,YAAY,CAAC;YAClB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,eAAe;YACpB,WAAW,EAAE,KAAK;YAClB,WAAW,EAAE,KAAK;YAClB,WAAW;SACZ,CAAC,CAAC;IACL,CAAC;CACF,CAAC,CAAC;AAEH,eAAe,OAAO,CAAC"}
@@ -0,0 +1,301 @@
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
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=admin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"admin.js","sourceRoot":"","sources":["../../types/admin.ts"],"names":[],"mappings":""}