@voyant-travel/operations-react 0.0.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/availability/allocation/components/slot-allocation-model.d.ts +1 -1
- package/dist/availability/components/availability-rule-detail-page.d.ts +5 -5
- package/dist/availability/components/availability-slot-detail-page.d.ts +20 -20
- package/dist/availability/components/availability-start-time-detail-page.d.ts +5 -5
- package/dist/availability/hooks/use-availability-batch-mutations.d.ts +2 -2
- package/dist/availability/hooks/use-availability-overview.d.ts +1 -1
- package/dist/availability/hooks/use-availability-slot-mutation.d.ts +3 -3
- package/dist/availability/hooks/use-slot-allocation.d.ts +2 -2
- package/dist/availability/hooks/use-slots.d.ts +1 -1
- package/dist/availability/query-options.d.ts +24 -24
- package/dist/availability/schemas.d.ts +20 -20
- package/dist/ground/hooks/use-ground-vehicle-mutation.d.ts +3 -3
- package/dist/ground/hooks/use-ground-vehicles.d.ts +1 -1
- package/dist/ground/query-options.d.ts +8 -8
- package/dist/ground/schemas.d.ts +3 -3
- package/dist/places/hooks/use-facilities.d.ts +1 -1
- package/dist/places/hooks/use-facility-feature-mutation.d.ts +2 -2
- package/dist/places/hooks/use-facility-features.d.ts +1 -1
- package/dist/places/hooks/use-facility-mutation.d.ts +4 -4
- package/dist/places/hooks/use-facility.d.ts +1 -1
- package/dist/places/hooks/use-property-group-member-mutation.d.ts +3 -3
- package/dist/places/hooks/use-property-group-members.d.ts +1 -1
- package/dist/places/query-options.d.ts +24 -24
- package/dist/places/schemas.d.ts +18 -18
- package/package.json +13 -13
|
@@ -104,9 +104,9 @@ export declare const availabilitySlotRecordSchema: z.ZodObject<{
|
|
|
104
104
|
endsAt: z.ZodNullable<z.ZodString>;
|
|
105
105
|
timezone: z.ZodString;
|
|
106
106
|
status: z.ZodEnum<{
|
|
107
|
-
cancelled: "cancelled";
|
|
108
107
|
open: "open";
|
|
109
108
|
closed: "closed";
|
|
109
|
+
cancelled: "cancelled";
|
|
110
110
|
sold_out: "sold_out";
|
|
111
111
|
}>;
|
|
112
112
|
unlimited: z.ZodBoolean;
|
|
@@ -133,9 +133,9 @@ export declare const availabilitySlotDetailSchema: z.ZodObject<{
|
|
|
133
133
|
endsAt: z.ZodNullable<z.ZodString>;
|
|
134
134
|
timezone: z.ZodString;
|
|
135
135
|
status: z.ZodEnum<{
|
|
136
|
-
cancelled: "cancelled";
|
|
137
136
|
open: "open";
|
|
138
137
|
closed: "closed";
|
|
138
|
+
cancelled: "cancelled";
|
|
139
139
|
sold_out: "sold_out";
|
|
140
140
|
}>;
|
|
141
141
|
unlimited: z.ZodBoolean;
|
|
@@ -197,11 +197,11 @@ export declare const availabilitySlotAssignmentRecordSchema: z.ZodObject<{
|
|
|
197
197
|
resourceId: z.ZodNullable<z.ZodString>;
|
|
198
198
|
bookingId: z.ZodNullable<z.ZodString>;
|
|
199
199
|
status: z.ZodEnum<{
|
|
200
|
-
completed: "completed";
|
|
201
200
|
cancelled: "cancelled";
|
|
202
|
-
released: "released";
|
|
203
201
|
reserved: "reserved";
|
|
204
202
|
assigned: "assigned";
|
|
203
|
+
released: "released";
|
|
204
|
+
completed: "completed";
|
|
205
205
|
}>;
|
|
206
206
|
assignedBy: z.ZodNullable<z.ZodString>;
|
|
207
207
|
releasedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -319,9 +319,9 @@ export declare const availabilitySlotListResponse: z.ZodObject<{
|
|
|
319
319
|
endsAt: z.ZodNullable<z.ZodString>;
|
|
320
320
|
timezone: z.ZodString;
|
|
321
321
|
status: z.ZodEnum<{
|
|
322
|
-
cancelled: "cancelled";
|
|
323
322
|
open: "open";
|
|
324
323
|
closed: "closed";
|
|
324
|
+
cancelled: "cancelled";
|
|
325
325
|
sold_out: "sold_out";
|
|
326
326
|
}>;
|
|
327
327
|
unlimited: z.ZodBoolean;
|
|
@@ -351,9 +351,9 @@ export declare const availabilitySlotRecordResponse: z.ZodObject<{
|
|
|
351
351
|
endsAt: z.ZodNullable<z.ZodString>;
|
|
352
352
|
timezone: z.ZodString;
|
|
353
353
|
status: z.ZodEnum<{
|
|
354
|
-
cancelled: "cancelled";
|
|
355
354
|
open: "open";
|
|
356
355
|
closed: "closed";
|
|
356
|
+
cancelled: "cancelled";
|
|
357
357
|
sold_out: "sold_out";
|
|
358
358
|
}>;
|
|
359
359
|
unlimited: z.ZodBoolean;
|
|
@@ -380,9 +380,9 @@ export declare const availabilitySlotSingleResponse: z.ZodObject<{
|
|
|
380
380
|
endsAt: z.ZodNullable<z.ZodString>;
|
|
381
381
|
timezone: z.ZodString;
|
|
382
382
|
status: z.ZodEnum<{
|
|
383
|
-
cancelled: "cancelled";
|
|
384
383
|
open: "open";
|
|
385
384
|
closed: "closed";
|
|
385
|
+
cancelled: "cancelled";
|
|
386
386
|
sold_out: "sold_out";
|
|
387
387
|
}>;
|
|
388
388
|
unlimited: z.ZodBoolean;
|
|
@@ -432,9 +432,9 @@ export declare const availabilityOverviewResponse: z.ZodObject<{
|
|
|
432
432
|
endsAt: z.ZodNullable<z.ZodString>;
|
|
433
433
|
timezone: z.ZodString;
|
|
434
434
|
status: z.ZodEnum<{
|
|
435
|
-
cancelled: "cancelled";
|
|
436
435
|
open: "open";
|
|
437
436
|
closed: "closed";
|
|
437
|
+
cancelled: "cancelled";
|
|
438
438
|
sold_out: "sold_out";
|
|
439
439
|
}>;
|
|
440
440
|
unlimited: z.ZodBoolean;
|
|
@@ -516,11 +516,11 @@ export declare const availabilitySlotAssignmentListResponse: z.ZodObject<{
|
|
|
516
516
|
resourceId: z.ZodNullable<z.ZodString>;
|
|
517
517
|
bookingId: z.ZodNullable<z.ZodString>;
|
|
518
518
|
status: z.ZodEnum<{
|
|
519
|
-
completed: "completed";
|
|
520
519
|
cancelled: "cancelled";
|
|
521
|
-
released: "released";
|
|
522
520
|
reserved: "reserved";
|
|
523
521
|
assigned: "assigned";
|
|
522
|
+
released: "released";
|
|
523
|
+
completed: "completed";
|
|
524
524
|
}>;
|
|
525
525
|
assignedBy: z.ZodNullable<z.ZodString>;
|
|
526
526
|
releasedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -564,8 +564,8 @@ export declare const allocationResourceSchema: z.ZodObject<{
|
|
|
564
564
|
}, z.core.$strip>;
|
|
565
565
|
export type AllocationResource = z.infer<typeof allocationResourceSchema>;
|
|
566
566
|
export declare const allocationPaymentStatusSchema: z.ZodEnum<{
|
|
567
|
-
partial: "partial";
|
|
568
567
|
paid: "paid";
|
|
568
|
+
partial: "partial";
|
|
569
569
|
unpaid: "unpaid";
|
|
570
570
|
}>;
|
|
571
571
|
export type AllocationPaymentStatus = z.infer<typeof allocationPaymentStatusSchema>;
|
|
@@ -576,8 +576,8 @@ export declare const allocationManifestTravelerSchema: z.ZodObject<{
|
|
|
576
576
|
bookingStatus: z.ZodString;
|
|
577
577
|
bookingSequence: z.ZodDefault<z.ZodNumber>;
|
|
578
578
|
paymentStatus: z.ZodDefault<z.ZodEnum<{
|
|
579
|
-
partial: "partial";
|
|
580
579
|
paid: "paid";
|
|
580
|
+
partial: "partial";
|
|
581
581
|
unpaid: "unpaid";
|
|
582
582
|
}>>;
|
|
583
583
|
firstName: z.ZodString;
|
|
@@ -603,8 +603,8 @@ export declare const allocationManifestBookingSchema: z.ZodObject<{
|
|
|
603
603
|
status: z.ZodString;
|
|
604
604
|
bookingSequence: z.ZodDefault<z.ZodNumber>;
|
|
605
605
|
paymentStatus: z.ZodDefault<z.ZodEnum<{
|
|
606
|
-
partial: "partial";
|
|
607
606
|
paid: "paid";
|
|
607
|
+
partial: "partial";
|
|
608
608
|
unpaid: "unpaid";
|
|
609
609
|
}>>;
|
|
610
610
|
contactFirstName: z.ZodNullable<z.ZodString>;
|
|
@@ -622,8 +622,8 @@ export declare const allocationManifestBookingSchema: z.ZodObject<{
|
|
|
622
622
|
bookingStatus: z.ZodString;
|
|
623
623
|
bookingSequence: z.ZodDefault<z.ZodNumber>;
|
|
624
624
|
paymentStatus: z.ZodDefault<z.ZodEnum<{
|
|
625
|
-
partial: "partial";
|
|
626
625
|
paid: "paid";
|
|
626
|
+
partial: "partial";
|
|
627
627
|
unpaid: "unpaid";
|
|
628
628
|
}>>;
|
|
629
629
|
firstName: z.ZodString;
|
|
@@ -657,8 +657,8 @@ export declare const slotAllocationManifestSchema: z.ZodObject<{
|
|
|
657
657
|
status: z.ZodString;
|
|
658
658
|
bookingSequence: z.ZodDefault<z.ZodNumber>;
|
|
659
659
|
paymentStatus: z.ZodDefault<z.ZodEnum<{
|
|
660
|
-
partial: "partial";
|
|
661
660
|
paid: "paid";
|
|
661
|
+
partial: "partial";
|
|
662
662
|
unpaid: "unpaid";
|
|
663
663
|
}>>;
|
|
664
664
|
contactFirstName: z.ZodNullable<z.ZodString>;
|
|
@@ -676,8 +676,8 @@ export declare const slotAllocationManifestSchema: z.ZodObject<{
|
|
|
676
676
|
bookingStatus: z.ZodString;
|
|
677
677
|
bookingSequence: z.ZodDefault<z.ZodNumber>;
|
|
678
678
|
paymentStatus: z.ZodDefault<z.ZodEnum<{
|
|
679
|
-
partial: "partial";
|
|
680
679
|
paid: "paid";
|
|
680
|
+
partial: "partial";
|
|
681
681
|
unpaid: "unpaid";
|
|
682
682
|
}>>;
|
|
683
683
|
firstName: z.ZodString;
|
|
@@ -734,8 +734,8 @@ export declare const slotAllocationManifestResponse: z.ZodObject<{
|
|
|
734
734
|
status: z.ZodString;
|
|
735
735
|
bookingSequence: z.ZodDefault<z.ZodNumber>;
|
|
736
736
|
paymentStatus: z.ZodDefault<z.ZodEnum<{
|
|
737
|
-
partial: "partial";
|
|
738
737
|
paid: "paid";
|
|
738
|
+
partial: "partial";
|
|
739
739
|
unpaid: "unpaid";
|
|
740
740
|
}>>;
|
|
741
741
|
contactFirstName: z.ZodNullable<z.ZodString>;
|
|
@@ -753,8 +753,8 @@ export declare const slotAllocationManifestResponse: z.ZodObject<{
|
|
|
753
753
|
bookingStatus: z.ZodString;
|
|
754
754
|
bookingSequence: z.ZodDefault<z.ZodNumber>;
|
|
755
755
|
paymentStatus: z.ZodDefault<z.ZodEnum<{
|
|
756
|
-
partial: "partial";
|
|
757
756
|
paid: "paid";
|
|
757
|
+
partial: "partial";
|
|
758
758
|
unpaid: "unpaid";
|
|
759
759
|
}>>;
|
|
760
760
|
firstName: z.ZodString;
|
|
@@ -804,8 +804,8 @@ export declare const slotAllocationManifestResponse: z.ZodObject<{
|
|
|
804
804
|
*/
|
|
805
805
|
export declare const seatLayoutCellSchema: z.ZodEnum<{
|
|
806
806
|
void: "void";
|
|
807
|
-
seat: "seat";
|
|
808
807
|
aisle: "aisle";
|
|
808
|
+
seat: "seat";
|
|
809
809
|
door: "door";
|
|
810
810
|
}>;
|
|
811
811
|
export type SeatLayoutCell = z.infer<typeof seatLayoutCellSchema>;
|
|
@@ -813,8 +813,8 @@ export declare const seatLayoutSpecSchema: z.ZodObject<{
|
|
|
813
813
|
rows: z.ZodArray<z.ZodObject<{
|
|
814
814
|
cells: z.ZodArray<z.ZodEnum<{
|
|
815
815
|
void: "void";
|
|
816
|
-
seat: "seat";
|
|
817
816
|
aisle: "aisle";
|
|
817
|
+
seat: "seat";
|
|
818
818
|
door: "door";
|
|
819
819
|
}>>;
|
|
820
820
|
}, z.core.$strip>>;
|
|
@@ -6,7 +6,7 @@ export declare function useGroundVehicleMutation(): {
|
|
|
6
6
|
create: import("@tanstack/react-query").UseMutationResult<{
|
|
7
7
|
resourceId: string;
|
|
8
8
|
category: "other" | "boat" | "car" | "sedan" | "suv" | "van" | "minibus" | "bus" | "train";
|
|
9
|
-
vehicleClass: "other" | "
|
|
9
|
+
vehicleClass: "other" | "economy" | "standard" | "premium" | "luxury" | "accessible";
|
|
10
10
|
isAccessible: boolean;
|
|
11
11
|
active: boolean;
|
|
12
12
|
id: string;
|
|
@@ -23,7 +23,7 @@ export declare function useGroundVehicleMutation(): {
|
|
|
23
23
|
resourceId: string;
|
|
24
24
|
operatorId?: string | null | undefined;
|
|
25
25
|
category?: "other" | "boat" | "car" | "sedan" | "suv" | "van" | "minibus" | "bus" | "train" | undefined;
|
|
26
|
-
vehicleClass?: "other" | "
|
|
26
|
+
vehicleClass?: "other" | "economy" | "standard" | "premium" | "luxury" | "accessible" | undefined;
|
|
27
27
|
passengerCapacity?: number | null | undefined;
|
|
28
28
|
checkedBagCapacity?: number | null | undefined;
|
|
29
29
|
carryOnCapacity?: number | null | undefined;
|
|
@@ -36,7 +36,7 @@ export declare function useGroundVehicleMutation(): {
|
|
|
36
36
|
update: import("@tanstack/react-query").UseMutationResult<{
|
|
37
37
|
resourceId: string;
|
|
38
38
|
category: "other" | "boat" | "car" | "sedan" | "suv" | "van" | "minibus" | "bus" | "train";
|
|
39
|
-
vehicleClass: "other" | "
|
|
39
|
+
vehicleClass: "other" | "economy" | "standard" | "premium" | "luxury" | "accessible";
|
|
40
40
|
isAccessible: boolean;
|
|
41
41
|
active: boolean;
|
|
42
42
|
id: string;
|
|
@@ -6,7 +6,7 @@ export declare function useGroundVehicles(options?: UseGroundVehiclesOptions): i
|
|
|
6
6
|
data: {
|
|
7
7
|
resourceId: string;
|
|
8
8
|
category: "other" | "boat" | "car" | "sedan" | "suv" | "van" | "minibus" | "bus" | "train";
|
|
9
|
-
vehicleClass: "other" | "
|
|
9
|
+
vehicleClass: "other" | "economy" | "standard" | "premium" | "luxury" | "accessible";
|
|
10
10
|
isAccessible: boolean;
|
|
11
11
|
active: boolean;
|
|
12
12
|
id: string;
|
|
@@ -122,7 +122,7 @@ export declare function getGroundVehiclesQueryOptions(client: FetchWithValidatio
|
|
|
122
122
|
data: {
|
|
123
123
|
resourceId: string;
|
|
124
124
|
category: "other" | "boat" | "car" | "sedan" | "suv" | "van" | "minibus" | "bus" | "train";
|
|
125
|
-
vehicleClass: "other" | "
|
|
125
|
+
vehicleClass: "other" | "economy" | "standard" | "premium" | "luxury" | "accessible";
|
|
126
126
|
isAccessible: boolean;
|
|
127
127
|
active: boolean;
|
|
128
128
|
id: string;
|
|
@@ -143,7 +143,7 @@ export declare function getGroundVehiclesQueryOptions(client: FetchWithValidatio
|
|
|
143
143
|
data: {
|
|
144
144
|
resourceId: string;
|
|
145
145
|
category: "other" | "boat" | "car" | "sedan" | "suv" | "van" | "minibus" | "bus" | "train";
|
|
146
|
-
vehicleClass: "other" | "
|
|
146
|
+
vehicleClass: "other" | "economy" | "standard" | "premium" | "luxury" | "accessible";
|
|
147
147
|
isAccessible: boolean;
|
|
148
148
|
active: boolean;
|
|
149
149
|
id: string;
|
|
@@ -165,7 +165,7 @@ export declare function getGroundVehiclesQueryOptions(client: FetchWithValidatio
|
|
|
165
165
|
data: {
|
|
166
166
|
resourceId: string;
|
|
167
167
|
category: "other" | "boat" | "car" | "sedan" | "suv" | "van" | "minibus" | "bus" | "train";
|
|
168
|
-
vehicleClass: "other" | "
|
|
168
|
+
vehicleClass: "other" | "economy" | "standard" | "premium" | "luxury" | "accessible";
|
|
169
169
|
isAccessible: boolean;
|
|
170
170
|
active: boolean;
|
|
171
171
|
id: string;
|
|
@@ -189,7 +189,7 @@ export declare function getGroundVehiclesQueryOptions(client: FetchWithValidatio
|
|
|
189
189
|
data: {
|
|
190
190
|
resourceId: string;
|
|
191
191
|
category: "other" | "boat" | "car" | "sedan" | "suv" | "van" | "minibus" | "bus" | "train";
|
|
192
|
-
vehicleClass: "other" | "
|
|
192
|
+
vehicleClass: "other" | "economy" | "standard" | "premium" | "luxury" | "accessible";
|
|
193
193
|
isAccessible: boolean;
|
|
194
194
|
active: boolean;
|
|
195
195
|
id: string;
|
|
@@ -213,7 +213,7 @@ export declare function getGroundVehiclesQueryOptions(client: FetchWithValidatio
|
|
|
213
213
|
export declare function getGroundVehicleQueryOptions(client: FetchWithValidationOptions, id: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
214
214
|
resourceId: string;
|
|
215
215
|
category: "other" | "boat" | "car" | "sedan" | "suv" | "van" | "minibus" | "bus" | "train";
|
|
216
|
-
vehicleClass: "other" | "
|
|
216
|
+
vehicleClass: "other" | "economy" | "standard" | "premium" | "luxury" | "accessible";
|
|
217
217
|
isAccessible: boolean;
|
|
218
218
|
active: boolean;
|
|
219
219
|
id: string;
|
|
@@ -229,7 +229,7 @@ export declare function getGroundVehicleQueryOptions(client: FetchWithValidation
|
|
|
229
229
|
}, Error, {
|
|
230
230
|
resourceId: string;
|
|
231
231
|
category: "other" | "boat" | "car" | "sedan" | "suv" | "van" | "minibus" | "bus" | "train";
|
|
232
|
-
vehicleClass: "other" | "
|
|
232
|
+
vehicleClass: "other" | "economy" | "standard" | "premium" | "luxury" | "accessible";
|
|
233
233
|
isAccessible: boolean;
|
|
234
234
|
active: boolean;
|
|
235
235
|
id: string;
|
|
@@ -246,7 +246,7 @@ export declare function getGroundVehicleQueryOptions(client: FetchWithValidation
|
|
|
246
246
|
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
247
247
|
resourceId: string;
|
|
248
248
|
category: "other" | "boat" | "car" | "sedan" | "suv" | "van" | "minibus" | "bus" | "train";
|
|
249
|
-
vehicleClass: "other" | "
|
|
249
|
+
vehicleClass: "other" | "economy" | "standard" | "premium" | "luxury" | "accessible";
|
|
250
250
|
isAccessible: boolean;
|
|
251
251
|
active: boolean;
|
|
252
252
|
id: string;
|
|
@@ -265,7 +265,7 @@ export declare function getGroundVehicleQueryOptions(client: FetchWithValidation
|
|
|
265
265
|
[dataTagSymbol]: {
|
|
266
266
|
resourceId: string;
|
|
267
267
|
category: "other" | "boat" | "car" | "sedan" | "suv" | "van" | "minibus" | "bus" | "train";
|
|
268
|
-
vehicleClass: "other" | "
|
|
268
|
+
vehicleClass: "other" | "economy" | "standard" | "premium" | "luxury" | "accessible";
|
|
269
269
|
isAccessible: boolean;
|
|
270
270
|
active: boolean;
|
|
271
271
|
id: string;
|
package/dist/ground/schemas.d.ts
CHANGED
|
@@ -38,8 +38,8 @@ export declare const groundVehicleRecordSchema: z.ZodObject<{
|
|
|
38
38
|
}>>;
|
|
39
39
|
vehicleClass: z.ZodDefault<z.ZodEnum<{
|
|
40
40
|
other: "other";
|
|
41
|
-
standard: "standard";
|
|
42
41
|
economy: "economy";
|
|
42
|
+
standard: "standard";
|
|
43
43
|
premium: "premium";
|
|
44
44
|
luxury: "luxury";
|
|
45
45
|
accessible: "accessible";
|
|
@@ -117,8 +117,8 @@ export declare const groundVehicleListResponse: z.ZodObject<{
|
|
|
117
117
|
}>>;
|
|
118
118
|
vehicleClass: z.ZodDefault<z.ZodEnum<{
|
|
119
119
|
other: "other";
|
|
120
|
-
standard: "standard";
|
|
121
120
|
economy: "economy";
|
|
121
|
+
standard: "standard";
|
|
122
122
|
premium: "premium";
|
|
123
123
|
luxury: "luxury";
|
|
124
124
|
accessible: "accessible";
|
|
@@ -156,8 +156,8 @@ export declare const groundVehicleSingleResponse: z.ZodObject<{
|
|
|
156
156
|
}>>;
|
|
157
157
|
vehicleClass: z.ZodDefault<z.ZodEnum<{
|
|
158
158
|
other: "other";
|
|
159
|
-
standard: "standard";
|
|
160
159
|
economy: "economy";
|
|
160
|
+
standard: "standard";
|
|
161
161
|
premium: "premium";
|
|
162
162
|
luxury: "luxury";
|
|
163
163
|
accessible: "accessible";
|
|
@@ -4,7 +4,7 @@ export interface UseFacilitiesOptions extends FacilitiesListFilters {
|
|
|
4
4
|
}
|
|
5
5
|
export declare function useFacilities(options?: UseFacilitiesOptions): import("@tanstack/react-query").UseQueryResult<{
|
|
6
6
|
data: {
|
|
7
|
-
kind: "
|
|
7
|
+
kind: "property" | "other" | "hotel" | "restaurant" | "meeting_point" | "resort" | "venue" | "transfer_hub" | "airport" | "station" | "marina" | "camp" | "lodge" | "office" | "attraction";
|
|
8
8
|
status: "active" | "inactive" | "archived";
|
|
9
9
|
name: string;
|
|
10
10
|
id: string;
|
|
@@ -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: "
|
|
9
|
+
category: "security" | "other" | "service" | "policy" | "amenity" | "accessibility";
|
|
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: "
|
|
20
|
+
category: "security" | "other" | "service" | "policy" | "amenity" | "accessibility";
|
|
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<{
|
|
6
6
|
data: {
|
|
7
|
-
category: "
|
|
7
|
+
category: "security" | "other" | "service" | "policy" | "amenity" | "accessibility";
|
|
8
8
|
name: string;
|
|
9
9
|
highlighted: boolean;
|
|
10
10
|
sortOrder: number;
|
|
@@ -4,7 +4,7 @@ export type CreateFacilityInput = z.input<typeof insertFacilitySchema>;
|
|
|
4
4
|
export type UpdateFacilityInput = z.input<typeof updateFacilitySchema>;
|
|
5
5
|
export declare function useFacilityMutation(): {
|
|
6
6
|
create: import("@tanstack/react-query").UseMutationResult<{
|
|
7
|
-
kind: "
|
|
7
|
+
kind: "property" | "other" | "hotel" | "restaurant" | "meeting_point" | "resort" | "venue" | "transfer_hub" | "airport" | "station" | "marina" | "camp" | "lodge" | "office" | "attraction";
|
|
8
8
|
status: "active" | "inactive" | "archived";
|
|
9
9
|
name: string;
|
|
10
10
|
id: string;
|
|
@@ -24,10 +24,10 @@ export declare function useFacilityMutation(): {
|
|
|
24
24
|
longitude: number | null;
|
|
25
25
|
tags: string[];
|
|
26
26
|
}, Error, {
|
|
27
|
-
kind: "
|
|
27
|
+
kind: "property" | "other" | "hotel" | "restaurant" | "meeting_point" | "resort" | "venue" | "transfer_hub" | "airport" | "station" | "marina" | "camp" | "lodge" | "office" | "attraction";
|
|
28
28
|
name: string;
|
|
29
29
|
parentFacilityId?: string | null | undefined;
|
|
30
|
-
ownerType?: "
|
|
30
|
+
ownerType?: "other" | "organization" | "supplier" | "internal" | null | undefined;
|
|
31
31
|
ownerId?: string | null | undefined;
|
|
32
32
|
status?: "active" | "inactive" | "archived" | undefined;
|
|
33
33
|
code?: string | null | undefined;
|
|
@@ -44,7 +44,7 @@ export declare function useFacilityMutation(): {
|
|
|
44
44
|
tags?: string[] | undefined;
|
|
45
45
|
}, unknown>;
|
|
46
46
|
update: import("@tanstack/react-query").UseMutationResult<{
|
|
47
|
-
kind: "
|
|
47
|
+
kind: "property" | "other" | "hotel" | "restaurant" | "meeting_point" | "resort" | "venue" | "transfer_hub" | "airport" | "station" | "marina" | "camp" | "lodge" | "office" | "attraction";
|
|
48
48
|
status: "active" | "inactive" | "archived";
|
|
49
49
|
name: string;
|
|
50
50
|
id: string;
|
|
@@ -2,7 +2,7 @@ export interface UseFacilityOptions {
|
|
|
2
2
|
enabled?: boolean;
|
|
3
3
|
}
|
|
4
4
|
export declare function useFacility(id: string | null | undefined, options?: UseFacilityOptions): import("@tanstack/react-query").UseQueryResult<{
|
|
5
|
-
kind: "
|
|
5
|
+
kind: "property" | "other" | "hotel" | "restaurant" | "meeting_point" | "resort" | "venue" | "transfer_hub" | "airport" | "station" | "marina" | "camp" | "lodge" | "office" | "attraction";
|
|
6
6
|
status: "active" | "inactive" | "archived";
|
|
7
7
|
name: string;
|
|
8
8
|
id: string;
|
|
@@ -6,7 +6,7 @@ export declare function usePropertyGroupMemberMutation(): {
|
|
|
6
6
|
create: import("@tanstack/react-query").UseMutationResult<{
|
|
7
7
|
groupId: string;
|
|
8
8
|
propertyId: string;
|
|
9
|
-
membershipRole: "other" | "member" | "
|
|
9
|
+
membershipRole: "other" | "member" | "managed" | "flagship" | "franchise";
|
|
10
10
|
isPrimary: boolean;
|
|
11
11
|
id: string;
|
|
12
12
|
validFrom: string | null;
|
|
@@ -15,7 +15,7 @@ export declare function usePropertyGroupMemberMutation(): {
|
|
|
15
15
|
}, Error, {
|
|
16
16
|
groupId: string;
|
|
17
17
|
propertyId: string;
|
|
18
|
-
membershipRole?: "other" | "member" | "
|
|
18
|
+
membershipRole?: "other" | "member" | "managed" | "flagship" | "franchise" | undefined;
|
|
19
19
|
isPrimary?: boolean | undefined;
|
|
20
20
|
validFrom?: string | null | undefined;
|
|
21
21
|
validTo?: string | null | undefined;
|
|
@@ -24,7 +24,7 @@ export declare function usePropertyGroupMemberMutation(): {
|
|
|
24
24
|
update: import("@tanstack/react-query").UseMutationResult<{
|
|
25
25
|
groupId: string;
|
|
26
26
|
propertyId: string;
|
|
27
|
-
membershipRole: "other" | "member" | "
|
|
27
|
+
membershipRole: "other" | "member" | "managed" | "flagship" | "franchise";
|
|
28
28
|
isPrimary: boolean;
|
|
29
29
|
id: string;
|
|
30
30
|
validFrom: string | null;
|
|
@@ -6,7 +6,7 @@ export declare function usePropertyGroupMembers(options: UsePropertyGroupMembers
|
|
|
6
6
|
data: {
|
|
7
7
|
groupId: string;
|
|
8
8
|
propertyId: string;
|
|
9
|
-
membershipRole: "other" | "member" | "
|
|
9
|
+
membershipRole: "other" | "member" | "managed" | "flagship" | "franchise";
|
|
10
10
|
isPrimary: boolean;
|
|
11
11
|
id: string;
|
|
12
12
|
validFrom: string | null;
|