@voyantjs/facilities-react 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/dist/client.d.ts +14 -0
  2. package/dist/client.d.ts.map +1 -0
  3. package/dist/client.js +58 -0
  4. package/dist/hooks/index.d.ts +16 -0
  5. package/dist/hooks/index.d.ts.map +1 -0
  6. package/dist/hooks/index.js +15 -0
  7. package/dist/hooks/use-facilities.d.ts +31 -0
  8. package/dist/hooks/use-facilities.d.ts.map +1 -0
  9. package/dist/hooks/use-facilities.js +12 -0
  10. package/dist/hooks/use-facility-feature-mutation.d.ts +37 -0
  11. package/dist/hooks/use-facility-feature-mutation.d.ts.map +1 -0
  12. package/dist/hooks/use-facility-feature-mutation.js +38 -0
  13. package/dist/hooks/use-facility-features.d.ts +21 -0
  14. package/dist/hooks/use-facility-features.d.ts.map +1 -0
  15. package/dist/hooks/use-facility-features.js +12 -0
  16. package/dist/hooks/use-facility-mutation.d.ts +74 -0
  17. package/dist/hooks/use-facility-mutation.d.ts.map +1 -0
  18. package/dist/hooks/use-facility-mutation.js +45 -0
  19. package/dist/hooks/use-facility-operation-schedule-mutation.d.ts +37 -0
  20. package/dist/hooks/use-facility-operation-schedule-mutation.d.ts.map +1 -0
  21. package/dist/hooks/use-facility-operation-schedule-mutation.js +44 -0
  22. package/dist/hooks/use-facility-operation-schedules.d.ts +21 -0
  23. package/dist/hooks/use-facility-operation-schedules.d.ts.map +1 -0
  24. package/dist/hooks/use-facility-operation-schedules.js +12 -0
  25. package/dist/hooks/use-facility.d.ts +25 -0
  26. package/dist/hooks/use-facility.d.ts.map +1 -0
  27. package/dist/hooks/use-facility.js +12 -0
  28. package/dist/hooks/use-properties.d.ts +23 -0
  29. package/dist/hooks/use-properties.d.ts.map +1 -0
  30. package/dist/hooks/use-properties.js +12 -0
  31. package/dist/hooks/use-property-group-member-mutation.d.ts +41 -0
  32. package/dist/hooks/use-property-group-member-mutation.d.ts.map +1 -0
  33. package/dist/hooks/use-property-group-member-mutation.js +38 -0
  34. package/dist/hooks/use-property-group-members.d.ts +20 -0
  35. package/dist/hooks/use-property-group-members.d.ts.map +1 -0
  36. package/dist/hooks/use-property-group-members.js +12 -0
  37. package/dist/hooks/use-property-group-mutation.d.ts +50 -0
  38. package/dist/hooks/use-property-group-mutation.d.ts.map +1 -0
  39. package/dist/hooks/use-property-group-mutation.js +39 -0
  40. package/dist/hooks/use-property-group.d.ts +17 -0
  41. package/dist/hooks/use-property-group.d.ts.map +1 -0
  42. package/dist/hooks/use-property-group.js +12 -0
  43. package/dist/hooks/use-property-groups.d.ts +23 -0
  44. package/dist/hooks/use-property-groups.d.ts.map +1 -0
  45. package/dist/hooks/use-property-groups.js +12 -0
  46. package/dist/hooks/use-property-mutation.d.ts +50 -0
  47. package/dist/hooks/use-property-mutation.d.ts.map +1 -0
  48. package/dist/hooks/use-property-mutation.js +40 -0
  49. package/dist/hooks/use-property.d.ts +17 -0
  50. package/dist/hooks/use-property.d.ts.map +1 -0
  51. package/dist/hooks/use-property.js +12 -0
  52. package/dist/index.d.ts +7 -0
  53. package/dist/index.d.ts.map +1 -0
  54. package/dist/index.js +6 -0
  55. package/dist/provider.d.ts +2 -0
  56. package/dist/provider.d.ts.map +1 -0
  57. package/dist/provider.js +1 -0
  58. package/dist/query-keys.d.ts +68 -0
  59. package/dist/query-keys.d.ts.map +1 -0
  60. package/dist/query-keys.js +21 -0
  61. package/dist/query-options.d.ts +808 -0
  62. package/dist/query-options.d.ts.map +1 -0
  63. package/dist/query-options.js +126 -0
  64. package/dist/schemas.d.ts +461 -0
  65. package/dist/schemas.d.ts.map +1 -0
  66. package/dist/schemas.js +84 -0
  67. package/package.json +79 -0
