@voyantjs/bookings-react 0.6.8 → 0.7.0

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.
Files changed (57) hide show
  1. package/dist/hooks/index.d.ts +8 -5
  2. package/dist/hooks/index.d.ts.map +1 -1
  3. package/dist/hooks/index.js +8 -5
  4. package/dist/hooks/use-booking-convert-mutation.d.ts +6 -0
  5. package/dist/hooks/use-booking-convert-mutation.d.ts.map +1 -1
  6. package/dist/hooks/use-booking-documents.d.ts +8 -8
  7. package/dist/hooks/use-booking-documents.d.ts.map +1 -1
  8. package/dist/hooks/use-booking-documents.js +17 -7
  9. package/dist/hooks/use-booking-dual-create-mutation.d.ts +146 -0
  10. package/dist/hooks/use-booking-dual-create-mutation.d.ts.map +1 -0
  11. package/dist/hooks/use-booking-dual-create-mutation.js +45 -0
  12. package/dist/hooks/use-booking-item-participants.d.ts +6 -16
  13. package/dist/hooks/use-booking-item-participants.d.ts.map +1 -1
  14. package/dist/hooks/use-booking-item-participants.js +19 -17
  15. package/dist/hooks/use-booking-item-travelers.d.ts +32 -0
  16. package/dist/hooks/use-booking-item-travelers.d.ts.map +1 -0
  17. package/dist/hooks/use-booking-item-travelers.js +48 -0
  18. package/dist/hooks/use-booking-note-mutation.d.ts +12 -1
  19. package/dist/hooks/use-booking-note-mutation.d.ts.map +1 -1
  20. package/dist/hooks/use-booking-note-mutation.js +17 -4
  21. package/dist/hooks/use-booking-quick-create-mutation.d.ts +122 -0
  22. package/dist/hooks/use-booking-quick-create-mutation.d.ts.map +1 -0
  23. package/dist/hooks/use-booking-quick-create-mutation.js +40 -0
  24. package/dist/hooks/use-booking-status-mutation.d.ts +27 -0
  25. package/dist/hooks/use-booking-status-mutation.d.ts.map +1 -1
  26. package/dist/hooks/use-booking-status-mutation.js +24 -0
  27. package/dist/hooks/use-passenger-mutation.d.ts +12 -2
  28. package/dist/hooks/use-passenger-mutation.d.ts.map +1 -1
  29. package/dist/hooks/use-passengers.d.ts +1 -17
  30. package/dist/hooks/use-passengers.d.ts.map +1 -1
  31. package/dist/hooks/use-passengers.js +1 -11
  32. package/dist/hooks/use-pricing-preview.d.ts +49 -0
  33. package/dist/hooks/use-pricing-preview.d.ts.map +1 -0
  34. package/dist/hooks/use-pricing-preview.js +18 -0
  35. package/dist/hooks/use-public-booking-session-flow-mutation.d.ts +7 -8
  36. package/dist/hooks/use-public-booking-session-flow-mutation.d.ts.map +1 -1
  37. package/dist/hooks/use-public-booking-session.d.ts +7 -8
  38. package/dist/hooks/use-public-booking-session.d.ts.map +1 -1
  39. package/dist/hooks/use-traveler-mutation.d.ts +56 -0
  40. package/dist/hooks/use-traveler-mutation.d.ts.map +1 -0
  41. package/dist/hooks/use-traveler-mutation.js +42 -0
  42. package/dist/hooks/use-travelers.d.ts +23 -0
  43. package/dist/hooks/use-travelers.d.ts.map +1 -0
  44. package/dist/hooks/use-travelers.js +12 -0
  45. package/dist/index.d.ts +1 -1
  46. package/dist/index.d.ts.map +1 -1
  47. package/dist/index.js +1 -1
  48. package/dist/query-keys.d.ts +9 -1
  49. package/dist/query-keys.d.ts.map +1 -1
  50. package/dist/query-keys.js +4 -1
  51. package/dist/query-options.d.ts +237 -60
  52. package/dist/query-options.d.ts.map +1 -1
  53. package/dist/query-options.js +30 -9
  54. package/dist/schemas.d.ts +150 -43
  55. package/dist/schemas.d.ts.map +1 -1
  56. package/dist/schemas.js +62 -11
  57. package/package.json +5 -5
