@be-link/ecommerce-trade-service-node-sdk 0.0.29 → 0.0.31

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.
@@ -150,6 +150,8 @@ export declare namespace PosOrderQueryService {
150
150
  detailAddress: string;
151
151
  /** 商品送货范围(门店可见范围) */
152
152
  visibleStores: string[] | null;
153
+ /** 运费模板(省级ID列表) */
154
+ freightTemplate: string[] | null;
153
155
  }
154
156
  interface IOrderDetail {
155
157
  order: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/ecommerce-trade-service-node-sdk",
3
- "version": "0.0.29",
3
+ "version": "0.0.31",
4
4
  "description": "EcommerceTradeService Node.js SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/utils/http.js CHANGED
@@ -64,9 +64,9 @@ async function callApi(url, request) {
64
64
  const response = await axios_1.default.post(url, request, {
65
65
  headers: {
66
66
  'x-request-id': requestId,
67
- 'x-pandora-user-id': pandoraUserId,
68
- 'x-be-link-user-id': beLinkUserId,
69
- 'x-pandora-role-id': pandoraRoleId,
67
+ 'x-belink-pandora-userid': pandoraUserId,
68
+ 'x-belink-userid': beLinkUserId,
69
+ 'x-belink-pandora-roleid': pandoraRoleId,
70
70
  },
71
71
  });
72
72
  const responseData = response.data;