@silexpert/core 1.3.195-4 → 1.3.195-7

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.
@@ -23,3 +23,20 @@ export enum UsersHistory {
23
23
  // Communication
24
24
  MAIL_SENT_TO_TS = 14, // Mail envoyé à TS
25
25
  }
26
+
27
+ export const UsersHistoryLabels: Record<UsersHistory, string> = {
28
+ [UsersHistory.CREATE]: 'Création',
29
+ [UsersHistory.UPDATE]: 'Mise à jour',
30
+ [UsersHistory.DELETE]: 'Suppression',
31
+ [UsersHistory.RESTORE]: 'Restauration',
32
+ [UsersHistory.INFO_UPDATE]: 'Mise à jour Info',
33
+ [UsersHistory.ROLE_UPDATE]: 'Mise à jour Rôle',
34
+ [UsersHistory.LOGIN]: 'Connexion',
35
+ [UsersHistory.LOGIN_FAIL]: 'Échec Connexion',
36
+ [UsersHistory.PASSWORD_UPDATE]: 'Changement Mot de passe',
37
+ [UsersHistory.EQUIPMENT_ASSIGN]: 'Assignation Matériel',
38
+ [UsersHistory.EQUIPMENT_BROKEN]: 'Matériel Cassé',
39
+ [UsersHistory.EQUIPMENT_RETURN]: 'Retour Matériel',
40
+ [UsersHistory.EQUIPMENT_LOST]: 'Matériel Perdu',
41
+ [UsersHistory.MAIL_SENT_TO_TS]: 'Mail envoyé à TS',
42
+ };
package/ts/types/index.ts CHANGED
@@ -562,6 +562,7 @@ export * from './Enum/PaymentAttempt';
562
562
  export * from './Enum/InformationRequestType';
563
563
  export * from './Enum/InformationRequestState';
564
564
  export * from './Enum/Revenue';
565
+ export * from './Enum/UsersHistory';
565
566
 
566
567
  // Interfaces API
567
568
  export * from './Interface/api/authentification/AuthenticationResponse';