@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,3 +1,3 @@
1
- export interface InvoicesPaymentsConditionsUpdateSingleStatusRequest {
1
+ export type InvoicesPaymentsConditionsUpdateSingleStatusRequest = {
2
2
  active: boolean;
3
- }
3
+ };
@@ -1,4 +1,2 @@
1
- export interface InvoicesPaymentsConditionsUpdateSingleStatusResponse {
2
- id: string;
3
- message: string;
4
- }
1
+ import { SingleResponse } from '../../../interfaces';
2
+ 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';
@@ -18,6 +18,7 @@ __exportStar(require("./CreateMany/Request"), exports);
18
18
  __exportStar(require("./CreateMany/Response"), exports);
19
19
  __exportStar(require("./CreateSingle/Request"), exports);
20
20
  __exportStar(require("./CreateSingle/Response"), exports);
21
+ __exportStar(require("./DeleteMany/Request"), exports);
21
22
  __exportStar(require("./DeleteMany/Response"), exports);
22
23
  __exportStar(require("./DeleteSingle/Response"), exports);
23
24
  __exportStar(require("./GetMany/Request"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/PaymentConditions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,wDAAqC;AACrC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,uDAAoC;AACpC,wDAAqC;AACrC,+DAA4C;AAC5C,gEAA6C;AAC7C,yDAAsC;AACtC,0DAAuC;AACvC,+DAA4C;AAC5C,gEAA6C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/PaymentConditions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,uDAAoC;AACpC,wDAAqC;AACrC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,uDAAoC;AACpC,wDAAqC;AACrC,+DAA4C;AAC5C,gEAA6C;AAC7C,yDAAsC;AACtC,0DAAuC;AACvC,+DAA4C;AAC5C,gEAA6C"}
@@ -1,8 +1,8 @@
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
- }
7
- export type InvoicesPaymentConditionsRequest = Omit<InvoicesPaymentConditons, 'id'>;
6
+ };
7
+ export type InvoicesPaymentConditionsRequest = Omit<InvoicesPaymentConditons, 'id' | 'active'>;
8
8
  export type InvoicesPaymentConditionsResponse = InvoicesPaymentConditons;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=invoices.payment-conditions.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invoices.payment-conditions.interface.js","sourceRoot":"","sources":["../../../src/invoices/PaymentConditions/invoices.payment-conditions.interface.ts"],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- import { InvoicesSellersRequest } from '../sellers.interface';
