@voyantjs/bookings-react 0.96.0 → 0.98.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.
- package/dist/hooks/use-booking-documents.d.ts +2 -2
- package/dist/hooks/use-booking-item-travelers.d.ts +2 -2
- package/dist/hooks/use-public-booking-session-flow-mutation.d.ts +2 -2
- package/dist/hooks/use-public-booking-session.d.ts +2 -2
- package/dist/hooks/use-reveal-traveler.d.ts +1 -1
- package/dist/hooks/use-traveler-with-travel-details-mutation.d.ts +2 -2
- package/dist/query-options.d.ts +20 -20
- package/dist/schemas.d.ts +16 -16
- package/package.json +5 -5
|
@@ -6,7 +6,7 @@ export declare function useBookingTravelerDocuments(bookingId: string | null | u
|
|
|
6
6
|
id: string;
|
|
7
7
|
bookingId: string;
|
|
8
8
|
travelerId: string | null;
|
|
9
|
-
type: "
|
|
9
|
+
type: "other" | "visa" | "insurance" | "health" | "passport_copy";
|
|
10
10
|
fileName: string;
|
|
11
11
|
fileUrl: string;
|
|
12
12
|
expiresAt: string | null;
|
|
@@ -27,7 +27,7 @@ export declare function useBookingTravelerDocumentMutation(bookingId: string): {
|
|
|
27
27
|
id: string;
|
|
28
28
|
bookingId: string;
|
|
29
29
|
travelerId: string | null;
|
|
30
|
-
type: "
|
|
30
|
+
type: "other" | "visa" | "insurance" | "health" | "passport_copy";
|
|
31
31
|
fileName: string;
|
|
32
32
|
fileUrl: string;
|
|
33
33
|
expiresAt: string | null;
|
|
@@ -6,7 +6,7 @@ export declare function useBookingItemTravelers(bookingId: string | null | undef
|
|
|
6
6
|
id: string;
|
|
7
7
|
bookingItemId: string;
|
|
8
8
|
travelerId: string;
|
|
9
|
-
role: "
|
|
9
|
+
role: "traveler" | "occupant" | "other" | "beneficiary" | "service_assignee" | "primary_contact";
|
|
10
10
|
isPrimary: boolean;
|
|
11
11
|
createdAt: string;
|
|
12
12
|
}[];
|
|
@@ -21,7 +21,7 @@ export declare function useBookingItemTravelerMutation(bookingId: string, itemId
|
|
|
21
21
|
id: string;
|
|
22
22
|
bookingItemId: string;
|
|
23
23
|
travelerId: string;
|
|
24
|
-
role: "
|
|
24
|
+
role: "traveler" | "occupant" | "other" | "beneficiary" | "service_assignee" | "primary_contact";
|
|
25
25
|
isPrimary: boolean;
|
|
26
26
|
createdAt: string;
|
|
27
27
|
}, Error, AddItemTravelerInput, unknown>;
|
|
@@ -56,7 +56,7 @@ export declare function usePublicBookingSessionFlowMutation(sessionId: string):
|
|
|
56
56
|
completedAt: string | null;
|
|
57
57
|
travelers: {
|
|
58
58
|
id: string;
|
|
59
|
-
participantType: "
|
|
59
|
+
participantType: "traveler" | "occupant" | "other";
|
|
60
60
|
travelerCategory: "other" | "adult" | "child" | "infant" | "senior" | null;
|
|
61
61
|
firstName: string;
|
|
62
62
|
lastName: string;
|
|
@@ -91,7 +91,7 @@ export declare function usePublicBookingSessionFlowMutation(sessionId: string):
|
|
|
91
91
|
travelerLinks: {
|
|
92
92
|
id: string;
|
|
93
93
|
travelerId: string;
|
|
94
|
-
role: "
|
|
94
|
+
role: "traveler" | "occupant" | "other" | "beneficiary";
|
|
95
95
|
isPrimary: boolean;
|
|
96
96
|
}[];
|
|
97
97
|
}[];
|
|
@@ -20,7 +20,7 @@ export declare function usePublicBookingSession(sessionId: string | null | undef
|
|
|
20
20
|
completedAt: string | null;
|
|
21
21
|
travelers: {
|
|
22
22
|
id: string;
|
|
23
|
-
participantType: "
|
|
23
|
+
participantType: "traveler" | "occupant" | "other";
|
|
24
24
|
travelerCategory: "other" | "adult" | "child" | "infant" | "senior" | null;
|
|
25
25
|
firstName: string;
|
|
26
26
|
lastName: string;
|
|
@@ -55,7 +55,7 @@ export declare function usePublicBookingSession(sessionId: string | null | undef
|
|
|
55
55
|
travelerLinks: {
|
|
56
56
|
id: string;
|
|
57
57
|
travelerId: string;
|
|
58
|
-
role: "
|
|
58
|
+
role: "traveler" | "occupant" | "other" | "beneficiary";
|
|
59
59
|
isPrimary: boolean;
|
|
60
60
|
}[];
|
|
61
61
|
}[];
|
|
@@ -27,7 +27,7 @@ export declare function useRevealTraveler(bookingId: string | null | undefined,
|
|
|
27
27
|
travelDetails: {
|
|
28
28
|
travelerId: string;
|
|
29
29
|
nationality: string | null;
|
|
30
|
-
documentType: "
|
|
30
|
+
documentType: "other" | "visa" | "passport" | "id_card" | "driver_license" | null;
|
|
31
31
|
documentNumber: string | null;
|
|
32
32
|
documentExpiry: string | null;
|
|
33
33
|
documentIssuingCountry: string | null;
|
|
@@ -56,7 +56,7 @@ export declare function useTravelerWithTravelDetailsMutation(bookingId: string):
|
|
|
56
56
|
travelDetails: {
|
|
57
57
|
travelerId: string;
|
|
58
58
|
nationality: string | null;
|
|
59
|
-
documentType: "
|
|
59
|
+
documentType: "other" | "visa" | "passport" | "id_card" | "driver_license" | null;
|
|
60
60
|
documentNumber: string | null;
|
|
61
61
|
documentExpiry: string | null;
|
|
62
62
|
documentIssuingCountry: string | null;
|
|
@@ -95,7 +95,7 @@ export declare function useTravelerWithTravelDetailsMutation(bookingId: string):
|
|
|
95
95
|
travelDetails: {
|
|
96
96
|
travelerId: string;
|
|
97
97
|
nationality: string | null;
|
|
98
|
-
documentType: "
|
|
98
|
+
documentType: "other" | "visa" | "passport" | "id_card" | "driver_license" | null;
|
|
99
99
|
documentNumber: string | null;
|
|
100
100
|
documentExpiry: string | null;
|
|
101
101
|
documentIssuingCountry: string | null;
|
package/dist/query-options.d.ts
CHANGED
|
@@ -673,7 +673,7 @@ export declare function getBookingItemTravelersQueryOptions(client: FetchWithVal
|
|
|
673
673
|
id: string;
|
|
674
674
|
bookingItemId: string;
|
|
675
675
|
travelerId: string;
|
|
676
|
-
role: "
|
|
676
|
+
role: "traveler" | "occupant" | "other" | "beneficiary" | "service_assignee" | "primary_contact";
|
|
677
677
|
isPrimary: boolean;
|
|
678
678
|
createdAt: string;
|
|
679
679
|
}[];
|
|
@@ -682,7 +682,7 @@ export declare function getBookingItemTravelersQueryOptions(client: FetchWithVal
|
|
|
682
682
|
id: string;
|
|
683
683
|
bookingItemId: string;
|
|
684
684
|
travelerId: string;
|
|
685
|
-
role: "
|
|
685
|
+
role: "traveler" | "occupant" | "other" | "beneficiary" | "service_assignee" | "primary_contact";
|
|
686
686
|
isPrimary: boolean;
|
|
687
687
|
createdAt: string;
|
|
688
688
|
}[];
|
|
@@ -692,7 +692,7 @@ export declare function getBookingItemTravelersQueryOptions(client: FetchWithVal
|
|
|
692
692
|
id: string;
|
|
693
693
|
bookingItemId: string;
|
|
694
694
|
travelerId: string;
|
|
695
|
-
role: "
|
|
695
|
+
role: "traveler" | "occupant" | "other" | "beneficiary" | "service_assignee" | "primary_contact";
|
|
696
696
|
isPrimary: boolean;
|
|
697
697
|
createdAt: string;
|
|
698
698
|
}[];
|
|
@@ -704,7 +704,7 @@ export declare function getBookingItemTravelersQueryOptions(client: FetchWithVal
|
|
|
704
704
|
id: string;
|
|
705
705
|
bookingItemId: string;
|
|
706
706
|
travelerId: string;
|
|
707
|
-
role: "
|
|
707
|
+
role: "traveler" | "occupant" | "other" | "beneficiary" | "service_assignee" | "primary_contact";
|
|
708
708
|
isPrimary: boolean;
|
|
709
709
|
createdAt: string;
|
|
710
710
|
}[];
|
|
@@ -717,7 +717,7 @@ export declare function getBookingTravelerDocumentsQueryOptions(client: FetchWit
|
|
|
717
717
|
id: string;
|
|
718
718
|
bookingId: string;
|
|
719
719
|
travelerId: string | null;
|
|
720
|
-
type: "
|
|
720
|
+
type: "other" | "visa" | "insurance" | "health" | "passport_copy";
|
|
721
721
|
fileName: string;
|
|
722
722
|
fileUrl: string;
|
|
723
723
|
expiresAt: string | null;
|
|
@@ -729,7 +729,7 @@ export declare function getBookingTravelerDocumentsQueryOptions(client: FetchWit
|
|
|
729
729
|
id: string;
|
|
730
730
|
bookingId: string;
|
|
731
731
|
travelerId: string | null;
|
|
732
|
-
type: "
|
|
732
|
+
type: "other" | "visa" | "insurance" | "health" | "passport_copy";
|
|
733
733
|
fileName: string;
|
|
734
734
|
fileUrl: string;
|
|
735
735
|
expiresAt: string | null;
|
|
@@ -742,7 +742,7 @@ export declare function getBookingTravelerDocumentsQueryOptions(client: FetchWit
|
|
|
742
742
|
id: string;
|
|
743
743
|
bookingId: string;
|
|
744
744
|
travelerId: string | null;
|
|
745
|
-
type: "
|
|
745
|
+
type: "other" | "visa" | "insurance" | "health" | "passport_copy";
|
|
746
746
|
fileName: string;
|
|
747
747
|
fileUrl: string;
|
|
748
748
|
expiresAt: string | null;
|
|
@@ -757,7 +757,7 @@ export declare function getBookingTravelerDocumentsQueryOptions(client: FetchWit
|
|
|
757
757
|
id: string;
|
|
758
758
|
bookingId: string;
|
|
759
759
|
travelerId: string | null;
|
|
760
|
-
type: "
|
|
760
|
+
type: "other" | "visa" | "insurance" | "health" | "passport_copy";
|
|
761
761
|
fileName: string;
|
|
762
762
|
fileUrl: string;
|
|
763
763
|
expiresAt: string | null;
|
|
@@ -1014,7 +1014,7 @@ export declare function getTravelerRevealQueryOptions(client: FetchWithValidatio
|
|
|
1014
1014
|
travelDetails: {
|
|
1015
1015
|
travelerId: string;
|
|
1016
1016
|
nationality: string | null;
|
|
1017
|
-
documentType: "
|
|
1017
|
+
documentType: "other" | "visa" | "passport" | "id_card" | "driver_license" | null;
|
|
1018
1018
|
documentNumber: string | null;
|
|
1019
1019
|
documentExpiry: string | null;
|
|
1020
1020
|
documentIssuingCountry: string | null;
|
|
@@ -1052,7 +1052,7 @@ export declare function getTravelerRevealQueryOptions(client: FetchWithValidatio
|
|
|
1052
1052
|
travelDetails: {
|
|
1053
1053
|
travelerId: string;
|
|
1054
1054
|
nationality: string | null;
|
|
1055
|
-
documentType: "
|
|
1055
|
+
documentType: "other" | "visa" | "passport" | "id_card" | "driver_license" | null;
|
|
1056
1056
|
documentNumber: string | null;
|
|
1057
1057
|
documentExpiry: string | null;
|
|
1058
1058
|
documentIssuingCountry: string | null;
|
|
@@ -1091,7 +1091,7 @@ export declare function getTravelerRevealQueryOptions(client: FetchWithValidatio
|
|
|
1091
1091
|
travelDetails: {
|
|
1092
1092
|
travelerId: string;
|
|
1093
1093
|
nationality: string | null;
|
|
1094
|
-
documentType: "
|
|
1094
|
+
documentType: "other" | "visa" | "passport" | "id_card" | "driver_license" | null;
|
|
1095
1095
|
documentNumber: string | null;
|
|
1096
1096
|
documentExpiry: string | null;
|
|
1097
1097
|
documentIssuingCountry: string | null;
|
|
@@ -1132,7 +1132,7 @@ export declare function getTravelerRevealQueryOptions(client: FetchWithValidatio
|
|
|
1132
1132
|
travelDetails: {
|
|
1133
1133
|
travelerId: string;
|
|
1134
1134
|
nationality: string | null;
|
|
1135
|
-
documentType: "
|
|
1135
|
+
documentType: "other" | "visa" | "passport" | "id_card" | "driver_license" | null;
|
|
1136
1136
|
documentNumber: string | null;
|
|
1137
1137
|
documentExpiry: string | null;
|
|
1138
1138
|
documentIssuingCountry: string | null;
|
|
@@ -1350,7 +1350,7 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
|
|
|
1350
1350
|
completedAt: string | null;
|
|
1351
1351
|
travelers: {
|
|
1352
1352
|
id: string;
|
|
1353
|
-
participantType: "
|
|
1353
|
+
participantType: "traveler" | "occupant" | "other";
|
|
1354
1354
|
travelerCategory: "other" | "adult" | "child" | "infant" | "senior" | null;
|
|
1355
1355
|
firstName: string;
|
|
1356
1356
|
lastName: string;
|
|
@@ -1385,7 +1385,7 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
|
|
|
1385
1385
|
travelerLinks: {
|
|
1386
1386
|
id: string;
|
|
1387
1387
|
travelerId: string;
|
|
1388
|
-
role: "
|
|
1388
|
+
role: "traveler" | "occupant" | "other" | "beneficiary";
|
|
1389
1389
|
isPrimary: boolean;
|
|
1390
1390
|
}[];
|
|
1391
1391
|
}[];
|
|
@@ -1446,7 +1446,7 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
|
|
|
1446
1446
|
completedAt: string | null;
|
|
1447
1447
|
travelers: {
|
|
1448
1448
|
id: string;
|
|
1449
|
-
participantType: "
|
|
1449
|
+
participantType: "traveler" | "occupant" | "other";
|
|
1450
1450
|
travelerCategory: "other" | "adult" | "child" | "infant" | "senior" | null;
|
|
1451
1451
|
firstName: string;
|
|
1452
1452
|
lastName: string;
|
|
@@ -1481,7 +1481,7 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
|
|
|
1481
1481
|
travelerLinks: {
|
|
1482
1482
|
id: string;
|
|
1483
1483
|
travelerId: string;
|
|
1484
|
-
role: "
|
|
1484
|
+
role: "traveler" | "occupant" | "other" | "beneficiary";
|
|
1485
1485
|
isPrimary: boolean;
|
|
1486
1486
|
}[];
|
|
1487
1487
|
}[];
|
|
@@ -1543,7 +1543,7 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
|
|
|
1543
1543
|
completedAt: string | null;
|
|
1544
1544
|
travelers: {
|
|
1545
1545
|
id: string;
|
|
1546
|
-
participantType: "
|
|
1546
|
+
participantType: "traveler" | "occupant" | "other";
|
|
1547
1547
|
travelerCategory: "other" | "adult" | "child" | "infant" | "senior" | null;
|
|
1548
1548
|
firstName: string;
|
|
1549
1549
|
lastName: string;
|
|
@@ -1578,7 +1578,7 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
|
|
|
1578
1578
|
travelerLinks: {
|
|
1579
1579
|
id: string;
|
|
1580
1580
|
travelerId: string;
|
|
1581
|
-
role: "
|
|
1581
|
+
role: "traveler" | "occupant" | "other" | "beneficiary";
|
|
1582
1582
|
isPrimary: boolean;
|
|
1583
1583
|
}[];
|
|
1584
1584
|
}[];
|
|
@@ -1642,7 +1642,7 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
|
|
|
1642
1642
|
completedAt: string | null;
|
|
1643
1643
|
travelers: {
|
|
1644
1644
|
id: string;
|
|
1645
|
-
participantType: "
|
|
1645
|
+
participantType: "traveler" | "occupant" | "other";
|
|
1646
1646
|
travelerCategory: "other" | "adult" | "child" | "infant" | "senior" | null;
|
|
1647
1647
|
firstName: string;
|
|
1648
1648
|
lastName: string;
|
|
@@ -1677,7 +1677,7 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
|
|
|
1677
1677
|
travelerLinks: {
|
|
1678
1678
|
id: string;
|
|
1679
1679
|
travelerId: string;
|
|
1680
|
-
role: "
|
|
1680
|
+
role: "traveler" | "occupant" | "other" | "beneficiary";
|
|
1681
1681
|
isPrimary: boolean;
|
|
1682
1682
|
}[];
|
|
1683
1683
|
}[];
|
package/dist/schemas.d.ts
CHANGED
|
@@ -165,9 +165,9 @@ export declare const bookingTravelerTravelDetailsSchema: z.ZodObject<{
|
|
|
165
165
|
travelerId: z.ZodString;
|
|
166
166
|
nationality: z.ZodNullable<z.ZodString>;
|
|
167
167
|
documentType: z.ZodNullable<z.ZodEnum<{
|
|
168
|
-
passport: "passport";
|
|
169
|
-
visa: "visa";
|
|
170
168
|
other: "other";
|
|
169
|
+
visa: "visa";
|
|
170
|
+
passport: "passport";
|
|
171
171
|
id_card: "id_card";
|
|
172
172
|
driver_license: "driver_license";
|
|
173
173
|
}>>;
|
|
@@ -212,9 +212,9 @@ export declare const bookingTravelerRevealRecordSchema: z.ZodObject<{
|
|
|
212
212
|
travelerId: z.ZodString;
|
|
213
213
|
nationality: z.ZodNullable<z.ZodString>;
|
|
214
214
|
documentType: z.ZodNullable<z.ZodEnum<{
|
|
215
|
-
passport: "passport";
|
|
216
|
-
visa: "visa";
|
|
217
215
|
other: "other";
|
|
216
|
+
visa: "visa";
|
|
217
|
+
passport: "passport";
|
|
218
218
|
id_card: "id_card";
|
|
219
219
|
driver_license: "driver_license";
|
|
220
220
|
}>>;
|
|
@@ -387,9 +387,9 @@ export declare const bookingItemRecordSchema: z.ZodObject<{
|
|
|
387
387
|
}, z.core.$strip>;
|
|
388
388
|
export type BookingItemRecord = z.infer<typeof bookingItemRecordSchema>;
|
|
389
389
|
export declare const bookingItemTravelerRoleSchema: z.ZodEnum<{
|
|
390
|
-
other: "other";
|
|
391
390
|
traveler: "traveler";
|
|
392
391
|
occupant: "occupant";
|
|
392
|
+
other: "other";
|
|
393
393
|
beneficiary: "beneficiary";
|
|
394
394
|
service_assignee: "service_assignee";
|
|
395
395
|
primary_contact: "primary_contact";
|
|
@@ -399,9 +399,9 @@ export declare const bookingItemTravelerRecordSchema: z.ZodObject<{
|
|
|
399
399
|
bookingItemId: z.ZodString;
|
|
400
400
|
travelerId: z.ZodString;
|
|
401
401
|
role: z.ZodEnum<{
|
|
402
|
-
other: "other";
|
|
403
402
|
traveler: "traveler";
|
|
404
403
|
occupant: "occupant";
|
|
404
|
+
other: "other";
|
|
405
405
|
beneficiary: "beneficiary";
|
|
406
406
|
service_assignee: "service_assignee";
|
|
407
407
|
primary_contact: "primary_contact";
|
|
@@ -411,8 +411,8 @@ export declare const bookingItemTravelerRecordSchema: z.ZodObject<{
|
|
|
411
411
|
}, z.core.$strip>;
|
|
412
412
|
export type BookingItemTravelerRecord = z.infer<typeof bookingItemTravelerRecordSchema>;
|
|
413
413
|
export declare const bookingDocumentTypeSchema: z.ZodEnum<{
|
|
414
|
-
visa: "visa";
|
|
415
414
|
other: "other";
|
|
415
|
+
visa: "visa";
|
|
416
416
|
insurance: "insurance";
|
|
417
417
|
health: "health";
|
|
418
418
|
passport_copy: "passport_copy";
|
|
@@ -422,8 +422,8 @@ export declare const bookingTravelerDocumentRecordSchema: z.ZodObject<{
|
|
|
422
422
|
bookingId: z.ZodString;
|
|
423
423
|
travelerId: z.ZodNullable<z.ZodString>;
|
|
424
424
|
type: z.ZodEnum<{
|
|
425
|
-
visa: "visa";
|
|
426
425
|
other: "other";
|
|
426
|
+
visa: "visa";
|
|
427
427
|
insurance: "insurance";
|
|
428
428
|
health: "health";
|
|
429
429
|
passport_copy: "passport_copy";
|
|
@@ -876,9 +876,9 @@ export declare const bookingItemTravelersResponse: z.ZodObject<{
|
|
|
876
876
|
bookingItemId: z.ZodString;
|
|
877
877
|
travelerId: z.ZodString;
|
|
878
878
|
role: z.ZodEnum<{
|
|
879
|
-
other: "other";
|
|
880
879
|
traveler: "traveler";
|
|
881
880
|
occupant: "occupant";
|
|
881
|
+
other: "other";
|
|
882
882
|
beneficiary: "beneficiary";
|
|
883
883
|
service_assignee: "service_assignee";
|
|
884
884
|
primary_contact: "primary_contact";
|
|
@@ -893,8 +893,8 @@ export declare const bookingTravelerDocumentsResponse: z.ZodObject<{
|
|
|
893
893
|
bookingId: z.ZodString;
|
|
894
894
|
travelerId: z.ZodNullable<z.ZodString>;
|
|
895
895
|
type: z.ZodEnum<{
|
|
896
|
-
visa: "visa";
|
|
897
896
|
other: "other";
|
|
897
|
+
visa: "visa";
|
|
898
898
|
insurance: "insurance";
|
|
899
899
|
health: "health";
|
|
900
900
|
passport_copy: "passport_copy";
|
|
@@ -1236,9 +1236,9 @@ export declare const bookingTravelerSingleResponse: z.ZodObject<{
|
|
|
1236
1236
|
travelerId: z.ZodString;
|
|
1237
1237
|
nationality: z.ZodNullable<z.ZodString>;
|
|
1238
1238
|
documentType: z.ZodNullable<z.ZodEnum<{
|
|
1239
|
-
passport: "passport";
|
|
1240
|
-
visa: "visa";
|
|
1241
1239
|
other: "other";
|
|
1240
|
+
visa: "visa";
|
|
1241
|
+
passport: "passport";
|
|
1242
1242
|
id_card: "id_card";
|
|
1243
1243
|
driver_license: "driver_license";
|
|
1244
1244
|
}>>;
|
|
@@ -1373,9 +1373,9 @@ export declare const publicBookingSessionResponse: z.ZodObject<{
|
|
|
1373
1373
|
travelers: z.ZodArray<z.ZodObject<{
|
|
1374
1374
|
id: z.ZodString;
|
|
1375
1375
|
participantType: z.ZodEnum<{
|
|
1376
|
-
other: "other";
|
|
1377
1376
|
traveler: "traveler";
|
|
1378
1377
|
occupant: "occupant";
|
|
1378
|
+
other: "other";
|
|
1379
1379
|
}>;
|
|
1380
1380
|
travelerCategory: z.ZodNullable<z.ZodEnum<{
|
|
1381
1381
|
other: "other";
|
|
@@ -1436,9 +1436,9 @@ export declare const publicBookingSessionResponse: z.ZodObject<{
|
|
|
1436
1436
|
id: z.ZodString;
|
|
1437
1437
|
travelerId: z.ZodString;
|
|
1438
1438
|
role: z.ZodEnum<{
|
|
1439
|
-
other: "other";
|
|
1440
1439
|
traveler: "traveler";
|
|
1441
1440
|
occupant: "occupant";
|
|
1441
|
+
other: "other";
|
|
1442
1442
|
beneficiary: "beneficiary";
|
|
1443
1443
|
}>;
|
|
1444
1444
|
isPrimary: z.ZodBoolean;
|
|
@@ -1566,9 +1566,9 @@ export declare const publicBookingSessionRepriceResponse: z.ZodObject<{
|
|
|
1566
1566
|
travelers: z.ZodArray<z.ZodObject<{
|
|
1567
1567
|
id: z.ZodString;
|
|
1568
1568
|
participantType: z.ZodEnum<{
|
|
1569
|
-
other: "other";
|
|
1570
1569
|
traveler: "traveler";
|
|
1571
1570
|
occupant: "occupant";
|
|
1571
|
+
other: "other";
|
|
1572
1572
|
}>;
|
|
1573
1573
|
travelerCategory: z.ZodNullable<z.ZodEnum<{
|
|
1574
1574
|
other: "other";
|
|
@@ -1629,9 +1629,9 @@ export declare const publicBookingSessionRepriceResponse: z.ZodObject<{
|
|
|
1629
1629
|
id: z.ZodString;
|
|
1630
1630
|
travelerId: z.ZodString;
|
|
1631
1631
|
role: z.ZodEnum<{
|
|
1632
|
-
other: "other";
|
|
1633
1632
|
traveler: "traveler";
|
|
1634
1633
|
occupant: "occupant";
|
|
1634
|
+
other: "other";
|
|
1635
1635
|
beneficiary: "beneficiary";
|
|
1636
1636
|
}>;
|
|
1637
1637
|
isPrimary: z.ZodBoolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/bookings-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.98.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"react": "^19.0.0",
|
|
42
42
|
"react-dom": "^19.0.0",
|
|
43
43
|
"zod": "^4.0.0",
|
|
44
|
-
"@voyantjs/bookings": "0.
|
|
44
|
+
"@voyantjs/bookings": "0.98.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@tanstack/react-query": "^5.100.11",
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
"typescript": "^6.0.2",
|
|
53
53
|
"vitest": "^4.1.2",
|
|
54
54
|
"zod": "^4.3.6",
|
|
55
|
-
"@voyantjs/bookings": "0.
|
|
56
|
-
"@voyantjs/react": "0.
|
|
55
|
+
"@voyantjs/bookings": "0.98.0",
|
|
56
|
+
"@voyantjs/react": "0.98.0",
|
|
57
57
|
"@voyantjs/voyant-typescript-config": "0.1.0"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@voyantjs/react": "0.
|
|
60
|
+
"@voyantjs/react": "0.98.0"
|
|
61
61
|
},
|
|
62
62
|
"files": [
|
|
63
63
|
"dist"
|