@shopby/shop-sdk 1.27.21 → 1.27.22

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.27.22](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.27.21...v1.27.22) (2022-11-03)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * myzorder cart api modify ([bc001f8](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/bc001f8bacf2f8ebcb7d1e870263f97a8657dcbe))
11
+
5
12
  ### [1.27.21](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.27.20...v1.27.21) (2022-11-02)
6
13
 
7
14
 
@@ -174,7 +174,7 @@ export declare const create: ({ baseURL, headerOption, customHttpRequest, versio
174
174
  putCart(request: import("../types").PutCartRequest): Promise<import("../types/http").ResponseData<void>>;
175
175
  postCart(request: import("../types").PostCartRequest): Promise<import("../types/http").ResponseData<import("../types").PostCartResponse>>;
176
176
  deleteCart(request: import("../types").DeleteCartRequest): Promise<import("../types/http").ResponseData<any>>;
177
- getCartCalculate(request: import("../types").GetCartCalculateRequest): Promise<import("../types/http").ResponseData<import("../types").CartPrice>>;
177
+ getCartCalculate(request: import("../types").GetCartCalculateRequest): Promise<import("../types/http").ResponseData<import("../types").GetCartCalculateResponse>>;
178
178
  getCartCount(): Promise<{
179
179
  count: number;
180
180
  }>;
@@ -96,7 +96,16 @@ export interface GetCartCalculateRequest extends OptionalAccessTokenRequest {
96
96
  divideInvalidProducts: boolean;
97
97
  };
98
98
  }
99
- export declare type GetCartCalculateResponse = CartPrice;
99
+ export interface GetCartCalculateResponse {
100
+ buyAmt: number;
101
+ discountAmt: number;
102
+ totalAmt: number;
103
+ accumulationAmtWhenBuyConfirm: number;
104
+ standardAmt: number;
105
+ totalPayOnDeliveryAmt: number;
106
+ totalDeliveryAmt: number;
107
+ totalPrePaidDeliveryAmt: number;
108
+ }
100
109
  /**
101
110
  * path: /order-configs
102
111
  */
@@ -1,2 +1,3 @@
1
1
  export * from './unions';
2
+ ;
2
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/domain/order/index.ts"],"names":[],"mappings":"AAiDA,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/domain/order/index.ts"],"names":[],"mappings":"AAiDA,cAAc,UAAU,CAAC;AAmHxB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopby/shop-sdk",
3
- "version": "1.27.21",
3
+ "version": "1.27.22",
4
4
  "description": "",
5
5
  "main": "build/src/index.js",
6
6
  "types": "build/types/index.d.ts",