@openbox/shared-types 0.5.38 → 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.
Files changed (481) hide show
  1. package/.github/workflows/npm-publish.yml +120 -0
  2. package/README.md +50 -0
  3. package/lib/customers/Customers/customers.types.d.ts +1 -1
  4. package/lib/invoices/Invoices/CreateSingle/Request.d.ts +1 -0
  5. package/lib/invoices/Invoices/invoices.types.d.ts +2 -1
  6. package/lib/invoices/StatusesTypes/GetSingle/Response.d.ts +1 -1
  7. package/lib/management/Company/management.company.type.d.ts +1 -1
  8. package/lib/partners/V1/invoices/CreateSingle/Request.d.ts +1 -0
  9. package/lib/partners/V1/invoices/CreateSingle/Request.js.map +1 -1
  10. package/lib/system/PersonTypeNaturals/GetSingle/Response.js.map +1 -1
  11. package/lib/system/PersonTypeNaturals/system.person-types-naturals.types.js.map +1 -1
  12. package/package.json +1 -1
  13. package/.eslintignore +0 -8
  14. package/.eslintrc.json +0 -30
  15. package/.husky/commit-msg +0 -4
  16. package/.husky/pre-commit +0 -4
  17. package/.prettierignore +0 -6
  18. package/.prettierrc +0 -8
  19. package/.vscode/settings.json +0 -16
  20. package/commitlint.config.js +0 -8
  21. package/scripts/commit-msg.script.ts +0 -31
  22. package/src/System/Cities/GetMany/Request.ts +0 -5
  23. package/src/System/Cities/GetMany/Response.ts +0 -5
  24. package/src/System/Cities/GetSingle/Response.ts +0 -3
  25. package/src/System/Cities/index.ts +0 -3
  26. package/src/System/Cities/system.cities.types.ts +0 -12
  27. package/src/System/Countries/GetMany/Response.ts +0 -5
  28. package/src/System/Countries/GetSingle/Response.ts +0 -3
  29. package/src/System/Countries/index.ts +0 -2
  30. package/src/System/Countries/system.countries.types.ts +0 -9
  31. package/src/System/Directory/CreateSingle/Request.ts +0 -3
  32. package/src/System/Directory/CreateSingle/Response.ts +0 -3
  33. package/src/System/Directory/DeleteSingle/Response.ts +0 -3
  34. package/src/System/Directory/GetMany/Request.ts +0 -6
  35. package/src/System/Directory/GetMany/Response.ts +0 -6
  36. package/src/System/Directory/UpdateSingle/Request.ts +0 -3
  37. package/src/System/Directory/UpdateSingle/Response.ts +0 -3
  38. package/src/System/Directory/index.ts +0 -7
  39. package/src/System/Directory/system.directory.types.ts +0 -38
  40. package/src/System/Genders/system.genders.types.ts +0 -7
  41. package/src/System/Logs/CreateSingle/Request.ts +0 -12
  42. package/src/System/Logs/CreateSingle/Response.ts +0 -3
  43. package/src/System/Logs/index.ts +0 -3
  44. package/src/System/Logs/system.logs.types.ts +0 -17
  45. package/src/System/PersonTypeNaturals/GetMany/Response.ts +0 -5
  46. package/src/System/PersonTypeNaturals/GetSingle/Response.ts +0 -3
  47. package/src/System/PersonTypeNaturals/index.ts +0 -3
  48. package/src/System/PersonTypeNaturals/system.person-types-naturals.types.ts +0 -7
  49. package/src/System/PersonTypes/GetMany/Response.ts +0 -5
  50. package/src/System/PersonTypes/GetSingle/Response.ts +0 -3
  51. package/src/System/PersonTypes/index.ts +0 -3
  52. package/src/System/PersonTypes/system.person-types.types.ts +0 -7
  53. package/src/System/SV/EconomicActivities/GetMany/Response.ts +0 -5
  54. package/src/System/SV/EconomicActivities/GetSingle/Response.ts +0 -3
  55. package/src/System/SV/EconomicActivities/index.ts +0 -3
  56. package/src/System/SV/EconomicActivities/system.sv.economic-activities.types.ts +0 -5
  57. package/src/System/SV/Fields/index.ts +0 -1
  58. package/src/System/SV/Fields/system.sv.fields.types.ts +0 -18
  59. package/src/System/SV/index.ts +0 -2
  60. package/src/System/SellingTypes/GetMany/Response.ts +0 -3
  61. package/src/System/SellingTypes/GetSingle/Response.ts +0 -3
  62. package/src/System/SellingTypes/index.ts +0 -1
  63. package/src/System/SellingTypes/system.selling-types.types.ts +0 -10
  64. package/src/System/States/GetMany/Request.ts +0 -5
  65. package/src/System/States/GetMany/Response.ts +0 -5
  66. package/src/System/States/GetSingle/Response.ts +0 -3
  67. package/src/System/States/index.ts +0 -3
  68. package/src/System/States/system.states.types.ts +0 -12
  69. package/src/System/TaxerTypes/GetMany/Response.ts +0 -5
  70. package/src/System/TaxerTypes/GetSingle/Response.ts +0 -3
  71. package/src/System/TaxerTypes/index.ts +0 -3
  72. package/src/System/TaxerTypes/system.taxer-types.types.ts +0 -7
  73. package/src/System/index.ts +0 -11
  74. package/src/System/system.enums.ts +0 -83
  75. package/src/accounting/Catalogs/CreateMany/Request.ts +0 -5
  76. package/src/accounting/Catalogs/CreateMany/Response.ts +0 -3
  77. package/src/accounting/Catalogs/CreateSingle/Request.ts +0 -8
  78. package/src/accounting/Catalogs/CreateSingle/Response.ts +0 -3
  79. package/src/accounting/Catalogs/DeleteSingle/Response.ts +0 -3
  80. package/src/accounting/Catalogs/GetMany/Request.ts +0 -5
  81. package/src/accounting/Catalogs/GetMany/Response.ts +0 -6
  82. package/src/accounting/Catalogs/GetSingle/Response.ts +0 -5
  83. package/src/accounting/Catalogs/SwitchSingleAccountType/Request.ts +0 -3
  84. package/src/accounting/Catalogs/SwitchSingleAccountType/Response.ts +0 -3
  85. package/src/accounting/Catalogs/SwitchSingleBalanceType/Request.ts +0 -3
  86. package/src/accounting/Catalogs/SwitchSingleBalanceType/Response.ts +0 -3
  87. package/src/accounting/Catalogs/UpdateSingle/Request.ts +0 -3
  88. package/src/accounting/Catalogs/UpdateSingle/Response.ts +0 -3
  89. package/src/accounting/Catalogs/accounting.catalogs.types.ts +0 -10
  90. package/src/accounting/Catalogs/index.ts +0 -15
  91. package/src/accounting/Entries/CreateSingle/Request.ts +0 -11
  92. package/src/accounting/Entries/CreateSingle/Response.ts +0 -3
  93. package/src/accounting/Entries/DeleteSingle/Response.ts +0 -3
  94. package/src/accounting/Entries/GetMany/Request.ts +0 -8
  95. package/src/accounting/Entries/GetMany/Response.ts +0 -6
  96. package/src/accounting/Entries/GetNextSequence/Request.ts +0 -4
  97. package/src/accounting/Entries/GetNextSequence/Response.ts +0 -3
  98. package/src/accounting/Entries/GetSingle/Response.ts +0 -3
  99. package/src/accounting/Entries/UpdateSingle/Request.ts +0 -10
  100. package/src/accounting/Entries/UpdateSingle/Response.ts +0 -3
  101. package/src/accounting/Entries/accounting.entries.types.ts +0 -17
  102. package/src/accounting/Entries/index.ts +0 -11
  103. package/src/accounting/EntriesDetails/CreateSingle/Request.ts +0 -8
  104. package/src/accounting/EntriesDetails/GetMany/Request.ts +0 -6
  105. package/src/accounting/EntriesDetails/GetMany/Response.ts +0 -6
  106. package/src/accounting/EntriesDetails/GetSingle/Response.ts +0 -3
  107. package/src/accounting/EntriesDetails/UpdateSingle/Request.ts +0 -8
  108. package/src/accounting/EntriesDetails/accounting.entries-details.types.ts +0 -10
  109. package/src/accounting/EntriesDetails/index.ts +0 -6
  110. package/src/accounting/EntriesStatuses/GetMany/Response.ts +0 -5
  111. package/src/accounting/EntriesStatuses/GetSingle/Response.ts +0 -3
  112. package/src/accounting/EntriesStatuses/accounting.entries-statuses.types.ts +0 -4
  113. package/src/accounting/EntriesStatuses/index.ts +0 -3
  114. package/src/accounting/EntriesTypes/GetMany/Response.ts +0 -5
  115. package/src/accounting/EntriesTypes/GetSingle/Response.ts +0 -3
  116. package/src/accounting/EntriesTypes/accounting.entries-types.types.ts +0 -5
  117. package/src/accounting/EntriesTypes/index.ts +0 -3
  118. package/src/accounting/Reports/AccountMovements/Request.ts +0 -6
  119. package/src/accounting/Reports/AccountMovements/Response.ts +0 -3
  120. package/src/accounting/Reports/AccountMovementsPreview/Request.ts +0 -6
  121. package/src/accounting/Reports/AccountMovementsPreview/Response.ts +0 -3
  122. package/src/accounting/Reports/AccountsCatalog/Request.ts +0 -3
  123. package/src/accounting/Reports/AccountsCatalog/Response.ts +0 -3
  124. package/src/accounting/Reports/AccountsCatalogPreview/Request.ts +0 -6
  125. package/src/accounting/Reports/AccountsCatalogPreview/Response.ts +0 -3
  126. package/src/accounting/Reports/CheckingBalance/Request.ts +0 -4
  127. package/src/accounting/Reports/CheckingBalance/Response.ts +0 -3
  128. package/src/accounting/Reports/CheckingBalancePreview/Request.ts +0 -6
  129. package/src/accounting/Reports/CheckingBalancePreview/Response.ts +0 -3
  130. package/src/accounting/Reports/GeneralLedger/Request.ts +0 -4
  131. package/src/accounting/Reports/GeneralLedger/Response.ts +0 -3
  132. package/src/accounting/Reports/GeneralLedgerPreview/Request.ts +0 -6
  133. package/src/accounting/Reports/GeneralLedgerPreview/Response.ts +0 -3
  134. package/src/accounting/Reports/SubsidiaryLedger/Request.ts +0 -4
  135. package/src/accounting/Reports/SubsidiaryLedger/Response.ts +0 -3
  136. package/src/accounting/Reports/SubsidiaryLedgerPreview/Request.ts +0 -6
  137. package/src/accounting/Reports/SubsidiaryLedgerPreview/Response.ts +0 -3
  138. package/src/accounting/Reports/index.ts +0 -20
  139. package/src/accounting/Settings/GetGenerals/Response.ts +0 -6
  140. package/src/accounting/Settings/GetIncomeStatements/Response.ts +0 -6
  141. package/src/accounting/Settings/UpdateGenerals/Request.ts +0 -3
  142. package/src/accounting/Settings/UpdateGenerals/Response.ts +0 -3
  143. package/src/accounting/Settings/UpdateIncomeStatements/Request.ts +0 -4
  144. package/src/accounting/Settings/UpdateIncomeStatements/Response.ts +0 -3
  145. package/src/accounting/Settings/accounting.settings.types.ts +0 -34
  146. package/src/accounting/Settings/index.ts +0 -8
  147. package/src/accounting/accounting.enums.ts +0 -16
  148. package/src/accounting/index.ts +0 -8
  149. package/src/auth/Auth/GetSingleUser/Response.ts +0 -80
  150. package/src/auth/Auth/ProcessLogin/Request.ts +0 -5
  151. package/src/auth/Auth/ProcessLogin/Response.ts +0 -8
  152. package/src/auth/Auth/ProcessRefresh/Request.ts +0 -3
  153. package/src/auth/Auth/ProcessRefresh/Response.ts +0 -5
  154. package/src/auth/Auth/RecoveryPassword/Request.ts +0 -3
  155. package/src/auth/Auth/RecoveryPassword/Response.ts +0 -3
  156. package/src/auth/Auth/ResetPassword/Request.ts +0 -4
  157. package/src/auth/Auth/ResetPassword/Response.ts +0 -3
  158. package/src/auth/Auth/UpdatePassword/Request.ts +0 -4
  159. package/src/auth/Auth/UpdatePassword/Response.ts +0 -3
  160. package/src/auth/Auth/UpdateWorkspace/Request.ts +0 -5
  161. package/src/auth/Auth/UpdateWorkspace/Response.ts +0 -5
  162. package/src/auth/Auth/index.ts +0 -13
  163. package/src/auth/index.ts +0 -1
  164. package/src/customers/Branches/CreateMany/Request.ts +0 -3
  165. package/src/customers/Branches/CreateMany/Response.ts +0 -3
  166. package/src/customers/Branches/CreateSingle/Request.ts +0 -3
  167. package/src/customers/Branches/CreateSingle/Response.ts +0 -3
  168. package/src/customers/Branches/DeleteMany/Request.ts +0 -3
  169. package/src/customers/Branches/DeleteMany/Response.ts +0 -3
  170. package/src/customers/Branches/DeleteSingle/Response.ts +0 -3
  171. package/src/customers/Branches/GetMany/Request.ts +0 -5
  172. package/src/customers/Branches/GetMany/Response.ts +0 -6
  173. package/src/customers/Branches/GetSingle/Response.ts +0 -3
  174. package/src/customers/Branches/UpdateMany/Request.ts +0 -7
  175. package/src/customers/Branches/UpdateMany/Response.ts +0 -3
  176. package/src/customers/Branches/UpdateSingle/Request.ts +0 -10
  177. package/src/customers/Branches/UpdateSingle/Response.ts +0 -3
  178. package/src/customers/Branches/UpdateSingleDefault/Request.ts +0 -3
  179. package/src/customers/Branches/UpdateSingleDefault/Response.ts +0 -3
  180. package/src/customers/Branches/customers.branches.types.ts +0 -32
  181. package/src/customers/Branches/index.ts +0 -16
  182. package/src/customers/Customers/CreateMany/Request.ts +0 -3
  183. package/src/customers/Customers/CreateMany/Response.ts +0 -3
  184. package/src/customers/Customers/CreateSingle/Request.ts +0 -3
  185. package/src/customers/Customers/CreateSingle/Response.ts +0 -3
  186. package/src/customers/Customers/DeleteMany/Request.ts +0 -3
  187. package/src/customers/Customers/DeleteMany/Response.ts +0 -3
  188. package/src/customers/Customers/DeleteSingle/Response.ts +0 -3
  189. package/src/customers/Customers/GetMany/Request.ts +0 -5
  190. package/src/customers/Customers/GetMany/Response.ts +0 -6
  191. package/src/customers/Customers/GetSingle/Response.ts +0 -6
  192. package/src/customers/Customers/UpdateMany/Request.ts +0 -7
  193. package/src/customers/Customers/UpdateMany/Response.ts +0 -3
  194. package/src/customers/Customers/UpdateManyStatuses/Request.ts +0 -4
  195. package/src/customers/Customers/UpdateManyStatuses/Response.ts +0 -3
  196. package/src/customers/Customers/UpdateSingle/Request.ts +0 -16
  197. package/src/customers/Customers/UpdateSingle/Response.ts +0 -3
  198. package/src/customers/Customers/UpdateSingleStatus/Request.ts +0 -3
  199. package/src/customers/Customers/UpdateSingleStatus/Response.ts +0 -3
  200. package/src/customers/Customers/ValidateExistence/Request.ts +0 -7
  201. package/src/customers/Customers/ValidateExistence/Response.ts +0 -10
  202. package/src/customers/Customers/customers.types.ts +0 -47
  203. package/src/customers/Customers/index.ts +0 -16
  204. package/src/customers/Type/GetMany/Response.ts +0 -5
  205. package/src/customers/Type/GetSingle/Response.ts +0 -3
  206. package/src/customers/Type/customers.type.types.ts +0 -6
  207. package/src/customers/Type/index.ts +0 -2
  208. package/src/customers/index.ts +0 -3
  209. package/src/index.ts +0 -10
  210. package/src/interfaces.ts +0 -23
  211. package/src/inventories/Batches/CreateSingle/Request.ts +0 -3
  212. package/src/inventories/Batches/CreateSingle/Response.ts +0 -3
  213. package/src/inventories/Batches/GetSingle/Response.ts +0 -3
  214. package/src/inventories/Batches/UpdateSingle/Request.ts +0 -3
  215. package/src/inventories/Batches/UpdateSingle/Response.ts +0 -3
  216. package/src/inventories/Batches/index.ts +0 -6
  217. package/src/inventories/Batches/inventories.batches.types.ts +0 -9
  218. package/src/inventories/Categories/CreateSingle/Request.ts +0 -8
  219. package/src/inventories/Categories/CreateSingle/Response.ts +0 -3
  220. package/src/inventories/Categories/DeleteSingle/Response.ts +0 -3
  221. package/src/inventories/Categories/GetMany/Request.ts +0 -5
  222. package/src/inventories/Categories/GetMany/Response.ts +0 -6
  223. package/src/inventories/Categories/GetSingle/Response.ts +0 -3
  224. package/src/inventories/Categories/UpdateSingle/Request.ts +0 -4
  225. package/src/inventories/Categories/UpdateSingle/Response.ts +0 -3
  226. package/src/inventories/Categories/UpdateSingleStatus/Request.ts +0 -3
  227. package/src/inventories/Categories/UpdateSingleStatus/Response.ts +0 -3
  228. package/src/inventories/Categories/index.ts +0 -11
  229. package/src/inventories/Categories/inventories.categories.type.ts +0 -10
  230. package/src/inventories/Products/CreateSingle/Request.ts +0 -3
  231. package/src/inventories/Products/CreateSingle/Response.ts +0 -3
  232. package/src/inventories/Products/GetSingle/Response.ts +0 -3
  233. package/src/inventories/Products/UpdateSingle/Request.ts +0 -3
  234. package/src/inventories/Products/UpdateSingle/Response.ts +0 -3
  235. package/src/inventories/Products/index.ts +0 -6
  236. package/src/inventories/Products/inventories.products.types.ts +0 -29
  237. package/src/inventories/Units/GetSingle/Response.ts +0 -3
  238. package/src/inventories/Units/index.ts +0 -3
  239. package/src/inventories/Units/inventories.units.enum.ts +0 -42
  240. package/src/inventories/Units/inventories.units.types.ts +0 -8
  241. package/src/inventories/index.ts +0 -4
  242. package/src/invoices/Calculation/CalculateSingle/Request.ts +0 -27
  243. package/src/invoices/Calculation/CalculateSingle/Response.ts +0 -101
  244. package/src/invoices/Calculation/index.ts +0 -2
  245. package/src/invoices/Details/index.ts +0 -1
  246. package/src/invoices/Details/invoices.details.type.ts +0 -26
  247. package/src/invoices/DocumentTypes/GetMany/Request.ts +0 -6
  248. package/src/invoices/DocumentTypes/GetMany/Response.ts +0 -5
  249. package/src/invoices/DocumentTypes/GetSingle/Response.ts +0 -3
  250. package/src/invoices/DocumentTypes/index.ts +0 -4
  251. package/src/invoices/DocumentTypes/invoices.document-types.type.ts +0 -5
  252. package/src/invoices/Documents/CreateMany/Request.ts +0 -3
  253. package/src/invoices/Documents/CreateMany/Response.ts +0 -3
  254. package/src/invoices/Documents/CreateSingle/Request.ts +0 -8
  255. package/src/invoices/Documents/CreateSingle/Response.ts +0 -3
  256. package/src/invoices/Documents/GetMany/Request.ts +0 -6
  257. package/src/invoices/Documents/GetMany/Response.ts +0 -6
  258. package/src/invoices/Documents/GetSingle/Response.ts +0 -3
  259. package/src/invoices/Documents/Layout/index.ts +0 -65
  260. package/src/invoices/Documents/UpdateLayout/Request.ts +0 -3
  261. package/src/invoices/Documents/UpdateLayout/Response.ts +0 -3
  262. package/src/invoices/Documents/UpdateMany/Request.ts +0 -7
  263. package/src/invoices/Documents/UpdateMany/Response.ts +0 -3
  264. package/src/invoices/Documents/UpdateManyStatuses/Request.ts +0 -4
  265. package/src/invoices/Documents/UpdateManyStatuses/Response.ts +0 -3
  266. package/src/invoices/Documents/UpdateSingle/Request.ts +0 -3
  267. package/src/invoices/Documents/UpdateSingle/Response.ts +0 -3
  268. package/src/invoices/Documents/UpdateSingleStatus/Request.ts +0 -3
  269. package/src/invoices/Documents/UpdateSingleStatus/Response.ts +0 -3
  270. package/src/invoices/Documents/index.ts +0 -19
  271. package/src/invoices/Documents/invoices.documents.type.ts +0 -15
  272. package/src/invoices/Electronic/SVData/index.ts +0 -22
  273. package/src/invoices/Electronic/index.ts +0 -1
  274. package/src/invoices/Invoices/CreateMany/Request.ts +0 -3
  275. package/src/invoices/Invoices/CreateMany/Response.ts +0 -3
  276. package/src/invoices/Invoices/CreateReservation/Request.ts +0 -9
  277. package/src/invoices/Invoices/CreateReservation/Response.ts +0 -3
  278. package/src/invoices/Invoices/CreateSingle/Request.ts +0 -85
  279. package/src/invoices/Invoices/CreateSingle/Response.ts +0 -3
  280. package/src/invoices/Invoices/DeleteMany/Response.ts +0 -3
  281. package/src/invoices/Invoices/DeleteSingle/Response.ts +0 -3
  282. package/src/invoices/Invoices/GetDocumentTypes/Response.ts +0 -3
  283. package/src/invoices/Invoices/GetMany/Request.ts +0 -13
  284. package/src/invoices/Invoices/GetMany/Response.ts +0 -6
  285. package/src/invoices/Invoices/GetSingle/Response.ts +0 -3
  286. package/src/invoices/Invoices/MarkSingleAsPaid/Response.ts +0 -3
  287. package/src/invoices/Invoices/MarkSingleAsPrinted/Response.ts +0 -3
  288. package/src/invoices/Invoices/RevertSingle/Response.ts +0 -3
  289. package/src/invoices/Invoices/UpdateMany/Request.ts +0 -3
  290. package/src/invoices/Invoices/UpdateMany/Response.ts +0 -3
  291. package/src/invoices/Invoices/UpdateSingle/Request.ts +0 -22
  292. package/src/invoices/Invoices/UpdateSingle/Response.ts +0 -3
  293. package/src/invoices/Invoices/VoidSingle/Response.ts +0 -3
  294. package/src/invoices/Invoices/index.ts +0 -21
  295. package/src/invoices/Invoices/invoices.types.ts +0 -64
  296. package/src/invoices/PaymentConditions/CreateMany/Request.ts +0 -4
  297. package/src/invoices/PaymentConditions/CreateMany/Response.ts +0 -3
  298. package/src/invoices/PaymentConditions/CreateSingle/Request.ts +0 -6
  299. package/src/invoices/PaymentConditions/CreateSingle/Response.ts +0 -3
  300. package/src/invoices/PaymentConditions/DeleteMany/Request.ts +0 -3
  301. package/src/invoices/PaymentConditions/DeleteMany/Response.ts +0 -3
  302. package/src/invoices/PaymentConditions/DeleteSingle/Response.ts +0 -3
  303. package/src/invoices/PaymentConditions/GetMany/Request.ts +0 -5
  304. package/src/invoices/PaymentConditions/GetMany/Response.ts +0 -6
  305. package/src/invoices/PaymentConditions/GetSingle/Response.ts +0 -3
  306. package/src/invoices/PaymentConditions/UpdateMany/Request.ts +0 -7
  307. package/src/invoices/PaymentConditions/UpdateMany/Response.ts +0 -3
  308. package/src/invoices/PaymentConditions/UpdateManyStatuses/Request.ts +0 -4
  309. package/src/invoices/PaymentConditions/UpdateManyStatuses/Response.ts +0 -3
  310. package/src/invoices/PaymentConditions/UpdateSingle/Request.ts +0 -4
  311. package/src/invoices/PaymentConditions/UpdateSingle/Response.ts +0 -3
  312. package/src/invoices/PaymentConditions/UpdateSingleStatus/Request.ts +0 -3
  313. package/src/invoices/PaymentConditions/UpdateSingleStatus/Response.ts +0 -3
  314. package/src/invoices/PaymentConditions/index.ts +0 -19
  315. package/src/invoices/PaymentConditions/invoices.payment-conditions.type.ts +0 -6
  316. package/src/invoices/Reports/SalesDetails/Request.ts +0 -12
  317. package/src/invoices/Reports/SalesDetails/Response.ts +0 -3
  318. package/src/invoices/Reports/SalesDetailsPreview/Request.ts +0 -6
  319. package/src/invoices/Reports/SalesDetailsPreview/Response.ts +0 -3
  320. package/src/invoices/Reports/SalesList/Request.ts +0 -7
  321. package/src/invoices/Reports/SalesList/Response.ts +0 -3
  322. package/src/invoices/Reports/SalesListPreview/Request.ts +0 -3
  323. package/src/invoices/Reports/SalesListPreview/Response.ts +0 -3
  324. package/src/invoices/Reports/index.ts +0 -8
  325. package/src/invoices/Sellers/CreateMany/Request.ts +0 -3
  326. package/src/invoices/Sellers/CreateMany/Response.ts +0 -3
  327. package/src/invoices/Sellers/CreateSingle/Request.ts +0 -3
  328. package/src/invoices/Sellers/CreateSingle/Response.ts +0 -3
  329. package/src/invoices/Sellers/DeleteMany/Request.ts +0 -3
  330. package/src/invoices/Sellers/DeleteMany/Response.ts +0 -3
  331. package/src/invoices/Sellers/DeleteSingle/Response.ts +0 -3
  332. package/src/invoices/Sellers/GetMany/Request.ts +0 -5
  333. package/src/invoices/Sellers/GetMany/Response.ts +0 -6
  334. package/src/invoices/Sellers/GetSingle/Response.ts +0 -3
  335. package/src/invoices/Sellers/UpdateMany/Request.ts +0 -7
  336. package/src/invoices/Sellers/UpdateMany/Response.ts +0 -3
  337. package/src/invoices/Sellers/UpdateManyStatuses/Request.ts +0 -4
  338. package/src/invoices/Sellers/UpdateManyStatuses/Response.ts +0 -3
  339. package/src/invoices/Sellers/UpdateSingle/Request.ts +0 -3
  340. package/src/invoices/Sellers/UpdateSingle/Response.ts +0 -3
  341. package/src/invoices/Sellers/UpdateSingleStatus/Request.ts +0 -3
  342. package/src/invoices/Sellers/UpdateSingleStatus/Response.ts +0 -3
  343. package/src/invoices/Sellers/index.ts +0 -19
  344. package/src/invoices/Sellers/invoices.sellers.type.ts +0 -20
  345. package/src/invoices/Settings/ElectronincSv/Get/Response.ts +0 -3
  346. package/src/invoices/Settings/ElectronincSv/Set/Request.ts +0 -6
  347. package/src/invoices/Settings/ElectronincSv/Set/Response.ts +0 -3
  348. package/src/invoices/Settings/ElectronincSv/index.ts +0 -4
  349. package/src/invoices/Settings/ElectronincSv/invoices.settings.electronic-sv.type.ts +0 -13
  350. package/src/invoices/Settings/GetGenerals/Response.ts +0 -3
  351. package/src/invoices/Settings/UpdateGenerals/Request.ts +0 -3
  352. package/src/invoices/Settings/UpdateGenerals/Response.ts +0 -3
  353. package/src/invoices/Settings/index.ts +0 -5
  354. package/src/invoices/Settings/invoices.settings.type.ts +0 -9
  355. package/src/invoices/StatusesTypes/GetMany/Response.ts +0 -5
  356. package/src/invoices/StatusesTypes/GetSingle/Response.ts +0 -3
  357. package/src/invoices/StatusesTypes/index.ts +0 -4
  358. package/src/invoices/StatusesTypes/invoices.statuses-types.type.ts +0 -4
  359. package/src/invoices/Zones/CreateMany/Request.ts +0 -3
  360. package/src/invoices/Zones/CreateMany/Response.ts +0 -3
  361. package/src/invoices/Zones/CreateSingle/Request.ts +0 -3
  362. package/src/invoices/Zones/CreateSingle/Response.ts +0 -3
  363. package/src/invoices/Zones/DeleteMany/Request.ts +0 -3
  364. package/src/invoices/Zones/DeleteMany/Response.ts +0 -3
  365. package/src/invoices/Zones/DeleteSingle/Response.ts +0 -3
  366. package/src/invoices/Zones/GetMany/Request.ts +0 -5
  367. package/src/invoices/Zones/GetMany/Response.ts +0 -6
  368. package/src/invoices/Zones/GetSingle/Response.ts +0 -3
  369. package/src/invoices/Zones/UpdateMany/Request.ts +0 -7
  370. package/src/invoices/Zones/UpdateMany/Response.ts +0 -3
  371. package/src/invoices/Zones/UpdateManyStatuses/Request.ts +0 -4
  372. package/src/invoices/Zones/UpdateManyStatuses/Response.ts +0 -3
  373. package/src/invoices/Zones/UpdateSingle/Request.ts +0 -3
  374. package/src/invoices/Zones/UpdateSingle/Response.ts +0 -3
  375. package/src/invoices/Zones/UpdateSingleStatus/Request.ts +0 -3
  376. package/src/invoices/Zones/UpdateSingleStatus/Response.ts +0 -3
  377. package/src/invoices/Zones/index.ts +0 -19
  378. package/src/invoices/Zones/invoices.zones.type.ts +0 -5
  379. package/src/invoices/index.ts +0 -13
  380. package/src/invoices/invoices.enums.ts +0 -23
  381. package/src/legal/Advisories/index.ts +0 -1
  382. package/src/legal/Advisories/legal.advisories.type.ts +0 -11
  383. package/src/legal/Appointees/CreateSingle/Request.ts +0 -3
  384. package/src/legal/Appointees/CreateSingle/Response.ts +0 -3
  385. package/src/legal/Appointees/DeleteSingle/Response.ts +0 -3
  386. package/src/legal/Appointees/GetMany/Request.ts +0 -5
  387. package/src/legal/Appointees/GetMany/Response.ts +0 -6
  388. package/src/legal/Appointees/GetSingle/Response.ts +0 -3
  389. package/src/legal/Appointees/UpdateSingle/Request.ts +0 -3
  390. package/src/legal/Appointees/UpdateSingle/Response.ts +0 -3
  391. package/src/legal/Appointees/UpdateSingleStatus/Request.ts +0 -3
  392. package/src/legal/Appointees/UpdateSingleStatus/Response.ts +0 -3
  393. package/src/legal/Appointees/index.ts +0 -11
  394. package/src/legal/Appointees/legal.appointees.type.ts +0 -5
  395. package/src/legal/Lawyers/CreateSingle/Request.ts +0 -3
  396. package/src/legal/Lawyers/CreateSingle/Response.ts +0 -3
  397. package/src/legal/Lawyers/DeleteSingle/Response.ts +0 -3
  398. package/src/legal/Lawyers/GetMany/Request.ts +0 -5
  399. package/src/legal/Lawyers/GetMany/Response.ts +0 -6
  400. package/src/legal/Lawyers/GetSingle/Response.ts +0 -3
  401. package/src/legal/Lawyers/UpdateSingle/Request.ts +0 -3
  402. package/src/legal/Lawyers/UpdateSingle/Response.ts +0 -3
  403. package/src/legal/Lawyers/UpdateSingleStatus/Request.ts +0 -3
  404. package/src/legal/Lawyers/UpdateSingleStatus/Response.ts +0 -3
  405. package/src/legal/Lawyers/index.ts +0 -11
  406. package/src/legal/Lawyers/legal.lawyers.type.ts +0 -19
  407. package/src/legal/PeopleCapacities/CreateSingle/Request.ts +0 -3
  408. package/src/legal/PeopleCapacities/CreateSingle/Response.ts +0 -3
  409. package/src/legal/PeopleCapacities/DeleteSingle/Response.ts +0 -3
  410. package/src/legal/PeopleCapacities/GetMany/Request.ts +0 -5
  411. package/src/legal/PeopleCapacities/GetMany/Response.ts +0 -6
  412. package/src/legal/PeopleCapacities/GetSingle/Response.ts +0 -3
  413. package/src/legal/PeopleCapacities/UpdateSingle/Request.ts +0 -4
  414. package/src/legal/PeopleCapacities/UpdateSingle/Response.ts +0 -3
  415. package/src/legal/PeopleCapacities/UpdateSingleStatus/Request.ts +0 -3
  416. package/src/legal/PeopleCapacities/UpdateSingleStatus/Response.ts +0 -3
  417. package/src/legal/PeopleCapacities/index.ts +0 -11
  418. package/src/legal/PeopleCapacities/legal.people-capacities.type.ts +0 -5
  419. package/src/legal/index.ts +0 -3
  420. package/src/legal/legal.enum.ts +0 -5
  421. package/src/management/Branch/index.ts +0 -1
  422. package/src/management/Branch/management.branch.type.ts +0 -7
  423. package/src/management/Company/GetCurrent/index.ts +0 -3
  424. package/src/management/Company/UpdateCurrent/Request.ts +0 -17
  425. package/src/management/Company/UpdateCurrent/Response.ts +0 -3
  426. package/src/management/Company/index.ts +0 -4
  427. package/src/management/Company/management.company.type.ts +0 -14
  428. package/src/management/Profiles/GetMany/Request.ts +0 -3
  429. package/src/management/Profiles/GetMany/Response.ts +0 -6
  430. package/src/management/Profiles/index.ts +0 -3
  431. package/src/management/Profiles/management.profiles.type.ts +0 -11
  432. package/src/management/Users/GetMany/Request.ts +0 -5
  433. package/src/management/Users/GetMany/Response.ts +0 -6
  434. package/src/management/Users/index.ts +0 -3
  435. package/src/management/Users/management.users.type.ts +0 -22
  436. package/src/management/index.ts +0 -4
  437. package/src/partners/V1/auth/ProcessLogin/Request.ts +0 -4
  438. package/src/partners/V1/auth/ProcessLogin/Response.ts +0 -7
  439. package/src/partners/V1/auth/index.ts +0 -2
  440. package/src/partners/V1/index.ts +0 -2
  441. package/src/partners/V1/invoices/CreateSingle/Request.ts +0 -177
  442. package/src/partners/V1/invoices/CreateSingle/Response.ts +0 -24
  443. package/src/partners/V1/invoices/index.ts +0 -2
  444. package/src/partners/index.ts +0 -1
  445. package/src/services/Reports/List/Request.ts +0 -7
  446. package/src/services/Reports/List/Response.ts +0 -3
  447. package/src/services/Reports/ListPreview/Request.ts +0 -3
  448. package/src/services/Reports/ListPreview/Response.ts +0 -3
  449. package/src/services/Reports/index.ts +0 -4
  450. package/src/services/SellingTypes/GetMany/Response.ts +0 -5
  451. package/src/services/SellingTypes/GetSingle/Response.ts +0 -3
  452. package/src/services/SellingTypes/index.ts +0 -2
  453. package/src/services/SellingTypes/services.selling-types.types.ts +0 -9
  454. package/src/services/Services/CreateMany/Request.ts +0 -3
  455. package/src/services/Services/CreateMany/Response.ts +0 -3
  456. package/src/services/Services/CreateSingle/Request.ts +0 -3
  457. package/src/services/Services/CreateSingle/Response.ts +0 -3
  458. package/src/services/Services/DeleteMany/Request.ts +0 -3
  459. package/src/services/Services/DeleteMany/Response.ts +0 -3
  460. package/src/services/Services/DeleteSingle/Response.ts +0 -3
  461. package/src/services/Services/GetMany/Request.ts +0 -8
  462. package/src/services/Services/GetMany/Response.ts +0 -6
  463. package/src/services/Services/GetSingle/Response.ts +0 -3
  464. package/src/services/Services/UpdateMany/Request.ts +0 -3
  465. package/src/services/Services/UpdateMany/Response.ts +0 -3
  466. package/src/services/Services/UpdateManyStatuses/Request.ts +0 -4
  467. package/src/services/Services/UpdateManyStatuses/Response.ts +0 -3
  468. package/src/services/Services/UpdateSingle/Request.ts +0 -3
  469. package/src/services/Services/UpdateSingle/Response.ts +0 -3
  470. package/src/services/Services/UpdateSingleStatus/Request.ts +0 -3
  471. package/src/services/Services/UpdateSingleStatus/Response.ts +0 -3
  472. package/src/services/Services/index.ts +0 -14
  473. package/src/services/Services/services.types.ts +0 -19
  474. package/src/services/Settings/GetIntegrations/Response.ts +0 -1
  475. package/src/services/Settings/UpdateIntegrations/Request.ts +0 -1
  476. package/src/services/Settings/UpdateIntegrations/Response.ts +0 -1
  477. package/src/services/Settings/index.ts +0 -3
  478. package/src/services/index.ts +0 -4
  479. package/src/tools.ts +0 -34
  480. package/tsconfig.json +0 -16
  481. package/tsconfig.tsbuildinfo +0 -1
