@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.
Files changed (30) hide show
  1. package/dist/admin/index.d.ts +7 -7
  2. package/dist/extras/hooks/use-product-extra.d.ts +1 -1
  3. package/dist/extras/hooks/use-product-extras.d.ts +1 -1
  4. package/dist/extras/hooks/use-slot-extra-manifest-mutation.d.ts +2 -2
  5. package/dist/extras/hooks/use-slot-extra-manifest.d.ts +3 -3
  6. package/dist/extras/query-options.d.ts +20 -20
  7. package/dist/extras/schemas.d.ts +19 -19
  8. package/dist/hooks/use-booking-action-ledger.d.ts +2 -2
  9. package/dist/hooks/use-booking-cancel-mutation.d.ts +1 -1
  10. package/dist/hooks/use-booking-convert-mutation.d.ts +1 -1
  11. package/dist/hooks/use-booking-create-mutation.d.ts +2 -2
  12. package/dist/hooks/use-booking-dual-create-mutation.d.ts +4 -4
  13. package/dist/hooks/use-booking-group.d.ts +1 -1
  14. package/dist/hooks/use-booking-item-mutation.d.ts +6 -6
  15. package/dist/hooks/use-booking-items.d.ts +2 -2
  16. package/dist/hooks/use-booking-mutation.d.ts +2 -2
  17. package/dist/hooks/use-booking-status-mutation.d.ts +2 -2
  18. package/dist/hooks/use-booking.d.ts +3 -3
  19. package/dist/hooks/use-bookings.d.ts +1 -1
  20. package/dist/hooks/use-public-booking-session-flow-mutation.d.ts +4 -4
  21. package/dist/hooks/use-public-booking-session.d.ts +4 -4
  22. package/dist/hooks/use-supplier-status-mutation.d.ts +2 -2
  23. package/dist/hooks/use-supplier-statuses.d.ts +1 -1
  24. package/dist/query-options.d.ts +48 -48
  25. package/dist/requirements/hooks/use-booking-questions.d.ts +1 -1
  26. package/dist/requirements/query-options.d.ts +4 -4
  27. package/dist/requirements/schemas.d.ts +3 -3
  28. package/dist/schemas.d.ts +37 -37
  29. package/dist/status-presentation.d.ts +1 -1
  30. package/package.json +34 -34
@@ -106,16 +106,16 @@ export declare const bookingsIndexSearchSchema: z.ZodObject<{
106
106
  paxMax: z.ZodOptional<z.ZodString>;
107
107
  sortBy: z.ZodOptional<z.ZodEnum<{
108
108
  status: "status";
109
+ sellAmount: "sellAmount";
110
+ pax: "pax";
109
111
  startDate: "startDate";
110
112
  endDate: "endDate";
111
- pax: "pax";
112
113
  createdAt: "createdAt";
113
114
  bookingNumber: "bookingNumber";
114
- sellAmount: "sellAmount";
115
115
  }>>;
116
116
  sortDir: z.ZodOptional<z.ZodEnum<{
117
- desc: "desc";
118
117
  asc: "asc";
118
+ desc: "desc";
119
119
  }>>;
120
120
  offset: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
121
121
  }, z.core.$strip>;
@@ -135,9 +135,9 @@ export declare const bookingDetailTabSchema: z.ZodEnum<{
135
135
  travelers: "travelers";
136
136
  activity: "activity";
137
137
  documents: "documents";
138
- finance: "finance";
139
- invoices: "invoices";
140
138
  suppliers: "suppliers";
139
+ invoices: "invoices";
140
+ finance: "finance";
141
141
  }>;
