@voyant-travel/cruises-react 0.118.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 (100) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +70 -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/cruise-catalog-card.d.ts +13 -0
  7. package/dist/components/cruise-catalog-card.d.ts.map +1 -0
  8. package/dist/components/cruise-catalog-card.js +58 -0
  9. package/dist/components/enrichment-program-list.d.ts +13 -0
  10. package/dist/components/enrichment-program-list.d.ts.map +1 -0
  11. package/dist/components/enrichment-program-list.js +45 -0
  12. package/dist/components/external-badge.d.ts +14 -0
  13. package/dist/components/external-badge.d.ts.map +1 -0
  14. package/dist/components/external-badge.js +17 -0
  15. package/dist/components/pricing-grid.d.ts +21 -0
  16. package/dist/components/pricing-grid.d.ts.map +1 -0
  17. package/dist/components/pricing-grid.js +81 -0
  18. package/dist/components/quote-display.d.ts +14 -0
  19. package/dist/components/quote-display.d.ts.map +1 -0
  20. package/dist/components/quote-display.js +61 -0
  21. package/dist/hooks/index.d.ts +15 -0
  22. package/dist/hooks/index.d.ts.map +1 -0
  23. package/dist/hooks/index.js +14 -0
  24. package/dist/hooks/use-cruise-booking.d.ts +205 -0
  25. package/dist/hooks/use-cruise-booking.d.ts.map +1 -0
  26. package/dist/hooks/use-cruise-booking.js +56 -0
  27. package/dist/hooks/use-cruise-mutation.d.ts +144 -0
  28. package/dist/hooks/use-cruise-mutation.d.ts.map +1 -0
  29. package/dist/hooks/use-cruise-mutation.js +58 -0
  30. package/dist/hooks/use-cruise.d.ts +38 -0
  31. package/dist/hooks/use-cruise.d.ts.map +1 -0
  32. package/dist/hooks/use-cruise.js +16 -0
  33. package/dist/hooks/use-cruises.d.ts +61 -0
  34. package/dist/hooks/use-cruises.d.ts.map +1 -0
  35. package/dist/hooks/use-cruises.js +16 -0
  36. package/dist/hooks/use-effective-itinerary.d.ts +27 -0
  37. package/dist/hooks/use-effective-itinerary.d.ts.map +1 -0
  38. package/dist/hooks/use-effective-itinerary.js +16 -0
  39. package/dist/hooks/use-enrichment.d.ts +72 -0
  40. package/dist/hooks/use-enrichment.d.ts.map +1 -0
  41. package/dist/hooks/use-enrichment.js +64 -0
  42. package/dist/hooks/use-external-actions.d.ts +43 -0
  43. package/dist/hooks/use-external-actions.d.ts.map +1 -0
  44. package/dist/hooks/use-external-actions.js +45 -0
  45. package/dist/hooks/use-pricing.d.ts +65 -0
  46. package/dist/hooks/use-pricing.d.ts.map +1 -0
  47. package/dist/hooks/use-pricing.js +28 -0
  48. package/dist/hooks/use-sailing-mutation.d.ts +147 -0
  49. package/dist/hooks/use-sailing-mutation.d.ts.map +1 -0
  50. package/dist/hooks/use-sailing-mutation.js +55 -0
  51. package/dist/hooks/use-sailings.d.ts +49 -0
  52. package/dist/hooks/use-sailings.d.ts.map +1 -0
  53. package/dist/hooks/use-sailings.js +20 -0
  54. package/dist/hooks/use-search-index.d.ts +43 -0
  55. package/dist/hooks/use-search-index.d.ts.map +1 -0
  56. package/dist/hooks/use-search-index.js +51 -0
  57. package/dist/hooks/use-ship-mutation.d.ts +186 -0
  58. package/dist/hooks/use-ship-mutation.d.ts.map +1 -0
  59. package/dist/hooks/use-ship-mutation.js +92 -0
  60. package/dist/hooks/use-ships.d.ts +101 -0
  61. package/dist/hooks/use-ships.d.ts.map +1 -0
  62. package/dist/hooks/use-ships.js +43 -0
  63. package/dist/hooks/use-storefront.d.ts +230 -0
  64. package/dist/hooks/use-storefront.d.ts.map +1 -0
  65. package/dist/hooks/use-storefront.js +62 -0
  66. package/dist/i18n/en.d.ts +3 -0
  67. package/dist/i18n/en.d.ts.map +1 -0
  68. package/dist/i18n/en.js +79 -0
  69. package/dist/i18n/index.d.ts +5 -0
  70. package/dist/i18n/index.d.ts.map +1 -0
  71. package/dist/i18n/index.js +3 -0
  72. package/dist/i18n/messages.d.ts +62 -0
  73. package/dist/i18n/messages.d.ts.map +1 -0
  74. package/dist/i18n/messages.js +1 -0
  75. package/dist/i18n/provider.d.ts +26 -0
  76. package/dist/i18n/provider.d.ts.map +1 -0
  77. package/dist/i18n/provider.js +44 -0
  78. package/dist/i18n/ro.d.ts +3 -0
  79. package/dist/i18n/ro.d.ts.map +1 -0
  80. package/dist/i18n/ro.js +79 -0
  81. package/dist/index.d.ts +7 -0
  82. package/dist/index.d.ts.map +1 -0
  83. package/dist/index.js +6 -0
  84. package/dist/provider.d.ts +2 -0
  85. package/dist/provider.d.ts.map +1 -0
  86. package/dist/provider.js +1 -0
  87. package/dist/query-keys.d.ts +82 -0
  88. package/dist/query-keys.d.ts.map +1 -0
  89. package/dist/query-keys.js +39 -0
  90. package/dist/query-options.d.ts +1272 -0
  91. package/dist/query-options.d.ts.map +1 -0
  92. package/dist/query-options.js +136 -0
  93. package/dist/schemas.d.ts +1061 -0
  94. package/dist/schemas.d.ts.map +1 -0
  95. package/dist/schemas.js +339 -0
  96. package/dist/ui.d.ts +6 -0
  97. package/dist/ui.d.ts.map +1 -0
  98. package/dist/ui.js +5 -0
  99. package/package.json +121 -0
  100. package/src/styles.css +11 -0
