@actschurch/ccms-sdk 0.0.14 → 0.0.16

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 (291) hide show
  1. package/dist/auth/AuthManager.d.ts +11 -0
  2. package/dist/auth/AuthManager.d.ts.map +1 -1
  3. package/dist/auth/AuthManager.js +88 -7
  4. package/dist/auth/AuthManager.js.map +1 -1
  5. package/dist/auth/adapters/context.d.ts +2 -1
  6. package/dist/auth/adapters/context.d.ts.map +1 -1
  7. package/dist/auth/adapters/context.js +2 -1
  8. package/dist/auth/adapters/context.js.map +1 -1
  9. package/dist/auth/adapters/redux.d.ts +1 -0
  10. package/dist/auth/adapters/redux.d.ts.map +1 -1
  11. package/dist/auth/adapters/redux.js +2 -0
  12. package/dist/auth/adapters/redux.js.map +1 -1
  13. package/dist/auth/types.d.ts +8 -0
  14. package/dist/auth/types.d.ts.map +1 -1
  15. package/dist/auth/types.js +6 -0
  16. package/dist/auth/types.js.map +1 -1
  17. package/dist/models/integrations/sageone/Companies/Company.d.ts +5 -5
  18. package/dist/models/integrations/sageone/Companies/CompanyEntityType.d.ts +2 -2
  19. package/dist/models/integrations/sageone/Companies/CompanyNote.d.ts +5 -5
  20. package/dist/models/integrations/sageone/Items/Account.d.ts +15 -15
  21. package/dist/models/integrations/sageone/Items/AccountCategory.d.ts +6 -6
  22. package/dist/models/integrations/sageone/Items/AdditionalItemPrice.d.ts +5 -5
  23. package/dist/models/integrations/sageone/Items/Item.d.ts +56 -56
  24. package/dist/models/integrations/sageone/Items/ItemAdjustment.d.ts +8 -8
  25. package/dist/models/integrations/sageone/Items/ItemAttachment.d.ts +4 -4
  26. package/dist/models/integrations/sageone/Items/ItemCategory.d.ts +4 -4
  27. package/dist/models/integrations/sageone/Items/ItemNote.d.ts +11 -11
  28. package/dist/models/integrations/sageone/Items/ItemReportGroup.d.ts +7 -7
  29. package/dist/models/integrations/sageone/Items/TaxType.d.ts +11 -11
  30. package/dist/models/integrations/sageone/PurchaseOrders/EmailPurchaseOrder.d.ts +4 -4
  31. package/dist/models/integrations/sageone/PurchaseOrders/PurchaseOrder.d.ts +9 -9
  32. package/dist/models/integrations/sageone/PurchaseOrders/PurchaseOrderLine.d.ts +5 -5
  33. package/dist/models/integrations/sageone/SageOneApiConfig.d.ts +8 -8
  34. package/dist/models/integrations/sageone/SageOneResponse.d.ts +3 -3
  35. package/dist/models/integrations/sageone/Suppliers/Supplier.d.ts +46 -46
  36. package/dist/models/integrations/sageone/Suppliers/SupplierAdditionalContactDetail.d.ts +11 -11
  37. package/dist/models/integrations/sageone/Suppliers/SupplierBankDetail.d.ts +10 -10
  38. package/dist/models/integrations/sageone/Suppliers/SupplierCategory.d.ts +4 -4
  39. package/dist/models/integrations/sageone/Suppliers/SupplierNote.d.ts +11 -11
  40. package/dist/models/orders/ModelView/OrderLineModelView.d.ts +13 -0
  41. package/dist/models/orders/ModelView/OrderLineModelView.d.ts.map +1 -1
  42. package/dist/models/orders/ModelView/OrderLineStatusModelView.d.ts +49 -0
  43. package/dist/models/orders/ModelView/OrderLineStatusModelView.d.ts.map +1 -0
  44. package/dist/models/orders/ModelView/OrderLineStatusModelView.js +2 -0
  45. package/dist/models/orders/ModelView/OrderLineStatusModelView.js.map +1 -0
  46. package/dist/models/orders/ModelView/OrderModelView.d.ts +9 -0
  47. package/dist/models/orders/ModelView/OrderModelView.d.ts.map +1 -1
  48. package/dist/models/orders/ModelView/index.d.ts +1 -0
  49. package/dist/models/orders/ModelView/index.d.ts.map +1 -1
  50. package/dist/models/orders/ModelView/index.js +1 -0
  51. package/dist/models/orders/ModelView/index.js.map +1 -1
  52. package/dist/models/orders/OrderLine.d.ts +2 -0
  53. package/dist/models/orders/OrderLine.d.ts.map +1 -1
  54. package/dist/models/orders/OrderLineStatus.d.ts +15 -0
  55. package/dist/models/orders/OrderLineStatus.d.ts.map +1 -0
  56. package/dist/models/orders/OrderLineStatus.js +2 -0
  57. package/dist/models/orders/OrderLineStatus.js.map +1 -0
  58. package/dist/models/orders/ShopOrder.d.ts +57 -0
  59. package/dist/models/orders/ShopOrder.d.ts.map +1 -1
  60. package/dist/models/orders/index.d.ts +1 -0
  61. package/dist/models/orders/index.d.ts.map +1 -1
  62. package/dist/models/orders/index.js +1 -0
  63. package/dist/models/orders/index.js.map +1 -1
  64. package/dist/models/payments/PayFastModels.d.ts +3 -0
  65. package/dist/models/payments/PayFastModels.d.ts.map +1 -1
  66. package/dist/models/procurement/Invoice.d.ts +1 -0
  67. package/dist/models/procurement/Invoice.d.ts.map +1 -1
  68. package/dist/models/procurement/InvoiceLine.d.ts +1 -0
  69. package/dist/models/procurement/InvoiceLine.d.ts.map +1 -1
  70. package/dist/models/procurement/Quotation.d.ts +1 -0
  71. package/dist/models/procurement/Quotation.d.ts.map +1 -1
  72. package/dist/models/procurement/RequestPurchaseOrder.d.ts +5 -2
  73. package/dist/models/procurement/RequestPurchaseOrder.d.ts.map +1 -1
  74. package/dist/models/procurements/AuditLog.d.ts +9 -9
  75. package/dist/models/procurements/CacheKeys/CurrencyCacheKeys.d.ts +11 -0
  76. package/dist/models/procurements/CacheKeys/CurrencyCacheKeys.d.ts.map +1 -0
  77. package/dist/models/procurements/CacheKeys/CurrencyCacheKeys.js +10 -0
  78. package/dist/models/procurements/CacheKeys/CurrencyCacheKeys.js.map +1 -0
  79. package/dist/models/procurements/CacheKeys/QuotationLineApprovalCacheKeys.d.ts +14 -0
  80. package/dist/models/procurements/CacheKeys/QuotationLineApprovalCacheKeys.d.ts.map +1 -0
  81. package/dist/models/procurements/CacheKeys/QuotationLineApprovalCacheKeys.js +13 -0
  82. package/dist/models/procurements/CacheKeys/QuotationLineApprovalCacheKeys.js.map +1 -0
  83. package/dist/models/procurements/CacheKeys/index.d.ts +2 -0
  84. package/dist/models/procurements/CacheKeys/index.d.ts.map +1 -1
  85. package/dist/models/procurements/CacheKeys/index.js +2 -0
  86. package/dist/models/procurements/CacheKeys/index.js.map +1 -1
  87. package/dist/models/procurements/Currency.d.ts +13 -0
  88. package/dist/models/procurements/Currency.d.ts.map +1 -0
  89. package/dist/models/procurements/Currency.js +2 -0
  90. package/dist/models/procurements/Currency.js.map +1 -0
  91. package/dist/models/procurements/Invoice.d.ts +17 -13
  92. package/dist/models/procurements/Invoice.d.ts.map +1 -1
  93. package/dist/models/procurements/InvoiceLine.d.ts +14 -10
  94. package/dist/models/procurements/InvoiceLine.d.ts.map +1 -1
  95. package/dist/models/procurements/InvoiceStatus.d.ts +7 -7
  96. package/dist/models/procurements/ModelView/AuditLogViewModel.d.ts +23 -23
  97. package/dist/models/procurements/ModelView/InvoiceViewModel.d.ts +30 -30
  98. package/dist/models/procurements/ModelView/NotificationViewModel.d.ts +19 -19
  99. package/dist/models/procurements/ModelView/ProcurementDashboardStats.d.ts +27 -0
  100. package/dist/models/procurements/ModelView/ProcurementDashboardStats.d.ts.map +1 -0
  101. package/dist/models/procurements/ModelView/ProcurementDashboardStats.js +2 -0
  102. package/dist/models/procurements/ModelView/ProcurementDashboardStats.js.map +1 -0
  103. package/dist/models/procurements/ModelView/ProcurementRoleAssignmentViewModel.d.ts +23 -23
  104. package/dist/models/procurements/ModelView/PurchaseRequestViewModel.d.ts +72 -72
  105. package/dist/models/procurements/ModelView/QuotationViewModel.d.ts +37 -37
  106. package/dist/models/procurements/ModelView/RequestApprovalModelView.d.ts +17 -17
  107. package/dist/models/procurements/ModelView/RequestAttachmentViewModel.d.ts +19 -19
  108. package/dist/models/procurements/ModelView/RequestCommentCreateModel.d.ts +4 -4
  109. package/dist/models/procurements/ModelView/RequestCommentFilterModel.d.ts +5 -5
  110. package/dist/models/procurements/ModelView/RequestCommentView.d.ts +11 -11
  111. package/dist/models/procurements/ModelView/RequestStatusViewModel.d.ts +11 -11
  112. package/dist/models/procurements/ModelView/index.d.ts +1 -0
  113. package/dist/models/procurements/ModelView/index.d.ts.map +1 -1
  114. package/dist/models/procurements/ModelView/index.js +1 -0
  115. package/dist/models/procurements/ModelView/index.js.map +1 -1
  116. package/dist/models/procurements/Notification.d.ts +10 -10
  117. package/dist/models/procurements/ProcurementNotificationQueue.d.ts +11 -11
  118. package/dist/models/procurements/ProcurementRoleAssignment.d.ts +7 -7
  119. package/dist/models/procurements/ProcurementRoleType.d.ts +7 -7
  120. package/dist/models/procurements/PurchaseRequest.d.ts +19 -19
  121. package/dist/models/procurements/Quotation.d.ts +17 -13
  122. package/dist/models/procurements/Quotation.d.ts.map +1 -1
  123. package/dist/models/procurements/QuotationLine.d.ts +22 -10
  124. package/dist/models/procurements/QuotationLine.d.ts.map +1 -1
  125. package/dist/models/procurements/QuotationLineApproval.d.ts +19 -0
  126. package/dist/models/procurements/QuotationLineApproval.d.ts.map +1 -0
  127. package/dist/models/procurements/QuotationLineApproval.js +2 -0
  128. package/dist/models/procurements/QuotationLineApproval.js.map +1 -0
  129. package/dist/models/procurements/QuotationStatus.d.ts +7 -7
  130. package/dist/models/procurements/RequestApproval.d.ts +8 -8
  131. package/dist/models/procurements/RequestApprovalStatus.d.ts +7 -7
  132. package/dist/models/procurements/RequestAttachment.d.ts +9 -9
  133. package/dist/models/procurements/RequestComment.d.ts +7 -7
  134. package/dist/models/procurements/RequestPurchaseOrder.d.ts +17 -5
  135. package/dist/models/procurements/RequestPurchaseOrder.d.ts.map +1 -1
  136. package/dist/models/procurements/RequestStage.d.ts +7 -7
  137. package/dist/models/procurements/RequestStatus.d.ts +8 -8
  138. package/dist/models/procurements/RequestType.d.ts +7 -7
  139. package/dist/models/procurements/index.d.ts +2 -0
  140. package/dist/models/procurements/index.d.ts.map +1 -1
  141. package/dist/models/procurements/index.js +2 -0
  142. package/dist/models/procurements/index.js.map +1 -1
  143. package/dist/models/suppliers/CacheKeys/IndustryCacheKeys.d.ts +3 -3
  144. package/dist/models/suppliers/CacheKeys/IndustryCacheKeys.js +3 -3
  145. package/dist/models/suppliers/CacheKeys/SubscriptionStatusCacheKeys.d.ts +3 -3
  146. package/dist/models/suppliers/CacheKeys/SubscriptionStatusCacheKeys.js +3 -3
  147. package/dist/models/suppliers/CacheKeys/SubscriptionTypeCacheKeys.d.ts +3 -3
  148. package/dist/models/suppliers/CacheKeys/SubscriptionTypeCacheKeys.js +3 -3
  149. package/dist/models/suppliers/CacheKeys/SubscriptionUserCacheKeys.d.ts +12 -0
  150. package/dist/models/suppliers/CacheKeys/SubscriptionUserCacheKeys.d.ts.map +1 -0
  151. package/dist/models/suppliers/CacheKeys/SubscriptionUserCacheKeys.js +11 -0
  152. package/dist/models/suppliers/CacheKeys/SubscriptionUserCacheKeys.js.map +1 -0
  153. package/dist/models/suppliers/CacheKeys/SupplierAccountCacheKeys.d.ts +3 -3
  154. package/dist/models/suppliers/CacheKeys/SupplierAccountCacheKeys.js +3 -3
  155. package/dist/models/suppliers/CacheKeys/SupplierAddressCacheKeys.d.ts +3 -3
  156. package/dist/models/suppliers/CacheKeys/SupplierAddressCacheKeys.js +3 -3
  157. package/dist/models/suppliers/CacheKeys/SupplierCacheKeys.d.ts +3 -3
  158. package/dist/models/suppliers/CacheKeys/SupplierCacheKeys.js +3 -3
  159. package/dist/models/suppliers/CacheKeys/SupplierContactCacheKeys.d.ts +3 -3
  160. package/dist/models/suppliers/CacheKeys/SupplierContactCacheKeys.js +3 -3
  161. package/dist/models/suppliers/CacheKeys/SupplierSubscriptionCacheKeys.d.ts +3 -3
  162. package/dist/models/suppliers/CacheKeys/SupplierSubscriptionCacheKeys.js +3 -3
  163. package/dist/models/suppliers/CacheKeys/index.d.ts +1 -0
  164. package/dist/models/suppliers/CacheKeys/index.d.ts.map +1 -1
  165. package/dist/models/suppliers/CacheKeys/index.js +1 -0
  166. package/dist/models/suppliers/CacheKeys/index.js.map +1 -1
  167. package/dist/models/suppliers/SageOne/SageOneSupplier.d.ts +46 -46
  168. package/dist/models/suppliers/SageOne/SageOneSupplierBankDetail.d.ts +10 -10
  169. package/dist/models/suppliers/SageOne/SageOneSupplierCategory.d.ts +4 -4
  170. package/dist/models/suppliers/SageOne/SageOneSupplierContact.d.ts +11 -11
  171. package/dist/models/suppliers/SageOne/SageOneSupplierNote.d.ts +11 -11
  172. package/dist/models/suppliers/SubscriptionUser.d.ts +14 -0
  173. package/dist/models/suppliers/SubscriptionUser.d.ts.map +1 -0
  174. package/dist/models/suppliers/SubscriptionUser.js +2 -0
  175. package/dist/models/suppliers/SubscriptionUser.js.map +1 -0
  176. package/dist/models/suppliers/SupplierSubscription.d.ts +7 -0
  177. package/dist/models/suppliers/SupplierSubscription.d.ts.map +1 -1
  178. package/dist/models/suppliers/index.d.ts +1 -0
  179. package/dist/models/suppliers/index.d.ts.map +1 -1
  180. package/dist/models/suppliers/index.js +1 -0
  181. package/dist/models/suppliers/index.js.map +1 -1
  182. package/dist/models/vendorcatalog/ModelView/ShopEventProductModelView.d.ts +2 -0
  183. package/dist/models/vendorcatalog/ModelView/ShopEventProductModelView.d.ts.map +1 -1
  184. package/dist/models/vendorcatalog/ModelView/VendorProductRequests.d.ts +18 -14
  185. package/dist/models/vendorcatalog/ModelView/VendorProductRequests.d.ts.map +1 -1
  186. package/dist/react/hooks/services/useOrdersServices.d.ts +5 -1
  187. package/dist/react/hooks/services/useOrdersServices.d.ts.map +1 -1
  188. package/dist/react/hooks/services/useOrdersServices.js +6 -0
  189. package/dist/react/hooks/services/useOrdersServices.js.map +1 -1
  190. package/dist/react/hooks/services/useProcurementsServices.d.ts +37 -1
  191. package/dist/react/hooks/services/useProcurementsServices.d.ts.map +1 -1
  192. package/dist/react/hooks/services/useProcurementsServices.js +54 -0
  193. package/dist/react/hooks/services/useProcurementsServices.js.map +1 -1
  194. package/dist/react/hooks/services/useSupplierServices.d.ts +5 -1
  195. package/dist/react/hooks/services/useSupplierServices.d.ts.map +1 -1
  196. package/dist/react/hooks/services/useSupplierServices.js +6 -0
  197. package/dist/react/hooks/services/useSupplierServices.js.map +1 -1
  198. package/dist/services/announcements/AnnouncementEventService.d.ts +1 -1
  199. package/dist/services/announcements/AnnouncementEventService.js +2 -2
  200. package/dist/services/announcements/AnnouncementEventService.js.map +1 -1
  201. package/dist/services/announcements/AnnouncementLocationService.d.ts +1 -1
  202. package/dist/services/announcements/AnnouncementLocationService.js +2 -2
  203. package/dist/services/announcements/AnnouncementLocationService.js.map +1 -1
  204. package/dist/services/announcements/AnnouncementService.d.ts +1 -1
  205. package/dist/services/announcements/AnnouncementService.js +2 -2
  206. package/dist/services/announcements/AnnouncementService.js.map +1 -1
  207. package/dist/services/announcements/PublicAnnouncementService.d.ts +1 -1
  208. package/dist/services/announcements/PublicAnnouncementService.d.ts.map +1 -1
  209. package/dist/services/announcements/PublicAnnouncementService.js +2 -3
  210. package/dist/services/announcements/PublicAnnouncementService.js.map +1 -1
  211. package/dist/services/orders/OrderLineService.d.ts +8 -0
  212. package/dist/services/orders/OrderLineService.d.ts.map +1 -1
  213. package/dist/services/orders/OrderLineService.js +24 -0
  214. package/dist/services/orders/OrderLineService.js.map +1 -1
  215. package/dist/services/orders/OrderLineStatusService.d.ts +31 -0
  216. package/dist/services/orders/OrderLineStatusService.d.ts.map +1 -0
  217. package/dist/services/orders/OrderLineStatusService.js +41 -0
  218. package/dist/services/orders/OrderLineStatusService.js.map +1 -0
  219. package/dist/services/orders/OrderShopService.d.ts +24 -2
  220. package/dist/services/orders/OrderShopService.d.ts.map +1 -1
  221. package/dist/services/orders/OrderShopService.js +65 -0
  222. package/dist/services/orders/OrderShopService.js.map +1 -1
  223. package/dist/services/orders/index.d.ts +3 -0
  224. package/dist/services/orders/index.d.ts.map +1 -1
  225. package/dist/services/orders/index.js +3 -0
  226. package/dist/services/orders/index.js.map +1 -1
  227. package/dist/services/payments/PayFastPaymentService.d.ts +5 -0
  228. package/dist/services/payments/PayFastPaymentService.d.ts.map +1 -1
  229. package/dist/services/payments/PayFastPaymentService.js +16 -6
  230. package/dist/services/payments/PayFastPaymentService.js.map +1 -1
  231. package/dist/services/procurements/ApproverPortalService.d.ts +16 -0
  232. package/dist/services/procurements/ApproverPortalService.d.ts.map +1 -0
  233. package/dist/services/procurements/ApproverPortalService.js +29 -0
  234. package/dist/services/procurements/ApproverPortalService.js.map +1 -0
  235. package/dist/services/procurements/CurrencyService.d.ts +16 -0
  236. package/dist/services/procurements/CurrencyService.d.ts.map +1 -0
  237. package/dist/services/procurements/CurrencyService.js +19 -0
  238. package/dist/services/procurements/CurrencyService.js.map +1 -0
  239. package/dist/services/procurements/FinancePortalService.d.ts +17 -0
  240. package/dist/services/procurements/FinancePortalService.d.ts.map +1 -0
  241. package/dist/services/procurements/FinancePortalService.js +33 -0
  242. package/dist/services/procurements/FinancePortalService.js.map +1 -0
  243. package/dist/services/procurements/ProcurementDashboardService.d.ts +14 -0
  244. package/dist/services/procurements/ProcurementDashboardService.d.ts.map +1 -0
  245. package/dist/services/procurements/ProcurementDashboardService.js +21 -0
  246. package/dist/services/procurements/ProcurementDashboardService.js.map +1 -0
  247. package/dist/services/procurements/ProcurementRoleAssignmentService.d.ts +10 -0
  248. package/dist/services/procurements/ProcurementRoleAssignmentService.d.ts.map +1 -0
  249. package/dist/services/procurements/ProcurementRoleAssignmentService.js +13 -0
  250. package/dist/services/procurements/ProcurementRoleAssignmentService.js.map +1 -0
  251. package/dist/services/procurements/QuotationLineApprovalService.d.ts +28 -0
  252. package/dist/services/procurements/QuotationLineApprovalService.d.ts.map +1 -0
  253. package/dist/services/procurements/QuotationLineApprovalService.js +41 -0
  254. package/dist/services/procurements/QuotationLineApprovalService.js.map +1 -0
  255. package/dist/services/procurements/RequestApprovalService.d.ts +10 -0
  256. package/dist/services/procurements/RequestApprovalService.d.ts.map +1 -0
  257. package/dist/services/procurements/RequestApprovalService.js +13 -0
  258. package/dist/services/procurements/RequestApprovalService.js.map +1 -0
  259. package/dist/services/procurements/RequestPurchaseOrderService.d.ts +10 -0
  260. package/dist/services/procurements/RequestPurchaseOrderService.d.ts.map +1 -0
  261. package/dist/services/procurements/RequestPurchaseOrderService.js +13 -0
  262. package/dist/services/procurements/RequestPurchaseOrderService.js.map +1 -0
  263. package/dist/services/procurements/StaffRequestPortalService.d.ts +18 -0
  264. package/dist/services/procurements/StaffRequestPortalService.d.ts.map +1 -0
  265. package/dist/services/procurements/StaffRequestPortalService.js +36 -0
  266. package/dist/services/procurements/StaffRequestPortalService.js.map +1 -0
  267. package/dist/services/procurements/index.d.ts +27 -0
  268. package/dist/services/procurements/index.d.ts.map +1 -1
  269. package/dist/services/procurements/index.js +27 -0
  270. package/dist/services/procurements/index.js.map +1 -1
  271. package/dist/services/suppliers/SubscriptionUserService.d.ts +20 -0
  272. package/dist/services/suppliers/SubscriptionUserService.d.ts.map +1 -0
  273. package/dist/services/suppliers/SubscriptionUserService.js +27 -0
  274. package/dist/services/suppliers/SubscriptionUserService.js.map +1 -0
  275. package/dist/services/suppliers/index.d.ts +3 -0
  276. package/dist/services/suppliers/index.d.ts.map +1 -1
  277. package/dist/services/suppliers/index.js +3 -0
  278. package/dist/services/suppliers/index.js.map +1 -1
  279. package/dist/services/vendor-portal/VendorPortalBaseService.d.ts +4 -0
  280. package/dist/services/vendor-portal/VendorPortalBaseService.d.ts.map +1 -1
  281. package/dist/services/vendor-portal/VendorPortalBaseService.js +8 -0
  282. package/dist/services/vendor-portal/VendorPortalBaseService.js.map +1 -1
  283. package/dist/services/vendor-portal/VendorPortalOrderService.d.ts +9 -0
  284. package/dist/services/vendor-portal/VendorPortalOrderService.d.ts.map +1 -1
  285. package/dist/services/vendor-portal/VendorPortalOrderService.js +18 -0
  286. package/dist/services/vendor-portal/VendorPortalOrderService.js.map +1 -1
  287. package/dist/utils/validation.d.ts +25 -0
  288. package/dist/utils/validation.d.ts.map +1 -1
  289. package/dist/utils/validation.js +61 -0
  290. package/dist/utils/validation.js.map +1 -1
  291. package/package.json +1 -1
