@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
1
  import { SystemTaxerTypesGetSingleResponse } from '../GetSingle/Response';
2
- export interface SystemTaxerTypesGetManyResponse {
3
- data: SystemTaxerTypesGetSingleResponse[];
4
- }
2
+ export type SystemTaxerTypesGetManyResponse = Array<SystemTaxerTypesGetSingleResponse>;
@@ -1,4 +1,2 @@
1
- export interface SystemTaxerTypesGetSingleResponse {
2
- id: number;
3
- name: string;
4
- }
1
+ import { SystemTaxerTypesResponse } from '../system.taxer-types.interfaces';
2
+ export type SystemTaxerTypesGetSingleResponse = SystemTaxerTypesResponse;
@@ -0,0 +1,6 @@
1
+ export type SystemTaxerTypes = {
2
+ id: number;
3
+ name: string;
4
+ };
5
+ export type SystemTaxerTypesRequest = Omit<SystemTaxerTypes, 'id'>;
6
+ export type SystemTaxerTypesResponse = SystemTaxerTypes;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=system.taxer-types.interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"system.taxer-types.interfaces.js","sourceRoot":"","sources":["../../../src/system/TaxerTypes/system.taxer-types.interfaces.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.2.18",
3
+ "version": "0.2.20",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -1,4 +1,3 @@
1
- export type CustomersBranchesCreateManyResponse = {
2
- ids: string[]
3
- message: string
4
- }
1
+ import { ManyResponse } from '../../../interfaces'
2
+
3
+ export type CustomersBranchesCreateManyResponse = ManyResponse
@@ -1,4 +1,3 @@
1
- export type CustomersBranchesCreateSingleResponse = {
2
- id: string
3
- message: string
4
- }
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ 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,3 @@
1
- export type CustomersBranchesDeleteManyResponse = {
2
- ids: string[]
3
- message: string
4
- }
1
+ import { ManyResponse } from '../../../interfaces'
2
+
3
+ export type CustomersBranchesDeleteManyResponse = ManyResponse
@@ -1,4 +1,3 @@
1
- export type CustomersBranchesDeleteSingleResponse = {
2
- id: string
3
- message: string
4
- }
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type CustomersBranchesDeleteSingleResponse = SingleResponse
@@ -2,5 +2,5 @@ import { GetManyResponse } from '../../../interfaces'
2
2
  import { CustomersBranchesResponse } from '../customers.branches.interfaces'
3
3
 
4
4
  export type CustomersBranchesGetManyResponse = GetManyResponse & {
5
- data: CustomersBranchesResponse[]
5
+ data: Array<CustomersBranchesResponse>
6
6
  }
@@ -1,3 +1,7 @@
1
1
  import { CustomersBranchesUpdateSingleRequest } from '../UpdateSingle/Request'
2
2
 
3
- export type CustomersBranchesUpdateManyRequest = Array<CustomersBranchesUpdateSingleRequest>
3
+ export type CustomersBranchesUpdateManyRequest = Array<
4
+ CustomersBranchesUpdateSingleRequest & {
5
+ id: string
6
+ }
7
+ >
@@ -1,4 +1,3 @@
1
- export type CustomersBranchesUpdateManyResponse = {
2
- ids: string[]
3
- message: string
4
- }
1
+ import { ManyResponse } from '../../../interfaces'
2
+
3
+ export type CustomersBranchesUpdateManyResponse = ManyResponse
@@ -1,4 +1,3 @@
1
- export type CustomersBranchesUpdateSingleResponse = {
2
- id: string
3
- message: string
4
- }
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type CustomersBranchesUpdateSingleResponse = SingleResponse
@@ -1,4 +1,3 @@
1
- export type CustomersBranchesUpdateSingleDefaultResponse = {
2
- id: string
3
- message: string
4
- }
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type CustomersBranchesUpdateSingleDefaultResponse = SingleResponse
@@ -3,12 +3,12 @@ import { SystemCountries } from '../../system/Countries/system.countries.interfa
3
3
  import { SystemStates } from '../../system/States/system.states.interfaces'
4
4
  import { Customers } from '../Customers/customers.interfaces'
5
5
 
6
- export interface CustomerBranchesContactInfo {
7
- phones: string[]
8
- emails: string[]
6
+ export type CustomerBranchesContactInfo = {
7
+ phones: Array<string>
8
+ emails: Array<string>
9
9
  }
10
10
 
11
- export interface CustomersBranches {
11
+ export type CustomersBranches = {
12
12
  id: string
13
13
  name: string
14
14
  contactName: string
@@ -1,5 +1,3 @@
1
1
  import { CustomersCreateSingleRequest } from '../CreateSingle/Request'
2
2
 
3
- export type CustomersCreateManyRequest = {
4
- data: CustomersCreateSingleRequest[]
5
- }
3
+ export type CustomersCreateManyRequest = Array<CustomersCreateSingleRequest>
@@ -1,4 +1,3 @@
1
- export interface CustomersCreateManyResponse {
2
- ids: string[]
3
- message: string
4
- }
1
+ import { ManyResponse } from '../../../interfaces'
2
+
3
+ export type CustomersCreateManyResponse = ManyResponse
@@ -1,4 +1,3 @@
1
- export interface CustomersCreateSingleResponse {
2
- id: string
3
- message: string
4
- }
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type CustomersCreateSingleResponse = SingleResponse
@@ -1,3 +1,3 @@
1
- export interface CustomersDeleteManyRequest {
2
- ids: string[]
1
+ export type CustomersDeleteManyRequest = {
2
+ ids: Array<string>
3
3
  }
@@ -1,4 +1,3 @@
1
- export interface CustomersDeleteManyResponse {
2
- ids: string[]
3
- message: string
4
- }
1
+ import { ManyResponse } from '../../../interfaces'
2
+
3
+ export type CustomersDeleteManyResponse = ManyResponse
@@ -1,4 +1,3 @@
1
- export interface CustomersDeleteSingleResponse {
2
- id: string
3
- message: string
4
- }
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type CustomersDeleteSingleResponse = SingleResponse
@@ -2,5 +2,5 @@ import { GetManyResponse } from '../../../interfaces'
2
2
  import { CustomersResponse } from '../customers.interfaces'
3
3
 
4
4
  export type CustomerGetManyResponse = GetManyResponse & {
5
- data: CustomersResponse[]
5
+ data: Array<CustomersResponse>
6
6
  }
@@ -1,5 +1,3 @@
1
1
  import { CustomersResponse } from '../customers.interfaces'
2
2
 
3
- export interface CustomersGetSingleResponse {
4
- data: CustomersResponse
5
- }
3
+ export type CustomersGetSingleResponse = CustomersResponse
@@ -1,5 +1,7 @@
1
1
  import { CustomersUpdateSingleRequest } from '../UpdateSingle/Request'
2
2
 
3
- export interface CustomersUpdateManyRequest {
4
- data: CustomersUpdateSingleRequest[]
5
- }
3
+ export type CustomersUpdateManyRequest = Array<
4
+ CustomersUpdateSingleRequest & {
5
+ id: string
6
+ }
7
+ >
@@ -1,4 +1,3 @@
1
- export interface CustomersUpdateManyResponse {
2
- ids: string[]
3
- message: string
4
- }
1
+ import { ManyResponse } from '../../../interfaces'
2
+
3
+ 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,3 @@
1
- export interface CustomersUpdateManyStatusesResponse {
2
- ids: string[]
3
- message: string
4
- }
1
+ import { ManyResponse } from '../../../interfaces'
2
+
3
+ export type CustomersUpdateManyStatusesResponse = ManyResponse
@@ -1,4 +1,3 @@
1
- export interface CustomersUpdateSingleResponse {
2
- id: string
3
- message: string
4
- }
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ 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,3 @@
1
- export interface CustomersUpdateSingleStatusResponse {
2
- id: string
3
- message: string
4
- }
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type CustomersUpdateSingleStatusResponse = SingleResponse
@@ -4,7 +4,7 @@ import { SystemSellingTypeGetSingleResponse } from '../../system/SellingTypes/Ge
4
4
  import { SystemTaxerTypesGetSingleResponse } from '../../system/TaxerTypes/GetSingle/Response'
5
5
  import { CustomersBranchesCreateSingleRequest } from '../Branches'
6
6
 
7
- export interface Customers {
7
+ export type Customers = {
8
8
  id: string
9
9
  name: string
10
10
  name1?: string
package/src/interfaces.ts CHANGED
@@ -1,4 +1,4 @@
1
- export interface GetManyRequest {
1
+ export type GetManyRequest = {
2
2
  limit?: number
3
3
  page?: number
4
4
  search?: string
@@ -6,18 +6,18 @@ export interface GetManyRequest {
6
6
  order?: string
7
7
  }
8
8
 
9
- export interface GetManyResponse {
9
+ export type GetManyResponse = {
10
10
  count: number
11
11
  page: number
12
12
  limit: number
13
13
  }
14
14
 
15
- export interface SingleResponse {
15
+ export type SingleResponse = {
16
16
  id: string
17
17
  message: string
18
18
  }
19
19
 
20
- export interface ManyResponse {
21
- ids: string[]
20
+ export type ManyResponse = {
21
+ ids: Array<string>
22
22
  message: string
23
23
  }
@@ -0,0 +1,3 @@
1
+ import { InvoicesDocumentsCreateSingleRequest } from '../CreateSingle/Request'
2
+
3
+ export type InvoicesDocumentsCreateManyRequest = Array<InvoicesDocumentsCreateSingleRequest>
@@ -0,0 +1,3 @@
1
+ import { ManyResponse } from '../../../interfaces'
2
+
3
+ export type InvoicesDocumentsCreateManyResponse = ManyResponse
@@ -0,0 +1,3 @@
1
+ import { InvoicesDocumentsRequest } from '../invoices.documents.interfaces'
2
+
3
+ export type InvoicesDocumentsCreateSingleRequest = InvoicesDocumentsRequest
@@ -0,0 +1,3 @@
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type InvoicesDocumentsCreateSingleResponse = SingleResponse
@@ -1,6 +1,6 @@
1
1
  import { GetManyResponse } from '../../../interfaces'
2
- import { InvoicesDocumentsResponse } from '../documents.interfaces'
2
+ import { InvoicesDocumentsResponse } from '../invoices.documents.interfaces'
3
3
 
4
4
  export type InvoicesDocumentsGetManyResponse = GetManyResponse & {
5
- data: InvoicesDocumentsResponse[]
5
+ data: Array<InvoicesDocumentsResponse>
6
6
  }
@@ -1,5 +1,3 @@
1
- import { InvoicesDocumentsResponse } from '../documents.interfaces'
1
+ import { InvoicesDocumentsResponse } from '../invoices.documents.interfaces'
2
2
 
3
- export interface InvoicesDocumentsGetSingleResponse {
4
- data: InvoicesDocumentsResponse
5
- }
3
+ export type InvoicesDocumentsGetSingleResponse = InvoicesDocumentsResponse
@@ -1,4 +1,4 @@
1
- export interface InvoicesDocumentsLayoutHelpers {
1
+ export type InvoicesDocumentsLayoutHelpers = {
2
2
  length: number
3
3
  value: string
4
4
  type: string
@@ -6,13 +6,11 @@ export interface InvoicesDocumentsLayoutHelpers {
6
6
  y: number
7
7
  }
8
8
 
9
- export type InvoicesDocumentsHeaderPositionsLayout = InvoicesDocumentsLayoutHelpers
10
-
11
9
  export type InvoicesDocumentsShortPositionsLayout = Omit<InvoicesDocumentsLayoutHelpers, 'y'>
12
10
 
13
- export interface InvoicesDocumentsDetailsPositionsLayout {
14
- position_y: string
15
- height: string
11
+ export type InvoicesDocumentsDetailsPositionsLayout = {
12
+ position_y: number
13
+ height: number
16
14
  quantity: InvoicesDocumentsShortPositionsLayout
17
15
  description: InvoicesDocumentsShortPositionsLayout
18
16
  price: InvoicesDocumentsShortPositionsLayout
@@ -21,10 +19,10 @@ export interface InvoicesDocumentsDetailsPositionsLayout {
21
19
  afecto: InvoicesDocumentsShortPositionsLayout
22
20
  }
23
21
 
24
- export interface InvoicesDocumentsLayoutSingleResponse {
22
+ export type InvoicesDocumentsLayoutSingleResponse = {
25
23
  configuration: string
26
24
  resolution: number[]
27
- header: InvoicesDocumentsHeaderPositionsLayout[]
25
+ header: InvoicesDocumentsLayoutHelpers[]
28
26
  details: InvoicesDocumentsDetailsPositionsLayout
29
27
  totals: Omit<InvoicesDocumentsLayoutHelpers, 'length'>[]
30
28
  fontSizeDetails: number
@@ -0,0 +1,7 @@
1
+ import { InvoicesDocumentsUpdateSingleRequest } from '../UpdateSingle/Request'
2
+
3
+ export type InvoicesDocumentsUpdateManyRequest = Array<
4
+ InvoicesDocumentsUpdateSingleRequest & {
5
+ id: string
6
+ }
7
+ >
@@ -0,0 +1,3 @@
1
+ import { ManyResponse } from '../../../interfaces'
2
+
3
+ export type InvoicesDocumentsUpdateManyResponse = ManyResponse
@@ -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,3 @@
1
+ import { InvoicesDocumentsRequest } from '../invoices.documents.interfaces'
2
+
3
+ export type InvoicesDocumentsUpdateSingleRequest = Partial<InvoicesDocumentsRequest>
@@ -1,3 +1,3 @@
1
- import { InvoicesDocumentsRequest } from '../documents.interfaces'
2
-
3
- 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'
@@ -1,6 +1,6 @@
1
1
  import { InvoicesDocumentTypes } from '../invoices.interfaces'
2
2
 
3
- export interface InvoicesDocuments {
3
+ export type InvoicesDocuments = {
4
4
  id: string
5
5
  authorization?: string
6
6
  initial?: number
@@ -12,6 +12,11 @@ export interface InvoicesDocuments {
12
12
  documentType: Omit<InvoicesDocumentTypes, 'includeInTaxes, showForNonTaxers'>
13
13
  }
14
14
 
15
- export type InvoicesDocumentsRequest = Omit<InvoicesDocuments, 'id'>
15
+ export type InvoicesDocumentsRequest = Omit<
16
+ InvoicesDocuments,
17
+ 'id' | 'active' | 'used' | 'isCurrentDocument' | 'documentType'
18
+ > & {
19
+ documentType: number
20
+ }
16
21
 
17
22
  export type InvoicesDocumentsResponse = InvoicesDocuments
@@ -6,17 +6,17 @@ import {
6
6
  InvoicesCalculationsDetailsResponse,
7
7
  InvoicesCalculationsTotalsResponse,
8
8
  } from '../Calculation'
9
- import { InvoicesDocumentsResponse } from '../Documents/documents.interfaces'
10
- import { InvoicesPaymentConditionsResponse } from '../PaymentConditions/payment-conditions.interface'
11
- import { InvoicesSellersResponse } from '../Sellers/sellers.interface'
12
- import { InvoicesStatusesResponse } from '../Statuses/statuses.interfaces'
13
- import { InvoicesZones } from '../Zones/interfaces'
9
+ import { InvoicesDocumentsResponse } from '../Documents/invoices.documents.interfaces'
10
+ import { InvoicesPaymentConditionsResponse } from '../PaymentConditions/invoices.payment-conditions.interface'
11
+ import { InvoicesSellersResponse } from '../Sellers/invoices.sellers.interface'
12
+ import { InvoicesStatusesResponse } from '../Statuses/invoices.statuses.interfaces'
13
+ import { InvoicesZones } from '../Zones/invoices.zones.interfaces'
14
14
  import { InvoicesDocumentTypes } from '../invoices.interfaces'
15
15
 
16
16
  export type InvoicesDetails = InvoicesCalculationsDetailsResponse
17
17
  export type InvoicesTotals = InvoicesCalculationsTotalsResponse
18
18
 
19
- export interface Invoices {
19
+ export type Invoices = {
20
20
  id: string
21
21
  authorization: string
22
22
  sequence: string
@@ -1,5 +1,4 @@
1
1
  import { InvoicesPaymentConditionsCreateSingleRequest } from '../CreateSingle/Request'
2
2
 
3
- export interface InvoicesPaymentConditionsCreateManyRequest {
4
- data: InvoicesPaymentConditionsCreateSingleRequest[]
5
- }
3
+ export type InvoicesPaymentConditionsCreateManyRequest =
4
+ Array<InvoicesPaymentConditionsCreateSingleRequest>
@@ -1,6 +1,3 @@
1
- import { InvoicesPaymentConditionsRequest } from '../payment-conditions.interface'
1
+ import { InvoicesPaymentConditionsRequest } from '../invoices.payment-conditions.interface'
2
2
 
3
- export type InvoicesPaymentConditionsCreateSingleRequest = Omit<
4
- InvoicesPaymentConditionsRequest,
5
- 'active'
6
- >
3
+ export type InvoicesPaymentConditionsCreateSingleRequest = InvoicesPaymentConditionsRequest
@@ -0,0 +1,3 @@
1
+ export type InvoicesPaymentConditionsDeleteManyRequest = {
2
+ ids: Array<string>
3
+ }
@@ -1,6 +1,6 @@
1
1
  import { GetManyResponse } from '../../../interfaces'
2
- import { InvoicesPaymentConditionsResponse } from '../payment-conditions.interface'
2
+ import { InvoicesPaymentConditionsResponse } from '../invoices.payment-conditions.interface'
3
3
 
4
4
  export type InvoicesPaymentsConditionsGetManyResponse = GetManyResponse & {
5
- data: InvoicesPaymentConditionsResponse[]
5
+ data: Array<InvoicesPaymentConditionsResponse>
6
6
  }
@@ -1,5 +1,3 @@
1
- import { InvoicesPaymentConditionsResponse } from '../payment-conditions.interface'
1
+ import { InvoicesPaymentConditionsResponse } from '../invoices.payment-conditions.interface'
2
2
 
3
- export interface InvoicesPaymentConditionsGetSingleResponse {
4
- data: InvoicesPaymentConditionsResponse
5
- }
3
+ export type InvoicesPaymentConditionsGetSingleResponse = InvoicesPaymentConditionsResponse
@@ -1,5 +1,7 @@
1
1
  import { InvoicesPaymentsConditionsUpdateSingleRequest } from '../UpdateSingle/Request'
2
2
 
3
- export interface InvoicesPaymentConditionsUpdateManyRequest {
4
- data: InvoicesPaymentsConditionsUpdateSingleRequest[]
5
- }
3
+ export type InvoicesPaymentConditionsUpdateManyRequest = Array<
4
+ InvoicesPaymentsConditionsUpdateSingleRequest & {
5
+ id: string
6
+ }
7
+ >
@@ -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,4 +1,4 @@
1
- import { InvoicesPaymentConditionsRequest } from '../payment-conditions.interface'
1
+ import { InvoicesPaymentConditionsRequest } from '../invoices.payment-conditions.interface'
2
2
 
3
3
  export type InvoicesPaymentsConditionsUpdateSingleRequest =
4
4
  Partial<InvoicesPaymentConditionsRequest>
@@ -1,3 +1,3 @@
1
- import { ManyResponse } from '../../../interfaces'
1
+ import { SingleResponse } from '../../../interfaces'
2
2
 
3
- export type InvoicesPaymentsConditionsUpdateSingleResponse = ManyResponse
3
+ export type InvoicesPaymentsConditionsUpdateSingleResponse = SingleResponse
@@ -1,3 +1,3 @@
1
- export interface InvoicesPaymentsConditionsUpdateSingleStatusRequest {
1
+ export type InvoicesPaymentsConditionsUpdateSingleStatusRequest = {
2
2
  active: boolean
3
3
  }
@@ -1,4 +1,3 @@
1
- export interface InvoicesPaymentsConditionsUpdateSingleStatusResponse {
2
- id: string
3
- message: string
4
- }
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type InvoicesPaymentsConditionsUpdateSingleStatusResponse = SingleResponse
@@ -2,6 +2,7 @@ export * from './CreateMany/Request'
2
2
  export * from './CreateMany/Response'
3
3
  export * from './CreateSingle/Request'
4
4
  export * from './CreateSingle/Response'
5
+ export * from './DeleteMany/Request'
5
6
  export * from './DeleteMany/Response'
6
7
  export * from './DeleteSingle/Response'
7
8
  export * from './GetMany/Request'
@@ -1,10 +1,10 @@
1
- export interface InvoicesPaymentConditons {
1
+ export type InvoicesPaymentConditons = {
2
2
  id: string
3
3
  name: string
4
4
  active: boolean
5
5
  cashPayment: boolean
6
6
  }
7
7
 
8
- export type InvoicesPaymentConditionsRequest = Omit<InvoicesPaymentConditons, 'id'>
8
+ export type InvoicesPaymentConditionsRequest = Omit<InvoicesPaymentConditons, 'id' | 'active'>
9
9
 
10
10
  export type InvoicesPaymentConditionsResponse = InvoicesPaymentConditons