@silexpert/core 0.4.102 → 0.4.104

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 (195) hide show
  1. package/es/api/resources/FecFile.d.ts +2 -2
  2. package/es/api/resources/FecFile.d.ts.map +1 -1
  3. package/es/api/resources/FecFile.js +2 -2
  4. package/es/api/resources/FecFile.js.map +1 -1
  5. package/es/api/resources/GeneralLedger.d.ts +2 -0
  6. package/es/api/resources/GeneralLedger.d.ts.map +1 -1
  7. package/es/api/resources/GeneralLedger.js +18 -0
  8. package/es/api/resources/GeneralLedger.js.map +1 -1
  9. package/es/api/resources/PartneredAccountant.d.ts +6 -2
  10. package/es/api/resources/PartneredAccountant.d.ts.map +1 -1
  11. package/es/api/resources/PartneredAccountant.js +15 -3
  12. package/es/api/resources/PartneredAccountant.js.map +1 -1
  13. package/es/api/resources/Product.d.ts +10 -0
  14. package/es/api/resources/Product.d.ts.map +1 -0
  15. package/es/api/resources/Product.js +21 -0
  16. package/es/api/resources/Product.js.map +1 -0
  17. package/es/api/resources/Society.d.ts +3 -1
  18. package/es/api/resources/Society.d.ts.map +1 -1
  19. package/es/api/resources/Society.js +7 -0
  20. package/es/api/resources/Society.js.map +1 -1
  21. package/es/types/Enum/ProductType.d.ts +6 -0
  22. package/es/types/Enum/ProductType.d.ts.map +1 -0
  23. package/es/types/Enum/ProductType.js +7 -0
  24. package/es/types/Enum/ProductType.js.map +1 -0
  25. package/es/types/Enum/RegistrationSource.d.ts +5 -0
  26. package/es/types/Enum/RegistrationSource.d.ts.map +1 -0
  27. package/es/types/Enum/RegistrationSource.js +6 -0
  28. package/es/types/Enum/RegistrationSource.js.map +1 -0
  29. package/es/types/Enum/Unit.d.ts +9 -0
  30. package/es/types/Enum/Unit.d.ts.map +1 -0
  31. package/es/types/Enum/Unit.js +98 -0
  32. package/es/types/Enum/Unit.js.map +1 -0
  33. package/es/types/Interface/api/BasePaginate.d.ts +4 -0
  34. package/es/types/Interface/api/BasePaginate.d.ts.map +1 -1
  35. package/es/types/Interface/api/BasePaginate.js +27 -1
  36. package/es/types/Interface/api/BasePaginate.js.map +1 -1
  37. package/es/types/Interface/api/fecFile/QueryFecFile.d.ts +4 -0
  38. package/es/types/Interface/api/fecFile/QueryFecFile.d.ts.map +1 -0
  39. package/es/types/Interface/api/fecFile/QueryFecFile.js +17 -0
  40. package/es/types/Interface/api/fecFile/QueryFecFile.js.map +1 -0
  41. package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.d.ts +26 -0
  42. package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.d.ts.map +1 -0
  43. package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.js +96 -0
  44. package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.js.map +1 -0
  45. package/es/types/Interface/api/partneredAccountant/CreatedPartneredAccountantSociety.d.ts +6 -0
  46. package/es/types/Interface/api/partneredAccountant/CreatedPartneredAccountantSociety.d.ts.map +1 -0
  47. package/es/types/Interface/api/partneredAccountant/CreatedPartneredAccountantSociety.js +3 -0
  48. package/es/types/Interface/api/partneredAccountant/CreatedPartneredAccountantSociety.js.map +1 -0
  49. package/es/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.d.ts +4 -0
  50. package/es/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.d.ts.map +1 -0
  51. package/es/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.js +22 -0
  52. package/es/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.js.map +1 -0
  53. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantInvoice.d.ts +11 -0
  54. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantInvoice.d.ts.map +1 -0
  55. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantInvoice.js +2 -0
  56. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantInvoice.js.map +1 -0
  57. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantSociety.d.ts +6 -0
  58. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantSociety.d.ts.map +1 -0
  59. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantSociety.js +2 -0
  60. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantSociety.js.map +1 -0
  61. package/es/types/Interface/api/product/CreateProduct.d.ts +10 -0
  62. package/es/types/Interface/api/product/CreateProduct.d.ts.map +1 -0
  63. package/es/types/Interface/api/product/CreateProduct.js +62 -0
  64. package/es/types/Interface/api/product/CreateProduct.js.map +1 -0
  65. package/es/types/Interface/api/product/QueryProduct.d.ts +5 -0
  66. package/es/types/Interface/api/product/QueryProduct.d.ts.map +1 -0
  67. package/es/types/Interface/api/product/QueryProduct.js +27 -0
  68. package/es/types/Interface/api/product/QueryProduct.js.map +1 -0
  69. package/es/types/Interface/api/product/UpdateProduct.d.ts +4 -0
  70. package/es/types/Interface/api/product/UpdateProduct.d.ts.map +1 -0
  71. package/es/types/Interface/api/product/UpdateProduct.js +4 -0
  72. package/es/types/Interface/api/product/UpdateProduct.js.map +1 -0
  73. package/es/types/Interface/api/society/CreateSociety.d.ts +5 -0
  74. package/es/types/Interface/api/society/CreateSociety.d.ts.map +1 -1
  75. package/es/types/Interface/api/society/CreateSociety.js +14 -0
  76. package/es/types/Interface/api/society/CreateSociety.js.map +1 -1
  77. package/es/types/Interface/api/society/UpdateSociety.d.ts +4 -0
  78. package/es/types/Interface/api/society/UpdateSociety.d.ts.map +1 -1
  79. package/es/types/Interface/api/society/UpdateSociety.js +6 -0
  80. package/es/types/Interface/api/society/UpdateSociety.js.map +1 -1
  81. package/es/types/Interface/models/IEstimateInvoice.d.ts +2 -4
  82. package/es/types/Interface/models/IEstimateInvoice.d.ts.map +1 -1
  83. package/es/types/Interface/models/IEstimateInvoice.js.map +1 -1
  84. package/es/types/Interface/models/IPartneredAccountantToSociety.d.ts +12 -0
  85. package/es/types/Interface/models/IPartneredAccountantToSociety.d.ts.map +1 -0
  86. package/es/types/Interface/models/IPartneredAccountantToSociety.js +2 -0
  87. package/es/types/Interface/models/IPartneredAccountantToSociety.js.map +1 -0
  88. package/es/types/Interface/models/IPermission.d.ts +1 -1
  89. package/es/types/Interface/models/IPermission.d.ts.map +1 -1
  90. package/es/types/Interface/models/IPermission.js.map +1 -1
  91. package/es/types/Interface/models/IProduct.d.ts +6 -13
  92. package/es/types/Interface/models/IProduct.d.ts.map +1 -1
  93. package/es/types/Interface/models/IProduct.js.map +1 -1
  94. package/es/types/Interface/models/IProductInvoice.d.ts +22 -0
  95. package/es/types/Interface/models/IProductInvoice.d.ts.map +1 -0
  96. package/es/types/Interface/models/IProductInvoice.js +2 -0
  97. package/es/types/Interface/models/IProductInvoice.js.map +1 -0
  98. package/es/types/index.d.ts +14 -3
  99. package/es/types/index.d.ts.map +1 -1
  100. package/es/types/index.js +14 -3
  101. package/es/types/index.js.map +1 -1
  102. package/es/utils/validators/objectId.validator.d.ts +11 -0
  103. package/es/utils/validators/objectId.validator.d.ts.map +1 -0
  104. package/es/utils/validators/objectId.validator.js +19 -0
  105. package/es/utils/validators/objectId.validator.js.map +1 -0
  106. package/js/api/resources/FecFile.js +3 -3
  107. package/js/api/resources/FecFile.js.map +1 -1
  108. package/js/api/resources/GeneralLedger.js +20 -0
  109. package/js/api/resources/GeneralLedger.js.map +1 -1
  110. package/js/api/resources/PartneredAccountant.js +23 -4
  111. package/js/api/resources/PartneredAccountant.js.map +1 -1
  112. package/js/api/resources/Product.js +36 -0
  113. package/js/api/resources/Product.js.map +1 -0
  114. package/js/api/resources/Society.js +14 -0
  115. package/js/api/resources/Society.js.map +1 -1
  116. package/js/types/Enum/ProductType.js +13 -0
  117. package/js/types/Enum/ProductType.js.map +1 -0
  118. package/js/types/Enum/RegistrationSource.js +12 -0
  119. package/js/types/Enum/RegistrationSource.js.map +1 -0
  120. package/js/types/Enum/Unit.js +103 -0
  121. package/js/types/Enum/Unit.js.map +1 -0
  122. package/js/types/Interface/api/BasePaginate.js +25 -0
  123. package/js/types/Interface/api/BasePaginate.js.map +1 -1
  124. package/js/types/Interface/api/fecFile/QueryFecFile.js +27 -0
  125. package/js/types/Interface/api/fecFile/QueryFecFile.js.map +1 -0
  126. package/js/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.js +94 -0
  127. package/js/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.js.map +1 -0
  128. package/js/types/Interface/api/partneredAccountant/CreatedPartneredAccountantSociety.js +10 -0
  129. package/js/types/Interface/api/partneredAccountant/CreatedPartneredAccountantSociety.js.map +1 -0
  130. package/js/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.js +33 -0
  131. package/js/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.js.map +1 -0
  132. package/js/types/Interface/{models/IUnit.js → api/partneredAccountant/ReadPartneredAccountantInvoice.js} +1 -1
  133. package/js/types/Interface/{models/IUnit.js.map → api/partneredAccountant/ReadPartneredAccountantInvoice.js.map} +1 -1
  134. package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantSociety.js +6 -0
  135. package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantSociety.js.map +1 -0
  136. package/js/types/Interface/api/product/CreateProduct.js +51 -0
  137. package/js/types/Interface/api/product/CreateProduct.js.map +1 -0
  138. package/js/types/Interface/api/product/QueryProduct.js +33 -0
  139. package/js/types/Interface/api/product/QueryProduct.js.map +1 -0
  140. package/js/types/Interface/api/product/UpdateProduct.js +13 -0
  141. package/js/types/Interface/api/product/UpdateProduct.js.map +1 -0
  142. package/js/types/Interface/api/society/CreateSociety.js +16 -0
  143. package/js/types/Interface/api/society/CreateSociety.js.map +1 -1
  144. package/js/types/Interface/api/society/UpdateSociety.js +7 -1
  145. package/js/types/Interface/api/society/UpdateSociety.js.map +1 -1
  146. package/js/types/Interface/models/{IProductType.js → IPartneredAccountantToSociety.js} +1 -1
  147. package/js/types/Interface/models/{IProductType.js.map → IPartneredAccountantToSociety.js.map} +1 -1
  148. package/js/types/Interface/models/{IItemEstimate.js → IProductInvoice.js} +1 -1
  149. package/js/types/Interface/models/{IItemEstimate.js.map → IProductInvoice.js.map} +1 -1
  150. package/js/types/index.js +159 -27
  151. package/js/types/index.js.map +1 -1
  152. package/js/utils/validators/objectId.validator.js +29 -0
  153. package/js/utils/validators/objectId.validator.js.map +1 -0
  154. package/package.json +1 -1
  155. package/ts/api/resources/FecFile.ts +6 -2
  156. package/ts/api/resources/GeneralLedger.ts +22 -0
  157. package/ts/api/resources/PartneredAccountant.ts +29 -4
  158. package/ts/api/resources/Product.ts +31 -0
  159. package/ts/api/resources/Society.ts +11 -0
  160. package/ts/types/Enum/ProductType.ts +5 -0
  161. package/ts/types/Enum/RegistrationSource.ts +4 -0
  162. package/ts/types/Enum/Unit.ts +105 -0
  163. package/ts/types/Interface/api/BasePaginate.ts +17 -0
  164. package/ts/types/Interface/api/fecFile/QueryFecFile.ts +6 -0
  165. package/ts/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.ts +68 -0
  166. package/ts/types/Interface/api/partneredAccountant/CreatedPartneredAccountantSociety.ts +6 -0
  167. package/ts/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.ts +11 -0
  168. package/ts/types/Interface/api/partneredAccountant/ReadPartneredAccountantInvoice.ts +10 -0
  169. package/ts/types/Interface/api/partneredAccountant/ReadPartneredAccountantSociety.ts +4 -0
  170. package/ts/types/Interface/api/product/CreateProduct.ts +48 -0
  171. package/ts/types/Interface/api/product/QueryProduct.ts +15 -0
  172. package/ts/types/Interface/api/product/UpdateProduct.ts +3 -0
  173. package/ts/types/Interface/api/society/CreateSociety.ts +11 -0
  174. package/ts/types/Interface/api/society/UpdateSociety.ts +6 -0
  175. package/ts/types/Interface/models/IEstimateInvoice.ts +2 -4
  176. package/ts/types/Interface/models/IPartneredAccountantToSociety.ts +15 -0
  177. package/ts/types/Interface/models/IPermission.ts +1 -1
  178. package/ts/types/Interface/models/IProduct.ts +6 -13
  179. package/ts/types/Interface/models/{IItemEstimate.ts → IProductInvoice.ts} +8 -12
  180. package/ts/types/index.ts +15 -4
  181. package/ts/utils/validators/objectId.validator.ts +31 -0
  182. package/es/types/Interface/models/IItemEstimate.d.ts +0 -26
  183. package/es/types/Interface/models/IItemEstimate.d.ts.map +0 -1
  184. package/es/types/Interface/models/IItemEstimate.js +0 -2
  185. package/es/types/Interface/models/IItemEstimate.js.map +0 -1
  186. package/es/types/Interface/models/IProductType.d.ts +0 -7
  187. package/es/types/Interface/models/IProductType.d.ts.map +0 -1
  188. package/es/types/Interface/models/IProductType.js +0 -2
  189. package/es/types/Interface/models/IProductType.js.map +0 -1
  190. package/es/types/Interface/models/IUnit.d.ts +0 -8
  191. package/es/types/Interface/models/IUnit.d.ts.map +0 -1
  192. package/es/types/Interface/models/IUnit.js +0 -2
  193. package/es/types/Interface/models/IUnit.js.map +0 -1
  194. package/ts/types/Interface/models/IProductType.ts +0 -7
  195. package/ts/types/Interface/models/IUnit.ts +0 -8
@@ -1,7 +0,0 @@
1
- // typeProducts
2
- export interface IProductType {
3
- id?: number;
4
- name: string;
5
- createdAt?: Date | null;
6
- updatedAt?: Date | null;
7
- }
@@ -1,8 +0,0 @@
1
- // unities
2
- export interface IUnit {
3
- id?: number;
4
- name: string;
5
- shortName: string;
6
- createdAt?: Date | null;
7
- updatedAt?: Date | null;
8
- }