@@ -0,0 +1,12 @@
1
+ "use client";
2
+ import { useQuery } from "@tanstack/react-query";
3
+ import { useVoyantBookingsContext } from "../provider.js";
4
+ import { getTravelersQueryOptions } from "../query-options.js";
5
+ export function useTravelers(bookingId, options = {}) {
6
+ const { baseUrl, fetcher } = useVoyantBookingsContext();
7
+ const { enabled = true } = options;
8
+ return useQuery({
9
+ ...getTravelersQueryOptions({ baseUrl, fetcher }, bookingId),
10
+ enabled: enabled && Boolean(bookingId),
11
+ });
12
+ }
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ export { defaultFetcher, fetchWithValidation, VoyantApiError, type VoyantFetcher
2
2
  export * from "./hooks/index.js";
3
3
  export { useVoyantBookingsContext, type VoyantBookingsContextValue, VoyantBookingsProvider, type VoyantBookingsProviderProps, } from "./provider.js";
4
4
  export { bookingsQueryKeys } from "./query-keys.js";
5
- export { getBookingActivityQueryOptions, getBookingDocumentsQueryOptions, getBookingGroupForBookingQueryOptions, getBookingGroupQueryOptions, getBookingGroupsQueryOptions, getBookingItemParticipantsQueryOptions, getBookingItemsQueryOptions, getBookingNotesQueryOptions, getBookingQueryOptions, getBookingsQueryOptions, getPassengersQueryOptions, getPublicBookingSessionQueryOptions, getPublicBookingSessionStateQueryOptions, getSupplierStatusesQueryOptions, } from "./query-options.js";
5
+ export { getBookingActivityQueryOptions, getBookingGroupForBookingQueryOptions, getBookingGroupQueryOptions, getBookingGroupsQueryOptions, getBookingItemsQueryOptions, getBookingItemTravelersQueryOptions, getBookingNotesQueryOptions, getBookingQueryOptions, getBookingsQueryOptions, getBookingTravelerDocumentsQueryOptions, getPricingPreviewQueryOptions, getPublicBookingSessionQueryOptions, getPublicBookingSessionStateQueryOptions, getSupplierStatusesQueryOptions, getTravelersQueryOptions, } from "./query-options.js";
6
6
  export * from "./schemas.js";
7
7
  export { type BookingStatusBadgeVariant, bookingStatusBadgeVariant, bookingStatuses, bookingStatusOptions, formatBookingStatus, } from "./status-presentation.js";
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,KAAK,aAAa,GACnB,MAAM,aAAa,CAAA;AACpB,cAAc,kBAAkB,CAAA;AAChC,OAAO,EACL,wBAAwB,EACxB,KAAK,0BAA0B,EAC/B,sBAAsB,EACtB,KAAK,2BAA2B,GACjC,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AACnD,OAAO,EACL,8BAA8B,EAC9B,+BAA+B,EAC/B,qCAAqC,EACrC,2BAA2B,EAC3B,4BAA4B,EAC5B,sCAAsC,EACtC,2BAA2B,EAC3B,2BAA2B,EAC3B,sBAAsB,EACtB,uBAAuB,EACvB,yBAAyB,EACzB,mCAAmC,EACnC,wCAAwC,EACxC,+BAA+B,GAChC,MAAM,oBAAoB,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,OAAO,EACL,KAAK,yBAAyB,EAC9B,yBAAyB,EACzB,eAAe,EACf,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,0BAA0B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,KAAK,aAAa,GACnB,MAAM,aAAa,CAAA;AACpB,cAAc,kBAAkB,CAAA;AAChC,OAAO,EACL,wBAAwB,EACxB,KAAK,0BAA0B,EAC/B,sBAAsB,EACtB,KAAK,2BAA2B,GACjC,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AACnD,OAAO,EACL,8BAA8B,EAC9B,qCAAqC,EACrC,2BAA2B,EAC3B,4BAA4B,EAC5B,2BAA2B,EAC3B,mCAAmC,EACnC,2BAA2B,EAC3B,sBAAsB,EACtB,uBAAuB,EACvB,uCAAuC,EACvC,6BAA6B,EAC7B,mCAAmC,EACnC,wCAAwC,EACxC,+BAA+B,EAC/B,wBAAwB,GACzB,MAAM,oBAAoB,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,OAAO,EACL,KAAK,yBAAyB,EAC9B,yBAAyB,EACzB,eAAe,EACf,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,0BAA0B,CAAA"}
package/dist/index.js CHANGED
@@ -2,6 +2,6 @@ export { defaultFetcher, fetchWithValidation, VoyantApiError, } from "./client.j
2
2
  export * from "./hooks/index.js";
3
3
  export { useVoyantBookingsContext, VoyantBookingsProvider, } from "./provider.js";
4
4
  export { bookingsQueryKeys } from "./query-keys.js";
5
- export { getBookingActivityQueryOptions, getBookingDocumentsQueryOptions, getBookingGroupForBookingQueryOptions, getBookingGroupQueryOptions, getBookingGroupsQueryOptions, getBookingItemParticipantsQueryOptions, getBookingItemsQueryOptions, getBookingNotesQueryOptions, getBookingQueryOptions, getBookingsQueryOptions, getPassengersQueryOptions, getPublicBookingSessionQueryOptions, getPublicBookingSessionStateQueryOptions, getSupplierStatusesQueryOptions, } from "./query-options.js";
5
+ export { getBookingActivityQueryOptions, getBookingGroupForBookingQueryOptions, getBookingGroupQueryOptions, getBookingGroupsQueryOptions, getBookingItemsQueryOptions, getBookingItemTravelersQueryOptions, getBookingNotesQueryOptions, getBookingQueryOptions, getBookingsQueryOptions, getBookingTravelerDocumentsQueryOptions, getPricingPreviewQueryOptions, getPublicBookingSessionQueryOptions, getPublicBookingSessionStateQueryOptions, getSupplierStatusesQueryOptions, getTravelersQueryOptions, } from "./query-options.js";
6
6
  export * from "./schemas.js";
7
7
  export { bookingStatusBadgeVariant, bookingStatuses, bookingStatusOptions, formatBookingStatus, } from "./status-presentation.js";
@@ -11,6 +11,11 @@ export interface BookingGroupsListFilters {
11
11
  limit?: number | undefined;
12
12
  offset?: number | undefined;
13
13
  }
14
+ export interface PricingPreviewFilters {
15
+ productId: string;
16
+ optionId?: string | null | undefined;
17
+ catalogId?: string | null | undefined;
18
+ }
14
19
  export declare const bookingsQueryKeys: {
15
20
  readonly all: readonly ["voyant", "bookings"];
16
21
  readonly bookings: () => readonly ["voyant", "bookings", "bookings"];
@@ -20,9 +25,11 @@ export declare const bookingsQueryKeys: {
20
25
  readonly publicSession: (sessionId: string) => readonly ["voyant", "bookings", "public-sessions", "detail", string];
21
26
  readonly publicSessionState: (sessionId: string) => readonly ["voyant", "bookings", "public-sessions", "detail", string, "state"];
22
27
  readonly items: (bookingId: string) => readonly ["voyant", "bookings", "bookings", "detail", string, "items"];
28
+ readonly itemTravelers: (bookingId: string, itemId: string) => readonly ["voyant", "bookings", "bookings", "detail", string, "items", string, "travelers"];
23
29
  readonly itemParticipants: (bookingId: string, itemId: string) => readonly ["voyant", "bookings", "bookings", "detail", string, "items", string, "participants"];
24
- readonly documents: (bookingId: string) => readonly ["voyant", "bookings", "bookings", "detail", string, "documents"];
30
+ readonly travelers: (bookingId: string) => readonly ["voyant", "bookings", "bookings", "detail", string, "travelers"];
25
31
  readonly passengers: (bookingId: string) => readonly ["voyant", "bookings", "bookings", "detail", string, "passengers"];
32
+ readonly documents: (bookingId: string) => readonly ["voyant", "bookings", "bookings", "detail", string, "documents"];
26
33
  readonly supplierStatuses: (bookingId: string) => readonly ["voyant", "bookings", "bookings", "detail", string, "supplier-statuses"];
27
34
  readonly activity: (bookingId: string) => readonly ["voyant", "bookings", "bookings", "detail", string, "activity"];
28
35
  readonly notes: (bookingId: string) => readonly ["voyant", "bookings", "bookings", "detail", string, "notes"];
@@ -31,5 +38,6 @@ export declare const bookingsQueryKeys: {
31
38
  readonly group: (id: string) => readonly ["voyant", "bookings", "groups", "detail", string];
32
39
  readonly groupMembers: (id: string) => readonly ["voyant", "bookings", "groups", "detail", string, "members"];
33
40
  readonly groupForBooking: (bookingId: string) => readonly ["voyant", "bookings", "bookings", "detail", string, "group"];
41
+ readonly pricingPreview: (filters: PricingPreviewFilters) => readonly ["voyant", "bookings", "pricing-preview", PricingPreviewFilters];
34
42
  };
35
43
  //# sourceMappingURL=query-keys.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-keys.d.ts","sourceRoot":"","sources":["../src/query-keys.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,C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,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACpC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;CACtC;AAED,eAAO,MAAM,iBAAiB;;;;qCAKJ,mBAAmB;2BAE7B,MAAM;wCACO,MAAM;6CAED,MAAM;gCAGnB,MAAM;wCACE,MAAM,UAAU,MAAM;2CAEnB,MAAM,UAAU,MAAM;oCAE7B,MAAM;qCACL,MAAM;oCAEP,MAAM;2CACC,MAAM;mCAEd,MAAM;gCACT,MAAM;;mCAGH,wBAAwB;yBAElC,MAAM;gCACC,MAAM;0CACI,MAAM;uCAGT,qBAAqB;CAEvC,CAAA"}
@@ -7,9 +7,11 @@ export const bookingsQueryKeys = {
7
7
  publicSession: (sessionId) => [...bookingsQueryKeys.publicSessions(), "detail", sessionId],
8
8
  publicSessionState: (sessionId) => [...bookingsQueryKeys.publicSession(sessionId), "state"],
9
9
  items: (bookingId) => [...bookingsQueryKeys.booking(bookingId), "items"],
10
+ itemTravelers: (bookingId, itemId) => [...bookingsQueryKeys.items(bookingId), itemId, "travelers"],
10
11
  itemParticipants: (bookingId, itemId) => [...bookingsQueryKeys.items(bookingId), itemId, "participants"],
11
- documents: (bookingId) => [...bookingsQueryKeys.booking(bookingId), "documents"],
12
+ travelers: (bookingId) => [...bookingsQueryKeys.booking(bookingId), "travelers"],
12
13
  passengers: (bookingId) => [...bookingsQueryKeys.booking(bookingId), "passengers"],
14
+ documents: (bookingId) => [...bookingsQueryKeys.booking(bookingId), "documents"],
13
15
  supplierStatuses: (bookingId) => [...bookingsQueryKeys.booking(bookingId), "supplier-statuses"],
14
16
  activity: (bookingId) => [...bookingsQueryKeys.booking(bookingId), "activity"],
15
17
  notes: (bookingId) => [...bookingsQueryKeys.booking(bookingId), "notes"],
@@ -18,4 +20,5 @@ export const bookingsQueryKeys = {
18
20
  group: (id) => [...bookingsQueryKeys.groups(), "detail", id],
19
21
  groupMembers: (id) => [...bookingsQueryKeys.group(id), "members"],
20
22
  groupForBooking: (bookingId) => [...bookingsQueryKeys.booking(bookingId), "group"],
23
+ pricingPreview: (filters) => [...bookingsQueryKeys.all, "pricing-preview", filters],
21
24
  };
@@ -1,16 +1,17 @@
1
1
  import { type FetchWithValidationOptions } from "./client.js";
2
2
  import type { UseBookingOptions } from "./hooks/use-booking.js";
3
3
  import type { UseBookingActivityOptions } from "./hooks/use-booking-activity.js";
4
- import type { UseBookingDocumentsOptions } from "./hooks/use-booking-documents.js";
4
+ import type { UseBookingTravelerDocumentsOptions } from "./hooks/use-booking-documents.js";
5
5
  import type { UseBookingGroupOptions } from "./hooks/use-booking-group.js";
6
6
  import type { UseBookingGroupForBookingOptions } from "./hooks/use-booking-group-for-booking.js";
7
7
  import type { UseBookingGroupsOptions } from "./hooks/use-booking-groups.js";
8
- import type { UseBookingItemParticipantsOptions } from "./hooks/use-booking-item-participants.js";
8
+ import type { UseBookingItemTravelersOptions } from "./hooks/use-booking-item-travelers.js";
9
9
  import type { UseBookingItemsOptions } from "./hooks/use-booking-items.js";
10
10
  import type { UseBookingNotesOptions } from "./hooks/use-booking-notes.js";
11
11
  import type { UseBookingsOptions } from "./hooks/use-bookings.js";
12
- import type { UsePassengersOptions } from "./hooks/use-passengers.js";
13
12
  import type { UseSupplierStatusesOptions } from "./hooks/use-supplier-statuses.js";
13
+ import type { UseTravelersOptions } from "./hooks/use-travelers.js";
14
+ import { type PricingPreviewFilters } from "./query-keys.js";
14
15
  export declare function getBookingsQueryOptions(client: FetchWithValidationOptions, options?: UseBookingsOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
15
16
  data: {
16
17
  id: string;
@@ -295,12 +296,12 @@ export declare function getBookingItemsQueryOptions(client: FetchWithValidationO
295
296
  [dataTagErrorSymbol]: Error;
296
297
  };
297
298
  };
298
- export declare function getBookingItemParticipantsQueryOptions(client: FetchWithValidationOptions, bookingId: string | null | undefined, itemId: string | null | undefined, options?: UseBookingItemParticipantsOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
299
+ export declare function getBookingItemTravelersQueryOptions(client: FetchWithValidationOptions, bookingId: string | null | undefined, itemId: string | null | undefined, options?: UseBookingItemTravelersOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
299
300
  data: {
300
301
  id: string;
301
302
  bookingItemId: string;
302
- participantId: string;
303
- role: "traveler" | "occupant" | "other" | "primary_contact" | "service_assignee" | "beneficiary";
303
+ travelerId: string;
304
+ role: "traveler" | "occupant" | "other" | "beneficiary" | "service_assignee" | "primary_contact";
304
305
  isPrimary: boolean;
305
306
  createdAt: string;
306
307
  }[];
@@ -308,30 +309,30 @@ export declare function getBookingItemParticipantsQueryOptions(client: FetchWith
308
309
  data: {
309
310
  id: string;
310
311
  bookingItemId: string;
311
- participantId: string;
312
- role: "traveler" | "occupant" | "other" | "primary_contact" | "service_assignee" | "beneficiary";
312
+ travelerId: string;
313
+ role: "traveler" | "occupant" | "other" | "beneficiary" | "service_assignee" | "primary_contact";
313
314
  isPrimary: boolean;
314
315
  createdAt: string;
315
316
  }[];
316
- }, readonly ["voyant", "bookings", "bookings", "detail", string, "items", string, "participants"]>, "queryFn"> & {
317
+ }, readonly ["voyant", "bookings", "bookings", "detail", string, "items", string, "travelers"]>, "queryFn"> & {
317
318
  queryFn?: import("@tanstack/react-query").QueryFunction<{
318
319
  data: {
319
320
  id: string;
320
321
  bookingItemId: string;
321
- participantId: string;
322
- role: "traveler" | "occupant" | "other" | "primary_contact" | "service_assignee" | "beneficiary";
322
+ travelerId: string;
323
+ role: "traveler" | "occupant" | "other" | "beneficiary" | "service_assignee" | "primary_contact";
323
324
  isPrimary: boolean;
324
325
  createdAt: string;
325
326
  }[];
326
- }, readonly ["voyant", "bookings", "bookings", "detail", string, "items", string, "participants"], never> | undefined;
327
+ }, readonly ["voyant", "bookings", "bookings", "detail", string, "items", string, "travelers"], never> | undefined;
327
328
  } & {
328
- queryKey: readonly ["voyant", "bookings", "bookings", "detail", string, "items", string, "participants"] & {
329
+ queryKey: readonly ["voyant", "bookings", "bookings", "detail", string, "items", string, "travelers"] & {
329
330
  [dataTagSymbol]: {
330
331
  data: {
331
332
  id: string;
332
333
  bookingItemId: string;
333
- participantId: string;
334
- role: "traveler" | "occupant" | "other" | "primary_contact" | "service_assignee" | "beneficiary";
334
+ travelerId: string;
335
+ role: "traveler" | "occupant" | "other" | "beneficiary" | "service_assignee" | "primary_contact";
335
336
  isPrimary: boolean;
336
337
  createdAt: string;
337
338
  }[];
@@ -339,11 +340,11 @@ export declare function getBookingItemParticipantsQueryOptions(client: FetchWith
339
340
  [dataTagErrorSymbol]: Error;
340
341
  };
341
342
  };
342
- export declare function getBookingDocumentsQueryOptions(client: FetchWithValidationOptions, bookingId: string | null | undefined, options?: UseBookingDocumentsOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
343
+ export declare function getBookingTravelerDocumentsQueryOptions(client: FetchWithValidationOptions, bookingId: string | null | undefined, options?: UseBookingTravelerDocumentsOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
343
344
  data: {
344
345
  id: string;
345
346
  bookingId: string;
346
- participantId: string | null;
347
+ travelerId: string | null;
347
348
  type: "other" | "visa" | "insurance" | "health" | "passport_copy";
348
349
  fileName: string;
349
350
  fileUrl: string;
@@ -355,7 +356,7 @@ export declare function getBookingDocumentsQueryOptions(client: FetchWithValidat
355
356
  data: {
356
357
  id: string;
357
358
  bookingId: string;
358
- participantId: string | null;
359
+ travelerId: string | null;
359
360
  type: "other" | "visa" | "insurance" | "health" | "passport_copy";
360
361
  fileName: string;
361
362
  fileUrl: string;
@@ -368,7 +369,7 @@ export declare function getBookingDocumentsQueryOptions(client: FetchWithValidat
368
369
  data: {
369
370
  id: string;
370
371
  bookingId: string;
371
- participantId: string | null;
372
+ travelerId: string | null;
372
373
  type: "other" | "visa" | "insurance" | "health" | "passport_copy";
373
374
  fileName: string;
374
375
  fileUrl: string;
@@ -383,7 +384,7 @@ export declare function getBookingDocumentsQueryOptions(client: FetchWithValidat
383
384
  data: {
384
385
  id: string;
385
386
  bookingId: string;
386
- participantId: string | null;
387
+ travelerId: string | null;
387
388
  type: "other" | "visa" | "insurance" | "health" | "passport_copy";
388
389
  fileName: string;
389
390
  fileUrl: string;
@@ -395,66 +396,88 @@ export declare function getBookingDocumentsQueryOptions(client: FetchWithValidat
395
396
  [dataTagErrorSymbol]: Error;
396
397
  };
397
398
  };
398
- export declare function getPassengersQueryOptions(client: FetchWithValidationOptions, bookingId: string | null | undefined, options?: UsePassengersOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
399
+ export declare function getTravelersQueryOptions(client: FetchWithValidationOptions, bookingId: string | null | undefined, options?: UseTravelersOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
399
400
  data: {
400
401
  id: string;
401
402
  bookingId: string;
403
+ participantType: string;
402
404
  firstName: string;
403
405
  lastName: string;
404
406
  email: string | null;
405
407
  phone: string | null;
406
408
  specialRequests: string | null;
409
+ isPrimary: boolean;
407
410
  createdAt: string;
408
- isLeadPassenger?: boolean | null | undefined;
411
+ travelerCategory?: string | null | undefined;
412
+ preferredLanguage?: string | null | undefined;
413
+ accessibilityNeeds?: string | null | undefined;
414
+ notes?: string | null | undefined;
409
415
  updatedAt?: string | undefined;
410
416
  }[];
411
417
  }, Error, {
412
418
  data: {
413
419
  id: string;
414
420
  bookingId: string;
421
+ participantType: string;
415
422
  firstName: string;
416
423
  lastName: string;
417
424
  email: string | null;
418
425
  phone: string | null;
419
426
  specialRequests: string | null;
427
+ isPrimary: boolean;
420
428
  createdAt: string;
421
- isLeadPassenger?: boolean | null | undefined;
429
+ travelerCategory?: string | null | undefined;
430
+ preferredLanguage?: string | null | undefined;
431
+ accessibilityNeeds?: string | null | undefined;
432
+ notes?: string | null | undefined;
422
433
  updatedAt?: string | undefined;
423
434
  }[];
424
- }, readonly ["voyant", "bookings", "bookings", "detail", string, "passengers"]>, "queryFn"> & {
435
+ }, readonly ["voyant", "bookings", "bookings", "detail", string, "travelers"]>, "queryFn"> & {
425
436
  queryFn?: import("@tanstack/react-query").QueryFunction<{
426
437
  data: {
427
438
  id: string;
428
439
  bookingId: string;
440
+ participantType: string;
429
441
  firstName: string;
430
442
  lastName: string;
431
443
  email: string | null;
432
444
  phone: string | null;
433
445
  specialRequests: string | null;
446
+ isPrimary: boolean;
434
447
  createdAt: string;
435
- isLeadPassenger?: boolean | null | undefined;
448
+ travelerCategory?: string | null | undefined;
449
+ preferredLanguage?: string | null | undefined;
450
+ accessibilityNeeds?: string | null | undefined;
451
+ notes?: string | null | undefined;
436
452
  updatedAt?: string | undefined;
437
453
  }[];
438
- }, readonly ["voyant", "bookings", "bookings", "detail", string, "passengers"], never> | undefined;
454
+ }, readonly ["voyant", "bookings", "bookings", "detail", string, "travelers"], never> | undefined;
439
455
  } & {
440
- queryKey: readonly ["voyant", "bookings", "bookings", "detail", string, "passengers"] & {
456
+ queryKey: readonly ["voyant", "bookings", "bookings", "detail", string, "travelers"] & {
441
457
  [dataTagSymbol]: {
442
458
  data: {
443
459
  id: string;
444
460
  bookingId: string;
461
+ participantType: string;
445
462
  firstName: string;
446
463
  lastName: string;
447
464
  email: string | null;
448
465
  phone: string | null;
449
466
  specialRequests: string | null;
467
+ isPrimary: boolean;
450
468
  createdAt: string;
451
- isLeadPassenger?: boolean | null | undefined;
469
+ travelerCategory?: string | null | undefined;
470
+ preferredLanguage?: string | null | undefined;
471
+ accessibilityNeeds?: string | null | undefined;
472
+ notes?: string | null | undefined;
452
473
  updatedAt?: string | undefined;
453
474
  }[];
454
475
  };
455
476
  [dataTagErrorSymbol]: Error;
456
477
  };
457
478
  };
479
+ export declare const getPassengersQueryOptions: typeof getTravelersQueryOptions;
480
+ export declare const getBookingItemParticipantsQueryOptions: typeof getBookingItemTravelersQueryOptions;
458
481
  export declare function getSupplierStatusesQueryOptions(client: FetchWithValidationOptions, bookingId: string | null | undefined, options?: UseSupplierStatusesOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
459
482
  data: {
460
483
  id: string;
@@ -628,9 +651,9 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
628
651
  expiredAt: string | null;
629
652
  cancelledAt: string | null;
630
653
  completedAt: string | null;
631
- participants: {
654
+ travelers: {
632
655
  id: string;
633
- participantType: "traveler" | "booker" | "contact" | "occupant" | "staff" | "other";
656
+ participantType: "traveler" | "occupant" | "other";
634
657
  travelerCategory: "other" | "adult" | "child" | "infant" | "senior" | null;
635
658
  firstName: string;
636
659
  lastName: string;
@@ -663,10 +686,10 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
663
686
  optionId: string | null;
664
687
  optionUnitId: string | null;
665
688
  pricingCategoryId: string | null;
666
- participantLinks: {
689
+ travelerLinks: {
667
690
  id: string;
668
- participantId: string;
669
- role: "traveler" | "occupant" | "other" | "primary_contact" | "service_assignee" | "beneficiary";
691
+ travelerId: string;
692
+ role: "traveler" | "occupant" | "other" | "beneficiary";
670
693
  isPrimary: boolean;
671
694
  }[];
672
695
  }[];
@@ -686,9 +709,8 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
686
709
  releasedAt: string | null;
687
710
  }[];
688
711
  checklist: {
689
- hasParticipants: boolean;
690
- hasTraveler: boolean;
691
- hasPrimaryParticipant: boolean;
712
+ hasTravelers: boolean;
713
+ hasPrimaryTraveler: boolean;
692
714
  hasItems: boolean;
693
715
  hasAllocations: boolean;
694
716
  readyForConfirmation: boolean;
@@ -721,9 +743,9 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
721
743
  expiredAt: string | null;
722
744
  cancelledAt: string | null;
723
745
  completedAt: string | null;
724
- participants: {
746
+ travelers: {
725
747
  id: string;
726
- participantType: "traveler" | "booker" | "contact" | "occupant" | "staff" | "other";
748
+ participantType: "traveler" | "occupant" | "other";
727
749
  travelerCategory: "other" | "adult" | "child" | "infant" | "senior" | null;
728
750
  firstName: string;
729
751
  lastName: string;
@@ -756,10 +778,10 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
756
778
  optionId: string | null;
757
779
  optionUnitId: string | null;
758
780
  pricingCategoryId: string | null;
759
- participantLinks: {
781
+ travelerLinks: {
760
782
  id: string;
761
- participantId: string;
762
- role: "traveler" | "occupant" | "other" | "primary_contact" | "service_assignee" | "beneficiary";
783
+ travelerId: string;
784
+ role: "traveler" | "occupant" | "other" | "beneficiary";
763
785
  isPrimary: boolean;
764
786
  }[];
765
787
  }[];
@@ -779,9 +801,8 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
779
801
  releasedAt: string | null;
780
802
  }[];
781
803
  checklist: {
782
- hasParticipants: boolean;
783
- hasTraveler: boolean;
784
- hasPrimaryParticipant: boolean;
804
+ hasTravelers: boolean;
805
+ hasPrimaryTraveler: boolean;
785
806
  hasItems: boolean;
786
807
  hasAllocations: boolean;
787
808
  readyForConfirmation: boolean;
@@ -815,9 +836,9 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
815
836
  expiredAt: string | null;
816
837
  cancelledAt: string | null;
817
838
  completedAt: string | null;
818
- participants: {
839
+ travelers: {
819
840
  id: string;
820
- participantType: "traveler" | "booker" | "contact" | "occupant" | "staff" | "other";
841
+ participantType: "traveler" | "occupant" | "other";
821
842
  travelerCategory: "other" | "adult" | "child" | "infant" | "senior" | null;
822
843
  firstName: string;
823
844
  lastName: string;
@@ -850,10 +871,10 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
850
871
  optionId: string | null;
851
872
  optionUnitId: string | null;
852
873
  pricingCategoryId: string | null;
853
- participantLinks: {
874
+ travelerLinks: {
854
875
  id: string;
855
- participantId: string;
856
- role: "traveler" | "occupant" | "other" | "primary_contact" | "service_assignee" | "beneficiary";
876
+ travelerId: string;
877
+ role: "traveler" | "occupant" | "other" | "beneficiary";
857
878
  isPrimary: boolean;
858
879
  }[];
859
880
  }[];
@@ -873,9 +894,8 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
873
894
  releasedAt: string | null;
874
895
  }[];
875
896
  checklist: {
876
- hasParticipants: boolean;
877
- hasTraveler: boolean;
878
- hasPrimaryParticipant: boolean;
897
+ hasTravelers: boolean;
898
+ hasPrimaryTraveler: boolean;
879
899
  hasItems: boolean;
880
900
  hasAllocations: boolean;
881
901
  readyForConfirmation: boolean;
@@ -911,9 +931,9 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
911
931
  expiredAt: string | null;
912
932
  cancelledAt: string | null;
913
933
  completedAt: string | null;
914
- participants: {
934
+ travelers: {
915
935
  id: string;
916
- participantType: "traveler" | "booker" | "contact" | "occupant" | "staff" | "other";
936
+ participantType: "traveler" | "occupant" | "other";
917
937
  travelerCategory: "other" | "adult" | "child" | "infant" | "senior" | null;
918
938
  firstName: string;
919
939
  lastName: string;
@@ -946,10 +966,10 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
946
966
  optionId: string | null;
947
967
  optionUnitId: string | null;
948
968
  pricingCategoryId: string | null;
949
- participantLinks: {
969
+ travelerLinks: {
950
970
  id: string;
951
- participantId: string;
952
- role: "traveler" | "occupant" | "other" | "primary_contact" | "service_assignee" | "beneficiary";
971
+ travelerId: string;
972
+ role: "traveler" | "occupant" | "other" | "beneficiary";
953
973
  isPrimary: boolean;
954
974
  }[];
955
975
  }[];
@@ -969,9 +989,8 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
969
989
  releasedAt: string | null;
970
990
  }[];
971
991
  checklist: {
972
- hasParticipants: boolean;
973
- hasTraveler: boolean;
974
- hasPrimaryParticipant: boolean;
992
+ hasTravelers: boolean;
993
+ hasPrimaryTraveler: boolean;
975
994
  hasItems: boolean;
976
995
  hasAllocations: boolean;
977
996
  readyForConfirmation: boolean;
@@ -1347,4 +1366,162 @@ export declare function getBookingGroupForBookingQueryOptions(client: FetchWithV
1347
1366
  [dataTagErrorSymbol]: Error;
1348
1367
  };
1349
1368
  };
1369
+ /**
1370
+ * Pricing preview — resolves the storefront pricing snapshot for a product
1371
+ * without creating a booking session. Use it for operator create dialogs,
1372
+ * tour-sheet quotes, and reconciliation where the question is "what would the
1373
+ * customer see?"
1374
+ */
1375
+ export declare function getPricingPreviewQueryOptions(client: FetchWithValidationOptions, filters: PricingPreviewFilters): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1376
+ data: {
1377
+ catalog: {
1378
+ id: string;
1379
+ currencyCode: string;
1380
+ };
1381
+ options: {
1382
+ id: string;
1383
+ name: string;
1384
+ isDefault: boolean;
1385
+ }[];
1386
+ rules: {
1387
+ id: string;
1388
+ optionId: string;
1389
+ pricingMode: string;
1390
+ baseSellAmountCents: number | null;
1391
+ isDefault: boolean;
1392
+ }[];
1393
+ unitPrices: {
1394
+ id: string;
1395
+ optionPriceRuleId: string;
1396
+ unitId: string;
1397
+ unitName: string;
1398
+ unitType: string;
1399
+ pricingCategoryId: string | null;
1400
+ pricingMode: string;
1401
+ sellAmountCents: number | null;
1402
+ minQuantity: number | null;
1403
+ maxQuantity: number | null;
1404
+ tiers: {
1405
+ minQuantity: number;
1406
+ maxQuantity: number | null;
1407
+ sellAmountCents: number | null;
1408
+ }[];
1409
+ }[];
1410
+ };
1411
+ }, Error, {
1412
+ data: {
1413
+ catalog: {
1414
+ id: string;
1415
+ currencyCode: string;
1416
+ };
1417
+ options: {
1418
+ id: string;
1419
+ name: string;
1420
+ isDefault: boolean;
1421
+ }[];
1422
+ rules: {
1423
+ id: string;
1424
+ optionId: string;
1425
+ pricingMode: string;
1426
+ baseSellAmountCents: number | null;
1427
+ isDefault: boolean;
1428
+ }[];
1429
+ unitPrices: {
1430
+ id: string;
1431
+ optionPriceRuleId: string;
1432
+ unitId: string;
1433
+ unitName: string;
1434
+ unitType: string;
1435
+ pricingCategoryId: string | null;
1436
+ pricingMode: string;
1437
+ sellAmountCents: number | null;
1438
+ minQuantity: number | null;
1439
+ maxQuantity: number | null;
1440
+ tiers: {
1441
+ minQuantity: number;
1442
+ maxQuantity: number | null;
1443
+ sellAmountCents: number | null;
1444
+ }[];
1445
+ }[];
1446
+ };
1447
+ }, readonly ["voyant", "bookings", "pricing-preview", PricingPreviewFilters]>, "queryFn"> & {
1448
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1449
+ data: {
1450
+ catalog: {
1451
+ id: string;
1452
+ currencyCode: string;
1453
+ };
1454
+ options: {
1455
+ id: string;
1456
+ name: string;
1457
+ isDefault: boolean;
1458
+ }[];
1459
+ rules: {
1460
+ id: string;
1461
+ optionId: string;
1462
+ pricingMode: string;
1463
+ baseSellAmountCents: number | null;
1464
+ isDefault: boolean;
1465
+ }[];
1466
+ unitPrices: {
1467
+ id: string;
1468
+ optionPriceRuleId: string;
1469
+ unitId: string;
1470
+ unitName: string;
1471
+ unitType: string;
1472
+ pricingCategoryId: string | null;
1473
+ pricingMode: string;
1474
+ sellAmountCents: number | null;
1475
+ minQuantity: number | null;
1476
+ maxQuantity: number | null;
1477
+ tiers: {
1478
+ minQuantity: number;
1479
+ maxQuantity: number | null;
1480
+ sellAmountCents: number | null;
1481
+ }[];
1482
+ }[];
1483
+ };
1484
+ }, readonly ["voyant", "bookings", "pricing-preview", PricingPreviewFilters], never> | undefined;
1485
+ } & {
1486
+ queryKey: readonly ["voyant", "bookings", "pricing-preview", PricingPreviewFilters] & {
1487
+ [dataTagSymbol]: {
1488
+ data: {
1489
+ catalog: {
1490
+ id: string;
1491
+ currencyCode: string;
1492
+ };
1493
+ options: {
1494
+ id: string;
1495
+ name: string;
1496
+ isDefault: boolean;
1497
+ }[];
1498
+ rules: {
1499
+ id: string;
1500
+ optionId: string;
1501
+ pricingMode: string;
1502
+ baseSellAmountCents: number | null;
1503
+ isDefault: boolean;
1504
+ }[];
1505
+ unitPrices: {
1506
+ id: string;
1507
+ optionPriceRuleId: string;
1508
+ unitId: string;
1509
+ unitName: string;
1510
+ unitType: string;
1511
+ pricingCategoryId: string | null;
1512
+ pricingMode: string;
1513
+ sellAmountCents: number | null;
1514
+ minQuantity: number | null;
1515
+ maxQuantity: number | null;
1516
+ tiers: {
1517
+ minQuantity: number;
1518
+ maxQuantity: number | null;
1519
+ sellAmountCents: number | null;
1520
+ }[];
1521
+ }[];
1522
+ };
1523
+ };
1524
+ [dataTagErrorSymbol]: Error;
1525
+ };
1526
+ };
1350
1527
  //# sourceMappingURL=query-options.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-options.d.ts","sourceRoot":"","sources":["../src/query-options.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,0BAA0B,EAAuB,MAAM,aAAa,CAAA;AAClF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC/D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAA;AAChF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAA;AAClF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA;AAC1E,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAA;AAChG,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AAC5E,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,0CAA0C,CAAA;AACjG,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA;AAC1E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA;AAC1E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AACjE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AACrE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAA;AAmBlF,wBAAgB,uBAAuB,CACrC,MAAM,EAAE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