@silexpert/core 0.4.27 → 0.4.30

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 (263) hide show
  1. package/es/api/resources/Immobilization.d.ts +4 -0
  2. package/es/api/resources/Immobilization.d.ts.map +1 -1
  3. package/es/api/resources/Immobilization.js +3 -0
  4. package/es/api/resources/Immobilization.js.map +1 -1
  5. package/es/api/resources/Loan.d.ts +11 -0
  6. package/es/api/resources/Loan.d.ts.map +1 -0
  7. package/es/api/resources/Loan.js +13 -0
  8. package/es/api/resources/Loan.js.map +1 -0
  9. package/es/api/resources/PromoCode.d.ts +9 -0
  10. package/es/api/resources/PromoCode.d.ts.map +1 -0
  11. package/es/api/resources/PromoCode.js +16 -0
  12. package/es/api/resources/PromoCode.js.map +1 -0
  13. package/es/api/resources/Society.d.ts +2 -1
  14. package/es/api/resources/Society.d.ts.map +1 -1
  15. package/es/api/resources/Society.js +3 -0
  16. package/es/api/resources/Society.js.map +1 -1
  17. package/es/api/resources/SocietyPromoCode.d.ts +8 -0
  18. package/es/api/resources/SocietyPromoCode.d.ts.map +1 -0
  19. package/es/api/resources/SocietyPromoCode.js +13 -0
  20. package/es/api/resources/SocietyPromoCode.js.map +1 -0
  21. package/es/api/resources/Stocks.d.ts +11 -0
  22. package/es/api/resources/Stocks.d.ts.map +1 -0
  23. package/es/api/resources/Stocks.js +22 -0
  24. package/es/api/resources/Stocks.js.map +1 -0
  25. package/es/api/resources.d.ts +8 -0
  26. package/es/api/resources.d.ts.map +1 -1
  27. package/es/api/resources.js +8 -0
  28. package/es/api/resources.js.map +1 -1
  29. package/es/types/Enum/Activity.d.ts +7 -0
  30. package/es/types/Enum/Activity.d.ts.map +1 -0
  31. package/es/types/Enum/Activity.js +8 -0
  32. package/es/types/Enum/Activity.js.map +1 -0
  33. package/es/types/Enum/CerfaType.d.ts +15 -0
  34. package/es/types/Enum/CerfaType.d.ts.map +1 -0
  35. package/es/types/Enum/CerfaType.js +15 -0
  36. package/es/types/Enum/CerfaType.js.map +1 -0
  37. package/es/types/Enum/FiscalRegime.d.ts +6 -0
  38. package/es/types/Enum/FiscalRegime.d.ts.map +1 -0
  39. package/es/types/Enum/FiscalRegime.js +7 -0
  40. package/es/types/Enum/FiscalRegime.js.map +1 -0
  41. package/es/types/Enum/GlobalRegime.d.ts +30 -0
  42. package/es/types/Enum/GlobalRegime.d.ts.map +1 -0
  43. package/es/types/Enum/GlobalRegime.js +412 -0
  44. package/es/types/Enum/GlobalRegime.js.map +1 -0
  45. package/es/types/Enum/ImmobilizationType.d.ts +46 -0
  46. package/es/types/Enum/ImmobilizationType.d.ts.map +1 -1
  47. package/es/types/Enum/ImmobilizationType.js +47 -1
  48. package/es/types/Enum/ImmobilizationType.js.map +1 -1
  49. package/es/types/Enum/ProfitsType.d.ts +5 -0
  50. package/es/types/Enum/ProfitsType.d.ts.map +1 -0
  51. package/es/types/Enum/ProfitsType.js +6 -0
  52. package/es/types/Enum/ProfitsType.js.map +1 -0
  53. package/es/types/Enum/StockType.d.ts +15 -55
  54. package/es/types/Enum/StockType.d.ts.map +1 -1
  55. package/es/types/Enum/StockType.js +24 -0
  56. package/es/types/Enum/StockType.js.map +1 -1
  57. package/es/types/Enum/TaxSystem.d.ts +6 -0
  58. package/es/types/Enum/TaxSystem.d.ts.map +1 -0
  59. package/es/types/Enum/TaxSystem.js +7 -0
  60. package/es/types/Enum/TaxSystem.js.map +1 -0
  61. package/es/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.d.ts +5 -0
  62. package/es/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.d.ts.map +1 -0
  63. package/es/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.js +22 -0
  64. package/es/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.js.map +1 -0
  65. package/es/types/Interface/api/immobilization/CreateImmobilization.d.ts +7 -1
  66. package/es/types/Interface/api/immobilization/CreateImmobilization.d.ts.map +1 -1
  67. package/es/types/Interface/api/immobilization/CreateImmobilization.js +19 -1
  68. package/es/types/Interface/api/immobilization/CreateImmobilization.js.map +1 -1
  69. package/es/types/Interface/api/loan/CreateLoan.d.ts +10 -0
  70. package/es/types/Interface/api/loan/CreateLoan.d.ts.map +1 -0
  71. package/es/types/Interface/api/loan/CreateLoan.js +41 -0
  72. package/es/types/Interface/api/loan/CreateLoan.js.map +1 -0
  73. package/es/types/Interface/api/promoCode/CreatePromoCode.d.ts +12 -0
  74. package/es/types/Interface/api/promoCode/CreatePromoCode.d.ts.map +1 -0
  75. package/es/types/Interface/api/promoCode/CreatePromoCode.js +49 -0
  76. package/es/types/Interface/api/promoCode/CreatePromoCode.js.map +1 -0
  77. package/es/types/Interface/api/promoCode/UpdatePromoCode.d.ts +12 -0
  78. package/es/types/Interface/api/promoCode/UpdatePromoCode.d.ts.map +1 -0
  79. package/es/types/Interface/api/promoCode/UpdatePromoCode.js +49 -0
  80. package/es/types/Interface/api/promoCode/UpdatePromoCode.js.map +1 -0
  81. package/es/types/Interface/api/society/UpdateSociety.d.ts +3 -0
  82. package/es/types/Interface/api/society/UpdateSociety.d.ts.map +1 -1
  83. package/es/types/Interface/api/society/UpdateSociety.js +12 -0
  84. package/es/types/Interface/api/society/UpdateSociety.js.map +1 -1
  85. package/es/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.d.ts +5 -0
  86. package/es/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.d.ts.map +1 -0
  87. package/es/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js +21 -0
  88. package/es/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js.map +1 -0
  89. package/es/types/Interface/api/stock/StockEntries.d.ts +20 -0
  90. package/es/types/Interface/api/stock/StockEntries.d.ts.map +1 -0
  91. package/es/types/Interface/api/stock/StockEntries.js +114 -0
  92. package/es/types/Interface/api/stock/StockEntries.js.map +1 -0
  93. package/es/types/Interface/api/stock/Stocks.d.ts +14 -0
  94. package/es/types/Interface/api/stock/Stocks.d.ts.map +1 -0
  95. package/es/types/Interface/api/stock/Stocks.js +2 -0
  96. package/es/types/Interface/api/stock/Stocks.js.map +1 -0
  97. package/es/types/Interface/api/stock/StocksDepreciationInterface.d.ts +8 -0
  98. package/es/types/Interface/api/stock/StocksDepreciationInterface.d.ts.map +1 -0
  99. package/es/types/Interface/api/stock/StocksDepreciationInterface.js +2 -0
  100. package/es/types/Interface/api/stock/StocksDepreciationInterface.js.map +1 -0
  101. package/es/types/Interface/api/stock/StocksType.d.ts +7 -0
  102. package/es/types/Interface/api/stock/StocksType.d.ts.map +1 -0
  103. package/es/types/Interface/api/stock/StocksType.js +2 -0
  104. package/es/types/Interface/api/stock/StocksType.js.map +1 -0
  105. package/es/types/Interface/models/IApiError.d.ts +2 -0
  106. package/es/types/Interface/models/IApiError.d.ts.map +1 -1
  107. package/es/types/Interface/models/IApiError.js +2 -0
  108. package/es/types/Interface/models/IApiError.js.map +1 -1
  109. package/es/types/Interface/models/IBalanceSheetModule.d.ts +11 -0
  110. package/es/types/Interface/models/IBalanceSheetModule.d.ts.map +1 -0
  111. package/es/types/Interface/models/IBalanceSheetModule.js +2 -0
  112. package/es/types/Interface/models/IBalanceSheetModule.js.map +1 -0
  113. package/es/types/Interface/models/ICustomerTva.d.ts +2 -0
  114. package/es/types/Interface/models/ICustomerTva.d.ts.map +1 -1
  115. package/es/types/Interface/models/ICustomerTva.js.map +1 -1
  116. package/es/types/Interface/models/IExerciceComment.d.ts +13 -0
  117. package/es/types/Interface/models/IExerciceComment.d.ts.map +1 -0
  118. package/es/types/Interface/models/IExerciceComment.js +2 -0
  119. package/es/types/Interface/models/IExerciceComment.js.map +1 -0
  120. package/es/types/Interface/models/IExerciceDetail.d.ts +2 -0
  121. package/es/types/Interface/models/IExerciceDetail.d.ts.map +1 -1
  122. package/es/types/Interface/models/IExerciceDetail.js.map +1 -1
  123. package/es/types/Interface/models/IImmobilization.d.ts +3 -0
  124. package/es/types/Interface/models/IImmobilization.d.ts.map +1 -1
  125. package/es/types/Interface/models/IImmobilization.js.map +1 -1
  126. package/es/types/Interface/models/ILoan.d.ts +18 -0
  127. package/es/types/Interface/models/ILoan.d.ts.map +1 -0
  128. package/es/types/Interface/models/ILoan.js +2 -0
  129. package/es/types/Interface/models/ILoan.js.map +1 -0
  130. package/es/types/Interface/models/IPromoCode.d.ts +15 -0
  131. package/es/types/Interface/models/IPromoCode.d.ts.map +1 -0
  132. package/es/types/Interface/models/IPromoCode.js +2 -0
  133. package/es/types/Interface/models/IPromoCode.js.map +1 -0
  134. package/es/types/Interface/models/IRefund.d.ts +3 -3
  135. package/es/types/Interface/models/IRefund.d.ts.map +1 -1
  136. package/es/types/Interface/models/IRefund.js.map +1 -1
  137. package/es/types/Interface/models/ISocietyDetail.d.ts +5 -1
  138. package/es/types/Interface/models/ISocietyDetail.d.ts.map +1 -1
  139. package/es/types/Interface/models/ISocietyDetail.js.map +1 -1
  140. package/es/types/Interface/models/ISocietyPromoCode.d.ts +8 -0
  141. package/es/types/Interface/models/ISocietyPromoCode.d.ts.map +1 -0
  142. package/es/types/Interface/models/ISocietyPromoCode.js +2 -0
  143. package/es/types/Interface/models/ISocietyPromoCode.js.map +1 -0
  144. package/es/types/Interface/models/IStock.d.ts +11 -0
  145. package/es/types/Interface/models/IStock.d.ts.map +1 -0
  146. package/es/types/Interface/models/IStock.js +2 -0
  147. package/es/types/Interface/models/IStock.js.map +1 -0
  148. package/es/types/Interface/models/IUser.d.ts +1 -0
  149. package/es/types/Interface/models/IUser.d.ts.map +1 -1
  150. package/es/types/Interface/models/IUser.js.map +1 -1
  151. package/es/types/index.d.ts +19 -0
  152. package/es/types/index.d.ts.map +1 -1
  153. package/es/types/index.js +21 -0
  154. package/es/types/index.js.map +1 -1
  155. package/js/api/resources/Immobilization.js +4 -0
  156. package/js/api/resources/Immobilization.js.map +1 -1
  157. package/js/api/resources/Loan.js +26 -0
  158. package/js/api/resources/Loan.js.map +1 -0
  159. package/js/api/resources/PromoCode.js +30 -0
  160. package/js/api/resources/PromoCode.js.map +1 -0
  161. package/js/api/resources/Society.js +4 -0
  162. package/js/api/resources/Society.js.map +1 -1
  163. package/js/api/resources/SocietyPromoCode.js +26 -0
  164. package/js/api/resources/SocietyPromoCode.js.map +1 -0
  165. package/js/api/resources/Stocks.js +44 -0
  166. package/js/api/resources/Stocks.js.map +1 -0
  167. package/js/api/resources.js +13 -1
  168. package/js/api/resources.js.map +1 -1
  169. package/js/types/Enum/Activity.js +14 -0
  170. package/js/types/Enum/Activity.js.map +1 -0
  171. package/js/types/Enum/CerfaType.js +20 -0
  172. package/js/types/Enum/CerfaType.js.map +1 -0
  173. package/js/types/Enum/FiscalRegime.js +13 -0
  174. package/js/types/Enum/FiscalRegime.js.map +1 -0
  175. package/js/types/Enum/GlobalRegime.js +376 -0
  176. package/js/types/Enum/GlobalRegime.js.map +1 -0
  177. package/js/types/Enum/ImmobilizationType.js +85 -37
  178. package/js/types/Enum/ImmobilizationType.js.map +1 -1
  179. package/js/types/Enum/ProfitsType.js +12 -0
  180. package/js/types/Enum/ProfitsType.js.map +1 -0
  181. package/js/types/Enum/StockType.js +25 -1
  182. package/js/types/Enum/StockType.js.map +1 -1
  183. package/js/types/Enum/TaxSystem.js +13 -0
  184. package/js/types/Enum/TaxSystem.js.map +1 -0
  185. package/js/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.js +31 -0
  186. package/js/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.js.map +1 -0
  187. package/js/types/Interface/api/immobilization/CreateImmobilization.js +17 -1
  188. package/js/types/Interface/api/immobilization/CreateImmobilization.js.map +1 -1
  189. package/js/types/Interface/api/loan/CreateLoan.js +39 -0
  190. package/js/types/Interface/api/loan/CreateLoan.js.map +1 -0
  191. package/js/types/Interface/api/promoCode/CreatePromoCode.js +43 -0
  192. package/js/types/Interface/api/promoCode/CreatePromoCode.js.map +1 -0
  193. package/js/types/Interface/api/promoCode/UpdatePromoCode.js +43 -0
  194. package/js/types/Interface/api/promoCode/UpdatePromoCode.js.map +1 -0
  195. package/js/types/Interface/api/society/UpdateSociety.js +6 -0
  196. package/js/types/Interface/api/society/UpdateSociety.js.map +1 -1
  197. package/js/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js +29 -0
  198. package/js/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js.map +1 -0
  199. package/js/types/Interface/api/stock/StockEntries.js +98 -0
  200. package/js/types/Interface/api/stock/StockEntries.js.map +1 -0
  201. package/js/types/Interface/api/stock/Stocks.js +6 -0
  202. package/js/types/Interface/api/stock/Stocks.js.map +1 -0
  203. package/js/types/Interface/api/stock/StocksDepreciationInterface.js +6 -0
  204. package/js/types/Interface/api/stock/StocksDepreciationInterface.js.map +1 -0
  205. package/js/types/Interface/api/stock/StocksType.js +6 -0
  206. package/js/types/Interface/api/stock/StocksType.js.map +1 -0
  207. package/js/types/Interface/models/IApiError.js +3 -1
  208. package/js/types/Interface/models/IApiError.js.map +1 -1
  209. package/js/types/Interface/models/IBalanceSheetModule.js +6 -0
  210. package/js/types/Interface/models/IBalanceSheetModule.js.map +1 -0
  211. package/js/types/Interface/models/IExerciceComment.js +6 -0
  212. package/js/types/Interface/models/IExerciceComment.js.map +1 -0
  213. package/js/types/Interface/models/ILoan.js +6 -0
  214. package/js/types/Interface/models/ILoan.js.map +1 -0
  215. package/js/types/Interface/models/IPromoCode.js +6 -0
  216. package/js/types/Interface/models/IPromoCode.js.map +1 -0
  217. package/js/types/Interface/models/ISocietyPromoCode.js +6 -0
  218. package/js/types/Interface/models/ISocietyPromoCode.js.map +1 -0
  219. package/js/types/Interface/models/IStock.js +6 -0
  220. package/js/types/Interface/models/IStock.js.map +1 -0
  221. package/js/types/index.js +228 -0
  222. package/js/types/index.js.map +1 -1
  223. package/package.json +1 -1
  224. package/ts/api/resources/Immobilization.ts +4 -0
  225. package/ts/api/resources/Loan.ts +17 -0
  226. package/ts/api/resources/PromoCode.ts +20 -0
  227. package/ts/api/resources/Society.ts +4 -0
  228. package/ts/api/resources/SocietyPromoCode.ts +16 -0
  229. package/ts/api/resources/Stocks.ts +28 -0
  230. package/ts/api/resources.ts +8 -0
  231. package/ts/types/Enum/Activity.ts +6 -0
  232. package/ts/types/Enum/CerfaType.ts +14 -0
  233. package/ts/types/Enum/FiscalRegime.ts +5 -0
  234. package/ts/types/Enum/GlobalRegime.ts +441 -0
  235. package/ts/types/Enum/ImmobilizationType.ts +51 -4
  236. package/ts/types/Enum/ProfitsType.ts +4 -0
  237. package/ts/types/Enum/StockType.ts +31 -2
  238. package/ts/types/Enum/TaxSystem.ts +5 -0
  239. package/ts/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.ts +10 -0
  240. package/ts/types/Interface/api/immobilization/CreateImmobilization.ts +16 -2
  241. package/ts/types/Interface/api/loan/CreateLoan.ts +24 -0
  242. package/ts/types/Interface/api/promoCode/CreatePromoCode.ts +30 -0
  243. package/ts/types/Interface/api/promoCode/UpdatePromoCode.ts +30 -0
  244. package/ts/types/Interface/api/society/UpdateSociety.ts +9 -0
  245. package/ts/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.ts +9 -0
  246. package/ts/types/Interface/api/stock/StockEntries.ts +115 -0
  247. package/ts/types/Interface/api/stock/Stocks.ts +14 -0
  248. package/ts/types/Interface/api/stock/StocksDepreciationInterface.ts +8 -0
  249. package/ts/types/Interface/api/stock/StocksType.ts +6 -0
  250. package/ts/types/Interface/models/IApiError.ts +2 -0
  251. package/ts/types/Interface/models/IBalanceSheetModule.ts +11 -0
  252. package/ts/types/Interface/models/ICustomerTva.ts +2 -0
  253. package/ts/types/Interface/models/IExerciceComment.ts +16 -0
  254. package/ts/types/Interface/models/IExerciceDetail.ts +2 -0
  255. package/ts/types/Interface/models/IImmobilization.ts +3 -0
  256. package/ts/types/Interface/models/ILoan.ts +20 -0
  257. package/ts/types/Interface/models/IPromoCode.ts +14 -0
  258. package/ts/types/Interface/models/IRefund.ts +3 -3
  259. package/ts/types/Interface/models/ISocietyDetail.ts +5 -1
  260. package/ts/types/Interface/models/ISocietyPromoCode.ts +7 -0
  261. package/ts/types/Interface/models/IStock.ts +10 -0
  262. package/ts/types/Interface/models/IUser.ts +1 -0
  263. package/ts/types/index.ts +21 -0
