@silexpert/core 1.0.95 → 1.0.97

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 (35) hide show
  1. package/es/api/resources/Commercial.d.ts +5 -1
  2. package/es/api/resources/Commercial.d.ts.map +1 -1
  3. package/es/api/resources/Commercial.js +3 -0
  4. package/es/api/resources/Commercial.js.map +1 -1
  5. package/es/types/Enum/Phone.d.ts +962 -2
  6. package/es/types/Enum/Phone.d.ts.map +1 -1
  7. package/es/types/Enum/Phone.js +966 -6
  8. package/es/types/Enum/Phone.js.map +1 -1
  9. package/es/types/Interface/api/commercial/QueryFetchDialogDatasInfosOk.d.ts +3 -0
  10. package/es/types/Interface/api/commercial/QueryFetchDialogDatasInfosOk.d.ts.map +1 -1
  11. package/es/types/Interface/api/commercial/QueryFetchDialogDatasInfosOk.js +7 -0
  12. package/es/types/Interface/api/commercial/QueryFetchDialogDatasInfosOk.js.map +1 -1
  13. package/es/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.d.ts +1 -1
  14. package/es/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.d.ts.map +1 -1
  15. package/es/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js +2 -2
  16. package/es/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js.map +1 -1
  17. package/es/utils/prestation.d.ts.map +1 -1
  18. package/es/utils/prestation.js +1 -1
  19. package/es/utils/prestation.js.map +1 -1
  20. package/js/api/resources/Commercial.js +8 -0
  21. package/js/api/resources/Commercial.js.map +1 -1
  22. package/js/types/Enum/Phone.js +966 -6
  23. package/js/types/Enum/Phone.js.map +1 -1
  24. package/js/types/Interface/api/commercial/QueryFetchDialogDatasInfosOk.js +9 -1
  25. package/js/types/Interface/api/commercial/QueryFetchDialogDatasInfosOk.js.map +1 -1
  26. package/js/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js +3 -1
  27. package/js/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js.map +1 -1
  28. package/js/utils/prestation.js +1 -1
  29. package/js/utils/prestation.js.map +1 -1
  30. package/package.json +1 -1
  31. package/ts/api/resources/Commercial.ts +4 -1
  32. package/ts/types/Enum/Phone.ts +966 -6
  33. package/ts/types/Interface/api/commercial/QueryFetchDialogDatasInfosOk.ts +6 -0
  34. package/ts/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.ts +2 -2
  35. package/ts/utils/prestation.ts +1 -1
@@ -14,3 +14,9 @@ export class QueryFetchDialogDatasDocsOk {
14
14
  @IsInt()
15
15
  idSociety: number;
16
16
  }
17
+
18
+ export class QueryCheckDocsAndInfosOk {
19
+ @ApiProperty()
20
+ @IsInt({ each: true })
21
+ listIdPrestationList: number[];
22
+ }
@@ -66,8 +66,8 @@ export class QueryPaginatedSocietyWithStatsCa {
66
66
 
67
67
  @ApiPropertyOptional()
68
68
  @IsOptional()
69
- @IsInt()
70
- idConstitutionState?: number;
69
+ @IsInt({ each: true })
70
+ idConstitutionState?: number[];
71
71
 
72
72
  @ApiPropertyOptional()
73
73
  @IsOptional()
@@ -17,7 +17,7 @@ const isAdditionalPresta = (hidden:boolean, isCatalog:boolean): boolean => !hidd
17
17
 
18
18
  const isOnlyPrevi = (idPrestationList: number[]):boolean => !idPrestationList.filter((idPL:number) => ![PrestationType.PREVISIONNEL, PrestationType.BILAN_PREVISIONNEL, PrestationType.PV_AG].includes(idPL)).length;
19
19
 
20
- const isOnlySocial = (idPrestationList: number[]):boolean => !idPrestationList.filter((idPL:number) => ![PrestationType.FRUCTUPAIE].includes(idPL)).length;
20
+ const isOnlySocial = (idPrestationList: number[]):boolean => !idPrestationList.filter((idPL:number) => ![PrestationType.FRUCTUPAIE, PrestationType.SOCIAL].includes(idPL)).length;
21
21
 
22
22
  const isOnlyJuridic = (idPrestationList: number[]):boolean => !idPrestationList.filter((idPL:number) => ![PrestationType.GESTION_JURIDIQUE].includes(idPL)).length;
23
23