@silexpert/core 1.1.121 → 1.1.122

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 (26) hide show
  1. package/es/types/Enum/BrandClementine.d.ts.map +1 -1
  2. package/es/types/Enum/BrandClementine.js +16 -2
  3. package/es/types/Enum/BrandClementine.js.map +1 -1
  4. package/es/types/Enum/BrandPourcentage.d.ts +2 -2
  5. package/es/types/Enum/BrandPourcentage.d.ts.map +1 -1
  6. package/es/types/Enum/BrandPourcentage.js +24 -37
  7. package/es/types/Enum/BrandPourcentage.js.map +1 -1
  8. package/es/types/Interface/api/balanceSheet/Read.d.ts +3 -0
  9. package/es/types/Interface/api/balanceSheet/Read.d.ts.map +1 -1
  10. package/es/types/Interface/api/balanceSheet/Read.js.map +1 -1
  11. package/es/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +1 -0
  12. package/es/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
  13. package/es/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +6 -0
  14. package/es/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
  15. package/js/types/Enum/BrandClementine.js +14 -2
  16. package/js/types/Enum/BrandClementine.js.map +1 -1
  17. package/js/types/Enum/BrandPourcentage.js +26 -39
  18. package/js/types/Enum/BrandPourcentage.js.map +1 -1
  19. package/js/types/Interface/api/balanceSheet/Read.js.map +1 -1
  20. package/js/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +1 -0
  21. package/js/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
  22. package/package.json +1 -1
  23. package/ts/types/Enum/BrandClementine.ts +16 -2
  24. package/ts/types/Enum/BrandPourcentage.ts +24 -37
  25. package/ts/types/Interface/api/balanceSheet/Read.ts +2 -1
  26. package/ts/types/Interface/api/balanceSheet/UpdateBalanceSheet.ts +5 -0
@@ -214,6 +214,20 @@ export const BrandClementine = [
214
214
  versionable: true,
215
215
  keyName: 'idPrestationCreation',
216
216
  },
