@silexpert/core 0.4.28 → 0.4.31

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 (125) hide show
  1. package/es/api/resources/Loan.d.ts +11 -0
  2. package/es/api/resources/Loan.d.ts.map +1 -0
  3. package/es/api/resources/Loan.js +13 -0
  4. package/es/api/resources/Loan.js.map +1 -0
  5. package/es/api/resources/SocietyPromoCode.d.ts +8 -0
  6. package/es/api/resources/SocietyPromoCode.d.ts.map +1 -0
  7. package/es/api/resources/SocietyPromoCode.js +13 -0
  8. package/es/api/resources/SocietyPromoCode.js.map +1 -0
  9. package/es/api/resources/Stocks.d.ts +11 -0
  10. package/es/api/resources/Stocks.d.ts.map +1 -0
  11. package/es/api/resources/Stocks.js +22 -0
  12. package/es/api/resources/Stocks.js.map +1 -0
  13. package/es/api/resources.d.ts +6 -0
  14. package/es/api/resources.d.ts.map +1 -1
  15. package/es/api/resources.js +6 -0
  16. package/es/api/resources.js.map +1 -1
  17. package/es/types/Enum/GlobalRegime.js +41 -41
  18. package/es/types/Enum/GlobalRegime.js.map +1 -1
  19. package/es/types/Enum/StockType.d.ts +15 -55
  20. package/es/types/Enum/StockType.d.ts.map +1 -1
  21. package/es/types/Enum/StockType.js +24 -0
  22. package/es/types/Enum/StockType.js.map +1 -1
  23. package/es/types/Interface/api/loan/CreateLoan.d.ts +10 -0
  24. package/es/types/Interface/api/loan/CreateLoan.d.ts.map +1 -0
  25. package/es/types/Interface/api/loan/CreateLoan.js +41 -0
  26. package/es/types/Interface/api/loan/CreateLoan.js.map +1 -0
  27. package/es/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.d.ts +5 -0
  28. package/es/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.d.ts.map +1 -0
  29. package/es/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js +21 -0
  30. package/es/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js.map +1 -0
  31. package/es/types/Interface/api/stock/StockEntries.d.ts +20 -0
  32. package/es/types/Interface/api/stock/StockEntries.d.ts.map +1 -0
  33. package/es/types/Interface/api/stock/StockEntries.js +114 -0
  34. package/es/types/Interface/api/stock/StockEntries.js.map +1 -0
  35. package/es/types/Interface/api/stock/Stocks.d.ts +14 -0
  36. package/es/types/Interface/api/stock/Stocks.d.ts.map +1 -0
  37. package/es/types/Interface/api/stock/Stocks.js +2 -0
  38. package/es/types/Interface/api/stock/Stocks.js.map +1 -0
  39. package/es/types/Interface/api/stock/StocksDepreciationInterface.d.ts +8 -0
  40. package/es/types/Interface/api/stock/StocksDepreciationInterface.d.ts.map +1 -0
  41. package/es/types/Interface/api/stock/StocksDepreciationInterface.js +2 -0
  42. package/es/types/Interface/api/stock/StocksDepreciationInterface.js.map +1 -0
  43. package/es/types/Interface/api/stock/StocksType.d.ts +7 -0
  44. package/es/types/Interface/api/stock/StocksType.d.ts.map +1 -0
  45. package/es/types/Interface/api/stock/StocksType.js +2 -0
  46. package/es/types/Interface/api/stock/StocksType.js.map +1 -0
  47. package/es/types/Interface/models/IApiError.d.ts +2 -1
  48. package/es/types/Interface/models/IApiError.d.ts.map +1 -1
  49. package/es/types/Interface/models/IApiError.js +2 -0
  50. package/es/types/Interface/models/IApiError.js.map +1 -1
  51. package/es/types/Interface/models/IBalanceSheetModule.d.ts +11 -0
  52. package/es/types/Interface/models/IBalanceSheetModule.d.ts.map +1 -0
  53. package/es/types/Interface/models/IBalanceSheetModule.js +2 -0
  54. package/es/types/Interface/models/IBalanceSheetModule.js.map +1 -0
  55. package/es/types/Interface/models/ILoan.d.ts +18 -0
  56. package/es/types/Interface/models/ILoan.d.ts.map +1 -0
  57. package/es/types/Interface/models/ILoan.js +2 -0
  58. package/es/types/Interface/models/ILoan.js.map +1 -0
  59. package/es/types/Interface/models/ISocietyPromoCode.d.ts +8 -0
  60. package/es/types/Interface/models/ISocietyPromoCode.d.ts.map +1 -0
  61. package/es/types/Interface/models/ISocietyPromoCode.js +2 -0
  62. package/es/types/Interface/models/ISocietyPromoCode.js.map +1 -0
  63. package/es/types/Interface/models/IStock.d.ts +11 -0
  64. package/es/types/Interface/models/IStock.d.ts.map +1 -0
  65. package/es/types/Interface/models/IStock.js +2 -0
  66. package/es/types/Interface/models/IStock.js.map +1 -0
  67. package/es/types/index.d.ts +9 -0
  68. package/es/types/index.d.ts.map +1 -1
  69. package/es/types/index.js +11 -0
  70. package/es/types/index.js.map +1 -1
  71. package/js/api/resources/Loan.js +26 -0
  72. package/js/api/resources/Loan.js.map +1 -0
  73. package/js/api/resources/SocietyPromoCode.js +26 -0
  74. package/js/api/resources/SocietyPromoCode.js.map +1 -0
  75. package/js/api/resources/Stocks.js +44 -0
  76. package/js/api/resources/Stocks.js.map +1 -0
  77. package/js/api/resources.js +10 -1
  78. package/js/api/resources.js.map +1 -1
  79. package/js/types/Enum/GlobalRegime.js +41 -41
  80. package/js/types/Enum/GlobalRegime.js.map +1 -1
  81. package/js/types/Enum/StockType.js +25 -1
  82. package/js/types/Enum/StockType.js.map +1 -1
  83. package/js/types/Interface/api/loan/CreateLoan.js +39 -0
  84. package/js/types/Interface/api/loan/CreateLoan.js.map +1 -0
  85. package/js/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js +29 -0
  86. package/js/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js.map +1 -0
  87. package/js/types/Interface/api/stock/StockEntries.js +98 -0
  88. package/js/types/Interface/api/stock/StockEntries.js.map +1 -0
  89. package/js/types/Interface/api/stock/Stocks.js +6 -0
  90. package/js/types/Interface/api/stock/Stocks.js.map +1 -0
  91. package/js/types/Interface/api/stock/StocksDepreciationInterface.js +6 -0
  92. package/js/types/Interface/api/stock/StocksDepreciationInterface.js.map +1 -0
  93. package/js/types/Interface/api/stock/StocksType.js +6 -0
  94. package/js/types/Interface/api/stock/StocksType.js.map +1 -0
  95. package/js/types/Interface/models/IApiError.js +3 -1
  96. package/js/types/Interface/models/IApiError.js.map +1 -1
  97. package/js/types/Interface/models/IBalanceSheetModule.js +6 -0
  98. package/js/types/Interface/models/IBalanceSheetModule.js.map +1 -0
  99. package/js/types/Interface/models/ILoan.js +6 -0
  100. package/js/types/Interface/models/ILoan.js.map +1 -0
  101. package/js/types/Interface/models/ISocietyPromoCode.js +6 -0
  102. package/js/types/Interface/models/ISocietyPromoCode.js.map +1 -0
  103. package/js/types/Interface/models/IStock.js +6 -0
  104. package/js/types/Interface/models/IStock.js.map +1 -0
  105. package/js/types/index.js +108 -0
  106. package/js/types/index.js.map +1 -1
  107. package/package.json +1 -1
  108. package/ts/api/resources/Loan.ts +17 -0
  109. package/ts/api/resources/SocietyPromoCode.ts +16 -0
  110. package/ts/api/resources/Stocks.ts +28 -0
  111. package/ts/api/resources.ts +6 -0
  112. package/ts/types/Enum/GlobalRegime.ts +41 -41
  113. package/ts/types/Enum/StockType.ts +31 -2
  114. package/ts/types/Interface/api/loan/CreateLoan.ts +24 -0
  115. package/ts/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.ts +9 -0
  116. package/ts/types/Interface/api/stock/StockEntries.ts +115 -0
  117. package/ts/types/Interface/api/stock/Stocks.ts +14 -0
  118. package/ts/types/Interface/api/stock/StocksDepreciationInterface.ts +8 -0
  119. package/ts/types/Interface/api/stock/StocksType.ts +6 -0
  120. package/ts/types/Interface/models/IApiError.ts +3 -0
  121. package/ts/types/Interface/models/IBalanceSheetModule.ts +11 -0
  122. package/ts/types/Interface/models/ILoan.ts +20 -0
  123. package/ts/types/Interface/models/ISocietyPromoCode.ts +7 -0
  124. package/ts/types/Interface/models/IStock.ts +10 -0
  125. package/ts/types/index.ts +11 -0
