@shopby/shop-sdk 1.55.3 → 1.55.5

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,20 @@
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.5](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.55.4...v1.55.5) (2023-03-23)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * profile > 상품평 타입 수정 ([3e94fe8](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/3e94fe87c43e0f3c4fa50985717a36ce69b6d4e9))
11
+
12
+ ### [1.55.4](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.55.3...v1.55.4) (2023-03-23)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * profile > product review ([4fd17ee](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/4fd17ee59837183f1187e79a0334364cb29d7ca8))
18
+
5
19
  ### [1.55.3](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.55.0...v1.55.3) (2023-03-22)
6
20
 
7
21
 
@@ -7,4 +7,5 @@ export declare const PLATFORM_TYPE_MAP: {
7
7
  readonly AOS: "AOS";
8
8
  readonly IOS: "IOS";
9
9
  readonly MOBILE_APP: "MOBILE_APP";
10
+ readonly RESPONSIVE: "RESPONSIVE";
10
11
  };
@@ -7,5 +7,6 @@ export var PLATFORM_TYPE_MAP = {
7
7
  AOS: 'AOS',
8
8
  IOS: 'IOS',
9
9
  MOBILE_APP: 'MOBILE_APP',
10
+ RESPONSIVE: 'RESPONSIVE', // 반응형
10
11
  };
11
12
  //# sourceMappingURL=index.js.map
@@ -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;CAChB,CAAC"}
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;IACxB,UAAU,EAAE,YAAY,EAAE,MAAM;CACxB,CAAC"}
@@ -74,3 +74,7 @@ export declare const SCREEN_SIZE_UNIT_TYPE_MAP: {
74
74
  PERCENT: string;
75
75
  PIXEL: string;
76
76
  };
77
+ export declare const DISPLAY_OPTION_TYPE_MAP: {
78
+ readonly NORMAL_OPTION: "일반 옵션";
79
+ readonly ADDITIONAL_PRODUCT: "추가 옵션";
80
+ };
@@ -74,4 +74,8 @@ export var SCREEN_SIZE_UNIT_TYPE_MAP = {
74
74
  PERCENT: '%',
75
75
  PIXEL: 'pixel',
76
76
  };
77
+ export var DISPLAY_OPTION_TYPE_MAP = {
78
+ NORMAL_OPTION: '일반 옵션',
79
+ ADDITIONAL_PRODUCT: '추가 옵션'
80
+ };
77
81
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/display/maps/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,wBAAwB,GAAG;IACtC,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,MAAM,EAA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EF,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 './../order/unions';
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, EventNoOrderBy } from './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 } from './unions';
8
8
  import { Space, SpaceMappingResult } from './space';
9
9
  import { DateYmdt, Nullable } from 'types/common';
