@iblai/data-layer 1.1.16 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +12 -11
- package/dist/index.esm.js +25 -20
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +25 -20
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/src/config.d.ts +1 -0
- package/dist/src/constants.d.ts +1 -0
- package/dist/src/utils/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -109,9 +109,9 @@ declare const useGetApiKeysQuery: <R extends Record<string, any> = _reduxjs_tool
|
|
|
109
109
|
isError: false;
|
|
110
110
|
}, "error">>)>> & {
|
|
111
111
|
status: _reduxjs_toolkit_query.QueryStatus;
|
|
112
|
-
}>(arg: {
|
|
112
|
+
}>(arg: typeof _reduxjs_toolkit_query.skipToken | {
|
|
113
113
|
platformKey: string;
|
|
114
|
-
}
|
|
114
|
+
}, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
115
115
|
skip?: boolean;
|
|
116
116
|
refetchOnMountOrArgChange?: boolean | number;
|
|
117
117
|
} & {
|
|
@@ -849,13 +849,13 @@ declare const useGetChatHistoryFilterQuery: <R extends Record<string, any> = _re
|
|
|
849
849
|
isError: false;
|
|
850
850
|
}, "error">>)>> & {
|
|
851
851
|
status: _reduxjs_toolkit_query.QueryStatus;
|
|
852
|
-
}>(arg:
|
|
852
|
+
}>(arg: {
|
|
853
853
|
org: string;
|
|
854
854
|
endDate?: string;
|
|
855
855
|
mentorId?: string;
|
|
856
856
|
monthlyRange?: boolean;
|
|
857
857
|
startDate?: string;
|
|
858
|
-
}, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
858
|
+
} | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
859
859
|
skip?: boolean;
|
|
860
860
|
refetchOnMountOrArgChange?: boolean | number;
|
|
861
861
|
} & {
|
|
@@ -1292,7 +1292,7 @@ declare const useGetChatHistoryQuery: <R extends Record<string, any> = _reduxjs_
|
|
|
1292
1292
|
isError: false;
|
|
1293
1293
|
}, "error">>)>> & {
|
|
1294
1294
|
status: _reduxjs_toolkit_query.QueryStatus;
|
|
1295
|
-
}>(arg:
|
|
1295
|
+
}>(arg: {
|
|
1296
1296
|
org: string;
|
|
1297
1297
|
endDate?: string;
|
|
1298
1298
|
filterUserId?: string;
|
|
@@ -1302,7 +1302,7 @@ declare const useGetChatHistoryQuery: <R extends Record<string, any> = _reduxjs_
|
|
|
1302
1302
|
sentiment?: string;
|
|
1303
1303
|
startDate?: string;
|
|
1304
1304
|
topics?: string;
|
|
1305
|
-
}, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
1305
|
+
} | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
1306
1306
|
skip?: boolean;
|
|
1307
1307
|
refetchOnMountOrArgChange?: boolean | number;
|
|
1308
1308
|
} & {
|
|
@@ -1951,11 +1951,11 @@ declare const useGetChatHistoryExportStatusQuery: <R extends Record<string, any>
|
|
|
1951
1951
|
isError: false;
|
|
1952
1952
|
}, "error">>)>> & {
|
|
1953
1953
|
status: _reduxjs_toolkit_query.QueryStatus;
|
|
1954
|
-
}>(arg:
|
|
1954
|
+
}>(arg: {
|
|
1955
1955
|
key: string;
|
|
1956
1956
|
reportName: string;
|
|
1957
1957
|
mentorUniqueId?: string;
|
|
1958
|
-
}, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
1958
|
+
} | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
1959
1959
|
skip?: boolean;
|
|
1960
1960
|
refetchOnMountOrArgChange?: boolean | number;
|
|
1961
1961
|
} & {
|
|
@@ -4256,6 +4256,7 @@ declare const TENANT_IDENTIFIERS: {
|
|
|
4256
4256
|
MAIN: string;
|
|
4257
4257
|
};
|
|
4258
4258
|
declare enum SERVICES {
|
|
4259
|
+
LEGACY_LMS = "LEGACY_LMS",
|
|
4259
4260
|
LMS = "LMS",
|
|
4260
4261
|
DM = "DM",
|
|
4261
4262
|
AXD = "AXD"
|
|
@@ -46650,11 +46651,11 @@ declare const useGetReportDetailQuery: <R extends Record<string, any> = _reduxjs
|
|
|
46650
46651
|
isError: false;
|
|
46651
46652
|
}, "error">>)>> & {
|
|
46652
46653
|
status: _reduxjs_toolkit_query.QueryStatus;
|
|
46653
|
-
}>(arg:
|
|
46654
|
+
}>(arg: {
|
|
46654
46655
|
key: string;
|
|
46655
46656
|
reportName: string;
|
|
46656
46657
|
mentorUniqueId?: string;
|
|
46657
|
-
}, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
46658
|
+
} | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
46658
46659
|
skip?: boolean;
|
|
46659
46660
|
refetchOnMountOrArgChange?: boolean | number;
|
|
46660
46661
|
} & {
|
|
@@ -85564,7 +85565,7 @@ declare const mentorMiddleware: any[];
|
|
|
85564
85565
|
declare const skillsReducer: Record<string, any>;
|
|
85565
85566
|
declare const skillsMiddleware: any[];
|
|
85566
85567
|
|
|
85567
|
-
declare const initializeDataLayer: (dmUrl: string, lmsUrl: string, storageService: StorageService$1, httpErrorHandler?: Record<number, () => void>) => void;
|
|
85568
|
+
declare const initializeDataLayer: (dmUrl: string, lmsUrl: string, legacyLmsUrl: string, storageService: StorageService$1, httpErrorHandler?: Record<number, () => void>) => void;
|
|
85568
85569
|
|
|
85569
85570
|
export { APP_IDENTIFIERS, 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, DISCLAIMERS_ENDPOINTS, DISCLAIMERS_QUERY_KEYS, DISCLAIMERS_REDUCER_PATH, EDX_PROCTORING_ENDPOINTS, IblDataLayer, LOGO_ENDPOINTS, MCP_ENDPOINTS, MCP_REDUCER_PATH, MCP_TAG_TYPES, MEMORY_ENDPOINTS, MEMORY_QUERY_KEYS, MEMORY_REDUCER_PATH, 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, PROJECTS_CUSTOM_ENDPOINTS, PROJECTS_CUSTOM_REDUCER_PATH, PROJECTS_QUERY_KEYS, QUERY_PARAMS, RETIREMENT_ENDPOINTS, SERVICES, STORAGE_KEYS, TENANT_IDENTIFIERS, TENANT_LOGO_ENDPOINTS, TENANT_LOGO_QUERY_KEYS, TENANT_LOGO_REDUCER_PATH, URL_PATTERNS, analyticsApiSlice, analyticsCustomSlice, apiKeysApiReducer, apiKeysApiSlice, appApiReducer, appApiSlice, artifactsApiReducer, artifactsApiSlice, authApiSlice, billingApiSlice, billingCustomSlice, careerApiSlice, catalogApiSlice, chatApiSlice, chatFilesApiSlice, chatHistoryApiSlice, coreApiSlice, coreCustomApiSlice, coreFakeCustomPublicImageAssetApiSlice, credentialsApiSlice, credentialsCustomApiSlice, customAiSearchApiSlice, customDomainApiSlice, datasetsApiSlice, disclaimersApiSlice, edxProctoringApiSlice, fakeBaseQueryWithLogging, featureTags, iblFakeBaseQuery, initializeDataLayer, isPoliciesResponse, llmsApiSlice, mcpApiSlice, memoryApiSlice, mentorApiReducer, mentorApiSlice, mentorCategoriesApiSlice, mentorCustomApiSlice, mentorMiddleware, mentorReducer, moderationLogsApiReducer, moderationLogsApiSlice, notificationsApiSlice, notificationsCustomApiSlice, perLearnerApiSlice, platformApiReducer, platformApiSlice, platformCustomApiSlice, projectsApiSlice, promptsApiSlice, recommendationPromptTypeEnum, reportsApiSlice, retirementApiSlice, searchApiSlice, sessionApiSlice, skillsApiSlice, skillsMiddleware, skillsReducer, stripeApiSlice, tenantApiReducer, tenantApiSlice, tenantLogoApiSlice, toolsApiSlice, trainingDocumentsApiSlice, useAddPinnedMessageMutation, useAddTrainingDocumentMutation, useAgreeToDisclaimerMutation, useAudioToTextMutation, useConnectedServicesCallbackQuery, useCreateAdminProjectMutation, useCreateApiKeyMutation, useCreateCallCredentialsMutation, useCreateCatalogInvitationBulkMutation, useCreateCatalogInvitationCourseBulkMutation, useCreateCatalogInvitationCourseMutation, useCreateCatalogInvitationProgramBulkMutation, useCreateCatalogInvitationProgramMutation, useCreateCatalogPathwayEnrollmentMutation, useCreateCatalogPathwayMutation, useCreateCatalogPathwaySelfEnrollmentMutation, useCreateCatalogProgramMutation, useCreateCatalogProgramSelfEnrollmentMutation, useCreateCatalogRoleMutation, useCreateCredentialAssertionMutation, useCreateCredentialMutation, useCreateCustomDomainMutation, useCreateDisclaimerMutation, useCreateExternalMappingMutation, useCreateIntegrationCredentialMutation, useCreateLLMCredentialMutation, useCreateMCPServerConnectionMutation, useCreateMCPServerMutation, useCreateMemoryMutation, useCreateMentorMutation, useCreateNotificationPreviewMutation, useCreateOrUpdateUserDesiredSkillMutation, useCreateOrUpdateUserReportedSkillMutation, useCreatePlatformImageAssetMutation, useCreatePlatformUserGroupMutation, useCreatePromptMutation, useCreateProviderConfigMutation, useCreateRbacGroupMutation, useCreateRbacPolicyMutation, useCreateRbacRoleMutation, useCreateRbacTeamsAccessMutation, useCreateRecommendedPromptMutation, useCreateRedirectTokenMutation, useCreateReportMutation, useCreateSessionIdMutation, useCreateShareableLinkMutation, useCreateStripeCheckoutSessionMutation, useCreateStripeCustomerPortalMutation, useCreateTrainingDocumentRetrainScheduleMutation, useCreateUserCompanyMutation, useCreateUserEducationMutation, useCreateUserExperienceMutation, useCreateUserInstitutionMutation, useCreateUserInvitationMutation, useCreateUserProjectMutation, useCreateUserResumeMutation, useDeleteAdminProjectMutation, useDeleteApiKeyMutation, useDeleteCourseCredentialMutation, useDeleteCredentialMutation, useDeleteCustomDomainMutation, useDeleteDisclaimerMutation, useDeleteExternalMappingMutation, useDeleteIntegrationCredentialMutation, useDeleteMCPServerMutation, useDeleteMemoryByCategoryMutation, useDeleteMemoryMutation, useDeleteMentorMutation, useDeleteMessageMutation, useDeleteModerationLogMutation, useDeletePlatformConfigurationMutation, useDeletePlatformImageAssetMutation, useDeletePlatformUserGroupMutation, useDeletePromptMutation, useDeleteProviderConfigMutation, useDeleteRbacGroupMutation, useDeleteRbacPolicyMutation, useDeleteRbacRoleMutation, useDeleteRecommendedPromptMutation, useDeleteTrainingDocumentMutation, useDeleteUserEducationMutation, useDeleteUserExperienceMutation, useDeleteUserProjectMutation, useDisconnectServiceMutation, useEditMentorAndRefreshListMutation, useEditMentorJsonMutation, useEditMentorMutation, useEditSessionMutation, useEditTrainingDocumentMutation, useExchangeAppleTokenMutation, useExportChatHistoryMutation, useForkMentorMutation, useGetAccessTimeHeatmapQuery, useGetAccountBillingInfoQuery, useGetAdminProjectDetailsQuery, useGetAdminProjectsQuery, useGetAiSearchMentorsQuery, useGetApiKeysQuery, useGetAppTokensMutation, useGetArtifactQuery, useGetArtifactVersionQuery, useGetAverageMessagesPerSessionQuery, useGetAverageRatingQuery, useGetCatalogInvitationsCourseQuery, useGetCatalogInvitationsProgramQuery, useGetCatalogSearchQuery, useGetChatHistoryExportStatusQuery, useGetChatHistoryFilterQuery, useGetChatHistoryQuery, useGetChatMessagesForSessionQuery, useGetConnectedServiceAuthUrlQuery, useGetConnectedServicesQuery, useGetContentAnalyticsDetailsQuery, useGetContentAnalyticsQuery, useGetConversationMemoriesQuery, useGetConversationQuery, useGetCredentialsListQuery, useGetCredentialsQuery, useGetCredentialsSchemaQuery, useGetCustomDomainsQuery, useGetCustomMentorsQuery, useGetDatasetsQuery, useGetDesiredSkillsQuery, useGetDetailedFinancialStatsQuery, useGetDisclaimersQuery, useGetDownloadReportFromURLQuery, useGetEnrollmentCourseSearchQuery, useGetExamInfoQuery, useGetExternalMappingQuery, useGetFileUploadUrlMutation, useGetFilteredMemoriesQuery, useGetFinancialStatsQuery, useGetFreeUsageCountQuery, useGetGuidedPromptsQuery, useGetIntegrationCredentialsQuery, useGetIntegrationCredentialsSchemaQuery, useGetIssuersQuery, useGetLLMCredentialsQuery, useGetLlmsQuery, useGetMCPServerConnectionsQuery, useGetMCPServerQuery, useGetMCPServersQuery, useGetMaskedIntegrationCredentialsQuery, useGetMaskedLLMCredentialsQuery, useGetMemoriesQuery, useGetMemoryCategoriesQuery, useGetMemoryFiltersQuery, useGetMentorCategoriesQuery, useGetMentorCategoryGroupsQuery, useGetMentorDetailsQuery, useGetMentorPublicSettingsQuery, useGetMentorSettingsQuery, useGetMentorSummariesQuery, useGetMentorUserSettingsQuery, useGetMentorsQuery, useGetMfeContextQuery, useGetModerationLogsQuery, useGetMostDiscussedTopicsQuery, useGetNotificationContextQuery, useGetNotificationsCountQuery, useGetNotificationsQuery, useGetOAuthServicesQuery, useGetOverTimeActivityQuery, useGetOverviewSummaryQuery, useGetPathwayCompletionQuery, useGetPathwayListQuery, useGetPerLearnerActivityQuery, useGetPerLearnerInfoQuery, useGetPersonnalizedMentorsQuery, useGetPersonnalizedSearchQuery, useGetPinnedMessagesQuery, useGetPlatformConfigurationsQuery, useGetPlatformImageAssetDetailsQuery, useGetPlatformImageAssetsListQuery, useGetPlatformInfoQuery, useGetPlatformMembershipQuery, useGetPlatformUserGroupDetailsQuery, useGetProgramCompletionQuery, useGetProgramListQuery, useGetPromptCategoriesQuery, useGetPromptsQuery, useGetPromptsSearchQuery, useGetProviderConfigQuery, useGetPublicMentorsQuery, useGetPublicPlatformImageAssetFileUrlQuery, useGetRbacGroupDetailsQuery, useGetRbacGroupsQuery, useGetRbacMentorAccessListQuery, useGetRbacPermissionsMutation, useGetRbacPoliciesQuery, useGetRbacPolicyDetailsQuery, useGetRbacRoleDetailsQuery, useGetRbacRolesQuery, useGetRbacTeamsAccessListQuery, useGetRecentMessageQuery, useGetRecentlyAccessedMentorsQuery, useGetRecommendationsAiSearchQuery, useGetRecommendedPromptsListQuery, useGetRegisteredUsersTrendQuery, useGetReportDetailQuery, useGetReportedSkillsQuery, useGetReportsQuery, useGetResourceSearchQuery, useGetSessionIdQuery, useGetSessionStatsQuery, useGetShareableLinkPublicQuery, useGetShareableLinkQuery, useGetSharedSessionIdQuery, useGetSkillsPointsPercentileQuery, useGetStripeContextQuery, useGetStripePricingPageSessionQuery, useGetStudentMentorCreationStatusQuery, useGetTemplateDetailsQuery, useGetTemplatesQuery, useGetTenantMetadataQuery, useGetToolsQuery, useGetTopStudentsByChatMessagesQuery, useGetTopicOverviewQuery, useGetTopicStatisticsQuery, useGetTopicsDetailsStatsQuery, useGetTopicsStatsQuery, useGetTopicsSummaryQuery, useGetTrainingDocumentRetrainScheduleQuery, useGetTrainingDocumentsQuery, useGetTranscriptsConversationHeadlineQuery, useGetTranscriptsMessagesDetailsQuery, useGetTranscriptsMessagesQuery, useGetUserAppsQuery, useGetUserAssignedPathwaysQuery, useGetUserCohortsOverTimeQuery, useGetUserCompaniesQuery, useGetUserCredentialsQuery, useGetUserDesiredSkillsQuery, useGetUserDetailsStatsQuery, useGetUserEarnedSkillsQuery, useGetUserEducationQuery, useGetUserEnrolledPathwaysQuery, useGetUserEnrolledProgramsQuery, useGetUserExperienceQuery, useGetUserInstitutionsQuery, useGetUserInvitationsQuery, useGetUserMetadataEdxQuery, useGetUserMetadataQuery, useGetUserMetricsPieChartQuery, useGetUserMetricsQuery, useGetUserProjectDetailsQuery, useGetUserProjectsQuery, useGetUserReportedSkillsQuery, useGetUserResumeQuery, useGetUserSkillsPointsQuery, useGetUserTenantsQuery, useGetUsersAsAssertionsQuery, useGetUsersStatsQuery, useGetVectorDocumentsQuery, useInviteUserMutation, useJoinTenantMutation, useLazyConnectedServicesCallbackQuery, useLazyGetAccountBillingInfoQuery, useLazyGetAdminProjectDetailsQuery, useLazyGetAdminProjectsQuery, useLazyGetApiKeysQuery, useLazyGetArtifactQuery, useLazyGetArtifactVersionQuery, useLazyGetCatalogInvitationsCourseQuery, useLazyGetCatalogInvitationsProgramQuery, useLazyGetCatalogSearchQuery, useLazyGetChatHistoryExportStatusQuery, useLazyGetChatHistoryFilterQuery, useLazyGetChatHistoryQuery, useLazyGetChatMessagesForSessionQuery, useLazyGetConnectedServiceAuthUrlQuery, useLazyGetConnectedServicesQuery, useLazyGetConversationMemoriesQuery, useLazyGetCredentialsListQuery, useLazyGetCredentialsQuery, useLazyGetCredentialsSchemaQuery, useLazyGetCustomDomainsQuery, useLazyGetCustomMentorsQuery, useLazyGetDatasetsQuery, useLazyGetDesiredSkillsQuery, useLazyGetDisclaimersQuery, useLazyGetDownloadReportFromURLQuery, useLazyGetEnrollmentCourseSearchQuery, useLazyGetExamInfoQuery, useLazyGetExternalMappingQuery, useLazyGetFilteredMemoriesQuery, useLazyGetFreeUsageCountQuery, useLazyGetGuidedPromptsQuery, useLazyGetIntegrationCredentialsQuery, useLazyGetIntegrationCredentialsSchemaQuery, useLazyGetIssuersQuery, useLazyGetLLMCredentialsQuery, useLazyGetLlmsQuery, useLazyGetMCPServerQuery, useLazyGetMCPServersQuery, useLazyGetMemoriesQuery, useLazyGetMemoryCategoriesQuery, useLazyGetMemoryFiltersQuery, useLazyGetMentorCategoriesQuery, useLazyGetMentorCategoryGroupsQuery, useLazyGetMentorDetailsQuery, useLazyGetMentorPublicSettingsQuery, useLazyGetMentorSettingsQuery, useLazyGetMentorSummariesQuery, useLazyGetMentorUserSettingsQuery, useLazyGetMentorsQuery, useLazyGetModerationLogsQuery, useLazyGetNotificationContextQuery, useLazyGetNotificationsCountQuery, useLazyGetNotificationsQuery, useLazyGetOAuthServicesQuery, useLazyGetOverTimeActivityQuery, useLazyGetPathwayCompletionQuery, useLazyGetPathwayListQuery, useLazyGetPerLearnerActivityQuery, useLazyGetPerLearnerInfoQuery, useLazyGetPersonnalizedMentorsQuery, useLazyGetPersonnalizedSearchQuery, useLazyGetPinnedMessagesQuery, useLazyGetPlatformInfoQuery, useLazyGetPlatformMembershipQuery, useLazyGetProgramCompletionQuery, useLazyGetProgramListQuery, useLazyGetPromptCategoriesQuery, useLazyGetPromptsQuery, useLazyGetPromptsSearchQuery, useLazyGetProviderConfigQuery, useLazyGetPublicMentorsQuery, useLazyGetPublicPlatformImageAssetFileUrlQuery, useLazyGetRbacRolesQuery, useLazyGetRbacTeamsAccessListQuery, useLazyGetRecentMessageQuery, useLazyGetRecentlyAccessedMentorsQuery, useLazyGetRecommendationsAiSearchQuery, useLazyGetRecommendedPromptsListQuery, useLazyGetReportDetailQuery, useLazyGetReportedSkillsQuery, useLazyGetReportsQuery, useLazyGetResourceSearchQuery, useLazyGetSessionIdQuery, useLazyGetShareableLinkPublicQuery, useLazyGetShareableLinkQuery, useLazyGetSharedSessionIdQuery, useLazyGetSkillsPointsPercentileQuery, useLazyGetStripeContextQuery, useLazyGetStripePricingPageSessionQuery, useLazyGetTemplateDetailsQuery, useLazyGetTemplatesQuery, useLazyGetTenantMetadataQuery, useLazyGetToolsQuery, useLazyGetTrainingDocumentRetrainScheduleQuery, useLazyGetTrainingDocumentsQuery, useLazyGetUserAppsQuery, useLazyGetUserAssignedPathwaysQuery, useLazyGetUserCompaniesQuery, useLazyGetUserCredentialsQuery, useLazyGetUserDesiredSkillsQuery, useLazyGetUserEarnedSkillsQuery, useLazyGetUserEducationQuery, useLazyGetUserEnrolledPathwaysQuery, useLazyGetUserEnrolledProgramsQuery, useLazyGetUserExperienceQuery, useLazyGetUserInstitutionsQuery, useLazyGetUserInvitationsQuery, useLazyGetUserMetadataEdxQuery, useLazyGetUserMetadataQuery, useLazyGetUserProjectDetailsQuery, useLazyGetUserProjectsQuery, useLazyGetUserReportedSkillsQuery, useLazyGetUserResumeQuery, useLazyGetUserSkillsPointsQuery, useLazyGetUserTenantsQuery, useLazyGetUsersAsAssertionsQuery, useLazyGetVectorDocumentsQuery, useLazyListArtifactVersionsQuery, useLazyListArtifactsQuery, useLazyPlatformUserGroupsQuery, useLazyPlatformUsersQuery, useLazyRefreshJwtTokenQuery, useLazySeedMentorsQuery, useLazyStarredMentorsQuery, useLazyStartOAuthFlowQuery, useListArtifactVersionsQuery, useListArtifactsQuery, useMarkAllAsReadMutation, useOauthFindMutation, usePartialUpdateMCPServerMutation, usePartialUpdateRbacRoleMutation, usePatchMCPServerConnectionMutation, usePlatformInvitationsQuery, usePlatformUserGroupsQuery, usePlatformUsersQuery, useRemoveProfileImageMutation, useRenewSubscriptionMutation, useResetPasswordMutation, useRevokeShareableLinkMutation, useSeedMentorsQuery, useSelfRetireMutation, useSendNotificationMutation, useSetCurrentVersionMutation, useSetPlatformConfigurationsMutation, useSetStudentMentorCreationStatusMutation, useStarMentorMutation, useStarredMentorsQuery, useStartExamMutation, useTimeTrackingMutation, useToggleTemplateMutation, useTriggerAutoRechargeMutation, useUnPinMessageMutation, useUnstarMentorMutation, useUpdateAdminProjectMutation, useUpdateArtifactMutation, useUpdateAutoRechargeInfoMutation, useUpdateChatSessionMutation, useUpdateChatSessionSharedMutation, useUpdateCredentialMutation, useUpdateDisclaimerMutation, useUpdateExamAttemptMutation, useUpdateIntegrationCredentialMutation, useUpdateMCPServerMutation, useUpdateMemoryEntryMutation, useUpdateMentorUserSettingsMutation, useUpdateMessageFeedbackMutation, useUpdatePlatformImageAssetMutation, useUpdatePlatformInfoMutation, useUpdatePlatformMembershipMutation, useUpdatePlatformUserGroupMutation, useUpdatePlatformUserRoleWithPoliciesMutation, useUpdatePromptMutation, useUpdateRbacGroupMutation, useUpdateRbacMentorAccessMutation, useUpdateRbacPolicyMutation, useUpdateRbacRoleMutation, useUpdateRecommendedPromptMutation, useUpdateShareableLinkMutation, useUpdateTemplateMutation, useUpdateTenantMetadataMutation, useUpdateUserAccountMutation, useUpdateUserEducationMutation, useUpdateUserExperienceMutation, useUpdateUserMetadataEdxMutation, useUpdateUserMetadataMutation, useUpdateUserOnboardingStatusMutation, useUpdateUserProjectMutation, useUpdateUserRoleMutation, useUpdateUserStatusMutation, useUpdateUserTrialStatusMutation, useUploadCredentialImageMutation, useUploadDarkLogoMutation, useUploadLightLogoMutation, useUploadProfileImageMutation, useUsersGradesPassedQuery, userApiSlice, userInvitationsApiSlice };
|
|
85570
85571
|
export type { AccessTimeHeatmapArgs, AccessTimeHeatmapResponse, ActiveAttempt, AggregationType, AgreeToDisclaimerArgs, AgreeToDisclaimerRequest, AnalyticsBaseParams, AnalyticsDateParams, AnalyticsPaginationParams, AppleTokenRequest, ArtifactListParams, ArtifactListResponse, ArtifactVersion, ArtifactWithVersionInfo, AverageMessagesPerSessionResponse, ConnectedService, ConnectedServicesParams, ContentAnalyticsArgs, ContentAnalyticsAverages, ContentAnalyticsContentInfo, ContentAnalyticsDetailsArgs, ContentAnalyticsDetailsResponse, ContentAnalyticsDetailsSummary, ContentAnalyticsItem, ContentAnalyticsLearner, ContentAnalyticsPagination, ContentAnalyticsResponse, ContentAnalyticsSummary, ContentAnalyticsTotals, ConversationMemoryEntry, ConversationMemoryResponse, ConversationSummaryResponse, CourseEdxData, CreateCustomDomainPayload, CreateCustomDomainRequest, CreateDisclaimerArgs, CreateDisclaimerRequest, CreateMCPServerArgs, CreateMCPServerConnectionParams, CreateMemoryArgs, CreateMemoryRequest, CreateProjectArgs, CreateProjectData, CreateRecommendedPromptArgs, CredentialsResponse, CredentialsSchema, CustomDomain, CustomDomainImage, CustomDomainListResponse, CustomDomainResponse, CustomQueryArgs, CustomRbacGroupDetailsResponse, CustomRbacMentorAccessList, CustomRbacMentorAccessListPolicy, CustomRbacPolicyDetailsResponse, CustomRbacRoleDetailsResponse, DateFilter, DeleteDisclaimerArgs, DeleteMemoryArgs, DeleteMemoryByCategoryArgs, DeleteProjectArgs, DeleteRecommendedPromptArgs, DetailedFinancialStatsArgs, DetailedFinancialStatsMetric, DetailedFinancialStatsResponse, Disclaimer, DisclaimerAgreement, DisclaimersFetchResponse, DisconnectServiceParams, EditMentorJsonArgs, Exam, ExamAttemptArgs, ExamAttemptResponse, ExamInfo, ExamInfoQueryParams, ExamStartArgs, ExamStartResponse, FileUploadURLRequest, FileUploadURLResponse, FinancialStatsArgs, FinancialStatsFilters, FinancialStatsPeriodInfo, FinancialStatsResponse, GetAiSearchMentorsArgs, GetConversationMemoriesArgs, GetCustomDomainsArgs, GetDisclaimersArgs, GetDisclaimersParams, GetFilteredMemoriesArgs, GetFilteredMemoriesParams, GetMCPServerConnectionsParams, GetMCPServersParams, GetMemoriesArgs, GetMemoriesParams, GetMemoryCategoriesArgs, GetMemoryFiltersArgs, GetMentorSummariesArgs, GetMentorUserSettingsArgs, GetMentorsArgs, GetMentorsParams, GetProjectDetailsArgs, GetProjectsArgs, GetProjectsParams, GetRecommendationsAiSearchArgs, GetRecommendationsAiSearchResponse, GetRecommendedPromptsListArgs, GetUserMetadataArgs, Instructor, InstructorInfo, InviteUserRequest, InviteUserResponse, InvitedUserRequest, InvitedUserResponse, IssuersResponse, JwtTokenResponse, LLMServiceInfo, MCPBaseParams, MCPServer, MCPServerConnection, MCPServerObjectPermissions, MCPServerParams, MCPServerPermissions, MCPServerRequestBody, MaskLLM, MemoriesFetchResponse, Memory, MemoryCategoriesResponse, MemoryEntry, MemoryFiltersResponse, Mentor$1 as Mentor, MentorSummariesResponse, MentorUserSettings, MentorsFetchResponse, MfeContextResponse, NotificationChannelDetail, NotificationSpaDetail, NotificationTemplate, NotificationTemplateDetail, NotificationTemplatePeriodicConfig, NotificationTemplatePeriodicMentor, NotificationTemplatePeriodicSettings, OAuthFindParams, OAuthFindResponse, OAuthServiceData, OAuthServiceParams, OutlineNode, OverviewSummaryResponse, PaginatedMCPServerConnectionList, PaginatedMCPServerList, PartialUpdateMCPServerArgs, PatchMCPServerConnectionParams, PlatformConfigurationItem, PlatformConfigurationListResponse, PlatformConfigurationSetArgs, PlatformImageAsset, PlatformImageAssetPostRequest, PlatformImageAssetUpdateRequest, PlatformMembershipConfigPostRequest, PlatformMembershipConfigResponse, PlatformUserDetails, PlatformUserGroupDetailsResponse, PlatformUserGroupUser, PlatformUserPolicyUpdateRequest, PlatformUserWithPolicies, PlatformUsersListResponse, PlatformUsersListWithPoliciesResponse, ProfileImage, Project, ProjectsFetchResponse, Provider, RbacPolicyDetailsRequest, RbacPolicyDetailsResponse, RecommendationItem, RecommendationSystemUserContext, RecommendedPromptDetailResponse, RemoveProfileImageResponse, SelfRetireResponse, SessionStatsArgs, SessionStatsResponse, SetCurrentVersionRequest, StartOAuthFlowParams, StartOAuthFlowResponse, StorageService, StripeCheckoutSessionArgs, StripeContextResponse, TimeTrackingRequest, TimeTrackingResponse, TokenResponse, TopStudentsResponse, TopicOverviewResponse, TopicStatisticsResponse, TopicsDetailsStatsArgs, TopicsDetailsStatsResponse, TopicsStatsArgs, TopicsStatsResponse, TopicsSummaryResponse, TranscriptsConversationHeadlineArgs, TranscriptsConversationHeadlineResponse, TranscriptsMessagesArgs, TranscriptsMessagesDetailsArgs, TranscriptsMessagesDetailsResponse, TranscriptsMessagesResponse, UpdateDisclaimerArgs, UpdateDisclaimerRequest, UpdateMCPServerArgs, UpdateMemoryEntryArgs, UpdateMentorUserSettingsArgs, UpdateProjectArgs, UpdateProjectData, UpdateRecommendedPromptArgs, UpdateUserAccountRequest, UpdateUserRoleRequest, UploadProfileImageResponse, UserCohortsOverTimeResponse, UserDetailsStatsArgs, UserDetailsStatsResponse, UserMetricsPieChartResponse, UserMetricsResponse, UserProfile, UsersStatsArgs, UsersStatsResponse };
|
package/dist/index.esm.js
CHANGED
|
@@ -39015,15 +39015,15 @@ class SkillsService {
|
|
|
39015
39015
|
}
|
|
39016
39016
|
|
|
39017
39017
|
const STORAGE_KEYS = {
|
|
39018
|
-
CURRENT_TENANT:
|
|
39019
|
-
TENANT:
|
|
39020
|
-
TENANTS:
|
|
39021
|
-
REDIRECT_TO:
|
|
39022
|
-
TOKEN_EXPIRY:
|
|
39023
|
-
EDX_TOKEN_KEY:
|
|
39024
|
-
DM_TOKEN_KEY:
|
|
39025
|
-
AXD_TOKEN_KEY:
|
|
39026
|
-
USER_DATA:
|
|
39018
|
+
CURRENT_TENANT: 'current_tenant',
|
|
39019
|
+
TENANT: 'tenant',
|
|
39020
|
+
TENANTS: 'tenants',
|
|
39021
|
+
REDIRECT_TO: 'redirect-to',
|
|
39022
|
+
TOKEN_EXPIRY: 'dm_token_expires',
|
|
39023
|
+
EDX_TOKEN_KEY: 'edx_jwt_token',
|
|
39024
|
+
DM_TOKEN_KEY: 'dm_token',
|
|
39025
|
+
AXD_TOKEN_KEY: 'axd_token',
|
|
39026
|
+
USER_DATA: 'userData',
|
|
39027
39027
|
};
|
|
39028
39028
|
// URL patterns
|
|
39029
39029
|
const URL_PATTERNS = {
|
|
@@ -39031,20 +39031,21 @@ const URL_PATTERNS = {
|
|
|
39031
39031
|
};
|
|
39032
39032
|
// App identifiers
|
|
39033
39033
|
const APP_IDENTIFIERS = {
|
|
39034
|
-
APP_NAME:
|
|
39034
|
+
APP_NAME: 'mentor',
|
|
39035
39035
|
};
|
|
39036
39036
|
// Query parameters
|
|
39037
39037
|
const QUERY_PARAMS = {
|
|
39038
|
-
APP:
|
|
39039
|
-
REDIRECT_TO:
|
|
39040
|
-
TENANT:
|
|
39038
|
+
APP: 'app',
|
|
39039
|
+
REDIRECT_TO: 'redirect-to',
|
|
39040
|
+
TENANT: 'tenant',
|
|
39041
39041
|
};
|
|
39042
39042
|
// Tenant identifiers
|
|
39043
39043
|
const TENANT_IDENTIFIERS = {
|
|
39044
|
-
MAIN:
|
|
39044
|
+
MAIN: 'main',
|
|
39045
39045
|
};
|
|
39046
39046
|
var SERVICES;
|
|
39047
39047
|
(function (SERVICES) {
|
|
39048
|
+
SERVICES["LEGACY_LMS"] = "LEGACY_LMS";
|
|
39048
39049
|
SERVICES["LMS"] = "LMS";
|
|
39049
39050
|
SERVICES["DM"] = "DM";
|
|
39050
39051
|
SERVICES["AXD"] = "AXD";
|
|
@@ -39052,10 +39053,11 @@ var SERVICES;
|
|
|
39052
39053
|
|
|
39053
39054
|
class Config {
|
|
39054
39055
|
}
|
|
39055
|
-
Config.
|
|
39056
|
-
Config.
|
|
39057
|
-
Config.
|
|
39058
|
-
Config.
|
|
39056
|
+
Config.legacyLmsUrl = 'https://learn.iblai.app';
|
|
39057
|
+
Config.lmsUrl = 'https://learn.iblai.app';
|
|
39058
|
+
Config.dmUrl = 'https://base.manager.iblai.app';
|
|
39059
|
+
Config.axdUrl = 'https://base.manager.iblai.app';
|
|
39060
|
+
Config.mentorIframeUrl = 'https://mentor.iblai.tech';
|
|
39059
39061
|
Config.httpErrorHandlers = {};
|
|
39060
39062
|
|
|
39061
39063
|
class IblDataLayer {
|
|
@@ -39116,6 +39118,8 @@ const iblFakeBaseQuery = retry(fakeBaseQueryWithLogging, {
|
|
|
39116
39118
|
*/
|
|
39117
39119
|
const getServiceUrl = (service) => {
|
|
39118
39120
|
switch (service) {
|
|
39121
|
+
case SERVICES.LEGACY_LMS:
|
|
39122
|
+
return Config.legacyLmsUrl;
|
|
39119
39123
|
case SERVICES.LMS:
|
|
39120
39124
|
return Config.lmsUrl;
|
|
39121
39125
|
case SERVICES.DM:
|
|
@@ -39836,7 +39840,7 @@ const AUTH_ENDPOINTS = {
|
|
|
39836
39840
|
path: () => '/api/ibl/manager/consolidated-token/proxy/',
|
|
39837
39841
|
},
|
|
39838
39842
|
REFRESH_JWT_TOKEN: {
|
|
39839
|
-
service: SERVICES.
|
|
39843
|
+
service: SERVICES.LEGACY_LMS,
|
|
39840
39844
|
path: () => '/ibl-auth/request-jwt/',
|
|
39841
39845
|
},
|
|
39842
39846
|
};
|
|
@@ -43356,10 +43360,11 @@ const skillsMiddleware = [
|
|
|
43356
43360
|
retirementApiSlice.middleware,
|
|
43357
43361
|
];
|
|
43358
43362
|
|
|
43359
|
-
const initializeDataLayer = (dmUrl, lmsUrl, storageService, httpErrorHandler = {}) => {
|
|
43363
|
+
const initializeDataLayer = (dmUrl, lmsUrl, legacyLmsUrl, storageService, httpErrorHandler = {}) => {
|
|
43360
43364
|
IblDataLayer.storage = storageService;
|
|
43361
43365
|
Config.dmUrl = dmUrl;
|
|
43362
43366
|
Config.lmsUrl = lmsUrl;
|
|
43367
|
+
Config.legacyLmsUrl = legacyLmsUrl;
|
|
43363
43368
|
Config.httpErrorHandlers = httpErrorHandler;
|
|
43364
43369
|
};
|
|
43365
43370
|
|