@iblai/iblai-api 3.58.0-core → 3.59.0-ai
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.cjs.js +27088 -11660
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +27078 -11642
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +27088 -11660
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +296 -28
- package/dist/types/models/AIGeneratedImage.d.ts +13 -0
- package/dist/types/models/AIUserProfileMemoryRelation.d.ts +4 -0
- package/dist/types/models/AIUserProfileRequest.d.ts +4 -0
- package/dist/types/models/APITokenCost.d.ts +14 -0
- package/dist/types/models/AccessEnum.d.ts +8 -0
- package/dist/types/models/AlignMentorBubbleEnum.d.ts +8 -0
- package/dist/types/models/AnalyticsOverview.d.ts +7 -0
- package/dist/types/models/Answer.d.ts +11 -0
- package/dist/types/models/AssumedKnowledge.d.ts +4 -0
- package/dist/types/models/AssumedKnowledgeLevel.d.ts +4 -0
- package/dist/types/models/AudioToTextRequest.d.ts +3 -0
- package/dist/types/models/AudioToTextResponse.d.ts +3 -0
- package/dist/types/models/CallAuthenticationRequest.d.ts +13 -0
- package/dist/types/models/CallAuthenticationResponse.d.ts +21 -0
- package/dist/types/models/CallConfiguration.d.ts +26 -0
- package/dist/types/models/CallConfigurationModeEnum.d.ts +8 -0
- package/dist/types/models/ChatHistory.d.ts +8 -0
- package/dist/types/models/ChatHistoryFilterData.d.ts +9 -0
- package/dist/types/models/ChatHistoryFilterUser.d.ts +5 -0
- package/dist/types/models/ChatHistoryItem.d.ts +5 -0
- package/dist/types/models/ChatHistorySessionId.d.ts +3 -0
- package/dist/types/models/ChatSessionRequest.d.ts +10 -0
- package/dist/types/models/ChatSessionResponse.d.ts +5 -0
- package/dist/types/models/CheckDocumentTrainingStatus.d.ts +10 -0
- package/dist/types/models/ComponentBlock.d.ts +9 -0
- package/dist/types/models/ComponentBlockTypeEnum.d.ts +8 -0
- package/dist/types/models/ConversationMessage.d.ts +11 -0
- package/dist/types/models/ConversationRating.d.ts +6 -0
- package/dist/types/models/ConversationSummary.d.ts +5 -0
- package/dist/types/models/ConversationVolume.d.ts +4 -0
- package/dist/types/models/Conversations.d.ts +28 -0
- package/dist/types/models/Cost.d.ts +3 -0
- package/dist/types/models/CostPerTenant.d.ts +6 -0
- package/dist/types/models/CourseCreationTask.d.ts +31 -0
- package/dist/types/models/CourseCreationTaskFile.d.ts +7 -0
- package/dist/types/models/CourseCreationTaskStatusEnum.d.ts +16 -0
- package/dist/types/models/CredentialRequest.d.ts +14 -0
- package/dist/types/models/CrontabSchedule.d.ts +22 -0
- package/dist/types/models/CustomInstructionResponse.d.ts +13 -0
- package/dist/types/models/DateRange.d.ts +4 -0
- package/dist/types/models/Document.d.ts +41 -0
- package/dist/types/models/DocumentFacet.d.ts +17 -0
- package/dist/types/models/DocumentSearchResponse.d.ts +35 -0
- package/dist/types/models/DocumentSettingsResponse.d.ts +3 -0
- package/dist/types/models/EdxCourse.d.ts +11 -0
- package/dist/types/models/ElevenlabsCustomVoice.d.ts +4 -0
- package/dist/types/models/ElevenlabsCustomVoiceResponse.d.ts +8 -0
- package/dist/types/models/EmailPromptDetail.d.ts +13 -0
- package/dist/types/models/EmailPromptList.d.ts +11 -0
- package/dist/types/models/EmailPromptSummary.d.ts +5 -0
- package/dist/types/models/FreeUsageCount.d.ts +3 -0
- package/dist/types/models/FullCourse.d.ts +13 -0
- package/dist/types/models/GreetingMethodEnum.d.ts +8 -0
- package/dist/types/models/GuidedPromptsResponse.d.ts +3 -0
- package/dist/types/models/HeygenMarketingVideoDetail.d.ts +8 -0
- package/dist/types/models/HeygenMarketingVideoList.d.ts +6 -0
- package/dist/types/models/HeygenTemplateRequest.d.ts +5 -0
- package/dist/types/models/HeygenTemplateResponseSingle.d.ts +6 -0
- package/dist/types/models/HeygenVideoDetail.d.ts +8 -0
- package/dist/types/models/HeygenVideoRequest.d.ts +5 -0
- package/dist/types/models/IBLAIPlatformMeta.d.ts +3 -0
- package/dist/types/models/IBLAIPlatformMetaRequest.d.ts +6 -0
- package/dist/types/models/IBLAIPlatformMetaUpdateRequest.d.ts +10 -0
- package/dist/types/models/InputQuestion.d.ts +6 -0
- package/dist/types/models/IntegrationCredential.d.ts +8 -0
- package/dist/types/models/IntialQuestionAnswer.d.ts +3 -0
- package/dist/types/models/JobRun.d.ts +11 -0
- package/dist/types/models/KindEnum.d.ts +10 -0
- package/dist/types/models/LLMCredentialRequest.d.ts +14 -0
- package/dist/types/models/LLMCredentialResponse.d.ts +8 -0
- package/dist/types/models/LLMModelForTenant.d.ts +6 -0
- package/dist/types/models/LLMQuestion.d.ts +15 -0
- package/dist/types/models/LLMResponse.d.ts +14 -0
- package/dist/types/models/LLMTracesListResponse.d.ts +5 -0
- package/dist/types/models/LanguagesView.d.ts +5 -0
- package/dist/types/models/LinkCourseRequest.d.ts +3 -0
- package/dist/types/models/LinkCourseResponse.d.ts +5 -0
- package/dist/types/models/LlmProviderEnum.d.ts +8 -0
- package/dist/types/models/MCPServer.d.ts +21 -0
- package/dist/types/models/MemoryComponentData.d.ts +5 -0
- package/dist/types/models/MemoryComponentMemory.d.ts +4 -0
- package/dist/types/models/MemoryComponentMemoryDetail.d.ts +8 -0
- package/dist/types/models/MemoryComponentResponse.d.ts +5 -0
- package/dist/types/models/MemoryProgress.d.ts +8 -0
- package/dist/types/models/MemoryStatusRequestView.d.ts +6 -0
- package/dist/types/models/MemoryStatusView.d.ts +6 -0
- package/dist/types/models/Mentor.d.ts +87 -0
- package/dist/types/models/MentorAudience.d.ts +5 -0
- package/dist/types/models/MentorCategory.d.ts +9 -0
- package/dist/types/models/MentorCategoryCreate.d.ts +11 -0
- package/dist/types/models/MentorCategoryGroup.d.ts +11 -0
- package/dist/types/models/MentorCategoryGroupCreate.d.ts +11 -0
- package/dist/types/models/MentorCreate.d.ts +84 -0
- package/dist/types/models/MentorCustomVoice.d.ts +4 -0
- package/dist/types/models/MentorCustomVoiceResponse.d.ts +4 -0
- package/dist/types/models/MentorData.d.ts +7 -0
- package/dist/types/models/MentorDetailAnalytics.d.ts +6 -0
- package/dist/types/models/MentorEval.d.ts +11 -0
- package/dist/types/models/MentorEvalQuestion.d.ts +5 -0
- package/dist/types/models/MentorEvalQuestionRequest.d.ts +4 -0
- package/dist/types/models/MentorEvalReport.d.ts +10 -0
- package/dist/types/models/MentorEvalRequest.d.ts +8 -0
- package/dist/types/models/MentorFacet.d.ts +17 -0
- package/dist/types/models/MentorFork.d.ts +5 -0
- package/dist/types/models/MentorFromTemplateRequest.d.ts +4 -0
- package/dist/types/models/MentorFromTemplateWithSettingRequest.d.ts +47 -0
- package/dist/types/models/MentorMemorySettingsRequest.d.ts +6 -0
- package/dist/types/models/MentorMemorySettingsResponse.d.ts +6 -0
- package/dist/types/models/MentorMetadata.d.ts +5 -0
- package/dist/types/models/MentorScenario.d.ts +6 -0
- package/dist/types/models/MentorScenarioPrompt.d.ts +5 -0
- package/dist/types/models/MentorSearchResponse.d.ts +35 -0
- package/dist/types/models/MentorSession.d.ts +4 -0
- package/dist/types/models/MentorSettings.d.ts +60 -0
- package/dist/types/models/MentorSettingsPublic.d.ts +46 -0
- package/dist/types/models/MentorSettingsRequest.d.ts +62 -0
- package/dist/types/models/MentorVisibilityEnum.d.ts +10 -0
- package/dist/types/models/MentorWizard.d.ts +4 -0
- package/dist/types/models/MessageStatistics.d.ts +5 -0
- package/dist/types/models/MessageView.d.ts +10 -0
- package/dist/types/models/MessageViewRequest.d.ts +7 -0
- package/dist/types/models/MessageViewUpdatResponse.d.ts +3 -0
- package/dist/types/models/Metadata.d.ts +5 -0
- package/dist/types/models/MetricChange.d.ts +4 -0
- package/dist/types/models/ModelCost.d.ts +4 -0
- package/dist/types/models/ModerationLog.d.ts +11 -0
- package/dist/types/models/NoChatMessagesFound.d.ts +3 -0
- package/dist/types/models/NotificationSource.d.ts +2 -2
- package/dist/types/models/{TypeEnum.d.ts → NotificationSourceTypeEnum.d.ts} +1 -1
- package/dist/types/models/NullEnum.d.ts +1 -0
- package/dist/types/models/Observation.d.ts +31 -0
- package/dist/types/models/PageContent.d.ts +6 -0
- package/dist/types/models/PaginatedAIGeneratedImageList.d.ts +7 -0
- package/dist/types/models/PaginatedConversationsList.d.ts +7 -0
- package/dist/types/models/PaginatedCourseCreationTaskFileList.d.ts +7 -0
- package/dist/types/models/PaginatedCourseCreationTaskList.d.ts +7 -0
- package/dist/types/models/PaginatedEdxCourseList.d.ts +7 -0
- package/dist/types/models/PaginatedEmailPromptListList.d.ts +7 -0
- package/dist/types/models/PaginatedHeygenMarketingVideoListList.d.ts +7 -0
- package/dist/types/models/PaginatedHeygenTemplateResponseSingleList.d.ts +7 -0
- package/dist/types/models/PaginatedJobRunList.d.ts +7 -0
- package/dist/types/models/PaginatedMCPServerList.d.ts +7 -0
- package/dist/types/models/PaginatedMentorList.d.ts +7 -0
- package/dist/types/models/PaginatedModerationLogList.d.ts +7 -0
- package/dist/types/models/PaginatedObservationList.d.ts +7 -0
- package/dist/types/models/PaginatedPeriodicAgentList.d.ts +7 -0
- package/dist/types/models/PaginatedPeriodicAgentLogList.d.ts +7 -0
- package/dist/types/models/PaginatedPlayWrightScriptList.d.ts +7 -0
- package/dist/types/models/PaginatedRetrieverDocumentEmbeddingList.d.ts +7 -0
- package/dist/types/models/PaginatedSectionList.d.ts +7 -0
- package/dist/types/models/PaginatedSubSectionList.d.ts +7 -0
- package/dist/types/models/PaginatedTopicStatisticsResponse.d.ts +7 -0
- package/dist/types/models/PaginatedTraceList.d.ts +7 -0
- package/dist/types/models/PaginatedUnitList.d.ts +7 -0
- package/dist/types/models/PaginatedUserEdxMemoryList.d.ts +7 -0
- package/dist/types/models/PaginatedVoiceList.d.ts +7 -0
- package/dist/types/models/PatchedCallConfiguration.d.ts +26 -0
- package/dist/types/models/PatchedConversations.d.ts +28 -0
- package/dist/types/models/PatchedCourseCreationTaskFile.d.ts +7 -0
- package/dist/types/models/PatchedCredentialRequest.d.ts +14 -0
- package/dist/types/models/PatchedLLMCredentialRequest.d.ts +14 -0
- package/dist/types/models/PatchedMCPServer.d.ts +21 -0
- package/dist/types/models/PatchedMentorCategoryGroupCreate.d.ts +11 -0
- package/dist/types/models/PatchedMentorCreate.d.ts +84 -0
- package/dist/types/models/PatchedPeriodicAgentCreate.d.ts +41 -0
- package/dist/types/models/PatchedPlayWrightScript.d.ts +12 -0
- package/dist/types/models/PatchedPrompt.d.ts +22 -0
- package/dist/types/models/PatchedSection.d.ts +9 -0
- package/dist/types/models/PatchedSubSection.d.ts +9 -0
- package/dist/types/models/PatchedUnit.d.ts +11 -0
- package/dist/types/models/PeriodicAgent.d.ts +42 -0
- package/dist/types/models/PeriodicAgentCreate.d.ts +41 -0
- package/dist/types/models/PeriodicAgentLog.d.ts +11 -0
- package/dist/types/models/PeriodicAgentLogStatusEnum.d.ts +10 -0
- package/dist/types/models/PeriodicTask.d.ts +21 -0
- package/dist/types/models/PieChartData.d.ts +5 -0
- package/dist/types/models/PieChartSegment.d.ts +4 -0
- package/dist/types/models/PinnedMessageCreate.d.ts +9 -0
- package/dist/types/models/PinnedMessageGet.d.ts +7 -0
- package/dist/types/models/PinnedMessageRequest.d.ts +6 -0
- package/dist/types/models/PlayWrightScript.d.ts +12 -0
- package/dist/types/models/PredictiveAnalyticsRequest.d.ts +4 -0
- package/dist/types/models/PredictiveAnalyticsResponse.d.ts +4 -0
- package/dist/types/models/PreviousAgentStatusEnum.d.ts +12 -0
- package/dist/types/models/Prompt.d.ts +22 -0
- package/dist/types/models/PromptCategory.d.ts +7 -0
- package/dist/types/models/PromptFacet.d.ts +17 -0
- package/dist/types/models/PromptSearchResponse.d.ts +35 -0
- package/dist/types/models/PromptVisibilityEnum.d.ts +10 -0
- package/dist/types/models/ProviderEnum.d.ts +10 -0
- package/dist/types/models/QuestionCardTag.d.ts +8 -0
- package/dist/types/models/QuestionRequest.d.ts +15 -0
- package/dist/types/models/QuestionResponse.d.ts +10 -0
- package/dist/types/models/RatingEnum.d.ts +8 -0
- package/dist/types/models/RatingRecord.d.ts +4 -0
- package/dist/types/models/RecentlyAccessedMentor.d.ts +8 -0
- package/dist/types/models/RecommendCourseBlock.d.ts +3 -0
- package/dist/types/models/RecommendCourseResponse.d.ts +3 -0
- package/dist/types/models/RecommendedCoursesResponse.d.ts +33 -0
- package/dist/types/models/RelatedText.d.ts +3 -0
- package/dist/types/models/RequestDataVariable.d.ts +14 -0
- package/dist/types/models/ResourceScrappedData.d.ts +13 -0
- package/dist/types/models/ResourceScrappedDataStatusEnum.d.ts +12 -0
- package/dist/types/models/ResponseDataVariable.d.ts +14 -0
- package/dist/types/models/RetreiverTrainViewRequest.d.ts +10 -0
- package/dist/types/models/RetreiverTrainViewResponse.d.ts +6 -0
- package/dist/types/models/RetrieveTask.d.ts +3 -0
- package/dist/types/models/RetrieverDocumentEmbedding.d.ts +27 -0
- package/dist/types/models/RetrieverDocumentEmbeddingRequest.d.ts +58 -0
- package/dist/types/models/RetrieverRequestSearch.d.ts +10 -0
- package/dist/types/models/RetrieverRequestSearchDocument.d.ts +10 -0
- package/dist/types/models/RetrieverResponseSearch.d.ts +7 -0
- package/dist/types/models/ReuestDataVariableList.d.ts +4 -0
- package/dist/types/models/RunMentorEval.d.ts +3 -0
- package/dist/types/models/ScanWebhookRequest.d.ts +6 -0
- package/dist/types/models/ScanWebhookResponse.d.ts +3 -0
- package/dist/types/models/Section.d.ts +9 -0
- package/dist/types/models/SectionWithChildren.d.ts +11 -0
- package/dist/types/models/SeedMentorsView.d.ts +3 -0
- package/dist/types/models/SentimentSummary.d.ts +4 -0
- package/dist/types/models/SessionBrowserScreenshot.d.ts +8 -0
- package/dist/types/models/SessionDetail.d.ts +6 -0
- package/dist/types/models/SessionMemoryStorage.d.ts +6 -0
- package/dist/types/models/ShellLogs.d.ts +3 -0
- package/dist/types/models/SpacedRepetitionLearningPath.d.ts +3 -0
- package/dist/types/models/SpacedRepetitionQuestionStats.d.ts +5 -0
- package/dist/types/models/StarMentor.d.ts +7 -0
- package/dist/types/models/Status6eeEnum.d.ts +12 -0
- package/dist/types/models/Step.d.ts +9 -0
- package/dist/types/models/StepStatusEnum.d.ts +10 -0
- package/dist/types/models/StripeCheckoutSessionRequest.d.ts +2 -2
- package/dist/types/models/{ModeEnum.d.ts → StripeCheckoutSessionRequestModeEnum.d.ts} +1 -1
- package/dist/types/models/SttProviderEnum.d.ts +12 -0
- package/dist/types/models/StudentChatMessage.d.ts +4 -0
- package/dist/types/models/StylesView.d.ts +4 -0
- package/dist/types/models/SubSection.d.ts +9 -0
- package/dist/types/models/SubSectionWithChildren.d.ts +11 -0
- package/dist/types/models/TagsView.d.ts +5 -0
- package/dist/types/models/TargetSystemEnum.d.ts +8 -0
- package/dist/types/models/TaskView.d.ts +3 -0
- package/dist/types/models/TemplateMentor.d.ts +9 -0
- package/dist/types/models/TenantMentorTraces.d.ts +6 -0
- package/dist/types/models/ThemeEnum.d.ts +8 -0
- package/dist/types/models/TonesView.d.ts +4 -0
- package/dist/types/models/ToolResponse.d.ts +11 -0
- package/dist/types/models/TopicModel.d.ts +3 -0
- package/dist/types/models/TopicRecord.d.ts +4 -0
- package/dist/types/models/TopicStatistics.d.ts +7 -0
- package/dist/types/models/TopicStatisticsResponse.d.ts +6 -0
- package/dist/types/models/TopicSummaryView.d.ts +4 -0
- package/dist/types/models/Trace.d.ts +17 -0
- package/dist/types/models/TrainChatSessionDocumentView.d.ts +6 -0
- package/dist/types/models/TrainChatSessionDocumentViewRequest.d.ts +6 -0
- package/dist/types/models/TrainDocumentViewRequest.d.ts +62 -0
- package/dist/types/models/TrainDocumentViewResponse.d.ts +15 -0
- package/dist/types/models/TrainingStatusEnum.d.ts +12 -0
- package/dist/types/models/TransportEnum.d.ts +8 -0
- package/dist/types/models/TrendEntry.d.ts +4 -0
- package/dist/types/models/TriggerRequest.d.ts +5 -0
- package/dist/types/models/TriggerResponse.d.ts +6 -0
- package/dist/types/models/TtsProviderEnum.d.ts +10 -0
- package/dist/types/models/TypeC42Enum.d.ts +8 -0
- package/dist/types/models/Unit.d.ts +11 -0
- package/dist/types/models/UnitWithChildren.d.ts +13 -0
- package/dist/types/models/UseMainCreds.d.ts +3 -0
- package/dist/types/models/UserAllChatMemoryView.d.ts +7 -0
- package/dist/types/models/UserCatalogItemMemoryView.d.ts +14 -0
- package/dist/types/models/UserChatByPeriod.d.ts +4 -0
- package/dist/types/models/UserChatFeedback.d.ts +14 -0
- package/dist/types/models/UserChatFeedbackCount.d.ts +4 -0
- package/dist/types/models/UserChatMemoryStatusRequestView.d.ts +6 -0
- package/dist/types/models/UserChatMemoryStatusView.d.ts +6 -0
- package/dist/types/models/UserChatMemoryUpdateView.d.ts +10 -0
- package/dist/types/models/UserCountRecord.d.ts +4 -0
- package/dist/types/models/UserEdxMemory.d.ts +15 -0
- package/dist/types/models/UserMemoryContextRequest.d.ts +13 -0
- package/dist/types/models/UserMemoryContextResponse.d.ts +12 -0
- package/dist/types/models/UserMetric.d.ts +4 -0
- package/dist/types/models/UserMetricsResponse.d.ts +7 -0
- package/dist/types/models/UserSentimentCountView.d.ts +4 -0
- package/dist/types/models/UserTrendByPeriod.d.ts +5 -0
- package/dist/types/models/VectorResult.d.ts +8 -0
- package/dist/types/models/VideoCaption.d.ts +3 -0
- package/dist/types/models/Voice.d.ts +9 -0
- package/dist/types/models/WebResource.d.ts +9 -0
- package/dist/types/models/WebResourceCard.d.ts +7 -0
- package/dist/types/models/WebResourcesQuery.d.ts +3 -0
- package/dist/types/services/AiAccountService.d.ts +319 -0
- package/dist/types/services/AiAnalyticsService.d.ts +7034 -0
- package/dist/types/services/AiIndexService.d.ts +408 -0
- package/dist/types/services/AiMarketingService.d.ts +38 -0
- package/dist/types/services/AiMediaService.d.ts +122 -0
- package/dist/types/services/AiMentorService.d.ts +4937 -0
- package/dist/types/services/AiPromptService.d.ts +1034 -0
- package/dist/types/services/{ServiceService.d.ts → CommerceService.d.ts} +187 -1
- package/dist/types/services/CoreService.d.ts +215 -0
- package/dist/types/services/{MediaResourcesService.d.ts → MediaService.d.ts} +1 -1
- package/dist/types/services/{NotificationService.d.ts → NotificationsService.d.ts} +70 -1
- package/dist/types/services/{OrgsService.d.ts → ScimService.d.ts} +1 -1
- package/dist/types/services/SearchService.d.ts +718 -0
- package/package.json +1 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +296 -28
- package/src/models/AIGeneratedImage.ts +18 -0
- package/src/models/AIUserProfileMemoryRelation.ts +9 -0
- package/src/models/AIUserProfileRequest.ts +9 -0
- package/src/models/APITokenCost.ts +19 -0
- package/src/models/AccessEnum.ts +12 -0
- package/src/models/AlignMentorBubbleEnum.ts +12 -0
- package/src/models/AnalyticsOverview.ts +12 -0
- package/src/models/Answer.ts +16 -0
- package/src/models/AssumedKnowledge.ts +9 -0
- package/src/models/AssumedKnowledgeLevel.ts +9 -0
- package/src/models/AudioToTextRequest.ts +8 -0
- package/src/models/AudioToTextResponse.ts +8 -0
- package/src/models/CallAuthenticationRequest.ts +18 -0
- package/src/models/CallAuthenticationResponse.ts +26 -0
- package/src/models/CallConfiguration.ts +31 -0
- package/src/models/CallConfigurationModeEnum.ts +12 -0
- package/src/models/ChatHistory.ts +13 -0
- package/src/models/ChatHistoryFilterData.ts +14 -0
- package/src/models/ChatHistoryFilterUser.ts +10 -0
- package/src/models/ChatHistoryItem.ts +10 -0
- package/src/models/ChatHistorySessionId.ts +8 -0
- package/src/models/ChatSessionRequest.ts +15 -0
- package/src/models/ChatSessionResponse.ts +10 -0
- package/src/models/CheckDocumentTrainingStatus.ts +15 -0
- package/src/models/ComponentBlock.ts +14 -0
- package/src/models/ComponentBlockTypeEnum.ts +12 -0
- package/src/models/ConversationMessage.ts +16 -0
- package/src/models/ConversationRating.ts +11 -0
- package/src/models/ConversationSummary.ts +10 -0
- package/src/models/ConversationVolume.ts +9 -0
- package/src/models/Conversations.ts +33 -0
- package/src/models/Cost.ts +8 -0
- package/src/models/CostPerTenant.ts +11 -0
- package/src/models/CourseCreationTask.ts +36 -0
- package/src/models/CourseCreationTaskFile.ts +12 -0
- package/src/models/CourseCreationTaskStatusEnum.ts +20 -0
- package/src/models/CredentialRequest.ts +19 -0
- package/src/models/CrontabSchedule.ts +27 -0
- package/src/models/CustomInstructionResponse.ts +18 -0
- package/src/models/DateRange.ts +9 -0
- package/src/models/Document.ts +46 -0
- package/src/models/DocumentFacet.ts +22 -0
- package/src/models/DocumentSearchResponse.ts +40 -0
- package/src/models/DocumentSettingsResponse.ts +8 -0
- package/src/models/EdxCourse.ts +16 -0
- package/src/models/ElevenlabsCustomVoice.ts +9 -0
- package/src/models/ElevenlabsCustomVoiceResponse.ts +13 -0
- package/src/models/EmailPromptDetail.ts +18 -0
- package/src/models/EmailPromptList.ts +16 -0
- package/src/models/EmailPromptSummary.ts +10 -0
- package/src/models/FreeUsageCount.ts +8 -0
- package/src/models/FullCourse.ts +18 -0
- package/src/models/GreetingMethodEnum.ts +12 -0
- package/src/models/GuidedPromptsResponse.ts +8 -0
- package/src/models/HeygenMarketingVideoDetail.ts +13 -0
- package/src/models/HeygenMarketingVideoList.ts +11 -0
- package/src/models/HeygenTemplateRequest.ts +10 -0
- package/src/models/HeygenTemplateResponseSingle.ts +11 -0
- package/src/models/HeygenVideoDetail.ts +13 -0
- package/src/models/HeygenVideoRequest.ts +10 -0
- package/src/models/IBLAIPlatformMeta.ts +8 -0
- package/src/models/IBLAIPlatformMetaRequest.ts +11 -0
- package/src/models/IBLAIPlatformMetaUpdateRequest.ts +15 -0
- package/src/models/InputQuestion.ts +11 -0
- package/src/models/IntegrationCredential.ts +13 -0
- package/src/models/IntialQuestionAnswer.ts +8 -0
- package/src/models/JobRun.ts +16 -0
- package/src/models/KindEnum.ts +14 -0
- package/src/models/LLMCredentialRequest.ts +19 -0
- package/src/models/LLMCredentialResponse.ts +13 -0
- package/src/models/LLMModelForTenant.ts +11 -0
- package/src/models/LLMQuestion.ts +20 -0
- package/src/models/LLMResponse.ts +19 -0
- package/src/models/LLMTracesListResponse.ts +10 -0
- package/src/models/LanguagesView.ts +10 -0
- package/src/models/LinkCourseRequest.ts +8 -0
- package/src/models/LinkCourseResponse.ts +10 -0
- package/src/models/LlmProviderEnum.ts +12 -0
- package/src/models/MCPServer.ts +26 -0
- package/src/models/MemoryComponentData.ts +10 -0
- package/src/models/MemoryComponentMemory.ts +9 -0
- package/src/models/MemoryComponentMemoryDetail.ts +13 -0
- package/src/models/MemoryComponentResponse.ts +10 -0
- package/src/models/MemoryProgress.ts +13 -0
- package/src/models/MemoryStatusRequestView.ts +11 -0
- package/src/models/MemoryStatusView.ts +11 -0
- package/src/models/Mentor.ts +92 -0
- package/src/models/MentorAudience.ts +10 -0
- package/src/models/MentorCategory.ts +14 -0
- package/src/models/MentorCategoryCreate.ts +16 -0
- package/src/models/MentorCategoryGroup.ts +16 -0
- package/src/models/MentorCategoryGroupCreate.ts +16 -0
- package/src/models/MentorCreate.ts +89 -0
- package/src/models/MentorCustomVoice.ts +9 -0
- package/src/models/MentorCustomVoiceResponse.ts +9 -0
- package/src/models/MentorData.ts +12 -0
- package/src/models/MentorDetailAnalytics.ts +11 -0
- package/src/models/MentorEval.ts +16 -0
- package/src/models/MentorEvalQuestion.ts +10 -0
- package/src/models/MentorEvalQuestionRequest.ts +9 -0
- package/src/models/MentorEvalReport.ts +15 -0
- package/src/models/MentorEvalRequest.ts +13 -0
- package/src/models/MentorFacet.ts +22 -0
- package/src/models/MentorFork.ts +10 -0
- package/src/models/MentorFromTemplateRequest.ts +9 -0
- package/src/models/MentorFromTemplateWithSettingRequest.ts +52 -0
- package/src/models/MentorMemorySettingsRequest.ts +11 -0
- package/src/models/MentorMemorySettingsResponse.ts +11 -0
- package/src/models/MentorMetadata.ts +10 -0
- package/src/models/MentorScenario.ts +11 -0
- package/src/models/MentorScenarioPrompt.ts +10 -0
- package/src/models/MentorSearchResponse.ts +40 -0
- package/src/models/MentorSession.ts +9 -0
- package/src/models/MentorSettings.ts +65 -0
- package/src/models/MentorSettingsPublic.ts +51 -0
- package/src/models/MentorSettingsRequest.ts +67 -0
- package/src/models/MentorVisibilityEnum.ts +14 -0
- package/src/models/MentorWizard.ts +9 -0
- package/src/models/MessageStatistics.ts +10 -0
- package/src/models/MessageView.ts +15 -0
- package/src/models/MessageViewRequest.ts +12 -0
- package/src/models/MessageViewUpdatResponse.ts +8 -0
- package/src/models/Metadata.ts +10 -0
- package/src/models/{FloatOverTime.ts → MetricChange.ts} +2 -8
- package/src/models/ModelCost.ts +9 -0
- package/src/models/ModerationLog.ts +16 -0
- package/src/models/NoChatMessagesFound.ts +8 -0
- package/src/models/NotificationSource.ts +2 -2
- package/src/models/{TypeEnum.ts → NotificationSourceTypeEnum.ts} +1 -1
- package/src/models/NullEnum.ts +7 -0
- package/src/models/Observation.ts +36 -0
- package/src/models/PageContent.ts +11 -0
- package/src/models/PaginatedAIGeneratedImageList.ts +12 -0
- package/src/models/PaginatedConversationsList.ts +12 -0
- package/src/models/PaginatedCourseCreationTaskFileList.ts +12 -0
- package/src/models/PaginatedCourseCreationTaskList.ts +12 -0
- package/src/models/PaginatedEdxCourseList.ts +12 -0
- package/src/models/PaginatedEmailPromptListList.ts +12 -0
- package/src/models/PaginatedHeygenMarketingVideoListList.ts +12 -0
- package/src/models/PaginatedHeygenTemplateResponseSingleList.ts +12 -0
- package/src/models/PaginatedJobRunList.ts +12 -0
- package/src/models/PaginatedMCPServerList.ts +12 -0
- package/src/models/PaginatedMentorList.ts +12 -0
- package/src/models/PaginatedModerationLogList.ts +12 -0
- package/src/models/PaginatedObservationList.ts +12 -0
- package/src/models/PaginatedPeriodicAgentList.ts +12 -0
- package/src/models/PaginatedPeriodicAgentLogList.ts +12 -0
- package/src/models/PaginatedPlayWrightScriptList.ts +12 -0
- package/src/models/PaginatedRetrieverDocumentEmbeddingList.ts +12 -0
- package/src/models/PaginatedSectionList.ts +12 -0
- package/src/models/PaginatedSubSectionList.ts +12 -0
- package/src/models/PaginatedTopicStatisticsResponse.ts +12 -0
- package/src/models/PaginatedTraceList.ts +12 -0
- package/src/models/PaginatedUnitList.ts +12 -0
- package/src/models/PaginatedUserEdxMemoryList.ts +12 -0
- package/src/models/PaginatedVoiceList.ts +12 -0
- package/src/models/PatchedCallConfiguration.ts +31 -0
- package/src/models/PatchedConversations.ts +33 -0
- package/src/models/PatchedCourseCreationTaskFile.ts +12 -0
- package/src/models/PatchedCredentialRequest.ts +19 -0
- package/src/models/PatchedLLMCredentialRequest.ts +19 -0
- package/src/models/PatchedMCPServer.ts +26 -0
- package/src/models/PatchedMentorCategoryGroupCreate.ts +16 -0
- package/src/models/PatchedMentorCreate.ts +89 -0
- package/src/models/PatchedPeriodicAgentCreate.ts +46 -0
- package/src/models/PatchedPlayWrightScript.ts +17 -0
- package/src/models/PatchedPrompt.ts +27 -0
- package/src/models/PatchedSection.ts +14 -0
- package/src/models/PatchedSubSection.ts +14 -0
- package/src/models/PatchedUnit.ts +16 -0
- package/src/models/PeriodicAgent.ts +47 -0
- package/src/models/PeriodicAgentCreate.ts +46 -0
- package/src/models/PeriodicAgentLog.ts +16 -0
- package/src/models/PeriodicAgentLogStatusEnum.ts +14 -0
- package/src/models/PeriodicTask.ts +26 -0
- package/src/models/PieChartData.ts +10 -0
- package/src/models/PieChartSegment.ts +9 -0
- package/src/models/PinnedMessageCreate.ts +14 -0
- package/src/models/PinnedMessageGet.ts +12 -0
- package/src/models/PinnedMessageRequest.ts +11 -0
- package/src/models/PlayWrightScript.ts +17 -0
- package/src/models/PredictiveAnalyticsRequest.ts +9 -0
- package/src/models/PredictiveAnalyticsResponse.ts +9 -0
- package/src/models/PreviousAgentStatusEnum.ts +16 -0
- package/src/models/Prompt.ts +27 -0
- package/src/models/PromptCategory.ts +12 -0
- package/src/models/PromptFacet.ts +22 -0
- package/src/models/PromptSearchResponse.ts +40 -0
- package/src/models/PromptVisibilityEnum.ts +14 -0
- package/src/models/ProviderEnum.ts +14 -0
- package/src/models/QuestionCardTag.ts +13 -0
- package/src/models/QuestionRequest.ts +20 -0
- package/src/models/QuestionResponse.ts +15 -0
- package/src/models/RatingEnum.ts +12 -0
- package/src/models/RatingRecord.ts +9 -0
- package/src/models/RecentlyAccessedMentor.ts +13 -0
- package/src/models/RecommendCourseBlock.ts +8 -0
- package/src/models/RecommendCourseResponse.ts +8 -0
- package/src/models/RecommendedCoursesResponse.ts +38 -0
- package/src/models/RelatedText.ts +8 -0
- package/src/models/RequestDataVariable.ts +19 -0
- package/src/models/ResourceScrappedData.ts +18 -0
- package/src/models/ResourceScrappedDataStatusEnum.ts +16 -0
- package/src/models/ResponseDataVariable.ts +19 -0
- package/src/models/RetreiverTrainViewRequest.ts +15 -0
- package/src/models/RetreiverTrainViewResponse.ts +11 -0
- package/src/models/RetrieveTask.ts +8 -0
- package/src/models/RetrieverDocumentEmbedding.ts +32 -0
- package/src/models/RetrieverDocumentEmbeddingRequest.ts +63 -0
- package/src/models/RetrieverRequestSearch.ts +15 -0
- package/src/models/RetrieverRequestSearchDocument.ts +15 -0
- package/src/models/RetrieverResponseSearch.ts +12 -0
- package/src/models/ReuestDataVariableList.ts +9 -0
- package/src/models/RunMentorEval.ts +8 -0
- package/src/models/ScanWebhookRequest.ts +11 -0
- package/src/models/ScanWebhookResponse.ts +8 -0
- package/src/models/Section.ts +14 -0
- package/src/models/SectionWithChildren.ts +16 -0
- package/src/models/SeedMentorsView.ts +8 -0
- package/src/models/SentimentSummary.ts +9 -0
- package/src/models/SessionBrowserScreenshot.ts +13 -0
- package/src/models/SessionDetail.ts +11 -0
- package/src/models/SessionMemoryStorage.ts +11 -0
- package/src/models/ShellLogs.ts +8 -0
- package/src/models/SpacedRepetitionLearningPath.ts +8 -0
- package/src/models/SpacedRepetitionQuestionStats.ts +10 -0
- package/src/models/StarMentor.ts +12 -0
- package/src/models/Status6eeEnum.ts +16 -0
- package/src/models/Step.ts +14 -0
- package/src/models/StepStatusEnum.ts +14 -0
- package/src/models/StripeCheckoutSessionRequest.ts +2 -2
- package/src/models/{ModeEnum.ts → StripeCheckoutSessionRequestModeEnum.ts} +1 -1
- package/src/models/SttProviderEnum.ts +16 -0
- package/src/models/StudentChatMessage.ts +9 -0
- package/src/models/StylesView.ts +9 -0
- package/src/models/SubSection.ts +14 -0
- package/src/models/SubSectionWithChildren.ts +16 -0
- package/src/models/TagsView.ts +10 -0
- package/src/models/TargetSystemEnum.ts +12 -0
- package/src/models/TaskView.ts +8 -0
- package/src/models/TemplateMentor.ts +14 -0
- package/src/models/TenantMentorTraces.ts +11 -0
- package/src/models/ThemeEnum.ts +12 -0
- package/src/models/TonesView.ts +9 -0
- package/src/models/ToolResponse.ts +16 -0
- package/src/models/TopicModel.ts +8 -0
- package/src/models/TopicRecord.ts +9 -0
- package/src/models/TopicStatistics.ts +12 -0
- package/src/models/TopicStatisticsResponse.ts +11 -0
- package/src/models/TopicSummaryView.ts +9 -0
- package/src/models/Trace.ts +22 -0
- package/src/models/TrainChatSessionDocumentView.ts +11 -0
- package/src/models/TrainChatSessionDocumentViewRequest.ts +11 -0
- package/src/models/TrainDocumentViewRequest.ts +67 -0
- package/src/models/TrainDocumentViewResponse.ts +20 -0
- package/src/models/TrainingStatusEnum.ts +16 -0
- package/src/models/TransportEnum.ts +12 -0
- package/src/models/TrendEntry.ts +9 -0
- package/src/models/TriggerRequest.ts +10 -0
- package/src/models/TriggerResponse.ts +11 -0
- package/src/models/TtsProviderEnum.ts +14 -0
- package/src/models/TypeC42Enum.ts +12 -0
- package/src/models/Unit.ts +16 -0
- package/src/models/UnitWithChildren.ts +18 -0
- package/src/models/UseMainCreds.ts +8 -0
- package/src/models/UserAllChatMemoryView.ts +12 -0
- package/src/models/UserCatalogItemMemoryView.ts +19 -0
- package/src/models/UserChatByPeriod.ts +9 -0
- package/src/models/UserChatFeedback.ts +19 -0
- package/src/models/UserChatFeedbackCount.ts +9 -0
- package/src/models/UserChatMemoryStatusRequestView.ts +11 -0
- package/src/models/UserChatMemoryStatusView.ts +11 -0
- package/src/models/UserChatMemoryUpdateView.ts +15 -0
- package/src/models/UserCountRecord.ts +9 -0
- package/src/models/UserEdxMemory.ts +20 -0
- package/src/models/UserMemoryContextRequest.ts +18 -0
- package/src/models/UserMemoryContextResponse.ts +17 -0
- package/src/models/UserMetric.ts +9 -0
- package/src/models/UserMetricsResponse.ts +12 -0
- package/src/models/UserSentimentCountView.ts +9 -0
- package/src/models/UserTrendByPeriod.ts +10 -0
- package/src/models/VectorResult.ts +13 -0
- package/src/models/VideoCaption.ts +8 -0
- package/src/models/Voice.ts +14 -0
- package/src/models/WebResource.ts +14 -0
- package/src/models/WebResourceCard.ts +12 -0
- package/src/models/WebResourcesQuery.ts +8 -0
- package/src/services/AiAccountService.ts +505 -0
- package/src/services/AiAnalyticsService.ts +11651 -0
- package/src/services/AiIndexService.ts +719 -0
- package/src/services/AiMarketingService.ts +96 -0
- package/src/services/AiMediaService.ts +289 -0
- package/src/services/AiMentorService.ts +9108 -0
- package/src/services/AiPromptService.ts +1980 -0
- package/src/services/{ServiceService.ts → CommerceService.ts} +339 -1
- package/src/services/CoreService.ts +311 -0
- package/src/services/{MediaResourcesService.ts → MediaService.ts} +1 -1
- package/src/services/{NotificationService.ts → NotificationsService.ts} +139 -1
- package/src/services/{OrgsService.ts → ScimService.ts} +1 -1
- package/src/services/SearchService.ts +1428 -398
- package/dist/types/models/FloatOverTime.d.ts +0 -10
- package/dist/types/models/NetRevenueOverTime.d.ts +0 -8
- package/dist/types/models/Order.d.ts +0 -22
- package/dist/types/models/Product.d.ts +0 -22
- package/dist/types/models/ProductTable.d.ts +0 -26
- package/dist/types/models/RevenueByProduct.d.ts +0 -6
- package/dist/types/models/Summary.d.ts +0 -18
- package/dist/types/services/AnalyticsService.d.ts +0 -83
- package/dist/types/services/AudienceService.d.ts +0 -544
- package/dist/types/services/DepartmentsService.d.ts +0 -80
- package/dist/types/services/EngagementService.d.ts +0 -747
- package/dist/types/services/FinanceService.d.ts +0 -81
- package/dist/types/services/NotificationBuilderService.d.ts +0 -72
- package/dist/types/services/OverviewService.d.ts +0 -283
- package/dist/types/services/PerformanceService.d.ts +0 -259
- package/dist/types/services/PerlearnerService.d.ts +0 -715
- package/dist/types/services/PlatformService.d.ts +0 -496
- package/dist/types/services/ProviderAssociationService.d.ts +0 -17
- package/dist/types/services/ProvidersService.d.ts +0 -164
- package/dist/types/services/ProvisionService.d.ts +0 -15
- package/dist/types/services/RolesService.d.ts +0 -59
- package/dist/types/services/UserGroupsService.d.ts +0 -86
- package/src/models/NetRevenueOverTime.ts +0 -13
- package/src/models/Order.ts +0 -27
- package/src/models/Product.ts +0 -27
- package/src/models/ProductTable.ts +0 -31
- package/src/models/RevenueByProduct.ts +0 -11
- package/src/models/Summary.ts +0 -23
- package/src/services/AnalyticsService.ts +0 -132
- package/src/services/AudienceService.ts +0 -798
- package/src/services/DepartmentsService.ts +0 -122
- package/src/services/EngagementService.ts +0 -1199
- package/src/services/FinanceService.ts +0 -165
- package/src/services/NotificationBuilderService.ts +0 -147
- package/src/services/OverviewService.ts +0 -423
- package/src/services/PerformanceService.ts +0 -405
- package/src/services/PerlearnerService.ts +0 -1321
- package/src/services/PlatformService.ts +0 -884
- package/src/services/ProviderAssociationService.ts +0 -33
- package/src/services/ProvidersService.ts +0 -302
- package/src/services/ProvisionService.ts +0 -31
- package/src/services/RolesService.ts +0 -89
- package/src/services/UserGroupsService.ts +0 -128
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import type { DesiredRole } from '../models/DesiredRole';
|
|
2
|
-
import type { ReportedRole } from '../models/ReportedRole';
|
|
3
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
4
|
-
export declare class RolesService {
|
|
5
|
-
/**
|
|
6
|
-
* Retrieve a user's desired role information.
|
|
7
|
-
*
|
|
8
|
-
* This endpoint returns the role and skills that a user has indicated
|
|
9
|
-
* they want to develop or acquire. This represents the user's career
|
|
10
|
-
* goals and learning objectives.
|
|
11
|
-
*
|
|
12
|
-
* Path Parameters:
|
|
13
|
-
* org (str): The platform/organization identifier
|
|
14
|
-
* username (str): The username of the user to retrieve role information for
|
|
15
|
-
*
|
|
16
|
-
* Returns:
|
|
17
|
-
* The user's desired role information including:
|
|
18
|
-
* - Target role title
|
|
19
|
-
* - Skills needed for the role
|
|
20
|
-
* - Current progress toward skill acquisition
|
|
21
|
-
*
|
|
22
|
-
* Error Responses:
|
|
23
|
-
* 400 Bad Request: If the user doesn't exist in the platform or has no desired role
|
|
24
|
-
* 404 Not Found: If the specified platform doesn't exist
|
|
25
|
-
* @returns DesiredRole
|
|
26
|
-
* @throws ApiError
|
|
27
|
-
*/
|
|
28
|
-
static rolesPlatformOrgsRolesUsersDesiredRolesRetrieve({ org, username, }: {
|
|
29
|
-
org: string;
|
|
30
|
-
username: string;
|
|
31
|
-
}): CancelablePromise<DesiredRole>;
|
|
32
|
-
/**
|
|
33
|
-
* Retrieve a user's reported role information.
|
|
34
|
-
*
|
|
35
|
-
* This endpoint returns the role and skills that a user has reported
|
|
36
|
-
* having in their profile. This represents the user's current skills
|
|
37
|
-
* and professional role.
|
|
38
|
-
*
|
|
39
|
-
* Path Parameters:
|
|
40
|
-
* org (str): The platform/organization identifier
|
|
41
|
-
* username (str): The username of the user to retrieve role information for
|
|
42
|
-
*
|
|
43
|
-
* Returns:
|
|
44
|
-
* The user's reported role information including:
|
|
45
|
-
* - Role title
|
|
46
|
-
* - Skills associated with the role
|
|
47
|
-
* - Experience level
|
|
48
|
-
*
|
|
49
|
-
* Error Responses:
|
|
50
|
-
* 400 Bad Request: If the user doesn't exist in the platform or has no reported role
|
|
51
|
-
* 404 Not Found: If the specified platform doesn't exist
|
|
52
|
-
* @returns ReportedRole
|
|
53
|
-
* @throws ApiError
|
|
54
|
-
*/
|
|
55
|
-
static rolesPlatformOrgsRolesUsersReportedRolesRetrieve({ org, username, }: {
|
|
56
|
-
org: string;
|
|
57
|
-
username: string;
|
|
58
|
-
}): CancelablePromise<ReportedRole>;
|
|
59
|
-
}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import type { GroupList } from '../models/GroupList';
|
|
2
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
3
|
-
export declare class UserGroupsService {
|
|
4
|
-
/**
|
|
5
|
-
* Get a list of user groups with metrics and filtering options.
|
|
6
|
-
*
|
|
7
|
-
* This endpoint provides a paginated list of user groups with aggregated metrics
|
|
8
|
-
* about learner performance, course completions, and skill acquisition.
|
|
9
|
-
*
|
|
10
|
-
* This endpoint uses DM token authentication and respects department-based
|
|
11
|
-
* access controls.
|
|
12
|
-
*
|
|
13
|
-
* Query Parameters:
|
|
14
|
-
* page (int, optional): Page number for pagination
|
|
15
|
-
* length (int, optional): Number of items per page
|
|
16
|
-
* program (str, optional): Filter by program
|
|
17
|
-
* pathway (str, optional): Filter by pathway
|
|
18
|
-
* groups (list, optional): Filter by group names
|
|
19
|
-
* location (str, optional): Filter by location
|
|
20
|
-
* is_enrolled (bool, optional): Filter for groups with enrolled users
|
|
21
|
-
* start_date (date, optional): Filter by learner join date (start range)
|
|
22
|
-
* end_date (date, optional): Filter by learner join date (end range)
|
|
23
|
-
*
|
|
24
|
-
* Returns:
|
|
25
|
-
* A paginated list of user groups with comprehensive metrics.
|
|
26
|
-
*
|
|
27
|
-
* Access Control:
|
|
28
|
-
* - Platform admins can see all groups
|
|
29
|
-
* - Department admins can only see groups in their departments
|
|
30
|
-
* @returns GroupList
|
|
31
|
-
* @throws ApiError
|
|
32
|
-
*/
|
|
33
|
-
static userGroupsOrgsRetrieve({ key, departmentId, endDate, format, groups, includeMainPlatform, isEnrolled, length, location, page, pathway, program, startDate, }: {
|
|
34
|
-
key: string;
|
|
35
|
-
/**
|
|
36
|
-
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
37
|
-
*/
|
|
38
|
-
departmentId?: number;
|
|
39
|
-
/**
|
|
40
|
-
* Filter by learners date_joined. Start date. ISO 8601
|
|
41
|
-
*/
|
|
42
|
-
endDate?: string;
|
|
43
|
-
/**
|
|
44
|
-
* Format
|
|
45
|
-
*
|
|
46
|
-
* * `json` - json
|
|
47
|
-
*/
|
|
48
|
-
format?: 'json';
|
|
49
|
-
/**
|
|
50
|
-
* Groups search string. Single string or list of strings. e.g 'sample_group' or `['group', 'another group']`
|
|
51
|
-
*/
|
|
52
|
-
groups?: Array<string>;
|
|
53
|
-
/**
|
|
54
|
-
* Include main platform data
|
|
55
|
-
*/
|
|
56
|
-
includeMainPlatform?: boolean;
|
|
57
|
-
/**
|
|
58
|
-
* Filter for users who have at least an enrollment
|
|
59
|
-
*/
|
|
60
|
-
isEnrolled?: boolean | null;
|
|
61
|
-
/**
|
|
62
|
-
* Size of data to return
|
|
63
|
-
*/
|
|
64
|
-
length?: number;
|
|
65
|
-
/**
|
|
66
|
-
* Location search string
|
|
67
|
-
*/
|
|
68
|
-
location?: string;
|
|
69
|
-
/**
|
|
70
|
-
* Page offset
|
|
71
|
-
*/
|
|
72
|
-
page?: number;
|
|
73
|
-
/**
|
|
74
|
-
* Pathway string
|
|
75
|
-
*/
|
|
76
|
-
pathway?: string;
|
|
77
|
-
/**
|
|
78
|
-
* Program search string
|
|
79
|
-
*/
|
|
80
|
-
program?: string;
|
|
81
|
-
/**
|
|
82
|
-
* Filter by learners date_joined. Start date. ISO 8601
|
|
83
|
-
*/
|
|
84
|
-
startDate?: string;
|
|
85
|
-
}): CancelablePromise<GroupList>;
|
|
86
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
import type { FloatOverTime } from './FloatOverTime';
|
|
6
|
-
export type NetRevenueOverTime = {
|
|
7
|
-
data?: Array<FloatOverTime>;
|
|
8
|
-
/**
|
|
9
|
-
* Grand total of all data
|
|
10
|
-
*/
|
|
11
|
-
total?: number;
|
|
12
|
-
};
|
|
13
|
-
|
package/src/models/Order.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
export type Order = {
|
|
6
|
-
/**
|
|
7
|
-
* WP Customer ID
|
|
8
|
-
*/
|
|
9
|
-
customer_id: number;
|
|
10
|
-
/**
|
|
11
|
-
* WooCommerce order status
|
|
12
|
-
*/
|
|
13
|
-
status: string;
|
|
14
|
-
/**
|
|
15
|
-
* WooCommerce order date
|
|
16
|
-
*/
|
|
17
|
-
order_date: string;
|
|
18
|
-
/**
|
|
19
|
-
* Total discount by coupons
|
|
20
|
-
*/
|
|
21
|
-
coupons: string;
|
|
22
|
-
/**
|
|
23
|
-
* Net order value
|
|
24
|
-
*/
|
|
25
|
-
value: string;
|
|
26
|
-
};
|
|
27
|
-
|
package/src/models/Product.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
export type Product = {
|
|
6
|
-
/**
|
|
7
|
-
* Product Name
|
|
8
|
-
*/
|
|
9
|
-
name: string;
|
|
10
|
-
/**
|
|
11
|
-
* Product type (Course or Program)
|
|
12
|
-
*/
|
|
13
|
-
type: string;
|
|
14
|
-
/**
|
|
15
|
-
* Product slug
|
|
16
|
-
*/
|
|
17
|
-
slug: string;
|
|
18
|
-
/**
|
|
19
|
-
* DateTime product was created
|
|
20
|
-
*/
|
|
21
|
-
created_on: string;
|
|
22
|
-
/**
|
|
23
|
-
* Product cost
|
|
24
|
-
*/
|
|
25
|
-
price: string;
|
|
26
|
-
};
|
|
27
|
-
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
export type ProductTable = {
|
|
6
|
-
/**
|
|
7
|
-
* Product name
|
|
8
|
-
*/
|
|
9
|
-
name: string;
|
|
10
|
-
/**
|
|
11
|
-
* Product Type (Course or Program)
|
|
12
|
-
*/
|
|
13
|
-
type: string;
|
|
14
|
-
/**
|
|
15
|
-
* Gross sales for product
|
|
16
|
-
*/
|
|
17
|
-
total_sales: number;
|
|
18
|
-
/**
|
|
19
|
-
* Total of all coupons for product
|
|
20
|
-
*/
|
|
21
|
-
coupons: number;
|
|
22
|
-
/**
|
|
23
|
-
* Net sales for product
|
|
24
|
-
*/
|
|
25
|
-
net_sales: number;
|
|
26
|
-
/**
|
|
27
|
-
* Quantity of product purchased
|
|
28
|
-
*/
|
|
29
|
-
orders: number;
|
|
30
|
-
};
|
|
31
|
-
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
import type { ProductTable } from './ProductTable';
|
|
6
|
-
import type { Summary } from './Summary';
|
|
7
|
-
export type RevenueByProduct = {
|
|
8
|
-
product_table?: Array<ProductTable>;
|
|
9
|
-
summary?: Summary;
|
|
10
|
-
};
|
|
11
|
-
|
package/src/models/Summary.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
export type Summary = {
|
|
6
|
-
/**
|
|
7
|
-
* Total number of products
|
|
8
|
-
*/
|
|
9
|
-
num_products: number;
|
|
10
|
-
/**
|
|
11
|
-
* Total number of items ordered
|
|
12
|
-
*/
|
|
13
|
-
num_orders: number;
|
|
14
|
-
/**
|
|
15
|
-
* Total Net revenue
|
|
16
|
-
*/
|
|
17
|
-
net_revenue: number;
|
|
18
|
-
/**
|
|
19
|
-
* Average Net value per item sold
|
|
20
|
-
*/
|
|
21
|
-
avg_order_value: number;
|
|
22
|
-
};
|
|
23
|
-
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
import type { TimeSpentPerUserResponse } from '../models/TimeSpentPerUserResponse';
|
|
6
|
-
import type { TimeSpentUpdateRequest } from '../models/TimeSpentUpdateRequest';
|
|
7
|
-
import type { TimeSpentUpdateResponse } from '../models/TimeSpentUpdateResponse';
|
|
8
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
9
|
-
import { OpenAPI } from '../core/OpenAPI';
|
|
10
|
-
import { request as __request } from '../core/request';
|
|
11
|
-
export class AnalyticsService {
|
|
12
|
-
/**
|
|
13
|
-
* Update time spent tracking data from client-side events.
|
|
14
|
-
*
|
|
15
|
-
* This endpoint receives time spent data collected on the client side and
|
|
16
|
-
* stores it in the analytics database. It requires a valid authentication token.
|
|
17
|
-
*
|
|
18
|
-
* Methods:
|
|
19
|
-
* POST: Submit time spent tracking data
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* Returns:
|
|
24
|
-
* A response indicating success or failure:
|
|
25
|
-
* {
|
|
26
|
-
* "success": true|false,
|
|
27
|
-
* "message": "Error message if failed" (optional)
|
|
28
|
-
* }
|
|
29
|
-
*
|
|
30
|
-
* Error Responses:
|
|
31
|
-
* 400 Bad Request: If the request data is invalid or the API is disabled
|
|
32
|
-
*
|
|
33
|
-
* Notes:
|
|
34
|
-
* This API must be enabled via the ENABLE_TIME_SPENT_UPDATE_API setting.
|
|
35
|
-
* @returns TimeSpentUpdateResponse
|
|
36
|
-
* @throws ApiError
|
|
37
|
-
*/
|
|
38
|
-
public static analyticsOrgsTimeUpdateCreate({
|
|
39
|
-
org,
|
|
40
|
-
requestBody,
|
|
41
|
-
}: {
|
|
42
|
-
org: string,
|
|
43
|
-
requestBody: TimeSpentUpdateRequest,
|
|
44
|
-
}): CancelablePromise<TimeSpentUpdateResponse> {
|
|
45
|
-
return __request(OpenAPI, {
|
|
46
|
-
method: 'POST',
|
|
47
|
-
url: '/api/analytics/orgs/{org}/time/update/',
|
|
48
|
-
path: {
|
|
49
|
-
'org': org,
|
|
50
|
-
},
|
|
51
|
-
body: requestBody,
|
|
52
|
-
mediaType: 'application/json',
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Get total time spent for current user
|
|
57
|
-
*
|
|
58
|
-
* Returns the total time spent (in seconds) for the current authenticated user.
|
|
59
|
-
* Can be filtered by platform, date range, course ID, URL, mentor UUID, and session UUID.
|
|
60
|
-
*
|
|
61
|
-
* @returns TimeSpentPerUserResponse
|
|
62
|
-
* @throws ApiError
|
|
63
|
-
*/
|
|
64
|
-
public static analyticsTimeSpentUserRetrieve({
|
|
65
|
-
courseId,
|
|
66
|
-
endDate,
|
|
67
|
-
includeMainPlatform = true,
|
|
68
|
-
learnerId,
|
|
69
|
-
mentorUuid,
|
|
70
|
-
platform,
|
|
71
|
-
sessionUuid,
|
|
72
|
-
startDate,
|
|
73
|
-
url,
|
|
74
|
-
}: {
|
|
75
|
-
/**
|
|
76
|
-
* Course ID to filter by (can be partial)
|
|
77
|
-
*/
|
|
78
|
-
courseId?: string,
|
|
79
|
-
/**
|
|
80
|
-
* End date for time range (YYYY-MM-DD)
|
|
81
|
-
*/
|
|
82
|
-
endDate?: string,
|
|
83
|
-
/**
|
|
84
|
-
* Whether to include main platform data
|
|
85
|
-
*/
|
|
86
|
-
includeMainPlatform?: boolean,
|
|
87
|
-
/**
|
|
88
|
-
* Username to get data for (admin users only)
|
|
89
|
-
*/
|
|
90
|
-
learnerId?: string,
|
|
91
|
-
/**
|
|
92
|
-
* Mentor UUID to filter by
|
|
93
|
-
*/
|
|
94
|
-
mentorUuid?: string,
|
|
95
|
-
/**
|
|
96
|
-
* Platform name or key to filter by
|
|
97
|
-
*/
|
|
98
|
-
platform?: string | null,
|
|
99
|
-
/**
|
|
100
|
-
* Session UUID to filter by
|
|
101
|
-
*/
|
|
102
|
-
sessionUuid?: string,
|
|
103
|
-
/**
|
|
104
|
-
* Start date for time range (YYYY-MM-DD)
|
|
105
|
-
*/
|
|
106
|
-
startDate?: string,
|
|
107
|
-
/**
|
|
108
|
-
* URL to filter by (can be partial)
|
|
109
|
-
*/
|
|
110
|
-
url?: string,
|
|
111
|
-
}): CancelablePromise<TimeSpentPerUserResponse> {
|
|
112
|
-
return __request(OpenAPI, {
|
|
113
|
-
method: 'GET',
|
|
114
|
-
url: '/api/analytics/time-spent/user/',
|
|
115
|
-
query: {
|
|
116
|
-
'course_id': courseId,
|
|
117
|
-
'end_date': endDate,
|
|
118
|
-
'include_main_platform': includeMainPlatform,
|
|
119
|
-
'learner_id': learnerId,
|
|
120
|
-
'mentor_uuid': mentorUuid,
|
|
121
|
-
'platform': platform,
|
|
122
|
-
'session_uuid': sessionUuid,
|
|
123
|
-
'start_date': startDate,
|
|
124
|
-
'url': url,
|
|
125
|
-
},
|
|
126
|
-
errors: {
|
|
127
|
-
400: `Bad request`,
|
|
128
|
-
401: `Unauthorized`,
|
|
129
|
-
},
|
|
130
|
-
});
|
|
131
|
-
}
|
|
132
|
-
}
|