@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,38 +5,38 @@ export interface AuditLog {
|
|
|
5
5
|
/**
|
|
6
6
|
* Primary key.
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
auditLogID: number;
|
|
9
9
|
/**
|
|
10
10
|
* FK to PurchaseRequest.
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
requestID: number;
|
|
13
13
|
/**
|
|
14
14
|
* User who performed the action.
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
userId: string | null;
|
|
17
17
|
/**
|
|
18
18
|
* StatusID snapshot at time of action.
|
|
19
19
|
*/
|
|
20
|
-
|
|
20
|
+
requestStatusID: number;
|
|
21
21
|
/**
|
|
22
22
|
* Type of audit action (Insert, Update, Delete, Status Change, etc.).
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
auditType: string | null;
|
|
25
25
|
/**
|
|
26
26
|
* Free-text description of the action.
|
|
27
27
|
*/
|
|
28
|
-
|
|
28
|
+
description: string | null;
|
|
29
29
|
/**
|
|
30
30
|
* Timestamp when the action occurred.
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
actionOn: string;
|
|
33
33
|
/**
|
|
34
34
|
* Last modification ticks.
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
modifiedDateTime: number;
|
|
37
37
|
/**
|
|
38
38
|
* Creation ticks.
|
|
39
39
|
*/
|
|
40
|
-
|
|
40
|
+
createdDateTime: number;
|
|
41
41
|
}
|
|
42
42
|
//# sourceMappingURL=AuditLog.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cache keys for Currency
|
|
3
|
+
*/
|
|
4
|
+
export declare const CurrencyCacheKeys: {
|
|
5
|
+
readonly base: "ccms:procurements:currency";
|
|
6
|
+
readonly all: () => string;
|
|
7
|
+
readonly byId: (id: number | string) => string;
|
|
8
|
+
readonly byFilter: (filter: string) => string;
|
|
9
|
+
};
|
|
10
|
+
export type CurrencyCacheKeysType = typeof CurrencyCacheKeys;
|
|
11
|
+
//# sourceMappingURL=CurrencyCacheKeys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CurrencyCacheKeys.d.ts","sourceRoot":"","sources":["../../../../src/models/procurements/CacheKeys/CurrencyCacheKeys.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;wBAGjB,MAAM,GAAG,MAAM;gCACP,MAAM;CACjB,CAAC;AAEX,MAAM,MAAM,qBAAqB,GAAG,OAAO,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cache keys for Currency
|
|
3
|
+
*/
|
|
4
|
+
export const CurrencyCacheKeys = {
|
|
5
|
+
base: 'ccms:procurements:currency',
|
|
6
|
+
all: () => `ccms:procurements:currency:all`,
|
|
7
|
+
byId: (id) => `ccms:procurements:currency:${id}`,
|
|
8
|
+
byFilter: (filter) => `ccms:procurements:currency:filter:${filter}`,
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=CurrencyCacheKeys.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CurrencyCacheKeys.js","sourceRoot":"","sources":["../../../../src/models/procurements/CacheKeys/CurrencyCacheKeys.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,IAAI,EAAE,4BAA4B;IAClC,GAAG,EAAE,GAAG,EAAE,CAAC,gCAAgC;IAC3C,IAAI,EAAE,CAAC,EAAmB,EAAE,EAAE,CAAC,8BAA8B,EAAE,EAAE;IACjE,QAAQ,EAAE,CAAC,MAAc,EAAE,EAAE,CAAC,qCAAqC,MAAM,EAAE;CACnE,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cache keys for QuotationLineApproval
|
|
3
|
+
*/
|
|
4
|
+
export declare const QuotationLineApprovalCacheKeys: {
|
|
5
|
+
readonly base: "ccms:procurements:quotationlineapproval";
|
|
6
|
+
readonly all: () => string;
|
|
7
|
+
readonly byId: (id: number | string) => string;
|
|
8
|
+
readonly byQuotation: (quotationId: number | string) => string;
|
|
9
|
+
readonly byRequest: (requestId: number | string) => string;
|
|
10
|
+
readonly byQuotationLine: (quotationLineId: number | string) => string;
|
|
11
|
+
readonly byFilter: (filter: string) => string;
|
|
12
|
+
};
|
|
13
|
+
export type QuotationLineApprovalCacheKeysType = typeof QuotationLineApprovalCacheKeys;
|
|
14
|
+
//# sourceMappingURL=QuotationLineApprovalCacheKeys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuotationLineApprovalCacheKeys.d.ts","sourceRoot":"","sources":["../../../../src/models/procurements/CacheKeys/QuotationLineApprovalCacheKeys.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;wBAG9B,MAAM,GAAG,MAAM;wCACC,MAAM,GAAG,MAAM;oCACnB,MAAM,GAAG,MAAM;gDACH,MAAM,GAAG,MAAM;gCAC/B,MAAM;CACjB,CAAC;AAEX,MAAM,MAAM,kCAAkC,GAAG,OAAO,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cache keys for QuotationLineApproval
|
|
3
|
+
*/
|
|
4
|
+
export const QuotationLineApprovalCacheKeys = {
|
|
5
|
+
base: 'ccms:procurements:quotationlineapproval',
|
|
6
|
+
all: () => `ccms:procurements:quotationlineapproval:all`,
|
|
7
|
+
byId: (id) => `ccms:procurements:quotationlineapproval:${id}`,
|
|
8
|
+
byQuotation: (quotationId) => `ccms:procurements:quotationlineapproval:quotation:${quotationId}`,
|
|
9
|
+
byRequest: (requestId) => `ccms:procurements:quotationlineapproval:request:${requestId}`,
|
|
10
|
+
byQuotationLine: (quotationLineId) => `ccms:procurements:quotationlineapproval:line:${quotationLineId}`,
|
|
11
|
+
byFilter: (filter) => `ccms:procurements:quotationlineapproval:filter:${filter}`,
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=QuotationLineApprovalCacheKeys.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuotationLineApprovalCacheKeys.js","sourceRoot":"","sources":["../../../../src/models/procurements/CacheKeys/QuotationLineApprovalCacheKeys.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,IAAI,EAAE,yCAAyC;IAC/C,GAAG,EAAE,GAAG,EAAE,CAAC,6CAA6C;IACxD,IAAI,EAAE,CAAC,EAAmB,EAAE,EAAE,CAAC,2CAA2C,EAAE,EAAE;IAC9E,WAAW,EAAE,CAAC,WAA4B,EAAE,EAAE,CAAC,qDAAqD,WAAW,EAAE;IACjH,SAAS,EAAE,CAAC,SAA0B,EAAE,EAAE,CAAC,mDAAmD,SAAS,EAAE;IACzG,eAAe,EAAE,CAAC,eAAgC,EAAE,EAAE,CAAC,gDAAgD,eAAe,EAAE;IACxH,QAAQ,EAAE,CAAC,MAAc,EAAE,EAAE,CAAC,kDAAkD,MAAM,EAAE;CAChF,CAAC"}
|
|
@@ -19,4 +19,6 @@ export * from './NotificationCacheKeys';
|
|
|
19
19
|
export * from './AuditLogCacheKeys';
|
|
20
20
|
export * from './SageItemCacheKeys';
|
|
21
21
|
export * from './SagePurchaseOrderCacheKeys';
|
|
22
|
+
export * from './CurrencyCacheKeys';
|
|
23
|
+
export * from './QuotationLineApprovalCacheKeys';
|
|
22
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/models/procurements/CacheKeys/index.ts"],"names":[],"mappings":"AACA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sCAAsC,CAAC;AACrD,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/models/procurements/CacheKeys/index.ts"],"names":[],"mappings":"AACA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sCAAsC,CAAC;AACrD,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qBAAqB,CAAC;AACpC,cAAc,kCAAkC,CAAC"}
|
|
@@ -20,4 +20,6 @@ export * from './NotificationCacheKeys';
|
|
|
20
20
|
export * from './AuditLogCacheKeys';
|
|
21
21
|
export * from './SageItemCacheKeys';
|
|
22
22
|
export * from './SagePurchaseOrderCacheKeys';
|
|
23
|
+
export * from './CurrencyCacheKeys';
|
|
24
|
+
export * from './QuotationLineApprovalCacheKeys';
|
|
23
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/procurements/CacheKeys/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sCAAsC,CAAC;AACrD,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/procurements/CacheKeys/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sCAAsC,CAAC;AACrD,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qBAAqB,CAAC;AACpC,cAAc,kCAAkC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents a currency in the system.
|
|
3
|
+
*/
|
|
4
|
+
export interface Currency {
|
|
5
|
+
currencyID: number;
|
|
6
|
+
code: string;
|
|
7
|
+
name: string;
|
|
8
|
+
symbol: string;
|
|
9
|
+
isDefault: boolean;
|
|
10
|
+
createdDateTime: number;
|
|
11
|
+
modifiedDateTime: number;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=Currency.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Currency.d.ts","sourceRoot":"","sources":["../../../src/models/procurements/Currency.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,OAAO,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;CAC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Currency.js","sourceRoot":"","sources":["../../../src/models/procurements/Currency.ts"],"names":[],"mappings":""}
|
|
@@ -5,54 +5,58 @@ export interface Invoice {
|
|
|
5
5
|
/**
|
|
6
6
|
* Primary key.
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
invoiceID: number;
|
|
9
9
|
/**
|
|
10
10
|
* FK to PurchaseRequest.RequestID.
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
requestID: number;
|
|
13
13
|
/**
|
|
14
14
|
* Supplier identifier from microservice.
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
supplierID: number;
|
|
17
17
|
/**
|
|
18
18
|
* Supplier name.
|
|
19
19
|
*/
|
|
20
|
-
|
|
20
|
+
supplierName: string | null;
|
|
21
21
|
/**
|
|
22
22
|
* Invoice number from supplier.
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
invoiceNumber: string | null;
|
|
25
25
|
/**
|
|
26
26
|
* Status ID from InvoiceStatus lookup.
|
|
27
27
|
*/
|
|
28
|
-
|
|
28
|
+
statusID: number;
|
|
29
29
|
/**
|
|
30
30
|
* Date on the supplier's invoice.
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
invoiceDate: string;
|
|
33
33
|
/**
|
|
34
34
|
* Invoice amount.
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
amount: number;
|
|
37
37
|
/**
|
|
38
38
|
* Optional reference number (e.g. GRN, contract).
|
|
39
39
|
*/
|
|
40
|
-
|
|
40
|
+
referenceNumber: string | null;
|
|
41
41
|
/**
|
|
42
42
|
* URL to the invoice document.
|
|
43
43
|
*/
|
|
44
|
-
|
|
44
|
+
documentUrl: string | null;
|
|
45
|
+
/**
|
|
46
|
+
* Currency code for this invoice (e.g. "ZAR", "USD").
|
|
47
|
+
*/
|
|
48
|
+
currencyCode: string;
|
|
45
49
|
/**
|
|
46
50
|
* Timestamp when uploaded.
|
|
47
51
|
*/
|
|
48
|
-
|
|
52
|
+
submittedOn: string;
|
|
49
53
|
/**
|
|
50
54
|
* Last modification timestamp as decimal ticks.
|
|
51
55
|
*/
|
|
52
|
-
|
|
56
|
+
modifiedDateTime: number;
|
|
53
57
|
/**
|
|
54
58
|
* Creation timestamp as decimal ticks.
|
|
55
59
|
*/
|
|
56
|
-
|
|
60
|
+
createdDateTime: number;
|
|
57
61
|
}
|
|
58
62
|
//# sourceMappingURL=Invoice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Invoice.d.ts","sourceRoot":"","sources":["../../../src/models/procurements/Invoice.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B;;OAEG;IACH,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAE7B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/B;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB"}
|
|
1
|
+
{"version":3,"file":"Invoice.d.ts","sourceRoot":"","sources":["../../../src/models/procurements/Invoice.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B;;OAEG;IACH,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAE7B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/B;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB"}
|
|
@@ -5,42 +5,46 @@ export interface InvoiceLine {
|
|
|
5
5
|
/**
|
|
6
6
|
* Primary key.
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
invoiceLineID: number;
|
|
9
9
|
/**
|
|
10
10
|
* FK to Invoice.InvoiceID.
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
invoiceID: number;
|
|
13
13
|
/**
|
|
14
14
|
* Item identifier.
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
itemID: number;
|
|
17
17
|
/**
|
|
18
18
|
* Item code.
|
|
19
19
|
*/
|
|
20
|
-
|
|
20
|
+
code: string | null;
|
|
21
21
|
/**
|
|
22
22
|
* Item description.
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
description: string;
|
|
25
25
|
/**
|
|
26
26
|
* Quantity ordered.
|
|
27
27
|
*/
|
|
28
|
-
|
|
28
|
+
quantity: number;
|
|
29
29
|
/**
|
|
30
30
|
* Unit price.
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
unitPrice: number;
|
|
33
33
|
/**
|
|
34
34
|
* Total price for this line.
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
totalPrice: number;
|
|
37
|
+
/**
|
|
38
|
+
* Currency code for this line item (e.g. "ZAR", "USD").
|
|
39
|
+
*/
|
|
40
|
+
currencyCode: string;
|
|
37
41
|
/**
|
|
38
42
|
* Creation ticks.
|
|
39
43
|
*/
|
|
40
|
-
|
|
44
|
+
createdDateTime: number | null;
|
|
41
45
|
/**
|
|
42
46
|
* Modification ticks.
|
|
43
47
|
*/
|
|
44
|
-
|
|
48
|
+
modifiedDateTime: number | null;
|
|
45
49
|
}
|
|
46
50
|
//# sourceMappingURL=InvoiceLine.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InvoiceLine.d.ts","sourceRoot":"","sources":["../../../src/models/procurements/InvoiceLine.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;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":"InvoiceLine.d.ts","sourceRoot":"","sources":["../../../src/models/procurements/InvoiceLine.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;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,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/B;;OAEG;IACH,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;CACjC"}
|
|
@@ -5,30 +5,30 @@ export interface InvoiceStatus {
|
|
|
5
5
|
/**
|
|
6
6
|
* Primary key.
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
statusID: number;
|
|
9
9
|
/**
|
|
10
10
|
* Name of status (e.g. "Pending").
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
name: string | null;
|
|
13
13
|
/**
|
|
14
14
|
* Description (tooltip/audit).
|
|
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 ticks.
|
|
27
27
|
*/
|
|
28
|
-
|
|
28
|
+
createdDateTime: number;
|
|
29
29
|
/**
|
|
30
30
|
* Modification ticks.
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
modifiedDateTime: number;
|
|
33
33
|
}
|
|
34
34
|
//# sourceMappingURL=InvoiceStatus.d.ts.map
|
|
@@ -3,33 +3,33 @@
|
|
|
3
3
|
* Functions will be implemented in cache services.
|
|
4
4
|
*/
|
|
5
5
|
export interface AuditLogViewModel {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
6
|
+
auditLogID: number;
|
|
7
|
+
requestID: number;
|
|
8
|
+
userId: string | null;
|
|
9
|
+
userFirstName: string | null;
|
|
10
|
+
userLastName: string | null;
|
|
11
|
+
userEmail: string | null;
|
|
12
|
+
userPhone: string | null;
|
|
13
|
+
userAvatar: string | null;
|
|
14
|
+
requestStatusID: number;
|
|
15
|
+
requestStatusName: string | null;
|
|
16
|
+
requestStatusColor: string | null;
|
|
17
|
+
requestStageID: number;
|
|
18
|
+
requestStageName: string | null;
|
|
19
|
+
requestStageColor: string | null;
|
|
20
|
+
auditType: string | null;
|
|
21
|
+
description: string | null;
|
|
22
|
+
actionOn: string;
|
|
23
|
+
modifiedDateTime: number;
|
|
24
|
+
createdDateTime: number;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
* Filter model for querying audit logs.
|
|
28
28
|
*/
|
|
29
29
|
export interface AuditLogFilterModel {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
requestID: number | null;
|
|
31
|
+
userId: string | null;
|
|
32
|
+
from: string | null;
|
|
33
|
+
to: string | null;
|
|
34
34
|
}
|
|
35
35
|
//# sourceMappingURL=AuditLogViewModel.d.ts.map
|
|
@@ -3,45 +3,45 @@ import { InvoiceLine } from '../InvoiceLine';
|
|
|
3
3
|
* View model for Invoice with enriched lookup data.
|
|
4
4
|
*/
|
|
5
5
|
export interface InvoiceViewModel {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
6
|
+
invoiceID: number;
|
|
7
|
+
requestID: number;
|
|
8
|
+
supplierID: number;
|
|
9
|
+
supplierName: string | null;
|
|
10
|
+
invoiceNumber: string | null;
|
|
11
|
+
statusID: number;
|
|
12
|
+
statusName: string | null;
|
|
13
|
+
statusColor: string | null;
|
|
14
|
+
invoiceDate: string;
|
|
15
|
+
amount: number;
|
|
16
|
+
referenceNumber: string | null;
|
|
17
|
+
documentUrl: string | null;
|
|
18
|
+
submittedOn: string;
|
|
19
|
+
lines: InvoiceLine[] | null;
|
|
20
|
+
modifiedDateTime: number;
|
|
21
|
+
createdDateTime: number;
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
* Filter model for querying invoices.
|
|
25
25
|
*/
|
|
26
26
|
export interface InvoiceFilterModel {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
requestID: number | null;
|
|
28
|
+
supplierID: number | null;
|
|
29
|
+
statusID: number | null;
|
|
30
|
+
fromDate: string | null;
|
|
31
|
+
toDate: string | null;
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
34
|
* Model for creating a new invoice.
|
|
35
35
|
*/
|
|
36
36
|
export interface CreateInvoiceModel {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
37
|
+
requestID: number;
|
|
38
|
+
supplierID: number;
|
|
39
|
+
supplierName: string | null;
|
|
40
|
+
invoiceNumber: string | null;
|
|
41
|
+
invoiceDate: string;
|
|
42
|
+
amount: number;
|
|
43
|
+
referenceNumber: string | null;
|
|
44
|
+
documentUrl: string | null;
|
|
45
|
+
lines: InvoiceLine[] | null;
|
|
46
46
|
}
|
|
47
47
|
//# sourceMappingURL=InvoiceViewModel.d.ts.map
|
|
@@ -2,29 +2,29 @@
|
|
|
2
2
|
* View model for Notification entries.
|
|
3
3
|
*/
|
|
4
4
|
export interface NotificationViewModel {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
5
|
+
notificationID: number;
|
|
6
|
+
requestID: number;
|
|
7
|
+
recipientUserId: string | null;
|
|
8
|
+
recipientUserFirstName: string | null;
|
|
9
|
+
recipientUserLastName: string | null;
|
|
10
|
+
recipientUserEmail: string | null;
|
|
11
|
+
recipientUserPhone: string | null;
|
|
12
|
+
recipientUserAvatar: string | null;
|
|
13
|
+
message: string | null;
|
|
14
|
+
isRead: boolean;
|
|
15
|
+
isSent: boolean;
|
|
16
|
+
readOn: string | null;
|
|
17
|
+
createdOn: string;
|
|
18
|
+
modifiedDateTime: number;
|
|
19
|
+
createdDateTime: number;
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
22
|
* Filter model for querying notifications.
|
|
23
23
|
*/
|
|
24
24
|
export interface NotificationFilterModel {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
recipientUserId: string | null;
|
|
26
|
+
isRead: boolean | null;
|
|
27
|
+
createdAfter: string | null;
|
|
28
|
+
createdBefore: string | null;
|
|
29
29
|
}
|
|
30
30
|
//# sourceMappingURL=NotificationViewModel.d.ts.map
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard statistics returned from the procurement portal.
|
|
3
|
+
*/
|
|
4
|
+
export interface ProcurementDashboardStats {
|
|
5
|
+
myDrafts: number;
|
|
6
|
+
mySubmitted: number;
|
|
7
|
+
myApproved: number;
|
|
8
|
+
myCompleted: number;
|
|
9
|
+
totalRequests: number;
|
|
10
|
+
pendingLineApprovals: number;
|
|
11
|
+
pendingFinanceApprovals: number;
|
|
12
|
+
isLineApprover: boolean;
|
|
13
|
+
isFinanceOfficer: boolean;
|
|
14
|
+
isAdmin: boolean;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* User's procurement role info.
|
|
18
|
+
*/
|
|
19
|
+
export interface UserProcurementRole {
|
|
20
|
+
assignmentID: number;
|
|
21
|
+
userId: string;
|
|
22
|
+
roleTypeID: number;
|
|
23
|
+
isActive: boolean;
|
|
24
|
+
createdDateTime: number;
|
|
25
|
+
modifiedDateTime: number;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=ProcurementDashboardStats.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProcurementDashboardStats.d.ts","sourceRoot":"","sources":["../../../../src/models/procurements/ModelView/ProcurementDashboardStats.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,uBAAuB,EAAE,MAAM,CAAC;IAChC,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,OAAO,EAAE,OAAO,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;CAC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProcurementDashboardStats.js","sourceRoot":"","sources":["../../../../src/models/procurements/ModelView/ProcurementDashboardStats.ts"],"names":[],"mappings":""}
|
|
@@ -2,33 +2,33 @@
|
|
|
2
2
|
* View model for procurement role assignment with enriched user and role data.
|
|
3
3
|
*/
|
|
4
4
|
export interface ProcurementRoleAssignmentViewModel {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
5
|
+
userId: string | null;
|
|
6
|
+
roleTypeID: number;
|
|
7
|
+
roleTypeName: string | null;
|
|
8
|
+
roleTypeColor: string | null;
|
|
9
|
+
isActive: boolean;
|
|
10
|
+
assignedDate: string | null;
|
|
11
|
+
assignedBy: string | null;
|
|
12
|
+
firstName: string | null;
|
|
13
|
+
surname: string | null;
|
|
14
|
+
email: string | null;
|
|
15
|
+
avatar: string | null;
|
|
16
|
+
assignedByFirstName: string | null;
|
|
17
|
+
assignedBySurname: string | null;
|
|
18
|
+
assignedByEmail: string | null;
|
|
19
|
+
assignedByAvatar: string | null;
|
|
20
|
+
modifiedDateTime: number;
|
|
21
|
+
createdDateTime: number;
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
* Filter model for querying procurement role assignments.
|
|
25
25
|
*/
|
|
26
26
|
export interface ProcurementRoleAssignmentFilter {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
userId: string | null;
|
|
28
|
+
roleTypeID: number;
|
|
29
|
+
isActive: boolean | null;
|
|
30
|
+
assignedDateFrom: string | null;
|
|
31
|
+
assignedDateTo: string | null;
|
|
32
|
+
assignedBy: string | null;
|
|
33
33
|
}
|
|
34
34
|
//# sourceMappingURL=ProcurementRoleAssignmentViewModel.d.ts.map
|