@voyant-travel/operations-react 0.17.2 → 0.18.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/admin/availability-index-host.d.ts +1 -1
- package/dist/availability/admin/availability-index-host.d.ts.map +1 -1
- package/dist/availability/admin/availability-index-host.js +8 -8
- package/dist/availability/admin/option-resource-template-seat-map.d.ts +1 -1
- package/dist/availability/admin/option-resource-template-seat-map.d.ts.map +1 -1
- package/dist/availability/admin/option-resource-templates-panel.d.ts +1 -1
- package/dist/availability/admin/option-resource-templates-panel.d.ts.map +1 -1
- package/dist/availability/admin/option-resource-templates-panel.js +1 -1
- package/dist/availability/admin/pages/availability-rule-detail-page.d.ts +1 -1
- package/dist/availability/admin/pages/availability-rule-detail-page.d.ts.map +1 -1
- package/dist/availability/admin/pages/availability-rule-detail-page.js +1 -0
- package/dist/availability/admin/pages/availability-slot-detail-page.d.ts +1 -1
- package/dist/availability/admin/pages/availability-slot-detail-page.d.ts.map +1 -1
- package/dist/availability/admin/pages/availability-slot-detail-page.js +1 -0
- package/dist/availability/admin/pages/availability-start-time-detail-page.d.ts +1 -1
- package/dist/availability/admin/pages/availability-start-time-detail-page.d.ts.map +1 -1
- package/dist/availability/admin/pages/availability-start-time-detail-page.js +1 -0
- package/dist/availability/admin/rule-detail-host.d.ts +1 -1
- package/dist/availability/admin/rule-detail-host.d.ts.map +1 -1
- package/dist/availability/admin/slot-detail-host.d.ts +1 -1
- package/dist/availability/admin/slot-detail-host.d.ts.map +1 -1
- package/dist/availability/admin/start-time-detail-host.d.ts +1 -1
- package/dist/availability/admin/start-time-detail-host.d.ts.map +1 -1
- package/dist/availability/allocation/components/seat-map-builder.d.ts +1 -1
- package/dist/availability/allocation/components/seat-map-builder.d.ts.map +1 -1
- package/dist/availability/allocation/components/slot-allocation-add-resource-dialog.d.ts +1 -1
- package/dist/availability/allocation/components/slot-allocation-add-resource-dialog.d.ts.map +1 -1
- package/dist/availability/allocation/components/slot-allocation-add-resource-dialog.js +1 -1
- package/dist/availability/allocation/components/slot-allocation-page-panels.d.ts +2 -2
- package/dist/availability/allocation/components/slot-allocation-page-panels.d.ts.map +1 -1
- package/dist/availability/allocation/components/slot-allocation-page.d.ts +1 -1
- package/dist/availability/allocation/components/slot-allocation-page.d.ts.map +1 -1
- package/dist/availability/allocation/components/slot-allocation-resource-view-rows.d.ts +2 -2
- package/dist/availability/allocation/components/slot-allocation-resource-view-rows.d.ts.map +1 -1
- package/dist/availability/allocation/components/slot-allocation-resource-view.d.ts +1 -1
- package/dist/availability/allocation/components/slot-allocation-resource-view.d.ts.map +1 -1
- package/dist/availability/allocation/components/slot-allocation-seat-view.d.ts +1 -1
- package/dist/availability/allocation/components/slot-allocation-seat-view.d.ts.map +1 -1
- package/dist/availability/allocation/components/slot-allocation-seat-view.js +3 -3
- package/dist/availability/allocation/components/slot-allocation-shared.d.ts +6 -6
- package/dist/availability/allocation/components/slot-allocation-shared.d.ts.map +1 -1
- package/dist/availability/allocation/i18n/provider.d.ts +1 -1
- package/dist/availability/allocation/i18n/provider.d.ts.map +1 -1
- package/dist/availability/components/availability-dialogs/closeout-dialog.d.ts +1 -1
- package/dist/availability/components/availability-dialogs/closeout-dialog.d.ts.map +1 -1
- package/dist/availability/components/availability-dialogs/closeout-dialog.js +1 -1
- package/dist/availability/components/availability-dialogs/pickup-point-dialog.d.ts +1 -1
- package/dist/availability/components/availability-dialogs/pickup-point-dialog.d.ts.map +1 -1
- package/dist/availability/components/availability-dialogs/pickup-point-dialog.js +1 -1
- package/dist/availability/components/availability-dialogs/rule-dialog.d.ts +1 -1
- package/dist/availability/components/availability-dialogs/rule-dialog.d.ts.map +1 -1
- package/dist/availability/components/availability-dialogs/rule-dialog.js +1 -1
- package/dist/availability/components/availability-dialogs/shared.d.ts +3 -3
- package/dist/availability/components/availability-dialogs/shared.d.ts.map +1 -1
- package/dist/availability/components/availability-dialogs/slot-dialog.d.ts +1 -1
- package/dist/availability/components/availability-dialogs/slot-dialog.d.ts.map +1 -1
- package/dist/availability/components/availability-dialogs/slot-dialog.js +1 -1
- package/dist/availability/components/availability-dialogs/start-time-dialog.d.ts +1 -1
- package/dist/availability/components/availability-dialogs/start-time-dialog.d.ts.map +1 -1
- package/dist/availability/components/availability-dialogs/start-time-dialog.js +1 -1
- package/dist/availability/components/availability-overview.d.ts +1 -1
- package/dist/availability/components/availability-overview.d.ts.map +1 -1
- package/dist/availability/components/availability-page.d.ts +1 -1
- package/dist/availability/components/availability-page.d.ts.map +1 -1
- package/dist/availability/components/availability-rule-detail-page.d.ts +6 -6
- package/dist/availability/components/availability-rule-detail-page.d.ts.map +1 -1
- package/dist/availability/components/availability-rule-detail-page.js +1 -1
- package/dist/availability/components/availability-section-header.d.ts +1 -1
- package/dist/availability/components/availability-section-header.d.ts.map +1 -1
- package/dist/availability/components/availability-skeletons.d.ts +5 -5
- package/dist/availability/components/availability-skeletons.d.ts.map +1 -1
- package/dist/availability/components/availability-slot-detail-activity.d.ts +1 -1
- package/dist/availability/components/availability-slot-detail-activity.d.ts.map +1 -1
- package/dist/availability/components/availability-slot-detail-financials.d.ts +1 -1
- package/dist/availability/components/availability-slot-detail-financials.d.ts.map +1 -1
- package/dist/availability/components/availability-slot-detail-meta.d.ts +1 -1
- package/dist/availability/components/availability-slot-detail-meta.d.ts.map +1 -1
- package/dist/availability/components/availability-slot-detail-page.d.ts +6 -6
- package/dist/availability/components/availability-slot-detail-page.d.ts.map +1 -1
- package/dist/availability/components/availability-start-time-detail-page.d.ts +6 -6
- package/dist/availability/components/availability-start-time-detail-page.d.ts.map +1 -1
- package/dist/availability/components/availability-start-time-detail-page.js +1 -1
- package/dist/availability/components/availability-tabs/other-tabs.d.ts +4 -4
- package/dist/availability/components/availability-tabs/other-tabs.d.ts.map +1 -1
- package/dist/availability/components/availability-tabs/other-tabs.js +10 -10
- package/dist/availability/components/availability-tabs/slots-tab.d.ts +1 -1
- package/dist/availability/components/availability-tabs/slots-tab.d.ts.map +1 -1
- package/dist/availability/components/availability-tabs/slots-tab.js +4 -4
- package/dist/availability/hooks/use-availability-batch-mutations.d.ts +7 -7
- package/dist/availability/hooks/use-availability-batch-mutations.d.ts.map +1 -1
- package/dist/availability/hooks/use-availability-batch-mutations.js +10 -10
- package/dist/availability/hooks/use-availability-closeout-mutation.js +3 -3
- package/dist/availability/hooks/use-availability-overview.d.ts +3 -3
- package/dist/availability/hooks/use-availability-overview.d.ts.map +1 -1
- package/dist/availability/hooks/use-availability-pickup-point-mutation.js +3 -3
- package/dist/availability/hooks/use-availability-rule-mutation.js +3 -3
- package/dist/availability/hooks/use-availability-slot-mutation.d.ts +3 -3
- package/dist/availability/hooks/use-availability-slot-mutation.js +3 -3
- package/dist/availability/hooks/use-availability-start-time-mutation.js +3 -3
- package/dist/availability/hooks/use-closeouts.d.ts +2 -2
- package/dist/availability/hooks/use-closeouts.d.ts.map +1 -1
- package/dist/availability/hooks/use-pickup-points.d.ts +2 -2
- package/dist/availability/hooks/use-pickup-points.d.ts.map +1 -1
- package/dist/availability/hooks/use-products.d.ts +2 -2
- package/dist/availability/hooks/use-products.d.ts.map +1 -1
- package/dist/availability/hooks/use-rules.d.ts +2 -2
- package/dist/availability/hooks/use-rules.d.ts.map +1 -1
- package/dist/availability/hooks/use-slot-allocation.d.ts +6 -6
- package/dist/availability/hooks/use-slot-allocation.d.ts.map +1 -1
- package/dist/availability/hooks/use-slot-allocation.js +4 -3
- package/dist/availability/hooks/use-slot-unit-availability.d.ts +2 -2
- package/dist/availability/hooks/use-slot-unit-availability.d.ts.map +1 -1
- package/dist/availability/hooks/use-slots.d.ts +3 -3
- package/dist/availability/hooks/use-slots.d.ts.map +1 -1
- package/dist/availability/hooks/use-start-times.d.ts +2 -2
- package/dist/availability/hooks/use-start-times.d.ts.map +1 -1
- package/dist/availability/i18n/provider.d.ts +1 -1
- package/dist/availability/i18n/provider.d.ts.map +1 -1
- package/dist/availability/query-options.d.ts +12 -12
- package/dist/availability/query-options.d.ts.map +1 -1
- package/dist/availability/query-options.js +15 -15
- package/dist/availability/schemas.d.ts +8 -8
- package/dist/ground/hooks/use-ground-driver-mutation.js +3 -3
- package/dist/ground/hooks/use-ground-drivers.d.ts +2 -2
- package/dist/ground/hooks/use-ground-drivers.d.ts.map +1 -1
- package/dist/ground/hooks/use-ground-operator-mutation.js +3 -3
- package/dist/ground/hooks/use-ground-operators.d.ts +2 -2
- package/dist/ground/hooks/use-ground-operators.d.ts.map +1 -1
- package/dist/ground/hooks/use-ground-vehicle-mutation.js +3 -3
- package/dist/ground/hooks/use-ground-vehicles.d.ts +2 -2
- package/dist/ground/hooks/use-ground-vehicles.d.ts.map +1 -1
- package/dist/ground/query-options.js +6 -6
- package/dist/ground/schemas.d.ts +3 -3
- package/dist/places/components/facility-badge.d.ts +1 -1
- package/dist/places/components/facility-badge.d.ts.map +1 -1
- package/dist/places/components/facility-combobox.d.ts +2 -1
- package/dist/places/components/facility-combobox.d.ts.map +1 -1
- package/dist/places/hooks/use-facilities.d.ts +4 -4
- package/dist/places/hooks/use-facilities.d.ts.map +1 -1
- package/dist/places/hooks/use-facility-feature-mutation.d.ts +2 -2
- package/dist/places/hooks/use-facility-feature-mutation.js +3 -3
- package/dist/places/hooks/use-facility-features.d.ts +3 -3
- package/dist/places/hooks/use-facility-features.d.ts.map +1 -1
- package/dist/places/hooks/use-facility-mutation.d.ts +7 -7
- package/dist/places/hooks/use-facility-mutation.js +3 -3
- package/dist/places/hooks/use-facility-operation-schedule-mutation.js +3 -3
- package/dist/places/hooks/use-facility-operation-schedules.d.ts +2 -2
- package/dist/places/hooks/use-facility-operation-schedules.d.ts.map +1 -1
- package/dist/places/hooks/use-facility.d.ts +4 -4
- package/dist/places/hooks/use-facility.d.ts.map +1 -1
- package/dist/places/hooks/use-properties.d.ts +2 -2
- package/dist/places/hooks/use-properties.d.ts.map +1 -1
- package/dist/places/hooks/use-property-group-member-mutation.js +3 -3
- package/dist/places/hooks/use-property-group-members.d.ts +2 -2
- package/dist/places/hooks/use-property-group-members.d.ts.map +1 -1
- package/dist/places/hooks/use-property-group-mutation.d.ts +6 -6
- package/dist/places/hooks/use-property-group-mutation.js +3 -3
- package/dist/places/hooks/use-property-group.d.ts +4 -4
- package/dist/places/hooks/use-property-group.d.ts.map +1 -1
- package/dist/places/hooks/use-property-groups.d.ts +4 -4
- package/dist/places/hooks/use-property-groups.d.ts.map +1 -1
- package/dist/places/hooks/use-property-mutation.js +3 -3
- package/dist/places/hooks/use-property.d.ts +2 -2
- package/dist/places/hooks/use-property.d.ts.map +1 -1
- package/dist/places/i18n/provider.d.ts +1 -1
- package/dist/places/i18n/provider.d.ts.map +1 -1
- package/dist/places/query-options.d.ts +40 -46
- package/dist/places/query-options.d.ts.map +1 -1
- package/dist/places/query-options.js +12 -18
- package/dist/places/schemas.d.ts +15 -15
- package/dist/resources/admin/detail-hosts.d.ts +4 -4
- package/dist/resources/admin/detail-hosts.d.ts.map +1 -1
- package/dist/resources/admin/detail-hosts.js +4 -4
- package/dist/resources/admin/pages/resource-allocation-detail-page.d.ts +1 -1
- package/dist/resources/admin/pages/resource-allocation-detail-page.d.ts.map +1 -1
- package/dist/resources/admin/pages/resource-allocation-detail-page.js +1 -0
- package/dist/resources/admin/pages/resource-assignment-detail-page.d.ts +1 -1
- package/dist/resources/admin/pages/resource-assignment-detail-page.d.ts.map +1 -1
- package/dist/resources/admin/pages/resource-assignment-detail-page.js +1 -0
- package/dist/resources/admin/pages/resource-detail-page.d.ts +1 -1
- package/dist/resources/admin/pages/resource-detail-page.d.ts.map +1 -1
- package/dist/resources/admin/pages/resource-detail-page.js +1 -0
- package/dist/resources/admin/pages/resource-pool-detail-page.d.ts +1 -1
- package/dist/resources/admin/pages/resource-pool-detail-page.d.ts.map +1 -1
- package/dist/resources/admin/pages/resource-pool-detail-page.js +1 -0
- package/dist/resources/admin/resources-dialog-allocation.d.ts +1 -1
- package/dist/resources/admin/resources-dialog-allocation.d.ts.map +1 -1
- package/dist/resources/admin/resources-dialog-allocation.js +3 -3
- package/dist/resources/admin/resources-dialogs-core.d.ts +2 -2
- package/dist/resources/admin/resources-dialogs-core.d.ts.map +1 -1
- package/dist/resources/admin/resources-dialogs-core.js +6 -6
- package/dist/resources/admin/resources-dialogs-ops.d.ts +2 -2
- package/dist/resources/admin/resources-dialogs-ops.d.ts.map +1 -1
- package/dist/resources/admin/resources-dialogs-ops.js +10 -7
- package/dist/resources/admin/resources-dialogs.d.ts +1 -1
- package/dist/resources/admin/resources-dialogs.d.ts.map +1 -1
- package/dist/resources/admin/resources-host.d.ts +1 -1
- package/dist/resources/admin/resources-host.d.ts.map +1 -1
- package/dist/resources/admin/resources-page-skeleton.d.ts +2 -2
- package/dist/resources/admin/resources-page-skeleton.d.ts.map +1 -1
- package/dist/resources/components/resource-allocation-detail-page.d.ts +1 -1
- package/dist/resources/components/resource-allocation-detail-page.d.ts.map +1 -1
- package/dist/resources/components/resource-assignment-detail-page.d.ts +1 -1
- package/dist/resources/components/resource-assignment-detail-page.d.ts.map +1 -1
- package/dist/resources/components/resource-detail-data.d.ts +1 -1
- package/dist/resources/components/resource-detail-data.d.ts.map +1 -1
- package/dist/resources/components/resource-detail-data.js +1 -1
- package/dist/resources/components/resource-detail-page.d.ts +2 -2
- package/dist/resources/components/resource-detail-page.d.ts.map +1 -1
- package/dist/resources/components/resource-detail-shared.d.ts +5 -5
- package/dist/resources/components/resource-detail-shared.d.ts.map +1 -1
- package/dist/resources/components/resource-detail-skeletons.d.ts +4 -4
- package/dist/resources/components/resource-detail-skeletons.d.ts.map +1 -1
- package/dist/resources/components/resource-pool-detail-page.d.ts +2 -2
- package/dist/resources/components/resource-pool-detail-page.d.ts.map +1 -1
- package/dist/resources/components/resources-overview.d.ts +1 -1
- package/dist/resources/components/resources-overview.d.ts.map +1 -1
- package/dist/resources/components/resources-page-filters.d.ts +1 -1
- package/dist/resources/components/resources-page-filters.d.ts.map +1 -1
- package/dist/resources/components/resources-page.d.ts +1 -1
- package/dist/resources/components/resources-page.d.ts.map +1 -1
- package/dist/resources/components/resources-section-header.d.ts +1 -1
- package/dist/resources/components/resources-section-header.d.ts.map +1 -1
- package/dist/resources/components/resources-tabs-primary.d.ts +3 -3
- package/dist/resources/components/resources-tabs-primary.d.ts.map +1 -1
- package/dist/resources/components/resources-tabs-primary.js +7 -7
- package/dist/resources/components/resources-tabs-secondary.d.ts +2 -2
- package/dist/resources/components/resources-tabs-secondary.d.ts.map +1 -1
- package/dist/resources/components/resources-tabs-secondary.js +4 -4
- package/dist/resources/hooks/use-allocation.d.ts +2 -2
- package/dist/resources/hooks/use-allocation.d.ts.map +1 -1
- package/dist/resources/hooks/use-allocations.d.ts +2 -2
- package/dist/resources/hooks/use-allocations.d.ts.map +1 -1
- package/dist/resources/hooks/use-assignment.d.ts +2 -2
- package/dist/resources/hooks/use-assignment.d.ts.map +1 -1
- package/dist/resources/hooks/use-assignments.d.ts +2 -2
- package/dist/resources/hooks/use-assignments.d.ts.map +1 -1
- package/dist/resources/hooks/use-bookings.d.ts +2 -2
- package/dist/resources/hooks/use-bookings.d.ts.map +1 -1
- package/dist/resources/hooks/use-closeouts.d.ts +2 -2
- package/dist/resources/hooks/use-closeouts.d.ts.map +1 -1
- package/dist/resources/hooks/use-pool.d.ts +3 -3
- package/dist/resources/hooks/use-pool.d.ts.map +1 -1
- package/dist/resources/hooks/use-pools.d.ts +3 -3
- package/dist/resources/hooks/use-pools.d.ts.map +1 -1
- package/dist/resources/hooks/use-products.d.ts +2 -2
- package/dist/resources/hooks/use-products.d.ts.map +1 -1
- package/dist/resources/hooks/use-resource.d.ts +3 -3
- package/dist/resources/hooks/use-resource.d.ts.map +1 -1
- package/dist/resources/hooks/use-resources.d.ts +3 -3
- package/dist/resources/hooks/use-resources.d.ts.map +1 -1
- package/dist/resources/hooks/use-rules.d.ts +2 -2
- package/dist/resources/hooks/use-rules.d.ts.map +1 -1
- package/dist/resources/hooks/use-slots.d.ts +2 -2
- package/dist/resources/hooks/use-slots.d.ts.map +1 -1
- package/dist/resources/hooks/use-start-times.d.ts +2 -2
- package/dist/resources/hooks/use-start-times.d.ts.map +1 -1
- package/dist/resources/hooks/use-suppliers.d.ts +2 -2
- package/dist/resources/hooks/use-suppliers.d.ts.map +1 -1
- package/dist/resources/i18n/provider.d.ts +1 -1
- package/dist/resources/i18n/provider.d.ts.map +1 -1
- package/dist/resources/query-options.d.ts +16 -16
- package/dist/resources/query-options.d.ts.map +1 -1
- package/dist/resources/query-options.js +15 -15
- package/dist/resources/schemas.d.ts +18 -18
- package/package.json +26 -26
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-property.d.ts","sourceRoot":"","sources":["../../../src/places/hooks/use-property.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,kBAAkB;IACjC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAAE,OAAO,GAAE,kBAAuB;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"use-property.d.ts","sourceRoot":"","sources":["../../../src/places/hooks/use-property.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,kBAAkB;IACjC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAAE,OAAO,GAAE,kBAAuB;;;;;;;;;;;;WAQ1F"}
|
|
@@ -42,7 +42,7 @@ export declare function FacilitiesUiMessagesProvider({ children, locale, overrid
|
|
|
42
42
|
children: ReactNode;
|
|
43
43
|
locale: string | null | undefined;
|
|
44
44
|
overrides?: FacilitiesUiMessageOverrides | null;
|
|
45
|
-
}): import("react
|
|
45
|
+
}): import("react").JSX.Element;
|
|
46
46
|
export declare const useFacilitiesUiI18n: () => PackageI18nValue<FacilitiesUiMessages>;
|
|
47
47
|
export declare const useFacilitiesUiMessages: () => FacilitiesUiMessages;
|
|
48
48
|
export declare function useFacilitiesUiI18nOrDefault(): PackageI18nValue<FacilitiesUiMessages>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../src/places/i18n/provider.tsx"],"names":[],"mappings":"AAEA,OAAO,EAIL,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EAEtB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAA;AAKzD,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGe,CAAA;AAE1D,MAAM,MAAM,4BAA4B,GAAG,sBAAsB,CAAC,oBAAoB,CAAC,CAAA;AAUvF,wBAAgB,2BAA2B,CAAC,EAC1C,MAAM,EACN,SAAS,GACV,EAAE;IACD,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACjC,SAAS,CAAC,EAAE,4BAA4B,GAAG,IAAI,CAAA;CAChD,wBAOA;AAED,wBAAgB,mBAAmB,CAAC,EAClC,MAAM,EACN,SAAS,GACV,EAAE;IACD,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IAClC,SAAS,CAAC,EAAE,4BAA4B,GAAG,IAAI,CAAA;CAChD,GAAG,gBAAgB,CAAC,oBAAoB,CAAC,CASzC;AAED,wBAAgB,4BAA4B,CAAC,EAC3C,QAAQ,EACR,MAAM,EACN,SAAS,GACV,EAAE;IACD,QAAQ,EAAE,SAAS,CAAA;IACnB,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACjC,SAAS,CAAC,EAAE,4BAA4B,GAAG,IAAI,CAAA;CAChD
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../src/places/i18n/provider.tsx"],"names":[],"mappings":"AAEA,OAAO,EAIL,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EAEtB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAA;AAKzD,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGe,CAAA;AAE1D,MAAM,MAAM,4BAA4B,GAAG,sBAAsB,CAAC,oBAAoB,CAAC,CAAA;AAUvF,wBAAgB,2BAA2B,CAAC,EAC1C,MAAM,EACN,SAAS,GACV,EAAE;IACD,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACjC,SAAS,CAAC,EAAE,4BAA4B,GAAG,IAAI,CAAA;CAChD,wBAOA;AAED,wBAAgB,mBAAmB,CAAC,EAClC,MAAM,EACN,SAAS,GACV,EAAE;IACD,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IAClC,SAAS,CAAC,EAAE,4BAA4B,GAAG,IAAI,CAAA;CAChD,GAAG,gBAAgB,CAAC,oBAAoB,CAAC,CASzC;AAED,wBAAgB,4BAA4B,CAAC,EAC3C,QAAQ,EACR,MAAM,EACN,SAAS,GACV,EAAE;IACD,QAAQ,EAAE,SAAS,CAAA;IACnB,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACjC,SAAS,CAAC,EAAE,4BAA4B,GAAG,IAAI,CAAA;CAChD,+BAWA;AAED,eAAO,MAAM,mBAAmB,8CAA8B,CAAA;AAC9D,eAAO,MAAM,uBAAuB,4BAAkC,CAAA;AAEtE,wBAAgB,4BAA4B,2CAE3C;AAED,wBAAgB,gCAAgC,yBAE/C"}
|
|
@@ -7,8 +7,8 @@ import type { UsePropertyGroupMembersOptions } from "./hooks/use-property-group-
|
|
|
7
7
|
import type { UsePropertyGroupsOptions } from "./hooks/use-property-groups.js";
|
|
8
8
|
export declare function getFacilitiesQueryOptions(client: FetchWithValidationOptions, options?: UseFacilitiesOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
9
9
|
data: {
|
|
10
|
-
kind: "property" | "other" | "hotel" | "
|
|
11
|
-
status: "active" | "
|
|
10
|
+
kind: "property" | "other" | "hotel" | "resort" | "camp" | "lodge" | "venue" | "meeting_point" | "transfer_hub" | "airport" | "station" | "marina" | "office" | "attraction" | "restaurant";
|
|
11
|
+
status: "active" | "archived" | "inactive";
|
|
12
12
|
name: string;
|
|
13
13
|
id: string;
|
|
14
14
|
parentFacilityId: string | null;
|
|
@@ -32,8 +32,8 @@ export declare function getFacilitiesQueryOptions(client: FetchWithValidationOpt
|
|
|
32
32
|
offset: number;
|
|
33
33
|
}, Error, {
|
|
34
34
|
data: {
|
|
35
|
-
kind: "property" | "other" | "hotel" | "
|
|
36
|
-
status: "active" | "
|
|
35
|
+
kind: "property" | "other" | "hotel" | "resort" | "camp" | "lodge" | "venue" | "meeting_point" | "transfer_hub" | "airport" | "station" | "marina" | "office" | "attraction" | "restaurant";
|
|
36
|
+
status: "active" | "archived" | "inactive";
|
|
37
37
|
name: string;
|
|
38
38
|
id: string;
|
|
39
39
|
parentFacilityId: string | null;
|
|
@@ -58,8 +58,8 @@ export declare function getFacilitiesQueryOptions(client: FetchWithValidationOpt
|
|
|
58
58
|
}, readonly ["facilities", "facilities", import("./query-keys.js").FacilitiesListFilters]>, "queryFn"> & {
|
|
59
59
|
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
60
60
|
data: {
|
|
61
|
-
kind: "property" | "other" | "hotel" | "
|
|
62
|
-
status: "active" | "
|
|
61
|
+
kind: "property" | "other" | "hotel" | "resort" | "camp" | "lodge" | "venue" | "meeting_point" | "transfer_hub" | "airport" | "station" | "marina" | "office" | "attraction" | "restaurant";
|
|
62
|
+
status: "active" | "archived" | "inactive";
|
|
63
63
|
name: string;
|
|
64
64
|
id: string;
|
|
65
65
|
parentFacilityId: string | null;
|
|
@@ -86,8 +86,8 @@ export declare function getFacilitiesQueryOptions(client: FetchWithValidationOpt
|
|
|
86
86
|
queryKey: readonly ["facilities", "facilities", import("./query-keys.js").FacilitiesListFilters] & {
|
|
87
87
|
[dataTagSymbol]: {
|
|
88
88
|
data: {
|
|
89
|
-
kind: "property" | "other" | "hotel" | "
|
|
90
|
-
status: "active" | "
|
|
89
|
+
kind: "property" | "other" | "hotel" | "resort" | "camp" | "lodge" | "venue" | "meeting_point" | "transfer_hub" | "airport" | "station" | "marina" | "office" | "attraction" | "restaurant";
|
|
90
|
+
status: "active" | "archived" | "inactive";
|
|
91
91
|
name: string;
|
|
92
92
|
id: string;
|
|
93
93
|
parentFacilityId: string | null;
|
|
@@ -114,8 +114,8 @@ export declare function getFacilitiesQueryOptions(client: FetchWithValidationOpt
|
|
|
114
114
|
};
|
|
115
115
|
};
|
|
116
116
|
export declare function getFacilityQueryOptions(client: FetchWithValidationOptions, id: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
117
|
-
kind: "property" | "other" | "hotel" | "
|
|
118
|
-
status: "active" | "
|
|
117
|
+
kind: "property" | "other" | "hotel" | "resort" | "camp" | "lodge" | "venue" | "meeting_point" | "transfer_hub" | "airport" | "station" | "marina" | "office" | "attraction" | "restaurant";
|
|
118
|
+
status: "active" | "archived" | "inactive";
|
|
119
119
|
name: string;
|
|
120
120
|
id: string;
|
|
121
121
|
parentFacilityId: string | null;
|
|
@@ -134,8 +134,8 @@ export declare function getFacilityQueryOptions(client: FetchWithValidationOptio
|
|
|
134
134
|
longitude: number | null;
|
|
135
135
|
tags: string[];
|
|
136
136
|
}, Error, {
|
|
137
|
-
kind: "property" | "other" | "hotel" | "
|
|
138
|
-
status: "active" | "
|
|
137
|
+
kind: "property" | "other" | "hotel" | "resort" | "camp" | "lodge" | "venue" | "meeting_point" | "transfer_hub" | "airport" | "station" | "marina" | "office" | "attraction" | "restaurant";
|
|
138
|
+
status: "active" | "archived" | "inactive";
|
|
139
139
|
name: string;
|
|
140
140
|
id: string;
|
|
141
141
|
parentFacilityId: string | null;
|
|
@@ -155,8 +155,8 @@ export declare function getFacilityQueryOptions(client: FetchWithValidationOptio
|
|
|
155
155
|
tags: string[];
|
|
156
156
|
}, readonly ["facilities", "facilities", string]>, "queryFn"> & {
|
|
157
157
|
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
158
|
-
kind: "property" | "other" | "hotel" | "
|
|
159
|
-
status: "active" | "
|
|
158
|
+
kind: "property" | "other" | "hotel" | "resort" | "camp" | "lodge" | "venue" | "meeting_point" | "transfer_hub" | "airport" | "station" | "marina" | "office" | "attraction" | "restaurant";
|
|
159
|
+
status: "active" | "archived" | "inactive";
|
|
160
160
|
name: string;
|
|
161
161
|
id: string;
|
|
162
162
|
parentFacilityId: string | null;
|
|
@@ -178,8 +178,8 @@ export declare function getFacilityQueryOptions(client: FetchWithValidationOptio
|
|
|
178
178
|
} & {
|
|
179
179
|
queryKey: readonly ["facilities", "facilities", string] & {
|
|
180
180
|
[dataTagSymbol]: {
|
|
181
|
-
kind: "property" | "other" | "hotel" | "
|
|
182
|
-
status: "active" | "
|
|
181
|
+
kind: "property" | "other" | "hotel" | "resort" | "camp" | "lodge" | "venue" | "meeting_point" | "transfer_hub" | "airport" | "station" | "marina" | "office" | "attraction" | "restaurant";
|
|
182
|
+
status: "active" | "archived" | "inactive";
|
|
183
183
|
name: string;
|
|
184
184
|
id: string;
|
|
185
185
|
parentFacilityId: string | null;
|
|
@@ -203,7 +203,7 @@ export declare function getFacilityQueryOptions(client: FetchWithValidationOptio
|
|
|
203
203
|
};
|
|
204
204
|
export declare function getFacilityFeaturesQueryOptions(client: FetchWithValidationOptions, options: UseFacilityFeaturesOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
205
205
|
data: {
|
|
206
|
-
category: "security" | "
|
|
206
|
+
category: "security" | "accessibility" | "other" | "service" | "amenity" | "policy";
|
|
207
207
|
name: string;
|
|
208
208
|
highlighted: boolean;
|
|
209
209
|
sortOrder: number;
|
|
@@ -218,7 +218,7 @@ export declare function getFacilityFeaturesQueryOptions(client: FetchWithValidat
|
|
|
218
218
|
offset: number;
|
|
219
219
|
}, Error, {
|
|
220
220
|
data: {
|
|
221
|
-
category: "security" | "
|
|
221
|
+
category: "security" | "accessibility" | "other" | "service" | "amenity" | "policy";
|
|
222
222
|
name: string;
|
|
223
223
|
highlighted: boolean;
|
|
224
224
|
sortOrder: number;
|
|
@@ -234,7 +234,7 @@ export declare function getFacilityFeaturesQueryOptions(client: FetchWithValidat
|
|
|
234
234
|
}, readonly ["facilities", "facility-features", import("./query-keys.js").FacilityFeaturesListFilters]>, "queryFn"> & {
|
|
235
235
|
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
236
236
|
data: {
|
|
237
|
-
category: "security" | "
|
|
237
|
+
category: "security" | "accessibility" | "other" | "service" | "amenity" | "policy";
|
|
238
238
|
name: string;
|
|
239
239
|
highlighted: boolean;
|
|
240
240
|
sortOrder: number;
|
|
@@ -252,7 +252,7 @@ export declare function getFacilityFeaturesQueryOptions(client: FetchWithValidat
|
|
|
252
252
|
queryKey: readonly ["facilities", "facility-features", import("./query-keys.js").FacilityFeaturesListFilters] & {
|
|
253
253
|
[dataTagSymbol]: {
|
|
254
254
|
data: {
|
|
255
|
-
category: "security" | "
|
|
255
|
+
category: "security" | "accessibility" | "other" | "service" | "amenity" | "policy";
|
|
256
256
|
name: string;
|
|
257
257
|
highlighted: boolean;
|
|
258
258
|
sortOrder: number;
|
|
@@ -270,7 +270,7 @@ export declare function getFacilityFeaturesQueryOptions(client: FetchWithValidat
|
|
|
270
270
|
};
|
|
271
271
|
};
|
|
272
272
|
export declare function getFacilityFeatureQueryOptions(client: FetchWithValidationOptions, id: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
273
|
-
category: "security" | "
|
|
273
|
+
category: "security" | "accessibility" | "other" | "service" | "amenity" | "policy";
|
|
274
274
|
name: string;
|
|
275
275
|
highlighted: boolean;
|
|
276
276
|
sortOrder: number;
|
|
@@ -280,7 +280,7 @@ export declare function getFacilityFeatureQueryOptions(client: FetchWithValidati
|
|
|
280
280
|
description: string | null;
|
|
281
281
|
valueText: string | null;
|
|
282
282
|
}, Error, {
|
|
283
|
-
category: "security" | "
|
|
283
|
+
category: "security" | "accessibility" | "other" | "service" | "amenity" | "policy";
|
|
284
284
|
name: string;
|
|
285
285
|
highlighted: boolean;
|
|
286
286
|
sortOrder: number;
|
|
@@ -291,7 +291,7 @@ export declare function getFacilityFeatureQueryOptions(client: FetchWithValidati
|
|
|
291
291
|
valueText: string | null;
|
|
292
292
|
}, readonly ["facilities", "facility-features", string]>, "queryFn"> & {
|
|
293
293
|
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
294
|
-
category: "security" | "
|
|
294
|
+
category: "security" | "accessibility" | "other" | "service" | "amenity" | "policy";
|
|
295
295
|
name: string;
|
|
296
296
|
highlighted: boolean;
|
|
297
297
|
sortOrder: number;
|
|
@@ -304,7 +304,7 @@ export declare function getFacilityFeatureQueryOptions(client: FetchWithValidati
|
|
|
304
304
|
} & {
|
|
305
305
|
queryKey: readonly ["facilities", "facility-features", string] & {
|
|
306
306
|
[dataTagSymbol]: {
|
|
307
|
-
category: "security" | "
|
|
307
|
+
category: "security" | "accessibility" | "other" | "service" | "amenity" | "policy";
|
|
308
308
|
name: string;
|
|
309
309
|
highlighted: boolean;
|
|
310
310
|
sortOrder: number;
|
|
@@ -567,8 +567,8 @@ export declare function getPropertyQueryOptions(client: FetchWithValidationOptio
|
|
|
567
567
|
};
|
|
568
568
|
export declare function getPropertyGroupsQueryOptions(client: FetchWithValidationOptions, options?: UsePropertyGroupsOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
569
569
|
data: {
|
|
570
|
-
groupType: "
|
|
571
|
-
status: "active" | "
|
|
570
|
+
groupType: "brand" | "other" | "chain" | "management_company" | "collection" | "portfolio" | "cluster";
|
|
571
|
+
status: "active" | "archived" | "inactive";
|
|
572
572
|
name: string;
|
|
573
573
|
id: string;
|
|
574
574
|
parentGroupId: string | null;
|
|
@@ -584,8 +584,8 @@ export declare function getPropertyGroupsQueryOptions(client: FetchWithValidatio
|
|
|
584
584
|
offset: number;
|
|
585
585
|
}, Error, {
|
|
586
586
|
data: {
|
|
587
|
-
groupType: "
|
|
588
|
-
status: "active" | "
|
|
587
|
+
groupType: "brand" | "other" | "chain" | "management_company" | "collection" | "portfolio" | "cluster";
|
|
588
|
+
status: "active" | "archived" | "inactive";
|
|
589
589
|
name: string;
|
|
590
590
|
id: string;
|
|
591
591
|
parentGroupId: string | null;
|
|
@@ -602,8 +602,8 @@ export declare function getPropertyGroupsQueryOptions(client: FetchWithValidatio
|
|
|
602
602
|
}, readonly ["facilities", "property-groups", import("./query-keys.js").PropertyGroupsListFilters]>, "queryFn"> & {
|
|
603
603
|
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
604
604
|
data: {
|
|
605
|
-
groupType: "
|
|
606
|
-
status: "active" | "
|
|
605
|
+
groupType: "brand" | "other" | "chain" | "management_company" | "collection" | "portfolio" | "cluster";
|
|
606
|
+
status: "active" | "archived" | "inactive";
|
|
607
607
|
name: string;
|
|
608
608
|
id: string;
|
|
609
609
|
parentGroupId: string | null;
|
|
@@ -622,8 +622,8 @@ export declare function getPropertyGroupsQueryOptions(client: FetchWithValidatio
|
|
|
622
622
|
queryKey: readonly ["facilities", "property-groups", import("./query-keys.js").PropertyGroupsListFilters] & {
|
|
623
623
|
[dataTagSymbol]: {
|
|
624
624
|
data: {
|
|
625
|
-
groupType: "
|
|
626
|
-
status: "active" | "
|
|
625
|
+
groupType: "brand" | "other" | "chain" | "management_company" | "collection" | "portfolio" | "cluster";
|
|
626
|
+
status: "active" | "archived" | "inactive";
|
|
627
627
|
name: string;
|
|
628
628
|
id: string;
|
|
629
629
|
parentGroupId: string | null;
|
|
@@ -642,8 +642,8 @@ export declare function getPropertyGroupsQueryOptions(client: FetchWithValidatio
|
|
|
642
642
|
};
|
|
643
643
|
};
|
|
644
644
|
export declare function getPropertyGroupQueryOptions(client: FetchWithValidationOptions, id: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
645
|
-
groupType: "
|
|
646
|
-
status: "active" | "
|
|
645
|
+
groupType: "brand" | "other" | "chain" | "management_company" | "collection" | "portfolio" | "cluster";
|
|
646
|
+
status: "active" | "archived" | "inactive";
|
|
647
647
|
name: string;
|
|
648
648
|
id: string;
|
|
649
649
|
parentGroupId: string | null;
|
|
@@ -654,8 +654,8 @@ export declare function getPropertyGroupQueryOptions(client: FetchWithValidation
|
|
|
654
654
|
notes: string | null;
|
|
655
655
|
metadata?: Record<string, unknown> | null | undefined;
|
|
656
656
|
}, Error, {
|
|
657
|
-
groupType: "
|
|
658
|
-
status: "active" | "
|
|
657
|
+
groupType: "brand" | "other" | "chain" | "management_company" | "collection" | "portfolio" | "cluster";
|
|
658
|
+
status: "active" | "archived" | "inactive";
|
|
659
659
|
name: string;
|
|
660
660
|
id: string;
|
|
661
661
|
parentGroupId: string | null;
|
|
@@ -667,8 +667,8 @@ export declare function getPropertyGroupQueryOptions(client: FetchWithValidation
|
|
|
667
667
|
metadata?: Record<string, unknown> | null | undefined;
|
|
668
668
|
}, readonly ["facilities", "property-groups", string]>, "queryFn"> & {
|
|
669
669
|
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
670
|
-
groupType: "
|
|
671
|
-
status: "active" | "
|
|
670
|
+
groupType: "brand" | "other" | "chain" | "management_company" | "collection" | "portfolio" | "cluster";
|
|
671
|
+
status: "active" | "archived" | "inactive";
|
|
672
672
|
name: string;
|
|
673
673
|
id: string;
|
|
674
674
|
parentGroupId: string | null;
|
|
@@ -682,8 +682,8 @@ export declare function getPropertyGroupQueryOptions(client: FetchWithValidation
|
|
|
682
682
|
} & {
|
|
683
683
|
queryKey: readonly ["facilities", "property-groups", string] & {
|
|
684
684
|
[dataTagSymbol]: {
|
|
685
|
-
groupType: "
|
|
686
|
-
status: "active" | "
|
|
685
|
+
groupType: "brand" | "other" | "chain" | "management_company" | "collection" | "portfolio" | "cluster";
|
|
686
|
+
status: "active" | "archived" | "inactive";
|
|
687
687
|
name: string;
|
|
688
688
|
id: string;
|
|
689
689
|
parentGroupId: string | null;
|
|
@@ -805,10 +805,4 @@ export declare function getPropertyGroupMemberQueryOptions(client: FetchWithVali
|
|
|
805
805
|
[dataTagErrorSymbol]: Error;
|
|
806
806
|
};
|
|
807
807
|
};
|
|
808
|
-
export declare const getPlacesQueryOptions: typeof getFacilitiesQueryOptions;
|
|
809
|
-
export declare const getPlaceQueryOptions: typeof getFacilityQueryOptions;
|
|
810
|
-
export declare const getPlaceFeaturesQueryOptions: typeof getFacilityFeaturesQueryOptions;
|
|
811
|
-
export declare const getPlaceFeatureQueryOptions: typeof getFacilityFeatureQueryOptions;
|
|
812
|
-
export declare const getPlaceOperationSchedulesQueryOptions: typeof getFacilityOperationSchedulesQueryOptions;
|
|
813
|
-
export declare const getPlaceOperationScheduleQueryOptions: typeof getFacilityOperationScheduleQueryOptions;
|
|
814
808
|
//# sourceMappingURL=query-options.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-options.d.ts","sourceRoot":"","sources":["../../src/places/query-options.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,0BAA0B,EAAuB,MAAM,aAAa,CAAA;AAClF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AACrE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAA;AAClF,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,6CAA6C,CAAA;AACvG,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AACrE,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,uCAAuC,CAAA;AAC3F,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAA;AA2B9E,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,0BAA0B,EAClC,OAAO,GAAE,oBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYnC;AAED,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,0BAA0B,EAAE,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYrF;AAED,wBAAgB,+BAA+B,CAC7C,MAAM,EAAE,0BAA0B,EAClC,OAAO,EAAE,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBpC;AAED,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,0BAA0B,EAAE,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY5F;AAED,wBAAgB,yCAAyC,CACvD,MAAM,EAAE,0BAA0B,EAClC,OAAO,EAAE,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgB9C;AAED,wBAAgB,wCAAwC,CACtD,MAAM,EAAE,0BAA0B,EAClC,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAaX;AAED,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,0BAA0B,EAClC,OAAO,GAAE,oBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYnC;AAED,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,0BAA0B,EAAE,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYrF;AAED,wBAAgB,6BAA6B,CAC3C,MAAM,EAAE,0BAA0B,EAClC,OAAO,GAAE,wBAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYvC;AAED,wBAAgB,4BAA4B,CAAC,MAAM,EAAE,0BAA0B,EAAE,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY1F;AAED,wBAAgB,mCAAmC,CACjD,MAAM,EAAE,0BAA0B,EAClC,OAAO,EAAE,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBxC;AAED,wBAAgB,kCAAkC,CAAC,MAAM,EAAE,0BAA0B,EAAE,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYhG
|
|
1
|
+
{"version":3,"file":"query-options.d.ts","sourceRoot":"","sources":["../../src/places/query-options.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,0BAA0B,EAAuB,MAAM,aAAa,CAAA;AAClF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AACrE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAA;AAClF,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,6CAA6C,CAAA;AACvG,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AACrE,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,uCAAuC,CAAA;AAC3F,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAA;AA2B9E,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,0BAA0B,EAClC,OAAO,GAAE,oBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYnC;AAED,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,0BAA0B,EAAE,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYrF;AAED,wBAAgB,+BAA+B,CAC7C,MAAM,EAAE,0BAA0B,EAClC,OAAO,EAAE,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBpC;AAED,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,0BAA0B,EAAE,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY5F;AAED,wBAAgB,yCAAyC,CACvD,MAAM,EAAE,0BAA0B,EAClC,OAAO,EAAE,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgB9C;AAED,wBAAgB,wCAAwC,CACtD,MAAM,EAAE,0BAA0B,EAClC,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAaX;AAED,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,0BAA0B,EAClC,OAAO,GAAE,oBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYnC;AAED,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,0BAA0B,EAAE,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYrF;AAED,wBAAgB,6BAA6B,CAC3C,MAAM,EAAE,0BAA0B,EAClC,OAAO,GAAE,wBAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYvC;AAED,wBAAgB,4BAA4B,CAAC,MAAM,EAAE,0BAA0B,EAAE,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY1F;AAED,wBAAgB,mCAAmC,CACjD,MAAM,EAAE,0BAA0B,EAClC,OAAO,EAAE,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBxC;AAED,wBAAgB,kCAAkC,CAAC,MAAM,EAAE,0BAA0B,EAAE,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYhG"}
|
|
@@ -17,14 +17,14 @@ export function getFacilitiesQueryOptions(client, options = {}) {
|
|
|
17
17
|
const { enabled: _enabled = true, ...filters } = options;
|
|
18
18
|
return queryOptions({
|
|
19
19
|
queryKey: facilitiesQueryKeys.facilitiesList(filters),
|
|
20
|
-
queryFn: () => fetchWithValidation(`/v1/operations/facilities${toQueryString(filters)}`, facilityListResponse, client),
|
|
20
|
+
queryFn: () => fetchWithValidation(`/v1/admin/operations/facilities${toQueryString(filters)}`, facilityListResponse, client),
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
export function getFacilityQueryOptions(client, id) {
|
|
24
24
|
return queryOptions({
|
|
25
25
|
queryKey: facilitiesQueryKeys.facility(id),
|
|
26
26
|
queryFn: async () => {
|
|
27
|
-
const { data } = await fetchWithValidation(`/v1/operations/facilities/${id}`, facilitySingleResponse, client);
|
|
27
|
+
const { data } = await fetchWithValidation(`/v1/admin/operations/facilities/${id}`, facilitySingleResponse, client);
|
|
28
28
|
return data;
|
|
29
29
|
},
|
|
30
30
|
});
|
|
@@ -37,7 +37,7 @@ export function getFacilityFeaturesQueryOptions(client, options) {
|
|
|
37
37
|
if (!filters.facilityId) {
|
|
38
38
|
throw new Error("getFacilityFeaturesQueryOptions requires a facilityId");
|
|
39
39
|
}
|
|
40
|
-
return fetchWithValidation(`/v1/operations/facility-features${toQueryString(filters)}`, facilityFeatureListResponse, client);
|
|
40
|
+
return fetchWithValidation(`/v1/admin/operations/facility-features${toQueryString(filters)}`, facilityFeatureListResponse, client);
|
|
41
41
|
},
|
|
42
42
|
});
|
|
43
43
|
}
|
|
@@ -45,7 +45,7 @@ export function getFacilityFeatureQueryOptions(client, id) {
|
|
|
45
45
|
return queryOptions({
|
|
46
46
|
queryKey: facilitiesQueryKeys.facilityFeature(id),
|
|
47
47
|
queryFn: async () => {
|
|
48
|
-
const { data } = await fetchWithValidation(`/v1/operations/facility-features/${id}`, facilityFeatureSingleResponse, client);
|
|
48
|
+
const { data } = await fetchWithValidation(`/v1/admin/operations/facility-features/${id}`, facilityFeatureSingleResponse, client);
|
|
49
49
|
return data;
|
|
50
50
|
},
|
|
51
51
|
});
|
|
@@ -58,7 +58,7 @@ export function getFacilityOperationSchedulesQueryOptions(client, options) {
|
|
|
58
58
|
if (!filters.facilityId) {
|
|
59
59
|
throw new Error("getFacilityOperationSchedulesQueryOptions requires a facilityId");
|
|
60
60
|
}
|
|
61
|
-
return fetchWithValidation(`/v1/operations/facility-operation-schedules${toQueryString(filters)}`, facilityOperationScheduleListResponse, client);
|
|
61
|
+
return fetchWithValidation(`/v1/admin/operations/facility-operation-schedules${toQueryString(filters)}`, facilityOperationScheduleListResponse, client);
|
|
62
62
|
},
|
|
63
63
|
});
|
|
64
64
|
}
|
|
@@ -66,7 +66,7 @@ export function getFacilityOperationScheduleQueryOptions(client, id) {
|
|
|
66
66
|
return queryOptions({
|
|
67
67
|
queryKey: facilitiesQueryKeys.facilityOperationSchedule(id),
|
|
68
68
|
queryFn: async () => {
|
|
69
|
-
const { data } = await fetchWithValidation(`/v1/operations/facility-operation-schedules/${id}`, facilityOperationScheduleSingleResponse, client);
|
|
69
|
+
const { data } = await fetchWithValidation(`/v1/admin/operations/facility-operation-schedules/${id}`, facilityOperationScheduleSingleResponse, client);
|
|
70
70
|
return data;
|
|
71
71
|
},
|
|
72
72
|
});
|
|
@@ -75,14 +75,14 @@ export function getPropertiesQueryOptions(client, options = {}) {
|
|
|
75
75
|
const { enabled: _enabled = true, ...filters } = options;
|
|
76
76
|
return queryOptions({
|
|
77
77
|
queryKey: facilitiesQueryKeys.propertiesList(filters),
|
|
78
|
-
queryFn: () => fetchWithValidation(`/v1/operations/properties${toQueryString(filters)}`, propertyListResponse, client),
|
|
78
|
+
queryFn: () => fetchWithValidation(`/v1/admin/operations/properties${toQueryString(filters)}`, propertyListResponse, client),
|
|
79
79
|
});
|
|
80
80
|
}
|
|
81
81
|
export function getPropertyQueryOptions(client, id) {
|
|
82
82
|
return queryOptions({
|
|
83
83
|
queryKey: facilitiesQueryKeys.property(id),
|
|
84
84
|
queryFn: async () => {
|
|
85
|
-
const { data } = await fetchWithValidation(`/v1/operations/properties/${id}`, propertySingleResponse, client);
|
|
85
|
+
const { data } = await fetchWithValidation(`/v1/admin/operations/properties/${id}`, propertySingleResponse, client);
|
|
86
86
|
return data;
|
|
87
87
|
},
|
|
88
88
|
});
|
|
@@ -91,14 +91,14 @@ export function getPropertyGroupsQueryOptions(client, options = {}) {
|
|
|
91
91
|
const { enabled: _enabled = true, ...filters } = options;
|
|
92
92
|
return queryOptions({
|
|
93
93
|
queryKey: facilitiesQueryKeys.propertyGroupsList(filters),
|
|
94
|
-
queryFn: () => fetchWithValidation(`/v1/operations/property-groups${toQueryString(filters)}`, propertyGroupListResponse, client),
|
|
94
|
+
queryFn: () => fetchWithValidation(`/v1/admin/operations/property-groups${toQueryString(filters)}`, propertyGroupListResponse, client),
|
|
95
95
|
});
|
|
96
96
|
}
|
|
97
97
|
export function getPropertyGroupQueryOptions(client, id) {
|
|
98
98
|
return queryOptions({
|
|
99
99
|
queryKey: facilitiesQueryKeys.propertyGroup(id),
|
|
100
100
|
queryFn: async () => {
|
|
101
|
-
const { data } = await fetchWithValidation(`/v1/operations/property-groups/${id}`, propertyGroupSingleResponse, client);
|
|
101
|
+
const { data } = await fetchWithValidation(`/v1/admin/operations/property-groups/${id}`, propertyGroupSingleResponse, client);
|
|
102
102
|
return data;
|
|
103
103
|
},
|
|
104
104
|
});
|
|
@@ -111,7 +111,7 @@ export function getPropertyGroupMembersQueryOptions(client, options) {
|
|
|
111
111
|
if (!filters.groupId) {
|
|
112
112
|
throw new Error("getPropertyGroupMembersQueryOptions requires a groupId");
|
|
113
113
|
}
|
|
114
|
-
return fetchWithValidation(`/v1/operations/property-group-members${toQueryString(filters)}`, propertyGroupMemberListResponse, client);
|
|
114
|
+
return fetchWithValidation(`/v1/admin/operations/property-group-members${toQueryString(filters)}`, propertyGroupMemberListResponse, client);
|
|
115
115
|
},
|
|
116
116
|
});
|
|
117
117
|
}
|
|
@@ -119,14 +119,8 @@ export function getPropertyGroupMemberQueryOptions(client, id) {
|
|
|
119
119
|
return queryOptions({
|
|
120
120
|
queryKey: facilitiesQueryKeys.propertyGroupMember(id),
|
|
121
121
|
queryFn: async () => {
|
|
122
|
-
const { data } = await fetchWithValidation(`/v1/operations/property-group-members/${id}`, propertyGroupMemberSingleResponse, client);
|
|
122
|
+
const { data } = await fetchWithValidation(`/v1/admin/operations/property-group-members/${id}`, propertyGroupMemberSingleResponse, client);
|
|
123
123
|
return data;
|
|
124
124
|
},
|
|
125
125
|
});
|
|
126
126
|
}
|
|
127
|
-
export const getPlacesQueryOptions = getFacilitiesQueryOptions;
|
|
128
|
-
export const getPlaceQueryOptions = getFacilityQueryOptions;
|
|
129
|
-
export const getPlaceFeaturesQueryOptions = getFacilityFeaturesQueryOptions;
|
|
130
|
-
export const getPlaceFeatureQueryOptions = getFacilityFeatureQueryOptions;
|
|
131
|
-
export const getPlaceOperationSchedulesQueryOptions = getFacilityOperationSchedulesQueryOptions;
|
|
132
|
-
export const getPlaceOperationScheduleQueryOptions = getFacilityOperationScheduleQueryOptions;
|
package/dist/places/schemas.d.ts
CHANGED
|
@@ -12,10 +12,9 @@ export declare const facilityRecordSchema: z.ZodObject<{
|
|
|
12
12
|
property: "property";
|
|
13
13
|
other: "other";
|
|
14
14
|
hotel: "hotel";
|
|
15
|
-
restaurant: "restaurant";
|
|
16
|
-
meeting_point: "meeting_point";
|
|
17
15
|
resort: "resort";
|
|
18
16
|
venue: "venue";
|
|
17
|
+
meeting_point: "meeting_point";
|
|
19
18
|
transfer_hub: "transfer_hub";
|
|
20
19
|
airport: "airport";
|
|
21
20
|
station: "station";
|
|
@@ -24,6 +23,7 @@ export declare const facilityRecordSchema: z.ZodObject<{
|
|
|
24
23
|
lodge: "lodge";
|
|
25
24
|
office: "office";
|
|
26
25
|
attraction: "attraction";
|
|
26
|
+
restaurant: "restaurant";
|
|
27
27
|
}>;
|
|
28
28
|
status: z.ZodDefault<z.ZodEnum<{
|
|
29
29
|
active: "active";
|
|
@@ -53,11 +53,11 @@ export type PlaceRecord = FacilityRecord;
|
|
|
53
53
|
export declare const facilityFeatureRecordSchema: z.ZodObject<{
|
|
54
54
|
category: z.ZodDefault<z.ZodEnum<{
|
|
55
55
|
security: "security";
|
|
56
|
-
other: "other";
|
|
57
56
|
service: "service";
|
|
58
|
-
|
|
57
|
+
other: "other";
|
|
59
58
|
amenity: "amenity";
|
|
60
59
|
accessibility: "accessibility";
|
|
60
|
+
policy: "policy";
|
|
61
61
|
}>>;
|
|
62
62
|
name: z.ZodString;
|
|
63
63
|
highlighted: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -112,10 +112,9 @@ export declare const facilityListResponse: z.ZodObject<{
|
|
|
112
112
|
property: "property";
|
|
113
113
|
other: "other";
|
|
114
114
|
hotel: "hotel";
|
|
115
|
-
restaurant: "restaurant";
|
|
116
|
-
meeting_point: "meeting_point";
|
|
117
115
|
resort: "resort";
|
|
118
116
|
venue: "venue";
|
|
117
|
+
meeting_point: "meeting_point";
|
|
119
118
|
transfer_hub: "transfer_hub";
|
|
120
119
|
airport: "airport";
|
|
121
120
|
station: "station";
|
|
@@ -124,6 +123,7 @@ export declare const facilityListResponse: z.ZodObject<{
|
|
|
124
123
|
lodge: "lodge";
|
|
125
124
|
office: "office";
|
|
126
125
|
attraction: "attraction";
|
|
126
|
+
restaurant: "restaurant";
|
|
127
127
|
}>;
|
|
128
128
|
status: z.ZodDefault<z.ZodEnum<{
|
|
129
129
|
active: "active";
|
|
@@ -158,10 +158,9 @@ export declare const facilitySingleResponse: z.ZodObject<{
|
|
|
158
158
|
property: "property";
|
|
159
159
|
other: "other";
|
|
160
160
|
hotel: "hotel";
|
|
161
|
-
restaurant: "restaurant";
|
|
162
|
-
meeting_point: "meeting_point";
|
|
163
161
|
resort: "resort";
|
|
164
162
|
venue: "venue";
|
|
163
|
+
meeting_point: "meeting_point";
|
|
165
164
|
transfer_hub: "transfer_hub";
|
|
166
165
|
airport: "airport";
|
|
167
166
|
station: "station";
|
|
@@ -170,6 +169,7 @@ export declare const facilitySingleResponse: z.ZodObject<{
|
|
|
170
169
|
lodge: "lodge";
|
|
171
170
|
office: "office";
|
|
172
171
|
attraction: "attraction";
|
|
172
|
+
restaurant: "restaurant";
|
|
173
173
|
}>;
|
|
174
174
|
status: z.ZodDefault<z.ZodEnum<{
|
|
175
175
|
active: "active";
|
|
@@ -199,11 +199,11 @@ export declare const facilityFeatureListResponse: z.ZodObject<{
|
|
|
199
199
|
data: z.ZodArray<z.ZodObject<{
|
|
200
200
|
category: z.ZodDefault<z.ZodEnum<{
|
|
201
201
|
security: "security";
|
|
202
|
-
other: "other";
|
|
203
202
|
service: "service";
|
|
204
|
-
|
|
203
|
+
other: "other";
|
|
205
204
|
amenity: "amenity";
|
|
206
205
|
accessibility: "accessibility";
|
|
206
|
+
policy: "policy";
|
|
207
207
|
}>>;
|
|
208
208
|
name: z.ZodString;
|
|
209
209
|
highlighted: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -222,11 +222,11 @@ export declare const facilityFeatureSingleResponse: z.ZodObject<{
|
|
|
222
222
|
data: z.ZodObject<{
|
|
223
223
|
category: z.ZodDefault<z.ZodEnum<{
|
|
224
224
|
security: "security";
|
|
225
|
-
other: "other";
|
|
226
225
|
service: "service";
|
|
227
|
-
|
|
226
|
+
other: "other";
|
|
228
227
|
amenity: "amenity";
|
|
229
228
|
accessibility: "accessibility";
|
|
229
|
+
policy: "policy";
|
|
230
230
|
}>>;
|
|
231
231
|
name: z.ZodString;
|
|
232
232
|
highlighted: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -320,8 +320,8 @@ export declare const propertySingleResponse: z.ZodObject<{
|
|
|
320
320
|
}, z.core.$strip>;
|
|
321
321
|
export declare const propertyGroupRecordSchema: z.ZodObject<{
|
|
322
322
|
groupType: z.ZodDefault<z.ZodEnum<{
|
|
323
|
-
other: "other";
|
|
324
323
|
brand: "brand";
|
|
324
|
+
other: "other";
|
|
325
325
|
chain: "chain";
|
|
326
326
|
management_company: "management_company";
|
|
327
327
|
collection: "collection";
|
|
@@ -364,8 +364,8 @@ export type PropertyGroupMemberRecord = z.infer<typeof propertyGroupMemberRecord
|
|
|
364
364
|
export declare const propertyGroupListResponse: z.ZodObject<{
|
|
365
365
|
data: z.ZodArray<z.ZodObject<{
|
|
366
366
|
groupType: z.ZodDefault<z.ZodEnum<{
|
|
367
|
-
other: "other";
|
|
368
367
|
brand: "brand";
|
|
368
|
+
other: "other";
|
|
369
369
|
chain: "chain";
|
|
370
370
|
management_company: "management_company";
|
|
371
371
|
collection: "collection";
|
|
@@ -394,8 +394,8 @@ export declare const propertyGroupListResponse: z.ZodObject<{
|
|
|
394
394
|
export declare const propertyGroupSingleResponse: z.ZodObject<{
|
|
395
395
|
data: z.ZodObject<{
|
|
396
396
|
groupType: z.ZodDefault<z.ZodEnum<{
|
|
397
|
-
other: "other";
|
|
398
397
|
brand: "brand";
|
|
398
|
+
other: "other";
|
|
399
399
|
chain: "chain";
|
|
400
400
|
management_company: "management_company";
|
|
401
401
|
collection: "collection";
|
|
@@ -14,17 +14,17 @@
|
|
|
14
14
|
export interface ResourceDetailHostProps {
|
|
15
15
|
id: string;
|
|
16
16
|
}
|
|
17
|
-
export declare function ResourceDetailHost({ id }: ResourceDetailHostProps): import("react
|
|
17
|
+
export declare function ResourceDetailHost({ id }: ResourceDetailHostProps): import("react").JSX.Element;
|
|
18
18
|
export interface ResourcePoolDetailHostProps {
|
|
19
19
|
id: string;
|
|
20
20
|
}
|
|
21
|
-
export declare function ResourcePoolDetailHost({ id }: ResourcePoolDetailHostProps): import("react
|
|
21
|
+
export declare function ResourcePoolDetailHost({ id }: ResourcePoolDetailHostProps): import("react").JSX.Element;
|
|
22
22
|
export interface ResourceAssignmentDetailHostProps {
|
|
23
23
|
id: string;
|
|
24
24
|
}
|
|
25
|
-
export declare function ResourceAssignmentDetailHost({ id }: ResourceAssignmentDetailHostProps): import("react
|
|
25
|
+
export declare function ResourceAssignmentDetailHost({ id }: ResourceAssignmentDetailHostProps): import("react").JSX.Element;
|
|
26
26
|
export interface ResourceAllocationDetailHostProps {
|
|
27
27
|
id: string;
|
|
28
28
|
}
|
|
29
|
-
export declare function ResourceAllocationDetailHost({ id }: ResourceAllocationDetailHostProps): import("react
|
|
29
|
+
export declare function ResourceAllocationDetailHost({ id }: ResourceAllocationDetailHostProps): import("react").JSX.Element;
|
|
30
30
|
//# sourceMappingURL=detail-hosts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detail-hosts.d.ts","sourceRoot":"","sources":["../../../src/resources/admin/detail-hosts.tsx"],"names":[],"mappings":"AAWA;;;;;;;;;;;;GAYG;AAEH,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAA;CACX;AAED,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,EAAE,EAAE,uBAAuB
|
|
1
|
+
{"version":3,"file":"detail-hosts.d.ts","sourceRoot":"","sources":["../../../src/resources/admin/detail-hosts.tsx"],"names":[],"mappings":"AAWA;;;;;;;;;;;;GAYG;AAEH,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAA;CACX;AAED,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,EAAE,EAAE,uBAAuB,+BAsBjE;AAED,MAAM,WAAW,2BAA2B;IAC1C,EAAE,EAAE,MAAM,CAAA;CACX;AAED,wBAAgB,sBAAsB,CAAC,EAAE,EAAE,EAAE,EAAE,2BAA2B,+BAoBzE;AAED,MAAM,WAAW,iCAAiC;IAChD,EAAE,EAAE,MAAM,CAAA;CACX;AAED,wBAAgB,4BAA4B,CAAC,EAAE,EAAE,EAAE,EAAE,iCAAiC,+BAsBrF;AAED,MAAM,WAAW,iCAAiC;IAChD,EAAE,EAAE,MAAM,CAAA;CACX;AAED,wBAAgB,4BAA4B,CAAC,EAAE,EAAE,EAAE,EAAE,iCAAiC,+BAsBrF"}
|
|
@@ -13,7 +13,7 @@ export function ResourceDetailHost({ id }) {
|
|
|
13
13
|
const queryClient = useQueryClient();
|
|
14
14
|
const client = useVoyantResourcesContext();
|
|
15
15
|
return (_jsx(ResourceDetailPage, { id: id, onBack: () => navigateTo("resource.list", {}), onOpenSupplier: (supplierId) => navigateTo("supplier.detail", { supplierId }), onOpenAssignment: (assignmentId) => navigateTo("resourceAssignment.detail", { assignmentId }), onDelete: async (resource) => {
|
|
16
|
-
await sendResourcesMutation(client, "DELETE", `/v1/operations/resources/${resource.id}`);
|
|
16
|
+
await sendResourcesMutation(client, "DELETE", `/v1/admin/operations/resources/${resource.id}`);
|
|
17
17
|
await queryClient.invalidateQueries({ queryKey: resourcesQueryKeys.resources() });
|
|
18
18
|
navigateTo("resource.list", {});
|
|
19
19
|
} }));
|
|
@@ -23,7 +23,7 @@ export function ResourcePoolDetailHost({ id }) {
|
|
|
23
23
|
const queryClient = useQueryClient();
|
|
24
24
|
const client = useVoyantResourcesContext();
|
|
25
25
|
return (_jsx(ResourcePoolDetailPage, { id: id, onBack: () => navigateTo("resource.list", {}), onOpenProduct: (productId) => navigateTo("product.detail", { productId }), onOpenResource: (resourceId) => navigateTo("resource.detail", { resourceId }), onOpenAllocation: (allocationId) => navigateTo("resourceAllocation.detail", { allocationId }), onOpenAssignment: (assignmentId) => navigateTo("resourceAssignment.detail", { assignmentId }), onDelete: async (pool) => {
|
|
26
|
-
await sendResourcesMutation(client, "DELETE", `/v1/operations/pools/${pool.id}`);
|
|
26
|
+
await sendResourcesMutation(client, "DELETE", `/v1/admin/operations/pools/${pool.id}`);
|
|
27
27
|
await queryClient.invalidateQueries({ queryKey: resourcesQueryKeys.pools() });
|
|
28
28
|
navigateTo("resource.list", {});
|
|
29
29
|
} }));
|
|
@@ -33,7 +33,7 @@ export function ResourceAssignmentDetailHost({ id }) {
|
|
|
33
33
|
const queryClient = useQueryClient();
|
|
34
34
|
const client = useVoyantResourcesContext();
|
|
35
35
|
return (_jsx(ResourceAssignmentDetailPage, { id: id, onBack: () => navigateTo("resource.list", {}), onOpenSlot: (slotId) => navigateTo("availabilitySlot.detail", { slotId }), onOpenResource: (resourceId) => navigateTo("resource.detail", { resourceId }), onDelete: async (assignment) => {
|
|
36
|
-
await sendResourcesMutation(client, "DELETE", `/v1/operations/slot-assignments/${assignment.id}`);
|
|
36
|
+
await sendResourcesMutation(client, "DELETE", `/v1/admin/operations/slot-assignments/${assignment.id}`);
|
|
37
37
|
await queryClient.invalidateQueries({ queryKey: resourcesQueryKeys.assignments() });
|
|
38
38
|
navigateTo("resource.list", {});
|
|
39
39
|
} }));
|
|
@@ -43,7 +43,7 @@ export function ResourceAllocationDetailHost({ id }) {
|
|
|
43
43
|
const queryClient = useQueryClient();
|
|
44
44
|
const client = useVoyantResourcesContext();
|
|
45
45
|
return (_jsx(ResourceAllocationDetailPage, { id: id, onBack: () => navigateTo("resource.list", {}), onOpenPool: (poolId) => navigateTo("resourcePool.detail", { poolId }), onOpenProduct: (productId) => navigateTo("product.detail", { productId }), onDelete: async (allocation) => {
|
|
46
|
-
await sendResourcesMutation(client, "DELETE", `/v1/operations/allocations/${allocation.id}`);
|
|
46
|
+
await sendResourcesMutation(client, "DELETE", `/v1/admin/operations/allocations/${allocation.id}`);
|
|
47
47
|
await queryClient.invalidateQueries({ queryKey: resourcesQueryKeys.allocations() });
|
|
48
48
|
navigateTo("resource.list", {});
|
|
49
49
|
} }));
|
|
@@ -5,5 +5,5 @@ import type { AdminRoutePageProps } from "@voyant-travel/admin";
|
|
|
5
5
|
* the packaged host. Resolved lazily through the contribution's `page`
|
|
6
6
|
* loader so the detail page lands in its own chunk.
|
|
7
7
|
*/
|
|
8
|
-
export default function ResourceAllocationDetailRoutePage({ params }: AdminRoutePageProps): import("react
|
|
8
|
+
export default function ResourceAllocationDetailRoutePage({ params }: AdminRoutePageProps): import("react").JSX.Element;
|
|
9
9
|
//# sourceMappingURL=resource-allocation-detail-page.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource-allocation-detail-page.d.ts","sourceRoot":"","sources":["../../../../src/resources/admin/pages/resource-allocation-detail-page.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAI/D;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"resource-allocation-detail-page.d.ts","sourceRoot":"","sources":["../../../../src/resources/admin/pages/resource-allocation-detail-page.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAI/D;;;;;GAKG;AAEH,MAAM,CAAC,OAAO,UAAU,iCAAiC,CAAC,EAAE,MAAM,EAAE,EAAE,mBAAmB,+BAExF"}
|