@iblai/data-layer 1.10.0 → 1.11.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.
Files changed (30) hide show
  1. package/dist/index.d.ts +31666 -20792
  2. package/dist/index.esm.js +917 -36
  3. package/dist/index.esm.js.map +1 -1
  4. package/dist/index.js +989 -35
  5. package/dist/index.js.map +1 -1
  6. package/dist/package.json +1 -1
  7. package/dist/src/config.d.ts +1 -0
  8. package/dist/src/constants.d.ts +2 -1
  9. package/dist/src/features/chat/__tests__/api-slice.test.d.ts +1 -0
  10. package/dist/src/features/chat/api-slice.d.ts +882 -1
  11. package/dist/src/features/chat/constants.d.ts +7 -0
  12. package/dist/src/features/core/api-slice.d.ts +1314 -345
  13. package/dist/src/features/core/types.d.ts +57 -0
  14. package/dist/src/features/evaluations/api-slice.d.ts +4314 -0
  15. package/dist/src/features/evaluations/constants.d.ts +102 -0
  16. package/dist/src/features/evaluations/types.d.ts +285 -0
  17. package/dist/src/features/mentor/privacy.d.ts +1 -1
  18. package/dist/src/features/studio-authoring/__tests__/api-slice.test.d.ts +1 -0
  19. package/dist/src/features/studio-authoring/api-slice.d.ts +1601 -0
  20. package/dist/src/features/studio-authoring/constants.d.ts +39 -0
  21. package/dist/src/features/studio-authoring/types.d.ts +65 -0
  22. package/dist/src/features/support-tickets/api-slice.d.ts +2356 -0
  23. package/dist/src/features/support-tickets/constants.d.ts +29 -0
  24. package/dist/src/features/support-tickets/types.d.ts +114 -0
  25. package/dist/src/features/utils.d.ts +5 -0
  26. package/dist/src/index.d.ts +9 -0
  27. package/dist/src/utils/__tests__/index.test.d.ts +1 -0
  28. package/dist/src/utils/index.d.ts +1 -1
  29. package/dist/tsconfig.tsbuildinfo +1 -1
  30. package/package.json +1 -1
package/dist/index.esm.js CHANGED
@@ -39050,6 +39050,7 @@ var SERVICES;
39050
39050
  SERVICES["LMS"] = "LMS";
39051
39051
  SERVICES["DM"] = "DM";
39052
39052
  SERVICES["AXD"] = "AXD";
39053
+ SERVICES["STUDIO"] = "STUDIO";
39053
39054
  })(SERVICES || (SERVICES = {}));
39054
39055
 