@@ -40,7 +40,7 @@ export const GlobalRegime: GlobalRegimeType = {
40
40
  idLegalForms: [LegalForm.EI.id],
41
41
  choices: [
42
42
  {
43
- name: 'artisans - commerçants - IR - BIC - déclaration 2031',
43
+ name: 'Artisan - commerçant (BIC - IR - 2031)',
44
44
  idActivity: Activity.COMMERCANT,
45
45
  idTaxSystem: TaxSystem.IR,
46
46
  profitsType: ProfitsType.BIC,
@@ -48,7 +48,7 @@ export const GlobalRegime: GlobalRegimeType = {
48
48
  declaration: CerfaType[2031],
49
49
  },
50
50
  {
51
- name: 'Presta de services - IR - BIC - déclaration 2031',
51
+ name: 'Presta de services (BIC - IR - 2031)',
52
52
  idActivity: Activity.PRESTA_SERVICE,
53
53
  idTaxSystem: TaxSystem.IR,
54
54
  profitsType: ProfitsType.BIC,
@@ -56,7 +56,7 @@ export const GlobalRegime: GlobalRegimeType = {
56
56
  declaration: CerfaType[2031],
57
57
  },
58
58
  {
59
- name: 'professions libérales - IR - BNC - déclaration 2035',
59
+ name: 'Profession libérale (BNC - IR - 2035)',
60
60
  idActivity: Activity.PROF_LIB,
61
61
  idTaxSystem: TaxSystem.IR,
62
62
  profitsType: ProfitsType.BNC,
@@ -71,7 +71,7 @@ export const GlobalRegime: GlobalRegimeType = {
71
71
  idLegalForms: [LegalForm.EIRL.id],
72
72
  choices: [
73
73
  {
74
- name: 'artisans - commerçants : IR - BIC - déclaration 2031',
74
+ name: 'Artisan - commerçant (BIC - IR - 2031)',
75
75
  idActivity: Activity.COMMERCANT,
76
76
  idTaxSystem: TaxSystem.IR,
77
77
  profitsType: ProfitsType.BIC,
@@ -79,7 +79,7 @@ export const GlobalRegime: GlobalRegimeType = {
79
79
  declaration: CerfaType[2031],
80
80
  },
81
81
  {
82
- name: 'professions libérales : IR - BNC - déclaration 2035',
82
+ name: 'Profession libérale (BNC - IR - 2035)',
83
83
  idActivity: Activity.PROF_LIB,
84
84
  idTaxSystem: TaxSystem.IR,
85
85
  profitsType: ProfitsType.BNC,
@@ -87,7 +87,7 @@ export const GlobalRegime: GlobalRegimeType = {
87
87
  declaration: CerfaType[2035],
88
88
  },
89
89
  {
90
- name: 'artisans - commerçants : IS - RSI - BIC - déclaration 2065 et annexes 2033',
90
+ name: 'Artisan - commerçant (BIC - IS - Réel simplifié - 2065 & 2033)',
91
91
  idActivity: Activity.COMMERCANT,
92
92
  idTaxSystem: TaxSystem.IS,
93
93
  profitsType: ProfitsType.BIC,
@@ -96,25 +96,25 @@ export const GlobalRegime: GlobalRegimeType = {
96
96
  annexe: CerfaType[2033],
97
97
  },
98
98
  {
99
- name: 'artisans - commerçants : IS - RN - BIC - déclaration 2065 et annexes 2050',
99
+ name: 'Artisan - commerçant (BIC - IS - Réel normal - 2065 & 2050)',
100
100
  idActivity: Activity.COMMERCANT,
101
101
  idTaxSystem: TaxSystem.IS,
102
102
  profitsType: ProfitsType.BIC,
103
- idFiscalRegime: FiscalRegime.RS,
103
+ idFiscalRegime: FiscalRegime.RN,
104
104
  declaration: CerfaType[2065],
105
105
  annexe: CerfaType[2050],
106
106
  },
107
107
  {
108
- name: 'professions libérales : IS - RSI - BNC - déclaration 2065 et annexes 2033',
108
+ name: 'Profession libérale (BNC - IS - Réel simplifié - 2065 & 2033)',
109
109
  idActivity: Activity.PROF_LIB,
110
110
  idTaxSystem: TaxSystem.IS,
111
111
  profitsType: ProfitsType.BNC,
112
- idFiscalRegime: FiscalRegime.RN,
112
+ idFiscalRegime: FiscalRegime.RS,
113
113
  declaration: CerfaType[2065],
114
114
  annexe: CerfaType[2033],
115
115
  },
116
116
  {
117
- name: 'professions libérales : IS - BNC - déclaration 2065 et annexes 2050',
117
+ name: 'Profession libérale (BNC - IS - 2065 & 2050)',
118
118
  idActivity: Activity.PROF_LIB,
119
119
  idTaxSystem: TaxSystem.IS,
120
120
  profitsType: ProfitsType.BNC,
@@ -130,7 +130,7 @@ export const GlobalRegime: GlobalRegimeType = {
130
130
  idLegalForms: [LegalForm.AUTO_ENTREPRENEUR.id],
131
131
  choices: [
132
132
  {
133
- name: 'micro-BIC : activités négoce (achat/revente de marchandises) et prestations d\'hébergement : BIC - déclaration 2042-C-Pro',
133
+ name: 'Activité négoce (achat/revente de marchandises) et prestation d\'hébergement (Micro-BIC - 2042-C-Pro)',
134
134
  idActivity: Activity.COMMERCANT,
135
135
  idTaxSystem: TaxSystem.NA,
136
136
  profitsType: ProfitsType.BIC,
@@ -138,7 +138,7 @@ export const GlobalRegime: GlobalRegimeType = {
138
138
  declaration: CerfaType['2042_C_Pro'],
139
139
  },
140
140
  {
141
- name: 'micro-BIC : prestataires de services commerciales ou artisanales : BIC - déclaration 2042-C-Pro',
141
+ name: 'Presta de services commerciales ou artisanales (Micro-BIC - 2042-C-Pro)',
142
142
  idActivity: Activity.PRESTA_SERVICE,
143
143
  idTaxSystem: TaxSystem.NA,
144
144
  profitsType: ProfitsType.BIC,
@@ -146,7 +146,7 @@ export const GlobalRegime: GlobalRegimeType = {
146
146
  declaration: CerfaType['2042_C_Pro'],
147
147
  },
148
148
  {
149
- name: 'micro-BNC : profession libérale déclaration 2042-C-Pro',
149
+ name: 'Profession libérale (Micro-BNC - 2042-C-Pro)',
150
150
  idActivity: Activity.PROF_LIB,
151
151
  idTaxSystem: TaxSystem.NA,
152
152
  profitsType: ProfitsType.BNC,
@@ -161,14 +161,14 @@ export const GlobalRegime: GlobalRegimeType = {
161
161
  idLegalForms: [LegalForm.ASSOCIATION.id],
162
162
  choices: [
163
163
  {
164
- name: 'non fiscalisée si revenus de capitaux : déclaration 2070',
164
+ name: 'Non fiscalisée si revenus de capitaux (2070)',
165
165
  idActivity: Activity.AUTRES,
166
166
  idTaxSystem: TaxSystem.IS,
167
167
  idFiscalRegime: FiscalRegime.NA,
168
168
  declaration: CerfaType[2070],
169
169
  },
170
170
  {
171
- name: 'fiscalisée : - IS - RSI - BIC : déclaration 2065 et annexes 2033',
171
+ name: 'Fiscalisée (BIC - IS - Réel simplifié - 2065 & 2033)',
172
172
  idActivity: Activity.AUTRES,
173
173
  idTaxSystem: TaxSystem.IS,
174
174
  profitsType: ProfitsType.BIC,
@@ -177,7 +177,7 @@ export const GlobalRegime: GlobalRegimeType = {
177
177
  annexe: CerfaType[2033],
178
178
  },
179
179
  {
180
- name: 'fiscalisée - IS - RN - BIC : déclaration 2065 et annexes 2050',
180
+ name: 'Fiscalisée (BIC - IS - Réel normal - 2065 & 2050)',
181
181
  idActivity: Activity.AUTRES,
182
182
  idTaxSystem: TaxSystem.IS,
183
183
  profitsType: ProfitsType.BIC,
@@ -193,7 +193,7 @@ export const GlobalRegime: GlobalRegimeType = {
193
193
  idLegalForms: [LegalForm.EURL.id, LegalForm.SARL.id],
194
194
  choices: [
195
195
  {
196
- name: 'artisans - commerçants : IR - BIC - déclaration 2031',
196
+ name: 'Artisan - commerçant (BIC - IR - 2031)',
197
197
  idActivity: Activity.COMMERCANT,
198
198
  idTaxSystem: TaxSystem.IR,
199
199
  profitsType: ProfitsType.BIC,
@@ -201,7 +201,7 @@ export const GlobalRegime: GlobalRegimeType = {
201
201
  declaration: CerfaType[2031],
202
202
  },
203
203
  {
204
- name: 'artisans - commerçants : IS - RSI - BIC - déclaration 2065 et annexes 2033',
204
+ name: 'Artisan - commerçant (BIC - IS - Réel simplifié - 2065 && 2033)',
205
205
  idActivity: Activity.COMMERCANT,
206
206
  idTaxSystem: TaxSystem.IS,
207
207
  profitsType: ProfitsType.BIC,
@@ -210,7 +210,7 @@ export const GlobalRegime: GlobalRegimeType = {
210
210
  annexe: CerfaType[2033],
211
211
  },
212
212
  {
213
- name: 'artisans - commerçants : IS - RN - BIC - déclaration 2065 et annexes 2050',
213
+ name: 'Artisan - commerçant (BIC - IS - Réel normal - 2065 & 2050)',
214
214
  idActivity: Activity.COMMERCANT,
215
215
  idTaxSystem: TaxSystem.IS,
216
216
  profitsType: ProfitsType.BIC,
@@ -219,7 +219,7 @@ export const GlobalRegime: GlobalRegimeType = {
219
219
  annexe: CerfaType[2050],
220
220
  },
221
221
  {
222
- name: 'Presta de services : IR - BIC - déclaration 2031',
222
+ name: 'Presta de services (BIC - IR - 2031)',
223
223
  idActivity: Activity.PRESTA_SERVICE,
224
224
  idTaxSystem: TaxSystem.IR,
225
225
  profitsType: ProfitsType.BIC,
@@ -227,7 +227,7 @@ export const GlobalRegime: GlobalRegimeType = {
227
227
  declaration: CerfaType[2031],
228
228
  },
229
229
  {
230
- name: 'Presta de services : IS - RSI - BIC - déclaration 2065 et annexes 2033',
230
+ name: 'Presta de services (BIC - IS - Réel simplifié - 2065 & 2033)',
231
231
  idActivity: Activity.PRESTA_SERVICE,
232
232
  idTaxSystem: TaxSystem.IS,
233
233
  profitsType: ProfitsType.BIC,
@@ -236,7 +236,7 @@ export const GlobalRegime: GlobalRegimeType = {
236
236
  annexe: CerfaType[2033],
237
237
  },
238
238
  {
239
- name: 'Presta de services : IS - RN - BIC - déclaration 2065 et annexes 2050',
239
+ name: 'Presta de services (BIC - IS - Réel normal - 2065 & 2050)',
240
240
  idActivity: Activity.PRESTA_SERVICE,
241
241
  idTaxSystem: TaxSystem.IS,
242
242
  profitsType: ProfitsType.BIC,
@@ -252,7 +252,7 @@ export const GlobalRegime: GlobalRegimeType = {
252
252
  idLegalForms: [LegalForm.SAS.id, LegalForm.SASU.id],
253
253
  choices: [
254
254
  {
255
- name: 'artisans - commerçants : IR - BIC - déclaration 2031',
255
+ name: 'Artisan - commerçant (BIC - IR - 2031)',
256
256
  idActivity: Activity.COMMERCANT,
257
257
  idTaxSystem: TaxSystem.IR,
258
258
  profitsType: ProfitsType.BIC,
@@ -260,7 +260,7 @@ export const GlobalRegime: GlobalRegimeType = {
260
260
  declaration: CerfaType[2031],
261
261
  },
262
262
  {
263
- name: 'artisans - commerçants : IS - RSI - BIC - déclaration 2065 et annexes 2033',
263
+ name: 'Artisan - commerçant (BIC - IS - Réel simplifié - 2065 & 2033)',
264
264
  idActivity: Activity.COMMERCANT,
265
265
  idTaxSystem: TaxSystem.IS,
266
266
  profitsType: ProfitsType.BIC,
@@ -269,7 +269,7 @@ export const GlobalRegime: GlobalRegimeType = {
269
269
  annexe: CerfaType[2033],
270
270
  },
271
271
  {
272
- name: 'artisans - commerçants : IS - RN - BIC - déclaration 2065 et annexes 2050',
272
+ name: 'Artisan - commerçant (BIC - IS - Réel normal - 2065 & 2050)',
273
273
  idActivity: Activity.COMMERCANT,
274
274
  idTaxSystem: TaxSystem.IS,
275
275
  profitsType: ProfitsType.BIC,
@@ -278,7 +278,7 @@ export const GlobalRegime: GlobalRegimeType = {
278
278
  annexe: CerfaType[2050],
279
279
  },
280
280
  {
281
- name: 'Presta de services : IR - BIC - déclaration 2031',
281
+ name: 'Presta de services (BIC - IR - 2031)',
282
282
  idActivity: Activity.PRESTA_SERVICE,
283
283
  idTaxSystem: TaxSystem.IR,
284
284
  profitsType: ProfitsType.BIC,
@@ -286,7 +286,7 @@ export const GlobalRegime: GlobalRegimeType = {
286
286
  declaration: CerfaType[2031],
287
287
  },
288
288
  {
289
- name: 'Presta de services : IS - RSI - BIC - déclaration 2065 et annexes 2033',
289
+ name: 'Presta de services (BIC - IS - Réel simplifié - 2065 & 2033)',
290
290
  idActivity: Activity.PRESTA_SERVICE,
291
291
  idTaxSystem: TaxSystem.IS,
292
292
  profitsType: ProfitsType.BIC,
@@ -295,7 +295,7 @@ export const GlobalRegime: GlobalRegimeType = {
295
295
  annexe: CerfaType[2033],
296
296
  },
297
297
  {
298
- name: 'Presta de services : IS - RN - BIC - déclaration 2065 et annexes 2050',
298
+ name: 'Presta de services (BIC - IS - Réel normal - 2065 & 2050)',
299
299
  idActivity: Activity.PRESTA_SERVICE,
300
300
  idTaxSystem: TaxSystem.IS,
301
301
  profitsType: ProfitsType.BIC,
@@ -311,7 +311,7 @@ export const GlobalRegime: GlobalRegimeType = {
311
311
  idLegalForms: [LegalForm.SA.id],
312
312
  choices: [
313
313
  {
314
- name: 'artisans - commerçants : IS - RSI - BIC - déclaration 2065 et annexes 2033',
314
+ name: 'Artisan - commerçant (BIC - IS - Réel simplifié - 2065 & 2033)',
315
315
  idActivity: Activity.COMMERCANT,
316
316
  idTaxSystem: TaxSystem.IS,
317
317
  profitsType: ProfitsType.BIC,
@@ -320,7 +320,7 @@ export const GlobalRegime: GlobalRegimeType = {
320
320
  annexe: CerfaType[2033],
321
321
  },
322
322
  {
323
- name: 'artisans - commerçants : IS - RN - BIC - déclaration 2065 et annexes 2050',
323
+ name: 'Artisan - commerçant (BIC - IS - Réel normal - 2065 & 2050)',
324
324
  idActivity: Activity.COMMERCANT,
325
325
  idTaxSystem: TaxSystem.IS,
326
326
  profitsType: ProfitsType.BIC,
@@ -329,7 +329,7 @@ export const GlobalRegime: GlobalRegimeType = {
329
329
  annexe: CerfaType[2050],
330
330
  },
331
331
  {
332
- name: 'Presta de services : IS - RSI - BIC - déclaration 2065 et annexes 2033',
332
+ name: 'Presta de services (BIC - IS - Réel simplifié - 2065 & 2033)',
333
333
  idActivity: Activity.PRESTA_SERVICE,
334
334
  idTaxSystem: TaxSystem.IS,
335
335
  profitsType: ProfitsType.BIC,
@@ -339,7 +339,7 @@ export const GlobalRegime: GlobalRegimeType = {
339
339
 
340
340
  },
341
341
  {
342
- name: 'Presta de services : IS - RN - BIC - déclaration 2065 et annexes 2050',
342
+ name: 'Presta de services (BIC - IS - Réel normal - 2065 & 2050)',
343
343
  idActivity: Activity.PRESTA_SERVICE,
344
344
  idTaxSystem: TaxSystem.IS,
345
345
  profitsType: ProfitsType.BIC,
@@ -355,7 +355,7 @@ export const GlobalRegime: GlobalRegimeType = {
355
355
  idLegalForms: [LegalForm.SCI.id],
356
356
  choices: [
357
357
  {
358
- name: 'Presta de services - IR - BNC : déclaration 2044',
358
+ name: 'Presta de services (BNC - IR - 2044)',
359
359
  idActivity: Activity.PRESTA_SERVICE,
360
360
  idTaxSystem: TaxSystem.IR,
361
361
  profitsType: ProfitsType.BNC,
@@ -363,7 +363,7 @@ export const GlobalRegime: GlobalRegimeType = {
363
363
  declaration: CerfaType[2044],
364
364
  },
365
365
  {
366
- name: 'Presta de services - IS - BNC - déclaration 2072',
366
+ name: 'Presta de services (BNC - IS - 2072)',
367
367
  idActivity: Activity.PRESTA_SERVICE,
368
368
  idTaxSystem: TaxSystem.IS,
369
369
  profitsType: ProfitsType.BNC,
@@ -378,7 +378,7 @@ export const GlobalRegime: GlobalRegimeType = {
378
378
  idLegalForms: [LegalForm.SCP.id],
379
379
  choices: [
380
380
  {
381
- name: 'Presta de services - IR - BNC : déclaration 2035',
381
+ name: 'Presta de services (BNC - IR - 2035)',
382
382
  idActivity: Activity.PRESTA_SERVICE,
383
383
  idTaxSystem: TaxSystem.IR,
384
384
  profitsType: ProfitsType.BNC,
@@ -386,7 +386,7 @@ export const GlobalRegime: GlobalRegimeType = {
386
386
  declaration: CerfaType[2035],
387
387
  },
388
388
  {
389
- name: 'Presta de services - IS - RSI - BIC - déclaration 2065 et annexes 2033',
389
+ name: 'Presta de services (BIC - IS - Réel simplifié - 2065 & 2033)',
390
390
  idActivity: Activity.PRESTA_SERVICE,
391
391
  idTaxSystem: TaxSystem.IS,
392
392
  profitsType: ProfitsType.BIC,
@@ -395,7 +395,7 @@ export const GlobalRegime: GlobalRegimeType = {
395
395
  annexe: CerfaType[2033],
396
396
  },
397
397
  {
398
- name: 'Presta de services - IS - RN - BIC - déclaration 2065 et annexes 2050',
398
+ name: 'Presta de services (BIC - IS - Réel normal - 2065 & 2050)',
399
399
  idActivity: Activity.PRESTA_SERVICE,
400
400
  idTaxSystem: TaxSystem.IS,
401
401
  profitsType: ProfitsType.BIC,
@@ -411,7 +411,7 @@ export const GlobalRegime: GlobalRegimeType = {
411
411
  idLegalForms: [LegalForm.SELARL.id],
412
412
  choices: [
413
413
  {
414
- name: 'Profession libérale - IR - BNC : déclaration 2035',
414
+ name: 'Profession libérale (BNC - IR - 2035)',
415
415
  idActivity: Activity.PROF_LIB,
416
416
  idTaxSystem: TaxSystem.IR,
417
417
  profitsType: ProfitsType.BNC,
@@ -419,7 +419,7 @@ export const GlobalRegime: GlobalRegimeType = {
419
419
  declaration: CerfaType[2035],
420
420
  },
421
421
  {
422
- name: 'Profession libérale - IS - RSI - BIC - déclaration 2065 et annexes 2033',
422
+ name: 'Profession libérale (BIC - IS - Réel simplifié - 2065 & 2033)',
423
423
  idActivity: Activity.PROF_LIB,
424
424
  idTaxSystem: TaxSystem.IS,
425
425
  profitsType: ProfitsType.BIC,
@@ -428,7 +428,7 @@ export const GlobalRegime: GlobalRegimeType = {
428
428
  annexe: CerfaType[2033],
429
429
  },
430
430
  {
431
- name: 'Profession libérale - IS - RN - BIC - déclaration 2065 et annexes 2050',
431
+ name: 'Profession libérale (BIC - IS - Réel normal - 2065 & 2050)',
432
432
  idActivity: Activity.PROF_LIB,
433
433
  idTaxSystem: TaxSystem.IS,
434
434
  profitsType: ProfitsType.BIC,
@@ -1,56 +1,85 @@
1
- export const StockType = {
1
+ import { stockInterface } from '../Interface/api/stock/Stocks';
2
+ import { depreciationInterface } from '../Interface/api/stock/StocksDepreciationInterface';
3
+
4
+ export const StockType: stockInterface = {
2
5
  STOCK_MATIERE_PREMIERE: {
6
+ designation: 'Stock de matière première',
3
7
  idAccount: 35,
4
8
  idAccountVariation: 28,
5
9
  idAccountDepreciation: 375,
6
10
  },
7
11
  STOCK_MATIERE_CONSOMMABLE: {
12
+ designation: 'Stock de matière consommable',
8
13
  idAccount: 182,
9
14
  idAccountVariation: 29,
10
15
  idAccountDepreciation: 381,
11
16
  },
12
17
  STOCK_FOURNITURE_CONSOMMABLE: {
18
+ designation: 'Stock de fourniture consommable',
13
19
  idAccount: 338,
14
20
  idAccountVariation: 29,
15
21
  idAccountDepreciation: 382,
16
22
  },
17
23
  STOCK_EMBALLAGE: {
24
+ designation: 'Stock emballage',
18
25
  idAccount: 344,
19
26
  idAccountVariation: 29,
20
27
  idAccountDepreciation: 383,
21
28
  },
22
29
  STOCK_MARCHANDISE: {
30
+ designation: 'Stock de marchandise',
23
31
  idAccount: 372,
24
32
  idAccountVariation: 36,
25
33
  idAccountDepreciation: 393,
26
34
  },
27
35
  STOCK_PRODUITS_PRODUCTION_EN_COURS: {
36
+ designation: 'Stock de produits de production en cours',
28
37
  idAccount: 349,
29
38
  idAccountVariation: 421,
30
39
  idAccountDepreciation: 385,
31
40
  },
32
41
  STOCK_TRAVAUX_PRODUCTION_EN_COURS: {
42
+ designation: 'Stock de travaux de production en cours',
33
43
  idAccount: 352,
34
44
  idAccountVariation: 422,
35
45
  idAccountDepreciation: 396,
36
46
  },
37
47
  STOCK_PRODUITS_SERVICE_EN_COURS: {
48
+ designation: 'Stock de produit et service en cours',
38
49
  idAccount: 355,
39
50
  idAccountVariation: 424,
40
51
  idAccountDepreciation: 388,
41
52
  },
42
53
  STOCK_PRESTATION_SERVICE_EN_COURS: {
54
+ designation: 'Stock de prestation de service en cours',
43
55
  idAccount: 358,
44
56
  idAccountVariation: 425,
45
57
  idAccountDepreciation: 389,
46
58
  },
47
59
  STOCK_PRODUITS_FINI: {
60
+ designation: 'Stock de produits finis',
48
61
  idAccount: 364,
49
62
  idAccountVariation: 428,
50
63
  idAccountDepreciation: 392,
51
64
  },
65
+ };
66
+
67
+ export const StockDepreciation: depreciationInterface = {
52
68
  DEPRECIATION_STOCK: {
53
69
  idAccount: 928,
54
70
  idAccountExtourne: 486,
55
71
  },
56
- };
72
+ };
73
+
74
+ export const StockMapping = {
75
+ STOCK_MATIERE_PREMIERE: 'rawMaterial',
76
+ STOCK_MATIERE_CONSOMMABLE: 'consumableMaterials',
77
+ STOCK_FOURNITURE_CONSOMMABLE: 'consumables',
78
+ STOCK_EMBALLAGE: 'packaging',
79
+ STOCK_MARCHANDISE: 'merchandises',
80
+ STOCK_PRODUITS_PRODUCTION_EN_COURS: 'semiFinishedProducts',
81
+ STOCK_TRAVAUX_PRODUCTION_EN_COURS: 'workInProgress',
82
+ STOCK_PRODUITS_SERVICE_EN_COURS: 'semiFinishedServices',
83
+ STOCK_PRESTATION_SERVICE_EN_COURS: 'servicesInProgress',
84
+ STOCK_PRODUITS_FINI: 'finishedProducts',
85
+ };
@@ -0,0 +1,24 @@
1
+ import { ApiProperty } from '../../../../utils';
2
+
3
+ export class CreateLoanForm {
4
+ @ApiProperty()
5
+ name: string;
6
+
7
+ @ApiProperty()
8
+ lenderDesignation: string;
9
+
10
+ @ApiProperty()
11
+ number: number;
12
+
13
+ @ApiProperty()
14
+ amount: number;
15
+
16
+ @ApiProperty()
17
+ assetBeforeExercice: number;
18
+
19
+ @ApiProperty()
20
+ assetAfterExercice: number;
21
+
22
+ @ApiProperty()
23
+ idExercice: number;
24
+ }
@@ -0,0 +1,9 @@
1
+ import { ApiProperty } from '../../../../utils';
2
+
3
+ export class CreateSocietyPromoCode {
4
+ @ApiProperty()
5
+ idSociety: number;
6
+
7
+ @ApiProperty()
8
+ codeName: string;
9
+ }
@@ -0,0 +1,115 @@
1
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
2
+
3
+ export class DataStockEntries {
4
+ @ApiProperty(
5
+ {
6
+ description: 'Id of the defined stock',
7
+ required: true,
8
+ },
9
+ )
10
+ idAccount: number;
11
+
12
+ @ApiProperty(
13
+ {
14
+ description: 'Value of the defined stock',
15
+ required: true,
16
+ },
17
+ )
18
+ value: number;
19
+
20
+ @ApiProperty(
21
+ {
22
+ description: 'Value of the depreciation',
23
+ required: true,
24
+ },
25
+ )
26
+ depreciation: number;
27
+ }
28
+
29
+ export class StockEntries {
30
+ @ApiPropertyOptional()
31
+ hasInventoryStock?: boolean;
32
+
33
+ @ApiPropertyOptional()
34
+ hasNoStockRecorded?: boolean;
35
+
36
+ @ApiProperty(
37
+ {
38
+ description: 'Id of the exercise',
39
+ required: true,
40
+ },
41
+ )
42
+ idExercice?: number;
43
+
44
+ @ApiProperty(
45
+ {
46
+ description: 'Raw material',
47
+ required: true,
48
+ },
49
+ )
50
+ rawMaterial: DataStockEntries;
51
+
52
+ @ApiProperty(
53
+ {
54
+ description: 'Merchandises',
55
+ required: true,
56
+ },
57
+ )
58
+ merchandises: DataStockEntries;
59
+
60
+ @ApiProperty(
61
+ {
62
+ description: 'Finished products',
63
+ required: true,
64
+ },
65
+ )
66
+ finishedProducts: DataStockEntries;
67
+
68
+ @ApiProperty(
69
+ {
70
+ description: 'Semi finished products',
71
+ required: true,
72
+ },
73
+ )
74
+ semiFinishedProducts: DataStockEntries;
75
+
76
+ @ApiProperty(
77
+ {
78
+ description: 'Consumable materials',
79
+ required: true,
80
+ },
81
+ )
82
+ consumableMaterials: DataStockEntries;
83
+
84
+ @ApiProperty(
85
+ {
86
+ description: 'Consumables',
87
+ required: true,
88
+ },
89
+ )
90
+ consumables: DataStockEntries;
91
+
92
+ @ApiProperty(
93
+ {
94
+ description: 'Packaging',
95
+ required: true,
96
+ },
97
+ )
98
+ packaging: DataStockEntries;
99
+
100
+ @ApiProperty(
101
+ {
102
+ description: 'Work In Progress',
103
+ required: true,
104
+ },
105
+ )
106
+ workInProgress: DataStockEntries;
107
+
108
+ @ApiProperty(
109
+ {
110
+ description: 'Services In Progress',
111
+ required: true,
112
+ },
113
+ )
114
+ servicesInProgress: DataStockEntries;
115
+ }
@@ -0,0 +1,14 @@
1
+ import { StockTypeInterface } from './StocksType';
2
+
3
+ export interface stockInterface {
4
+ STOCK_MATIERE_PREMIERE: StockTypeInterface;
5
+ STOCK_MATIERE_CONSOMMABLE: StockTypeInterface,
6
+ STOCK_FOURNITURE_CONSOMMABLE: StockTypeInterface,
7
+ STOCK_EMBALLAGE: StockTypeInterface,
8
+ STOCK_MARCHANDISE: StockTypeInterface,
9
+ STOCK_PRODUITS_PRODUCTION_EN_COURS: StockTypeInterface,
10
+ STOCK_TRAVAUX_PRODUCTION_EN_COURS: StockTypeInterface,
11
+ STOCK_PRODUITS_SERVICE_EN_COURS: StockTypeInterface,
12
+ STOCK_PRESTATION_SERVICE_EN_COURS: StockTypeInterface,
13
+ STOCK_PRODUITS_FINI: StockTypeInterface,
14
+ }
@@ -0,0 +1,8 @@
1
+ export interface depreciationInterface {
2
+ DEPRECIATION_STOCK: stockDepreciationInterface;
3
+ }
4
+
5
+ export interface stockDepreciationInterface {
6
+ idAccount: number;
7
+ idAccountExtourne: number;
8
+ }
@@ -0,0 +1,6 @@
1
+ export interface StockTypeInterface {
2
+ designation: string;
3
+ idAccount: number;
4
+ idAccountVariation: number;
5
+ idAccountDepreciation: number;
6
+ }
@@ -117,6 +117,9 @@ export enum Code {
117
117
 
118
118
  payloadIsEmpty = 'payload_is_empty',
119
119
 
120
+ // PromoCode
121
+ wrongPromoCode = 'wrong_promo_code',
122
+
120
123
  }
121
124
 
122
125
  export interface IApiError {
@@ -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
+ }
@@ -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,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
+ }