@voyantjs/bookings-react 0.6.7 → 0.6.9

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 (43) hide show
  1. package/dist/hooks/index.d.ts +4 -4
  2. package/dist/hooks/index.d.ts.map +1 -1
  3. package/dist/hooks/index.js +4 -4
  4. package/dist/hooks/use-booking-documents.d.ts +8 -8
  5. package/dist/hooks/use-booking-documents.d.ts.map +1 -1
  6. package/dist/hooks/use-booking-documents.js +17 -7
  7. package/dist/hooks/use-booking-item-participants.d.ts +6 -16
  8. package/dist/hooks/use-booking-item-participants.d.ts.map +1 -1
  9. package/dist/hooks/use-booking-item-participants.js +19 -17
  10. package/dist/hooks/use-booking-item-travelers.d.ts +32 -0
  11. package/dist/hooks/use-booking-item-travelers.d.ts.map +1 -0
  12. package/dist/hooks/use-booking-item-travelers.js +48 -0
  13. package/dist/hooks/use-booking-note-mutation.d.ts +12 -1
  14. package/dist/hooks/use-booking-note-mutation.d.ts.map +1 -1
  15. package/dist/hooks/use-booking-note-mutation.js +17 -4
  16. package/dist/hooks/use-passenger-mutation.d.ts +12 -2
  17. package/dist/hooks/use-passenger-mutation.d.ts.map +1 -1
  18. package/dist/hooks/use-passengers.d.ts +1 -17
  19. package/dist/hooks/use-passengers.d.ts.map +1 -1
  20. package/dist/hooks/use-passengers.js +1 -11
  21. package/dist/hooks/use-public-booking-session-flow-mutation.d.ts +7 -8
  22. package/dist/hooks/use-public-booking-session-flow-mutation.d.ts.map +1 -1
  23. package/dist/hooks/use-public-booking-session.d.ts +7 -8
  24. package/dist/hooks/use-public-booking-session.d.ts.map +1 -1
  25. package/dist/hooks/use-traveler-mutation.d.ts +56 -0
  26. package/dist/hooks/use-traveler-mutation.d.ts.map +1 -0
  27. package/dist/hooks/use-traveler-mutation.js +42 -0
  28. package/dist/hooks/use-travelers.d.ts +23 -0
  29. package/dist/hooks/use-travelers.d.ts.map +1 -0
  30. package/dist/hooks/use-travelers.js +12 -0
  31. package/dist/index.d.ts +1 -1
  32. package/dist/index.d.ts.map +1 -1
  33. package/dist/index.js +1 -1
  34. package/dist/query-keys.d.ts +3 -1
  35. package/dist/query-keys.d.ts.map +1 -1
  36. package/dist/query-keys.js +3 -1
  37. package/dist/query-options.d.ts +78 -60
  38. package/dist/query-options.d.ts.map +1 -1
  39. package/dist/query-options.js +11 -9
  40. package/dist/schemas.d.ts +77 -43
  41. package/dist/schemas.d.ts.map +1 -1
  42. package/dist/schemas.js +18 -11
  43. package/package.json +5 -5
