@silexpert/core 0.4.152 → 0.4.154

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 (128) hide show
  1. package/es/api/resources/Dashboard.d.ts +2 -3
  2. package/es/api/resources/Dashboard.d.ts.map +1 -1
  3. package/es/api/resources/Dashboard.js +2 -5
  4. package/es/api/resources/Dashboard.js.map +1 -1
  5. package/es/api/resources/Qonto.d.ts +6 -0
  6. package/es/api/resources/Qonto.d.ts.map +1 -0
  7. package/es/api/resources/Qonto.js +7 -0
  8. package/es/api/resources/Qonto.js.map +1 -0
  9. package/es/api/resources/Transaction.d.ts +3 -1
  10. package/es/api/resources/Transaction.d.ts.map +1 -1
  11. package/es/api/resources/Transaction.js +6 -0
  12. package/es/api/resources/Transaction.js.map +1 -1
  13. package/es/api/resources/VatControl.d.ts +1 -2
  14. package/es/api/resources/VatControl.d.ts.map +1 -1
  15. package/es/api/resources/VatControl.js +0 -3
  16. package/es/api/resources/VatControl.js.map +1 -1
  17. package/es/api/resources.d.ts +2 -0
  18. package/es/api/resources.d.ts.map +1 -1
  19. package/es/api/resources.js +2 -0
  20. package/es/api/resources.js.map +1 -1
  21. package/es/types/Enum/AccountingJournal.d.ts +12 -0
  22. package/es/types/Enum/AccountingJournal.d.ts.map +1 -1
  23. package/es/types/Enum/AccountingJournal.js +12 -0
  24. package/es/types/Enum/AccountingJournal.js.map +1 -1
  25. package/es/types/Enum/BalanceSheetQuestion.d.ts +38 -1
  26. package/es/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
  27. package/es/types/Enum/BalanceSheetQuestion.js +38 -0
  28. package/es/types/Enum/BalanceSheetQuestion.js.map +1 -1
  29. package/es/types/Enum/BalanceSheetQuestionWording.d.ts +177 -92
  30. package/es/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -1
  31. package/es/types/Enum/BalanceSheetQuestionWording.js +176 -91
  32. package/es/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
  33. package/es/types/Enum/GlobalRegime.d.ts +1 -0
  34. package/es/types/Enum/GlobalRegime.d.ts.map +1 -1
  35. package/es/types/Enum/GlobalRegime.js +59 -23
  36. package/es/types/Enum/GlobalRegime.js.map +1 -1
  37. package/es/types/Enum/LegalForm.d.ts.map +1 -1
  38. package/es/types/Enum/LegalForm.js +9 -0
  39. package/es/types/Enum/LegalForm.js.map +1 -1
  40. package/es/types/Interface/api/SocietyTransaction/QuerySocietyTransactionCount.d.ts +5 -0
  41. package/es/types/Interface/api/SocietyTransaction/QuerySocietyTransactionCount.d.ts.map +1 -0
  42. package/es/types/Interface/api/SocietyTransaction/QuerySocietyTransactionCount.js +30 -0
  43. package/es/types/Interface/api/SocietyTransaction/QuerySocietyTransactionCount.js.map +1 -0
  44. package/es/types/Interface/api/SocietyTransaction/ReadSocietyTransactionCount.d.ts +13 -0
  45. package/es/types/Interface/api/SocietyTransaction/ReadSocietyTransactionCount.d.ts.map +1 -0
  46. package/es/types/Interface/api/SocietyTransaction/ReadSocietyTransactionCount.js +3 -0
  47. package/es/types/Interface/api/SocietyTransaction/ReadSocietyTransactionCount.js.map +1 -0
  48. package/es/types/Interface/api/accountingTransaction/QueryBankAccountSum.d.ts +10 -0
  49. package/es/types/Interface/api/accountingTransaction/QueryBankAccountSum.d.ts.map +1 -0
  50. package/es/types/Interface/api/{dashboard/QueryVat.js → accountingTransaction/QueryBankAccountSum.js} +19 -9
  51. package/es/types/Interface/api/accountingTransaction/QueryBankAccountSum.js.map +1 -0
  52. package/es/types/Interface/api/cerfa/2031.d.ts +6 -6
  53. package/es/types/Interface/api/cerfa/2031.d.ts.map +1 -1
  54. package/es/types/Interface/api/cerfa/2031.js.map +1 -1
  55. package/es/types/Interface/api/dashboard/ReadTurnOverProfitAndLossAndVats.d.ts +31 -0
  56. package/es/types/Interface/api/dashboard/ReadTurnOverProfitAndLossAndVats.d.ts.map +1 -0
  57. package/es/types/Interface/api/dashboard/ReadTurnOverProfitAndLossAndVats.js +13 -0
  58. package/es/types/Interface/api/dashboard/ReadTurnOverProfitAndLossAndVats.js.map +1 -0
  59. package/es/types/index.d.ts +4 -3
  60. package/es/types/index.d.ts.map +1 -1
  61. package/es/types/index.js +4 -4
  62. package/es/types/index.js.map +1 -1
  63. package/js/api/resources/Dashboard.js +2 -8
  64. package/js/api/resources/Dashboard.js.map +1 -1
  65. package/js/api/resources/Qonto.js +18 -0
  66. package/js/api/resources/Qonto.js.map +1 -0
  67. package/js/api/resources/Transaction.js +12 -0
  68. package/js/api/resources/Transaction.js.map +1 -1
  69. package/js/api/resources/VatControl.js +0 -6
  70. package/js/api/resources/VatControl.js.map +1 -1
  71. package/js/api/resources.js +4 -1
  72. package/js/api/resources.js.map +1 -1
  73. package/js/types/Enum/AccountingJournal.js +13 -0
  74. package/js/types/Enum/AccountingJournal.js.map +1 -1
  75. package/js/types/Enum/BalanceSheetQuestion.js +40 -1
  76. package/js/types/Enum/BalanceSheetQuestion.js.map +1 -1
  77. package/js/types/Enum/BalanceSheetQuestionWording.js +177 -91
  78. package/js/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
  79. package/js/types/Enum/GlobalRegime.js +99 -65
  80. package/js/types/Enum/GlobalRegime.js.map +1 -1
  81. package/js/types/Enum/LegalForm.js +9 -0
  82. package/js/types/Enum/LegalForm.js.map +1 -1
  83. package/js/types/Interface/api/{dashboard/QueryVat.js → SocietyTransaction/QuerySocietyTransactionCount.js} +12 -6
  84. package/js/types/Interface/api/SocietyTransaction/QuerySocietyTransactionCount.js.map +1 -0
  85. package/js/types/Interface/api/SocietyTransaction/ReadSocietyTransactionCount.js +10 -0
  86. package/js/types/Interface/api/SocietyTransaction/ReadSocietyTransactionCount.js.map +1 -0
  87. package/js/types/Interface/api/accountingTransaction/QueryBankAccountSum.js +33 -0
  88. package/js/types/Interface/api/accountingTransaction/QueryBankAccountSum.js.map +1 -0
  89. package/js/types/Interface/api/cerfa/2031.js.map +1 -1
  90. package/js/types/Interface/api/dashboard/{ReadTurnOverProfitAndLoss.js → ReadTurnOverProfitAndLossAndVats.js} +13 -1
  91. package/js/types/Interface/api/dashboard/ReadTurnOverProfitAndLossAndVats.js.map +1 -0
  92. package/js/types/index.js +39 -27
  93. package/js/types/index.js.map +1 -1
  94. package/package.json +1 -1
  95. package/ts/api/resources/Dashboard.ts +4 -10
  96. package/ts/api/resources/Qonto.ts +10 -0
  97. package/ts/api/resources/Transaction.ts +12 -1
  98. package/ts/api/resources/VatControl.ts +1 -5
  99. package/ts/api/resources.ts +2 -0
  100. package/ts/types/Enum/AccountingJournal.ts +14 -1
  101. package/ts/types/Enum/BalanceSheetQuestion.ts +40 -0
  102. package/ts/types/Enum/BalanceSheetQuestionWording.ts +181 -92
  103. package/ts/types/Enum/GlobalRegime.ts +61 -24
  104. package/ts/types/Enum/LegalForm.ts +9 -0
  105. package/ts/types/Interface/api/SocietyTransaction/QuerySocietyTransactionCount.ts +21 -0
  106. package/ts/types/Interface/api/SocietyTransaction/ReadSocietyTransactionCount.ts +12 -0
  107. package/ts/types/Interface/api/accountingTransaction/QueryBankAccountSum.ts +25 -0
  108. package/ts/types/Interface/api/cerfa/2031.ts +6 -6
  109. package/ts/types/Interface/api/dashboard/ReadTurnOverProfitAndLossAndVats.ts +35 -0
  110. package/ts/types/index.ts +4 -4
  111. package/es/types/Interface/api/dashboard/QueryVat.d.ts +0 -5
  112. package/es/types/Interface/api/dashboard/QueryVat.d.ts.map +0 -1
  113. package/es/types/Interface/api/dashboard/QueryVat.js.map +0 -1
  114. package/es/types/Interface/api/dashboard/ReadTurnOverProfitAndLoss.d.ts +0 -17
  115. package/es/types/Interface/api/dashboard/ReadTurnOverProfitAndLoss.d.ts.map +0 -1
  116. package/es/types/Interface/api/dashboard/ReadTurnOverProfitAndLoss.js +0 -7
  117. package/es/types/Interface/api/dashboard/ReadTurnOverProfitAndLoss.js.map +0 -1
  118. package/es/types/Interface/api/dashboard/ReadVat.d.ts +0 -11
  119. package/es/types/Interface/api/dashboard/ReadVat.d.ts.map +0 -1
  120. package/es/types/Interface/api/dashboard/ReadVat.js +0 -5
  121. package/es/types/Interface/api/dashboard/ReadVat.js.map +0 -1
  122. package/js/types/Interface/api/dashboard/QueryVat.js.map +0 -1
  123. package/js/types/Interface/api/dashboard/ReadTurnOverProfitAndLoss.js.map +0 -1
  124. package/js/types/Interface/api/dashboard/ReadVat.js +0 -14
  125. package/js/types/Interface/api/dashboard/ReadVat.js.map +0 -1
  126. package/ts/types/Interface/api/dashboard/QueryVat.ts +0 -9
  127. package/ts/types/Interface/api/dashboard/ReadTurnOverProfitAndLoss.ts +0 -18
  128. package/ts/types/Interface/api/dashboard/ReadVat.ts +0 -11