@@ -3,22 +3,22 @@
3
3
  * Represents approval workflow entries for procurement requests.
4
4
  */
5
5
  export interface RequestApprovalModelView {
6
- UserId: string;
7
- FirstName: string | null;
8
- Surname: string | null;
9
- Email: string | null;
10
- Cellphone: string | null;
11
- Avatar: string | null;
12
- RequestID: number;
13
- RoleTypeID: number;
14
- RoleTypeName: string | null;
15
- RoleTypeColor: string | null;
16
- StatusID: number;
17
- StatusName: string | null;
18
- StatusColor: string | null;
19
- Reason: string | null;
20
- ResponseDate: string | null;
21
- CreatedDateTime: number;
22
- ModifiedDateTime: number;
6
+ userId: string;
7
+ firstName: string | null;
8
+ surname: string | null;
9
+ email: string | null;
10
+ cellphone: string | null;
11
+ avatar: string | null;
12
+ requestID: number;
13
+ roleTypeID: number;
14
+ roleTypeName: string | null;
15
+ roleTypeColor: string | null;
16
+ statusID: number;
17
+ statusName: string | null;
18
+ statusColor: string | null;
19
+ reason: string | null;
20
+ responseDate: string | null;
21
+ createdDateTime: number;
22
+ modifiedDateTime: number;
23
23
  }
