@silexpert/core 1.1.114 → 1.1.116

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.
@@ -1,3 +1,5 @@
1
+ import { PrestationType, allPrestationsWithBrochure, PrestationDetail } from './PrestationType';
2
+
1
3
  export const BrandPourcentage = [
2
4
  {
3
5
  idTypeBrand: 1,
@@ -112,6 +114,178 @@ export const BrandPourcentage = [
112
114
  name: 'Nice',
113
115
  },
114
116
  },
117
+ salesContractConfig: [
118
+ // pour les pages statiques
119
+ {
120
+ label: 'Page d\'introduction',
121
+ name: 'page_intro',
122
+ needBgImage: true,
123
+ versionable: false,
124
+ idPrestationType: allPrestationsWithBrochure,
125
+ },
126
+ {
127
+ label: 'Page chiffres',
128
+ name: 'page_numbers',
129
+ needBgImage: true,
130
+ versionable: false,
131
+ idPrestationType: allPrestationsWithBrochure,
132
+ },
133
+ {
134
+ label: 'Page simplifié',
135
+ name: 'page_simplified',
136
+ needBgImage: true,
137
+ versionable: false,
138
+ idPrestationType: allPrestationsWithBrochure,
139
+ },
140
+ {
141
+ label: 'Détail de la lettre de mission',
142
+ name: 'page_detail_ldm',
143
+ needBgImage: false,
144
+ versionable: false,
145
+ idPrestationType: Object.values(PrestationDetail).filter(p => !p.isBack && !p.hidden && allPrestationsWithBrochure.includes(p.id!)).map(({ id }) => id), // Prestations non express
146
+ },
147
+ {
148
+ label: 'Détail de la lettre de mission (express)',
149
+ name: 'page_detail_ldm_back',
150
+ needBgImage: false,
151
+ versionable: false,
152
+ idPrestationType: Object.values(PrestationDetail).filter(p => p.isBack && !p.hidden && allPrestationsWithBrochure.includes(p.id!)).map(({ id }) => id), // Prestations express
153
+ },
154
+ // pour les pages dynamiques
155
+ {
156
+ label: 'Compta Pro',
157
+ name: 'bloc_compta_pro',
158
+ 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,
171
+ },
172
+ {
173
+ label: 'Compta Entreprise sur mesure',
174
+ name: 'bloc_compta_entreprise_sm',
175
+ 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,
180
+ },
181
+ {
182
+ label: 'Compta Micro',
183
+ name: 'bloc_compta_micro',
184
+ needBgImage: false,
185
+ versionable: true,
186
+ idPrestationType: [PrestationType.COMPTA_MICRO, PrestationType.COMPTA_MICRO_EXPRESS],
187
+ keyName: 'isWithApplicationFees',
188
+ },
189
+ {
190
+ label: 'Compta SCI',
191
+ name: 'bloc_compta_sci',
192
+ needBgImage: false,
193
+ versionable: true,
194
+ idPrestationType: [PrestationType.COMPTA_SCI, PrestationType.COMPTA_SCI_EXPRESS],
195
+ keyName: 'isWithApplicationFees',
196
+ },
197
+ {
198
+ label: 'Forfait social',
199
+ name: 'bloc_social',
200
+ needBgImage: false,
201
+ versionable: true,
202
+ idPrestationType: allPrestationsWithBrochure,
203
+ keyName: 'idPrestationSocial',
204
+ },
205
+ {
206
+ label: 'Forfait création société',
207
+ name: 'bloc_creation',
208
+ idPrestationType: allPrestationsWithBrochure.filter(p => p !== PrestationType.COMPTA_MICRO_EXPRESS && p !== PrestationType.COMPTA_MICRO),
209
+ needBgImage: false,
210
+ versionable: true,
211
+ keyName: 'idPrestationCreation',
212
+ },
213
+ {
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],
217
+ needBgImage: false,
218
+ versionable: true,
219
+ keyName: 'idPrestationCreation',
220
+ },
221
+ {
222
+ label: 'Forfait approbation des comptes annuels',
223
+ name: 'bloc_annual_accounts',
224
+ needBgImage: false,
225
+ idPrestationType: allPrestationsWithBrochure,
226
+ versionable: true,
227
+ keyName: 'idPrestationJuridique',
228
+ },
229
+ {
230
+ label: 'Prise en charge de votre déclaration d\'impôts sur le revenu 249€ HT/an',
231
+ name: 'bloc_tax_return',
232
+ needBgImage: false,
233
+ idPrestationType: allPrestationsWithBrochure,
234
+ versionable: true,
235
+ keyName: 'idPrestationSocial',
236
+ },
237
+ {
238
+ label: 'Accompagnement contrôle fiscal à 149€ HT/ exercice',
239
+ name: 'bloc_tax_audit',
240
+ needBgImage: false,
241
+ idPrestationType: allPrestationsWithBrochure,
242
+ versionable: true,
243
+ keyName: 'idPrestationSocial',
244
+ },
245
+ {
246
+ label: 'Bilan Prévisionnel',
247
+ name: 'bloc_bilan_previsionnel',
248
+ needBgImage: false,
249
+ idPrestationType: [PrestationType.CREATION_SOCIETE, PrestationType.BILAN_PREVISIONNEL],
250
+ versionable: true,
251
+ keyName: 'prestationOptions',
252
+ },
253
+ {
254
+ label: 'Signature',
255
+ name: 'bloc_sign',
256
+ needBgImage: false,
257
+ idPrestationType: allPrestationsWithBrochure,
258
+ versionable: false,
259
+ },
260
+ {
261
+ label: 'Conditions Générals de Vente (CGV) 1/2',
262
+ name: 'bloc_cgv_first',
263
+ needBgImage: false,
264
+ idPrestationType: allPrestationsWithBrochure,
265
+ versionable: false,
266
+ },
267
+ {
268
+ label: 'Conditions Générals de Vente (CGV) 2/2',
269
+ name: 'bloc_cgv_second',
270
+ needBgImage: false,
271
+ idPrestationType: allPrestationsWithBrochure,
272
+ versionable: false,
273
+ },
274
+ {
275
+ label: 'Mandat de prélèvement SEPA',
276
+ name: 'bloc_sepa',
277
+ needBgImage: false,
278
+ idPrestationType: allPrestationsWithBrochure,
279
+ versionable: false,
280
+ },
281
+ {
282
+ label: 'Pièces à nous envoyer',
283
+ name: 'bloc_send_files',
284
+ needBgImage: false,
285
+ idPrestationType: allPrestationsWithBrochure,
286
+ versionable: false,
287
+ },
288
+ ],
115
289
  },
116
290
  {
117
291
  idTypeBrand: 2,
@@ -74,6 +74,12 @@ export class QueryTaxDeadline {
74
74
  @IsOptional()
75
75
  @IsBoolean()
76
76
  isClosed?: boolean;
77
+
78
+ @ApiPropertyOptional({ description: 'Récupérer uniquement les exercices back ou uniquement les non back' })
79
+ @IsOptional()
80
+ @IsBoolean()
81
+ isBack?: boolean;
82
+
77
83
  }
78
84
 
79
85
  export class QueryTaxDeadlineStatistics {