@openbox/shared-types 0.3.25 → 0.3.26

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 (243) hide show
  1. package/lib/accounting/Entries/GetMany/Request.d.ts +6 -0
  2. package/lib/accounting/Entries/GetMany/Request.js.map +1 -0
  3. package/lib/accounting/Entries/GetMany/Response.d.ts +7 -0
  4. package/lib/accounting/Entries/GetMany/Response.js.map +1 -0
  5. package/lib/accounting/Entries/accounting.entries.types.d.ts +9 -0
  6. package/lib/accounting/{Catalogs/CreateSingle/Request.js → Entries/accounting.entries.types.js} +1 -1
  7. package/lib/accounting/Entries/accounting.entries.types.js.map +1 -0
  8. package/lib/accounting/Entries/index.d.ts +3 -8
  9. package/lib/accounting/Entries/index.js +3 -8
  10. package/lib/accounting/Entries/index.js.map +1 -1
  11. package/lib/accounting/EntriesStatuses/accounting.entries-statuses.types.d.ts +4 -0
  12. package/lib/accounting/{Catalogs/CreateSingle/Response.js → EntriesStatuses/accounting.entries-statuses.types.js} +1 -1
  13. package/lib/accounting/EntriesStatuses/accounting.entries-statuses.types.js.map +1 -0
  14. package/lib/accounting/EntriesStatuses/index.d.ts +1 -1
  15. package/lib/accounting/EntriesStatuses/index.js +1 -1
  16. package/lib/accounting/EntriesStatuses/index.js.map +1 -1
  17. package/lib/accounting/accounting.enums.d.ts +0 -0
  18. package/lib/accounting/accounting.enums.js +2 -0
  19. package/lib/accounting/accounting.enums.js.map +1 -0
  20. package/lib/accounting/index.d.ts +2 -5
  21. package/lib/accounting/index.js +2 -5
  22. package/lib/accounting/index.js.map +1 -1
  23. package/lib/auth/Auth/index.d.ts +0 -1
  24. package/lib/auth/Auth/index.js +0 -1
  25. package/lib/auth/Auth/index.js.map +1 -1
  26. package/lib/legal/Advisories/legal.advisories.type.d.ts +0 -2
  27. package/package.json +1 -1
  28. package/src/accounting/Entries/GetMany/Request.ts +7 -0
  29. package/src/accounting/Entries/GetMany/Response.ts +6 -0
  30. package/src/accounting/Entries/accounting.entries.types.ts +10 -0
  31. package/src/accounting/Entries/index.ts +3 -8
  32. package/src/accounting/EntriesStatuses/accounting.entries-statuses.types.ts +4 -0
  33. package/src/accounting/EntriesStatuses/index.ts +1 -1
  34. package/src/accounting/accounting.enums.ts +0 -0
  35. package/src/accounting/index.ts +2 -5
  36. package/src/auth/Auth/index.ts +0 -1
  37. package/src/legal/Advisories/legal.advisories.type.ts +1 -2
  38. package/lib/accounting/Catalogs/CreateMany/Request.d.ts +0 -2
  39. package/lib/accounting/Catalogs/CreateMany/Request.js.map +0 -1
  40. package/lib/accounting/Catalogs/CreateMany/Response.d.ts +0 -2
  41. package/lib/accounting/Catalogs/CreateMany/Response.js.map +0 -1
  42. package/lib/accounting/Catalogs/CreateSingle/Request.d.ts +0 -2
  43. package/lib/accounting/Catalogs/CreateSingle/Request.js.map +0 -1
  44. package/lib/accounting/Catalogs/CreateSingle/Response.d.ts +0 -2
  45. package/lib/accounting/Catalogs/CreateSingle/Response.js.map +0 -1
  46. package/lib/accounting/Catalogs/DeleteSingle/Response.d.ts +0 -2
  47. package/lib/accounting/Catalogs/DeleteSingle/Response.js +0 -3
  48. package/lib/accounting/Catalogs/DeleteSingle/Response.js.map +0 -1
  49. package/lib/accounting/Catalogs/GetMany/Request.d.ts +0 -2
  50. package/lib/accounting/Catalogs/GetMany/Request.js +0 -3
  51. package/lib/accounting/Catalogs/GetMany/Request.js.map +0 -1
  52. package/lib/accounting/Catalogs/GetMany/Response.d.ts +0 -7
  53. package/lib/accounting/Catalogs/GetMany/Response.js +0 -3
  54. package/lib/accounting/Catalogs/GetMany/Response.js.map +0 -1
  55. package/lib/accounting/Catalogs/UpdateSingle/Request.d.ts +0 -2
  56. package/lib/accounting/Catalogs/UpdateSingle/Request.js +0 -3
  57. package/lib/accounting/Catalogs/UpdateSingle/Request.js.map +0 -1
  58. package/lib/accounting/Catalogs/UpdateSingle/Response.d.ts +0 -2
  59. package/lib/accounting/Catalogs/UpdateSingle/Response.js +0 -3
  60. package/lib/accounting/Catalogs/UpdateSingle/Response.js.map +0 -1
  61. package/lib/accounting/Catalogs/catalog.types.d.ts +0 -15
  62. package/lib/accounting/Catalogs/catalog.types.js +0 -3
  63. package/lib/accounting/Catalogs/catalog.types.js.map +0 -1
  64. package/lib/accounting/Catalogs/index.d.ts +0 -9
  65. package/lib/accounting/Catalogs/index.js +0 -26
  66. package/lib/accounting/Catalogs/index.js.map +0 -1
  67. package/lib/accounting/Entries/CreateSingle/Request.d.ts +0 -2
  68. package/lib/accounting/Entries/CreateSingle/Request.js +0 -3
  69. package/lib/accounting/Entries/CreateSingle/Request.js.map +0 -1
  70. package/lib/accounting/Entries/CreateSingle/Response.d.ts +0 -2
  71. package/lib/accounting/Entries/CreateSingle/Response.js +0 -3
  72. package/lib/accounting/Entries/CreateSingle/Response.js.map +0 -1
  73. package/lib/accounting/Entries/DeleteSingle/Response.d.ts +0 -2
  74. package/lib/accounting/Entries/DeleteSingle/Response.js +0 -3
  75. package/lib/accounting/Entries/DeleteSingle/Response.js.map +0 -1
  76. package/lib/accounting/Entries/GetManyTypes/Response.d.ts +0 -2
  77. package/lib/accounting/Entries/GetManyTypes/Response.js +0 -3
  78. package/lib/accounting/Entries/GetManyTypes/Response.js.map +0 -1
  79. package/lib/accounting/Entries/GetSingle/Response.d.ts +0 -2
  80. package/lib/accounting/Entries/GetSingle/Response.js +0 -3
  81. package/lib/accounting/Entries/GetSingle/Response.js.map +0 -1
  82. package/lib/accounting/Entries/GetSingleSerie/Response.d.ts +0 -2
  83. package/lib/accounting/Entries/GetSingleSerie/Response.js +0 -3
  84. package/lib/accounting/Entries/GetSingleSerie/Response.js.map +0 -1
  85. package/lib/accounting/Entries/UpdateSingle/Request.d.ts +0 -2
  86. package/lib/accounting/Entries/UpdateSingle/Request.js +0 -3
  87. package/lib/accounting/Entries/UpdateSingle/Request.js.map +0 -1
  88. package/lib/accounting/Entries/UpdateSingle/Response.d.ts +0 -2
  89. package/lib/accounting/Entries/UpdateSingle/Response.js +0 -3
  90. package/lib/accounting/Entries/UpdateSingle/Response.js.map +0 -1
  91. package/lib/accounting/EntriesStatuses/GetManyStatuses/Response.d.ts +0 -2
  92. package/lib/accounting/EntriesStatuses/GetManyStatuses/Response.js +0 -3
  93. package/lib/accounting/EntriesStatuses/GetManyStatuses/Response.js.map +0 -1
  94. package/lib/accounting/Reports/GetAccountMovements/Request.d.ts +0 -2
  95. package/lib/accounting/Reports/GetAccountMovements/Request.js +0 -3
  96. package/lib/accounting/Reports/GetAccountMovements/Request.js.map +0 -1
  97. package/lib/accounting/Reports/GetAccountMovements/Response.d.ts +0 -2
  98. package/lib/accounting/Reports/GetAccountMovements/Response.js +0 -3
  99. package/lib/accounting/Reports/GetAccountMovements/Response.js.map +0 -1
  100. package/lib/accounting/Reports/GetAccountsCatalog/Response.d.ts +0 -2
  101. package/lib/accounting/Reports/GetAccountsCatalog/Response.js +0 -3
  102. package/lib/accounting/Reports/GetAccountsCatalog/Response.js.map +0 -1
  103. package/lib/accounting/Reports/GetAuxiliares/Request.d.ts +0 -2
  104. package/lib/accounting/Reports/GetAuxiliares/Request.js +0 -3
  105. package/lib/accounting/Reports/GetAuxiliares/Request.js.map +0 -1
  106. package/lib/accounting/Reports/GetAuxiliares/Response.d.ts +0 -2
  107. package/lib/accounting/Reports/GetAuxiliares/Response.js +0 -3
  108. package/lib/accounting/Reports/GetAuxiliares/Response.js.map +0 -1
  109. package/lib/accounting/Reports/GetBalanceComprobacion/Request.d.ts +0 -2
  110. package/lib/accounting/Reports/GetBalanceComprobacion/Request.js +0 -3
  111. package/lib/accounting/Reports/GetBalanceComprobacion/Request.js.map +0 -1
  112. package/lib/accounting/Reports/GetBalanceComprobacion/Response.d.ts +0 -2
  113. package/lib/accounting/Reports/GetBalanceComprobacion/Response.js +0 -3
  114. package/lib/accounting/Reports/GetBalanceComprobacion/Response.js.map +0 -1
  115. package/lib/accounting/Reports/GetBalanceGeneral/Request.d.ts +0 -2
  116. package/lib/accounting/Reports/GetBalanceGeneral/Request.js +0 -3
  117. package/lib/accounting/Reports/GetBalanceGeneral/Request.js.map +0 -1
  118. package/lib/accounting/Reports/GetBalanceGeneral/Response.d.ts +0 -2
  119. package/lib/accounting/Reports/GetBalanceGeneral/Response.js +0 -3
  120. package/lib/accounting/Reports/GetBalanceGeneral/Response.js.map +0 -1
  121. package/lib/accounting/Reports/GetDiarioMayor/Request.d.ts +0 -2
  122. package/lib/accounting/Reports/GetDiarioMayor/Request.js +0 -3
  123. package/lib/accounting/Reports/GetDiarioMayor/Request.js.map +0 -1
  124. package/lib/accounting/Reports/GetDiarioMayor/Response.d.ts +0 -2
  125. package/lib/accounting/Reports/GetDiarioMayor/Response.js +0 -3
  126. package/lib/accounting/Reports/GetDiarioMayor/Response.js.map +0 -1
  127. package/lib/accounting/Reports/GetEntryReport/Request.d.ts +0 -2
  128. package/lib/accounting/Reports/GetEntryReport/Request.js +0 -3
  129. package/lib/accounting/Reports/GetEntryReport/Request.js.map +0 -1
  130. package/lib/accounting/Reports/GetEntryReport/Response.d.ts +0 -2
  131. package/lib/accounting/Reports/GetEntryReport/Response.js +0 -3
  132. package/lib/accounting/Reports/GetEntryReport/Response.js.map +0 -1
  133. package/lib/accounting/Reports/GetEstadoDeResultados/Request.d.ts +0 -2
  134. package/lib/accounting/Reports/GetEstadoDeResultados/Request.js +0 -3
  135. package/lib/accounting/Reports/GetEstadoDeResultados/Request.js.map +0 -1
  136. package/lib/accounting/Reports/GetEstadoDeResultados/Response.d.ts +0 -2
  137. package/lib/accounting/Reports/GetEstadoDeResultados/Response.js +0 -3
  138. package/lib/accounting/Reports/GetEstadoDeResultados/Response.js.map +0 -1
  139. package/lib/accounting/Reports/index.d.ts +0 -15
  140. package/lib/accounting/Reports/index.js +0 -32
  141. package/lib/accounting/Reports/index.js.map +0 -1
  142. package/lib/accounting/Settings/GetBalanceGeneral/Response.d.ts +0 -2
  143. package/lib/accounting/Settings/GetBalanceGeneral/Response.js +0 -3
  144. package/lib/accounting/Settings/GetBalanceGeneral/Response.js.map +0 -1
  145. package/lib/accounting/Settings/GetEstadoResultado/Response.d.ts +0 -2
  146. package/lib/accounting/Settings/GetEstadoResultado/Response.js +0 -3
  147. package/lib/accounting/Settings/GetEstadoResultado/Response.js.map +0 -1
  148. package/lib/accounting/Settings/GetGeneral/Response.d.ts +0 -2
  149. package/lib/accounting/Settings/GetGeneral/Response.js +0 -3
  150. package/lib/accounting/Settings/GetGeneral/Response.js.map +0 -1
  151. package/lib/accounting/Settings/GetSignatures/Response.d.ts +0 -2
  152. package/lib/accounting/Settings/GetSignatures/Response.js +0 -3
  153. package/lib/accounting/Settings/GetSignatures/Response.js.map +0 -1
  154. package/lib/accounting/Settings/UpdateBalanceGeneral/Request.d.ts +0 -2
  155. package/lib/accounting/Settings/UpdateBalanceGeneral/Request.js +0 -3
  156. package/lib/accounting/Settings/UpdateBalanceGeneral/Request.js.map +0 -1
  157. package/lib/accounting/Settings/UpdateBalanceGeneral/Response.d.ts +0 -2
  158. package/lib/accounting/Settings/UpdateBalanceGeneral/Response.js +0 -3
  159. package/lib/accounting/Settings/UpdateBalanceGeneral/Response.js.map +0 -1
  160. package/lib/accounting/Settings/UpdateEstadoResultados/Request.d.ts +0 -2
  161. package/lib/accounting/Settings/UpdateEstadoResultados/Request.js +0 -3
  162. package/lib/accounting/Settings/UpdateEstadoResultados/Request.js.map +0 -1
  163. package/lib/accounting/Settings/UpdateEstadoResultados/Response.d.ts +0 -2
  164. package/lib/accounting/Settings/UpdateEstadoResultados/Response.js +0 -3
  165. package/lib/accounting/Settings/UpdateEstadoResultados/Response.js.map +0 -1
  166. package/lib/accounting/Settings/UpdateGeneral/Request.d.ts +0 -2
  167. package/lib/accounting/Settings/UpdateGeneral/Request.js +0 -3
  168. package/lib/accounting/Settings/UpdateGeneral/Request.js.map +0 -1
  169. package/lib/accounting/Settings/UpdateGeneral/Response.d.ts +0 -2
  170. package/lib/accounting/Settings/UpdateGeneral/Response.js +0 -3
  171. package/lib/accounting/Settings/UpdateGeneral/Response.js.map +0 -1
  172. package/lib/accounting/Settings/UpdateSignatures/Request.d.ts +0 -2
  173. package/lib/accounting/Settings/UpdateSignatures/Request.js +0 -3
  174. package/lib/accounting/Settings/UpdateSignatures/Request.js.map +0 -1
  175. package/lib/accounting/Settings/UpdateSignatures/Response.d.ts +0 -2
  176. package/lib/accounting/Settings/UpdateSignatures/Response.js +0 -3
  177. package/lib/accounting/Settings/UpdateSignatures/Response.js.map +0 -1
  178. package/lib/accounting/Settings/index.d.ts +0 -12
  179. package/lib/accounting/Settings/index.js +0 -29
  180. package/lib/accounting/Settings/index.js.map +0 -1
  181. package/lib/auth/Auth/ProcessLogout/Response.d.ts +0 -2
  182. package/lib/auth/Auth/ProcessLogout/Response.js +0 -3
  183. package/lib/auth/Auth/ProcessLogout/Response.js.map +0 -1
  184. package/lib/legal/People/index.d.ts +0 -1
  185. package/lib/legal/People/index.js +0 -18
  186. package/lib/legal/People/index.js.map +0 -1
  187. package/lib/legal/People/legal.people.type.d.ts +0 -1
  188. package/lib/legal/People/legal.people.type.js +0 -3
  189. package/lib/legal/People/legal.people.type.js.map +0 -1
  190. package/src/accounting/Catalogs/CreateMany/Request.ts +0 -3
  191. package/src/accounting/Catalogs/CreateMany/Response.ts +0 -3
  192. package/src/accounting/Catalogs/CreateSingle/Request.ts +0 -3
  193. package/src/accounting/Catalogs/CreateSingle/Response.ts +0 -3
  194. package/src/accounting/Catalogs/DeleteSingle/Response.ts +0 -3
  195. package/src/accounting/Catalogs/GetMany/Request.ts +0 -3
  196. package/src/accounting/Catalogs/GetMany/Response.ts +0 -6
  197. package/src/accounting/Catalogs/UpdateSingle/Request.ts +0 -3
  198. package/src/accounting/Catalogs/UpdateSingle/Response.ts +0 -3
  199. package/src/accounting/Catalogs/catalog.types.ts +0 -19
  200. package/src/accounting/Catalogs/index.ts +0 -9
  201. package/src/accounting/Entries/CreateSingle/Request.ts +0 -1
  202. package/src/accounting/Entries/CreateSingle/Response.ts +0 -1
  203. package/src/accounting/Entries/DeleteSingle/Response.ts +0 -1
  204. package/src/accounting/Entries/GetManyTypes/Response.ts +0 -1
  205. package/src/accounting/Entries/GetSingle/Response.ts +0 -1
  206. package/src/accounting/Entries/GetSingleSerie/Response.ts +0 -1
  207. package/src/accounting/Entries/UpdateSingle/Request.ts +0 -1
  208. package/src/accounting/Entries/UpdateSingle/Response.ts +0 -1
  209. package/src/accounting/EntriesStatuses/GetManyStatuses/Response.ts +0 -1
  210. package/src/accounting/Reports/GetAccountMovements/Request.ts +0 -1
  211. package/src/accounting/Reports/GetAccountMovements/Response.ts +0 -1
  212. package/src/accounting/Reports/GetAccountsCatalog/Response.ts +0 -1
  213. package/src/accounting/Reports/GetAuxiliares/Request.ts +0 -1
  214. package/src/accounting/Reports/GetAuxiliares/Response.ts +0 -1
  215. package/src/accounting/Reports/GetBalanceComprobacion/Request.ts +0 -1
  216. package/src/accounting/Reports/GetBalanceComprobacion/Response.ts +0 -1
  217. package/src/accounting/Reports/GetBalanceGeneral/Request.ts +0 -1
  218. package/src/accounting/Reports/GetBalanceGeneral/Response.ts +0 -1
  219. package/src/accounting/Reports/GetDiarioMayor/Request.ts +0 -1
  220. package/src/accounting/Reports/GetDiarioMayor/Response.ts +0 -1
  221. package/src/accounting/Reports/GetEntryReport/Request.ts +0 -1
  222. package/src/accounting/Reports/GetEntryReport/Response.ts +0 -1
  223. package/src/accounting/Reports/GetEstadoDeResultados/Request.ts +0 -1
  224. package/src/accounting/Reports/GetEstadoDeResultados/Response.ts +0 -1
  225. package/src/accounting/Reports/index.ts +0 -15
  226. package/src/accounting/Settings/GetBalanceGeneral/Response.ts +0 -1
  227. package/src/accounting/Settings/GetEstadoResultado/Response.ts +0 -1
  228. package/src/accounting/Settings/GetGeneral/Response.ts +0 -1
  229. package/src/accounting/Settings/GetSignatures/Response.ts +0 -1
  230. package/src/accounting/Settings/UpdateBalanceGeneral/Request.ts +0 -1
  231. package/src/accounting/Settings/UpdateBalanceGeneral/Response.ts +0 -1
  232. package/src/accounting/Settings/UpdateEstadoResultados/Request.ts +0 -1
  233. package/src/accounting/Settings/UpdateEstadoResultados/Response.ts +0 -1
  234. package/src/accounting/Settings/UpdateGeneral/Request.ts +0 -1
  235. package/src/accounting/Settings/UpdateGeneral/Response.ts +0 -1
  236. package/src/accounting/Settings/UpdateSignatures/Request.ts +0 -1
  237. package/src/accounting/Settings/UpdateSignatures/Response.ts +0 -1
  238. package/src/accounting/Settings/index.ts +0 -12
  239. package/src/auth/Auth/ProcessLogout/Response.ts +0 -1
  240. package/src/legal/People/index.ts +0 -1
  241. package/src/legal/People/legal.people.type.ts +0 -1
  242. /package/lib/accounting/{Catalogs/CreateMany → Entries/GetMany}/Request.js +0 -0
  243. /package/lib/accounting/{Catalogs/CreateMany → Entries/GetMany}/Response.js +0 -0
