@be-link/ecommerce-plan-allocation-service-node-sdk 0.0.34 → 0.0.35

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/enum.d.ts CHANGED
@@ -52,13 +52,15 @@ export declare namespace ENUM {
52
52
  PENDING = "PENDING",
53
53
  PARTIAL = "PARTIAL",
54
54
  SHIPPED = "SHIPPED",
55
- EARLY_COMPLETED = "EARLY_COMPLETED"
55
+ EARLY_COMPLETED = "EARLY_COMPLETED",
56
+ INVALID = "INVALID"
56
57
  }
57
58
  enum STATUS_CHINESE {
58
59
  PENDING = "\u5F85\u53D1\u8D27",
59
60
  PARTIAL = "\u90E8\u5206\u53D1\u8D27",
60
61
  SHIPPED = "\u5DF2\u53D1\u8D27",
61
- EARLY_COMPLETED = "\u63D0\u524D\u5B8C\u6210"
62
+ EARLY_COMPLETED = "\u63D0\u524D\u5B8C\u6210",
63
+ INVALID = "\u5DF2\u5931\u6548"
62
64
  }
63
65
  /** 错误消息常量 */
64
66
  const ERROR_MESSAGES: {
package/enum.js CHANGED
@@ -65,6 +65,7 @@ var ENUM;
65
65
  STATUS["PARTIAL"] = "PARTIAL";
66
66
  STATUS["SHIPPED"] = "SHIPPED";
67
67
  STATUS["EARLY_COMPLETED"] = "EARLY_COMPLETED";
68
+ STATUS["INVALID"] = "INVALID";
68
69
  })(STATUS = ALLOCATION_ORDER_ENUM.STATUS || (ALLOCATION_ORDER_ENUM.STATUS = {}));
69
70
  let STATUS_CHINESE;
70
71
  (function (STATUS_CHINESE) {
@@ -72,6 +73,7 @@ var ENUM;
72
73
  STATUS_CHINESE["PARTIAL"] = "\u90E8\u5206\u53D1\u8D27";
73
74
  STATUS_CHINESE["SHIPPED"] = "\u5DF2\u53D1\u8D27";
74
75
  STATUS_CHINESE["EARLY_COMPLETED"] = "\u63D0\u524D\u5B8C\u6210";
76
+ STATUS_CHINESE["INVALID"] = "\u5DF2\u5931\u6548";
75
77
  })(STATUS_CHINESE = ALLOCATION_ORDER_ENUM.STATUS_CHINESE || (ALLOCATION_ORDER_ENUM.STATUS_CHINESE = {}));
76
78
  /** 错误消息常量 */
77
79
  ALLOCATION_ORDER_ENUM.ERROR_MESSAGES = {
@@ -246,8 +246,8 @@ export declare namespace AllocationOrderTypes {
246
246
  list: Entity.AllocationOrderWithExtension[];
247
247
  totalCount: number;
248
248
  pendingCount: number;
249
- partialCount: number;
250
249
  shippedCount: number;
250
+ invalidCount: number;
251
251
  }
252
252
  /**
253
253
  * 获取配货单详情响应
@@ -21,6 +21,18 @@ export declare namespace StoreProductFulfillTypes {
21
21
  stockInTime: number;
22
22
  stockInQty: number;
23
23
  }
24
+ /** 补货提示项 */
25
+ interface ReplenishTipItem {
26
+ replenishOrderId: string;
27
+ replenishQty: number;
28
+ type: string;
29
+ }
30
+ /** 人工调整提示项 */
31
+ interface ManualAdjustTipItem {
32
+ adjustReason: string;
33
+ adjustQty: number;
34
+ operator: string;
35
+ }
24
36
  /** 商品履约明细项 */
25
37
  interface ProductFulfillDetailItem {
26
38
  batchNo: string;
@@ -31,6 +43,8 @@ export declare namespace StoreProductFulfillTypes {
31
43
  manualAdjustQty: number;
32
44
  stockInQty: number;
33
45
  stockInList: StockInItem[];
46
+ replenishTips: ReplenishTipItem[];
47
+ manualAdjustTips: ManualAdjustTipItem[];
34
48
  }
35
49
  /** 请求定义 */
36
50
  namespace Request {
@@ -142,7 +142,6 @@ export declare namespace StoreReplenishOrderTypes {
142
142
  skuId: string;
143
143
  skuCode: string;
144
144
  productName: string;
145
- dispatchType: string;
146
145
  specName: string;
147
146
  productImage?: string;
148
147
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/ecommerce-plan-allocation-service-node-sdk",
3
- "version": "0.0.34",
3
+ "version": "0.0.35",
4
4
  "description": "EcommercePlanAllocationService Node.js SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",