@@ -33,12 +33,14 @@ export enum Code {
33
33
  immobilizationNotSetWithAccountStartTwo = 'immobilization_not_set_with_account_start_two',
34
34
  immobilizationCanOnlyBeSetForDebit = 'immobilization_can_only_be_set_for_debit',
35
35
  immobilizationCanNotBeSetWithoutAccount = 'immobilization_can_not_be_set_without_account',
36
+ immobilizationNotExist = 'immobilization_not_exist',
36
37
  accountIsNotDepreciable = 'account_is_not_depreciable',
37
38
  invalidNetBookValue = 'invalid_net_book_value',
38
39
  noExerciceFoundForImmobilization = 'no_exercice_found_for_immobilization',
39
40
  amountImmobilizationLessThanAmountTransaction = 'amount_immobilization_less_than_amount_transaction',
40
41
  amountImmobilizationLessThanAmountAllTaxIncluded = 'amount_immobilization_less_than_amount_all_tax_included',
41
42
  amountImmobilizationIsGreaterThanTotalAmountTransactions = 'amount_immobilization_is_greater_than_total_amount_transactions',
43
+ immobilizationNotFound = 'immobilization_not_found',
42
44
 
43
45
  // PDF error
44
46
  mergeFailed = 'merge_failed',
@@ -0,0 +1,11 @@
1
+ // balanceSheetModule
2
+ export interface IBalanceSheetModule {
3
+ id?: number;
4
+ inventory: boolean;
5
+ deadlinerecoveryImmobilization: boolean;
6
+ salariesFile: boolean;
7
+ idSociety: number;
8
+ idExercice: number;
9
+ createdAt?: Date | null;
10
+ updatedAt?: Date | null;
11
+ }
@@ -17,6 +17,8 @@ export interface ICustomerTva {
17
17
  amountBaseTva: number | null;
18
18
  comment: string | null;
19
19
  token: string | null;
20
+ acceptation: boolean | null;
21
+ acceptationDate: Date | null;
20
22
  idMail: number | null;
21
23
  idVatDeclaration: number | null;
22
24
  createdAt?: Date | null;
@@ -0,0 +1,16 @@
1
+ import { IExercice } from './IExercice';
2
+ import { IUser } from './IUser';
3
+
4
+ // exerciceComments
5
+ export interface IExerciceComment {
6
+ id?: number;
7
+ comment: string;
8
+ idExercice: number;
9
+ idUser: number;
10
+ createdAt?: Date | null;
11
+ updatedAt?: Date | null;
12
+
13
+ // Associations
14
+ exercice?: IExercice;
15
+ user?: IUser;
16
+ }
@@ -10,6 +10,8 @@ export interface IExerciceDetail {
10
10
  checklistMaj: boolean | null;
11
11
  statutReview: number | null;
12
12
  isDone: boolean;
13
+ acceptation: boolean | null;
14
+ acceptationDate: Date | null;
13
15
  idExercice: number;
14
16
  createdAt?: Date | null;
15
17
  updatedAt?: Date | null;
@@ -7,12 +7,15 @@ export interface IImmobilization {
7
7
  reference: string;
8
8
  designation: string;
9
9
  quantity: number;
10
+ quantityTrashed?: number;
11
+ quantitySelled?: number;
10
12
  acquisitionDate?: Date; // si il n'y a pas d'acquisition date, c'est un acompte
11
13
  duration: number;
12
14
  provider: string;
13
15
  depreciationMethod?: DepreciationMethods;
14
16
  amountTotalImmobilization : number;
15
17
  amountAlreadyDeducted?: number;
18
+ idAccount?: number | null;
16
19
  idSociety: number;
17
20
  createdAt?: Date | null;
18
21
  updatedAt?: Date | null;
@@ -0,0 +1,20 @@
1
+ import { ISociety } from './ISociety';
2
+ import { IExercice } from './IExercice';
3
+
4
+ export interface ILoan {
5
+ id?: number;
6
+ name: string;
7
+ lenderDesignation: string;
8
+ number: number;
9
+ amount: number;
10
+ assetBeforeExercice: number;
11
+ assetAfterExercice: number;
12
+ idExercice: number;
13
+ idSociety: number;
14
+ createdAt?: Date | null;
15
+ updatedAt?: Date | null;
16
+
17
+ // Associations
18
+ society?: ISociety;
19
+ exercice?: IExercice
20
+ }
@@ -0,0 +1,14 @@
1
+ export interface IPromoCode {
2
+ id?: number;
3
+ name: string;
4
+ microMonthly?: string | null;
5
+ microMonthlyDescription?: string | null;
6
+ microYearly?: string | null;
7
+ microYearlyDescription?: string | null;
8
+ businessMonthly?: string | null;
9
+ businessMonthlyDescription?: string | null;
10
+ businessYearly?: string | null;
11
+ businessYearlyDescription?: string | null;
12
+ createdAt?: Date | null;
13
+ updatedAt?: Date | null;
14
+ }
@@ -6,14 +6,14 @@ import { IUser } from './IUser';
6
6
  // refunds
7
7
  export interface IRefund {
8
8
  id?: number;
9
- amount: number;
9
+ amount: number | null;
10
10
  comment: string | null;
11
- refundDate: Date;
11
+ refundDate: Date | null;
12
12
  processed: boolean;
13
13
  idRefundMotif: number;
14
14
  idSociety: number;
15
15
  idUserDemand: number;
16
- idFile: number;
16
+ idFile: number | null;
17
17
  createdAt?: Date | null;
18
18
  updatedAt?: Date | null;
19
19
 
@@ -29,7 +29,7 @@ export interface ISocietyDetail {
29
29
  tauxTvaComment: string | null;
30
30
  remarqueComment: string | null;
31
31
  remarqueCommentCab: string | null;
32
- acceptation: boolean | null;
32
+ acceptation: number | null;
33
33
  userIdAcceptation: number | null;
34
34
  lab: boolean | null;
35
35
  userIdLab: number | null;
@@ -94,6 +94,10 @@ export interface ISocietyDetail {
94
94
  notificationForConstitution: boolean;
95
95
  notificationForOtherMissions: boolean | null;
96
96
  takeKnowledge: boolean;
97
+ bankSynchronisationState: number | null;
98
+ platformExplanation:number | null;
99
+ mobileAppInstallationProposal:number | null;
100
+ verifiedDocuments: boolean | null;
97
101
  createdAt?: Date | null;
98
102
  updatedAt?: Date | null;
99
103
 
@@ -0,0 +1,7 @@
1
+ export interface ISocietyPromoCode {
2
+ id?: number;
3
+ idSociety: number;
4
+ idPromoCode: number;
5
+ createdAt?: Date | null;
6
+ updatedAt?: Date | null;
7
+ }
@@ -0,0 +1,10 @@
1
+ export interface IStock {
2
+ id?: number;
3
+ dateValue: Date;
4
+ idAccountingTransaction: number;
5
+ idAccountingTransactionExtourne: number;
6
+ idAccountingTransactionDepreciation: number | null;
7
+ idAccountingTransactionDepreciationExtourne: number | null;
8
+ idAccountReferral: number;
9
+ idSociety: number;
10
+ }
@@ -65,6 +65,7 @@ export interface IUser {
65
65
  societyByDefault: number | null;
66
66
  longAbsence: boolean | null;
67
67
  internationalPhone: string | null;
68
+ isThemeLight: boolean;
68
69
  createdAt?: Date | null;
69
70
  updatedAt?: Date | null;
70
71
  confirmedAt?: Date | null;
package/ts/types/index.ts CHANGED
@@ -71,6 +71,7 @@ export * from './Interface/models/IEngagementOcrExtraction';
71
71
  export * from './Interface/models/IEstimateInvoiceRepeat';
72
72
  export * from './Interface/models/IEstimateInvoice';
73
73
  export * from './Interface/models/IExerciceDetail';
74
+ export * from './Interface/models/IExerciceComment';
74
75
  export * from './Interface/models/IExercice';
75
76
  export * from './Interface/models/IExercicePrestation';
76
77
  export * from './Interface/models/IFailedLoginAttempt';
@@ -274,6 +275,11 @@ export * from './Interface/models/IField';
274
275
  export * from './Interface/models/IFecFile';
275
276
  export * from './Interface/models/ISuggestion';
276
277
  export * from './Interface/models/ISalariesFile';
278
+ export * from './Interface/models/IPromoCode';
279
+ export * from './Interface/models/ILoan';
280
+ export * from './Interface/models/IBalanceSheetModule';
281
+ export * from './Interface/models/IStock';
282
+ export * from './Interface/models/ISocietyPromoCode';
277
283
 
278
284
  // Forms
279
285
  export * from './Form/FormAuthenticate';
@@ -314,6 +320,12 @@ export * from './Enum/SponsorshipState';
314
320
  export * from './Enum/Ged';
315
321
  export * from './Enum/SendInBlueList';
316
322
  export * from './Enum/TypeBankConnection';
323
+ export * from './Enum/GlobalRegime';
324
+ export * from './Enum/TaxSystem';
325
+ export * from './Enum/FiscalRegime';
326
+ export * from './Enum/Activity';
327
+ export * from './Enum/CerfaType';
328
+ export * from './Enum/StockType';
317
329
 
318
330
  // Interfaces API
319
331
  export * from './Interface/api/businessPartner/ReadBusinessPartner';
@@ -349,6 +361,8 @@ export * from './Interface/api/BasePaginate';
349
361
  export * from './Interface/api/BaseRequest';
350
362
  export * from './Interface/api/generalLedger/IGeneralLedgerAccount';
351
363
  export * from './Interface/api/generalLedger/IGeneralLedgerAccountingEntry';
364
+ // export * from './Interface/api/stock/stockEntries';
365
+ export * from './Interface/api/stock/StockEntries';
352
366
 
353
367
  // export * from './Interface/api/survey/QuerySurvey';
354
368
  export * from './Interface/api/survey/ReadSurvey';
@@ -386,3 +400,10 @@ export * from './Interface/api/shine/GetConnect';
386
400
  export * from './Interface/api/shine/CreateShineAccount';
387
401
  export * from './Interface/api/shine/CreateShineTransactions';
388
402
  export * from './Interface/api/shine/ConnectResponse';
403
+ export * from './Interface/api/promoCode/UpdatePromoCode';
404
+ export * from './Interface/api/promoCode/CreatePromoCode';
405
+ export * from './Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount';
406
+ export * from './Interface/api/loan/CreateLoan';
407
+ export * from './Interface/api/stock/StocksType';
408
+ // export * from './Interface/api/stock/StockEntries';
409
+ export * from './Interface/api/societyPromoCode/CreateSocietyPromoCode';