@@ -0,0 +1,6 @@
1
+ import { GetManyRequest } from '../../../interfaces';
2
+ export type AccountingEntriesGetManyRequest = GetManyRequest & {
3
+ accountingEntryType?: number;
4
+ startDate?: Date;
5
+ endDate?: Date;
6
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/accounting/Entries/GetMany/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import { GetManyResponse } from '../../../interfaces';
2
+ import { AccountingEntries } from '../accounting.entries.types';
3
+ export type AccountingEntriesGetManyResponse = GetManyResponse & {
4
+ data: Array<AccountingEntries & {
5
+ index: number;
6
+ }>;
7
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/accounting/Entries/GetMany/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ import { AccountingEntriesStatuses } from '../EntriesStatuses';
2
+ export type AccountingEntries = {
3
+ id: string;
4
+ serie: string;
5
+ title: string;
6
+ date: string;
7
+ origin: string;
8
+ status: AccountingEntriesStatuses;
9
+ };
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Request.js.map
3
+ //# sourceMappingURL=accounting.entries.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accounting.entries.types.js","sourceRoot":"","sources":["../../../src/accounting/Entries/accounting.entries.types.ts"],"names":[],"mappings":""}
@@ -1,8 +1,3 @@
1
- export * from './CreateSingle/Request';
2
- export * from './CreateSingle/Response';
3
- export * from './DeleteSingle/Response';
4
- export * from './GetManyTypes/Response';
5
- export * from './GetSingle/Response';
6
- export * from './GetSingleSerie/Response';
7
- export * from './UpdateSingle/Request';
8
- export * from './UpdateSingle/Response';
1
+ export * from './GetMany/Request';
2
+ export * from './GetMany/Response';
3
+ export * from './accounting.entries.types';
@@ -14,12 +14,7 @@ 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("./CreateSingle/Request"), exports);
18
- __exportStar(require("./CreateSingle/Response"), exports);
19
- __exportStar(require("./DeleteSingle/Response"), exports);
20
- __exportStar(require("./GetManyTypes/Response"), exports);
21
- __exportStar(require("./GetSingle/Response"), exports);
22
- __exportStar(require("./GetSingleSerie/Response"), exports);
23
- __exportStar(require("./UpdateSingle/Request"), exports);
24
- __exportStar(require("./UpdateSingle/Response"), exports);
17
+ __exportStar(require("./GetMany/Request"), exports);
18
+ __exportStar(require("./GetMany/Response"), exports);
19
+ __exportStar(require("./accounting.entries.types"), exports);
25
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/Entries/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,0DAAuC;AACvC,0DAAuC;AACvC,0DAAuC;AACvC,uDAAoC;AACpC,4DAAyC;AACzC,yDAAsC;AACtC,0DAAuC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/Entries/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,qDAAkC;AAClC,6DAA0C"}
@@ -0,0 +1,4 @@
1
+ export type AccountingEntriesStatuses = {
2
+ id: string;
3
+ name: string;
4
+ };
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Response.js.map
3
+ //# sourceMappingURL=accounting.entries-statuses.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accounting.entries-statuses.types.js","sourceRoot":"","sources":["../../../src/accounting/EntriesStatuses/accounting.entries-statuses.types.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- export * from './GetManyStatuses/Response';
1
+ export * from './accounting.entries-statuses.types';
@@ -14,5 +14,5 @@ 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("./GetManyStatuses/Response"), exports);
17
+ __exportStar(require("./accounting.entries-statuses.types"), exports);
18
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/EntriesStatuses/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA0C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/EntriesStatuses/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sEAAmD"}
File without changes
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=accounting.enums.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accounting.enums.js","sourceRoot":"","sources":["../../src/accounting/accounting.enums.ts"],"names":[],"mappings":""}
@@ -1,5 +1,2 @@
1
- export * from './Catalogs/';
2
- export * from './Entries/';
3
- export * from './EntriesStatuses/';
4
- export * from './Reports/';
5
- export * from './Settings/';
1
+ export * from './Entries';
2
+ export * from './EntriesStatuses';
@@ -14,9 +14,6 @@ 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("./Catalogs/"), exports);
18
- __exportStar(require("./Entries/"), exports);
19
- __exportStar(require("./EntriesStatuses/"), exports);
20
- __exportStar(require("./Reports/"), exports);
21
- __exportStar(require("./Settings/"), exports);
17
+ __exportStar(require("./Entries"), exports);
18
+ __exportStar(require("./EntriesStatuses"), exports);
22
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/accounting/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B;AAC3B,6CAA0B;AAC1B,qDAAkC;AAClC,6CAA0B;AAC1B,8CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/accounting/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,oDAAiC"}
@@ -1,7 +1,6 @@
1
1
  export * from './GetSingleUser/Response';
