@voyant-travel/bookings-react 0.168.0 → 0.169.1
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/admin/index.d.ts +7 -7
- package/dist/extras/hooks/use-product-extra.d.ts +1 -1
- package/dist/extras/hooks/use-product-extras.d.ts +1 -1
- package/dist/extras/hooks/use-slot-extra-manifest-mutation.d.ts +2 -2
- package/dist/extras/hooks/use-slot-extra-manifest.d.ts +3 -3
- package/dist/extras/query-options.d.ts +20 -20
- package/dist/extras/schemas.d.ts +19 -19
- package/dist/hooks/use-booking-action-ledger.d.ts +2 -2
- package/dist/hooks/use-booking-cancel-mutation.d.ts +1 -1
- package/dist/hooks/use-booking-convert-mutation.d.ts +1 -1
- package/dist/hooks/use-booking-create-mutation.d.ts +2 -2
- package/dist/hooks/use-booking-dual-create-mutation.d.ts +4 -4
- package/dist/hooks/use-booking-group.d.ts +1 -1
- package/dist/hooks/use-booking-item-mutation.d.ts +6 -6
- package/dist/hooks/use-booking-items.d.ts +2 -2
- package/dist/hooks/use-booking-mutation.d.ts +2 -2
- package/dist/hooks/use-booking-status-mutation.d.ts +2 -2
- package/dist/hooks/use-booking.d.ts +3 -3
- package/dist/hooks/use-bookings.d.ts +1 -1
- package/dist/hooks/use-public-booking-session-flow-mutation.d.ts +4 -4
- package/dist/hooks/use-public-booking-session.d.ts +4 -4
- package/dist/hooks/use-supplier-status-mutation.d.ts +2 -2
- package/dist/hooks/use-supplier-statuses.d.ts +1 -1
- package/dist/query-options.d.ts +48 -48
- package/dist/requirements/hooks/use-booking-questions.d.ts +1 -1
- package/dist/requirements/query-options.d.ts +4 -4
- package/dist/requirements/schemas.d.ts +3 -3
- package/dist/schemas.d.ts +37 -37
- package/dist/status-presentation.d.ts +1 -1
- package/package.json +36 -36
|
@@ -41,7 +41,7 @@ export declare function usePublicBookingSessionFlowMutation(sessionId: string):
|
|
|
41
41
|
session: {
|
|
42
42
|
sessionId: string;
|
|
43
43
|
bookingNumber: string;
|
|
44
|
-
status: "draft" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed"
|
|
44
|
+
status: "draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed";
|
|
45
45
|
externalBookingRef: string | null;
|
|
46
46
|
communicationLanguage: string | null;
|
|
47
47
|
sellCurrency: string;
|
|
@@ -71,8 +71,8 @@ export declare function usePublicBookingSessionFlowMutation(sessionId: string):
|
|
|
71
71
|
id: string;
|
|
72
72
|
title: string;
|
|
73
73
|
description: string | null;
|
|
74
|
-
itemType: "other" | "
|
|
75
|
-
status: "draft" | "
|
|
74
|
+
itemType: "other" | "service" | "accommodation" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "transport";
|
|
75
|
+
status: "draft" | "expired" | "cancelled" | "fulfilled" | "on_hold" | "confirmed";
|
|
76
76
|
serviceDate: string | null;
|
|
77
77
|
startsAt: string | null;
|
|
78
78
|
endsAt: string | null;
|
|
@@ -105,7 +105,7 @@ export declare function usePublicBookingSessionFlowMutation(sessionId: string):
|
|
|
105
105
|
availabilitySlotId: string | null;
|
|
106
106
|
quantity: number;
|
|
107
107
|
allocationType: "resource" | "unit" | "pickup";
|
|
108
|
-
status: "
|
|
108
|
+
status: "expired" | "cancelled" | "fulfilled" | "confirmed" | "released" | "held";
|
|
109
109
|
holdExpiresAt: string | null;
|
|
110
110
|
confirmedAt: string | null;
|
|
111
111
|
releasedAt: string | null;
|
|
@@ -5,7 +5,7 @@ export declare function usePublicBookingSession(sessionId: string | null | undef
|
|
|
5
5
|
data: {
|
|
6
6
|
sessionId: string;
|
|
7
7
|
bookingNumber: string;
|
|
8
|
-
status: "draft" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed"
|
|
8
|
+
status: "draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed";
|
|
9
9
|
externalBookingRef: string | null;
|
|
10
10
|
communicationLanguage: string | null;
|
|
11
11
|
sellCurrency: string;
|
|
@@ -35,8 +35,8 @@ export declare function usePublicBookingSession(sessionId: string | null | undef
|
|
|
35
35
|
id: string;
|
|
36
36
|
title: string;
|
|
37
37
|
description: string | null;
|
|
38
|
-
itemType: "other" | "
|
|
39
|
-
status: "draft" | "
|
|
38
|
+
itemType: "other" | "service" | "accommodation" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "transport";
|
|
39
|
+
status: "draft" | "expired" | "cancelled" | "fulfilled" | "on_hold" | "confirmed";
|
|
40
40
|
serviceDate: string | null;
|
|
41
41
|
startsAt: string | null;
|
|
42
42
|
endsAt: string | null;
|
|
@@ -69,7 +69,7 @@ export declare function usePublicBookingSession(sessionId: string | null | undef
|
|
|
69
69
|
availabilitySlotId: string | null;
|
|
70
70
|
quantity: number;
|
|
71
71
|
allocationType: "resource" | "unit" | "pickup";
|
|
72
|
-
status: "
|
|
72
|
+
status: "expired" | "cancelled" | "fulfilled" | "confirmed" | "released" | "held";
|
|
73
73
|
holdExpiresAt: string | null;
|
|
74
74
|
confirmedAt: string | null;
|
|
75
75
|
releasedAt: string | null;
|
|
@@ -16,7 +16,7 @@ export declare function useSupplierStatusMutation(bookingId: string): {
|
|
|
16
16
|
bookingId: string;
|
|
17
17
|
supplierServiceId: string | null;
|
|
18
18
|
serviceName: string;
|
|
19
|
-
status: "
|
|
19
|
+
status: "cancelled" | "pending" | "confirmed" | "rejected";
|
|
20
20
|
supplierReference: string | null;
|
|
21
21
|
costCurrency: string;
|
|
22
22
|
costAmountCents: number;
|
|
@@ -30,7 +30,7 @@ export declare function useSupplierStatusMutation(bookingId: string): {
|
|
|
30
30
|
bookingId: string;
|
|
31
31
|
supplierServiceId: string | null;
|
|
32
32
|
serviceName: string;
|
|
33
|
-
status: "
|
|
33
|
+
status: "cancelled" | "pending" | "confirmed" | "rejected";
|
|
34
34
|
supplierReference: string | null;
|
|
35
35
|
costCurrency: string;
|
|
36
36
|
costAmountCents: number;
|
|
@@ -7,7 +7,7 @@ export declare function useSupplierStatuses(bookingId: string | null | undefined
|
|
|
7
7
|
bookingId: string;
|
|
8
8
|
supplierServiceId: string | null;
|
|
9
9
|
serviceName: string;
|
|
10
|
-
status: "
|
|
10
|
+
status: "cancelled" | "pending" | "confirmed" | "rejected";
|
|
11
11
|
supplierReference: string | null;
|
|
12
12
|
costCurrency: string;
|
|
13
13
|
costAmountCents: number;
|
package/dist/query-options.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export declare function getBookingsQueryOptions(client: FetchWithValidationOptio
|
|
|
16
16
|
data: {
|
|
17
17
|
id: string;
|
|
18
18
|
bookingNumber: string;
|
|
19
|
-
status: "draft" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed"
|
|
19
|
+
status: "draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed";
|
|
20
20
|
personId: string | null;
|
|
21
21
|
organizationId: string | null;
|
|
22
22
|
sellCurrency: string;
|
|
@@ -81,7 +81,7 @@ export declare function getBookingsQueryOptions(client: FetchWithValidationOptio
|
|
|
81
81
|
data: {
|
|
82
82
|
id: string;
|
|
83
83
|
bookingNumber: string;
|
|
84
|
-
status: "draft" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed"
|
|
84
|
+
status: "draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed";
|
|
85
85
|
personId: string | null;
|
|
86
86
|
organizationId: string | null;
|
|
87
87
|
sellCurrency: string;
|
|
@@ -147,7 +147,7 @@ export declare function getBookingsQueryOptions(client: FetchWithValidationOptio
|
|
|
147
147
|
data: {
|
|
148
148
|
id: string;
|
|
149
149
|
bookingNumber: string;
|
|
150
|
-
status: "draft" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed"
|
|
150
|
+
status: "draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed";
|
|
151
151
|
personId: string | null;
|
|
152
152
|
organizationId: string | null;
|
|
153
153
|
sellCurrency: string;
|
|
@@ -215,7 +215,7 @@ export declare function getBookingsQueryOptions(client: FetchWithValidationOptio
|
|
|
215
215
|
data: {
|
|
216
216
|
id: string;
|
|
217
217
|
bookingNumber: string;
|
|
218
|
-
status: "draft" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed"
|
|
218
|
+
status: "draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed";
|
|
219
219
|
personId: string | null;
|
|
220
220
|
organizationId: string | null;
|
|
221
221
|
sellCurrency: string;
|
|
@@ -284,7 +284,7 @@ export declare function getBookingQueryOptions(client: FetchWithValidationOption
|
|
|
284
284
|
data: {
|
|
285
285
|
id: string;
|
|
286
286
|
bookingNumber: string;
|
|
287
|
-
status: "draft" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed"
|
|
287
|
+
status: "draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed";
|
|
288
288
|
personId: string | null;
|
|
289
289
|
organizationId: string | null;
|
|
290
290
|
sellCurrency: string;
|
|
@@ -302,8 +302,8 @@ export declare function getBookingQueryOptions(client: FetchWithValidationOption
|
|
|
302
302
|
bookingId: string;
|
|
303
303
|
title: string;
|
|
304
304
|
description: string | null;
|
|
305
|
-
itemType: "other" | "
|
|
306
|
-
status: "draft" | "
|
|
305
|
+
itemType: "other" | "service" | "accommodation" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "transport";
|
|
306
|
+
status: "draft" | "expired" | "cancelled" | "fulfilled" | "on_hold" | "confirmed";
|
|
307
307
|
serviceDate: string | null;
|
|
308
308
|
startsAt: string | null;
|
|
309
309
|
endsAt: string | null;
|
|
@@ -431,7 +431,7 @@ export declare function getBookingQueryOptions(client: FetchWithValidationOption
|
|
|
431
431
|
data: {
|
|
432
432
|
id: string;
|
|
433
433
|
bookingNumber: string;
|
|
434
|
-
status: "draft" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed"
|
|
434
|
+
status: "draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed";
|
|
435
435
|
personId: string | null;
|
|
436
436
|
organizationId: string | null;
|
|
437
437
|
sellCurrency: string;
|
|
@@ -449,8 +449,8 @@ export declare function getBookingQueryOptions(client: FetchWithValidationOption
|
|
|
449
449
|
bookingId: string;
|
|
450
450
|
title: string;
|
|
451
451
|
description: string | null;
|
|
452
|
-
itemType: "other" | "
|
|
453
|
-
status: "draft" | "
|
|
452
|
+
itemType: "other" | "service" | "accommodation" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "transport";
|
|
453
|
+
status: "draft" | "expired" | "cancelled" | "fulfilled" | "on_hold" | "confirmed";
|
|
454
454
|
serviceDate: string | null;
|
|
455
455
|
startsAt: string | null;
|
|
456
456
|
endsAt: string | null;
|
|
@@ -579,7 +579,7 @@ export declare function getBookingQueryOptions(client: FetchWithValidationOption
|
|
|
579
579
|
data: {
|
|
580
580
|
id: string;
|
|
581
581
|
bookingNumber: string;
|
|
582
|
-
status: "draft" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed"
|
|
582
|
+
status: "draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed";
|
|
583
583
|
personId: string | null;
|
|
584
584
|
organizationId: string | null;
|
|
585
585
|
sellCurrency: string;
|
|
@@ -597,8 +597,8 @@ export declare function getBookingQueryOptions(client: FetchWithValidationOption
|
|
|
597
597
|
bookingId: string;
|
|
598
598
|
title: string;
|
|
599
599
|
description: string | null;
|
|
600
|
-
itemType: "other" | "
|
|
601
|
-
status: "draft" | "
|
|
600
|
+
itemType: "other" | "service" | "accommodation" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "transport";
|
|
601
|
+
status: "draft" | "expired" | "cancelled" | "fulfilled" | "on_hold" | "confirmed";
|
|
602
602
|
serviceDate: string | null;
|
|
603
603
|
startsAt: string | null;
|
|
604
604
|
endsAt: string | null;
|
|
@@ -729,7 +729,7 @@ export declare function getBookingQueryOptions(client: FetchWithValidationOption
|
|
|
729
729
|
data: {
|
|
730
730
|
id: string;
|
|
731
731
|
bookingNumber: string;
|
|
732
|
-
status: "draft" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed"
|
|
732
|
+
status: "draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed";
|
|
733
733
|
personId: string | null;
|
|
734
734
|
organizationId: string | null;
|
|
735
735
|
sellCurrency: string;
|
|
@@ -747,8 +747,8 @@ export declare function getBookingQueryOptions(client: FetchWithValidationOption
|
|
|
747
747
|
bookingId: string;
|
|
748
748
|
title: string;
|
|
749
749
|
description: string | null;
|
|
750
|
-
itemType: "other" | "
|
|
751
|
-
status: "draft" | "
|
|
750
|
+
itemType: "other" | "service" | "accommodation" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "transport";
|
|
751
|
+
status: "draft" | "expired" | "cancelled" | "fulfilled" | "on_hold" | "confirmed";
|
|
752
752
|
serviceDate: string | null;
|
|
753
753
|
startsAt: string | null;
|
|
754
754
|
endsAt: string | null;
|
|
@@ -882,8 +882,8 @@ export declare function getBookingItemsQueryOptions(client: FetchWithValidationO
|
|
|
882
882
|
bookingId: string;
|
|
883
883
|
title: string;
|
|
884
884
|
description: string | null;
|
|
885
|
-
itemType: "other" | "
|
|
886
|
-
status: "draft" | "
|
|
885
|
+
itemType: "other" | "service" | "accommodation" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "transport";
|
|
886
|
+
status: "draft" | "expired" | "cancelled" | "fulfilled" | "on_hold" | "confirmed";
|
|
887
887
|
serviceDate: string | null;
|
|
888
888
|
startsAt: string | null;
|
|
889
889
|
endsAt: string | null;
|
|
@@ -913,8 +913,8 @@ export declare function getBookingItemsQueryOptions(client: FetchWithValidationO
|
|
|
913
913
|
bookingId: string;
|
|
914
914
|
title: string;
|
|
915
915
|
description: string | null;
|
|
916
|
-
itemType: "other" | "
|
|
917
|
-
status: "draft" | "
|
|
916
|
+
itemType: "other" | "service" | "accommodation" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "transport";
|
|
917
|
+
status: "draft" | "expired" | "cancelled" | "fulfilled" | "on_hold" | "confirmed";
|
|
918
918
|
serviceDate: string | null;
|
|
919
919
|
startsAt: string | null;
|
|
920
920
|
endsAt: string | null;
|
|
@@ -945,8 +945,8 @@ export declare function getBookingItemsQueryOptions(client: FetchWithValidationO
|
|
|
945
945
|
bookingId: string;
|
|
946
946
|
title: string;
|
|
947
947
|
description: string | null;
|
|
948
|
-
itemType: "other" | "
|
|
949
|
-
status: "draft" | "
|
|
948
|
+
itemType: "other" | "service" | "accommodation" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "transport";
|
|
949
|
+
status: "draft" | "expired" | "cancelled" | "fulfilled" | "on_hold" | "confirmed";
|
|
950
950
|
serviceDate: string | null;
|
|
951
951
|
startsAt: string | null;
|
|
952
952
|
endsAt: string | null;
|
|
@@ -979,8 +979,8 @@ export declare function getBookingItemsQueryOptions(client: FetchWithValidationO
|
|
|
979
979
|
bookingId: string;
|
|
980
980
|
title: string;
|
|
981
981
|
description: string | null;
|
|
982
|
-
itemType: "other" | "
|
|
983
|
-
status: "draft" | "
|
|
982
|
+
itemType: "other" | "service" | "accommodation" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "transport";
|
|
983
|
+
status: "draft" | "expired" | "cancelled" | "fulfilled" | "on_hold" | "confirmed";
|
|
984
984
|
serviceDate: string | null;
|
|
985
985
|
startsAt: string | null;
|
|
986
986
|
endsAt: string | null;
|
|
@@ -1505,7 +1505,7 @@ export declare function getSupplierStatusesQueryOptions(client: FetchWithValidat
|
|
|
1505
1505
|
bookingId: string;
|
|
1506
1506
|
supplierServiceId: string | null;
|
|
1507
1507
|
serviceName: string;
|
|
1508
|
-
status: "
|
|
1508
|
+
status: "cancelled" | "pending" | "confirmed" | "rejected";
|
|
1509
1509
|
supplierReference: string | null;
|
|
1510
1510
|
costCurrency: string;
|
|
1511
1511
|
costAmountCents: number;
|
|
@@ -1520,7 +1520,7 @@ export declare function getSupplierStatusesQueryOptions(client: FetchWithValidat
|
|
|
1520
1520
|
bookingId: string;
|
|
1521
1521
|
supplierServiceId: string | null;
|
|
1522
1522
|
serviceName: string;
|
|
1523
|
-
status: "
|
|
1523
|
+
status: "cancelled" | "pending" | "confirmed" | "rejected";
|
|
1524
1524
|
supplierReference: string | null;
|
|
1525
1525
|
costCurrency: string;
|
|
1526
1526
|
costAmountCents: number;
|
|
@@ -1536,7 +1536,7 @@ export declare function getSupplierStatusesQueryOptions(client: FetchWithValidat
|
|
|
1536
1536
|
bookingId: string;
|
|
1537
1537
|
supplierServiceId: string | null;
|
|
1538
1538
|
serviceName: string;
|
|
1539
|
-
status: "
|
|
1539
|
+
status: "cancelled" | "pending" | "confirmed" | "rejected";
|
|
1540
1540
|
supplierReference: string | null;
|
|
1541
1541
|
costCurrency: string;
|
|
1542
1542
|
costAmountCents: number;
|
|
@@ -1554,7 +1554,7 @@ export declare function getSupplierStatusesQueryOptions(client: FetchWithValidat
|
|
|
1554
1554
|
bookingId: string;
|
|
1555
1555
|
supplierServiceId: string | null;
|
|
1556
1556
|
serviceName: string;
|
|
1557
|
-
status: "
|
|
1557
|
+
status: "cancelled" | "pending" | "confirmed" | "rejected";
|
|
1558
1558
|
supplierReference: string | null;
|
|
1559
1559
|
costCurrency: string;
|
|
1560
1560
|
costAmountCents: number;
|
|
@@ -1675,7 +1675,7 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
|
|
|
1675
1675
|
data: {
|
|
1676
1676
|
sessionId: string;
|
|
1677
1677
|
bookingNumber: string;
|
|
1678
|
-
status: "draft" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed"
|
|
1678
|
+
status: "draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed";
|
|
1679
1679
|
externalBookingRef: string | null;
|
|
1680
1680
|
communicationLanguage: string | null;
|
|
1681
1681
|
sellCurrency: string;
|
|
@@ -1705,8 +1705,8 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
|
|
|
1705
1705
|
id: string;
|
|
1706
1706
|
title: string;
|
|
1707
1707
|
description: string | null;
|
|
1708
|
-
itemType: "other" | "
|
|
1709
|
-
status: "draft" | "
|
|
1708
|
+
itemType: "other" | "service" | "accommodation" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "transport";
|
|
1709
|
+
status: "draft" | "expired" | "cancelled" | "fulfilled" | "on_hold" | "confirmed";
|
|
1710
1710
|
serviceDate: string | null;
|
|
1711
1711
|
startsAt: string | null;
|
|
1712
1712
|
endsAt: string | null;
|
|
@@ -1739,7 +1739,7 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
|
|
|
1739
1739
|
availabilitySlotId: string | null;
|
|
1740
1740
|
quantity: number;
|
|
1741
1741
|
allocationType: "resource" | "unit" | "pickup";
|
|
1742
|
-
status: "
|
|
1742
|
+
status: "expired" | "cancelled" | "fulfilled" | "confirmed" | "released" | "held";
|
|
1743
1743
|
holdExpiresAt: string | null;
|
|
1744
1744
|
confirmedAt: string | null;
|
|
1745
1745
|
releasedAt: string | null;
|
|
@@ -1771,7 +1771,7 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
|
|
|
1771
1771
|
data: {
|
|
1772
1772
|
sessionId: string;
|
|
1773
1773
|
bookingNumber: string;
|
|
1774
|
-
status: "draft" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed"
|
|
1774
|
+
status: "draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed";
|
|
1775
1775
|
externalBookingRef: string | null;
|
|
1776
1776
|
communicationLanguage: string | null;
|
|
1777
1777
|
sellCurrency: string;
|
|
@@ -1801,8 +1801,8 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
|
|
|
1801
1801
|
id: string;
|
|
1802
1802
|
title: string;
|
|
1803
1803
|
description: string | null;
|
|
1804
|
-
itemType: "other" | "
|
|
1805
|
-
status: "draft" | "
|
|
1804
|
+
itemType: "other" | "service" | "accommodation" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "transport";
|
|
1805
|
+
status: "draft" | "expired" | "cancelled" | "fulfilled" | "on_hold" | "confirmed";
|
|
1806
1806
|
serviceDate: string | null;
|
|
1807
1807
|
startsAt: string | null;
|
|
1808
1808
|
endsAt: string | null;
|
|
@@ -1835,7 +1835,7 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
|
|
|
1835
1835
|
availabilitySlotId: string | null;
|
|
1836
1836
|
quantity: number;
|
|
1837
1837
|
allocationType: "resource" | "unit" | "pickup";
|
|
1838
|
-
status: "
|
|
1838
|
+
status: "expired" | "cancelled" | "fulfilled" | "confirmed" | "released" | "held";
|
|
1839
1839
|
holdExpiresAt: string | null;
|
|
1840
1840
|
confirmedAt: string | null;
|
|
1841
1841
|
releasedAt: string | null;
|
|
@@ -1868,7 +1868,7 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
|
|
|
1868
1868
|
data: {
|
|
1869
1869
|
sessionId: string;
|
|
1870
1870
|
bookingNumber: string;
|
|
1871
|
-
status: "draft" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed"
|
|
1871
|
+
status: "draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed";
|
|
1872
1872
|
externalBookingRef: string | null;
|
|
1873
1873
|
communicationLanguage: string | null;
|
|
1874
1874
|
sellCurrency: string;
|
|
@@ -1898,8 +1898,8 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
|
|
|
1898
1898
|
id: string;
|
|
1899
1899
|
title: string;
|
|
1900
1900
|
description: string | null;
|
|
1901
|
-
itemType: "other" | "
|
|
1902
|
-
status: "draft" | "
|
|
1901
|
+
itemType: "other" | "service" | "accommodation" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "transport";
|
|
1902
|
+
status: "draft" | "expired" | "cancelled" | "fulfilled" | "on_hold" | "confirmed";
|
|
1903
1903
|
serviceDate: string | null;
|
|
1904
1904
|
startsAt: string | null;
|
|
1905
1905
|
endsAt: string | null;
|
|
@@ -1932,7 +1932,7 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
|
|
|
1932
1932
|
availabilitySlotId: string | null;
|
|
1933
1933
|
quantity: number;
|
|
1934
1934
|
allocationType: "resource" | "unit" | "pickup";
|
|
1935
|
-
status: "
|
|
1935
|
+
status: "expired" | "cancelled" | "fulfilled" | "confirmed" | "released" | "held";
|
|
1936
1936
|
holdExpiresAt: string | null;
|
|
1937
1937
|
confirmedAt: string | null;
|
|
1938
1938
|
releasedAt: string | null;
|
|
@@ -1967,7 +1967,7 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
|
|
|
1967
1967
|
data: {
|
|
1968
1968
|
sessionId: string;
|
|
1969
1969
|
bookingNumber: string;
|
|
1970
|
-
status: "draft" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed"
|
|
1970
|
+
status: "draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed";
|
|
1971
1971
|
externalBookingRef: string | null;
|
|
1972
1972
|
communicationLanguage: string | null;
|
|
1973
1973
|
sellCurrency: string;
|
|
@@ -1997,8 +1997,8 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
|
|
|
1997
1997
|
id: string;
|
|
1998
1998
|
title: string;
|
|
1999
1999
|
description: string | null;
|
|
2000
|
-
itemType: "other" | "
|
|
2001
|
-
status: "draft" | "
|
|
2000
|
+
itemType: "other" | "service" | "accommodation" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "transport";
|
|
2001
|
+
status: "draft" | "expired" | "cancelled" | "fulfilled" | "on_hold" | "confirmed";
|
|
2002
2002
|
serviceDate: string | null;
|
|
2003
2003
|
startsAt: string | null;
|
|
2004
2004
|
endsAt: string | null;
|
|
@@ -2031,7 +2031,7 @@ export declare function getPublicBookingSessionQueryOptions(client: FetchWithVal
|
|
|
2031
2031
|
availabilitySlotId: string | null;
|
|
2032
2032
|
quantity: number;
|
|
2033
2033
|
allocationType: "resource" | "unit" | "pickup";
|
|
2034
|
-
status: "
|
|
2034
|
+
status: "expired" | "cancelled" | "fulfilled" | "confirmed" | "released" | "held";
|
|
2035
2035
|
holdExpiresAt: string | null;
|
|
2036
2036
|
confirmedAt: string | null;
|
|
2037
2037
|
releasedAt: string | null;
|
|
@@ -2203,7 +2203,7 @@ export declare function getBookingGroupQueryOptions(client: FetchWithValidationO
|
|
|
2203
2203
|
booking: {
|
|
2204
2204
|
id: string;
|
|
2205
2205
|
bookingNumber: string;
|
|
2206
|
-
status: "draft" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed"
|
|
2206
|
+
status: "draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed";
|
|
2207
2207
|
personId: string | null;
|
|
2208
2208
|
organizationId: string | null;
|
|
2209
2209
|
sellCurrency: string;
|
|
@@ -2283,7 +2283,7 @@ export declare function getBookingGroupQueryOptions(client: FetchWithValidationO
|
|
|
2283
2283
|
booking: {
|
|
2284
2284
|
id: string;
|
|
2285
2285
|
bookingNumber: string;
|
|
2286
|
-
status: "draft" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed"
|
|
2286
|
+
status: "draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed";
|
|
2287
2287
|
personId: string | null;
|
|
2288
2288
|
organizationId: string | null;
|
|
2289
2289
|
sellCurrency: string;
|
|
@@ -2364,7 +2364,7 @@ export declare function getBookingGroupQueryOptions(client: FetchWithValidationO
|
|
|
2364
2364
|
booking: {
|
|
2365
2365
|
id: string;
|
|
2366
2366
|
bookingNumber: string;
|
|
2367
|
-
status: "draft" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed"
|
|
2367
|
+
status: "draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed";
|
|
2368
2368
|
personId: string | null;
|
|
2369
2369
|
organizationId: string | null;
|
|
2370
2370
|
sellCurrency: string;
|
|
@@ -2447,7 +2447,7 @@ export declare function getBookingGroupQueryOptions(client: FetchWithValidationO
|
|
|
2447
2447
|
booking: {
|
|
2448
2448
|
id: string;
|
|
2449
2449
|
bookingNumber: string;
|
|
2450
|
-
status: "draft" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed"
|
|
2450
|
+
status: "draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed";
|
|
2451
2451
|
personId: string | null;
|
|
2452
2452
|
organizationId: string | null;
|
|
2453
2453
|
sellCurrency: string;
|
|
@@ -9,7 +9,7 @@ export declare function useBookingQuestions(options?: UseBookingQuestionsOptions
|
|
|
9
9
|
code: string | null;
|
|
10
10
|
label: string;
|
|
11
11
|
description: string | null;
|
|
12
|
-
target: "
|
|
12
|
+
target: "service" | "extra" | "traveler" | "booking" | "lead_traveler" | "booker";
|
|
13
13
|
fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "datetime" | "single_select" | "multi_select" | "country";
|
|
14
14
|
placeholder: string | null;
|
|
15
15
|
helpText: string | null;
|
|
@@ -131,7 +131,7 @@ export declare function getBookingQuestionsQueryOptions(client: FetchWithValidat
|
|
|
131
131
|
code: string | null;
|
|
132
132
|
label: string;
|
|
133
133
|
description: string | null;
|
|
134
|
-
target: "
|
|
134
|
+
target: "service" | "extra" | "traveler" | "booking" | "lead_traveler" | "booker";
|
|
135
135
|
fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "datetime" | "single_select" | "multi_select" | "country";
|
|
136
136
|
placeholder: string | null;
|
|
137
137
|
helpText: string | null;
|
|
@@ -149,7 +149,7 @@ export declare function getBookingQuestionsQueryOptions(client: FetchWithValidat
|
|
|
149
149
|
code: string | null;
|
|
150
150
|
label: string;
|
|
151
151
|
description: string | null;
|
|
152
|
-
target: "
|
|
152
|
+
target: "service" | "extra" | "traveler" | "booking" | "lead_traveler" | "booker";
|
|
153
153
|
fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "datetime" | "single_select" | "multi_select" | "country";
|
|
154
154
|
placeholder: string | null;
|
|
155
155
|
helpText: string | null;
|
|
@@ -168,7 +168,7 @@ export declare function getBookingQuestionsQueryOptions(client: FetchWithValidat
|
|
|
168
168
|
code: string | null;
|
|
169
169
|
label: string;
|
|
170
170
|
description: string | null;
|
|
171
|
-
target: "
|
|
171
|
+
target: "service" | "extra" | "traveler" | "booking" | "lead_traveler" | "booker";
|
|
172
172
|
fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "datetime" | "single_select" | "multi_select" | "country";
|
|
173
173
|
placeholder: string | null;
|
|
174
174
|
helpText: string | null;
|
|
@@ -189,7 +189,7 @@ export declare function getBookingQuestionsQueryOptions(client: FetchWithValidat
|
|
|
189
189
|
code: string | null;
|
|
190
190
|
label: string;
|
|
191
191
|
description: string | null;
|
|
192
|
-
target: "
|
|
192
|
+
target: "service" | "extra" | "traveler" | "booking" | "lead_traveler" | "booker";
|
|
193
193
|
fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "datetime" | "single_select" | "multi_select" | "country";
|
|
194
194
|
placeholder: string | null;
|
|
195
195
|
helpText: string | null;
|
|
@@ -9,8 +9,8 @@ export declare const productLiteSchema: z.ZodObject<{
|
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
export type ProductLite = z.infer<typeof productLiteSchema>;
|
|
11
11
|
export declare const questionTargetSchema: z.ZodEnum<{
|
|
12
|
-
extra: "extra";
|
|
13
12
|
service: "service";
|
|
13
|
+
extra: "extra";
|
|
14
14
|
traveler: "traveler";
|
|
15
15
|
booking: "booking";
|
|
16
16
|
lead_traveler: "lead_traveler";
|
|
@@ -38,8 +38,8 @@ export declare const bookingQuestionSchema: z.ZodObject<{
|
|
|
38
38
|
label: z.ZodString;
|
|
39
39
|
description: z.ZodNullable<z.ZodString>;
|
|
40
40
|
target: z.ZodEnum<{
|
|
41
|
-
extra: "extra";
|
|
42
41
|
service: "service";
|
|
42
|
+
extra: "extra";
|
|
43
43
|
traveler: "traveler";
|
|
44
44
|
booking: "booking";
|
|
45
45
|
lead_traveler: "lead_traveler";
|
|
@@ -149,8 +149,8 @@ export declare const bookingQuestionListResponse: z.ZodObject<{
|
|
|
149
149
|
label: z.ZodString;
|
|
150
150
|
description: z.ZodNullable<z.ZodString>;
|
|
151
151
|
target: z.ZodEnum<{
|
|
152
|
-
extra: "extra";
|
|
153
152
|
service: "service";
|
|
153
|
+
extra: "extra";
|
|
154
154
|
traveler: "traveler";
|
|
155
155
|
booking: "booking";
|
|
156
156
|
lead_traveler: "lead_traveler";
|