24
24
  //# sourceMappingURL=RequestApprovalModelView.d.ts.map
@@ -2,29 +2,29 @@
2
2
  * View model for displaying RequestAttachment with enriched user data.
3
3
  */
4
4
  export interface RequestAttachmentViewModel {
5
- AttachmentID: number;
6
- RequestID: number;
7
- FileName: string | null;
8
- FileURL: string | null;
9
- FileType: string | null;
10
- AttachmentDate: string | null;
11
- CreatedBy: string | null;
12
- CreatedByFirstName: string | null;
13
- CreatedByLastName: string | null;
14
- CreatedByAvatar: string | null;
15
- CreatedByEmail: string | null;
16
- ModifiedDateTime: number | null;
17
- CreatedDateTime: number | null;
5
+ attachmentID: number;
6
+ requestID: number;
7
+ fileName: string | null;
8
+ fileURL: string | null;
9
+ fileType: string | null;
10
+ attachmentDate: string | null;
11
+ createdBy: string | null;
12
+ createdByFirstName: string | null;
13
+ createdByLastName: string | null;
14
+ createdByAvatar: string | null;
15
+ createdByEmail: string | null;
16
+ modifiedDateTime: number | null;
17
+ createdDateTime: number | null;
18
18
  }
19
19
  /**
20
20
  * Filter model for querying RequestAttachment records.
21
21
  */