39055
39056
  class Config {
@@ -39059,6 +39060,7 @@ Config.lmsUrl = 'https://learn.iblai.app';
39059
39060
  Config.dmUrl = 'https://base.manager.iblai.app';
39060
39061
  Config.axdUrl = 'https://base.manager.iblai.app';
39061
39062
  Config.mentorIframeUrl = 'https://mentor.iblai.tech';
39063
+ Config.studioUrl = 'https://studio.iblai.app';
39062
39064
  Config.httpErrorHandlers = {};
39063
39065
 
39064
39066
  class IblDataLayer {
@@ -39125,10 +39127,23 @@ const getServiceUrl = (service) => {
39125
39127
  return Config.lmsUrl;
39126
39128
  case SERVICES.DM:
39127
39129
  return Config.dmUrl;
39130
+ case SERVICES.STUDIO:
39131
+ return Config.studioUrl;
39128
39132
  default:
39129
39133
  return Config.dmUrl;
39130
39134
  }
39131
39135
  };
39136
+ /**
39137
+ * Read a cookie value by name. Returns null outside the browser or when the
39138
+ * cookie is absent. Used for Studio's CSRF token (`csrftoken`).
39139
+ */
39140
+ const getCookieValue = (name) => {
39141
+ if (typeof document === 'undefined') {
39142
+ return null;
39143
+ }
39144
+ const match = document.cookie.match(new RegExp(`(?:^|;\\s*)${name}=([^;]*)`));
39145
+ return match ? decodeURIComponent(match[1]) : null;
39146
+ };
39132
39147
  /**
39133
39148
  * Get the headers required for API requests based on the provided service type.
39134
39149
  */
@@ -39152,7 +39167,8 @@ const getHeaders = async (service) => {
39152
39167
  return; // No Authorization header when no valid token
39153
39168
  }
39154
39169
  let prefix;
39155
- if (service === SERVICES.LMS) {
39170
+ // Studio (Open edX CMS) accepts the same edX token as the LMS.
39171
+ if (service === SERVICES.LMS || service === SERVICES.STUDIO) {
39156
39172
  if (token.length > 30) {
39157
39173
  prefix = 'JWT';
39158
39174
  }
@@ -39255,7 +39271,7 @@ const isErrorObject = (data) => {
39255
39271
  const baseQuery = (service, jsonContentType = true, contentType, skipAuth = false) => fetchBaseQuery({
39256
39272
  baseUrl: getServiceUrl(service),
39257
39273
  timeout: 30000, // 30 second timeout
39258
- credentials: service === SERVICES.LEGACY_LMS ? 'include' : 'omit',
39274
+ credentials: service === SERVICES.LEGACY_LMS || service === SERVICES.STUDIO ? 'include' : 'omit',
39259
39275
  prepareHeaders: async (headers) => {
39260
39276
  // Only add auth headers if skipAuth is false
39261
39277
  if (!skipAuth) {
@@ -39273,6 +39289,18 @@ const baseQuery = (service, jsonContentType = true, contentType, skipAuth = fals
39273
39289
  if (contentType) {
39274
39290
  headers.set('Content-Type', contentType);
39275
39291
  }
39292
+ // Studio (Open edX CMS) endpoints require the Django CSRF token and only
39293
+ // return JSON when asked for it explicitly.
39294
+ if (service === SERVICES.STUDIO) {
39295
+ const csrfToken = getCookieValue('csrftoken');
39296
+ if (csrfToken) {
39297
+ headers.set('X-CSRFToken', csrfToken);
39298
+ }
39299
+ if (!headers.has('Accept')) {
39300
+ headers.set('Accept', 'application/json');
39301
+ }
39302
+ headers.set('X-Requested-With', 'XMLHttpRequest');
39303
+ }
39276
39304
  // Add CSRF protection headers for LMS service
39277
39305
  if (service === SERVICES.LMS) {
39278
39306
  // Use mentorIframeUrl for both origin and referer
@@ -39302,7 +39330,28 @@ const NON_RETRYABLE_STATUS_CODES = [402, 401];
39302
39330
  * Uses `retry.fail()` to immediately bail out of the retry loop.
39303
39331
  */
39304
39332
  const withNonRetryableErrors = (query) => async (args, api, extraOptions) => {
39305
- const result = await query(args, api, extraOptions);
39333
+ let result;
39334
+ try {
39335
+ result = await query(args, api, extraOptions);
39336
+ }
39337
+ catch (e) {
39338
+ // RTK's `retry` only counts attempts for errors RETURNED as `{ error }`
39339
+ // (wrapped in HandledError); a THROWN exception bypasses its
39340
+ // retryCondition and makes the `while (true)` loop spin forever —
39341
+ // an eternal 'pending' query with no network request and no surfaced
39342
+ // error. fetchBaseQuery can throw before fetch (e.g. from
39343
+ // prepareHeaders), so convert throws into returned errors to keep the
39344
+ // retry loop bounded.
39345
+ const message = e instanceof Error ? `${e.name}: ${e.message}` : String(e);
39346
+ return {
39347
+ error: {
39348
+ status: 'FETCH_ERROR',
39349
+ // `data` is what iblFetchBaseQuery propagates to callers/logs.
39350
+ data: message,
39351
+ error: message,
39352
+ },
39353
+ };
39354
+ }
39306
39355
  if (result.error && NON_RETRYABLE_STATUS_CODES.includes(result.error.status)) {
39307
39356
  retry$1.fail(result.error);
39308
39357
  }
@@ -39481,6 +39530,43 @@ const chatHistoryApiSlice = createApi({
39481
39530
  });
39482
39531
  const { useGetChatHistoryFilterQuery, useLazyGetChatHistoryFilterQuery, useGetChatHistoryQuery, useLazyGetChatHistoryQuery, useExportChatHistoryMutation, useGetChatHistoryExportStatusQuery, useLazyGetChatHistoryExportStatusQuery, } = chatHistoryApiSlice;
39483
39532
 
39533
+ const CHAT_CUSTOM_REDUCER_PATH = 'chatCustomApiSlice';
39534
+ /**
39535
+ * Recent-messages sidebar list pagination. The endpoint uses DRF
39536
+ * LimitOffsetPagination, so the page param is a row offset (not a page number).
39537
+ */
39538
+ const RECENT_MESSAGES_PAGE_SIZE = 10;
39539
+ const RECENT_MESSAGES_LIMIT_PARAM = 'limit';
39540
+ const RECENT_MESSAGES_OFFSET_PARAM = 'offset';
39541
+ const CHAT_CUSTOM_ENDPOINTS = {
39542
+ GET_CHAT_MESSAGE_TTS: {
39543
+ path: (org, user_id, chat_message_id) => `/api/ai-mentor/orgs/${org}/users/${user_id}/chat-messages/${chat_message_id}/tts`,
39544
+ service: SERVICES.DM,
39545
+ },
39546
+ };
39547
+
39548
+ /**
39549
+ * Derive the next row offset from a DRF LimitOffset response. Returns `undefined`
39550
+ * when there is no further page (missing/null `next`, or a non-paginated shape
39551
+ * such as a bare array), so the query degrades to a single page.
39552
+ */
39553
+ const getNextRecentMessagesPageParam = (lastPage, lastPageParam) => lastPage && !Array.isArray(lastPage) && lastPage.next
39554
+ ? lastPageParam + RECENT_MESSAGES_PAGE_SIZE
39555
+ : undefined;
39556
+ /**
39557
+ * Build the recent-messages URL for a given row offset. The endpoint uses DRF
39558
+ * LimitOffsetPagination (`limit`/`offset`), not page numbers.
39559
+ */
39560
+ const buildRecentMessagesUrl = (args, pageParam) => {
39561
+ const params = new URLSearchParams();
39562
+ params.append(RECENT_MESSAGES_LIMIT_PARAM, String(RECENT_MESSAGES_PAGE_SIZE));
39563
+ params.append(RECENT_MESSAGES_OFFSET_PARAM, String(pageParam));
39564
+ if (args.mentor)
39565
+ params.append('mentor', args.mentor);
39566
+ if (args.search && args.search.trim() !== '')
39567
+ params.append('search', args.search.trim());
39568
+ return `/api/ai-mentor/orgs/${args.org}/users/${args.userId}/recent-messages/?${params.toString()}`;
39569
+ };
39484
39570
  const chatApiSlice = createApi({
39485
39571
  reducerPath: 'chatApiSlice',
39486
39572
  baseQuery: iblFakeBaseQuery,
@@ -39515,6 +39601,21 @@ const chatApiSlice = createApi({
39515
39601
  getRecentMessage: builder.query({
39516
39602
  ...buildEndpointFromDmService(AiMentorService.aiMentorOrgsUsersRecentMessagesRetrieve),
39517
39603
  }),
39604
+ getRecentMessages: builder.infiniteQuery({
39605
+ infiniteQueryOptions: {
39606
+ initialPageParam: 0,
39607
+ getNextPageParam: (lastPage, _allPages, lastPageParam) => getNextRecentMessagesPageParam(lastPage, lastPageParam),
39608
+ },
39609
+ queryFn: async ({ queryArg, pageParam }, api, extraOptions) => {
39610
+ const url = buildRecentMessagesUrl(queryArg, pageParam);
39611
+ return iblFetchBaseQuery({
39612
+ url,
39613
+ method: 'GET',
39614
+ service: SERVICES.DM,
39615
+ }, api, extraOptions);
39616
+ },
39617
+ providesTags: ['recentMessages'],
39618
+ }),
39518
39619
  deleteMessage: builder.mutation({
39519
39620
  ...buildEndpointFromDmService(AiMentorService.aiMentorOrgsUsersSessionsDestroy),
39520
39621
  }),
@@ -39529,15 +39630,7 @@ const chatApiSlice = createApi({
39529
39630
  }),
39530
39631
  }),
39531
39632
  });
39532
- const { useLazyGetPinnedMessagesQuery, useUnPinMessageMutation, useDeleteMessageMutation, useGetPinnedMessagesQuery, useAddPinnedMessageMutation, useGetVectorDocumentsQuery, useLazyGetVectorDocumentsQuery, useGetRecentMessageQuery, useLazyGetRecentMessageQuery, useUpdateMessageFeedbackMutation, useAudioToTextMutation, } = chatApiSlice;
39533
-
39534
- const CHAT_CUSTOM_REDUCER_PATH = 'chatCustomApiSlice';
39535
- const CHAT_CUSTOM_ENDPOINTS = {
39536
- GET_CHAT_MESSAGE_TTS: {
39537
- path: (org, user_id, chat_message_id) => `/api/ai-mentor/orgs/${org}/users/${user_id}/chat-messages/${chat_message_id}/tts`,
39538
- service: SERVICES.DM,
39539
- },
39540
- };
39633
+ const { useLazyGetPinnedMessagesQuery, useUnPinMessageMutation, useDeleteMessageMutation, useGetPinnedMessagesQuery, useAddPinnedMessageMutation, useGetVectorDocumentsQuery, useLazyGetVectorDocumentsQuery, useGetRecentMessageQuery, useLazyGetRecentMessageQuery, useGetRecentMessagesInfiniteQuery, useUpdateMessageFeedbackMutation, useAudioToTextMutation, } = chatApiSlice;
39541
39634
 
39542
39635
  const chatCustomApiSlice = createApi({
39543
39636
  reducerPath: CHAT_CUSTOM_REDUCER_PATH,
@@ -40421,6 +40514,32 @@ const userApiSlice = createApi({
40421
40514
  });
40422
40515
  const { useGetUserMetadataQuery, useLazyGetUserMetadataQuery, useUpdateUserMetadataMutation, useUpdateUserAccountMutation, useResetPasswordMutation, useUpdateUserRoleMutation, useUploadProfileImageMutation, useRemoveProfileImageMutation, useGetUserMetadataEdxQuery, useLazyGetUserMetadataEdxQuery, useUpdateUserMetadataEdxMutation, useGetUserPlatformMetadataQuery, useLazyGetUserPlatformMetadataQuery, useUpdateUserPlatformMetadataMutation, } = userApiSlice;
40423
40516
 
40517
+ /**
40518
+ * Shared fetch for the paginated LTI provider list endpoints. Sends
40519
+ * `platform_key`, optional `mentor_id` (Agent Links), and `page` / `page_size`.
40520
+ */
40521
+ async function fetchLtiList(path, args) {
40522
+ const queryParams = new URLSearchParams({ platform_key: args.platformKey });
40523
+ if (args.mentorId)
40524
+ queryParams.set('mentor_id', args.mentorId);
40525
+ if (args.page !== undefined)
40526
+ queryParams.set('page', String(args.page));
40527
+ if (args.pageSize !== undefined)
40528
+ queryParams.set('page_size', String(args.pageSize));
40529
+ const url = `${OpenAPI.BASE}/api/core/lti/1p3/provider/${path}/?${queryParams.toString()}`;
40530
+ const response = await fetch(url, {
40531
+ method: 'GET',
40532
+ headers: OpenAPI.HEADERS,
40533
+ credentials: 'omit',
40534
+ });
40535
+ if (!response.ok) {
40536
+ throw Object.assign(new Error(`Failed to fetch ${path}`), {
40537
+ status: response.status,
40538
+ body: await response.text(),
40539
+ });
40540
+ }
40541
+ return response.json();
40542
+ }
40424
40543
  const coreApiSlice = createApi({
40425
40544
  reducerPath: 'coreApiSlice',
40426
40545
  baseQuery: iblFakeBaseQuery,
@@ -40710,6 +40829,83 @@ const coreApiSlice = createApi({
40710
40829
  return response.json();
40711
40830
  }),
40712
40831
  }),
40832
+ // ── RBAC resource discovery (incremental resource-path builder) ──
40833
+ // Custom calls: the pinned @iblai/iblai-api client does not expose the
40834
+ // discovery endpoint yet, and list_url is a dynamic relative URL returned
40835
+ // by the discovery response rather than a fixed generated route.
40836
+ getRbacResourceDiscovery: builder.query({
40837
+ ...buildEndpointFromService(SERVICES.DM, async (args) => {
40838
+ // URLSearchParams escapes the slashes in `path` for us.
40839
+ const queryParams = new URLSearchParams({ path: args.path });
40840
+ if (args.platformKey)
40841
+ queryParams.set('platform_key', args.platformKey);
40842
+ const url = `${OpenAPI.BASE}/api/core/rbac/resources/?${queryParams.toString()}`;
40843
+ const response = await fetch(url, {
40844
+ method: 'GET',
40845
+ headers: OpenAPI.HEADERS,
40846
+ credentials: 'omit',
40847
+ });
40848
+ if (!response.ok) {
40849
+ throw Object.assign(new Error('Failed to fetch RBAC resource discovery'), {
40850
+ status: response.status,
40851
+ body: await response.text(),
40852
+ });
40853
+ }
40854
+ return response.json();
40855
+ }),
40856
+ }),
40857
+ getRbacResourceList: builder.query({
40858
+ ...buildEndpointFromService(SERVICES.DM, async (args) => {
40859
+ var _a, _b, _c, _d, _e, _f;
40860
+ const url = new URL(`${OpenAPI.BASE}${args.listUrl}`);
40861
+ for (const [key, value] of Object.entries((_a = args.searchParams) !== null && _a !== void 0 ? _a : {})) {
40862
+ if (value !== '')
40863
+ url.searchParams.set(key, value);
40864
+ }
40865
+ const response = await fetch(url.toString(), {
40866
+ method: 'GET',
40867
+ headers: OpenAPI.HEADERS,
40868
+ credentials: 'omit',
40869
+ });
40870
+ if (!response.ok) {
40871
+ throw Object.assign(new Error('Failed to fetch RBAC resource list'), {
40872
+ status: response.status,
40873
+ body: await response.text(),
40874
+ });
40875
+ }
40876
+ const raw = await response.json();
40877
+ // The list endpoints vary per collection: bare arrays, DRF
40878
+ // envelopes ({results}), or nested ({results: {data}} / {data}).
40879
+ const rows = Array.isArray(raw)
40880
+ ? raw
40881
+ : Array.isArray(raw === null || raw === void 0 ? void 0 : raw.results)
40882
+ ? raw.results
40883
+ : Array.isArray((_b = raw === null || raw === void 0 ? void 0 : raw.results) === null || _b === void 0 ? void 0 : _b.data)
40884
+ ? raw.results.data
40885
+ : Array.isArray(raw === null || raw === void 0 ? void 0 : raw.data)
40886
+ ? raw.data
40887
+ : [];
40888
+ const pkField = (_d = (_c = args.resultFields) === null || _c === void 0 ? void 0 : _c.pk) !== null && _d !== void 0 ? _d : 'id';
40889
+ const nameField = (_f = (_e = args.resultFields) === null || _e === void 0 ? void 0 : _e.name) !== null && _f !== void 0 ? _f : 'name';
40890
+ const items = rows
40891
+ .filter((row) => (row === null || row === void 0 ? void 0 : row[pkField]) !== undefined && (row === null || row === void 0 ? void 0 : row[pkField]) !== null)
40892
+ .map((row) => {
40893
+ // Some rows (e.g. platform users) have a blank name — fall back
40894
+ // to their email, then to the pk, so the picker never shows an
40895
+ // empty label.
40896
+ const rawName = row[nameField];
40897
+ const name = (typeof rawName === 'string' ? rawName.trim() : rawName) ||
40898
+ (typeof row.email === 'string' ? row.email : '') ||
40899
+ String(row[pkField]);
40900
+ return {
40901
+ pk: row[pkField],
40902
+ name: String(name),
40903
+ raw: row,
40904
+ };
40905
+ });
40906
+ return { items, raw };
40907
+ }),
40908
+ }),
40713
40909
  getRbacTeamsAccessList: builder.query({
40714
40910
  ...buildEndpointFromDmService(CoreService.coreRbacTeamsAccessList),
40715
40911
  providesTags: ['RbacTeamsAccess'],
@@ -40720,7 +40916,7 @@ const coreApiSlice = createApi({
40720
40916
  }),
40721
40917
  // ── LTI 1.3 Provider: Keys (platform-wide RSA signing keys) ──
40722
40918
  getLtiKeys: builder.query({
40723
- ...buildEndpointFromDmService(CoreService.coreLti1P3ProviderLtiKeysList),
40919
+ ...buildEndpointFromService(SERVICES.DM, (args) => fetchLtiList('lti-keys', args)),
40724
40920
  providesTags: ['LtiKeys'],
40725
40921
  }),
40726
40922
  getLtiKeyDetail: builder.query({
@@ -40749,24 +40945,7 @@ const coreApiSlice = createApi({
40749
40945
  // The generated CoreService.coreLti1P3ProviderLtiMentorsList only sends
40750
40946
  // platform_key.
40751
40947
  getLtiMentors: builder.query({
40752
- ...buildEndpointFromService(SERVICES.DM, async (args) => {
40753
- const queryParams = new URLSearchParams({ platform_key: args.platformKey });
40754
- if (args.mentorId)
40755
- queryParams.set('mentor_id', args.mentorId);
40756
- const url = `${OpenAPI.BASE}/api/core/lti/1p3/provider/lti-mentors/?${queryParams.toString()}`;
40757
- const response = await fetch(url, {
40758
- method: 'GET',
40759
- headers: OpenAPI.HEADERS,
40760
- credentials: 'omit',
40761
- });
40762
- if (!response.ok) {
40763
- throw Object.assign(new Error('Failed to fetch LTI mentors'), {
40764
- status: response.status,
40765
- body: await response.text(),
40766
- });
40767
- }
40768
- return response.json();
40769
- }),
40948
+ ...buildEndpointFromService(SERVICES.DM, (args) => fetchLtiList('lti-mentors', args)),
40770
40949
  providesTags: ['LtiMentors'],
40771
40950
  }),
40772
40951
  getLtiMentorDetail: builder.query({
@@ -40789,7 +40968,7 @@ const coreApiSlice = createApi({
40789
40968
  }),
40790
40969
  // ── LTI 1.3 Provider: Tools (platform-wide LTI Platform integrations) ──
40791
40970
  getLtiTools: builder.query({
40792
- ...buildEndpointFromDmService(CoreService.coreLti1P3ProviderLtiToolsList),
40971
+ ...buildEndpointFromService(SERVICES.DM, (args) => fetchLtiList('lti-tools', args)),
40793
40972
  providesTags: ['LtiTools'],
40794
40973
  }),
40795
40974
  getLtiToolDetail: builder.query({
@@ -40812,7 +40991,7 @@ const coreApiSlice = createApi({
40812
40991
  }),
40813
40992
  }),
40814
40993
  });
40815
- 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,
40994
+ 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, useGetRbacResourceDiscoveryQuery, useLazyGetRbacResourceDiscoveryQuery, useGetRbacResourceListQuery, useLazyGetRbacResourceListQuery, useGetRbacTeamsAccessListQuery, useLazyGetRbacTeamsAccessListQuery, useCreateRbacTeamsAccessMutation,
40816
40995
  // LTI Keys
40817
40996
  useGetLtiKeysQuery, useGetLtiKeyDetailQuery, useLazyGetLtiKeyDetailQuery, useCreateLtiKeyMutation, useUpdateLtiKeyMutation, useDeleteLtiKeyMutation,
40818
40997
  // LTI Agent (Mentor) Links
@@ -42702,6 +42881,155 @@ const edxSsoApiSlice = createApi({
42702
42881
  });
42703
42882
  const { useGetEdxSSOTokenQuery, useLazyGetEdxSSOTokenQuery } = edxSsoApiSlice;
42704
42883
 
42884
+ const STUDIO_AUTHORING_ENDPOINTS = {
42885
+ CREATE_COURSE: {
42886
+ path: (contentType) => `/api/ibl/manage/${contentType}/`,
42887
+ service: SERVICES.STUDIO,
42888
+ },
42889
+ DELETE_COURSE: {
42890
+ path: () => '/api/ibl/manage/course/delete',
42891
+ service: SERVICES.STUDIO,
42892
+ },
42893
+ COURSE_SETTINGS: {
42894
+ path: (contentType) => `/api/ibl/v1/${contentType}_settings/`,
42895
+ service: SERVICES.STUDIO,
42896
+ },
42897
+ CREATE_XBLOCK: {
42898
+ path: () => '/xblock/',
42899
+ service: SERVICES.STUDIO,
42900
+ },
42901
+ UPDATE_XBLOCK: {
42902
+ path: (locator) => `/xblock/${locator}`,
42903
+ service: SERVICES.STUDIO,
42904
+ },
42905
+ SCORM_SUBMIT: {
42906
+ path: (locator) => `/xblock/${locator}/handler/studio_submit`,
42907
+ service: SERVICES.STUDIO,
42908
+ },
42909
+ UPLOAD_ASSET: {
42910
+ path: (courseKey) => `/assets/${courseKey}/`,
42911
+ service: SERVICES.STUDIO,
42912
+ },
42913
+ ADVANCED_SETTINGS: {
42914
+ path: (courseKey) => `/settings/advanced/${courseKey}`,
42915
+ service: SERVICES.STUDIO,
42916
+ },
42917
+ VIDEO_UPLOAD: {
42918
+ path: (courseKey) => `/api/v1/ibl/course/${courseKey}/s3-upload`,
42919
+ service: SERVICES.STUDIO,
42920
+ },
42921
+ };
42922
+
42923
+ /**
42924
+ * Studio (Open edX CMS) course-authoring endpoints. These hit the Studio host
42925
+ * (`Config.studioUrl`) with cookie-session auth + CSRF token, mirroring how
42926
+ * Studio's own frontend talks to it.
42927
+ */
42928
+ const studioAuthoringApiSlice = createApi({
42929
+ reducerPath: 'studioAuthoringApiSlice',
42930
+ baseQuery: iblFetchBaseQuery,
42931
+ endpoints: (builder) => ({
42932
+ /** Create the course (or library) shell. Returns `course_key`. */
42933
+ createStudioCourse: builder.mutation({
42934
+ query: ({ courseData, contentType = 'course' }) => ({
42935
+ url: STUDIO_AUTHORING_ENDPOINTS.CREATE_COURSE.path(contentType),
42936
+ service: STUDIO_AUTHORING_ENDPOINTS.CREATE_COURSE.service,
42937
+ method: 'POST',
42938
+ body: courseData,
42939
+ }),
42940
+ }),
42941
+ /** Delete a course — used as rollback when a later creation step fails. */
42942
+ deleteStudioCourse: builder.mutation({
42943
+ query: ({ courseKey }) => ({
42944
+ url: STUDIO_AUTHORING_ENDPOINTS.DELETE_COURSE.path(),
42945
+ service: STUDIO_AUTHORING_ENDPOINTS.DELETE_COURSE.service,
42946
+ method: 'POST',
42947
+ body: { course_key: courseKey },
42948
+ }),
42949
+ }),
42950
+ /** Set the full course settings/metadata payload. */
42951
+ updateStudioCourseSettings: builder.mutation({
42952
+ query: ({ settings, contentType = 'course' }) => ({
42953
+ url: STUDIO_AUTHORING_ENDPOINTS.COURSE_SETTINGS.path(contentType),
42954
+ service: STUDIO_AUTHORING_ENDPOINTS.COURSE_SETTINGS.service,
42955
+ method: 'POST',
42956
+ body: settings,
42957
+ }),
42958
+ }),
42959
+ /**
42960
+ * Create an xblock node (chapter / sequential / vertical / video / scorm)
42961
+ * under `parent_locator`.
42962
+ */
42963
+ createStudioXblock: builder.mutation({
42964
+ query: (blockData) => ({
42965
+ url: STUDIO_AUTHORING_ENDPOINTS.CREATE_XBLOCK.path(),
42966
+ service: STUDIO_AUTHORING_ENDPOINTS.CREATE_XBLOCK.service,
42967
+ method: 'POST',
42968
+ body: blockData,
42969
+ }),
42970
+ }),
42971
+ /**
42972
+ * Update an existing xblock by locator — used for video metadata and for
42973
+ * publishing a unit (`{ publish: 'make_public' }`).
42974
+ */
42975
+ updateStudioXblock: builder.mutation({
42976
+ query: ({ locator, blockData }) => ({
42977
+ url: STUDIO_AUTHORING_ENDPOINTS.UPDATE_XBLOCK.path(encodeURIComponent(locator)),
42978
+ service: STUDIO_AUTHORING_ENDPOINTS.UPDATE_XBLOCK.service,
42979
+ method: 'POST',
42980
+ body: blockData,
42981
+ }),
42982
+ }),
42983
+ /** Upload the SCORM zip to the scorm xblock's `studio_submit` handler. */
42984
+ uploadStudioScormPackage: builder.mutation({
42985
+ query: ({ locator, formData }) => ({
42986
+ url: STUDIO_AUTHORING_ENDPOINTS.SCORM_SUBMIT.path(encodeURIComponent(locator)),
42987
+ service: STUDIO_AUTHORING_ENDPOINTS.SCORM_SUBMIT.service,
42988
+ method: 'POST',
42989
+ body: formData,
42990
+ isJson: false,
42991
+ }),
42992
+ }),
42993
+ /** Upload a course asset (e.g. the course card image). */
42994
+ uploadStudioCourseAsset: builder.mutation({
42995
+ query: ({ courseKey, formData }) => ({
42996
+ url: STUDIO_AUTHORING_ENDPOINTS.UPLOAD_ASSET.path(encodeURIComponent(courseKey)),
42997
+ service: STUDIO_AUTHORING_ENDPOINTS.UPLOAD_ASSET.service,
42998
+ method: 'POST',
42999
+ body: formData,
43000
+ isJson: true,
43001
+ // Asset upload is authenticated by the Studio session cookie + CSRF
43002
+ // token alone; no Authorization header.
43003
+ skipAuth: true,
43004
+ // Matches how Studio's own frontend requests the asset endpoint. Set
43005
+ // explicitly so the base query keeps it instead of defaulting to
43006
+ // `application/json`.
43007
+ headers: { Accept: 'application/json, text/plain, */*' },
43008
+ }),
43009
+ }),
43010
+ /** Set Studio advanced settings (e.g. enable the `scorm` module). */
43011
+ setStudioAdvancedSettings: builder.mutation({
43012
+ query: ({ courseKey, settings }) => ({
43013
+ url: STUDIO_AUTHORING_ENDPOINTS.ADVANCED_SETTINGS.path(encodeURIComponent(courseKey)),
43014
+ service: STUDIO_AUTHORING_ENDPOINTS.ADVANCED_SETTINGS.service,
43015
+ method: 'POST',
43016
+ body: settings,
43017
+ }),
43018
+ }),
43019
+ /** Upload a raw video file to course storage; returns `{ file_url }`. */
43020
+ uploadStudioCourseVideo: builder.mutation({
43021
+ query: ({ courseKey, formData }) => ({
43022
+ url: STUDIO_AUTHORING_ENDPOINTS.VIDEO_UPLOAD.path(encodeURIComponent(courseKey)),
43023
+ service: STUDIO_AUTHORING_ENDPOINTS.VIDEO_UPLOAD.service,
43024
+ method: 'POST',
43025
+ body: formData,
43026
+ isJson: false,
43027
+ }),
43028
+ }),
43029
+ }),
43030
+ });
43031
+ const { useCreateStudioCourseMutation, useDeleteStudioCourseMutation, useUpdateStudioCourseSettingsMutation, useCreateStudioXblockMutation, useUpdateStudioXblockMutation, useUploadStudioScormPackageMutation, useUploadStudioCourseAssetMutation, useSetStudioAdvancedSettingsMutation, useUploadStudioCourseVideoMutation, } = studioAuthoringApiSlice;
43032
+
42705
43033
  const searchApiSlice = createApi({
42706
43034
  reducerPath: 'searchApiSlice',
42707
43035
  baseQuery: iblFakeBaseQuery,
@@ -43180,6 +43508,163 @@ const notificationsCustomApiSlice = createApi({
43180
43508
  });
43181
43509
  const { useGetTemplatesQuery, useLazyGetTemplatesQuery, useGetTemplateDetailsQuery, useLazyGetTemplateDetailsQuery, useUpdateTemplateMutation, useToggleTemplateMutation, } = notificationsCustomApiSlice;
43182
43510
 
43511
+ const SUPPORT_TICKETS_REDUCER_PATH = 'supportTicketsApiSlice';
43512
+ const SUPPORT_TICKETS_TAGS = {
43513
+ TICKETS: 'SUPPORT_TICKETS',
43514
+ TICKET: 'SUPPORT_TICKET',
43515
+ TICKET_MESSAGES: 'SUPPORT_TICKET_MESSAGES',
43516
+ };
43517
+ const SUPPORT_TICKETS_ENDPOINTS = {
43518
+ TICKETS: {
43519
+ service: SERVICES.DM,
43520
+ path: (org, userId) => `/api/ai-mentor/orgs/${org}/users/${userId}/support-tickets/`,
43521
+ },
43522
+ TICKET: {
43523
+ service: SERVICES.DM,
43524
+ path: (org, userId, id) => `/api/ai-mentor/orgs/${org}/users/${userId}/support-tickets/${id}/`,
43525
+ },
43526
+ TICKET_CLOSE: {
43527
+ service: SERVICES.DM,
43528
+ path: (org, userId, id) => `/api/ai-mentor/orgs/${org}/users/${userId}/support-tickets/${id}/close/`,
43529
+ },
43530
+ TICKET_MESSAGES: {
43531
+ service: SERVICES.DM,
43532
+ path: (org, userId) => `/api/ai-mentor/orgs/${org}/users/${userId}/support-ticket-messages/`,
43533
+ },
43534
+ TICKET_MESSAGE: {
43535
+ service: SERVICES.DM,
43536
+ path: (org, userId, id) => `/api/ai-mentor/orgs/${org}/users/${userId}/support-ticket-messages/${id}/`,
43537
+ },
43538
+ };
43539
+
43540
+ /**
43541
+ * Human Support ticket endpoints
43542
+ * (`/api/ai-mentor/orgs/{org}/users/{user_id}/support-tickets/` and
43543
+ * `/api/ai-mentor/orgs/{org}/users/{user_id}/support-ticket-messages/`).
43544
+ *
43545
+ * Hand-written: these endpoints are newer than the pinned `@iblai/iblai-api`
43546
+ * release, so there is no generated service method to wrap yet.
43547
+ */
43548
+ const supportTicketsApiSlice = createApi({
43549
+ reducerPath: SUPPORT_TICKETS_REDUCER_PATH,
43550
+ tagTypes: [...Object.values(SUPPORT_TICKETS_TAGS)],
43551
+ baseQuery: iblFetchBaseQuery,
43552
+ endpoints: (builder) => ({
43553
+ getSupportTickets: builder.query({
43554
+ query: ({ org, userId, mentorId, page, pageSize, session, status, username }) => ({
43555
+ url: SUPPORT_TICKETS_ENDPOINTS.TICKETS.path(org, userId),
43556
+ service: SUPPORT_TICKETS_ENDPOINTS.TICKETS.service,
43557
+ params: {
43558
+ mentor_id: mentorId,
43559
+ page,
43560
+ page_size: pageSize,
43561
+ session,
43562
+ status,
43563
+ username,
43564
+ },
43565
+ }),
43566
+ providesTags: [SUPPORT_TICKETS_TAGS.TICKETS],
43567
+ }),
43568
+ getSupportTicket: builder.query({
43569
+ query: ({ org, userId, id }) => ({
43570
+ url: SUPPORT_TICKETS_ENDPOINTS.TICKET.path(org, userId, id),
43571
+ service: SUPPORT_TICKETS_ENDPOINTS.TICKET.service,
43572
+ }),
43573
+ providesTags: [SUPPORT_TICKETS_TAGS.TICKET],
43574
+ }),
43575
+ updateSupportTicket: builder.mutation({
43576
+ query: ({ org, userId, id, body }) => ({
43577
+ url: SUPPORT_TICKETS_ENDPOINTS.TICKET.path(org, userId, id),
43578
+ service: SUPPORT_TICKETS_ENDPOINTS.TICKET.service,
43579
+ method: 'PUT',
43580
+ body,
43581
+ }),
43582
+ invalidatesTags: [SUPPORT_TICKETS_TAGS.TICKETS, SUPPORT_TICKETS_TAGS.TICKET],
43583
+ }),
43584
+ patchSupportTicket: builder.mutation({
43585
+ query: ({ org, userId, id, body }) => ({
43586
+ url: SUPPORT_TICKETS_ENDPOINTS.TICKET.path(org, userId, id),
43587
+ service: SUPPORT_TICKETS_ENDPOINTS.TICKET.service,
43588
+ method: 'PATCH',
43589
+ body,
43590
+ }),
43591
+ invalidatesTags: [SUPPORT_TICKETS_TAGS.TICKETS, SUPPORT_TICKETS_TAGS.TICKET],
43592
+ }),
43593
+ deleteSupportTicket: builder.mutation({
43594
+ query: ({ org, userId, id }) => ({
43595
+ url: SUPPORT_TICKETS_ENDPOINTS.TICKET.path(org, userId, id),
43596
+ service: SUPPORT_TICKETS_ENDPOINTS.TICKET.service,
43597
+ method: 'DELETE',
43598
+ }),
43599
+ invalidatesTags: [SUPPORT_TICKETS_TAGS.TICKETS],
43600
+ }),
43601
+ closeSupportTicket: builder.mutation({
43602
+ query: ({ org, userId, id }) => ({
43603
+ url: SUPPORT_TICKETS_ENDPOINTS.TICKET_CLOSE.path(org, userId, id),
43604
+ service: SUPPORT_TICKETS_ENDPOINTS.TICKET_CLOSE.service,
43605
+ method: 'POST',
43606
+ }),
43607
+ invalidatesTags: [SUPPORT_TICKETS_TAGS.TICKETS, SUPPORT_TICKETS_TAGS.TICKET],
43608
+ }),
43609
+ getSupportTicketMessages: builder.query({
43610
+ query: ({ org, userId, ticket, sender, page, pageSize }) => ({
43611
+ url: SUPPORT_TICKETS_ENDPOINTS.TICKET_MESSAGES.path(org, userId),
43612
+ service: SUPPORT_TICKETS_ENDPOINTS.TICKET_MESSAGES.service,
43613
+ params: {
43614
+ ticket,
43615
+ sender,
43616
+ page,
43617
+ page_size: pageSize,
43618
+ },
43619
+ }),
43620
+ providesTags: [SUPPORT_TICKETS_TAGS.TICKET_MESSAGES],
43621
+ }),
43622
+ getSupportTicketMessage: builder.query({
43623
+ query: ({ org, userId, id }) => ({
43624
+ url: SUPPORT_TICKETS_ENDPOINTS.TICKET_MESSAGE.path(org, userId, id),
43625
+ service: SUPPORT_TICKETS_ENDPOINTS.TICKET_MESSAGE.service,
43626
+ }),
43627
+ providesTags: [SUPPORT_TICKETS_TAGS.TICKET_MESSAGES],
43628
+ }),
43629
+ createSupportTicketMessage: builder.mutation({
43630
+ query: ({ org, userId, body }) => ({
43631
+ url: SUPPORT_TICKETS_ENDPOINTS.TICKET_MESSAGES.path(org, userId),
43632
+ service: SUPPORT_TICKETS_ENDPOINTS.TICKET_MESSAGES.service,
43633
+ method: 'POST',
43634
+ body,
43635
+ }),
43636
+ invalidatesTags: [SUPPORT_TICKETS_TAGS.TICKET_MESSAGES],
43637
+ }),
43638
+ updateSupportTicketMessage: builder.mutation({
43639
+ query: ({ org, userId, id, body }) => ({
43640
+ url: SUPPORT_TICKETS_ENDPOINTS.TICKET_MESSAGE.path(org, userId, id),
43641
+ service: SUPPORT_TICKETS_ENDPOINTS.TICKET_MESSAGE.service,
43642
+ method: 'PUT',
43643
+ body,
43644
+ }),
43645
+ invalidatesTags: [SUPPORT_TICKETS_TAGS.TICKET_MESSAGES],
43646
+ }),
43647
+ patchSupportTicketMessage: builder.mutation({
43648
+ query: ({ org, userId, id, body }) => ({
43649
+ url: SUPPORT_TICKETS_ENDPOINTS.TICKET_MESSAGE.path(org, userId, id),
43650
+ service: SUPPORT_TICKETS_ENDPOINTS.TICKET_MESSAGE.service,
43651
+ method: 'PATCH',
43652
+ body,
43653
+ }),
43654
+ invalidatesTags: [SUPPORT_TICKETS_TAGS.TICKET_MESSAGES],
43655
+ }),
43656
+ deleteSupportTicketMessage: builder.mutation({
43657
+ query: ({ org, userId, id }) => ({
43658
+ url: SUPPORT_TICKETS_ENDPOINTS.TICKET_MESSAGE.path(org, userId, id),
43659
+ service: SUPPORT_TICKETS_ENDPOINTS.TICKET_MESSAGE.service,
43660
+ method: 'DELETE',
43661
+ }),
43662
+ invalidatesTags: [SUPPORT_TICKETS_TAGS.TICKET_MESSAGES],
43663
+ }),
43664
+ }),
43665
+ });
43666
+ const { useGetSupportTicketsQuery, useLazyGetSupportTicketsQuery, useGetSupportTicketQuery, useLazyGetSupportTicketQuery, useUpdateSupportTicketMutation, usePatchSupportTicketMutation, useDeleteSupportTicketMutation, useCloseSupportTicketMutation, useGetSupportTicketMessagesQuery, useLazyGetSupportTicketMessagesQuery, useGetSupportTicketMessageQuery, useLazyGetSupportTicketMessageQuery, useCreateSupportTicketMessageMutation, useUpdateSupportTicketMessageMutation, usePatchSupportTicketMessageMutation, useDeleteSupportTicketMessageMutation, } = supportTicketsApiSlice;
43667
+
43183
43668
  const MENTOR_CUSTOM_REDUCER_PATH = 'mentorCustomApiSlice';
43184
43669
  const MENTOR_ENDPOINTS = {
43185
43670
  EDIT_MENTOR_SETTINGS: {
@@ -43429,7 +43914,7 @@ const { useGetModerationLogsQuery, useLazyGetModerationLogsQuery, useDeleteModer
43429
43914
  * `useGetMentorPublicSettingsQuery`) — this file just adds the typed
43430
43915
  * surface for the new fields.
43431
43916
  */
43432
- const PRIVACY_ACTIONS = ['redact', 'mask', 'block'];
43917
+ const PRIVACY_ACTIONS = ['allow', 'redact', 'mask', 'block'];
43433
43918
  const PRIVACY_ENTITY_TYPES = [
43434
43919
  'PERSON',
43435
43920
  'EMAIL_ADDRESS',
@@ -45419,6 +45904,391 @@ const auditLogsApiSlice = createApi({
45419
45904
  });
45420
45905
  const { useGetAuditLogsQuery, useLazyGetAuditLogsQuery } = auditLogsApiSlice;
45421
45906
 
45907
+ const EVALUATIONS_REDUCER_PATH = 'evaluationsApiSlice';
45908
+ const evaluationsBase = (org, userId) => `/api/ai-mentor/orgs/${org}/users/${userId}/evaluations`;
45909
+ const EVALUATIONS_ENDPOINTS = {
45910
+ GET_TASK: {
45911
+ service: SERVICES.AXD,
45912
+ path: (org, userId, taskId) => `/api/ai-mentor/orgs/${org}/users/${userId}/tasks/${encodeURIComponent(taskId)}`,
45913
+ },
45914
+ LIST_DATASETS: {
45915
+ service: SERVICES.AXD,
45916
+ path: (org, userId) => `${evaluationsBase(org, userId)}/datasets/`,
45917
+ },
45918
+ CREATE_DATASET: {
45919
+ service: SERVICES.AXD,
45920
+ path: (org, userId) => `${evaluationsBase(org, userId)}/datasets/`,
45921
+ },
45922
+ GET_DATASET: {
45923
+ service: SERVICES.AXD,
45924
+ path: (org, userId, datasetName) => `${evaluationsBase(org, userId)}/datasets/${encodeURIComponent(datasetName)}/`,
45925
+ },
45926
+ LIST_DATASET_ITEMS: {
45927
+ service: SERVICES.AXD,
45928
+ path: (org, userId, datasetName) => `${evaluationsBase(org, userId)}/datasets/${encodeURIComponent(datasetName)}/items/`,
45929
+ },
45930
+ ADD_DATASET_ITEMS: {
45931
+ service: SERVICES.AXD,
45932
+ path: (org, userId, datasetName) => `${evaluationsBase(org, userId)}/datasets/${encodeURIComponent(datasetName)}/items/`,
45933
+ },
45934
+ UPLOAD_DATASET_CSV: {
45935
+ service: SERVICES.AXD,
45936
+ path: (org, userId, datasetName) => `${evaluationsBase(org, userId)}/datasets/${encodeURIComponent(datasetName)}/items/upload/`,
45937
+ },
45938
+ UPDATE_DATASET_ITEM: {
45939
+ service: SERVICES.AXD,
45940
+ path: (org, userId, datasetName, itemId) => `${evaluationsBase(org, userId)}/datasets/${encodeURIComponent(datasetName)}/items/${encodeURIComponent(itemId)}/`,
45941
+ },
45942
+ DELETE_DATASET_ITEM: {
45943
+ service: SERVICES.AXD,
45944
+ path: (org, userId, datasetName, itemId) => `${evaluationsBase(org, userId)}/datasets/${encodeURIComponent(datasetName)}/items/${encodeURIComponent(itemId)}/`,
45945
+ },
45946
+ LIST_RUNS: {
45947
+ service: SERVICES.AXD,
45948
+ path: (org, userId, datasetName) => `${evaluationsBase(org, userId)}/datasets/${encodeURIComponent(datasetName)}/runs/`,
45949
+ },
45950
+ START_RUN: {
45951
+ service: SERVICES.AXD,
45952
+ path: (org, userId, datasetName) => `${evaluationsBase(org, userId)}/datasets/${encodeURIComponent(datasetName)}/runs/`,
45953
+ },
45954
+ GET_RUN: {
45955
+ service: SERVICES.AXD,
45956
+ path: (org, userId, datasetName, runName) => `${evaluationsBase(org, userId)}/datasets/${encodeURIComponent(datasetName)}/runs/${encodeURIComponent(runName)}/`,
45957
+ },
45958
+ EXPORT_RUN: {
45959
+ service: SERVICES.AXD,
45960
+ path: (org, userId, datasetName, runName) => `${evaluationsBase(org, userId)}/datasets/${encodeURIComponent(datasetName)}/runs/${encodeURIComponent(runName)}/export/`,
45961
+ },
45962
+ DELETE_RUN: {
45963
+ service: SERVICES.AXD,
45964
+ path: (org, userId, datasetName, runName) => `${evaluationsBase(org, userId)}/datasets/${encodeURIComponent(datasetName)}/runs/${encodeURIComponent(runName)}/`,
45965
+ },
45966
+ EVALUATE_RUN: {
45967
+ service: SERVICES.AXD,
45968
+ path: (org, userId, datasetName, runName) => `${evaluationsBase(org, userId)}/datasets/${encodeURIComponent(datasetName)}/runs/${encodeURIComponent(runName)}/evaluate/`,
45969
+ },
45970
+ LIST_RUN_JUDGES: {
45971
+ service: SERVICES.AXD,
45972
+ path: (org, userId, datasetName, runName) => `${evaluationsBase(org, userId)}/datasets/${encodeURIComponent(datasetName)}/runs/${encodeURIComponent(runName)}/evaluate/`,
45973
+ },
45974
+ LIST_JUDGES: {
45975
+ service: SERVICES.AXD,
45976
+ path: (org, userId) => `${evaluationsBase(org, userId)}/judges/`,
45977
+ },
45978
+ LIST_SCORES: {
45979
+ service: SERVICES.AXD,
45980
+ path: (org, userId) => `${evaluationsBase(org, userId)}/scores/`,
45981
+ },
45982
+ CREATE_SCORE: {
45983
+ service: SERVICES.AXD,
45984
+ path: (org, userId) => `${evaluationsBase(org, userId)}/scores/`,
45985
+ },
45986
+ DELETE_SCORE: {
45987
+ service: SERVICES.AXD,
45988
+ path: (org, userId, scoreId) => `${evaluationsBase(org, userId)}/scores/${encodeURIComponent(scoreId)}/`,
45989
+ },
45990
+ LIST_SCORE_CONFIGS: {
45991
+ service: SERVICES.AXD,
45992
+ path: (org, userId) => `${evaluationsBase(org, userId)}/score-configs/`,
45993
+ },
45994
+ CREATE_SCORE_CONFIG: {
45995
+ service: SERVICES.AXD,
45996
+ path: (org, userId) => `${evaluationsBase(org, userId)}/score-configs/`,
45997
+ },
45998
+ };
45999
+ const EVALUATIONS_TAGS = {
46000
+ DATASETS: 'EVAL_DATASETS',
46001
+ DATASET: 'EVAL_DATASET',
46002
+ DATASET_ITEMS: 'EVAL_DATASET_ITEMS',
46003
+ RUNS: 'EVAL_RUNS',
46004
+ RUN: 'EVAL_RUN',
46005
+ SCORES: 'EVAL_SCORES',
46006
+ SCORE_CONFIGS: 'EVAL_SCORE_CONFIGS',
46007
+ JUDGES: 'EVAL_JUDGES',
46008
+ };
46009
+
46010
+ const evaluationsApiSlice = createApi({
46011
+ reducerPath: EVALUATIONS_REDUCER_PATH,
46012
+ baseQuery: iblFetchBaseQuery,
46013
+ tagTypes: [
46014
+ EVALUATIONS_TAGS.DATASETS,
46015
+ EVALUATIONS_TAGS.DATASET,
46016
+ EVALUATIONS_TAGS.DATASET_ITEMS,
46017
+ EVALUATIONS_TAGS.RUNS,
46018
+ EVALUATIONS_TAGS.RUN,
46019
+ EVALUATIONS_TAGS.SCORES,
46020
+ EVALUATIONS_TAGS.SCORE_CONFIGS,
46021
+ EVALUATIONS_TAGS.JUDGES,
46022
+ ],
46023
+ endpoints: (builder) => ({
46024
+ listEvalDatasets: builder.query({
46025
+ query: ({ org, userId, page, limit, name, user_email }) => ({
46026
+ url: EVALUATIONS_ENDPOINTS.LIST_DATASETS.path(org, userId),
46027
+ service: EVALUATIONS_ENDPOINTS.LIST_DATASETS.service,
46028
+ params: { page, limit, name, user_email },
46029
+ }),
46030
+ providesTags: [EVALUATIONS_TAGS.DATASETS],
46031
+ }),
46032
+ createEvalDataset: builder.mutation({
46033
+ query: ({ org, userId, body }) => ({
46034
+ url: EVALUATIONS_ENDPOINTS.CREATE_DATASET.path(org, userId),
46035
+ service: EVALUATIONS_ENDPOINTS.CREATE_DATASET.service,
46036
+ method: 'POST',
46037
+ body,
46038
+ }),
46039
+ invalidatesTags: [EVALUATIONS_TAGS.DATASETS],
46040
+ }),
46041
+ getEvalDataset: builder.query({
46042
+ query: ({ org, userId, datasetName }) => ({
46043
+ url: EVALUATIONS_ENDPOINTS.GET_DATASET.path(org, userId, datasetName),
46044
+ service: EVALUATIONS_ENDPOINTS.GET_DATASET.service,
46045
+ }),
46046
+ providesTags: (_result, _error, { datasetName }) => [
46047
+ { type: EVALUATIONS_TAGS.DATASET, id: datasetName },
46048
+ ],
46049
+ }),
46050
+ listEvalDatasetItems: builder.query({
46051
+ query: ({ org, userId, datasetName, page, limit, include_trace }) => ({
46052
+ url: EVALUATIONS_ENDPOINTS.LIST_DATASET_ITEMS.path(org, userId, datasetName),
46053
+ service: EVALUATIONS_ENDPOINTS.LIST_DATASET_ITEMS.service,
46054
+ params: { page, limit, include_trace },
46055
+ }),
46056
+ providesTags: (_result, _error, { datasetName }) => [
46057
+ { type: EVALUATIONS_TAGS.DATASET_ITEMS, id: datasetName },
46058
+ ],
46059
+ }),
46060
+ addEvalDatasetItems: builder.mutation({
46061
+ query: ({ org, userId, datasetName, body }) => ({
46062
+ url: EVALUATIONS_ENDPOINTS.ADD_DATASET_ITEMS.path(org, userId, datasetName),
46063
+ service: EVALUATIONS_ENDPOINTS.ADD_DATASET_ITEMS.service,
46064
+ method: 'POST',
46065
+ body,
46066
+ }),
46067
+ invalidatesTags: (_result, _error, { datasetName }) => [
46068
+ { type: EVALUATIONS_TAGS.DATASET_ITEMS, id: datasetName },
46069
+ ],
46070
+ }),
46071
+ uploadEvalDatasetCsv: builder.mutation({
46072
+ query: ({ org, userId, datasetName, formData }) => ({
46073
+ url: EVALUATIONS_ENDPOINTS.UPLOAD_DATASET_CSV.path(org, userId, datasetName),
46074
+ service: EVALUATIONS_ENDPOINTS.UPLOAD_DATASET_CSV.service,
46075
+ method: 'POST',
46076
+ body: formData,
46077
+ isJson: false,
46078
+ }),
46079
+ invalidatesTags: (_result, _error, { datasetName }) => [
46080
+ { type: EVALUATIONS_TAGS.DATASET_ITEMS, id: datasetName },
46081
+ ],
46082
+ }),
46083
+ updateEvalDatasetItem: builder.mutation({
46084
+ query: ({ org, userId, datasetName, itemId, body }) => ({
46085
+ url: EVALUATIONS_ENDPOINTS.UPDATE_DATASET_ITEM.path(org, userId, datasetName, itemId),
46086
+ service: EVALUATIONS_ENDPOINTS.UPDATE_DATASET_ITEM.service,
46087
+ method: 'PUT',
46088
+ body,
46089
+ }),
46090
+ invalidatesTags: (_result, _error, { datasetName }) => [
46091
+ { type: EVALUATIONS_TAGS.DATASET_ITEMS, id: datasetName },
46092
+ ],
46093
+ }),
46094
+ deleteEvalDatasetItem: builder.mutation({
46095
+ query: ({ org, userId, datasetName, itemId }) => ({
46096
+ url: EVALUATIONS_ENDPOINTS.DELETE_DATASET_ITEM.path(org, userId, datasetName, itemId),
46097
+ service: EVALUATIONS_ENDPOINTS.DELETE_DATASET_ITEM.service,
46098
+ method: 'DELETE',
46099
+ }),
46100
+ invalidatesTags: (_result, _error, { datasetName }) => [
46101
+ { type: EVALUATIONS_TAGS.DATASET_ITEMS, id: datasetName },
46102
+ ],
46103
+ }),
46104
+ listEvalRuns: builder.query({
46105
+ query: ({ org, userId, datasetName, page, limit, user_email }) => ({
46106
+ url: EVALUATIONS_ENDPOINTS.LIST_RUNS.path(org, userId, datasetName),
46107
+ service: EVALUATIONS_ENDPOINTS.LIST_RUNS.service,
46108
+ params: { page, limit, user_email },
46109
+ }),
46110
+ providesTags: (_result, _error, { datasetName }) => [
46111
+ { type: EVALUATIONS_TAGS.RUNS, id: datasetName },
46112
+ ],
46113
+ }),
46114
+ startEvalRun: builder.mutation({
46115
+ query: ({ org, userId, datasetName, body }) => ({
46116
+ url: EVALUATIONS_ENDPOINTS.START_RUN.path(org, userId, datasetName),
46117
+ service: EVALUATIONS_ENDPOINTS.START_RUN.service,
46118
+ method: 'POST',
46119
+ body,
46120
+ }),
46121
+ invalidatesTags: (_result, _error, { datasetName }) => [
46122
+ { type: EVALUATIONS_TAGS.RUNS, id: datasetName },
46123
+ ],
46124
+ }),
46125
+ getEvalRun: builder.query({
46126
+ query: ({ org, userId, datasetName, runName }) => ({
46127
+ url: EVALUATIONS_ENDPOINTS.GET_RUN.path(org, userId, datasetName, runName),
46128
+ service: EVALUATIONS_ENDPOINTS.GET_RUN.service,
46129
+ }),
46130
+ providesTags: (_result, _error, { runName }) => [{ type: EVALUATIONS_TAGS.RUN, id: runName }],
46131
+ }),
46132
+ deleteEvalRun: builder.mutation({
46133
+ query: ({ org, userId, datasetName, runName }) => ({
46134
+ url: EVALUATIONS_ENDPOINTS.DELETE_RUN.path(org, userId, datasetName, runName),
46135
+ service: EVALUATIONS_ENDPOINTS.DELETE_RUN.service,
46136
+ method: 'DELETE',
46137
+ }),
46138
+ invalidatesTags: (_result, _error, { datasetName }) => [
46139
+ { type: EVALUATIONS_TAGS.RUNS, id: datasetName },
46140
+ ],
46141
+ }),
46142
+ exportEvalRun: builder.mutation({
46143
+ query: ({ org, userId, datasetName, runName }) => ({
46144
+ url: EVALUATIONS_ENDPOINTS.EXPORT_RUN.path(org, userId, datasetName, runName),
46145
+ service: EVALUATIONS_ENDPOINTS.EXPORT_RUN.service,
46146
+ responseHandler: (response) => response.text(),
46147
+ isJson: false,
46148
+ }),
46149
+ }),
46150
+ evaluateEvalRun: builder.mutation({
46151
+ query: ({ org, userId, datasetName, runName, body }) => ({
46152
+ url: EVALUATIONS_ENDPOINTS.EVALUATE_RUN.path(org, userId, datasetName, runName),
46153
+ service: EVALUATIONS_ENDPOINTS.EVALUATE_RUN.service,
46154
+ method: 'POST',
46155
+ body,
46156
+ }),
46157
+ invalidatesTags: (_result, _error, { runName }) => [
46158
+ { type: EVALUATIONS_TAGS.RUN, id: runName },
46159
+ EVALUATIONS_TAGS.JUDGES,
46160
+ ],
46161
+ }),
46162
+ listEvalRunJudges: builder.query({
46163
+ query: ({ org, userId, datasetName, runName, page, limit, status, user_email }) => ({
46164
+ url: EVALUATIONS_ENDPOINTS.LIST_RUN_JUDGES.path(org, userId, datasetName, runName),
46165
+ service: EVALUATIONS_ENDPOINTS.LIST_RUN_JUDGES.service,
46166
+ params: { page, limit, status, user_email },
46167
+ }),
46168
+ providesTags: [EVALUATIONS_TAGS.JUDGES],
46169
+ }),
46170
+ listEvalJudges: builder.query({
46171
+ query: ({ org, userId, page, limit, status, user_email, dataset_name }) => ({
46172
+ url: EVALUATIONS_ENDPOINTS.LIST_JUDGES.path(org, userId),
46173
+ service: EVALUATIONS_ENDPOINTS.LIST_JUDGES.service,
46174
+ params: { page, limit, status, user_email, dataset_name },
46175
+ }),
46176
+ providesTags: [EVALUATIONS_TAGS.JUDGES],
46177
+ }),
46178
+ listEvalScores: builder.query({
46179
+ query: ({ org, userId, page, limit, dataset_run_id, trace_id, name }) => ({
46180
+ url: EVALUATIONS_ENDPOINTS.LIST_SCORES.path(org, userId),
46181
+ service: EVALUATIONS_ENDPOINTS.LIST_SCORES.service,
46182
+ params: { page, limit, dataset_run_id, trace_id, name },
46183
+ }),
46184
+ providesTags: [EVALUATIONS_TAGS.SCORES],
46185
+ }),
46186
+ // Score create/delete deliberately do NOT invalidate the RUN tag: the
46187
+ // eval store ingests score writes asynchronously, so an immediate
46188
+ // refetch returns the run *without* the change and would clobber the
46189
+ // cache patches below. The run still refreshes on reopen / manual
46190
+ // Refresh, by which point the store has caught up.
46191
+ createEvalScore: builder.mutation({
46192
+ query: ({ org, userId, body }) => ({
46193
+ url: EVALUATIONS_ENDPOINTS.CREATE_SCORE.path(org, userId),
46194
+ service: EVALUATIONS_ENDPOINTS.CREATE_SCORE.service,
46195
+ method: 'POST',
46196
+ body,
46197
+ }),
46198
+ invalidatesTags: [EVALUATIONS_TAGS.SCORES],
46199
+ async onQueryStarted({ org, userId, body, datasetName, runName }, { dispatch, queryFulfilled }) {
46200
+ try {
46201
+ await queryFulfilled;
46202
+ }
46203
+ catch (_a) {
46204
+ return;
46205
+ }
46206
+ if (!datasetName || !runName)
46207
+ return;
46208
+ dispatch(evaluationsApiSlice.util.updateQueryData('getEvalRun', { org, userId, datasetName, runName }, (draft) => {
46209
+ var _a, _b, _c, _d, _e, _f;
46210
+ const item = (_a = draft.dataset_run_items) === null || _a === void 0 ? void 0 : _a.find((i) => i.trace_id === body.trace_id);
46211
+ if (!item)
46212
+ return;
46213
+ item.scores = (_b = item.scores) !== null && _b !== void 0 ? _b : [];
46214
+ item.scores.push({
46215
+ // The create endpoint returns no id (the write is queued);
46216
+ // this placeholder is replaced by the real record on the
46217
+ // next refetch once the store has ingested it.
46218
+ id: `pending-${body.trace_id}-${body.name}-${Date.now()}`,
46219
+ name: body.name,
46220
+ value: body.value,
46221
+ string_value: null,
46222
+ data_type: (_c = body.data_type) !== null && _c !== void 0 ? _c : 'NUMERIC',
46223
+ comment: (_d = body.comment) !== null && _d !== void 0 ? _d : null,
46224
+ trace_id: body.trace_id,
46225
+ observation_id: (_e = body.observation_id) !== null && _e !== void 0 ? _e : null,
46226
+ dataset_run_id: (_f = body.dataset_run_id) !== null && _f !== void 0 ? _f : null,
46227
+ created_at: new Date().toISOString(),
46228
+ });
46229
+ }));
46230
+ },
46231
+ }),
46232
+ deleteEvalScore: builder.mutation({
46233
+ query: ({ org, userId, scoreId }) => ({
46234
+ url: EVALUATIONS_ENDPOINTS.DELETE_SCORE.path(org, userId, scoreId),
46235
+ service: EVALUATIONS_ENDPOINTS.DELETE_SCORE.service,
46236
+ method: 'DELETE',
46237
+ }),
46238
+ invalidatesTags: [EVALUATIONS_TAGS.SCORES],
46239
+ async onQueryStarted({ org, userId, scoreId, datasetName, runName }, { dispatch, queryFulfilled }) {
46240
+ try {
46241
+ await queryFulfilled;
46242
+ }
46243
+ catch (_a) {
46244
+ return;
46245
+ }
46246
+ if (!datasetName || !runName)
46247
+ return;
46248
+ dispatch(evaluationsApiSlice.util.updateQueryData('getEvalRun', { org, userId, datasetName, runName }, (draft) => {
46249
+ var _a, _b;
46250
+ for (const item of (_a = draft.dataset_run_items) !== null && _a !== void 0 ? _a : []) {
46251
+ if ((_b = item.scores) === null || _b === void 0 ? void 0 : _b.some((s) => s.id === scoreId)) {
46252
+ item.scores = item.scores.filter((s) => s.id !== scoreId);
46253
+ }
46254
+ }
46255
+ }));
46256
+ },
46257
+ }),
46258
+ listEvalScoreConfigs: builder.query({
46259
+ query: ({ org, userId, page, limit }) => ({
46260
+ url: EVALUATIONS_ENDPOINTS.LIST_SCORE_CONFIGS.path(org, userId),
46261
+ service: EVALUATIONS_ENDPOINTS.LIST_SCORE_CONFIGS.service,
46262
+ params: { page, limit },
46263
+ }),
46264
+ providesTags: [EVALUATIONS_TAGS.SCORE_CONFIGS],
46265
+ }),
46266
+ getEvalTaskStatus: builder.query({
46267
+ query: ({ org, userId, taskId }) => ({
46268
+ url: EVALUATIONS_ENDPOINTS.GET_TASK.path(org, userId, taskId),
46269
+ service: EVALUATIONS_ENDPOINTS.GET_TASK.service,
46270
+ }),
46271
+ }),
46272
+ createEvalScoreConfig: builder.mutation({
46273
+ query: ({ org, userId, body }) => ({
46274
+ url: EVALUATIONS_ENDPOINTS.CREATE_SCORE_CONFIG.path(org, userId),
46275
+ service: EVALUATIONS_ENDPOINTS.CREATE_SCORE_CONFIG.service,
46276
+ method: 'POST',
46277
+ body,
46278
+ }),
46279
+ invalidatesTags: [EVALUATIONS_TAGS.SCORE_CONFIGS],
46280
+ }),
46281
+ }),
46282
+ });
46283
+ const { useListEvalDatasetsQuery, useLazyListEvalDatasetsQuery, useCreateEvalDatasetMutation, useGetEvalDatasetQuery, useListEvalDatasetItemsQuery, useLazyListEvalDatasetItemsQuery, useAddEvalDatasetItemsMutation, useUploadEvalDatasetCsvMutation, useUpdateEvalDatasetItemMutation, useDeleteEvalDatasetItemMutation, useListEvalRunsQuery, useLazyListEvalRunsQuery, useStartEvalRunMutation, useGetEvalRunQuery, useLazyGetEvalRunQuery, useDeleteEvalRunMutation, useExportEvalRunMutation, useEvaluateEvalRunMutation, useListEvalRunJudgesQuery, useLazyListEvalRunJudgesQuery, useListEvalJudgesQuery, useLazyListEvalJudgesQuery, useListEvalScoresQuery, useLazyListEvalScoresQuery, useCreateEvalScoreMutation, useDeleteEvalScoreMutation, useListEvalScoreConfigsQuery, useCreateEvalScoreConfigMutation, useGetEvalTaskStatusQuery, useLazyGetEvalTaskStatusQuery, } = evaluationsApiSlice;
46284
+
46285
+ /** Total page count derived from `count` and the requested page size. */
46286
+ function evalTotalPages(count, limit) {
46287
+ if (!count || count <= 0)
46288
+ return 0;
46289
+ return Math.ceil(count / limit);
46290
+ }
46291
+
45422
46292
  const WATCHED_GROUPS_REDUCER_PATH = 'watchedGroupsApiSlice';
45423
46293
  const WATCHED_GROUPS_QUERY_KEYS = {
45424
46294
  WATCHED_GROUPS: 'WATCHED_GROUPS',
@@ -45730,10 +46600,13 @@ const mentorReducer = {
45730
46600
  [coursesApiSlice.reducerPath]: coursesApiSlice.reducer,
45731
46601
  [courseMetadataApiSlice.reducerPath]: courseMetadataApiSlice.reducer,
45732
46602
  [edxSsoApiSlice.reducerPath]: edxSsoApiSlice.reducer,
46603
+ [studioAuthoringApiSlice.reducerPath]: studioAuthoringApiSlice.reducer,
45733
46604
  [clawApiSlice.reducerPath]: clawApiSlice.reducer,
46605
+ [evaluationsApiSlice.reducerPath]: evaluationsApiSlice.reducer,
45734
46606
  [watchedGroupsApiSlice.reducerPath]: watchedGroupsApiSlice.reducer,
45735
46607
  [chatPrivacyApiSlice.reducerPath]: chatPrivacyApiSlice.reducer,
45736
46608
  [skillsApiSlice.reducerPath]: skillsApiSlice.reducer,
46609
+ [supportTicketsApiSlice.reducerPath]: supportTicketsApiSlice.reducer,
45737
46610
  };
45738
46611
  const mentorMiddleware = [
45739
46612
  mentorApiSlice.middleware,
@@ -45786,10 +46659,13 @@ const mentorMiddleware = [
45786
46659
  coursesApiSlice.middleware,
45787
46660
  courseMetadataApiSlice.middleware,
45788
46661
  edxSsoApiSlice.middleware,
46662
+ studioAuthoringApiSlice.middleware,
45789
46663
  clawApiSlice.middleware,
46664
+ evaluationsApiSlice.middleware,
45790
46665
  watchedGroupsApiSlice.middleware,
45791
46666
  chatPrivacyApiSlice.middleware,
45792
46667
  skillsApiSlice.middleware,
46668
+ supportTicketsApiSlice.middleware,
45793
46669
  ];
45794
46670
 
45795
46671
  const skillsReducer = {
@@ -45830,6 +46706,7 @@ const skillsReducer = {
45830
46706
  [coursesApiSlice.reducerPath]: coursesApiSlice.reducer,
45831
46707
  [courseMetadataApiSlice.reducerPath]: courseMetadataApiSlice.reducer,
45832
46708
  [edxSsoApiSlice.reducerPath]: edxSsoApiSlice.reducer,
46709
+ [studioAuthoringApiSlice.reducerPath]: studioAuthoringApiSlice.reducer,
45833
46710
  [watchedGroupsApiSlice.reducerPath]: watchedGroupsApiSlice.reducer,
45834
46711
  [chatPrivacyApiSlice.reducerPath]: chatPrivacyApiSlice.reducer,
45835
46712
  };
@@ -45871,17 +46748,21 @@ const skillsMiddleware = [
45871
46748
  coursesApiSlice.middleware,
45872
46749
  courseMetadataApiSlice.middleware,
45873
46750
  edxSsoApiSlice.middleware,
46751
+ studioAuthoringApiSlice.middleware,
45874
46752
  watchedGroupsApiSlice.middleware,
45875
46753
  chatPrivacyApiSlice.middleware,
45876
46754
  ];
45877
46755
 
45878
- const initializeDataLayer = (dmUrl, lmsUrl, legacyLmsUrl, storageService, httpErrorHandler = {}) => {
46756
+ const initializeDataLayer = (dmUrl, lmsUrl, legacyLmsUrl, storageService, httpErrorHandler = {}, studioUrl) => {
45879
46757
  IblDataLayer.storage = storageService;
45880
46758
  Config.dmUrl = dmUrl;
45881
46759
  Config.lmsUrl = lmsUrl;
45882
46760
  Config.legacyLmsUrl = legacyLmsUrl;
45883
46761
  Config.httpErrorHandlers = httpErrorHandler;
46762
+ if (studioUrl) {
46763
+ Config.studioUrl = studioUrl;
46764
+ }
45884
46765
  };
45885
46766
 
45886
- export { APP_IDENTIFIERS, AUDIT_LOGS_ENDPOINTS, AUDIT_LOGS_QUERY_KEYS, AUDIT_LOGS_REDUCER_PATH, CALL_CONFIGURATIONS_ENDPOINTS, CALL_CONFIGURATIONS_REDUCER_PATH, CALL_CONFIGURATIONS_TAGS, CHAT_HISTORY_PAGE_PARAM, CHAT_HISTORY_PAGE_SIZE, CHAT_HISTORY_PAGE_SIZE_PARAM, CHAT_PRIVACY_MODES, CLAW_ENDPOINTS, CLAW_REDUCER_PATH, CLAW_TAG_TYPES, CORE_CUSTOM_ENDPOINTS, CORE_CUSTOM_REDUCER_PATH, CORE_FAKE_CUSTOM_REDUCER_PATH, CREDENTIALS_CUSTOM_ENDPOINTS, CREDENTIALS_CUSTOM_REDUCER_PATH, CUSTOM_AI_SEARCH_ENDPOINTS, CUSTOM_AI_SEARCH_QUERY_KEYS, CUSTOM_AI_SEARCH_REDUCER_PATH, CUSTOM_DOMAIN_ENDPOINTS, CUSTOM_DOMAIN_QUERY_KEYS, CUSTOM_DOMAIN_REDUCER_PATH, ChatPrivacyModeEnum, DEFAULT_PRIVACY_ACTION, DEFAULT_PRIVACY_RESPONSE, DISCLAIMERS_ENDPOINTS, DISCLAIMERS_QUERY_KEYS, DISCLAIMERS_REDUCER_PATH, EDX_PROCTORING_ENDPOINTS, IblDataLayer, LOGO_ENDPOINTS, MCP_ENDPOINTS, MCP_REDUCER_PATH, MCP_TAG_TYPES, MEMORY_QUERY_KEYS, MEMORY_REDUCER_PATH, MEMSEARCH_ENDPOINTS, MENTORS_QUERY_KEYS, MENTORS_REDUCER_PATH, MENTOR_CUSTOM_ENDPOINTS, MENTOR_CUSTOM_REDUCER_PATH, MENTOR_ENDPOINTS, NOTIFICATIONS_CUSTOM_ENDPOINTS, NOTIFICATIONS_CUSTOM_REDUCER_PATH, NOTIFICATIONS_CUSTOM_TAGS, PLATFORM_CONFIGURATION_TAG, PLATFORM_CUSTOM_ENDPOINTS, PLATFORM_CUSTOM_REDUCER_PATH, PLATFORM_MEMBERSHIP_TAG, PRIVACY_ACTIONS, PRIVACY_BLOCKED_ERROR_KIND, PRIVACY_ENTITY_TYPES, PRIVACY_TARGET_SYSTEM, PROJECTS_CUSTOM_ENDPOINTS, PROJECTS_CUSTOM_REDUCER_PATH, PROJECTS_QUERY_KEYS, QUERY_PARAMS, RETIREMENT_ENDPOINTS, SERVICES, STORAGE_KEYS, SUGGESTED_PRIVACY_ENTITIES, TENANT_IDENTIFIERS, TENANT_LOGO_ENDPOINTS, TENANT_LOGO_QUERY_KEYS, TENANT_LOGO_REDUCER_PATH, URL_PATTERNS, WATCHED_GROUPS_ENDPOINTS, WATCHED_GROUPS_QUERY_KEYS, WATCHED_GROUPS_REDUCER_PATH, WATCHER_NOTIFICATION_EVENTS, WATCHER_NOTIFICATION_EVENT_LABELS, WORKFLOWS_ENDPOINTS, WORKFLOWS_QUERY_KEYS, WORKFLOWS_REDUCER_PATH, analyticsApiSlice, apiKeysApiReducer, apiKeysApiSlice, appApiReducer, appApiSlice, artifactsApiReducer, artifactsApiSlice, auditLogsApiSlice, authApiSlice, billingApiSlice, billingCustomSlice, buildSessionRetrieveUrl, buildSharedSessionRetrieveUrl, callConfigurationsApiReducer, callConfigurationsApiSlice, careerApiSlice, catalogApiSlice, chatApiSlice, chatCustomApiSlice, chatFilesApiSlice, chatHistoryApiSlice, chatPrivacyApiSlice, clawApiSlice, coreApiSlice, coreCustomApiSlice, coreFakeCustomPublicImageAssetApiSlice, courseMetadataApiSlice, coursesApiSlice, credentialsApiSlice, credentialsCustomApiSlice, customAiSearchApiSlice, customDomainApiSlice, datasetsApiSlice, disclaimersApiSlice, edxProctoringApiSlice, edxSsoApiSlice, fakeBaseQueryWithLogging, featureTags, iblFakeBaseQuery, initializeDataLayer, isPoliciesResponse, isPrivacyBlockedError, llmsApiSlice, mcpApiSlice, memoryApiSlice, mentorApiReducer, mentorApiSlice, mentorCategoriesApiSlice, mentorCustomApiSlice, mentorMiddleware, mentorReducer, moderationLogsApiReducer, moderationLogsApiSlice, monetizationApiSlice, notificationsApiSlice, notificationsCustomApiSlice, perLearnerApiSlice, periodicAgentsApiSlice, platformApiReducer, platformApiSlice, platformCustomApiSlice, projectsApiSlice, promptsApiSlice, recommendationPromptTypeEnum, reportsApiSlice, retirementApiSlice, searchApiSlice, sessionApiSlice, skillsApiSlice, skillsMiddleware, skillsReducer, stripeApiSlice, tenantApiReducer, tenantApiSlice, tenantLogoApiSlice, toolsApiSlice, trainingDocumentsApiSlice, useActivateWorkflowMutation, useAddPinnedMessageMutation, useAddTrainingDocumentMutation, useAddWatchedUserMutation, useAddWatcherMutation, useAgreeToDisclaimerMutation, useAudioToTextMutation, useCancelSubscriptionMutation, useChatWithWorkflowMutation, useCheckAccessQuery, useCheckAccessUnscopedQuery, useConnectedServicesCallbackQuery, useCreateAdminProjectMutation, useCreateAgentSkillMutation, useCreateAgentSkillResourceMutation, useCreateApiKeyMutation, useCreateCallConfigurationMutation, useCreateCallCredentialsMutation, useCreateCatalogInvitationBulkMutation, useCreateCatalogInvitationCourseBulkMutation, useCreateCatalogInvitationCourseMutation, useCreateCatalogInvitationProgramBulkMutation, useCreateCatalogInvitationProgramMutation, useCreateCatalogPathwayEnrollmentMutation, useCreateCatalogPathwayMutation, useCreateCatalogPathwaySelfEnrollmentMutation, useCreateCatalogProgramMutation, useCreateCatalogProgramSelfEnrollmentMutation, useCreateCatalogRoleMutation, useCreateCheckoutMutation, useCreateClawInstanceMutation, useCreateClawMentorConfigMutation, useCreateCourseEnrollmentMutation, useCreateCredentialAssertionMutation, useCreateCredentialMutation, useCreateCustomDomainMutation, useCreateDisclaimerMutation, useCreateExternalMappingMutation, useCreateGlobalMemoryMutation, useCreateGuestCheckoutMutation, useCreateIntegrationCredentialMutation, useCreateLLMCredentialMutation, useCreateLtiKeyMutation, useCreateLtiMentorMutation, useCreateLtiToolMutation, useCreateMCPServerConnectionMutation, useCreateMCPServerMutation, useCreateMemoryCategoryMutation, useCreateMentorMemoryMutation, useCreateMentorMutation, useCreateMentorSkillAssignmentMutation, useCreateNotificationPreviewMutation, useCreateOrUpdateUserDesiredSkillMutation, useCreateOrUpdateUserReportedSkillMutation, useCreatePeriodicAgentMutation, useCreatePlatformImageAssetMutation, useCreatePlatformUserGroupMutation, useCreatePriceMutation, useCreatePromptMutation, useCreateProviderConfigMutation, useCreateRbacGroupMutation, useCreateRbacPolicyMutation, useCreateRbacRoleMutation, useCreateRbacTeamsAccessMutation, useCreateRecommendedPromptMutation, useCreateRedirectTokenMutation, useCreateReportMutation, useCreateSessionIdMutation, useCreateShareableLinkMutation, useCreateStripeCheckoutSessionMutation, useCreateStripeCustomerPortalMutation, useCreateTrainingDocumentRetrainScheduleMutation, useCreateUserCompanyMutation, useCreateUserEducationMutation, useCreateUserExperienceMutation, useCreateUserInstitutionMutation, useCreateUserInvitationMutation, useCreateUserProjectMutation, useCreateUserResumeMutation, useCreateWatchedGroupMutation, useCreateWorkflowMutation, useDeactivateWorkflowMutation, useDeleteAdminProjectMutation, useDeleteAgentSkillMutation, useDeleteAgentSkillResourceMutation, useDeleteApiKeyMutation, useDeleteClawInstanceMutation, useDeleteClawMentorConfigMutation, useDeleteCourseCredentialMutation, useDeleteCredentialMutation, useDeleteCustomDomainMutation, useDeleteDisclaimerMutation, useDeleteExternalMappingMutation, useDeleteGlobalMemoryMutation, useDeleteIntegrationCredentialMutation, useDeleteLtiKeyMutation, useDeleteLtiMentorMutation, useDeleteLtiToolMutation, useDeleteMCPServerMutation, useDeleteMemoryCategoryMutation, useDeleteMentorMemoryMutation, useDeleteMentorMutation, useDeleteMentorSkillAssignmentMutation, useDeleteMessageMutation, useDeleteModerationLogMutation, useDeletePeriodicAgentMutation, useDeletePlatformConfigurationMutation, useDeletePlatformImageAssetMutation, useDeletePlatformUserGroupMutation, useDeletePriceMutation, useDeletePromptMutation, useDeleteProviderConfigMutation, useDeleteRbacGroupMutation, useDeleteRbacPolicyMutation, useDeleteRbacRoleMutation, useDeleteRecommendedPromptMutation, useDeleteTrainingDocumentMutation, useDeleteUserEducationMutation, useDeleteUserExperienceMutation, useDeleteUserProjectMutation, useDeleteWatchedGroupMutation, useDeleteWatcherMutation, useDeleteWorkflowMutation, useDisablePaywallMutation, useDisconnectServiceMutation, useEditMentorAndRefreshListMutation, useEditMentorJsonMutation, useEditMentorMutation, useEditSessionMutation, useEditTrainingDocumentMutation, useEnablePaywallMutation, useExchangeAppleTokenMutation, useExportChatHistoryMutation, useForkMentorMutation, useGetAccessTimeHeatmapQuery, useGetAccountBillingInfoQuery, useGetAdminProjectDetailsQuery, useGetAdminProjectsQuery, useGetAgentConfigQuery, useGetAgentSkillQuery, useGetAgentSkillResourceQuery, useGetAgentSkillResourcesQuery, useGetAgentSkillsQuery, useGetAiSearchMentorsQuery, useGetApiKeysQuery, useGetAppTokensMutation, useGetArtifactQuery, useGetArtifactVersionQuery, useGetAssignedProgramsQuery, useGetAuditLogsQuery, useGetAverageMessagesPerSessionQuery, useGetAverageRatingQuery, useGetCallConfigurationQuery, useGetCallConfigurationsQuery, useGetCatalogInvitationsCourseQuery, useGetCatalogInvitationsProgramQuery, useGetCatalogSearchQuery, useGetChatHistoryExportStatusQuery, useGetChatHistoryFilterQuery, useGetChatHistoryQuery, useGetChatMessageTtsQuery, useGetChatMessagesForSessionQuery, useGetChatPrivacyEffectiveQuery, useGetClawInstanceQuery, useGetClawInstancesQuery, useGetClawMentorConfigQuery, useGetConnectedServiceAuthUrlQuery, useGetConnectedServicesQuery, useGetContentAnalyticsDetailsQuery, useGetContentAnalyticsQuery, useGetConversationMemoriesQuery, useGetConversationQuery, useGetCourseCompletionOutlinesQuery, useGetCourseCompletionQuery, useGetCourseEligibilityQuery, useGetCourseMetaDataQuery, useGetCourseProgressQuery, useGetCredentialsListQuery, useGetCredentialsQuery, useGetCredentialsSchemaQuery, useGetCustomDomainsQuery, useGetCustomMentorsQuery, useGetDatasetsQuery, useGetDepartmentMemberCheckQuery, useGetDesiredSkillsQuery, useGetDetailedFinancialStatsQuery, useGetDisclaimersQuery, useGetEdxSSOTokenQuery, useGetEnrollmentCourseSearchQuery, useGetExamInfoQuery, useGetExternalMappingQuery, useGetFileUploadUrlMutation, useGetFinancialStatsQuery, useGetFreeUsageCountQuery, useGetGlobalMemoriesQuery, useGetGuidedPromptsQuery, useGetIntegrationCredentialsQuery, useGetIntegrationCredentialsSchemaQuery, useGetIssuersQuery, useGetItemSubscriptionQuery, useGetLLMCredentialsQuery, useGetLearnerDetailsQuery, useGetLlmsQuery, useGetLtiKeyDetailQuery, useGetLtiKeysQuery, useGetLtiMentorDetailQuery, useGetLtiMentorsQuery, useGetLtiToolDetailQuery, useGetLtiToolsQuery, useGetMCPServerConnectionsQuery, useGetMCPServerQuery, useGetMCPServersQuery, useGetMaskedIntegrationCredentialsQuery, useGetMaskedLLMCredentialsQuery, useGetMemoryCategoriesAdminQuery, useGetMemsearchConfigQuery, useGetMemsearchStatusQuery, useGetMentorCategoriesQuery, useGetMentorCategoryGroupsQuery, useGetMentorDetailsQuery, useGetMentorMemoriesListQuery, useGetMentorMemoriesQuery, useGetMentorPublicSettingsQuery, useGetMentorSettingsQuery, useGetMentorSkillAssignmentQuery, useGetMentorSkillAssignmentsQuery, useGetMentorSummariesQuery, useGetMentorsQuery, useGetMfeContextQuery, useGetModerationLogsQuery, useGetMostDiscussedTopicsQuery, useGetMySubscriptionsQuery, useGetNodeTypesQuery, useGetNotificationContextQuery, useGetNotificationsCountQuery, useGetNotificationsQuery, useGetOAuthServicesQuery, useGetOverTimeActivityQuery, useGetOverviewSummaryQuery, useGetPathwayCompletionQuery, useGetPathwayListQuery, useGetPaywallConfigQuery, useGetPerLearnerActivityQuery, useGetPerLearnerInfoQuery, useGetPeriodicAgentLogsListQuery, useGetPeriodicAgentLogsQuery, useGetPeriodicAgentQuery, useGetPeriodicAgentsQuery, useGetPersonnalizedMentorsQuery, useGetPersonnalizedSearchQuery, useGetPinnedMessagesQuery, useGetPlatformConfigurationsQuery, useGetPlatformImageAssetDetailsQuery, useGetPlatformImageAssetsListQuery, useGetPlatformInfoQuery, useGetPlatformMembershipQuery, useGetPlatformUserGroupDetailsQuery, useGetProgramCompletionQuery, useGetProgramListQuery, useGetPromptCategoriesQuery, useGetPromptsQuery, useGetPromptsSearchQuery, useGetProviderConfigQuery, useGetPublicMentorsQuery, useGetPublicPlatformImageAssetFileUrlQuery, useGetPublicPlatformMembershipQuery, useGetPublicPricingQuery, useGetRbacActionsDefinitionQuery, useGetRbacGroupDetailsQuery, useGetRbacGroupsQuery, useGetRbacMentorAccessListQuery, useGetRbacPermissionsMutation, useGetRbacPoliciesQuery, useGetRbacPolicyDetailsQuery, useGetRbacRoleDetailsQuery, useGetRbacRolesQuery, useGetRbacTeamsAccessListQuery, useGetRecentMessageQuery, useGetRecentlyAccessedMentorsQuery, useGetRecommendationsAiSearchQuery, useGetRecommendedPromptsListQuery, useGetRegisteredUsersTrendQuery, useGetReportDetailQuery, useGetReportedSkillsQuery, useGetReportsQuery, useGetResourceSearchQuery, useGetRevenueQuery, useGetSessionIdQuery, useGetSessionStatsQuery, useGetShareableLinkPublicQuery, useGetShareableLinkQuery, useGetSharedSessionIdQuery, useGetSkillsPointsPercentileQuery, useGetStripeConnectDashboardQuery, useGetStripeConnectStatusQuery, useGetStripeContextQuery, useGetStripePricingPageSessionQuery, useGetStudentMentorCreationStatusQuery, useGetTemplateDetailsQuery, useGetTemplatesQuery, useGetTenantChatPrivacyConfigQuery, useGetTenantMetadataQuery, useGetToolsQuery, useGetTopStudentsByChatMessagesQuery, useGetTopicOverviewQuery, useGetTopicStatisticsQuery, useGetTopicsDetailsStatsQuery, useGetTopicsStatsQuery, useGetTopicsSummaryQuery, useGetTrainingDocumentRetrainScheduleQuery, useGetTrainingDocumentsQuery, useGetTranscriptsConversationHeadlineQuery, useGetTranscriptsMessagesDetailsQuery, useGetTranscriptsMessagesQuery, useGetUserAppsQuery, useGetUserAssignedCoursesQuery, useGetUserAssignedPathwaysQuery, useGetUserCatalogPathwaysQuery, useGetUserChatPrivacySettingsQuery, useGetUserCohortsOverTimeQuery, useGetUserCompaniesQuery, useGetUserCredentialsQuery, useGetUserDesiredSkillsQuery, useGetUserDetailsStatsQuery, useGetUserEarnedSkillsQuery, useGetUserEducationQuery, useGetUserEnrolledCoursesQuery, useGetUserEnrolledPathwaysQuery, useGetUserEnrolledProgramsQuery, useGetUserExperienceQuery, useGetUserInstitutionsQuery, useGetUserInvitationsQuery, useGetUserMemorySettingsQuery, useGetUserMetadataEdxQuery, useGetUserMetadataQuery, useGetUserMetricsPieChartQuery, useGetUserMetricsQuery, useGetUserPlatformMetadataQuery, useGetUserProjectDetailsQuery, useGetUserProjectsQuery, useGetUserReportedSkillsQuery, useGetUserResumeQuery, useGetUserSkillsPointsQuery, useGetUserTenantsQuery, useGetUsersAsAssertionsQuery, useGetUsersStatsQuery, useGetVectorDocumentsQuery, useGetVoiceQuery, useGetVoicesQuery, useGetWatchedGroupQuery, useGetWatchedGroupsQuery, useGetWatchedUsersQuery, useGetWatcherQuery, useGetWatchersQuery, useGetWorkflowQuery, useGetWorkflowsQuery, useHealthCheckClawInstanceMutation, useInviteUserMutation, useJoinTenantMutation, useLazyCheckAccessQuery, useLazyCheckAccessUnscopedQuery, useLazyConnectedServicesCallbackQuery, useLazyGetAccountBillingInfoQuery, useLazyGetAdminProjectDetailsQuery, useLazyGetAdminProjectsQuery, useLazyGetAgentConfigQuery, useLazyGetAgentSkillResourcesQuery, useLazyGetAgentSkillsQuery, useLazyGetApiKeysQuery, useLazyGetArtifactQuery, useLazyGetArtifactVersionQuery, useLazyGetAssignedProgramsQuery, useLazyGetAuditLogsQuery, useLazyGetCallConfigurationQuery, useLazyGetCallConfigurationsQuery, useLazyGetCatalogInvitationsCourseQuery, useLazyGetCatalogInvitationsProgramQuery, useLazyGetCatalogSearchQuery, useLazyGetChatHistoryExportStatusQuery, useLazyGetChatHistoryFilterQuery, useLazyGetChatHistoryQuery, useLazyGetChatMessageTtsQuery, useLazyGetChatMessagesForSessionQuery, useLazyGetChatPrivacyEffectiveQuery, useLazyGetClawInstanceQuery, useLazyGetClawInstancesQuery, useLazyGetClawMentorConfigQuery, useLazyGetConnectedServiceAuthUrlQuery, useLazyGetConnectedServicesQuery, useLazyGetConversationMemoriesQuery, useLazyGetCourseCompletionOutlinesQuery, useLazyGetCourseCompletionQuery, useLazyGetCourseEligibilityQuery, useLazyGetCourseMetaDataQuery, useLazyGetCourseProgressQuery, useLazyGetCredentialsListQuery, useLazyGetCredentialsQuery, useLazyGetCredentialsSchemaQuery, useLazyGetCustomDomainsQuery, useLazyGetCustomMentorsQuery, useLazyGetDatasetsQuery, useLazyGetDepartmentMemberCheckQuery, useLazyGetDesiredSkillsQuery, useLazyGetDisclaimersQuery, useLazyGetDownloadReportFromURLQuery, useLazyGetEdxSSOTokenQuery, useLazyGetEnrollmentCourseSearchQuery, useLazyGetExamInfoQuery, useLazyGetExternalMappingQuery, useLazyGetFreeUsageCountQuery, useLazyGetGlobalMemoriesQuery, useLazyGetGuidedPromptsQuery, useLazyGetIntegrationCredentialsQuery, useLazyGetIntegrationCredentialsSchemaQuery, useLazyGetIssuersQuery, useLazyGetItemSubscriptionQuery, useLazyGetLLMCredentialsQuery, useLazyGetLlmsQuery, useLazyGetLtiKeyDetailQuery, useLazyGetMCPServerQuery, useLazyGetMCPServersQuery, useLazyGetMemoryCategoriesAdminQuery, useLazyGetMemsearchConfigQuery, useLazyGetMemsearchStatusQuery, useLazyGetMentorCategoriesQuery, useLazyGetMentorCategoryGroupsQuery, useLazyGetMentorDetailsQuery, useLazyGetMentorMemoriesListQuery, useLazyGetMentorMemoriesQuery, useLazyGetMentorPublicSettingsQuery, useLazyGetMentorSettingsQuery, useLazyGetMentorSkillAssignmentsQuery, useLazyGetMentorSummariesQuery, useLazyGetMentorsQuery, useLazyGetModerationLogsQuery, useLazyGetMySubscriptionsQuery, useLazyGetNodeTypesQuery, useLazyGetNotificationContextQuery, useLazyGetNotificationsCountQuery, useLazyGetNotificationsQuery, useLazyGetOAuthServicesQuery, useLazyGetOverTimeActivityQuery, useLazyGetPathwayCompletionQuery, useLazyGetPathwayListQuery, useLazyGetPaywallConfigQuery, useLazyGetPerLearnerActivityQuery, useLazyGetPerLearnerInfoQuery, useLazyGetPeriodicAgentLogsListQuery, useLazyGetPeriodicAgentLogsQuery, useLazyGetPeriodicAgentQuery, useLazyGetPeriodicAgentsQuery, useLazyGetPersonnalizedMentorsQuery, useLazyGetPersonnalizedSearchQuery, useLazyGetPinnedMessagesQuery, useLazyGetPlatformInfoQuery, useLazyGetPlatformMembershipQuery, useLazyGetProgramCompletionQuery, useLazyGetProgramListQuery, useLazyGetPromptCategoriesQuery, useLazyGetPromptsQuery, useLazyGetPromptsSearchQuery, useLazyGetProviderConfigQuery, useLazyGetPublicMentorsQuery, useLazyGetPublicPlatformImageAssetFileUrlQuery, useLazyGetPublicPlatformMembershipQuery, useLazyGetPublicPricingQuery, useLazyGetRbacActionsDefinitionQuery, useLazyGetRbacRolesQuery, useLazyGetRbacTeamsAccessListQuery, useLazyGetRecentMessageQuery, useLazyGetRecentlyAccessedMentorsQuery, useLazyGetRecommendationsAiSearchQuery, useLazyGetRecommendedPromptsListQuery, useLazyGetReportDetailQuery, useLazyGetReportedSkillsQuery, useLazyGetReportsQuery, useLazyGetResourceSearchQuery, useLazyGetRevenueQuery, useLazyGetSessionIdQuery, useLazyGetShareableLinkPublicQuery, useLazyGetShareableLinkQuery, useLazyGetSharedSessionIdQuery, useLazyGetSkillsPointsPercentileQuery, useLazyGetStripeConnectDashboardQuery, useLazyGetStripeConnectStatusQuery, useLazyGetStripeContextQuery, useLazyGetStripePricingPageSessionQuery, useLazyGetTemplateDetailsQuery, useLazyGetTemplatesQuery, useLazyGetTenantChatPrivacyConfigQuery, useLazyGetTenantMetadataQuery, useLazyGetToolsQuery, useLazyGetTrainingDocumentRetrainScheduleQuery, useLazyGetTrainingDocumentsQuery, useLazyGetUserAppsQuery, useLazyGetUserAssignedCoursesQuery, useLazyGetUserAssignedPathwaysQuery, useLazyGetUserCatalogPathwaysQuery, useLazyGetUserChatPrivacySettingsQuery, useLazyGetUserCompaniesQuery, useLazyGetUserCredentialsQuery, useLazyGetUserDesiredSkillsQuery, useLazyGetUserEarnedSkillsQuery, useLazyGetUserEducationQuery, useLazyGetUserEnrolledCoursesQuery, useLazyGetUserEnrolledPathwaysQuery, useLazyGetUserEnrolledProgramsQuery, useLazyGetUserExperienceQuery, useLazyGetUserInstitutionsQuery, useLazyGetUserInvitationsQuery, useLazyGetUserMemorySettingsQuery, useLazyGetUserMetadataEdxQuery, useLazyGetUserMetadataQuery, useLazyGetUserPlatformMetadataQuery, useLazyGetUserProjectDetailsQuery, useLazyGetUserProjectsQuery, useLazyGetUserReportedSkillsQuery, useLazyGetUserResumeQuery, useLazyGetUserSkillsPointsQuery, useLazyGetUserTenantsQuery, useLazyGetUsersAsAssertionsQuery, useLazyGetVectorDocumentsQuery, useLazyGetVoiceQuery, useLazyGetVoicesQuery, useLazyGetWatchedGroupQuery, useLazyGetWatchedGroupsQuery, useLazyGetWatchedUsersQuery, useLazyGetWatchersQuery, useLazyGetWorkflowQuery, useLazyGetWorkflowsQuery, useLazyListArtifactVersionsQuery, useLazyListArtifactsQuery, useLazyListItemSubscribersQuery, useLazyListPaywallsQuery, useLazyListPricesQuery, useLazyListSubscribersQuery, useLazyPlatformUserGroupsQuery, useLazyPlatformUsersQuery, useLazyRefreshJwtTokenQuery, useLazySeedMentorsQuery, useLazyStarredMentorsQuery, useLazyStartOAuthFlowQuery, useListArtifactVersionsQuery, useListArtifactsQuery, useListItemSubscribersQuery, useListPaywallsQuery, useListPricesQuery, useListSubscribersQuery, useMarkAllAsReadMutation, useOauthFindMutation, usePartialUpdateMCPServerMutation, usePartialUpdatePeriodicAgentMutation, usePartialUpdateRbacRoleMutation, usePatchMCPServerConnectionMutation, usePatchWorkflowMutation, usePlatformInvitationsQuery, usePlatformUserGroupsQuery, usePlatformUsersQuery, usePublishWorkflowMutation, usePushClawConfigMutation, useRefreshVersionClawInstanceMutation, useRemoveProfileImageMutation, useRemoveWatchedUserMutation, useRenewSubscriptionMutation, useResetPasswordMutation, useRevokeShareableLinkMutation, useSeedMentorsQuery, useSelfRetireMutation, useSendNotificationMutation, useSetCurrentVersionMutation, useSetPlatformConfigurationsMutation, useSetStudentMentorCreationStatusMutation, useStarMentorMutation, useStarredMentorsQuery, useStartExamMutation, useStartStripeConnectOnboardingMutation, useTestConnectivityClawInstanceMutation, useTimeTrackingMutation, useToggleTemplateMutation, useTriggerAutoRechargeMutation, useUnPinMessageMutation, useUnpublishWorkflowMutation, useUnstarMentorMutation, useUpdateAdminProjectMutation, useUpdateAgentConfigMutation, useUpdateAgentSkillMutation, useUpdateAgentSkillResourceMutation, useUpdateArtifactMutation, useUpdateAutoRechargeInfoMutation, useUpdateCallConfigurationMutation, useUpdateChatSessionMutation, useUpdateChatSessionSharedMutation, useUpdateClawInstanceMutation, useUpdateClawMentorConfigMutation, useUpdateCredentialMutation, useUpdateDisclaimerMutation, useUpdateExamAttemptMutation, useUpdateIntegrationCredentialMutation, useUpdateLtiKeyMutation, useUpdateLtiMentorMutation, useUpdateLtiToolMutation, useUpdateMCPServerMutation, useUpdateMemoryCategoryMutation, useUpdateMemsearchConfigMutation, useUpdateMentorMemoryMutation, useUpdateMentorSkillAssignmentMutation, useUpdateMessageFeedbackMutation, useUpdatePaywallMutation, useUpdatePeriodicAgentMutation, useUpdatePlatformImageAssetMutation, useUpdatePlatformInfoMutation, useUpdatePlatformMembershipMutation, useUpdatePlatformUserGroupMutation, useUpdatePlatformUserRoleWithPoliciesMutation, useUpdatePriceMutation, useUpdatePromptMutation, useUpdateRbacGroupMutation, useUpdateRbacMentorAccessMutation, useUpdateRbacPolicyMutation, useUpdateRbacRoleMutation, useUpdateRecommendedPromptMutation, useUpdateSessionDisableChathistoryMutation, useUpdateShareableLinkMutation, useUpdateTemplateMutation, useUpdateTenantChatPrivacyConfigMutation, useUpdateTenantMetadataMutation, useUpdateUserAccountMutation, useUpdateUserChatPrivacySettingsMutation, useUpdateUserEducationMutation, useUpdateUserExperienceMutation, useUpdateUserMemorySettingsMutation, useUpdateUserMetadataEdxMutation, useUpdateUserMetadataMutation, useUpdateUserOnboardingStatusMutation, useUpdateUserPlatformMetadataMutation, useUpdateUserProjectMutation, useUpdateUserRoleMutation, useUpdateUserStatusMutation, useUpdateUserTrialStatusMutation, useUpdateWatchedGroupMutation, useUpdateWatcherMutation, useUpdateWorkflowMutation, useUploadCredentialImageMutation, useUploadDarkLogoMutation, useUploadLightLogoMutation, useUploadProfileImageMutation, useUsersGradesPassedQuery, useValidateWorkflowMutation, userApiSlice, userInvitationsApiSlice, watchedGroupsApiSlice, workflowsApiSlice };
46767
+ export { APP_IDENTIFIERS, AUDIT_LOGS_ENDPOINTS, AUDIT_LOGS_QUERY_KEYS, AUDIT_LOGS_REDUCER_PATH, CALL_CONFIGURATIONS_ENDPOINTS, CALL_CONFIGURATIONS_REDUCER_PATH, CALL_CONFIGURATIONS_TAGS, CHAT_HISTORY_PAGE_PARAM, CHAT_HISTORY_PAGE_SIZE, CHAT_HISTORY_PAGE_SIZE_PARAM, CHAT_PRIVACY_MODES, CLAW_ENDPOINTS, CLAW_REDUCER_PATH, CLAW_TAG_TYPES, CORE_CUSTOM_ENDPOINTS, CORE_CUSTOM_REDUCER_PATH, CORE_FAKE_CUSTOM_REDUCER_PATH, CREDENTIALS_CUSTOM_ENDPOINTS, CREDENTIALS_CUSTOM_REDUCER_PATH, CUSTOM_AI_SEARCH_ENDPOINTS, CUSTOM_AI_SEARCH_QUERY_KEYS, CUSTOM_AI_SEARCH_REDUCER_PATH, CUSTOM_DOMAIN_ENDPOINTS, CUSTOM_DOMAIN_QUERY_KEYS, CUSTOM_DOMAIN_REDUCER_PATH, ChatPrivacyModeEnum, DEFAULT_PRIVACY_ACTION, DEFAULT_PRIVACY_RESPONSE, DISCLAIMERS_ENDPOINTS, DISCLAIMERS_QUERY_KEYS, DISCLAIMERS_REDUCER_PATH, EDX_PROCTORING_ENDPOINTS, EVALUATIONS_ENDPOINTS, EVALUATIONS_REDUCER_PATH, EVALUATIONS_TAGS, IblDataLayer, LOGO_ENDPOINTS, MCP_ENDPOINTS, MCP_REDUCER_PATH, MCP_TAG_TYPES, MEMORY_QUERY_KEYS, MEMORY_REDUCER_PATH, MEMSEARCH_ENDPOINTS, MENTORS_QUERY_KEYS, MENTORS_REDUCER_PATH, MENTOR_CUSTOM_ENDPOINTS, MENTOR_CUSTOM_REDUCER_PATH, MENTOR_ENDPOINTS, NOTIFICATIONS_CUSTOM_ENDPOINTS, NOTIFICATIONS_CUSTOM_REDUCER_PATH, NOTIFICATIONS_CUSTOM_TAGS, PLATFORM_CONFIGURATION_TAG, PLATFORM_CUSTOM_ENDPOINTS, PLATFORM_CUSTOM_REDUCER_PATH, PLATFORM_MEMBERSHIP_TAG, PRIVACY_ACTIONS, PRIVACY_BLOCKED_ERROR_KIND, PRIVACY_ENTITY_TYPES, PRIVACY_TARGET_SYSTEM, PROJECTS_CUSTOM_ENDPOINTS, PROJECTS_CUSTOM_REDUCER_PATH, PROJECTS_QUERY_KEYS, QUERY_PARAMS, RETIREMENT_ENDPOINTS, SERVICES, STORAGE_KEYS, STUDIO_AUTHORING_ENDPOINTS, SUGGESTED_PRIVACY_ENTITIES, SUPPORT_TICKETS_ENDPOINTS, SUPPORT_TICKETS_REDUCER_PATH, SUPPORT_TICKETS_TAGS, TENANT_IDENTIFIERS, TENANT_LOGO_ENDPOINTS, TENANT_LOGO_QUERY_KEYS, TENANT_LOGO_REDUCER_PATH, URL_PATTERNS, WATCHED_GROUPS_ENDPOINTS, WATCHED_GROUPS_QUERY_KEYS, WATCHED_GROUPS_REDUCER_PATH, WATCHER_NOTIFICATION_EVENTS, WATCHER_NOTIFICATION_EVENT_LABELS, WORKFLOWS_ENDPOINTS, WORKFLOWS_QUERY_KEYS, WORKFLOWS_REDUCER_PATH, analyticsApiSlice, apiKeysApiReducer, apiKeysApiSlice, appApiReducer, appApiSlice, artifactsApiReducer, artifactsApiSlice, auditLogsApiSlice, authApiSlice, billingApiSlice, billingCustomSlice, buildRecentMessagesUrl, buildSessionRetrieveUrl, buildSharedSessionRetrieveUrl, callConfigurationsApiReducer, callConfigurationsApiSlice, careerApiSlice, catalogApiSlice, chatApiSlice, chatCustomApiSlice, chatFilesApiSlice, chatHistoryApiSlice, chatPrivacyApiSlice, clawApiSlice, coreApiSlice, coreCustomApiSlice, coreFakeCustomPublicImageAssetApiSlice, courseMetadataApiSlice, coursesApiSlice, credentialsApiSlice, credentialsCustomApiSlice, customAiSearchApiSlice, customDomainApiSlice, datasetsApiSlice, disclaimersApiSlice, edxProctoringApiSlice, edxSsoApiSlice, evalTotalPages, evaluationsApiSlice, fakeBaseQueryWithLogging, featureTags, getNextRecentMessagesPageParam, iblFakeBaseQuery, initializeDataLayer, isPoliciesResponse, isPrivacyBlockedError, llmsApiSlice, mcpApiSlice, memoryApiSlice, mentorApiReducer, mentorApiSlice, mentorCategoriesApiSlice, mentorCustomApiSlice, mentorMiddleware, mentorReducer, moderationLogsApiReducer, moderationLogsApiSlice, monetizationApiSlice, notificationsApiSlice, notificationsCustomApiSlice, perLearnerApiSlice, periodicAgentsApiSlice, platformApiReducer, platformApiSlice, platformCustomApiSlice, projectsApiSlice, promptsApiSlice, recommendationPromptTypeEnum, reportsApiSlice, retirementApiSlice, searchApiSlice, sessionApiSlice, skillsApiSlice, skillsMiddleware, skillsReducer, stripeApiSlice, studioAuthoringApiSlice, supportTicketsApiSlice, tenantApiReducer, tenantApiSlice, tenantLogoApiSlice, toolsApiSlice, trainingDocumentsApiSlice, useActivateWorkflowMutation, useAddEvalDatasetItemsMutation, useAddPinnedMessageMutation, useAddTrainingDocumentMutation, useAddWatchedUserMutation, useAddWatcherMutation, useAgreeToDisclaimerMutation, useAudioToTextMutation, useCancelSubscriptionMutation, useChatWithWorkflowMutation, useCheckAccessQuery, useCheckAccessUnscopedQuery, useCloseSupportTicketMutation, useConnectedServicesCallbackQuery, useCreateAdminProjectMutation, useCreateAgentSkillMutation, useCreateAgentSkillResourceMutation, useCreateApiKeyMutation, useCreateCallConfigurationMutation, useCreateCallCredentialsMutation, useCreateCatalogInvitationBulkMutation, useCreateCatalogInvitationCourseBulkMutation, useCreateCatalogInvitationCourseMutation, useCreateCatalogInvitationProgramBulkMutation, useCreateCatalogInvitationProgramMutation, useCreateCatalogPathwayEnrollmentMutation, useCreateCatalogPathwayMutation, useCreateCatalogPathwaySelfEnrollmentMutation, useCreateCatalogProgramMutation, useCreateCatalogProgramSelfEnrollmentMutation, useCreateCatalogRoleMutation, useCreateCheckoutMutation, useCreateClawInstanceMutation, useCreateClawMentorConfigMutation, useCreateCourseEnrollmentMutation, useCreateCredentialAssertionMutation, useCreateCredentialMutation, useCreateCustomDomainMutation, useCreateDisclaimerMutation, useCreateEvalDatasetMutation, useCreateEvalScoreConfigMutation, useCreateEvalScoreMutation, useCreateExternalMappingMutation, useCreateGlobalMemoryMutation, useCreateGuestCheckoutMutation, useCreateIntegrationCredentialMutation, useCreateLLMCredentialMutation, useCreateLtiKeyMutation, useCreateLtiMentorMutation, useCreateLtiToolMutation, useCreateMCPServerConnectionMutation, useCreateMCPServerMutation, useCreateMemoryCategoryMutation, useCreateMentorMemoryMutation, useCreateMentorMutation, useCreateMentorSkillAssignmentMutation, useCreateNotificationPreviewMutation, useCreateOrUpdateUserDesiredSkillMutation, useCreateOrUpdateUserReportedSkillMutation, useCreatePeriodicAgentMutation, useCreatePlatformImageAssetMutation, useCreatePlatformUserGroupMutation, useCreatePriceMutation, useCreatePromptMutation, useCreateProviderConfigMutation, useCreateRbacGroupMutation, useCreateRbacPolicyMutation, useCreateRbacRoleMutation, useCreateRbacTeamsAccessMutation, useCreateRecommendedPromptMutation, useCreateRedirectTokenMutation, useCreateReportMutation, useCreateSessionIdMutation, useCreateShareableLinkMutation, useCreateStripeCheckoutSessionMutation, useCreateStripeCustomerPortalMutation, useCreateStudioCourseMutation, useCreateStudioXblockMutation, useCreateSupportTicketMessageMutation, useCreateTrainingDocumentRetrainScheduleMutation, useCreateUserCompanyMutation, useCreateUserEducationMutation, useCreateUserExperienceMutation, useCreateUserInstitutionMutation, useCreateUserInvitationMutation, useCreateUserProjectMutation, useCreateUserResumeMutation, useCreateWatchedGroupMutation, useCreateWorkflowMutation, useDeactivateWorkflowMutation, useDeleteAdminProjectMutation, useDeleteAgentSkillMutation, useDeleteAgentSkillResourceMutation, useDeleteApiKeyMutation, useDeleteClawInstanceMutation, useDeleteClawMentorConfigMutation, useDeleteCourseCredentialMutation, useDeleteCredentialMutation, useDeleteCustomDomainMutation, useDeleteDisclaimerMutation, useDeleteEvalDatasetItemMutation, useDeleteEvalRunMutation, useDeleteEvalScoreMutation, useDeleteExternalMappingMutation, useDeleteGlobalMemoryMutation, useDeleteIntegrationCredentialMutation, useDeleteLtiKeyMutation, useDeleteLtiMentorMutation, useDeleteLtiToolMutation, useDeleteMCPServerMutation, useDeleteMemoryCategoryMutation, useDeleteMentorMemoryMutation, useDeleteMentorMutation, useDeleteMentorSkillAssignmentMutation, useDeleteMessageMutation, useDeleteModerationLogMutation, useDeletePeriodicAgentMutation, useDeletePlatformConfigurationMutation, useDeletePlatformImageAssetMutation, useDeletePlatformUserGroupMutation, useDeletePriceMutation, useDeletePromptMutation, useDeleteProviderConfigMutation, useDeleteRbacGroupMutation, useDeleteRbacPolicyMutation, useDeleteRbacRoleMutation, useDeleteRecommendedPromptMutation, useDeleteStudioCourseMutation, useDeleteSupportTicketMessageMutation, useDeleteSupportTicketMutation, useDeleteTrainingDocumentMutation, useDeleteUserEducationMutation, useDeleteUserExperienceMutation, useDeleteUserProjectMutation, useDeleteWatchedGroupMutation, useDeleteWatcherMutation, useDeleteWorkflowMutation, useDisablePaywallMutation, useDisconnectServiceMutation, useEditMentorAndRefreshListMutation, useEditMentorJsonMutation, useEditMentorMutation, useEditSessionMutation, useEditTrainingDocumentMutation, useEnablePaywallMutation, useEvaluateEvalRunMutation, useExchangeAppleTokenMutation, useExportChatHistoryMutation, useExportEvalRunMutation, useForkMentorMutation, useGetAccessTimeHeatmapQuery, useGetAccountBillingInfoQuery, useGetAdminProjectDetailsQuery, useGetAdminProjectsQuery, useGetAgentConfigQuery, useGetAgentSkillQuery, useGetAgentSkillResourceQuery, useGetAgentSkillResourcesQuery, useGetAgentSkillsQuery, useGetAiSearchMentorsQuery, useGetApiKeysQuery, useGetAppTokensMutation, useGetArtifactQuery, useGetArtifactVersionQuery, useGetAssignedProgramsQuery, useGetAuditLogsQuery, useGetAverageMessagesPerSessionQuery, useGetAverageRatingQuery, useGetCallConfigurationQuery, useGetCallConfigurationsQuery, useGetCatalogInvitationsCourseQuery, useGetCatalogInvitationsProgramQuery, useGetCatalogSearchQuery, useGetChatHistoryExportStatusQuery, useGetChatHistoryFilterQuery, useGetChatHistoryQuery, useGetChatMessageTtsQuery, useGetChatMessagesForSessionQuery, useGetChatPrivacyEffectiveQuery, useGetClawInstanceQuery, useGetClawInstancesQuery, useGetClawMentorConfigQuery, useGetConnectedServiceAuthUrlQuery, useGetConnectedServicesQuery, useGetContentAnalyticsDetailsQuery, useGetContentAnalyticsQuery, useGetConversationMemoriesQuery, useGetConversationQuery, useGetCourseCompletionOutlinesQuery, useGetCourseCompletionQuery, useGetCourseEligibilityQuery, useGetCourseMetaDataQuery, useGetCourseProgressQuery, useGetCredentialsListQuery, useGetCredentialsQuery, useGetCredentialsSchemaQuery, useGetCustomDomainsQuery, useGetCustomMentorsQuery, useGetDatasetsQuery, useGetDepartmentMemberCheckQuery, useGetDesiredSkillsQuery, useGetDetailedFinancialStatsQuery, useGetDisclaimersQuery, useGetEdxSSOTokenQuery, useGetEnrollmentCourseSearchQuery, useGetEvalDatasetQuery, useGetEvalRunQuery, useGetEvalTaskStatusQuery, useGetExamInfoQuery, useGetExternalMappingQuery, useGetFileUploadUrlMutation, useGetFinancialStatsQuery, useGetFreeUsageCountQuery, useGetGlobalMemoriesQuery, useGetGuidedPromptsQuery, useGetIntegrationCredentialsQuery, useGetIntegrationCredentialsSchemaQuery, useGetIssuersQuery, useGetItemSubscriptionQuery, useGetLLMCredentialsQuery, useGetLearnerDetailsQuery, useGetLlmsQuery, useGetLtiKeyDetailQuery, useGetLtiKeysQuery, useGetLtiMentorDetailQuery, useGetLtiMentorsQuery, useGetLtiToolDetailQuery, useGetLtiToolsQuery, useGetMCPServerConnectionsQuery, useGetMCPServerQuery, useGetMCPServersQuery, useGetMaskedIntegrationCredentialsQuery, useGetMaskedLLMCredentialsQuery, useGetMemoryCategoriesAdminQuery, useGetMemsearchConfigQuery, useGetMemsearchStatusQuery, useGetMentorCategoriesQuery, useGetMentorCategoryGroupsQuery, useGetMentorDetailsQuery, useGetMentorMemoriesListQuery, useGetMentorMemoriesQuery, useGetMentorPublicSettingsQuery, useGetMentorSettingsQuery, useGetMentorSkillAssignmentQuery, useGetMentorSkillAssignmentsQuery, useGetMentorSummariesQuery, useGetMentorsQuery, useGetMfeContextQuery, useGetModerationLogsQuery, useGetMostDiscussedTopicsQuery, useGetMySubscriptionsQuery, useGetNodeTypesQuery, useGetNotificationContextQuery, useGetNotificationsCountQuery, useGetNotificationsQuery, useGetOAuthServicesQuery, useGetOverTimeActivityQuery, useGetOverviewSummaryQuery, useGetPathwayCompletionQuery, useGetPathwayListQuery, useGetPaywallConfigQuery, useGetPerLearnerActivityQuery, useGetPerLearnerInfoQuery, useGetPeriodicAgentLogsListQuery, useGetPeriodicAgentLogsQuery, useGetPeriodicAgentQuery, useGetPeriodicAgentsQuery, useGetPersonnalizedMentorsQuery, useGetPersonnalizedSearchQuery, useGetPinnedMessagesQuery, useGetPlatformConfigurationsQuery, useGetPlatformImageAssetDetailsQuery, useGetPlatformImageAssetsListQuery, useGetPlatformInfoQuery, useGetPlatformMembershipQuery, useGetPlatformUserGroupDetailsQuery, useGetProgramCompletionQuery, useGetProgramListQuery, useGetPromptCategoriesQuery, useGetPromptsQuery, useGetPromptsSearchQuery, useGetProviderConfigQuery, useGetPublicMentorsQuery, useGetPublicPlatformImageAssetFileUrlQuery, useGetPublicPlatformMembershipQuery, useGetPublicPricingQuery, useGetRbacActionsDefinitionQuery, useGetRbacGroupDetailsQuery, useGetRbacGroupsQuery, useGetRbacMentorAccessListQuery, useGetRbacPermissionsMutation, useGetRbacPoliciesQuery, useGetRbacPolicyDetailsQuery, useGetRbacResourceDiscoveryQuery, useGetRbacResourceListQuery, useGetRbacRoleDetailsQuery, useGetRbacRolesQuery, useGetRbacTeamsAccessListQuery, useGetRecentMessageQuery, useGetRecentMessagesInfiniteQuery, useGetRecentlyAccessedMentorsQuery, useGetRecommendationsAiSearchQuery, useGetRecommendedPromptsListQuery, useGetRegisteredUsersTrendQuery, useGetReportDetailQuery, useGetReportedSkillsQuery, useGetReportsQuery, useGetResourceSearchQuery, useGetRevenueQuery, useGetSessionIdQuery, useGetSessionStatsQuery, useGetShareableLinkPublicQuery, useGetShareableLinkQuery, useGetSharedSessionIdQuery, useGetSkillsPointsPercentileQuery, useGetStripeConnectDashboardQuery, useGetStripeConnectStatusQuery, useGetStripeContextQuery, useGetStripePricingPageSessionQuery, useGetStudentMentorCreationStatusQuery, useGetSupportTicketMessageQuery, useGetSupportTicketMessagesQuery, useGetSupportTicketQuery, useGetSupportTicketsQuery, useGetTemplateDetailsQuery, useGetTemplatesQuery, useGetTenantChatPrivacyConfigQuery, useGetTenantMetadataQuery, useGetToolsQuery, useGetTopStudentsByChatMessagesQuery, useGetTopicOverviewQuery, useGetTopicStatisticsQuery, useGetTopicsDetailsStatsQuery, useGetTopicsStatsQuery, useGetTopicsSummaryQuery, useGetTrainingDocumentRetrainScheduleQuery, useGetTrainingDocumentsQuery, useGetTranscriptsConversationHeadlineQuery, useGetTranscriptsMessagesDetailsQuery, useGetTranscriptsMessagesQuery, useGetUserAppsQuery, useGetUserAssignedCoursesQuery, useGetUserAssignedPathwaysQuery, useGetUserCatalogPathwaysQuery, useGetUserChatPrivacySettingsQuery, useGetUserCohortsOverTimeQuery, useGetUserCompaniesQuery, useGetUserCredentialsQuery, useGetUserDesiredSkillsQuery, useGetUserDetailsStatsQuery, useGetUserEarnedSkillsQuery, useGetUserEducationQuery, useGetUserEnrolledCoursesQuery, useGetUserEnrolledPathwaysQuery, useGetUserEnrolledProgramsQuery, useGetUserExperienceQuery, useGetUserInstitutionsQuery, useGetUserInvitationsQuery, useGetUserMemorySettingsQuery, useGetUserMetadataEdxQuery, useGetUserMetadataQuery, useGetUserMetricsPieChartQuery, useGetUserMetricsQuery, useGetUserPlatformMetadataQuery, useGetUserProjectDetailsQuery, useGetUserProjectsQuery, useGetUserReportedSkillsQuery, useGetUserResumeQuery, useGetUserSkillsPointsQuery, useGetUserTenantsQuery, useGetUsersAsAssertionsQuery, useGetUsersStatsQuery, useGetVectorDocumentsQuery, useGetVoiceQuery, useGetVoicesQuery, useGetWatchedGroupQuery, useGetWatchedGroupsQuery, useGetWatchedUsersQuery, useGetWatcherQuery, useGetWatchersQuery, useGetWorkflowQuery, useGetWorkflowsQuery, useHealthCheckClawInstanceMutation, useInviteUserMutation, useJoinTenantMutation, useLazyCheckAccessQuery, useLazyCheckAccessUnscopedQuery, useLazyConnectedServicesCallbackQuery, useLazyGetAccountBillingInfoQuery, useLazyGetAdminProjectDetailsQuery, useLazyGetAdminProjectsQuery, useLazyGetAgentConfigQuery, useLazyGetAgentSkillResourcesQuery, useLazyGetAgentSkillsQuery, useLazyGetApiKeysQuery, useLazyGetArtifactQuery, useLazyGetArtifactVersionQuery, useLazyGetAssignedProgramsQuery, useLazyGetAuditLogsQuery, useLazyGetCallConfigurationQuery, useLazyGetCallConfigurationsQuery, useLazyGetCatalogInvitationsCourseQuery, useLazyGetCatalogInvitationsProgramQuery, useLazyGetCatalogSearchQuery, useLazyGetChatHistoryExportStatusQuery, useLazyGetChatHistoryFilterQuery, useLazyGetChatHistoryQuery, useLazyGetChatMessageTtsQuery, useLazyGetChatMessagesForSessionQuery, useLazyGetChatPrivacyEffectiveQuery, useLazyGetClawInstanceQuery, useLazyGetClawInstancesQuery, useLazyGetClawMentorConfigQuery, useLazyGetConnectedServiceAuthUrlQuery, useLazyGetConnectedServicesQuery, useLazyGetConversationMemoriesQuery, useLazyGetCourseCompletionOutlinesQuery, useLazyGetCourseCompletionQuery, useLazyGetCourseEligibilityQuery, useLazyGetCourseMetaDataQuery, useLazyGetCourseProgressQuery, useLazyGetCredentialsListQuery, useLazyGetCredentialsQuery, useLazyGetCredentialsSchemaQuery, useLazyGetCustomDomainsQuery, useLazyGetCustomMentorsQuery, useLazyGetDatasetsQuery, useLazyGetDepartmentMemberCheckQuery, useLazyGetDesiredSkillsQuery, useLazyGetDisclaimersQuery, useLazyGetDownloadReportFromURLQuery, useLazyGetEdxSSOTokenQuery, useLazyGetEnrollmentCourseSearchQuery, useLazyGetEvalRunQuery, useLazyGetEvalTaskStatusQuery, useLazyGetExamInfoQuery, useLazyGetExternalMappingQuery, useLazyGetFreeUsageCountQuery, useLazyGetGlobalMemoriesQuery, useLazyGetGuidedPromptsQuery, useLazyGetIntegrationCredentialsQuery, useLazyGetIntegrationCredentialsSchemaQuery, useLazyGetIssuersQuery, useLazyGetItemSubscriptionQuery, useLazyGetLLMCredentialsQuery, useLazyGetLlmsQuery, useLazyGetLtiKeyDetailQuery, useLazyGetMCPServerQuery, useLazyGetMCPServersQuery, useLazyGetMemoryCategoriesAdminQuery, useLazyGetMemsearchConfigQuery, useLazyGetMemsearchStatusQuery, useLazyGetMentorCategoriesQuery, useLazyGetMentorCategoryGroupsQuery, useLazyGetMentorDetailsQuery, useLazyGetMentorMemoriesListQuery, useLazyGetMentorMemoriesQuery, useLazyGetMentorPublicSettingsQuery, useLazyGetMentorSettingsQuery, useLazyGetMentorSkillAssignmentsQuery, useLazyGetMentorSummariesQuery, useLazyGetMentorsQuery, useLazyGetModerationLogsQuery, useLazyGetMySubscriptionsQuery, useLazyGetNodeTypesQuery, useLazyGetNotificationContextQuery, useLazyGetNotificationsCountQuery, useLazyGetNotificationsQuery, useLazyGetOAuthServicesQuery, useLazyGetOverTimeActivityQuery, useLazyGetPathwayCompletionQuery, useLazyGetPathwayListQuery, useLazyGetPaywallConfigQuery, useLazyGetPerLearnerActivityQuery, useLazyGetPerLearnerInfoQuery, useLazyGetPeriodicAgentLogsListQuery, useLazyGetPeriodicAgentLogsQuery, useLazyGetPeriodicAgentQuery, useLazyGetPeriodicAgentsQuery, useLazyGetPersonnalizedMentorsQuery, useLazyGetPersonnalizedSearchQuery, useLazyGetPinnedMessagesQuery, useLazyGetPlatformInfoQuery, useLazyGetPlatformMembershipQuery, useLazyGetProgramCompletionQuery, useLazyGetProgramListQuery, useLazyGetPromptCategoriesQuery, useLazyGetPromptsQuery, useLazyGetPromptsSearchQuery, useLazyGetProviderConfigQuery, useLazyGetPublicMentorsQuery, useLazyGetPublicPlatformImageAssetFileUrlQuery, useLazyGetPublicPlatformMembershipQuery, useLazyGetPublicPricingQuery, useLazyGetRbacActionsDefinitionQuery, useLazyGetRbacResourceDiscoveryQuery, useLazyGetRbacResourceListQuery, useLazyGetRbacRolesQuery, useLazyGetRbacTeamsAccessListQuery, useLazyGetRecentMessageQuery, useLazyGetRecentlyAccessedMentorsQuery, useLazyGetRecommendationsAiSearchQuery, useLazyGetRecommendedPromptsListQuery, useLazyGetReportDetailQuery, useLazyGetReportedSkillsQuery, useLazyGetReportsQuery, useLazyGetResourceSearchQuery, useLazyGetRevenueQuery, useLazyGetSessionIdQuery, useLazyGetShareableLinkPublicQuery, useLazyGetShareableLinkQuery, useLazyGetSharedSessionIdQuery, useLazyGetSkillsPointsPercentileQuery, useLazyGetStripeConnectDashboardQuery, useLazyGetStripeConnectStatusQuery, useLazyGetStripeContextQuery, useLazyGetStripePricingPageSessionQuery, useLazyGetSupportTicketMessageQuery, useLazyGetSupportTicketMessagesQuery, useLazyGetSupportTicketQuery, useLazyGetSupportTicketsQuery, useLazyGetTemplateDetailsQuery, useLazyGetTemplatesQuery, useLazyGetTenantChatPrivacyConfigQuery, useLazyGetTenantMetadataQuery, useLazyGetToolsQuery, useLazyGetTrainingDocumentRetrainScheduleQuery, useLazyGetTrainingDocumentsQuery, useLazyGetUserAppsQuery, useLazyGetUserAssignedCoursesQuery, useLazyGetUserAssignedPathwaysQuery, useLazyGetUserCatalogPathwaysQuery, useLazyGetUserChatPrivacySettingsQuery, useLazyGetUserCompaniesQuery, useLazyGetUserCredentialsQuery, useLazyGetUserDesiredSkillsQuery, useLazyGetUserEarnedSkillsQuery, useLazyGetUserEducationQuery, useLazyGetUserEnrolledCoursesQuery, useLazyGetUserEnrolledPathwaysQuery, useLazyGetUserEnrolledProgramsQuery, useLazyGetUserExperienceQuery, useLazyGetUserInstitutionsQuery, useLazyGetUserInvitationsQuery, useLazyGetUserMemorySettingsQuery, useLazyGetUserMetadataEdxQuery, useLazyGetUserMetadataQuery, useLazyGetUserPlatformMetadataQuery, useLazyGetUserProjectDetailsQuery, useLazyGetUserProjectsQuery, useLazyGetUserReportedSkillsQuery, useLazyGetUserResumeQuery, useLazyGetUserSkillsPointsQuery, useLazyGetUserTenantsQuery, useLazyGetUsersAsAssertionsQuery, useLazyGetVectorDocumentsQuery, useLazyGetVoiceQuery, useLazyGetVoicesQuery, useLazyGetWatchedGroupQuery, useLazyGetWatchedGroupsQuery, useLazyGetWatchedUsersQuery, useLazyGetWatchersQuery, useLazyGetWorkflowQuery, useLazyGetWorkflowsQuery, useLazyListArtifactVersionsQuery, useLazyListArtifactsQuery, useLazyListEvalDatasetItemsQuery, useLazyListEvalDatasetsQuery, useLazyListEvalJudgesQuery, useLazyListEvalRunJudgesQuery, useLazyListEvalRunsQuery, useLazyListEvalScoresQuery, useLazyListItemSubscribersQuery, useLazyListPaywallsQuery, useLazyListPricesQuery, useLazyListSubscribersQuery, useLazyPlatformUserGroupsQuery, useLazyPlatformUsersQuery, useLazyRefreshJwtTokenQuery, useLazySeedMentorsQuery, useLazyStarredMentorsQuery, useLazyStartOAuthFlowQuery, useListArtifactVersionsQuery, useListArtifactsQuery, useListEvalDatasetItemsQuery, useListEvalDatasetsQuery, useListEvalJudgesQuery, useListEvalRunJudgesQuery, useListEvalRunsQuery, useListEvalScoreConfigsQuery, useListEvalScoresQuery, useListItemSubscribersQuery, useListPaywallsQuery, useListPricesQuery, useListSubscribersQuery, useMarkAllAsReadMutation, useOauthFindMutation, usePartialUpdateMCPServerMutation, usePartialUpdatePeriodicAgentMutation, usePartialUpdateRbacRoleMutation, usePatchMCPServerConnectionMutation, usePatchSupportTicketMessageMutation, usePatchSupportTicketMutation, usePatchWorkflowMutation, usePlatformInvitationsQuery, usePlatformUserGroupsQuery, usePlatformUsersQuery, usePublishWorkflowMutation, usePushClawConfigMutation, useRefreshVersionClawInstanceMutation, useRemoveProfileImageMutation, useRemoveWatchedUserMutation, useRenewSubscriptionMutation, useResetPasswordMutation, useRevokeShareableLinkMutation, useSeedMentorsQuery, useSelfRetireMutation, useSendNotificationMutation, useSetCurrentVersionMutation, useSetPlatformConfigurationsMutation, useSetStudentMentorCreationStatusMutation, useSetStudioAdvancedSettingsMutation, useStarMentorMutation, useStarredMentorsQuery, useStartEvalRunMutation, useStartExamMutation, useStartStripeConnectOnboardingMutation, useTestConnectivityClawInstanceMutation, useTimeTrackingMutation, useToggleTemplateMutation, useTriggerAutoRechargeMutation, useUnPinMessageMutation, useUnpublishWorkflowMutation, useUnstarMentorMutation, useUpdateAdminProjectMutation, useUpdateAgentConfigMutation, useUpdateAgentSkillMutation, useUpdateAgentSkillResourceMutation, useUpdateArtifactMutation, useUpdateAutoRechargeInfoMutation, useUpdateCallConfigurationMutation, useUpdateChatSessionMutation, useUpdateChatSessionSharedMutation, useUpdateClawInstanceMutation, useUpdateClawMentorConfigMutation, useUpdateCredentialMutation, useUpdateDisclaimerMutation, useUpdateEvalDatasetItemMutation, useUpdateExamAttemptMutation, useUpdateIntegrationCredentialMutation, useUpdateLtiKeyMutation, useUpdateLtiMentorMutation, useUpdateLtiToolMutation, useUpdateMCPServerMutation, useUpdateMemoryCategoryMutation, useUpdateMemsearchConfigMutation, useUpdateMentorMemoryMutation, useUpdateMentorSkillAssignmentMutation, useUpdateMessageFeedbackMutation, useUpdatePaywallMutation, useUpdatePeriodicAgentMutation, useUpdatePlatformImageAssetMutation, useUpdatePlatformInfoMutation, useUpdatePlatformMembershipMutation, useUpdatePlatformUserGroupMutation, useUpdatePlatformUserRoleWithPoliciesMutation, useUpdatePriceMutation, useUpdatePromptMutation, useUpdateRbacGroupMutation, useUpdateRbacMentorAccessMutation, useUpdateRbacPolicyMutation, useUpdateRbacRoleMutation, useUpdateRecommendedPromptMutation, useUpdateSessionDisableChathistoryMutation, useUpdateShareableLinkMutation, useUpdateStudioCourseSettingsMutation, useUpdateStudioXblockMutation, useUpdateSupportTicketMessageMutation, useUpdateSupportTicketMutation, useUpdateTemplateMutation, useUpdateTenantChatPrivacyConfigMutation, useUpdateTenantMetadataMutation, useUpdateUserAccountMutation, useUpdateUserChatPrivacySettingsMutation, useUpdateUserEducationMutation, useUpdateUserExperienceMutation, useUpdateUserMemorySettingsMutation, useUpdateUserMetadataEdxMutation, useUpdateUserMetadataMutation, useUpdateUserOnboardingStatusMutation, useUpdateUserPlatformMetadataMutation, useUpdateUserProjectMutation, useUpdateUserRoleMutation, useUpdateUserStatusMutation, useUpdateUserTrialStatusMutation, useUpdateWatchedGroupMutation, useUpdateWatcherMutation, useUpdateWorkflowMutation, useUploadCredentialImageMutation, useUploadDarkLogoMutation, useUploadEvalDatasetCsvMutation, useUploadLightLogoMutation, useUploadProfileImageMutation, useUploadStudioCourseAssetMutation, useUploadStudioCourseVideoMutation, useUploadStudioScormPackageMutation, useUsersGradesPassedQuery, useValidateWorkflowMutation, userApiSlice, userInvitationsApiSlice, watchedGroupsApiSlice, workflowsApiSlice };
45887
46768
  //# sourceMappingURL=index.esm.js.map