@silexpert/core 1.1.293 → 1.1.295

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 (46) hide show
  1. package/dist/cjs/api/resources/Mail.d.ts +2 -1
  2. package/dist/cjs/api/resources/Mail.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Mail.js +3 -0
  4. package/dist/cjs/api/resources/Mail.js.map +1 -1
  5. package/dist/cjs/types/Interface/api/mail/QueryMailBySociety.d.ts +5 -0
  6. package/dist/cjs/types/Interface/api/mail/QueryMailBySociety.d.ts.map +1 -0
  7. package/dist/cjs/types/Interface/api/mail/QueryMailBySociety.js +30 -0
  8. package/dist/cjs/types/Interface/api/mail/QueryMailBySociety.js.map +1 -0
  9. package/dist/cjs/types/Interface/api/mail/ReadMailBySociety.d.ts +8 -0
  10. package/dist/cjs/types/Interface/api/mail/ReadMailBySociety.d.ts.map +1 -0
  11. package/dist/cjs/types/Interface/api/mail/ReadMailBySociety.js +3 -0
  12. package/dist/cjs/types/Interface/api/mail/ReadMailBySociety.js.map +1 -0
  13. package/dist/cjs/types/Interface/api/transactions/Query.d.ts +2 -2
  14. package/dist/cjs/types/Interface/api/transactions/Query.d.ts.map +1 -1
  15. package/dist/cjs/types/Interface/api/transactions/Query.js +4 -7
  16. package/dist/cjs/types/Interface/api/transactions/Query.js.map +1 -1
  17. package/dist/cjs/types/index.d.ts +2 -0
  18. package/dist/cjs/types/index.d.ts.map +1 -1
  19. package/dist/cjs/types/index.js +2 -0
  20. package/dist/cjs/types/index.js.map +1 -1
  21. package/dist/mjs/api/resources/Mail.d.ts +2 -1
  22. package/dist/mjs/api/resources/Mail.d.ts.map +1 -1
  23. package/dist/mjs/api/resources/Mail.js +6 -0
  24. package/dist/mjs/api/resources/Mail.js.map +1 -1
  25. package/dist/mjs/types/Interface/api/mail/QueryMailBySociety.d.ts +5 -0
  26. package/dist/mjs/types/Interface/api/mail/QueryMailBySociety.d.ts.map +1 -0
  27. package/dist/mjs/types/Interface/api/mail/QueryMailBySociety.js +28 -0
  28. package/dist/mjs/types/Interface/api/mail/QueryMailBySociety.js.map +1 -0
  29. package/dist/mjs/types/Interface/api/mail/ReadMailBySociety.d.ts +8 -0
  30. package/dist/mjs/types/Interface/api/mail/ReadMailBySociety.d.ts.map +1 -0
  31. package/dist/mjs/types/Interface/api/mail/ReadMailBySociety.js +2 -0
  32. package/dist/mjs/types/Interface/api/mail/ReadMailBySociety.js.map +1 -0
  33. package/dist/mjs/types/Interface/api/transactions/Query.d.ts +2 -2
  34. package/dist/mjs/types/Interface/api/transactions/Query.d.ts.map +1 -1
  35. package/dist/mjs/types/Interface/api/transactions/Query.js +5 -8
  36. package/dist/mjs/types/Interface/api/transactions/Query.js.map +1 -1
  37. package/dist/mjs/types/index.d.ts +2 -0
  38. package/dist/mjs/types/index.d.ts.map +1 -1
  39. package/dist/mjs/types/index.js +2 -0
  40. package/dist/mjs/types/index.js.map +1 -1
  41. package/package.json +1 -1
  42. package/ts/api/resources/Mail.ts +9 -0
  43. package/ts/types/Interface/api/mail/QueryMailBySociety.ts +16 -0
  44. package/ts/types/Interface/api/mail/ReadMailBySociety.ts +8 -0
  45. package/ts/types/Interface/api/transactions/Query.ts +5 -8
  46. package/ts/types/index.ts +2 -0
@@ -1,7 +1,6 @@
1
1
  import {
2
- IsArray, IsBoolean, IsIn, IsNumber, IsOptional,
2
+ IsArray, IsBoolean, IsOptional,
3
3
  } from 'class-validator';
4
- import { AccountingJournal } from '../../..';
5
4
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
6
5
  import { IsFormattedDateString } from '../../../../utils/validators/formattedDateString.validator';
7
6
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
@@ -22,9 +21,8 @@ export class QueryUnexport {
22
21
 
23
22
  @ApiPropertyOptional()
24
23
  @IsOptional()
25
- @IsNumber()
26
- @IsIn([AccountingJournal.AC, AccountingJournal.VE])
27
- idAccountingJournal?: number;
24
+ @IsArray()
25
+ idAccountingJournal?: number[];
28
26
  }
29
27
 
30
28
  export class QueryExport {
@@ -49,7 +47,6 @@ export class QueryExport {
49
47
 
50
48
  @ApiPropertyOptional()
51
49
  @IsOptional()
52
- @IsNumber()
53
- @IsIn([AccountingJournal.AC, AccountingJournal.VE, AccountingJournal.BQ, AccountingJournal.CAI, AccountingJournal.PER, AccountingJournal.AN, AccountingJournal.OD, AccountingJournal.REV, AccountingJournal.SAL])
54
- idAccountingJournal?: number;
50
+ @IsArray()
51
+ idAccountingJournal?: number[];
55
52
  }
package/ts/types/index.ts CHANGED
@@ -603,6 +603,8 @@ export * from './Interface/api/cerfa/3517';
603
603
  export * from './Interface/api/customerProviderOperation/CreateCustomerProviderOperation';
604
604
  export * from './Interface/api/mail/QueryMail';
605
605
  export * from './Interface/api/mail/QueryAllMail';
606
+ export * from './Interface/api/mail/QueryMailBySociety';
607
+ export * from './Interface/api/mail/ReadMailBySociety';
606
608
  export * from './Interface/api/mail/QueryPaginatedMail';
607
609
  export * from './Interface/api/mail/QueryGetSignature';
608
610
  export * from './Interface/api/mail/QueryCountProcessedByUser';