@openbox/shared-types 0.5.37 → 0.5.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/npm-publish.yml +120 -0
- package/README.md +50 -0
- package/lib/customers/Customers/customers.types.d.ts +1 -1
- package/lib/invoices/Invoices/CreateSingle/Request.d.ts +1 -0
- package/lib/invoices/Invoices/invoices.types.d.ts +2 -1
- package/lib/invoices/Settings/ElectronincSv/invoices.settings.electronic-sv.type.d.ts +1 -0
- package/lib/invoices/StatusesTypes/GetSingle/Response.d.ts +1 -1
- package/lib/management/Company/management.company.type.d.ts +1 -1
- package/lib/partners/V1/invoices/CreateSingle/Request.d.ts +1 -0
- package/lib/partners/V1/invoices/CreateSingle/Request.js.map +1 -1
- package/lib/system/PersonTypeNaturals/GetSingle/Response.js.map +1 -1
- package/lib/system/PersonTypeNaturals/system.person-types-naturals.types.js.map +1 -1
- package/package.json +1 -1
- package/.eslintignore +0 -8
- package/.eslintrc.json +0 -30
- package/.husky/commit-msg +0 -4
- package/.husky/pre-commit +0 -4
- package/.prettierignore +0 -6
- package/.prettierrc +0 -8
- package/.vscode/settings.json +0 -16
- package/commitlint.config.js +0 -8
- package/scripts/commit-msg.script.ts +0 -31
- package/src/System/Cities/GetMany/Request.ts +0 -5
- package/src/System/Cities/GetMany/Response.ts +0 -5
- package/src/System/Cities/GetSingle/Response.ts +0 -3
- package/src/System/Cities/index.ts +0 -3
- package/src/System/Cities/system.cities.types.ts +0 -12
- package/src/System/Countries/GetMany/Response.ts +0 -5
- package/src/System/Countries/GetSingle/Response.ts +0 -3
- package/src/System/Countries/index.ts +0 -2
- package/src/System/Countries/system.countries.types.ts +0 -9
- package/src/System/Directory/CreateSingle/Request.ts +0 -3
- package/src/System/Directory/CreateSingle/Response.ts +0 -3
- package/src/System/Directory/DeleteSingle/Response.ts +0 -3
- package/src/System/Directory/GetMany/Request.ts +0 -6
- package/src/System/Directory/GetMany/Response.ts +0 -6
- package/src/System/Directory/UpdateSingle/Request.ts +0 -3
- package/src/System/Directory/UpdateSingle/Response.ts +0 -3
- package/src/System/Directory/index.ts +0 -7
- package/src/System/Directory/system.directory.types.ts +0 -38
- package/src/System/Genders/system.genders.types.ts +0 -7
- package/src/System/Logs/CreateSingle/Request.ts +0 -12
- package/src/System/Logs/CreateSingle/Response.ts +0 -3
- package/src/System/Logs/index.ts +0 -3
- package/src/System/Logs/system.logs.types.ts +0 -17
- package/src/System/PersonTypeNaturals/GetMany/Response.ts +0 -5
- package/src/System/PersonTypeNaturals/GetSingle/Response.ts +0 -3
- package/src/System/PersonTypeNaturals/index.ts +0 -3
- package/src/System/PersonTypeNaturals/system.person-types-naturals.types.ts +0 -7
- package/src/System/PersonTypes/GetMany/Response.ts +0 -5
- package/src/System/PersonTypes/GetSingle/Response.ts +0 -3
- package/src/System/PersonTypes/index.ts +0 -3
- package/src/System/PersonTypes/system.person-types.types.ts +0 -7
- package/src/System/SV/EconomicActivities/GetMany/Response.ts +0 -5
- package/src/System/SV/EconomicActivities/GetSingle/Response.ts +0 -3
- package/src/System/SV/EconomicActivities/index.ts +0 -3
- package/src/System/SV/EconomicActivities/system.sv.economic-activities.types.ts +0 -5
- package/src/System/SV/Fields/index.ts +0 -1
- package/src/System/SV/Fields/system.sv.fields.types.ts +0 -18
- package/src/System/SV/index.ts +0 -2
- package/src/System/SellingTypes/GetMany/Response.ts +0 -3
- package/src/System/SellingTypes/GetSingle/Response.ts +0 -3
- package/src/System/SellingTypes/index.ts +0 -1
- package/src/System/SellingTypes/system.selling-types.types.ts +0 -10
- package/src/System/States/GetMany/Request.ts +0 -5
- package/src/System/States/GetMany/Response.ts +0 -5
- package/src/System/States/GetSingle/Response.ts +0 -3
- package/src/System/States/index.ts +0 -3
- package/src/System/States/system.states.types.ts +0 -12
- package/src/System/TaxerTypes/GetMany/Response.ts +0 -5
- package/src/System/TaxerTypes/GetSingle/Response.ts +0 -3
- package/src/System/TaxerTypes/index.ts +0 -3
- package/src/System/TaxerTypes/system.taxer-types.types.ts +0 -7
- package/src/System/index.ts +0 -11
- package/src/System/system.enums.ts +0 -83
- package/src/accounting/Catalogs/CreateMany/Request.ts +0 -5
- package/src/accounting/Catalogs/CreateMany/Response.ts +0 -3
- package/src/accounting/Catalogs/CreateSingle/Request.ts +0 -8
- package/src/accounting/Catalogs/CreateSingle/Response.ts +0 -3
- package/src/accounting/Catalogs/DeleteSingle/Response.ts +0 -3
- package/src/accounting/Catalogs/GetMany/Request.ts +0 -5
- package/src/accounting/Catalogs/GetMany/Response.ts +0 -6
- package/src/accounting/Catalogs/GetSingle/Response.ts +0 -5
- package/src/accounting/Catalogs/SwitchSingleAccountType/Request.ts +0 -3
- package/src/accounting/Catalogs/SwitchSingleAccountType/Response.ts +0 -3
- package/src/accounting/Catalogs/SwitchSingleBalanceType/Request.ts +0 -3
- package/src/accounting/Catalogs/SwitchSingleBalanceType/Response.ts +0 -3
- package/src/accounting/Catalogs/UpdateSingle/Request.ts +0 -3
- package/src/accounting/Catalogs/UpdateSingle/Response.ts +0 -3
- package/src/accounting/Catalogs/accounting.catalogs.types.ts +0 -10
- package/src/accounting/Catalogs/index.ts +0 -15
- package/src/accounting/Entries/CreateSingle/Request.ts +0 -11
- package/src/accounting/Entries/CreateSingle/Response.ts +0 -3
- package/src/accounting/Entries/DeleteSingle/Response.ts +0 -3
- package/src/accounting/Entries/GetMany/Request.ts +0 -8
- package/src/accounting/Entries/GetMany/Response.ts +0 -6
- package/src/accounting/Entries/GetNextSequence/Request.ts +0 -4
- package/src/accounting/Entries/GetNextSequence/Response.ts +0 -3
- package/src/accounting/Entries/GetSingle/Response.ts +0 -3
- package/src/accounting/Entries/UpdateSingle/Request.ts +0 -10
- package/src/accounting/Entries/UpdateSingle/Response.ts +0 -3
- package/src/accounting/Entries/accounting.entries.types.ts +0 -17
- package/src/accounting/Entries/index.ts +0 -11
- package/src/accounting/EntriesDetails/CreateSingle/Request.ts +0 -8
- package/src/accounting/EntriesDetails/GetMany/Request.ts +0 -6
- package/src/accounting/EntriesDetails/GetMany/Response.ts +0 -6
- package/src/accounting/EntriesDetails/GetSingle/Response.ts +0 -3
- package/src/accounting/EntriesDetails/UpdateSingle/Request.ts +0 -8
- package/src/accounting/EntriesDetails/accounting.entries-details.types.ts +0 -10
- package/src/accounting/EntriesDetails/index.ts +0 -6
- package/src/accounting/EntriesStatuses/GetMany/Response.ts +0 -5
- package/src/accounting/EntriesStatuses/GetSingle/Response.ts +0 -3
- package/src/accounting/EntriesStatuses/accounting.entries-statuses.types.ts +0 -4
- package/src/accounting/EntriesStatuses/index.ts +0 -3
- package/src/accounting/EntriesTypes/GetMany/Response.ts +0 -5
- package/src/accounting/EntriesTypes/GetSingle/Response.ts +0 -3
- package/src/accounting/EntriesTypes/accounting.entries-types.types.ts +0 -5
- package/src/accounting/EntriesTypes/index.ts +0 -3
- package/src/accounting/Reports/AccountMovements/Request.ts +0 -6
- package/src/accounting/Reports/AccountMovements/Response.ts +0 -3
- package/src/accounting/Reports/AccountMovementsPreview/Request.ts +0 -6
- package/src/accounting/Reports/AccountMovementsPreview/Response.ts +0 -3
- package/src/accounting/Reports/AccountsCatalog/Request.ts +0 -3
- package/src/accounting/Reports/AccountsCatalog/Response.ts +0 -3
- package/src/accounting/Reports/AccountsCatalogPreview/Request.ts +0 -6
- package/src/accounting/Reports/AccountsCatalogPreview/Response.ts +0 -3
- package/src/accounting/Reports/CheckingBalance/Request.ts +0 -4
- package/src/accounting/Reports/CheckingBalance/Response.ts +0 -3
- package/src/accounting/Reports/CheckingBalancePreview/Request.ts +0 -6
- package/src/accounting/Reports/CheckingBalancePreview/Response.ts +0 -3
- package/src/accounting/Reports/GeneralLedger/Request.ts +0 -4
- package/src/accounting/Reports/GeneralLedger/Response.ts +0 -3
- package/src/accounting/Reports/GeneralLedgerPreview/Request.ts +0 -6
- package/src/accounting/Reports/GeneralLedgerPreview/Response.ts +0 -3
- package/src/accounting/Reports/SubsidiaryLedger/Request.ts +0 -4
- package/src/accounting/Reports/SubsidiaryLedger/Response.ts +0 -3
- package/src/accounting/Reports/SubsidiaryLedgerPreview/Request.ts +0 -6
- package/src/accounting/Reports/SubsidiaryLedgerPreview/Response.ts +0 -3
- package/src/accounting/Reports/index.ts +0 -20
- package/src/accounting/Settings/GetGenerals/Response.ts +0 -6
- package/src/accounting/Settings/GetIncomeStatements/Response.ts +0 -6
- package/src/accounting/Settings/UpdateGenerals/Request.ts +0 -3
- package/src/accounting/Settings/UpdateGenerals/Response.ts +0 -3
- package/src/accounting/Settings/UpdateIncomeStatements/Request.ts +0 -4
- package/src/accounting/Settings/UpdateIncomeStatements/Response.ts +0 -3
- package/src/accounting/Settings/accounting.settings.types.ts +0 -34
- package/src/accounting/Settings/index.ts +0 -8
- package/src/accounting/accounting.enums.ts +0 -16
- package/src/accounting/index.ts +0 -8
- package/src/auth/Auth/GetSingleUser/Response.ts +0 -80
- package/src/auth/Auth/ProcessLogin/Request.ts +0 -5
- package/src/auth/Auth/ProcessLogin/Response.ts +0 -8
- package/src/auth/Auth/ProcessRefresh/Request.ts +0 -3
- package/src/auth/Auth/ProcessRefresh/Response.ts +0 -5
- package/src/auth/Auth/RecoveryPassword/Request.ts +0 -3
- package/src/auth/Auth/RecoveryPassword/Response.ts +0 -3
- package/src/auth/Auth/ResetPassword/Request.ts +0 -4
- package/src/auth/Auth/ResetPassword/Response.ts +0 -3
- package/src/auth/Auth/UpdatePassword/Request.ts +0 -4
- package/src/auth/Auth/UpdatePassword/Response.ts +0 -3
- package/src/auth/Auth/UpdateWorkspace/Request.ts +0 -5
- package/src/auth/Auth/UpdateWorkspace/Response.ts +0 -5
- package/src/auth/Auth/index.ts +0 -13
- package/src/auth/index.ts +0 -1
- package/src/customers/Branches/CreateMany/Request.ts +0 -3
- package/src/customers/Branches/CreateMany/Response.ts +0 -3
- package/src/customers/Branches/CreateSingle/Request.ts +0 -3
- package/src/customers/Branches/CreateSingle/Response.ts +0 -3
- package/src/customers/Branches/DeleteMany/Request.ts +0 -3
- package/src/customers/Branches/DeleteMany/Response.ts +0 -3
- package/src/customers/Branches/DeleteSingle/Response.ts +0 -3
- package/src/customers/Branches/GetMany/Request.ts +0 -5
- package/src/customers/Branches/GetMany/Response.ts +0 -6
- package/src/customers/Branches/GetSingle/Response.ts +0 -3
- package/src/customers/Branches/UpdateMany/Request.ts +0 -7
- package/src/customers/Branches/UpdateMany/Response.ts +0 -3
- package/src/customers/Branches/UpdateSingle/Request.ts +0 -10
- package/src/customers/Branches/UpdateSingle/Response.ts +0 -3
- package/src/customers/Branches/UpdateSingleDefault/Request.ts +0 -3
- package/src/customers/Branches/UpdateSingleDefault/Response.ts +0 -3
- package/src/customers/Branches/customers.branches.types.ts +0 -32
- package/src/customers/Branches/index.ts +0 -16
- package/src/customers/Customers/CreateMany/Request.ts +0 -3
- package/src/customers/Customers/CreateMany/Response.ts +0 -3
- package/src/customers/Customers/CreateSingle/Request.ts +0 -3
- package/src/customers/Customers/CreateSingle/Response.ts +0 -3
- package/src/customers/Customers/DeleteMany/Request.ts +0 -3
- package/src/customers/Customers/DeleteMany/Response.ts +0 -3
- package/src/customers/Customers/DeleteSingle/Response.ts +0 -3
- package/src/customers/Customers/GetMany/Request.ts +0 -5
- package/src/customers/Customers/GetMany/Response.ts +0 -6
- package/src/customers/Customers/GetSingle/Response.ts +0 -6
- package/src/customers/Customers/UpdateMany/Request.ts +0 -7
- package/src/customers/Customers/UpdateMany/Response.ts +0 -3
- package/src/customers/Customers/UpdateManyStatuses/Request.ts +0 -4
- package/src/customers/Customers/UpdateManyStatuses/Response.ts +0 -3
- package/src/customers/Customers/UpdateSingle/Request.ts +0 -16
- package/src/customers/Customers/UpdateSingle/Response.ts +0 -3
- package/src/customers/Customers/UpdateSingleStatus/Request.ts +0 -3
- package/src/customers/Customers/UpdateSingleStatus/Response.ts +0 -3
- package/src/customers/Customers/ValidateExistence/Request.ts +0 -7
- package/src/customers/Customers/ValidateExistence/Response.ts +0 -10
- package/src/customers/Customers/customers.types.ts +0 -47
- package/src/customers/Customers/index.ts +0 -16
- package/src/customers/Type/GetMany/Response.ts +0 -5
- package/src/customers/Type/GetSingle/Response.ts +0 -3
- package/src/customers/Type/customers.type.types.ts +0 -6
- package/src/customers/Type/index.ts +0 -2
- package/src/customers/index.ts +0 -3
- package/src/index.ts +0 -10
- package/src/interfaces.ts +0 -23
- package/src/inventories/Batches/CreateSingle/Request.ts +0 -3
- package/src/inventories/Batches/CreateSingle/Response.ts +0 -3
- package/src/inventories/Batches/GetSingle/Response.ts +0 -3
- package/src/inventories/Batches/UpdateSingle/Request.ts +0 -3
- package/src/inventories/Batches/UpdateSingle/Response.ts +0 -3
- package/src/inventories/Batches/index.ts +0 -6
- package/src/inventories/Batches/inventories.batches.types.ts +0 -9
- package/src/inventories/Categories/CreateSingle/Request.ts +0 -8
- package/src/inventories/Categories/CreateSingle/Response.ts +0 -3
- package/src/inventories/Categories/DeleteSingle/Response.ts +0 -3
- package/src/inventories/Categories/GetMany/Request.ts +0 -5
- package/src/inventories/Categories/GetMany/Response.ts +0 -6
- package/src/inventories/Categories/GetSingle/Response.ts +0 -3
- package/src/inventories/Categories/UpdateSingle/Request.ts +0 -4
- package/src/inventories/Categories/UpdateSingle/Response.ts +0 -3
- package/src/inventories/Categories/UpdateSingleStatus/Request.ts +0 -3
- package/src/inventories/Categories/UpdateSingleStatus/Response.ts +0 -3
- package/src/inventories/Categories/index.ts +0 -11
- package/src/inventories/Categories/inventories.categories.type.ts +0 -10
- package/src/inventories/Products/CreateSingle/Request.ts +0 -3
- package/src/inventories/Products/CreateSingle/Response.ts +0 -3
- package/src/inventories/Products/GetSingle/Response.ts +0 -3
- package/src/inventories/Products/UpdateSingle/Request.ts +0 -3
- package/src/inventories/Products/UpdateSingle/Response.ts +0 -3
- package/src/inventories/Products/index.ts +0 -6
- package/src/inventories/Products/inventories.products.types.ts +0 -29
- package/src/inventories/Units/GetSingle/Response.ts +0 -3
- package/src/inventories/Units/index.ts +0 -3
- package/src/inventories/Units/inventories.units.enum.ts +0 -42
- package/src/inventories/Units/inventories.units.types.ts +0 -8
- package/src/inventories/index.ts +0 -4
- package/src/invoices/Calculation/CalculateSingle/Request.ts +0 -27
- package/src/invoices/Calculation/CalculateSingle/Response.ts +0 -101
- package/src/invoices/Calculation/index.ts +0 -2
- package/src/invoices/Details/index.ts +0 -1
- package/src/invoices/Details/invoices.details.type.ts +0 -26
- package/src/invoices/DocumentTypes/GetMany/Request.ts +0 -6
- package/src/invoices/DocumentTypes/GetMany/Response.ts +0 -5
- package/src/invoices/DocumentTypes/GetSingle/Response.ts +0 -3
- package/src/invoices/DocumentTypes/index.ts +0 -4
- package/src/invoices/DocumentTypes/invoices.document-types.type.ts +0 -5
- package/src/invoices/Documents/CreateMany/Request.ts +0 -3
- package/src/invoices/Documents/CreateMany/Response.ts +0 -3
- package/src/invoices/Documents/CreateSingle/Request.ts +0 -8
- package/src/invoices/Documents/CreateSingle/Response.ts +0 -3
- package/src/invoices/Documents/GetMany/Request.ts +0 -6
- package/src/invoices/Documents/GetMany/Response.ts +0 -6
- package/src/invoices/Documents/GetSingle/Response.ts +0 -3
- package/src/invoices/Documents/Layout/index.ts +0 -65
- package/src/invoices/Documents/UpdateLayout/Request.ts +0 -3
- package/src/invoices/Documents/UpdateLayout/Response.ts +0 -3
- package/src/invoices/Documents/UpdateMany/Request.ts +0 -7
- package/src/invoices/Documents/UpdateMany/Response.ts +0 -3
- package/src/invoices/Documents/UpdateManyStatuses/Request.ts +0 -4
- package/src/invoices/Documents/UpdateManyStatuses/Response.ts +0 -3
- package/src/invoices/Documents/UpdateSingle/Request.ts +0 -3
- package/src/invoices/Documents/UpdateSingle/Response.ts +0 -3
- package/src/invoices/Documents/UpdateSingleStatus/Request.ts +0 -3
- package/src/invoices/Documents/UpdateSingleStatus/Response.ts +0 -3
- package/src/invoices/Documents/index.ts +0 -19
- package/src/invoices/Documents/invoices.documents.type.ts +0 -15
- package/src/invoices/Electronic/SVData/index.ts +0 -22
- package/src/invoices/Electronic/index.ts +0 -1
- package/src/invoices/Invoices/CreateMany/Request.ts +0 -3
- package/src/invoices/Invoices/CreateMany/Response.ts +0 -3
- package/src/invoices/Invoices/CreateReservation/Request.ts +0 -9
- package/src/invoices/Invoices/CreateReservation/Response.ts +0 -3
- package/src/invoices/Invoices/CreateSingle/Request.ts +0 -85
- package/src/invoices/Invoices/CreateSingle/Response.ts +0 -3
- package/src/invoices/Invoices/DeleteMany/Response.ts +0 -3
- package/src/invoices/Invoices/DeleteSingle/Response.ts +0 -3
- package/src/invoices/Invoices/GetDocumentTypes/Response.ts +0 -3
- package/src/invoices/Invoices/GetMany/Request.ts +0 -13
- package/src/invoices/Invoices/GetMany/Response.ts +0 -6
- package/src/invoices/Invoices/GetSingle/Response.ts +0 -3
- package/src/invoices/Invoices/MarkSingleAsPaid/Response.ts +0 -3
- package/src/invoices/Invoices/MarkSingleAsPrinted/Response.ts +0 -3
- package/src/invoices/Invoices/RevertSingle/Response.ts +0 -3
- package/src/invoices/Invoices/UpdateMany/Request.ts +0 -3
- package/src/invoices/Invoices/UpdateMany/Response.ts +0 -3
- package/src/invoices/Invoices/UpdateSingle/Request.ts +0 -22
- package/src/invoices/Invoices/UpdateSingle/Response.ts +0 -3
- package/src/invoices/Invoices/VoidSingle/Response.ts +0 -3
- package/src/invoices/Invoices/index.ts +0 -21
- package/src/invoices/Invoices/invoices.types.ts +0 -64
- package/src/invoices/PaymentConditions/CreateMany/Request.ts +0 -4
- package/src/invoices/PaymentConditions/CreateMany/Response.ts +0 -3
- package/src/invoices/PaymentConditions/CreateSingle/Request.ts +0 -6
- package/src/invoices/PaymentConditions/CreateSingle/Response.ts +0 -3
- package/src/invoices/PaymentConditions/DeleteMany/Request.ts +0 -3
- package/src/invoices/PaymentConditions/DeleteMany/Response.ts +0 -3
- package/src/invoices/PaymentConditions/DeleteSingle/Response.ts +0 -3
- package/src/invoices/PaymentConditions/GetMany/Request.ts +0 -5
- package/src/invoices/PaymentConditions/GetMany/Response.ts +0 -6
- package/src/invoices/PaymentConditions/GetSingle/Response.ts +0 -3
- package/src/invoices/PaymentConditions/UpdateMany/Request.ts +0 -7
- package/src/invoices/PaymentConditions/UpdateMany/Response.ts +0 -3
- package/src/invoices/PaymentConditions/UpdateManyStatuses/Request.ts +0 -4
- package/src/invoices/PaymentConditions/UpdateManyStatuses/Response.ts +0 -3
- package/src/invoices/PaymentConditions/UpdateSingle/Request.ts +0 -4
- package/src/invoices/PaymentConditions/UpdateSingle/Response.ts +0 -3
- package/src/invoices/PaymentConditions/UpdateSingleStatus/Request.ts +0 -3
- package/src/invoices/PaymentConditions/UpdateSingleStatus/Response.ts +0 -3
- package/src/invoices/PaymentConditions/index.ts +0 -19
- package/src/invoices/PaymentConditions/invoices.payment-conditions.type.ts +0 -6
- package/src/invoices/Reports/SalesDetails/Request.ts +0 -12
- package/src/invoices/Reports/SalesDetails/Response.ts +0 -3
- package/src/invoices/Reports/SalesDetailsPreview/Request.ts +0 -6
- package/src/invoices/Reports/SalesDetailsPreview/Response.ts +0 -3
- package/src/invoices/Reports/SalesList/Request.ts +0 -7
- package/src/invoices/Reports/SalesList/Response.ts +0 -3
- package/src/invoices/Reports/SalesListPreview/Request.ts +0 -3
- package/src/invoices/Reports/SalesListPreview/Response.ts +0 -3
- package/src/invoices/Reports/index.ts +0 -8
- package/src/invoices/Sellers/CreateMany/Request.ts +0 -3
- package/src/invoices/Sellers/CreateMany/Response.ts +0 -3
- package/src/invoices/Sellers/CreateSingle/Request.ts +0 -3
- package/src/invoices/Sellers/CreateSingle/Response.ts +0 -3
- package/src/invoices/Sellers/DeleteMany/Request.ts +0 -3
- package/src/invoices/Sellers/DeleteMany/Response.ts +0 -3
- package/src/invoices/Sellers/DeleteSingle/Response.ts +0 -3
- package/src/invoices/Sellers/GetMany/Request.ts +0 -5
- package/src/invoices/Sellers/GetMany/Response.ts +0 -6
- package/src/invoices/Sellers/GetSingle/Response.ts +0 -3
- package/src/invoices/Sellers/UpdateMany/Request.ts +0 -7
- package/src/invoices/Sellers/UpdateMany/Response.ts +0 -3
- package/src/invoices/Sellers/UpdateManyStatuses/Request.ts +0 -4
- package/src/invoices/Sellers/UpdateManyStatuses/Response.ts +0 -3
- package/src/invoices/Sellers/UpdateSingle/Request.ts +0 -3
- package/src/invoices/Sellers/UpdateSingle/Response.ts +0 -3
- package/src/invoices/Sellers/UpdateSingleStatus/Request.ts +0 -3
- package/src/invoices/Sellers/UpdateSingleStatus/Response.ts +0 -3
- package/src/invoices/Sellers/index.ts +0 -19
- package/src/invoices/Sellers/invoices.sellers.type.ts +0 -20
- package/src/invoices/Settings/ElectronincSv/Get/Response.ts +0 -3
- package/src/invoices/Settings/ElectronincSv/Set/Request.ts +0 -6
- package/src/invoices/Settings/ElectronincSv/Set/Response.ts +0 -3
- package/src/invoices/Settings/ElectronincSv/index.ts +0 -4
- package/src/invoices/Settings/ElectronincSv/invoices.settings.electronic-sv.type.ts +0 -12
- package/src/invoices/Settings/GetGenerals/Response.ts +0 -3
- package/src/invoices/Settings/UpdateGenerals/Request.ts +0 -3
- package/src/invoices/Settings/UpdateGenerals/Response.ts +0 -3
- package/src/invoices/Settings/index.ts +0 -5
- package/src/invoices/Settings/invoices.settings.type.ts +0 -9
- package/src/invoices/StatusesTypes/GetMany/Response.ts +0 -5
- package/src/invoices/StatusesTypes/GetSingle/Response.ts +0 -3
- package/src/invoices/StatusesTypes/index.ts +0 -4
- package/src/invoices/StatusesTypes/invoices.statuses-types.type.ts +0 -4
- package/src/invoices/Zones/CreateMany/Request.ts +0 -3
- package/src/invoices/Zones/CreateMany/Response.ts +0 -3
- package/src/invoices/Zones/CreateSingle/Request.ts +0 -3
- package/src/invoices/Zones/CreateSingle/Response.ts +0 -3
- package/src/invoices/Zones/DeleteMany/Request.ts +0 -3
- package/src/invoices/Zones/DeleteMany/Response.ts +0 -3
- package/src/invoices/Zones/DeleteSingle/Response.ts +0 -3
- package/src/invoices/Zones/GetMany/Request.ts +0 -5
- package/src/invoices/Zones/GetMany/Response.ts +0 -6
- package/src/invoices/Zones/GetSingle/Response.ts +0 -3
- package/src/invoices/Zones/UpdateMany/Request.ts +0 -7
- package/src/invoices/Zones/UpdateMany/Response.ts +0 -3
- package/src/invoices/Zones/UpdateManyStatuses/Request.ts +0 -4
- package/src/invoices/Zones/UpdateManyStatuses/Response.ts +0 -3
- package/src/invoices/Zones/UpdateSingle/Request.ts +0 -3
- package/src/invoices/Zones/UpdateSingle/Response.ts +0 -3
- package/src/invoices/Zones/UpdateSingleStatus/Request.ts +0 -3
- package/src/invoices/Zones/UpdateSingleStatus/Response.ts +0 -3
- package/src/invoices/Zones/index.ts +0 -19
- package/src/invoices/Zones/invoices.zones.type.ts +0 -5
- package/src/invoices/index.ts +0 -13
- package/src/invoices/invoices.enums.ts +0 -23
- package/src/legal/Advisories/index.ts +0 -1
- package/src/legal/Advisories/legal.advisories.type.ts +0 -11
- package/src/legal/Appointees/CreateSingle/Request.ts +0 -3
- package/src/legal/Appointees/CreateSingle/Response.ts +0 -3
- package/src/legal/Appointees/DeleteSingle/Response.ts +0 -3
- package/src/legal/Appointees/GetMany/Request.ts +0 -5
- package/src/legal/Appointees/GetMany/Response.ts +0 -6
- package/src/legal/Appointees/GetSingle/Response.ts +0 -3
- package/src/legal/Appointees/UpdateSingle/Request.ts +0 -3
- package/src/legal/Appointees/UpdateSingle/Response.ts +0 -3
- package/src/legal/Appointees/UpdateSingleStatus/Request.ts +0 -3
- package/src/legal/Appointees/UpdateSingleStatus/Response.ts +0 -3
- package/src/legal/Appointees/index.ts +0 -11
- package/src/legal/Appointees/legal.appointees.type.ts +0 -5
- package/src/legal/Lawyers/CreateSingle/Request.ts +0 -3
- package/src/legal/Lawyers/CreateSingle/Response.ts +0 -3
- package/src/legal/Lawyers/DeleteSingle/Response.ts +0 -3
- package/src/legal/Lawyers/GetMany/Request.ts +0 -5
- package/src/legal/Lawyers/GetMany/Response.ts +0 -6
- package/src/legal/Lawyers/GetSingle/Response.ts +0 -3
- package/src/legal/Lawyers/UpdateSingle/Request.ts +0 -3
- package/src/legal/Lawyers/UpdateSingle/Response.ts +0 -3
- package/src/legal/Lawyers/UpdateSingleStatus/Request.ts +0 -3
- package/src/legal/Lawyers/UpdateSingleStatus/Response.ts +0 -3
- package/src/legal/Lawyers/index.ts +0 -11
- package/src/legal/Lawyers/legal.lawyers.type.ts +0 -19
- package/src/legal/PeopleCapacities/CreateSingle/Request.ts +0 -3
- package/src/legal/PeopleCapacities/CreateSingle/Response.ts +0 -3
- package/src/legal/PeopleCapacities/DeleteSingle/Response.ts +0 -3
- package/src/legal/PeopleCapacities/GetMany/Request.ts +0 -5
- package/src/legal/PeopleCapacities/GetMany/Response.ts +0 -6
- package/src/legal/PeopleCapacities/GetSingle/Response.ts +0 -3
- package/src/legal/PeopleCapacities/UpdateSingle/Request.ts +0 -4
- package/src/legal/PeopleCapacities/UpdateSingle/Response.ts +0 -3
- package/src/legal/PeopleCapacities/UpdateSingleStatus/Request.ts +0 -3
- package/src/legal/PeopleCapacities/UpdateSingleStatus/Response.ts +0 -3
- package/src/legal/PeopleCapacities/index.ts +0 -11
- package/src/legal/PeopleCapacities/legal.people-capacities.type.ts +0 -5
- package/src/legal/index.ts +0 -3
- package/src/legal/legal.enum.ts +0 -5
- package/src/management/Branch/index.ts +0 -1
- package/src/management/Branch/management.branch.type.ts +0 -7
- package/src/management/Company/GetCurrent/index.ts +0 -3
- package/src/management/Company/UpdateCurrent/Request.ts +0 -17
- package/src/management/Company/UpdateCurrent/Response.ts +0 -3
- package/src/management/Company/index.ts +0 -4
- package/src/management/Company/management.company.type.ts +0 -14
- package/src/management/Profiles/GetMany/Request.ts +0 -3
- package/src/management/Profiles/GetMany/Response.ts +0 -6
- package/src/management/Profiles/index.ts +0 -3
- package/src/management/Profiles/management.profiles.type.ts +0 -11
- package/src/management/Users/GetMany/Request.ts +0 -5
- package/src/management/Users/GetMany/Response.ts +0 -6
- package/src/management/Users/index.ts +0 -3
- package/src/management/Users/management.users.type.ts +0 -22
- package/src/management/index.ts +0 -4
- package/src/partners/V1/auth/ProcessLogin/Request.ts +0 -4
- package/src/partners/V1/auth/ProcessLogin/Response.ts +0 -7
- package/src/partners/V1/auth/index.ts +0 -2
- package/src/partners/V1/index.ts +0 -2
- package/src/partners/V1/invoices/CreateSingle/Request.ts +0 -177
- package/src/partners/V1/invoices/CreateSingle/Response.ts +0 -24
- package/src/partners/V1/invoices/index.ts +0 -2
- package/src/partners/index.ts +0 -1
- package/src/services/Reports/List/Request.ts +0 -7
- package/src/services/Reports/List/Response.ts +0 -3
- package/src/services/Reports/ListPreview/Request.ts +0 -3
- package/src/services/Reports/ListPreview/Response.ts +0 -3
- package/src/services/Reports/index.ts +0 -4
- package/src/services/SellingTypes/GetMany/Response.ts +0 -5
- package/src/services/SellingTypes/GetSingle/Response.ts +0 -3
- package/src/services/SellingTypes/index.ts +0 -2
- package/src/services/SellingTypes/services.selling-types.types.ts +0 -9
- package/src/services/Services/CreateMany/Request.ts +0 -3
- package/src/services/Services/CreateMany/Response.ts +0 -3
- package/src/services/Services/CreateSingle/Request.ts +0 -3
- package/src/services/Services/CreateSingle/Response.ts +0 -3
- package/src/services/Services/DeleteMany/Request.ts +0 -3
- package/src/services/Services/DeleteMany/Response.ts +0 -3
- package/src/services/Services/DeleteSingle/Response.ts +0 -3
- package/src/services/Services/GetMany/Request.ts +0 -8
- package/src/services/Services/GetMany/Response.ts +0 -6
- package/src/services/Services/GetSingle/Response.ts +0 -3
- package/src/services/Services/UpdateMany/Request.ts +0 -3
- package/src/services/Services/UpdateMany/Response.ts +0 -3
- package/src/services/Services/UpdateManyStatuses/Request.ts +0 -4
- package/src/services/Services/UpdateManyStatuses/Response.ts +0 -3
- package/src/services/Services/UpdateSingle/Request.ts +0 -3
- package/src/services/Services/UpdateSingle/Response.ts +0 -3
- package/src/services/Services/UpdateSingleStatus/Request.ts +0 -3
- package/src/services/Services/UpdateSingleStatus/Response.ts +0 -3
- package/src/services/Services/index.ts +0 -14
- package/src/services/Services/services.types.ts +0 -19
- package/src/services/Settings/GetIntegrations/Response.ts +0 -1
- package/src/services/Settings/UpdateIntegrations/Request.ts +0 -1
- package/src/services/Settings/UpdateIntegrations/Response.ts +0 -1
- package/src/services/Settings/index.ts +0 -3
- package/src/services/index.ts +0 -4
- package/src/tools.ts +0 -34
- package/tsconfig.json +0 -16
- package/tsconfig.tsbuildinfo +0 -1
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { SystemPersonTypeNaturalsGetSingleResponse } from '../../System/PersonTypeNaturals/GetSingle/Response'
|
|
2
|
-
import {
|
|
3
|
-
SystemDirectoryCreateSingleRequest,
|
|
4
|
-
SystemSvFields,
|
|
5
|
-
SystemSvFieldsRequest,
|
|
6
|
-
} from '../../system'
|
|
7
|
-
import { SystemDirectoryResponse } from '../../system/Directory/system.directory.types'
|
|
8
|
-
import { SystemPersonTypesGetSingleResponse } from '../../system/PersonTypes/GetSingle/Response'
|
|
9
|
-
import { SystemSellingTypeGetSingleResponse } from '../../system/SellingTypes/GetSingle/Response'
|
|
10
|
-
import { CustomersBranchesCreateSingleRequest } from '../Branches'
|
|
11
|
-
|
|
12
|
-
export type Customers = {
|
|
13
|
-
id: string
|
|
14
|
-
name?: string
|
|
15
|
-
name1?: string
|
|
16
|
-
name2?: string
|
|
17
|
-
name3?: string
|
|
18
|
-
lastname1?: string
|
|
19
|
-
lastname2?: string
|
|
20
|
-
lastname3?: string
|
|
21
|
-
shortName: string
|
|
22
|
-
passport?: string
|
|
23
|
-
active?: boolean
|
|
24
|
-
passportIssuedDate?: Date
|
|
25
|
-
passportExpirationDate?: Date
|
|
26
|
-
profession?: string
|
|
27
|
-
duiIssuedDate?: Date
|
|
28
|
-
duiExpirationDate?: Date
|
|
29
|
-
nitIssuedDate?: Date
|
|
30
|
-
type: SystemSellingTypeGetSingleResponse
|
|
31
|
-
personType: SystemPersonTypesGetSingleResponse
|
|
32
|
-
personTypeNatural: SystemPersonTypeNaturalsGetSingleResponse
|
|
33
|
-
directory: SystemDirectoryResponse[]
|
|
34
|
-
svFields: SystemSvFields
|
|
35
|
-
}
|
|
36
|
-
export type CustomersRequest = Omit<
|
|
37
|
-
Customers,
|
|
38
|
-
'id' | 'taxerType' | 'personType' | 'type' | 'personTypeNatural' | 'directory' | 'svFields'
|
|
39
|
-
> & {
|
|
40
|
-
type: number
|
|
41
|
-
personType: number
|
|
42
|
-
personTypeNatural?: number
|
|
43
|
-
branch: CustomersBranchesCreateSingleRequest
|
|
44
|
-
directory?: Omit<SystemDirectoryCreateSingleRequest, 'entityType' | 'entityId'>[]
|
|
45
|
-
svFields: SystemSvFieldsRequest
|
|
46
|
-
}
|
|
47
|
-
export type CustomersResponse = Customers
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export * from './CreateSingle/Request'
|
|
2
|
-
export * from './CreateSingle/Response'
|
|
3
|
-
export * from './DeleteMany/Request'
|
|
4
|
-
export * from './DeleteMany/Response'
|
|
5
|
-
export * from './DeleteSingle/Response'
|
|
6
|
-
export * from './GetMany/Request'
|
|
7
|
-
export * from './GetMany/Response'
|
|
8
|
-
export * from './GetSingle/Response'
|
|
9
|
-
export * from './UpdateManyStatuses/Request'
|
|
10
|
-
export * from './UpdateManyStatuses/Response'
|
|
11
|
-
export * from './UpdateSingle/Request'
|
|
12
|
-
export * from './UpdateSingle/Response'
|
|
13
|
-
export * from './UpdateSingleStatus/Request'
|
|
14
|
-
export * from './UpdateSingleStatus/Response'
|
|
15
|
-
export * from './ValidateExistence/Request'
|
|
16
|
-
export * from './ValidateExistence/Response'
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { SystemSellingTypes } from '../../system/SellingTypes/system.selling-types.types'
|
|
2
|
-
|
|
3
|
-
export type CustomersType = Omit<SystemSellingTypes, 'includeInServices' | 'includeInCustomers'>
|
|
4
|
-
|
|
5
|
-
export type CustomersTypeRequest = Omit<CustomersType, 'id'>
|
|
6
|
-
export type CustomersTypeResponse = Omit<CustomersType, 'isGravada'>
|
package/src/customers/index.ts
DELETED
package/src/index.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * from './accounting'
|
|
2
|
-
export * from './auth'
|
|
3
|
-
export * from './customers'
|
|
4
|
-
export * from './inventories'
|
|
5
|
-
export * from './invoices'
|
|
6
|
-
export * from './legal'
|
|
7
|
-
export * from './management'
|
|
8
|
-
export * from './partners'
|
|
9
|
-
export * from './services'
|
|
10
|
-
export * from './system'
|
package/src/interfaces.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export type GetManyRequest = {
|
|
2
|
-
limit?: number
|
|
3
|
-
page?: number
|
|
4
|
-
search?: string
|
|
5
|
-
prop?: string
|
|
6
|
-
order?: string
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export type GetManyResponse = {
|
|
10
|
-
count: number
|
|
11
|
-
page: number
|
|
12
|
-
limit: number
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export type SingleResponse = {
|
|
16
|
-
id: string
|
|
17
|
-
message: string
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export type ManyResponse = {
|
|
21
|
-
ids: Array<string>
|
|
22
|
-
message: string
|
|
23
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * from './CreateSingle/Request'
|
|
2
|
-
export * from './CreateSingle/Response'
|
|
3
|
-
export * from './DeleteSingle/Response'
|
|
4
|
-
export * from './GetMany/Request'
|
|
5
|
-
export * from './GetMany/Response'
|
|
6
|
-
export * from './GetSingle/Response'
|
|
7
|
-
export * from './UpdateSingle/Request'
|
|
8
|
-
export * from './UpdateSingle/Response'
|
|
9
|
-
export * from './UpdateSingleStatus/Request'
|
|
10
|
-
export * from './UpdateSingleStatus/Response'
|
|
11
|
-
export * from './inventories.categories.type'
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ServicesSellingTypes } from '../../services/SellingTypes/services.selling-types.types'
|
|
2
|
-
import { InventoriesBatches } from '../Batches'
|
|
3
|
-
import { InventoriesUnits } from '../Units'
|
|
4
|
-
|
|
5
|
-
export type InventoriesProducts = {
|
|
6
|
-
id: string
|
|
7
|
-
name: string
|
|
8
|
-
description?: string
|
|
9
|
-
barcode?: string
|
|
10
|
-
code?: string
|
|
11
|
-
price?: number
|
|
12
|
-
threshold?: number
|
|
13
|
-
trackInventory?: boolean
|
|
14
|
-
incIva?: boolean
|
|
15
|
-
requiresBatch?: boolean
|
|
16
|
-
unit: InventoriesUnits
|
|
17
|
-
sellingType: ServicesSellingTypes
|
|
18
|
-
batches?: InventoriesBatches[]
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export type InventoriesProductsRequest = Omit<
|
|
22
|
-
InventoriesProducts,
|
|
23
|
-
'id' | 'unit' | 'sellingType' | 'batches'
|
|
24
|
-
> & {
|
|
25
|
-
unit: string
|
|
26
|
-
sellingType: number
|
|
27
|
-
batch?: Omit<InventoriesBatches, 'id'>
|
|
28
|
-
}
|
|
29
|
-
export type InventoriesProductsResponse = InventoriesProducts
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
export enum InventoriesUnitsSVCode {
|
|
2
|
-
Metro = 1,
|
|
3
|
-
Yarda = 2,
|
|
4
|
-
Milimetro = 6,
|
|
5
|
-
KilometroCuadrado = 9,
|
|
6
|
-
Hectarea = 10,
|
|
7
|
-
MetroCuadrado = 13,
|
|
8
|
-
VaraCuadrada = 15,
|
|
9
|
-
MetroCubico = 18,
|
|
10
|
-
Barril = 20,
|
|
11
|
-
Galon = 22,
|
|
12
|
-
Litro = 23,
|
|
13
|
-
Botella = 24,
|
|
14
|
-
Mililitro = 26,
|
|
15
|
-
Tonelada = 30,
|
|
16
|
-
Quintal = 32,
|
|
17
|
-
Arroba = 33,
|
|
18
|
-
Kilogramo = 34,
|
|
19
|
-
Libra = 36,
|
|
20
|
-
OnzaTroy = 37,
|
|
21
|
-
Onza = 38,
|
|
22
|
-
Gramo = 39,
|
|
23
|
-
Miligramo = 40,
|
|
24
|
-
Megawatt = 42,
|
|
25
|
-
Kilowatt = 43,
|
|
26
|
-
Watt = 44,
|
|
27
|
-
MegavoltioAmperio = 45,
|
|
28
|
-
KilovoltioAmperio = 46,
|
|
29
|
-
VoltioAmperio = 47,
|
|
30
|
-
GigawattHora = 49,
|
|
31
|
-
MegawattHora = 50,
|
|
32
|
-
KilowattHora = 51,
|
|
33
|
-
WattHora = 52,
|
|
34
|
-
Kilovoltio = 53,
|
|
35
|
-
Voltio = 54,
|
|
36
|
-
Millar = 55,
|
|
37
|
-
MedioMillar = 56,
|
|
38
|
-
Ciento = 57,
|
|
39
|
-
Docena = 58,
|
|
40
|
-
Unidad = 59,
|
|
41
|
-
Otra = 99,
|
|
42
|
-
}
|
package/src/inventories/index.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { InvoicesDiscountsTypesKeys } from '../../invoices.enums'
|
|
2
|
-
|
|
3
|
-
export type InvoicesCalculationsDetailsRequest = {
|
|
4
|
-
id?: string
|
|
5
|
-
service: string
|
|
6
|
-
quantity: number
|
|
7
|
-
unitPrice: number
|
|
8
|
-
price: number
|
|
9
|
-
incIva: boolean
|
|
10
|
-
incRenta5: boolean
|
|
11
|
-
incRenta10: boolean
|
|
12
|
-
chargeDescription: string
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export type InvoicesCalculationsDiscountsRequest = {
|
|
16
|
-
id?: string
|
|
17
|
-
type: InvoicesDiscountsTypesKeys
|
|
18
|
-
quantity: number
|
|
19
|
-
description: string
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export type InvoicesCalculationsCalculateSingleRequest = {
|
|
23
|
-
documentType: number
|
|
24
|
-
customer: string
|
|
25
|
-
details: InvoicesCalculationsDetailsRequest[]
|
|
26
|
-
discounts: InvoicesCalculationsDiscountsRequest[] | null
|
|
27
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { InvoicesDiscountsTypesKeys } from '../../invoices.enums'
|
|
2
|
-
|
|
3
|
-
export type InvoicesCalculationsDetailsResponse = {
|
|
4
|
-
// Returns the same information received
|
|
5
|
-
id?: string
|
|
6
|
-
service: string
|
|
7
|
-
quantity: number
|
|
8
|
-
chargeDescription: string
|
|
9
|
-
price: number
|
|
10
|
-
incIva: boolean
|
|
11
|
-
incRenta5: boolean
|
|
12
|
-
incRenta10: boolean
|
|
13
|
-
|
|
14
|
-
// Returns the calculated information
|
|
15
|
-
unitPrice: number
|
|
16
|
-
ivaPrice: number
|
|
17
|
-
ventaPrice: number
|
|
18
|
-
vNoSujeta: number
|
|
19
|
-
vExenta: number
|
|
20
|
-
vGravada: number
|
|
21
|
-
totalIvaPrice: number
|
|
22
|
-
rentaPrice5: number
|
|
23
|
-
rentaPrice10?: number
|
|
24
|
-
sellingType: number
|
|
25
|
-
|
|
26
|
-
// Returns values to show in details table
|
|
27
|
-
unitPriceToShow: number
|
|
28
|
-
vExentaToShow: number
|
|
29
|
-
vNoSujetaToShow: number
|
|
30
|
-
vGravadaToShow: number
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export type InvoicesCalculationsDiscountsResponse = {
|
|
34
|
-
// Returns the same information received
|
|
35
|
-
id?: string
|
|
36
|
-
type: InvoicesDiscountsTypesKeys
|
|
37
|
-
quantity: number
|
|
38
|
-
description: string
|
|
39
|
-
|
|
40
|
-
// returns the calculated information
|
|
41
|
-
descuNoSuj: number
|
|
42
|
-
descuExenta: number
|
|
43
|
-
descuGravada: number
|
|
44
|
-
|
|
45
|
-
// Returns values to show in discounts table
|
|
46
|
-
descuNoSujToShow: number
|
|
47
|
-
descuExentaToShow: number
|
|
48
|
-
descuGravadaToShow: number
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export type InvoicesCalculationsTotalsItem = {
|
|
52
|
-
id: string
|
|
53
|
-
name: string
|
|
54
|
-
value: number
|
|
55
|
-
amount: number
|
|
56
|
-
style?: string[]
|
|
57
|
-
show: true | false
|
|
58
|
-
type?: 'currency' | 'percentage'
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
// export type InvoicesCalculationsTotalsResponse = {
|
|
62
|
-
// sum: InvoicesCalculationsTotalsItem
|
|
63
|
-
// iva: InvoicesCalculationsTotalsItem
|
|
64
|
-
// subtotal: InvoicesCalculationsTotalsItem
|
|
65
|
-
// ivaRetenido: InvoicesCalculationsTotalsItem
|
|
66
|
-
// ivaPercibido: InvoicesCalculationsTotalsItem
|
|
67
|
-
// renta5: InvoicesCalculationsTotalsItem
|
|
68
|
-
// renta10: InvoicesCalculationsTotalsItem
|
|
69
|
-
// ventasExentas: InvoicesCalculationsTotalsItem
|
|
70
|
-
// ventasNoSujetas: InvoicesCalculationsTotalsItem
|
|
71
|
-
// ventaTotal: InvoicesCalculationsTotalsItem
|
|
72
|
-
// }
|
|
73
|
-
|
|
74
|
-
export interface InvoicesCalculationsTotalsResponse {
|
|
75
|
-
// Totales antes de impuestos
|
|
76
|
-
totalExenta: InvoicesCalculationsTotalsItem // previously ventasExentas
|
|
77
|
-
totalNoSuj: InvoicesCalculationsTotalsItem // previously ventasNoSujetas
|
|
78
|
-
totalGravada: InvoicesCalculationsTotalsItem
|
|
79
|
-
subTotalVentas: InvoicesCalculationsTotalsItem // previously sum
|
|
80
|
-
|
|
81
|
-
// Descuentos
|
|
82
|
-
descuExenta: InvoicesCalculationsTotalsItem
|
|
83
|
-
descuNoSuj: InvoicesCalculationsTotalsItem
|
|
84
|
-
descuGravada: InvoicesCalculationsTotalsItem
|
|
85
|
-
totalDescu: InvoicesCalculationsTotalsItem
|
|
86
|
-
porcentajeDescuento: InvoicesCalculationsTotalsItem
|
|
87
|
-
|
|
88
|
-
// Totales con impuestos
|
|
89
|
-
totalIva: InvoicesCalculationsTotalsItem // previously iva
|
|
90
|
-
subTotal: InvoicesCalculationsTotalsItem // previously subtotal
|
|
91
|
-
ivaRete1: InvoicesCalculationsTotalsItem // previously ivaRetenido
|
|
92
|
-
reteRenta: InvoicesCalculationsTotalsItem
|
|
93
|
-
montoTotalOperacion: InvoicesCalculationsTotalsItem
|
|
94
|
-
totalPagar: InvoicesCalculationsTotalsItem // previously ventaTotal
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
export type InvoicesCalculationsCalculateSingleResponse = {
|
|
98
|
-
details: InvoicesCalculationsDetailsResponse[]
|
|
99
|
-
discounts: InvoicesCalculationsDiscountsResponse[]
|
|
100
|
-
totals: InvoicesCalculationsTotalsResponse
|
|
101
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './invoices.details.type'
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Services } from '../../services/Services/services.types'
|
|
2
|
-
import { SystemSellingTypes } from '../../system/SellingTypes/system.selling-types.types'
|
|
3
|
-
import { Invoices } from '../Invoices'
|
|
4
|
-
|
|
5
|
-
export type InvoicesDetails = {
|
|
6
|
-
id: string
|
|
7
|
-
quantity: number
|
|
8
|
-
unitPrice: number
|
|
9
|
-
incIva: boolean
|
|
10
|
-
incRenta5: boolean
|
|
11
|
-
incRenta10: boolean
|
|
12
|
-
ventaPrice: number
|
|
13
|
-
totalIvaPrice: number
|
|
14
|
-
ivaPrice: number
|
|
15
|
-
price: number
|
|
16
|
-
renta5Price: number
|
|
17
|
-
renta10Price: number
|
|
18
|
-
vNoSujeta: number
|
|
19
|
-
vExenta: number
|
|
20
|
-
vGravada: number
|
|
21
|
-
chargeDescription: string
|
|
22
|
-
NCDTotal: boolean
|
|
23
|
-
invoice: Invoices
|
|
24
|
-
service: Services
|
|
25
|
-
sellingType: Pick<SystemSellingTypes, 'id' | 'name'>
|
|
26
|
-
}
|