@ticketboothapp/booking 1.2.64 → 1.2.65

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.
@@ -3,7 +3,6 @@ import type { Product } from '../../lib/booking-api';
3
3
  import type { BookingSourceMetadata } from '../../lib/booking/source-metadata';
4
4
  import type { Currency } from './CurrencySwitcher';
5
5
  import type { BookingFlowUiOptions } from './booking-flow-ui';
6
- import type { ProviderDashboardChangeBookingPayload } from './provider-dashboard-change-booking';
7
6
 
8
7
  /** Live selection snapshot for change-booking compare UI (parent dialog). */
9
8
  export interface ChangeFlowSelectionPreview {
@@ -109,7 +108,7 @@ export interface BookingFlowBaseProps {
109
108
  /** Standard (new) reservation flow — no change-booking receipt or callbacks. */
110
109
  export interface NewBookingFlowProps extends BookingFlowBaseProps {}
111
110
 
112
- /** Change booking — adds receipt snapshot, compare preview, and optional dashboard submit. */
111
+ /** Change booking — adds receipt snapshot and compare preview. */
113
112
  export interface ChangeBookingFlowProps extends BookingFlowBaseProps {
114
113
  /** Called when date/tickets/itinerary selection updates (for side-by-side compare in dialog). */
115
114
  onChangeFlowSelectionPreview?: (preview: ChangeFlowSelectionPreview | null) => void;
@@ -128,13 +127,8 @@ export interface ChangeBookingFlowProps extends BookingFlowBaseProps {
128
127
  }>;
129
128
  } | null;
130
129
  /**
131
- * Provider dashboard: submit via this callback instead of customer self-serve
132
- * quote and payment (`quoteChangeBooking`, Stripe).
133
- */
134
- onChangeBooking?: (data: ProviderDashboardChangeBookingPayload) => Promise<void>;
135
- /**
136
- * Provider dashboard only: {@link BookingFlow} renders {@link AdminChangeBookingFlow} instead of
137
- * {@link ChangeBookingFlow}. Same UI/behavior until admin-specific tweaks are added.
130
+ * Embed compatibility (e.g. ticketbooth provider dashboard): ignored same flow as the public site.
131
+ * When true, {@link BookingFlow} still renders the fork {@link AdminChangeBookingFlow} for future divergence.
138
132
  */
139
133
  useAdminChangeBookingFlow?: boolean;
140
134
  }