@shopby/shop-sdk 1.55.3 → 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 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.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
+
5
12
  ### [1.55.3](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.55.0...v1.55.3) (2023-03-22)
6
13
 
7
14
 
@@ -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,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE,IAAI;CACZ,CAAC;AAEF,MAAM,CAAC,IAAM,iBAAiB,GAAG;IAC/B,KAAK,EAAE,KAAK;IACZ,KAAK,EAAE,KAAK;IACZ,KAAK,EAAE,KAAK;IACZ,QAAQ,EAAE,MA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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;
@@ -991,8 +991,8 @@ export interface ProfileOrderOptionsProductReviewable {
991
991
  items?: Array<ProfileOrderOptionsProductReviewableItem>;
992
992
  }
993
993
  export interface ProfileOrderOptionsProductReviewableDelivery {
994
- deliveryCompanyTypeLabel?: string;
995
- deliveryCompanyType?: string;
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?: string;
1012
- optionType?: string;
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?: string;
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<ProfileProductReviewsItems>;
1093
+ items?: Array<ProfileProductReviewsItem>;
1094
1094
  }
1095
- export interface ProfileProductReviewsItems {
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 ProfileProductReviewsItems {
1430
- isDeletedProductReview: string;
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":"AA4CA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC"}
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 '../../../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.4",
4
4
  "description": "",
5
5
  "main": "build/src/index.js",
6
6
  "types": "build/types/index.d.ts",