@pisell/pisellos 2.2.246 → 2.2.248

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.
@@ -26,6 +26,8 @@ export declare class OrderModule extends BaseModule implements Module, OrderModu
26
26
  private giftSelectResolver;
27
27
  /** applyPromotion 递归保护 flag(写路径同步调 applyPromotion,禁止重入) */
28
28
  private isApplyingPromotion;
29
+ /** 商品曾应用过客户券卡,客户变更剥离后需强制跑一次 calcDiscount 复位价格 */
30
+ private hasActiveCustomerBoundDiscount;
29
31
  /** 最近一次 applyPromotion 的未满足促销提示 */
30
32
  private lastUnfulfilledPromotions;
31
33
  /** 最近一次 applyPromotion 的赠品操作 diff(debug / SDK 读取使用) */
@@ -258,6 +260,8 @@ export declare class OrderModule extends BaseModule implements Module, OrderModu
258
260
  updateTempOrderContactsInfo(contactsInfo: Record<string, any> | null): Record<string, any> | null;
259
261
  private buildTempOrderCustomer;
260
262
  private isCustomerBoundDiscount;
263
+ private productHasCustomerBoundDiscount;
264
+ private shouldSkipDiscountCalculation;
261
265
  private clearCustomerBoundDiscounts;
262
266
  /**
263
267
  * 更新当前 tempOrder 的客户协议字段。
@@ -476,6 +480,7 @@ export declare class OrderModule extends BaseModule implements Module, OrderModu
476
480
  recalcOnHydrate?: boolean;
477
481
  }): Promise<OrderTempOrder>;
478
482
  private normalizeTempOrderForRuntime;
483
+ private hydrateLinkedBookingIdentity;
479
484
  private pickHydratedDisplayText;
480
485
  private formatHydratedNamePair;
481
486
  private buildHydratedProductOptionString;