@shopby/shop-sdk 1.55.2 → 1.55.4
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 +18 -0
- package/build/src/common/maps/index.d.ts +1 -0
- package/build/src/common/maps/index.js +1 -0
- package/build/src/common/maps/index.js.map +1 -1
- package/build/src/domain/display/maps/index.d.ts +4 -0
- package/build/src/domain/display/maps/index.js +4 -0
- package/build/src/domain/display/maps/index.js.map +1 -1
- package/build/types/domain/display/index.d.ts +14 -14
- package/build/types/domain/display/index.js.map +1 -1
- package/build/types/domain/display/unions.d.ts +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
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.55.4](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.55.3...v1.55.4) (2023-03-23)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* profile > product review ([4fd17ee](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/4fd17ee59837183f1187e79a0334364cb29d7ca8))
|
|
11
|
+
|
|
12
|
+
### [1.55.3](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.55.0...v1.55.3) (2023-03-22)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* [클레임] ClaimDefaultRequestBody 타입 일부 옵셔널로 수정 & exchange api requestBody 타입 수정 ([#197](https://gitlab.e-ncp.com/ncp-client/shop-sdk/issues/197)) ([dbedf9a](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/dbedf9a39e4eb30552d7c95c224fbd8a2cc437af))
|
|
18
|
+
* getDisplayEventsEventNo order EventNoOrderBy 타입으로 union.ts로 분리 ([beccf31](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/beccf315126c5574e6a5265a893c7af30c15702c))
|
|
19
|
+
* postProfileOrderOptionsOrderOptionNoClaimsExchange api requestBody 타입 수정 ([#197](https://gitlab.e-ncp.com/ncp-client/shop-sdk/issues/197)) ([4d6ecd5](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/4d6ecd54c40a7b8098198e9db2d4ecbac4035826))
|
|
20
|
+
* 클레임 ClaimDefaultRequestBody > returnWayType 옵셔널로 수정 ([#197](https://gitlab.e-ncp.com/ncp-client/shop-sdk/issues/197)) ([93596b0](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/93596b0968661acbe796f6f69f5943b45a036ea6))
|
|
21
|
+
* 클레임 RETURN_WAY_TYPE_MAP value에 띄어쓰기 삽입 ([#197](https://gitlab.e-ncp.com/ncp-client/shop-sdk/issues/197)) ([10a0e5b](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/10a0e5b17713dd7513c6bc1ae80df9e4e01cd062))
|
|
22
|
+
|
|
5
23
|
### [1.55.2](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.55.1...v1.55.2) (2023-03-22)
|
|
6
24
|
|
|
7
25
|
|
|
@@ -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;AAEvB,MAAM,CAAC,IAAM,iBAAiB,GAAG;IAC/B,EAAE,EAAE,IAAI;IACR,UAAU,EAAE,YAAY;IACxB,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,UAAU,EAAE,YAAY;
|
|
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,C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;IAC3C,UAAU,EAAE,YAAY;IACxB,WAAW,EAAE,aAAa;CAClB,CAAC;AAEX,MAAM,CAAC,IAAM,sBAAsB,GAAG;IACpC,OAAO,EAAE,SAAS;CACV,CAAC;AAEX,MAAM,CAAC,IAAM,4BAA4B,GAAG;IAC1C,IAAI,EAAE,MAAM;IACZ,kBAAkB,EAAE,oBAAoB,EAAE,YAAY;CACvD,CAAC;AAEF,MAAM,CAAC,IAAM,mBAAmB,GAAG;IACjC,UAAU,EAAE,KAAK;IACjB,YAAY,EAAE,KAAK;IACnB,WAAW,EAAE,KAAK;IAClB,UAAU,EAAE,KAAK;IACjB,YAAY,EAAE,KAAK;IACnB,WAAW,EAAE,KAAK;CACnB,CAAC;AAEF,MAAM,CAAC,IAAM,yBAAyB,GAAG;IACvC,OAAO,EAAE,GAAG;IACZ,KAAK,EAAE,OAAO;CACf,CAAC;AAEF,MAAM,CAAC,IAAM,uBAAuB,GAAG;IACrC,aAAa,EAAE,OAAO;IACtB,kBAAkB,EAAE,OAAO;CACnB,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Accumulation } from './../product/index';
|
|
2
|
-
import { CouponTargetType, DeliveryConditionType } from
|
|
2
|
+
import { CouponTargetType, DeliveryCompanyType, DeliveryCompanyTypeLabel, DeliveryConditionType } from "./../order/unions";
|
|
3
3
|
import { EventCouponType } from './../promotion/unions';
|
|
4
4
|
import { BrandNameType, ProductSalePeriodType, SaleStatus } from './../product/core/unions/index';
|
|
5
5
|
import { OptionalAccessTokenRequest, RequestConfig } from '../../http';
|
|
6
6
|
import { OrderByType, SaleStatusType, SectionDisplayType, Yn } from '../../common/unions';
|
|
7
|
-
import { ProductInquiryType, ProviderType, DisplayStatusType, SearchType, ReviewOrderByType, ReviewOrderDirectionType, BestReviewType, PlatformType, BoardType, BoardImageType, PhotoReviewDisplayType, InquiryBoardType, InquiryBoardImageType, SlideCountType, ScreenSizeUnitType, PopupPageType, EventUrlType, EventProgressStatus, EventOrderBy, DiscountUnitType } from
|
|
7
|
+
import { ProductInquiryType, ProviderType, DisplayStatusType, SearchType, ReviewOrderByType, ReviewOrderDirectionType, BestReviewType, PlatformType, BoardType, BoardImageType, PhotoReviewDisplayType, InquiryBoardType, InquiryBoardImageType, SlideCountType, ScreenSizeUnitType, PopupPageType, EventUrlType, EventProgressStatus, EventOrderBy, DiscountUnitType, EventNoOrderBy, DisplayOptionType } from "./unions";
|
|
8
8
|
import { Space, SpaceMappingResult } from './space';
|
|
9
9
|
import { DateYmdt, Nullable } from 'types/common';
|
|
10
|
-
import { DefaultOrderStatusType, OrderOptionType } from
|
|
10
|
+
import { ClaimStatusType, DefaultOrderStatusType, OrderOptionType } from "types";
|
|
11
11
|
import { ProductDeliveryConditionType } from '../product/search/union';
|
|
12
12
|
export * from './space';
|
|
13
13
|
export * from './unions';
|
|
@@ -136,7 +136,7 @@ export interface GetDisplayEventsEventNoRequest {
|
|
|
136
136
|
eventNo: string;
|
|
137
137
|
};
|
|
138
138
|
queryString: {
|
|
139
|
-
order?:
|
|
139
|
+
order?: EventNoOrderBy;
|
|
140
140
|
soldout?: boolean;
|
|
141
141
|
saleStatus?: SaleStatusType;
|
|
142
142
|
};
|
|
@@ -870,7 +870,7 @@ export interface ProductsProductNoProductReview {
|
|
|
870
870
|
export interface ProductsProductNoProductReviewsItem {
|
|
871
871
|
productTotalCount?: number;
|
|
872
872
|
myReview?: boolean;
|
|
873
|
-
platformType?:
|
|
873
|
+
platformType?: Omit<PlatformType, 'AOS' | 'IOS'>;
|
|
874
874
|
memberName?: string;
|
|
875
875
|
content?: string;
|
|
876
876
|
providerType?: string;
|
|
@@ -991,8 +991,8 @@ export interface ProfileOrderOptionsProductReviewable {
|
|
|
991
991
|
items?: Array<ProfileOrderOptionsProductReviewableItem>;
|
|
992
992
|
}
|
|
993
993
|
export interface ProfileOrderOptionsProductReviewableDelivery {
|
|
994
|
-
deliveryCompanyTypeLabel?:
|
|
995
|
-
deliveryCompanyType?:
|
|
994
|
+
deliveryCompanyTypeLabel?: DeliveryCompanyTypeLabel;
|
|
995
|
+
deliveryCompanyType?: DeliveryCompanyType;
|
|
996
996
|
retrieveInvoiceUrl?: string;
|
|
997
997
|
invoiceNo?: string;
|
|
998
998
|
}
|
|
@@ -1008,8 +1008,8 @@ export interface ProfileOrderOptionsProductReviewableItem {
|
|
|
1008
1008
|
optionUsed?: boolean;
|
|
1009
1009
|
productName?: string;
|
|
1010
1010
|
additionalProductNo?: number;
|
|
1011
|
-
claimStatusType?:
|
|
1012
|
-
optionType?:
|
|
1011
|
+
claimStatusType?: ClaimStatusType;
|
|
1012
|
+
optionType?: DisplayOptionType;
|
|
1013
1013
|
deliveryInternationalYn?: boolean;
|
|
1014
1014
|
price?: ProfileOrderOptionsProductReviewablePrice;
|
|
1015
1015
|
imageUrl?: string;
|
|
@@ -1023,7 +1023,7 @@ export interface ProfileOrderOptionsProductReviewableItem {
|
|
|
1023
1023
|
optionTitle?: string;
|
|
1024
1024
|
brandName?: string;
|
|
1025
1025
|
orderNo?: string;
|
|
1026
|
-
orderStatusType?:
|
|
1026
|
+
orderStatusType?: DefaultOrderStatusType;
|
|
1027
1027
|
optionValue?: string;
|
|
1028
1028
|
orderCnt?: number;
|
|
1029
1029
|
exchangeYn?: string;
|
|
@@ -1090,9 +1090,9 @@ export interface ProfileProductInquiriesItems {
|
|
|
1090
1090
|
}
|
|
1091
1091
|
export interface ProfileProductReviews {
|
|
1092
1092
|
totalCount?: number;
|
|
1093
|
-
items?: Array<
|
|
1093
|
+
items?: Array<ProfileProductReviewsItem>;
|
|
1094
1094
|
}
|
|
1095
|
-
export interface
|
|
1095
|
+
export interface ProfileProductReviewsItem {
|
|
1096
1096
|
productManagementCd?: string;
|
|
1097
1097
|
blindReportCnt?: number;
|
|
1098
1098
|
brandName?: string;
|
|
@@ -1426,8 +1426,8 @@ export interface GetProfileProductReviewsRequest {
|
|
|
1426
1426
|
searchKeyword?: string;
|
|
1427
1427
|
};
|
|
1428
1428
|
}
|
|
1429
|
-
export interface GetProfileProductReviewsResponse extends
|
|
1430
|
-
isDeletedProductReview:
|
|
1429
|
+
export interface GetProfileProductReviewsResponse extends ProfileProductReviewsItem {
|
|
1430
|
+
isDeletedProductReview: boolean;
|
|
1431
1431
|
}
|
|
1432
1432
|
export interface GetProfileOrderOptionsProductReviewableRequest {
|
|
1433
1433
|
queryString: {
|
|
@@ -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":"AAiDA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
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, BOARD_TYPE_MAP, BOARD_IMAGE_TYPE_MAP, PHOTO_REVIEW_DISPLAY_TYPE_MAP, INQUIRY_BOARD_TYPE_MAP, INQUIRY_BOARD_IMAGE_TYPE_MAP, SLIDECOUNT_TYPE_MAP, SCREEN_SIZE_UNIT_TYPE_MAP } from
|
|
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, BOARD_TYPE_MAP, BOARD_IMAGE_TYPE_MAP, PHOTO_REVIEW_DISPLAY_TYPE_MAP, INQUIRY_BOARD_TYPE_MAP, INQUIRY_BOARD_IMAGE_TYPE_MAP, SLIDECOUNT_TYPE_MAP, SCREEN_SIZE_UNIT_TYPE_MAP, DISPLAY_OPTION_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;
|
|
@@ -14,9 +14,11 @@ export declare type InquiryBoardType = keyof typeof INQUIRY_BOARD_TYPE_MAP;
|
|
|
14
14
|
export declare type InquiryBoardImageType = keyof typeof INQUIRY_BOARD_IMAGE_TYPE_MAP;
|
|
15
15
|
export declare type SlideCountType = keyof typeof SLIDECOUNT_TYPE_MAP;
|
|
16
16
|
export declare type ScreenSizeUnitType = keyof typeof SCREEN_SIZE_UNIT_TYPE_MAP;
|
|
17
|
+
export declare type DisplayOptionType = keyof typeof DISPLAY_OPTION_TYPE_MAP;
|
|
17
18
|
export declare type PopupPageType = 'MAIN' | 'CATEGORY' | 'EVENT' | 'PRODUCT';
|
|
18
19
|
export declare type DiscountUnitType = 'WON' | 'RATE';
|
|
19
20
|
export declare type EventUrlType = 'EVENT_NUMBER' | 'DIRECT';
|
|
20
21
|
export declare type EventProgressStatus = 'ALL' | 'READY' | 'ING' | 'END';
|
|
21
22
|
export declare type EventOrderBy = 'REGISTER_DATE' | 'START_DATE' | 'END_DATE';
|
|
22
23
|
export declare type AffiliateVisits = 'ALL_PRODUCT' | 'PRODUCT' | 'BRAND' | 'CATEGORY' | 'PARTNER' | 'EVENT';
|
|
24
|
+
export declare type EventNoOrderBy = 'SALE' | 'ADMIN_SETTING' | 'BEST_SELLER' | 'BEST_REVIEW';
|