@voyantjs/hospitality-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 (124) hide show
  1. package/dist/client.d.ts +14 -0
  2. package/dist/client.d.ts.map +1 -0
  3. package/dist/client.js +59 -0
  4. package/dist/hooks/index.d.ts +35 -0
  5. package/dist/hooks/index.d.ts.map +1 -0
  6. package/dist/hooks/index.js +34 -0
  7. package/dist/hooks/use-housekeeping-task-mutation.d.ts +54 -0
  8. package/dist/hooks/use-housekeeping-task-mutation.d.ts.map +1 -0
  9. package/dist/hooks/use-housekeeping-task-mutation.js +38 -0
  10. package/dist/hooks/use-housekeeping-tasks.d.ts +30 -0
  11. package/dist/hooks/use-housekeeping-tasks.d.ts.map +1 -0
  12. package/dist/hooks/use-housekeeping-tasks.js +11 -0
  13. package/dist/hooks/use-maintenance-block-mutation.d.ts +47 -0
  14. package/dist/hooks/use-maintenance-block-mutation.d.ts.map +1 -0
  15. package/dist/hooks/use-maintenance-block-mutation.js +38 -0
  16. package/dist/hooks/use-maintenance-blocks.d.ts +24 -0
  17. package/dist/hooks/use-maintenance-blocks.d.ts.map +1 -0
  18. package/dist/hooks/use-maintenance-blocks.js +11 -0
  19. package/dist/hooks/use-meal-plan-mutation.d.ts +53 -0
  20. package/dist/hooks/use-meal-plan-mutation.d.ts.map +1 -0
  21. package/dist/hooks/use-meal-plan-mutation.js +38 -0
  22. package/dist/hooks/use-meal-plan.d.ts +18 -0
  23. package/dist/hooks/use-meal-plan.d.ts.map +1 -0
  24. package/dist/hooks/use-meal-plan.js +12 -0
  25. package/dist/hooks/use-meal-plans.d.ts +27 -0
  26. package/dist/hooks/use-meal-plans.d.ts.map +1 -0
  27. package/dist/hooks/use-meal-plans.js +11 -0
  28. package/dist/hooks/use-rate-plan-inventory-override-mutation.d.ts +47 -0
  29. package/dist/hooks/use-rate-plan-inventory-override-mutation.d.ts.map +1 -0
  30. package/dist/hooks/use-rate-plan-inventory-override-mutation.js +44 -0
  31. package/dist/hooks/use-rate-plan-inventory-overrides.d.ts +27 -0
  32. package/dist/hooks/use-rate-plan-inventory-overrides.d.ts.map +1 -0
  33. package/dist/hooks/use-rate-plan-inventory-overrides.js +11 -0
  34. package/dist/hooks/use-rate-plan-mutation.d.ts +68 -0
  35. package/dist/hooks/use-rate-plan-mutation.d.ts.map +1 -0
  36. package/dist/hooks/use-rate-plan-mutation.js +38 -0
  37. package/dist/hooks/use-rate-plan-room-type-mutation.d.ts +41 -0
  38. package/dist/hooks/use-rate-plan-room-type-mutation.d.ts.map +1 -0
  39. package/dist/hooks/use-rate-plan-room-type-mutation.js +38 -0
  40. package/dist/hooks/use-rate-plan-room-types.d.ts +25 -0
  41. package/dist/hooks/use-rate-plan-room-types.d.ts.map +1 -0
  42. package/dist/hooks/use-rate-plan-room-types.js +11 -0
  43. package/dist/hooks/use-rate-plan.d.ts +23 -0
  44. package/dist/hooks/use-rate-plan.d.ts.map +1 -0
  45. package/dist/hooks/use-rate-plan.js +12 -0
  46. package/dist/hooks/use-rate-plans.d.ts +32 -0
  47. package/dist/hooks/use-rate-plans.d.ts.map +1 -0
  48. package/dist/hooks/use-rate-plans.js +11 -0
  49. package/dist/hooks/use-room-block-mutation.d.ts +51 -0
  50. package/dist/hooks/use-room-block-mutation.d.ts.map +1 -0
  51. package/dist/hooks/use-room-block-mutation.js +38 -0
  52. package/dist/hooks/use-room-blocks.d.ts +25 -0
  53. package/dist/hooks/use-room-blocks.d.ts.map +1 -0
  54. package/dist/hooks/use-room-blocks.js +11 -0
  55. package/dist/hooks/use-room-inventory-mutation.d.ts +53 -0
  56. package/dist/hooks/use-room-inventory-mutation.d.ts.map +1 -0
  57. package/dist/hooks/use-room-inventory-mutation.js +38 -0
  58. package/dist/hooks/use-room-inventory.d.ts +29 -0
  59. package/dist/hooks/use-room-inventory.d.ts.map +1 -0
  60. package/dist/hooks/use-room-inventory.js +11 -0
  61. package/dist/hooks/use-room-type-mutation.d.ts +83 -0
  62. package/dist/hooks/use-room-type-mutation.d.ts.map +1 -0
  63. package/dist/hooks/use-room-type-mutation.js +38 -0
  64. package/dist/hooks/use-room-type-rate-mutation.d.ts +50 -0
  65. package/dist/hooks/use-room-type-rate-mutation.d.ts.map +1 -0
  66. package/dist/hooks/use-room-type-rate-mutation.js +38 -0
  67. package/dist/hooks/use-room-type-rates.d.ts +28 -0
  68. package/dist/hooks/use-room-type-rates.d.ts.map +1 -0
  69. package/dist/hooks/use-room-type-rates.js +11 -0
  70. package/dist/hooks/use-room-type.d.ts +28 -0
  71. package/dist/hooks/use-room-type.d.ts.map +1 -0
  72. package/dist/hooks/use-room-type.js +12 -0
  73. package/dist/hooks/use-room-types.d.ts +37 -0
  74. package/dist/hooks/use-room-types.d.ts.map +1 -0
  75. package/dist/hooks/use-room-types.js +11 -0
  76. package/dist/hooks/use-room-unit-mutation.d.ts +56 -0
  77. package/dist/hooks/use-room-unit-mutation.d.ts.map +1 -0
  78. package/dist/hooks/use-room-unit-mutation.js +38 -0
  79. package/dist/hooks/use-room-unit.d.ts +19 -0
  80. package/dist/hooks/use-room-unit.d.ts.map +1 -0
  81. package/dist/hooks/use-room-unit.js +12 -0
  82. package/dist/hooks/use-room-units.d.ts +28 -0
  83. package/dist/hooks/use-room-units.d.ts.map +1 -0
  84. package/dist/hooks/use-room-units.js +11 -0
  85. package/dist/hooks/use-stay-booking-item-mutation.d.ts +72 -0
  86. package/dist/hooks/use-stay-booking-item-mutation.d.ts.map +1 -0
  87. package/dist/hooks/use-stay-booking-item-mutation.js +38 -0
  88. package/dist/hooks/use-stay-booking-items.d.ts +39 -0
  89. package/dist/hooks/use-stay-booking-items.d.ts.map +1 -0
  90. package/dist/hooks/use-stay-booking-items.js +11 -0
  91. package/dist/hooks/use-stay-folio-mutation.d.ts +39 -0
  92. package/dist/hooks/use-stay-folio-mutation.d.ts.map +1 -0
  93. package/dist/hooks/use-stay-folio-mutation.js +38 -0
  94. package/dist/hooks/use-stay-folios.d.ts +22 -0
  95. package/dist/hooks/use-stay-folios.d.ts.map +1 -0
  96. package/dist/hooks/use-stay-folios.js +11 -0
  97. package/dist/hooks/use-stay-operation-mutation.d.ts +51 -0
  98. package/dist/hooks/use-stay-operation-mutation.d.ts.map +1 -0
  99. package/dist/hooks/use-stay-operation-mutation.js +38 -0
  100. package/dist/hooks/use-stay-operations.d.ts +28 -0
  101. package/dist/hooks/use-stay-operations.d.ts.map +1 -0
  102. package/dist/hooks/use-stay-operations.js +11 -0
  103. package/dist/hooks/use-stay-rule-mutation.d.ts +74 -0
  104. package/dist/hooks/use-stay-rule-mutation.d.ts.map +1 -0
  105. package/dist/hooks/use-stay-rule-mutation.js +38 -0
  106. package/dist/hooks/use-stay-rules.d.ts +33 -0
  107. package/dist/hooks/use-stay-rules.d.ts.map +1 -0
  108. package/dist/hooks/use-stay-rules.js +11 -0
  109. package/dist/index.d.ts +7 -0
  110. package/dist/index.d.ts.map +1 -0
  111. package/dist/index.js +6 -0
  112. package/dist/provider.d.ts +2 -0
  113. package/dist/provider.d.ts.map +1 -0
  114. package/dist/provider.js +1 -0
  115. package/dist/query-keys.d.ts +129 -0
  116. package/dist/query-keys.d.ts.map +1 -0
  117. package/dist/query-keys.js +48 -0
  118. package/dist/query-options.d.ts +1678 -0
  119. package/dist/query-options.d.ts.map +1 -0
  120. package/dist/query-options.js +189 -0
  121. package/dist/schemas.d.ts +965 -0
  122. package/dist/schemas.d.ts.map +1 -0
  123. package/dist/schemas.js +225 -0
  124. package/package.json +79 -0
