@voyant-travel/charters-react 0.117.2

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 (85) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +40 -0
  3. package/dist/client.d.ts +14 -0
  4. package/dist/client.d.ts.map +1 -0
  5. package/dist/client.js +59 -0
  6. package/dist/components/apa-tracker.d.ts +18 -0
  7. package/dist/components/apa-tracker.d.ts.map +1 -0
  8. package/dist/components/apa-tracker.js +69 -0
  9. package/dist/components/charter-catalog-card.d.ts +13 -0
  10. package/dist/components/charter-catalog-card.d.ts.map +1 -0
  11. package/dist/components/charter-catalog-card.js +58 -0
  12. package/dist/components/external-badge.d.ts +13 -0
  13. package/dist/components/external-badge.d.ts.map +1 -0
  14. package/dist/components/external-badge.js +16 -0
  15. package/dist/components/voyage-suite-grid.d.ts +26 -0
  16. package/dist/components/voyage-suite-grid.d.ts.map +1 -0
  17. package/dist/components/voyage-suite-grid.js +77 -0
  18. package/dist/components/whole-yacht-quote-card.d.ts +21 -0
  19. package/dist/components/whole-yacht-quote-card.d.ts.map +1 -0
  20. package/dist/components/whole-yacht-quote-card.js +46 -0
  21. package/dist/hooks/index.d.ts +10 -0
  22. package/dist/hooks/index.d.ts.map +1 -0
  23. package/dist/hooks/index.js +9 -0
  24. package/dist/hooks/use-apa.d.ts +130 -0
  25. package/dist/hooks/use-apa.d.ts.map +1 -0
  26. package/dist/hooks/use-apa.js +60 -0
  27. package/dist/hooks/use-charter-booking.d.ts +175 -0
  28. package/dist/hooks/use-charter-booking.d.ts.map +1 -0
  29. package/dist/hooks/use-charter-booking.js +39 -0
  30. package/dist/hooks/use-charter-product-mutation.d.ts +124 -0
  31. package/dist/hooks/use-charter-product-mutation.d.ts.map +1 -0
  32. package/dist/hooks/use-charter-product-mutation.js +55 -0
  33. package/dist/hooks/use-charter-products.d.ts +150 -0
  34. package/dist/hooks/use-charter-products.d.ts.map +1 -0
  35. package/dist/hooks/use-charter-products.js +29 -0
  36. package/dist/hooks/use-charter-public.d.ts +232 -0
  37. package/dist/hooks/use-charter-public.d.ts.map +1 -0
  38. package/dist/hooks/use-charter-public.js +41 -0
  39. package/dist/hooks/use-charter-quote.d.ts +42 -0
  40. package/dist/hooks/use-charter-quote.d.ts.map +1 -0
  41. package/dist/hooks/use-charter-quote.js +30 -0
  42. package/dist/hooks/use-charter-voyages.d.ts +111 -0
  43. package/dist/hooks/use-charter-voyages.d.ts.map +1 -0
  44. package/dist/hooks/use-charter-voyages.js +19 -0
  45. package/dist/hooks/use-charter-yachts.d.ts +72 -0
  46. package/dist/hooks/use-charter-yachts.d.ts.map +1 -0
  47. package/dist/hooks/use-charter-yachts.js +19 -0
  48. package/dist/hooks/use-myba-contract.d.ts +28 -0
  49. package/dist/hooks/use-myba-contract.d.ts.map +1 -0
  50. package/dist/hooks/use-myba-contract.js +31 -0
  51. package/dist/i18n/en.d.ts +3 -0
  52. package/dist/i18n/en.d.ts.map +1 -0
  53. package/dist/i18n/en.js +78 -0
  54. package/dist/i18n/index.d.ts +5 -0
  55. package/dist/i18n/index.d.ts.map +1 -0
  56. package/dist/i18n/index.js +3 -0
  57. package/dist/i18n/messages.d.ts +70 -0
  58. package/dist/i18n/messages.d.ts.map +1 -0
  59. package/dist/i18n/messages.js +1 -0
  60. package/dist/i18n/provider.d.ts +26 -0
  61. package/dist/i18n/provider.d.ts.map +1 -0
  62. package/dist/i18n/provider.js +44 -0
  63. package/dist/i18n/ro.d.ts +3 -0
  64. package/dist/i18n/ro.d.ts.map +1 -0
  65. package/dist/i18n/ro.js +78 -0
  66. package/dist/index.d.ts +7 -0
  67. package/dist/index.d.ts.map +1 -0
  68. package/dist/index.js +6 -0
  69. package/dist/provider.d.ts +2 -0
  70. package/dist/provider.d.ts.map +1 -0
  71. package/dist/provider.js +1 -0
  72. package/dist/query-keys.d.ts +61 -0
  73. package/dist/query-keys.d.ts.map +1 -0
  74. package/dist/query-keys.js +31 -0
  75. package/dist/query-options.d.ts +2108 -0
  76. package/dist/query-options.d.ts.map +1 -0
  77. package/dist/query-options.js +110 -0
  78. package/dist/schemas.d.ts +1066 -0
  79. package/dist/schemas.d.ts.map +1 -0
  80. package/dist/schemas.js +323 -0
  81. package/dist/ui.d.ts +6 -0
  82. package/dist/ui.d.ts.map +1 -0
  83. package/dist/ui.js +5 -0
  84. package/package.json +121 -0
  85. package/src/styles.css +11 -0