@@ -0,0 +1,1272 @@
1
+ /**
2
+ * TanStack `queryOptions()` factories for the cruises 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 CruisesListFilters, type PricesListFilters, type SailingsListFilters, type ShipsListFilters, type StorefrontListFilters } from "./query-keys.js";
12
+ export declare function getCruisesQueryOptions(client: FetchWithValidationOptions, filters?: CruisesListFilters): 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
+ cruise: {
19
+ id: string;
20
+ slug: string;
21
+ name: string;
22
+ cruiseType: "ocean" | "river" | "expedition" | "coastal";
23
+ lineSupplierId: string | null;
24
+ defaultShipId: string | null;
25
+ nights: number;
26
+ embarkPortFacilityId: string | null;
27
+ disembarkPortFacilityId: string | null;
28
+ description: string | null;
29
+ shortDescription: string | null;
30
+ highlights: string[] | null;
31
+ inclusionsHtml: string | null;
32
+ exclusionsHtml: string | null;
33
+ regions: string[] | null;
34
+ themes: string[] | null;
35
+ heroImageUrl: string | null;
36
+ mapImageUrl: string | null;
37
+ status: "draft" | "awaiting_review" | "live" | "archived";
38
+ lowestPriceCached: string | null;
39
+ lowestPriceCurrencyCached: string | null;
40
+ earliestDepartureCached: string | null;
41
+ latestDepartureCached: string | null;
42
+ externalRefs: Record<string, string> | null;
43
+ createdAt: string;
44
+ updatedAt: string;
45
+ };
46
+ } | {
47
+ source: "external";
48
+ sourceProvider: string;
49
+ sourceRef: Record<string, unknown>;
50
+ key: string;
51
+ cruise: unknown;
52
+ })[];
53
+ total: number;
54
+ localTotal: number;
55
+ adapterCount: number;
56
+ limit: number;
57
+ offset: number;
58
+ adapterErrors?: {
59
+ adapter: string;
60
+ error: string;
61
+ }[] | undefined;
62
+ }, Error, {
63
+ data: ({
64
+ source: "local";
65
+ sourceProvider: null;
66
+ sourceRef: null;
67
+ key: string;
68
+ cruise: {
69
+ id: string;
70
+ slug: string;
71
+ name: string;
72
+ cruiseType: "ocean" | "river" | "expedition" | "coastal";
73
+ lineSupplierId: string | null;
74
+ defaultShipId: string | null;
75
+ nights: number;
76
+ embarkPortFacilityId: string | null;
77
+ disembarkPortFacilityId: string | null;
78
+ description: string | null;
79
+ shortDescription: string | null;
80
+ highlights: string[] | null;
81
+ inclusionsHtml: string | null;
82
+ exclusionsHtml: string | null;
83
+ regions: string[] | null;
84
+ themes: string[] | null;
85
+ heroImageUrl: string | null;
86
+ mapImageUrl: string | null;
87
+ status: "draft" | "awaiting_review" | "live" | "archived";
88
+ lowestPriceCached: string | null;
89
+ lowestPriceCurrencyCached: string | null;
90
+ earliestDepartureCached: string | null;
91
+ latestDepartureCached: string | null;
92
+ externalRefs: Record<string, string> | null;
93
+ createdAt: string;
94
+ updatedAt: string;
95
+ };
96
+ } | {
97
+ source: "external";
98
+ sourceProvider: string;
99
+ sourceRef: Record<string, unknown>;
100
+ key: string;
101
+ cruise: unknown;
102
+ })[];
103
+ total: number;
104
+ localTotal: number;
105
+ adapterCount: number;
106
+ limit: number;
107
+ offset: number;
108
+ adapterErrors?: {
109
+ adapter: string;
110
+ error: string;
111
+ }[] | undefined;
112
+ }, readonly ["voyant", "cruises", "cruises", "list", CruisesListFilters]>, "queryFn"> & {
113
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
114
+ data: ({
115
+ source: "local";
116
+ sourceProvider: null;
117
+ sourceRef: null;
118
+ key: string;
119
+ cruise: {
120
+ id: string;
121
+ slug: string;
122
+ name: string;
123
+ cruiseType: "ocean" | "river" | "expedition" | "coastal";
124
+ lineSupplierId: string | null;
125
+ defaultShipId: string | null;
126
+ nights: number;
127
+ embarkPortFacilityId: string | null;
128
+ disembarkPortFacilityId: string | null;
129
+ description: string | null;
130
+ shortDescription: string | null;
131
+ highlights: string[] | null;
132
+ inclusionsHtml: string | null;
133
+ exclusionsHtml: string | null;
134
+ regions: string[] | null;
135
+ themes: string[] | null;
136
+ heroImageUrl: string | null;
137
+ mapImageUrl: string | null;
138
+ status: "draft" | "awaiting_review" | "live" | "archived";
139
+ lowestPriceCached: string | null;
140
+ lowestPriceCurrencyCached: string | null;
141
+ earliestDepartureCached: string | null;
142
+ latestDepartureCached: string | null;
143
+ externalRefs: Record<string, string> | null;
144
+ createdAt: string;
145
+ updatedAt: string;
146
+ };
147
+ } | {
148
+ source: "external";
149
+ sourceProvider: string;
150
+ sourceRef: Record<string, unknown>;
151
+ key: string;
152
+ cruise: unknown;
153
+ })[];
154
+ total: number;
155
+ localTotal: number;
156
+ adapterCount: number;
157
+ limit: number;
158
+ offset: number;
159
+ adapterErrors?: {
160
+ adapter: string;
161
+ error: string;
162
+ }[] | undefined;
163
+ }, readonly ["voyant", "cruises", "cruises", "list", CruisesListFilters], never> | undefined;
164
+ } & {
165
+ queryKey: readonly ["voyant", "cruises", "cruises", "list", CruisesListFilters] & {
166
+ [dataTagSymbol]: {
167
+ data: ({
168
+ source: "local";
169
+ sourceProvider: null;
170
+ sourceRef: null;
171
+ key: string;
172
+ cruise: {
173
+ id: string;
174
+ slug: string;
175
+ name: string;
176
+ cruiseType: "ocean" | "river" | "expedition" | "coastal";
177
+ lineSupplierId: string | null;
178
+ defaultShipId: string | null;
179
+ nights: number;
180
+ embarkPortFacilityId: string | null;
181
+ disembarkPortFacilityId: string | null;
182
+ description: string | null;
183
+ shortDescription: string | null;
184
+ highlights: string[] | null;
185
+ inclusionsHtml: string | null;
186
+ exclusionsHtml: string | null;
187
+ regions: string[] | null;
188
+ themes: string[] | null;
189
+ heroImageUrl: string | null;
190
+ mapImageUrl: string | null;
191
+ status: "draft" | "awaiting_review" | "live" | "archived";
192
+ lowestPriceCached: string | null;
193
+ lowestPriceCurrencyCached: string | null;
194
+ earliestDepartureCached: string | null;
195
+ latestDepartureCached: string | null;
196
+ externalRefs: Record<string, string> | null;
197
+ createdAt: string;
198
+ updatedAt: string;
199
+ };
200
+ } | {
201
+ source: "external";
202
+ sourceProvider: string;
203
+ sourceRef: Record<string, unknown>;
204
+ key: string;
205
+ cruise: unknown;
206
+ })[];
207
+ total: number;
208
+ localTotal: number;
209
+ adapterCount: number;
210
+ limit: number;
211
+ offset: number;
212
+ adapterErrors?: {
213
+ adapter: string;
214
+ error: string;
215
+ }[] | undefined;
216
+ };
217
+ [dataTagErrorSymbol]: Error;
218
+ };
219
+ };
220
+ export declare function getCruiseQueryOptions(client: FetchWithValidationOptions, key: string, options?: {
221
+ include?: ReadonlyArray<"sailings" | "days">;
222
+ }): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
223
+ id: string;
224
+ slug: string;
225
+ name: string;
226
+ cruiseType: "ocean" | "river" | "expedition" | "coastal";
227
+ lineSupplierId: string | null;
228
+ defaultShipId: string | null;
229
+ nights: number;
230
+ embarkPortFacilityId: string | null;
231
+ disembarkPortFacilityId: string | null;
232
+ description: string | null;
233
+ shortDescription: string | null;
234
+ highlights: string[] | null;
235
+ inclusionsHtml: string | null;
236
+ exclusionsHtml: string | null;
237
+ regions: string[] | null;
238
+ themes: string[] | null;
239
+ heroImageUrl: string | null;
240
+ mapImageUrl: string | null;
241
+ status: "draft" | "awaiting_review" | "live" | "archived";
242
+ lowestPriceCached: string | null;
243
+ lowestPriceCurrencyCached: string | null;
244
+ earliestDepartureCached: string | null;
245
+ latestDepartureCached: string | null;
246
+ externalRefs: Record<string, string> | null;
247
+ createdAt: string;
248
+ updatedAt: string;
249
+ }, Error, {
250
+ id: string;
251
+ slug: string;
252
+ name: string;
253
+ cruiseType: "ocean" | "river" | "expedition" | "coastal";
254
+ lineSupplierId: string | null;
255
+ defaultShipId: string | null;
256
+ nights: number;
257
+ embarkPortFacilityId: string | null;
258
+ disembarkPortFacilityId: string | null;
259
+ description: string | null;
260
+ shortDescription: string | null;
261
+ highlights: string[] | null;
262
+ inclusionsHtml: string | null;
263
+ exclusionsHtml: string | null;
264
+ regions: string[] | null;
265
+ themes: string[] | null;
266
+ heroImageUrl: string | null;
267
+ mapImageUrl: string | null;
268
+ status: "draft" | "awaiting_review" | "live" | "archived";
269
+ lowestPriceCached: string | null;
270
+ lowestPriceCurrencyCached: string | null;
271
+ earliestDepartureCached: string | null;
272
+ latestDepartureCached: string | null;
273
+ externalRefs: Record<string, string> | null;
274
+ createdAt: string;
275
+ updatedAt: string;
276
+ }, readonly ["voyant", "cruises", "cruises", "detail", string, readonly ("sailings" | "days")[]]>, "queryFn"> & {
277
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
278
+ id: string;
279
+ slug: string;
280
+ name: string;
281
+ cruiseType: "ocean" | "river" | "expedition" | "coastal";
282
+ lineSupplierId: string | null;
283
+ defaultShipId: string | null;
284
+ nights: number;
285
+ embarkPortFacilityId: string | null;
286
+ disembarkPortFacilityId: string | null;
287
+ description: string | null;
288
+ shortDescription: string | null;
289
+ highlights: string[] | null;
290
+ inclusionsHtml: string | null;
291
+ exclusionsHtml: string | null;
292
+ regions: string[] | null;
293
+ themes: string[] | null;
294
+ heroImageUrl: string | null;
295
+ mapImageUrl: string | null;
296
+ status: "draft" | "awaiting_review" | "live" | "archived";
297
+ lowestPriceCached: string | null;
298
+ lowestPriceCurrencyCached: string | null;
299
+ earliestDepartureCached: string | null;
300
+ latestDepartureCached: string | null;
301
+ externalRefs: Record<string, string> | null;
302
+ createdAt: string;
303
+ updatedAt: string;
304
+ }, readonly ["voyant", "cruises", "cruises", "detail", string, readonly ("sailings" | "days")[]], never> | undefined;
305
+ } & {
306
+ queryKey: readonly ["voyant", "cruises", "cruises", "detail", string, readonly ("sailings" | "days")[]] & {
307
+ [dataTagSymbol]: {
308
+ id: string;
309
+ slug: string;
310
+ name: string;
311
+ cruiseType: "ocean" | "river" | "expedition" | "coastal";
312
+ lineSupplierId: string | null;
313
+ defaultShipId: string | null;
314
+ nights: number;
315
+ embarkPortFacilityId: string | null;
316
+ disembarkPortFacilityId: string | null;
317
+ description: string | null;
318
+ shortDescription: string | null;
319
+ highlights: string[] | null;
320
+ inclusionsHtml: string | null;
321
+ exclusionsHtml: string | null;
322
+ regions: string[] | null;
323
+ themes: string[] | null;
324
+ heroImageUrl: string | null;
325
+ mapImageUrl: string | null;
326
+ status: "draft" | "awaiting_review" | "live" | "archived";
327
+ lowestPriceCached: string | null;
328
+ lowestPriceCurrencyCached: string | null;
329
+ earliestDepartureCached: string | null;
330
+ latestDepartureCached: string | null;
331
+ externalRefs: Record<string, string> | null;
332
+ createdAt: string;
333
+ updatedAt: string;
334
+ };
335
+ [dataTagErrorSymbol]: Error;
336
+ };
337
+ };
338
+ export declare function getSailingsQueryOptions(client: FetchWithValidationOptions, filters?: SailingsListFilters): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
339
+ data: {
340
+ id: string;
341
+ cruiseId: string;
342
+ shipId: string;
343
+ departureDate: string;
344
+ returnDate: string;
345
+ embarkPortFacilityId: string | null;
346
+ disembarkPortFacilityId: string | null;
347
+ direction: "upstream" | "downstream" | "round_trip" | "one_way" | null;
348
+ availabilityNote: string | null;
349
+ isCharter: boolean;
350
+ salesStatus: "open" | "on_request" | "wait_list" | "sold_out" | "closed";
351
+ externalRefs: Record<string, string> | null;
352
+ lastSyncedAt: string | null;
353
+ createdAt: string;
354
+ updatedAt: string;
355
+ }[];
356
+ total: number;
357
+ limit: number;
358
+ offset: number;
359
+ }, Error, {
360
+ data: {
361
+ id: string;
362
+ cruiseId: string;
363
+ shipId: string;
364
+ departureDate: string;
365
+ returnDate: string;
366
+ embarkPortFacilityId: string | null;
367
+ disembarkPortFacilityId: string | null;
368
+ direction: "upstream" | "downstream" | "round_trip" | "one_way" | null;
369
+ availabilityNote: string | null;
370
+ isCharter: boolean;
371
+ salesStatus: "open" | "on_request" | "wait_list" | "sold_out" | "closed";
372
+ externalRefs: Record<string, string> | null;
373
+ lastSyncedAt: string | null;
374
+ createdAt: string;
375
+ updatedAt: string;
376
+ }[];
377
+ total: number;
378
+ limit: number;
379
+ offset: number;
380
+ }, readonly ["voyant", "cruises", "sailings", "list", SailingsListFilters]>, "queryFn"> & {
381
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
382
+ data: {
383
+ id: string;
384
+ cruiseId: string;
385
+ shipId: string;
386
+ departureDate: string;
387
+ returnDate: string;
388
+ embarkPortFacilityId: string | null;
389
+ disembarkPortFacilityId: string | null;
390
+ direction: "upstream" | "downstream" | "round_trip" | "one_way" | null;
391
+ availabilityNote: string | null;
392
+ isCharter: boolean;
393
+ salesStatus: "open" | "on_request" | "wait_list" | "sold_out" | "closed";
394
+ externalRefs: Record<string, string> | null;
395
+ lastSyncedAt: string | null;
396
+ createdAt: string;
397
+ updatedAt: string;
398
+ }[];
399
+ total: number;
400
+ limit: number;
401
+ offset: number;
402
+ }, readonly ["voyant", "cruises", "sailings", "list", SailingsListFilters], never> | undefined;
403
+ } & {
404
+ queryKey: readonly ["voyant", "cruises", "sailings", "list", SailingsListFilters] & {
405
+ [dataTagSymbol]: {
406
+ data: {
407
+ id: string;
408
+ cruiseId: string;
409
+ shipId: string;
410
+ departureDate: string;
411
+ returnDate: string;
412
+ embarkPortFacilityId: string | null;
413
+ disembarkPortFacilityId: string | null;
414
+ direction: "upstream" | "downstream" | "round_trip" | "one_way" | null;
415
+ availabilityNote: string | null;
416
+ isCharter: boolean;
417
+ salesStatus: "open" | "on_request" | "wait_list" | "sold_out" | "closed";
418
+ externalRefs: Record<string, string> | null;
419
+ lastSyncedAt: string | null;
420
+ createdAt: string;
421
+ updatedAt: string;
422
+ }[];
423
+ total: number;
424
+ limit: number;
425
+ offset: number;
426
+ };
427
+ [dataTagErrorSymbol]: Error;
428
+ };
429
+ };
430
+ export declare function getSailingQueryOptions(client: FetchWithValidationOptions, key: string, options?: {
431
+ include?: ReadonlyArray<"pricing" | "itinerary">;
432
+ }): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
433
+ id: string;
434
+ cruiseId: string;
435
+ shipId: string;
436
+ departureDate: string;
437
+ returnDate: string;
438
+ embarkPortFacilityId: string | null;
439
+ disembarkPortFacilityId: string | null;
440
+ direction: "upstream" | "downstream" | "round_trip" | "one_way" | null;
441
+ availabilityNote: string | null;
442
+ isCharter: boolean;
443
+ salesStatus: "open" | "on_request" | "wait_list" | "sold_out" | "closed";
444
+ externalRefs: Record<string, string> | null;
445
+ lastSyncedAt: string | null;
446
+ createdAt: string;
447
+ updatedAt: string;
448
+ }, Error, {
449
+ id: string;
450
+ cruiseId: string;
451
+ shipId: string;
452
+ departureDate: string;
453
+ returnDate: string;
454
+ embarkPortFacilityId: string | null;
455
+ disembarkPortFacilityId: string | null;
456
+ direction: "upstream" | "downstream" | "round_trip" | "one_way" | null;
457
+ availabilityNote: string | null;
458
+ isCharter: boolean;
459
+ salesStatus: "open" | "on_request" | "wait_list" | "sold_out" | "closed";
460
+ externalRefs: Record<string, string> | null;
461
+ lastSyncedAt: string | null;
462
+ createdAt: string;
463
+ updatedAt: string;
464
+ }, readonly ["voyant", "cruises", "sailings", "detail", string, readonly ("pricing" | "itinerary")[]]>, "queryFn"> & {
465
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
466
+ id: string;
467
+ cruiseId: string;
468
+ shipId: string;
469
+ departureDate: string;
470
+ returnDate: string;
471
+ embarkPortFacilityId: string | null;
472
+ disembarkPortFacilityId: string | null;
473
+ direction: "upstream" | "downstream" | "round_trip" | "one_way" | null;
474
+ availabilityNote: string | null;
475
+ isCharter: boolean;
476
+ salesStatus: "open" | "on_request" | "wait_list" | "sold_out" | "closed";
477
+ externalRefs: Record<string, string> | null;
478
+ lastSyncedAt: string | null;
479
+ createdAt: string;
480
+ updatedAt: string;
481
+ }, readonly ["voyant", "cruises", "sailings", "detail", string, readonly ("pricing" | "itinerary")[]], never> | undefined;
482
+ } & {
483
+ queryKey: readonly ["voyant", "cruises", "sailings", "detail", string, readonly ("pricing" | "itinerary")[]] & {
484
+ [dataTagSymbol]: {
485
+ id: string;
486
+ cruiseId: string;
487
+ shipId: string;
488
+ departureDate: string;
489
+ returnDate: string;
490
+ embarkPortFacilityId: string | null;
491
+ disembarkPortFacilityId: string | null;
492
+ direction: "upstream" | "downstream" | "round_trip" | "one_way" | null;
493
+ availabilityNote: string | null;
494
+ isCharter: boolean;
495
+ salesStatus: "open" | "on_request" | "wait_list" | "sold_out" | "closed";
496
+ externalRefs: Record<string, string> | null;
497
+ lastSyncedAt: string | null;
498
+ createdAt: string;
499
+ updatedAt: string;
500
+ };
501
+ [dataTagErrorSymbol]: Error;
502
+ };
503
+ };
504
+ export declare function getEffectiveItineraryQueryOptions(client: FetchWithValidationOptions, sailingKey: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
505
+ dayNumber: number;
506
+ title: string | null;
507
+ description: string | null;
508
+ portFacilityId: string | null;
509
+ arrivalTime: string | null;
510
+ departureTime: string | null;
511
+ isOvernight: boolean;
512
+ isSeaDay: boolean;
513
+ isExpeditionLanding: boolean;
514
+ isSkipped: boolean;
515
+ hasOverride: boolean;
516
+ meals?: {
517
+ breakfast?: boolean | undefined;
518
+ lunch?: boolean | undefined;
519
+ dinner?: boolean | undefined;
520
+ } | undefined;
521
+ }[], Error, {
522
+ dayNumber: number;
523
+ title: string | null;
524
+ description: string | null;
525
+ portFacilityId: string | null;
526
+ arrivalTime: string | null;
527
+ departureTime: string | null;
528
+ isOvernight: boolean;
529
+ isSeaDay: boolean;
530
+ isExpeditionLanding: boolean;
531
+ isSkipped: boolean;
532
+ hasOverride: boolean;
533
+ meals?: {
534
+ breakfast?: boolean | undefined;
535
+ lunch?: boolean | undefined;
536
+ dinner?: boolean | undefined;
537
+ } | undefined;
538
+ }[], readonly ["voyant", "cruises", "sailings", "detail", string, readonly ("pricing" | "itinerary")[], "itinerary"]>, "queryFn"> & {
539
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
540
+ dayNumber: number;
541
+ title: string | null;
542
+ description: string | null;
543
+ portFacilityId: string | null;
544
+ arrivalTime: string | null;
545
+ departureTime: string | null;
546
+ isOvernight: boolean;
547
+ isSeaDay: boolean;
548
+ isExpeditionLanding: boolean;
549
+ isSkipped: boolean;
550
+ hasOverride: boolean;
551
+ meals?: {
552
+ breakfast?: boolean | undefined;
553
+ lunch?: boolean | undefined;
554
+ dinner?: boolean | undefined;
555
+ } | undefined;
556
+ }[], readonly ["voyant", "cruises", "sailings", "detail", string, readonly ("pricing" | "itinerary")[], "itinerary"], never> | undefined;
557
+ } & {
558
+ queryKey: readonly ["voyant", "cruises", "sailings", "detail", string, readonly ("pricing" | "itinerary")[], "itinerary"] & {
559
+ [dataTagSymbol]: {
560
+ dayNumber: number;
561
+ title: string | null;
562
+ description: string | null;
563
+ portFacilityId: string | null;
564
+ arrivalTime: string | null;
565
+ departureTime: string | null;
566
+ isOvernight: boolean;
567
+ isSeaDay: boolean;
568
+ isExpeditionLanding: boolean;
569
+ isSkipped: boolean;
570
+ hasOverride: boolean;
571
+ meals?: {
572
+ breakfast?: boolean | undefined;
573
+ lunch?: boolean | undefined;
574
+ dinner?: boolean | undefined;
575
+ } | undefined;
576
+ }[];
577
+ [dataTagErrorSymbol]: Error;
578
+ };
579
+ };
580
+ export declare function getShipsQueryOptions(client: FetchWithValidationOptions, filters?: ShipsListFilters): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
581
+ data: {
582
+ id: string;
583
+ lineSupplierId: string | null;
584
+ name: string;
585
+ slug: string;
586
+ shipType: "ocean" | "river" | "expedition" | "coastal" | "yacht" | "sailing";
587
+ capacityGuests: number | null;
588
+ capacityCrew: number | null;
589
+ cabinCount: number | null;
590
+ deckCount: number | null;
591
+ lengthMeters: string | null;
592
+ cruisingSpeedKnots: string | null;
593
+ yearBuilt: number | null;
594
+ yearRefurbished: number | null;
595
+ imo: string | null;
596
+ description: string | null;
597
+ deckPlanUrl: string | null;
598
+ gallery: string[] | null;
599
+ amenities: Record<string, unknown> | null;
600
+ externalRefs: Record<string, string> | null;
601
+ isActive: boolean;
602
+ createdAt: string;
603
+ updatedAt: string;
604
+ }[];
605
+ total: number;
606
+ limit: number;
607
+ offset: number;
608
+ }, Error, {
609
+ data: {
610
+ id: string;
611
+ lineSupplierId: string | null;
612
+ name: string;
613
+ slug: string;
614
+ shipType: "ocean" | "river" | "expedition" | "coastal" | "yacht" | "sailing";
615
+ capacityGuests: number | null;
616
+ capacityCrew: number | null;
617
+ cabinCount: number | null;
618
+ deckCount: number | null;
619
+ lengthMeters: string | null;
620
+ cruisingSpeedKnots: string | null;
621
+ yearBuilt: number | null;
622
+ yearRefurbished: number | null;
623
+ imo: string | null;
624
+ description: string | null;
625
+ deckPlanUrl: string | null;
626
+ gallery: string[] | null;
627
+ amenities: Record<string, unknown> | null;
628
+ externalRefs: Record<string, string> | null;
629
+ isActive: boolean;
630
+ createdAt: string;
631
+ updatedAt: string;
632
+ }[];
633
+ total: number;
634
+ limit: number;
635
+ offset: number;
636
+ }, readonly ["voyant", "cruises", "ships", "list", ShipsListFilters]>, "queryFn"> & {
637
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
638
+ data: {
639
+ id: string;
640
+ lineSupplierId: string | null;
641
+ name: string;
642
+ slug: string;
643
+ shipType: "ocean" | "river" | "expedition" | "coastal" | "yacht" | "sailing";
644
+ capacityGuests: number | null;
645
+ capacityCrew: number | null;
646
+ cabinCount: number | null;
647
+ deckCount: number | null;
648
+ lengthMeters: string | null;
649
+ cruisingSpeedKnots: string | null;
650
+ yearBuilt: number | null;
651
+ yearRefurbished: number | null;
652
+ imo: string | null;
653
+ description: string | null;
654
+ deckPlanUrl: string | null;
655
+ gallery: string[] | null;
656
+ amenities: Record<string, unknown> | null;
657
+ externalRefs: Record<string, string> | null;
658
+ isActive: boolean;
659
+ createdAt: string;
660
+ updatedAt: string;
661
+ }[];
662
+ total: number;
663
+ limit: number;
664
+ offset: number;
665
+ }, readonly ["voyant", "cruises", "ships", "list", ShipsListFilters], never> | undefined;
666
+ } & {
667
+ queryKey: readonly ["voyant", "cruises", "ships", "list", ShipsListFilters] & {
668
+ [dataTagSymbol]: {
669
+ data: {
670
+ id: string;
671
+ lineSupplierId: string | null;
672
+ name: string;
673
+ slug: string;
674
+ shipType: "ocean" | "river" | "expedition" | "coastal" | "yacht" | "sailing";
675
+ capacityGuests: number | null;
676
+ capacityCrew: number | null;
677
+ cabinCount: number | null;
678
+ deckCount: number | null;
679
+ lengthMeters: string | null;
680
+ cruisingSpeedKnots: string | null;
681
+ yearBuilt: number | null;
682
+ yearRefurbished: number | null;
683
+ imo: string | null;
684
+ description: string | null;
685
+ deckPlanUrl: string | null;
686
+ gallery: string[] | null;
687
+ amenities: Record<string, unknown> | null;
688
+ externalRefs: Record<string, string> | null;
689
+ isActive: boolean;
690
+ createdAt: string;
691
+ updatedAt: string;
692
+ }[];
693
+ total: number;
694
+ limit: number;
695
+ offset: number;
696
+ };
697
+ [dataTagErrorSymbol]: Error;
698
+ };
699
+ };
700
+ export declare function getShipQueryOptions(client: FetchWithValidationOptions, key: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
701
+ id: string;
702
+ lineSupplierId: string | null;
703
+ name: string;
704
+ slug: string;
705
+ shipType: "ocean" | "river" | "expedition" | "coastal" | "yacht" | "sailing";
706
+ capacityGuests: number | null;
707
+ capacityCrew: number | null;
708
+ cabinCount: number | null;
709
+ deckCount: number | null;
710
+ lengthMeters: string | null;
711
+ cruisingSpeedKnots: string | null;
712
+ yearBuilt: number | null;
713
+ yearRefurbished: number | null;
714
+ imo: string | null;
715
+ description: string | null;
716
+ deckPlanUrl: string | null;
717
+ gallery: string[] | null;
718
+ amenities: Record<string, unknown> | null;
719
+ externalRefs: Record<string, string> | null;
720
+ isActive: boolean;
721
+ createdAt: string;
722
+ updatedAt: string;
723
+ }, Error, {
724
+ id: string;
725
+ lineSupplierId: string | null;
726
+ name: string;
727
+ slug: string;
728
+ shipType: "ocean" | "river" | "expedition" | "coastal" | "yacht" | "sailing";
729
+ capacityGuests: number | null;
730
+ capacityCrew: number | null;
731
+ cabinCount: number | null;
732
+ deckCount: number | null;
733
+ lengthMeters: string | null;
734
+ cruisingSpeedKnots: string | null;
735
+ yearBuilt: number | null;
736
+ yearRefurbished: number | null;
737
+ imo: string | null;
738
+ description: string | null;
739
+ deckPlanUrl: string | null;
740
+ gallery: string[] | null;
741
+ amenities: Record<string, unknown> | null;
742
+ externalRefs: Record<string, string> | null;
743
+ isActive: boolean;
744
+ createdAt: string;
745
+ updatedAt: string;
746
+ }, readonly ["voyant", "cruises", "ships", "detail", string]>, "queryFn"> & {
747
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
748
+ id: string;
749
+ lineSupplierId: string | null;
750
+ name: string;
751
+ slug: string;
752
+ shipType: "ocean" | "river" | "expedition" | "coastal" | "yacht" | "sailing";
753
+ capacityGuests: number | null;
754
+ capacityCrew: number | null;
755
+ cabinCount: number | null;
756
+ deckCount: number | null;
757
+ lengthMeters: string | null;
758
+ cruisingSpeedKnots: string | null;
759
+ yearBuilt: number | null;
760
+ yearRefurbished: number | null;
761
+ imo: string | null;
762
+ description: string | null;
763
+ deckPlanUrl: string | null;
764
+ gallery: string[] | null;
765
+ amenities: Record<string, unknown> | null;
766
+ externalRefs: Record<string, string> | null;
767
+ isActive: boolean;
768
+ createdAt: string;
769
+ updatedAt: string;
770
+ }, readonly ["voyant", "cruises", "ships", "detail", string], never> | undefined;
771
+ } & {
772
+ queryKey: readonly ["voyant", "cruises", "ships", "detail", string] & {
773
+ [dataTagSymbol]: {
774
+ id: string;
775
+ lineSupplierId: string | null;
776
+ name: string;
777
+ slug: string;
778
+ shipType: "ocean" | "river" | "expedition" | "coastal" | "yacht" | "sailing";
779
+ capacityGuests: number | null;
780
+ capacityCrew: number | null;
781
+ cabinCount: number | null;
782
+ deckCount: number | null;
783
+ lengthMeters: string | null;
784
+ cruisingSpeedKnots: string | null;
785
+ yearBuilt: number | null;
786
+ yearRefurbished: number | null;
787
+ imo: string | null;
788
+ description: string | null;
789
+ deckPlanUrl: string | null;
790
+ gallery: string[] | null;
791
+ amenities: Record<string, unknown> | null;
792
+ externalRefs: Record<string, string> | null;
793
+ isActive: boolean;
794
+ createdAt: string;
795
+ updatedAt: string;
796
+ };
797
+ [dataTagErrorSymbol]: Error;
798
+ };
799
+ };
800
+ export declare function getShipDecksQueryOptions(client: FetchWithValidationOptions, key: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
801
+ id: string;
802
+ shipId: string;
803
+ name: string;
804
+ level: number | null;
805
+ planImageUrl: string | null;
806
+ createdAt: string;
807
+ updatedAt: string;
808
+ }[], Error, {
809
+ id: string;
810
+ shipId: string;
811
+ name: string;
812
+ level: number | null;
813
+ planImageUrl: string | null;
814
+ createdAt: string;
815
+ updatedAt: string;
816
+ }[], readonly ["voyant", "cruises", "ships", "detail", string, "decks"]>, "queryFn"> & {
817
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
818
+ id: string;
819
+ shipId: string;
820
+ name: string;
821
+ level: number | null;
822
+ planImageUrl: string | null;
823
+ createdAt: string;
824
+ updatedAt: string;
825
+ }[], readonly ["voyant", "cruises", "ships", "detail", string, "decks"], never> | undefined;
826
+ } & {
827
+ queryKey: readonly ["voyant", "cruises", "ships", "detail", string, "decks"] & {
828
+ [dataTagSymbol]: {
829
+ id: string;
830
+ shipId: string;
831
+ name: string;
832
+ level: number | null;
833
+ planImageUrl: string | null;
834
+ createdAt: string;
835
+ updatedAt: string;
836
+ }[];
837
+ [dataTagErrorSymbol]: Error;
838
+ };
839
+ };
840
+ export declare function getShipCategoriesQueryOptions(client: FetchWithValidationOptions, key: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
841
+ id: string;
842
+ shipId: string;
843
+ code: string;
844
+ name: string;
845
+ roomType: "inside" | "oceanview" | "balcony" | "suite" | "penthouse" | "single";
846
+ description: string | null;
847
+ minOccupancy: number;
848
+ maxOccupancy: number;
849
+ squareFeet: string | null;
850
+ wheelchairAccessible: boolean;
851
+ amenities: string[] | null;
852
+ images: string[] | null;
853
+ floorplanImages: string[] | null;
854
+ gradeCodes: string[] | null;
855
+ externalRefs: Record<string, string> | null;
856
+ createdAt: string;
857
+ updatedAt: string;
858
+ }[], Error, {
859
+ id: string;
860
+ shipId: string;
861
+ code: string;
862
+ name: string;
863
+ roomType: "inside" | "oceanview" | "balcony" | "suite" | "penthouse" | "single";
864
+ description: string | null;
865
+ minOccupancy: number;
866
+ maxOccupancy: number;
867
+ squareFeet: string | null;
868
+ wheelchairAccessible: boolean;
869
+ amenities: string[] | null;
870
+ images: string[] | null;
871
+ floorplanImages: string[] | null;
872
+ gradeCodes: string[] | null;
873
+ externalRefs: Record<string, string> | null;
874
+ createdAt: string;
875
+ updatedAt: string;
876
+ }[], readonly ["voyant", "cruises", "ships", "detail", string, "categories"]>, "queryFn"> & {
877
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
878
+ id: string;
879
+ shipId: string;
880
+ code: string;
881
+ name: string;
882
+ roomType: "inside" | "oceanview" | "balcony" | "suite" | "penthouse" | "single";
883
+ description: string | null;
884
+ minOccupancy: number;
885
+ maxOccupancy: number;
886
+ squareFeet: string | null;
887
+ wheelchairAccessible: boolean;
888
+ amenities: string[] | null;
889
+ images: string[] | null;
890
+ floorplanImages: string[] | null;
891
+ gradeCodes: string[] | null;
892
+ externalRefs: Record<string, string> | null;
893
+ createdAt: string;
894
+ updatedAt: string;
895
+ }[], readonly ["voyant", "cruises", "ships", "detail", string, "categories"], never> | undefined;
896
+ } & {
897
+ queryKey: readonly ["voyant", "cruises", "ships", "detail", string, "categories"] & {
898
+ [dataTagSymbol]: {
899
+ id: string;
900
+ shipId: string;
901
+ code: string;
902
+ name: string;
903
+ roomType: "inside" | "oceanview" | "balcony" | "suite" | "penthouse" | "single";
904
+ description: string | null;
905
+ minOccupancy: number;
906
+ maxOccupancy: number;
907
+ squareFeet: string | null;
908
+ wheelchairAccessible: boolean;
909
+ amenities: string[] | null;
910
+ images: string[] | null;
911
+ floorplanImages: string[] | null;
912
+ gradeCodes: string[] | null;
913
+ externalRefs: Record<string, string> | null;
914
+ createdAt: string;
915
+ updatedAt: string;
916
+ }[];
917
+ [dataTagErrorSymbol]: Error;
918
+ };
919
+ };
920
+ export declare function getCategoryCabinsQueryOptions(client: FetchWithValidationOptions, categoryId: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
921
+ id: string;
922
+ categoryId: string;
923
+ cabinNumber: string;
924
+ deckId: string | null;
925
+ position: string | null;
926
+ connectsTo: string | null;
927
+ notes: string | null;
928
+ isActive: boolean;
929
+ createdAt: string;
930
+ updatedAt: string;
931
+ }[], Error, {
932
+ id: string;
933
+ categoryId: string;
934
+ cabinNumber: string;
935
+ deckId: string | null;
936
+ position: string | null;
937
+ connectsTo: string | null;
938
+ notes: string | null;
939
+ isActive: boolean;
940
+ createdAt: string;
941
+ updatedAt: string;
942
+ }[], readonly ["voyant", "cruises", "categories", string, "cabins"]>, "queryFn"> & {
943
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
944
+ id: string;
945
+ categoryId: string;
946
+ cabinNumber: string;
947
+ deckId: string | null;
948
+ position: string | null;
949
+ connectsTo: string | null;
950
+ notes: string | null;
951
+ isActive: boolean;
952
+ createdAt: string;
953
+ updatedAt: string;
954
+ }[], readonly ["voyant", "cruises", "categories", string, "cabins"], never> | undefined;
955
+ } & {
956
+ queryKey: readonly ["voyant", "cruises", "categories", string, "cabins"] & {
957
+ [dataTagSymbol]: {
958
+ id: string;
959
+ categoryId: string;
960
+ cabinNumber: string;
961
+ deckId: string | null;
962
+ position: string | null;
963
+ connectsTo: string | null;
964
+ notes: string | null;
965
+ isActive: boolean;
966
+ createdAt: string;
967
+ updatedAt: string;
968
+ }[];
969
+ [dataTagErrorSymbol]: Error;
970
+ };
971
+ };
972
+ export declare function getPricesQueryOptions(client: FetchWithValidationOptions, filters?: PricesListFilters): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
973
+ data: {
974
+ id: string;
975
+ sailingId: string;
976
+ cabinCategoryId: string;
977
+ occupancy: number;
978
+ fareCode: string | null;
979
+ fareCodeName: string | null;
980
+ currency: string;
981
+ pricePerPerson: string;
982
+ secondGuestPricePerPerson: string | null;
983
+ singleSupplementPercent: string | null;
984
+ availability: "on_request" | "wait_list" | "sold_out" | "available" | "limited";
985
+ availabilityCount: number | null;
986
+ priceCatalogId: string | null;
987
+ priceScheduleId: string | null;
988
+ bookingDeadline: string | null;
989
+ requiresRequest: boolean;
990
+ notes: string | null;
991
+ externalRefs: Record<string, string> | null;
992
+ lastSyncedAt: string | null;
993
+ createdAt: string;
994
+ updatedAt: string;
995
+ }[];
996
+ total: number;
997
+ limit: number;
998
+ offset: number;
999
+ }, Error, {
1000
+ data: {
1001
+ id: string;
1002
+ sailingId: string;
1003
+ cabinCategoryId: string;
1004
+ occupancy: number;
1005
+ fareCode: string | null;
1006
+ fareCodeName: string | null;
1007
+ currency: string;
1008
+ pricePerPerson: string;
1009
+ secondGuestPricePerPerson: string | null;
1010
+ singleSupplementPercent: string | null;
1011
+ availability: "on_request" | "wait_list" | "sold_out" | "available" | "limited";
1012
+ availabilityCount: number | null;
1013
+ priceCatalogId: string | null;
1014
+ priceScheduleId: string | null;
1015
+ bookingDeadline: string | null;
1016
+ requiresRequest: boolean;
1017
+ notes: string | null;
1018
+ externalRefs: Record<string, string> | null;
1019
+ lastSyncedAt: string | null;
1020
+ createdAt: string;
1021
+ updatedAt: string;
1022
+ }[];
1023
+ total: number;
1024
+ limit: number;
1025
+ offset: number;
1026
+ }, readonly ["voyant", "cruises", "prices", "list", PricesListFilters]>, "queryFn"> & {
1027
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1028
+ data: {
1029
+ id: string;
1030
+ sailingId: string;
1031
+ cabinCategoryId: string;
1032
+ occupancy: number;
1033
+ fareCode: string | null;
1034
+ fareCodeName: string | null;
1035
+ currency: string;
1036
+ pricePerPerson: string;
1037
+ secondGuestPricePerPerson: string | null;
1038
+ singleSupplementPercent: string | null;
1039
+ availability: "on_request" | "wait_list" | "sold_out" | "available" | "limited";
1040
+ availabilityCount: number | null;
1041
+ priceCatalogId: string | null;
1042
+ priceScheduleId: string | null;
1043
+ bookingDeadline: string | null;
1044
+ requiresRequest: boolean;
1045
+ notes: string | null;
1046
+ externalRefs: Record<string, string> | null;
1047
+ lastSyncedAt: string | null;
1048
+ createdAt: string;
1049
+ updatedAt: string;
1050
+ }[];
1051
+ total: number;
1052
+ limit: number;
1053
+ offset: number;
1054
+ }, readonly ["voyant", "cruises", "prices", "list", PricesListFilters], never> | undefined;
1055
+ } & {
1056
+ queryKey: readonly ["voyant", "cruises", "prices", "list", PricesListFilters] & {
1057
+ [dataTagSymbol]: {
1058
+ data: {
1059
+ id: string;
1060
+ sailingId: string;
1061
+ cabinCategoryId: string;
1062
+ occupancy: number;
1063
+ fareCode: string | null;
1064
+ fareCodeName: string | null;
1065
+ currency: string;
1066
+ pricePerPerson: string;
1067
+ secondGuestPricePerPerson: string | null;
1068
+ singleSupplementPercent: string | null;
1069
+ availability: "on_request" | "wait_list" | "sold_out" | "available" | "limited";
1070
+ availabilityCount: number | null;
1071
+ priceCatalogId: string | null;
1072
+ priceScheduleId: string | null;
1073
+ bookingDeadline: string | null;
1074
+ requiresRequest: boolean;
1075
+ notes: string | null;
1076
+ externalRefs: Record<string, string> | null;
1077
+ lastSyncedAt: string | null;
1078
+ createdAt: string;
1079
+ updatedAt: string;
1080
+ }[];
1081
+ total: number;
1082
+ limit: number;
1083
+ offset: number;
1084
+ };
1085
+ [dataTagErrorSymbol]: Error;
1086
+ };
1087
+ };
1088
+ export declare function getEnrichmentProgramsQueryOptions(client: FetchWithValidationOptions, cruiseKey: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1089
+ id: string;
1090
+ cruiseId: string;
1091
+ kind: "naturalist" | "historian" | "photographer" | "lecturer" | "expert" | "other";
1092
+ name: string;
1093
+ title: string | null;
1094
+ description: string | null;
1095
+ bioImageUrl: string | null;
1096
+ sortOrder: number;
1097
+ createdAt: string;
1098
+ updatedAt: string;
1099
+ }[], Error, {
1100
+ id: string;
1101
+ cruiseId: string;
1102
+ kind: "naturalist" | "historian" | "photographer" | "lecturer" | "expert" | "other";
1103
+ name: string;
1104
+ title: string | null;
1105
+ description: string | null;
1106
+ bioImageUrl: string | null;
1107
+ sortOrder: number;
1108
+ createdAt: string;
1109
+ updatedAt: string;
1110
+ }[], readonly ["voyant", "cruises", "cruises", "detail", string, readonly ("sailings" | "days")[], "enrichment"]>, "queryFn"> & {
1111
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1112
+ id: string;
1113
+ cruiseId: string;
1114
+ kind: "naturalist" | "historian" | "photographer" | "lecturer" | "expert" | "other";
1115
+ name: string;
1116
+ title: string | null;
1117
+ description: string | null;
1118
+ bioImageUrl: string | null;
1119
+ sortOrder: number;
1120
+ createdAt: string;
1121
+ updatedAt: string;
1122
+ }[], readonly ["voyant", "cruises", "cruises", "detail", string, readonly ("sailings" | "days")[], "enrichment"], never> | undefined;
1123
+ } & {
1124
+ queryKey: readonly ["voyant", "cruises", "cruises", "detail", string, readonly ("sailings" | "days")[], "enrichment"] & {
1125
+ [dataTagSymbol]: {
1126
+ id: string;
1127
+ cruiseId: string;
1128
+ kind: "naturalist" | "historian" | "photographer" | "lecturer" | "expert" | "other";
1129
+ name: string;
1130
+ title: string | null;
1131
+ description: string | null;
1132
+ bioImageUrl: string | null;
1133
+ sortOrder: number;
1134
+ createdAt: string;
1135
+ updatedAt: string;
1136
+ }[];
1137
+ [dataTagErrorSymbol]: Error;
1138
+ };
1139
+ };
1140
+ export declare function getStorefrontCruisesQueryOptions(client: FetchWithValidationOptions, filters?: StorefrontListFilters): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1141
+ data: {
1142
+ id: string;
1143
+ source: "local" | "external";
1144
+ sourceProvider: string | null;
1145
+ sourceRef: Record<string, unknown> | null;
1146
+ localCruiseId: string | null;
1147
+ slug: string;
1148
+ name: string;
1149
+ cruiseType: "ocean" | "river" | "expedition" | "coastal";
1150
+ lineName: string;
1151
+ shipName: string;
1152
+ nights: number;
1153
+ embarkPortName: string | null;
1154
+ disembarkPortName: string | null;
1155
+ regions: string[] | null;
1156
+ themes: string[] | null;
1157
+ earliestDeparture: string | null;
1158
+ latestDeparture: string | null;
1159
+ departureCount: number | null;
1160
+ lowestPriceCents: number | null;
1161
+ lowestPriceCurrency: string | null;
1162
+ salesStatus: string | null;
1163
+ heroImageUrl: string | null;
1164
+ refreshedAt: string;
1165
+ createdAt: string;
1166
+ updatedAt: string;
1167
+ }[];
1168
+ total: number;
1169
+ limit: number;
1170
+ offset: number;
1171
+ }, Error, {
1172
+ data: {
1173
+ id: string;
1174
+ source: "local" | "external";
1175
+ sourceProvider: string | null;
1176
+ sourceRef: Record<string, unknown> | null;
1177
+ localCruiseId: string | null;
1178
+ slug: string;
1179
+ name: string;
1180
+ cruiseType: "ocean" | "river" | "expedition" | "coastal";
1181
+ lineName: string;
1182
+ shipName: string;
1183
+ nights: number;
1184
+ embarkPortName: string | null;
1185
+ disembarkPortName: string | null;
1186
+ regions: string[] | null;
1187
+ themes: string[] | null;
1188
+ earliestDeparture: string | null;
1189
+ latestDeparture: string | null;
1190
+ departureCount: number | null;
1191
+ lowestPriceCents: number | null;
1192
+ lowestPriceCurrency: string | null;
1193
+ salesStatus: string | null;
1194
+ heroImageUrl: string | null;
1195
+ refreshedAt: string;
1196
+ createdAt: string;
1197
+ updatedAt: string;
1198
+ }[];
1199
+ total: number;
1200
+ limit: number;
1201
+ offset: number;
1202
+ }, readonly ["voyant", "cruises", "storefront", "list", StorefrontListFilters]>, "queryFn"> & {
1203
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1204
+ data: {
1205
+ id: string;
1206
+ source: "local" | "external";
1207
+ sourceProvider: string | null;
1208
+ sourceRef: Record<string, unknown> | null;
1209
+ localCruiseId: string | null;
1210
+ slug: string;
1211
+ name: string;
1212
+ cruiseType: "ocean" | "river" | "expedition" | "coastal";
1213
+ lineName: string;
1214
+ shipName: string;
1215
+ nights: number;
1216
+ embarkPortName: string | null;
1217
+ disembarkPortName: string | null;
1218
+ regions: string[] | null;
1219
+ themes: string[] | null;
1220
+ earliestDeparture: string | null;
1221
+ latestDeparture: string | null;
1222
+ departureCount: number | null;
1223
+ lowestPriceCents: number | null;
1224
+ lowestPriceCurrency: string | null;
1225
+ salesStatus: string | null;
1226
+ heroImageUrl: string | null;
1227
+ refreshedAt: string;
1228
+ createdAt: string;
1229
+ updatedAt: string;
1230
+ }[];
1231
+ total: number;
1232
+ limit: number;
1233
+ offset: number;
1234
+ }, readonly ["voyant", "cruises", "storefront", "list", StorefrontListFilters], never> | undefined;
1235
+ } & {
1236
+ queryKey: readonly ["voyant", "cruises", "storefront", "list", StorefrontListFilters] & {
1237
+ [dataTagSymbol]: {
1238
+ data: {
1239
+ id: string;
1240
+ source: "local" | "external";
1241
+ sourceProvider: string | null;
1242
+ sourceRef: Record<string, unknown> | null;
1243
+ localCruiseId: string | null;
1244
+ slug: string;
1245
+ name: string;
1246
+ cruiseType: "ocean" | "river" | "expedition" | "coastal";
1247
+ lineName: string;
1248
+ shipName: string;
1249
+ nights: number;
1250
+ embarkPortName: string | null;
1251
+ disembarkPortName: string | null;
1252
+ regions: string[] | null;
1253
+ themes: string[] | null;
1254
+ earliestDeparture: string | null;
1255
+ latestDeparture: string | null;
1256
+ departureCount: number | null;
1257
+ lowestPriceCents: number | null;
1258
+ lowestPriceCurrency: string | null;
1259
+ salesStatus: string | null;
1260
+ heroImageUrl: string | null;
1261
+ refreshedAt: string;
1262
+ createdAt: string;
1263
+ updatedAt: string;
1264
+ }[];
1265
+ total: number;
1266
+ limit: number;
1267
+ offset: number;
1268
+ };
1269
+ [dataTagErrorSymbol]: Error;
1270
+ };
1271
+ };
1272
+ //# sourceMappingURL=query-options.d.ts.map