@be-link/ecommerce-plan-allocation-service-node-sdk 0.0.13 → 0.0.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.
@@ -14,12 +14,10 @@ export declare namespace Service {
14
14
  groupId: string;
15
15
  /** 运单号 */
16
16
  num: string;
17
- /** 公司编码 */
18
- carrier: number;
17
+ /** 公司编码(CarrierCompany.id,小写字符串) */
18
+ carrier: string;
19
19
  /** 运单状态 */
20
20
  status: number;
21
- /** 第三方运单状态 */
22
- statusText: string;
23
21
  /** 收货手机号码 */
24
22
  phone: string;
25
23
  /** 订阅状态 */
@@ -110,8 +108,8 @@ export declare namespace Service {
110
108
  interface WayBill {
111
109
  /** 快递单号 */
112
110
  num: string;
113
- /** 快递公司编码 */
114
- carrier: number;
111
+ /** 快递公司编码(CarrierCompany.id,小写字符串) */
112
+ carrier: string;
115
113
  }
116
114
  namespace Request {
117
115
  /** 批量导入运货单 */
@@ -131,8 +129,8 @@ export declare namespace Service {
131
129
  allocationOrderId?: string;
132
130
  /** 门店入库单号 */
133
131
  storeStockInOrderId?: string;
134
- /** 快递公司编码 */
135
- carrier?: number;
132
+ /** 快递公司编码(CarrierCompany.id,小写字符串) */
133
+ carrier?: string;
136
134
  /** 订阅状态:0-未订阅、1-订阅失败、2-取消订阅、3-已订阅、4-订阅中 */
137
135
  subscribeStatus?: number;
138
136
  /** 操作人 */
@@ -149,7 +147,7 @@ export declare namespace Service {
149
147
  /** 编辑运单号 */
150
148
  wayBill: WayBill[];
151
149
  }
152
- /** 运货单公司编码列表 */
150
+ /** 运货单公司编码列表(来自 CarrierCompany 表) */
153
151
  interface GetCarrierList {
154
152
  /** 页码 */
155
153
  pageIndex: number;
@@ -220,8 +218,8 @@ export declare namespace Service {
220
218
  interface GetCarrierList {
221
219
  /** 公司编码总数 */
222
220
  total: number;
223
- /** 公司编码列表 公司名称->公司代码 */
224
- data: Record<string, number>;
221
+ /** 公司编码列表 公司名称->公司编码 */
222
+ data: Record<string, string>;
225
223
  }
226
224
  /** 门店入库单列表 */
227
225
  interface GetStoreStockInOrderList {
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.13",
3
+ "version": "0.0.14",
4
4
  "description": "EcommercePlanAllocationService Node.js SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",