@pisell/pisellos 0.0.551 → 0.0.552

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.
@@ -34,6 +34,7 @@ export interface ScanOrderOrderProductIdentity {
34
34
  /** 参与合并/匹配;与 remove 通配语义见 isSkuOnlyDeleteIdentity */
35
35
  product_option_item?: any[];
36
36
  product_bundle?: any[];
37
+ shop_id?: number | string;
37
38
  }
38
39
  export interface ScanOrderOrderProduct extends ScanOrderOrderProductIdentity {
39
40
  order_detail_id: number | null;
@@ -7,7 +7,7 @@ import type { OpenDataAvailabilityResult } from '../../modules/OpenData';
7
7
  import type { ProductData } from '../../modules/Product/types';
8
8
  import { type CartItemSummary, type PaxInfo, type QuantityCheckResult, type QuantityLimitResult } from '../../model/strategy/adapter/itemRule';
9
9
  import type { StrategyConfig } from '../../model/strategy/type';
10
- import type { IAppendFormRecordParams } from '../../modules/Holder/types';
10
+ import type { IAppendFormRecordParams, IRefreshAllFormRecordsParams } from '../../modules/Holder/types';
11
11
  export * from './types';
12
12
  interface VenueBookingItemRuleRuntimeConfig {
13
13
  strategyConfigs?: StrategyConfig[];
@@ -54,7 +54,6 @@ export declare class VenueBookingImpl extends BaseModule implements Module {
54
54
  private normalizeCustomerId;
55
55
  private resolveCustomerIdFromLoginPayload;
56
56
  private resolveHolderCustomerId;
57
- private ensureProductHolderForm;
58
57
  /**
59
58
  * 按商品 holder_config 预加载表单数据到 holderMap。
60
59
  * appointment_booking 在加购时触发;venueBooking 在商品加载后预加载,避免 getHolderFormMap 为空。
@@ -206,6 +205,10 @@ export declare class VenueBookingImpl extends BaseModule implements Module {
206
205
  * 获取 holder 表单 map
207
206
  */
208
207
  getHolderFormMap(): import("../../modules/Holder").HolderFormMap;
208
+ /**
209
+ * UI 层触发:按当前 holderMap 批量刷新所有表单的 records
210
+ */
211
+ refreshAllHolderFormRecords(params?: Pick<IRefreshAllFormRecordsParams, 'customer_id' | 'useCache' | 'recordsUrl' | 'num' | 'skip'>): Promise<import("../../modules/Holder").HolderFormMap>;
209
212
  /**
210
213
  * 添加表单记录
211
214
  */