@openbox/shared-types 0.2.18 → 0.2.20

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 (310) hide show
  1. package/lib/customers/Branches/CreateMany/Response.d.ts +2 -4
  2. package/lib/customers/Branches/CreateSingle/Response.d.ts +2 -4
  3. package/lib/customers/Branches/DeleteMany/Request.d.ts +1 -1
  4. package/lib/customers/Branches/DeleteMany/Response.d.ts +2 -4
  5. package/lib/customers/Branches/DeleteSingle/Response.d.ts +2 -4
  6. package/lib/customers/Branches/GetMany/Response.d.ts +1 -1
  7. package/lib/customers/Branches/UpdateMany/Request.d.ts +3 -1
  8. package/lib/customers/Branches/UpdateMany/Response.d.ts +2 -4
  9. package/lib/customers/Branches/UpdateSingle/Response.d.ts +2 -4
  10. package/lib/customers/Branches/UpdateSingleDefault/Response.d.ts +2 -4
  11. package/lib/customers/Branches/customers.branches.interfaces.d.ts +6 -6
  12. package/lib/customers/Customers/CreateMany/Request.d.ts +1 -3
  13. package/lib/customers/Customers/CreateMany/Response.d.ts +2 -4
  14. package/lib/customers/Customers/CreateSingle/Response.d.ts +2 -4
  15. package/lib/customers/Customers/DeleteMany/Request.d.ts +3 -3
  16. package/lib/customers/Customers/DeleteMany/Response.d.ts +2 -4
  17. package/lib/customers/Customers/DeleteSingle/Response.d.ts +2 -4
  18. package/lib/customers/Customers/GetMany/Response.d.ts +1 -1
  19. package/lib/customers/Customers/GetSingle/Response.d.ts +1 -3
  20. package/lib/customers/Customers/UpdateMany/Request.d.ts +3 -3
  21. package/lib/customers/Customers/UpdateMany/Response.d.ts +2 -4
  22. package/lib/customers/Customers/UpdateManyStatuses/Request.d.ts +3 -3
  23. package/lib/customers/Customers/UpdateManyStatuses/Response.d.ts +2 -4
  24. package/lib/customers/Customers/UpdateSingle/Response.d.ts +2 -4
  25. package/lib/customers/Customers/UpdateSingleStatus/Request.d.ts +2 -2
  26. package/lib/customers/Customers/UpdateSingleStatus/Response.d.ts +2 -4
  27. package/lib/customers/Customers/customers.interfaces.d.ts +2 -2
  28. package/lib/interfaces.d.ts +9 -9
  29. package/lib/invoices/Documents/CreateMany/Request.d.ts +2 -0
  30. package/lib/invoices/Documents/CreateMany/Request.js.map +1 -0
  31. package/lib/invoices/Documents/CreateMany/Response.d.ts +2 -0
  32. package/lib/invoices/Documents/CreateMany/Response.js.map +1 -0
  33. package/lib/invoices/Documents/CreateSingle/Request.d.ts +2 -0
  34. package/lib/invoices/Documents/CreateSingle/Request.js.map +1 -0
  35. package/lib/invoices/Documents/CreateSingle/Response.d.ts +2 -0
  36. package/lib/invoices/Documents/CreateSingle/Response.js.map +1 -0
  37. package/lib/invoices/Documents/GetMany/Response.d.ts +2 -2
  38. package/lib/invoices/Documents/GetSingle/Response.d.ts +2 -4
  39. package/lib/invoices/Documents/GetSingleLayout/Response.d.ts +9 -10
  40. package/lib/invoices/Documents/UpdateMany/Request.d.ts +4 -0
  41. package/lib/invoices/Documents/UpdateMany/Request.js.map +1 -0
  42. package/lib/invoices/Documents/UpdateMany/Response.d.ts +2 -0
  43. package/lib/invoices/Documents/UpdateMany/Response.js.map +1 -0
  44. package/lib/invoices/Documents/UpdateManyStatuses/Request.d.ts +3 -3
  45. package/lib/invoices/Documents/UpdateSingle/Request.d.ts +2 -0
  46. package/lib/invoices/Documents/UpdateSingle/Request.js.map +1 -0
  47. package/lib/invoices/Documents/UpdateSingle/Response.js.map +1 -0
  48. package/lib/invoices/Documents/UpdateSingleStatus/Request.d.ts +3 -2
  49. package/lib/invoices/Documents/index.d.ts +8 -6
  50. package/lib/invoices/Documents/index.js +8 -6
  51. package/lib/invoices/Documents/index.js.map +1 -1
  52. package/lib/invoices/Documents/{documents.interfaces.d.ts → invoices.documents.interfaces.d.ts} +5 -3
  53. package/lib/invoices/Documents/invoices.documents.interfaces.js +3 -0
  54. package/lib/invoices/Documents/invoices.documents.interfaces.js.map +1 -0
  55. package/lib/invoices/Invoices/invoices.interfaces.d.ts +7 -7
  56. package/lib/invoices/PaymentConditions/CreateMany/Request.d.ts +1 -3
  57. package/lib/invoices/PaymentConditions/CreateSingle/Request.d.ts +2 -2
  58. package/lib/invoices/PaymentConditions/DeleteMany/Request.d.ts +3 -0
  59. package/lib/invoices/PaymentConditions/DeleteMany/Request.js +3 -0
  60. package/lib/invoices/PaymentConditions/DeleteMany/Request.js.map +1 -0
  61. package/lib/invoices/PaymentConditions/GetMany/Response.d.ts +2 -2
  62. package/lib/invoices/PaymentConditions/GetSingle/Response.d.ts +2 -4
  63. package/lib/invoices/PaymentConditions/UpdateMany/Request.d.ts +3 -3
  64. package/lib/invoices/PaymentConditions/UpdateManyStatuses/Request.d.ts +3 -3
  65. package/lib/invoices/PaymentConditions/UpdateSingle/Request.d.ts +1 -1
  66. package/lib/invoices/PaymentConditions/UpdateSingle/Response.d.ts +2 -2
  67. package/lib/invoices/PaymentConditions/UpdateSingleStatus/Request.d.ts +2 -2
  68. package/lib/invoices/PaymentConditions/UpdateSingleStatus/Response.d.ts +2 -4
  69. package/lib/invoices/PaymentConditions/index.d.ts +1 -0
  70. package/lib/invoices/PaymentConditions/index.js +1 -0
  71. package/lib/invoices/PaymentConditions/index.js.map +1 -1
  72. package/lib/invoices/PaymentConditions/{payment-conditions.interface.d.ts → invoices.payment-conditions.interface.d.ts} +3 -3
  73. package/lib/invoices/PaymentConditions/invoices.payment-conditions.interface.js +3 -0
  74. package/lib/invoices/PaymentConditions/invoices.payment-conditions.interface.js.map +1 -0
  75. package/lib/invoices/Sellers/CreateSingle/Request.d.ts +2 -2
  76. package/lib/invoices/Sellers/DeleteMany/Request.d.ts +3 -0
  77. package/lib/invoices/Sellers/DeleteMany/Request.js +3 -0
  78. package/lib/invoices/Sellers/DeleteMany/Request.js.map +1 -0
  79. package/lib/invoices/Sellers/GetMany/Response.d.ts +1 -1
  80. package/lib/invoices/Sellers/GetSingle/Response.d.ts +1 -1
  81. package/lib/invoices/Sellers/UpdateMany/Request.d.ts +4 -2
  82. package/lib/invoices/Sellers/UpdateManyStatuses/Request.d.ts +1 -1
  83. package/lib/invoices/Sellers/UpdateSingle/Request.d.ts +2 -2
  84. package/lib/invoices/Sellers/UpdateSingleStatus/Request.d.ts +3 -2
  85. package/lib/invoices/Sellers/index.d.ts +1 -0
  86. package/lib/invoices/Sellers/index.js +1 -0
  87. package/lib/invoices/Sellers/index.js.map +1 -1
  88. package/lib/invoices/Sellers/{sellers.interface.d.ts → invoices.sellers.interface.d.ts} +2 -2
  89. package/lib/invoices/Sellers/invoices.sellers.interface.js +3 -0
  90. package/lib/invoices/Sellers/invoices.sellers.interface.js.map +1 -0
  91. package/lib/invoices/Statuses/GetMany/Response.d.ts +2 -5
  92. package/lib/invoices/Statuses/GetSingle/Response.d.ts +2 -0
  93. package/lib/invoices/Statuses/GetSingle/Response.js +3 -0
  94. package/lib/invoices/Statuses/GetSingle/Response.js.map +1 -0
  95. package/lib/invoices/Statuses/index.d.ts +1 -2
  96. package/lib/invoices/Statuses/index.js +1 -2
  97. package/lib/invoices/Statuses/index.js.map +1 -1
  98. package/lib/invoices/Statuses/invoices.statuses.interfaces.d.ts +6 -0
  99. package/lib/invoices/Statuses/invoices.statuses.interfaces.js +3 -0
  100. package/lib/invoices/Statuses/invoices.statuses.interfaces.js.map +1 -0
  101. package/lib/invoices/Zones/CreateSingle/Request.d.ts +2 -2
  102. package/lib/invoices/Zones/DeleteMany/Request.d.ts +3 -0
  103. package/lib/invoices/Zones/DeleteMany/Request.js +3 -0
  104. package/lib/invoices/Zones/DeleteMany/Request.js.map +1 -0
  105. package/lib/invoices/Zones/GetMany/Response.d.ts +2 -2
  106. package/lib/invoices/Zones/GetSingle/Response.d.ts +1 -1
  107. package/lib/invoices/Zones/UpdateMany/Request.d.ts +3 -1
  108. package/lib/invoices/Zones/UpdateManyStatuses/Request.d.ts +3 -3
  109. package/lib/invoices/Zones/UpdateSingle/Request.d.ts +2 -2
  110. package/lib/invoices/Zones/UpdateSingleStatus/Request.d.ts +3 -2
  111. package/lib/invoices/Zones/index.d.ts +1 -0
  112. package/lib/invoices/Zones/index.js +1 -0
  113. package/lib/invoices/Zones/index.js.map +1 -1
  114. package/lib/invoices/Zones/{interfaces.d.ts → invoices.zones.interfaces.d.ts} +3 -3
  115. package/lib/invoices/Zones/invoices.zones.interfaces.js +3 -0
  116. package/lib/invoices/Zones/invoices.zones.interfaces.js.map +1 -0
  117. package/lib/services/Services/DeleteMany/Request.d.ts +3 -3
  118. package/lib/services/Services/DeleteMany/Response.d.ts +2 -3
  119. package/lib/services/Services/DeleteSingle/Response.d.ts +2 -3
  120. package/lib/services/Services/GetMany/Request.d.ts +1 -1
  121. package/lib/services/Services/GetMany/Response.d.ts +1 -1
  122. package/lib/services/Services/GetSingle/Response.d.ts +1 -3
  123. package/lib/services/Services/UpdateMany/Request.d.ts +3 -3
  124. package/lib/services/Services/UpdateManyStatuses/Request.d.ts +3 -3
  125. package/lib/services/Services/UpdateManyStatuses/Response.d.ts +2 -3
  126. package/lib/services/Services/UpdateSingle/Response.d.ts +2 -3
  127. package/lib/services/Services/UpdateSingleStatus/Request.d.ts +2 -2
  128. package/lib/services/Services/UpdateSingleStatus/Response.d.ts +2 -3
  129. package/lib/system/Cities/GetMany/Response.d.ts +1 -3
  130. package/lib/system/Cities/GetSingle/Response.d.ts +2 -4
  131. package/lib/system/Cities/system.cities.interfaces.d.ts +3 -3
  132. package/lib/system/Countries/GetMany/Response.d.ts +1 -3
  133. package/lib/system/Countries/GetSingle/Response.d.ts +2 -4
  134. package/lib/system/Countries/system.countries.interfaces.d.ts +2 -2
  135. package/lib/system/NaturalTypes/GetMany/Response.d.ts +1 -3
  136. package/lib/system/NaturalTypes/GetSingle/Response.d.ts +2 -4
  137. package/lib/system/NaturalTypes/system.natural-types.interfaces.d.ts +6 -0
  138. package/lib/system/NaturalTypes/system.natural-types.interfaces.js +3 -0
  139. package/lib/system/NaturalTypes/system.natural-types.interfaces.js.map +1 -0
  140. package/lib/system/PersonTypes/GetMany/Response.d.ts +1 -3
  141. package/lib/system/PersonTypes/GetSingle/Response.d.ts +2 -4
  142. package/lib/system/PersonTypes/system.person-types.interfaces.d.ts +6 -0
  143. package/lib/system/PersonTypes/system.person-types.interfaces.js +3 -0
  144. package/lib/system/PersonTypes/system.person-types.interfaces.js.map +1 -0
  145. package/lib/system/SellingTypes/GetMany/Response.d.ts +1 -3
  146. package/lib/system/States/GetMany/Response.d.ts +1 -3
  147. package/lib/system/States/GetSingle/Response.d.ts +2 -4
  148. package/lib/system/States/system.states.interfaces.d.ts +2 -2
  149. package/lib/system/TaxerTypes/GetMany/Response.d.ts +1 -3
  150. package/lib/system/TaxerTypes/GetSingle/Response.d.ts +2 -4
  151. package/lib/system/TaxerTypes/system.taxer-types.interfaces.d.ts +6 -0
  152. package/lib/system/TaxerTypes/system.taxer-types.interfaces.js +3 -0
  153. package/lib/system/TaxerTypes/system.taxer-types.interfaces.js.map +1 -0
  154. package/package.json +1 -1
  155. package/src/customers/Branches/CreateMany/Response.ts +3 -4
  156. package/src/customers/Branches/CreateSingle/Response.ts +3 -4
  157. package/src/customers/Branches/DeleteMany/Request.ts +1 -1
  158. package/src/customers/Branches/DeleteMany/Response.ts +3 -4
  159. package/src/customers/Branches/DeleteSingle/Response.ts +3 -4
  160. package/src/customers/Branches/GetMany/Response.ts +1 -1
  161. package/src/customers/Branches/UpdateMany/Request.ts +5 -1
  162. package/src/customers/Branches/UpdateMany/Response.ts +3 -4
  163. package/src/customers/Branches/UpdateSingle/Response.ts +3 -4
  164. package/src/customers/Branches/UpdateSingleDefault/Response.ts +3 -4
  165. package/src/customers/Branches/customers.branches.interfaces.ts +4 -4
  166. package/src/customers/Customers/CreateMany/Request.ts +1 -3
  167. package/src/customers/Customers/CreateMany/Response.ts +3 -4
  168. package/src/customers/Customers/CreateSingle/Response.ts +3 -4
  169. package/src/customers/Customers/DeleteMany/Request.ts +2 -2
  170. package/src/customers/Customers/DeleteMany/Response.ts +3 -4
  171. package/src/customers/Customers/DeleteSingle/Response.ts +3 -4
  172. package/src/customers/Customers/GetMany/Response.ts +1 -1
  173. package/src/customers/Customers/GetSingle/Response.ts +1 -3
  174. package/src/customers/Customers/UpdateMany/Request.ts +5 -3
  175. package/src/customers/Customers/UpdateMany/Response.ts +3 -4
  176. package/src/customers/Customers/UpdateManyStatuses/Request.ts +2 -2
  177. package/src/customers/Customers/UpdateManyStatuses/Response.ts +3 -4
  178. package/src/customers/Customers/UpdateSingle/Response.ts +3 -4
  179. package/src/customers/Customers/UpdateSingleStatus/Request.ts +1 -1
  180. package/src/customers/Customers/UpdateSingleStatus/Response.ts +3 -4
  181. package/src/customers/Customers/customers.interfaces.ts +1 -1
  182. package/src/interfaces.ts +5 -5
  183. package/src/invoices/Documents/CreateMany/Request.ts +3 -0
  184. package/src/invoices/Documents/CreateMany/Response.ts +3 -0
  185. package/src/invoices/Documents/CreateSingle/Request.ts +3 -0
  186. package/src/invoices/Documents/CreateSingle/Response.ts +3 -0
  187. package/src/invoices/Documents/GetMany/Response.ts +2 -2
  188. package/src/invoices/Documents/GetSingle/Response.ts +2 -4
  189. package/src/invoices/Documents/GetSingleLayout/Response.ts +6 -8
  190. package/src/invoices/Documents/UpdateMany/Request.ts +7 -0
  191. package/src/invoices/Documents/UpdateMany/Response.ts +3 -0
  192. package/src/invoices/Documents/UpdateManyStatuses/Request.ts +2 -2
  193. package/src/invoices/Documents/UpdateSingle/Request.ts +3 -0
  194. package/src/invoices/Documents/UpdateSingleStatus/Request.ts +3 -3
  195. package/src/invoices/Documents/index.ts +8 -6
  196. package/src/invoices/Documents/{documents.interfaces.ts → invoices.documents.interfaces.ts} +7 -2
  197. package/src/invoices/Invoices/invoices.interfaces.ts +6 -6
  198. package/src/invoices/PaymentConditions/CreateMany/Request.ts +2 -3
  199. package/src/invoices/PaymentConditions/CreateSingle/Request.ts +2 -5
  200. package/src/invoices/PaymentConditions/DeleteMany/Request.ts +3 -0
  201. package/src/invoices/PaymentConditions/GetMany/Response.ts +2 -2
  202. package/src/invoices/PaymentConditions/GetSingle/Response.ts +2 -4
  203. package/src/invoices/PaymentConditions/UpdateMany/Request.ts +5 -3
  204. package/src/invoices/PaymentConditions/UpdateManyStatuses/Request.ts +2 -2
  205. package/src/invoices/PaymentConditions/UpdateSingle/Request.ts +1 -1
  206. package/src/invoices/PaymentConditions/UpdateSingle/Response.ts +2 -2
  207. package/src/invoices/PaymentConditions/UpdateSingleStatus/Request.ts +1 -1
  208. package/src/invoices/PaymentConditions/UpdateSingleStatus/Response.ts +3 -4
  209. package/src/invoices/PaymentConditions/index.ts +1 -0
  210. package/src/invoices/PaymentConditions/{payment-conditions.interface.ts → invoices.payment-conditions.interface.ts} +2 -2
  211. package/src/invoices/Sellers/CreateSingle/Request.ts +2 -2
  212. package/src/invoices/Sellers/DeleteMany/Request.ts +3 -0
  213. package/src/invoices/Sellers/GetMany/Response.ts +1 -1
  214. package/src/invoices/Sellers/GetSingle/Response.ts +1 -1
  215. package/src/invoices/Sellers/UpdateMany/Request.ts +6 -2
  216. package/src/invoices/Sellers/UpdateManyStatuses/Request.ts +1 -1
  217. package/src/invoices/Sellers/UpdateSingle/Request.ts +2 -2
  218. package/src/invoices/Sellers/UpdateSingleStatus/Request.ts +3 -3
  219. package/src/invoices/Sellers/index.ts +1 -0
  220. package/src/invoices/Sellers/{sellers.interface.ts → invoices.sellers.interface.ts} +2 -2
  221. package/src/invoices/Statuses/GetMany/Response.ts +2 -5
  222. package/src/invoices/Statuses/GetSingle/Response.ts +3 -0
  223. package/src/invoices/Statuses/index.ts +1 -2
  224. package/src/invoices/Statuses/invoices.statuses.interfaces.ts +7 -0
  225. package/src/invoices/Zones/CreateSingle/Request.ts +2 -2
  226. package/src/invoices/Zones/DeleteMany/Request.ts +3 -0
  227. package/src/invoices/Zones/GetMany/Response.ts +2 -2
  228. package/src/invoices/Zones/GetSingle/Response.ts +1 -1
  229. package/src/invoices/Zones/UpdateMany/Request.ts +5 -1
  230. package/src/invoices/Zones/UpdateManyStatuses/Request.ts +3 -4
  231. package/src/invoices/Zones/UpdateSingle/Request.ts +2 -2
  232. package/src/invoices/Zones/UpdateSingleStatus/Request.ts +3 -3
  233. package/src/invoices/Zones/index.ts +1 -0
  234. package/src/invoices/Zones/invoices.zones.interfaces.ts +8 -0
  235. package/src/services/Services/DeleteMany/Request.ts +2 -2
  236. package/src/services/Services/DeleteMany/Response.ts +3 -3
  237. package/src/services/Services/DeleteSingle/Response.ts +3 -3
  238. package/src/services/Services/GetMany/Request.ts +1 -1
  239. package/src/services/Services/GetMany/Response.ts +1 -1
  240. package/src/services/Services/GetSingle/Response.ts +1 -3
  241. package/src/services/Services/UpdateMany/Request.ts +2 -2
  242. package/src/services/Services/UpdateManyStatuses/Request.ts +2 -2
  243. package/src/services/Services/UpdateManyStatuses/Response.ts +3 -3
  244. package/src/services/Services/UpdateSingle/Response.ts +3 -3
  245. package/src/services/Services/UpdateSingleStatus/Request.ts +1 -1
  246. package/src/services/Services/UpdateSingleStatus/Response.ts +3 -3
  247. package/src/system/Cities/GetMany/Response.ts +1 -3
  248. package/src/system/Cities/GetSingle/Response.ts +3 -4
  249. package/src/system/Cities/system.cities.interfaces.ts +2 -2
  250. package/src/system/Countries/GetMany/Response.ts +1 -3
  251. package/src/system/Countries/GetSingle/Response.ts +3 -4
  252. package/src/system/Countries/system.countries.interfaces.ts +1 -1
  253. package/src/system/NaturalTypes/GetMany/Response.ts +1 -3
  254. package/src/system/NaturalTypes/GetSingle/Response.ts +3 -4
  255. package/src/system/NaturalTypes/system.natural-types.interfaces.ts +7 -0
  256. package/src/system/PersonTypes/GetMany/Response.ts +1 -3
  257. package/src/system/PersonTypes/GetSingle/Response.ts +3 -4
  258. package/src/system/PersonTypes/system.person-types.interfaces.ts +7 -0
  259. package/src/system/SellingTypes/GetMany/Response.ts +1 -3
  260. package/src/system/States/GetMany/Response.ts +1 -3
  261. package/src/system/States/GetSingle/Response.ts +3 -4
  262. package/src/system/States/system.states.interfaces.ts +1 -1
  263. package/src/system/TaxerTypes/GetMany/Response.ts +1 -3
  264. package/src/system/TaxerTypes/GetSingle/Response.ts +3 -4
  265. package/src/system/TaxerTypes/system.taxer-types.interfaces.ts +7 -0
  266. package/lib/invoices/Documents/UpsertMany/Request.d.ts +0 -4
  267. package/lib/invoices/Documents/UpsertMany/Request.js.map +0 -1
  268. package/lib/invoices/Documents/UpsertMany/Response.d.ts +0 -2
  269. package/lib/invoices/Documents/UpsertMany/Response.js.map +0 -1
  270. package/lib/invoices/Documents/UpsertSingle/Request.d.ts +0 -2
  271. package/lib/invoices/Documents/UpsertSingle/Request.js.map +0 -1
  272. package/lib/invoices/Documents/UpsertSingle/Response.js.map +0 -1
  273. package/lib/invoices/Documents/UpsertSingleLayout/Request.d.ts +0 -11
  274. package/lib/invoices/Documents/UpsertSingleLayout/Request.js.map +0 -1
  275. package/lib/invoices/Documents/UpsertSingleLayout/Response.d.ts +0 -2
  276. package/lib/invoices/Documents/UpsertSingleLayout/Response.js.map +0 -1
  277. package/lib/invoices/Documents/documents.interfaces.js +0 -3
  278. package/lib/invoices/Documents/documents.interfaces.js.map +0 -1
  279. package/lib/invoices/PaymentConditions/payment-conditions.interface.js +0 -3
  280. package/lib/invoices/PaymentConditions/payment-conditions.interface.js.map +0 -1
  281. package/lib/invoices/Sellers/sellers.interface.js +0 -3
  282. package/lib/invoices/Sellers/sellers.interface.js.map +0 -1
  283. package/lib/invoices/Statuses/UpdateSingle/Request.d.ts +0 -4
  284. package/lib/invoices/Statuses/UpdateSingle/Request.js.map +0 -1
  285. package/lib/invoices/Statuses/UpdateSingle/Response.d.ts +0 -2
  286. package/lib/invoices/Statuses/UpdateSingle/Response.js.map +0 -1
  287. package/lib/invoices/Statuses/statuses.interfaces.d.ts +0 -4
  288. package/lib/invoices/Statuses/statuses.interfaces.js +0 -3
  289. package/lib/invoices/Statuses/statuses.interfaces.js.map +0 -1
  290. package/lib/invoices/Zones/interfaces.js +0 -3
  291. package/lib/invoices/Zones/interfaces.js.map +0 -1
  292. package/src/invoices/Documents/UpsertMany/Request.ts +0 -5
  293. package/src/invoices/Documents/UpsertMany/Response.ts +0 -3
  294. package/src/invoices/Documents/UpsertSingle/Request.ts +0 -3
  295. package/src/invoices/Documents/UpsertSingleLayout/Request.ts +0 -16
  296. package/src/invoices/Documents/UpsertSingleLayout/Response.ts +0 -3
  297. package/src/invoices/Statuses/UpdateSingle/Request.ts +0 -4
  298. package/src/invoices/Statuses/UpdateSingle/Response.ts +0 -3
  299. package/src/invoices/Statuses/statuses.interfaces.ts +0 -4
  300. package/src/invoices/Zones/interfaces.ts +0 -8
  301. /package/lib/invoices/Documents/{UpsertMany → CreateMany}/Request.js +0 -0
  302. /package/lib/invoices/Documents/{UpsertMany → CreateMany}/Response.js +0 -0
  303. /package/lib/invoices/Documents/{UpsertSingle → CreateSingle}/Request.js +0 -0
  304. /package/lib/invoices/Documents/{UpsertSingle → CreateSingle}/Response.js +0 -0
  305. /package/lib/invoices/Documents/{UpsertSingleLayout → UpdateMany}/Request.js +0 -0
  306. /package/lib/invoices/Documents/{UpsertSingleLayout → UpdateMany}/Response.js +0 -0
  307. /package/lib/invoices/{Statuses → Documents}/UpdateSingle/Request.js +0 -0
  308. /package/lib/invoices/Documents/{UpsertSingle → UpdateSingle}/Response.d.ts +0 -0
  309. /package/lib/invoices/{Statuses → Documents}/UpdateSingle/Response.js +0 -0
  310. /package/src/invoices/Documents/{UpsertSingle → UpdateSingle}/Response.ts +0 -0
