@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.
Files changed (482) 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/Settings/ElectronincSv/invoices.settings.electronic-sv.type.d.ts +1 -0
  7. package/lib/invoices/StatusesTypes/GetSingle/Response.d.ts +1 -1
  8. package/lib/management/Company/management.company.type.d.ts +1 -1
  9. package/lib/partners/V1/invoices/CreateSingle/Request.d.ts +1 -0
  10. package/lib/partners/V1/invoices/CreateSingle/Request.js.map +1 -1
  11. package/lib/system/PersonTypeNaturals/GetSingle/Response.js.map +1 -1
  12. package/lib/system/PersonTypeNaturals/system.person-types-naturals.types.js.map +1 -1
  13. package/package.json +1 -1
  14. package/.eslintignore +0 -8
  15. package/.eslintrc.json +0 -30
  16. package/.husky/commit-msg +0 -4
  17. package/.husky/pre-commit +0 -4
  18. package/.prettierignore +0 -6
  19. package/.prettierrc +0 -8
  20. package/.vscode/settings.json +0 -16
  21. package/commitlint.config.js +0 -8
  22. package/scripts/commit-msg.script.ts +0 -31
  23. package/src/System/Cities/GetMany/Request.ts +0 -5
  24. package/src/System/Cities/GetMany/Response.ts +0 -5
  25. package/src/System/Cities/GetSingle/Response.ts +0 -3
  26. package/src/System/Cities/index.ts +0 -3
  27. package/src/System/Cities/system.cities.types.ts +0 -12
  28. package/src/System/Countries/GetMany/Response.ts +0 -5
  29. package/src/System/Countries/GetSingle/Response.ts +0 -3
  30. package/src/System/Countries/index.ts +0 -2
  31. package/src/System/Countries/system.countries.types.ts +0 -9
  32. package/src/System/Directory/CreateSingle/Request.ts +0 -3
  33. package/src/System/Directory/CreateSingle/Response.ts +0 -3
  34. package/src/System/Directory/DeleteSingle/Response.ts +0 -3
  35. package/src/System/Directory/GetMany/Request.ts +0 -6
  36. package/src/System/Directory/GetMany/Response.ts +0 -6
  37. package/src/System/Directory/UpdateSingle/Request.ts +0 -3
  38. package/src/System/Directory/UpdateSingle/Response.ts +0 -3
  39. package/src/System/Directory/index.ts +0 -7
  40. package/src/System/Directory/system.directory.types.ts +0 -38
  41. package/src/System/Genders/system.genders.types.ts +0 -7
  42. package/src/System/Logs/CreateSingle/Request.ts +0 -12
  43. package/src/System/Logs/CreateSingle/Response.ts +0 -3
  44. package/src/System/Logs/index.ts +0 -3
  45. package/src/System/Logs/system.logs.types.ts +0 -17
  46. package/src/System/PersonTypeNaturals/GetMany/Response.ts +0 -5
  47. package/src/System/PersonTypeNaturals/GetSingle/Response.ts +0 -3
  48. package/src/System/PersonTypeNaturals/index.ts +0 -3
  49. package/src/System/PersonTypeNaturals/system.person-types-naturals.types.ts +0 -7
  50. package/src/System/PersonTypes/GetMany/Response.ts +0 -5
  51. package/src/System/PersonTypes/GetSingle/Response.ts +0 -3
  52. package/src/System/PersonTypes/index.ts +0 -3
  53. package/src/System/PersonTypes/system.person-types.types.ts +0 -7
  54. package/src/System/SV/EconomicActivities/GetMany/Response.ts +0 -5
  55. package/src/System/SV/EconomicActivities/GetSingle/Response.ts +0 -3
  56. package/src/System/SV/EconomicActivities/index.ts +0 -3
  57. package/src/System/SV/EconomicActivities/system.sv.economic-activities.types.ts +0 -5
  58. package/src/System/SV/Fields/index.ts +0 -1
  59. package/src/System/SV/Fields/system.sv.fields.types.ts +0 -18
  60. package/src/System/SV/index.ts +0 -2
  61. package/src/System/SellingTypes/GetMany/Response.ts +0 -3
  62. package/src/System/SellingTypes/GetSingle/Response.ts +0 -3
  63. package/src/System/SellingTypes/index.ts +0 -1
  64. package/src/System/SellingTypes/system.selling-types.types.ts +0 -10
  65. package/src/System/States/GetMany/Request.ts +0 -5
  66. package/src/System/States/GetMany/Response.ts +0 -5
  67. package/src/System/States/GetSingle/Response.ts +0 -3
  68. package/src/System/States/index.ts +0 -3
  69. package/src/System/States/system.states.types.ts +0 -12
  70. package/src/System/TaxerTypes/GetMany/Response.ts +0 -5
  71. package/src/System/TaxerTypes/GetSingle/Response.ts +0 -3
  72. package/src/System/TaxerTypes/index.ts +0 -3
  73. package/src/System/TaxerTypes/system.taxer-types.types.ts +0 -7
  74. package/src/System/index.ts +0 -11
  75. package/src/System/system.enums.ts +0 -83
  76. package/src/accounting/Catalogs/CreateMany/Request.ts +0 -5
  77. package/src/accounting/Catalogs/CreateMany/Response.ts +0 -3
  78. package/src/accounting/Catalogs/CreateSingle/Request.ts +0 -8
  79. package/src/accounting/Catalogs/CreateSingle/Response.ts +0 -3
  80. package/src/accounting/Catalogs/DeleteSingle/Response.ts +0 -3
  81. package/src/accounting/Catalogs/GetMany/Request.ts +0 -5
  82. package/src/accounting/Catalogs/GetMany/Response.ts +0 -6
  83. package/src/accounting/Catalogs/GetSingle/Response.ts +0 -5
  84. package/src/accounting/Catalogs/SwitchSingleAccountType/Request.ts +0 -3
  85. package/src/accounting/Catalogs/SwitchSingleAccountType/Response.ts +0 -3
  86. package/src/accounting/Catalogs/SwitchSingleBalanceType/Request.ts +0 -3
  87. package/src/accounting/Catalogs/SwitchSingleBalanceType/Response.ts +0 -3
  88. package/src/accounting/Catalogs/UpdateSingle/Request.ts +0 -3
  89. package/src/accounting/Catalogs/UpdateSingle/Response.ts +0 -3
  90. package/src/accounting/Catalogs/accounting.catalogs.types.ts +0 -10
  91. package/src/accounting/Catalogs/index.ts +0 -15
  92. package/src/accounting/Entries/CreateSingle/Request.ts +0 -11
  93. package/src/accounting/Entries/CreateSingle/Response.ts +0 -3
  94. package/src/accounting/Entries/DeleteSingle/Response.ts +0 -3
  95. package/src/accounting/Entries/GetMany/Request.ts +0 -8
  96. package/src/accounting/Entries/GetMany/Response.ts +0 -6
  97. package/src/accounting/Entries/GetNextSequence/Request.ts +0 -4
  98. package/src/accounting/Entries/GetNextSequence/Response.ts +0 -3
  99. package/src/accounting/Entries/GetSingle/Response.ts +0 -3
  100. package/src/accounting/Entries/UpdateSingle/Request.ts +0 -10
  101. package/src/accounting/Entries/UpdateSingle/Response.ts +0 -3
  102. package/src/accounting/Entries/accounting.entries.types.ts +0 -17
  103. package/src/accounting/Entries/index.ts +0 -11
  104. package/src/accounting/EntriesDetails/CreateSingle/Request.ts +0 -8
  105. package/src/accounting/EntriesDetails/GetMany/Request.ts +0 -6
  106. package/src/accounting/EntriesDetails/GetMany/Response.ts +0 -6
  107. package/src/accounting/EntriesDetails/GetSingle/Response.ts +0 -3
  108. package/src/accounting/EntriesDetails/UpdateSingle/Request.ts +0 -8
  109. package/src/accounting/EntriesDetails/accounting.entries-details.types.ts +0 -10
  110. package/src/accounting/EntriesDetails/index.ts +0 -6
  111. package/src/accounting/EntriesStatuses/GetMany/Response.ts +0 -5
  112. package/src/accounting/EntriesStatuses/GetSingle/Response.ts +0 -3
  113. package/src/accounting/EntriesStatuses/accounting.entries-statuses.types.ts +0 -4
  114. package/src/accounting/EntriesStatuses/index.ts +0 -3
  115. package/src/accounting/EntriesTypes/GetMany/Response.ts +0 -5
  116. package/src/accounting/EntriesTypes/GetSingle/Response.ts +0 -3
  117. package/src/accounting/EntriesTypes/accounting.entries-types.types.ts +0 -5
  118. package/src/accounting/EntriesTypes/index.ts +0 -3
  119. package/src/accounting/Reports/AccountMovements/Request.ts +0 -6
  120. package/src/accounting/Reports/AccountMovements/Response.ts +0 -3
  121. package/src/accounting/Reports/AccountMovementsPreview/Request.ts +0 -6
  122. package/src/accounting/Reports/AccountMovementsPreview/Response.ts +0 -3
  123. package/src/accounting/Reports/AccountsCatalog/Request.ts +0 -3
  124. package/src/accounting/Reports/AccountsCatalog/Response.ts +0 -3
  125. package/src/accounting/Reports/AccountsCatalogPreview/Request.ts +0 -6
  126. package/src/accounting/Reports/AccountsCatalogPreview/Response.ts +0 -3
  127. package/src/accounting/Reports/CheckingBalance/Request.ts +0 -4
  128. package/src/accounting/Reports/CheckingBalance/Response.ts +0 -3
  129. package/src/accounting/Reports/CheckingBalancePreview/Request.ts +0 -6
  130. package/src/accounting/Reports/CheckingBalancePreview/Response.ts +0 -3
  131. package/src/accounting/Reports/GeneralLedger/Request.ts +0 -4
  132. package/src/accounting/Reports/GeneralLedger/Response.ts +0 -3
  133. package/src/accounting/Reports/GeneralLedgerPreview/Request.ts +0 -6
  134. package/src/accounting/Reports/GeneralLedgerPreview/Response.ts +0 -3
  135. package/src/accounting/Reports/SubsidiaryLedger/Request.ts +0 -4
  136. package/src/accounting/Reports/SubsidiaryLedger/Response.ts +0 -3
  137. package/src/accounting/Reports/SubsidiaryLedgerPreview/Request.ts +0 -6
  138. package/src/accounting/Reports/SubsidiaryLedgerPreview/Response.ts +0 -3
  139. package/src/accounting/Reports/index.ts +0 -20
  140. package/src/accounting/Settings/GetGenerals/Response.ts +0 -6
  141. package/src/accounting/Settings/GetIncomeStatements/Response.ts +0 -6
  142. package/src/accounting/Settings/UpdateGenerals/Request.ts +0 -3
  143. package/src/accounting/Settings/UpdateGenerals/Response.ts +0 -3
  144. package/src/accounting/Settings/UpdateIncomeStatements/Request.ts +0 -4
  145. package/src/accounting/Settings/UpdateIncomeStatements/Response.ts +0 -3
  146. package/src/accounting/Settings/accounting.settings.types.ts +0 -34
  147. package/src/accounting/Settings/index.ts +0 -8
  148. package/src/accounting/accounting.enums.ts +0 -16
  149. package/src/accounting/index.ts +0 -8
  150. package/src/auth/Auth/GetSingleUser/Response.ts +0 -80
  151. package/src/auth/Auth/ProcessLogin/Request.ts +0 -5
  152. package/src/auth/Auth/ProcessLogin/Response.ts +0 -8
  153. package/src/auth/Auth/ProcessRefresh/Request.ts +0 -3
  154. package/src/auth/Auth/ProcessRefresh/Response.ts +0 -5
  155. package/src/auth/Auth/RecoveryPassword/Request.ts +0 -3
  156. package/src/auth/Auth/RecoveryPassword/Response.ts +0 -3
  157. package/src/auth/Auth/ResetPassword/Request.ts +0 -4
  158. package/src/auth/Auth/ResetPassword/Response.ts +0 -3
  159. package/src/auth/Auth/UpdatePassword/Request.ts +0 -4
  160. package/src/auth/Auth/UpdatePassword/Response.ts +0 -3
  161. package/src/auth/Auth/UpdateWorkspace/Request.ts +0 -5
  162. package/src/auth/Auth/UpdateWorkspace/Response.ts +0 -5
  163. package/src/auth/Auth/index.ts +0 -13
  164. package/src/auth/index.ts +0 -1
  165. package/src/customers/Branches/CreateMany/Request.ts +0 -3
  166. package/src/customers/Branches/CreateMany/Response.ts +0 -3
  167. package/src/customers/Branches/CreateSingle/Request.ts +0 -3
  168. package/src/customers/Branches/CreateSingle/Response.ts +0 -3
  169. package/src/customers/Branches/DeleteMany/Request.ts +0 -3
  170. package/src/customers/Branches/DeleteMany/Response.ts +0 -3
  171. package/src/customers/Branches/DeleteSingle/Response.ts +0 -3
  172. package/src/customers/Branches/GetMany/Request.ts +0 -5
  173. package/src/customers/Branches/GetMany/Response.ts +0 -6
  174. package/src/customers/Branches/GetSingle/Response.ts +0 -3
  175. package/src/customers/Branches/UpdateMany/Request.ts +0 -7
  176. package/src/customers/Branches/UpdateMany/Response.ts +0 -3
  177. package/src/customers/Branches/UpdateSingle/Request.ts +0 -10
  178. package/src/customers/Branches/UpdateSingle/Response.ts +0 -3
  179. package/src/customers/Branches/UpdateSingleDefault/Request.ts +0 -3
  180. package/src/customers/Branches/UpdateSingleDefault/Response.ts +0 -3
  181. package/src/customers/Branches/customers.branches.types.ts +0 -32
  182. package/src/customers/Branches/index.ts +0 -16
  183. package/src/customers/Customers/CreateMany/Request.ts +0 -3
  184. package/src/customers/Customers/CreateMany/Response.ts +0 -3
  185. package/src/customers/Customers/CreateSingle/Request.ts +0 -3
  186. package/src/customers/Customers/CreateSingle/Response.ts +0 -3
  187. package/src/customers/Customers/DeleteMany/Request.ts +0 -3
  188. package/src/customers/Customers/DeleteMany/Response.ts +0 -3
  189. package/src/customers/Customers/DeleteSingle/Response.ts +0 -3
  190. package/src/customers/Customers/GetMany/Request.ts +0 -5
  191. package/src/customers/Customers/GetMany/Response.ts +0 -6
  192. package/src/customers/Customers/GetSingle/Response.ts +0 -6
  193. package/src/customers/Customers/UpdateMany/Request.ts +0 -7
  194. package/src/customers/Customers/UpdateMany/Response.ts +0 -3
  195. package/src/customers/Customers/UpdateManyStatuses/Request.ts +0 -4
  196. package/src/customers/Customers/UpdateManyStatuses/Response.ts +0 -3
  197. package/src/customers/Customers/UpdateSingle/Request.ts +0 -16
  198. package/src/customers/Customers/UpdateSingle/Response.ts +0 -3
  199. package/src/customers/Customers/UpdateSingleStatus/Request.ts +0 -3
  200. package/src/customers/Customers/UpdateSingleStatus/Response.ts +0 -3
  201. package/src/customers/Customers/ValidateExistence/Request.ts +0 -7
  202. package/src/customers/Customers/ValidateExistence/Response.ts +0 -10
  203. package/src/customers/Customers/customers.types.ts +0 -47
  204. package/src/customers/Customers/index.ts +0 -16
  205. package/src/customers/Type/GetMany/Response.ts +0 -5
  206. package/src/customers/Type/GetSingle/Response.ts +0 -3
  207. package/src/customers/Type/customers.type.types.ts +0 -6
  208. package/src/customers/Type/index.ts +0 -2
  209. package/src/customers/index.ts +0 -3
  210. package/src/index.ts +0 -10
  211. package/src/interfaces.ts +0 -23
  212. package/src/inventories/Batches/CreateSingle/Request.ts +0 -3
  213. package/src/inventories/Batches/CreateSingle/Response.ts +0 -3
  214. package/src/inventories/Batches/GetSingle/Response.ts +0 -3
  215. package/src/inventories/Batches/UpdateSingle/Request.ts +0 -3
  216. package/src/inventories/Batches/UpdateSingle/Response.ts +0 -3
  217. package/src/inventories/Batches/index.ts +0 -6
  218. package/src/inventories/Batches/inventories.batches.types.ts +0 -9
  219. package/src/inventories/Categories/CreateSingle/Request.ts +0 -8
  220. package/src/inventories/Categories/CreateSingle/Response.ts +0 -3
  221. package/src/inventories/Categories/DeleteSingle/Response.ts +0 -3
  222. package/src/inventories/Categories/GetMany/Request.ts +0 -5
  223. package/src/inventories/Categories/GetMany/Response.ts +0 -6
  224. package/src/inventories/Categories/GetSingle/Response.ts +0 -3
  225. package/src/inventories/Categories/UpdateSingle/Request.ts +0 -4
  226. package/src/inventories/Categories/UpdateSingle/Response.ts +0 -3
  227. package/src/inventories/Categories/UpdateSingleStatus/Request.ts +0 -3
  228. package/src/inventories/Categories/UpdateSingleStatus/Response.ts +0 -3
  229. package/src/inventories/Categories/index.ts +0 -11
  230. package/src/inventories/Categories/inventories.categories.type.ts +0 -10
  231. package/src/inventories/Products/CreateSingle/Request.ts +0 -3
  232. package/src/inventories/Products/CreateSingle/Response.ts +0 -3
  233. package/src/inventories/Products/GetSingle/Response.ts +0 -3
  234. package/src/inventories/Products/UpdateSingle/Request.ts +0 -3
  235. package/src/inventories/Products/UpdateSingle/Response.ts +0 -3
  236. package/src/inventories/Products/index.ts +0 -6
  237. package/src/inventories/Products/inventories.products.types.ts +0 -29
  238. package/src/inventories/Units/GetSingle/Response.ts +0 -3
  239. package/src/inventories/Units/index.ts +0 -3
  240. package/src/inventories/Units/inventories.units.enum.ts +0 -42
  241. package/src/inventories/Units/inventories.units.types.ts +0 -8
  242. package/src/inventories/index.ts +0 -4
  243. package/src/invoices/Calculation/CalculateSingle/Request.ts +0 -27
  244. package/src/invoices/Calculation/CalculateSingle/Response.ts +0 -101
  245. package/src/invoices/Calculation/index.ts +0 -2
  246. package/src/invoices/Details/index.ts +0 -1
  247. package/src/invoices/Details/invoices.details.type.ts +0 -26
  248. package/src/invoices/DocumentTypes/GetMany/Request.ts +0 -6
  249. package/src/invoices/DocumentTypes/GetMany/Response.ts +0 -5
  250. package/src/invoices/DocumentTypes/GetSingle/Response.ts +0 -3
  251. package/src/invoices/DocumentTypes/index.ts +0 -4
  252. package/src/invoices/DocumentTypes/invoices.document-types.type.ts +0 -5
  253. package/src/invoices/Documents/CreateMany/Request.ts +0 -3
  254. package/src/invoices/Documents/CreateMany/Response.ts +0 -3
  255. package/src/invoices/Documents/CreateSingle/Request.ts +0 -8
  256. package/src/invoices/Documents/CreateSingle/Response.ts +0 -3
  257. package/src/invoices/Documents/GetMany/Request.ts +0 -6
  258. package/src/invoices/Documents/GetMany/Response.ts +0 -6
  259. package/src/invoices/Documents/GetSingle/Response.ts +0 -3
  260. package/src/invoices/Documents/Layout/index.ts +0 -65
  261. package/src/invoices/Documents/UpdateLayout/Request.ts +0 -3
  262. package/src/invoices/Documents/UpdateLayout/Response.ts +0 -3
  263. package/src/invoices/Documents/UpdateMany/Request.ts +0 -7
  264. package/src/invoices/Documents/UpdateMany/Response.ts +0 -3
  265. package/src/invoices/Documents/UpdateManyStatuses/Request.ts +0 -4
  266. package/src/invoices/Documents/UpdateManyStatuses/Response.ts +0 -3
  267. package/src/invoices/Documents/UpdateSingle/Request.ts +0 -3
  268. package/src/invoices/Documents/UpdateSingle/Response.ts +0 -3
  269. package/src/invoices/Documents/UpdateSingleStatus/Request.ts +0 -3
  270. package/src/invoices/Documents/UpdateSingleStatus/Response.ts +0 -3
  271. package/src/invoices/Documents/index.ts +0 -19
  272. package/src/invoices/Documents/invoices.documents.type.ts +0 -15
  273. package/src/invoices/Electronic/SVData/index.ts +0 -22
  274. package/src/invoices/Electronic/index.ts +0 -1
  275. package/src/invoices/Invoices/CreateMany/Request.ts +0 -3
  276. package/src/invoices/Invoices/CreateMany/Response.ts +0 -3
  277. package/src/invoices/Invoices/CreateReservation/Request.ts +0 -9
  278. package/src/invoices/Invoices/CreateReservation/Response.ts +0 -3
  279. package/src/invoices/Invoices/CreateSingle/Request.ts +0 -85
  280. package/src/invoices/Invoices/CreateSingle/Response.ts +0 -3
  281. package/src/invoices/Invoices/DeleteMany/Response.ts +0 -3
  282. package/src/invoices/Invoices/DeleteSingle/Response.ts +0 -3
  283. package/src/invoices/Invoices/GetDocumentTypes/Response.ts +0 -3
  284. package/src/invoices/Invoices/GetMany/Request.ts +0 -13
  285. package/src/invoices/Invoices/GetMany/Response.ts +0 -6
  286. package/src/invoices/Invoices/GetSingle/Response.ts +0 -3
  287. package/src/invoices/Invoices/MarkSingleAsPaid/Response.ts +0 -3
  288. package/src/invoices/Invoices/MarkSingleAsPrinted/Response.ts +0 -3
  289. package/src/invoices/Invoices/RevertSingle/Response.ts +0 -3
  290. package/src/invoices/Invoices/UpdateMany/Request.ts +0 -3
  291. package/src/invoices/Invoices/UpdateMany/Response.ts +0 -3
  292. package/src/invoices/Invoices/UpdateSingle/Request.ts +0 -22
  293. package/src/invoices/Invoices/UpdateSingle/Response.ts +0 -3
  294. package/src/invoices/Invoices/VoidSingle/Response.ts +0 -3
  295. package/src/invoices/Invoices/index.ts +0 -21
  296. package/src/invoices/Invoices/invoices.types.ts +0 -64
  297. package/src/invoices/PaymentConditions/CreateMany/Request.ts +0 -4
  298. package/src/invoices/PaymentConditions/CreateMany/Response.ts +0 -3
  299. package/src/invoices/PaymentConditions/CreateSingle/Request.ts +0 -6
  300. package/src/invoices/PaymentConditions/CreateSingle/Response.ts +0 -3
  301. package/src/invoices/PaymentConditions/DeleteMany/Request.ts +0 -3
  302. package/src/invoices/PaymentConditions/DeleteMany/Response.ts +0 -3
  303. package/src/invoices/PaymentConditions/DeleteSingle/Response.ts +0 -3
  304. package/src/invoices/PaymentConditions/GetMany/Request.ts +0 -5
  305. package/src/invoices/PaymentConditions/GetMany/Response.ts +0 -6
  306. package/src/invoices/PaymentConditions/GetSingle/Response.ts +0 -3
  307. package/src/invoices/PaymentConditions/UpdateMany/Request.ts +0 -7
  308. package/src/invoices/PaymentConditions/UpdateMany/Response.ts +0 -3
  309. package/src/invoices/PaymentConditions/UpdateManyStatuses/Request.ts +0 -4
  310. package/src/invoices/PaymentConditions/UpdateManyStatuses/Response.ts +0 -3
  311. package/src/invoices/PaymentConditions/UpdateSingle/Request.ts +0 -4
  312. package/src/invoices/PaymentConditions/UpdateSingle/Response.ts +0 -3
  313. package/src/invoices/PaymentConditions/UpdateSingleStatus/Request.ts +0 -3
  314. package/src/invoices/PaymentConditions/UpdateSingleStatus/Response.ts +0 -3
  315. package/src/invoices/PaymentConditions/index.ts +0 -19
  316. package/src/invoices/PaymentConditions/invoices.payment-conditions.type.ts +0 -6
  317. package/src/invoices/Reports/SalesDetails/Request.ts +0 -12
  318. package/src/invoices/Reports/SalesDetails/Response.ts +0 -3
  319. package/src/invoices/Reports/SalesDetailsPreview/Request.ts +0 -6
  320. package/src/invoices/Reports/SalesDetailsPreview/Response.ts +0 -3
  321. package/src/invoices/Reports/SalesList/Request.ts +0 -7
  322. package/src/invoices/Reports/SalesList/Response.ts +0 -3
  323. package/src/invoices/Reports/SalesListPreview/Request.ts +0 -3
  324. package/src/invoices/Reports/SalesListPreview/Response.ts +0 -3
  325. package/src/invoices/Reports/index.ts +0 -8
  326. package/src/invoices/Sellers/CreateMany/Request.ts +0 -3
  327. package/src/invoices/Sellers/CreateMany/Response.ts +0 -3
  328. package/src/invoices/Sellers/CreateSingle/Request.ts +0 -3
  329. package/src/invoices/Sellers/CreateSingle/Response.ts +0 -3
  330. package/src/invoices/Sellers/DeleteMany/Request.ts +0 -3
  331. package/src/invoices/Sellers/DeleteMany/Response.ts +0 -3
  332. package/src/invoices/Sellers/DeleteSingle/Response.ts +0 -3
  333. package/src/invoices/Sellers/GetMany/Request.ts +0 -5
  334. package/src/invoices/Sellers/GetMany/Response.ts +0 -6
  335. package/src/invoices/Sellers/GetSingle/Response.ts +0 -3
  336. package/src/invoices/Sellers/UpdateMany/Request.ts +0 -7
  337. package/src/invoices/Sellers/UpdateMany/Response.ts +0 -3
  338. package/src/invoices/Sellers/UpdateManyStatuses/Request.ts +0 -4
  339. package/src/invoices/Sellers/UpdateManyStatuses/Response.ts +0 -3
  340. package/src/invoices/Sellers/UpdateSingle/Request.ts +0 -3
  341. package/src/invoices/Sellers/UpdateSingle/Response.ts +0 -3
  342. package/src/invoices/Sellers/UpdateSingleStatus/Request.ts +0 -3
  343. package/src/invoices/Sellers/UpdateSingleStatus/Response.ts +0 -3
  344. package/src/invoices/Sellers/index.ts +0 -19
  345. package/src/invoices/Sellers/invoices.sellers.type.ts +0 -20
  346. package/src/invoices/Settings/ElectronincSv/Get/Response.ts +0 -3
  347. package/src/invoices/Settings/ElectronincSv/Set/Request.ts +0 -6
  348. package/src/invoices/Settings/ElectronincSv/Set/Response.ts +0 -3
  349. package/src/invoices/Settings/ElectronincSv/index.ts +0 -4
  350. package/src/invoices/Settings/ElectronincSv/invoices.settings.electronic-sv.type.ts +0 -12
  351. package/src/invoices/Settings/GetGenerals/Response.ts +0 -3
  352. package/src/invoices/Settings/UpdateGenerals/Request.ts +0 -3
  353. package/src/invoices/Settings/UpdateGenerals/Response.ts +0 -3
  354. package/src/invoices/Settings/index.ts +0 -5
  355. package/src/invoices/Settings/invoices.settings.type.ts +0 -9
  356. package/src/invoices/StatusesTypes/GetMany/Response.ts +0 -5
  357. package/src/invoices/StatusesTypes/GetSingle/Response.ts +0 -3
  358. package/src/invoices/StatusesTypes/index.ts +0 -4
  359. package/src/invoices/StatusesTypes/invoices.statuses-types.type.ts +0 -4
  360. package/src/invoices/Zones/CreateMany/Request.ts +0 -3
  361. package/src/invoices/Zones/CreateMany/Response.ts +0 -3
  362. package/src/invoices/Zones/CreateSingle/Request.ts +0 -3
  363. package/src/invoices/Zones/CreateSingle/Response.ts +0 -3
  364. package/src/invoices/Zones/DeleteMany/Request.ts +0 -3
  365. package/src/invoices/Zones/DeleteMany/Response.ts +0 -3
  366. package/src/invoices/Zones/DeleteSingle/Response.ts +0 -3
  367. package/src/invoices/Zones/GetMany/Request.ts +0 -5
  368. package/src/invoices/Zones/GetMany/Response.ts +0 -6
  369. package/src/invoices/Zones/GetSingle/Response.ts +0 -3
  370. package/src/invoices/Zones/UpdateMany/Request.ts +0 -7
  371. package/src/invoices/Zones/UpdateMany/Response.ts +0 -3
  372. package/src/invoices/Zones/UpdateManyStatuses/Request.ts +0 -4
  373. package/src/invoices/Zones/UpdateManyStatuses/Response.ts +0 -3
  374. package/src/invoices/Zones/UpdateSingle/Request.ts +0 -3
  375. package/src/invoices/Zones/UpdateSingle/Response.ts +0 -3
  376. package/src/invoices/Zones/UpdateSingleStatus/Request.ts +0 -3
  377. package/src/invoices/Zones/UpdateSingleStatus/Response.ts +0 -3
  378. package/src/invoices/Zones/index.ts +0 -19
  379. package/src/invoices/Zones/invoices.zones.type.ts +0 -5
  380. package/src/invoices/index.ts +0 -13
  381. package/src/invoices/invoices.enums.ts +0 -23
  382. package/src/legal/Advisories/index.ts +0 -1
  383. package/src/legal/Advisories/legal.advisories.type.ts +0 -11
  384. package/src/legal/Appointees/CreateSingle/Request.ts +0 -3
  385. package/src/legal/Appointees/CreateSingle/Response.ts +0 -3
  386. package/src/legal/Appointees/DeleteSingle/Response.ts +0 -3
  387. package/src/legal/Appointees/GetMany/Request.ts +0 -5
  388. package/src/legal/Appointees/GetMany/Response.ts +0 -6
  389. package/src/legal/Appointees/GetSingle/Response.ts +0 -3
  390. package/src/legal/Appointees/UpdateSingle/Request.ts +0 -3
  391. package/src/legal/Appointees/UpdateSingle/Response.ts +0 -3
  392. package/src/legal/Appointees/UpdateSingleStatus/Request.ts +0 -3
  393. package/src/legal/Appointees/UpdateSingleStatus/Response.ts +0 -3
  394. package/src/legal/Appointees/index.ts +0 -11
  395. package/src/legal/Appointees/legal.appointees.type.ts +0 -5
  396. package/src/legal/Lawyers/CreateSingle/Request.ts +0 -3
  397. package/src/legal/Lawyers/CreateSingle/Response.ts +0 -3
  398. package/src/legal/Lawyers/DeleteSingle/Response.ts +0 -3
  399. package/src/legal/Lawyers/GetMany/Request.ts +0 -5
  400. package/src/legal/Lawyers/GetMany/Response.ts +0 -6
  401. package/src/legal/Lawyers/GetSingle/Response.ts +0 -3
  402. package/src/legal/Lawyers/UpdateSingle/Request.ts +0 -3
  403. package/src/legal/Lawyers/UpdateSingle/Response.ts +0 -3
  404. package/src/legal/Lawyers/UpdateSingleStatus/Request.ts +0 -3
  405. package/src/legal/Lawyers/UpdateSingleStatus/Response.ts +0 -3
  406. package/src/legal/Lawyers/index.ts +0 -11
  407. package/src/legal/Lawyers/legal.lawyers.type.ts +0 -19
  408. package/src/legal/PeopleCapacities/CreateSingle/Request.ts +0 -3
  409. package/src/legal/PeopleCapacities/CreateSingle/Response.ts +0 -3
  410. package/src/legal/PeopleCapacities/DeleteSingle/Response.ts +0 -3
  411. package/src/legal/PeopleCapacities/GetMany/Request.ts +0 -5
  412. package/src/legal/PeopleCapacities/GetMany/Response.ts +0 -6
  413. package/src/legal/PeopleCapacities/GetSingle/Response.ts +0 -3
  414. package/src/legal/PeopleCapacities/UpdateSingle/Request.ts +0 -4
  415. package/src/legal/PeopleCapacities/UpdateSingle/Response.ts +0 -3
  416. package/src/legal/PeopleCapacities/UpdateSingleStatus/Request.ts +0 -3
  417. package/src/legal/PeopleCapacities/UpdateSingleStatus/Response.ts +0 -3
  418. package/src/legal/PeopleCapacities/index.ts +0 -11
  419. package/src/legal/PeopleCapacities/legal.people-capacities.type.ts +0 -5
  420. package/src/legal/index.ts +0 -3
  421. package/src/legal/legal.enum.ts +0 -5
  422. package/src/management/Branch/index.ts +0 -1
  423. package/src/management/Branch/management.branch.type.ts +0 -7
  424. package/src/management/Company/GetCurrent/index.ts +0 -3
  425. package/src/management/Company/UpdateCurrent/Request.ts +0 -17
  426. package/src/management/Company/UpdateCurrent/Response.ts +0 -3
  427. package/src/management/Company/index.ts +0 -4
  428. package/src/management/Company/management.company.type.ts +0 -14
  429. package/src/management/Profiles/GetMany/Request.ts +0 -3
  430. package/src/management/Profiles/GetMany/Response.ts +0 -6
  431. package/src/management/Profiles/index.ts +0 -3
  432. package/src/management/Profiles/management.profiles.type.ts +0 -11
  433. package/src/management/Users/GetMany/Request.ts +0 -5
  434. package/src/management/Users/GetMany/Response.ts +0 -6
  435. package/src/management/Users/index.ts +0 -3
  436. package/src/management/Users/management.users.type.ts +0 -22
  437. package/src/management/index.ts +0 -4
  438. package/src/partners/V1/auth/ProcessLogin/Request.ts +0 -4
  439. package/src/partners/V1/auth/ProcessLogin/Response.ts +0 -7
  440. package/src/partners/V1/auth/index.ts +0 -2
  441. package/src/partners/V1/index.ts +0 -2
  442. package/src/partners/V1/invoices/CreateSingle/Request.ts +0 -177
  443. package/src/partners/V1/invoices/CreateSingle/Response.ts +0 -24
  444. package/src/partners/V1/invoices/index.ts +0 -2
  445. package/src/partners/index.ts +0 -1
  446. package/src/services/Reports/List/Request.ts +0 -7
  447. package/src/services/Reports/List/Response.ts +0 -3
  448. package/src/services/Reports/ListPreview/Request.ts +0 -3
  449. package/src/services/Reports/ListPreview/Response.ts +0 -3
  450. package/src/services/Reports/index.ts +0 -4
  451. package/src/services/SellingTypes/GetMany/Response.ts +0 -5
  452. package/src/services/SellingTypes/GetSingle/Response.ts +0 -3
  453. package/src/services/SellingTypes/index.ts +0 -2
  454. package/src/services/SellingTypes/services.selling-types.types.ts +0 -9
  455. package/src/services/Services/CreateMany/Request.ts +0 -3
  456. package/src/services/Services/CreateMany/Response.ts +0 -3
  457. package/src/services/Services/CreateSingle/Request.ts +0 -3
  458. package/src/services/Services/CreateSingle/Response.ts +0 -3
  459. package/src/services/Services/DeleteMany/Request.ts +0 -3
  460. package/src/services/Services/DeleteMany/Response.ts +0 -3
  461. package/src/services/Services/DeleteSingle/Response.ts +0 -3
  462. package/src/services/Services/GetMany/Request.ts +0 -8
  463. package/src/services/Services/GetMany/Response.ts +0 -6
  464. package/src/services/Services/GetSingle/Response.ts +0 -3
  465. package/src/services/Services/UpdateMany/Request.ts +0 -3
  466. package/src/services/Services/UpdateMany/Response.ts +0 -3
  467. package/src/services/Services/UpdateManyStatuses/Request.ts +0 -4
  468. package/src/services/Services/UpdateManyStatuses/Response.ts +0 -3
  469. package/src/services/Services/UpdateSingle/Request.ts +0 -3
  470. package/src/services/Services/UpdateSingle/Response.ts +0 -3
  471. package/src/services/Services/UpdateSingleStatus/Request.ts +0 -3
  472. package/src/services/Services/UpdateSingleStatus/Response.ts +0 -3
  473. package/src/services/Services/index.ts +0 -14
  474. package/src/services/Services/services.types.ts +0 -19
  475. package/src/services/Settings/GetIntegrations/Response.ts +0 -1
  476. package/src/services/Settings/UpdateIntegrations/Request.ts +0 -1
  477. package/src/services/Settings/UpdateIntegrations/Response.ts +0 -1
  478. package/src/services/Settings/index.ts +0 -3
  479. package/src/services/index.ts +0 -4
  480. package/src/tools.ts +0 -34
  481. package/tsconfig.json +0 -16
  482. package/tsconfig.tsbuildinfo +0 -1
