@silexpert/core 1.2.25 → 1.2.26

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 (62) hide show
  1. package/dist/cjs/api/resources/Transaction.d.ts +2 -1
  2. package/dist/cjs/api/resources/Transaction.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Transaction.js +3 -0
  4. package/dist/cjs/api/resources/Transaction.js.map +1 -1
  5. package/dist/cjs/types/Interface/api/accountingEntry/Create.d.ts +4 -0
  6. package/dist/cjs/types/Interface/api/accountingEntry/Create.d.ts.map +1 -1
  7. package/dist/cjs/types/Interface/api/accountingEntry/Create.js +15 -1
  8. package/dist/cjs/types/Interface/api/accountingEntry/Create.js.map +1 -1
  9. package/dist/cjs/types/Interface/api/card/OrganizeBalanceSheets.d.ts +2 -0
  10. package/dist/cjs/types/Interface/api/card/OrganizeBalanceSheets.d.ts.map +1 -1
  11. package/dist/cjs/types/Interface/api/card/OrganizeBalanceSheets.js +7 -0
  12. package/dist/cjs/types/Interface/api/card/OrganizeBalanceSheets.js.map +1 -1
  13. package/dist/cjs/types/Interface/api/commercialManagement/Query.d.ts +1 -0
  14. package/dist/cjs/types/Interface/api/commercialManagement/Query.d.ts.map +1 -1
  15. package/dist/cjs/types/Interface/api/commercialManagement/Query.js +6 -0
  16. package/dist/cjs/types/Interface/api/commercialManagement/Query.js.map +1 -1
  17. package/dist/cjs/types/Interface/api/internalInvoicing/GenerateCutOff.d.ts +4 -0
  18. package/dist/cjs/types/Interface/api/internalInvoicing/GenerateCutOff.d.ts.map +1 -0
  19. package/dist/cjs/types/Interface/api/internalInvoicing/GenerateCutOff.js +24 -0
  20. package/dist/cjs/types/Interface/api/internalInvoicing/GenerateCutOff.js.map +1 -0
  21. package/dist/cjs/types/Interface/models/IBalanceSheet.d.ts +2 -0
  22. package/dist/cjs/types/Interface/models/IBalanceSheet.d.ts.map +1 -1
  23. package/dist/cjs/types/Interface/models/IBalanceSheet.js.map +1 -1
  24. package/dist/cjs/types/index.d.ts +1 -0
  25. package/dist/cjs/types/index.d.ts.map +1 -1
  26. package/dist/cjs/types/index.js +1 -0
  27. package/dist/cjs/types/index.js.map +1 -1
  28. package/dist/mjs/api/resources/Transaction.d.ts +2 -1
  29. package/dist/mjs/api/resources/Transaction.d.ts.map +1 -1
  30. package/dist/mjs/api/resources/Transaction.js +3 -0
  31. package/dist/mjs/api/resources/Transaction.js.map +1 -1
  32. package/dist/mjs/types/Interface/api/accountingEntry/Create.d.ts +4 -0
  33. package/dist/mjs/types/Interface/api/accountingEntry/Create.d.ts.map +1 -1
  34. package/dist/mjs/types/Interface/api/accountingEntry/Create.js +15 -0
  35. package/dist/mjs/types/Interface/api/accountingEntry/Create.js.map +1 -1
  36. package/dist/mjs/types/Interface/api/card/OrganizeBalanceSheets.d.ts +2 -0
  37. package/dist/mjs/types/Interface/api/card/OrganizeBalanceSheets.d.ts.map +1 -1
  38. package/dist/mjs/types/Interface/api/card/OrganizeBalanceSheets.js +8 -0
  39. package/dist/mjs/types/Interface/api/card/OrganizeBalanceSheets.js.map +1 -1
  40. package/dist/mjs/types/Interface/api/commercialManagement/Query.d.ts +1 -0
  41. package/dist/mjs/types/Interface/api/commercialManagement/Query.d.ts.map +1 -1
  42. package/dist/mjs/types/Interface/api/commercialManagement/Query.js +8 -1
  43. package/dist/mjs/types/Interface/api/commercialManagement/Query.js.map +1 -1
  44. package/dist/mjs/types/Interface/api/internalInvoicing/GenerateCutOff.d.ts +4 -0
  45. package/dist/mjs/types/Interface/api/internalInvoicing/GenerateCutOff.d.ts.map +1 -0
  46. package/dist/mjs/types/Interface/api/internalInvoicing/GenerateCutOff.js +21 -0
  47. package/dist/mjs/types/Interface/api/internalInvoicing/GenerateCutOff.js.map +1 -0
  48. package/dist/mjs/types/Interface/models/IBalanceSheet.d.ts +2 -0
  49. package/dist/mjs/types/Interface/models/IBalanceSheet.d.ts.map +1 -1
  50. package/dist/mjs/types/Interface/models/IBalanceSheet.js.map +1 -1
  51. package/dist/mjs/types/index.d.ts +1 -0
  52. package/dist/mjs/types/index.d.ts.map +1 -1
  53. package/dist/mjs/types/index.js +1 -0
  54. package/dist/mjs/types/index.js.map +1 -1
  55. package/package.json +1 -1
  56. package/ts/api/resources/Transaction.ts +5 -0
  57. package/ts/types/Interface/api/accountingEntry/Create.ts +11 -0
  58. package/ts/types/Interface/api/card/OrganizeBalanceSheets.ts +6 -0
  59. package/ts/types/Interface/api/commercialManagement/Query.ts +6 -1
  60. package/ts/types/Interface/api/internalInvoicing/GenerateCutOff.ts +9 -0
  61. package/ts/types/Interface/models/IBalanceSheet.ts +2 -0
  62. package/ts/types/index.ts +1 -0
