@iblai/data-layer 1.1.6 → 1.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -41306,6 +41306,23 @@ const analyticsApiSlice = react.createApi({
41306
41306
  });
41307
41307
  const { useGetOverviewSummaryQuery, useGetConversationQuery, useGetMostDiscussedTopicsQuery, useGetAverageMessagesPerSessionQuery, useGetRegisteredUsersTrendQuery, useGetUserMetricsQuery, useGetUserMetricsPieChartQuery, useGetUserCohortsOverTimeQuery, useGetTopStudentsByChatMessagesQuery, useGetTopicOverviewQuery, useGetTopicsSummaryQuery, useGetTopicStatisticsQuery, useGetTopicsStatsQuery, useGetUsersStatsQuery, useGetSessionStatsQuery, useGetTopicsDetailsStatsQuery, useGetAccessTimeHeatmapQuery, useGetUserDetailsStatsQuery, useGetAverageRatingQuery, useGetFinancialStatsQuery, useGetDetailedFinancialStatsQuery, useGetTranscriptsMessagesQuery, useGetTranscriptsMessagesDetailsQuery, useTimeTrackingMutation, useGetTranscriptsConversationHeadlineQuery, useGetContentAnalyticsQuery, useGetContentAnalyticsDetailsQuery, } = analyticsApiSlice;
41308
41308
 
41309
+ const analyticsCustomSlice = react.createApi({
41310
+ reducerPath: 'analyticsCustomApiSlice',
41311
+ baseQuery: iblFetchBaseQuery,
41312
+ tagTypes: ['Analytics'],
41313
+ endpoints: (builder) => ({
41314
+ getDownloadReportFromURL: builder.query({
41315
+ query: ({ url }) => ({
41316
+ url: url,
41317
+ service: exports.SERVICES.DM,
41318
+ method: 'GET',
41319
+ responseHandler: (response) => response.blob(),
41320
+ }),
41321
+ }),
41322
+ }),
41323
+ });
41324
+ const { useGetDownloadReportFromURLQuery, useLazyGetDownloadReportFromURLQuery } = analyticsCustomSlice;
41325
+
41309
41326
  const reportsApiSlice = react.createApi({
41310
41327
  reducerPath: 'reportsApiSlice',
41311
41328
  baseQuery: iblFakeBaseQuery,
@@ -43188,6 +43205,7 @@ const mentorReducer = {
43188
43205
  [artifactsApiSlice.reducerPath]: artifactsApiSlice.reducer,
43189
43206
  [coreFakeCustomPublicImageAssetApiSlice.reducerPath]: coreFakeCustomPublicImageAssetApiSlice.reducer,
43190
43207
  [billingCustomSlice.reducerPath]: billingCustomSlice.reducer,
43208
+ [analyticsCustomSlice.reducerPath]: analyticsCustomSlice.reducer,
43191
43209
  };
43192
43210
  const mentorMiddleware = [
43193
43211
  mentorApiSlice.middleware,
@@ -43231,6 +43249,7 @@ const mentorMiddleware = [
43231
43249
  artifactsApiSlice.middleware,
43232
43250
  coreFakeCustomPublicImageAssetApiSlice.middleware,
43233
43251
  billingCustomSlice.middleware,
43252
+ analyticsCustomSlice.middleware,
43234
43253
  ];
43235
43254
 
43236
43255
  const skillsReducer = {
@@ -43264,6 +43283,7 @@ const skillsReducer = {
43264
43283
  [artifactsApiSlice.reducerPath]: artifactsApiSlice.reducer,
43265
43284
  [coreFakeCustomPublicImageAssetApiSlice.reducerPath]: coreFakeCustomPublicImageAssetApiSlice.reducer,
43266
43285
  [billingCustomSlice.reducerPath]: billingCustomSlice.reducer,
43286
+ [analyticsCustomSlice.reducerPath]: analyticsCustomSlice.reducer,
43267
43287
  };
43268
43288
  const skillsMiddleware = [
43269
43289
  perLearnerApiSlice.middleware,
@@ -43296,6 +43316,7 @@ const skillsMiddleware = [
43296
43316
  artifactsApiSlice.middleware,
43297
43317
  coreFakeCustomPublicImageAssetApiSlice.middleware,
43298
43318
  billingCustomSlice.middleware,
43319
+ analyticsCustomSlice.middleware,
43299
43320
  ];
43300
43321
 
43301
43322
  const initializeDataLayer = (dmUrl, lmsUrl, storageService, httpErrorHandler = {}) => {
@@ -43352,6 +43373,7 @@ exports.TENANT_LOGO_QUERY_KEYS = TENANT_LOGO_QUERY_KEYS;
43352
43373
  exports.TENANT_LOGO_REDUCER_PATH = TENANT_LOGO_REDUCER_PATH;
43353
43374
  exports.URL_PATTERNS = URL_PATTERNS;
43354
43375
  exports.analyticsApiSlice = analyticsApiSlice;
43376
+ exports.analyticsCustomSlice = analyticsCustomSlice;
43355
43377
  exports.apiKeysApiReducer = apiKeysApiReducer;
43356
43378
  exports.apiKeysApiSlice = apiKeysApiSlice;
43357
43379
  exports.appApiReducer = appApiReducer;
@@ -43537,6 +43559,7 @@ exports.useGetDatasetsQuery = useGetDatasetsQuery;
43537
43559
  exports.useGetDesiredSkillsQuery = useGetDesiredSkillsQuery;
43538
43560
  exports.useGetDetailedFinancialStatsQuery = useGetDetailedFinancialStatsQuery;
43539
43561
  exports.useGetDisclaimersQuery = useGetDisclaimersQuery;
43562
+ exports.useGetDownloadReportFromURLQuery = useGetDownloadReportFromURLQuery;
43540
43563
  exports.useGetEnrollmentCourseSearchQuery = useGetEnrollmentCourseSearchQuery;
43541
43564
  exports.useGetExamInfoQuery = useGetExamInfoQuery;
43542
43565
  exports.useGetExternalMappingQuery = useGetExternalMappingQuery;
@@ -43692,6 +43715,7 @@ exports.useLazyGetCustomMentorsQuery = useLazyGetCustomMentorsQuery;
43692
43715
  exports.useLazyGetDatasetsQuery = useLazyGetDatasetsQuery;
43693
43716
  exports.useLazyGetDesiredSkillsQuery = useLazyGetDesiredSkillsQuery;
43694
43717
  exports.useLazyGetDisclaimersQuery = useLazyGetDisclaimersQuery;
43718
+ exports.useLazyGetDownloadReportFromURLQuery = useLazyGetDownloadReportFromURLQuery;
43695
43719
  exports.useLazyGetEnrollmentCourseSearchQuery = useLazyGetEnrollmentCourseSearchQuery;
43696
43720
  exports.useLazyGetExamInfoQuery = useLazyGetExamInfoQuery;
43697
43721
  exports.useLazyGetExternalMappingQuery = useLazyGetExternalMappingQuery;