@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.
Files changed (53) hide show
  1. package/dist/cjs/types/Interface/api/account/Create.d.ts +2 -0
  2. package/dist/cjs/types/Interface/api/account/Create.d.ts.map +1 -1
  3. package/dist/cjs/types/Interface/api/account/Create.js +12 -0
  4. package/dist/cjs/types/Interface/api/account/Create.js.map +1 -1
  5. package/dist/cjs/types/Interface/api/account/Query.d.ts +1 -0
  6. package/dist/cjs/types/Interface/api/account/Query.d.ts.map +1 -1
  7. package/dist/cjs/types/Interface/api/account/Query.js +6 -0
  8. package/dist/cjs/types/Interface/api/account/Query.js.map +1 -1
  9. package/dist/cjs/types/Interface/api/account/Update.d.ts +2 -0
  10. package/dist/cjs/types/Interface/api/account/Update.d.ts.map +1 -1
  11. package/dist/cjs/types/Interface/api/account/Update.js +12 -0
  12. package/dist/cjs/types/Interface/api/account/Update.js.map +1 -1
  13. package/dist/cjs/types/Interface/models/IAccount.d.ts +2 -0
  14. package/dist/cjs/types/Interface/models/IAccount.d.ts.map +1 -1
  15. package/dist/cjs/types/Interface/models/IAccount.js.map +1 -1
  16. package/dist/cjs/types/Interface/models/IAccountCentury.d.ts +9 -0
  17. package/dist/cjs/types/Interface/models/IAccountCentury.d.ts.map +1 -0
  18. package/dist/cjs/types/Interface/models/IAccountCentury.js +3 -0
  19. package/dist/cjs/types/Interface/models/IAccountCentury.js.map +1 -0
  20. package/dist/cjs/types/index.d.ts +1 -0
  21. package/dist/cjs/types/index.d.ts.map +1 -1
  22. package/dist/cjs/types/index.js +1 -0
  23. package/dist/cjs/types/index.js.map +1 -1
  24. package/dist/mjs/types/Interface/api/account/Create.d.ts +2 -0
  25. package/dist/mjs/types/Interface/api/account/Create.d.ts.map +1 -1
  26. package/dist/mjs/types/Interface/api/account/Create.js +15 -1
  27. package/dist/mjs/types/Interface/api/account/Create.js.map +1 -1
  28. package/dist/mjs/types/Interface/api/account/Query.d.ts +1 -0
  29. package/dist/mjs/types/Interface/api/account/Query.d.ts.map +1 -1
  30. package/dist/mjs/types/Interface/api/account/Query.js +8 -1
  31. package/dist/mjs/types/Interface/api/account/Query.js.map +1 -1
  32. package/dist/mjs/types/Interface/api/account/Update.d.ts +2 -0
  33. package/dist/mjs/types/Interface/api/account/Update.d.ts.map +1 -1
  34. package/dist/mjs/types/Interface/api/account/Update.js +15 -1
  35. package/dist/mjs/types/Interface/api/account/Update.js.map +1 -1
  36. package/dist/mjs/types/Interface/models/IAccount.d.ts +2 -0
  37. package/dist/mjs/types/Interface/models/IAccount.d.ts.map +1 -1
  38. package/dist/mjs/types/Interface/models/IAccount.js.map +1 -1
  39. package/dist/mjs/types/Interface/models/IAccountCentury.d.ts +9 -0
  40. package/dist/mjs/types/Interface/models/IAccountCentury.d.ts.map +1 -0
  41. package/dist/mjs/types/Interface/models/IAccountCentury.js +2 -0
  42. package/dist/mjs/types/Interface/models/IAccountCentury.js.map +1 -0
  43. package/dist/mjs/types/index.d.ts +1 -0
  44. package/dist/mjs/types/index.d.ts.map +1 -1
  45. package/dist/mjs/types/index.js +1 -0
  46. package/dist/mjs/types/index.js.map +1 -1
  47. package/package.json +1 -1
  48. package/ts/types/Interface/api/account/Create.ts +11 -1
  49. package/ts/types/Interface/api/account/Query.ts +6 -1
  50. package/ts/types/Interface/api/account/Update.ts +11 -1
  51. package/ts/types/Interface/models/IAccount.ts +2 -0
  52. package/ts/types/Interface/models/IAccountCentury.ts +8 -0
  53. 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
  }
@@ -0,0 +1,8 @@
1
+ export interface IAccountCentury {
2
+ id?: number;
3
+ idAccount: number;
4
+ startDate: Date;
5
+ endDate: Date;
6
+ createdAt?: Date | null;
7
+ updatedAt?: Date | null;
8
+ }
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';