22
22
  export interface RequestAttachmentFilterModel {
23
- RequestID: number | null;
24
- FileType: string | null;
25
- CreatedBy: string | null;
26
- AttachmentDateFrom: string | null;
27
- AttachmentDateTo: string | null;
28
- SearchText: string | null;
23
+ requestID: number | null;
24
+ fileType: string | null;
25
+ createdBy: string | null;
26
+ attachmentDateFrom: string | null;
27
+ attachmentDateTo: string | null;
28
+ searchText: string | null;
29
29
  }
30
30
  //# sourceMappingURL=RequestAttachmentViewModel.d.ts.map
@@ -2,9 +2,9 @@
2
2
  * Model for creating a new request comment.
3
3
  */
4
4
  export interface RequestCommentCreateModel {
5
- RequestID: number;
6
- Comment: string | null;
7
- CreatedBy: string | null;
8
- CommentDate: string;
5
+ requestID: number;
6
+ comment: string | null;
7
+ createdBy: string | null;
8
+ commentDate: string;
9
9
  }
10
10
  //# sourceMappingURL=RequestCommentCreateModel.d.ts.map
@@ -2,10 +2,10 @@
2
2
  * Filter model for querying request comments.
3
3
  */
4
4
  export interface RequestCommentFilterModel {
5
- RequestID: number | null;
6
- CreatedBy: string | null;
7
- CommentDateFrom: string | null;
8
- CommentDateTo: string | null;
9
- SearchText: string | null;
5
+ requestID: number | null;
6
+ createdBy: string | null;
7
+ commentDateFrom: string | null;
8
+ commentDateTo: string | null;
9
+ searchText: string | null;
10
10
  }
