@shopby/shop-sdk 1.56.13 → 1.56.14

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.56.14](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.56.13...v1.56.14) (2023-03-30)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * 쿠폰조회 response 타입 수정 ([9c19ebc](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/9c19ebc93e0b66e802e12d9d0df367b7210e5e35))
11
+
5
12
  ### [1.56.13](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.56.12...v1.56.13) (2023-03-30)
6
13
 
7
14
 
@@ -16,9 +16,9 @@ export interface GetCouponsRequest extends OptionalAccessTokenRequest {
16
16
  }
17
17
  export interface GetCouponsResponse {
18
18
  totalCount: number;
19
- items: CouponItems[];
19
+ items: CouponItem[];
20
20
  }
21
- export interface CouponItems {
21
+ export interface CouponItem {
22
22
  reason: string;
23
23
  discountRate: number;
24
24
  discountAmt: number;
@@ -30,7 +30,7 @@ export interface CouponItems {
30
30
  used: boolean;
31
31
  useEndYmdt: string;
32
32
  cartCouponUsable: boolean;
33
- couponType: string;
33
+ couponType: PromotionCouponType;
34
34
  productCouponUsable: boolean;
35
35
  issueYmdt: string;
36
36
  fixedAmt: boolean;
@@ -38,14 +38,14 @@ export interface CouponItems {
38
38
  limitPayType: PayType;
39
39
  useYmdt: string;
40
40
  couponNo: number;
41
- couponTargetType: string;
41
+ couponTargetType: PromotionCouponTargetType;
42
42
  skipsAccumulation: boolean;
43
43
  otherCouponUsable: boolean;
44
- usablePlatforms: string;
44
+ usablePlatforms: 'PC' | 'MOBILE_WEB' | 'MOBILE_APP';
45
45
  minDeliveryAmt: number;
46
46
  maxSalePrice: number;
47
- memberGradeNames: string;
48
- memberGroupNames: string;
47
+ memberGradeNames: Array<string>;
48
+ memberGroupNames: Array<string>;
49
49
  }
50
50
  export declare type GetCouponsIssuableResponse = Array<CouponsIssuable>;
51
51
  export interface CouponsIssuable {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopby/shop-sdk",
3
- "version": "1.56.13",
3
+ "version": "1.56.14",
4
4
  "description": "",
5
5
  "main": "build/src/index.js",
6
6
  "types": "build/types/index.d.ts",