@@ -0,0 +1,1678 @@
1
+ import { type FetchWithValidationOptions } from "./client.js";
2
+ import type { UseHousekeepingTasksOptions } from "./hooks/use-housekeeping-tasks.js";
3
+ import type { UseMaintenanceBlocksOptions } from "./hooks/use-maintenance-blocks.js";
4
+ import type { UseMealPlansOptions } from "./hooks/use-meal-plans.js";
5
+ import type { UseRatePlanInventoryOverridesOptions } from "./hooks/use-rate-plan-inventory-overrides.js";
6
+ import type { UseRatePlanRoomTypesOptions } from "./hooks/use-rate-plan-room-types.js";
7
+ import type { UseRatePlansOptions } from "./hooks/use-rate-plans.js";
8
+ import type { UseRoomBlocksOptions } from "./hooks/use-room-blocks.js";
9
+ import type { UseRoomInventoryOptions } from "./hooks/use-room-inventory.js";
10
+ import type { UseRoomTypeRatesOptions } from "./hooks/use-room-type-rates.js";
11
+ import type { UseRoomTypesOptions } from "./hooks/use-room-types.js";
12
+ import type { UseRoomUnitsOptions } from "./hooks/use-room-units.js";
13
+ import type { UseStayBookingItemsOptions } from "./hooks/use-stay-booking-items.js";
14
+ import type { UseStayFoliosOptions } from "./hooks/use-stay-folios.js";
15
+ import type { UseStayOperationsOptions } from "./hooks/use-stay-operations.js";
16
+ import type { UseStayRulesOptions } from "./hooks/use-stay-rules.js";
17
+ export declare function getRoomTypesQueryOptions(client: FetchWithValidationOptions, options: UseRoomTypesOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
18
+ data: {
19
+ propertyId: string;
20
+ name: string;
21
+ id: string;
22
+ code: string | null;
23
+ description: string | null;
24
+ maxAdults: number | null;
25
+ maxChildren: number | null;
26
+ maxInfants: number | null;
27
+ standardOccupancy: number | null;
28
+ maxOccupancy: number | null;
29
+ minOccupancy: number | null;
30
+ bedroomCount: number | null;
31
+ bathroomCount: number | null;
32
+ smokingAllowed: boolean;
33
+ active: boolean;
34
+ sortOrder: number;
35
+ inventoryMode: "virtual" | "pooled" | "serialized";
36
+ roomClass?: string | null | undefined;
37
+ areaValue?: number | null | undefined;
38
+ areaUnit?: string | null | undefined;
39
+ accessibilityNotes?: string | null | undefined;
40
+ metadata?: Record<string, unknown> | null | undefined;
41
+ }[];
42
+ total: number;
43
+ limit: number;
44
+ offset: number;
45
+ }, Error, {
46
+ data: {
47
+ propertyId: string;
48
+ name: string;
49
+ id: string;
50
+ code: string | null;
51
+ description: string | null;
52
+ maxAdults: number | null;
53
+ maxChildren: number | null;
54
+ maxInfants: number | null;
55
+ standardOccupancy: number | null;
56
+ maxOccupancy: number | null;
57
+ minOccupancy: number | null;
58
+ bedroomCount: number | null;
59
+ bathroomCount: number | null;
60
+ smokingAllowed: boolean;
61
+ active: boolean;
62
+ sortOrder: number;
63
+ inventoryMode: "virtual" | "pooled" | "serialized";
64
+ roomClass?: string | null | undefined;
65
+ areaValue?: number | null | undefined;
66
+ areaUnit?: string | null | undefined;
67
+ accessibilityNotes?: string | null | undefined;
68
+ metadata?: Record<string, unknown> | null | undefined;
69
+ }[];
70
+ total: number;
71
+ limit: number;
72
+ offset: number;
73
+ }, readonly ["hospitality", "room-types", import("./query-keys.js").HospitalityListFilters]>, "queryFn"> & {
74
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
75
+ data: {
76
+ propertyId: string;
77
+ name: string;
78
+ id: string;
79
+ code: string | null;
80
+ description: string | null;
81
+ maxAdults: number | null;
82
+ maxChildren: number | null;
83
+ maxInfants: number | null;
84
+ standardOccupancy: number | null;
85
+ maxOccupancy: number | null;
86
+ minOccupancy: number | null;
87
+ bedroomCount: number | null;
88
+ bathroomCount: number | null;
89
+ smokingAllowed: boolean;
90
+ active: boolean;
91
+ sortOrder: number;
92
+ inventoryMode: "virtual" | "pooled" | "serialized";
93
+ roomClass?: string | null | undefined;
94
+ areaValue?: number | null | undefined;
95
+ areaUnit?: string | null | undefined;
96
+ accessibilityNotes?: string | null | undefined;
97
+ metadata?: Record<string, unknown> | null | undefined;
98
+ }[];
99
+ total: number;
100
+ limit: number;
101
+ offset: number;
102
+ }, readonly ["hospitality", "room-types", import("./query-keys.js").HospitalityListFilters], never> | undefined;
103
+ } & {
104
+ queryKey: readonly ["hospitality", "room-types", import("./query-keys.js").HospitalityListFilters] & {
105
+ [dataTagSymbol]: {
106
+ data: {
107
+ propertyId: string;
108
+ name: string;
109
+ id: string;
110
+ code: string | null;
111
+ description: string | null;
112
+ maxAdults: number | null;
113
+ maxChildren: number | null;
114
+ maxInfants: number | null;
115
+ standardOccupancy: number | null;
116
+ maxOccupancy: number | null;
117
+ minOccupancy: number | null;
118
+ bedroomCount: number | null;
119
+ bathroomCount: number | null;
120
+ smokingAllowed: boolean;
121
+ active: boolean;
122
+ sortOrder: number;
123
+ inventoryMode: "virtual" | "pooled" | "serialized";
124
+ roomClass?: string | null | undefined;
125
+ areaValue?: number | null | undefined;
126
+ areaUnit?: string | null | undefined;
127
+ accessibilityNotes?: string | null | undefined;
128
+ metadata?: Record<string, unknown> | null | undefined;
129
+ }[];
130
+ total: number;
131
+ limit: number;
132
+ offset: number;
133
+ };
134
+ [dataTagErrorSymbol]: Error;
135
+ };
136
+ };
137
+ export declare function getRoomTypeQueryOptions(client: FetchWithValidationOptions, id: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
138
+ propertyId: string;
139
+ name: string;
140
+ id: string;
141
+ code: string | null;
142
+ description: string | null;
143
+ maxAdults: number | null;
144
+ maxChildren: number | null;
145
+ maxInfants: number | null;
146
+ standardOccupancy: number | null;
147
+ maxOccupancy: number | null;
148
+ minOccupancy: number | null;
149
+ bedroomCount: number | null;
150
+ bathroomCount: number | null;
151
+ smokingAllowed: boolean;
152
+ active: boolean;
153
+ sortOrder: number;
154
+ inventoryMode: "virtual" | "pooled" | "serialized";
155
+ roomClass?: string | null | undefined;
156
+ areaValue?: number | null | undefined;
157
+ areaUnit?: string | null | undefined;
158
+ accessibilityNotes?: string | null | undefined;
159
+ metadata?: Record<string, unknown> | null | undefined;
160
+ }, Error, {
161
+ propertyId: string;
162
+ name: string;
163
+ id: string;
164
+ code: string | null;
165
+ description: string | null;
166
+ maxAdults: number | null;
167
+ maxChildren: number | null;
168
+ maxInfants: number | null;
169
+ standardOccupancy: number | null;
170
+ maxOccupancy: number | null;
171
+ minOccupancy: number | null;
172
+ bedroomCount: number | null;
173
+ bathroomCount: number | null;
174
+ smokingAllowed: boolean;
175
+ active: boolean;
176
+ sortOrder: number;
177
+ inventoryMode: "virtual" | "pooled" | "serialized";
178
+ roomClass?: string | null | undefined;
179
+ areaValue?: number | null | undefined;
180
+ areaUnit?: string | null | undefined;
181
+ accessibilityNotes?: string | null | undefined;
182
+ metadata?: Record<string, unknown> | null | undefined;
183
+ }, readonly ["hospitality", "room-types", string]>, "queryFn"> & {
184
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
185
+ propertyId: string;
186
+ name: string;
187
+ id: string;
188
+ code: string | null;
189
+ description: string | null;
190
+ maxAdults: number | null;
191
+ maxChildren: number | null;
192
+ maxInfants: number | null;
193
+ standardOccupancy: number | null;
194
+ maxOccupancy: number | null;
195
+ minOccupancy: number | null;
196
+ bedroomCount: number | null;
197
+ bathroomCount: number | null;
198
+ smokingAllowed: boolean;
199
+ active: boolean;
200
+ sortOrder: number;
201
+ inventoryMode: "virtual" | "pooled" | "serialized";
202
+ roomClass?: string | null | undefined;
203
+ areaValue?: number | null | undefined;
204
+ areaUnit?: string | null | undefined;
205
+ accessibilityNotes?: string | null | undefined;
206
+ metadata?: Record<string, unknown> | null | undefined;
207
+ }, readonly ["hospitality", "room-types", string], never> | undefined;
208
+ } & {
209
+ queryKey: readonly ["hospitality", "room-types", string] & {
210
+ [dataTagSymbol]: {
211
+ propertyId: string;
212
+ name: string;
213
+ id: string;
214
+ code: string | null;
215
+ description: string | null;
216
+ maxAdults: number | null;
217
+ maxChildren: number | null;
218
+ maxInfants: number | null;
219
+ standardOccupancy: number | null;
220
+ maxOccupancy: number | null;
221
+ minOccupancy: number | null;
222
+ bedroomCount: number | null;
223
+ bathroomCount: number | null;
224
+ smokingAllowed: boolean;
225
+ active: boolean;
226
+ sortOrder: number;
227
+ inventoryMode: "virtual" | "pooled" | "serialized";
228
+ roomClass?: string | null | undefined;
229
+ areaValue?: number | null | undefined;
230
+ areaUnit?: string | null | undefined;
231
+ accessibilityNotes?: string | null | undefined;
232
+ metadata?: Record<string, unknown> | null | undefined;
233
+ };
234
+ [dataTagErrorSymbol]: Error;
235
+ };
236
+ };
237
+ export declare function getMealPlansQueryOptions(client: FetchWithValidationOptions, options: UseMealPlansOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
238
+ data: {
239
+ propertyId: string;
240
+ code: string;
241
+ name: string;
242
+ id: string;
243
+ description: string | null;
244
+ includesBreakfast: boolean;
245
+ includesLunch: boolean;
246
+ includesDinner: boolean;
247
+ includesDrinks: boolean;
248
+ active: boolean;
249
+ sortOrder: number;
250
+ metadata?: Record<string, unknown> | null | undefined;
251
+ }[];
252
+ total: number;
253
+ limit: number;
254
+ offset: number;
255
+ }, Error, {
256
+ data: {
257
+ propertyId: string;
258
+ code: string;
259
+ name: string;
260
+ id: string;
261
+ description: string | null;
262
+ includesBreakfast: boolean;
263
+ includesLunch: boolean;
264
+ includesDinner: boolean;
265
+ includesDrinks: boolean;
266
+ active: boolean;
267
+ sortOrder: number;
268
+ metadata?: Record<string, unknown> | null | undefined;
269
+ }[];
270
+ total: number;
271
+ limit: number;
272
+ offset: number;
273
+ }, readonly ["hospitality", "meal-plans", import("./query-keys.js").HospitalityListFilters]>, "queryFn"> & {
274
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
275
+ data: {
276
+ propertyId: string;
277
+ code: string;
278
+ name: string;
279
+ id: string;
280
+ description: string | null;
281
+ includesBreakfast: boolean;
282
+ includesLunch: boolean;
283
+ includesDinner: boolean;
284
+ includesDrinks: boolean;
285
+ active: boolean;
286
+ sortOrder: number;
287
+ metadata?: Record<string, unknown> | null | undefined;
288
+ }[];
289
+ total: number;
290
+ limit: number;
291
+ offset: number;
292
+ }, readonly ["hospitality", "meal-plans", import("./query-keys.js").HospitalityListFilters], never> | undefined;
293
+ } & {
294
+ queryKey: readonly ["hospitality", "meal-plans", import("./query-keys.js").HospitalityListFilters] & {
295
+ [dataTagSymbol]: {
296
+ data: {
297
+ propertyId: string;
298
+ code: string;
299
+ name: string;
300
+ id: string;
301
+ description: string | null;
302
+ includesBreakfast: boolean;
303
+ includesLunch: boolean;
304
+ includesDinner: boolean;
305
+ includesDrinks: boolean;
306
+ active: boolean;
307
+ sortOrder: number;
308
+ metadata?: Record<string, unknown> | null | undefined;
309
+ }[];
310
+ total: number;
311
+ limit: number;
312
+ offset: number;
313
+ };
314
+ [dataTagErrorSymbol]: Error;
315
+ };
316
+ };
317
+ export declare function getMealPlanQueryOptions(client: FetchWithValidationOptions, id: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
318
+ propertyId: string;
319
+ code: string;
320
+ name: string;
321
+ id: string;
322
+ description: string | null;
323
+ includesBreakfast: boolean;
324
+ includesLunch: boolean;
325
+ includesDinner: boolean;
326
+ includesDrinks: boolean;
327
+ active: boolean;
328
+ sortOrder: number;
329
+ metadata?: Record<string, unknown> | null | undefined;
330
+ }, Error, {
331
+ propertyId: string;
332
+ code: string;
333
+ name: string;
334
+ id: string;
335
+ description: string | null;
336
+ includesBreakfast: boolean;
337
+ includesLunch: boolean;
338
+ includesDinner: boolean;
339
+ includesDrinks: boolean;
340
+ active: boolean;
341
+ sortOrder: number;
342
+ metadata?: Record<string, unknown> | null | undefined;
343
+ }, readonly ["hospitality", "meal-plans", string]>, "queryFn"> & {
344
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
345
+ propertyId: string;
346
+ code: string;
347
+ name: string;
348
+ id: string;
349
+ description: string | null;
350
+ includesBreakfast: boolean;
351
+ includesLunch: boolean;
352
+ includesDinner: boolean;
353
+ includesDrinks: boolean;
354
+ active: boolean;
355
+ sortOrder: number;
356
+ metadata?: Record<string, unknown> | null | undefined;
357
+ }, readonly ["hospitality", "meal-plans", string], never> | undefined;
358
+ } & {
359
+ queryKey: readonly ["hospitality", "meal-plans", string] & {
360
+ [dataTagSymbol]: {
361
+ propertyId: string;
362
+ code: string;
363
+ name: string;
364
+ id: string;
365
+ description: string | null;
366
+ includesBreakfast: boolean;
367
+ includesLunch: boolean;
368
+ includesDinner: boolean;
369
+ includesDrinks: boolean;
370
+ active: boolean;
371
+ sortOrder: number;
372
+ metadata?: Record<string, unknown> | null | undefined;
373
+ };
374
+ [dataTagErrorSymbol]: Error;
375
+ };
376
+ };
377
+ export declare function getRoomUnitsQueryOptions(client: FetchWithValidationOptions, options: UseRoomUnitsOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
378
+ data: {
379
+ propertyId: string;
380
+ roomTypeId: string;
381
+ id: string;
382
+ code: string | null;
383
+ roomNumber: string | null;
384
+ floor: string | null;
385
+ wing: string | null;
386
+ status: "active" | "inactive" | "archived" | "out_of_order";
387
+ viewCode: string | null;
388
+ accessibilityCode: string | null;
389
+ genderRestriction: string | null;
390
+ notes: string | null;
391
+ metadata?: Record<string, unknown> | null | undefined;
392
+ }[];
393
+ total: number;
394
+ limit: number;
395
+ offset: number;
396
+ }, Error, {
397
+ data: {
398
+ propertyId: string;
399
+ roomTypeId: string;
400
+ id: string;
401
+ code: string | null;
402
+ roomNumber: string | null;
403
+ floor: string | null;
404
+ wing: string | null;
405
+ status: "active" | "inactive" | "archived" | "out_of_order";
406
+ viewCode: string | null;
407
+ accessibilityCode: string | null;
408
+ genderRestriction: string | null;
409
+ notes: string | null;
410
+ metadata?: Record<string, unknown> | null | undefined;
411
+ }[];
412
+ total: number;
413
+ limit: number;
414
+ offset: number;
415
+ }, readonly ["hospitality", "room-units", import("./query-keys.js").HospitalityListFilters]>, "queryFn"> & {
416
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
417
+ data: {
418
+ propertyId: string;
419
+ roomTypeId: string;
420
+ id: string;
421
+ code: string | null;
422
+ roomNumber: string | null;
423
+ floor: string | null;
424
+ wing: string | null;
425
+ status: "active" | "inactive" | "archived" | "out_of_order";
426
+ viewCode: string | null;
427
+ accessibilityCode: string | null;
428
+ genderRestriction: string | null;
429
+ notes: string | null;
430
+ metadata?: Record<string, unknown> | null | undefined;
431
+ }[];
432
+ total: number;
433
+ limit: number;
434
+ offset: number;
435
+ }, readonly ["hospitality", "room-units", import("./query-keys.js").HospitalityListFilters], never> | undefined;
436
+ } & {
437
+ queryKey: readonly ["hospitality", "room-units", import("./query-keys.js").HospitalityListFilters] & {
438
+ [dataTagSymbol]: {
439
+ data: {
440
+ propertyId: string;
441
+ roomTypeId: string;
442
+ id: string;
443
+ code: string | null;
444
+ roomNumber: string | null;
445
+ floor: string | null;
446
+ wing: string | null;
447
+ status: "active" | "inactive" | "archived" | "out_of_order";
448
+ viewCode: string | null;
449
+ accessibilityCode: string | null;
450
+ genderRestriction: string | null;
451
+ notes: string | null;
452
+ metadata?: Record<string, unknown> | null | undefined;
453
+ }[];
454
+ total: number;
455
+ limit: number;
456
+ offset: number;
457
+ };
458
+ [dataTagErrorSymbol]: Error;
459
+ };
460
+ };
461
+ export declare function getRoomUnitQueryOptions(client: FetchWithValidationOptions, id: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
462
+ propertyId: string;
463
+ roomTypeId: string;
464
+ id: string;
465
+ code: string | null;
466
+ roomNumber: string | null;
467
+ floor: string | null;
468
+ wing: string | null;
469
+ status: "active" | "inactive" | "archived" | "out_of_order";
470
+ viewCode: string | null;
471
+ accessibilityCode: string | null;
472
+ genderRestriction: string | null;
473
+ notes: string | null;
474
+ metadata?: Record<string, unknown> | null | undefined;
475
+ }, Error, {
476
+ propertyId: string;
477
+ roomTypeId: string;
478
+ id: string;
479
+ code: string | null;
480
+ roomNumber: string | null;
481
+ floor: string | null;
482
+ wing: string | null;
483
+ status: "active" | "inactive" | "archived" | "out_of_order";
484
+ viewCode: string | null;
485
+ accessibilityCode: string | null;
486
+ genderRestriction: string | null;
487
+ notes: string | null;
488
+ metadata?: Record<string, unknown> | null | undefined;
489
+ }, readonly ["hospitality", "room-units", string]>, "queryFn"> & {
490
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
491
+ propertyId: string;
492
+ roomTypeId: string;
493
+ id: string;
494
+ code: string | null;
495
+ roomNumber: string | null;
496
+ floor: string | null;
497
+ wing: string | null;
498
+ status: "active" | "inactive" | "archived" | "out_of_order";
499
+ viewCode: string | null;
500
+ accessibilityCode: string | null;
501
+ genderRestriction: string | null;
502
+ notes: string | null;
503
+ metadata?: Record<string, unknown> | null | undefined;
504
+ }, readonly ["hospitality", "room-units", string], never> | undefined;
505
+ } & {
506
+ queryKey: readonly ["hospitality", "room-units", string] & {
507
+ [dataTagSymbol]: {
508
+ propertyId: string;
509
+ roomTypeId: string;
510
+ id: string;
511
+ code: string | null;
512
+ roomNumber: string | null;
513
+ floor: string | null;
514
+ wing: string | null;
515
+ status: "active" | "inactive" | "archived" | "out_of_order";
516
+ viewCode: string | null;
517
+ accessibilityCode: string | null;
518
+ genderRestriction: string | null;
519
+ notes: string | null;
520
+ metadata?: Record<string, unknown> | null | undefined;
521
+ };
522
+ [dataTagErrorSymbol]: Error;
523
+ };
524
+ };
525
+ export declare function getMaintenanceBlocksQueryOptions(client: FetchWithValidationOptions, options: UseMaintenanceBlocksOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
526
+ data: {
527
+ propertyId: string;
528
+ startsOn: string;
529
+ endsOn: string;
530
+ id: string;
531
+ roomTypeId: string | null;
532
+ roomUnitId: string | null;
533
+ status: "in_progress" | "cancelled" | "open" | "resolved";
534
+ reason: string | null;
535
+ notes: string | null;
536
+ metadata?: Record<string, unknown> | null | undefined;
537
+ }[];
538
+ total: number;
539
+ limit: number;
540
+ offset: number;
541
+ }, Error, {
542
+ data: {
543
+ propertyId: string;
544
+ startsOn: string;
545
+ endsOn: string;
546
+ id: string;
547
+ roomTypeId: string | null;
548
+ roomUnitId: string | null;
549
+ status: "in_progress" | "cancelled" | "open" | "resolved";
550
+ reason: string | null;
551
+ notes: string | null;
552
+ metadata?: Record<string, unknown> | null | undefined;
553
+ }[];
554
+ total: number;
555
+ limit: number;
556
+ offset: number;
557
+ }, readonly ["hospitality", "maintenance-blocks", import("./query-keys.js").HospitalityListFilters]>, "queryFn"> & {
558
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
559
+ data: {
560
+ propertyId: string;
561
+ startsOn: string;
562
+ endsOn: string;
563
+ id: string;
564
+ roomTypeId: string | null;
565
+ roomUnitId: string | null;
566
+ status: "in_progress" | "cancelled" | "open" | "resolved";
567
+ reason: string | null;
568
+ notes: string | null;
569
+ metadata?: Record<string, unknown> | null | undefined;
570
+ }[];
571
+ total: number;
572
+ limit: number;
573
+ offset: number;
574
+ }, readonly ["hospitality", "maintenance-blocks", import("./query-keys.js").HospitalityListFilters], never> | undefined;
575
+ } & {
576
+ queryKey: readonly ["hospitality", "maintenance-blocks", import("./query-keys.js").HospitalityListFilters] & {
577
+ [dataTagSymbol]: {
578
+ data: {
579
+ propertyId: string;
580
+ startsOn: string;
581
+ endsOn: string;
582
+ id: string;
583
+ roomTypeId: string | null;
584
+ roomUnitId: string | null;
585
+ status: "in_progress" | "cancelled" | "open" | "resolved";
586
+ reason: string | null;
587
+ notes: string | null;
588
+ metadata?: Record<string, unknown> | null | undefined;
589
+ }[];
590
+ total: number;
591
+ limit: number;
592
+ offset: number;
593
+ };
594
+ [dataTagErrorSymbol]: Error;
595
+ };
596
+ };
597
+ export declare function getRoomBlocksQueryOptions(client: FetchWithValidationOptions, options: UseRoomBlocksOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
598
+ data: {
599
+ id: string;
600
+ propertyId: string;
601
+ roomTypeId: string | null;
602
+ roomUnitId: string | null;
603
+ startsOn: string;
604
+ endsOn: string;
605
+ status: "draft" | "confirmed" | "cancelled" | "held" | "released";
606
+ blockReason: string | null;
607
+ quantity: number;
608
+ releaseAt: string | null;
609
+ notes: string | null;
610
+ }[];
611
+ total: number;
612
+ limit: number;
613
+ offset: number;
614
+ }, Error, {
615
+ data: {
616
+ id: string;
617
+ propertyId: string;
618
+ roomTypeId: string | null;
619
+ roomUnitId: string | null;
620
+ startsOn: string;
621
+ endsOn: string;
622
+ status: "draft" | "confirmed" | "cancelled" | "held" | "released";
623
+ blockReason: string | null;
624
+ quantity: number;
625
+ releaseAt: string | null;
626
+ notes: string | null;
627
+ }[];
628
+ total: number;
629
+ limit: number;
630
+ offset: number;
631
+ }, readonly ["hospitality", "room-blocks", import("./query-keys.js").HospitalityListFilters]>, "queryFn"> & {
632
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
633
+ data: {
634
+ id: string;
635
+ propertyId: string;
636
+ roomTypeId: string | null;
637
+ roomUnitId: string | null;
638
+ startsOn: string;
639
+ endsOn: string;
640
+ status: "draft" | "confirmed" | "cancelled" | "held" | "released";
641
+ blockReason: string | null;
642
+ quantity: number;
643
+ releaseAt: string | null;
644
+ notes: string | null;
645
+ }[];
646
+ total: number;
647
+ limit: number;
648
+ offset: number;
649
+ }, readonly ["hospitality", "room-blocks", import("./query-keys.js").HospitalityListFilters], never> | undefined;
650
+ } & {
651
+ queryKey: readonly ["hospitality", "room-blocks", import("./query-keys.js").HospitalityListFilters] & {
652
+ [dataTagSymbol]: {
653
+ data: {
654
+ id: string;
655
+ propertyId: string;
656
+ roomTypeId: string | null;
657
+ roomUnitId: string | null;
658
+ startsOn: string;
659
+ endsOn: string;
660
+ status: "draft" | "confirmed" | "cancelled" | "held" | "released";
661
+ blockReason: string | null;
662
+ quantity: number;
663
+ releaseAt: string | null;
664
+ notes: string | null;
665
+ }[];
666
+ total: number;
667
+ limit: number;
668
+ offset: number;
669
+ };
670
+ [dataTagErrorSymbol]: Error;
671
+ };
672
+ };
673
+ export declare function getRoomInventoryQueryOptions(client: FetchWithValidationOptions, options: UseRoomInventoryOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
674
+ data: {
675
+ id: string;
676
+ propertyId: string;
677
+ roomTypeId: string;
678
+ date: string;
679
+ totalUnits: number;
680
+ availableUnits: number;
681
+ heldUnits: number;
682
+ soldUnits: number;
683
+ outOfOrderUnits: number;
684
+ overbookLimit: number | null;
685
+ stopSell: boolean;
686
+ notes: string | null;
687
+ }[];
688
+ total: number;
689
+ limit: number;
690
+ offset: number;
691
+ }, Error, {
692
+ data: {
693
+ id: string;
694
+ propertyId: string;
695
+ roomTypeId: string;
696
+ date: string;
697
+ totalUnits: number;
698
+ availableUnits: number;
699
+ heldUnits: number;
700
+ soldUnits: number;
701
+ outOfOrderUnits: number;
702
+ overbookLimit: number | null;
703
+ stopSell: boolean;
704
+ notes: string | null;
705
+ }[];
706
+ total: number;
707
+ limit: number;
708
+ offset: number;
709
+ }, readonly ["hospitality", "room-inventory", import("./query-keys.js").HospitalityDateFilters & {
710
+ dateFrom?: string | undefined;
711
+ dateTo?: string | undefined;
712
+ roomTypeId?: string | undefined;
713
+ }]>, "queryFn"> & {
714
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
715
+ data: {
716
+ id: string;
717
+ propertyId: string;
718
+ roomTypeId: string;
719
+ date: string;
720
+ totalUnits: number;
721
+ availableUnits: number;
722
+ heldUnits: number;
723
+ soldUnits: number;
724
+ outOfOrderUnits: number;
725
+ overbookLimit: number | null;
726
+ stopSell: boolean;
727
+ notes: string | null;
728
+ }[];
729
+ total: number;
730
+ limit: number;
731
+ offset: number;
732
+ }, readonly ["hospitality", "room-inventory", import("./query-keys.js").HospitalityDateFilters & {
733
+ dateFrom?: string | undefined;
734
+ dateTo?: string | undefined;
735
+ roomTypeId?: string | undefined;
736
+ }], never> | undefined;
737
+ } & {
738
+ queryKey: readonly ["hospitality", "room-inventory", import("./query-keys.js").HospitalityDateFilters & {
739
+ dateFrom?: string | undefined;
740
+ dateTo?: string | undefined;
741
+ roomTypeId?: string | undefined;
742
+ }] & {
743
+ [dataTagSymbol]: {
744
+ data: {
745
+ id: string;
746
+ propertyId: string;
747
+ roomTypeId: string;
748
+ date: string;
749
+ totalUnits: number;
750
+ availableUnits: number;
751
+ heldUnits: number;
752
+ soldUnits: number;
753
+ outOfOrderUnits: number;
754
+ overbookLimit: number | null;
755
+ stopSell: boolean;
756
+ notes: string | null;
757
+ }[];
758
+ total: number;
759
+ limit: number;
760
+ offset: number;
761
+ };
762
+ [dataTagErrorSymbol]: Error;
763
+ };
764
+ };
765
+ export declare function getRatePlansQueryOptions(client: FetchWithValidationOptions, options: UseRatePlansOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
766
+ data: {
767
+ propertyId: string;
768
+ code: string;
769
+ name: string;
770
+ currencyCode: string;
771
+ id: string;
772
+ description: string | null;
773
+ mealPlanId: string | null;
774
+ priceCatalogId: string | null;
775
+ cancellationPolicyId: string | null;
776
+ chargeFrequency: "per_night" | "per_stay" | "per_person_per_night" | "per_person_per_stay";
777
+ guaranteeMode: "none" | "card_hold" | "deposit" | "full_prepay" | "on_request";
778
+ commissionable: boolean;
779
+ refundable: boolean;
780
+ active: boolean;
781
+ sortOrder: number;
782
+ marketId?: string | null | undefined;
783
+ metadata?: Record<string, unknown> | null | undefined;
784
+ }[];
785
+ total: number;
786
+ limit: number;
787
+ offset: number;
788
+ }, Error, {
789
+ data: {
790
+ propertyId: string;
791
+ code: string;
792
+ name: string;
793
+ currencyCode: string;
794
+ id: string;
795
+ description: string | null;
796
+ mealPlanId: string | null;
797
+ priceCatalogId: string | null;
798
+ cancellationPolicyId: string | null;
799
+ chargeFrequency: "per_night" | "per_stay" | "per_person_per_night" | "per_person_per_stay";
800
+ guaranteeMode: "none" | "card_hold" | "deposit" | "full_prepay" | "on_request";
801
+ commissionable: boolean;
802
+ refundable: boolean;
803
+ active: boolean;
804
+ sortOrder: number;
805
+ marketId?: string | null | undefined;
806
+ metadata?: Record<string, unknown> | null | undefined;
807
+ }[];
808
+ total: number;
809
+ limit: number;
810
+ offset: number;
811
+ }, readonly ["hospitality", "rate-plans", import("./query-keys.js").HospitalityListFilters]>, "queryFn"> & {
812
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
813
+ data: {
814
+ propertyId: string;
815
+ code: string;
816
+ name: string;
817
+ currencyCode: string;
818
+ id: string;
819
+ description: string | null;
820
+ mealPlanId: string | null;
821
+ priceCatalogId: string | null;
822
+ cancellationPolicyId: string | null;
823
+ chargeFrequency: "per_night" | "per_stay" | "per_person_per_night" | "per_person_per_stay";
824
+ guaranteeMode: "none" | "card_hold" | "deposit" | "full_prepay" | "on_request";
825
+ commissionable: boolean;
826
+ refundable: boolean;
827
+ active: boolean;
828
+ sortOrder: number;
829
+ marketId?: string | null | undefined;
830
+ metadata?: Record<string, unknown> | null | undefined;
831
+ }[];
832
+ total: number;
833
+ limit: number;
834
+ offset: number;
835
+ }, readonly ["hospitality", "rate-plans", import("./query-keys.js").HospitalityListFilters], never> | undefined;
836
+ } & {
837
+ queryKey: readonly ["hospitality", "rate-plans", import("./query-keys.js").HospitalityListFilters] & {
838
+ [dataTagSymbol]: {
839
+ data: {
840
+ propertyId: string;
841
+ code: string;
842
+ name: string;
843
+ currencyCode: string;
844
+ id: string;
845
+ description: string | null;
846
+ mealPlanId: string | null;
847
+ priceCatalogId: string | null;
848
+ cancellationPolicyId: string | null;
849
+ chargeFrequency: "per_night" | "per_stay" | "per_person_per_night" | "per_person_per_stay";
850
+ guaranteeMode: "none" | "card_hold" | "deposit" | "full_prepay" | "on_request";
851
+ commissionable: boolean;
852
+ refundable: boolean;
853
+ active: boolean;
854
+ sortOrder: number;
855
+ marketId?: string | null | undefined;
856
+ metadata?: Record<string, unknown> | null | undefined;
857
+ }[];
858
+ total: number;
859
+ limit: number;
860
+ offset: number;
861
+ };
862
+ [dataTagErrorSymbol]: Error;
863
+ };
864
+ };
865
+ export declare function getRatePlanQueryOptions(client: FetchWithValidationOptions, id: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
866
+ propertyId: string;
867
+ code: string;
868
+ name: string;
869
+ currencyCode: string;
870
+ id: string;
871
+ description: string | null;
872
+ mealPlanId: string | null;
873
+ priceCatalogId: string | null;
874
+ cancellationPolicyId: string | null;
875
+ chargeFrequency: "per_night" | "per_stay" | "per_person_per_night" | "per_person_per_stay";
876
+ guaranteeMode: "none" | "card_hold" | "deposit" | "full_prepay" | "on_request";
877
+ commissionable: boolean;
878
+ refundable: boolean;
879
+ active: boolean;
880
+ sortOrder: number;
881
+ marketId?: string | null | undefined;
882
+ metadata?: Record<string, unknown> | null | undefined;
883
+ }, Error, {
884
+ propertyId: string;
885
+ code: string;
886
+ name: string;
887
+ currencyCode: string;
888
+ id: string;
889
+ description: string | null;
890
+ mealPlanId: string | null;
891
+ priceCatalogId: string | null;
892
+ cancellationPolicyId: string | null;
893
+ chargeFrequency: "per_night" | "per_stay" | "per_person_per_night" | "per_person_per_stay";
894
+ guaranteeMode: "none" | "card_hold" | "deposit" | "full_prepay" | "on_request";
895
+ commissionable: boolean;
896
+ refundable: boolean;
897
+ active: boolean;
898
+ sortOrder: number;
899
+ marketId?: string | null | undefined;
900
+ metadata?: Record<string, unknown> | null | undefined;
901
+ }, readonly ["hospitality", "rate-plans", string]>, "queryFn"> & {
902
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
903
+ propertyId: string;
904
+ code: string;
905
+ name: string;
906
+ currencyCode: string;
907
+ id: string;
908
+ description: string | null;
909
+ mealPlanId: string | null;
910
+ priceCatalogId: string | null;
911
+ cancellationPolicyId: string | null;
912
+ chargeFrequency: "per_night" | "per_stay" | "per_person_per_night" | "per_person_per_stay";
913
+ guaranteeMode: "none" | "card_hold" | "deposit" | "full_prepay" | "on_request";
914
+ commissionable: boolean;
915
+ refundable: boolean;
916
+ active: boolean;
917
+ sortOrder: number;
918
+ marketId?: string | null | undefined;
919
+ metadata?: Record<string, unknown> | null | undefined;
920
+ }, readonly ["hospitality", "rate-plans", string], never> | undefined;
921
+ } & {
922
+ queryKey: readonly ["hospitality", "rate-plans", string] & {
923
+ [dataTagSymbol]: {
924
+ propertyId: string;
925
+ code: string;
926
+ name: string;
927
+ currencyCode: string;
928
+ id: string;
929
+ description: string | null;
930
+ mealPlanId: string | null;
931
+ priceCatalogId: string | null;
932
+ cancellationPolicyId: string | null;
933
+ chargeFrequency: "per_night" | "per_stay" | "per_person_per_night" | "per_person_per_stay";
934
+ guaranteeMode: "none" | "card_hold" | "deposit" | "full_prepay" | "on_request";
935
+ commissionable: boolean;
936
+ refundable: boolean;
937
+ active: boolean;
938
+ sortOrder: number;
939
+ marketId?: string | null | undefined;
940
+ metadata?: Record<string, unknown> | null | undefined;
941
+ };
942
+ [dataTagErrorSymbol]: Error;
943
+ };
944
+ };
945
+ export declare function getRatePlanRoomTypesQueryOptions(client: FetchWithValidationOptions, options: UseRatePlanRoomTypesOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
946
+ data: {
947
+ ratePlanId: string;
948
+ roomTypeId: string;
949
+ id: string;
950
+ productId: string | null;
951
+ optionId: string | null;
952
+ unitId: string | null;
953
+ active: boolean;
954
+ sortOrder: number;
955
+ }[];
956
+ total: number;
957
+ limit: number;
958
+ offset: number;
959
+ }, Error, {
960
+ data: {
961
+ ratePlanId: string;
962
+ roomTypeId: string;
963
+ id: string;
964
+ productId: string | null;
965
+ optionId: string | null;
966
+ unitId: string | null;
967
+ active: boolean;
968
+ sortOrder: number;
969
+ }[];
970
+ total: number;
971
+ limit: number;
972
+ offset: number;
973
+ }, readonly ["hospitality", "rate-plan-room-types", import("./query-keys.js").HospitalityListFilters & {
974
+ ratePlanId?: string | undefined;
975
+ roomTypeId?: string | undefined;
976
+ productId?: string | undefined;
977
+ active?: boolean | undefined;
978
+ }]>, "queryFn"> & {
979
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
980
+ data: {
981
+ ratePlanId: string;
982
+ roomTypeId: string;
983
+ id: string;
984
+ productId: string | null;
985
+ optionId: string | null;
986
+ unitId: string | null;
987
+ active: boolean;
988
+ sortOrder: number;
989
+ }[];
990
+ total: number;
991
+ limit: number;
992
+ offset: number;
993
+ }, readonly ["hospitality", "rate-plan-room-types", import("./query-keys.js").HospitalityListFilters & {
994
+ ratePlanId?: string | undefined;
995
+ roomTypeId?: string | undefined;
996
+ productId?: string | undefined;
997
+ active?: boolean | undefined;
998
+ }], never> | undefined;
999
+ } & {
1000
+ queryKey: readonly ["hospitality", "rate-plan-room-types", import("./query-keys.js").HospitalityListFilters & {
1001
+ ratePlanId?: string | undefined;
1002
+ roomTypeId?: string | undefined;
1003
+ productId?: string | undefined;
1004
+ active?: boolean | undefined;
1005
+ }] & {
1006
+ [dataTagSymbol]: {
1007
+ data: {
1008
+ ratePlanId: string;
1009
+ roomTypeId: string;
1010
+ id: string;
1011
+ productId: string | null;
1012
+ optionId: string | null;
1013
+ unitId: string | null;
1014
+ active: boolean;
1015
+ sortOrder: number;
1016
+ }[];
1017
+ total: number;
1018
+ limit: number;
1019
+ offset: number;
1020
+ };
1021
+ [dataTagErrorSymbol]: Error;
1022
+ };
1023
+ };
1024
+ export declare function getRatePlanInventoryOverridesQueryOptions(client: FetchWithValidationOptions, options: UseRatePlanInventoryOverridesOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1025
+ data: {
1026
+ ratePlanId: string;
1027
+ roomTypeId: string;
1028
+ date: string;
1029
+ stopSell: boolean;
1030
+ closedToArrival: boolean;
1031
+ closedToDeparture: boolean;
1032
+ id: string;
1033
+ minNightsOverride: number | null;
1034
+ maxNightsOverride: number | null;
1035
+ notes: string | null;
1036
+ }[];
1037
+ total: number;
1038
+ limit: number;
1039
+ offset: number;
1040
+ }, Error, {
1041
+ data: {
1042
+ ratePlanId: string;
1043
+ roomTypeId: string;
1044
+ date: string;
1045
+ stopSell: boolean;
1046
+ closedToArrival: boolean;
1047
+ closedToDeparture: boolean;
1048
+ id: string;
1049
+ minNightsOverride: number | null;
1050
+ maxNightsOverride: number | null;
1051
+ notes: string | null;
1052
+ }[];
1053
+ total: number;
1054
+ limit: number;
1055
+ offset: number;
1056
+ }, readonly ["hospitality", "rate-plan-inventory-overrides", import("./query-keys.js").HospitalityDateFilters & {
1057
+ ratePlanId?: string | undefined;
1058
+ roomTypeId?: string | undefined;
1059
+ }]>, "queryFn"> & {
1060
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1061
+ data: {
1062
+ ratePlanId: string;
1063
+ roomTypeId: string;
1064
+ date: string;
1065
+ stopSell: boolean;
1066
+ closedToArrival: boolean;
1067
+ closedToDeparture: boolean;
1068
+ id: string;
1069
+ minNightsOverride: number | null;
1070
+ maxNightsOverride: number | null;
1071
+ notes: string | null;
1072
+ }[];
1073
+ total: number;
1074
+ limit: number;
1075
+ offset: number;
1076
+ }, readonly ["hospitality", "rate-plan-inventory-overrides", import("./query-keys.js").HospitalityDateFilters & {
1077
+ ratePlanId?: string | undefined;
1078
+ roomTypeId?: string | undefined;
1079
+ }], never> | undefined;
1080
+ } & {
1081
+ queryKey: readonly ["hospitality", "rate-plan-inventory-overrides", import("./query-keys.js").HospitalityDateFilters & {
1082
+ ratePlanId?: string | undefined;
1083
+ roomTypeId?: string | undefined;
1084
+ }] & {
1085
+ [dataTagSymbol]: {
1086
+ data: {
1087
+ ratePlanId: string;
1088
+ roomTypeId: string;
1089
+ date: string;
1090
+ stopSell: boolean;
1091
+ closedToArrival: boolean;
1092
+ closedToDeparture: boolean;
1093
+ id: string;
1094
+ minNightsOverride: number | null;
1095
+ maxNightsOverride: number | null;
1096
+ notes: string | null;
1097
+ }[];
1098
+ total: number;
1099
+ limit: number;
1100
+ offset: number;
1101
+ };
1102
+ [dataTagErrorSymbol]: Error;
1103
+ };
1104
+ };
1105
+ export declare function getRoomTypeRatesQueryOptions(client: FetchWithValidationOptions, options: UseRoomTypeRatesOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1106
+ data: {
1107
+ ratePlanId: string;
1108
+ roomTypeId: string;
1109
+ currencyCode: string;
1110
+ id: string;
1111
+ priceScheduleId: string | null;
1112
+ baseAmountCents: number | null;
1113
+ extraAdultAmountCents: number | null;
1114
+ extraChildAmountCents: number | null;
1115
+ extraInfantAmountCents: number | null;
1116
+ active: boolean;
1117
+ notes: string | null;
1118
+ }[];
1119
+ total: number;
1120
+ limit: number;
1121
+ offset: number;
1122
+ }, Error, {
1123
+ data: {
1124
+ ratePlanId: string;
1125
+ roomTypeId: string;
1126
+ currencyCode: string;
1127
+ id: string;
1128
+ priceScheduleId: string | null;
1129
+ baseAmountCents: number | null;
1130
+ extraAdultAmountCents: number | null;
1131
+ extraChildAmountCents: number | null;
1132
+ extraInfantAmountCents: number | null;
1133
+ active: boolean;
1134
+ notes: string | null;
1135
+ }[];
1136
+ total: number;
1137
+ limit: number;
1138
+ offset: number;
1139
+ }, readonly ["hospitality", "room-type-rates", import("./query-keys.js").HospitalityListFilters & {
1140
+ ratePlanId?: string | undefined;
1141
+ roomTypeId?: string | undefined;
1142
+ priceScheduleId?: string | undefined;
1143
+ active?: boolean | undefined;
1144
+ }]>, "queryFn"> & {
1145
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1146
+ data: {
1147
+ ratePlanId: string;
1148
+ roomTypeId: string;
1149
+ currencyCode: string;
1150
+ id: string;
1151
+ priceScheduleId: string | null;
1152
+ baseAmountCents: number | null;
1153
+ extraAdultAmountCents: number | null;
1154
+ extraChildAmountCents: number | null;
1155
+ extraInfantAmountCents: number | null;
1156
+ active: boolean;
1157
+ notes: string | null;
1158
+ }[];
1159
+ total: number;
1160
+ limit: number;
1161
+ offset: number;
1162
+ }, readonly ["hospitality", "room-type-rates", import("./query-keys.js").HospitalityListFilters & {
1163
+ ratePlanId?: string | undefined;
1164
+ roomTypeId?: string | undefined;
1165
+ priceScheduleId?: string | undefined;
1166
+ active?: boolean | undefined;
1167
+ }], never> | undefined;
1168
+ } & {
1169
+ queryKey: readonly ["hospitality", "room-type-rates", import("./query-keys.js").HospitalityListFilters & {
1170
+ ratePlanId?: string | undefined;
1171
+ roomTypeId?: string | undefined;
1172
+ priceScheduleId?: string | undefined;
1173
+ active?: boolean | undefined;
1174
+ }] & {
1175
+ [dataTagSymbol]: {
1176
+ data: {
1177
+ ratePlanId: string;
1178
+ roomTypeId: string;
1179
+ currencyCode: string;
1180
+ id: string;
1181
+ priceScheduleId: string | null;
1182
+ baseAmountCents: number | null;
1183
+ extraAdultAmountCents: number | null;
1184
+ extraChildAmountCents: number | null;
1185
+ extraInfantAmountCents: number | null;
1186
+ active: boolean;
1187
+ notes: string | null;
1188
+ }[];
1189
+ total: number;
1190
+ limit: number;
1191
+ offset: number;
1192
+ };
1193
+ [dataTagErrorSymbol]: Error;
1194
+ };
1195
+ };
1196
+ export declare function getStayRulesQueryOptions(client: FetchWithValidationOptions, options: UseStayRulesOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1197
+ data: {
1198
+ propertyId: string;
1199
+ closedToArrival: boolean;
1200
+ closedToDeparture: boolean;
1201
+ id: string;
1202
+ ratePlanId: string | null;
1203
+ roomTypeId: string | null;
1204
+ validFrom: string | null;
1205
+ validTo: string | null;
1206
+ minNights: number | null;
1207
+ maxNights: number | null;
1208
+ minAdvanceDays: number | null;
1209
+ maxAdvanceDays: number | null;
1210
+ releaseDays: number | null;
1211
+ arrivalWeekdays: string[] | null;
1212
+ departureWeekdays: string[] | null;
1213
+ notes: string | null;
1214
+ active: boolean;
1215
+ priority: number;
1216
+ metadata?: Record<string, unknown> | null | undefined;
1217
+ }[];
1218
+ total: number;
1219
+ limit: number;
1220
+ offset: number;
1221
+ }, Error, {
1222
+ data: {
1223
+ propertyId: string;
1224
+ closedToArrival: boolean;
1225
+ closedToDeparture: boolean;
1226
+ id: string;
1227
+ ratePlanId: string | null;
1228
+ roomTypeId: string | null;
1229
+ validFrom: string | null;
1230
+ validTo: string | null;
1231
+ minNights: number | null;
1232
+ maxNights: number | null;
1233
+ minAdvanceDays: number | null;
1234
+ maxAdvanceDays: number | null;
1235
+ releaseDays: number | null;
1236
+ arrivalWeekdays: string[] | null;
1237
+ departureWeekdays: string[] | null;
1238
+ notes: string | null;
1239
+ active: boolean;
1240
+ priority: number;
1241
+ metadata?: Record<string, unknown> | null | undefined;
1242
+ }[];
1243
+ total: number;
1244
+ limit: number;
1245
+ offset: number;
1246
+ }, readonly ["hospitality", "stay-rules", import("./query-keys.js").HospitalityListFilters]>, "queryFn"> & {
1247
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1248
+ data: {
1249
+ propertyId: string;
1250
+ closedToArrival: boolean;
1251
+ closedToDeparture: boolean;
1252
+ id: string;
1253
+ ratePlanId: string | null;
1254
+ roomTypeId: string | null;
1255
+ validFrom: string | null;
1256
+ validTo: string | null;
1257
+ minNights: number | null;
1258
+ maxNights: number | null;
1259
+ minAdvanceDays: number | null;
1260
+ maxAdvanceDays: number | null;
1261
+ releaseDays: number | null;
1262
+ arrivalWeekdays: string[] | null;
1263
+ departureWeekdays: string[] | null;
1264
+ notes: string | null;
1265
+ active: boolean;
1266
+ priority: number;
1267
+ metadata?: Record<string, unknown> | null | undefined;
1268
+ }[];
1269
+ total: number;
1270
+ limit: number;
1271
+ offset: number;
1272
+ }, readonly ["hospitality", "stay-rules", import("./query-keys.js").HospitalityListFilters], never> | undefined;
1273
+ } & {
1274
+ queryKey: readonly ["hospitality", "stay-rules", import("./query-keys.js").HospitalityListFilters] & {
1275
+ [dataTagSymbol]: {
1276
+ data: {
1277
+ propertyId: string;
1278
+ closedToArrival: boolean;
1279
+ closedToDeparture: boolean;
1280
+ id: string;
1281
+ ratePlanId: string | null;
1282
+ roomTypeId: string | null;
1283
+ validFrom: string | null;
1284
+ validTo: string | null;
1285
+ minNights: number | null;
1286
+ maxNights: number | null;
1287
+ minAdvanceDays: number | null;
1288
+ maxAdvanceDays: number | null;
1289
+ releaseDays: number | null;
1290
+ arrivalWeekdays: string[] | null;
1291
+ departureWeekdays: string[] | null;
1292
+ notes: string | null;
1293
+ active: boolean;
1294
+ priority: number;
1295
+ metadata?: Record<string, unknown> | null | undefined;
1296
+ }[];
1297
+ total: number;
1298
+ limit: number;
1299
+ offset: number;
1300
+ };
1301
+ [dataTagErrorSymbol]: Error;
1302
+ };
1303
+ };
1304
+ export declare function getStayBookingItemsQueryOptions(client: FetchWithValidationOptions, options: UseStayBookingItemsOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1305
+ data: {
1306
+ id: string;
1307
+ bookingItemId: string;
1308
+ propertyId: string;
1309
+ roomTypeId: string;
1310
+ roomUnitId: string | null;
1311
+ ratePlanId: string;
1312
+ mealPlanId: string | null;
1313
+ checkInDate: string;
1314
+ checkOutDate: string;
1315
+ nightCount: number;
1316
+ roomCount: number;
1317
+ adults: number;
1318
+ children: number;
1319
+ infants: number;
1320
+ confirmationCode: string | null;
1321
+ voucherCode: string | null;
1322
+ status: "cancelled" | "reserved" | "checked_in" | "checked_out" | "no_show";
1323
+ notes: string | null;
1324
+ }[];
1325
+ total: number;
1326
+ limit: number;
1327
+ offset: number;
1328
+ }, Error, {
1329
+ data: {
1330
+ id: string;
1331
+ bookingItemId: string;
1332
+ propertyId: string;
1333
+ roomTypeId: string;
1334
+ roomUnitId: string | null;
1335
+ ratePlanId: string;
1336
+ mealPlanId: string | null;
1337
+ checkInDate: string;
1338
+ checkOutDate: string;
1339
+ nightCount: number;
1340
+ roomCount: number;
1341
+ adults: number;
1342
+ children: number;
1343
+ infants: number;
1344
+ confirmationCode: string | null;
1345
+ voucherCode: string | null;
1346
+ status: "cancelled" | "reserved" | "checked_in" | "checked_out" | "no_show";
1347
+ notes: string | null;
1348
+ }[];
1349
+ total: number;
1350
+ limit: number;
1351
+ offset: number;
1352
+ }, readonly ["hospitality", "stay-booking-items", import("./query-keys.js").HospitalityDateFilters & {
1353
+ bookingItemId?: string | undefined;
1354
+ roomTypeId?: string | undefined;
1355
+ roomUnitId?: string | undefined;
1356
+ ratePlanId?: string | undefined;
1357
+ status?: string | undefined;
1358
+ }]>, "queryFn"> & {
1359
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1360
+ data: {
1361
+ id: string;
1362
+ bookingItemId: string;
1363
+ propertyId: string;
1364
+ roomTypeId: string;
1365
+ roomUnitId: string | null;
1366
+ ratePlanId: string;
1367
+ mealPlanId: string | null;
1368
+ checkInDate: string;
1369
+ checkOutDate: string;
1370
+ nightCount: number;
1371
+ roomCount: number;
1372
+ adults: number;
1373
+ children: number;
1374
+ infants: number;
1375
+ confirmationCode: string | null;
1376
+ voucherCode: string | null;
1377
+ status: "cancelled" | "reserved" | "checked_in" | "checked_out" | "no_show";
1378
+ notes: string | null;
1379
+ }[];
1380
+ total: number;
1381
+ limit: number;
1382
+ offset: number;
1383
+ }, readonly ["hospitality", "stay-booking-items", import("./query-keys.js").HospitalityDateFilters & {
1384
+ bookingItemId?: string | undefined;
1385
+ roomTypeId?: string | undefined;
1386
+ roomUnitId?: string | undefined;
1387
+ ratePlanId?: string | undefined;
1388
+ status?: string | undefined;
1389
+ }], never> | undefined;
1390
+ } & {
1391
+ queryKey: readonly ["hospitality", "stay-booking-items", import("./query-keys.js").HospitalityDateFilters & {
1392
+ bookingItemId?: string | undefined;
1393
+ roomTypeId?: string | undefined;
1394
+ roomUnitId?: string | undefined;
1395
+ ratePlanId?: string | undefined;
1396
+ status?: string | undefined;
1397
+ }] & {
1398
+ [dataTagSymbol]: {
1399
+ data: {
1400
+ id: string;
1401
+ bookingItemId: string;
1402
+ propertyId: string;
1403
+ roomTypeId: string;
1404
+ roomUnitId: string | null;
1405
+ ratePlanId: string;
1406
+ mealPlanId: string | null;
1407
+ checkInDate: string;
1408
+ checkOutDate: string;
1409
+ nightCount: number;
1410
+ roomCount: number;
1411
+ adults: number;
1412
+ children: number;
1413
+ infants: number;
1414
+ confirmationCode: string | null;
1415
+ voucherCode: string | null;
1416
+ status: "cancelled" | "reserved" | "checked_in" | "checked_out" | "no_show";
1417
+ notes: string | null;
1418
+ }[];
1419
+ total: number;
1420
+ limit: number;
1421
+ offset: number;
1422
+ };
1423
+ [dataTagErrorSymbol]: Error;
1424
+ };
1425
+ };
1426
+ export declare function getStayOperationsQueryOptions(client: FetchWithValidationOptions, options: UseStayOperationsOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1427
+ data: {
1428
+ id: string;
1429
+ stayBookingItemId: string;
1430
+ propertyId: string;
1431
+ roomUnitId: string | null;
1432
+ operationStatus: "cancelled" | "reserved" | "checked_in" | "checked_out" | "no_show" | "expected_arrival";
1433
+ expectedArrivalAt: string | null;
1434
+ expectedDepartureAt: string | null;
1435
+ checkedInAt: string | null;
1436
+ checkedOutAt: string | null;
1437
+ noShowRecordedAt: string | null;
1438
+ notes: string | null;
1439
+ }[];
1440
+ total: number;
1441
+ limit: number;
1442
+ offset: number;
1443
+ }, Error, {
1444
+ data: {
1445
+ id: string;
1446
+ stayBookingItemId: string;
1447
+ propertyId: string;
1448
+ roomUnitId: string | null;
1449
+ operationStatus: "cancelled" | "reserved" | "checked_in" | "checked_out" | "no_show" | "expected_arrival";
1450
+ expectedArrivalAt: string | null;
1451
+ expectedDepartureAt: string | null;
1452
+ checkedInAt: string | null;
1453
+ checkedOutAt: string | null;
1454
+ noShowRecordedAt: string | null;
1455
+ notes: string | null;
1456
+ }[];
1457
+ total: number;
1458
+ limit: number;
1459
+ offset: number;
1460
+ }, readonly ["hospitality", "stay-operations", import("./query-keys.js").HospitalityListFilters & {
1461
+ stayBookingItemId?: string | undefined;
1462
+ roomUnitId?: string | undefined;
1463
+ operationStatus?: string | undefined;
1464
+ }]>, "queryFn"> & {
1465
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1466
+ data: {
1467
+ id: string;
1468
+ stayBookingItemId: string;
1469
+ propertyId: string;
1470
+ roomUnitId: string | null;
1471
+ operationStatus: "cancelled" | "reserved" | "checked_in" | "checked_out" | "no_show" | "expected_arrival";
1472
+ expectedArrivalAt: string | null;
1473
+ expectedDepartureAt: string | null;
1474
+ checkedInAt: string | null;
1475
+ checkedOutAt: string | null;
1476
+ noShowRecordedAt: string | null;
1477
+ notes: string | null;
1478
+ }[];
1479
+ total: number;
1480
+ limit: number;
1481
+ offset: number;
1482
+ }, readonly ["hospitality", "stay-operations", import("./query-keys.js").HospitalityListFilters & {
1483
+ stayBookingItemId?: string | undefined;
1484
+ roomUnitId?: string | undefined;
1485
+ operationStatus?: string | undefined;
1486
+ }], never> | undefined;
1487
+ } & {
1488
+ queryKey: readonly ["hospitality", "stay-operations", import("./query-keys.js").HospitalityListFilters & {
1489
+ stayBookingItemId?: string | undefined;
1490
+ roomUnitId?: string | undefined;
1491
+ operationStatus?: string | undefined;
1492
+ }] & {
1493
+ [dataTagSymbol]: {
1494
+ data: {
1495
+ id: string;
1496
+ stayBookingItemId: string;
1497
+ propertyId: string;
1498
+ roomUnitId: string | null;
1499
+ operationStatus: "cancelled" | "reserved" | "checked_in" | "checked_out" | "no_show" | "expected_arrival";
1500
+ expectedArrivalAt: string | null;
1501
+ expectedDepartureAt: string | null;
1502
+ checkedInAt: string | null;
1503
+ checkedOutAt: string | null;
1504
+ noShowRecordedAt: string | null;
1505
+ notes: string | null;
1506
+ }[];
1507
+ total: number;
1508
+ limit: number;
1509
+ offset: number;
1510
+ };
1511
+ [dataTagErrorSymbol]: Error;
1512
+ };
1513
+ };
1514
+ export declare function getStayFoliosQueryOptions(client: FetchWithValidationOptions, options: UseStayFoliosOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1515
+ data: {
1516
+ id: string;
1517
+ stayOperationId: string;
1518
+ currencyCode: string;
1519
+ status: "open" | "closed" | "transferred" | "void";
1520
+ openedAt: string | null;
1521
+ closedAt: string | null;
1522
+ notes: string | null;
1523
+ }[];
1524
+ total: number;
1525
+ limit: number;
1526
+ offset: number;
1527
+ }, Error, {
1528
+ data: {
1529
+ id: string;
1530
+ stayOperationId: string;
1531
+ currencyCode: string;
1532
+ status: "open" | "closed" | "transferred" | "void";
1533
+ openedAt: string | null;
1534
+ closedAt: string | null;
1535
+ notes: string | null;
1536
+ }[];
1537
+ total: number;
1538
+ limit: number;
1539
+ offset: number;
1540
+ }, readonly ["hospitality", "stay-folios", import("./query-keys.js").HospitalityListFilters & {
1541
+ stayOperationId?: string | undefined;
1542
+ status?: string | undefined;
1543
+ }]>, "queryFn"> & {
1544
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1545
+ data: {
1546
+ id: string;
1547
+ stayOperationId: string;
1548
+ currencyCode: string;
1549
+ status: "open" | "closed" | "transferred" | "void";
1550
+ openedAt: string | null;
1551
+ closedAt: string | null;
1552
+ notes: string | null;
1553
+ }[];
1554
+ total: number;
1555
+ limit: number;
1556
+ offset: number;
1557
+ }, readonly ["hospitality", "stay-folios", import("./query-keys.js").HospitalityListFilters & {
1558
+ stayOperationId?: string | undefined;
1559
+ status?: string | undefined;
1560
+ }], never> | undefined;
1561
+ } & {
1562
+ queryKey: readonly ["hospitality", "stay-folios", import("./query-keys.js").HospitalityListFilters & {
1563
+ stayOperationId?: string | undefined;
1564
+ status?: string | undefined;
1565
+ }] & {
1566
+ [dataTagSymbol]: {
1567
+ data: {
1568
+ id: string;
1569
+ stayOperationId: string;
1570
+ currencyCode: string;
1571
+ status: "open" | "closed" | "transferred" | "void";
1572
+ openedAt: string | null;
1573
+ closedAt: string | null;
1574
+ notes: string | null;
1575
+ }[];
1576
+ total: number;
1577
+ limit: number;
1578
+ offset: number;
1579
+ };
1580
+ [dataTagErrorSymbol]: Error;
1581
+ };
1582
+ };
1583
+ export declare function getHousekeepingTasksQueryOptions(client: FetchWithValidationOptions, options: UseHousekeepingTasksOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1584
+ data: {
1585
+ id: string;
1586
+ propertyId: string;
1587
+ roomUnitId: string;
1588
+ stayBookingItemId: string | null;
1589
+ taskType: string;
1590
+ status: "in_progress" | "completed" | "cancelled" | "open";
1591
+ priority: number;
1592
+ dueAt: string | null;
1593
+ startedAt: string | null;
1594
+ completedAt: string | null;
1595
+ assignedTo: string | null;
1596
+ notes: string | null;
1597
+ }[];
1598
+ total: number;
1599
+ limit: number;
1600
+ offset: number;
1601
+ }, Error, {
1602
+ data: {
1603
+ id: string;
1604
+ propertyId: string;
1605
+ roomUnitId: string;
1606
+ stayBookingItemId: string | null;
1607
+ taskType: string;
1608
+ status: "in_progress" | "completed" | "cancelled" | "open";
1609
+ priority: number;
1610
+ dueAt: string | null;
1611
+ startedAt: string | null;
1612
+ completedAt: string | null;
1613
+ assignedTo: string | null;
1614
+ notes: string | null;
1615
+ }[];
1616
+ total: number;
1617
+ limit: number;
1618
+ offset: number;
1619
+ }, readonly ["hospitality", "housekeeping-tasks", import("./query-keys.js").HospitalityListFilters & {
1620
+ roomUnitId?: string | undefined;
1621
+ stayBookingItemId?: string | undefined;
1622
+ status?: string | undefined;
1623
+ taskType?: string | undefined;
1624
+ }]>, "queryFn"> & {
1625
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1626
+ data: {
1627
+ id: string;
1628
+ propertyId: string;
1629
+ roomUnitId: string;
1630
+ stayBookingItemId: string | null;
1631
+ taskType: string;
1632
+ status: "in_progress" | "completed" | "cancelled" | "open";
1633
+ priority: number;
1634
+ dueAt: string | null;
1635
+ startedAt: string | null;
1636
+ completedAt: string | null;
1637
+ assignedTo: string | null;
1638
+ notes: string | null;
1639
+ }[];
1640
+ total: number;
1641
+ limit: number;
1642
+ offset: number;
1643
+ }, readonly ["hospitality", "housekeeping-tasks", import("./query-keys.js").HospitalityListFilters & {
1644
+ roomUnitId?: string | undefined;
1645
+ stayBookingItemId?: string | undefined;
1646
+ status?: string | undefined;
1647
+ taskType?: string | undefined;
1648
+ }], never> | undefined;
1649
+ } & {
1650
+ queryKey: readonly ["hospitality", "housekeeping-tasks", import("./query-keys.js").HospitalityListFilters & {
1651
+ roomUnitId?: string | undefined;
1652
+ stayBookingItemId?: string | undefined;
1653
+ status?: string | undefined;
1654
+ taskType?: string | undefined;
1655
+ }] & {
1656
+ [dataTagSymbol]: {
1657
+ data: {
1658
+ id: string;
1659
+ propertyId: string;
1660
+ roomUnitId: string;
1661
+ stayBookingItemId: string | null;
1662
+ taskType: string;
1663
+ status: "in_progress" | "completed" | "cancelled" | "open";
1664
+ priority: number;
1665
+ dueAt: string | null;
1666
+ startedAt: string | null;
1667
+ completedAt: string | null;
1668
+ assignedTo: string | null;
1669
+ notes: string | null;
1670
+ }[];
1671
+ total: number;
1672
+ limit: number;
1673
+ offset: number;
1674
+ };
1675
+ [dataTagErrorSymbol]: Error;
1676
+ };
1677
+ };
1678
+ //# sourceMappingURL=query-options.d.ts.map