@voyant-travel/storefront-react 0.120.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +17 -0
  3. package/dist/client.d.ts +16 -0
  4. package/dist/client.d.ts.map +1 -0
  5. package/dist/client.js +78 -0
  6. package/dist/components/storefront-settings-page.d.ts +5 -0
  7. package/dist/components/storefront-settings-page.d.ts.map +1 -0
  8. package/dist/components/storefront-settings-page.js +39 -0
  9. package/dist/customer-portal/client.d.ts +16 -0
  10. package/dist/customer-portal/client.d.ts.map +1 -0
  11. package/dist/customer-portal/client.js +78 -0
  12. package/dist/customer-portal/hooks/index.d.ts +12 -0
  13. package/dist/customer-portal/hooks/index.d.ts.map +1 -0
  14. package/dist/customer-portal/hooks/index.js +11 -0
  15. package/dist/customer-portal/hooks/use-customer-portal-booking-billing-contact.d.ts +18 -0
  16. package/dist/customer-portal/hooks/use-customer-portal-booking-billing-contact.d.ts.map +1 -0
  17. package/dist/customer-portal/hooks/use-customer-portal-booking-billing-contact.js +12 -0
  18. package/dist/customer-portal/hooks/use-customer-portal-booking-documents.d.ts +16 -0
  19. package/dist/customer-portal/hooks/use-customer-portal-booking-documents.d.ts.map +1 -0
  20. package/dist/customer-portal/hooks/use-customer-portal-booking-documents.js +12 -0
  21. package/dist/customer-portal/hooks/use-customer-portal-booking.d.ts +109 -0
  22. package/dist/customer-portal/hooks/use-customer-portal-booking.d.ts.map +1 -0
  23. package/dist/customer-portal/hooks/use-customer-portal-booking.js +12 -0
  24. package/dist/customer-portal/hooks/use-customer-portal-bookings.d.ts +22 -0
  25. package/dist/customer-portal/hooks/use-customer-portal-bookings.d.ts.map +1 -0
  26. package/dist/customer-portal/hooks/use-customer-portal-bookings.js +12 -0
  27. package/dist/customer-portal/hooks/use-customer-portal-companions.d.ts +42 -0
  28. package/dist/customer-portal/hooks/use-customer-portal-companions.d.ts.map +1 -0
  29. package/dist/customer-portal/hooks/use-customer-portal-companions.js +12 -0
  30. package/dist/customer-portal/hooks/use-customer-portal-contact-exists.d.ts +12 -0
  31. package/dist/customer-portal/hooks/use-customer-portal-contact-exists.d.ts.map +1 -0
  32. package/dist/customer-portal/hooks/use-customer-portal-contact-exists.js +12 -0
  33. package/dist/customer-portal/hooks/use-customer-portal-mutation.d.ts +419 -0
  34. package/dist/customer-portal/hooks/use-customer-portal-mutation.d.ts.map +1 -0
  35. package/dist/customer-portal/hooks/use-customer-portal-mutation.js +62 -0
  36. package/dist/customer-portal/hooks/use-customer-portal-phone-contact-exists.d.ts +13 -0
  37. package/dist/customer-portal/hooks/use-customer-portal-phone-contact-exists.d.ts.map +1 -0
  38. package/dist/customer-portal/hooks/use-customer-portal-phone-contact-exists.js +12 -0
  39. package/dist/customer-portal/hooks/use-customer-portal-profile-document-mutation.d.ts +69 -0
  40. package/dist/customer-portal/hooks/use-customer-portal-profile-document-mutation.d.ts.map +1 -0
  41. package/dist/customer-portal/hooks/use-customer-portal-profile-document-mutation.js +28 -0
  42. package/dist/customer-portal/hooks/use-customer-portal-profile-documents.d.ts +20 -0
  43. package/dist/customer-portal/hooks/use-customer-portal-profile-documents.d.ts.map +1 -0
  44. package/dist/customer-portal/hooks/use-customer-portal-profile-documents.js +12 -0
  45. package/dist/customer-portal/hooks/use-customer-portal-profile.d.ts +61 -0
  46. package/dist/customer-portal/hooks/use-customer-portal-profile.d.ts.map +1 -0
  47. package/dist/customer-portal/hooks/use-customer-portal-profile.js +12 -0
  48. package/dist/customer-portal/index.d.ts +9 -0
  49. package/dist/customer-portal/index.d.ts.map +1 -0
  50. package/dist/customer-portal/index.js +7 -0
  51. package/dist/customer-portal/operations.d.ts +595 -0
  52. package/dist/customer-portal/operations.d.ts.map +1 -0
  53. package/dist/customer-portal/operations.js +84 -0
  54. package/dist/customer-portal/provider.d.ts +2 -0
  55. package/dist/customer-portal/provider.d.ts.map +1 -0
  56. package/dist/customer-portal/provider.js +1 -0
  57. package/dist/customer-portal/query-keys.d.ts +21 -0
  58. package/dist/customer-portal/query-keys.d.ts.map +1 -0
  59. package/dist/customer-portal/query-keys.js +14 -0
  60. package/dist/customer-portal/query-options.d.ts +1148 -0
  61. package/dist/customer-portal/query-options.d.ts.map +1 -0
  62. package/dist/customer-portal/query-options.js +58 -0
  63. package/dist/customer-portal/schemas.d.ts +751 -0
  64. package/dist/customer-portal/schemas.d.ts.map +1 -0
  65. package/dist/customer-portal/schemas.js +21 -0
  66. package/dist/hooks/index.d.ts +12 -0
  67. package/dist/hooks/index.d.ts.map +1 -0
  68. package/dist/hooks/index.js +11 -0
  69. package/dist/hooks/use-admin-storefront-settings.d.ts +290 -0
  70. package/dist/hooks/use-admin-storefront-settings.d.ts.map +1 -0
  71. package/dist/hooks/use-admin-storefront-settings.js +29 -0
  72. package/dist/hooks/use-storefront-departure-itinerary.d.ts +23 -0
  73. package/dist/hooks/use-storefront-departure-itinerary.d.ts.map +1 -0
  74. package/dist/hooks/use-storefront-departure-itinerary.js +12 -0
  75. package/dist/hooks/use-storefront-departure-price-preview-mutation.d.ts +244 -0
  76. package/dist/hooks/use-storefront-departure-price-preview-mutation.d.ts.map +1 -0
  77. package/dist/hooks/use-storefront-departure-price-preview-mutation.js +15 -0
  78. package/dist/hooks/use-storefront-departure.d.ts +51 -0
  79. package/dist/hooks/use-storefront-departure.d.ts.map +1 -0
  80. package/dist/hooks/use-storefront-departure.js +12 -0
  81. package/dist/hooks/use-storefront-offer-apply-mutation.d.ts +68 -0
  82. package/dist/hooks/use-storefront-offer-apply-mutation.d.ts.map +1 -0
  83. package/dist/hooks/use-storefront-offer-apply-mutation.js +15 -0
  84. package/dist/hooks/use-storefront-offer-redeem-mutation.d.ts +69 -0
  85. package/dist/hooks/use-storefront-offer-redeem-mutation.d.ts.map +1 -0
  86. package/dist/hooks/use-storefront-offer-redeem-mutation.js +12 -0
  87. package/dist/hooks/use-storefront-offer.d.ts +26 -0
  88. package/dist/hooks/use-storefront-offer.d.ts.map +1 -0
  89. package/dist/hooks/use-storefront-offer.js +12 -0
  90. package/dist/hooks/use-storefront-product-departures.d.ts +55 -0
  91. package/dist/hooks/use-storefront-product-departures.d.ts.map +1 -0
  92. package/dist/hooks/use-storefront-product-departures.js +12 -0
  93. package/dist/hooks/use-storefront-product-extensions.d.ts +47 -0
  94. package/dist/hooks/use-storefront-product-extensions.d.ts.map +1 -0
  95. package/dist/hooks/use-storefront-product-extensions.js +12 -0
  96. package/dist/hooks/use-storefront-product-offers.d.ts +26 -0
  97. package/dist/hooks/use-storefront-product-offers.d.ts.map +1 -0
  98. package/dist/hooks/use-storefront-product-offers.js +12 -0
  99. package/dist/hooks/use-storefront-settings.d.ts +101 -0
  100. package/dist/hooks/use-storefront-settings.d.ts.map +1 -0
  101. package/dist/hooks/use-storefront-settings.js +12 -0
  102. package/dist/index.d.ts +8 -0
  103. package/dist/index.d.ts.map +1 -0
  104. package/dist/index.js +7 -0
  105. package/dist/internal/storefront-settings-form.d.ts +50 -0
  106. package/dist/internal/storefront-settings-form.d.ts.map +1 -0
  107. package/dist/internal/storefront-settings-form.js +246 -0
  108. package/dist/internal/storefront-settings-payment-section.d.ts +12 -0
  109. package/dist/internal/storefront-settings-payment-section.d.ts.map +1 -0
  110. package/dist/internal/storefront-settings-payment-section.js +14 -0
  111. package/dist/internal/storefront-settings-sections.d.ts +23 -0
  112. package/dist/internal/storefront-settings-sections.d.ts.map +1 -0
  113. package/dist/internal/storefront-settings-sections.js +32 -0
  114. package/dist/operations.d.ts +827 -0
  115. package/dist/operations.d.ts.map +1 -0
  116. package/dist/operations.js +46 -0
  117. package/dist/operations.test.d.ts +2 -0
  118. package/dist/operations.test.d.ts.map +1 -0
  119. package/dist/operations.test.js +77 -0
  120. package/dist/provider.d.ts +2 -0
  121. package/dist/provider.d.ts.map +1 -0
  122. package/dist/provider.js +1 -0
  123. package/dist/query-keys.d.ts +32 -0
  124. package/dist/query-keys.d.ts.map +1 -0
  125. package/dist/query-keys.js +15 -0
  126. package/dist/query-options.d.ts +1648 -0
  127. package/dist/query-options.d.ts.map +1 -0
  128. package/dist/query-options.js +52 -0
  129. package/dist/schemas.d.ts +576 -0
  130. package/dist/schemas.d.ts.map +1 -0
  131. package/dist/schemas.js +11 -0
  132. package/dist/ui.d.ts +2 -0
  133. package/dist/ui.d.ts.map +1 -0
  134. package/dist/ui.js +1 -0
  135. package/package.json +133 -0
  136. package/src/styles.css +1 -0
