@shopby/shop-sdk 1.35.2 → 1.36.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 +22 -0
- package/build/src/domain/product/index.d.ts +2 -2
- package/build/src/domain/product/index.js +0 -1
- package/build/src/domain/product/index.js.map +1 -1
- package/build/src/domain/product/maps/index.d.ts +1 -0
- package/build/src/domain/product/maps/index.js +1 -0
- package/build/src/domain/product/maps/index.js.map +1 -1
- package/build/src/domain/product/maps/search.d.ts +37 -0
- package/build/src/domain/product/maps/search.js +38 -0
- package/build/src/domain/product/maps/search.js.map +1 -0
- package/build/src/index.d.ts +1 -1
- package/build/types/domain/member/index.d.ts +4 -3
- package/build/types/domain/order/index.d.ts +1 -3
- package/build/types/domain/product/index.d.ts +35 -33
- package/build/types/domain/product/index.js +1 -0
- package/build/types/domain/product/index.js.map +1 -1
- package/build/types/domain/product/search/index.d.ts +34 -0
- package/build/types/domain/product/search/index.js +2 -0
- package/build/types/domain/product/search/index.js.map +1 -0
- package/build/types/domain/product/search/union/index.d.ts +7 -0
- package/build/types/domain/product/search/union/index.js +2 -0
- package/build/types/domain/product/search/union/index.js.map +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,28 @@
|
|
|
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.36.1](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.36.0...v1.36.1) (2023-02-07)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* 이름수정 Brand -> ProductSearchBrand 로 수정 ([3411de0](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/3411de0ed5f3c8e59c4a7ffb04e05f3ea0a31052))
|
|
11
|
+
|
|
12
|
+
## [1.36.0](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.35.3...v1.36.0) (2023-02-07)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* 상품 검색 타입 정의 ([8ee5c23](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/8ee5c2365326d17d27dc8558d5ba989e3dde068e))
|
|
18
|
+
|
|
19
|
+
### [1.35.3](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.35.2...v1.35.3) (2023-02-03)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* countryCd 에 string 대신 CountryCode 타입 적용 ([#93](https://gitlab.e-ncp.com/ncp-client/shop-sdk/issues/93)) ([f8b8cbe](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/f8b8cbee5b4eb6e8e12c4375d6b74d53a92b191b))
|
|
25
|
+
* orderSheet api의 변경된 스키마에 맞춰 타입 수정 ([#93](https://gitlab.e-ncp.com/ncp-client/shop-sdk/issues/93)) ([4ef262d](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/4ef262de5c7f6fd73798de0670d3122dca259c3e))
|
|
26
|
+
|
|
5
27
|
### [1.35.2](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.35.1...v1.35.2) (2023-02-01)
|
|
6
28
|
|
|
7
29
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetGuestRecentProductsRequest, GetGuestRecentProductsResponse, GetProductsProductNoOptionsRequest, GetProductsProductNoOptionsResponse, GetProductsProductNoRelatedProductsRequest, GetProductsProductNoRelatedProductsResponse, GetProductsProductNoRequest, GetProductsProductNoResponse, PostProfileLikeProductsRequest, PostProfileLikeProductsResponse, PostProfileRecentProductsRequest } from '../../../types/domain/product';
|
|
1
|
+
import { GetGuestRecentProductsRequest, GetGuestRecentProductsResponse, GetProductsProductNoOptionsRequest, GetProductsProductNoOptionsResponse, GetProductsProductNoRelatedProductsRequest, GetProductsProductNoRelatedProductsResponse, GetProductsProductNoRequest, GetProductsProductNoResponse, GetProductsSearchRequest, GetProductsSearchResponse, PostProfileLikeProductsRequest, PostProfileLikeProductsResponse, PostProfileRecentProductsRequest } from '../../../types/domain/product';
|
|
2
2
|
import { ResponseData } from '../../../types/http';
|
|
3
3
|
declare const product: (httpRequest: Function) => {
|
|
4
4
|
/**
|
|
@@ -10,7 +10,7 @@ declare const product: (httpRequest: Function) => {
|
|
|
10
10
|
* Products
|
|
11
11
|
*/
|
|
12
12
|
getGuestRecentProducts(request: GetGuestRecentProductsRequest): Promise<GetGuestRecentProductsResponse>;
|
|
13
|
-
getProductsSearch(request:
|
|
13
|
+
getProductsSearch(request: GetProductsSearchRequest): Promise<ResponseData<GetProductsSearchResponse>>;
|
|
14
14
|
getProductsBestReviewSearch(request: any): Promise<ResponseData<any>>;
|
|
15
15
|
getProductsBestSellerSearch(request: any): Promise<ResponseData<any>>;
|
|
16
16
|
getProfileRecentProducts(request: any): Promise<ResponseData<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/product/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/product/index.ts"],"names":[],"mappings":"AAiBA,IAAM,OAAO,GAAG,UAAC,WAAqB,IAAK,OAAA,CAAC;IAC1C;;OAEG;IACH,gBAAgB,EAAhB,UAAiB,OAAY;QACnB,IAAA,WAAW,GAAK,OAAO,YAAZ,CAAa;QAEhC,OAAO,WAAW,CAAC;YACjB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,iBAAiB;YACtB,WAAW,aAAA;YACX,GAAG,EAAE,kBAAkB;SACxB,CAAC,CAAC;IACL,CAAC;IACD,uBAAuB,EAAvB,UAAwB,OAAY;QAEhB,IAAA,OAAO,GACrB,OAAO,qBADc,CACb;QAEZ,OAAO,WAAW,CAAC;YACjB,MAAM,EAAE,KAAK;YAC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BAAwB;YAC7B,WAAW,aAAA;YACX,GAAG,EAAE,wBAAwB;SAC9B,CAAC,CAAC;IACL,CAAC;IACD,uBAAuB,EAAvB,UACE,OAAuC;QAE/B,IAAA,WAAW,GAAK,OAAO,YAAZ,CAAa;QAEhC,OAAO,WAAW,CAAC;YACjB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,wBAAwB;YAC7B,WAAW,aAAA;YACX,GAAG,EAAE,yBAAyB;SAC/B,CAAC,CAAC;IACL,CAAC;IACD;;OAEG;IACH,wBAAwB,EAAxB,UAAyB,OAAY;QACnC,OAAO,WAAW,CAAC;YACjB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,0BAA0B;YAC/B,GAAG,EAAE,0BAA0B;SAChC,CAAC,CAAC;IACL,CAAC;IACD,uCAAuC,EAAvC,UACE,OAAY;QAGM,IAAA,SAAS,GACvB,OAAO,uBADgB,CACf;QAEZ,OAAO,WAAW,CAAC;YACjB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,2BAAoB,SAAS,oBAAiB;YACnD,GAAG,EAAE,yCAAyC;SAC/C,CAAC,CAAC;IACL,CAAC;CACF,CAAC,EA1PyC,CA0PzC,CAAC;AAEH,eAAe,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/product/maps/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/product/maps/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export declare const DELIVERY_CONDITION_TYPE: {
|
|
2
|
+
readonly FREE: "무료";
|
|
3
|
+
readonly CONDITIONAL: "조건부 무료";
|
|
4
|
+
readonly FIXED_FEE: "유료(고정 배송비)";
|
|
5
|
+
};
|
|
6
|
+
export declare const DISCOUNTED_COMPARISON: {
|
|
7
|
+
readonly GT: "초과 - GREATER THAN";
|
|
8
|
+
readonly LTE: "미만 -LESS GREATER THAN";
|
|
9
|
+
readonly GTE: "이상 - GREATER THAN or EQUAL";
|
|
10
|
+
readonly EQ: "동등 - EQUAL";
|
|
11
|
+
readonly BETWEEN: "사이의";
|
|
12
|
+
};
|
|
13
|
+
export declare const SALE_STATUS: {
|
|
14
|
+
readonly ALL_CONDITIONS: "전체 판매 상태 조회";
|
|
15
|
+
readonly READY_ONSALE: "판매대기와 판매중 상품 조회";
|
|
16
|
+
readonly ONSALE: "판매중 상품만 조회";
|
|
17
|
+
readonly RESERVATION_AND_ONSALE: "예약판매중인 상품과 판매중인 상품만 조회";
|
|
18
|
+
};
|
|
19
|
+
export declare const ORDER_BY: {
|
|
20
|
+
readonly POPULAR: "판매인기순(검색엔진 도입)";
|
|
21
|
+
readonly SALE_YMD: "판매일자";
|
|
22
|
+
readonly SALE_END_YMD: "판매종료일자";
|
|
23
|
+
readonly DISCOUNTED_PRICE: "가격순";
|
|
24
|
+
readonly REVIEW: "상품평";
|
|
25
|
+
readonly SALE_CNT: "총판매량순";
|
|
26
|
+
readonly RECENT_PRODUCT: "최근상품순";
|
|
27
|
+
readonly MD_RECOMMEND: "MD추천순";
|
|
28
|
+
readonly LIKE_CNT: "좋아요";
|
|
29
|
+
};
|
|
30
|
+
export declare const ORDER_DIRECTION: {
|
|
31
|
+
readonly ASC: "최신 순";
|
|
32
|
+
readonly DESC: "오래된 순";
|
|
33
|
+
};
|
|
34
|
+
export declare const SHIPPING_AREA_TYPE: {
|
|
35
|
+
readonly PARTNER: "파트너 배송";
|
|
36
|
+
readonly MALL: "쇼핑몰 배송";
|
|
37
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export var DELIVERY_CONDITION_TYPE = {
|
|
2
|
+
FREE: '무료',
|
|
3
|
+
CONDITIONAL: '조건부 무료',
|
|
4
|
+
FIXED_FEE: '유료(고정 배송비)',
|
|
5
|
+
};
|
|
6
|
+
export var DISCOUNTED_COMPARISON = {
|
|
7
|
+
GT: '초과 - GREATER THAN',
|
|
8
|
+
LTE: '미만 -LESS GREATER THAN',
|
|
9
|
+
GTE: '이상 - GREATER THAN or EQUAL',
|
|
10
|
+
EQ: '동등 - EQUAL',
|
|
11
|
+
BETWEEN: '사이의'
|
|
12
|
+
};
|
|
13
|
+
export var SALE_STATUS = {
|
|
14
|
+
ALL_CONDITIONS: '전체 판매 상태 조회',
|
|
15
|
+
READY_ONSALE: '판매대기와 판매중 상품 조회',
|
|
16
|
+
ONSALE: '판매중 상품만 조회',
|
|
17
|
+
RESERVATION_AND_ONSALE: '예약판매중인 상품과 판매중인 상품만 조회'
|
|
18
|
+
};
|
|
19
|
+
export var ORDER_BY = {
|
|
20
|
+
POPULAR: '판매인기순(검색엔진 도입)',
|
|
21
|
+
SALE_YMD: '판매일자',
|
|
22
|
+
SALE_END_YMD: '판매종료일자',
|
|
23
|
+
DISCOUNTED_PRICE: '가격순',
|
|
24
|
+
REVIEW: '상품평',
|
|
25
|
+
SALE_CNT: '총판매량순',
|
|
26
|
+
RECENT_PRODUCT: '최근상품순',
|
|
27
|
+
MD_RECOMMEND: 'MD추천순',
|
|
28
|
+
LIKE_CNT: '좋아요'
|
|
29
|
+
};
|
|
30
|
+
export var ORDER_DIRECTION = {
|
|
31
|
+
ASC: "최신 순",
|
|
32
|
+
DESC: "오래된 순"
|
|
33
|
+
};
|
|
34
|
+
export var SHIPPING_AREA_TYPE = {
|
|
35
|
+
PARTNER: '파트너 배송',
|
|
36
|
+
MALL: '쇼핑몰 배송'
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=search.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search.js","sourceRoot":"","sources":["../../../../../src/domain/product/maps/search.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,uBAAuB,GAAG;IACrC,IAAI,EAAE,IAAI;IACV,WAAW,EAAE,QAAQ;IACrB,SAAS,EAAE,YAAY;CACf,CAAC;AAEX,MAAM,CAAC,IAAM,qBAAqB,GAAG;IACnC,EAAE,EAAE,mBAAmB;IACvB,GAAG,EAAE,uBAAuB;IAC5B,GAAG,EAAE,4BAA4B;IACjC,EAAE,EAAE,YAAY;IAChB,OAAO,EAAE,KAAK;CACN,CAAC;AAGX,MAAM,CAAC,IAAM,WAAW,GAAG;IACzB,cAAc,EAAE,aAAa;IAC7B,YAAY,EAAE,iBAAiB;IAC/B,MAAM,EAAE,YAAY;IACpB,sBAAsB,EAAE,wBAAwB;CACxC,CAAC;AAEX,MAAM,CAAC,IAAM,QAAQ,GAAG;IACtB,OAAO,EAAE,gBAAgB;IACzB,QAAQ,EAAE,MAAM;IAChB,YAAY,EAAE,QAAQ;IACtB,gBAAgB,EAAE,KAAK;IACvB,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,OAAO;IACjB,cAAc,EAAE,OAAO;IACvB,YAAY,EAAE,OAAO;IACrB,QAAQ,EAAE,KAAK;CACP,CAAC;AAEX,MAAM,CAAC,IAAM,eAAe,GAAG;IAC7B,GAAG,EAAE,MAAM;IACX,IAAI,EAAE,OAAO;CACL,CAAC;AAEX,MAAM,CAAC,IAAM,kBAAkB,GAAG;IAChC,OAAO,EAAE,QAAQ;IACjB,IAAI,EAAE,QAAQ;CACN,CAAC"}
|
package/build/src/index.d.ts
CHANGED
|
@@ -246,7 +246,7 @@ export declare const create: ({ baseURL, headerOption, customHttpRequest, versio
|
|
|
246
246
|
getDisplayBrands(request: any): Promise<import("../types/http").ResponseData<any>>;
|
|
247
247
|
getDisplayBrandsBrandNo(request: any): Promise<import("../types/http").ResponseData<any>>;
|
|
248
248
|
getGuestRecentProducts(request: import("../types").GetGuestRecentProductsRequest): Promise<any>;
|
|
249
|
-
getProductsSearch(request:
|
|
249
|
+
getProductsSearch(request: import("../types").GetProductsSearchRequest): Promise<import("../types/http").ResponseData<import("../types").GetProductsSearchResponse>>;
|
|
250
250
|
getProductsBestReviewSearch(request: any): Promise<import("../types/http").ResponseData<any>>;
|
|
251
251
|
getProductsBestSellerSearch(request: any): Promise<import("../types/http").ResponseData<any>>;
|
|
252
252
|
getProfileRecentProducts(request: any): Promise<import("../types/http").ResponseData<any>>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CountryCode } from '../../../types/common';
|
|
1
2
|
export interface MemberGroup {
|
|
2
3
|
memberGroupNo: number;
|
|
3
4
|
memberGroupName: string;
|
|
@@ -44,7 +45,7 @@ export interface GetProfileResponse {
|
|
|
44
45
|
directMailAgreed: boolean;
|
|
45
46
|
directMailAgreeYmdt: string;
|
|
46
47
|
directMailDisagreeYmdt?: any;
|
|
47
|
-
countryCd:
|
|
48
|
+
countryCd: CountryCode;
|
|
48
49
|
oauthIdNo: string;
|
|
49
50
|
additionalInfo: string;
|
|
50
51
|
adultCertificated: boolean;
|
|
@@ -164,7 +165,7 @@ export interface PutProfileRequest {
|
|
|
164
165
|
export interface PutProfileResponse {
|
|
165
166
|
directMailDisagreeYmdt?: string;
|
|
166
167
|
businessName?: string;
|
|
167
|
-
countryCd:
|
|
168
|
+
countryCd: CountryCode;
|
|
168
169
|
zipCd?: string;
|
|
169
170
|
pushNotificationAgreed: boolean;
|
|
170
171
|
directMailAgreeYmdt?: string;
|
|
@@ -250,7 +251,7 @@ export interface PostProfileRequest {
|
|
|
250
251
|
export interface PostProfileResponse {
|
|
251
252
|
directMailDisagreeYmdt?: string;
|
|
252
253
|
businessName?: string;
|
|
253
|
-
countryCd:
|
|
254
|
+
countryCd: CountryCode;
|
|
254
255
|
zipCd?: string;
|
|
255
256
|
pushNotificationAgreed: boolean;
|
|
256
257
|
directMailAgreeYmdt?: string;
|
|
@@ -205,7 +205,7 @@ export interface GetOrderSheetsOrderSheetNoResponse {
|
|
|
205
205
|
agreementTypes: AgreementType[];
|
|
206
206
|
requireCustomsIdNumber: boolean;
|
|
207
207
|
lastPayType: PayType;
|
|
208
|
-
orderSheetPromotionSummary
|
|
208
|
+
orderSheetPromotionSummary: Nullable<OrderSheetPromotionSummary>;
|
|
209
209
|
applyCashReceiptForAccount: boolean;
|
|
210
210
|
orderSheetAddress: OrderSheetAddress;
|
|
211
211
|
paymentInfo: PaymentInfo;
|
|
@@ -268,9 +268,7 @@ export interface OrderSheetAddressAddressDetail {
|
|
|
268
268
|
receiverContact2: string;
|
|
269
269
|
}
|
|
270
270
|
export interface OrderSheetPromotionSummary {
|
|
271
|
-
usableDeliveryCouponCnt: number;
|
|
272
271
|
myAccumulationAmt: number;
|
|
273
|
-
myDeliveryCouponCnt: number;
|
|
274
272
|
usableCouponCnt: number;
|
|
275
273
|
myCouponCnt: number;
|
|
276
274
|
}
|
|
@@ -16,6 +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 { DeliveryConditionType } from './search/union';
|
|
19
20
|
export * from './core';
|
|
20
21
|
export * from './amount';
|
|
21
22
|
export * from './category';
|
|
@@ -24,6 +25,7 @@ export * from './option';
|
|
|
24
25
|
export * from './partner';
|
|
25
26
|
export * from './rental';
|
|
26
27
|
export * from './reservation';
|
|
28
|
+
export * from './search';
|
|
27
29
|
export interface GetProductsProductNoRequest extends OptionalAccessTokenRequest {
|
|
28
30
|
pathVariable: {
|
|
29
31
|
productNo: number;
|
|
@@ -88,14 +90,16 @@ export interface PostProfileLikeProductsResponse {
|
|
|
88
90
|
result: boolean;
|
|
89
91
|
productNo: number;
|
|
90
92
|
}
|
|
91
|
-
interface
|
|
93
|
+
interface DepthCategory {
|
|
92
94
|
parentCategoryNo: number;
|
|
93
95
|
displayOrder: number;
|
|
94
96
|
count: number;
|
|
95
97
|
categoryNo: number;
|
|
96
|
-
|
|
98
|
+
label: string;
|
|
97
99
|
}
|
|
98
|
-
|
|
100
|
+
export declare type CouponStatus = Record<'product' | 'partner' | 'event' | 'category' | 'brand', boolean>;
|
|
101
|
+
export declare type Accumulation = Record<'rewardRateOfMemberBenefit' | 'amount' | 'rewardRateOfProduct', number>;
|
|
102
|
+
interface ProductSearch {
|
|
99
103
|
groupManagementCodeName: string;
|
|
100
104
|
minSalePrice: number;
|
|
101
105
|
groupManagementCode: string;
|
|
@@ -109,12 +113,13 @@ interface getProductSearchResponseItems {
|
|
|
109
113
|
brandNo: number;
|
|
110
114
|
mainBestProductYn: boolean;
|
|
111
115
|
brandName: string;
|
|
112
|
-
listImageUrls: Array<
|
|
116
|
+
listImageUrls: Array<string>;
|
|
113
117
|
immediateDiscountAmt: number;
|
|
114
|
-
stickerLabels: Array<
|
|
118
|
+
stickerLabels: Array<string>;
|
|
119
|
+
hasCoupons: CouponStatus;
|
|
115
120
|
eventCouponByProduct: EventCouponByProduct;
|
|
116
|
-
immediateDiscountUnitType:
|
|
117
|
-
additionDiscountUnitType:
|
|
121
|
+
immediateDiscountUnitType: DiscountUnit;
|
|
122
|
+
additionDiscountUnitType: DiscountUnit;
|
|
118
123
|
frontDisplayYn: boolean;
|
|
119
124
|
saleCnt: number;
|
|
120
125
|
saleStartYmdt: string;
|
|
@@ -126,7 +131,7 @@ interface getProductSearchResponseItems {
|
|
|
126
131
|
displayCategoryNos: string;
|
|
127
132
|
productManagementCd: string;
|
|
128
133
|
reservationData: DisplayEventsEventNoReservationData;
|
|
129
|
-
deliveryConditionType:
|
|
134
|
+
deliveryConditionType: DeliveryConditionType;
|
|
130
135
|
sectionProductStartYmdt: string;
|
|
131
136
|
accumulationAmtWhenBuyConfirm: number;
|
|
132
137
|
brandNameType: BrandNameType;
|
|
@@ -149,45 +154,42 @@ interface getProductSearchResponseItems {
|
|
|
149
154
|
promotionText: string;
|
|
150
155
|
stickerInfos: ProductStickerInfo[];
|
|
151
156
|
hsCode: string;
|
|
152
|
-
imageUrls: Array<
|
|
157
|
+
imageUrls: Array<string>;
|
|
153
158
|
brandNameEn: string;
|
|
154
|
-
accumulationInfo:
|
|
155
|
-
description: string;
|
|
156
|
-
rewardRateOfMemberBenefit: number;
|
|
157
|
-
amount: number;
|
|
158
|
-
rewardRateOfProduct: number;
|
|
159
|
-
};
|
|
159
|
+
accumulationInfo: Accumulation;
|
|
160
160
|
mainStockCnt: number;
|
|
161
161
|
productNameEn: string;
|
|
162
162
|
searchProductId?: string;
|
|
163
163
|
stockCnt: number;
|
|
164
164
|
saleStatusType: SaleStatus;
|
|
165
165
|
}
|
|
166
|
+
export interface ProductSearchBrand {
|
|
167
|
+
brandName: string;
|
|
168
|
+
brandNameKo: string;
|
|
169
|
+
count: number;
|
|
170
|
+
brandNameEn: string;
|
|
171
|
+
BrandNameType: BrandNameType;
|
|
172
|
+
brandNo: number;
|
|
173
|
+
}
|
|
174
|
+
export interface ClickUrlPrefix {
|
|
175
|
+
param: string;
|
|
176
|
+
url: string;
|
|
177
|
+
}
|
|
166
178
|
export interface GetProductsSearchResponse {
|
|
167
179
|
pageCount: number;
|
|
168
|
-
brands:
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
brandNameEn: string;
|
|
173
|
-
BrandNameType: BrandNameType;
|
|
174
|
-
brandNo: number;
|
|
175
|
-
};
|
|
176
|
-
depth4Categories: depthCategories[];
|
|
177
|
-
depth3Categories: depthCategories[];
|
|
178
|
-
depth2Categories: depthCategories[];
|
|
180
|
+
brands: Array<ProductSearchBrand>;
|
|
181
|
+
depth4Categories: Array<DepthCategory>;
|
|
182
|
+
depth3Categories: Array<DepthCategory>;
|
|
183
|
+
depth2Categories: Array<DepthCategory>;
|
|
179
184
|
totalCount: number;
|
|
180
185
|
multiLevelCategories: MallsCategoriesMultiLevelCategories[];
|
|
181
186
|
minPrice: number;
|
|
182
|
-
depth1Categories:
|
|
187
|
+
depth1Categories: Array<DepthCategory>;
|
|
183
188
|
displayableStock: boolean;
|
|
184
189
|
maxPrice: number;
|
|
185
|
-
clickUrlPrefix:
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
};
|
|
189
|
-
items: getProductSearchResponseItems[];
|
|
190
|
-
depth5Categories: depthCategories[];
|
|
190
|
+
clickUrlPrefix: ClickUrlPrefix;
|
|
191
|
+
items: Array<ProductSearch>;
|
|
192
|
+
depth5Categories: Array<DepthCategory>;
|
|
191
193
|
}
|
|
192
194
|
export interface GetProductsProductNoRelatedProductsRequest extends OptionalAccessTokenRequest {
|
|
193
195
|
pathVariable: {
|
|
@@ -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":"AA2CA,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;AAC9B,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { DeliveryConditionType, DiscountedComparison, SaleStatus, OrderBy, OrderDirection, ShippingAreaType } from "./union";
|
|
2
|
+
export interface GetProductsSearchRequest {
|
|
3
|
+
queryString: Partial<{
|
|
4
|
+
'filter.discountedPrices': number;
|
|
5
|
+
'filter.keywords': string;
|
|
6
|
+
'filter.keywordInResult': string;
|
|
7
|
+
'filter.discountedComparison': DiscountedComparison;
|
|
8
|
+
'filter.deliveryConditionType': DeliveryConditionType;
|
|
9
|
+
'filter.saleStatus': SaleStatus;
|
|
10
|
+
'filter.soldout': boolean;
|
|
11
|
+
'filter.totalReviewCount': boolean;
|
|
12
|
+
'filter.familyMalls': boolean;
|
|
13
|
+
'filter.productManagementCd': string;
|
|
14
|
+
'filter.excludeMallProductNo': string;
|
|
15
|
+
'filter.includeMallProductNo': string;
|
|
16
|
+
'filter.customProperties.propNos': string;
|
|
17
|
+
'filter.customProperties.propValueNos': string;
|
|
18
|
+
'order.by': OrderBy;
|
|
19
|
+
'order.direction': OrderDirection;
|
|
20
|
+
'order.soldoutPlaceEnd': boolean;
|
|
21
|
+
categoryNos: string;
|
|
22
|
+
brandNos: string;
|
|
23
|
+
partnerNo: number;
|
|
24
|
+
clientKey: string;
|
|
25
|
+
pageNumber: number;
|
|
26
|
+
pageSize: number;
|
|
27
|
+
onlySaleProduct: boolean;
|
|
28
|
+
hasMaxCouponAmt: boolean;
|
|
29
|
+
hasTotalCount: boolean;
|
|
30
|
+
hasOptionValues: boolean;
|
|
31
|
+
includeSummaryInfo: boolean;
|
|
32
|
+
shippingAreaType: ShippingAreaType;
|
|
33
|
+
}>;
|
|
34
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../types/domain/product/search/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DELIVERY_CONDITION_TYPE, DISCOUNTED_COMPARISON, SALE_STATUS, ORDER_BY, ORDER_DIRECTION, SHIPPING_AREA_TYPE } from '../../../../../src';
|
|
2
|
+
export declare type DeliveryConditionType = keyof typeof DELIVERY_CONDITION_TYPE;
|
|
3
|
+
export declare type DiscountedComparison = keyof typeof DISCOUNTED_COMPARISON;
|
|
4
|
+
export declare type SaleStatus = keyof typeof SALE_STATUS;
|
|
5
|
+
export declare type OrderBy = keyof typeof ORDER_BY;
|
|
6
|
+
export declare type OrderDirection = keyof typeof ORDER_DIRECTION;
|
|
7
|
+
export declare type ShippingAreaType = keyof typeof SHIPPING_AREA_TYPE;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../types/domain/product/search/union/index.ts"],"names":[],"mappings":""}
|