@be-link/ecommerce-trade-service-node-sdk 0.1.65 → 0.1.67

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types.d.ts +7 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/ecommerce-trade-service-node-sdk",
3
- "version": "0.1.65",
3
+ "version": "0.1.67",
4
4
  "description": "EcommerceTradeService Node.js SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/types.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /** 正向订单 */
2
2
  /** 基础信息 */
3
3
  import { ENUM } from './enums';
4
- import { PRODUCT_SERVICE_ENUM, ProductServiceTypes } from '@be-link/ecommerce-product-service-node-sdk';
4
+ import { PRODUCT_SERVICE_ENUM } from '@be-link/ecommerce-product-service-node-sdk';
5
5
  export interface ITradeOrder {
6
6
  id: string;
7
7
  userId: string;
@@ -45,9 +45,9 @@ export interface ITradeOrderSkuInfo {
45
45
  orderId: string;
46
46
  quantity: number;
47
47
  /** 商品快照信息 */
48
- productSnapshot: ProductServiceTypes.Response.getProductSkuInfo['productInfo'];
48
+ productSnapshot: any;
49
49
  /** 商品SKU快照信息 */
50
- skuSnapshot: ProductServiceTypes.Response.getProductSkuInfo['skuList'][0];
50
+ skuSnapshot: any;
51
51
  /** 商品Id */
52
52
  productId: string | null;
53
53
  /** 商品名称 */
@@ -61,7 +61,7 @@ export interface ITradeOrderSkuInfo {
61
61
  /** 商品单价(分) */
62
62
  productPrice: number | null;
63
63
  /** 商品规格列表 */
64
- productSpec: ProductServiceTypes.Attr[] | null;
64
+ productSpec: string[] | null;
65
65
  /** 商品提货方式 */
66
66
  productPick: PRODUCT_SERVICE_ENUM.PRODUCT_ENUM.PICK_TYPE | null;
67
67
  /** 商品发货方式 */
@@ -71,8 +71,8 @@ export interface ITradeOrderSkuInfo {
71
71
  productId: string;
72
72
  skuId: string;
73
73
  quantity: number;
74
- productSnapshot: ProductServiceTypes.Response.getProductSkuInfo['productInfo'];
75
- skuSnapshot: ProductServiceTypes.Response.getProductSkuInfo['skuList'][0];
74
+ productSnapshot: any;
75
+ skuSnapshot: any;
76
76
  }[] | null;
77
77
  createdAt: number;
78
78
  updatedAt: number;
@@ -270,6 +270,7 @@ export interface PosOrderPayload {
270
270
  }
271
271
  /** 正向订单头信息 (value=0或1) */
272
272
  export interface PosOrderHeaders {
273
+ isMemberOrder: string;
273
274
  isCombo: string;
274
275
  isVirtual: string;
275
276
  isVerification: string;