11
11
  //# sourceMappingURL=RequestCommentFilterModel.d.ts.map
@@ -3,16 +3,16 @@
3
3
  * Note: This is a DTO - transformations are done in the service layer.
4
4
  */
5
5
  export interface RequestCommentView {
6
- CommentID: number;
7
- RequestID: number;
8
- Comment: string | null;
9
- CommentDate: string | null;
10
- CreatedBy: string | null;
11
- CreatedByFirstName: string | null;
12
- CreatedByLastName: string | null;
13
- CreatedByAvatar: string | null;
14
- CreatedByEmail: string | null;
15
- ModifiedDateTime: number | null;
16
- CreatedDateTime: number | null;
6
+ commentID: number;
7
+ requestID: number;
8
+ comment: string | null;
9
+ commentDate: string | null;
10
+ createdBy: string | null;
11
+ createdByFirstName: string | null;
12
+ createdByLastName: string | null;
13
+ createdByAvatar: string | null;
14
+ createdByEmail: string | null;
15
+ modifiedDateTime: number | null;
16
+ createdDateTime: number | null;
17
17
  }
18
18
  //# sourceMappingURL=RequestCommentView.d.ts.map
@@ -2,16 +2,16 @@
2
2
  * View model for RequestStatus lookup entries, including stage details.
