@pisell/pisellos 2.3.23 → 2.3.25

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.
@@ -0,0 +1,9 @@
1
+ // 导出评估器
2
+ export { PromotionEvaluator } from "./evaluator";
3
+
4
+ // 导出适配器
5
+ export { PromotionAdapter } from "./adapter";
6
+ export { default } from "./adapter";
7
+
8
+ // 导出策略配置示例常量
9
+ export { X_ITEMS_FOR_Y_PRICE_STRATEGY, BUY_X_GET_Y_FREE_STRATEGY } from "./examples";
@@ -75,6 +75,7 @@ export declare class OrderModule extends BaseModule implements Module, OrderModu
75
75
  apply?: boolean;
76
76
  }): Promise<Discount[]>;
77
77
  getDiscountList(): Discount[];
78
+ private syncScannedDiscountsToOriginalDiscountList;
78
79
  private ensureEditDiscountConfigForProductChange;
79
80
  scanCode(code: string, customerId?: number): Promise<{
80
81
  isAvailable: boolean;
@@ -464,7 +465,7 @@ export declare class OrderModule extends BaseModule implements Module, OrderModu
464
465
  generateIdempotencyToken(): string;
465
466
  syncPaymentsToOrder<T = any>(params: SyncPaymentsToOrderParams): Promise<SyncPaymentsToOrderResult<T>>;
466
467
  createOrder(params: CommitOrderParams['query']): {
467
- type: "virtual" | "appointment_booking";
468
+ type: "appointment_booking" | "virtual";
468
469
  platform: string;
469
470
  sales_channel: string;
470
471
  order_sales_channel: string;