@pisell/pisellos 2.2.324 → 2.2.325

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, ITEM_REWARD_STRATEGY } from "./examples";
@@ -640,7 +640,7 @@ export declare class OrderModule extends BaseModule implements Module, OrderModu
640
640
  generateIdempotencyToken(): string;
641
641
  syncPaymentsToOrder<T = any>(params: SyncPaymentsToOrderParams): Promise<SyncPaymentsToOrderResult<T>>;
642
642
  createOrder(params: CommitOrderParams['query']): {
643
- type: "appointment_booking" | "virtual";
643
+ type: "virtual" | "appointment_booking";
644
644
  platform: string;
645
645
  sales_channel: string;
646
646
  order_sales_channel: string;
@@ -49,5 +49,5 @@ export declare class Product extends BaseModule implements Module {
49
49
  getCategories(): ProductCategory[];
50
50
  setOtherParams(key: string, value: any): void;
51
51
  getOtherParams(): any;
52
- getProductType(): "duration" | "session" | "normal";
52
+ getProductType(): "normal" | "duration" | "session";
53
53
  }
@@ -65,6 +65,7 @@ declare class Server {
65
65
  private deviceTaskActionsRegistered;
66
66
  private localPaymentUpdateQueues;
67
67
  private paymentIdentityRefreshes;
68
+ private receiptFulfillmentConfigInFlight;
68
69
  private floorPlanQuerySubscribers;
69
70
  private moduleRegistry;
70
71
  constructor(core: PisellCore);
@@ -525,6 +526,8 @@ declare class Server {
525
526
  private extractInvoiceTemplateSettings;
526
527
  private applyCheckoutFulfillmentBuzzer;
527
528
  private buildCheckoutResourceIdentifierBuzzer;
529
+ /** Refresh derived references on receipt copies; manual references and stored orders stay intact. */
530
+ private withCurrentReceiptResourceReference;
528
531
  private getCheckoutResourceIdentifier;
529
532
  private stringifyCheckoutResourceIdentifier;
530
533
  private normalizeCheckoutSubmitData;