3
3
  */
4
4
  export interface RequestStatusViewModel {
5
- StatusID: number;
6
- StageID: number;
7
- Name: string | null;
8
- Description: string | null;
9
- Color: string | null;
10
- Icon: string | null;
11
- CreatedDateTime: number;
12
- ModifiedDateTime: number;
13
- StageName: string | null;
14
- StageDescription: string | null;
15
- StageColor: string | null;
5
+ statusID: number;
6
+ stageID: number;
7
+ name: string | null;
8
+ description: string | null;
9
+ color: string | null;
10
+ icon: string | null;
11
+ createdDateTime: number;
12
+ modifiedDateTime: number;
13
+ stageName: string | null;
14
+ stageDescription: string | null;
15
+ stageColor: string | null;
16
16
  }
17
17
  //# sourceMappingURL=RequestStatusViewModel.d.ts.map
@@ -10,4 +10,5 @@ export * from './RequestStatusViewModel';
10
10
  export * from './RequestCommentView';
11
11
  export * from './RequestCommentCreateModel';
12
12
  export * from './RequestCommentFilterModel';
13
+ export * from './ProcurementDashboardStats';
13
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/models/procurements/ModelView/index.ts"],"names":[],"mappings":"AAEA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,sCAAsC,CAAC;AACrD,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/models/procurements/ModelView/index.ts"],"names":[],"mappings":"AAEA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,sCAAsC,CAAC;AACrD,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC"}
@@ -12,4 +12,5 @@ export * from './RequestStatusViewModel';
12
12
  export * from './RequestCommentView';
13
13
  export * from './RequestCommentCreateModel';
14
14
  export * from './RequestCommentFilterModel';
15
+ export * from './ProcurementDashboardStats';
15
16
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/procurements/ModelView/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,8FAA8F;AAC9F,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,sCAAsC,CAAC;AACrD,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/procurements/ModelView/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,8FAA8F;AAC9F,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,sCAAsC,CAAC;AACrD,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC"}
@@ -5,42 +5,42 @@ export interface Notification {
5
5
  /**
6
6
  * Primary key.
7
7
  */
8
- NotificationID: number;
8
+ notificationID: number;
9
9
  /**
10
10
  * FK to PurchaseRequest.
11
11
  */
12
- RequestID: number;
12
+ requestID: number;
13
13
  /**
14
14
  * Recipient user ID from User microservice.
15
15
  */
16
- RecipientUserId: string | null;
16
+ recipientUserId: string | null;
17
17
  /**
18
18
  * Notification message text.
19
19
  */
20
- Message: string | null;
20
+ message: string | null;
21
21
  /**
22
22
  * Flag if the user has read it.
23
23
  */
24
- IsRead: boolean;
24
+ isRead: boolean;
25
25
  /**
26
26
  * Flag if it was pushed/sent out.
27
27
  */
28
- IsSent: boolean;
28
+ isSent: boolean;
29
29
  /**
30
30
  * Timestamp when read by user.
31
31
  */
32
- ReadOn: string | null;
32
+ readOn: string | null;
33
33
  /**
34
34
  * Timestamp when created.
35
35
  */
36
- CreatedOn: string;
36
+ createdOn: string;
37
37
  /**
38
38
  * Last modification ticks.
39
39
  */
40
- ModifiedDateTime: number;
40
+ modifiedDateTime: number;
41
41
  /**
42
42
  * Creation ticks.
43
43
  */
44
- CreatedDateTime: number;
44
+ createdDateTime: number;
45
45
  }
46
46
  //# sourceMappingURL=Notification.d.ts.map
@@ -28,46 +28,46 @@ export interface ProcurementNotificationQueue {
28
28
  /**
29
29
  * Primary key.
30
30
  */
31
- QueueID: number;
31
+ queueID: number;
32
32
  /**
33
33
  * Type of notification.
34
34
  */
35
- NotificationType: ProcurementNotificationType;
35
+ notificationType: ProcurementNotificationType;
36
36
  /**
37
37
  * Request ID.
38
38
  */
39
- RequestID: number;
39
+ requestID: number;
40
40
  /**
41
41
  * User ID who created the notification.
42
42
  */
43
- CreatedByUserID: string | null;
43
+ createdByUserID: string | null;
44
44
  /**
45
45
  * Recipient user ID.
46
46
  */
47
- RecipientUserId: string | null;
47
+ recipientUserId: string | null;
48
48
  /**
49
49
  * Timestamp when queued.
50
50
  */
51
- QueuedOn: string;
51
+ queuedOn: string;
52
52
  /**
53
53
  * Timestamp when sent.
54
54
  */
55
- SentOn: string | null;
55
+ sentOn: string | null;
56
56
  /**
57
57
  * Flag if notification was sent.
58
58
  */
59
- IsSent: boolean;
59
+ isSent: boolean;
60
60
  /**
61
61
  * Number of send attempts.
62
62
  */
63
- AttemptCount: number;
63
+ attemptCount: number;
64
64
  /**
65
65
  * Creation timestamp as decimal ticks.
66
66
  */
67
- CreatedDateTime: number;
67
+ createdDateTime: number;
68
68
  /**
69
69
  * Modification timestamp as decimal ticks.
70
70
  */
71
- ModifiedDateTime: number;
71
+ modifiedDateTime: number;
72
72
  }
