@shopby/shop-sdk 1.42.4 → 1.42.7
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 +21 -0
- package/build/types/domain/display/index.d.ts +2 -2
- package/build/types/domain/order/index.d.ts +3 -3
- package/build/types/domain/product/index.d.ts +2 -2
- package/build/types/domain/product/search/index.d.ts +8 -7
- package/build/types/domain/product/search/index.js +1 -1
- package/build/types/domain/product/search/index.js.map +1 -1
- package/build/types/domain/product/search/union/index.d.ts +6 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,27 @@
|
|
|
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.42.7](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.42.6...v1.42.7) (2023-02-17)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* 타입 중복 내보내기 오류 수정 ([fb7fb15](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/fb7fb15459137c1b20ddd6e05d9a620dc937d765))
|
|
11
|
+
|
|
12
|
+
### [1.42.6](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.42.5...v1.42.6) (2023-02-17)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* product search uion 타입 내보내기 ([74da88f](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/74da88f1dabf3ee05238cf7372be99be6a2fcb44))
|
|
18
|
+
|
|
19
|
+
### [1.42.5](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.42.4...v1.42.5) (2023-02-16)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* domain/order CartOptionInput 관련 명칭 수정 ([7846e37](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/7846e37ea7fe5ef53fcbd65d7cbe18e73674ea7d))
|
|
25
|
+
|
|
5
26
|
### [1.42.4](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.42.3...v1.42.4) (2023-02-16)
|
|
6
27
|
|
|
7
28
|
|
|
@@ -6,7 +6,7 @@ import { ProductInquiryType, ProviderType, DisplayStatusType, SearchType, Review
|
|
|
6
6
|
import { Space, SpaceMappingResult } from './space';
|
|
7
7
|
import { Nullable } from 'types/common';
|
|
8
8
|
import { DefaultOrderStatusType, OrderOptionType } from 'types';
|
|
9
|
-
import {
|
|
9
|
+
import { ProductDeliveryConditionType } from '../product/search/union';
|
|
10
10
|
export * from './space';
|
|
11
11
|
export * from './unions';
|
|
12
12
|
export interface GetCategoriesRequest extends RequestConfig {
|
|
@@ -1529,7 +1529,7 @@ export interface DisplaySectionProduct {
|
|
|
1529
1529
|
reservationEndYmdt: string;
|
|
1530
1530
|
reservationStartYmdt: string;
|
|
1531
1531
|
};
|
|
1532
|
-
deliveryConditionType:
|
|
1532
|
+
deliveryConditionType: ProductDeliveryConditionType;
|
|
1533
1533
|
sectionProductStartYmdt: string;
|
|
1534
1534
|
brandNameType: string;
|
|
1535
1535
|
productSalePeriodType: ProductSalePeriodType;
|
|
@@ -83,11 +83,11 @@ export interface PostCartRequest extends OptionalAccessTokenRequest {
|
|
|
83
83
|
export interface CartLoad {
|
|
84
84
|
orderCnt: number;
|
|
85
85
|
channelType?: OrderChannelType;
|
|
86
|
-
optionInputs?:
|
|
86
|
+
optionInputs?: CartOptionInput[];
|
|
87
87
|
optionNo: number;
|
|
88
88
|
productNo: number;
|
|
89
89
|
}
|
|
90
|
-
export interface
|
|
90
|
+
export interface CartOptionInput {
|
|
91
91
|
inputValue: string;
|
|
92
92
|
inputLabel: string;
|
|
93
93
|
}
|
|
@@ -107,7 +107,7 @@ export interface PutCartRequest extends OptionalAccessTokenRequest {
|
|
|
107
107
|
}
|
|
108
108
|
export interface CartPayload {
|
|
109
109
|
orderCnt: number;
|
|
110
|
-
optionInputs?:
|
|
110
|
+
optionInputs?: CartOptionInput[];
|
|
111
111
|
cartNo: number;
|
|
112
112
|
}
|
|
113
113
|
export interface GetCartCalculateRequest extends OptionalAccessTokenRequest {
|
|
@@ -16,7 +16,7 @@ import { ProductDeliveryDate, ProductDeliveryFee } from './delivery';
|
|
|
16
16
|
import { Partner } from './partner';
|
|
17
17
|
import { MallsCategoriesMultiLevelCategories } from '../admin';
|
|
18
18
|
import { EventCouponByProduct, DisplayEventsEventNoOptionValue, DisplayEventsEventNoReservationData } from '../display';
|
|
19
|
-
import {
|
|
19
|
+
import { ProductDeliveryConditionType } from './search/union';
|
|
20
20
|
export * from './core';
|
|
21
21
|
export * from './amount';
|
|
22
22
|
export * from './category';
|
|
@@ -131,7 +131,7 @@ interface ProductSearch {
|
|
|
131
131
|
displayCategoryNos: string;
|
|
132
132
|
productManagementCd: string;
|
|
133
133
|
reservationData: DisplayEventsEventNoReservationData;
|
|
134
|
-
deliveryConditionType:
|
|
134
|
+
deliveryConditionType: ProductDeliveryConditionType;
|
|
135
135
|
sectionProductStartYmdt: string;
|
|
136
136
|
accumulationAmtWhenBuyConfirm: number;
|
|
137
137
|
brandNameType: BrandNameType;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { OptionalAccessTokenRequest } from "types/http";
|
|
2
|
-
import {
|
|
2
|
+
import { ProductDeliveryConditionType, ProductDiscountedComparison, ProductSaleStatus, ProductOrderBy, ProductOrderDirection, ProductShippingAreaType } from "./union";
|
|
3
3
|
export interface GetProductsSearchRequest extends OptionalAccessTokenRequest {
|
|
4
4
|
queryString: Partial<{
|
|
5
5
|
'filter.discountedPrices': number;
|
|
6
6
|
'filter.keywords': string;
|
|
7
7
|
'filter.keywordInResult': string;
|
|
8
|
-
'filter.discountedComparison':
|
|
9
|
-
'filter.deliveryConditionType':
|
|
10
|
-
'filter.saleStatus':
|
|
8
|
+
'filter.discountedComparison': ProductDiscountedComparison;
|
|
9
|
+
'filter.deliveryConditionType': ProductDeliveryConditionType;
|
|
10
|
+
'filter.saleStatus': ProductSaleStatus;
|
|
11
11
|
'filter.soldout': boolean;
|
|
12
12
|
'filter.totalReviewCount': boolean;
|
|
13
13
|
'filter.familyMalls': boolean;
|
|
@@ -16,8 +16,8 @@ export interface GetProductsSearchRequest extends OptionalAccessTokenRequest {
|
|
|
16
16
|
'filter.includeMallProductNo': string;
|
|
17
17
|
'filter.customProperties.propNos': string;
|
|
18
18
|
'filter.customProperties.propValueNos': string;
|
|
19
|
-
'order.by':
|
|
20
|
-
'order.direction':
|
|
19
|
+
'order.by': ProductOrderBy;
|
|
20
|
+
'order.direction': ProductOrderDirection;
|
|
21
21
|
'order.soldoutPlaceEnd': boolean;
|
|
22
22
|
categoryNos: string;
|
|
23
23
|
brandNos: string;
|
|
@@ -30,6 +30,7 @@ export interface GetProductsSearchRequest extends OptionalAccessTokenRequest {
|
|
|
30
30
|
hasTotalCount: boolean;
|
|
31
31
|
hasOptionValues: boolean;
|
|
32
32
|
includeSummaryInfo: boolean;
|
|
33
|
-
shippingAreaType:
|
|
33
|
+
shippingAreaType: ProductShippingAreaType;
|
|
34
34
|
}>;
|
|
35
35
|
}
|
|
36
|
+
export * from './union';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './union';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../types/domain/product/search/index.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../types/domain/product/search/index.ts"],"names":[],"mappings":"AAwCA,cAAc,SAAS,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DELIVERY_CONDITION_TYPE, DISCOUNTED_COMPARISON, SALE_STATUS, ORDER_BY, ORDER_DIRECTION, SHIPPING_AREA_TYPE } from '../../../../../src';
|
|
2
|
-
export declare type
|
|
3
|
-
export declare type
|
|
4
|
-
export declare type
|
|
5
|
-
export declare type
|
|
6
|
-
export declare type
|
|
7
|
-
export declare type
|
|
2
|
+
export declare type ProductDeliveryConditionType = keyof typeof DELIVERY_CONDITION_TYPE;
|
|
3
|
+
export declare type ProductDiscountedComparison = keyof typeof DISCOUNTED_COMPARISON;
|
|
4
|
+
export declare type ProductSaleStatus = keyof typeof SALE_STATUS;
|
|
5
|
+
export declare type ProductOrderBy = keyof typeof ORDER_BY;
|
|
6
|
+
export declare type ProductOrderDirection = keyof typeof ORDER_DIRECTION;
|
|
7
|
+
export declare type ProductShippingAreaType = keyof typeof SHIPPING_AREA_TYPE;
|