@voyant-travel/bookings-react 0.169.0 → 0.170.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/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 +34 -34
package/dist/schemas.d.ts
CHANGED
|
@@ -12,18 +12,18 @@ export declare const successEnvelope: z.ZodObject<{
|
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
export declare const bookingStatusSchema: z.ZodEnum<{
|
|
14
14
|
draft: "draft";
|
|
15
|
+
expired: "expired";
|
|
15
16
|
cancelled: "cancelled";
|
|
16
17
|
on_hold: "on_hold";
|
|
17
18
|
awaiting_payment: "awaiting_payment";
|
|
18
19
|
confirmed: "confirmed";
|
|
19
20
|
in_progress: "in_progress";
|
|
20
21
|
completed: "completed";
|
|
21
|
-
expired: "expired";
|
|
22
22
|
}>;
|
|
23
23
|
export type BookingStatus = z.infer<typeof bookingStatusSchema>;
|
|
24
24
|
export declare const supplierConfirmationStatusSchema: z.ZodEnum<{
|
|
25
|
-
pending: "pending";
|
|
26
25
|
cancelled: "cancelled";
|
|
26
|
+
pending: "pending";
|
|
27
27
|
confirmed: "confirmed";
|
|
28
28
|
rejected: "rejected";
|
|
29
29
|
}>;
|
|
@@ -67,13 +67,13 @@ export declare const bookingRecordSchema: z.ZodObject<{
|
|
|
67
67
|
bookingNumber: z.ZodString;
|
|
68
68
|
status: z.ZodEnum<{
|
|
69
69
|
draft: "draft";
|
|
70
|
+
expired: "expired";
|
|
70
71
|
cancelled: "cancelled";
|
|
71
72
|
on_hold: "on_hold";
|
|
72
73
|
awaiting_payment: "awaiting_payment";
|
|
73
74
|
confirmed: "confirmed";
|
|
74
75
|
in_progress: "in_progress";
|
|
75
76
|
completed: "completed";
|
|
76
|
-
expired: "expired";
|
|
77
77
|
}>;
|
|
78
78
|
personId: z.ZodNullable<z.ZodString>;
|
|
79
79
|
organizationId: z.ZodNullable<z.ZodString>;
|
|
@@ -277,8 +277,8 @@ export declare const bookingSupplierStatusRecordSchema: z.ZodObject<{
|
|
|
277
277
|
supplierServiceId: z.ZodNullable<z.ZodString>;
|
|
278
278
|
serviceName: z.ZodString;
|
|
279
279
|
status: z.ZodEnum<{
|
|
280
|
-
pending: "pending";
|
|
281
280
|
cancelled: "cancelled";
|
|
281
|
+
pending: "pending";
|
|
282
282
|
confirmed: "confirmed";
|
|
283
283
|
rejected: "rejected";
|
|
284
284
|
}>;
|
|
@@ -315,23 +315,23 @@ export declare const bookingNoteRecordSchema: z.ZodObject<{
|
|
|
315
315
|
export type BookingNoteRecord = z.infer<typeof bookingNoteRecordSchema>;
|
|
316
316
|
export declare const bookingItemTypeSchema: z.ZodEnum<{
|
|
317
317
|
other: "other";
|
|
318
|
+
service: "service";
|
|
319
|
+
accommodation: "accommodation";
|
|
318
320
|
unit: "unit";
|
|
319
321
|
extra: "extra";
|
|
320
|
-
service: "service";
|
|
321
322
|
fee: "fee";
|
|
322
323
|
tax: "tax";
|
|
323
324
|
discount: "discount";
|
|
324
325
|
adjustment: "adjustment";
|
|
325
|
-
accommodation: "accommodation";
|
|
326
326
|
transport: "transport";
|
|
327
327
|
}>;
|
|
328
328
|
export declare const bookingItemStatusSchema: z.ZodEnum<{
|
|
329
329
|
draft: "draft";
|
|
330
|
+
expired: "expired";
|
|
330
331
|
cancelled: "cancelled";
|
|
331
332
|
fulfilled: "fulfilled";
|
|
332
333
|
on_hold: "on_hold";
|
|
333
334
|
confirmed: "confirmed";
|
|
334
|
-
expired: "expired";
|
|
335
335
|
}>;
|
|
336
336
|
export declare const bookingItemRecordSchema: z.ZodObject<{
|
|
337
337
|
id: z.ZodString;
|
|
@@ -340,23 +340,23 @@ export declare const bookingItemRecordSchema: z.ZodObject<{
|
|
|
340
340
|
description: z.ZodNullable<z.ZodString>;
|
|
341
341
|
itemType: z.ZodEnum<{
|
|
342
342
|
other: "other";
|
|
343
|
+
service: "service";
|
|
344
|
+
accommodation: "accommodation";
|
|
343
345
|
unit: "unit";
|
|
344
346
|
extra: "extra";
|
|
345
|
-
service: "service";
|
|
346
347
|
fee: "fee";
|
|
347
348
|
tax: "tax";
|
|
348
349
|
discount: "discount";
|
|
349
350
|
adjustment: "adjustment";
|
|
350
|
-
accommodation: "accommodation";
|
|
351
351
|
transport: "transport";
|
|
352
352
|
}>;
|
|
353
353
|
status: z.ZodEnum<{
|
|
354
354
|
draft: "draft";
|
|
355
|
+
expired: "expired";
|
|
355
356
|
cancelled: "cancelled";
|
|
356
357
|
fulfilled: "fulfilled";
|
|
357
358
|
on_hold: "on_hold";
|
|
358
359
|
confirmed: "confirmed";
|
|
359
|
-
expired: "expired";
|
|
360
360
|
}>;
|
|
361
361
|
serviceDate: z.ZodNullable<z.ZodString>;
|
|
362
362
|
startsAt: z.ZodNullable<z.ZodString>;
|
|
@@ -479,13 +479,13 @@ export declare const bookingGroupMemberWithBookingSchema: z.ZodObject<{
|
|
|
479
479
|
bookingNumber: z.ZodString;
|
|
480
480
|
status: z.ZodEnum<{
|
|
481
481
|
draft: "draft";
|
|
482
|
+
expired: "expired";
|
|
482
483
|
cancelled: "cancelled";
|
|
483
484
|
on_hold: "on_hold";
|
|
484
485
|
awaiting_payment: "awaiting_payment";
|
|
485
486
|
confirmed: "confirmed";
|
|
486
487
|
in_progress: "in_progress";
|
|
487
488
|
completed: "completed";
|
|
488
|
-
expired: "expired";
|
|
489
489
|
}>;
|
|
490
490
|
personId: z.ZodNullable<z.ZodString>;
|
|
491
491
|
organizationId: z.ZodNullable<z.ZodString>;
|
|
@@ -580,13 +580,13 @@ export declare const bookingGroupDetailSchema: z.ZodObject<{
|
|
|
580
580
|
bookingNumber: z.ZodString;
|
|
581
581
|
status: z.ZodEnum<{
|
|
582
582
|
draft: "draft";
|
|
583
|
+
expired: "expired";
|
|
583
584
|
cancelled: "cancelled";
|
|
584
585
|
on_hold: "on_hold";
|
|
585
586
|
awaiting_payment: "awaiting_payment";
|
|
586
587
|
confirmed: "confirmed";
|
|
587
588
|
in_progress: "in_progress";
|
|
588
589
|
completed: "completed";
|
|
589
|
-
expired: "expired";
|
|
590
590
|
}>;
|
|
591
591
|
personId: z.ZodNullable<z.ZodString>;
|
|
592
592
|
organizationId: z.ZodNullable<z.ZodString>;
|
|
@@ -660,13 +660,13 @@ export declare const bookingDetailSchema: z.ZodObject<{
|
|
|
660
660
|
bookingNumber: z.ZodString;
|
|
661
661
|
status: z.ZodEnum<{
|
|
662
662
|
draft: "draft";
|
|
663
|
+
expired: "expired";
|
|
663
664
|
cancelled: "cancelled";
|
|
664
665
|
on_hold: "on_hold";
|
|
665
666
|
awaiting_payment: "awaiting_payment";
|
|
666
667
|
confirmed: "confirmed";
|
|
667
668
|
in_progress: "in_progress";
|
|
668
669
|
completed: "completed";
|
|
669
|
-
expired: "expired";
|
|
670
670
|
}>;
|
|
671
671
|
personId: z.ZodNullable<z.ZodString>;
|
|
672
672
|
organizationId: z.ZodNullable<z.ZodString>;
|
|
@@ -729,23 +729,23 @@ export declare const bookingDetailSchema: z.ZodObject<{
|
|
|
729
729
|
description: z.ZodNullable<z.ZodString>;
|
|
730
730
|
itemType: z.ZodEnum<{
|
|
731
731
|
other: "other";
|
|
732
|
+
service: "service";
|
|
733
|
+
accommodation: "accommodation";
|
|
732
734
|
unit: "unit";
|
|
733
735
|
extra: "extra";
|
|
734
|
-
service: "service";
|
|
735
736
|
fee: "fee";
|
|
736
737
|
tax: "tax";
|
|
737
738
|
discount: "discount";
|
|
738
739
|
adjustment: "adjustment";
|
|
739
|
-
accommodation: "accommodation";
|
|
740
740
|
transport: "transport";
|
|
741
741
|
}>;
|
|
742
742
|
status: z.ZodEnum<{
|
|
743
743
|
draft: "draft";
|
|
744
|
+
expired: "expired";
|
|
744
745
|
cancelled: "cancelled";
|
|
745
746
|
fulfilled: "fulfilled";
|
|
746
747
|
on_hold: "on_hold";
|
|
747
748
|
confirmed: "confirmed";
|
|
748
|
-
expired: "expired";
|
|
749
749
|
}>;
|
|
750
750
|
serviceDate: z.ZodNullable<z.ZodString>;
|
|
751
751
|
startsAt: z.ZodNullable<z.ZodString>;
|
|
@@ -859,13 +859,13 @@ export declare const bookingListResponse: z.ZodObject<{
|
|
|
859
859
|
bookingNumber: z.ZodString;
|
|
860
860
|
status: z.ZodEnum<{
|
|
861
861
|
draft: "draft";
|
|
862
|
+
expired: "expired";
|
|
862
863
|
cancelled: "cancelled";
|
|
863
864
|
on_hold: "on_hold";
|
|
864
865
|
awaiting_payment: "awaiting_payment";
|
|
865
866
|
confirmed: "confirmed";
|
|
866
867
|
in_progress: "in_progress";
|
|
867
868
|
completed: "completed";
|
|
868
|
-
expired: "expired";
|
|
869
869
|
}>;
|
|
870
870
|
personId: z.ZodNullable<z.ZodString>;
|
|
871
871
|
organizationId: z.ZodNullable<z.ZodString>;
|
|
@@ -941,13 +941,13 @@ export declare const bookingSingleResponse: z.ZodObject<{
|
|
|
941
941
|
bookingNumber: z.ZodString;
|
|
942
942
|
status: z.ZodEnum<{
|
|
943
943
|
draft: "draft";
|
|
944
|
+
expired: "expired";
|
|
944
945
|
cancelled: "cancelled";
|
|
945
946
|
on_hold: "on_hold";
|
|
946
947
|
awaiting_payment: "awaiting_payment";
|
|
947
948
|
confirmed: "confirmed";
|
|
948
949
|
in_progress: "in_progress";
|
|
949
950
|
completed: "completed";
|
|
950
|
-
expired: "expired";
|
|
951
951
|
}>;
|
|
952
952
|
personId: z.ZodNullable<z.ZodString>;
|
|
953
953
|
organizationId: z.ZodNullable<z.ZodString>;
|
|
@@ -1020,13 +1020,13 @@ export declare const bookingDetailResponse: z.ZodObject<{
|
|
|
1020
1020
|
bookingNumber: z.ZodString;
|
|
1021
1021
|
status: z.ZodEnum<{
|
|
1022
1022
|
draft: "draft";
|
|
1023
|
+
expired: "expired";
|
|
1023
1024
|
cancelled: "cancelled";
|
|
1024
1025
|
on_hold: "on_hold";
|
|
1025
1026
|
awaiting_payment: "awaiting_payment";
|
|
1026
1027
|
confirmed: "confirmed";
|
|
1027
1028
|
in_progress: "in_progress";
|
|
1028
1029
|
completed: "completed";
|
|
1029
|
-
expired: "expired";
|
|
1030
1030
|
}>;
|
|
1031
1031
|
personId: z.ZodNullable<z.ZodString>;
|
|
1032
1032
|
organizationId: z.ZodNullable<z.ZodString>;
|
|
@@ -1089,23 +1089,23 @@ export declare const bookingDetailResponse: z.ZodObject<{
|
|
|
1089
1089
|
description: z.ZodNullable<z.ZodString>;
|
|
1090
1090
|
itemType: z.ZodEnum<{
|
|
1091
1091
|
other: "other";
|
|
1092
|
+
service: "service";
|
|
1093
|
+
accommodation: "accommodation";
|
|
1092
1094
|
unit: "unit";
|
|
1093
1095
|
extra: "extra";
|
|
1094
|
-
service: "service";
|
|
1095
1096
|
fee: "fee";
|
|
1096
1097
|
tax: "tax";
|
|
1097
1098
|
discount: "discount";
|
|
1098
1099
|
adjustment: "adjustment";
|
|
1099
|
-
accommodation: "accommodation";
|
|
1100
1100
|
transport: "transport";
|
|
1101
1101
|
}>;
|
|
1102
1102
|
status: z.ZodEnum<{
|
|
1103
1103
|
draft: "draft";
|
|
1104
|
+
expired: "expired";
|
|
1104
1105
|
cancelled: "cancelled";
|
|
1105
1106
|
fulfilled: "fulfilled";
|
|
1106
1107
|
on_hold: "on_hold";
|
|
1107
1108
|
confirmed: "confirmed";
|
|
1108
|
-
expired: "expired";
|
|
1109
1109
|
}>;
|
|
1110
1110
|
serviceDate: z.ZodNullable<z.ZodString>;
|
|
1111
1111
|
startsAt: z.ZodNullable<z.ZodString>;
|
|
@@ -1221,23 +1221,23 @@ export declare const bookingItemsResponse: z.ZodObject<{
|
|
|
1221
1221
|
description: z.ZodNullable<z.ZodString>;
|
|
1222
1222
|
itemType: z.ZodEnum<{
|
|
1223
1223
|
other: "other";
|
|
1224
|
+
service: "service";
|
|
1225
|
+
accommodation: "accommodation";
|
|
1224
1226
|
unit: "unit";
|
|
1225
1227
|
extra: "extra";
|
|
1226
|
-
service: "service";
|
|
1227
1228
|
fee: "fee";
|
|
1228
1229
|
tax: "tax";
|
|
1229
1230
|
discount: "discount";
|
|
1230
1231
|
adjustment: "adjustment";
|
|
1231
|
-
accommodation: "accommodation";
|
|
1232
1232
|
transport: "transport";
|
|
1233
1233
|
}>;
|
|
1234
1234
|
status: z.ZodEnum<{
|
|
1235
1235
|
draft: "draft";
|
|
1236
|
+
expired: "expired";
|
|
1236
1237
|
cancelled: "cancelled";
|
|
1237
1238
|
fulfilled: "fulfilled";
|
|
1238
1239
|
on_hold: "on_hold";
|
|
1239
1240
|
confirmed: "confirmed";
|
|
1240
|
-
expired: "expired";
|
|
1241
1241
|
}>;
|
|
1242
1242
|
serviceDate: z.ZodNullable<z.ZodString>;
|
|
1243
1243
|
startsAt: z.ZodNullable<z.ZodString>;
|
|
@@ -1362,13 +1362,13 @@ export declare const bookingGroupDetailResponse: z.ZodObject<{
|
|
|
1362
1362
|
bookingNumber: z.ZodString;
|
|
1363
1363
|
status: z.ZodEnum<{
|
|
1364
1364
|
draft: "draft";
|
|
1365
|
+
expired: "expired";
|
|
1365
1366
|
cancelled: "cancelled";
|
|
1366
1367
|
on_hold: "on_hold";
|
|
1367
1368
|
awaiting_payment: "awaiting_payment";
|
|
1368
1369
|
confirmed: "confirmed";
|
|
1369
1370
|
in_progress: "in_progress";
|
|
1370
1371
|
completed: "completed";
|
|
1371
|
-
expired: "expired";
|
|
1372
1372
|
}>;
|
|
1373
1373
|
personId: z.ZodNullable<z.ZodString>;
|
|
1374
1374
|
organizationId: z.ZodNullable<z.ZodString>;
|
|
@@ -1452,13 +1452,13 @@ export declare const bookingGroupMembersResponse: z.ZodObject<{
|
|
|
1452
1452
|
bookingNumber: z.ZodString;
|
|
1453
1453
|
status: z.ZodEnum<{
|
|
1454
1454
|
draft: "draft";
|
|
1455
|
+
expired: "expired";
|
|
1455
1456
|
cancelled: "cancelled";
|
|
1456
1457
|
on_hold: "on_hold";
|
|
1457
1458
|
awaiting_payment: "awaiting_payment";
|
|
1458
1459
|
confirmed: "confirmed";
|
|
1459
1460
|
in_progress: "in_progress";
|
|
1460
1461
|
completed: "completed";
|
|
1461
|
-
expired: "expired";
|
|
1462
1462
|
}>;
|
|
1463
1463
|
personId: z.ZodNullable<z.ZodString>;
|
|
1464
1464
|
organizationId: z.ZodNullable<z.ZodString>;
|
|
@@ -1699,8 +1699,8 @@ export declare const bookingSupplierStatusesResponse: z.ZodObject<{
|
|
|
1699
1699
|
supplierServiceId: z.ZodNullable<z.ZodString>;
|
|
1700
1700
|
serviceName: z.ZodString;
|
|
1701
1701
|
status: z.ZodEnum<{
|
|
1702
|
-
pending: "pending";
|
|
1703
1702
|
cancelled: "cancelled";
|
|
1703
|
+
pending: "pending";
|
|
1704
1704
|
confirmed: "confirmed";
|
|
1705
1705
|
rejected: "rejected";
|
|
1706
1706
|
}>;
|
|
@@ -2219,7 +2219,6 @@ export declare const taxPreviewResponse: z.ZodObject<{
|
|
|
2219
2219
|
}, z.core.$strip>;
|
|
2220
2220
|
}, z.core.$strip>;
|
|
2221
2221
|
export declare const bookingActionLedgerActionKindSchema: z.ZodEnum<{
|
|
2222
|
-
reverse: "reverse";
|
|
2223
2222
|
read: "read";
|
|
2224
2223
|
create: "create";
|
|
2225
2224
|
update: "update";
|
|
@@ -2227,12 +2226,11 @@ export declare const bookingActionLedgerActionKindSchema: z.ZodEnum<{
|
|
|
2227
2226
|
execute: "execute";
|
|
2228
2227
|
approve: "approve";
|
|
2229
2228
|
reject: "reject";
|
|
2229
|
+
reverse: "reverse";
|
|
2230
2230
|
compensate: "compensate";
|
|
2231
2231
|
duplicate: "duplicate";
|
|
2232
2232
|
}>;
|
|
2233
2233
|
export declare const bookingActionLedgerStatusSchema: z.ZodEnum<{
|
|
2234
|
-
cancelled: "cancelled";
|
|
2235
|
-
expired: "expired";
|
|
2236
2234
|
requested: "requested";
|
|
2237
2235
|
awaiting_approval: "awaiting_approval";
|
|
2238
2236
|
approved: "approved";
|
|
@@ -2241,6 +2239,8 @@ export declare const bookingActionLedgerStatusSchema: z.ZodEnum<{
|
|
|
2241
2239
|
failed: "failed";
|
|
2242
2240
|
reversed: "reversed";
|
|
2243
2241
|
compensated: "compensated";
|
|
2242
|
+
expired: "expired";
|
|
2243
|
+
cancelled: "cancelled";
|
|
2244
2244
|
superseded: "superseded";
|
|
2245
2245
|
}>;
|
|
2246
2246
|
export declare const bookingActionLedgerRiskSchema: z.ZodEnum<{
|
|
@@ -2262,7 +2262,6 @@ export declare const bookingActionLedgerEntrySchema: z.ZodObject<{
|
|
|
2262
2262
|
actionName: z.ZodString;
|
|
2263
2263
|
actionVersion: z.ZodString;
|
|
2264
2264
|
actionKind: z.ZodEnum<{
|
|
2265
|
-
reverse: "reverse";
|
|
2266
2265
|
read: "read";
|
|
2267
2266
|
create: "create";
|
|
2268
2267
|
update: "update";
|
|
@@ -2270,12 +2269,11 @@ export declare const bookingActionLedgerEntrySchema: z.ZodObject<{
|
|
|
2270
2269
|
execute: "execute";
|
|
2271
2270
|
approve: "approve";
|
|
2272
2271
|
reject: "reject";
|
|
2272
|
+
reverse: "reverse";
|
|
2273
2273
|
compensate: "compensate";
|
|
2274
2274
|
duplicate: "duplicate";
|
|
2275
2275
|
}>;
|
|
2276
2276
|
status: z.ZodEnum<{
|
|
2277
|
-
cancelled: "cancelled";
|
|
2278
|
-
expired: "expired";
|
|
2279
2277
|
requested: "requested";
|
|
2280
2278
|
awaiting_approval: "awaiting_approval";
|
|
2281
2279
|
approved: "approved";
|
|
@@ -2284,6 +2282,8 @@ export declare const bookingActionLedgerEntrySchema: z.ZodObject<{
|
|
|
2284
2282
|
failed: "failed";
|
|
2285
2283
|
reversed: "reversed";
|
|
2286
2284
|
compensated: "compensated";
|
|
2285
|
+
expired: "expired";
|
|
2286
|
+
cancelled: "cancelled";
|
|
2287
2287
|
superseded: "superseded";
|
|
2288
2288
|
}>;
|
|
2289
2289
|
evaluatedRisk: z.ZodEnum<{
|
|
@@ -2352,7 +2352,6 @@ export declare const bookingActionLedgerListResponse: z.ZodObject<{
|
|
|
2352
2352
|
actionName: z.ZodString;
|
|
2353
2353
|
actionVersion: z.ZodString;
|
|
2354
2354
|
actionKind: z.ZodEnum<{
|
|
2355
|
-
reverse: "reverse";
|
|
2356
2355
|
read: "read";
|
|
2357
2356
|
create: "create";
|
|
2358
2357
|
update: "update";
|
|
@@ -2360,12 +2359,11 @@ export declare const bookingActionLedgerListResponse: z.ZodObject<{
|
|
|
2360
2359
|
execute: "execute";
|
|
2361
2360
|
approve: "approve";
|
|
2362
2361
|
reject: "reject";
|
|
2362
|
+
reverse: "reverse";
|
|
2363
2363
|
compensate: "compensate";
|
|
2364
2364
|
duplicate: "duplicate";
|
|
2365
2365
|
}>;
|
|
2366
2366
|
status: z.ZodEnum<{
|
|
2367
|
-
cancelled: "cancelled";
|
|
2368
|
-
expired: "expired";
|
|
2369
2367
|
requested: "requested";
|
|
2370
2368
|
awaiting_approval: "awaiting_approval";
|
|
2371
2369
|
approved: "approved";
|
|
@@ -2374,6 +2372,8 @@ export declare const bookingActionLedgerListResponse: z.ZodObject<{
|
|
|
2374
2372
|
failed: "failed";
|
|
2375
2373
|
reversed: "reversed";
|
|
2376
2374
|
compensated: "compensated";
|
|
2375
|
+
expired: "expired";
|
|
2376
|
+
cancelled: "cancelled";
|
|
2377
2377
|
superseded: "superseded";
|
|
2378
2378
|
}>;
|
|
2379
2379
|
evaluatedRisk: z.ZodEnum<{
|
|
@@ -21,7 +21,7 @@ export declare function formatBookingStatus(status: BookingStatus): string;
|
|
|
21
21
|
* All booking status values in their canonical order — derived from the Zod
|
|
22
22
|
* enum so this list can never drift out of sync with the schema.
|
|
23
23
|
*/
|
|
24
|
-
export declare const bookingStatuses: ("draft" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed"
|
|
24
|
+
export declare const bookingStatuses: ("draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed")[];
|
|
25
25
|
/**
|
|
26
26
|
* Pre-built `{ value, label }` list for rendering status pickers (e.g. a
|
|
27
27
|
* Select in a status-change dialog). Uses `formatBookingStatus` for labels so
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyant-travel/bookings-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.170.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -150,24 +150,24 @@
|
|
|
150
150
|
"react-dom": "^19.0.0",
|
|
151
151
|
"react-hook-form": "^7.80.0",
|
|
152
152
|
"zod": "^4.0.0",
|
|
153
|
-
"@voyant-travel/accommodations": "^0.
|
|
153
|
+
"@voyant-travel/accommodations": "^0.130.0",
|
|
154
|
+
"@voyant-travel/catalog": "^0.168.0",
|
|
155
|
+
"@voyant-travel/catalog-react": "^0.168.0",
|
|
154
156
|
"@voyant-travel/admin": "^0.127.0",
|
|
155
|
-
"@voyant-travel/
|
|
156
|
-
"@voyant-travel/
|
|
157
|
-
"@voyant-travel/
|
|
158
|
-
"@voyant-travel/
|
|
159
|
-
"@voyant-travel/
|
|
160
|
-
"@voyant-travel/
|
|
161
|
-
"@voyant-travel/
|
|
162
|
-
"@voyant-travel/
|
|
163
|
-
"@voyant-travel/
|
|
164
|
-
"@voyant-travel/
|
|
165
|
-
"@voyant-travel/
|
|
166
|
-
"@voyant-travel/inventory-react": "^0.51.0",
|
|
167
|
-
"@voyant-travel/inventory": "^0.13.6",
|
|
168
|
-
"@voyant-travel/storefront-react": "^0.171.0",
|
|
157
|
+
"@voyant-travel/relationships-react": "^0.170.0",
|
|
158
|
+
"@voyant-travel/distribution-react": "^0.160.0",
|
|
159
|
+
"@voyant-travel/finance": "^0.170.0",
|
|
160
|
+
"@voyant-travel/finance-react": "^0.170.0",
|
|
161
|
+
"@voyant-travel/identity-react": "^0.170.0",
|
|
162
|
+
"@voyant-travel/legal-react": "^0.170.0",
|
|
163
|
+
"@voyant-travel/commerce-react": "^0.52.0",
|
|
164
|
+
"@voyant-travel/cruises": "^0.169.0",
|
|
165
|
+
"@voyant-travel/inventory-react": "^0.52.0",
|
|
166
|
+
"@voyant-travel/inventory": "^0.14.0",
|
|
167
|
+
"@voyant-travel/storefront-react": "^0.172.0",
|
|
169
168
|
"@voyant-travel/ui": "^0.109.2",
|
|
170
|
-
"@voyant-travel/
|
|
169
|
+
"@voyant-travel/bookings": "^0.170.0",
|
|
170
|
+
"@voyant-travel/operations-react": "^0.51.0"
|
|
171
171
|
},
|
|
172
172
|
"peerDependenciesMeta": {
|
|
173
173
|
"@tanstack/react-table": {
|
|
@@ -234,7 +234,7 @@
|
|
|
234
234
|
"dependencies": {
|
|
235
235
|
"sonner": "^2.0.7",
|
|
236
236
|
"@voyant-travel/catalog-contracts": "^0.111.1",
|
|
237
|
-
"@voyant-travel/i18n": "^0.112.
|
|
237
|
+
"@voyant-travel/i18n": "^0.112.1",
|
|
238
238
|
"@voyant-travel/react": "^0.104.2",
|
|
239
239
|
"@voyant-travel/types": "^0.109.4"
|
|
240
240
|
},
|
|
@@ -251,26 +251,26 @@
|
|
|
251
251
|
"typescript": "^6.0.3",
|
|
252
252
|
"vitest": "^4.1.9",
|
|
253
253
|
"zod": "^4.4.3",
|
|
254
|
-
"@voyant-travel/accommodations": "^0.
|
|
254
|
+
"@voyant-travel/accommodations": "^0.130.0",
|
|
255
255
|
"@voyant-travel/admin": "^0.127.0",
|
|
256
|
-
"@voyant-travel/bookings": "^0.
|
|
257
|
-
"@voyant-travel/catalog": "^0.
|
|
258
|
-
"@voyant-travel/catalog-react": "^0.
|
|
259
|
-
"@voyant-travel/distribution-react": "^0.
|
|
260
|
-
"@voyant-travel/relationships-react": "^0.
|
|
261
|
-
"@voyant-travel/finance": "^0.
|
|
262
|
-
"@voyant-travel/finance
|
|
263
|
-
"@voyant-travel/identity-react": "^0.
|
|
264
|
-
"@voyant-travel/
|
|
265
|
-
"@voyant-travel/
|
|
266
|
-
"@voyant-travel/
|
|
267
|
-
"@voyant-travel/inventory
|
|
268
|
-
"@voyant-travel/inventory": "^0.13.6",
|
|
256
|
+
"@voyant-travel/bookings": "^0.170.0",
|
|
257
|
+
"@voyant-travel/catalog": "^0.168.0",
|
|
258
|
+
"@voyant-travel/catalog-react": "^0.168.0",
|
|
259
|
+
"@voyant-travel/distribution-react": "^0.160.0",
|
|
260
|
+
"@voyant-travel/relationships-react": "^0.170.0",
|
|
261
|
+
"@voyant-travel/finance-react": "^0.170.0",
|
|
262
|
+
"@voyant-travel/finance": "^0.170.0",
|
|
263
|
+
"@voyant-travel/identity-react": "^0.170.0",
|
|
264
|
+
"@voyant-travel/commerce-react": "^0.52.0",
|
|
265
|
+
"@voyant-travel/legal-react": "^0.170.0",
|
|
266
|
+
"@voyant-travel/inventory-react": "^0.52.0",
|
|
267
|
+
"@voyant-travel/inventory": "^0.14.0",
|
|
269
268
|
"@voyant-travel/react": "^0.104.2",
|
|
270
|
-
"@voyant-travel/
|
|
269
|
+
"@voyant-travel/cruises": "^0.169.0",
|
|
270
|
+
"@voyant-travel/storefront-react": "^0.172.0",
|
|
271
271
|
"@voyant-travel/ui": "^0.109.2",
|
|
272
272
|
"@voyant-travel/voyant-typescript-config": "^0.1.0",
|
|
273
|
-
"@voyant-travel/operations-react": "^0.
|
|
273
|
+
"@voyant-travel/operations-react": "^0.51.0"
|
|
274
274
|
},
|
|
275
275
|
"files": [
|
|
276
276
|
"dist",
|