@@ -1,4 +1,2 @@
1
- export type CustomersBranchesCreateManyResponse = {
2
- ids: string[];
3
- message: string;
4
- };
1
+ import { ManyResponse } from '../../../interfaces';
2
+ export type CustomersBranchesCreateManyResponse = ManyResponse;
@@ -1,4 +1,2 @@
1
- export type CustomersBranchesCreateSingleResponse = {
2
- id: string;
3
- message: string;
4
- };
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type CustomersBranchesCreateSingleResponse = SingleResponse;
@@ -1,3 +1,3 @@
1
1
  export type CustomersBranchesDeleteManyRequest = {
2
- ids: string[];
2
+ ids: Array<string>;
3
3
  };
@@ -1,4 +1,2 @@
1
- export type CustomersBranchesDeleteManyResponse = {
2
- ids: string[];
3
- message: string;
4
- };
1
+ import { ManyResponse } from '../../../interfaces';
2
+ export type CustomersBranchesDeleteManyResponse = ManyResponse;
@@ -1,4 +1,2 @@
1
- export type CustomersBranchesDeleteSingleResponse = {
2
- id: string;
3
- message: string;
4
- };
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type CustomersBranchesDeleteSingleResponse = SingleResponse;
@@ -1,5 +1,5 @@
1
1
  import { GetManyResponse } from '../../../interfaces';