@@ -0,0 +1,2108 @@
1
+ /**
2
+ * TanStack `queryOptions()` factories for the charters module.
3
+ *
4
+ * Hooks under `./hooks/` wrap these so they can be used both inside React
5
+ * components and outside (SSR loaders, route preloads, framework adapters).
6
+ * Each factory takes a `FetchWithValidationOptions` instead of reading from
7
+ * context — the hook provides that, but a server loader can pass it in
8
+ * directly.
9
+ */
10
+ import { type FetchWithValidationOptions } from "./client.js";
11
+ import { type ProductsListFilters, type PublicProductsListFilters, type VoyagesListFilters, type YachtsListFilters } from "./query-keys.js";
12
+ export declare function getProductsQueryOptions(client: FetchWithValidationOptions, filters?: ProductsListFilters): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
13
+ data: ({
14
+ source: "local";
15
+ sourceProvider: null;
16
+ sourceRef: null;
17
+ key: string;
18
+ product: {
19
+ id: string;
20
+ slug: string;
21
+ name: string;
22
+ lineSupplierId: string | null;
23
+ defaultYachtId: string | null;
24
+ description: string | null;
25
+ shortDescription: string | null;
26
+ heroImageUrl: string | null;
27
+ mapImageUrl: string | null;
28
+ regions: string[] | null;
29
+ themes: string[] | null;
30
+ status: "draft" | "awaiting_review" | "live" | "archived";
31
+ defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
32
+ defaultMybaTemplateId: string | null;
33
+ defaultApaPercent: string | null;
34
+ lowestPriceCachedAmount: string | null;
35
+ lowestPriceCachedCurrency: string | null;
36
+ earliestVoyageCached: string | null;
37
+ latestVoyageCached: string | null;
38
+ externalRefs: Record<string, string> | null;
39
+ createdAt: string;
40
+ updatedAt: string;
41
+ };
42
+ } | {
43
+ source: "external";
44
+ sourceProvider: string;
45
+ sourceRef: Record<string, unknown>;
46
+ key: string;
47
+ product: unknown;
48
+ })[];
49
+ total: number;
50
+ localTotal: number;
51
+ adapterCount: number;
52
+ limit: number;
53
+ offset: number;
54
+ adapterErrors?: {
55
+ adapter: string;
56
+ error: string;
57
+ }[] | undefined;
58
+ }, Error, {
59
+ data: ({
60
+ source: "local";
61
+ sourceProvider: null;
62
+ sourceRef: null;
63
+ key: string;
64
+ product: {
65
+ id: string;
66
+ slug: string;
67
+ name: string;
68
+ lineSupplierId: string | null;
69
+ defaultYachtId: string | null;
70
+ description: string | null;
71
+ shortDescription: string | null;
72
+ heroImageUrl: string | null;
73
+ mapImageUrl: string | null;
74
+ regions: string[] | null;
75
+ themes: string[] | null;
76
+ status: "draft" | "awaiting_review" | "live" | "archived";
77
+ defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
78
+ defaultMybaTemplateId: string | null;
79
+ defaultApaPercent: string | null;
80
+ lowestPriceCachedAmount: string | null;
81
+ lowestPriceCachedCurrency: string | null;
82
+ earliestVoyageCached: string | null;
83
+ latestVoyageCached: string | null;
84
+ externalRefs: Record<string, string> | null;
85
+ createdAt: string;
86
+ updatedAt: string;
87
+ };
88
+ } | {
89
+ source: "external";
90
+ sourceProvider: string;
91
+ sourceRef: Record<string, unknown>;
92
+ key: string;
93
+ product: unknown;
94
+ })[];
95
+ total: number;
96
+ localTotal: number;
97
+ adapterCount: number;
98
+ limit: number;
99
+ offset: number;
100
+ adapterErrors?: {
101
+ adapter: string;
102
+ error: string;
103
+ }[] | undefined;
104
+ }, readonly ["voyant", "charters", "products", "list", ProductsListFilters]>, "queryFn"> & {
105
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
106
+ data: ({
107
+ source: "local";
108
+ sourceProvider: null;
109
+ sourceRef: null;
110
+ key: string;
111
+ product: {
112
+ id: string;
113
+ slug: string;
114
+ name: string;
115
+ lineSupplierId: string | null;
116
+ defaultYachtId: string | null;
117
+ description: string | null;
118
+ shortDescription: string | null;
119
+ heroImageUrl: string | null;
120
+ mapImageUrl: string | null;
121
+ regions: string[] | null;
122
+ themes: string[] | null;
123
+ status: "draft" | "awaiting_review" | "live" | "archived";
124
+ defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
125
+ defaultMybaTemplateId: string | null;
126
+ defaultApaPercent: string | null;
127
+ lowestPriceCachedAmount: string | null;
128
+ lowestPriceCachedCurrency: string | null;
129
+ earliestVoyageCached: string | null;
130
+ latestVoyageCached: string | null;
131
+ externalRefs: Record<string, string> | null;
132
+ createdAt: string;
133
+ updatedAt: string;
134
+ };
135
+ } | {
136
+ source: "external";
137
+ sourceProvider: string;
138
+ sourceRef: Record<string, unknown>;
139
+ key: string;
140
+ product: unknown;
141
+ })[];
142
+ total: number;
143
+ localTotal: number;
144
+ adapterCount: number;
145
+ limit: number;
146
+ offset: number;
147
+ adapterErrors?: {
148
+ adapter: string;
149
+ error: string;
150
+ }[] | undefined;
151
+ }, readonly ["voyant", "charters", "products", "list", ProductsListFilters], never> | undefined;
152
+ } & {
153
+ queryKey: readonly ["voyant", "charters", "products", "list", ProductsListFilters] & {
154
+ [dataTagSymbol]: {
155
+ data: ({
156
+ source: "local";
157
+ sourceProvider: null;
158
+ sourceRef: null;
159
+ key: string;
160
+ product: {
161
+ id: string;
162
+ slug: string;
163
+ name: string;
164
+ lineSupplierId: string | null;
165
+ defaultYachtId: string | null;
166
+ description: string | null;
167
+ shortDescription: string | null;
168
+ heroImageUrl: string | null;
169
+ mapImageUrl: string | null;
170
+ regions: string[] | null;
171
+ themes: string[] | null;
172
+ status: "draft" | "awaiting_review" | "live" | "archived";
173
+ defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
174
+ defaultMybaTemplateId: string | null;
175
+ defaultApaPercent: string | null;
176
+ lowestPriceCachedAmount: string | null;
177
+ lowestPriceCachedCurrency: string | null;
178
+ earliestVoyageCached: string | null;
179
+ latestVoyageCached: string | null;
180
+ externalRefs: Record<string, string> | null;
181
+ createdAt: string;
182
+ updatedAt: string;
183
+ };
184
+ } | {
185
+ source: "external";
186
+ sourceProvider: string;
187
+ sourceRef: Record<string, unknown>;
188
+ key: string;
189
+ product: unknown;
190
+ })[];
191
+ total: number;
192
+ localTotal: number;
193
+ adapterCount: number;
194
+ limit: number;
195
+ offset: number;
196
+ adapterErrors?: {
197
+ adapter: string;
198
+ error: string;
199
+ }[] | undefined;
200
+ };
201
+ [dataTagErrorSymbol]: Error;
202
+ };
203
+ };
204
+ export declare function getProductQueryOptions(client: FetchWithValidationOptions, key: string, options?: {
205
+ include?: ReadonlyArray<"voyages" | "yacht">;
206
+ }): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
207
+ id: string;
208
+ slug: string;
209
+ name: string;
210
+ lineSupplierId: string | null;
211
+ defaultYachtId: string | null;
212
+ description: string | null;
213
+ shortDescription: string | null;
214
+ heroImageUrl: string | null;
215
+ mapImageUrl: string | null;
216
+ regions: string[] | null;
217
+ themes: string[] | null;
218
+ status: "draft" | "awaiting_review" | "live" | "archived";
219
+ defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
220
+ defaultMybaTemplateId: string | null;
221
+ defaultApaPercent: string | null;
222
+ lowestPriceCachedAmount: string | null;
223
+ lowestPriceCachedCurrency: string | null;
224
+ earliestVoyageCached: string | null;
225
+ latestVoyageCached: string | null;
226
+ externalRefs: Record<string, string> | null;
227
+ createdAt: string;
228
+ updatedAt: string;
229
+ voyages?: {
230
+ id: string;
231
+ productId: string;
232
+ yachtId: string;
233
+ voyageCode: string;
234
+ name: string | null;
235
+ embarkPortFacilityId: string | null;
236
+ embarkPortName: string | null;
237
+ disembarkPortFacilityId: string | null;
238
+ disembarkPortName: string | null;
239
+ departureDate: string;
240
+ returnDate: string;
241
+ nights: number;
242
+ bookingModes: ("per_suite" | "whole_yacht")[];
243
+ appointmentOnly: boolean;
244
+ wholeYachtPricesByCurrency: Record<string, string>;
245
+ apaPercentOverride: string | null;
246
+ mybaTemplateIdOverride: string | null;
247
+ charterAreaOverride: string | null;
248
+ salesStatus: "open" | "on_request" | "wait_list" | "sold_out" | "closed";
249
+ availabilityNote: string | null;
250
+ externalRefs: Record<string, string> | null;
251
+ lastSyncedAt: string | null;
252
+ createdAt: string;
253
+ updatedAt: string;
254
+ }[] | undefined;
255
+ yacht?: {
256
+ id: string;
257
+ lineSupplierId: string | null;
258
+ name: string;
259
+ slug: string;
260
+ yachtClass: "luxury_motor" | "luxury_sailing" | "expedition" | "small_cruise";
261
+ capacityGuests: number | null;
262
+ capacityCrew: number | null;
263
+ lengthMeters: string | null;
264
+ yearBuilt: number | null;
265
+ yearRefurbished: number | null;
266
+ imo: string | null;
267
+ description: string | null;
268
+ gallery: string[] | null;
269
+ amenities: Record<string, unknown> | null;
270
+ crewBios: {
271
+ role: string;
272
+ name: string;
273
+ bio?: string | undefined;
274
+ photoUrl?: string | undefined;
275
+ }[] | null;
276
+ defaultCharterAreas: string[] | null;
277
+ externalRefs: Record<string, string> | null;
278
+ isActive: boolean;
279
+ createdAt: string;
280
+ updatedAt: string;
281
+ } | null | undefined;
282
+ } | {
283
+ source: "external";
284
+ sourceProvider: string;
285
+ sourceRef: Record<string, unknown>;
286
+ product: Record<string, unknown>;
287
+ voyages?: unknown[] | undefined;
288
+ yacht?: unknown;
289
+ }, Error, {
290
+ id: string;
291
+ slug: string;
292
+ name: string;
293
+ lineSupplierId: string | null;
294
+ defaultYachtId: string | null;
295
+ description: string | null;
296
+ shortDescription: string | null;
297
+ heroImageUrl: string | null;
298
+ mapImageUrl: string | null;
299
+ regions: string[] | null;
300
+ themes: string[] | null;
301
+ status: "draft" | "awaiting_review" | "live" | "archived";
302
+ defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
303
+ defaultMybaTemplateId: string | null;
304
+ defaultApaPercent: string | null;
305
+ lowestPriceCachedAmount: string | null;
306
+ lowestPriceCachedCurrency: string | null;
307
+ earliestVoyageCached: string | null;
308
+ latestVoyageCached: string | null;
309
+ externalRefs: Record<string, string> | null;
310
+ createdAt: string;
311
+ updatedAt: string;
312
+ voyages?: {
313
+ id: string;
314
+ productId: string;
315
+ yachtId: string;
316
+ voyageCode: string;
317
+ name: string | null;
318
+ embarkPortFacilityId: string | null;
319
+ embarkPortName: string | null;
320
+ disembarkPortFacilityId: string | null;
321
+ disembarkPortName: string | null;
322
+ departureDate: string;
323
+ returnDate: string;
324
+ nights: number;
325
+ bookingModes: ("per_suite" | "whole_yacht")[];
326
+ appointmentOnly: boolean;
327
+ wholeYachtPricesByCurrency: Record<string, string>;
328
+ apaPercentOverride: string | null;
329
+ mybaTemplateIdOverride: string | null;
330
+ charterAreaOverride: string | null;
331
+ salesStatus: "open" | "on_request" | "wait_list" | "sold_out" | "closed";
332
+ availabilityNote: string | null;
333
+ externalRefs: Record<string, string> | null;
334
+ lastSyncedAt: string | null;
335
+ createdAt: string;
336
+ updatedAt: string;
337
+ }[] | undefined;
338
+ yacht?: {
339
+ id: string;
340
+ lineSupplierId: string | null;
341
+ name: string;
342
+ slug: string;
343
+ yachtClass: "luxury_motor" | "luxury_sailing" | "expedition" | "small_cruise";
344
+ capacityGuests: number | null;
345
+ capacityCrew: number | null;
346
+ lengthMeters: string | null;
347
+ yearBuilt: number | null;
348
+ yearRefurbished: number | null;
349
+ imo: string | null;
350
+ description: string | null;
351
+ gallery: string[] | null;
352
+ amenities: Record<string, unknown> | null;
353
+ crewBios: {
354
+ role: string;
355
+ name: string;
356
+ bio?: string | undefined;
357
+ photoUrl?: string | undefined;
358
+ }[] | null;
359
+ defaultCharterAreas: string[] | null;
360
+ externalRefs: Record<string, string> | null;
361
+ isActive: boolean;
362
+ createdAt: string;
363
+ updatedAt: string;
364
+ } | null | undefined;
365
+ } | {
366
+ source: "external";
367
+ sourceProvider: string;
368
+ sourceRef: Record<string, unknown>;
369
+ product: Record<string, unknown>;
370
+ voyages?: unknown[] | undefined;
371
+ yacht?: unknown;
372
+ }, readonly ["voyant", "charters", "products", "detail", string, readonly ("voyages" | "yacht")[]]>, "queryFn"> & {
373
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
374
+ id: string;
375
+ slug: string;
376
+ name: string;
377
+ lineSupplierId: string | null;
378
+ defaultYachtId: string | null;
379
+ description: string | null;
380
+ shortDescription: string | null;
381
+ heroImageUrl: string | null;
382
+ mapImageUrl: string | null;
383
+ regions: string[] | null;
384
+ themes: string[] | null;
385
+ status: "draft" | "awaiting_review" | "live" | "archived";
386
+ defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
387
+ defaultMybaTemplateId: string | null;
388
+ defaultApaPercent: string | null;
389
+ lowestPriceCachedAmount: string | null;
390
+ lowestPriceCachedCurrency: string | null;
391
+ earliestVoyageCached: string | null;
392
+ latestVoyageCached: string | null;
393
+ externalRefs: Record<string, string> | null;
394
+ createdAt: string;
395
+ updatedAt: string;
396
+ voyages?: {
397
+ id: string;
398
+ productId: string;
399
+ yachtId: string;
400
+ voyageCode: string;
401
+ name: string | null;
402
+ embarkPortFacilityId: string | null;
403
+ embarkPortName: string | null;
404
+ disembarkPortFacilityId: string | null;
405
+ disembarkPortName: string | null;
406
+ departureDate: string;
407
+ returnDate: string;
408
+ nights: number;
409
+ bookingModes: ("per_suite" | "whole_yacht")[];
410
+ appointmentOnly: boolean;
411
+ wholeYachtPricesByCurrency: Record<string, string>;
412
+ apaPercentOverride: string | null;
413
+ mybaTemplateIdOverride: string | null;
414
+ charterAreaOverride: string | null;
415
+ salesStatus: "open" | "on_request" | "wait_list" | "sold_out" | "closed";
416
+ availabilityNote: string | null;
417
+ externalRefs: Record<string, string> | null;
418
+ lastSyncedAt: string | null;
419
+ createdAt: string;
420
+ updatedAt: string;
421
+ }[] | undefined;
422
+ yacht?: {
423
+ id: string;
424
+ lineSupplierId: string | null;
425
+ name: string;
426
+ slug: string;
427
+ yachtClass: "luxury_motor" | "luxury_sailing" | "expedition" | "small_cruise";
428
+ capacityGuests: number | null;
429
+ capacityCrew: number | null;
430
+ lengthMeters: string | null;
431
+ yearBuilt: number | null;
432
+ yearRefurbished: number | null;
433
+ imo: string | null;
434
+ description: string | null;
435
+ gallery: string[] | null;
436
+ amenities: Record<string, unknown> | null;
437
+ crewBios: {
438
+ role: string;
439
+ name: string;
440
+ bio?: string | undefined;
441
+ photoUrl?: string | undefined;
442
+ }[] | null;
443
+ defaultCharterAreas: string[] | null;
444
+ externalRefs: Record<string, string> | null;
445
+ isActive: boolean;
446
+ createdAt: string;
447
+ updatedAt: string;
448
+ } | null | undefined;
449
+ } | {
450
+ source: "external";
451
+ sourceProvider: string;
452
+ sourceRef: Record<string, unknown>;
453
+ product: Record<string, unknown>;
454
+ voyages?: unknown[] | undefined;
455
+ yacht?: unknown;
456
+ }, readonly ["voyant", "charters", "products", "detail", string, readonly ("voyages" | "yacht")[]], never> | undefined;
457
+ } & {
458
+ queryKey: readonly ["voyant", "charters", "products", "detail", string, readonly ("voyages" | "yacht")[]] & {
459
+ [dataTagSymbol]: {
460
+ id: string;
461
+ slug: string;
462
+ name: string;
463
+ lineSupplierId: string | null;
464
+ defaultYachtId: string | null;
465
+ description: string | null;
466
+ shortDescription: string | null;
467
+ heroImageUrl: string | null;
468
+ mapImageUrl: string | null;
469
+ regions: string[] | null;
470
+ themes: string[] | null;
471
+ status: "draft" | "awaiting_review" | "live" | "archived";
472
+ defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
473
+ defaultMybaTemplateId: string | null;
474
+ defaultApaPercent: string | null;
475
+ lowestPriceCachedAmount: string | null;
476
+ lowestPriceCachedCurrency: string | null;
477
+ earliestVoyageCached: string | null;
478
+ latestVoyageCached: string | null;
479
+ externalRefs: Record<string, string> | null;
480
+ createdAt: string;
481
+ updatedAt: string;
482
+ voyages?: {
483
+ id: string;
484
+ productId: string;
485
+ yachtId: string;
486
+ voyageCode: string;
487
+ name: string | null;
488
+ embarkPortFacilityId: string | null;
489
+ embarkPortName: string | null;
490
+ disembarkPortFacilityId: string | null;
491
+ disembarkPortName: string | null;
492
+ departureDate: string;
493
+ returnDate: string;
494
+ nights: number;
495
+ bookingModes: ("per_suite" | "whole_yacht")[];
496
+ appointmentOnly: boolean;
497
+ wholeYachtPricesByCurrency: Record<string, string>;
498
+ apaPercentOverride: string | null;
499
+ mybaTemplateIdOverride: string | null;
500
+ charterAreaOverride: string | null;
501
+ salesStatus: "open" | "on_request" | "wait_list" | "sold_out" | "closed";
502
+ availabilityNote: string | null;
503
+ externalRefs: Record<string, string> | null;
504
+ lastSyncedAt: string | null;
505
+ createdAt: string;
506
+ updatedAt: string;
507
+ }[] | undefined;
508
+ yacht?: {
509
+ id: string;
510
+ lineSupplierId: string | null;
511
+ name: string;
512
+ slug: string;
513
+ yachtClass: "luxury_motor" | "luxury_sailing" | "expedition" | "small_cruise";
514
+ capacityGuests: number | null;
515
+ capacityCrew: number | null;
516
+ lengthMeters: string | null;
517
+ yearBuilt: number | null;
518
+ yearRefurbished: number | null;
519
+ imo: string | null;
520
+ description: string | null;
521
+ gallery: string[] | null;
522
+ amenities: Record<string, unknown> | null;
523
+ crewBios: {
524
+ role: string;
525
+ name: string;
526
+ bio?: string | undefined;
527
+ photoUrl?: string | undefined;
528
+ }[] | null;
529
+ defaultCharterAreas: string[] | null;
530
+ externalRefs: Record<string, string> | null;
531
+ isActive: boolean;
532
+ createdAt: string;
533
+ updatedAt: string;
534
+ } | null | undefined;
535
+ } | {
536
+ source: "external";
537
+ sourceProvider: string;
538
+ sourceRef: Record<string, unknown>;
539
+ product: Record<string, unknown>;
540
+ voyages?: unknown[] | undefined;
541
+ yacht?: unknown;
542
+ };
543
+ [dataTagErrorSymbol]: Error;
544
+ };
545
+ };
546
+ export declare function getVoyagesQueryOptions(client: FetchWithValidationOptions, filters?: VoyagesListFilters): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
547
+ data: {
548
+ id: string;
549
+ productId: string;
550
+ yachtId: string;
551
+ voyageCode: string;
552
+ name: string | null;
553
+ embarkPortFacilityId: string | null;
554
+ embarkPortName: string | null;
555
+ disembarkPortFacilityId: string | null;
556
+ disembarkPortName: string | null;
557
+ departureDate: string;
558
+ returnDate: string;
559
+ nights: number;
560
+ bookingModes: ("per_suite" | "whole_yacht")[];
561
+ appointmentOnly: boolean;
562
+ wholeYachtPricesByCurrency: Record<string, string>;
563
+ apaPercentOverride: string | null;
564
+ mybaTemplateIdOverride: string | null;
565
+ charterAreaOverride: string | null;
566
+ salesStatus: "open" | "on_request" | "wait_list" | "sold_out" | "closed";
567
+ availabilityNote: string | null;
568
+ externalRefs: Record<string, string> | null;
569
+ lastSyncedAt: string | null;
570
+ createdAt: string;
571
+ updatedAt: string;
572
+ }[];
573
+ total: number;
574
+ limit: number;
575
+ offset: number;
576
+ }, Error, {
577
+ data: {
578
+ id: string;
579
+ productId: string;
580
+ yachtId: string;
581
+ voyageCode: string;
582
+ name: string | null;
583
+ embarkPortFacilityId: string | null;
584
+ embarkPortName: string | null;
585
+ disembarkPortFacilityId: string | null;
586
+ disembarkPortName: string | null;
587
+ departureDate: string;
588
+ returnDate: string;
589
+ nights: number;
590
+ bookingModes: ("per_suite" | "whole_yacht")[];
591
+ appointmentOnly: boolean;
592
+ wholeYachtPricesByCurrency: Record<string, string>;
593
+ apaPercentOverride: string | null;
594
+ mybaTemplateIdOverride: string | null;
595
+ charterAreaOverride: string | null;
596
+ salesStatus: "open" | "on_request" | "wait_list" | "sold_out" | "closed";
597
+ availabilityNote: string | null;
598
+ externalRefs: Record<string, string> | null;
599
+ lastSyncedAt: string | null;
600
+ createdAt: string;
601
+ updatedAt: string;
602
+ }[];
603
+ total: number;
604
+ limit: number;
605
+ offset: number;
606
+ }, readonly ["voyant", "charters", "voyages", "list", VoyagesListFilters]>, "queryFn"> & {
607
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
608
+ data: {
609
+ id: string;
610
+ productId: string;
611
+ yachtId: string;
612
+ voyageCode: string;
613
+ name: string | null;
614
+ embarkPortFacilityId: string | null;
615
+ embarkPortName: string | null;
616
+ disembarkPortFacilityId: string | null;
617
+ disembarkPortName: string | null;
618
+ departureDate: string;
619
+ returnDate: string;
620
+ nights: number;
621
+ bookingModes: ("per_suite" | "whole_yacht")[];
622
+ appointmentOnly: boolean;
623
+ wholeYachtPricesByCurrency: Record<string, string>;
624
+ apaPercentOverride: string | null;
625
+ mybaTemplateIdOverride: string | null;
626
+ charterAreaOverride: string | null;
627
+ salesStatus: "open" | "on_request" | "wait_list" | "sold_out" | "closed";
628
+ availabilityNote: string | null;
629
+ externalRefs: Record<string, string> | null;
630
+ lastSyncedAt: string | null;
631
+ createdAt: string;
632
+ updatedAt: string;
633
+ }[];
634
+ total: number;
635
+ limit: number;
636
+ offset: number;
637
+ }, readonly ["voyant", "charters", "voyages", "list", VoyagesListFilters], never> | undefined;
638
+ } & {
639
+ queryKey: readonly ["voyant", "charters", "voyages", "list", VoyagesListFilters] & {
640
+ [dataTagSymbol]: {
641
+ data: {
642
+ id: string;
643
+ productId: string;
644
+ yachtId: string;
645
+ voyageCode: string;
646
+ name: string | null;
647
+ embarkPortFacilityId: string | null;
648
+ embarkPortName: string | null;
649
+ disembarkPortFacilityId: string | null;
650
+ disembarkPortName: string | null;
651
+ departureDate: string;
652
+ returnDate: string;
653
+ nights: number;
654
+ bookingModes: ("per_suite" | "whole_yacht")[];
655
+ appointmentOnly: boolean;
656
+ wholeYachtPricesByCurrency: Record<string, string>;
657
+ apaPercentOverride: string | null;
658
+ mybaTemplateIdOverride: string | null;
659
+ charterAreaOverride: string | null;
660
+ salesStatus: "open" | "on_request" | "wait_list" | "sold_out" | "closed";
661
+ availabilityNote: string | null;
662
+ externalRefs: Record<string, string> | null;
663
+ lastSyncedAt: string | null;
664
+ createdAt: string;
665
+ updatedAt: string;
666
+ }[];
667
+ total: number;
668
+ limit: number;
669
+ offset: number;
670
+ };
671
+ [dataTagErrorSymbol]: Error;
672
+ };
673
+ };
674
+ export declare function getVoyageQueryOptions(client: FetchWithValidationOptions, key: string, options?: {
675
+ include?: ReadonlyArray<"suites" | "schedule">;
676
+ }): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
677
+ id: string;
678
+ productId: string;
679
+ yachtId: string;
680
+ voyageCode: string;
681
+ name: string | null;
682
+ embarkPortFacilityId: string | null;
683
+ embarkPortName: string | null;
684
+ disembarkPortFacilityId: string | null;
685
+ disembarkPortName: string | null;
686
+ departureDate: string;
687
+ returnDate: string;
688
+ nights: number;
689
+ bookingModes: ("per_suite" | "whole_yacht")[];
690
+ appointmentOnly: boolean;
691
+ wholeYachtPricesByCurrency: Record<string, string>;
692
+ apaPercentOverride: string | null;
693
+ mybaTemplateIdOverride: string | null;
694
+ charterAreaOverride: string | null;
695
+ salesStatus: "open" | "on_request" | "wait_list" | "sold_out" | "closed";
696
+ availabilityNote: string | null;
697
+ externalRefs: Record<string, string> | null;
698
+ lastSyncedAt: string | null;
699
+ createdAt: string;
700
+ updatedAt: string;
701
+ suites?: {
702
+ id: string;
703
+ voyageId: string;
704
+ suiteCode: string;
705
+ suiteName: string;
706
+ suiteCategory: "standard" | "deluxe" | "suite" | "penthouse" | "owners" | "signature" | null;
707
+ description: string | null;
708
+ squareFeet: string | null;
709
+ images: string[] | null;
710
+ floorplanImages: string[] | null;
711
+ maxGuests: number | null;
712
+ pricesByCurrency: Record<string, string>;
713
+ portFeesByCurrency: Record<string, string>;
714
+ availability: "on_request" | "wait_list" | "sold_out" | "available" | "limited";
715
+ unitsAvailable: number | null;
716
+ appointmentOnly: boolean;
717
+ notes: string | null;
718
+ extra: Record<string, unknown> | null;
719
+ externalRefs: Record<string, string> | null;
720
+ lastSyncedAt: string | null;
721
+ createdAt: string;
722
+ updatedAt: string;
723
+ }[] | undefined;
724
+ schedule?: {
725
+ id: string;
726
+ voyageId: string;
727
+ dayNumber: number;
728
+ portFacilityId: string | null;
729
+ portName: string | null;
730
+ scheduleDate: string | null;
731
+ arrivalTime: string | null;
732
+ departureTime: string | null;
733
+ isSeaDay: boolean;
734
+ description: string | null;
735
+ activities: string[] | null;
736
+ createdAt: string;
737
+ updatedAt: string;
738
+ }[] | undefined;
739
+ } | {
740
+ source: "external";
741
+ sourceProvider: string;
742
+ sourceRef: Record<string, unknown>;
743
+ voyage: Record<string, unknown>;
744
+ suites?: unknown[] | undefined;
745
+ schedule?: unknown[] | undefined;
746
+ }, Error, {
747
+ id: string;
748
+ productId: string;
749
+ yachtId: string;
750
+ voyageCode: string;
751
+ name: string | null;
752
+ embarkPortFacilityId: string | null;
753
+ embarkPortName: string | null;
754
+ disembarkPortFacilityId: string | null;
755
+ disembarkPortName: string | null;
756
+ departureDate: string;
757
+ returnDate: string;
758
+ nights: number;
759
+ bookingModes: ("per_suite" | "whole_yacht")[];
760
+ appointmentOnly: boolean;
761
+ wholeYachtPricesByCurrency: Record<string, string>;
762
+ apaPercentOverride: string | null;
763
+ mybaTemplateIdOverride: string | null;
764
+ charterAreaOverride: string | null;
765
+ salesStatus: "open" | "on_request" | "wait_list" | "sold_out" | "closed";
766
+ availabilityNote: string | null;
767
+ externalRefs: Record<string, string> | null;
768
+ lastSyncedAt: string | null;
769
+ createdAt: string;
770
+ updatedAt: string;
771
+ suites?: {
772
+ id: string;
773
+ voyageId: string;
774
+ suiteCode: string;
775
+ suiteName: string;
776
+ suiteCategory: "standard" | "deluxe" | "suite" | "penthouse" | "owners" | "signature" | null;
777
+ description: string | null;
778
+ squareFeet: string | null;
779
+ images: string[] | null;
780
+ floorplanImages: string[] | null;
781
+ maxGuests: number | null;
782
+ pricesByCurrency: Record<string, string>;
783
+ portFeesByCurrency: Record<string, string>;
784
+ availability: "on_request" | "wait_list" | "sold_out" | "available" | "limited";
785
+ unitsAvailable: number | null;
786
+ appointmentOnly: boolean;
787
+ notes: string | null;
788
+ extra: Record<string, unknown> | null;
789
+ externalRefs: Record<string, string> | null;
790
+ lastSyncedAt: string | null;
791
+ createdAt: string;
792
+ updatedAt: string;
793
+ }[] | undefined;
794
+ schedule?: {
795
+ id: string;
796
+ voyageId: string;
797
+ dayNumber: number;
798
+ portFacilityId: string | null;
799
+ portName: string | null;
800
+ scheduleDate: string | null;
801
+ arrivalTime: string | null;
802
+ departureTime: string | null;
803
+ isSeaDay: boolean;
804
+ description: string | null;
805
+ activities: string[] | null;
806
+ createdAt: string;
807
+ updatedAt: string;
808
+ }[] | undefined;
809
+ } | {
810
+ source: "external";
811
+ sourceProvider: string;
812
+ sourceRef: Record<string, unknown>;
813
+ voyage: Record<string, unknown>;
814
+ suites?: unknown[] | undefined;
815
+ schedule?: unknown[] | undefined;
816
+ }, readonly ["voyant", "charters", "voyages", "detail", string, readonly ("suites" | "schedule")[]]>, "queryFn"> & {
817
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
818
+ id: string;
819
+ productId: string;
820
+ yachtId: string;
821
+ voyageCode: string;
822
+ name: string | null;
823
+ embarkPortFacilityId: string | null;
824
+ embarkPortName: string | null;
825
+ disembarkPortFacilityId: string | null;
826
+ disembarkPortName: string | null;
827
+ departureDate: string;
828
+ returnDate: string;
829
+ nights: number;
830
+ bookingModes: ("per_suite" | "whole_yacht")[];
831
+ appointmentOnly: boolean;
832
+ wholeYachtPricesByCurrency: Record<string, string>;
833
+ apaPercentOverride: string | null;
834
+ mybaTemplateIdOverride: string | null;
835
+ charterAreaOverride: string | null;
836
+ salesStatus: "open" | "on_request" | "wait_list" | "sold_out" | "closed";
837
+ availabilityNote: string | null;
838
+ externalRefs: Record<string, string> | null;
839
+ lastSyncedAt: string | null;
840
+ createdAt: string;
841
+ updatedAt: string;
842
+ suites?: {
843
+ id: string;
844
+ voyageId: string;
845
+ suiteCode: string;
846
+ suiteName: string;
847
+ suiteCategory: "standard" | "deluxe" | "suite" | "penthouse" | "owners" | "signature" | null;
848
+ description: string | null;
849
+ squareFeet: string | null;
850
+ images: string[] | null;
851
+ floorplanImages: string[] | null;
852
+ maxGuests: number | null;
853
+ pricesByCurrency: Record<string, string>;
854
+ portFeesByCurrency: Record<string, string>;
855
+ availability: "on_request" | "wait_list" | "sold_out" | "available" | "limited";
856
+ unitsAvailable: number | null;
857
+ appointmentOnly: boolean;
858
+ notes: string | null;
859
+ extra: Record<string, unknown> | null;
860
+ externalRefs: Record<string, string> | null;
861
+ lastSyncedAt: string | null;
862
+ createdAt: string;
863
+ updatedAt: string;
864
+ }[] | undefined;
865
+ schedule?: {
866
+ id: string;
867
+ voyageId: string;
868
+ dayNumber: number;
869
+ portFacilityId: string | null;
870
+ portName: string | null;
871
+ scheduleDate: string | null;
872
+ arrivalTime: string | null;
873
+ departureTime: string | null;
874
+ isSeaDay: boolean;
875
+ description: string | null;
876
+ activities: string[] | null;
877
+ createdAt: string;
878
+ updatedAt: string;
879
+ }[] | undefined;
880
+ } | {
881
+ source: "external";
882
+ sourceProvider: string;
883
+ sourceRef: Record<string, unknown>;
884
+ voyage: Record<string, unknown>;
885
+ suites?: unknown[] | undefined;
886
+ schedule?: unknown[] | undefined;
887
+ }, readonly ["voyant", "charters", "voyages", "detail", string, readonly ("suites" | "schedule")[]], never> | undefined;
888
+ } & {
889
+ queryKey: readonly ["voyant", "charters", "voyages", "detail", string, readonly ("suites" | "schedule")[]] & {
890
+ [dataTagSymbol]: {
891
+ id: string;
892
+ productId: string;
893
+ yachtId: string;
894
+ voyageCode: string;
895
+ name: string | null;
896
+ embarkPortFacilityId: string | null;
897
+ embarkPortName: string | null;
898
+ disembarkPortFacilityId: string | null;
899
+ disembarkPortName: string | null;
900
+ departureDate: string;
901
+ returnDate: string;
902
+ nights: number;
903
+ bookingModes: ("per_suite" | "whole_yacht")[];
904
+ appointmentOnly: boolean;
905
+ wholeYachtPricesByCurrency: Record<string, string>;
906
+ apaPercentOverride: string | null;
907
+ mybaTemplateIdOverride: string | null;
908
+ charterAreaOverride: string | null;
909
+ salesStatus: "open" | "on_request" | "wait_list" | "sold_out" | "closed";
910
+ availabilityNote: string | null;
911
+ externalRefs: Record<string, string> | null;
912
+ lastSyncedAt: string | null;
913
+ createdAt: string;
914
+ updatedAt: string;
915
+ suites?: {
916
+ id: string;
917
+ voyageId: string;
918
+ suiteCode: string;
919
+ suiteName: string;
920
+ suiteCategory: "standard" | "deluxe" | "suite" | "penthouse" | "owners" | "signature" | null;
921
+ description: string | null;
922
+ squareFeet: string | null;
923
+ images: string[] | null;
924
+ floorplanImages: string[] | null;
925
+ maxGuests: number | null;
926
+ pricesByCurrency: Record<string, string>;
927
+ portFeesByCurrency: Record<string, string>;
928
+ availability: "on_request" | "wait_list" | "sold_out" | "available" | "limited";
929
+ unitsAvailable: number | null;
930
+ appointmentOnly: boolean;
931
+ notes: string | null;
932
+ extra: Record<string, unknown> | null;
933
+ externalRefs: Record<string, string> | null;
934
+ lastSyncedAt: string | null;
935
+ createdAt: string;
936
+ updatedAt: string;
937
+ }[] | undefined;
938
+ schedule?: {
939
+ id: string;
940
+ voyageId: string;
941
+ dayNumber: number;
942
+ portFacilityId: string | null;
943
+ portName: string | null;
944
+ scheduleDate: string | null;
945
+ arrivalTime: string | null;
946
+ departureTime: string | null;
947
+ isSeaDay: boolean;
948
+ description: string | null;
949
+ activities: string[] | null;
950
+ createdAt: string;
951
+ updatedAt: string;
952
+ }[] | undefined;
953
+ } | {
954
+ source: "external";
955
+ sourceProvider: string;
956
+ sourceRef: Record<string, unknown>;
957
+ voyage: Record<string, unknown>;
958
+ suites?: unknown[] | undefined;
959
+ schedule?: unknown[] | undefined;
960
+ };
961
+ [dataTagErrorSymbol]: Error;
962
+ };
963
+ };
964
+ export declare function getYachtsQueryOptions(client: FetchWithValidationOptions, filters?: YachtsListFilters): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
965
+ data: {
966
+ id: string;
967
+ lineSupplierId: string | null;
968
+ name: string;
969
+ slug: string;
970
+ yachtClass: "luxury_motor" | "luxury_sailing" | "expedition" | "small_cruise";
971
+ capacityGuests: number | null;
972
+ capacityCrew: number | null;
973
+ lengthMeters: string | null;
974
+ yearBuilt: number | null;
975
+ yearRefurbished: number | null;
976
+ imo: string | null;
977
+ description: string | null;
978
+ gallery: string[] | null;
979
+ amenities: Record<string, unknown> | null;
980
+ crewBios: {
981
+ role: string;
982
+ name: string;
983
+ bio?: string | undefined;
984
+ photoUrl?: string | undefined;
985
+ }[] | null;
986
+ defaultCharterAreas: string[] | null;
987
+ externalRefs: Record<string, string> | null;
988
+ isActive: boolean;
989
+ createdAt: string;
990
+ updatedAt: string;
991
+ }[];
992
+ total: number;
993
+ limit: number;
994
+ offset: number;
995
+ }, Error, {
996
+ data: {
997
+ id: string;
998
+ lineSupplierId: string | null;
999
+ name: string;
1000
+ slug: string;
1001
+ yachtClass: "luxury_motor" | "luxury_sailing" | "expedition" | "small_cruise";
1002
+ capacityGuests: number | null;
1003
+ capacityCrew: number | null;
1004
+ lengthMeters: string | null;
1005
+ yearBuilt: number | null;
1006
+ yearRefurbished: number | null;
1007
+ imo: string | null;
1008
+ description: string | null;
1009
+ gallery: string[] | null;
1010
+ amenities: Record<string, unknown> | null;
1011
+ crewBios: {
1012
+ role: string;
1013
+ name: string;
1014
+ bio?: string | undefined;
1015
+ photoUrl?: string | undefined;
1016
+ }[] | null;
1017
+ defaultCharterAreas: string[] | null;
1018
+ externalRefs: Record<string, string> | null;
1019
+ isActive: boolean;
1020
+ createdAt: string;
1021
+ updatedAt: string;
1022
+ }[];
1023
+ total: number;
1024
+ limit: number;
1025
+ offset: number;
1026
+ }, readonly ["voyant", "charters", "yachts", "list", YachtsListFilters]>, "queryFn"> & {
1027
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1028
+ data: {
1029
+ id: string;
1030
+ lineSupplierId: string | null;
1031
+ name: string;
1032
+ slug: string;
1033
+ yachtClass: "luxury_motor" | "luxury_sailing" | "expedition" | "small_cruise";
1034
+ capacityGuests: number | null;
1035
+ capacityCrew: number | null;
1036
+ lengthMeters: string | null;
1037
+ yearBuilt: number | null;
1038
+ yearRefurbished: number | null;
1039
+ imo: string | null;
1040
+ description: string | null;
1041
+ gallery: string[] | null;
1042
+ amenities: Record<string, unknown> | null;
1043
+ crewBios: {
1044
+ role: string;
1045
+ name: string;
1046
+ bio?: string | undefined;
1047
+ photoUrl?: string | undefined;
1048
+ }[] | null;
1049
+ defaultCharterAreas: string[] | null;
1050
+ externalRefs: Record<string, string> | null;
1051
+ isActive: boolean;
1052
+ createdAt: string;
1053
+ updatedAt: string;
1054
+ }[];
1055
+ total: number;
1056
+ limit: number;
1057
+ offset: number;
1058
+ }, readonly ["voyant", "charters", "yachts", "list", YachtsListFilters], never> | undefined;
1059
+ } & {
1060
+ queryKey: readonly ["voyant", "charters", "yachts", "list", YachtsListFilters] & {
1061
+ [dataTagSymbol]: {
1062
+ data: {
1063
+ id: string;
1064
+ lineSupplierId: string | null;
1065
+ name: string;
1066
+ slug: string;
1067
+ yachtClass: "luxury_motor" | "luxury_sailing" | "expedition" | "small_cruise";
1068
+ capacityGuests: number | null;
1069
+ capacityCrew: number | null;
1070
+ lengthMeters: string | null;
1071
+ yearBuilt: number | null;
1072
+ yearRefurbished: number | null;
1073
+ imo: string | null;
1074
+ description: string | null;
1075
+ gallery: string[] | null;
1076
+ amenities: Record<string, unknown> | null;
1077
+ crewBios: {
1078
+ role: string;
1079
+ name: string;
1080
+ bio?: string | undefined;
1081
+ photoUrl?: string | undefined;
1082
+ }[] | null;
1083
+ defaultCharterAreas: string[] | null;
1084
+ externalRefs: Record<string, string> | null;
1085
+ isActive: boolean;
1086
+ createdAt: string;
1087
+ updatedAt: string;
1088
+ }[];
1089
+ total: number;
1090
+ limit: number;
1091
+ offset: number;
1092
+ };
1093
+ [dataTagErrorSymbol]: Error;
1094
+ };
1095
+ };
1096
+ export declare function getYachtQueryOptions(client: FetchWithValidationOptions, key: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1097
+ id: string;
1098
+ lineSupplierId: string | null;
1099
+ name: string;
1100
+ slug: string;
1101
+ yachtClass: "luxury_motor" | "luxury_sailing" | "expedition" | "small_cruise";
1102
+ capacityGuests: number | null;
1103
+ capacityCrew: number | null;
1104
+ lengthMeters: string | null;
1105
+ yearBuilt: number | null;
1106
+ yearRefurbished: number | null;
1107
+ imo: string | null;
1108
+ description: string | null;
1109
+ gallery: string[] | null;
1110
+ amenities: Record<string, unknown> | null;
1111
+ crewBios: {
1112
+ role: string;
1113
+ name: string;
1114
+ bio?: string | undefined;
1115
+ photoUrl?: string | undefined;
1116
+ }[] | null;
1117
+ defaultCharterAreas: string[] | null;
1118
+ externalRefs: Record<string, string> | null;
1119
+ isActive: boolean;
1120
+ createdAt: string;
1121
+ updatedAt: string;
1122
+ } | {
1123
+ source: "external";
1124
+ sourceProvider: string;
1125
+ sourceRef: Record<string, unknown>;
1126
+ yacht: Record<string, unknown>;
1127
+ }, Error, {
1128
+ id: string;
1129
+ lineSupplierId: string | null;
1130
+ name: string;
1131
+ slug: string;
1132
+ yachtClass: "luxury_motor" | "luxury_sailing" | "expedition" | "small_cruise";
1133
+ capacityGuests: number | null;
1134
+ capacityCrew: number | null;
1135
+ lengthMeters: string | null;
1136
+ yearBuilt: number | null;
1137
+ yearRefurbished: number | null;
1138
+ imo: string | null;
1139
+ description: string | null;
1140
+ gallery: string[] | null;
1141
+ amenities: Record<string, unknown> | null;
1142
+ crewBios: {
1143
+ role: string;
1144
+ name: string;
1145
+ bio?: string | undefined;
1146
+ photoUrl?: string | undefined;
1147
+ }[] | null;
1148
+ defaultCharterAreas: string[] | null;
1149
+ externalRefs: Record<string, string> | null;
1150
+ isActive: boolean;
1151
+ createdAt: string;
1152
+ updatedAt: string;
1153
+ } | {
1154
+ source: "external";
1155
+ sourceProvider: string;
1156
+ sourceRef: Record<string, unknown>;
1157
+ yacht: Record<string, unknown>;
1158
+ }, readonly ["voyant", "charters", "yachts", "detail", string]>, "queryFn"> & {
1159
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1160
+ id: string;
1161
+ lineSupplierId: string | null;
1162
+ name: string;
1163
+ slug: string;
1164
+ yachtClass: "luxury_motor" | "luxury_sailing" | "expedition" | "small_cruise";
1165
+ capacityGuests: number | null;
1166
+ capacityCrew: number | null;
1167
+ lengthMeters: string | null;
1168
+ yearBuilt: number | null;
1169
+ yearRefurbished: number | null;
1170
+ imo: string | null;
1171
+ description: string | null;
1172
+ gallery: string[] | null;
1173
+ amenities: Record<string, unknown> | null;
1174
+ crewBios: {
1175
+ role: string;
1176
+ name: string;
1177
+ bio?: string | undefined;
1178
+ photoUrl?: string | undefined;
1179
+ }[] | null;
1180
+ defaultCharterAreas: string[] | null;
1181
+ externalRefs: Record<string, string> | null;
1182
+ isActive: boolean;
1183
+ createdAt: string;
1184
+ updatedAt: string;
1185
+ } | {
1186
+ source: "external";
1187
+ sourceProvider: string;
1188
+ sourceRef: Record<string, unknown>;
1189
+ yacht: Record<string, unknown>;
1190
+ }, readonly ["voyant", "charters", "yachts", "detail", string], never> | undefined;
1191
+ } & {
1192
+ queryKey: readonly ["voyant", "charters", "yachts", "detail", string] & {
1193
+ [dataTagSymbol]: {
1194
+ id: string;
1195
+ lineSupplierId: string | null;
1196
+ name: string;
1197
+ slug: string;
1198
+ yachtClass: "luxury_motor" | "luxury_sailing" | "expedition" | "small_cruise";
1199
+ capacityGuests: number | null;
1200
+ capacityCrew: number | null;
1201
+ lengthMeters: string | null;
1202
+ yearBuilt: number | null;
1203
+ yearRefurbished: number | null;
1204
+ imo: string | null;
1205
+ description: string | null;
1206
+ gallery: string[] | null;
1207
+ amenities: Record<string, unknown> | null;
1208
+ crewBios: {
1209
+ role: string;
1210
+ name: string;
1211
+ bio?: string | undefined;
1212
+ photoUrl?: string | undefined;
1213
+ }[] | null;
1214
+ defaultCharterAreas: string[] | null;
1215
+ externalRefs: Record<string, string> | null;
1216
+ isActive: boolean;
1217
+ createdAt: string;
1218
+ updatedAt: string;
1219
+ } | {
1220
+ source: "external";
1221
+ sourceProvider: string;
1222
+ sourceRef: Record<string, unknown>;
1223
+ yacht: Record<string, unknown>;
1224
+ };
1225
+ [dataTagErrorSymbol]: Error;
1226
+ };
1227
+ };
1228
+ export declare function getPublicProductsQueryOptions(client: FetchWithValidationOptions, filters?: PublicProductsListFilters): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1229
+ data: {
1230
+ id: string;
1231
+ slug: string;
1232
+ name: string;
1233
+ lineSupplierId: string | null;
1234
+ defaultYachtId: string | null;
1235
+ description: string | null;
1236
+ shortDescription: string | null;
1237
+ heroImageUrl: string | null;
1238
+ mapImageUrl: string | null;
1239
+ regions: string[] | null;
1240
+ themes: string[] | null;
1241
+ status: "draft" | "awaiting_review" | "live" | "archived";
1242
+ defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
1243
+ defaultMybaTemplateId: string | null;
1244
+ defaultApaPercent: string | null;
1245
+ lowestPriceCachedAmount: string | null;
1246
+ lowestPriceCachedCurrency: string | null;
1247
+ earliestVoyageCached: string | null;
1248
+ latestVoyageCached: string | null;
1249
+ externalRefs: Record<string, string> | null;
1250
+ createdAt: string;
1251
+ updatedAt: string;
1252
+ }[];
1253
+ total: number;
1254
+ limit: number;
1255
+ offset: number;
1256
+ }, Error, {
1257
+ data: {
1258
+ id: string;
1259
+ slug: string;
1260
+ name: string;
1261
+ lineSupplierId: string | null;
1262
+ defaultYachtId: string | null;
1263
+ description: string | null;
1264
+ shortDescription: string | null;
1265
+ heroImageUrl: string | null;
1266
+ mapImageUrl: string | null;
1267
+ regions: string[] | null;
1268
+ themes: string[] | null;
1269
+ status: "draft" | "awaiting_review" | "live" | "archived";
1270
+ defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
1271
+ defaultMybaTemplateId: string | null;
1272
+ defaultApaPercent: string | null;
1273
+ lowestPriceCachedAmount: string | null;
1274
+ lowestPriceCachedCurrency: string | null;
1275
+ earliestVoyageCached: string | null;
1276
+ latestVoyageCached: string | null;
1277
+ externalRefs: Record<string, string> | null;
1278
+ createdAt: string;
1279
+ updatedAt: string;
1280
+ }[];
1281
+ total: number;
1282
+ limit: number;
1283
+ offset: number;
1284
+ }, readonly ["voyant", "charters", "public", "products", "list", PublicProductsListFilters]>, "queryFn"> & {
1285
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1286
+ data: {
1287
+ id: string;
1288
+ slug: string;
1289
+ name: string;
1290
+ lineSupplierId: string | null;
1291
+ defaultYachtId: string | null;
1292
+ description: string | null;
1293
+ shortDescription: string | null;
1294
+ heroImageUrl: string | null;
1295
+ mapImageUrl: string | null;
1296
+ regions: string[] | null;
1297
+ themes: string[] | null;
1298
+ status: "draft" | "awaiting_review" | "live" | "archived";
1299
+ defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
1300
+ defaultMybaTemplateId: string | null;
1301
+ defaultApaPercent: string | null;
1302
+ lowestPriceCachedAmount: string | null;
1303
+ lowestPriceCachedCurrency: string | null;
1304
+ earliestVoyageCached: string | null;
1305
+ latestVoyageCached: string | null;
1306
+ externalRefs: Record<string, string> | null;
1307
+ createdAt: string;
1308
+ updatedAt: string;
1309
+ }[];
1310
+ total: number;
1311
+ limit: number;
1312
+ offset: number;
1313
+ }, readonly ["voyant", "charters", "public", "products", "list", PublicProductsListFilters], never> | undefined;
1314
+ } & {
1315
+ queryKey: readonly ["voyant", "charters", "public", "products", "list", PublicProductsListFilters] & {
1316
+ [dataTagSymbol]: {
1317
+ data: {
1318
+ id: string;
1319
+ slug: string;
1320
+ name: string;
1321
+ lineSupplierId: string | null;
1322
+ defaultYachtId: string | null;
1323
+ description: string | null;
1324
+ shortDescription: string | null;
1325
+ heroImageUrl: string | null;
1326
+ mapImageUrl: string | null;
1327
+ regions: string[] | null;
1328
+ themes: string[] | null;
1329
+ status: "draft" | "awaiting_review" | "live" | "archived";
1330
+ defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
1331
+ defaultMybaTemplateId: string | null;
1332
+ defaultApaPercent: string | null;
1333
+ lowestPriceCachedAmount: string | null;
1334
+ lowestPriceCachedCurrency: string | null;
1335
+ earliestVoyageCached: string | null;
1336
+ latestVoyageCached: string | null;
1337
+ externalRefs: Record<string, string> | null;
1338
+ createdAt: string;
1339
+ updatedAt: string;
1340
+ }[];
1341
+ total: number;
1342
+ limit: number;
1343
+ offset: number;
1344
+ };
1345
+ [dataTagErrorSymbol]: Error;
1346
+ };
1347
+ };
1348
+ export declare function getPublicProductQueryOptions(client: FetchWithValidationOptions, key: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1349
+ id: string;
1350
+ slug: string;
1351
+ name: string;
1352
+ lineSupplierId: string | null;
1353
+ defaultYachtId: string | null;
1354
+ description: string | null;
1355
+ shortDescription: string | null;
1356
+ heroImageUrl: string | null;
1357
+ mapImageUrl: string | null;
1358
+ regions: string[] | null;
1359
+ themes: string[] | null;
1360
+ status: "draft" | "awaiting_review" | "live" | "archived";
1361
+ defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
1362
+ defaultMybaTemplateId: string | null;
1363
+ defaultApaPercent: string | null;
1364
+ lowestPriceCachedAmount: string | null;
1365
+ lowestPriceCachedCurrency: string | null;
1366
+ earliestVoyageCached: string | null;
1367
+ latestVoyageCached: string | null;
1368
+ externalRefs: Record<string, string> | null;
1369
+ createdAt: string;
1370
+ updatedAt: string;
1371
+ voyages?: {
1372
+ id: string;
1373
+ productId: string;
1374
+ yachtId: string;
1375
+ voyageCode: string;
1376
+ name: string | null;
1377
+ embarkPortFacilityId: string | null;
1378
+ embarkPortName: string | null;
1379
+ disembarkPortFacilityId: string | null;
1380
+ disembarkPortName: string | null;
1381
+ departureDate: string;
1382
+ returnDate: string;
1383
+ nights: number;
1384
+ bookingModes: ("per_suite" | "whole_yacht")[];
1385
+ appointmentOnly: boolean;
1386
+ wholeYachtPricesByCurrency: Record<string, string>;
1387
+ apaPercentOverride: string | null;
1388
+ mybaTemplateIdOverride: string | null;
1389
+ charterAreaOverride: string | null;
1390
+ salesStatus: "open" | "on_request" | "wait_list" | "sold_out" | "closed";
1391
+ availabilityNote: string | null;
1392
+ externalRefs: Record<string, string> | null;
1393
+ lastSyncedAt: string | null;
1394
+ createdAt: string;
1395
+ updatedAt: string;
1396
+ }[] | undefined;
1397
+ yacht?: {
1398
+ id: string;
1399
+ lineSupplierId: string | null;
1400
+ name: string;
1401
+ slug: string;
1402
+ yachtClass: "luxury_motor" | "luxury_sailing" | "expedition" | "small_cruise";
1403
+ capacityGuests: number | null;
1404
+ capacityCrew: number | null;
1405
+ lengthMeters: string | null;
1406
+ yearBuilt: number | null;
1407
+ yearRefurbished: number | null;
1408
+ imo: string | null;
1409
+ description: string | null;
1410
+ gallery: string[] | null;
1411
+ amenities: Record<string, unknown> | null;
1412
+ crewBios: {
1413
+ role: string;
1414
+ name: string;
1415
+ bio?: string | undefined;
1416
+ photoUrl?: string | undefined;
1417
+ }[] | null;
1418
+ defaultCharterAreas: string[] | null;
1419
+ externalRefs: Record<string, string> | null;
1420
+ isActive: boolean;
1421
+ createdAt: string;
1422
+ updatedAt: string;
1423
+ } | null | undefined;
1424
+ } | {
1425
+ source: "external";
1426
+ sourceProvider: string;
1427
+ sourceRef: Record<string, unknown>;
1428
+ product: Record<string, unknown>;
1429
+ voyages?: unknown[] | undefined;
1430
+ yacht?: unknown;
1431
+ }, Error, {
1432
+ id: string;
1433
+ slug: string;
1434
+ name: string;
1435
+ lineSupplierId: string | null;
1436
+ defaultYachtId: string | null;
1437
+ description: string | null;
1438
+ shortDescription: string | null;
1439
+ heroImageUrl: string | null;
1440
+ mapImageUrl: string | null;
1441
+ regions: string[] | null;
1442
+ themes: string[] | null;
1443
+ status: "draft" | "awaiting_review" | "live" | "archived";
1444
+ defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
1445
+ defaultMybaTemplateId: string | null;
1446
+ defaultApaPercent: string | null;
1447
+ lowestPriceCachedAmount: string | null;
1448
+ lowestPriceCachedCurrency: string | null;
1449
+ earliestVoyageCached: string | null;
1450
+ latestVoyageCached: string | null;
1451
+ externalRefs: Record<string, string> | null;
1452
+ createdAt: string;
1453
+ updatedAt: string;
1454
+ voyages?: {
1455
+ id: string;
1456
+ productId: string;
1457
+ yachtId: string;
1458
+ voyageCode: string;
1459
+ name: string | null;
1460
+ embarkPortFacilityId: string | null;
1461
+ embarkPortName: string | null;
1462
+ disembarkPortFacilityId: string | null;
1463
+ disembarkPortName: string | null;
1464
+ departureDate: string;
1465
+ returnDate: string;
1466
+ nights: number;
1467
+ bookingModes: ("per_suite" | "whole_yacht")[];
1468
+ appointmentOnly: boolean;
1469
+ wholeYachtPricesByCurrency: Record<string, string>;
1470
+ apaPercentOverride: string | null;
1471
+ mybaTemplateIdOverride: string | null;
1472
+ charterAreaOverride: string | null;
1473
+ salesStatus: "open" | "on_request" | "wait_list" | "sold_out" | "closed";
1474
+ availabilityNote: string | null;
1475
+ externalRefs: Record<string, string> | null;
1476
+ lastSyncedAt: string | null;
1477
+ createdAt: string;
1478
+ updatedAt: string;
1479
+ }[] | undefined;
1480
+ yacht?: {
1481
+ id: string;
1482
+ lineSupplierId: string | null;
1483
+ name: string;
1484
+ slug: string;
1485
+ yachtClass: "luxury_motor" | "luxury_sailing" | "expedition" | "small_cruise";
1486
+ capacityGuests: number | null;
1487
+ capacityCrew: number | null;
1488
+ lengthMeters: string | null;
1489
+ yearBuilt: number | null;
1490
+ yearRefurbished: number | null;
1491
+ imo: string | null;
1492
+ description: string | null;
1493
+ gallery: string[] | null;
1494
+ amenities: Record<string, unknown> | null;
1495
+ crewBios: {
1496
+ role: string;
1497
+ name: string;
1498
+ bio?: string | undefined;
1499
+ photoUrl?: string | undefined;
1500
+ }[] | null;
1501
+ defaultCharterAreas: string[] | null;
1502
+ externalRefs: Record<string, string> | null;
1503
+ isActive: boolean;
1504
+ createdAt: string;
1505
+ updatedAt: string;
1506
+ } | null | undefined;
1507
+ } | {
1508
+ source: "external";
1509
+ sourceProvider: string;
1510
+ sourceRef: Record<string, unknown>;
1511
+ product: Record<string, unknown>;
1512
+ voyages?: unknown[] | undefined;
1513
+ yacht?: unknown;
1514
+ }, readonly ["voyant", "charters", "public", "products", "detail", string]>, "queryFn"> & {
1515
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1516
+ id: string;
1517
+ slug: string;
1518
+ name: string;
1519
+ lineSupplierId: string | null;
1520
+ defaultYachtId: string | null;
1521
+ description: string | null;
1522
+ shortDescription: string | null;
1523
+ heroImageUrl: string | null;
1524
+ mapImageUrl: string | null;
1525
+ regions: string[] | null;
1526
+ themes: string[] | null;
1527
+ status: "draft" | "awaiting_review" | "live" | "archived";
1528
+ defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
1529
+ defaultMybaTemplateId: string | null;
1530
+ defaultApaPercent: string | null;
1531
+ lowestPriceCachedAmount: string | null;
1532
+ lowestPriceCachedCurrency: string | null;
1533
+ earliestVoyageCached: string | null;
1534
+ latestVoyageCached: string | null;
1535
+ externalRefs: Record<string, string> | null;
1536
+ createdAt: string;
1537
+ updatedAt: string;
1538
+ voyages?: {
1539
+ id: string;
1540
+ productId: string;
1541
+ yachtId: string;
1542
+ voyageCode: string;
1543
+ name: string | null;
1544
+ embarkPortFacilityId: string | null;
1545
+ embarkPortName: string | null;
1546
+ disembarkPortFacilityId: string | null;
1547
+ disembarkPortName: string | null;
1548
+ departureDate: string;
1549
+ returnDate: string;
1550
+ nights: number;
1551
+ bookingModes: ("per_suite" | "whole_yacht")[];
1552
+ appointmentOnly: boolean;
1553
+ wholeYachtPricesByCurrency: Record<string, string>;
1554
+ apaPercentOverride: string | null;
1555
+ mybaTemplateIdOverride: string | null;
1556
+ charterAreaOverride: string | null;
1557
+ salesStatus: "open" | "on_request" | "wait_list" | "sold_out" | "closed";
1558
+ availabilityNote: string | null;
1559
+ externalRefs: Record<string, string> | null;
1560
+ lastSyncedAt: string | null;
1561
+ createdAt: string;
1562
+ updatedAt: string;
1563
+ }[] | undefined;
1564
+ yacht?: {
1565
+ id: string;
1566
+ lineSupplierId: string | null;
1567
+ name: string;
1568
+ slug: string;
1569
+ yachtClass: "luxury_motor" | "luxury_sailing" | "expedition" | "small_cruise";
1570
+ capacityGuests: number | null;
1571
+ capacityCrew: number | null;
1572
+ lengthMeters: string | null;
1573
+ yearBuilt: number | null;
1574
+ yearRefurbished: number | null;
1575
+ imo: string | null;
1576
+ description: string | null;
1577
+ gallery: string[] | null;
1578
+ amenities: Record<string, unknown> | null;
1579
+ crewBios: {
1580
+ role: string;
1581
+ name: string;
1582
+ bio?: string | undefined;
1583
+ photoUrl?: string | undefined;
1584
+ }[] | null;
1585
+ defaultCharterAreas: string[] | null;
1586
+ externalRefs: Record<string, string> | null;
1587
+ isActive: boolean;
1588
+ createdAt: string;
1589
+ updatedAt: string;
1590
+ } | null | undefined;
1591
+ } | {
1592
+ source: "external";
1593
+ sourceProvider: string;
1594
+ sourceRef: Record<string, unknown>;
1595
+ product: Record<string, unknown>;
1596
+ voyages?: unknown[] | undefined;
1597
+ yacht?: unknown;
1598
+ }, readonly ["voyant", "charters", "public", "products", "detail", string], never> | undefined;
1599
+ } & {
1600
+ queryKey: readonly ["voyant", "charters", "public", "products", "detail", string] & {
1601
+ [dataTagSymbol]: {
1602
+ id: string;
1603
+ slug: string;
1604
+ name: string;
1605
+ lineSupplierId: string | null;
1606
+ defaultYachtId: string | null;
1607
+ description: string | null;
1608
+ shortDescription: string | null;
1609
+ heroImageUrl: string | null;
1610
+ mapImageUrl: string | null;
1611
+ regions: string[] | null;
1612
+ themes: string[] | null;
1613
+ status: "draft" | "awaiting_review" | "live" | "archived";
1614
+ defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
1615
+ defaultMybaTemplateId: string | null;
1616
+ defaultApaPercent: string | null;
1617
+ lowestPriceCachedAmount: string | null;
1618
+ lowestPriceCachedCurrency: string | null;
1619
+ earliestVoyageCached: string | null;
1620
+ latestVoyageCached: string | null;
1621
+ externalRefs: Record<string, string> | null;
1622
+ createdAt: string;
1623
+ updatedAt: string;
1624
+ voyages?: {
1625
+ id: string;
1626
+ productId: string;
1627
+ yachtId: string;
1628
+ voyageCode: string;
1629
+ name: string | null;
1630
+ embarkPortFacilityId: string | null;
1631
+ embarkPortName: string | null;
1632
+ disembarkPortFacilityId: string | null;
1633
+ disembarkPortName: string | null;
1634
+ departureDate: string;
1635
+ returnDate: string;
1636
+ nights: number;
1637
+ bookingModes: ("per_suite" | "whole_yacht")[];
1638
+ appointmentOnly: boolean;
1639
+ wholeYachtPricesByCurrency: Record<string, string>;
1640
+ apaPercentOverride: string | null;
1641
+ mybaTemplateIdOverride: string | null;
1642
+ charterAreaOverride: string | null;
1643
+ salesStatus: "open" | "on_request" | "wait_list" | "sold_out" | "closed";
1644
+ availabilityNote: string | null;
1645
+ externalRefs: Record<string, string> | null;
1646
+ lastSyncedAt: string | null;
1647
+ createdAt: string;
1648
+ updatedAt: string;
1649
+ }[] | undefined;
1650
+ yacht?: {
1651
+ id: string;
1652
+ lineSupplierId: string | null;
1653
+ name: string;
1654
+ slug: string;
1655
+ yachtClass: "luxury_motor" | "luxury_sailing" | "expedition" | "small_cruise";
1656
+ capacityGuests: number | null;
1657
+ capacityCrew: number | null;
1658
+ lengthMeters: string | null;
1659
+ yearBuilt: number | null;
1660
+ yearRefurbished: number | null;
1661
+ imo: string | null;
1662
+ description: string | null;
1663
+ gallery: string[] | null;
1664
+ amenities: Record<string, unknown> | null;
1665
+ crewBios: {
1666
+ role: string;
1667
+ name: string;
1668
+ bio?: string | undefined;
1669
+ photoUrl?: string | undefined;
1670
+ }[] | null;
1671
+ defaultCharterAreas: string[] | null;
1672
+ externalRefs: Record<string, string> | null;
1673
+ isActive: boolean;
1674
+ createdAt: string;
1675
+ updatedAt: string;
1676
+ } | null | undefined;
1677
+ } | {
1678
+ source: "external";
1679
+ sourceProvider: string;
1680
+ sourceRef: Record<string, unknown>;
1681
+ product: Record<string, unknown>;
1682
+ voyages?: unknown[] | undefined;
1683
+ yacht?: unknown;
1684
+ };
1685
+ [dataTagErrorSymbol]: Error;
1686
+ };
1687
+ };
1688
+ export declare function getPublicVoyageQueryOptions(client: FetchWithValidationOptions, key: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1689
+ id: string;
1690
+ productId: string;
1691
+ yachtId: string;
1692
+ voyageCode: string;
1693
+ name: string | null;
1694
+ embarkPortFacilityId: string | null;
1695
+ embarkPortName: string | null;
1696
+ disembarkPortFacilityId: string | null;
1697
+ disembarkPortName: string | null;
1698
+ departureDate: string;
1699
+ returnDate: string;
1700
+ nights: number;
1701
+ bookingModes: ("per_suite" | "whole_yacht")[];
1702
+ appointmentOnly: boolean;
1703
+ wholeYachtPricesByCurrency: Record<string, string>;
1704
+ apaPercentOverride: string | null;
1705
+ mybaTemplateIdOverride: string | null;
1706
+ charterAreaOverride: string | null;
1707
+ salesStatus: "open" | "on_request" | "wait_list" | "sold_out" | "closed";
1708
+ availabilityNote: string | null;
1709
+ externalRefs: Record<string, string> | null;
1710
+ lastSyncedAt: string | null;
1711
+ createdAt: string;
1712
+ updatedAt: string;
1713
+ suites?: {
1714
+ id: string;
1715
+ voyageId: string;
1716
+ suiteCode: string;
1717
+ suiteName: string;
1718
+ suiteCategory: "standard" | "deluxe" | "suite" | "penthouse" | "owners" | "signature" | null;
1719
+ description: string | null;
1720
+ squareFeet: string | null;
1721
+ images: string[] | null;
1722
+ floorplanImages: string[] | null;
1723
+ maxGuests: number | null;
1724
+ pricesByCurrency: Record<string, string>;
1725
+ portFeesByCurrency: Record<string, string>;
1726
+ availability: "on_request" | "wait_list" | "sold_out" | "available" | "limited";
1727
+ unitsAvailable: number | null;
1728
+ appointmentOnly: boolean;
1729
+ notes: string | null;
1730
+ extra: Record<string, unknown> | null;
1731
+ externalRefs: Record<string, string> | null;
1732
+ lastSyncedAt: string | null;
1733
+ createdAt: string;
1734
+ updatedAt: string;
1735
+ }[] | undefined;
1736
+ schedule?: {
1737
+ id: string;
1738
+ voyageId: string;
1739
+ dayNumber: number;
1740
+ portFacilityId: string | null;
1741
+ portName: string | null;
1742
+ scheduleDate: string | null;
1743
+ arrivalTime: string | null;
1744
+ departureTime: string | null;
1745
+ isSeaDay: boolean;
1746
+ description: string | null;
1747
+ activities: string[] | null;
1748
+ createdAt: string;
1749
+ updatedAt: string;
1750
+ }[] | undefined;
1751
+ } | {
1752
+ source: "external";
1753
+ sourceProvider: string;
1754
+ sourceRef: Record<string, unknown>;
1755
+ voyage: Record<string, unknown>;
1756
+ suites?: unknown[] | undefined;
1757
+ schedule?: unknown[] | undefined;
1758
+ }, Error, {
1759
+ id: string;
1760
+ productId: string;
1761
+ yachtId: string;
1762
+ voyageCode: string;
1763
+ name: string | null;
1764
+ embarkPortFacilityId: string | null;
1765
+ embarkPortName: string | null;
1766
+ disembarkPortFacilityId: string | null;
1767
+ disembarkPortName: string | null;
1768
+ departureDate: string;
1769
+ returnDate: string;
1770
+ nights: number;
1771
+ bookingModes: ("per_suite" | "whole_yacht")[];
1772
+ appointmentOnly: boolean;
1773
+ wholeYachtPricesByCurrency: Record<string, string>;
1774
+ apaPercentOverride: string | null;
1775
+ mybaTemplateIdOverride: string | null;
1776
+ charterAreaOverride: string | null;
1777
+ salesStatus: "open" | "on_request" | "wait_list" | "sold_out" | "closed";
1778
+ availabilityNote: string | null;
1779
+ externalRefs: Record<string, string> | null;
1780
+ lastSyncedAt: string | null;
1781
+ createdAt: string;
1782
+ updatedAt: string;
1783
+ suites?: {
1784
+ id: string;
1785
+ voyageId: string;
1786
+ suiteCode: string;
1787
+ suiteName: string;
1788
+ suiteCategory: "standard" | "deluxe" | "suite" | "penthouse" | "owners" | "signature" | null;
1789
+ description: string | null;
1790
+ squareFeet: string | null;
1791
+ images: string[] | null;
1792
+ floorplanImages: string[] | null;
1793
+ maxGuests: number | null;
1794
+ pricesByCurrency: Record<string, string>;
1795
+ portFeesByCurrency: Record<string, string>;
1796
+ availability: "on_request" | "wait_list" | "sold_out" | "available" | "limited";
1797
+ unitsAvailable: number | null;
1798
+ appointmentOnly: boolean;
1799
+ notes: string | null;
1800
+ extra: Record<string, unknown> | null;
1801
+ externalRefs: Record<string, string> | null;
1802
+ lastSyncedAt: string | null;
1803
+ createdAt: string;
1804
+ updatedAt: string;
1805
+ }[] | undefined;
1806
+ schedule?: {
1807
+ id: string;
1808
+ voyageId: string;
1809
+ dayNumber: number;
1810
+ portFacilityId: string | null;
1811
+ portName: string | null;
1812
+ scheduleDate: string | null;
1813
+ arrivalTime: string | null;
1814
+ departureTime: string | null;
1815
+ isSeaDay: boolean;
1816
+ description: string | null;
1817
+ activities: string[] | null;
1818
+ createdAt: string;
1819
+ updatedAt: string;
1820
+ }[] | undefined;
1821
+ } | {
1822
+ source: "external";
1823
+ sourceProvider: string;
1824
+ sourceRef: Record<string, unknown>;
1825
+ voyage: Record<string, unknown>;
1826
+ suites?: unknown[] | undefined;
1827
+ schedule?: unknown[] | undefined;
1828
+ }, readonly ["voyant", "charters", "public", "voyages", "detail", string]>, "queryFn"> & {
1829
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1830
+ id: string;
1831
+ productId: string;
1832
+ yachtId: string;
1833
+ voyageCode: string;
1834
+ name: string | null;
1835
+ embarkPortFacilityId: string | null;
1836
+ embarkPortName: string | null;
1837
+ disembarkPortFacilityId: string | null;
1838
+ disembarkPortName: string | null;
1839
+ departureDate: string;
1840
+ returnDate: string;
1841
+ nights: number;
1842
+ bookingModes: ("per_suite" | "whole_yacht")[];
1843
+ appointmentOnly: boolean;
1844
+ wholeYachtPricesByCurrency: Record<string, string>;
1845
+ apaPercentOverride: string | null;
1846
+ mybaTemplateIdOverride: string | null;
1847
+ charterAreaOverride: string | null;
1848
+ salesStatus: "open" | "on_request" | "wait_list" | "sold_out" | "closed";
1849
+ availabilityNote: string | null;
1850
+ externalRefs: Record<string, string> | null;
1851
+ lastSyncedAt: string | null;
1852
+ createdAt: string;
1853
+ updatedAt: string;
1854
+ suites?: {
1855
+ id: string;
1856
+ voyageId: string;
1857
+ suiteCode: string;
1858
+ suiteName: string;
1859
+ suiteCategory: "standard" | "deluxe" | "suite" | "penthouse" | "owners" | "signature" | null;
1860
+ description: string | null;
1861
+ squareFeet: string | null;
1862
+ images: string[] | null;
1863
+ floorplanImages: string[] | null;
1864
+ maxGuests: number | null;
1865
+ pricesByCurrency: Record<string, string>;
1866
+ portFeesByCurrency: Record<string, string>;
1867
+ availability: "on_request" | "wait_list" | "sold_out" | "available" | "limited";
1868
+ unitsAvailable: number | null;
1869
+ appointmentOnly: boolean;
1870
+ notes: string | null;
1871
+ extra: Record<string, unknown> | null;
1872
+ externalRefs: Record<string, string> | null;
1873
+ lastSyncedAt: string | null;
1874
+ createdAt: string;
1875
+ updatedAt: string;
1876
+ }[] | undefined;
1877
+ schedule?: {
1878
+ id: string;
1879
+ voyageId: string;
1880
+ dayNumber: number;
1881
+ portFacilityId: string | null;
1882
+ portName: string | null;
1883
+ scheduleDate: string | null;
1884
+ arrivalTime: string | null;
1885
+ departureTime: string | null;
1886
+ isSeaDay: boolean;
1887
+ description: string | null;
1888
+ activities: string[] | null;
1889
+ createdAt: string;
1890
+ updatedAt: string;
1891
+ }[] | undefined;
1892
+ } | {
1893
+ source: "external";
1894
+ sourceProvider: string;
1895
+ sourceRef: Record<string, unknown>;
1896
+ voyage: Record<string, unknown>;
1897
+ suites?: unknown[] | undefined;
1898
+ schedule?: unknown[] | undefined;
1899
+ }, readonly ["voyant", "charters", "public", "voyages", "detail", string], never> | undefined;
1900
+ } & {
1901
+ queryKey: readonly ["voyant", "charters", "public", "voyages", "detail", string] & {
1902
+ [dataTagSymbol]: {
1903
+ id: string;
1904
+ productId: string;
1905
+ yachtId: string;
1906
+ voyageCode: string;
1907
+ name: string | null;
1908
+ embarkPortFacilityId: string | null;
1909
+ embarkPortName: string | null;
1910
+ disembarkPortFacilityId: string | null;
1911
+ disembarkPortName: string | null;
1912
+ departureDate: string;
1913
+ returnDate: string;
1914
+ nights: number;
1915
+ bookingModes: ("per_suite" | "whole_yacht")[];
1916
+ appointmentOnly: boolean;
1917
+ wholeYachtPricesByCurrency: Record<string, string>;
1918
+ apaPercentOverride: string | null;
1919
+ mybaTemplateIdOverride: string | null;
1920
+ charterAreaOverride: string | null;
1921
+ salesStatus: "open" | "on_request" | "wait_list" | "sold_out" | "closed";
1922
+ availabilityNote: string | null;
1923
+ externalRefs: Record<string, string> | null;
1924
+ lastSyncedAt: string | null;
1925
+ createdAt: string;
1926
+ updatedAt: string;
1927
+ suites?: {
1928
+ id: string;
1929
+ voyageId: string;
1930
+ suiteCode: string;
1931
+ suiteName: string;
1932
+ suiteCategory: "standard" | "deluxe" | "suite" | "penthouse" | "owners" | "signature" | null;
1933
+ description: string | null;
1934
+ squareFeet: string | null;
1935
+ images: string[] | null;
1936
+ floorplanImages: string[] | null;
1937
+ maxGuests: number | null;
1938
+ pricesByCurrency: Record<string, string>;
1939
+ portFeesByCurrency: Record<string, string>;
1940
+ availability: "on_request" | "wait_list" | "sold_out" | "available" | "limited";
1941
+ unitsAvailable: number | null;
1942
+ appointmentOnly: boolean;
1943
+ notes: string | null;
1944
+ extra: Record<string, unknown> | null;
1945
+ externalRefs: Record<string, string> | null;
1946
+ lastSyncedAt: string | null;
1947
+ createdAt: string;
1948
+ updatedAt: string;
1949
+ }[] | undefined;
1950
+ schedule?: {
1951
+ id: string;
1952
+ voyageId: string;
1953
+ dayNumber: number;
1954
+ portFacilityId: string | null;
1955
+ portName: string | null;
1956
+ scheduleDate: string | null;
1957
+ arrivalTime: string | null;
1958
+ departureTime: string | null;
1959
+ isSeaDay: boolean;
1960
+ description: string | null;
1961
+ activities: string[] | null;
1962
+ createdAt: string;
1963
+ updatedAt: string;
1964
+ }[] | undefined;
1965
+ } | {
1966
+ source: "external";
1967
+ sourceProvider: string;
1968
+ sourceRef: Record<string, unknown>;
1969
+ voyage: Record<string, unknown>;
1970
+ suites?: unknown[] | undefined;
1971
+ schedule?: unknown[] | undefined;
1972
+ };
1973
+ [dataTagErrorSymbol]: Error;
1974
+ };
1975
+ };
1976
+ export declare function getPublicYachtQueryOptions(client: FetchWithValidationOptions, key: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1977
+ id: string;
1978
+ lineSupplierId: string | null;
1979
+ name: string;
1980
+ slug: string;
1981
+ yachtClass: "luxury_motor" | "luxury_sailing" | "expedition" | "small_cruise";
1982
+ capacityGuests: number | null;
1983
+ capacityCrew: number | null;
1984
+ lengthMeters: string | null;
1985
+ yearBuilt: number | null;
1986
+ yearRefurbished: number | null;
1987
+ imo: string | null;
1988
+ description: string | null;
1989
+ gallery: string[] | null;
1990
+ amenities: Record<string, unknown> | null;
1991
+ crewBios: {
1992
+ role: string;
1993
+ name: string;
1994
+ bio?: string | undefined;
1995
+ photoUrl?: string | undefined;
1996
+ }[] | null;
1997
+ defaultCharterAreas: string[] | null;
1998
+ externalRefs: Record<string, string> | null;
1999
+ isActive: boolean;
2000
+ createdAt: string;
2001
+ updatedAt: string;
2002
+ } | {
2003
+ source: "external";
2004
+ sourceProvider: string;
2005
+ sourceRef: Record<string, unknown>;
2006
+ yacht: Record<string, unknown>;
2007
+ }, Error, {
2008
+ id: string;
2009
+ lineSupplierId: string | null;
2010
+ name: string;
2011
+ slug: string;
2012
+ yachtClass: "luxury_motor" | "luxury_sailing" | "expedition" | "small_cruise";
2013
+ capacityGuests: number | null;
2014
+ capacityCrew: number | null;
2015
+ lengthMeters: string | null;
2016
+ yearBuilt: number | null;
2017
+ yearRefurbished: number | null;
2018
+ imo: string | null;
2019
+ description: string | null;
2020
+ gallery: string[] | null;
2021
+ amenities: Record<string, unknown> | null;
2022
+ crewBios: {
2023
+ role: string;
2024
+ name: string;
2025
+ bio?: string | undefined;
2026
+ photoUrl?: string | undefined;
2027
+ }[] | null;
2028
+ defaultCharterAreas: string[] | null;
2029
+ externalRefs: Record<string, string> | null;
2030
+ isActive: boolean;
2031
+ createdAt: string;
2032
+ updatedAt: string;
2033
+ } | {
2034
+ source: "external";
2035
+ sourceProvider: string;
2036
+ sourceRef: Record<string, unknown>;
2037
+ yacht: Record<string, unknown>;
2038
+ }, readonly ["voyant", "charters", "public", "yachts", "detail", string]>, "queryFn"> & {
2039
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
2040
+ id: string;
2041
+ lineSupplierId: string | null;
2042
+ name: string;
2043
+ slug: string;
2044
+ yachtClass: "luxury_motor" | "luxury_sailing" | "expedition" | "small_cruise";
2045
+ capacityGuests: number | null;
2046
+ capacityCrew: number | null;
2047
+ lengthMeters: string | null;
2048
+ yearBuilt: number | null;
2049
+ yearRefurbished: number | null;
2050
+ imo: string | null;
2051
+ description: string | null;
2052
+ gallery: string[] | null;
2053
+ amenities: Record<string, unknown> | null;
2054
+ crewBios: {
2055
+ role: string;
2056
+ name: string;
2057
+ bio?: string | undefined;
2058
+ photoUrl?: string | undefined;
2059
+ }[] | null;
2060
+ defaultCharterAreas: string[] | null;
2061
+ externalRefs: Record<string, string> | null;
2062
+ isActive: boolean;
2063
+ createdAt: string;
2064
+ updatedAt: string;
2065
+ } | {
2066
+ source: "external";
2067
+ sourceProvider: string;
2068
+ sourceRef: Record<string, unknown>;
2069
+ yacht: Record<string, unknown>;
2070
+ }, readonly ["voyant", "charters", "public", "yachts", "detail", string], never> | undefined;
2071
+ } & {
2072
+ queryKey: readonly ["voyant", "charters", "public", "yachts", "detail", string] & {
2073
+ [dataTagSymbol]: {
2074
+ id: string;
2075
+ lineSupplierId: string | null;
2076
+ name: string;
2077
+ slug: string;
2078
+ yachtClass: "luxury_motor" | "luxury_sailing" | "expedition" | "small_cruise";
2079
+ capacityGuests: number | null;
2080
+ capacityCrew: number | null;
2081
+ lengthMeters: string | null;
2082
+ yearBuilt: number | null;
2083
+ yearRefurbished: number | null;
2084
+ imo: string | null;
2085
+ description: string | null;
2086
+ gallery: string[] | null;
2087
+ amenities: Record<string, unknown> | null;
2088
+ crewBios: {
2089
+ role: string;
2090
+ name: string;
2091
+ bio?: string | undefined;
2092
+ photoUrl?: string | undefined;
2093
+ }[] | null;
2094
+ defaultCharterAreas: string[] | null;
2095
+ externalRefs: Record<string, string> | null;
2096
+ isActive: boolean;
2097
+ createdAt: string;
2098
+ updatedAt: string;
2099
+ } | {
2100
+ source: "external";
2101
+ sourceProvider: string;
2102
+ sourceRef: Record<string, unknown>;
2103
+ yacht: Record<string, unknown>;
2104
+ };
2105
+ [dataTagErrorSymbol]: Error;
2106
+ };
2107
+ };
2108
+ //# sourceMappingURL=query-options.d.ts.map