10
- import { DefaultOrderStatusType, OrderOptionType } from 'types';
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';
@@ -870,7 +870,7 @@ export interface ProductsProductNoProductReview {
870
870
  export interface ProductsProductNoProductReviewsItem {
871
871
  productTotalCount?: number;
872
872
  myReview?: boolean;
873
- platformType?: string;
873
+ platformType?: Omit<PlatformType, 'AOS' | 'IOS'>;
874
874
  memberName?: string;
875
875
  content?: string;
876
876
  providerType?: string;
@@ -986,13 +986,9 @@ export interface ProductsProductReviewsOrderedOption {
986
986
  optionName?: string;
987
987
  orderOptionNo?: number;
988
988
  }
989
- export interface ProfileOrderOptionsProductReviewable {
990
- totalCount?: number;
991
- items?: Array<ProfileOrderOptionsProductReviewableItem>;
992
- }
993
989
  export interface ProfileOrderOptionsProductReviewableDelivery {
994
- deliveryCompanyTypeLabel?: string;
995
- deliveryCompanyType?: string;
990
+ deliveryCompanyTypeLabel?: DeliveryCompanyTypeLabel;
991
+ deliveryCompanyType?: DeliveryCompanyType;
996
992
  retrieveInvoiceUrl?: string;
997
993
  invoiceNo?: string;
998
994
  }
@@ -1008,8 +1004,8 @@ export interface ProfileOrderOptionsProductReviewableItem {
1008
1004
  optionUsed?: boolean;
1009
1005
  productName?: string;
1010
1006
  additionalProductNo?: number;
1011
- claimStatusType?: string;
1012
- optionType?: string;
1007
+ claimStatusType?: ClaimStatusType;
1008
+ optionType?: DisplayOptionType;
1013
1009
  deliveryInternationalYn?: boolean;
1014
1010
  price?: ProfileOrderOptionsProductReviewablePrice;
1015
1011
  imageUrl?: string;
@@ -1023,16 +1019,17 @@ export interface ProfileOrderOptionsProductReviewableItem {
1023
1019
  optionTitle?: string;
1024
1020
  brandName?: string;
1025
1021
  orderNo?: string;
1026
- orderStatusType?: string;
1022
+ orderStatusType?: DefaultOrderStatusType;
1027
1023
  optionValue?: string;
1028
1024
  orderCnt?: number;
1029
- exchangeYn?: string;
1025
+ exchangeYn?: Yn;
1030
1026
  accumulationAmt?: number;
1031
1027
  orderStatusDate?: ProfileOrderOptionsProductReviewableOrderStatusDate;
1032
1028
  brandNameEn?: string;
1033
1029
  productNameEn?: string;
1034
1030
  optionManagementCd?: string;
1035
1031
  optionName?: string;
1032
+ photoReviewAccumulationAmt: number;
1036
1033
  }
1037
1034
  export interface ProfileOrderOptionsProductReviewableNextAction {
1038
1035
  nextActionType?: string;
@@ -1088,11 +1085,8 @@ export interface ProfileProductInquiriesItems {
1088
1085
  displayStatusType?: string;
1089
1086
  inquiryNo?: number;
1090
1087
  }
1091
- export interface ProfileProductReviews {
1092
- totalCount?: number;
1093
- items?: Array<ProfileProductReviewsItems>;
1094
- }
1095
- export interface ProfileProductReviewsItems {
1088
+ export interface ProfileProductReviewsItem {
1089
+ isDeletedProductReview: boolean;
1096
1090
  productManagementCd?: string;
1097
1091
  blindReportCnt?: number;
1098
1092
  brandName?: string;
@@ -1426,8 +1420,9 @@ export interface GetProfileProductReviewsRequest {
1426
1420
  searchKeyword?: string;
1427
1421
  };
1428
1422
  }
1429
- export interface GetProfileProductReviewsResponse extends ProfileProductReviewsItems {
1430
- isDeletedProductReview: string;
1423
+ export interface GetProfileProductReviewsResponse {
1424
+ totalCount: number;
1425
+ items: Array<NonNullable<ProfileProductReviewsItem>>;
1431
1426
  }
1432
1427
  export interface GetProfileOrderOptionsProductReviewableRequest {
1433
1428
  queryString: {
@@ -1441,8 +1436,9 @@ export interface GetProfileOrderOptionsProductReviewableRequest {
1441
1436
  orderNo?: string;
1442
1437
  };
1443
1438
  }
1444
- export interface GetProfileOrderOptionsProductReviewableResponse extends ProfileOrderOptionsProductReviewableItem {
1445
- photoReviewAccumulationAmt: number;
1439
+ export interface GetProfileOrderOptionsProductReviewableResponse {
1440
+ totalCount: number;
1441
+ items: Array<NonNullable<ProfileOrderOptionsProductReviewableItem>>;
1446
1442
  }
1447
1443
  export interface PostDesignPopupsRequest {
1448
1444
  useAccessToken?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/domain/display/index.ts"],"names":[],"mappings":"AA4CA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/domain/display/index.ts"],"names":[],"mappings":"AAkDA,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 '../../../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 } 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,6 +14,7 @@ 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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopby/shop-sdk",
3
- "version": "1.55.3",
3
+ "version": "1.55.5",
4
4
  "description": "",
5
5
  "main": "build/src/index.js",
6
6
  "types": "build/types/index.d.ts",