@pisell/pisellos 2.3.13 → 2.3.14
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/dist/modules/Order/index.d.ts +1 -1
- package/dist/solution/BookingByStep/index.d.ts +1 -1
- package/dist/solution/BookingTicket/index.d.ts +1 -1
- package/dist/solution/BookingTicket/index.js +4 -3
- package/lib/modules/Order/index.d.ts +1 -1
- package/lib/solution/BookingByStep/index.d.ts +1 -1
- package/lib/solution/BookingTicket/index.d.ts +1 -1
- package/lib/solution/BookingTicket/index.js +1 -0
- package/package.json +1 -1
|
@@ -458,7 +458,7 @@ export declare class OrderModule extends BaseModule implements Module, OrderModu
|
|
|
458
458
|
generateIdempotencyToken(): string;
|
|
459
459
|
syncPaymentsToOrder<T = any>(params: SyncPaymentsToOrderParams): Promise<SyncPaymentsToOrderResult<T>>;
|
|
460
460
|
createOrder(params: CommitOrderParams['query']): {
|
|
461
|
-
type: "
|
|
461
|
+
type: "appointment_booking" | "virtual";
|
|
462
462
|
platform: string;
|
|
463
463
|
sales_channel: string;
|
|
464
464
|
order_sales_channel: string;
|
|
@@ -311,7 +311,7 @@ export declare class BookingByStepImpl extends BaseModule implements Module {
|
|
|
311
311
|
date: string;
|
|
312
312
|
status: string;
|
|
313
313
|
week: string;
|
|
314
|
-
weekNum: 0 |
|
|
314
|
+
weekNum: 0 | 5 | 1 | 2 | 3 | 6 | 4;
|
|
315
315
|
}[]>;
|
|
316
316
|
submitTimeSlot(timeSlots: TimeSliceItem): void;
|
|
317
317
|
private getScheduleDataByIds;
|
|
@@ -322,7 +322,7 @@ export declare class BookingTicketImpl extends BaseSalesImpl implements Module {
|
|
|
322
322
|
* 获取当前的客户搜索条件
|
|
323
323
|
* @returns 当前搜索条件
|
|
324
324
|
*/
|
|
325
|
-
getCurrentCustomerSearchParams(): Omit<import("../../modules").ShopGetCustomerListParams, "
|
|
325
|
+
getCurrentCustomerSearchParams(): Omit<import("../../modules").ShopGetCustomerListParams, "skip" | "num">;
|
|
326
326
|
/**
|
|
327
327
|
* 获取客户列表状态(包含滚动加载相关状态)
|
|
328
328
|
* @returns 客户状态
|
|
@@ -2707,8 +2707,9 @@ export var BookingTicketImpl = /*#__PURE__*/function (_BaseSalesImpl) {
|
|
|
2707
2707
|
vouchers: nextVouchers
|
|
2708
2708
|
}));
|
|
2709
2709
|
case 11:
|
|
2710
|
+
this.core.effects.emit("".concat(this.name, ":onVouchersChange"), {});
|
|
2710
2711
|
if (!(batchMetadata.length === 0)) {
|
|
2711
|
-
_context33.next =
|
|
2712
|
+
_context33.next = 14;
|
|
2712
2713
|
break;
|
|
2713
2714
|
}
|
|
2714
2715
|
return _context33.abrupt("return", {
|
|
@@ -2717,7 +2718,7 @@ export var BookingTicketImpl = /*#__PURE__*/function (_BaseSalesImpl) {
|
|
|
2717
2718
|
message: '',
|
|
2718
2719
|
data: []
|
|
2719
2720
|
});
|
|
2720
|
-
case
|
|
2721
|
+
case 14:
|
|
2721
2722
|
identity = this.getOrderIdentity();
|
|
2722
2723
|
externalSaleNumber = (tempOrder === null || tempOrder === void 0 ? void 0 : tempOrder.external_sale_number) || (identity === null || identity === void 0 ? void 0 : identity.externalSaleNumber) || undefined;
|
|
2723
2724
|
orderId = (_ref20 = (_tempOrder$order_id2 = tempOrder === null || tempOrder === void 0 ? void 0 : tempOrder.order_id) !== null && _tempOrder$order_id2 !== void 0 ? _tempOrder$order_id2 : identity === null || identity === void 0 ? void 0 : identity.orderId) !== null && _ref20 !== void 0 ? _ref20 : undefined;
|
|
@@ -2730,7 +2731,7 @@ export var BookingTicketImpl = /*#__PURE__*/function (_BaseSalesImpl) {
|
|
|
2730
2731
|
}, {
|
|
2731
2732
|
osServer: true
|
|
2732
2733
|
}));
|
|
2733
|
-
case
|
|
2734
|
+
case 19:
|
|
2734
2735
|
case "end":
|
|
2735
2736
|
return _context33.stop();
|
|
2736
2737
|
}
|
|
@@ -458,7 +458,7 @@ export declare class OrderModule extends BaseModule implements Module, OrderModu
|
|
|
458
458
|
generateIdempotencyToken(): string;
|
|
459
459
|
syncPaymentsToOrder<T = any>(params: SyncPaymentsToOrderParams): Promise<SyncPaymentsToOrderResult<T>>;
|
|
460
460
|
createOrder(params: CommitOrderParams['query']): {
|
|
461
|
-
type: "
|
|
461
|
+
type: "appointment_booking" | "virtual";
|
|
462
462
|
platform: string;
|
|
463
463
|
sales_channel: string;
|
|
464
464
|
order_sales_channel: string;
|
|
@@ -311,7 +311,7 @@ export declare class BookingByStepImpl extends BaseModule implements Module {
|
|
|
311
311
|
date: string;
|
|
312
312
|
status: string;
|
|
313
313
|
week: string;
|
|
314
|
-
weekNum: 0 |
|
|
314
|
+
weekNum: 0 | 5 | 1 | 2 | 3 | 6 | 4;
|
|
315
315
|
}[]>;
|
|
316
316
|
submitTimeSlot(timeSlots: TimeSliceItem): void;
|
|
317
317
|
private getScheduleDataByIds;
|
|
@@ -322,7 +322,7 @@ export declare class BookingTicketImpl extends BaseSalesImpl implements Module {
|
|
|
322
322
|
* 获取当前的客户搜索条件
|
|
323
323
|
* @returns 当前搜索条件
|
|
324
324
|
*/
|
|
325
|
-
getCurrentCustomerSearchParams(): Omit<import("../../modules").ShopGetCustomerListParams, "
|
|
325
|
+
getCurrentCustomerSearchParams(): Omit<import("../../modules").ShopGetCustomerListParams, "skip" | "num">;
|
|
326
326
|
/**
|
|
327
327
|
* 获取客户列表状态(包含滚动加载相关状态)
|
|
328
328
|
* @returns 客户状态
|
|
@@ -1595,6 +1595,7 @@ var BookingTicketImpl = class extends import_BaseSales.BaseSalesImpl {
|
|
|
1595
1595
|
vouchers: nextVouchers
|
|
1596
1596
|
});
|
|
1597
1597
|
}
|
|
1598
|
+
this.core.effects.emit(`${this.name}:onVouchersChange`, {});
|
|
1598
1599
|
if (batchMetadata.length === 0) {
|
|
1599
1600
|
return {
|
|
1600
1601
|
code: 200,
|