142
142
  /**
143
143
  * Search contract for the booking detail page. `productId`/`slotId` only
@@ -153,9 +153,9 @@ export declare const bookingDetailSearchSchema: z.ZodObject<{
153
153
  travelers: "travelers";
154
154
  activity: "activity";
155
155
  documents: "documents";
156
- finance: "finance";
157
- invoices: "invoices";
158
156
  suppliers: "suppliers";
157
+ invoices: "invoices";
158
+ finance: "finance";
159
159
  }>>;
160
160
  }, z.core.$strip>;
161
161
  export type BookingDetailSearchParams = z.infer<typeof bookingDetailSearchSchema>;
@@ -10,7 +10,7 @@ export declare function useProductExtra(id: string | null | undefined, options?:
10
10
  selectionType: "optional" | "required" | "default_selected" | "unavailable";
11
11
  pricingMode: "on_request" | "included" | "per_person" | "per_booking" | "quantity_based" | "free";
12
12
  pricedPerPerson: boolean;
13
- collectionMode: "cash_on_trip" | "external" | "included" | "none" | "booking_total";
13
+ collectionMode: "none" | "external" | "cash_on_trip" | "included" | "booking_total";
14
14
  showOnSlotManifest: boolean;
15
15
  minQuantity: number | null;
16
16
  maxQuantity: number | null;
@@ -12,7 +12,7 @@ export declare function useProductExtras(options?: UseProductExtrasOptions): imp
12
12
  selectionType: "optional" | "required" | "default_selected" | "unavailable";
13
13
  pricingMode: "on_request" | "included" | "per_person" | "per_booking" | "quantity_based" | "free";
14
14
  pricedPerPerson: boolean;
15
- collectionMode: "cash_on_trip" | "external" | "included" | "none" | "booking_total";
15
+ collectionMode: "none" | "external" | "cash_on_trip" | "included" | "booking_total";
16
16
  showOnSlotManifest: boolean;
17
17
  minQuantity: number | null;
18
18
  maxQuantity: number | null;
@@ -11,7 +11,7 @@ export declare function useSlotExtraManifestMutation(slotId: string): {
11
11
  travelerId: string;
12
12
  productExtraId: string;
13
13
  optionExtraConfigId?: string | null | undefined;
14
- status?: "selected" | "cancelled" | "fulfilled" | "no_show" | undefined;
14
+ status?: "cancelled" | "selected" | "fulfilled" | "no_show" | undefined;
15
15
  collectionStatus?: "pending" | "not_required" | "collected" | "waived" | "refunded" | undefined;
16
16
  collectionCurrency?: string | null | undefined;
17
17
  collectionAmountCents?: number | null | undefined;
@@ -26,7 +26,7 @@ export declare function useSlotExtraManifestMutation(slotId: string): {
26
26
  travelerId: string;
27
27
  productExtraId: string;
28
28
  optionExtraConfigId?: string | null | undefined;
29
- status?: "selected" | "cancelled" | "fulfilled" | "no_show" | undefined;
29
+ status?: "cancelled" | "selected" | "fulfilled" | "no_show" | undefined;
30
30
  collectionStatus?: "pending" | "not_required" | "collected" | "waived" | "refunded" | undefined;
31
31
  collectionCurrency?: string | null | undefined;
32
32
  collectionAmountCents?: number | null | undefined;
@@ -20,7 +20,7 @@ export declare function useSlotExtraManifest(slotId: string | null | undefined,
20
20
  selectionType: "optional" | "required" | "default_selected" | "unavailable";
21
21
  pricingMode: "on_request" | "included" | "per_person" | "per_booking" | "quantity_based" | "free";
22
22
  pricedPerPerson: boolean;
23
- collectionMode: "cash_on_trip" | "external" | "included" | "none" | "booking_total";
23
+ collectionMode: "none" | "external" | "cash_on_trip" | "included" | "booking_total";
24
24
  showOnSlotManifest: boolean;
25
25
  minQuantity: number | null;
26
26
  maxQuantity: number | null;
@@ -52,9 +52,9 @@ export declare function useSlotExtraManifest(slotId: string | null | undefined,
52
52
  productExtraId: string;
53
53
  optionExtraConfigId: string | null;
54
54
  bookingItemId: string | null;
55
- status: "selected" | "cancelled" | "fulfilled" | "no_show";
55
+ status: "cancelled" | "selected" | "fulfilled" | "no_show";
56
56
  selected: boolean;
57
- collectionMode: "cash_on_trip" | "external" | "included" | "none" | "booking_total";
57
+ collectionMode: "none" | "external" | "cash_on_trip" | "included" | "booking_total";
58
58
  collectionStatus: "pending" | "not_required" | "collected" | "waived" | "refunded";
59
59
  collectionCurrency: string | null;
60
60
  collectionAmountCents: number | null;
@@ -10,7 +10,7 @@ export declare function getProductExtrasQueryOptions(client: FetchWithValidation
10
10
  selectionType: "optional" | "required" | "default_selected" | "unavailable";
11
11
  pricingMode: "on_request" | "included" | "per_person" | "per_booking" | "quantity_based" | "free";
12
12
  pricedPerPerson: boolean;
13
- collectionMode: "cash_on_trip" | "external" | "included" | "none" | "booking_total";
13
+ collectionMode: "none" | "external" | "cash_on_trip" | "included" | "booking_total";
14
14
  showOnSlotManifest: boolean;
15
15
  minQuantity: number | null;
16
16
  maxQuantity: number | null;
@@ -34,7 +34,7 @@ export declare function getProductExtrasQueryOptions(client: FetchWithValidation
34
34
  selectionType: "optional" | "required" | "default_selected" | "unavailable";
35
35
  pricingMode: "on_request" | "included" | "per_person" | "per_booking" | "quantity_based" | "free";
36
36
  pricedPerPerson: boolean;
37
- collectionMode: "cash_on_trip" | "external" | "included" | "none" | "booking_total";
37
+ collectionMode: "none" | "external" | "cash_on_trip" | "included" | "booking_total";
38
38
  showOnSlotManifest: boolean;
39
39
  minQuantity: number | null;
40
40
  maxQuantity: number | null;
@@ -59,7 +59,7 @@ export declare function getProductExtrasQueryOptions(client: FetchWithValidation
59
59
  selectionType: "optional" | "required" | "default_selected" | "unavailable";
60
60
  pricingMode: "on_request" | "included" | "per_person" | "per_booking" | "quantity_based" | "free";
61
61
  pricedPerPerson: boolean;
62
- collectionMode: "cash_on_trip" | "external" | "included" | "none" | "booking_total";
62
+ collectionMode: "none" | "external" | "cash_on_trip" | "included" | "booking_total";
63
63
  showOnSlotManifest: boolean;
64
64
  minQuantity: number | null;
65
65
  maxQuantity: number | null;
@@ -86,7 +86,7 @@ export declare function getProductExtrasQueryOptions(client: FetchWithValidation
86
86
  selectionType: "optional" | "required" | "default_selected" | "unavailable";
87
87
  pricingMode: "on_request" | "included" | "per_person" | "per_booking" | "quantity_based" | "free";
88
88
  pricedPerPerson: boolean;
89
- collectionMode: "cash_on_trip" | "external" | "included" | "none" | "booking_total";
89
+ collectionMode: "none" | "external" | "cash_on_trip" | "included" | "booking_total";
90
90
  showOnSlotManifest: boolean;
91
91
  minQuantity: number | null;
92
92
  maxQuantity: number | null;
@@ -113,7 +113,7 @@ export declare function getProductExtraQueryOptions(client: FetchWithValidationO
113
113
  selectionType: "optional" | "required" | "default_selected" | "unavailable";
114
114
  pricingMode: "on_request" | "included" | "per_person" | "per_booking" | "quantity_based" | "free";
115
115
  pricedPerPerson: boolean;
116
- collectionMode: "cash_on_trip" | "external" | "included" | "none" | "booking_total";
116
+ collectionMode: "none" | "external" | "cash_on_trip" | "included" | "booking_total";
117
117
  showOnSlotManifest: boolean;
118
118
  minQuantity: number | null;
119
119
  maxQuantity: number | null;
@@ -132,7 +132,7 @@ export declare function getProductExtraQueryOptions(client: FetchWithValidationO
132
132
  selectionType: "optional" | "required" | "default_selected" | "unavailable";
133
133
  pricingMode: "on_request" | "included" | "per_person" | "per_booking" | "quantity_based" | "free";
134
134
  pricedPerPerson: boolean;
135
- collectionMode: "cash_on_trip" | "external" | "included" | "none" | "booking_total";
135
+ collectionMode: "none" | "external" | "cash_on_trip" | "included" | "booking_total";
136
136
  showOnSlotManifest: boolean;
137
137
  minQuantity: number | null;
138
138
  maxQuantity: number | null;
@@ -152,7 +152,7 @@ export declare function getProductExtraQueryOptions(client: FetchWithValidationO
152
152
  selectionType: "optional" | "required" | "default_selected" | "unavailable";
153
153
  pricingMode: "on_request" | "included" | "per_person" | "per_booking" | "quantity_based" | "free";
154
154
  pricedPerPerson: boolean;
155
- collectionMode: "cash_on_trip" | "external" | "included" | "none" | "booking_total";
155
+ collectionMode: "none" | "external" | "cash_on_trip" | "included" | "booking_total";
156
156
  showOnSlotManifest: boolean;
157
157
  minQuantity: number | null;
158
158
  maxQuantity: number | null;
@@ -174,7 +174,7 @@ export declare function getProductExtraQueryOptions(client: FetchWithValidationO
174
174
  selectionType: "optional" | "required" | "default_selected" | "unavailable";
175
175
  pricingMode: "on_request" | "included" | "per_person" | "per_booking" | "quantity_based" | "free";
176
176
  pricedPerPerson: boolean;
177
- collectionMode: "cash_on_trip" | "external" | "included" | "none" | "booking_total";
177
+ collectionMode: "none" | "external" | "cash_on_trip" | "included" | "booking_total";
178
178
  showOnSlotManifest: boolean;
179
179
  minQuantity: number | null;
180
180
  maxQuantity: number | null;
@@ -208,7 +208,7 @@ export declare function getSlotExtraManifestQueryOptions(client: FetchWithValida
208
208
  selectionType: "optional" | "required" | "default_selected" | "unavailable";
209
209
  pricingMode: "on_request" | "included" | "per_person" | "per_booking" | "quantity_based" | "free";
210
210
  pricedPerPerson: boolean;
211
- collectionMode: "cash_on_trip" | "external" | "included" | "none" | "booking_total";
211
+ collectionMode: "none" | "external" | "cash_on_trip" | "included" | "booking_total";
212
212
  showOnSlotManifest: boolean;
213
213
  minQuantity: number | null;
214
214
  maxQuantity: number | null;
@@ -240,9 +240,9 @@ export declare function getSlotExtraManifestQueryOptions(client: FetchWithValida
240
240
  productExtraId: string;
241
241
  optionExtraConfigId: string | null;
242
242
  bookingItemId: string | null;
243
- status: "selected" | "cancelled" | "fulfilled" | "no_show";
243
+ status: "cancelled" | "selected" | "fulfilled" | "no_show";
244
244
  selected: boolean;
245
- collectionMode: "cash_on_trip" | "external" | "included" | "none" | "booking_total";
245
+ collectionMode: "none" | "external" | "cash_on_trip" | "included" | "booking_total";
246
246
  collectionStatus: "pending" | "not_required" | "collected" | "waived" | "refunded";
247
247
  collectionCurrency: string | null;
248
248
  collectionAmountCents: number | null;
@@ -272,7 +272,7 @@ export declare function getSlotExtraManifestQueryOptions(client: FetchWithValida
272
272
  selectionType: "optional" | "required" | "default_selected" | "unavailable";
273
273
  pricingMode: "on_request" | "included" | "per_person" | "per_booking" | "quantity_based" | "free";
274
274
  pricedPerPerson: boolean;
275
- collectionMode: "cash_on_trip" | "external" | "included" | "none" | "booking_total";
275
+ collectionMode: "none" | "external" | "cash_on_trip" | "included" | "booking_total";
276
276
  showOnSlotManifest: boolean;
277
277
  minQuantity: number | null;
278
278
  maxQuantity: number | null;
@@ -304,9 +304,9 @@ export declare function getSlotExtraManifestQueryOptions(client: FetchWithValida
304
304
  productExtraId: string;
305
305
  optionExtraConfigId: string | null;
306
306
  bookingItemId: string | null;
307
- status: "selected" | "cancelled" | "fulfilled" | "no_show";
307
+ status: "cancelled" | "selected" | "fulfilled" | "no_show";
308
308
  selected: boolean;
309
- collectionMode: "cash_on_trip" | "external" | "included" | "none" | "booking_total";
309
+ collectionMode: "none" | "external" | "cash_on_trip" | "included" | "booking_total";
310
310
  collectionStatus: "pending" | "not_required" | "collected" | "waived" | "refunded";
311
311
  collectionCurrency: string | null;
312
312
  collectionAmountCents: number | null;
@@ -337,7 +337,7 @@ export declare function getSlotExtraManifestQueryOptions(client: FetchWithValida
337
337
  selectionType: "optional" | "required" | "default_selected" | "unavailable";
338
338
  pricingMode: "on_request" | "included" | "per_person" | "per_booking" | "quantity_based" | "free";
339
339
  pricedPerPerson: boolean;
340
- collectionMode: "cash_on_trip" | "external" | "included" | "none" | "booking_total";
340
+ collectionMode: "none" | "external" | "cash_on_trip" | "included" | "booking_total";
341
341
  showOnSlotManifest: boolean;
342
342
  minQuantity: number | null;
343
343
  maxQuantity: number | null;
@@ -369,9 +369,9 @@ export declare function getSlotExtraManifestQueryOptions(client: FetchWithValida
369
369
  productExtraId: string;
370
370
  optionExtraConfigId: string | null;
371
371
  bookingItemId: string | null;
372
- status: "selected" | "cancelled" | "fulfilled" | "no_show";
372
+ status: "cancelled" | "selected" | "fulfilled" | "no_show";
373
373
  selected: boolean;
374
- collectionMode: "cash_on_trip" | "external" | "included" | "none" | "booking_total";
374
+ collectionMode: "none" | "external" | "cash_on_trip" | "included" | "booking_total";
375
375
  collectionStatus: "pending" | "not_required" | "collected" | "waived" | "refunded";
376
376
  collectionCurrency: string | null;
377
377
  collectionAmountCents: number | null;
@@ -404,7 +404,7 @@ export declare function getSlotExtraManifestQueryOptions(client: FetchWithValida
404
404
  selectionType: "optional" | "required" | "default_selected" | "unavailable";
405
405
  pricingMode: "on_request" | "included" | "per_person" | "per_booking" | "quantity_based" | "free";
406
406
  pricedPerPerson: boolean;
407
- collectionMode: "cash_on_trip" | "external" | "included" | "none" | "booking_total";
407
+ collectionMode: "none" | "external" | "cash_on_trip" | "included" | "booking_total";
408
408
  showOnSlotManifest: boolean;
409
409
  minQuantity: number | null;
410
410
  maxQuantity: number | null;
@@ -436,9 +436,9 @@ export declare function getSlotExtraManifestQueryOptions(client: FetchWithValida
436
436
  productExtraId: string;
437
437
  optionExtraConfigId: string | null;
438
438
  bookingItemId: string | null;
439
- status: "selected" | "cancelled" | "fulfilled" | "no_show";
439
+ status: "cancelled" | "selected" | "fulfilled" | "no_show";
440
440
  selected: boolean;
441
- collectionMode: "cash_on_trip" | "external" | "included" | "none" | "booking_total";
441
+ collectionMode: "none" | "external" | "cash_on_trip" | "included" | "booking_total";
442
442
  collectionStatus: "pending" | "not_required" | "collected" | "waived" | "refunded";
443
443
  collectionCurrency: string | null;
444
444
  collectionAmountCents: number | null;
@@ -29,10 +29,10 @@ export declare const productExtraRecordSchema: z.ZodObject<{
29
29
  }>;
30
30
  pricedPerPerson: z.ZodBoolean;
31
31
  collectionMode: z.ZodEnum<{
32
- cash_on_trip: "cash_on_trip";
32
+ none: "none";
33
33
  external: "external";
34
+ cash_on_trip: "cash_on_trip";
34
35
  included: "included";
35
- none: "none";
36
36
  booking_total: "booking_total";
37
37
  }>;
38
38
  showOnSlotManifest: z.ZodBoolean;
@@ -69,10 +69,10 @@ export declare const productExtraListResponse: z.ZodObject<{
69
69
  }>;
70
70
  pricedPerPerson: z.ZodBoolean;
71
71
  collectionMode: z.ZodEnum<{
72
- cash_on_trip: "cash_on_trip";
72
+ none: "none";
73
73
  external: "external";
74
+ cash_on_trip: "cash_on_trip";
74
75
  included: "included";
75
- none: "none";
76
76
  booking_total: "booking_total";
77
77
  }>;
78
78
  showOnSlotManifest: z.ZodBoolean;
@@ -112,10 +112,10 @@ export declare const productExtraSingleResponse: z.ZodObject<{
112
112
  }>;
113
113
  pricedPerPerson: z.ZodBoolean;
114
114
  collectionMode: z.ZodEnum<{
115
- cash_on_trip: "cash_on_trip";
115
+ none: "none";
116
116
  external: "external";
117
+ cash_on_trip: "cash_on_trip";
117
118
  included: "included";
118
- none: "none";
119
119
  booking_total: "booking_total";
120
120
  }>;
121
121
  showOnSlotManifest: z.ZodBoolean;
@@ -161,17 +161,17 @@ export declare const slotExtraManifestSelectionSchema: z.ZodObject<{
161
161
  optionExtraConfigId: z.ZodNullable<z.ZodString>;
162
162
  bookingItemId: z.ZodNullable<z.ZodString>;
163
163
  status: z.ZodEnum<{
164
- selected: "selected";
165
164
  cancelled: "cancelled";
165
+ selected: "selected";
166
166
  fulfilled: "fulfilled";
167
167
  no_show: "no_show";
168
168
  }>;
169
169
  selected: z.ZodBoolean;
170
170
  collectionMode: z.ZodEnum<{
171
- cash_on_trip: "cash_on_trip";
171
+ none: "none";
172
172
  external: "external";
173
+ cash_on_trip: "cash_on_trip";
173
174
  included: "included";
174
- none: "none";
175
175
  booking_total: "booking_total";
176
176
  }>;
177
177
  collectionStatus: z.ZodEnum<{
@@ -226,10 +226,10 @@ export declare const slotExtraManifestSchema: z.ZodObject<{
226
226
  }>;
227
227
  pricedPerPerson: z.ZodBoolean;
228
228
  collectionMode: z.ZodEnum<{
229
- cash_on_trip: "cash_on_trip";
229
+ none: "none";
230
230
  external: "external";
231
+ cash_on_trip: "cash_on_trip";
231
232
  included: "included";
232
- none: "none";
233
233
  booking_total: "booking_total";
234
234
  }>;
235
235
  showOnSlotManifest: z.ZodBoolean;
@@ -264,17 +264,17 @@ export declare const slotExtraManifestSchema: z.ZodObject<{
264
264
  optionExtraConfigId: z.ZodNullable<z.ZodString>;
265
265
  bookingItemId: z.ZodNullable<z.ZodString>;
266
266
  status: z.ZodEnum<{
267
- selected: "selected";
268
267
  cancelled: "cancelled";
268
+ selected: "selected";
269
269
  fulfilled: "fulfilled";
270
270
  no_show: "no_show";
271
271
  }>;
272
272
  selected: z.ZodBoolean;
273
273
  collectionMode: z.ZodEnum<{
274
- cash_on_trip: "cash_on_trip";
274
+ none: "none";
275
275
  external: "external";
276
+ cash_on_trip: "cash_on_trip";
276
277
  included: "included";
277
- none: "none";
278
278
  booking_total: "booking_total";
279
279
  }>;
280
280
  collectionStatus: z.ZodEnum<{
@@ -331,10 +331,10 @@ export declare const slotExtraManifestResponse: z.ZodObject<{
331
331
  }>;
332
332
  pricedPerPerson: z.ZodBoolean;
333
333
  collectionMode: z.ZodEnum<{
334
- cash_on_trip: "cash_on_trip";
334
+ none: "none";
335
335
  external: "external";
336
+ cash_on_trip: "cash_on_trip";
336
337
  included: "included";
337
- none: "none";
338
338
  booking_total: "booking_total";
339
339
  }>;
340
340
  showOnSlotManifest: z.ZodBoolean;
@@ -369,17 +369,17 @@ export declare const slotExtraManifestResponse: z.ZodObject<{
369
369
  optionExtraConfigId: z.ZodNullable<z.ZodString>;
370
370
  bookingItemId: z.ZodNullable<z.ZodString>;
371
371
  status: z.ZodEnum<{
372
- selected: "selected";
373
372
  cancelled: "cancelled";
373
+ selected: "selected";
374
374
  fulfilled: "fulfilled";
375
375
  no_show: "no_show";
376
376
  }>;
377
377
  selected: z.ZodBoolean;
378
378
  collectionMode: z.ZodEnum<{
379
- cash_on_trip: "cash_on_trip";
379
+ none: "none";
380
380
  external: "external";
381
+ cash_on_trip: "cash_on_trip";
381
382
  included: "included";
382
- none: "none";
383
383
  booking_total: "booking_total";
384
384
  }>;
385
385
  collectionStatus: z.ZodEnum<{
@@ -16,8 +16,8 @@ export declare function useBookingActionLedger(bookingId: string | null | undefi
16
16
  occurredAt: string;
17
17
  actionName: string;
18
18
  actionVersion: string;
19
- actionKind: "reverse" | "read" | "create" | "update" | "delete" | "execute" | "approve" | "reject" | "compensate" | "duplicate";
20
- status: "cancelled" | "expired" | "requested" | "awaiting_approval" | "approved" | "denied" | "succeeded" | "failed" | "reversed" | "compensated" | "superseded";
19
+ actionKind: "read" | "create" | "update" | "delete" | "execute" | "approve" | "reject" | "reverse" | "compensate" | "duplicate";
20
+ status: "requested" | "awaiting_approval" | "approved" | "denied" | "succeeded" | "failed" | "reversed" | "compensated" | "expired" | "cancelled" | "superseded";
21
21
  evaluatedRisk: "high" | "low" | "medium" | "critical";
22
22
  actorType: string | null;
23
23
  principalType: "user" | "api_key" | "agent" | "workflow" | "system";
@@ -8,7 +8,7 @@ export interface CancelBookingInput {
8
8
  export declare function useBookingCancelMutation(bookingId: string): import("@tanstack/react-query").UseMutationResult<{
9
9
  id: string;
10
10
  bookingNumber: string;
11
- status: "draft" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed" | "expired";
11
+ status: "draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed";
12
12
  personId: string | null;
13
13
  organizationId: string | null;
14
14
  sellCurrency: string;
@@ -20,7 +20,7 @@ export interface ConvertProductToBookingInput {
20
20
  export declare function useBookingConvertMutation(): import("@tanstack/react-query").UseMutationResult<{
21
21
  id: string;
22
22
  bookingNumber: string;
23
- status: "draft" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed" | "expired";
23
+ status: "draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed";
24
24
  personId: string | null;
25
25
  organizationId: string | null;
26
26
  sellCurrency: string;
@@ -175,13 +175,13 @@ declare const bookingCreateResultSchema: z.ZodObject<{
175
175
  bookingNumber: z.ZodString;
176
176
  status: z.ZodEnum<{
177
177
  draft: "draft";
178
+ expired: "expired";
178
179
  cancelled: "cancelled";
179
180
  on_hold: "on_hold";
180
181
  awaiting_payment: "awaiting_payment";
181
182
  confirmed: "confirmed";
182
183
  in_progress: "in_progress";
183
184
  completed: "completed";
184
- expired: "expired";
185
185
  }>;
186
186
  personId: z.ZodNullable<z.ZodString>;
187
187
  organizationId: z.ZodNullable<z.ZodString>;
@@ -267,7 +267,7 @@ export declare function useBookingCreateMutation(): import("@tanstack/react-quer
267
267
  booking: {
268
268
  id: string;
269
269
  bookingNumber: string;
270
- status: "draft" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed" | "expired";
270
+ status: "draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed";
271
271
  personId: string | null;
272
272
  organizationId: string | null;
273
273
  sellCurrency: string;
@@ -27,13 +27,13 @@ declare const dualCreateResultSchema: z.ZodObject<{
27
27
  bookingNumber: z.ZodString;
28
28
  status: z.ZodEnum<{
29
29
  draft: "draft";
30
+ expired: "expired";
30
31
  cancelled: "cancelled";
31
32
  on_hold: "on_hold";
32
33
  awaiting_payment: "awaiting_payment";
33
34
  confirmed: "confirmed";
34
35
  in_progress: "in_progress";
35
36
  completed: "completed";
36
- expired: "expired";
37
37
  }>;
38
38
  personId: z.ZodNullable<z.ZodString>;
39
39
  organizationId: z.ZodNullable<z.ZodString>;
@@ -109,13 +109,13 @@ declare const dualCreateResultSchema: z.ZodObject<{
109
109
  bookingNumber: z.ZodString;
110
110
  status: z.ZodEnum<{
111
111
  draft: "draft";
112
+ expired: "expired";
112
113
  cancelled: "cancelled";
113
114
  on_hold: "on_hold";
114
115
  awaiting_payment: "awaiting_payment";
115
116
  confirmed: "confirmed";
116
117
  in_progress: "in_progress";
117
118
  completed: "completed";
118
- expired: "expired";
119
119
  }>;
120
120
  personId: z.ZodNullable<z.ZodString>;
121
121
  organizationId: z.ZodNullable<z.ZodString>;
@@ -202,7 +202,7 @@ export declare function useBookingDualCreateMutation(): import("@tanstack/react-
202
202
  booking: {
203
203
  id: string;
204
204
  bookingNumber: string;
205
- status: "draft" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed" | "expired";
205
+ status: "draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed";
206
206
  personId: string | null;
207
207
  organizationId: string | null;
208
208
  sellCurrency: string;
@@ -268,7 +268,7 @@ export declare function useBookingDualCreateMutation(): import("@tanstack/react-
268
268
  booking: {
269
269
  id: string;
270
270
  bookingNumber: string;
271
- status: "draft" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed" | "expired";
271
+ status: "draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed";
272
272
  personId: string | null;
273
273
  organizationId: string | null;
274
274
  sellCurrency: string;
@@ -21,7 +21,7 @@ export declare function useBookingGroup(id: string | null | undefined, options?:
21
21
  booking: {
22
22
  id: string;
23
23
  bookingNumber: string;
24
- status: "draft" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed" | "expired";
24
+ status: "draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed";
25
25
  personId: string | null;
26
26
  organizationId: string | null;
27
27
  sellCurrency: string;
@@ -8,8 +8,8 @@ export declare function useBookingItemMutation(bookingId: string): {
8
8
  bookingId: string;
9
9
  title: string;
10
10
  description: string | null;
11
- itemType: "other" | "unit" | "extra" | "service" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
12
- status: "draft" | "cancelled" | "fulfilled" | "on_hold" | "confirmed" | "expired";
11
+ itemType: "other" | "service" | "accommodation" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "transport";
12
+ status: "draft" | "expired" | "cancelled" | "fulfilled" | "on_hold" | "confirmed";
13
13
  serviceDate: string | null;
14
14
  startsAt: string | null;
15
15
  endsAt: string | null;
@@ -36,8 +36,8 @@ export declare function useBookingItemMutation(bookingId: string): {
36
36
  title: string;
37
37
  sellCurrency: string;
38
38
  description?: string | null | undefined;
39
- itemType?: "other" | "unit" | "extra" | "service" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport" | undefined;
40
- status?: "draft" | "cancelled" | "fulfilled" | "on_hold" | "confirmed" | "expired" | undefined;
39
+ itemType?: "other" | "service" | "accommodation" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "transport" | undefined;
40
+ status?: "draft" | "expired" | "cancelled" | "fulfilled" | "on_hold" | "confirmed" | undefined;
41
41
  serviceDate?: string | null | undefined;
42
42
  startsAt?: string | null | undefined;
43
43
  endsAt?: string | null | undefined;
@@ -66,8 +66,8 @@ export declare function useBookingItemMutation(bookingId: string): {
66
66
  bookingId: string;
67
67
  title: string;
68
68
  description: string | null;
69
- itemType: "other" | "unit" | "extra" | "service" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
70
- status: "draft" | "cancelled" | "fulfilled" | "on_hold" | "confirmed" | "expired";
69
+ itemType: "other" | "service" | "accommodation" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "transport";
70
+ status: "draft" | "expired" | "cancelled" | "fulfilled" | "on_hold" | "confirmed";
71
71
  serviceDate: string | null;
72
72
  startsAt: string | null;
73
73
  endsAt: string | null;
@@ -7,8 +7,8 @@ export declare function useBookingItems(bookingId: string | null | undefined, op
7
7
  bookingId: string;
8
8
  title: string;
9
9
  description: string | null;
10
- itemType: "other" | "unit" | "extra" | "service" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
11
- status: "draft" | "cancelled" | "fulfilled" | "on_hold" | "confirmed" | "expired";
10
+ itemType: "other" | "service" | "accommodation" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "transport";
11
+ status: "draft" | "expired" | "cancelled" | "fulfilled" | "on_hold" | "confirmed";
12
12
  serviceDate: string | null;
13
13
  startsAt: string | null;
14
14
  endsAt: string | null;
@@ -29,7 +29,7 @@ export declare function useBookingMutation(): {
29
29
  create: import("@tanstack/react-query").UseMutationResult<{
30
30
  id: string;
31
31
  bookingNumber: string;
32
- status: "draft" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed" | "expired";
32
+ status: "draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed";
33
33
  personId: string | null;
34
34
  organizationId: string | null;
35
35
  sellCurrency: string;
@@ -90,7 +90,7 @@ export declare function useBookingMutation(): {
90
90
  update: import("@tanstack/react-query").UseMutationResult<{
91
91
  id: string;
92
92
  bookingNumber: string;
93
- status: "draft" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed" | "expired";
93
+ status: "draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed";
94
94
  personId: string | null;
95
95
  organizationId: string | null;
96
96
  sellCurrency: string;
@@ -23,7 +23,7 @@ export interface UpdateBookingStatusInput {
23
23
  export declare function useBookingStatusMutation(bookingId: string): import("@tanstack/react-query").UseMutationResult<{
24
24
  id: string;
25
25
  bookingNumber: string;
26
- status: "draft" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed" | "expired";
26
+ status: "draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed";
27
27
  personId: string | null;
28
28
  organizationId: string | null;
29
29
  sellCurrency: string;
@@ -94,7 +94,7 @@ export interface UpdateBookingStatusByIdInput extends UpdateBookingStatusInput {
94
94
  export declare function useBookingStatusByIdMutation(): import("@tanstack/react-query").UseMutationResult<{
95
95
  id: string;
96
96
  bookingNumber: string;
97
- status: "draft" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed" | "expired";
97
+ status: "draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed";
98
98
  personId: string | null;
99
99
  organizationId: string | null;
100
100
  sellCurrency: string;
@@ -5,7 +5,7 @@ export declare function useBooking(id: string | null | undefined, options?: UseB
5
5
  data: {
6
6
  id: string;
7
7
  bookingNumber: string;
8
- status: "draft" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed" | "expired";
8
+ status: "draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed";
9
9
  personId: string | null;
10
10
  organizationId: string | null;
11
11
  sellCurrency: string;
@@ -23,8 +23,8 @@ export declare function useBooking(id: string | null | undefined, options?: UseB
23
23
  bookingId: string;
24
24
  title: string;
25
25
  description: string | null;
26
- itemType: "other" | "unit" | "extra" | "service" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
27
- status: "draft" | "cancelled" | "fulfilled" | "on_hold" | "confirmed" | "expired";
26
+ itemType: "other" | "service" | "accommodation" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "transport";
27
+ status: "draft" | "expired" | "cancelled" | "fulfilled" | "on_hold" | "confirmed";
28
28
  serviceDate: string | null;
29
29
  startsAt: string | null;
30
30
  endsAt: string | null;
@@ -6,7 +6,7 @@ export declare function useBookings(options?: UseBookingsOptions): import("@tans
6
6
  data: {
7
7
  id: string;
8
8
  bookingNumber: string;
9
- status: "draft" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed" | "expired";
9
+ status: "draft" | "expired" | "cancelled" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed";
10
10
  personId: string | null;
11
11
  organizationId: string | null;
12
12
  sellCurrency: string;