@silexpert/core 1.3.129 → 1.3.130-0
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/BalanceSheetReport.d.ts +10 -0
- package/dist/cjs/api/resources/BalanceSheetReport.d.ts.map +1 -0
- package/dist/cjs/api/resources/BalanceSheetReport.js +23 -0
- package/dist/cjs/api/resources/BalanceSheetReport.js.map +1 -0
- package/dist/cjs/api/resources.d.ts +2 -0
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +2 -0
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.js +15 -8
- package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/cjs/types/Enum/SalesContractBrandClementine.d.ts.map +1 -1
- package/dist/cjs/types/Enum/SalesContractBrandClementine.js +22 -7
- package/dist/cjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheetReport/Query.d.ts +40 -0
- package/dist/cjs/types/Interface/api/balanceSheetReport/Query.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/balanceSheetReport/Query.js +207 -0
- package/dist/cjs/types/Interface/api/balanceSheetReport/Query.js.map +1 -0
- package/dist/cjs/types/Interface/models/IAttestation.d.ts +20 -18
- package/dist/cjs/types/Interface/models/IAttestation.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IAttestation.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/mjs/api/resources/BalanceSheetReport.d.ts +10 -0
- package/dist/mjs/api/resources/BalanceSheetReport.d.ts.map +1 -0
- package/dist/mjs/api/resources/BalanceSheetReport.js +22 -0
- package/dist/mjs/api/resources/BalanceSheetReport.js.map +1 -0
- package/dist/mjs/api/resources.d.ts +2 -0
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +2 -0
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.js +15 -8
- package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/mjs/types/Enum/SalesContractBrandClementine.d.ts.map +1 -1
- package/dist/mjs/types/Enum/SalesContractBrandClementine.js +22 -7
- package/dist/mjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheetReport/Query.d.ts +40 -0
- package/dist/mjs/types/Interface/api/balanceSheetReport/Query.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/balanceSheetReport/Query.js +200 -0
- package/dist/mjs/types/Interface/api/balanceSheetReport/Query.js.map +1 -0
- package/dist/mjs/types/Interface/models/IAttestation.d.ts +20 -18
- package/dist/mjs/types/Interface/models/IAttestation.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IAttestation.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/package.json +14 -14
- package/ts/api/resources/BalanceSheetReport.ts +36 -0
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/PrestationType.ts +15 -8
- package/ts/types/Enum/SalesContractBrandClementine.ts +22 -7
- package/ts/types/Interface/api/balanceSheetReport/Query.ts +160 -0
- package/ts/types/Interface/models/IAttestation.ts +20 -18
- package/ts/types/index.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.130-0",
|
|
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",
|
|
@@ -32,29 +32,29 @@
|
|
|
32
32
|
"author": "Silex",
|
|
33
33
|
"license": "ISC",
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@babel/cli": "^7.
|
|
36
|
-
"@babel/core": "^7.
|
|
37
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
38
|
-
"@babel/preset-env": "^7.
|
|
39
|
-
"@babel/runtime": "^7.
|
|
35
|
+
"@babel/cli": "^7.26.4",
|
|
36
|
+
"@babel/core": "^7.22.11",
|
|
37
|
+
"@babel/plugin-transform-runtime": "^7.22.10",
|
|
38
|
+
"@babel/preset-env": "^7.22.10",
|
|
39
|
+
"@babel/runtime": "^7.22.11",
|
|
40
40
|
"@types/bluebird": "^3.5.34",
|
|
41
41
|
"@types/browser-or-node": "^1.3.0",
|
|
42
42
|
"@types/ejs": "^3.0.6",
|
|
43
43
|
"@types/node": "^22.10.5",
|
|
44
|
-
"@types/validator": "^13.
|
|
45
|
-
"babel-plugin-replace-import-extension": "^1.1.
|
|
44
|
+
"@types/validator": "^13.11.1",
|
|
45
|
+
"babel-plugin-replace-import-extension": "^1.1.3",
|
|
46
46
|
"babel-preset-env": "^1.7.0",
|
|
47
|
-
"eslint": "^9.
|
|
47
|
+
"eslint": "^9.17.0",
|
|
48
48
|
"eslint-config-airbnb-typescript": "^18.0.0",
|
|
49
|
-
"eslint-config-prettier": "^
|
|
49
|
+
"eslint-config-prettier": "^9.1.0",
|
|
50
50
|
"husky": "^9.1.7",
|
|
51
|
-
"prettier": "^3.
|
|
51
|
+
"prettier": "^3.4.2",
|
|
52
52
|
"reflect-metadata": "^0.2.2",
|
|
53
53
|
"rimraf": "^6.0.1",
|
|
54
54
|
"standard-version": "^9.3.0",
|
|
55
55
|
"ts-node": "^10.9.2",
|
|
56
|
-
"typescript": "5.
|
|
57
|
-
"typescript-eslint": "^8.
|
|
56
|
+
"typescript": "5.8.2",
|
|
57
|
+
"typescript-eslint": "^8.19.1"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
60
|
"@babel/runtime": "^7.6.3",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"axios": "0.22.0",
|
|
69
69
|
"browser-or-node": "^3.0.0",
|
|
70
70
|
"class-transformer": "^0.5.1",
|
|
71
|
-
"class-validator": "^0.14.
|
|
71
|
+
"class-validator": "^0.14.0",
|
|
72
72
|
"dayjs": "^1.11.11",
|
|
73
73
|
"ejs": "^3.1.9",
|
|
74
74
|
"libphonenumber-js": "^1.12.10",
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BasePaginate,
|
|
3
|
+
IAttestation,
|
|
4
|
+
ParamsBalanceSheetReportGeneratePdf,
|
|
5
|
+
ParamsBalanceSheetReportCreate,
|
|
6
|
+
QueryBalanceSheetReportPaginated,
|
|
7
|
+
} from '../../types';
|
|
8
|
+
import { Resource } from '../Resource';
|
|
9
|
+
|
|
10
|
+
export class BalanceSheetReport extends Resource {
|
|
11
|
+
public getPaginated(
|
|
12
|
+
params: QueryBalanceSheetReportPaginated,
|
|
13
|
+
signal?: AbortSignal,
|
|
14
|
+
): Promise<BasePaginate<IAttestation>> {
|
|
15
|
+
return this.axios.$get('balance-sheets/reports/paginated', {
|
|
16
|
+
...(signal ? { signal } : {}),
|
|
17
|
+
params,
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
create(data: ParamsBalanceSheetReportCreate): Promise<number> {
|
|
22
|
+
return this.axios.$post('balance-sheets/reports', data);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
generatePdf(idReport: number, data: ParamsBalanceSheetReportGeneratePdf): Promise<IAttestation> {
|
|
26
|
+
return this.axios.$post(`balance-sheets/reports/${idReport}/pdf`, data);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
update(idReport: number, data: Partial<IAttestation>): Promise<IAttestation> {
|
|
30
|
+
return this.axios.$put(`balance-sheets/reports/${idReport}`, data);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
delete(idReport: number): Promise<number> {
|
|
34
|
+
return this.axios.$delete(`balance-sheets/reports/${idReport}`);
|
|
35
|
+
}
|
|
36
|
+
}
|
package/ts/api/resources.ts
CHANGED
|
@@ -182,6 +182,7 @@ import { Gdpr } from './resources/Gdpr';
|
|
|
182
182
|
import { Sellsy } from './resources/Sellsy';
|
|
183
183
|
import { BankDedup } from './resources/BankDedup';
|
|
184
184
|
import { StripePurchase } from './resources/StripePurchase';
|
|
185
|
+
import { BalanceSheetReport } from './resources/BalanceSheetReport';
|
|
185
186
|
|
|
186
187
|
export const resources = {
|
|
187
188
|
budgetInsight: BudgetInsight,
|
|
@@ -368,4 +369,5 @@ export const resources = {
|
|
|
368
369
|
caarl: Caarl,
|
|
369
370
|
gdpr: Gdpr,
|
|
370
371
|
StripePurchase: StripePurchase,
|
|
372
|
+
balanceSheetReport: BalanceSheetReport,
|
|
371
373
|
};
|
|
@@ -239,6 +239,13 @@ export const allPrestations2025WithBrochure = [
|
|
|
239
239
|
PrestationType.SOCIAL,
|
|
240
240
|
PrestationType.GESTION_JURIDIQUE,
|
|
241
241
|
PrestationType.CONSULTING_HOUR,
|
|
242
|
+
PrestationType.ATTESTATION_REMUNERATION,
|
|
243
|
+
PrestationType.ATTESTATION_NON_REMUNERATION,
|
|
244
|
+
PrestationType.ATTESTATION_CA,
|
|
245
|
+
PrestationType.ATTESTATION_COMPTE_COURANT,
|
|
246
|
+
PrestationType.ATTESTATION_MASSE_SALARIALE,
|
|
247
|
+
PrestationType.ATTESTATION_1,
|
|
248
|
+
PrestationType.ATTESTATION_NON_REMUNERATION_RECURRENTE,
|
|
242
249
|
];
|
|
243
250
|
|
|
244
251
|
export const ClementineSubscriptionAccountancyExpertPrestations: PrestationType[] = [
|
|
@@ -1750,7 +1757,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1750
1757
|
},
|
|
1751
1758
|
ATTESTATION_SALAIRE: {
|
|
1752
1759
|
id: 82,
|
|
1753
|
-
name: '
|
|
1760
|
+
name: 'Rapport de salaire',
|
|
1754
1761
|
isComptable: false,
|
|
1755
1762
|
isJuridique: false,
|
|
1756
1763
|
isSocial: true,
|
|
@@ -1978,7 +1985,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1978
1985
|
},
|
|
1979
1986
|
ATTESTATION_REMUNERATION: {
|
|
1980
1987
|
id: 95,
|
|
1981
|
-
name: '
|
|
1988
|
+
name: 'Rapport de rémunération',
|
|
1982
1989
|
isComptable: true,
|
|
1983
1990
|
isJuridique: false,
|
|
1984
1991
|
isSocial: false,
|
|
@@ -1998,7 +2005,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1998
2005
|
// FIXME: Doublon ?
|
|
1999
2006
|
ATTESTATION_NON_REMUNERATION: {
|
|
2000
2007
|
id: 96,
|
|
2001
|
-
name: '
|
|
2008
|
+
name: 'Rapport de non-rémunération',
|
|
2002
2009
|
isComptable: true,
|
|
2003
2010
|
isJuridique: false,
|
|
2004
2011
|
isSocial: false,
|
|
@@ -2017,7 +2024,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
2017
2024
|
},
|
|
2018
2025
|
ATTESTATION_CA: {
|
|
2019
2026
|
id: 97,
|
|
2020
|
-
name: "
|
|
2027
|
+
name: "Rapport de chiffre d'affaires",
|
|
2021
2028
|
isComptable: true,
|
|
2022
2029
|
isJuridique: false,
|
|
2023
2030
|
isSocial: false,
|
|
@@ -2036,7 +2043,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
2036
2043
|
},
|
|
2037
2044
|
ATTESTATION_COMPTE_COURANT: {
|
|
2038
2045
|
id: 98,
|
|
2039
|
-
name: '
|
|
2046
|
+
name: 'Rapport de compte-courant',
|
|
2040
2047
|
isComptable: true,
|
|
2041
2048
|
isJuridique: false,
|
|
2042
2049
|
isSocial: false,
|
|
@@ -2321,7 +2328,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
2321
2328
|
},
|
|
2322
2329
|
ATTESTATION_DE_SALAIRE_MALADIE: {
|
|
2323
2330
|
id: 116,
|
|
2324
|
-
name: '
|
|
2331
|
+
name: 'Rapport de salaire maladie',
|
|
2325
2332
|
isComptable: true,
|
|
2326
2333
|
isJuridique: false,
|
|
2327
2334
|
isSocial: false,
|
|
@@ -2549,7 +2556,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
2549
2556
|
},
|
|
2550
2557
|
ATTESTATION_MASSE_SALARIALE: {
|
|
2551
2558
|
id: 128,
|
|
2552
|
-
name: '
|
|
2559
|
+
name: 'Rapport de masse salariale',
|
|
2553
2560
|
isComptable: true,
|
|
2554
2561
|
isJuridique: false,
|
|
2555
2562
|
isSocial: false,
|
|
@@ -3195,7 +3202,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3195
3202
|
},
|
|
3196
3203
|
ATTESTATION_NON_REMUNERATION_RECURRENTE: {
|
|
3197
3204
|
id: 200,
|
|
3198
|
-
name: '
|
|
3205
|
+
name: 'Rapport non remunération recurrente',
|
|
3199
3206
|
isComptable: true,
|
|
3200
3207
|
isJuridique: false,
|
|
3201
3208
|
isSocial: false,
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
|
|
9
9
|
export const SalesContractClementine: SaleContract[] = [
|
|
10
10
|
{
|
|
11
|
-
label:
|
|
11
|
+
label: "Page d'introduction",
|
|
12
12
|
name: 'page_intro',
|
|
13
13
|
needBgImage: true,
|
|
14
14
|
versionable: false,
|
|
15
15
|
idPrestationType: allPrestationsWithBrochure,
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
|
-
label:
|
|
18
|
+
label: "Page d'introduction 2025",
|
|
19
19
|
name: 'page_intro_2025',
|
|
20
20
|
needBgImage: true,
|
|
21
21
|
versionable: false,
|
|
@@ -170,6 +170,21 @@ export const SalesContractClementine: SaleContract[] = [
|
|
|
170
170
|
idPrestationType: [PrestationType.GESTION_IMMO],
|
|
171
171
|
versionable: false,
|
|
172
172
|
},
|
|
173
|
+
{
|
|
174
|
+
label: 'Rapport 2025',
|
|
175
|
+
name: 'bloc_rapport_2025',
|
|
176
|
+
needBgImage: false,
|
|
177
|
+
idPrestationType: [
|
|
178
|
+
PrestationType.ATTESTATION_REMUNERATION,
|
|
179
|
+
PrestationType.ATTESTATION_NON_REMUNERATION,
|
|
180
|
+
PrestationType.ATTESTATION_CA,
|
|
181
|
+
PrestationType.ATTESTATION_COMPTE_COURANT,
|
|
182
|
+
PrestationType.ATTESTATION_MASSE_SALARIALE,
|
|
183
|
+
PrestationType.ATTESTATION_1,
|
|
184
|
+
PrestationType.ATTESTATION_NON_REMUNERATION_RECURRENTE,
|
|
185
|
+
],
|
|
186
|
+
versionable: false,
|
|
187
|
+
},
|
|
173
188
|
{
|
|
174
189
|
label: 'Page simplifié',
|
|
175
190
|
name: 'page_simplified',
|
|
@@ -267,7 +282,7 @@ export const SalesContractClementine: SaleContract[] = [
|
|
|
267
282
|
keyName: 'idPrestationCreation',
|
|
268
283
|
},
|
|
269
284
|
{
|
|
270
|
-
label:
|
|
285
|
+
label: "Forfait création société (Création d'entreprise gratuite)",
|
|
271
286
|
name: 'bloc_creation_free',
|
|
272
287
|
idPrestationType: [PrestationType.COMPTA_MICRO, PrestationType.COMPTA_MICRO_EXPRESS],
|
|
273
288
|
needBgImage: false,
|
|
@@ -297,7 +312,7 @@ export const SalesContractClementine: SaleContract[] = [
|
|
|
297
312
|
keyName: 'idPrestationJuridique',
|
|
298
313
|
},
|
|
299
314
|
{
|
|
300
|
-
label:
|
|
315
|
+
label: "Prise en charge de votre déclaration d'impôts sur le revenu",
|
|
301
316
|
name: 'bloc_tax_return',
|
|
302
317
|
needBgImage: false,
|
|
303
318
|
idPrestationType: [],
|
|
@@ -403,7 +418,7 @@ export const SalesContractClementine: SaleContract[] = [
|
|
|
403
418
|
export const SalesContractKlems: SaleContract[] = [
|
|
404
419
|
// pour les pages statiques
|
|
405
420
|
{
|
|
406
|
-
label:
|
|
421
|
+
label: "Page d'introduction",
|
|
407
422
|
name: 'page_intro',
|
|
408
423
|
needBgImage: true,
|
|
409
424
|
versionable: false,
|
|
@@ -536,7 +551,7 @@ export const SalesContractKlems: SaleContract[] = [
|
|
|
536
551
|
keyName: 'idPrestationSocial',
|
|
537
552
|
},
|
|
538
553
|
{
|
|
539
|
-
label:
|
|
554
|
+
label: "Forfait Création d'entreprise (TTC)",
|
|
540
555
|
name: 'bloc_creation_entreprise_ttc',
|
|
541
556
|
idPrestationType: [
|
|
542
557
|
PrestationType.SOCIAL,
|
|
@@ -550,7 +565,7 @@ export const SalesContractKlems: SaleContract[] = [
|
|
|
550
565
|
keyName: 'idPrestationCreation',
|
|
551
566
|
},
|
|
552
567
|
{
|
|
553
|
-
label:
|
|
568
|
+
label: "Forfait Création d'entreprise (HT)",
|
|
554
569
|
name: 'bloc_creation_entreprise_ht',
|
|
555
570
|
idPrestationType: [PrestationType.COMPTA_EI_KLEMS, PrestationType.COMPTA_EI_KLEMS_EXPRESS],
|
|
556
571
|
needBgImage: false,
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { IsBoolean, IsDate, IsInt, IsOptional, IsString } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
|
+
import { RequiredQueryPaginate } from '../BasePaginate';
|
|
5
|
+
|
|
6
|
+
export class QueryBalanceSheetReportPaginated extends RequiredQueryPaginate {
|
|
7
|
+
@ApiPropertyOptional()
|
|
8
|
+
@IsOptional()
|
|
9
|
+
@IsString()
|
|
10
|
+
declare search?: string;
|
|
11
|
+
|
|
12
|
+
@ApiPropertyOptional()
|
|
13
|
+
@IsOptional()
|
|
14
|
+
@IsBoolean()
|
|
15
|
+
@ToBoolean()
|
|
16
|
+
declare signed?: boolean;
|
|
17
|
+
|
|
18
|
+
@ApiPropertyOptional()
|
|
19
|
+
@IsOptional()
|
|
20
|
+
@IsInt()
|
|
21
|
+
declare factured?: number;
|
|
22
|
+
|
|
23
|
+
@ApiPropertyOptional()
|
|
24
|
+
@IsOptional()
|
|
25
|
+
@IsInt()
|
|
26
|
+
declare idSupervisor?: number;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export class ParamsBalanceSheetReportCreate {
|
|
30
|
+
@ApiProperty()
|
|
31
|
+
@IsInt()
|
|
32
|
+
declare idSociety: number;
|
|
33
|
+
|
|
34
|
+
@ApiProperty()
|
|
35
|
+
@IsInt()
|
|
36
|
+
declare idExercice: number;
|
|
37
|
+
|
|
38
|
+
@ApiProperty()
|
|
39
|
+
@IsInt()
|
|
40
|
+
declare idPrestationList: number;
|
|
41
|
+
|
|
42
|
+
@ApiProperty()
|
|
43
|
+
@IsInt()
|
|
44
|
+
declare idSupervisor: number;
|
|
45
|
+
|
|
46
|
+
@ApiProperty()
|
|
47
|
+
@IsInt()
|
|
48
|
+
declare price: number;
|
|
49
|
+
|
|
50
|
+
@ApiProperty()
|
|
51
|
+
@IsBoolean()
|
|
52
|
+
@ToBoolean()
|
|
53
|
+
declare annoted: boolean;
|
|
54
|
+
|
|
55
|
+
@ApiProperty()
|
|
56
|
+
@IsInt()
|
|
57
|
+
declare factured: number;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export class ParamsBalanceSheetReportGeneratePdf {
|
|
61
|
+
@ApiProperty()
|
|
62
|
+
@IsBoolean()
|
|
63
|
+
@ToBoolean()
|
|
64
|
+
declare isSigned: boolean;
|
|
65
|
+
|
|
66
|
+
@ApiPropertyOptional()
|
|
67
|
+
@IsOptional()
|
|
68
|
+
@IsString()
|
|
69
|
+
declare comment?: string;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export class ParamsBalanceSheetReportUpdate {
|
|
73
|
+
@ApiPropertyOptional()
|
|
74
|
+
@IsOptional()
|
|
75
|
+
@IsInt()
|
|
76
|
+
declare price?: number;
|
|
77
|
+
|
|
78
|
+
@ApiPropertyOptional()
|
|
79
|
+
@IsOptional()
|
|
80
|
+
@IsInt()
|
|
81
|
+
declare idPrestationList?: number;
|
|
82
|
+
|
|
83
|
+
@ApiPropertyOptional()
|
|
84
|
+
@IsOptional()
|
|
85
|
+
@IsInt()
|
|
86
|
+
declare idExercice?: number;
|
|
87
|
+
|
|
88
|
+
@ApiPropertyOptional()
|
|
89
|
+
@IsOptional()
|
|
90
|
+
@IsInt()
|
|
91
|
+
declare idSociety?: number;
|
|
92
|
+
|
|
93
|
+
@ApiPropertyOptional()
|
|
94
|
+
@IsOptional()
|
|
95
|
+
@IsInt()
|
|
96
|
+
declare idSupervisor?: number;
|
|
97
|
+
|
|
98
|
+
@ApiPropertyOptional()
|
|
99
|
+
@IsOptional()
|
|
100
|
+
@IsInt()
|
|
101
|
+
declare idUserDemand?: number;
|
|
102
|
+
|
|
103
|
+
@ApiPropertyOptional()
|
|
104
|
+
@IsOptional()
|
|
105
|
+
@IsInt()
|
|
106
|
+
declare idPaymentExpectation?: number;
|
|
107
|
+
|
|
108
|
+
@ApiPropertyOptional()
|
|
109
|
+
@IsOptional()
|
|
110
|
+
@IsInt()
|
|
111
|
+
declare idFile?: number;
|
|
112
|
+
|
|
113
|
+
@ApiPropertyOptional()
|
|
114
|
+
@IsOptional()
|
|
115
|
+
@IsInt()
|
|
116
|
+
declare idGedFile?: number;
|
|
117
|
+
|
|
118
|
+
@ApiPropertyOptional()
|
|
119
|
+
@IsOptional()
|
|
120
|
+
@IsBoolean()
|
|
121
|
+
@ToBoolean()
|
|
122
|
+
declare annoted?: boolean;
|
|
123
|
+
|
|
124
|
+
@ApiPropertyOptional()
|
|
125
|
+
@IsOptional()
|
|
126
|
+
@IsInt()
|
|
127
|
+
declare factured?: number;
|
|
128
|
+
|
|
129
|
+
@ApiPropertyOptional()
|
|
130
|
+
@IsOptional()
|
|
131
|
+
@IsDate()
|
|
132
|
+
declare sendDate?: Date;
|
|
133
|
+
|
|
134
|
+
@ApiPropertyOptional()
|
|
135
|
+
@IsOptional()
|
|
136
|
+
@IsString()
|
|
137
|
+
declare textPdf?: string;
|
|
138
|
+
|
|
139
|
+
@ApiPropertyOptional()
|
|
140
|
+
@IsOptional()
|
|
141
|
+
@IsBoolean()
|
|
142
|
+
@ToBoolean()
|
|
143
|
+
declare isSign?: boolean;
|
|
144
|
+
|
|
145
|
+
@ApiPropertyOptional()
|
|
146
|
+
@IsOptional()
|
|
147
|
+
@IsBoolean()
|
|
148
|
+
@ToBoolean()
|
|
149
|
+
declare done?: boolean;
|
|
150
|
+
|
|
151
|
+
@ApiPropertyOptional()
|
|
152
|
+
@IsOptional()
|
|
153
|
+
@IsInt()
|
|
154
|
+
declare idMailValidation?: number;
|
|
155
|
+
|
|
156
|
+
@ApiPropertyOptional()
|
|
157
|
+
@IsOptional()
|
|
158
|
+
@IsInt()
|
|
159
|
+
declare idMailPayment?: number;
|
|
160
|
+
}
|
|
@@ -14,27 +14,29 @@ export interface IAttestation {
|
|
|
14
14
|
idExercice: number | null;
|
|
15
15
|
idSociety: number | null;
|
|
16
16
|
idSupervisor: number | null;
|
|
17
|
-
idUserDemand
|
|
18
|
-
idPaymentExpectation
|
|
19
|
-
idFile
|
|
17
|
+
idUserDemand?: number | null;
|
|
18
|
+
idPaymentExpectation?: number | null;
|
|
19
|
+
idFile?: number | null;
|
|
20
20
|
annoted: boolean;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
factured: number;
|
|
22
|
+
sendDate?: Date | null;
|
|
23
|
+
textPdf?: string | null;
|
|
24
|
+
isSign?: boolean | null;
|
|
25
|
+
done?: boolean | null;
|
|
26
|
+
idMailPayment?: number | null;
|
|
27
|
+
idMailValidation?: number | null;
|
|
28
|
+
fileLink?: string;
|
|
27
29
|
createdAt?: Date | null;
|
|
28
30
|
updatedAt?: Date | null;
|
|
29
31
|
|
|
30
32
|
// Associations
|
|
31
|
-
attestationSupervisor
|
|
32
|
-
attestationUserDemand
|
|
33
|
-
prestationsList
|
|
34
|
-
attestationPaymentExpectation
|
|
35
|
-
attestationFiles
|
|
36
|
-
society
|
|
37
|
-
exercices
|
|
38
|
-
paymentMail
|
|
39
|
-
validationMail
|
|
33
|
+
attestationSupervisor?: IUser | null;
|
|
34
|
+
attestationUserDemand?: IUser | null;
|
|
35
|
+
prestationsList?: IPrestationList;
|
|
36
|
+
attestationPaymentExpectation?: IPaymentExpectation | null;
|
|
37
|
+
attestationFiles?: IFile | null;
|
|
38
|
+
society?: ISociety | null;
|
|
39
|
+
exercices?: IExercice | null;
|
|
40
|
+
paymentMail?: IMail | null;
|
|
41
|
+
validationMail?: IMail | null;
|
|
40
42
|
}
|
package/ts/types/index.ts
CHANGED
|
@@ -827,6 +827,7 @@ export * from './Interface/api/pappers/CreatePappers';
|
|
|
827
827
|
export * from './Interface/api/bankAccount/Query';
|
|
828
828
|
export * from './Interface/api/bankAccount/Update';
|
|
829
829
|
export * from './Interface/api/stripe/QueryStripe';
|
|
830
|
+
export * from './Interface/api/balanceSheetReport/Query';
|
|
830
831
|
export * from './Interface/api/supervision/Query';
|
|
831
832
|
export * from './Interface/api/supervision/Read';
|
|
832
833
|
export * from './Interface/api/salariesFile/ReadSalariesFile';
|