@silexpert/core 1.1.384 → 1.1.386
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/JuridicalMission.d.ts +6 -0
- package/dist/cjs/api/resources/JuridicalMission.d.ts.map +1 -0
- package/dist/cjs/api/resources/JuridicalMission.js +11 -0
- package/dist/cjs/api/resources/JuridicalMission.js.map +1 -0
- package/dist/cjs/api/resources/PrestationComplementary.d.ts +7 -0
- package/dist/cjs/api/resources/PrestationComplementary.d.ts.map +1 -0
- package/dist/cjs/api/resources/PrestationComplementary.js +14 -0
- package/dist/cjs/api/resources/PrestationComplementary.js.map +1 -0
- package/dist/cjs/api/resources/ToDoExpress.d.ts +29 -0
- package/dist/cjs/api/resources/ToDoExpress.d.ts.map +1 -0
- package/dist/cjs/api/resources/ToDoExpress.js +36 -0
- package/dist/cjs/api/resources/ToDoExpress.js.map +1 -0
- package/dist/cjs/api/resources.d.ts +6 -0
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +6 -0
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/PrestationState.d.ts +15 -0
- package/dist/cjs/types/Enum/PrestationState.d.ts.map +1 -0
- package/dist/cjs/types/Enum/PrestationState.js +51 -0
- package/dist/cjs/types/Enum/PrestationState.js.map +1 -0
- package/dist/cjs/types/Interface/api/3cx/Query3cxMeeting.d.ts +0 -1
- package/dist/cjs/types/Interface/api/3cx/Query3cxMeeting.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/3cx/Query3cxMeeting.js +0 -6
- package/dist/cjs/types/Interface/api/3cx/Query3cxMeeting.js.map +1 -1
- package/dist/cjs/types/Interface/api/OnBoarding.d.ts +1 -1
- package/dist/cjs/types/Interface/api/OnBoarding.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/OnBoarding.js +2 -2
- package/dist/cjs/types/Interface/api/OnBoarding.js.map +1 -1
- package/dist/cjs/types/Interface/api/juridicalMission/Query.d.ts +13 -0
- package/dist/cjs/types/Interface/api/juridicalMission/Query.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/juridicalMission/Query.js +73 -0
- package/dist/cjs/types/Interface/api/juridicalMission/Query.js.map +1 -0
- package/dist/cjs/types/Interface/api/toDoExpress/Query.d.ts +32 -0
- package/dist/cjs/types/Interface/api/toDoExpress/Query.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/toDoExpress/Query.js +185 -0
- package/dist/cjs/types/Interface/api/toDoExpress/Query.js.map +1 -0
- package/dist/cjs/types/Interface/api/toDoExpress/Read.d.ts +18 -0
- package/dist/cjs/types/Interface/api/toDoExpress/Read.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/toDoExpress/Read.js +3 -0
- package/dist/cjs/types/Interface/api/toDoExpress/Read.js.map +1 -0
- package/dist/cjs/types/Interface/models/IChecklist.d.ts +2 -2
- package/dist/cjs/types/Interface/models/IChecklist.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IChecklist.js.map +1 -1
- package/dist/cjs/types/Interface/models/IExercice.d.ts +2 -0
- package/dist/cjs/types/Interface/models/IExercice.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IExercice.js.map +1 -1
- package/dist/cjs/types/Interface/models/IPrestationComplementaryHistory.d.ts +13 -0
- package/dist/cjs/types/Interface/models/IPrestationComplementaryHistory.d.ts.map +1 -0
- package/dist/cjs/types/Interface/models/IPrestationComplementaryHistory.js +3 -0
- package/dist/cjs/types/Interface/models/IPrestationComplementaryHistory.js.map +1 -0
- package/dist/cjs/types/index.d.ts +5 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +5 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/JuridicalMission.d.ts +6 -0
- package/dist/mjs/api/resources/JuridicalMission.d.ts.map +1 -0
- package/dist/mjs/api/resources/JuridicalMission.js +7 -0
- package/dist/mjs/api/resources/JuridicalMission.js.map +1 -0
- package/dist/mjs/api/resources/PrestationComplementary.d.ts +7 -0
- package/dist/mjs/api/resources/PrestationComplementary.d.ts.map +1 -0
- package/dist/mjs/api/resources/PrestationComplementary.js +10 -0
- package/dist/mjs/api/resources/PrestationComplementary.js.map +1 -0
- package/dist/mjs/api/resources/ToDoExpress.d.ts +29 -0
- package/dist/mjs/api/resources/ToDoExpress.d.ts.map +1 -0
- package/dist/mjs/api/resources/ToDoExpress.js +40 -0
- package/dist/mjs/api/resources/ToDoExpress.js.map +1 -0
- package/dist/mjs/api/resources.d.ts +6 -0
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +6 -0
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/PrestationState.d.ts +15 -0
- package/dist/mjs/types/Enum/PrestationState.d.ts.map +1 -0
- package/dist/mjs/types/Enum/PrestationState.js +48 -0
- package/dist/mjs/types/Enum/PrestationState.js.map +1 -0
- package/dist/mjs/types/Interface/api/3cx/Query3cxMeeting.d.ts +0 -1
- package/dist/mjs/types/Interface/api/3cx/Query3cxMeeting.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/3cx/Query3cxMeeting.js +0 -7
- package/dist/mjs/types/Interface/api/3cx/Query3cxMeeting.js.map +1 -1
- package/dist/mjs/types/Interface/api/OnBoarding.d.ts +1 -1
- package/dist/mjs/types/Interface/api/OnBoarding.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/OnBoarding.js +2 -2
- package/dist/mjs/types/Interface/api/OnBoarding.js.map +1 -1
- package/dist/mjs/types/Interface/api/juridicalMission/Query.d.ts +13 -0
- package/dist/mjs/types/Interface/api/juridicalMission/Query.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/juridicalMission/Query.js +78 -0
- package/dist/mjs/types/Interface/api/juridicalMission/Query.js.map +1 -0
- package/dist/mjs/types/Interface/api/toDoExpress/Query.d.ts +32 -0
- package/dist/mjs/types/Interface/api/toDoExpress/Query.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/toDoExpress/Query.js +206 -0
- package/dist/mjs/types/Interface/api/toDoExpress/Query.js.map +1 -0
- package/dist/mjs/types/Interface/api/toDoExpress/Read.d.ts +18 -0
- package/dist/mjs/types/Interface/api/toDoExpress/Read.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/toDoExpress/Read.js +2 -0
- package/dist/mjs/types/Interface/api/toDoExpress/Read.js.map +1 -0
- package/dist/mjs/types/Interface/models/IChecklist.d.ts +2 -2
- package/dist/mjs/types/Interface/models/IChecklist.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IChecklist.js.map +1 -1
- package/dist/mjs/types/Interface/models/IExercice.d.ts +2 -0
- package/dist/mjs/types/Interface/models/IExercice.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IExercice.js.map +1 -1
- package/dist/mjs/types/Interface/models/IPrestationComplementaryHistory.d.ts +13 -0
- package/dist/mjs/types/Interface/models/IPrestationComplementaryHistory.d.ts.map +1 -0
- package/dist/mjs/types/Interface/models/IPrestationComplementaryHistory.js +2 -0
- package/dist/mjs/types/Interface/models/IPrestationComplementaryHistory.js.map +1 -0
- package/dist/mjs/types/index.d.ts +5 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +5 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/JuridicalMission.ts +14 -0
- package/ts/api/resources/PrestationComplementary.ts +17 -0
- package/ts/api/resources/ToDoExpress.ts +44 -0
- package/ts/api/resources.ts +6 -0
- package/ts/types/Enum/PrestationState.ts +47 -0
- package/ts/types/Interface/api/3cx/Query3cxMeeting.ts +0 -5
- package/ts/types/Interface/api/OnBoarding.ts +2 -2
- package/ts/types/Interface/api/juridicalMission/Query.ts +51 -0
- package/ts/types/Interface/api/toDoExpress/Query.ts +144 -0
- package/ts/types/Interface/api/toDoExpress/Read.ts +11 -0
- package/ts/types/Interface/models/IChecklist.ts +2 -2
- package/ts/types/Interface/models/IExercice.ts +2 -0
- package/ts/types/Interface/models/IPrestationComplementaryHistory.ts +16 -0
- package/ts/types/index.ts +5 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { Resource } from '../Resource';
|
|
2
|
+
import { BasePaginate, IExercice, ISociety, QueryToDoExpressPaginated, QueryToDoExpressStats } from '../../types';
|
|
3
|
+
|
|
4
|
+
export class ToDoExpress extends Resource {
|
|
5
|
+
/**
|
|
6
|
+
* Retourne les société express sour format paginé
|
|
7
|
+
* @param { QueryToDoExpressPaginated } params
|
|
8
|
+
* @param { AbortSignal } signal
|
|
9
|
+
* @returns { Promise<BasePaginate<ISociety>> }
|
|
10
|
+
*/
|
|
11
|
+
getPaginated(params: QueryToDoExpressPaginated, signal?: AbortSignal): Promise<BasePaginate<ISociety>> {
|
|
12
|
+
return this.axios.$get('/express/todo', {
|
|
13
|
+
...(signal ? { signal } : {}),
|
|
14
|
+
params,
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Retourne les statistiques
|
|
20
|
+
* @param { QueryToDoExpressStats } params
|
|
21
|
+
* @param { AbortSignal } signal
|
|
22
|
+
* @returns { Promise<{ [key: string]: number }> }
|
|
23
|
+
*/
|
|
24
|
+
getStats(params: QueryToDoExpressStats, signal?: AbortSignal): Promise<{ [key: string]: number }> {
|
|
25
|
+
return this.axios.$get('/express/todo/stats', {
|
|
26
|
+
...(signal ? { signal } : {}),
|
|
27
|
+
params,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Retourne le détail pour un exercice donné
|
|
33
|
+
* @param { number } idSociety
|
|
34
|
+
* @param { number } idExercice
|
|
35
|
+
* @param { AbortSignal } signal
|
|
36
|
+
* @returns { Promise<IExercice> }
|
|
37
|
+
*/
|
|
38
|
+
getExercice(idSociety: number, idExercice: number, signal?: AbortSignal): Promise<IExercice> {
|
|
39
|
+
return this.axios.$get(`/express/todo/${idSociety}/exercice/${idExercice}`, {
|
|
40
|
+
...(signal ? { signal } : {}),
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
}
|
package/ts/api/resources.ts
CHANGED
|
@@ -164,6 +164,9 @@ import { UserSocietyPermission } from './resources/UserSocietyPermission';
|
|
|
164
164
|
import { BalanceSheetSupervision } from './resources/BalanceSheetSupervision';
|
|
165
165
|
import { CompanyCreationForm } from './resources/CompanyCreationForm';
|
|
166
166
|
import { BankConnection } from './resources/BankConnection';
|
|
167
|
+
import { ToDoExpress } from './resources/ToDoExpress';
|
|
168
|
+
import { JuridicalMission } from './resources/JuridicalMission';
|
|
169
|
+
import { PrestationComplementary } from './resources/PrestationComplementary';
|
|
167
170
|
|
|
168
171
|
export const resources = {
|
|
169
172
|
simulation: Simulation,
|
|
@@ -332,4 +335,7 @@ export const resources = {
|
|
|
332
335
|
companyCreationForm: CompanyCreationForm,
|
|
333
336
|
project: Project,
|
|
334
337
|
bankConnection: BankConnection,
|
|
338
|
+
toDoExpress: ToDoExpress,
|
|
339
|
+
juridicalMission: JuridicalMission,
|
|
340
|
+
prestationComplementary: PrestationComplementary,
|
|
335
341
|
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export enum JuridicalPrestationState {
|
|
2
|
+
TO_CONTACT_BILLING_TO_DO = 1,
|
|
3
|
+
WAITING_BALANCE_SHEET_LIQUI = 2,
|
|
4
|
+
DONE = 3,
|
|
5
|
+
WAITING_INFO_BILLING = 4,
|
|
6
|
+
WAITING_SIGNED_DOCUMENTS_AND_BILLING = 5,
|
|
7
|
+
WAITING_REGISTRATION = 6,
|
|
8
|
+
WAITING_KBIS = 8,
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export const JuridicalPrestationStateDetail = [
|
|
12
|
+
{
|
|
13
|
+
id: JuridicalPrestationState.TO_CONTACT_BILLING_TO_DO,
|
|
14
|
+
name: 'A contacter / facturation à faire',
|
|
15
|
+
color: 'grey lighten-4',
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
id: JuridicalPrestationState.WAITING_BALANCE_SHEET_LIQUI,
|
|
19
|
+
name: 'En attente bilan de liquidation',
|
|
20
|
+
color: 'primary',
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
id: JuridicalPrestationState.DONE,
|
|
24
|
+
name: 'Dossier terminé',
|
|
25
|
+
color: 'success',
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
id: JuridicalPrestationState.WAITING_INFO_BILLING,
|
|
29
|
+
name: 'En attente informations / paiement',
|
|
30
|
+
color: 'blue lighten-4',
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
id: JuridicalPrestationState.WAITING_SIGNED_DOCUMENTS_AND_BILLING,
|
|
34
|
+
name: 'En attente documents signés et paiements',
|
|
35
|
+
color: 'blue',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
id: JuridicalPrestationState.WAITING_REGISTRATION,
|
|
39
|
+
name: 'En attente enregistrement',
|
|
40
|
+
color: 'blue lighten-4',
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
id: JuridicalPrestationState.WAITING_KBIS,
|
|
44
|
+
name: 'En attente KBIS',
|
|
45
|
+
color: 'yellow lighten-4',
|
|
46
|
+
},
|
|
47
|
+
];
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { IsArray, IsDate, IsInt, IsOptional, IsString } from 'class-validator';
|
|
2
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
import { RequiredQueryPaginate } from '../BasePaginate';
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class QueryJuridicalMissionPaginated extends RequiredQueryPaginate {
|
|
7
|
+
@ApiPropertyOptional()
|
|
8
|
+
@IsOptional()
|
|
9
|
+
@IsInt()
|
|
10
|
+
idPrestation?: number;
|
|
11
|
+
|
|
12
|
+
@ApiPropertyOptional()
|
|
13
|
+
@IsOptional()
|
|
14
|
+
@IsString()
|
|
15
|
+
search?: string;
|
|
16
|
+
|
|
17
|
+
@ApiPropertyOptional()
|
|
18
|
+
@IsOptional()
|
|
19
|
+
@IsArray()
|
|
20
|
+
idUser?: number[];
|
|
21
|
+
|
|
22
|
+
@ApiPropertyOptional()
|
|
23
|
+
@IsOptional()
|
|
24
|
+
@IsArray()
|
|
25
|
+
idPrestationState?: number[];
|
|
26
|
+
|
|
27
|
+
@ApiPropertyOptional()
|
|
28
|
+
@IsOptional()
|
|
29
|
+
@IsInt()
|
|
30
|
+
idSocietyState?: number;
|
|
31
|
+
|
|
32
|
+
@ApiPropertyOptional()
|
|
33
|
+
@IsOptional()
|
|
34
|
+
@IsInt()
|
|
35
|
+
idBillingState?: number;
|
|
36
|
+
|
|
37
|
+
@ApiPropertyOptional()
|
|
38
|
+
@IsOptional()
|
|
39
|
+
@IsArray()
|
|
40
|
+
idPrestationList?: number[];
|
|
41
|
+
|
|
42
|
+
@ApiPropertyOptional()
|
|
43
|
+
@IsOptional()
|
|
44
|
+
@IsDate()
|
|
45
|
+
startDate?: Date;
|
|
46
|
+
|
|
47
|
+
@ApiPropertyOptional()
|
|
48
|
+
@IsOptional()
|
|
49
|
+
@IsDate()
|
|
50
|
+
endDate?: Date;
|
|
51
|
+
}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { IsArray, IsBoolean, IsDate, IsInt, IsOptional, IsString } from 'class-validator';
|
|
2
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
import { RequiredQueryPaginate } from '../BasePaginate';
|
|
4
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
5
|
+
|
|
6
|
+
export class QueryToDoExpressPaginated extends RequiredQueryPaginate {
|
|
7
|
+
@ApiPropertyOptional()
|
|
8
|
+
@IsOptional()
|
|
9
|
+
@IsString()
|
|
10
|
+
search?: string;
|
|
11
|
+
|
|
12
|
+
@ApiPropertyOptional()
|
|
13
|
+
@IsOptional()
|
|
14
|
+
@IsInt()
|
|
15
|
+
accountant?: number;
|
|
16
|
+
|
|
17
|
+
@ApiPropertyOptional()
|
|
18
|
+
@IsOptional()
|
|
19
|
+
@IsInt()
|
|
20
|
+
legalForm?: number;
|
|
21
|
+
|
|
22
|
+
@ApiPropertyOptional()
|
|
23
|
+
@IsOptional()
|
|
24
|
+
@IsDate()
|
|
25
|
+
arrivalDate?: Date;
|
|
26
|
+
|
|
27
|
+
@ApiPropertyOptional()
|
|
28
|
+
@IsOptional()
|
|
29
|
+
@IsArray()
|
|
30
|
+
turnoverMax?: number[];
|
|
31
|
+
|
|
32
|
+
@ApiPropertyOptional()
|
|
33
|
+
@IsOptional()
|
|
34
|
+
@IsBoolean()
|
|
35
|
+
@ToBoolean()
|
|
36
|
+
facturationState?: boolean;
|
|
37
|
+
|
|
38
|
+
@ApiPropertyOptional()
|
|
39
|
+
@IsOptional()
|
|
40
|
+
@IsInt()
|
|
41
|
+
onboardingState?: number;
|
|
42
|
+
|
|
43
|
+
@ApiPropertyOptional()
|
|
44
|
+
@IsOptional()
|
|
45
|
+
@IsBoolean()
|
|
46
|
+
@ToBoolean()
|
|
47
|
+
collectionState?: boolean;
|
|
48
|
+
|
|
49
|
+
@ApiPropertyOptional()
|
|
50
|
+
@IsOptional()
|
|
51
|
+
@IsArray()
|
|
52
|
+
notation?: number[];
|
|
53
|
+
|
|
54
|
+
@ApiPropertyOptional()
|
|
55
|
+
@IsOptional()
|
|
56
|
+
@IsArray()
|
|
57
|
+
review?: number[];
|
|
58
|
+
|
|
59
|
+
@ApiPropertyOptional()
|
|
60
|
+
@IsOptional()
|
|
61
|
+
@IsInt()
|
|
62
|
+
balanceSheetState?: number;
|
|
63
|
+
|
|
64
|
+
@ApiPropertyOptional()
|
|
65
|
+
@IsOptional()
|
|
66
|
+
@IsInt()
|
|
67
|
+
supervisionState?: number;
|
|
68
|
+
|
|
69
|
+
@ApiPropertyOptional()
|
|
70
|
+
@IsOptional()
|
|
71
|
+
@IsBoolean()
|
|
72
|
+
@ToBoolean()
|
|
73
|
+
planedState?: boolean;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export class QueryToDoExpressStats {
|
|
77
|
+
@ApiPropertyOptional()
|
|
78
|
+
@IsOptional()
|
|
79
|
+
@IsString()
|
|
80
|
+
search?: string;
|
|
81
|
+
|
|
82
|
+
@ApiPropertyOptional()
|
|
83
|
+
@IsOptional()
|
|
84
|
+
@IsInt()
|
|
85
|
+
accountant?: number;
|
|
86
|
+
|
|
87
|
+
@ApiPropertyOptional()
|
|
88
|
+
@IsOptional()
|
|
89
|
+
@IsInt()
|
|
90
|
+
legalForm?: number;
|
|
91
|
+
|
|
92
|
+
@ApiPropertyOptional()
|
|
93
|
+
@IsOptional()
|
|
94
|
+
@IsDate()
|
|
95
|
+
arrivalDate?: Date;
|
|
96
|
+
|
|
97
|
+
@ApiPropertyOptional()
|
|
98
|
+
@IsOptional()
|
|
99
|
+
@IsArray()
|
|
100
|
+
turnoverMax?: number[];
|
|
101
|
+
|
|
102
|
+
@ApiPropertyOptional()
|
|
103
|
+
@IsOptional()
|
|
104
|
+
@IsBoolean()
|
|
105
|
+
@ToBoolean()
|
|
106
|
+
facturationState?: boolean;
|
|
107
|
+
|
|
108
|
+
@ApiPropertyOptional()
|
|
109
|
+
@IsOptional()
|
|
110
|
+
@IsInt()
|
|
111
|
+
onboardingState?: number;
|
|
112
|
+
|
|
113
|
+
@ApiPropertyOptional()
|
|
114
|
+
@IsOptional()
|
|
115
|
+
@IsBoolean()
|
|
116
|
+
@ToBoolean()
|
|
117
|
+
collectionState?: boolean;
|
|
118
|
+
|
|
119
|
+
@ApiPropertyOptional()
|
|
120
|
+
@IsOptional()
|
|
121
|
+
@IsArray()
|
|
122
|
+
notation?: number[];
|
|
123
|
+
|
|
124
|
+
@ApiPropertyOptional()
|
|
125
|
+
@IsOptional()
|
|
126
|
+
@IsArray()
|
|
127
|
+
review?: number[];
|
|
128
|
+
|
|
129
|
+
@ApiPropertyOptional()
|
|
130
|
+
@IsOptional()
|
|
131
|
+
@IsInt()
|
|
132
|
+
balanceSheetState?: number;
|
|
133
|
+
|
|
134
|
+
@ApiPropertyOptional()
|
|
135
|
+
@IsOptional()
|
|
136
|
+
@IsInt()
|
|
137
|
+
supervisionState?: number;
|
|
138
|
+
|
|
139
|
+
@ApiPropertyOptional()
|
|
140
|
+
@IsOptional()
|
|
141
|
+
@IsBoolean()
|
|
142
|
+
@ToBoolean()
|
|
143
|
+
planedState?: boolean;
|
|
144
|
+
}
|
|
@@ -10,7 +10,7 @@ export interface IChecklist {
|
|
|
10
10
|
id?: number;
|
|
11
11
|
idUserFront: number | null;
|
|
12
12
|
revisionDate?: Date | null;
|
|
13
|
-
idUserWhoValidate
|
|
13
|
+
idUserWhoValidate?: number | null;
|
|
14
14
|
validateDate?: Date | null;
|
|
15
15
|
isConfirmed: boolean;
|
|
16
16
|
date: Date | null;
|
|
@@ -30,5 +30,5 @@ export interface IChecklist {
|
|
|
30
30
|
exercice?: IExercice;
|
|
31
31
|
checklistHasOneCustomerVat?: ICustomerVat;
|
|
32
32
|
mailRelation?: IMailRelation[];
|
|
33
|
-
userWhoValidate
|
|
33
|
+
userWhoValidate?: IUser;
|
|
34
34
|
}
|
|
@@ -13,6 +13,7 @@ import { IExerciceDetail } from './IExerciceDetail';
|
|
|
13
13
|
import { IBalanceSheetModule } from './IBalanceSheetModule';
|
|
14
14
|
import { IRegistration } from './IRegistration';
|
|
15
15
|
import { IComment } from './IComment';
|
|
16
|
+
import { IPayment } from './IPayment';
|
|
16
17
|
|
|
17
18
|
// exercices
|
|
18
19
|
export interface IExercice {
|
|
@@ -62,6 +63,7 @@ export interface IExercice {
|
|
|
62
63
|
society?: ISociety;
|
|
63
64
|
exerciceDetail?: IExerciceDetail;
|
|
64
65
|
exerciceBalanceSheetModule?: IBalanceSheetModule;
|
|
66
|
+
exercicePayments?: IPayment[];
|
|
65
67
|
registrations: IRegistration[];
|
|
66
68
|
comments?: IComment[];
|
|
67
69
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IPrestationComplementary } from './IPrestationComplementary';
|
|
2
|
+
import { IUser } from './IUser';
|
|
3
|
+
|
|
4
|
+
// prestationHistory
|
|
5
|
+
export interface IPrestationComplementaryHistory {
|
|
6
|
+
id?: number;
|
|
7
|
+
idStatePrestationJuridique: number;
|
|
8
|
+
idPrestationComplementary: number | null;
|
|
9
|
+
idUser: number | null;
|
|
10
|
+
createdAt?: Date | null;
|
|
11
|
+
updatedAt?: Date | null;
|
|
12
|
+
|
|
13
|
+
// Associations
|
|
14
|
+
prestationComplementary?: IPrestationComplementary;
|
|
15
|
+
user?: IUser;
|
|
16
|
+
}
|
package/ts/types/index.ts
CHANGED
|
@@ -133,6 +133,7 @@ export * from './Interface/models/IPhoneNumber';
|
|
|
133
133
|
export * from './Interface/models/IPhonePrefix';
|
|
134
134
|
export * from './Interface/models/IPhonePrefixChild';
|
|
135
135
|
export * from './Interface/models/IPrestationHistory';
|
|
136
|
+
export * from './Interface/models/IPrestationComplementaryHistory';
|
|
136
137
|
export * from './Interface/models/IPrestation';
|
|
137
138
|
export * from './Interface/models/IPrestationComplementary';
|
|
138
139
|
export * from './Interface/models/IPrestationList';
|
|
@@ -374,6 +375,7 @@ export * from './Enum/CityOfGreffe';
|
|
|
374
375
|
export * from './Enum/StatutsSection';
|
|
375
376
|
export * from './Enum/Contribution';
|
|
376
377
|
export * from './Enum/PrestationOption';
|
|
378
|
+
export * from './Enum/PrestationState';
|
|
377
379
|
export * from './Enum/TimeCounterType';
|
|
378
380
|
export * from './Enum/CustomerSignature';
|
|
379
381
|
export * from './Enum/MailAuto';
|
|
@@ -903,6 +905,7 @@ export * from './Interface/api/registration/UpdateRegistration';
|
|
|
903
905
|
export * from './Interface/api/registration/CreateRegistration';
|
|
904
906
|
export * from './Interface/api/journal/Journals';
|
|
905
907
|
export * from './Interface/api/journal/QueryJournal';
|
|
908
|
+
export * from './Interface/api/juridicalMission/Query';
|
|
906
909
|
export * from './Interface/api/registration/DeclareRegistration';
|
|
907
910
|
export * from './Interface/api/balanceSheet/ReadBalanceSheetTransaction';
|
|
908
911
|
export * from './Interface/api/balanceSheet/VatControl';
|
|
@@ -1096,6 +1099,8 @@ export * from './Interface/api/companyCreationForm/CreateCompanyCreationForm';
|
|
|
1096
1099
|
export * from './Interface/api/companyCreationForm/UpdateCompanyCreationForm';
|
|
1097
1100
|
export * from './Interface/api/companyCreationForm/CompanyCreationFormPayload';
|
|
1098
1101
|
export * from './Interface/api/sellsy/CreateInvoicesSellsy';
|
|
1102
|
+
export * from './Interface/api/toDoExpress/Query';
|
|
1103
|
+
export * from './Interface/api/toDoExpress/Read';
|
|
1099
1104
|
|
|
1100
1105
|
|
|
1101
1106
|
// Enums types
|