@be-link/ecommerce-plan-allocation-service-node-sdk 0.0.14 → 0.0.15

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.
@@ -1,3 +1,4 @@
1
+ import type { ExpressDeliveryApiResponseEnvelope, RealTimeQueryData } from '@be-link/express-delivery-api-sdk';
1
2
  import { FastifyRequest } from 'fastify';
2
3
  export declare namespace Service {
3
4
  /** 物流信息实体 */
@@ -253,16 +254,12 @@ export declare namespace Service {
253
254
  /** 位置信息 */
254
255
  location?: string | null;
255
256
  }
256
- /** 物流单号信息 */
257
- interface LogisticsInfo {
258
- /** 快递公司名称(如:顺丰速运、中通快递) */
257
+ /** 物流单号信息(快递100 实时查询返回的完整响应信息,包含 raw 字段,并补充快递公司名称) */
258
+ interface LogisticsInfo extends ExpressDeliveryApiResponseEnvelope<RealTimeQueryData> {
259
+ /** 快递公司名称(根据 com 字段从 CarrierCompany 表查询,如果查询不到则为空字符串) */
259
260
  carrierName: string;
260
- /** 物流单号 */
261
- trackingNumber: string;
262
- /** 物流事件列表(按时间倒序,最新的在前) */
263
- events: LogisticsEvent[];
264
261
  }
265
- /** 门店入库单运货单物流信息列表 */
262
+ /** 门店入库单运货单物流信息列表(直接返回每个运单实时查询结果的完整响应信息) */
266
263
  interface GetStoreStockInOrderLogisticsList {
267
264
  /** 物流信息列表 */
268
265
  data: LogisticsInfo[];
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.14",
3
+ "version": "0.0.15",
4
4
  "description": "EcommercePlanAllocationService Node.js SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",