@pisell/pisellos 2.3.205 → 2.3.206

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.
@@ -2242,7 +2242,7 @@ export function queryAvailabilityProjection(projection, request) {
2242
2242
  var _extractFixedOffsetMi6, _request$productIds2;
2243
2243
  var runtimeOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
2244
2244
  var normalizedPartySize = normalizePartySize(request.partySize);
2245
- var evaluatedAt = formatDateTime(localDateToScalar(new Date()), projection.meta.timezone, (_extractFixedOffsetMi6 = extractFixedOffsetMinutes(projection.meta.now)) !== null && _extractFixedOffsetMi6 !== void 0 ? _extractFixedOffsetMi6 : captureRuntimeOffsetMinutes());
2245
+ var evaluatedAt = runtimeOptions.evaluatedAt || formatDateTime(localDateToScalar(new Date()), projection.meta.timezone, (_extractFixedOffsetMi6 = extractFixedOffsetMinutes(projection.meta.now)) !== null && _extractFixedOffsetMi6 !== void 0 ? _extractFixedOffsetMi6 : captureRuntimeOffsetMinutes());
2246
2246
  if (request.target === 'time') {
2247
2247
  assertTimeCandidates(request);
2248
2248
  assertRangesWithinProjection(projection, request.candidates);
@@ -361,6 +361,8 @@ export declare class UnifiedBookingSalesImpl extends BookingTicket {
361
361
  private buildAvailabilityProjectionSnapshot;
362
362
  private getSharedPreparedAvailabilitySnapshot;
363
363
  private refreshAvailabilityContextProjection;
364
+ /** Read an existing customer selection without refreshing its clock or occupancy snapshot. */
365
+ private getCustomerSelectionProjection;
364
366
  private ensureAvailabilityContextProjection;
365
367
  private tryAcquireAvailabilityCommitLock;
366
368
  private releaseAvailabilityCommitLock;
@@ -377,7 +379,7 @@ export declare class UnifiedBookingSalesImpl extends BookingTicket {
377
379
  private findProductLineByUid;
378
380
  private findLinkedBooking;
379
381
  removeBookingProductsOutsideStartDate(startDate: unknown): Promise<import("../../modules/Order/types").OrderProduct[]>;
380
- /** Revalidates against the latest landed occupancy cache, then mutates exactly one product line. */
382
+ /** Customer snapshot writes defer availability to checkout; other callers retain cache revalidation. */
381
383
  commitAvailabilitySelection(contextId: string, params: ContextualCommitAvailabilitySelectionParams): Promise<UnifiedBookingSalesCommitAvailabilitySelectionResult>;
382
384
  }
383
385
  export declare const UnifiedBookingSales: typeof UnifiedBookingSalesImpl;