@iblai/data-layer 1.12.106 → 1.13.0

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.
package/dist/index.js CHANGED
@@ -40799,6 +40799,17 @@ const USERS_ENDPOINTS = {
40799
40799
  service: exports.SERVICES.LMS,
40800
40800
  path: () => `/api/ibl/users/manage/roles/`,
40801
40801
  },
40802
+ // All roles assigned to a user across every scope (global, org, course).
40803
+ // The same path is served by the CMS/Studio host and, deprecated, by the LMS.
40804
+ // Studio is the default because course-creation roles are only fully
40805
+ // resolvable there; `lmsService` is the fallback for deployments without a
40806
+ // reachable Studio host. Both hosts share one cache tag, so this stays a
40807
+ // single endpoint rather than two.
40808
+ GET_USER_ROLES: {
40809
+ service: exports.SERVICES.STUDIO,
40810
+ lmsService: exports.SERVICES.LMS,
40811
+ path: () => `/api/ibl/users/manage/roles/`,
40812
+ },
40802
40813
  UPLOAD_PROFILE_IMAGE: {
40803
40814
  service: exports.SERVICES.LMS,
40804
40815
  path: (username) => `/api/user/v1/accounts/${username}/image`,
@@ -40828,6 +40839,7 @@ const USERS_QUERY_KEYS = {
40828
40839
  GET_USER_METADATA_EDX: () => ['USER_METADATA_EDX'],
40829
40840
  RESET_PASSWORD: () => ['RESET_PASSWORD'],
40830
40841
  UPDATE_USER_ROLES: () => ['UPDATE_USER_ROLES'],
40842
+ GET_USER_ROLES: () => ['USER_ROLES'],
40831
40843
  UPLOAD_PROFILE_IMAGE: () => ['UPLOAD_PROFILE_IMAGE'],
40832
40844
  EDX_UPDATE_USER_METADATA: () => ['EDX_UPDATE_USER_METADATA'],
40833
40845
  EDX_GET_USER_METADATA: () => ['EDX_GET_USER_METADATA'],
@@ -40842,6 +40854,7 @@ const userApiSlice = react.createApi({
40842
40854
  ...USERS_QUERY_KEYS.GET_USER_METADATA(),
40843
40855
  ...USERS_QUERY_KEYS.GET_USER_METADATA_EDX(),
40844
40856
  ...USERS_QUERY_KEYS.GET_USER_PLATFORM_METADATA(),
40857
+ ...USERS_QUERY_KEYS.GET_USER_ROLES(),
40845
40858
  featureTags.PLATFORM_USERS,
40846
40859
  ],
40847
40860
  endpoints: (builder) => ({
@@ -40902,7 +40915,39 @@ const userApiSlice = react.createApi({
40902
40915
  body: args,
40903
40916
  method: 'POST',
40904
40917
  }),
40905
- invalidatesTags: [featureTags.PLATFORM_USERS],
40918
+ invalidatesTags: [featureTags.PLATFORM_USERS, ...USERS_QUERY_KEYS.GET_USER_ROLES()],
40919
+ }),
40920
+ /**
40921
+ * Every role assigned to a user, across all scopes — global, organization
40922
+ * and individual course. A user with no roles returns `[]`.
40923
+ *
40924
+ * At least one of `username`, `email` or `userId` is required (400
40925
+ * otherwise). Non-staff users can only look up their own roles; asking for
40926
+ * someone else's returns 404.
40927
+ *
40928
+ * Defaults to the CMS/Studio host, where course-creation roles are fully
40929
+ * resolvable; pass `useLms` to fall back to the deprecated LMS host.
40930
+ */
40931
+ getUserRoles: builder.query({
40932
+ query: ({ username, email, userId, useLms }) => {
40933
+ const endpoint = USERS_ENDPOINTS.GET_USER_ROLES;
40934
+ const params = {};
40935
+ if (username) {
40936
+ params.username = username;
40937
+ }
40938
+ if (email) {
40939
+ params.email = email;
40940
+ }
40941
+ if (userId !== undefined) {
40942
+ params.user_id = userId;
40943
+ }
40944
+ return {
40945
+ url: endpoint.path(),
40946
+ service: useLms ? endpoint.lmsService : endpoint.service,
40947
+ params,
40948
+ };
40949
+ },
40950
+ providesTags: USERS_QUERY_KEYS.GET_USER_ROLES(),
40906
40951
  }),
40907
40952
  getUserMetadataEdx: builder.query({
40908
40953
  query: (args) => ({
@@ -40971,7 +41016,27 @@ const userApiSlice = react.createApi({
40971
41016
  }),
40972
41017
  }),
40973
41018
  });
40974
- const { useGetUserMetadataQuery, useLazyGetUserMetadataQuery, useUpdateUserMetadataMutation, useUpdateUserAccountMutation, useResetPasswordMutation, useUpdateUserRoleMutation, useUploadProfileImageMutation, useRemoveProfileImageMutation, useGetUserMetadataEdxQuery, useLazyGetUserMetadataEdxQuery, useUpdateUserMetadataEdxMutation, useGetUserPlatformMetadataQuery, useLazyGetUserPlatformMetadataQuery, useUpdateUserPlatformMetadataMutation, } = userApiSlice;
41019
+ const { useGetUserMetadataQuery, useLazyGetUserMetadataQuery, useUpdateUserMetadataMutation, useUpdateUserAccountMutation, useResetPasswordMutation, useUpdateUserRoleMutation, useGetUserRolesQuery, useLazyGetUserRolesQuery, useUploadProfileImageMutation, useRemoveProfileImageMutation, useGetUserMetadataEdxQuery, useLazyGetUserMetadataEdxQuery, useUpdateUserMetadataEdxMutation, useGetUserPlatformMetadataQuery, useLazyGetUserPlatformMetadataQuery, useUpdateUserPlatformMetadataMutation, } = userApiSlice;
41020
+
41021
+ /**
41022
+ * Scope a role row applies to, read off its `org`/`course` fields:
41023
+ * both empty → global, `org` only → org, both set → course.
41024
+ */
41025
+ const getUserRoleScope = (role) => {
41026
+ if (role.course) {
41027
+ return 'course';
41028
+ }
41029
+ if (role.org) {
41030
+ return 'org';
41031
+ }
41032
+ return 'global';
41033
+ };
41034
+ /** Roles that apply platform-wide (e.g. `staff`). */
41035
+ const filterGlobalUserRoles = (roles) => roles.filter((role) => getUserRoleScope(role) === 'global');
41036
+ /** Roles scoped to an organization, optionally narrowed to one org short name. */
41037
+ const filterOrgUserRoles = (roles, org) => roles.filter((role) => getUserRoleScope(role) === 'org' && (org === undefined || role.org === org));
41038
+ /** Roles scoped to a course run, optionally narrowed to one course ID. */
41039
+ const filterCourseUserRoles = (roles, course) => roles.filter((role) => getUserRoleScope(role) === 'course' && (course === undefined || role.course === course));
40975
41040
 
40976
41041
  /**
40977
41042
  * Shared fetch for the paginated LTI provider list endpoints. Sends
@@ -47801,6 +47866,130 @@ const watchedGroupsApiSlice = react.createApi({
47801
47866
  });
47802
47867
  const { useGetWatchedGroupsQuery, useLazyGetWatchedGroupsQuery, useGetWatchedGroupQuery, useLazyGetWatchedGroupQuery, useCreateWatchedGroupMutation, useUpdateWatchedGroupMutation, useDeleteWatchedGroupMutation, useGetWatchedUsersQuery, useLazyGetWatchedUsersQuery, useAddWatchedUserMutation, useRemoveWatchedUserMutation, useGetWatchersQuery, useLazyGetWatchersQuery, useAddWatcherMutation, useGetWatcherQuery, useUpdateWatcherMutation, useDeleteWatcherMutation, } = watchedGroupsApiSlice;
47803
47868
 
47869
+ const USER_CHAT_HISTORY_REDUCER_PATH = 'userChatHistoryApiSlice';
47870
+ const USER_CHAT_HISTORY_QUERY_KEYS = {
47871
+ GET_USER_CHAT_HISTORY: () => ['USER_CHAT_HISTORY'],
47872
+ GET_USER_CHAT_HISTORY_SESSION: () => ['USER_CHAT_HISTORY_SESSION'],
47873
+ GET_USER_CHAT_HISTORY_FILTER: () => ['USER_CHAT_HISTORY_FILTER'],
47874
+ GET_USER_CHAT_HISTORY_REPORTS: () => ['USER_CHAT_HISTORY_REPORTS'],
47875
+ GET_USER_CHAT_HISTORY_REPORT_STATUS: () => ['USER_CHAT_HISTORY_REPORT_STATUS'],
47876
+ };
47877
+ /**
47878
+ * User-scoped chat history endpoints (`my-chat-history*`). Unlike the admin
47879
+ * `chat-history` family these require no RBAC permissions — the backend only
47880
+ * allows the authenticated user to read their own data, enforced through the
47881
+ * `{userId}` path segment.
47882
+ */
47883
+ const USER_CHAT_HISTORY_ENDPOINTS = {
47884
+ GET_USER_CHAT_HISTORY: {
47885
+ service: exports.SERVICES.DM,
47886
+ path: (org, userId) => `/api/ai-analytics/orgs/${org}/users/${userId}/my-chat-history/`,
47887
+ },
47888
+ GET_USER_CHAT_HISTORY_SESSION: {
47889
+ service: exports.SERVICES.DM,
47890
+ path: (org, userId, sessionId) => `/api/ai-analytics/orgs/${org}/users/${userId}/my-chat-history/${sessionId}/`,
47891
+ },
47892
+ GET_USER_CHAT_HISTORY_FILTER: {
47893
+ service: exports.SERVICES.DM,
47894
+ path: (org, userId) => `/api/ai-analytics/orgs/${org}/users/${userId}/my-chat-history-filter/`,
47895
+ },
47896
+ USER_CHAT_HISTORY_REPORT: {
47897
+ service: exports.SERVICES.DM,
47898
+ path: (org, userId) => `/api/ai-analytics/orgs/${org}/users/${userId}/my-chat-history-report/`,
47899
+ },
47900
+ USER_CHAT_HISTORY_REPORT_STATUS: {
47901
+ service: exports.SERVICES.DM,
47902
+ path: (org, userId, taskId) => `/api/ai-analytics/orgs/${org}/users/${userId}/my-chat-history-report/${taskId}/`,
47903
+ },
47904
+ USER_CHAT_HISTORY_REPORT_DOWNLOAD: {
47905
+ service: exports.SERVICES.DM,
47906
+ path: (org, userId, taskId) => `/api/ai-analytics/orgs/${org}/users/${userId}/my-chat-history-report/${taskId}/download/`,
47907
+ },
47908
+ };
47909
+
47910
+ const userChatHistoryApiSlice = react.createApi({
47911
+ reducerPath: USER_CHAT_HISTORY_REDUCER_PATH,
47912
+ tagTypes: [
47913
+ ...USER_CHAT_HISTORY_QUERY_KEYS.GET_USER_CHAT_HISTORY(),
47914
+ ...USER_CHAT_HISTORY_QUERY_KEYS.GET_USER_CHAT_HISTORY_SESSION(),
47915
+ ...USER_CHAT_HISTORY_QUERY_KEYS.GET_USER_CHAT_HISTORY_FILTER(),
47916
+ ...USER_CHAT_HISTORY_QUERY_KEYS.GET_USER_CHAT_HISTORY_REPORTS(),
47917
+ ...USER_CHAT_HISTORY_QUERY_KEYS.GET_USER_CHAT_HISTORY_REPORT_STATUS(),
47918
+ ],
47919
+ baseQuery: iblFetchBaseQuery,
47920
+ endpoints: (builder) => ({
47921
+ getUserChatHistory: builder.query({
47922
+ query: (args) => ({
47923
+ url: USER_CHAT_HISTORY_ENDPOINTS.GET_USER_CHAT_HISTORY.path(args.org, args.userId),
47924
+ service: USER_CHAT_HISTORY_ENDPOINTS.GET_USER_CHAT_HISTORY.service,
47925
+ params: args.params,
47926
+ }),
47927
+ providesTags: USER_CHAT_HISTORY_QUERY_KEYS.GET_USER_CHAT_HISTORY(),
47928
+ }),
47929
+ getUserChatHistorySession: builder.query({
47930
+ query: (args) => ({
47931
+ url: USER_CHAT_HISTORY_ENDPOINTS.GET_USER_CHAT_HISTORY_SESSION.path(args.org, args.userId, args.sessionId),
47932
+ service: USER_CHAT_HISTORY_ENDPOINTS.GET_USER_CHAT_HISTORY_SESSION.service,
47933
+ }),
47934
+ providesTags: (result, error, args) => [
47935
+ {
47936
+ type: USER_CHAT_HISTORY_QUERY_KEYS.GET_USER_CHAT_HISTORY_SESSION()[0],
47937
+ id: args.sessionId,
47938
+ },
47939
+ ],
47940
+ }),
47941
+ getUserChatHistoryFilter: builder.query({
47942
+ query: (args) => ({
47943
+ url: USER_CHAT_HISTORY_ENDPOINTS.GET_USER_CHAT_HISTORY_FILTER.path(args.org, args.userId),
47944
+ service: USER_CHAT_HISTORY_ENDPOINTS.GET_USER_CHAT_HISTORY_FILTER.service,
47945
+ params: args.params,
47946
+ }),
47947
+ providesTags: USER_CHAT_HISTORY_QUERY_KEYS.GET_USER_CHAT_HISTORY_FILTER(),
47948
+ }),
47949
+ getUserChatHistoryReports: builder.query({
47950
+ query: (args) => ({
47951
+ url: USER_CHAT_HISTORY_ENDPOINTS.USER_CHAT_HISTORY_REPORT.path(args.org, args.userId),
47952
+ service: USER_CHAT_HISTORY_ENDPOINTS.USER_CHAT_HISTORY_REPORT.service,
47953
+ }),
47954
+ providesTags: USER_CHAT_HISTORY_QUERY_KEYS.GET_USER_CHAT_HISTORY_REPORTS(),
47955
+ }),
47956
+ createUserChatHistoryReport: builder.mutation({
47957
+ query: (args) => {
47958
+ var _a;
47959
+ return ({
47960
+ url: USER_CHAT_HISTORY_ENDPOINTS.USER_CHAT_HISTORY_REPORT.path(args.org, args.userId),
47961
+ service: USER_CHAT_HISTORY_ENDPOINTS.USER_CHAT_HISTORY_REPORT.service,
47962
+ method: 'POST',
47963
+ body: (_a = args.body) !== null && _a !== void 0 ? _a : {},
47964
+ });
47965
+ },
47966
+ invalidatesTags: USER_CHAT_HISTORY_QUERY_KEYS.GET_USER_CHAT_HISTORY_REPORTS(),
47967
+ }),
47968
+ getUserChatHistoryReportStatus: builder.query({
47969
+ query: (args) => ({
47970
+ url: USER_CHAT_HISTORY_ENDPOINTS.USER_CHAT_HISTORY_REPORT_STATUS.path(args.org, args.userId, args.taskId),
47971
+ service: USER_CHAT_HISTORY_ENDPOINTS.USER_CHAT_HISTORY_REPORT_STATUS.service,
47972
+ }),
47973
+ providesTags: (result, error, args) => [
47974
+ {
47975
+ type: USER_CHAT_HISTORY_QUERY_KEYS.GET_USER_CHAT_HISTORY_REPORT_STATUS()[0],
47976
+ id: args.taskId,
47977
+ },
47978
+ ],
47979
+ }),
47980
+ }),
47981
+ });
47982
+ const { useGetUserChatHistoryQuery, useLazyGetUserChatHistoryQuery, useGetUserChatHistorySessionQuery, useLazyGetUserChatHistorySessionQuery, useGetUserChatHistoryFilterQuery, useLazyGetUserChatHistoryFilterQuery, useGetUserChatHistoryReportsQuery, useLazyGetUserChatHistoryReportsQuery, useCreateUserChatHistoryReportMutation, useGetUserChatHistoryReportStatusQuery, useLazyGetUserChatHistoryReportStatusQuery, } = userChatHistoryApiSlice;
47983
+
47984
+ /** States in which a report task can still reach `completed`. */
47985
+ const USER_CHAT_HISTORY_REPORT_ACTIVE_STATES = [
47986
+ 'pending',
47987
+ 'running',
47988
+ 'accumulating',
47989
+ 'processing',
47990
+ 'storing',
47991
+ ];
47992
+
47804
47993
  const mentorReducer = {
47805
47994
  [mentorApiSlice.reducerPath]: mentorApiSlice.reducer,
47806
47995
  [tenantApiSlice.reducerPath]: tenantApiSlice.reducer,
@@ -47862,6 +48051,7 @@ const mentorReducer = {
47862
48051
  [supportTicketsApiSlice.reducerPath]: supportTicketsApiSlice.reducer,
47863
48052
  [gradingApiSlice.reducerPath]: gradingApiSlice.reducer,
47864
48053
  [spendCapsApiSlice.reducerPath]: spendCapsApiSlice.reducer,
48054
+ [userChatHistoryApiSlice.reducerPath]: userChatHistoryApiSlice.reducer,
47865
48055
  };
47866
48056
  const mentorMiddleware = [
47867
48057
  mentorApiSlice.middleware,
@@ -47924,6 +48114,7 @@ const mentorMiddleware = [
47924
48114
  supportTicketsApiSlice.middleware,
47925
48115
  gradingApiSlice.middleware,
47926
48116
  spendCapsApiSlice.middleware,
48117
+ userChatHistoryApiSlice.middleware,
47927
48118
  ];
47928
48119
 
47929
48120
  const skillsReducer = {
@@ -47969,6 +48160,7 @@ const skillsReducer = {
47969
48160
  [spendCapsApiSlice.reducerPath]: spendCapsApiSlice.reducer,
47970
48161
  [chatPrivacyApiSlice.reducerPath]: chatPrivacyApiSlice.reducer,
47971
48162
  [agentSkillsApiSlice.reducerPath]: agentSkillsApiSlice.reducer,
48163
+ [userChatHistoryApiSlice.reducerPath]: userChatHistoryApiSlice.reducer,
47972
48164
  };
47973
48165
  const skillsMiddleware = [
47974
48166
  perLearnerApiSlice.middleware,
@@ -48013,6 +48205,7 @@ const skillsMiddleware = [
48013
48205
  spendCapsApiSlice.middleware,
48014
48206
  chatPrivacyApiSlice.middleware,
48015
48207
  agentSkillsApiSlice.middleware,
48208
+ userChatHistoryApiSlice.middleware,
48016
48209
  ];
48017
48210
 
48018
48211
  const initializeDataLayer = (dmUrl, lmsUrl, legacyLmsUrl, storageService, httpErrorHandler = {}, studioUrl) => {
@@ -48116,6 +48309,10 @@ exports.TENANT_LOGO_ENDPOINTS = TENANT_LOGO_ENDPOINTS;
48116
48309
  exports.TENANT_LOGO_QUERY_KEYS = TENANT_LOGO_QUERY_KEYS;
48117
48310
  exports.TENANT_LOGO_REDUCER_PATH = TENANT_LOGO_REDUCER_PATH;
48118
48311
  exports.URL_PATTERNS = URL_PATTERNS;
48312
+ exports.USER_CHAT_HISTORY_ENDPOINTS = USER_CHAT_HISTORY_ENDPOINTS;
48313
+ exports.USER_CHAT_HISTORY_QUERY_KEYS = USER_CHAT_HISTORY_QUERY_KEYS;
48314
+ exports.USER_CHAT_HISTORY_REDUCER_PATH = USER_CHAT_HISTORY_REDUCER_PATH;
48315
+ exports.USER_CHAT_HISTORY_REPORT_ACTIVE_STATES = USER_CHAT_HISTORY_REPORT_ACTIVE_STATES;
48119
48316
  exports.USER_PROGRESS_DATA_POINTS = USER_PROGRESS_DATA_POINTS;
48120
48317
  exports.USER_PROGRESS_SUMMARY_TYPE = USER_PROGRESS_SUMMARY_TYPE;
48121
48318
  exports.WATCHED_GROUPS_ENDPOINTS = WATCHED_GROUPS_ENDPOINTS;
@@ -48168,9 +48365,13 @@ exports.evalTotalPages = evalTotalPages;
48168
48365
  exports.evaluationsApiSlice = evaluationsApiSlice;
48169
48366
  exports.fakeBaseQueryWithLogging = fakeBaseQueryWithLogging;
48170
48367
  exports.featureTags = featureTags;
48368
+ exports.filterCourseUserRoles = filterCourseUserRoles;
48369
+ exports.filterGlobalUserRoles = filterGlobalUserRoles;
48370
+ exports.filterOrgUserRoles = filterOrgUserRoles;
48171
48371
  exports.filterSlashSkills = filterSlashSkills;
48172
48372
  exports.getNextRecentMessagesPageParam = getNextRecentMessagesPageParam;
48173
48373
  exports.getSpendCapExceededError = getSpendCapExceededError;
48374
+ exports.getUserRoleScope = getUserRoleScope;
48174
48375
  exports.gradingApiSlice = gradingApiSlice;
48175
48376
  exports.iblFakeBaseQuery = iblFakeBaseQuery;
48176
48377
  exports.initializeDataLayer = initializeDataLayer;
@@ -48305,6 +48506,7 @@ exports.useCreateStudioCourseMutation = useCreateStudioCourseMutation;
48305
48506
  exports.useCreateStudioXblockMutation = useCreateStudioXblockMutation;
48306
48507
  exports.useCreateSupportTicketMessageMutation = useCreateSupportTicketMessageMutation;
48307
48508
  exports.useCreateTrainingDocumentRetrainScheduleMutation = useCreateTrainingDocumentRetrainScheduleMutation;
48509
+ exports.useCreateUserChatHistoryReportMutation = useCreateUserChatHistoryReportMutation;
48308
48510
  exports.useCreateUserCompanyMutation = useCreateUserCompanyMutation;
48309
48511
  exports.useCreateUserEducationMutation = useCreateUserEducationMutation;
48310
48512
  exports.useCreateUserExperienceMutation = useCreateUserExperienceMutation;
@@ -48602,6 +48804,11 @@ exports.useGetUserAppsQuery = useGetUserAppsQuery;
48602
48804
  exports.useGetUserAssignedCoursesQuery = useGetUserAssignedCoursesQuery;
48603
48805
  exports.useGetUserAssignedPathwaysQuery = useGetUserAssignedPathwaysQuery;
48604
48806
  exports.useGetUserCatalogPathwaysQuery = useGetUserCatalogPathwaysQuery;
48807
+ exports.useGetUserChatHistoryFilterQuery = useGetUserChatHistoryFilterQuery;
48808
+ exports.useGetUserChatHistoryQuery = useGetUserChatHistoryQuery;
48809
+ exports.useGetUserChatHistoryReportStatusQuery = useGetUserChatHistoryReportStatusQuery;
48810
+ exports.useGetUserChatHistoryReportsQuery = useGetUserChatHistoryReportsQuery;
48811
+ exports.useGetUserChatHistorySessionQuery = useGetUserChatHistorySessionQuery;
48605
48812
  exports.useGetUserChatPrivacySettingsQuery = useGetUserChatPrivacySettingsQuery;
48606
48813
  exports.useGetUserCohortsOverTimeQuery = useGetUserCohortsOverTimeQuery;
48607
48814
  exports.useGetUserCompaniesQuery = useGetUserCompaniesQuery;
@@ -48626,6 +48833,7 @@ exports.useGetUserProjectDetailsQuery = useGetUserProjectDetailsQuery;
48626
48833
  exports.useGetUserProjectsQuery = useGetUserProjectsQuery;
48627
48834
  exports.useGetUserReportedSkillsQuery = useGetUserReportedSkillsQuery;
48628
48835
  exports.useGetUserResumeQuery = useGetUserResumeQuery;
48836
+ exports.useGetUserRolesQuery = useGetUserRolesQuery;
48629
48837
  exports.useGetUserSkillsPointsQuery = useGetUserSkillsPointsQuery;
48630
48838
  exports.useGetUserSpendCapQuery = useGetUserSpendCapQuery;
48631
48839
  exports.useGetUserTenantsQuery = useGetUserTenantsQuery;
@@ -48810,6 +49018,11 @@ exports.useLazyGetUserAppsQuery = useLazyGetUserAppsQuery;
48810
49018
  exports.useLazyGetUserAssignedCoursesQuery = useLazyGetUserAssignedCoursesQuery;
48811
49019
  exports.useLazyGetUserAssignedPathwaysQuery = useLazyGetUserAssignedPathwaysQuery;
48812
49020
  exports.useLazyGetUserCatalogPathwaysQuery = useLazyGetUserCatalogPathwaysQuery;
49021
+ exports.useLazyGetUserChatHistoryFilterQuery = useLazyGetUserChatHistoryFilterQuery;
49022
+ exports.useLazyGetUserChatHistoryQuery = useLazyGetUserChatHistoryQuery;
49023
+ exports.useLazyGetUserChatHistoryReportStatusQuery = useLazyGetUserChatHistoryReportStatusQuery;
49024
+ exports.useLazyGetUserChatHistoryReportsQuery = useLazyGetUserChatHistoryReportsQuery;
49025
+ exports.useLazyGetUserChatHistorySessionQuery = useLazyGetUserChatHistorySessionQuery;
48813
49026
  exports.useLazyGetUserChatPrivacySettingsQuery = useLazyGetUserChatPrivacySettingsQuery;
48814
49027
  exports.useLazyGetUserCompaniesQuery = useLazyGetUserCompaniesQuery;
48815
49028
  exports.useLazyGetUserCredentialsQuery = useLazyGetUserCredentialsQuery;
@@ -48830,6 +49043,7 @@ exports.useLazyGetUserProjectDetailsQuery = useLazyGetUserProjectDetailsQuery;
48830
49043
  exports.useLazyGetUserProjectsQuery = useLazyGetUserProjectsQuery;
48831
49044
  exports.useLazyGetUserReportedSkillsQuery = useLazyGetUserReportedSkillsQuery;
48832
49045
  exports.useLazyGetUserResumeQuery = useLazyGetUserResumeQuery;
49046
+ exports.useLazyGetUserRolesQuery = useLazyGetUserRolesQuery;
48833
49047
  exports.useLazyGetUserSkillsPointsQuery = useLazyGetUserSkillsPointsQuery;
48834
49048
  exports.useLazyGetUserSpendCapQuery = useLazyGetUserSpendCapQuery;
48835
49049
  exports.useLazyGetUserTenantsQuery = useLazyGetUserTenantsQuery;
@@ -49020,6 +49234,7 @@ exports.useUsersGradesPassedQuery = useUsersGradesPassedQuery;
49020
49234
  exports.useValidateWorkflowMutation = useValidateWorkflowMutation;
49021
49235
  exports.useWithdrawApplicationMutation = useWithdrawApplicationMutation;
49022
49236
  exports.userApiSlice = userApiSlice;
49237
+ exports.userChatHistoryApiSlice = userChatHistoryApiSlice;
49023
49238
  exports.userInvitationsApiSlice = userInvitationsApiSlice;
49024
49239
  exports.watchedGroupsApiSlice = watchedGroupsApiSlice;
49025
49240
  exports.workflowsApiSlice = workflowsApiSlice;