73
73
  //# sourceMappingURL=ProcurementNotificationQueue.d.ts.map
@@ -5,30 +5,30 @@ export interface ProcurementRoleAssignment {
5
5
  /**
6
6
  * User ID (composite key part 1).
7
7
  */
8
- UserId: string | null;
8
+ userId: string | null;
9
9
  /**
10
10
  * Role type ID (composite key part 2).
11
11
  */
12
- RoleTypeID: number;
12
+ roleTypeID: number;
13
13
  /**
14
14
  * Flag indicating if the assignment is active.
15
15
  */
16
- IsActive: boolean;
16
+ isActive: boolean;
17
17
  /**
18
18
  * Date when the role was assigned.
19
19
  */
20
- AssignedDate: string | null;
20
+ assignedDate: string | null;
21
21
  /**
22
22
  * User ID of who assigned the role.
23
23
  */
24
- AssignedBy: string | null;
24
+ assignedBy: string | null;
25
25
  /**
26
26
  * Modification timestamp as decimal ticks.
27
27
  */
28
- ModifiedDateTime: number | null;
28
+ modifiedDateTime: number | null;
29
29
  /**
30
30
  * Creation timestamp as decimal ticks.
31
31
  */
32
- CreatedDateTime: number | null;
32
+ createdDateTime: number | null;
33
33
  }
34
34
  //# sourceMappingURL=ProcurementRoleAssignment.d.ts.map
@@ -5,30 +5,30 @@ export interface ProcurementRoleType {
5
5
  /**
6
6
  * Primary key.
7
7
  */
8
- RoleTypeID: number;
8
+ roleTypeID: number;
9
9
  /**
10
10
  * Role type name.
11
11
  */
12
- Name: string;
12
+ name: string;
13
13
  /**
14
14
  * Role type description.
15
15
  */
16
- Description: string | null;
16
+ description: string | null;
17
17
  /**
18
18
  * UI badge color.
19
19
  */
20
- Color: string | null;
20
+ color: string | null;
21
21
  /**
22
22
  * UI icon hint.
23
23
  */
24
- Icon: string | null;
24
+ icon: string | null;
25
25
  /**
26
26
  * Creation timestamp as decimal ticks.
27
27
  */
28
- CreatedDateTime: number;
28
+ createdDateTime: number;
29
29
  /**
30
30
  * Modification timestamp as decimal ticks.
31
31
  */
32
- ModifiedDateTime: number;
32
+ modifiedDateTime: number;
33
33
  }
34
34
  //# sourceMappingURL=ProcurementRoleType.d.ts.map
@@ -6,80 +6,80 @@ export interface PurchaseRequest {
6
6
  /**
7
7
  * Primary key.
8
8
  */
9
- RequestID: number;
9
+ requestID: number;
10
10
  /**
11
11
  * Type of request (e.g., office supplies, hardware).
12
12
  */
13
- RequestTypeID: number;
13
+ requestTypeID: number;
14
14
  /**
15
15
  * Location identifier from the Location microservice.
16
16
  */
17
- LocationID: number;
17
+ locationID: number;
18
18
  /**
19
19
  * ProjectID from the Project microservice.
20
20
  */
21
- ProjectID: number | null;
21
+ projectID: number | null;
22
22
  /**
23
23
  * Department identifier from the Department microservice.
24
24
  */
25
- DepartmentID: number;
25
+ departmentID: number;
26
26
  /**
27
27
  * User ID of the staff who created the request.
28
28
  */
29
- RequestedByUserId: string | null;
29
+ requestedByUserId: string | null;
30
30
  /**
31
31
  * Timestamp when the request was created.
32
32
  */
33
- RequestedOn: string;
33
+ requestedOn: string;
34
34
  /**
35
35
  * What the user is requesting, e.g., "New laptop for John Doe".
36
36
  * This is a free-text field for user convenience.
37
37
  */
38
- Name: string | null;
38
+ name: string | null;
39
39
  /**
40
40
  * The details of the request like products, quantities, etc.
41
41
  * This is a free-text field for user convenience.
42
42
  */
43
- Details: string | null;
43
+ details: string | null;
44
44
  /**
45
45
  * Reason or justification provided by the requester.
46
46
  */
47
- Reason: string | null;
47
+ reason: string | null;
48
48
  /**
49
49
  * Desired date by which the items are needed.
50
50
  */
51
- NeededBy: string;
51
+ neededBy: string;
52
52
  /**
53
53
  * Status ID from the RequestStatus lookup table.
54
54
  */
55
- StatusID: number;
55
+ statusID: number;
56
56
  /**
57
57
  * Generated request number for tracking (e.g. PR-2025-0001).
58
58
  */
59
- PurchaseOrderNumber: string | null;
59
+ purchaseOrderNumber: string | null;
60
60
  /**
61
61
  * Date on which payment is scheduled (set when status = Approval–Accepted).
62
62
  */
63
- PaymentDate: string | null;
63
+ paymentDate: string | null;
64
64
  /**
65
65
  * Date on which a held request should be revisited.
66
66
  */
67
- RevisitOn: string | null;
67
+ revisitOn: string | null;
68
68
  /**
69
69
  * User ID of the finance head who accepted the request.
70
70
  */
71
- AcceptedByUserId: string | null;
71
+ acceptedByUserId: string | null;
72
72
  /**
73
73
  * Timestamp for last modification, stored as decimal ticks.
74
74
  */
75
- ModifiedDateTime: number;
75
+ modifiedDateTime: number;
76
76
  /**
77
77
  * Timestamp for creation, stored as decimal ticks.
78
78
  */
79
- CreatedDateTime: number;
79
+ createdDateTime: number;
80
80
  /**
81
81
  * Flag indicating whether this request needs processing by the worker service.
82
82
  */
83
- NeedsProcessing: boolean;
83
+ needsProcessing: boolean;
84
84
  }
