@be-link/pos-cli-nodejs 1.0.178 → 1.0.180
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
|
@@ -918,16 +918,62 @@ export declare namespace Service {
|
|
|
918
918
|
}
|
|
919
919
|
/** POS 直播间订单聚合查询结果 */
|
|
920
920
|
interface getLiveRoomOrderDetail {
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
921
|
+
/** 对齐 miniapp getOrderDetail 的基础结构,部分字段为占位 */
|
|
922
|
+
groupBooking: {
|
|
923
|
+
userGroupStatus: string | null;
|
|
924
|
+
isSelfInitiated: boolean;
|
|
925
|
+
minNum: number;
|
|
926
|
+
maxNum: number;
|
|
927
|
+
groupId: string | null;
|
|
928
|
+
status: string | null;
|
|
929
|
+
quantity: number;
|
|
930
|
+
canInitiateGroup: boolean;
|
|
931
|
+
extraInfo: Record<string, unknown>;
|
|
932
|
+
manNumber: number;
|
|
933
|
+
womanNumber: number;
|
|
934
|
+
};
|
|
935
|
+
basicInfo: DTO.QueryDataBlockTypeMap['basicInfo'] & {
|
|
936
|
+
supplierName?: string;
|
|
937
|
+
desc?: string;
|
|
938
|
+
teamTourists?: unknown[];
|
|
939
|
+
};
|
|
940
|
+
attributes: DTO.QueryDataBlockTypeMap['attributes'] | Record<string, unknown>;
|
|
941
|
+
fulfillInfo: Record<string, unknown>;
|
|
942
|
+
commodityInfo: Array<Record<string, unknown>>;
|
|
943
|
+
tourismInfo: Record<string, unknown>;
|
|
944
|
+
switchInfo: {
|
|
945
|
+
closeByRejected: boolean;
|
|
946
|
+
isCanMealInfoModified: boolean;
|
|
947
|
+
hasAdjustmentOrder: boolean;
|
|
948
|
+
};
|
|
949
|
+
canModifyTourist: boolean;
|
|
950
|
+
tourMaterial: boolean;
|
|
951
|
+
refundInfo: {
|
|
952
|
+
refundQuantity: number;
|
|
953
|
+
};
|
|
954
|
+
memberRights: {
|
|
955
|
+
cakeCouponCodeList: unknown[];
|
|
956
|
+
};
|
|
957
|
+
promotionInfo: Array<Record<string, unknown>>;
|
|
958
|
+
extraPaymentInfo: unknown[];
|
|
959
|
+
paymentInfo: {
|
|
960
|
+
wxPaymentInfo?: Record<string, unknown>;
|
|
961
|
+
};
|
|
962
|
+
subOrders: unknown[];
|
|
963
|
+
fissionActivity: {
|
|
964
|
+
canJoinFissionAct: boolean;
|
|
965
|
+
fissionActConfigId: string | null;
|
|
966
|
+
actName: string | null;
|
|
967
|
+
};
|
|
968
|
+
invoiceInfo: {
|
|
969
|
+
isInvoice: boolean;
|
|
970
|
+
invoiceStatus: string | null;
|
|
971
|
+
updateDateDesc: string | null;
|
|
972
|
+
invoiceMoney: number | null;
|
|
973
|
+
invoiceOrderMoney: number | null;
|
|
974
|
+
};
|
|
929
975
|
/** 逆向单列表(结构与 ROS queryOrders 一致) */
|
|
930
|
-
refundOrders:
|
|
976
|
+
refundOrders: unknown[];
|
|
931
977
|
depositQuantityMeta: {
|
|
932
978
|
purchaseQuantity: number;
|
|
933
979
|
refundedQuantity: number;
|
package/types.d.ts
CHANGED
|
@@ -291,6 +291,8 @@ export interface IPositiveItemInfo {
|
|
|
291
291
|
bookingDays?: number;
|
|
292
292
|
/** 购买数量(订单快照字段) */
|
|
293
293
|
quantity?: number;
|
|
294
|
+
/** 剩余份数(TradeOrderItemInfo.remainQuantity) */
|
|
295
|
+
remainQuantity?: number;
|
|
294
296
|
/** 分佣金额(订单快照字段) */
|
|
295
297
|
commissionFee?: number;
|
|
296
298
|
/** 单份定金金额(分,订单快照字段) */
|
|
@@ -335,6 +337,8 @@ export type IPositiveItemInfoV2 = {
|
|
|
335
337
|
hotelItemInfo?: CSDto.IHotelItemInfo;
|
|
336
338
|
/** 金币信息 */
|
|
337
339
|
creditInfo: CreditInfo;
|
|
340
|
+
/** 剩余份数(TradeOrderItemInfo.remainQuantity) */
|
|
341
|
+
remainQuantity?: number;
|
|
338
342
|
createdAt: number;
|
|
339
343
|
updatedAt: number;
|
|
340
344
|
};
|
|
@@ -15,6 +15,7 @@ export declare abstract class ItemInfoProxy {
|
|
|
15
15
|
abstract get isHighCommission(): number | boolean | undefined;
|
|
16
16
|
abstract get canUpdateMealInfo(): number | boolean;
|
|
17
17
|
abstract get quantity(): number | undefined;
|
|
18
|
+
abstract get remainQuantity(): number | undefined;
|
|
18
19
|
abstract get commissionFee(): number | undefined;
|
|
19
20
|
abstract get unitDeposit(): number | undefined;
|
|
20
21
|
/** @deprecated 请使用 venueId 代替 */
|
|
@@ -60,6 +61,7 @@ declare class ItemInfoProxyV1 extends ItemInfoProxy {
|
|
|
60
61
|
get isHighCommission(): number;
|
|
61
62
|
get canUpdateMealInfo(): number | boolean;
|
|
62
63
|
get quantity(): number | undefined;
|
|
64
|
+
get remainQuantity(): number | undefined;
|
|
63
65
|
get commissionFee(): number | undefined;
|
|
64
66
|
get unitDeposit(): number | undefined;
|
|
65
67
|
get storeId(): string | undefined;
|
|
@@ -119,6 +121,7 @@ declare class ItemInfoProxyV2 extends ItemInfoProxy {
|
|
|
119
121
|
get isHighCommission(): number | undefined;
|
|
120
122
|
get canUpdateMealInfo(): number;
|
|
121
123
|
get quantity(): number | undefined;
|
|
124
|
+
get remainQuantity(): number | undefined;
|
|
122
125
|
get commissionFee(): number | undefined;
|
|
123
126
|
get unitDeposit(): number | undefined;
|
|
124
127
|
get storeId(): string;
|
|
@@ -24,6 +24,7 @@ class ItemInfoProxyV1 extends ItemInfoProxy {
|
|
|
24
24
|
get isHighCommission() { return this.itemInfo.isHighCommission; }
|
|
25
25
|
get canUpdateMealInfo() { return this.itemInfo.canUpdateMealInfo; }
|
|
26
26
|
get quantity() { return this.itemInfo.quantity; }
|
|
27
|
+
get remainQuantity() { return this.itemInfo.remainQuantity; }
|
|
27
28
|
get commissionFee() { return this.itemInfo.commissionFee; }
|
|
28
29
|
get unitDeposit() { return this.itemInfo.unitDeposit; }
|
|
29
30
|
get storeId() { return this.itemInfo.storeId; }
|
|
@@ -79,6 +80,10 @@ class ItemInfoProxyV2 extends ItemInfoProxy {
|
|
|
79
80
|
get quantity() {
|
|
80
81
|
return this.itemInfo.quantity;
|
|
81
82
|
}
|
|
83
|
+
get remainQuantity() {
|
|
84
|
+
return this.itemInfo
|
|
85
|
+
.remainQuantity;
|
|
86
|
+
}
|
|
82
87
|
get commissionFee() {
|
|
83
88
|
return this.itemInfo.commissionFee;
|
|
84
89
|
}
|