@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.
Files changed (537) hide show
  1. package/dist/core/HttpClient.js +2 -2
  2. package/dist/core/HttpClient.js.map +1 -1
  3. package/dist/models/bookings/BookableResource.d.ts +61 -0
  4. package/dist/models/bookings/BookableResource.d.ts.map +1 -0
  5. package/dist/models/bookings/BookableResource.js +2 -0
  6. package/dist/models/bookings/BookableResource.js.map +1 -0
  7. package/dist/models/bookings/BookableResourceBlockout.d.ts +29 -0
  8. package/dist/models/bookings/BookableResourceBlockout.d.ts.map +1 -0
  9. package/dist/models/bookings/BookableResourceBlockout.js +2 -0
  10. package/dist/models/bookings/BookableResourceBlockout.js.map +1 -0
  11. package/dist/models/bookings/BookableResourceBlockoutType.d.ts +25 -0
  12. package/dist/models/bookings/BookableResourceBlockoutType.d.ts.map +1 -0
  13. package/dist/models/bookings/BookableResourceBlockoutType.js +2 -0
  14. package/dist/models/bookings/BookableResourceBlockoutType.js.map +1 -0
  15. package/dist/models/bookings/BookableResourceImage.d.ts +25 -0
  16. package/dist/models/bookings/BookableResourceImage.d.ts.map +1 -0
  17. package/dist/models/bookings/BookableResourceImage.js +2 -0
  18. package/dist/models/bookings/BookableResourceImage.js.map +1 -0
  19. package/dist/models/bookings/BookableResourceStatus.d.ts +25 -0
  20. package/dist/models/bookings/BookableResourceStatus.d.ts.map +1 -0
  21. package/dist/models/bookings/BookableResourceStatus.js +2 -0
  22. package/dist/models/bookings/BookableResourceStatus.js.map +1 -0
  23. package/dist/models/bookings/BookableResourceType.d.ts +25 -0
  24. package/dist/models/bookings/BookableResourceType.d.ts.map +1 -0
  25. package/dist/models/bookings/BookableResourceType.js +2 -0
  26. package/dist/models/bookings/BookableResourceType.js.map +1 -0
  27. package/dist/models/bookings/Booking.d.ts +69 -0
  28. package/dist/models/bookings/Booking.d.ts.map +1 -0
  29. package/dist/models/bookings/Booking.js +2 -0
  30. package/dist/models/bookings/Booking.js.map +1 -0
  31. package/dist/models/bookings/BookingAccessory.d.ts +23 -0
  32. package/dist/models/bookings/BookingAccessory.d.ts.map +1 -0
  33. package/dist/models/bookings/BookingAccessory.js +2 -0
  34. package/dist/models/bookings/BookingAccessory.js.map +1 -0
  35. package/dist/models/bookings/BookingLog.d.ts +49 -0
  36. package/dist/models/bookings/BookingLog.d.ts.map +1 -0
  37. package/dist/models/bookings/BookingLog.js +2 -0
  38. package/dist/models/bookings/BookingLog.js.map +1 -0
  39. package/dist/models/bookings/BookingLogMedia.d.ts +27 -0
  40. package/dist/models/bookings/BookingLogMedia.d.ts.map +1 -0
  41. package/dist/models/bookings/BookingLogMedia.js +2 -0
  42. package/dist/models/bookings/BookingLogMedia.js.map +1 -0
  43. package/dist/models/bookings/BookingNotificationQueue.d.ts +31 -0
  44. package/dist/models/bookings/BookingNotificationQueue.d.ts.map +1 -0
  45. package/dist/models/bookings/BookingNotificationQueue.js +2 -0
  46. package/dist/models/bookings/BookingNotificationQueue.js.map +1 -0
  47. package/dist/models/bookings/BookingSetting.d.ts +45 -0
  48. package/dist/models/bookings/BookingSetting.d.ts.map +1 -0
  49. package/dist/models/bookings/BookingSetting.js +2 -0
  50. package/dist/models/bookings/BookingSetting.js.map +1 -0
  51. package/dist/models/bookings/BookingStatus.d.ts +27 -0
  52. package/dist/models/bookings/BookingStatus.d.ts.map +1 -0
  53. package/dist/models/bookings/BookingStatus.js +2 -0
  54. package/dist/models/bookings/BookingStatus.js.map +1 -0
  55. package/dist/models/bookings/BookingStatusHistory.d.ts +29 -0
  56. package/dist/models/bookings/BookingStatusHistory.d.ts.map +1 -0
  57. package/dist/models/bookings/BookingStatusHistory.js +2 -0
  58. package/dist/models/bookings/BookingStatusHistory.js.map +1 -0
  59. package/dist/models/bookings/CacheKeys/BookableResourceBlockoutCacheKeys.d.ts +18 -0
  60. package/dist/models/bookings/CacheKeys/BookableResourceBlockoutCacheKeys.d.ts.map +1 -0
  61. package/dist/models/bookings/CacheKeys/BookableResourceBlockoutCacheKeys.js +18 -0
  62. package/dist/models/bookings/CacheKeys/BookableResourceBlockoutCacheKeys.js.map +1 -0
  63. package/dist/models/bookings/CacheKeys/BookableResourceCacheKeys.d.ts +20 -0
  64. package/dist/models/bookings/CacheKeys/BookableResourceCacheKeys.d.ts.map +1 -0
  65. package/dist/models/bookings/CacheKeys/BookableResourceCacheKeys.js +20 -0
  66. package/dist/models/bookings/CacheKeys/BookableResourceCacheKeys.js.map +1 -0
  67. package/dist/models/bookings/CacheKeys/BookingCacheKeys.d.ts +24 -0
  68. package/dist/models/bookings/CacheKeys/BookingCacheKeys.d.ts.map +1 -0
  69. package/dist/models/bookings/CacheKeys/BookingCacheKeys.js +24 -0
  70. package/dist/models/bookings/CacheKeys/BookingCacheKeys.js.map +1 -0
  71. package/dist/models/bookings/CacheKeys/BookingLogCacheKeys.d.ts +18 -0
  72. package/dist/models/bookings/CacheKeys/BookingLogCacheKeys.d.ts.map +1 -0
  73. package/dist/models/bookings/CacheKeys/BookingLogCacheKeys.js +18 -0
  74. package/dist/models/bookings/CacheKeys/BookingLogCacheKeys.js.map +1 -0
  75. package/dist/models/bookings/CacheKeys/BookingSettingCacheKeys.d.ts +18 -0
  76. package/dist/models/bookings/CacheKeys/BookingSettingCacheKeys.d.ts.map +1 -0
  77. package/dist/models/bookings/CacheKeys/BookingSettingCacheKeys.js +18 -0
  78. package/dist/models/bookings/CacheKeys/BookingSettingCacheKeys.js.map +1 -0
  79. package/dist/models/bookings/CacheKeys/index.d.ts +9 -0
  80. package/dist/models/bookings/CacheKeys/index.d.ts.map +1 -0
  81. package/dist/models/bookings/CacheKeys/index.js +9 -0
  82. package/dist/models/bookings/CacheKeys/index.js.map +1 -0
  83. package/dist/models/bookings/ModelView/BookableResourceBlockoutModelView.d.ts +48 -0
  84. package/dist/models/bookings/ModelView/BookableResourceBlockoutModelView.d.ts.map +1 -0
  85. package/dist/models/bookings/ModelView/BookableResourceBlockoutModelView.js +2 -0
  86. package/dist/models/bookings/ModelView/BookableResourceBlockoutModelView.js.map +1 -0
  87. package/dist/models/bookings/ModelView/BookableResourceModelView.d.ts +80 -0
  88. package/dist/models/bookings/ModelView/BookableResourceModelView.d.ts.map +1 -0
  89. package/dist/models/bookings/ModelView/BookableResourceModelView.js +2 -0
  90. package/dist/models/bookings/ModelView/BookableResourceModelView.js.map +1 -0
  91. package/dist/models/bookings/ModelView/BookingApprovalRequest.d.ts +14 -0
  92. package/dist/models/bookings/ModelView/BookingApprovalRequest.d.ts.map +1 -0
  93. package/dist/models/bookings/ModelView/BookingApprovalRequest.js +2 -0
  94. package/dist/models/bookings/ModelView/BookingApprovalRequest.js.map +1 -0
  95. package/dist/models/bookings/ModelView/BookingCalendarEvent.d.ts +36 -0
  96. package/dist/models/bookings/ModelView/BookingCalendarEvent.d.ts.map +1 -0
  97. package/dist/models/bookings/ModelView/BookingCalendarEvent.js +2 -0
  98. package/dist/models/bookings/ModelView/BookingCalendarEvent.js.map +1 -0
  99. package/dist/models/bookings/ModelView/BookingDashboardStats.d.ts +43 -0
  100. package/dist/models/bookings/ModelView/BookingDashboardStats.d.ts.map +1 -0
  101. package/dist/models/bookings/ModelView/BookingDashboardStats.js +2 -0
  102. package/dist/models/bookings/ModelView/BookingDashboardStats.js.map +1 -0
  103. package/dist/models/bookings/ModelView/BookingDetailModelView.d.ts +146 -0
  104. package/dist/models/bookings/ModelView/BookingDetailModelView.d.ts.map +1 -0
  105. package/dist/models/bookings/ModelView/BookingDetailModelView.js +2 -0
  106. package/dist/models/bookings/ModelView/BookingDetailModelView.js.map +1 -0
  107. package/dist/models/bookings/ModelView/BookingFilterModel.d.ts +36 -0
  108. package/dist/models/bookings/ModelView/BookingFilterModel.d.ts.map +1 -0
  109. package/dist/models/bookings/ModelView/BookingFilterModel.js +2 -0
  110. package/dist/models/bookings/ModelView/BookingFilterModel.js.map +1 -0
  111. package/dist/models/bookings/ModelView/BookingLogModelView.d.ts +76 -0
  112. package/dist/models/bookings/ModelView/BookingLogModelView.d.ts.map +1 -0
  113. package/dist/models/bookings/ModelView/BookingLogModelView.js +2 -0
  114. package/dist/models/bookings/ModelView/BookingLogModelView.js.map +1 -0
  115. package/dist/models/bookings/ModelView/BookingModelView.d.ts +107 -0
  116. package/dist/models/bookings/ModelView/BookingModelView.d.ts.map +1 -0
  117. package/dist/models/bookings/ModelView/BookingModelView.js +2 -0
  118. package/dist/models/bookings/ModelView/BookingModelView.js.map +1 -0
  119. package/dist/models/bookings/ModelView/CreateBookingLogRequest.d.ts +38 -0
  120. package/dist/models/bookings/ModelView/CreateBookingLogRequest.d.ts.map +1 -0
  121. package/dist/models/bookings/ModelView/CreateBookingLogRequest.js +2 -0
  122. package/dist/models/bookings/ModelView/CreateBookingLogRequest.js.map +1 -0
  123. package/dist/models/bookings/ModelView/CreateBookingRequest.d.ts +38 -0
  124. package/dist/models/bookings/ModelView/CreateBookingRequest.d.ts.map +1 -0
  125. package/dist/models/bookings/ModelView/CreateBookingRequest.js +2 -0
  126. package/dist/models/bookings/ModelView/CreateBookingRequest.js.map +1 -0
  127. package/dist/models/bookings/ModelView/ResourceAvailabilityResult.d.ts +52 -0
  128. package/dist/models/bookings/ModelView/ResourceAvailabilityResult.d.ts.map +1 -0
  129. package/dist/models/bookings/ModelView/ResourceAvailabilityResult.js +2 -0
  130. package/dist/models/bookings/ModelView/ResourceAvailabilityResult.js.map +1 -0
  131. package/dist/models/bookings/ModelView/index.d.ts +16 -0
  132. package/dist/models/bookings/ModelView/index.d.ts.map +1 -0
  133. package/dist/models/bookings/ModelView/index.js +16 -0
  134. package/dist/models/bookings/ModelView/index.js.map +1 -0
  135. package/dist/models/bookings/index.d.ts +20 -0
  136. package/dist/models/bookings/index.d.ts.map +1 -0
  137. package/dist/models/bookings/index.js +23 -0
  138. package/dist/models/bookings/index.js.map +1 -0
  139. package/dist/models/identity/ModelView/AccountViewModels.d.ts +3 -0
  140. package/dist/models/identity/ModelView/AccountViewModels.d.ts.map +1 -1
  141. package/dist/models/index.d.ts +1 -1
  142. package/dist/models/index.d.ts.map +1 -1
  143. package/dist/models/index.js +2 -2
  144. package/dist/models/index.js.map +1 -1
  145. package/dist/models/orders/ModelView/OrderModelView.d.ts +5 -0
  146. package/dist/models/orders/ModelView/OrderModelView.d.ts.map +1 -1
  147. package/dist/models/procurement/ModelView/RequestCommentModelView.d.ts +18 -0
  148. package/dist/models/procurement/ModelView/RequestCommentModelView.d.ts.map +1 -0
  149. package/dist/models/procurement/ModelView/RequestCommentModelView.js +2 -0
  150. package/dist/models/procurement/ModelView/RequestCommentModelView.js.map +1 -0
  151. package/dist/models/procurement/ModelView/index.d.ts +1 -0
  152. package/dist/models/procurement/ModelView/index.d.ts.map +1 -1
  153. package/dist/models/procurement/ModelView/index.js +1 -0
  154. package/dist/models/procurement/ModelView/index.js.map +1 -1
  155. package/dist/models/procurements/CacheKeys/ItemCategoryCacheKeys.d.ts +11 -0
  156. package/dist/models/procurements/CacheKeys/ItemCategoryCacheKeys.d.ts.map +1 -0
  157. package/dist/models/procurements/CacheKeys/ItemCategoryCacheKeys.js +10 -0
  158. package/dist/models/procurements/CacheKeys/ItemCategoryCacheKeys.js.map +1 -0
  159. package/dist/models/procurements/CacheKeys/ProcurementItemCacheKeys.d.ts +12 -0
  160. package/dist/models/procurements/CacheKeys/ProcurementItemCacheKeys.d.ts.map +1 -0
  161. package/dist/models/procurements/CacheKeys/ProcurementItemCacheKeys.js +11 -0
  162. package/dist/models/procurements/CacheKeys/ProcurementItemCacheKeys.js.map +1 -0
  163. package/dist/models/procurements/CacheKeys/index.d.ts +2 -2
  164. package/dist/models/procurements/CacheKeys/index.d.ts.map +1 -1
  165. package/dist/models/procurements/CacheKeys/index.js +2 -2
  166. package/dist/models/procurements/CacheKeys/index.js.map +1 -1
  167. package/dist/models/procurements/ItemCategory.d.ts +30 -0
  168. package/dist/models/procurements/ItemCategory.d.ts.map +1 -0
  169. package/dist/models/procurements/ItemCategory.js +2 -0
  170. package/dist/models/procurements/ItemCategory.js.map +1 -0
  171. package/dist/models/procurements/ProcurementItem.d.ts +54 -0
  172. package/dist/models/procurements/ProcurementItem.d.ts.map +1 -0
  173. package/dist/models/procurements/ProcurementItem.js +2 -0
  174. package/dist/models/procurements/ProcurementItem.js.map +1 -0
  175. package/dist/models/procurements/RequestPurchaseOrder.d.ts +1 -1
  176. package/dist/models/procurements/index.d.ts +2 -0
  177. package/dist/models/procurements/index.d.ts.map +1 -1
  178. package/dist/models/procurements/index.js +2 -0
  179. package/dist/models/procurements/index.js.map +1 -1
  180. package/dist/models/suppliers/Supplier.d.ts +1 -0
  181. package/dist/models/suppliers/Supplier.d.ts.map +1 -1
  182. package/dist/models/suppliers/SupplierNote.d.ts +13 -0
  183. package/dist/models/suppliers/SupplierNote.d.ts.map +1 -0
  184. package/dist/models/suppliers/SupplierNote.js +2 -0
  185. package/dist/models/suppliers/SupplierNote.js.map +1 -0
  186. package/dist/models/suppliers/index.d.ts +1 -1
  187. package/dist/models/suppliers/index.d.ts.map +1 -1
  188. package/dist/models/suppliers/index.js +1 -1
  189. package/dist/models/suppliers/index.js.map +1 -1
  190. package/dist/models/vendorcatalog/ModelView/ProductStockStatusModelView.d.ts +8 -0
  191. package/dist/models/vendorcatalog/ModelView/ProductStockStatusModelView.d.ts.map +1 -1
  192. package/dist/models/vendorcatalog/ModelView/ShopEventCatalogModelView.d.ts +4 -0
  193. package/dist/models/vendorcatalog/ModelView/ShopEventCatalogModelView.d.ts.map +1 -1
  194. package/dist/models/vendorcatalog/ModelView/ShopEventProductModelView.d.ts +6 -0
  195. package/dist/models/vendorcatalog/ModelView/ShopEventProductModelView.d.ts.map +1 -1
  196. package/dist/models/vendorcatalog/ModelView/VendorProductAddOnModelView.d.ts +8 -0
  197. package/dist/models/vendorcatalog/ModelView/VendorProductAddOnModelView.d.ts.map +1 -1
  198. package/dist/models/vendorcatalog/ModelView/VendorProductDetailModelView.d.ts +8 -0
  199. package/dist/models/vendorcatalog/ModelView/VendorProductDetailModelView.d.ts.map +1 -1
  200. package/dist/models/vendorcatalog/ModelView/VendorProductVariantModelView.d.ts +10 -0
  201. package/dist/models/vendorcatalog/ModelView/VendorProductVariantModelView.d.ts.map +1 -1
  202. package/dist/models/vendors/ModelView/ShopVendorModelView.d.ts +2 -0
  203. package/dist/models/vendors/ModelView/ShopVendorModelView.d.ts.map +1 -1
  204. package/dist/models/vendors/ModelView/VendorLedgerModelView.d.ts +89 -0
  205. package/dist/models/vendors/ModelView/VendorLedgerModelView.d.ts.map +1 -0
  206. package/dist/models/vendors/ModelView/VendorLedgerModelView.js +8 -0
  207. package/dist/models/vendors/ModelView/VendorLedgerModelView.js.map +1 -0
  208. package/dist/models/vendors/ModelView/VendorPayoutModelView.d.ts +67 -0
  209. package/dist/models/vendors/ModelView/VendorPayoutModelView.d.ts.map +1 -0
  210. package/dist/models/vendors/ModelView/VendorPayoutModelView.js +8 -0
  211. package/dist/models/vendors/ModelView/VendorPayoutModelView.js.map +1 -0
  212. package/dist/models/vendors/ModelView/VendorStatementModelView.d.ts +55 -0
  213. package/dist/models/vendors/ModelView/VendorStatementModelView.d.ts.map +1 -0
  214. package/dist/models/vendors/ModelView/VendorStatementModelView.js +9 -0
  215. package/dist/models/vendors/ModelView/VendorStatementModelView.js.map +1 -0
  216. package/dist/models/vendors/ModelView/index.d.ts +3 -0
  217. package/dist/models/vendors/ModelView/index.d.ts.map +1 -1
  218. package/dist/models/vendors/ModelView/index.js +4 -0
  219. package/dist/models/vendors/ModelView/index.js.map +1 -1
  220. package/dist/react/CCMSProvider.d.ts.map +1 -1
  221. package/dist/react/CCMSProvider.js +5 -0
  222. package/dist/react/CCMSProvider.js.map +1 -1
  223. package/dist/react/hooks/services/index.d.ts +1 -0
  224. package/dist/react/hooks/services/index.d.ts.map +1 -1
  225. package/dist/react/hooks/services/index.js +2 -0
  226. package/dist/react/hooks/services/index.js.map +1 -1
  227. package/dist/react/hooks/services/useBookingsServices.d.ts +55 -0
  228. package/dist/react/hooks/services/useBookingsServices.d.ts.map +1 -0
  229. package/dist/react/hooks/services/useBookingsServices.js +83 -0
  230. package/dist/react/hooks/services/useBookingsServices.js.map +1 -0
  231. package/dist/react/hooks/services/useProcurementsServices.d.ts +9 -13
  232. package/dist/react/hooks/services/useProcurementsServices.d.ts.map +1 -1
  233. package/dist/react/hooks/services/useProcurementsServices.js +12 -18
  234. package/dist/react/hooks/services/useProcurementsServices.js.map +1 -1
  235. package/dist/react/hooks/services/useSupplierServices.d.ts +19 -7
  236. package/dist/react/hooks/services/useSupplierServices.d.ts.map +1 -1
  237. package/dist/react/hooks/services/useSupplierServices.js +26 -8
  238. package/dist/react/hooks/services/useSupplierServices.js.map +1 -1
  239. package/dist/react/hooks/useCCMS.d.ts +2 -0
  240. package/dist/react/hooks/useCCMS.d.ts.map +1 -1
  241. package/dist/react/hooks/useCCMS.js.map +1 -1
  242. package/dist/services/bookings/BookableResourceBlockoutService.d.ts +40 -0
  243. package/dist/services/bookings/BookableResourceBlockoutService.d.ts.map +1 -0
  244. package/dist/services/bookings/BookableResourceBlockoutService.js +56 -0
  245. package/dist/services/bookings/BookableResourceBlockoutService.js.map +1 -0
  246. package/dist/services/bookings/BookableResourceBlockoutTypeService.d.ts +17 -0
  247. package/dist/services/bookings/BookableResourceBlockoutTypeService.d.ts.map +1 -0
  248. package/dist/services/bookings/BookableResourceBlockoutTypeService.js +20 -0
  249. package/dist/services/bookings/BookableResourceBlockoutTypeService.js.map +1 -0
  250. package/dist/services/bookings/BookableResourceImageService.d.ts +30 -0
  251. package/dist/services/bookings/BookableResourceImageService.d.ts.map +1 -0
  252. package/dist/services/bookings/BookableResourceImageService.js +39 -0
  253. package/dist/services/bookings/BookableResourceImageService.js.map +1 -0
  254. package/dist/services/bookings/BookableResourceService.d.ts +104 -0
  255. package/dist/services/bookings/BookableResourceService.d.ts.map +1 -0
  256. package/dist/services/bookings/BookableResourceService.js +166 -0
  257. package/dist/services/bookings/BookableResourceService.js.map +1 -0
  258. package/dist/services/bookings/BookableResourceStatusService.d.ts +17 -0
  259. package/dist/services/bookings/BookableResourceStatusService.d.ts.map +1 -0
  260. package/dist/services/bookings/BookableResourceStatusService.js +20 -0
  261. package/dist/services/bookings/BookableResourceStatusService.js.map +1 -0
  262. package/dist/services/bookings/BookableResourceTypeService.d.ts +17 -0
  263. package/dist/services/bookings/BookableResourceTypeService.d.ts.map +1 -0
  264. package/dist/services/bookings/BookableResourceTypeService.js +20 -0
  265. package/dist/services/bookings/BookableResourceTypeService.js.map +1 -0
  266. package/dist/services/bookings/BookingAccessoryService.d.ts +30 -0
  267. package/dist/services/bookings/BookingAccessoryService.d.ts.map +1 -0
  268. package/dist/services/bookings/BookingAccessoryService.js +39 -0
  269. package/dist/services/bookings/BookingAccessoryService.js.map +1 -0
  270. package/dist/services/bookings/BookingLogService.d.ts +56 -0
  271. package/dist/services/bookings/BookingLogService.d.ts.map +1 -0
  272. package/dist/services/bookings/BookingLogService.js +85 -0
  273. package/dist/services/bookings/BookingLogService.js.map +1 -0
  274. package/dist/services/bookings/BookingService.d.ts +214 -0
  275. package/dist/services/bookings/BookingService.d.ts.map +1 -0
  276. package/dist/services/bookings/BookingService.js +351 -0
  277. package/dist/services/bookings/BookingService.js.map +1 -0
  278. package/dist/services/bookings/BookingSettingService.d.ts +30 -0
  279. package/dist/services/bookings/BookingSettingService.d.ts.map +1 -0
  280. package/dist/services/bookings/BookingSettingService.js +42 -0
  281. package/dist/services/bookings/BookingSettingService.js.map +1 -0
  282. package/dist/services/bookings/BookingStatusService.d.ts +17 -0
  283. package/dist/services/bookings/BookingStatusService.d.ts.map +1 -0
  284. package/dist/services/bookings/BookingStatusService.js +20 -0
  285. package/dist/services/bookings/BookingStatusService.js.map +1 -0
  286. package/dist/services/bookings/index.d.ts +63 -0
  287. package/dist/services/bookings/index.d.ts.map +1 -0
  288. package/dist/services/bookings/index.js +50 -0
  289. package/dist/services/bookings/index.js.map +1 -0
  290. package/dist/services/departments/DepartmentService.d.ts.map +1 -1
  291. package/dist/services/departments/DepartmentService.js +1 -1
  292. package/dist/services/departments/DepartmentService.js.map +1 -1
  293. package/dist/services/index.d.ts +1 -0
  294. package/dist/services/index.d.ts.map +1 -1
  295. package/dist/services/index.js +2 -0
  296. package/dist/services/index.js.map +1 -1
  297. package/dist/services/procurements/AuditLogService.d.ts +2 -0
  298. package/dist/services/procurements/AuditLogService.d.ts.map +1 -1
  299. package/dist/services/procurements/AuditLogService.js +4 -0
  300. package/dist/services/procurements/AuditLogService.js.map +1 -1
  301. package/dist/services/procurements/ItemCategoryService.d.ts +21 -0
  302. package/dist/services/procurements/ItemCategoryService.d.ts.map +1 -0
  303. package/dist/services/procurements/ItemCategoryService.js +24 -0
  304. package/dist/services/procurements/ItemCategoryService.js.map +1 -0
  305. package/dist/services/procurements/ProcurementItemService.d.ts +33 -0
  306. package/dist/services/procurements/ProcurementItemService.d.ts.map +1 -0
  307. package/dist/services/procurements/ProcurementItemService.js +46 -0
  308. package/dist/services/procurements/ProcurementItemService.js.map +1 -0
  309. package/dist/services/procurements/ProcurementRoleAssignmentService.d.ts +3 -0
  310. package/dist/services/procurements/ProcurementRoleAssignmentService.d.ts.map +1 -1
  311. package/dist/services/procurements/ProcurementRoleAssignmentService.js +8 -0
  312. package/dist/services/procurements/ProcurementRoleAssignmentService.js.map +1 -1
  313. package/dist/services/procurements/RequestAttachmentService.d.ts +2 -0
  314. package/dist/services/procurements/RequestAttachmentService.d.ts.map +1 -1
  315. package/dist/services/procurements/RequestAttachmentService.js +4 -0
  316. package/dist/services/procurements/RequestAttachmentService.js.map +1 -1
  317. package/dist/services/procurements/RequestCommentService.d.ts +2 -0
  318. package/dist/services/procurements/RequestCommentService.d.ts.map +1 -1
  319. package/dist/services/procurements/RequestCommentService.js +4 -0
  320. package/dist/services/procurements/RequestCommentService.js.map +1 -1
  321. package/dist/services/procurements/index.d.ts +6 -9
  322. package/dist/services/procurements/index.d.ts.map +1 -1
  323. package/dist/services/procurements/index.js +6 -9
  324. package/dist/services/procurements/index.js.map +1 -1
  325. package/dist/services/suppliers/IndustryService.d.ts +19 -0
  326. package/dist/services/suppliers/IndustryService.d.ts.map +1 -0
  327. package/dist/services/suppliers/IndustryService.js +22 -0
  328. package/dist/services/suppliers/IndustryService.js.map +1 -0
  329. package/dist/services/suppliers/SubscriptionStatusService.d.ts +16 -0
  330. package/dist/services/suppliers/SubscriptionStatusService.d.ts.map +1 -0
  331. package/dist/services/suppliers/SubscriptionStatusService.js +19 -0
  332. package/dist/services/suppliers/SubscriptionStatusService.js.map +1 -0
  333. package/dist/services/suppliers/SubscriptionTypeService.d.ts +16 -0
  334. package/dist/services/suppliers/SubscriptionTypeService.d.ts.map +1 -0
  335. package/dist/services/suppliers/SubscriptionTypeService.js +19 -0
  336. package/dist/services/suppliers/SubscriptionTypeService.js.map +1 -0
  337. package/dist/services/suppliers/SupplierAccountService.d.ts +32 -0
  338. package/dist/services/suppliers/SupplierAccountService.d.ts.map +1 -0
  339. package/dist/services/suppliers/SupplierAccountService.js +42 -0
  340. package/dist/services/suppliers/SupplierAccountService.js.map +1 -0
  341. package/dist/services/suppliers/SupplierContactService.d.ts +5 -5
  342. package/dist/services/suppliers/SupplierContactService.d.ts.map +1 -1
  343. package/dist/services/suppliers/SupplierContactService.js +1 -1
  344. package/dist/services/suppliers/SupplierContactService.js.map +1 -1
  345. package/dist/services/suppliers/SupplierNoteService.d.ts +5 -5
  346. package/dist/services/suppliers/SupplierNoteService.d.ts.map +1 -1
  347. package/dist/services/suppliers/SupplierNoteService.js +1 -1
  348. package/dist/services/suppliers/SupplierNoteService.js.map +1 -1
  349. package/dist/services/suppliers/SupplierService.d.ts +13 -13
  350. package/dist/services/suppliers/SupplierService.d.ts.map +1 -1
  351. package/dist/services/suppliers/SupplierService.js +10 -10
  352. package/dist/services/suppliers/SupplierService.js.map +1 -1
  353. package/dist/services/suppliers/SupplierSubscriptionService.d.ts +24 -0
  354. package/dist/services/suppliers/SupplierSubscriptionService.d.ts.map +1 -0
  355. package/dist/services/suppliers/SupplierSubscriptionService.js +34 -0
  356. package/dist/services/suppliers/SupplierSubscriptionService.js.map +1 -0
  357. package/dist/services/suppliers/index.d.ts +15 -6
  358. package/dist/services/suppliers/index.d.ts.map +1 -1
  359. package/dist/services/suppliers/index.js +15 -6
  360. package/dist/services/suppliers/index.js.map +1 -1
  361. package/dist/services/types.d.ts +2 -0
  362. package/dist/services/types.d.ts.map +1 -1
  363. package/dist/services/vendor-portal/VendorPortalProfileService.d.ts +16 -0
  364. package/dist/services/vendor-portal/VendorPortalProfileService.d.ts.map +1 -1
  365. package/dist/services/vendor-portal/VendorPortalProfileService.js +19 -0
  366. package/dist/services/vendor-portal/VendorPortalProfileService.js.map +1 -1
  367. package/dist/services/vendor-portal/index.d.ts +1 -1
  368. package/dist/services/vendor-portal/index.d.ts.map +1 -1
  369. package/dist/services/vendors/VendorLedgerService.d.ts +5 -4
  370. package/dist/services/vendors/VendorLedgerService.d.ts.map +1 -1
  371. package/dist/services/vendors/VendorLedgerService.js +6 -3
  372. package/dist/services/vendors/VendorLedgerService.js.map +1 -1
  373. package/package.json +1 -1
  374. package/dist/models/integrations/sageone/Companies/Company.d.ts +0 -12
  375. package/dist/models/integrations/sageone/Companies/Company.d.ts.map +0 -1
  376. package/dist/models/integrations/sageone/Companies/Company.js +0 -6
  377. package/dist/models/integrations/sageone/Companies/Company.js.map +0 -1
  378. package/dist/models/integrations/sageone/Companies/CompanyEntityType.d.ts +0 -9
  379. package/dist/models/integrations/sageone/Companies/CompanyEntityType.d.ts.map +0 -1
  380. package/dist/models/integrations/sageone/Companies/CompanyEntityType.js +0 -6
  381. package/dist/models/integrations/sageone/Companies/CompanyEntityType.js.map +0 -1
  382. package/dist/models/integrations/sageone/Companies/CompanyNote.d.ts +0 -12
  383. package/dist/models/integrations/sageone/Companies/CompanyNote.d.ts.map +0 -1
  384. package/dist/models/integrations/sageone/Companies/CompanyNote.js +0 -6
  385. package/dist/models/integrations/sageone/Companies/CompanyNote.js.map +0 -1
  386. package/dist/models/integrations/sageone/Companies/index.d.ts +0 -8
  387. package/dist/models/integrations/sageone/Companies/index.d.ts.map +0 -1
  388. package/dist/models/integrations/sageone/Companies/index.js +0 -8
  389. package/dist/models/integrations/sageone/Companies/index.js.map +0 -1
  390. package/dist/models/integrations/sageone/Items/Account.d.ts +0 -24
  391. package/dist/models/integrations/sageone/Items/Account.d.ts.map +0 -1
  392. package/dist/models/integrations/sageone/Items/Account.js +0 -6
  393. package/dist/models/integrations/sageone/Items/Account.js.map +0 -1
  394. package/dist/models/integrations/sageone/Items/AccountCategory.d.ts +0 -13
  395. package/dist/models/integrations/sageone/Items/AccountCategory.d.ts.map +0 -1
  396. package/dist/models/integrations/sageone/Items/AccountCategory.js +0 -6
  397. package/dist/models/integrations/sageone/Items/AccountCategory.js.map +0 -1
  398. package/dist/models/integrations/sageone/Items/AdditionalItemPrice.d.ts +0 -12
  399. package/dist/models/integrations/sageone/Items/AdditionalItemPrice.d.ts.map +0 -1
  400. package/dist/models/integrations/sageone/Items/AdditionalItemPrice.js +0 -6
  401. package/dist/models/integrations/sageone/Items/AdditionalItemPrice.js.map +0 -1
  402. package/dist/models/integrations/sageone/Items/Item.d.ts +0 -69
  403. package/dist/models/integrations/sageone/Items/Item.d.ts.map +0 -1
  404. package/dist/models/integrations/sageone/Items/Item.js +0 -6
  405. package/dist/models/integrations/sageone/Items/Item.js.map +0 -1
  406. package/dist/models/integrations/sageone/Items/ItemAdjustment.d.ts +0 -17
  407. package/dist/models/integrations/sageone/Items/ItemAdjustment.d.ts.map +0 -1
  408. package/dist/models/integrations/sageone/Items/ItemAdjustment.js +0 -6
  409. package/dist/models/integrations/sageone/Items/ItemAdjustment.js.map +0 -1
  410. package/dist/models/integrations/sageone/Items/ItemAttachment.d.ts +0 -11
  411. package/dist/models/integrations/sageone/Items/ItemAttachment.d.ts.map +0 -1
  412. package/dist/models/integrations/sageone/Items/ItemAttachment.js +0 -6
  413. package/dist/models/integrations/sageone/Items/ItemAttachment.js.map +0 -1
  414. package/dist/models/integrations/sageone/Items/ItemCategory.d.ts +0 -11
  415. package/dist/models/integrations/sageone/Items/ItemCategory.d.ts.map +0 -1
  416. package/dist/models/integrations/sageone/Items/ItemCategory.js +0 -6
  417. package/dist/models/integrations/sageone/Items/ItemCategory.js.map +0 -1
  418. package/dist/models/integrations/sageone/Items/ItemNote.d.ts +0 -18
  419. package/dist/models/integrations/sageone/Items/ItemNote.d.ts.map +0 -1
  420. package/dist/models/integrations/sageone/Items/ItemNote.js +0 -6
  421. package/dist/models/integrations/sageone/Items/ItemNote.js.map +0 -1
  422. package/dist/models/integrations/sageone/Items/ItemReportGroup.d.ts +0 -15
  423. package/dist/models/integrations/sageone/Items/ItemReportGroup.d.ts.map +0 -1
  424. package/dist/models/integrations/sageone/Items/ItemReportGroup.js +0 -6
  425. package/dist/models/integrations/sageone/Items/ItemReportGroup.js.map +0 -1
  426. package/dist/models/integrations/sageone/Items/TaxType.d.ts +0 -18
  427. package/dist/models/integrations/sageone/Items/TaxType.d.ts.map +0 -1
  428. package/dist/models/integrations/sageone/Items/TaxType.js +0 -6
  429. package/dist/models/integrations/sageone/Items/TaxType.js.map +0 -1
  430. package/dist/models/integrations/sageone/Items/index.d.ts +0 -15
  431. package/dist/models/integrations/sageone/Items/index.d.ts.map +0 -1
  432. package/dist/models/integrations/sageone/Items/index.js +0 -15
  433. package/dist/models/integrations/sageone/Items/index.js.map +0 -1
  434. package/dist/models/integrations/sageone/PurchaseOrders/EmailPurchaseOrder.d.ts +0 -11
  435. package/dist/models/integrations/sageone/PurchaseOrders/EmailPurchaseOrder.d.ts.map +0 -1
  436. package/dist/models/integrations/sageone/PurchaseOrders/EmailPurchaseOrder.js +0 -6
  437. package/dist/models/integrations/sageone/PurchaseOrders/EmailPurchaseOrder.js.map +0 -1
  438. package/dist/models/integrations/sageone/PurchaseOrders/PurchaseOrder.d.ts +0 -17
  439. package/dist/models/integrations/sageone/PurchaseOrders/PurchaseOrder.d.ts.map +0 -1
  440. package/dist/models/integrations/sageone/PurchaseOrders/PurchaseOrder.js +0 -6
  441. package/dist/models/integrations/sageone/PurchaseOrders/PurchaseOrder.js.map +0 -1
  442. package/dist/models/integrations/sageone/PurchaseOrders/PurchaseOrderLine.d.ts +0 -12
  443. package/dist/models/integrations/sageone/PurchaseOrders/PurchaseOrderLine.d.ts.map +0 -1
  444. package/dist/models/integrations/sageone/PurchaseOrders/PurchaseOrderLine.js +0 -6
  445. package/dist/models/integrations/sageone/PurchaseOrders/PurchaseOrderLine.js.map +0 -1
  446. package/dist/models/integrations/sageone/PurchaseOrders/index.d.ts +0 -8
  447. package/dist/models/integrations/sageone/PurchaseOrders/index.d.ts.map +0 -1
  448. package/dist/models/integrations/sageone/PurchaseOrders/index.js +0 -8
  449. package/dist/models/integrations/sageone/PurchaseOrders/index.js.map +0 -1
  450. package/dist/models/integrations/sageone/SageOneApiConfig.d.ts +0 -15
  451. package/dist/models/integrations/sageone/SageOneApiConfig.d.ts.map +0 -1
  452. package/dist/models/integrations/sageone/SageOneApiConfig.js +0 -6
  453. package/dist/models/integrations/sageone/SageOneApiConfig.js.map +0 -1
  454. package/dist/models/integrations/sageone/SageOneResponse.d.ts +0 -10
  455. package/dist/models/integrations/sageone/SageOneResponse.d.ts.map +0 -1
  456. package/dist/models/integrations/sageone/SageOneResponse.js +0 -6
  457. package/dist/models/integrations/sageone/SageOneResponse.js.map +0 -1
  458. package/dist/models/integrations/sageone/Suppliers/Supplier.d.ts +0 -54
  459. package/dist/models/integrations/sageone/Suppliers/Supplier.d.ts.map +0 -1
  460. package/dist/models/integrations/sageone/Suppliers/Supplier.js +0 -6
  461. package/dist/models/integrations/sageone/Suppliers/Supplier.js.map +0 -1
  462. package/dist/models/integrations/sageone/Suppliers/SupplierAdditionalContactDetail.d.ts +0 -18
  463. package/dist/models/integrations/sageone/Suppliers/SupplierAdditionalContactDetail.d.ts.map +0 -1
  464. package/dist/models/integrations/sageone/Suppliers/SupplierAdditionalContactDetail.js +0 -6
  465. package/dist/models/integrations/sageone/Suppliers/SupplierAdditionalContactDetail.js.map +0 -1
  466. package/dist/models/integrations/sageone/Suppliers/SupplierBankDetail.d.ts +0 -17
  467. package/dist/models/integrations/sageone/Suppliers/SupplierBankDetail.d.ts.map +0 -1
  468. package/dist/models/integrations/sageone/Suppliers/SupplierBankDetail.js +0 -6
  469. package/dist/models/integrations/sageone/Suppliers/SupplierBankDetail.js.map +0 -1
  470. package/dist/models/integrations/sageone/Suppliers/SupplierCategory.d.ts +0 -11
  471. package/dist/models/integrations/sageone/Suppliers/SupplierCategory.d.ts.map +0 -1
  472. package/dist/models/integrations/sageone/Suppliers/SupplierCategory.js +0 -6
  473. package/dist/models/integrations/sageone/Suppliers/SupplierCategory.js.map +0 -1
  474. package/dist/models/integrations/sageone/Suppliers/SupplierNote.d.ts +0 -18
  475. package/dist/models/integrations/sageone/Suppliers/SupplierNote.d.ts.map +0 -1
  476. package/dist/models/integrations/sageone/Suppliers/SupplierNote.js +0 -6
  477. package/dist/models/integrations/sageone/Suppliers/SupplierNote.js.map +0 -1
  478. package/dist/models/integrations/sageone/Suppliers/index.d.ts +0 -8
  479. package/dist/models/integrations/sageone/Suppliers/index.d.ts.map +0 -1
  480. package/dist/models/integrations/sageone/Suppliers/index.js +0 -8
  481. package/dist/models/integrations/sageone/Suppliers/index.js.map +0 -1
  482. package/dist/models/integrations/sageone/index.d.ts +0 -11
  483. package/dist/models/integrations/sageone/index.d.ts.map +0 -1
  484. package/dist/models/integrations/sageone/index.js +0 -13
  485. package/dist/models/integrations/sageone/index.js.map +0 -1
  486. package/dist/models/procurements/CacheKeys/SageItemCacheKeys.d.ts +0 -11
  487. package/dist/models/procurements/CacheKeys/SageItemCacheKeys.d.ts.map +0 -1
  488. package/dist/models/procurements/CacheKeys/SageItemCacheKeys.js +0 -10
  489. package/dist/models/procurements/CacheKeys/SageItemCacheKeys.js.map +0 -1
  490. package/dist/models/procurements/CacheKeys/SagePurchaseOrderCacheKeys.d.ts +0 -11
  491. package/dist/models/procurements/CacheKeys/SagePurchaseOrderCacheKeys.d.ts.map +0 -1
  492. package/dist/models/procurements/CacheKeys/SagePurchaseOrderCacheKeys.js +0 -10
  493. package/dist/models/procurements/CacheKeys/SagePurchaseOrderCacheKeys.js.map +0 -1
  494. package/dist/models/suppliers/SageOne/SageOneSupplier.d.ts +0 -54
  495. package/dist/models/suppliers/SageOne/SageOneSupplier.d.ts.map +0 -1
  496. package/dist/models/suppliers/SageOne/SageOneSupplier.js +0 -6
  497. package/dist/models/suppliers/SageOne/SageOneSupplier.js.map +0 -1
  498. package/dist/models/suppliers/SageOne/SageOneSupplierBankDetail.d.ts +0 -17
  499. package/dist/models/suppliers/SageOne/SageOneSupplierBankDetail.d.ts.map +0 -1
  500. package/dist/models/suppliers/SageOne/SageOneSupplierBankDetail.js +0 -6
  501. package/dist/models/suppliers/SageOne/SageOneSupplierBankDetail.js.map +0 -1
  502. package/dist/models/suppliers/SageOne/SageOneSupplierCategory.d.ts +0 -11
  503. package/dist/models/suppliers/SageOne/SageOneSupplierCategory.d.ts.map +0 -1
  504. package/dist/models/suppliers/SageOne/SageOneSupplierCategory.js +0 -6
  505. package/dist/models/suppliers/SageOne/SageOneSupplierCategory.js.map +0 -1
  506. package/dist/models/suppliers/SageOne/SageOneSupplierContact.d.ts +0 -18
  507. package/dist/models/suppliers/SageOne/SageOneSupplierContact.d.ts.map +0 -1
  508. package/dist/models/suppliers/SageOne/SageOneSupplierContact.js +0 -6
  509. package/dist/models/suppliers/SageOne/SageOneSupplierContact.js.map +0 -1
  510. package/dist/models/suppliers/SageOne/SageOneSupplierNote.d.ts +0 -18
  511. package/dist/models/suppliers/SageOne/SageOneSupplierNote.d.ts.map +0 -1
  512. package/dist/models/suppliers/SageOne/SageOneSupplierNote.js +0 -6
  513. package/dist/models/suppliers/SageOne/SageOneSupplierNote.js.map +0 -1
  514. package/dist/models/suppliers/SageOne/index.d.ts +0 -10
  515. package/dist/models/suppliers/SageOne/index.d.ts.map +0 -1
  516. package/dist/models/suppliers/SageOne/index.js +0 -10
  517. package/dist/models/suppliers/SageOne/index.js.map +0 -1
  518. package/dist/services/procurements/SageCompanyService.d.ts +0 -92
  519. package/dist/services/procurements/SageCompanyService.d.ts.map +0 -1
  520. package/dist/services/procurements/SageCompanyService.js +0 -139
  521. package/dist/services/procurements/SageCompanyService.js.map +0 -1
  522. package/dist/services/procurements/SageItemService.d.ts +0 -214
  523. package/dist/services/procurements/SageItemService.d.ts.map +0 -1
  524. package/dist/services/procurements/SageItemService.js +0 -348
  525. package/dist/services/procurements/SageItemService.js.map +0 -1
  526. package/dist/services/procurements/SagePurchaseOrderService.d.ts +0 -103
  527. package/dist/services/procurements/SagePurchaseOrderService.d.ts.map +0 -1
  528. package/dist/services/procurements/SagePurchaseOrderService.js +0 -164
  529. package/dist/services/procurements/SagePurchaseOrderService.js.map +0 -1
  530. package/dist/services/suppliers/SupplierBankDetailService.d.ts +0 -32
  531. package/dist/services/suppliers/SupplierBankDetailService.d.ts.map +0 -1
  532. package/dist/services/suppliers/SupplierBankDetailService.js +0 -42
  533. package/dist/services/suppliers/SupplierBankDetailService.js.map +0 -1
  534. package/dist/services/suppliers/SupplierCategoryService.d.ts +0 -19
  535. package/dist/services/suppliers/SupplierCategoryService.d.ts.map +0 -1
  536. package/dist/services/suppliers/SupplierCategoryService.js +0 -22
  537. package/dist/services/suppliers/SupplierCategoryService.js.map +0 -1
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Booking Calendar Event
3
+ *
4
+ * Calendar-friendly representation of a booking or blockout for scheduling views.
5
+ */
6
+ export interface BookingCalendarEvent {
7
+ /** Booking ID */
8
+ bookingID: number;
9
+ /** Resource ID */
10
+ resourceID: number;
11
+ /** Resource display name */
12
+ resourceName?: string | null;
13
+ /** Resource type display name */
14
+ resourceTypeName?: string | null;
15
+ /** Resource type hex color (for styling) */
16
+ resourceTypeColor?: string | null;
17
+ /** Event start time (yyyyMMddHHmmss) */
18
+ startDateTime: number;
19
+ /** Event end time (yyyyMMddHHmmss) */
20
+ endDateTime: number;
21
+ /** Booking status ID */
22
+ bookingStatusID: number;
23
+ /** Resolved booking status name */
24
+ statusName?: string | null;
25
+ /** Status hex color (for styling) */
26
+ statusColor?: string | null;
27
+ /** Resolved user display name (visible only to BookingAdmin; null for Staff) */
28
+ userDisplayName?: string | null;
29
+ /** Purpose of the booking */
30
+ purpose?: string | null;
31
+ /** Whether this event represents a blockout rather than a booking */
32
+ isBlockout: boolean;
33
+ /** Blockout reason (only when isBlockout is true) */
34
+ blockoutReason?: string | null;
35
+ }
36
+ //# sourceMappingURL=BookingCalendarEvent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BookingCalendarEvent.d.ts","sourceRoot":"","sources":["../../../../src/models/bookings/ModelView/BookingCalendarEvent.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,iBAAiB;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,4BAA4B;IAC5B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,iCAAiC;IACjC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,4CAA4C;IAC5C,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,wCAAwC;IACxC,aAAa,EAAE,MAAM,CAAC;IACtB,sCAAsC;IACtC,WAAW,EAAE,MAAM,CAAC;IACpB,wBAAwB;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,mCAAmC;IACnC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,qCAAqC;IACrC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,gFAAgF;IAChF,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,6BAA6B;IAC7B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,qEAAqE;IACrE,UAAU,EAAE,OAAO,CAAC;IACpB,qDAAqD;IACrD,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=BookingCalendarEvent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BookingCalendarEvent.js","sourceRoot":"","sources":["../../../../src/models/bookings/ModelView/BookingCalendarEvent.ts"],"names":[],"mappings":""}
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Booking Dashboard Stats
3
+ *
4
+ * Aggregated statistics for the booking management dashboard.
5
+ */
6
+ export interface BookingDashboardStats {
7
+ /** Total number of bookings */
8
+ totalBookings: number;
9
+ /** Number of currently active bookings */
10
+ activeBookings: number;
11
+ /** Number of bookings pending approval */
12
+ pendingApprovals: number;
13
+ /** Number of overdue bookings */
14
+ overdueBookings: number;
15
+ /** Number of bookings completed today */
16
+ completedToday: number;
17
+ /** Number of bookings completed this week */
18
+ completedThisWeek: number;
19
+ /** Number of bookings completed this month */
20
+ completedThisMonth: number;
21
+ /** Number of users flagged as non-compliant */
22
+ nonCompliantUserCount: number;
23
+ /** Resource utilization percentages by resource name */
24
+ resourceUtilization?: Record<string, number> | null;
25
+ /** Top used resources */
26
+ topUsedResources?: ResourceUsageStat[] | null;
27
+ /** Average booking duration by resource type name */
28
+ averageDurationByType?: Record<string, number> | null;
29
+ }
30
+ /**
31
+ * Resource Usage Stat
32
+ *
33
+ * Usage statistics for a single bookable resource.
34
+ */
35
+ export interface ResourceUsageStat {
36
+ /** Resource ID */
37
+ resourceID: number;
38
+ /** Resource display name */
39
+ resourceName?: string | null;
40
+ /** Total number of bookings for this resource */
41
+ bookingCount: number;
42
+ }
43
+ //# sourceMappingURL=BookingDashboardStats.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BookingDashboardStats.d.ts","sourceRoot":"","sources":["../../../../src/models/bookings/ModelView/BookingDashboardStats.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC,+BAA+B;IAC/B,aAAa,EAAE,MAAM,CAAC;IACtB,0CAA0C;IAC1C,cAAc,EAAE,MAAM,CAAC;IACvB,0CAA0C;IAC1C,gBAAgB,EAAE,MAAM,CAAC;IACzB,iCAAiC;IACjC,eAAe,EAAE,MAAM,CAAC;IACxB,yCAAyC;IACzC,cAAc,EAAE,MAAM,CAAC;IACvB,6CAA6C;IAC7C,iBAAiB,EAAE,MAAM,CAAC;IAC1B,8CAA8C;IAC9C,kBAAkB,EAAE,MAAM,CAAC;IAC3B,+CAA+C;IAC/C,qBAAqB,EAAE,MAAM,CAAC;IAC9B,wDAAwD;IACxD,mBAAmB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC;IACpD,yBAAyB;IACzB,gBAAgB,CAAC,EAAE,iBAAiB,EAAE,GAAG,IAAI,CAAC;IAC9C,qDAAqD;IACrD,qBAAqB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC;CACvD;AAED;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC,kBAAkB;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,4BAA4B;IAC5B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,iDAAiD;IACjD,YAAY,EAAE,MAAM,CAAC;CACtB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=BookingDashboardStats.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BookingDashboardStats.js","sourceRoot":"","sources":["../../../../src/models/bookings/ModelView/BookingDashboardStats.ts"],"names":[],"mappings":""}
@@ -0,0 +1,146 @@
1
+ import { BookingModelView } from './BookingModelView';
2
+ /**
3
+ * Booking Detail Model View
4
+ *
5
+ * Extended booking view with full detail including logs, media, accessories, and history.
6
+ */
7
+ export interface BookingDetailModelView extends BookingModelView {
8
+ /** Pre-trip log */
9
+ preLog?: BookingLogModelViewRef | null;
10
+ /** Post-trip log */
11
+ postLog?: BookingLogModelViewRef | null;
12
+ /** Media items associated with this booking's logs */
13
+ mediaItems?: BookingLogMediaItem[] | null;
14
+ /** Accessories associated with the booked resource */
15
+ accessories?: BookingAccessoryItem[] | null;
16
+ /** Status change history for this booking */
17
+ statusHistory?: BookingStatusHistoryItem[] | null;
18
+ }
19
+ /**
20
+ * Booking Log Model View Reference
21
+ *
22
+ * Log view for embedding in booking detail views.
23
+ * Mirrors the backend BookingLogModelView structure.
24
+ */
25
+ export interface BookingLogModelViewRef {
26
+ /** Unique log identifier */
27
+ logID: number;
28
+ /** Booking ID reference */
29
+ bookingID: number;
30
+ /** Log type: 'Pre' or 'Post' */
31
+ logType: string;
32
+ /** User ID who submitted the log */
33
+ userId?: string | null;
34
+ /** Mileage before the trip */
35
+ mileageBefore?: number | null;
36
+ /** Mileage after the trip */
37
+ mileageAfter?: number | null;
38
+ /** Fuel level */
39
+ fuelLevel?: string | null;
40
+ /** Overall condition rating (1-5) */
41
+ conditionRating?: number | null;
42
+ /** Notes describing any damage found */
43
+ damageNotes?: string | null;
44
+ /** Battery percentage */
45
+ batteryPercent?: number | null;
46
+ /** Data balance */
47
+ dataBalance?: string | null;
48
+ /** Accessories present (JSON) */
49
+ accessoriesPresent?: string | null;
50
+ /** Additional notes */
51
+ notes?: string | null;
52
+ /** Extended data (JSON) */
53
+ extendedData?: string | null;
54
+ /** Timestamp when the log was completed (yyyyMMddHHmmss) */
55
+ completedDateTime?: number | null;
56
+ /** Booking purpose */
57
+ bookingPurpose?: string | null;
58
+ /** Resource name */
59
+ resourceName?: string | null;
60
+ /** Resource type name */
61
+ resourceTypeName?: string | null;
62
+ /** Resolved user display name */
63
+ userDisplayName?: string | null;
64
+ /** Number of media attachments */
65
+ mediaCount: number;
66
+ /** Media URLs */
67
+ mediaUrls?: string[] | null;
68
+ /** Whether damage was reported */
69
+ hasDamage: boolean;
70
+ /** Whether media is attached */
71
+ hasMedia: boolean;
72
+ /** Whether this is a pre-trip log */
73
+ isPreLog: boolean;
74
+ /** Whether this is a post-trip log */
75
+ isPostLog: boolean;
76
+ /** Display label (e.g., "Pre-Trip Log" or "Post-Trip Log") */
77
+ logTypeDisplay: string;
78
+ /** Condition label (e.g., "Excellent", "Good", "Fair", "Poor") */
79
+ conditionLabel?: string | null;
80
+ /** Truncated preview of damage notes */
81
+ damagePreview?: string | null;
82
+ /** Searchable text */
83
+ searchKeywords: string;
84
+ /** Creation timestamp (yyyyMMddHHmmss) */
85
+ createdDateTime: number;
86
+ /** Last modification timestamp (yyyyMMddHHmmss) */
87
+ modifiedDateTime: number;
88
+ }
89
+ /**
90
+ * Booking Log Media Item
91
+ *
92
+ * Media reference for embedding in booking detail views.
93
+ */
94
+ export interface BookingLogMediaItem {
95
+ /** Unique media identifier */
96
+ mediaID: number;
97
+ /** URL of the media file */
98
+ mediaUrl?: string | null;
99
+ /** Type of media: Image, Document, Video */
100
+ mediaType?: string | null;
101
+ /** Optional caption for the media */
102
+ caption?: string | null;
103
+ /** File size in bytes */
104
+ fileSize: number;
105
+ /** MIME type (e.g., "image/jpeg") */
106
+ mimeType?: string | null;
107
+ }
108
+ /**
109
+ * Booking Accessory Item
110
+ *
111
+ * Accessory reference for embedding in booking detail views.
112
+ */
113
+ export interface BookingAccessoryItem {
114
+ /** Unique accessory identifier */
115
+ accessoryID: number;
116
+ /** Display name of the accessory */
117
+ name?: string | null;
118
+ /** Description of the accessory */
119
+ description?: string | null;
120
+ /** Whether this accessory is required for the resource */
121
+ isRequired: boolean;
122
+ }
123
+ /**
124
+ * Booking Status History Item
125
+ *
126
+ * Status history entry for embedding in booking detail views.
127
+ */
128
+ export interface BookingStatusHistoryItem {
129
+ /** Unique history identifier */
130
+ historyID: number;
131
+ /** Resolved name of the previous status */
132
+ oldStatusName?: string | null;
133
+ /** Color of the previous status */
134
+ oldStatusColor?: string | null;
135
+ /** Resolved name of the new status */
136
+ newStatusName?: string | null;
137
+ /** Color of the new status */
138
+ newStatusColor?: string | null;
139
+ /** Resolved display name of the user who made the change */
140
+ changedByDisplayName?: string | null;
141
+ /** Timestamp of the change (yyyyMMddHHmmss) */
142
+ changedDateTime?: number | null;
143
+ /** Reason for the status change */
144
+ reason?: string | null;
145
+ }
146
+ //# sourceMappingURL=BookingDetailModelView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BookingDetailModelView.d.ts","sourceRoot":"","sources":["../../../../src/models/bookings/ModelView/BookingDetailModelView.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD;;;;GAIG;AACH,MAAM,WAAW,sBAAuB,SAAQ,gBAAgB;IAC9D,mBAAmB;IACnB,MAAM,CAAC,EAAE,sBAAsB,GAAG,IAAI,CAAC;IACvC,oBAAoB;IACpB,OAAO,CAAC,EAAE,sBAAsB,GAAG,IAAI,CAAC;IACxC,sDAAsD;IACtD,UAAU,CAAC,EAAE,mBAAmB,EAAE,GAAG,IAAI,CAAC;IAC1C,sDAAsD;IACtD,WAAW,CAAC,EAAE,oBAAoB,EAAE,GAAG,IAAI,CAAC;IAC5C,6CAA6C;IAC7C,aAAa,CAAC,EAAE,wBAAwB,EAAE,GAAG,IAAI,CAAC;CACnD;AAED;;;;;GAKG;AACH,MAAM,WAAW,sBAAsB;IACrC,4BAA4B;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,2BAA2B;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,gCAAgC;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,oCAAoC;IACpC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,8BAA8B;IAC9B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,6BAA6B;IAC7B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,iBAAiB;IACjB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B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Ae,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,mCAAmC;IACnC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=BookingDetailModelView.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BookingDetailModelView.js","sourceRoot":"","sources":["../../../../src/models/bookings/ModelView/BookingDetailModelView.ts"],"names":[],"mappings":""}
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Booking Filter Model
3
+ *
4
+ * Filter and pagination parameters for querying bookings.
5
+ */
6
+ export interface BookingFilterModel {
7
+ /** Filter by user ID */
8
+ userId?: string | null;
9
+ /** Filter by resource ID */
10
+ resourceId?: number | null;
11
+ /** Filter by resource type ID */
12
+ resourceTypeId?: number | null;
13
+ /** Filter by booking status ID */
14
+ bookingStatusId?: number | null;
15
+ /** Filter by location ID */
16
+ locationId?: number | null;
17
+ /** Filter bookings starting from this date (yyyyMMdd or yyyyMMddHHmmss) */
18
+ startDate?: string | null;
19
+ /** Filter bookings up to this date (yyyyMMdd or yyyyMMddHHmmss) */
20
+ endDate?: string | null;
21
+ /** Filter by overdue status */
22
+ isOverdue?: boolean | null;
23
+ /** Filter by compliance status */
24
+ isCompliant?: boolean | null;
25
+ /** Free-text search */
26
+ searchText?: string | null;
27
+ /** Page number (default 1) */
28
+ page?: number;
29
+ /** Page size (default 20) */
30
+ pageSize?: number;
31
+ /** Property name to sort by (default "CreatedDateTime") */
32
+ sortBy?: string | null;
33
+ /** Sort direction: 'ASC' or 'DESC' (default "DESC") */
34
+ sortDirection?: string | null;
35
+ }
36
+ //# sourceMappingURL=BookingFilterModel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BookingFilterModel.d.ts","sourceRoot":"","sources":["../../../../src/models/bookings/ModelView/BookingFilterModel.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IACjC,wBAAwB;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,4BAA4B;IAC5B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,iCAAiC;IACjC,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,kCAAkC;IAClC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,4BAA4B;IAC5B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,2EAA2E;IAC3E,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,mEAAmE;IACnE,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC3B,kCAAkC;IAClC,WAAW,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC7B,uBAAuB;IACvB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,8BAA8B;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2DAA2D;IAC3D,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,uDAAuD;IACvD,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=BookingFilterModel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BookingFilterModel.js","sourceRoot":"","sources":["../../../../src/models/bookings/ModelView/BookingFilterModel.ts"],"names":[],"mappings":""}
@@ -0,0 +1,76 @@
1
+ /**
2
+ * Booking Log Model View
3
+ *
4
+ * Extended booking log view with resolved lookup names for display.
5
+ */
6
+ export interface BookingLogModelView {
7
+ /** Unique log identifier */
8
+ logID: number;
9
+ /** Booking ID reference */
10
+ bookingID: number;
11
+ /** Log type: 'Pre' or 'Post' */
12
+ logType: string;
13
+ /** User ID who submitted the log */
14
+ userId?: string | null;
15
+ /** Mileage before the trip */
16
+ mileageBefore?: number | null;
17
+ /** Mileage after the trip */
18
+ mileageAfter?: number | null;
19
+ /** Fuel level (e.g., "Full", "3/4", "1/2", "1/4", "Empty") */
20
+ fuelLevel?: string | null;
21
+ /** Overall condition rating (1-5) */
22
+ conditionRating?: number | null;
23
+ /** Notes describing any damage found */
24
+ damageNotes?: string | null;
25
+ /** Battery percentage */
26
+ batteryPercent?: number | null;
27
+ /** Data balance */
28
+ dataBalance?: string | null;
29
+ /** Accessories present (JSON) */
30
+ accessoriesPresent?: string | null;
31
+ /** Additional notes */
32
+ notes?: string | null;
33
+ /** Extended data (JSON) */
34
+ extendedData?: string | null;
35
+ /** Timestamp when the log was completed (yyyyMMddHHmmss) */
36
+ completedDateTime?: number | null;
37
+ /** GPS latitude at time of log */
38
+ logLatitude?: number | null;
39
+ /** GPS longitude at time of log */
40
+ logLongitude?: number | null;
41
+ /** Address at time of log */
42
+ logAddress?: string | null;
43
+ /** Booking purpose */
44
+ bookingPurpose?: string | null;
45
+ /** Resolved resource name */
46
+ resourceName?: string | null;
47
+ /** Resolved resource type name */
48
+ resourceTypeName?: string | null;
49
+ /** Resolved user display name */
50
+ userDisplayName?: string | null;
51
+ /** Number of media attachments */
52
+ mediaCount: number;
53
+ /** Media URLs */
54
+ mediaUrls?: string[] | null;
55
+ /** Whether damage was reported */
56
+ hasDamage: boolean;
57
+ /** Whether media is attached */
58
+ hasMedia: boolean;
59
+ /** Whether this is a pre-trip log */
60
+ isPreLog: boolean;
61
+ /** Whether this is a post-trip log */
62
+ isPostLog: boolean;
63
+ /** Display label (e.g., "Pre-Trip Log" or "Post-Trip Log") */
64
+ logTypeDisplay: string;
65
+ /** Condition label (e.g., "Poor", "Fair", "Good", "Very Good", "Excellent") */
66
+ conditionLabel?: string | null;
67
+ /** Truncated preview of damage notes (first 100 chars) */
68
+ damagePreview?: string | null;
69
+ /** Searchable text concatenation */
70
+ searchKeywords: string;
71
+ /** Creation timestamp (yyyyMMddHHmmss) */
72
+ createdDateTime: number;
73
+ /** Last modification timestamp (yyyyMMddHHmmss) */
74
+ modifiedDateTime: number;
75
+ }
76
+ //# sourceMappingURL=BookingLogModelView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BookingLogModelView.d.ts","sourceRoot":"","sources":["../../../../src/models/bookings/ModelView/BookingLogModelView.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC,4BAA4B;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,2BAA2B;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,gCAAgC;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,oCAAoC;IACpC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGvB,8BAA8B;IAC9B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,6BAA6B;IAC7B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,8DAA8D;IAC9D,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,qCAAqC;IACrC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,wCAAwC;IACxC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG5B,yBAAyB;IACzB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,mBAAmB;IACnB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG5B,iCAAiC;IACjC,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,uBAAuB;IACvB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,2BAA2B;IAC3B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,4DAA4D;IAC5D,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGlC,kCAAkC;IAClC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,mCAAmC;IACnC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,6BAA6B;IAC7B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG3B,sBAAsB;IACtB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,6BAA6B;IAC7B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,kCAAkC;IAClC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,iCAAiC;IACjC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,kCAAkC;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB;IACjB,SAAS,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAG5B,kCAAkC;IAClC,SAAS,EAAE,OAAO,CAAC;IACnB,gCAAgC;IAChC,QAAQ,EAAE,OAAO,CAAC;IAClB,qCAAqC;IACrC,QAAQ,EAAE,OAAO,CAAC;IAClB,sCAAsC;IACtC,SAAS,EAAE,OAAO,CAAC;IACnB,8DAA8D;IAC9D,cAAc,EAAE,MAAM,CAAC;IACvB,+EAA+E;IAC/E,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,0DAA0D;IAC1D,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,oCAAoC;IACpC,cAAc,EAAE,MAAM,CAAC;IAEvB,0CAA0C;IAC1C,eAAe,EAAE,MAAM,CAAC;IACxB,mDAAmD;IACnD,gBAAgB,EAAE,MAAM,CAAC;CAC1B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=BookingLogModelView.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BookingLogModelView.js","sourceRoot":"","sources":["../../../../src/models/bookings/ModelView/BookingLogModelView.ts"],"names":[],"mappings":""}
@@ -0,0 +1,107 @@
1
+ /**
2
+ * Booking Model View
3
+ *
4
+ * Extended booking view with resolved lookup names for list display.
5
+ */
6
+ export interface BookingModelView {
7
+ /** Unique booking identifier */
8
+ bookingID: number;
9
+ /** Resource ID */
10
+ resourceID: number;
11
+ /** User ID who created the booking */
12
+ userId?: string | null;
13
+ /** Booking status ID (0=Pending, 1=Approved, 2=Active, 3=Completed, -1=Rejected, -2=Cancelled, -3=Overdue, -4=Incomplete) */
14
+ bookingStatusID: number;
15
+ /** Purpose or reason for the booking */
16
+ purpose?: string | null;
17
+ /** Scheduled start time (yyyyMMddHHmmss) */
18
+ startDateTime: number;
19
+ /** Scheduled end time (yyyyMMddHHmmss) */
20
+ endDateTime: number;
21
+ /** Additional notes */
22
+ notes?: string | null;
23
+ /** Whether the booking is compliant with all policies */
24
+ isCompliant: boolean;
25
+ /** Accessory notes */
26
+ accessoryNotes?: string | null;
27
+ /** User ID who approved/rejected */
28
+ approvedBy?: string | null;
29
+ /** Approval timestamp (yyyyMMddHHmmss) */
30
+ approvedDateTime?: number | null;
31
+ /** Rejection reason */
32
+ rejectedReason?: string | null;
33
+ /** Whether destination is internal */
34
+ isInternalLocation: boolean;
35
+ /** Internal location ID */
36
+ internalLocationID?: number | null;
37
+ /** External address fields */
38
+ externalAddress?: string | null;
39
+ externalCity?: string | null;
40
+ externalSuburb?: string | null;
41
+ externalProvince?: string | null;
42
+ externalPostalCode?: string | null;
43
+ externalCountry?: string | null;
44
+ /** Destination description */
45
+ destinationDescription?: string | null;
46
+ /** Estimated return date time (yyyyMMddHHmmss) */
47
+ estimatedReturnDateTime?: number | null;
48
+ /** Actual start (yyyyMMddHHmmss) */
49
+ actualStartDateTime?: number | null;
50
+ /** Actual end (yyyyMMddHHmmss) */
51
+ actualEndDateTime?: number | null;
52
+ /** Total duration in minutes */
53
+ totalDurationMinutes?: number | null;
54
+ /** Distance travelled */
55
+ distanceTravelled?: number | null;
56
+ /** Fuel used */
57
+ fuelUsed?: string | null;
58
+ /** Resolved resource name */
59
+ resourceName?: string | null;
60
+ /** Resolved resource type name */
61
+ resourceTypeName?: string | null;
62
+ /** Resource type hex color */
63
+ resourceTypeColor?: string | null;
64
+ /** Resolved booking status name */
65
+ statusName?: string | null;
66
+ /** Status hex color */
67
+ statusColor?: string | null;
68
+ /** Status icon identifier */
69
+ statusIcon?: string | null;
70
+ /** Resolved user display name */
71
+ userDisplayName?: string | null;
72
+ /** User email */
73
+ userEmail?: string | null;
74
+ /** User avatar URL */
75
+ userAvatar?: string | null;
76
+ /** Resolved approver display name */
77
+ approverDisplayName?: string | null;
78
+ /** Whether a pre-trip log has been submitted */
79
+ hasPreLog: boolean;
80
+ /** Whether a post-trip log has been submitted */
81
+ hasPostLog: boolean;
82
+ /** Whether the booking is overdue */
83
+ isOverdue: boolean;
84
+ /** Whether the booking is currently active */
85
+ isActive: boolean;
86
+ /** Whether the booking is pending */
87
+ isPending: boolean;
88
+ /** Whether the booking is completed */
89
+ isCompleted: boolean;
90
+ /** Duration in hours */
91
+ durationHours: number;
92
+ /** Formatted destination display */
93
+ destinationDisplay?: string | null;
94
+ /** Status with icon */
95
+ statusDisplay?: string | null;
96
+ /** Display title (e.g., "Booking #ID - ResourceName") */
97
+ displayTitle: string;
98
+ /** Days since creation */
99
+ bookingAge: number;
100
+ /** Searchable text concatenation */
101
+ searchKeywords: string;
102
+ /** Creation timestamp (yyyyMMddHHmmss) */
103
+ createdDateTime: number;
104
+ /** Last modification timestamp (yyyyMMddHHmmss) */
105
+ modifiedDateTime: number;
106
+ }
107
+ //# sourceMappingURL=BookingModelView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BookingModelView.d.ts","sourceRoot":"","sources":["../../../../src/models/bookings/ModelView/BookingModelView.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B,gCAAgC;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB;IAClB,UA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ACxB,aAAa,EAAE,MAAM,CAAC;IACtB,oCAAoC;IACpC,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,uBAAuB;IACvB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,yDAAyD;IACzD,YAAY,EAAE,MAAM,CAAC;IACrB,0BAA0B;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,oCAAoC;IACpC,cAAc,EAAE,MAAM,CAAC;IAEvB,0CAA0C;IAC1C,eAAe,EAAE,MAAM,CAAC;IACxB,mDAAmD;IACnD,gBAAgB,EAAE,MAAM,CAAC;CAC1B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=BookingModelView.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BookingModelView.js","sourceRoot":"","sources":["../../../../src/models/bookings/ModelView/BookingModelView.ts"],"names":[],"mappings":""}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Create Booking Log Request
3
+ *
4
+ * Request model for submitting a pre-trip or post-trip inspection log.
5
+ */
6
+ export interface CreateBookingLogRequest {
7
+ /** Booking ID to log against */
8
+ bookingID: number;
9
+ /** Log type: 'Pre' or 'Post' (default 'Pre') */
10
+ logType: string;
11
+ /** Mileage before the trip */
12
+ mileageBefore?: number | null;
13
+ /** Mileage after the trip */
14
+ mileageAfter?: number | null;
15
+ /** Fuel level (e.g., "Full", "3/4", "1/2", "1/4", "Empty") */
16
+ fuelLevel?: string | null;
17
+ /** Overall condition rating (1-5) */
18
+ conditionRating?: number | null;
19
+ /** Notes describing any damage found */
20
+ damageNotes?: string | null;
21
+ /** Battery percentage */
22
+ batteryPercent?: number | null;
23
+ /** Data balance */
24
+ dataBalance?: string | null;
25
+ /** Comma-separated list of accessories present (JSON) */
26
+ accessoriesPresent?: string | null;
27
+ /** Additional notes */
28
+ notes?: string | null;
29
+ /** Extended inspection data stored as JSON string */
30
+ extendedData?: string | null;
31
+ /** GPS latitude at time of log submission */
32
+ logLatitude?: number | null;
33
+ /** GPS longitude at time of log submission */
34
+ logLongitude?: number | null;
35
+ /** Address at time of log submission */
36
+ logAddress?: string | null;
37
+ }
38
+ //# sourceMappingURL=CreateBookingLogRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateBookingLogRequest.d.ts","sourceRoot":"","sources":["../../../../src/models/bookings/ModelView/CreateBookingLogRequest.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACtC,gCAAgC;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,gDAAgD;IAChD,OAAO,EAAE,MAAM,CAAC;IAChB,8BAA8B;IAC9B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,6BAA6B;IAC7B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,8DAA8D;IAC9D,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,qCAAqC;IACrC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,wCAAwC;IACxC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,yBAAyB;IACzB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,mBAAmB;IACnB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,yDAAyD;IACzD,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,uBAAuB;IACvB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,qDAAqD;IACrD,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,6CAA6C;IAC7C,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,8CAA8C;IAC9C,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,wCAAwC;IACxC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=CreateBookingLogRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateBookingLogRequest.js","sourceRoot":"","sources":["../../../../src/models/bookings/ModelView/CreateBookingLogRequest.ts"],"names":[],"mappings":""}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Create Booking Request
3
+ *
4
+ * Request model for creating a new booking.
5
+ */
6
+ export interface CreateBookingRequest {
7
+ /** Resource ID to book */
8
+ resourceID: number;
9
+ /** Requested start time (yyyyMMddHHmmss) */
10
+ startDateTime: number;
11
+ /** Requested end time (yyyyMMddHHmmss) */
12
+ endDateTime: number;
13
+ /** Purpose or reason for the booking */
14
+ purpose?: string | null;
15
+ /** Additional notes about the booking */
16
+ notes?: string | null;
17
+ /** Notes about accessories */
18
+ accessoryNotes?: string | null;
19
+ /** Whether the destination is an internal location */
20
+ isInternalLocation: boolean;
21
+ /** Internal location ID reference (when isInternalLocation is true) */
22
+ internalLocationID?: number | null;
23
+ /** External street address */
24
+ externalAddress?: string | null;
25
+ /** External city */
26
+ externalCity?: string | null;
27
+ /** External suburb */
28
+ externalSuburb?: string | null;
29
+ /** External province/state */
30
+ externalProvince?: string | null;
31
+ /** External postal code */
32
+ externalPostalCode?: string | null;
33
+ /** External country */
34
+ externalCountry?: string | null;
35
+ /** Description of the destination */
36
+ destinationDescription?: string | null;
37
+ }
38
+ //# sourceMappingURL=CreateBookingRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateBookingRequest.d.ts","sourceRoot":"","sources":["../../../../src/models/bookings/ModelView/CreateBookingRequest.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,0BAA0B;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,4CAA4C;IAC5C,aAAa,EAAE,MAAM,CAAC;IACtB,0CAA0C;IAC1C,WAAW,EAAE,MAAM,CAAC;IACpB,wCAAwC;IACxC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,yCAAyC;IACzC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,8BAA8B;IAC9B,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,sDAAsD;IACtD,kBAAkB,EAAE,OAAO,CAAC;IAC5B,uEAAuE;IACvE,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,8BAA8B;IAC9B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,oBAAoB;IACpB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,sBAAsB;IACtB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,8BAA8B;IAC9B,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,2BAA2B;IAC3B,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,uBAAuB;IACvB,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,qCAAqC;IACrC,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=CreateBookingRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateBookingRequest.js","sourceRoot":"","sources":["../../../../src/models/bookings/ModelView/CreateBookingRequest.ts"],"names":[],"mappings":""}