@@ -0,0 +1,808 @@
1
+ import { type FetchWithValidationOptions } from "./client.js";
2
+ import type { UseFacilitiesOptions } from "./hooks/use-facilities.js";
3
+ import type { UseFacilityFeaturesOptions } from "./hooks/use-facility-features.js";
4
+ import type { UseFacilityOperationSchedulesOptions } from "./hooks/use-facility-operation-schedules.js";
5
+ import type { UsePropertiesOptions } from "./hooks/use-properties.js";
6
+ import type { UsePropertyGroupMembersOptions } from "./hooks/use-property-group-members.js";
7
+ import type { UsePropertyGroupsOptions } from "./hooks/use-property-groups.js";
8
+ export declare function getFacilitiesQueryOptions(client: FetchWithValidationOptions, options?: UseFacilitiesOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
9
+ data: {
10
+ kind: "other" | "hotel" | "resort" | "lodge" | "camp" | "property" | "venue" | "meeting_point" | "transfer_hub" | "airport" | "station" | "marina" | "office" | "attraction" | "restaurant";
11
+ status: "active" | "inactive" | "archived";
12
+ name: string;
13
+ id: string;
14
+ parentFacilityId: string | null;
15
+ ownerType: string | null;
16
+ ownerId: string | null;
17
+ code: string | null;
18
+ description: string | null;
19
+ timezone: string | null;
20
+ addressLine1: string | null;
21
+ addressLine2: string | null;
22
+ city: string | null;
23
+ region: string | null;
24
+ country: string | null;
25
+ postalCode: string | null;
26
+ latitude: number | null;
27
+ longitude: number | null;
28
+ tags: string[];
29
+ }[];
30
+ total: number;
31
+ limit: number;
32
+ offset: number;
33
+ }, Error, {
34
+ data: {
35
+ kind: "other" | "hotel" | "resort" | "lodge" | "camp" | "property" | "venue" | "meeting_point" | "transfer_hub" | "airport" | "station" | "marina" | "office" | "attraction" | "restaurant";
36
+ status: "active" | "inactive" | "archived";
37
+ name: string;
38
+ id: string;
39
+ parentFacilityId: string | null;
40
+ ownerType: string | null;
41
+ ownerId: string | null;
42
+ code: string | null;
43
+ description: string | null;
44
+ timezone: string | null;
45
+ addressLine1: string | null;
46
+ addressLine2: string | null;
47
+ city: string | null;
48
+ region: string | null;
49
+ country: string | null;
50
+ postalCode: string | null;
51
+ latitude: number | null;
52
+ longitude: number | null;
53
+ tags: string[];
54
+ }[];
55
+ total: number;
56
+ limit: number;
57
+ offset: number;
58
+ }, readonly ["facilities", "facilities", import("./query-keys.js").FacilitiesListFilters]>, "queryFn"> & {
59
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
60
+ data: {
61
+ kind: "other" | "hotel" | "resort" | "lodge" | "camp" | "property" | "venue" | "meeting_point" | "transfer_hub" | "airport" | "station" | "marina" | "office" | "attraction" | "restaurant";
62
+ status: "active" | "inactive" | "archived";
63
+ name: string;
64
+ id: string;
65
+ parentFacilityId: string | null;
66
+ ownerType: string | null;
67
+ ownerId: string | null;
68
+ code: string | null;
69
+ description: string | null;
70
+ timezone: string | null;
71
+ addressLine1: string | null;
72
+ addressLine2: string | null;
73
+ city: string | null;
74
+ region: string | null;
75
+ country: string | null;
76
+ postalCode: string | null;
77
+ latitude: number | null;
78
+ longitude: number | null;
79
+ tags: string[];
80
+ }[];
81
+ total: number;
82
+ limit: number;
83
+ offset: number;
84
+ }, readonly ["facilities", "facilities", import("./query-keys.js").FacilitiesListFilters], never> | undefined;
85
+ } & {
86
+ queryKey: readonly ["facilities", "facilities", import("./query-keys.js").FacilitiesListFilters] & {
87
+ [dataTagSymbol]: {
88
+ data: {
89
+ kind: "other" | "hotel" | "resort" | "lodge" | "camp" | "property" | "venue" | "meeting_point" | "transfer_hub" | "airport" | "station" | "marina" | "office" | "attraction" | "restaurant";
90
+ status: "active" | "inactive" | "archived";
91
+ name: string;
92
+ id: string;
93
+ parentFacilityId: string | null;
94
+ ownerType: string | null;
95
+ ownerId: string | null;
96
+ code: string | null;
97
+ description: string | null;
98
+ timezone: string | null;
99
+ addressLine1: string | null;
100
+ addressLine2: string | null;
101
+ city: string | null;
102
+ region: string | null;
103
+ country: string | null;
104
+ postalCode: string | null;
105
+ latitude: number | null;
106
+ longitude: number | null;
107
+ tags: string[];
108
+ }[];
109
+ total: number;
110
+ limit: number;
111
+ offset: number;
112
+ };
113
+ [dataTagErrorSymbol]: Error;
114
+ };
115
+ };
116
+ export declare function getFacilityQueryOptions(client: FetchWithValidationOptions, id: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
117
+ kind: "other" | "hotel" | "resort" | "lodge" | "camp" | "property" | "venue" | "meeting_point" | "transfer_hub" | "airport" | "station" | "marina" | "office" | "attraction" | "restaurant";
118
+ status: "active" | "inactive" | "archived";
119
+ name: string;
120
+ id: string;
121
+ parentFacilityId: string | null;
122
+ ownerType: string | null;
123
+ ownerId: string | null;
124
+ code: string | null;
125
+ description: string | null;
126
+ timezone: string | null;
127
+ addressLine1: string | null;
128
+ addressLine2: string | null;
129
+ city: string | null;
130
+ region: string | null;
131
+ country: string | null;
132
+ postalCode: string | null;
133
+ latitude: number | null;
134
+ longitude: number | null;
135
+ tags: string[];
136
+ }, Error, {
137
+ kind: "other" | "hotel" | "resort" | "lodge" | "camp" | "property" | "venue" | "meeting_point" | "transfer_hub" | "airport" | "station" | "marina" | "office" | "attraction" | "restaurant";
138
+ status: "active" | "inactive" | "archived";
139
+ name: string;
140
+ id: string;
141
+ parentFacilityId: string | null;
142
+ ownerType: string | null;
143
+ ownerId: string | null;
144
+ code: string | null;
145
+ description: string | null;
146
+ timezone: string | null;
147
+ addressLine1: string | null;
148
+ addressLine2: string | null;
149
+ city: string | null;
150
+ region: string | null;
151
+ country: string | null;
152
+ postalCode: string | null;
153
+ latitude: number | null;
154
+ longitude: number | null;
155
+ tags: string[];
156
+ }, readonly ["facilities", "facilities", string]>, "queryFn"> & {
157
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
158
+ kind: "other" | "hotel" | "resort" | "lodge" | "camp" | "property" | "venue" | "meeting_point" | "transfer_hub" | "airport" | "station" | "marina" | "office" | "attraction" | "restaurant";
159
+ status: "active" | "inactive" | "archived";
160
+ name: string;
161
+ id: string;
162
+ parentFacilityId: string | null;
163
+ ownerType: string | null;
164
+ ownerId: string | null;
165
+ code: string | null;
166
+ description: string | null;
167
+ timezone: string | null;
168
+ addressLine1: string | null;
169
+ addressLine2: string | null;
170
+ city: string | null;
171
+ region: string | null;
172
+ country: string | null;
173
+ postalCode: string | null;
174
+ latitude: number | null;
175
+ longitude: number | null;
176
+ tags: string[];
177
+ }, readonly ["facilities", "facilities", string], never> | undefined;
178
+ } & {
179
+ queryKey: readonly ["facilities", "facilities", string] & {
180
+ [dataTagSymbol]: {
181
+ kind: "other" | "hotel" | "resort" | "lodge" | "camp" | "property" | "venue" | "meeting_point" | "transfer_hub" | "airport" | "station" | "marina" | "office" | "attraction" | "restaurant";
182
+ status: "active" | "inactive" | "archived";
183
+ name: string;
184
+ id: string;
185
+ parentFacilityId: string | null;
186
+ ownerType: string | null;
187
+ ownerId: string | null;
188
+ code: string | null;
189
+ description: string | null;
190
+ timezone: string | null;
191
+ addressLine1: string | null;
192
+ addressLine2: string | null;
193
+ city: string | null;
194
+ region: string | null;
195
+ country: string | null;
196
+ postalCode: string | null;
197
+ latitude: number | null;
198
+ longitude: number | null;
199
+ tags: string[];
200
+ };
201
+ [dataTagErrorSymbol]: Error;
202
+ };
203
+ };
204
+ export declare function getFacilityFeaturesQueryOptions(client: FetchWithValidationOptions, options: UseFacilityFeaturesOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
205
+ data: {
206
+ category: "amenity" | "accessibility" | "security" | "service" | "policy" | "other";
207
+ name: string;
208
+ highlighted: boolean;
209
+ sortOrder: number;
210
+ id: string;
211
+ facilityId: string;
212
+ code: string | null;
213
+ description: string | null;
214
+ valueText: string | null;
215
+ }[];
216
+ total: number;
217
+ limit: number;
218
+ offset: number;
219
+ }, Error, {
220
+ data: {
221
+ category: "amenity" | "accessibility" | "security" | "service" | "policy" | "other";
222
+ name: string;
223
+ highlighted: boolean;
224
+ sortOrder: number;
225
+ id: string;
226
+ facilityId: string;
227
+ code: string | null;
228
+ description: string | null;
229
+ valueText: string | null;
230
+ }[];
231
+ total: number;
232
+ limit: number;
233
+ offset: number;
234
+ }, readonly ["facilities", "facility-features", import("./query-keys.js").FacilityFeaturesListFilters]>, "queryFn"> & {
235
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
236
+ data: {
237
+ category: "amenity" | "accessibility" | "security" | "service" | "policy" | "other";
238
+ name: string;
239
+ highlighted: boolean;
240
+ sortOrder: number;
241
+ id: string;
242
+ facilityId: string;
243
+ code: string | null;
244
+ description: string | null;
245
+ valueText: string | null;
246
+ }[];
247
+ total: number;
248
+ limit: number;
249
+ offset: number;
250
+ }, readonly ["facilities", "facility-features", import("./query-keys.js").FacilityFeaturesListFilters], never> | undefined;
251
+ } & {
252
+ queryKey: readonly ["facilities", "facility-features", import("./query-keys.js").FacilityFeaturesListFilters] & {
253
+ [dataTagSymbol]: {
254
+ data: {
255
+ category: "amenity" | "accessibility" | "security" | "service" | "policy" | "other";
256
+ name: string;
257
+ highlighted: boolean;
258
+ sortOrder: number;
259
+ id: string;
260
+ facilityId: string;
261
+ code: string | null;
262
+ description: string | null;
263
+ valueText: string | null;
264
+ }[];
265
+ total: number;
266
+ limit: number;
267
+ offset: number;
268
+ };
269
+ [dataTagErrorSymbol]: Error;
270
+ };
271
+ };
272
+ export declare function getFacilityFeatureQueryOptions(client: FetchWithValidationOptions, id: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
273
+ category: "amenity" | "accessibility" | "security" | "service" | "policy" | "other";
274
+ name: string;
275
+ highlighted: boolean;
276
+ sortOrder: number;
277
+ id: string;
278
+ facilityId: string;
279
+ code: string | null;
280
+ description: string | null;
281
+ valueText: string | null;
282
+ }, Error, {
283
+ category: "amenity" | "accessibility" | "security" | "service" | "policy" | "other";
284
+ name: string;
285
+ highlighted: boolean;
286
+ sortOrder: number;
287
+ id: string;
288
+ facilityId: string;
289
+ code: string | null;
290
+ description: string | null;
291
+ valueText: string | null;
292
+ }, readonly ["facilities", "facility-features", string]>, "queryFn"> & {
293
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
294
+ category: "amenity" | "accessibility" | "security" | "service" | "policy" | "other";
295
+ name: string;
296
+ highlighted: boolean;
297
+ sortOrder: number;
298
+ id: string;
299
+ facilityId: string;
300
+ code: string | null;
301
+ description: string | null;
302
+ valueText: string | null;
303
+ }, readonly ["facilities", "facility-features", string], never> | undefined;
304
+ } & {
305
+ queryKey: readonly ["facilities", "facility-features", string] & {
306
+ [dataTagSymbol]: {
307
+ category: "amenity" | "accessibility" | "security" | "service" | "policy" | "other";
308
+ name: string;
309
+ highlighted: boolean;
310
+ sortOrder: number;
311
+ id: string;
312
+ facilityId: string;
313
+ code: string | null;
314
+ description: string | null;
315
+ valueText: string | null;
316
+ };
317
+ [dataTagErrorSymbol]: Error;
318
+ };
319
+ };
320
+ export declare function getFacilityOperationSchedulesQueryOptions(client: FetchWithValidationOptions, options: UseFacilityOperationSchedulesOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
321
+ data: {
322
+ closed: boolean;
323
+ id: string;
324
+ facilityId: string;
325
+ dayOfWeek: string | null;
326
+ validFrom: string | null;
327
+ validTo: string | null;
328
+ opensAt: string | null;
329
+ closesAt: string | null;
330
+ notes: string | null;
331
+ }[];
332
+ total: number;
333
+ limit: number;
334
+ offset: number;
335
+ }, Error, {
336
+ data: {
337
+ closed: boolean;
338
+ id: string;
339
+ facilityId: string;
340
+ dayOfWeek: string | null;
341
+ validFrom: string | null;
342
+ validTo: string | null;
343
+ opensAt: string | null;
344
+ closesAt: string | null;
345
+ notes: string | null;
346
+ }[];
347
+ total: number;
348
+ limit: number;
349
+ offset: number;
350
+ }, readonly ["facilities", "facility-operation-schedules", import("./query-keys.js").FacilityOperationSchedulesListFilters]>, "queryFn"> & {
351
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
352
+ data: {
353
+ closed: boolean;
354
+ id: string;
355
+ facilityId: string;
356
+ dayOfWeek: string | null;
357
+ validFrom: string | null;
358
+ validTo: string | null;
359
+ opensAt: string | null;
360
+ closesAt: string | null;
361
+ notes: string | null;
362
+ }[];
363
+ total: number;
364
+ limit: number;
365
+ offset: number;
366
+ }, readonly ["facilities", "facility-operation-schedules", import("./query-keys.js").FacilityOperationSchedulesListFilters], never> | undefined;
367
+ } & {
368
+ queryKey: readonly ["facilities", "facility-operation-schedules", import("./query-keys.js").FacilityOperationSchedulesListFilters] & {
369
+ [dataTagSymbol]: {
370
+ data: {
371
+ closed: boolean;
372
+ id: string;
373
+ facilityId: string;
374
+ dayOfWeek: string | null;
375
+ validFrom: string | null;
376
+ validTo: string | null;
377
+ opensAt: string | null;
378
+ closesAt: string | null;
379
+ notes: string | null;
380
+ }[];
381
+ total: number;
382
+ limit: number;
383
+ offset: number;
384
+ };
385
+ [dataTagErrorSymbol]: Error;
386
+ };
387
+ };
388
+ export declare function getFacilityOperationScheduleQueryOptions(client: FetchWithValidationOptions, id: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
389
+ closed: boolean;
390
+ id: string;
391
+ facilityId: string;
392
+ dayOfWeek: string | null;
393
+ validFrom: string | null;
394
+ validTo: string | null;
395
+ opensAt: string | null;
396
+ closesAt: string | null;
397
+ notes: string | null;
398
+ }, Error, {
399
+ closed: boolean;
400
+ id: string;
401
+ facilityId: string;
402
+ dayOfWeek: string | null;
403
+ validFrom: string | null;
404
+ validTo: string | null;
405
+ opensAt: string | null;
406
+ closesAt: string | null;
407
+ notes: string | null;
408
+ }, readonly ["facilities", "facility-operation-schedules", string]>, "queryFn"> & {
409
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
410
+ closed: boolean;
411
+ id: string;
412
+ facilityId: string;
413
+ dayOfWeek: string | null;
414
+ validFrom: string | null;
415
+ validTo: string | null;
416
+ opensAt: string | null;
417
+ closesAt: string | null;
418
+ notes: string | null;
419
+ }, readonly ["facilities", "facility-operation-schedules", string], never> | undefined;
420
+ } & {
421
+ queryKey: readonly ["facilities", "facility-operation-schedules", string] & {
422
+ [dataTagSymbol]: {
423
+ closed: boolean;
424
+ id: string;
425
+ facilityId: string;
426
+ dayOfWeek: string | null;
427
+ validFrom: string | null;
428
+ validTo: string | null;
429
+ opensAt: string | null;
430
+ closesAt: string | null;
431
+ notes: string | null;
432
+ };
433
+ [dataTagErrorSymbol]: Error;
434
+ };
435
+ };
436
+ export declare function getPropertiesQueryOptions(client: FetchWithValidationOptions, options?: UsePropertiesOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
437
+ data: {
438
+ facilityId: string;
439
+ propertyType: "other" | "hotel" | "resort" | "villa" | "apartment" | "hostel" | "lodge" | "camp";
440
+ id: string;
441
+ brandName: string | null;
442
+ groupName: string | null;
443
+ rating: number | null;
444
+ ratingScale: number | null;
445
+ checkInTime: string | null;
446
+ checkOutTime: string | null;
447
+ policyNotes: string | null;
448
+ amenityNotes: string | null;
449
+ }[];
450
+ total: number;
451
+ limit: number;
452
+ offset: number;
453
+ }, Error, {
454
+ data: {
455
+ facilityId: string;
456
+ propertyType: "other" | "hotel" | "resort" | "villa" | "apartment" | "hostel" | "lodge" | "camp";
457
+ id: string;
458
+ brandName: string | null;
459
+ groupName: string | null;
460
+ rating: number | null;
461
+ ratingScale: number | null;
462
+ checkInTime: string | null;
463
+ checkOutTime: string | null;
464
+ policyNotes: string | null;
465
+ amenityNotes: string | null;
466
+ }[];
467
+ total: number;
468
+ limit: number;
469
+ offset: number;
470
+ }, readonly ["facilities", "properties", import("./query-keys.js").PropertiesListFilters]>, "queryFn"> & {
471
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
472
+ data: {
473
+ facilityId: string;
474
+ propertyType: "other" | "hotel" | "resort" | "villa" | "apartment" | "hostel" | "lodge" | "camp";
475
+ id: string;
476
+ brandName: string | null;
477
+ groupName: string | null;
478
+ rating: number | null;
479
+ ratingScale: number | null;
480
+ checkInTime: string | null;
481
+ checkOutTime: string | null;
482
+ policyNotes: string | null;
483
+ amenityNotes: string | null;
484
+ }[];
485
+ total: number;
486
+ limit: number;
487
+ offset: number;
488
+ }, readonly ["facilities", "properties", import("./query-keys.js").PropertiesListFilters], never> | undefined;
489
+ } & {
490
+ queryKey: readonly ["facilities", "properties", import("./query-keys.js").PropertiesListFilters] & {
491
+ [dataTagSymbol]: {
492
+ data: {
493
+ facilityId: string;
494
+ propertyType: "other" | "hotel" | "resort" | "villa" | "apartment" | "hostel" | "lodge" | "camp";
495
+ id: string;
496
+ brandName: string | null;
497
+ groupName: string | null;
498
+ rating: number | null;
499
+ ratingScale: number | null;
500
+ checkInTime: string | null;
501
+ checkOutTime: string | null;
502
+ policyNotes: string | null;
503
+ amenityNotes: string | null;
504
+ }[];
505
+ total: number;
506
+ limit: number;
507
+ offset: number;
508
+ };
509
+ [dataTagErrorSymbol]: Error;
510
+ };
511
+ };
512
+ export declare function getPropertyQueryOptions(client: FetchWithValidationOptions, id: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
513
+ facilityId: string;
514
+ propertyType: "other" | "hotel" | "resort" | "villa" | "apartment" | "hostel" | "lodge" | "camp";
515
+ id: string;
516
+ brandName: string | null;
517
+ groupName: string | null;
518
+ rating: number | null;
519
+ ratingScale: number | null;
520
+ checkInTime: string | null;
521
+ checkOutTime: string | null;
522
+ policyNotes: string | null;
523
+ amenityNotes: string | null;
524
+ }, Error, {
525
+ facilityId: string;
526
+ propertyType: "other" | "hotel" | "resort" | "villa" | "apartment" | "hostel" | "lodge" | "camp";
527
+ id: string;
528
+ brandName: string | null;
529
+ groupName: string | null;
530
+ rating: number | null;
531
+ ratingScale: number | null;
532
+ checkInTime: string | null;
533
+ checkOutTime: string | null;
534
+ policyNotes: string | null;
535
+ amenityNotes: string | null;
536
+ }, readonly ["facilities", "properties", string]>, "queryFn"> & {
537
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
538
+ facilityId: string;
539
+ propertyType: "other" | "hotel" | "resort" | "villa" | "apartment" | "hostel" | "lodge" | "camp";
540
+ id: string;
541
+ brandName: string | null;
542
+ groupName: string | null;
543
+ rating: number | null;
544
+ ratingScale: number | null;
545
+ checkInTime: string | null;
546
+ checkOutTime: string | null;
547
+ policyNotes: string | null;
548
+ amenityNotes: string | null;
549
+ }, readonly ["facilities", "properties", string], never> | undefined;
550
+ } & {
551
+ queryKey: readonly ["facilities", "properties", string] & {
552
+ [dataTagSymbol]: {
553
+ facilityId: string;
554
+ propertyType: "other" | "hotel" | "resort" | "villa" | "apartment" | "hostel" | "lodge" | "camp";
555
+ id: string;
556
+ brandName: string | null;
557
+ groupName: string | null;
558
+ rating: number | null;
559
+ ratingScale: number | null;
560
+ checkInTime: string | null;
561
+ checkOutTime: string | null;
562
+ policyNotes: string | null;
563
+ amenityNotes: string | null;
564
+ };
565
+ [dataTagErrorSymbol]: Error;
566
+ };
567
+ };
568
+ export declare function getPropertyGroupsQueryOptions(client: FetchWithValidationOptions, options?: UsePropertyGroupsOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
569
+ data: {
570
+ groupType: "other" | "chain" | "brand" | "management_company" | "collection" | "portfolio" | "cluster";
571
+ status: "active" | "inactive" | "archived";
572
+ name: string;
573
+ id: string;
574
+ parentGroupId: string | null;
575
+ code: string | null;
576
+ brandName: string | null;
577
+ legalName: string | null;
578
+ website: string | null;
579
+ notes: string | null;
580
+ metadata?: Record<string, unknown> | null | undefined;
581
+ }[];
582
+ total: number;
583
+ limit: number;
584
+ offset: number;
585
+ }, Error, {
586
+ data: {
587
+ groupType: "other" | "chain" | "brand" | "management_company" | "collection" | "portfolio" | "cluster";
588
+ status: "active" | "inactive" | "archived";
589
+ name: string;
590
+ id: string;
591
+ parentGroupId: string | null;
592
+ code: string | null;
593
+ brandName: string | null;
594
+ legalName: string | null;
595
+ website: string | null;
596
+ notes: string | null;
597
+ metadata?: Record<string, unknown> | null | undefined;
598
+ }[];
599
+ total: number;
600
+ limit: number;
601
+ offset: number;
602
+ }, readonly ["facilities", "property-groups", import("./query-keys.js").PropertyGroupsListFilters]>, "queryFn"> & {
603
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
604
+ data: {
605
+ groupType: "other" | "chain" | "brand" | "management_company" | "collection" | "portfolio" | "cluster";
606
+ status: "active" | "inactive" | "archived";
607
+ name: string;
608
+ id: string;
609
+ parentGroupId: string | null;
610
+ code: string | null;
611
+ brandName: string | null;
612
+ legalName: string | null;
613
+ website: string | null;
614
+ notes: string | null;
615
+ metadata?: Record<string, unknown> | null | undefined;
616
+ }[];
617
+ total: number;
618
+ limit: number;
619
+ offset: number;
620
+ }, readonly ["facilities", "property-groups", import("./query-keys.js").PropertyGroupsListFilters], never> | undefined;
621
+ } & {
622
+ queryKey: readonly ["facilities", "property-groups", import("./query-keys.js").PropertyGroupsListFilters] & {
623
+ [dataTagSymbol]: {
624
+ data: {
625
+ groupType: "other" | "chain" | "brand" | "management_company" | "collection" | "portfolio" | "cluster";
626
+ status: "active" | "inactive" | "archived";
627
+ name: string;
628
+ id: string;
629
+ parentGroupId: string | null;
630
+ code: string | null;
631
+ brandName: string | null;
632
+ legalName: string | null;
633
+ website: string | null;
634
+ notes: string | null;
635
+ metadata?: Record<string, unknown> | null | undefined;
636
+ }[];
637
+ total: number;
638
+ limit: number;
639
+ offset: number;
640
+ };
641
+ [dataTagErrorSymbol]: Error;
642
+ };
643
+ };
644
+ export declare function getPropertyGroupQueryOptions(client: FetchWithValidationOptions, id: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
645
+ groupType: "other" | "chain" | "brand" | "management_company" | "collection" | "portfolio" | "cluster";
646
+ status: "active" | "inactive" | "archived";
647
+ name: string;
648
+ id: string;
649
+ parentGroupId: string | null;
650
+ code: string | null;
651
+ brandName: string | null;
652
+ legalName: string | null;
653
+ website: string | null;
654
+ notes: string | null;
655
+ metadata?: Record<string, unknown> | null | undefined;
656
+ }, Error, {
657
+ groupType: "other" | "chain" | "brand" | "management_company" | "collection" | "portfolio" | "cluster";
658
+ status: "active" | "inactive" | "archived";
659
+ name: string;
660
+ id: string;
661
+ parentGroupId: string | null;
662
+ code: string | null;
663
+ brandName: string | null;
664
+ legalName: string | null;
665
+ website: string | null;
666
+ notes: string | null;
667
+ metadata?: Record<string, unknown> | null | undefined;
668
+ }, readonly ["facilities", "property-groups", string]>, "queryFn"> & {
669
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
670
+ groupType: "other" | "chain" | "brand" | "management_company" | "collection" | "portfolio" | "cluster";
671
+ status: "active" | "inactive" | "archived";
672
+ name: string;
673
+ id: string;
674
+ parentGroupId: string | null;
675
+ code: string | null;
676
+ brandName: string | null;
677
+ legalName: string | null;
678
+ website: string | null;
679
+ notes: string | null;
680
+ metadata?: Record<string, unknown> | null | undefined;
681
+ }, readonly ["facilities", "property-groups", string], never> | undefined;
682
+ } & {
683
+ queryKey: readonly ["facilities", "property-groups", string] & {
684
+ [dataTagSymbol]: {
685
+ groupType: "other" | "chain" | "brand" | "management_company" | "collection" | "portfolio" | "cluster";
686
+ status: "active" | "inactive" | "archived";
687
+ name: string;
688
+ id: string;
689
+ parentGroupId: string | null;
690
+ code: string | null;
691
+ brandName: string | null;
692
+ legalName: string | null;
693
+ website: string | null;
694
+ notes: string | null;
695
+ metadata?: Record<string, unknown> | null | undefined;
696
+ };
697
+ [dataTagErrorSymbol]: Error;
698
+ };
699
+ };
700
+ export declare function getPropertyGroupMembersQueryOptions(client: FetchWithValidationOptions, options: UsePropertyGroupMembersOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
701
+ data: {
702
+ groupId: string;
703
+ propertyId: string;
704
+ membershipRole: "other" | "member" | "flagship" | "managed" | "franchise";
705
+ isPrimary: boolean;
706
+ id: string;
707
+ validFrom: string | null;
708
+ validTo: string | null;
709
+ notes: string | null;
710
+ }[];
711
+ total: number;
712
+ limit: number;
713
+ offset: number;
714
+ }, Error, {
715
+ data: {
716
+ groupId: string;
717
+ propertyId: string;
718
+ membershipRole: "other" | "member" | "flagship" | "managed" | "franchise";
719
+ isPrimary: boolean;
720
+ id: string;
721
+ validFrom: string | null;
722
+ validTo: string | null;
723
+ notes: string | null;
724
+ }[];
725
+ total: number;
726
+ limit: number;
727
+ offset: number;
728
+ }, readonly ["facilities", "property-group-members", import("./query-keys.js").PropertyGroupMembersListFilters]>, "queryFn"> & {
729
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
730
+ data: {
731
+ groupId: string;
732
+ propertyId: string;
733
+ membershipRole: "other" | "member" | "flagship" | "managed" | "franchise";
734
+ isPrimary: boolean;
735
+ id: string;
736
+ validFrom: string | null;
737
+ validTo: string | null;
738
+ notes: string | null;
739
+ }[];
740
+ total: number;
741
+ limit: number;
742
+ offset: number;
743
+ }, readonly ["facilities", "property-group-members", import("./query-keys.js").PropertyGroupMembersListFilters], never> | undefined;
744
+ } & {
745
+ queryKey: readonly ["facilities", "property-group-members", import("./query-keys.js").PropertyGroupMembersListFilters] & {
746
+ [dataTagSymbol]: {
747
+ data: {
748
+ groupId: string;
749
+ propertyId: string;
750
+ membershipRole: "other" | "member" | "flagship" | "managed" | "franchise";
751
+ isPrimary: boolean;
752
+ id: string;
753
+ validFrom: string | null;
754
+ validTo: string | null;
755
+ notes: string | null;
756
+ }[];
757
+ total: number;
758
+ limit: number;
759
+ offset: number;
760
+ };
761
+ [dataTagErrorSymbol]: Error;
762
+ };
763
+ };
764
+ export declare function getPropertyGroupMemberQueryOptions(client: FetchWithValidationOptions, id: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
765
+ groupId: string;
766
+ propertyId: string;
767
+ membershipRole: "other" | "member" | "flagship" | "managed" | "franchise";
768
+ isPrimary: boolean;
769
+ id: string;
770
+ validFrom: string | null;
771
+ validTo: string | null;
772
+ notes: string | null;
773
+ }, Error, {
774
+ groupId: string;
775
+ propertyId: string;
776
+ membershipRole: "other" | "member" | "flagship" | "managed" | "franchise";
777
+ isPrimary: boolean;
778
+ id: string;
779
+ validFrom: string | null;
780
+ validTo: string | null;
781
+ notes: string | null;
782
+ }, readonly ["facilities", "property-group-members", string]>, "queryFn"> & {
783
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
784
+ groupId: string;
785
+ propertyId: string;
786
+ membershipRole: "other" | "member" | "flagship" | "managed" | "franchise";
787
+ isPrimary: boolean;
788
+ id: string;
789
+ validFrom: string | null;
790
+ validTo: string | null;
791
+ notes: string | null;
792
+ }, readonly ["facilities", "property-group-members", string], never> | undefined;
793
+ } & {
794
+ queryKey: readonly ["facilities", "property-group-members", string] & {
795
+ [dataTagSymbol]: {
796
+ groupId: string;
797
+ propertyId: string;
798
+ membershipRole: "other" | "member" | "flagship" | "managed" | "franchise";
799
+ isPrimary: boolean;
800
+ id: string;
801
+ validFrom: string | null;
802
+ validTo: string | null;
803
+ notes: string | null;
804
+ };
805
+ [dataTagErrorSymbol]: Error;
806
+ };
807
+ };
808
+ //# sourceMappingURL=query-options.d.ts.map