2
2
  import { CustomersBranchesResponse } from '../customers.branches.interfaces';
3
3
  export type CustomersBranchesGetManyResponse = GetManyResponse & {
4
- data: CustomersBranchesResponse[];
4
+ data: Array<CustomersBranchesResponse>;
5
5
  };
@@ -1,2 +1,4 @@
1
1
  import { CustomersBranchesUpdateSingleRequest } from '../UpdateSingle/Request';
2
- export type CustomersBranchesUpdateManyRequest = Array<CustomersBranchesUpdateSingleRequest>;
2
+ export type CustomersBranchesUpdateManyRequest = Array<CustomersBranchesUpdateSingleRequest & {
3
+ id: string;
4
+ }>;
@@ -1,4 +1,2 @@
1
- export type CustomersBranchesUpdateManyResponse = {
2
- ids: string[];
3
- message: string;
4
- };
1
+ import { ManyResponse } from '../../../interfaces';
2
+ export type CustomersBranchesUpdateManyResponse = ManyResponse;
@@ -1,4 +1,2 @@
1
- export type CustomersBranchesUpdateSingleResponse = {
2
- id: string;
3
- message: string;
4
- };
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type CustomersBranchesUpdateSingleResponse = SingleResponse;
@@ -1,4 +1,2 @@
1
- export type CustomersBranchesUpdateSingleDefaultResponse = {
2
- id: string;
3
- message: string;
4
- };
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type CustomersBranchesUpdateSingleDefaultResponse = SingleResponse;
@@ -2,11 +2,11 @@ import { SystemCities } from '../../system/Cities/system.cities.interfaces';
2
2
  import { SystemCountries } from '../../system/Countries/system.countries.interfaces';