2
2
  export * from './ProcessLogin/Request';
3
3
  export * from './ProcessLogin/Response';
4
- export * from './ProcessLogout/Response';
5
4
  export * from './ProcessRefresh/Request';
6
5
  export * from './ProcessRefresh/Response';
7
6
  export * from './RecoveryPassword/Request';
@@ -17,7 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./GetSingleUser/Response"), exports);
18
18
  __exportStar(require("./ProcessLogin/Request"), exports);
19
19
  __exportStar(require("./ProcessLogin/Response"), exports);
20
- __exportStar(require("./ProcessLogout/Response"), exports);
21
20
  __exportStar(require("./ProcessRefresh/Request"), exports);
22
21
  __exportStar(require("./ProcessRefresh/Response"), exports);
23
22
  __exportStar(require("./RecoveryPassword/Request"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/auth/Auth/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAwC;AACxC,yDAAsC;AACtC,0DAAuC;AACvC,2DAAwC;AACxC,2DAAwC;AACxC,4DAAyC;AACzC,6DAA0C;AAC1C,8DAA2C;AAC3C,0DAAuC;AACvC,2DAAwC;AACxC,2DAAwC;AACxC,4DAAyC;AACzC,4DAAyC;AACzC,6DAA0C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/auth/Auth/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAwC;AACxC,yDAAsC;AACtC,0DAAuC;AACvC,2DAAwC;AACxC,4DAAyC;AACzC,6DAA0C;AAC1C,8DAA2C;AAC3C,0DAAuC;AACvC,2DAAwC;AACxC,2DAAwC;AACxC,4DAAyC;AACzC,4DAAyC;AACzC,6DAA0C"}
@@ -1,9 +1,7 @@
1
- import { LegalPeople } from '../People';
2
1
  import { LegalAdvisoriesStatusEnum } from '../legal.enum';
3
2
  export type LegalAdvisories = {
4
3
  id: string;
5
4
  date: Date;
6
5
  details: string;
7
6
  status: LegalAdvisoriesStatusEnum;
8
- legalPeople: LegalPeople[];
9
7
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.3.25",
3
+ "version": "0.3.26",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -0,0 +1,7 @@
1
+ import { GetManyRequest } from '../../../interfaces'
2
+
3
+ export type AccountingEntriesGetManyRequest = GetManyRequest & {
4
+ accountingEntryType?: number
5
+ startDate?: Date
6
+ endDate?: Date
7
+ }
@@ -0,0 +1,6 @@
1
+ import { GetManyResponse } from '../../../interfaces'
2
+ import { AccountingEntries } from '../accounting.entries.types'
3
+
4
+ export type AccountingEntriesGetManyResponse = GetManyResponse & {
5
+ data: Array<AccountingEntries & { index: number }>
6
+ }
@@ -0,0 +1,10 @@
1
+ import { AccountingEntriesStatuses } from '../EntriesStatuses'
2
+
3
+ export type AccountingEntries = {
4
+ id: string
5
+ serie: string
6
+ title: string
7
+ date: string
8
+ origin: string
9
+ status: AccountingEntriesStatuses
10
+ }
@@ -1,8 +1,3 @@
1
- export * from './CreateSingle/Request'
2
- export * from './CreateSingle/Response'
3
- export * from './DeleteSingle/Response'
4
- export * from './GetManyTypes/Response'
5
- export * from './GetSingle/Response'
6
- export * from './GetSingleSerie/Response'
7
- export * from './UpdateSingle/Request'
8
- export * from './UpdateSingle/Response'
1
+ export * from './GetMany/Request'
2
+ export * from './GetMany/Response'
3
+ export * from './accounting.entries.types'
@@ -0,0 +1,4 @@
1
+ export type AccountingEntriesStatuses = {
2
+ id: string
3
+ name: string
4
+ }
@@ -1 +1 @@
1
- export * from './GetManyStatuses/Response'
1
+ export * from './accounting.entries-statuses.types'
File without changes
@@ -1,5 +1,2 @@
1
- export * from './Catalogs/'
2
- export * from './Entries/'
3
- export * from './EntriesStatuses/'
4
- export * from './Reports/'
5
- export * from './Settings/'
1
+ export * from './Entries'
2
+ export * from './EntriesStatuses'
@@ -1,7 +1,6 @@
1
1
  export * from './GetSingleUser/Response'
2
2
  export * from './ProcessLogin/Request'
3
3
  export * from './ProcessLogin/Response'
4
- export * from './ProcessLogout/Response'
5
4
  export * from './ProcessRefresh/Request'
6
5
  export * from './ProcessRefresh/Response'
7
6
  export * from './RecoveryPassword/Request'
@@ -1,4 +1,3 @@
1
- import { LegalPeople } from '../People'
2
1
  import { LegalAdvisoriesStatusEnum } from '../legal.enum'
3
2
 
4
3
  export type LegalAdvisories = {
@@ -7,6 +6,6 @@ export type LegalAdvisories = {
7
6
  details: string
8
7
  status: LegalAdvisoriesStatusEnum
9
8
  // handledBy: LegalLawyersEntity
10
- legalPeople: LegalPeople[]
9
+ // legalPeople: LegalPeople[]
11
10
  // legalCase: LegalCasesEntity
12
11
  }
@@ -1,2 +0,0 @@
1
- import { AccountingCatalogsCreateSingleRequest } from '../CreateSingle/Request';
2
- export type AccountingCatalogsCreateManyRequest = Array<AccountingCatalogsCreateSingleRequest>;
@@ -1 +0,0 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/accounting/Catalogs/CreateMany/Request.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { ManyResponse } from '../../../interfaces';
2
- export type ServicesCreateManyResponse = ManyResponse;
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/accounting/Catalogs/CreateMany/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { AccountingCatalogsRequest } from '../catalog.types';
2
- export type AccountingCatalogsCreateSingleRequest = AccountingCatalogsRequest;
@@ -1 +0,0 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/accounting/Catalogs/CreateSingle/Request.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces';
2
- export type AccountingCatalogsCreateSingleResponse = SingleResponse;
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/accounting/Catalogs/CreateSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces';
2
- export type AccountingCatalogsDeleteSingleResponse = SingleResponse;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/accounting/Catalogs/DeleteSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { GetManyRequest } from '../../../interfaces';
2
- export type AccountingCatalogsGetManyRequest = GetManyRequest;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Request.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/accounting/Catalogs/GetMany/Request.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- import { GetManyResponse } from '../../../interfaces';
2
- import { AccountingCatalogsResponse } from '../catalog.types';
3
- export type AccountingCatalogsGetManyResponse = GetManyResponse & {
4
- data: Array<AccountingCatalogsResponse & {
5
- index: number;
6
- }>;
7
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/accounting/Catalogs/GetMany/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { AccountingCatalogsRequest } from '../catalog.types';
2
- export type AccountingCatalogsUpdateSingleRequest = Partial<AccountingCatalogsRequest>;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Request.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/accounting/Catalogs/UpdateSingle/Request.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces';
2
- export type AccountingCatalogsUpdateSingleResponse = SingleResponse;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/accounting/Catalogs/UpdateSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,15 +0,0 @@
1
- export type AccountingCatalogs = {
2
- id: string;
3
- code: string;
4
- name: string;
5
- description?: string;
6
- level: number;
7
- isParent: boolean;
8
- isAcreedora: boolean;
9
- isBalance: boolean;
10
- parentCatalog: AccountingCatalogs;
11
- };
12
- export type AccountingCatalogsRequest = Omit<AccountingCatalogs, 'id' | 'level' | 'isParent' | 'parentCatalog'> & {
13
- parentCatalog: string;
14
- };
15
- export type AccountingCatalogsResponse = AccountingCatalogs;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=catalog.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"catalog.types.js","sourceRoot":"","sources":["../../../src/accounting/Catalogs/catalog.types.ts"],"names":[],"mappings":""}
@@ -1,9 +0,0 @@
1
- export * from './CreateMany/Request';
2
- export * from './CreateMany/Response';
3
- export * from './CreateSingle/Request';
4
- export * from './CreateSingle/Response';
5
- export * from './DeleteSingle/Response';
6
- export * from './GetMany/Request';
7
- export * from './GetMany/Response';
8
- export * from './UpdateSingle/Request';
9
- export * from './UpdateSingle/Response';
@@ -1,26 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
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);
21
- __exportStar(require("./DeleteSingle/Response"), exports);
22
- __exportStar(require("./GetMany/Request"), exports);
23
- __exportStar(require("./GetMany/Response"), exports);
24
- __exportStar(require("./UpdateSingle/Request"), exports);
25
- __exportStar(require("./UpdateSingle/Response"), exports);
26
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/Catalogs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,yDAAsC;AACtC,0DAAuC"}
@@ -1,2 +0,0 @@
1
- export interface AccountingEntriesCreateSingleRequest {
2
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Request.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/accounting/Entries/CreateSingle/Request.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export interface AccountingEntriesCreateSingleResponse {
2
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/accounting/Entries/CreateSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export interface AccountingEntriesDeleteSingleResponse {
2
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/accounting/Entries/DeleteSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export interface AccountingEntriesGetManyTypesResponse {
2
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/accounting/Entries/GetManyTypes/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export interface AccountingEntriesGetSingleResponse {
2
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/accounting/Entries/GetSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export interface AccountingEntriesGetSingleSerieResponse {
2
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/accounting/Entries/GetSingleSerie/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export interface AccountingEntriesUpdateSingleRequest {
2
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Request.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/accounting/Entries/UpdateSingle/Request.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export interface AccountingEntriesUpdateSingleResponse {
2
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/accounting/Entries/UpdateSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export interface AccountingEntriesStatusesGetManyStatusesResponse {
2
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/accounting/EntriesStatuses/GetManyStatuses/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export interface AccountingReportsGetAccountMovementsRequest {
2
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Request.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/accounting/Reports/GetAccountMovements/Request.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export interface AccountingReportsGetAccountMovementsResponse {
2
- }