@iblai/iblai-api 3.48.3-core → 3.48.4-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 +18251 -2773
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +18245 -2774
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +18251 -2773
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +281 -1
- 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/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/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 +85 -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 +58 -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/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/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/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/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/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/PatchedRbacGroupRole.d.ts +2 -2
- package/dist/types/models/PatchedRbacPolicy.d.ts +2 -2
- package/dist/types/models/PatchedRbacUserRole.d.ts +2 -2
- 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/RbacBaseRole.d.ts +15 -0
- package/dist/types/models/RbacGroupRole.d.ts +2 -2
- package/dist/types/models/RbacPolicy.d.ts +2 -2
- package/dist/types/models/RbacUserRole.d.ts +2 -2
- 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 +17 -0
- package/dist/types/models/RetrieverDocumentEmbeddingRequest.d.ts +30 -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/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/TrainChatSessionDocumentView.d.ts +6 -0
- package/dist/types/models/TrainChatSessionDocumentViewRequest.d.ts +6 -0
- package/dist/types/models/TrainDocumentViewRequest.d.ts +42 -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/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 +3899 -0
- package/dist/types/services/AiIndexService.d.ts +407 -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 +4743 -0
- package/dist/types/services/AiPromptService.d.ts +1034 -0
- package/dist/types/services/AnalyticsService.d.ts +42 -13
- package/dist/types/services/AudienceService.d.ts +345 -149
- package/dist/types/services/CareerService.d.ts +117 -90
- package/dist/types/services/CatalogService.d.ts +3735 -1072
- package/dist/types/services/CoreService.d.ts +441 -210
- package/dist/types/services/CredentialsService.d.ts +173 -138
- package/dist/types/services/DepartmentsService.d.ts +53 -16
- package/dist/types/services/EngagementService.d.ts +459 -179
- package/dist/types/services/FeaturesService.d.ts +16 -7
- package/dist/types/services/FinanceService.d.ts +49 -20
- package/dist/types/services/MediaResourcesService.d.ts +243 -67
- package/dist/types/services/NotificationBuilderService.d.ts +31 -17
- package/dist/types/services/NotificationService.d.ts +56 -49
- package/dist/types/services/OrgsService.d.ts +106 -77
- package/dist/types/services/OverviewService.d.ts +154 -55
- package/dist/types/services/PerformanceService.d.ts +132 -56
- package/dist/types/services/PerlearnerService.d.ts +431 -217
- package/dist/types/services/PlatformService.d.ts +221 -116
- package/dist/types/services/ProviderAssociationService.d.ts +3 -2
- package/dist/types/services/ProvidersService.d.ts +27 -18
- package/dist/types/services/ProvisionService.d.ts +3 -2
- package/dist/types/services/RecommendationsService.d.ts +3 -3
- package/dist/types/services/ReportsService.d.ts +22 -16
- package/dist/types/services/RolesService.d.ts +8 -6
- package/dist/types/services/SearchService.d.ts +1023 -80
- package/dist/types/services/ServiceService.d.ts +33 -29
- package/dist/types/services/SkillsService.d.ts +40 -32
- package/dist/types/services/UserGroupsService.d.ts +53 -16
- package/package.json +1 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +281 -1
- 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/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/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 +90 -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 +63 -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/MetricChange.ts +9 -0
- 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/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/PaginatedPeriodicAgentList.ts +12 -0
- package/src/models/PaginatedPeriodicAgentLogList.ts +12 -0
- package/src/models/PaginatedPlayWrightScriptList.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/PaginatedUnitList.ts +12 -0
- package/src/models/PaginatedUserEdxMemoryList.ts +12 -0
- package/src/models/PaginatedVoiceList.ts +12 -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/PatchedRbacGroupRole.ts +2 -2
- package/src/models/PatchedRbacPolicy.ts +2 -2
- package/src/models/PatchedRbacUserRole.ts +2 -2
- 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/RbacBaseRole.ts +20 -0
- package/src/models/RbacGroupRole.ts +2 -2
- package/src/models/RbacPolicy.ts +2 -2
- package/src/models/RbacUserRole.ts +2 -2
- 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 +22 -0
- package/src/models/RetrieverDocumentEmbeddingRequest.ts +35 -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/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/TrainChatSessionDocumentView.ts +11 -0
- package/src/models/TrainChatSessionDocumentViewRequest.ts +11 -0
- package/src/models/TrainDocumentViewRequest.ts +47 -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/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 +6439 -0
- package/src/services/AiIndexService.ts +718 -0
- package/src/services/AiMarketingService.ts +96 -0
- package/src/services/AiMediaService.ts +289 -0
- package/src/services/AiMentorService.ts +8817 -0
- package/src/services/AiPromptService.ts +1980 -0
- package/src/services/AnalyticsService.ts +45 -16
- package/src/services/AudienceService.ts +380 -184
- package/src/services/CareerService.ts +144 -117
- package/src/services/CatalogService.ts +3995 -1332
- package/src/services/CoreService.ts +543 -286
- package/src/services/CredentialsService.ts +253 -173
- package/src/services/DepartmentsService.ts +56 -19
- package/src/services/EngagementService.ts +528 -236
- package/src/services/FeaturesService.ts +19 -10
- package/src/services/FinanceService.ts +54 -25
- package/src/services/MediaResourcesService.ts +251 -75
- package/src/services/NotificationBuilderService.ts +36 -22
- package/src/services/NotificationService.ts +73 -61
- package/src/services/OrgsService.ts +135 -106
- package/src/services/OverviewService.ts +172 -73
- package/src/services/PerformanceService.ts +153 -77
- package/src/services/PerlearnerService.ts +591 -279
- package/src/services/PlatformService.ts +278 -157
- package/src/services/ProviderAssociationService.ts +4 -3
- package/src/services/ProvidersService.ts +36 -27
- package/src/services/ProvisionService.ts +4 -3
- package/src/services/RecommendationsService.ts +5 -4
- package/src/services/ReportsService.ts +28 -22
- package/src/services/RolesService.ts +10 -8
- package/src/services/SearchService.ts +1553 -298
- package/src/services/ServiceService.ts +49 -39
- package/src/services/SkillsService.ts +56 -44
- package/src/services/UserGroupsService.ts +56 -19
|
@@ -11,15 +11,22 @@ import { request as __request } from '../core/request';
|
|
|
11
11
|
export class FeaturesService {
|
|
12
12
|
/**
|
|
13
13
|
* Returns a list of the apps that the user has access to.
|
|
14
|
-
* @param page A page number within the paginated result set.
|
|
15
|
-
* @param pageSize Number of results to return per page.
|
|
16
14
|
* @returns PaginatedUserAppList
|
|
17
15
|
* @throws ApiError
|
|
18
16
|
*/
|
|
19
|
-
public static featuresAppsList(
|
|
17
|
+
public static featuresAppsList({
|
|
18
|
+
page,
|
|
19
|
+
pageSize,
|
|
20
|
+
}: {
|
|
21
|
+
/**
|
|
22
|
+
* A page number within the paginated result set.
|
|
23
|
+
*/
|
|
20
24
|
page?: number,
|
|
25
|
+
/**
|
|
26
|
+
* Number of results to return per page.
|
|
27
|
+
*/
|
|
21
28
|
pageSize?: number,
|
|
22
|
-
): CancelablePromise<PaginatedUserAppList> {
|
|
29
|
+
}): CancelablePromise<PaginatedUserAppList> {
|
|
23
30
|
return __request(OpenAPI, {
|
|
24
31
|
method: 'GET',
|
|
25
32
|
url: '/api/features/apps/',
|
|
@@ -31,13 +38,14 @@ export class FeaturesService {
|
|
|
31
38
|
}
|
|
32
39
|
/**
|
|
33
40
|
* Updates the user onboarding completed status
|
|
34
|
-
* @param requestBody
|
|
35
41
|
* @returns OnboardingStatusUpdate
|
|
36
42
|
* @throws ApiError
|
|
37
43
|
*/
|
|
38
|
-
public static featuresAppsUpdateCreate(
|
|
44
|
+
public static featuresAppsUpdateCreate({
|
|
45
|
+
requestBody,
|
|
46
|
+
}: {
|
|
39
47
|
requestBody: OnboardingStatusUpdate,
|
|
40
|
-
): CancelablePromise<OnboardingStatusUpdate> {
|
|
48
|
+
}): CancelablePromise<OnboardingStatusUpdate> {
|
|
41
49
|
return __request(OpenAPI, {
|
|
42
50
|
method: 'POST',
|
|
43
51
|
url: '/api/features/apps/update/',
|
|
@@ -51,13 +59,14 @@ export class FeaturesService {
|
|
|
51
59
|
* Set free_trial_started to True| false for the user app
|
|
52
60
|
*
|
|
53
61
|
* App URL or ID is required as well as the platform key
|
|
54
|
-
* @param requestBody
|
|
55
62
|
* @returns ActivateUserFreeTrial
|
|
56
63
|
* @throws ApiError
|
|
57
64
|
*/
|
|
58
|
-
public static featuresAppsUpdateTrialStatusCreate(
|
|
65
|
+
public static featuresAppsUpdateTrialStatusCreate({
|
|
66
|
+
requestBody,
|
|
67
|
+
}: {
|
|
59
68
|
requestBody: ActivateUserFreeTrial,
|
|
60
|
-
): CancelablePromise<ActivateUserFreeTrial> {
|
|
69
|
+
}): CancelablePromise<ActivateUserFreeTrial> {
|
|
61
70
|
return __request(OpenAPI, {
|
|
62
71
|
method: 'POST',
|
|
63
72
|
url: '/api/features/apps/update-trial-status/',
|
|
@@ -12,13 +12,14 @@ import { request as __request } from '../core/request';
|
|
|
12
12
|
export class FinanceService {
|
|
13
13
|
/**
|
|
14
14
|
* Returns table listing products and product info for all or specific org
|
|
15
|
-
* @param org
|
|
16
15
|
* @returns Product
|
|
17
16
|
* @throws ApiError
|
|
18
17
|
*/
|
|
19
|
-
public static financeOrgsProductsRetrieve(
|
|
18
|
+
public static financeOrgsProductsRetrieve({
|
|
19
|
+
org,
|
|
20
|
+
}: {
|
|
20
21
|
org: string,
|
|
21
|
-
): CancelablePromise<Product> {
|
|
22
|
+
}): CancelablePromise<Product> {
|
|
22
23
|
return __request(OpenAPI, {
|
|
23
24
|
method: 'GET',
|
|
24
25
|
url: '/api/finance/orgs/{org}/products',
|
|
@@ -29,19 +30,26 @@ export class FinanceService {
|
|
|
29
30
|
}
|
|
30
31
|
/**
|
|
31
32
|
* Return list of WooCommerce orders for product item_id over optional date range
|
|
32
|
-
* @param itemId
|
|
33
|
-
* @param org
|
|
34
|
-
* @param endDate End of date range, not-inclusive. ISO8601 Date or DateTime. Dates will have 00:00:00 set as the time.
|
|
35
|
-
* @param startDate Start of date range, not-inclusive. ISO8601 Date or DateTime. Dates will have 00:00:00 set as the time.
|
|
36
33
|
* @returns Order
|
|
37
34
|
* @throws ApiError
|
|
38
35
|
*/
|
|
39
|
-
public static financeOrgsProductsOrdersRetrieve(
|
|
36
|
+
public static financeOrgsProductsOrdersRetrieve({
|
|
37
|
+
itemId,
|
|
38
|
+
org,
|
|
39
|
+
endDate,
|
|
40
|
+
startDate,
|
|
41
|
+
}: {
|
|
40
42
|
itemId: string,
|
|
41
43
|
org: string,
|
|
44
|
+
/**
|
|
45
|
+
* End of date range, not-inclusive. ISO8601 Date or DateTime. Dates will have 00:00:00 set as the time.
|
|
46
|
+
*/
|
|
42
47
|
endDate?: string,
|
|
48
|
+
/**
|
|
49
|
+
* Start of date range, not-inclusive. ISO8601 Date or DateTime. Dates will have 00:00:00 set as the time.
|
|
50
|
+
*/
|
|
43
51
|
startDate?: string,
|
|
44
|
-
): CancelablePromise<Order> {
|
|
52
|
+
}): CancelablePromise<Order> {
|
|
45
53
|
return __request(OpenAPI, {
|
|
46
54
|
method: 'GET',
|
|
47
55
|
url: '/api/finance/orgs/{org}/products/{item_id}/orders',
|
|
@@ -57,19 +65,26 @@ export class FinanceService {
|
|
|
57
65
|
}
|
|
58
66
|
/**
|
|
59
67
|
* Returns Net Revenue over time for org and slug
|
|
60
|
-
* @param itemId
|
|
61
|
-
* @param org
|
|
62
|
-
* @param endDate End of date range, not-inclusive. ISO8601 Date or DateTime. Dates will have 00:00:00 set as the time.
|
|
63
|
-
* @param startDate Start of date range, not-inclusive. ISO8601 Date or DateTime. Dates will have 00:00:00 set as the time.
|
|
64
68
|
* @returns NetRevenueOverTime
|
|
65
69
|
* @throws ApiError
|
|
66
70
|
*/
|
|
67
|
-
public static financeOrgsProductsSalesOverTimeRetrieve(
|
|
71
|
+
public static financeOrgsProductsSalesOverTimeRetrieve({
|
|
72
|
+
itemId,
|
|
73
|
+
org,
|
|
74
|
+
endDate,
|
|
75
|
+
startDate,
|
|
76
|
+
}: {
|
|
68
77
|
itemId: string,
|
|
69
78
|
org: string,
|
|
79
|
+
/**
|
|
80
|
+
* End of date range, not-inclusive. ISO8601 Date or DateTime. Dates will have 00:00:00 set as the time.
|
|
81
|
+
*/
|
|
70
82
|
endDate?: string,
|
|
83
|
+
/**
|
|
84
|
+
* Start of date range, not-inclusive. ISO8601 Date or DateTime. Dates will have 00:00:00 set as the time.
|
|
85
|
+
*/
|
|
71
86
|
startDate?: string,
|
|
72
|
-
): CancelablePromise<NetRevenueOverTime> {
|
|
87
|
+
}): CancelablePromise<NetRevenueOverTime> {
|
|
73
88
|
return __request(OpenAPI, {
|
|
74
89
|
method: 'GET',
|
|
75
90
|
url: '/api/finance/orgs/{org}/products/{item_id}/sales-over-time',
|
|
@@ -85,17 +100,24 @@ export class FinanceService {
|
|
|
85
100
|
}
|
|
86
101
|
/**
|
|
87
102
|
* Returns Net Revenue over time for org and slug
|
|
88
|
-
* @param org
|
|
89
|
-
* @param endDate End of date range, not-inclusive. ISO8601 Date or DateTime. Dates will have 00:00:00 set as the time.
|
|
90
|
-
* @param startDate Start of date range, not-inclusive. ISO8601 Date or DateTime. Dates will have 00:00:00 set as the time.
|
|
91
103
|
* @returns NetRevenueOverTime
|
|
92
104
|
* @throws ApiError
|
|
93
105
|
*/
|
|
94
|
-
public static financeOrgsRevenueNetOverTimeRetrieve(
|
|
106
|
+
public static financeOrgsRevenueNetOverTimeRetrieve({
|
|
107
|
+
org,
|
|
108
|
+
endDate,
|
|
109
|
+
startDate,
|
|
110
|
+
}: {
|
|
95
111
|
org: string,
|
|
112
|
+
/**
|
|
113
|
+
* End of date range, not-inclusive. ISO8601 Date or DateTime. Dates will have 00:00:00 set as the time.
|
|
114
|
+
*/
|
|
96
115
|
endDate?: string,
|
|
116
|
+
/**
|
|
117
|
+
* Start of date range, not-inclusive. ISO8601 Date or DateTime. Dates will have 00:00:00 set as the time.
|
|
118
|
+
*/
|
|
97
119
|
startDate?: string,
|
|
98
|
-
): CancelablePromise<NetRevenueOverTime> {
|
|
120
|
+
}): CancelablePromise<NetRevenueOverTime> {
|
|
99
121
|
return __request(OpenAPI, {
|
|
100
122
|
method: 'GET',
|
|
101
123
|
url: '/api/finance/orgs/{org}/revenue/net-over-time',
|
|
@@ -110,17 +132,24 @@ export class FinanceService {
|
|
|
110
132
|
}
|
|
111
133
|
/**
|
|
112
134
|
* Returns Revenue by Product + summary for specific org
|
|
113
|
-
* @param org
|
|
114
|
-
* @param endDate End of date range, not-inclusive. ISO8601 Date or DateTime. Dates will have 00:00:00 set as the time.
|
|
115
|
-
* @param startDate Start of date range, not-inclusive. ISO8601 Date or DateTime. Dates will have 00:00:00 set as the time.
|
|
116
135
|
* @returns RevenueByProduct
|
|
117
136
|
* @throws ApiError
|
|
118
137
|
*/
|
|
119
|
-
public static financeOrgsRevenueProductsRetrieve(
|
|
138
|
+
public static financeOrgsRevenueProductsRetrieve({
|
|
139
|
+
org,
|
|
140
|
+
endDate,
|
|
141
|
+
startDate,
|
|
142
|
+
}: {
|
|
120
143
|
org: string,
|
|
144
|
+
/**
|
|
145
|
+
* End of date range, not-inclusive. ISO8601 Date or DateTime. Dates will have 00:00:00 set as the time.
|
|
146
|
+
*/
|
|
121
147
|
endDate?: string,
|
|
148
|
+
/**
|
|
149
|
+
* Start of date range, not-inclusive. ISO8601 Date or DateTime. Dates will have 00:00:00 set as the time.
|
|
150
|
+
*/
|
|
122
151
|
startDate?: string,
|
|
123
|
-
): CancelablePromise<RevenueByProduct> {
|
|
152
|
+
}): CancelablePromise<RevenueByProduct> {
|
|
124
153
|
return __request(OpenAPI, {
|
|
125
154
|
method: 'GET',
|
|
126
155
|
url: '/api/finance/orgs/{org}/revenue/products',
|
|
@@ -10,27 +10,52 @@ import { request as __request } from '../core/request';
|
|
|
10
10
|
export class MediaResourcesService {
|
|
11
11
|
/**
|
|
12
12
|
* List and filter media resources. Supports filtering by course_id, unit_id, item_id and searching across multiple fields.
|
|
13
|
-
* @param org Organization identifier
|
|
14
|
-
* @param userId User identifier
|
|
15
|
-
* @param courseId Filter by course ID (e.g., course-v1:main+NB101+2025-T1)
|
|
16
|
-
* @param itemId Filter by item ID
|
|
17
|
-
* @param page A page number within the paginated result set.
|
|
18
|
-
* @param pageSize Number of results to return per page.
|
|
19
|
-
* @param search Search across title, description, course_id, unit_id, item_id, and file_url
|
|
20
|
-
* @param unitId Filter by unit ID (e.g., block-v1:main+NB101+2025-T1+type@vertical+block@12345)
|
|
21
13
|
* @returns any Successfully retrieved media resources
|
|
22
14
|
* @throws ApiError
|
|
23
15
|
*/
|
|
24
|
-
public static mediaOrgsUsersMediaMediaResourcesList(
|
|
16
|
+
public static mediaOrgsUsersMediaMediaResourcesList({
|
|
17
|
+
org,
|
|
18
|
+
userId,
|
|
19
|
+
courseId,
|
|
20
|
+
itemId,
|
|
21
|
+
page,
|
|
22
|
+
pageSize,
|
|
23
|
+
search,
|
|
24
|
+
unitId,
|
|
25
|
+
}: {
|
|
26
|
+
/**
|
|
27
|
+
* Organization identifier
|
|
28
|
+
*/
|
|
25
29
|
org: string,
|
|
30
|
+
/**
|
|
31
|
+
* User identifier
|
|
32
|
+
*/
|
|
26
33
|
userId: string,
|
|
34
|
+
/**
|
|
35
|
+
* Filter by course ID (e.g., course-v1:main+NB101+2025-T1)
|
|
36
|
+
*/
|
|
27
37
|
courseId?: string,
|
|
38
|
+
/**
|
|
39
|
+
* Filter by item ID
|
|
40
|
+
*/
|
|
28
41
|
itemId?: string,
|
|
42
|
+
/**
|
|
43
|
+
* A page number within the paginated result set.
|
|
44
|
+
*/
|
|
29
45
|
page?: number,
|
|
46
|
+
/**
|
|
47
|
+
* Number of results to return per page.
|
|
48
|
+
*/
|
|
30
49
|
pageSize?: number,
|
|
50
|
+
/**
|
|
51
|
+
* Search across title, description, course_id, unit_id, item_id, and file_url
|
|
52
|
+
*/
|
|
31
53
|
search?: string,
|
|
54
|
+
/**
|
|
55
|
+
* Filter by unit ID (e.g., block-v1:main+NB101+2025-T1+type@vertical+block@12345)
|
|
56
|
+
*/
|
|
32
57
|
unitId?: string,
|
|
33
|
-
): CancelablePromise<any> {
|
|
58
|
+
}): CancelablePromise<any> {
|
|
34
59
|
return __request(OpenAPI, {
|
|
35
60
|
method: 'GET',
|
|
36
61
|
url: '/api/media/orgs/{org}/users/{user_id}/media/media-resources/',
|
|
@@ -50,25 +75,44 @@ export class MediaResourcesService {
|
|
|
50
75
|
}
|
|
51
76
|
/**
|
|
52
77
|
* List and filter media resources. Supports filtering by course_id, unit_id, item_id and searching across multiple fields.
|
|
53
|
-
* @param org Organization identifier
|
|
54
|
-
* @param userId User identifier
|
|
55
|
-
* @param requestBody
|
|
56
|
-
* @param courseId Filter by course ID (e.g., course-v1:main+NB101+2025-T1)
|
|
57
|
-
* @param itemId Filter by item ID
|
|
58
|
-
* @param search Search across title, description, course_id, unit_id, item_id, and file_url
|
|
59
|
-
* @param unitId Filter by unit ID (e.g., block-v1:main+NB101+2025-T1+type@vertical+block@12345)
|
|
60
78
|
* @returns any Successfully retrieved media resources
|
|
61
79
|
* @throws ApiError
|
|
62
80
|
*/
|
|
63
|
-
public static mediaOrgsUsersMediaMediaResourcesCreate(
|
|
81
|
+
public static mediaOrgsUsersMediaMediaResourcesCreate({
|
|
82
|
+
org,
|
|
83
|
+
userId,
|
|
84
|
+
requestBody,
|
|
85
|
+
courseId,
|
|
86
|
+
itemId,
|
|
87
|
+
search,
|
|
88
|
+
unitId,
|
|
89
|
+
}: {
|
|
90
|
+
/**
|
|
91
|
+
* Organization identifier
|
|
92
|
+
*/
|
|
64
93
|
org: string,
|
|
94
|
+
/**
|
|
95
|
+
* User identifier
|
|
96
|
+
*/
|
|
65
97
|
userId: string,
|
|
66
98
|
requestBody: MediaResource,
|
|
99
|
+
/**
|
|
100
|
+
* Filter by course ID (e.g., course-v1:main+NB101+2025-T1)
|
|
101
|
+
*/
|
|
67
102
|
courseId?: string,
|
|
103
|
+
/**
|
|
104
|
+
* Filter by item ID
|
|
105
|
+
*/
|
|
68
106
|
itemId?: string,
|
|
107
|
+
/**
|
|
108
|
+
* Search across title, description, course_id, unit_id, item_id, and file_url
|
|
109
|
+
*/
|
|
69
110
|
search?: string,
|
|
111
|
+
/**
|
|
112
|
+
* Filter by unit ID (e.g., block-v1:main+NB101+2025-T1+type@vertical+block@12345)
|
|
113
|
+
*/
|
|
70
114
|
unitId?: string,
|
|
71
|
-
): CancelablePromise<any> {
|
|
115
|
+
}): CancelablePromise<any> {
|
|
72
116
|
return __request(OpenAPI, {
|
|
73
117
|
method: 'POST',
|
|
74
118
|
url: '/api/media/orgs/{org}/users/{user_id}/media/media-resources/',
|
|
@@ -88,25 +132,47 @@ export class MediaResourcesService {
|
|
|
88
132
|
}
|
|
89
133
|
/**
|
|
90
134
|
* List and filter media resources. Supports filtering by course_id, unit_id, item_id and searching across multiple fields.
|
|
91
|
-
* @param id A unique integer value identifying this Media Resource.
|
|
92
|
-
* @param org Organization identifier
|
|
93
|
-
* @param userId User identifier
|
|
94
|
-
* @param courseId Filter by course ID (e.g., course-v1:main+NB101+2025-T1)
|
|
95
|
-
* @param itemId Filter by item ID
|
|
96
|
-
* @param search Search across title, description, course_id, unit_id, item_id, and file_url
|
|
97
|
-
* @param unitId Filter by unit ID (e.g., block-v1:main+NB101+2025-T1+type@vertical+block@12345)
|
|
98
135
|
* @returns any Successfully retrieved media resources
|
|
99
136
|
* @throws ApiError
|
|
100
137
|
*/
|
|
101
|
-
public static mediaOrgsUsersMediaMediaResourcesRetrieve(
|
|
138
|
+
public static mediaOrgsUsersMediaMediaResourcesRetrieve({
|
|
139
|
+
id,
|
|
140
|
+
org,
|
|
141
|
+
userId,
|
|
142
|
+
courseId,
|
|
143
|
+
itemId,
|
|
144
|
+
search,
|
|
145
|
+
unitId,
|
|
146
|
+
}: {
|
|
147
|
+
/**
|
|
148
|
+
* A unique integer value identifying this Media Resource.
|
|
149
|
+
*/
|
|
102
150
|
id: number,
|
|
151
|
+
/**
|
|
152
|
+
* Organization identifier
|
|
153
|
+
*/
|
|
103
154
|
org: string,
|
|
155
|
+
/**
|
|
156
|
+
* User identifier
|
|
157
|
+
*/
|
|
104
158
|
userId: string,
|
|
159
|
+
/**
|
|
160
|
+
* Filter by course ID (e.g., course-v1:main+NB101+2025-T1)
|
|
161
|
+
*/
|
|
105
162
|
courseId?: string,
|
|
163
|
+
/**
|
|
164
|
+
* Filter by item ID
|
|
165
|
+
*/
|
|
106
166
|
itemId?: string,
|
|
167
|
+
/**
|
|
168
|
+
* Search across title, description, course_id, unit_id, item_id, and file_url
|
|
169
|
+
*/
|
|
107
170
|
search?: string,
|
|
171
|
+
/**
|
|
172
|
+
* Filter by unit ID (e.g., block-v1:main+NB101+2025-T1+type@vertical+block@12345)
|
|
173
|
+
*/
|
|
108
174
|
unitId?: string,
|
|
109
|
-
): CancelablePromise<any> {
|
|
175
|
+
}): CancelablePromise<any> {
|
|
110
176
|
return __request(OpenAPI, {
|
|
111
177
|
method: 'GET',
|
|
112
178
|
url: '/api/media/orgs/{org}/users/{user_id}/media/media-resources/{id}/',
|
|
@@ -125,27 +191,49 @@ export class MediaResourcesService {
|
|
|
125
191
|
}
|
|
126
192
|
/**
|
|
127
193
|
* List and filter media resources. Supports filtering by course_id, unit_id, item_id and searching across multiple fields.
|
|
128
|
-
* @param id A unique integer value identifying this Media Resource.
|
|
129
|
-
* @param org Organization identifier
|
|
130
|
-
* @param userId User identifier
|
|
131
|
-
* @param requestBody
|
|
132
|
-
* @param courseId Filter by course ID (e.g., course-v1:main+NB101+2025-T1)
|
|
133
|
-
* @param itemId Filter by item ID
|
|
134
|
-
* @param search Search across title, description, course_id, unit_id, item_id, and file_url
|
|
135
|
-
* @param unitId Filter by unit ID (e.g., block-v1:main+NB101+2025-T1+type@vertical+block@12345)
|
|
136
194
|
* @returns any Successfully retrieved media resources
|
|
137
195
|
* @throws ApiError
|
|
138
196
|
*/
|
|
139
|
-
public static mediaOrgsUsersMediaMediaResourcesUpdate(
|
|
197
|
+
public static mediaOrgsUsersMediaMediaResourcesUpdate({
|
|
198
|
+
id,
|
|
199
|
+
org,
|
|
200
|
+
userId,
|
|
201
|
+
requestBody,
|
|
202
|
+
courseId,
|
|
203
|
+
itemId,
|
|
204
|
+
search,
|
|
205
|
+
unitId,
|
|
206
|
+
}: {
|
|
207
|
+
/**
|
|
208
|
+
* A unique integer value identifying this Media Resource.
|
|
209
|
+
*/
|
|
140
210
|
id: number,
|
|
211
|
+
/**
|
|
212
|
+
* Organization identifier
|
|
213
|
+
*/
|
|
141
214
|
org: string,
|
|
215
|
+
/**
|
|
216
|
+
* User identifier
|
|
217
|
+
*/
|
|
142
218
|
userId: string,
|
|
143
219
|
requestBody: MediaResource,
|
|
220
|
+
/**
|
|
221
|
+
* Filter by course ID (e.g., course-v1:main+NB101+2025-T1)
|
|
222
|
+
*/
|
|
144
223
|
courseId?: string,
|
|
224
|
+
/**
|
|
225
|
+
* Filter by item ID
|
|
226
|
+
*/
|
|
145
227
|
itemId?: string,
|
|
228
|
+
/**
|
|
229
|
+
* Search across title, description, course_id, unit_id, item_id, and file_url
|
|
230
|
+
*/
|
|
146
231
|
search?: string,
|
|
232
|
+
/**
|
|
233
|
+
* Filter by unit ID (e.g., block-v1:main+NB101+2025-T1+type@vertical+block@12345)
|
|
234
|
+
*/
|
|
147
235
|
unitId?: string,
|
|
148
|
-
): CancelablePromise<any> {
|
|
236
|
+
}): CancelablePromise<any> {
|
|
149
237
|
return __request(OpenAPI, {
|
|
150
238
|
method: 'PUT',
|
|
151
239
|
url: '/api/media/orgs/{org}/users/{user_id}/media/media-resources/{id}/',
|
|
@@ -166,27 +254,49 @@ export class MediaResourcesService {
|
|
|
166
254
|
}
|
|
167
255
|
/**
|
|
168
256
|
* List and filter media resources. Supports filtering by course_id, unit_id, item_id and searching across multiple fields.
|
|
169
|
-
* @param id A unique integer value identifying this Media Resource.
|
|
170
|
-
* @param org Organization identifier
|
|
171
|
-
* @param userId User identifier
|
|
172
|
-
* @param courseId Filter by course ID (e.g., course-v1:main+NB101+2025-T1)
|
|
173
|
-
* @param itemId Filter by item ID
|
|
174
|
-
* @param search Search across title, description, course_id, unit_id, item_id, and file_url
|
|
175
|
-
* @param unitId Filter by unit ID (e.g., block-v1:main+NB101+2025-T1+type@vertical+block@12345)
|
|
176
|
-
* @param requestBody
|
|
177
257
|
* @returns any Successfully retrieved media resources
|
|
178
258
|
* @throws ApiError
|
|
179
259
|
*/
|
|
180
|
-
public static mediaOrgsUsersMediaMediaResourcesPartialUpdate(
|
|
260
|
+
public static mediaOrgsUsersMediaMediaResourcesPartialUpdate({
|
|
261
|
+
id,
|
|
262
|
+
org,
|
|
263
|
+
userId,
|
|
264
|
+
courseId,
|
|
265
|
+
itemId,
|
|
266
|
+
search,
|
|
267
|
+
unitId,
|
|
268
|
+
requestBody,
|
|
269
|
+
}: {
|
|
270
|
+
/**
|
|
271
|
+
* A unique integer value identifying this Media Resource.
|
|
272
|
+
*/
|
|
181
273
|
id: number,
|
|
274
|
+
/**
|
|
275
|
+
* Organization identifier
|
|
276
|
+
*/
|
|
182
277
|
org: string,
|
|
278
|
+
/**
|
|
279
|
+
* User identifier
|
|
280
|
+
*/
|
|
183
281
|
userId: string,
|
|
282
|
+
/**
|
|
283
|
+
* Filter by course ID (e.g., course-v1:main+NB101+2025-T1)
|
|
284
|
+
*/
|
|
184
285
|
courseId?: string,
|
|
286
|
+
/**
|
|
287
|
+
* Filter by item ID
|
|
288
|
+
*/
|
|
185
289
|
itemId?: string,
|
|
290
|
+
/**
|
|
291
|
+
* Search across title, description, course_id, unit_id, item_id, and file_url
|
|
292
|
+
*/
|
|
186
293
|
search?: string,
|
|
294
|
+
/**
|
|
295
|
+
* Filter by unit ID (e.g., block-v1:main+NB101+2025-T1+type@vertical+block@12345)
|
|
296
|
+
*/
|
|
187
297
|
unitId?: string,
|
|
188
298
|
requestBody?: PatchedMediaResource,
|
|
189
|
-
): CancelablePromise<any> {
|
|
299
|
+
}): CancelablePromise<any> {
|
|
190
300
|
return __request(OpenAPI, {
|
|
191
301
|
method: 'PATCH',
|
|
192
302
|
url: '/api/media/orgs/{org}/users/{user_id}/media/media-resources/{id}/',
|
|
@@ -207,25 +317,47 @@ export class MediaResourcesService {
|
|
|
207
317
|
}
|
|
208
318
|
/**
|
|
209
319
|
* List and filter media resources. Supports filtering by course_id, unit_id, item_id and searching across multiple fields.
|
|
210
|
-
* @param id A unique integer value identifying this Media Resource.
|
|
211
|
-
* @param org Organization identifier
|
|
212
|
-
* @param userId User identifier
|
|
213
|
-
* @param courseId Filter by course ID (e.g., course-v1:main+NB101+2025-T1)
|
|
214
|
-
* @param itemId Filter by item ID
|
|
215
|
-
* @param search Search across title, description, course_id, unit_id, item_id, and file_url
|
|
216
|
-
* @param unitId Filter by unit ID (e.g., block-v1:main+NB101+2025-T1+type@vertical+block@12345)
|
|
217
320
|
* @returns any Successfully retrieved media resources
|
|
218
321
|
* @throws ApiError
|
|
219
322
|
*/
|
|
220
|
-
public static mediaOrgsUsersMediaMediaResourcesDestroy(
|
|
323
|
+
public static mediaOrgsUsersMediaMediaResourcesDestroy({
|
|
324
|
+
id,
|
|
325
|
+
org,
|
|
326
|
+
userId,
|
|
327
|
+
courseId,
|
|
328
|
+
itemId,
|
|
329
|
+
search,
|
|
330
|
+
unitId,
|
|
331
|
+
}: {
|
|
332
|
+
/**
|
|
333
|
+
* A unique integer value identifying this Media Resource.
|
|
334
|
+
*/
|
|
221
335
|
id: number,
|
|
336
|
+
/**
|
|
337
|
+
* Organization identifier
|
|
338
|
+
*/
|
|
222
339
|
org: string,
|
|
340
|
+
/**
|
|
341
|
+
* User identifier
|
|
342
|
+
*/
|
|
223
343
|
userId: string,
|
|
344
|
+
/**
|
|
345
|
+
* Filter by course ID (e.g., course-v1:main+NB101+2025-T1)
|
|
346
|
+
*/
|
|
224
347
|
courseId?: string,
|
|
348
|
+
/**
|
|
349
|
+
* Filter by item ID
|
|
350
|
+
*/
|
|
225
351
|
itemId?: string,
|
|
352
|
+
/**
|
|
353
|
+
* Search across title, description, course_id, unit_id, item_id, and file_url
|
|
354
|
+
*/
|
|
226
355
|
search?: string,
|
|
356
|
+
/**
|
|
357
|
+
* Filter by unit ID (e.g., block-v1:main+NB101+2025-T1+type@vertical+block@12345)
|
|
358
|
+
*/
|
|
227
359
|
unitId?: string,
|
|
228
|
-
): CancelablePromise<any> {
|
|
360
|
+
}): CancelablePromise<any> {
|
|
229
361
|
return __request(OpenAPI, {
|
|
230
362
|
method: 'DELETE',
|
|
231
363
|
url: '/api/media/orgs/{org}/users/{user_id}/media/media-resources/{id}/',
|
|
@@ -244,25 +376,47 @@ export class MediaResourcesService {
|
|
|
244
376
|
}
|
|
245
377
|
/**
|
|
246
378
|
* Get media resources for a specific item. The item_type determines which resources are returned based on the provided item_id.
|
|
247
|
-
* @param itemId ID of the item
|
|
248
|
-
* @param itemType Type of item. Valid values: course, unit, resource, course_unit, course_resource, unit_resource, all
|
|
249
|
-
* @param org Organization identifier
|
|
250
|
-
* @param userId User identifier
|
|
251
|
-
* @param courseId Filter by course ID (e.g., course-v1:main+NB101+2025-T1)
|
|
252
|
-
* @param search Search across title, description, course_id, unit_id, item_id, and file_url
|
|
253
|
-
* @param unitId Filter by unit ID (e.g., block-v1:main+NB101+2025-T1+type@vertical+block@12345)
|
|
254
379
|
* @returns any Successfully retrieved media resources for item
|
|
255
380
|
* @throws ApiError
|
|
256
381
|
*/
|
|
257
|
-
public static mediaOrgsUsersMediaMediaResourcesByItemRetrieve(
|
|
382
|
+
public static mediaOrgsUsersMediaMediaResourcesByItemRetrieve({
|
|
383
|
+
itemId,
|
|
384
|
+
itemType,
|
|
385
|
+
org,
|
|
386
|
+
userId,
|
|
387
|
+
courseId,
|
|
388
|
+
search,
|
|
389
|
+
unitId,
|
|
390
|
+
}: {
|
|
391
|
+
/**
|
|
392
|
+
* ID of the item
|
|
393
|
+
*/
|
|
258
394
|
itemId: string,
|
|
395
|
+
/**
|
|
396
|
+
* Type of item. Valid values: course, unit, resource, course_unit, course_resource, unit_resource, all
|
|
397
|
+
*/
|
|
259
398
|
itemType: 'all' | 'course' | 'course_resource' | 'course_unit' | 'resource' | 'unit' | 'unit_resource',
|
|
399
|
+
/**
|
|
400
|
+
* Organization identifier
|
|
401
|
+
*/
|
|
260
402
|
org: string,
|
|
403
|
+
/**
|
|
404
|
+
* User identifier
|
|
405
|
+
*/
|
|
261
406
|
userId: string,
|
|
407
|
+
/**
|
|
408
|
+
* Filter by course ID (e.g., course-v1:main+NB101+2025-T1)
|
|
409
|
+
*/
|
|
262
410
|
courseId?: string,
|
|
411
|
+
/**
|
|
412
|
+
* Search across title, description, course_id, unit_id, item_id, and file_url
|
|
413
|
+
*/
|
|
263
414
|
search?: string,
|
|
415
|
+
/**
|
|
416
|
+
* Filter by unit ID (e.g., block-v1:main+NB101+2025-T1+type@vertical+block@12345)
|
|
417
|
+
*/
|
|
264
418
|
unitId?: string,
|
|
265
|
-
): CancelablePromise<any> {
|
|
419
|
+
}): CancelablePromise<any> {
|
|
266
420
|
return __request(OpenAPI, {
|
|
267
421
|
method: 'GET',
|
|
268
422
|
url: '/api/media/orgs/{org}/users/{user_id}/media/media-resources/by_item/',
|
|
@@ -281,25 +435,47 @@ export class MediaResourcesService {
|
|
|
281
435
|
}
|
|
282
436
|
/**
|
|
283
437
|
* Search media resources by title, description, or IDs. Supports filtering results by course_id, unit_id, and item_id.
|
|
284
|
-
* @param org Organization identifier
|
|
285
|
-
* @param q Search query string
|
|
286
|
-
* @param userId User identifier
|
|
287
|
-
* @param courseId Filter results by course ID
|
|
288
|
-
* @param itemId Filter results by item ID
|
|
289
|
-
* @param search Search across title, description, course_id, unit_id, item_id, and file_url
|
|
290
|
-
* @param unitId Filter results by unit ID
|
|
291
438
|
* @returns any Successfully searched media resources
|
|
292
439
|
* @throws ApiError
|
|
293
440
|
*/
|
|
294
|
-
public static mediaOrgsUsersMediaMediaResourcesSearchRetrieve(
|
|
441
|
+
public static mediaOrgsUsersMediaMediaResourcesSearchRetrieve({
|
|
442
|
+
org,
|
|
443
|
+
q,
|
|
444
|
+
userId,
|
|
445
|
+
courseId,
|
|
446
|
+
itemId,
|
|
447
|
+
search,
|
|
448
|
+
unitId,
|
|
449
|
+
}: {
|
|
450
|
+
/**
|
|
451
|
+
* Organization identifier
|
|
452
|
+
*/
|
|
295
453
|
org: string,
|
|
454
|
+
/**
|
|
455
|
+
* Search query string
|
|
456
|
+
*/
|
|
296
457
|
q: string,
|
|
458
|
+
/**
|
|
459
|
+
* User identifier
|
|
460
|
+
*/
|
|
297
461
|
userId: string,
|
|
462
|
+
/**
|
|
463
|
+
* Filter results by course ID
|
|
464
|
+
*/
|
|
298
465
|
courseId?: string,
|
|
466
|
+
/**
|
|
467
|
+
* Filter results by item ID
|
|
468
|
+
*/
|
|
299
469
|
itemId?: string,
|
|
470
|
+
/**
|
|
471
|
+
* Search across title, description, course_id, unit_id, item_id, and file_url
|
|
472
|
+
*/
|
|
300
473
|
search?: string,
|
|
474
|
+
/**
|
|
475
|
+
* Filter results by unit ID
|
|
476
|
+
*/
|
|
301
477
|
unitId?: string,
|
|
302
|
-
): CancelablePromise<any> {
|
|
478
|
+
}): CancelablePromise<any> {
|
|
303
479
|
return __request(OpenAPI, {
|
|
304
480
|
method: 'GET',
|
|
305
481
|
url: '/api/media/orgs/{org}/users/{user_id}/media/media-resources/search/',
|