From aca7c85ad9e484acd2d82ee5c78528995d591f65 Mon Sep 17 00:00:00 2001 From: OxSaitama Date: Wed, 22 Mar 2023 13:01:05 +0100 Subject: [PATCH] add missing namespaces --- dist/Enums/Enums.d.ts | 35 +- dist/Enums/Enums.js | 36 - dist/Enums/Enums.js.map | 2 +- dist/Interfaces/Admin/IAddress.d.ts | 12 + dist/Interfaces/Admin/IAddress.js | 57 + dist/Interfaces/Admin/IAddress.js.map | 1 + dist/Interfaces/Admin/IBlockchainAnchors.d.ts | 8 + dist/Interfaces/Admin/IBlockchainAnchors.js | 40 + .../Admin/IBlockchainAnchors.js.map | 1 + dist/Interfaces/Admin/IContact.d.ts | 18 + dist/Interfaces/Admin/IContact.js | 74 + dist/Interfaces/Admin/IContact.js.map | 1 + dist/Interfaces/Admin/ICustomer.d.ts | 13 + dist/Interfaces/Admin/ICustomer.js | 52 + dist/Interfaces/Admin/ICustomer.js.map | 1 + dist/Interfaces/Admin/IDeed.d.ts | 11 + dist/Interfaces/Admin/IDeed.js | 49 + dist/Interfaces/Admin/IDeed.js.map | 1 + .../Admin/IDeedHasDocumentType.d.ts | 9 + dist/Interfaces/Admin/IDeedHasDocumentType.js | 45 + .../Admin/IDeedHasDocumentType.js.map | 1 + .../Admin/IDeedTypeHasDocumentType.d.ts | 9 + .../Admin/IDeedTypeHasDocumentType.js | 45 + .../Admin/IDeedTypeHasDocumentType.js.map | 1 + dist/Interfaces/Admin/IDeedTypes.d.ts | 14 + dist/Interfaces/Admin/IDeedTypes.js | 61 + dist/Interfaces/Admin/IDeedTypes.js.map | 1 + dist/Interfaces/Admin/IDocument.d.ts | 19 + dist/Interfaces/Admin/IDocument.js | 67 + dist/Interfaces/Admin/IDocument.js.map | 1 + dist/Interfaces/Admin/IDocumentHistory.d.ts | 10 + dist/Interfaces/Admin/IDocumentHistory.js | 49 + dist/Interfaces/Admin/IDocumentHistory.js.map | 1 + dist/Interfaces/Admin/IDocumentType.d.ts | 15 + dist/Interfaces/Admin/IDocumentType.js | 62 + dist/Interfaces/Admin/IDocumentType.js.map | 1 + dist/Interfaces/Admin/IFile.d.ts | 8 + dist/Interfaces/Admin/IFile.js | 45 + dist/Interfaces/Admin/IFile.js.map | 1 + dist/Interfaces/Admin/INotification.d.ts | 9 + dist/Interfaces/Admin/INotification.js | 45 + dist/Interfaces/Admin/INotification.js.map | 1 + dist/Interfaces/Admin/IOffice.d.ts | 18 + dist/Interfaces/Admin/IOffice.js | 68 + dist/Interfaces/Admin/IOffice.js.map | 1 + dist/Interfaces/Admin/IOfficeFolder.d.ts | 21 + dist/Interfaces/Admin/IOfficeFolder.js | 79 + dist/Interfaces/Admin/IOfficeFolder.js.map | 1 + .../Admin/IOfficeFolderHasCustomer.d.ts | 9 + .../Admin/IOfficeFolderHasCustomer.js | 45 + .../Admin/IOfficeFolderHasCustomer.js.map | 1 + .../Admin/IOfficeFolderHasStakeholder.d.ts | 9 + .../Admin/IOfficeFolderHasStakeholder.js | 45 + .../Admin/IOfficeFolderHasStakeholder.js.map | 1 + dist/Interfaces/Admin/IUser.d.ts | 14 + dist/Interfaces/Admin/IUser.js | 58 + dist/Interfaces/Admin/IUser.js.map | 1 + .../Admin/IUserHasNotification.d.ts | 9 + dist/Interfaces/Admin/IUserHasNotification.js | 45 + .../Admin/IUserHasNotification.js.map | 1 + dist/Interfaces/Customer/IAddress.d.ts | 12 + dist/Interfaces/Customer/IAddress.js | 57 + dist/Interfaces/Customer/IAddress.js.map | 1 + dist/Interfaces/Customer/IContact.d.ts | 18 + dist/Interfaces/Customer/IContact.js | 74 + dist/Interfaces/Customer/IContact.js.map | 1 + dist/Interfaces/Customer/ICustomer.d.ts | 13 + dist/Interfaces/Customer/ICustomer.js | 52 + dist/Interfaces/Customer/ICustomer.js.map | 1 + dist/Interfaces/Customer/IDeed.d.ts | 11 + dist/Interfaces/Customer/IDeed.js | 49 + dist/Interfaces/Customer/IDeed.js.map | 1 + .../Customer/IDeedHasDocumentType.d.ts | 9 + .../Customer/IDeedHasDocumentType.js | 45 + .../Customer/IDeedHasDocumentType.js.map | 1 + .../Customer/IDeedTypeHasDocumentType.d.ts | 9 + .../Customer/IDeedTypeHasDocumentType.js | 45 + .../Customer/IDeedTypeHasDocumentType.js.map | 1 + dist/Interfaces/Customer/IDeedTypes.d.ts | 14 + dist/Interfaces/Customer/IDeedTypes.js | 61 + dist/Interfaces/Customer/IDeedTypes.js.map | 1 + dist/Interfaces/Customer/IDocument.d.ts | 17 + dist/Interfaces/Customer/IDocument.js | 62 + dist/Interfaces/Customer/IDocument.js.map | 1 + .../Interfaces/Customer/IDocumentHistory.d.ts | 10 + dist/Interfaces/Customer/IDocumentHistory.js | 49 + .../Customer/IDocumentHistory.js.map | 1 + dist/Interfaces/Customer/IDocumentType.d.ts | 15 + dist/Interfaces/Customer/IDocumentType.js | 62 + dist/Interfaces/Customer/IDocumentType.js.map | 1 + dist/Interfaces/Customer/IFile.d.ts | 8 + dist/Interfaces/Customer/IFile.js | 45 + dist/Interfaces/Customer/IFile.js.map | 1 + dist/Interfaces/Customer/INotification.d.ts | 9 + dist/Interfaces/Customer/INotification.js | 45 + dist/Interfaces/Customer/INotification.js.map | 1 + dist/Interfaces/Customer/IOffice.d.ts | 18 + dist/Interfaces/Customer/IOffice.js | 68 + dist/Interfaces/Customer/IOffice.js.map | 1 + dist/Interfaces/Customer/IOfficeFolder.d.ts | 21 + dist/Interfaces/Customer/IOfficeFolder.js | 79 + dist/Interfaces/Customer/IOfficeFolder.js.map | 1 + .../Customer/IOfficeFolderHasCustomer.d.ts | 9 + .../Customer/IOfficeFolderHasCustomer.js | 45 + .../Customer/IOfficeFolderHasCustomer.js.map | 1 + .../Customer/IOfficeFolderHasStakeholder.d.ts | 9 + .../Customer/IOfficeFolderHasStakeholder.js | 45 + .../IOfficeFolderHasStakeholder.js.map | 1 + dist/Interfaces/Customer/IUser.d.ts | 14 + dist/Interfaces/Customer/IUser.js | 58 + dist/Interfaces/Customer/IUser.js.map | 1 + .../Customer/IUserHasNotification.d.ts | 9 + .../Customer/IUserHasNotification.js | 45 + .../Customer/IUserHasNotification.js.map | 1 + dist/Interfaces/IAddress.d.ts | 4 +- dist/Interfaces/IAddress.js | 8 +- dist/Interfaces/IAddress.js.map | 2 +- dist/Interfaces/IAddressAdmin.d.ts | 4 +- dist/Interfaces/IAddressAdmin.js | 8 +- dist/Interfaces/IAddressAdmin.js.map | 2 +- dist/Interfaces/IBlockchainAnchors.d.ts | 4 +- dist/Interfaces/IBlockchainAnchors.js | 8 +- dist/Interfaces/IBlockchainAnchors.js.map | 2 +- dist/Interfaces/IBlockchainAnchorsAdmin.d.ts | 4 +- dist/Interfaces/IBlockchainAnchorsAdmin.js | 8 +- .../Interfaces/IBlockchainAnchorsAdmin.js.map | 2 +- dist/Interfaces/IContact.d.ts | 4 +- dist/Interfaces/IContact.js | 13 +- dist/Interfaces/IContact.js.map | 2 +- dist/Interfaces/IContactAdmin.d.ts | 4 +- dist/Interfaces/IContactAdmin.js | 13 +- dist/Interfaces/IContactAdmin.js.map | 2 +- dist/Interfaces/ICustomer.d.ts | 4 +- dist/Interfaces/ICustomer.js | 13 +- dist/Interfaces/ICustomer.js.map | 2 +- dist/Interfaces/ICustomerAdmin.d.ts | 4 +- dist/Interfaces/ICustomerAdmin.js | 13 +- dist/Interfaces/ICustomerAdmin.js.map | 2 +- dist/Interfaces/IDeed.d.ts | 4 +- dist/Interfaces/IDeed.js | 8 +- dist/Interfaces/IDeed.js.map | 2 +- dist/Interfaces/IDeedAdmin.d.ts | 6 +- dist/Interfaces/IDeedAdmin.js | 12 +- dist/Interfaces/IDeedAdmin.js.map | 2 +- dist/Interfaces/IDeedHasDocumentType.d.ts | 4 +- dist/Interfaces/IDeedHasDocumentType.js | 8 +- dist/Interfaces/IDeedHasDocumentType.js.map | 2 +- .../Interfaces/IDeedHasDocumentTypeAdmin.d.ts | 4 +- dist/Interfaces/IDeedHasDocumentTypeAdmin.js | 8 +- .../IDeedHasDocumentTypeAdmin.js.map | 2 +- dist/Interfaces/IDeedType.d.ts | 6 +- dist/Interfaces/IDeedType.js | 12 +- dist/Interfaces/IDeedType.js.map | 2 +- dist/Interfaces/IDeedTypeAdmin.js.map | 1 - dist/Interfaces/IDeedTypeHasDocumentType.d.ts | 4 +- dist/Interfaces/IDeedTypeHasDocumentType.js | 8 +- .../IDeedTypeHasDocumentType.js.map | 2 +- .../IDeedTypeHasDocumentTypeAdmin.d.ts | 6 +- .../IDeedTypeHasDocumentTypeAdmin.js | 12 +- .../IDeedTypeHasDocumentTypeAdmin.js.map | 2 +- ...eedTypeAdmin.d.ts => IDeedTypesAdmin.d.ts} | 8 +- .../{IDeedTypeAdmin.js => IDeedTypesAdmin.js} | 36 +- dist/Interfaces/IDeedTypesAdmin.js.map | 1 + dist/Interfaces/IDocument.d.ts | 4 +- dist/Interfaces/IDocument.js | 12 +- dist/Interfaces/IDocument.js.map | 2 +- dist/Interfaces/IDocumentAdmin.d.ts | 4 +- dist/Interfaces/IDocumentAdmin.js | 12 +- dist/Interfaces/IDocumentAdmin.js.map | 2 +- dist/Interfaces/IDocumentHistory.d.ts | 6 +- dist/Interfaces/IDocumentHistory.js | 15 +- dist/Interfaces/IDocumentHistory.js.map | 2 +- dist/Interfaces/IDocumentHistoryAdmin.d.ts | 6 +- dist/Interfaces/IDocumentHistoryAdmin.js | 15 +- dist/Interfaces/IDocumentHistoryAdmin.js.map | 2 +- dist/Interfaces/IDocumentType.d.ts | 8 +- dist/Interfaces/IDocumentType.js | 14 +- dist/Interfaces/IDocumentType.js.map | 2 +- dist/Interfaces/IDocumentTypeAdmin.d.ts | 8 +- dist/Interfaces/IDocumentTypeAdmin.js | 15 +- dist/Interfaces/IDocumentTypeAdmin.js.map | 2 +- dist/Interfaces/IFile.d.ts | 6 +- dist/Interfaces/IFile.js | 11 +- dist/Interfaces/IFile.js.map | 2 +- dist/Interfaces/IFileAdmin.d.ts | 6 +- dist/Interfaces/IFileAdmin.js | 11 +- dist/Interfaces/IFileAdmin.js.map | 2 +- dist/Interfaces/INotification.d.ts | 4 +- dist/Interfaces/INotification.js | 8 +- dist/Interfaces/INotification.js.map | 2 +- dist/Interfaces/INotificationAdmin.d.ts | 4 +- dist/Interfaces/INotificationAdmin.js | 8 +- dist/Interfaces/INotificationAdmin.js.map | 2 +- dist/Interfaces/IOffice.d.ts | 4 +- dist/Interfaces/IOffice.js | 12 +- dist/Interfaces/IOffice.js.map | 2 +- dist/Interfaces/IOfficeAdmin.d.ts | 6 +- dist/Interfaces/IOfficeAdmin.js | 12 +- dist/Interfaces/IOfficeAdmin.js.map | 2 +- dist/Interfaces/IOfficeFolder.d.ts | 8 +- dist/Interfaces/IOfficeFolder.js | 18 +- dist/Interfaces/IOfficeFolder.js.map | 2 +- dist/Interfaces/IOfficeFolderAdmin.d.ts | 8 +- dist/Interfaces/IOfficeFolderAdmin.js | 18 +- dist/Interfaces/IOfficeFolderAdmin.js.map | 2 +- dist/Interfaces/IOfficeFolderHasCustomer.d.ts | 4 +- dist/Interfaces/IOfficeFolderHasCustomer.js | 8 +- .../IOfficeFolderHasCustomer.js.map | 2 +- .../IOfficeFolderHasCustomerAdmin.d.ts | 4 +- .../IOfficeFolderHasCustomerAdmin.js | 8 +- .../IOfficeFolderHasCustomerAdmin.js.map | 2 +- .../IOfficeFolderHasStakeholder.d.ts | 4 +- .../Interfaces/IOfficeFolderHasStakeholder.js | 8 +- .../IOfficeFolderHasStakeholder.js.map | 2 +- .../IOfficeFolderHasStakeholderAdmin.d.ts | 4 +- .../IOfficeFolderHasStakeholderAdmin.js | 8 +- .../IOfficeFolderHasStakeholderAdmin.js.map | 2 +- dist/Interfaces/IUser.d.ts | 4 +- dist/Interfaces/IUser.js | 8 +- dist/Interfaces/IUser.js.map | 2 +- dist/Interfaces/IUserAdmin.d.ts | 4 +- dist/Interfaces/IUserAdmin.js | 8 +- dist/Interfaces/IUserAdmin.js.map | 2 +- dist/Interfaces/IUserHasNotification.d.ts | 4 +- dist/Interfaces/IUserHasNotification.js | 8 +- dist/Interfaces/IUserHasNotification.js.map | 2 +- .../Interfaces/IUserHasNotificationAdmin.d.ts | 4 +- dist/Interfaces/IUserHasNotificationAdmin.js | 8 +- .../IUserHasNotificationAdmin.js.map | 2 +- dist/Interfaces/SuperAdmin/IAddress.d.ts | 12 + dist/Interfaces/SuperAdmin/IAddress.js | 57 + dist/Interfaces/SuperAdmin/IAddress.js.map | 1 + .../SuperAdmin/IBlockchainAnchors.d.ts | 8 + .../SuperAdmin/IBlockchainAnchors.js | 40 + .../SuperAdmin/IBlockchainAnchors.js.map | 1 + dist/Interfaces/SuperAdmin/IContact.d.ts | 18 + dist/Interfaces/SuperAdmin/IContact.js | 74 + dist/Interfaces/SuperAdmin/IContact.js.map | 1 + dist/Interfaces/SuperAdmin/ICustomer.d.ts | 13 + dist/Interfaces/SuperAdmin/ICustomer.js | 52 + dist/Interfaces/SuperAdmin/ICustomer.js.map | 1 + dist/Interfaces/SuperAdmin/IDeed.d.ts | 11 + dist/Interfaces/SuperAdmin/IDeed.js | 49 + dist/Interfaces/SuperAdmin/IDeed.js.map | 1 + .../SuperAdmin/IDeedHasDocumentType.d.ts | 9 + .../SuperAdmin/IDeedHasDocumentType.js | 45 + .../SuperAdmin/IDeedHasDocumentType.js.map | 1 + .../SuperAdmin/IDeedTypeHasDocumentType.d.ts | 9 + .../SuperAdmin/IDeedTypeHasDocumentType.js | 45 + .../IDeedTypeHasDocumentType.js.map | 1 + dist/Interfaces/SuperAdmin/IDeedTypes.d.ts | 14 + dist/Interfaces/SuperAdmin/IDeedTypes.js | 61 + dist/Interfaces/SuperAdmin/IDeedTypes.js.map | 1 + dist/Interfaces/SuperAdmin/IDocument.d.ts | 19 + dist/Interfaces/SuperAdmin/IDocument.js | 67 + dist/Interfaces/SuperAdmin/IDocument.js.map | 1 + .../SuperAdmin/IDocumentHistory.d.ts | 10 + .../Interfaces/SuperAdmin/IDocumentHistory.js | 49 + .../SuperAdmin/IDocumentHistory.js.map | 1 + dist/Interfaces/SuperAdmin/IDocumentType.d.ts | 15 + dist/Interfaces/SuperAdmin/IDocumentType.js | 62 + .../SuperAdmin/IDocumentType.js.map | 1 + dist/Interfaces/SuperAdmin/IFile.d.ts | 8 + dist/Interfaces/SuperAdmin/IFile.js | 45 + dist/Interfaces/SuperAdmin/IFile.js.map | 1 + dist/Interfaces/SuperAdmin/INotification.d.ts | 9 + dist/Interfaces/SuperAdmin/INotification.js | 45 + .../SuperAdmin/INotification.js.map | 1 + dist/Interfaces/SuperAdmin/IOffice.d.ts | 18 + dist/Interfaces/SuperAdmin/IOffice.js | 68 + dist/Interfaces/SuperAdmin/IOffice.js.map | 1 + dist/Interfaces/SuperAdmin/IOfficeFolder.d.ts | 21 + dist/Interfaces/SuperAdmin/IOfficeFolder.js | 79 + .../SuperAdmin/IOfficeFolder.js.map | 1 + .../SuperAdmin/IOfficeFolderHasCustomer.d.ts | 9 + .../SuperAdmin/IOfficeFolderHasCustomer.js | 45 + .../IOfficeFolderHasCustomer.js.map | 1 + .../IOfficeFolderHasStakeholder.d.ts | 9 + .../SuperAdmin/IOfficeFolderHasStakeholder.js | 45 + .../IOfficeFolderHasStakeholder.js.map | 1 + dist/Interfaces/SuperAdmin/IUser.d.ts | 14 + dist/Interfaces/SuperAdmin/IUser.js | 58 + dist/Interfaces/SuperAdmin/IUser.js.map | 1 + .../SuperAdmin/IUserHasNotification.d.ts | 9 + .../SuperAdmin/IUserHasNotification.js | 45 + .../SuperAdmin/IUserHasNotification.js.map | 1 + dist/Interfaces/User/IAddress.d.ts | 12 + dist/Interfaces/User/IAddress.js | 57 + dist/Interfaces/User/IAddress.js.map | 1 + dist/Interfaces/User/IContact.d.ts | 18 + dist/Interfaces/User/IContact.js | 74 + dist/Interfaces/User/IContact.js.map | 1 + dist/Interfaces/User/ICustomer.d.ts | 13 + dist/Interfaces/User/ICustomer.js | 52 + dist/Interfaces/User/ICustomer.js.map | 1 + dist/Interfaces/User/IDeed.d.ts | 11 + dist/Interfaces/User/IDeed.js | 49 + dist/Interfaces/User/IDeed.js.map | 1 + .../Interfaces/User/IDeedHasDocumentType.d.ts | 9 + dist/Interfaces/User/IDeedHasDocumentType.js | 45 + .../User/IDeedHasDocumentType.js.map | 1 + .../User/IDeedTypeHasDocumentType.d.ts | 9 + .../User/IDeedTypeHasDocumentType.js | 45 + .../User/IDeedTypeHasDocumentType.js.map | 1 + dist/Interfaces/User/IDeedTypes.d.ts | 14 + dist/Interfaces/User/IDeedTypes.js | 61 + dist/Interfaces/User/IDeedTypes.js.map | 1 + dist/Interfaces/User/IDocument.d.ts | 17 + dist/Interfaces/User/IDocument.js | 62 + dist/Interfaces/User/IDocument.js.map | 1 + dist/Interfaces/User/IDocumentHistory.d.ts | 10 + dist/Interfaces/User/IDocumentHistory.js | 49 + dist/Interfaces/User/IDocumentHistory.js.map | 1 + dist/Interfaces/User/IDocumentType.d.ts | 15 + dist/Interfaces/User/IDocumentType.js | 62 + dist/Interfaces/User/IDocumentType.js.map | 1 + dist/Interfaces/User/IFile.d.ts | 8 + dist/Interfaces/User/IFile.js | 45 + dist/Interfaces/User/IFile.js.map | 1 + dist/Interfaces/User/INotification.d.ts | 9 + dist/Interfaces/User/INotification.js | 45 + dist/Interfaces/User/INotification.js.map | 1 + dist/Interfaces/User/IOffice.d.ts | 18 + dist/Interfaces/User/IOffice.js | 68 + dist/Interfaces/User/IOffice.js.map | 1 + dist/Interfaces/User/IOfficeFolder.d.ts | 21 + dist/Interfaces/User/IOfficeFolder.js | 79 + dist/Interfaces/User/IOfficeFolder.js.map | 1 + .../User/IOfficeFolderHasCustomer.d.ts | 9 + .../User/IOfficeFolderHasCustomer.js | 45 + .../User/IOfficeFolderHasCustomer.js.map | 1 + .../User/IOfficeFolderHasStakeholder.d.ts | 9 + .../User/IOfficeFolderHasStakeholder.js | 45 + .../User/IOfficeFolderHasStakeholder.js.map | 1 + dist/Interfaces/User/IUser.d.ts | 14 + dist/Interfaces/User/IUser.js | 58 + dist/Interfaces/User/IUser.js.map | 1 + .../Interfaces/User/IUserHasNotification.d.ts | 9 + dist/Interfaces/User/IUserHasNotification.js | 45 + .../User/IUserHasNotification.js.map | 1 + package-lock.json | 2257 ----------------- src/Enums/Enums.ts | 40 +- src/Interfaces/{ => Admin}/IAddress.ts | 4 +- .../{ => Admin}/IBlockchainAnchors.ts | 4 +- src/Interfaces/{ => Admin}/IContact.ts | 10 +- src/Interfaces/{ => Admin}/ICustomer.ts | 12 +- src/Interfaces/{ => Admin}/IDeed.ts | 6 +- .../{ => Admin}/IDeedHasDocumentType.ts | 4 +- .../{ => Admin}/IDeedTypeHasDocumentType.ts | 6 +- .../{IDeedType.ts => Admin/IDeedTypes.ts} | 9 +- src/Interfaces/{ => Admin}/IDocument.ts | 9 +- .../{ => Admin}/IDocumentHistory.ts | 11 +- src/Interfaces/{ => Admin}/IDocumentType.ts | 13 +- src/Interfaces/{ => Admin}/IFile.ts | 6 +- src/Interfaces/{ => Admin}/INotification.ts | 4 +- src/Interfaces/{ => Admin}/IOffice.ts | 11 +- src/Interfaces/{ => Admin}/IOfficeFolder.ts | 13 +- .../{ => Admin}/IOfficeFolderHasCustomer.ts | 4 +- .../IOfficeFolderHasStakeholder.ts | 4 +- src/Interfaces/{ => Admin}/IUser.ts | 4 +- .../{ => Admin}/IUserHasNotification.ts | 4 +- .../IAddress.ts} | 10 +- .../IContact.ts} | 18 +- .../ICustomer.ts} | 20 +- .../{IDeedAdmin.ts => Customer/IDeed.ts} | 12 +- .../IDeedHasDocumentType.ts} | 10 +- .../IDeedTypeHasDocumentType.ts} | 10 +- .../IDeedTypes.ts} | 13 +- src/Interfaces/Customer/IDocument.ts | 36 + src/Interfaces/Customer/IDocumentHistory.ts | 23 + .../IDocumentType.ts} | 21 +- .../{IFileAdmin.ts => Customer/IFile.ts} | 10 +- .../INotification.ts} | 8 +- .../{IOfficeAdmin.ts => Customer/IOffice.ts} | 19 +- .../IOfficeFolder.ts} | 23 +- .../IOfficeFolderHasCustomer.ts} | 10 +- .../IOfficeFolderHasStakeholder.ts} | 10 +- .../{IUserAdmin.ts => Customer/IUser.ts} | 14 +- .../IUserHasNotification.ts} | 10 +- src/Interfaces/IDocumentHistoryAdmin.ts | 24 - src/Interfaces/SuperAdmin/IAddress.ts | 29 + .../IBlockchainAnchors.ts} | 8 +- src/Interfaces/SuperAdmin/IContact.ts | 43 + src/Interfaces/SuperAdmin/ICustomer.ts | 28 + src/Interfaces/SuperAdmin/IDeed.ts | 24 + .../SuperAdmin/IDeedHasDocumentType.ts | 20 + .../SuperAdmin/IDeedTypeHasDocumentType.ts | 20 + src/Interfaces/SuperAdmin/IDeedTypes.ts | 34 + .../IDocument.ts} | 23 +- src/Interfaces/SuperAdmin/IDocumentHistory.ts | 23 + src/Interfaces/SuperAdmin/IDocumentType.ts | 36 + src/Interfaces/SuperAdmin/IFile.ts | 19 + src/Interfaces/SuperAdmin/INotification.ts | 23 + src/Interfaces/SuperAdmin/IOffice.ts | 41 + src/Interfaces/SuperAdmin/IOfficeFolder.ts | 48 + .../SuperAdmin/IOfficeFolderHasCustomer.ts | 20 + .../SuperAdmin/IOfficeFolderHasStakeholder.ts | 20 + src/Interfaces/SuperAdmin/IUser.ts | 31 + .../SuperAdmin/IUserHasNotification.ts | 20 + src/Interfaces/User/IAddress.ts | 29 + src/Interfaces/User/IContact.ts | 43 + src/Interfaces/User/ICustomer.ts | 28 + src/Interfaces/User/IDeed.ts | 24 + src/Interfaces/User/IDeedHasDocumentType.ts | 20 + .../User/IDeedTypeHasDocumentType.ts | 20 + src/Interfaces/User/IDeedTypes.ts | 34 + src/Interfaces/User/IDocument.ts | 36 + src/Interfaces/User/IDocumentHistory.ts | 23 + src/Interfaces/User/IDocumentType.ts | 36 + src/Interfaces/User/IFile.ts | 19 + src/Interfaces/User/INotification.ts | 23 + src/Interfaces/User/IOffice.ts | 41 + src/Interfaces/User/IOfficeFolder.ts | 48 + .../User/IOfficeFolderHasCustomer.ts | 20 + .../User/IOfficeFolderHasStakeholder.ts | 20 + src/Interfaces/User/IUser.ts | 31 + src/Interfaces/User/IUserHasNotification.ts | 20 + 417 files changed, 6705 insertions(+), 2854 deletions(-) create mode 100644 dist/Interfaces/Admin/IAddress.d.ts create mode 100644 dist/Interfaces/Admin/IAddress.js create mode 100644 dist/Interfaces/Admin/IAddress.js.map create mode 100644 dist/Interfaces/Admin/IBlockchainAnchors.d.ts create mode 100644 dist/Interfaces/Admin/IBlockchainAnchors.js create mode 100644 dist/Interfaces/Admin/IBlockchainAnchors.js.map create mode 100644 dist/Interfaces/Admin/IContact.d.ts create mode 100644 dist/Interfaces/Admin/IContact.js create mode 100644 dist/Interfaces/Admin/IContact.js.map create mode 100644 dist/Interfaces/Admin/ICustomer.d.ts create mode 100644 dist/Interfaces/Admin/ICustomer.js create mode 100644 dist/Interfaces/Admin/ICustomer.js.map create mode 100644 dist/Interfaces/Admin/IDeed.d.ts create mode 100644 dist/Interfaces/Admin/IDeed.js create mode 100644 dist/Interfaces/Admin/IDeed.js.map create mode 100644 dist/Interfaces/Admin/IDeedHasDocumentType.d.ts create mode 100644 dist/Interfaces/Admin/IDeedHasDocumentType.js create mode 100644 dist/Interfaces/Admin/IDeedHasDocumentType.js.map create mode 100644 dist/Interfaces/Admin/IDeedTypeHasDocumentType.d.ts create mode 100644 dist/Interfaces/Admin/IDeedTypeHasDocumentType.js create mode 100644 dist/Interfaces/Admin/IDeedTypeHasDocumentType.js.map create mode 100644 dist/Interfaces/Admin/IDeedTypes.d.ts create mode 100644 dist/Interfaces/Admin/IDeedTypes.js create mode 100644 dist/Interfaces/Admin/IDeedTypes.js.map create mode 100644 dist/Interfaces/Admin/IDocument.d.ts create mode 100644 dist/Interfaces/Admin/IDocument.js create mode 100644 dist/Interfaces/Admin/IDocument.js.map create mode 100644 dist/Interfaces/Admin/IDocumentHistory.d.ts create mode 100644 dist/Interfaces/Admin/IDocumentHistory.js create mode 100644 dist/Interfaces/Admin/IDocumentHistory.js.map create mode 100644 dist/Interfaces/Admin/IDocumentType.d.ts create mode 100644 dist/Interfaces/Admin/IDocumentType.js create mode 100644 dist/Interfaces/Admin/IDocumentType.js.map create mode 100644 dist/Interfaces/Admin/IFile.d.ts create mode 100644 dist/Interfaces/Admin/IFile.js create mode 100644 dist/Interfaces/Admin/IFile.js.map create mode 100644 dist/Interfaces/Admin/INotification.d.ts create mode 100644 dist/Interfaces/Admin/INotification.js create mode 100644 dist/Interfaces/Admin/INotification.js.map create mode 100644 dist/Interfaces/Admin/IOffice.d.ts create mode 100644 dist/Interfaces/Admin/IOffice.js create mode 100644 dist/Interfaces/Admin/IOffice.js.map create mode 100644 dist/Interfaces/Admin/IOfficeFolder.d.ts create mode 100644 dist/Interfaces/Admin/IOfficeFolder.js create mode 100644 dist/Interfaces/Admin/IOfficeFolder.js.map create mode 100644 dist/Interfaces/Admin/IOfficeFolderHasCustomer.d.ts create mode 100644 dist/Interfaces/Admin/IOfficeFolderHasCustomer.js create mode 100644 dist/Interfaces/Admin/IOfficeFolderHasCustomer.js.map create mode 100644 dist/Interfaces/Admin/IOfficeFolderHasStakeholder.d.ts create mode 100644 dist/Interfaces/Admin/IOfficeFolderHasStakeholder.js create mode 100644 dist/Interfaces/Admin/IOfficeFolderHasStakeholder.js.map create mode 100644 dist/Interfaces/Admin/IUser.d.ts create mode 100644 dist/Interfaces/Admin/IUser.js create mode 100644 dist/Interfaces/Admin/IUser.js.map create mode 100644 dist/Interfaces/Admin/IUserHasNotification.d.ts create mode 100644 dist/Interfaces/Admin/IUserHasNotification.js create mode 100644 dist/Interfaces/Admin/IUserHasNotification.js.map create mode 100644 dist/Interfaces/Customer/IAddress.d.ts create mode 100644 dist/Interfaces/Customer/IAddress.js create mode 100644 dist/Interfaces/Customer/IAddress.js.map create mode 100644 dist/Interfaces/Customer/IContact.d.ts create mode 100644 dist/Interfaces/Customer/IContact.js create mode 100644 dist/Interfaces/Customer/IContact.js.map create mode 100644 dist/Interfaces/Customer/ICustomer.d.ts create mode 100644 dist/Interfaces/Customer/ICustomer.js create mode 100644 dist/Interfaces/Customer/ICustomer.js.map create mode 100644 dist/Interfaces/Customer/IDeed.d.ts create mode 100644 dist/Interfaces/Customer/IDeed.js create mode 100644 dist/Interfaces/Customer/IDeed.js.map create mode 100644 dist/Interfaces/Customer/IDeedHasDocumentType.d.ts create mode 100644 dist/Interfaces/Customer/IDeedHasDocumentType.js create mode 100644 dist/Interfaces/Customer/IDeedHasDocumentType.js.map create mode 100644 dist/Interfaces/Customer/IDeedTypeHasDocumentType.d.ts create mode 100644 dist/Interfaces/Customer/IDeedTypeHasDocumentType.js create mode 100644 dist/Interfaces/Customer/IDeedTypeHasDocumentType.js.map create mode 100644 dist/Interfaces/Customer/IDeedTypes.d.ts create mode 100644 dist/Interfaces/Customer/IDeedTypes.js create mode 100644 dist/Interfaces/Customer/IDeedTypes.js.map create mode 100644 dist/Interfaces/Customer/IDocument.d.ts create mode 100644 dist/Interfaces/Customer/IDocument.js create mode 100644 dist/Interfaces/Customer/IDocument.js.map create mode 100644 dist/Interfaces/Customer/IDocumentHistory.d.ts create mode 100644 dist/Interfaces/Customer/IDocumentHistory.js create mode 100644 dist/Interfaces/Customer/IDocumentHistory.js.map create mode 100644 dist/Interfaces/Customer/IDocumentType.d.ts create mode 100644 dist/Interfaces/Customer/IDocumentType.js create mode 100644 dist/Interfaces/Customer/IDocumentType.js.map create mode 100644 dist/Interfaces/Customer/IFile.d.ts create mode 100644 dist/Interfaces/Customer/IFile.js create mode 100644 dist/Interfaces/Customer/IFile.js.map create mode 100644 dist/Interfaces/Customer/INotification.d.ts create mode 100644 dist/Interfaces/Customer/INotification.js create mode 100644 dist/Interfaces/Customer/INotification.js.map create mode 100644 dist/Interfaces/Customer/IOffice.d.ts create mode 100644 dist/Interfaces/Customer/IOffice.js create mode 100644 dist/Interfaces/Customer/IOffice.js.map create mode 100644 dist/Interfaces/Customer/IOfficeFolder.d.ts create mode 100644 dist/Interfaces/Customer/IOfficeFolder.js create mode 100644 dist/Interfaces/Customer/IOfficeFolder.js.map create mode 100644 dist/Interfaces/Customer/IOfficeFolderHasCustomer.d.ts create mode 100644 dist/Interfaces/Customer/IOfficeFolderHasCustomer.js create mode 100644 dist/Interfaces/Customer/IOfficeFolderHasCustomer.js.map create mode 100644 dist/Interfaces/Customer/IOfficeFolderHasStakeholder.d.ts create mode 100644 dist/Interfaces/Customer/IOfficeFolderHasStakeholder.js create mode 100644 dist/Interfaces/Customer/IOfficeFolderHasStakeholder.js.map create mode 100644 dist/Interfaces/Customer/IUser.d.ts create mode 100644 dist/Interfaces/Customer/IUser.js create mode 100644 dist/Interfaces/Customer/IUser.js.map create mode 100644 dist/Interfaces/Customer/IUserHasNotification.d.ts create mode 100644 dist/Interfaces/Customer/IUserHasNotification.js create mode 100644 dist/Interfaces/Customer/IUserHasNotification.js.map delete mode 100644 dist/Interfaces/IDeedTypeAdmin.js.map rename dist/Interfaces/{IDeedTypeAdmin.d.ts => IDeedTypesAdmin.d.ts} (70%) rename dist/Interfaces/{IDeedTypeAdmin.js => IDeedTypesAdmin.js} (69%) create mode 100644 dist/Interfaces/IDeedTypesAdmin.js.map create mode 100644 dist/Interfaces/SuperAdmin/IAddress.d.ts create mode 100644 dist/Interfaces/SuperAdmin/IAddress.js create mode 100644 dist/Interfaces/SuperAdmin/IAddress.js.map create mode 100644 dist/Interfaces/SuperAdmin/IBlockchainAnchors.d.ts create mode 100644 dist/Interfaces/SuperAdmin/IBlockchainAnchors.js create mode 100644 dist/Interfaces/SuperAdmin/IBlockchainAnchors.js.map create mode 100644 dist/Interfaces/SuperAdmin/IContact.d.ts create mode 100644 dist/Interfaces/SuperAdmin/IContact.js create mode 100644 dist/Interfaces/SuperAdmin/IContact.js.map create mode 100644 dist/Interfaces/SuperAdmin/ICustomer.d.ts create mode 100644 dist/Interfaces/SuperAdmin/ICustomer.js create mode 100644 dist/Interfaces/SuperAdmin/ICustomer.js.map create mode 100644 dist/Interfaces/SuperAdmin/IDeed.d.ts create mode 100644 dist/Interfaces/SuperAdmin/IDeed.js create mode 100644 dist/Interfaces/SuperAdmin/IDeed.js.map create mode 100644 dist/Interfaces/SuperAdmin/IDeedHasDocumentType.d.ts create mode 100644 dist/Interfaces/SuperAdmin/IDeedHasDocumentType.js create mode 100644 dist/Interfaces/SuperAdmin/IDeedHasDocumentType.js.map create mode 100644 dist/Interfaces/SuperAdmin/IDeedTypeHasDocumentType.d.ts create mode 100644 dist/Interfaces/SuperAdmin/IDeedTypeHasDocumentType.js create mode 100644 dist/Interfaces/SuperAdmin/IDeedTypeHasDocumentType.js.map create mode 100644 dist/Interfaces/SuperAdmin/IDeedTypes.d.ts create mode 100644 dist/Interfaces/SuperAdmin/IDeedTypes.js create mode 100644 dist/Interfaces/SuperAdmin/IDeedTypes.js.map create mode 100644 dist/Interfaces/SuperAdmin/IDocument.d.ts create mode 100644 dist/Interfaces/SuperAdmin/IDocument.js create mode 100644 dist/Interfaces/SuperAdmin/IDocument.js.map create mode 100644 dist/Interfaces/SuperAdmin/IDocumentHistory.d.ts create mode 100644 dist/Interfaces/SuperAdmin/IDocumentHistory.js create mode 100644 dist/Interfaces/SuperAdmin/IDocumentHistory.js.map create mode 100644 dist/Interfaces/SuperAdmin/IDocumentType.d.ts create mode 100644 dist/Interfaces/SuperAdmin/IDocumentType.js create mode 100644 dist/Interfaces/SuperAdmin/IDocumentType.js.map create mode 100644 dist/Interfaces/SuperAdmin/IFile.d.ts create mode 100644 dist/Interfaces/SuperAdmin/IFile.js create mode 100644 dist/Interfaces/SuperAdmin/IFile.js.map create mode 100644 dist/Interfaces/SuperAdmin/INotification.d.ts create mode 100644 dist/Interfaces/SuperAdmin/INotification.js create mode 100644 dist/Interfaces/SuperAdmin/INotification.js.map create mode 100644 dist/Interfaces/SuperAdmin/IOffice.d.ts create mode 100644 dist/Interfaces/SuperAdmin/IOffice.js create mode 100644 dist/Interfaces/SuperAdmin/IOffice.js.map create mode 100644 dist/Interfaces/SuperAdmin/IOfficeFolder.d.ts create mode 100644 dist/Interfaces/SuperAdmin/IOfficeFolder.js create mode 100644 dist/Interfaces/SuperAdmin/IOfficeFolder.js.map create mode 100644 dist/Interfaces/SuperAdmin/IOfficeFolderHasCustomer.d.ts create mode 100644 dist/Interfaces/SuperAdmin/IOfficeFolderHasCustomer.js create mode 100644 dist/Interfaces/SuperAdmin/IOfficeFolderHasCustomer.js.map create mode 100644 dist/Interfaces/SuperAdmin/IOfficeFolderHasStakeholder.d.ts create mode 100644 dist/Interfaces/SuperAdmin/IOfficeFolderHasStakeholder.js create mode 100644 dist/Interfaces/SuperAdmin/IOfficeFolderHasStakeholder.js.map create mode 100644 dist/Interfaces/SuperAdmin/IUser.d.ts create mode 100644 dist/Interfaces/SuperAdmin/IUser.js create mode 100644 dist/Interfaces/SuperAdmin/IUser.js.map create mode 100644 dist/Interfaces/SuperAdmin/IUserHasNotification.d.ts create mode 100644 dist/Interfaces/SuperAdmin/IUserHasNotification.js create mode 100644 dist/Interfaces/SuperAdmin/IUserHasNotification.js.map create mode 100644 dist/Interfaces/User/IAddress.d.ts create mode 100644 dist/Interfaces/User/IAddress.js create mode 100644 dist/Interfaces/User/IAddress.js.map create mode 100644 dist/Interfaces/User/IContact.d.ts create mode 100644 dist/Interfaces/User/IContact.js create mode 100644 dist/Interfaces/User/IContact.js.map create mode 100644 dist/Interfaces/User/ICustomer.d.ts create mode 100644 dist/Interfaces/User/ICustomer.js create mode 100644 dist/Interfaces/User/ICustomer.js.map create mode 100644 dist/Interfaces/User/IDeed.d.ts create mode 100644 dist/Interfaces/User/IDeed.js create mode 100644 dist/Interfaces/User/IDeed.js.map create mode 100644 dist/Interfaces/User/IDeedHasDocumentType.d.ts create mode 100644 dist/Interfaces/User/IDeedHasDocumentType.js create mode 100644 dist/Interfaces/User/IDeedHasDocumentType.js.map create mode 100644 dist/Interfaces/User/IDeedTypeHasDocumentType.d.ts create mode 100644 dist/Interfaces/User/IDeedTypeHasDocumentType.js create mode 100644 dist/Interfaces/User/IDeedTypeHasDocumentType.js.map create mode 100644 dist/Interfaces/User/IDeedTypes.d.ts create mode 100644 dist/Interfaces/User/IDeedTypes.js create mode 100644 dist/Interfaces/User/IDeedTypes.js.map create mode 100644 dist/Interfaces/User/IDocument.d.ts create mode 100644 dist/Interfaces/User/IDocument.js create mode 100644 dist/Interfaces/User/IDocument.js.map create mode 100644 dist/Interfaces/User/IDocumentHistory.d.ts create mode 100644 dist/Interfaces/User/IDocumentHistory.js create mode 100644 dist/Interfaces/User/IDocumentHistory.js.map create mode 100644 dist/Interfaces/User/IDocumentType.d.ts create mode 100644 dist/Interfaces/User/IDocumentType.js create mode 100644 dist/Interfaces/User/IDocumentType.js.map create mode 100644 dist/Interfaces/User/IFile.d.ts create mode 100644 dist/Interfaces/User/IFile.js create mode 100644 dist/Interfaces/User/IFile.js.map create mode 100644 dist/Interfaces/User/INotification.d.ts create mode 100644 dist/Interfaces/User/INotification.js create mode 100644 dist/Interfaces/User/INotification.js.map create mode 100644 dist/Interfaces/User/IOffice.d.ts create mode 100644 dist/Interfaces/User/IOffice.js create mode 100644 dist/Interfaces/User/IOffice.js.map create mode 100644 dist/Interfaces/User/IOfficeFolder.d.ts create mode 100644 dist/Interfaces/User/IOfficeFolder.js create mode 100644 dist/Interfaces/User/IOfficeFolder.js.map create mode 100644 dist/Interfaces/User/IOfficeFolderHasCustomer.d.ts create mode 100644 dist/Interfaces/User/IOfficeFolderHasCustomer.js create mode 100644 dist/Interfaces/User/IOfficeFolderHasCustomer.js.map create mode 100644 dist/Interfaces/User/IOfficeFolderHasStakeholder.d.ts create mode 100644 dist/Interfaces/User/IOfficeFolderHasStakeholder.js create mode 100644 dist/Interfaces/User/IOfficeFolderHasStakeholder.js.map create mode 100644 dist/Interfaces/User/IUser.d.ts create mode 100644 dist/Interfaces/User/IUser.js create mode 100644 dist/Interfaces/User/IUser.js.map create mode 100644 dist/Interfaces/User/IUserHasNotification.d.ts create mode 100644 dist/Interfaces/User/IUserHasNotification.js create mode 100644 dist/Interfaces/User/IUserHasNotification.js.map delete mode 100644 package-lock.json rename src/Interfaces/{ => Admin}/IAddress.ts (86%) rename src/Interfaces/{ => Admin}/IBlockchainAnchors.ts (80%) rename src/Interfaces/{ => Admin}/IContact.ts (74%) rename src/Interfaces/{ => Admin}/ICustomer.ts (65%) rename src/Interfaces/{ => Admin}/IDeed.ts (79%) rename src/Interfaces/{ => Admin}/IDeedHasDocumentType.ts (82%) rename src/Interfaces/{ => Admin}/IDeedTypeHasDocumentType.ts (75%) rename src/Interfaces/{IDeedType.ts => Admin/IDeedTypes.ts} (79%) rename src/Interfaces/{ => Admin}/IDocument.ts (80%) rename src/Interfaces/{ => Admin}/IDocumentHistory.ts (56%) rename src/Interfaces/{ => Admin}/IDocumentType.ts (80%) rename src/Interfaces/{ => Admin}/IFile.ts (69%) rename src/Interfaces/{ => Admin}/INotification.ts (84%) rename src/Interfaces/{ => Admin}/IOffice.ts (73%) rename src/Interfaces/{ => Admin}/IOfficeFolder.ts (75%) rename src/Interfaces/{ => Admin}/IOfficeFolderHasCustomer.ts (83%) rename src/Interfaces/{ => Admin}/IOfficeFolderHasStakeholder.ts (83%) rename src/Interfaces/{ => Admin}/IUser.ts (89%) rename src/Interfaces/{ => Admin}/IUserHasNotification.ts (82%) rename src/Interfaces/{IAddressAdmin.ts => Customer/IAddress.ts} (69%) rename src/Interfaces/{IContactAdmin.ts => Customer/IContact.ts} (60%) rename src/Interfaces/{ICustomerAdmin.ts => Customer/ICustomer.ts} (50%) rename src/Interfaces/{IDeedAdmin.ts => Customer/IDeed.ts} (57%) rename src/Interfaces/{IDeedHasDocumentTypeAdmin.ts => Customer/IDeedHasDocumentType.ts} (56%) rename src/Interfaces/{IDeedTypeHasDocumentTypeAdmin.ts => Customer/IDeedTypeHasDocumentType.ts} (56%) rename src/Interfaces/{IDeedTypeAdmin.ts => Customer/IDeedTypes.ts} (69%) create mode 100644 src/Interfaces/Customer/IDocument.ts create mode 100644 src/Interfaces/Customer/IDocumentHistory.ts rename src/Interfaces/{IDocumentTypeAdmin.ts => Customer/IDocumentType.ts} (65%) rename src/Interfaces/{IFileAdmin.ts => Customer/IFile.ts} (53%) rename src/Interfaces/{INotificationAdmin.ts => Customer/INotification.ts} (66%) rename src/Interfaces/{IOfficeAdmin.ts => Customer/IOffice.ts} (57%) rename src/Interfaces/{IOfficeFolderAdmin.ts => Customer/IOfficeFolder.ts} (65%) rename src/Interfaces/{IOfficeFolderHasCustomerAdmin.ts => Customer/IOfficeFolderHasCustomer.ts} (56%) rename src/Interfaces/{IOfficeFolderHasStakeholderAdmin.ts => Customer/IOfficeFolderHasStakeholder.ts} (57%) rename src/Interfaces/{IUserAdmin.ts => Customer/IUser.ts} (70%) rename src/Interfaces/{IUserHasNotificationAdmin.ts => Customer/IUserHasNotification.ts} (56%) delete mode 100644 src/Interfaces/IDocumentHistoryAdmin.ts create mode 100644 src/Interfaces/SuperAdmin/IAddress.ts rename src/Interfaces/{IBlockchainAnchorsAdmin.ts => SuperAdmin/IBlockchainAnchors.ts} (61%) create mode 100644 src/Interfaces/SuperAdmin/IContact.ts create mode 100644 src/Interfaces/SuperAdmin/ICustomer.ts create mode 100644 src/Interfaces/SuperAdmin/IDeed.ts create mode 100644 src/Interfaces/SuperAdmin/IDeedHasDocumentType.ts create mode 100644 src/Interfaces/SuperAdmin/IDeedTypeHasDocumentType.ts create mode 100644 src/Interfaces/SuperAdmin/IDeedTypes.ts rename src/Interfaces/{IDocumentAdmin.ts => SuperAdmin/IDocument.ts} (50%) create mode 100644 src/Interfaces/SuperAdmin/IDocumentHistory.ts create mode 100644 src/Interfaces/SuperAdmin/IDocumentType.ts create mode 100644 src/Interfaces/SuperAdmin/IFile.ts create mode 100644 src/Interfaces/SuperAdmin/INotification.ts create mode 100644 src/Interfaces/SuperAdmin/IOffice.ts create mode 100644 src/Interfaces/SuperAdmin/IOfficeFolder.ts create mode 100644 src/Interfaces/SuperAdmin/IOfficeFolderHasCustomer.ts create mode 100644 src/Interfaces/SuperAdmin/IOfficeFolderHasStakeholder.ts create mode 100644 src/Interfaces/SuperAdmin/IUser.ts create mode 100644 src/Interfaces/SuperAdmin/IUserHasNotification.ts create mode 100644 src/Interfaces/User/IAddress.ts create mode 100644 src/Interfaces/User/IContact.ts create mode 100644 src/Interfaces/User/ICustomer.ts create mode 100644 src/Interfaces/User/IDeed.ts create mode 100644 src/Interfaces/User/IDeedHasDocumentType.ts create mode 100644 src/Interfaces/User/IDeedTypeHasDocumentType.ts create mode 100644 src/Interfaces/User/IDeedTypes.ts create mode 100644 src/Interfaces/User/IDocument.ts create mode 100644 src/Interfaces/User/IDocumentHistory.ts create mode 100644 src/Interfaces/User/IDocumentType.ts create mode 100644 src/Interfaces/User/IFile.ts create mode 100644 src/Interfaces/User/INotification.ts create mode 100644 src/Interfaces/User/IOffice.ts create mode 100644 src/Interfaces/User/IOfficeFolder.ts create mode 100644 src/Interfaces/User/IOfficeFolderHasCustomer.ts create mode 100644 src/Interfaces/User/IOfficeFolderHasStakeholder.ts create mode 100644 src/Interfaces/User/IUser.ts create mode 100644 src/Interfaces/User/IUserHasNotification.ts diff --git a/dist/Enums/Enums.d.ts b/dist/Enums/Enums.d.ts index 4e7036b..b6a0664 100644 --- a/dist/Enums/Enums.d.ts +++ b/dist/Enums/Enums.d.ts @@ -1,29 +1,6 @@ -export declare enum ECivility { - MALE = 0, - FEMALE = 1, - OTHERS = 2 -} -export declare enum EFolderStatus { - LIVE = 0, - ARCHIVED = 1 -} -export declare enum EOfficeStatus { - ACTIVATED = 0, - DESACTIVATED = 1 -} -export declare enum ENotificationStatus { - READ = 0, - UNREAD = 1 -} -export declare enum ECustomerStatus { - VALIDATED = 0, - PENDING = 1, - ERRONED = 2 -} -export declare enum EDocumentStatus { - ASKED = 0, - DEPOSITED = 1, - VALIDATED = 2, - ANCHORED = 3, - REFUSED = 4 -} +export type ECivility = "MALE" | "FEMALE" | "OTHERS"; +export type EFolderStatus = "LIVE" | "ARCHIVED"; +export type EOfficeStatus = "ACTIVATED" | "DESACTIVATED"; +export type ENotificationStatus = "READ" | "UNREAD"; +export type ECustomerStatus = "VALIDATED" | "PENDING" | "ERRONED"; +export type EDocumentStatus = "ASKED" | "DEPOSITED" | "VALIDATED" | "ANCHORED" | "REFUSED"; diff --git a/dist/Enums/Enums.js b/dist/Enums/Enums.js index 0790165..3289951 100644 --- a/dist/Enums/Enums.js +++ b/dist/Enums/Enums.js @@ -1,39 +1,3 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.EDocumentStatus = exports.ECustomerStatus = exports.ENotificationStatus = exports.EOfficeStatus = exports.EFolderStatus = exports.ECivility = void 0; -var ECivility; -(function (ECivility) { - ECivility[ECivility["MALE"] = 0] = "MALE"; - ECivility[ECivility["FEMALE"] = 1] = "FEMALE"; - ECivility[ECivility["OTHERS"] = 2] = "OTHERS"; -})(ECivility = exports.ECivility || (exports.ECivility = {})); -var EFolderStatus; -(function (EFolderStatus) { - EFolderStatus[EFolderStatus["LIVE"] = 0] = "LIVE"; - EFolderStatus[EFolderStatus["ARCHIVED"] = 1] = "ARCHIVED"; -})(EFolderStatus = exports.EFolderStatus || (exports.EFolderStatus = {})); -var EOfficeStatus; -(function (EOfficeStatus) { - EOfficeStatus[EOfficeStatus["ACTIVATED"] = 0] = "ACTIVATED"; - EOfficeStatus[EOfficeStatus["DESACTIVATED"] = 1] = "DESACTIVATED"; -})(EOfficeStatus = exports.EOfficeStatus || (exports.EOfficeStatus = {})); -var ENotificationStatus; -(function (ENotificationStatus) { - ENotificationStatus[ENotificationStatus["READ"] = 0] = "READ"; - ENotificationStatus[ENotificationStatus["UNREAD"] = 1] = "UNREAD"; -})(ENotificationStatus = exports.ENotificationStatus || (exports.ENotificationStatus = {})); -var ECustomerStatus; -(function (ECustomerStatus) { - ECustomerStatus[ECustomerStatus["VALIDATED"] = 0] = "VALIDATED"; - ECustomerStatus[ECustomerStatus["PENDING"] = 1] = "PENDING"; - ECustomerStatus[ECustomerStatus["ERRONED"] = 2] = "ERRONED"; -})(ECustomerStatus = exports.ECustomerStatus || (exports.ECustomerStatus = {})); -var EDocumentStatus; -(function (EDocumentStatus) { - EDocumentStatus[EDocumentStatus["ASKED"] = 0] = "ASKED"; - EDocumentStatus[EDocumentStatus["DEPOSITED"] = 1] = "DEPOSITED"; - EDocumentStatus[EDocumentStatus["VALIDATED"] = 2] = "VALIDATED"; - EDocumentStatus[EDocumentStatus["ANCHORED"] = 3] = "ANCHORED"; - EDocumentStatus[EDocumentStatus["REFUSED"] = 4] = "REFUSED"; -})(EDocumentStatus = exports.EDocumentStatus || (exports.EDocumentStatus = {})); //# sourceMappingURL=Enums.js.map \ No newline at end of file diff --git a/dist/Enums/Enums.js.map b/dist/Enums/Enums.js.map index daf0720..5860695 100644 --- a/dist/Enums/Enums.js.map +++ b/dist/Enums/Enums.js.map @@ -1 +1 @@ -{"version":3,"file":"Enums.js","sourceRoot":"","sources":["../../src/Enums/Enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,yCAAI,CAAA;IACJ,6CAAM,CAAA;IACN,6CAAM,CAAA;AACR,CAAC,EAJW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAIpB;AAED,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,iDAAI,CAAA;IACJ,yDAAQ,CAAA;AACV,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB;AAED,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,2DAAS,CAAA;IACT,iEAAY,CAAA;AACd,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB;AAED,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC7B,6DAAI,CAAA;IACJ,iEAAM,CAAA;AACR,CAAC,EAHW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAG9B;AAED,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,+DAAS,CAAA;IACT,2DAAO,CAAA;IACP,2DAAO,CAAA;AACT,CAAC,EAJW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAI1B;AAED,IAAY,eAMX;AAND,WAAY,eAAe;IACzB,uDAAK,CAAA;IACL,+DAAS,CAAA;IACT,+DAAS,CAAA;IACT,6DAAQ,CAAA;IACR,2DAAO,CAAA;AACT,CAAC,EANW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAM1B"} \ No newline at end of file +{"version":3,"file":"Enums.js","sourceRoot":"","sources":["../../src/Enums/Enums.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/Interfaces/Admin/IAddress.d.ts b/dist/Interfaces/Admin/IAddress.d.ts new file mode 100644 index 0000000..4f935bb --- /dev/null +++ b/dist/Interfaces/Admin/IAddress.d.ts @@ -0,0 +1,12 @@ +import IContact from "./IContact"; +import IOffice from "./IOffice"; +export default class IAddress { + uuid: string; + address: string; + city: string; + zip_code: number; + created_at: Date | null; + updated_at: Date | null; + office?: IOffice; + contacts?: IContact; +} diff --git a/dist/Interfaces/Admin/IAddress.js b/dist/Interfaces/Admin/IAddress.js new file mode 100644 index 0000000..e971bd8 --- /dev/null +++ b/dist/Interfaces/Admin/IAddress.js @@ -0,0 +1,57 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IContact_1 = __importDefault(require("./IContact")); +const IOffice_1 = __importDefault(require("./IOffice")); +class IAddress { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IAddress.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IAddress.prototype, "address", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IAddress.prototype, "city", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", Number) +], IAddress.prototype, "zip_code", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IAddress.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IAddress.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", IOffice_1.default) +], IAddress.prototype, "office", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", IContact_1.default) +], IAddress.prototype, "contacts", void 0); +exports.default = IAddress; +//# sourceMappingURL=IAddress.js.map \ No newline at end of file diff --git a/dist/Interfaces/Admin/IAddress.js.map b/dist/Interfaces/Admin/IAddress.js.map new file mode 100644 index 0000000..38a99d3 --- /dev/null +++ b/dist/Interfaces/Admin/IAddress.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IAddress.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IAddress.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,0DAAkC;AAClC,wDAAgC;AAEhC,MAAqB,QAAQ;IAA7B;QAcS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAvBC;IAAC,IAAA,4BAAU,GAAE;;sCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yCACX;AAExB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;sCACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;0CACV;AAEzB;IAAC,IAAA,wBAAM,GAAE;;4CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;4CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;8BACG,iBAAO;wCAAC;AAExB;IAAC,IAAA,4BAAU,GAAE;8BACK,kBAAQ;0CAAC;AAvB7B,2BAwBC"} \ No newline at end of file diff --git a/dist/Interfaces/Admin/IBlockchainAnchors.d.ts b/dist/Interfaces/Admin/IBlockchainAnchors.d.ts new file mode 100644 index 0000000..06c82c7 --- /dev/null +++ b/dist/Interfaces/Admin/IBlockchainAnchors.d.ts @@ -0,0 +1,8 @@ +import IDocument from "./IDocument"; +export default class IBlockchainAnchor { + uuid: string; + smartSigJobId: string; + created_at: Date | null; + updated_at: Date | null; + documents?: IDocument[]; +} diff --git a/dist/Interfaces/Admin/IBlockchainAnchors.js b/dist/Interfaces/Admin/IBlockchainAnchors.js new file mode 100644 index 0000000..4e33825 --- /dev/null +++ b/dist/Interfaces/Admin/IBlockchainAnchors.js @@ -0,0 +1,40 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +class IBlockchainAnchor { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IBlockchainAnchor.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IBlockchainAnchor.prototype, "smartSigJobId", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IBlockchainAnchor.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IBlockchainAnchor.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IBlockchainAnchor.prototype, "documents", void 0); +exports.default = IBlockchainAnchor; +//# sourceMappingURL=IBlockchainAnchors.js.map \ No newline at end of file diff --git a/dist/Interfaces/Admin/IBlockchainAnchors.js.map b/dist/Interfaces/Admin/IBlockchainAnchors.js.map new file mode 100644 index 0000000..d72cade --- /dev/null +++ b/dist/Interfaces/Admin/IBlockchainAnchors.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IBlockchainAnchors.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IBlockchainAnchors.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAiE;AAGjE,MAAqB,iBAAiB;IAAtC;QAQS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAIxC,CAAC;CAAA;AAdC;IAAC,IAAA,4BAAU,GAAE;;+CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;wDACL;AAE9B;IAAC,IAAA,wBAAM,GAAE;;qDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;qDAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;oDACkB;AAdjC,oCAeC"} \ No newline at end of file diff --git a/dist/Interfaces/Admin/IContact.d.ts b/dist/Interfaces/Admin/IContact.d.ts new file mode 100644 index 0000000..37ca7c8 --- /dev/null +++ b/dist/Interfaces/Admin/IContact.d.ts @@ -0,0 +1,18 @@ +import { ECivility } from "../../Enums/Enums"; +import IUser from "./IUser"; +import ICustomer from "./ICustomer"; +import IAddress from "./IAddress"; +export default class IContact { + uuid: string; + first_name: string; + last_name: string; + email: string; + phone_number: string; + cell_phone_number: string; + civility: ECivility; + address: IAddress; + created_at: Date | null; + updated_at: Date | null; + users?: IUser; + customers?: ICustomer; +} diff --git a/dist/Interfaces/Admin/IContact.js b/dist/Interfaces/Admin/IContact.js new file mode 100644 index 0000000..7872788 --- /dev/null +++ b/dist/Interfaces/Admin/IContact.js @@ -0,0 +1,74 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IUser_1 = __importDefault(require("./IUser")); +const ICustomer_1 = __importDefault(require("./ICustomer")); +const IAddress_1 = __importDefault(require("./IAddress")); +class IContact { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IContact.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IContact.prototype, "first_name", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IContact.prototype, "last_name", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IContact.prototype, "email", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", String) +], IContact.prototype, "phone_number", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", String) +], IContact.prototype, "cell_phone_number", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IContact.prototype, "civility", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IAddress_1.default) +], IContact.prototype, "address", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IContact.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IContact.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", IUser_1.default) +], IContact.prototype, "users", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", ICustomer_1.default) +], IContact.prototype, "customers", void 0); +exports.default = IContact; +//# sourceMappingURL=IContact.js.map \ No newline at end of file diff --git a/dist/Interfaces/Admin/IContact.js.map b/dist/Interfaces/Admin/IContact.js.map new file mode 100644 index 0000000..4c1448f --- /dev/null +++ b/dist/Interfaces/Admin/IContact.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IContact.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IContact.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAEjE,oDAA4B;AAC5B,4DAAoC;AACpC,0DAAkC;AAElC,MAAqB,QAAQ;IAA7B;QA0BS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAnCC;IAAC,IAAA,4BAAU,GAAE;;sCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;4CACR;AAE3B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACT;AAE1B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;uCACb;AAEtB;IAAC,IAAA,4BAAU,GAAE;;8CACgB;AAE7B;IAAC,IAAA,4BAAU,GAAE;;mDACqB;AAElC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;0CACP;AAE5B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;yCAAC;AAE1B;IAAC,IAAA,wBAAM,GAAE;;4CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;4CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;8BACE,eAAK;uCAAC;AAErB;IAAC,IAAA,4BAAU,GAAE;8BACM,mBAAS;2CAAC;AAnC/B,2BAoCC"} \ No newline at end of file diff --git a/dist/Interfaces/Admin/ICustomer.d.ts b/dist/Interfaces/Admin/ICustomer.d.ts new file mode 100644 index 0000000..7bc840d --- /dev/null +++ b/dist/Interfaces/Admin/ICustomer.d.ts @@ -0,0 +1,13 @@ +import IContact from "./IContact"; +import { ECustomerStatus } from "../../Enums/Enums"; +import IDocument from "./IDocument"; +import IOfficeFolderHasCustomer from "./IOfficeFolderHasCustomer"; +export default class ICustomer { + uuid: string; + status: ECustomerStatus; + contact: IContact; + created_at: Date | null; + updated_at: Date | null; + office_folder_has_customers?: IOfficeFolderHasCustomer[]; + documents?: IDocument[]; +} diff --git a/dist/Interfaces/Admin/ICustomer.js b/dist/Interfaces/Admin/ICustomer.js new file mode 100644 index 0000000..c0566b8 --- /dev/null +++ b/dist/Interfaces/Admin/ICustomer.js @@ -0,0 +1,52 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IContact_1 = __importDefault(require("./IContact")); +class ICustomer { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], ICustomer.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], ICustomer.prototype, "status", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IContact_1.default) +], ICustomer.prototype, "contact", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], ICustomer.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], ICustomer.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], ICustomer.prototype, "office_folder_has_customers", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], ICustomer.prototype, "documents", void 0); +exports.default = ICustomer; +//# sourceMappingURL=ICustomer.js.map \ No newline at end of file diff --git a/dist/Interfaces/Admin/ICustomer.js.map b/dist/Interfaces/Admin/ICustomer.js.map new file mode 100644 index 0000000..c334fcc --- /dev/null +++ b/dist/Interfaces/Admin/ICustomer.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ICustomer.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/ICustomer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,0DAAkC;AAKlC,MAAqB,SAAS;IAA9B;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AApBC;IAAC,IAAA,4BAAU,GAAE;;uCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yCACH;AAEhC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;0CAAC;AAE1B;IAAC,IAAA,wBAAM,GAAE;;6CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;6CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;8DAC4C;AAEzD;IAAC,IAAA,4BAAU,GAAE;;4CACW;AApB1B,4BAqBC"} \ No newline at end of file diff --git a/dist/Interfaces/Admin/IDeed.d.ts b/dist/Interfaces/Admin/IDeed.d.ts new file mode 100644 index 0000000..bba275d --- /dev/null +++ b/dist/Interfaces/Admin/IDeed.d.ts @@ -0,0 +1,11 @@ +import IOfficeFolder from "./IOfficeFolder"; +import IDeedHasDocumentType from "./IDeedHasDocumentType"; +import IDeedType from "./IDeedTypes"; +export default class IDeed { + uuid: string; + deed_type: IDeedType; + created_at: Date | null; + updated_at: Date | null; + deed_has_document_types?: IDeedHasDocumentType[]; + office_folder?: IOfficeFolder; +} diff --git a/dist/Interfaces/Admin/IDeed.js b/dist/Interfaces/Admin/IDeed.js new file mode 100644 index 0000000..61bd75c --- /dev/null +++ b/dist/Interfaces/Admin/IDeed.js @@ -0,0 +1,49 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IOfficeFolder_1 = __importDefault(require("./IOfficeFolder")); +const IDeedTypes_1 = __importDefault(require("./IDeedTypes")); +class IDeed { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IDeed.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDeedTypes_1.default) +], IDeed.prototype, "deed_type", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeed.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeed.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDeed.prototype, "deed_has_document_types", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", IOfficeFolder_1.default) +], IDeed.prototype, "office_folder", void 0); +exports.default = IDeed; +//# sourceMappingURL=IDeed.js.map \ No newline at end of file diff --git a/dist/Interfaces/Admin/IDeed.js.map b/dist/Interfaces/Admin/IDeed.js.map new file mode 100644 index 0000000..75aa2d6 --- /dev/null +++ b/dist/Interfaces/Admin/IDeed.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDeed.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IDeed.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,oEAA4C;AAE5C,8DAAqC;AAErC,MAAqB,KAAK;IAA1B;QAQS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAjBC;IAAC,IAAA,4BAAU,GAAE;;mCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,oBAAS;wCAAC;AAE7B;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;sDAC2C;AAExD;IAAC,IAAA,4BAAU,GAAE;8BACU,uBAAa;4CAAC;AAjBvC,wBAkBC"} \ No newline at end of file diff --git a/dist/Interfaces/Admin/IDeedHasDocumentType.d.ts b/dist/Interfaces/Admin/IDeedHasDocumentType.d.ts new file mode 100644 index 0000000..ccab64f --- /dev/null +++ b/dist/Interfaces/Admin/IDeedHasDocumentType.d.ts @@ -0,0 +1,9 @@ +import IDeed from "./IDeed"; +import IDocumentType from "./IDocumentType"; +export default class IDeedHasDocumentType { + uuid: string; + document_type: IDocumentType; + deed: IDeed; + created_at: Date | null; + updated_at: Date | null; +} diff --git a/dist/Interfaces/Admin/IDeedHasDocumentType.js b/dist/Interfaces/Admin/IDeedHasDocumentType.js new file mode 100644 index 0000000..5d0476e --- /dev/null +++ b/dist/Interfaces/Admin/IDeedHasDocumentType.js @@ -0,0 +1,45 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IDeed_1 = __importDefault(require("./IDeed")); +const IDocumentType_1 = __importDefault(require("./IDocumentType")); +class IDeedHasDocumentType { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IDeedHasDocumentType.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDocumentType_1.default) +], IDeedHasDocumentType.prototype, "document_type", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDeed_1.default) +], IDeedHasDocumentType.prototype, "deed", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeedHasDocumentType.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeedHasDocumentType.prototype, "updated_at", void 0); +exports.default = IDeedHasDocumentType; +//# sourceMappingURL=IDeedHasDocumentType.js.map \ No newline at end of file diff --git a/dist/Interfaces/Admin/IDeedHasDocumentType.js.map b/dist/Interfaces/Admin/IDeedHasDocumentType.js.map new file mode 100644 index 0000000..ec71250 --- /dev/null +++ b/dist/Interfaces/Admin/IDeedHasDocumentType.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDeedHasDocumentType.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IDeedHasDocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,oDAA4B;AAC5B,oEAA4C;AAE5C,MAAqB,oBAAoB;IAAzC;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAdC;IAAC,IAAA,4BAAU,GAAE;;kDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;2DAAC;AAErC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,eAAK;kDAAC;AAEpB;IAAC,IAAA,wBAAM,GAAE;;wDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;wDAC6B;AAdxC,uCAeC"} \ No newline at end of file diff --git a/dist/Interfaces/Admin/IDeedTypeHasDocumentType.d.ts b/dist/Interfaces/Admin/IDeedTypeHasDocumentType.d.ts new file mode 100644 index 0000000..226042a --- /dev/null +++ b/dist/Interfaces/Admin/IDeedTypeHasDocumentType.d.ts @@ -0,0 +1,9 @@ +import IDeedType from "./IDeedTypes"; +import IDocumentType from "./IDocumentType"; +export default class IDeedTypeHasDocumentType { + uuid: string; + document_type: IDocumentType; + deed_type: IDeedType; + created_at: Date | null; + updated_at: Date | null; +} diff --git a/dist/Interfaces/Admin/IDeedTypeHasDocumentType.js b/dist/Interfaces/Admin/IDeedTypeHasDocumentType.js new file mode 100644 index 0000000..de60cce --- /dev/null +++ b/dist/Interfaces/Admin/IDeedTypeHasDocumentType.js @@ -0,0 +1,45 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IDeedTypes_1 = __importDefault(require("./IDeedTypes")); +const IDocumentType_1 = __importDefault(require("./IDocumentType")); +class IDeedTypeHasDocumentType { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IDeedTypeHasDocumentType.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDocumentType_1.default) +], IDeedTypeHasDocumentType.prototype, "document_type", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDeedTypes_1.default) +], IDeedTypeHasDocumentType.prototype, "deed_type", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeedTypeHasDocumentType.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeedTypeHasDocumentType.prototype, "updated_at", void 0); +exports.default = IDeedTypeHasDocumentType; +//# sourceMappingURL=IDeedTypeHasDocumentType.js.map \ No newline at end of file diff --git a/dist/Interfaces/Admin/IDeedTypeHasDocumentType.js.map b/dist/Interfaces/Admin/IDeedTypeHasDocumentType.js.map new file mode 100644 index 0000000..65687a0 --- /dev/null +++ b/dist/Interfaces/Admin/IDeedTypeHasDocumentType.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDeedTypeHasDocumentType.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IDeedTypeHasDocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,8DAAqC;AACrC,oEAA4C;AAE5C,MAAqB,wBAAwB;IAA7C;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAdC;IAAC,IAAA,4BAAU,GAAE;;sDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;+DAAC;AAErC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,oBAAS;2DAAC;AAE7B;IAAC,IAAA,wBAAM,GAAE;;4DAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;4DAC6B;AAdxC,2CAeC"} \ No newline at end of file diff --git a/dist/Interfaces/Admin/IDeedTypes.d.ts b/dist/Interfaces/Admin/IDeedTypes.d.ts new file mode 100644 index 0000000..43749bc --- /dev/null +++ b/dist/Interfaces/Admin/IDeedTypes.d.ts @@ -0,0 +1,14 @@ +import IDeedTypeHasDocumentType from "./IDeedTypeHasDocumentType"; +import IOffice from "./IOffice"; +import IDeed from "./IDeed"; +export default class IDeedTypes { + uuid: string; + name: string; + description: string; + archived_at: Date | null; + office: IOffice; + created_at: Date | null; + updated_at: Date | null; + deed?: IDeed[]; + deed_type_has_document_types?: IDeedTypeHasDocumentType[]; +} diff --git a/dist/Interfaces/Admin/IDeedTypes.js b/dist/Interfaces/Admin/IDeedTypes.js new file mode 100644 index 0000000..da88ed4 --- /dev/null +++ b/dist/Interfaces/Admin/IDeedTypes.js @@ -0,0 +1,61 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IOffice_1 = __importDefault(require("./IOffice")); +class IDeedTypes { + constructor() { + this.archived_at = null; + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IDeedTypes.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IDeedTypes.prototype, "name", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IDeedTypes.prototype, "description", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeedTypes.prototype, "archived_at", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IOffice_1.default) +], IDeedTypes.prototype, "office", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeedTypes.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeedTypes.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDeedTypes.prototype, "deed", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDeedTypes.prototype, "deed_type_has_document_types", void 0); +exports.default = IDeedTypes; +//# sourceMappingURL=IDeedTypes.js.map \ No newline at end of file diff --git a/dist/Interfaces/Admin/IDeedTypes.js.map b/dist/Interfaces/Admin/IDeedTypes.js.map new file mode 100644 index 0000000..a9240e3 --- /dev/null +++ b/dist/Interfaces/Admin/IDeedTypes.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDeedTypes.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IDeedTypes.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAGjE,wDAAgC;AAGhC,MAAqB,UAAU;IAA/B;QAWS,gBAAW,GAAgB,IAAI,CAAC;QAMhC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AA1BC;IAAC,IAAA,4BAAU,GAAE;;wCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;wCACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;+CACP;AAE5B;IAAC,IAAA,wBAAM,GAAE;;+CAC8B;AAEvC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,iBAAO;0CAAC;AAExB;IAAC,IAAA,wBAAM,GAAE;;8CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;8CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;wCACS;AAEtB;IAAC,IAAA,4BAAU,GAAE;;gEACoD;AA1BnE,6BA2BC"} \ No newline at end of file diff --git a/dist/Interfaces/Admin/IDocument.d.ts b/dist/Interfaces/Admin/IDocument.d.ts new file mode 100644 index 0000000..0c436f3 --- /dev/null +++ b/dist/Interfaces/Admin/IDocument.d.ts @@ -0,0 +1,19 @@ +import ICustomer from "./ICustomer"; +import { EDocumentStatus } from "../../Enums/Enums"; +import IOfficeFolder from "./IOfficeFolder"; +import IDocumentType from "./IDocumentType"; +import IBlockchainAnchor from "./IBlockchainAnchors"; +import IDocumentHistory from "./IDocumentHistory"; +import IFile from "./IFile"; +export default class IDocument { + uuid: string; + document_status: EDocumentStatus; + document_type: IDocumentType; + blockchain_anchor?: IBlockchainAnchor; + folder: IOfficeFolder; + depositor: ICustomer; + created_at: Date | null; + updated_at: Date | null; + files?: IFile[]; + document_history?: IDocumentHistory[]; +} diff --git a/dist/Interfaces/Admin/IDocument.js b/dist/Interfaces/Admin/IDocument.js new file mode 100644 index 0000000..1795fe8 --- /dev/null +++ b/dist/Interfaces/Admin/IDocument.js @@ -0,0 +1,67 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const ICustomer_1 = __importDefault(require("./ICustomer")); +const IOfficeFolder_1 = __importDefault(require("./IOfficeFolder")); +const IDocumentType_1 = __importDefault(require("./IDocumentType")); +const IBlockchainAnchors_1 = __importDefault(require("./IBlockchainAnchors")); +class IDocument { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IDocument.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IDocument.prototype, "document_status", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDocumentType_1.default) +], IDocument.prototype, "document_type", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", IBlockchainAnchors_1.default) +], IDocument.prototype, "blockchain_anchor", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IOfficeFolder_1.default) +], IDocument.prototype, "folder", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", ICustomer_1.default) +], IDocument.prototype, "depositor", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDocument.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDocument.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDocument.prototype, "files", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDocument.prototype, "document_history", void 0); +exports.default = IDocument; +//# sourceMappingURL=IDocument.js.map \ No newline at end of file diff --git a/dist/Interfaces/Admin/IDocument.js.map b/dist/Interfaces/Admin/IDocument.js.map new file mode 100644 index 0000000..19a0209 --- /dev/null +++ b/dist/Interfaces/Admin/IDocument.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDocument.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IDocument.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,4DAAoC;AAEpC,oEAA4C;AAC5C,oEAA4C;AAC5C,8EAAqD;AAIrD,MAAqB,SAAS;IAA9B;QAoBS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AA7BC;IAAC,IAAA,4BAAU,GAAE;;uCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;kDACM;AAEzC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;gDAAC;AAErC;IAAC,IAAA,4BAAU,GAAE;8BACc,4BAAiB;oDAAC;AAE7C;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,uBAAa;yCAAC;AAE9B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,mBAAS;4CAAC;AAE7B;IAAC,IAAA,wBAAM,GAAE;;6CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;6CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;wCACU;AAEvB;IAAC,IAAA,4BAAU,GAAE;;mDACgC;AA7B/C,4BA8BC"} \ No newline at end of file diff --git a/dist/Interfaces/Admin/IDocumentHistory.d.ts b/dist/Interfaces/Admin/IDocumentHistory.d.ts new file mode 100644 index 0000000..dad2ecc --- /dev/null +++ b/dist/Interfaces/Admin/IDocumentHistory.d.ts @@ -0,0 +1,10 @@ +import { EDocumentStatus } from "../../Enums/Enums"; +import IDocument from "./IDocument"; +export default class IDocumentHistory { + uuid: string; + document_status: EDocumentStatus; + document: IDocument; + refused_reason: string | null; + created_at: Date | null; + updated_at: Date | null; +} diff --git a/dist/Interfaces/Admin/IDocumentHistory.js b/dist/Interfaces/Admin/IDocumentHistory.js new file mode 100644 index 0000000..286093f --- /dev/null +++ b/dist/Interfaces/Admin/IDocumentHistory.js @@ -0,0 +1,49 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IDocument_1 = __importDefault(require("./IDocument")); +class IDocumentHistory { + constructor() { + this.refused_reason = null; + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IDocumentHistory.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IDocumentHistory.prototype, "document_status", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDocument_1.default) +], IDocumentHistory.prototype, "document", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Object) +], IDocumentHistory.prototype, "refused_reason", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDocumentHistory.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDocumentHistory.prototype, "updated_at", void 0); +exports.default = IDocumentHistory; +//# sourceMappingURL=IDocumentHistory.js.map \ No newline at end of file diff --git a/dist/Interfaces/Admin/IDocumentHistory.js.map b/dist/Interfaces/Admin/IDocumentHistory.js.map new file mode 100644 index 0000000..a3acd39 --- /dev/null +++ b/dist/Interfaces/Admin/IDocumentHistory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDocumentHistory.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IDocumentHistory.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAEjE,4DAAoC;AAEpC,MAAqB,gBAAgB;IAArC;QAWS,mBAAc,GAAkB,IAAI,CAAC;QAGrC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAjBC;IAAC,IAAA,4BAAU,GAAE;;8CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yDACM;AAEzC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,mBAAS;kDAAC;AAE5B;IAAC,IAAA,4BAAU,GAAE;;wDAC+B;AAE5C;IAAC,IAAA,wBAAM,GAAE;;oDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;oDAC6B;AAjBxC,mCAkBC"} \ No newline at end of file diff --git a/dist/Interfaces/Admin/IDocumentType.d.ts b/dist/Interfaces/Admin/IDocumentType.d.ts new file mode 100644 index 0000000..937395b --- /dev/null +++ b/dist/Interfaces/Admin/IDocumentType.d.ts @@ -0,0 +1,15 @@ +import IDeedHasDocumentType from "./IDeedHasDocumentType"; +import IDeedTypeHasDocumentType from "./IDeedTypeHasDocumentType"; +import IDocument from "./IDocument"; +export default class IDocumentType { + uuid: string; + name: string; + public_description: string; + private_description: string | null; + archived_at: Date | null; + created_at: Date | null; + updated_at: Date | null; + documents?: IDocument[]; + deed_has_document_types?: IDeedHasDocumentType[]; + deed_type_has_document_types?: IDeedTypeHasDocumentType[]; +} diff --git a/dist/Interfaces/Admin/IDocumentType.js b/dist/Interfaces/Admin/IDocumentType.js new file mode 100644 index 0000000..2bbc7ea --- /dev/null +++ b/dist/Interfaces/Admin/IDocumentType.js @@ -0,0 +1,62 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +class IDocumentType { + constructor() { + this.private_description = null; + this.archived_at = null; + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IDocumentType.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IDocumentType.prototype, "name", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IDocumentType.prototype, "public_description", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Object) +], IDocumentType.prototype, "private_description", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDocumentType.prototype, "archived_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDocumentType.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDocumentType.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDocumentType.prototype, "documents", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDocumentType.prototype, "deed_has_document_types", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDocumentType.prototype, "deed_type_has_document_types", void 0); +exports.default = IDocumentType; +//# sourceMappingURL=IDocumentType.js.map \ No newline at end of file diff --git a/dist/Interfaces/Admin/IDocumentType.js.map b/dist/Interfaces/Admin/IDocumentType.js.map new file mode 100644 index 0000000..dba2dac --- /dev/null +++ b/dist/Interfaces/Admin/IDocumentType.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDocumentType.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IDocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAiE;AAKjE,MAAqB,aAAa;IAAlC;QAWS,wBAAmB,GAAkB,IAAI,CAAC;QAG1C,gBAAW,GAAgB,IAAI,CAAC;QAGhC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAUxC,CAAC;CAAA;AA7BC;IAAC,IAAA,4BAAU,GAAE;;2CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yDACA;AAEnC;IAAC,IAAA,4BAAU,GAAE;;0DACoC;AAEjD;IAAC,IAAA,wBAAM,GAAE;;kDAC8B;AAEvC;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;gDACkB;AAE/B;IAAC,IAAA,4BAAU,GAAE;;8DAC2C;AAExD;IAAC,IAAA,4BAAU,GAAE;;mEACoD;AA7BnE,gCA8BC"} \ No newline at end of file diff --git a/dist/Interfaces/Admin/IFile.d.ts b/dist/Interfaces/Admin/IFile.d.ts new file mode 100644 index 0000000..0ba834b --- /dev/null +++ b/dist/Interfaces/Admin/IFile.d.ts @@ -0,0 +1,8 @@ +import IDocument from "./IDocument"; +export default class IFile { + uuid: string; + document: IDocument; + file_path: string | null; + created_at: Date | null; + updated_at: Date | null; +} diff --git a/dist/Interfaces/Admin/IFile.js b/dist/Interfaces/Admin/IFile.js new file mode 100644 index 0000000..afc8125 --- /dev/null +++ b/dist/Interfaces/Admin/IFile.js @@ -0,0 +1,45 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IDocument_1 = __importDefault(require("./IDocument")); +class IFile { + constructor() { + this.file_path = null; + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IFile.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDocument_1.default) +], IFile.prototype, "document", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Object) +], IFile.prototype, "file_path", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IFile.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IFile.prototype, "updated_at", void 0); +exports.default = IFile; +//# sourceMappingURL=IFile.js.map \ No newline at end of file diff --git a/dist/Interfaces/Admin/IFile.js.map b/dist/Interfaces/Admin/IFile.js.map new file mode 100644 index 0000000..cf36e2b --- /dev/null +++ b/dist/Interfaces/Admin/IFile.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IFile.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,4DAAoC;AAEpC,MAAqB,KAAK;IAA1B;QAQS,cAAS,GAAkB,IAAI,CAAC;QAGhC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAdC;IAAC,IAAA,4BAAU,GAAE;;mCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,mBAAS;uCAAC;AAE5B;IAAC,IAAA,4BAAU,GAAE;;wCAC0B;AAEvC;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAdxC,wBAeC"} \ No newline at end of file diff --git a/dist/Interfaces/Admin/INotification.d.ts b/dist/Interfaces/Admin/INotification.d.ts new file mode 100644 index 0000000..e4e4412 --- /dev/null +++ b/dist/Interfaces/Admin/INotification.d.ts @@ -0,0 +1,9 @@ +import IUserHasNotification from "./IUserHasNotification"; +export default class INotification { + uuid: string; + message: string; + redirection_url: string; + created_at: Date | null; + updated_at: Date | null; + user_has_notifications?: IUserHasNotification[]; +} diff --git a/dist/Interfaces/Admin/INotification.js b/dist/Interfaces/Admin/INotification.js new file mode 100644 index 0000000..5a0c7a8 --- /dev/null +++ b/dist/Interfaces/Admin/INotification.js @@ -0,0 +1,45 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +class INotification { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], INotification.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], INotification.prototype, "message", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + (0, class_validator_1.IsUrl)(), + __metadata("design:type", String) +], INotification.prototype, "redirection_url", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], INotification.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], INotification.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], INotification.prototype, "user_has_notifications", void 0); +exports.default = INotification; +//# sourceMappingURL=INotification.js.map \ No newline at end of file diff --git a/dist/Interfaces/Admin/INotification.js.map b/dist/Interfaces/Admin/INotification.js.map new file mode 100644 index 0000000..3ab517c --- /dev/null +++ b/dist/Interfaces/Admin/INotification.js.map @@ -0,0 +1 @@ +{"version":3,"file":"INotification.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/INotification.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAwE;AAGxE,MAAqB,aAAa;IAAlC;QAYS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAIxC,CAAC;CAAA;AAlBC;IAAC,IAAA,4BAAU,GAAE;;2CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8CACX;AAExB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;IAClC,IAAA,uBAAK,GAAE;;sDACwB;AAEhC;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;6DACmC;AAlBlD,gCAmBC"} \ No newline at end of file diff --git a/dist/Interfaces/Admin/IOffice.d.ts b/dist/Interfaces/Admin/IOffice.d.ts new file mode 100644 index 0000000..2c1eeb2 --- /dev/null +++ b/dist/Interfaces/Admin/IOffice.d.ts @@ -0,0 +1,18 @@ +import IAddress from "./IAddress"; +import { EOfficeStatus } from "../../Enums/Enums"; +import IUser from "./IUser"; +import IOfficeFolder from "./IOfficeFolder"; +import IDeedType from "./IDeedTypes"; +export default class IOffice { + uuid: string; + idNot: string; + name: string; + crpcen: string; + address: IAddress; + office_status: EOfficeStatus; + created_at: Date | null; + updated_at: Date | null; + deed_types?: IDeedType[]; + users?: IUser[]; + office_folders?: IOfficeFolder[]; +} diff --git a/dist/Interfaces/Admin/IOffice.js b/dist/Interfaces/Admin/IOffice.js new file mode 100644 index 0000000..421875f --- /dev/null +++ b/dist/Interfaces/Admin/IOffice.js @@ -0,0 +1,68 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IAddress_1 = __importDefault(require("./IAddress")); +class IOffice { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IOffice.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IOffice.prototype, "idNot", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IOffice.prototype, "name", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IOffice.prototype, "crpcen", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IAddress_1.default) +], IOffice.prototype, "address", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IOffice.prototype, "office_status", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOffice.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOffice.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IOffice.prototype, "deed_types", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IOffice.prototype, "users", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IOffice.prototype, "office_folders", void 0); +exports.default = IOffice; +//# sourceMappingURL=IOffice.js.map \ No newline at end of file diff --git a/dist/Interfaces/Admin/IOffice.js.map b/dist/Interfaces/Admin/IOffice.js.map new file mode 100644 index 0000000..a30a27f --- /dev/null +++ b/dist/Interfaces/Admin/IOffice.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IOffice.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IOffice.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,0DAAkC;AAMlC,MAAqB,OAAO;IAA5B;QAoBS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAUxC,CAAC;CAAA;AAhCC;IAAC,IAAA,4BAAU,GAAE;;qCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;sCACb;AAEtB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;qCACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;uCACZ;AAEvB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;wCAAC;AAE1B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8CACE;AAErC;IAAC,IAAA,wBAAM,GAAE;;2CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;2CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;2CACY;AAEzB;IAAC,IAAA,4BAAU,GAAE;;sCACG;AAEhB;IAAC,IAAA,4BAAU,GAAE;;+CACoB;AAhCnC,0BAiCC"} \ No newline at end of file diff --git a/dist/Interfaces/Admin/IOfficeFolder.d.ts b/dist/Interfaces/Admin/IOfficeFolder.d.ts new file mode 100644 index 0000000..3ce2ab7 --- /dev/null +++ b/dist/Interfaces/Admin/IOfficeFolder.d.ts @@ -0,0 +1,21 @@ +import { EFolderStatus } from "../../Enums/Enums"; +import IDeed from "./IDeed"; +import IDocument from "./IDocument"; +import IOffice from "./IOffice"; +import IOfficeFolderHasCustomer from "./IOfficeFolderHasCustomer"; +import IOfficeFolderHasStakeholder from "./IOfficeFolderHasStakeholder"; +export default class IOfficeFolder { + uuid: string; + folder_number: string; + name: string; + description: string | null; + archived_description: string | null; + status: EFolderStatus; + deed: IDeed; + office: IOffice; + created_at: Date | null; + updated_at: Date | null; + office_folder_has_customers?: IOfficeFolderHasCustomer[]; + office_folder_has_stakeholder?: IOfficeFolderHasStakeholder[]; + documents?: IDocument[]; +} diff --git a/dist/Interfaces/Admin/IOfficeFolder.js b/dist/Interfaces/Admin/IOfficeFolder.js new file mode 100644 index 0000000..7f2439d --- /dev/null +++ b/dist/Interfaces/Admin/IOfficeFolder.js @@ -0,0 +1,79 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IDeed_1 = __importDefault(require("./IDeed")); +const IOffice_1 = __importDefault(require("./IOffice")); +class IOfficeFolder { + constructor() { + this.description = null; + this.archived_description = null; + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IOfficeFolder.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IOfficeFolder.prototype, "folder_number", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IOfficeFolder.prototype, "name", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Object) +], IOfficeFolder.prototype, "description", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Object) +], IOfficeFolder.prototype, "archived_description", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IOfficeFolder.prototype, "status", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDeed_1.default) +], IOfficeFolder.prototype, "deed", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IOffice_1.default) +], IOfficeFolder.prototype, "office", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOfficeFolder.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOfficeFolder.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IOfficeFolder.prototype, "office_folder_has_customers", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IOfficeFolder.prototype, "office_folder_has_stakeholder", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IOfficeFolder.prototype, "documents", void 0); +exports.default = IOfficeFolder; +//# sourceMappingURL=IOfficeFolder.js.map \ No newline at end of file diff --git a/dist/Interfaces/Admin/IOfficeFolder.js.map b/dist/Interfaces/Admin/IOfficeFolder.js.map new file mode 100644 index 0000000..86a40dc --- /dev/null +++ b/dist/Interfaces/Admin/IOfficeFolder.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IOfficeFolder.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IOfficeFolder.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAEjE,oDAA4B;AAE5B,wDAAgC;AAIhC,MAAqB,aAAa;IAAlC;QAWS,gBAAW,GAAkB,IAAI,CAAC;QAGlC,yBAAoB,GAAkB,IAAI,CAAC;QAY3C,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAUxC,CAAC;CAAA;AAtCC;IAAC,IAAA,4BAAU,GAAE;;2CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;oDACL;AAE9B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACd;AAErB;IAAC,IAAA,4BAAU,GAAE;;kDAC4B;AAEzC;IAAC,IAAA,4BAAU,GAAE;;2DACqC;AAElD;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;6CACL;AAE9B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,eAAK;2CAAC;AAEpB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,iBAAO;6CAAC;AAExB;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;kEAC4C;AAEzD;IAAC,IAAA,4BAAU,GAAE;;oEACiD;AAE9D;IAAC,IAAA,4BAAU,GAAE;;gDACW;AAtC1B,gCAuCC"} \ No newline at end of file diff --git a/dist/Interfaces/Admin/IOfficeFolderHasCustomer.d.ts b/dist/Interfaces/Admin/IOfficeFolderHasCustomer.d.ts new file mode 100644 index 0000000..adaf676 --- /dev/null +++ b/dist/Interfaces/Admin/IOfficeFolderHasCustomer.d.ts @@ -0,0 +1,9 @@ +import ICustomer from "./ICustomer"; +import IOfficeFolder from "./IOfficeFolder"; +export default class IOfficeFolderHasCustomer { + uuid: string; + customer: ICustomer; + office_folder: IOfficeFolder; + created_at: Date | null; + updated_at: Date | null; +} diff --git a/dist/Interfaces/Admin/IOfficeFolderHasCustomer.js b/dist/Interfaces/Admin/IOfficeFolderHasCustomer.js new file mode 100644 index 0000000..c8252a5 --- /dev/null +++ b/dist/Interfaces/Admin/IOfficeFolderHasCustomer.js @@ -0,0 +1,45 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const ICustomer_1 = __importDefault(require("./ICustomer")); +const IOfficeFolder_1 = __importDefault(require("./IOfficeFolder")); +class IOfficeFolderHasCustomer { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IOfficeFolderHasCustomer.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", ICustomer_1.default) +], IOfficeFolderHasCustomer.prototype, "customer", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IOfficeFolder_1.default) +], IOfficeFolderHasCustomer.prototype, "office_folder", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOfficeFolderHasCustomer.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOfficeFolderHasCustomer.prototype, "updated_at", void 0); +exports.default = IOfficeFolderHasCustomer; +//# sourceMappingURL=IOfficeFolderHasCustomer.js.map \ No newline at end of file diff --git a/dist/Interfaces/Admin/IOfficeFolderHasCustomer.js.map b/dist/Interfaces/Admin/IOfficeFolderHasCustomer.js.map new file mode 100644 index 0000000..23d9fd3 --- /dev/null +++ b/dist/Interfaces/Admin/IOfficeFolderHasCustomer.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IOfficeFolderHasCustomer.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IOfficeFolderHasCustomer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,4DAAoC;AACpC,oEAA4C;AAE5C,MAAqB,wBAAwB;IAA7C;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAdC;IAAC,IAAA,4BAAU,GAAE;;sDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,mBAAS;0DAAC;AAE5B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;+DAAC;AAErC;IAAC,IAAA,wBAAM,GAAE;;4DAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;4DAC6B;AAdxC,2CAeC"} \ No newline at end of file diff --git a/dist/Interfaces/Admin/IOfficeFolderHasStakeholder.d.ts b/dist/Interfaces/Admin/IOfficeFolderHasStakeholder.d.ts new file mode 100644 index 0000000..e0fe8bc --- /dev/null +++ b/dist/Interfaces/Admin/IOfficeFolderHasStakeholder.d.ts @@ -0,0 +1,9 @@ +import IOfficeFolder from "./IOfficeFolder"; +import IUser from "./IUser"; +export default class IOfficeFolderHasStakeholder { + uuid: string; + user_stakeholder: IUser; + office_folder: IOfficeFolder; + created_at: Date | null; + updated_at: Date | null; +} diff --git a/dist/Interfaces/Admin/IOfficeFolderHasStakeholder.js b/dist/Interfaces/Admin/IOfficeFolderHasStakeholder.js new file mode 100644 index 0000000..5f53465 --- /dev/null +++ b/dist/Interfaces/Admin/IOfficeFolderHasStakeholder.js @@ -0,0 +1,45 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IOfficeFolder_1 = __importDefault(require("./IOfficeFolder")); +const IUser_1 = __importDefault(require("./IUser")); +class IOfficeFolderHasStakeholder { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IOfficeFolderHasStakeholder.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IUser_1.default) +], IOfficeFolderHasStakeholder.prototype, "user_stakeholder", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IOfficeFolder_1.default) +], IOfficeFolderHasStakeholder.prototype, "office_folder", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOfficeFolderHasStakeholder.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOfficeFolderHasStakeholder.prototype, "updated_at", void 0); +exports.default = IOfficeFolderHasStakeholder; +//# sourceMappingURL=IOfficeFolderHasStakeholder.js.map \ No newline at end of file diff --git a/dist/Interfaces/Admin/IOfficeFolderHasStakeholder.js.map b/dist/Interfaces/Admin/IOfficeFolderHasStakeholder.js.map new file mode 100644 index 0000000..34d4a2d --- /dev/null +++ b/dist/Interfaces/Admin/IOfficeFolderHasStakeholder.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IOfficeFolderHasStakeholder.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IOfficeFolderHasStakeholder.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,oEAA4C;AAC5C,oDAA4B;AAE5B,MAAqB,2BAA2B;IAAhD;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAdC;IAAC,IAAA,4BAAU,GAAE;;yDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACT,eAAK;qEAAC;AAEhC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;kEAAC;AAErC;IAAC,IAAA,wBAAM,GAAE;;+DAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;+DAC6B;AAdxC,8CAeC"} \ No newline at end of file diff --git a/dist/Interfaces/Admin/IUser.d.ts b/dist/Interfaces/Admin/IUser.d.ts new file mode 100644 index 0000000..49119ea --- /dev/null +++ b/dist/Interfaces/Admin/IUser.d.ts @@ -0,0 +1,14 @@ +import IContact from "./IContact"; +import IDocument from "./IDocument"; +import OfficesEntity from "./IOffice"; +import IOfficeFolderHasStakeholder from "./IOfficeFolderHasStakeholder"; +export default class IUser { + uuid: string; + idNot: string; + contact: IContact; + office_membership: OfficesEntity; + created_at: Date | null; + updated_at: Date | null; + office_folder_has_stakeholders?: IOfficeFolderHasStakeholder[]; + documents?: IDocument; +} diff --git a/dist/Interfaces/Admin/IUser.js b/dist/Interfaces/Admin/IUser.js new file mode 100644 index 0000000..1c681ff --- /dev/null +++ b/dist/Interfaces/Admin/IUser.js @@ -0,0 +1,58 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IContact_1 = __importDefault(require("./IContact")); +const IDocument_1 = __importDefault(require("./IDocument")); +const IOffice_1 = __importDefault(require("./IOffice")); +class IUser { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IUser.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IUser.prototype, "idNot", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IContact_1.default) +], IUser.prototype, "contact", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IOffice_1.default) +], IUser.prototype, "office_membership", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IUser.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IUser.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IUser.prototype, "office_folder_has_stakeholders", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", IDocument_1.default) +], IUser.prototype, "documents", void 0); +exports.default = IUser; +//# sourceMappingURL=IUser.js.map \ No newline at end of file diff --git a/dist/Interfaces/Admin/IUser.js.map b/dist/Interfaces/Admin/IUser.js.map new file mode 100644 index 0000000..e7134b0 --- /dev/null +++ b/dist/Interfaces/Admin/IUser.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IUser.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IUser.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,0DAAkC;AAClC,4DAAoC;AACpC,wDAAsC;AAGtC,MAAqB,KAAK;IAA1B;QAcS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAvBC;IAAC,IAAA,4BAAU,GAAE;;mCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;oCACb;AAEtB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;sCAAC;AAE1B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACR,iBAAa;gDAAC;AAEzC;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;6DACkD;AAE/D;IAAC,IAAA,4BAAU,GAAE;8BACD,mBAAS;wCAAC;AAvBxB,wBAwBC"} \ No newline at end of file diff --git a/dist/Interfaces/Admin/IUserHasNotification.d.ts b/dist/Interfaces/Admin/IUserHasNotification.d.ts new file mode 100644 index 0000000..5315f74 --- /dev/null +++ b/dist/Interfaces/Admin/IUserHasNotification.d.ts @@ -0,0 +1,9 @@ +import INotification from "./INotification"; +import IUser from "./IUser"; +export default class IUserHasNotification { + uuid: string; + user: IUser; + notification: INotification; + created_at: Date | null; + updated_at: Date | null; +} diff --git a/dist/Interfaces/Admin/IUserHasNotification.js b/dist/Interfaces/Admin/IUserHasNotification.js new file mode 100644 index 0000000..b5ba8dc --- /dev/null +++ b/dist/Interfaces/Admin/IUserHasNotification.js @@ -0,0 +1,45 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const INotification_1 = __importDefault(require("./INotification")); +const IUser_1 = __importDefault(require("./IUser")); +class IUserHasNotification { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IUserHasNotification.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IUser_1.default) +], IUserHasNotification.prototype, "user", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", INotification_1.default) +], IUserHasNotification.prototype, "notification", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IUserHasNotification.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IUserHasNotification.prototype, "updated_at", void 0); +exports.default = IUserHasNotification; +//# sourceMappingURL=IUserHasNotification.js.map \ No newline at end of file diff --git a/dist/Interfaces/Admin/IUserHasNotification.js.map b/dist/Interfaces/Admin/IUserHasNotification.js.map new file mode 100644 index 0000000..016f71f --- /dev/null +++ b/dist/Interfaces/Admin/IUserHasNotification.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IUserHasNotification.js","sourceRoot":"","sources":["../../../src/Interfaces/Admin/IUserHasNotification.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,oEAA4C;AAC5C,oDAA4B;AAE5B,MAAqB,oBAAoB;IAAzC;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAdC;IAAC,IAAA,4BAAU,GAAE;;kDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,eAAK;kDAAC;AAEpB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACb,uBAAa;0DAAC;AAEpC;IAAC,IAAA,wBAAM,GAAE;;wDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;wDAC6B;AAdxC,uCAeC"} \ No newline at end of file diff --git a/dist/Interfaces/Customer/IAddress.d.ts b/dist/Interfaces/Customer/IAddress.d.ts new file mode 100644 index 0000000..4f935bb --- /dev/null +++ b/dist/Interfaces/Customer/IAddress.d.ts @@ -0,0 +1,12 @@ +import IContact from "./IContact"; +import IOffice from "./IOffice"; +export default class IAddress { + uuid: string; + address: string; + city: string; + zip_code: number; + created_at: Date | null; + updated_at: Date | null; + office?: IOffice; + contacts?: IContact; +} diff --git a/dist/Interfaces/Customer/IAddress.js b/dist/Interfaces/Customer/IAddress.js new file mode 100644 index 0000000..e971bd8 --- /dev/null +++ b/dist/Interfaces/Customer/IAddress.js @@ -0,0 +1,57 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IContact_1 = __importDefault(require("./IContact")); +const IOffice_1 = __importDefault(require("./IOffice")); +class IAddress { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IAddress.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IAddress.prototype, "address", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IAddress.prototype, "city", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", Number) +], IAddress.prototype, "zip_code", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IAddress.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IAddress.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", IOffice_1.default) +], IAddress.prototype, "office", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", IContact_1.default) +], IAddress.prototype, "contacts", void 0); +exports.default = IAddress; +//# sourceMappingURL=IAddress.js.map \ No newline at end of file diff --git a/dist/Interfaces/Customer/IAddress.js.map b/dist/Interfaces/Customer/IAddress.js.map new file mode 100644 index 0000000..f3034a7 --- /dev/null +++ b/dist/Interfaces/Customer/IAddress.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IAddress.js","sourceRoot":"","sources":["../../../src/Interfaces/Customer/IAddress.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,0DAAkC;AAClC,wDAAgC;AAEhC,MAAqB,QAAQ;IAA7B;QAcS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAvBC;IAAC,IAAA,4BAAU,GAAE;;sCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yCACX;AAExB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;sCACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;0CACV;AAEzB;IAAC,IAAA,wBAAM,GAAE;;4CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;4CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;8BACG,iBAAO;wCAAC;AAExB;IAAC,IAAA,4BAAU,GAAE;8BACK,kBAAQ;0CAAC;AAvB7B,2BAwBC"} \ No newline at end of file diff --git a/dist/Interfaces/Customer/IContact.d.ts b/dist/Interfaces/Customer/IContact.d.ts new file mode 100644 index 0000000..37ca7c8 --- /dev/null +++ b/dist/Interfaces/Customer/IContact.d.ts @@ -0,0 +1,18 @@ +import { ECivility } from "../../Enums/Enums"; +import IUser from "./IUser"; +import ICustomer from "./ICustomer"; +import IAddress from "./IAddress"; +export default class IContact { + uuid: string; + first_name: string; + last_name: string; + email: string; + phone_number: string; + cell_phone_number: string; + civility: ECivility; + address: IAddress; + created_at: Date | null; + updated_at: Date | null; + users?: IUser; + customers?: ICustomer; +} diff --git a/dist/Interfaces/Customer/IContact.js b/dist/Interfaces/Customer/IContact.js new file mode 100644 index 0000000..7872788 --- /dev/null +++ b/dist/Interfaces/Customer/IContact.js @@ -0,0 +1,74 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IUser_1 = __importDefault(require("./IUser")); +const ICustomer_1 = __importDefault(require("./ICustomer")); +const IAddress_1 = __importDefault(require("./IAddress")); +class IContact { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IContact.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IContact.prototype, "first_name", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IContact.prototype, "last_name", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IContact.prototype, "email", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", String) +], IContact.prototype, "phone_number", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", String) +], IContact.prototype, "cell_phone_number", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IContact.prototype, "civility", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IAddress_1.default) +], IContact.prototype, "address", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IContact.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IContact.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", IUser_1.default) +], IContact.prototype, "users", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", ICustomer_1.default) +], IContact.prototype, "customers", void 0); +exports.default = IContact; +//# sourceMappingURL=IContact.js.map \ No newline at end of file diff --git a/dist/Interfaces/Customer/IContact.js.map b/dist/Interfaces/Customer/IContact.js.map new file mode 100644 index 0000000..89334bf --- /dev/null +++ b/dist/Interfaces/Customer/IContact.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IContact.js","sourceRoot":"","sources":["../../../src/Interfaces/Customer/IContact.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAEjE,oDAA4B;AAC5B,4DAAoC;AACpC,0DAAkC;AAElC,MAAqB,QAAQ;IAA7B;QA0BS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAnCC;IAAC,IAAA,4BAAU,GAAE;;sCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;4CACR;AAE3B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACT;AAE1B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;uCACb;AAEtB;IAAC,IAAA,4BAAU,GAAE;;8CACgB;AAE7B;IAAC,IAAA,4BAAU,GAAE;;mDACqB;AAElC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;0CACP;AAE5B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;yCAAC;AAE1B;IAAC,IAAA,wBAAM,GAAE;;4CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;4CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;8BACE,eAAK;uCAAC;AAErB;IAAC,IAAA,4BAAU,GAAE;8BACM,mBAAS;2CAAC;AAnC/B,2BAoCC"} \ No newline at end of file diff --git a/dist/Interfaces/Customer/ICustomer.d.ts b/dist/Interfaces/Customer/ICustomer.d.ts new file mode 100644 index 0000000..7bc840d --- /dev/null +++ b/dist/Interfaces/Customer/ICustomer.d.ts @@ -0,0 +1,13 @@ +import IContact from "./IContact"; +import { ECustomerStatus } from "../../Enums/Enums"; +import IDocument from "./IDocument"; +import IOfficeFolderHasCustomer from "./IOfficeFolderHasCustomer"; +export default class ICustomer { + uuid: string; + status: ECustomerStatus; + contact: IContact; + created_at: Date | null; + updated_at: Date | null; + office_folder_has_customers?: IOfficeFolderHasCustomer[]; + documents?: IDocument[]; +} diff --git a/dist/Interfaces/Customer/ICustomer.js b/dist/Interfaces/Customer/ICustomer.js new file mode 100644 index 0000000..c0566b8 --- /dev/null +++ b/dist/Interfaces/Customer/ICustomer.js @@ -0,0 +1,52 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IContact_1 = __importDefault(require("./IContact")); +class ICustomer { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], ICustomer.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], ICustomer.prototype, "status", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IContact_1.default) +], ICustomer.prototype, "contact", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], ICustomer.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], ICustomer.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], ICustomer.prototype, "office_folder_has_customers", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], ICustomer.prototype, "documents", void 0); +exports.default = ICustomer; +//# sourceMappingURL=ICustomer.js.map \ No newline at end of file diff --git a/dist/Interfaces/Customer/ICustomer.js.map b/dist/Interfaces/Customer/ICustomer.js.map new file mode 100644 index 0000000..c555f49 --- /dev/null +++ b/dist/Interfaces/Customer/ICustomer.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ICustomer.js","sourceRoot":"","sources":["../../../src/Interfaces/Customer/ICustomer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,0DAAkC;AAKlC,MAAqB,SAAS;IAA9B;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AApBC;IAAC,IAAA,4BAAU,GAAE;;uCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yCACH;AAEhC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;0CAAC;AAE1B;IAAC,IAAA,wBAAM,GAAE;;6CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;6CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;8DAC4C;AAEzD;IAAC,IAAA,4BAAU,GAAE;;4CACW;AApB1B,4BAqBC"} \ No newline at end of file diff --git a/dist/Interfaces/Customer/IDeed.d.ts b/dist/Interfaces/Customer/IDeed.d.ts new file mode 100644 index 0000000..bba275d --- /dev/null +++ b/dist/Interfaces/Customer/IDeed.d.ts @@ -0,0 +1,11 @@ +import IOfficeFolder from "./IOfficeFolder"; +import IDeedHasDocumentType from "./IDeedHasDocumentType"; +import IDeedType from "./IDeedTypes"; +export default class IDeed { + uuid: string; + deed_type: IDeedType; + created_at: Date | null; + updated_at: Date | null; + deed_has_document_types?: IDeedHasDocumentType[]; + office_folder?: IOfficeFolder; +} diff --git a/dist/Interfaces/Customer/IDeed.js b/dist/Interfaces/Customer/IDeed.js new file mode 100644 index 0000000..61bd75c --- /dev/null +++ b/dist/Interfaces/Customer/IDeed.js @@ -0,0 +1,49 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IOfficeFolder_1 = __importDefault(require("./IOfficeFolder")); +const IDeedTypes_1 = __importDefault(require("./IDeedTypes")); +class IDeed { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IDeed.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDeedTypes_1.default) +], IDeed.prototype, "deed_type", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeed.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeed.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDeed.prototype, "deed_has_document_types", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", IOfficeFolder_1.default) +], IDeed.prototype, "office_folder", void 0); +exports.default = IDeed; +//# sourceMappingURL=IDeed.js.map \ No newline at end of file diff --git a/dist/Interfaces/Customer/IDeed.js.map b/dist/Interfaces/Customer/IDeed.js.map new file mode 100644 index 0000000..ec651cf --- /dev/null +++ b/dist/Interfaces/Customer/IDeed.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDeed.js","sourceRoot":"","sources":["../../../src/Interfaces/Customer/IDeed.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,oEAA4C;AAE5C,8DAAqC;AAErC,MAAqB,KAAK;IAA1B;QAQS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAjBC;IAAC,IAAA,4BAAU,GAAE;;mCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,oBAAS;wCAAC;AAE7B;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;sDAC2C;AAExD;IAAC,IAAA,4BAAU,GAAE;8BACU,uBAAa;4CAAC;AAjBvC,wBAkBC"} \ No newline at end of file diff --git a/dist/Interfaces/Customer/IDeedHasDocumentType.d.ts b/dist/Interfaces/Customer/IDeedHasDocumentType.d.ts new file mode 100644 index 0000000..ccab64f --- /dev/null +++ b/dist/Interfaces/Customer/IDeedHasDocumentType.d.ts @@ -0,0 +1,9 @@ +import IDeed from "./IDeed"; +import IDocumentType from "./IDocumentType"; +export default class IDeedHasDocumentType { + uuid: string; + document_type: IDocumentType; + deed: IDeed; + created_at: Date | null; + updated_at: Date | null; +} diff --git a/dist/Interfaces/Customer/IDeedHasDocumentType.js b/dist/Interfaces/Customer/IDeedHasDocumentType.js new file mode 100644 index 0000000..5d0476e --- /dev/null +++ b/dist/Interfaces/Customer/IDeedHasDocumentType.js @@ -0,0 +1,45 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IDeed_1 = __importDefault(require("./IDeed")); +const IDocumentType_1 = __importDefault(require("./IDocumentType")); +class IDeedHasDocumentType { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IDeedHasDocumentType.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDocumentType_1.default) +], IDeedHasDocumentType.prototype, "document_type", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDeed_1.default) +], IDeedHasDocumentType.prototype, "deed", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeedHasDocumentType.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeedHasDocumentType.prototype, "updated_at", void 0); +exports.default = IDeedHasDocumentType; +//# sourceMappingURL=IDeedHasDocumentType.js.map \ No newline at end of file diff --git a/dist/Interfaces/Customer/IDeedHasDocumentType.js.map b/dist/Interfaces/Customer/IDeedHasDocumentType.js.map new file mode 100644 index 0000000..343ddd8 --- /dev/null +++ b/dist/Interfaces/Customer/IDeedHasDocumentType.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDeedHasDocumentType.js","sourceRoot":"","sources":["../../../src/Interfaces/Customer/IDeedHasDocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,oDAA4B;AAC5B,oEAA4C;AAE5C,MAAqB,oBAAoB;IAAzC;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAdC;IAAC,IAAA,4BAAU,GAAE;;kDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;2DAAC;AAErC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,eAAK;kDAAC;AAEpB;IAAC,IAAA,wBAAM,GAAE;;wDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;wDAC6B;AAdxC,uCAeC"} \ No newline at end of file diff --git a/dist/Interfaces/Customer/IDeedTypeHasDocumentType.d.ts b/dist/Interfaces/Customer/IDeedTypeHasDocumentType.d.ts new file mode 100644 index 0000000..226042a --- /dev/null +++ b/dist/Interfaces/Customer/IDeedTypeHasDocumentType.d.ts @@ -0,0 +1,9 @@ +import IDeedType from "./IDeedTypes"; +import IDocumentType from "./IDocumentType"; +export default class IDeedTypeHasDocumentType { + uuid: string; + document_type: IDocumentType; + deed_type: IDeedType; + created_at: Date | null; + updated_at: Date | null; +} diff --git a/dist/Interfaces/Customer/IDeedTypeHasDocumentType.js b/dist/Interfaces/Customer/IDeedTypeHasDocumentType.js new file mode 100644 index 0000000..de60cce --- /dev/null +++ b/dist/Interfaces/Customer/IDeedTypeHasDocumentType.js @@ -0,0 +1,45 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IDeedTypes_1 = __importDefault(require("./IDeedTypes")); +const IDocumentType_1 = __importDefault(require("./IDocumentType")); +class IDeedTypeHasDocumentType { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IDeedTypeHasDocumentType.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDocumentType_1.default) +], IDeedTypeHasDocumentType.prototype, "document_type", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDeedTypes_1.default) +], IDeedTypeHasDocumentType.prototype, "deed_type", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeedTypeHasDocumentType.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeedTypeHasDocumentType.prototype, "updated_at", void 0); +exports.default = IDeedTypeHasDocumentType; +//# sourceMappingURL=IDeedTypeHasDocumentType.js.map \ No newline at end of file diff --git a/dist/Interfaces/Customer/IDeedTypeHasDocumentType.js.map b/dist/Interfaces/Customer/IDeedTypeHasDocumentType.js.map new file mode 100644 index 0000000..4f7c2f1 --- /dev/null +++ b/dist/Interfaces/Customer/IDeedTypeHasDocumentType.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDeedTypeHasDocumentType.js","sourceRoot":"","sources":["../../../src/Interfaces/Customer/IDeedTypeHasDocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,8DAAqC;AACrC,oEAA4C;AAE5C,MAAqB,wBAAwB;IAA7C;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAdC;IAAC,IAAA,4BAAU,GAAE;;sDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;+DAAC;AAErC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,oBAAS;2DAAC;AAE7B;IAAC,IAAA,wBAAM,GAAE;;4DAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;4DAC6B;AAdxC,2CAeC"} \ No newline at end of file diff --git a/dist/Interfaces/Customer/IDeedTypes.d.ts b/dist/Interfaces/Customer/IDeedTypes.d.ts new file mode 100644 index 0000000..43749bc --- /dev/null +++ b/dist/Interfaces/Customer/IDeedTypes.d.ts @@ -0,0 +1,14 @@ +import IDeedTypeHasDocumentType from "./IDeedTypeHasDocumentType"; +import IOffice from "./IOffice"; +import IDeed from "./IDeed"; +export default class IDeedTypes { + uuid: string; + name: string; + description: string; + archived_at: Date | null; + office: IOffice; + created_at: Date | null; + updated_at: Date | null; + deed?: IDeed[]; + deed_type_has_document_types?: IDeedTypeHasDocumentType[]; +} diff --git a/dist/Interfaces/Customer/IDeedTypes.js b/dist/Interfaces/Customer/IDeedTypes.js new file mode 100644 index 0000000..da88ed4 --- /dev/null +++ b/dist/Interfaces/Customer/IDeedTypes.js @@ -0,0 +1,61 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IOffice_1 = __importDefault(require("./IOffice")); +class IDeedTypes { + constructor() { + this.archived_at = null; + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IDeedTypes.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IDeedTypes.prototype, "name", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IDeedTypes.prototype, "description", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeedTypes.prototype, "archived_at", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IOffice_1.default) +], IDeedTypes.prototype, "office", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeedTypes.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeedTypes.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDeedTypes.prototype, "deed", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDeedTypes.prototype, "deed_type_has_document_types", void 0); +exports.default = IDeedTypes; +//# sourceMappingURL=IDeedTypes.js.map \ No newline at end of file diff --git a/dist/Interfaces/Customer/IDeedTypes.js.map b/dist/Interfaces/Customer/IDeedTypes.js.map new file mode 100644 index 0000000..b404e01 --- /dev/null +++ b/dist/Interfaces/Customer/IDeedTypes.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDeedTypes.js","sourceRoot":"","sources":["../../../src/Interfaces/Customer/IDeedTypes.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAGjE,wDAAgC;AAGhC,MAAqB,UAAU;IAA/B;QAWS,gBAAW,GAAgB,IAAI,CAAC;QAMhC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AA1BC;IAAC,IAAA,4BAAU,GAAE;;wCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;wCACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;+CACP;AAE5B;IAAC,IAAA,wBAAM,GAAE;;+CAC8B;AAEvC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,iBAAO;0CAAC;AAExB;IAAC,IAAA,wBAAM,GAAE;;8CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;8CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;wCACS;AAEtB;IAAC,IAAA,4BAAU,GAAE;;gEACoD;AA1BnE,6BA2BC"} \ No newline at end of file diff --git a/dist/Interfaces/Customer/IDocument.d.ts b/dist/Interfaces/Customer/IDocument.d.ts new file mode 100644 index 0000000..203c3f4 --- /dev/null +++ b/dist/Interfaces/Customer/IDocument.d.ts @@ -0,0 +1,17 @@ +import ICustomer from "./ICustomer"; +import { EDocumentStatus } from "../../Enums/Enums"; +import IOfficeFolder from "./IOfficeFolder"; +import IDocumentType from "./IDocumentType"; +import IDocumentHistory from "./IDocumentHistory"; +import IFile from "./IFile"; +export default class IDocument { + uuid: string; + document_status: EDocumentStatus; + document_type: IDocumentType; + folder: IOfficeFolder; + depositor: ICustomer; + created_at: Date | null; + updated_at: Date | null; + files?: IFile[]; + document_history?: IDocumentHistory[]; +} diff --git a/dist/Interfaces/Customer/IDocument.js b/dist/Interfaces/Customer/IDocument.js new file mode 100644 index 0000000..df39a9c --- /dev/null +++ b/dist/Interfaces/Customer/IDocument.js @@ -0,0 +1,62 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const ICustomer_1 = __importDefault(require("./ICustomer")); +const IOfficeFolder_1 = __importDefault(require("./IOfficeFolder")); +const IDocumentType_1 = __importDefault(require("./IDocumentType")); +class IDocument { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IDocument.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IDocument.prototype, "document_status", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDocumentType_1.default) +], IDocument.prototype, "document_type", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IOfficeFolder_1.default) +], IDocument.prototype, "folder", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", ICustomer_1.default) +], IDocument.prototype, "depositor", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDocument.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDocument.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDocument.prototype, "files", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDocument.prototype, "document_history", void 0); +exports.default = IDocument; +//# sourceMappingURL=IDocument.js.map \ No newline at end of file diff --git a/dist/Interfaces/Customer/IDocument.js.map b/dist/Interfaces/Customer/IDocument.js.map new file mode 100644 index 0000000..3ea9cd5 --- /dev/null +++ b/dist/Interfaces/Customer/IDocument.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDocument.js","sourceRoot":"","sources":["../../../src/Interfaces/Customer/IDocument.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,4DAAoC;AAEpC,oEAA4C;AAC5C,oEAA4C;AAI5C,MAAqB,SAAS;IAA9B;QAiBS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AA1BC;IAAC,IAAA,4BAAU,GAAE;;uCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;kDACM;AAEzC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;gDAAC;AAErC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,uBAAa;yCAAC;AAE9B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,mBAAS;4CAAC;AAE7B;IAAC,IAAA,wBAAM,GAAE;;6CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;6CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;wCACU;AAEvB;IAAC,IAAA,4BAAU,GAAE;;mDACgC;AA1B/C,4BA2BC"} \ No newline at end of file diff --git a/dist/Interfaces/Customer/IDocumentHistory.d.ts b/dist/Interfaces/Customer/IDocumentHistory.d.ts new file mode 100644 index 0000000..dad2ecc --- /dev/null +++ b/dist/Interfaces/Customer/IDocumentHistory.d.ts @@ -0,0 +1,10 @@ +import { EDocumentStatus } from "../../Enums/Enums"; +import IDocument from "./IDocument"; +export default class IDocumentHistory { + uuid: string; + document_status: EDocumentStatus; + document: IDocument; + refused_reason: string | null; + created_at: Date | null; + updated_at: Date | null; +} diff --git a/dist/Interfaces/Customer/IDocumentHistory.js b/dist/Interfaces/Customer/IDocumentHistory.js new file mode 100644 index 0000000..286093f --- /dev/null +++ b/dist/Interfaces/Customer/IDocumentHistory.js @@ -0,0 +1,49 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IDocument_1 = __importDefault(require("./IDocument")); +class IDocumentHistory { + constructor() { + this.refused_reason = null; + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IDocumentHistory.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IDocumentHistory.prototype, "document_status", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDocument_1.default) +], IDocumentHistory.prototype, "document", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Object) +], IDocumentHistory.prototype, "refused_reason", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDocumentHistory.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDocumentHistory.prototype, "updated_at", void 0); +exports.default = IDocumentHistory; +//# sourceMappingURL=IDocumentHistory.js.map \ No newline at end of file diff --git a/dist/Interfaces/Customer/IDocumentHistory.js.map b/dist/Interfaces/Customer/IDocumentHistory.js.map new file mode 100644 index 0000000..8fbc758 --- /dev/null +++ b/dist/Interfaces/Customer/IDocumentHistory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDocumentHistory.js","sourceRoot":"","sources":["../../../src/Interfaces/Customer/IDocumentHistory.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAEjE,4DAAoC;AAEpC,MAAqB,gBAAgB;IAArC;QAWS,mBAAc,GAAkB,IAAI,CAAC;QAGrC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAjBC;IAAC,IAAA,4BAAU,GAAE;;8CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yDACM;AAEzC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,mBAAS;kDAAC;AAE5B;IAAC,IAAA,4BAAU,GAAE;;wDAC+B;AAE5C;IAAC,IAAA,wBAAM,GAAE;;oDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;oDAC6B;AAjBxC,mCAkBC"} \ No newline at end of file diff --git a/dist/Interfaces/Customer/IDocumentType.d.ts b/dist/Interfaces/Customer/IDocumentType.d.ts new file mode 100644 index 0000000..937395b --- /dev/null +++ b/dist/Interfaces/Customer/IDocumentType.d.ts @@ -0,0 +1,15 @@ +import IDeedHasDocumentType from "./IDeedHasDocumentType"; +import IDeedTypeHasDocumentType from "./IDeedTypeHasDocumentType"; +import IDocument from "./IDocument"; +export default class IDocumentType { + uuid: string; + name: string; + public_description: string; + private_description: string | null; + archived_at: Date | null; + created_at: Date | null; + updated_at: Date | null; + documents?: IDocument[]; + deed_has_document_types?: IDeedHasDocumentType[]; + deed_type_has_document_types?: IDeedTypeHasDocumentType[]; +} diff --git a/dist/Interfaces/Customer/IDocumentType.js b/dist/Interfaces/Customer/IDocumentType.js new file mode 100644 index 0000000..2bbc7ea --- /dev/null +++ b/dist/Interfaces/Customer/IDocumentType.js @@ -0,0 +1,62 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +class IDocumentType { + constructor() { + this.private_description = null; + this.archived_at = null; + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IDocumentType.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IDocumentType.prototype, "name", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IDocumentType.prototype, "public_description", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Object) +], IDocumentType.prototype, "private_description", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDocumentType.prototype, "archived_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDocumentType.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDocumentType.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDocumentType.prototype, "documents", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDocumentType.prototype, "deed_has_document_types", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDocumentType.prototype, "deed_type_has_document_types", void 0); +exports.default = IDocumentType; +//# sourceMappingURL=IDocumentType.js.map \ No newline at end of file diff --git a/dist/Interfaces/Customer/IDocumentType.js.map b/dist/Interfaces/Customer/IDocumentType.js.map new file mode 100644 index 0000000..1242251 --- /dev/null +++ b/dist/Interfaces/Customer/IDocumentType.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDocumentType.js","sourceRoot":"","sources":["../../../src/Interfaces/Customer/IDocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAiE;AAKjE,MAAqB,aAAa;IAAlC;QAWS,wBAAmB,GAAkB,IAAI,CAAC;QAG1C,gBAAW,GAAgB,IAAI,CAAC;QAGhC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAUxC,CAAC;CAAA;AA7BC;IAAC,IAAA,4BAAU,GAAE;;2CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yDACA;AAEnC;IAAC,IAAA,4BAAU,GAAE;;0DACoC;AAEjD;IAAC,IAAA,wBAAM,GAAE;;kDAC8B;AAEvC;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;gDACkB;AAE/B;IAAC,IAAA,4BAAU,GAAE;;8DAC2C;AAExD;IAAC,IAAA,4BAAU,GAAE;;mEACoD;AA7BnE,gCA8BC"} \ No newline at end of file diff --git a/dist/Interfaces/Customer/IFile.d.ts b/dist/Interfaces/Customer/IFile.d.ts new file mode 100644 index 0000000..0ba834b --- /dev/null +++ b/dist/Interfaces/Customer/IFile.d.ts @@ -0,0 +1,8 @@ +import IDocument from "./IDocument"; +export default class IFile { + uuid: string; + document: IDocument; + file_path: string | null; + created_at: Date | null; + updated_at: Date | null; +} diff --git a/dist/Interfaces/Customer/IFile.js b/dist/Interfaces/Customer/IFile.js new file mode 100644 index 0000000..afc8125 --- /dev/null +++ b/dist/Interfaces/Customer/IFile.js @@ -0,0 +1,45 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IDocument_1 = __importDefault(require("./IDocument")); +class IFile { + constructor() { + this.file_path = null; + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IFile.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDocument_1.default) +], IFile.prototype, "document", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Object) +], IFile.prototype, "file_path", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IFile.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IFile.prototype, "updated_at", void 0); +exports.default = IFile; +//# sourceMappingURL=IFile.js.map \ No newline at end of file diff --git a/dist/Interfaces/Customer/IFile.js.map b/dist/Interfaces/Customer/IFile.js.map new file mode 100644 index 0000000..e076a17 --- /dev/null +++ b/dist/Interfaces/Customer/IFile.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IFile.js","sourceRoot":"","sources":["../../../src/Interfaces/Customer/IFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,4DAAoC;AAEpC,MAAqB,KAAK;IAA1B;QAQS,cAAS,GAAkB,IAAI,CAAC;QAGhC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAdC;IAAC,IAAA,4BAAU,GAAE;;mCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,mBAAS;uCAAC;AAE5B;IAAC,IAAA,4BAAU,GAAE;;wCAC0B;AAEvC;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAdxC,wBAeC"} \ No newline at end of file diff --git a/dist/Interfaces/Customer/INotification.d.ts b/dist/Interfaces/Customer/INotification.d.ts new file mode 100644 index 0000000..e4e4412 --- /dev/null +++ b/dist/Interfaces/Customer/INotification.d.ts @@ -0,0 +1,9 @@ +import IUserHasNotification from "./IUserHasNotification"; +export default class INotification { + uuid: string; + message: string; + redirection_url: string; + created_at: Date | null; + updated_at: Date | null; + user_has_notifications?: IUserHasNotification[]; +} diff --git a/dist/Interfaces/Customer/INotification.js b/dist/Interfaces/Customer/INotification.js new file mode 100644 index 0000000..5a0c7a8 --- /dev/null +++ b/dist/Interfaces/Customer/INotification.js @@ -0,0 +1,45 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +class INotification { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], INotification.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], INotification.prototype, "message", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + (0, class_validator_1.IsUrl)(), + __metadata("design:type", String) +], INotification.prototype, "redirection_url", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], INotification.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], INotification.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], INotification.prototype, "user_has_notifications", void 0); +exports.default = INotification; +//# sourceMappingURL=INotification.js.map \ No newline at end of file diff --git a/dist/Interfaces/Customer/INotification.js.map b/dist/Interfaces/Customer/INotification.js.map new file mode 100644 index 0000000..3c7f66a --- /dev/null +++ b/dist/Interfaces/Customer/INotification.js.map @@ -0,0 +1 @@ +{"version":3,"file":"INotification.js","sourceRoot":"","sources":["../../../src/Interfaces/Customer/INotification.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAwE;AAGxE,MAAqB,aAAa;IAAlC;QAYS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAIxC,CAAC;CAAA;AAlBC;IAAC,IAAA,4BAAU,GAAE;;2CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8CACX;AAExB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;IAClC,IAAA,uBAAK,GAAE;;sDACwB;AAEhC;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;6DACmC;AAlBlD,gCAmBC"} \ No newline at end of file diff --git a/dist/Interfaces/Customer/IOffice.d.ts b/dist/Interfaces/Customer/IOffice.d.ts new file mode 100644 index 0000000..2c1eeb2 --- /dev/null +++ b/dist/Interfaces/Customer/IOffice.d.ts @@ -0,0 +1,18 @@ +import IAddress from "./IAddress"; +import { EOfficeStatus } from "../../Enums/Enums"; +import IUser from "./IUser"; +import IOfficeFolder from "./IOfficeFolder"; +import IDeedType from "./IDeedTypes"; +export default class IOffice { + uuid: string; + idNot: string; + name: string; + crpcen: string; + address: IAddress; + office_status: EOfficeStatus; + created_at: Date | null; + updated_at: Date | null; + deed_types?: IDeedType[]; + users?: IUser[]; + office_folders?: IOfficeFolder[]; +} diff --git a/dist/Interfaces/Customer/IOffice.js b/dist/Interfaces/Customer/IOffice.js new file mode 100644 index 0000000..421875f --- /dev/null +++ b/dist/Interfaces/Customer/IOffice.js @@ -0,0 +1,68 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IAddress_1 = __importDefault(require("./IAddress")); +class IOffice { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IOffice.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IOffice.prototype, "idNot", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IOffice.prototype, "name", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IOffice.prototype, "crpcen", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IAddress_1.default) +], IOffice.prototype, "address", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IOffice.prototype, "office_status", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOffice.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOffice.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IOffice.prototype, "deed_types", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IOffice.prototype, "users", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IOffice.prototype, "office_folders", void 0); +exports.default = IOffice; +//# sourceMappingURL=IOffice.js.map \ No newline at end of file diff --git a/dist/Interfaces/Customer/IOffice.js.map b/dist/Interfaces/Customer/IOffice.js.map new file mode 100644 index 0000000..868e697 --- /dev/null +++ b/dist/Interfaces/Customer/IOffice.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IOffice.js","sourceRoot":"","sources":["../../../src/Interfaces/Customer/IOffice.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,0DAAkC;AAMlC,MAAqB,OAAO;IAA5B;QAoBS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAUxC,CAAC;CAAA;AAhCC;IAAC,IAAA,4BAAU,GAAE;;qCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;sCACb;AAEtB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;qCACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;uCACZ;AAEvB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;wCAAC;AAE1B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8CACE;AAErC;IAAC,IAAA,wBAAM,GAAE;;2CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;2CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;2CACY;AAEzB;IAAC,IAAA,4BAAU,GAAE;;sCACG;AAEhB;IAAC,IAAA,4BAAU,GAAE;;+CACoB;AAhCnC,0BAiCC"} \ No newline at end of file diff --git a/dist/Interfaces/Customer/IOfficeFolder.d.ts b/dist/Interfaces/Customer/IOfficeFolder.d.ts new file mode 100644 index 0000000..3ce2ab7 --- /dev/null +++ b/dist/Interfaces/Customer/IOfficeFolder.d.ts @@ -0,0 +1,21 @@ +import { EFolderStatus } from "../../Enums/Enums"; +import IDeed from "./IDeed"; +import IDocument from "./IDocument"; +import IOffice from "./IOffice"; +import IOfficeFolderHasCustomer from "./IOfficeFolderHasCustomer"; +import IOfficeFolderHasStakeholder from "./IOfficeFolderHasStakeholder"; +export default class IOfficeFolder { + uuid: string; + folder_number: string; + name: string; + description: string | null; + archived_description: string | null; + status: EFolderStatus; + deed: IDeed; + office: IOffice; + created_at: Date | null; + updated_at: Date | null; + office_folder_has_customers?: IOfficeFolderHasCustomer[]; + office_folder_has_stakeholder?: IOfficeFolderHasStakeholder[]; + documents?: IDocument[]; +} diff --git a/dist/Interfaces/Customer/IOfficeFolder.js b/dist/Interfaces/Customer/IOfficeFolder.js new file mode 100644 index 0000000..7f2439d --- /dev/null +++ b/dist/Interfaces/Customer/IOfficeFolder.js @@ -0,0 +1,79 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IDeed_1 = __importDefault(require("./IDeed")); +const IOffice_1 = __importDefault(require("./IOffice")); +class IOfficeFolder { + constructor() { + this.description = null; + this.archived_description = null; + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IOfficeFolder.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IOfficeFolder.prototype, "folder_number", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IOfficeFolder.prototype, "name", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Object) +], IOfficeFolder.prototype, "description", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Object) +], IOfficeFolder.prototype, "archived_description", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IOfficeFolder.prototype, "status", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDeed_1.default) +], IOfficeFolder.prototype, "deed", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IOffice_1.default) +], IOfficeFolder.prototype, "office", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOfficeFolder.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOfficeFolder.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IOfficeFolder.prototype, "office_folder_has_customers", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IOfficeFolder.prototype, "office_folder_has_stakeholder", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IOfficeFolder.prototype, "documents", void 0); +exports.default = IOfficeFolder; +//# sourceMappingURL=IOfficeFolder.js.map \ No newline at end of file diff --git a/dist/Interfaces/Customer/IOfficeFolder.js.map b/dist/Interfaces/Customer/IOfficeFolder.js.map new file mode 100644 index 0000000..20ca667 --- /dev/null +++ b/dist/Interfaces/Customer/IOfficeFolder.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IOfficeFolder.js","sourceRoot":"","sources":["../../../src/Interfaces/Customer/IOfficeFolder.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAEjE,oDAA4B;AAE5B,wDAAgC;AAIhC,MAAqB,aAAa;IAAlC;QAWS,gBAAW,GAAkB,IAAI,CAAC;QAGlC,yBAAoB,GAAkB,IAAI,CAAC;QAY3C,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAUxC,CAAC;CAAA;AAtCC;IAAC,IAAA,4BAAU,GAAE;;2CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;oDACL;AAE9B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACd;AAErB;IAAC,IAAA,4BAAU,GAAE;;kDAC4B;AAEzC;IAAC,IAAA,4BAAU,GAAE;;2DACqC;AAElD;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;6CACL;AAE9B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,eAAK;2CAAC;AAEpB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,iBAAO;6CAAC;AAExB;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;kEAC4C;AAEzD;IAAC,IAAA,4BAAU,GAAE;;oEACiD;AAE9D;IAAC,IAAA,4BAAU,GAAE;;gDACW;AAtC1B,gCAuCC"} \ No newline at end of file diff --git a/dist/Interfaces/Customer/IOfficeFolderHasCustomer.d.ts b/dist/Interfaces/Customer/IOfficeFolderHasCustomer.d.ts new file mode 100644 index 0000000..adaf676 --- /dev/null +++ b/dist/Interfaces/Customer/IOfficeFolderHasCustomer.d.ts @@ -0,0 +1,9 @@ +import ICustomer from "./ICustomer"; +import IOfficeFolder from "./IOfficeFolder"; +export default class IOfficeFolderHasCustomer { + uuid: string; + customer: ICustomer; + office_folder: IOfficeFolder; + created_at: Date | null; + updated_at: Date | null; +} diff --git a/dist/Interfaces/Customer/IOfficeFolderHasCustomer.js b/dist/Interfaces/Customer/IOfficeFolderHasCustomer.js new file mode 100644 index 0000000..c8252a5 --- /dev/null +++ b/dist/Interfaces/Customer/IOfficeFolderHasCustomer.js @@ -0,0 +1,45 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const ICustomer_1 = __importDefault(require("./ICustomer")); +const IOfficeFolder_1 = __importDefault(require("./IOfficeFolder")); +class IOfficeFolderHasCustomer { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IOfficeFolderHasCustomer.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", ICustomer_1.default) +], IOfficeFolderHasCustomer.prototype, "customer", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IOfficeFolder_1.default) +], IOfficeFolderHasCustomer.prototype, "office_folder", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOfficeFolderHasCustomer.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOfficeFolderHasCustomer.prototype, "updated_at", void 0); +exports.default = IOfficeFolderHasCustomer; +//# sourceMappingURL=IOfficeFolderHasCustomer.js.map \ No newline at end of file diff --git a/dist/Interfaces/Customer/IOfficeFolderHasCustomer.js.map b/dist/Interfaces/Customer/IOfficeFolderHasCustomer.js.map new file mode 100644 index 0000000..da74672 --- /dev/null +++ b/dist/Interfaces/Customer/IOfficeFolderHasCustomer.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IOfficeFolderHasCustomer.js","sourceRoot":"","sources":["../../../src/Interfaces/Customer/IOfficeFolderHasCustomer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,4DAAoC;AACpC,oEAA4C;AAE5C,MAAqB,wBAAwB;IAA7C;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAdC;IAAC,IAAA,4BAAU,GAAE;;sDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,mBAAS;0DAAC;AAE5B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;+DAAC;AAErC;IAAC,IAAA,wBAAM,GAAE;;4DAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;4DAC6B;AAdxC,2CAeC"} \ No newline at end of file diff --git a/dist/Interfaces/Customer/IOfficeFolderHasStakeholder.d.ts b/dist/Interfaces/Customer/IOfficeFolderHasStakeholder.d.ts new file mode 100644 index 0000000..e0fe8bc --- /dev/null +++ b/dist/Interfaces/Customer/IOfficeFolderHasStakeholder.d.ts @@ -0,0 +1,9 @@ +import IOfficeFolder from "./IOfficeFolder"; +import IUser from "./IUser"; +export default class IOfficeFolderHasStakeholder { + uuid: string; + user_stakeholder: IUser; + office_folder: IOfficeFolder; + created_at: Date | null; + updated_at: Date | null; +} diff --git a/dist/Interfaces/Customer/IOfficeFolderHasStakeholder.js b/dist/Interfaces/Customer/IOfficeFolderHasStakeholder.js new file mode 100644 index 0000000..5f53465 --- /dev/null +++ b/dist/Interfaces/Customer/IOfficeFolderHasStakeholder.js @@ -0,0 +1,45 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IOfficeFolder_1 = __importDefault(require("./IOfficeFolder")); +const IUser_1 = __importDefault(require("./IUser")); +class IOfficeFolderHasStakeholder { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IOfficeFolderHasStakeholder.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IUser_1.default) +], IOfficeFolderHasStakeholder.prototype, "user_stakeholder", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IOfficeFolder_1.default) +], IOfficeFolderHasStakeholder.prototype, "office_folder", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOfficeFolderHasStakeholder.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOfficeFolderHasStakeholder.prototype, "updated_at", void 0); +exports.default = IOfficeFolderHasStakeholder; +//# sourceMappingURL=IOfficeFolderHasStakeholder.js.map \ No newline at end of file diff --git a/dist/Interfaces/Customer/IOfficeFolderHasStakeholder.js.map b/dist/Interfaces/Customer/IOfficeFolderHasStakeholder.js.map new file mode 100644 index 0000000..6697209 --- /dev/null +++ b/dist/Interfaces/Customer/IOfficeFolderHasStakeholder.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IOfficeFolderHasStakeholder.js","sourceRoot":"","sources":["../../../src/Interfaces/Customer/IOfficeFolderHasStakeholder.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,oEAA4C;AAC5C,oDAA4B;AAE5B,MAAqB,2BAA2B;IAAhD;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAdC;IAAC,IAAA,4BAAU,GAAE;;yDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACT,eAAK;qEAAC;AAEhC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;kEAAC;AAErC;IAAC,IAAA,wBAAM,GAAE;;+DAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;+DAC6B;AAdxC,8CAeC"} \ No newline at end of file diff --git a/dist/Interfaces/Customer/IUser.d.ts b/dist/Interfaces/Customer/IUser.d.ts new file mode 100644 index 0000000..49119ea --- /dev/null +++ b/dist/Interfaces/Customer/IUser.d.ts @@ -0,0 +1,14 @@ +import IContact from "./IContact"; +import IDocument from "./IDocument"; +import OfficesEntity from "./IOffice"; +import IOfficeFolderHasStakeholder from "./IOfficeFolderHasStakeholder"; +export default class IUser { + uuid: string; + idNot: string; + contact: IContact; + office_membership: OfficesEntity; + created_at: Date | null; + updated_at: Date | null; + office_folder_has_stakeholders?: IOfficeFolderHasStakeholder[]; + documents?: IDocument; +} diff --git a/dist/Interfaces/Customer/IUser.js b/dist/Interfaces/Customer/IUser.js new file mode 100644 index 0000000..1c681ff --- /dev/null +++ b/dist/Interfaces/Customer/IUser.js @@ -0,0 +1,58 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IContact_1 = __importDefault(require("./IContact")); +const IDocument_1 = __importDefault(require("./IDocument")); +const IOffice_1 = __importDefault(require("./IOffice")); +class IUser { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IUser.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IUser.prototype, "idNot", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IContact_1.default) +], IUser.prototype, "contact", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IOffice_1.default) +], IUser.prototype, "office_membership", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IUser.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IUser.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IUser.prototype, "office_folder_has_stakeholders", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", IDocument_1.default) +], IUser.prototype, "documents", void 0); +exports.default = IUser; +//# sourceMappingURL=IUser.js.map \ No newline at end of file diff --git a/dist/Interfaces/Customer/IUser.js.map b/dist/Interfaces/Customer/IUser.js.map new file mode 100644 index 0000000..c6d22d0 --- /dev/null +++ b/dist/Interfaces/Customer/IUser.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IUser.js","sourceRoot":"","sources":["../../../src/Interfaces/Customer/IUser.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,0DAAkC;AAClC,4DAAoC;AACpC,wDAAsC;AAGtC,MAAqB,KAAK;IAA1B;QAcS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAvBC;IAAC,IAAA,4BAAU,GAAE;;mCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;oCACb;AAEtB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;sCAAC;AAE1B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACR,iBAAa;gDAAC;AAEzC;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;6DACkD;AAE/D;IAAC,IAAA,4BAAU,GAAE;8BACD,mBAAS;wCAAC;AAvBxB,wBAwBC"} \ No newline at end of file diff --git a/dist/Interfaces/Customer/IUserHasNotification.d.ts b/dist/Interfaces/Customer/IUserHasNotification.d.ts new file mode 100644 index 0000000..5315f74 --- /dev/null +++ b/dist/Interfaces/Customer/IUserHasNotification.d.ts @@ -0,0 +1,9 @@ +import INotification from "./INotification"; +import IUser from "./IUser"; +export default class IUserHasNotification { + uuid: string; + user: IUser; + notification: INotification; + created_at: Date | null; + updated_at: Date | null; +} diff --git a/dist/Interfaces/Customer/IUserHasNotification.js b/dist/Interfaces/Customer/IUserHasNotification.js new file mode 100644 index 0000000..b5ba8dc --- /dev/null +++ b/dist/Interfaces/Customer/IUserHasNotification.js @@ -0,0 +1,45 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const INotification_1 = __importDefault(require("./INotification")); +const IUser_1 = __importDefault(require("./IUser")); +class IUserHasNotification { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IUserHasNotification.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IUser_1.default) +], IUserHasNotification.prototype, "user", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", INotification_1.default) +], IUserHasNotification.prototype, "notification", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IUserHasNotification.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IUserHasNotification.prototype, "updated_at", void 0); +exports.default = IUserHasNotification; +//# sourceMappingURL=IUserHasNotification.js.map \ No newline at end of file diff --git a/dist/Interfaces/Customer/IUserHasNotification.js.map b/dist/Interfaces/Customer/IUserHasNotification.js.map new file mode 100644 index 0000000..8e5a10e --- /dev/null +++ b/dist/Interfaces/Customer/IUserHasNotification.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IUserHasNotification.js","sourceRoot":"","sources":["../../../src/Interfaces/Customer/IUserHasNotification.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,oEAA4C;AAC5C,oDAA4B;AAE5B,MAAqB,oBAAoB;IAAzC;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAdC;IAAC,IAAA,4BAAU,GAAE;;kDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,eAAK;kDAAC;AAEpB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACb,uBAAa;0DAAC;AAEpC;IAAC,IAAA,wBAAM,GAAE;;wDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;wDAC6B;AAdxC,uCAeC"} \ No newline at end of file diff --git a/dist/Interfaces/IAddress.d.ts b/dist/Interfaces/IAddress.d.ts index e328697..4f935bb 100644 --- a/dist/Interfaces/IAddress.d.ts +++ b/dist/Interfaces/IAddress.d.ts @@ -5,8 +5,8 @@ export default class IAddress { address: string; city: string; zip_code: number; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; office?: IOffice; contacts?: IContact; } diff --git a/dist/Interfaces/IAddress.js b/dist/Interfaces/IAddress.js index a52f159..e971bd8 100644 --- a/dist/Interfaces/IAddress.js +++ b/dist/Interfaces/IAddress.js @@ -16,6 +16,10 @@ const class_validator_1 = require("class-validator"); const IContact_1 = __importDefault(require("./IContact")); const IOffice_1 = __importDefault(require("./IOffice")); class IAddress { + constructor() { + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -35,11 +39,11 @@ __decorate([ ], IAddress.prototype, "zip_code", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IAddress.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IAddress.prototype, "updated_at", void 0); __decorate([ (0, class_validator_1.IsOptional)(), diff --git a/dist/Interfaces/IAddress.js.map b/dist/Interfaces/IAddress.js.map index da3ef2d..b0e2f29 100644 --- a/dist/Interfaces/IAddress.js.map +++ b/dist/Interfaces/IAddress.js.map @@ -1 +1 @@ -{"version":3,"file":"IAddress.js","sourceRoot":"","sources":["../../src/Interfaces/IAddress.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,0DAAkC;AAClC,wDAAgC;AAEhC,MAAqB,QAAQ;CAwB5B;AAvBC;IAAC,IAAA,4BAAU,GAAE;;sCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yCACX;AAExB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;sCACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;0CACV;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;4CAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;4CAAC;AAEzB;IAAC,IAAA,4BAAU,GAAE;8BACG,iBAAO;wCAAC;AAExB;IAAC,IAAA,4BAAU,GAAE;8BACK,kBAAQ;0CAAC;AAvB7B,2BAwBC"} \ No newline at end of file +{"version":3,"file":"IAddress.js","sourceRoot":"","sources":["../../src/Interfaces/IAddress.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,0DAAkC;AAClC,wDAAgC;AAEhC,MAAqB,QAAQ;IAA7B;QAcS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAtBC;IADC,IAAA,4BAAU,GAAE;;sCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yCACX;AAGxB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;sCACd;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;0CACV;AAGzB;IADC,IAAA,wBAAM,GAAE;;4CAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;4CAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;8BACG,iBAAO;wCAAC;AAGxB;IADC,IAAA,4BAAU,GAAE;8BACK,kBAAQ;0CAAC;AAvB7B,2BAwBC"} \ No newline at end of file diff --git a/dist/Interfaces/IAddressAdmin.d.ts b/dist/Interfaces/IAddressAdmin.d.ts index 1a67b2b..5d0d2d1 100644 --- a/dist/Interfaces/IAddressAdmin.d.ts +++ b/dist/Interfaces/IAddressAdmin.d.ts @@ -5,8 +5,8 @@ export default class IAddressAdmin { address: string; city: string; zip_code: number; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; office?: IOffice; contacts?: IContact; } diff --git a/dist/Interfaces/IAddressAdmin.js b/dist/Interfaces/IAddressAdmin.js index 718b4b0..e745d65 100644 --- a/dist/Interfaces/IAddressAdmin.js +++ b/dist/Interfaces/IAddressAdmin.js @@ -16,6 +16,10 @@ const class_validator_1 = require("class-validator"); const IContactAdmin_1 = __importDefault(require("./IContactAdmin")); const IOfficeAdmin_1 = __importDefault(require("./IOfficeAdmin")); class IAddressAdmin { + constructor() { + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -35,11 +39,11 @@ __decorate([ ], IAddressAdmin.prototype, "zip_code", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IAddressAdmin.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IAddressAdmin.prototype, "updated_at", void 0); __decorate([ (0, class_validator_1.IsOptional)(), diff --git a/dist/Interfaces/IAddressAdmin.js.map b/dist/Interfaces/IAddressAdmin.js.map index 47740a5..06f89ae 100644 --- a/dist/Interfaces/IAddressAdmin.js.map +++ b/dist/Interfaces/IAddressAdmin.js.map @@ -1 +1 @@ -{"version":3,"file":"IAddressAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IAddressAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,oEAAuC;AACvC,kEAAqC;AAErC,MAAqB,aAAa;CAwBjC;AAvBC;IAAC,IAAA,4BAAU,GAAE;;2CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8CACX;AAExB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;+CACV;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;iDAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;iDAAC;AAEzB;IAAC,IAAA,4BAAU,GAAE;8BACG,sBAAO;6CAAC;AAExB;IAAC,IAAA,4BAAU,GAAE;8BACK,uBAAQ;+CAAC;AAvB7B,gCAwBC"} \ No newline at end of file +{"version":3,"file":"IAddressAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IAddressAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,oEAAuC;AACvC,kEAAqC;AAErC,MAAqB,aAAa;IAAlC;QAcS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAtBC;IADC,IAAA,4BAAU,GAAE;;2CACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8CACX;AAGxB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACd;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;+CACV;AAGzB;IADC,IAAA,wBAAM,GAAE;;iDAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;iDAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;8BACG,sBAAO;6CAAC;AAGxB;IADC,IAAA,4BAAU,GAAE;8BACK,uBAAQ;+CAAC;AAvB7B,gCAwBC"} \ No newline at end of file diff --git a/dist/Interfaces/IBlockchainAnchors.d.ts b/dist/Interfaces/IBlockchainAnchors.d.ts index 834ffb0..06c82c7 100644 --- a/dist/Interfaces/IBlockchainAnchors.d.ts +++ b/dist/Interfaces/IBlockchainAnchors.d.ts @@ -2,7 +2,7 @@ import IDocument from "./IDocument"; export default class IBlockchainAnchor { uuid: string; smartSigJobId: string; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; documents?: IDocument[]; } diff --git a/dist/Interfaces/IBlockchainAnchors.js b/dist/Interfaces/IBlockchainAnchors.js index a13791d..4e33825 100644 --- a/dist/Interfaces/IBlockchainAnchors.js +++ b/dist/Interfaces/IBlockchainAnchors.js @@ -11,6 +11,10 @@ var __metadata = (this && this.__metadata) || function (k, v) { Object.defineProperty(exports, "__esModule", { value: true }); const class_validator_1 = require("class-validator"); class IBlockchainAnchor { + constructor() { + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -22,11 +26,11 @@ __decorate([ ], IBlockchainAnchor.prototype, "smartSigJobId", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IBlockchainAnchor.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IBlockchainAnchor.prototype, "updated_at", void 0); __decorate([ (0, class_validator_1.IsOptional)(), diff --git a/dist/Interfaces/IBlockchainAnchors.js.map b/dist/Interfaces/IBlockchainAnchors.js.map index fbbcc21..40ec757 100644 --- a/dist/Interfaces/IBlockchainAnchors.js.map +++ b/dist/Interfaces/IBlockchainAnchors.js.map @@ -1 +1 @@ -{"version":3,"file":"IBlockchainAnchors.js","sourceRoot":"","sources":["../../src/Interfaces/IBlockchainAnchors.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAiE;AAGjE,MAAqB,iBAAiB;CAerC;AAdC;IAAC,IAAA,4BAAU,GAAE;;+CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;wDACL;AAE9B;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;qDAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;qDAAC;AAEzB;IAAC,IAAA,4BAAU,GAAE;;oDACkB;AAdjC,oCAeC"} \ No newline at end of file +{"version":3,"file":"IBlockchainAnchors.js","sourceRoot":"","sources":["../../src/Interfaces/IBlockchainAnchors.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAiE;AAGjE,MAAqB,iBAAiB;IAAtC;QAQS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAIxC,CAAC;CAAA;AAbC;IADC,IAAA,4BAAU,GAAE;;+CACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;wDACL;AAG9B;IADC,IAAA,wBAAM,GAAE;;qDAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;qDAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;oDACkB;AAdjC,oCAeC"} \ No newline at end of file diff --git a/dist/Interfaces/IBlockchainAnchorsAdmin.d.ts b/dist/Interfaces/IBlockchainAnchorsAdmin.d.ts index 434d0ff..6bdc324 100644 --- a/dist/Interfaces/IBlockchainAnchorsAdmin.d.ts +++ b/dist/Interfaces/IBlockchainAnchorsAdmin.d.ts @@ -2,7 +2,7 @@ import IDocument from "./IDocumentAdmin"; export default class IBlockchainAnchorAdmin { uuid: string; smartSigJobId: string; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; documents?: IDocument[]; } diff --git a/dist/Interfaces/IBlockchainAnchorsAdmin.js b/dist/Interfaces/IBlockchainAnchorsAdmin.js index f3ba646..53d775b 100644 --- a/dist/Interfaces/IBlockchainAnchorsAdmin.js +++ b/dist/Interfaces/IBlockchainAnchorsAdmin.js @@ -11,6 +11,10 @@ var __metadata = (this && this.__metadata) || function (k, v) { Object.defineProperty(exports, "__esModule", { value: true }); const class_validator_1 = require("class-validator"); class IBlockchainAnchorAdmin { + constructor() { + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -22,11 +26,11 @@ __decorate([ ], IBlockchainAnchorAdmin.prototype, "smartSigJobId", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IBlockchainAnchorAdmin.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IBlockchainAnchorAdmin.prototype, "updated_at", void 0); __decorate([ (0, class_validator_1.IsOptional)(), diff --git a/dist/Interfaces/IBlockchainAnchorsAdmin.js.map b/dist/Interfaces/IBlockchainAnchorsAdmin.js.map index 6eb03e6..290c2b1 100644 --- a/dist/Interfaces/IBlockchainAnchorsAdmin.js.map +++ b/dist/Interfaces/IBlockchainAnchorsAdmin.js.map @@ -1 +1 @@ -{"version":3,"file":"IBlockchainAnchorsAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IBlockchainAnchorsAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAiE;AAGjE,MAAqB,sBAAsB;CAe1C;AAdC;IAAC,IAAA,4BAAU,GAAE;;oDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;6DACL;AAE9B;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;0DAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;0DAAC;AAEzB;IAAC,IAAA,4BAAU,GAAE;;yDACkB;AAdjC,yCAeC"} \ No newline at end of file +{"version":3,"file":"IBlockchainAnchorsAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IBlockchainAnchorsAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAiE;AAGjE,MAAqB,sBAAsB;IAA3C;QAQS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAIxC,CAAC;CAAA;AAbC;IADC,IAAA,4BAAU,GAAE;;oDACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;6DACL;AAG9B;IADC,IAAA,wBAAM,GAAE;;0DAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;0DAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;yDACkB;AAdjC,yCAeC"} \ No newline at end of file diff --git a/dist/Interfaces/IContact.d.ts b/dist/Interfaces/IContact.d.ts index 2470075..0ad108f 100644 --- a/dist/Interfaces/IContact.d.ts +++ b/dist/Interfaces/IContact.d.ts @@ -11,8 +11,8 @@ export default class IContact { cell_phone_number: string; civility: ECivility; address: IAddress; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; users?: IUser; customers?: ICustomer; } diff --git a/dist/Interfaces/IContact.js b/dist/Interfaces/IContact.js index 790ed1d..280bf21 100644 --- a/dist/Interfaces/IContact.js +++ b/dist/Interfaces/IContact.js @@ -13,11 +13,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) { }; Object.defineProperty(exports, "__esModule", { value: true }); const class_validator_1 = require("class-validator"); -const Enums_1 = require("../Enums/Enums"); const IUser_1 = __importDefault(require("./IUser")); const ICustomer_1 = __importDefault(require("./ICustomer")); const IAddress_1 = __importDefault(require("./IAddress")); class IContact { + constructor() { + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -43,21 +46,17 @@ __decorate([ (0, class_validator_1.IsOptional)(), __metadata("design:type", String) ], IContact.prototype, "cell_phone_number", void 0); -__decorate([ - (0, class_validator_1.IsEnum)(Enums_1.ECivility), - __metadata("design:type", Number) -], IContact.prototype, "civility", void 0); __decorate([ (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), __metadata("design:type", IAddress_1.default) ], IContact.prototype, "address", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IContact.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IContact.prototype, "updated_at", void 0); __decorate([ (0, class_validator_1.IsOptional)(), diff --git a/dist/Interfaces/IContact.js.map b/dist/Interfaces/IContact.js.map index 0b99e86..823acda 100644 --- a/dist/Interfaces/IContact.js.map +++ b/dist/Interfaces/IContact.js.map @@ -1 +1 @@ -{"version":3,"file":"IContact.js","sourceRoot":"","sources":["../../src/Interfaces/IContact.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAyE;AACzE,0CAA2C;AAC3C,oDAA4B;AAC5B,4DAAoC;AACpC,0DAAkC;AAElC,MAAqB,QAAQ;CAoC5B;AAnCC;IAAC,IAAA,4BAAU,GAAE;;sCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;4CACR;AAE3B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACT;AAE1B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;uCACb;AAEtB;IAAC,IAAA,4BAAU,GAAE;;8CACgB;AAE7B;IAAC,IAAA,4BAAU,GAAE;;mDACqB;AAElC;IAAC,IAAA,wBAAM,EAAC,iBAAS,CAAC;;0CACU;AAE5B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;yCAAC;AAE1B;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;4CAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;4CAAC;AAEzB;IAAC,IAAA,4BAAU,GAAE;8BACE,eAAK;uCAAC;AAErB;IAAC,IAAA,4BAAU,GAAE;8BACM,mBAAS;2CAAC;AAnC/B,2BAoCC"} \ No newline at end of file +{"version":3,"file":"IContact.js","sourceRoot":"","sources":["../../src/Interfaces/IContact.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAEjE,oDAA4B;AAC5B,4DAAoC;AACpC,0DAAkC;AAElC,MAAqB,QAAQ;IAA7B;QAyBS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAjCC;IADC,IAAA,4BAAU,GAAE;;sCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;4CACR;AAG3B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACT;AAG1B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;uCACb;AAGtB;IADC,IAAA,4BAAU,GAAE;;8CACgB;AAG7B;IADC,IAAA,4BAAU,GAAE;;mDACqB;AAKlC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;yCAAC;AAG1B;IADC,IAAA,wBAAM,GAAE;;4CAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;4CAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;8BACE,eAAK;uCAAC;AAGrB;IADC,IAAA,4BAAU,GAAE;8BACM,mBAAS;2CAAC;AAlC/B,2BAmCC"} \ No newline at end of file diff --git a/dist/Interfaces/IContactAdmin.d.ts b/dist/Interfaces/IContactAdmin.d.ts index a385eca..6ca7f21 100644 --- a/dist/Interfaces/IContactAdmin.d.ts +++ b/dist/Interfaces/IContactAdmin.d.ts @@ -11,8 +11,8 @@ export default class IContactAdmin { cell_phone_number: string; civility: ECivility; address: IAddress; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; users?: IUser; customers?: ICustomer; } diff --git a/dist/Interfaces/IContactAdmin.js b/dist/Interfaces/IContactAdmin.js index f9a7643..ef944c7 100644 --- a/dist/Interfaces/IContactAdmin.js +++ b/dist/Interfaces/IContactAdmin.js @@ -13,11 +13,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) { }; Object.defineProperty(exports, "__esModule", { value: true }); const class_validator_1 = require("class-validator"); -const Enums_1 = require("../Enums/Enums"); const IUserAdmin_1 = __importDefault(require("./IUserAdmin")); const ICustomerAdmin_1 = __importDefault(require("./ICustomerAdmin")); const IAddressAdmin_1 = __importDefault(require("./IAddressAdmin")); class IContactAdmin { + constructor() { + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -44,8 +47,8 @@ __decorate([ __metadata("design:type", String) ], IContactAdmin.prototype, "cell_phone_number", void 0); __decorate([ - (0, class_validator_1.IsEnum)(Enums_1.ECivility), - __metadata("design:type", Number) + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) ], IContactAdmin.prototype, "civility", void 0); __decorate([ (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), @@ -53,11 +56,11 @@ __decorate([ ], IContactAdmin.prototype, "address", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IContactAdmin.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IContactAdmin.prototype, "updated_at", void 0); __decorate([ (0, class_validator_1.IsOptional)(), diff --git a/dist/Interfaces/IContactAdmin.js.map b/dist/Interfaces/IContactAdmin.js.map index 03e3315..983d8e1 100644 --- a/dist/Interfaces/IContactAdmin.js.map +++ b/dist/Interfaces/IContactAdmin.js.map @@ -1 +1 @@ -{"version":3,"file":"IContactAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IContactAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAyE;AACzE,0CAA2C;AAC3C,8DAAiC;AACjC,sEAAyC;AACzC,oEAAuC;AAEvC,MAAqB,aAAa;CAoCjC;AAnCC;IAAC,IAAA,4BAAU,GAAE;;2CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;iDACR;AAE3B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;gDACT;AAE1B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;4CACb;AAEtB;IAAC,IAAA,4BAAU,GAAE;;mDACgB;AAE7B;IAAC,IAAA,4BAAU,GAAE;;wDACqB;AAElC;IAAC,IAAA,wBAAM,EAAC,iBAAS,CAAC;;+CACU;AAE5B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,uBAAQ;8CAAC;AAE1B;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;iDAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;iDAAC;AAEzB;IAAC,IAAA,4BAAU,GAAE;8BACE,oBAAK;4CAAC;AAErB;IAAC,IAAA,4BAAU,GAAE;8BACM,wBAAS;gDAAC;AAnC/B,gCAoCC"} \ No newline at end of file +{"version":3,"file":"IContactAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IContactAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAEjE,8DAAiC;AACjC,sEAAyC;AACzC,oEAAuC;AAEvC,MAAqB,aAAa;IAAlC;QA0BS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAlCC;IADC,IAAA,4BAAU,GAAE;;2CACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;iDACR;AAG3B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;gDACT;AAG1B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;4CACb;AAGtB;IADC,IAAA,4BAAU,GAAE;;mDACgB;AAG7B;IADC,IAAA,4BAAU,GAAE;;wDACqB;AAGlC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;+CACP;AAG5B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,uBAAQ;8CAAC;AAG1B;IADC,IAAA,wBAAM,GAAE;;iDAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;iDAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;8BACE,oBAAK;4CAAC;AAGrB;IADC,IAAA,4BAAU,GAAE;8BACM,wBAAS;gDAAC;AAnC/B,gCAoCC"} \ No newline at end of file diff --git a/dist/Interfaces/ICustomer.d.ts b/dist/Interfaces/ICustomer.d.ts index 3bee465..09b3073 100644 --- a/dist/Interfaces/ICustomer.d.ts +++ b/dist/Interfaces/ICustomer.d.ts @@ -6,8 +6,8 @@ export default class ICustomer { uuid: string; status: ECustomerStatus; contact: IContact; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; office_folder_has_customers?: IOfficeFolderHasCustomer[]; documents?: IDocument[]; } diff --git a/dist/Interfaces/ICustomer.js b/dist/Interfaces/ICustomer.js index 658ad75..c0566b8 100644 --- a/dist/Interfaces/ICustomer.js +++ b/dist/Interfaces/ICustomer.js @@ -14,16 +14,19 @@ var __importDefault = (this && this.__importDefault) || function (mod) { Object.defineProperty(exports, "__esModule", { value: true }); const class_validator_1 = require("class-validator"); const IContact_1 = __importDefault(require("./IContact")); -const Enums_1 = require("../Enums/Enums"); class ICustomer { + constructor() { + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), __metadata("design:type", String) ], ICustomer.prototype, "uuid", void 0); __decorate([ - (0, class_validator_1.IsEnum)(Enums_1.ECustomerStatus), - __metadata("design:type", Number) + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) ], ICustomer.prototype, "status", void 0); __decorate([ (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), @@ -31,11 +34,11 @@ __decorate([ ], ICustomer.prototype, "contact", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], ICustomer.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], ICustomer.prototype, "updated_at", void 0); __decorate([ (0, class_validator_1.IsOptional)(), diff --git a/dist/Interfaces/ICustomer.js.map b/dist/Interfaces/ICustomer.js.map index 57ce0fc..f07de16 100644 --- a/dist/Interfaces/ICustomer.js.map +++ b/dist/Interfaces/ICustomer.js.map @@ -1 +1 @@ -{"version":3,"file":"ICustomer.js","sourceRoot":"","sources":["../../src/Interfaces/ICustomer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAyE;AACzE,0DAAkC;AAClC,0CAAiD;AAIjD,MAAqB,SAAS;CAqB7B;AApBC;IAAC,IAAA,4BAAU,GAAE;;uCACQ;AAErB;IAAC,IAAA,wBAAM,EAAC,uBAAe,CAAC;;yCACQ;AAEhC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;0CAAC;AAE1B;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;6CAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;6CAAC;AAEzB;IAAC,IAAA,4BAAU,GAAE;;8DAC4C;AAEzD;IAAC,IAAA,4BAAU,GAAE;;4CACW;AApB1B,4BAqBC"} \ No newline at end of file +{"version":3,"file":"ICustomer.js","sourceRoot":"","sources":["../../src/Interfaces/ICustomer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,0DAAkC;AAKlC,MAAqB,SAAS;IAA9B;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAnBC;IADC,IAAA,4BAAU,GAAE;;uCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yCACH;AAGhC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;0CAAC;AAG1B;IADC,IAAA,wBAAM,GAAE;;6CAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;6CAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;8DAC4C;AAGzD;IADC,IAAA,4BAAU,GAAE;;4CACW;AApB1B,4BAqBC"} \ No newline at end of file diff --git a/dist/Interfaces/ICustomerAdmin.d.ts b/dist/Interfaces/ICustomerAdmin.d.ts index 8b31cc9..7416681 100644 --- a/dist/Interfaces/ICustomerAdmin.d.ts +++ b/dist/Interfaces/ICustomerAdmin.d.ts @@ -6,8 +6,8 @@ export default class ICustomerAdmin { uuid: string; status: ECustomerStatus; contact: IContact; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; office_folder_has_customers?: IOfficeFolderHasCustomer[]; documents?: IDocument[]; } diff --git a/dist/Interfaces/ICustomerAdmin.js b/dist/Interfaces/ICustomerAdmin.js index 1c657a4..72b1a70 100644 --- a/dist/Interfaces/ICustomerAdmin.js +++ b/dist/Interfaces/ICustomerAdmin.js @@ -14,16 +14,19 @@ var __importDefault = (this && this.__importDefault) || function (mod) { Object.defineProperty(exports, "__esModule", { value: true }); const class_validator_1 = require("class-validator"); const IContactAdmin_1 = __importDefault(require("./IContactAdmin")); -const Enums_1 = require("../Enums/Enums"); class ICustomerAdmin { + constructor() { + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), __metadata("design:type", String) ], ICustomerAdmin.prototype, "uuid", void 0); __decorate([ - (0, class_validator_1.IsEnum)(Enums_1.ECustomerStatus), - __metadata("design:type", Number) + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) ], ICustomerAdmin.prototype, "status", void 0); __decorate([ (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), @@ -31,11 +34,11 @@ __decorate([ ], ICustomerAdmin.prototype, "contact", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], ICustomerAdmin.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], ICustomerAdmin.prototype, "updated_at", void 0); __decorate([ (0, class_validator_1.IsOptional)(), diff --git a/dist/Interfaces/ICustomerAdmin.js.map b/dist/Interfaces/ICustomerAdmin.js.map index 071f59f..a3e8db9 100644 --- a/dist/Interfaces/ICustomerAdmin.js.map +++ b/dist/Interfaces/ICustomerAdmin.js.map @@ -1 +1 @@ -{"version":3,"file":"ICustomerAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/ICustomerAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAyE;AACzE,oEAAuC;AACvC,0CAAiD;AAIjD,MAAqB,cAAc;CAqBlC;AApBC;IAAC,IAAA,4BAAU,GAAE;;4CACQ;AAErB;IAAC,IAAA,wBAAM,EAAC,uBAAe,CAAC;;8CACQ;AAEhC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,uBAAQ;+CAAC;AAE1B;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;kDAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;kDAAC;AAEzB;IAAC,IAAA,4BAAU,GAAE;;mEAC4C;AAEzD;IAAC,IAAA,4BAAU,GAAE;;iDACW;AApB1B,iCAqBC"} \ No newline at end of file +{"version":3,"file":"ICustomerAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/ICustomerAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,oEAAuC;AAKvC,MAAqB,cAAc;IAAnC;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAnBC;IADC,IAAA,4BAAU,GAAE;;4CACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8CACH;AAGhC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,uBAAQ;+CAAC;AAG1B;IADC,IAAA,wBAAM,GAAE;;kDAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;kDAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;mEAC4C;AAGzD;IADC,IAAA,4BAAU,GAAE;;iDACW;AApB1B,iCAqBC"} \ No newline at end of file diff --git a/dist/Interfaces/IDeed.d.ts b/dist/Interfaces/IDeed.d.ts index 2b8dd88..aae63b2 100644 --- a/dist/Interfaces/IDeed.d.ts +++ b/dist/Interfaces/IDeed.d.ts @@ -4,8 +4,8 @@ import IDeedType from "./IDeedType"; export default class IDeed { uuid: string; deed_type: IDeedType; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; deed_has_document_types?: IDeedHasDocumentType[]; office_folder?: IOfficeFolder; } diff --git a/dist/Interfaces/IDeed.js b/dist/Interfaces/IDeed.js index e4e76ae..15ff307 100644 --- a/dist/Interfaces/IDeed.js +++ b/dist/Interfaces/IDeed.js @@ -16,6 +16,10 @@ const class_validator_1 = require("class-validator"); const IOfficeFolder_1 = __importDefault(require("./IOfficeFolder")); const IDeedType_1 = __importDefault(require("./IDeedType")); class IDeed { + constructor() { + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -27,11 +31,11 @@ __decorate([ ], IDeed.prototype, "deed_type", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IDeed.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IDeed.prototype, "updated_at", void 0); __decorate([ (0, class_validator_1.IsOptional)(), diff --git a/dist/Interfaces/IDeed.js.map b/dist/Interfaces/IDeed.js.map index ffb1efc..25b072b 100644 --- a/dist/Interfaces/IDeed.js.map +++ b/dist/Interfaces/IDeed.js.map @@ -1 +1 @@ -{"version":3,"file":"IDeed.js","sourceRoot":"","sources":["../../src/Interfaces/IDeed.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,oEAA4C;AAE5C,4DAAoC;AAEpC,MAAqB,KAAK;CAkBzB;AAjBC;IAAC,IAAA,4BAAU,GAAE;;mCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,mBAAS;wCAAC;AAE7B;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;yCAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;yCAAC;AAEzB;IAAC,IAAA,4BAAU,GAAE;;sDAC2C;AAExD;IAAC,IAAA,4BAAU,GAAE;8BACU,uBAAa;4CAAC;AAjBvC,wBAkBC"} \ No newline at end of file +{"version":3,"file":"IDeed.js","sourceRoot":"","sources":["../../src/Interfaces/IDeed.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,oEAA4C;AAE5C,4DAAoC;AAEpC,MAAqB,KAAK;IAA1B;QAQS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAhBC;IADC,IAAA,4BAAU,GAAE;;mCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,mBAAS;wCAAC;AAG7B;IADC,IAAA,wBAAM,GAAE;;yCAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;yCAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;sDAC2C;AAGxD;IADC,IAAA,4BAAU,GAAE;8BACU,uBAAa;4CAAC;AAjBvC,wBAkBC"} \ No newline at end of file diff --git a/dist/Interfaces/IDeedAdmin.d.ts b/dist/Interfaces/IDeedAdmin.d.ts index a240a9f..e24657d 100644 --- a/dist/Interfaces/IDeedAdmin.d.ts +++ b/dist/Interfaces/IDeedAdmin.d.ts @@ -1,11 +1,11 @@ import IOfficeFolder from "./IOfficeFolderAdmin"; import IDeedHasDocumentType from "./IDeedHasDocumentTypeAdmin"; -import IDeedType from "./IDeedTypeAdmin"; +import IDeedType from "./IDeedTypesAdmin"; export default class IDeedAdmin { uuid: string; deed_type: IDeedType; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; deed_has_document_types?: IDeedHasDocumentType[]; office_folder?: IOfficeFolder; } diff --git a/dist/Interfaces/IDeedAdmin.js b/dist/Interfaces/IDeedAdmin.js index 3fbe60d..8b3d23e 100644 --- a/dist/Interfaces/IDeedAdmin.js +++ b/dist/Interfaces/IDeedAdmin.js @@ -14,8 +14,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) { Object.defineProperty(exports, "__esModule", { value: true }); const class_validator_1 = require("class-validator"); const IOfficeFolderAdmin_1 = __importDefault(require("./IOfficeFolderAdmin")); -const IDeedTypeAdmin_1 = __importDefault(require("./IDeedTypeAdmin")); +const IDeedTypesAdmin_1 = __importDefault(require("./IDeedTypesAdmin")); class IDeedAdmin { + constructor() { + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -23,15 +27,15 @@ __decorate([ ], IDeedAdmin.prototype, "uuid", void 0); __decorate([ (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", IDeedTypeAdmin_1.default) + __metadata("design:type", IDeedTypesAdmin_1.default) ], IDeedAdmin.prototype, "deed_type", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IDeedAdmin.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IDeedAdmin.prototype, "updated_at", void 0); __decorate([ (0, class_validator_1.IsOptional)(), diff --git a/dist/Interfaces/IDeedAdmin.js.map b/dist/Interfaces/IDeedAdmin.js.map index abefca8..9f878e6 100644 --- a/dist/Interfaces/IDeedAdmin.js.map +++ b/dist/Interfaces/IDeedAdmin.js.map @@ -1 +1 @@ -{"version":3,"file":"IDeedAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IDeedAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,8EAAiD;AAEjD,sEAAyC;AAEzC,MAAqB,UAAU;CAkB9B;AAjBC;IAAC,IAAA,4BAAU,GAAE;;wCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,wBAAS;6CAAC;AAE7B;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;8CAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;8CAAC;AAEzB;IAAC,IAAA,4BAAU,GAAE;;2DAC2C;AAExD;IAAC,IAAA,4BAAU,GAAE;8BACU,4BAAa;iDAAC;AAjBvC,6BAkBC"} \ No newline at end of file +{"version":3,"file":"IDeedAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IDeedAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,8EAAiD;AAEjD,wEAA0C;AAE1C,MAAqB,UAAU;IAA/B;QAQS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAhBC;IADC,IAAA,4BAAU,GAAE;;wCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,yBAAS;6CAAC;AAG7B;IADC,IAAA,wBAAM,GAAE;;8CAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;8CAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;2DAC2C;AAGxD;IADC,IAAA,4BAAU,GAAE;8BACU,4BAAa;iDAAC;AAjBvC,6BAkBC"} \ No newline at end of file diff --git a/dist/Interfaces/IDeedHasDocumentType.d.ts b/dist/Interfaces/IDeedHasDocumentType.d.ts index 11163c7..ccab64f 100644 --- a/dist/Interfaces/IDeedHasDocumentType.d.ts +++ b/dist/Interfaces/IDeedHasDocumentType.d.ts @@ -4,6 +4,6 @@ export default class IDeedHasDocumentType { uuid: string; document_type: IDocumentType; deed: IDeed; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; } diff --git a/dist/Interfaces/IDeedHasDocumentType.js b/dist/Interfaces/IDeedHasDocumentType.js index 2d456c5..5d0476e 100644 --- a/dist/Interfaces/IDeedHasDocumentType.js +++ b/dist/Interfaces/IDeedHasDocumentType.js @@ -16,6 +16,10 @@ const class_validator_1 = require("class-validator"); const IDeed_1 = __importDefault(require("./IDeed")); const IDocumentType_1 = __importDefault(require("./IDocumentType")); class IDeedHasDocumentType { + constructor() { + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -31,11 +35,11 @@ __decorate([ ], IDeedHasDocumentType.prototype, "deed", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IDeedHasDocumentType.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IDeedHasDocumentType.prototype, "updated_at", void 0); exports.default = IDeedHasDocumentType; //# sourceMappingURL=IDeedHasDocumentType.js.map \ No newline at end of file diff --git a/dist/Interfaces/IDeedHasDocumentType.js.map b/dist/Interfaces/IDeedHasDocumentType.js.map index 78afe5f..9a635ba 100644 --- a/dist/Interfaces/IDeedHasDocumentType.js.map +++ b/dist/Interfaces/IDeedHasDocumentType.js.map @@ -1 +1 @@ -{"version":3,"file":"IDeedHasDocumentType.js","sourceRoot":"","sources":["../../src/Interfaces/IDeedHasDocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,oDAA4B;AAC5B,oEAA4C;AAE5C,MAAqB,oBAAoB;CAexC;AAdC;IAAC,IAAA,4BAAU,GAAE;;kDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;2DAAC;AAErC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,eAAK;kDAAC;AAEpB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;wDAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;wDAAC;AAd3B,uCAeC"} \ No newline at end of file +{"version":3,"file":"IDeedHasDocumentType.js","sourceRoot":"","sources":["../../src/Interfaces/IDeedHasDocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,oDAA4B;AAC5B,oEAA4C;AAE5C,MAAqB,oBAAoB;IAAzC;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAbC;IADC,IAAA,4BAAU,GAAE;;kDACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;2DAAC;AAGrC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,eAAK;kDAAC;AAGpB;IADC,IAAA,wBAAM,GAAE;;wDAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;wDAC6B;AAdxC,uCAeC"} \ No newline at end of file diff --git a/dist/Interfaces/IDeedHasDocumentTypeAdmin.d.ts b/dist/Interfaces/IDeedHasDocumentTypeAdmin.d.ts index 67d58bd..c09a2b5 100644 --- a/dist/Interfaces/IDeedHasDocumentTypeAdmin.d.ts +++ b/dist/Interfaces/IDeedHasDocumentTypeAdmin.d.ts @@ -4,6 +4,6 @@ export default class IDeedHasDocumentTypeAdmin { uuid: string; document_type: IDocumentType; deed: IDeed; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; } diff --git a/dist/Interfaces/IDeedHasDocumentTypeAdmin.js b/dist/Interfaces/IDeedHasDocumentTypeAdmin.js index 228c42a..9da70f2 100644 --- a/dist/Interfaces/IDeedHasDocumentTypeAdmin.js +++ b/dist/Interfaces/IDeedHasDocumentTypeAdmin.js @@ -16,6 +16,10 @@ const class_validator_1 = require("class-validator"); const IDeedAdmin_1 = __importDefault(require("./IDeedAdmin")); const IDocumentTypeAdmin_1 = __importDefault(require("./IDocumentTypeAdmin")); class IDeedHasDocumentTypeAdmin { + constructor() { + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -31,11 +35,11 @@ __decorate([ ], IDeedHasDocumentTypeAdmin.prototype, "deed", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IDeedHasDocumentTypeAdmin.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IDeedHasDocumentTypeAdmin.prototype, "updated_at", void 0); exports.default = IDeedHasDocumentTypeAdmin; //# sourceMappingURL=IDeedHasDocumentTypeAdmin.js.map \ No newline at end of file diff --git a/dist/Interfaces/IDeedHasDocumentTypeAdmin.js.map b/dist/Interfaces/IDeedHasDocumentTypeAdmin.js.map index c86fbd6..0bb337e 100644 --- a/dist/Interfaces/IDeedHasDocumentTypeAdmin.js.map +++ b/dist/Interfaces/IDeedHasDocumentTypeAdmin.js.map @@ -1 +1 @@ -{"version":3,"file":"IDeedHasDocumentTypeAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IDeedHasDocumentTypeAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,8DAAiC;AACjC,8EAAiD;AAEjD,MAAqB,yBAAyB;CAe7C;AAdC;IAAC,IAAA,4BAAU,GAAE;;uDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,4BAAa;gEAAC;AAErC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,oBAAK;uDAAC;AAEpB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;6DAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;6DAAC;AAd3B,4CAeC"} \ No newline at end of file +{"version":3,"file":"IDeedHasDocumentTypeAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IDeedHasDocumentTypeAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,8DAAiC;AACjC,8EAAiD;AAEjD,MAAqB,yBAAyB;IAA9C;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAbC;IADC,IAAA,4BAAU,GAAE;;uDACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,4BAAa;gEAAC;AAGrC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,oBAAK;uDAAC;AAGpB;IADC,IAAA,wBAAM,GAAE;;6DAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;6DAC6B;AAdxC,4CAeC"} \ No newline at end of file diff --git a/dist/Interfaces/IDeedType.d.ts b/dist/Interfaces/IDeedType.d.ts index 37f2405..cb8312c 100644 --- a/dist/Interfaces/IDeedType.d.ts +++ b/dist/Interfaces/IDeedType.d.ts @@ -5,10 +5,10 @@ export default class IDeedType { uuid: string; name: string; description: string; - archived_at: Date; + archived_at: Date | null; office: IOffice; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; deed?: IDeed[]; deed_type_has_document_types?: IDeedTypeHasDocumentType[]; } diff --git a/dist/Interfaces/IDeedType.js b/dist/Interfaces/IDeedType.js index efec727..6259b6b 100644 --- a/dist/Interfaces/IDeedType.js +++ b/dist/Interfaces/IDeedType.js @@ -15,6 +15,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); const class_validator_1 = require("class-validator"); const IOffice_1 = __importDefault(require("./IOffice")); class IDeedType { + constructor() { + this.archived_at = null; + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -29,9 +34,8 @@ __decorate([ __metadata("design:type", String) ], IDeedType.prototype, "description", void 0); __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IDeedType.prototype, "archived_at", void 0); __decorate([ (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), @@ -39,11 +43,11 @@ __decorate([ ], IDeedType.prototype, "office", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IDeedType.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IDeedType.prototype, "updated_at", void 0); __decorate([ (0, class_validator_1.IsOptional)(), diff --git a/dist/Interfaces/IDeedType.js.map b/dist/Interfaces/IDeedType.js.map index e6f6481..30e38ad 100644 --- a/dist/Interfaces/IDeedType.js.map +++ b/dist/Interfaces/IDeedType.js.map @@ -1 +1 @@ -{"version":3,"file":"IDeedType.js","sourceRoot":"","sources":["../../src/Interfaces/IDeedType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAGjE,wDAAgC;AAGhC,MAAqB,SAAS;CA4B7B;AA3BC;IAAC,IAAA,4BAAU,GAAE;;uCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;uCACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8CACP;AAE5B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;IAClC,IAAA,wBAAM,GAAE;8BACY,IAAI;8CAAC;AAE1B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,iBAAO;yCAAC;AAExB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;6CAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;6CAAC;AAEzB;IAAC,IAAA,4BAAU,GAAE;;uCACS;AAEtB;IAAC,IAAA,4BAAU,GAAE;;+DACoD;AA3BnE,4BA4BC"} \ No newline at end of file +{"version":3,"file":"IDeedType.js","sourceRoot":"","sources":["../../src/Interfaces/IDeedType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAGjE,wDAAgC;AAGhC,MAAqB,SAAS;IAA9B;QAWS,gBAAW,GAAgB,IAAI,CAAC;QAMhC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAzBC;IADC,IAAA,4BAAU,GAAE;;uCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;uCACd;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8CACP;AAG5B;IADC,IAAA,wBAAM,GAAE;;8CAC8B;AAGvC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,iBAAO;yCAAC;AAGxB;IADC,IAAA,wBAAM,GAAE;;6CAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;6CAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;uCACS;AAGtB;IADC,IAAA,4BAAU,GAAE;;+DACoD;AA1BnE,4BA2BC"} \ No newline at end of file diff --git a/dist/Interfaces/IDeedTypeAdmin.js.map b/dist/Interfaces/IDeedTypeAdmin.js.map deleted file mode 100644 index bbf52d5..0000000 --- a/dist/Interfaces/IDeedTypeAdmin.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"IDeedTypeAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IDeedTypeAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAGjE,kEAAqC;AAGrC,MAAqB,cAAc;CA4BlC;AA3BC;IAAC,IAAA,4BAAU,GAAE;;4CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;4CACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;mDACP;AAE5B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;IAClC,IAAA,wBAAM,GAAE;8BACY,IAAI;mDAAC;AAE1B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,sBAAO;8CAAC;AAExB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;kDAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;kDAAC;AAEzB;IAAC,IAAA,4BAAU,GAAE;;4CACS;AAEtB;IAAC,IAAA,4BAAU,GAAE;;oEACoD;AA3BnE,iCA4BC"} \ No newline at end of file diff --git a/dist/Interfaces/IDeedTypeHasDocumentType.d.ts b/dist/Interfaces/IDeedTypeHasDocumentType.d.ts index 7a06d7f..c7754b9 100644 --- a/dist/Interfaces/IDeedTypeHasDocumentType.d.ts +++ b/dist/Interfaces/IDeedTypeHasDocumentType.d.ts @@ -4,6 +4,6 @@ export default class IDeedTypeHasDocumentType { uuid: string; document_type: IDocumentType; deed_type: IDeedType; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; } diff --git a/dist/Interfaces/IDeedTypeHasDocumentType.js b/dist/Interfaces/IDeedTypeHasDocumentType.js index 0431b9c..d1c2c5d 100644 --- a/dist/Interfaces/IDeedTypeHasDocumentType.js +++ b/dist/Interfaces/IDeedTypeHasDocumentType.js @@ -16,6 +16,10 @@ const class_validator_1 = require("class-validator"); const IDeedType_1 = __importDefault(require("./IDeedType")); const IDocumentType_1 = __importDefault(require("./IDocumentType")); class IDeedTypeHasDocumentType { + constructor() { + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -31,11 +35,11 @@ __decorate([ ], IDeedTypeHasDocumentType.prototype, "deed_type", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IDeedTypeHasDocumentType.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IDeedTypeHasDocumentType.prototype, "updated_at", void 0); exports.default = IDeedTypeHasDocumentType; //# sourceMappingURL=IDeedTypeHasDocumentType.js.map \ No newline at end of file diff --git a/dist/Interfaces/IDeedTypeHasDocumentType.js.map b/dist/Interfaces/IDeedTypeHasDocumentType.js.map index 66060a0..229eb06 100644 --- a/dist/Interfaces/IDeedTypeHasDocumentType.js.map +++ b/dist/Interfaces/IDeedTypeHasDocumentType.js.map @@ -1 +1 @@ -{"version":3,"file":"IDeedTypeHasDocumentType.js","sourceRoot":"","sources":["../../src/Interfaces/IDeedTypeHasDocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,4DAAoC;AACpC,oEAA4C;AAE5C,MAAqB,wBAAwB;CAe5C;AAdC;IAAC,IAAA,4BAAU,GAAE;;sDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;+DAAC;AAErC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,mBAAS;2DAAC;AAE7B;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;4DAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;4DAAC;AAd3B,2CAeC"} \ No newline at end of file +{"version":3,"file":"IDeedTypeHasDocumentType.js","sourceRoot":"","sources":["../../src/Interfaces/IDeedTypeHasDocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,4DAAoC;AACpC,oEAA4C;AAE5C,MAAqB,wBAAwB;IAA7C;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAbC;IADC,IAAA,4BAAU,GAAE;;sDACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;+DAAC;AAGrC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,mBAAS;2DAAC;AAG7B;IADC,IAAA,wBAAM,GAAE;;4DAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;4DAC6B;AAdxC,2CAeC"} \ No newline at end of file diff --git a/dist/Interfaces/IDeedTypeHasDocumentTypeAdmin.d.ts b/dist/Interfaces/IDeedTypeHasDocumentTypeAdmin.d.ts index f6d0a89..861a3ce 100644 --- a/dist/Interfaces/IDeedTypeHasDocumentTypeAdmin.d.ts +++ b/dist/Interfaces/IDeedTypeHasDocumentTypeAdmin.d.ts @@ -1,9 +1,9 @@ -import IDeedType from "./IDeedTypeAdmin"; +import IDeedType from "./IDeedTypesAdmin"; import IDocumentType from "./IDocumentTypeAdmin"; export default class IDeedTypeHasDocumentTypeAdmin { uuid: string; document_type: IDocumentType; deed_type: IDeedType; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; } diff --git a/dist/Interfaces/IDeedTypeHasDocumentTypeAdmin.js b/dist/Interfaces/IDeedTypeHasDocumentTypeAdmin.js index 6d0a07f..17176a5 100644 --- a/dist/Interfaces/IDeedTypeHasDocumentTypeAdmin.js +++ b/dist/Interfaces/IDeedTypeHasDocumentTypeAdmin.js @@ -13,9 +13,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) { }; Object.defineProperty(exports, "__esModule", { value: true }); const class_validator_1 = require("class-validator"); -const IDeedTypeAdmin_1 = __importDefault(require("./IDeedTypeAdmin")); +const IDeedTypesAdmin_1 = __importDefault(require("./IDeedTypesAdmin")); const IDocumentTypeAdmin_1 = __importDefault(require("./IDocumentTypeAdmin")); class IDeedTypeHasDocumentTypeAdmin { + constructor() { + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -27,15 +31,15 @@ __decorate([ ], IDeedTypeHasDocumentTypeAdmin.prototype, "document_type", void 0); __decorate([ (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - __metadata("design:type", IDeedTypeAdmin_1.default) + __metadata("design:type", IDeedTypesAdmin_1.default) ], IDeedTypeHasDocumentTypeAdmin.prototype, "deed_type", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IDeedTypeHasDocumentTypeAdmin.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IDeedTypeHasDocumentTypeAdmin.prototype, "updated_at", void 0); exports.default = IDeedTypeHasDocumentTypeAdmin; //# sourceMappingURL=IDeedTypeHasDocumentTypeAdmin.js.map \ No newline at end of file diff --git a/dist/Interfaces/IDeedTypeHasDocumentTypeAdmin.js.map b/dist/Interfaces/IDeedTypeHasDocumentTypeAdmin.js.map index a9fa156..62e7b19 100644 --- a/dist/Interfaces/IDeedTypeHasDocumentTypeAdmin.js.map +++ b/dist/Interfaces/IDeedTypeHasDocumentTypeAdmin.js.map @@ -1 +1 @@ -{"version":3,"file":"IDeedTypeHasDocumentTypeAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IDeedTypeHasDocumentTypeAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,sEAAyC;AACzC,8EAAiD;AAEjD,MAAqB,6BAA6B;CAejD;AAdC;IAAC,IAAA,4BAAU,GAAE;;2DACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,4BAAa;oEAAC;AAErC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,wBAAS;gEAAC;AAE7B;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;iEAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;iEAAC;AAd3B,gDAeC"} \ No newline at end of file +{"version":3,"file":"IDeedTypeHasDocumentTypeAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IDeedTypeHasDocumentTypeAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,wEAA0C;AAC1C,8EAAiD;AAEjD,MAAqB,6BAA6B;IAAlD;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAbC;IADC,IAAA,4BAAU,GAAE;;2DACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,4BAAa;oEAAC;AAGrC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,yBAAS;gEAAC;AAG7B;IADC,IAAA,wBAAM,GAAE;;iEAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;iEAC6B;AAdxC,gDAeC"} \ No newline at end of file diff --git a/dist/Interfaces/IDeedTypeAdmin.d.ts b/dist/Interfaces/IDeedTypesAdmin.d.ts similarity index 70% rename from dist/Interfaces/IDeedTypeAdmin.d.ts rename to dist/Interfaces/IDeedTypesAdmin.d.ts index ff0a2e5..bf5af39 100644 --- a/dist/Interfaces/IDeedTypeAdmin.d.ts +++ b/dist/Interfaces/IDeedTypesAdmin.d.ts @@ -1,14 +1,14 @@ import IDeedTypeHasDocumentType from "./IDeedTypeHasDocumentType"; import IOffice from "./IOfficeAdmin"; import IDeed from "./IDeedAdmin"; -export default class IDeedTypeAdmin { +export default class IDeedTypesAdmin { uuid: string; name: string; description: string; - archived_at: Date; + archived_at: Date | null; office: IOffice; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; deed?: IDeed[]; deed_type_has_document_types?: IDeedTypeHasDocumentType[]; } diff --git a/dist/Interfaces/IDeedTypeAdmin.js b/dist/Interfaces/IDeedTypesAdmin.js similarity index 69% rename from dist/Interfaces/IDeedTypeAdmin.js rename to dist/Interfaces/IDeedTypesAdmin.js index d20f515..f2871d5 100644 --- a/dist/Interfaces/IDeedTypeAdmin.js +++ b/dist/Interfaces/IDeedTypesAdmin.js @@ -14,44 +14,48 @@ var __importDefault = (this && this.__importDefault) || function (mod) { Object.defineProperty(exports, "__esModule", { value: true }); const class_validator_1 = require("class-validator"); const IOfficeAdmin_1 = __importDefault(require("./IOfficeAdmin")); -class IDeedTypeAdmin { +class IDeedTypesAdmin { + constructor() { + this.archived_at = null; + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), __metadata("design:type", String) -], IDeedTypeAdmin.prototype, "uuid", void 0); +], IDeedTypesAdmin.prototype, "uuid", void 0); __decorate([ (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), __metadata("design:type", String) -], IDeedTypeAdmin.prototype, "name", void 0); +], IDeedTypesAdmin.prototype, "name", void 0); __decorate([ (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), __metadata("design:type", String) -], IDeedTypeAdmin.prototype, "description", void 0); +], IDeedTypesAdmin.prototype, "description", void 0); __decorate([ - (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) -], IDeedTypeAdmin.prototype, "archived_at", void 0); + __metadata("design:type", Object) +], IDeedTypesAdmin.prototype, "archived_at", void 0); __decorate([ (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), __metadata("design:type", IOfficeAdmin_1.default) -], IDeedTypeAdmin.prototype, "office", void 0); +], IDeedTypesAdmin.prototype, "office", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) -], IDeedTypeAdmin.prototype, "created_at", void 0); + __metadata("design:type", Object) +], IDeedTypesAdmin.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) -], IDeedTypeAdmin.prototype, "updated_at", void 0); + __metadata("design:type", Object) +], IDeedTypesAdmin.prototype, "updated_at", void 0); __decorate([ (0, class_validator_1.IsOptional)(), __metadata("design:type", Array) -], IDeedTypeAdmin.prototype, "deed", void 0); +], IDeedTypesAdmin.prototype, "deed", void 0); __decorate([ (0, class_validator_1.IsOptional)(), __metadata("design:type", Array) -], IDeedTypeAdmin.prototype, "deed_type_has_document_types", void 0); -exports.default = IDeedTypeAdmin; -//# sourceMappingURL=IDeedTypeAdmin.js.map \ No newline at end of file +], IDeedTypesAdmin.prototype, "deed_type_has_document_types", void 0); +exports.default = IDeedTypesAdmin; +//# sourceMappingURL=IDeedTypesAdmin.js.map \ No newline at end of file diff --git a/dist/Interfaces/IDeedTypesAdmin.js.map b/dist/Interfaces/IDeedTypesAdmin.js.map new file mode 100644 index 0000000..eda6c4b --- /dev/null +++ b/dist/Interfaces/IDeedTypesAdmin.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDeedTypesAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IDeedTypesAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAGjE,kEAAqC;AAGrC,MAAqB,eAAe;IAApC;QAWS,gBAAW,GAAgB,IAAI,CAAC;QAMhC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAzBC;IADC,IAAA,4BAAU,GAAE;;6CACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;6CACd;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;oDACP;AAG5B;IADC,IAAA,wBAAM,GAAE;;oDAC8B;AAGvC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,sBAAO;+CAAC;AAGxB;IADC,IAAA,wBAAM,GAAE;;mDAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;mDAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;6CACS;AAGtB;IADC,IAAA,4BAAU,GAAE;;qEACoD;AA1BnE,kCA2BC"} \ No newline at end of file diff --git a/dist/Interfaces/IDocument.d.ts b/dist/Interfaces/IDocument.d.ts index e6dec32..eb23d7f 100644 --- a/dist/Interfaces/IDocument.d.ts +++ b/dist/Interfaces/IDocument.d.ts @@ -12,8 +12,8 @@ export default class IDocument { blockchain_anchor?: IBlockchainAnchor; folder: IOfficeFolder; depositor: ICustomer; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; files?: IFile[]; document_history?: IDocumentHistory[]; } diff --git a/dist/Interfaces/IDocument.js b/dist/Interfaces/IDocument.js index 4d92e2b..1795fe8 100644 --- a/dist/Interfaces/IDocument.js +++ b/dist/Interfaces/IDocument.js @@ -14,11 +14,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) { Object.defineProperty(exports, "__esModule", { value: true }); const class_validator_1 = require("class-validator"); const ICustomer_1 = __importDefault(require("./ICustomer")); -const Enums_1 = require("../Enums/Enums"); const IOfficeFolder_1 = __importDefault(require("./IOfficeFolder")); const IDocumentType_1 = __importDefault(require("./IDocumentType")); const IBlockchainAnchors_1 = __importDefault(require("./IBlockchainAnchors")); class IDocument { + constructor() { + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -26,8 +29,7 @@ __decorate([ ], IDocument.prototype, "uuid", void 0); __decorate([ (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - (0, class_validator_1.IsEnum)(Enums_1.EDocumentStatus), - __metadata("design:type", Number) + __metadata("design:type", String) ], IDocument.prototype, "document_status", void 0); __decorate([ (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), @@ -47,11 +49,11 @@ __decorate([ ], IDocument.prototype, "depositor", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IDocument.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IDocument.prototype, "updated_at", void 0); __decorate([ (0, class_validator_1.IsOptional)(), diff --git a/dist/Interfaces/IDocument.js.map b/dist/Interfaces/IDocument.js.map index 3641ff8..6ffe950 100644 --- a/dist/Interfaces/IDocument.js.map +++ b/dist/Interfaces/IDocument.js.map @@ -1 +1 @@ -{"version":3,"file":"IDocument.js","sourceRoot":"","sources":["../../src/Interfaces/IDocument.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAyE;AACzE,4DAAoC;AACpC,0CAAiD;AACjD,oEAA4C;AAC5C,oEAA4C;AAC5C,8EAAqD;AAIrD,MAAqB,SAAS;CA+B7B;AA9BC;IAAC,IAAA,4BAAU,GAAE;;uCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;IAClC,IAAA,wBAAM,EAAC,uBAAe,CAAC;;kDACiB;AAEzC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;gDAAC;AAErC;IAAC,IAAA,4BAAU,GAAE;8BACc,4BAAiB;oDAAC;AAE7C;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,uBAAa;yCAAC;AAE9B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,mBAAS;4CAAC;AAE7B;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;6CAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;6CAAC;AAEzB;IAAC,IAAA,4BAAU,GAAE;;wCACU;AAEvB;IAAC,IAAA,4BAAU,GAAE;;mDACgC;AA9B/C,4BA+BC"} \ No newline at end of file +{"version":3,"file":"IDocument.js","sourceRoot":"","sources":["../../src/Interfaces/IDocument.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,4DAAoC;AAEpC,oEAA4C;AAC5C,oEAA4C;AAC5C,8EAAqD;AAIrD,MAAqB,SAAS;IAA9B;QAoBS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AA5BC;IADC,IAAA,4BAAU,GAAE;;uCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;kDACM;AAGzC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;gDAAC;AAGrC;IADC,IAAA,4BAAU,GAAE;8BACc,4BAAiB;oDAAC;AAG7C;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,uBAAa;yCAAC;AAG9B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,mBAAS;4CAAC;AAG7B;IADC,IAAA,wBAAM,GAAE;;6CAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;6CAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;wCACU;AAGvB;IADC,IAAA,4BAAU,GAAE;;mDACgC;AA7B/C,4BA8BC"} \ No newline at end of file diff --git a/dist/Interfaces/IDocumentAdmin.d.ts b/dist/Interfaces/IDocumentAdmin.d.ts index 284fef5..2908e74 100644 --- a/dist/Interfaces/IDocumentAdmin.d.ts +++ b/dist/Interfaces/IDocumentAdmin.d.ts @@ -12,8 +12,8 @@ export default class IDocumentAdmin { blockchain_anchor?: IBlockchainAnchor; folder: IOfficeFolder; depositor: ICustomer; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; files?: IFile[]; document_history?: IDocumentHistory[]; } diff --git a/dist/Interfaces/IDocumentAdmin.js b/dist/Interfaces/IDocumentAdmin.js index 9435f1d..065757c 100644 --- a/dist/Interfaces/IDocumentAdmin.js +++ b/dist/Interfaces/IDocumentAdmin.js @@ -14,11 +14,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) { Object.defineProperty(exports, "__esModule", { value: true }); const class_validator_1 = require("class-validator"); const ICustomerAdmin_1 = __importDefault(require("./ICustomerAdmin")); -const Enums_1 = require("../Enums/Enums"); const IOfficeFolderAdmin_1 = __importDefault(require("./IOfficeFolderAdmin")); const IDocumentTypeAdmin_1 = __importDefault(require("./IDocumentTypeAdmin")); const IBlockchainAnchorsAdmin_1 = __importDefault(require("./IBlockchainAnchorsAdmin")); class IDocumentAdmin { + constructor() { + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -26,8 +29,7 @@ __decorate([ ], IDocumentAdmin.prototype, "uuid", void 0); __decorate([ (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - (0, class_validator_1.IsEnum)(Enums_1.EDocumentStatus), - __metadata("design:type", Number) + __metadata("design:type", String) ], IDocumentAdmin.prototype, "document_status", void 0); __decorate([ (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), @@ -47,11 +49,11 @@ __decorate([ ], IDocumentAdmin.prototype, "depositor", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IDocumentAdmin.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IDocumentAdmin.prototype, "updated_at", void 0); __decorate([ (0, class_validator_1.IsOptional)(), diff --git a/dist/Interfaces/IDocumentAdmin.js.map b/dist/Interfaces/IDocumentAdmin.js.map index 9a1d677..6d26ceb 100644 --- a/dist/Interfaces/IDocumentAdmin.js.map +++ b/dist/Interfaces/IDocumentAdmin.js.map @@ -1 +1 @@ -{"version":3,"file":"IDocumentAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IDocumentAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAyE;AACzE,sEAAyC;AACzC,0CAAiD;AACjD,8EAAiD;AACjD,8EAAiD;AACjD,wFAA0D;AAI1D,MAAqB,cAAc;CA+BlC;AA9BC;IAAC,IAAA,4BAAU,GAAE;;4CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;IAClC,IAAA,wBAAM,EAAC,uBAAe,CAAC;;uDACiB;AAEzC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,4BAAa;qDAAC;AAErC;IAAC,IAAA,4BAAU,GAAE;8BACc,iCAAiB;yDAAC;AAE7C;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,4BAAa;8CAAC;AAE9B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,wBAAS;iDAAC;AAE7B;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;kDAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;kDAAC;AAEzB;IAAC,IAAA,4BAAU,GAAE;;6CACU;AAEvB;IAAC,IAAA,4BAAU,GAAE;;wDACgC;AA9B/C,iCA+BC"} \ No newline at end of file +{"version":3,"file":"IDocumentAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IDocumentAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,sEAAyC;AAEzC,8EAAiD;AACjD,8EAAiD;AACjD,wFAA0D;AAI1D,MAAqB,cAAc;IAAnC;QAoBS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AA5BC;IADC,IAAA,4BAAU,GAAE;;4CACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;uDACM;AAGzC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,4BAAa;qDAAC;AAGrC;IADC,IAAA,4BAAU,GAAE;8BACc,iCAAiB;yDAAC;AAG7C;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,4BAAa;8CAAC;AAG9B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,wBAAS;iDAAC;AAG7B;IADC,IAAA,wBAAM,GAAE;;kDAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;kDAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;6CACU;AAGvB;IADC,IAAA,4BAAU,GAAE;;wDACgC;AA7B/C,iCA8BC"} \ No newline at end of file diff --git a/dist/Interfaces/IDocumentHistory.d.ts b/dist/Interfaces/IDocumentHistory.d.ts index 197e02d..4c5c3a8 100644 --- a/dist/Interfaces/IDocumentHistory.d.ts +++ b/dist/Interfaces/IDocumentHistory.d.ts @@ -4,7 +4,7 @@ export default class IDocumentHistory { uuid: string; document_status: EDocumentStatus; document: IDocument; - refused_reason?: string; - created_at?: Date; - updated_at?: Date; + refused_reason: string | null; + created_at: Date | null; + updated_at: Date | null; } diff --git a/dist/Interfaces/IDocumentHistory.js b/dist/Interfaces/IDocumentHistory.js index abd0fe9..286093f 100644 --- a/dist/Interfaces/IDocumentHistory.js +++ b/dist/Interfaces/IDocumentHistory.js @@ -13,9 +13,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) { }; Object.defineProperty(exports, "__esModule", { value: true }); const class_validator_1 = require("class-validator"); -const Enums_1 = require("../Enums/Enums"); const IDocument_1 = __importDefault(require("./IDocument")); class IDocumentHistory { + constructor() { + this.refused_reason = null; + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -23,8 +27,7 @@ __decorate([ ], IDocumentHistory.prototype, "uuid", void 0); __decorate([ (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - (0, class_validator_1.IsEnum)(Enums_1.EDocumentStatus), - __metadata("design:type", Number) + __metadata("design:type", String) ], IDocumentHistory.prototype, "document_status", void 0); __decorate([ (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), @@ -32,15 +35,15 @@ __decorate([ ], IDocumentHistory.prototype, "document", void 0); __decorate([ (0, class_validator_1.IsOptional)(), - __metadata("design:type", String) + __metadata("design:type", Object) ], IDocumentHistory.prototype, "refused_reason", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IDocumentHistory.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IDocumentHistory.prototype, "updated_at", void 0); exports.default = IDocumentHistory; //# sourceMappingURL=IDocumentHistory.js.map \ No newline at end of file diff --git a/dist/Interfaces/IDocumentHistory.js.map b/dist/Interfaces/IDocumentHistory.js.map index 687ad14..bf215d5 100644 --- a/dist/Interfaces/IDocumentHistory.js.map +++ b/dist/Interfaces/IDocumentHistory.js.map @@ -1 +1 @@ -{"version":3,"file":"IDocumentHistory.js","sourceRoot":"","sources":["../../src/Interfaces/IDocumentHistory.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAyE;AACzE,0CAAiD;AACjD,4DAAoC;AAEpC,MAAqB,gBAAgB;CAmBpC;AAlBC;IAAC,IAAA,4BAAU,GAAE;;8CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;IAClC,IAAA,wBAAM,EAAC,uBAAe,CAAC;;yDACiB;AAEzC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,mBAAS;kDAAC;AAE5B;IAAC,IAAA,4BAAU,GAAE;;wDACkB;AAE/B;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;oDAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;oDAAC;AAlB3B,mCAmBC"} \ No newline at end of file +{"version":3,"file":"IDocumentHistory.js","sourceRoot":"","sources":["../../src/Interfaces/IDocumentHistory.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAEjE,4DAAoC;AAEpC,MAAqB,gBAAgB;IAArC;QAWS,mBAAc,GAAkB,IAAI,CAAC;QAGrC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAhBC;IADC,IAAA,4BAAU,GAAE;;8CACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yDACM;AAGzC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,mBAAS;kDAAC;AAG5B;IADC,IAAA,4BAAU,GAAE;;wDAC+B;AAG5C;IADC,IAAA,wBAAM,GAAE;;oDAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;oDAC6B;AAjBxC,mCAkBC"} \ No newline at end of file diff --git a/dist/Interfaces/IDocumentHistoryAdmin.d.ts b/dist/Interfaces/IDocumentHistoryAdmin.d.ts index edd7f98..7ecf922 100644 --- a/dist/Interfaces/IDocumentHistoryAdmin.d.ts +++ b/dist/Interfaces/IDocumentHistoryAdmin.d.ts @@ -4,7 +4,7 @@ export default class IDocumentHistoryAdmin { uuid: string; document_status: EDocumentStatus; document: IDocument; - refused_reason?: string; - created_at?: Date; - updated_at?: Date; + refused_reason: string | null; + created_at: Date | null; + updated_at: Date | null; } diff --git a/dist/Interfaces/IDocumentHistoryAdmin.js b/dist/Interfaces/IDocumentHistoryAdmin.js index 3722198..255e4fe 100644 --- a/dist/Interfaces/IDocumentHistoryAdmin.js +++ b/dist/Interfaces/IDocumentHistoryAdmin.js @@ -13,9 +13,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) { }; Object.defineProperty(exports, "__esModule", { value: true }); const class_validator_1 = require("class-validator"); -const Enums_1 = require("../Enums/Enums"); const IDocumentAdmin_1 = __importDefault(require("./IDocumentAdmin")); class IDocumentHistoryAdmin { + constructor() { + this.refused_reason = null; + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -23,8 +27,7 @@ __decorate([ ], IDocumentHistoryAdmin.prototype, "uuid", void 0); __decorate([ (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - (0, class_validator_1.IsEnum)(Enums_1.EDocumentStatus), - __metadata("design:type", Number) + __metadata("design:type", String) ], IDocumentHistoryAdmin.prototype, "document_status", void 0); __decorate([ (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), @@ -32,15 +35,15 @@ __decorate([ ], IDocumentHistoryAdmin.prototype, "document", void 0); __decorate([ (0, class_validator_1.IsOptional)(), - __metadata("design:type", String) + __metadata("design:type", Object) ], IDocumentHistoryAdmin.prototype, "refused_reason", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IDocumentHistoryAdmin.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IDocumentHistoryAdmin.prototype, "updated_at", void 0); exports.default = IDocumentHistoryAdmin; //# sourceMappingURL=IDocumentHistoryAdmin.js.map \ No newline at end of file diff --git a/dist/Interfaces/IDocumentHistoryAdmin.js.map b/dist/Interfaces/IDocumentHistoryAdmin.js.map index 7fb880f..21b2752 100644 --- a/dist/Interfaces/IDocumentHistoryAdmin.js.map +++ b/dist/Interfaces/IDocumentHistoryAdmin.js.map @@ -1 +1 @@ -{"version":3,"file":"IDocumentHistoryAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IDocumentHistoryAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAyE;AACzE,0CAAiD;AACjD,sEAAyC;AAEzC,MAAqB,qBAAqB;CAmBzC;AAlBC;IAAC,IAAA,4BAAU,GAAE;;mDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;IAClC,IAAA,wBAAM,EAAC,uBAAe,CAAC;;8DACiB;AAEzC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,wBAAS;uDAAC;AAE5B;IAAC,IAAA,4BAAU,GAAE;;6DACkB;AAE/B;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;yDAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;yDAAC;AAlB3B,wCAmBC"} \ No newline at end of file +{"version":3,"file":"IDocumentHistoryAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IDocumentHistoryAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAEjE,sEAAyC;AAEzC,MAAqB,qBAAqB;IAA1C;QAWS,mBAAc,GAAkB,IAAI,CAAC;QAGrC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAhBC;IADC,IAAA,4BAAU,GAAE;;mDACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8DACM;AAGzC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,wBAAS;uDAAC;AAG5B;IADC,IAAA,4BAAU,GAAE;;6DAC+B;AAG5C;IADC,IAAA,wBAAM,GAAE;;yDAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;yDAC6B;AAjBxC,wCAkBC"} \ No newline at end of file diff --git a/dist/Interfaces/IDocumentType.d.ts b/dist/Interfaces/IDocumentType.d.ts index 1d28caa..937395b 100644 --- a/dist/Interfaces/IDocumentType.d.ts +++ b/dist/Interfaces/IDocumentType.d.ts @@ -5,10 +5,10 @@ export default class IDocumentType { uuid: string; name: string; public_description: string; - private_description?: string; - archived_at?: Date; - created_at?: Date; - updated_at?: Date; + private_description: string | null; + archived_at: Date | null; + created_at: Date | null; + updated_at: Date | null; documents?: IDocument[]; deed_has_document_types?: IDeedHasDocumentType[]; deed_type_has_document_types?: IDeedTypeHasDocumentType[]; diff --git a/dist/Interfaces/IDocumentType.js b/dist/Interfaces/IDocumentType.js index 7acefea..d705ce2 100644 --- a/dist/Interfaces/IDocumentType.js +++ b/dist/Interfaces/IDocumentType.js @@ -11,6 +11,12 @@ var __metadata = (this && this.__metadata) || function (k, v) { Object.defineProperty(exports, "__esModule", { value: true }); const class_validator_1 = require("class-validator"); class IDocumentType { + constructor() { + this.private_description = null; + this.archived_at = null; + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -26,20 +32,20 @@ __decorate([ ], IDocumentType.prototype, "public_description", void 0); __decorate([ (0, class_validator_1.IsOptional)(), - __metadata("design:type", String) + __metadata("design:type", Object) ], IDocumentType.prototype, "private_description", void 0); __decorate([ (0, class_validator_1.IsOptional)(), (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IDocumentType.prototype, "archived_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IDocumentType.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IDocumentType.prototype, "updated_at", void 0); __decorate([ (0, class_validator_1.IsOptional)(), diff --git a/dist/Interfaces/IDocumentType.js.map b/dist/Interfaces/IDocumentType.js.map index 4539a33..e81a5b0 100644 --- a/dist/Interfaces/IDocumentType.js.map +++ b/dist/Interfaces/IDocumentType.js.map @@ -1 +1 @@ -{"version":3,"file":"IDocumentType.js","sourceRoot":"","sources":["../../src/Interfaces/IDocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAiE;AAKjE,MAAqB,aAAa;CA+BjC;AA9BC;IAAC,IAAA,4BAAU,GAAE;;2CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yDACA;AAEnC;IAAC,IAAA,4BAAU,GAAE;;0DACuB;AAEpC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACY,IAAI;kDAAC;AAE1B;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;iDAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;iDAAC;AAEzB;IAAC,IAAA,4BAAU,GAAE;;gDACkB;AAE/B;IAAC,IAAA,4BAAU,GAAE;;8DAC2C;AAExD;IAAC,IAAA,4BAAU,GAAE;;mEACoD;AA9BnE,gCA+BC"} \ No newline at end of file +{"version":3,"file":"IDocumentType.js","sourceRoot":"","sources":["../../src/Interfaces/IDocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAiE;AAKjE,MAAqB,aAAa;IAAlC;QAWS,wBAAmB,GAAkB,IAAI,CAAC;QAI1C,gBAAW,GAAgB,IAAI,CAAC;QAGhC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAUxC,CAAC;CAAA;AA7BC;IADC,IAAA,4BAAU,GAAE;;2CACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACd;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yDACA;AAGnC;IADC,IAAA,4BAAU,GAAE;;0DACoC;AAIjD;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;kDAC8B;AAGvC;IADC,IAAA,wBAAM,GAAE;;iDAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;iDAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;gDACkB;AAG/B;IADC,IAAA,4BAAU,GAAE;;8DAC2C;AAGxD;IADC,IAAA,4BAAU,GAAE;;mEACoD;AA9BnE,gCA+BC"} \ No newline at end of file diff --git a/dist/Interfaces/IDocumentTypeAdmin.d.ts b/dist/Interfaces/IDocumentTypeAdmin.d.ts index dc1a789..e67f83a 100644 --- a/dist/Interfaces/IDocumentTypeAdmin.d.ts +++ b/dist/Interfaces/IDocumentTypeAdmin.d.ts @@ -5,10 +5,10 @@ export default class IDocumentTypeAdmin { uuid: string; name: string; public_description: string; - private_description?: string; - archived_at?: Date; - created_at?: Date; - updated_at?: Date; + private_description: string | null; + archived_at: Date | null; + created_at: Date | null; + updated_at: Date | null; documents?: IDocument[]; deed_has_document_types?: IDeedHasDocumentType[]; deed_type_has_document_types?: IDeedTypeHasDocumentType[]; diff --git a/dist/Interfaces/IDocumentTypeAdmin.js b/dist/Interfaces/IDocumentTypeAdmin.js index fb3bfd4..4e7d96c 100644 --- a/dist/Interfaces/IDocumentTypeAdmin.js +++ b/dist/Interfaces/IDocumentTypeAdmin.js @@ -11,6 +11,12 @@ var __metadata = (this && this.__metadata) || function (k, v) { Object.defineProperty(exports, "__esModule", { value: true }); const class_validator_1 = require("class-validator"); class IDocumentTypeAdmin { + constructor() { + this.private_description = null; + this.archived_at = null; + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -26,20 +32,19 @@ __decorate([ ], IDocumentTypeAdmin.prototype, "public_description", void 0); __decorate([ (0, class_validator_1.IsOptional)(), - __metadata("design:type", String) + __metadata("design:type", Object) ], IDocumentTypeAdmin.prototype, "private_description", void 0); __decorate([ - (0, class_validator_1.IsOptional)(), (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IDocumentTypeAdmin.prototype, "archived_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IDocumentTypeAdmin.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IDocumentTypeAdmin.prototype, "updated_at", void 0); __decorate([ (0, class_validator_1.IsOptional)(), diff --git a/dist/Interfaces/IDocumentTypeAdmin.js.map b/dist/Interfaces/IDocumentTypeAdmin.js.map index 06b7838..30ad414 100644 --- a/dist/Interfaces/IDocumentTypeAdmin.js.map +++ b/dist/Interfaces/IDocumentTypeAdmin.js.map @@ -1 +1 @@ -{"version":3,"file":"IDocumentTypeAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IDocumentTypeAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAiE;AAKjE,MAAqB,kBAAkB;CA+BtC;AA9BC;IAAC,IAAA,4BAAU,GAAE;;gDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;gDACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8DACA;AAEnC;IAAC,IAAA,4BAAU,GAAE;;+DACuB;AAEpC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACY,IAAI;uDAAC;AAE1B;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;sDAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;sDAAC;AAEzB;IAAC,IAAA,4BAAU,GAAE;;qDACkB;AAE/B;IAAC,IAAA,4BAAU,GAAE;;mEAC2C;AAExD;IAAC,IAAA,4BAAU,GAAE;;wEACoD;AA9BnE,qCA+BC"} \ No newline at end of file +{"version":3,"file":"IDocumentTypeAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IDocumentTypeAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAiE;AAKjE,MAAqB,kBAAkB;IAAvC;QAWS,wBAAmB,GAAkB,IAAI,CAAC;QAG1C,gBAAW,GAAgB,IAAI,CAAC;QAGhC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAUxC,CAAC;CAAA;AA5BC;IADC,IAAA,4BAAU,GAAE;;gDACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;gDACd;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8DACA;AAGnC;IADC,IAAA,4BAAU,GAAE;;+DACoC;AAGjD;IADC,IAAA,wBAAM,GAAE;;uDAC8B;AAGvC;IADC,IAAA,wBAAM,GAAE;;sDAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;sDAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;qDACkB;AAG/B;IADC,IAAA,4BAAU,GAAE;;mEAC2C;AAGxD;IADC,IAAA,4BAAU,GAAE;;wEACoD;AA7BnE,qCA8BC"} \ No newline at end of file diff --git a/dist/Interfaces/IFile.d.ts b/dist/Interfaces/IFile.d.ts index ec1c3f8..0ba834b 100644 --- a/dist/Interfaces/IFile.d.ts +++ b/dist/Interfaces/IFile.d.ts @@ -2,7 +2,7 @@ import IDocument from "./IDocument"; export default class IFile { uuid: string; document: IDocument; - file_path?: string; - created_at?: Date; - updated_at?: Date; + file_path: string | null; + created_at: Date | null; + updated_at: Date | null; } diff --git a/dist/Interfaces/IFile.js b/dist/Interfaces/IFile.js index 5958227..afc8125 100644 --- a/dist/Interfaces/IFile.js +++ b/dist/Interfaces/IFile.js @@ -15,6 +15,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); const class_validator_1 = require("class-validator"); const IDocument_1 = __importDefault(require("./IDocument")); class IFile { + constructor() { + this.file_path = null; + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -26,15 +31,15 @@ __decorate([ ], IFile.prototype, "document", void 0); __decorate([ (0, class_validator_1.IsOptional)(), - __metadata("design:type", String) + __metadata("design:type", Object) ], IFile.prototype, "file_path", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IFile.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IFile.prototype, "updated_at", void 0); exports.default = IFile; //# sourceMappingURL=IFile.js.map \ No newline at end of file diff --git a/dist/Interfaces/IFile.js.map b/dist/Interfaces/IFile.js.map index 4c95f83..28f2844 100644 --- a/dist/Interfaces/IFile.js.map +++ b/dist/Interfaces/IFile.js.map @@ -1 +1 @@ -{"version":3,"file":"IFile.js","sourceRoot":"","sources":["../../src/Interfaces/IFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,4DAAoC;AAEpC,MAAqB,KAAK;CAezB;AAdC;IAAC,IAAA,4BAAU,GAAE;;mCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,mBAAS;uCAAC;AAE5B;IAAC,IAAA,4BAAU,GAAE;;wCACa;AAE1B;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;yCAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;yCAAC;AAd3B,wBAeC"} \ No newline at end of file +{"version":3,"file":"IFile.js","sourceRoot":"","sources":["../../src/Interfaces/IFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,4DAAoC;AAEpC,MAAqB,KAAK;IAA1B;QAQS,cAAS,GAAkB,IAAI,CAAC;QAGhC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAbC;IADC,IAAA,4BAAU,GAAE;;mCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,mBAAS;uCAAC;AAG5B;IADC,IAAA,4BAAU,GAAE;;wCAC0B;AAGvC;IADC,IAAA,wBAAM,GAAE;;yCAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;yCAC6B;AAdxC,wBAeC"} \ No newline at end of file diff --git a/dist/Interfaces/IFileAdmin.d.ts b/dist/Interfaces/IFileAdmin.d.ts index c60f10c..866b557 100644 --- a/dist/Interfaces/IFileAdmin.d.ts +++ b/dist/Interfaces/IFileAdmin.d.ts @@ -2,7 +2,7 @@ import IDocument from "./IDocumentAdmin"; export default class IFileAdmin { uuid: string; document: IDocument; - file_path?: string; - created_at?: Date; - updated_at?: Date; + file_path: string | null; + created_at: Date | null; + updated_at: Date | null; } diff --git a/dist/Interfaces/IFileAdmin.js b/dist/Interfaces/IFileAdmin.js index 169b8e6..bca61f1 100644 --- a/dist/Interfaces/IFileAdmin.js +++ b/dist/Interfaces/IFileAdmin.js @@ -15,6 +15,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); const class_validator_1 = require("class-validator"); const IDocumentAdmin_1 = __importDefault(require("./IDocumentAdmin")); class IFileAdmin { + constructor() { + this.file_path = null; + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -26,15 +31,15 @@ __decorate([ ], IFileAdmin.prototype, "document", void 0); __decorate([ (0, class_validator_1.IsOptional)(), - __metadata("design:type", String) + __metadata("design:type", Object) ], IFileAdmin.prototype, "file_path", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IFileAdmin.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IFileAdmin.prototype, "updated_at", void 0); exports.default = IFileAdmin; //# sourceMappingURL=IFileAdmin.js.map \ No newline at end of file diff --git a/dist/Interfaces/IFileAdmin.js.map b/dist/Interfaces/IFileAdmin.js.map index 2e9a91d..23f77bb 100644 --- a/dist/Interfaces/IFileAdmin.js.map +++ b/dist/Interfaces/IFileAdmin.js.map @@ -1 +1 @@ -{"version":3,"file":"IFileAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IFileAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,sEAAyC;AAEzC,MAAqB,UAAU;CAe9B;AAdC;IAAC,IAAA,4BAAU,GAAE;;wCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,wBAAS;4CAAC;AAE5B;IAAC,IAAA,4BAAU,GAAE;;6CACa;AAE1B;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;8CAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;8CAAC;AAd3B,6BAeC"} \ No newline at end of file +{"version":3,"file":"IFileAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IFileAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,sEAAyC;AAEzC,MAAqB,UAAU;IAA/B;QAQS,cAAS,GAAkB,IAAI,CAAC;QAGhC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAbC;IADC,IAAA,4BAAU,GAAE;;wCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,wBAAS;4CAAC;AAG5B;IADC,IAAA,4BAAU,GAAE;;6CAC0B;AAGvC;IADC,IAAA,wBAAM,GAAE;;8CAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;8CAC6B;AAdxC,6BAeC"} \ No newline at end of file diff --git a/dist/Interfaces/INotification.d.ts b/dist/Interfaces/INotification.d.ts index a5fc023..e4e4412 100644 --- a/dist/Interfaces/INotification.d.ts +++ b/dist/Interfaces/INotification.d.ts @@ -3,7 +3,7 @@ export default class INotification { uuid: string; message: string; redirection_url: string; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; user_has_notifications?: IUserHasNotification[]; } diff --git a/dist/Interfaces/INotification.js b/dist/Interfaces/INotification.js index 529834b..5a0c7a8 100644 --- a/dist/Interfaces/INotification.js +++ b/dist/Interfaces/INotification.js @@ -11,6 +11,10 @@ var __metadata = (this && this.__metadata) || function (k, v) { Object.defineProperty(exports, "__esModule", { value: true }); const class_validator_1 = require("class-validator"); class INotification { + constructor() { + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -27,11 +31,11 @@ __decorate([ ], INotification.prototype, "redirection_url", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], INotification.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], INotification.prototype, "updated_at", void 0); __decorate([ (0, class_validator_1.IsOptional)(), diff --git a/dist/Interfaces/INotification.js.map b/dist/Interfaces/INotification.js.map index 5552b6c..caadd44 100644 --- a/dist/Interfaces/INotification.js.map +++ b/dist/Interfaces/INotification.js.map @@ -1 +1 @@ -{"version":3,"file":"INotification.js","sourceRoot":"","sources":["../../src/Interfaces/INotification.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAwE;AAGxE,MAAqB,aAAa;CAmBjC;AAlBC;IAAC,IAAA,4BAAU,GAAE;;2CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8CACX;AAExB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;IAClC,IAAA,uBAAK,GAAE;;sDACwB;AAEhC;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;iDAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;iDAAC;AAEzB;IAAC,IAAA,4BAAU,GAAE;;6DACmC;AAlBlD,gCAmBC"} \ No newline at end of file +{"version":3,"file":"INotification.js","sourceRoot":"","sources":["../../src/Interfaces/INotification.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAwE;AAGxE,MAAqB,aAAa;IAAlC;QAYS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAIxC,CAAC;CAAA;AAjBC;IADC,IAAA,4BAAU,GAAE;;2CACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8CACX;AAIxB;IAFC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;IAClC,IAAA,uBAAK,GAAE;;sDACwB;AAGhC;IADC,IAAA,wBAAM,GAAE;;iDAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;iDAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;6DACmC;AAlBlD,gCAmBC"} \ No newline at end of file diff --git a/dist/Interfaces/INotificationAdmin.d.ts b/dist/Interfaces/INotificationAdmin.d.ts index 2ea1250..23f45c5 100644 --- a/dist/Interfaces/INotificationAdmin.d.ts +++ b/dist/Interfaces/INotificationAdmin.d.ts @@ -3,7 +3,7 @@ export default class INotificationAdmin { uuid: string; message: string; redirection_url: string; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; user_has_notifications?: IUserHasNotification[]; } diff --git a/dist/Interfaces/INotificationAdmin.js b/dist/Interfaces/INotificationAdmin.js index 114c768..4888d45 100644 --- a/dist/Interfaces/INotificationAdmin.js +++ b/dist/Interfaces/INotificationAdmin.js @@ -11,6 +11,10 @@ var __metadata = (this && this.__metadata) || function (k, v) { Object.defineProperty(exports, "__esModule", { value: true }); const class_validator_1 = require("class-validator"); class INotificationAdmin { + constructor() { + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -27,11 +31,11 @@ __decorate([ ], INotificationAdmin.prototype, "redirection_url", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], INotificationAdmin.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], INotificationAdmin.prototype, "updated_at", void 0); __decorate([ (0, class_validator_1.IsOptional)(), diff --git a/dist/Interfaces/INotificationAdmin.js.map b/dist/Interfaces/INotificationAdmin.js.map index d702add..833c2d4 100644 --- a/dist/Interfaces/INotificationAdmin.js.map +++ b/dist/Interfaces/INotificationAdmin.js.map @@ -1 +1 @@ -{"version":3,"file":"INotificationAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/INotificationAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAwE;AAGxE,MAAqB,kBAAkB;CAmBtC;AAlBC;IAAC,IAAA,4BAAU,GAAE;;gDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;mDACX;AAExB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;IAClC,IAAA,uBAAK,GAAE;;2DACwB;AAEhC;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;sDAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;sDAAC;AAEzB;IAAC,IAAA,4BAAU,GAAE;;kEACmC;AAlBlD,qCAmBC"} \ No newline at end of file +{"version":3,"file":"INotificationAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/INotificationAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAwE;AAGxE,MAAqB,kBAAkB;IAAvC;QAYS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAIxC,CAAC;CAAA;AAjBC;IADC,IAAA,4BAAU,GAAE;;gDACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;mDACX;AAIxB;IAFC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;IAClC,IAAA,uBAAK,GAAE;;2DACwB;AAGhC;IADC,IAAA,wBAAM,GAAE;;sDAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;sDAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;kEACmC;AAlBlD,qCAmBC"} \ No newline at end of file diff --git a/dist/Interfaces/IOffice.d.ts b/dist/Interfaces/IOffice.d.ts index d256d1b..0f359c0 100644 --- a/dist/Interfaces/IOffice.d.ts +++ b/dist/Interfaces/IOffice.d.ts @@ -10,8 +10,8 @@ export default class IOffice { crpcen: string; address: IAddress; office_status: EOfficeStatus; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; deed_types?: IDeedType[]; users?: IUser[]; office_folders?: IOfficeFolder[]; diff --git a/dist/Interfaces/IOffice.js b/dist/Interfaces/IOffice.js index 4e82d3e..421875f 100644 --- a/dist/Interfaces/IOffice.js +++ b/dist/Interfaces/IOffice.js @@ -14,8 +14,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) { Object.defineProperty(exports, "__esModule", { value: true }); const class_validator_1 = require("class-validator"); const IAddress_1 = __importDefault(require("./IAddress")); -const Enums_1 = require("../Enums/Enums"); class IOffice { + constructor() { + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -39,16 +42,15 @@ __decorate([ ], IOffice.prototype, "address", void 0); __decorate([ (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - (0, class_validator_1.IsEnum)(Enums_1.EOfficeStatus), - __metadata("design:type", Number) + __metadata("design:type", String) ], IOffice.prototype, "office_status", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IOffice.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IOffice.prototype, "updated_at", void 0); __decorate([ (0, class_validator_1.IsOptional)(), diff --git a/dist/Interfaces/IOffice.js.map b/dist/Interfaces/IOffice.js.map index 282ac0c..7c8a74f 100644 --- a/dist/Interfaces/IOffice.js.map +++ b/dist/Interfaces/IOffice.js.map @@ -1 +1 @@ -{"version":3,"file":"IOffice.js","sourceRoot":"","sources":["../../src/Interfaces/IOffice.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAyE;AACzE,0DAAkC;AAClC,0CAA+C;AAK/C,MAAqB,OAAO;CAkC3B;AAjCC;IAAC,IAAA,4BAAU,GAAE;;qCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;sCACb;AAEtB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;qCACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;uCACZ;AAEvB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;wCAAC;AAE1B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;IAClC,IAAA,wBAAM,EAAC,qBAAa,CAAC;;8CACe;AAErC;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;2CAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;2CAAC;AAEzB;IAAC,IAAA,4BAAU,GAAE;;2CACY;AAEzB;IAAC,IAAA,4BAAU,GAAE;;sCACG;AAEhB;IAAC,IAAA,4BAAU,GAAE;;+CACoB;AAjCnC,0BAkCC"} \ No newline at end of file +{"version":3,"file":"IOffice.js","sourceRoot":"","sources":["../../src/Interfaces/IOffice.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,0DAAkC;AAMlC,MAAqB,OAAO;IAA5B;QAoBS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAUxC,CAAC;CAAA;AA/BC;IADC,IAAA,4BAAU,GAAE;;qCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;sCACb;AAGtB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;qCACd;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;uCACZ;AAGvB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;wCAAC;AAG1B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8CACE;AAGrC;IADC,IAAA,wBAAM,GAAE;;2CAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;2CAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;2CACY;AAGzB;IADC,IAAA,4BAAU,GAAE;;sCACG;AAGhB;IADC,IAAA,4BAAU,GAAE;;+CACoB;AAhCnC,0BAiCC"} \ No newline at end of file diff --git a/dist/Interfaces/IOfficeAdmin.d.ts b/dist/Interfaces/IOfficeAdmin.d.ts index 7889d85..eaaa1cb 100644 --- a/dist/Interfaces/IOfficeAdmin.d.ts +++ b/dist/Interfaces/IOfficeAdmin.d.ts @@ -2,7 +2,7 @@ import IAddress from "./IAddressAdmin"; import { EOfficeStatus } from "../Enums/Enums"; import IUser from "./IUserAdmin"; import IOfficeFolder from "./IOfficeFolderAdmin"; -import IDeedType from "./IDeedTypeAdmin"; +import IDeedType from "./IDeedTypesAdmin"; export default class IOfficeAdmin { uuid: string; idNot: string; @@ -10,8 +10,8 @@ export default class IOfficeAdmin { crpcen: string; address: IAddress; office_status: EOfficeStatus; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; deed_types?: IDeedType[]; users?: IUser[]; office_folders?: IOfficeFolder[]; diff --git a/dist/Interfaces/IOfficeAdmin.js b/dist/Interfaces/IOfficeAdmin.js index 66606c3..04954ea 100644 --- a/dist/Interfaces/IOfficeAdmin.js +++ b/dist/Interfaces/IOfficeAdmin.js @@ -14,8 +14,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) { Object.defineProperty(exports, "__esModule", { value: true }); const class_validator_1 = require("class-validator"); const IAddressAdmin_1 = __importDefault(require("./IAddressAdmin")); -const Enums_1 = require("../Enums/Enums"); class IOfficeAdmin { + constructor() { + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -39,16 +42,15 @@ __decorate([ ], IOfficeAdmin.prototype, "address", void 0); __decorate([ (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - (0, class_validator_1.IsEnum)(Enums_1.EOfficeStatus), - __metadata("design:type", Number) + __metadata("design:type", String) ], IOfficeAdmin.prototype, "office_status", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IOfficeAdmin.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IOfficeAdmin.prototype, "updated_at", void 0); __decorate([ (0, class_validator_1.IsOptional)(), diff --git a/dist/Interfaces/IOfficeAdmin.js.map b/dist/Interfaces/IOfficeAdmin.js.map index a25e55c..1604221 100644 --- a/dist/Interfaces/IOfficeAdmin.js.map +++ b/dist/Interfaces/IOfficeAdmin.js.map @@ -1 +1 @@ -{"version":3,"file":"IOfficeAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IOfficeAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAyE;AACzE,oEAAuC;AACvC,0CAA+C;AAK/C,MAAqB,YAAY;CAkChC;AAjCC;IAAC,IAAA,4BAAU,GAAE;;0CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACb;AAEtB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;0CACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;4CACZ;AAEvB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,uBAAQ;6CAAC;AAE1B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;IAClC,IAAA,wBAAM,EAAC,qBAAa,CAAC;;mDACe;AAErC;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;gDAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;gDAAC;AAEzB;IAAC,IAAA,4BAAU,GAAE;;gDACY;AAEzB;IAAC,IAAA,4BAAU,GAAE;;2CACG;AAEhB;IAAC,IAAA,4BAAU,GAAE;;oDACoB;AAjCnC,+BAkCC"} \ No newline at end of file +{"version":3,"file":"IOfficeAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IOfficeAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,oEAAuC;AAMvC,MAAqB,YAAY;IAAjC;QAoBS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAUxC,CAAC;CAAA;AA/BC;IADC,IAAA,4BAAU,GAAE;;0CACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACb;AAGtB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;0CACd;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;4CACZ;AAGvB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,uBAAQ;6CAAC;AAG1B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;mDACE;AAGrC;IADC,IAAA,wBAAM,GAAE;;gDAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;gDAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;gDACY;AAGzB;IADC,IAAA,4BAAU,GAAE;;2CACG;AAGhB;IADC,IAAA,4BAAU,GAAE;;oDACoB;AAhCnC,+BAiCC"} \ No newline at end of file diff --git a/dist/Interfaces/IOfficeFolder.d.ts b/dist/Interfaces/IOfficeFolder.d.ts index 19727fb..9315b19 100644 --- a/dist/Interfaces/IOfficeFolder.d.ts +++ b/dist/Interfaces/IOfficeFolder.d.ts @@ -8,13 +8,13 @@ export default class IOfficeFolder { uuid: string; folder_number: string; name: string; - description?: string; - archived_description?: string; + description: string | null; + archived_description: string | null; status: EFolderStatus; deed: IDeed; office: IOffice; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; office_folder_has_customers?: IOfficeFolderHasCustomer[]; office_folder_has_stakeholder?: IOfficeFolderHasStakeholder[]; documents?: IDocument[]; diff --git a/dist/Interfaces/IOfficeFolder.js b/dist/Interfaces/IOfficeFolder.js index 440bee1..7f2439d 100644 --- a/dist/Interfaces/IOfficeFolder.js +++ b/dist/Interfaces/IOfficeFolder.js @@ -13,10 +13,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) { }; Object.defineProperty(exports, "__esModule", { value: true }); const class_validator_1 = require("class-validator"); -const Enums_1 = require("../Enums/Enums"); const IDeed_1 = __importDefault(require("./IDeed")); const IOffice_1 = __importDefault(require("./IOffice")); class IOfficeFolder { + constructor() { + this.description = null; + this.archived_description = null; + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -32,16 +37,15 @@ __decorate([ ], IOfficeFolder.prototype, "name", void 0); __decorate([ (0, class_validator_1.IsOptional)(), - __metadata("design:type", String) + __metadata("design:type", Object) ], IOfficeFolder.prototype, "description", void 0); __decorate([ (0, class_validator_1.IsOptional)(), - __metadata("design:type", String) + __metadata("design:type", Object) ], IOfficeFolder.prototype, "archived_description", void 0); __decorate([ (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - (0, class_validator_1.IsEnum)(Enums_1.EFolderStatus), - __metadata("design:type", Number) + __metadata("design:type", String) ], IOfficeFolder.prototype, "status", void 0); __decorate([ (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), @@ -53,11 +57,11 @@ __decorate([ ], IOfficeFolder.prototype, "office", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IOfficeFolder.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IOfficeFolder.prototype, "updated_at", void 0); __decorate([ (0, class_validator_1.IsOptional)(), diff --git a/dist/Interfaces/IOfficeFolder.js.map b/dist/Interfaces/IOfficeFolder.js.map index 9e26d97..99742a0 100644 --- a/dist/Interfaces/IOfficeFolder.js.map +++ b/dist/Interfaces/IOfficeFolder.js.map @@ -1 +1 @@ -{"version":3,"file":"IOfficeFolder.js","sourceRoot":"","sources":["../../src/Interfaces/IOfficeFolder.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAyE;AACzE,0CAA+C;AAC/C,oDAA4B;AAE5B,wDAAgC;AAIhC,MAAqB,aAAa;CAwCjC;AAvCC;IAAC,IAAA,4BAAU,GAAE;;2CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;oDACL;AAE9B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACd;AAErB;IAAC,IAAA,4BAAU,GAAE;;kDACe;AAE5B;IAAC,IAAA,4BAAU,GAAE;;2DACwB;AAErC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;IAClC,IAAA,wBAAM,EAAC,qBAAa,CAAC;;6CACQ;AAE9B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,eAAK;2CAAC;AAEpB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,iBAAO;6CAAC;AAExB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;iDAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;iDAAC;AAEzB;IAAC,IAAA,4BAAU,GAAE;;kEAC4C;AAEzD;IAAC,IAAA,4BAAU,GAAE;;oEACiD;AAE9D;IAAC,IAAA,4BAAU,GAAE;;gDACW;AAvC1B,gCAwCC"} \ No newline at end of file +{"version":3,"file":"IOfficeFolder.js","sourceRoot":"","sources":["../../src/Interfaces/IOfficeFolder.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAEjE,oDAA4B;AAE5B,wDAAgC;AAIhC,MAAqB,aAAa;IAAlC;QAWS,gBAAW,GAAkB,IAAI,CAAC;QAGlC,yBAAoB,GAAkB,IAAI,CAAC;QAY3C,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAUxC,CAAC;CAAA;AArCC;IADC,IAAA,4BAAU,GAAE;;2CACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;oDACL;AAG9B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACd;AAGrB;IADC,IAAA,4BAAU,GAAE;;kDAC4B;AAGzC;IADC,IAAA,4BAAU,GAAE;;2DACqC;AAGlD;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;6CACL;AAG9B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,eAAK;2CAAC;AAGpB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,iBAAO;6CAAC;AAGxB;IADC,IAAA,wBAAM,GAAE;;iDAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;iDAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;kEAC4C;AAGzD;IADC,IAAA,4BAAU,GAAE;;oEACiD;AAG9D;IADC,IAAA,4BAAU,GAAE;;gDACW;AAtC1B,gCAuCC"} \ No newline at end of file diff --git a/dist/Interfaces/IOfficeFolderAdmin.d.ts b/dist/Interfaces/IOfficeFolderAdmin.d.ts index 6eec027..166def5 100644 --- a/dist/Interfaces/IOfficeFolderAdmin.d.ts +++ b/dist/Interfaces/IOfficeFolderAdmin.d.ts @@ -8,13 +8,13 @@ export default class IOfficeFolderAdmin { uuid: string; folder_number: string; name: string; - description?: string; - archived_description?: string; + description: string | null; + archived_description: string | null; status: EFolderStatus; deed: IDeed; office: IOffice; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; office_folder_has_customers?: IOfficeFolderHasCustomer[]; office_folder_has_stakeholder?: IOfficeFolderHasStakeholder[]; documents?: IDocument[]; diff --git a/dist/Interfaces/IOfficeFolderAdmin.js b/dist/Interfaces/IOfficeFolderAdmin.js index c3471c4..3d32234 100644 --- a/dist/Interfaces/IOfficeFolderAdmin.js +++ b/dist/Interfaces/IOfficeFolderAdmin.js @@ -13,10 +13,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) { }; Object.defineProperty(exports, "__esModule", { value: true }); const class_validator_1 = require("class-validator"); -const Enums_1 = require("../Enums/Enums"); const IDeed_1 = __importDefault(require("./IDeed")); const IOfficeAdmin_1 = __importDefault(require("./IOfficeAdmin")); class IOfficeFolderAdmin { + constructor() { + this.description = null; + this.archived_description = null; + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -32,16 +37,15 @@ __decorate([ ], IOfficeFolderAdmin.prototype, "name", void 0); __decorate([ (0, class_validator_1.IsOptional)(), - __metadata("design:type", String) + __metadata("design:type", Object) ], IOfficeFolderAdmin.prototype, "description", void 0); __decorate([ (0, class_validator_1.IsOptional)(), - __metadata("design:type", String) + __metadata("design:type", Object) ], IOfficeFolderAdmin.prototype, "archived_description", void 0); __decorate([ (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), - (0, class_validator_1.IsEnum)(Enums_1.EFolderStatus), - __metadata("design:type", Number) + __metadata("design:type", String) ], IOfficeFolderAdmin.prototype, "status", void 0); __decorate([ (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), @@ -53,11 +57,11 @@ __decorate([ ], IOfficeFolderAdmin.prototype, "office", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IOfficeFolderAdmin.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IOfficeFolderAdmin.prototype, "updated_at", void 0); __decorate([ (0, class_validator_1.IsOptional)(), diff --git a/dist/Interfaces/IOfficeFolderAdmin.js.map b/dist/Interfaces/IOfficeFolderAdmin.js.map index a85cc7f..0e805da 100644 --- a/dist/Interfaces/IOfficeFolderAdmin.js.map +++ b/dist/Interfaces/IOfficeFolderAdmin.js.map @@ -1 +1 @@ -{"version":3,"file":"IOfficeFolderAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IOfficeFolderAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAyE;AACzE,0CAA+C;AAC/C,oDAA4B;AAE5B,kEAAqC;AAIrC,MAAqB,kBAAkB;CAwCtC;AAvCC;IAAC,IAAA,4BAAU,GAAE;;gDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yDACL;AAE9B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;gDACd;AAErB;IAAC,IAAA,4BAAU,GAAE;;uDACe;AAE5B;IAAC,IAAA,4BAAU,GAAE;;gEACwB;AAErC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;IAClC,IAAA,wBAAM,EAAC,qBAAa,CAAC;;kDACQ;AAE9B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,eAAK;gDAAC;AAEpB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,sBAAO;kDAAC;AAExB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;sDAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;sDAAC;AAEzB;IAAC,IAAA,4BAAU,GAAE;;uEAC4C;AAEzD;IAAC,IAAA,4BAAU,GAAE;;yEACiD;AAE9D;IAAC,IAAA,4BAAU,GAAE;;qDACW;AAvC1B,qCAwCC"} \ No newline at end of file +{"version":3,"file":"IOfficeFolderAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IOfficeFolderAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAEjE,oDAA4B;AAE5B,kEAAqC;AAIrC,MAAqB,kBAAkB;IAAvC;QAWS,gBAAW,GAAkB,IAAI,CAAC;QAGlC,yBAAoB,GAAkB,IAAI,CAAC;QAY3C,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAUxC,CAAC;CAAA;AArCC;IADC,IAAA,4BAAU,GAAE;;gDACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yDACL;AAG9B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;gDACd;AAGrB;IADC,IAAA,4BAAU,GAAE;;uDAC4B;AAGzC;IADC,IAAA,4BAAU,GAAE;;gEACqC;AAGlD;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;kDACL;AAG9B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,eAAK;gDAAC;AAGpB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,sBAAO;kDAAC;AAGxB;IADC,IAAA,wBAAM,GAAE;;sDAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;sDAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;uEAC4C;AAGzD;IADC,IAAA,4BAAU,GAAE;;yEACiD;AAG9D;IADC,IAAA,4BAAU,GAAE;;qDACW;AAtC1B,qCAuCC"} \ No newline at end of file diff --git a/dist/Interfaces/IOfficeFolderHasCustomer.d.ts b/dist/Interfaces/IOfficeFolderHasCustomer.d.ts index 0bf28ee..adaf676 100644 --- a/dist/Interfaces/IOfficeFolderHasCustomer.d.ts +++ b/dist/Interfaces/IOfficeFolderHasCustomer.d.ts @@ -4,6 +4,6 @@ export default class IOfficeFolderHasCustomer { uuid: string; customer: ICustomer; office_folder: IOfficeFolder; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; } diff --git a/dist/Interfaces/IOfficeFolderHasCustomer.js b/dist/Interfaces/IOfficeFolderHasCustomer.js index 81c66bc..c8252a5 100644 --- a/dist/Interfaces/IOfficeFolderHasCustomer.js +++ b/dist/Interfaces/IOfficeFolderHasCustomer.js @@ -16,6 +16,10 @@ const class_validator_1 = require("class-validator"); const ICustomer_1 = __importDefault(require("./ICustomer")); const IOfficeFolder_1 = __importDefault(require("./IOfficeFolder")); class IOfficeFolderHasCustomer { + constructor() { + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -31,11 +35,11 @@ __decorate([ ], IOfficeFolderHasCustomer.prototype, "office_folder", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IOfficeFolderHasCustomer.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IOfficeFolderHasCustomer.prototype, "updated_at", void 0); exports.default = IOfficeFolderHasCustomer; //# sourceMappingURL=IOfficeFolderHasCustomer.js.map \ No newline at end of file diff --git a/dist/Interfaces/IOfficeFolderHasCustomer.js.map b/dist/Interfaces/IOfficeFolderHasCustomer.js.map index db5c458..071236d 100644 --- a/dist/Interfaces/IOfficeFolderHasCustomer.js.map +++ b/dist/Interfaces/IOfficeFolderHasCustomer.js.map @@ -1 +1 @@ -{"version":3,"file":"IOfficeFolderHasCustomer.js","sourceRoot":"","sources":["../../src/Interfaces/IOfficeFolderHasCustomer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,4DAAoC;AACpC,oEAA4C;AAE5C,MAAqB,wBAAwB;CAe5C;AAdC;IAAC,IAAA,4BAAU,GAAE;;sDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,mBAAS;0DAAC;AAE5B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;+DAAC;AAErC;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;4DAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;4DAAC;AAd3B,2CAeC"} \ No newline at end of file +{"version":3,"file":"IOfficeFolderHasCustomer.js","sourceRoot":"","sources":["../../src/Interfaces/IOfficeFolderHasCustomer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,4DAAoC;AACpC,oEAA4C;AAE5C,MAAqB,wBAAwB;IAA7C;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAbC;IADC,IAAA,4BAAU,GAAE;;sDACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,mBAAS;0DAAC;AAG5B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;+DAAC;AAGrC;IADC,IAAA,wBAAM,GAAE;;4DAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;4DAC6B;AAdxC,2CAeC"} \ No newline at end of file diff --git a/dist/Interfaces/IOfficeFolderHasCustomerAdmin.d.ts b/dist/Interfaces/IOfficeFolderHasCustomerAdmin.d.ts index 3aadd51..d5cd036 100644 --- a/dist/Interfaces/IOfficeFolderHasCustomerAdmin.d.ts +++ b/dist/Interfaces/IOfficeFolderHasCustomerAdmin.d.ts @@ -4,6 +4,6 @@ export default class IOfficeFolderHasCustomerAdmin { uuid: string; customer: ICustomer; office_folder: IOfficeFolder; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; } diff --git a/dist/Interfaces/IOfficeFolderHasCustomerAdmin.js b/dist/Interfaces/IOfficeFolderHasCustomerAdmin.js index 932c4cc..2e8bca0 100644 --- a/dist/Interfaces/IOfficeFolderHasCustomerAdmin.js +++ b/dist/Interfaces/IOfficeFolderHasCustomerAdmin.js @@ -16,6 +16,10 @@ const class_validator_1 = require("class-validator"); const ICustomerAdmin_1 = __importDefault(require("./ICustomerAdmin")); const IOfficeFolderAdmin_1 = __importDefault(require("./IOfficeFolderAdmin")); class IOfficeFolderHasCustomerAdmin { + constructor() { + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -31,11 +35,11 @@ __decorate([ ], IOfficeFolderHasCustomerAdmin.prototype, "office_folder", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IOfficeFolderHasCustomerAdmin.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IOfficeFolderHasCustomerAdmin.prototype, "updated_at", void 0); exports.default = IOfficeFolderHasCustomerAdmin; //# sourceMappingURL=IOfficeFolderHasCustomerAdmin.js.map \ No newline at end of file diff --git a/dist/Interfaces/IOfficeFolderHasCustomerAdmin.js.map b/dist/Interfaces/IOfficeFolderHasCustomerAdmin.js.map index a4ead39..e22133b 100644 --- a/dist/Interfaces/IOfficeFolderHasCustomerAdmin.js.map +++ b/dist/Interfaces/IOfficeFolderHasCustomerAdmin.js.map @@ -1 +1 @@ -{"version":3,"file":"IOfficeFolderHasCustomerAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IOfficeFolderHasCustomerAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,sEAAyC;AACzC,8EAAiD;AAEjD,MAAqB,6BAA6B;CAejD;AAdC;IAAC,IAAA,4BAAU,GAAE;;2DACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,wBAAS;+DAAC;AAE5B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,4BAAa;oEAAC;AAErC;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;iEAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;iEAAC;AAd3B,gDAeC"} \ No newline at end of file +{"version":3,"file":"IOfficeFolderHasCustomerAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IOfficeFolderHasCustomerAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,sEAAyC;AACzC,8EAAiD;AAEjD,MAAqB,6BAA6B;IAAlD;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAbC;IADC,IAAA,4BAAU,GAAE;;2DACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,wBAAS;+DAAC;AAG5B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,4BAAa;oEAAC;AAGrC;IADC,IAAA,wBAAM,GAAE;;iEAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;iEAC6B;AAdxC,gDAeC"} \ No newline at end of file diff --git a/dist/Interfaces/IOfficeFolderHasStakeholder.d.ts b/dist/Interfaces/IOfficeFolderHasStakeholder.d.ts index acff29a..e0fe8bc 100644 --- a/dist/Interfaces/IOfficeFolderHasStakeholder.d.ts +++ b/dist/Interfaces/IOfficeFolderHasStakeholder.d.ts @@ -4,6 +4,6 @@ export default class IOfficeFolderHasStakeholder { uuid: string; user_stakeholder: IUser; office_folder: IOfficeFolder; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; } diff --git a/dist/Interfaces/IOfficeFolderHasStakeholder.js b/dist/Interfaces/IOfficeFolderHasStakeholder.js index 2a9534c..5f53465 100644 --- a/dist/Interfaces/IOfficeFolderHasStakeholder.js +++ b/dist/Interfaces/IOfficeFolderHasStakeholder.js @@ -16,6 +16,10 @@ const class_validator_1 = require("class-validator"); const IOfficeFolder_1 = __importDefault(require("./IOfficeFolder")); const IUser_1 = __importDefault(require("./IUser")); class IOfficeFolderHasStakeholder { + constructor() { + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -31,11 +35,11 @@ __decorate([ ], IOfficeFolderHasStakeholder.prototype, "office_folder", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IOfficeFolderHasStakeholder.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IOfficeFolderHasStakeholder.prototype, "updated_at", void 0); exports.default = IOfficeFolderHasStakeholder; //# sourceMappingURL=IOfficeFolderHasStakeholder.js.map \ No newline at end of file diff --git a/dist/Interfaces/IOfficeFolderHasStakeholder.js.map b/dist/Interfaces/IOfficeFolderHasStakeholder.js.map index 2389af6..5505af7 100644 --- a/dist/Interfaces/IOfficeFolderHasStakeholder.js.map +++ b/dist/Interfaces/IOfficeFolderHasStakeholder.js.map @@ -1 +1 @@ -{"version":3,"file":"IOfficeFolderHasStakeholder.js","sourceRoot":"","sources":["../../src/Interfaces/IOfficeFolderHasStakeholder.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,oEAA4C;AAC5C,oDAA4B;AAE5B,MAAqB,2BAA2B;CAe/C;AAdC;IAAC,IAAA,4BAAU,GAAE;;yDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACT,eAAK;qEAAC;AAEhC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;kEAAC;AAErC;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;+DAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;+DAAC;AAd3B,8CAeC"} \ No newline at end of file +{"version":3,"file":"IOfficeFolderHasStakeholder.js","sourceRoot":"","sources":["../../src/Interfaces/IOfficeFolderHasStakeholder.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,oEAA4C;AAC5C,oDAA4B;AAE5B,MAAqB,2BAA2B;IAAhD;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAbC;IADC,IAAA,4BAAU,GAAE;;yDACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACT,eAAK;qEAAC;AAGhC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;kEAAC;AAGrC;IADC,IAAA,wBAAM,GAAE;;+DAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;+DAC6B;AAdxC,8CAeC"} \ No newline at end of file diff --git a/dist/Interfaces/IOfficeFolderHasStakeholderAdmin.d.ts b/dist/Interfaces/IOfficeFolderHasStakeholderAdmin.d.ts index dc21f03..c033256 100644 --- a/dist/Interfaces/IOfficeFolderHasStakeholderAdmin.d.ts +++ b/dist/Interfaces/IOfficeFolderHasStakeholderAdmin.d.ts @@ -4,6 +4,6 @@ export default class IOfficeFolderHasStakeholderAdmin { uuid: string; user_stakeholder: IUser; office_folder: IOfficeFolder; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; } diff --git a/dist/Interfaces/IOfficeFolderHasStakeholderAdmin.js b/dist/Interfaces/IOfficeFolderHasStakeholderAdmin.js index fac42bb..c791d75 100644 --- a/dist/Interfaces/IOfficeFolderHasStakeholderAdmin.js +++ b/dist/Interfaces/IOfficeFolderHasStakeholderAdmin.js @@ -16,6 +16,10 @@ const class_validator_1 = require("class-validator"); const IOfficeFolderAdmin_1 = __importDefault(require("./IOfficeFolderAdmin")); const IUserAdmin_1 = __importDefault(require("./IUserAdmin")); class IOfficeFolderHasStakeholderAdmin { + constructor() { + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -31,11 +35,11 @@ __decorate([ ], IOfficeFolderHasStakeholderAdmin.prototype, "office_folder", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IOfficeFolderHasStakeholderAdmin.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IOfficeFolderHasStakeholderAdmin.prototype, "updated_at", void 0); exports.default = IOfficeFolderHasStakeholderAdmin; //# sourceMappingURL=IOfficeFolderHasStakeholderAdmin.js.map \ No newline at end of file diff --git a/dist/Interfaces/IOfficeFolderHasStakeholderAdmin.js.map b/dist/Interfaces/IOfficeFolderHasStakeholderAdmin.js.map index 836b4bf..3d381ce 100644 --- a/dist/Interfaces/IOfficeFolderHasStakeholderAdmin.js.map +++ b/dist/Interfaces/IOfficeFolderHasStakeholderAdmin.js.map @@ -1 +1 @@ -{"version":3,"file":"IOfficeFolderHasStakeholderAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IOfficeFolderHasStakeholderAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,8EAAiD;AACjD,8DAAiC;AAEjC,MAAqB,gCAAgC;CAepD;AAdC;IAAC,IAAA,4BAAU,GAAE;;8DACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACT,oBAAK;0EAAC;AAEhC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,4BAAa;uEAAC;AAErC;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;oEAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;oEAAC;AAd3B,mDAeC"} \ No newline at end of file +{"version":3,"file":"IOfficeFolderHasStakeholderAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IOfficeFolderHasStakeholderAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,8EAAiD;AACjD,8DAAiC;AAEjC,MAAqB,gCAAgC;IAArD;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAbC;IADC,IAAA,4BAAU,GAAE;;8DACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACT,oBAAK;0EAAC;AAGhC;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,4BAAa;uEAAC;AAGrC;IADC,IAAA,wBAAM,GAAE;;oEAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;oEAC6B;AAdxC,mDAeC"} \ No newline at end of file diff --git a/dist/Interfaces/IUser.d.ts b/dist/Interfaces/IUser.d.ts index 99c38f2..49119ea 100644 --- a/dist/Interfaces/IUser.d.ts +++ b/dist/Interfaces/IUser.d.ts @@ -7,8 +7,8 @@ export default class IUser { idNot: string; contact: IContact; office_membership: OfficesEntity; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; office_folder_has_stakeholders?: IOfficeFolderHasStakeholder[]; documents?: IDocument; } diff --git a/dist/Interfaces/IUser.js b/dist/Interfaces/IUser.js index bef5a60..1c681ff 100644 --- a/dist/Interfaces/IUser.js +++ b/dist/Interfaces/IUser.js @@ -17,6 +17,10 @@ const IContact_1 = __importDefault(require("./IContact")); const IDocument_1 = __importDefault(require("./IDocument")); const IOffice_1 = __importDefault(require("./IOffice")); class IUser { + constructor() { + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -36,11 +40,11 @@ __decorate([ ], IUser.prototype, "office_membership", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IUser.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IUser.prototype, "updated_at", void 0); __decorate([ (0, class_validator_1.IsOptional)(), diff --git a/dist/Interfaces/IUser.js.map b/dist/Interfaces/IUser.js.map index 42edd84..45e5fd1 100644 --- a/dist/Interfaces/IUser.js.map +++ b/dist/Interfaces/IUser.js.map @@ -1 +1 @@ -{"version":3,"file":"IUser.js","sourceRoot":"","sources":["../../src/Interfaces/IUser.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,0DAAkC;AAClC,4DAAoC;AACpC,wDAAsC;AAGtC,MAAqB,KAAK;CAwBzB;AAvBC;IAAC,IAAA,4BAAU,GAAE;;mCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;oCACb;AAEtB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;sCAAC;AAE1B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACR,iBAAa;gDAAC;AAEzC;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;yCAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;yCAAC;AAEzB;IAAC,IAAA,4BAAU,GAAE;;6DACkD;AAE/D;IAAC,IAAA,4BAAU,GAAE;8BACD,mBAAS;wCAAC;AAvBxB,wBAwBC"} \ No newline at end of file +{"version":3,"file":"IUser.js","sourceRoot":"","sources":["../../src/Interfaces/IUser.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,0DAAkC;AAClC,4DAAoC;AACpC,wDAAsC;AAGtC,MAAqB,KAAK;IAA1B;QAcS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAtBC;IADC,IAAA,4BAAU,GAAE;;mCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;oCACb;AAGtB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;sCAAC;AAG1B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACR,iBAAa;gDAAC;AAGzC;IADC,IAAA,wBAAM,GAAE;;yCAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;yCAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;6DACkD;AAG/D;IADC,IAAA,4BAAU,GAAE;8BACD,mBAAS;wCAAC;AAvBxB,wBAwBC"} \ No newline at end of file diff --git a/dist/Interfaces/IUserAdmin.d.ts b/dist/Interfaces/IUserAdmin.d.ts index a201f0a..f27984f 100644 --- a/dist/Interfaces/IUserAdmin.d.ts +++ b/dist/Interfaces/IUserAdmin.d.ts @@ -7,8 +7,8 @@ export default class IUserAdmin { idNot: string; contact: IContact; office_membership: OfficesEntity; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; office_folder_has_stakeholders?: IOfficeFolderHasStakeholder[]; documents?: IDocument; } diff --git a/dist/Interfaces/IUserAdmin.js b/dist/Interfaces/IUserAdmin.js index 4c9dbea..adbc7d3 100644 --- a/dist/Interfaces/IUserAdmin.js +++ b/dist/Interfaces/IUserAdmin.js @@ -17,6 +17,10 @@ const IContactAdmin_1 = __importDefault(require("./IContactAdmin")); const IDocumentAdmin_1 = __importDefault(require("./IDocumentAdmin")); const IOfficeAdmin_1 = __importDefault(require("./IOfficeAdmin")); class IUserAdmin { + constructor() { + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -36,11 +40,11 @@ __decorate([ ], IUserAdmin.prototype, "office_membership", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IUserAdmin.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IUserAdmin.prototype, "updated_at", void 0); __decorate([ (0, class_validator_1.IsOptional)(), diff --git a/dist/Interfaces/IUserAdmin.js.map b/dist/Interfaces/IUserAdmin.js.map index 9c88c35..0196830 100644 --- a/dist/Interfaces/IUserAdmin.js.map +++ b/dist/Interfaces/IUserAdmin.js.map @@ -1 +1 @@ -{"version":3,"file":"IUserAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IUserAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,oEAAuC;AACvC,sEAAyC;AACzC,kEAA2C;AAG3C,MAAqB,UAAU;CAwB9B;AAvBC;IAAC,IAAA,4BAAU,GAAE;;wCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yCACb;AAEtB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,uBAAQ;2CAAC;AAE1B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACR,sBAAa;qDAAC;AAEzC;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;8CAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;8CAAC;AAEzB;IAAC,IAAA,4BAAU,GAAE;;kEACkD;AAE/D;IAAC,IAAA,4BAAU,GAAE;8BACD,wBAAS;6CAAC;AAvBxB,6BAwBC"} \ No newline at end of file +{"version":3,"file":"IUserAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IUserAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,oEAAuC;AACvC,sEAAyC;AACzC,kEAA2C;AAG3C,MAAqB,UAAU;IAA/B;QAcS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAtBC;IADC,IAAA,4BAAU,GAAE;;wCACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yCACb;AAGtB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,uBAAQ;2CAAC;AAG1B;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACR,sBAAa;qDAAC;AAGzC;IADC,IAAA,wBAAM,GAAE;;8CAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;8CAC6B;AAGtC;IADC,IAAA,4BAAU,GAAE;;kEACkD;AAG/D;IADC,IAAA,4BAAU,GAAE;8BACD,wBAAS;6CAAC;AAvBxB,6BAwBC"} \ No newline at end of file diff --git a/dist/Interfaces/IUserHasNotification.d.ts b/dist/Interfaces/IUserHasNotification.d.ts index 9c4189b..5315f74 100644 --- a/dist/Interfaces/IUserHasNotification.d.ts +++ b/dist/Interfaces/IUserHasNotification.d.ts @@ -4,6 +4,6 @@ export default class IUserHasNotification { uuid: string; user: IUser; notification: INotification; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; } diff --git a/dist/Interfaces/IUserHasNotification.js b/dist/Interfaces/IUserHasNotification.js index 6f41512..b5ba8dc 100644 --- a/dist/Interfaces/IUserHasNotification.js +++ b/dist/Interfaces/IUserHasNotification.js @@ -16,6 +16,10 @@ const class_validator_1 = require("class-validator"); const INotification_1 = __importDefault(require("./INotification")); const IUser_1 = __importDefault(require("./IUser")); class IUserHasNotification { + constructor() { + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -31,11 +35,11 @@ __decorate([ ], IUserHasNotification.prototype, "notification", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IUserHasNotification.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IUserHasNotification.prototype, "updated_at", void 0); exports.default = IUserHasNotification; //# sourceMappingURL=IUserHasNotification.js.map \ No newline at end of file diff --git a/dist/Interfaces/IUserHasNotification.js.map b/dist/Interfaces/IUserHasNotification.js.map index 63efe04..f8b61ec 100644 --- a/dist/Interfaces/IUserHasNotification.js.map +++ b/dist/Interfaces/IUserHasNotification.js.map @@ -1 +1 @@ -{"version":3,"file":"IUserHasNotification.js","sourceRoot":"","sources":["../../src/Interfaces/IUserHasNotification.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,oEAA4C;AAC5C,oDAA4B;AAE5B,MAAqB,oBAAoB;CAexC;AAdC;IAAC,IAAA,4BAAU,GAAE;;kDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,eAAK;kDAAC;AAEpB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACb,uBAAa;0DAAC;AAEpC;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;wDAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;wDAAC;AAd3B,uCAeC"} \ No newline at end of file +{"version":3,"file":"IUserHasNotification.js","sourceRoot":"","sources":["../../src/Interfaces/IUserHasNotification.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,oEAA4C;AAC5C,oDAA4B;AAE5B,MAAqB,oBAAoB;IAAzC;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAbC;IADC,IAAA,4BAAU,GAAE;;kDACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,eAAK;kDAAC;AAGpB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACb,uBAAa;0DAAC;AAGpC;IADC,IAAA,wBAAM,GAAE;;wDAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;wDAC6B;AAdxC,uCAeC"} \ No newline at end of file diff --git a/dist/Interfaces/IUserHasNotificationAdmin.d.ts b/dist/Interfaces/IUserHasNotificationAdmin.d.ts index d9081b6..3402211 100644 --- a/dist/Interfaces/IUserHasNotificationAdmin.d.ts +++ b/dist/Interfaces/IUserHasNotificationAdmin.d.ts @@ -4,6 +4,6 @@ export default class IUserHasNotificationAdmin { uuid: string; user: IUser; notification: INotification; - created_at?: Date; - updated_at?: Date; + created_at: Date | null; + updated_at: Date | null; } diff --git a/dist/Interfaces/IUserHasNotificationAdmin.js b/dist/Interfaces/IUserHasNotificationAdmin.js index eb1134a..19dd842 100644 --- a/dist/Interfaces/IUserHasNotificationAdmin.js +++ b/dist/Interfaces/IUserHasNotificationAdmin.js @@ -16,6 +16,10 @@ const class_validator_1 = require("class-validator"); const INotificationAdmin_1 = __importDefault(require("./INotificationAdmin")); const IUserAdmin_1 = __importDefault(require("./IUserAdmin")); class IUserHasNotificationAdmin { + constructor() { + this.created_at = null; + this.updated_at = null; + } } __decorate([ (0, class_validator_1.IsNotEmpty)(), @@ -31,11 +35,11 @@ __decorate([ ], IUserHasNotificationAdmin.prototype, "notification", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IUserHasNotificationAdmin.prototype, "created_at", void 0); __decorate([ (0, class_validator_1.IsDate)(), - __metadata("design:type", Date) + __metadata("design:type", Object) ], IUserHasNotificationAdmin.prototype, "updated_at", void 0); exports.default = IUserHasNotificationAdmin; //# sourceMappingURL=IUserHasNotificationAdmin.js.map \ No newline at end of file diff --git a/dist/Interfaces/IUserHasNotificationAdmin.js.map b/dist/Interfaces/IUserHasNotificationAdmin.js.map index a36b611..af8750b 100644 --- a/dist/Interfaces/IUserHasNotificationAdmin.js.map +++ b/dist/Interfaces/IUserHasNotificationAdmin.js.map @@ -1 +1 @@ -{"version":3,"file":"IUserHasNotificationAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IUserHasNotificationAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,8EAAiD;AACjD,8DAAiC;AAEjC,MAAqB,yBAAyB;CAe7C;AAdC;IAAC,IAAA,4BAAU,GAAE;;uDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,oBAAK;uDAAC;AAEpB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACb,4BAAa;+DAAC;AAEpC;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;6DAAC;AAEzB;IAAC,IAAA,wBAAM,GAAE;8BACW,IAAI;6DAAC;AAd3B,4CAeC"} \ No newline at end of file +{"version":3,"file":"IUserHasNotificationAdmin.js","sourceRoot":"","sources":["../../src/Interfaces/IUserHasNotificationAdmin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,8EAAiD;AACjD,8DAAiC;AAEjC,MAAqB,yBAAyB;IAA9C;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAbC;IADC,IAAA,4BAAU,GAAE;;uDACQ;AAGrB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,oBAAK;uDAAC;AAGpB;IADC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACb,4BAAa;+DAAC;AAGpC;IADC,IAAA,wBAAM,GAAE;;6DAC6B;AAGtC;IADC,IAAA,wBAAM,GAAE;;6DAC6B;AAdxC,4CAeC"} \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IAddress.d.ts b/dist/Interfaces/SuperAdmin/IAddress.d.ts new file mode 100644 index 0000000..4f935bb --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IAddress.d.ts @@ -0,0 +1,12 @@ +import IContact from "./IContact"; +import IOffice from "./IOffice"; +export default class IAddress { + uuid: string; + address: string; + city: string; + zip_code: number; + created_at: Date | null; + updated_at: Date | null; + office?: IOffice; + contacts?: IContact; +} diff --git a/dist/Interfaces/SuperAdmin/IAddress.js b/dist/Interfaces/SuperAdmin/IAddress.js new file mode 100644 index 0000000..e971bd8 --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IAddress.js @@ -0,0 +1,57 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IContact_1 = __importDefault(require("./IContact")); +const IOffice_1 = __importDefault(require("./IOffice")); +class IAddress { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IAddress.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IAddress.prototype, "address", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IAddress.prototype, "city", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", Number) +], IAddress.prototype, "zip_code", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IAddress.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IAddress.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", IOffice_1.default) +], IAddress.prototype, "office", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", IContact_1.default) +], IAddress.prototype, "contacts", void 0); +exports.default = IAddress; +//# sourceMappingURL=IAddress.js.map \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IAddress.js.map b/dist/Interfaces/SuperAdmin/IAddress.js.map new file mode 100644 index 0000000..ba8d188 --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IAddress.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IAddress.js","sourceRoot":"","sources":["../../../src/Interfaces/SuperAdmin/IAddress.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,0DAAkC;AAClC,wDAAgC;AAEhC,MAAqB,QAAQ;IAA7B;QAcS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAvBC;IAAC,IAAA,4BAAU,GAAE;;sCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yCACX;AAExB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;sCACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;0CACV;AAEzB;IAAC,IAAA,wBAAM,GAAE;;4CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;4CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;8BACG,iBAAO;wCAAC;AAExB;IAAC,IAAA,4BAAU,GAAE;8BACK,kBAAQ;0CAAC;AAvB7B,2BAwBC"} \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IBlockchainAnchors.d.ts b/dist/Interfaces/SuperAdmin/IBlockchainAnchors.d.ts new file mode 100644 index 0000000..06c82c7 --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IBlockchainAnchors.d.ts @@ -0,0 +1,8 @@ +import IDocument from "./IDocument"; +export default class IBlockchainAnchor { + uuid: string; + smartSigJobId: string; + created_at: Date | null; + updated_at: Date | null; + documents?: IDocument[]; +} diff --git a/dist/Interfaces/SuperAdmin/IBlockchainAnchors.js b/dist/Interfaces/SuperAdmin/IBlockchainAnchors.js new file mode 100644 index 0000000..4e33825 --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IBlockchainAnchors.js @@ -0,0 +1,40 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +class IBlockchainAnchor { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IBlockchainAnchor.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IBlockchainAnchor.prototype, "smartSigJobId", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IBlockchainAnchor.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IBlockchainAnchor.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IBlockchainAnchor.prototype, "documents", void 0); +exports.default = IBlockchainAnchor; +//# sourceMappingURL=IBlockchainAnchors.js.map \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IBlockchainAnchors.js.map b/dist/Interfaces/SuperAdmin/IBlockchainAnchors.js.map new file mode 100644 index 0000000..e5c5cc8 --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IBlockchainAnchors.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IBlockchainAnchors.js","sourceRoot":"","sources":["../../../src/Interfaces/SuperAdmin/IBlockchainAnchors.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAiE;AAGjE,MAAqB,iBAAiB;IAAtC;QAQS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAIxC,CAAC;CAAA;AAdC;IAAC,IAAA,4BAAU,GAAE;;+CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;wDACL;AAE9B;IAAC,IAAA,wBAAM,GAAE;;qDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;qDAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;oDACkB;AAdjC,oCAeC"} \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IContact.d.ts b/dist/Interfaces/SuperAdmin/IContact.d.ts new file mode 100644 index 0000000..37ca7c8 --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IContact.d.ts @@ -0,0 +1,18 @@ +import { ECivility } from "../../Enums/Enums"; +import IUser from "./IUser"; +import ICustomer from "./ICustomer"; +import IAddress from "./IAddress"; +export default class IContact { + uuid: string; + first_name: string; + last_name: string; + email: string; + phone_number: string; + cell_phone_number: string; + civility: ECivility; + address: IAddress; + created_at: Date | null; + updated_at: Date | null; + users?: IUser; + customers?: ICustomer; +} diff --git a/dist/Interfaces/SuperAdmin/IContact.js b/dist/Interfaces/SuperAdmin/IContact.js new file mode 100644 index 0000000..7872788 --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IContact.js @@ -0,0 +1,74 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IUser_1 = __importDefault(require("./IUser")); +const ICustomer_1 = __importDefault(require("./ICustomer")); +const IAddress_1 = __importDefault(require("./IAddress")); +class IContact { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IContact.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IContact.prototype, "first_name", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IContact.prototype, "last_name", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IContact.prototype, "email", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", String) +], IContact.prototype, "phone_number", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", String) +], IContact.prototype, "cell_phone_number", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IContact.prototype, "civility", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IAddress_1.default) +], IContact.prototype, "address", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IContact.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IContact.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", IUser_1.default) +], IContact.prototype, "users", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", ICustomer_1.default) +], IContact.prototype, "customers", void 0); +exports.default = IContact; +//# sourceMappingURL=IContact.js.map \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IContact.js.map b/dist/Interfaces/SuperAdmin/IContact.js.map new file mode 100644 index 0000000..18c495e --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IContact.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IContact.js","sourceRoot":"","sources":["../../../src/Interfaces/SuperAdmin/IContact.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAEjE,oDAA4B;AAC5B,4DAAoC;AACpC,0DAAkC;AAElC,MAAqB,QAAQ;IAA7B;QA0BS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAnCC;IAAC,IAAA,4BAAU,GAAE;;sCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;4CACR;AAE3B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACT;AAE1B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;uCACb;AAEtB;IAAC,IAAA,4BAAU,GAAE;;8CACgB;AAE7B;IAAC,IAAA,4BAAU,GAAE;;mDACqB;AAElC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;0CACP;AAE5B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;yCAAC;AAE1B;IAAC,IAAA,wBAAM,GAAE;;4CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;4CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;8BACE,eAAK;uCAAC;AAErB;IAAC,IAAA,4BAAU,GAAE;8BACM,mBAAS;2CAAC;AAnC/B,2BAoCC"} \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/ICustomer.d.ts b/dist/Interfaces/SuperAdmin/ICustomer.d.ts new file mode 100644 index 0000000..7bc840d --- /dev/null +++ b/dist/Interfaces/SuperAdmin/ICustomer.d.ts @@ -0,0 +1,13 @@ +import IContact from "./IContact"; +import { ECustomerStatus } from "../../Enums/Enums"; +import IDocument from "./IDocument"; +import IOfficeFolderHasCustomer from "./IOfficeFolderHasCustomer"; +export default class ICustomer { + uuid: string; + status: ECustomerStatus; + contact: IContact; + created_at: Date | null; + updated_at: Date | null; + office_folder_has_customers?: IOfficeFolderHasCustomer[]; + documents?: IDocument[]; +} diff --git a/dist/Interfaces/SuperAdmin/ICustomer.js b/dist/Interfaces/SuperAdmin/ICustomer.js new file mode 100644 index 0000000..c0566b8 --- /dev/null +++ b/dist/Interfaces/SuperAdmin/ICustomer.js @@ -0,0 +1,52 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IContact_1 = __importDefault(require("./IContact")); +class ICustomer { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], ICustomer.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], ICustomer.prototype, "status", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IContact_1.default) +], ICustomer.prototype, "contact", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], ICustomer.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], ICustomer.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], ICustomer.prototype, "office_folder_has_customers", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], ICustomer.prototype, "documents", void 0); +exports.default = ICustomer; +//# sourceMappingURL=ICustomer.js.map \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/ICustomer.js.map b/dist/Interfaces/SuperAdmin/ICustomer.js.map new file mode 100644 index 0000000..fecd6e2 --- /dev/null +++ b/dist/Interfaces/SuperAdmin/ICustomer.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ICustomer.js","sourceRoot":"","sources":["../../../src/Interfaces/SuperAdmin/ICustomer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,0DAAkC;AAKlC,MAAqB,SAAS;IAA9B;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AApBC;IAAC,IAAA,4BAAU,GAAE;;uCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yCACH;AAEhC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;0CAAC;AAE1B;IAAC,IAAA,wBAAM,GAAE;;6CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;6CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;8DAC4C;AAEzD;IAAC,IAAA,4BAAU,GAAE;;4CACW;AApB1B,4BAqBC"} \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IDeed.d.ts b/dist/Interfaces/SuperAdmin/IDeed.d.ts new file mode 100644 index 0000000..bba275d --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IDeed.d.ts @@ -0,0 +1,11 @@ +import IOfficeFolder from "./IOfficeFolder"; +import IDeedHasDocumentType from "./IDeedHasDocumentType"; +import IDeedType from "./IDeedTypes"; +export default class IDeed { + uuid: string; + deed_type: IDeedType; + created_at: Date | null; + updated_at: Date | null; + deed_has_document_types?: IDeedHasDocumentType[]; + office_folder?: IOfficeFolder; +} diff --git a/dist/Interfaces/SuperAdmin/IDeed.js b/dist/Interfaces/SuperAdmin/IDeed.js new file mode 100644 index 0000000..61bd75c --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IDeed.js @@ -0,0 +1,49 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IOfficeFolder_1 = __importDefault(require("./IOfficeFolder")); +const IDeedTypes_1 = __importDefault(require("./IDeedTypes")); +class IDeed { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IDeed.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDeedTypes_1.default) +], IDeed.prototype, "deed_type", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeed.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeed.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDeed.prototype, "deed_has_document_types", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", IOfficeFolder_1.default) +], IDeed.prototype, "office_folder", void 0); +exports.default = IDeed; +//# sourceMappingURL=IDeed.js.map \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IDeed.js.map b/dist/Interfaces/SuperAdmin/IDeed.js.map new file mode 100644 index 0000000..c98f113 --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IDeed.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDeed.js","sourceRoot":"","sources":["../../../src/Interfaces/SuperAdmin/IDeed.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,oEAA4C;AAE5C,8DAAqC;AAErC,MAAqB,KAAK;IAA1B;QAQS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAjBC;IAAC,IAAA,4BAAU,GAAE;;mCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,oBAAS;wCAAC;AAE7B;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;sDAC2C;AAExD;IAAC,IAAA,4BAAU,GAAE;8BACU,uBAAa;4CAAC;AAjBvC,wBAkBC"} \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IDeedHasDocumentType.d.ts b/dist/Interfaces/SuperAdmin/IDeedHasDocumentType.d.ts new file mode 100644 index 0000000..ccab64f --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IDeedHasDocumentType.d.ts @@ -0,0 +1,9 @@ +import IDeed from "./IDeed"; +import IDocumentType from "./IDocumentType"; +export default class IDeedHasDocumentType { + uuid: string; + document_type: IDocumentType; + deed: IDeed; + created_at: Date | null; + updated_at: Date | null; +} diff --git a/dist/Interfaces/SuperAdmin/IDeedHasDocumentType.js b/dist/Interfaces/SuperAdmin/IDeedHasDocumentType.js new file mode 100644 index 0000000..5d0476e --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IDeedHasDocumentType.js @@ -0,0 +1,45 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IDeed_1 = __importDefault(require("./IDeed")); +const IDocumentType_1 = __importDefault(require("./IDocumentType")); +class IDeedHasDocumentType { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IDeedHasDocumentType.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDocumentType_1.default) +], IDeedHasDocumentType.prototype, "document_type", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDeed_1.default) +], IDeedHasDocumentType.prototype, "deed", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeedHasDocumentType.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeedHasDocumentType.prototype, "updated_at", void 0); +exports.default = IDeedHasDocumentType; +//# sourceMappingURL=IDeedHasDocumentType.js.map \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IDeedHasDocumentType.js.map b/dist/Interfaces/SuperAdmin/IDeedHasDocumentType.js.map new file mode 100644 index 0000000..d011ac4 --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IDeedHasDocumentType.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDeedHasDocumentType.js","sourceRoot":"","sources":["../../../src/Interfaces/SuperAdmin/IDeedHasDocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,oDAA4B;AAC5B,oEAA4C;AAE5C,MAAqB,oBAAoB;IAAzC;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAdC;IAAC,IAAA,4BAAU,GAAE;;kDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;2DAAC;AAErC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,eAAK;kDAAC;AAEpB;IAAC,IAAA,wBAAM,GAAE;;wDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;wDAC6B;AAdxC,uCAeC"} \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IDeedTypeHasDocumentType.d.ts b/dist/Interfaces/SuperAdmin/IDeedTypeHasDocumentType.d.ts new file mode 100644 index 0000000..226042a --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IDeedTypeHasDocumentType.d.ts @@ -0,0 +1,9 @@ +import IDeedType from "./IDeedTypes"; +import IDocumentType from "./IDocumentType"; +export default class IDeedTypeHasDocumentType { + uuid: string; + document_type: IDocumentType; + deed_type: IDeedType; + created_at: Date | null; + updated_at: Date | null; +} diff --git a/dist/Interfaces/SuperAdmin/IDeedTypeHasDocumentType.js b/dist/Interfaces/SuperAdmin/IDeedTypeHasDocumentType.js new file mode 100644 index 0000000..de60cce --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IDeedTypeHasDocumentType.js @@ -0,0 +1,45 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IDeedTypes_1 = __importDefault(require("./IDeedTypes")); +const IDocumentType_1 = __importDefault(require("./IDocumentType")); +class IDeedTypeHasDocumentType { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IDeedTypeHasDocumentType.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDocumentType_1.default) +], IDeedTypeHasDocumentType.prototype, "document_type", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDeedTypes_1.default) +], IDeedTypeHasDocumentType.prototype, "deed_type", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeedTypeHasDocumentType.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeedTypeHasDocumentType.prototype, "updated_at", void 0); +exports.default = IDeedTypeHasDocumentType; +//# sourceMappingURL=IDeedTypeHasDocumentType.js.map \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IDeedTypeHasDocumentType.js.map b/dist/Interfaces/SuperAdmin/IDeedTypeHasDocumentType.js.map new file mode 100644 index 0000000..665cbad --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IDeedTypeHasDocumentType.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDeedTypeHasDocumentType.js","sourceRoot":"","sources":["../../../src/Interfaces/SuperAdmin/IDeedTypeHasDocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,8DAAqC;AACrC,oEAA4C;AAE5C,MAAqB,wBAAwB;IAA7C;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAdC;IAAC,IAAA,4BAAU,GAAE;;sDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;+DAAC;AAErC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,oBAAS;2DAAC;AAE7B;IAAC,IAAA,wBAAM,GAAE;;4DAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;4DAC6B;AAdxC,2CAeC"} \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IDeedTypes.d.ts b/dist/Interfaces/SuperAdmin/IDeedTypes.d.ts new file mode 100644 index 0000000..43749bc --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IDeedTypes.d.ts @@ -0,0 +1,14 @@ +import IDeedTypeHasDocumentType from "./IDeedTypeHasDocumentType"; +import IOffice from "./IOffice"; +import IDeed from "./IDeed"; +export default class IDeedTypes { + uuid: string; + name: string; + description: string; + archived_at: Date | null; + office: IOffice; + created_at: Date | null; + updated_at: Date | null; + deed?: IDeed[]; + deed_type_has_document_types?: IDeedTypeHasDocumentType[]; +} diff --git a/dist/Interfaces/SuperAdmin/IDeedTypes.js b/dist/Interfaces/SuperAdmin/IDeedTypes.js new file mode 100644 index 0000000..da88ed4 --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IDeedTypes.js @@ -0,0 +1,61 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IOffice_1 = __importDefault(require("./IOffice")); +class IDeedTypes { + constructor() { + this.archived_at = null; + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IDeedTypes.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IDeedTypes.prototype, "name", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IDeedTypes.prototype, "description", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeedTypes.prototype, "archived_at", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IOffice_1.default) +], IDeedTypes.prototype, "office", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeedTypes.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeedTypes.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDeedTypes.prototype, "deed", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDeedTypes.prototype, "deed_type_has_document_types", void 0); +exports.default = IDeedTypes; +//# sourceMappingURL=IDeedTypes.js.map \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IDeedTypes.js.map b/dist/Interfaces/SuperAdmin/IDeedTypes.js.map new file mode 100644 index 0000000..706f5b7 --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IDeedTypes.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDeedTypes.js","sourceRoot":"","sources":["../../../src/Interfaces/SuperAdmin/IDeedTypes.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAGjE,wDAAgC;AAGhC,MAAqB,UAAU;IAA/B;QAWS,gBAAW,GAAgB,IAAI,CAAC;QAMhC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AA1BC;IAAC,IAAA,4BAAU,GAAE;;wCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;wCACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;+CACP;AAE5B;IAAC,IAAA,wBAAM,GAAE;;+CAC8B;AAEvC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,iBAAO;0CAAC;AAExB;IAAC,IAAA,wBAAM,GAAE;;8CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;8CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;wCACS;AAEtB;IAAC,IAAA,4BAAU,GAAE;;gEACoD;AA1BnE,6BA2BC"} \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IDocument.d.ts b/dist/Interfaces/SuperAdmin/IDocument.d.ts new file mode 100644 index 0000000..0c436f3 --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IDocument.d.ts @@ -0,0 +1,19 @@ +import ICustomer from "./ICustomer"; +import { EDocumentStatus } from "../../Enums/Enums"; +import IOfficeFolder from "./IOfficeFolder"; +import IDocumentType from "./IDocumentType"; +import IBlockchainAnchor from "./IBlockchainAnchors"; +import IDocumentHistory from "./IDocumentHistory"; +import IFile from "./IFile"; +export default class IDocument { + uuid: string; + document_status: EDocumentStatus; + document_type: IDocumentType; + blockchain_anchor?: IBlockchainAnchor; + folder: IOfficeFolder; + depositor: ICustomer; + created_at: Date | null; + updated_at: Date | null; + files?: IFile[]; + document_history?: IDocumentHistory[]; +} diff --git a/dist/Interfaces/SuperAdmin/IDocument.js b/dist/Interfaces/SuperAdmin/IDocument.js new file mode 100644 index 0000000..1795fe8 --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IDocument.js @@ -0,0 +1,67 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const ICustomer_1 = __importDefault(require("./ICustomer")); +const IOfficeFolder_1 = __importDefault(require("./IOfficeFolder")); +const IDocumentType_1 = __importDefault(require("./IDocumentType")); +const IBlockchainAnchors_1 = __importDefault(require("./IBlockchainAnchors")); +class IDocument { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IDocument.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IDocument.prototype, "document_status", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDocumentType_1.default) +], IDocument.prototype, "document_type", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", IBlockchainAnchors_1.default) +], IDocument.prototype, "blockchain_anchor", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IOfficeFolder_1.default) +], IDocument.prototype, "folder", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", ICustomer_1.default) +], IDocument.prototype, "depositor", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDocument.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDocument.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDocument.prototype, "files", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDocument.prototype, "document_history", void 0); +exports.default = IDocument; +//# sourceMappingURL=IDocument.js.map \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IDocument.js.map b/dist/Interfaces/SuperAdmin/IDocument.js.map new file mode 100644 index 0000000..107d8fa --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IDocument.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDocument.js","sourceRoot":"","sources":["../../../src/Interfaces/SuperAdmin/IDocument.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,4DAAoC;AAEpC,oEAA4C;AAC5C,oEAA4C;AAC5C,8EAAqD;AAIrD,MAAqB,SAAS;IAA9B;QAoBS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AA7BC;IAAC,IAAA,4BAAU,GAAE;;uCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;kDACM;AAEzC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;gDAAC;AAErC;IAAC,IAAA,4BAAU,GAAE;8BACc,4BAAiB;oDAAC;AAE7C;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,uBAAa;yCAAC;AAE9B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,mBAAS;4CAAC;AAE7B;IAAC,IAAA,wBAAM,GAAE;;6CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;6CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;wCACU;AAEvB;IAAC,IAAA,4BAAU,GAAE;;mDACgC;AA7B/C,4BA8BC"} \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IDocumentHistory.d.ts b/dist/Interfaces/SuperAdmin/IDocumentHistory.d.ts new file mode 100644 index 0000000..dad2ecc --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IDocumentHistory.d.ts @@ -0,0 +1,10 @@ +import { EDocumentStatus } from "../../Enums/Enums"; +import IDocument from "./IDocument"; +export default class IDocumentHistory { + uuid: string; + document_status: EDocumentStatus; + document: IDocument; + refused_reason: string | null; + created_at: Date | null; + updated_at: Date | null; +} diff --git a/dist/Interfaces/SuperAdmin/IDocumentHistory.js b/dist/Interfaces/SuperAdmin/IDocumentHistory.js new file mode 100644 index 0000000..286093f --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IDocumentHistory.js @@ -0,0 +1,49 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IDocument_1 = __importDefault(require("./IDocument")); +class IDocumentHistory { + constructor() { + this.refused_reason = null; + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IDocumentHistory.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IDocumentHistory.prototype, "document_status", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDocument_1.default) +], IDocumentHistory.prototype, "document", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Object) +], IDocumentHistory.prototype, "refused_reason", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDocumentHistory.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDocumentHistory.prototype, "updated_at", void 0); +exports.default = IDocumentHistory; +//# sourceMappingURL=IDocumentHistory.js.map \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IDocumentHistory.js.map b/dist/Interfaces/SuperAdmin/IDocumentHistory.js.map new file mode 100644 index 0000000..80bfec5 --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IDocumentHistory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDocumentHistory.js","sourceRoot":"","sources":["../../../src/Interfaces/SuperAdmin/IDocumentHistory.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAEjE,4DAAoC;AAEpC,MAAqB,gBAAgB;IAArC;QAWS,mBAAc,GAAkB,IAAI,CAAC;QAGrC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAjBC;IAAC,IAAA,4BAAU,GAAE;;8CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yDACM;AAEzC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,mBAAS;kDAAC;AAE5B;IAAC,IAAA,4BAAU,GAAE;;wDAC+B;AAE5C;IAAC,IAAA,wBAAM,GAAE;;oDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;oDAC6B;AAjBxC,mCAkBC"} \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IDocumentType.d.ts b/dist/Interfaces/SuperAdmin/IDocumentType.d.ts new file mode 100644 index 0000000..937395b --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IDocumentType.d.ts @@ -0,0 +1,15 @@ +import IDeedHasDocumentType from "./IDeedHasDocumentType"; +import IDeedTypeHasDocumentType from "./IDeedTypeHasDocumentType"; +import IDocument from "./IDocument"; +export default class IDocumentType { + uuid: string; + name: string; + public_description: string; + private_description: string | null; + archived_at: Date | null; + created_at: Date | null; + updated_at: Date | null; + documents?: IDocument[]; + deed_has_document_types?: IDeedHasDocumentType[]; + deed_type_has_document_types?: IDeedTypeHasDocumentType[]; +} diff --git a/dist/Interfaces/SuperAdmin/IDocumentType.js b/dist/Interfaces/SuperAdmin/IDocumentType.js new file mode 100644 index 0000000..2bbc7ea --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IDocumentType.js @@ -0,0 +1,62 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +class IDocumentType { + constructor() { + this.private_description = null; + this.archived_at = null; + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IDocumentType.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IDocumentType.prototype, "name", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IDocumentType.prototype, "public_description", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Object) +], IDocumentType.prototype, "private_description", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDocumentType.prototype, "archived_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDocumentType.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDocumentType.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDocumentType.prototype, "documents", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDocumentType.prototype, "deed_has_document_types", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDocumentType.prototype, "deed_type_has_document_types", void 0); +exports.default = IDocumentType; +//# sourceMappingURL=IDocumentType.js.map \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IDocumentType.js.map b/dist/Interfaces/SuperAdmin/IDocumentType.js.map new file mode 100644 index 0000000..0c629ed --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IDocumentType.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDocumentType.js","sourceRoot":"","sources":["../../../src/Interfaces/SuperAdmin/IDocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAiE;AAKjE,MAAqB,aAAa;IAAlC;QAWS,wBAAmB,GAAkB,IAAI,CAAC;QAG1C,gBAAW,GAAgB,IAAI,CAAC;QAGhC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAUxC,CAAC;CAAA;AA7BC;IAAC,IAAA,4BAAU,GAAE;;2CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yDACA;AAEnC;IAAC,IAAA,4BAAU,GAAE;;0DACoC;AAEjD;IAAC,IAAA,wBAAM,GAAE;;kDAC8B;AAEvC;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;gDACkB;AAE/B;IAAC,IAAA,4BAAU,GAAE;;8DAC2C;AAExD;IAAC,IAAA,4BAAU,GAAE;;mEACoD;AA7BnE,gCA8BC"} \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IFile.d.ts b/dist/Interfaces/SuperAdmin/IFile.d.ts new file mode 100644 index 0000000..0ba834b --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IFile.d.ts @@ -0,0 +1,8 @@ +import IDocument from "./IDocument"; +export default class IFile { + uuid: string; + document: IDocument; + file_path: string | null; + created_at: Date | null; + updated_at: Date | null; +} diff --git a/dist/Interfaces/SuperAdmin/IFile.js b/dist/Interfaces/SuperAdmin/IFile.js new file mode 100644 index 0000000..afc8125 --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IFile.js @@ -0,0 +1,45 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IDocument_1 = __importDefault(require("./IDocument")); +class IFile { + constructor() { + this.file_path = null; + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IFile.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDocument_1.default) +], IFile.prototype, "document", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Object) +], IFile.prototype, "file_path", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IFile.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IFile.prototype, "updated_at", void 0); +exports.default = IFile; +//# sourceMappingURL=IFile.js.map \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IFile.js.map b/dist/Interfaces/SuperAdmin/IFile.js.map new file mode 100644 index 0000000..ac40c85 --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IFile.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IFile.js","sourceRoot":"","sources":["../../../src/Interfaces/SuperAdmin/IFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,4DAAoC;AAEpC,MAAqB,KAAK;IAA1B;QAQS,cAAS,GAAkB,IAAI,CAAC;QAGhC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAdC;IAAC,IAAA,4BAAU,GAAE;;mCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,mBAAS;uCAAC;AAE5B;IAAC,IAAA,4BAAU,GAAE;;wCAC0B;AAEvC;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAdxC,wBAeC"} \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/INotification.d.ts b/dist/Interfaces/SuperAdmin/INotification.d.ts new file mode 100644 index 0000000..e4e4412 --- /dev/null +++ b/dist/Interfaces/SuperAdmin/INotification.d.ts @@ -0,0 +1,9 @@ +import IUserHasNotification from "./IUserHasNotification"; +export default class INotification { + uuid: string; + message: string; + redirection_url: string; + created_at: Date | null; + updated_at: Date | null; + user_has_notifications?: IUserHasNotification[]; +} diff --git a/dist/Interfaces/SuperAdmin/INotification.js b/dist/Interfaces/SuperAdmin/INotification.js new file mode 100644 index 0000000..5a0c7a8 --- /dev/null +++ b/dist/Interfaces/SuperAdmin/INotification.js @@ -0,0 +1,45 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +class INotification { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], INotification.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], INotification.prototype, "message", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + (0, class_validator_1.IsUrl)(), + __metadata("design:type", String) +], INotification.prototype, "redirection_url", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], INotification.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], INotification.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], INotification.prototype, "user_has_notifications", void 0); +exports.default = INotification; +//# sourceMappingURL=INotification.js.map \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/INotification.js.map b/dist/Interfaces/SuperAdmin/INotification.js.map new file mode 100644 index 0000000..d3599c0 --- /dev/null +++ b/dist/Interfaces/SuperAdmin/INotification.js.map @@ -0,0 +1 @@ +{"version":3,"file":"INotification.js","sourceRoot":"","sources":["../../../src/Interfaces/SuperAdmin/INotification.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAwE;AAGxE,MAAqB,aAAa;IAAlC;QAYS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAIxC,CAAC;CAAA;AAlBC;IAAC,IAAA,4BAAU,GAAE;;2CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8CACX;AAExB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;IAClC,IAAA,uBAAK,GAAE;;sDACwB;AAEhC;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;6DACmC;AAlBlD,gCAmBC"} \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IOffice.d.ts b/dist/Interfaces/SuperAdmin/IOffice.d.ts new file mode 100644 index 0000000..2c1eeb2 --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IOffice.d.ts @@ -0,0 +1,18 @@ +import IAddress from "./IAddress"; +import { EOfficeStatus } from "../../Enums/Enums"; +import IUser from "./IUser"; +import IOfficeFolder from "./IOfficeFolder"; +import IDeedType from "./IDeedTypes"; +export default class IOffice { + uuid: string; + idNot: string; + name: string; + crpcen: string; + address: IAddress; + office_status: EOfficeStatus; + created_at: Date | null; + updated_at: Date | null; + deed_types?: IDeedType[]; + users?: IUser[]; + office_folders?: IOfficeFolder[]; +} diff --git a/dist/Interfaces/SuperAdmin/IOffice.js b/dist/Interfaces/SuperAdmin/IOffice.js new file mode 100644 index 0000000..421875f --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IOffice.js @@ -0,0 +1,68 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IAddress_1 = __importDefault(require("./IAddress")); +class IOffice { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IOffice.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IOffice.prototype, "idNot", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IOffice.prototype, "name", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IOffice.prototype, "crpcen", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IAddress_1.default) +], IOffice.prototype, "address", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IOffice.prototype, "office_status", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOffice.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOffice.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IOffice.prototype, "deed_types", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IOffice.prototype, "users", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IOffice.prototype, "office_folders", void 0); +exports.default = IOffice; +//# sourceMappingURL=IOffice.js.map \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IOffice.js.map b/dist/Interfaces/SuperAdmin/IOffice.js.map new file mode 100644 index 0000000..fb48085 --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IOffice.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IOffice.js","sourceRoot":"","sources":["../../../src/Interfaces/SuperAdmin/IOffice.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,0DAAkC;AAMlC,MAAqB,OAAO;IAA5B;QAoBS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAUxC,CAAC;CAAA;AAhCC;IAAC,IAAA,4BAAU,GAAE;;qCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;sCACb;AAEtB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;qCACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;uCACZ;AAEvB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;wCAAC;AAE1B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8CACE;AAErC;IAAC,IAAA,wBAAM,GAAE;;2CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;2CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;2CACY;AAEzB;IAAC,IAAA,4BAAU,GAAE;;sCACG;AAEhB;IAAC,IAAA,4BAAU,GAAE;;+CACoB;AAhCnC,0BAiCC"} \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IOfficeFolder.d.ts b/dist/Interfaces/SuperAdmin/IOfficeFolder.d.ts new file mode 100644 index 0000000..3ce2ab7 --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IOfficeFolder.d.ts @@ -0,0 +1,21 @@ +import { EFolderStatus } from "../../Enums/Enums"; +import IDeed from "./IDeed"; +import IDocument from "./IDocument"; +import IOffice from "./IOffice"; +import IOfficeFolderHasCustomer from "./IOfficeFolderHasCustomer"; +import IOfficeFolderHasStakeholder from "./IOfficeFolderHasStakeholder"; +export default class IOfficeFolder { + uuid: string; + folder_number: string; + name: string; + description: string | null; + archived_description: string | null; + status: EFolderStatus; + deed: IDeed; + office: IOffice; + created_at: Date | null; + updated_at: Date | null; + office_folder_has_customers?: IOfficeFolderHasCustomer[]; + office_folder_has_stakeholder?: IOfficeFolderHasStakeholder[]; + documents?: IDocument[]; +} diff --git a/dist/Interfaces/SuperAdmin/IOfficeFolder.js b/dist/Interfaces/SuperAdmin/IOfficeFolder.js new file mode 100644 index 0000000..7f2439d --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IOfficeFolder.js @@ -0,0 +1,79 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IDeed_1 = __importDefault(require("./IDeed")); +const IOffice_1 = __importDefault(require("./IOffice")); +class IOfficeFolder { + constructor() { + this.description = null; + this.archived_description = null; + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IOfficeFolder.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IOfficeFolder.prototype, "folder_number", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IOfficeFolder.prototype, "name", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Object) +], IOfficeFolder.prototype, "description", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Object) +], IOfficeFolder.prototype, "archived_description", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IOfficeFolder.prototype, "status", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDeed_1.default) +], IOfficeFolder.prototype, "deed", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IOffice_1.default) +], IOfficeFolder.prototype, "office", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOfficeFolder.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOfficeFolder.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IOfficeFolder.prototype, "office_folder_has_customers", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IOfficeFolder.prototype, "office_folder_has_stakeholder", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IOfficeFolder.prototype, "documents", void 0); +exports.default = IOfficeFolder; +//# sourceMappingURL=IOfficeFolder.js.map \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IOfficeFolder.js.map b/dist/Interfaces/SuperAdmin/IOfficeFolder.js.map new file mode 100644 index 0000000..b0d050a --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IOfficeFolder.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IOfficeFolder.js","sourceRoot":"","sources":["../../../src/Interfaces/SuperAdmin/IOfficeFolder.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAEjE,oDAA4B;AAE5B,wDAAgC;AAIhC,MAAqB,aAAa;IAAlC;QAWS,gBAAW,GAAkB,IAAI,CAAC;QAGlC,yBAAoB,GAAkB,IAAI,CAAC;QAY3C,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAUxC,CAAC;CAAA;AAtCC;IAAC,IAAA,4BAAU,GAAE;;2CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;oDACL;AAE9B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACd;AAErB;IAAC,IAAA,4BAAU,GAAE;;kDAC4B;AAEzC;IAAC,IAAA,4BAAU,GAAE;;2DACqC;AAElD;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;6CACL;AAE9B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,eAAK;2CAAC;AAEpB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,iBAAO;6CAAC;AAExB;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;kEAC4C;AAEzD;IAAC,IAAA,4BAAU,GAAE;;oEACiD;AAE9D;IAAC,IAAA,4BAAU,GAAE;;gDACW;AAtC1B,gCAuCC"} \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IOfficeFolderHasCustomer.d.ts b/dist/Interfaces/SuperAdmin/IOfficeFolderHasCustomer.d.ts new file mode 100644 index 0000000..adaf676 --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IOfficeFolderHasCustomer.d.ts @@ -0,0 +1,9 @@ +import ICustomer from "./ICustomer"; +import IOfficeFolder from "./IOfficeFolder"; +export default class IOfficeFolderHasCustomer { + uuid: string; + customer: ICustomer; + office_folder: IOfficeFolder; + created_at: Date | null; + updated_at: Date | null; +} diff --git a/dist/Interfaces/SuperAdmin/IOfficeFolderHasCustomer.js b/dist/Interfaces/SuperAdmin/IOfficeFolderHasCustomer.js new file mode 100644 index 0000000..c8252a5 --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IOfficeFolderHasCustomer.js @@ -0,0 +1,45 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const ICustomer_1 = __importDefault(require("./ICustomer")); +const IOfficeFolder_1 = __importDefault(require("./IOfficeFolder")); +class IOfficeFolderHasCustomer { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IOfficeFolderHasCustomer.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", ICustomer_1.default) +], IOfficeFolderHasCustomer.prototype, "customer", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IOfficeFolder_1.default) +], IOfficeFolderHasCustomer.prototype, "office_folder", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOfficeFolderHasCustomer.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOfficeFolderHasCustomer.prototype, "updated_at", void 0); +exports.default = IOfficeFolderHasCustomer; +//# sourceMappingURL=IOfficeFolderHasCustomer.js.map \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IOfficeFolderHasCustomer.js.map b/dist/Interfaces/SuperAdmin/IOfficeFolderHasCustomer.js.map new file mode 100644 index 0000000..3ee83d1 --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IOfficeFolderHasCustomer.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IOfficeFolderHasCustomer.js","sourceRoot":"","sources":["../../../src/Interfaces/SuperAdmin/IOfficeFolderHasCustomer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,4DAAoC;AACpC,oEAA4C;AAE5C,MAAqB,wBAAwB;IAA7C;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAdC;IAAC,IAAA,4BAAU,GAAE;;sDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,mBAAS;0DAAC;AAE5B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;+DAAC;AAErC;IAAC,IAAA,wBAAM,GAAE;;4DAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;4DAC6B;AAdxC,2CAeC"} \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IOfficeFolderHasStakeholder.d.ts b/dist/Interfaces/SuperAdmin/IOfficeFolderHasStakeholder.d.ts new file mode 100644 index 0000000..e0fe8bc --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IOfficeFolderHasStakeholder.d.ts @@ -0,0 +1,9 @@ +import IOfficeFolder from "./IOfficeFolder"; +import IUser from "./IUser"; +export default class IOfficeFolderHasStakeholder { + uuid: string; + user_stakeholder: IUser; + office_folder: IOfficeFolder; + created_at: Date | null; + updated_at: Date | null; +} diff --git a/dist/Interfaces/SuperAdmin/IOfficeFolderHasStakeholder.js b/dist/Interfaces/SuperAdmin/IOfficeFolderHasStakeholder.js new file mode 100644 index 0000000..5f53465 --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IOfficeFolderHasStakeholder.js @@ -0,0 +1,45 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IOfficeFolder_1 = __importDefault(require("./IOfficeFolder")); +const IUser_1 = __importDefault(require("./IUser")); +class IOfficeFolderHasStakeholder { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IOfficeFolderHasStakeholder.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IUser_1.default) +], IOfficeFolderHasStakeholder.prototype, "user_stakeholder", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IOfficeFolder_1.default) +], IOfficeFolderHasStakeholder.prototype, "office_folder", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOfficeFolderHasStakeholder.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOfficeFolderHasStakeholder.prototype, "updated_at", void 0); +exports.default = IOfficeFolderHasStakeholder; +//# sourceMappingURL=IOfficeFolderHasStakeholder.js.map \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IOfficeFolderHasStakeholder.js.map b/dist/Interfaces/SuperAdmin/IOfficeFolderHasStakeholder.js.map new file mode 100644 index 0000000..90faaa1 --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IOfficeFolderHasStakeholder.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IOfficeFolderHasStakeholder.js","sourceRoot":"","sources":["../../../src/Interfaces/SuperAdmin/IOfficeFolderHasStakeholder.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,oEAA4C;AAC5C,oDAA4B;AAE5B,MAAqB,2BAA2B;IAAhD;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAdC;IAAC,IAAA,4BAAU,GAAE;;yDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACT,eAAK;qEAAC;AAEhC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;kEAAC;AAErC;IAAC,IAAA,wBAAM,GAAE;;+DAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;+DAC6B;AAdxC,8CAeC"} \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IUser.d.ts b/dist/Interfaces/SuperAdmin/IUser.d.ts new file mode 100644 index 0000000..49119ea --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IUser.d.ts @@ -0,0 +1,14 @@ +import IContact from "./IContact"; +import IDocument from "./IDocument"; +import OfficesEntity from "./IOffice"; +import IOfficeFolderHasStakeholder from "./IOfficeFolderHasStakeholder"; +export default class IUser { + uuid: string; + idNot: string; + contact: IContact; + office_membership: OfficesEntity; + created_at: Date | null; + updated_at: Date | null; + office_folder_has_stakeholders?: IOfficeFolderHasStakeholder[]; + documents?: IDocument; +} diff --git a/dist/Interfaces/SuperAdmin/IUser.js b/dist/Interfaces/SuperAdmin/IUser.js new file mode 100644 index 0000000..1c681ff --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IUser.js @@ -0,0 +1,58 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IContact_1 = __importDefault(require("./IContact")); +const IDocument_1 = __importDefault(require("./IDocument")); +const IOffice_1 = __importDefault(require("./IOffice")); +class IUser { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IUser.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IUser.prototype, "idNot", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IContact_1.default) +], IUser.prototype, "contact", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IOffice_1.default) +], IUser.prototype, "office_membership", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IUser.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IUser.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IUser.prototype, "office_folder_has_stakeholders", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", IDocument_1.default) +], IUser.prototype, "documents", void 0); +exports.default = IUser; +//# sourceMappingURL=IUser.js.map \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IUser.js.map b/dist/Interfaces/SuperAdmin/IUser.js.map new file mode 100644 index 0000000..862cb99 --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IUser.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IUser.js","sourceRoot":"","sources":["../../../src/Interfaces/SuperAdmin/IUser.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,0DAAkC;AAClC,4DAAoC;AACpC,wDAAsC;AAGtC,MAAqB,KAAK;IAA1B;QAcS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAvBC;IAAC,IAAA,4BAAU,GAAE;;mCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;oCACb;AAEtB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;sCAAC;AAE1B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACR,iBAAa;gDAAC;AAEzC;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;6DACkD;AAE/D;IAAC,IAAA,4BAAU,GAAE;8BACD,mBAAS;wCAAC;AAvBxB,wBAwBC"} \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IUserHasNotification.d.ts b/dist/Interfaces/SuperAdmin/IUserHasNotification.d.ts new file mode 100644 index 0000000..5315f74 --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IUserHasNotification.d.ts @@ -0,0 +1,9 @@ +import INotification from "./INotification"; +import IUser from "./IUser"; +export default class IUserHasNotification { + uuid: string; + user: IUser; + notification: INotification; + created_at: Date | null; + updated_at: Date | null; +} diff --git a/dist/Interfaces/SuperAdmin/IUserHasNotification.js b/dist/Interfaces/SuperAdmin/IUserHasNotification.js new file mode 100644 index 0000000..b5ba8dc --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IUserHasNotification.js @@ -0,0 +1,45 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const INotification_1 = __importDefault(require("./INotification")); +const IUser_1 = __importDefault(require("./IUser")); +class IUserHasNotification { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IUserHasNotification.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IUser_1.default) +], IUserHasNotification.prototype, "user", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", INotification_1.default) +], IUserHasNotification.prototype, "notification", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IUserHasNotification.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IUserHasNotification.prototype, "updated_at", void 0); +exports.default = IUserHasNotification; +//# sourceMappingURL=IUserHasNotification.js.map \ No newline at end of file diff --git a/dist/Interfaces/SuperAdmin/IUserHasNotification.js.map b/dist/Interfaces/SuperAdmin/IUserHasNotification.js.map new file mode 100644 index 0000000..fe51c1a --- /dev/null +++ b/dist/Interfaces/SuperAdmin/IUserHasNotification.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IUserHasNotification.js","sourceRoot":"","sources":["../../../src/Interfaces/SuperAdmin/IUserHasNotification.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,oEAA4C;AAC5C,oDAA4B;AAE5B,MAAqB,oBAAoB;IAAzC;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAdC;IAAC,IAAA,4BAAU,GAAE;;kDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,eAAK;kDAAC;AAEpB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACb,uBAAa;0DAAC;AAEpC;IAAC,IAAA,wBAAM,GAAE;;wDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;wDAC6B;AAdxC,uCAeC"} \ No newline at end of file diff --git a/dist/Interfaces/User/IAddress.d.ts b/dist/Interfaces/User/IAddress.d.ts new file mode 100644 index 0000000..4f935bb --- /dev/null +++ b/dist/Interfaces/User/IAddress.d.ts @@ -0,0 +1,12 @@ +import IContact from "./IContact"; +import IOffice from "./IOffice"; +export default class IAddress { + uuid: string; + address: string; + city: string; + zip_code: number; + created_at: Date | null; + updated_at: Date | null; + office?: IOffice; + contacts?: IContact; +} diff --git a/dist/Interfaces/User/IAddress.js b/dist/Interfaces/User/IAddress.js new file mode 100644 index 0000000..e971bd8 --- /dev/null +++ b/dist/Interfaces/User/IAddress.js @@ -0,0 +1,57 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IContact_1 = __importDefault(require("./IContact")); +const IOffice_1 = __importDefault(require("./IOffice")); +class IAddress { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IAddress.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IAddress.prototype, "address", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IAddress.prototype, "city", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", Number) +], IAddress.prototype, "zip_code", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IAddress.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IAddress.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", IOffice_1.default) +], IAddress.prototype, "office", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", IContact_1.default) +], IAddress.prototype, "contacts", void 0); +exports.default = IAddress; +//# sourceMappingURL=IAddress.js.map \ No newline at end of file diff --git a/dist/Interfaces/User/IAddress.js.map b/dist/Interfaces/User/IAddress.js.map new file mode 100644 index 0000000..3e16131 --- /dev/null +++ b/dist/Interfaces/User/IAddress.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IAddress.js","sourceRoot":"","sources":["../../../src/Interfaces/User/IAddress.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,0DAAkC;AAClC,wDAAgC;AAEhC,MAAqB,QAAQ;IAA7B;QAcS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAvBC;IAAC,IAAA,4BAAU,GAAE;;sCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yCACX;AAExB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;sCACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;0CACV;AAEzB;IAAC,IAAA,wBAAM,GAAE;;4CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;4CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;8BACG,iBAAO;wCAAC;AAExB;IAAC,IAAA,4BAAU,GAAE;8BACK,kBAAQ;0CAAC;AAvB7B,2BAwBC"} \ No newline at end of file diff --git a/dist/Interfaces/User/IContact.d.ts b/dist/Interfaces/User/IContact.d.ts new file mode 100644 index 0000000..37ca7c8 --- /dev/null +++ b/dist/Interfaces/User/IContact.d.ts @@ -0,0 +1,18 @@ +import { ECivility } from "../../Enums/Enums"; +import IUser from "./IUser"; +import ICustomer from "./ICustomer"; +import IAddress from "./IAddress"; +export default class IContact { + uuid: string; + first_name: string; + last_name: string; + email: string; + phone_number: string; + cell_phone_number: string; + civility: ECivility; + address: IAddress; + created_at: Date | null; + updated_at: Date | null; + users?: IUser; + customers?: ICustomer; +} diff --git a/dist/Interfaces/User/IContact.js b/dist/Interfaces/User/IContact.js new file mode 100644 index 0000000..7872788 --- /dev/null +++ b/dist/Interfaces/User/IContact.js @@ -0,0 +1,74 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IUser_1 = __importDefault(require("./IUser")); +const ICustomer_1 = __importDefault(require("./ICustomer")); +const IAddress_1 = __importDefault(require("./IAddress")); +class IContact { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IContact.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IContact.prototype, "first_name", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IContact.prototype, "last_name", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IContact.prototype, "email", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", String) +], IContact.prototype, "phone_number", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", String) +], IContact.prototype, "cell_phone_number", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IContact.prototype, "civility", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IAddress_1.default) +], IContact.prototype, "address", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IContact.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IContact.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", IUser_1.default) +], IContact.prototype, "users", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", ICustomer_1.default) +], IContact.prototype, "customers", void 0); +exports.default = IContact; +//# sourceMappingURL=IContact.js.map \ No newline at end of file diff --git a/dist/Interfaces/User/IContact.js.map b/dist/Interfaces/User/IContact.js.map new file mode 100644 index 0000000..eea3238 --- /dev/null +++ b/dist/Interfaces/User/IContact.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IContact.js","sourceRoot":"","sources":["../../../src/Interfaces/User/IContact.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAEjE,oDAA4B;AAC5B,4DAAoC;AACpC,0DAAkC;AAElC,MAAqB,QAAQ;IAA7B;QA0BS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAnCC;IAAC,IAAA,4BAAU,GAAE;;sCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;4CACR;AAE3B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACT;AAE1B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;uCACb;AAEtB;IAAC,IAAA,4BAAU,GAAE;;8CACgB;AAE7B;IAAC,IAAA,4BAAU,GAAE;;mDACqB;AAElC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;0CACP;AAE5B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;yCAAC;AAE1B;IAAC,IAAA,wBAAM,GAAE;;4CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;4CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;8BACE,eAAK;uCAAC;AAErB;IAAC,IAAA,4BAAU,GAAE;8BACM,mBAAS;2CAAC;AAnC/B,2BAoCC"} \ No newline at end of file diff --git a/dist/Interfaces/User/ICustomer.d.ts b/dist/Interfaces/User/ICustomer.d.ts new file mode 100644 index 0000000..7bc840d --- /dev/null +++ b/dist/Interfaces/User/ICustomer.d.ts @@ -0,0 +1,13 @@ +import IContact from "./IContact"; +import { ECustomerStatus } from "../../Enums/Enums"; +import IDocument from "./IDocument"; +import IOfficeFolderHasCustomer from "./IOfficeFolderHasCustomer"; +export default class ICustomer { + uuid: string; + status: ECustomerStatus; + contact: IContact; + created_at: Date | null; + updated_at: Date | null; + office_folder_has_customers?: IOfficeFolderHasCustomer[]; + documents?: IDocument[]; +} diff --git a/dist/Interfaces/User/ICustomer.js b/dist/Interfaces/User/ICustomer.js new file mode 100644 index 0000000..c0566b8 --- /dev/null +++ b/dist/Interfaces/User/ICustomer.js @@ -0,0 +1,52 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IContact_1 = __importDefault(require("./IContact")); +class ICustomer { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], ICustomer.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], ICustomer.prototype, "status", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IContact_1.default) +], ICustomer.prototype, "contact", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], ICustomer.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], ICustomer.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], ICustomer.prototype, "office_folder_has_customers", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], ICustomer.prototype, "documents", void 0); +exports.default = ICustomer; +//# sourceMappingURL=ICustomer.js.map \ No newline at end of file diff --git a/dist/Interfaces/User/ICustomer.js.map b/dist/Interfaces/User/ICustomer.js.map new file mode 100644 index 0000000..5bd5dd3 --- /dev/null +++ b/dist/Interfaces/User/ICustomer.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ICustomer.js","sourceRoot":"","sources":["../../../src/Interfaces/User/ICustomer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,0DAAkC;AAKlC,MAAqB,SAAS;IAA9B;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AApBC;IAAC,IAAA,4BAAU,GAAE;;uCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yCACH;AAEhC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;0CAAC;AAE1B;IAAC,IAAA,wBAAM,GAAE;;6CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;6CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;8DAC4C;AAEzD;IAAC,IAAA,4BAAU,GAAE;;4CACW;AApB1B,4BAqBC"} \ No newline at end of file diff --git a/dist/Interfaces/User/IDeed.d.ts b/dist/Interfaces/User/IDeed.d.ts new file mode 100644 index 0000000..bba275d --- /dev/null +++ b/dist/Interfaces/User/IDeed.d.ts @@ -0,0 +1,11 @@ +import IOfficeFolder from "./IOfficeFolder"; +import IDeedHasDocumentType from "./IDeedHasDocumentType"; +import IDeedType from "./IDeedTypes"; +export default class IDeed { + uuid: string; + deed_type: IDeedType; + created_at: Date | null; + updated_at: Date | null; + deed_has_document_types?: IDeedHasDocumentType[]; + office_folder?: IOfficeFolder; +} diff --git a/dist/Interfaces/User/IDeed.js b/dist/Interfaces/User/IDeed.js new file mode 100644 index 0000000..61bd75c --- /dev/null +++ b/dist/Interfaces/User/IDeed.js @@ -0,0 +1,49 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IOfficeFolder_1 = __importDefault(require("./IOfficeFolder")); +const IDeedTypes_1 = __importDefault(require("./IDeedTypes")); +class IDeed { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IDeed.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDeedTypes_1.default) +], IDeed.prototype, "deed_type", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeed.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeed.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDeed.prototype, "deed_has_document_types", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", IOfficeFolder_1.default) +], IDeed.prototype, "office_folder", void 0); +exports.default = IDeed; +//# sourceMappingURL=IDeed.js.map \ No newline at end of file diff --git a/dist/Interfaces/User/IDeed.js.map b/dist/Interfaces/User/IDeed.js.map new file mode 100644 index 0000000..312f514 --- /dev/null +++ b/dist/Interfaces/User/IDeed.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDeed.js","sourceRoot":"","sources":["../../../src/Interfaces/User/IDeed.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,oEAA4C;AAE5C,8DAAqC;AAErC,MAAqB,KAAK;IAA1B;QAQS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAjBC;IAAC,IAAA,4BAAU,GAAE;;mCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,oBAAS;wCAAC;AAE7B;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;sDAC2C;AAExD;IAAC,IAAA,4BAAU,GAAE;8BACU,uBAAa;4CAAC;AAjBvC,wBAkBC"} \ No newline at end of file diff --git a/dist/Interfaces/User/IDeedHasDocumentType.d.ts b/dist/Interfaces/User/IDeedHasDocumentType.d.ts new file mode 100644 index 0000000..ccab64f --- /dev/null +++ b/dist/Interfaces/User/IDeedHasDocumentType.d.ts @@ -0,0 +1,9 @@ +import IDeed from "./IDeed"; +import IDocumentType from "./IDocumentType"; +export default class IDeedHasDocumentType { + uuid: string; + document_type: IDocumentType; + deed: IDeed; + created_at: Date | null; + updated_at: Date | null; +} diff --git a/dist/Interfaces/User/IDeedHasDocumentType.js b/dist/Interfaces/User/IDeedHasDocumentType.js new file mode 100644 index 0000000..5d0476e --- /dev/null +++ b/dist/Interfaces/User/IDeedHasDocumentType.js @@ -0,0 +1,45 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IDeed_1 = __importDefault(require("./IDeed")); +const IDocumentType_1 = __importDefault(require("./IDocumentType")); +class IDeedHasDocumentType { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IDeedHasDocumentType.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDocumentType_1.default) +], IDeedHasDocumentType.prototype, "document_type", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDeed_1.default) +], IDeedHasDocumentType.prototype, "deed", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeedHasDocumentType.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeedHasDocumentType.prototype, "updated_at", void 0); +exports.default = IDeedHasDocumentType; +//# sourceMappingURL=IDeedHasDocumentType.js.map \ No newline at end of file diff --git a/dist/Interfaces/User/IDeedHasDocumentType.js.map b/dist/Interfaces/User/IDeedHasDocumentType.js.map new file mode 100644 index 0000000..098b3c2 --- /dev/null +++ b/dist/Interfaces/User/IDeedHasDocumentType.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDeedHasDocumentType.js","sourceRoot":"","sources":["../../../src/Interfaces/User/IDeedHasDocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,oDAA4B;AAC5B,oEAA4C;AAE5C,MAAqB,oBAAoB;IAAzC;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAdC;IAAC,IAAA,4BAAU,GAAE;;kDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;2DAAC;AAErC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,eAAK;kDAAC;AAEpB;IAAC,IAAA,wBAAM,GAAE;;wDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;wDAC6B;AAdxC,uCAeC"} \ No newline at end of file diff --git a/dist/Interfaces/User/IDeedTypeHasDocumentType.d.ts b/dist/Interfaces/User/IDeedTypeHasDocumentType.d.ts new file mode 100644 index 0000000..226042a --- /dev/null +++ b/dist/Interfaces/User/IDeedTypeHasDocumentType.d.ts @@ -0,0 +1,9 @@ +import IDeedType from "./IDeedTypes"; +import IDocumentType from "./IDocumentType"; +export default class IDeedTypeHasDocumentType { + uuid: string; + document_type: IDocumentType; + deed_type: IDeedType; + created_at: Date | null; + updated_at: Date | null; +} diff --git a/dist/Interfaces/User/IDeedTypeHasDocumentType.js b/dist/Interfaces/User/IDeedTypeHasDocumentType.js new file mode 100644 index 0000000..de60cce --- /dev/null +++ b/dist/Interfaces/User/IDeedTypeHasDocumentType.js @@ -0,0 +1,45 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IDeedTypes_1 = __importDefault(require("./IDeedTypes")); +const IDocumentType_1 = __importDefault(require("./IDocumentType")); +class IDeedTypeHasDocumentType { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IDeedTypeHasDocumentType.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDocumentType_1.default) +], IDeedTypeHasDocumentType.prototype, "document_type", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDeedTypes_1.default) +], IDeedTypeHasDocumentType.prototype, "deed_type", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeedTypeHasDocumentType.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeedTypeHasDocumentType.prototype, "updated_at", void 0); +exports.default = IDeedTypeHasDocumentType; +//# sourceMappingURL=IDeedTypeHasDocumentType.js.map \ No newline at end of file diff --git a/dist/Interfaces/User/IDeedTypeHasDocumentType.js.map b/dist/Interfaces/User/IDeedTypeHasDocumentType.js.map new file mode 100644 index 0000000..cb2f2f9 --- /dev/null +++ b/dist/Interfaces/User/IDeedTypeHasDocumentType.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDeedTypeHasDocumentType.js","sourceRoot":"","sources":["../../../src/Interfaces/User/IDeedTypeHasDocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,8DAAqC;AACrC,oEAA4C;AAE5C,MAAqB,wBAAwB;IAA7C;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAdC;IAAC,IAAA,4BAAU,GAAE;;sDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;+DAAC;AAErC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,oBAAS;2DAAC;AAE7B;IAAC,IAAA,wBAAM,GAAE;;4DAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;4DAC6B;AAdxC,2CAeC"} \ No newline at end of file diff --git a/dist/Interfaces/User/IDeedTypes.d.ts b/dist/Interfaces/User/IDeedTypes.d.ts new file mode 100644 index 0000000..43749bc --- /dev/null +++ b/dist/Interfaces/User/IDeedTypes.d.ts @@ -0,0 +1,14 @@ +import IDeedTypeHasDocumentType from "./IDeedTypeHasDocumentType"; +import IOffice from "./IOffice"; +import IDeed from "./IDeed"; +export default class IDeedTypes { + uuid: string; + name: string; + description: string; + archived_at: Date | null; + office: IOffice; + created_at: Date | null; + updated_at: Date | null; + deed?: IDeed[]; + deed_type_has_document_types?: IDeedTypeHasDocumentType[]; +} diff --git a/dist/Interfaces/User/IDeedTypes.js b/dist/Interfaces/User/IDeedTypes.js new file mode 100644 index 0000000..da88ed4 --- /dev/null +++ b/dist/Interfaces/User/IDeedTypes.js @@ -0,0 +1,61 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IOffice_1 = __importDefault(require("./IOffice")); +class IDeedTypes { + constructor() { + this.archived_at = null; + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IDeedTypes.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IDeedTypes.prototype, "name", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IDeedTypes.prototype, "description", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeedTypes.prototype, "archived_at", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IOffice_1.default) +], IDeedTypes.prototype, "office", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeedTypes.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDeedTypes.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDeedTypes.prototype, "deed", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDeedTypes.prototype, "deed_type_has_document_types", void 0); +exports.default = IDeedTypes; +//# sourceMappingURL=IDeedTypes.js.map \ No newline at end of file diff --git a/dist/Interfaces/User/IDeedTypes.js.map b/dist/Interfaces/User/IDeedTypes.js.map new file mode 100644 index 0000000..de65d2a --- /dev/null +++ b/dist/Interfaces/User/IDeedTypes.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDeedTypes.js","sourceRoot":"","sources":["../../../src/Interfaces/User/IDeedTypes.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAGjE,wDAAgC;AAGhC,MAAqB,UAAU;IAA/B;QAWS,gBAAW,GAAgB,IAAI,CAAC;QAMhC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AA1BC;IAAC,IAAA,4BAAU,GAAE;;wCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;wCACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;+CACP;AAE5B;IAAC,IAAA,wBAAM,GAAE;;+CAC8B;AAEvC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,iBAAO;0CAAC;AAExB;IAAC,IAAA,wBAAM,GAAE;;8CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;8CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;wCACS;AAEtB;IAAC,IAAA,4BAAU,GAAE;;gEACoD;AA1BnE,6BA2BC"} \ No newline at end of file diff --git a/dist/Interfaces/User/IDocument.d.ts b/dist/Interfaces/User/IDocument.d.ts new file mode 100644 index 0000000..203c3f4 --- /dev/null +++ b/dist/Interfaces/User/IDocument.d.ts @@ -0,0 +1,17 @@ +import ICustomer from "./ICustomer"; +import { EDocumentStatus } from "../../Enums/Enums"; +import IOfficeFolder from "./IOfficeFolder"; +import IDocumentType from "./IDocumentType"; +import IDocumentHistory from "./IDocumentHistory"; +import IFile from "./IFile"; +export default class IDocument { + uuid: string; + document_status: EDocumentStatus; + document_type: IDocumentType; + folder: IOfficeFolder; + depositor: ICustomer; + created_at: Date | null; + updated_at: Date | null; + files?: IFile[]; + document_history?: IDocumentHistory[]; +} diff --git a/dist/Interfaces/User/IDocument.js b/dist/Interfaces/User/IDocument.js new file mode 100644 index 0000000..df39a9c --- /dev/null +++ b/dist/Interfaces/User/IDocument.js @@ -0,0 +1,62 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const ICustomer_1 = __importDefault(require("./ICustomer")); +const IOfficeFolder_1 = __importDefault(require("./IOfficeFolder")); +const IDocumentType_1 = __importDefault(require("./IDocumentType")); +class IDocument { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IDocument.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IDocument.prototype, "document_status", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDocumentType_1.default) +], IDocument.prototype, "document_type", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IOfficeFolder_1.default) +], IDocument.prototype, "folder", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", ICustomer_1.default) +], IDocument.prototype, "depositor", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDocument.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDocument.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDocument.prototype, "files", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDocument.prototype, "document_history", void 0); +exports.default = IDocument; +//# sourceMappingURL=IDocument.js.map \ No newline at end of file diff --git a/dist/Interfaces/User/IDocument.js.map b/dist/Interfaces/User/IDocument.js.map new file mode 100644 index 0000000..2c6b600 --- /dev/null +++ b/dist/Interfaces/User/IDocument.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDocument.js","sourceRoot":"","sources":["../../../src/Interfaces/User/IDocument.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,4DAAoC;AAEpC,oEAA4C;AAC5C,oEAA4C;AAI5C,MAAqB,SAAS;IAA9B;QAiBS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AA1BC;IAAC,IAAA,4BAAU,GAAE;;uCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;kDACM;AAEzC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;gDAAC;AAErC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,uBAAa;yCAAC;AAE9B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAChB,mBAAS;4CAAC;AAE7B;IAAC,IAAA,wBAAM,GAAE;;6CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;6CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;wCACU;AAEvB;IAAC,IAAA,4BAAU,GAAE;;mDACgC;AA1B/C,4BA2BC"} \ No newline at end of file diff --git a/dist/Interfaces/User/IDocumentHistory.d.ts b/dist/Interfaces/User/IDocumentHistory.d.ts new file mode 100644 index 0000000..dad2ecc --- /dev/null +++ b/dist/Interfaces/User/IDocumentHistory.d.ts @@ -0,0 +1,10 @@ +import { EDocumentStatus } from "../../Enums/Enums"; +import IDocument from "./IDocument"; +export default class IDocumentHistory { + uuid: string; + document_status: EDocumentStatus; + document: IDocument; + refused_reason: string | null; + created_at: Date | null; + updated_at: Date | null; +} diff --git a/dist/Interfaces/User/IDocumentHistory.js b/dist/Interfaces/User/IDocumentHistory.js new file mode 100644 index 0000000..286093f --- /dev/null +++ b/dist/Interfaces/User/IDocumentHistory.js @@ -0,0 +1,49 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IDocument_1 = __importDefault(require("./IDocument")); +class IDocumentHistory { + constructor() { + this.refused_reason = null; + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IDocumentHistory.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IDocumentHistory.prototype, "document_status", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDocument_1.default) +], IDocumentHistory.prototype, "document", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Object) +], IDocumentHistory.prototype, "refused_reason", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDocumentHistory.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDocumentHistory.prototype, "updated_at", void 0); +exports.default = IDocumentHistory; +//# sourceMappingURL=IDocumentHistory.js.map \ No newline at end of file diff --git a/dist/Interfaces/User/IDocumentHistory.js.map b/dist/Interfaces/User/IDocumentHistory.js.map new file mode 100644 index 0000000..b9122e7 --- /dev/null +++ b/dist/Interfaces/User/IDocumentHistory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDocumentHistory.js","sourceRoot":"","sources":["../../../src/Interfaces/User/IDocumentHistory.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAEjE,4DAAoC;AAEpC,MAAqB,gBAAgB;IAArC;QAWS,mBAAc,GAAkB,IAAI,CAAC;QAGrC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAjBC;IAAC,IAAA,4BAAU,GAAE;;8CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yDACM;AAEzC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,mBAAS;kDAAC;AAE5B;IAAC,IAAA,4BAAU,GAAE;;wDAC+B;AAE5C;IAAC,IAAA,wBAAM,GAAE;;oDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;oDAC6B;AAjBxC,mCAkBC"} \ No newline at end of file diff --git a/dist/Interfaces/User/IDocumentType.d.ts b/dist/Interfaces/User/IDocumentType.d.ts new file mode 100644 index 0000000..937395b --- /dev/null +++ b/dist/Interfaces/User/IDocumentType.d.ts @@ -0,0 +1,15 @@ +import IDeedHasDocumentType from "./IDeedHasDocumentType"; +import IDeedTypeHasDocumentType from "./IDeedTypeHasDocumentType"; +import IDocument from "./IDocument"; +export default class IDocumentType { + uuid: string; + name: string; + public_description: string; + private_description: string | null; + archived_at: Date | null; + created_at: Date | null; + updated_at: Date | null; + documents?: IDocument[]; + deed_has_document_types?: IDeedHasDocumentType[]; + deed_type_has_document_types?: IDeedTypeHasDocumentType[]; +} diff --git a/dist/Interfaces/User/IDocumentType.js b/dist/Interfaces/User/IDocumentType.js new file mode 100644 index 0000000..2bbc7ea --- /dev/null +++ b/dist/Interfaces/User/IDocumentType.js @@ -0,0 +1,62 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +class IDocumentType { + constructor() { + this.private_description = null; + this.archived_at = null; + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IDocumentType.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IDocumentType.prototype, "name", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IDocumentType.prototype, "public_description", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Object) +], IDocumentType.prototype, "private_description", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDocumentType.prototype, "archived_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDocumentType.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IDocumentType.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDocumentType.prototype, "documents", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDocumentType.prototype, "deed_has_document_types", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IDocumentType.prototype, "deed_type_has_document_types", void 0); +exports.default = IDocumentType; +//# sourceMappingURL=IDocumentType.js.map \ No newline at end of file diff --git a/dist/Interfaces/User/IDocumentType.js.map b/dist/Interfaces/User/IDocumentType.js.map new file mode 100644 index 0000000..637dc5e --- /dev/null +++ b/dist/Interfaces/User/IDocumentType.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IDocumentType.js","sourceRoot":"","sources":["../../../src/Interfaces/User/IDocumentType.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAiE;AAKjE,MAAqB,aAAa;IAAlC;QAWS,wBAAmB,GAAkB,IAAI,CAAC;QAG1C,gBAAW,GAAgB,IAAI,CAAC;QAGhC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAUxC,CAAC;CAAA;AA7BC;IAAC,IAAA,4BAAU,GAAE;;2CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;yDACA;AAEnC;IAAC,IAAA,4BAAU,GAAE;;0DACoC;AAEjD;IAAC,IAAA,wBAAM,GAAE;;kDAC8B;AAEvC;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;gDACkB;AAE/B;IAAC,IAAA,4BAAU,GAAE;;8DAC2C;AAExD;IAAC,IAAA,4BAAU,GAAE;;mEACoD;AA7BnE,gCA8BC"} \ No newline at end of file diff --git a/dist/Interfaces/User/IFile.d.ts b/dist/Interfaces/User/IFile.d.ts new file mode 100644 index 0000000..0ba834b --- /dev/null +++ b/dist/Interfaces/User/IFile.d.ts @@ -0,0 +1,8 @@ +import IDocument from "./IDocument"; +export default class IFile { + uuid: string; + document: IDocument; + file_path: string | null; + created_at: Date | null; + updated_at: Date | null; +} diff --git a/dist/Interfaces/User/IFile.js b/dist/Interfaces/User/IFile.js new file mode 100644 index 0000000..afc8125 --- /dev/null +++ b/dist/Interfaces/User/IFile.js @@ -0,0 +1,45 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IDocument_1 = __importDefault(require("./IDocument")); +class IFile { + constructor() { + this.file_path = null; + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IFile.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDocument_1.default) +], IFile.prototype, "document", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Object) +], IFile.prototype, "file_path", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IFile.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IFile.prototype, "updated_at", void 0); +exports.default = IFile; +//# sourceMappingURL=IFile.js.map \ No newline at end of file diff --git a/dist/Interfaces/User/IFile.js.map b/dist/Interfaces/User/IFile.js.map new file mode 100644 index 0000000..b80944c --- /dev/null +++ b/dist/Interfaces/User/IFile.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IFile.js","sourceRoot":"","sources":["../../../src/Interfaces/User/IFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,4DAAoC;AAEpC,MAAqB,KAAK;IAA1B;QAQS,cAAS,GAAkB,IAAI,CAAC;QAGhC,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAdC;IAAC,IAAA,4BAAU,GAAE;;mCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,mBAAS;uCAAC;AAE5B;IAAC,IAAA,4BAAU,GAAE;;wCAC0B;AAEvC;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAdxC,wBAeC"} \ No newline at end of file diff --git a/dist/Interfaces/User/INotification.d.ts b/dist/Interfaces/User/INotification.d.ts new file mode 100644 index 0000000..e4e4412 --- /dev/null +++ b/dist/Interfaces/User/INotification.d.ts @@ -0,0 +1,9 @@ +import IUserHasNotification from "./IUserHasNotification"; +export default class INotification { + uuid: string; + message: string; + redirection_url: string; + created_at: Date | null; + updated_at: Date | null; + user_has_notifications?: IUserHasNotification[]; +} diff --git a/dist/Interfaces/User/INotification.js b/dist/Interfaces/User/INotification.js new file mode 100644 index 0000000..5a0c7a8 --- /dev/null +++ b/dist/Interfaces/User/INotification.js @@ -0,0 +1,45 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +class INotification { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], INotification.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], INotification.prototype, "message", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + (0, class_validator_1.IsUrl)(), + __metadata("design:type", String) +], INotification.prototype, "redirection_url", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], INotification.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], INotification.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], INotification.prototype, "user_has_notifications", void 0); +exports.default = INotification; +//# sourceMappingURL=INotification.js.map \ No newline at end of file diff --git a/dist/Interfaces/User/INotification.js.map b/dist/Interfaces/User/INotification.js.map new file mode 100644 index 0000000..0eafc73 --- /dev/null +++ b/dist/Interfaces/User/INotification.js.map @@ -0,0 +1 @@ +{"version":3,"file":"INotification.js","sourceRoot":"","sources":["../../../src/Interfaces/User/INotification.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qDAAwE;AAGxE,MAAqB,aAAa;IAAlC;QAYS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAIxC,CAAC;CAAA;AAlBC;IAAC,IAAA,4BAAU,GAAE;;2CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8CACX;AAExB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;IAClC,IAAA,uBAAK,GAAE;;sDACwB;AAEhC;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;6DACmC;AAlBlD,gCAmBC"} \ No newline at end of file diff --git a/dist/Interfaces/User/IOffice.d.ts b/dist/Interfaces/User/IOffice.d.ts new file mode 100644 index 0000000..2c1eeb2 --- /dev/null +++ b/dist/Interfaces/User/IOffice.d.ts @@ -0,0 +1,18 @@ +import IAddress from "./IAddress"; +import { EOfficeStatus } from "../../Enums/Enums"; +import IUser from "./IUser"; +import IOfficeFolder from "./IOfficeFolder"; +import IDeedType from "./IDeedTypes"; +export default class IOffice { + uuid: string; + idNot: string; + name: string; + crpcen: string; + address: IAddress; + office_status: EOfficeStatus; + created_at: Date | null; + updated_at: Date | null; + deed_types?: IDeedType[]; + users?: IUser[]; + office_folders?: IOfficeFolder[]; +} diff --git a/dist/Interfaces/User/IOffice.js b/dist/Interfaces/User/IOffice.js new file mode 100644 index 0000000..421875f --- /dev/null +++ b/dist/Interfaces/User/IOffice.js @@ -0,0 +1,68 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IAddress_1 = __importDefault(require("./IAddress")); +class IOffice { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IOffice.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IOffice.prototype, "idNot", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IOffice.prototype, "name", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IOffice.prototype, "crpcen", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IAddress_1.default) +], IOffice.prototype, "address", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IOffice.prototype, "office_status", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOffice.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOffice.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IOffice.prototype, "deed_types", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IOffice.prototype, "users", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IOffice.prototype, "office_folders", void 0); +exports.default = IOffice; +//# sourceMappingURL=IOffice.js.map \ No newline at end of file diff --git a/dist/Interfaces/User/IOffice.js.map b/dist/Interfaces/User/IOffice.js.map new file mode 100644 index 0000000..fcdab5d --- /dev/null +++ b/dist/Interfaces/User/IOffice.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IOffice.js","sourceRoot":"","sources":["../../../src/Interfaces/User/IOffice.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,0DAAkC;AAMlC,MAAqB,OAAO;IAA5B;QAoBS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAUxC,CAAC;CAAA;AAhCC;IAAC,IAAA,4BAAU,GAAE;;qCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;sCACb;AAEtB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;qCACd;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;uCACZ;AAEvB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;wCAAC;AAE1B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;8CACE;AAErC;IAAC,IAAA,wBAAM,GAAE;;2CAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;2CAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;2CACY;AAEzB;IAAC,IAAA,4BAAU,GAAE;;sCACG;AAEhB;IAAC,IAAA,4BAAU,GAAE;;+CACoB;AAhCnC,0BAiCC"} \ No newline at end of file diff --git a/dist/Interfaces/User/IOfficeFolder.d.ts b/dist/Interfaces/User/IOfficeFolder.d.ts new file mode 100644 index 0000000..3ce2ab7 --- /dev/null +++ b/dist/Interfaces/User/IOfficeFolder.d.ts @@ -0,0 +1,21 @@ +import { EFolderStatus } from "../../Enums/Enums"; +import IDeed from "./IDeed"; +import IDocument from "./IDocument"; +import IOffice from "./IOffice"; +import IOfficeFolderHasCustomer from "./IOfficeFolderHasCustomer"; +import IOfficeFolderHasStakeholder from "./IOfficeFolderHasStakeholder"; +export default class IOfficeFolder { + uuid: string; + folder_number: string; + name: string; + description: string | null; + archived_description: string | null; + status: EFolderStatus; + deed: IDeed; + office: IOffice; + created_at: Date | null; + updated_at: Date | null; + office_folder_has_customers?: IOfficeFolderHasCustomer[]; + office_folder_has_stakeholder?: IOfficeFolderHasStakeholder[]; + documents?: IDocument[]; +} diff --git a/dist/Interfaces/User/IOfficeFolder.js b/dist/Interfaces/User/IOfficeFolder.js new file mode 100644 index 0000000..7f2439d --- /dev/null +++ b/dist/Interfaces/User/IOfficeFolder.js @@ -0,0 +1,79 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IDeed_1 = __importDefault(require("./IDeed")); +const IOffice_1 = __importDefault(require("./IOffice")); +class IOfficeFolder { + constructor() { + this.description = null; + this.archived_description = null; + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IOfficeFolder.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IOfficeFolder.prototype, "folder_number", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IOfficeFolder.prototype, "name", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Object) +], IOfficeFolder.prototype, "description", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Object) +], IOfficeFolder.prototype, "archived_description", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IOfficeFolder.prototype, "status", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IDeed_1.default) +], IOfficeFolder.prototype, "deed", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IOffice_1.default) +], IOfficeFolder.prototype, "office", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOfficeFolder.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOfficeFolder.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IOfficeFolder.prototype, "office_folder_has_customers", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IOfficeFolder.prototype, "office_folder_has_stakeholder", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IOfficeFolder.prototype, "documents", void 0); +exports.default = IOfficeFolder; +//# sourceMappingURL=IOfficeFolder.js.map \ No newline at end of file diff --git a/dist/Interfaces/User/IOfficeFolder.js.map b/dist/Interfaces/User/IOfficeFolder.js.map new file mode 100644 index 0000000..53b33c6 --- /dev/null +++ b/dist/Interfaces/User/IOfficeFolder.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IOfficeFolder.js","sourceRoot":"","sources":["../../../src/Interfaces/User/IOfficeFolder.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AAEjE,oDAA4B;AAE5B,wDAAgC;AAIhC,MAAqB,aAAa;IAAlC;QAWS,gBAAW,GAAkB,IAAI,CAAC;QAGlC,yBAAoB,GAAkB,IAAI,CAAC;QAY3C,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAUxC,CAAC;CAAA;AAtCC;IAAC,IAAA,4BAAU,GAAE;;2CACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;oDACL;AAE9B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;2CACd;AAErB;IAAC,IAAA,4BAAU,GAAE;;kDAC4B;AAEzC;IAAC,IAAA,4BAAU,GAAE;;2DACqC;AAElD;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;6CACL;AAE9B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,eAAK;2CAAC;AAEpB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACnB,iBAAO;6CAAC;AAExB;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;iDAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;kEAC4C;AAEzD;IAAC,IAAA,4BAAU,GAAE;;oEACiD;AAE9D;IAAC,IAAA,4BAAU,GAAE;;gDACW;AAtC1B,gCAuCC"} \ No newline at end of file diff --git a/dist/Interfaces/User/IOfficeFolderHasCustomer.d.ts b/dist/Interfaces/User/IOfficeFolderHasCustomer.d.ts new file mode 100644 index 0000000..adaf676 --- /dev/null +++ b/dist/Interfaces/User/IOfficeFolderHasCustomer.d.ts @@ -0,0 +1,9 @@ +import ICustomer from "./ICustomer"; +import IOfficeFolder from "./IOfficeFolder"; +export default class IOfficeFolderHasCustomer { + uuid: string; + customer: ICustomer; + office_folder: IOfficeFolder; + created_at: Date | null; + updated_at: Date | null; +} diff --git a/dist/Interfaces/User/IOfficeFolderHasCustomer.js b/dist/Interfaces/User/IOfficeFolderHasCustomer.js new file mode 100644 index 0000000..c8252a5 --- /dev/null +++ b/dist/Interfaces/User/IOfficeFolderHasCustomer.js @@ -0,0 +1,45 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const ICustomer_1 = __importDefault(require("./ICustomer")); +const IOfficeFolder_1 = __importDefault(require("./IOfficeFolder")); +class IOfficeFolderHasCustomer { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IOfficeFolderHasCustomer.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", ICustomer_1.default) +], IOfficeFolderHasCustomer.prototype, "customer", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IOfficeFolder_1.default) +], IOfficeFolderHasCustomer.prototype, "office_folder", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOfficeFolderHasCustomer.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOfficeFolderHasCustomer.prototype, "updated_at", void 0); +exports.default = IOfficeFolderHasCustomer; +//# sourceMappingURL=IOfficeFolderHasCustomer.js.map \ No newline at end of file diff --git a/dist/Interfaces/User/IOfficeFolderHasCustomer.js.map b/dist/Interfaces/User/IOfficeFolderHasCustomer.js.map new file mode 100644 index 0000000..781fc90 --- /dev/null +++ b/dist/Interfaces/User/IOfficeFolderHasCustomer.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IOfficeFolderHasCustomer.js","sourceRoot":"","sources":["../../../src/Interfaces/User/IOfficeFolderHasCustomer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,4DAAoC;AACpC,oEAA4C;AAE5C,MAAqB,wBAAwB;IAA7C;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAdC;IAAC,IAAA,4BAAU,GAAE;;sDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACjB,mBAAS;0DAAC;AAE5B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;+DAAC;AAErC;IAAC,IAAA,wBAAM,GAAE;;4DAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;4DAC6B;AAdxC,2CAeC"} \ No newline at end of file diff --git a/dist/Interfaces/User/IOfficeFolderHasStakeholder.d.ts b/dist/Interfaces/User/IOfficeFolderHasStakeholder.d.ts new file mode 100644 index 0000000..e0fe8bc --- /dev/null +++ b/dist/Interfaces/User/IOfficeFolderHasStakeholder.d.ts @@ -0,0 +1,9 @@ +import IOfficeFolder from "./IOfficeFolder"; +import IUser from "./IUser"; +export default class IOfficeFolderHasStakeholder { + uuid: string; + user_stakeholder: IUser; + office_folder: IOfficeFolder; + created_at: Date | null; + updated_at: Date | null; +} diff --git a/dist/Interfaces/User/IOfficeFolderHasStakeholder.js b/dist/Interfaces/User/IOfficeFolderHasStakeholder.js new file mode 100644 index 0000000..5f53465 --- /dev/null +++ b/dist/Interfaces/User/IOfficeFolderHasStakeholder.js @@ -0,0 +1,45 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IOfficeFolder_1 = __importDefault(require("./IOfficeFolder")); +const IUser_1 = __importDefault(require("./IUser")); +class IOfficeFolderHasStakeholder { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IOfficeFolderHasStakeholder.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IUser_1.default) +], IOfficeFolderHasStakeholder.prototype, "user_stakeholder", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IOfficeFolder_1.default) +], IOfficeFolderHasStakeholder.prototype, "office_folder", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOfficeFolderHasStakeholder.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IOfficeFolderHasStakeholder.prototype, "updated_at", void 0); +exports.default = IOfficeFolderHasStakeholder; +//# sourceMappingURL=IOfficeFolderHasStakeholder.js.map \ No newline at end of file diff --git a/dist/Interfaces/User/IOfficeFolderHasStakeholder.js.map b/dist/Interfaces/User/IOfficeFolderHasStakeholder.js.map new file mode 100644 index 0000000..86114dd --- /dev/null +++ b/dist/Interfaces/User/IOfficeFolderHasStakeholder.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IOfficeFolderHasStakeholder.js","sourceRoot":"","sources":["../../../src/Interfaces/User/IOfficeFolderHasStakeholder.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,oEAA4C;AAC5C,oDAA4B;AAE5B,MAAqB,2BAA2B;IAAhD;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAdC;IAAC,IAAA,4BAAU,GAAE;;yDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACT,eAAK;qEAAC;AAEhC;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACZ,uBAAa;kEAAC;AAErC;IAAC,IAAA,wBAAM,GAAE;;+DAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;+DAC6B;AAdxC,8CAeC"} \ No newline at end of file diff --git a/dist/Interfaces/User/IUser.d.ts b/dist/Interfaces/User/IUser.d.ts new file mode 100644 index 0000000..49119ea --- /dev/null +++ b/dist/Interfaces/User/IUser.d.ts @@ -0,0 +1,14 @@ +import IContact from "./IContact"; +import IDocument from "./IDocument"; +import OfficesEntity from "./IOffice"; +import IOfficeFolderHasStakeholder from "./IOfficeFolderHasStakeholder"; +export default class IUser { + uuid: string; + idNot: string; + contact: IContact; + office_membership: OfficesEntity; + created_at: Date | null; + updated_at: Date | null; + office_folder_has_stakeholders?: IOfficeFolderHasStakeholder[]; + documents?: IDocument; +} diff --git a/dist/Interfaces/User/IUser.js b/dist/Interfaces/User/IUser.js new file mode 100644 index 0000000..1c681ff --- /dev/null +++ b/dist/Interfaces/User/IUser.js @@ -0,0 +1,58 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const IContact_1 = __importDefault(require("./IContact")); +const IDocument_1 = __importDefault(require("./IDocument")); +const IOffice_1 = __importDefault(require("./IOffice")); +class IUser { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IUser.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", String) +], IUser.prototype, "idNot", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IContact_1.default) +], IUser.prototype, "contact", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IOffice_1.default) +], IUser.prototype, "office_membership", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IUser.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IUser.prototype, "updated_at", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", Array) +], IUser.prototype, "office_folder_has_stakeholders", void 0); +__decorate([ + (0, class_validator_1.IsOptional)(), + __metadata("design:type", IDocument_1.default) +], IUser.prototype, "documents", void 0); +exports.default = IUser; +//# sourceMappingURL=IUser.js.map \ No newline at end of file diff --git a/dist/Interfaces/User/IUser.js.map b/dist/Interfaces/User/IUser.js.map new file mode 100644 index 0000000..0994d8d --- /dev/null +++ b/dist/Interfaces/User/IUser.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IUser.js","sourceRoot":"","sources":["../../../src/Interfaces/User/IUser.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAiE;AACjE,0DAAkC;AAClC,4DAAoC;AACpC,wDAAsC;AAGtC,MAAqB,KAAK;IAA1B;QAcS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IAOxC,CAAC;CAAA;AAvBC;IAAC,IAAA,4BAAU,GAAE;;mCACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;;oCACb;AAEtB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BAClB,kBAAQ;sCAAC;AAE1B;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACR,iBAAa;gDAAC;AAEzC;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;yCAC6B;AAEtC;IAAC,IAAA,4BAAU,GAAE;;6DACkD;AAE/D;IAAC,IAAA,4BAAU,GAAE;8BACD,mBAAS;wCAAC;AAvBxB,wBAwBC"} \ No newline at end of file diff --git a/dist/Interfaces/User/IUserHasNotification.d.ts b/dist/Interfaces/User/IUserHasNotification.d.ts new file mode 100644 index 0000000..5315f74 --- /dev/null +++ b/dist/Interfaces/User/IUserHasNotification.d.ts @@ -0,0 +1,9 @@ +import INotification from "./INotification"; +import IUser from "./IUser"; +export default class IUserHasNotification { + uuid: string; + user: IUser; + notification: INotification; + created_at: Date | null; + updated_at: Date | null; +} diff --git a/dist/Interfaces/User/IUserHasNotification.js b/dist/Interfaces/User/IUserHasNotification.js new file mode 100644 index 0000000..b5ba8dc --- /dev/null +++ b/dist/Interfaces/User/IUserHasNotification.js @@ -0,0 +1,45 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const class_validator_1 = require("class-validator"); +const INotification_1 = __importDefault(require("./INotification")); +const IUser_1 = __importDefault(require("./IUser")); +class IUserHasNotification { + constructor() { + this.created_at = null; + this.updated_at = null; + } +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + __metadata("design:type", String) +], IUserHasNotification.prototype, "uuid", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", IUser_1.default) +], IUserHasNotification.prototype, "user", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)({ groups: ["create"] }), + __metadata("design:type", INotification_1.default) +], IUserHasNotification.prototype, "notification", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IUserHasNotification.prototype, "created_at", void 0); +__decorate([ + (0, class_validator_1.IsDate)(), + __metadata("design:type", Object) +], IUserHasNotification.prototype, "updated_at", void 0); +exports.default = IUserHasNotification; +//# sourceMappingURL=IUserHasNotification.js.map \ No newline at end of file diff --git a/dist/Interfaces/User/IUserHasNotification.js.map b/dist/Interfaces/User/IUserHasNotification.js.map new file mode 100644 index 0000000..701d8dc --- /dev/null +++ b/dist/Interfaces/User/IUserHasNotification.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IUserHasNotification.js","sourceRoot":"","sources":["../../../src/Interfaces/User/IUserHasNotification.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,oEAA4C;AAC5C,oDAA4B;AAE5B,MAAqB,oBAAoB;IAAzC;QAWS,eAAU,GAAgB,IAAI,CAAC;QAG/B,eAAU,GAAgB,IAAI,CAAC;IACxC,CAAC;CAAA;AAdC;IAAC,IAAA,4BAAU,GAAE;;kDACQ;AAErB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACrB,eAAK;kDAAC;AAEpB;IAAC,IAAA,4BAAU,EAAC,EAAE,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;8BACb,uBAAa;0DAAC;AAEpC;IAAC,IAAA,wBAAM,GAAE;;wDAC6B;AAEtC;IAAC,IAAA,wBAAM,GAAE;;wDAC6B;AAdxC,uCAeC"} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json deleted file mode 100644 index a2f17c0..0000000 --- a/package-lock.json +++ /dev/null @@ -1,2257 +0,0 @@ -{ - "name": "le-coffre-ressources", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "name": "le-coffre-ressources", - "license": "MIT", - "dependencies": { - "class-validator": "^0.14.0" - }, - "devDependencies": { - "@types/node": "^18.11.9", - "eslint-plugin-n8n-nodes-base": "^1.5.4", - "prettier": "^2.7.1", - "ts-node": "^10.9.1", - "tslint": "^6.1.2", - "typescript": "~4.6.0" - } - }, - "node_modules/@babel/code-frame": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", - "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", - "dev": true, - "dependencies": { - "@babel/highlight": "^7.18.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-identifier": { - "version": "7.19.1", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz", - "integrity": "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz", - "integrity": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==", - "dev": true, - "dependencies": { - "@babel/helper-validator-identifier": "^7.18.6", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/@babel/highlight/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true - }, - "node_modules/@babel/highlight/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "dev": true, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/@babel/highlight/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@cspotcode/source-map-support": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", - "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", - "dev": true, - "dependencies": { - "@jridgewell/trace-mapping": "0.3.9" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@eslint-community/eslint-utils": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.2.0.tgz", - "integrity": "sha512-gB8T4H4DEfX2IV9zGDJPOBgP1e/DbfCPDTtEqUMckpvzS1OYtva8JdFYBqMwYk7xAQ429WGF/UPqn8uQ//h2vQ==", - "dev": true, - "dependencies": { - "eslint-visitor-keys": "^3.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" - } - }, - "node_modules/@eslint-community/regexpp": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.4.0.tgz", - "integrity": "sha512-A9983Q0LnDGdLPjxyXQ00sbV+K+O+ko2Dr+CZigbHWtX9pNfxlaBkMR8X1CztI73zuEyEBXTVjx7CE+/VSwDiQ==", - "dev": true, - "peer": true, - "engines": { - "node": "^12.0.0 || ^14.0.0 || >=16.0.0" - } - }, - "node_modules/@eslint/eslintrc": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.1.tgz", - "integrity": "sha512-eFRmABvW2E5Ho6f5fHLqgena46rOj7r7OKHYfLElqcBfGFHHpjBhivyi5+jOEQuSpdc/1phIZJlbC2te+tZNIw==", - "dev": true, - "peer": true, - "dependencies": { - "ajv": "^6.12.4", - "debug": "^4.3.2", - "espree": "^9.5.0", - "globals": "^13.19.0", - "ignore": "^5.2.0", - "import-fresh": "^3.2.1", - "js-yaml": "^4.1.0", - "minimatch": "^3.1.2", - "strip-json-comments": "^3.1.1" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/@eslint/js": { - "version": "8.36.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.36.0.tgz", - "integrity": "sha512-lxJ9R5ygVm8ZWgYdUweoq5ownDlJ4upvoWmO4eLxBYHdMo+vZ/Rx0EN6MbKWDJOSUGrqJy2Gt+Dyv/VKml0fjg==", - "dev": true, - "peer": true, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/@humanwhocodes/config-array": { - "version": "0.11.8", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.8.tgz", - "integrity": "sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g==", - "dev": true, - "peer": true, - "dependencies": { - "@humanwhocodes/object-schema": "^1.2.1", - "debug": "^4.1.1", - "minimatch": "^3.0.5" - }, - "engines": { - "node": ">=10.10.0" - } - }, - "node_modules/@humanwhocodes/module-importer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", - "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", - "dev": true, - "peer": true, - "engines": { - "node": ">=12.22" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/nzakas" - } - }, - "node_modules/@humanwhocodes/object-schema": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", - "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", - "dev": true, - "peer": true - }, - "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz", - "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==", - "dev": true, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.14", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", - "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==", - "dev": true - }, - "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.9", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", - "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", - "dev": true, - "dependencies": { - "@jridgewell/resolve-uri": "^3.0.3", - "@jridgewell/sourcemap-codec": "^1.4.10" - } - }, - "node_modules/@nodelib/fs.scandir": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", - "dev": true, - "dependencies": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.stat": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", - "dev": true, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.walk": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", - "dev": true, - "dependencies": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@tsconfig/node10": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz", - "integrity": "sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==", - "dev": true - }, - "node_modules/@tsconfig/node12": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", - "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", - "dev": true - }, - "node_modules/@tsconfig/node14": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", - "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", - "dev": true - }, - "node_modules/@tsconfig/node16": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.3.tgz", - "integrity": "sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ==", - "dev": true - }, - "node_modules/@types/json-schema": { - "version": "7.0.11", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz", - "integrity": "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==", - "dev": true - }, - "node_modules/@types/node": { - "version": "18.15.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.3.tgz", - "integrity": "sha512-p6ua9zBxz5otCmbpb5D3U4B5Nanw6Pk3PPyX05xnxbB/fRv71N7CPmORg7uAD5P70T0xmx1pzAx/FUfa5X+3cw==", - "dev": true - }, - "node_modules/@types/semver": { - "version": "7.3.13", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.13.tgz", - "integrity": "sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==", - "dev": true - }, - "node_modules/@types/validator": { - "version": "13.7.14", - "resolved": "https://registry.npmjs.org/@types/validator/-/validator-13.7.14.tgz", - "integrity": "sha512-J6OAed6rhN6zyqL9Of6ZMamhlsOEU/poBVvbHr/dKOYKTeuYYMlDkMv+b6UUV0o2i0tw73cgyv/97WTWaUl0/g==" - }, - "node_modules/@typescript-eslint/scope-manager": { - "version": "5.55.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.55.0.tgz", - "integrity": "sha512-OK+cIO1ZGhJYNCL//a3ROpsd83psf4dUJ4j7pdNVzd5DmIk+ffkuUIX2vcZQbEW/IR41DYsfJTB19tpCboxQuw==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "5.55.0", - "@typescript-eslint/visitor-keys": "5.55.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/types": { - "version": "5.55.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.55.0.tgz", - "integrity": "sha512-M4iRh4AG1ChrOL6Y+mETEKGeDnT7Sparn6fhZ5LtVJF1909D5O4uqK+C5NPbLmpfZ0XIIxCdwzKiijpZUOvOug==", - "dev": true, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/typescript-estree": { - "version": "5.55.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.55.0.tgz", - "integrity": "sha512-I7X4A9ovA8gdpWMpr7b1BN9eEbvlEtWhQvpxp/yogt48fy9Lj3iE3ild/1H3jKBBIYj5YYJmS2+9ystVhC7eaQ==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "5.55.0", - "@typescript-eslint/visitor-keys": "5.55.0", - "debug": "^4.3.4", - "globby": "^11.1.0", - "is-glob": "^4.0.3", - "semver": "^7.3.7", - "tsutils": "^3.21.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/utils": { - "version": "5.55.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.55.0.tgz", - "integrity": "sha512-FkW+i2pQKcpDC3AY6DU54yl8Lfl14FVGYDgBTyGKB75cCwV3KpkpTMFi9d9j2WAJ4271LR2HeC5SEWF/CZmmfw==", - "dev": true, - "dependencies": { - "@eslint-community/eslint-utils": "^4.2.0", - "@types/json-schema": "^7.0.9", - "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.55.0", - "@typescript-eslint/types": "5.55.0", - "@typescript-eslint/typescript-estree": "5.55.0", - "eslint-scope": "^5.1.1", - "semver": "^7.3.7" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" - } - }, - "node_modules/@typescript-eslint/utils/node_modules/eslint-scope": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", - "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", - "dev": true, - "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^4.1.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/@typescript-eslint/utils/node_modules/estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/@typescript-eslint/visitor-keys": { - "version": "5.55.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.55.0.tgz", - "integrity": "sha512-q2dlHHwWgirKh1D3acnuApXG+VNXpEY5/AwRxDVuEQpxWaB0jCDe0jFMVMALJ3ebSfuOVE8/rMS+9ZOYGg1GWw==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "5.55.0", - "eslint-visitor-keys": "^3.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/acorn": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz", - "integrity": "sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==", - "dev": true, - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/acorn-jsx": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", - "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", - "dev": true, - "peer": true, - "peerDependencies": { - "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" - } - }, - "node_modules/acorn-walk": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz", - "integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==", - "dev": true, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "dev": true, - "peer": true, - "dependencies": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "peer": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "peer": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/arg": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", - "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", - "dev": true - }, - "node_modules/argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true, - "peer": true - }, - "node_modules/array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true - }, - "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dev": true, - "dependencies": { - "fill-range": "^7.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/builtin-modules": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", - "integrity": "sha512-wxXCdllwGhI2kCC0MnvTGYTMvnVZTvqgypkiTI8Pa5tcz2i6VqsqwYGgqwXji+4RgCzms6EajE4IxiUH6HH8nQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", - "dev": true, - "peer": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/camel-case": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz", - "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==", - "dev": true, - "dependencies": { - "pascal-case": "^3.1.2", - "tslib": "^2.0.3" - } - }, - "node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "peer": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/class-validator": { - "version": "0.14.0", - "resolved": "https://registry.npmjs.org/class-validator/-/class-validator-0.14.0.tgz", - "integrity": "sha512-ct3ltplN8I9fOwUd8GrP8UQixwff129BkEtuWDKL5W45cQuLd19xqmTLu5ge78YDm/fdje6FMt0hGOhl0lii3A==", - "dependencies": { - "@types/validator": "^13.7.10", - "libphonenumber-js": "^1.10.14", - "validator": "^13.7.0" - } - }, - "node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "peer": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true, - "peer": true - }, - "node_modules/commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true - }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", - "dev": true - }, - "node_modules/create-require": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", - "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", - "dev": true - }, - "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", - "dev": true, - "peer": true, - "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/deep-is": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", - "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", - "dev": true, - "peer": true - }, - "node_modules/diff": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", - "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", - "dev": true, - "engines": { - "node": ">=0.3.1" - } - }, - "node_modules/dir-glob": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", - "dev": true, - "dependencies": { - "path-type": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/doctrine": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", - "dev": true, - "peer": true, - "dependencies": { - "esutils": "^2.0.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", - "dev": true, - "peer": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/eslint": { - "version": "8.36.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.36.0.tgz", - "integrity": "sha512-Y956lmS7vDqomxlaaQAHVmeb4tNMp2FWIvU/RnU5BD3IKMD/MJPr76xdyr68P8tV1iNMvN2mRK0yy3c+UjL+bw==", - "dev": true, - "peer": true, - "dependencies": { - "@eslint-community/eslint-utils": "^4.2.0", - "@eslint-community/regexpp": "^4.4.0", - "@eslint/eslintrc": "^2.0.1", - "@eslint/js": "8.36.0", - "@humanwhocodes/config-array": "^0.11.8", - "@humanwhocodes/module-importer": "^1.0.1", - "@nodelib/fs.walk": "^1.2.8", - "ajv": "^6.10.0", - "chalk": "^4.0.0", - "cross-spawn": "^7.0.2", - "debug": "^4.3.2", - "doctrine": "^3.0.0", - "escape-string-regexp": "^4.0.0", - "eslint-scope": "^7.1.1", - "eslint-visitor-keys": "^3.3.0", - "espree": "^9.5.0", - "esquery": "^1.4.2", - "esutils": "^2.0.2", - "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^6.0.1", - "find-up": "^5.0.0", - "glob-parent": "^6.0.2", - "globals": "^13.19.0", - "grapheme-splitter": "^1.0.4", - "ignore": "^5.2.0", - "import-fresh": "^3.0.0", - "imurmurhash": "^0.1.4", - "is-glob": "^4.0.0", - "is-path-inside": "^3.0.3", - "js-sdsl": "^4.1.4", - "js-yaml": "^4.1.0", - "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.4.1", - "lodash.merge": "^4.6.2", - "minimatch": "^3.1.2", - "natural-compare": "^1.4.0", - "optionator": "^0.9.1", - "strip-ansi": "^6.0.1", - "strip-json-comments": "^3.1.0", - "text-table": "^0.2.0" - }, - "bin": { - "eslint": "bin/eslint.js" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/eslint-plugin-n8n-nodes-base": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-n8n-nodes-base/-/eslint-plugin-n8n-nodes-base-1.12.1.tgz", - "integrity": "sha512-CJlza5dEobyEgOcXfdJuvA14+XG8isAMINgezaJ3SVcOkInF3p/WpBlJ2VVzeqOMmVLQ8U0bgfzYKCWFKZPb7w==", - "dev": true, - "dependencies": { - "@typescript-eslint/utils": "^5.17.0", - "camel-case": "^4.1.2", - "eslint-plugin-n8n-nodes-base": "^1.12.0", - "indefinite": "^2.4.1", - "pascal-case": "^3.1.2", - "pluralize": "^8.0.0", - "prettier": "^2.7.1", - "sentence-case": "^3.0.4", - "title-case": "^3.0.3" - } - }, - "node_modules/eslint-scope": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz", - "integrity": "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==", - "dev": true, - "peer": true, - "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^5.2.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/eslint-visitor-keys": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz", - "integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==", - "dev": true, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/espree": { - "version": "9.5.0", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.5.0.tgz", - "integrity": "sha512-JPbJGhKc47++oo4JkEoTe2wjy4fmMwvFpgJT9cQzmfXKp22Dr6Hf1tdCteLz1h0P3t+mGvWZ+4Uankvh8+c6zw==", - "dev": true, - "peer": true, - "dependencies": { - "acorn": "^8.8.0", - "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "dev": true, - "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/esquery": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", - "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", - "dev": true, - "peer": true, - "dependencies": { - "estraverse": "^5.1.0" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/esrecurse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", - "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", - "dev": true, - "dependencies": { - "estraverse": "^5.2.0" - }, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/esutils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", - "dev": true, - "peer": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true, - "peer": true - }, - "node_modules/fast-glob": { - "version": "3.2.12", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz", - "integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==", - "dev": true, - "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.4" - }, - "engines": { - "node": ">=8.6.0" - } - }, - "node_modules/fast-glob/node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "dev": true, - "peer": true - }, - "node_modules/fast-levenshtein": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", - "dev": true, - "peer": true - }, - "node_modules/fastq": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", - "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", - "dev": true, - "dependencies": { - "reusify": "^1.0.4" - } - }, - "node_modules/file-entry-cache": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", - "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", - "dev": true, - "peer": true, - "dependencies": { - "flat-cache": "^3.0.4" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" - } - }, - "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dev": true, - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-up": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", - "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", - "dev": true, - "peer": true, - "dependencies": { - "locate-path": "^6.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/flat-cache": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", - "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", - "dev": true, - "peer": true, - "dependencies": { - "flatted": "^3.1.0", - "rimraf": "^3.0.2" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" - } - }, - "node_modules/flatted": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", - "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==", - "dev": true, - "peer": true - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", - "dev": true - }, - "node_modules/function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true - }, - "node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dev": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/glob-parent": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", - "dev": true, - "peer": true, - "dependencies": { - "is-glob": "^4.0.3" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/globals": { - "version": "13.20.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", - "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", - "dev": true, - "peer": true, - "dependencies": { - "type-fest": "^0.20.2" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/globby": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", - "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", - "dev": true, - "dependencies": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.2.9", - "ignore": "^5.2.0", - "merge2": "^1.4.1", - "slash": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/grapheme-splitter": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", - "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", - "dev": true, - "peer": true - }, - "node_modules/has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.1" - }, - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "peer": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", - "dev": true, - "engines": { - "node": ">= 4" - } - }, - "node_modules/import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", - "dev": true, - "peer": true, - "dependencies": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/imurmurhash": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", - "dev": true, - "peer": true, - "engines": { - "node": ">=0.8.19" - } - }, - "node_modules/indefinite": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/indefinite/-/indefinite-2.4.2.tgz", - "integrity": "sha512-z8fxRTYuBwocAax4kokd5QXxNLbsifh4feUr0CJjTnGtH7H3NF0XRXQYrQsTs0D1WZCqpqtqNz3ouab9oDkcpw==", - "dev": true, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "dev": true, - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true - }, - "node_modules/is-core-module": { - "version": "2.11.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz", - "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==", - "dev": true, - "dependencies": { - "has": "^1.0.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dev": true, - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-path-inside": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", - "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", - "dev": true, - "peer": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", - "dev": true, - "peer": true - }, - "node_modules/js-sdsl": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/js-sdsl/-/js-sdsl-4.3.0.tgz", - "integrity": "sha512-mifzlm2+5nZ+lEcLJMoBK0/IH/bDg8XnJfd/Wq6IP+xoCjLZsTOnV2QpxlVbX9bMnkl5PdEjNtBJ9Cj1NjifhQ==", - "dev": true, - "peer": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/js-sdsl" - } - }, - "node_modules/js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true - }, - "node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", - "dev": true, - "peer": true, - "dependencies": { - "argparse": "^2.0.1" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true, - "peer": true - }, - "node_modules/json-stable-stringify-without-jsonify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", - "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", - "dev": true, - "peer": true - }, - "node_modules/levn": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", - "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", - "dev": true, - "peer": true, - "dependencies": { - "prelude-ls": "^1.2.1", - "type-check": "~0.4.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/libphonenumber-js": { - "version": "1.10.24", - "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.10.24.tgz", - "integrity": "sha512-3Dk8f5AmrcWqg+oHhmm9hwSTqpWHBdSqsHmjCJGroULFubi0+x7JEIGmRZCuL3TI8Tx39xaKqfnhsDQ4ALa/Nw==" - }, - "node_modules/locate-path": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", - "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", - "dev": true, - "peer": true, - "dependencies": { - "p-locate": "^5.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/lodash.merge": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", - "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", - "dev": true, - "peer": true - }, - "node_modules/lower-case": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz", - "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==", - "dev": true, - "dependencies": { - "tslib": "^2.0.3" - } - }, - "node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/make-error": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", - "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", - "dev": true - }, - "node_modules/merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", - "dev": true, - "engines": { - "node": ">= 8" - } - }, - "node_modules/micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", - "dev": true, - "dependencies": { - "braces": "^3.0.2", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/mkdirp": { - "version": "0.5.6", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", - "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", - "dev": true, - "dependencies": { - "minimist": "^1.2.6" - }, - "bin": { - "mkdirp": "bin/cmd.js" - } - }, - "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "node_modules/natural-compare": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", - "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", - "dev": true, - "peer": true - }, - "node_modules/no-case": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz", - "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==", - "dev": true, - "dependencies": { - "lower-case": "^2.0.2", - "tslib": "^2.0.3" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dev": true, - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/optionator": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", - "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", - "dev": true, - "peer": true, - "dependencies": { - "deep-is": "^0.1.3", - "fast-levenshtein": "^2.0.6", - "levn": "^0.4.1", - "prelude-ls": "^1.2.1", - "type-check": "^0.4.0", - "word-wrap": "^1.2.3" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", - "dev": true, - "peer": true, - "dependencies": { - "yocto-queue": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-locate": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", - "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", - "dev": true, - "peer": true, - "dependencies": { - "p-limit": "^3.0.2" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/parent-module": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", - "dev": true, - "peer": true, - "dependencies": { - "callsites": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/pascal-case": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz", - "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==", - "dev": true, - "dependencies": { - "no-case": "^3.0.4", - "tslib": "^2.0.3" - } - }, - "node_modules/path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true, - "peer": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true, - "peer": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true - }, - "node_modules/path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "dev": true, - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/pluralize": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-8.0.0.tgz", - "integrity": "sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/prelude-ls": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", - "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", - "dev": true, - "peer": true, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/prettier": { - "version": "2.8.4", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.4.tgz", - "integrity": "sha512-vIS4Rlc2FNh0BySk3Wkd6xmwxB0FpOndW5fisM5H8hsZSxU2VWVB5CWIkIjWvrHjIhxk2g3bfMKM87zNTrZddw==", - "dev": true, - "bin": { - "prettier": "bin-prettier.js" - }, - "engines": { - "node": ">=10.13.0" - }, - "funding": { - "url": "https://github.com/prettier/prettier?sponsor=1" - } - }, - "node_modules/punycode": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", - "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", - "dev": true, - "peer": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/queue-microtask": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/resolve": { - "version": "1.22.1", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz", - "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", - "dev": true, - "dependencies": { - "is-core-module": "^2.9.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", - "dev": true, - "peer": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/reusify": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", - "dev": true, - "engines": { - "iojs": ">=1.0.0", - "node": ">=0.10.0" - } - }, - "node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dev": true, - "peer": true, - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/run-parallel": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", - "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "queue-microtask": "^1.2.2" - } - }, - "node_modules/semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/sentence-case": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/sentence-case/-/sentence-case-3.0.4.tgz", - "integrity": "sha512-8LS0JInaQMCRoQ7YUytAo/xUu5W2XnQxV2HI/6uM6U7CITS1RqPElr30V6uIqyMKM9lJGRVFy5/4CuzcixNYSg==", - "dev": true, - "dependencies": { - "no-case": "^3.0.4", - "tslib": "^2.0.3", - "upper-case-first": "^2.0.2" - } - }, - "node_modules/shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dev": true, - "peer": true, - "dependencies": { - "shebang-regex": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "dev": true, - "peer": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", - "dev": true - }, - "node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "peer": true, - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-json-comments": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", - "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", - "dev": true, - "peer": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "peer": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/text-table": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", - "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", - "dev": true, - "peer": true - }, - "node_modules/title-case": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/title-case/-/title-case-3.0.3.tgz", - "integrity": "sha512-e1zGYRvbffpcHIrnuqT0Dh+gEJtDaxDSoG4JAIpq4oDFyooziLBIiYQv0GBT4FUAnUop5uZ1hiIAj7oAF6sOCA==", - "dev": true, - "dependencies": { - "tslib": "^2.0.3" - } - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/ts-node": { - "version": "10.9.1", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.1.tgz", - "integrity": "sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==", - "dev": true, - "dependencies": { - "@cspotcode/source-map-support": "^0.8.0", - "@tsconfig/node10": "^1.0.7", - "@tsconfig/node12": "^1.0.7", - "@tsconfig/node14": "^1.0.0", - "@tsconfig/node16": "^1.0.2", - "acorn": "^8.4.1", - "acorn-walk": "^8.1.1", - "arg": "^4.1.0", - "create-require": "^1.1.0", - "diff": "^4.0.1", - "make-error": "^1.1.1", - "v8-compile-cache-lib": "^3.0.1", - "yn": "3.1.1" - }, - "bin": { - "ts-node": "dist/bin.js", - "ts-node-cwd": "dist/bin-cwd.js", - "ts-node-esm": "dist/bin-esm.js", - "ts-node-script": "dist/bin-script.js", - "ts-node-transpile-only": "dist/bin-transpile.js", - "ts-script": "dist/bin-script-deprecated.js" - }, - "peerDependencies": { - "@swc/core": ">=1.2.50", - "@swc/wasm": ">=1.2.50", - "@types/node": "*", - "typescript": ">=2.7" - }, - "peerDependenciesMeta": { - "@swc/core": { - "optional": true - }, - "@swc/wasm": { - "optional": true - } - } - }, - "node_modules/tslib": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", - "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==", - "dev": true - }, - "node_modules/tslint": { - "version": "6.1.3", - "resolved": "https://registry.npmjs.org/tslint/-/tslint-6.1.3.tgz", - "integrity": "sha512-IbR4nkT96EQOvKE2PW/djGz8iGNeJ4rF2mBfiYaR/nvUWYKJhLwimoJKgjIFEIDibBtOevj7BqCRL4oHeWWUCg==", - "deprecated": "TSLint has been deprecated in favor of ESLint. Please see https://github.com/palantir/tslint/issues/4534 for more information.", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.0.0", - "builtin-modules": "^1.1.1", - "chalk": "^2.3.0", - "commander": "^2.12.1", - "diff": "^4.0.1", - "glob": "^7.1.1", - "js-yaml": "^3.13.1", - "minimatch": "^3.0.4", - "mkdirp": "^0.5.3", - "resolve": "^1.3.2", - "semver": "^5.3.0", - "tslib": "^1.13.0", - "tsutils": "^2.29.0" - }, - "bin": { - "tslint": "bin/tslint" - }, - "engines": { - "node": ">=4.8.0" - }, - "peerDependencies": { - "typescript": ">=2.3.0-dev || >=2.4.0-dev || >=2.5.0-dev || >=2.6.0-dev || >=2.7.0-dev || >=2.8.0-dev || >=2.9.0-dev || >=3.0.0-dev || >= 3.1.0-dev || >= 3.2.0-dev || >= 4.0.0-dev" - } - }, - "node_modules/tslint/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/tslint/node_modules/argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "dev": true, - "dependencies": { - "sprintf-js": "~1.0.2" - } - }, - "node_modules/tslint/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/tslint/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/tslint/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true - }, - "node_modules/tslint/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "dev": true, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/tslint/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/tslint/node_modules/js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", - "dev": true, - "dependencies": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/tslint/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/tslint/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/tslint/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "dev": true - }, - "node_modules/tslint/node_modules/tsutils": { - "version": "2.29.0", - "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-2.29.0.tgz", - "integrity": "sha512-g5JVHCIJwzfISaXpXE1qvNalca5Jwob6FjI4AoPlqMusJ6ftFE7IkkFoMhVLRgK+4Kx3gkzb8UZK5t5yTTvEmA==", - "dev": true, - "dependencies": { - "tslib": "^1.8.1" - }, - "peerDependencies": { - "typescript": ">=2.1.0 || >=2.1.0-dev || >=2.2.0-dev || >=2.3.0-dev || >=2.4.0-dev || >=2.5.0-dev || >=2.6.0-dev || >=2.7.0-dev || >=2.8.0-dev || >=2.9.0-dev || >= 3.0.0-dev || >= 3.1.0-dev" - } - }, - "node_modules/tsutils": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", - "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", - "dev": true, - "dependencies": { - "tslib": "^1.8.1" - }, - "engines": { - "node": ">= 6" - }, - "peerDependencies": { - "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" - } - }, - "node_modules/tsutils/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "dev": true - }, - "node_modules/type-check": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", - "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", - "dev": true, - "peer": true, - "dependencies": { - "prelude-ls": "^1.2.1" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", - "dev": true, - "peer": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/typescript": { - "version": "4.6.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.6.4.tgz", - "integrity": "sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg==", - "dev": true, - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=4.2.0" - } - }, - "node_modules/upper-case-first": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/upper-case-first/-/upper-case-first-2.0.2.tgz", - "integrity": "sha512-514ppYHBaKwfJRK/pNC6c/OxfGa0obSnAl106u97Ed0I625Nin96KAjttZF6ZL3e1XLtphxnqrOi9iWgm+u+bg==", - "dev": true, - "dependencies": { - "tslib": "^2.0.3" - } - }, - "node_modules/uri-js": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", - "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", - "dev": true, - "peer": true, - "dependencies": { - "punycode": "^2.1.0" - } - }, - "node_modules/v8-compile-cache-lib": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", - "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", - "dev": true - }, - "node_modules/validator": { - "version": "13.9.0", - "resolved": "https://registry.npmjs.org/validator/-/validator-13.9.0.tgz", - "integrity": "sha512-B+dGG8U3fdtM0/aNK4/X8CXq/EcxU2WPrPEkJGslb47qyHsxmbggTWK0yEA4qnYVNF+nxNlN88o14hIcPmSIEA==", - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, - "peer": true, - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", - "dev": true, - "peer": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dev": true - }, - "node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, - "node_modules/yn": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", - "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/yocto-queue": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", - "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", - "dev": true, - "peer": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - } - } -} diff --git a/src/Enums/Enums.ts b/src/Enums/Enums.ts index 7975c87..37ee722 100644 --- a/src/Enums/Enums.ts +++ b/src/Enums/Enums.ts @@ -1,34 +1,16 @@ -export enum ECivility { - MALE, - FEMALE, - OTHERS, -} +export type ECivility = "MALE" | "FEMALE" | "OTHERS" -export enum EFolderStatus { - LIVE, - ARCHIVED, -} -export enum EOfficeStatus { - ACTIVATED, - DESACTIVATED, -} +export type EFolderStatus = "LIVE" | "ARCHIVED" -export enum ENotificationStatus { - READ, - UNREAD, -} -export enum ECustomerStatus { - VALIDATED, - PENDING, - ERRONED, -} +export type EOfficeStatus = "ACTIVATED" | "DESACTIVATED" -export enum EDocumentStatus { - ASKED, - DEPOSITED, - VALIDATED, - ANCHORED, - REFUSED, -} + +export type ENotificationStatus = "READ" | "UNREAD" + + +export type ECustomerStatus = "VALIDATED" | "PENDING" | "ERRONED" + + +export type EDocumentStatus = "ASKED" | "DEPOSITED" | "VALIDATED" | "ANCHORED" | "REFUSED" diff --git a/src/Interfaces/IAddress.ts b/src/Interfaces/Admin/IAddress.ts similarity index 86% rename from src/Interfaces/IAddress.ts rename to src/Interfaces/Admin/IAddress.ts index 42bf272..219693d 100644 --- a/src/Interfaces/IAddress.ts +++ b/src/Interfaces/Admin/IAddress.ts @@ -16,10 +16,10 @@ export default class IAddress { public zip_code!: number; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; @IsOptional() public office?: IOffice; diff --git a/src/Interfaces/IBlockchainAnchors.ts b/src/Interfaces/Admin/IBlockchainAnchors.ts similarity index 80% rename from src/Interfaces/IBlockchainAnchors.ts rename to src/Interfaces/Admin/IBlockchainAnchors.ts index 6f394b8..f179001 100644 --- a/src/Interfaces/IBlockchainAnchors.ts +++ b/src/Interfaces/Admin/IBlockchainAnchors.ts @@ -9,10 +9,10 @@ export default class IBlockchainAnchor { public smartSigJobId!: string; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; @IsOptional() public documents?: IDocument[]; diff --git a/src/Interfaces/IContact.ts b/src/Interfaces/Admin/IContact.ts similarity index 74% rename from src/Interfaces/IContact.ts rename to src/Interfaces/Admin/IContact.ts index b6ff7c8..234b24e 100644 --- a/src/Interfaces/IContact.ts +++ b/src/Interfaces/Admin/IContact.ts @@ -1,5 +1,5 @@ -import { IsNotEmpty, IsDate, IsOptional, IsEnum } from "class-validator"; -import { ECivility } from "../Enums/Enums"; +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import { ECivility } from "../../Enums/Enums"; import IUser from "./IUser"; import ICustomer from "./ICustomer"; import IAddress from "./IAddress"; @@ -23,17 +23,17 @@ export default class IContact { @IsOptional() public cell_phone_number!: string; - @IsEnum(ECivility) + @IsNotEmpty({ groups: ["create"] }) public civility!: ECivility; @IsNotEmpty({ groups: ["create"] }) public address!: IAddress; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; @IsOptional() public users?: IUser; diff --git a/src/Interfaces/ICustomer.ts b/src/Interfaces/Admin/ICustomer.ts similarity index 65% rename from src/Interfaces/ICustomer.ts rename to src/Interfaces/Admin/ICustomer.ts index 856713a..3f81536 100644 --- a/src/Interfaces/ICustomer.ts +++ b/src/Interfaces/Admin/ICustomer.ts @@ -1,24 +1,24 @@ -import { IsNotEmpty, IsDate, IsEnum, IsOptional } from "class-validator"; +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; import IContact from "./IContact"; -import { ECustomerStatus } from "../Enums/Enums"; +import { ECustomerStatus } from "../../Enums/Enums"; import IDocument from "./IDocument"; import IOfficeFolderHasCustomer from "./IOfficeFolderHasCustomer"; export default class ICustomer { @IsNotEmpty() public uuid!: string; - - @IsEnum(ECustomerStatus) + + @IsNotEmpty({ groups: ["create"] }) public status!: ECustomerStatus; @IsNotEmpty({ groups: ["create"] }) public contact!: IContact; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; @IsOptional() office_folder_has_customers?: IOfficeFolderHasCustomer[]; diff --git a/src/Interfaces/IDeed.ts b/src/Interfaces/Admin/IDeed.ts similarity index 79% rename from src/Interfaces/IDeed.ts rename to src/Interfaces/Admin/IDeed.ts index 5ab1e95..24f1719 100644 --- a/src/Interfaces/IDeed.ts +++ b/src/Interfaces/Admin/IDeed.ts @@ -1,7 +1,7 @@ import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; import IOfficeFolder from "./IOfficeFolder"; import IDeedHasDocumentType from "./IDeedHasDocumentType"; -import IDeedType from "./IDeedType"; +import IDeedType from "./IDeedTypes"; export default class IDeed { @IsNotEmpty() @@ -11,10 +11,10 @@ export default class IDeed { public deed_type!: IDeedType; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; @IsOptional() public deed_has_document_types?: IDeedHasDocumentType[]; diff --git a/src/Interfaces/IDeedHasDocumentType.ts b/src/Interfaces/Admin/IDeedHasDocumentType.ts similarity index 82% rename from src/Interfaces/IDeedHasDocumentType.ts rename to src/Interfaces/Admin/IDeedHasDocumentType.ts index c65db08..c35baa4 100644 --- a/src/Interfaces/IDeedHasDocumentType.ts +++ b/src/Interfaces/Admin/IDeedHasDocumentType.ts @@ -13,8 +13,8 @@ export default class IDeedHasDocumentType { public deed!: IDeed; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; } diff --git a/src/Interfaces/IDeedTypeHasDocumentType.ts b/src/Interfaces/Admin/IDeedTypeHasDocumentType.ts similarity index 75% rename from src/Interfaces/IDeedTypeHasDocumentType.ts rename to src/Interfaces/Admin/IDeedTypeHasDocumentType.ts index 7c4996e..f09c470 100644 --- a/src/Interfaces/IDeedTypeHasDocumentType.ts +++ b/src/Interfaces/Admin/IDeedTypeHasDocumentType.ts @@ -1,5 +1,5 @@ import { IsNotEmpty, IsDate } from "class-validator"; -import IDeedType from "./IDeedType"; +import IDeedType from "./IDeedTypes"; import IDocumentType from "./IDocumentType"; export default class IDeedTypeHasDocumentType { @@ -13,8 +13,8 @@ export default class IDeedTypeHasDocumentType { public deed_type!: IDeedType; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; } diff --git a/src/Interfaces/IDeedType.ts b/src/Interfaces/Admin/IDeedTypes.ts similarity index 79% rename from src/Interfaces/IDeedType.ts rename to src/Interfaces/Admin/IDeedTypes.ts index bb6f2e0..7b4a400 100644 --- a/src/Interfaces/IDeedType.ts +++ b/src/Interfaces/Admin/IDeedTypes.ts @@ -4,7 +4,7 @@ import IDeedTypeHasDocumentType from "./IDeedTypeHasDocumentType"; import IOffice from "./IOffice"; import IDeed from "./IDeed"; -export default class IDeedType { +export default class IDeedTypes { @IsNotEmpty() public uuid!: string; @@ -14,18 +14,17 @@ export default class IDeedType { @IsNotEmpty({ groups: ["create"] }) public description!: string; - @IsNotEmpty({ groups: ["create"] }) @IsDate() - public archived_at!: Date; + public archived_at: Date | null = null; @IsNotEmpty({ groups: ["create"] }) public office!: IOffice; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; @IsOptional() public deed?: IDeed[]; diff --git a/src/Interfaces/IDocument.ts b/src/Interfaces/Admin/IDocument.ts similarity index 80% rename from src/Interfaces/IDocument.ts rename to src/Interfaces/Admin/IDocument.ts index b0b0ded..d362a5e 100644 --- a/src/Interfaces/IDocument.ts +++ b/src/Interfaces/Admin/IDocument.ts @@ -1,6 +1,6 @@ -import { IsNotEmpty, IsDate, IsEnum, IsOptional } from "class-validator"; +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; import ICustomer from "./ICustomer"; -import { EDocumentStatus } from "../Enums/Enums"; +import { EDocumentStatus } from "../../Enums/Enums"; import IOfficeFolder from "./IOfficeFolder"; import IDocumentType from "./IDocumentType"; import IBlockchainAnchor from "./IBlockchainAnchors"; @@ -12,7 +12,6 @@ export default class IDocument { public uuid!: string; @IsNotEmpty({ groups: ["create"] }) - @IsEnum(EDocumentStatus) public document_status!: EDocumentStatus; @IsNotEmpty({ groups: ["create"] }) @@ -28,10 +27,10 @@ export default class IDocument { public depositor!: ICustomer; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; @IsOptional() public files?: IFile[]; diff --git a/src/Interfaces/IDocumentHistory.ts b/src/Interfaces/Admin/IDocumentHistory.ts similarity index 56% rename from src/Interfaces/IDocumentHistory.ts rename to src/Interfaces/Admin/IDocumentHistory.ts index e17ff5b..6190a90 100644 --- a/src/Interfaces/IDocumentHistory.ts +++ b/src/Interfaces/Admin/IDocumentHistory.ts @@ -1,5 +1,5 @@ -import { IsNotEmpty, IsDate, IsEnum, IsOptional } from "class-validator"; -import { EDocumentStatus } from "../Enums/Enums"; +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import { EDocumentStatus } from "../../Enums/Enums"; import IDocument from "./IDocument"; export default class IDocumentHistory { @@ -7,18 +7,17 @@ export default class IDocumentHistory { public uuid!: string; @IsNotEmpty({ groups: ["create"] }) - @IsEnum(EDocumentStatus) public document_status!: EDocumentStatus; @IsNotEmpty({ groups: ["create"] }) public document!: IDocument; @IsOptional() - public refused_reason?: string; + public refused_reason: string | null = null; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; } diff --git a/src/Interfaces/IDocumentType.ts b/src/Interfaces/Admin/IDocumentType.ts similarity index 80% rename from src/Interfaces/IDocumentType.ts rename to src/Interfaces/Admin/IDocumentType.ts index 038e027..9880348 100644 --- a/src/Interfaces/IDocumentType.ts +++ b/src/Interfaces/Admin/IDocumentType.ts @@ -14,17 +14,16 @@ export default class IDocumentType { public public_description!: string; @IsOptional() - public private_description?: string; - - @IsOptional() - @IsDate() - public archived_at?: Date; + public private_description: string | null = null; @IsDate() - public created_at?: Date; + public archived_at: Date | null = null; @IsDate() - public updated_at?: Date; + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; @IsOptional() public documents?: IDocument[]; diff --git a/src/Interfaces/IFile.ts b/src/Interfaces/Admin/IFile.ts similarity index 69% rename from src/Interfaces/IFile.ts rename to src/Interfaces/Admin/IFile.ts index 79d5a70..4bf370f 100644 --- a/src/Interfaces/IFile.ts +++ b/src/Interfaces/Admin/IFile.ts @@ -9,11 +9,11 @@ export default class IFile { public document!: IDocument; @IsOptional() - public file_path?: string; + public file_path: string | null = null; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; } diff --git a/src/Interfaces/INotification.ts b/src/Interfaces/Admin/INotification.ts similarity index 84% rename from src/Interfaces/INotification.ts rename to src/Interfaces/Admin/INotification.ts index 7e02286..c0e0524 100644 --- a/src/Interfaces/INotification.ts +++ b/src/Interfaces/Admin/INotification.ts @@ -13,10 +13,10 @@ export default class INotification { public redirection_url!: string; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; @IsOptional() user_has_notifications?: IUserHasNotification[]; diff --git a/src/Interfaces/IOffice.ts b/src/Interfaces/Admin/IOffice.ts similarity index 73% rename from src/Interfaces/IOffice.ts rename to src/Interfaces/Admin/IOffice.ts index 199b37a..77ddcb5 100644 --- a/src/Interfaces/IOffice.ts +++ b/src/Interfaces/Admin/IOffice.ts @@ -1,9 +1,9 @@ -import { IsNotEmpty, IsDate, IsEnum, IsOptional } from "class-validator"; +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; import IAddress from "./IAddress"; -import { EOfficeStatus } from "../Enums/Enums"; +import { EOfficeStatus } from "../../Enums/Enums"; import IUser from "./IUser"; import IOfficeFolder from "./IOfficeFolder"; -import IDeedType from "./IDeedType"; +import IDeedType from "./IDeedTypes"; export default class IOffice { @IsNotEmpty() @@ -22,14 +22,13 @@ export default class IOffice { public address!: IAddress; @IsNotEmpty({ groups: ["create"] }) - @IsEnum(EOfficeStatus) public office_status!: EOfficeStatus; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; @IsOptional() deed_types?: IDeedType[]; diff --git a/src/Interfaces/IOfficeFolder.ts b/src/Interfaces/Admin/IOfficeFolder.ts similarity index 75% rename from src/Interfaces/IOfficeFolder.ts rename to src/Interfaces/Admin/IOfficeFolder.ts index 535a18d..ccdb551 100644 --- a/src/Interfaces/IOfficeFolder.ts +++ b/src/Interfaces/Admin/IOfficeFolder.ts @@ -1,5 +1,5 @@ -import { IsNotEmpty, IsDate, IsEnum, IsOptional } from "class-validator"; -import { EFolderStatus } from "../Enums/Enums"; +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import { EFolderStatus } from "../../Enums/Enums"; import IDeed from "./IDeed"; import IDocument from "./IDocument"; import IOffice from "./IOffice"; @@ -17,13 +17,12 @@ export default class IOfficeFolder { public name!: string; @IsOptional() - public description?: string; + public description: string | null = null; @IsOptional() - public archived_description?: string; + public archived_description: string | null = null; @IsNotEmpty({ groups: ["create"] }) - @IsEnum(EFolderStatus) public status!: EFolderStatus; @IsNotEmpty({ groups: ["create"] }) @@ -33,10 +32,10 @@ export default class IOfficeFolder { public office!: IOffice; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; @IsOptional() office_folder_has_customers?: IOfficeFolderHasCustomer[]; diff --git a/src/Interfaces/IOfficeFolderHasCustomer.ts b/src/Interfaces/Admin/IOfficeFolderHasCustomer.ts similarity index 83% rename from src/Interfaces/IOfficeFolderHasCustomer.ts rename to src/Interfaces/Admin/IOfficeFolderHasCustomer.ts index b86b21a..fb85cee 100644 --- a/src/Interfaces/IOfficeFolderHasCustomer.ts +++ b/src/Interfaces/Admin/IOfficeFolderHasCustomer.ts @@ -13,8 +13,8 @@ export default class IOfficeFolderHasCustomer { public office_folder!: IOfficeFolder; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; } diff --git a/src/Interfaces/IOfficeFolderHasStakeholder.ts b/src/Interfaces/Admin/IOfficeFolderHasStakeholder.ts similarity index 83% rename from src/Interfaces/IOfficeFolderHasStakeholder.ts rename to src/Interfaces/Admin/IOfficeFolderHasStakeholder.ts index ba50cc4..5e27d76 100644 --- a/src/Interfaces/IOfficeFolderHasStakeholder.ts +++ b/src/Interfaces/Admin/IOfficeFolderHasStakeholder.ts @@ -13,8 +13,8 @@ export default class IOfficeFolderHasStakeholder { public office_folder!: IOfficeFolder; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; } diff --git a/src/Interfaces/IUser.ts b/src/Interfaces/Admin/IUser.ts similarity index 89% rename from src/Interfaces/IUser.ts rename to src/Interfaces/Admin/IUser.ts index a30aac2..237e037 100644 --- a/src/Interfaces/IUser.ts +++ b/src/Interfaces/Admin/IUser.ts @@ -18,10 +18,10 @@ export default class IUser { public office_membership!: OfficesEntity; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; @IsOptional() office_folder_has_stakeholders?: IOfficeFolderHasStakeholder[]; diff --git a/src/Interfaces/IUserHasNotification.ts b/src/Interfaces/Admin/IUserHasNotification.ts similarity index 82% rename from src/Interfaces/IUserHasNotification.ts rename to src/Interfaces/Admin/IUserHasNotification.ts index 25db52d..7c134d4 100644 --- a/src/Interfaces/IUserHasNotification.ts +++ b/src/Interfaces/Admin/IUserHasNotification.ts @@ -13,8 +13,8 @@ export default class IUserHasNotification { public notification!: INotification; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; } diff --git a/src/Interfaces/IAddressAdmin.ts b/src/Interfaces/Customer/IAddress.ts similarity index 69% rename from src/Interfaces/IAddressAdmin.ts rename to src/Interfaces/Customer/IAddress.ts index e90a622..219693d 100644 --- a/src/Interfaces/IAddressAdmin.ts +++ b/src/Interfaces/Customer/IAddress.ts @@ -1,8 +1,8 @@ import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; -import IContact from "./IContactAdmin"; -import IOffice from "./IOfficeAdmin"; +import IContact from "./IContact"; +import IOffice from "./IOffice"; -export default class IAddressAdmin { +export default class IAddress { @IsNotEmpty() public uuid!: string; @@ -16,10 +16,10 @@ export default class IAddressAdmin { public zip_code!: number; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; @IsOptional() public office?: IOffice; diff --git a/src/Interfaces/IContactAdmin.ts b/src/Interfaces/Customer/IContact.ts similarity index 60% rename from src/Interfaces/IContactAdmin.ts rename to src/Interfaces/Customer/IContact.ts index 02ef442..234b24e 100644 --- a/src/Interfaces/IContactAdmin.ts +++ b/src/Interfaces/Customer/IContact.ts @@ -1,10 +1,10 @@ -import { IsNotEmpty, IsDate, IsOptional, IsEnum } from "class-validator"; -import { ECivility } from "../Enums/Enums"; -import IUser from "./IUserAdmin"; -import ICustomer from "./ICustomerAdmin"; -import IAddress from "./IAddressAdmin"; +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import { ECivility } from "../../Enums/Enums"; +import IUser from "./IUser"; +import ICustomer from "./ICustomer"; +import IAddress from "./IAddress"; -export default class IContactAdmin { +export default class IContact { @IsNotEmpty() public uuid!: string; @@ -23,17 +23,17 @@ export default class IContactAdmin { @IsOptional() public cell_phone_number!: string; - @IsEnum(ECivility) + @IsNotEmpty({ groups: ["create"] }) public civility!: ECivility; @IsNotEmpty({ groups: ["create"] }) public address!: IAddress; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; @IsOptional() public users?: IUser; diff --git a/src/Interfaces/ICustomerAdmin.ts b/src/Interfaces/Customer/ICustomer.ts similarity index 50% rename from src/Interfaces/ICustomerAdmin.ts rename to src/Interfaces/Customer/ICustomer.ts index 1f80aa6..3f81536 100644 --- a/src/Interfaces/ICustomerAdmin.ts +++ b/src/Interfaces/Customer/ICustomer.ts @@ -1,24 +1,24 @@ -import { IsNotEmpty, IsDate, IsEnum, IsOptional } from "class-validator"; -import IContact from "./IContactAdmin"; -import { ECustomerStatus } from "../Enums/Enums"; -import IDocument from "./IDocumentAdmin"; -import IOfficeFolderHasCustomer from "./IOfficeFolderHasCustomerAdmin"; +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import IContact from "./IContact"; +import { ECustomerStatus } from "../../Enums/Enums"; +import IDocument from "./IDocument"; +import IOfficeFolderHasCustomer from "./IOfficeFolderHasCustomer"; -export default class ICustomerAdmin { +export default class ICustomer { @IsNotEmpty() public uuid!: string; - - @IsEnum(ECustomerStatus) + + @IsNotEmpty({ groups: ["create"] }) public status!: ECustomerStatus; @IsNotEmpty({ groups: ["create"] }) public contact!: IContact; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; @IsOptional() office_folder_has_customers?: IOfficeFolderHasCustomer[]; diff --git a/src/Interfaces/IDeedAdmin.ts b/src/Interfaces/Customer/IDeed.ts similarity index 57% rename from src/Interfaces/IDeedAdmin.ts rename to src/Interfaces/Customer/IDeed.ts index 19947fa..24f1719 100644 --- a/src/Interfaces/IDeedAdmin.ts +++ b/src/Interfaces/Customer/IDeed.ts @@ -1,9 +1,9 @@ import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; -import IOfficeFolder from "./IOfficeFolderAdmin"; -import IDeedHasDocumentType from "./IDeedHasDocumentTypeAdmin"; -import IDeedType from "./IDeedTypeAdmin"; +import IOfficeFolder from "./IOfficeFolder"; +import IDeedHasDocumentType from "./IDeedHasDocumentType"; +import IDeedType from "./IDeedTypes"; -export default class IDeedAdmin { +export default class IDeed { @IsNotEmpty() public uuid!: string; @@ -11,10 +11,10 @@ export default class IDeedAdmin { public deed_type!: IDeedType; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; @IsOptional() public deed_has_document_types?: IDeedHasDocumentType[]; diff --git a/src/Interfaces/IDeedHasDocumentTypeAdmin.ts b/src/Interfaces/Customer/IDeedHasDocumentType.ts similarity index 56% rename from src/Interfaces/IDeedHasDocumentTypeAdmin.ts rename to src/Interfaces/Customer/IDeedHasDocumentType.ts index 8238cc7..c35baa4 100644 --- a/src/Interfaces/IDeedHasDocumentTypeAdmin.ts +++ b/src/Interfaces/Customer/IDeedHasDocumentType.ts @@ -1,8 +1,8 @@ import { IsNotEmpty, IsDate } from "class-validator"; -import IDeed from "./IDeedAdmin"; -import IDocumentType from "./IDocumentTypeAdmin"; +import IDeed from "./IDeed"; +import IDocumentType from "./IDocumentType"; -export default class IDeedHasDocumentTypeAdmin { +export default class IDeedHasDocumentType { @IsNotEmpty() public uuid!: string; @@ -13,8 +13,8 @@ export default class IDeedHasDocumentTypeAdmin { public deed!: IDeed; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; } diff --git a/src/Interfaces/IDeedTypeHasDocumentTypeAdmin.ts b/src/Interfaces/Customer/IDeedTypeHasDocumentType.ts similarity index 56% rename from src/Interfaces/IDeedTypeHasDocumentTypeAdmin.ts rename to src/Interfaces/Customer/IDeedTypeHasDocumentType.ts index c8c7a20..f09c470 100644 --- a/src/Interfaces/IDeedTypeHasDocumentTypeAdmin.ts +++ b/src/Interfaces/Customer/IDeedTypeHasDocumentType.ts @@ -1,8 +1,8 @@ import { IsNotEmpty, IsDate } from "class-validator"; -import IDeedType from "./IDeedTypeAdmin"; -import IDocumentType from "./IDocumentTypeAdmin"; +import IDeedType from "./IDeedTypes"; +import IDocumentType from "./IDocumentType"; -export default class IDeedTypeHasDocumentTypeAdmin { +export default class IDeedTypeHasDocumentType { @IsNotEmpty() public uuid!: string; @@ -13,8 +13,8 @@ export default class IDeedTypeHasDocumentTypeAdmin { public deed_type!: IDeedType; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; } diff --git a/src/Interfaces/IDeedTypeAdmin.ts b/src/Interfaces/Customer/IDeedTypes.ts similarity index 69% rename from src/Interfaces/IDeedTypeAdmin.ts rename to src/Interfaces/Customer/IDeedTypes.ts index b44fcc6..7b4a400 100644 --- a/src/Interfaces/IDeedTypeAdmin.ts +++ b/src/Interfaces/Customer/IDeedTypes.ts @@ -1,10 +1,10 @@ import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; import IDeedTypeHasDocumentType from "./IDeedTypeHasDocumentType"; -import IOffice from "./IOfficeAdmin"; -import IDeed from "./IDeedAdmin"; +import IOffice from "./IOffice"; +import IDeed from "./IDeed"; -export default class IDeedTypeAdmin { +export default class IDeedTypes { @IsNotEmpty() public uuid!: string; @@ -14,18 +14,17 @@ export default class IDeedTypeAdmin { @IsNotEmpty({ groups: ["create"] }) public description!: string; - @IsNotEmpty({ groups: ["create"] }) @IsDate() - public archived_at!: Date; + public archived_at: Date | null = null; @IsNotEmpty({ groups: ["create"] }) public office!: IOffice; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; @IsOptional() public deed?: IDeed[]; diff --git a/src/Interfaces/Customer/IDocument.ts b/src/Interfaces/Customer/IDocument.ts new file mode 100644 index 0000000..0f84c57 --- /dev/null +++ b/src/Interfaces/Customer/IDocument.ts @@ -0,0 +1,36 @@ +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import ICustomer from "./ICustomer"; +import { EDocumentStatus } from "../../Enums/Enums"; +import IOfficeFolder from "./IOfficeFolder"; +import IDocumentType from "./IDocumentType"; +import IDocumentHistory from "./IDocumentHistory"; +import IFile from "./IFile"; + +export default class IDocument { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public document_status!: EDocumentStatus; + + @IsNotEmpty({ groups: ["create"] }) + public document_type!: IDocumentType; + + @IsNotEmpty({ groups: ["create"] }) + public folder!: IOfficeFolder; + + @IsNotEmpty({ groups: ["create"] }) + public depositor!: ICustomer; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; + + @IsOptional() + public files?: IFile[]; + + @IsOptional() + public document_history?: IDocumentHistory[]; +} diff --git a/src/Interfaces/Customer/IDocumentHistory.ts b/src/Interfaces/Customer/IDocumentHistory.ts new file mode 100644 index 0000000..6190a90 --- /dev/null +++ b/src/Interfaces/Customer/IDocumentHistory.ts @@ -0,0 +1,23 @@ +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import { EDocumentStatus } from "../../Enums/Enums"; +import IDocument from "./IDocument"; + +export default class IDocumentHistory { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public document_status!: EDocumentStatus; + + @IsNotEmpty({ groups: ["create"] }) + public document!: IDocument; + + @IsOptional() + public refused_reason: string | null = null; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; +} diff --git a/src/Interfaces/IDocumentTypeAdmin.ts b/src/Interfaces/Customer/IDocumentType.ts similarity index 65% rename from src/Interfaces/IDocumentTypeAdmin.ts rename to src/Interfaces/Customer/IDocumentType.ts index 82b2fdc..9880348 100644 --- a/src/Interfaces/IDocumentTypeAdmin.ts +++ b/src/Interfaces/Customer/IDocumentType.ts @@ -1,9 +1,9 @@ import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; -import IDeedHasDocumentType from "./IDeedHasDocumentTypeAdmin"; -import IDeedTypeHasDocumentType from "./IDeedTypeHasDocumentTypeAdmin"; -import IDocument from "./IDocumentAdmin"; +import IDeedHasDocumentType from "./IDeedHasDocumentType"; +import IDeedTypeHasDocumentType from "./IDeedTypeHasDocumentType"; +import IDocument from "./IDocument"; -export default class IDocumentTypeAdmin { +export default class IDocumentType { @IsNotEmpty() public uuid!: string; @@ -14,17 +14,16 @@ export default class IDocumentTypeAdmin { public public_description!: string; @IsOptional() - public private_description?: string; - - @IsOptional() - @IsDate() - public archived_at?: Date; + public private_description: string | null = null; @IsDate() - public created_at?: Date; + public archived_at: Date | null = null; @IsDate() - public updated_at?: Date; + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; @IsOptional() public documents?: IDocument[]; diff --git a/src/Interfaces/IFileAdmin.ts b/src/Interfaces/Customer/IFile.ts similarity index 53% rename from src/Interfaces/IFileAdmin.ts rename to src/Interfaces/Customer/IFile.ts index 43abb53..4bf370f 100644 --- a/src/Interfaces/IFileAdmin.ts +++ b/src/Interfaces/Customer/IFile.ts @@ -1,7 +1,7 @@ import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; -import IDocument from "./IDocumentAdmin"; +import IDocument from "./IDocument"; -export default class IFileAdmin { +export default class IFile { @IsNotEmpty() public uuid!: string; @@ -9,11 +9,11 @@ export default class IFileAdmin { public document!: IDocument; @IsOptional() - public file_path?: string; + public file_path: string | null = null; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; } diff --git a/src/Interfaces/INotificationAdmin.ts b/src/Interfaces/Customer/INotification.ts similarity index 66% rename from src/Interfaces/INotificationAdmin.ts rename to src/Interfaces/Customer/INotification.ts index e624f38..c0e0524 100644 --- a/src/Interfaces/INotificationAdmin.ts +++ b/src/Interfaces/Customer/INotification.ts @@ -1,7 +1,7 @@ import { IsNotEmpty, IsDate, IsUrl, IsOptional } from "class-validator"; -import IUserHasNotification from "./IUserHasNotificationAdmin"; +import IUserHasNotification from "./IUserHasNotification"; -export default class INotificationAdmin { +export default class INotification { @IsNotEmpty() public uuid!: string; @@ -13,10 +13,10 @@ export default class INotificationAdmin { public redirection_url!: string; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; @IsOptional() user_has_notifications?: IUserHasNotification[]; diff --git a/src/Interfaces/IOfficeAdmin.ts b/src/Interfaces/Customer/IOffice.ts similarity index 57% rename from src/Interfaces/IOfficeAdmin.ts rename to src/Interfaces/Customer/IOffice.ts index 8196cdb..d2e4d5e 100644 --- a/src/Interfaces/IOfficeAdmin.ts +++ b/src/Interfaces/Customer/IOffice.ts @@ -1,11 +1,11 @@ -import { IsNotEmpty, IsDate, IsEnum, IsOptional } from "class-validator"; -import IAddress from "./IAddressAdmin"; -import { EOfficeStatus } from "../Enums/Enums"; -import IUser from "./IUserAdmin"; -import IOfficeFolder from "./IOfficeFolderAdmin"; -import IDeedType from "./IDeedTypeAdmin"; +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import IAddress from "./IAddress"; +import { EOfficeStatus } from "../../Enums/Enums"; +import IUser from "./IUser"; +import IOfficeFolder from "./IOfficeFolder"; +import IDeedType from "./IDeedTypes"; -export default class IOfficeAdmin { +export default class IOffice{ @IsNotEmpty() public uuid!: string; @@ -22,14 +22,13 @@ export default class IOfficeAdmin { public address!: IAddress; @IsNotEmpty({ groups: ["create"] }) - @IsEnum(EOfficeStatus) public office_status!: EOfficeStatus; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; @IsOptional() deed_types?: IDeedType[]; diff --git a/src/Interfaces/IOfficeFolderAdmin.ts b/src/Interfaces/Customer/IOfficeFolder.ts similarity index 65% rename from src/Interfaces/IOfficeFolderAdmin.ts rename to src/Interfaces/Customer/IOfficeFolder.ts index 9edf9f3..ccdb551 100644 --- a/src/Interfaces/IOfficeFolderAdmin.ts +++ b/src/Interfaces/Customer/IOfficeFolder.ts @@ -1,12 +1,12 @@ -import { IsNotEmpty, IsDate, IsEnum, IsOptional } from "class-validator"; -import { EFolderStatus } from "../Enums/Enums"; +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import { EFolderStatus } from "../../Enums/Enums"; import IDeed from "./IDeed"; -import IDocument from "./IDocumentAdmin"; -import IOffice from "./IOfficeAdmin"; -import IOfficeFolderHasCustomer from "./IOfficeFolderHasCustomerAdmin"; -import IOfficeFolderHasStakeholder from "./IOfficeFolderHasStakeholderAdmin"; +import IDocument from "./IDocument"; +import IOffice from "./IOffice"; +import IOfficeFolderHasCustomer from "./IOfficeFolderHasCustomer"; +import IOfficeFolderHasStakeholder from "./IOfficeFolderHasStakeholder"; -export default class IOfficeFolderAdmin { +export default class IOfficeFolder { @IsNotEmpty() public uuid!: string; @@ -17,13 +17,12 @@ export default class IOfficeFolderAdmin { public name!: string; @IsOptional() - public description?: string; + public description: string | null = null; @IsOptional() - public archived_description?: string; + public archived_description: string | null = null; @IsNotEmpty({ groups: ["create"] }) - @IsEnum(EFolderStatus) public status!: EFolderStatus; @IsNotEmpty({ groups: ["create"] }) @@ -33,10 +32,10 @@ export default class IOfficeFolderAdmin { public office!: IOffice; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; @IsOptional() office_folder_has_customers?: IOfficeFolderHasCustomer[]; diff --git a/src/Interfaces/IOfficeFolderHasCustomerAdmin.ts b/src/Interfaces/Customer/IOfficeFolderHasCustomer.ts similarity index 56% rename from src/Interfaces/IOfficeFolderHasCustomerAdmin.ts rename to src/Interfaces/Customer/IOfficeFolderHasCustomer.ts index 68a78dd..fb85cee 100644 --- a/src/Interfaces/IOfficeFolderHasCustomerAdmin.ts +++ b/src/Interfaces/Customer/IOfficeFolderHasCustomer.ts @@ -1,8 +1,8 @@ import { IsNotEmpty, IsDate } from "class-validator"; -import ICustomer from "./ICustomerAdmin"; -import IOfficeFolder from "./IOfficeFolderAdmin"; +import ICustomer from "./ICustomer"; +import IOfficeFolder from "./IOfficeFolder"; -export default class IOfficeFolderHasCustomerAdmin { +export default class IOfficeFolderHasCustomer { @IsNotEmpty() public uuid!: string; @@ -13,8 +13,8 @@ export default class IOfficeFolderHasCustomerAdmin { public office_folder!: IOfficeFolder; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; } diff --git a/src/Interfaces/IOfficeFolderHasStakeholderAdmin.ts b/src/Interfaces/Customer/IOfficeFolderHasStakeholder.ts similarity index 57% rename from src/Interfaces/IOfficeFolderHasStakeholderAdmin.ts rename to src/Interfaces/Customer/IOfficeFolderHasStakeholder.ts index 6ed4e09..5e27d76 100644 --- a/src/Interfaces/IOfficeFolderHasStakeholderAdmin.ts +++ b/src/Interfaces/Customer/IOfficeFolderHasStakeholder.ts @@ -1,8 +1,8 @@ import { IsNotEmpty, IsDate } from "class-validator"; -import IOfficeFolder from "./IOfficeFolderAdmin"; -import IUser from "./IUserAdmin"; +import IOfficeFolder from "./IOfficeFolder"; +import IUser from "./IUser"; -export default class IOfficeFolderHasStakeholderAdmin { +export default class IOfficeFolderHasStakeholder { @IsNotEmpty() public uuid!: string; @@ -13,8 +13,8 @@ export default class IOfficeFolderHasStakeholderAdmin { public office_folder!: IOfficeFolder; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; } diff --git a/src/Interfaces/IUserAdmin.ts b/src/Interfaces/Customer/IUser.ts similarity index 70% rename from src/Interfaces/IUserAdmin.ts rename to src/Interfaces/Customer/IUser.ts index e43f47e..237e037 100644 --- a/src/Interfaces/IUserAdmin.ts +++ b/src/Interfaces/Customer/IUser.ts @@ -1,10 +1,10 @@ import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; -import IContact from "./IContactAdmin"; -import IDocument from "./IDocumentAdmin"; -import OfficesEntity from "./IOfficeAdmin"; -import IOfficeFolderHasStakeholder from "./IOfficeFolderHasStakeholderAdmin"; +import IContact from "./IContact"; +import IDocument from "./IDocument"; +import OfficesEntity from "./IOffice"; +import IOfficeFolderHasStakeholder from "./IOfficeFolderHasStakeholder"; -export default class IUserAdmin { +export default class IUser { @IsNotEmpty() public uuid!: string; @@ -18,10 +18,10 @@ export default class IUserAdmin { public office_membership!: OfficesEntity; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; @IsOptional() office_folder_has_stakeholders?: IOfficeFolderHasStakeholder[]; diff --git a/src/Interfaces/IUserHasNotificationAdmin.ts b/src/Interfaces/Customer/IUserHasNotification.ts similarity index 56% rename from src/Interfaces/IUserHasNotificationAdmin.ts rename to src/Interfaces/Customer/IUserHasNotification.ts index 1f852fd..7c134d4 100644 --- a/src/Interfaces/IUserHasNotificationAdmin.ts +++ b/src/Interfaces/Customer/IUserHasNotification.ts @@ -1,8 +1,8 @@ import { IsNotEmpty, IsDate } from "class-validator"; -import INotification from "./INotificationAdmin"; -import IUser from "./IUserAdmin"; +import INotification from "./INotification"; +import IUser from "./IUser"; -export default class IUserHasNotificationAdmin { +export default class IUserHasNotification { @IsNotEmpty() public uuid!: string; @@ -13,8 +13,8 @@ export default class IUserHasNotificationAdmin { public notification!: INotification; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; } diff --git a/src/Interfaces/IDocumentHistoryAdmin.ts b/src/Interfaces/IDocumentHistoryAdmin.ts deleted file mode 100644 index caeb26d..0000000 --- a/src/Interfaces/IDocumentHistoryAdmin.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { IsNotEmpty, IsDate, IsEnum, IsOptional } from "class-validator"; -import { EDocumentStatus } from "../Enums/Enums"; -import IDocument from "./IDocumentAdmin"; - -export default class IDocumentHistoryAdmin { - @IsNotEmpty() - public uuid!: string; - - @IsNotEmpty({ groups: ["create"] }) - @IsEnum(EDocumentStatus) - public document_status!: EDocumentStatus; - - @IsNotEmpty({ groups: ["create"] }) - public document!: IDocument; - - @IsOptional() - public refused_reason?: string; - - @IsDate() - public created_at?: Date; - - @IsDate() - public updated_at?: Date; -} diff --git a/src/Interfaces/SuperAdmin/IAddress.ts b/src/Interfaces/SuperAdmin/IAddress.ts new file mode 100644 index 0000000..219693d --- /dev/null +++ b/src/Interfaces/SuperAdmin/IAddress.ts @@ -0,0 +1,29 @@ +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import IContact from "./IContact"; +import IOffice from "./IOffice"; + +export default class IAddress { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public address!: string; + + @IsNotEmpty({ groups: ["create"] }) + public city!: string; + + @IsNotEmpty({ groups: ["create"] }) + public zip_code!: number; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; + + @IsOptional() + public office?: IOffice; + + @IsOptional() + public contacts?: IContact; +} diff --git a/src/Interfaces/IBlockchainAnchorsAdmin.ts b/src/Interfaces/SuperAdmin/IBlockchainAnchors.ts similarity index 61% rename from src/Interfaces/IBlockchainAnchorsAdmin.ts rename to src/Interfaces/SuperAdmin/IBlockchainAnchors.ts index 99acc0c..f179001 100644 --- a/src/Interfaces/IBlockchainAnchorsAdmin.ts +++ b/src/Interfaces/SuperAdmin/IBlockchainAnchors.ts @@ -1,7 +1,7 @@ import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; -import IDocument from "./IDocumentAdmin"; +import IDocument from "./IDocument"; -export default class IBlockchainAnchorAdmin { +export default class IBlockchainAnchor { @IsNotEmpty() public uuid!: string; @@ -9,10 +9,10 @@ export default class IBlockchainAnchorAdmin { public smartSigJobId!: string; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; @IsOptional() public documents?: IDocument[]; diff --git a/src/Interfaces/SuperAdmin/IContact.ts b/src/Interfaces/SuperAdmin/IContact.ts new file mode 100644 index 0000000..234b24e --- /dev/null +++ b/src/Interfaces/SuperAdmin/IContact.ts @@ -0,0 +1,43 @@ +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import { ECivility } from "../../Enums/Enums"; +import IUser from "./IUser"; +import ICustomer from "./ICustomer"; +import IAddress from "./IAddress"; + +export default class IContact { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public first_name!: string; + + @IsNotEmpty({ groups: ["create"] }) + public last_name!: string; + + @IsNotEmpty({ groups: ["create"] }) + public email!: string; + + @IsOptional() + public phone_number!: string; + + @IsOptional() + public cell_phone_number!: string; + + @IsNotEmpty({ groups: ["create"] }) + public civility!: ECivility; + + @IsNotEmpty({ groups: ["create"] }) + public address!: IAddress; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; + + @IsOptional() + public users?: IUser; + + @IsOptional() + public customers?: ICustomer; +} diff --git a/src/Interfaces/SuperAdmin/ICustomer.ts b/src/Interfaces/SuperAdmin/ICustomer.ts new file mode 100644 index 0000000..3f81536 --- /dev/null +++ b/src/Interfaces/SuperAdmin/ICustomer.ts @@ -0,0 +1,28 @@ +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import IContact from "./IContact"; +import { ECustomerStatus } from "../../Enums/Enums"; +import IDocument from "./IDocument"; +import IOfficeFolderHasCustomer from "./IOfficeFolderHasCustomer"; + +export default class ICustomer { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public status!: ECustomerStatus; + + @IsNotEmpty({ groups: ["create"] }) + public contact!: IContact; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; + + @IsOptional() + office_folder_has_customers?: IOfficeFolderHasCustomer[]; + + @IsOptional() + documents?: IDocument[]; +} diff --git a/src/Interfaces/SuperAdmin/IDeed.ts b/src/Interfaces/SuperAdmin/IDeed.ts new file mode 100644 index 0000000..24f1719 --- /dev/null +++ b/src/Interfaces/SuperAdmin/IDeed.ts @@ -0,0 +1,24 @@ +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import IOfficeFolder from "./IOfficeFolder"; +import IDeedHasDocumentType from "./IDeedHasDocumentType"; +import IDeedType from "./IDeedTypes"; + +export default class IDeed { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public deed_type!: IDeedType; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; + + @IsOptional() + public deed_has_document_types?: IDeedHasDocumentType[]; + + @IsOptional() + public office_folder?: IOfficeFolder; +} diff --git a/src/Interfaces/SuperAdmin/IDeedHasDocumentType.ts b/src/Interfaces/SuperAdmin/IDeedHasDocumentType.ts new file mode 100644 index 0000000..c35baa4 --- /dev/null +++ b/src/Interfaces/SuperAdmin/IDeedHasDocumentType.ts @@ -0,0 +1,20 @@ +import { IsNotEmpty, IsDate } from "class-validator"; +import IDeed from "./IDeed"; +import IDocumentType from "./IDocumentType"; + +export default class IDeedHasDocumentType { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public document_type!: IDocumentType; + + @IsNotEmpty({ groups: ["create"] }) + public deed!: IDeed; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; +} diff --git a/src/Interfaces/SuperAdmin/IDeedTypeHasDocumentType.ts b/src/Interfaces/SuperAdmin/IDeedTypeHasDocumentType.ts new file mode 100644 index 0000000..f09c470 --- /dev/null +++ b/src/Interfaces/SuperAdmin/IDeedTypeHasDocumentType.ts @@ -0,0 +1,20 @@ +import { IsNotEmpty, IsDate } from "class-validator"; +import IDeedType from "./IDeedTypes"; +import IDocumentType from "./IDocumentType"; + +export default class IDeedTypeHasDocumentType { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public document_type!: IDocumentType; + + @IsNotEmpty({ groups: ["create"] }) + public deed_type!: IDeedType; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; +} diff --git a/src/Interfaces/SuperAdmin/IDeedTypes.ts b/src/Interfaces/SuperAdmin/IDeedTypes.ts new file mode 100644 index 0000000..7b4a400 --- /dev/null +++ b/src/Interfaces/SuperAdmin/IDeedTypes.ts @@ -0,0 +1,34 @@ +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import IDeedTypeHasDocumentType from "./IDeedTypeHasDocumentType"; + +import IOffice from "./IOffice"; +import IDeed from "./IDeed"; + +export default class IDeedTypes { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public name!: string; + + @IsNotEmpty({ groups: ["create"] }) + public description!: string; + + @IsDate() + public archived_at: Date | null = null; + + @IsNotEmpty({ groups: ["create"] }) + public office!: IOffice; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; + + @IsOptional() + public deed?: IDeed[]; + + @IsOptional() + public deed_type_has_document_types?: IDeedTypeHasDocumentType[]; +} diff --git a/src/Interfaces/IDocumentAdmin.ts b/src/Interfaces/SuperAdmin/IDocument.ts similarity index 50% rename from src/Interfaces/IDocumentAdmin.ts rename to src/Interfaces/SuperAdmin/IDocument.ts index 63b43b7..d362a5e 100644 --- a/src/Interfaces/IDocumentAdmin.ts +++ b/src/Interfaces/SuperAdmin/IDocument.ts @@ -1,18 +1,17 @@ -import { IsNotEmpty, IsDate, IsEnum, IsOptional } from "class-validator"; -import ICustomer from "./ICustomerAdmin"; -import { EDocumentStatus } from "../Enums/Enums"; -import IOfficeFolder from "./IOfficeFolderAdmin"; -import IDocumentType from "./IDocumentTypeAdmin"; -import IBlockchainAnchor from "./IBlockchainAnchorsAdmin"; -import IDocumentHistory from "./IDocumentHistoryAdmin"; -import IFile from "./IFileAdmin"; +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import ICustomer from "./ICustomer"; +import { EDocumentStatus } from "../../Enums/Enums"; +import IOfficeFolder from "./IOfficeFolder"; +import IDocumentType from "./IDocumentType"; +import IBlockchainAnchor from "./IBlockchainAnchors"; +import IDocumentHistory from "./IDocumentHistory"; +import IFile from "./IFile"; -export default class IDocumentAdmin { +export default class IDocument { @IsNotEmpty() public uuid!: string; @IsNotEmpty({ groups: ["create"] }) - @IsEnum(EDocumentStatus) public document_status!: EDocumentStatus; @IsNotEmpty({ groups: ["create"] }) @@ -28,10 +27,10 @@ export default class IDocumentAdmin { public depositor!: ICustomer; @IsDate() - public created_at?: Date; + public created_at: Date | null = null; @IsDate() - public updated_at?: Date; + public updated_at: Date | null = null; @IsOptional() public files?: IFile[]; diff --git a/src/Interfaces/SuperAdmin/IDocumentHistory.ts b/src/Interfaces/SuperAdmin/IDocumentHistory.ts new file mode 100644 index 0000000..6190a90 --- /dev/null +++ b/src/Interfaces/SuperAdmin/IDocumentHistory.ts @@ -0,0 +1,23 @@ +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import { EDocumentStatus } from "../../Enums/Enums"; +import IDocument from "./IDocument"; + +export default class IDocumentHistory { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public document_status!: EDocumentStatus; + + @IsNotEmpty({ groups: ["create"] }) + public document!: IDocument; + + @IsOptional() + public refused_reason: string | null = null; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; +} diff --git a/src/Interfaces/SuperAdmin/IDocumentType.ts b/src/Interfaces/SuperAdmin/IDocumentType.ts new file mode 100644 index 0000000..9880348 --- /dev/null +++ b/src/Interfaces/SuperAdmin/IDocumentType.ts @@ -0,0 +1,36 @@ +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import IDeedHasDocumentType from "./IDeedHasDocumentType"; +import IDeedTypeHasDocumentType from "./IDeedTypeHasDocumentType"; +import IDocument from "./IDocument"; + +export default class IDocumentType { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public name!: string; + + @IsNotEmpty({ groups: ["create"] }) + public public_description!: string; + + @IsOptional() + public private_description: string | null = null; + + @IsDate() + public archived_at: Date | null = null; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; + + @IsOptional() + public documents?: IDocument[]; + + @IsOptional() + public deed_has_document_types?: IDeedHasDocumentType[]; + + @IsOptional() + public deed_type_has_document_types?: IDeedTypeHasDocumentType[]; +} diff --git a/src/Interfaces/SuperAdmin/IFile.ts b/src/Interfaces/SuperAdmin/IFile.ts new file mode 100644 index 0000000..4bf370f --- /dev/null +++ b/src/Interfaces/SuperAdmin/IFile.ts @@ -0,0 +1,19 @@ +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import IDocument from "./IDocument"; + +export default class IFile { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public document!: IDocument; + + @IsOptional() + public file_path: string | null = null; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; +} diff --git a/src/Interfaces/SuperAdmin/INotification.ts b/src/Interfaces/SuperAdmin/INotification.ts new file mode 100644 index 0000000..c0e0524 --- /dev/null +++ b/src/Interfaces/SuperAdmin/INotification.ts @@ -0,0 +1,23 @@ +import { IsNotEmpty, IsDate, IsUrl, IsOptional } from "class-validator"; +import IUserHasNotification from "./IUserHasNotification"; + +export default class INotification { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public message!: string; + + @IsNotEmpty({ groups: ["create"] }) + @IsUrl() + public redirection_url!: string; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; + + @IsOptional() + user_has_notifications?: IUserHasNotification[]; +} diff --git a/src/Interfaces/SuperAdmin/IOffice.ts b/src/Interfaces/SuperAdmin/IOffice.ts new file mode 100644 index 0000000..77ddcb5 --- /dev/null +++ b/src/Interfaces/SuperAdmin/IOffice.ts @@ -0,0 +1,41 @@ +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import IAddress from "./IAddress"; +import { EOfficeStatus } from "../../Enums/Enums"; +import IUser from "./IUser"; +import IOfficeFolder from "./IOfficeFolder"; +import IDeedType from "./IDeedTypes"; + +export default class IOffice { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public idNot!: string; + + @IsNotEmpty({ groups: ["create"] }) + public name!: string; + + @IsNotEmpty({ groups: ["create"] }) + public crpcen!: string; + + @IsNotEmpty({ groups: ["create"] }) + public address!: IAddress; + + @IsNotEmpty({ groups: ["create"] }) + public office_status!: EOfficeStatus; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; + + @IsOptional() + deed_types?: IDeedType[]; + + @IsOptional() + users?: IUser[]; + + @IsOptional() + office_folders?: IOfficeFolder[]; +} diff --git a/src/Interfaces/SuperAdmin/IOfficeFolder.ts b/src/Interfaces/SuperAdmin/IOfficeFolder.ts new file mode 100644 index 0000000..ccdb551 --- /dev/null +++ b/src/Interfaces/SuperAdmin/IOfficeFolder.ts @@ -0,0 +1,48 @@ +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import { EFolderStatus } from "../../Enums/Enums"; +import IDeed from "./IDeed"; +import IDocument from "./IDocument"; +import IOffice from "./IOffice"; +import IOfficeFolderHasCustomer from "./IOfficeFolderHasCustomer"; +import IOfficeFolderHasStakeholder from "./IOfficeFolderHasStakeholder"; + +export default class IOfficeFolder { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public folder_number!: string; + + @IsNotEmpty({ groups: ["create"] }) + public name!: string; + + @IsOptional() + public description: string | null = null; + + @IsOptional() + public archived_description: string | null = null; + + @IsNotEmpty({ groups: ["create"] }) + public status!: EFolderStatus; + + @IsNotEmpty({ groups: ["create"] }) + public deed!: IDeed; + + @IsNotEmpty({ groups: ["create"] }) + public office!: IOffice; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; + + @IsOptional() + office_folder_has_customers?: IOfficeFolderHasCustomer[]; + + @IsOptional() + office_folder_has_stakeholder?: IOfficeFolderHasStakeholder[]; + + @IsOptional() + documents?: IDocument[]; +} diff --git a/src/Interfaces/SuperAdmin/IOfficeFolderHasCustomer.ts b/src/Interfaces/SuperAdmin/IOfficeFolderHasCustomer.ts new file mode 100644 index 0000000..fb85cee --- /dev/null +++ b/src/Interfaces/SuperAdmin/IOfficeFolderHasCustomer.ts @@ -0,0 +1,20 @@ +import { IsNotEmpty, IsDate } from "class-validator"; +import ICustomer from "./ICustomer"; +import IOfficeFolder from "./IOfficeFolder"; + +export default class IOfficeFolderHasCustomer { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public customer!: ICustomer; + + @IsNotEmpty({ groups: ["create"] }) + public office_folder!: IOfficeFolder; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; +} diff --git a/src/Interfaces/SuperAdmin/IOfficeFolderHasStakeholder.ts b/src/Interfaces/SuperAdmin/IOfficeFolderHasStakeholder.ts new file mode 100644 index 0000000..5e27d76 --- /dev/null +++ b/src/Interfaces/SuperAdmin/IOfficeFolderHasStakeholder.ts @@ -0,0 +1,20 @@ +import { IsNotEmpty, IsDate } from "class-validator"; +import IOfficeFolder from "./IOfficeFolder"; +import IUser from "./IUser"; + +export default class IOfficeFolderHasStakeholder { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public user_stakeholder!: IUser; + + @IsNotEmpty({ groups: ["create"] }) + public office_folder!: IOfficeFolder; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; +} diff --git a/src/Interfaces/SuperAdmin/IUser.ts b/src/Interfaces/SuperAdmin/IUser.ts new file mode 100644 index 0000000..237e037 --- /dev/null +++ b/src/Interfaces/SuperAdmin/IUser.ts @@ -0,0 +1,31 @@ +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import IContact from "./IContact"; +import IDocument from "./IDocument"; +import OfficesEntity from "./IOffice"; +import IOfficeFolderHasStakeholder from "./IOfficeFolderHasStakeholder"; + +export default class IUser { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public idNot!: string; + + @IsNotEmpty({ groups: ["create"] }) + public contact!: IContact; + + @IsNotEmpty({ groups: ["create"] }) + public office_membership!: OfficesEntity; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; + + @IsOptional() + office_folder_has_stakeholders?: IOfficeFolderHasStakeholder[]; + + @IsOptional() + documents?: IDocument; +} diff --git a/src/Interfaces/SuperAdmin/IUserHasNotification.ts b/src/Interfaces/SuperAdmin/IUserHasNotification.ts new file mode 100644 index 0000000..7c134d4 --- /dev/null +++ b/src/Interfaces/SuperAdmin/IUserHasNotification.ts @@ -0,0 +1,20 @@ +import { IsNotEmpty, IsDate } from "class-validator"; +import INotification from "./INotification"; +import IUser from "./IUser"; + +export default class IUserHasNotification { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public user!: IUser; + + @IsNotEmpty({ groups: ["create"] }) + public notification!: INotification; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; +} diff --git a/src/Interfaces/User/IAddress.ts b/src/Interfaces/User/IAddress.ts new file mode 100644 index 0000000..219693d --- /dev/null +++ b/src/Interfaces/User/IAddress.ts @@ -0,0 +1,29 @@ +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import IContact from "./IContact"; +import IOffice from "./IOffice"; + +export default class IAddress { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public address!: string; + + @IsNotEmpty({ groups: ["create"] }) + public city!: string; + + @IsNotEmpty({ groups: ["create"] }) + public zip_code!: number; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; + + @IsOptional() + public office?: IOffice; + + @IsOptional() + public contacts?: IContact; +} diff --git a/src/Interfaces/User/IContact.ts b/src/Interfaces/User/IContact.ts new file mode 100644 index 0000000..234b24e --- /dev/null +++ b/src/Interfaces/User/IContact.ts @@ -0,0 +1,43 @@ +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import { ECivility } from "../../Enums/Enums"; +import IUser from "./IUser"; +import ICustomer from "./ICustomer"; +import IAddress from "./IAddress"; + +export default class IContact { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public first_name!: string; + + @IsNotEmpty({ groups: ["create"] }) + public last_name!: string; + + @IsNotEmpty({ groups: ["create"] }) + public email!: string; + + @IsOptional() + public phone_number!: string; + + @IsOptional() + public cell_phone_number!: string; + + @IsNotEmpty({ groups: ["create"] }) + public civility!: ECivility; + + @IsNotEmpty({ groups: ["create"] }) + public address!: IAddress; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; + + @IsOptional() + public users?: IUser; + + @IsOptional() + public customers?: ICustomer; +} diff --git a/src/Interfaces/User/ICustomer.ts b/src/Interfaces/User/ICustomer.ts new file mode 100644 index 0000000..3f81536 --- /dev/null +++ b/src/Interfaces/User/ICustomer.ts @@ -0,0 +1,28 @@ +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import IContact from "./IContact"; +import { ECustomerStatus } from "../../Enums/Enums"; +import IDocument from "./IDocument"; +import IOfficeFolderHasCustomer from "./IOfficeFolderHasCustomer"; + +export default class ICustomer { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public status!: ECustomerStatus; + + @IsNotEmpty({ groups: ["create"] }) + public contact!: IContact; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; + + @IsOptional() + office_folder_has_customers?: IOfficeFolderHasCustomer[]; + + @IsOptional() + documents?: IDocument[]; +} diff --git a/src/Interfaces/User/IDeed.ts b/src/Interfaces/User/IDeed.ts new file mode 100644 index 0000000..24f1719 --- /dev/null +++ b/src/Interfaces/User/IDeed.ts @@ -0,0 +1,24 @@ +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import IOfficeFolder from "./IOfficeFolder"; +import IDeedHasDocumentType from "./IDeedHasDocumentType"; +import IDeedType from "./IDeedTypes"; + +export default class IDeed { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public deed_type!: IDeedType; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; + + @IsOptional() + public deed_has_document_types?: IDeedHasDocumentType[]; + + @IsOptional() + public office_folder?: IOfficeFolder; +} diff --git a/src/Interfaces/User/IDeedHasDocumentType.ts b/src/Interfaces/User/IDeedHasDocumentType.ts new file mode 100644 index 0000000..c35baa4 --- /dev/null +++ b/src/Interfaces/User/IDeedHasDocumentType.ts @@ -0,0 +1,20 @@ +import { IsNotEmpty, IsDate } from "class-validator"; +import IDeed from "./IDeed"; +import IDocumentType from "./IDocumentType"; + +export default class IDeedHasDocumentType { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public document_type!: IDocumentType; + + @IsNotEmpty({ groups: ["create"] }) + public deed!: IDeed; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; +} diff --git a/src/Interfaces/User/IDeedTypeHasDocumentType.ts b/src/Interfaces/User/IDeedTypeHasDocumentType.ts new file mode 100644 index 0000000..f09c470 --- /dev/null +++ b/src/Interfaces/User/IDeedTypeHasDocumentType.ts @@ -0,0 +1,20 @@ +import { IsNotEmpty, IsDate } from "class-validator"; +import IDeedType from "./IDeedTypes"; +import IDocumentType from "./IDocumentType"; + +export default class IDeedTypeHasDocumentType { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public document_type!: IDocumentType; + + @IsNotEmpty({ groups: ["create"] }) + public deed_type!: IDeedType; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; +} diff --git a/src/Interfaces/User/IDeedTypes.ts b/src/Interfaces/User/IDeedTypes.ts new file mode 100644 index 0000000..7b4a400 --- /dev/null +++ b/src/Interfaces/User/IDeedTypes.ts @@ -0,0 +1,34 @@ +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import IDeedTypeHasDocumentType from "./IDeedTypeHasDocumentType"; + +import IOffice from "./IOffice"; +import IDeed from "./IDeed"; + +export default class IDeedTypes { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public name!: string; + + @IsNotEmpty({ groups: ["create"] }) + public description!: string; + + @IsDate() + public archived_at: Date | null = null; + + @IsNotEmpty({ groups: ["create"] }) + public office!: IOffice; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; + + @IsOptional() + public deed?: IDeed[]; + + @IsOptional() + public deed_type_has_document_types?: IDeedTypeHasDocumentType[]; +} diff --git a/src/Interfaces/User/IDocument.ts b/src/Interfaces/User/IDocument.ts new file mode 100644 index 0000000..0f84c57 --- /dev/null +++ b/src/Interfaces/User/IDocument.ts @@ -0,0 +1,36 @@ +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import ICustomer from "./ICustomer"; +import { EDocumentStatus } from "../../Enums/Enums"; +import IOfficeFolder from "./IOfficeFolder"; +import IDocumentType from "./IDocumentType"; +import IDocumentHistory from "./IDocumentHistory"; +import IFile from "./IFile"; + +export default class IDocument { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public document_status!: EDocumentStatus; + + @IsNotEmpty({ groups: ["create"] }) + public document_type!: IDocumentType; + + @IsNotEmpty({ groups: ["create"] }) + public folder!: IOfficeFolder; + + @IsNotEmpty({ groups: ["create"] }) + public depositor!: ICustomer; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; + + @IsOptional() + public files?: IFile[]; + + @IsOptional() + public document_history?: IDocumentHistory[]; +} diff --git a/src/Interfaces/User/IDocumentHistory.ts b/src/Interfaces/User/IDocumentHistory.ts new file mode 100644 index 0000000..6190a90 --- /dev/null +++ b/src/Interfaces/User/IDocumentHistory.ts @@ -0,0 +1,23 @@ +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import { EDocumentStatus } from "../../Enums/Enums"; +import IDocument from "./IDocument"; + +export default class IDocumentHistory { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public document_status!: EDocumentStatus; + + @IsNotEmpty({ groups: ["create"] }) + public document!: IDocument; + + @IsOptional() + public refused_reason: string | null = null; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; +} diff --git a/src/Interfaces/User/IDocumentType.ts b/src/Interfaces/User/IDocumentType.ts new file mode 100644 index 0000000..9880348 --- /dev/null +++ b/src/Interfaces/User/IDocumentType.ts @@ -0,0 +1,36 @@ +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import IDeedHasDocumentType from "./IDeedHasDocumentType"; +import IDeedTypeHasDocumentType from "./IDeedTypeHasDocumentType"; +import IDocument from "./IDocument"; + +export default class IDocumentType { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public name!: string; + + @IsNotEmpty({ groups: ["create"] }) + public public_description!: string; + + @IsOptional() + public private_description: string | null = null; + + @IsDate() + public archived_at: Date | null = null; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; + + @IsOptional() + public documents?: IDocument[]; + + @IsOptional() + public deed_has_document_types?: IDeedHasDocumentType[]; + + @IsOptional() + public deed_type_has_document_types?: IDeedTypeHasDocumentType[]; +} diff --git a/src/Interfaces/User/IFile.ts b/src/Interfaces/User/IFile.ts new file mode 100644 index 0000000..4bf370f --- /dev/null +++ b/src/Interfaces/User/IFile.ts @@ -0,0 +1,19 @@ +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import IDocument from "./IDocument"; + +export default class IFile { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public document!: IDocument; + + @IsOptional() + public file_path: string | null = null; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; +} diff --git a/src/Interfaces/User/INotification.ts b/src/Interfaces/User/INotification.ts new file mode 100644 index 0000000..c0e0524 --- /dev/null +++ b/src/Interfaces/User/INotification.ts @@ -0,0 +1,23 @@ +import { IsNotEmpty, IsDate, IsUrl, IsOptional } from "class-validator"; +import IUserHasNotification from "./IUserHasNotification"; + +export default class INotification { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public message!: string; + + @IsNotEmpty({ groups: ["create"] }) + @IsUrl() + public redirection_url!: string; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; + + @IsOptional() + user_has_notifications?: IUserHasNotification[]; +} diff --git a/src/Interfaces/User/IOffice.ts b/src/Interfaces/User/IOffice.ts new file mode 100644 index 0000000..d2e4d5e --- /dev/null +++ b/src/Interfaces/User/IOffice.ts @@ -0,0 +1,41 @@ +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import IAddress from "./IAddress"; +import { EOfficeStatus } from "../../Enums/Enums"; +import IUser from "./IUser"; +import IOfficeFolder from "./IOfficeFolder"; +import IDeedType from "./IDeedTypes"; + +export default class IOffice{ + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public idNot!: string; + + @IsNotEmpty({ groups: ["create"] }) + public name!: string; + + @IsNotEmpty({ groups: ["create"] }) + public crpcen!: string; + + @IsNotEmpty({ groups: ["create"] }) + public address!: IAddress; + + @IsNotEmpty({ groups: ["create"] }) + public office_status!: EOfficeStatus; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; + + @IsOptional() + deed_types?: IDeedType[]; + + @IsOptional() + users?: IUser[]; + + @IsOptional() + office_folders?: IOfficeFolder[]; +} diff --git a/src/Interfaces/User/IOfficeFolder.ts b/src/Interfaces/User/IOfficeFolder.ts new file mode 100644 index 0000000..ccdb551 --- /dev/null +++ b/src/Interfaces/User/IOfficeFolder.ts @@ -0,0 +1,48 @@ +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import { EFolderStatus } from "../../Enums/Enums"; +import IDeed from "./IDeed"; +import IDocument from "./IDocument"; +import IOffice from "./IOffice"; +import IOfficeFolderHasCustomer from "./IOfficeFolderHasCustomer"; +import IOfficeFolderHasStakeholder from "./IOfficeFolderHasStakeholder"; + +export default class IOfficeFolder { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public folder_number!: string; + + @IsNotEmpty({ groups: ["create"] }) + public name!: string; + + @IsOptional() + public description: string | null = null; + + @IsOptional() + public archived_description: string | null = null; + + @IsNotEmpty({ groups: ["create"] }) + public status!: EFolderStatus; + + @IsNotEmpty({ groups: ["create"] }) + public deed!: IDeed; + + @IsNotEmpty({ groups: ["create"] }) + public office!: IOffice; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; + + @IsOptional() + office_folder_has_customers?: IOfficeFolderHasCustomer[]; + + @IsOptional() + office_folder_has_stakeholder?: IOfficeFolderHasStakeholder[]; + + @IsOptional() + documents?: IDocument[]; +} diff --git a/src/Interfaces/User/IOfficeFolderHasCustomer.ts b/src/Interfaces/User/IOfficeFolderHasCustomer.ts new file mode 100644 index 0000000..fb85cee --- /dev/null +++ b/src/Interfaces/User/IOfficeFolderHasCustomer.ts @@ -0,0 +1,20 @@ +import { IsNotEmpty, IsDate } from "class-validator"; +import ICustomer from "./ICustomer"; +import IOfficeFolder from "./IOfficeFolder"; + +export default class IOfficeFolderHasCustomer { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public customer!: ICustomer; + + @IsNotEmpty({ groups: ["create"] }) + public office_folder!: IOfficeFolder; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; +} diff --git a/src/Interfaces/User/IOfficeFolderHasStakeholder.ts b/src/Interfaces/User/IOfficeFolderHasStakeholder.ts new file mode 100644 index 0000000..5e27d76 --- /dev/null +++ b/src/Interfaces/User/IOfficeFolderHasStakeholder.ts @@ -0,0 +1,20 @@ +import { IsNotEmpty, IsDate } from "class-validator"; +import IOfficeFolder from "./IOfficeFolder"; +import IUser from "./IUser"; + +export default class IOfficeFolderHasStakeholder { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public user_stakeholder!: IUser; + + @IsNotEmpty({ groups: ["create"] }) + public office_folder!: IOfficeFolder; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; +} diff --git a/src/Interfaces/User/IUser.ts b/src/Interfaces/User/IUser.ts new file mode 100644 index 0000000..237e037 --- /dev/null +++ b/src/Interfaces/User/IUser.ts @@ -0,0 +1,31 @@ +import { IsNotEmpty, IsDate, IsOptional } from "class-validator"; +import IContact from "./IContact"; +import IDocument from "./IDocument"; +import OfficesEntity from "./IOffice"; +import IOfficeFolderHasStakeholder from "./IOfficeFolderHasStakeholder"; + +export default class IUser { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public idNot!: string; + + @IsNotEmpty({ groups: ["create"] }) + public contact!: IContact; + + @IsNotEmpty({ groups: ["create"] }) + public office_membership!: OfficesEntity; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; + + @IsOptional() + office_folder_has_stakeholders?: IOfficeFolderHasStakeholder[]; + + @IsOptional() + documents?: IDocument; +} diff --git a/src/Interfaces/User/IUserHasNotification.ts b/src/Interfaces/User/IUserHasNotification.ts new file mode 100644 index 0000000..7c134d4 --- /dev/null +++ b/src/Interfaces/User/IUserHasNotification.ts @@ -0,0 +1,20 @@ +import { IsNotEmpty, IsDate } from "class-validator"; +import INotification from "./INotification"; +import IUser from "./IUser"; + +export default class IUserHasNotification { + @IsNotEmpty() + public uuid!: string; + + @IsNotEmpty({ groups: ["create"] }) + public user!: IUser; + + @IsNotEmpty({ groups: ["create"] }) + public notification!: INotification; + + @IsDate() + public created_at: Date | null = null; + + @IsDate() + public updated_at: Date | null = null; +}