@@ -17,7 +17,8 @@ export type GlobalRegimeTypeChoicesContent = {
17
17
  profitsType?: ProfitsType;
18
18
  idFiscalRegime: FiscalRegime;
19
19
  declaration: number;
20
- annexe?: number
20
+ annexe?: number,
21
+ hidden: boolean,
21
22
  };
22
23
  export type GlobalRegimeTypeContent = {
23
24
  name: string;
@@ -42,6 +43,7 @@ export const GlobalRegime: GlobalRegimeType = {
42
43
  idFiscalRegime: FiscalRegime.RS,
43
44
  declaration: CerfaType.CERFA_2031,
44
45
  annexe: CerfaType.CERFA_2033,
46
+ hidden: false,
45
47
  },
46
48
  {
47
49
  name: 'Presta de services (BIC - IR - 2031 + 2050)',
@@ -51,6 +53,7 @@ export const GlobalRegime: GlobalRegimeType = {
51
53
  idFiscalRegime: FiscalRegime.RN,
52
54
  declaration: CerfaType.CERFA_2031,
53
55
  annexe: CerfaType.CERFA_2050,
56
+ hidden: true,
54
57
  },
55
58
  {
56
59
  name: 'Profession libérale (BNC - IR - 2035)',
@@ -59,6 +62,7 @@ export const GlobalRegime: GlobalRegimeType = {
59
62
  profitsType: ProfitsType.BNC,
60
63
  idFiscalRegime: FiscalRegime.NA,
61
64
  declaration: CerfaType.CERFA_2035,
65
+ hidden: false,
62
66
  },
63
67
  ],
64
68
  },
@@ -75,6 +79,7 @@ export const GlobalRegime: GlobalRegimeType = {
75
79
  idFiscalRegime: FiscalRegime.RS,
76
80
  declaration: CerfaType.CERFA_2031,
77
81
  annexe: CerfaType.CERFA_2033,
82
+ hidden: false,
78
83
  },
79
84
  {
80
85
  name: 'Artisan - commerçant (BIC - IR - 2031 + 2050)',
@@ -84,6 +89,7 @@ export const GlobalRegime: GlobalRegimeType = {
84
89
  idFiscalRegime: FiscalRegime.RN,
85
90
  declaration: CerfaType.CERFA_2031,
86
91
  annexe: CerfaType.CERFA_2050,
92
+ hidden: true,
87
93
  },
88
94
  {
89
95
  name: 'Profession libérale (BNC - IR - 2035)',
@@ -92,6 +98,7 @@ export const GlobalRegime: GlobalRegimeType = {
92
98
  profitsType: ProfitsType.BNC,
93
99
  idFiscalRegime: FiscalRegime.NA, // FIXME: Pas de RS/RN ?
94
100
  declaration: CerfaType.CERFA_2035,
101
+ hidden: false,
95
102
  },
96
103
  {
97
104
  name: 'Artisan - commerçant (BIC - IS - Réel simplifié - 2065 & 2033)',
@@ -101,6 +108,7 @@ export const GlobalRegime: GlobalRegimeType = {
101
108
  idFiscalRegime: FiscalRegime.RS,
102
109
  declaration: CerfaType.CERFA_2065,
103
110
  annexe: CerfaType.CERFA_2033,
111
+ hidden: false,
104
112
  },
105
113
  {
106
114
  name: 'Artisan - commerçant (BIC - IS - Réel normal - 2065 & 2050)',
@@ -110,6 +118,7 @@ export const GlobalRegime: GlobalRegimeType = {
110
118
  idFiscalRegime: FiscalRegime.RN,
111
119
  declaration: CerfaType.CERFA_2065,
112
120
  annexe: CerfaType.CERFA_2050,
121
+ hidden: true,
113
122
  },
114
123
  {
115
124
  name: 'Profession libérale (BNC - IS - Réel simplifié - 2065 & 2033)',
@@ -119,6 +128,7 @@ export const GlobalRegime: GlobalRegimeType = {
119
128
  idFiscalRegime: FiscalRegime.RS,
120
129
  declaration: CerfaType.CERFA_2065,
121
130
  annexe: CerfaType.CERFA_2033,
131
+ hidden: false,
122
132
  },
123
133
  {
124
134
  name: 'Profession libérale (BNC - IS - 2065 & 2050)',
@@ -128,6 +138,7 @@ export const GlobalRegime: GlobalRegimeType = {
128
138
  idFiscalRegime: FiscalRegime.NA,
129
139
  declaration: CerfaType.CERFA_2065,
130
140
  annexe: CerfaType.CERFA_2050,
141
+ hidden: true,
131
142
  },
132
143
  ],
133
144
  },
@@ -143,6 +154,7 @@ export const GlobalRegime: GlobalRegimeType = {
143
154
  profitsType: ProfitsType.BIC,
144
155
  idFiscalRegime: FiscalRegime.NA,
145
156
  declaration: CerfaType.CERFA_2042_C_Pro,
157
+ hidden: false,
146
158
  },
147
159
  {
148
160
  name: 'Presta de services commerciales ou artisanales (Micro-BIC - 2042-C-Pro)',
@@ -151,6 +163,7 @@ export const GlobalRegime: GlobalRegimeType = {
151
163
  profitsType: ProfitsType.BIC,
152
164
  idFiscalRegime: FiscalRegime.NA,
153
165
  declaration: CerfaType.CERFA_2042_C_Pro,
166
+ hidden: false,
154
167
  },
155
168
  {
156
169
  name: 'Profession libérale (Micro-BNC - 2042-C-Pro)',
@@ -159,6 +172,7 @@ export const GlobalRegime: GlobalRegimeType = {
159
172
  profitsType: ProfitsType.BNC,
160
173
  idFiscalRegime: FiscalRegime.NA,
161
174
  declaration: CerfaType.CERFA_2042_C_Pro,
175
+ hidden: false,
162
176
  },
163
177
  ],
164
178
  },
@@ -182,6 +196,7 @@ export const GlobalRegime: GlobalRegimeType = {
182
196
  idFiscalRegime: FiscalRegime.RS,
183
197
  declaration: CerfaType.CERFA_2065,
184
198
  annexe: CerfaType.CERFA_2033,
199
+ hidden: false,
185
200
  },
186
201
  {
187
202
  name: 'Fiscalisée (BIC - IS - Réel normal - 2065 & 2050)',
@@ -191,6 +206,7 @@ export const GlobalRegime: GlobalRegimeType = {
191
206
  idFiscalRegime: FiscalRegime.RN,
192
207
  declaration: CerfaType.CERFA_2065,
193
208
  annexe: CerfaType.CERFA_2050,
209
+ hidden: true,
194
210
  },
195
211
  ],
196
212
  },
@@ -206,6 +222,7 @@ export const GlobalRegime: GlobalRegimeType = {
206
222
  profitsType: ProfitsType.BNC,
207
223
  idFiscalRegime: FiscalRegime.NA,
208
224
  declaration: CerfaType.CERFA_2035,
225
+ hidden: false,
209
226
  },
210
227
  {
211
228
  name: 'Artisan - commerçant (BIC - IR - 2031 + 2033)',
@@ -215,6 +232,7 @@ export const GlobalRegime: GlobalRegimeType = {
215
232
  idFiscalRegime: FiscalRegime.RS,
216
233
  declaration: CerfaType.CERFA_2031,
217
234
  annexe: CerfaType.CERFA_2033,
235
+ hidden: false,
218
236
  },
219
237
  {
220
238
  name: 'Artisan - commerçant (BIC - IR - 2031 + 2050)',
@@ -224,6 +242,7 @@ export const GlobalRegime: GlobalRegimeType = {
224
242
  idFiscalRegime: FiscalRegime.RN,
225
243
  declaration: CerfaType.CERFA_2031,
226
244
  annexe: CerfaType.CERFA_2050,
245
+ hidden: true,
227
246
  },
228
247
  {
229
248
  name: 'Artisan - commerçant (BIC - IS - Réel simplifié - 2065 && 2033)',
@@ -233,6 +252,7 @@ export const GlobalRegime: GlobalRegimeType = {
233
252
  idFiscalRegime: FiscalRegime.RS,
234
253
  declaration: CerfaType.CERFA_2065,
235
254
  annexe: CerfaType.CERFA_2033,
255
+ hidden: false,
236
256
  },
237
257
  {
238
258
  name: 'Artisan - commerçant (BIC - IS - Réel normal - 2065 & 2050)',
@@ -242,6 +262,7 @@ export const GlobalRegime: GlobalRegimeType = {
242
262
  idFiscalRegime: FiscalRegime.RN,
243
263
  declaration: CerfaType.CERFA_2065,
244
264
  annexe: CerfaType.CERFA_2050,
265
+ hidden: true,
245
266
  },
246
267
  {
247
268
  name: 'Presta de services (BIC - IR - 2031 + 2033)',
@@ -251,6 +272,7 @@ export const GlobalRegime: GlobalRegimeType = {
251
272
  idFiscalRegime: FiscalRegime.RS,
252
273
  declaration: CerfaType.CERFA_2031,
253
274
  annexe: CerfaType.CERFA_2033,
275
+ hidden: false,
254
276
  },
255
277
  {
256
278
  name: 'Presta de services (BIC - IR - 2031 + 2050)',
@@ -260,6 +282,7 @@ export const GlobalRegime: GlobalRegimeType = {
260
282
  idFiscalRegime: FiscalRegime.RN,
261
283
  declaration: CerfaType.CERFA_2031,
262
284
  annexe: CerfaType.CERFA_2050,
285
+ hidden: true,
263
286
  },
264
287
  {
265
288
  name: 'Presta de services (BIC - IS - Réel simplifié - 2065 & 2033)',
@@ -269,6 +292,7 @@ export const GlobalRegime: GlobalRegimeType = {
269
292
  idFiscalRegime: FiscalRegime.RS,
270
293
  declaration: CerfaType.CERFA_2065,
271
294
  annexe: CerfaType.CERFA_2033,
295
+ hidden: false,
272
296
  },
273
297
  {
274
298
  name: 'Presta de services (BIC - IS - Réel normal - 2065 & 2050)',
@@ -278,6 +302,7 @@ export const GlobalRegime: GlobalRegimeType = {
278
302
  idFiscalRegime: FiscalRegime.RN,
279
303
  declaration: CerfaType.CERFA_2065,
280
304
  annexe: CerfaType.CERFA_2050,
305
+ hidden: true,
281
306
  },
282
307
  ],
283
308
  },
@@ -294,6 +319,7 @@ export const GlobalRegime: GlobalRegimeType = {
294
319
  idFiscalRegime: FiscalRegime.RS,
295
320
  declaration: CerfaType.CERFA_2031,
296
321
  annexe: CerfaType.CERFA_2033,
322
+ hidden: false,
297
323
  },
298
324
  {
299
325
  name: 'Artisan - commerçant (BIC - IR - 2031 + 2050)',
@@ -303,6 +329,7 @@ export const GlobalRegime: GlobalRegimeType = {
303
329
  idFiscalRegime: FiscalRegime.RN,
304
330
  declaration: CerfaType.CERFA_2031,
305
331
  annexe: CerfaType.CERFA_2050,
332
+ hidden: true,
306
333
  },
307
334
  {
308
335
  name: 'Artisan - commerçant (BIC - IS - Réel simplifié - 2065 & 2033)',
@@ -312,6 +339,7 @@ export const GlobalRegime: GlobalRegimeType = {
312
339
  idFiscalRegime: FiscalRegime.RS,
313
340
  declaration: CerfaType.CERFA_2065,
314
341
  annexe: CerfaType.CERFA_2033,
342
+ hidden: false,
315
343
  },
316
344
  {
317
345
  name: 'Artisan - commerçant (BIC - IS - Réel normal - 2065 & 2050)',
@@ -321,6 +349,7 @@ export const GlobalRegime: GlobalRegimeType = {
321
349
  idFiscalRegime: FiscalRegime.RN,
322
350
  declaration: CerfaType.CERFA_2065,
323
351
  annexe: CerfaType.CERFA_2050,
352
+ hidden: true,
324
353
  },
325
354
  {
326
355
  name: 'Presta de services (BIC - IR - 2031 + 2033)',
@@ -330,6 +359,7 @@ export const GlobalRegime: GlobalRegimeType = {
330
359
  idFiscalRegime: FiscalRegime.RS,
331
360
  declaration: CerfaType.CERFA_2031,
332
361
  annexe: CerfaType.CERFA_2033,
362
+ hidden: false,
333
363
  },
334
364
  {
335
365
  name: 'Presta de services (BIC - IR - 2031 + 2050)',
@@ -339,6 +369,7 @@ export const GlobalRegime: GlobalRegimeType = {
339
369
  idFiscalRegime: FiscalRegime.RN,
340
370
  declaration: CerfaType.CERFA_2031,
341
371
  annexe: CerfaType.CERFA_2050,
372
+ hidden: true,
342
373
  },
343
374
  {
344
375
  name: 'Presta de services (BIC - IS - Réel simplifié - 2065 & 2033)',
@@ -348,6 +379,7 @@ export const GlobalRegime: GlobalRegimeType = {
348
379
  idFiscalRegime: FiscalRegime.RS,
349
380
  declaration: CerfaType.CERFA_2065,
350
381
  annexe: CerfaType.CERFA_2033,
382
+ hidden: false,
351
383
  },
352
384
  {
353
385
  name: 'Presta de services (BIC - IS - Réel normal - 2065 & 2050)',
@@ -357,6 +389,7 @@ export const GlobalRegime: GlobalRegimeType = {
357
389
  idFiscalRegime: FiscalRegime.RN,
358
390
  declaration: CerfaType.CERFA_2065,
359
391
  annexe: CerfaType.CERFA_2050,
392
+ hidden: true,
360
393
  },
361
394
  ],
362
395
  },
@@ -373,6 +406,7 @@ export const GlobalRegime: GlobalRegimeType = {
373
406
  idFiscalRegime: FiscalRegime.RS,
374
407
  declaration: CerfaType.CERFA_2065,
375
408
  annexe: CerfaType.CERFA_2033,
409
+ hidden: false,
376
410
  },
377
411
  {
378
412
  name: 'Artisan - commerçant (BIC - IS - Réel normal - 2065 & 2050)',
@@ -382,6 +416,7 @@ export const GlobalRegime: GlobalRegimeType = {
382
416
  idFiscalRegime: FiscalRegime.RN,
383
417
  declaration: CerfaType.CERFA_2065,
384
418
  annexe: CerfaType.CERFA_2050,
419
+ hidden: true,
385
420
  },
386
421
  {
387
422
  name: 'Presta de services (BIC - IS - Réel simplifié - 2065 & 2033)',
@@ -391,6 +426,7 @@ export const GlobalRegime: GlobalRegimeType = {
391
426
  idFiscalRegime: FiscalRegime.RS,
392
427
  declaration: CerfaType.CERFA_2065,
393
428
  annexe: CerfaType.CERFA_2033,
429
+ hidden: false,
394
430
  },
395
431
  {
396
432
  name: 'Presta de services (BIC - IS - Réel normal - 2065 & 2050)',
@@ -400,32 +436,27 @@ export const GlobalRegime: GlobalRegimeType = {
400
436
  idFiscalRegime: FiscalRegime.RN,
401
437
  declaration: CerfaType.CERFA_2065,
402
438
  annexe: CerfaType.CERFA_2050,
439
+ hidden: true,
440
+ },
441
+ ],
442
+ },
443
+ SCI: {
444
+ name: 'SCI',
445
+ id: 8,
446
+ idLegalForms: [LegalForm.SCI.id],
447
+ choices: [
448
+ {
449
+ name: 'Presta de services (BIC - IS - Réel simplifié - 2065 & 2033)',
450
+ idActivity: Activity.PRESTA_SERVICE,
451
+ idTaxSystem: TaxSystem.IS,
452
+ profitsType: ProfitsType.BIC,
453
+ idFiscalRegime: FiscalRegime.RS,
454
+ declaration: CerfaType.CERFA_2065,
455
+ annexe: CerfaType.CERFA_2033,
456
+ hidden: false,
403
457
  },
404
458
  ],
405
459
  },
406
- // SCI: {
407
- // name: 'SCI',
408
- // id: 8,
409
- // idLegalForms: [LegalForm.SCI.id],
410
- // choices: [
411
- // {
412
- // name: 'Presta de services (BNC - IR - 2044)',
413
- // idActivity: Activity.PRESTA_SERVICE,
414
- // idTaxSystem: TaxSystem.IR,
415
- // profitsType: ProfitsType.BNC,
416
- // idFiscalRegime: FiscalRegime.NA,
417
- // declaration: CerfaType.CERFA_2044,
418
- // },
419
- // {
420
- // name: 'Presta de services (BNC - IS - 2072)',
421
- // idActivity: Activity.PRESTA_SERVICE,
422
- // idTaxSystem: TaxSystem.IS,
423
- // profitsType: ProfitsType.BNC,
424
- // idFiscalRegime: FiscalRegime.NA,
425
- // declaration: CerfaType.CERFA_2072,
426
- // },
427
- // ],
428
- // },
429
460
  SCP: {
430
461
  name: 'SCP',
431
462
  id: 9,
@@ -438,6 +469,7 @@ export const GlobalRegime: GlobalRegimeType = {
438
469
  profitsType: ProfitsType.BNC,
439
470
  idFiscalRegime: FiscalRegime.NA,
440
471
  declaration: CerfaType.CERFA_2035,
472
+ hidden: false,
441
473
  },
442
474
  {
443
475
  name: 'Presta de services (BIC - IS - Réel simplifié - 2065 & 2033)',
@@ -447,6 +479,7 @@ export const GlobalRegime: GlobalRegimeType = {
447
479
  idFiscalRegime: FiscalRegime.RS,
448
480
  declaration: CerfaType.CERFA_2065,
449
481
  annexe: CerfaType.CERFA_2033,
482
+ hidden: false,
450
483
  },
451
484
  {
452
485
  name: 'Presta de services (BIC - IS - Réel normal - 2065 & 2050)',
@@ -456,6 +489,7 @@ export const GlobalRegime: GlobalRegimeType = {
456
489
  idFiscalRegime: FiscalRegime.RN,
457
490
  declaration: CerfaType.CERFA_2065,
458
491
  annexe: CerfaType.CERFA_2050,
492
+ hidden: true,
459
493
  },
460
494
  ],
461
495
  },
@@ -471,6 +505,7 @@ export const GlobalRegime: GlobalRegimeType = {
471
505
  profitsType: ProfitsType.BNC,
472
506
  idFiscalRegime: FiscalRegime.NA,
473
507
  declaration: CerfaType.CERFA_2035,
508
+ hidden: false,
474
509
  },
475
510
  {
476
511
  name: 'Profession libérale (BIC - IS - Réel simplifié - 2065 & 2033)',
@@ -480,6 +515,7 @@ export const GlobalRegime: GlobalRegimeType = {
480
515
  idFiscalRegime: FiscalRegime.RS,
481
516
  declaration: CerfaType.CERFA_2065,
482
517
  annexe: CerfaType.CERFA_2033,
518
+ hidden: false,
483
519
  },
484
520
  {
485
521
  name: 'Profession libérale (BIC - IS - Réel normal - 2065 & 2050)',
@@ -489,6 +525,7 @@ export const GlobalRegime: GlobalRegimeType = {
489
525
  idFiscalRegime: FiscalRegime.RN,
490
526
  declaration: CerfaType.CERFA_2065,
491
527
  annexe: CerfaType.CERFA_2050,
528
+ hidden: true,
492
529
  },
493
530
  ],
494
531
  },
@@ -190,4 +190,13 @@ export const LegalForm: LegalFormType = {
190
190
  individual: false,
191
191
  pappersLabel: 'Autre société civile',
192
192
  },
193
+ SELASU: {
194
+ id: 21,
195
+ name: 'SELAS(U)',
196
+ alias: 'Selas(u)',
197
+ diaCode: null,
198
+ hideVat: false,
199
+ individual: false,
200
+ pappersLabel: 'Selas unipersonnelle',
201
+ },
193
202
  };
@@ -0,0 +1,21 @@
1
+ import {
2
+ ArrayMinSize,
3
+ IsArray, IsNotEmpty, IsOptional,
4
+ } from 'class-validator';
5
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
6
+ import { AccountingJournal } from '../../../Enum/AccountingJournal';
7
+
8
+ export class QuerySocietyTransactionCount {
9
+ @ApiPropertyOptional()
10
+ @IsOptional()
11
+ @IsArray()
12
+ idBankAccount?: number[];
13
+
14
+ @ApiProperty({
15
+ enum: AccountingJournal,
16
+ })
17
+ @IsNotEmpty()
18
+ @IsArray()
19
+ @ArrayMinSize(1)
20
+ idAccountingJournal: number[];
21
+ }
@@ -0,0 +1,12 @@
1
+ export class ReadSocietyTransactionCount {
2
+ banque?: number;
3
+ achat?: number;
4
+ vente?: number;
5
+ caisse?: number;
6
+ personnel?: number;
7
+ nouveau?: number;
8
+ diverse?: number;
9
+ revision?: number;
10
+ salaire?: number;
11
+ ticketZ?: number;
12
+ }
@@ -0,0 +1,25 @@
1
+ import {
2
+ IsDate, IsOptional,
3
+ } from 'class-validator';
4
+ import { ApiPropertyOptional } from '../../../..';
5
+
6
+ export class QueryBankAccountSum {
7
+ @ApiPropertyOptional()
8
+ @IsDate()
9
+ @IsOptional()
10
+ startDate?: Date;
11
+
12
+ @ApiPropertyOptional()
13
+ @IsDate()
14
+ @IsOptional()
15
+ endDate?: Date;
16
+
17
+ @ApiPropertyOptional()
18
+ @IsOptional()
19
+ idBankAccount?: number[];
20
+ }
21
+
22
+ export interface ReadBankAccountSum {
23
+ credit: number;
24
+ debit: number;
25
+ }
@@ -9,6 +9,7 @@ export class ParamsGenerate2031 {
9
9
  }
10
10
 
11
11
  export interface Cerfa2031 {
12
+ termination: Termination;
12
13
  isNil: boolean,
13
14
  period: { months: number; },
14
15
  header: {
@@ -39,6 +40,8 @@ export interface Cerfa2031 {
39
40
  activities: string;
40
41
  onJobList: boolean;
41
42
  ownerInfos: string;
43
+ ownerInfosName: string;
44
+ ownerInfosAddress: CerfaAddress;
42
45
  otherEstablishmentsAddresses : string;
43
46
  },
44
47
  recapitulation: {
@@ -58,7 +61,6 @@ export interface Cerfa2031 {
58
61
  creditTaxOption: boolean;
59
62
  shareEquipmentGrant: number;
60
63
  partnershipFiscalResult: number;
61
- publicAccountant: boolean;
62
64
  addedValue: {
63
65
  privateTaxed: number;
64
66
  longTermDiffered: number;
@@ -98,9 +100,7 @@ export interface Cerfa2031 {
98
100
  softwareName: string;
99
101
  hasOGA: boolean;
100
102
  hasViewer: boolean;
101
- approvalNumber: string;
102
103
  professionalAccountantInfos: string;
103
- declarantIdentity: string;
104
104
  place: string;
105
105
  date: string;
106
106
  declarantOccupation: string;
@@ -117,9 +117,9 @@ export interface Cerfa2031 {
117
117
  list: Array<{
118
118
  managerPartner: 'Oui' | 'Non';
119
119
  industrialBenefits: string;
120
- share0: string; // Professionnel
121
- share1: string; // Non Professionnel
122
- taxableAddedValueShare: string;
120
+ share0: number; // Professionnel
121
+ share1: number; // Non Professionnel
122
+ taxableAddedValueShare: number;
123
123
  label: string;
124
124
  siren: string;
125
125
  quality: string;
@@ -0,0 +1,35 @@
1
+ export class ReadTurnoverProfitAndLoss {
2
+ data: any;
3
+ chart: {
4
+ labels: Array<string>;
5
+ dataSets: Array<Chart>;
6
+ periodicity: Periocidity;
7
+ };
8
+ }
9
+
10
+ export class Chart {
11
+ label: string;
12
+ data: Array<number>;
13
+ }
14
+
15
+ export class Periocidity {
16
+ type: 'month' | 'day';
17
+ intervales: number;
18
+ }
19
+
20
+ export class ReadVat {
21
+ vats: Array<VatData>;
22
+ totalAmount: number;
23
+ isDebitor: boolean;
24
+ }
25
+
26
+ export class VatData {
27
+ label: string;
28
+ collectible: number;
29
+ deductible: number;
30
+ }
31
+
32
+ export class ReadTurnoverProfitAndLossAndVats {
33
+ turnOverProfitAndloss: ReadTurnoverProfitAndLoss;
34
+ vats: ReadVat;
35
+ }
package/ts/types/index.ts CHANGED
@@ -422,6 +422,7 @@ export * from './Interface/api/account/QueryGenericAccount';
422
422
  export * from './Interface/api/accountingTransaction/QueryTransaction';
423
423
  export * from './Interface/api/accountingTransaction/DeleteInvoices';
424
424
  export * from './Interface/api/accountingTransaction/GetTransactionsBetweenDates';
425
+ export * from './Interface/api/accountingTransaction/QueryBankAccountSum';
425
426
  export * from './Interface/api/user/QueryConfirm';
426
427
  export * from './Interface/api/user/QuerySocieties';
427
428
  export * from './Interface/api/user/QueryResendConfirmationLink';
@@ -454,19 +455,16 @@ export * from './Interface/api/accountingFiles/queryAccountingFiles';
454
455
  export * from './Interface/api/accountingFiles/Ocr';
455
456
  export * from './Interface/api/accountingFiles/OcrPayload';
456
457
  export * from './Interface/api/accountingFiles/OcrValue';
457
- // export * from './Interface/api/stock/stockEntries';
458
458
  export * from './Interface/api/stock/StockEntries';
459
459
  export * from './Interface/api/dashboard/QueryTurnoverProfitAndLoss';
460
- export * from './Interface/api/dashboard/ReadTurnOverProfitAndLoss';
460
+ export * from './Interface/api/dashboard/ReadTurnOverProfitAndLossAndVats';
461
461
  export * from './Interface/api/pdf/BillingDocumentData';
462
462
  export * from './Interface/api/dashboard/QueryBalanceBankAccount';
463
- export * from './Interface/api/dashboard/QueryVat';
464
463
  export * from './Interface/api/dashboard/QueryTopBuys';
465
464
  export * from './Interface/api/dashboard/QueryTopProviders';
466
465
  export * from './Interface/api/dashboard/ReadBalanceBankAccount';
467
466
  export * from './Interface/api/dashboard/QueryGescom';
468
467
  export * from './Interface/api/dashboard/QueryDeadline';
469
- export * from './Interface/api/dashboard/ReadVat';
470
468
  export * from './Interface/api/dashboard/ReadTopBuys';
471
469
  export * from './Interface/api/dashboard/ReadTopProviders';
472
470
  export * from './Interface/api/dashboard/ReadGescom';
@@ -502,6 +500,8 @@ export * from './Interface/api/vatDeclaration/ReadVatVariousOperations';
502
500
  export * from './Interface/api/vatDeclaration/ResultFormatToEntries';
503
501
  export * from './Interface/api/promoCode/QueryDefaultPromotion';
504
502
  export * from './Interface/api/promoCode/ReadDefaultPromotion';
503
+ export * from './Interface/api/SocietyTransaction/QuerySocietyTransactionCount';
504
+ export * from './Interface/api/SocietyTransaction/ReadSocietyTransactionCount';
505
505
 
506
506
  // export * from './Interface/api/survey/QuerySurvey';
507
507
  export * from './Interface/api/survey/ReadSurvey';
@@ -1,5 +0,0 @@
1
- export declare class QueryVat {
2
- startDate: string | Date;
3
- endDate: string | Date;
4
- }
5
- //# sourceMappingURL=QueryVat.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryVat.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/dashboard/QueryVat.ts"],"names":[],"mappings":"AAEA,qBAAa,QAAQ;IAEnB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAGzB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryVat.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/dashboard/QueryVat.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,OAAO,QAAQ;CAMpB;AAJC;IADC,WAAW,EAAE;;2CACW;AAGzB;IADC,WAAW,EAAE;;yCACS","sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class QueryVat {\n @ApiProperty()\n startDate: string | Date;\n\n @ApiProperty()\n endDate: string | Date;\n}"]}
@@ -1,17 +0,0 @@
1
- export declare class ReadTurnoverProfitAndLoss {
2
- data: any;
3
- chart: {
4
- labels: Array<string>;
5
- dataSets: Array<Chart>;
6
- periodicity: Periocidity;
7
- };
8
- }
9
- export declare class Chart {
10
- label: string;
11
- data: Array<number>;
12
- }
13
- export declare class Periocidity {
14
- type: 'month' | 'day';
15
- intervales: number;
16
- }
17
- //# sourceMappingURL=ReadTurnOverProfitAndLoss.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReadTurnOverProfitAndLoss.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/dashboard/ReadTurnOverProfitAndLoss.ts"],"names":[],"mappings":"AAAA,qBAAa,yBAAyB;IACpC,IAAI,EAAE,GAAG,CAAC;IACV,KAAK,EAAE;QACL,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QACtB,QAAQ,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;QACvB,WAAW,EAAE,WAAW,CAAC;KAC1B,CAAC;CACH;AAED,qBAAa,KAAK;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACrB;AAED,qBAAa,WAAW;IACtB,IAAI,EAAE,OAAO,GAAG,KAAK,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;CACpB"}
@@ -1,7 +0,0 @@
1
- export class ReadTurnoverProfitAndLoss {
2
- }
3
- export class Chart {
4
- }
5
- export class Periocidity {
6
- }
7
- //# sourceMappingURL=ReadTurnOverProfitAndLoss.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReadTurnOverProfitAndLoss.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/dashboard/ReadTurnOverProfitAndLoss.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,yBAAyB;CAOrC;AAED,MAAM,OAAO,KAAK;CAGjB;AAED,MAAM,OAAO,WAAW;CAGvB","sourcesContent":["export class ReadTurnoverProfitAndLoss {\n data: any;\n chart: {\n labels: Array<string>;\n dataSets: Array<Chart>;\n periodicity: Periocidity;\n };\n}\n\nexport class Chart {\n label: string;\n data: Array<number>;\n}\n\nexport class Periocidity {\n type: 'month' | 'day';\n intervales: number;\n}\n"]}
@@ -1,11 +0,0 @@
1
- export declare class ReadVat {
2
- tvas: Array<VatData>;
3
- totalAmount: number;
4
- isDebitor: boolean;
5
- }
6
- export declare class VatData {
7
- label: string;
8
- dataCollectible: number;
9
- dataDeductible: number;
10
- }
11
- //# sourceMappingURL=ReadVat.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReadVat.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/dashboard/ReadVat.ts"],"names":[],"mappings":"AAAA,qBAAa,OAAO;IAClB,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,qBAAa,OAAO;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;CACxB"}
@@ -1,5 +0,0 @@
1
- export class ReadVat {
2
- }
3
- export class VatData {
4
- }
5
- //# sourceMappingURL=ReadVat.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReadVat.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/dashboard/ReadVat.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,OAAO;CAInB;AAED,MAAM,OAAO,OAAO;CAInB","sourcesContent":["export class ReadVat {\n tvas: Array<VatData>;\n totalAmount: number;\n isDebitor: boolean;\n}\n\nexport class VatData {\n label: string;\n dataCollectible: number;\n dataDeductible: number;\n}"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryVat.js","mappings":";;;;;;;AAAA;;;;;;;;;;;;;;AAEM,MAAOA,QAAP,CAAe;;QAARA,Q,GAAAA,Q;;AAEXC,YADC,yBACD;;AAGAA,YADC,yBACD","names":["QueryVat","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/dashboard/QueryVat.ts"],"sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class QueryVat {\n @ApiProperty()\n startDate: string | Date;\n\n @ApiProperty()\n endDate: string | Date;\n}"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReadTurnOverProfitAndLoss.js","mappings":";;;;;;AAAM,MAAOA,yBAAP,CAAgC;;QAAzBA,yB,GAAAA,yB;;AASP,MAAOC,KAAP,CAAY;;QAALA,K,GAAAA,K;;AAKP,MAAOC,WAAP,CAAkB;;QAAXA,W,GAAAA,W","names":["ReadTurnoverProfitAndLoss","Chart","Periocidity"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/dashboard/ReadTurnOverProfitAndLoss.ts"],"sourcesContent":["export class ReadTurnoverProfitAndLoss {\n data: any;\n chart: {\n labels: Array<string>;\n dataSets: Array<Chart>;\n periodicity: Periocidity;\n };\n}\n\nexport class Chart {\n label: string;\n data: Array<number>;\n}\n\nexport class Periocidity {\n type: 'month' | 'day';\n intervales: number;\n}\n"]}
@@ -1,14 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
-
7
- class ReadVat {}
8
-
9
- exports.ReadVat = ReadVat;
10
-
11
- class VatData {}
12
-
13
- exports.VatData = VatData;
14
- //# sourceMappingURL=ReadVat.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReadVat.js","mappings":";;;;;;AAAM,MAAOA,OAAP,CAAc;;QAAPA,O,GAAAA,O;;AAMP,MAAOC,OAAP,CAAc;;QAAPA,O,GAAAA,O","names":["ReadVat","VatData"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/dashboard/ReadVat.ts"],"sourcesContent":["export class ReadVat {\n tvas: Array<VatData>;\n totalAmount: number;\n isDebitor: boolean;\n}\n\nexport class VatData {\n label: string;\n dataCollectible: number;\n dataDeductible: number;\n}"]}