@silexpert/core 1.1.366 → 1.1.367
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/Card.d.ts +8 -3
- package/dist/cjs/api/resources/Card.d.ts.map +1 -1
- package/dist/cjs/api/resources/Card.js +10 -1
- package/dist/cjs/api/resources/Card.js.map +1 -1
- package/dist/cjs/types/Enum/AutomaticRegistration.d.ts +5 -0
- package/dist/cjs/types/Enum/AutomaticRegistration.d.ts.map +1 -0
- package/dist/cjs/types/Enum/AutomaticRegistration.js +9 -0
- package/dist/cjs/types/Enum/AutomaticRegistration.js.map +1 -0
- package/dist/cjs/types/Enum/Card.d.ts +1 -1
- package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Card.js.map +1 -1
- package/dist/cjs/types/Enum/Consistency.js +2 -2
- package/dist/cjs/types/Enum/Consistency.js.map +1 -1
- package/dist/cjs/types/Enum/StockType.d.ts +1 -0
- package/dist/cjs/types/Enum/StockType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/StockType.js +1 -0
- package/dist/cjs/types/Enum/StockType.js.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +2 -1
- package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +1 -0
- package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
- package/dist/cjs/types/Interface/api/card/ModifyPlanning.d.ts +13 -0
- package/dist/cjs/types/Interface/api/card/ModifyPlanning.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/card/ModifyPlanning.js +61 -0
- package/dist/cjs/types/Interface/api/card/ModifyPlanning.js.map +1 -0
- package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts +8 -3
- package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/card/QueryUserCards.js +23 -3
- package/dist/cjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
- package/dist/cjs/types/Interface/api/card/QueryUserCardsStats.d.ts +2 -1
- package/dist/cjs/types/Interface/api/card/QueryUserCardsStats.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/card/QueryUserCardsStats.js +8 -1
- package/dist/cjs/types/Interface/api/card/QueryUserCardsStats.js.map +1 -1
- package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts +2 -0
- package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js +12 -0
- package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js.map +1 -1
- package/dist/cjs/types/Interface/api/registration/DeclareRegistration.d.ts +6 -1
- package/dist/cjs/types/Interface/api/registration/DeclareRegistration.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/registration/DeclareRegistration.js +23 -1
- package/dist/cjs/types/Interface/api/registration/DeclareRegistration.js.map +1 -1
- package/dist/cjs/types/Interface/api/terminationList/DestroyTerminationList.d.ts +2 -1
- package/dist/cjs/types/Interface/api/terminationList/DestroyTerminationList.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/terminationList/DestroyTerminationList.js +8 -1
- package/dist/cjs/types/Interface/api/terminationList/DestroyTerminationList.js.map +1 -1
- package/dist/cjs/types/Interface/models/IAutomaticRegistration.d.ts +14 -0
- package/dist/cjs/types/Interface/models/IAutomaticRegistration.d.ts.map +1 -0
- package/dist/cjs/types/Interface/models/IAutomaticRegistration.js +3 -0
- package/dist/cjs/types/Interface/models/IAutomaticRegistration.js.map +1 -0
- package/dist/cjs/types/Interface/models/ICard.d.ts +4 -1
- package/dist/cjs/types/Interface/models/ICard.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ICard.js.map +1 -1
- package/dist/cjs/types/Interface/models/ICardHistory.d.ts +4 -1
- package/dist/cjs/types/Interface/models/ICardHistory.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ICardHistory.js.map +1 -1
- package/dist/cjs/types/index.d.ts +2 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +2 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/Card.d.ts +8 -3
- package/dist/mjs/api/resources/Card.d.ts.map +1 -1
- package/dist/mjs/api/resources/Card.js +10 -1
- package/dist/mjs/api/resources/Card.js.map +1 -1
- package/dist/mjs/types/Enum/AutomaticRegistration.d.ts +5 -0
- package/dist/mjs/types/Enum/AutomaticRegistration.d.ts.map +1 -0
- package/dist/mjs/types/Enum/AutomaticRegistration.js +6 -0
- package/dist/mjs/types/Enum/AutomaticRegistration.js.map +1 -0
- package/dist/mjs/types/Enum/Card.d.ts +1 -1
- package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Card.js.map +1 -1
- package/dist/mjs/types/Enum/Consistency.js +2 -2
- package/dist/mjs/types/Enum/Consistency.js.map +1 -1
- package/dist/mjs/types/Enum/StockType.d.ts +1 -0
- package/dist/mjs/types/Enum/StockType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/StockType.js +1 -0
- package/dist/mjs/types/Enum/StockType.js.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +2 -1
- package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +1 -0
- package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
- package/dist/mjs/types/Interface/api/card/ModifyPlanning.d.ts +13 -0
- package/dist/mjs/types/Interface/api/card/ModifyPlanning.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/card/ModifyPlanning.js +64 -0
- package/dist/mjs/types/Interface/api/card/ModifyPlanning.js.map +1 -0
- package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts +8 -3
- package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/card/QueryUserCards.js +25 -5
- package/dist/mjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
- package/dist/mjs/types/Interface/api/card/QueryUserCardsStats.d.ts +2 -1
- package/dist/mjs/types/Interface/api/card/QueryUserCardsStats.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/card/QueryUserCardsStats.js +10 -4
- package/dist/mjs/types/Interface/api/card/QueryUserCardsStats.js.map +1 -1
- package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts +2 -0
- package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js +14 -0
- package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js.map +1 -1
- package/dist/mjs/types/Interface/api/registration/DeclareRegistration.d.ts +6 -1
- package/dist/mjs/types/Interface/api/registration/DeclareRegistration.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/registration/DeclareRegistration.js +25 -1
- package/dist/mjs/types/Interface/api/registration/DeclareRegistration.js.map +1 -1
- package/dist/mjs/types/Interface/api/terminationList/DestroyTerminationList.d.ts +2 -1
- package/dist/mjs/types/Interface/api/terminationList/DestroyTerminationList.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/terminationList/DestroyTerminationList.js +9 -1
- package/dist/mjs/types/Interface/api/terminationList/DestroyTerminationList.js.map +1 -1
- package/dist/mjs/types/Interface/models/IAutomaticRegistration.d.ts +14 -0
- package/dist/mjs/types/Interface/models/IAutomaticRegistration.d.ts.map +1 -0
- package/dist/mjs/types/Interface/models/IAutomaticRegistration.js +2 -0
- package/dist/mjs/types/Interface/models/IAutomaticRegistration.js.map +1 -0
- package/dist/mjs/types/Interface/models/ICard.d.ts +4 -1
- package/dist/mjs/types/Interface/models/ICard.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ICard.js.map +1 -1
- package/dist/mjs/types/Interface/models/ICardHistory.d.ts +4 -1
- package/dist/mjs/types/Interface/models/ICardHistory.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ICardHistory.js.map +1 -1
- package/dist/mjs/types/index.d.ts +2 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +2 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Card.ts +15 -4
- package/ts/types/Enum/AutomaticRegistration.ts +4 -0
- package/ts/types/Enum/Card.ts +1 -1
- package/ts/types/Enum/Consistency.ts +2 -2
- package/ts/types/Enum/StockType.ts +1 -0
- package/ts/types/Interface/api/balanceSheet/UpdateBalanceSheet.ts +2 -1
- package/ts/types/Interface/api/card/ModifyPlanning.ts +38 -0
- package/ts/types/Interface/api/card/QueryUserCards.ts +27 -8
- package/ts/types/Interface/api/card/QueryUserCardsStats.ts +10 -4
- package/ts/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.ts +10 -0
- package/ts/types/Interface/api/registration/DeclareRegistration.ts +20 -2
- package/ts/types/Interface/api/terminationList/DestroyTerminationList.ts +8 -2
- package/ts/types/Interface/models/IAutomaticRegistration.ts +15 -0
- package/ts/types/Interface/models/ICard.ts +4 -1
- package/ts/types/Interface/models/ICardHistory.ts +4 -1
- package/ts/types/index.ts +2 -0
|
@@ -131,7 +131,7 @@ export const ConsistencyIssues: ConsistencyIssue[] = [
|
|
|
131
131
|
},
|
|
132
132
|
{
|
|
133
133
|
key: ConsistencyKey.PARTNER_CURRENT_ACCOUNT_DEBIT_BALANCE,
|
|
134
|
-
label: 'Compte courant associé
|
|
134
|
+
label: 'Compte courant associé débiteur',
|
|
135
135
|
isBlocking: false,
|
|
136
136
|
settings: {
|
|
137
137
|
type: ConsistencySettingType.OTHER,
|
|
@@ -259,7 +259,7 @@ export const ConsistencyIssues: ConsistencyIssue[] = [
|
|
|
259
259
|
},
|
|
260
260
|
{
|
|
261
261
|
key: ConsistencyKey.AMOUNT_OVER_1000_EUROS_IN_ACCOUNT_6XXX_NOT_REVIEWED,
|
|
262
|
-
label: 'Montant de plus de 1000€ non révisé
|
|
262
|
+
label: 'Montant de plus de 1000€ non révisé',
|
|
263
263
|
isBlocking: true,
|
|
264
264
|
settings: {
|
|
265
265
|
type: ConsistencySettingType.OTHER,
|
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
IsDate, IsNumber, IsOptional, IsString,
|
|
3
3
|
} from 'class-validator';
|
|
4
4
|
import { ApiPropertyOptional } from '../../../../utils/decorators';
|
|
5
|
+
import { BalanceSheetState } from '../../../Enum/BalanceSheet';
|
|
5
6
|
|
|
6
7
|
export class UpdateBalanceSheet {
|
|
7
8
|
@ApiPropertyOptional()
|
|
@@ -42,7 +43,7 @@ export class UpdateBalanceSheet {
|
|
|
42
43
|
@ApiPropertyOptional()
|
|
43
44
|
@IsNumber()
|
|
44
45
|
@IsOptional()
|
|
45
|
-
state?:
|
|
46
|
+
state?: BalanceSheetState;
|
|
46
47
|
|
|
47
48
|
@ApiPropertyOptional()
|
|
48
49
|
@IsNumber()
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { IsDate, IsInt } from 'class-validator';
|
|
2
|
+
import { ApiProperty } from '../../../../utils';
|
|
3
|
+
|
|
4
|
+
export class ModifyTeamPlanning {
|
|
5
|
+
@ApiProperty()
|
|
6
|
+
@IsInt()
|
|
7
|
+
idUserMissing: number;
|
|
8
|
+
|
|
9
|
+
@ApiProperty()
|
|
10
|
+
@IsInt({ each: true })
|
|
11
|
+
idUsers: number[];
|
|
12
|
+
|
|
13
|
+
@ApiProperty()
|
|
14
|
+
@IsDate()
|
|
15
|
+
startDate: Date;
|
|
16
|
+
|
|
17
|
+
@ApiProperty()
|
|
18
|
+
@IsDate()
|
|
19
|
+
endDate: Date;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export class ModifyExercisePlanning {
|
|
23
|
+
@ApiProperty()
|
|
24
|
+
@IsDate()
|
|
25
|
+
exerciseClosingDate: Date;
|
|
26
|
+
|
|
27
|
+
@ApiProperty()
|
|
28
|
+
@IsDate()
|
|
29
|
+
startDate: Date;
|
|
30
|
+
|
|
31
|
+
@ApiProperty()
|
|
32
|
+
@IsDate()
|
|
33
|
+
endDate: Date;
|
|
34
|
+
|
|
35
|
+
@ApiProperty()
|
|
36
|
+
@IsInt({ each: true })
|
|
37
|
+
idUsers: number[];
|
|
38
|
+
}
|
|
@@ -1,19 +1,28 @@
|
|
|
1
|
-
import { IsArray, IsDate, IsEnum, IsInt, IsOptional, IsString } from 'class-validator';
|
|
2
|
-
import {
|
|
1
|
+
import { IsArray, IsBoolean, IsDate, IsEnum, IsInt, IsOptional, IsString } from 'class-validator';
|
|
2
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
3
|
import { CardType, CardState } from '../../../Enum/Card';
|
|
4
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
5
|
|
|
5
6
|
export class QueryUserCards {
|
|
6
|
-
@
|
|
7
|
+
@ApiPropertyOptional()
|
|
8
|
+
@IsOptional()
|
|
7
9
|
@IsInt()
|
|
8
|
-
declare idUser
|
|
10
|
+
declare idUser?: number;
|
|
9
11
|
|
|
10
|
-
@
|
|
12
|
+
@ApiPropertyOptional()
|
|
13
|
+
@IsOptional()
|
|
14
|
+
@IsInt()
|
|
15
|
+
declare idTeam?: number;
|
|
16
|
+
|
|
17
|
+
@ApiPropertyOptional()
|
|
18
|
+
@IsOptional()
|
|
11
19
|
@IsDate()
|
|
12
|
-
declare startDate
|
|
20
|
+
declare startDate?: Date;
|
|
13
21
|
|
|
14
|
-
@
|
|
22
|
+
@ApiPropertyOptional()
|
|
23
|
+
@IsOptional()
|
|
15
24
|
@IsDate()
|
|
16
|
-
declare endDate
|
|
25
|
+
declare endDate?: Date;
|
|
17
26
|
|
|
18
27
|
@ApiPropertyOptional()
|
|
19
28
|
@IsOptional()
|
|
@@ -29,7 +38,17 @@ export class QueryUserCards {
|
|
|
29
38
|
@IsOptional()
|
|
30
39
|
@IsEnum(CardState)
|
|
31
40
|
declare state?: CardState;
|
|
41
|
+
|
|
42
|
+
@ApiPropertyOptional()
|
|
43
|
+
@IsOptional()
|
|
44
|
+
@IsBoolean()
|
|
45
|
+
@ToBoolean()
|
|
46
|
+
declare includePostponed?: boolean;
|
|
32
47
|
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @deprecated Use QueryUserCards instead
|
|
51
|
+
*/
|
|
33
52
|
export class QueryUserCardsAdmin {
|
|
34
53
|
@ApiPropertyOptional()
|
|
35
54
|
@IsOptional()
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
import { IsDate, IsInt } from 'class-validator';
|
|
2
|
-
import { ApiProperty } from '../../../../utils';
|
|
1
|
+
import { IsDate, IsInt, IsOptional } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
3
|
|
|
4
4
|
export class QueryUserCardsStats {
|
|
5
|
-
@
|
|
5
|
+
@ApiPropertyOptional()
|
|
6
|
+
@IsOptional()
|
|
7
|
+
@IsInt()
|
|
8
|
+
declare idUser?: number;
|
|
9
|
+
|
|
10
|
+
@ApiPropertyOptional()
|
|
11
|
+
@IsOptional()
|
|
6
12
|
@IsInt()
|
|
7
|
-
|
|
13
|
+
declare idTeam?: number;
|
|
8
14
|
|
|
9
15
|
@ApiProperty()
|
|
10
16
|
@IsDate()
|
|
@@ -33,6 +33,16 @@ export class CreateBusinessPartnersSociety {
|
|
|
33
33
|
@IsString()
|
|
34
34
|
additionalAddress?: string;
|
|
35
35
|
|
|
36
|
+
@ApiProperty()
|
|
37
|
+
@IsBoolean()
|
|
38
|
+
@ToBoolean()
|
|
39
|
+
isOwner: boolean;
|
|
40
|
+
|
|
41
|
+
@ApiPropertyOptional()
|
|
42
|
+
@IsOptional()
|
|
43
|
+
@IsEnum(Quality)
|
|
44
|
+
idQuality?: Quality;
|
|
45
|
+
|
|
36
46
|
@ApiProperty()
|
|
37
47
|
@IsString()
|
|
38
48
|
zipCode: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IsOptional, IsBoolean, IsNumber, IsArray, IsInt } from 'class-validator';
|
|
1
|
+
import { IsOptional, IsBoolean, IsNumber, IsArray, IsInt, IsDateString } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';
|
|
3
3
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
4
|
import { CustomerVatState } from '../../../Enum/CustomerVat';
|
|
@@ -35,13 +35,31 @@ export class ProcessVatRegistration {
|
|
|
35
35
|
@IsOptional()
|
|
36
36
|
@IsBoolean()
|
|
37
37
|
@ToBoolean()
|
|
38
|
-
isTestMode
|
|
38
|
+
isTestMode?: boolean;
|
|
39
39
|
|
|
40
40
|
@ApiProperty()
|
|
41
41
|
@IsNumber()
|
|
42
42
|
state: CustomerVatState;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
+
export class GenerateVatRegistrationPayload {
|
|
46
|
+
@ApiPropertyOptional()
|
|
47
|
+
@IsDateString()
|
|
48
|
+
@IsOptional()
|
|
49
|
+
startDate?: string;
|
|
50
|
+
|
|
51
|
+
@ApiPropertyOptional()
|
|
52
|
+
@IsBoolean()
|
|
53
|
+
@ToBoolean()
|
|
54
|
+
@IsOptional()
|
|
55
|
+
disableGeneration?: boolean;
|
|
56
|
+
|
|
57
|
+
@ApiPropertyOptional()
|
|
58
|
+
@IsInt()
|
|
59
|
+
@IsOptional()
|
|
60
|
+
idSociety?: number;
|
|
61
|
+
}
|
|
62
|
+
|
|
45
63
|
export class GenerateVatAutomaticallyPayload {
|
|
46
64
|
@ApiProperty()
|
|
47
65
|
@IsArray()
|
|
@@ -4,9 +4,10 @@ import {
|
|
|
4
4
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
5
5
|
|
|
6
6
|
export class DestroyTerminationList {
|
|
7
|
-
@
|
|
7
|
+
@ApiPropertyOptional()
|
|
8
|
+
@IsOptional()
|
|
8
9
|
@IsInt()
|
|
9
|
-
id
|
|
10
|
+
id?: number;
|
|
10
11
|
|
|
11
12
|
@ApiPropertyOptional()
|
|
12
13
|
@IsOptional()
|
|
@@ -67,6 +68,11 @@ export class DestroyTerminationList {
|
|
|
67
68
|
@IsDateString()
|
|
68
69
|
createdAt?: string;
|
|
69
70
|
|
|
71
|
+
@ApiPropertyOptional()
|
|
72
|
+
@IsOptional()
|
|
73
|
+
@IsDateString()
|
|
74
|
+
createdAtLike?: string;
|
|
75
|
+
|
|
70
76
|
@ApiPropertyOptional()
|
|
71
77
|
@IsOptional()
|
|
72
78
|
@IsDateString()
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AutomaticRegistrationType } from '../../Enum/AutomaticRegistration';
|
|
2
|
+
import { IRegistration } from './IRegistration';
|
|
3
|
+
import { ISociety } from './ISociety';
|
|
4
|
+
|
|
5
|
+
export interface IAutomaticRegistration {
|
|
6
|
+
id?: number;
|
|
7
|
+
date: Date;
|
|
8
|
+
state: AutomaticRegistrationType;
|
|
9
|
+
details: any;
|
|
10
|
+
idSociety: number;
|
|
11
|
+
idRegistration: number;
|
|
12
|
+
|
|
13
|
+
registrations?: IRegistration | null;
|
|
14
|
+
society?: ISociety | null;
|
|
15
|
+
}
|
|
@@ -6,6 +6,7 @@ import { ICalendarEvent } from './ICalendarEvent';
|
|
|
6
6
|
import { ICustomerVat } from './ICustomerVat';
|
|
7
7
|
import { ICardHistory } from './ICardHistory';
|
|
8
8
|
import { IComment } from './IComment';
|
|
9
|
+
import { ITeam } from './ITeam';
|
|
9
10
|
|
|
10
11
|
export interface ICard {
|
|
11
12
|
id?: number;
|
|
@@ -14,7 +15,8 @@ export interface ICard {
|
|
|
14
15
|
isManual: boolean;
|
|
15
16
|
isBlocked: boolean;
|
|
16
17
|
plannedAt?: Date | null;
|
|
17
|
-
idUser
|
|
18
|
+
idUser?: number | null;
|
|
19
|
+
idTeam?: number | null;
|
|
18
20
|
idSociety: number;
|
|
19
21
|
createdAt?: Date;
|
|
20
22
|
updatedAt?: Date;
|
|
@@ -22,6 +24,7 @@ export interface ICard {
|
|
|
22
24
|
|
|
23
25
|
// Associations
|
|
24
26
|
user?: IUser;
|
|
27
|
+
team?: ITeam;
|
|
25
28
|
society?: ISociety;
|
|
26
29
|
balanceSheet?: IBalanceSheet;
|
|
27
30
|
customerVat?: ICustomerVat;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { CardState } from '../../Enum/Card';
|
|
2
2
|
import { IUser } from './IUser';
|
|
3
3
|
import { ICard } from './ICard';
|
|
4
|
+
import { ITeam } from './ITeam';
|
|
4
5
|
|
|
5
6
|
export interface ICardHistory {
|
|
6
7
|
id?: number;
|
|
7
8
|
state: CardState;
|
|
8
9
|
plannedAt: Date;
|
|
9
10
|
idUserWhoChanged: number;
|
|
10
|
-
idUserOrigin
|
|
11
|
+
idUserOrigin?: number;
|
|
12
|
+
idTeamOrigin?: number;
|
|
11
13
|
idCard: number;
|
|
12
14
|
createdAt?: Date;
|
|
13
15
|
updatedAt?: Date;
|
|
@@ -15,5 +17,6 @@ export interface ICardHistory {
|
|
|
15
17
|
// Associations
|
|
16
18
|
userWhoChanged?: Partial<IUser>;
|
|
17
19
|
userOrigin?: Partial<IUser>;
|
|
20
|
+
teamOrigin?: Partial<ITeam>;
|
|
18
21
|
card?: ICard
|
|
19
22
|
}
|
package/ts/types/index.ts
CHANGED
|
@@ -345,6 +345,7 @@ export * from './Form/FormAuthenticate';
|
|
|
345
345
|
export * from './Form/FormConnector';
|
|
346
346
|
|
|
347
347
|
// Enums
|
|
348
|
+
export * from './Enum/AutomaticRegistration';
|
|
348
349
|
export * from './Enum/IntermediateManagementRebate';
|
|
349
350
|
export * from './Enum/Das';
|
|
350
351
|
export * from './Enum/ChangeLog';
|
|
@@ -1048,6 +1049,7 @@ export * from './Interface/api/terminationList/QueryPaginateTerminationList';
|
|
|
1048
1049
|
export * from './Interface/api/card/QueryUserCards';
|
|
1049
1050
|
export * from './Interface/api/card/QueryUserCardsStats';
|
|
1050
1051
|
export * from './Interface/api/card/UpdateCard';
|
|
1052
|
+
export * from './Interface/api/card/ModifyPlanning';
|
|
1051
1053
|
export * from './Interface/api/notion/NotionResponse';
|
|
1052
1054
|
export * from './Interface/api/IntermediateManagementRebate';
|
|
1053
1055
|
export * from './Interface/api/contest/Create';
|