@shopby/shop-sdk 1.29.1 → 1.30.1
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
CHANGED
|
@@ -2,6 +2,26 @@
|
|
|
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.30.1](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.30.0...v1.30.1) (2023-01-09)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* get products search lint 수정 ([8ec9846](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/8ec984621f071284d6f7190b557b350ff4f02365))
|
|
11
|
+
|
|
12
|
+
## [1.30.0](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.29.1...v1.30.0) (2023-01-09)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* add get products search response data type ([#59](https://gitlab.e-ncp.com/ncp-client/shop-sdk/issues/59)) ([a5f7749](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/a5f7749cb9d58225486392bb67d8b9187b593516))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* get products search response fix ([afd19e5](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/afd19e547972239ab9f0f4676ca11d6570a6e6b4))
|
|
23
|
+
* get products search response 수정 ([54bbd11](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/54bbd114e72f10bb53932887ce8f48a038f74a72))
|
|
24
|
+
|
|
5
25
|
### [1.29.1](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.29.0...v1.29.1) (2023-01-06)
|
|
6
26
|
|
|
7
27
|
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { ProductStickerInfo } from './core/index';
|
|
2
|
+
import { ShippingAreaType } from './../order/unions';
|
|
3
|
+
import { BrandNameType, ProductSalePeriodType, ProductType, SaleStatus } from './core/unions/index';
|
|
1
4
|
import { OptionalAccessTokenRequest, RequestConfig } from '../../http';
|
|
2
5
|
import { OptionSelectType, OptionType } from './option/unions';
|
|
3
6
|
import { ProductFlatOption, ProductMultiLevelOption, ProductOptionInput } from './option';
|
|
@@ -10,6 +13,8 @@ import { ProductPrice } from './amount';
|
|
|
10
13
|
import { ProductNestingCategory } from './category';
|
|
11
14
|
import { ProductDeliveryDate, ProductDeliveryFee } from './delivery';
|
|
12
15
|
import { Partner } from './partner';
|
|
16
|
+
import { MallsCategoriesMultiLevelCategories } from '../admin';
|
|
17
|
+
import { DisplayEventsEventNoHasCoupons, DisplayEventsEventNoOptionValues, DisplayEventsEventNoReservationData } from '../display';
|
|
13
18
|
export * from './core';
|
|
14
19
|
export * from './amount';
|
|
15
20
|
export * from './category';
|
|
@@ -82,3 +87,104 @@ export interface PostProfileLikeProductsResponse {
|
|
|
82
87
|
result: boolean;
|
|
83
88
|
productNo: number;
|
|
84
89
|
}
|
|
90
|
+
interface depthCategories {
|
|
91
|
+
parentCategoryNo: number;
|
|
92
|
+
displayOrder: number;
|
|
93
|
+
count: number;
|
|
94
|
+
categoryNo: number;
|
|
95
|
+
labe: string;
|
|
96
|
+
}
|
|
97
|
+
interface getProductSearchResponseItems {
|
|
98
|
+
groupManagementCodeName: string;
|
|
99
|
+
minSalePrice: number;
|
|
100
|
+
groupManagementCode: string;
|
|
101
|
+
likeCount: number;
|
|
102
|
+
totalReviewCount: number;
|
|
103
|
+
reviewRating: number;
|
|
104
|
+
liked: boolean;
|
|
105
|
+
productName: string;
|
|
106
|
+
couponDiscountAmt: number;
|
|
107
|
+
additionDiscountAmt: number;
|
|
108
|
+
brandNo: number;
|
|
109
|
+
mainBestProductYn: boolean;
|
|
110
|
+
brandName: string;
|
|
111
|
+
listImageUrls: Array<object | boolean | string | number>;
|
|
112
|
+
immediateDiscountAmt: number;
|
|
113
|
+
stickerLabels: Array<object | boolean | string | number>;
|
|
114
|
+
hasCoupons: DisplayEventsEventNoHasCoupons;
|
|
115
|
+
immediateDiscountUnitType: string;
|
|
116
|
+
additionDiscountUnitType: string;
|
|
117
|
+
frontDisplayYn: boolean;
|
|
118
|
+
saleCnt: number;
|
|
119
|
+
saleStartYmdt: string;
|
|
120
|
+
brandNameKo: string;
|
|
121
|
+
sectionProductEndYmdt: string;
|
|
122
|
+
isSoldOut: boolean;
|
|
123
|
+
adult: boolean;
|
|
124
|
+
optionValues: Array<DisplayEventsEventNoOptionValues>;
|
|
125
|
+
displayCategoryNos: string;
|
|
126
|
+
productManagementCd: string;
|
|
127
|
+
reservationData: DisplayEventsEventNoReservationData;
|
|
128
|
+
deliveryConditionType: string;
|
|
129
|
+
sectionProductStartYmdt: string;
|
|
130
|
+
accumulationAmtWhenBuyConfirm: number;
|
|
131
|
+
brandNameType: BrandNameType;
|
|
132
|
+
couponTag: string;
|
|
133
|
+
maxCouponAmt: number;
|
|
134
|
+
productSalePeriodType: ProductSalePeriodType;
|
|
135
|
+
maxDiscountAmount: number;
|
|
136
|
+
enableCoupons: boolean;
|
|
137
|
+
productType: ProductType;
|
|
138
|
+
productNo: number;
|
|
139
|
+
registerYmdt: string;
|
|
140
|
+
salePrice: number;
|
|
141
|
+
partnerName: string;
|
|
142
|
+
urlDirectDisplayYn: boolean;
|
|
143
|
+
contentsIfPausing: string;
|
|
144
|
+
shippingArea: ShippingAreaType;
|
|
145
|
+
saleEndYmdt: string;
|
|
146
|
+
salePeriodType: string;
|
|
147
|
+
maxSalePrice: number;
|
|
148
|
+
promotionText: string;
|
|
149
|
+
stickerInfos: ProductStickerInfo[];
|
|
150
|
+
hsCode: string;
|
|
151
|
+
imageUrls: Array<object | boolean | string | number>;
|
|
152
|
+
brandNameEn: string;
|
|
153
|
+
accumulationInfo: {
|
|
154
|
+
description: string;
|
|
155
|
+
rewardRateOfMemberBenefit: number;
|
|
156
|
+
amount: number;
|
|
157
|
+
rewardRateOfProduct: number;
|
|
158
|
+
};
|
|
159
|
+
mainStockCnt: number;
|
|
160
|
+
productNameEn: string;
|
|
161
|
+
searchProductId?: string;
|
|
162
|
+
stockCnt: number;
|
|
163
|
+
saleStatusType: SaleStatus;
|
|
164
|
+
}
|
|
165
|
+
export interface GetProductsSearchResponse {
|
|
166
|
+
pageCount: number;
|
|
167
|
+
brands: {
|
|
168
|
+
brandName: string;
|
|
169
|
+
brandNameKo: string;
|
|
170
|
+
count: number;
|
|
171
|
+
brandNameEn: string;
|
|
172
|
+
BrandNameType: BrandNameType;
|
|
173
|
+
brandNo: number;
|
|
174
|
+
};
|
|
175
|
+
depth4Categories: depthCategories[];
|
|
176
|
+
depth3Categories: depthCategories[];
|
|
177
|
+
depth2Categories: depthCategories[];
|
|
178
|
+
totalCount: number;
|
|
179
|
+
multiLevelCategories: MallsCategoriesMultiLevelCategories[];
|
|
180
|
+
minPrice: number;
|
|
181
|
+
depth1Categories: depthCategories;
|
|
182
|
+
displayableStock: boolean;
|
|
183
|
+
maxPrice: number;
|
|
184
|
+
clickUrlPrefix: {
|
|
185
|
+
param: string;
|
|
186
|
+
url: string;
|
|
187
|
+
};
|
|
188
|
+
items: getProductSearchResponseItems[];
|
|
189
|
+
depth5Categories: depthCategories[];
|
|
190
|
+
}
|
|
@@ -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"}
|