@actschurch/ccms-sdk 0.0.18 → 0.0.20
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/core/HttpClient.js +2 -2
- package/dist/core/HttpClient.js.map +1 -1
- package/dist/models/bookings/BookableResource.d.ts +61 -0
- package/dist/models/bookings/BookableResource.d.ts.map +1 -0
- package/dist/models/bookings/BookableResource.js +2 -0
- package/dist/models/bookings/BookableResource.js.map +1 -0
- package/dist/models/bookings/BookableResourceBlockout.d.ts +29 -0
- package/dist/models/bookings/BookableResourceBlockout.d.ts.map +1 -0
- package/dist/models/bookings/BookableResourceBlockout.js +2 -0
- package/dist/models/bookings/BookableResourceBlockout.js.map +1 -0
- package/dist/models/bookings/BookableResourceBlockoutType.d.ts +25 -0
- package/dist/models/bookings/BookableResourceBlockoutType.d.ts.map +1 -0
- package/dist/models/bookings/BookableResourceBlockoutType.js +2 -0
- package/dist/models/bookings/BookableResourceBlockoutType.js.map +1 -0
- package/dist/models/bookings/BookableResourceImage.d.ts +25 -0
- package/dist/models/bookings/BookableResourceImage.d.ts.map +1 -0
- package/dist/models/bookings/BookableResourceImage.js +2 -0
- package/dist/models/bookings/BookableResourceImage.js.map +1 -0
- package/dist/models/bookings/BookableResourceStatus.d.ts +25 -0
- package/dist/models/bookings/BookableResourceStatus.d.ts.map +1 -0
- package/dist/models/bookings/BookableResourceStatus.js +2 -0
- package/dist/models/bookings/BookableResourceStatus.js.map +1 -0
- package/dist/models/bookings/BookableResourceType.d.ts +25 -0
- package/dist/models/bookings/BookableResourceType.d.ts.map +1 -0
- package/dist/models/bookings/BookableResourceType.js +2 -0
- package/dist/models/bookings/BookableResourceType.js.map +1 -0
- package/dist/models/bookings/Booking.d.ts +69 -0
- package/dist/models/bookings/Booking.d.ts.map +1 -0
- package/dist/models/bookings/Booking.js +2 -0
- package/dist/models/bookings/Booking.js.map +1 -0
- package/dist/models/bookings/BookingAccessory.d.ts +23 -0
- package/dist/models/bookings/BookingAccessory.d.ts.map +1 -0
- package/dist/models/bookings/BookingAccessory.js +2 -0
- package/dist/models/bookings/BookingAccessory.js.map +1 -0
- package/dist/models/bookings/BookingLog.d.ts +49 -0
- package/dist/models/bookings/BookingLog.d.ts.map +1 -0
- package/dist/models/bookings/BookingLog.js +2 -0
- package/dist/models/bookings/BookingLog.js.map +1 -0
- package/dist/models/bookings/BookingLogMedia.d.ts +27 -0
- package/dist/models/bookings/BookingLogMedia.d.ts.map +1 -0
- package/dist/models/bookings/BookingLogMedia.js +2 -0
- package/dist/models/bookings/BookingLogMedia.js.map +1 -0
- package/dist/models/bookings/BookingNotificationQueue.d.ts +31 -0
- package/dist/models/bookings/BookingNotificationQueue.d.ts.map +1 -0
- package/dist/models/bookings/BookingNotificationQueue.js +2 -0
- package/dist/models/bookings/BookingNotificationQueue.js.map +1 -0
- package/dist/models/bookings/BookingSetting.d.ts +45 -0
- package/dist/models/bookings/BookingSetting.d.ts.map +1 -0
- package/dist/models/bookings/BookingSetting.js +2 -0
- package/dist/models/bookings/BookingSetting.js.map +1 -0
- package/dist/models/bookings/BookingStatus.d.ts +27 -0
- package/dist/models/bookings/BookingStatus.d.ts.map +1 -0
- package/dist/models/bookings/BookingStatus.js +2 -0
- package/dist/models/bookings/BookingStatus.js.map +1 -0
- package/dist/models/bookings/BookingStatusHistory.d.ts +29 -0
- package/dist/models/bookings/BookingStatusHistory.d.ts.map +1 -0
- package/dist/models/bookings/BookingStatusHistory.js +2 -0
- package/dist/models/bookings/BookingStatusHistory.js.map +1 -0
- package/dist/models/bookings/CacheKeys/BookableResourceBlockoutCacheKeys.d.ts +18 -0
- package/dist/models/bookings/CacheKeys/BookableResourceBlockoutCacheKeys.d.ts.map +1 -0
- package/dist/models/bookings/CacheKeys/BookableResourceBlockoutCacheKeys.js +18 -0
- package/dist/models/bookings/CacheKeys/BookableResourceBlockoutCacheKeys.js.map +1 -0
- package/dist/models/bookings/CacheKeys/BookableResourceCacheKeys.d.ts +20 -0
- package/dist/models/bookings/CacheKeys/BookableResourceCacheKeys.d.ts.map +1 -0
- package/dist/models/bookings/CacheKeys/BookableResourceCacheKeys.js +20 -0
- package/dist/models/bookings/CacheKeys/BookableResourceCacheKeys.js.map +1 -0
- package/dist/models/bookings/CacheKeys/BookingCacheKeys.d.ts +24 -0
- package/dist/models/bookings/CacheKeys/BookingCacheKeys.d.ts.map +1 -0
- package/dist/models/bookings/CacheKeys/BookingCacheKeys.js +24 -0
- package/dist/models/bookings/CacheKeys/BookingCacheKeys.js.map +1 -0
- package/dist/models/bookings/CacheKeys/BookingLogCacheKeys.d.ts +18 -0
- package/dist/models/bookings/CacheKeys/BookingLogCacheKeys.d.ts.map +1 -0
- package/dist/models/bookings/CacheKeys/BookingLogCacheKeys.js +18 -0
- package/dist/models/bookings/CacheKeys/BookingLogCacheKeys.js.map +1 -0
- package/dist/models/bookings/CacheKeys/BookingSettingCacheKeys.d.ts +18 -0
- package/dist/models/bookings/CacheKeys/BookingSettingCacheKeys.d.ts.map +1 -0
- package/dist/models/bookings/CacheKeys/BookingSettingCacheKeys.js +18 -0
- package/dist/models/bookings/CacheKeys/BookingSettingCacheKeys.js.map +1 -0
- package/dist/models/bookings/CacheKeys/index.d.ts +9 -0
- package/dist/models/bookings/CacheKeys/index.d.ts.map +1 -0
- package/dist/models/bookings/CacheKeys/index.js +9 -0
- package/dist/models/bookings/CacheKeys/index.js.map +1 -0
- package/dist/models/bookings/ModelView/BookableResourceBlockoutModelView.d.ts +48 -0
- package/dist/models/bookings/ModelView/BookableResourceBlockoutModelView.d.ts.map +1 -0
- package/dist/models/bookings/ModelView/BookableResourceBlockoutModelView.js +2 -0
- package/dist/models/bookings/ModelView/BookableResourceBlockoutModelView.js.map +1 -0
- package/dist/models/bookings/ModelView/BookableResourceModelView.d.ts +80 -0
- package/dist/models/bookings/ModelView/BookableResourceModelView.d.ts.map +1 -0
- package/dist/models/bookings/ModelView/BookableResourceModelView.js +2 -0
- package/dist/models/bookings/ModelView/BookableResourceModelView.js.map +1 -0
- package/dist/models/bookings/ModelView/BookingApprovalRequest.d.ts +14 -0
- package/dist/models/bookings/ModelView/BookingApprovalRequest.d.ts.map +1 -0
- package/dist/models/bookings/ModelView/BookingApprovalRequest.js +2 -0
- package/dist/models/bookings/ModelView/BookingApprovalRequest.js.map +1 -0
- package/dist/models/bookings/ModelView/BookingCalendarEvent.d.ts +36 -0
- package/dist/models/bookings/ModelView/BookingCalendarEvent.d.ts.map +1 -0
- package/dist/models/bookings/ModelView/BookingCalendarEvent.js +2 -0
- package/dist/models/bookings/ModelView/BookingCalendarEvent.js.map +1 -0
- package/dist/models/bookings/ModelView/BookingDashboardStats.d.ts +43 -0
- package/dist/models/bookings/ModelView/BookingDashboardStats.d.ts.map +1 -0
- package/dist/models/bookings/ModelView/BookingDashboardStats.js +2 -0
- package/dist/models/bookings/ModelView/BookingDashboardStats.js.map +1 -0
- package/dist/models/bookings/ModelView/BookingDetailModelView.d.ts +146 -0
- package/dist/models/bookings/ModelView/BookingDetailModelView.d.ts.map +1 -0
- package/dist/models/bookings/ModelView/BookingDetailModelView.js +2 -0
- package/dist/models/bookings/ModelView/BookingDetailModelView.js.map +1 -0
- package/dist/models/bookings/ModelView/BookingFilterModel.d.ts +36 -0
- package/dist/models/bookings/ModelView/BookingFilterModel.d.ts.map +1 -0
- package/dist/models/bookings/ModelView/BookingFilterModel.js +2 -0
- package/dist/models/bookings/ModelView/BookingFilterModel.js.map +1 -0
- package/dist/models/bookings/ModelView/BookingLogModelView.d.ts +76 -0
- package/dist/models/bookings/ModelView/BookingLogModelView.d.ts.map +1 -0
- package/dist/models/bookings/ModelView/BookingLogModelView.js +2 -0
- package/dist/models/bookings/ModelView/BookingLogModelView.js.map +1 -0
- package/dist/models/bookings/ModelView/BookingModelView.d.ts +107 -0
- package/dist/models/bookings/ModelView/BookingModelView.d.ts.map +1 -0
- package/dist/models/bookings/ModelView/BookingModelView.js +2 -0
- package/dist/models/bookings/ModelView/BookingModelView.js.map +1 -0
- package/dist/models/bookings/ModelView/CreateBookingLogRequest.d.ts +38 -0
- package/dist/models/bookings/ModelView/CreateBookingLogRequest.d.ts.map +1 -0
- package/dist/models/bookings/ModelView/CreateBookingLogRequest.js +2 -0
- package/dist/models/bookings/ModelView/CreateBookingLogRequest.js.map +1 -0
- package/dist/models/bookings/ModelView/CreateBookingRequest.d.ts +38 -0
- package/dist/models/bookings/ModelView/CreateBookingRequest.d.ts.map +1 -0
- package/dist/models/bookings/ModelView/CreateBookingRequest.js +2 -0
- package/dist/models/bookings/ModelView/CreateBookingRequest.js.map +1 -0
- package/dist/models/bookings/ModelView/ResourceAvailabilityResult.d.ts +52 -0
- package/dist/models/bookings/ModelView/ResourceAvailabilityResult.d.ts.map +1 -0
- package/dist/models/bookings/ModelView/ResourceAvailabilityResult.js +2 -0
- package/dist/models/bookings/ModelView/ResourceAvailabilityResult.js.map +1 -0
- package/dist/models/bookings/ModelView/index.d.ts +16 -0
- package/dist/models/bookings/ModelView/index.d.ts.map +1 -0
- package/dist/models/bookings/ModelView/index.js +16 -0
- package/dist/models/bookings/ModelView/index.js.map +1 -0
- package/dist/models/bookings/index.d.ts +20 -0
- package/dist/models/bookings/index.d.ts.map +1 -0
- package/dist/models/bookings/index.js +23 -0
- package/dist/models/bookings/index.js.map +1 -0
- package/dist/models/identity/ModelView/AccountViewModels.d.ts +3 -0
- package/dist/models/identity/ModelView/AccountViewModels.d.ts.map +1 -1
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +2 -2
- package/dist/models/index.js.map +1 -1
- package/dist/models/orders/ModelView/OrderModelView.d.ts +5 -0
- package/dist/models/orders/ModelView/OrderModelView.d.ts.map +1 -1
- package/dist/models/procurement/ModelView/RequestCommentModelView.d.ts +18 -0
- package/dist/models/procurement/ModelView/RequestCommentModelView.d.ts.map +1 -0
- package/dist/models/procurement/ModelView/RequestCommentModelView.js +2 -0
- package/dist/models/procurement/ModelView/RequestCommentModelView.js.map +1 -0
- package/dist/models/procurement/ModelView/index.d.ts +1 -0
- package/dist/models/procurement/ModelView/index.d.ts.map +1 -1
- package/dist/models/procurement/ModelView/index.js +1 -0
- package/dist/models/procurement/ModelView/index.js.map +1 -1
- package/dist/models/procurements/CacheKeys/ItemCategoryCacheKeys.d.ts +11 -0
- package/dist/models/procurements/CacheKeys/ItemCategoryCacheKeys.d.ts.map +1 -0
- package/dist/models/procurements/CacheKeys/ItemCategoryCacheKeys.js +10 -0
- package/dist/models/procurements/CacheKeys/ItemCategoryCacheKeys.js.map +1 -0
- package/dist/models/procurements/CacheKeys/ProcurementItemCacheKeys.d.ts +12 -0
- package/dist/models/procurements/CacheKeys/ProcurementItemCacheKeys.d.ts.map +1 -0
- package/dist/models/procurements/CacheKeys/ProcurementItemCacheKeys.js +11 -0
- package/dist/models/procurements/CacheKeys/ProcurementItemCacheKeys.js.map +1 -0
- package/dist/models/procurements/CacheKeys/index.d.ts +2 -2
- package/dist/models/procurements/CacheKeys/index.d.ts.map +1 -1
- package/dist/models/procurements/CacheKeys/index.js +2 -2
- package/dist/models/procurements/CacheKeys/index.js.map +1 -1
- package/dist/models/procurements/ItemCategory.d.ts +30 -0
- package/dist/models/procurements/ItemCategory.d.ts.map +1 -0
- package/dist/models/procurements/ItemCategory.js +2 -0
- package/dist/models/procurements/ItemCategory.js.map +1 -0
- package/dist/models/procurements/ProcurementItem.d.ts +54 -0
- package/dist/models/procurements/ProcurementItem.d.ts.map +1 -0
- package/dist/models/procurements/ProcurementItem.js +2 -0
- package/dist/models/procurements/ProcurementItem.js.map +1 -0
- package/dist/models/procurements/RequestPurchaseOrder.d.ts +1 -1
- package/dist/models/procurements/index.d.ts +2 -0
- package/dist/models/procurements/index.d.ts.map +1 -1
- package/dist/models/procurements/index.js +2 -0
- package/dist/models/procurements/index.js.map +1 -1
- package/dist/models/suppliers/Supplier.d.ts +1 -0
- package/dist/models/suppliers/Supplier.d.ts.map +1 -1
- package/dist/models/suppliers/SupplierNote.d.ts +13 -0
- package/dist/models/suppliers/SupplierNote.d.ts.map +1 -0
- package/dist/models/suppliers/SupplierNote.js +2 -0
- package/dist/models/suppliers/SupplierNote.js.map +1 -0
- package/dist/models/suppliers/index.d.ts +1 -1
- package/dist/models/suppliers/index.d.ts.map +1 -1
- package/dist/models/suppliers/index.js +1 -1
- package/dist/models/suppliers/index.js.map +1 -1
- package/dist/models/vendorcatalog/ModelView/ProductStockStatusModelView.d.ts +8 -0
- package/dist/models/vendorcatalog/ModelView/ProductStockStatusModelView.d.ts.map +1 -1
- package/dist/models/vendorcatalog/ModelView/ShopEventCatalogModelView.d.ts +4 -0
- package/dist/models/vendorcatalog/ModelView/ShopEventCatalogModelView.d.ts.map +1 -1
- package/dist/models/vendorcatalog/ModelView/ShopEventProductModelView.d.ts +6 -0
- package/dist/models/vendorcatalog/ModelView/ShopEventProductModelView.d.ts.map +1 -1
- package/dist/models/vendorcatalog/ModelView/VendorProductAddOnModelView.d.ts +8 -0
- package/dist/models/vendorcatalog/ModelView/VendorProductAddOnModelView.d.ts.map +1 -1
- package/dist/models/vendorcatalog/ModelView/VendorProductDetailModelView.d.ts +8 -0
- package/dist/models/vendorcatalog/ModelView/VendorProductDetailModelView.d.ts.map +1 -1
- package/dist/models/vendorcatalog/ModelView/VendorProductVariantModelView.d.ts +10 -0
- package/dist/models/vendorcatalog/ModelView/VendorProductVariantModelView.d.ts.map +1 -1
- package/dist/models/vendors/ModelView/ShopVendorModelView.d.ts +2 -0
- package/dist/models/vendors/ModelView/ShopVendorModelView.d.ts.map +1 -1
- package/dist/models/vendors/ModelView/VendorLedgerModelView.d.ts +89 -0
- package/dist/models/vendors/ModelView/VendorLedgerModelView.d.ts.map +1 -0
- package/dist/models/vendors/ModelView/VendorLedgerModelView.js +8 -0
- package/dist/models/vendors/ModelView/VendorLedgerModelView.js.map +1 -0
- package/dist/models/vendors/ModelView/VendorPayoutModelView.d.ts +67 -0
- package/dist/models/vendors/ModelView/VendorPayoutModelView.d.ts.map +1 -0
- package/dist/models/vendors/ModelView/VendorPayoutModelView.js +8 -0
- package/dist/models/vendors/ModelView/VendorPayoutModelView.js.map +1 -0
- package/dist/models/vendors/ModelView/VendorStatementModelView.d.ts +55 -0
- package/dist/models/vendors/ModelView/VendorStatementModelView.d.ts.map +1 -0
- package/dist/models/vendors/ModelView/VendorStatementModelView.js +9 -0
- package/dist/models/vendors/ModelView/VendorStatementModelView.js.map +1 -0
- package/dist/models/vendors/ModelView/index.d.ts +3 -0
- package/dist/models/vendors/ModelView/index.d.ts.map +1 -1
- package/dist/models/vendors/ModelView/index.js +4 -0
- package/dist/models/vendors/ModelView/index.js.map +1 -1
- package/dist/react/CCMSProvider.d.ts.map +1 -1
- package/dist/react/CCMSProvider.js +5 -0
- package/dist/react/CCMSProvider.js.map +1 -1
- package/dist/react/hooks/services/index.d.ts +1 -0
- package/dist/react/hooks/services/index.d.ts.map +1 -1
- package/dist/react/hooks/services/index.js +2 -0
- package/dist/react/hooks/services/index.js.map +1 -1
- package/dist/react/hooks/services/useBookingsServices.d.ts +55 -0
- package/dist/react/hooks/services/useBookingsServices.d.ts.map +1 -0
- package/dist/react/hooks/services/useBookingsServices.js +83 -0
- package/dist/react/hooks/services/useBookingsServices.js.map +1 -0
- package/dist/react/hooks/services/useProcurementsServices.d.ts +9 -13
- package/dist/react/hooks/services/useProcurementsServices.d.ts.map +1 -1
- package/dist/react/hooks/services/useProcurementsServices.js +12 -18
- package/dist/react/hooks/services/useProcurementsServices.js.map +1 -1
- package/dist/react/hooks/services/useSupplierServices.d.ts +19 -7
- package/dist/react/hooks/services/useSupplierServices.d.ts.map +1 -1
- package/dist/react/hooks/services/useSupplierServices.js +26 -8
- package/dist/react/hooks/services/useSupplierServices.js.map +1 -1
- package/dist/react/hooks/useCCMS.d.ts +2 -0
- package/dist/react/hooks/useCCMS.d.ts.map +1 -1
- package/dist/react/hooks/useCCMS.js.map +1 -1
- package/dist/services/bookings/BookableResourceBlockoutService.d.ts +40 -0
- package/dist/services/bookings/BookableResourceBlockoutService.d.ts.map +1 -0
- package/dist/services/bookings/BookableResourceBlockoutService.js +56 -0
- package/dist/services/bookings/BookableResourceBlockoutService.js.map +1 -0
- package/dist/services/bookings/BookableResourceBlockoutTypeService.d.ts +17 -0
- package/dist/services/bookings/BookableResourceBlockoutTypeService.d.ts.map +1 -0
- package/dist/services/bookings/BookableResourceBlockoutTypeService.js +20 -0
- package/dist/services/bookings/BookableResourceBlockoutTypeService.js.map +1 -0
- package/dist/services/bookings/BookableResourceImageService.d.ts +30 -0
- package/dist/services/bookings/BookableResourceImageService.d.ts.map +1 -0
- package/dist/services/bookings/BookableResourceImageService.js +39 -0
- package/dist/services/bookings/BookableResourceImageService.js.map +1 -0
- package/dist/services/bookings/BookableResourceService.d.ts +104 -0
- package/dist/services/bookings/BookableResourceService.d.ts.map +1 -0
- package/dist/services/bookings/BookableResourceService.js +166 -0
- package/dist/services/bookings/BookableResourceService.js.map +1 -0
- package/dist/services/bookings/BookableResourceStatusService.d.ts +17 -0
- package/dist/services/bookings/BookableResourceStatusService.d.ts.map +1 -0
- package/dist/services/bookings/BookableResourceStatusService.js +20 -0
- package/dist/services/bookings/BookableResourceStatusService.js.map +1 -0
- package/dist/services/bookings/BookableResourceTypeService.d.ts +17 -0
- package/dist/services/bookings/BookableResourceTypeService.d.ts.map +1 -0
- package/dist/services/bookings/BookableResourceTypeService.js +20 -0
- package/dist/services/bookings/BookableResourceTypeService.js.map +1 -0
- package/dist/services/bookings/BookingAccessoryService.d.ts +30 -0
- package/dist/services/bookings/BookingAccessoryService.d.ts.map +1 -0
- package/dist/services/bookings/BookingAccessoryService.js +39 -0
- package/dist/services/bookings/BookingAccessoryService.js.map +1 -0
- package/dist/services/bookings/BookingLogService.d.ts +56 -0
- package/dist/services/bookings/BookingLogService.d.ts.map +1 -0
- package/dist/services/bookings/BookingLogService.js +85 -0
- package/dist/services/bookings/BookingLogService.js.map +1 -0
- package/dist/services/bookings/BookingService.d.ts +214 -0
- package/dist/services/bookings/BookingService.d.ts.map +1 -0
- package/dist/services/bookings/BookingService.js +351 -0
- package/dist/services/bookings/BookingService.js.map +1 -0
- package/dist/services/bookings/BookingSettingService.d.ts +30 -0
- package/dist/services/bookings/BookingSettingService.d.ts.map +1 -0
- package/dist/services/bookings/BookingSettingService.js +42 -0
- package/dist/services/bookings/BookingSettingService.js.map +1 -0
- package/dist/services/bookings/BookingStatusService.d.ts +17 -0
- package/dist/services/bookings/BookingStatusService.d.ts.map +1 -0
- package/dist/services/bookings/BookingStatusService.js +20 -0
- package/dist/services/bookings/BookingStatusService.js.map +1 -0
- package/dist/services/bookings/index.d.ts +63 -0
- package/dist/services/bookings/index.d.ts.map +1 -0
- package/dist/services/bookings/index.js +50 -0
- package/dist/services/bookings/index.js.map +1 -0
- package/dist/services/departments/DepartmentService.d.ts.map +1 -1
- package/dist/services/departments/DepartmentService.js +1 -1
- package/dist/services/departments/DepartmentService.js.map +1 -1
- package/dist/services/index.d.ts +1 -0
- package/dist/services/index.d.ts.map +1 -1
- package/dist/services/index.js +2 -0
- package/dist/services/index.js.map +1 -1
- package/dist/services/procurements/AuditLogService.d.ts +2 -0
- package/dist/services/procurements/AuditLogService.d.ts.map +1 -1
- package/dist/services/procurements/AuditLogService.js +4 -0
- package/dist/services/procurements/AuditLogService.js.map +1 -1
- package/dist/services/procurements/ItemCategoryService.d.ts +21 -0
- package/dist/services/procurements/ItemCategoryService.d.ts.map +1 -0
- package/dist/services/procurements/ItemCategoryService.js +24 -0
- package/dist/services/procurements/ItemCategoryService.js.map +1 -0
- package/dist/services/procurements/ProcurementItemService.d.ts +33 -0
- package/dist/services/procurements/ProcurementItemService.d.ts.map +1 -0
- package/dist/services/procurements/ProcurementItemService.js +46 -0
- package/dist/services/procurements/ProcurementItemService.js.map +1 -0
- package/dist/services/procurements/ProcurementRoleAssignmentService.d.ts +3 -0
- package/dist/services/procurements/ProcurementRoleAssignmentService.d.ts.map +1 -1
- package/dist/services/procurements/ProcurementRoleAssignmentService.js +8 -0
- package/dist/services/procurements/ProcurementRoleAssignmentService.js.map +1 -1
- package/dist/services/procurements/RequestAttachmentService.d.ts +2 -0
- package/dist/services/procurements/RequestAttachmentService.d.ts.map +1 -1
- package/dist/services/procurements/RequestAttachmentService.js +4 -0
- package/dist/services/procurements/RequestAttachmentService.js.map +1 -1
- package/dist/services/procurements/RequestCommentService.d.ts +2 -0
- package/dist/services/procurements/RequestCommentService.d.ts.map +1 -1
- package/dist/services/procurements/RequestCommentService.js +4 -0
- package/dist/services/procurements/RequestCommentService.js.map +1 -1
- package/dist/services/procurements/index.d.ts +6 -9
- package/dist/services/procurements/index.d.ts.map +1 -1
- package/dist/services/procurements/index.js +6 -9
- package/dist/services/procurements/index.js.map +1 -1
- package/dist/services/suppliers/IndustryService.d.ts +19 -0
- package/dist/services/suppliers/IndustryService.d.ts.map +1 -0
- package/dist/services/suppliers/IndustryService.js +22 -0
- package/dist/services/suppliers/IndustryService.js.map +1 -0
- package/dist/services/suppliers/SubscriptionStatusService.d.ts +16 -0
- package/dist/services/suppliers/SubscriptionStatusService.d.ts.map +1 -0
- package/dist/services/suppliers/SubscriptionStatusService.js +19 -0
- package/dist/services/suppliers/SubscriptionStatusService.js.map +1 -0
- package/dist/services/suppliers/SubscriptionTypeService.d.ts +16 -0
- package/dist/services/suppliers/SubscriptionTypeService.d.ts.map +1 -0
- package/dist/services/suppliers/SubscriptionTypeService.js +19 -0
- package/dist/services/suppliers/SubscriptionTypeService.js.map +1 -0
- package/dist/services/suppliers/SupplierAccountService.d.ts +32 -0
- package/dist/services/suppliers/SupplierAccountService.d.ts.map +1 -0
- package/dist/services/suppliers/SupplierAccountService.js +42 -0
- package/dist/services/suppliers/SupplierAccountService.js.map +1 -0
- package/dist/services/suppliers/SupplierContactService.d.ts +5 -5
- package/dist/services/suppliers/SupplierContactService.d.ts.map +1 -1
- package/dist/services/suppliers/SupplierContactService.js +1 -1
- package/dist/services/suppliers/SupplierContactService.js.map +1 -1
- package/dist/services/suppliers/SupplierNoteService.d.ts +5 -5
- package/dist/services/suppliers/SupplierNoteService.d.ts.map +1 -1
- package/dist/services/suppliers/SupplierNoteService.js +1 -1
- package/dist/services/suppliers/SupplierNoteService.js.map +1 -1
- package/dist/services/suppliers/SupplierService.d.ts +13 -13
- package/dist/services/suppliers/SupplierService.d.ts.map +1 -1
- package/dist/services/suppliers/SupplierService.js +10 -10
- package/dist/services/suppliers/SupplierService.js.map +1 -1
- package/dist/services/suppliers/SupplierSubscriptionService.d.ts +24 -0
- package/dist/services/suppliers/SupplierSubscriptionService.d.ts.map +1 -0
- package/dist/services/suppliers/SupplierSubscriptionService.js +34 -0
- package/dist/services/suppliers/SupplierSubscriptionService.js.map +1 -0
- package/dist/services/suppliers/index.d.ts +15 -6
- package/dist/services/suppliers/index.d.ts.map +1 -1
- package/dist/services/suppliers/index.js +15 -6
- package/dist/services/suppliers/index.js.map +1 -1
- package/dist/services/types.d.ts +2 -0
- package/dist/services/types.d.ts.map +1 -1
- package/dist/services/vendor-portal/VendorPortalProfileService.d.ts +16 -0
- package/dist/services/vendor-portal/VendorPortalProfileService.d.ts.map +1 -1
- package/dist/services/vendor-portal/VendorPortalProfileService.js +19 -0
- package/dist/services/vendor-portal/VendorPortalProfileService.js.map +1 -1
- package/dist/services/vendor-portal/index.d.ts +1 -1
- package/dist/services/vendor-portal/index.d.ts.map +1 -1
- package/dist/services/vendors/VendorLedgerService.d.ts +5 -4
- package/dist/services/vendors/VendorLedgerService.d.ts.map +1 -1
- package/dist/services/vendors/VendorLedgerService.js +6 -3
- package/dist/services/vendors/VendorLedgerService.js.map +1 -1
- package/package.json +1 -1
- package/dist/models/integrations/sageone/Companies/Company.d.ts +0 -12
- package/dist/models/integrations/sageone/Companies/Company.d.ts.map +0 -1
- package/dist/models/integrations/sageone/Companies/Company.js +0 -6
- package/dist/models/integrations/sageone/Companies/Company.js.map +0 -1
- package/dist/models/integrations/sageone/Companies/CompanyEntityType.d.ts +0 -9
- package/dist/models/integrations/sageone/Companies/CompanyEntityType.d.ts.map +0 -1
- package/dist/models/integrations/sageone/Companies/CompanyEntityType.js +0 -6
- package/dist/models/integrations/sageone/Companies/CompanyEntityType.js.map +0 -1
- package/dist/models/integrations/sageone/Companies/CompanyNote.d.ts +0 -12
- package/dist/models/integrations/sageone/Companies/CompanyNote.d.ts.map +0 -1
- package/dist/models/integrations/sageone/Companies/CompanyNote.js +0 -6
- package/dist/models/integrations/sageone/Companies/CompanyNote.js.map +0 -1
- package/dist/models/integrations/sageone/Companies/index.d.ts +0 -8
- package/dist/models/integrations/sageone/Companies/index.d.ts.map +0 -1
- package/dist/models/integrations/sageone/Companies/index.js +0 -8
- package/dist/models/integrations/sageone/Companies/index.js.map +0 -1
- package/dist/models/integrations/sageone/Items/Account.d.ts +0 -24
- package/dist/models/integrations/sageone/Items/Account.d.ts.map +0 -1
- package/dist/models/integrations/sageone/Items/Account.js +0 -6
- package/dist/models/integrations/sageone/Items/Account.js.map +0 -1
- package/dist/models/integrations/sageone/Items/AccountCategory.d.ts +0 -13
- package/dist/models/integrations/sageone/Items/AccountCategory.d.ts.map +0 -1
- package/dist/models/integrations/sageone/Items/AccountCategory.js +0 -6
- package/dist/models/integrations/sageone/Items/AccountCategory.js.map +0 -1
- package/dist/models/integrations/sageone/Items/AdditionalItemPrice.d.ts +0 -12
- package/dist/models/integrations/sageone/Items/AdditionalItemPrice.d.ts.map +0 -1
- package/dist/models/integrations/sageone/Items/AdditionalItemPrice.js +0 -6
- package/dist/models/integrations/sageone/Items/AdditionalItemPrice.js.map +0 -1
- package/dist/models/integrations/sageone/Items/Item.d.ts +0 -69
- package/dist/models/integrations/sageone/Items/Item.d.ts.map +0 -1
- package/dist/models/integrations/sageone/Items/Item.js +0 -6
- package/dist/models/integrations/sageone/Items/Item.js.map +0 -1
- package/dist/models/integrations/sageone/Items/ItemAdjustment.d.ts +0 -17
- package/dist/models/integrations/sageone/Items/ItemAdjustment.d.ts.map +0 -1
- package/dist/models/integrations/sageone/Items/ItemAdjustment.js +0 -6
- package/dist/models/integrations/sageone/Items/ItemAdjustment.js.map +0 -1
- package/dist/models/integrations/sageone/Items/ItemAttachment.d.ts +0 -11
- package/dist/models/integrations/sageone/Items/ItemAttachment.d.ts.map +0 -1
- package/dist/models/integrations/sageone/Items/ItemAttachment.js +0 -6
- package/dist/models/integrations/sageone/Items/ItemAttachment.js.map +0 -1
- package/dist/models/integrations/sageone/Items/ItemCategory.d.ts +0 -11
- package/dist/models/integrations/sageone/Items/ItemCategory.d.ts.map +0 -1
- package/dist/models/integrations/sageone/Items/ItemCategory.js +0 -6
- package/dist/models/integrations/sageone/Items/ItemCategory.js.map +0 -1
- package/dist/models/integrations/sageone/Items/ItemNote.d.ts +0 -18
- package/dist/models/integrations/sageone/Items/ItemNote.d.ts.map +0 -1
- package/dist/models/integrations/sageone/Items/ItemNote.js +0 -6
- package/dist/models/integrations/sageone/Items/ItemNote.js.map +0 -1
- package/dist/models/integrations/sageone/Items/ItemReportGroup.d.ts +0 -15
- package/dist/models/integrations/sageone/Items/ItemReportGroup.d.ts.map +0 -1
- package/dist/models/integrations/sageone/Items/ItemReportGroup.js +0 -6
- package/dist/models/integrations/sageone/Items/ItemReportGroup.js.map +0 -1
- package/dist/models/integrations/sageone/Items/TaxType.d.ts +0 -18
- package/dist/models/integrations/sageone/Items/TaxType.d.ts.map +0 -1
- package/dist/models/integrations/sageone/Items/TaxType.js +0 -6
- package/dist/models/integrations/sageone/Items/TaxType.js.map +0 -1
- package/dist/models/integrations/sageone/Items/index.d.ts +0 -15
- package/dist/models/integrations/sageone/Items/index.d.ts.map +0 -1
- package/dist/models/integrations/sageone/Items/index.js +0 -15
- package/dist/models/integrations/sageone/Items/index.js.map +0 -1
- package/dist/models/integrations/sageone/PurchaseOrders/EmailPurchaseOrder.d.ts +0 -11
- package/dist/models/integrations/sageone/PurchaseOrders/EmailPurchaseOrder.d.ts.map +0 -1
- package/dist/models/integrations/sageone/PurchaseOrders/EmailPurchaseOrder.js +0 -6
- package/dist/models/integrations/sageone/PurchaseOrders/EmailPurchaseOrder.js.map +0 -1
- package/dist/models/integrations/sageone/PurchaseOrders/PurchaseOrder.d.ts +0 -17
- package/dist/models/integrations/sageone/PurchaseOrders/PurchaseOrder.d.ts.map +0 -1
- package/dist/models/integrations/sageone/PurchaseOrders/PurchaseOrder.js +0 -6
- package/dist/models/integrations/sageone/PurchaseOrders/PurchaseOrder.js.map +0 -1
- package/dist/models/integrations/sageone/PurchaseOrders/PurchaseOrderLine.d.ts +0 -12
- package/dist/models/integrations/sageone/PurchaseOrders/PurchaseOrderLine.d.ts.map +0 -1
- package/dist/models/integrations/sageone/PurchaseOrders/PurchaseOrderLine.js +0 -6
- package/dist/models/integrations/sageone/PurchaseOrders/PurchaseOrderLine.js.map +0 -1
- package/dist/models/integrations/sageone/PurchaseOrders/index.d.ts +0 -8
- package/dist/models/integrations/sageone/PurchaseOrders/index.d.ts.map +0 -1
- package/dist/models/integrations/sageone/PurchaseOrders/index.js +0 -8
- package/dist/models/integrations/sageone/PurchaseOrders/index.js.map +0 -1
- package/dist/models/integrations/sageone/SageOneApiConfig.d.ts +0 -15
- package/dist/models/integrations/sageone/SageOneApiConfig.d.ts.map +0 -1
- package/dist/models/integrations/sageone/SageOneApiConfig.js +0 -6
- package/dist/models/integrations/sageone/SageOneApiConfig.js.map +0 -1
- package/dist/models/integrations/sageone/SageOneResponse.d.ts +0 -10
- package/dist/models/integrations/sageone/SageOneResponse.d.ts.map +0 -1
- package/dist/models/integrations/sageone/SageOneResponse.js +0 -6
- package/dist/models/integrations/sageone/SageOneResponse.js.map +0 -1
- package/dist/models/integrations/sageone/Suppliers/Supplier.d.ts +0 -54
- package/dist/models/integrations/sageone/Suppliers/Supplier.d.ts.map +0 -1
- package/dist/models/integrations/sageone/Suppliers/Supplier.js +0 -6
- package/dist/models/integrations/sageone/Suppliers/Supplier.js.map +0 -1
- package/dist/models/integrations/sageone/Suppliers/SupplierAdditionalContactDetail.d.ts +0 -18
- package/dist/models/integrations/sageone/Suppliers/SupplierAdditionalContactDetail.d.ts.map +0 -1
- package/dist/models/integrations/sageone/Suppliers/SupplierAdditionalContactDetail.js +0 -6
- package/dist/models/integrations/sageone/Suppliers/SupplierAdditionalContactDetail.js.map +0 -1
- package/dist/models/integrations/sageone/Suppliers/SupplierBankDetail.d.ts +0 -17
- package/dist/models/integrations/sageone/Suppliers/SupplierBankDetail.d.ts.map +0 -1
- package/dist/models/integrations/sageone/Suppliers/SupplierBankDetail.js +0 -6
- package/dist/models/integrations/sageone/Suppliers/SupplierBankDetail.js.map +0 -1
- package/dist/models/integrations/sageone/Suppliers/SupplierCategory.d.ts +0 -11
- package/dist/models/integrations/sageone/Suppliers/SupplierCategory.d.ts.map +0 -1
- package/dist/models/integrations/sageone/Suppliers/SupplierCategory.js +0 -6
- package/dist/models/integrations/sageone/Suppliers/SupplierCategory.js.map +0 -1
- package/dist/models/integrations/sageone/Suppliers/SupplierNote.d.ts +0 -18
- package/dist/models/integrations/sageone/Suppliers/SupplierNote.d.ts.map +0 -1
- package/dist/models/integrations/sageone/Suppliers/SupplierNote.js +0 -6
- package/dist/models/integrations/sageone/Suppliers/SupplierNote.js.map +0 -1
- package/dist/models/integrations/sageone/Suppliers/index.d.ts +0 -8
- package/dist/models/integrations/sageone/Suppliers/index.d.ts.map +0 -1
- package/dist/models/integrations/sageone/Suppliers/index.js +0 -8
- package/dist/models/integrations/sageone/Suppliers/index.js.map +0 -1
- package/dist/models/integrations/sageone/index.d.ts +0 -11
- package/dist/models/integrations/sageone/index.d.ts.map +0 -1
- package/dist/models/integrations/sageone/index.js +0 -13
- package/dist/models/integrations/sageone/index.js.map +0 -1
- package/dist/models/procurements/CacheKeys/SageItemCacheKeys.d.ts +0 -11
- package/dist/models/procurements/CacheKeys/SageItemCacheKeys.d.ts.map +0 -1
- package/dist/models/procurements/CacheKeys/SageItemCacheKeys.js +0 -10
- package/dist/models/procurements/CacheKeys/SageItemCacheKeys.js.map +0 -1
- package/dist/models/procurements/CacheKeys/SagePurchaseOrderCacheKeys.d.ts +0 -11
- package/dist/models/procurements/CacheKeys/SagePurchaseOrderCacheKeys.d.ts.map +0 -1
- package/dist/models/procurements/CacheKeys/SagePurchaseOrderCacheKeys.js +0 -10
- package/dist/models/procurements/CacheKeys/SagePurchaseOrderCacheKeys.js.map +0 -1
- package/dist/models/suppliers/SageOne/SageOneSupplier.d.ts +0 -54
- package/dist/models/suppliers/SageOne/SageOneSupplier.d.ts.map +0 -1
- package/dist/models/suppliers/SageOne/SageOneSupplier.js +0 -6
- package/dist/models/suppliers/SageOne/SageOneSupplier.js.map +0 -1
- package/dist/models/suppliers/SageOne/SageOneSupplierBankDetail.d.ts +0 -17
- package/dist/models/suppliers/SageOne/SageOneSupplierBankDetail.d.ts.map +0 -1
- package/dist/models/suppliers/SageOne/SageOneSupplierBankDetail.js +0 -6
- package/dist/models/suppliers/SageOne/SageOneSupplierBankDetail.js.map +0 -1
- package/dist/models/suppliers/SageOne/SageOneSupplierCategory.d.ts +0 -11
- package/dist/models/suppliers/SageOne/SageOneSupplierCategory.d.ts.map +0 -1
- package/dist/models/suppliers/SageOne/SageOneSupplierCategory.js +0 -6
- package/dist/models/suppliers/SageOne/SageOneSupplierCategory.js.map +0 -1
- package/dist/models/suppliers/SageOne/SageOneSupplierContact.d.ts +0 -18
- package/dist/models/suppliers/SageOne/SageOneSupplierContact.d.ts.map +0 -1
- package/dist/models/suppliers/SageOne/SageOneSupplierContact.js +0 -6
- package/dist/models/suppliers/SageOne/SageOneSupplierContact.js.map +0 -1
- package/dist/models/suppliers/SageOne/SageOneSupplierNote.d.ts +0 -18
- package/dist/models/suppliers/SageOne/SageOneSupplierNote.d.ts.map +0 -1
- package/dist/models/suppliers/SageOne/SageOneSupplierNote.js +0 -6
- package/dist/models/suppliers/SageOne/SageOneSupplierNote.js.map +0 -1
- package/dist/models/suppliers/SageOne/index.d.ts +0 -10
- package/dist/models/suppliers/SageOne/index.d.ts.map +0 -1
- package/dist/models/suppliers/SageOne/index.js +0 -10
- package/dist/models/suppliers/SageOne/index.js.map +0 -1
- package/dist/services/procurements/SageCompanyService.d.ts +0 -92
- package/dist/services/procurements/SageCompanyService.d.ts.map +0 -1
- package/dist/services/procurements/SageCompanyService.js +0 -139
- package/dist/services/procurements/SageCompanyService.js.map +0 -1
- package/dist/services/procurements/SageItemService.d.ts +0 -214
- package/dist/services/procurements/SageItemService.d.ts.map +0 -1
- package/dist/services/procurements/SageItemService.js +0 -348
- package/dist/services/procurements/SageItemService.js.map +0 -1
- package/dist/services/procurements/SagePurchaseOrderService.d.ts +0 -103
- package/dist/services/procurements/SagePurchaseOrderService.d.ts.map +0 -1
- package/dist/services/procurements/SagePurchaseOrderService.js +0 -164
- package/dist/services/procurements/SagePurchaseOrderService.js.map +0 -1
- package/dist/services/suppliers/SupplierBankDetailService.d.ts +0 -32
- package/dist/services/suppliers/SupplierBankDetailService.d.ts.map +0 -1
- package/dist/services/suppliers/SupplierBankDetailService.js +0 -42
- package/dist/services/suppliers/SupplierBankDetailService.js.map +0 -1
- package/dist/services/suppliers/SupplierCategoryService.d.ts +0 -19
- package/dist/services/suppliers/SupplierCategoryService.d.ts.map +0 -1
- package/dist/services/suppliers/SupplierCategoryService.js +0 -22
- package/dist/services/suppliers/SupplierCategoryService.js.map +0 -1
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BookingSetting Entity
|
|
3
|
+
*
|
|
4
|
+
* Represents configuration settings for booking behaviour per resource type.
|
|
5
|
+
* Maps to the BookingSetting table in the database.
|
|
6
|
+
*/
|
|
7
|
+
export interface BookingSetting {
|
|
8
|
+
/** Unique setting identifier (Primary Key - Identity) */
|
|
9
|
+
settingID: number;
|
|
10
|
+
/** Resource type ID this setting applies to (unique) */
|
|
11
|
+
resourceTypeID: number;
|
|
12
|
+
/** Minutes before booking start to send pre-trip reminder (default 30) */
|
|
13
|
+
preReminderMinutes: number;
|
|
14
|
+
/** Minutes after booking end to send post-trip reminder (default 30) */
|
|
15
|
+
postReminderMinutes: number;
|
|
16
|
+
/** Whether bookings for this resource type require approval (default true) */
|
|
17
|
+
requiresApproval: boolean;
|
|
18
|
+
/** Whether pre-trip logs are required (default true) */
|
|
19
|
+
requiresPreLog: boolean;
|
|
20
|
+
/** Whether post-trip logs are required (default true) */
|
|
21
|
+
requiresPostLog: boolean;
|
|
22
|
+
/** Whether to auto-approve bookings (default false) */
|
|
23
|
+
autoApprove: boolean;
|
|
24
|
+
/** Whether to block non-compliant users from booking (default true) */
|
|
25
|
+
blockOnNonCompliance: boolean;
|
|
26
|
+
/** Maximum allowed booking duration in hours (default 24) */
|
|
27
|
+
maxBookingDurationHours: number;
|
|
28
|
+
/** Minimum allowed booking duration in minutes (default 30) */
|
|
29
|
+
minBookingDurationMinutes: number;
|
|
30
|
+
/** Maximum days in advance a booking can be made (default 30) */
|
|
31
|
+
maxAdvanceBookingDays: number;
|
|
32
|
+
/** Whether overlapping bookings are allowed (default false) */
|
|
33
|
+
allowOverlap: boolean;
|
|
34
|
+
/** Minutes before booking start that cancellation is blocked (default 60) */
|
|
35
|
+
cancellationDeadlineMinutes: number;
|
|
36
|
+
/** Admin email for booking notifications */
|
|
37
|
+
adminNotificationEmail?: string | null;
|
|
38
|
+
/** Admin phone number for booking notifications */
|
|
39
|
+
adminNotificationPhone?: string | null;
|
|
40
|
+
/** Creation timestamp (yyyyMMddHHmmss) */
|
|
41
|
+
createdDateTime: number;
|
|
42
|
+
/** Last modification timestamp (yyyyMMddHHmmss) */
|
|
43
|
+
modifiedDateTime: number;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=BookingSetting.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookingSetting.d.ts","sourceRoot":"","sources":["../../../src/models/bookings/BookingSetting.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,WAAW,cAAc;IAC7B,yDAAyD;IACzD,SAAS,EAAE,MAAM,CAAC;IAClB,wDAAwD;IACxD,cAAc,EAAE,MAAM,CAAC;IAGvB,0EAA0E;IAC1E,kBAAkB,EAAE,MAAM,CAAC;IAC3B,wEAAwE;IACxE,mBAAmB,EAAE,MAAM,CAAC;IAG5B,8EAA8E;IAC9E,gBAAgB,EAAE,OAAO,CAAC;IAC1B,wDAAwD;IACxD,cAAc,EAAE,OAAO,CAAC;IACxB,yDAAyD;IACzD,eAAe,EAAE,OAAO,CAAC;IACzB,uDAAuD;IACvD,WAAW,EAAE,OAAO,CAAC;IACrB,uEAAuE;IACvE,oBAAoB,EAAE,OAAO,CAAC;IAG9B,6DAA6D;IAC7D,uBAAuB,EAAE,MAAM,CAAC;IAChC,+DAA+D;IAC/D,yBAAyB,EAAE,MAAM,CAAC;IAClC,iEAAiE;IACjE,qBAAqB,EAAE,MAAM,CAAC;IAC9B,+DAA+D;IAC/D,YAAY,EAAE,OAAO,CAAC;IACtB,6EAA6E;IAC7E,2BAA2B,EAAE,MAAM,CAAC;IAGpC,4CAA4C;IAC5C,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,mDAAmD;IACnD,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvC,0CAA0C;IAC1C,eAAe,EAAE,MAAM,CAAC;IACxB,mDAAmD;IACnD,gBAAgB,EAAE,MAAM,CAAC;CAC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookingSetting.js","sourceRoot":"","sources":["../../../src/models/bookings/BookingSetting.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BookingStatus Entity
|
|
3
|
+
*
|
|
4
|
+
* Lookup entity representing booking lifecycle statuses.
|
|
5
|
+
* Supports negative IDs: Pending=0, Approved=1, Active=2, Completed=3,
|
|
6
|
+
* Rejected=-1, Cancelled=-2, Overdue=-3, Incomplete=-4.
|
|
7
|
+
* Maps to the BookingStatus table in the database.
|
|
8
|
+
*/
|
|
9
|
+
export interface BookingStatus {
|
|
10
|
+
/** Unique status identifier (Primary Key - Assigned, supports negative IDs) */
|
|
11
|
+
statusID: number;
|
|
12
|
+
/** Display name of the status */
|
|
13
|
+
name: string;
|
|
14
|
+
/** Description of the status */
|
|
15
|
+
description?: string | null;
|
|
16
|
+
/** Hex color code for the status */
|
|
17
|
+
color: string;
|
|
18
|
+
/** Icon identifier for the status */
|
|
19
|
+
icon: string;
|
|
20
|
+
/** Whether this status is active */
|
|
21
|
+
isActive: boolean;
|
|
22
|
+
/** Creation timestamp (yyyyMMddHHmmss) */
|
|
23
|
+
createdDateTime: number;
|
|
24
|
+
/** Last modification timestamp (yyyyMMddHHmmss) */
|
|
25
|
+
modifiedDateTime: number;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=BookingStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookingStatus.d.ts","sourceRoot":"","sources":["../../../src/models/bookings/BookingStatus.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,WAAW,aAAa;IAC5B,+EAA+E;IAC/E,QAAQ,EAAE,MAAM,CAAC;IACjB,iCAAiC;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,gCAAgC;IAChC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,oCAAoC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,qCAAqC;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,oCAAoC;IACpC,QAAQ,EAAE,OAAO,CAAC;IAClB,0CAA0C;IAC1C,eAAe,EAAE,MAAM,CAAC;IACxB,mDAAmD;IACnD,gBAAgB,EAAE,MAAM,CAAC;CAC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookingStatus.js","sourceRoot":"","sources":["../../../src/models/bookings/BookingStatus.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BookingStatusHistory Entity
|
|
3
|
+
*
|
|
4
|
+
* Represents a status change event in a booking's lifecycle.
|
|
5
|
+
* Maps to the BookingStatusHistory table in the database.
|
|
6
|
+
*/
|
|
7
|
+
export interface BookingStatusHistory {
|
|
8
|
+
/** Unique history identifier (Primary Key - Identity) */
|
|
9
|
+
historyID: number;
|
|
10
|
+
/** Booking ID reference */
|
|
11
|
+
bookingID: number;
|
|
12
|
+
/** Previous status ID (null for initial status) */
|
|
13
|
+
oldStatusID?: number | null;
|
|
14
|
+
/** New status ID */
|
|
15
|
+
newStatusID: number;
|
|
16
|
+
/** User ID who made the status change */
|
|
17
|
+
changedBy: string;
|
|
18
|
+
/** Timestamp of the status change (yyyyMMddHHmmss) */
|
|
19
|
+
changedDateTime: number;
|
|
20
|
+
/** Reason for the status change */
|
|
21
|
+
reason?: string | null;
|
|
22
|
+
/** Additional notes */
|
|
23
|
+
notes?: string | null;
|
|
24
|
+
/** Creation timestamp (yyyyMMddHHmmss) */
|
|
25
|
+
createdDateTime: number;
|
|
26
|
+
/** Last modification timestamp (yyyyMMddHHmmss) */
|
|
27
|
+
modifiedDateTime: number;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=BookingStatusHistory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookingStatusHistory.d.ts","sourceRoot":"","sources":["../../../src/models/bookings/BookingStatusHistory.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,WAAW,oBAAoB;IACnC,yDAAyD;IACzD,SAAS,EAAE,MAAM,CAAC;IAClB,2BAA2B;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,mDAAmD;IACnD,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,oBAAoB;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,yCAAyC;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,sDAAsD;IACtD,eAAe,EAAE,MAAM,CAAC;IACxB,mCAAmC;IACnC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,uBAAuB;IACvB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,0CAA0C;IAC1C,eAAe,EAAE,MAAM,CAAC;IACxB,mDAAmD;IACnD,gBAAgB,EAAE,MAAM,CAAC;CAC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookingStatusHistory.js","sourceRoot":"","sources":["../../../src/models/bookings/BookingStatusHistory.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BookableResourceBlockout Cache Keys
|
|
3
|
+
*
|
|
4
|
+
* Cache key constants for bookable resource blockout entities.
|
|
5
|
+
*/
|
|
6
|
+
export declare const BookableResourceBlockoutCacheKeys: {
|
|
7
|
+
/** Cache key prefix for booking management domain */
|
|
8
|
+
readonly prefix: "CCMS:bookingmanagement";
|
|
9
|
+
/** All blockouts cache key */
|
|
10
|
+
readonly all: () => string;
|
|
11
|
+
/** Single blockout by ID */
|
|
12
|
+
readonly item: (id: number) => string;
|
|
13
|
+
/** Blockouts by resource */
|
|
14
|
+
readonly byResource: (resourceId: number) => string;
|
|
15
|
+
/** Active blockouts */
|
|
16
|
+
readonly active: () => string;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=BookableResourceBlockoutCacheKeys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookableResourceBlockoutCacheKeys.d.ts","sourceRoot":"","sources":["../../../../src/models/bookings/CacheKeys/BookableResourceBlockoutCacheKeys.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,iCAAiC;IAC5C,qDAAqD;;IAErD,8BAA8B;;IAE9B,4BAA4B;wBACjB,MAAM;IACjB,4BAA4B;sCACH,MAAM;IAC/B,uBAAuB;;CAEf,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BookableResourceBlockout Cache Keys
|
|
3
|
+
*
|
|
4
|
+
* Cache key constants for bookable resource blockout entities.
|
|
5
|
+
*/
|
|
6
|
+
export const BookableResourceBlockoutCacheKeys = {
|
|
7
|
+
/** Cache key prefix for booking management domain */
|
|
8
|
+
prefix: 'CCMS:bookingmanagement',
|
|
9
|
+
/** All blockouts cache key */
|
|
10
|
+
all: () => `${BookableResourceBlockoutCacheKeys.prefix}:blockout:all`,
|
|
11
|
+
/** Single blockout by ID */
|
|
12
|
+
item: (id) => `${BookableResourceBlockoutCacheKeys.prefix}:blockout:${id}`,
|
|
13
|
+
/** Blockouts by resource */
|
|
14
|
+
byResource: (resourceId) => `${BookableResourceBlockoutCacheKeys.prefix}:blockout:resource:${resourceId}`,
|
|
15
|
+
/** Active blockouts */
|
|
16
|
+
active: () => `${BookableResourceBlockoutCacheKeys.prefix}:blockout:active`,
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=BookableResourceBlockoutCacheKeys.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookableResourceBlockoutCacheKeys.js","sourceRoot":"","sources":["../../../../src/models/bookings/CacheKeys/BookableResourceBlockoutCacheKeys.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG;IAC/C,qDAAqD;IACrD,MAAM,EAAE,wBAAwB;IAChC,8BAA8B;IAC9B,GAAG,EAAE,GAAG,EAAE,CAAC,GAAG,iCAAiC,CAAC,MAAM,eAAe;IACrE,4BAA4B;IAC5B,IAAI,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,GAAG,iCAAiC,CAAC,MAAM,aAAa,EAAE,EAAE;IAClF,4BAA4B;IAC5B,UAAU,EAAE,CAAC,UAAkB,EAAE,EAAE,CAAC,GAAG,iCAAiC,CAAC,MAAM,sBAAsB,UAAU,EAAE;IACjH,uBAAuB;IACvB,MAAM,EAAE,GAAG,EAAE,CAAC,GAAG,iCAAiC,CAAC,MAAM,kBAAkB;CACnE,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BookableResource Cache Keys
|
|
3
|
+
*
|
|
4
|
+
* Cache key constants for bookable resource entities.
|
|
5
|
+
*/
|
|
6
|
+
export declare const BookableResourceCacheKeys: {
|
|
7
|
+
/** Cache key prefix for booking management domain */
|
|
8
|
+
readonly prefix: "CCMS:bookingmanagement";
|
|
9
|
+
/** All bookable resources cache key */
|
|
10
|
+
readonly all: () => string;
|
|
11
|
+
/** Single resource by ID */
|
|
12
|
+
readonly item: (id: number) => string;
|
|
13
|
+
/** Resources by type */
|
|
14
|
+
readonly byType: (typeId: number) => string;
|
|
15
|
+
/** Resources by location */
|
|
16
|
+
readonly byLocation: (locationId: number) => string;
|
|
17
|
+
/** Active resources */
|
|
18
|
+
readonly active: () => string;
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=BookableResourceCacheKeys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookableResourceCacheKeys.d.ts","sourceRoot":"","sources":["../../../../src/models/bookings/CacheKeys/BookableResourceCacheKeys.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,yBAAyB;IACpC,qDAAqD;;IAErD,uCAAuC;;IAEvC,4BAA4B;wBACjB,MAAM;IACjB,wBAAwB;8BACP,MAAM;IACvB,4BAA4B;sCACH,MAAM;IAC/B,uBAAuB;;CAEf,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BookableResource Cache Keys
|
|
3
|
+
*
|
|
4
|
+
* Cache key constants for bookable resource entities.
|
|
5
|
+
*/
|
|
6
|
+
export const BookableResourceCacheKeys = {
|
|
7
|
+
/** Cache key prefix for booking management domain */
|
|
8
|
+
prefix: 'CCMS:bookingmanagement',
|
|
9
|
+
/** All bookable resources cache key */
|
|
10
|
+
all: () => `${BookableResourceCacheKeys.prefix}:resource:all`,
|
|
11
|
+
/** Single resource by ID */
|
|
12
|
+
item: (id) => `${BookableResourceCacheKeys.prefix}:resource:${id}`,
|
|
13
|
+
/** Resources by type */
|
|
14
|
+
byType: (typeId) => `${BookableResourceCacheKeys.prefix}:resource:type:${typeId}`,
|
|
15
|
+
/** Resources by location */
|
|
16
|
+
byLocation: (locationId) => `${BookableResourceCacheKeys.prefix}:resource:location:${locationId}`,
|
|
17
|
+
/** Active resources */
|
|
18
|
+
active: () => `${BookableResourceCacheKeys.prefix}:resource:active`,
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=BookableResourceCacheKeys.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookableResourceCacheKeys.js","sourceRoot":"","sources":["../../../../src/models/bookings/CacheKeys/BookableResourceCacheKeys.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,qDAAqD;IACrD,MAAM,EAAE,wBAAwB;IAChC,uCAAuC;IACvC,GAAG,EAAE,GAAG,EAAE,CAAC,GAAG,yBAAyB,CAAC,MAAM,eAAe;IAC7D,4BAA4B;IAC5B,IAAI,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,GAAG,yBAAyB,CAAC,MAAM,aAAa,EAAE,EAAE;IAC1E,wBAAwB;IACxB,MAAM,EAAE,CAAC,MAAc,EAAE,EAAE,CAAC,GAAG,yBAAyB,CAAC,MAAM,kBAAkB,MAAM,EAAE;IACzF,4BAA4B;IAC5B,UAAU,EAAE,CAAC,UAAkB,EAAE,EAAE,CAAC,GAAG,yBAAyB,CAAC,MAAM,sBAAsB,UAAU,EAAE;IACzG,uBAAuB;IACvB,MAAM,EAAE,GAAG,EAAE,CAAC,GAAG,yBAAyB,CAAC,MAAM,kBAAkB;CAC3D,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Booking Cache Keys
|
|
3
|
+
*
|
|
4
|
+
* Cache key constants for booking entities.
|
|
5
|
+
*/
|
|
6
|
+
export declare const BookingCacheKeys: {
|
|
7
|
+
/** Cache key prefix for booking management domain */
|
|
8
|
+
readonly prefix: "CCMS:bookingmanagement";
|
|
9
|
+
/** All bookings cache key */
|
|
10
|
+
readonly all: () => string;
|
|
11
|
+
/** Single booking by ID */
|
|
12
|
+
readonly item: (id: number) => string;
|
|
13
|
+
/** Bookings by user */
|
|
14
|
+
readonly byUser: (userId: string) => string;
|
|
15
|
+
/** Bookings by resource */
|
|
16
|
+
readonly byResource: (resourceId: number) => string;
|
|
17
|
+
/** Active bookings */
|
|
18
|
+
readonly active: () => string;
|
|
19
|
+
/** Pending bookings */
|
|
20
|
+
readonly pending: () => string;
|
|
21
|
+
/** Overdue bookings */
|
|
22
|
+
readonly overdue: () => string;
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=BookingCacheKeys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookingCacheKeys.d.ts","sourceRoot":"","sources":["../../../../src/models/bookings/CacheKeys/BookingCacheKeys.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,gBAAgB;IAC3B,qDAAqD;;IAErD,6BAA6B;;IAE7B,2BAA2B;wBAChB,MAAM;IACjB,uBAAuB;8BACN,MAAM;IACvB,2BAA2B;sCACF,MAAM;IAC/B,sBAAsB;;IAEtB,uBAAuB;;IAEvB,uBAAuB;;CAEf,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Booking Cache Keys
|
|
3
|
+
*
|
|
4
|
+
* Cache key constants for booking entities.
|
|
5
|
+
*/
|
|
6
|
+
export const BookingCacheKeys = {
|
|
7
|
+
/** Cache key prefix for booking management domain */
|
|
8
|
+
prefix: 'CCMS:bookingmanagement',
|
|
9
|
+
/** All bookings cache key */
|
|
10
|
+
all: () => `${BookingCacheKeys.prefix}:booking:all`,
|
|
11
|
+
/** Single booking by ID */
|
|
12
|
+
item: (id) => `${BookingCacheKeys.prefix}:booking:${id}`,
|
|
13
|
+
/** Bookings by user */
|
|
14
|
+
byUser: (userId) => `${BookingCacheKeys.prefix}:booking:user:${userId}`,
|
|
15
|
+
/** Bookings by resource */
|
|
16
|
+
byResource: (resourceId) => `${BookingCacheKeys.prefix}:booking:resource:${resourceId}`,
|
|
17
|
+
/** Active bookings */
|
|
18
|
+
active: () => `${BookingCacheKeys.prefix}:booking:active`,
|
|
19
|
+
/** Pending bookings */
|
|
20
|
+
pending: () => `${BookingCacheKeys.prefix}:booking:pending`,
|
|
21
|
+
/** Overdue bookings */
|
|
22
|
+
overdue: () => `${BookingCacheKeys.prefix}:booking:overdue`,
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=BookingCacheKeys.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookingCacheKeys.js","sourceRoot":"","sources":["../../../../src/models/bookings/CacheKeys/BookingCacheKeys.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,qDAAqD;IACrD,MAAM,EAAE,wBAAwB;IAChC,6BAA6B;IAC7B,GAAG,EAAE,GAAG,EAAE,CAAC,GAAG,gBAAgB,CAAC,MAAM,cAAc;IACnD,2BAA2B;IAC3B,IAAI,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,GAAG,gBAAgB,CAAC,MAAM,YAAY,EAAE,EAAE;IAChE,uBAAuB;IACvB,MAAM,EAAE,CAAC,MAAc,EAAE,EAAE,CAAC,GAAG,gBAAgB,CAAC,MAAM,iBAAiB,MAAM,EAAE;IAC/E,2BAA2B;IAC3B,UAAU,EAAE,CAAC,UAAkB,EAAE,EAAE,CAAC,GAAG,gBAAgB,CAAC,MAAM,qBAAqB,UAAU,EAAE;IAC/F,sBAAsB;IACtB,MAAM,EAAE,GAAG,EAAE,CAAC,GAAG,gBAAgB,CAAC,MAAM,iBAAiB;IACzD,uBAAuB;IACvB,OAAO,EAAE,GAAG,EAAE,CAAC,GAAG,gBAAgB,CAAC,MAAM,kBAAkB;IAC3D,uBAAuB;IACvB,OAAO,EAAE,GAAG,EAAE,CAAC,GAAG,gBAAgB,CAAC,MAAM,kBAAkB;CACnD,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BookingLog Cache Keys
|
|
3
|
+
*
|
|
4
|
+
* Cache key constants for booking log entities.
|
|
5
|
+
*/
|
|
6
|
+
export declare const BookingLogCacheKeys: {
|
|
7
|
+
/** Cache key prefix for booking management domain */
|
|
8
|
+
readonly prefix: "CCMS:bookingmanagement";
|
|
9
|
+
/** All booking logs cache key */
|
|
10
|
+
readonly all: () => string;
|
|
11
|
+
/** Single log by ID */
|
|
12
|
+
readonly item: (id: number) => string;
|
|
13
|
+
/** Logs by booking */
|
|
14
|
+
readonly byBooking: (bookingId: number) => string;
|
|
15
|
+
/** Logs by user */
|
|
16
|
+
readonly byUser: (userId: string) => string;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=BookingLogCacheKeys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookingLogCacheKeys.d.ts","sourceRoot":"","sources":["../../../../src/models/bookings/CacheKeys/BookingLogCacheKeys.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,mBAAmB;IAC9B,qDAAqD;;IAErD,iCAAiC;;IAEjC,uBAAuB;wBACZ,MAAM;IACjB,sBAAsB;oCACC,MAAM;IAC7B,mBAAmB;8BACF,MAAM;CACf,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BookingLog Cache Keys
|
|
3
|
+
*
|
|
4
|
+
* Cache key constants for booking log entities.
|
|
5
|
+
*/
|
|
6
|
+
export const BookingLogCacheKeys = {
|
|
7
|
+
/** Cache key prefix for booking management domain */
|
|
8
|
+
prefix: 'CCMS:bookingmanagement',
|
|
9
|
+
/** All booking logs cache key */
|
|
10
|
+
all: () => `${BookingLogCacheKeys.prefix}:log:all`,
|
|
11
|
+
/** Single log by ID */
|
|
12
|
+
item: (id) => `${BookingLogCacheKeys.prefix}:log:${id}`,
|
|
13
|
+
/** Logs by booking */
|
|
14
|
+
byBooking: (bookingId) => `${BookingLogCacheKeys.prefix}:log:booking:${bookingId}`,
|
|
15
|
+
/** Logs by user */
|
|
16
|
+
byUser: (userId) => `${BookingLogCacheKeys.prefix}:log:user:${userId}`,
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=BookingLogCacheKeys.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookingLogCacheKeys.js","sourceRoot":"","sources":["../../../../src/models/bookings/CacheKeys/BookingLogCacheKeys.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,qDAAqD;IACrD,MAAM,EAAE,wBAAwB;IAChC,iCAAiC;IACjC,GAAG,EAAE,GAAG,EAAE,CAAC,GAAG,mBAAmB,CAAC,MAAM,UAAU;IAClD,uBAAuB;IACvB,IAAI,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,GAAG,mBAAmB,CAAC,MAAM,QAAQ,EAAE,EAAE;IAC/D,sBAAsB;IACtB,SAAS,EAAE,CAAC,SAAiB,EAAE,EAAE,CAAC,GAAG,mBAAmB,CAAC,MAAM,gBAAgB,SAAS,EAAE;IAC1F,mBAAmB;IACnB,MAAM,EAAE,CAAC,MAAc,EAAE,EAAE,CAAC,GAAG,mBAAmB,CAAC,MAAM,aAAa,MAAM,EAAE;CACtE,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BookingSetting Cache Keys
|
|
3
|
+
*
|
|
4
|
+
* Cache key constants for booking setting entities.
|
|
5
|
+
*/
|
|
6
|
+
export declare const BookingSettingCacheKeys: {
|
|
7
|
+
/** Cache key prefix for booking management domain */
|
|
8
|
+
readonly prefix: "CCMS:bookingmanagement";
|
|
9
|
+
/** All booking settings cache key */
|
|
10
|
+
readonly all: () => string;
|
|
11
|
+
/** Single setting by ID */
|
|
12
|
+
readonly item: (id: number) => string;
|
|
13
|
+
/** Setting by resource type */
|
|
14
|
+
readonly byResourceType: (typeId: number) => string;
|
|
15
|
+
/** Active settings */
|
|
16
|
+
readonly active: () => string;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=BookingSettingCacheKeys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookingSettingCacheKeys.d.ts","sourceRoot":"","sources":["../../../../src/models/bookings/CacheKeys/BookingSettingCacheKeys.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,uBAAuB;IAClC,qDAAqD;;IAErD,qCAAqC;;IAErC,2BAA2B;wBAChB,MAAM;IACjB,+BAA+B;sCACN,MAAM;IAC/B,sBAAsB;;CAEd,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BookingSetting Cache Keys
|
|
3
|
+
*
|
|
4
|
+
* Cache key constants for booking setting entities.
|
|
5
|
+
*/
|
|
6
|
+
export const BookingSettingCacheKeys = {
|
|
7
|
+
/** Cache key prefix for booking management domain */
|
|
8
|
+
prefix: 'CCMS:bookingmanagement',
|
|
9
|
+
/** All booking settings cache key */
|
|
10
|
+
all: () => `${BookingSettingCacheKeys.prefix}:setting:all`,
|
|
11
|
+
/** Single setting by ID */
|
|
12
|
+
item: (id) => `${BookingSettingCacheKeys.prefix}:setting:${id}`,
|
|
13
|
+
/** Setting by resource type */
|
|
14
|
+
byResourceType: (typeId) => `${BookingSettingCacheKeys.prefix}:setting:type:${typeId}`,
|
|
15
|
+
/** Active settings */
|
|
16
|
+
active: () => `${BookingSettingCacheKeys.prefix}:setting:active`,
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=BookingSettingCacheKeys.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookingSettingCacheKeys.js","sourceRoot":"","sources":["../../../../src/models/bookings/CacheKeys/BookingSettingCacheKeys.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,qDAAqD;IACrD,MAAM,EAAE,wBAAwB;IAChC,qCAAqC;IACrC,GAAG,EAAE,GAAG,EAAE,CAAC,GAAG,uBAAuB,CAAC,MAAM,cAAc;IAC1D,2BAA2B;IAC3B,IAAI,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,GAAG,uBAAuB,CAAC,MAAM,YAAY,EAAE,EAAE;IACvE,+BAA+B;IAC/B,cAAc,EAAE,CAAC,MAAc,EAAE,EAAE,CAAC,GAAG,uBAAuB,CAAC,MAAM,iBAAiB,MAAM,EAAE;IAC9F,sBAAsB;IACtB,MAAM,EAAE,GAAG,EAAE,CAAC,GAAG,uBAAuB,CAAC,MAAM,iBAAiB;CACxD,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Booking Cache Keys Exports
|
|
3
|
+
*/
|
|
4
|
+
export * from './BookingCacheKeys';
|
|
5
|
+
export * from './BookableResourceCacheKeys';
|
|
6
|
+
export * from './BookingLogCacheKeys';
|
|
7
|
+
export * from './BookingSettingCacheKeys';
|
|
8
|
+
export * from './BookableResourceBlockoutCacheKeys';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/models/bookings/CacheKeys/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qCAAqC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Booking Cache Keys Exports
|
|
3
|
+
*/
|
|
4
|
+
export * from './BookingCacheKeys';
|
|
5
|
+
export * from './BookableResourceCacheKeys';
|
|
6
|
+
export * from './BookingLogCacheKeys';
|
|
7
|
+
export * from './BookingSettingCacheKeys';
|
|
8
|
+
export * from './BookableResourceBlockoutCacheKeys';
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/bookings/CacheKeys/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qCAAqC,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BookableResource Blockout Model View
|
|
3
|
+
*
|
|
4
|
+
* Extended blockout view with resolved lookup names for display.
|
|
5
|
+
*/
|
|
6
|
+
export interface BookableResourceBlockoutModelView {
|
|
7
|
+
/** Unique blockout identifier */
|
|
8
|
+
blockoutID: number;
|
|
9
|
+
/** Resource ID reference */
|
|
10
|
+
resourceID: number;
|
|
11
|
+
/** Blockout type ID reference */
|
|
12
|
+
blockoutTypeID: number;
|
|
13
|
+
/** Start of the blockout period (yyyyMMddHHmmss) */
|
|
14
|
+
startDateTime: number;
|
|
15
|
+
/** End of the blockout period (yyyyMMddHHmmss) */
|
|
16
|
+
endDateTime: number;
|
|
17
|
+
/** Reason for the blockout */
|
|
18
|
+
reason?: string | null;
|
|
19
|
+
/** User ID who created the blockout */
|
|
20
|
+
createdBy?: string | null;
|
|
21
|
+
/** Additional notes */
|
|
22
|
+
notes?: string | null;
|
|
23
|
+
/** Resolved resource name */
|
|
24
|
+
resourceName?: string | null;
|
|
25
|
+
/** Resolved blockout type name */
|
|
26
|
+
blockoutTypeName?: string | null;
|
|
27
|
+
/** Blockout type hex color */
|
|
28
|
+
blockoutTypeColor?: string | null;
|
|
29
|
+
/** Blockout type icon */
|
|
30
|
+
blockoutTypeIcon?: string | null;
|
|
31
|
+
/** Resolved display name of the user who created the blockout */
|
|
32
|
+
createdByDisplayName?: string | null;
|
|
33
|
+
/** Whether this blockout is currently active (end date in future) */
|
|
34
|
+
isActive: boolean;
|
|
35
|
+
/** Calculated duration of the blockout in days */
|
|
36
|
+
durationDays: number;
|
|
37
|
+
/** Display label (e.g., "ResourceName - BlockoutTypeName") */
|
|
38
|
+
displayLabel: string;
|
|
39
|
+
/** Formatted date range display */
|
|
40
|
+
dateRangeDisplay: string;
|
|
41
|
+
/** Searchable text concatenation */
|
|
42
|
+
searchKeywords: string;
|
|
43
|
+
/** Creation timestamp (yyyyMMddHHmmss) */
|
|
44
|
+
createdDateTime: number;
|
|
45
|
+
/** Last modification timestamp (yyyyMMddHHmmss) */
|
|
46
|
+
modifiedDateTime: number;
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=BookableResourceBlockoutModelView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookableResourceBlockoutModelView.d.ts","sourceRoot":"","sources":["../../../../src/models/bookings/ModelView/BookableResourceBlockoutModelView.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,iCAAiC;IAChD,iCAAiC;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,4BAA4B;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,iCAAiC;IACjC,cAAc,EAAE,MAAM,CAAC;IACvB,oDAAoD;IACpD,aAAa,EAAE,MAAM,CAAC;IACtB,kDAAkD;IAClD,WAAW,EAAE,MAAM,CAAC;IACpB,8BAA8B;IAC9B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,uCAAuC;IACvC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,uBAAuB;IACvB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGtB,6BAA6B;IAC7B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,kCAAkC;IAClC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,8BAA8B;IAC9B,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,yBAAyB;IACzB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,iEAAiE;IACjE,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGrC,qEAAqE;IACrE,QAAQ,EAAE,OAAO,CAAC;IAClB,kDAAkD;IAClD,YAAY,EAAE,MAAM,CAAC;IACrB,8DAA8D;IAC9D,YAAY,EAAE,MAAM,CAAC;IACrB,mCAAmC;IACnC,gBAAgB,EAAE,MAAM,CAAC;IACzB,oCAAoC;IACpC,cAAc,EAAE,MAAM,CAAC;IAEvB,0CAA0C;IAC1C,eAAe,EAAE,MAAM,CAAC;IACxB,mDAAmD;IACnD,gBAAgB,EAAE,MAAM,CAAC;CAC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookableResourceBlockoutModelView.js","sourceRoot":"","sources":["../../../../src/models/bookings/ModelView/BookableResourceBlockoutModelView.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BookableResource Model View
|
|
3
|
+
*
|
|
4
|
+
* Extended bookable resource view with resolved lookup names for display.
|
|
5
|
+
*/
|
|
6
|
+
export interface BookableResourceModelView {
|
|
7
|
+
/** Unique resource identifier */
|
|
8
|
+
resourceID: number;
|
|
9
|
+
/** Display name of the resource */
|
|
10
|
+
name: string;
|
|
11
|
+
/** Detailed description of the resource */
|
|
12
|
+
description?: string | null;
|
|
13
|
+
/** Whether bookings for this resource require manager approval */
|
|
14
|
+
requiresApproval: boolean;
|
|
15
|
+
/** Whether a pre-trip inspection log is required before use */
|
|
16
|
+
requiresPreLog: boolean;
|
|
17
|
+
/** Whether a post-trip inspection log is required after use */
|
|
18
|
+
requiresPostLog: boolean;
|
|
19
|
+
/** Whether to auto-approve bookings when the resource is available */
|
|
20
|
+
autoApproveWhenAvailable: boolean;
|
|
21
|
+
/** Whether the resource is active and available for booking */
|
|
22
|
+
isActive: boolean;
|
|
23
|
+
/** Serial number */
|
|
24
|
+
serialNumber?: string | null;
|
|
25
|
+
/** Plate number */
|
|
26
|
+
plateNumber?: string | null;
|
|
27
|
+
/** Resource URL */
|
|
28
|
+
resourceUrl?: string | null;
|
|
29
|
+
/** Additional notes */
|
|
30
|
+
notes?: string | null;
|
|
31
|
+
/** Location ID */
|
|
32
|
+
locationID?: number | null;
|
|
33
|
+
/** Resource type ID */
|
|
34
|
+
typeID: number;
|
|
35
|
+
/** Resolved resource type name */
|
|
36
|
+
typeName?: string | null;
|
|
37
|
+
/** Resource type hex color */
|
|
38
|
+
typeColor?: string | null;
|
|
39
|
+
/** Resource type icon */
|
|
40
|
+
typeIcon?: string | null;
|
|
41
|
+
/** Resource status ID */
|
|
42
|
+
statusID: number;
|
|
43
|
+
/** Resolved resource status name */
|
|
44
|
+
statusName?: string | null;
|
|
45
|
+
/** Status hex color */
|
|
46
|
+
statusColor?: string | null;
|
|
47
|
+
/** Status icon */
|
|
48
|
+
statusIcon?: string | null;
|
|
49
|
+
/** Resolved location name */
|
|
50
|
+
locationName?: string | null;
|
|
51
|
+
/** URL of the primary image */
|
|
52
|
+
primaryImageUrl?: string | null;
|
|
53
|
+
/** Number of images */
|
|
54
|
+
imageCount: number;
|
|
55
|
+
/** Number of accessories */
|
|
56
|
+
accessoryCount: number;
|
|
57
|
+
/** Number of active bookings */
|
|
58
|
+
activeBookingCount: number;
|
|
59
|
+
/** Number of blockout periods */
|
|
60
|
+
blockoutCount: number;
|
|
61
|
+
/** Whether the resource is currently available (StatusID == 1 && IsActive) */
|
|
62
|
+
isAvailable: boolean;
|
|
63
|
+
/** Whether the resource has images */
|
|
64
|
+
hasImages: boolean;
|
|
65
|
+
/** Formatted display label (e.g., "Name (TypeName)") */
|
|
66
|
+
displayLabel: string;
|
|
67
|
+
/** Status with icon */
|
|
68
|
+
statusDisplay: string;
|
|
69
|
+
/** Availability status text (e.g., "Available", "In Use", "Blocked") */
|
|
70
|
+
availabilityStatus: string;
|
|
71
|
+
/** Availability color hex code */
|
|
72
|
+
availabilityColor: string;
|
|
73
|
+
/** Searchable text concatenation */
|
|
74
|
+
searchKeywords: string;
|
|
75
|
+
/** Creation timestamp (yyyyMMddHHmmss) */
|
|
76
|
+
createdDateTime: number;
|
|
77
|
+
/** Last modification timestamp (yyyyMMddHHmmss) */
|
|
78
|
+
modifiedDateTime: number;
|
|
79
|
+
}
|
|
80
|
+
//# sourceMappingURL=BookableResourceModelView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookableResourceModelView.d.ts","sourceRoot":"","sources":["../../../../src/models/bookings/ModelView/BookableResourceModelView.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACxC,iCAAiC;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,mCAAmC;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,2CAA2C;IAC3C,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,kEAAkE;IAClE,gBAAgB,EAAE,OAAO,CAAC;IAC1B,+DAA+D;IAC/D,cAAc,EAAE,OAAO,CAAC;IACxB,+DAA+D;IAC/D,eAAe,EAAE,OAAO,CAAC;IACzB,sEAAsE;IACtE,wBAAwB,EAAE,OAAO,CAAC;IAClC,+DAA+D;IAC/D,QAAQ,EAAE,OAAO,CAAC;IAClB,oBAAoB;IACpB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,mBAAmB;IACnB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,mBAAmB;IACnB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,uBAAuB;IACvB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,kBAAkB;IAClB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG3B,uBAAuB;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,kCAAkC;IAClC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,8BAA8B;IAC9B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,yBAAyB;IACzB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGzB,yBAAyB;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,oCAAoC;IACpC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,uBAAuB;IACvB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,kBAAkB;IAClB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG3B,6BAA6B;IAC7B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG7B,+BAA+B;IAC/B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,uBAAuB;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,4BAA4B;IAC5B,cAAc,EAAE,MAAM,CAAC;IACvB,gCAAgC;IAChC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iCAAiC;IACjC,aAAa,EAAE,MAAM,CAAC;IAGtB,8EAA8E;IAC9E,WAAW,EAAE,OAAO,CAAC;IACrB,sCAAsC;IACtC,SAAS,EAAE,OAAO,CAAC;IACnB,wDAAwD;IACxD,YAAY,EAAE,MAAM,CAAC;IACrB,uBAAuB;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,wEAAwE;IACxE,kBAAkB,EAAE,MAAM,CAAC;IAC3B,kCAAkC;IAClC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oCAAoC;IACpC,cAAc,EAAE,MAAM,CAAC;IAEvB,0CAA0C;IAC1C,eAAe,EAAE,MAAM,CAAC;IACxB,mDAAmD;IACnD,gBAAgB,EAAE,MAAM,CAAC;CAC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookableResourceModelView.js","sourceRoot":"","sources":["../../../../src/models/bookings/ModelView/BookableResourceModelView.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Booking Approval Request
|
|
3
|
+
*
|
|
4
|
+
* Request model for approving or rejecting a booking.
|
|
5
|
+
*/
|
|
6
|
+
export interface BookingApprovalRequest {
|
|
7
|
+
/** Booking ID to approve or reject */
|
|
8
|
+
bookingID: number;
|
|
9
|
+
/** Whether the booking is approved (true) or rejected (false) */
|
|
10
|
+
isApproved: boolean;
|
|
11
|
+
/** Reason for rejection (required when IsApproved is false) */
|
|
12
|
+
rejectedReason?: string | null;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=BookingApprovalRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookingApprovalRequest.d.ts","sourceRoot":"","sources":["../../../../src/models/bookings/ModelView/BookingApprovalRequest.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACrC,sCAAsC;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,iEAAiE;IACjE,UAAU,EAAE,OAAO,CAAC;IACpB,+DAA+D;IAC/D,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookingApprovalRequest.js","sourceRoot":"","sources":["../../../../src/models/bookings/ModelView/BookingApprovalRequest.ts"],"names":[],"mappings":""}
|