217
+ {
218
+ label: 'Forfait création Entreprise + accompagnement comptable',
219
+ name: 'bloc_creation_enterprise_accompagnement',
220
+ idPrestationType: [],
221
+ needBgImage: false,
222
+ versionable: true,
223
+ },
224
+ {
225
+ label: 'Forfait création Entreprise + bilan prévisionnel',
226
+ name: 'bloc_creation_enterprise_bilan_previsionnel',
227
+ idPrestationType: [],
228
+ needBgImage: false,
229
+ versionable: true,
230
+ },
217
231
  {
218
232
  label: 'Forfait approbation des comptes annuels',
219
233
  name: 'bloc_annual_accounts',
@@ -223,7 +237,7 @@ export const BrandClementine = [
223
237
  keyName: 'idPrestationJuridique',
224
238
  },
225
239
  {
226
- label: 'Prise en charge de votre déclaration d\'impôts sur le revenu 249€ HT/an',
240
+ label: 'Prise en charge de votre déclaration d\'impôts sur le revenu',
227
241
  name: 'bloc_tax_return',
228
242
  needBgImage: false,
229
243
  idPrestationType: allPrestationsWithBrochure,
@@ -231,7 +245,7 @@ export const BrandClementine = [
231
245
  keyName: 'idPrestationSocial',
232
246
  },
233
247
  {
234
- label: 'Accompagnement contrôle fiscal à 149€ HT/ exercice',
248
+ label: 'Accompagnement contrôle fiscal',
235
249
  name: 'bloc_tax_audit',
236
250
  needBgImage: false,
237
251
  idPrestationType: allPrestationsWithBrochure,
@@ -151,48 +151,33 @@ export const BrandPourcentage = [
151
151
  versionable: false,
152
152
  idPrestationType: Object.values(PrestationDetail).filter(p => p.isBack && !p.hidden && allPrestationsWithBrochure.includes(p.id!)).map(({ id }) => id), // Prestations express
153
153
  },
154
- // pour les pages dynamiques
155
154
  {
156
- label: 'Compta Pro',
157
- name: 'bloc_compta_pro',
155
+ label: 'Compta Pourcentage',
156
+ name: 'bloc_compta_pourcentage',
158
157
  needBgImage: false,
159
- versionable: true,
160
- idPrestationType: [PrestationType.COMPTA_PRO, PrestationType.COMPTA_PRO_EXPRESS],
161
- keyName: 'isWithApplicationFees',
162
- },
163
- {
164
- label: 'Compta Entreprise',
165
- name: 'bloc_compta_entreprise',
166
- needBgImage: false,
167
- versionable: true,
168
- keyName: 'isWithApplicationFees',
169
- idPrestationType: [PrestationType.COMPTA_ENTREPRISE, PrestationType.COMPTA_ENTREPRISE_EXPRESS, PrestationType.COMPTA_STARTER_ENTREPRISE],
170
- condition: (turnover: number): boolean => turnover < 900000,
158
+ versionable: false,
159
+ idPrestationType: [],
171
160
  },
172
161
  {
173
- label: 'Compta Entreprise sur mesure',
174
- name: 'bloc_compta_entreprise_sm',
162
+ label: 'Compta Pourcentage sur mesure',
163
+ name: 'bloc_compta_pourcentage_sur_mesure',
175
164
  needBgImage: false,
176
- versionable: true,
177
- keyName: 'isWithApplicationFees',
178
- idPrestationType: [PrestationType.COMPTA_ENTREPRISE, PrestationType.COMPTA_ENTREPRISE_EXPRESS, PrestationType.COMPTA_STARTER_ENTREPRISE],
179
- condition: (turnover: number): boolean => turnover >= 900000,
165
+ versionable: false,
166
+ idPrestationType: [PrestationType.COMPTA_POURCENTAGE, PrestationType.COMPTA_POURCENTAGE_EXPRESS],
180
167
  },
181
168
  {
182
- label: 'Compta Micro',
183
- name: 'bloc_compta_micro',
169
+ label: 'Compta Pourcentage Premium',
170
+ name: 'bloc_compta_pourcentage_premium',
184
171
  needBgImage: false,
185
- versionable: true,
186
- idPrestationType: [PrestationType.COMPTA_MICRO, PrestationType.COMPTA_MICRO_EXPRESS],
187
- keyName: 'isWithApplicationFees',
172
+ versionable: false,
173
+ idPrestationType: [],
188
174
  },
189
175
  {
190
- label: 'Compta SCI',
191
- name: 'bloc_compta_sci',
176
+ label: 'Compta Pourcentage Premium sur mesure',
177
+ name: 'bloc_compta_pourcentage_premium_sur_mesure',
192
178
  needBgImage: false,
193
- versionable: true,
194
- idPrestationType: [PrestationType.COMPTA_SCI, PrestationType.COMPTA_SCI_EXPRESS],
195
- keyName: 'isWithApplicationFees',
179
+ versionable: false,
180
+ idPrestationType: [PrestationType.COMPTA_POURCENTAGE_PREMIUM, PrestationType.COMPTA_POURCENTAGE_PREMIUM_EXPRESS],
196
181
  },
197
182
  {
198
183
  label: 'Forfait social',
@@ -205,18 +190,20 @@ export const BrandPourcentage = [
205
190
  {
206
191
  label: 'Forfait création société',
207
192
  name: 'bloc_creation',
208
- idPrestationType: allPrestationsWithBrochure.filter(p => p !== PrestationType.COMPTA_MICRO_EXPRESS && p !== PrestationType.COMPTA_MICRO),
193
+ idPrestationType: allPrestationsWithBrochure,
209
194
  needBgImage: false,
210
195
  versionable: true,
211
196
  keyName: 'idPrestationCreation',
197
+ condition: (price: number): boolean => price === 500,
212
198
  },
213
199
  {
214
- label: 'Forfait création société (Création d\'entreprise gratuite)',
215
- name: 'bloc_creation_free',
216
- idPrestationType: [PrestationType.COMPTA_MICRO, PrestationType.COMPTA_MICRO_EXPRESS],
200
+ label: 'Forfait création société premium',
201
+ name: 'bloc_creation_premium',
202
+ idPrestationType: allPrestationsWithBrochure,
217
203
  needBgImage: false,
218
204
  versionable: true,
219
205
  keyName: 'idPrestationCreation',
206
+ condition: (price: number): boolean => price === 1000,
220
207
  },
221
208
  {
222
209
  label: 'Forfait approbation des comptes annuels',
@@ -227,7 +214,7 @@ export const BrandPourcentage = [
227
214
  keyName: 'idPrestationJuridique',
228
215
  },
229
216
  {
230
- label: 'Prise en charge de votre déclaration d\'impôts sur le revenu 249€ HT/an',
217
+ label: 'Prise en charge de votre déclaration d\'impôts sur le revenu',
231
218
  name: 'bloc_tax_return',
232
219
  needBgImage: false,
233
220
  idPrestationType: allPrestationsWithBrochure,
@@ -235,7 +222,7 @@ export const BrandPourcentage = [
235
222
  keyName: 'idPrestationSocial',
236
223
  },
237
224
  {
238
- label: 'Accompagnement contrôle fiscal à 149€ HT/ exercice',
225
+ label: 'Accompagnement contrôle fiscal',
239
226
  name: 'bloc_tax_audit',
240
227
  needBgImage: false,
241
228
  idPrestationType: allPrestationsWithBrochure,
@@ -1,5 +1,5 @@
1
1
  export type ReadBalanceSheetYearStatistic = {
2
- doneIsBack: number; doneNoBack: number; todoIsBack: number; todoNoBack: number;
2
+ doneIsBack: number; doneNoBack: number; todoIsBack: number; todoNoBack: number; labIsBack: number; labNoBack: number;
3
3
  };
4
4
 
5
5
  export type ReadBalanceSheetStatistic = {
@@ -7,6 +7,7 @@ export type ReadBalanceSheetStatistic = {
7
7
  firstname: string;
8
8
  lastname: string;
9
9
  statistics: {
10
+ actualYearMinusFive: ReadBalanceSheetYearStatistic;
10
11
  actualYearMinusFour: ReadBalanceSheetYearStatistic;
11
12
  actualYearMinusThree: ReadBalanceSheetYearStatistic;
12
13
  actualYearMinusTwo: ReadBalanceSheetYearStatistic;
@@ -38,4 +38,9 @@ export class UpdateBalanceSheet {
38
38
  @IsNumber()
39
39
  @IsOptional()
40
40
  idFile?: number;
41
+
42
+ @ApiPropertyOptional()
43
+ @IsNumber()
44
+ @IsOptional()
45
+ state?: number;
41
46
  }