@openbox/shared-types 0.1.97 → 0.1.99

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 (576) hide show
  1. package/.vscode/settings.json +5 -1
  2. package/lib/auth/Auth/RefreshToken/Request.d.ts +3 -0
  3. package/lib/auth/Auth/RefreshToken/Request.js.map +1 -0
  4. package/lib/auth/Auth/RefreshToken/Response.d.ts +4 -0
  5. package/lib/auth/Auth/RefreshToken/Response.js.map +1 -0
  6. package/lib/customers/Branches/CreateMany/Response.d.ts +1 -1
  7. package/lib/customers/Branches/CreateSingle/Request.d.ts +2 -13
  8. package/lib/customers/Branches/GetMany/Request.d.ts +3 -7
  9. package/lib/customers/Branches/GetMany/Response.d.ts +5 -21
  10. package/lib/customers/Branches/GetSingle/Response.d.ts +2 -16
  11. package/lib/customers/Branches/UpdateSingle/Request.d.ts +2 -6
  12. package/lib/customers/Branches/UpdateSingleDefault/Request.d.ts +2 -2
  13. package/lib/customers/Branches/interfaces.d.ts +8 -2
  14. package/lib/customers/Customers/CreateMany/Request.d.ts +4 -0
  15. package/lib/customers/Customers/CreateMany/Request.js.map +1 -0
  16. package/lib/customers/Customers/CreateMany/Response.d.ts +4 -0
  17. package/lib/customers/Customers/CreateMany/Response.js.map +1 -0
  18. package/lib/customers/Customers/CreateSingle/Request.d.ts +2 -16
  19. package/lib/customers/Customers/DeleteMany/Response.d.ts +1 -0
  20. package/lib/customers/Customers/GetMany/Request.d.ts +3 -8
  21. package/lib/customers/Customers/GetMany/Response.d.ts +5 -26
  22. package/lib/customers/Customers/GetSingle/Response.d.ts +2 -27
  23. package/lib/customers/Customers/UpdateMany/Request.d.ts +4 -0
  24. package/lib/customers/Customers/UpdateMany/Request.js.map +1 -0
  25. package/lib/customers/Customers/UpdateMany/Response.d.ts +4 -0
  26. package/lib/customers/Customers/UpdateMany/Response.js.map +1 -0
  27. package/lib/customers/Customers/UpdateManyStatuses/Request.d.ts +1 -1
  28. package/lib/customers/Customers/UpdateManyStatuses/Response.d.ts +1 -0
  29. package/lib/customers/Customers/UpdateSingle/Request.d.ts +2 -20
  30. package/lib/customers/Customers/UpdateSingleStatus/Request.d.ts +3 -0
  31. package/lib/customers/Customers/UpdateSingleStatus/Request.js.map +1 -0
  32. package/lib/customers/Customers/interfaces.d.ts +41 -0
  33. package/lib/customers/Customers/interfaces.js +3 -0
  34. package/lib/customers/Customers/interfaces.js.map +1 -0
  35. package/lib/interfaces.d.ts +20 -0
  36. package/lib/interfaces.js +3 -0
  37. package/lib/interfaces.js.map +1 -0
  38. package/lib/invoices/Documents/GetMany/Request.d.ts +3 -7
  39. package/lib/invoices/Documents/GetMany/Response.d.ts +5 -23
  40. package/lib/invoices/Documents/GetSingle/Response.d.ts +2 -0
  41. package/lib/invoices/Documents/GetSingleLayout/Response.d.ts +28 -1
  42. package/lib/invoices/Documents/UpdateManyStatuses/Request.d.ts +4 -0
  43. package/lib/invoices/Documents/UpdateManyStatuses/Request.js.map +1 -0
  44. package/lib/invoices/Documents/UpdateManyStatuses/Response.d.ts +2 -0
  45. package/lib/invoices/Documents/UpdateManyStatuses/Response.js.map +1 -0
  46. package/lib/invoices/Documents/UpdateSingleStatus/Request.d.ts +2 -2
  47. package/lib/invoices/Documents/UpdateSingleStatus/Response.d.ts +2 -2
  48. package/lib/invoices/Documents/UpsertMany/Request.d.ts +4 -0
  49. package/lib/invoices/Documents/UpsertMany/Request.js.map +1 -0
  50. package/lib/invoices/Documents/UpsertMany/Response.d.ts +2 -0
  51. package/lib/invoices/Documents/UpsertMany/Response.js.map +1 -0
  52. package/lib/invoices/Documents/UpsertSingle/Request.d.ts +2 -0
  53. package/lib/invoices/Documents/UpsertSingle/Request.js.map +1 -0
  54. package/lib/invoices/Documents/UpsertSingle/Response.d.ts +2 -0
  55. package/lib/invoices/Documents/UpsertSingle/Response.js.map +1 -0
  56. package/lib/invoices/Documents/UpsertSingleLayout/Request.d.ts +10 -1
  57. package/lib/invoices/Documents/UpsertSingleLayout/Response.d.ts +2 -2
  58. package/lib/invoices/Documents/documents.interfaces.d.ts +14 -0
  59. package/lib/invoices/Documents/documents.interfaces.js +3 -0
  60. package/lib/invoices/Documents/documents.interfaces.js.map +1 -0
  61. package/lib/invoices/Documents/index.d.ts +6 -4
  62. package/lib/invoices/Documents/index.js +6 -4
  63. package/lib/invoices/Documents/index.js.map +1 -1
  64. package/lib/invoices/Invoices/CreateMany/Request.d.ts +2 -0
  65. package/lib/invoices/Invoices/CreateMany/Request.js.map +1 -0
  66. package/lib/invoices/Invoices/CreateMany/Response.d.ts +2 -0
  67. package/lib/invoices/Invoices/CreateMany/Response.js.map +1 -0
  68. package/lib/invoices/Invoices/CreateReserved/Request.d.ts +5 -0
  69. package/lib/invoices/Invoices/CreateReserved/Request.js.map +1 -0
  70. package/lib/invoices/Invoices/CreateReserved/Response.d.ts +2 -0
  71. package/lib/invoices/Invoices/CreateReserved/Response.js.map +1 -0
  72. package/lib/invoices/Invoices/CreateSingle/Request.d.ts +44 -2
  73. package/lib/invoices/Invoices/CreateSingle/Response.d.ts +2 -2
  74. package/lib/invoices/Invoices/DeleteMany/Response.d.ts +2 -0
  75. package/lib/invoices/Invoices/DeleteMany/Response.js.map +1 -0
  76. package/lib/invoices/Invoices/DeleteSingle/Response.d.ts +2 -2
  77. package/lib/invoices/Invoices/GetDocumentTypes/Response.d.ts +2 -0
  78. package/lib/invoices/Invoices/GetDocumentTypes/Response.js.map +1 -0
  79. package/lib/invoices/Invoices/GetMany/Request.d.ts +11 -2
  80. package/lib/invoices/Invoices/GetMany/Response.d.ts +9 -2
  81. package/lib/invoices/Invoices/GetSingle/Response.d.ts +2 -2
  82. package/lib/invoices/Invoices/UpdateMany/Request.d.ts +2 -0
  83. package/lib/invoices/Invoices/UpdateMany/Request.js.map +1 -0
  84. package/lib/invoices/Invoices/UpdateMany/Response.d.ts +2 -0
  85. package/lib/invoices/Invoices/UpdateMany/Response.js.map +1 -0
  86. package/lib/invoices/Invoices/UpdateSingle/Request.d.ts +2 -2
  87. package/lib/invoices/Invoices/UpdateSingle/Response.d.ts +2 -2
  88. package/lib/invoices/Invoices/index.d.ts +8 -8
  89. package/lib/invoices/Invoices/index.js +8 -8
  90. package/lib/invoices/Invoices/index.js.map +1 -1
  91. package/lib/invoices/Invoices/invoices.interfaces.d.ts +57 -0
  92. package/lib/invoices/Invoices/invoices.interfaces.js +3 -0
  93. package/lib/invoices/Invoices/invoices.interfaces.js.map +1 -0
  94. package/lib/invoices/PaymentConditions/CreateMany/Request.d.ts +4 -0
  95. package/lib/invoices/PaymentConditions/CreateMany/Request.js.map +1 -0
  96. package/lib/invoices/PaymentConditions/CreateMany/Response.d.ts +2 -0
  97. package/lib/invoices/PaymentConditions/CreateMany/Response.js.map +1 -0
  98. package/lib/invoices/PaymentConditions/CreateSingle/Request.d.ts +2 -0
  99. package/lib/invoices/PaymentConditions/CreateSingle/Request.js.map +1 -0
  100. package/lib/invoices/PaymentConditions/CreateSingle/Response.d.ts +2 -0
  101. package/lib/invoices/PaymentConditions/CreateSingle/Response.js.map +1 -0
  102. package/lib/invoices/PaymentConditions/DeleteMany/Response.d.ts +2 -0
  103. package/lib/invoices/PaymentConditions/DeleteMany/Response.js.map +1 -0
  104. package/lib/invoices/PaymentConditions/DeleteSingle/Response.d.ts +2 -0
  105. package/lib/invoices/PaymentConditions/DeleteSingle/Response.js.map +1 -0
  106. package/lib/invoices/PaymentConditions/GetMany/Request.d.ts +4 -0
  107. package/lib/invoices/PaymentConditions/GetMany/Request.js.map +1 -0
  108. package/lib/invoices/PaymentConditions/GetMany/Response.d.ts +5 -0
  109. package/lib/invoices/PaymentConditions/GetMany/Response.js.map +1 -0
  110. package/lib/invoices/PaymentConditions/GetSingle/Response.d.ts +4 -0
  111. package/lib/invoices/PaymentConditions/GetSingle/Response.js.map +1 -0
  112. package/lib/invoices/PaymentConditions/UpdateMany/Request.d.ts +4 -0
  113. package/lib/invoices/PaymentConditions/UpdateMany/Request.js.map +1 -0
  114. package/lib/invoices/PaymentConditions/UpdateMany/Response.d.ts +2 -0
  115. package/lib/invoices/PaymentConditions/UpdateMany/Response.js +3 -0
  116. package/lib/invoices/PaymentConditions/UpdateMany/Response.js.map +1 -0
  117. package/lib/invoices/PaymentConditions/UpdateManyStatuses/Request.d.ts +4 -0
  118. package/lib/invoices/PaymentConditions/UpdateManyStatuses/Request.js +3 -0
  119. package/lib/invoices/PaymentConditions/UpdateManyStatuses/Request.js.map +1 -0
  120. package/lib/invoices/PaymentConditions/UpdateManyStatuses/Response.d.ts +2 -0
  121. package/lib/invoices/PaymentConditions/UpdateManyStatuses/Response.js +3 -0
  122. package/lib/invoices/PaymentConditions/UpdateManyStatuses/Response.js.map +1 -0
  123. package/lib/invoices/PaymentConditions/UpdateSingle/Request.d.ts +2 -0
  124. package/lib/invoices/PaymentConditions/UpdateSingle/Request.js +3 -0
  125. package/lib/invoices/PaymentConditions/UpdateSingle/Request.js.map +1 -0
  126. package/lib/invoices/PaymentConditions/UpdateSingle/Response.d.ts +2 -0
  127. package/lib/invoices/PaymentConditions/UpdateSingle/Response.js +3 -0
  128. package/lib/invoices/PaymentConditions/UpdateSingle/Response.js.map +1 -0
  129. package/{src/invoices/PaymentsConditions/UpdateSingleStatus/Request.ts → lib/invoices/PaymentConditions/UpdateSingleStatus/Request.d.ts} +3 -1
  130. package/lib/invoices/PaymentConditions/UpdateSingleStatus/Request.js +3 -0
  131. package/lib/invoices/PaymentConditions/UpdateSingleStatus/Request.js.map +1 -0
  132. package/{src/invoices/PaymentsConditions/UpdateSingleStatus/Response.ts → lib/invoices/PaymentConditions/UpdateSingleStatus/Response.d.ts} +4 -1
  133. package/lib/invoices/PaymentConditions/UpdateSingleStatus/Response.js +3 -0
  134. package/lib/invoices/PaymentConditions/UpdateSingleStatus/Response.js.map +1 -0
  135. package/lib/invoices/{PaymentsConditions → PaymentConditions}/index.d.ts +8 -0
  136. package/lib/invoices/{PaymentsConditions → PaymentConditions}/index.js +8 -0
  137. package/lib/invoices/PaymentConditions/index.js.map +1 -0
  138. package/lib/invoices/PaymentConditions/payment-conditions.interface.d.ts +8 -0
  139. package/lib/invoices/PaymentConditions/payment-conditions.interface.js +3 -0
  140. package/lib/invoices/PaymentConditions/payment-conditions.interface.js.map +1 -0
  141. package/lib/invoices/Sellers/CreateMany/Request.d.ts +4 -0
  142. package/lib/invoices/Sellers/CreateMany/Request.js +3 -0
  143. package/lib/invoices/Sellers/CreateMany/Request.js.map +1 -0
  144. package/lib/invoices/Sellers/CreateMany/Response.d.ts +2 -0
  145. package/lib/invoices/Sellers/CreateMany/Response.js +3 -0
  146. package/lib/invoices/Sellers/CreateMany/Response.js.map +1 -0
  147. package/lib/invoices/Sellers/CreateSingle/Request.d.ts +2 -0
  148. package/lib/invoices/Sellers/CreateSingle/Request.js +3 -0
  149. package/lib/invoices/Sellers/CreateSingle/Request.js.map +1 -0
  150. package/lib/invoices/Sellers/CreateSingle/Response.d.ts +2 -0
  151. package/lib/invoices/Sellers/CreateSingle/Response.js +3 -0
  152. package/lib/invoices/Sellers/CreateSingle/Response.js.map +1 -0
  153. package/lib/invoices/Sellers/DeleteMany/Response.d.ts +2 -0
  154. package/lib/invoices/Sellers/DeleteMany/Response.js +3 -0
  155. package/lib/invoices/Sellers/DeleteMany/Response.js.map +1 -0
  156. package/lib/invoices/Sellers/DeleteSingle/Response.d.ts +2 -0
  157. package/lib/invoices/Sellers/DeleteSingle/Response.js +3 -0
  158. package/lib/invoices/Sellers/DeleteSingle/Response.js.map +1 -0
  159. package/lib/invoices/Sellers/GetMany/Request.d.ts +4 -0
  160. package/lib/invoices/Sellers/GetMany/Request.js +3 -0
  161. package/lib/invoices/Sellers/GetMany/Request.js.map +1 -0
  162. package/lib/invoices/Sellers/GetMany/Response.d.ts +4 -0
  163. package/lib/invoices/Sellers/GetMany/Response.js +3 -0
  164. package/lib/invoices/Sellers/GetMany/Response.js.map +1 -0
  165. package/lib/invoices/Sellers/GetSingle/Response.d.ts +4 -0
  166. package/lib/invoices/Sellers/GetSingle/Response.js +3 -0
  167. package/lib/invoices/Sellers/GetSingle/Response.js.map +1 -0
  168. package/lib/invoices/Sellers/UpdateMany/Request.d.ts +4 -0
  169. package/lib/invoices/Sellers/UpdateMany/Request.js +3 -0
  170. package/lib/invoices/Sellers/UpdateMany/Request.js.map +1 -0
  171. package/lib/invoices/Sellers/UpdateMany/Response.d.ts +2 -0
  172. package/lib/invoices/Sellers/UpdateMany/Response.js +3 -0
  173. package/lib/invoices/Sellers/UpdateMany/Response.js.map +1 -0
  174. package/lib/invoices/Sellers/UpdateManyStatuses/Request.d.ts +4 -0
  175. package/lib/invoices/Sellers/UpdateManyStatuses/Request.js +3 -0
  176. package/lib/invoices/Sellers/UpdateManyStatuses/Request.js.map +1 -0
  177. package/lib/invoices/Sellers/UpdateManyStatuses/Response.d.ts +2 -0
  178. package/lib/invoices/Sellers/UpdateManyStatuses/Response.js +3 -0
  179. package/lib/invoices/Sellers/UpdateManyStatuses/Response.js.map +1 -0
  180. package/lib/invoices/Sellers/UpdateSingle/Request.d.ts +2 -0
  181. package/lib/invoices/Sellers/UpdateSingle/Request.js +3 -0
  182. package/lib/invoices/Sellers/UpdateSingle/Request.js.map +1 -0
  183. package/lib/invoices/Sellers/UpdateSingle/Response.d.ts +2 -0
  184. package/lib/invoices/Sellers/UpdateSingle/Response.js +3 -0
  185. package/lib/invoices/Sellers/UpdateSingle/Response.js.map +1 -0
  186. package/lib/invoices/Sellers/UpdateSingleStatus/Request.d.ts +2 -0
  187. package/lib/invoices/Sellers/UpdateSingleStatus/Request.js +3 -0
  188. package/lib/invoices/Sellers/UpdateSingleStatus/Request.js.map +1 -0
  189. package/lib/invoices/Sellers/UpdateSingleStatus/Response.d.ts +2 -0
  190. package/lib/invoices/Sellers/UpdateSingleStatus/Response.js +3 -0
  191. package/lib/invoices/Sellers/UpdateSingleStatus/Response.js.map +1 -0
  192. package/lib/invoices/{Seller → Sellers}/index.d.ts +8 -0
  193. package/lib/invoices/{Seller → Sellers}/index.js +8 -0
  194. package/lib/invoices/Sellers/index.js.map +1 -0
  195. package/lib/invoices/Sellers/sellers.interface.d.ts +8 -0
  196. package/lib/invoices/Sellers/sellers.interface.js +3 -0
  197. package/lib/invoices/Sellers/sellers.interface.js.map +1 -0
  198. package/lib/invoices/Statuses/GetMany/Response.d.ts +5 -2
  199. package/lib/invoices/Statuses/UpdateSingle/Request.d.ts +2 -0
  200. package/lib/invoices/Statuses/UpdateSingle/Response.d.ts +2 -2
  201. package/lib/invoices/Statuses/statuses.interfaces.d.ts +4 -0
  202. package/lib/invoices/Statuses/statuses.interfaces.js +3 -0
  203. package/lib/invoices/Statuses/statuses.interfaces.js.map +1 -0
  204. package/lib/invoices/Zones/CreateMany/Request.d.ts +4 -0
  205. package/lib/invoices/Zones/CreateMany/Request.js +3 -0
  206. package/lib/invoices/Zones/CreateMany/Request.js.map +1 -0
  207. package/lib/invoices/Zones/CreateMany/Response.d.ts +2 -0
  208. package/lib/invoices/Zones/CreateMany/Response.js +3 -0
  209. package/lib/invoices/Zones/CreateMany/Response.js.map +1 -0
  210. package/lib/invoices/Zones/CreateSingle/Request.d.ts +2 -3
  211. package/lib/invoices/Zones/CreateSingle/Response.d.ts +2 -4
  212. package/lib/invoices/Zones/DeleteMany/Response.d.ts +2 -0
  213. package/lib/invoices/Zones/DeleteMany/Response.js +3 -0
  214. package/lib/invoices/Zones/DeleteMany/Response.js.map +1 -0
  215. package/lib/invoices/Zones/DeleteSingle/Response.d.ts +2 -4
  216. package/lib/invoices/Zones/GetMany/Request.d.ts +4 -8
  217. package/lib/invoices/Zones/GetMany/Response.d.ts +5 -8
  218. package/lib/invoices/Zones/GetSingle/Response.d.ts +4 -0
  219. package/lib/invoices/Zones/GetSingle/Response.js +3 -0
  220. package/lib/invoices/Zones/GetSingle/Response.js.map +1 -0
  221. package/lib/invoices/Zones/UpdateMany/Request.d.ts +4 -0
  222. package/lib/invoices/Zones/UpdateMany/Request.js +3 -0
  223. package/lib/invoices/Zones/UpdateMany/Request.js.map +1 -0
  224. package/lib/invoices/Zones/UpdateMany/Response.d.ts +2 -0
  225. package/lib/invoices/Zones/UpdateMany/Response.js +3 -0
  226. package/lib/invoices/Zones/UpdateMany/Response.js.map +1 -0
  227. package/lib/invoices/Zones/UpdateManyStatuses/Request.d.ts +4 -0
  228. package/lib/invoices/Zones/UpdateManyStatuses/Request.js +3 -0
  229. package/lib/invoices/Zones/UpdateManyStatuses/Request.js.map +1 -0
  230. package/lib/invoices/Zones/UpdateManyStatuses/Response.d.ts +2 -0
  231. package/lib/invoices/Zones/UpdateManyStatuses/Response.js +3 -0
  232. package/lib/invoices/Zones/UpdateManyStatuses/Response.js.map +1 -0
  233. package/lib/invoices/Zones/UpdateSingle/Request.d.ts +2 -3
  234. package/lib/invoices/Zones/UpdateSingle/Response.d.ts +2 -4
  235. package/lib/invoices/Zones/UpdateSingleStatus/Request.d.ts +2 -2
  236. package/lib/invoices/Zones/UpdateSingleStatus/Response.d.ts +2 -2
  237. package/lib/invoices/Zones/index.d.ts +8 -0
  238. package/lib/invoices/Zones/index.js +8 -0
  239. package/lib/invoices/Zones/index.js.map +1 -1
  240. package/lib/invoices/Zones/interfaces.d.ts +7 -0
  241. package/lib/invoices/Zones/interfaces.js +3 -0
  242. package/lib/invoices/Zones/interfaces.js.map +1 -0
  243. package/lib/invoices/index.d.ts +2 -2
  244. package/lib/invoices/index.js +2 -2
  245. package/lib/invoices/index.js.map +1 -1
  246. package/lib/invoices/invoices.interfaces.d.ts +7 -0
  247. package/lib/invoices/invoices.interfaces.js +3 -0
  248. package/lib/invoices/invoices.interfaces.js.map +1 -0
  249. package/lib/services/SellingTypes/GetMany/Response.d.ts +3 -6
  250. package/lib/services/SellingTypes/GetSingle/Response.d.ts +2 -0
  251. package/lib/services/SellingTypes/GetSingle/Response.js +3 -0
  252. package/lib/services/SellingTypes/GetSingle/Response.js.map +1 -0
  253. package/lib/services/SellingTypes/services.selling-types.interface.d.ts +4 -0
  254. package/lib/services/SellingTypes/services.selling-types.interface.js +3 -0
  255. package/lib/services/SellingTypes/services.selling-types.interface.js.map +1 -0
  256. package/lib/services/Services/CreateMany/Request.d.ts +2 -0
  257. package/lib/services/Services/CreateMany/Request.js +3 -0
  258. package/lib/services/Services/CreateMany/Request.js.map +1 -0
  259. package/lib/services/Services/CreateMany/Response.d.ts +2 -0
  260. package/lib/services/Services/CreateMany/Response.js +3 -0
  261. package/lib/services/Services/CreateMany/Response.js.map +1 -0
  262. package/lib/services/Services/CreateSingle/Request.d.ts +2 -11
  263. package/lib/services/Services/CreateSingle/Response.d.ts +2 -4
  264. package/lib/services/Services/GetMany/Request.d.ts +3 -7
  265. package/lib/services/Services/GetMany/Response.d.ts +5 -16
  266. package/lib/services/Services/GetSingle/Response.d.ts +2 -15
  267. package/lib/services/Services/UpdateMany/Request.d.ts +4 -0
  268. package/lib/services/Services/UpdateMany/Request.js +3 -0
  269. package/lib/services/Services/UpdateMany/Request.js.map +1 -0
  270. package/lib/services/Services/UpdateMany/Response.d.ts +2 -0
  271. package/lib/services/Services/UpdateMany/Response.js +3 -0
  272. package/lib/services/Services/UpdateMany/Response.js.map +1 -0
  273. package/lib/services/Services/UpdateManyStatuses/Request.d.ts +1 -1
  274. package/lib/services/Services/UpdateSingle/Request.d.ts +2 -11
  275. package/lib/services/Services/services.interface.d.ts +17 -0
  276. package/lib/services/Services/services.interface.js +3 -0
  277. package/lib/services/Services/services.interface.js.map +1 -0
  278. package/lib/system/NaturalTypes/GetMany/Response.d.ts +4 -0
  279. package/lib/system/NaturalTypes/GetMany/Response.js +3 -0
  280. package/lib/system/NaturalTypes/GetMany/Response.js.map +1 -0
  281. package/lib/system/NaturalTypes/GetSingle/Response.d.ts +4 -0
  282. package/lib/system/NaturalTypes/GetSingle/Response.js +3 -0
  283. package/lib/system/NaturalTypes/GetSingle/Response.js.map +1 -0
  284. package/lib/system/NaturalTypes/index.js.map +1 -0
  285. package/lib/system/PersonTypes/GetMany/Response.d.ts +3 -6
  286. package/lib/system/PersonTypes/GetSingle/Response.d.ts +4 -0
  287. package/lib/system/PersonTypes/GetSingle/Response.js +3 -0
  288. package/lib/system/PersonTypes/GetSingle/Response.js.map +1 -0
  289. package/lib/system/SellingTypes/GetMany/Response.d.ts +3 -9
  290. package/lib/system/SellingTypes/GetSingle/Response.d.ts +2 -0
  291. package/lib/system/SellingTypes/GetSingle/Response.js +3 -0
  292. package/lib/system/SellingTypes/GetSingle/Response.js.map +1 -0
  293. package/lib/system/SellingTypes/system.selling-types.interface.d.ts +9 -0
  294. package/lib/system/SellingTypes/system.selling-types.interface.js +3 -0
  295. package/lib/system/SellingTypes/system.selling-types.interface.js.map +1 -0
  296. package/lib/system/TaxerTypes/GetMany/Response.d.ts +3 -6
  297. package/lib/system/TaxerTypes/GetSingle/Response.d.ts +4 -0
  298. package/lib/system/TaxerTypes/GetSingle/Response.js +3 -0
  299. package/lib/system/TaxerTypes/GetSingle/Response.js.map +1 -0
  300. package/lib/system/index.d.ts +1 -1
  301. package/lib/system/index.js +1 -1
  302. package/lib/system/index.js.map +1 -1
  303. package/package.json +1 -1
  304. package/src/auth/Auth/RefreshToken/Request.ts +3 -0
  305. package/src/auth/Auth/RefreshToken/Response.ts +5 -0
  306. package/src/customers/Branches/CreateMany/Response.ts +1 -1
  307. package/src/customers/Branches/CreateSingle/Request.ts +2 -13
  308. package/src/customers/Branches/GetMany/Request.ts +3 -6
  309. package/src/customers/Branches/GetMany/Response.ts +4 -25
  310. package/src/customers/Branches/GetSingle/Response.ts +2 -17
  311. package/src/customers/Branches/UpdateSingle/Request.ts +2 -6
  312. package/src/customers/Branches/UpdateSingleDefault/Request.ts +2 -2
  313. package/src/customers/Branches/interfaces.ts +9 -2
  314. package/src/customers/Customers/CreateMany/Request.ts +5 -0
  315. package/src/customers/Customers/CreateMany/Response.ts +4 -0
  316. package/src/customers/Customers/CreateSingle/Request.ts +2 -16
  317. package/src/customers/Customers/DeleteMany/Response.ts +1 -0
  318. package/src/customers/Customers/GetMany/Request.ts +3 -7
  319. package/src/customers/Customers/GetMany/Response.ts +4 -31
  320. package/src/customers/Customers/GetSingle/Response.ts +2 -28
  321. package/src/customers/Customers/UpdateMany/Request.ts +5 -0
  322. package/src/customers/Customers/UpdateMany/Response.ts +4 -0
  323. package/src/customers/Customers/UpdateManyStatuses/Request.ts +1 -1
  324. package/src/customers/Customers/UpdateManyStatuses/Response.ts +1 -0
  325. package/src/customers/Customers/UpdateSingle/Request.ts +2 -20
  326. package/src/customers/Customers/UpdateSingleStatus/Request.ts +3 -0
  327. package/src/customers/Customers/interfaces.ts +42 -0
  328. package/src/interfaces.ts +23 -0
  329. package/src/invoices/Documents/GetMany/Request.ts +3 -6
  330. package/src/invoices/Documents/GetMany/Response.ts +5 -22
  331. package/src/invoices/Documents/GetSingle/Response.ts +5 -1
  332. package/src/invoices/Documents/GetSingleLayout/Response.ts +33 -1
  333. package/src/invoices/Documents/UpdateManyStatuses/Request.ts +4 -0
  334. package/src/invoices/Documents/UpdateManyStatuses/Response.ts +3 -0
  335. package/src/invoices/Documents/UpdateSingleStatus/Request.ts +3 -1
  336. package/src/invoices/Documents/UpdateSingleStatus/Response.ts +3 -1
  337. package/src/invoices/Documents/UpsertMany/Request.ts +5 -0
  338. package/src/invoices/Documents/UpsertMany/Response.ts +3 -0
  339. package/src/invoices/Documents/UpsertSingle/Request.ts +3 -0
  340. package/src/invoices/Documents/UpsertSingle/Response.ts +3 -0
  341. package/src/invoices/Documents/UpsertSingleLayout/Request.ts +16 -1
  342. package/src/invoices/Documents/UpsertSingleLayout/Response.ts +3 -1
  343. package/src/invoices/Documents/documents.interfaces.ts +17 -0
  344. package/src/invoices/Documents/index.ts +6 -4
  345. package/src/invoices/Invoices/CreateMany/Request.ts +3 -0
  346. package/src/invoices/Invoices/CreateMany/Response.ts +3 -0
  347. package/src/invoices/Invoices/CreateReserved/Request.ts +9 -0
  348. package/src/invoices/Invoices/CreateReserved/Response.ts +3 -0
  349. package/src/invoices/Invoices/CreateSingle/Request.ts +47 -1
  350. package/src/invoices/Invoices/CreateSingle/Response.ts +3 -1
  351. package/src/invoices/Invoices/DeleteMany/Response.ts +3 -0
  352. package/src/invoices/Invoices/DeleteSingle/Response.ts +3 -1
  353. package/src/invoices/Invoices/GetDocumentTypes/Response.ts +3 -0
  354. package/src/invoices/Invoices/GetMany/Request.ts +12 -1
  355. package/src/invoices/Invoices/GetMany/Response.ts +14 -1
  356. package/src/invoices/Invoices/GetSingle/Response.ts +3 -1
  357. package/src/invoices/Invoices/UpdateMany/Request.ts +3 -0
  358. package/src/invoices/Invoices/UpdateMany/Response.ts +3 -0
  359. package/src/invoices/Invoices/UpdateSingle/Request.ts +4 -1
  360. package/src/invoices/Invoices/UpdateSingle/Response.ts +3 -1
  361. package/src/invoices/Invoices/index.ts +8 -8
  362. package/src/invoices/Invoices/invoices.interfaces.ts +62 -0
  363. package/src/invoices/PaymentConditions/CreateMany/Request.ts +5 -0
  364. package/src/invoices/PaymentConditions/CreateMany/Response.ts +3 -0
  365. package/src/invoices/PaymentConditions/CreateSingle/Request.ts +6 -0
  366. package/src/invoices/PaymentConditions/CreateSingle/Response.ts +3 -0
  367. package/src/invoices/PaymentConditions/DeleteMany/Response.ts +3 -0
  368. package/src/invoices/PaymentConditions/DeleteSingle/Response.ts +3 -0
  369. package/src/invoices/PaymentConditions/GetMany/Request.ts +5 -0
  370. package/src/invoices/PaymentConditions/GetMany/Response.ts +6 -0
  371. package/src/invoices/PaymentConditions/GetSingle/Response.ts +5 -0
  372. package/src/invoices/PaymentConditions/UpdateMany/Request.ts +5 -0
  373. package/src/invoices/PaymentConditions/UpdateMany/Response.ts +3 -0
  374. package/src/invoices/PaymentConditions/UpdateManyStatuses/Request.ts +4 -0
  375. package/src/invoices/PaymentConditions/UpdateManyStatuses/Response.ts +3 -0
  376. package/src/invoices/PaymentConditions/UpdateSingle/Request.ts +4 -0
  377. package/src/invoices/PaymentConditions/UpdateSingle/Response.ts +3 -0
  378. package/{lib/invoices/PaymentsConditions/UpdateSingleStatus/Request.d.ts → src/invoices/PaymentConditions/UpdateSingleStatus/Request.ts} +1 -0
  379. package/{lib/invoices/PaymentsConditions/UpdateSingleStatus/Response.d.ts → src/invoices/PaymentConditions/UpdateSingleStatus/Response.ts} +2 -0
  380. package/src/invoices/{PaymentsConditions → PaymentConditions}/index.ts +8 -0
  381. package/src/invoices/PaymentConditions/payment-conditions.interface.ts +10 -0
  382. package/src/invoices/Sellers/CreateMany/Request.ts +5 -0
  383. package/src/invoices/Sellers/CreateMany/Response.ts +3 -0
  384. package/src/invoices/Sellers/CreateSingle/Request.ts +3 -0
  385. package/src/invoices/Sellers/CreateSingle/Response.ts +3 -0
  386. package/src/invoices/Sellers/DeleteMany/Response.ts +3 -0
  387. package/src/invoices/Sellers/DeleteSingle/Response.ts +3 -0
  388. package/src/invoices/Sellers/GetMany/Request.ts +5 -0
  389. package/src/invoices/Sellers/GetMany/Response.ts +5 -0
  390. package/src/invoices/Sellers/GetSingle/Response.ts +5 -0
  391. package/src/invoices/Sellers/UpdateMany/Request.ts +5 -0
  392. package/src/invoices/Sellers/UpdateMany/Response.ts +3 -0
  393. package/src/invoices/Sellers/UpdateManyStatuses/Request.ts +4 -0
  394. package/src/invoices/Sellers/UpdateManyStatuses/Response.ts +3 -0
  395. package/src/invoices/Sellers/UpdateSingle/Request.ts +3 -0
  396. package/src/invoices/Sellers/UpdateSingle/Response.ts +3 -0
  397. package/src/invoices/Sellers/UpdateSingleStatus/Request.ts +3 -0
  398. package/src/invoices/Sellers/UpdateSingleStatus/Response.ts +3 -0
  399. package/src/invoices/{Seller → Sellers}/index.ts +8 -0
  400. package/src/invoices/Sellers/sellers.interface.ts +10 -0
  401. package/src/invoices/Statuses/GetMany/Response.ts +6 -1
  402. package/src/invoices/Statuses/UpdateSingle/Request.ts +4 -1
  403. package/src/invoices/Statuses/UpdateSingle/Response.ts +3 -1
  404. package/src/invoices/Statuses/statuses.interfaces.ts +4 -0
  405. package/src/invoices/Zones/CreateMany/Request.ts +5 -0
  406. package/src/invoices/Zones/CreateMany/Response.ts +3 -0
  407. package/src/invoices/Zones/CreateSingle/Request.ts +3 -3
  408. package/src/invoices/Zones/CreateSingle/Response.ts +3 -4
  409. package/src/invoices/Zones/DeleteMany/Response.ts +3 -0
  410. package/src/invoices/Zones/DeleteSingle/Response.ts +3 -4
  411. package/src/invoices/Zones/GetMany/Request.ts +4 -7
  412. package/src/invoices/Zones/GetMany/Response.ts +5 -7
  413. package/src/invoices/Zones/GetSingle/Response.ts +5 -0
  414. package/src/invoices/Zones/UpdateMany/Request.ts +5 -0
  415. package/src/invoices/Zones/UpdateMany/Response.ts +3 -0
  416. package/src/invoices/Zones/UpdateManyStatuses/Request.ts +5 -0
  417. package/src/invoices/Zones/UpdateManyStatuses/Response.ts +3 -0
  418. package/src/invoices/Zones/UpdateSingle/Request.ts +3 -3
  419. package/src/invoices/Zones/UpdateSingle/Response.ts +3 -4
  420. package/src/invoices/Zones/UpdateSingleStatus/Request.ts +3 -1
  421. package/src/invoices/Zones/UpdateSingleStatus/Response.ts +3 -1
  422. package/src/invoices/Zones/index.ts +8 -0
  423. package/src/invoices/Zones/interfaces.ts +8 -0
  424. package/src/invoices/index.ts +2 -2
  425. package/src/invoices/invoices.interfaces.ts +7 -0
  426. package/src/services/SellingTypes/GetMany/Response.ts +3 -6
  427. package/src/services/SellingTypes/GetSingle/Response.ts +3 -0
  428. package/src/services/SellingTypes/services.selling-types.interface.ts +9 -0
  429. package/src/services/Services/CreateMany/Request.ts +3 -0
  430. package/src/services/Services/CreateMany/Response.ts +3 -0
  431. package/src/services/Services/CreateSingle/Request.ts +3 -11
  432. package/src/services/Services/CreateSingle/Response.ts +3 -4
  433. package/src/services/Services/GetMany/Request.ts +3 -6
  434. package/src/services/Services/GetMany/Response.ts +4 -16
  435. package/src/services/Services/GetSingle/Response.ts +2 -16
  436. package/src/services/Services/UpdateMany/Request.ts +3 -0
  437. package/src/services/Services/UpdateMany/Response.ts +3 -0
  438. package/src/services/Services/UpdateManyStatuses/Request.ts +1 -1
  439. package/src/services/Services/UpdateSingle/Request.ts +3 -11
  440. package/src/services/Services/services.interface.ts +19 -0
  441. package/src/system/NaturalTypes/GetMany/Response.ts +5 -0
  442. package/src/system/NaturalTypes/GetSingle/Response.ts +4 -0
  443. package/src/system/PersonTypes/GetMany/Response.ts +3 -6
  444. package/src/system/PersonTypes/GetSingle/Response.ts +4 -0
  445. package/src/system/SellingTypes/GetMany/Response.ts +3 -9
  446. package/src/system/SellingTypes/GetSingle/Response.ts +3 -0
  447. package/src/system/SellingTypes/system.selling-types.interface.ts +10 -0
  448. package/src/system/TaxerTypes/GetMany/Response.ts +3 -6
  449. package/src/system/TaxerTypes/GetSingle/Response.ts +4 -0
  450. package/src/system/index.ts +1 -1
  451. package/lib/invoices/Documents/GetSingle/Request.d.ts +0 -2
  452. package/lib/invoices/Documents/GetSingle/Request.js.map +0 -1
  453. package/lib/invoices/Documents/GetSingleLayout/Request.d.ts +0 -2
  454. package/lib/invoices/Documents/GetSingleLayout/Request.js.map +0 -1
  455. package/lib/invoices/Documents/UpdateSingle/Request.d.ts +0 -2
  456. package/lib/invoices/Documents/UpdateSingle/Request.js.map +0 -1
  457. package/lib/invoices/Documents/UpdateSingle/Response.d.ts +0 -2
  458. package/lib/invoices/Documents/UpdateSingle/Response.js.map +0 -1
  459. package/lib/invoices/Invoices/CreateSingleReserved/Request.d.ts +0 -2
  460. package/lib/invoices/Invoices/CreateSingleReserved/Request.js.map +0 -1
  461. package/lib/invoices/Invoices/CreateSingleReserved/Response.d.ts +0 -2
  462. package/lib/invoices/Invoices/CreateSingleReserved/Response.js.map +0 -1
  463. package/lib/invoices/Invoices/GetInvoicesListReport/Request.d.ts +0 -2
  464. package/lib/invoices/Invoices/GetInvoicesListReport/Request.js.map +0 -1
  465. package/lib/invoices/Invoices/GetInvoicesListReport/Response.d.ts +0 -2
  466. package/lib/invoices/Invoices/GetInvoicesListReport/Response.js.map +0 -1
  467. package/lib/invoices/Invoices/GetManyDocumentTypes/Response.d.ts +0 -2
  468. package/lib/invoices/Invoices/GetManyDocumentTypes/Response.js.map +0 -1
  469. package/lib/invoices/Invoices/GetRecurrencies/Response.d.ts +0 -2
  470. package/lib/invoices/Invoices/GetRecurrencies/Response.js.map +0 -1
  471. package/lib/invoices/Invoices/GetReportGeneral/Request.d.ts +0 -2
  472. package/lib/invoices/Invoices/GetReportGeneral/Request.js.map +0 -1
  473. package/lib/invoices/Invoices/GetReportGeneral/Response.d.ts +0 -2
  474. package/lib/invoices/Invoices/GetReportGeneral/Response.js.map +0 -1
  475. package/lib/invoices/PaymentsConditions/CreateSingle/Request.d.ts +0 -2
  476. package/lib/invoices/PaymentsConditions/CreateSingle/Request.js.map +0 -1
  477. package/lib/invoices/PaymentsConditions/CreateSingle/Response.d.ts +0 -2
  478. package/lib/invoices/PaymentsConditions/CreateSingle/Response.js.map +0 -1
  479. package/lib/invoices/PaymentsConditions/DeleteSingle/Response.d.ts +0 -2
  480. package/lib/invoices/PaymentsConditions/DeleteSingle/Response.js.map +0 -1
  481. package/lib/invoices/PaymentsConditions/GetMany/Request.d.ts +0 -2
  482. package/lib/invoices/PaymentsConditions/GetMany/Request.js.map +0 -1
  483. package/lib/invoices/PaymentsConditions/GetMany/Response.d.ts +0 -2
  484. package/lib/invoices/PaymentsConditions/GetMany/Response.js.map +0 -1
  485. package/lib/invoices/PaymentsConditions/UpdateSingle/Request.d.ts +0 -2
  486. package/lib/invoices/PaymentsConditions/UpdateSingle/Request.js.map +0 -1
  487. package/lib/invoices/PaymentsConditions/UpdateSingle/Response.d.ts +0 -2
  488. package/lib/invoices/PaymentsConditions/UpdateSingle/Response.js.map +0 -1
  489. package/lib/invoices/PaymentsConditions/UpdateSingleStatus/Request.js.map +0 -1
  490. package/lib/invoices/PaymentsConditions/UpdateSingleStatus/Response.js.map +0 -1
  491. package/lib/invoices/PaymentsConditions/index.js.map +0 -1
  492. package/lib/invoices/Seller/CreateSingle/Request.d.ts +0 -2
  493. package/lib/invoices/Seller/CreateSingle/Request.js.map +0 -1
  494. package/lib/invoices/Seller/CreateSingle/Response.d.ts +0 -2
  495. package/lib/invoices/Seller/CreateSingle/Response.js.map +0 -1
  496. package/lib/invoices/Seller/DeleteSingle/Response.d.ts +0 -4
  497. package/lib/invoices/Seller/DeleteSingle/Response.js.map +0 -1
  498. package/lib/invoices/Seller/GetMany/Request.d.ts +0 -2
  499. package/lib/invoices/Seller/GetMany/Request.js.map +0 -1
  500. package/lib/invoices/Seller/GetMany/Response.d.ts +0 -2
  501. package/lib/invoices/Seller/GetMany/Response.js.map +0 -1
  502. package/lib/invoices/Seller/UpdateSingle/Request.d.ts +0 -2
  503. package/lib/invoices/Seller/UpdateSingle/Request.js.map +0 -1
  504. package/lib/invoices/Seller/UpdateSingle/Response.d.ts +0 -2
  505. package/lib/invoices/Seller/UpdateSingle/Response.js.map +0 -1
  506. package/lib/invoices/Seller/UpdateSingleStatus/Request.d.ts +0 -3
  507. package/lib/invoices/Seller/UpdateSingleStatus/Request.js.map +0 -1
  508. package/lib/invoices/Seller/UpdateSingleStatus/Response.d.ts +0 -4
  509. package/lib/invoices/Seller/UpdateSingleStatus/Response.js.map +0 -1
  510. package/lib/invoices/Seller/index.js.map +0 -1
  511. package/lib/system/TypeNaturals/GetMany/Response.d.ts +0 -7
  512. package/lib/system/TypeNaturals/GetMany/Response.js.map +0 -1
  513. package/lib/system/TypeNaturals/index.js.map +0 -1
  514. package/src/invoices/Documents/GetSingle/Request.ts +0 -1
  515. package/src/invoices/Documents/GetSingleLayout/Request.ts +0 -1
  516. package/src/invoices/Documents/UpdateSingle/Request.ts +0 -1
  517. package/src/invoices/Documents/UpdateSingle/Response.ts +0 -1
  518. package/src/invoices/Invoices/CreateSingleReserved/Request.ts +0 -1
  519. package/src/invoices/Invoices/CreateSingleReserved/Response.ts +0 -1
  520. package/src/invoices/Invoices/GetInvoicesListReport/Request.ts +0 -1
  521. package/src/invoices/Invoices/GetInvoicesListReport/Response.ts +0 -1
  522. package/src/invoices/Invoices/GetManyDocumentTypes/Response.ts +0 -1
  523. package/src/invoices/Invoices/GetRecurrencies/Response.ts +0 -1
  524. package/src/invoices/Invoices/GetReportGeneral/Request.ts +0 -1
  525. package/src/invoices/Invoices/GetReportGeneral/Response.ts +0 -1
  526. package/src/invoices/PaymentsConditions/CreateSingle/Request.ts +0 -1
  527. package/src/invoices/PaymentsConditions/CreateSingle/Response.ts +0 -1
  528. package/src/invoices/PaymentsConditions/DeleteSingle/Response.ts +0 -1
  529. package/src/invoices/PaymentsConditions/GetMany/Request.ts +0 -1
  530. package/src/invoices/PaymentsConditions/GetMany/Response.ts +0 -1
  531. package/src/invoices/PaymentsConditions/UpdateSingle/Request.ts +0 -1
  532. package/src/invoices/PaymentsConditions/UpdateSingle/Response.ts +0 -1
  533. package/src/invoices/Seller/CreateSingle/Request.ts +0 -1
  534. package/src/invoices/Seller/CreateSingle/Response.ts +0 -1
  535. package/src/invoices/Seller/DeleteSingle/Response.ts +0 -4
  536. package/src/invoices/Seller/GetMany/Request.ts +0 -1
  537. package/src/invoices/Seller/GetMany/Response.ts +0 -1
  538. package/src/invoices/Seller/UpdateSingle/Request.ts +0 -1
  539. package/src/invoices/Seller/UpdateSingle/Response.ts +0 -1
  540. package/src/invoices/Seller/UpdateSingleStatus/Request.ts +0 -3
  541. package/src/invoices/Seller/UpdateSingleStatus/Response.ts +0 -4
  542. package/src/system/TypeNaturals/GetMany/Response.ts +0 -8
  543. /package/lib/{invoices/Documents/GetSingle → auth/Auth/RefreshToken}/Request.js +0 -0
  544. /package/lib/{invoices/Documents/UpdateSingle → auth/Auth/RefreshToken}/Response.js +0 -0
  545. /package/lib/{invoices/Documents/GetSingleLayout → customers/Customers/CreateMany}/Request.js +0 -0
  546. /package/lib/{invoices/Invoices/CreateSingleReserved → customers/Customers/CreateMany}/Response.js +0 -0
  547. /package/lib/{invoices/Documents/UpdateSingle → customers/Customers/UpdateMany}/Request.js +0 -0
  548. /package/lib/{invoices/Invoices/GetInvoicesListReport → customers/Customers/UpdateMany}/Response.js +0 -0
  549. /package/lib/{invoices/Invoices/CreateSingleReserved → customers/Customers/UpdateSingleStatus}/Request.js +0 -0
  550. /package/lib/invoices/{Invoices/GetInvoicesListReport → Documents/UpdateManyStatuses}/Request.js +0 -0
  551. /package/lib/invoices/{Invoices/GetManyDocumentTypes → Documents/UpdateManyStatuses}/Response.js +0 -0
  552. /package/lib/invoices/{Invoices/GetReportGeneral → Documents/UpsertMany}/Request.js +0 -0
  553. /package/lib/invoices/{Invoices/GetRecurrencies → Documents/UpsertMany}/Response.js +0 -0
  554. /package/lib/invoices/{PaymentsConditions/CreateSingle → Documents/UpsertSingle}/Request.js +0 -0
  555. /package/lib/invoices/{Invoices/GetReportGeneral → Documents/UpsertSingle}/Response.js +0 -0
  556. /package/lib/invoices/{PaymentsConditions/GetMany → Invoices/CreateMany}/Request.js +0 -0
  557. /package/lib/invoices/{PaymentsConditions/CreateSingle → Invoices/CreateMany}/Response.js +0 -0
  558. /package/lib/invoices/{PaymentsConditions/UpdateSingle → Invoices/CreateReserved}/Request.js +0 -0
  559. /package/lib/invoices/{PaymentsConditions/DeleteSingle → Invoices/CreateReserved}/Response.js +0 -0
  560. /package/lib/invoices/{PaymentsConditions/GetMany → Invoices/DeleteMany}/Response.js +0 -0
  561. /package/lib/invoices/{PaymentsConditions/UpdateSingle → Invoices/GetDocumentTypes}/Response.js +0 -0
  562. /package/lib/invoices/{PaymentsConditions/UpdateSingleStatus → Invoices/UpdateMany}/Request.js +0 -0
  563. /package/lib/invoices/{PaymentsConditions/UpdateSingleStatus → Invoices/UpdateMany}/Response.js +0 -0
  564. /package/lib/invoices/{Seller/CreateSingle → PaymentConditions/CreateMany}/Request.js +0 -0
  565. /package/lib/invoices/{Seller/CreateSingle → PaymentConditions/CreateMany}/Response.js +0 -0
  566. /package/lib/invoices/{Seller/GetMany → PaymentConditions/CreateSingle}/Request.js +0 -0
  567. /package/lib/invoices/{Seller/DeleteSingle → PaymentConditions/CreateSingle}/Response.js +0 -0
  568. /package/lib/invoices/{Seller/GetMany → PaymentConditions/DeleteMany}/Response.js +0 -0
  569. /package/lib/invoices/{Seller/UpdateSingle → PaymentConditions/DeleteSingle}/Response.js +0 -0
  570. /package/lib/invoices/{Seller/UpdateSingle → PaymentConditions/GetMany}/Request.js +0 -0
  571. /package/lib/invoices/{Seller/UpdateSingleStatus → PaymentConditions/GetMany}/Response.js +0 -0
  572. /package/lib/{system/TypeNaturals/GetMany → invoices/PaymentConditions/GetSingle}/Response.js +0 -0
  573. /package/lib/invoices/{Seller/UpdateSingleStatus → PaymentConditions/UpdateMany}/Request.js +0 -0
  574. /package/lib/system/{TypeNaturals → NaturalTypes}/index.d.ts +0 -0
  575. /package/lib/system/{TypeNaturals → NaturalTypes}/index.js +0 -0
  576. /package/src/system/{TypeNaturals → NaturalTypes}/index.ts +0 -0
