@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
|
@@ -9,61 +9,61 @@ import { Account } from './Account';
|
|
|
9
9
|
import { AdditionalItemPrice } from './AdditionalItemPrice';
|
|
10
10
|
import { ItemAttachment } from './ItemAttachment';
|
|
11
11
|
export interface Item {
|
|
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
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
12
|
+
id: number;
|
|
13
|
+
description: string;
|
|
14
|
+
category: ItemCategory | null;
|
|
15
|
+
code: string;
|
|
16
|
+
active: boolean;
|
|
17
|
+
priceInclusive: number | null;
|
|
18
|
+
priceExclusive: number | null;
|
|
19
|
+
physical: boolean | null;
|
|
20
|
+
taxTypeIdSales: number | null;
|
|
21
|
+
taxTypeSales: TaxType | null;
|
|
22
|
+
taxTypeIdPurchases: number | null;
|
|
23
|
+
taxTypePurchases: TaxType | null;
|
|
24
|
+
lastCost: number | null;
|
|
25
|
+
averageCost: number | null;
|
|
26
|
+
quantityOnHand: number | null;
|
|
27
|
+
hasAttachments: boolean | null;
|
|
28
|
+
hasActivity: boolean;
|
|
29
|
+
unit: string | null;
|
|
30
|
+
itemReportingGroupId_Sales: number | null;
|
|
31
|
+
itemReportingGroupSales: ItemReportGroup | null;
|
|
32
|
+
itemReportingGroupId_Purchases: number | null;
|
|
33
|
+
itemReportingGroupPurchases: ItemReportGroup | null;
|
|
34
|
+
itemReportingGroupId_Inventory: number | null;
|
|
35
|
+
itemReportingGroupInventory: ItemReportGroup | null;
|
|
36
|
+
itemReportingGroupId_ItemAdjustments: number | null;
|
|
37
|
+
accountId_ServiceItemRecovery: number | null;
|
|
38
|
+
itemReportingGroupItemAdjustments: ItemReportGroup | null;
|
|
39
|
+
accountServiceItemRecovery: Account | null;
|
|
40
|
+
textUserField1: string | null;
|
|
41
|
+
textUserField2: string | null;
|
|
42
|
+
textUserField3: string | null;
|
|
43
|
+
numericUserField1: number | null;
|
|
44
|
+
numericUserField2: number | null;
|
|
45
|
+
numericUserField3: number | null;
|
|
46
|
+
dateUserField1: string | null;
|
|
47
|
+
dateUserField2: string | null;
|
|
48
|
+
dateUserField3: string | null;
|
|
49
|
+
yesNoUserField1: boolean | null;
|
|
50
|
+
yesNoUserField2: boolean | null;
|
|
51
|
+
yesNoUserField3: boolean | null;
|
|
52
|
+
modified: string | null;
|
|
53
|
+
created: string | null;
|
|
54
|
+
majorIndustryCodeId: number | null;
|
|
55
|
+
additionalItemPrices: AdditionalItemPrice[];
|
|
56
|
+
gpPercentage: number | null;
|
|
57
|
+
gpAmount: number | null;
|
|
58
|
+
itemReportingGroupPurchasesName: string | null;
|
|
59
|
+
itemReportingGroupSalesName: string | null;
|
|
60
|
+
itemReportingGroupInventoryName: string | null;
|
|
61
|
+
itemReportingGroupItemAdjustmentsName: string | null;
|
|
62
|
+
accountServiceItemRecoveryName: string | null;
|
|
63
|
+
attachments: ItemAttachment[];
|
|
64
|
+
prescribedGoods: boolean;
|
|
65
|
+
quantityReserved: number | null;
|
|
66
|
+
hasSpecialCountryTaxActivity: boolean;
|
|
67
|
+
itemType: number | null;
|
|
68
68
|
}
|
|
69
69
|
//# sourceMappingURL=Item.d.ts.map
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
* Represents an inventory adjustment in SageOne
|
|
4
4
|
*/
|
|
5
5
|
export interface ItemAdjustmentLine {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
itemId: number;
|
|
7
|
+
quantity: number;
|
|
8
|
+
cost: number;
|
|
9
9
|
}
|
|
10
10
|
export interface ItemAdjustment {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
id: number;
|
|
12
|
+
date: string;
|
|
13
|
+
reference: string | null;
|
|
14
|
+
description: string | null;
|
|
15
|
+
lines: ItemAdjustmentLine[];
|
|
16
16
|
}
|
|
17
17
|
//# sourceMappingURL=ItemAdjustment.d.ts.map
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Represents an attachment for an item in SageOne
|
|
4
4
|
*/
|
|
5
5
|
export interface ItemAttachment {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
name: string;
|
|
7
|
+
size: number | null;
|
|
8
|
+
attachmentUID: string;
|
|
9
|
+
data: string | null;
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=ItemAttachment.d.ts.map
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Represents a category for items in SageOne
|
|
4
4
|
*/
|
|
5
5
|
export interface ItemCategory {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
id: number;
|
|
7
|
+
description: string;
|
|
8
|
+
modified: string | null;
|
|
9
|
+
created: string | null;
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=ItemCategory.d.ts.map
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
* Represents a note attached to an item in SageOne
|
|
4
4
|
*/
|
|
5
5
|
export interface ItemNote {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
6
|
+
id: number;
|
|
7
|
+
itemId: number;
|
|
8
|
+
subject: string;
|
|
9
|
+
entryDate: string | null;
|
|
10
|
+
actionDate: string;
|
|
11
|
+
status: boolean | null;
|
|
12
|
+
note: string;
|
|
13
|
+
hasAttachments: boolean | null;
|
|
14
|
+
priority: number | null;
|
|
15
|
+
userTaskCategoryId: number | null;
|
|
16
|
+
notifyAssignee: boolean | null;
|
|
17
17
|
}
|
|
18
18
|
//# sourceMappingURL=ItemNote.d.ts.map
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { AccountCategory } from './AccountCategory';
|
|
6
6
|
export interface ItemReportGroup {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
id: number;
|
|
8
|
+
name: string;
|
|
9
|
+
itemReportingGroupTypeId: number | null;
|
|
10
|
+
itemReportingGroupType: string | null;
|
|
11
|
+
reportingGroupId: number | null;
|
|
12
|
+
accountCategoryId: number | null;
|
|
13
|
+
accountCategory: AccountCategory | null;
|
|
14
14
|
}
|
|
15
15
|
//# sourceMappingURL=ItemReportGroup.d.ts.map
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
* Represents a tax type in SageOne
|
|
4
4
|
*/
|
|
5
5
|
export interface TaxType {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
6
|
+
id: number;
|
|
7
|
+
name: string;
|
|
8
|
+
percentage: number | null;
|
|
9
|
+
isDefault: boolean;
|
|
10
|
+
hasActivity: boolean;
|
|
11
|
+
isManualTax: boolean;
|
|
12
|
+
active: boolean;
|
|
13
|
+
created: string | null;
|
|
14
|
+
modified: string | null;
|
|
15
|
+
taxTypeDefaultUID: string | null;
|
|
16
|
+
companyId: number | null;
|
|
17
17
|
}
|
|
18
18
|
//# sourceMappingURL=TaxType.d.ts.map
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Used to email a purchase order to a supplier
|
|
4
4
|
*/
|
|
5
5
|
export interface EmailPurchaseOrder {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
purchaseOrderId: number;
|
|
7
|
+
toAddress: string;
|
|
8
|
+
subject: string | null;
|
|
9
|
+
message: string | null;
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=EmailPurchaseOrder.d.ts.map
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { PurchaseOrderLine } from './PurchaseOrderLine';
|
|
6
6
|
export interface PurchaseOrder {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
7
|
+
id: number;
|
|
8
|
+
documentNumber: string | null;
|
|
9
|
+
exclusive: number;
|
|
10
|
+
tax: number;
|
|
11
|
+
total: number;
|
|
12
|
+
supplierId: number;
|
|
13
|
+
date: string;
|
|
14
|
+
deliveryDate: string;
|
|
15
|
+
lines: PurchaseOrderLine[];
|
|
16
16
|
}
|
|
17
17
|
//# sourceMappingURL=PurchaseOrder.d.ts.map
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
* Represents a line item in a purchase order
|
|
4
4
|
*/
|
|
5
5
|
export interface PurchaseOrderLine {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
description: string | null;
|
|
7
|
+
total: number;
|
|
8
|
+
selectionId: number;
|
|
9
|
+
quantity: number;
|
|
10
|
+
unitPriceExclusive: number;
|
|
11
11
|
}
|
|
12
12
|
//# sourceMappingURL=PurchaseOrderLine.d.ts.map
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
* Configuration settings for connecting to SageOne API
|
|
4
4
|
*/
|
|
5
5
|
export interface SageOneApiConfig {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
apiKey: string;
|
|
7
|
+
companyId: number;
|
|
8
|
+
username: string;
|
|
9
|
+
password: string;
|
|
10
|
+
baseUrl: string;
|
|
11
|
+
defaultItemID: number;
|
|
12
|
+
defaultServiceID: number;
|
|
13
|
+
defaultSupplierID: number;
|
|
14
14
|
}
|
|
15
15
|
//# sourceMappingURL=SageOneApiConfig.d.ts.map
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Generic wrapper for SageOne API responses
|
|
4
4
|
*/
|
|
5
5
|
export interface SageOneResponse<T> {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
totalResults: number;
|
|
7
|
+
returnedResults: number;
|
|
8
|
+
results: T[];
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=SageOneResponse.d.ts.map
|
|
@@ -4,51 +4,51 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { SupplierCategory } from './SupplierCategory';
|
|
6
6
|
export interface SageOneSupplier {
|
|
7
|
-
|
|
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
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
7
|
+
id: number | null;
|
|
8
|
+
name: string;
|
|
9
|
+
category: SupplierCategory | null;
|
|
10
|
+
taxReference: string | null;
|
|
11
|
+
contactName: string | null;
|
|
12
|
+
telephone: string | null;
|
|
13
|
+
fax: string | null;
|
|
14
|
+
mobile: string | null;
|
|
15
|
+
email: string | null;
|
|
16
|
+
webAddress: string | null;
|
|
17
|
+
active: boolean;
|
|
18
|
+
balance: number | null;
|
|
19
|
+
creditLimit: number | null;
|
|
20
|
+
communicationMethod: number | null;
|
|
21
|
+
postalAddress01: string | null;
|
|
22
|
+
postalAddress02: string | null;
|
|
23
|
+
postalAddress03: string | null;
|
|
24
|
+
postalAddress04: string | null;
|
|
25
|
+
postalAddress05: string | null;
|
|
26
|
+
deliveryAddress01: string | null;
|
|
27
|
+
deliveryAddress02: string | null;
|
|
28
|
+
deliveryAddress03: string | null;
|
|
29
|
+
deliveryAddress04: string | null;
|
|
30
|
+
deliveryAddress05: string | null;
|
|
31
|
+
autoAllocateToOldestInvoice: boolean | null;
|
|
32
|
+
textField1: string | null;
|
|
33
|
+
textField2: string | null;
|
|
34
|
+
textField3: string | null;
|
|
35
|
+
numericField1: number | null;
|
|
36
|
+
numericField2: number | null;
|
|
37
|
+
numericField3: number | null;
|
|
38
|
+
yesNoField1: boolean | null;
|
|
39
|
+
yesNoField2: boolean | null;
|
|
40
|
+
yesNoField3: boolean | null;
|
|
41
|
+
dateField1: string | null;
|
|
42
|
+
dateField2: string | null;
|
|
43
|
+
dateField3: string | null;
|
|
44
|
+
modified: string | null;
|
|
45
|
+
created: string | null;
|
|
46
|
+
businessRegistrationNumber: string | null;
|
|
47
|
+
currencyId: number | null;
|
|
48
|
+
currencySymbol: string | null;
|
|
49
|
+
hasActivity: boolean;
|
|
50
|
+
defaultDiscount: number | null;
|
|
51
|
+
defaultTaxTypeId: number | null;
|
|
52
|
+
city: string | null;
|
|
53
53
|
}
|
|
54
54
|
//# sourceMappingURL=Supplier.d.ts.map
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
* Represents additional contact information for a supplier in SageOne
|
|
4
4
|
*/
|
|
5
5
|
export interface SupplierAdditionalContactDetail {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
6
|
+
id: number | null;
|
|
7
|
+
supplierId: number;
|
|
8
|
+
contactName: string | null;
|
|
9
|
+
designation: string | null;
|
|
10
|
+
telephone: string | null;
|
|
11
|
+
fax: string | null;
|
|
12
|
+
mobile: string | null;
|
|
13
|
+
email: string | null;
|
|
14
|
+
default: boolean;
|
|
15
|
+
modified: string | null;
|
|
16
|
+
created: string | null;
|
|
17
17
|
}
|
|
18
18
|
//# sourceMappingURL=SupplierAdditionalContactDetail.d.ts.map
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
* Represents bank account information for a supplier in SageOne
|
|
4
4
|
*/
|
|
5
5
|
export interface SupplierBankDetail {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
6
|
+
id: number | null;
|
|
7
|
+
supplierId: number;
|
|
8
|
+
bankName: string | null;
|
|
9
|
+
accountHolder: string | null;
|
|
10
|
+
accountNumber: string | null;
|
|
11
|
+
branch: string | null;
|
|
12
|
+
branchCode: string | null;
|
|
13
|
+
default: boolean;
|
|
14
|
+
modified: string | null;
|
|
15
|
+
created: string | null;
|
|
16
16
|
}
|
|
17
17
|
//# sourceMappingURL=SupplierBankDetail.d.ts.map
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Represents a supplier category in SageOne
|
|
4
4
|
*/
|
|
5
5
|
export interface SupplierCategory {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
id: number | null;
|
|
7
|
+
description: string;
|
|
8
|
+
modified: string | null;
|
|
9
|
+
created: string | null;
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=SupplierCategory.d.ts.map
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
* Represents a note attached to a supplier in SageOne
|
|
4
4
|
*/
|
|
5
5
|
export interface SupplierNote {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
6
|
+
id: number | null;
|
|
7
|
+
supplierId: number;
|
|
8
|
+
userId: number | null;
|
|
9
|
+
priority: number | null;
|
|
10
|
+
notesTypeId: number | null;
|
|
11
|
+
subject: string | null;
|
|
12
|
+
note: string | null;
|
|
13
|
+
actionDate: string | null;
|
|
14
|
+
entryDate: string | null;
|
|
15
|
+
status: boolean;
|
|
16
|
+
hasAttachments: boolean;
|
|
17
17
|
}
|
|
18
18
|
//# sourceMappingURL=SupplierNote.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Invoice.d.ts","sourceRoot":"","sources":["../../../src/models/procurement/Invoice.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,OAAO;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;CAC1B"}
|
|
1
|
+
{"version":3,"file":"Invoice.d.ts","sourceRoot":"","sources":["../../../src/models/procurement/Invoice.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,OAAO;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;CAC1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InvoiceLine.d.ts","sourceRoot":"","sources":["../../../src/models/procurement/InvoiceLine.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,WAAW;IAC1B,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC"}
|
|
1
|
+
{"version":3,"file":"InvoiceLine.d.ts","sourceRoot":"","sources":["../../../src/models/procurement/InvoiceLine.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,WAAW;IAC1B,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Quotation.d.ts","sourceRoot":"","sources":["../../../src/models/procurement/Quotation.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,SAAS;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,WAAW,EAAE,OAAO,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;CAC1B"}
|
|
1
|
+
{"version":3,"file":"Quotation.d.ts","sourceRoot":"","sources":["../../../src/models/procurement/Quotation.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,SAAS;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,WAAW,EAAE,OAAO,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;CAC1B"}
|
|
@@ -5,8 +5,11 @@
|
|
|
5
5
|
export interface RequestPurchaseOrder {
|
|
6
6
|
requestID: number;
|
|
7
7
|
quotationID: number;
|
|
8
|
-
purchaseOrderNumber
|
|
9
|
-
|
|
8
|
+
purchaseOrderNumber: string | null;
|
|
9
|
+
supplierID: number;
|
|
10
|
+
sagePurchaseOrderID: number | null;
|
|
11
|
+
status: string | null;
|
|
10
12
|
modifiedDateTime: number;
|
|
13
|
+
createdDateTime: number;
|
|
11
14
|
}
|
|
12
15
|
//# sourceMappingURL=RequestPurchaseOrder.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestPurchaseOrder.d.ts","sourceRoot":"","sources":["../../../src/models/procurement/RequestPurchaseOrder.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"RequestPurchaseOrder.d.ts","sourceRoot":"","sources":["../../../src/models/procurement/RequestPurchaseOrder.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;CACzB"}
|