@actschurch/ccms-sdk 0.0.15 → 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.
- package/dist/auth/AuthManager.d.ts +11 -0
- package/dist/auth/AuthManager.d.ts.map +1 -1
- package/dist/auth/AuthManager.js +88 -7
- package/dist/auth/AuthManager.js.map +1 -1
- package/dist/auth/adapters/context.d.ts +2 -1
- package/dist/auth/adapters/context.d.ts.map +1 -1
- package/dist/auth/adapters/context.js +2 -1
- package/dist/auth/adapters/context.js.map +1 -1
- package/dist/auth/adapters/redux.d.ts +1 -0
- package/dist/auth/adapters/redux.d.ts.map +1 -1
- package/dist/auth/adapters/redux.js +2 -0
- package/dist/auth/adapters/redux.js.map +1 -1
- package/dist/auth/types.d.ts +8 -0
- package/dist/auth/types.d.ts.map +1 -1
- package/dist/auth/types.js +6 -0
- package/dist/auth/types.js.map +1 -1
- package/dist/models/integrations/sageone/Companies/Company.d.ts +5 -5
- package/dist/models/integrations/sageone/Companies/CompanyEntityType.d.ts +2 -2
- package/dist/models/integrations/sageone/Companies/CompanyNote.d.ts +5 -5
- package/dist/models/integrations/sageone/Items/Account.d.ts +15 -15
- package/dist/models/integrations/sageone/Items/AccountCategory.d.ts +6 -6
- package/dist/models/integrations/sageone/Items/AdditionalItemPrice.d.ts +5 -5
- package/dist/models/integrations/sageone/Items/Item.d.ts +56 -56
- package/dist/models/integrations/sageone/Items/ItemAdjustment.d.ts +8 -8
- package/dist/models/integrations/sageone/Items/ItemAttachment.d.ts +4 -4
- package/dist/models/integrations/sageone/Items/ItemCategory.d.ts +4 -4
- package/dist/models/integrations/sageone/Items/ItemNote.d.ts +11 -11
- package/dist/models/integrations/sageone/Items/ItemReportGroup.d.ts +7 -7
- package/dist/models/integrations/sageone/Items/TaxType.d.ts +11 -11
- package/dist/models/integrations/sageone/PurchaseOrders/EmailPurchaseOrder.d.ts +4 -4
- package/dist/models/integrations/sageone/PurchaseOrders/PurchaseOrder.d.ts +9 -9
- package/dist/models/integrations/sageone/PurchaseOrders/PurchaseOrderLine.d.ts +5 -5
- package/dist/models/integrations/sageone/SageOneApiConfig.d.ts +8 -8
- package/dist/models/integrations/sageone/SageOneResponse.d.ts +3 -3
- package/dist/models/integrations/sageone/Suppliers/Supplier.d.ts +46 -46
- package/dist/models/integrations/sageone/Suppliers/SupplierAdditionalContactDetail.d.ts +11 -11
- package/dist/models/integrations/sageone/Suppliers/SupplierBankDetail.d.ts +10 -10
- package/dist/models/integrations/sageone/Suppliers/SupplierCategory.d.ts +4 -4
- package/dist/models/integrations/sageone/Suppliers/SupplierNote.d.ts +11 -11
- package/dist/models/procurement/Invoice.d.ts +1 -0
- package/dist/models/procurement/Invoice.d.ts.map +1 -1
- package/dist/models/procurement/InvoiceLine.d.ts +1 -0
- package/dist/models/procurement/InvoiceLine.d.ts.map +1 -1
- package/dist/models/procurement/Quotation.d.ts +1 -0
- package/dist/models/procurement/Quotation.d.ts.map +1 -1
- package/dist/models/procurement/RequestPurchaseOrder.d.ts +5 -2
- package/dist/models/procurement/RequestPurchaseOrder.d.ts.map +1 -1
- package/dist/models/procurements/AuditLog.d.ts +9 -9
- package/dist/models/procurements/CacheKeys/CurrencyCacheKeys.d.ts +11 -0
- package/dist/models/procurements/CacheKeys/CurrencyCacheKeys.d.ts.map +1 -0
- package/dist/models/procurements/CacheKeys/CurrencyCacheKeys.js +10 -0
- package/dist/models/procurements/CacheKeys/CurrencyCacheKeys.js.map +1 -0
- package/dist/models/procurements/CacheKeys/QuotationLineApprovalCacheKeys.d.ts +14 -0
- package/dist/models/procurements/CacheKeys/QuotationLineApprovalCacheKeys.d.ts.map +1 -0
- package/dist/models/procurements/CacheKeys/QuotationLineApprovalCacheKeys.js +13 -0
- package/dist/models/procurements/CacheKeys/QuotationLineApprovalCacheKeys.js.map +1 -0
- package/dist/models/procurements/CacheKeys/index.d.ts +2 -0
- package/dist/models/procurements/CacheKeys/index.d.ts.map +1 -1
- package/dist/models/procurements/CacheKeys/index.js +2 -0
- package/dist/models/procurements/CacheKeys/index.js.map +1 -1
- package/dist/models/procurements/Currency.d.ts +13 -0
- package/dist/models/procurements/Currency.d.ts.map +1 -0
- package/dist/models/procurements/Currency.js +2 -0
- package/dist/models/procurements/Currency.js.map +1 -0
- package/dist/models/procurements/Invoice.d.ts +17 -13
- package/dist/models/procurements/Invoice.d.ts.map +1 -1
- package/dist/models/procurements/InvoiceLine.d.ts +14 -10
- package/dist/models/procurements/InvoiceLine.d.ts.map +1 -1
- package/dist/models/procurements/InvoiceStatus.d.ts +7 -7
- package/dist/models/procurements/ModelView/AuditLogViewModel.d.ts +23 -23
- package/dist/models/procurements/ModelView/InvoiceViewModel.d.ts +30 -30
- package/dist/models/procurements/ModelView/NotificationViewModel.d.ts +19 -19
- package/dist/models/procurements/ModelView/ProcurementDashboardStats.d.ts +27 -0
- package/dist/models/procurements/ModelView/ProcurementDashboardStats.d.ts.map +1 -0
- package/dist/models/procurements/ModelView/ProcurementDashboardStats.js +2 -0
- package/dist/models/procurements/ModelView/ProcurementDashboardStats.js.map +1 -0
- package/dist/models/procurements/ModelView/ProcurementRoleAssignmentViewModel.d.ts +23 -23
- package/dist/models/procurements/ModelView/PurchaseRequestViewModel.d.ts +72 -72
- package/dist/models/procurements/ModelView/QuotationViewModel.d.ts +37 -37
- package/dist/models/procurements/ModelView/RequestApprovalModelView.d.ts +17 -17
- package/dist/models/procurements/ModelView/RequestAttachmentViewModel.d.ts +19 -19
- package/dist/models/procurements/ModelView/RequestCommentCreateModel.d.ts +4 -4
- package/dist/models/procurements/ModelView/RequestCommentFilterModel.d.ts +5 -5
- package/dist/models/procurements/ModelView/RequestCommentView.d.ts +11 -11
- package/dist/models/procurements/ModelView/RequestStatusViewModel.d.ts +11 -11
- package/dist/models/procurements/ModelView/index.d.ts +1 -0
- package/dist/models/procurements/ModelView/index.d.ts.map +1 -1
- package/dist/models/procurements/ModelView/index.js +1 -0
- package/dist/models/procurements/ModelView/index.js.map +1 -1
- package/dist/models/procurements/Notification.d.ts +10 -10
- package/dist/models/procurements/ProcurementNotificationQueue.d.ts +11 -11
- package/dist/models/procurements/ProcurementRoleAssignment.d.ts +7 -7
- package/dist/models/procurements/ProcurementRoleType.d.ts +7 -7
- package/dist/models/procurements/PurchaseRequest.d.ts +19 -19
- package/dist/models/procurements/Quotation.d.ts +17 -13
- package/dist/models/procurements/Quotation.d.ts.map +1 -1
- package/dist/models/procurements/QuotationLine.d.ts +22 -10
- package/dist/models/procurements/QuotationLine.d.ts.map +1 -1
- package/dist/models/procurements/QuotationLineApproval.d.ts +19 -0
- package/dist/models/procurements/QuotationLineApproval.d.ts.map +1 -0
- package/dist/models/procurements/QuotationLineApproval.js +2 -0
- package/dist/models/procurements/QuotationLineApproval.js.map +1 -0
- package/dist/models/procurements/QuotationStatus.d.ts +7 -7
- package/dist/models/procurements/RequestApproval.d.ts +8 -8
- package/dist/models/procurements/RequestApprovalStatus.d.ts +7 -7
- package/dist/models/procurements/RequestAttachment.d.ts +9 -9
- package/dist/models/procurements/RequestComment.d.ts +7 -7
- package/dist/models/procurements/RequestPurchaseOrder.d.ts +17 -5
- package/dist/models/procurements/RequestPurchaseOrder.d.ts.map +1 -1
- package/dist/models/procurements/RequestStage.d.ts +7 -7
- package/dist/models/procurements/RequestStatus.d.ts +8 -8
- package/dist/models/procurements/RequestType.d.ts +7 -7
- package/dist/models/procurements/index.d.ts +2 -0
- package/dist/models/procurements/index.d.ts.map +1 -1
- package/dist/models/procurements/index.js +2 -0
- package/dist/models/procurements/index.js.map +1 -1
- package/dist/models/suppliers/CacheKeys/IndustryCacheKeys.d.ts +3 -3
- package/dist/models/suppliers/CacheKeys/IndustryCacheKeys.js +3 -3
- package/dist/models/suppliers/CacheKeys/SubscriptionStatusCacheKeys.d.ts +3 -3
- package/dist/models/suppliers/CacheKeys/SubscriptionStatusCacheKeys.js +3 -3
- package/dist/models/suppliers/CacheKeys/SubscriptionTypeCacheKeys.d.ts +3 -3
- package/dist/models/suppliers/CacheKeys/SubscriptionTypeCacheKeys.js +3 -3
- package/dist/models/suppliers/CacheKeys/SubscriptionUserCacheKeys.d.ts +12 -0
- package/dist/models/suppliers/CacheKeys/SubscriptionUserCacheKeys.d.ts.map +1 -0
- package/dist/models/suppliers/CacheKeys/SubscriptionUserCacheKeys.js +11 -0
- package/dist/models/suppliers/CacheKeys/SubscriptionUserCacheKeys.js.map +1 -0
- package/dist/models/suppliers/CacheKeys/SupplierAccountCacheKeys.d.ts +3 -3
- package/dist/models/suppliers/CacheKeys/SupplierAccountCacheKeys.js +3 -3
- package/dist/models/suppliers/CacheKeys/SupplierAddressCacheKeys.d.ts +3 -3
- package/dist/models/suppliers/CacheKeys/SupplierAddressCacheKeys.js +3 -3
- package/dist/models/suppliers/CacheKeys/SupplierCacheKeys.d.ts +3 -3
- package/dist/models/suppliers/CacheKeys/SupplierCacheKeys.js +3 -3
- package/dist/models/suppliers/CacheKeys/SupplierContactCacheKeys.d.ts +3 -3
- package/dist/models/suppliers/CacheKeys/SupplierContactCacheKeys.js +3 -3
- package/dist/models/suppliers/CacheKeys/SupplierSubscriptionCacheKeys.d.ts +3 -3
- package/dist/models/suppliers/CacheKeys/SupplierSubscriptionCacheKeys.js +3 -3
- package/dist/models/suppliers/CacheKeys/index.d.ts +1 -0
- package/dist/models/suppliers/CacheKeys/index.d.ts.map +1 -1
- package/dist/models/suppliers/CacheKeys/index.js +1 -0
- package/dist/models/suppliers/CacheKeys/index.js.map +1 -1
- package/dist/models/suppliers/SageOne/SageOneSupplier.d.ts +46 -46
- package/dist/models/suppliers/SageOne/SageOneSupplierBankDetail.d.ts +10 -10
- package/dist/models/suppliers/SageOne/SageOneSupplierCategory.d.ts +4 -4
- package/dist/models/suppliers/SageOne/SageOneSupplierContact.d.ts +11 -11
- package/dist/models/suppliers/SageOne/SageOneSupplierNote.d.ts +11 -11
- package/dist/models/suppliers/SubscriptionUser.d.ts +14 -0
- package/dist/models/suppliers/SubscriptionUser.d.ts.map +1 -0
- package/dist/models/suppliers/SubscriptionUser.js +2 -0
- package/dist/models/suppliers/SubscriptionUser.js.map +1 -0
- package/dist/models/suppliers/SupplierSubscription.d.ts +7 -0
- package/dist/models/suppliers/SupplierSubscription.d.ts.map +1 -1
- package/dist/models/suppliers/index.d.ts +1 -0
- package/dist/models/suppliers/index.d.ts.map +1 -1
- package/dist/models/suppliers/index.js +1 -0
- package/dist/models/suppliers/index.js.map +1 -1
- package/dist/models/vendorcatalog/ModelView/ShopEventProductModelView.d.ts +2 -0
- package/dist/models/vendorcatalog/ModelView/ShopEventProductModelView.d.ts.map +1 -1
- package/dist/models/vendorcatalog/ModelView/VendorProductRequests.d.ts +18 -14
- package/dist/models/vendorcatalog/ModelView/VendorProductRequests.d.ts.map +1 -1
- package/dist/react/hooks/services/useProcurementsServices.d.ts +37 -1
- package/dist/react/hooks/services/useProcurementsServices.d.ts.map +1 -1
- package/dist/react/hooks/services/useProcurementsServices.js +54 -0
- package/dist/react/hooks/services/useProcurementsServices.js.map +1 -1
- package/dist/react/hooks/services/useSupplierServices.d.ts +5 -1
- package/dist/react/hooks/services/useSupplierServices.d.ts.map +1 -1
- package/dist/react/hooks/services/useSupplierServices.js +6 -0
- package/dist/react/hooks/services/useSupplierServices.js.map +1 -1
- package/dist/services/procurements/ApproverPortalService.d.ts +16 -0
- package/dist/services/procurements/ApproverPortalService.d.ts.map +1 -0
- package/dist/services/procurements/ApproverPortalService.js +29 -0
- package/dist/services/procurements/ApproverPortalService.js.map +1 -0
- package/dist/services/procurements/CurrencyService.d.ts +16 -0
- package/dist/services/procurements/CurrencyService.d.ts.map +1 -0
- package/dist/services/procurements/CurrencyService.js +19 -0
- package/dist/services/procurements/CurrencyService.js.map +1 -0
- package/dist/services/procurements/FinancePortalService.d.ts +17 -0
- package/dist/services/procurements/FinancePortalService.d.ts.map +1 -0
- package/dist/services/procurements/FinancePortalService.js +33 -0
- package/dist/services/procurements/FinancePortalService.js.map +1 -0
- package/dist/services/procurements/ProcurementDashboardService.d.ts +14 -0
- package/dist/services/procurements/ProcurementDashboardService.d.ts.map +1 -0
- package/dist/services/procurements/ProcurementDashboardService.js +21 -0
- package/dist/services/procurements/ProcurementDashboardService.js.map +1 -0
- package/dist/services/procurements/ProcurementRoleAssignmentService.d.ts +10 -0
- package/dist/services/procurements/ProcurementRoleAssignmentService.d.ts.map +1 -0
- package/dist/services/procurements/ProcurementRoleAssignmentService.js +13 -0
- package/dist/services/procurements/ProcurementRoleAssignmentService.js.map +1 -0
- package/dist/services/procurements/QuotationLineApprovalService.d.ts +28 -0
- package/dist/services/procurements/QuotationLineApprovalService.d.ts.map +1 -0
- package/dist/services/procurements/QuotationLineApprovalService.js +41 -0
- package/dist/services/procurements/QuotationLineApprovalService.js.map +1 -0
- package/dist/services/procurements/RequestApprovalService.d.ts +10 -0
- package/dist/services/procurements/RequestApprovalService.d.ts.map +1 -0
- package/dist/services/procurements/RequestApprovalService.js +13 -0
- package/dist/services/procurements/RequestApprovalService.js.map +1 -0
- package/dist/services/procurements/RequestPurchaseOrderService.d.ts +10 -0
- package/dist/services/procurements/RequestPurchaseOrderService.d.ts.map +1 -0
- package/dist/services/procurements/RequestPurchaseOrderService.js +13 -0
- package/dist/services/procurements/RequestPurchaseOrderService.js.map +1 -0
- package/dist/services/procurements/StaffRequestPortalService.d.ts +18 -0
- package/dist/services/procurements/StaffRequestPortalService.d.ts.map +1 -0
- package/dist/services/procurements/StaffRequestPortalService.js +36 -0
- package/dist/services/procurements/StaffRequestPortalService.js.map +1 -0
- package/dist/services/procurements/index.d.ts +27 -0
- package/dist/services/procurements/index.d.ts.map +1 -1
- package/dist/services/procurements/index.js +27 -0
- package/dist/services/procurements/index.js.map +1 -1
- package/dist/services/suppliers/SubscriptionUserService.d.ts +20 -0
- package/dist/services/suppliers/SubscriptionUserService.d.ts.map +1 -0
- package/dist/services/suppliers/SubscriptionUserService.js +27 -0
- package/dist/services/suppliers/SubscriptionUserService.js.map +1 -0
- package/dist/services/suppliers/index.d.ts +3 -0
- package/dist/services/suppliers/index.d.ts.map +1 -1
- package/dist/services/suppliers/index.js +3 -0
- package/dist/services/suppliers/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -5,92 +5,92 @@ import { RequestApprovalModelView } from './RequestApprovalModelView';
|
|
|
5
5
|
* View model for displaying PurchaseRequest with enriched lookup data.
|
|
6
6
|
*/
|
|
7
7
|
export interface PurchaseRequestViewModel {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
8
|
+
requestID: number;
|
|
9
|
+
requestTypeID: number;
|
|
10
|
+
requestTypeName: string | null;
|
|
11
|
+
requestTypeColor: string | null;
|
|
12
|
+
locationID: number;
|
|
13
|
+
locationName: string | null;
|
|
14
|
+
projectID: number | null;
|
|
15
|
+
projectName: string | null;
|
|
16
|
+
departmentID: number;
|
|
17
|
+
departmentName: string | null;
|
|
18
|
+
requestedByUserId: string | null;
|
|
19
|
+
requestedByUserFirstName: string | null;
|
|
20
|
+
requestedByUserLastName: string | null;
|
|
21
|
+
requestedByUserEmail: string | null;
|
|
22
|
+
requestedByUserPhone: string | null;
|
|
23
|
+
requestedByUserAvatar: string | null;
|
|
24
|
+
requestedOn: string;
|
|
25
|
+
name: string | null;
|
|
26
|
+
details: string | null;
|
|
27
|
+
reason: string | null;
|
|
28
|
+
neededBy: string;
|
|
29
|
+
statusID: number;
|
|
30
|
+
statusName: string | null;
|
|
31
|
+
statusColor: string | null;
|
|
32
|
+
stageID: number;
|
|
33
|
+
stageName: string | null;
|
|
34
|
+
stageColor: string | null;
|
|
35
|
+
purchaseOrderNumber: string | null;
|
|
36
|
+
paymentDate: string | null;
|
|
37
|
+
revisitOn: string | null;
|
|
38
|
+
acceptedByUserId: string | null;
|
|
39
|
+
acceptedByUserFirstName: string | null;
|
|
40
|
+
acceptedByUserLastName: string | null;
|
|
41
|
+
acceptedByUserEmail: string | null;
|
|
42
|
+
acceptedByUserPhone: string | null;
|
|
43
|
+
acceptedByUserAvatar: string | null;
|
|
44
|
+
modifiedDateTime: number;
|
|
45
|
+
createdDateTime: number;
|
|
46
|
+
quotations: QuotationViewModel[] | null;
|
|
47
|
+
invoices: InvoiceViewModel[] | null;
|
|
48
|
+
approvals: RequestApprovalModelView[] | null;
|
|
49
|
+
attachments: any[] | null;
|
|
50
50
|
}
|
|
51
51
|
/**
|
|
52
52
|
* Grouped response for purchase requests by status, with counts.
|
|
53
53
|
*/
|
|
54
54
|
export interface PurchaseRequestGroupedResponse {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
55
|
+
statusID: number;
|
|
56
|
+
statusName: string | null;
|
|
57
|
+
statusColor: string | null;
|
|
58
|
+
statusDescription: string | null;
|
|
59
|
+
stageID: number;
|
|
60
|
+
stageName: string | null;
|
|
61
|
+
stageColor: string | null;
|
|
62
|
+
count: number;
|
|
63
|
+
requests: PurchaseRequestViewModel[];
|
|
64
64
|
}
|
|
65
65
|
/**
|
|
66
66
|
* Filter model for querying PurchaseRequest records.
|
|
67
67
|
*/
|
|
68
68
|
export interface PurchaseRequestFilterModel {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
69
|
+
searchText: string | null;
|
|
70
|
+
statusID: number | null;
|
|
71
|
+
requestTypeID: number | null;
|
|
72
|
+
locationID: number | null;
|
|
73
|
+
departmentID: number | null;
|
|
74
|
+
requestedByUserId: string | null;
|
|
75
|
+
requestedFrom: string | null;
|
|
76
|
+
requestedTo: string | null;
|
|
77
77
|
}
|
|
78
78
|
/**
|
|
79
79
|
* Model View for creating new PurchaseRequest with minimal fields and quotations added.
|
|
80
80
|
*/
|
|
81
81
|
export interface PurchaseRequestCreateModel {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
82
|
+
projectID: number;
|
|
83
|
+
locationID: number;
|
|
84
|
+
departmentID: number;
|
|
85
|
+
requestedByUserId: string | null;
|
|
86
|
+
name: string | null;
|
|
87
|
+
details: string | null;
|
|
88
|
+
reason: string | null;
|
|
89
|
+
neededBy: string;
|
|
90
|
+
statusID: number;
|
|
91
|
+
typeID: number;
|
|
92
|
+
quotations: CreateQuotationModel[] | null;
|
|
93
|
+
initialApproval: any | null;
|
|
94
|
+
attachments: any[] | null;
|
|
95
95
|
}
|
|
96
96
|
//# sourceMappingURL=PurchaseRequestViewModel.d.ts.map
|
|
@@ -2,57 +2,57 @@
|
|
|
2
2
|
* View model for QuotationLine items.
|
|
3
3
|
*/
|
|
4
4
|
export interface QuotationLineViewModel {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
quotationLineID: number;
|
|
6
|
+
quotationID: number;
|
|
7
|
+
description: string | null;
|
|
8
|
+
quantity: number;
|
|
9
|
+
unitPrice: number;
|
|
10
|
+
totalPrice: number;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
13
|
* View model for Quotation with enriched lookup data.
|
|
14
14
|
*/
|
|
15
15
|
export interface QuotationViewModel {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
16
|
+
quotationID: number;
|
|
17
|
+
requestID: number;
|
|
18
|
+
supplierID: number;
|
|
19
|
+
supplierName: string | null;
|
|
20
|
+
statusID: number;
|
|
21
|
+
statusName: string | null;
|
|
22
|
+
statusColor: string | null;
|
|
23
|
+
amount: number;
|
|
24
|
+
expiryDate: string;
|
|
25
|
+
documentUrl: string | null;
|
|
26
|
+
comment: string | null;
|
|
27
|
+
isPreferred: boolean;
|
|
28
|
+
preferenceReason: string | null;
|
|
29
|
+
lines: QuotationLineViewModel[] | null;
|
|
30
|
+
modifiedDateTime: number;
|
|
31
|
+
createdDateTime: number;
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
34
|
* Filter model for querying quotations.
|
|
35
35
|
*/
|
|
36
36
|
export interface QuotationFilterModel {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
37
|
+
requestID: number | null;
|
|
38
|
+
supplierID: number | null;
|
|
39
|
+
statusID: number | null;
|
|
40
|
+
expiryBefore: string | null;
|
|
41
|
+
isPreferred: boolean | null;
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
44
|
* Model for creating a new quotation.
|
|
45
45
|
*/
|
|
46
46
|
export interface CreateQuotationModel {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
47
|
+
requestID: number;
|
|
48
|
+
supplierID: number;
|
|
49
|
+
statusID: number;
|
|
50
|
+
comment: string | null;
|
|
51
|
+
amount: number;
|
|
52
|
+
expiryDate: string;
|
|
53
|
+
documentUrl: string | null;
|
|
54
|
+
isPreferred: boolean;
|
|
55
|
+
preferenceReason: string | null;
|
|
56
|
+
lines: QuotationLineViewModel[] | null;
|
|
57
57
|
}
|
|
58
58
|
//# sourceMappingURL=QuotationViewModel.d.ts.map
|
|
@@ -3,22 +3,22 @@
|
|
|
3
3
|
* Represents approval workflow entries for procurement requests.
|
|
4
4
|
*/
|
|
5
5
|
export interface RequestApprovalModelView {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
|
@@ -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"}
|
|
@@ -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
|
-
|
|
8
|
+
notificationID: number;
|
|
9
9
|
/**
|
|
10
10
|
* FK to PurchaseRequest.
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
requestID: number;
|
|
13
13
|
/**
|
|
14
14
|
* Recipient user ID from User microservice.
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
recipientUserId: string | null;
|
|
17
17
|
/**
|
|
18
18
|
* Notification message text.
|
|
19
19
|
*/
|
|
20
|
-
|
|
20
|
+
message: string | null;
|
|
21
21
|
/**
|
|
22
22
|
* Flag if the user has read it.
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
isRead: boolean;
|
|
25
25
|
/**
|
|
26
26
|
* Flag if it was pushed/sent out.
|
|
27
27
|
*/
|
|
28
|
-
|
|
28
|
+
isSent: boolean;
|
|
29
29
|
/**
|
|
30
30
|
* Timestamp when read by user.
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
readOn: string | null;
|
|
33
33
|
/**
|
|
34
34
|
* Timestamp when created.
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
createdOn: string;
|
|
37
37
|
/**
|
|
38
38
|
* Last modification ticks.
|
|
39
39
|
*/
|
|
40
|
-
|
|
40
|
+
modifiedDateTime: number;
|
|
41
41
|
/**
|
|
42
42
|
* Creation ticks.
|
|
43
43
|
*/
|
|
44
|
-
|
|
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
|
-
|
|
31
|
+
queueID: number;
|
|
32
32
|
/**
|
|
33
33
|
* Type of notification.
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
notificationType: ProcurementNotificationType;
|
|
36
36
|
/**
|
|
37
37
|
* Request ID.
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
requestID: number;
|
|
40
40
|
/**
|
|
41
41
|
* User ID who created the notification.
|
|
42
42
|
*/
|
|
43
|
-
|
|
43
|
+
createdByUserID: string | null;
|
|
44
44
|
/**
|
|
45
45
|
* Recipient user ID.
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
recipientUserId: string | null;
|
|
48
48
|
/**
|
|
49
49
|
* Timestamp when queued.
|
|
50
50
|
*/
|
|
51
|
-
|
|
51
|
+
queuedOn: string;
|
|
52
52
|
/**
|
|
53
53
|
* Timestamp when sent.
|
|
54
54
|
*/
|
|
55
|
-
|
|
55
|
+
sentOn: string | null;
|
|
56
56
|
/**
|
|
57
57
|
* Flag if notification was sent.
|
|
58
58
|
*/
|
|
59
|
-
|
|
59
|
+
isSent: boolean;
|
|
60
60
|
/**
|
|
61
61
|
* Number of send attempts.
|
|
62
62
|
*/
|
|
63
|
-
|
|
63
|
+
attemptCount: number;
|
|
64
64
|
/**
|
|
65
65
|
* Creation timestamp as decimal ticks.
|
|
66
66
|
*/
|
|
67
|
-
|
|
67
|
+
createdDateTime: number;
|
|
68
68
|
/**
|
|
69
69
|
* Modification timestamp as decimal ticks.
|
|
70
70
|
*/
|
|
71
|
-
|
|
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
|
-
|
|
8
|
+
userId: string | null;
|
|
9
9
|
/**
|
|
10
10
|
* Role type ID (composite key part 2).
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
roleTypeID: number;
|
|
13
13
|
/**
|
|
14
14
|
* Flag indicating if the assignment is active.
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
isActive: boolean;
|
|
17
17
|
/**
|
|
18
18
|
* Date when the role was assigned.
|
|
19
19
|
*/
|
|
20
|
-
|
|
20
|
+
assignedDate: string | null;
|
|
21
21
|
/**
|
|
22
22
|
* User ID of who assigned the role.
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
assignedBy: string | null;
|
|
25
25
|
/**
|
|
26
26
|
* Modification timestamp as decimal ticks.
|
|
27
27
|
*/
|
|
28
|
-
|
|
28
|
+
modifiedDateTime: number | null;
|
|
29
29
|
/**
|
|
30
30
|
* Creation timestamp as decimal ticks.
|
|
31
31
|
*/
|
|
32
|
-
|
|
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
|
-
|
|
8
|
+
roleTypeID: number;
|
|
9
9
|
/**
|
|
10
10
|
* Role type name.
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
name: string;
|
|
13
13
|
/**
|
|
14
14
|
* Role type description.
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
description: string | null;
|
|
17
17
|
/**
|
|
18
18
|
* UI badge color.
|
|
19
19
|
*/
|
|
20
|
-
|
|
20
|
+
color: string | null;
|
|
21
21
|
/**
|
|
22
22
|
* UI icon hint.
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
icon: string | null;
|
|
25
25
|
/**
|
|
26
26
|
* Creation timestamp as decimal ticks.
|
|
27
27
|
*/
|
|
28
|
-
|
|
28
|
+
createdDateTime: number;
|
|
29
29
|
/**
|
|
30
30
|
* Modification timestamp as decimal ticks.
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
modifiedDateTime: number;
|
|
33
33
|
}
|
|
34
34
|
//# sourceMappingURL=ProcurementRoleType.d.ts.map
|