@be-link/ecommerce-trade-service-node-sdk 0.1.23 → 0.1.24
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/enums.d.ts +7 -0
- package/enums.js +8 -0
- package/modules/pos/orderQuery/types.d.ts +7 -0
- package/modules/ros/orderQuery/types.d.ts +4 -2
- package/package.json +1 -1
- package/types.d.ts +2 -0
package/enums.d.ts
CHANGED
|
@@ -207,6 +207,13 @@ export declare namespace ENUM {
|
|
|
207
207
|
/** 满赠 */
|
|
208
208
|
FULL_GIFT = "FULL_GIFT"
|
|
209
209
|
}
|
|
210
|
+
/** 核销类型 */
|
|
211
|
+
enum VerificationType {
|
|
212
|
+
/** 手机号核销 */
|
|
213
|
+
PHONE = "PHONE",
|
|
214
|
+
/** 自主核销 */
|
|
215
|
+
USER = "USER"
|
|
216
|
+
}
|
|
210
217
|
}
|
|
211
218
|
/** RabbitMQ 交换机路由枚举 */
|
|
212
219
|
export declare namespace EXCHANGE_ENUM {
|
package/enums.js
CHANGED
|
@@ -230,6 +230,14 @@ var ENUM;
|
|
|
230
230
|
/** 满赠 */
|
|
231
231
|
ActivityType["FULL_GIFT"] = "FULL_GIFT";
|
|
232
232
|
})(ActivityType = ENUM.ActivityType || (ENUM.ActivityType = {}));
|
|
233
|
+
/** 核销类型 */
|
|
234
|
+
let VerificationType;
|
|
235
|
+
(function (VerificationType) {
|
|
236
|
+
/** 手机号核销 */
|
|
237
|
+
VerificationType["PHONE"] = "PHONE";
|
|
238
|
+
/** 自主核销 */
|
|
239
|
+
VerificationType["USER"] = "USER";
|
|
240
|
+
})(VerificationType = ENUM.VerificationType || (ENUM.VerificationType = {}));
|
|
233
241
|
})(ENUM || (exports.ENUM = ENUM = {}));
|
|
234
242
|
/** RabbitMQ 交换机路由枚举 */
|
|
235
243
|
var EXCHANGE_ENUM;
|
|
@@ -167,6 +167,8 @@ export declare namespace PosOrderQueryService {
|
|
|
167
167
|
interface IListItem {
|
|
168
168
|
orderId: string;
|
|
169
169
|
createdAt: number;
|
|
170
|
+
/** 支付时间 */
|
|
171
|
+
payTime?: number;
|
|
170
172
|
source: ENUM.OrderSource;
|
|
171
173
|
platform: ENUM.OrderPlatform;
|
|
172
174
|
productId: string;
|
|
@@ -186,6 +188,9 @@ export declare namespace PosOrderQueryService {
|
|
|
186
188
|
productDispatch: string;
|
|
187
189
|
orderType: ENUM.OrderType;
|
|
188
190
|
liveRoomGroupName?: string;
|
|
191
|
+
/** 门店ID */
|
|
192
|
+
storeId?: string;
|
|
193
|
+
/** 门店名称 */
|
|
189
194
|
storeName?: string;
|
|
190
195
|
userNickname?: string;
|
|
191
196
|
}
|
|
@@ -283,6 +288,8 @@ export declare namespace PosOrderQueryService {
|
|
|
283
288
|
specName: string;
|
|
284
289
|
specCode: string;
|
|
285
290
|
unitPrice: number;
|
|
291
|
+
/** 商品数量 */
|
|
292
|
+
quantity: number;
|
|
286
293
|
productPick: string;
|
|
287
294
|
isVirtual: boolean;
|
|
288
295
|
}[];
|
|
@@ -36,6 +36,8 @@ export declare namespace RosOrderQueryService {
|
|
|
36
36
|
queryBlocks: (keyof DTO.ReverseQueryBlockMap)[];
|
|
37
37
|
}
|
|
38
38
|
interface IList {
|
|
39
|
+
/** 退款订单ID列表 */
|
|
40
|
+
reverseOrderIds?: string[];
|
|
39
41
|
/** 订单ID列表 */
|
|
40
42
|
orderIds?: string[];
|
|
41
43
|
/** 用户ID列表 */
|
|
@@ -78,8 +80,8 @@ export declare namespace RosOrderQueryService {
|
|
|
78
80
|
interface IExportOrderData extends IList {
|
|
79
81
|
}
|
|
80
82
|
interface IExportOrderDataByIds {
|
|
81
|
-
/**
|
|
82
|
-
|
|
83
|
+
/** 退款订单IDs */
|
|
84
|
+
reverseOrderIds: string[];
|
|
83
85
|
/** 分页 */
|
|
84
86
|
pagination: {
|
|
85
87
|
pageIndex: number;
|
package/package.json
CHANGED