@silexpert/core 1.1.247 → 1.1.249
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/BankAccount.d.ts +1 -1
- package/dist/cjs/api/resources/BankAccount.d.ts.map +1 -1
- package/dist/cjs/api/resources/BankAccount.js.map +1 -1
- package/dist/cjs/types/Enum/BrandLegalstart.d.ts +1 -0
- package/dist/cjs/types/Enum/BrandLegalstart.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BrandLegalstart.js +1 -0
- package/dist/cjs/types/Enum/BrandLegalstart.js.map +1 -1
- package/dist/cjs/types/Enum/BrandPourcentage.d.ts +3 -3
- package/dist/cjs/types/Enum/BrandPourcentage.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BrandPourcentage.js +6 -0
- package/dist/cjs/types/Enum/BrandPourcentage.js.map +1 -1
- package/dist/cjs/types/Enum/ConnectionError.js +1 -1
- package/dist/cjs/types/Enum/ConnectionError.js.map +1 -1
- package/dist/cjs/types/Enum/PartnerTransactionType.js +1 -1
- package/dist/cjs/types/Enum/PartnerTransactionType.js.map +1 -1
- package/dist/cjs/types/Enum/RoleDetail.js +4 -4
- package/dist/cjs/types/Enum/RoleDetail.js.map +1 -1
- package/dist/cjs/types/Interface/models/IFile.d.ts +2 -1
- package/dist/cjs/types/Interface/models/IFile.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IFile.js.map +1 -1
- package/dist/cjs/utils/vat/3517/century23.js +1 -1
- package/dist/cjs/utils/vat/3517/century23.js.map +1 -1
- package/dist/mjs/api/resources/BankAccount.d.ts +1 -1
- package/dist/mjs/api/resources/BankAccount.d.ts.map +1 -1
- package/dist/mjs/api/resources/BankAccount.js.map +1 -1
- package/dist/mjs/types/Enum/BrandLegalstart.d.ts +1 -0
- package/dist/mjs/types/Enum/BrandLegalstart.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BrandLegalstart.js +1 -0
- package/dist/mjs/types/Enum/BrandLegalstart.js.map +1 -1
- package/dist/mjs/types/Enum/BrandPourcentage.d.ts +3 -3
- package/dist/mjs/types/Enum/BrandPourcentage.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BrandPourcentage.js +6 -0
- package/dist/mjs/types/Enum/BrandPourcentage.js.map +1 -1
- package/dist/mjs/types/Enum/ConnectionError.js +1 -1
- package/dist/mjs/types/Enum/ConnectionError.js.map +1 -1
- package/dist/mjs/types/Enum/PartnerTransactionType.js +1 -1
- package/dist/mjs/types/Enum/PartnerTransactionType.js.map +1 -1
- package/dist/mjs/types/Enum/RoleDetail.js +4 -4
- package/dist/mjs/types/Enum/RoleDetail.js.map +1 -1
- package/dist/mjs/types/Interface/models/IFile.d.ts +2 -1
- package/dist/mjs/types/Interface/models/IFile.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IFile.js.map +1 -1
- package/dist/mjs/utils/vat/3517/century23.js +1 -1
- package/dist/mjs/utils/vat/3517/century23.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/BankAccount.ts +1 -1
- package/ts/types/Enum/BrandLegalstart.ts +1 -0
- package/ts/types/Enum/BrandPourcentage.ts +6 -0
- package/ts/types/Enum/ConnectionError.ts +1 -1
- package/ts/types/Enum/PartnerTransactionType.ts +1 -1
- package/ts/types/Enum/RoleDetail.ts +4 -4
- package/ts/types/Interface/models/IFile.ts +2 -1
- package/ts/utils/vat/3517/century23.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.249",
|
|
4
4
|
"description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
|
|
5
5
|
"homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -6,7 +6,7 @@ export class BankAccount extends Resource {
|
|
|
6
6
|
return this.axios.$get(`societies/${idSociety}/bank-accounts`, { params });
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
getAllExpiredBankAccount(): Promise<ReadExpiredBankAccount> {
|
|
9
|
+
getAllExpiredBankAccount(): Promise<ReadExpiredBankAccount[]> {
|
|
10
10
|
return this.axios.$get('societies/expired-bank-accounts');
|
|
11
11
|
}
|
|
12
12
|
|
|
@@ -24,6 +24,7 @@ export const BrandLegalstart = [
|
|
|
24
24
|
contact: 'contact@comptastartbyclementine.fr',
|
|
25
25
|
facturation: 'facturation@comptastartbyclementine.fr',
|
|
26
26
|
feedback: 'comptastart@comptastartbyclementine.fr',
|
|
27
|
+
gestion: 'gestion@comptastartbyclementine.fr',
|
|
27
28
|
juridique: 'juridique@comptastartbyclementine.fr',
|
|
28
29
|
informatique: 'informatique@comptastartbyclementine.fr',
|
|
29
30
|
msd: 'comptastart@comptastartbyclementine.fr',
|
|
@@ -312,6 +312,7 @@ export const BrandPourcentage = [
|
|
|
312
312
|
contact: 'contact@pourcentage.fr',
|
|
313
313
|
facturation: 'facturation@pourcentage.fr',
|
|
314
314
|
feedback: 'contact@pourcentage.fr',
|
|
315
|
+
gestion: 'gestion@pourcentage.fr',
|
|
315
316
|
juridique: 'juridique@pourcentage.fr',
|
|
316
317
|
informatique: 'contact@pourcentage.fr',
|
|
317
318
|
msd: 'contact@pourcentage.fr',
|
|
@@ -406,6 +407,7 @@ export const BrandPourcentage = [
|
|
|
406
407
|
// contact: 'contact@pourcentage.fr',
|
|
407
408
|
// facturation: 'facturation@pourcentage.fr',
|
|
408
409
|
// feedback: 'contact@pourcentage.fr',
|
|
410
|
+
// gestion: 'gestion@pourcentage.fr',
|
|
409
411
|
// juridique: 'juridique@pourcentage.fr',
|
|
410
412
|
// informatique: 'contact@pourcentage.fr',
|
|
411
413
|
// msd: 'contact@pourcentage.fr',
|
|
@@ -496,6 +498,7 @@ export const BrandPourcentage = [
|
|
|
496
498
|
// contact: 'contact@pourcentage.fr',
|
|
497
499
|
// facturation: 'facturation@pourcentage.fr',
|
|
498
500
|
// feedback: 'contact@pourcentage.fr',
|
|
501
|
+
// gestion: 'gestion@pourcentage.fr',
|
|
499
502
|
// juridique: 'juridique@pourcentage.fr',
|
|
500
503
|
// informatique: 'contact@pourcentage.fr',
|
|
501
504
|
// msd: 'contact@pourcentage.fr',
|
|
@@ -586,6 +589,7 @@ export const BrandPourcentage = [
|
|
|
586
589
|
contact: 'contact@pourcentage.fr',
|
|
587
590
|
facturation: 'facturation@pourcentage.fr',
|
|
588
591
|
feedback: 'contact@pourcentage.fr',
|
|
592
|
+
gestion: 'gestion@pourcentage.fr',
|
|
589
593
|
juridique: 'juridique@pourcentage.fr',
|
|
590
594
|
informatique: 'contact@pourcentage.fr',
|
|
591
595
|
msd: 'contact@pourcentage.fr',
|
|
@@ -843,6 +847,7 @@ export const BrandPourcentage = [
|
|
|
843
847
|
// contact: 'contact@pourcentage.fr',
|
|
844
848
|
// facturation: 'facturation@pourcentage.fr',
|
|
845
849
|
// feedback: 'contact@pourcentage.fr',
|
|
850
|
+
// gestion: 'gestion@pourcentage.fr',
|
|
846
851
|
// juridique: 'juridique@pourcentage.fr',
|
|
847
852
|
// informatique: 'contact@pourcentage.fr',
|
|
848
853
|
// msd: 'contact@pourcentage.fr',
|
|
@@ -933,6 +938,7 @@ export const BrandPourcentage = [
|
|
|
933
938
|
contact: 'contact@pourcentage.fr',
|
|
934
939
|
facturation: 'facturation@pourcentage.fr',
|
|
935
940
|
feedback: 'contact@pourcentage.fr',
|
|
941
|
+
gestion: 'gestion@pourcentage.fr',
|
|
936
942
|
juridique: 'juridique@pourcentage.fr',
|
|
937
943
|
informatique: 'contact@pourcentage.fr',
|
|
938
944
|
msd: 'contact@pourcentage.fr',
|
|
@@ -32,7 +32,7 @@ export const connectionErrors: ConnectionError[] = [
|
|
|
32
32
|
key: 'webauthRequired',
|
|
33
33
|
description: {
|
|
34
34
|
title: 'Une authentification est nécéssaire',
|
|
35
|
-
content: 'Votre banque demande une nouvelle authentification. Nous vous invitons
|
|
35
|
+
content: 'Votre banque demande une nouvelle authentification. Nous vous invitons à vous rendre sur la webview de notre partenaire afin de renouveler votre connexion auprès de votre banque.',
|
|
36
36
|
},
|
|
37
37
|
},
|
|
38
38
|
{
|
|
@@ -358,8 +358,8 @@ export const RoleDetail = {
|
|
|
358
358
|
ON_BOARDER: {
|
|
359
359
|
id: 50,
|
|
360
360
|
name: 'On boarder',
|
|
361
|
-
colorPrimary: '#
|
|
362
|
-
colorSecondary: '#
|
|
361
|
+
colorPrimary: '#8765D0',
|
|
362
|
+
colorSecondary: '#DED7F6',
|
|
363
363
|
handledInUserSocietyPermissionTable: false,
|
|
364
364
|
isService: true,
|
|
365
365
|
subRole: false,
|
|
@@ -367,8 +367,8 @@ export const RoleDetail = {
|
|
|
367
367
|
DATA_OFFICER: {
|
|
368
368
|
id: 51,
|
|
369
369
|
name: 'Data Officer',
|
|
370
|
-
colorPrimary: '#
|
|
371
|
-
colorSecondary: '#
|
|
370
|
+
colorPrimary: '#5894EF',
|
|
371
|
+
colorSecondary: '#DAEEFC',
|
|
372
372
|
handledInUserSocietyPermissionTable: false,
|
|
373
373
|
isService: true,
|
|
374
374
|
subRole: false,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IAttachmentFile } from './IAttachmentFile';
|
|
2
2
|
import { IFolderFile } from './IFolderFile';
|
|
3
3
|
import { IFileType } from './IFileType';
|
|
4
|
-
import { ICommercialMail } from '../..';
|
|
4
|
+
import { ICommercialMail, IMail } from '../..';
|
|
5
5
|
|
|
6
6
|
// files
|
|
7
7
|
export interface IFile {
|
|
@@ -19,4 +19,5 @@ export interface IFile {
|
|
|
19
19
|
folderFile?: IFolderFile;
|
|
20
20
|
fileType?: IFileType;
|
|
21
21
|
commercialMails?: ICommercialMail[];
|
|
22
|
+
mails?: IMail[];
|
|
22
23
|
}
|
|
@@ -38,7 +38,7 @@ export function getCerfa3517Century23Payload(accountingEntries: IAccountingEntry
|
|
|
38
38
|
const vatReducedRate2Dot1 = setZeroIfIsNegative(getAmountByAccountNumber(vatEntries.filter((ae) => ae.idVat === Vat.TX_2_1.id), taxedOperationsAccounts, 0, true));
|
|
39
39
|
|
|
40
40
|
const prestation2Entries = vatEntries.filter((ae) => intracomVat.includes(ae.idVat));
|
|
41
|
-
const presta2Accounts = ['604', '61', '62'];
|
|
41
|
+
const presta2Accounts = ['604', '61', '62', '607', '651', '601', '602']; // Ajout suite à la demande de Ben x Angelo
|
|
42
42
|
const prestation2Base = setZeroIfIsNegative(getAmountByAccountNumber(prestation2Entries, presta2Accounts, 0, true));
|
|
43
43
|
const prestation2AmountOfVat = setZeroIfIsNegative(getTaxAmountByAccountNumber(prestation2Entries, presta2Accounts));
|
|
44
44
|
|