@@ -1,17 +1,3 @@
1
- import { CustomerBranchesCreateSingleRequest } from '../../Branches'
1
+ import { CustomersRequest } from '../interfaces'
2
2
 
3
- export interface CustomersCreateSingleRequest {
4
- name: string
5
- shortName: string
6
- dui?: string
7
- nrc?: string
8
- nit?: string
9
- giro?: string
10
- active?: boolean
11
- used?: boolean
12
- customerTaxerType: number
13
- personType: number
14
- customerType: number
15
- customerTypeNatural?: number
16
- branch: CustomerBranchesCreateSingleRequest
17
- }
3
+ export type CustomersCreateSingleRequest = CustomersRequest
@@ -1,3 +1,4 @@
1
1
  export interface CustomersDeleteManyResponse {
2
+ ids: string[]
2
3
  message: string
3
4
  }
@@ -1,9 +1,5 @@
1
- export interface CustomersGetManyRequest {
2
- limit?: number
3
- page?: number
4
- search?: string
5
- prop?: string
6
- order?: string
1
+ import { GetManyRequest } from '../../../interfaces'
2
+
3
+ export type CustomersGetManyRequest = GetManyRequest & {
7
4
  active?: boolean
8
- branch?: boolean
9
5
  }
@@ -1,33 +1,6 @@
1
- import {
2
- SystemPersonTypeMany,
3
- SystemSellingTypeMany,
4
- SystemTaxerTypesMany,
5
- SystemTypeNaturalMany,
6
- } from '../../../system'
7
- import { CustomerBranchesGetMany } from '../../Branches'
1
+ import { GetManyResponse } from '../../../interfaces'
2
+ import { CustomersResponse } from '../interfaces'
8
3
 
9
- export interface CustomerGetMany {
10
- id: string
11
- name: string
12
- shortName: string
13
- isProvider: boolean
14
- isCustomer: boolean
15
- dui: string | null
16
- nrc: string | null
17
- nit: string | null
18
- giro: string | null
19
- isActiveCustomer: boolean
20
- isActiveProvider: boolean
21
- isUsedCustomer: boolean
22
- isUsedProvider: boolean
23
- createdAt: string
24
- personType: SystemPersonTypeMany
25
- customerTypeNatural: SystemTypeNaturalMany | null
26
- customerType: SystemSellingTypeMany
27
- customerTaxerType: SystemTaxerTypesMany
28
- branch: CustomerBranchesGetMany
29
- }
30
-
31
- export interface CustomerGetManyResponse {
32
- data: CustomerGetMany[]
4
+ export type CustomerGetManyResponse = GetManyResponse & {
5
+ data: CustomersResponse[]
33
6
  }
@@ -1,31 +1,5 @@
1
- import { SystemPersonTypeMany } from '../../../system/PersonTypes/GetMany/Response'
2
- import { SystemSellingTypeMany } from '../../../system/SellingTypes/GetMany/Response'
3
- import { SystemTaxerTypesMany } from '../../../system/TaxerTypes/GetMany/Response'
4
- import { SystemTypeNaturalMany } from '../../../system/TypeNaturals/GetMany/Response'
5
- import { CustomerBranchesGetMany } from '../../Branches'
6
-
7
- export interface CustomersGetSingle {
8
- id: string
9
- name: string
10
- shortName: string
11
- isProvider: boolean
12
- isCustomer: boolean
13
- dui: string | null
14
- nrc: string | null
15
- nit: string | null
16
- giro: string | null
17
- isActiveCustomer: boolean
18
- isActiveProvider: boolean
19
- isUsedCustomer: boolean
20
- isUsedProvider: boolean
21
- createdAt: string
22
- personType: SystemPersonTypeMany
23
- customerTypeNatural: SystemTypeNaturalMany | null
24
- customerType: SystemSellingTypeMany
25
- customerTaxerType: SystemTaxerTypesMany
26
- branch: CustomerBranchesGetMany
27
- }
1
+ import { CustomersResponse } from '../interfaces'
28
2
 
29
3
  export interface CustomersGetSingleResponse {
30
- data: CustomersGetSingle
4
+ data: CustomersResponse
31
5
  }
@@ -0,0 +1,5 @@
1
+ import { CustomersUpdateSingleRequest } from '../UpdateSingle/Request'
2
+
3
+ export interface CustomersUpdateManyRequest {
4
+ data: CustomersUpdateSingleRequest[]
5
+ }
@@ -0,0 +1,4 @@
1
+ export interface CustomersUpdateManyResponse {
2
+ ids: string[]
3
+ message: string
4
+ }
@@ -1,4 +1,4 @@
1
1
  export interface CustomerUpdateManyStatusesRequest {
2
2
  ids: string[]
3
- status: string
3
+ active: boolean
4
4
  }
@@ -1,3 +1,4 @@
1
1
  export interface CustomersUpdateManyStatusesResponse {
2
+ ids: string[]
2
3
  message: string
3
4
  }
@@ -1,21 +1,3 @@
1
- import { CustomerBranchesUpdateSingleRequest } from '../../Branches'
1
+ import { CustomersRequest } from '../interfaces'
2
2
 
3
- export interface CustomersUpdateSingleRequest {
4
- name?: string
5
- shortName?: string
6
- isProvider?: boolean
7
- isCustomer?: boolean
8
- dui?: string
9
- nrc?: string
10
- nit?: string
11
- giro?: string
12
- isActiveCustomer?: boolean
13
- isActiveProvider?: boolean
14
- isUsedCustomer?: boolean
15
- isUsedProvider?: boolean
16
- customerTaxerType?: number
17
- personType?: number
18
- customerType?: number
19
- customerTypeNatural?: number
20
- branch?: CustomerBranchesUpdateSingleRequest
21
- }
3
+ export type CustomersUpdateSingleRequest = Omit<Partial<CustomersRequest>, 'branch'>
@@ -0,0 +1,3 @@
1
+ export interface CustomersUpdateSingleStatusRequest {
2
+ active: boolean
3
+ }
@@ -0,0 +1,42 @@
1
+ import { SystemNaturalTypesGetSingleResponse } from '../../system/NaturalTypes/GetSingle/Response'
2
+ import { SystemPersonTypeGetSingleResponse } from '../../system/PersonTypes/GetSingle/Response'
3
+ import { SystemSellingTypeGetSingleResponse } from '../../system/SellingTypes/GetSingle/Response'
4
+ import { SystemTaxerTypesGetSingleResponse } from '../../system/TaxerTypes/GetSingle/Response'
5
+ import { CustomerBranchesCreateSingleRequest } from '../Branches'
6
+
7
+ export interface Customers {
8
+ id: string
9
+ name: string
10
+ name1?: string
11
+ name2?: string
12
+ name3?: string
13
+ lastname1?: string
14
+ lastname2?: string
15
+ lastname3?: string
16
+ shortName: string
17
+ dui?: string
18
+ passport?: string
19
+ nrc?: string
20
+ nit?: string
21
+ giro?: string
22
+ active: boolean
23
+ used: boolean
24
+ passportIssuedDate?: Date
25
+ passportExpirationDate?: Date
26
+ profession?: string
27
+ duiIssuedDate?: Date
28
+ duiExpirationDate?: Date
29
+ nitIssuedDate?: Date
30
+ customerTaxerType: SystemTaxerTypesGetSingleResponse
31
+ personType: SystemPersonTypeGetSingleResponse
32
+ customerType: SystemSellingTypeGetSingleResponse
33
+ customerTypeNatural: SystemNaturalTypesGetSingleResponse
34
+ }
35
+ export type CustomersRequest = Omit<Customers, 'id'> & {
36
+ customerTaxerType: number
37
+ personType: number
38
+ customerType: number
39
+ customerTypeNatural: number
40
+ branch: CustomerBranchesCreateSingleRequest
41
+ }
42
+ export type CustomersResponse = Customers
@@ -0,0 +1,23 @@
1
+ export interface GetManyRequest {
2
+ limit?: number
3
+ page?: number
4
+ search?: string
5
+ prop?: string
6
+ order?: string
7
+ }
8
+
9
+ export interface GetManyResponse {
10
+ count: number
11
+ page: number
12
+ limit: number
13
+ }
14
+
15
+ export interface SingleResponse {
16
+ id: string
17
+ message: string
18
+ }
19
+
20
+ export interface ManyResponse {
21
+ ids: string[]
22
+ message: string
23
+ }
@@ -1,9 +1,6 @@
1
- export interface InvoicesDocumentsGetManyRequest {
2
- limit?: number
3
- page?: number
4
- search?: string
5
- prop?: string
6
- order?: string
1
+ import { GetManyRequest } from '../../../interfaces'
2
+
3
+ export type InvoicesDocumentsGetManyRequest = GetManyRequest & {
7
4
  active?: boolean
8
5
  documentType?: number
9
6
  }
@@ -1,23 +1,6 @@
1
- export interface InvoicesDocumentsMany {
2
- id: string
3
- authorization?: string
4
- initial?: number
5
- final?: number
6
- current?: number
7
- active: boolean
8
- used: boolean
9
- isCurrentDocument: boolean
10
- layout?: string
11
- documentType: InvoiceDocumentTypeSingleResponse
12
- }
13
- export interface InvoicesDocumentsGetManyResponse {
14
- count: number
15
- data: InvoicesDocumentsMany[]
16
- page: number
17
- limit: number
18
- }
19
- export interface InvoiceDocumentTypeSingleResponse {
20
- id: string
21
- name: string
22
- code: string
1
+ import { GetManyResponse } from '../../../interfaces'
2
+ import { InvoicesDocumentsResponse } from '../documents.interfaces'
3
+
4
+ export type InvoicesDocumentsGetManyResponse = GetManyResponse & {
5
+ data: InvoicesDocumentsResponse[]
23
6
  }
@@ -1 +1,5 @@
1
- export interface InvoicesDocumentsGetSingleResponse {}
1
+ import { InvoicesDocumentsResponse } from '../documents.interfaces'
2
+
3
+ export interface InvoicesDocumentsGetSingleResponse {
4
+ data: InvoicesDocumentsResponse
5
+ }
@@ -1 +1,33 @@
1
- export interface InvoicesDocumentsGetSingleLayoutResponse {}
1
+ export interface InvoicesDocumentsLayoutHelpers {
2
+ length: number
3
+ value: string
4
+ type: string
5
+ x: number
6
+ y: number
7
+ }
8
+
9
+ export type InvoicesDocumentsHeaderPositionsLayout = InvoicesDocumentsLayoutHelpers
10
+
11
+ export type InvoicesDocumentsShortPositionsLayout = Omit<InvoicesDocumentsLayoutHelpers, 'y'>
12
+
13
+ export interface InvoicesDocumentsDetailsPositionsLayout {
14
+ position_y: string
15
+ height: string
16
+ quantity: InvoicesDocumentsShortPositionsLayout
17
+ description: InvoicesDocumentsShortPositionsLayout
18
+ price: InvoicesDocumentsShortPositionsLayout
19
+ sujeto: InvoicesDocumentsShortPositionsLayout
20
+ exento: InvoicesDocumentsShortPositionsLayout
21
+ afecto: InvoicesDocumentsShortPositionsLayout
22
+ }
23
+
24
+ export interface InvoicesDocumentsLayoutSingleResponse {
25
+ configuration: string
26
+ resolution: number[]
27
+ header: InvoicesDocumentsHeaderPositionsLayout[]
28
+ details: InvoicesDocumentsDetailsPositionsLayout
29
+ totals: Omit<InvoicesDocumentsLayoutHelpers, 'length'>[]
30
+ fontSizeDetails: number
31
+ fontSizeHeader: number
32
+ fontSizeTotals: number
33
+ }
@@ -0,0 +1,4 @@
1
+ export interface InvoicesDocumentsUpdateManyStatusesRequest {
2
+ ids: string[]
3
+ active: boolean
4
+ }
@@ -0,0 +1,3 @@
1
+ import { ManyResponse } from '../../../interfaces'
2
+
3
+ export type InvoicesDocumentsUpdateManyStatusesResponse = ManyResponse
@@ -1 +1,3 @@
1
- export interface InvoicesDocumentsUpdateSingleStatusRequest {}
1
+ import { InvoicesDocumentsRequest } from '../documents.interfaces'
2
+
3
+ export type InvoicesDocumentsUpdateSingleStatusRequest = Pick<InvoicesDocumentsRequest, 'active'>
@@ -1 +1,3 @@
1
- export interface InvoicesDocumentsUpdateSingleStatusResponse {}
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type InvoicesDocumentsUpdateSingleStatusResponse = SingleResponse
@@ -0,0 +1,5 @@
1
+ import { InvoicesDocumentsUpsertSingleRequest } from '../UpsertSingle/Request'
2
+
3
+ export interface InvoicesDocumentsUpsertManyRequest {
4
+ data: InvoicesDocumentsUpsertSingleRequest[]
5
+ }
@@ -0,0 +1,3 @@
1
+ import { ManyResponse } from '../../../interfaces'
2
+
3
+ export type InvoicesDocumentsUpsertManyResponse = ManyResponse
@@ -0,0 +1,3 @@
1
+ import { InvoicesDocumentsRequest } from '../documents.interfaces'
2
+
3
+ export type InvoicesDocumentsUpsertSingleRequest = Partial<InvoicesDocumentsRequest>
@@ -0,0 +1,3 @@
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type InvoicesDocumentsUpdateSingleResponse = SingleResponse
@@ -1 +1,16 @@
1
- export interface InvoicesDocumentsUpsertSingleLayoutRequest {}
1
+ import {
2
+ InvoicesDocumentsDetailsPositionsLayout,
3
+ InvoicesDocumentsHeaderPositionsLayout,
4
+ InvoicesDocumentsLayoutHelpers,
5
+ } from '../GetSingleLayout/Response'
6
+
7
+ export interface InvoicesDocumentsUpsertLayoutSingleRequest {
8
+ configuration: string
9
+ resolution: number[]
10
+ header: Partial<InvoicesDocumentsHeaderPositionsLayout>[]
11
+ details: Partial<InvoicesDocumentsDetailsPositionsLayout>
12
+ totals: Omit<InvoicesDocumentsLayoutHelpers, 'length'>[]
13
+ fontSizeDetails: number
14
+ fontSizeHeader: number
15
+ fontSizeTotals: number
16
+ }
@@ -1 +1,3 @@
1
- export interface InvoicesDocumentsUpserSingleLayoutResponse {}
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type InvoicesDocumentsUpsertLayoutSingleResponse = SingleResponse
@@ -0,0 +1,17 @@
1
+ import { InvoicesDocumentTypes } from '../invoices.interfaces'
2
+
3
+ export interface InvoicesDocuments {
4
+ id: string
5
+ authorization?: string
6
+ initial?: number
7
+ final?: number
8
+ current?: number
9
+ active: boolean
10
+ used: boolean
11
+ isCurrentDocument: boolean
12
+ documentType: Omit<InvoicesDocumentTypes, 'includeInTaxes, showForNonTaxers'>
13
+ }
14
+
15
+ export type InvoicesDocumentsRequest = Omit<InvoicesDocuments, 'id'>
16
+
17
+ export type InvoicesDocumentsResponse = InvoicesDocuments
@@ -1,12 +1,14 @@
1
1
  export * from './GetMany/Request'
2
2
  export * from './GetMany/Response'
3
- export * from './GetSingle/Request'
4
3
  export * from './GetSingle/Response'
5
- export * from './GetSingleLayout/Request'
6
4
  export * from './GetSingleLayout/Response'
7
- export * from './UpdateSingle/Request'
8
- export * from './UpdateSingle/Response'
5
+ export * from './UpdateManyStatuses/Request'
6
+ export * from './UpdateManyStatuses/Response'
9
7
  export * from './UpdateSingleStatus/Request'
10
8
  export * from './UpdateSingleStatus/Response'
9
+ export * from './UpsertMany/Request'
10
+ export * from './UpsertMany/Response'
11
+ export * from './UpsertSingle/Request'
12
+ export * from './UpsertSingle/Response'
11
13
  export * from './UpsertSingleLayout/Request'
12
14
  export * from './UpsertSingleLayout/Response'
@@ -0,0 +1,3 @@
1
+ import { InvoicesInvoicesCreateSingleRequest } from '../CreateSingle/Request'
2
+
3
+ export type InvoicesInvoicesCreateManyRequest = InvoicesInvoicesCreateSingleRequest[]
@@ -0,0 +1,3 @@
1
+ import { ManyResponse } from '../../../interfaces'
2
+
3
+ export type InvoicesInvoicesCreateManyResponse = ManyResponse
@@ -0,0 +1,9 @@
1
+ import { InvoiceHeader } from '../CreateSingle/Request'
2
+
3
+ export type InvoicesInvoicesCreateSingleReservedRequest = Pick<
4
+ InvoiceHeader,
5
+ 'document' | 'authorization'
6
+ > & {
7
+ sequenceFrom: number
8
+ sequenceTo: number
9
+ }
@@ -0,0 +1,3 @@
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type InvoicesInvoicesCreateSingleReservedResponse = SingleResponse
@@ -1 +1,47 @@
1
- export interface InvoicesInvoicesCreateSingleRequest {}
1
+ export type InvoiceHeader = {
2
+ customer: string
3
+ customerBranch: string
4
+ invoicesSeller: string
5
+ invoicesPaymentsCondition: string
6
+ invoiceDate: string
7
+ sequence: number
8
+ document: string
9
+ authorization: string
10
+ }
11
+
12
+ export type InvoiceTotals = {
13
+ sum: number
14
+ iva: number
15
+ subtotal: number
16
+ ivaRetenido: number
17
+ renta5: number
18
+ renta10: number
19
+ ivaPercibido: number
20
+ ventasExentas: number
21
+ ventasNoSujetas: number
22
+ ventaTotal: number
23
+ ventaTotalText: string
24
+ }
25
+
26
+ export type InvoiceDetails = {
27
+ quantity: number
28
+ unitPrice: number
29
+ chargeDescription: string
30
+ incIva: boolean
31
+ incRenta5: boolean
32
+ incRenta10: boolean
33
+ ventaPrice: number
34
+ ivaPrice: number
35
+ renta5Price: number
36
+ renta10Price: number
37
+ vNoSujeta: number
38
+ vExenta: number
39
+ vGravada: number
40
+ service: string
41
+ }
42
+
43
+ export type InvoicesInvoicesCreateSingleRequest = {
44
+ header: InvoiceHeader
45
+ totals: InvoiceTotals
46
+ details: InvoiceDetails[]
47
+ }
@@ -1 +1,3 @@
1
- export interface InvoicesInvoicesCreateSingleResponse {}
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type InvoicesInvoicesCreateSingleResponse = SingleResponse
@@ -0,0 +1,3 @@
1
+ import { ManyResponse } from '../../../interfaces'
2
+
3
+ export type InvoicesInvoicesDeleteManyResponse = ManyResponse
@@ -1 +1,3 @@
1
- export interface InvoicesInvoicesDeleteSingleResponse {}
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type InvoicesInvoicesDeleteSingleResponse = SingleResponse
@@ -0,0 +1,3 @@
1
+ import { InvoicesDocumentTypes } from '../../invoices.interfaces'
2
+
3
+ export type InvoicesInvoicesGetManyDocumentTypesResponse = InvoicesDocumentTypes[]
@@ -1 +1,12 @@
1
- export interface InvoicesInvoicesGetManyRequest {}
1
+ import { GetManyRequest } from '../../../interfaces'
2
+
3
+ export type InvoicesInvoicesGetManyRequest = GetManyRequest & {
4
+ documentType?: number
5
+ customer?: string
6
+ seller?: string
7
+ zone?: string
8
+ service?: string
9
+ status?: number
10
+ startDate?: string
11
+ endDate?: string
12
+ }
@@ -1 +1,14 @@
1
- export interface InvoicesInvoicesGetManyResponse {}
1
+ import { GetManyResponse } from '../../../interfaces'
2
+ import { Invoices } from '../invoices.interfaces'
3
+
4
+ export type InvoicesInvoicesGetManyResponse = GetManyResponse & {
5
+ data: Pick<
6
+ Invoices,
7
+ 'id' | 'authorization' | 'sequence' | 'invoiceDate' | 'customerName' | 'ventaTotal' | 'document'
8
+ > &
9
+ {
10
+ isLastInvoice: boolean
11
+ invoiceRawDate: string
12
+ createdAt: string
13
+ }[]
14
+ }
@@ -1 +1,3 @@
1
- export interface InvoicesInvoicesGetSingleRequest {}
1
+ import { Invoices } from '../invoices.interfaces'
2
+
3
+ export type InvoicesInvoicesGetSingleRequest = Invoices
@@ -0,0 +1,3 @@
1
+ import { InvoicesInvoicesUpdateSingleRequest } from '../UpdateSingle/Request'
2
+
3
+ export type InvoicesInvoicesUpdateManyRequest = InvoicesInvoicesUpdateSingleRequest[]
@@ -0,0 +1,3 @@
1
+ import { ManyResponse } from '../../../interfaces'
2
+
3
+ export type InvoicesInvoicesUpdateManyResponse = ManyResponse
@@ -1 +1,4 @@
1
- export interface InvoicesInvoicesUpdateSingleRequest {}
1
+ import { InvoicesInvoicesCreateSingleReservedRequest } from '../CreateReserved/Request'
2
+
3
+ export type InvoicesInvoicesUpdateSingleRequest =
4
+ Partial<InvoicesInvoicesCreateSingleReservedRequest>
@@ -1 +1,3 @@
1
- export interface InvoicesInvoicesUpdateSingleResponse {}
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type InvoicesInvoicesUpdateSingleResponse = SingleResponse
@@ -1,16 +1,16 @@
1
+ export * from './CreateMany/Request'
2
+ export * from './CreateMany/Response'
3
+ export * from './CreateReserved/Request'
4
+ export * from './CreateReserved/Response'
1
5
  export * from './CreateSingle/Request'
2
6
  export * from './CreateSingle/Response'
3
- export * from './CreateSingleReserved/Request'
4
- export * from './CreateSingleReserved/Response'
7
+ export * from './DeleteMany/Response'
5
8
  export * from './DeleteSingle/Response'
6
- export * from './GetInvoicesListReport/Request'
7
- export * from './GetInvoicesListReport/Response'
9
+ export * from './GetDocumentTypes/Response'
8
10
  export * from './GetMany/Request'
9
11
  export * from './GetMany/Response'
10
- export * from './GetManyDocumentTypes/Response'
11
- export * from './GetRecurrencies/Response'
12
- export * from './GetReportGeneral/Request'
13
- export * from './GetReportGeneral/Response'
14
12
  export * from './GetSingle/Response'
13
+ export * from './UpdateMany/Request'
14
+ export * from './UpdateMany/Response'
15
15
  export * from './UpdateSingle/Request'
16
16
  export * from './UpdateSingle/Response'