@be-link/ecommerce-plan-allocation-service-node-sdk 0.0.12 → 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 +24 -3
- 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
|
/** 物流信息实体 */
|
|
@@ -243,10 +242,32 @@ export declare namespace Service {
|
|
|
243
242
|
/** 商品列表(包含所有字段) */
|
|
244
243
|
data: ProductDetailInfo[];
|
|
245
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
|
+
}
|
|
246
267
|
/** 门店入库单运货单物流信息列表 */
|
|
247
268
|
interface GetStoreStockInOrderLogisticsList {
|
|
248
|
-
/**
|
|
249
|
-
data:
|
|
269
|
+
/** 物流信息列表 */
|
|
270
|
+
data: LogisticsInfo[];
|
|
250
271
|
}
|
|
251
272
|
}
|
|
252
273
|
interface LogisticsController {
|