@@ -1,5 +0,0 @@
1
- import { GetManyRequest } from '../../../interfaces'
2
-
3
- export type LegalLawyersGetManyRequest = GetManyRequest & {
4
- active?: boolean
5
- }
@@ -1,6 +0,0 @@
1
- import { GetManyResponse } from '../../../interfaces'
2
- import { LegalLawyers } from '../legal.lawyers.type'
3
-
4
- export type LegalLawyersGetManyResponse = GetManyResponse & {
5
- data: Array<LegalLawyers & { index: number }>
6
- }
@@ -1,3 +0,0 @@
1
- import { LegalLawyers } from '../legal.lawyers.type'
2
-
3
- export type LegalLawyersGetSingleResponse = LegalLawyers
@@ -1,3 +0,0 @@
1
- import { LegalLawyersCreateSingleRequest } from '../CreateSingle/Request'
2
-
3
- export type LegalLawyersUpdateSingleRequest = Partial<LegalLawyersCreateSingleRequest>
@@ -1,3 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces'
2
-
3
- export type LegalLawyersUpdateSingleResponse = SingleResponse
@@ -1,3 +0,0 @@
1
- export type LegalLawyersUpdateSingleStatusRequest = {
2
- active: boolean
3
- }
@@ -1,3 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces'
2
-
3
- export type LegalLawyersUpdateSingleStatusResponse = SingleResponse
@@ -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 './legal.lawyers.type'
@@ -1,19 +0,0 @@
1
- import { ManagementUsers } from '../../management'
2
- import { SystemDirectoryResponse } from '../../system/Directory/system.directory.types'
3
-
4
- export type LegalLawyers = {
5
- id: string
6
- active: boolean
7
- user: Pick<ManagementUsers, 'id' | 'names' | 'lastnames'>
8
- contacts: SystemDirectoryResponse[]
9
- // legalAdvisories: LegalAdvisories[]
10
- // legalCaseMeetingNotes: LegalCaseMeetingNotesEntity[]
11
- // legalCases: LegalCasesEntity[]
12
- }
13
-
14
- export type LegalLawyersRequest = Omit<
15
- LegalLawyers,
16
- 'id' | 'contacts' | 'legalAdvisories' | 'active' | 'user'
17
- > & {
18
- user: string
19
- }
@@ -1,3 +0,0 @@
1
- import { LegalPeopleCapacities } from '../legal.people-capacities.type'
2
-
3
- export type LegalPeopleCapacitiesCreateSingleRequest = Pick<LegalPeopleCapacities, 'name'>
@@ -1,3 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces'
2
-
3
- export type LegalPeopleCapacitiesCreateSingleResponse = SingleResponse
@@ -1,3 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces'
2
-
3
- export type LegalPeopleCapacitiesDeleteSingleResponse = SingleResponse
@@ -1,5 +0,0 @@
1
- import { GetManyRequest } from '../../../interfaces'
2
-
3
- export type LegalPeopleCapacitiesGetManyRequest = GetManyRequest & {
4
- active?: boolean
5
- }
@@ -1,6 +0,0 @@
1
- import { GetManyResponse } from '../../../interfaces'
2
- import { LegalPeopleCapacities } from '../legal.people-capacities.type'
3
-
4
- export type LegalPeopleCapacitiesGetManyResponse = GetManyResponse & {
5
- data: Array<LegalPeopleCapacities & { index: number }>
6
- }
@@ -1,3 +0,0 @@
1
- import { LegalPeopleCapacities } from '../legal.people-capacities.type'
2
-
3
- export type LegalPeopleCapacitiesGetSingleResponse = LegalPeopleCapacities
@@ -1,4 +0,0 @@
1
- import { LegalPeopleCapacitiesCreateSingleRequest } from '../CreateSingle/Request'
2
-
3
- export type LegalPeopleCapacitiesUpdateSingleRequest =
4
- Partial<LegalPeopleCapacitiesCreateSingleRequest>
@@ -1,3 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces'
2
-
3
- export type LegalPeopleCapacitiesUpdateSingleResponse = SingleResponse
@@ -1,3 +0,0 @@
1
- export type LegalPeopleCapacitiesUpdateSingleStatusRequest = {
2
- active: boolean
3
- }
@@ -1,3 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces'
2
-
3
- export type LegalPeopleCapacitiesUpdateSingleStatusResponse = SingleResponse
@@ -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 './legal.people-capacities.type'
@@ -1,5 +0,0 @@
1
- export type LegalPeopleCapacities = {
2
- id: string
3
- name: string
4
- active: boolean
5
- }
@@ -1,3 +0,0 @@
1
- export * from './Appointees'
2
- export * from './Lawyers'
3
- export * from './PeopleCapacities'
@@ -1,5 +0,0 @@
1
- export enum LegalAdvisoriesStatusEnum {
2
- DELIVERED = 'delivered',
3
- CONVERTED = 'converted',
4
- CLOSED = 'closed',
5
- }
@@ -1 +0,0 @@
1
- export * from './management.branch.type'
@@ -1,7 +0,0 @@
1
- import { SystemDirectoryResponse } from '../../system/Directory/system.directory.types'
2
-
3
- export type ManagementBranch = {
4
- id: string
5
- name: string
6
- contacts: Array<SystemDirectoryResponse>
7
- }
@@ -1,3 +0,0 @@
1
- import { ManagementCompany } from '../management.company.type'
2
-
3
- export type ManagementCompanyGetCurrent = ManagementCompany
@@ -1,17 +0,0 @@
1
- import { SystemDirectoryUpdateSingleRequest, SystemSvFieldsRequest } from '../../../system'
2
- import { ManagementCompany } from '../management.company.type'
3
-
4
- export type ManagementCompanyUpdateCurrentRequest = Omit<
5
- ManagementCompany,
6
- 'id' | 'contacts' | 'branch' | 'companyType' | 'naturalType' | 'svFields'
7
- > & {
8
- companyType: number
9
- naturalType?: number
10
- svFields: Required<Omit<SystemSvFieldsRequest, 'dui'>> & {
11
- dui?: string
12
- }
13
- contacts: Omit<SystemDirectoryUpdateSingleRequest, 'entityType' | 'entityId'> &
14
- {
15
- id?: string
16
- }[]
17
- }
@@ -1,3 +0,0 @@
1
- export type ManagementCompanyUpdateCurrentResponse = {
2
- message: string
3
- }
@@ -1,4 +0,0 @@
1
- export * from './GetCurrent'
2
- export * from './UpdateCurrent/Request'
3
- export * from './UpdateCurrent/Response'
4
- export * from './management.company.type'
@@ -1,14 +0,0 @@
1
- import { SystemPersonTypeNaturals } from '../../System/PersonTypeNaturals/system.person-types-naturals.types'
2
- import { SystemSvFields } from '../../system'
3
- import { SystemPersonTypes } from '../../system/PersonTypes/system.person-types.types'
4
- import { ManagementBranch } from '../Branch/management.branch.type'
5
-
6
- export type ManagementCompany = {
7
- id: string
8
- name: string
9
- shortName: string
10
- companyType: SystemPersonTypes
11
- naturalType: SystemPersonTypeNaturals
12
- svFields: SystemSvFields
13
- branch: ManagementBranch
14
- }
@@ -1,3 +0,0 @@
1
- import { GetManyRequest } from '../../../interfaces'
2
-
3
- export type ManagementProfilesGetManyRequest = GetManyRequest
@@ -1,6 +0,0 @@
1
- import { GetManyResponse } from '../../../interfaces'
2
- import { ManagementProfiles } from '../management.profiles.type'
3
-
4
- export type ManagementProfilesGetManyResponse = GetManyResponse & {
5
- data: Array<ManagementProfiles & { index: number }>
6
- }
@@ -1,3 +0,0 @@
1
- export * from './GetMany/Request'
2
- export * from './GetMany/Response'
3
- export * from './management.profiles.type'
@@ -1,11 +0,0 @@
1
- export type ManagementProfiles = {
2
- id: string
3
- name: string
4
- description: string
5
- admin: boolean
6
- // accesses: AuthAccessesEntity[]
7
- // branches: CompaniesBranchesEntity[]
8
- // company: CompaniesEntity[]
9
- // users: AuthUsersEntity[]
10
- // tokens: SystemTokensEntity[]
11
- }
@@ -1,5 +0,0 @@
1
- import { GetManyRequest } from '../../../interfaces'
2
-
3
- export type ManagementUsersGetManyRequest = GetManyRequest & {
4
- active?: boolean
5
- }
@@ -1,6 +0,0 @@
1
- import { GetManyResponse } from '../../../interfaces'
2
- import { ManagementUsers } from '../management.users.type'
3
-
4
- export type ManagementUsersGetManyResponse = GetManyResponse & {
5
- data: Array<ManagementUsers & { index: number }>
6
- }
@@ -1,3 +0,0 @@
1
- export * from './GetMany/Request'
2
- export * from './GetMany/Response'
3
- export * from './management.users.type'
@@ -1,22 +0,0 @@
1
- import { SystemGendersResponse } from '../../system/Genders/system.genders.types'
2
- import { ManagementProfiles } from '../Profiles'
3
-
4
- export type ManagementUsers = {
5
- id: string
6
- unique: string
7
- email: string
8
- names: string
9
- lastnames: string
10
- dob: string
11
- changePassword: boolean
12
- isActive: boolean
13
- gender: SystemGendersResponse
14
- profile: Pick<ManagementProfiles, 'id' | 'name'>
15
- // city: SystemCities
16
- // country: SystemCountries
17
- // state: SystemStates
18
- // request: EchargesRequests
19
- // logs: SystemLogsEntity[]
20
- // assignees: LegalLawyersEntity[]
21
- // tokens: SystemTokensEntity[]
22
- }
@@ -1,4 +0,0 @@
1
- export * from './Branch'
2
- export * from './Company'
3
- export * from './Profiles'
4
- export * from './Users'
@@ -1,4 +0,0 @@
1
- export type PartnersV1AuthProcessLoginRequest = {
2
- key: string
3
- secret: string
4
- }
@@ -1,7 +0,0 @@
1
- export type PartnersV1AuthProcessLoginResponseData = {
2
- access_token: string
3
- }
4
-
5
- export type PartnersV1AuthProcessLoginResponse = {
6
- data: PartnersV1AuthProcessLoginResponseData
7
- }
@@ -1,2 +0,0 @@
1
- export * from './ProcessLogin/Request'
2
- export * from './ProcessLogin/Response'
@@ -1,2 +0,0 @@
1
- export * from './auth'
2
- export * from './invoices'
@@ -1,177 +0,0 @@
1
- import { InventoriesUnitsSVCode } from '../../../../inventories'
2
-
3
- export enum PartnersV1InvoicesCreateSingleRequestSettingsNotify {
4
- EMAIL = 'EMAIL',
5
- }
6
-
7
- export type PartnersV1InvoicesCreateSingleRequestSettings = {
8
- notify: PartnersV1InvoicesCreateSingleRequestSettingsNotify | null
9
- }
10
-
11
- export type PartnersV1InvoicesCreateSingleRequestDataHeaderInvoicesSellerZone = {
12
- id: string
13
- name: string
14
- }
15
-
16
- export type PartnersV1InvoicesCreateSingleRequestDataHeaderInvoicesSeller = {
17
- id: string
18
- name: string
19
- zone: PartnersV1InvoicesCreateSingleRequestDataHeaderInvoicesSellerZone
20
- }
21
-
22
- export enum PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerType {
23
- NO_SUJETO = 1,
24
- EXENTO = 2,
25
- GRAVADO = 3,
26
- }
27
-
28
- export enum PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerPersonType {
29
- PERSONA_JURIDICA = 1,
30
- PERSONA_NATURAL = 2,
31
- PERSONA_EXTRANJERA = 3,
32
- }
33
- export enum PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerPersonTypeNatural {
34
- NO_DECLARA_IVA = 1,
35
- DECLARA_IVA = 2,
36
- }
37
-
38
- export enum PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerSvFieldsTaxerType {
39
- PEQUENO = 1,
40
- MEDIANO = 2,
41
- GRANDE = 3,
42
- }
43
-
44
- export type PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerSvFields = {
45
- nrc: string | null
46
- nit: string | null
47
- dui: string | null
48
- taxerType: PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerSvFieldsTaxerType | null
49
- economicActivity: string | null
50
- }
51
-
52
- export enum PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerDirectoryType {
53
- PHONE = 'phone',
54
- EMAIL = 'email',
55
- CELLPHONE = 'cellphone',
56
- }
57
-
58
- export type PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerDirectory = {
59
- type: PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerDirectoryType
60
- value: string
61
- }
62
-
63
- export type PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerBranch = {
64
- address1: string
65
- address2: string | null
66
- country: number | string
67
- state: number | string
68
- city: number | string
69
- directory: Array<PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerDirectory> | null
70
- }
71
-
72
- export type PartnersV1InvoicesCreateSingleRequestDataHeaderCustomer = {
73
- id: string
74
- name: string | null
75
- name1: string | null
76
- name2: string | null
77
- name3: string | null
78
- lastname1: string | null
79
- lastname2: string | null
80
- lastname3: string | null
81
- shortName: string | null
82
- type: PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerType
83
- personType: PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerPersonType
84
- personTypeNatural: PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerPersonTypeNatural | null
85
- branch: PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerBranch
86
- directory: Array<PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerDirectory> | null
87
- svFields: PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerSvFields | null
88
- }
89
-
90
- export type PartnersV1InvoicesCreateSingleRequestDataHeaderPaymentCondition = {
91
- id: string
92
- name: string
93
- cashPayment: boolean
94
- }
95
-
96
- export enum PartnersV1InvoicesCreateSingleRequestDataHeaderDocumentType {
97
- CCF = 'CCF',
98
- FCF = 'FCF',
99
- NC = 'NC',
100
- FEX = 'FEX',
101
- }
102
-
103
- export type PartnersV1InvoicesCreateSingleRequestDataHeader = {
104
- documentType: PartnersV1InvoicesCreateSingleRequestDataHeaderDocumentType
105
- invoiceDate: Date
106
- customer: PartnersV1InvoicesCreateSingleRequestDataHeaderCustomer
107
- paymentCondition: PartnersV1InvoicesCreateSingleRequestDataHeaderPaymentCondition
108
- invoicesSeller: PartnersV1InvoicesCreateSingleRequestDataHeaderInvoicesSeller
109
- creditFor: string
110
- }
111
-
112
- export enum PartnersV1InvoicesCreateSingleRequestDataDetailsSellingType {
113
- NO_SUJETO = 1,
114
- EXENTO = 2,
115
- GRAVADO = 3,
116
- }
117
-
118
- export type PartnersV1InvoicesCreateSingleRequestDataDetailsService = {
119
- id: string
120
- name: string
121
- }
122
-
123
- export type PartnersV1InvoicesCreateSingleRequestDataDetailsProductBatch = {
124
- batchNumber: string
125
- expirationDate: Date
126
- }
127
-
128
- export type PartnersV1InvoicesCreateSingleRequestDataDetailsProduct = {
129
- id: string
130
- name: string
131
- unit: InventoriesUnitsSVCode
132
- batch?: PartnersV1InvoicesCreateSingleRequestDataDetailsProductBatch
133
- }
134
-
135
- export type PartnersV1InvoicesCreateSingleRequestDataDetails = {
136
- service: PartnersV1InvoicesCreateSingleRequestDataDetailsService | null
137
- product: PartnersV1InvoicesCreateSingleRequestDataDetailsProduct | null
138
- quantity: number
139
- chargeDescription: string
140
- incIva: boolean
141
- price: number
142
- unitPrice: number
143
- ivaPrice: number
144
- ventaPrice: number
145
- totalNoSuj: number
146
- totalExenta: number
147
- totalGravada: number
148
- totalIvaPrice: number
149
- sellingType: PartnersV1InvoicesCreateSingleRequestDataDetailsSellingType
150
- }
151
-
152
- export type PartnersV1InvoicesCreateSingleRequestDataTotals = {
153
- totalNoSuj: number
154
- totalExenta: number
155
- totalGravada: number
156
- subTotalVentas: number
157
- descuNoSuj: number
158
- descuExenta: number
159
- descuGravada: number
160
- subTotal: number
161
- ivaRete1: number
162
- reteRenta: number
163
- montoTotalOperacion: number
164
- totalIva: number
165
- totalPagar: number
166
- }
167
-
168
- export type PartnersV1InvoicesCreateSingleRequestData = {
169
- header: PartnersV1InvoicesCreateSingleRequestDataHeader
170
- details: Array<PartnersV1InvoicesCreateSingleRequestDataDetails>
171
- totals: PartnersV1InvoicesCreateSingleRequestDataTotals
172
- }
173
-
174
- export type PartnersV1InvoicesCreateSingleRequest = {
175
- settings: PartnersV1InvoicesCreateSingleRequestSettings
176
- data: PartnersV1InvoicesCreateSingleRequestData
177
- }
@@ -1,24 +0,0 @@
1
- export enum PartnersV1InvoicesCreateSingleResponseStatus {
2
- EMITIDA = 'EMITIDA',
3
- PRESENTADA = 'PRESENTADA',
4
- ANULADA = 'ANULADA',
5
- CONTINGENCIA = 'CONTINGENCIA',
6
- }
7
-
8
- export type PartnersV1InvoicesCreateSingleResponseHaciendaResponse = {
9
- estado: string
10
- ambiente: '01' | '00'
11
- observaciones: Array<string>
12
- selloRecibido: string
13
- descripcionMsg: string
14
- fhProcesamiento: string
15
- codigoGeneracion: string
16
- }
17
-
18
- export type PartnersV1InvoicesCreateSingleResponse = {
19
- id: string
20
- pdfURL: string
21
- jsonURL: string
22
- status: PartnersV1InvoicesCreateSingleResponseStatus
23
- haciendaResponse: PartnersV1InvoicesCreateSingleResponseHaciendaResponse
24
- }
@@ -1,2 +0,0 @@
1
- export * from './CreateSingle/Request'
2
- export * from './CreateSingle/Response'
@@ -1 +0,0 @@
1
- export * from './V1'
@@ -1,7 +0,0 @@
1
- export type ServicesReportsListRequest = {
2
- type: 'pdf' | 'xlsx'
3
- types?: Array<number>
4
- fromAmount?: number
5
- toAmount?: number
6
- active?: boolean
7
- }
@@ -1,3 +0,0 @@
1
- export type ServicesReportsListResponse = {
2
- url: string
3
- }
@@ -1,3 +0,0 @@
1
- import { ServicesReportsListRequest } from '../List/Request'
2
-
3
- export type ServicesReportsListPreviewRequest = Omit<ServicesReportsListRequest, 'type'>
@@ -1,3 +0,0 @@
1
- export type ServicesReportsListPreviewResponse = {
2
- url: string
3
- }
@@ -1,4 +0,0 @@
1
- export * from './List/Request'
2
- export * from './List/Response'
3
- export * from './ListPreview/Request'
4
- export * from './ListPreview/Response'
@@ -1,5 +0,0 @@
1
- import { ServicesSellingTypesGetSingleResponse } from '../GetSingle/Response'
2
-
3
- export type ServicesSellingTypesGetManyResponse = {
4
- data: Array<ServicesSellingTypesGetSingleResponse>
5
- }
@@ -1,3 +0,0 @@
1
- import { ServicesSellingTypesResponse } from '../services.selling-types.types'
2
-
3
- export type ServicesSellingTypesGetSingleResponse = ServicesSellingTypesResponse
@@ -1,2 +0,0 @@
1
- export * from './GetMany/Response'
2
- export * from './GetSingle/Response'
@@ -1,9 +0,0 @@
1
- import { SystemSellingTypes } from '../../system/SellingTypes/system.selling-types.types'
2
-
3
- export type ServicesSellingTypes = Omit<
4
- SystemSellingTypes,
5
- 'includeInServices' | 'includeInCustomers'
6
- >
7
-
8
- export type ServicesSellingTypesRequest = Omit<ServicesSellingTypes, 'id'>
9
- export type ServicesSellingTypesResponse = Omit<ServicesSellingTypes, 'isGravada'>
@@ -1,3 +0,0 @@
1
- import { ServicesCreateSingleRequest } from '../CreateSingle/Request'
2
-
3
- export type ServicesCreateManyRequest = Array<ServicesCreateSingleRequest>
@@ -1,3 +0,0 @@
1
- import { ManyResponse } from '../../../interfaces'
2
-
3
- export type ServicesCreateManyResponse = ManyResponse
@@ -1,3 +0,0 @@
1
- import { ServicesRequest } from '../services.types'
2
-
3
- export type ServicesCreateSingleRequest = ServicesRequest
@@ -1,3 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces'
2
-
3
- export type ServicesCreateSingleResponse = SingleResponse
@@ -1,3 +0,0 @@
1
- export type ServicesDeleteManyRequest = {
2
- ids: Array<string>
3
- }
@@ -1,3 +0,0 @@
1
- import { ManyResponse } from '../../../interfaces'
2
-
3
- export type ServicesDeleteManyResponse = ManyResponse
@@ -1,3 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces'
2
-
3
- export type ServicesDeleteSingleResponse = SingleResponse