3
3
  import { SystemStates } from '../../system/States/system.states.interfaces';
4
4
  import { Customers } from '../Customers/customers.interfaces';
5
- export interface CustomerBranchesContactInfo {
6
- phones: string[];
7
- emails: string[];
8
- }
9
- export interface CustomersBranches {
5
+ export type CustomerBranchesContactInfo = {
6
+ phones: Array<string>;
7
+ emails: Array<string>;
8
+ };
9
+ export type CustomersBranches = {
10
10
  id: string;
11
11
  name: string;
12
12
  contactName: string;
@@ -19,7 +19,7 @@ export interface CustomersBranches {
19
19
  city: SystemCities;
20
20
  country: SystemCountries;
21
21
  state: SystemStates;
22
- }
22
+ };
23
23
  export type CustomersBranchesRequest = Omit<CustomersBranches, 'id' | 'city' | 'country' | 'state' | 'customer'> & {
24
24
  customer: string;
25
25
  city: number;
@@ -1,4 +1,2 @@
1
1
  import { CustomersCreateSingleRequest } from '../CreateSingle/Request';
2
- export type CustomersCreateManyRequest = {
3
- data: CustomersCreateSingleRequest[];
4
- };
2
+ export type CustomersCreateManyRequest = Array<CustomersCreateSingleRequest>;
@@ -1,4 +1,2 @@
1
- export interface CustomersCreateManyResponse {
2
- ids: string[];
3
- message: string;
4
- }
1
+ import { ManyResponse } from '../../../interfaces';
2
+ export type CustomersCreateManyResponse = ManyResponse;
@@ -1,4 +1,2 @@
1
- export interface CustomersCreateSingleResponse {
2
- id: string;
3
- message: string;
4
- }
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type CustomersCreateSingleResponse = SingleResponse;
@@ -1,3 +1,3 @@
1
- export interface CustomersDeleteManyRequest {
2
- ids: string[];
3
- }
1
+ export type CustomersDeleteManyRequest = {
2
+ ids: Array<string>;
3
+ };
@@ -1,4 +1,2 @@
1
- export interface CustomersDeleteManyResponse {
2
- ids: string[];
3
- message: string;
4
- }
1
+ import { ManyResponse } from '../../../interfaces';
2
+ export type CustomersDeleteManyResponse = ManyResponse;
@@ -1,4 +1,2 @@
1
- export interface CustomersDeleteSingleResponse {
2
- id: string;
3
- message: string;
4
- }
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type CustomersDeleteSingleResponse = SingleResponse;
@@ -1,5 +1,5 @@
1
1
  import { GetManyResponse } from '../../../interfaces';
2
2
  import { CustomersResponse } from '../customers.interfaces';
3
3
  export type CustomerGetManyResponse = GetManyResponse & {
4
- data: CustomersResponse[];
4
+ data: Array<CustomersResponse>;
5
5
  };
@@ -1,4 +1,2 @@
1
1
  import { CustomersResponse } from '../customers.interfaces';
2
- export interface CustomersGetSingleResponse {
3
- data: CustomersResponse;
4
- }
2
+ export type CustomersGetSingleResponse = CustomersResponse;
@@ -1,4 +1,4 @@
1
1
  import { CustomersUpdateSingleRequest } from '../UpdateSingle/Request';
2
- export interface CustomersUpdateManyRequest {
3
- data: CustomersUpdateSingleRequest[];
4
- }
2
+ export type CustomersUpdateManyRequest = Array<CustomersUpdateSingleRequest & {
3
+ id: string;
4
+ }>;
@@ -1,4 +1,2 @@
1
- export interface CustomersUpdateManyResponse {
2
- ids: string[];
3
- message: string;
4
- }
1
+ import { ManyResponse } from '../../../interfaces';
2
+ export type CustomersUpdateManyResponse = ManyResponse;
@@ -1,4 +1,4 @@
1
- export interface CustomerUpdateManyStatusesRequest {
2
- ids: string[];
1
+ export type CustomerUpdateManyStatusesRequest = {
2
+ ids: Array<string>;
3
3
  active: boolean;
4
- }
4
+ };
@@ -1,4 +1,2 @@
1
- export interface CustomersUpdateManyStatusesResponse {
2
- ids: string[];
3
- message: string;
4
- }
1
+ import { ManyResponse } from '../../../interfaces';
2
+ export type CustomersUpdateManyStatusesResponse = ManyResponse;
@@ -1,4 +1,2 @@
1
- export interface CustomersUpdateSingleResponse {
2
- id: string;
3
- message: string;
4
- }
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type CustomersUpdateSingleResponse = SingleResponse;
@@ -1,3 +1,3 @@
1
- export interface CustomersUpdateSingleStatusRequest {
1
+ export type CustomersUpdateSingleStatusRequest = {
2
2
  active: boolean;
3
- }
3
+ };
@@ -1,4 +1,2 @@
1
- export interface CustomersUpdateSingleStatusResponse {
2
- id: string;
3
- message: string;
4
- }
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type CustomersUpdateSingleStatusResponse = SingleResponse;
@@ -3,7 +3,7 @@ import { SystemPersonTypeGetSingleResponse } from '../../system/PersonTypes/GetS
3
3
  import { SystemSellingTypeGetSingleResponse } from '../../system/SellingTypes/GetSingle/Response';
4
4
  import { SystemTaxerTypesGetSingleResponse } from '../../system/TaxerTypes/GetSingle/Response';
5
5
  import { CustomersBranchesCreateSingleRequest } from '../Branches';
6
- export interface Customers {
6
+ export type Customers = {
7
7
  id: string;
8
8
  name: string;
9
9
  name1?: string;
@@ -29,7 +29,7 @@ export interface Customers {
29
29
  personType: SystemPersonTypeGetSingleResponse;
30
30
  customerType: SystemSellingTypeGetSingleResponse;
31
31
  customerTypeNatural: SystemNaturalTypesGetSingleResponse;
32
- }
32
+ };
33
33
  export type CustomersRequest = Omit<Customers, 'id' | 'customerTaxerType' | 'personType' | 'customerType' | 'customerTypeNatural'> & {
34
34
  customerTaxerType: number;
35
35
  personType: number;
@@ -1,20 +1,20 @@
1
- export interface GetManyRequest {
1
+ export type GetManyRequest = {
2
2
  limit?: number;
3
3
  page?: number;
4
4
  search?: string;
5
5
  prop?: string;
6
6
  order?: string;
7
- }
8
- export interface GetManyResponse {
7
+ };
8
+ export type GetManyResponse = {
9
9
  count: number;
10
10
  page: number;
11
11
  limit: number;
12
- }
13
- export interface SingleResponse {
12
+ };
13
+ export type SingleResponse = {
14
14
  id: string;
15
15
  message: string;
16
- }
17
- export interface ManyResponse {
18
- ids: string[];
16
+ };
17
+ export type ManyResponse = {
18
+ ids: Array<string>;
19
19
  message: string;
20
- }
20
+ };
@@ -0,0 +1,2 @@
1
+ import { InvoicesDocumentsCreateSingleRequest } from '../CreateSingle/Request';
2
+ export type InvoicesDocumentsCreateManyRequest = Array<InvoicesDocumentsCreateSingleRequest>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/invoices/Documents/CreateMany/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { ManyResponse } from '../../../interfaces';
2
+ export type InvoicesDocumentsCreateManyResponse = ManyResponse;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/invoices/Documents/CreateMany/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { InvoicesDocumentsRequest } from '../invoices.documents.interfaces';
2
+ export type InvoicesDocumentsCreateSingleRequest = InvoicesDocumentsRequest;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/invoices/Documents/CreateSingle/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type InvoicesDocumentsCreateSingleResponse = SingleResponse;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/invoices/Documents/CreateSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  import { GetManyResponse } from '../../../interfaces';
2
- import { InvoicesDocumentsResponse } from '../documents.interfaces';
2
+ import { InvoicesDocumentsResponse } from '../invoices.documents.interfaces';
3
3
  export type InvoicesDocumentsGetManyResponse = GetManyResponse & {
4
- data: InvoicesDocumentsResponse[];
4
+ data: Array<InvoicesDocumentsResponse>;
5
5
  };
@@ -1,4 +1,2 @@
1
- import { InvoicesDocumentsResponse } from '../documents.interfaces';
2
- export interface InvoicesDocumentsGetSingleResponse {
3
- data: InvoicesDocumentsResponse;
4
- }
1
+ import { InvoicesDocumentsResponse } from '../invoices.documents.interfaces';
2
+ export type InvoicesDocumentsGetSingleResponse = InvoicesDocumentsResponse;
@@ -1,29 +1,28 @@
1
- export interface InvoicesDocumentsLayoutHelpers {
1
+ export type InvoicesDocumentsLayoutHelpers = {
2
2
  length: number;
3
3
  value: string;
4
4
  type: string;
5
5
  x: number;
6
6
  y: number;
7
- }
8
- export type InvoicesDocumentsHeaderPositionsLayout = InvoicesDocumentsLayoutHelpers;
7
+ };
9
8
  export type InvoicesDocumentsShortPositionsLayout = Omit<InvoicesDocumentsLayoutHelpers, 'y'>;
10
- export interface InvoicesDocumentsDetailsPositionsLayout {
11
- position_y: string;
12
- height: string;
9
+ export type InvoicesDocumentsDetailsPositionsLayout = {
10
+ position_y: number;
11
+ height: number;
13
12
  quantity: InvoicesDocumentsShortPositionsLayout;
14
13
  description: InvoicesDocumentsShortPositionsLayout;
15
14
  price: InvoicesDocumentsShortPositionsLayout;
16
15
  sujeto: InvoicesDocumentsShortPositionsLayout;
17
16
  exento: InvoicesDocumentsShortPositionsLayout;
18
17
  afecto: InvoicesDocumentsShortPositionsLayout;
19
- }
20
- export interface InvoicesDocumentsLayoutSingleResponse {
18
+ };
19
+ export type InvoicesDocumentsLayoutSingleResponse = {
21
20
  configuration: string;
22
21
  resolution: number[];
23
- header: InvoicesDocumentsHeaderPositionsLayout[];
22
+ header: InvoicesDocumentsLayoutHelpers[];
24
23
  details: InvoicesDocumentsDetailsPositionsLayout;
25
24
  totals: Omit<InvoicesDocumentsLayoutHelpers, 'length'>[];
26
25
  fontSizeDetails: number;
27
26
  fontSizeHeader: number;
28
27
  fontSizeTotals: number;
29
- }
28
+ };
@@ -0,0 +1,4 @@
1
+ import { InvoicesDocumentsUpdateSingleRequest } from '../UpdateSingle/Request';
2
+ export type InvoicesDocumentsUpdateManyRequest = Array<InvoicesDocumentsUpdateSingleRequest & {
3
+ id: string;
4
+ }>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/invoices/Documents/UpdateMany/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { ManyResponse } from '../../../interfaces';
2
+ export type InvoicesDocumentsUpdateManyResponse = ManyResponse;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/invoices/Documents/UpdateMany/Response.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- export interface InvoicesDocumentsUpdateManyStatusesRequest {
2
- ids: string[];
1
+ export type InvoicesDocumentsUpdateManyStatusesRequest = {
2
+ ids: Array<string>;
3
3
  active: boolean;
4
- }
4
+ };
@@ -0,0 +1,2 @@
1
+ import { InvoicesDocumentsRequest } from '../invoices.documents.interfaces';
2
+ export type InvoicesDocumentsUpdateSingleRequest = Partial<InvoicesDocumentsRequest>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/invoices/Documents/UpdateSingle/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/invoices/Documents/UpdateSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
- import { InvoicesDocumentsRequest } from '../documents.interfaces';
2
- export type InvoicesDocumentsUpdateSingleStatusRequest = Pick<InvoicesDocumentsRequest, 'active'>;
1
+ export type InvoicesDocumentsUpdateSingleStatusRequest = {
2
+ active: boolean;
3
+ };
@@ -1,14 +1,16 @@
1
+ export * from './CreateMany/Request';
2
+ export * from './CreateMany/Response';
3
+ export * from './CreateSingle/Request';
4
+ export * from './CreateSingle/Response';
1
5
  export * from './GetMany/Request';
2
6
  export * from './GetMany/Response';
3
7
  export * from './GetSingle/Response';
4
8
  export * from './GetSingleLayout/Response';
9
+ export * from './UpdateMany/Request';
10
+ export * from './UpdateMany/Response';
5
11
  export * from './UpdateManyStatuses/Request';
6
12
  export * from './UpdateManyStatuses/Response';
13
+ export * from './UpdateSingle/Request';
14
+ export * from './UpdateSingle/Response';
7
15
  export * from './UpdateSingleStatus/Request';
8
16
  export * from './UpdateSingleStatus/Response';
9
- export * from './UpsertMany/Request';
10
- export * from './UpsertMany/Response';
11
- export * from './UpsertSingle/Request';
12
- export * from './UpsertSingle/Response';
13
- export * from './UpsertSingleLayout/Request';
14
- export * from './UpsertSingleLayout/Response';
@@ -14,18 +14,20 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./CreateMany/Request"), exports);
18
+ __exportStar(require("./CreateMany/Response"), exports);
19
+ __exportStar(require("./CreateSingle/Request"), exports);
20
+ __exportStar(require("./CreateSingle/Response"), exports);
17
21
  __exportStar(require("./GetMany/Request"), exports);
18
22
  __exportStar(require("./GetMany/Response"), exports);
19
23
  __exportStar(require("./GetSingle/Response"), exports);
20
24
  __exportStar(require("./GetSingleLayout/Response"), exports);
25
+ __exportStar(require("./UpdateMany/Request"), exports);
26
+ __exportStar(require("./UpdateMany/Response"), exports);
21
27
  __exportStar(require("./UpdateManyStatuses/Request"), exports);
22
28
  __exportStar(require("./UpdateManyStatuses/Response"), exports);
29
+ __exportStar(require("./UpdateSingle/Request"), exports);
30
+ __exportStar(require("./UpdateSingle/Response"), exports);
23
31
  __exportStar(require("./UpdateSingleStatus/Request"), exports);
24
32
  __exportStar(require("./UpdateSingleStatus/Response"), exports);
25
- __exportStar(require("./UpsertMany/Request"), exports);
26
- __exportStar(require("./UpsertMany/Response"), exports);
27
- __exportStar(require("./UpsertSingle/Request"), exports);
28
- __exportStar(require("./UpsertSingle/Response"), exports);
29
- __exportStar(require("./UpsertSingleLayout/Request"), exports);
30
- __exportStar(require("./UpsertSingleLayout/Response"), exports);
31
33
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Documents/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,6DAA0C;AAC1C,+DAA4C;AAC5C,gEAA6C;AAC7C,+DAA4C;AAC5C,gEAA6C;AAC7C,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,+DAA4C;AAC5C,gEAA6C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Documents/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,6DAA0C;AAC1C,uDAAoC;AACpC,wDAAqC;AACrC,+DAA4C;AAC5C,gEAA6C;AAC7C,yDAAsC;AACtC,0DAAuC;AACvC,+DAA4C;AAC5C,gEAA6C"}
@@ -1,5 +1,5 @@
1
1
  import { InvoicesDocumentTypes } from '../invoices.interfaces';
2
- export interface InvoicesDocuments {
2
+ export type InvoicesDocuments = {
3
3
  id: string;
4
4
  authorization?: string;
5
5
  initial?: number;
@@ -9,6 +9,8 @@ export interface InvoicesDocuments {
9
9
  used: boolean;
10
10
  isCurrentDocument: boolean;
11
11
  documentType: Omit<InvoicesDocumentTypes, 'includeInTaxes, showForNonTaxers'>;
12
- }
13
- export type InvoicesDocumentsRequest = Omit<InvoicesDocuments, 'id'>;
12
+ };
13
+ export type InvoicesDocumentsRequest = Omit<InvoicesDocuments, 'id' | 'active' | 'used' | 'isCurrentDocument' | 'documentType'> & {
14
+ documentType: number;
15
+ };
14
16
  export type InvoicesDocumentsResponse = InvoicesDocuments;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=invoices.documents.interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invoices.documents.interfaces.js","sourceRoot":"","sources":["../../../src/invoices/Documents/invoices.documents.interfaces.ts"],"names":[],"mappings":""}
@@ -3,15 +3,15 @@ import { CustomersResponse } from '../../customers/Customers/customers.interface
3
3
  import { SystemNaturalTypesGetSingleResponse } from '../../system/NaturalTypes/GetSingle/Response';
4
4
  import { SystemPersonTypeGetSingleResponse } from '../../system/PersonTypes/GetSingle/Response';
5
5
  import { InvoicesCalculationsDetailsResponse, InvoicesCalculationsTotalsResponse } from '../Calculation';
6
- import { InvoicesDocumentsResponse } from '../Documents/documents.interfaces';
7
- import { InvoicesPaymentConditionsResponse } from '../PaymentConditions/payment-conditions.interface';
8
- import { InvoicesSellersResponse } from '../Sellers/sellers.interface';
9
- import { InvoicesStatusesResponse } from '../Statuses/statuses.interfaces';
10
- import { InvoicesZones } from '../Zones/interfaces';
6
+ import { InvoicesDocumentsResponse } from '../Documents/invoices.documents.interfaces';
7
+ import { InvoicesPaymentConditionsResponse } from '../PaymentConditions/invoices.payment-conditions.interface';
8
+ import { InvoicesSellersResponse } from '../Sellers/invoices.sellers.interface';
9
+ import { InvoicesStatusesResponse } from '../Statuses/invoices.statuses.interfaces';
10
+ import { InvoicesZones } from '../Zones/invoices.zones.interfaces';
11
11
  import { InvoicesDocumentTypes } from '../invoices.interfaces';
12
12
  export type InvoicesDetails = InvoicesCalculationsDetailsResponse;
13
13
  export type InvoicesTotals = InvoicesCalculationsTotalsResponse;
14
- export interface Invoices {
14
+ export type Invoices = {
15
15
  id: string;
16
16
  authorization: string;
17
17
  sequence: string;
@@ -54,4 +54,4 @@ export interface Invoices {
54
54
  document: InvoicesDocumentsResponse;
55
55
  details: InvoicesDetails[];
56
56
  totals: InvoicesTotals[];
57
- }
57
+ };
@@ -1,4 +1,2 @@
1
1
  import { InvoicesPaymentConditionsCreateSingleRequest } from '../CreateSingle/Request';
2
- export interface InvoicesPaymentConditionsCreateManyRequest {
3
- data: InvoicesPaymentConditionsCreateSingleRequest[];
4
- }
2
+ export type InvoicesPaymentConditionsCreateManyRequest = Array<InvoicesPaymentConditionsCreateSingleRequest>;
@@ -1,2 +1,2 @@
1
- import { InvoicesPaymentConditionsRequest } from '../payment-conditions.interface';
2
- export type InvoicesPaymentConditionsCreateSingleRequest = Omit<InvoicesPaymentConditionsRequest, 'active'>;
1
+ import { InvoicesPaymentConditionsRequest } from '../invoices.payment-conditions.interface';
2
+ export type InvoicesPaymentConditionsCreateSingleRequest = InvoicesPaymentConditionsRequest;
@@ -0,0 +1,3 @@
1
+ export type InvoicesPaymentConditionsDeleteManyRequest = {
2
+ ids: Array<string>;
3
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/invoices/PaymentConditions/DeleteMany/Request.ts"],"names":[],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  import { GetManyResponse } from '../../../interfaces';
2
- import { InvoicesPaymentConditionsResponse } from '../payment-conditions.interface';
2
+ import { InvoicesPaymentConditionsResponse } from '../invoices.payment-conditions.interface';
3
3
  export type InvoicesPaymentsConditionsGetManyResponse = GetManyResponse & {
4
- data: InvoicesPaymentConditionsResponse[];
4
+ data: Array<InvoicesPaymentConditionsResponse>;
5
5
  };
@@ -1,4 +1,2 @@
1
- import { InvoicesPaymentConditionsResponse } from '../payment-conditions.interface';
2
- export interface InvoicesPaymentConditionsGetSingleResponse {
3
- data: InvoicesPaymentConditionsResponse;
4
- }
1
+ import { InvoicesPaymentConditionsResponse } from '../invoices.payment-conditions.interface';
2
+ export type InvoicesPaymentConditionsGetSingleResponse = InvoicesPaymentConditionsResponse;
@@ -1,4 +1,4 @@
1
1
  import { InvoicesPaymentsConditionsUpdateSingleRequest } from '../UpdateSingle/Request';
2
- export interface InvoicesPaymentConditionsUpdateManyRequest {
3
- data: InvoicesPaymentsConditionsUpdateSingleRequest[];
4
- }
2
+ export type InvoicesPaymentConditionsUpdateManyRequest = Array<InvoicesPaymentsConditionsUpdateSingleRequest & {
3
+ id: string;
4
+ }>;
@@ -1,4 +1,4 @@
1
- export interface InvoicesPaymentConditionsUpdateManyStatusesRequest {
2
- ids: string[];
1
+ export type InvoicesPaymentConditionsUpdateManyStatusesRequest = {
2
+ ids: Array<string>;
3
3
  active: boolean;
4
- }
4
+ };
@@ -1,2 +1,2 @@
1
- import { InvoicesPaymentConditionsRequest } from '../payment-conditions.interface';
1
+ import { InvoicesPaymentConditionsRequest } from '../invoices.payment-conditions.interface';
2
2
  export type InvoicesPaymentsConditionsUpdateSingleRequest = Partial<InvoicesPaymentConditionsRequest>;
@@ -1,2 +1,2 @@
1
- import { ManyResponse } from '../../../interfaces';
2
- export type InvoicesPaymentsConditionsUpdateSingleResponse = ManyResponse;
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type InvoicesPaymentsConditionsUpdateSingleResponse = SingleResponse;