@iblai/data-layer 1.9.0 → 1.10.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.d.ts +8173 -3738
- package/dist/index.esm.js +294 -35
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +329 -36
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -2
- package/dist/src/features/analytics/__tests__/learner-details.test.d.ts +1 -0
- package/dist/src/features/analytics/api-slice.d.ts +134 -1
- package/dist/src/features/analytics/constants.d.ts +4 -0
- package/dist/src/features/analytics/custom-api-slice.d.ts +8 -311
- package/dist/src/features/analytics/types.d.ts +117 -0
- package/dist/src/features/call-configurations/api-slice.d.ts +20 -20
- package/dist/src/features/chat-privacy/api-slice.d.ts +1398 -0
- package/dist/src/features/chat-privacy/constants.d.ts +13 -0
- package/dist/src/features/core/__tests__/rbac-actions-definition.test.d.ts +1 -0
- package/dist/src/features/core/api-slice.d.ts +3416 -257
- package/dist/src/features/core/types.d.ts +5 -0
- package/dist/src/features/reports/api-slice.d.ts +1 -1
- package/dist/src/features/sessions/__tests__/api-slice.test.d.ts +1 -0
- package/dist/src/features/sessions/__tests__/url.test.d.ts +1 -0
- package/dist/src/features/sessions/api-slice.d.ts +122 -252
- package/dist/src/features/sessions/constants.d.ts +3 -0
- package/dist/src/features/sessions/url.d.ts +9 -0
- package/dist/src/features/user/api-slice.d.ts +14 -14
- package/dist/src/features/user/types.d.ts +6 -0
- package/dist/src/features/utils.d.ts +7 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/tests/features/analytics/custom-api-slice.test.d.ts +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +1 -2
package/dist/index.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var react = require('@reduxjs/toolkit/query/react');
|
|
4
4
|
var query = require('@reduxjs/toolkit/query');
|
|
5
|
+
var react$1 = require('react');
|
|
5
6
|
|
|
6
7
|
class ApiError extends Error {
|
|
7
8
|
constructor(request, response, message) {
|
|
@@ -39241,6 +39242,13 @@ const buildEndpointFromDmService = (serviceFn, options) => buildEndpointFromServ
|
|
|
39241
39242
|
* Shortcut for building an endpoint using the AXD service.
|
|
39242
39243
|
*/
|
|
39243
39244
|
const buildEndpointFromAxdService = (serviceFn, options) => buildEndpointFromService(exports.SERVICES.AXD, serviceFn, options);
|
|
39245
|
+
/**
|
|
39246
|
+
* Build an endpoint from a hand-assembled URL (rather than a generated service
|
|
39247
|
+
* method), routed through `iblFetchBaseQuery`. Defaults to the DM service.
|
|
39248
|
+
*/
|
|
39249
|
+
const buildEndpointFromDmUrl = (buildUrl, service = exports.SERVICES.DM) => ({
|
|
39250
|
+
queryFn: async (args, api, extraOptions) => iblFetchBaseQuery({ url: buildUrl(args), service }, api, extraOptions),
|
|
39251
|
+
});
|
|
39244
39252
|
const isErrorObject = (data) => {
|
|
39245
39253
|
return (typeof data === 'object' &&
|
|
39246
39254
|
data !== null &&
|
|
@@ -40234,8 +40242,8 @@ const USERS_ENDPOINTS = {
|
|
|
40234
40242
|
path: () => `/api/ibl/users/manage/metadata/`,
|
|
40235
40243
|
},
|
|
40236
40244
|
RESET_PASSWORD: {
|
|
40237
|
-
service: exports.SERVICES.
|
|
40238
|
-
path: () => `/account/password`,
|
|
40245
|
+
service: exports.SERVICES.LEGACY_LMS,
|
|
40246
|
+
path: () => `/ibl/edx/account/api/reset-password-token`,
|
|
40239
40247
|
},
|
|
40240
40248
|
UPDATE_USER_ROLES: {
|
|
40241
40249
|
service: exports.SERVICES.LMS,
|
|
@@ -40316,12 +40324,26 @@ const userApiSlice = react.createApi({
|
|
|
40316
40324
|
invalidatesTags: USERS_QUERY_KEYS.GET_USER_METADATA(),
|
|
40317
40325
|
}),
|
|
40318
40326
|
resetPassword: builder.mutation({
|
|
40319
|
-
query: (
|
|
40320
|
-
|
|
40321
|
-
|
|
40322
|
-
|
|
40323
|
-
|
|
40324
|
-
|
|
40327
|
+
query: ({ email, platformKey, redirectTo, app }) => {
|
|
40328
|
+
const payload = {
|
|
40329
|
+
email,
|
|
40330
|
+
};
|
|
40331
|
+
if (platformKey) {
|
|
40332
|
+
payload.platform_key = platformKey;
|
|
40333
|
+
}
|
|
40334
|
+
if (redirectTo) {
|
|
40335
|
+
payload.redirect_to = redirectTo;
|
|
40336
|
+
}
|
|
40337
|
+
if (app) {
|
|
40338
|
+
payload.app = app;
|
|
40339
|
+
}
|
|
40340
|
+
return {
|
|
40341
|
+
url: USERS_ENDPOINTS.RESET_PASSWORD.path(),
|
|
40342
|
+
service: USERS_ENDPOINTS.RESET_PASSWORD.service,
|
|
40343
|
+
body: payload,
|
|
40344
|
+
method: 'POST',
|
|
40345
|
+
};
|
|
40346
|
+
},
|
|
40325
40347
|
}),
|
|
40326
40348
|
updateUserRole: builder.mutation({
|
|
40327
40349
|
query: (args) => ({
|
|
@@ -40411,6 +40433,9 @@ const coreApiSlice = react.createApi({
|
|
|
40411
40433
|
'RbacPolicies',
|
|
40412
40434
|
'RbacRoles',
|
|
40413
40435
|
'RbacTeamsAccess',
|
|
40436
|
+
'LtiKeys',
|
|
40437
|
+
'LtiMentors',
|
|
40438
|
+
'LtiTools',
|
|
40414
40439
|
],
|
|
40415
40440
|
endpoints: (builder) => ({
|
|
40416
40441
|
createRedirectToken: builder.mutation({
|
|
@@ -40670,6 +40695,23 @@ const coreApiSlice = react.createApi({
|
|
|
40670
40695
|
updateRbacMentorAccess: builder.mutation({
|
|
40671
40696
|
...buildEndpointFromDmService(CoreService.coreRbacMentorAccessCreate),
|
|
40672
40697
|
}),
|
|
40698
|
+
getRbacActionsDefinition: builder.query({
|
|
40699
|
+
...buildEndpointFromService(exports.SERVICES.DM, async () => {
|
|
40700
|
+
const url = `${OpenAPI.BASE}/api/core/rbac/actions/definitions/`;
|
|
40701
|
+
const response = await fetch(url, {
|
|
40702
|
+
method: 'GET',
|
|
40703
|
+
headers: OpenAPI.HEADERS,
|
|
40704
|
+
credentials: 'omit',
|
|
40705
|
+
});
|
|
40706
|
+
if (!response.ok) {
|
|
40707
|
+
throw Object.assign(new Error('Failed to fetch RBAC actions definitions'), {
|
|
40708
|
+
status: response.status,
|
|
40709
|
+
body: await response.text(),
|
|
40710
|
+
});
|
|
40711
|
+
}
|
|
40712
|
+
return response.json();
|
|
40713
|
+
}),
|
|
40714
|
+
}),
|
|
40673
40715
|
getRbacTeamsAccessList: builder.query({
|
|
40674
40716
|
...buildEndpointFromDmService(CoreService.coreRbacTeamsAccessList),
|
|
40675
40717
|
providesTags: ['RbacTeamsAccess'],
|
|
@@ -40678,9 +40720,107 @@ const coreApiSlice = react.createApi({
|
|
|
40678
40720
|
...buildEndpointFromDmService(CoreService.coreRbacTeamsAccessCreate),
|
|
40679
40721
|
invalidatesTags: ['RbacTeamsAccess'],
|
|
40680
40722
|
}),
|
|
40723
|
+
// ── LTI 1.3 Provider: Keys (platform-wide RSA signing keys) ──
|
|
40724
|
+
getLtiKeys: builder.query({
|
|
40725
|
+
...buildEndpointFromDmService(CoreService.coreLti1P3ProviderLtiKeysList),
|
|
40726
|
+
providesTags: ['LtiKeys'],
|
|
40727
|
+
}),
|
|
40728
|
+
getLtiKeyDetail: builder.query({
|
|
40729
|
+
...buildEndpointFromDmService(CoreService.coreLti1P3ProviderLtiKeysRetrieve),
|
|
40730
|
+
providesTags: ['LtiKeys'],
|
|
40731
|
+
}),
|
|
40732
|
+
createLtiKey: builder.mutation({
|
|
40733
|
+
...buildEndpointFromDmService(CoreService.coreLti1P3ProviderLtiKeysCreate),
|
|
40734
|
+
invalidatesTags: ['LtiKeys'],
|
|
40735
|
+
}),
|
|
40736
|
+
updateLtiKey: builder.mutation({
|
|
40737
|
+
...buildEndpointFromDmService(CoreService.coreLti1P3ProviderLtiKeysUpdate),
|
|
40738
|
+
invalidatesTags: ['LtiKeys'],
|
|
40739
|
+
}),
|
|
40740
|
+
deleteLtiKey: builder.mutation({
|
|
40741
|
+
// Deleting a key that is still attached to a tool returns 400/409 — fail
|
|
40742
|
+
// fast and surface the message instead of retrying the request 5 times.
|
|
40743
|
+
...buildEndpointFromDmService(CoreService.coreLti1P3ProviderLtiKeysDestroy, {
|
|
40744
|
+
expectedErrorStatuses: [400, 409],
|
|
40745
|
+
}),
|
|
40746
|
+
invalidatesTags: ['LtiKeys'],
|
|
40747
|
+
}),
|
|
40748
|
+
// ── LTI 1.3 Provider: Agent (Mentor) Links ──
|
|
40749
|
+
// Custom call so we can pass the optional `mentor_id` query param (the
|
|
40750
|
+
// mentor's unique_id) and let the backend scope the list to one agent.
|
|
40751
|
+
// The generated CoreService.coreLti1P3ProviderLtiMentorsList only sends
|
|
40752
|
+
// platform_key.
|
|
40753
|
+
getLtiMentors: builder.query({
|
|
40754
|
+
...buildEndpointFromService(exports.SERVICES.DM, async (args) => {
|
|
40755
|
+
const queryParams = new URLSearchParams({ platform_key: args.platformKey });
|
|
40756
|
+
if (args.mentorId)
|
|
40757
|
+
queryParams.set('mentor_id', args.mentorId);
|
|
40758
|
+
const url = `${OpenAPI.BASE}/api/core/lti/1p3/provider/lti-mentors/?${queryParams.toString()}`;
|
|
40759
|
+
const response = await fetch(url, {
|
|
40760
|
+
method: 'GET',
|
|
40761
|
+
headers: OpenAPI.HEADERS,
|
|
40762
|
+
credentials: 'omit',
|
|
40763
|
+
});
|
|
40764
|
+
if (!response.ok) {
|
|
40765
|
+
throw Object.assign(new Error('Failed to fetch LTI mentors'), {
|
|
40766
|
+
status: response.status,
|
|
40767
|
+
body: await response.text(),
|
|
40768
|
+
});
|
|
40769
|
+
}
|
|
40770
|
+
return response.json();
|
|
40771
|
+
}),
|
|
40772
|
+
providesTags: ['LtiMentors'],
|
|
40773
|
+
}),
|
|
40774
|
+
getLtiMentorDetail: builder.query({
|
|
40775
|
+
...buildEndpointFromDmService(CoreService.coreLti1P3ProviderLtiMentorsRetrieve),
|
|
40776
|
+
providesTags: ['LtiMentors'],
|
|
40777
|
+
}),
|
|
40778
|
+
createLtiMentor: builder.mutation({
|
|
40779
|
+
...buildEndpointFromDmService(CoreService.coreLti1P3ProviderLtiMentorsCreate),
|
|
40780
|
+
invalidatesTags: ['LtiMentors'],
|
|
40781
|
+
}),
|
|
40782
|
+
updateLtiMentor: builder.mutation({
|
|
40783
|
+
...buildEndpointFromDmService(CoreService.coreLti1P3ProviderLtiMentorsUpdate),
|
|
40784
|
+
invalidatesTags: ['LtiMentors'],
|
|
40785
|
+
}),
|
|
40786
|
+
deleteLtiMentor: builder.mutation({
|
|
40787
|
+
...buildEndpointFromDmService(CoreService.coreLti1P3ProviderLtiMentorsDestroy, {
|
|
40788
|
+
expectedErrorStatuses: [400, 409],
|
|
40789
|
+
}),
|
|
40790
|
+
invalidatesTags: ['LtiMentors'],
|
|
40791
|
+
}),
|
|
40792
|
+
// ── LTI 1.3 Provider: Tools (platform-wide LTI Platform integrations) ──
|
|
40793
|
+
getLtiTools: builder.query({
|
|
40794
|
+
...buildEndpointFromDmService(CoreService.coreLti1P3ProviderLtiToolsList),
|
|
40795
|
+
providesTags: ['LtiTools'],
|
|
40796
|
+
}),
|
|
40797
|
+
getLtiToolDetail: builder.query({
|
|
40798
|
+
...buildEndpointFromDmService(CoreService.coreLti1P3ProviderLtiToolsRetrieve),
|
|
40799
|
+
providesTags: ['LtiTools'],
|
|
40800
|
+
}),
|
|
40801
|
+
createLtiTool: builder.mutation({
|
|
40802
|
+
...buildEndpointFromDmService(CoreService.coreLti1P3ProviderLtiToolsCreate),
|
|
40803
|
+
invalidatesTags: ['LtiTools'],
|
|
40804
|
+
}),
|
|
40805
|
+
updateLtiTool: builder.mutation({
|
|
40806
|
+
...buildEndpointFromDmService(CoreService.coreLti1P3ProviderLtiToolsUpdate),
|
|
40807
|
+
invalidatesTags: ['LtiTools'],
|
|
40808
|
+
}),
|
|
40809
|
+
deleteLtiTool: builder.mutation({
|
|
40810
|
+
...buildEndpointFromDmService(CoreService.coreLti1P3ProviderLtiToolsDestroy, {
|
|
40811
|
+
expectedErrorStatuses: [400, 409],
|
|
40812
|
+
}),
|
|
40813
|
+
invalidatesTags: ['LtiTools'],
|
|
40814
|
+
}),
|
|
40681
40815
|
}),
|
|
40682
40816
|
});
|
|
40683
|
-
const { useCreateRedirectTokenMutation, useGetPlatformInfoQuery, useGetRbacPermissionsMutation, useLazyGetPlatformInfoQuery, useUpdatePlatformInfoMutation, useUpdateUserStatusMutation, useGetStudentMentorCreationStatusQuery, useSetStudentMentorCreationStatusMutation, useGetRbacGroupsQuery, useCreateRbacGroupMutation, useUpdateRbacGroupMutation, useDeleteRbacGroupMutation, useGetRbacGroupDetailsQuery, useGetRbacPoliciesQuery, useCreateRbacPolicyMutation, useUpdateRbacPolicyMutation, useDeleteRbacPolicyMutation, useGetRbacPolicyDetailsQuery, useGetRbacRolesQuery, useLazyGetRbacRolesQuery, useCreateRbacRoleMutation, useUpdateRbacRoleMutation, usePartialUpdateRbacRoleMutation, useDeleteRbacRoleMutation, useGetRbacRoleDetailsQuery, useGetDepartmentMemberCheckQuery, useLazyGetDepartmentMemberCheckQuery, useGetRbacMentorAccessListQuery, useUpdateRbacMentorAccessMutation, useGetRbacTeamsAccessListQuery, useLazyGetRbacTeamsAccessListQuery, useCreateRbacTeamsAccessMutation,
|
|
40817
|
+
const { useCreateRedirectTokenMutation, useGetPlatformInfoQuery, useGetRbacPermissionsMutation, useLazyGetPlatformInfoQuery, useUpdatePlatformInfoMutation, useUpdateUserStatusMutation, useGetStudentMentorCreationStatusQuery, useSetStudentMentorCreationStatusMutation, useGetRbacGroupsQuery, useCreateRbacGroupMutation, useUpdateRbacGroupMutation, useDeleteRbacGroupMutation, useGetRbacGroupDetailsQuery, useGetRbacPoliciesQuery, useCreateRbacPolicyMutation, useUpdateRbacPolicyMutation, useDeleteRbacPolicyMutation, useGetRbacPolicyDetailsQuery, useGetRbacRolesQuery, useLazyGetRbacRolesQuery, useCreateRbacRoleMutation, useUpdateRbacRoleMutation, usePartialUpdateRbacRoleMutation, useDeleteRbacRoleMutation, useGetRbacRoleDetailsQuery, useGetDepartmentMemberCheckQuery, useLazyGetDepartmentMemberCheckQuery, useGetRbacMentorAccessListQuery, useUpdateRbacMentorAccessMutation, useGetRbacActionsDefinitionQuery, useLazyGetRbacActionsDefinitionQuery, useGetRbacTeamsAccessListQuery, useLazyGetRbacTeamsAccessListQuery, useCreateRbacTeamsAccessMutation,
|
|
40818
|
+
// LTI Keys
|
|
40819
|
+
useGetLtiKeysQuery, useGetLtiKeyDetailQuery, useLazyGetLtiKeyDetailQuery, useCreateLtiKeyMutation, useUpdateLtiKeyMutation, useDeleteLtiKeyMutation,
|
|
40820
|
+
// LTI Agent (Mentor) Links
|
|
40821
|
+
useGetLtiMentorsQuery, useGetLtiMentorDetailQuery, useCreateLtiMentorMutation, useUpdateLtiMentorMutation, useDeleteLtiMentorMutation,
|
|
40822
|
+
// LTI Tools
|
|
40823
|
+
useGetLtiToolsQuery, useGetLtiToolDetailQuery, useCreateLtiToolMutation, useUpdateLtiToolMutation, useDeleteLtiToolMutation, } = coreApiSlice;
|
|
40684
40824
|
|
|
40685
40825
|
const LOGO_ENDPOINTS = {
|
|
40686
40826
|
light_logo: (platformKey) => getServiceUrl(exports.SERVICES.AXD) + `/api/core/orgs/${platformKey}/logo`,
|
|
@@ -41112,6 +41252,92 @@ const credentialsApiSlice = react.createApi({
|
|
|
41112
41252
|
});
|
|
41113
41253
|
const { useGetCredentialsQuery, useLazyGetCredentialsQuery, useGetUserCredentialsQuery, useLazyGetUserCredentialsQuery, useCreateCallCredentialsMutation, useGetIntegrationCredentialsQuery, useLazyGetIntegrationCredentialsQuery, useCreateIntegrationCredentialMutation, useUpdateIntegrationCredentialMutation, useGetLLMCredentialsQuery, useLazyGetLLMCredentialsQuery, useCreateLLMCredentialMutation, useGetConnectedServiceAuthUrlQuery, useLazyGetConnectedServiceAuthUrlQuery, useConnectedServicesCallbackQuery, useLazyConnectedServicesCallbackQuery, useGetUsersAsAssertionsQuery, useLazyGetUsersAsAssertionsQuery, useCreateCredentialAssertionMutation, useGetCredentialsListQuery, useLazyGetCredentialsListQuery, useCreateCredentialMutation, useUpdateCredentialMutation, useDeleteCourseCredentialMutation, useGetProviderConfigQuery, useLazyGetProviderConfigQuery, useCreateProviderConfigMutation, useDeleteProviderConfigMutation, useGetExternalMappingQuery, useLazyGetExternalMappingQuery, useCreateExternalMappingMutation, useDeleteExternalMappingMutation, } = credentialsApiSlice;
|
|
41114
41254
|
|
|
41255
|
+
const chatPrivacyApiSlice = react.createApi({
|
|
41256
|
+
reducerPath: 'chatPrivacyApiSlice',
|
|
41257
|
+
baseQuery: iblFetchBaseQuery,
|
|
41258
|
+
tagTypes: ['TenantChatPrivacyConfig', 'UserChatPrivacySettings', 'ChatPrivacyEffective'],
|
|
41259
|
+
endpoints: (builder) => ({
|
|
41260
|
+
getTenantChatPrivacyConfig: builder.query({
|
|
41261
|
+
query: ({ org, userId }) => ({
|
|
41262
|
+
url: `/api/ai-account/orgs/${org}/users/${userId}/chat-privacy-config/`,
|
|
41263
|
+
service: exports.SERVICES.DM,
|
|
41264
|
+
}),
|
|
41265
|
+
providesTags: ['TenantChatPrivacyConfig'],
|
|
41266
|
+
}),
|
|
41267
|
+
updateTenantChatPrivacyConfig: builder.mutation({
|
|
41268
|
+
query: ({ org, userId, requestBody }) => ({
|
|
41269
|
+
url: `/api/ai-account/orgs/${org}/users/${userId}/chat-privacy-config/`,
|
|
41270
|
+
method: 'PATCH',
|
|
41271
|
+
body: requestBody,
|
|
41272
|
+
service: exports.SERVICES.DM,
|
|
41273
|
+
}),
|
|
41274
|
+
invalidatesTags: ['TenantChatPrivacyConfig', 'ChatPrivacyEffective'],
|
|
41275
|
+
}),
|
|
41276
|
+
getUserChatPrivacySettings: builder.query({
|
|
41277
|
+
query: ({ org, userId }) => ({
|
|
41278
|
+
url: `/api/ai-account/orgs/${org}/users/${userId}/chat-privacy-settings/`,
|
|
41279
|
+
service: exports.SERVICES.DM,
|
|
41280
|
+
}),
|
|
41281
|
+
providesTags: ['UserChatPrivacySettings'],
|
|
41282
|
+
}),
|
|
41283
|
+
updateUserChatPrivacySettings: builder.mutation({
|
|
41284
|
+
query: ({ org, userId, requestBody }) => ({
|
|
41285
|
+
url: `/api/ai-account/orgs/${org}/users/${userId}/chat-privacy-settings/`,
|
|
41286
|
+
method: 'POST',
|
|
41287
|
+
body: requestBody,
|
|
41288
|
+
service: exports.SERVICES.DM,
|
|
41289
|
+
}),
|
|
41290
|
+
invalidatesTags: ['UserChatPrivacySettings', 'ChatPrivacyEffective'],
|
|
41291
|
+
}),
|
|
41292
|
+
getChatPrivacyEffective: builder.query({
|
|
41293
|
+
query: ({ org, userId, mentor, session }) => {
|
|
41294
|
+
const params = new URLSearchParams();
|
|
41295
|
+
if (mentor)
|
|
41296
|
+
params.append('mentor', mentor);
|
|
41297
|
+
if (session)
|
|
41298
|
+
params.append('session', session);
|
|
41299
|
+
const qs = params.toString();
|
|
41300
|
+
return {
|
|
41301
|
+
url: `/api/ai-account/orgs/${org}/users/${userId}/chat-privacy-effective/${qs ? `?${qs}` : ''}`,
|
|
41302
|
+
service: exports.SERVICES.DM,
|
|
41303
|
+
};
|
|
41304
|
+
},
|
|
41305
|
+
providesTags: ['ChatPrivacyEffective'],
|
|
41306
|
+
}),
|
|
41307
|
+
// One-way switch: flipping a session to disable_chathistory: true also
|
|
41308
|
+
// removes it from the user's history list (backend nulls Session.student).
|
|
41309
|
+
// Per the spec, true → false is rejected with 400; the user must start a
|
|
41310
|
+
// new conversation to resume history.
|
|
41311
|
+
//
|
|
41312
|
+
// Important — this endpoint lives under `/api/ai-mentor/…`, NOT under
|
|
41313
|
+
// `/api/ai-account/…` like the other chat-privacy endpoints. The
|
|
41314
|
+
// generated typed client is
|
|
41315
|
+
// `AiMentorService.aiMentorOrgsUsersSessionsDisableChathistoryCreate`.
|
|
41316
|
+
// (Both prefixes resolve to the same dm host, so SERVICES.DM is fine.)
|
|
41317
|
+
updateSessionDisableChathistory: builder.mutation({
|
|
41318
|
+
query: ({ org, userId, sessionId, requestBody }) => ({
|
|
41319
|
+
url: `/api/ai-mentor/orgs/${org}/users/${userId}/sessions/${sessionId}/disable-chathistory/`,
|
|
41320
|
+
method: 'POST',
|
|
41321
|
+
body: requestBody,
|
|
41322
|
+
service: exports.SERVICES.DM,
|
|
41323
|
+
}),
|
|
41324
|
+
invalidatesTags: ['ChatPrivacyEffective'],
|
|
41325
|
+
}),
|
|
41326
|
+
}),
|
|
41327
|
+
});
|
|
41328
|
+
const { useGetTenantChatPrivacyConfigQuery, useLazyGetTenantChatPrivacyConfigQuery, useUpdateTenantChatPrivacyConfigMutation, useGetUserChatPrivacySettingsQuery, useLazyGetUserChatPrivacySettingsQuery, useUpdateUserChatPrivacySettingsMutation, useGetChatPrivacyEffectiveQuery, useLazyGetChatPrivacyEffectiveQuery, useUpdateSessionDisableChathistoryMutation, } = chatPrivacyApiSlice;
|
|
41329
|
+
|
|
41330
|
+
const ChatPrivacyModeEnum = {
|
|
41331
|
+
NORMAL: 'normal',
|
|
41332
|
+
ANONYMIZED: 'anonymized',
|
|
41333
|
+
DISABLED: 'disabled',
|
|
41334
|
+
};
|
|
41335
|
+
const CHAT_PRIVACY_MODES = [
|
|
41336
|
+
ChatPrivacyModeEnum.NORMAL,
|
|
41337
|
+
ChatPrivacyModeEnum.ANONYMIZED,
|
|
41338
|
+
ChatPrivacyModeEnum.DISABLED,
|
|
41339
|
+
];
|
|
41340
|
+
|
|
41115
41341
|
const userInvitationsApiSlice = react.createApi({
|
|
41116
41342
|
reducerPath: 'userInvitationsApiSlice',
|
|
41117
41343
|
baseQuery: iblFakeBaseQuery,
|
|
@@ -41600,6 +41826,23 @@ const stripeApiSlice = react.createApi({
|
|
|
41600
41826
|
});
|
|
41601
41827
|
const { useGetStripeContextQuery, useLazyGetStripeContextQuery, useGetStripePricingPageSessionQuery, useLazyGetStripePricingPageSessionQuery, useCreateStripeCheckoutSessionMutation, } = stripeApiSlice;
|
|
41602
41828
|
|
|
41829
|
+
const CHAT_HISTORY_PAGE_SIZE = 10;
|
|
41830
|
+
const CHAT_HISTORY_PAGE_PARAM = 'page';
|
|
41831
|
+
const CHAT_HISTORY_PAGE_SIZE_PARAM = 'page_size';
|
|
41832
|
+
|
|
41833
|
+
const buildChatHistoryQuery = (page, pageSize) => {
|
|
41834
|
+
const params = new URLSearchParams();
|
|
41835
|
+
if (page !== undefined)
|
|
41836
|
+
params.append(CHAT_HISTORY_PAGE_PARAM, page.toString());
|
|
41837
|
+
if (pageSize !== undefined) {
|
|
41838
|
+
params.append(CHAT_HISTORY_PAGE_SIZE_PARAM, pageSize.toString());
|
|
41839
|
+
}
|
|
41840
|
+
const queryString = params.toString();
|
|
41841
|
+
return queryString ? `?${queryString}` : '';
|
|
41842
|
+
};
|
|
41843
|
+
const buildSessionRetrieveUrl = ({ org, sessionId, userId, page, pageSize, }) => `/api/ai-mentor/orgs/${org}/users/${userId !== null && userId !== void 0 ? userId : ''}/sessions/${sessionId}/${buildChatHistoryQuery(page, pageSize)}`;
|
|
41844
|
+
const buildSharedSessionRetrieveUrl = ({ org, sessionId, userId, page, pageSize, }) => `/api/ai-mentor/orgs/${org}/users/${userId}/sessions/${sessionId}/shared/${buildChatHistoryQuery(page, pageSize)}`;
|
|
41845
|
+
|
|
41603
41846
|
const sessionApiSlice = react.createApi({
|
|
41604
41847
|
reducerPath: 'sessionApiSlice',
|
|
41605
41848
|
baseQuery: iblFakeBaseQuery,
|
|
@@ -41610,11 +41853,11 @@ const sessionApiSlice = react.createApi({
|
|
|
41610
41853
|
invalidatesTags: ['sessionId'],
|
|
41611
41854
|
}),
|
|
41612
41855
|
getSessionId: builder.query({
|
|
41613
|
-
...
|
|
41856
|
+
...buildEndpointFromDmUrl(buildSessionRetrieveUrl),
|
|
41614
41857
|
providesTags: ['sessionId'],
|
|
41615
41858
|
}),
|
|
41616
41859
|
getSharedSessionId: builder.query({
|
|
41617
|
-
...
|
|
41860
|
+
...buildEndpointFromDmUrl(buildSharedSessionRetrieveUrl),
|
|
41618
41861
|
providesTags: ['sessionId'],
|
|
41619
41862
|
}),
|
|
41620
41863
|
editSession: builder.mutation({
|
|
@@ -41767,6 +42010,10 @@ const NON_AI_ANALYTICS_ENDPOINTS = {
|
|
|
41767
42010
|
service: exports.SERVICES.DM,
|
|
41768
42011
|
path: (content_id) => `/api/analytics/content/details/${content_id}/`,
|
|
41769
42012
|
},
|
|
42013
|
+
GET_LEARNER_DETAILS: {
|
|
42014
|
+
service: exports.SERVICES.DM,
|
|
42015
|
+
path: (username, platform_key, metrics, course_id, include_edx_progress, program_id) => `/api/analytics/learner/details?username=${username}&platform_key=${platform_key}&metrics=${metrics}${course_id ? `&course_id=${encodeURIComponent(course_id)}` : ''}${program_id ? `&program_id=${encodeURIComponent(program_id)}` : ''}${include_edx_progress !== undefined ? `&include_edx_progress=${include_edx_progress}` : ''}`,
|
|
42016
|
+
},
|
|
41770
42017
|
};
|
|
41771
42018
|
const ANALYTICS_REDUCER_PATH = 'analyticsApiSlice';
|
|
41772
42019
|
|
|
@@ -42065,28 +42312,34 @@ const analyticsApiSlice = react.createApi({
|
|
|
42065
42312
|
params: args,
|
|
42066
42313
|
}),
|
|
42067
42314
|
}),
|
|
42068
|
-
|
|
42069
|
-
|
|
42070
|
-
|
|
42071
|
-
|
|
42072
|
-
const analyticsCustomSlice = react.createApi({
|
|
42073
|
-
reducerPath: 'analyticsCustomApiSlice',
|
|
42074
|
-
baseQuery: iblFetchBaseQuery,
|
|
42075
|
-
tagTypes: ['Analytics'],
|
|
42076
|
-
endpoints: (builder) => ({
|
|
42077
|
-
getDownloadReportFromURL: builder.query({
|
|
42078
|
-
query: ({ url }) => ({
|
|
42079
|
-
url: url,
|
|
42080
|
-
service: exports.SERVICES.DM,
|
|
42081
|
-
method: 'GET',
|
|
42082
|
-
responseHandler: (response) => response.blob(),
|
|
42315
|
+
getLearnerDetails: builder.query({
|
|
42316
|
+
query: (args) => ({
|
|
42317
|
+
url: NON_AI_ANALYTICS_ENDPOINTS.GET_LEARNER_DETAILS.path(args.username, args.platform_key, args.metrics, args.course_id, args.include_edx_progress, args.program_id),
|
|
42318
|
+
service: NON_AI_ANALYTICS_ENDPOINTS.GET_LEARNER_DETAILS.service,
|
|
42083
42319
|
}),
|
|
42084
|
-
// Blobs are non-serializable; disable caching to prevent Redux serialization warnings
|
|
42085
|
-
keepUnusedDataFor: 0,
|
|
42086
42320
|
}),
|
|
42087
42321
|
}),
|
|
42088
42322
|
});
|
|
42089
|
-
const {
|
|
42323
|
+
const { useGetOverviewSummaryQuery, useGetConversationQuery, useGetMostDiscussedTopicsQuery, useGetAverageMessagesPerSessionQuery, useGetRegisteredUsersTrendQuery, useGetUserMetricsQuery, useGetUserMetricsPieChartQuery, useGetUserCohortsOverTimeQuery, useGetTopStudentsByChatMessagesQuery, useGetTopicOverviewQuery, useGetTopicsSummaryQuery, useGetTopicStatisticsQuery, useGetTopicsStatsQuery, useGetUsersStatsQuery, useGetSessionStatsQuery, useGetTopicsDetailsStatsQuery, useGetAccessTimeHeatmapQuery, useGetUserDetailsStatsQuery, useGetAverageRatingQuery, useGetFinancialStatsQuery, useGetDetailedFinancialStatsQuery, useGetTranscriptsMessagesQuery, useGetTranscriptsMessagesDetailsQuery, useTimeTrackingMutation, useGetTranscriptsConversationHeadlineQuery, useGetContentAnalyticsQuery, useGetContentAnalyticsDetailsQuery, useGetLearnerDetailsQuery, } = analyticsApiSlice;
|
|
42324
|
+
|
|
42325
|
+
const useLazyGetDownloadReportFromURLQuery = () => {
|
|
42326
|
+
const fetchReportBlob = react$1.useCallback(({ url }) => {
|
|
42327
|
+
const promise = (async () => {
|
|
42328
|
+
const authHeaders = await getHeaders(exports.SERVICES.DM);
|
|
42329
|
+
const response = await fetch(url, {
|
|
42330
|
+
method: 'GET',
|
|
42331
|
+
credentials: 'omit',
|
|
42332
|
+
headers: { ...(authHeaders !== null && authHeaders !== void 0 ? authHeaders : {}) },
|
|
42333
|
+
});
|
|
42334
|
+
if (!response.ok) {
|
|
42335
|
+
throw new Error(`Failed to download report (status ${response.status})`);
|
|
42336
|
+
}
|
|
42337
|
+
return response.blob();
|
|
42338
|
+
})();
|
|
42339
|
+
return { unwrap: () => promise };
|
|
42340
|
+
}, []);
|
|
42341
|
+
return [fetchReportBlob];
|
|
42342
|
+
};
|
|
42090
42343
|
|
|
42091
42344
|
const reportsApiSlice = react.createApi({
|
|
42092
42345
|
reducerPath: 'reportsApiSlice',
|
|
@@ -42128,7 +42381,11 @@ const reportsApiSlice = react.createApi({
|
|
|
42128
42381
|
providesTags: ['reports'],
|
|
42129
42382
|
}),
|
|
42130
42383
|
getReportDetail: builder.query({
|
|
42131
|
-
...buildEndpointFromDmService(ReportsService.reportsPlatformsRetrieve2
|
|
42384
|
+
...buildEndpointFromDmService(({ key, reportName, mentor_unique_id }) => ReportsService.reportsPlatformsRetrieve2({
|
|
42385
|
+
key,
|
|
42386
|
+
reportName,
|
|
42387
|
+
mentorUniqueId: mentor_unique_id,
|
|
42388
|
+
})),
|
|
42132
42389
|
providesTags: ['reportDetail'],
|
|
42133
42390
|
}),
|
|
42134
42391
|
createReport: builder.mutation({
|
|
@@ -45469,7 +45726,6 @@ const mentorReducer = {
|
|
|
45469
45726
|
[artifactsApiSlice.reducerPath]: artifactsApiSlice.reducer,
|
|
45470
45727
|
[coreFakeCustomPublicImageAssetApiSlice.reducerPath]: coreFakeCustomPublicImageAssetApiSlice.reducer,
|
|
45471
45728
|
[billingCustomSlice.reducerPath]: billingCustomSlice.reducer,
|
|
45472
|
-
[analyticsCustomSlice.reducerPath]: analyticsCustomSlice.reducer,
|
|
45473
45729
|
[retirementApiSlice.reducerPath]: retirementApiSlice.reducer,
|
|
45474
45730
|
[auditLogsApiSlice.reducerPath]: auditLogsApiSlice.reducer,
|
|
45475
45731
|
[monetizationApiSlice.reducerPath]: monetizationApiSlice.reducer,
|
|
@@ -45478,6 +45734,8 @@ const mentorReducer = {
|
|
|
45478
45734
|
[edxSsoApiSlice.reducerPath]: edxSsoApiSlice.reducer,
|
|
45479
45735
|
[clawApiSlice.reducerPath]: clawApiSlice.reducer,
|
|
45480
45736
|
[watchedGroupsApiSlice.reducerPath]: watchedGroupsApiSlice.reducer,
|
|
45737
|
+
[chatPrivacyApiSlice.reducerPath]: chatPrivacyApiSlice.reducer,
|
|
45738
|
+
[skillsApiSlice.reducerPath]: skillsApiSlice.reducer,
|
|
45481
45739
|
};
|
|
45482
45740
|
const mentorMiddleware = [
|
|
45483
45741
|
mentorApiSlice.middleware,
|
|
@@ -45524,7 +45782,6 @@ const mentorMiddleware = [
|
|
|
45524
45782
|
artifactsApiSlice.middleware,
|
|
45525
45783
|
coreFakeCustomPublicImageAssetApiSlice.middleware,
|
|
45526
45784
|
billingCustomSlice.middleware,
|
|
45527
|
-
analyticsCustomSlice.middleware,
|
|
45528
45785
|
retirementApiSlice.middleware,
|
|
45529
45786
|
auditLogsApiSlice.middleware,
|
|
45530
45787
|
monetizationApiSlice.middleware,
|
|
@@ -45533,6 +45790,8 @@ const mentorMiddleware = [
|
|
|
45533
45790
|
edxSsoApiSlice.middleware,
|
|
45534
45791
|
clawApiSlice.middleware,
|
|
45535
45792
|
watchedGroupsApiSlice.middleware,
|
|
45793
|
+
chatPrivacyApiSlice.middleware,
|
|
45794
|
+
skillsApiSlice.middleware,
|
|
45536
45795
|
];
|
|
45537
45796
|
|
|
45538
45797
|
const skillsReducer = {
|
|
@@ -45567,7 +45826,6 @@ const skillsReducer = {
|
|
|
45567
45826
|
[artifactsApiSlice.reducerPath]: artifactsApiSlice.reducer,
|
|
45568
45827
|
[coreFakeCustomPublicImageAssetApiSlice.reducerPath]: coreFakeCustomPublicImageAssetApiSlice.reducer,
|
|
45569
45828
|
[billingCustomSlice.reducerPath]: billingCustomSlice.reducer,
|
|
45570
|
-
[analyticsCustomSlice.reducerPath]: analyticsCustomSlice.reducer,
|
|
45571
45829
|
[retirementApiSlice.reducerPath]: retirementApiSlice.reducer,
|
|
45572
45830
|
[monetizationApiSlice.reducerPath]: monetizationApiSlice.reducer,
|
|
45573
45831
|
[memoryApiSlice.reducerPath]: memoryApiSlice.reducer,
|
|
@@ -45575,6 +45833,7 @@ const skillsReducer = {
|
|
|
45575
45833
|
[courseMetadataApiSlice.reducerPath]: courseMetadataApiSlice.reducer,
|
|
45576
45834
|
[edxSsoApiSlice.reducerPath]: edxSsoApiSlice.reducer,
|
|
45577
45835
|
[watchedGroupsApiSlice.reducerPath]: watchedGroupsApiSlice.reducer,
|
|
45836
|
+
[chatPrivacyApiSlice.reducerPath]: chatPrivacyApiSlice.reducer,
|
|
45578
45837
|
};
|
|
45579
45838
|
const skillsMiddleware = [
|
|
45580
45839
|
perLearnerApiSlice.middleware,
|
|
@@ -45608,7 +45867,6 @@ const skillsMiddleware = [
|
|
|
45608
45867
|
artifactsApiSlice.middleware,
|
|
45609
45868
|
coreFakeCustomPublicImageAssetApiSlice.middleware,
|
|
45610
45869
|
billingCustomSlice.middleware,
|
|
45611
|
-
analyticsCustomSlice.middleware,
|
|
45612
45870
|
retirementApiSlice.middleware,
|
|
45613
45871
|
monetizationApiSlice.middleware,
|
|
45614
45872
|
memoryApiSlice.middleware,
|
|
@@ -45616,6 +45874,7 @@ const skillsMiddleware = [
|
|
|
45616
45874
|
courseMetadataApiSlice.middleware,
|
|
45617
45875
|
edxSsoApiSlice.middleware,
|
|
45618
45876
|
watchedGroupsApiSlice.middleware,
|
|
45877
|
+
chatPrivacyApiSlice.middleware,
|
|
45619
45878
|
];
|
|
45620
45879
|
|
|
45621
45880
|
const initializeDataLayer = (dmUrl, lmsUrl, legacyLmsUrl, storageService, httpErrorHandler = {}) => {
|
|
@@ -45633,6 +45892,10 @@ exports.AUDIT_LOGS_REDUCER_PATH = AUDIT_LOGS_REDUCER_PATH;
|
|
|
45633
45892
|
exports.CALL_CONFIGURATIONS_ENDPOINTS = CALL_CONFIGURATIONS_ENDPOINTS;
|
|
45634
45893
|
exports.CALL_CONFIGURATIONS_REDUCER_PATH = CALL_CONFIGURATIONS_REDUCER_PATH;
|
|
45635
45894
|
exports.CALL_CONFIGURATIONS_TAGS = CALL_CONFIGURATIONS_TAGS;
|
|
45895
|
+
exports.CHAT_HISTORY_PAGE_PARAM = CHAT_HISTORY_PAGE_PARAM;
|
|
45896
|
+
exports.CHAT_HISTORY_PAGE_SIZE = CHAT_HISTORY_PAGE_SIZE;
|
|
45897
|
+
exports.CHAT_HISTORY_PAGE_SIZE_PARAM = CHAT_HISTORY_PAGE_SIZE_PARAM;
|
|
45898
|
+
exports.CHAT_PRIVACY_MODES = CHAT_PRIVACY_MODES;
|
|
45636
45899
|
exports.CLAW_ENDPOINTS = CLAW_ENDPOINTS;
|
|
45637
45900
|
exports.CLAW_REDUCER_PATH = CLAW_REDUCER_PATH;
|
|
45638
45901
|
exports.CLAW_TAG_TYPES = CLAW_TAG_TYPES;
|
|
@@ -45647,6 +45910,7 @@ exports.CUSTOM_AI_SEARCH_REDUCER_PATH = CUSTOM_AI_SEARCH_REDUCER_PATH;
|
|
|
45647
45910
|
exports.CUSTOM_DOMAIN_ENDPOINTS = CUSTOM_DOMAIN_ENDPOINTS;
|
|
45648
45911
|
exports.CUSTOM_DOMAIN_QUERY_KEYS = CUSTOM_DOMAIN_QUERY_KEYS;
|
|
45649
45912
|
exports.CUSTOM_DOMAIN_REDUCER_PATH = CUSTOM_DOMAIN_REDUCER_PATH;
|
|
45913
|
+
exports.ChatPrivacyModeEnum = ChatPrivacyModeEnum;
|
|
45650
45914
|
exports.DEFAULT_PRIVACY_ACTION = DEFAULT_PRIVACY_ACTION;
|
|
45651
45915
|
exports.DEFAULT_PRIVACY_RESPONSE = DEFAULT_PRIVACY_RESPONSE;
|
|
45652
45916
|
exports.DISCLAIMERS_ENDPOINTS = DISCLAIMERS_ENDPOINTS;
|
|
@@ -45698,7 +45962,6 @@ exports.WORKFLOWS_ENDPOINTS = WORKFLOWS_ENDPOINTS;
|
|
|
45698
45962
|
exports.WORKFLOWS_QUERY_KEYS = WORKFLOWS_QUERY_KEYS;
|
|
45699
45963
|
exports.WORKFLOWS_REDUCER_PATH = WORKFLOWS_REDUCER_PATH;
|
|
45700
45964
|
exports.analyticsApiSlice = analyticsApiSlice;
|
|
45701
|
-
exports.analyticsCustomSlice = analyticsCustomSlice;
|
|
45702
45965
|
exports.apiKeysApiReducer = apiKeysApiReducer;
|
|
45703
45966
|
exports.apiKeysApiSlice = apiKeysApiSlice;
|
|
45704
45967
|
exports.appApiReducer = appApiReducer;
|
|
@@ -45709,6 +45972,8 @@ exports.auditLogsApiSlice = auditLogsApiSlice;
|
|
|
45709
45972
|
exports.authApiSlice = authApiSlice;
|
|
45710
45973
|
exports.billingApiSlice = billingApiSlice;
|
|
45711
45974
|
exports.billingCustomSlice = billingCustomSlice;
|
|
45975
|
+
exports.buildSessionRetrieveUrl = buildSessionRetrieveUrl;
|
|
45976
|
+
exports.buildSharedSessionRetrieveUrl = buildSharedSessionRetrieveUrl;
|
|
45712
45977
|
exports.callConfigurationsApiReducer = callConfigurationsApiReducer;
|
|
45713
45978
|
exports.callConfigurationsApiSlice = callConfigurationsApiSlice;
|
|
45714
45979
|
exports.careerApiSlice = careerApiSlice;
|
|
@@ -45717,6 +45982,7 @@ exports.chatApiSlice = chatApiSlice;
|
|
|
45717
45982
|
exports.chatCustomApiSlice = chatCustomApiSlice;
|
|
45718
45983
|
exports.chatFilesApiSlice = chatFilesApiSlice;
|
|
45719
45984
|
exports.chatHistoryApiSlice = chatHistoryApiSlice;
|
|
45985
|
+
exports.chatPrivacyApiSlice = chatPrivacyApiSlice;
|
|
45720
45986
|
exports.clawApiSlice = clawApiSlice;
|
|
45721
45987
|
exports.coreApiSlice = coreApiSlice;
|
|
45722
45988
|
exports.coreCustomApiSlice = coreCustomApiSlice;
|
|
@@ -45813,6 +46079,9 @@ exports.useCreateGlobalMemoryMutation = useCreateGlobalMemoryMutation;
|
|
|
45813
46079
|
exports.useCreateGuestCheckoutMutation = useCreateGuestCheckoutMutation;
|
|
45814
46080
|
exports.useCreateIntegrationCredentialMutation = useCreateIntegrationCredentialMutation;
|
|
45815
46081
|
exports.useCreateLLMCredentialMutation = useCreateLLMCredentialMutation;
|
|
46082
|
+
exports.useCreateLtiKeyMutation = useCreateLtiKeyMutation;
|
|
46083
|
+
exports.useCreateLtiMentorMutation = useCreateLtiMentorMutation;
|
|
46084
|
+
exports.useCreateLtiToolMutation = useCreateLtiToolMutation;
|
|
45816
46085
|
exports.useCreateMCPServerConnectionMutation = useCreateMCPServerConnectionMutation;
|
|
45817
46086
|
exports.useCreateMCPServerMutation = useCreateMCPServerMutation;
|
|
45818
46087
|
exports.useCreateMemoryCategoryMutation = useCreateMemoryCategoryMutation;
|
|
@@ -45863,6 +46132,9 @@ exports.useDeleteDisclaimerMutation = useDeleteDisclaimerMutation;
|
|
|
45863
46132
|
exports.useDeleteExternalMappingMutation = useDeleteExternalMappingMutation;
|
|
45864
46133
|
exports.useDeleteGlobalMemoryMutation = useDeleteGlobalMemoryMutation;
|
|
45865
46134
|
exports.useDeleteIntegrationCredentialMutation = useDeleteIntegrationCredentialMutation;
|
|
46135
|
+
exports.useDeleteLtiKeyMutation = useDeleteLtiKeyMutation;
|
|
46136
|
+
exports.useDeleteLtiMentorMutation = useDeleteLtiMentorMutation;
|
|
46137
|
+
exports.useDeleteLtiToolMutation = useDeleteLtiToolMutation;
|
|
45866
46138
|
exports.useDeleteMCPServerMutation = useDeleteMCPServerMutation;
|
|
45867
46139
|
exports.useDeleteMemoryCategoryMutation = useDeleteMemoryCategoryMutation;
|
|
45868
46140
|
exports.useDeleteMentorMemoryMutation = useDeleteMentorMemoryMutation;
|
|
@@ -45927,6 +46199,7 @@ exports.useGetChatHistoryFilterQuery = useGetChatHistoryFilterQuery;
|
|
|
45927
46199
|
exports.useGetChatHistoryQuery = useGetChatHistoryQuery;
|
|
45928
46200
|
exports.useGetChatMessageTtsQuery = useGetChatMessageTtsQuery;
|
|
45929
46201
|
exports.useGetChatMessagesForSessionQuery = useGetChatMessagesForSessionQuery;
|
|
46202
|
+
exports.useGetChatPrivacyEffectiveQuery = useGetChatPrivacyEffectiveQuery;
|
|
45930
46203
|
exports.useGetClawInstanceQuery = useGetClawInstanceQuery;
|
|
45931
46204
|
exports.useGetClawInstancesQuery = useGetClawInstancesQuery;
|
|
45932
46205
|
exports.useGetClawMentorConfigQuery = useGetClawMentorConfigQuery;
|
|
@@ -45951,7 +46224,6 @@ exports.useGetDepartmentMemberCheckQuery = useGetDepartmentMemberCheckQuery;
|
|
|
45951
46224
|
exports.useGetDesiredSkillsQuery = useGetDesiredSkillsQuery;
|
|
45952
46225
|
exports.useGetDetailedFinancialStatsQuery = useGetDetailedFinancialStatsQuery;
|
|
45953
46226
|
exports.useGetDisclaimersQuery = useGetDisclaimersQuery;
|
|
45954
|
-
exports.useGetDownloadReportFromURLQuery = useGetDownloadReportFromURLQuery;
|
|
45955
46227
|
exports.useGetEdxSSOTokenQuery = useGetEdxSSOTokenQuery;
|
|
45956
46228
|
exports.useGetEnrollmentCourseSearchQuery = useGetEnrollmentCourseSearchQuery;
|
|
45957
46229
|
exports.useGetExamInfoQuery = useGetExamInfoQuery;
|
|
@@ -45966,7 +46238,14 @@ exports.useGetIntegrationCredentialsSchemaQuery = useGetIntegrationCredentialsSc
|
|
|
45966
46238
|
exports.useGetIssuersQuery = useGetIssuersQuery;
|
|
45967
46239
|
exports.useGetItemSubscriptionQuery = useGetItemSubscriptionQuery;
|
|
45968
46240
|
exports.useGetLLMCredentialsQuery = useGetLLMCredentialsQuery;
|
|
46241
|
+
exports.useGetLearnerDetailsQuery = useGetLearnerDetailsQuery;
|
|
45969
46242
|
exports.useGetLlmsQuery = useGetLlmsQuery;
|
|
46243
|
+
exports.useGetLtiKeyDetailQuery = useGetLtiKeyDetailQuery;
|
|
46244
|
+
exports.useGetLtiKeysQuery = useGetLtiKeysQuery;
|
|
46245
|
+
exports.useGetLtiMentorDetailQuery = useGetLtiMentorDetailQuery;
|
|
46246
|
+
exports.useGetLtiMentorsQuery = useGetLtiMentorsQuery;
|
|
46247
|
+
exports.useGetLtiToolDetailQuery = useGetLtiToolDetailQuery;
|
|
46248
|
+
exports.useGetLtiToolsQuery = useGetLtiToolsQuery;
|
|
45970
46249
|
exports.useGetMCPServerConnectionsQuery = useGetMCPServerConnectionsQuery;
|
|
45971
46250
|
exports.useGetMCPServerQuery = useGetMCPServerQuery;
|
|
45972
46251
|
exports.useGetMCPServersQuery = useGetMCPServersQuery;
|
|
@@ -46025,6 +46304,7 @@ exports.useGetPublicMentorsQuery = useGetPublicMentorsQuery;
|
|
|
46025
46304
|
exports.useGetPublicPlatformImageAssetFileUrlQuery = useGetPublicPlatformImageAssetFileUrlQuery;
|
|
46026
46305
|
exports.useGetPublicPlatformMembershipQuery = useGetPublicPlatformMembershipQuery;
|
|
46027
46306
|
exports.useGetPublicPricingQuery = useGetPublicPricingQuery;
|
|
46307
|
+
exports.useGetRbacActionsDefinitionQuery = useGetRbacActionsDefinitionQuery;
|
|
46028
46308
|
exports.useGetRbacGroupDetailsQuery = useGetRbacGroupDetailsQuery;
|
|
46029
46309
|
exports.useGetRbacGroupsQuery = useGetRbacGroupsQuery;
|
|
46030
46310
|
exports.useGetRbacMentorAccessListQuery = useGetRbacMentorAccessListQuery;
|
|
@@ -46057,6 +46337,7 @@ exports.useGetStripePricingPageSessionQuery = useGetStripePricingPageSessionQuer
|
|
|
46057
46337
|
exports.useGetStudentMentorCreationStatusQuery = useGetStudentMentorCreationStatusQuery;
|
|
46058
46338
|
exports.useGetTemplateDetailsQuery = useGetTemplateDetailsQuery;
|
|
46059
46339
|
exports.useGetTemplatesQuery = useGetTemplatesQuery;
|
|
46340
|
+
exports.useGetTenantChatPrivacyConfigQuery = useGetTenantChatPrivacyConfigQuery;
|
|
46060
46341
|
exports.useGetTenantMetadataQuery = useGetTenantMetadataQuery;
|
|
46061
46342
|
exports.useGetToolsQuery = useGetToolsQuery;
|
|
46062
46343
|
exports.useGetTopStudentsByChatMessagesQuery = useGetTopStudentsByChatMessagesQuery;
|
|
@@ -46074,6 +46355,7 @@ exports.useGetUserAppsQuery = useGetUserAppsQuery;
|
|
|
46074
46355
|
exports.useGetUserAssignedCoursesQuery = useGetUserAssignedCoursesQuery;
|
|
46075
46356
|
exports.useGetUserAssignedPathwaysQuery = useGetUserAssignedPathwaysQuery;
|
|
46076
46357
|
exports.useGetUserCatalogPathwaysQuery = useGetUserCatalogPathwaysQuery;
|
|
46358
|
+
exports.useGetUserChatPrivacySettingsQuery = useGetUserChatPrivacySettingsQuery;
|
|
46077
46359
|
exports.useGetUserCohortsOverTimeQuery = useGetUserCohortsOverTimeQuery;
|
|
46078
46360
|
exports.useGetUserCompaniesQuery = useGetUserCompaniesQuery;
|
|
46079
46361
|
exports.useGetUserCredentialsQuery = useGetUserCredentialsQuery;
|
|
@@ -46138,6 +46420,7 @@ exports.useLazyGetChatHistoryFilterQuery = useLazyGetChatHistoryFilterQuery;
|
|
|
46138
46420
|
exports.useLazyGetChatHistoryQuery = useLazyGetChatHistoryQuery;
|
|
46139
46421
|
exports.useLazyGetChatMessageTtsQuery = useLazyGetChatMessageTtsQuery;
|
|
46140
46422
|
exports.useLazyGetChatMessagesForSessionQuery = useLazyGetChatMessagesForSessionQuery;
|
|
46423
|
+
exports.useLazyGetChatPrivacyEffectiveQuery = useLazyGetChatPrivacyEffectiveQuery;
|
|
46141
46424
|
exports.useLazyGetClawInstanceQuery = useLazyGetClawInstanceQuery;
|
|
46142
46425
|
exports.useLazyGetClawInstancesQuery = useLazyGetClawInstancesQuery;
|
|
46143
46426
|
exports.useLazyGetClawMentorConfigQuery = useLazyGetClawMentorConfigQuery;
|
|
@@ -46172,6 +46455,7 @@ exports.useLazyGetIssuersQuery = useLazyGetIssuersQuery;
|
|
|
46172
46455
|
exports.useLazyGetItemSubscriptionQuery = useLazyGetItemSubscriptionQuery;
|
|
46173
46456
|
exports.useLazyGetLLMCredentialsQuery = useLazyGetLLMCredentialsQuery;
|
|
46174
46457
|
exports.useLazyGetLlmsQuery = useLazyGetLlmsQuery;
|
|
46458
|
+
exports.useLazyGetLtiKeyDetailQuery = useLazyGetLtiKeyDetailQuery;
|
|
46175
46459
|
exports.useLazyGetMCPServerQuery = useLazyGetMCPServerQuery;
|
|
46176
46460
|
exports.useLazyGetMCPServersQuery = useLazyGetMCPServersQuery;
|
|
46177
46461
|
exports.useLazyGetMemoryCategoriesAdminQuery = useLazyGetMemoryCategoriesAdminQuery;
|
|
@@ -46219,6 +46503,7 @@ exports.useLazyGetPublicMentorsQuery = useLazyGetPublicMentorsQuery;
|
|
|
46219
46503
|
exports.useLazyGetPublicPlatformImageAssetFileUrlQuery = useLazyGetPublicPlatformImageAssetFileUrlQuery;
|
|
46220
46504
|
exports.useLazyGetPublicPlatformMembershipQuery = useLazyGetPublicPlatformMembershipQuery;
|
|
46221
46505
|
exports.useLazyGetPublicPricingQuery = useLazyGetPublicPricingQuery;
|
|
46506
|
+
exports.useLazyGetRbacActionsDefinitionQuery = useLazyGetRbacActionsDefinitionQuery;
|
|
46222
46507
|
exports.useLazyGetRbacRolesQuery = useLazyGetRbacRolesQuery;
|
|
46223
46508
|
exports.useLazyGetRbacTeamsAccessListQuery = useLazyGetRbacTeamsAccessListQuery;
|
|
46224
46509
|
exports.useLazyGetRecentMessageQuery = useLazyGetRecentMessageQuery;
|
|
@@ -46241,6 +46526,7 @@ exports.useLazyGetStripeContextQuery = useLazyGetStripeContextQuery;
|
|
|
46241
46526
|
exports.useLazyGetStripePricingPageSessionQuery = useLazyGetStripePricingPageSessionQuery;
|
|
46242
46527
|
exports.useLazyGetTemplateDetailsQuery = useLazyGetTemplateDetailsQuery;
|
|
46243
46528
|
exports.useLazyGetTemplatesQuery = useLazyGetTemplatesQuery;
|
|
46529
|
+
exports.useLazyGetTenantChatPrivacyConfigQuery = useLazyGetTenantChatPrivacyConfigQuery;
|
|
46244
46530
|
exports.useLazyGetTenantMetadataQuery = useLazyGetTenantMetadataQuery;
|
|
46245
46531
|
exports.useLazyGetToolsQuery = useLazyGetToolsQuery;
|
|
46246
46532
|
exports.useLazyGetTrainingDocumentRetrainScheduleQuery = useLazyGetTrainingDocumentRetrainScheduleQuery;
|
|
@@ -46249,6 +46535,7 @@ exports.useLazyGetUserAppsQuery = useLazyGetUserAppsQuery;
|
|
|
46249
46535
|
exports.useLazyGetUserAssignedCoursesQuery = useLazyGetUserAssignedCoursesQuery;
|
|
46250
46536
|
exports.useLazyGetUserAssignedPathwaysQuery = useLazyGetUserAssignedPathwaysQuery;
|
|
46251
46537
|
exports.useLazyGetUserCatalogPathwaysQuery = useLazyGetUserCatalogPathwaysQuery;
|
|
46538
|
+
exports.useLazyGetUserChatPrivacySettingsQuery = useLazyGetUserChatPrivacySettingsQuery;
|
|
46252
46539
|
exports.useLazyGetUserCompaniesQuery = useLazyGetUserCompaniesQuery;
|
|
46253
46540
|
exports.useLazyGetUserCredentialsQuery = useLazyGetUserCredentialsQuery;
|
|
46254
46541
|
exports.useLazyGetUserDesiredSkillsQuery = useLazyGetUserDesiredSkillsQuery;
|
|
@@ -46348,6 +46635,9 @@ exports.useUpdateCredentialMutation = useUpdateCredentialMutation;
|
|
|
46348
46635
|
exports.useUpdateDisclaimerMutation = useUpdateDisclaimerMutation;
|
|
46349
46636
|
exports.useUpdateExamAttemptMutation = useUpdateExamAttemptMutation;
|
|
46350
46637
|
exports.useUpdateIntegrationCredentialMutation = useUpdateIntegrationCredentialMutation;
|
|
46638
|
+
exports.useUpdateLtiKeyMutation = useUpdateLtiKeyMutation;
|
|
46639
|
+
exports.useUpdateLtiMentorMutation = useUpdateLtiMentorMutation;
|
|
46640
|
+
exports.useUpdateLtiToolMutation = useUpdateLtiToolMutation;
|
|
46351
46641
|
exports.useUpdateMCPServerMutation = useUpdateMCPServerMutation;
|
|
46352
46642
|
exports.useUpdateMemoryCategoryMutation = useUpdateMemoryCategoryMutation;
|
|
46353
46643
|
exports.useUpdateMemsearchConfigMutation = useUpdateMemsearchConfigMutation;
|
|
@@ -46368,10 +46658,13 @@ exports.useUpdateRbacMentorAccessMutation = useUpdateRbacMentorAccessMutation;
|
|
|
46368
46658
|
exports.useUpdateRbacPolicyMutation = useUpdateRbacPolicyMutation;
|
|
46369
46659
|
exports.useUpdateRbacRoleMutation = useUpdateRbacRoleMutation;
|
|
46370
46660
|
exports.useUpdateRecommendedPromptMutation = useUpdateRecommendedPromptMutation;
|
|
46661
|
+
exports.useUpdateSessionDisableChathistoryMutation = useUpdateSessionDisableChathistoryMutation;
|
|
46371
46662
|
exports.useUpdateShareableLinkMutation = useUpdateShareableLinkMutation;
|
|
46372
46663
|
exports.useUpdateTemplateMutation = useUpdateTemplateMutation;
|
|
46664
|
+
exports.useUpdateTenantChatPrivacyConfigMutation = useUpdateTenantChatPrivacyConfigMutation;
|
|
46373
46665
|
exports.useUpdateTenantMetadataMutation = useUpdateTenantMetadataMutation;
|
|
46374
46666
|
exports.useUpdateUserAccountMutation = useUpdateUserAccountMutation;
|
|
46667
|
+
exports.useUpdateUserChatPrivacySettingsMutation = useUpdateUserChatPrivacySettingsMutation;
|
|
46375
46668
|
exports.useUpdateUserEducationMutation = useUpdateUserEducationMutation;
|
|
46376
46669
|
exports.useUpdateUserExperienceMutation = useUpdateUserExperienceMutation;
|
|
46377
46670
|
exports.useUpdateUserMemorySettingsMutation = useUpdateUserMemorySettingsMutation;
|