@silexpert/core 1.2.16 → 1.2.17

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/api/resources/Library.d.ts +3 -1
  2. package/dist/cjs/api/resources/Library.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Library.js +12 -0
  4. package/dist/cjs/api/resources/Library.js.map +1 -1
  5. package/dist/cjs/types/Enum/JuridicalSociety.d.ts +6 -0
  6. package/dist/cjs/types/Enum/JuridicalSociety.d.ts.map +1 -0
  7. package/dist/cjs/types/Enum/JuridicalSociety.js +10 -0
  8. package/dist/cjs/types/Enum/JuridicalSociety.js.map +1 -0
  9. package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts +12 -0
  10. package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
  11. package/dist/cjs/types/Interface/api/library/QueryLibrary.js +55 -1
  12. package/dist/cjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
  13. package/dist/cjs/types/Interface/api/society/QueryUnpaid.d.ts +1 -0
  14. package/dist/cjs/types/Interface/api/society/QueryUnpaid.d.ts.map +1 -1
  15. package/dist/cjs/types/Interface/api/society/QueryUnpaid.js +7 -0
  16. package/dist/cjs/types/Interface/api/society/QueryUnpaid.js.map +1 -1
  17. package/dist/cjs/types/Interface/api/society/ReadSocietyUnpaidStats.d.ts +5 -1
  18. package/dist/cjs/types/Interface/api/society/ReadSocietyUnpaidStats.d.ts.map +1 -1
  19. package/dist/cjs/types/Interface/api/society/ReadSocietyUnpaidStats.js.map +1 -1
  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/api/resources/Library.d.ts +3 -1
  25. package/dist/mjs/api/resources/Library.d.ts.map +1 -1
  26. package/dist/mjs/api/resources/Library.js +12 -0
  27. package/dist/mjs/api/resources/Library.js.map +1 -1
  28. package/dist/mjs/types/Enum/JuridicalSociety.d.ts +6 -0
  29. package/dist/mjs/types/Enum/JuridicalSociety.d.ts.map +1 -0
  30. package/dist/mjs/types/Enum/JuridicalSociety.js +7 -0
  31. package/dist/mjs/types/Enum/JuridicalSociety.js.map +1 -0
  32. package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts +12 -0
  33. package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
  34. package/dist/mjs/types/Interface/api/library/QueryLibrary.js +62 -0
  35. package/dist/mjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
  36. package/dist/mjs/types/Interface/api/society/QueryUnpaid.d.ts +1 -0
  37. package/dist/mjs/types/Interface/api/society/QueryUnpaid.d.ts.map +1 -1
  38. package/dist/mjs/types/Interface/api/society/QueryUnpaid.js +8 -0
  39. package/dist/mjs/types/Interface/api/society/QueryUnpaid.js.map +1 -1
  40. package/dist/mjs/types/Interface/api/society/ReadSocietyUnpaidStats.d.ts +5 -1
  41. package/dist/mjs/types/Interface/api/society/ReadSocietyUnpaidStats.d.ts.map +1 -1
  42. package/dist/mjs/types/Interface/api/society/ReadSocietyUnpaidStats.js.map +1 -1
  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 +2 -1
  48. package/ts/api/resources/Library.ts +16 -0
  49. package/ts/types/Enum/JuridicalSociety.ts +5 -0
  50. package/ts/types/Interface/api/library/QueryLibrary.ts +46 -0
  51. package/ts/types/Interface/api/society/QueryUnpaid.ts +6 -0
  52. package/ts/types/Interface/api/society/ReadSocietyUnpaidStats.ts +5 -1
  53. package/ts/types/index.ts +1 -0
@@ -5,6 +5,7 @@ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
5
5
  import { GedFolder, GedFileType, GedCategory } from '../../../Enum/Ged';
6
6
  import { RequiredQueryPaginate } from '../BasePaginate';
7
7
  import { Order } from 'sequelize';
8
+ import { TFile } from '../file/TFile';
8
9
 
9
10
  export class QueryLibraryFile {
10
11
  @ApiProperty()
@@ -162,4 +163,49 @@ export class QueryProcessCommercialFile {
162
163
  @IsOptional()
163
164
  @IsInt()
164
165
  limit?: number;
166
+ }
167
+
168
+
169
+ export class ConvertFilePdfToImage {
170
+ @ApiProperty()
171
+ file: TFile;
172
+
173
+ @ApiProperty()
174
+ @IsString()
175
+ returnType: string;
176
+
177
+ @ApiPropertyOptional()
178
+ @IsString()
179
+ @IsOptional()
180
+ format: string;
181
+
182
+ @ApiPropertyOptional()
183
+ @IsNumber()
184
+ @IsOptional()
185
+ density?: number;
186
+
187
+ @ApiPropertyOptional()
188
+ @IsString()
189
+ @IsOptional()
190
+ saveFilename?: string;
191
+
192
+ @ApiPropertyOptional()
193
+ @IsString()
194
+ @IsOptional()
195
+ savePath?: string;
196
+
197
+ @ApiPropertyOptional()
198
+ @IsInt()
199
+ @IsOptional()
200
+ width?: number;
201
+
202
+ @ApiPropertyOptional()
203
+ @IsInt()
204
+ @IsOptional()
205
+ height?: number;
206
+
207
+ @ApiPropertyOptional()
208
+ @IsInt()
209
+ @IsOptional()
210
+ numberOfPage?: number;
165
211
  }
@@ -25,6 +25,12 @@ export class QueryUnpaidSociety {
25
25
  @ToBoolean()
26
26
  isRecoverable?: boolean;
27
27
 
28
+ @ApiPropertyOptional()
29
+ @IsOptional()
30
+ @IsBoolean()
31
+ @ToBoolean()
32
+ isNotCollected?: boolean;
33
+
28
34
  @ApiPropertyOptional()
29
35
  @IsOptional()
30
36
  @IsString()
@@ -1,4 +1,8 @@
1
1
  export type ReadSocietyUnpaidStats = {
2
2
  amount:number,
3
- count:number
3
+ count: {
4
+ accounting: number,
5
+ legal: number,
6
+ social: number
7
+ }
4
8
  };
package/ts/types/index.ts CHANGED
@@ -555,6 +555,7 @@ export * from './Enum/TypeSupportForNotation';
555
555
  export * from './Enum/ToRecallRating';
556
556
  export * from './Enum/PrevisionalForm';
557
557
  export * from './Enum/PaymentRecovery';
558
+ export * from './Enum/JuridicalSociety';
558
559
 
559
560
  // Interfaces API
560
561
  export * from './Interface/api/exercice/ReadExercice';