@be-link/ecommerce-plan-allocation-service-node-sdk 0.0.11 → 0.0.13
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/modules/logistics/types.d.ts +30 -5
- package/package.json +1 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { GetTrackingInfoAccepted } from '@be-link/17trak-api-sdk';
|
|
2
1
|
import { FastifyRequest } from 'fastify';
|
|
3
2
|
export declare namespace Service {
|
|
4
3
|
/** 物流信息实体 */
|
|
@@ -109,8 +108,6 @@ export declare namespace Service {
|
|
|
109
108
|
}
|
|
110
109
|
/** 配货单运单号 */
|
|
111
110
|
interface WayBill {
|
|
112
|
-
/** 配货单ID */
|
|
113
|
-
allocationOrderId: string;
|
|
114
111
|
/** 快递单号 */
|
|
115
112
|
num: string;
|
|
116
113
|
/** 快递公司编码 */
|
|
@@ -140,9 +137,15 @@ export declare namespace Service {
|
|
|
140
137
|
subscribeStatus?: number;
|
|
141
138
|
/** 操作人 */
|
|
142
139
|
operator?: string;
|
|
140
|
+
/** 执行时间-介于开始时间 */
|
|
141
|
+
start?: number;
|
|
142
|
+
/** 执行时间-介于结束时间 */
|
|
143
|
+
end?: number;
|
|
143
144
|
}
|
|
144
145
|
/** 配货单单独写入运货单 */
|
|
145
146
|
interface WriteWaybill {
|
|
147
|
+
/** 配货单ID */
|
|
148
|
+
allocationOrderId: string;
|
|
146
149
|
/** 编辑运单号 */
|
|
147
150
|
wayBill: WayBill[];
|
|
148
151
|
}
|
|
@@ -239,10 +242,32 @@ export declare namespace Service {
|
|
|
239
242
|
/** 商品列表(包含所有字段) */
|
|
240
243
|
data: ProductDetailInfo[];
|
|
241
244
|
}
|
|
245
|
+
/** 物流事件信息 */
|
|
246
|
+
interface LogisticsEvent {
|
|
247
|
+
/** 状态文本(如:已签收、派送中、运输中等) */
|
|
248
|
+
statusText: string;
|
|
249
|
+
/** 时间(格式:YYYY-MM-DD HH:mm:ss) */
|
|
250
|
+
time: string;
|
|
251
|
+
/** 详细信息描述 */
|
|
252
|
+
description: string;
|
|
253
|
+
/** 是否是最新状态(用于UI显示,最新状态显示实心圆圈,历史状态显示空心圆圈) */
|
|
254
|
+
isLatest: boolean;
|
|
255
|
+
/** 位置信息 */
|
|
256
|
+
location?: string | null;
|
|
257
|
+
}
|
|
258
|
+
/** 物流单号信息 */
|
|
259
|
+
interface LogisticsInfo {
|
|
260
|
+
/** 快递公司名称(如:顺丰速运、中通快递) */
|
|
261
|
+
carrierName: string;
|
|
262
|
+
/** 物流单号 */
|
|
263
|
+
trackingNumber: string;
|
|
264
|
+
/** 物流事件列表(按时间倒序,最新的在前) */
|
|
265
|
+
events: LogisticsEvent[];
|
|
266
|
+
}
|
|
242
267
|
/** 门店入库单运货单物流信息列表 */
|
|
243
268
|
interface GetStoreStockInOrderLogisticsList {
|
|
244
|
-
/**
|
|
245
|
-
data:
|
|
269
|
+
/** 物流信息列表 */
|
|
270
|
+
data: LogisticsInfo[];
|
|
246
271
|
}
|
|
247
272
|
}
|
|
248
273
|
interface LogisticsController {
|