@be-link/pos-cli-nodejs 1.0.192 → 1.0.193
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/package.json
CHANGED
|
@@ -857,6 +857,78 @@ export declare namespace Service {
|
|
|
857
857
|
/** 来源类型 */
|
|
858
858
|
sourceType?: PosConstants.OrderSourceTypeEnum[];
|
|
859
859
|
}
|
|
860
|
+
interface IProductSearchDropdownReq {
|
|
861
|
+
/** 订单类型,决定路由到酒旅服务还是电商服务 */
|
|
862
|
+
type: 'HOTEL_TRAVEL_DEPOSIT' | 'ECOMMERCE_DEPOSIT' | 'HOTEL_TRAVEL_FULL';
|
|
863
|
+
/** 商品名称,模糊搜索 */
|
|
864
|
+
productName: string;
|
|
865
|
+
}
|
|
866
|
+
interface IOrderListReq {
|
|
867
|
+
/** 订单类型,决定路由到酒旅服务还是电商服务 */
|
|
868
|
+
type: 'HOTEL_TRAVEL_DEPOSIT' | 'ECOMMERCE_DEPOSIT' | 'HOTEL_TRAVEL_FULL';
|
|
869
|
+
/** 页码 */
|
|
870
|
+
page: number;
|
|
871
|
+
/** 页面条数 */
|
|
872
|
+
pageSize: number;
|
|
873
|
+
/** 门店 ID */
|
|
874
|
+
storeId: string;
|
|
875
|
+
/** 联系人姓名 */
|
|
876
|
+
contactName?: string;
|
|
877
|
+
/** 联系人手机号 */
|
|
878
|
+
contactPhone?: string;
|
|
879
|
+
/** 来源人名称,仅酒旅全款单 */
|
|
880
|
+
sourceName?: string;
|
|
881
|
+
/** 商品 id 列表(来自商品搜索下拉框),等值匹配 */
|
|
882
|
+
productIds?: string[];
|
|
883
|
+
/** 时间维度,默认 orderTime(下单时间);仅酒旅全款单支持 travelTime(出行时间) */
|
|
884
|
+
timeType?: string;
|
|
885
|
+
/** 开始时间(毫秒级时间戳) */
|
|
886
|
+
startTime?: number;
|
|
887
|
+
/** 结束时间(毫秒级时间戳) */
|
|
888
|
+
endTime?: number;
|
|
889
|
+
/** 订单状态(多选) */
|
|
890
|
+
orderStatus?: string[];
|
|
891
|
+
/** 商品类目(多选),仅酒旅定金单 / 酒旅全款单 */
|
|
892
|
+
productCategory?: string[];
|
|
893
|
+
/** 来源渠道(多选),仅酒旅全款单 */
|
|
894
|
+
sourceChannel?: string[];
|
|
895
|
+
}
|
|
896
|
+
interface IOrderCountReq {
|
|
897
|
+
/** 酒旅定金单筛选条件 */
|
|
898
|
+
travelDeposit: IOrderCountFilter;
|
|
899
|
+
/** 电商定金单筛选条件 */
|
|
900
|
+
ecommerceDeposit: IOrderCountFilter;
|
|
901
|
+
/** 酒旅全款单筛选条件 */
|
|
902
|
+
travelFullPayment: IOrderCountFilter;
|
|
903
|
+
}
|
|
904
|
+
interface IOrderCountFilter {
|
|
905
|
+
/** ---- 搜索(模糊匹配,各字段独立可空)---- */
|
|
906
|
+
/** 联系人姓名 */
|
|
907
|
+
contactName?: string;
|
|
908
|
+
/** 联系人手机号 */
|
|
909
|
+
contactPhone?: string;
|
|
910
|
+
/** 来源人名称 */
|
|
911
|
+
sourceName?: string;
|
|
912
|
+
/** 门店 ID */
|
|
913
|
+
storeId: string;
|
|
914
|
+
/** ---- 商品筛选 ---- */
|
|
915
|
+
/** 商品 id 列表 */
|
|
916
|
+
productIds?: string[];
|
|
917
|
+
/** ---- 时间筛选 ---- */
|
|
918
|
+
/** 时间维度,默认 orderTime(下单时间);仅酒旅全款单支持 travelTime(出行时间) */
|
|
919
|
+
timeType?: string;
|
|
920
|
+
/** 开始时间(毫秒级时间戳) */
|
|
921
|
+
startTime?: number;
|
|
922
|
+
/** 结束时间(毫秒级时间戳) */
|
|
923
|
+
endTime?: number;
|
|
924
|
+
/** ---- 筛选器 ---- */
|
|
925
|
+
/** 订单状态(多选) */
|
|
926
|
+
orderStatus?: string[];
|
|
927
|
+
/** 商品类目(多选) */
|
|
928
|
+
productCategory?: string[];
|
|
929
|
+
/** 来源渠道(多选) */
|
|
930
|
+
sourceChannel?: string[];
|
|
931
|
+
}
|
|
860
932
|
}
|
|
861
933
|
namespace Response {
|
|
862
934
|
interface mgetUserOrderCountList {
|
|
@@ -1142,6 +1214,51 @@ export declare namespace Service {
|
|
|
1142
1214
|
supplierRejected: number;
|
|
1143
1215
|
};
|
|
1144
1216
|
}
|
|
1217
|
+
interface IProductSearchDropdownResp {
|
|
1218
|
+
list: {
|
|
1219
|
+
/** 商品 ID */
|
|
1220
|
+
productId: string;
|
|
1221
|
+
/** 商品名称 */
|
|
1222
|
+
productName: string;
|
|
1223
|
+
}[];
|
|
1224
|
+
}
|
|
1225
|
+
interface IOrderListResp {
|
|
1226
|
+
/** 总数 */
|
|
1227
|
+
total: number;
|
|
1228
|
+
/** 订单列表 */
|
|
1229
|
+
list: IOrderCard[];
|
|
1230
|
+
}
|
|
1231
|
+
interface IOrderCard {
|
|
1232
|
+
/** 订单 ID */
|
|
1233
|
+
orderId: string;
|
|
1234
|
+
/** 订单状态 */
|
|
1235
|
+
orderStatus: string;
|
|
1236
|
+
productImage: string;
|
|
1237
|
+
categoryTag?: string;
|
|
1238
|
+
channelTag: string;
|
|
1239
|
+
productTitle: string;
|
|
1240
|
+
unitPrice: number;
|
|
1241
|
+
quantity: number;
|
|
1242
|
+
paidQuantity?: number;
|
|
1243
|
+
refundQuantity?: number;
|
|
1244
|
+
estimatedCommission?: number;
|
|
1245
|
+
estimatedCommissionPerUser?: number;
|
|
1246
|
+
sourceName?: string;
|
|
1247
|
+
contactName: string;
|
|
1248
|
+
contactPhone: string;
|
|
1249
|
+
travelStartTime?: number;
|
|
1250
|
+
travelEndTime?: number;
|
|
1251
|
+
depositExpireAt?: number;
|
|
1252
|
+
orderTime: number;
|
|
1253
|
+
}
|
|
1254
|
+
interface IOrderCountResp {
|
|
1255
|
+
/** 酒旅定金单数量 */
|
|
1256
|
+
travelDepositCount: number;
|
|
1257
|
+
/** 电商定金单数量 */
|
|
1258
|
+
ecommerceDepositCount: number;
|
|
1259
|
+
/** 酒旅全款单数量 */
|
|
1260
|
+
travelFullPaymentCount: number;
|
|
1261
|
+
}
|
|
1145
1262
|
}
|
|
1146
1263
|
/** 用户维度查询 */
|
|
1147
1264
|
interface QueryByUserController {
|
|
@@ -1410,4 +1527,22 @@ export declare namespace Service {
|
|
|
1410
1527
|
*/
|
|
1411
1528
|
queryItemOrderCountAndRejectCount(request: Request.IQueryItemOrderCountAndRejectCount): Promise<Response.IQueryItemOrderCountAndRejectCount>;
|
|
1412
1529
|
}
|
|
1530
|
+
/** 潘多拉客户端查询 */
|
|
1531
|
+
interface QueryByPandoraController {
|
|
1532
|
+
/**
|
|
1533
|
+
* 查询商品下拉框
|
|
1534
|
+
* @path /query/pandora/query-product-dropdown
|
|
1535
|
+
*/
|
|
1536
|
+
queryProductDropdown(request: Request.IProductSearchDropdownReq): Promise<Response.IProductSearchDropdownResp>;
|
|
1537
|
+
/**
|
|
1538
|
+
* 查询订单列表
|
|
1539
|
+
* @path /query/pandora/query-order-list
|
|
1540
|
+
*/
|
|
1541
|
+
queryOrderList(request: Request.IOrderListReq): Promise<Response.IOrderListResp>;
|
|
1542
|
+
/**
|
|
1543
|
+
* 查询订单数量
|
|
1544
|
+
* @path /query/pandora/query-order-count
|
|
1545
|
+
*/
|
|
1546
|
+
queryOrderCount(request: Request.IOrderCountReq): Promise<Response.IOrderCountResp>;
|
|
1547
|
+
}
|
|
1413
1548
|
}
|