@iblai/data-layer 1.1.5 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +418 -6
- package/dist/index.esm.js +24 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +25 -1
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/src/features/analytics/api-slice.d.ts +267 -1
- package/dist/src/features/analytics/constants.d.ts +8 -0
- package/dist/src/features/analytics/types.d.ts +144 -0
- package/dist/src/features/projects/types.d.ts +2 -2
- package/dist/src/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -40996,6 +40996,14 @@ const NON_AI_ANALYTICS_ENDPOINTS = {
|
|
|
40996
40996
|
service: exports.SERVICES.DM,
|
|
40997
40997
|
path: (args) => `/api/analytics/conversations?platform_key=${args.platform_key}${args.mentor_unique_id ? `&mentor_unique_id=${args.mentor_unique_id}` : ''}&metric=${args.metric}${args.date_filter ? `&date_filter=${args.date_filter}` : ''}${args.start_date ? `&start_date=${args.start_date}` : ''}${args.end_date ? `&end_date=${args.end_date}` : ''}`,
|
|
40998
40998
|
},
|
|
40999
|
+
GET_CONTENT_ANALYTICS: {
|
|
41000
|
+
service: exports.SERVICES.DM,
|
|
41001
|
+
path: () => `/api/analytics/content/`,
|
|
41002
|
+
},
|
|
41003
|
+
GET_CONTENT_ANALYTICS_DETAILS: {
|
|
41004
|
+
service: exports.SERVICES.DM,
|
|
41005
|
+
path: (content_id) => `/api/analytics/content/details/${content_id}/`,
|
|
41006
|
+
},
|
|
40999
41007
|
};
|
|
41000
41008
|
const ANALYTICS_REDUCER_PATH = 'analyticsApiSlice';
|
|
41001
41009
|
|
|
@@ -41280,9 +41288,23 @@ const analyticsApiSlice = react.createApi({
|
|
|
41280
41288
|
service: NON_AI_ANALYTICS_ENDPOINTS.GET_TRANSCRIPTS_CONVERSATION_HEADLINE.service,
|
|
41281
41289
|
}),
|
|
41282
41290
|
}),
|
|
41291
|
+
getContentAnalytics: builder.query({
|
|
41292
|
+
query: (args) => ({
|
|
41293
|
+
url: NON_AI_ANALYTICS_ENDPOINTS.GET_CONTENT_ANALYTICS.path(),
|
|
41294
|
+
service: NON_AI_ANALYTICS_ENDPOINTS.GET_CONTENT_ANALYTICS.service,
|
|
41295
|
+
params: args,
|
|
41296
|
+
}),
|
|
41297
|
+
}),
|
|
41298
|
+
getContentAnalyticsDetails: builder.query({
|
|
41299
|
+
query: (args) => ({
|
|
41300
|
+
url: NON_AI_ANALYTICS_ENDPOINTS.GET_CONTENT_ANALYTICS_DETAILS.path(args.content_id),
|
|
41301
|
+
service: NON_AI_ANALYTICS_ENDPOINTS.GET_CONTENT_ANALYTICS_DETAILS.service,
|
|
41302
|
+
params: args,
|
|
41303
|
+
}),
|
|
41304
|
+
}),
|
|
41283
41305
|
}),
|
|
41284
41306
|
});
|
|
41285
|
-
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, } = analyticsApiSlice;
|
|
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;
|
|
41286
41308
|
|
|
41287
41309
|
const reportsApiSlice = react.createApi({
|
|
41288
41310
|
reducerPath: 'reportsApiSlice',
|
|
@@ -43502,6 +43524,8 @@ exports.useGetChatHistoryQuery = useGetChatHistoryQuery;
|
|
|
43502
43524
|
exports.useGetChatMessagesForSessionQuery = useGetChatMessagesForSessionQuery;
|
|
43503
43525
|
exports.useGetConnectedServiceAuthUrlQuery = useGetConnectedServiceAuthUrlQuery;
|
|
43504
43526
|
exports.useGetConnectedServicesQuery = useGetConnectedServicesQuery;
|
|
43527
|
+
exports.useGetContentAnalyticsDetailsQuery = useGetContentAnalyticsDetailsQuery;
|
|
43528
|
+
exports.useGetContentAnalyticsQuery = useGetContentAnalyticsQuery;
|
|
43505
43529
|
exports.useGetConversationMemoriesQuery = useGetConversationMemoriesQuery;
|
|
43506
43530
|
exports.useGetConversationQuery = useGetConversationQuery;
|
|
43507
43531
|
exports.useGetCredentialsListQuery = useGetCredentialsListQuery;
|