@@ -1,8 +0,0 @@
1
- import { InvoicesDocuments } from '../invoices.documents.type'
2
-
3
- export type InvoicesDocumentsCreateSingleRequest = Pick<
4
- InvoicesDocuments,
5
- 'authorization' | 'initial' | 'final'
6
- > & {
7
- documentType: number
8
- }
@@ -1,3 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces'
2
-
3
- export type InvoicesDocumentsCreateSingleResponse = SingleResponse
@@ -1,6 +0,0 @@
1
- import { GetManyRequest } from '../../../interfaces'
2
-
3
- export type InvoicesDocumentsGetManyRequest = GetManyRequest & {
4
- active?: boolean
5
- documentType?: number
6
- }
@@ -1,6 +0,0 @@
1
- import { GetManyResponse } from '../../../interfaces'
2
- import { InvoicesDocumentsGetSingleResponse } from '../GetSingle/Response'
3
-
4
- export type InvoicesDocumentsGetManyResponse = GetManyResponse & {
5
- data: Array<InvoicesDocumentsGetSingleResponse & { index: number }>
6
- }
@@ -1,3 +0,0 @@
1
- import { InvoicesDocuments } from '../invoices.documents.type'
2
-
3
- export type InvoicesDocumentsGetSingleResponse = InvoicesDocuments
@@ -1,65 +0,0 @@
1
- export type InvoicesDocumentsLayoutHelpers = {
2
- x: number
3
- y?: number
4
- l?: number
5
- show: true | false
6
- type: 'text' | 'date' | 'money'
7
- name: string
8
- }
9
- export type InvoicesDocumentsLayoutResolution = {
10
- width: number
11
- height: number
12
- }
13
- export type InvoicesDocumentsLayoutHeader = {
14
- fontSize: number
15
- authorization: InvoicesDocumentsLayoutHelpers
16
- sequence: InvoicesDocumentsLayoutHelpers
17
- date: InvoicesDocumentsLayoutHelpers
18
- customer: InvoicesDocumentsLayoutHelpers
19
- shortName: InvoicesDocumentsLayoutHelpers
20
- customerBranch: InvoicesDocumentsLayoutHelpers
21
- address1: InvoicesDocumentsLayoutHelpers
22
- address2: InvoicesDocumentsLayoutHelpers
23
- seller: InvoicesDocumentsLayoutHelpers
24
- paymentCondition: InvoicesDocumentsLayoutHelpers
25
- giro: InvoicesDocumentsLayoutHelpers
26
- nrc: InvoicesDocumentsLayoutHelpers
27
- nit: InvoicesDocumentsLayoutHelpers
28
- dui: InvoicesDocumentsLayoutHelpers
29
- passport: InvoicesDocumentsLayoutHelpers
30
- country: InvoicesDocumentsLayoutHelpers
31
- state: InvoicesDocumentsLayoutHelpers
32
- city: InvoicesDocumentsLayoutHelpers
33
- }
34
- export type InvoicesDocumentsLayoutDetails = {
35
- fontSize: number
36
- height: number
37
- y: number
38
- quantity: Omit<InvoicesDocumentsLayoutHelpers, 'y'>
39
- description: Omit<InvoicesDocumentsLayoutHelpers, 'y'>
40
- price: Omit<InvoicesDocumentsLayoutHelpers, 'y'>
41
- vNoSujeta: Omit<InvoicesDocumentsLayoutHelpers, 'y'>
42
- vExenta: Omit<InvoicesDocumentsLayoutHelpers, 'y'>
43
- vGravada: Omit<InvoicesDocumentsLayoutHelpers, 'y'>
44
- }
45
- export type InvoicesDocumentsLayoutTotals = {
46
- fontSize: number
47
- sum: Omit<InvoicesDocumentsLayoutHelpers, 'l'>
48
- taxes: Omit<InvoicesDocumentsLayoutHelpers, 'l'>
49
- renta5: Omit<InvoicesDocumentsLayoutHelpers, 'l'>
50
- renta10: Omit<InvoicesDocumentsLayoutHelpers, 'l'>
51
- subtotal: Omit<InvoicesDocumentsLayoutHelpers, 'l'>
52
- retenido: Omit<InvoicesDocumentsLayoutHelpers, 'l'>
53
- percibido: Omit<InvoicesDocumentsLayoutHelpers, 'l'>
54
- vNoSujeta: Omit<InvoicesDocumentsLayoutHelpers, 'l'>
55
- vExenta: Omit<InvoicesDocumentsLayoutHelpers, 'l'>
56
- vGravada: Omit<InvoicesDocumentsLayoutHelpers, 'l'>
57
- vText: Omit<InvoicesDocumentsLayoutHelpers, 'l'>
58
- }
59
- export type InvoicesDocumentsLayout = {
60
- resolution: InvoicesDocumentsLayoutResolution
61
- header: InvoicesDocumentsLayoutHeader
62
- details: InvoicesDocumentsLayoutDetails
63
- totals: InvoicesDocumentsLayoutTotals
64
- }
65
- export {}
@@ -1,3 +0,0 @@
1
- import { InvoicesDocumentsLayout } from '../Layout'
2
-
3
- export type InvoicesDocumentsUpdateLayoutRequest = InvoicesDocumentsLayout
@@ -1,3 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces'
2
-
3
- export type InvoicesDocumentsUpdateLayoutResponse = SingleResponse
@@ -1,7 +0,0 @@
1
- import { InvoicesDocumentsUpdateSingleRequest } from '../UpdateSingle/Request'
2
-
3
- export type InvoicesDocumentsUpdateManyRequest = Array<
4
- InvoicesDocumentsUpdateSingleRequest & {
5
- id: string
6
- }
7
- >
@@ -1,3 +0,0 @@
1
- import { ManyResponse } from '../../../interfaces'
2
-
3
- export type InvoicesDocumentsUpdateManyResponse = ManyResponse
@@ -1,4 +0,0 @@
1
- export type InvoicesDocumentsUpdateManyStatusesRequest = {
2
- ids: Array<string>
3
- active: boolean
4
- }
@@ -1,3 +0,0 @@
1
- import { ManyResponse } from '../../../interfaces'
2
-
3
- export type InvoicesDocumentsUpdateManyStatusesResponse = ManyResponse
@@ -1,3 +0,0 @@
1
- import { InvoicesDocumentsCreateSingleRequest } from '../CreateSingle/Request'
2
-
3
- export type InvoicesDocumentsUpdateSingleRequest = Partial<InvoicesDocumentsCreateSingleRequest>
@@ -1,3 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces'
2
-
3
- export type InvoicesDocumentsUpdateSingleResponse = SingleResponse
@@ -1,3 +0,0 @@
1
- export type InvoicesDocumentsUpdateSingleStatusRequest = {
2
- active: boolean
3
- }
@@ -1,3 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces'
2
-
3
- export type InvoicesDocumentsUpdateSingleStatusResponse = SingleResponse
@@ -1,19 +0,0 @@
1
- export * from './CreateMany/Request'
2
- export * from './CreateMany/Response'
3
- export * from './CreateSingle/Request'
4
- export * from './CreateSingle/Response'
5
- export * from './GetMany/Request'
6
- export * from './GetMany/Response'
7
- export * from './GetSingle/Response'
8
- export * from './Layout'
9
- export * from './UpdateLayout/Request'
10
- export * from './UpdateLayout/Response'
11
- export * from './UpdateMany/Request'
12
- export * from './UpdateMany/Response'
13
- export * from './UpdateManyStatuses/Request'
14
- export * from './UpdateManyStatuses/Response'
15
- export * from './UpdateSingle/Request'
16
- export * from './UpdateSingle/Response'
17
- export * from './UpdateSingleStatus/Request'
18
- export * from './UpdateSingleStatus/Response'
19
- export * from './invoices.documents.type'
@@ -1,15 +0,0 @@
1
- import { InvoicesDocumentTypes } from '../DocumentTypes/invoices.document-types.type'
2
- import { InvoicesDocumentsLayout } from './Layout'
3
-
4
- export type InvoicesDocuments = {
5
- id: string
6
- authorization?: string
7
- initial?: number
8
- final?: number
9
- current?: number
10
- active: boolean
11
- used: boolean
12
- isCurrentDocument: boolean
13
- documentType: Pick<InvoicesDocumentTypes, 'id' | 'name' | 'code'>
14
- layout: InvoicesDocumentsLayout
15
- }
@@ -1,22 +0,0 @@
1
- export enum InvoicesElectronicDataActions {
2
- PRESENTAR = 'PRESENTAR',
3
- ANULAR = 'ANULAR',
4
- }
5
-
6
- export type InvoicesElectronicSVDataResponse = {
7
- ambiente: '00' | '01'
8
- fhProcesamiento: string
9
- estado: 'PROCESADO' | 'RECHAZADO' | 'PENDIENTE'
10
- codigoGeneracion: string
11
- selloRecibido: string | null
12
- observaciones: Array<string>
13
- descripcionMsg: string
14
- }
15
-
16
- export type InvoicesElectronicSVData = {
17
- id: string
18
- response: InvoicesElectronicSVDataResponse
19
- isProduction: boolean
20
- success: boolean
21
- action: InvoicesElectronicDataActions
22
- }
@@ -1 +0,0 @@
1
- export * from './SVData'
@@ -1,3 +0,0 @@
1
- import { InvoicesCreateSingleRequest } from '../CreateSingle/Request'
2
-
3
- export type InvoicesCreateManyRequest = InvoicesCreateSingleRequest[]
@@ -1,3 +0,0 @@
1
- import { ManyResponse } from '../../../interfaces'
2
-
3
- export type InvoicesCreateManyResponse = ManyResponse
@@ -1,9 +0,0 @@
1
- import { InvoicesCreateSingleHeader } from '../CreateSingle/Request'
2
-
3
- export type InvoicesCreateReservationRequest = Pick<
4
- InvoicesCreateSingleHeader,
5
- 'document' | 'authorization'
6
- > & {
7
- sequenceFrom: number
8
- sequenceTo: number
9
- }
@@ -1,3 +0,0 @@
1
- import { ManyResponse } from '../../../interfaces'
2
-
3
- export type InvoicesCreateReservationResponse = ManyResponse
@@ -1,85 +0,0 @@
1
- import { InvoicesDiscountsTypesKeys } from '../../invoices.enums'
2
-
3
- export type InvoicesCreateSingleHeader = {
4
- document?: string
5
- documentType: number
6
- authorization?: string
7
- sequence?: number
8
- invoiceDate: string
9
- customer: string
10
- customerBranch: string
11
- paymentCondition: string
12
- invoicesSeller: string
13
- copyFrom?: string
14
- creditFor?: string
15
- }
16
-
17
- export type InvoicesCreateSingleTotals = {
18
- // Summary values
19
- totalExenta: number // previously ventasExentas
20
- totalNoSuj: number // previously ventasNoSujetas
21
- totalGravada: number
22
- subTotalVentas: number // previously sum
23
-
24
- // Discounts values
25
- descuExenta?: number
26
- descuNoSuj?: number
27
- descuGravada?: number
28
- totalDescu?: number
29
- porcentajeDescuento?: number
30
-
31
- // Tax values
32
- totalIva: number // previously iva
33
-
34
- // Subtotal values
35
- subTotal: number // previously subtotal
36
-
37
- // Other retention values
38
- ivaRete1: number // previously ivaRetenido
39
- ivaPercibido?: number
40
- renta5?: number
41
- renta10?: number
42
-
43
- // Total values
44
- totalPagar: number // previously ventaTotal
45
- }
46
-
47
- export type InvoicesCreateSingleDetail = {
48
- // Basic values
49
- service: string
50
- quantity: number
51
- chargeDescription: string
52
- price: number
53
- incIva: boolean
54
- incRenta5: boolean
55
- incRenta10: boolean
56
-
57
- // Calculated values
58
- unitPrice: number
59
- ivaPrice: number
60
- ventaPrice: number
61
- vNoSujeta: number
62
- vExenta: number
63
- vGravada: number
64
- totalIvaPrice: number
65
- rentaPrice5: number
66
- rentaPrice10?: number
67
- sellingType: number
68
- }
69
-
70
- export type InvoicesCreateSingleDiscounts = {
71
- id?: string
72
- type: InvoicesDiscountsTypesKeys
73
- description: string
74
- quantity: number
75
- descuExenta: number
76
- descuGravada: number
77
- descuNoSuj: number
78
- }
79
-
80
- export type InvoicesCreateSingleRequest = {
81
- header: InvoicesCreateSingleHeader
82
- totals: InvoicesCreateSingleTotals
83
- details: InvoicesCreateSingleDetail[]
84
- discounts: InvoicesCreateSingleDiscounts[] | null
85
- }
@@ -1,3 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces'
2
-
3
- export type InvoicesCreateSingleResponse = SingleResponse
@@ -1,3 +0,0 @@
1
- import { ManyResponse } from '../../../interfaces'
2
-
3
- export type InvoicesDeleteManyResponse = ManyResponse
@@ -1,3 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces'
2
-
3
- export type InvoicesDeleteSingleResponse = SingleResponse
@@ -1,3 +0,0 @@
1
- import { InvoicesDocumentTypes } from '../../DocumentTypes/invoices.document-types.type'
2
-
3
- export type InvoicesGetManyDocumentTypesResponse = InvoicesDocumentTypes[]
@@ -1,13 +0,0 @@
1
- import { GetManyRequest } from '../../../interfaces'
2
-
3
- export type InvoicesGetManyRequest = GetManyRequest & {
4
- documentType?: number
5
- customer?: string
6
- seller?: string
7
- zone?: string
8
- service?: string
9
- paymentCondition?: string
10
- statusType?: number
11
- startDate?: Date
12
- endDate?: Date
13
- }
@@ -1,6 +0,0 @@
1
- import { GetManyResponse } from '../../../interfaces'
2
- import { InvoicesGetSingleResponse } from '../GetSingle/Response'
3
-
4
- export type InvoicesGetManyResponse = GetManyResponse & {
5
- data: Array<InvoicesGetSingleResponse & { index: number }>
6
- }
@@ -1,3 +0,0 @@
1
- import { Invoices } from '../invoices.types'
2
-
3
- export type InvoicesGetSingleResponse = Invoices & { isLastInvoice: boolean | null }
@@ -1,3 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces'
2
-
3
- export type InvoicesMarkSingleAsPaidResponse = SingleResponse
@@ -1,3 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces'
2
-
3
- export type InvoicesMarkSingleAsPrintedResponse = SingleResponse
@@ -1,3 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces'
2
-
3
- export type InvoicesRevertSingleResponse = SingleResponse
@@ -1,3 +0,0 @@
1
- import { InvoicesUpdateSingleRequest } from '../UpdateSingle/Request'
2
-
3
- export type InvoicesUpdateManyRequest = InvoicesUpdateSingleRequest[]
@@ -1,3 +0,0 @@
1
- import { ManyResponse } from '../../../interfaces'
2
-
3
- export type InvoicesUpdateManyResponse = ManyResponse
@@ -1,22 +0,0 @@
1
- import {
2
- InvoicesCreateSingleDetail,
3
- InvoicesCreateSingleHeader,
4
- InvoicesCreateSingleTotals,
5
- } from '../CreateSingle/Request'
6
-
7
- export type InvoicesUpdateSingleHeader = Omit<
8
- InvoicesCreateSingleHeader,
9
- 'document' | 'authorization' | 'sequence' | 'copyFrom'
10
- >
11
-
12
- export type InvoicesUpdateSingleTotals = InvoicesCreateSingleTotals
13
-
14
- export type InvoicesUpdateSingleDetail = InvoicesCreateSingleDetail & {
15
- id: string
16
- }
17
-
18
- export type InvoicesUpdateSingleRequest = {
19
- header: InvoicesUpdateSingleHeader
20
- totals: InvoicesUpdateSingleTotals
21
- details: InvoicesUpdateSingleDetail[]
22
- }
@@ -1,3 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces'
2
-
3
- export type InvoicesUpdateSingleResponse = SingleResponse
@@ -1,3 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces'
2
-
3
- export type InvoicesVoidSingleResponse = SingleResponse
@@ -1,21 +0,0 @@
1
- export * from './CreateMany/Request'
2
- export * from './CreateMany/Response'
3
- export * from './CreateReservation/Request'
4
- export * from './CreateReservation/Response'
5
- export * from './CreateSingle/Request'
6
- export * from './CreateSingle/Response'
7
- export * from './DeleteMany/Response'
8
- export * from './DeleteSingle/Response'
9
- export * from './GetDocumentTypes/Response'
10
- export * from './GetMany/Request'
11
- export * from './GetMany/Response'
12
- export * from './GetSingle/Response'
13
- export * from './MarkSingleAsPaid/Response'
14
- export * from './MarkSingleAsPrinted/Response'
15
- export * from './RevertSingle/Response'
16
- export * from './UpdateMany/Request'
17
- export * from './UpdateMany/Response'
18
- export * from './UpdateSingle/Request'
19
- export * from './UpdateSingle/Response'
20
- export * from './VoidSingle/Response'
21
- export * from './invoices.types'
@@ -1,64 +0,0 @@
1
- import { SystemPersonTypeNaturals } from '../../System/PersonTypeNaturals/system.person-types-naturals.types'
2
- import { CustomersBranches } from '../../customers/Branches/customers.branches.types'
3
- import { Customers } from '../../customers/Customers/customers.types'
4
- import { SystemPersonTypes } from '../../system/PersonTypes/system.person-types.types'
5
- import { InvoicesDetails } from '../Details/invoices.details.type'
6
- import { InvoicesDocumentTypes } from '../DocumentTypes/invoices.document-types.type'
7
- import { InvoicesElectronicSVData } from '../Electronic'
8
- import { InvoicesPaymentConditions } from '../PaymentConditions/invoices.payment-conditions.type'
9
- import { InvoicesSellers } from '../Sellers/invoices.sellers.type'
10
- import { InvoicesStatusesTypes } from '../StatusesTypes'
11
- import { InvoicesZones } from '../Zones/invoices.zones.type'
12
-
13
- export type Invoices = {
14
- id: string
15
- authorization: string
16
- sequence: string
17
- customerName: string
18
- customerAddress1: string
19
- customerAddress2: string
20
- customerCountry: string
21
- customerState: string
22
- customerCity: string
23
- customerDui: string
24
- customerNit: string
25
- customerNrc: string
26
- customerGiro: string
27
- customerPassport: string
28
- totalExenta: number // previously ventasExentas
29
- totalNoSuj: number // previously ventasNoSujetas
30
- totalGravada: number
31
- subTotalVentas: number // previously sum
32
- totalIva: number // previously iva
33
- subTotal: number // previously subtotal
34
- ivaPercibido: number
35
- renta5: number
36
- renta10: number
37
- ivaRete1: number // previously ivaRetenido
38
- totalPagar: number // previously ventaTotal
39
- totalPagarText: string // previously ventaTotalText
40
- origin: string
41
- invoiceDate: Date
42
- paymentConditionName: string
43
- sellerName: string
44
- zoneName: string
45
- createEntry: boolean
46
- NCDTotal: boolean
47
- isElectronicInvoice: boolean
48
- customerBranch: Omit<CustomersBranches, 'customer'>
49
- customer: Customers
50
- paymentCondition: Pick<InvoicesPaymentConditions, 'id' | 'name'>
51
- invoicesSeller: Pick<InvoicesSellers, 'id' | 'name'>
52
- invoicesZone: Pick<InvoicesZones, 'id' | 'name'>
53
- statusType: Pick<InvoicesStatusesTypes, 'id' | 'name'>
54
- personType: Pick<SystemPersonTypes, 'id' | 'name'>
55
- customerTypeNatural: Pick<SystemPersonTypeNaturals, 'id' | 'name'>
56
- documentType: Pick<InvoicesDocumentTypes, 'id' | 'name' | 'code'>
57
- invoiceDetails: InvoicesDetails[]
58
- electronicSvData: InvoicesElectronicSVData[]
59
- // echarges: Echarges
60
- // accountingEntry: AccountingEntriesEntity
61
- // relatedDocument: InvoicesEntity
62
- // invoices: InvoicesEntity[]
63
- // legalInstallments: LegalInstallmentsEntity[]
64
- }
@@ -1,4 +0,0 @@
1
- import { InvoicesPaymentConditionsCreateSingleRequest } from '../CreateSingle/Request'
2
-
3
- export type InvoicesPaymentConditionsCreateManyRequest =
4
- Array<InvoicesPaymentConditionsCreateSingleRequest>
@@ -1,3 +0,0 @@
1
- import { ManyResponse } from '../../../interfaces'
2
-
3
- export type InvoicesPaymentConditionsCreateManyResponse = ManyResponse
@@ -1,6 +0,0 @@
1
- import { InvoicesPaymentConditions } from '../invoices.payment-conditions.type'
2
-
3
- export type InvoicesPaymentConditionsCreateSingleRequest = Omit<
4
- InvoicesPaymentConditions,
5
- 'id' | 'active'
6
- >
@@ -1,3 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces'
2
-
3
- export type InvoicesPaymentConditionsCreateSingleResponse = SingleResponse
@@ -1,3 +0,0 @@
1
- export type InvoicesPaymentConditionsDeleteManyRequest = {
2
- ids: Array<string>
3
- }
@@ -1,3 +0,0 @@
1
- import { ManyResponse } from '../../../interfaces'
2
-
3
- export type InvoicesPaymentConditionsDeleteManyResponse = ManyResponse
@@ -1,3 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces'
2
-
3
- export type InvoicesPaymentConditionsDeleteSingleResponse = SingleResponse
@@ -1,5 +0,0 @@
1
- import { GetManyRequest } from '../../../interfaces'
2
-
3
- export type InvoicesPaymentConditionsGetManyRequest = GetManyRequest & {
4
- active?: boolean
5
- }
@@ -1,6 +0,0 @@
1
- import { GetManyResponse } from '../../../interfaces'
2
- import { InvoicesPaymentConditions } from '../invoices.payment-conditions.type'
3
-
4
- export type InvoicesPaymentConditionsGetManyResponse = GetManyResponse & {
5
- data: Array<InvoicesPaymentConditions & { index: number }>
6
- }
@@ -1,3 +0,0 @@
1
- import { InvoicesPaymentConditions } from '../invoices.payment-conditions.type'
2
-
3
- export type InvoicesPaymentConditionsGetSingleResponse = InvoicesPaymentConditions
@@ -1,7 +0,0 @@
1
- import { InvoicesPaymentConditionsUpdateSingleRequest } from '../UpdateSingle/Request'
2
-
3
- export type InvoicesPaymentConditionsUpdateManyRequest = Array<
4
- InvoicesPaymentConditionsUpdateSingleRequest & {
5
- id: string
6
- }
7
- >
@@ -1,3 +0,0 @@
1
- import { ManyResponse } from '../../../interfaces'
2
-
3
- export type InvoicesPaymentConditionsUpdateManyResponse = ManyResponse
@@ -1,4 +0,0 @@
1
- export type InvoicesPaymentConditionsUpdateManyStatusesRequest = {
2
- ids: Array<string>
3
- active: boolean
4
- }
@@ -1,3 +0,0 @@
1
- import { ManyResponse } from '../../../interfaces'
2
-
3
- export type InvoicesPaymentConditionsUpdateManyStatusesResponse = ManyResponse
@@ -1,4 +0,0 @@
1
- import { InvoicesPaymentConditionsCreateSingleRequest } from '../CreateSingle/Request'
2
-
3
- export type InvoicesPaymentConditionsUpdateSingleRequest =
4
- Partial<InvoicesPaymentConditionsCreateSingleRequest>
@@ -1,3 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces'
2
-
3
- export type InvoicesPaymentConditionsUpdateSingleResponse = SingleResponse
@@ -1,3 +0,0 @@
1
- export type InvoicesPaymentConditionsUpdateSingleStatusRequest = {
2
- active: boolean
3
- }
@@ -1,3 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces'
2
-
3
- export type InvoicesPaymentConditionsUpdateSingleStatusResponse = SingleResponse