@silexpert/core 0.4.118 → 0.4.119
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/es/api/resources/AccountingIncome.d.ts +6 -0
- package/es/api/resources/AccountingIncome.d.ts.map +1 -0
- package/es/api/resources/AccountingIncome.js +7 -0
- package/es/api/resources/AccountingIncome.js.map +1 -0
- package/es/api/resources/BankStatement.d.ts +7 -0
- package/es/api/resources/BankStatement.d.ts.map +1 -0
- package/es/api/resources/BankStatement.js +15 -0
- package/es/api/resources/BankStatement.js.map +1 -0
- package/es/api/resources.d.ts +4 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +4 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/BalanceSheetQuestion.d.ts +122 -2
- package/es/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
- package/es/types/Enum/BalanceSheetQuestion.js +122 -0
- package/es/types/Enum/BalanceSheetQuestion.js.map +1 -1
- package/es/types/Enum/BrandClementine.d.ts +5 -0
- package/es/types/Enum/BrandClementine.d.ts.map +1 -1
- package/es/types/Enum/BrandClementine.js +5 -0
- package/es/types/Enum/BrandClementine.js.map +1 -1
- package/es/types/Enum/BrandComptalib.d.ts +2 -0
- package/es/types/Enum/BrandComptalib.d.ts.map +1 -1
- package/es/types/Enum/BrandComptalib.js +2 -0
- package/es/types/Enum/BrandComptalib.js.map +1 -1
- package/es/types/Enum/BrandLegalstart.d.ts +1 -0
- package/es/types/Enum/BrandLegalstart.d.ts.map +1 -1
- package/es/types/Enum/BrandLegalstart.js +1 -0
- package/es/types/Enum/BrandLegalstart.js.map +1 -1
- package/es/types/Enum/Ged.d.ts +2 -0
- package/es/types/Enum/Ged.d.ts.map +1 -1
- package/es/types/Enum/Ged.js +2 -1
- package/es/types/Enum/Ged.js.map +1 -1
- package/es/types/Enum/{MealExpenseTresholds.d.ts → MealExpenseThresholds.d.ts} +1 -1
- package/es/types/Enum/MealExpenseThresholds.d.ts.map +1 -0
- package/es/types/Enum/{MealExpenseTresholds.js → MealExpenseThresholds.js} +1 -1
- package/es/types/Enum/MealExpenseThresholds.js.map +1 -0
- package/es/types/Interface/api/accountingIncome/ReadAccountingIncome.d.ts +4 -0
- package/es/types/Interface/api/accountingIncome/ReadAccountingIncome.d.ts.map +1 -0
- package/es/types/Interface/api/accountingIncome/ReadAccountingIncome.js +2 -0
- package/es/types/Interface/api/accountingIncome/ReadAccountingIncome.js.map +1 -0
- package/es/types/Interface/api/bankStatement/QueryBankStatement.d.ts +6 -0
- package/es/types/Interface/api/bankStatement/QueryBankStatement.d.ts.map +1 -0
- package/es/types/Interface/api/bankStatement/QueryBankStatement.js +25 -0
- package/es/types/Interface/api/bankStatement/QueryBankStatement.js.map +1 -0
- package/es/types/Interface/api/bankStatement/QueryTransactionBankStatement.d.ts +9 -0
- package/es/types/Interface/api/bankStatement/QueryTransactionBankStatement.d.ts.map +1 -0
- package/es/types/Interface/api/bankStatement/QueryTransactionBankStatement.js +27 -0
- package/es/types/Interface/api/bankStatement/QueryTransactionBankStatement.js.map +1 -0
- package/es/types/Interface/api/bankStatement/ReadBankStatement.d.ts +6 -0
- package/es/types/Interface/api/bankStatement/ReadBankStatement.d.ts.map +1 -0
- package/es/types/Interface/api/bankStatement/ReadBankStatement.js +3 -0
- package/es/types/Interface/api/bankStatement/ReadBankStatement.js.map +1 -0
- package/es/types/Interface/api/ocr/OcrTransactions.d.ts +12 -0
- package/es/types/Interface/api/ocr/OcrTransactions.d.ts.map +1 -0
- package/es/types/Interface/api/ocr/OcrTransactions.js +33 -0
- package/es/types/Interface/api/ocr/OcrTransactions.js.map +1 -0
- package/es/types/Interface/api/ocr/OcrTypeTransactions.d.ts +7 -0
- package/es/types/Interface/api/ocr/OcrTypeTransactions.d.ts.map +1 -0
- package/es/types/Interface/api/ocr/OcrTypeTransactions.js +2 -0
- package/es/types/Interface/api/ocr/OcrTypeTransactions.js.map +1 -0
- package/es/types/index.d.ts +7 -1
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +7 -1
- package/es/types/index.js.map +1 -1
- package/js/api/resources/AccountingIncome.js +18 -0
- package/js/api/resources/AccountingIncome.js.map +1 -0
- package/js/api/resources/BankStatement.js +30 -0
- package/js/api/resources/BankStatement.js.map +1 -0
- package/js/api/resources.js +7 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/BalanceSheetQuestion.js +122 -0
- package/js/types/Enum/BalanceSheetQuestion.js.map +1 -1
- package/js/types/Enum/BrandClementine.js +7 -2
- package/js/types/Enum/BrandClementine.js.map +1 -1
- package/js/types/Enum/BrandComptalib.js +2 -0
- package/js/types/Enum/BrandComptalib.js.map +1 -1
- package/js/types/Enum/BrandLegalstart.js +1 -0
- package/js/types/Enum/BrandLegalstart.js.map +1 -1
- package/js/types/Enum/Ged.js +4 -3
- package/js/types/Enum/Ged.js.map +1 -1
- package/js/types/Enum/{MealExpenseTresholds.js → MealExpenseThresholds.js} +1 -1
- package/js/types/Enum/MealExpenseThresholds.js.map +1 -0
- package/js/types/Interface/api/accountingIncome/ReadAccountingIncome.js +6 -0
- package/js/types/Interface/api/accountingIncome/ReadAccountingIncome.js.map +1 -0
- package/js/types/Interface/api/bankStatement/QueryBankStatement.js +31 -0
- package/js/types/Interface/api/bankStatement/QueryBankStatement.js.map +1 -0
- package/js/types/Interface/api/bankStatement/QueryTransactionBankStatement.js +33 -0
- package/js/types/Interface/api/bankStatement/QueryTransactionBankStatement.js.map +1 -0
- package/js/types/Interface/api/bankStatement/ReadBankStatement.js +10 -0
- package/js/types/Interface/api/bankStatement/ReadBankStatement.js.map +1 -0
- package/js/types/Interface/api/ocr/OcrTransactions.js +37 -0
- package/js/types/Interface/api/ocr/OcrTransactions.js.map +1 -0
- package/js/types/Interface/api/ocr/OcrTypeTransactions.js +6 -0
- package/js/types/Interface/api/ocr/OcrTypeTransactions.js.map +1 -0
- package/js/types/index.js +75 -3
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/AccountingIncome.ts +8 -0
- package/ts/api/resources/BankStatement.ts +20 -0
- package/ts/api/resources.ts +4 -0
- package/ts/types/Enum/BalanceSheetQuestion.ts +192 -0
- package/ts/types/Enum/BrandClementine.ts +5 -0
- package/ts/types/Enum/BrandComptalib.ts +2 -0
- package/ts/types/Enum/BrandLegalstart.ts +1 -0
- package/ts/types/Enum/Ged.ts +2 -1
- package/ts/types/Interface/api/accountingIncome/ReadAccountingIncome.ts +3 -0
- package/ts/types/Interface/api/bankStatement/QueryBankStatement.ts +15 -0
- package/ts/types/Interface/api/bankStatement/QueryTransactionBankStatement.ts +15 -0
- package/ts/types/Interface/api/bankStatement/ReadBankStatement.ts +6 -0
- package/ts/types/Interface/api/ocr/OcrTransactions.ts +24 -0
- package/ts/types/Interface/api/ocr/OcrTypeTransactions.ts +6 -0
- package/ts/types/index.ts +7 -1
- package/es/types/Enum/MealExpenseTresholds.d.ts.map +0 -1
- package/es/types/Enum/MealExpenseTresholds.js.map +0 -1
- package/js/types/Enum/MealExpenseTresholds.js.map +0 -1
- /package/ts/types/Enum/{MealExpenseTresholds.ts → MealExpenseThresholds.ts} +0 -0
|
@@ -46,6 +46,7 @@ export const BrandClementine = [
|
|
|
46
46
|
logoUrl: 'logo-dark.svg',
|
|
47
47
|
miniLogoUrl: 'logo.svg',
|
|
48
48
|
hiddenPages: [],
|
|
49
|
+
urlApp: 'https://app.compta-clementine.fr',
|
|
49
50
|
urlExpert: 'https://expert.compta-clementine.fr',
|
|
50
51
|
urlClient: 'https://www.compta-clementine.fr',
|
|
51
52
|
},
|
|
@@ -81,6 +82,7 @@ export const BrandClementine = [
|
|
|
81
82
|
miniLogoUrl: 'logo-legalstart.svg',
|
|
82
83
|
hiddenPages: [],
|
|
83
84
|
recaptchaSecretKey: '6Le0o3kaAAAAAIEcSOib77JdK_W3cyIilK-p2yOG',
|
|
85
|
+
urlApp: 'https://gestion.legalstart.fr',
|
|
84
86
|
urlExpert: 'https://pro.comptalib.com',
|
|
85
87
|
urlClient: 'https://www.pourcentage.fr',
|
|
86
88
|
},
|
|
@@ -90,6 +92,7 @@ export const BrandClementine = [
|
|
|
90
92
|
colors: {
|
|
91
93
|
primary: '#24315e',
|
|
92
94
|
},
|
|
95
|
+
urlApp: 'https://app.compta-clementine.fr',
|
|
93
96
|
},
|
|
94
97
|
{
|
|
95
98
|
idTypeBrand: 4,
|
|
@@ -139,11 +142,13 @@ export const BrandClementine = [
|
|
|
139
142
|
miniLogoUrl: 'logo-pourcentage-mini.svg',
|
|
140
143
|
hiddenPages: [],
|
|
141
144
|
recaptchaSecretKey: '6Le0o3kaAAAAAIEcSOib77JdK_W3cyIilK-p2yOG', // TODO:
|
|
145
|
+
urlApp: 'https://app.comptalib.com/',
|
|
142
146
|
urlExpert: 'https://pro.comptalib.com',
|
|
143
147
|
urlClient: 'https://www.pourcentage.fr',
|
|
144
148
|
},
|
|
145
149
|
{
|
|
146
150
|
idTypeBrand: 5,
|
|
147
151
|
name: 'Kandbaz',
|
|
152
|
+
urlApp: 'https://app.compta-clementine.fr',
|
|
148
153
|
},
|
|
149
154
|
];
|
|
@@ -46,6 +46,7 @@ export const BrandComptalib = [
|
|
|
46
46
|
miniLogoUrl: 'logo-comptalib.svg',
|
|
47
47
|
hiddenPages: [],
|
|
48
48
|
recaptchaSecretKey: '6Le0o3kaAAAAAIEcSOib77JdK_W3cyIilK-p2yOG',
|
|
49
|
+
urlApp: 'https://app.comptalib.com/',
|
|
49
50
|
urlExpert: 'https://pro.comptalib.com',
|
|
50
51
|
urlClient: '',
|
|
51
52
|
},
|
|
@@ -97,6 +98,7 @@ export const BrandComptalib = [
|
|
|
97
98
|
miniLogoUrl: 'logo-pourcentage-mini.svg',
|
|
98
99
|
hiddenPages: [],
|
|
99
100
|
recaptchaSecretKey: '6Le0o3kaAAAAAIEcSOib77JdK_W3cyIilK-p2yOG',
|
|
101
|
+
urlApp: 'https://app.comptalib.com/',
|
|
100
102
|
urlExpert: 'https://pro.comptalib.com',
|
|
101
103
|
urlClient: 'https://www.pourcentage.fr',
|
|
102
104
|
},
|
|
@@ -46,6 +46,7 @@ export const BrandLegalstart = [
|
|
|
46
46
|
miniLogoUrl: 'logo-legalstart.svg',
|
|
47
47
|
hiddenPages: [],
|
|
48
48
|
recaptchaSecretKey: '6Le0o3kaAAAAAIEcSOib77JdK_W3cyIilK-p2yOG',
|
|
49
|
+
urlApp: 'https://gestion.legalstart.fr',
|
|
49
50
|
urlExpert: 'https://pro.comptalib.com',
|
|
50
51
|
urlClient: 'https://www.pourcentage.fr',
|
|
51
52
|
},
|
package/ts/types/Enum/Ged.ts
CHANGED
|
@@ -40,7 +40,7 @@ export enum GedFolder {
|
|
|
40
40
|
PARTNERS = 34,
|
|
41
41
|
// Incoming mails = 35,
|
|
42
42
|
OUTGOING_MAIL = 36,
|
|
43
|
-
|
|
43
|
+
BANK_STATEMENT = 37,
|
|
44
44
|
// Formalism = 38,
|
|
45
45
|
PENDING_POINTS = 39,
|
|
46
46
|
// Balance-GL Journals Year N-1 = 40
|
|
@@ -50,6 +50,7 @@ export enum GedFileType {
|
|
|
50
50
|
STATUTES = 1,
|
|
51
51
|
// 2,'Carte d\'identité'
|
|
52
52
|
KBIS = 3,
|
|
53
|
+
RIB = 4,
|
|
53
54
|
// 4,'RIB'
|
|
54
55
|
// 5,'Mémento Fiscal'
|
|
55
56
|
// 6,'SEPA'
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IsNotEmpty, IsNumber, IsOptional } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
|
|
4
|
+
export class UploadBankStatement {
|
|
5
|
+
@IsOptional()
|
|
6
|
+
@ApiPropertyOptional()
|
|
7
|
+
tokenCsv?: string;
|
|
8
|
+
|
|
9
|
+
@ApiProperty()
|
|
10
|
+
@IsNumber()
|
|
11
|
+
@IsNotEmpty()
|
|
12
|
+
idBankAccount: number;
|
|
13
|
+
|
|
14
|
+
file: File;
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IsNumber } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../..';
|
|
3
|
+
import { OcrTransactionDetails } from '../ocr/OcrTypeTransactions';
|
|
4
|
+
|
|
5
|
+
export class QueryTransactionBankStatement {
|
|
6
|
+
@ApiPropertyOptional()
|
|
7
|
+
accountingFile?: { id: number };
|
|
8
|
+
|
|
9
|
+
@ApiProperty()
|
|
10
|
+
transactions: OcrTransactionDetails[];
|
|
11
|
+
|
|
12
|
+
@ApiProperty()
|
|
13
|
+
@IsNumber()
|
|
14
|
+
idBankAccount?: number;
|
|
15
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { IsBoolean } from 'class-validator';
|
|
2
|
+
import { IFile } from '../../..';
|
|
3
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../..';
|
|
4
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
5
|
+
import { OcrTransactionDetails } from './OcrTypeTransactions';
|
|
6
|
+
|
|
7
|
+
export class OcrTransactions {
|
|
8
|
+
@ApiProperty()
|
|
9
|
+
accountingFile: {
|
|
10
|
+
id: number
|
|
11
|
+
file: Partial<IFile>
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
@ApiProperty()
|
|
15
|
+
transactions: OcrTransactionDetails[];
|
|
16
|
+
|
|
17
|
+
@ApiPropertyOptional()
|
|
18
|
+
idBankAccount: number;
|
|
19
|
+
|
|
20
|
+
@ToBoolean()
|
|
21
|
+
@IsBoolean()
|
|
22
|
+
@ApiProperty()
|
|
23
|
+
isPdf: boolean;
|
|
24
|
+
}
|
package/ts/types/index.ts
CHANGED
|
@@ -372,7 +372,7 @@ export * from './Enum/PartneredAccountantServiceState';
|
|
|
372
372
|
export * from './Enum/AccountsSectors';
|
|
373
373
|
export * from './Enum/ProductType';
|
|
374
374
|
export * from './Enum/Unit';
|
|
375
|
-
export * from './Enum/
|
|
375
|
+
export * from './Enum/MealExpenseThresholds';
|
|
376
376
|
export * from './Enum/MimeType';
|
|
377
377
|
export * from './Enum/BalanceSheetQuestion';
|
|
378
378
|
export * from './Enum/AnswerTypeValue';
|
|
@@ -453,6 +453,12 @@ export * from './Interface/api/internalInvoicing/CreateInternalInvoicing';
|
|
|
453
453
|
export * from './Interface/api/internalInvoicing/CreateInternalInvoicing2in';
|
|
454
454
|
export * from './Interface/api/exercice/QueryExercice';
|
|
455
455
|
export * from './Interface/api/exercice/CreateExercice';
|
|
456
|
+
export * from './Interface/api/accountingIncome/ReadAccountingIncome';
|
|
457
|
+
export * from './Interface/api/ocr/OcrTransactions';
|
|
458
|
+
export * from './Interface/api/bankStatement/QueryBankStatement';
|
|
459
|
+
export * from './Interface/api/bankStatement/QueryTransactionBankStatement';
|
|
460
|
+
export * from './Interface/api/ocr/OcrTypeTransactions';
|
|
461
|
+
export * from './Interface/api/bankStatement/ReadBankStatement';
|
|
456
462
|
|
|
457
463
|
// export * from './Interface/api/survey/QuerySurvey';
|
|
458
464
|
export * from './Interface/api/survey/ReadSurvey';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MealExpenseTresholds.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/MealExpenseTresholds.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sBAAsB;IACrC,CAAC,GAAG,EAAE,MAAM,GAAG;QACb,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;KACb,CAAA;CACF;AAED,eAAO,MAAM,qBAAqB,EAAE,sBASnC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MealExpenseTresholds.js","sourceRoot":"","sources":["../../../ts/types/Enum/MealExpenseTresholds.ts"],"names":[],"mappings":"AAOA,MAAM,CAAC,MAAM,qBAAqB,GAA2B;IAC3D,IAAI,EAAE;QACJ,GAAG,EAAE,IAAI;QACT,GAAG,EAAE,EAAE;KACR;IACD,IAAI,EAAE;QACJ,GAAG,EAAE,IAAI;QACT,GAAG,EAAE,KAAK;KACX;CACF,CAAC","sourcesContent":["export interface IMealExpenseThresholds {\n [key: string]: {\n min: number;\n max: number;\n }\n}\n\nexport const MealExpenseThresholds: IMealExpenseThresholds = {\n 2020: {\n min: 4.90,\n max: 19,\n },\n 2021: {\n min: 4.95,\n max: 19.10,\n },\n};"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../ts/types/Enum/MealExpenseTresholds.ts"],"names":[],"mappings":";;;;;AAOO,MAAM,qBAAqB,WAArB,qBAAqB,GAA2B;AAC3D,QAAM;AACJ,IAAA,GAAG,EAAE,IADD;AAEJ,IAAA,GAAG,EAAE;AAFD,GADqD;AAK3D,QAAM;AACJ,IAAA,GAAG,EAAE,IADD;AAEJ,IAAA,GAAG,EAAE;AAFD;AALqD,CAAtD","sourcesContent":["export interface IMealExpenseThresholds {\n [key: string]: {\n min: number;\n max: number;\n }\n}\n\nexport const MealExpenseThresholds: IMealExpenseThresholds = {\n 2020: {\n min: 4.90,\n max: 19,\n },\n 2021: {\n min: 4.95,\n max: 19.10,\n },\n};"],"sourceRoot":"","file":"MealExpenseTresholds.js"}
|
|
File without changes
|