cat-documents-ng 1.0.54 → 1.0.57

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.
@@ -42,6 +42,16 @@ export declare class SessionService {
42
42
  * @returns {any | null} The session ID, or null if not found.
43
43
  */
44
44
  getSessionID(): any | null;
45
+ /**
46
+ * Retrieves the user's roles from the stored session data.
47
+ * @returns {string[]} Array of user roles, empty array if no roles found.
48
+ */
49
+ getUserRoles(): string[];
50
+ /**
51
+ * Checks if the user has only the agent role.
52
+ * @returns {boolean} True if user only has agent role, false otherwise.
53
+ */
54
+ isAgentOnly(): boolean;
45
55
  /**
46
56
  * Clears all stored session data from local storage.
47
57
  */