@silexpert/core 1.1.152 → 1.1.153
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.
- package/dist/cjs/api/resources/KilometricAllowance.d.ts +2 -1
- package/dist/cjs/api/resources/KilometricAllowance.d.ts.map +1 -1
- package/dist/cjs/api/resources/KilometricAllowance.js +3 -0
- package/dist/cjs/api/resources/KilometricAllowance.js.map +1 -1
- package/dist/cjs/api/resources/SalesContract.d.ts +6 -5
- package/dist/cjs/api/resources/SalesContract.d.ts.map +1 -1
- package/dist/cjs/api/resources/SalesContract.js +32 -16
- package/dist/cjs/api/resources/SalesContract.js.map +1 -1
- package/dist/cjs/api/resources/ThirdParty.d.ts +1 -0
- package/dist/cjs/api/resources/ThirdParty.d.ts.map +1 -1
- package/dist/cjs/api/resources/ThirdParty.js +4 -0
- package/dist/cjs/api/resources/ThirdParty.js.map +1 -1
- package/dist/cjs/types/Enum/BrandClementine.d.ts +2 -18
- package/dist/cjs/types/Enum/BrandClementine.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BrandClementine.js +78 -91
- package/dist/cjs/types/Enum/BrandClementine.js.map +1 -1
- package/dist/cjs/types/Enum/BrandPourcentage.d.ts +122 -0
- package/dist/cjs/types/Enum/BrandPourcentage.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BrandPourcentage.js +161 -0
- package/dist/cjs/types/Enum/BrandPourcentage.js.map +1 -1
- package/dist/cjs/types/Enum/Ged.d.ts +3 -1
- package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Ged.js +4 -0
- package/dist/cjs/types/Enum/Ged.js.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.d.ts +4 -1
- package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.js +54 -0
- package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/cjs/types/Enum/SalesContractConfig.d.ts +13 -4
- package/dist/cjs/types/Enum/SalesContractConfig.d.ts.map +1 -1
- package/dist/cjs/types/Enum/SalesContractConfig.js +64 -0
- package/dist/cjs/types/Enum/SalesContractConfig.js.map +1 -1
- package/dist/cjs/types/Interface/api/cashAndExpense/Query.d.ts +7 -0
- package/dist/cjs/types/Interface/api/cashAndExpense/Query.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/cashAndExpense/Query.js +42 -0
- package/dist/cjs/types/Interface/api/cashAndExpense/Query.js.map +1 -0
- package/dist/cjs/types/Interface/api/salesContract/SendSalesContractParams.d.ts +6 -0
- package/dist/cjs/types/Interface/api/salesContract/SendSalesContractParams.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/salesContract/SendSalesContractParams.js +23 -1
- package/dist/cjs/types/Interface/api/salesContract/SendSalesContractParams.js.map +1 -1
- package/dist/cjs/types/Interface/models/IAccountingTransaction.d.ts +2 -0
- package/dist/cjs/types/Interface/models/IAccountingTransaction.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IAccountingTransaction.js.map +1 -1
- package/dist/cjs/types/index.d.ts +1 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +1 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/brands.d.ts +3 -2
- package/dist/cjs/utils/brands.d.ts.map +1 -1
- package/dist/cjs/utils/brands.js +15 -4
- package/dist/cjs/utils/brands.js.map +1 -1
- package/dist/mjs/api/resources/KilometricAllowance.d.ts +2 -1
- package/dist/mjs/api/resources/KilometricAllowance.d.ts.map +1 -1
- package/dist/mjs/api/resources/KilometricAllowance.js +6 -0
- package/dist/mjs/api/resources/KilometricAllowance.js.map +1 -1
- package/dist/mjs/api/resources/SalesContract.d.ts +6 -5
- package/dist/mjs/api/resources/SalesContract.d.ts.map +1 -1
- package/dist/mjs/api/resources/SalesContract.js +32 -15
- package/dist/mjs/api/resources/SalesContract.js.map +1 -1
- package/dist/mjs/api/resources/ThirdParty.d.ts +1 -0
- package/dist/mjs/api/resources/ThirdParty.d.ts.map +1 -1
- package/dist/mjs/api/resources/ThirdParty.js +4 -0
- package/dist/mjs/api/resources/ThirdParty.js.map +1 -1
- package/dist/mjs/types/Enum/BrandClementine.d.ts +2 -18
- package/dist/mjs/types/Enum/BrandClementine.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BrandClementine.js +78 -91
- package/dist/mjs/types/Enum/BrandClementine.js.map +1 -1
- package/dist/mjs/types/Enum/BrandPourcentage.d.ts +122 -0
- package/dist/mjs/types/Enum/BrandPourcentage.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BrandPourcentage.js +161 -0
- package/dist/mjs/types/Enum/BrandPourcentage.js.map +1 -1
- package/dist/mjs/types/Enum/Ged.d.ts +3 -1
- package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Ged.js +4 -0
- package/dist/mjs/types/Enum/Ged.js.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.d.ts +4 -1
- package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.js +54 -0
- package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/mjs/types/Enum/SalesContractConfig.d.ts +13 -4
- package/dist/mjs/types/Enum/SalesContractConfig.d.ts.map +1 -1
- package/dist/mjs/types/Enum/SalesContractConfig.js +68 -1
- package/dist/mjs/types/Enum/SalesContractConfig.js.map +1 -1
- package/dist/mjs/types/Interface/api/cashAndExpense/Query.d.ts +7 -0
- package/dist/mjs/types/Interface/api/cashAndExpense/Query.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/cashAndExpense/Query.js +42 -0
- package/dist/mjs/types/Interface/api/cashAndExpense/Query.js.map +1 -0
- package/dist/mjs/types/Interface/api/salesContract/SendSalesContractParams.d.ts +6 -0
- package/dist/mjs/types/Interface/api/salesContract/SendSalesContractParams.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/salesContract/SendSalesContractParams.js +25 -0
- package/dist/mjs/types/Interface/api/salesContract/SendSalesContractParams.js.map +1 -1
- package/dist/mjs/types/Interface/models/IAccountingTransaction.d.ts +2 -0
- package/dist/mjs/types/Interface/models/IAccountingTransaction.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IAccountingTransaction.js.map +1 -1
- package/dist/mjs/types/index.d.ts +1 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +1 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/brands.d.ts +3 -2
- package/dist/mjs/utils/brands.d.ts.map +1 -1
- package/dist/mjs/utils/brands.js +14 -4
- package/dist/mjs/utils/brands.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/KilometricAllowance.ts +8 -1
- package/ts/api/resources/SalesContract.ts +33 -17
- package/ts/api/resources/ThirdParty.ts +5 -0
- package/ts/types/Enum/BrandClementine.ts +78 -91
- package/ts/types/Enum/BrandPourcentage.ts +161 -0
- package/ts/types/Enum/Ged.ts +4 -0
- package/ts/types/Enum/PrestationType.ts +54 -0
- package/ts/types/Enum/SalesContractConfig.ts +41 -6
- package/ts/types/Interface/api/cashAndExpense/Query.ts +24 -0
- package/ts/types/Interface/api/salesContract/SendSalesContractParams.ts +17 -0
- package/ts/types/Interface/models/IAccountingTransaction.ts +2 -0
- package/ts/types/index.ts +1 -0
- package/ts/utils/brands.ts +16 -4
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
import { Resource } from '../Resource';
|
|
2
|
-
import { CreateKilometricAllowanceValidation } from '../../types';
|
|
2
|
+
import { BasePaginate, CreateKilometricAllowanceValidation, IAccountingTransaction, QueryKilometricAllowance } from '../../types';
|
|
3
3
|
|
|
4
4
|
export class KilometricAllowance extends Resource {
|
|
5
5
|
validate(idExercice: number, payload: CreateKilometricAllowanceValidation): Promise<boolean> {
|
|
6
6
|
return this.axios.$post(`/exercice/${idExercice}/kilometric-allowance/validate`, payload);
|
|
7
7
|
}
|
|
8
|
+
|
|
9
|
+
getPaginated(idSociety: number, params: QueryKilometricAllowance, signal?: AbortSignal): Promise<BasePaginate<IAccountingTransaction>> {
|
|
10
|
+
return this.axios.$get(`/societies/${idSociety}/kilometric-allowances`, {
|
|
11
|
+
params,
|
|
12
|
+
...(signal ? { signal } : {}),
|
|
13
|
+
});
|
|
14
|
+
}
|
|
8
15
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { Resource } from '../Resource';
|
|
2
|
-
import { SalesContractContent, SalesContractConfigVersion, SendSalesContractParams } from '../../types';
|
|
2
|
+
import { SalesContractContent, SalesContractConfigVersion, SendSalesContractParams, ParamsPreviewContract, SendMandateParams } from '../../types';
|
|
3
3
|
|
|
4
4
|
export class SalesContract extends Resource {
|
|
5
|
-
getConfigFile(): Promise<SalesContractContent[]> {
|
|
6
|
-
return this.axios.$get('sales-contracts/config');
|
|
5
|
+
getConfigFile(idTypeBrand?: number): Promise<SalesContractContent[]> {
|
|
6
|
+
return this.axios.$get('sales-contracts/config', { params: { idTypeBrand } });
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
getConfigVersions() : Promise<SalesContractConfigVersion[]> {
|
|
10
|
-
return this.axios.$get('sales-contracts/config/versions');
|
|
9
|
+
getConfigVersions(idTypeBrand?: number) : Promise<SalesContractConfigVersion[]> {
|
|
10
|
+
return this.axios.$get('sales-contracts/config/versions', { params: { idTypeBrand } });
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
preview(
|
|
14
|
-
return this.axios.$get('sales-contracts/preview', { params
|
|
13
|
+
preview(params: ParamsPreviewContract): Promise<string> {
|
|
14
|
+
return this.axios.$get('sales-contracts/preview', { params });
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
downloadPreview(
|
|
17
|
+
downloadPreview(params: ParamsPreviewContract): Promise<void> {
|
|
18
18
|
return this.axios.$get('sales-contracts/preview/pdf', {
|
|
19
|
-
params
|
|
19
|
+
params,
|
|
20
20
|
responseType: 'arraybuffer',
|
|
21
21
|
headers: {
|
|
22
22
|
Accept: 'application/pdf',
|
|
@@ -38,17 +38,33 @@ export class SalesContract extends Resource {
|
|
|
38
38
|
|
|
39
39
|
sendByEmailWithSignature(params: SendSalesContractParams): Promise<true> {
|
|
40
40
|
const formData = new FormData();
|
|
41
|
-
Object.entries(params).forEach(
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
Object.entries(params).forEach(([key, value]) => {
|
|
42
|
+
if (value || value === false || value === 0) {
|
|
43
|
+
if (key === 'files') {
|
|
44
|
+
value.forEach((file: File) => {
|
|
45
|
+
formData.append('files', file);
|
|
46
|
+
});
|
|
47
|
+
} else
|
|
48
|
+
formData.append(key, `${value}`);
|
|
45
49
|
}
|
|
46
50
|
});
|
|
47
51
|
|
|
48
|
-
params.files?.forEach((file) => {
|
|
49
|
-
formData.append('files', file);
|
|
50
|
-
});
|
|
51
|
-
|
|
52
52
|
return this.axios.$post('sales-contracts/send', formData);
|
|
53
53
|
}
|
|
54
|
+
|
|
55
|
+
sendMandateByEmail(params: SendMandateParams): Promise<true> {
|
|
56
|
+
const formData = new FormData();
|
|
57
|
+
Object.entries(params).forEach(([key, value]) => {
|
|
58
|
+
if (value || value === false || value === 0) {
|
|
59
|
+
if (key === 'files') {
|
|
60
|
+
value.forEach((file: File) => {
|
|
61
|
+
formData.append('files', file);
|
|
62
|
+
});
|
|
63
|
+
} else
|
|
64
|
+
formData.append(key, `${value}`);
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
return this.axios.$post('sales-contracts/send/mandate', formData);
|
|
69
|
+
}
|
|
54
70
|
}
|
|
@@ -37,10 +37,15 @@ export class ThirdParty extends Resource {
|
|
|
37
37
|
return this.axios.$put(`/third-parties/${idThirdParty}`, payload);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
+
// FIXME: Endpoint à ne plus utiliser, à supprimer une fois app mobile + app mise à jour
|
|
40
41
|
create(payload: CreateThirdPartyForm): Promise<IThirdParty> {
|
|
41
42
|
return this.axios.$post('/third-parties', payload);
|
|
42
43
|
}
|
|
43
44
|
|
|
45
|
+
createForSociety(idSociety: number, payload: CreateThirdPartyForm): Promise<IThirdParty> {
|
|
46
|
+
return this.axios.$post(`/societies/${idSociety}/third-parties`, payload);
|
|
47
|
+
}
|
|
48
|
+
|
|
44
49
|
delete(idThirdParty: number): Promise<true> {
|
|
45
50
|
return this.axios.$delete(`/third-parties/${idThirdParty}`);
|
|
46
51
|
}
|
|
@@ -359,22 +359,6 @@ export const BrandClementine = [
|
|
|
359
359
|
vatIntracom: 'FR47752566687',
|
|
360
360
|
email: 'facturation@compta-clementine.fr',
|
|
361
361
|
},
|
|
362
|
-
salesContractConfig: [
|
|
363
|
-
{
|
|
364
|
-
label: 'Page d\'introduction',
|
|
365
|
-
name: 'page_intro',
|
|
366
|
-
needBgImage: true,
|
|
367
|
-
versionable: false,
|
|
368
|
-
idPrestationType: allPrestationsWithBrochure,
|
|
369
|
-
},
|
|
370
|
-
{
|
|
371
|
-
label: 'Page chiffres',
|
|
372
|
-
name: 'page_numbers',
|
|
373
|
-
needBgImage: true,
|
|
374
|
-
versionable: false,
|
|
375
|
-
idPrestationType: allPrestationsWithBrochure,
|
|
376
|
-
},
|
|
377
|
-
],
|
|
378
362
|
},
|
|
379
363
|
{
|
|
380
364
|
idTypeBrand: 4,
|
|
@@ -439,6 +423,39 @@ export const BrandClementine = [
|
|
|
439
423
|
vatIntracom: 'FR47752566687',
|
|
440
424
|
email: 'facturation@compta-clementine.fr',
|
|
441
425
|
},
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
idTypeBrand: 6,
|
|
429
|
+
name: 'Klems',
|
|
430
|
+
commercialName: 'Klems',
|
|
431
|
+
urlApp: 'https://klems.fr',
|
|
432
|
+
urlApi1: 'https://api.compta-clementine.fr',
|
|
433
|
+
urlApi2: 'https://api-next.compta-clementine.fr',
|
|
434
|
+
urlClient: 'https://www.klems.fr',
|
|
435
|
+
bank: {
|
|
436
|
+
IBAN: 'FR7616106840138646838239863',
|
|
437
|
+
BIC: 'AGRIFRPP861',
|
|
438
|
+
Name: 'Expertise Choix B',
|
|
439
|
+
Id: 'FR91ZZZ617135',
|
|
440
|
+
},
|
|
441
|
+
colors: {
|
|
442
|
+
primary: '#38A1FF',
|
|
443
|
+
},
|
|
444
|
+
internalInvoicing: {
|
|
445
|
+
statut: 'SAS',
|
|
446
|
+
name: 'EXPERTISE CHOIX B',
|
|
447
|
+
address: '9, avenue du Rhin',
|
|
448
|
+
zipCode: '54520',
|
|
449
|
+
city: 'LAXOU',
|
|
450
|
+
country: 'FRANCE',
|
|
451
|
+
montantCapital: '500 000',
|
|
452
|
+
siret: '752566687',
|
|
453
|
+
ape: '6920Z',
|
|
454
|
+
rcs: '752 566 687',
|
|
455
|
+
phone: '03 83 93 14 14',
|
|
456
|
+
vatIntracom: 'FR47752566687',
|
|
457
|
+
email: 'facturation@compta-clementine.fr',
|
|
458
|
+
},
|
|
442
459
|
salesContractConfig: [
|
|
443
460
|
// pour les pages statiques
|
|
444
461
|
{
|
|
@@ -446,168 +463,138 @@ export const BrandClementine = [
|
|
|
446
463
|
name: 'page_intro',
|
|
447
464
|
needBgImage: true,
|
|
448
465
|
versionable: false,
|
|
449
|
-
idPrestationType:
|
|
466
|
+
idPrestationType: [PrestationType.SOCIAL, PrestationType.COMPTA_MICRO_KLEMS, PrestationType.COMPTA_EI_KLEMS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS],
|
|
450
467
|
},
|
|
451
468
|
{
|
|
452
469
|
label: 'Page chiffres',
|
|
453
470
|
name: 'page_numbers',
|
|
454
471
|
needBgImage: true,
|
|
455
472
|
versionable: false,
|
|
456
|
-
idPrestationType:
|
|
473
|
+
idPrestationType: [PrestationType.SOCIAL, PrestationType.COMPTA_MICRO_KLEMS, PrestationType.COMPTA_EI_KLEMS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS],
|
|
457
474
|
},
|
|
458
475
|
{
|
|
459
476
|
label: 'Page simplifié',
|
|
460
477
|
name: 'page_simplified',
|
|
461
478
|
needBgImage: true,
|
|
462
479
|
versionable: false,
|
|
463
|
-
idPrestationType:
|
|
480
|
+
idPrestationType: [PrestationType.SOCIAL, PrestationType.COMPTA_MICRO_KLEMS, PrestationType.COMPTA_EI_KLEMS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS],
|
|
464
481
|
},
|
|
465
482
|
{
|
|
466
483
|
label: 'Détail de la lettre de mission',
|
|
467
484
|
name: 'page_detail_ldm',
|
|
468
485
|
needBgImage: false,
|
|
469
486
|
versionable: false,
|
|
470
|
-
idPrestationType: Object.values(PrestationDetail).filter(p => !p.isBack && !p.hidden &&
|
|
487
|
+
idPrestationType: Object.values(PrestationDetail).filter(p => !p.isBack && !p.hidden && [PrestationType.SOCIAL, PrestationType.COMPTA_MICRO_KLEMS, PrestationType.COMPTA_EI_KLEMS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS].includes(p.id!)).map(({ id }) => id), // Prestations non express
|
|
471
488
|
},
|
|
472
489
|
{
|
|
473
490
|
label: 'Détail de la lettre de mission (express)',
|
|
474
491
|
name: 'page_detail_ldm_back',
|
|
475
492
|
needBgImage: false,
|
|
476
493
|
versionable: false,
|
|
477
|
-
idPrestationType: Object.values(PrestationDetail).filter(p => p.isBack
|
|
478
|
-
},
|
|
479
|
-
// pour les pages dynamiques
|
|
480
|
-
{
|
|
481
|
-
label: 'Compta Pro',
|
|
482
|
-
name: 'bloc_compta_pro',
|
|
483
|
-
needBgImage: false,
|
|
484
|
-
versionable: true,
|
|
485
|
-
idPrestationType: [PrestationType.COMPTA_PRO, PrestationType.COMPTA_PRO_EXPRESS],
|
|
486
|
-
keyName: 'isWithApplicationFees',
|
|
487
|
-
},
|
|
488
|
-
{
|
|
489
|
-
label: 'Compta Entreprise',
|
|
490
|
-
name: 'bloc_compta_entreprise',
|
|
491
|
-
needBgImage: false,
|
|
492
|
-
versionable: true,
|
|
493
|
-
keyName: 'isWithApplicationFees',
|
|
494
|
-
idPrestationType: [PrestationType.COMPTA_ENTREPRISE, PrestationType.COMPTA_ENTREPRISE_EXPRESS, PrestationType.COMPTA_STARTER_ENTREPRISE],
|
|
495
|
-
condition: (turnover: number): boolean => turnover < 900000,
|
|
496
|
-
},
|
|
497
|
-
{
|
|
498
|
-
label: 'Compta Entreprise sur mesure',
|
|
499
|
-
name: 'bloc_compta_entreprise_sm',
|
|
500
|
-
needBgImage: false,
|
|
501
|
-
versionable: true,
|
|
502
|
-
keyName: 'isWithApplicationFees',
|
|
503
|
-
idPrestationType: [PrestationType.COMPTA_ENTREPRISE, PrestationType.COMPTA_ENTREPRISE_EXPRESS, PrestationType.COMPTA_STARTER_ENTREPRISE],
|
|
504
|
-
condition: (turnover: number): boolean => turnover >= 900000,
|
|
494
|
+
idPrestationType: Object.values(PrestationDetail).filter(p => p.isBack && !p.hidden && [PrestationType.SOCIAL, PrestationType.COMPTA_MICRO_KLEMS, PrestationType.COMPTA_EI_KLEMS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS].includes(p.id!)).map(({ id }) => id), // Prestations express
|
|
505
495
|
},
|
|
506
496
|
{
|
|
507
|
-
label: '
|
|
497
|
+
label: 'Forfait Expertise Micro',
|
|
508
498
|
name: 'bloc_compta_micro',
|
|
509
499
|
needBgImage: false,
|
|
510
|
-
versionable:
|
|
511
|
-
idPrestationType: [PrestationType.
|
|
512
|
-
keyName: 'isWithApplicationFees',
|
|
500
|
+
versionable: false,
|
|
501
|
+
idPrestationType: [PrestationType.COMPTA_MICRO_KLEMS],
|
|
513
502
|
},
|
|
514
503
|
{
|
|
515
|
-
label: '
|
|
516
|
-
name: '
|
|
504
|
+
label: 'Forfait Expertise Entreprise individuelle',
|
|
505
|
+
name: 'bloc_entreprise_individuelle',
|
|
517
506
|
needBgImage: false,
|
|
518
|
-
versionable:
|
|
519
|
-
idPrestationType: [PrestationType.
|
|
520
|
-
keyName: 'isWithApplicationFees',
|
|
507
|
+
versionable: false,
|
|
508
|
+
idPrestationType: [PrestationType.COMPTA_EI_KLEMS],
|
|
521
509
|
},
|
|
522
510
|
{
|
|
523
|
-
label: 'Forfait
|
|
524
|
-
name: '
|
|
511
|
+
label: 'Forfait Expertise Loueur meublé non pro',
|
|
512
|
+
name: 'bloc_compta_loueur_meuble_non_pro',
|
|
525
513
|
needBgImage: false,
|
|
526
|
-
versionable:
|
|
527
|
-
idPrestationType:
|
|
528
|
-
keyName: 'idPrestationSocial',
|
|
514
|
+
versionable: false,
|
|
515
|
+
idPrestationType: [PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS],
|
|
529
516
|
},
|
|
530
517
|
{
|
|
531
|
-
label: 'Forfait
|
|
532
|
-
name: '
|
|
533
|
-
idPrestationType: allPrestationsWithBrochure,
|
|
518
|
+
label: 'Forfait social (TTC)',
|
|
519
|
+
name: 'bloc_social_ttc',
|
|
534
520
|
needBgImage: false,
|
|
535
521
|
versionable: true,
|
|
536
|
-
|
|
522
|
+
idPrestationType: [PrestationType.SOCIAL, PrestationType.COMPTA_MICRO_KLEMS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS],
|
|
523
|
+
keyName: 'idPrestationSocial',
|
|
537
524
|
},
|
|
538
525
|
{
|
|
539
|
-
label: 'Forfait
|
|
540
|
-
name: '
|
|
541
|
-
idPrestationType: allPrestationsWithBrochure,
|
|
526
|
+
label: 'Forfait social (HT)',
|
|
527
|
+
name: 'bloc_social_ht',
|
|
542
528
|
needBgImage: false,
|
|
543
529
|
versionable: true,
|
|
544
|
-
|
|
530
|
+
idPrestationType: [PrestationType.COMPTA_EI_KLEMS],
|
|
531
|
+
keyName: 'idPrestationSocial',
|
|
545
532
|
},
|
|
546
533
|
{
|
|
547
|
-
label: 'Forfait
|
|
548
|
-
name: '
|
|
534
|
+
label: 'Forfait Création d\'entreprise (TTC)',
|
|
535
|
+
name: 'bloc_creation_entreprise_ttc',
|
|
536
|
+
idPrestationType: [PrestationType.SOCIAL, PrestationType.COMPTA_MICRO_KLEMS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS],
|
|
549
537
|
needBgImage: false,
|
|
550
|
-
idPrestationType: allPrestationsWithBrochure,
|
|
551
538
|
versionable: true,
|
|
552
|
-
keyName: '
|
|
539
|
+
keyName: 'isWithApplicationFees',
|
|
553
540
|
},
|
|
554
541
|
{
|
|
555
|
-
label: '
|
|
556
|
-
name: '
|
|
542
|
+
label: 'Forfait Création d\'entreprise (HT)',
|
|
543
|
+
name: 'bloc_creation_entreprise_ht',
|
|
544
|
+
idPrestationType:[PrestationType.COMPTA_EI_KLEMS],
|
|
557
545
|
needBgImage: false,
|
|
558
|
-
idPrestationType: allPrestationsWithBrochure,
|
|
559
546
|
versionable: true,
|
|
560
|
-
keyName: '
|
|
547
|
+
keyName: 'isWithApplicationFees',
|
|
561
548
|
},
|
|
562
549
|
{
|
|
563
|
-
label: 'Accompagnement contrôle fiscal
|
|
564
|
-
name: '
|
|
550
|
+
label: 'Accompagnement contrôle fiscal (TTC)',
|
|
551
|
+
name: 'bloc_tax_audit_ttc',
|
|
565
552
|
needBgImage: false,
|
|
566
|
-
idPrestationType: allPrestationsWithBrochure,
|
|
567
553
|
versionable: true,
|
|
568
|
-
|
|
554
|
+
idPrestationType: [PrestationType.SOCIAL, PrestationType.COMPTA_MICRO_KLEMS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS],
|
|
555
|
+
keyName: 'idPrestationControleFiscal',
|
|
569
556
|
},
|
|
570
557
|
{
|
|
571
|
-
label: '
|
|
572
|
-
name: '
|
|
558
|
+
label: 'Accompagnement contrôle fiscal (HT)',
|
|
559
|
+
name: 'bloc_tax_audit_ht',
|
|
573
560
|
needBgImage: false,
|
|
574
|
-
idPrestationType: [PrestationType.
|
|
561
|
+
idPrestationType: [PrestationType.COMPTA_EI_KLEMS],
|
|
575
562
|
versionable: true,
|
|
576
|
-
keyName: '
|
|
563
|
+
keyName: 'idPrestationControleFiscal',
|
|
577
564
|
},
|
|
578
565
|
{
|
|
579
566
|
label: 'Signature',
|
|
580
567
|
name: 'bloc_sign',
|
|
581
568
|
needBgImage: false,
|
|
582
|
-
idPrestationType:
|
|
569
|
+
idPrestationType: [PrestationType.SOCIAL, PrestationType.COMPTA_MICRO_KLEMS, PrestationType.COMPTA_EI_KLEMS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS],
|
|
583
570
|
versionable: false,
|
|
584
571
|
},
|
|
585
572
|
{
|
|
586
573
|
label: 'Conditions Générals de Vente (CGV) 1/2',
|
|
587
574
|
name: 'bloc_cgv_first',
|
|
588
575
|
needBgImage: false,
|
|
589
|
-
idPrestationType:
|
|
576
|
+
idPrestationType: [PrestationType.SOCIAL, PrestationType.COMPTA_MICRO_KLEMS, PrestationType.COMPTA_EI_KLEMS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS],
|
|
590
577
|
versionable: false,
|
|
591
578
|
},
|
|
592
579
|
{
|
|
593
580
|
label: 'Conditions Générals de Vente (CGV) 2/2',
|
|
594
581
|
name: 'bloc_cgv_second',
|
|
595
582
|
needBgImage: false,
|
|
596
|
-
idPrestationType:
|
|
583
|
+
idPrestationType: [PrestationType.SOCIAL, PrestationType.COMPTA_MICRO_KLEMS, PrestationType.COMPTA_EI_KLEMS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS],
|
|
597
584
|
versionable: false,
|
|
598
585
|
},
|
|
599
586
|
{
|
|
600
587
|
label: 'Mandat de prélèvement SEPA',
|
|
601
588
|
name: 'bloc_sepa',
|
|
602
589
|
needBgImage: false,
|
|
603
|
-
idPrestationType:
|
|
590
|
+
idPrestationType: [PrestationType.SOCIAL, PrestationType.COMPTA_MICRO_KLEMS, PrestationType.COMPTA_EI_KLEMS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS],
|
|
604
591
|
versionable: false,
|
|
605
592
|
},
|
|
606
593
|
{
|
|
607
594
|
label: 'Pièces à nous envoyer',
|
|
608
595
|
name: 'bloc_send_files',
|
|
609
596
|
needBgImage: false,
|
|
610
|
-
idPrestationType:
|
|
597
|
+
idPrestationType: [PrestationType.SOCIAL, PrestationType.COMPTA_MICRO_KLEMS, PrestationType.COMPTA_EI_KLEMS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS],
|
|
611
598
|
versionable: false,
|
|
612
599
|
},
|
|
613
600
|
],
|
|
@@ -628,6 +628,167 @@ export const BrandPourcentage = [
|
|
|
628
628
|
webmail: {
|
|
629
629
|
domain: '@pourcentage.fr',
|
|
630
630
|
},
|
|
631
|
+
salesContractConfig: [
|
|
632
|
+
// pour les pages statiques
|
|
633
|
+
{
|
|
634
|
+
label: 'Page d\'introduction',
|
|
635
|
+
name: 'page_intro',
|
|
636
|
+
needBgImage: true,
|
|
637
|
+
versionable: false,
|
|
638
|
+
idPrestationType: allPrestationsWithBrochure,
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
label: 'Page chiffres',
|
|
642
|
+
name: 'page_numbers',
|
|
643
|
+
needBgImage: true,
|
|
644
|
+
versionable: false,
|
|
645
|
+
idPrestationType: allPrestationsWithBrochure,
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
label: 'Page simplifié',
|
|
649
|
+
name: 'page_simplified',
|
|
650
|
+
needBgImage: true,
|
|
651
|
+
versionable: false,
|
|
652
|
+
idPrestationType: allPrestationsWithBrochure,
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
label: 'Détail de la lettre de mission',
|
|
656
|
+
name: 'page_detail_ldm',
|
|
657
|
+
needBgImage: false,
|
|
658
|
+
versionable: false,
|
|
659
|
+
idPrestationType: Object.values(PrestationDetail).filter(p => !p.isBack && !p.hidden && allPrestationsWithBrochure.includes(p.id!)).map(({ id }) => id), // Prestations non express
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
label: 'Détail de la lettre de mission (express)',
|
|
663
|
+
name: 'page_detail_ldm_back',
|
|
664
|
+
needBgImage: false,
|
|
665
|
+
versionable: false,
|
|
666
|
+
idPrestationType: Object.values(PrestationDetail).filter(p => p.isBack && !p.hidden && allPrestationsWithBrochure.includes(p.id!)).map(({ id }) => id), // Prestations express
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
label: 'Compta Pourcentage',
|
|
670
|
+
name: 'bloc_compta_pourcentage',
|
|
671
|
+
needBgImage: false,
|
|
672
|
+
versionable: false,
|
|
673
|
+
idPrestationType: [PrestationType.COMPTA_POURCENTAGE, PrestationType.COMPTA_POURCENTAGE_EXPRESS],
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
label: 'Compta Pourcentage sur mesure',
|
|
677
|
+
name: 'bloc_compta_pourcentage_sur_mesure',
|
|
678
|
+
needBgImage: false,
|
|
679
|
+
versionable: false,
|
|
680
|
+
idPrestationType: [],
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
label: 'Compta Pourcentage Premium',
|
|
684
|
+
name: 'bloc_compta_pourcentage_premium',
|
|
685
|
+
needBgImage: false,
|
|
686
|
+
versionable: false,
|
|
687
|
+
idPrestationType: [PrestationType.COMPTA_POURCENTAGE_PREMIUM, PrestationType.COMPTA_POURCENTAGE_PREMIUM_EXPRESS],
|
|
688
|
+
condition: (turnover: number): boolean => turnover < 1500000,
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
label: 'Compta Pourcentage Premium sur mesure',
|
|
692
|
+
name: 'bloc_compta_pourcentage_premium_sur_mesure',
|
|
693
|
+
needBgImage: false,
|
|
694
|
+
versionable: false,
|
|
695
|
+
idPrestationType: [PrestationType.COMPTA_POURCENTAGE_PREMIUM, PrestationType.COMPTA_POURCENTAGE_PREMIUM_EXPRESS],
|
|
696
|
+
condition: (turnover: number): boolean => turnover >= 1500000,
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
label: 'Forfait social',
|
|
700
|
+
name: 'bloc_social',
|
|
701
|
+
needBgImage: false,
|
|
702
|
+
versionable: true,
|
|
703
|
+
idPrestationType: allPrestationsWithBrochure.filter(p => p !== PrestationType.BILAN_PREVISIONNEL),
|
|
704
|
+
keyName: 'idPrestationSocial',
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
label: 'Forfait création société',
|
|
708
|
+
name: 'bloc_creation',
|
|
709
|
+
idPrestationType: allPrestationsWithBrochure.filter(p => p !== PrestationType.BILAN_PREVISIONNEL),
|
|
710
|
+
needBgImage: false,
|
|
711
|
+
versionable: true,
|
|
712
|
+
keyName: 'idPrestationCreation',
|
|
713
|
+
condition: (price: number): boolean => price === 500,
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
label: 'Forfait création société premium',
|
|
717
|
+
name: 'bloc_creation_premium',
|
|
718
|
+
idPrestationType: allPrestationsWithBrochure.filter(p => p !== PrestationType.BILAN_PREVISIONNEL),
|
|
719
|
+
needBgImage: false,
|
|
720
|
+
versionable: true,
|
|
721
|
+
keyName: 'idPrestationCreation',
|
|
722
|
+
condition: (price: number): boolean => price === 1000,
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
label: 'Forfait approbation des comptes annuels',
|
|
726
|
+
name: 'bloc_annual_accounts',
|
|
727
|
+
needBgImage: false,
|
|
728
|
+
idPrestationType: allPrestationsWithBrochure.filter(p => p !== PrestationType.BILAN_PREVISIONNEL),
|
|
729
|
+
versionable: true,
|
|
730
|
+
keyName: 'idPrestationJuridique',
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
label: 'Prise en charge de votre déclaration d\'impôts sur le revenu',
|
|
734
|
+
name: 'bloc_tax_return',
|
|
735
|
+
needBgImage: false,
|
|
736
|
+
idPrestationType: allPrestationsWithBrochure.filter(p => p !== PrestationType.BILAN_PREVISIONNEL),
|
|
737
|
+
versionable: true,
|
|
738
|
+
keyName: 'idPrestationDeclarationIR',
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
label: 'Accompagnement contrôle fiscal',
|
|
742
|
+
name: 'bloc_tax_audit',
|
|
743
|
+
needBgImage: false,
|
|
744
|
+
idPrestationType: allPrestationsWithBrochure.filter(p => p !== PrestationType.BILAN_PREVISIONNEL),
|
|
745
|
+
versionable: true,
|
|
746
|
+
keyName: 'idPrestationControleFiscal',
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
label: 'Bilan Prévisionnel',
|
|
750
|
+
name: 'bloc_bilan_previsionnel',
|
|
751
|
+
needBgImage: false,
|
|
752
|
+
idPrestationType: [PrestationType.CREATION_SOCIETE, PrestationType.BILAN_PREVISIONNEL],
|
|
753
|
+
versionable: true,
|
|
754
|
+
keyName: 'prestationOptions',
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
label: 'Signature',
|
|
758
|
+
name: 'bloc_sign',
|
|
759
|
+
needBgImage: false,
|
|
760
|
+
idPrestationType: allPrestationsWithBrochure,
|
|
761
|
+
versionable: false,
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
label: 'Conditions Générals de Vente (CGV) 1/2',
|
|
765
|
+
name: 'bloc_cgv_first',
|
|
766
|
+
needBgImage: false,
|
|
767
|
+
idPrestationType: allPrestationsWithBrochure,
|
|
768
|
+
versionable: false,
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
label: 'Conditions Générals de Vente (CGV) 2/2',
|
|
772
|
+
name: 'bloc_cgv_second',
|
|
773
|
+
needBgImage: false,
|
|
774
|
+
idPrestationType: allPrestationsWithBrochure,
|
|
775
|
+
versionable: false,
|
|
776
|
+
},
|
|
777
|
+
{
|
|
778
|
+
label: 'Mandat de prélèvement SEPA',
|
|
779
|
+
name: 'bloc_sepa',
|
|
780
|
+
needBgImage: false,
|
|
781
|
+
idPrestationType: allPrestationsWithBrochure,
|
|
782
|
+
versionable: false,
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
label: 'Pièces à nous envoyer',
|
|
786
|
+
name: 'bloc_send_files',
|
|
787
|
+
needBgImage: false,
|
|
788
|
+
idPrestationType: allPrestationsWithBrochure,
|
|
789
|
+
versionable: false,
|
|
790
|
+
},
|
|
791
|
+
],
|
|
631
792
|
},
|
|
632
793
|
{
|
|
633
794
|
idTypeBrand: 6,
|
package/ts/types/Enum/Ged.ts
CHANGED
|
@@ -46,6 +46,8 @@ export enum GedFolder {
|
|
|
46
46
|
BALANCE_GL_JOURNALS_YEAR = 40,
|
|
47
47
|
JURIDICAL = 41,
|
|
48
48
|
SUBVENTION = 42,
|
|
49
|
+
EMPLOYEMENT_CONTRACT = 43,
|
|
50
|
+
EXIT_DOCUMENT = 44,
|
|
49
51
|
}
|
|
50
52
|
|
|
51
53
|
export enum TypeFile {
|
|
@@ -295,4 +297,6 @@ export const GedFolderList: Array<{ id: GedFolder, isVisibleForClient: boolean;
|
|
|
295
297
|
{ id: GedFolder.BALANCE_GL_JOURNALS_YEAR, name: 'Balance-GL Journaux Année N-1', isVisibleForClient: true, idGedCategory: GedCategory.ACCOUNTING_AND_TAX },
|
|
296
298
|
{ id: GedFolder.JURIDICAL, name: 'Juridique', isVisibleForClient: true, idGedCategory: GedCategory.JURIDIC },
|
|
297
299
|
{ id: GedFolder.SUBVENTION, name: 'Subvention', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
|
|
300
|
+
{ id: GedFolder.EMPLOYEMENT_CONTRACT, name: 'Contrats de travail & avenants', isVisibleForClient: true, idGedCategory: GedCategory.SOCIAL },
|
|
301
|
+
{ id: GedFolder.EXIT_DOCUMENT, name: 'Documents de sorties', isVisibleForClient: true, idGedCategory: GedCategory.SOCIAL },
|
|
298
302
|
];
|
|
@@ -170,6 +170,9 @@ export enum PrestationType {
|
|
|
170
170
|
STATUTS_OPTION_1 = 213,
|
|
171
171
|
STATUTS_OPTION_2 = 214,
|
|
172
172
|
STATUTS_OPTION_AE = 215,
|
|
173
|
+
COMPTA_MICRO_KLEMS = 216,
|
|
174
|
+
COMPTA_EI_KLEMS = 217,
|
|
175
|
+
COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS = 218,
|
|
173
176
|
}
|
|
174
177
|
|
|
175
178
|
// Liste des prestations avec une lettre de mission à signer
|
|
@@ -3066,4 +3069,55 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3066
3069
|
signaturePage: null,
|
|
3067
3070
|
point: 0,
|
|
3068
3071
|
},
|
|
3072
|
+
COMPTA_MICRO_KLEMS: {
|
|
3073
|
+
id: PrestationType.COMPTA_MICRO_KLEMS,
|
|
3074
|
+
name: 'Compta Micro Klems',
|
|
3075
|
+
isComptable: true,
|
|
3076
|
+
isJuridique: false,
|
|
3077
|
+
isSocial: false,
|
|
3078
|
+
isAttestation: false,
|
|
3079
|
+
inAverageCart: false,
|
|
3080
|
+
isBack: false,
|
|
3081
|
+
price: null,
|
|
3082
|
+
isCatalog: true,
|
|
3083
|
+
hidden: false,
|
|
3084
|
+
isComplementary: false,
|
|
3085
|
+
signaturePosition: '',
|
|
3086
|
+
signaturePage: null,
|
|
3087
|
+
point: 0,
|
|
3088
|
+
},
|
|
3089
|
+
COMPTA_EI_KLEMS: {
|
|
3090
|
+
id: PrestationType.COMPTA_EI_KLEMS,
|
|
3091
|
+
name: 'Compta Entreprise Individuelle Klems',
|
|
3092
|
+
isComptable: true,
|
|
3093
|
+
isJuridique: false,
|
|
3094
|
+
isSocial: false,
|
|
3095
|
+
isAttestation: false,
|
|
3096
|
+
inAverageCart: false,
|
|
3097
|
+
isBack: false,
|
|
3098
|
+
price: null,
|
|
3099
|
+
isCatalog: true,
|
|
3100
|
+
hidden: false,
|
|
3101
|
+
isComplementary: false,
|
|
3102
|
+
signaturePosition: '',
|
|
3103
|
+
signaturePage: null,
|
|
3104
|
+
point: 0,
|
|
3105
|
+
},
|
|
3106
|
+
COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS: {
|
|
3107
|
+
id: PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS,
|
|
3108
|
+
name: 'Compta Loueur Meublé Non Professionnel Klems',
|
|
3109
|
+
isComptable: true,
|
|
3110
|
+
isJuridique: false,
|
|
3111
|
+
isSocial: false,
|
|
3112
|
+
isAttestation: false,
|
|
3113
|
+
inAverageCart: false,
|
|
3114
|
+
isBack: false,
|
|
3115
|
+
price: null,
|
|
3116
|
+
isCatalog: true,
|
|
3117
|
+
hidden: false,
|
|
3118
|
+
isComplementary: false,
|
|
3119
|
+
signaturePosition: '',
|
|
3120
|
+
signaturePage: null,
|
|
3121
|
+
point: 0,
|
|
3122
|
+
},
|
|
3069
3123
|
};
|