@@ -3,6 +3,7 @@ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
3
  import { ComptaType } from '../../../Enum/ComptaType';
4
4
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
5
5
  import { CardType } from '../../../Enum/Card';
6
+ import { LegalFormTypeEnum } from '../../../Enum/LegalForm';
6
7
 
7
8
  export interface OrganizeBalanceSheetsResponse {
8
9
  plannedCardsCount: number;
@@ -33,6 +34,11 @@ export class OrganizeBalanceSheets {
33
34
  @IsEnum(ComptaType)
34
35
  idComptaType: ComptaType;
35
36
 
37
+ @ApiProperty()
38
+ @IsArray()
39
+ @IsEnum(LegalFormTypeEnum, { each: true })
40
+ legalForms: LegalFormTypeEnum[];
41
+
36
42
  @ApiProperty()
37
43
  @IsBoolean()
38
44
  @ToBoolean()
@@ -1,5 +1,5 @@
1
1
  import {
2
- IsArray, IsBoolean, IsDateString, IsInt, IsOptional, IsString,
2
+ IsArray, IsBoolean, IsDateString, IsInt, IsNumber, IsOptional, IsString,
3
3
  } from 'class-validator';
4
4
  import { Order } from '../../..';
5
5
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
@@ -127,6 +127,11 @@ export class QueryDocumentPaginated {
127
127
  @ToBoolean()
128
128
  @IsOptional()
129
129
  isDraft?: boolean;
130
+
131
+ @ApiPropertyOptional()
132
+ @IsOptional()
133
+ @IsNumber()
134
+ idThirdParty?: number;
130
135
  }
131
136
 
132
137
  export class QueryCountByStatus {
@@ -0,0 +1,9 @@
1
+ import { IsArray, IsOptional } from 'class-validator';
2
+ import { ApiPropertyOptional } from '../../../../utils';
3
+
4
+ export class GenerateCutOff {
5
+ @ApiPropertyOptional()
6
+ @IsOptional()
7
+ @IsArray()
8
+ idSociety: Array<number>;
9
+ }
@@ -5,6 +5,7 @@ import { IPrestation } from './IPrestation';
5
5
  import { IGedFile } from './IGedFile';
6
6
  import { IFile } from './IFile';
7
7
  import { ICard } from './ICard';
8
+ import { IBalanceSheetHistory } from './IBalanceSheetHistory';
8
9
 
9
10
  // balanceSheet
10
11
  export interface IBalanceSheet {
@@ -34,4 +35,5 @@ export interface IBalanceSheet {
34
35
  gedFiles?: IGedFile[];
35
36
  file?: IFile;
36
37
  card?: ICard;
38
+ balanceSheetHistories?: IBalanceSheetHistory[];
37
39
  }
package/ts/types/index.ts CHANGED
@@ -696,6 +696,7 @@ export * from './Interface/api/quotes/CreateQuoteAccount';
696
696
  export * from './Interface/api/internalInvoicing/CreateInternalInvoicing';
697
697
  export * from './Interface/api/internalInvoicing/CreateInternalInvoicing2in';
698
698
  export * from './Interface/api/internalInvoicing/RegenerateInternalInvoicing';
699
+ export * from './Interface/api/internalInvoicing/GenerateCutOff';
699
700
  export * from './Interface/api/internalInvoicing/GetLastRef';
700
701
  export * from './Interface/api/exercice/QueryExercice';
701
702
  export * from './Interface/api/exercice/Create';