@@ -0,0 +1,1148 @@
1
+ import type { FetchWithValidationOptions } from "./client.js";
2
+ import { type CustomerPortalContactExistsFilters, type CustomerPortalPhoneContactExistsFilters } from "./query-keys.js";
3
+ export declare function getCustomerPortalProfileQueryOptions(client: FetchWithValidationOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
4
+ data: {
5
+ userId: string;
6
+ email: string | null;
7
+ emailVerified: boolean;
8
+ firstName: string | null;
9
+ middleName: string | null;
10
+ lastName: string | null;
11
+ avatarUrl: string | null;
12
+ locale: string;
13
+ timezone: string | null;
14
+ seatingPreference: "aisle" | "window" | "middle" | "no_preference" | null;
15
+ dateOfBirth: string | null;
16
+ address: {
17
+ country: string | null;
18
+ state: string | null;
19
+ city: string | null;
20
+ postalCode: string | null;
21
+ addressLine1: string | null;
22
+ addressLine2: string | null;
23
+ } | null;
24
+ accessibility: string | null;
25
+ dietary: string | null;
26
+ loyalty: string | null;
27
+ insurance: string | null;
28
+ marketingConsent: boolean;
29
+ marketingConsentAt: string | null;
30
+ marketingConsentSource: string | null;
31
+ notificationDefaults: Record<string, unknown> | null;
32
+ uiPrefs: Record<string, unknown> | null;
33
+ customerRecord: {
34
+ id: string;
35
+ firstName: string;
36
+ lastName: string;
37
+ preferredLanguage: string | null;
38
+ preferredCurrency: string | null;
39
+ dateOfBirth: string | null;
40
+ email: string | null;
41
+ phone: string | null;
42
+ billingAddress: {
43
+ id: string;
44
+ label: "legal" | "billing" | "primary" | "shipping" | "mailing" | "meeting" | "service" | "other";
45
+ fullText: string | null;
46
+ line1: string | null;
47
+ line2: string | null;
48
+ city: string | null;
49
+ region: string | null;
50
+ postalCode: string | null;
51
+ country: string | null;
52
+ isPrimary: boolean;
53
+ } | null;
54
+ relation: string | null;
55
+ status: string;
56
+ } | null;
57
+ phoneNumber?: string | null | undefined;
58
+ };
59
+ }, Error, {
60
+ data: {
61
+ userId: string;
62
+ email: string | null;
63
+ emailVerified: boolean;
64
+ firstName: string | null;
65
+ middleName: string | null;
66
+ lastName: string | null;
67
+ avatarUrl: string | null;
68
+ locale: string;
69
+ timezone: string | null;
70
+ seatingPreference: "aisle" | "window" | "middle" | "no_preference" | null;
71
+ dateOfBirth: string | null;
72
+ address: {
73
+ country: string | null;
74
+ state: string | null;
75
+ city: string | null;
76
+ postalCode: string | null;
77
+ addressLine1: string | null;
78
+ addressLine2: string | null;
79
+ } | null;
80
+ accessibility: string | null;
81
+ dietary: string | null;
82
+ loyalty: string | null;
83
+ insurance: string | null;
84
+ marketingConsent: boolean;
85
+ marketingConsentAt: string | null;
86
+ marketingConsentSource: string | null;
87
+ notificationDefaults: Record<string, unknown> | null;
88
+ uiPrefs: Record<string, unknown> | null;
89
+ customerRecord: {
90
+ id: string;
91
+ firstName: string;
92
+ lastName: string;
93
+ preferredLanguage: string | null;
94
+ preferredCurrency: string | null;
95
+ dateOfBirth: string | null;
96
+ email: string | null;
97
+ phone: string | null;
98
+ billingAddress: {
99
+ id: string;
100
+ label: "legal" | "billing" | "primary" | "shipping" | "mailing" | "meeting" | "service" | "other";
101
+ fullText: string | null;
102
+ line1: string | null;
103
+ line2: string | null;
104
+ city: string | null;
105
+ region: string | null;
106
+ postalCode: string | null;
107
+ country: string | null;
108
+ isPrimary: boolean;
109
+ } | null;
110
+ relation: string | null;
111
+ status: string;
112
+ } | null;
113
+ phoneNumber?: string | null | undefined;
114
+ };
115
+ }, readonly ["customer-portal", "profile"]>, "queryFn"> & {
116
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
117
+ data: {
118
+ userId: string;
119
+ email: string | null;
120
+ emailVerified: boolean;
121
+ firstName: string | null;
122
+ middleName: string | null;
123
+ lastName: string | null;
124
+ avatarUrl: string | null;
125
+ locale: string;
126
+ timezone: string | null;
127
+ seatingPreference: "aisle" | "window" | "middle" | "no_preference" | null;
128
+ dateOfBirth: string | null;
129
+ address: {
130
+ country: string | null;
131
+ state: string | null;
132
+ city: string | null;
133
+ postalCode: string | null;
134
+ addressLine1: string | null;
135
+ addressLine2: string | null;
136
+ } | null;
137
+ accessibility: string | null;
138
+ dietary: string | null;
139
+ loyalty: string | null;
140
+ insurance: string | null;
141
+ marketingConsent: boolean;
142
+ marketingConsentAt: string | null;
143
+ marketingConsentSource: string | null;
144
+ notificationDefaults: Record<string, unknown> | null;
145
+ uiPrefs: Record<string, unknown> | null;
146
+ customerRecord: {
147
+ id: string;
148
+ firstName: string;
149
+ lastName: string;
150
+ preferredLanguage: string | null;
151
+ preferredCurrency: string | null;
152
+ dateOfBirth: string | null;
153
+ email: string | null;
154
+ phone: string | null;
155
+ billingAddress: {
156
+ id: string;
157
+ label: "legal" | "billing" | "primary" | "shipping" | "mailing" | "meeting" | "service" | "other";
158
+ fullText: string | null;
159
+ line1: string | null;
160
+ line2: string | null;
161
+ city: string | null;
162
+ region: string | null;
163
+ postalCode: string | null;
164
+ country: string | null;
165
+ isPrimary: boolean;
166
+ } | null;
167
+ relation: string | null;
168
+ status: string;
169
+ } | null;
170
+ phoneNumber?: string | null | undefined;
171
+ };
172
+ }, readonly ["customer-portal", "profile"], never> | undefined;
173
+ } & {
174
+ queryKey: readonly ["customer-portal", "profile"] & {
175
+ [dataTagSymbol]: {
176
+ data: {
177
+ userId: string;
178
+ email: string | null;
179
+ emailVerified: boolean;
180
+ firstName: string | null;
181
+ middleName: string | null;
182
+ lastName: string | null;
183
+ avatarUrl: string | null;
184
+ locale: string;
185
+ timezone: string | null;
186
+ seatingPreference: "aisle" | "window" | "middle" | "no_preference" | null;
187
+ dateOfBirth: string | null;
188
+ address: {
189
+ country: string | null;
190
+ state: string | null;
191
+ city: string | null;
192
+ postalCode: string | null;
193
+ addressLine1: string | null;
194
+ addressLine2: string | null;
195
+ } | null;
196
+ accessibility: string | null;
197
+ dietary: string | null;
198
+ loyalty: string | null;
199
+ insurance: string | null;
200
+ marketingConsent: boolean;
201
+ marketingConsentAt: string | null;
202
+ marketingConsentSource: string | null;
203
+ notificationDefaults: Record<string, unknown> | null;
204
+ uiPrefs: Record<string, unknown> | null;
205
+ customerRecord: {
206
+ id: string;
207
+ firstName: string;
208
+ lastName: string;
209
+ preferredLanguage: string | null;
210
+ preferredCurrency: string | null;
211
+ dateOfBirth: string | null;
212
+ email: string | null;
213
+ phone: string | null;
214
+ billingAddress: {
215
+ id: string;
216
+ label: "legal" | "billing" | "primary" | "shipping" | "mailing" | "meeting" | "service" | "other";
217
+ fullText: string | null;
218
+ line1: string | null;
219
+ line2: string | null;
220
+ city: string | null;
221
+ region: string | null;
222
+ postalCode: string | null;
223
+ country: string | null;
224
+ isPrimary: boolean;
225
+ } | null;
226
+ relation: string | null;
227
+ status: string;
228
+ } | null;
229
+ phoneNumber?: string | null | undefined;
230
+ };
231
+ };
232
+ [dataTagErrorSymbol]: Error;
233
+ };
234
+ };
235
+ export declare function getCustomerPortalProfileDocumentsQueryOptions(client: FetchWithValidationOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
236
+ data: {
237
+ id: string;
238
+ type: "other" | "passport" | "id_card" | "visa" | "drivers_license";
239
+ number: string | null;
240
+ issuingAuthority: string | null;
241
+ issuingCountry: string | null;
242
+ issueDate: string | null;
243
+ expiryDate: string | null;
244
+ attachmentId: string | null;
245
+ isPrimary: boolean;
246
+ notes: string | null;
247
+ createdAt: string;
248
+ updatedAt: string;
249
+ }[];
250
+ }, Error, {
251
+ data: {
252
+ id: string;
253
+ type: "other" | "passport" | "id_card" | "visa" | "drivers_license";
254
+ number: string | null;
255
+ issuingAuthority: string | null;
256
+ issuingCountry: string | null;
257
+ issueDate: string | null;
258
+ expiryDate: string | null;
259
+ attachmentId: string | null;
260
+ isPrimary: boolean;
261
+ notes: string | null;
262
+ createdAt: string;
263
+ updatedAt: string;
264
+ }[];
265
+ }, readonly ["customer-portal", "profile", "documents"]>, "queryFn"> & {
266
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
267
+ data: {
268
+ id: string;
269
+ type: "other" | "passport" | "id_card" | "visa" | "drivers_license";
270
+ number: string | null;
271
+ issuingAuthority: string | null;
272
+ issuingCountry: string | null;
273
+ issueDate: string | null;
274
+ expiryDate: string | null;
275
+ attachmentId: string | null;
276
+ isPrimary: boolean;
277
+ notes: string | null;
278
+ createdAt: string;
279
+ updatedAt: string;
280
+ }[];
281
+ }, readonly ["customer-portal", "profile", "documents"], never> | undefined;
282
+ } & {
283
+ queryKey: readonly ["customer-portal", "profile", "documents"] & {
284
+ [dataTagSymbol]: {
285
+ data: {
286
+ id: string;
287
+ type: "other" | "passport" | "id_card" | "visa" | "drivers_license";
288
+ number: string | null;
289
+ issuingAuthority: string | null;
290
+ issuingCountry: string | null;
291
+ issueDate: string | null;
292
+ expiryDate: string | null;
293
+ attachmentId: string | null;
294
+ isPrimary: boolean;
295
+ notes: string | null;
296
+ createdAt: string;
297
+ updatedAt: string;
298
+ }[];
299
+ };
300
+ [dataTagErrorSymbol]: Error;
301
+ };
302
+ };
303
+ export declare function getCustomerPortalCompanionsQueryOptions(client: FetchWithValidationOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
304
+ data: {
305
+ id: string;
306
+ role: string;
307
+ name: string;
308
+ title: string | null;
309
+ email: string | null;
310
+ phone: string | null;
311
+ isPrimary: boolean;
312
+ notes: string | null;
313
+ typeKey: string | null;
314
+ person: {
315
+ firstName: string | null;
316
+ middleName: string | null;
317
+ lastName: string | null;
318
+ dateOfBirth: string | null;
319
+ addresses: {
320
+ type: string | null;
321
+ country: string | null;
322
+ state: string | null;
323
+ city: string | null;
324
+ postalCode: string | null;
325
+ addressLine1: string | null;
326
+ addressLine2: string | null;
327
+ isDefault: boolean;
328
+ }[];
329
+ documents: {
330
+ type: "other" | "passport" | "id_card" | "visa" | "drivers_license";
331
+ number: string | null;
332
+ issuingAuthority: string | null;
333
+ country: string | null;
334
+ issueDate: string | null;
335
+ expiryDate: string | null;
336
+ }[];
337
+ };
338
+ metadata: Record<string, unknown> | null;
339
+ }[];
340
+ }, Error, {
341
+ data: {
342
+ id: string;
343
+ role: string;
344
+ name: string;
345
+ title: string | null;
346
+ email: string | null;
347
+ phone: string | null;
348
+ isPrimary: boolean;
349
+ notes: string | null;
350
+ typeKey: string | null;
351
+ person: {
352
+ firstName: string | null;
353
+ middleName: string | null;
354
+ lastName: string | null;
355
+ dateOfBirth: string | null;
356
+ addresses: {
357
+ type: string | null;
358
+ country: string | null;
359
+ state: string | null;
360
+ city: string | null;
361
+ postalCode: string | null;
362
+ addressLine1: string | null;
363
+ addressLine2: string | null;
364
+ isDefault: boolean;
365
+ }[];
366
+ documents: {
367
+ type: "other" | "passport" | "id_card" | "visa" | "drivers_license";
368
+ number: string | null;
369
+ issuingAuthority: string | null;
370
+ country: string | null;
371
+ issueDate: string | null;
372
+ expiryDate: string | null;
373
+ }[];
374
+ };
375
+ metadata: Record<string, unknown> | null;
376
+ }[];
377
+ }, readonly ["customer-portal", "companions"]>, "queryFn"> & {
378
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
379
+ data: {
380
+ id: string;
381
+ role: string;
382
+ name: string;
383
+ title: string | null;
384
+ email: string | null;
385
+ phone: string | null;
386
+ isPrimary: boolean;
387
+ notes: string | null;
388
+ typeKey: string | null;
389
+ person: {
390
+ firstName: string | null;
391
+ middleName: string | null;
392
+ lastName: string | null;
393
+ dateOfBirth: string | null;
394
+ addresses: {
395
+ type: string | null;
396
+ country: string | null;
397
+ state: string | null;
398
+ city: string | null;
399
+ postalCode: string | null;
400
+ addressLine1: string | null;
401
+ addressLine2: string | null;
402
+ isDefault: boolean;
403
+ }[];
404
+ documents: {
405
+ type: "other" | "passport" | "id_card" | "visa" | "drivers_license";
406
+ number: string | null;
407
+ issuingAuthority: string | null;
408
+ country: string | null;
409
+ issueDate: string | null;
410
+ expiryDate: string | null;
411
+ }[];
412
+ };
413
+ metadata: Record<string, unknown> | null;
414
+ }[];
415
+ }, readonly ["customer-portal", "companions"], never> | undefined;
416
+ } & {
417
+ queryKey: readonly ["customer-portal", "companions"] & {
418
+ [dataTagSymbol]: {
419
+ data: {
420
+ id: string;
421
+ role: string;
422
+ name: string;
423
+ title: string | null;
424
+ email: string | null;
425
+ phone: string | null;
426
+ isPrimary: boolean;
427
+ notes: string | null;
428
+ typeKey: string | null;
429
+ person: {
430
+ firstName: string | null;
431
+ middleName: string | null;
432
+ lastName: string | null;
433
+ dateOfBirth: string | null;
434
+ addresses: {
435
+ type: string | null;
436
+ country: string | null;
437
+ state: string | null;
438
+ city: string | null;
439
+ postalCode: string | null;
440
+ addressLine1: string | null;
441
+ addressLine2: string | null;
442
+ isDefault: boolean;
443
+ }[];
444
+ documents: {
445
+ type: "other" | "passport" | "id_card" | "visa" | "drivers_license";
446
+ number: string | null;
447
+ issuingAuthority: string | null;
448
+ country: string | null;
449
+ issueDate: string | null;
450
+ expiryDate: string | null;
451
+ }[];
452
+ };
453
+ metadata: Record<string, unknown> | null;
454
+ }[];
455
+ };
456
+ [dataTagErrorSymbol]: Error;
457
+ };
458
+ };
459
+ export declare function getCustomerPortalBookingsQueryOptions(client: FetchWithValidationOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
460
+ data: {
461
+ bookingId: string;
462
+ bookingNumber: string;
463
+ status: "completed" | "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
464
+ sellCurrency: string;
465
+ sellAmountCents: number | null;
466
+ productTitle: string | null;
467
+ paymentStatus: "unpaid" | "partially_paid" | "paid" | "overdue";
468
+ startDate: string | null;
469
+ endDate: string | null;
470
+ pax: number | null;
471
+ confirmedAt: string | null;
472
+ completedAt: string | null;
473
+ travelerCount: number;
474
+ primaryTravelerName: string | null;
475
+ }[];
476
+ }, Error, {
477
+ data: {
478
+ bookingId: string;
479
+ bookingNumber: string;
480
+ status: "completed" | "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
481
+ sellCurrency: string;
482
+ sellAmountCents: number | null;
483
+ productTitle: string | null;
484
+ paymentStatus: "unpaid" | "partially_paid" | "paid" | "overdue";
485
+ startDate: string | null;
486
+ endDate: string | null;
487
+ pax: number | null;
488
+ confirmedAt: string | null;
489
+ completedAt: string | null;
490
+ travelerCount: number;
491
+ primaryTravelerName: string | null;
492
+ }[];
493
+ }, readonly ["customer-portal", "bookings"]>, "queryFn"> & {
494
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
495
+ data: {
496
+ bookingId: string;
497
+ bookingNumber: string;
498
+ status: "completed" | "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
499
+ sellCurrency: string;
500
+ sellAmountCents: number | null;
501
+ productTitle: string | null;
502
+ paymentStatus: "unpaid" | "partially_paid" | "paid" | "overdue";
503
+ startDate: string | null;
504
+ endDate: string | null;
505
+ pax: number | null;
506
+ confirmedAt: string | null;
507
+ completedAt: string | null;
508
+ travelerCount: number;
509
+ primaryTravelerName: string | null;
510
+ }[];
511
+ }, readonly ["customer-portal", "bookings"], never> | undefined;
512
+ } & {
513
+ queryKey: readonly ["customer-portal", "bookings"] & {
514
+ [dataTagSymbol]: {
515
+ data: {
516
+ bookingId: string;
517
+ bookingNumber: string;
518
+ status: "completed" | "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
519
+ sellCurrency: string;
520
+ sellAmountCents: number | null;
521
+ productTitle: string | null;
522
+ paymentStatus: "unpaid" | "partially_paid" | "paid" | "overdue";
523
+ startDate: string | null;
524
+ endDate: string | null;
525
+ pax: number | null;
526
+ confirmedAt: string | null;
527
+ completedAt: string | null;
528
+ travelerCount: number;
529
+ primaryTravelerName: string | null;
530
+ }[];
531
+ };
532
+ [dataTagErrorSymbol]: Error;
533
+ };
534
+ };
535
+ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithValidationOptions, bookingId: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
536
+ data: {
537
+ bookingId: string;
538
+ bookingNumber: string;
539
+ status: "completed" | "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
540
+ sellCurrency: string;
541
+ sellAmountCents: number | null;
542
+ startDate: string | null;
543
+ endDate: string | null;
544
+ pax: number | null;
545
+ confirmedAt: string | null;
546
+ cancelledAt: string | null;
547
+ completedAt: string | null;
548
+ travelers: {
549
+ id: string;
550
+ participantType: "other" | "traveler" | "occupant";
551
+ firstName: string;
552
+ lastName: string;
553
+ isPrimary: boolean;
554
+ }[];
555
+ items: {
556
+ id: string;
557
+ title: string;
558
+ description: string | null;
559
+ itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
560
+ status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
561
+ serviceDate: string | null;
562
+ startsAt: string | null;
563
+ endsAt: string | null;
564
+ quantity: number;
565
+ sellCurrency: string;
566
+ unitSellAmountCents: number | null;
567
+ totalSellAmountCents: number | null;
568
+ notes: string | null;
569
+ travelerLinks: {
570
+ id: string;
571
+ travelerId: string;
572
+ role: "beneficiary" | "other" | "traveler" | "occupant";
573
+ isPrimary: boolean;
574
+ }[];
575
+ }[];
576
+ billingContact: {
577
+ email: string | null;
578
+ phone: string | null;
579
+ firstName: string | null;
580
+ lastName: string | null;
581
+ country: string | null;
582
+ state: string | null;
583
+ city: string | null;
584
+ address1: string | null;
585
+ address2: string | null;
586
+ postal: string | null;
587
+ } | null;
588
+ documents: {
589
+ id: string;
590
+ source: "legal" | "booking_document" | "finance";
591
+ travelerId: string | null;
592
+ type: "invoice" | "insurance" | "other" | "visa" | "health" | "passport_copy" | "contract" | "proforma" | "credit_note";
593
+ fileName: string;
594
+ fileUrl: string;
595
+ mimeType: string | null;
596
+ reference: string | null;
597
+ }[];
598
+ financials: {
599
+ documents: {
600
+ invoiceId: string;
601
+ invoiceNumber: string;
602
+ invoiceType: "invoice" | "proforma" | "credit_note";
603
+ invoiceStatus: "void" | "draft" | "partially_paid" | "paid" | "overdue" | "pending_external_allocation" | "issued";
604
+ currency: string;
605
+ totalCents: number;
606
+ paidCents: number;
607
+ balanceDueCents: number;
608
+ issueDate: string;
609
+ dueDate: string;
610
+ documentStatus: "pending" | "failed" | "missing" | "ready" | "stale";
611
+ format: "html" | "json" | "pdf" | "xml" | null;
612
+ generatedAt: string | null;
613
+ downloadUrl: string | null;
614
+ }[];
615
+ payments: {
616
+ id: string;
617
+ invoiceId: string;
618
+ invoiceNumber: string;
619
+ invoiceType: "invoice" | "proforma" | "credit_note";
620
+ status: "pending" | "completed" | "failed" | "refunded";
621
+ paymentMethod: "bank_transfer" | "cash" | "voucher" | "other" | "credit_card" | "debit_card" | "cheque" | "wallet" | "direct_bill";
622
+ amountCents: number;
623
+ currency: string;
624
+ paymentDate: string;
625
+ referenceNumber: string | null;
626
+ notes: string | null;
627
+ }[];
628
+ };
629
+ fulfillments: {
630
+ id: string;
631
+ bookingItemId: string | null;
632
+ travelerId: string | null;
633
+ fulfillmentType: "voucher" | "other" | "pdf" | "ticket" | "qr_code" | "barcode" | "mobile";
634
+ deliveryChannel: "email" | "other" | "wallet" | "download" | "api";
635
+ status: "pending" | "failed" | "issued" | "reissued" | "revoked";
636
+ artifactUrl: string | null;
637
+ }[];
638
+ };
639
+ }, Error, {
640
+ data: {
641
+ bookingId: string;
642
+ bookingNumber: string;
643
+ status: "completed" | "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
644
+ sellCurrency: string;
645
+ sellAmountCents: number | null;
646
+ startDate: string | null;
647
+ endDate: string | null;
648
+ pax: number | null;
649
+ confirmedAt: string | null;
650
+ cancelledAt: string | null;
651
+ completedAt: string | null;
652
+ travelers: {
653
+ id: string;
654
+ participantType: "other" | "traveler" | "occupant";
655
+ firstName: string;
656
+ lastName: string;
657
+ isPrimary: boolean;
658
+ }[];
659
+ items: {
660
+ id: string;
661
+ title: string;
662
+ description: string | null;
663
+ itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
664
+ status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
665
+ serviceDate: string | null;
666
+ startsAt: string | null;
667
+ endsAt: string | null;
668
+ quantity: number;
669
+ sellCurrency: string;
670
+ unitSellAmountCents: number | null;
671
+ totalSellAmountCents: number | null;
672
+ notes: string | null;
673
+ travelerLinks: {
674
+ id: string;
675
+ travelerId: string;
676
+ role: "beneficiary" | "other" | "traveler" | "occupant";
677
+ isPrimary: boolean;
678
+ }[];
679
+ }[];
680
+ billingContact: {
681
+ email: string | null;
682
+ phone: string | null;
683
+ firstName: string | null;
684
+ lastName: string | null;
685
+ country: string | null;
686
+ state: string | null;
687
+ city: string | null;
688
+ address1: string | null;
689
+ address2: string | null;
690
+ postal: string | null;
691
+ } | null;
692
+ documents: {
693
+ id: string;
694
+ source: "legal" | "booking_document" | "finance";
695
+ travelerId: string | null;
696
+ type: "invoice" | "insurance" | "other" | "visa" | "health" | "passport_copy" | "contract" | "proforma" | "credit_note";
697
+ fileName: string;
698
+ fileUrl: string;
699
+ mimeType: string | null;
700
+ reference: string | null;
701
+ }[];
702
+ financials: {
703
+ documents: {
704
+ invoiceId: string;
705
+ invoiceNumber: string;
706
+ invoiceType: "invoice" | "proforma" | "credit_note";
707
+ invoiceStatus: "void" | "draft" | "partially_paid" | "paid" | "overdue" | "pending_external_allocation" | "issued";
708
+ currency: string;
709
+ totalCents: number;
710
+ paidCents: number;
711
+ balanceDueCents: number;
712
+ issueDate: string;
713
+ dueDate: string;
714
+ documentStatus: "pending" | "failed" | "missing" | "ready" | "stale";
715
+ format: "html" | "json" | "pdf" | "xml" | null;
716
+ generatedAt: string | null;
717
+ downloadUrl: string | null;
718
+ }[];
719
+ payments: {
720
+ id: string;
721
+ invoiceId: string;
722
+ invoiceNumber: string;
723
+ invoiceType: "invoice" | "proforma" | "credit_note";
724
+ status: "pending" | "completed" | "failed" | "refunded";
725
+ paymentMethod: "bank_transfer" | "cash" | "voucher" | "other" | "credit_card" | "debit_card" | "cheque" | "wallet" | "direct_bill";
726
+ amountCents: number;
727
+ currency: string;
728
+ paymentDate: string;
729
+ referenceNumber: string | null;
730
+ notes: string | null;
731
+ }[];
732
+ };
733
+ fulfillments: {
734
+ id: string;
735
+ bookingItemId: string | null;
736
+ travelerId: string | null;
737
+ fulfillmentType: "voucher" | "other" | "pdf" | "ticket" | "qr_code" | "barcode" | "mobile";
738
+ deliveryChannel: "email" | "other" | "wallet" | "download" | "api";
739
+ status: "pending" | "failed" | "issued" | "reissued" | "revoked";
740
+ artifactUrl: string | null;
741
+ }[];
742
+ };
743
+ }, readonly ["customer-portal", "bookings", string]>, "queryFn"> & {
744
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
745
+ data: {
746
+ bookingId: string;
747
+ bookingNumber: string;
748
+ status: "completed" | "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
749
+ sellCurrency: string;
750
+ sellAmountCents: number | null;
751
+ startDate: string | null;
752
+ endDate: string | null;
753
+ pax: number | null;
754
+ confirmedAt: string | null;
755
+ cancelledAt: string | null;
756
+ completedAt: string | null;
757
+ travelers: {
758
+ id: string;
759
+ participantType: "other" | "traveler" | "occupant";
760
+ firstName: string;
761
+ lastName: string;
762
+ isPrimary: boolean;
763
+ }[];
764
+ items: {
765
+ id: string;
766
+ title: string;
767
+ description: string | null;
768
+ itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
769
+ status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
770
+ serviceDate: string | null;
771
+ startsAt: string | null;
772
+ endsAt: string | null;
773
+ quantity: number;
774
+ sellCurrency: string;
775
+ unitSellAmountCents: number | null;
776
+ totalSellAmountCents: number | null;
777
+ notes: string | null;
778
+ travelerLinks: {
779
+ id: string;
780
+ travelerId: string;
781
+ role: "beneficiary" | "other" | "traveler" | "occupant";
782
+ isPrimary: boolean;
783
+ }[];
784
+ }[];
785
+ billingContact: {
786
+ email: string | null;
787
+ phone: string | null;
788
+ firstName: string | null;
789
+ lastName: string | null;
790
+ country: string | null;
791
+ state: string | null;
792
+ city: string | null;
793
+ address1: string | null;
794
+ address2: string | null;
795
+ postal: string | null;
796
+ } | null;
797
+ documents: {
798
+ id: string;
799
+ source: "legal" | "booking_document" | "finance";
800
+ travelerId: string | null;
801
+ type: "invoice" | "insurance" | "other" | "visa" | "health" | "passport_copy" | "contract" | "proforma" | "credit_note";
802
+ fileName: string;
803
+ fileUrl: string;
804
+ mimeType: string | null;
805
+ reference: string | null;
806
+ }[];
807
+ financials: {
808
+ documents: {
809
+ invoiceId: string;
810
+ invoiceNumber: string;
811
+ invoiceType: "invoice" | "proforma" | "credit_note";
812
+ invoiceStatus: "void" | "draft" | "partially_paid" | "paid" | "overdue" | "pending_external_allocation" | "issued";
813
+ currency: string;
814
+ totalCents: number;
815
+ paidCents: number;
816
+ balanceDueCents: number;
817
+ issueDate: string;
818
+ dueDate: string;
819
+ documentStatus: "pending" | "failed" | "missing" | "ready" | "stale";
820
+ format: "html" | "json" | "pdf" | "xml" | null;
821
+ generatedAt: string | null;
822
+ downloadUrl: string | null;
823
+ }[];
824
+ payments: {
825
+ id: string;
826
+ invoiceId: string;
827
+ invoiceNumber: string;
828
+ invoiceType: "invoice" | "proforma" | "credit_note";
829
+ status: "pending" | "completed" | "failed" | "refunded";
830
+ paymentMethod: "bank_transfer" | "cash" | "voucher" | "other" | "credit_card" | "debit_card" | "cheque" | "wallet" | "direct_bill";
831
+ amountCents: number;
832
+ currency: string;
833
+ paymentDate: string;
834
+ referenceNumber: string | null;
835
+ notes: string | null;
836
+ }[];
837
+ };
838
+ fulfillments: {
839
+ id: string;
840
+ bookingItemId: string | null;
841
+ travelerId: string | null;
842
+ fulfillmentType: "voucher" | "other" | "pdf" | "ticket" | "qr_code" | "barcode" | "mobile";
843
+ deliveryChannel: "email" | "other" | "wallet" | "download" | "api";
844
+ status: "pending" | "failed" | "issued" | "reissued" | "revoked";
845
+ artifactUrl: string | null;
846
+ }[];
847
+ };
848
+ }, readonly ["customer-portal", "bookings", string], never> | undefined;
849
+ } & {
850
+ queryKey: readonly ["customer-portal", "bookings", string] & {
851
+ [dataTagSymbol]: {
852
+ data: {
853
+ bookingId: string;
854
+ bookingNumber: string;
855
+ status: "completed" | "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
856
+ sellCurrency: string;
857
+ sellAmountCents: number | null;
858
+ startDate: string | null;
859
+ endDate: string | null;
860
+ pax: number | null;
861
+ confirmedAt: string | null;
862
+ cancelledAt: string | null;
863
+ completedAt: string | null;
864
+ travelers: {
865
+ id: string;
866
+ participantType: "other" | "traveler" | "occupant";
867
+ firstName: string;
868
+ lastName: string;
869
+ isPrimary: boolean;
870
+ }[];
871
+ items: {
872
+ id: string;
873
+ title: string;
874
+ description: string | null;
875
+ itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
876
+ status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
877
+ serviceDate: string | null;
878
+ startsAt: string | null;
879
+ endsAt: string | null;
880
+ quantity: number;
881
+ sellCurrency: string;
882
+ unitSellAmountCents: number | null;
883
+ totalSellAmountCents: number | null;
884
+ notes: string | null;
885
+ travelerLinks: {
886
+ id: string;
887
+ travelerId: string;
888
+ role: "beneficiary" | "other" | "traveler" | "occupant";
889
+ isPrimary: boolean;
890
+ }[];
891
+ }[];
892
+ billingContact: {
893
+ email: string | null;
894
+ phone: string | null;
895
+ firstName: string | null;
896
+ lastName: string | null;
897
+ country: string | null;
898
+ state: string | null;
899
+ city: string | null;
900
+ address1: string | null;
901
+ address2: string | null;
902
+ postal: string | null;
903
+ } | null;
904
+ documents: {
905
+ id: string;
906
+ source: "legal" | "booking_document" | "finance";
907
+ travelerId: string | null;
908
+ type: "invoice" | "insurance" | "other" | "visa" | "health" | "passport_copy" | "contract" | "proforma" | "credit_note";
909
+ fileName: string;
910
+ fileUrl: string;
911
+ mimeType: string | null;
912
+ reference: string | null;
913
+ }[];
914
+ financials: {
915
+ documents: {
916
+ invoiceId: string;
917
+ invoiceNumber: string;
918
+ invoiceType: "invoice" | "proforma" | "credit_note";
919
+ invoiceStatus: "void" | "draft" | "partially_paid" | "paid" | "overdue" | "pending_external_allocation" | "issued";
920
+ currency: string;
921
+ totalCents: number;
922
+ paidCents: number;
923
+ balanceDueCents: number;
924
+ issueDate: string;
925
+ dueDate: string;
926
+ documentStatus: "pending" | "failed" | "missing" | "ready" | "stale";
927
+ format: "html" | "json" | "pdf" | "xml" | null;
928
+ generatedAt: string | null;
929
+ downloadUrl: string | null;
930
+ }[];
931
+ payments: {
932
+ id: string;
933
+ invoiceId: string;
934
+ invoiceNumber: string;
935
+ invoiceType: "invoice" | "proforma" | "credit_note";
936
+ status: "pending" | "completed" | "failed" | "refunded";
937
+ paymentMethod: "bank_transfer" | "cash" | "voucher" | "other" | "credit_card" | "debit_card" | "cheque" | "wallet" | "direct_bill";
938
+ amountCents: number;
939
+ currency: string;
940
+ paymentDate: string;
941
+ referenceNumber: string | null;
942
+ notes: string | null;
943
+ }[];
944
+ };
945
+ fulfillments: {
946
+ id: string;
947
+ bookingItemId: string | null;
948
+ travelerId: string | null;
949
+ fulfillmentType: "voucher" | "other" | "pdf" | "ticket" | "qr_code" | "barcode" | "mobile";
950
+ deliveryChannel: "email" | "other" | "wallet" | "download" | "api";
951
+ status: "pending" | "failed" | "issued" | "reissued" | "revoked";
952
+ artifactUrl: string | null;
953
+ }[];
954
+ };
955
+ };
956
+ [dataTagErrorSymbol]: Error;
957
+ };
958
+ };
959
+ export declare function getCustomerPortalBookingBillingContactQueryOptions(client: FetchWithValidationOptions, bookingId: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
960
+ data: {
961
+ email: string | null;
962
+ phone: string | null;
963
+ firstName: string | null;
964
+ lastName: string | null;
965
+ country: string | null;
966
+ state: string | null;
967
+ city: string | null;
968
+ address1: string | null;
969
+ address2: string | null;
970
+ postal: string | null;
971
+ };
972
+ }, Error, {
973
+ data: {
974
+ email: string | null;
975
+ phone: string | null;
976
+ firstName: string | null;
977
+ lastName: string | null;
978
+ country: string | null;
979
+ state: string | null;
980
+ city: string | null;
981
+ address1: string | null;
982
+ address2: string | null;
983
+ postal: string | null;
984
+ };
985
+ }, readonly ["customer-portal", "bookings", string, "billing-contact"]>, "queryFn"> & {
986
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
987
+ data: {
988
+ email: string | null;
989
+ phone: string | null;
990
+ firstName: string | null;
991
+ lastName: string | null;
992
+ country: string | null;
993
+ state: string | null;
994
+ city: string | null;
995
+ address1: string | null;
996
+ address2: string | null;
997
+ postal: string | null;
998
+ };
999
+ }, readonly ["customer-portal", "bookings", string, "billing-contact"], never> | undefined;
1000
+ } & {
1001
+ queryKey: readonly ["customer-portal", "bookings", string, "billing-contact"] & {
1002
+ [dataTagSymbol]: {
1003
+ data: {
1004
+ email: string | null;
1005
+ phone: string | null;
1006
+ firstName: string | null;
1007
+ lastName: string | null;
1008
+ country: string | null;
1009
+ state: string | null;
1010
+ city: string | null;
1011
+ address1: string | null;
1012
+ address2: string | null;
1013
+ postal: string | null;
1014
+ };
1015
+ };
1016
+ [dataTagErrorSymbol]: Error;
1017
+ };
1018
+ };
1019
+ export declare function getCustomerPortalBookingDocumentsQueryOptions(client: FetchWithValidationOptions, bookingId: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1020
+ data: {
1021
+ id: string;
1022
+ source: "legal" | "booking_document" | "finance";
1023
+ travelerId: string | null;
1024
+ type: "invoice" | "insurance" | "other" | "visa" | "health" | "passport_copy" | "contract" | "proforma" | "credit_note";
1025
+ fileName: string;
1026
+ fileUrl: string;
1027
+ mimeType: string | null;
1028
+ reference: string | null;
1029
+ }[];
1030
+ }, Error, {
1031
+ data: {
1032
+ id: string;
1033
+ source: "legal" | "booking_document" | "finance";
1034
+ travelerId: string | null;
1035
+ type: "invoice" | "insurance" | "other" | "visa" | "health" | "passport_copy" | "contract" | "proforma" | "credit_note";
1036
+ fileName: string;
1037
+ fileUrl: string;
1038
+ mimeType: string | null;
1039
+ reference: string | null;
1040
+ }[];
1041
+ }, readonly ["customer-portal", "bookings", string, "documents"]>, "queryFn"> & {
1042
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1043
+ data: {
1044
+ id: string;
1045
+ source: "legal" | "booking_document" | "finance";
1046
+ travelerId: string | null;
1047
+ type: "invoice" | "insurance" | "other" | "visa" | "health" | "passport_copy" | "contract" | "proforma" | "credit_note";
1048
+ fileName: string;
1049
+ fileUrl: string;
1050
+ mimeType: string | null;
1051
+ reference: string | null;
1052
+ }[];
1053
+ }, readonly ["customer-portal", "bookings", string, "documents"], never> | undefined;
1054
+ } & {
1055
+ queryKey: readonly ["customer-portal", "bookings", string, "documents"] & {
1056
+ [dataTagSymbol]: {
1057
+ data: {
1058
+ id: string;
1059
+ source: "legal" | "booking_document" | "finance";
1060
+ travelerId: string | null;
1061
+ type: "invoice" | "insurance" | "other" | "visa" | "health" | "passport_copy" | "contract" | "proforma" | "credit_note";
1062
+ fileName: string;
1063
+ fileUrl: string;
1064
+ mimeType: string | null;
1065
+ reference: string | null;
1066
+ }[];
1067
+ };
1068
+ [dataTagErrorSymbol]: Error;
1069
+ };
1070
+ };
1071
+ export declare function getCustomerPortalContactExistsQueryOptions(filters: CustomerPortalContactExistsFilters, client: FetchWithValidationOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1072
+ data: {
1073
+ email: string;
1074
+ authAccountExists: boolean;
1075
+ customerRecordExists: boolean;
1076
+ linkedCustomerRecordExists: boolean;
1077
+ };
1078
+ }, Error, {
1079
+ data: {
1080
+ email: string;
1081
+ authAccountExists: boolean;
1082
+ customerRecordExists: boolean;
1083
+ linkedCustomerRecordExists: boolean;
1084
+ };
1085
+ }, readonly ["customer-portal", "contact-exists", CustomerPortalContactExistsFilters]>, "queryFn"> & {
1086
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1087
+ data: {
1088
+ email: string;
1089
+ authAccountExists: boolean;
1090
+ customerRecordExists: boolean;
1091
+ linkedCustomerRecordExists: boolean;
1092
+ };
1093
+ }, readonly ["customer-portal", "contact-exists", CustomerPortalContactExistsFilters], never> | undefined;
1094
+ } & {
1095
+ queryKey: readonly ["customer-portal", "contact-exists", CustomerPortalContactExistsFilters] & {
1096
+ [dataTagSymbol]: {
1097
+ data: {
1098
+ email: string;
1099
+ authAccountExists: boolean;
1100
+ customerRecordExists: boolean;
1101
+ linkedCustomerRecordExists: boolean;
1102
+ };
1103
+ };
1104
+ [dataTagErrorSymbol]: Error;
1105
+ };
1106
+ };
1107
+ export declare function getCustomerPortalPhoneContactExistsQueryOptions(filters: CustomerPortalPhoneContactExistsFilters, client: FetchWithValidationOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1108
+ data: {
1109
+ phone: string;
1110
+ authAccountExists: boolean;
1111
+ authAccountVerified: boolean;
1112
+ customerRecordExists: boolean;
1113
+ linkedCustomerRecordExists: boolean;
1114
+ };
1115
+ }, Error, {
1116
+ data: {
1117
+ phone: string;
1118
+ authAccountExists: boolean;
1119
+ authAccountVerified: boolean;
1120
+ customerRecordExists: boolean;
1121
+ linkedCustomerRecordExists: boolean;
1122
+ };
1123
+ }, readonly ["customer-portal", "phone-contact-exists", CustomerPortalPhoneContactExistsFilters]>, "queryFn"> & {
1124
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1125
+ data: {
1126
+ phone: string;
1127
+ authAccountExists: boolean;
1128
+ authAccountVerified: boolean;
1129
+ customerRecordExists: boolean;
1130
+ linkedCustomerRecordExists: boolean;
1131
+ };
1132
+ }, readonly ["customer-portal", "phone-contact-exists", CustomerPortalPhoneContactExistsFilters], never> | undefined;
1133
+ } & {
1134
+ queryKey: readonly ["customer-portal", "phone-contact-exists", CustomerPortalPhoneContactExistsFilters] & {
1135
+ [dataTagSymbol]: {
1136
+ data: {
1137
+ phone: string;
1138
+ authAccountExists: boolean;
1139
+ authAccountVerified: boolean;
1140
+ customerRecordExists: boolean;
1141
+ linkedCustomerRecordExists: boolean;
1142
+ };
1143
+ };
1144
+ [dataTagErrorSymbol]: Error;
1145
+ };
1146
+ };
1147
+ export type { CustomerPortalContactExistsFilters, CustomerPortalPhoneContactExistsFilters, } from "./query-keys.js";
1148
+ //# sourceMappingURL=query-options.d.ts.map