@silexpert/core 1.1.385 → 1.1.387
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.d.ts +4 -0
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +4 -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/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/terminationList/CreateTerminationList.js +2 -2
- package/dist/cjs/types/Interface/api/terminationList/CreateTerminationList.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 +3 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +3 -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.d.ts +4 -0
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +4 -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/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/terminationList/CreateTerminationList.js +2 -2
- package/dist/mjs/types/Interface/api/terminationList/CreateTerminationList.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 +3 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +3 -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.ts +4 -0
- package/ts/types/Enum/PrestationState.ts +47 -0
- package/ts/types/Interface/api/3cx/Query3cxMeeting.ts +0 -5
- package/ts/types/Interface/api/juridicalMission/Query.ts +51 -0
- package/ts/types/Interface/api/terminationList/CreateTerminationList.ts +2 -2
- package/ts/types/Interface/models/IPrestationComplementaryHistory.ts +16 -0
- package/ts/types/index.ts +3 -0
|
@@ -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
|
+
}
|
|
@@ -61,7 +61,7 @@ export class CreateTerminationList {
|
|
|
61
61
|
|
|
62
62
|
@ApiPropertyOptional()
|
|
63
63
|
@IsOptional()
|
|
64
|
-
@
|
|
64
|
+
@IsNumber()
|
|
65
65
|
refundAmount?: number;
|
|
66
66
|
|
|
67
67
|
@ApiPropertyOptional()
|
|
@@ -153,7 +153,7 @@ export class UpdateTerminationList {
|
|
|
153
153
|
|
|
154
154
|
@ApiPropertyOptional()
|
|
155
155
|
@IsOptional()
|
|
156
|
-
@
|
|
156
|
+
@IsNumber()
|
|
157
157
|
refundAmount?: number;
|
|
158
158
|
|
|
159
159
|
@ApiPropertyOptional()
|
|
@@ -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';
|