@voyant-travel/operations-react 0.19.1 → 0.19.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/availability/components/availability-rule-detail-page.d.ts +5 -5
  2. package/dist/availability/components/availability-slot-detail-page.d.ts +5 -5
  3. package/dist/availability/components/availability-start-time-detail-page.d.ts +5 -5
  4. package/dist/availability/hooks/use-availability-batch-mutations.d.ts +2 -2
  5. package/dist/availability/hooks/use-availability-overview.d.ts +1 -1
  6. package/dist/availability/hooks/use-availability-slot-mutation.d.ts +3 -3
  7. package/dist/availability/hooks/use-slots.d.ts +1 -1
  8. package/dist/availability/query-options.d.ts +12 -12
  9. package/dist/availability/schemas.d.ts +6 -6
  10. package/dist/places/hooks/use-facilities.d.ts +1 -1
  11. package/dist/places/hooks/use-facility-feature-mutation.d.ts +2 -2
  12. package/dist/places/hooks/use-facility-features.d.ts +1 -1
  13. package/dist/places/hooks/use-facility-mutation.d.ts +4 -4
  14. package/dist/places/hooks/use-facility.d.ts +1 -1
  15. package/dist/places/hooks/use-property-group-mutation.d.ts +6 -6
  16. package/dist/places/hooks/use-property-group.d.ts +2 -2
  17. package/dist/places/hooks/use-property-groups.d.ts +2 -2
  18. package/dist/places/query-options.d.ts +32 -32
  19. package/dist/resources/admin/detail-hosts.d.ts.map +1 -1
  20. package/dist/resources/admin/detail-hosts.js +97 -22
  21. package/dist/resources/admin/resources-dialogs-ops.d.ts +3 -2
  22. package/dist/resources/admin/resources-dialogs-ops.d.ts.map +1 -1
  23. package/dist/resources/admin/resources-dialogs-ops.js +10 -2
  24. package/dist/resources/admin/resources-dialogs.d.ts.map +1 -1
  25. package/dist/resources/admin/resources-dialogs.js +1 -1
  26. package/dist/resources/components/resource-allocation-detail-page.d.ts +2 -1
  27. package/dist/resources/components/resource-allocation-detail-page.d.ts.map +1 -1
  28. package/dist/resources/components/resource-allocation-detail-page.js +2 -2
  29. package/dist/resources/components/resource-assignment-detail-page.d.ts +2 -1
  30. package/dist/resources/components/resource-assignment-detail-page.d.ts.map +1 -1
  31. package/dist/resources/components/resource-assignment-detail-page.js +3 -2
  32. package/dist/resources/components/resource-detail-page.d.ts +2 -1
  33. package/dist/resources/components/resource-detail-page.d.ts.map +1 -1
  34. package/dist/resources/components/resource-detail-page.js +6 -3
  35. package/dist/resources/components/resource-detail-shared.d.ts +2 -1
  36. package/dist/resources/components/resource-detail-shared.d.ts.map +1 -1
  37. package/dist/resources/components/resource-detail-shared.js +3 -3
  38. package/dist/resources/components/resource-pool-detail-page.d.ts +5 -1
  39. package/dist/resources/components/resource-pool-detail-page.d.ts.map +1 -1
  40. package/dist/resources/components/resource-pool-detail-page.js +38 -8
  41. package/dist/resources/components/resources-overview.d.ts +3 -2
  42. package/dist/resources/components/resources-overview.d.ts.map +1 -1
  43. package/dist/resources/components/resources-overview.js +2 -1
  44. package/dist/resources/components/resources-page.d.ts.map +1 -1
  45. package/dist/resources/components/resources-page.js +45 -9
  46. package/dist/resources/components/resources-tabs-primary.d.ts.map +1 -1
  47. package/dist/resources/components/resources-tabs-primary.js +28 -19
  48. package/dist/resources/components/resources-tabs-secondary.d.ts +2 -1
  49. package/dist/resources/components/resources-tabs-secondary.d.ts.map +1 -1
  50. package/dist/resources/components/resources-tabs-secondary.js +22 -9
  51. package/dist/resources/hooks/use-pool.d.ts +1 -1
  52. package/dist/resources/hooks/use-pools.d.ts +1 -1
  53. package/dist/resources/hooks/use-resource.d.ts +1 -1
  54. package/dist/resources/hooks/use-resources.d.ts +1 -1
  55. package/dist/resources/i18n/en.d.ts.map +1 -1
  56. package/dist/resources/i18n/en.js +7 -0
  57. package/dist/resources/i18n/messages.d.ts +7 -0
  58. package/dist/resources/i18n/messages.d.ts.map +1 -1
  59. package/dist/resources/i18n/ro.d.ts.map +1 -1
  60. package/dist/resources/i18n/ro.js +7 -0
  61. package/dist/resources/i18n/utils.d.ts +2 -1
  62. package/dist/resources/i18n/utils.d.ts.map +1 -1
  63. package/dist/resources/i18n/utils.js +3 -1
  64. package/dist/resources/query-options.d.ts +16 -16
  65. package/dist/resources/schemas.d.ts +9 -9
  66. package/package.json +7 -7
