@shopby/shop-sdk 1.60.2 → 1.60.3

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,13 @@
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.60.3](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.60.2...v1.60.3) (2023-05-09)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * 수정 PlatformType 사용하는 타입, ResponsePlatformType 추가 ([715d866](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/715d86663ea80b8ca1d04a15be7c765c058bb536))
11
+
5
12
  ### [1.60.2](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.60.1...v1.60.2) (2023-05-09)
6
13
 
7
14
 
@@ -4,7 +4,7 @@ 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, EventNoOrderBy, DisplayOptionType, SlideDirectionType, ScreenType, PopupDesignType } from "./unions";
7
+ import { ProductInquiryType, ProviderType, DisplayStatusType, SearchType, ReviewOrderByType, ReviewOrderDirectionType, BestReviewType, BoardType, BoardImageType, PhotoReviewDisplayType, InquiryBoardType, InquiryBoardImageType, SlideCountType, ScreenSizeUnitType, PopupPageType, EventUrlType, EventProgressStatus, EventOrderBy, DiscountUnitType, EventNoOrderBy, DisplayOptionType, SlideDirectionType, ScreenType, PopupDesignType, ResponsePlatformType } from './unions';
8
8
  import { Space, SpaceMappingResult } from './space';
9
9
  import { DateYmdt, Nullable } from 'types/common';
10
10
  import { ClaimStatusType, DefaultOrderStatusType, OrderOptionType } from 'types';
@@ -212,7 +212,7 @@ export interface DisplayEventsEventNoCouponDiscountInfo {
212
212
  export interface DisplayEventsEventNoCouponIssueConstraint {
213
213
  dailyIssueLimitCnt?: number;
214
214
  issuePerPersonLimitCnt?: number;
215
- issuablePlatformTypes?: Array<PlatformType>;
215
+ issuablePlatformTypes?: Array<ResponsePlatformType>;
216
216
  memberGradeName?: string;
217
217
  dailyIssuePerPersonLimitCnt?: number;
218
218
  dailyIssueLimit?: boolean;
@@ -222,7 +222,7 @@ export interface DisplayEventsEventNoCouponUseConstraint {
222
222
  limitPayType?: string;
223
223
  useDays?: number;
224
224
  minSalePrice?: number;
225
- usablePlatformTypes?: Array<PlatformType>;
225
+ usablePlatformTypes?: Array<ResponsePlatformType>;
226
226
  useEndYmdt?: string;
227
227
  minDeliveryAmt?: number;
228
228
  maxSalePrice?: number;
@@ -877,7 +877,7 @@ export interface ProductsProductNoProductReview {
877
877
  export interface ProductsProductNoProductReviewsItem {
878
878
  productTotalCount?: number;
879
879
  myReview?: boolean;
880
- platformType?: Omit<PlatformType, 'AOS' | 'IOS'>;
880
+ platformType?: Omit<ResponsePlatformType, 'AOS' | 'IOS'>;
881
881
  memberName?: string;
882
882
  content?: string;
883
883
  providerType?: string;
@@ -1297,7 +1297,7 @@ export interface OrderedOption {
1297
1297
  export interface ProductReview {
1298
1298
  productTotalCount: number;
1299
1299
  myReview: boolean;
1300
- platformType: PlatformType;
1300
+ platformType: Omit<ResponsePlatformType, 'AOS' | 'IOS'>;
1301
1301
  memberName: string;
1302
1302
  content: string;
1303
1303
  providerType: ProviderType;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/domain/display/index.ts"],"names":[],"mappings":"AAkDA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/domain/display/index.ts"],"names":[],"mappings":"AAoDA,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, DISPLAY_OPTION_TYPE_MAP, SLIDE_DIRECTION_TYPE_MAP, SCREEN_TYPE_MAP, POPUP_DESIGN_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, 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, SLIDE_DIRECTION_TYPE_MAP, SCREEN_TYPE_MAP, POPUP_DESIGN_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;
@@ -18,6 +18,7 @@ export declare type DisplayOptionType = keyof typeof DISPLAY_OPTION_TYPE_MAP;
18
18
  export declare type SlideDirectionType = keyof typeof SLIDE_DIRECTION_TYPE_MAP;
19
19
  export declare type ScreenType = keyof typeof SCREEN_TYPE_MAP;
20
20
  export declare type PopupDesignType = keyof typeof POPUP_DESIGN_TYPE_MAP;
21
+ export declare type ResponsePlatformType = PlatformType | 'MOBILE_APP' | 'RESPONSIVE';
21
22
  export declare type PopupPageType = 'MAIN' | 'CATEGORY' | 'EVENT' | 'PRODUCT';
22
23
  export declare type DiscountUnitType = 'WON' | 'RATE';
23
24
  export declare type EventUrlType = 'EVENT_NUMBER' | 'DIRECT';
@@ -66,7 +66,7 @@ export interface CouponUseConstraintInformation {
66
66
  useDays: number;
67
67
  minSalePrice: number;
68
68
  useEndYmdt: string;
69
- usablePlatformTypes: Array<PlatformType>;
69
+ usablePlatformTypes: Array<Omit<PlatformType, 'AOS' | 'IOS'> | 'MOBILE_APP'>;
70
70
  minDeliveryAmt: number;
71
71
  limitPayTypes: PayType[];
72
72
  maxSalePrice: number;
@@ -114,7 +114,7 @@ export interface CouponConstraintInformation {
114
114
  dailyIssueLimitCnt: number;
115
115
  issuePerPersonLimitCnt: number;
116
116
  memberGradeName: string;
117
- issuablePlatformTypes: Array<PlatformType>;
117
+ issuablePlatformTypes: Array<Omit<PlatformType, 'AOS' | 'IOS'> | 'MOBILE_APP'>;
118
118
  memberGradeNames: Array<string>;
119
119
  channelTypes: Array<string>;
120
120
  dailyIssuePerPersonLimitCnt: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopby/shop-sdk",
3
- "version": "1.60.2",
3
+ "version": "1.60.3",
4
4
  "description": "",
5
5
  "main": "build/src/index.js",
6
6
  "types": "build/types/index.d.ts",