2
- export type InvoicesSellersCreateSingleRequest = Omit<InvoicesSellersRequest, 'active'>;
1
+ import { InvoicesSellersRequest } from '../invoices.sellers.interface';
2
+ export type InvoicesSellersCreateSingleRequest = InvoicesSellersRequest;
@@ -0,0 +1,3 @@
1
+ export type InvoicesSellersDeleteManyRequest = {
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/Sellers/DeleteMany/Request.ts"],"names":[],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  import { GetManyResponse } from '../../../interfaces';
2
- import { InvoicesSellersResponse } from '../sellers.interface';
2
+ import { InvoicesSellersResponse } from '../invoices.sellers.interface';
3
3
  export type InvoicesSellerGetManyResponse = GetManyResponse & {
4
4
  data: Array<InvoicesSellersResponse>;
5
5
  };
@@ -1,2 +1,2 @@
1
- import { InvoicesSellersResponse } from '../sellers.interface';
1
+ import { InvoicesSellersResponse } from '../invoices.sellers.interface';
2
2
  export type InvoicesSellersGetSingleResponse = InvoicesSellersResponse;
@@ -1,2 +1,4 @@
1
- import { InvoicesSellersUpdateSingleStatusRequest } from '../UpdateSingleStatus/Request';
2
- export type InvoicesSellersUpdateManyRequest = Array<InvoicesSellersUpdateSingleStatusRequest>;
1
+ import { InvoicesSellersUpdateSingleRequest } from '../UpdateSingle/Request';
2
+ export type InvoicesSellersUpdateManyRequest = Array<InvoicesSellersUpdateSingleRequest & {
3
+ id: string;
4
+ }>;
@@ -1,4 +1,4 @@
1
1
  export type InvoicesSellersUpdateManyStatusesRequest = {
2
- ids: string[];
2
+ ids: Array<string>;
3
3
  active: boolean;
4
4
  };
@@ -1,2 +1,2 @@
1
- import { InvoicesSellersRequest } from '../sellers.interface';
2
- export type InvoicesSellersUpdateSingleRequest = Omit<Partial<InvoicesSellersRequest>, 'active'>;
1
+ import { InvoicesSellersRequest } from '../invoices.sellers.interface';
2
+ export type InvoicesSellersUpdateSingleRequest = Partial<InvoicesSellersRequest>;
@@ -1,2 +1,3 @@
1
- import { InvoicesSellersRequest } from '../sellers.interface';
2
- export type InvoicesSellersUpdateSingleStatusRequest = Pick<InvoicesSellersRequest, 'active'>;
1
+ export type InvoicesSellersUpdateSingleStatusRequest = {
2
+ active: boolean;
3
+ };
@@ -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';
@@ -18,6 +18,7 @@ __exportStar(require("./CreateMany/Request"), exports);
18
18
  __exportStar(require("./CreateMany/Response"), exports);
19
19
  __exportStar(require("./CreateSingle/Request"), exports);
20
20
  __exportStar(require("./CreateSingle/Response"), exports);
21
+ __exportStar(require("./DeleteMany/Request"), exports);
21
22
  __exportStar(require("./DeleteMany/Response"), exports);
22
23
  __exportStar(require("./DeleteSingle/Response"), exports);
23
24
  __exportStar(require("./GetMany/Request"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Sellers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,wDAAqC;AACrC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,uDAAoC;AACpC,wDAAqC;AACrC,+DAA4C;AAC5C,gEAA6C;AAC7C,yDAAsC;AACtC,0DAAuC;AACvC,+DAA4C;AAC5C,gEAA6C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Sellers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,uDAAoC;AACpC,wDAAqC;AACrC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,uDAAoC;AACpC,wDAAqC;AACrC,+DAA4C;AAC5C,gEAA6C;AAC7C,yDAAsC;AACtC,0DAAuC;AACvC,+DAA4C;AAC5C,gEAA6C"}
@@ -1,11 +1,11 @@
1
- import { InvoicesZones } from '../Zones/interfaces';
1
+ import { InvoicesZones } from '../Zones/invoices.zones.interfaces';
2
2
  export interface InvoicesSellers {
3
3
  id: string;
4
4
  name: string;
5
5
  active: boolean;
6
6
  invoicesZone: InvoicesZones;
7
7
  }
8
- export type InvoicesSellersRequest = Omit<InvoicesSellers, 'id' | 'invoicesZone'> & {
8
+ export type InvoicesSellersRequest = Omit<InvoicesSellers, 'id' | 'active' | 'invoicesZone'> & {
9
9
  invoicesZone: string;
10
10
  };
11
11
  export type InvoicesSellersResponse = InvoicesSellers;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=invoices.sellers.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invoices.sellers.interface.js","sourceRoot":"","sources":["../../../src/invoices/Sellers/invoices.sellers.interface.ts"],"names":[],"mappings":""}
@@ -1,5 +1,2 @@
1
- import { GetManyResponse } from '../../../interfaces';
2
- import { InvoicesStatusesResponse } from '../statuses.interfaces';
3
- export type InvoicesStatusesGetManyResponse = Pick<GetManyResponse, 'count'> & {
4
- data: InvoicesStatusesResponse[];
5
- };
1
+ import { InvoicesStatusesResponse } from '../invoices.statuses.interfaces';
2
+ export type InvoicesStatusesGetManyResponse = Array<InvoicesStatusesResponse>;
@@ -0,0 +1,2 @@
1
+ import { InvoicesStatusesResponse } from '../invoices.statuses.interfaces';
2
+ export type InvoicesStatusesGetSingleResponse = InvoicesStatusesResponse;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/invoices/Statuses/GetSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,3 +1,2 @@
1
1
  export * from './GetMany/Response';
2
- export * from './UpdateSingle/Request';
3
- export * from './UpdateSingle/Response';
2
+ export * from './GetSingle/Response';
@@ -15,6 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./GetMany/Response"), exports);
18
- __exportStar(require("./UpdateSingle/Request"), exports);
19
- __exportStar(require("./UpdateSingle/Response"), exports);
18
+ __exportStar(require("./GetSingle/Response"), exports);
20
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Statuses/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,yDAAsC;AACtC,0DAAuC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Statuses/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,uDAAoC"}
@@ -0,0 +1,6 @@
1
+ export type InvoicesStatuses = {
2
+ id: number;
3
+ name: string;
4
+ };
5
+ export type InvoicesStatusesRequest = Omit<InvoicesStatuses, 'id'>;
6
+ export type InvoicesStatusesResponse = InvoicesStatuses;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=invoices.statuses.interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invoices.statuses.interfaces.js","sourceRoot":"","sources":["../../../src/invoices/Statuses/invoices.statuses.interfaces.ts"],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- import { InvoicesZonesRequest } from '../interfaces';
2
- export type InvoicesZonesCreateSingleRequest = Pick<InvoicesZonesRequest, 'name'>;
1
+ import { InvoicesZonesRequest } from '../invoices.zones.interfaces';
2
+ export type InvoicesZonesCreateSingleRequest = InvoicesZonesRequest;
@@ -0,0 +1,3 @@
1
+ export type InvoicesZonesDeleteManyResquest = {
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/Zones/DeleteMany/Request.ts"],"names":[],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  import { GetManyResponse } from '../../../interfaces';
2
- import { InvoicesZonesResponse } from '../interfaces';
2
+ import { InvoicesZonesResponse } from '../invoices.zones.interfaces';
3
3
  export type InvoicesZonesGetManyResponse = GetManyResponse & {
4
- data: InvoicesZonesResponse[];
4
+ data: Array<InvoicesZonesResponse>;
5
5
  };
@@ -1,2 +1,2 @@
1
- import { InvoicesZonesResponse } from '../interfaces';
1
+ import { InvoicesZonesResponse } from '../invoices.zones.interfaces';
2
2
  export type InvoicesZonesGetSingleResponse = InvoicesZonesResponse;
@@ -1,2 +1,4 @@
1
1
  import { InvoicesZonesUpdateSingleRequest } from '../UpdateSingle/Request';
2
- export type InvoicesZonesUpdateManyRequest = Array<InvoicesZonesUpdateSingleRequest>;
2
+ export type InvoicesZonesUpdateManyRequest = Array<InvoicesZonesUpdateSingleRequest & {
3
+ id: string;
4
+ }>;
@@ -1,4 +1,4 @@
1
- import { InvoicesZonesRequest } from '../interfaces';
2
- export type InvoicesZonesUpdateManyStatusesRequest = Pick<InvoicesZonesRequest, 'active'> & {
3
- ids: string[];
1
+ export type InvoicesZonesUpdateManyStatusesRequest = {
2
+ ids: Array<string>;
3
+ active: boolean;
4
4
  };
@@ -1,2 +1,2 @@
1
- import { InvoicesZonesRequest } from '../interfaces';
2
- export type InvoicesZonesUpdateSingleRequest = Pick<Partial<InvoicesZonesRequest>, 'name'>;
1
+ import { InvoicesZonesRequest } from '../invoices.zones.interfaces';
2
+ export type InvoicesZonesUpdateSingleRequest = InvoicesZonesRequest;
@@ -1,2 +1,3 @@
1
- import { InvoicesZonesRequest } from '../interfaces';
2
- export type InvoicesZonesUpdateSingleStatusRequest = Pick<InvoicesZonesRequest, 'active'>;
1
+ export type InvoicesZonesUpdateSingleStatusRequest = {
2
+ active: boolean;
3
+ };
@@ -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';
@@ -18,6 +18,7 @@ __exportStar(require("./CreateMany/Request"), exports);
18
18
  __exportStar(require("./CreateMany/Response"), exports);
19
19
  __exportStar(require("./CreateSingle/Request"), exports);
20
20
  __exportStar(require("./CreateSingle/Response"), exports);
21
+ __exportStar(require("./DeleteMany/Request"), exports);
21
22
  __exportStar(require("./DeleteMany/Response"), exports);
22
23
  __exportStar(require("./DeleteSingle/Response"), exports);
23
24
  __exportStar(require("./GetMany/Request"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Zones/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,wDAAqC;AACrC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,uDAAoC;AACpC,wDAAqC;AACrC,+DAA4C;AAC5C,gEAA6C;AAC7C,yDAAsC;AACtC,0DAAuC;AACvC,+DAA4C;AAC5C,gEAA6C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Zones/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,uDAAoC;AACpC,wDAAqC;AACrC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,uDAAoC;AACpC,wDAAqC;AACrC,+DAA4C;AAC5C,gEAA6C;AAC7C,yDAAsC;AACtC,0DAAuC;AACvC,+DAA4C;AAC5C,gEAA6C"}
@@ -1,7 +1,7 @@
1
- export interface InvoicesZones {
1
+ export type InvoicesZones = {
2
2
  id: string;
3
3
  name: string;
4
4
  active: boolean;
5
- }
6
- export type InvoicesZonesRequest = Omit<InvoicesZones, 'id'>;
5
+ };
6
+ export type InvoicesZonesRequest = Omit<InvoicesZones, 'id' | 'active'>;
7
7
  export type InvoicesZonesResponse = InvoicesZones;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=invoices.zones.interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invoices.zones.interfaces.js","sourceRoot":"","sources":["../../../src/invoices/Zones/invoices.zones.interfaces.ts"],"names":[],"mappings":""}
@@ -1,3 +1,3 @@
1
- export interface ServicesDeleteManyRequest {
2
- ids: string[];
3
- }
1
+ export type ServicesDeleteManyRequest = {
2
+ ids: Array<string>;
3
+ };
@@ -1,3 +1,2 @@
1
- export interface ServicesDeleteManyResponse {
2
- message: string;
3
- }
1
+ import { ManyResponse } from '../../../interfaces';
2
+ export type ServicesDeleteManyResponse = ManyResponse;
@@ -1,3 +1,2 @@
1
- export interface ServicesDeleteSingleResponse {
2
- message: string;
3
- }
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type ServicesDeleteSingleResponse = SingleResponse;
@@ -1,6 +1,6 @@
1
1
  import { GetManyRequest } from '../../../interfaces';
2
2
  export type ServicesGetManyRequest = GetManyRequest & {
3
- types?: number[];
3
+ types?: Array<number>;
4
4
  fromAmount?: number;
5
5
  toAmount?: number;
6
6
  active?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { GetManyResponse } from '../../../interfaces';
2
2
  import { ServicesResponse } from '../services.interface';
3
3
  export type ServicesGetManyResponse = GetManyResponse & {
4
- data: ServicesResponse[];
4
+ data: Array<ServicesResponse>;
5
5
  };
@@ -1,4 +1,2 @@
1
1
  import { ServicesResponse } from '../services.interface';
2
- export interface ServicesGetSingleResponse {
3
- data: ServicesResponse;
4
- }
2
+ export type ServicesGetSingleResponse = ServicesResponse;
@@ -1,4 +1,4 @@
1
- import { ServicesRequest } from '../services.interface';
2
- export type ServicesUpdateManyRequest = Array<Partial<ServicesRequest & {
1
+ import { ServicesUpdateSingleRequest } from '../UpdateSingle/Request';
2
+ export type ServicesUpdateManyRequest = Array<ServicesUpdateSingleRequest & {
3
3
  id: string;
4
- }>>;
4
+ }>;
@@ -1,4 +1,4 @@
1
- export interface ServicesUpdateManyStatusesRequest {
2
- ids: string[];
1
+ export type ServicesUpdateManyStatusesRequest = {
2
+ ids: Array<string>;
3
3
  active: boolean;
4
- }
4
+ };
@@ -1,3 +1,2 @@
1
- export interface ServicesUpdateManyStatusResponse {
2
- message: string;
3
- }
1
+ import { ManyResponse } from '../../../interfaces';
2
+ export type ServicesUpdateManyStatusResponse = ManyResponse;
@@ -1,3 +1,2 @@
1
- export interface ServicesUpdateSingleResponse {
2
- message: string;
3
- }
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type ServicesUpdateSingleResponse = SingleResponse;
@@ -1,3 +1,3 @@
1
- export interface ServicesUpdateSingleStatusRequest {
1
+ export type ServicesUpdateSingleStatusRequest = {
2
2
  active: boolean;
3
- }
3
+ };
@@ -1,3 +1,2 @@
1
- export interface ServicesUpdateSingleStatusResponse {
2
- message: string;
3
- }
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type ServicesUpdateSingleStatusResponse = SingleResponse;
@@ -1,4 +1,2 @@
1
1
  import { SystemCitiesGetSingleResponse } from '../GetSingle/Response';
2
- export interface SystemCitiesGetManyResponse {
3
- data: SystemCitiesGetSingleResponse[];
4
- }
2
+ export type SystemCitiesGetManyResponse = Array<SystemCitiesGetSingleResponse>;
@@ -1,4 +1,2 @@
1
- export interface SystemCitiesGetSingleResponse {
2
- id: number;
3
- name: string;
4
- }
1
+ import { SystemCitiesResponse } from '../system.cities.interfaces';
2
+ export type SystemCitiesGetSingleResponse = SystemCitiesResponse;
@@ -1,10 +1,10 @@
1
1
  import { SystemStates } from '../States/system.states.interfaces';
2
- export interface SystemCities {
2
+ export type SystemCities = {
3
3
  id: number;
4
4
  name: string;
5
5
  state: SystemStates;
6
- }
6
+ };
7
7
  export type SystemCitiesRequest = Omit<SystemCities, 'id' | 'state'> & {
8
- country: number;
8
+ state: number;
9
9
  };
10
10
  export type SystemCitiesResponse = SystemCities;
@@ -1,4 +1,2 @@
1
1
  import { SystemCountriesGetSingleReponse } from '../GetSingle/Response';
2
- export interface SystemCountriesGetManyReponse {
3
- data: SystemCountriesGetSingleReponse[];
4
- }
2
+ export type SystemCountriesGetManyReponse = Array<SystemCountriesGetSingleReponse>;
@@ -1,4 +1,2 @@
1
- export interface SystemCountriesGetSingleReponse {
2
- id: number;
3
- name: string;
4
- }
1
+ import { SystemCountriesResponse } from '../system.countries.interfaces';
2
+ export type SystemCountriesGetSingleReponse = SystemCountriesResponse;
@@ -1,6 +1,6 @@
1
- export interface SystemCountries {
1
+ export type SystemCountries = {
2
2
  id: number;
3
3
  name: string;
4
- }
4
+ };
5
5
  export type SystemCountriesRequest = Omit<SystemCountries, 'id'>;
6
6
  export type SystemCountriesResponse = SystemCountries;
@@ -1,4 +1,2 @@
1
1
  import { SystemNaturalTypesGetSingleResponse } from '../GetSingle/Response';
2
- export interface SystemNaturalTypesGetManyResponse {
3
- data: SystemNaturalTypesGetSingleResponse[];
4
- }
2
+ export type SystemNaturalTypesGetManyResponse = Array<SystemNaturalTypesGetSingleResponse>;
@@ -1,4 +1,2 @@
1
- export interface SystemNaturalTypesGetSingleResponse {
2
- id: number;
3
- name: string;
4
- }
1
+ import { SystemNaturalTypesResponse } from '../system.natural-types.interfaces';
2
+ export type SystemNaturalTypesGetSingleResponse = SystemNaturalTypesResponse;
@@ -0,0 +1,6 @@
1
+ export type SystemNaturalTypes = {
2
+ id: number;
3
+ name: string;
4
+ };
5
+ export type SystemNaturalTypesRequest = Omit<SystemNaturalTypes, 'id'>;
6
+ export type SystemNaturalTypesResponse = SystemNaturalTypes;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=system.natural-types.interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"system.natural-types.interfaces.js","sourceRoot":"","sources":["../../../src/system/NaturalTypes/system.natural-types.interfaces.ts"],"names":[],"mappings":""}
@@ -1,4 +1,2 @@
1
1
  import { SystemPersonTypeGetSingleResponse } from '../GetSingle/Response';
2
- export interface SystemPersonTypeGetManyResponse {
3
- data: SystemPersonTypeGetSingleResponse[];
4
- }
2
+ export type SystemPersonTypeGetManyResponse = Array<SystemPersonTypeGetSingleResponse>;
@@ -1,4 +1,2 @@
1
- export interface SystemPersonTypeGetSingleResponse {
2
- id: number;
3
- name: string;
4
- }
1
+ import { SystemPersonTypesResponse } from '../system.person-types.interfaces';
2
+ export type SystemPersonTypeGetSingleResponse = SystemPersonTypesResponse;
@@ -0,0 +1,6 @@
1
+ export type SystemPersonTypes = {
2
+ id: number;
3
+ name: string;
4
+ };
5
+ export type SystemPersonTypesRequest = Omit<SystemPersonTypes, 'id'>;
6
+ export type SystemPersonTypesResponse = SystemPersonTypes;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=system.person-types.interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"system.person-types.interfaces.js","sourceRoot":"","sources":["../../../src/system/PersonTypes/system.person-types.interfaces.ts"],"names":[],"mappings":""}
@@ -1,4 +1,2 @@
1
1
  import { SystemSellingTypeGetSingleResponse } from '../GetSingle/Response';
2
- export interface SystemSellingTypeGetManyResponse {
3
- data: SystemSellingTypeGetSingleResponse[];
4
- }
2
+ export type SystemSellingTypeGetManyResponse = Array<SystemSellingTypeGetSingleResponse>;
@@ -1,4 +1,2 @@
1
1
  import { SystemStatesGetSingleResponse } from '../GetSingle/Response';
2
- export interface SystemStatesGetManyResponse {
3
- data: SystemStatesGetSingleResponse[];
4
- }
2
+ export type SystemStatesGetManyResponse = Array<SystemStatesGetSingleResponse>;
@@ -1,4 +1,2 @@
1
- export interface SystemStatesGetSingleResponse {
2
- id: number;
3
- name: string;
4
- }
1
+ import { SystemStatesResponse } from '../system.states.interfaces';
2
+ export type SystemStatesGetSingleResponse = SystemStatesResponse;
@@ -1,9 +1,9 @@
1
1
  import { SystemCountries } from '../Countries/system.countries.interfaces';
2
- export interface SystemStates {
2
+ export type SystemStates = {
3
3
  id: number;
4
4
  name: string;
5
5
  country: SystemCountries;
6
- }
6
+ };
7
7
  export type SystemStatesRequest = Omit<SystemStates, 'id' | 'country'> & {
8
8
  country: number;
9
9
  };