@silexpert/core 1.1.152 → 1.1.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.
- 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 +138 -0
- package/dist/cjs/types/Enum/BrandPourcentage.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BrandPourcentage.js +176 -3
- 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/cjs/utils/vat/3310/century23.js +58 -58
- package/dist/cjs/utils/vat/3310/century23.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 +138 -0
- package/dist/mjs/types/Enum/BrandPourcentage.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BrandPourcentage.js +176 -3
- 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/dist/mjs/utils/vat/3310/century23.js +5 -5
- package/dist/mjs/utils/vat/3310/century23.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 +176 -3
- 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
- package/ts/utils/vat/3310/century23.ts +5 -5
|
@@ -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
|
],
|
|
@@ -42,10 +42,10 @@ export const BrandPourcentage = [
|
|
|
42
42
|
},
|
|
43
43
|
companyInformation: {
|
|
44
44
|
ape: '6920Z',
|
|
45
|
-
bp: '',
|
|
45
|
+
bp: 'BP 31029',
|
|
46
46
|
city: 'Laxou',
|
|
47
47
|
montantCapital: '150 000',
|
|
48
|
-
nomRaisonSociale: '
|
|
48
|
+
nomRaisonSociale: 'EXPERTISE CHOIX C',
|
|
49
49
|
ECName: 'M. Jean-Louis BOICHÉ',
|
|
50
50
|
ECOrderCity: 'Nancy',
|
|
51
51
|
phone: '01 86 90 82 15',
|
|
@@ -69,6 +69,10 @@ export const BrandPourcentage = [
|
|
|
69
69
|
BIC: 'AGRIFRPP861',
|
|
70
70
|
Name: 'POURCENTAGE',
|
|
71
71
|
Id: 'FR57ZZZ878E61',
|
|
72
|
+
codeEtablissement: '16106',
|
|
73
|
+
codeGuichet: '01001',
|
|
74
|
+
numeroCompte: '96018269527',
|
|
75
|
+
cleRib: '65',
|
|
72
76
|
},
|
|
73
77
|
internalInvoicing: {
|
|
74
78
|
statut: 'SASU',
|
|
@@ -345,6 +349,10 @@ export const BrandPourcentage = [
|
|
|
345
349
|
BIC: 'AGRIFRPP861',
|
|
346
350
|
Name: 'SOFRAGECO',
|
|
347
351
|
Id: 'FR08ZZZ892C4F',
|
|
352
|
+
codeEtablissement: '16106',
|
|
353
|
+
codeGuichet: '01001',
|
|
354
|
+
numeroCompte: '96017036111',
|
|
355
|
+
cleRib: '54',
|
|
348
356
|
},
|
|
349
357
|
internalInvoicing: {
|
|
350
358
|
statut: 'SAS',
|
|
@@ -587,7 +595,7 @@ export const BrandPourcentage = [
|
|
|
587
595
|
montantCapital: '466 800',
|
|
588
596
|
nomRaisonSociale: 'AMEX',
|
|
589
597
|
ECName: 'M. Jean-Louis BOICHÉ',
|
|
590
|
-
ECOrderCity: '
|
|
598
|
+
ECOrderCity: 'Nice',
|
|
591
599
|
phone: '04 93 87 03 03',
|
|
592
600
|
postalAddress: '11, Boulevard Victor Hugo',
|
|
593
601
|
rcs: 'Nice B 882 255 094',
|
|
@@ -609,6 +617,10 @@ export const BrandPourcentage = [
|
|
|
609
617
|
BIC: 'AGRIFRPP861',
|
|
610
618
|
Name: 'AMEX',
|
|
611
619
|
Id: 'FR57ZZZ86ECE0',
|
|
620
|
+
codeEtablissement: '16106',
|
|
621
|
+
codeGuichet: '01001',
|
|
622
|
+
numeroCompte: '96026934238',
|
|
623
|
+
cleRib: '89',
|
|
612
624
|
},
|
|
613
625
|
internalInvoicing: {
|
|
614
626
|
statut: 'SARL',
|
|
@@ -628,6 +640,167 @@ export const BrandPourcentage = [
|
|
|
628
640
|
webmail: {
|
|
629
641
|
domain: '@pourcentage.fr',
|
|
630
642
|
},
|
|
643
|
+
salesContractConfig: [
|
|
644
|
+
// pour les pages statiques
|
|
645
|
+
{
|
|
646
|
+
label: 'Page d\'introduction',
|
|
647
|
+
name: 'page_intro',
|
|
648
|
+
needBgImage: true,
|
|
649
|
+
versionable: false,
|
|
650
|
+
idPrestationType: allPrestationsWithBrochure,
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
label: 'Page chiffres',
|
|
654
|
+
name: 'page_numbers',
|
|
655
|
+
needBgImage: true,
|
|
656
|
+
versionable: false,
|
|
657
|
+
idPrestationType: allPrestationsWithBrochure,
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
label: 'Page simplifié',
|
|
661
|
+
name: 'page_simplified',
|
|
662
|
+
needBgImage: true,
|
|
663
|
+
versionable: false,
|
|
664
|
+
idPrestationType: allPrestationsWithBrochure,
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
label: 'Détail de la lettre de mission',
|
|
668
|
+
name: 'page_detail_ldm',
|
|
669
|
+
needBgImage: false,
|
|
670
|
+
versionable: false,
|
|
671
|
+
idPrestationType: Object.values(PrestationDetail).filter(p => !p.isBack && !p.hidden && allPrestationsWithBrochure.includes(p.id!)).map(({ id }) => id), // Prestations non express
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
label: 'Détail de la lettre de mission (express)',
|
|
675
|
+
name: 'page_detail_ldm_back',
|
|
676
|
+
needBgImage: false,
|
|
677
|
+
versionable: false,
|
|
678
|
+
idPrestationType: Object.values(PrestationDetail).filter(p => p.isBack && !p.hidden && allPrestationsWithBrochure.includes(p.id!)).map(({ id }) => id), // Prestations express
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
label: 'Compta Pourcentage',
|
|
682
|
+
name: 'bloc_compta_pourcentage',
|
|
683
|
+
needBgImage: false,
|
|
684
|
+
versionable: false,
|
|
685
|
+
idPrestationType: [PrestationType.COMPTA_POURCENTAGE, PrestationType.COMPTA_POURCENTAGE_EXPRESS],
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
label: 'Compta Pourcentage sur mesure',
|
|
689
|
+
name: 'bloc_compta_pourcentage_sur_mesure',
|
|
690
|
+
needBgImage: false,
|
|
691
|
+
versionable: false,
|
|
692
|
+
idPrestationType: [],
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
label: 'Compta Pourcentage Premium',
|
|
696
|
+
name: 'bloc_compta_pourcentage_premium',
|
|
697
|
+
needBgImage: false,
|
|
698
|
+
versionable: false,
|
|
699
|
+
idPrestationType: [PrestationType.COMPTA_POURCENTAGE_PREMIUM, PrestationType.COMPTA_POURCENTAGE_PREMIUM_EXPRESS],
|
|
700
|
+
condition: (turnover: number): boolean => turnover < 1500000,
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
label: 'Compta Pourcentage Premium sur mesure',
|
|
704
|
+
name: 'bloc_compta_pourcentage_premium_sur_mesure',
|
|
705
|
+
needBgImage: false,
|
|
706
|
+
versionable: false,
|
|
707
|
+
idPrestationType: [PrestationType.COMPTA_POURCENTAGE_PREMIUM, PrestationType.COMPTA_POURCENTAGE_PREMIUM_EXPRESS],
|
|
708
|
+
condition: (turnover: number): boolean => turnover >= 1500000,
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
label: 'Forfait social',
|
|
712
|
+
name: 'bloc_social',
|
|
713
|
+
needBgImage: false,
|
|
714
|
+
versionable: true,
|
|
715
|
+
idPrestationType: allPrestationsWithBrochure.filter(p => p !== PrestationType.BILAN_PREVISIONNEL),
|
|
716
|
+
keyName: 'idPrestationSocial',
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
label: 'Forfait création société',
|
|
720
|
+
name: 'bloc_creation',
|
|
721
|
+
idPrestationType: allPrestationsWithBrochure.filter(p => p !== PrestationType.BILAN_PREVISIONNEL),
|
|
722
|
+
needBgImage: false,
|
|
723
|
+
versionable: true,
|
|
724
|
+
keyName: 'idPrestationCreation',
|
|
725
|
+
condition: (price: number): boolean => price === 500,
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
label: 'Forfait création société premium',
|
|
729
|
+
name: 'bloc_creation_premium',
|
|
730
|
+
idPrestationType: allPrestationsWithBrochure.filter(p => p !== PrestationType.BILAN_PREVISIONNEL),
|
|
731
|
+
needBgImage: false,
|
|
732
|
+
versionable: true,
|
|
733
|
+
keyName: 'idPrestationCreation',
|
|
734
|
+
condition: (price: number): boolean => price === 1000,
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
label: 'Forfait approbation des comptes annuels',
|
|
738
|
+
name: 'bloc_annual_accounts',
|
|
739
|
+
needBgImage: false,
|
|
740
|
+
idPrestationType: allPrestationsWithBrochure.filter(p => p !== PrestationType.BILAN_PREVISIONNEL),
|
|
741
|
+
versionable: true,
|
|
742
|
+
keyName: 'idPrestationJuridique',
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
label: 'Prise en charge de votre déclaration d\'impôts sur le revenu',
|
|
746
|
+
name: 'bloc_tax_return',
|
|
747
|
+
needBgImage: false,
|
|
748
|
+
idPrestationType: allPrestationsWithBrochure.filter(p => p !== PrestationType.BILAN_PREVISIONNEL),
|
|
749
|
+
versionable: true,
|
|
750
|
+
keyName: 'idPrestationDeclarationIR',
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
label: 'Accompagnement contrôle fiscal',
|
|
754
|
+
name: 'bloc_tax_audit',
|
|
755
|
+
needBgImage: false,
|
|
756
|
+
idPrestationType: allPrestationsWithBrochure.filter(p => p !== PrestationType.BILAN_PREVISIONNEL),
|
|
757
|
+
versionable: true,
|
|
758
|
+
keyName: 'idPrestationControleFiscal',
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
label: 'Bilan Prévisionnel',
|
|
762
|
+
name: 'bloc_bilan_previsionnel',
|
|
763
|
+
needBgImage: false,
|
|
764
|
+
idPrestationType: [PrestationType.CREATION_SOCIETE, PrestationType.BILAN_PREVISIONNEL],
|
|
765
|
+
versionable: true,
|
|
766
|
+
keyName: 'prestationOptions',
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
label: 'Signature',
|
|
770
|
+
name: 'bloc_sign',
|
|
771
|
+
needBgImage: false,
|
|
772
|
+
idPrestationType: allPrestationsWithBrochure,
|
|
773
|
+
versionable: false,
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
label: 'Conditions Générals de Vente (CGV) 1/2',
|
|
777
|
+
name: 'bloc_cgv_first',
|
|
778
|
+
needBgImage: false,
|
|
779
|
+
idPrestationType: allPrestationsWithBrochure,
|
|
780
|
+
versionable: false,
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
label: 'Conditions Générals de Vente (CGV) 2/2',
|
|
784
|
+
name: 'bloc_cgv_second',
|
|
785
|
+
needBgImage: false,
|
|
786
|
+
idPrestationType: allPrestationsWithBrochure,
|
|
787
|
+
versionable: false,
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
label: 'Mandat de prélèvement SEPA',
|
|
791
|
+
name: 'bloc_sepa',
|
|
792
|
+
needBgImage: false,
|
|
793
|
+
idPrestationType: allPrestationsWithBrochure,
|
|
794
|
+
versionable: false,
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
label: 'Pièces à nous envoyer',
|
|
798
|
+
name: 'bloc_send_files',
|
|
799
|
+
needBgImage: false,
|
|
800
|
+
idPrestationType: allPrestationsWithBrochure,
|
|
801
|
+
versionable: false,
|
|
802
|
+
},
|
|
803
|
+
],
|
|
631
804
|
},
|
|
632
805
|
{
|
|
633
806
|
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
|
];
|