85
85
  //# sourceMappingURL=PurchaseRequest.d.ts.map
@@ -5,54 +5,58 @@ export interface Quotation {
5
5
  /**
6
6
  * Primary key.
7
7
  */
8
- QuotationID: number;
8
+ quotationID: number;
9
9
  /**
10
10
  * FK to PurchaseRequest.RequestID.
11
11
  */
12
- RequestID: number;
12
+ requestID: number;
13
13
  /**
14
14
  * Supplier identifier from the Supplier microservice.
15
15
  */
16
- SupplierID: number;
16
+ supplierID: number;
17
17
  /**
18
18
  * Status ID from the QuotationStatus lookup.
19
19
  */
20
- StatusID: number;
20
+ statusID: number;
21
21
  /**
22
22
  * Supplier name.
23
23
  */
24
- SupplierName: string | null;
24
+ supplierName: string | null;
25
25
  /**
26
26
  * Free-text comment about this quote.
27
27
  */
28
- Comment: string | null;
28
+ comment: string | null;
29
29
  /**
30
30
  * Monetary amount quoted.
31
31
  */
32
- Amount: number;
32
+ amount: number;
33
33
  /**
34
34
  * Date when the quote expires.
35
35
  */
36
- ExpiryDate: string;
36
+ expiryDate: string;
37
37
  /**
38
38
  * URL to the uploaded quotation document.
39
39
  */
40
- DocumentUrl: string | null;
40
+ documentUrl: string | null;
41
41
  /**
42
42
  * Flag if staff marked this as their preferred.
43
43
  */
44
- IsPreferred: boolean;
44
+ isPreferred: boolean;
45
45
  /**
46
46
  * Reason why staff preferred this quote.
47
47
  */
48
- PreferenceReason: string | null;
48
+ preferenceReason: string | null;
49
+ /**
50
+ * Currency code for this quotation (e.g. "ZAR", "USD").
51
+ */
52
+ currencyCode: string;
49
53
  /**
50
54
  * Last modification timestamp as decimal ticks.
51
55
  */
52
- ModifiedDateTime: number;
56
+ modifiedDateTime: number;
53
57
  /**
54
58
  * Creation timestamp as decimal ticks.
55
59
  */
56
- CreatedDateTime: number;
60
+ createdDateTime: number;
57
61
  }
58
62
  //# sourceMappingURL=Quotation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Quotation.d.ts","sourceRoot":"","sources":["../../../src/models/procurements/Quotation.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B;;OAEG;IACH,WAAW,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAEhC;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB"}
1
+ {"version":3,"file":"Quotation.d.ts","sourceRoot":"","sources":["../../../src/models/procurements/Quotation.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B;;OAEG;IACH,WAAW,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAEhC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB"}
@@ -5,42 +5,54 @@ export interface QuotationLine {
5
5
  /**
6
6
  * Primary key.
7
7
  */
8
- QuotationLineID: number;
8
+ quotationLineID: number;
9
9
  /**
10
10
  * FK to Quotation.QuotationID.
11
11
  */
12
- QuotationID: number;
12
+ quotationID: number;
13
13
  /**
14
14
  * Item identifier.
15
15
  */
16
- ItemID: number;
16
+ itemID: number;
17
17
  /**
18
18
  * Item code.
19
19
  */
20
- Code: string | null;
20
+ code: string | null;
21
21
  /**
22
22
  * Item description.
23
23
  */
24
- Description: string;
24
+ description: string;
25
25
  /**
26
26
  * Quantity quoted.
27
27
  */
28
- Quantity: number;
28
+ quantity: number;
29
29
  /**
30
30
  * Unit price.
31
31
  */
32
- UnitPrice: number;
32
+ unitPrice: number;
33
33
  /**
34
34
  * Total price for this line.
35
35
  */
36
- TotalPrice: number;
36
+ totalPrice: number;
37
+ /**
38
+ * Denormalized from parent Quotation for easy supplier grouping.
39
+ */
40
+ supplierID: number;
41
+ /**
42
+ * Line-level approval status (0=Pending, 1=Approved, -2=Rejected).
43
+ */
44
+ approvalStatusID: number;
45
+ /**
46
+ * Currency code for this line item.
47
+ */
48
+ currencyCode: string;
37
49
  /**
38
50
  * Creation ticks.
39
51
  */
40
- CreatedDateTime: number | null;
52
+ createdDateTime: number | null;
41
53
  /**
42
54
  * Modification ticks.
43
55
  */
44
- ModifiedDateTime: number | null;
56
+ modifiedDateTime: number | null;
45
57
  }
46
58
  //# sourceMappingURL=QuotationLine.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QuotationLine.d.ts","sourceRoot":"","sources":["../../../src/models/procurements/QuotationLine.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/B;;OAEG;IACH,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;CACjC"}
1
+ {"version":3,"file":"QuotationLine.d.ts","sourceRoot":"","sources":["../../../src/models/procurements/QuotationLine.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/B;;OAEG;IACH,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;CACjC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Tracks approval/rejection of individual quotation line items.
3
+ * Enables per-line-item approval and per-supplier PO generation.
4
+ */
5
+ export interface QuotationLineApproval {
6
+ approvalID: number;
7
+ quotationLineID: number;
8
+ quotationID: number;
9
+ requestID: number;
10
+ supplierID: number;
11
+ userId: string;
12
+ roleTypeID: number;
13
+ statusID: number;
14
+ reason: string | null;
15
+ responseDate: string | null;
16
+ createdDateTime: number;
17
+ modifiedDateTime: number;
18
+ }
19
+ //# sourceMappingURL=QuotationLineApproval.d.ts.map