@@ -0,0 +1,56 @@
1
+ export interface CreateTravelerInput {
2
+ firstName: string;
3
+ lastName: string;
4
+ email?: string | null;
5
+ phone?: string | null;
6
+ preferredLanguage?: string | null;
7
+ accessibilityNeeds?: string | null;
8
+ specialRequests?: string | null;
9
+ travelerCategory?: string | null;
10
+ isPrimary?: boolean | null;
11
+ notes?: string | null;
12
+ }
13
+ export type UpdateTravelerInput = Partial<CreateTravelerInput>;
14
+ export declare function useTravelerMutation(bookingId: string): {
15
+ create: import("@tanstack/react-query").UseMutationResult<{
16
+ id: string;
17
+ bookingId: string;
18
+ participantType: string;
19
+ firstName: string;
20
+ lastName: string;
21
+ email: string | null;
22
+ phone: string | null;
23
+ specialRequests: string | null;
24
+ isPrimary: boolean;
25
+ createdAt: string;
26
+ travelerCategory?: string | null | undefined;
27
+ preferredLanguage?: string | null | undefined;
28
+ accessibilityNeeds?: string | null | undefined;
29
+ notes?: string | null | undefined;
30
+ updatedAt?: string | undefined;
31
+ }, Error, CreateTravelerInput, unknown>;
32
+ update: import("@tanstack/react-query").UseMutationResult<{
33
+ id: string;
34
+ bookingId: string;
35
+ participantType: string;
36
+ firstName: string;
37
+ lastName: string;
38
+ email: string | null;
39
+ phone: string | null;
40
+ specialRequests: string | null;
41
+ isPrimary: boolean;
42
+ createdAt: string;
43
+ travelerCategory?: string | null | undefined;
44
+ preferredLanguage?: string | null | undefined;
45
+ accessibilityNeeds?: string | null | undefined;
46
+ notes?: string | null | undefined;
47
+ updatedAt?: string | undefined;
48
+ }, Error, {
49
+ id: string;
50
+ input: UpdateTravelerInput;
51
+ }, unknown>;
52
+ remove: import("@tanstack/react-query").UseMutationResult<{
53
+ success: boolean;
54
+ }, Error, string, unknown>;
55
+ };
56
+ //# sourceMappingURL=use-traveler-mutation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-traveler-mutation.d.ts","sourceRoot":"","sources":["../../src/hooks/use-traveler-mutation.ts"],"names":[],"mappings":"AASA,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACjC,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAClC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAAA;IAC1B,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACtB;AAED,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAA;AAE9D,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAuBT,MAAM;eAAS,mBAAmB;;;;;EAgC7E"}
@@ -0,0 +1,42 @@
1
+ "use client";
2
+ import { useMutation, useQueryClient } from "@tanstack/react-query";
3
+ import { fetchWithValidation } from "../client.js";
4
+ import { useVoyantBookingsContext } from "../provider.js";
5
+ import { bookingsQueryKeys } from "../query-keys.js";
6
+ import { bookingSingleResponse, bookingTravelersResponse, successEnvelope } from "../schemas.js";
7
+ export function useTravelerMutation(bookingId) {
8
+ const { baseUrl, fetcher } = useVoyantBookingsContext();
9
+ const queryClient = useQueryClient();
10
+ const create = useMutation({
11
+ mutationFn: async (input) => {
12
+ const { data } = await fetchWithValidation(`/v1/bookings/${bookingId}/travelers`, bookingSingleResponse.extend({
13
+ data: bookingTravelersResponse.shape.data.element,
14
+ }), { baseUrl, fetcher }, { method: "POST", body: JSON.stringify(input) });
15
+ return data;
16
+ },
17
+ onSuccess: () => {
18
+ void queryClient.invalidateQueries({ queryKey: bookingsQueryKeys.travelers(bookingId) });
19
+ void queryClient.invalidateQueries({ queryKey: bookingsQueryKeys.activity(bookingId) });
20
+ },
21
+ });
22
+ const update = useMutation({
23
+ mutationFn: async ({ id, input }) => {
24
+ const { data } = await fetchWithValidation(`/v1/bookings/${bookingId}/travelers/${id}`, bookingSingleResponse.extend({
25
+ data: bookingTravelersResponse.shape.data.element,
26
+ }), { baseUrl, fetcher }, { method: "PATCH", body: JSON.stringify(input) });
27
+ return data;
28
+ },
29
+ onSuccess: () => {
30
+ void queryClient.invalidateQueries({ queryKey: bookingsQueryKeys.travelers(bookingId) });
31
+ void queryClient.invalidateQueries({ queryKey: bookingsQueryKeys.activity(bookingId) });
32
+ },
33
+ });
34
+ const remove = useMutation({
35
+ mutationFn: async (travelerId) => fetchWithValidation(`/v1/bookings/${bookingId}/travelers/${travelerId}`, successEnvelope, { baseUrl, fetcher }, { method: "DELETE" }),
36
+ onSuccess: () => {
37
+ void queryClient.invalidateQueries({ queryKey: bookingsQueryKeys.travelers(bookingId) });
38
+ void queryClient.invalidateQueries({ queryKey: bookingsQueryKeys.activity(bookingId) });
39
+ },
40
+ });
41
+ return { create, update, remove };
42
+ }
@@ -0,0 +1,23 @@
1
+ export interface UseTravelersOptions {
2
+ enabled?: boolean;
3
+ }
4
+ export declare function useTravelers(bookingId: string | null | undefined, options?: UseTravelersOptions): import("@tanstack/react-query").UseQueryResult<{
5
+ data: {
6
+ id: string;
7
+ bookingId: string;
8
+ participantType: string;
9
+ firstName: string;
10
+ lastName: string;
11
+ email: string | null;
12
+ phone: string | null;
13
+ specialRequests: string | null;
14
+ isPrimary: boolean;
15
+ createdAt: string;
16
+ travelerCategory?: string | null | undefined;
17
+ preferredLanguage?: string | null | undefined;
18
+ accessibilityNeeds?: string | null | undefined;
19
+ notes?: string | null | undefined;
20
+ updatedAt?: string | undefined;
21
+ }[];
22
+ }, Error>;
23
+ //# sourceMappingURL=use-travelers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-travelers.d.ts","sourceRoot":"","sources":["../../src/hooks/use-travelers.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,mBAAmB;IAClC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,YAAY,CAC1B,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACpC,OAAO,GAAE,mBAAwB;;;;;;;;;;;;;;;;;;UASlC"}
@@ -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, 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,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, 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";
@@ -20,9 +20,11 @@ export declare const bookingsQueryKeys: {
20
20
  readonly publicSession: (sessionId: string) => readonly ["voyant", "bookings", "public-sessions", "detail", string];
21
21
  readonly publicSessionState: (sessionId: string) => readonly ["voyant", "bookings", "public-sessions", "detail", string, "state"];
22
22
  readonly items: (bookingId: string) => readonly ["voyant", "bookings", "bookings", "detail", string, "items"];
23
+ readonly itemTravelers: (bookingId: string, itemId: string) => readonly ["voyant", "bookings", "bookings", "detail", string, "items", string, "travelers"];
23
24
  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"];
25
+ readonly travelers: (bookingId: string) => readonly ["voyant", "bookings", "bookings", "detail", string, "travelers"];
25
26
  readonly passengers: (bookingId: string) => readonly ["voyant", "bookings", "bookings", "detail", string, "passengers"];
27
+ readonly documents: (bookingId: string) => readonly ["voyant", "bookings", "bookings", "detail", string, "documents"];
26
28
  readonly supplierStatuses: (bookingId: string) => readonly ["voyant", "bookings", "bookings", "detail", string, "supplier-statuses"];
27
29
  readonly activity: (bookingId: string) => readonly ["voyant", "bookings", "bookings", "detail", string, "activity"];
28
30
  readonly notes: (bookingId: string) => readonly ["voyant", "bookings", "bookings", "detail", string, "notes"];
@@ -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,CAAA;IAC1B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC5B;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC9B,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACjC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC5B;AAED,eAAO,MAAM,iBAAiB;;;;qCAKJ,mBAAmB;2BAE7B,MAAM;wCACO,MAAM;6CAED,MAAM;gCAGnB,MAAM;2CACK,MAAM,UAAU,MAAM;oCAE7B,MAAM;qCACL,MAAM;2CAEA,MAAM;mCAEd,MAAM;gCACT,MAAM;;mCAGH,wBAAwB;yBAElC,MAAM;gCACC,MAAM;0CACI,MAAM;CAE3B,CAAA"}
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,CAAA;IAC1B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC5B;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC9B,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACjC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC5B;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;CAE3B,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"],
@@ -1,16 +1,16 @@
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
14
  export declare function getBookingsQueryOptions(client: FetchWithValidationOptions, options?: UseBookingsOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
15
15
  data: {
16
16
  id: string;
@@ -295,12 +295,12 @@ export declare function getBookingItemsQueryOptions(client: FetchWithValidationO
295
295
  [dataTagErrorSymbol]: Error;
296
296
  };
297
297
  };
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<{
298
+ 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
299
  data: {
300
300
  id: string;
301
301
  bookingItemId: string;
302
- participantId: string;
303
- role: "traveler" | "occupant" | "other" | "primary_contact" | "service_assignee" | "beneficiary";
302
+ travelerId: string;
303
+ role: "traveler" | "occupant" | "other" | "beneficiary" | "service_assignee" | "primary_contact";
304
304
  isPrimary: boolean;
305
305
  createdAt: string;
306
306
  }[];
@@ -308,30 +308,30 @@ export declare function getBookingItemParticipantsQueryOptions(client: FetchWith
308
308
  data: {
309
309
  id: string;
310
310
  bookingItemId: string;
311
- participantId: string;
312
- role: "traveler" | "occupant" | "other" | "primary_contact" | "service_assignee" | "beneficiary";
311
+ travelerId: string;
312
+ role: "traveler" | "occupant" | "other" | "beneficiary" | "service_assignee" | "primary_contact";
313
313
  isPrimary: boolean;
314
314
  createdAt: string;
315
315
  }[];
316
- }, readonly ["voyant", "bookings", "bookings", "detail", string, "items", string, "participants"]>, "queryFn"> & {
316
+ }, readonly ["voyant", "bookings", "bookings", "detail", string, "items", string, "travelers"]>, "queryFn"> & {
317
317
  queryFn?: import("@tanstack/react-query").QueryFunction<{
318
318
  data: {
319
319
  id: string;
320
320
  bookingItemId: string;
321
- participantId: string;
322
- role: "traveler" | "occupant" | "other" | "primary_contact" | "service_assignee" | "beneficiary";
321
+ travelerId: string;
322
+ role: "traveler" | "occupant" | "other" | "beneficiary" | "service_assignee" | "primary_contact";
323
323
  isPrimary: boolean;
324
324
  createdAt: string;
325
325
  }[];
326
- }, readonly ["voyant", "bookings", "bookings", "detail", string, "items", string, "participants"], never> | undefined;
326
+ }, readonly ["voyant", "bookings", "bookings", "detail", string, "items", string, "travelers"], never> | undefined;
327
327
  } & {
328
- queryKey: readonly ["voyant", "bookings", "bookings", "detail", string, "items", string, "participants"] & {
328
+ queryKey: readonly ["voyant", "bookings", "bookings", "detail", string, "items", string, "travelers"] & {
329
329
  [dataTagSymbol]: {
330
330
  data: {
331
331
  id: string;
332
332
  bookingItemId: string;
333
- participantId: string;
334
- role: "traveler" | "occupant" | "other" | "primary_contact" | "service_assignee" | "beneficiary";
333
+ travelerId: string;
334
+ role: "traveler" | "occupant" | "other" | "beneficiary" | "service_assignee" | "primary_contact";
335
335
  isPrimary: boolean;
336
336
  createdAt: string;
337
337
  }[];
@@ -339,11 +339,11 @@ export declare function getBookingItemParticipantsQueryOptions(client: FetchWith
339
339
  [dataTagErrorSymbol]: Error;
340
340
  };
341
341
  };
342
- export declare function getBookingDocumentsQueryOptions(client: FetchWithValidationOptions, bookingId: string | null | undefined, options?: UseBookingDocumentsOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
342
+ export declare function getBookingTravelerDocumentsQueryOptions(client: FetchWithValidationOptions, bookingId: string | null | undefined, options?: UseBookingTravelerDocumentsOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
343
343
  data: {
344
344
  id: string;
345
345
  bookingId: string;
346
- participantId: string | null;
346
+ travelerId: string | null;
347
347
  type: "other" | "visa" | "insurance" | "health" | "passport_copy";
348
348
  fileName: string;
349
349
  fileUrl: string;
@@ -355,7 +355,7 @@ export declare function getBookingDocumentsQueryOptions(client: FetchWithValidat
355
355
  data: {
356
356
  id: string;
357
357
  bookingId: string;
358
- participantId: string | null;
358
+ travelerId: string | null;
359
359
  type: "other" | "visa" | "insurance" | "health" | "passport_copy";
360
360
  fileName: string;
361
361
  fileUrl: string;
@@ -368,7 +368,7 @@ export declare function getBookingDocumentsQueryOptions(client: FetchWithValidat
368
368
  data: {
369
369
  id: string;
370
370
  bookingId: string;
371
- participantId: string | null;
371
+ travelerId: string | null;
372
372
  type: "other" | "visa" | "insurance" | "health" | "passport_copy";
373
373
  fileName: string;
374
374
  fileUrl: string;
@@ -383,7 +383,7 @@ export declare function getBookingDocumentsQueryOptions(client: FetchWithValidat
383
383
  data: {
384
384
  id: string;
385
385
  bookingId: string;
386
- participantId: string | null;
386
+ travelerId: string | null;
387
387
  type: "other" | "visa" | "insurance" | "health" | "passport_copy";
388
388
  fileName: string;
389
389
  fileUrl: string;
@@ -395,66 +395,88 @@ export declare function getBookingDocumentsQueryOptions(client: FetchWithValidat
395
395
  [dataTagErrorSymbol]: Error;
396
396
  };
397
397
  };
398
- export declare function getPassengersQueryOptions(client: FetchWithValidationOptions, bookingId: string | null | undefined, options?: UsePassengersOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
398
+ export declare function getTravelersQueryOptions(client: FetchWithValidationOptions, bookingId: string | null | undefined, options?: UseTravelersOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
399
399
  data: {
400
400
  id: string;
401
401
  bookingId: string;
402
+ participantType: string;
402
403
  firstName: string;
403
404
  lastName: string;
404
405
  email: string | null;
405
406
  phone: string | null;
406
407
  specialRequests: string | null;
408
+ isPrimary: boolean;
407
409
  createdAt: string;
408
- isLeadPassenger?: boolean | null | undefined;
410
+ travelerCategory?: string | null | undefined;
411
+ preferredLanguage?: string | null | undefined;
412
+ accessibilityNeeds?: string | null | undefined;
413
+ notes?: string | null | undefined;
409
414
  updatedAt?: string | undefined;
410
415
  }[];
411
416
  }, Error, {
412
417
  data: {
413
418
  id: string;
414
419
  bookingId: string;
420
+ participantType: string;
415
421
  firstName: string;
416
422
  lastName: string;
417
423
  email: string | null;
418
424
  phone: string | null;
419
425
  specialRequests: string | null;
426
+ isPrimary: boolean;
420
427
  createdAt: string;
421
- isLeadPassenger?: boolean | null | undefined;
428
+ travelerCategory?: string | null | undefined;
429
+ preferredLanguage?: string | null | undefined;
430
+ accessibilityNeeds?: string | null | undefined;
431
+ notes?: string | null | undefined;
422
432
  updatedAt?: string | undefined;
423
433
  }[];
424
- }, readonly ["voyant", "bookings", "bookings", "detail", string, "passengers"]>, "queryFn"> & {
434
+ }, readonly ["voyant", "bookings", "bookings", "detail", string, "travelers"]>, "queryFn"> & {
425
435
  queryFn?: import("@tanstack/react-query").QueryFunction<{
426
436
  data: {
427
437
  id: string;
428
438
  bookingId: string;
439
+ participantType: string;
429
440
  firstName: string;
430
441
  lastName: string;
431
442
  email: string | null;
432
443
  phone: string | null;
433
444
  specialRequests: string | null;
445
+ isPrimary: boolean;
434
446
  createdAt: string;
435
- isLeadPassenger?: boolean | null | undefined;
447
+ travelerCategory?: string | null | undefined;
448
+ preferredLanguage?: string | null | undefined;
449
+ accessibilityNeeds?: string | null | undefined;
450
+ notes?: string | null | undefined;
436
451
  updatedAt?: string | undefined;
437
452
  }[];
438
- }, readonly ["voyant", "bookings", "bookings", "detail", string, "passengers"], never> | undefined;
453
+ }, readonly ["voyant", "bookings", "bookings", "detail", string, "travelers"], never> | undefined;
439
454
  } & {
440
- queryKey: readonly ["voyant", "bookings", "bookings", "detail", string, "passengers"] & {
455
+ queryKey: readonly ["voyant", "bookings", "bookings", "detail", string, "travelers"] & {
441
456
  [dataTagSymbol]: {
442
457
  data: {
443
458
  id: string;
444
459
  bookingId: string;
460
+ participantType: string;
445
461
  firstName: string;
446
462
  lastName: string;
447
463
  email: string | null;
448
464
  phone: string | null;
449
465
  specialRequests: string | null;
466
+ isPrimary: boolean;
450
467
  createdAt: string;
451
- isLeadPassenger?: boolean | null | undefined;
468
+ travelerCategory?: string | null | undefined;
469
+ preferredLanguage?: string | null | undefined;
470
+ accessibilityNeeds?: string | null | undefined;
471
+ notes?: string | null | undefined;
452
472
  updatedAt?: string | undefined;
453
473
  }[];
454
474
  };
455
475
  [dataTagErrorSymbol]: Error;
456
476
  };
457
477
  };
478
+ export declare const getPassengersQueryOptions: typeof getTravelersQueryOptions;
479
+ export declare const getBookingItemParticipantsQueryOptions: typeof getBookingItemTravelersQueryOptions;
458
480
  export declare function getSupplierStatusesQueryOptions(client: FetchWithValidationOptions, bookingId: string | null | undefined, options?: UseSupplierStatusesOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
459
481
  data: {
460
482
  id: string;
@@ -628,9 +650,9 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
628
650
  expiredAt: string | null;
629
651
  cancelledAt: string | null;
630
652
  completedAt: string | null;
631
- participants: {
653
+ travelers: {
632
654
  id: string;
633
- participantType: "traveler" | "booker" | "contact" | "occupant" | "staff" | "other";
655
+ participantType: "traveler" | "occupant" | "other";
634
656
  travelerCategory: "other" | "adult" | "child" | "infant" | "senior" | null;
635
657
  firstName: string;
636
658
  lastName: string;
@@ -663,10 +685,10 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
663
685
  optionId: string | null;
664
686
  optionUnitId: string | null;
665
687
  pricingCategoryId: string | null;
666
- participantLinks: {
688
+ travelerLinks: {
667
689
  id: string;
668
- participantId: string;
669
- role: "traveler" | "occupant" | "other" | "primary_contact" | "service_assignee" | "beneficiary";
690
+ travelerId: string;
691
+ role: "traveler" | "occupant" | "other" | "beneficiary";
670
692
  isPrimary: boolean;
671
693
  }[];
672
694
  }[];
@@ -686,9 +708,8 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
686
708
  releasedAt: string | null;
687
709
  }[];
688
710
  checklist: {
689
- hasParticipants: boolean;
690
- hasTraveler: boolean;
691
- hasPrimaryParticipant: boolean;
711
+ hasTravelers: boolean;
712
+ hasPrimaryTraveler: boolean;
692
713
  hasItems: boolean;
693
714
  hasAllocations: boolean;
694
715
  readyForConfirmation: boolean;
@@ -721,9 +742,9 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
721
742
  expiredAt: string | null;
722
743
  cancelledAt: string | null;
723
744
  completedAt: string | null;
724
- participants: {
745
+ travelers: {
725
746
  id: string;
726
- participantType: "traveler" | "booker" | "contact" | "occupant" | "staff" | "other";
747
+ participantType: "traveler" | "occupant" | "other";
727
748
  travelerCategory: "other" | "adult" | "child" | "infant" | "senior" | null;
728
749
  firstName: string;
729
750
  lastName: string;
@@ -756,10 +777,10 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
756
777
  optionId: string | null;
757
778
  optionUnitId: string | null;
758
779
  pricingCategoryId: string | null;
759
- participantLinks: {
780
+ travelerLinks: {
760
781
  id: string;
761
- participantId: string;
762
- role: "traveler" | "occupant" | "other" | "primary_contact" | "service_assignee" | "beneficiary";
782
+ travelerId: string;
783
+ role: "traveler" | "occupant" | "other" | "beneficiary";
763
784
  isPrimary: boolean;
764
785
  }[];
765
786
  }[];
@@ -779,9 +800,8 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
779
800
  releasedAt: string | null;
780
801
  }[];
781
802
  checklist: {
782
- hasParticipants: boolean;
783
- hasTraveler: boolean;
784
- hasPrimaryParticipant: boolean;
803
+ hasTravelers: boolean;
804
+ hasPrimaryTraveler: boolean;
785
805
  hasItems: boolean;
786
806
  hasAllocations: boolean;
787
807
  readyForConfirmation: boolean;
@@ -815,9 +835,9 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
815
835
  expiredAt: string | null;
816
836
  cancelledAt: string | null;
817
837
  completedAt: string | null;
818
- participants: {
838
+ travelers: {
819
839
  id: string;
820
- participantType: "traveler" | "booker" | "contact" | "occupant" | "staff" | "other";
840
+ participantType: "traveler" | "occupant" | "other";
821
841
  travelerCategory: "other" | "adult" | "child" | "infant" | "senior" | null;
822
842
  firstName: string;
823
843
  lastName: string;
@@ -850,10 +870,10 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
850
870
  optionId: string | null;
851
871
  optionUnitId: string | null;
852
872
  pricingCategoryId: string | null;
853
- participantLinks: {
873
+ travelerLinks: {
854
874
  id: string;
855
- participantId: string;
856
- role: "traveler" | "occupant" | "other" | "primary_contact" | "service_assignee" | "beneficiary";
875
+ travelerId: string;
876
+ role: "traveler" | "occupant" | "other" | "beneficiary";
857
877
  isPrimary: boolean;
858
878
  }[];
859
879
  }[];
@@ -873,9 +893,8 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
873
893
  releasedAt: string | null;
874
894
  }[];
875
895
  checklist: {
876
- hasParticipants: boolean;
877
- hasTraveler: boolean;
878
- hasPrimaryParticipant: boolean;
896
+ hasTravelers: boolean;
897
+ hasPrimaryTraveler: boolean;
879
898
  hasItems: boolean;
880
899
  hasAllocations: boolean;
881
900
  readyForConfirmation: boolean;
@@ -911,9 +930,9 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
911
930
  expiredAt: string | null;
912
931
  cancelledAt: string | null;
913
932
  completedAt: string | null;
914
- participants: {
933
+ travelers: {
915
934
  id: string;
916
- participantType: "traveler" | "booker" | "contact" | "occupant" | "staff" | "other";
935
+ participantType: "traveler" | "occupant" | "other";
917
936
  travelerCategory: "other" | "adult" | "child" | "infant" | "senior" | null;
918
937
  firstName: string;
919
938
  lastName: string;
@@ -946,10 +965,10 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
946
965
  optionId: string | null;
947
966
  optionUnitId: string | null;
948
967
  pricingCategoryId: string | null;
949
- participantLinks: {
968
+ travelerLinks: {
950
969
  id: string;
951
- participantId: string;
952
- role: "traveler" | "occupant" | "other" | "primary_contact" | "service_assignee" | "beneficiary";
970
+ travelerId: string;
971
+ role: "traveler" | "occupant" | "other" | "beneficiary";
953
972
  isPrimary: boolean;
954
973
  }[];
955
974
  }[];
@@ -969,9 +988,8 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
969
988
  releasedAt: string | null;
970
989
  }[];
971
990
  checklist: {
972
- hasParticipants: boolean;
973
- hasTraveler: boolean;
974
- hasPrimaryParticipant: boolean;
991
+ hasTravelers: boolean;
992
+ hasPrimaryTraveler: boolean;
975
993
  hasItems: boolean;
976
994
  hasAllocations: boolean;
977
995
  readyForConfirmation: boolean;
@@ -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,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