@iblai/data-layer 1.9.0 → 1.9.1
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 +8225 -3710
- package/dist/index.esm.js +303 -35
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +338 -36
- package/dist/index.js.map +1 -1
- package/dist/package.json +0 -1
- 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 +3479 -241
- 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) => ({
|
|
@@ -40401,6 +40423,32 @@ const userApiSlice = react.createApi({
|
|
|
40401
40423
|
});
|
|
40402
40424
|
const { useGetUserMetadataQuery, useLazyGetUserMetadataQuery, useUpdateUserMetadataMutation, useUpdateUserAccountMutation, useResetPasswordMutation, useUpdateUserRoleMutation, useUploadProfileImageMutation, useRemoveProfileImageMutation, useGetUserMetadataEdxQuery, useLazyGetUserMetadataEdxQuery, useUpdateUserMetadataEdxMutation, useGetUserPlatformMetadataQuery, useLazyGetUserPlatformMetadataQuery, useUpdateUserPlatformMetadataMutation, } = userApiSlice;
|
|
40403
40425
|
|
|
40426
|
+
/**
|
|
40427
|
+
* Shared fetch for the paginated LTI provider list endpoints. Sends
|
|
40428
|
+
* `platform_key`, optional `mentor_id` (Agent Links), and `page` / `page_size`.
|
|
40429
|
+
*/
|
|
40430
|
+
async function fetchLtiList(path, args) {
|
|
40431
|
+
const queryParams = new URLSearchParams({ platform_key: args.platformKey });
|
|
40432
|
+
if (args.mentorId)
|
|
40433
|
+
queryParams.set('mentor_id', args.mentorId);
|
|
40434
|
+
if (args.page !== undefined)
|
|
40435
|
+
queryParams.set('page', String(args.page));
|
|
40436
|
+
if (args.pageSize !== undefined)
|
|
40437
|
+
queryParams.set('page_size', String(args.pageSize));
|
|
40438
|
+
const url = `${OpenAPI.BASE}/api/core/lti/1p3/provider/${path}/?${queryParams.toString()}`;
|
|
40439
|
+
const response = await fetch(url, {
|
|
40440
|
+
method: 'GET',
|
|
40441
|
+
headers: OpenAPI.HEADERS,
|
|
40442
|
+
credentials: 'omit',
|
|
40443
|
+
});
|
|
40444
|
+
if (!response.ok) {
|
|
40445
|
+
throw Object.assign(new Error(`Failed to fetch ${path}`), {
|
|
40446
|
+
status: response.status,
|
|
40447
|
+
body: await response.text(),
|
|
40448
|
+
});
|
|
40449
|
+
}
|
|
40450
|
+
return response.json();
|
|
40451
|
+
}
|
|
40404
40452
|
const coreApiSlice = react.createApi({
|
|
40405
40453
|
reducerPath: 'coreApiSlice',
|
|
40406
40454
|
baseQuery: iblFakeBaseQuery,
|
|
@@ -40411,6 +40459,9 @@ const coreApiSlice = react.createApi({
|
|
|
40411
40459
|
'RbacPolicies',
|
|
40412
40460
|
'RbacRoles',
|
|
40413
40461
|
'RbacTeamsAccess',
|
|
40462
|
+
'LtiKeys',
|
|
40463
|
+
'LtiMentors',
|
|
40464
|
+
'LtiTools',
|
|
40414
40465
|
],
|
|
40415
40466
|
endpoints: (builder) => ({
|
|
40416
40467
|
createRedirectToken: builder.mutation({
|
|
@@ -40670,6 +40721,23 @@ const coreApiSlice = react.createApi({
|
|
|
40670
40721
|
updateRbacMentorAccess: builder.mutation({
|
|
40671
40722
|
...buildEndpointFromDmService(CoreService.coreRbacMentorAccessCreate),
|
|
40672
40723
|
}),
|
|
40724
|
+
getRbacActionsDefinition: builder.query({
|
|
40725
|
+
...buildEndpointFromService(exports.SERVICES.DM, async () => {
|
|
40726
|
+
const url = `${OpenAPI.BASE}/api/core/rbac/actions/definitions/`;
|
|
40727
|
+
const response = await fetch(url, {
|
|
40728
|
+
method: 'GET',
|
|
40729
|
+
headers: OpenAPI.HEADERS,
|
|
40730
|
+
credentials: 'omit',
|
|
40731
|
+
});
|
|
40732
|
+
if (!response.ok) {
|
|
40733
|
+
throw Object.assign(new Error('Failed to fetch RBAC actions definitions'), {
|
|
40734
|
+
status: response.status,
|
|
40735
|
+
body: await response.text(),
|
|
40736
|
+
});
|
|
40737
|
+
}
|
|
40738
|
+
return response.json();
|
|
40739
|
+
}),
|
|
40740
|
+
}),
|
|
40673
40741
|
getRbacTeamsAccessList: builder.query({
|
|
40674
40742
|
...buildEndpointFromDmService(CoreService.coreRbacTeamsAccessList),
|
|
40675
40743
|
providesTags: ['RbacTeamsAccess'],
|
|
@@ -40678,9 +40746,90 @@ const coreApiSlice = react.createApi({
|
|
|
40678
40746
|
...buildEndpointFromDmService(CoreService.coreRbacTeamsAccessCreate),
|
|
40679
40747
|
invalidatesTags: ['RbacTeamsAccess'],
|
|
40680
40748
|
}),
|
|
40749
|
+
// ── LTI 1.3 Provider: Keys (platform-wide RSA signing keys) ──
|
|
40750
|
+
getLtiKeys: builder.query({
|
|
40751
|
+
...buildEndpointFromService(exports.SERVICES.DM, (args) => fetchLtiList('lti-keys', args)),
|
|
40752
|
+
providesTags: ['LtiKeys'],
|
|
40753
|
+
}),
|
|
40754
|
+
getLtiKeyDetail: builder.query({
|
|
40755
|
+
...buildEndpointFromDmService(CoreService.coreLti1P3ProviderLtiKeysRetrieve),
|
|
40756
|
+
providesTags: ['LtiKeys'],
|
|
40757
|
+
}),
|
|
40758
|
+
createLtiKey: builder.mutation({
|
|
40759
|
+
...buildEndpointFromDmService(CoreService.coreLti1P3ProviderLtiKeysCreate),
|
|
40760
|
+
invalidatesTags: ['LtiKeys'],
|
|
40761
|
+
}),
|
|
40762
|
+
updateLtiKey: builder.mutation({
|
|
40763
|
+
...buildEndpointFromDmService(CoreService.coreLti1P3ProviderLtiKeysUpdate),
|
|
40764
|
+
invalidatesTags: ['LtiKeys'],
|
|
40765
|
+
}),
|
|
40766
|
+
deleteLtiKey: builder.mutation({
|
|
40767
|
+
// Deleting a key that is still attached to a tool returns 400/409 — fail
|
|
40768
|
+
// fast and surface the message instead of retrying the request 5 times.
|
|
40769
|
+
...buildEndpointFromDmService(CoreService.coreLti1P3ProviderLtiKeysDestroy, {
|
|
40770
|
+
expectedErrorStatuses: [400, 409],
|
|
40771
|
+
}),
|
|
40772
|
+
invalidatesTags: ['LtiKeys'],
|
|
40773
|
+
}),
|
|
40774
|
+
// ── LTI 1.3 Provider: Agent (Mentor) Links ──
|
|
40775
|
+
// Custom call so we can pass the optional `mentor_id` query param (the
|
|
40776
|
+
// mentor's unique_id) and let the backend scope the list to one agent.
|
|
40777
|
+
// The generated CoreService.coreLti1P3ProviderLtiMentorsList only sends
|
|
40778
|
+
// platform_key.
|
|
40779
|
+
getLtiMentors: builder.query({
|
|
40780
|
+
...buildEndpointFromService(exports.SERVICES.DM, (args) => fetchLtiList('lti-mentors', args)),
|
|
40781
|
+
providesTags: ['LtiMentors'],
|
|
40782
|
+
}),
|
|
40783
|
+
getLtiMentorDetail: builder.query({
|
|
40784
|
+
...buildEndpointFromDmService(CoreService.coreLti1P3ProviderLtiMentorsRetrieve),
|
|
40785
|
+
providesTags: ['LtiMentors'],
|
|
40786
|
+
}),
|
|
40787
|
+
createLtiMentor: builder.mutation({
|
|
40788
|
+
...buildEndpointFromDmService(CoreService.coreLti1P3ProviderLtiMentorsCreate),
|
|
40789
|
+
invalidatesTags: ['LtiMentors'],
|
|
40790
|
+
}),
|
|
40791
|
+
updateLtiMentor: builder.mutation({
|
|
40792
|
+
...buildEndpointFromDmService(CoreService.coreLti1P3ProviderLtiMentorsUpdate),
|
|
40793
|
+
invalidatesTags: ['LtiMentors'],
|
|
40794
|
+
}),
|
|
40795
|
+
deleteLtiMentor: builder.mutation({
|
|
40796
|
+
...buildEndpointFromDmService(CoreService.coreLti1P3ProviderLtiMentorsDestroy, {
|
|
40797
|
+
expectedErrorStatuses: [400, 409],
|
|
40798
|
+
}),
|
|
40799
|
+
invalidatesTags: ['LtiMentors'],
|
|
40800
|
+
}),
|
|
40801
|
+
// ── LTI 1.3 Provider: Tools (platform-wide LTI Platform integrations) ──
|
|
40802
|
+
getLtiTools: builder.query({
|
|
40803
|
+
...buildEndpointFromService(exports.SERVICES.DM, (args) => fetchLtiList('lti-tools', args)),
|
|
40804
|
+
providesTags: ['LtiTools'],
|
|
40805
|
+
}),
|
|
40806
|
+
getLtiToolDetail: builder.query({
|
|
40807
|
+
...buildEndpointFromDmService(CoreService.coreLti1P3ProviderLtiToolsRetrieve),
|
|
40808
|
+
providesTags: ['LtiTools'],
|
|
40809
|
+
}),
|
|
40810
|
+
createLtiTool: builder.mutation({
|
|
40811
|
+
...buildEndpointFromDmService(CoreService.coreLti1P3ProviderLtiToolsCreate),
|
|
40812
|
+
invalidatesTags: ['LtiTools'],
|
|
40813
|
+
}),
|
|
40814
|
+
updateLtiTool: builder.mutation({
|
|
40815
|
+
...buildEndpointFromDmService(CoreService.coreLti1P3ProviderLtiToolsUpdate),
|
|
40816
|
+
invalidatesTags: ['LtiTools'],
|
|
40817
|
+
}),
|
|
40818
|
+
deleteLtiTool: builder.mutation({
|
|
40819
|
+
...buildEndpointFromDmService(CoreService.coreLti1P3ProviderLtiToolsDestroy, {
|
|
40820
|
+
expectedErrorStatuses: [400, 409],
|
|
40821
|
+
}),
|
|
40822
|
+
invalidatesTags: ['LtiTools'],
|
|
40823
|
+
}),
|
|
40681
40824
|
}),
|
|
40682
40825
|
});
|
|
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,
|
|
40826
|
+
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,
|
|
40827
|
+
// LTI Keys
|
|
40828
|
+
useGetLtiKeysQuery, useGetLtiKeyDetailQuery, useLazyGetLtiKeyDetailQuery, useCreateLtiKeyMutation, useUpdateLtiKeyMutation, useDeleteLtiKeyMutation,
|
|
40829
|
+
// LTI Agent (Mentor) Links
|
|
40830
|
+
useGetLtiMentorsQuery, useGetLtiMentorDetailQuery, useCreateLtiMentorMutation, useUpdateLtiMentorMutation, useDeleteLtiMentorMutation,
|
|
40831
|
+
// LTI Tools
|
|
40832
|
+
useGetLtiToolsQuery, useGetLtiToolDetailQuery, useCreateLtiToolMutation, useUpdateLtiToolMutation, useDeleteLtiToolMutation, } = coreApiSlice;
|
|
40684
40833
|
|
|
40685
40834
|
const LOGO_ENDPOINTS = {
|
|
40686
40835
|
light_logo: (platformKey) => getServiceUrl(exports.SERVICES.AXD) + `/api/core/orgs/${platformKey}/logo`,
|
|
@@ -41112,6 +41261,92 @@ const credentialsApiSlice = react.createApi({
|
|
|
41112
41261
|
});
|
|
41113
41262
|
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
41263
|
|
|
41264
|
+
const chatPrivacyApiSlice = react.createApi({
|
|
41265
|
+
reducerPath: 'chatPrivacyApiSlice',
|
|
41266
|
+
baseQuery: iblFetchBaseQuery,
|
|
41267
|
+
tagTypes: ['TenantChatPrivacyConfig', 'UserChatPrivacySettings', 'ChatPrivacyEffective'],
|
|
41268
|
+
endpoints: (builder) => ({
|
|
41269
|
+
getTenantChatPrivacyConfig: builder.query({
|
|
41270
|
+
query: ({ org, userId }) => ({
|
|
41271
|
+
url: `/api/ai-account/orgs/${org}/users/${userId}/chat-privacy-config/`,
|
|
41272
|
+
service: exports.SERVICES.DM,
|
|
41273
|
+
}),
|
|
41274
|
+
providesTags: ['TenantChatPrivacyConfig'],
|
|
41275
|
+
}),
|
|
41276
|
+
updateTenantChatPrivacyConfig: builder.mutation({
|
|
41277
|
+
query: ({ org, userId, requestBody }) => ({
|
|
41278
|
+
url: `/api/ai-account/orgs/${org}/users/${userId}/chat-privacy-config/`,
|
|
41279
|
+
method: 'PATCH',
|
|
41280
|
+
body: requestBody,
|
|
41281
|
+
service: exports.SERVICES.DM,
|
|
41282
|
+
}),
|
|
41283
|
+
invalidatesTags: ['TenantChatPrivacyConfig', 'ChatPrivacyEffective'],
|
|
41284
|
+
}),
|
|
41285
|
+
getUserChatPrivacySettings: builder.query({
|
|
41286
|
+
query: ({ org, userId }) => ({
|
|
41287
|
+
url: `/api/ai-account/orgs/${org}/users/${userId}/chat-privacy-settings/`,
|
|
41288
|
+
service: exports.SERVICES.DM,
|
|
41289
|
+
}),
|
|
41290
|
+
providesTags: ['UserChatPrivacySettings'],
|
|
41291
|
+
}),
|
|
41292
|
+
updateUserChatPrivacySettings: builder.mutation({
|
|
41293
|
+
query: ({ org, userId, requestBody }) => ({
|
|
41294
|
+
url: `/api/ai-account/orgs/${org}/users/${userId}/chat-privacy-settings/`,
|
|
41295
|
+
method: 'POST',
|
|
41296
|
+
body: requestBody,
|
|
41297
|
+
service: exports.SERVICES.DM,
|
|
41298
|
+
}),
|
|
41299
|
+
invalidatesTags: ['UserChatPrivacySettings', 'ChatPrivacyEffective'],
|
|
41300
|
+
}),
|
|
41301
|
+
getChatPrivacyEffective: builder.query({
|
|
41302
|
+
query: ({ org, userId, mentor, session }) => {
|
|
41303
|
+
const params = new URLSearchParams();
|
|
41304
|
+
if (mentor)
|
|
41305
|
+
params.append('mentor', mentor);
|
|
41306
|
+
if (session)
|
|
41307
|
+
params.append('session', session);
|
|
41308
|
+
const qs = params.toString();
|
|
41309
|
+
return {
|
|
41310
|
+
url: `/api/ai-account/orgs/${org}/users/${userId}/chat-privacy-effective/${qs ? `?${qs}` : ''}`,
|
|
41311
|
+
service: exports.SERVICES.DM,
|
|
41312
|
+
};
|
|
41313
|
+
},
|
|
41314
|
+
providesTags: ['ChatPrivacyEffective'],
|
|
41315
|
+
}),
|
|
41316
|
+
// One-way switch: flipping a session to disable_chathistory: true also
|
|
41317
|
+
// removes it from the user's history list (backend nulls Session.student).
|
|
41318
|
+
// Per the spec, true → false is rejected with 400; the user must start a
|
|
41319
|
+
// new conversation to resume history.
|
|
41320
|
+
//
|
|
41321
|
+
// Important — this endpoint lives under `/api/ai-mentor/…`, NOT under
|
|
41322
|
+
// `/api/ai-account/…` like the other chat-privacy endpoints. The
|
|
41323
|
+
// generated typed client is
|
|
41324
|
+
// `AiMentorService.aiMentorOrgsUsersSessionsDisableChathistoryCreate`.
|
|
41325
|
+
// (Both prefixes resolve to the same dm host, so SERVICES.DM is fine.)
|
|
41326
|
+
updateSessionDisableChathistory: builder.mutation({
|
|
41327
|
+
query: ({ org, userId, sessionId, requestBody }) => ({
|
|
41328
|
+
url: `/api/ai-mentor/orgs/${org}/users/${userId}/sessions/${sessionId}/disable-chathistory/`,
|
|
41329
|
+
method: 'POST',
|
|
41330
|
+
body: requestBody,
|
|
41331
|
+
service: exports.SERVICES.DM,
|
|
41332
|
+
}),
|
|
41333
|
+
invalidatesTags: ['ChatPrivacyEffective'],
|
|
41334
|
+
}),
|
|
41335
|
+
}),
|
|
41336
|
+
});
|
|
41337
|
+
const { useGetTenantChatPrivacyConfigQuery, useLazyGetTenantChatPrivacyConfigQuery, useUpdateTenantChatPrivacyConfigMutation, useGetUserChatPrivacySettingsQuery, useLazyGetUserChatPrivacySettingsQuery, useUpdateUserChatPrivacySettingsMutation, useGetChatPrivacyEffectiveQuery, useLazyGetChatPrivacyEffectiveQuery, useUpdateSessionDisableChathistoryMutation, } = chatPrivacyApiSlice;
|
|
41338
|
+
|
|
41339
|
+
const ChatPrivacyModeEnum = {
|
|
41340
|
+
NORMAL: 'normal',
|
|
41341
|
+
ANONYMIZED: 'anonymized',
|
|
41342
|
+
DISABLED: 'disabled',
|
|
41343
|
+
};
|
|
41344
|
+
const CHAT_PRIVACY_MODES = [
|
|
41345
|
+
ChatPrivacyModeEnum.NORMAL,
|
|
41346
|
+
ChatPrivacyModeEnum.ANONYMIZED,
|
|
41347
|
+
ChatPrivacyModeEnum.DISABLED,
|
|
41348
|
+
];
|
|
41349
|
+
|
|
41115
41350
|
const userInvitationsApiSlice = react.createApi({
|
|
41116
41351
|
reducerPath: 'userInvitationsApiSlice',
|
|
41117
41352
|
baseQuery: iblFakeBaseQuery,
|
|
@@ -41600,6 +41835,23 @@ const stripeApiSlice = react.createApi({
|
|
|
41600
41835
|
});
|
|
41601
41836
|
const { useGetStripeContextQuery, useLazyGetStripeContextQuery, useGetStripePricingPageSessionQuery, useLazyGetStripePricingPageSessionQuery, useCreateStripeCheckoutSessionMutation, } = stripeApiSlice;
|
|
41602
41837
|
|
|
41838
|
+
const CHAT_HISTORY_PAGE_SIZE = 10;
|
|
41839
|
+
const CHAT_HISTORY_PAGE_PARAM = 'page';
|
|
41840
|
+
const CHAT_HISTORY_PAGE_SIZE_PARAM = 'page_size';
|
|
41841
|
+
|
|
41842
|
+
const buildChatHistoryQuery = (page, pageSize) => {
|
|
41843
|
+
const params = new URLSearchParams();
|
|
41844
|
+
if (page !== undefined)
|
|
41845
|
+
params.append(CHAT_HISTORY_PAGE_PARAM, page.toString());
|
|
41846
|
+
if (pageSize !== undefined) {
|
|
41847
|
+
params.append(CHAT_HISTORY_PAGE_SIZE_PARAM, pageSize.toString());
|
|
41848
|
+
}
|
|
41849
|
+
const queryString = params.toString();
|
|
41850
|
+
return queryString ? `?${queryString}` : '';
|
|
41851
|
+
};
|
|
41852
|
+
const buildSessionRetrieveUrl = ({ org, sessionId, userId, page, pageSize, }) => `/api/ai-mentor/orgs/${org}/users/${userId !== null && userId !== void 0 ? userId : ''}/sessions/${sessionId}/${buildChatHistoryQuery(page, pageSize)}`;
|
|
41853
|
+
const buildSharedSessionRetrieveUrl = ({ org, sessionId, userId, page, pageSize, }) => `/api/ai-mentor/orgs/${org}/users/${userId}/sessions/${sessionId}/shared/${buildChatHistoryQuery(page, pageSize)}`;
|
|
41854
|
+
|
|
41603
41855
|
const sessionApiSlice = react.createApi({
|
|
41604
41856
|
reducerPath: 'sessionApiSlice',
|
|
41605
41857
|
baseQuery: iblFakeBaseQuery,
|
|
@@ -41610,11 +41862,11 @@ const sessionApiSlice = react.createApi({
|
|
|
41610
41862
|
invalidatesTags: ['sessionId'],
|
|
41611
41863
|
}),
|
|
41612
41864
|
getSessionId: builder.query({
|
|
41613
|
-
...
|
|
41865
|
+
...buildEndpointFromDmUrl(buildSessionRetrieveUrl),
|
|
41614
41866
|
providesTags: ['sessionId'],
|
|
41615
41867
|
}),
|
|
41616
41868
|
getSharedSessionId: builder.query({
|
|
41617
|
-
...
|
|
41869
|
+
...buildEndpointFromDmUrl(buildSharedSessionRetrieveUrl),
|
|
41618
41870
|
providesTags: ['sessionId'],
|
|
41619
41871
|
}),
|
|
41620
41872
|
editSession: builder.mutation({
|
|
@@ -41767,6 +42019,10 @@ const NON_AI_ANALYTICS_ENDPOINTS = {
|
|
|
41767
42019
|
service: exports.SERVICES.DM,
|
|
41768
42020
|
path: (content_id) => `/api/analytics/content/details/${content_id}/`,
|
|
41769
42021
|
},
|
|
42022
|
+
GET_LEARNER_DETAILS: {
|
|
42023
|
+
service: exports.SERVICES.DM,
|
|
42024
|
+
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}` : ''}`,
|
|
42025
|
+
},
|
|
41770
42026
|
};
|
|
41771
42027
|
const ANALYTICS_REDUCER_PATH = 'analyticsApiSlice';
|
|
41772
42028
|
|
|
@@ -42065,28 +42321,34 @@ const analyticsApiSlice = react.createApi({
|
|
|
42065
42321
|
params: args,
|
|
42066
42322
|
}),
|
|
42067
42323
|
}),
|
|
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(),
|
|
42324
|
+
getLearnerDetails: builder.query({
|
|
42325
|
+
query: (args) => ({
|
|
42326
|
+
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),
|
|
42327
|
+
service: NON_AI_ANALYTICS_ENDPOINTS.GET_LEARNER_DETAILS.service,
|
|
42083
42328
|
}),
|
|
42084
|
-
// Blobs are non-serializable; disable caching to prevent Redux serialization warnings
|
|
42085
|
-
keepUnusedDataFor: 0,
|
|
42086
42329
|
}),
|
|
42087
42330
|
}),
|
|
42088
42331
|
});
|
|
42089
|
-
const {
|
|
42332
|
+
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;
|
|
42333
|
+
|
|
42334
|
+
const useLazyGetDownloadReportFromURLQuery = () => {
|
|
42335
|
+
const fetchReportBlob = react$1.useCallback(({ url }) => {
|
|
42336
|
+
const promise = (async () => {
|
|
42337
|
+
const authHeaders = await getHeaders(exports.SERVICES.DM);
|
|
42338
|
+
const response = await fetch(url, {
|
|
42339
|
+
method: 'GET',
|
|
42340
|
+
credentials: 'omit',
|
|
42341
|
+
headers: { ...(authHeaders !== null && authHeaders !== void 0 ? authHeaders : {}) },
|
|
42342
|
+
});
|
|
42343
|
+
if (!response.ok) {
|
|
42344
|
+
throw new Error(`Failed to download report (status ${response.status})`);
|
|
42345
|
+
}
|
|
42346
|
+
return response.blob();
|
|
42347
|
+
})();
|
|
42348
|
+
return { unwrap: () => promise };
|
|
42349
|
+
}, []);
|
|
42350
|
+
return [fetchReportBlob];
|
|
42351
|
+
};
|
|
42090
42352
|
|
|
42091
42353
|
const reportsApiSlice = react.createApi({
|
|
42092
42354
|
reducerPath: 'reportsApiSlice',
|
|
@@ -42128,7 +42390,11 @@ const reportsApiSlice = react.createApi({
|
|
|
42128
42390
|
providesTags: ['reports'],
|
|
42129
42391
|
}),
|
|
42130
42392
|
getReportDetail: builder.query({
|
|
42131
|
-
...buildEndpointFromDmService(ReportsService.reportsPlatformsRetrieve2
|
|
42393
|
+
...buildEndpointFromDmService(({ key, reportName, mentor_unique_id }) => ReportsService.reportsPlatformsRetrieve2({
|
|
42394
|
+
key,
|
|
42395
|
+
reportName,
|
|
42396
|
+
mentorUniqueId: mentor_unique_id,
|
|
42397
|
+
})),
|
|
42132
42398
|
providesTags: ['reportDetail'],
|
|
42133
42399
|
}),
|
|
42134
42400
|
createReport: builder.mutation({
|
|
@@ -45469,7 +45735,6 @@ const mentorReducer = {
|
|
|
45469
45735
|
[artifactsApiSlice.reducerPath]: artifactsApiSlice.reducer,
|
|
45470
45736
|
[coreFakeCustomPublicImageAssetApiSlice.reducerPath]: coreFakeCustomPublicImageAssetApiSlice.reducer,
|
|
45471
45737
|
[billingCustomSlice.reducerPath]: billingCustomSlice.reducer,
|
|
45472
|
-
[analyticsCustomSlice.reducerPath]: analyticsCustomSlice.reducer,
|
|
45473
45738
|
[retirementApiSlice.reducerPath]: retirementApiSlice.reducer,
|
|
45474
45739
|
[auditLogsApiSlice.reducerPath]: auditLogsApiSlice.reducer,
|
|
45475
45740
|
[monetizationApiSlice.reducerPath]: monetizationApiSlice.reducer,
|
|
@@ -45478,6 +45743,8 @@ const mentorReducer = {
|
|
|
45478
45743
|
[edxSsoApiSlice.reducerPath]: edxSsoApiSlice.reducer,
|
|
45479
45744
|
[clawApiSlice.reducerPath]: clawApiSlice.reducer,
|
|
45480
45745
|
[watchedGroupsApiSlice.reducerPath]: watchedGroupsApiSlice.reducer,
|
|
45746
|
+
[chatPrivacyApiSlice.reducerPath]: chatPrivacyApiSlice.reducer,
|
|
45747
|
+
[skillsApiSlice.reducerPath]: skillsApiSlice.reducer,
|
|
45481
45748
|
};
|
|
45482
45749
|
const mentorMiddleware = [
|
|
45483
45750
|
mentorApiSlice.middleware,
|
|
@@ -45524,7 +45791,6 @@ const mentorMiddleware = [
|
|
|
45524
45791
|
artifactsApiSlice.middleware,
|
|
45525
45792
|
coreFakeCustomPublicImageAssetApiSlice.middleware,
|
|
45526
45793
|
billingCustomSlice.middleware,
|
|
45527
|
-
analyticsCustomSlice.middleware,
|
|
45528
45794
|
retirementApiSlice.middleware,
|
|
45529
45795
|
auditLogsApiSlice.middleware,
|
|
45530
45796
|
monetizationApiSlice.middleware,
|
|
@@ -45533,6 +45799,8 @@ const mentorMiddleware = [
|
|
|
45533
45799
|
edxSsoApiSlice.middleware,
|
|
45534
45800
|
clawApiSlice.middleware,
|
|
45535
45801
|
watchedGroupsApiSlice.middleware,
|
|
45802
|
+
chatPrivacyApiSlice.middleware,
|
|
45803
|
+
skillsApiSlice.middleware,
|
|
45536
45804
|
];
|
|
45537
45805
|
|
|
45538
45806
|
const skillsReducer = {
|
|
@@ -45567,7 +45835,6 @@ const skillsReducer = {
|
|
|
45567
45835
|
[artifactsApiSlice.reducerPath]: artifactsApiSlice.reducer,
|
|
45568
45836
|
[coreFakeCustomPublicImageAssetApiSlice.reducerPath]: coreFakeCustomPublicImageAssetApiSlice.reducer,
|
|
45569
45837
|
[billingCustomSlice.reducerPath]: billingCustomSlice.reducer,
|
|
45570
|
-
[analyticsCustomSlice.reducerPath]: analyticsCustomSlice.reducer,
|
|
45571
45838
|
[retirementApiSlice.reducerPath]: retirementApiSlice.reducer,
|
|
45572
45839
|
[monetizationApiSlice.reducerPath]: monetizationApiSlice.reducer,
|
|
45573
45840
|
[memoryApiSlice.reducerPath]: memoryApiSlice.reducer,
|
|
@@ -45575,6 +45842,7 @@ const skillsReducer = {
|
|
|
45575
45842
|
[courseMetadataApiSlice.reducerPath]: courseMetadataApiSlice.reducer,
|
|
45576
45843
|
[edxSsoApiSlice.reducerPath]: edxSsoApiSlice.reducer,
|
|
45577
45844
|
[watchedGroupsApiSlice.reducerPath]: watchedGroupsApiSlice.reducer,
|
|
45845
|
+
[chatPrivacyApiSlice.reducerPath]: chatPrivacyApiSlice.reducer,
|
|
45578
45846
|
};
|
|
45579
45847
|
const skillsMiddleware = [
|
|
45580
45848
|
perLearnerApiSlice.middleware,
|
|
@@ -45608,7 +45876,6 @@ const skillsMiddleware = [
|
|
|
45608
45876
|
artifactsApiSlice.middleware,
|
|
45609
45877
|
coreFakeCustomPublicImageAssetApiSlice.middleware,
|
|
45610
45878
|
billingCustomSlice.middleware,
|
|
45611
|
-
analyticsCustomSlice.middleware,
|
|
45612
45879
|
retirementApiSlice.middleware,
|
|
45613
45880
|
monetizationApiSlice.middleware,
|
|
45614
45881
|
memoryApiSlice.middleware,
|
|
@@ -45616,6 +45883,7 @@ const skillsMiddleware = [
|
|
|
45616
45883
|
courseMetadataApiSlice.middleware,
|
|
45617
45884
|
edxSsoApiSlice.middleware,
|
|
45618
45885
|
watchedGroupsApiSlice.middleware,
|
|
45886
|
+
chatPrivacyApiSlice.middleware,
|
|
45619
45887
|
];
|
|
45620
45888
|
|
|
45621
45889
|
const initializeDataLayer = (dmUrl, lmsUrl, legacyLmsUrl, storageService, httpErrorHandler = {}) => {
|
|
@@ -45633,6 +45901,10 @@ exports.AUDIT_LOGS_REDUCER_PATH = AUDIT_LOGS_REDUCER_PATH;
|
|
|
45633
45901
|
exports.CALL_CONFIGURATIONS_ENDPOINTS = CALL_CONFIGURATIONS_ENDPOINTS;
|
|
45634
45902
|
exports.CALL_CONFIGURATIONS_REDUCER_PATH = CALL_CONFIGURATIONS_REDUCER_PATH;
|
|
45635
45903
|
exports.CALL_CONFIGURATIONS_TAGS = CALL_CONFIGURATIONS_TAGS;
|
|
45904
|
+
exports.CHAT_HISTORY_PAGE_PARAM = CHAT_HISTORY_PAGE_PARAM;
|
|
45905
|
+
exports.CHAT_HISTORY_PAGE_SIZE = CHAT_HISTORY_PAGE_SIZE;
|
|
45906
|
+
exports.CHAT_HISTORY_PAGE_SIZE_PARAM = CHAT_HISTORY_PAGE_SIZE_PARAM;
|
|
45907
|
+
exports.CHAT_PRIVACY_MODES = CHAT_PRIVACY_MODES;
|
|
45636
45908
|
exports.CLAW_ENDPOINTS = CLAW_ENDPOINTS;
|
|
45637
45909
|
exports.CLAW_REDUCER_PATH = CLAW_REDUCER_PATH;
|
|
45638
45910
|
exports.CLAW_TAG_TYPES = CLAW_TAG_TYPES;
|
|
@@ -45647,6 +45919,7 @@ exports.CUSTOM_AI_SEARCH_REDUCER_PATH = CUSTOM_AI_SEARCH_REDUCER_PATH;
|
|
|
45647
45919
|
exports.CUSTOM_DOMAIN_ENDPOINTS = CUSTOM_DOMAIN_ENDPOINTS;
|
|
45648
45920
|
exports.CUSTOM_DOMAIN_QUERY_KEYS = CUSTOM_DOMAIN_QUERY_KEYS;
|
|
45649
45921
|
exports.CUSTOM_DOMAIN_REDUCER_PATH = CUSTOM_DOMAIN_REDUCER_PATH;
|
|
45922
|
+
exports.ChatPrivacyModeEnum = ChatPrivacyModeEnum;
|
|
45650
45923
|
exports.DEFAULT_PRIVACY_ACTION = DEFAULT_PRIVACY_ACTION;
|
|
45651
45924
|
exports.DEFAULT_PRIVACY_RESPONSE = DEFAULT_PRIVACY_RESPONSE;
|
|
45652
45925
|
exports.DISCLAIMERS_ENDPOINTS = DISCLAIMERS_ENDPOINTS;
|
|
@@ -45698,7 +45971,6 @@ exports.WORKFLOWS_ENDPOINTS = WORKFLOWS_ENDPOINTS;
|
|
|
45698
45971
|
exports.WORKFLOWS_QUERY_KEYS = WORKFLOWS_QUERY_KEYS;
|
|
45699
45972
|
exports.WORKFLOWS_REDUCER_PATH = WORKFLOWS_REDUCER_PATH;
|
|
45700
45973
|
exports.analyticsApiSlice = analyticsApiSlice;
|
|
45701
|
-
exports.analyticsCustomSlice = analyticsCustomSlice;
|
|
45702
45974
|
exports.apiKeysApiReducer = apiKeysApiReducer;
|
|
45703
45975
|
exports.apiKeysApiSlice = apiKeysApiSlice;
|
|
45704
45976
|
exports.appApiReducer = appApiReducer;
|
|
@@ -45709,6 +45981,8 @@ exports.auditLogsApiSlice = auditLogsApiSlice;
|
|
|
45709
45981
|
exports.authApiSlice = authApiSlice;
|
|
45710
45982
|
exports.billingApiSlice = billingApiSlice;
|
|
45711
45983
|
exports.billingCustomSlice = billingCustomSlice;
|
|
45984
|
+
exports.buildSessionRetrieveUrl = buildSessionRetrieveUrl;
|
|
45985
|
+
exports.buildSharedSessionRetrieveUrl = buildSharedSessionRetrieveUrl;
|
|
45712
45986
|
exports.callConfigurationsApiReducer = callConfigurationsApiReducer;
|
|
45713
45987
|
exports.callConfigurationsApiSlice = callConfigurationsApiSlice;
|
|
45714
45988
|
exports.careerApiSlice = careerApiSlice;
|
|
@@ -45717,6 +45991,7 @@ exports.chatApiSlice = chatApiSlice;
|
|
|
45717
45991
|
exports.chatCustomApiSlice = chatCustomApiSlice;
|
|
45718
45992
|
exports.chatFilesApiSlice = chatFilesApiSlice;
|
|
45719
45993
|
exports.chatHistoryApiSlice = chatHistoryApiSlice;
|
|
45994
|
+
exports.chatPrivacyApiSlice = chatPrivacyApiSlice;
|
|
45720
45995
|
exports.clawApiSlice = clawApiSlice;
|
|
45721
45996
|
exports.coreApiSlice = coreApiSlice;
|
|
45722
45997
|
exports.coreCustomApiSlice = coreCustomApiSlice;
|
|
@@ -45813,6 +46088,9 @@ exports.useCreateGlobalMemoryMutation = useCreateGlobalMemoryMutation;
|
|
|
45813
46088
|
exports.useCreateGuestCheckoutMutation = useCreateGuestCheckoutMutation;
|
|
45814
46089
|
exports.useCreateIntegrationCredentialMutation = useCreateIntegrationCredentialMutation;
|
|
45815
46090
|
exports.useCreateLLMCredentialMutation = useCreateLLMCredentialMutation;
|
|
46091
|
+
exports.useCreateLtiKeyMutation = useCreateLtiKeyMutation;
|
|
46092
|
+
exports.useCreateLtiMentorMutation = useCreateLtiMentorMutation;
|
|
46093
|
+
exports.useCreateLtiToolMutation = useCreateLtiToolMutation;
|
|
45816
46094
|
exports.useCreateMCPServerConnectionMutation = useCreateMCPServerConnectionMutation;
|
|
45817
46095
|
exports.useCreateMCPServerMutation = useCreateMCPServerMutation;
|
|
45818
46096
|
exports.useCreateMemoryCategoryMutation = useCreateMemoryCategoryMutation;
|
|
@@ -45863,6 +46141,9 @@ exports.useDeleteDisclaimerMutation = useDeleteDisclaimerMutation;
|
|
|
45863
46141
|
exports.useDeleteExternalMappingMutation = useDeleteExternalMappingMutation;
|
|
45864
46142
|
exports.useDeleteGlobalMemoryMutation = useDeleteGlobalMemoryMutation;
|
|
45865
46143
|
exports.useDeleteIntegrationCredentialMutation = useDeleteIntegrationCredentialMutation;
|
|
46144
|
+
exports.useDeleteLtiKeyMutation = useDeleteLtiKeyMutation;
|
|
46145
|
+
exports.useDeleteLtiMentorMutation = useDeleteLtiMentorMutation;
|
|
46146
|
+
exports.useDeleteLtiToolMutation = useDeleteLtiToolMutation;
|
|
45866
46147
|
exports.useDeleteMCPServerMutation = useDeleteMCPServerMutation;
|
|
45867
46148
|
exports.useDeleteMemoryCategoryMutation = useDeleteMemoryCategoryMutation;
|
|
45868
46149
|
exports.useDeleteMentorMemoryMutation = useDeleteMentorMemoryMutation;
|
|
@@ -45927,6 +46208,7 @@ exports.useGetChatHistoryFilterQuery = useGetChatHistoryFilterQuery;
|
|
|
45927
46208
|
exports.useGetChatHistoryQuery = useGetChatHistoryQuery;
|
|
45928
46209
|
exports.useGetChatMessageTtsQuery = useGetChatMessageTtsQuery;
|
|
45929
46210
|
exports.useGetChatMessagesForSessionQuery = useGetChatMessagesForSessionQuery;
|
|
46211
|
+
exports.useGetChatPrivacyEffectiveQuery = useGetChatPrivacyEffectiveQuery;
|
|
45930
46212
|
exports.useGetClawInstanceQuery = useGetClawInstanceQuery;
|
|
45931
46213
|
exports.useGetClawInstancesQuery = useGetClawInstancesQuery;
|
|
45932
46214
|
exports.useGetClawMentorConfigQuery = useGetClawMentorConfigQuery;
|
|
@@ -45951,7 +46233,6 @@ exports.useGetDepartmentMemberCheckQuery = useGetDepartmentMemberCheckQuery;
|
|
|
45951
46233
|
exports.useGetDesiredSkillsQuery = useGetDesiredSkillsQuery;
|
|
45952
46234
|
exports.useGetDetailedFinancialStatsQuery = useGetDetailedFinancialStatsQuery;
|
|
45953
46235
|
exports.useGetDisclaimersQuery = useGetDisclaimersQuery;
|
|
45954
|
-
exports.useGetDownloadReportFromURLQuery = useGetDownloadReportFromURLQuery;
|
|
45955
46236
|
exports.useGetEdxSSOTokenQuery = useGetEdxSSOTokenQuery;
|
|
45956
46237
|
exports.useGetEnrollmentCourseSearchQuery = useGetEnrollmentCourseSearchQuery;
|
|
45957
46238
|
exports.useGetExamInfoQuery = useGetExamInfoQuery;
|
|
@@ -45966,7 +46247,14 @@ exports.useGetIntegrationCredentialsSchemaQuery = useGetIntegrationCredentialsSc
|
|
|
45966
46247
|
exports.useGetIssuersQuery = useGetIssuersQuery;
|
|
45967
46248
|
exports.useGetItemSubscriptionQuery = useGetItemSubscriptionQuery;
|
|
45968
46249
|
exports.useGetLLMCredentialsQuery = useGetLLMCredentialsQuery;
|
|
46250
|
+
exports.useGetLearnerDetailsQuery = useGetLearnerDetailsQuery;
|
|
45969
46251
|
exports.useGetLlmsQuery = useGetLlmsQuery;
|
|
46252
|
+
exports.useGetLtiKeyDetailQuery = useGetLtiKeyDetailQuery;
|
|
46253
|
+
exports.useGetLtiKeysQuery = useGetLtiKeysQuery;
|
|
46254
|
+
exports.useGetLtiMentorDetailQuery = useGetLtiMentorDetailQuery;
|
|
46255
|
+
exports.useGetLtiMentorsQuery = useGetLtiMentorsQuery;
|
|
46256
|
+
exports.useGetLtiToolDetailQuery = useGetLtiToolDetailQuery;
|
|
46257
|
+
exports.useGetLtiToolsQuery = useGetLtiToolsQuery;
|
|
45970
46258
|
exports.useGetMCPServerConnectionsQuery = useGetMCPServerConnectionsQuery;
|
|
45971
46259
|
exports.useGetMCPServerQuery = useGetMCPServerQuery;
|
|
45972
46260
|
exports.useGetMCPServersQuery = useGetMCPServersQuery;
|
|
@@ -46025,6 +46313,7 @@ exports.useGetPublicMentorsQuery = useGetPublicMentorsQuery;
|
|
|
46025
46313
|
exports.useGetPublicPlatformImageAssetFileUrlQuery = useGetPublicPlatformImageAssetFileUrlQuery;
|
|
46026
46314
|
exports.useGetPublicPlatformMembershipQuery = useGetPublicPlatformMembershipQuery;
|
|
46027
46315
|
exports.useGetPublicPricingQuery = useGetPublicPricingQuery;
|
|
46316
|
+
exports.useGetRbacActionsDefinitionQuery = useGetRbacActionsDefinitionQuery;
|
|
46028
46317
|
exports.useGetRbacGroupDetailsQuery = useGetRbacGroupDetailsQuery;
|
|
46029
46318
|
exports.useGetRbacGroupsQuery = useGetRbacGroupsQuery;
|
|
46030
46319
|
exports.useGetRbacMentorAccessListQuery = useGetRbacMentorAccessListQuery;
|
|
@@ -46057,6 +46346,7 @@ exports.useGetStripePricingPageSessionQuery = useGetStripePricingPageSessionQuer
|
|
|
46057
46346
|
exports.useGetStudentMentorCreationStatusQuery = useGetStudentMentorCreationStatusQuery;
|
|
46058
46347
|
exports.useGetTemplateDetailsQuery = useGetTemplateDetailsQuery;
|
|
46059
46348
|
exports.useGetTemplatesQuery = useGetTemplatesQuery;
|
|
46349
|
+
exports.useGetTenantChatPrivacyConfigQuery = useGetTenantChatPrivacyConfigQuery;
|
|
46060
46350
|
exports.useGetTenantMetadataQuery = useGetTenantMetadataQuery;
|
|
46061
46351
|
exports.useGetToolsQuery = useGetToolsQuery;
|
|
46062
46352
|
exports.useGetTopStudentsByChatMessagesQuery = useGetTopStudentsByChatMessagesQuery;
|
|
@@ -46074,6 +46364,7 @@ exports.useGetUserAppsQuery = useGetUserAppsQuery;
|
|
|
46074
46364
|
exports.useGetUserAssignedCoursesQuery = useGetUserAssignedCoursesQuery;
|
|
46075
46365
|
exports.useGetUserAssignedPathwaysQuery = useGetUserAssignedPathwaysQuery;
|
|
46076
46366
|
exports.useGetUserCatalogPathwaysQuery = useGetUserCatalogPathwaysQuery;
|
|
46367
|
+
exports.useGetUserChatPrivacySettingsQuery = useGetUserChatPrivacySettingsQuery;
|
|
46077
46368
|
exports.useGetUserCohortsOverTimeQuery = useGetUserCohortsOverTimeQuery;
|
|
46078
46369
|
exports.useGetUserCompaniesQuery = useGetUserCompaniesQuery;
|
|
46079
46370
|
exports.useGetUserCredentialsQuery = useGetUserCredentialsQuery;
|
|
@@ -46138,6 +46429,7 @@ exports.useLazyGetChatHistoryFilterQuery = useLazyGetChatHistoryFilterQuery;
|
|
|
46138
46429
|
exports.useLazyGetChatHistoryQuery = useLazyGetChatHistoryQuery;
|
|
46139
46430
|
exports.useLazyGetChatMessageTtsQuery = useLazyGetChatMessageTtsQuery;
|
|
46140
46431
|
exports.useLazyGetChatMessagesForSessionQuery = useLazyGetChatMessagesForSessionQuery;
|
|
46432
|
+
exports.useLazyGetChatPrivacyEffectiveQuery = useLazyGetChatPrivacyEffectiveQuery;
|
|
46141
46433
|
exports.useLazyGetClawInstanceQuery = useLazyGetClawInstanceQuery;
|
|
46142
46434
|
exports.useLazyGetClawInstancesQuery = useLazyGetClawInstancesQuery;
|
|
46143
46435
|
exports.useLazyGetClawMentorConfigQuery = useLazyGetClawMentorConfigQuery;
|
|
@@ -46172,6 +46464,7 @@ exports.useLazyGetIssuersQuery = useLazyGetIssuersQuery;
|
|
|
46172
46464
|
exports.useLazyGetItemSubscriptionQuery = useLazyGetItemSubscriptionQuery;
|
|
46173
46465
|
exports.useLazyGetLLMCredentialsQuery = useLazyGetLLMCredentialsQuery;
|
|
46174
46466
|
exports.useLazyGetLlmsQuery = useLazyGetLlmsQuery;
|
|
46467
|
+
exports.useLazyGetLtiKeyDetailQuery = useLazyGetLtiKeyDetailQuery;
|
|
46175
46468
|
exports.useLazyGetMCPServerQuery = useLazyGetMCPServerQuery;
|
|
46176
46469
|
exports.useLazyGetMCPServersQuery = useLazyGetMCPServersQuery;
|
|
46177
46470
|
exports.useLazyGetMemoryCategoriesAdminQuery = useLazyGetMemoryCategoriesAdminQuery;
|
|
@@ -46219,6 +46512,7 @@ exports.useLazyGetPublicMentorsQuery = useLazyGetPublicMentorsQuery;
|
|
|
46219
46512
|
exports.useLazyGetPublicPlatformImageAssetFileUrlQuery = useLazyGetPublicPlatformImageAssetFileUrlQuery;
|
|
46220
46513
|
exports.useLazyGetPublicPlatformMembershipQuery = useLazyGetPublicPlatformMembershipQuery;
|
|
46221
46514
|
exports.useLazyGetPublicPricingQuery = useLazyGetPublicPricingQuery;
|
|
46515
|
+
exports.useLazyGetRbacActionsDefinitionQuery = useLazyGetRbacActionsDefinitionQuery;
|
|
46222
46516
|
exports.useLazyGetRbacRolesQuery = useLazyGetRbacRolesQuery;
|
|
46223
46517
|
exports.useLazyGetRbacTeamsAccessListQuery = useLazyGetRbacTeamsAccessListQuery;
|
|
46224
46518
|
exports.useLazyGetRecentMessageQuery = useLazyGetRecentMessageQuery;
|
|
@@ -46241,6 +46535,7 @@ exports.useLazyGetStripeContextQuery = useLazyGetStripeContextQuery;
|
|
|
46241
46535
|
exports.useLazyGetStripePricingPageSessionQuery = useLazyGetStripePricingPageSessionQuery;
|
|
46242
46536
|
exports.useLazyGetTemplateDetailsQuery = useLazyGetTemplateDetailsQuery;
|
|
46243
46537
|
exports.useLazyGetTemplatesQuery = useLazyGetTemplatesQuery;
|
|
46538
|
+
exports.useLazyGetTenantChatPrivacyConfigQuery = useLazyGetTenantChatPrivacyConfigQuery;
|
|
46244
46539
|
exports.useLazyGetTenantMetadataQuery = useLazyGetTenantMetadataQuery;
|
|
46245
46540
|
exports.useLazyGetToolsQuery = useLazyGetToolsQuery;
|
|
46246
46541
|
exports.useLazyGetTrainingDocumentRetrainScheduleQuery = useLazyGetTrainingDocumentRetrainScheduleQuery;
|
|
@@ -46249,6 +46544,7 @@ exports.useLazyGetUserAppsQuery = useLazyGetUserAppsQuery;
|
|
|
46249
46544
|
exports.useLazyGetUserAssignedCoursesQuery = useLazyGetUserAssignedCoursesQuery;
|
|
46250
46545
|
exports.useLazyGetUserAssignedPathwaysQuery = useLazyGetUserAssignedPathwaysQuery;
|
|
46251
46546
|
exports.useLazyGetUserCatalogPathwaysQuery = useLazyGetUserCatalogPathwaysQuery;
|
|
46547
|
+
exports.useLazyGetUserChatPrivacySettingsQuery = useLazyGetUserChatPrivacySettingsQuery;
|
|
46252
46548
|
exports.useLazyGetUserCompaniesQuery = useLazyGetUserCompaniesQuery;
|
|
46253
46549
|
exports.useLazyGetUserCredentialsQuery = useLazyGetUserCredentialsQuery;
|
|
46254
46550
|
exports.useLazyGetUserDesiredSkillsQuery = useLazyGetUserDesiredSkillsQuery;
|
|
@@ -46348,6 +46644,9 @@ exports.useUpdateCredentialMutation = useUpdateCredentialMutation;
|
|
|
46348
46644
|
exports.useUpdateDisclaimerMutation = useUpdateDisclaimerMutation;
|
|
46349
46645
|
exports.useUpdateExamAttemptMutation = useUpdateExamAttemptMutation;
|
|
46350
46646
|
exports.useUpdateIntegrationCredentialMutation = useUpdateIntegrationCredentialMutation;
|
|
46647
|
+
exports.useUpdateLtiKeyMutation = useUpdateLtiKeyMutation;
|
|
46648
|
+
exports.useUpdateLtiMentorMutation = useUpdateLtiMentorMutation;
|
|
46649
|
+
exports.useUpdateLtiToolMutation = useUpdateLtiToolMutation;
|
|
46351
46650
|
exports.useUpdateMCPServerMutation = useUpdateMCPServerMutation;
|
|
46352
46651
|
exports.useUpdateMemoryCategoryMutation = useUpdateMemoryCategoryMutation;
|
|
46353
46652
|
exports.useUpdateMemsearchConfigMutation = useUpdateMemsearchConfigMutation;
|
|
@@ -46368,10 +46667,13 @@ exports.useUpdateRbacMentorAccessMutation = useUpdateRbacMentorAccessMutation;
|
|
|
46368
46667
|
exports.useUpdateRbacPolicyMutation = useUpdateRbacPolicyMutation;
|
|
46369
46668
|
exports.useUpdateRbacRoleMutation = useUpdateRbacRoleMutation;
|
|
46370
46669
|
exports.useUpdateRecommendedPromptMutation = useUpdateRecommendedPromptMutation;
|
|
46670
|
+
exports.useUpdateSessionDisableChathistoryMutation = useUpdateSessionDisableChathistoryMutation;
|
|
46371
46671
|
exports.useUpdateShareableLinkMutation = useUpdateShareableLinkMutation;
|
|
46372
46672
|
exports.useUpdateTemplateMutation = useUpdateTemplateMutation;
|
|
46673
|
+
exports.useUpdateTenantChatPrivacyConfigMutation = useUpdateTenantChatPrivacyConfigMutation;
|
|
46373
46674
|
exports.useUpdateTenantMetadataMutation = useUpdateTenantMetadataMutation;
|
|
46374
46675
|
exports.useUpdateUserAccountMutation = useUpdateUserAccountMutation;
|
|
46676
|
+
exports.useUpdateUserChatPrivacySettingsMutation = useUpdateUserChatPrivacySettingsMutation;
|
|
46375
46677
|
exports.useUpdateUserEducationMutation = useUpdateUserEducationMutation;
|
|
46376
46678
|
exports.useUpdateUserExperienceMutation = useUpdateUserExperienceMutation;
|
|
46377
46679
|
exports.useUpdateUserMemorySettingsMutation = useUpdateUserMemorySettingsMutation;
|