@silexpert/core 1.3.209 → 1.3.210
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/types/Interface/api/account/Create.d.ts +2 -0
- package/dist/cjs/types/Interface/api/account/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/account/Create.js +12 -0
- package/dist/cjs/types/Interface/api/account/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/account/Query.d.ts +1 -0
- package/dist/cjs/types/Interface/api/account/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/account/Query.js +6 -0
- package/dist/cjs/types/Interface/api/account/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/account/Update.d.ts +2 -0
- package/dist/cjs/types/Interface/api/account/Update.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/account/Update.js +12 -0
- package/dist/cjs/types/Interface/api/account/Update.js.map +1 -1
- package/dist/cjs/types/Interface/models/IAccount.d.ts +2 -0
- package/dist/cjs/types/Interface/models/IAccount.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IAccount.js.map +1 -1
- package/dist/cjs/types/Interface/models/IAccountCentury.d.ts +9 -0
- package/dist/cjs/types/Interface/models/IAccountCentury.d.ts.map +1 -0
- package/dist/cjs/types/Interface/models/IAccountCentury.js +3 -0
- package/dist/cjs/types/Interface/models/IAccountCentury.js.map +1 -0
- 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/types/Interface/api/account/Create.d.ts +2 -0
- package/dist/mjs/types/Interface/api/account/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/account/Create.js +15 -1
- package/dist/mjs/types/Interface/api/account/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/account/Query.d.ts +1 -0
- package/dist/mjs/types/Interface/api/account/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/account/Query.js +8 -1
- package/dist/mjs/types/Interface/api/account/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/account/Update.d.ts +2 -0
- package/dist/mjs/types/Interface/api/account/Update.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/account/Update.js +15 -1
- package/dist/mjs/types/Interface/api/account/Update.js.map +1 -1
- package/dist/mjs/types/Interface/models/IAccount.d.ts +2 -0
- package/dist/mjs/types/Interface/models/IAccount.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IAccount.js.map +1 -1
- package/dist/mjs/types/Interface/models/IAccountCentury.d.ts +9 -0
- package/dist/mjs/types/Interface/models/IAccountCentury.d.ts.map +1 -0
- package/dist/mjs/types/Interface/models/IAccountCentury.js +2 -0
- package/dist/mjs/types/Interface/models/IAccountCentury.js.map +1 -0
- 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 +1 -1
- package/ts/types/Interface/api/account/Create.ts +11 -1
- package/ts/types/Interface/api/account/Query.ts +6 -1
- package/ts/types/Interface/api/account/Update.ts +11 -1
- package/ts/types/Interface/models/IAccount.ts +2 -0
- package/ts/types/Interface/models/IAccountCentury.ts +8 -0
- package/ts/types/index.ts +1 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IsArray, IsNumber, IsOptional, IsString } from 'class-validator';
|
|
1
|
+
import { IsArray, IsNumber, IsOptional, IsString, IsDateString } from 'class-validator';
|
|
2
2
|
import { IAccount } from '../../..';
|
|
3
3
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
4
4
|
|
|
@@ -39,4 +39,14 @@ export class CreateAccount {
|
|
|
39
39
|
@IsOptional()
|
|
40
40
|
@IsArray()
|
|
41
41
|
idSectors?: Array<number>;
|
|
42
|
+
|
|
43
|
+
@ApiPropertyOptional()
|
|
44
|
+
@IsOptional()
|
|
45
|
+
@IsDateString()
|
|
46
|
+
centuryStartDate?: string;
|
|
47
|
+
|
|
48
|
+
@ApiPropertyOptional()
|
|
49
|
+
@IsOptional()
|
|
50
|
+
@IsDateString()
|
|
51
|
+
centuryEndDate?: string;
|
|
42
52
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IsBoolean, IsNumber, IsOptional, IsString } from 'class-validator';
|
|
1
|
+
import { IsBoolean, IsNumber, IsOptional, IsString, IsDateString } from 'class-validator';
|
|
2
2
|
import { ApiPropertyOptional, ApiProperty } from '../../../../utils';
|
|
3
3
|
import { RequiredQueryPaginate } from '../BasePaginate';
|
|
4
4
|
|
|
@@ -31,6 +31,11 @@ export class QueryAccounts {
|
|
|
31
31
|
|
|
32
32
|
@ApiPropertyOptional()
|
|
33
33
|
newVersion?: boolean;
|
|
34
|
+
|
|
35
|
+
@ApiPropertyOptional()
|
|
36
|
+
@IsDateString()
|
|
37
|
+
@IsOptional()
|
|
38
|
+
exerciceStartDate?: string;
|
|
34
39
|
}
|
|
35
40
|
|
|
36
41
|
export class QueryAccountSociety extends RequiredQueryPaginate {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IsArray, IsNumber, IsOptional, IsString } from 'class-validator';
|
|
1
|
+
import { IsArray, IsNumber, IsOptional, IsString, IsDateString } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
3
|
import { IAccount } from '../../..';
|
|
4
4
|
|
|
@@ -50,4 +50,14 @@ export class UpdateAccount {
|
|
|
50
50
|
@IsOptional()
|
|
51
51
|
@IsArray()
|
|
52
52
|
idSectors?: Array<number>;
|
|
53
|
+
|
|
54
|
+
@ApiPropertyOptional()
|
|
55
|
+
@IsOptional()
|
|
56
|
+
@IsDateString()
|
|
57
|
+
centuryStartDate?: string;
|
|
58
|
+
|
|
59
|
+
@ApiPropertyOptional()
|
|
60
|
+
@IsOptional()
|
|
61
|
+
@IsDateString()
|
|
62
|
+
centuryEndDate?: string;
|
|
53
63
|
}
|
|
@@ -10,6 +10,7 @@ import { IMachineLearningResult } from './IMachineLearningResult';
|
|
|
10
10
|
import { IAccountsSocieties } from './IAccountsSocieties';
|
|
11
11
|
import { ITag } from './ITag';
|
|
12
12
|
import { IFecFile } from './IFecFile';
|
|
13
|
+
import { IAccountCentury } from './IAccountCentury';
|
|
13
14
|
|
|
14
15
|
// accounts
|
|
15
16
|
export interface IAccount {
|
|
@@ -59,4 +60,5 @@ export interface IAccount {
|
|
|
59
60
|
parentAccount?: IAccount;
|
|
60
61
|
tags?: ITag[];
|
|
61
62
|
fecFile?: IFecFile | null;
|
|
63
|
+
accountCentury?: IAccountCentury;
|
|
62
64
|
}
|
package/ts/types/index.ts
CHANGED
|
@@ -329,6 +329,7 @@ export * from './Interface/models/IDocumentRequest';
|
|
|
329
329
|
export * from './Interface/models/IInformationRequest';
|
|
330
330
|
export * from './Interface/models/IRevenueMovement';
|
|
331
331
|
export * from './Interface/models/IRevenueSnapshot';
|
|
332
|
+
export * from './Interface/models/IAccountCentury';
|
|
332
333
|
|
|
333
334
|
// Schemas
|
|
334
335
|
export * from './Interface/schemas/IRegistrationDetail';
|