@pisell/pisellos 2.3.12 → 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.
@@ -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: "virtual" | "appointment_booking";
461
+ type: "appointment_booking" | "virtual";
462
462
  platform: string;
463
463
  sales_channel: string;
464
464
  order_sales_channel: string;
@@ -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) {
@@ -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;