@@ -94,7 +94,7 @@ export declare function getAvailabilityRuleSlotsQueryOptions(client: VoyantAvail
94
94
  startsAt: string;
95
95
  endsAt: string | null;
96
96
  timezone: string;
97
- status: "open" | "closed" | "sold_out" | "cancelled";
97
+ status: "cancelled" | "open" | "closed" | "sold_out";
98
98
  unlimited: boolean;
99
99
  initialPax: number | null;
100
100
  remainingPax: number | null;
@@ -120,7 +120,7 @@ export declare function getAvailabilityRuleSlotsQueryOptions(client: VoyantAvail
120
120
  startsAt: string;
121
121
  endsAt: string | null;
122
122
  timezone: string;
123
- status: "open" | "closed" | "sold_out" | "cancelled";
123
+ status: "cancelled" | "open" | "closed" | "sold_out";
124
124
  unlimited: boolean;
125
125
  initialPax: number | null;
126
126
  remainingPax: number | null;
@@ -147,7 +147,7 @@ export declare function getAvailabilityRuleSlotsQueryOptions(client: VoyantAvail
147
147
  startsAt: string;
148
148
  endsAt: string | null;
149
149
  timezone: string;
150
- status: "open" | "closed" | "sold_out" | "cancelled";
150
+ status: "cancelled" | "open" | "closed" | "sold_out";
151
151
  unlimited: boolean;
152
152
  initialPax: number | null;
153
153
  remainingPax: number | null;
@@ -176,7 +176,7 @@ export declare function getAvailabilityRuleSlotsQueryOptions(client: VoyantAvail
176
176
  startsAt: string;
177
177
  endsAt: string | null;
178
178
  timezone: string;
179
- status: "open" | "closed" | "sold_out" | "cancelled";
179
+ status: "cancelled" | "open" | "closed" | "sold_out";
180
180
  unlimited: boolean;
181
181
  initialPax: number | null;
182
182
  remainingPax: number | null;
@@ -222,7 +222,7 @@ export declare function loadAvailabilityRuleDetailPage(queryClient: QueryClient,
222
222
  startsAt: string;
223
223
  endsAt: string | null;
224
224
  timezone: string;
225
- status: "open" | "closed" | "sold_out" | "cancelled";
225
+ status: "cancelled" | "open" | "closed" | "sold_out";
226
226
  unlimited: boolean;
227
227
  initialPax: number | null;
228
228
  remainingPax: number | null;
@@ -65,7 +65,7 @@ export declare function getAvailabilitySlotDetailQueryOptions(client: VoyantAvai
65
65
  startsAt: string;
66
66
  endsAt: string | null;
67
67
  timezone: string;
68
- status: "open" | "closed" | "sold_out" | "cancelled";
68
+ status: "cancelled" | "open" | "closed" | "sold_out";
69
69
  unlimited: boolean;
70
70
  initialPax: number | null;
71
71
  remainingPax: number | null;
@@ -95,7 +95,7 @@ export declare function getAvailabilitySlotDetailQueryOptions(client: VoyantAvai
95
95
  startsAt: string;
96
96
  endsAt: string | null;
97
97
  timezone: string;
98
- status: "open" | "closed" | "sold_out" | "cancelled";
98
+ status: "cancelled" | "open" | "closed" | "sold_out";
99
99
  unlimited: boolean;
100
100
  initialPax: number | null;
101
101
  remainingPax: number | null;
@@ -126,7 +126,7 @@ export declare function getAvailabilitySlotDetailQueryOptions(client: VoyantAvai
126
126
  startsAt: string;
127
127
  endsAt: string | null;
128
128
  timezone: string;
129
- status: "open" | "closed" | "sold_out" | "cancelled";
129
+ status: "cancelled" | "open" | "closed" | "sold_out";
130
130
  unlimited: boolean;
131
131
  initialPax: number | null;
132
132
  remainingPax: number | null;
@@ -159,7 +159,7 @@ export declare function getAvailabilitySlotDetailQueryOptions(client: VoyantAvai
159
159
  startsAt: string;
160
160
  endsAt: string | null;
161
161
  timezone: string;
162
- status: "open" | "closed" | "sold_out" | "cancelled";
162
+ status: "cancelled" | "open" | "closed" | "sold_out";
163
163
  unlimited: boolean;
164
164
  initialPax: number | null;
165
165
  remainingPax: number | null;
@@ -801,7 +801,7 @@ export declare function loadAvailabilitySlotDetailPage(queryClient: QueryClient,
801
801
  startsAt: string;
802
802
  endsAt: string | null;
803
803
  timezone: string;
804
- status: "open" | "closed" | "sold_out" | "cancelled";
804
+ status: "cancelled" | "open" | "closed" | "sold_out";
805
805
  unlimited: boolean;
806
806
  initialPax: number | null;
807
807
  remainingPax: number | null;
@@ -90,7 +90,7 @@ export declare function getAvailabilityStartTimeSlotsQueryOptions(client: Voyant
90
90
  startsAt: string;
91
91
  endsAt: string | null;
92
92
  timezone: string;
93
- status: "open" | "closed" | "sold_out" | "cancelled";
93
+ status: "cancelled" | "open" | "closed" | "sold_out";
94
94
  unlimited: boolean;
95
95
  initialPax: number | null;
96
96
  remainingPax: number | null;
@@ -116,7 +116,7 @@ export declare function getAvailabilityStartTimeSlotsQueryOptions(client: Voyant
116
116
  startsAt: string;
117
117
  endsAt: string | null;
118
118
  timezone: string;
119
- status: "open" | "closed" | "sold_out" | "cancelled";
119
+ status: "cancelled" | "open" | "closed" | "sold_out";
120
120
  unlimited: boolean;
121
121
  initialPax: number | null;
122
122
  remainingPax: number | null;
@@ -143,7 +143,7 @@ export declare function getAvailabilityStartTimeSlotsQueryOptions(client: Voyant
143
143
  startsAt: string;
144
144
  endsAt: string | null;
145
145
  timezone: string;
146
- status: "open" | "closed" | "sold_out" | "cancelled";
146
+ status: "cancelled" | "open" | "closed" | "sold_out";
147
147
  unlimited: boolean;
148
148
  initialPax: number | null;
149
149
  remainingPax: number | null;
@@ -172,7 +172,7 @@ export declare function getAvailabilityStartTimeSlotsQueryOptions(client: Voyant
172
172
  startsAt: string;
173
173
  endsAt: string | null;
174
174
  timezone: string;
175
- status: "open" | "closed" | "sold_out" | "cancelled";
175
+ status: "cancelled" | "open" | "closed" | "sold_out";
176
176
  unlimited: boolean;
177
177
  initialPax: number | null;
178
178
  remainingPax: number | null;
@@ -217,7 +217,7 @@ export declare function loadAvailabilityStartTimeDetailPage(queryClient: QueryCl
217
217
  startsAt: string;
218
218
  endsAt: string | null;
219
219
  timezone: string;
220
- status: "open" | "closed" | "sold_out" | "cancelled";
220
+ status: "cancelled" | "open" | "closed" | "sold_out";
221
221
  unlimited: boolean;
222
222
  initialPax: number | null;
223
223
  remainingPax: number | null;
@@ -92,7 +92,7 @@ export declare function useAvailabilitySlotBatchMutation(): {
92
92
  startsAt: string;
93
93
  endsAt: string | null;
94
94
  timezone: string;
95
- status: "open" | "closed" | "sold_out" | "cancelled";
95
+ status: "cancelled" | "open" | "closed" | "sold_out";
96
96
  unlimited: boolean;
97
97
  initialPax: number | null;
98
98
  remainingPax: number | null;
@@ -112,7 +112,7 @@ export declare function useAvailabilitySlotBatchMutation(): {
112
112
  startsAt?: string | undefined;
113
113
  endsAt?: string | null | undefined;
114
114
  timezone?: string | undefined;
115
- status?: "open" | "closed" | "sold_out" | "cancelled" | undefined;
115
+ status?: "cancelled" | "open" | "closed" | "sold_out" | undefined;
116
116
  unlimited?: boolean | undefined;
117
117
  initialPax?: number | null | undefined;
118
118
  remainingPax?: number | null | undefined;
@@ -31,7 +31,7 @@ export declare function useAvailabilityOverview(options?: UseAvailabilityOvervie
31
31
  startsAt: string;
32
32
  endsAt: string | null;
33
33
  timezone: string;
34
- status: "open" | "closed" | "sold_out" | "cancelled";
34
+ status: "cancelled" | "open" | "closed" | "sold_out";
35
35
  unlimited: boolean;
36
36
  initialPax: number | null;
37
37
  remainingPax: number | null;
@@ -12,7 +12,7 @@ export declare function useAvailabilitySlotMutation(): {
12
12
  startsAt: string;
13
13
  endsAt: string | null;
14
14
  timezone: string;
15
- status: "open" | "closed" | "sold_out" | "cancelled";
15
+ status: "cancelled" | "open" | "closed" | "sold_out";
16
16
  unlimited: boolean;
17
17
  initialPax: number | null;
18
18
  remainingPax: number | null;
@@ -32,7 +32,7 @@ export declare function useAvailabilitySlotMutation(): {
32
32
  availabilityRuleId?: string | null | undefined;
33
33
  startTimeId?: string | null | undefined;
34
34
  endsAt?: string | null | undefined;
35
- status?: "open" | "closed" | "sold_out" | "cancelled" | undefined;
35
+ status?: "cancelled" | "open" | "closed" | "sold_out" | undefined;
36
36
  unlimited?: boolean | undefined;
37
37
  initialPax?: number | null | undefined;
38
38
  remainingPax?: number | null | undefined;
@@ -57,7 +57,7 @@ export declare function useAvailabilitySlotMutation(): {
57
57
  startsAt: string;
58
58
  endsAt: string | null;
59
59
  timezone: string;
60
- status: "open" | "closed" | "sold_out" | "cancelled";
60
+ status: "cancelled" | "open" | "closed" | "sold_out";
61
61
  unlimited: boolean;
62
62
  initialPax: number | null;
63
63
  remainingPax: number | null;
@@ -15,7 +15,7 @@ export declare function useSlots(options?: UseSlotsOptions): import("@tanstack/r
15
15
  startsAt: string;
16
16
  endsAt: string | null;
17
17
  timezone: string;
18
- status: "open" | "closed" | "sold_out" | "cancelled";
18
+ status: "cancelled" | "open" | "closed" | "sold_out";
19
19
  unlimited: boolean;
20
20
  initialPax: number | null;
21
21
  remainingPax: number | null;
@@ -239,7 +239,7 @@ export declare function getSlotsQueryOptions(client: FetchWithValidationOptions,
239
239
  startsAt: string;
240
240
  endsAt: string | null;
241
241
  timezone: string;
242
- status: "open" | "closed" | "sold_out" | "cancelled";
242
+ status: "cancelled" | "open" | "closed" | "sold_out";
243
243
  unlimited: boolean;
244
244
  initialPax: number | null;
245
245
  remainingPax: number | null;
@@ -265,7 +265,7 @@ export declare function getSlotsQueryOptions(client: FetchWithValidationOptions,
265
265
  startsAt: string;
266
266
  endsAt: string | null;
267
267
  timezone: string;
268
- status: "open" | "closed" | "sold_out" | "cancelled";
268
+ status: "cancelled" | "open" | "closed" | "sold_out";
269
269
  unlimited: boolean;
270
270
  initialPax: number | null;
271
271
  remainingPax: number | null;
@@ -292,7 +292,7 @@ export declare function getSlotsQueryOptions(client: FetchWithValidationOptions,
292
292
  startsAt: string;
293
293
  endsAt: string | null;
294
294
  timezone: string;
295
- status: "open" | "closed" | "sold_out" | "cancelled";
295
+ status: "cancelled" | "open" | "closed" | "sold_out";
296
296
  unlimited: boolean;
297
297
  initialPax: number | null;
298
298
  remainingPax: number | null;
@@ -321,7 +321,7 @@ export declare function getSlotsQueryOptions(client: FetchWithValidationOptions,
321
321
  startsAt: string;
322
322
  endsAt: string | null;
323
323
  timezone: string;
324
- status: "open" | "closed" | "sold_out" | "cancelled";
324
+ status: "cancelled" | "open" | "closed" | "sold_out";
325
325
  unlimited: boolean;
326
326
  initialPax: number | null;
327
327
  remainingPax: number | null;
@@ -367,7 +367,7 @@ export declare function getAvailabilityOverviewQueryOptions(client: FetchWithVal
367
367
  startsAt: string;
368
368
  endsAt: string | null;
369
369
  timezone: string;
370
- status: "open" | "closed" | "sold_out" | "cancelled";
370
+ status: "cancelled" | "open" | "closed" | "sold_out";
371
371
  unlimited: boolean;
372
372
  initialPax: number | null;
373
373
  remainingPax: number | null;
@@ -407,7 +407,7 @@ export declare function getAvailabilityOverviewQueryOptions(client: FetchWithVal
407
407
  startsAt: string;
408
408
  endsAt: string | null;
409
409
  timezone: string;
410
- status: "open" | "closed" | "sold_out" | "cancelled";
410
+ status: "cancelled" | "open" | "closed" | "sold_out";
411
411
  unlimited: boolean;
412
412
  initialPax: number | null;
413
413
  remainingPax: number | null;
@@ -448,7 +448,7 @@ export declare function getAvailabilityOverviewQueryOptions(client: FetchWithVal
448
448
  startsAt: string;
449
449
  endsAt: string | null;
450
450
  timezone: string;
451
- status: "open" | "closed" | "sold_out" | "cancelled";
451
+ status: "cancelled" | "open" | "closed" | "sold_out";
452
452
  unlimited: boolean;
453
453
  initialPax: number | null;
454
454
  remainingPax: number | null;
@@ -491,7 +491,7 @@ export declare function getAvailabilityOverviewQueryOptions(client: FetchWithVal
491
491
  startsAt: string;
492
492
  endsAt: string | null;
493
493
  timezone: string;
494
- status: "open" | "closed" | "sold_out" | "cancelled";
494
+ status: "cancelled" | "open" | "closed" | "sold_out";
495
495
  unlimited: boolean;
496
496
  initialPax: number | null;
497
497
  remainingPax: number | null;
@@ -639,7 +639,7 @@ export declare function getSlotQueryOptions(client: FetchWithValidationOptions,
639
639
  startsAt: string;
640
640
  endsAt: string | null;
641
641
  timezone: string;
642
- status: "open" | "closed" | "sold_out" | "cancelled";
642
+ status: "cancelled" | "open" | "closed" | "sold_out";
643
643
  unlimited: boolean;
644
644
  initialPax: number | null;
645
645
  remainingPax: number | null;
@@ -669,7 +669,7 @@ export declare function getSlotQueryOptions(client: FetchWithValidationOptions,
669
669
  startsAt: string;
670
670
  endsAt: string | null;
671
671
  timezone: string;
672
- status: "open" | "closed" | "sold_out" | "cancelled";
672
+ status: "cancelled" | "open" | "closed" | "sold_out";
673
673
  unlimited: boolean;
674
674
  initialPax: number | null;
675
675
  remainingPax: number | null;
@@ -700,7 +700,7 @@ export declare function getSlotQueryOptions(client: FetchWithValidationOptions,
700
700
  startsAt: string;
701
701
  endsAt: string | null;
702
702
  timezone: string;
703
- status: "open" | "closed" | "sold_out" | "cancelled";
703
+ status: "cancelled" | "open" | "closed" | "sold_out";
704
704
  unlimited: boolean;
705
705
  initialPax: number | null;
706
706
  remainingPax: number | null;
@@ -733,7 +733,7 @@ export declare function getSlotQueryOptions(client: FetchWithValidationOptions,
733
733
  startsAt: string;
734
734
  endsAt: string | null;
735
735
  timezone: string;
736
- status: "open" | "closed" | "sold_out" | "cancelled";
736
+ status: "cancelled" | "open" | "closed" | "sold_out";
737
737
  unlimited: boolean;
738
738
  initialPax: number | null;
739
739
  remainingPax: number | null;
@@ -100,10 +100,10 @@ export declare const availabilitySlotRecordSchema: z.ZodObject<{
100
100
  endsAt: z.ZodNullable<z.ZodString>;
101
101
  timezone: z.ZodString;
102
102
  status: z.ZodEnum<{
103
+ cancelled: "cancelled";
103
104
  open: "open";
104
105
  closed: "closed";
105
106
  sold_out: "sold_out";
106
- cancelled: "cancelled";
107
107
  }>;
108
108
  unlimited: z.ZodBoolean;
109
109
  initialPax: z.ZodNullable<z.ZodNumber>;
@@ -129,10 +129,10 @@ export declare const availabilitySlotDetailSchema: z.ZodObject<{
129
129
  endsAt: z.ZodNullable<z.ZodString>;
130
130
  timezone: z.ZodString;
131
131
  status: z.ZodEnum<{
132
+ cancelled: "cancelled";
132
133
  open: "open";
133
134
  closed: "closed";
134
135
  sold_out: "sold_out";
135
- cancelled: "cancelled";
136
136
  }>;
137
137
  unlimited: z.ZodBoolean;
138
138
  initialPax: z.ZodNullable<z.ZodNumber>;
@@ -315,10 +315,10 @@ export declare const availabilitySlotListResponse: z.ZodObject<{
315
315
  endsAt: z.ZodNullable<z.ZodString>;
316
316
  timezone: z.ZodString;
317
317
  status: z.ZodEnum<{
318
+ cancelled: "cancelled";
318
319
  open: "open";
319
320
  closed: "closed";
320
321
  sold_out: "sold_out";
321
- cancelled: "cancelled";
322
322
  }>;
323
323
  unlimited: z.ZodBoolean;
324
324
  initialPax: z.ZodNullable<z.ZodNumber>;
@@ -347,10 +347,10 @@ export declare const availabilitySlotRecordResponse: z.ZodObject<{
347
347
  endsAt: z.ZodNullable<z.ZodString>;
348
348
  timezone: z.ZodString;
349
349
  status: z.ZodEnum<{
350
+ cancelled: "cancelled";
350
351
  open: "open";
351
352
  closed: "closed";
352
353
  sold_out: "sold_out";
353
- cancelled: "cancelled";
354
354
  }>;
355
355
  unlimited: z.ZodBoolean;
356
356
  initialPax: z.ZodNullable<z.ZodNumber>;
@@ -376,10 +376,10 @@ export declare const availabilitySlotSingleResponse: z.ZodObject<{
376
376
  endsAt: z.ZodNullable<z.ZodString>;
377
377
  timezone: z.ZodString;
378
378
  status: z.ZodEnum<{
379
+ cancelled: "cancelled";
379
380
  open: "open";
380
381
  closed: "closed";
381
382
  sold_out: "sold_out";
382
- cancelled: "cancelled";
383
383
  }>;
384
384
  unlimited: z.ZodBoolean;
385
385
  initialPax: z.ZodNullable<z.ZodNumber>;
@@ -428,10 +428,10 @@ export declare const availabilityOverviewResponse: z.ZodObject<{
428
428
  endsAt: z.ZodNullable<z.ZodString>;
429
429
  timezone: z.ZodString;
430
430
  status: z.ZodEnum<{
431
+ cancelled: "cancelled";
431
432
  open: "open";
432
433
  closed: "closed";
433
434
  sold_out: "sold_out";
434
- cancelled: "cancelled";
435
435
  }>;
436
436
  unlimited: z.ZodBoolean;
437
437
  initialPax: z.ZodNullable<z.ZodNumber>;
@@ -5,7 +5,7 @@ export interface UseFacilitiesOptions extends FacilitiesListFilters {
5
5
  export declare function useFacilities(options?: UseFacilitiesOptions): import("@tanstack/react-query").UseQueryResult<NoInfer<{
6
6
  data: {
7
7
  kind: "property" | "other" | "hotel" | "resort" | "camp" | "lodge" | "venue" | "meeting_point" | "transfer_hub" | "airport" | "station" | "marina" | "office" | "attraction" | "restaurant";
8
- status: "active" | "archived" | "inactive";
8
+ status: "active" | "inactive" | "archived";
9
9
  name: string;
10
10
  id: string;
11
11
  parentFacilityId: string | null;
@@ -6,7 +6,7 @@ export type CreateFacilityFeatureInput = z.input<typeof insertFacilityFeatureSch
6
6
  export type UpdateFacilityFeatureInput = z.input<typeof updateFacilityFeatureSchema>;
7
7
  export declare function useFacilityFeatureMutation(): {
8
8
  create: import("@tanstack/react-query").UseMutationResult<{
9
- category: "security" | "accessibility" | "other" | "service" | "amenity" | "policy";
9
+ category: "security" | "service" | "other" | "accessibility" | "amenity" | "policy";
10
10
  name: string;
11
11
  highlighted: boolean;
12
12
  sortOrder: number;
@@ -17,7 +17,7 @@ export declare function useFacilityFeatureMutation(): {
17
17
  valueText: string | null;
18
18
  }, Error, CreateFacilityFeatureInput, unknown>;
19
19
  update: import("@tanstack/react-query").UseMutationResult<{
20
- category: "security" | "accessibility" | "other" | "service" | "amenity" | "policy";
20
+ category: "security" | "service" | "other" | "accessibility" | "amenity" | "policy";
21
21
  name: string;
22
22
  highlighted: boolean;
23
23
  sortOrder: number;
@@ -4,7 +4,7 @@ export interface UseFacilityFeaturesOptions extends FacilityFeaturesListFilters
4
4
  }
5
5
  export declare function useFacilityFeatures(options: UseFacilityFeaturesOptions): import("@tanstack/react-query").UseQueryResult<NoInfer<{
6
6
  data: {
7
- category: "security" | "accessibility" | "other" | "service" | "amenity" | "policy";
7
+ category: "security" | "service" | "other" | "accessibility" | "amenity" | "policy";
8
8
  name: string;
9
9
  highlighted: boolean;
10
10
  sortOrder: number;
@@ -5,7 +5,7 @@ export type UpdateFacilityInput = z.input<typeof updateFacilitySchema>;
5
5
  export declare function useFacilityMutation(): {
6
6
  create: import("@tanstack/react-query").UseMutationResult<{
7
7
  kind: "property" | "other" | "hotel" | "resort" | "camp" | "lodge" | "venue" | "meeting_point" | "transfer_hub" | "airport" | "station" | "marina" | "office" | "attraction" | "restaurant";
8
- status: "active" | "archived" | "inactive";
8
+ status: "active" | "inactive" | "archived";
9
9
  name: string;
10
10
  id: string;
11
11
  parentFacilityId: string | null;
@@ -27,9 +27,9 @@ export declare function useFacilityMutation(): {
27
27
  kind: "property" | "other" | "hotel" | "resort" | "camp" | "lodge" | "venue" | "meeting_point" | "transfer_hub" | "airport" | "station" | "marina" | "office" | "attraction" | "restaurant";
28
28
  name: string;
29
29
  parentFacilityId?: string | null | undefined;
30
- ownerType?: "supplier" | "other" | "internal" | "organization" | null | undefined;
30
+ ownerType?: "other" | "supplier" | "organization" | "internal" | null | undefined;
31
31
  ownerId?: string | null | undefined;
32
- status?: "active" | "archived" | "inactive" | undefined;
32
+ status?: "active" | "inactive" | "archived" | undefined;
33
33
  code?: string | null | undefined;
34
34
  description?: string | null | undefined;
35
35
  timezone?: string | null | undefined;
@@ -45,7 +45,7 @@ export declare function useFacilityMutation(): {
45
45
  }, unknown>;
46
46
  update: import("@tanstack/react-query").UseMutationResult<{
47
47
  kind: "property" | "other" | "hotel" | "resort" | "camp" | "lodge" | "venue" | "meeting_point" | "transfer_hub" | "airport" | "station" | "marina" | "office" | "attraction" | "restaurant";
48
- status: "active" | "archived" | "inactive";
48
+ status: "active" | "inactive" | "archived";
49
49
  name: string;
50
50
  id: string;
51
51
  parentFacilityId: string | null;
@@ -3,7 +3,7 @@ export interface UseFacilityOptions {
3
3
  }
4
4
  export declare function useFacility(id: string | null | undefined, options?: UseFacilityOptions): import("@tanstack/react-query").UseQueryResult<NoInfer<{
5
5
  kind: "property" | "other" | "hotel" | "resort" | "camp" | "lodge" | "venue" | "meeting_point" | "transfer_hub" | "airport" | "station" | "marina" | "office" | "attraction" | "restaurant";
6
- status: "active" | "archived" | "inactive";
6
+ status: "active" | "inactive" | "archived";
7
7
  name: string;
8
8
  id: string;
9
9
  parentFacilityId: string | null;
@@ -4,8 +4,8 @@ export type CreatePropertyGroupInput = z.input<typeof insertPropertyGroupSchema>
4
4
  export type UpdatePropertyGroupInput = z.input<typeof updatePropertyGroupSchema>;
5
5
  export declare function usePropertyGroupMutation(): {
6
6
  create: import("@tanstack/react-query").UseMutationResult<{
7
- groupType: "brand" | "other" | "chain" | "management_company" | "collection" | "portfolio" | "cluster";
8
- status: "active" | "archived" | "inactive";
7
+ groupType: "other" | "brand" | "chain" | "management_company" | "collection" | "portfolio" | "cluster";
8
+ status: "active" | "inactive" | "archived";
9
9
  name: string;
10
10
  id: string;
11
11
  parentGroupId: string | null;
@@ -18,8 +18,8 @@ export declare function usePropertyGroupMutation(): {
18
18
  }, Error, {
19
19
  name: string;
20
20
  parentGroupId?: string | null | undefined;
21
- groupType?: "brand" | "other" | "chain" | "management_company" | "collection" | "portfolio" | "cluster" | undefined;
22
- status?: "active" | "archived" | "inactive" | undefined;
21
+ groupType?: "other" | "brand" | "chain" | "management_company" | "collection" | "portfolio" | "cluster" | undefined;
22
+ status?: "active" | "inactive" | "archived" | undefined;
23
23
  code?: string | null | undefined;
24
24
  brandName?: string | null | undefined;
25
25
  legalName?: string | null | undefined;
@@ -28,8 +28,8 @@ export declare function usePropertyGroupMutation(): {
28
28
  metadata?: Record<string, unknown> | null | undefined;
29
29
  }, unknown>;
30
30
  update: import("@tanstack/react-query").UseMutationResult<{
31
- groupType: "brand" | "other" | "chain" | "management_company" | "collection" | "portfolio" | "cluster";
32
- status: "active" | "archived" | "inactive";
31
+ groupType: "other" | "brand" | "chain" | "management_company" | "collection" | "portfolio" | "cluster";
32
+ status: "active" | "inactive" | "archived";
33
33
  name: string;
34
34
  id: string;
35
35
  parentGroupId: string | null;
@@ -2,8 +2,8 @@ export interface UsePropertyGroupOptions {
2
2
  enabled?: boolean;
3
3
  }
4
4
  export declare function usePropertyGroup(id: string | null | undefined, options?: UsePropertyGroupOptions): import("@tanstack/react-query").UseQueryResult<NoInfer<{
5
- groupType: "brand" | "other" | "chain" | "management_company" | "collection" | "portfolio" | "cluster";
6
- status: "active" | "archived" | "inactive";
5
+ groupType: "other" | "brand" | "chain" | "management_company" | "collection" | "portfolio" | "cluster";
6
+ status: "active" | "inactive" | "archived";
7
7
  name: string;
8
8
  id: string;
9
9
  parentGroupId: string | null;
@@ -4,8 +4,8 @@ export interface UsePropertyGroupsOptions extends PropertyGroupsListFilters {
4
4
  }
5
5
  export declare function usePropertyGroups(options?: UsePropertyGroupsOptions): import("@tanstack/react-query").UseQueryResult<NoInfer<{
6
6
  data: {
7
- groupType: "brand" | "other" | "chain" | "management_company" | "collection" | "portfolio" | "cluster";
8
- status: "active" | "archived" | "inactive";
7
+ groupType: "other" | "brand" | "chain" | "management_company" | "collection" | "portfolio" | "cluster";
8
+ status: "active" | "inactive" | "archived";
9
9
  name: string;
10
10
  id: string;
11
11
  parentGroupId: string | null;