@shopby/shop-sdk 1.30.4 → 1.31.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.
- package/CHANGELOG.md +16 -0
- package/build/src/common/maps/index.d.ts +5 -0
- package/build/src/common/maps/index.js +5 -0
- package/build/src/common/maps/index.js.map +1 -1
- package/build/src/domain/admin/index.d.ts +2 -2
- package/build/src/domain/display/maps/index.d.ts +14 -0
- package/build/src/domain/display/maps/index.js +14 -0
- package/build/src/domain/display/maps/index.js.map +1 -1
- package/build/src/index.d.ts +1 -1
- package/build/types/common/unions.d.ts +2 -3
- package/build/types/domain/admin/index.d.ts +1 -1
- package/build/types/domain/claim/index.js.map +1 -1
- package/build/types/domain/display/index.d.ts +134 -73
- package/build/types/domain/display/index.js.map +1 -1
- package/build/types/domain/display/unions.d.ts +5 -1
- package/build/types/domain/manage/index.d.ts +5 -5
- package/build/types/domain/manage/index.js.map +1 -1
- package/build/types/domain/product/index.d.ts +3 -3
- package/build/types/domain/product/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [1.31.0](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.30.6...v1.31.0) (2023-01-16)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* 상품 리뷰 조회 타입 정의 ([9032e96](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/9032e969be5ea33a339750cfd05888833a3629ea))
|
|
11
|
+
|
|
12
|
+
### [1.30.6](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.30.5...v1.30.6) (2023-01-16)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* 빌드 오류 수정 ([f1baac0](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/f1baac06c9c5e0205b79bb44c861756a4b4af038))
|
|
18
|
+
|
|
19
|
+
### [1.30.5](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.30.4...v1.30.5) (2023-01-16)
|
|
20
|
+
|
|
5
21
|
### [1.30.4](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.30.3...v1.30.4) (2023-01-13)
|
|
6
22
|
|
|
7
23
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/common/maps/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/common/maps/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AAEvB,MAAM,CAAC,IAAM,iBAAiB,GAAG;IAC/B,EAAE,EAAE,IAAI;IACR,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,YAAY;CAChB,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ResponseData } from '../../../types/http';
|
|
2
|
-
import {
|
|
2
|
+
import { Mall, MallsPartnersResponse, MallsSslResponse } from '../../../types/domain/admin';
|
|
3
3
|
declare const admin: (httpRequest: Function) => {
|
|
4
4
|
/**
|
|
5
5
|
* Mall
|
|
6
6
|
*/
|
|
7
|
-
getMalls(): Promise<ResponseData<
|
|
7
|
+
getMalls(): Promise<ResponseData<Mall>>;
|
|
8
8
|
getMallsPartners(): Promise<ResponseData<MallsPartnersResponse[]>>;
|
|
9
9
|
getMallsSsl(): Promise<ResponseData<MallsSslResponse[]>>;
|
|
10
10
|
};
|
|
@@ -28,3 +28,17 @@ export declare const SEARCH_TYPE_MAP: {
|
|
|
28
28
|
PRODUCT_NAME: string;
|
|
29
29
|
ALL: string;
|
|
30
30
|
};
|
|
31
|
+
export declare const BEST_REVIEW_MAP: {
|
|
32
|
+
readonly Y: "Y";
|
|
33
|
+
readonly N: "N";
|
|
34
|
+
};
|
|
35
|
+
export declare const REVIEW_ORDER_DIRECTION_MAP: {
|
|
36
|
+
readonly ASC: "ASC";
|
|
37
|
+
readonly DESC: "DESC";
|
|
38
|
+
};
|
|
39
|
+
export declare const REVIEW_ORDER_BY_MAP: {
|
|
40
|
+
readonly RECOMMEND: "RECOMMEND";
|
|
41
|
+
readonly REGISTER_YMDT: "REGISTER_YMDT";
|
|
42
|
+
readonly RATING: "RATING";
|
|
43
|
+
readonly BEST_REVIEW: "BEST_REVIEW";
|
|
44
|
+
};
|
|
@@ -28,4 +28,18 @@ export var SEARCH_TYPE_MAP = {
|
|
|
28
28
|
PRODUCT_NAME: "상품몀",
|
|
29
29
|
ALL: "전체",
|
|
30
30
|
};
|
|
31
|
+
export var BEST_REVIEW_MAP = {
|
|
32
|
+
Y: 'Y',
|
|
33
|
+
N: 'N', // 일반상품평
|
|
34
|
+
};
|
|
35
|
+
export var REVIEW_ORDER_DIRECTION_MAP = {
|
|
36
|
+
ASC: 'ASC',
|
|
37
|
+
DESC: 'DESC' // 내림차순
|
|
38
|
+
};
|
|
39
|
+
export var REVIEW_ORDER_BY_MAP = {
|
|
40
|
+
RECOMMEND: 'RECOMMEND',
|
|
41
|
+
REGISTER_YMDT: 'REGISTER_YMDT',
|
|
42
|
+
RATING: 'RATING',
|
|
43
|
+
BEST_REVIEW: 'BEST_REVIEW', // 베스트리뷰순
|
|
44
|
+
};
|
|
31
45
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/display/maps/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,wBAAwB,GAAG;IACpC,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE,IAAI;CACd,CAAA;AAED,MAAM,CAAC,IAAM,iBAAiB,GAAG;IAC7B,KAAK,EAAE,KAAK;IACZ,KAAK,EAAE,KAAK;IACZ,KAAK,EAAE,KAAK;IACZ,QAAQ,EAAE,MAAM;IAChB,SAAS,EAAE,OAAO;IAClB,QAAQ,EAAE,OAAO;IACjB,MAAM,EAAE,SAAS;IACjB,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,IAAI;IACV,QAAQ,EAAE,QAAQ;CACrB,CAAA;AAED,MAAM,CAAC,IAAM,uBAAuB,GAAG;IACnC,OAAO,EAAE,KAAK;IACd,KAAK,EAAE,MAAM;CAChB,CAAA;AAED,MAAM,CAAC,IAAM,eAAe,GAAG;IAC3B,OAAO,EAAE,IAAI;IACb,YAAY,EAAE,KAAK;IACnB,GAAG,EAAE,IAAI;CACZ,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/display/maps/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,wBAAwB,GAAG;IACpC,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE,IAAI;CACd,CAAA;AAED,MAAM,CAAC,IAAM,iBAAiB,GAAG;IAC7B,KAAK,EAAE,KAAK;IACZ,KAAK,EAAE,KAAK;IACZ,KAAK,EAAE,KAAK;IACZ,QAAQ,EAAE,MAAM;IAChB,SAAS,EAAE,OAAO;IAClB,QAAQ,EAAE,OAAO;IACjB,MAAM,EAAE,SAAS;IACjB,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,IAAI;IACV,QAAQ,EAAE,QAAQ;CACrB,CAAA;AAED,MAAM,CAAC,IAAM,uBAAuB,GAAG;IACnC,OAAO,EAAE,KAAK;IACd,KAAK,EAAE,MAAM;CAChB,CAAA;AAED,MAAM,CAAC,IAAM,eAAe,GAAG;IAC3B,OAAO,EAAE,IAAI;IACb,YAAY,EAAE,KAAK;IACnB,GAAG,EAAE,IAAI;CACZ,CAAA;AAED,MAAM,CAAC,IAAM,eAAe,GAAG;IAC3B,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG,EAAE,QAAQ;CACV,CAAC;AAEX,MAAM,CAAC,IAAM,0BAA0B,GAAG;IACtC,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM,CAAC,OAAO;CACd,CAAC;AAEX,MAAM,CAAC,IAAM,mBAAmB,GAAG;IAC/B,SAAS,EAAE,WAAW;IACtB,aAAa,EAAE,eAAe;IAC9B,MAAM,EAAE,QAAQ;IAChB,WAAW,EAAE,aAAa,EAAE,SAAS;CAC/B,CAAC"}
|
package/build/src/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CreateOptions, RequestOption } from '../types/http';
|
|
2
2
|
export declare const create: ({ baseURL, headerOption, customHttpRequest, version, }: CreateOptions) => {
|
|
3
3
|
admin: {
|
|
4
|
-
getMalls(): Promise<import("../types/http").ResponseData<import("../types").
|
|
4
|
+
getMalls(): Promise<import("../types/http").ResponseData<import("../types").Mall>>;
|
|
5
5
|
getMallsPartners(): Promise<import("../types/http").ResponseData<import("../types").MallsPartnersResponse[]>>;
|
|
6
6
|
getMallsSsl(): Promise<import("../types/http").ResponseData<import("../types").MallsSslResponse[]>>;
|
|
7
7
|
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
export declare type Yn = 'Y' | 'N';
|
|
2
2
|
import { AGREEMENT_TYPE_MAP } from './../../src';
|
|
3
|
-
export declare type
|
|
4
|
-
export declare type
|
|
5
|
-
export declare type DirectionTypes = 'ASC' | 'DESC';
|
|
3
|
+
export declare type PageType = 'MAIN' | 'COMMON_HEAD' | 'COMMON_FOOTER' | 'PRODUCT' | 'CART' | 'ORDER' | 'ORDER_COMPLETE';
|
|
4
|
+
export declare type InquirySearchType = 'ALL' | 'title' | 'content' | 'writer';
|
|
6
5
|
export declare type InquiryStatus = 'ISSUED' | 'ANSWERED' | 'IN_PROGRESS' | 'ASKED';
|
|
7
6
|
export declare type OrderByType = 'ADMIN_SETTING' | 'SALE' | 'LOW_PRICE' | 'HIGH_PRICE' | 'REVIEW' | 'REGISTER';
|
|
8
7
|
export declare type SaleStatusType = 'READY_ONSALE' | 'ONSALE' | 'RESERVATION_AND_ONSALE';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/domain/claim/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/domain/claim/index.ts"],"names":[],"mappings":"AAiCA,cAAc,UAAU,CAAC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { RequestConfig } from '../../http';
|
|
2
|
-
import { BannerGroupCode, OrderByType, SaleStatusType, SectionDisplayType } from '../../common/unions';
|
|
3
|
-
import { ProductInquiryType, ProviderType, DisplayStatusType, SearchType } from './unions';
|
|
1
|
+
import { OptionalAccessTokenRequest, RequestConfig } from '../../http';
|
|
2
|
+
import { BannerGroupCode, OrderByType, SaleStatusType, SectionDisplayType, Yn } from '../../common/unions';
|
|
3
|
+
import { ProductInquiryType, ProviderType, DisplayStatusType, SearchType, ReviewOrderByType, ReviewOrderDirectionType, BestReviewType, PlatformType } from './unions';
|
|
4
4
|
import { Space, SpaceMappingResult } from './space';
|
|
5
|
+
import { Nullable } from 'types/common';
|
|
6
|
+
import { DefaultOrderStatusType, OrderOptionType } from 'types';
|
|
5
7
|
export * from './space';
|
|
6
8
|
export * from './unions';
|
|
7
9
|
export interface GetCategoriesRequest extends RequestConfig {
|
|
@@ -10,10 +12,10 @@ export interface GetCategoriesRequest extends RequestConfig {
|
|
|
10
12
|
};
|
|
11
13
|
}
|
|
12
14
|
export interface CategoriesResponse {
|
|
13
|
-
multiLevelCategories?: Array<
|
|
14
|
-
flatCategories?: Array<
|
|
15
|
+
multiLevelCategories?: Array<MultiLevelCategory>;
|
|
16
|
+
flatCategories?: Array<FlatCategory>;
|
|
15
17
|
}
|
|
16
|
-
export interface
|
|
18
|
+
export interface FlatCategory {
|
|
17
19
|
depth5CategoryNo?: number;
|
|
18
20
|
depth2DisplayOrder?: number;
|
|
19
21
|
depth3Icon?: string;
|
|
@@ -41,31 +43,31 @@ export interface CategoriesFlatCategories {
|
|
|
41
43
|
depth4Content?: string;
|
|
42
44
|
depth3DisplayOrder?: number;
|
|
43
45
|
}
|
|
44
|
-
export interface
|
|
46
|
+
export interface MultiLevelCategory {
|
|
45
47
|
depth?: number;
|
|
46
|
-
children?: Array<
|
|
48
|
+
children?: Array<MultiLevelCategory>;
|
|
47
49
|
icon?: string;
|
|
48
50
|
categoryNo?: number;
|
|
49
51
|
label?: string;
|
|
50
52
|
content?: string;
|
|
51
53
|
}
|
|
52
54
|
export interface CategoriesCategoryNo {
|
|
53
|
-
brands?: Array<
|
|
54
|
-
multiLevelCategories?: Array<
|
|
55
|
-
flatCategories?: Array<
|
|
55
|
+
brands?: Array<Brand>;
|
|
56
|
+
multiLevelCategories?: Array<MultiLevelCategory>;
|
|
57
|
+
flatCategories?: Array<FlatCategory>;
|
|
56
58
|
}
|
|
57
|
-
export interface
|
|
59
|
+
export interface Brand {
|
|
58
60
|
productCnt?: number;
|
|
59
61
|
name?: string;
|
|
60
62
|
brandNo?: number;
|
|
61
63
|
}
|
|
62
|
-
export interface
|
|
64
|
+
export interface CategoryProductReview {
|
|
63
65
|
rate?: number;
|
|
64
66
|
reviewRatingResponses?: Array<object | boolean | string | number>;
|
|
65
67
|
totalCount?: number;
|
|
66
|
-
items?: Array<
|
|
68
|
+
items?: Array<CategoryProductReviewsItem>;
|
|
67
69
|
}
|
|
68
|
-
export interface
|
|
70
|
+
export interface CategoryProductReviewsItem {
|
|
69
71
|
productTotalCount?: number;
|
|
70
72
|
myReview?: boolean;
|
|
71
73
|
platformType?: string;
|
|
@@ -97,15 +99,15 @@ export interface CategoryProductReviewsItems {
|
|
|
97
99
|
extraJson?: string;
|
|
98
100
|
registerName?: string;
|
|
99
101
|
}
|
|
100
|
-
export interface
|
|
102
|
+
export interface DesignPopup {
|
|
101
103
|
displayUrl?: string;
|
|
102
104
|
parameter?: string;
|
|
103
105
|
}
|
|
104
106
|
export interface DisplayEventsClose {
|
|
105
107
|
totalCount?: number;
|
|
106
|
-
items?: Array<
|
|
108
|
+
items?: Array<DisplayEventsCloseItem>;
|
|
107
109
|
}
|
|
108
|
-
export interface
|
|
110
|
+
export interface DisplayEventsCloseItem {
|
|
109
111
|
pcImageUrl?: string;
|
|
110
112
|
startYmdt?: string;
|
|
111
113
|
urlType?: string;
|
|
@@ -143,7 +145,7 @@ export interface DisplayEventsEventNoCoupon {
|
|
|
143
145
|
alreadyIssuedImageUrl?: string;
|
|
144
146
|
guideImageUrl?: string;
|
|
145
147
|
soldOutImageUrl?: string;
|
|
146
|
-
coupons?: Array<
|
|
148
|
+
coupons?: Array<EventCoupon>;
|
|
147
149
|
dateExpiredImageUrl?: string;
|
|
148
150
|
issuedImageUrl?: string;
|
|
149
151
|
}
|
|
@@ -155,7 +157,7 @@ export interface DisplayEventsEventNoCouponCouponStatus {
|
|
|
155
157
|
myIssuedCntToday?: number;
|
|
156
158
|
totalIssuedCntToday?: number;
|
|
157
159
|
}
|
|
158
|
-
export interface
|
|
160
|
+
export interface EventCoupon {
|
|
159
161
|
downloadable?: boolean;
|
|
160
162
|
couponName?: string;
|
|
161
163
|
discountInfo?: DisplayEventsEventNoCouponDiscountInfo;
|
|
@@ -202,14 +204,14 @@ export interface DisplayEventsEventNoCouponUseConstraint {
|
|
|
202
204
|
minDeliveryAmt?: number;
|
|
203
205
|
maxSalePrice?: number;
|
|
204
206
|
}
|
|
205
|
-
export interface
|
|
207
|
+
export interface EventCouponByProduct {
|
|
206
208
|
product?: boolean;
|
|
207
209
|
partner?: boolean;
|
|
208
210
|
event?: boolean;
|
|
209
211
|
category?: boolean;
|
|
210
212
|
brand?: boolean;
|
|
211
213
|
}
|
|
212
|
-
export interface
|
|
214
|
+
export interface DisplayEventsEventNoOptionValue {
|
|
213
215
|
optionValue?: string;
|
|
214
216
|
stockCnt?: number;
|
|
215
217
|
mallProductNo?: number;
|
|
@@ -228,7 +230,7 @@ export interface DisplayEventsEventNoProducts {
|
|
|
228
230
|
listImageUrls?: Array<object | boolean | string | number>;
|
|
229
231
|
immediateDiscountAmt?: number;
|
|
230
232
|
stickerLabels?: Array<object | boolean | string | number>;
|
|
231
|
-
|
|
233
|
+
eventCouponByProduct?: EventCouponByProduct;
|
|
232
234
|
immediateDiscountUnitType?: string;
|
|
233
235
|
additionDiscountUnitType?: string;
|
|
234
236
|
frontDisplayYn?: boolean;
|
|
@@ -237,7 +239,7 @@ export interface DisplayEventsEventNoProducts {
|
|
|
237
239
|
sectionProductEndYmdt?: string;
|
|
238
240
|
adult?: boolean;
|
|
239
241
|
displayCategoryNos?: string;
|
|
240
|
-
optionValues?: Array<
|
|
242
|
+
optionValues?: Array<DisplayEventsEventNoOptionValue>;
|
|
241
243
|
productManagementCd?: string;
|
|
242
244
|
reservationData?: DisplayEventsEventNoReservationData;
|
|
243
245
|
deliveryConditionType?: string;
|
|
@@ -257,7 +259,7 @@ export interface DisplayEventsEventNoProducts {
|
|
|
257
259
|
salePeriodType?: string;
|
|
258
260
|
maxSalePrice?: number;
|
|
259
261
|
promotionText?: string;
|
|
260
|
-
stickerInfos?: Array<
|
|
262
|
+
stickerInfos?: Array<DisplayEventsEventNoStickerInfo>;
|
|
261
263
|
hsCode?: string;
|
|
262
264
|
imageUrls?: Array<object | boolean | string | number>;
|
|
263
265
|
brandNameEn?: string;
|
|
@@ -281,7 +283,7 @@ export interface DisplayEventsEventNoSection {
|
|
|
281
283
|
label?: string;
|
|
282
284
|
products?: Array<DisplayEventsEventNoProducts>;
|
|
283
285
|
}
|
|
284
|
-
export interface
|
|
286
|
+
export interface DisplayEventsEventNoStickerInfo {
|
|
285
287
|
label?: string;
|
|
286
288
|
type?: string;
|
|
287
289
|
}
|
|
@@ -340,7 +342,7 @@ export interface DisplaySectionsIdsSectionIdRecommendedProducts {
|
|
|
340
342
|
listImageUrls?: Array<object | boolean | string | number>;
|
|
341
343
|
immediateDiscountAmt?: number;
|
|
342
344
|
stickerLabels?: Array<object | boolean | string | number>;
|
|
343
|
-
|
|
345
|
+
eventCouponByProduct?: EventCouponByProduct;
|
|
344
346
|
immediateDiscountUnitType?: string;
|
|
345
347
|
additionDiscountUnitType?: string;
|
|
346
348
|
frontDisplayYn?: boolean;
|
|
@@ -349,7 +351,7 @@ export interface DisplaySectionsIdsSectionIdRecommendedProducts {
|
|
|
349
351
|
sectionProductEndYmdt?: string;
|
|
350
352
|
adult?: boolean;
|
|
351
353
|
displayCategoryNos?: string;
|
|
352
|
-
optionValues?: Array<
|
|
354
|
+
optionValues?: Array<DisplayEventsEventNoOptionValue>;
|
|
353
355
|
productManagementCd?: string;
|
|
354
356
|
reservationData?: DisplaySectionsIdsSectionIdReservationData;
|
|
355
357
|
deliveryConditionType?: string;
|
|
@@ -369,7 +371,7 @@ export interface DisplaySectionsIdsSectionIdRecommendedProducts {
|
|
|
369
371
|
salePeriodType?: string;
|
|
370
372
|
maxSalePrice?: number;
|
|
371
373
|
promotionText?: string;
|
|
372
|
-
stickerInfos?: Array<
|
|
374
|
+
stickerInfos?: Array<DisplayEventsEventNoStickerInfo>;
|
|
373
375
|
hsCode?: string;
|
|
374
376
|
imageUrls?: Array<object | boolean | string | number>;
|
|
375
377
|
brandNameEn?: string;
|
|
@@ -393,10 +395,10 @@ export interface DisplaySectionsSectionNo {
|
|
|
393
395
|
imageUrl?: string;
|
|
394
396
|
label?: string;
|
|
395
397
|
sectionNo?: number;
|
|
396
|
-
products?: Array<
|
|
398
|
+
products?: Array<DisplaySectionsSectionNoProduct>;
|
|
397
399
|
promotionText?: string;
|
|
398
400
|
}
|
|
399
|
-
export interface
|
|
401
|
+
export interface DisplaySectionsSectionNoProduct {
|
|
400
402
|
minSalePrice?: number;
|
|
401
403
|
likeCount?: number;
|
|
402
404
|
totalReviewCount?: number;
|
|
@@ -410,7 +412,7 @@ export interface DisplaySectionsSectionNoProducts {
|
|
|
410
412
|
listImageUrls?: Array<object | boolean | string | number>;
|
|
411
413
|
immediateDiscountAmt?: number;
|
|
412
414
|
stickerLabels?: Array<object | boolean | string | number>;
|
|
413
|
-
|
|
415
|
+
eventCouponByProduct?: EventCouponByProduct;
|
|
414
416
|
immediateDiscountUnitType?: string;
|
|
415
417
|
additionDiscountUnitType?: string;
|
|
416
418
|
frontDisplayYn?: boolean;
|
|
@@ -419,7 +421,7 @@ export interface DisplaySectionsSectionNoProducts {
|
|
|
419
421
|
sectionProductEndYmdt?: string;
|
|
420
422
|
adult?: boolean;
|
|
421
423
|
displayCategoryNos?: string;
|
|
422
|
-
optionValues?: Array<
|
|
424
|
+
optionValues?: Array<DisplayEventsEventNoOptionValue>;
|
|
423
425
|
productManagementCd?: string;
|
|
424
426
|
reservationData?: DisplaySectionsSectionNoReservationData;
|
|
425
427
|
deliveryConditionType?: string;
|
|
@@ -439,7 +441,7 @@ export interface DisplaySectionsSectionNoProducts {
|
|
|
439
441
|
salePeriodType?: string;
|
|
440
442
|
maxSalePrice?: number;
|
|
441
443
|
promotionText?: string;
|
|
442
|
-
stickerInfos?: Array<
|
|
444
|
+
stickerInfos?: Array<DisplayEventsEventNoStickerInfo>;
|
|
443
445
|
hsCode?: string;
|
|
444
446
|
imageUrls?: Array<object | boolean | string | number>;
|
|
445
447
|
brandNameEn?: string;
|
|
@@ -653,7 +655,7 @@ export interface ProfileProductInquiriesAnswer {
|
|
|
653
655
|
memberId: string;
|
|
654
656
|
inquiryNo: number;
|
|
655
657
|
}
|
|
656
|
-
export interface
|
|
658
|
+
export interface ProductReviewsConfiguration {
|
|
657
659
|
canReply?: boolean;
|
|
658
660
|
boardType?: string;
|
|
659
661
|
memberWriteable?: boolean;
|
|
@@ -665,11 +667,11 @@ export interface ProductReviewsConfigurations {
|
|
|
665
667
|
guestWriteable?: boolean;
|
|
666
668
|
canAttach?: boolean;
|
|
667
669
|
}
|
|
668
|
-
export interface
|
|
670
|
+
export interface GetProductsInquiriesResponse {
|
|
669
671
|
totalCount?: number;
|
|
670
|
-
items?: Array<
|
|
672
|
+
items?: Array<ProductInquiry>;
|
|
671
673
|
}
|
|
672
|
-
export interface
|
|
674
|
+
export interface ProductInquiry {
|
|
673
675
|
orderNo?: number;
|
|
674
676
|
replied?: boolean;
|
|
675
677
|
myInquiry?: boolean;
|
|
@@ -690,7 +692,7 @@ export interface ProductsInquiriesItems {
|
|
|
690
692
|
registerYmdt?: string;
|
|
691
693
|
inquiryNo?: number;
|
|
692
694
|
}
|
|
693
|
-
export interface
|
|
695
|
+
export interface GetProductsInquiriesConfigurationsResponse {
|
|
694
696
|
canReply?: boolean;
|
|
695
697
|
boardType?: string;
|
|
696
698
|
memberWriteable?: boolean;
|
|
@@ -723,7 +725,7 @@ export interface ProductsProductNoInquiries {
|
|
|
723
725
|
export interface ProductsProductNoInquiriesInquiryNo {
|
|
724
726
|
productManagementCd?: string;
|
|
725
727
|
replied?: boolean;
|
|
726
|
-
answers?: Array<
|
|
728
|
+
answers?: Array<ProductsProductNoInquiriesInquiryNoAnswer>;
|
|
727
729
|
type?: string;
|
|
728
730
|
title?: string;
|
|
729
731
|
productName?: string;
|
|
@@ -748,7 +750,7 @@ export interface ProductsProductNoInquiriesInquiryNo {
|
|
|
748
750
|
displayStatusType?: string;
|
|
749
751
|
inquiryNo?: number;
|
|
750
752
|
}
|
|
751
|
-
export interface
|
|
753
|
+
export interface ProductsProductNoInquiriesInquiryNoAnswer {
|
|
752
754
|
administrator?: boolean;
|
|
753
755
|
updateYmdt?: string;
|
|
754
756
|
adminType?: string;
|
|
@@ -761,13 +763,13 @@ export interface ProductsProductNoInquiriesInquiryNoAnswers {
|
|
|
761
763
|
memberId?: string;
|
|
762
764
|
inquiryNo?: number;
|
|
763
765
|
}
|
|
764
|
-
export interface
|
|
766
|
+
export interface ProductsProductNoProductReview {
|
|
765
767
|
rate?: number;
|
|
766
768
|
reviewRatingResponses?: Array<ProductsProductNoProductReviewsReviewRatingResponses>;
|
|
767
769
|
totalCount?: number;
|
|
768
|
-
items?: Array<
|
|
770
|
+
items?: Array<ProductsProductNoProductReviewsItem>;
|
|
769
771
|
}
|
|
770
|
-
export interface
|
|
772
|
+
export interface ProductsProductNoProductReviewsItem {
|
|
771
773
|
productTotalCount?: number;
|
|
772
774
|
myReview?: boolean;
|
|
773
775
|
platformType?: string;
|
|
@@ -802,7 +804,7 @@ export interface ProductsProductNoProductReviewsItems {
|
|
|
802
804
|
export interface ProductsProductNoProductReviewsOrderedOption {
|
|
803
805
|
optionType?: string;
|
|
804
806
|
optionTitle?: string;
|
|
805
|
-
inputs?: Array<
|
|
807
|
+
inputs?: Array<ProductsProductNoProductReviewsOrderedOptionInput>;
|
|
806
808
|
orderStatusType?: string;
|
|
807
809
|
optionValue?: string;
|
|
808
810
|
orderCnt?: number;
|
|
@@ -811,7 +813,7 @@ export interface ProductsProductNoProductReviewsOrderedOption {
|
|
|
811
813
|
optionUsed?: boolean;
|
|
812
814
|
orderOptionNo?: number;
|
|
813
815
|
}
|
|
814
|
-
export interface
|
|
816
|
+
export interface ProductsProductNoProductReviewsOrderedOptionInput {
|
|
815
817
|
inputValue?: string;
|
|
816
818
|
inputLabel?: string;
|
|
817
819
|
}
|
|
@@ -819,19 +821,6 @@ export interface ProductsProductNoProductReviewsReviewRatingResponses {
|
|
|
819
821
|
countOfRating?: number;
|
|
820
822
|
rating?: number;
|
|
821
823
|
}
|
|
822
|
-
export interface ProductsProductNoProductReviews {
|
|
823
|
-
reviewNo?: number;
|
|
824
|
-
}
|
|
825
|
-
export interface ProductsProductNoProductReviews {
|
|
826
|
-
password?: string;
|
|
827
|
-
urls?: Array<object | boolean | string | number>;
|
|
828
|
-
rate?: number;
|
|
829
|
-
extraJson?: string;
|
|
830
|
-
optionNo?: number;
|
|
831
|
-
orderOptionNo?: number;
|
|
832
|
-
writerName?: string;
|
|
833
|
-
content?: string;
|
|
834
|
-
}
|
|
835
824
|
export interface ProductsProductNoProductReviewsReviewNo {
|
|
836
825
|
productTotalCount?: number;
|
|
837
826
|
myReview?: boolean;
|
|
@@ -867,7 +856,7 @@ export interface ProductsProductNoProductReviewsReviewNo {
|
|
|
867
856
|
export interface ProductsProductNoProductReviewsReviewNoOrderedOption {
|
|
868
857
|
optionType?: string;
|
|
869
858
|
optionTitle?: string;
|
|
870
|
-
inputs?: Array<
|
|
859
|
+
inputs?: Array<ProductsProductNoProductReviewsOrderedOptionInput>;
|
|
871
860
|
orderStatusType?: string;
|
|
872
861
|
optionValue?: string;
|
|
873
862
|
orderCnt?: number;
|
|
@@ -890,7 +879,7 @@ export interface ProductsProductNoProductReviewsReviewNoReport {
|
|
|
890
879
|
reportReasonCd?: string;
|
|
891
880
|
content?: string;
|
|
892
881
|
}
|
|
893
|
-
export interface
|
|
882
|
+
export interface ProductsProductNoReviewableOption {
|
|
894
883
|
item?: Array<ProductsProductNoReviewableOptionsItem>;
|
|
895
884
|
reviewable?: boolean;
|
|
896
885
|
}
|
|
@@ -898,11 +887,11 @@ export interface ProductsProductNoReviewableOptionsItem {
|
|
|
898
887
|
mallOptionNo?: number;
|
|
899
888
|
orderProductOptionNo?: number;
|
|
900
889
|
}
|
|
901
|
-
export interface
|
|
890
|
+
export interface ProductsProductReview {
|
|
902
891
|
totalCount?: number;
|
|
903
|
-
items?: Array<
|
|
892
|
+
items?: Array<ProductsProductReviewsItem>;
|
|
904
893
|
}
|
|
905
|
-
export interface
|
|
894
|
+
export interface ProductsProductReviewsItem {
|
|
906
895
|
myReview?: boolean;
|
|
907
896
|
bestReviewYn?: string;
|
|
908
897
|
rate?: number;
|
|
@@ -923,7 +912,7 @@ export interface ProductsProductReviewsOrderedOption {
|
|
|
923
912
|
}
|
|
924
913
|
export interface ProfileOrderOptionsProductReviewable {
|
|
925
914
|
totalCount?: number;
|
|
926
|
-
items?: Array<
|
|
915
|
+
items?: Array<ProfileOrderOptionsProductReviewableItem>;
|
|
927
916
|
}
|
|
928
917
|
export interface ProfileOrderOptionsProductReviewableDelivery {
|
|
929
918
|
deliveryCompanyTypeLabel?: string;
|
|
@@ -931,14 +920,14 @@ export interface ProfileOrderOptionsProductReviewableDelivery {
|
|
|
931
920
|
retrieveInvoiceUrl?: string;
|
|
932
921
|
invoiceNo?: string;
|
|
933
922
|
}
|
|
934
|
-
export interface
|
|
935
|
-
inputLabel
|
|
936
|
-
inputValue
|
|
923
|
+
export interface OrderInputOption {
|
|
924
|
+
inputLabel: string;
|
|
925
|
+
inputValue: string;
|
|
937
926
|
}
|
|
938
|
-
export interface
|
|
927
|
+
export interface ProfileOrderOptionsProductReviewableItem {
|
|
939
928
|
claimNo?: number;
|
|
940
929
|
reservationDeliveryYmdt?: string;
|
|
941
|
-
inputs?: Array<
|
|
930
|
+
inputs?: Array<Partial<OrderInputOption>>;
|
|
942
931
|
deliverable?: boolean;
|
|
943
932
|
optionUsed?: boolean;
|
|
944
933
|
productName?: string;
|
|
@@ -948,7 +937,7 @@ export interface ProfileOrderOptionsProductReviewableItems {
|
|
|
948
937
|
deliveryInternationalYn?: boolean;
|
|
949
938
|
price?: ProfileOrderOptionsProductReviewablePrice;
|
|
950
939
|
imageUrl?: string;
|
|
951
|
-
nextActions?: Array<
|
|
940
|
+
nextActions?: Array<ProfileOrderOptionsProductReviewableNextAction>;
|
|
952
941
|
reservation?: boolean;
|
|
953
942
|
refundable?: boolean;
|
|
954
943
|
optionNo?: number;
|
|
@@ -969,7 +958,7 @@ export interface ProfileOrderOptionsProductReviewableItems {
|
|
|
969
958
|
optionManagementCd?: string;
|
|
970
959
|
optionName?: string;
|
|
971
960
|
}
|
|
972
|
-
export interface
|
|
961
|
+
export interface ProfileOrderOptionsProductReviewableNextAction {
|
|
973
962
|
nextActionType?: string;
|
|
974
963
|
uri?: string;
|
|
975
964
|
}
|
|
@@ -998,7 +987,7 @@ export interface ProfileProductInquiries {
|
|
|
998
987
|
export interface ProfileProductInquiriesItems {
|
|
999
988
|
productManagementCd?: string;
|
|
1000
989
|
replied?: boolean;
|
|
1001
|
-
answers?: Array<
|
|
990
|
+
answers?: Array<ProductsProductNoInquiriesInquiryNoAnswer>;
|
|
1002
991
|
type?: string;
|
|
1003
992
|
title?: string;
|
|
1004
993
|
productName?: string;
|
|
@@ -1176,3 +1165,75 @@ export interface DeleteSpacesMappingRequest {
|
|
|
1176
1165
|
productNos: string;
|
|
1177
1166
|
};
|
|
1178
1167
|
}
|
|
1168
|
+
export interface GetProductsProductNoProductReviewsRequest extends OptionalAccessTokenRequest {
|
|
1169
|
+
pathVariable: {
|
|
1170
|
+
productNo: number;
|
|
1171
|
+
};
|
|
1172
|
+
queryString: {
|
|
1173
|
+
'order.by': ReviewOrderByType;
|
|
1174
|
+
'order.direction': ReviewOrderDirectionType;
|
|
1175
|
+
bestReviewYn: Nullable<BestReviewType>;
|
|
1176
|
+
pageNumber: number;
|
|
1177
|
+
pageSize: number;
|
|
1178
|
+
hasTotalCount: boolean;
|
|
1179
|
+
hasAttachmentFile?: boolean;
|
|
1180
|
+
};
|
|
1181
|
+
}
|
|
1182
|
+
export interface ReviewRating {
|
|
1183
|
+
countOfRating: number;
|
|
1184
|
+
rating: number;
|
|
1185
|
+
}
|
|
1186
|
+
export interface OrderedOption {
|
|
1187
|
+
optionType: Exclude<OrderOptionType, 'PRODUCT_ONLY'>;
|
|
1188
|
+
optionTitle: string;
|
|
1189
|
+
inputs: Array<OrderInputOption>;
|
|
1190
|
+
orderStatusType: DefaultOrderStatusType;
|
|
1191
|
+
optionValue: string;
|
|
1192
|
+
orderCnt: number;
|
|
1193
|
+
addPrice: number;
|
|
1194
|
+
optionName: string;
|
|
1195
|
+
optionUsed: boolean;
|
|
1196
|
+
orderOptionNo: number;
|
|
1197
|
+
}
|
|
1198
|
+
export interface ProductReview {
|
|
1199
|
+
productTotalCount: number;
|
|
1200
|
+
myReview: boolean;
|
|
1201
|
+
platformType: PlatformType;
|
|
1202
|
+
memberName: string;
|
|
1203
|
+
content: string;
|
|
1204
|
+
providerType: ProviderType;
|
|
1205
|
+
productName: string;
|
|
1206
|
+
updateYmdt: string;
|
|
1207
|
+
bestReviewYn: BestReviewType;
|
|
1208
|
+
rate: number;
|
|
1209
|
+
imageUrl: string;
|
|
1210
|
+
reviewNo: number;
|
|
1211
|
+
nickname: string;
|
|
1212
|
+
productNo: number;
|
|
1213
|
+
registerYmdt: string;
|
|
1214
|
+
memberId: string;
|
|
1215
|
+
brandName: string;
|
|
1216
|
+
recommendable: boolean;
|
|
1217
|
+
blindReportCnt: number;
|
|
1218
|
+
expelled: boolean;
|
|
1219
|
+
reportCnt: number;
|
|
1220
|
+
fileUrls: Array<string>;
|
|
1221
|
+
reportable: boolean;
|
|
1222
|
+
externalReview: boolean;
|
|
1223
|
+
orderedOption: OrderedOption;
|
|
1224
|
+
recommendCnt: number;
|
|
1225
|
+
commentCount: number;
|
|
1226
|
+
isDeletedProductReview: boolean;
|
|
1227
|
+
productDiscountPrice: number;
|
|
1228
|
+
brandNameEn: string;
|
|
1229
|
+
productRate: number;
|
|
1230
|
+
givenAccumulationYn: Yn;
|
|
1231
|
+
extraJson: string;
|
|
1232
|
+
registerName: string;
|
|
1233
|
+
}
|
|
1234
|
+
export interface GetProductsProductNoProductReviewsResponse {
|
|
1235
|
+
rate: number;
|
|
1236
|
+
totalCount: number;
|
|
1237
|
+
reviewRatingResponses: Array<ReviewRating>;
|
|
1238
|
+
items: Array<ProductReview>;
|
|
1239
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/domain/display/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/domain/display/index.ts"],"names":[],"mappings":"AAsBA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import { PRODUCT_INQUIRY_TYPE_MAP, PROVIDER_TYPE_MAP, DISPLAY_STATUS_TYPE_MAP, SEARCH_TYPE_MAP } from '../../../src';
|
|
1
|
+
import { PRODUCT_INQUIRY_TYPE_MAP, PROVIDER_TYPE_MAP, DISPLAY_STATUS_TYPE_MAP, SEARCH_TYPE_MAP, BEST_REVIEW_MAP, REVIEW_ORDER_DIRECTION_MAP, REVIEW_ORDER_BY_MAP, PLATFORM_TYPE_MAP } from '../../../src';
|
|
2
2
|
export declare type ProductInquiryType = keyof typeof PRODUCT_INQUIRY_TYPE_MAP;
|
|
3
3
|
export declare type ProviderType = keyof typeof PROVIDER_TYPE_MAP;
|
|
4
4
|
export declare type DisplayStatusType = keyof typeof DISPLAY_STATUS_TYPE_MAP;
|
|
5
5
|
export declare type SearchType = keyof typeof SEARCH_TYPE_MAP;
|
|
6
|
+
export declare type BestReviewType = keyof typeof BEST_REVIEW_MAP;
|
|
7
|
+
export declare type ReviewOrderDirectionType = keyof typeof REVIEW_ORDER_DIRECTION_MAP;
|
|
8
|
+
export declare type ReviewOrderByType = keyof typeof REVIEW_ORDER_BY_MAP;
|
|
9
|
+
export declare type PlatformType = keyof typeof PLATFORM_TYPE_MAP;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RequestConfig } from '../../http';
|
|
2
|
-
import {
|
|
2
|
+
import { InquiryStatus, PageType, InquirySearchType } from '../../common/unions';
|
|
3
3
|
import { DateYmd, DateYmdt } from '../../common';
|
|
4
4
|
import { AccumulationReasonType, ProfileAccumulationsItems } from './accumulation';
|
|
5
5
|
import { OptionalAccessTokenRequest } from '../../http';
|
|
@@ -271,7 +271,7 @@ export interface GetInquiriesRequest {
|
|
|
271
271
|
startYmd?: string;
|
|
272
272
|
endYmd?: string;
|
|
273
273
|
keyward?: string;
|
|
274
|
-
searchType?:
|
|
274
|
+
searchType?: InquirySearchType;
|
|
275
275
|
};
|
|
276
276
|
}
|
|
277
277
|
export interface GetInquiriesResponse {
|
|
@@ -384,12 +384,12 @@ export interface InquiriesInquiryNoInquiryType {
|
|
|
384
384
|
}
|
|
385
385
|
export interface PageScriptsRequest extends RequestConfig {
|
|
386
386
|
queryString: {
|
|
387
|
-
pageTypes:
|
|
387
|
+
pageTypes: PageType;
|
|
388
388
|
};
|
|
389
389
|
}
|
|
390
390
|
export interface PageScriptsResponse {
|
|
391
391
|
deviceType: string;
|
|
392
|
-
pageType:
|
|
392
|
+
pageType: PageType;
|
|
393
393
|
pageTypeLabel: string;
|
|
394
394
|
content: string;
|
|
395
395
|
}
|
|
@@ -400,7 +400,7 @@ export interface GetProfileAccumulationsRequest extends OptionalAccessTokenReque
|
|
|
400
400
|
accumulationReason?: AccumulationReasonType;
|
|
401
401
|
startYmd?: DateYmd;
|
|
402
402
|
endYmd?: DateYmd;
|
|
403
|
-
direction?:
|
|
403
|
+
direction?: DirectionType;
|
|
404
404
|
};
|
|
405
405
|
}
|
|
406
406
|
export interface GetProfileAccumulationsResponse {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/domain/manage/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/domain/manage/index.ts"],"names":[],"mappings":"AAmBA,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC"}
|
|
@@ -15,7 +15,7 @@ import { ProductNestingCategory } from './category';
|
|
|
15
15
|
import { ProductDeliveryDate, ProductDeliveryFee } from './delivery';
|
|
16
16
|
import { Partner } from './partner';
|
|
17
17
|
import { MallsCategoriesMultiLevelCategories } from '../admin';
|
|
18
|
-
import {
|
|
18
|
+
import { EventCouponByProduct, DisplayEventsEventNoOptionValue, DisplayEventsEventNoReservationData } from '../display';
|
|
19
19
|
export * from './core';
|
|
20
20
|
export * from './amount';
|
|
21
21
|
export * from './category';
|
|
@@ -112,7 +112,7 @@ interface getProductSearchResponseItems {
|
|
|
112
112
|
listImageUrls: Array<object | boolean | string | number>;
|
|
113
113
|
immediateDiscountAmt: number;
|
|
114
114
|
stickerLabels: Array<object | boolean | string | number>;
|
|
115
|
-
|
|
115
|
+
eventCouponByProduct: EventCouponByProduct;
|
|
116
116
|
immediateDiscountUnitType: string;
|
|
117
117
|
additionDiscountUnitType: string;
|
|
118
118
|
frontDisplayYn: boolean;
|
|
@@ -122,7 +122,7 @@ interface getProductSearchResponseItems {
|
|
|
122
122
|
sectionProductEndYmdt: string;
|
|
123
123
|
isSoldOut: boolean;
|
|
124
124
|
adult: boolean;
|
|
125
|
-
optionValues: Array<
|
|
125
|
+
optionValues: Array<DisplayEventsEventNoOptionValue>;
|
|
126
126
|
displayCategoryNos: string;
|
|
127
127
|
productManagementCd: string;
|
|
128
128
|
reservationData: DisplayEventsEventNoReservationData;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/domain/product/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/domain/product/index.ts"],"names":[],"mappings":"AA0CA,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC"}
|