@pisell/pisellos 2.3.11 → 2.3.13
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 -0
- package/dist/modules/Order/index.js +6 -0
- package/dist/server/index.d.ts +3 -0
- package/dist/server/index.js +1202 -916
- package/dist/solution/BookingByStep/index.d.ts +1 -1
- package/dist/solution/BookingTicket/index.d.ts +2 -1
- package/dist/solution/BookingTicket/index.js +87 -12
- package/lib/modules/Order/index.d.ts +1 -0
- package/lib/modules/Order/index.js +4 -0
- package/lib/server/index.d.ts +3 -0
- package/lib/server/index.js +196 -3
- package/lib/solution/BookingByStep/index.d.ts +1 -1
- package/lib/solution/BookingTicket/index.d.ts +2 -1
- package/lib/solution/BookingTicket/index.js +78 -7
- package/package.json +1 -1
|
@@ -524,5 +524,6 @@ export declare class OrderModule extends BaseModule implements Module, OrderModu
|
|
|
524
524
|
private normalizeHydratedOrderProduct;
|
|
525
525
|
getLastOrderInfo(): Record<string, any> | undefined;
|
|
526
526
|
getOrderInfo(order_id: number): Promise<any>;
|
|
527
|
+
getVouchers(): any[];
|
|
527
528
|
}
|
|
528
529
|
export type { UpdateOrderBookingParams, UpdateOrderProductParams, UpdateOrderProductQuantityParams, } from './types';
|
|
@@ -5663,6 +5663,12 @@ export var OrderModule = /*#__PURE__*/function (_BaseModule) {
|
|
|
5663
5663
|
}
|
|
5664
5664
|
return getOrderInfo;
|
|
5665
5665
|
}()
|
|
5666
|
+
}, {
|
|
5667
|
+
key: "getVouchers",
|
|
5668
|
+
value: function getVouchers() {
|
|
5669
|
+
var _this$store$tempOrder5;
|
|
5670
|
+
return ((_this$store$tempOrder5 = this.store.tempOrder) === null || _this$store$tempOrder5 === void 0 ? void 0 : _this$store$tempOrder5.vouchers) || [];
|
|
5671
|
+
}
|
|
5666
5672
|
}], [{
|
|
5667
5673
|
key: "populateSavedAmounts",
|
|
5668
5674
|
value: function populateSavedAmounts(productList, discountList) {
|
package/dist/server/index.d.ts
CHANGED
|
@@ -431,6 +431,9 @@ declare class Server {
|
|
|
431
431
|
private shouldLookupLocalPrintOrder;
|
|
432
432
|
private getLocalPrintOrderLookup;
|
|
433
433
|
private handleLocalPrintOrder;
|
|
434
|
+
private handleMachinecodeBatchMetadata;
|
|
435
|
+
private resolveMachinecodeBatchMetadataLookup;
|
|
436
|
+
private syncMachinecodeBatchMetadataToLocalOrder;
|
|
434
437
|
private handleOrderCheckoutSubmit;
|
|
435
438
|
private handleSyncCheckoutSubmit;
|
|
436
439
|
private handlePendingSyncCheckoutOrder;
|