@iblai/iblai-api 3.48.3-ai-plus → 3.48.4-core
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 +3068 -19088
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3069 -19080
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +3068 -19088
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +1 -320
- package/dist/types/models/NotificationSource.d.ts +2 -2
- 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/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/{NotificationSourceTypeEnum.d.ts → TypeEnum.d.ts} +1 -1
- 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 +421 -215
- 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 +305 -488
- 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 +1 -320
- package/src/models/NotificationSource.ts +2 -2
- package/src/models/PatchedRbacGroupRole.ts +2 -2
- package/src/models/PatchedRbacPolicy.ts +2 -2
- package/src/models/PatchedRbacUserRole.ts +2 -2
- package/src/models/RbacGroupRole.ts +2 -2
- package/src/models/RbacPolicy.ts +2 -2
- package/src/models/RbacUserRole.ts +2 -2
- package/src/models/{NotificationSourceTypeEnum.ts → TypeEnum.ts} +1 -1
- 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 +503 -311
- 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 +523 -1018
- package/src/services/ServiceService.ts +49 -39
- package/src/services/SkillsService.ts +56 -44
- package/src/services/UserGroupsService.ts +56 -19
- package/dist/types/models/AIGeneratedImage.d.ts +0 -13
- package/dist/types/models/AIUserProfileMemoryRelation.d.ts +0 -4
- package/dist/types/models/AIUserProfileRequest.d.ts +0 -4
- package/dist/types/models/APITokenCost.d.ts +0 -14
- package/dist/types/models/AccessEnum.d.ts +0 -8
- package/dist/types/models/AlignMentorBubbleEnum.d.ts +0 -8
- package/dist/types/models/AnalyticsOverview.d.ts +0 -7
- package/dist/types/models/Answer.d.ts +0 -11
- package/dist/types/models/AssumedKnowledge.d.ts +0 -4
- package/dist/types/models/AssumedKnowledgeLevel.d.ts +0 -4
- package/dist/types/models/AudioToTextRequest.d.ts +0 -3
- package/dist/types/models/AudioToTextResponse.d.ts +0 -3
- package/dist/types/models/Bot.d.ts +0 -15
- package/dist/types/models/BotCommand.d.ts +0 -6
- package/dist/types/models/BotCreate.d.ts +0 -12
- package/dist/types/models/CallAuthenticationRequest.d.ts +0 -13
- package/dist/types/models/CallAuthenticationResponse.d.ts +0 -21
- package/dist/types/models/ChatHistory.d.ts +0 -8
- package/dist/types/models/ChatHistoryFilterData.d.ts +0 -9
- package/dist/types/models/ChatHistoryFilterUser.d.ts +0 -5
- package/dist/types/models/ChatHistoryItem.d.ts +0 -5
- package/dist/types/models/ChatHistorySessionId.d.ts +0 -3
- package/dist/types/models/ChatSessionRequest.d.ts +0 -10
- package/dist/types/models/ChatSessionResponse.d.ts +0 -5
- package/dist/types/models/CheckDocumentTrainingStatus.d.ts +0 -10
- package/dist/types/models/ComponentBlock.d.ts +0 -9
- package/dist/types/models/ComponentBlockTypeEnum.d.ts +0 -8
- package/dist/types/models/ConversationMessage.d.ts +0 -11
- package/dist/types/models/ConversationRating.d.ts +0 -6
- package/dist/types/models/ConversationSummary.d.ts +0 -5
- package/dist/types/models/ConversationVolume.d.ts +0 -4
- package/dist/types/models/Conversations.d.ts +0 -28
- package/dist/types/models/Cost.d.ts +0 -3
- package/dist/types/models/CostPerTenant.d.ts +0 -6
- package/dist/types/models/CourseCreationTask.d.ts +0 -31
- package/dist/types/models/CourseCreationTaskFile.d.ts +0 -7
- package/dist/types/models/CourseCreationTaskStatusEnum.d.ts +0 -16
- package/dist/types/models/CredentialRequest.d.ts +0 -14
- package/dist/types/models/CrontabSchedule.d.ts +0 -22
- package/dist/types/models/CustomInstructionResponse.d.ts +0 -13
- package/dist/types/models/DataSet.d.ts +0 -21
- package/dist/types/models/DataSetCreate.d.ts +0 -12
- package/dist/types/models/DataSetStatusEnum.d.ts +0 -12
- package/dist/types/models/DateRange.d.ts +0 -4
- package/dist/types/models/DiscordConfig.d.ts +0 -7
- package/dist/types/models/DiscordUserConfig.d.ts +0 -10
- package/dist/types/models/DiscordWebhook.d.ts +0 -6
- package/dist/types/models/Document.d.ts +0 -41
- package/dist/types/models/DocumentFacet.d.ts +0 -17
- package/dist/types/models/DocumentSearchResponse.d.ts +0 -35
- package/dist/types/models/DocumentSettingsResponse.d.ts +0 -3
- package/dist/types/models/EdxCourse.d.ts +0 -11
- package/dist/types/models/ElevenlabsCustomVoice.d.ts +0 -4
- package/dist/types/models/ElevenlabsCustomVoiceResponse.d.ts +0 -8
- package/dist/types/models/EmailPromptDetail.d.ts +0 -13
- package/dist/types/models/EmailPromptList.d.ts +0 -11
- package/dist/types/models/EmailPromptSummary.d.ts +0 -5
- package/dist/types/models/FreeUsageCount.d.ts +0 -3
- package/dist/types/models/FullCourse.d.ts +0 -13
- package/dist/types/models/GreetingMethodEnum.d.ts +0 -8
- package/dist/types/models/GuidedPromptsResponse.d.ts +0 -3
- package/dist/types/models/HeygenMarketingVideoDetail.d.ts +0 -8
- package/dist/types/models/HeygenMarketingVideoList.d.ts +0 -6
- package/dist/types/models/HeygenTemplateRequest.d.ts +0 -5
- package/dist/types/models/HeygenTemplateResponseSingle.d.ts +0 -6
- package/dist/types/models/HeygenVideoDetail.d.ts +0 -8
- package/dist/types/models/HeygenVideoRequest.d.ts +0 -5
- package/dist/types/models/IBLAIPlatformMeta.d.ts +0 -3
- package/dist/types/models/IBLAIPlatformMetaRequest.d.ts +0 -6
- package/dist/types/models/IBLAIPlatformMetaUpdateRequest.d.ts +0 -10
- package/dist/types/models/InputQuestion.d.ts +0 -6
- package/dist/types/models/IntegrationCredential.d.ts +0 -8
- package/dist/types/models/IntialQuestionAnswer.d.ts +0 -3
- package/dist/types/models/JobRun.d.ts +0 -11
- package/dist/types/models/KindEnum.d.ts +0 -10
- package/dist/types/models/LLMCredentialRequest.d.ts +0 -14
- package/dist/types/models/LLMCredentialResponse.d.ts +0 -8
- package/dist/types/models/LLMModelForTenant.d.ts +0 -6
- package/dist/types/models/LLMQuestion.d.ts +0 -15
- package/dist/types/models/LLMResponse.d.ts +0 -14
- package/dist/types/models/LLMTracesListResponse.d.ts +0 -5
- package/dist/types/models/LanguagesView.d.ts +0 -5
- package/dist/types/models/LinkCourseRequest.d.ts +0 -3
- package/dist/types/models/LinkCourseResponse.d.ts +0 -5
- package/dist/types/models/MCPServer.d.ts +0 -21
- package/dist/types/models/MemoryComponentData.d.ts +0 -5
- package/dist/types/models/MemoryComponentMemory.d.ts +0 -4
- package/dist/types/models/MemoryComponentMemoryDetail.d.ts +0 -8
- package/dist/types/models/MemoryComponentResponse.d.ts +0 -5
- package/dist/types/models/MemoryProgress.d.ts +0 -8
- package/dist/types/models/MemoryStatusRequestView.d.ts +0 -6
- package/dist/types/models/MemoryStatusView.d.ts +0 -6
- package/dist/types/models/Mentor.d.ts +0 -85
- package/dist/types/models/MentorAudience.d.ts +0 -5
- package/dist/types/models/MentorCategory.d.ts +0 -9
- package/dist/types/models/MentorCategoryCreate.d.ts +0 -11
- package/dist/types/models/MentorCategoryGroup.d.ts +0 -11
- package/dist/types/models/MentorCategoryGroupCreate.d.ts +0 -11
- package/dist/types/models/MentorCreate.d.ts +0 -84
- package/dist/types/models/MentorCustomVoice.d.ts +0 -4
- package/dist/types/models/MentorCustomVoiceResponse.d.ts +0 -4
- package/dist/types/models/MentorData.d.ts +0 -7
- package/dist/types/models/MentorDetailAnalytics.d.ts +0 -6
- package/dist/types/models/MentorEval.d.ts +0 -11
- package/dist/types/models/MentorEvalQuestion.d.ts +0 -5
- package/dist/types/models/MentorEvalQuestionRequest.d.ts +0 -4
- package/dist/types/models/MentorEvalReport.d.ts +0 -10
- package/dist/types/models/MentorEvalRequest.d.ts +0 -8
- package/dist/types/models/MentorFacet.d.ts +0 -17
- package/dist/types/models/MentorFork.d.ts +0 -5
- package/dist/types/models/MentorFromTemplateRequest.d.ts +0 -4
- package/dist/types/models/MentorFromTemplateWithSettingRequest.d.ts +0 -47
- package/dist/types/models/MentorMemorySettingsRequest.d.ts +0 -6
- package/dist/types/models/MentorMemorySettingsResponse.d.ts +0 -6
- package/dist/types/models/MentorMetadata.d.ts +0 -5
- package/dist/types/models/MentorScenario.d.ts +0 -6
- package/dist/types/models/MentorScenarioPrompt.d.ts +0 -5
- package/dist/types/models/MentorSearchResponse.d.ts +0 -35
- package/dist/types/models/MentorSession.d.ts +0 -4
- package/dist/types/models/MentorSettings.d.ts +0 -58
- package/dist/types/models/MentorSettingsPublic.d.ts +0 -46
- package/dist/types/models/MentorSettingsRequest.d.ts +0 -62
- package/dist/types/models/MentorVisibilityEnum.d.ts +0 -10
- package/dist/types/models/MentorWizard.d.ts +0 -4
- package/dist/types/models/MessageStatistics.d.ts +0 -5
- package/dist/types/models/MessageView.d.ts +0 -10
- package/dist/types/models/MessageViewRequest.d.ts +0 -7
- package/dist/types/models/MessageViewUpdatResponse.d.ts +0 -3
- package/dist/types/models/Metadata.d.ts +0 -5
- package/dist/types/models/MetricChange.d.ts +0 -4
- package/dist/types/models/ModelCost.d.ts +0 -4
- package/dist/types/models/ModerationLog.d.ts +0 -11
- package/dist/types/models/NoChatMessagesFound.d.ts +0 -3
- package/dist/types/models/NullEnum.d.ts +0 -1
- package/dist/types/models/PageContent.d.ts +0 -6
- package/dist/types/models/PaginatedAIGeneratedImageList.d.ts +0 -7
- package/dist/types/models/PaginatedConversationsList.d.ts +0 -7
- package/dist/types/models/PaginatedCourseCreationTaskFileList.d.ts +0 -7
- package/dist/types/models/PaginatedCourseCreationTaskList.d.ts +0 -7
- package/dist/types/models/PaginatedDataSetList.d.ts +0 -7
- package/dist/types/models/PaginatedEdxCourseList.d.ts +0 -7
- package/dist/types/models/PaginatedEmailPromptListList.d.ts +0 -7
- package/dist/types/models/PaginatedHeygenMarketingVideoListList.d.ts +0 -7
- package/dist/types/models/PaginatedHeygenTemplateResponseSingleList.d.ts +0 -7
- package/dist/types/models/PaginatedJobRunList.d.ts +0 -7
- package/dist/types/models/PaginatedMCPServerList.d.ts +0 -7
- package/dist/types/models/PaginatedMentorList.d.ts +0 -7
- package/dist/types/models/PaginatedModerationLogList.d.ts +0 -7
- package/dist/types/models/PaginatedPeriodicAgentList.d.ts +0 -7
- package/dist/types/models/PaginatedPeriodicAgentLogList.d.ts +0 -7
- package/dist/types/models/PaginatedPlayWrightScriptList.d.ts +0 -7
- package/dist/types/models/PaginatedSectionList.d.ts +0 -7
- package/dist/types/models/PaginatedSubSectionList.d.ts +0 -7
- package/dist/types/models/PaginatedTopicStatisticsResponse.d.ts +0 -7
- package/dist/types/models/PaginatedTrainingList.d.ts +0 -7
- package/dist/types/models/PaginatedUnitList.d.ts +0 -7
- package/dist/types/models/PaginatedUserEdxMemoryList.d.ts +0 -7
- package/dist/types/models/PaginatedVoiceList.d.ts +0 -7
- package/dist/types/models/PatchedBotCommand.d.ts +0 -6
- package/dist/types/models/PatchedBotCreate.d.ts +0 -12
- package/dist/types/models/PatchedConversations.d.ts +0 -28
- package/dist/types/models/PatchedCourseCreationTaskFile.d.ts +0 -7
- package/dist/types/models/PatchedCredentialRequest.d.ts +0 -14
- package/dist/types/models/PatchedDataSet.d.ts +0 -21
- package/dist/types/models/PatchedDiscordConfig.d.ts +0 -7
- package/dist/types/models/PatchedDiscordUserConfig.d.ts +0 -10
- package/dist/types/models/PatchedLLMCredentialRequest.d.ts +0 -14
- package/dist/types/models/PatchedMCPServer.d.ts +0 -21
- package/dist/types/models/PatchedMentorCategoryGroupCreate.d.ts +0 -11
- package/dist/types/models/PatchedMentorCreate.d.ts +0 -84
- package/dist/types/models/PatchedPeriodicAgentCreate.d.ts +0 -41
- package/dist/types/models/PatchedPlayWrightScript.d.ts +0 -12
- package/dist/types/models/PatchedPrompt.d.ts +0 -22
- package/dist/types/models/PatchedSection.d.ts +0 -9
- package/dist/types/models/PatchedSlackConfig.d.ts +0 -8
- package/dist/types/models/PatchedSlackUserConfig.d.ts +0 -17
- package/dist/types/models/PatchedSubSection.d.ts +0 -9
- package/dist/types/models/PatchedTeamsConfig.d.ts +0 -7
- package/dist/types/models/PatchedTrainingCreate.d.ts +0 -31
- package/dist/types/models/PatchedUnit.d.ts +0 -11
- package/dist/types/models/PatchedWebexConfig.d.ts +0 -10
- package/dist/types/models/PatchedWhatsappConfig.d.ts +0 -11
- package/dist/types/models/PatchedWhatsappUserConfig.d.ts +0 -10
- package/dist/types/models/PeriodicAgent.d.ts +0 -42
- package/dist/types/models/PeriodicAgentCreate.d.ts +0 -41
- package/dist/types/models/PeriodicAgentLog.d.ts +0 -11
- package/dist/types/models/PeriodicAgentLogStatusEnum.d.ts +0 -10
- package/dist/types/models/PeriodicTask.d.ts +0 -21
- package/dist/types/models/PieChartData.d.ts +0 -5
- package/dist/types/models/PieChartSegment.d.ts +0 -4
- package/dist/types/models/PinnedMessageCreate.d.ts +0 -9
- package/dist/types/models/PinnedMessageGet.d.ts +0 -7
- package/dist/types/models/PinnedMessageRequest.d.ts +0 -6
- package/dist/types/models/PlayWrightScript.d.ts +0 -12
- package/dist/types/models/PredictiveAnalyticsRequest.d.ts +0 -4
- package/dist/types/models/PredictiveAnalyticsResponse.d.ts +0 -4
- package/dist/types/models/PreviousAgentStatusEnum.d.ts +0 -12
- package/dist/types/models/Prompt.d.ts +0 -22
- package/dist/types/models/PromptCategory.d.ts +0 -7
- package/dist/types/models/PromptFacet.d.ts +0 -17
- package/dist/types/models/PromptSearchResponse.d.ts +0 -35
- package/dist/types/models/PromptVisibilityEnum.d.ts +0 -10
- package/dist/types/models/Provider05cEnum.d.ts +0 -14
- package/dist/types/models/Provider63aEnum.d.ts +0 -6
- package/dist/types/models/QuestionCardTag.d.ts +0 -8
- package/dist/types/models/QuestionRequest.d.ts +0 -15
- package/dist/types/models/QuestionResponse.d.ts +0 -10
- package/dist/types/models/RatingEnum.d.ts +0 -8
- package/dist/types/models/RatingRecord.d.ts +0 -4
- package/dist/types/models/RbacBaseRole.d.ts +0 -15
- package/dist/types/models/RecentlyAccessedMentor.d.ts +0 -8
- package/dist/types/models/RecommendCourseBlock.d.ts +0 -3
- package/dist/types/models/RecommendCourseResponse.d.ts +0 -3
- package/dist/types/models/RecommendedCoursesResponse.d.ts +0 -33
- package/dist/types/models/RelatedText.d.ts +0 -3
- package/dist/types/models/RequestDataVariable.d.ts +0 -14
- package/dist/types/models/ResourceScrappedData.d.ts +0 -13
- package/dist/types/models/ResourceScrappedDataStatusEnum.d.ts +0 -12
- package/dist/types/models/ResponseDataVariable.d.ts +0 -14
- package/dist/types/models/RetreiverTrainViewRequest.d.ts +0 -10
- package/dist/types/models/RetreiverTrainViewResponse.d.ts +0 -6
- package/dist/types/models/RetrieveTask.d.ts +0 -3
- package/dist/types/models/RetrieverDocumentEmbedding.d.ts +0 -17
- package/dist/types/models/RetrieverDocumentEmbeddingRequest.d.ts +0 -30
- package/dist/types/models/RetrieverRequestSearch.d.ts +0 -10
- package/dist/types/models/RetrieverRequestSearchDocument.d.ts +0 -10
- package/dist/types/models/RetrieverResponseSearch.d.ts +0 -7
- package/dist/types/models/ReuestDataVariableList.d.ts +0 -4
- package/dist/types/models/RunMentorEval.d.ts +0 -3
- package/dist/types/models/ScanWebhookRequest.d.ts +0 -6
- package/dist/types/models/ScanWebhookResponse.d.ts +0 -3
- package/dist/types/models/Section.d.ts +0 -9
- package/dist/types/models/SectionWithChildren.d.ts +0 -11
- package/dist/types/models/SeedMentorsView.d.ts +0 -3
- package/dist/types/models/SentimentSummary.d.ts +0 -4
- package/dist/types/models/SessionBrowserScreenshot.d.ts +0 -8
- package/dist/types/models/SessionDetail.d.ts +0 -6
- package/dist/types/models/SessionMemoryStorage.d.ts +0 -6
- package/dist/types/models/ShellLogs.d.ts +0 -3
- package/dist/types/models/SlackConfig.d.ts +0 -8
- package/dist/types/models/SlackUserConfig.d.ts +0 -17
- package/dist/types/models/SlackWebhook.d.ts +0 -6
- package/dist/types/models/SpacedRepetitionLearningPath.d.ts +0 -3
- package/dist/types/models/SpacedRepetitionQuestionStats.d.ts +0 -5
- package/dist/types/models/StarMentor.d.ts +0 -7
- package/dist/types/models/Status6eeEnum.d.ts +0 -12
- package/dist/types/models/Step.d.ts +0 -9
- package/dist/types/models/StepStatusEnum.d.ts +0 -10
- package/dist/types/models/StudentChatMessage.d.ts +0 -4
- package/dist/types/models/StylesView.d.ts +0 -4
- package/dist/types/models/SubSection.d.ts +0 -9
- package/dist/types/models/SubSectionWithChildren.d.ts +0 -11
- package/dist/types/models/TagsView.d.ts +0 -5
- package/dist/types/models/TargetSystemEnum.d.ts +0 -8
- package/dist/types/models/TaskView.d.ts +0 -3
- package/dist/types/models/TeamsConfig.d.ts +0 -7
- package/dist/types/models/TeamsWebhook.d.ts +0 -17
- package/dist/types/models/TemplateMentor.d.ts +0 -9
- package/dist/types/models/TenantMentorTraces.d.ts +0 -6
- package/dist/types/models/ThemeEnum.d.ts +0 -8
- package/dist/types/models/TonesView.d.ts +0 -4
- package/dist/types/models/ToolResponse.d.ts +0 -11
- package/dist/types/models/TopicModel.d.ts +0 -3
- package/dist/types/models/TopicRecord.d.ts +0 -4
- package/dist/types/models/TopicStatistics.d.ts +0 -7
- package/dist/types/models/TopicStatisticsResponse.d.ts +0 -6
- package/dist/types/models/TopicSummaryView.d.ts +0 -4
- package/dist/types/models/TrainChatSessionDocumentView.d.ts +0 -6
- package/dist/types/models/TrainChatSessionDocumentViewRequest.d.ts +0 -6
- package/dist/types/models/TrainDocumentViewRequest.d.ts +0 -42
- package/dist/types/models/TrainDocumentViewResponse.d.ts +0 -15
- package/dist/types/models/Training.d.ts +0 -41
- package/dist/types/models/TrainingCreate.d.ts +0 -31
- package/dist/types/models/TrainingStatusEnum.d.ts +0 -12
- package/dist/types/models/TransportEnum.d.ts +0 -8
- package/dist/types/models/TrendEntry.d.ts +0 -4
- package/dist/types/models/TriggerRequest.d.ts +0 -5
- package/dist/types/models/TriggerResponse.d.ts +0 -6
- package/dist/types/models/TypeC42Enum.d.ts +0 -8
- package/dist/types/models/Unit.d.ts +0 -11
- package/dist/types/models/UnitWithChildren.d.ts +0 -13
- package/dist/types/models/UseMainCreds.d.ts +0 -3
- package/dist/types/models/UserAllChatMemoryView.d.ts +0 -7
- package/dist/types/models/UserCatalogItemMemoryView.d.ts +0 -14
- package/dist/types/models/UserChatByPeriod.d.ts +0 -4
- package/dist/types/models/UserChatFeedback.d.ts +0 -14
- package/dist/types/models/UserChatFeedbackCount.d.ts +0 -4
- package/dist/types/models/UserChatMemoryStatusRequestView.d.ts +0 -6
- package/dist/types/models/UserChatMemoryStatusView.d.ts +0 -6
- package/dist/types/models/UserChatMemoryUpdateView.d.ts +0 -10
- package/dist/types/models/UserCountRecord.d.ts +0 -4
- package/dist/types/models/UserEdxMemory.d.ts +0 -15
- package/dist/types/models/UserMemoryContextRequest.d.ts +0 -13
- package/dist/types/models/UserMemoryContextResponse.d.ts +0 -12
- package/dist/types/models/UserMetric.d.ts +0 -4
- package/dist/types/models/UserMetricsResponse.d.ts +0 -7
- package/dist/types/models/UserSentimentCountView.d.ts +0 -4
- package/dist/types/models/UserTrendByPeriod.d.ts +0 -5
- package/dist/types/models/VectorResult.d.ts +0 -8
- package/dist/types/models/VideoCaption.d.ts +0 -3
- package/dist/types/models/Voice.d.ts +0 -9
- package/dist/types/models/VoiceProviderEnum.d.ts +0 -10
- package/dist/types/models/WebResource.d.ts +0 -9
- package/dist/types/models/WebResourceCard.d.ts +0 -7
- package/dist/types/models/WebResourcesQuery.d.ts +0 -3
- package/dist/types/models/WebexConfig.d.ts +0 -10
- package/dist/types/models/WebexWebhook.d.ts +0 -4
- package/dist/types/models/WhatAppWebHook.d.ts +0 -3
- package/dist/types/models/WhatsappConfig.d.ts +0 -11
- package/dist/types/models/WhatsappUserConfig.d.ts +0 -10
- package/dist/types/services/AiAccountService.d.ts +0 -294
- package/dist/types/services/AiAnalyticsService.d.ts +0 -2801
- package/dist/types/services/AiBotService.d.ts +0 -486
- package/dist/types/services/AiFinetuningService.d.ts +0 -162
- package/dist/types/services/AiIndexService.d.ts +0 -400
- package/dist/types/services/AiMarketingService.d.ts +0 -34
- package/dist/types/services/AiMediaService.d.ts +0 -118
- package/dist/types/services/AiMentorService.d.ts +0 -4235
- package/dist/types/services/AiPromptService.d.ts +0 -920
- package/src/models/AIGeneratedImage.ts +0 -18
- package/src/models/AIUserProfileMemoryRelation.ts +0 -9
- package/src/models/AIUserProfileRequest.ts +0 -9
- package/src/models/APITokenCost.ts +0 -19
- package/src/models/AccessEnum.ts +0 -12
- package/src/models/AlignMentorBubbleEnum.ts +0 -12
- package/src/models/AnalyticsOverview.ts +0 -12
- package/src/models/Answer.ts +0 -16
- package/src/models/AssumedKnowledge.ts +0 -9
- package/src/models/AssumedKnowledgeLevel.ts +0 -9
- package/src/models/AudioToTextRequest.ts +0 -8
- package/src/models/AudioToTextResponse.ts +0 -8
- package/src/models/Bot.ts +0 -20
- package/src/models/BotCommand.ts +0 -11
- package/src/models/BotCreate.ts +0 -17
- package/src/models/CallAuthenticationRequest.ts +0 -18
- package/src/models/CallAuthenticationResponse.ts +0 -26
- package/src/models/ChatHistory.ts +0 -13
- package/src/models/ChatHistoryFilterData.ts +0 -14
- package/src/models/ChatHistoryFilterUser.ts +0 -10
- package/src/models/ChatHistoryItem.ts +0 -10
- package/src/models/ChatHistorySessionId.ts +0 -8
- package/src/models/ChatSessionRequest.ts +0 -15
- package/src/models/ChatSessionResponse.ts +0 -10
- package/src/models/CheckDocumentTrainingStatus.ts +0 -15
- package/src/models/ComponentBlock.ts +0 -14
- package/src/models/ComponentBlockTypeEnum.ts +0 -12
- package/src/models/ConversationMessage.ts +0 -16
- package/src/models/ConversationRating.ts +0 -11
- package/src/models/ConversationSummary.ts +0 -10
- package/src/models/ConversationVolume.ts +0 -9
- package/src/models/Conversations.ts +0 -33
- package/src/models/Cost.ts +0 -8
- package/src/models/CostPerTenant.ts +0 -11
- package/src/models/CourseCreationTask.ts +0 -36
- package/src/models/CourseCreationTaskFile.ts +0 -12
- package/src/models/CourseCreationTaskStatusEnum.ts +0 -20
- package/src/models/CredentialRequest.ts +0 -19
- package/src/models/CrontabSchedule.ts +0 -27
- package/src/models/CustomInstructionResponse.ts +0 -18
- package/src/models/DataSet.ts +0 -26
- package/src/models/DataSetCreate.ts +0 -17
- package/src/models/DataSetStatusEnum.ts +0 -16
- package/src/models/DateRange.ts +0 -9
- package/src/models/DiscordConfig.ts +0 -12
- package/src/models/DiscordUserConfig.ts +0 -15
- package/src/models/DiscordWebhook.ts +0 -11
- package/src/models/Document.ts +0 -46
- package/src/models/DocumentFacet.ts +0 -22
- package/src/models/DocumentSearchResponse.ts +0 -40
- package/src/models/DocumentSettingsResponse.ts +0 -8
- package/src/models/EdxCourse.ts +0 -16
- package/src/models/ElevenlabsCustomVoice.ts +0 -9
- package/src/models/ElevenlabsCustomVoiceResponse.ts +0 -13
- package/src/models/EmailPromptDetail.ts +0 -18
- package/src/models/EmailPromptList.ts +0 -16
- package/src/models/EmailPromptSummary.ts +0 -10
- package/src/models/FreeUsageCount.ts +0 -8
- package/src/models/FullCourse.ts +0 -18
- package/src/models/GreetingMethodEnum.ts +0 -12
- package/src/models/GuidedPromptsResponse.ts +0 -8
- package/src/models/HeygenMarketingVideoDetail.ts +0 -13
- package/src/models/HeygenMarketingVideoList.ts +0 -11
- package/src/models/HeygenTemplateRequest.ts +0 -10
- package/src/models/HeygenTemplateResponseSingle.ts +0 -11
- package/src/models/HeygenVideoDetail.ts +0 -13
- package/src/models/HeygenVideoRequest.ts +0 -10
- package/src/models/IBLAIPlatformMeta.ts +0 -8
- package/src/models/IBLAIPlatformMetaRequest.ts +0 -11
- package/src/models/IBLAIPlatformMetaUpdateRequest.ts +0 -15
- package/src/models/InputQuestion.ts +0 -11
- package/src/models/IntegrationCredential.ts +0 -13
- package/src/models/IntialQuestionAnswer.ts +0 -8
- package/src/models/JobRun.ts +0 -16
- package/src/models/KindEnum.ts +0 -14
- package/src/models/LLMCredentialRequest.ts +0 -19
- package/src/models/LLMCredentialResponse.ts +0 -13
- package/src/models/LLMModelForTenant.ts +0 -11
- package/src/models/LLMQuestion.ts +0 -20
- package/src/models/LLMResponse.ts +0 -19
- package/src/models/LLMTracesListResponse.ts +0 -10
- package/src/models/LanguagesView.ts +0 -10
- package/src/models/LinkCourseRequest.ts +0 -8
- package/src/models/LinkCourseResponse.ts +0 -10
- package/src/models/MCPServer.ts +0 -26
- package/src/models/MemoryComponentData.ts +0 -10
- package/src/models/MemoryComponentMemory.ts +0 -9
- package/src/models/MemoryComponentMemoryDetail.ts +0 -13
- package/src/models/MemoryComponentResponse.ts +0 -10
- package/src/models/MemoryProgress.ts +0 -13
- package/src/models/MemoryStatusRequestView.ts +0 -11
- package/src/models/MemoryStatusView.ts +0 -11
- package/src/models/Mentor.ts +0 -90
- package/src/models/MentorAudience.ts +0 -10
- package/src/models/MentorCategory.ts +0 -14
- package/src/models/MentorCategoryCreate.ts +0 -16
- package/src/models/MentorCategoryGroup.ts +0 -16
- package/src/models/MentorCategoryGroupCreate.ts +0 -16
- package/src/models/MentorCreate.ts +0 -89
- package/src/models/MentorCustomVoice.ts +0 -9
- package/src/models/MentorCustomVoiceResponse.ts +0 -9
- package/src/models/MentorData.ts +0 -12
- package/src/models/MentorDetailAnalytics.ts +0 -11
- package/src/models/MentorEval.ts +0 -16
- package/src/models/MentorEvalQuestion.ts +0 -10
- package/src/models/MentorEvalQuestionRequest.ts +0 -9
- package/src/models/MentorEvalReport.ts +0 -15
- package/src/models/MentorEvalRequest.ts +0 -13
- package/src/models/MentorFacet.ts +0 -22
- package/src/models/MentorFork.ts +0 -10
- package/src/models/MentorFromTemplateRequest.ts +0 -9
- package/src/models/MentorFromTemplateWithSettingRequest.ts +0 -52
- package/src/models/MentorMemorySettingsRequest.ts +0 -11
- package/src/models/MentorMemorySettingsResponse.ts +0 -11
- package/src/models/MentorMetadata.ts +0 -10
- package/src/models/MentorScenario.ts +0 -11
- package/src/models/MentorScenarioPrompt.ts +0 -10
- package/src/models/MentorSearchResponse.ts +0 -40
- package/src/models/MentorSession.ts +0 -9
- package/src/models/MentorSettings.ts +0 -63
- package/src/models/MentorSettingsPublic.ts +0 -51
- package/src/models/MentorSettingsRequest.ts +0 -67
- package/src/models/MentorVisibilityEnum.ts +0 -14
- package/src/models/MentorWizard.ts +0 -9
- package/src/models/MessageStatistics.ts +0 -10
- package/src/models/MessageView.ts +0 -15
- package/src/models/MessageViewRequest.ts +0 -12
- package/src/models/MessageViewUpdatResponse.ts +0 -8
- package/src/models/Metadata.ts +0 -10
- package/src/models/MetricChange.ts +0 -9
- package/src/models/ModelCost.ts +0 -9
- package/src/models/ModerationLog.ts +0 -16
- package/src/models/NoChatMessagesFound.ts +0 -8
- package/src/models/NullEnum.ts +0 -7
- package/src/models/PageContent.ts +0 -11
- package/src/models/PaginatedAIGeneratedImageList.ts +0 -12
- package/src/models/PaginatedConversationsList.ts +0 -12
- package/src/models/PaginatedCourseCreationTaskFileList.ts +0 -12
- package/src/models/PaginatedCourseCreationTaskList.ts +0 -12
- package/src/models/PaginatedDataSetList.ts +0 -12
- package/src/models/PaginatedEdxCourseList.ts +0 -12
- package/src/models/PaginatedEmailPromptListList.ts +0 -12
- package/src/models/PaginatedHeygenMarketingVideoListList.ts +0 -12
- package/src/models/PaginatedHeygenTemplateResponseSingleList.ts +0 -12
- package/src/models/PaginatedJobRunList.ts +0 -12
- package/src/models/PaginatedMCPServerList.ts +0 -12
- package/src/models/PaginatedMentorList.ts +0 -12
- package/src/models/PaginatedModerationLogList.ts +0 -12
- package/src/models/PaginatedPeriodicAgentList.ts +0 -12
- package/src/models/PaginatedPeriodicAgentLogList.ts +0 -12
- package/src/models/PaginatedPlayWrightScriptList.ts +0 -12
- package/src/models/PaginatedSectionList.ts +0 -12
- package/src/models/PaginatedSubSectionList.ts +0 -12
- package/src/models/PaginatedTopicStatisticsResponse.ts +0 -12
- package/src/models/PaginatedTrainingList.ts +0 -12
- package/src/models/PaginatedUnitList.ts +0 -12
- package/src/models/PaginatedUserEdxMemoryList.ts +0 -12
- package/src/models/PaginatedVoiceList.ts +0 -12
- package/src/models/PatchedBotCommand.ts +0 -11
- package/src/models/PatchedBotCreate.ts +0 -17
- package/src/models/PatchedConversations.ts +0 -33
- package/src/models/PatchedCourseCreationTaskFile.ts +0 -12
- package/src/models/PatchedCredentialRequest.ts +0 -19
- package/src/models/PatchedDataSet.ts +0 -26
- package/src/models/PatchedDiscordConfig.ts +0 -12
- package/src/models/PatchedDiscordUserConfig.ts +0 -15
- package/src/models/PatchedLLMCredentialRequest.ts +0 -19
- package/src/models/PatchedMCPServer.ts +0 -26
- package/src/models/PatchedMentorCategoryGroupCreate.ts +0 -16
- package/src/models/PatchedMentorCreate.ts +0 -89
- package/src/models/PatchedPeriodicAgentCreate.ts +0 -46
- package/src/models/PatchedPlayWrightScript.ts +0 -17
- package/src/models/PatchedPrompt.ts +0 -27
- package/src/models/PatchedSection.ts +0 -14
- package/src/models/PatchedSlackConfig.ts +0 -13
- package/src/models/PatchedSlackUserConfig.ts +0 -22
- package/src/models/PatchedSubSection.ts +0 -14
- package/src/models/PatchedTeamsConfig.ts +0 -12
- package/src/models/PatchedTrainingCreate.ts +0 -36
- package/src/models/PatchedUnit.ts +0 -16
- package/src/models/PatchedWebexConfig.ts +0 -15
- package/src/models/PatchedWhatsappConfig.ts +0 -16
- package/src/models/PatchedWhatsappUserConfig.ts +0 -15
- package/src/models/PeriodicAgent.ts +0 -47
- package/src/models/PeriodicAgentCreate.ts +0 -46
- package/src/models/PeriodicAgentLog.ts +0 -16
- package/src/models/PeriodicAgentLogStatusEnum.ts +0 -14
- package/src/models/PeriodicTask.ts +0 -26
- package/src/models/PieChartData.ts +0 -10
- package/src/models/PieChartSegment.ts +0 -9
- package/src/models/PinnedMessageCreate.ts +0 -14
- package/src/models/PinnedMessageGet.ts +0 -12
- package/src/models/PinnedMessageRequest.ts +0 -11
- package/src/models/PlayWrightScript.ts +0 -17
- package/src/models/PredictiveAnalyticsRequest.ts +0 -9
- package/src/models/PredictiveAnalyticsResponse.ts +0 -9
- package/src/models/PreviousAgentStatusEnum.ts +0 -16
- package/src/models/Prompt.ts +0 -27
- package/src/models/PromptCategory.ts +0 -12
- package/src/models/PromptFacet.ts +0 -22
- package/src/models/PromptSearchResponse.ts +0 -40
- package/src/models/PromptVisibilityEnum.ts +0 -14
- package/src/models/Provider05cEnum.ts +0 -18
- package/src/models/Provider63aEnum.ts +0 -10
- package/src/models/QuestionCardTag.ts +0 -13
- package/src/models/QuestionRequest.ts +0 -20
- package/src/models/QuestionResponse.ts +0 -15
- package/src/models/RatingEnum.ts +0 -12
- package/src/models/RatingRecord.ts +0 -9
- package/src/models/RbacBaseRole.ts +0 -20
- package/src/models/RecentlyAccessedMentor.ts +0 -13
- package/src/models/RecommendCourseBlock.ts +0 -8
- package/src/models/RecommendCourseResponse.ts +0 -8
- package/src/models/RecommendedCoursesResponse.ts +0 -38
- package/src/models/RelatedText.ts +0 -8
- package/src/models/RequestDataVariable.ts +0 -19
- package/src/models/ResourceScrappedData.ts +0 -18
- package/src/models/ResourceScrappedDataStatusEnum.ts +0 -16
- package/src/models/ResponseDataVariable.ts +0 -19
- package/src/models/RetreiverTrainViewRequest.ts +0 -15
- package/src/models/RetreiverTrainViewResponse.ts +0 -11
- package/src/models/RetrieveTask.ts +0 -8
- package/src/models/RetrieverDocumentEmbedding.ts +0 -22
- package/src/models/RetrieverDocumentEmbeddingRequest.ts +0 -35
- package/src/models/RetrieverRequestSearch.ts +0 -15
- package/src/models/RetrieverRequestSearchDocument.ts +0 -15
- package/src/models/RetrieverResponseSearch.ts +0 -12
- package/src/models/ReuestDataVariableList.ts +0 -9
- package/src/models/RunMentorEval.ts +0 -8
- package/src/models/ScanWebhookRequest.ts +0 -11
- package/src/models/ScanWebhookResponse.ts +0 -8
- package/src/models/Section.ts +0 -14
- package/src/models/SectionWithChildren.ts +0 -16
- package/src/models/SeedMentorsView.ts +0 -8
- package/src/models/SentimentSummary.ts +0 -9
- package/src/models/SessionBrowserScreenshot.ts +0 -13
- package/src/models/SessionDetail.ts +0 -11
- package/src/models/SessionMemoryStorage.ts +0 -11
- package/src/models/ShellLogs.ts +0 -8
- package/src/models/SlackConfig.ts +0 -13
- package/src/models/SlackUserConfig.ts +0 -22
- package/src/models/SlackWebhook.ts +0 -11
- package/src/models/SpacedRepetitionLearningPath.ts +0 -8
- package/src/models/SpacedRepetitionQuestionStats.ts +0 -10
- package/src/models/StarMentor.ts +0 -12
- package/src/models/Status6eeEnum.ts +0 -16
- package/src/models/Step.ts +0 -14
- package/src/models/StepStatusEnum.ts +0 -14
- package/src/models/StudentChatMessage.ts +0 -9
- package/src/models/StylesView.ts +0 -9
- package/src/models/SubSection.ts +0 -14
- package/src/models/SubSectionWithChildren.ts +0 -16
- package/src/models/TagsView.ts +0 -10
- package/src/models/TargetSystemEnum.ts +0 -12
- package/src/models/TaskView.ts +0 -8
- package/src/models/TeamsConfig.ts +0 -12
- package/src/models/TeamsWebhook.ts +0 -22
- package/src/models/TemplateMentor.ts +0 -14
- package/src/models/TenantMentorTraces.ts +0 -11
- package/src/models/ThemeEnum.ts +0 -12
- package/src/models/TonesView.ts +0 -9
- package/src/models/ToolResponse.ts +0 -16
- package/src/models/TopicModel.ts +0 -8
- package/src/models/TopicRecord.ts +0 -9
- package/src/models/TopicStatistics.ts +0 -12
- package/src/models/TopicStatisticsResponse.ts +0 -11
- package/src/models/TopicSummaryView.ts +0 -9
- package/src/models/TrainChatSessionDocumentView.ts +0 -11
- package/src/models/TrainChatSessionDocumentViewRequest.ts +0 -11
- package/src/models/TrainDocumentViewRequest.ts +0 -47
- package/src/models/TrainDocumentViewResponse.ts +0 -20
- package/src/models/Training.ts +0 -46
- package/src/models/TrainingCreate.ts +0 -36
- package/src/models/TrainingStatusEnum.ts +0 -16
- package/src/models/TransportEnum.ts +0 -12
- package/src/models/TrendEntry.ts +0 -9
- package/src/models/TriggerRequest.ts +0 -10
- package/src/models/TriggerResponse.ts +0 -11
- package/src/models/TypeC42Enum.ts +0 -12
- package/src/models/Unit.ts +0 -16
- package/src/models/UnitWithChildren.ts +0 -18
- package/src/models/UseMainCreds.ts +0 -8
- package/src/models/UserAllChatMemoryView.ts +0 -12
- package/src/models/UserCatalogItemMemoryView.ts +0 -19
- package/src/models/UserChatByPeriod.ts +0 -9
- package/src/models/UserChatFeedback.ts +0 -19
- package/src/models/UserChatFeedbackCount.ts +0 -9
- package/src/models/UserChatMemoryStatusRequestView.ts +0 -11
- package/src/models/UserChatMemoryStatusView.ts +0 -11
- package/src/models/UserChatMemoryUpdateView.ts +0 -15
- package/src/models/UserCountRecord.ts +0 -9
- package/src/models/UserEdxMemory.ts +0 -20
- package/src/models/UserMemoryContextRequest.ts +0 -18
- package/src/models/UserMemoryContextResponse.ts +0 -17
- package/src/models/UserMetric.ts +0 -9
- package/src/models/UserMetricsResponse.ts +0 -12
- package/src/models/UserSentimentCountView.ts +0 -9
- package/src/models/UserTrendByPeriod.ts +0 -10
- package/src/models/VectorResult.ts +0 -13
- package/src/models/VideoCaption.ts +0 -8
- package/src/models/Voice.ts +0 -14
- package/src/models/VoiceProviderEnum.ts +0 -14
- package/src/models/WebResource.ts +0 -14
- package/src/models/WebResourceCard.ts +0 -12
- package/src/models/WebResourcesQuery.ts +0 -8
- package/src/models/WebexConfig.ts +0 -15
- package/src/models/WebexWebhook.ts +0 -9
- package/src/models/WhatAppWebHook.ts +0 -8
- package/src/models/WhatsappConfig.ts +0 -16
- package/src/models/WhatsappUserConfig.ts +0 -15
- package/src/services/AiAccountService.ts +0 -479
- package/src/services/AiAnalyticsService.ts +0 -5198
- package/src/services/AiBotService.ts +0 -1174
- package/src/services/AiFinetuningService.ts +0 -402
- package/src/services/AiIndexService.ts +0 -693
- package/src/services/AiMarketingService.ts +0 -87
- package/src/services/AiMediaService.ts +0 -273
- package/src/services/AiMentorService.ts +0 -7977
- package/src/services/AiPromptService.ts +0 -1771
|
@@ -2,82 +2,12 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
-
import type { DocumentSearchResponse } from '../models/DocumentSearchResponse';
|
|
6
5
|
import type { GlobalCatalogSearchResponse } from '../models/GlobalCatalogSearchResponse';
|
|
7
|
-
import type { MentorSearchResponse } from '../models/MentorSearchResponse';
|
|
8
|
-
import type { PromptSearchResponse } from '../models/PromptSearchResponse';
|
|
9
|
-
import type { RecommendedCoursesResponse } from '../models/RecommendedCoursesResponse';
|
|
10
6
|
import type { UserSearchResponse } from '../models/UserSearchResponse';
|
|
11
7
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
12
8
|
import { OpenAPI } from '../core/OpenAPI';
|
|
13
9
|
import { request as __request } from '../core/request';
|
|
14
10
|
export class SearchService {
|
|
15
|
-
/**
|
|
16
|
-
* Legacy endpoint for backward compatible mentor search
|
|
17
|
-
* @param audience Filter by target audience
|
|
18
|
-
* @param category Filter by mentor category
|
|
19
|
-
* @param createdBy Filter mentors created by specific user
|
|
20
|
-
* @param filterFacet If present, return only facets without results
|
|
21
|
-
* @param id Retrieve a specific mentor by ID
|
|
22
|
-
* @param limit Number of results per page
|
|
23
|
-
* @param llm Filter by language model type
|
|
24
|
-
* @param offset Starting position for pagination
|
|
25
|
-
* @param orderBy Field to sort results by ('created_at', 'recently_accessed_at')
|
|
26
|
-
* @param orderDirection Sort direction ('asc' or 'desc')
|
|
27
|
-
* @param page Page number (1-based, used with page_size)
|
|
28
|
-
* @param pageSize Number of results per page
|
|
29
|
-
* @param query Search term to filter mentors by name or description
|
|
30
|
-
* @param tags Filter by tags
|
|
31
|
-
* @param tenant Filter by tenant/organization
|
|
32
|
-
* @param uniqueId Retrieve a specific mentor by UUID
|
|
33
|
-
* @returns MentorSearchResponse
|
|
34
|
-
* @throws ApiError
|
|
35
|
-
*/
|
|
36
|
-
public static searchAiSearchRetrieve(
|
|
37
|
-
audience?: Array<string>,
|
|
38
|
-
category?: Array<string>,
|
|
39
|
-
createdBy?: string,
|
|
40
|
-
filterFacet: boolean = false,
|
|
41
|
-
id?: number,
|
|
42
|
-
limit: number = 12,
|
|
43
|
-
llm?: Array<string>,
|
|
44
|
-
offset?: number,
|
|
45
|
-
orderBy?: string,
|
|
46
|
-
orderDirection: string = 'desc',
|
|
47
|
-
page?: number,
|
|
48
|
-
pageSize?: number,
|
|
49
|
-
query?: string,
|
|
50
|
-
tags?: Array<string>,
|
|
51
|
-
tenant?: string,
|
|
52
|
-
uniqueId?: string,
|
|
53
|
-
): CancelablePromise<MentorSearchResponse> {
|
|
54
|
-
return __request(OpenAPI, {
|
|
55
|
-
method: 'GET',
|
|
56
|
-
url: '/api/search/ai-search/',
|
|
57
|
-
query: {
|
|
58
|
-
'audience': audience,
|
|
59
|
-
'category': category,
|
|
60
|
-
'created_by': createdBy,
|
|
61
|
-
'filter_facet': filterFacet,
|
|
62
|
-
'id': id,
|
|
63
|
-
'limit': limit,
|
|
64
|
-
'llm': llm,
|
|
65
|
-
'offset': offset,
|
|
66
|
-
'order_by': orderBy,
|
|
67
|
-
'order_direction': orderDirection,
|
|
68
|
-
'page': page,
|
|
69
|
-
'page_size': pageSize,
|
|
70
|
-
'query': query,
|
|
71
|
-
'tags': tags,
|
|
72
|
-
'tenant': tenant,
|
|
73
|
-
'unique_id': uniqueId,
|
|
74
|
-
},
|
|
75
|
-
errors: {
|
|
76
|
-
400: `Bad request`,
|
|
77
|
-
500: `Server error`,
|
|
78
|
-
},
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
11
|
/**
|
|
82
12
|
* Search and filter content across the learning catalog.
|
|
83
13
|
*
|
|
@@ -243,69 +173,157 @@ export class SearchService {
|
|
|
243
173
|
* - Results are cached for performance
|
|
244
174
|
* - The 'resources' content type is only included by default if IBL_ENABLE_RESOURCES_IN_FACET is true
|
|
245
175
|
* - For debugging, add ?debug=true to see detailed information about skill matching
|
|
246
|
-
* @param allowSkillSearch Enable skill-based search
|
|
247
|
-
* @param alphabetical Sort alphabetically by name
|
|
248
|
-
* @param certificate Filter by certificate type
|
|
249
|
-
* @param content Content types to include in results
|
|
250
|
-
* @param courseId Filter by specific course ID
|
|
251
|
-
* @param duration Filter by course duration range
|
|
252
|
-
* @param language Filter by content language
|
|
253
|
-
* @param level Filter by difficulty level
|
|
254
|
-
* @param limit Number of results per page
|
|
255
|
-
* @param offset Starting position for pagination
|
|
256
|
-
* @param orderAscending Sort direction
|
|
257
|
-
* @param orderBy Field to sort results by
|
|
258
|
-
* @param pathwayId Filter by specific pathway ID
|
|
259
|
-
* @param price Filter by price/audit status
|
|
260
|
-
* @param programId Filter by specific program ID
|
|
261
|
-
* @param programType Filter by program type
|
|
262
|
-
* @param promotion Filter by promotion status
|
|
263
|
-
* @param query Search term to filter content by name or description
|
|
264
|
-
* @param resourceType Filter by resource type
|
|
265
|
-
* @param returnFacet Include facet data in response
|
|
266
|
-
* @param returnItems Include items in programs/pathways
|
|
267
|
-
* @param selfPaced Filter by course format
|
|
268
|
-
* @param skillId Filter by specific skill ID
|
|
269
|
-
* @param skills Filter by skills
|
|
270
|
-
* @param subject Filter by subject areas
|
|
271
|
-
* @param tags Filter by tags
|
|
272
|
-
* @param tenant Filter by tenant/organization
|
|
273
|
-
* @param topics Filter by topic areas
|
|
274
|
-
* @param updateFacet Force facet update
|
|
275
176
|
* @returns GlobalCatalogSearchResponse
|
|
276
177
|
* @throws ApiError
|
|
277
178
|
*/
|
|
278
|
-
public static searchCatalogRetrieve(
|
|
279
|
-
allowSkillSearch
|
|
280
|
-
alphabetical
|
|
179
|
+
public static searchCatalogRetrieve({
|
|
180
|
+
allowSkillSearch = false,
|
|
181
|
+
alphabetical = false,
|
|
182
|
+
certificate,
|
|
183
|
+
content,
|
|
184
|
+
courseId,
|
|
185
|
+
duration,
|
|
186
|
+
language,
|
|
187
|
+
level,
|
|
188
|
+
limit = 12,
|
|
189
|
+
offset,
|
|
190
|
+
orderAscending = false,
|
|
191
|
+
orderBy,
|
|
192
|
+
pathwayId,
|
|
193
|
+
price,
|
|
194
|
+
programId,
|
|
195
|
+
programType,
|
|
196
|
+
promotion,
|
|
197
|
+
query,
|
|
198
|
+
resourceType,
|
|
199
|
+
returnFacet = true,
|
|
200
|
+
returnItems = false,
|
|
201
|
+
selfPaced,
|
|
202
|
+
skillId,
|
|
203
|
+
skills,
|
|
204
|
+
subject,
|
|
205
|
+
tags,
|
|
206
|
+
tenant,
|
|
207
|
+
topics,
|
|
208
|
+
updateFacet,
|
|
209
|
+
}: {
|
|
210
|
+
/**
|
|
211
|
+
* Enable skill-based search
|
|
212
|
+
*/
|
|
213
|
+
allowSkillSearch?: boolean,
|
|
214
|
+
/**
|
|
215
|
+
* Sort alphabetically by name
|
|
216
|
+
*/
|
|
217
|
+
alphabetical?: boolean,
|
|
218
|
+
/**
|
|
219
|
+
* Filter by certificate type
|
|
220
|
+
*/
|
|
281
221
|
certificate?: Array<string>,
|
|
222
|
+
/**
|
|
223
|
+
* Content types to include in results
|
|
224
|
+
*/
|
|
282
225
|
content?: Array<string>,
|
|
226
|
+
/**
|
|
227
|
+
* Filter by specific course ID
|
|
228
|
+
*/
|
|
283
229
|
courseId?: string,
|
|
230
|
+
/**
|
|
231
|
+
* Filter by course duration range
|
|
232
|
+
*/
|
|
284
233
|
duration?: Array<string>,
|
|
234
|
+
/**
|
|
235
|
+
* Filter by content language
|
|
236
|
+
*/
|
|
285
237
|
language?: Array<string>,
|
|
238
|
+
/**
|
|
239
|
+
* Filter by difficulty level
|
|
240
|
+
*/
|
|
286
241
|
level?: Array<string>,
|
|
287
|
-
|
|
242
|
+
/**
|
|
243
|
+
* Number of results per page
|
|
244
|
+
*/
|
|
245
|
+
limit?: number,
|
|
246
|
+
/**
|
|
247
|
+
* Starting position for pagination
|
|
248
|
+
*/
|
|
288
249
|
offset?: number,
|
|
289
|
-
|
|
250
|
+
/**
|
|
251
|
+
* Sort direction
|
|
252
|
+
*/
|
|
253
|
+
orderAscending?: boolean,
|
|
254
|
+
/**
|
|
255
|
+
* Field to sort results by
|
|
256
|
+
*/
|
|
290
257
|
orderBy?: string,
|
|
258
|
+
/**
|
|
259
|
+
* Filter by specific pathway ID
|
|
260
|
+
*/
|
|
291
261
|
pathwayId?: string,
|
|
262
|
+
/**
|
|
263
|
+
* Filter by price/audit status
|
|
264
|
+
*/
|
|
292
265
|
price?: string,
|
|
266
|
+
/**
|
|
267
|
+
* Filter by specific program ID
|
|
268
|
+
*/
|
|
293
269
|
programId?: string,
|
|
270
|
+
/**
|
|
271
|
+
* Filter by program type
|
|
272
|
+
*/
|
|
294
273
|
programType?: Array<string>,
|
|
274
|
+
/**
|
|
275
|
+
* Filter by promotion status
|
|
276
|
+
*/
|
|
295
277
|
promotion?: Array<string>,
|
|
278
|
+
/**
|
|
279
|
+
* Search term to filter content by name or description
|
|
280
|
+
*/
|
|
296
281
|
query?: string,
|
|
282
|
+
/**
|
|
283
|
+
* Filter by resource type
|
|
284
|
+
*/
|
|
297
285
|
resourceType?: Array<string>,
|
|
298
|
-
|
|
299
|
-
|
|
286
|
+
/**
|
|
287
|
+
* Include facet data in response
|
|
288
|
+
*/
|
|
289
|
+
returnFacet?: boolean,
|
|
290
|
+
/**
|
|
291
|
+
* Include items in programs/pathways
|
|
292
|
+
*/
|
|
293
|
+
returnItems?: boolean,
|
|
294
|
+
/**
|
|
295
|
+
* Filter by course format
|
|
296
|
+
*/
|
|
300
297
|
selfPaced?: Array<string>,
|
|
298
|
+
/**
|
|
299
|
+
* Filter by specific skill ID
|
|
300
|
+
*/
|
|
301
301
|
skillId?: string,
|
|
302
|
+
/**
|
|
303
|
+
* Filter by skills
|
|
304
|
+
*/
|
|
302
305
|
skills?: Array<string>,
|
|
306
|
+
/**
|
|
307
|
+
* Filter by subject areas
|
|
308
|
+
*/
|
|
303
309
|
subject?: Array<string>,
|
|
310
|
+
/**
|
|
311
|
+
* Filter by tags
|
|
312
|
+
*/
|
|
304
313
|
tags?: Array<string>,
|
|
314
|
+
/**
|
|
315
|
+
* Filter by tenant/organization
|
|
316
|
+
*/
|
|
305
317
|
tenant?: Array<string>,
|
|
318
|
+
/**
|
|
319
|
+
* Filter by topic areas
|
|
320
|
+
*/
|
|
306
321
|
topics?: Array<string>,
|
|
322
|
+
/**
|
|
323
|
+
* Force facet update
|
|
324
|
+
*/
|
|
307
325
|
updateFacet?: string,
|
|
308
|
-
): CancelablePromise<GlobalCatalogSearchResponse> {
|
|
326
|
+
}): CancelablePromise<GlobalCatalogSearchResponse> {
|
|
309
327
|
return __request(OpenAPI, {
|
|
310
328
|
method: 'GET',
|
|
311
329
|
url: '/api/search/catalog/',
|
|
@@ -347,924 +365,411 @@ export class SearchService {
|
|
|
347
365
|
});
|
|
348
366
|
}
|
|
349
367
|
/**
|
|
350
|
-
*
|
|
368
|
+
* Determine whether to serve a detail view or a list view.
|
|
369
|
+
* If any detail-identifying parameters are present (course_id, program_id, etc.)
|
|
370
|
+
* the detail view is returned; otherwise the aggregated list view is returned.
|
|
371
|
+
* @returns any
|
|
372
|
+
* @throws ApiError
|
|
373
|
+
*/
|
|
374
|
+
public static searchPersonalizedCatalogRetrieve({
|
|
375
|
+
username,
|
|
376
|
+
allowSkillSearch = false,
|
|
377
|
+
alphabetical = false,
|
|
378
|
+
certificate,
|
|
379
|
+
content,
|
|
380
|
+
courseId,
|
|
381
|
+
duration,
|
|
382
|
+
language,
|
|
383
|
+
level,
|
|
384
|
+
limit = 12,
|
|
385
|
+
offset,
|
|
386
|
+
orderAscending = false,
|
|
387
|
+
orderBy,
|
|
388
|
+
pathwayId,
|
|
389
|
+
price,
|
|
390
|
+
programId,
|
|
391
|
+
programType,
|
|
392
|
+
promotion,
|
|
393
|
+
query,
|
|
394
|
+
recommended = false,
|
|
395
|
+
resourceId,
|
|
396
|
+
resourceType,
|
|
397
|
+
returnFacet = true,
|
|
398
|
+
returnItems = false,
|
|
399
|
+
roleId,
|
|
400
|
+
selfPaced,
|
|
401
|
+
skillId,
|
|
402
|
+
skills,
|
|
403
|
+
subject,
|
|
404
|
+
tags,
|
|
405
|
+
tenant,
|
|
406
|
+
topics,
|
|
407
|
+
updateFacet,
|
|
408
|
+
}: {
|
|
409
|
+
username: string,
|
|
410
|
+
/**
|
|
411
|
+
* Enable skill-based search
|
|
412
|
+
*/
|
|
413
|
+
allowSkillSearch?: boolean,
|
|
414
|
+
/**
|
|
415
|
+
* Sort alphabetically by name
|
|
416
|
+
*/
|
|
417
|
+
alphabetical?: boolean,
|
|
418
|
+
/**
|
|
419
|
+
* Filter by certificate type
|
|
420
|
+
*/
|
|
421
|
+
certificate?: Array<string>,
|
|
422
|
+
/**
|
|
423
|
+
* Content types to include in results
|
|
424
|
+
*/
|
|
425
|
+
content?: Array<string>,
|
|
426
|
+
/**
|
|
427
|
+
* Retrieve a specific course by ID
|
|
428
|
+
*/
|
|
429
|
+
courseId?: string,
|
|
430
|
+
/**
|
|
431
|
+
* Filter by course duration range
|
|
432
|
+
*/
|
|
433
|
+
duration?: Array<string>,
|
|
434
|
+
/**
|
|
435
|
+
* Filter by content language
|
|
436
|
+
*/
|
|
437
|
+
language?: Array<string>,
|
|
438
|
+
/**
|
|
439
|
+
* Filter by difficulty level
|
|
440
|
+
*/
|
|
441
|
+
level?: Array<string>,
|
|
442
|
+
/**
|
|
443
|
+
* Number of results per page
|
|
444
|
+
*/
|
|
445
|
+
limit?: number,
|
|
446
|
+
/**
|
|
447
|
+
* Starting position for pagination
|
|
448
|
+
*/
|
|
449
|
+
offset?: number,
|
|
450
|
+
/**
|
|
451
|
+
* Sort direction
|
|
452
|
+
*/
|
|
453
|
+
orderAscending?: boolean,
|
|
454
|
+
/**
|
|
455
|
+
* Field to sort results by
|
|
456
|
+
*/
|
|
457
|
+
orderBy?: string,
|
|
458
|
+
/**
|
|
459
|
+
* Retrieve a specific pathway by ID
|
|
460
|
+
*/
|
|
461
|
+
pathwayId?: string,
|
|
462
|
+
/**
|
|
463
|
+
* Filter by price/audit status
|
|
464
|
+
*/
|
|
465
|
+
price?: string,
|
|
466
|
+
/**
|
|
467
|
+
* Retrieve a specific program by ID
|
|
468
|
+
*/
|
|
469
|
+
programId?: string,
|
|
470
|
+
/**
|
|
471
|
+
* Filter by program type
|
|
472
|
+
*/
|
|
473
|
+
programType?: Array<string>,
|
|
474
|
+
/**
|
|
475
|
+
* Filter by promotion status
|
|
476
|
+
*/
|
|
477
|
+
promotion?: Array<string>,
|
|
478
|
+
/**
|
|
479
|
+
* Search term to filter content by name or description
|
|
480
|
+
*/
|
|
481
|
+
query?: string,
|
|
482
|
+
/**
|
|
483
|
+
* Show only recommended content
|
|
484
|
+
*/
|
|
485
|
+
recommended?: boolean,
|
|
486
|
+
/**
|
|
487
|
+
* Retrieve a specific resource by ID
|
|
488
|
+
*/
|
|
489
|
+
resourceId?: string,
|
|
490
|
+
/**
|
|
491
|
+
* Filter by resource type
|
|
492
|
+
*/
|
|
493
|
+
resourceType?: Array<string>,
|
|
494
|
+
/**
|
|
495
|
+
* Include facet data in response
|
|
496
|
+
*/
|
|
497
|
+
returnFacet?: boolean,
|
|
498
|
+
/**
|
|
499
|
+
* Include items in programs/pathways
|
|
500
|
+
*/
|
|
501
|
+
returnItems?: boolean,
|
|
502
|
+
/**
|
|
503
|
+
* Retrieve a specific role by ID
|
|
504
|
+
*/
|
|
505
|
+
roleId?: string,
|
|
506
|
+
/**
|
|
507
|
+
* Filter by course format
|
|
508
|
+
*/
|
|
509
|
+
selfPaced?: Array<string>,
|
|
510
|
+
/**
|
|
511
|
+
* Retrieve a specific skill by ID
|
|
512
|
+
*/
|
|
513
|
+
skillId?: string,
|
|
514
|
+
/**
|
|
515
|
+
* Filter by skills
|
|
516
|
+
*/
|
|
517
|
+
skills?: Array<string>,
|
|
518
|
+
/**
|
|
519
|
+
* Filter by subject areas
|
|
520
|
+
*/
|
|
521
|
+
subject?: Array<string>,
|
|
522
|
+
/**
|
|
523
|
+
* Filter by tags
|
|
524
|
+
*/
|
|
525
|
+
tags?: Array<string>,
|
|
526
|
+
/**
|
|
527
|
+
* Filter by tenant/organization
|
|
528
|
+
*/
|
|
529
|
+
tenant?: Array<string>,
|
|
530
|
+
/**
|
|
531
|
+
* Filter by topic areas
|
|
532
|
+
*/
|
|
533
|
+
topics?: Array<string>,
|
|
534
|
+
/**
|
|
535
|
+
* Force facet update
|
|
536
|
+
*/
|
|
537
|
+
updateFacet?: string,
|
|
538
|
+
}): CancelablePromise<Record<string, any>> {
|
|
539
|
+
return __request(OpenAPI, {
|
|
540
|
+
method: 'GET',
|
|
541
|
+
url: '/api/search/personalized-catalog/{username}/',
|
|
542
|
+
path: {
|
|
543
|
+
'username': username,
|
|
544
|
+
},
|
|
545
|
+
query: {
|
|
546
|
+
'allow_skill_search': allowSkillSearch,
|
|
547
|
+
'alphabetical': alphabetical,
|
|
548
|
+
'certificate': certificate,
|
|
549
|
+
'content': content,
|
|
550
|
+
'course_id': courseId,
|
|
551
|
+
'duration': duration,
|
|
552
|
+
'language': language,
|
|
553
|
+
'level': level,
|
|
554
|
+
'limit': limit,
|
|
555
|
+
'offset': offset,
|
|
556
|
+
'order_ascending': orderAscending,
|
|
557
|
+
'order_by': orderBy,
|
|
558
|
+
'pathway_id': pathwayId,
|
|
559
|
+
'price': price,
|
|
560
|
+
'program_id': programId,
|
|
561
|
+
'program_type': programType,
|
|
562
|
+
'promotion': promotion,
|
|
563
|
+
'query': query,
|
|
564
|
+
'recommended': recommended,
|
|
565
|
+
'resource_id': resourceId,
|
|
566
|
+
'resource_type': resourceType,
|
|
567
|
+
'return_facet': returnFacet,
|
|
568
|
+
'return_items': returnItems,
|
|
569
|
+
'role_id': roleId,
|
|
570
|
+
'self_paced': selfPaced,
|
|
571
|
+
'skill_id': skillId,
|
|
572
|
+
'skills': skills,
|
|
573
|
+
'subject': subject,
|
|
574
|
+
'tags': tags,
|
|
575
|
+
'tenant': tenant,
|
|
576
|
+
'topics': topics,
|
|
577
|
+
'update_facet': updateFacet,
|
|
578
|
+
},
|
|
579
|
+
});
|
|
580
|
+
}
|
|
581
|
+
/**
|
|
582
|
+
* Search and filter users within a specific organization/tenant.
|
|
351
583
|
*
|
|
352
|
-
* This endpoint provides a
|
|
353
|
-
* with support for filtering, pagination, and
|
|
584
|
+
* This endpoint provides a search interface for discovering users within an organization,
|
|
585
|
+
* with support for filtering by departments, pagination, and faceted filtering.
|
|
586
|
+
*
|
|
587
|
+
* Path Parameters:
|
|
588
|
+
* org (str): The organization/tenant identifier
|
|
589
|
+
* username (str): The username of the user making the request
|
|
354
590
|
*
|
|
355
591
|
* Query Parameters:
|
|
356
|
-
* #
|
|
357
|
-
*
|
|
358
|
-
*
|
|
592
|
+
* # Search parameters
|
|
593
|
+
* query (str, optional): Search term to filter users by name, username, or email
|
|
594
|
+
*
|
|
595
|
+
* # Department filtering
|
|
596
|
+
* department_mode (bool, optional): Enable department-based filtering (default: false)
|
|
597
|
+
* user_department (bool, optional): Legacy parameter for department_mode (default: false)
|
|
598
|
+
* department (list, optional): Filter by specific departments
|
|
359
599
|
*
|
|
360
|
-
* #
|
|
361
|
-
*
|
|
362
|
-
*
|
|
363
|
-
*
|
|
364
|
-
*
|
|
365
|
-
* category (list, optional): Filter by mentor category
|
|
366
|
-
* tags (list, optional): Filter by tags
|
|
367
|
-
* created_by (str, optional): Filter mentors created by specific user
|
|
600
|
+
* # Additional filters
|
|
601
|
+
* role (list, optional): Filter by user role
|
|
602
|
+
* status (list, optional): Filter by user status (active, inactive)
|
|
603
|
+
* joined_date (list, optional): Filter by join date range
|
|
604
|
+
* last_login (list, optional): Filter by last login date range
|
|
368
605
|
*
|
|
369
|
-
* #
|
|
370
|
-
*
|
|
371
|
-
* order_direction (str, optional): Sort direction ('asc' or 'desc', default: 'desc')
|
|
372
|
-
* limit (int, optional): Number of results per page (default: 12, max: 100)
|
|
606
|
+
* # Pagination
|
|
607
|
+
* limit (int, optional): Number of results per page (default: 10)
|
|
373
608
|
* offset (int, optional): Starting position for pagination
|
|
374
609
|
*
|
|
375
610
|
* Returns:
|
|
376
|
-
*
|
|
377
|
-
*
|
|
611
|
+
* A JSON response containing:
|
|
612
|
+
* ```
|
|
378
613
|
* {
|
|
379
|
-
* "
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
* "
|
|
391
|
-
* "
|
|
392
|
-
* "
|
|
393
|
-
*
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
* "platform": {
|
|
399
|
-
* "id": 1,
|
|
400
|
-
* "name": "Example University",
|
|
401
|
-
* "key": "example-university"
|
|
614
|
+
* "results": [
|
|
615
|
+
* {
|
|
616
|
+
* "id": 123,
|
|
617
|
+
* "username": "john.doe",
|
|
618
|
+
* "email": "john.doe@example.com",
|
|
619
|
+
* "first_name": "John",
|
|
620
|
+
* "last_name": "Doe",
|
|
621
|
+
* "full_name": "John Doe",
|
|
622
|
+
* "profile_image": "https://example.com/profiles/john-doe.jpg",
|
|
623
|
+
* "role": "Student",
|
|
624
|
+
* "departments": ["Computer Science", "Data Science"],
|
|
625
|
+
* "status": "active",
|
|
626
|
+
* "joined_date": "2023-01-15T12:00:00Z",
|
|
627
|
+
* "last_login": "2023-06-20T15:30:00Z",
|
|
628
|
+
* "metadata": {
|
|
629
|
+
* "location": "New York",
|
|
630
|
+
* "title": "Software Engineer",
|
|
631
|
+
* "bio": "Experienced software engineer with a passion for education"
|
|
632
|
+
* }
|
|
402
633
|
* },
|
|
403
|
-
*
|
|
404
|
-
*
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
*
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
* "
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
* "
|
|
424
|
-
* "
|
|
425
|
-
*
|
|
426
|
-
*
|
|
427
|
-
* }
|
|
428
|
-
*
|
|
429
|
-
*
|
|
430
|
-
*
|
|
431
|
-
*
|
|
432
|
-
*
|
|
433
|
-
*
|
|
434
|
-
*
|
|
435
|
-
*
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
): CancelablePromise<DocumentSearchResponse> {
|
|
546
|
-
return __request(OpenAPI, {
|
|
547
|
-
method: 'GET',
|
|
548
|
-
url: '/api/search/mentors/{mentor_unique_id}/documents/',
|
|
549
|
-
path: {
|
|
550
|
-
'mentor_unique_id': mentorUniqueId,
|
|
551
|
-
},
|
|
552
|
-
query: {
|
|
553
|
-
'access': access,
|
|
554
|
-
'document_type': documentType,
|
|
555
|
-
'limit': limit,
|
|
556
|
-
'offset': offset,
|
|
557
|
-
'order_by': orderBy,
|
|
558
|
-
'order_direction': orderDirection,
|
|
559
|
-
'platform_key': platformKey,
|
|
560
|
-
'query': query,
|
|
561
|
-
'training_status': trainingStatus,
|
|
562
|
-
},
|
|
563
|
-
errors: {
|
|
564
|
-
400: `Bad request`,
|
|
565
|
-
404: `Mentor not found`,
|
|
566
|
-
500: `Server error`,
|
|
567
|
-
},
|
|
568
|
-
});
|
|
569
|
-
}
|
|
570
|
-
/**
|
|
571
|
-
* Handle GET requests for tenant-specific mentor search.
|
|
572
|
-
*
|
|
573
|
-
* Args:
|
|
574
|
-
* request: HTTP request object
|
|
575
|
-
* org: Tenant/organization key
|
|
576
|
-
* username: Username of the user making the request
|
|
577
|
-
*
|
|
578
|
-
* Returns:
|
|
579
|
-
* Response: DRF Response object with search results
|
|
580
|
-
* @param org
|
|
581
|
-
* @param username
|
|
582
|
-
* @param audience Filter by target audience
|
|
583
|
-
* @param category Filter by mentor category
|
|
584
|
-
* @param createdBy Filter mentors created by specific user
|
|
585
|
-
* @param featured Filter by featured status
|
|
586
|
-
* @param id Retrieve a specific mentor by ID
|
|
587
|
-
* @param limit Number of results per page
|
|
588
|
-
* @param llm Filter by language model type
|
|
589
|
-
* @param offset Starting position for pagination
|
|
590
|
-
* @param orderBy Field to sort results by ('created_at', 'recently_accessed_at')
|
|
591
|
-
* @param orderDirection Sort direction ('asc' or 'desc')
|
|
592
|
-
* @param query Search term to filter mentors by name or description
|
|
593
|
-
* @param tags Filter by tags
|
|
594
|
-
* @param tenant Filter by tenant/organization
|
|
595
|
-
* @param uniqueId Retrieve a specific mentor by UUID
|
|
596
|
-
* @returns MentorSearchResponse
|
|
597
|
-
* @throws ApiError
|
|
598
|
-
*/
|
|
599
|
-
public static searchOrgsUsersMentorsRetrieve(
|
|
600
|
-
org: string,
|
|
601
|
-
username: string,
|
|
602
|
-
audience?: Array<string>,
|
|
603
|
-
category?: Array<string>,
|
|
604
|
-
createdBy?: string,
|
|
605
|
-
featured?: boolean,
|
|
606
|
-
id?: number,
|
|
607
|
-
limit: number = 12,
|
|
608
|
-
llm?: Array<string>,
|
|
609
|
-
offset?: number,
|
|
610
|
-
orderBy?: string,
|
|
611
|
-
orderDirection: string = 'desc',
|
|
612
|
-
query?: string,
|
|
613
|
-
tags?: Array<string>,
|
|
614
|
-
tenant?: string,
|
|
615
|
-
uniqueId?: string,
|
|
616
|
-
): CancelablePromise<MentorSearchResponse> {
|
|
617
|
-
return __request(OpenAPI, {
|
|
618
|
-
method: 'GET',
|
|
619
|
-
url: '/api/search/orgs/{org}/users/{username}/mentors/',
|
|
620
|
-
path: {
|
|
621
|
-
'org': org,
|
|
622
|
-
'username': username,
|
|
623
|
-
},
|
|
624
|
-
query: {
|
|
625
|
-
'audience': audience,
|
|
626
|
-
'category': category,
|
|
627
|
-
'created_by': createdBy,
|
|
628
|
-
'featured': featured,
|
|
629
|
-
'id': id,
|
|
630
|
-
'limit': limit,
|
|
631
|
-
'llm': llm,
|
|
632
|
-
'offset': offset,
|
|
633
|
-
'order_by': orderBy,
|
|
634
|
-
'order_direction': orderDirection,
|
|
635
|
-
'query': query,
|
|
636
|
-
'tags': tags,
|
|
637
|
-
'tenant': tenant,
|
|
638
|
-
'unique_id': uniqueId,
|
|
639
|
-
},
|
|
640
|
-
errors: {
|
|
641
|
-
400: `Bad request`,
|
|
642
|
-
500: `Server error`,
|
|
643
|
-
},
|
|
644
|
-
});
|
|
645
|
-
}
|
|
646
|
-
/**
|
|
647
|
-
* Search and filter AI prompts for a specific user within a tenant.
|
|
648
|
-
*
|
|
649
|
-
* This endpoint extends the base prompt search functionality but filters results
|
|
650
|
-
* to only show prompts that are available to a specific user within a specific
|
|
651
|
-
* organization/tenant.
|
|
652
|
-
*
|
|
653
|
-
* Path Parameters:
|
|
654
|
-
* org (str): The organization/tenant identifier
|
|
655
|
-
* username (str): The username to filter prompts for
|
|
656
|
-
*
|
|
657
|
-
* Query Parameters:
|
|
658
|
-
* Same as PromptSearchView, plus:
|
|
659
|
-
*
|
|
660
|
-
* # Identification parameters (for detail view)
|
|
661
|
-
* id (int, optional): Retrieve a specific prompt by ID
|
|
662
|
-
*
|
|
663
|
-
* Returns:
|
|
664
|
-
* Same format as PromptSearchView, but filtered to only include prompts
|
|
665
|
-
* that the specified user has access to within the specified organization.
|
|
666
|
-
*
|
|
667
|
-
* Error Responses:
|
|
668
|
-
* 400 Bad Request: If the request parameters are invalid
|
|
669
|
-
* 403 Forbidden: If the requested prompt exists but the user doesn't have access
|
|
670
|
-
* 404 Not Found: If the requested prompt doesn't exist
|
|
671
|
-
* 500 Internal Server Error: If an unexpected error occurs
|
|
672
|
-
*
|
|
673
|
-
* Access Control:
|
|
674
|
-
* - Results are filtered based on user's permissions within the organization
|
|
675
|
-
* - Private prompts are only visible to authorized users
|
|
676
|
-
* @param org
|
|
677
|
-
* @param username
|
|
678
|
-
* @param alphabetical Sort alphabetically
|
|
679
|
-
* @param category Filter by prompt category
|
|
680
|
-
* @param filterFacet If true, return only facets without results
|
|
681
|
-
* @param language Filter by prompt language
|
|
682
|
-
* @param limit Number of results per page
|
|
683
|
-
* @param mentor Filter by mentor UUID
|
|
684
|
-
* @param offset Starting position for pagination
|
|
685
|
-
* @param orderDirection Sort direction ('asc' or 'desc')
|
|
686
|
-
* @param query Search term to filter prompts by name or content
|
|
687
|
-
* @param sortBy Field to sort results by
|
|
688
|
-
* @param style Filter by prompt style
|
|
689
|
-
* @param tenant Filter by tenant/organization
|
|
690
|
-
* @param tone Filter by prompt tone
|
|
691
|
-
* @returns PromptSearchResponse
|
|
692
|
-
* @throws ApiError
|
|
693
|
-
*/
|
|
694
|
-
public static searchOrgsUsersPromptsRetrieve(
|
|
695
|
-
org: string,
|
|
696
|
-
username: string,
|
|
697
|
-
alphabetical: boolean = false,
|
|
698
|
-
category?: string,
|
|
699
|
-
filterFacet?: boolean,
|
|
700
|
-
language?: string,
|
|
701
|
-
limit: number = 10,
|
|
702
|
-
mentor?: string,
|
|
703
|
-
offset?: number,
|
|
704
|
-
orderDirection: string = 'desc',
|
|
705
|
-
query?: string,
|
|
706
|
-
sortBy?: string,
|
|
707
|
-
style?: string,
|
|
708
|
-
tenant?: string,
|
|
709
|
-
tone?: string,
|
|
710
|
-
): CancelablePromise<PromptSearchResponse> {
|
|
711
|
-
return __request(OpenAPI, {
|
|
712
|
-
method: 'GET',
|
|
713
|
-
url: '/api/search/orgs/{org}/users/{username}/prompts/',
|
|
714
|
-
path: {
|
|
715
|
-
'org': org,
|
|
716
|
-
'username': username,
|
|
717
|
-
},
|
|
718
|
-
query: {
|
|
719
|
-
'alphabetical': alphabetical,
|
|
720
|
-
'category': category,
|
|
721
|
-
'filter_facet': filterFacet,
|
|
722
|
-
'language': language,
|
|
723
|
-
'limit': limit,
|
|
724
|
-
'mentor': mentor,
|
|
725
|
-
'offset': offset,
|
|
726
|
-
'order_direction': orderDirection,
|
|
727
|
-
'query': query,
|
|
728
|
-
'sort_by': sortBy,
|
|
729
|
-
'style': style,
|
|
730
|
-
'tenant': tenant,
|
|
731
|
-
'tone': tone,
|
|
732
|
-
},
|
|
733
|
-
errors: {
|
|
734
|
-
400: `Bad request`,
|
|
735
|
-
403: `Forbidden`,
|
|
736
|
-
404: `Not found`,
|
|
737
|
-
500: `Server error`,
|
|
738
|
-
},
|
|
739
|
-
});
|
|
740
|
-
}
|
|
741
|
-
/**
|
|
742
|
-
* Determine whether to serve a detail view or a list view.
|
|
743
|
-
* @param org
|
|
744
|
-
* @param username
|
|
745
|
-
* @param certificate Filter by certificate type
|
|
746
|
-
* @param content Content types to include in recommendations (courses, programs, pathways, skills, roles, resources)
|
|
747
|
-
* @param courseId Retrieve a specific course by ID
|
|
748
|
-
* @param duration Filter by course duration range
|
|
749
|
-
* @param language Filter by content language
|
|
750
|
-
* @param level Filter by difficulty level
|
|
751
|
-
* @param limit Number of results per page
|
|
752
|
-
* @param offset Starting position for pagination
|
|
753
|
-
* @param pathwayId Retrieve a specific pathway by ID
|
|
754
|
-
* @param price Filter by price/audit status
|
|
755
|
-
* @param programId Retrieve a specific program by ID
|
|
756
|
-
* @param programType Filter by program type
|
|
757
|
-
* @param query Search term to filter content by name or description
|
|
758
|
-
* @param resourceId Retrieve a specific resource by ID
|
|
759
|
-
* @param resourceType Filter by resource type
|
|
760
|
-
* @param roleId Retrieve a specific role by ID
|
|
761
|
-
* @param selfPaced Filter by course format (self-paced, instructor-led)
|
|
762
|
-
* @param skillId Retrieve a specific skill by ID
|
|
763
|
-
* @param skills Filter by skills
|
|
764
|
-
* @param subject Filter by subject areas
|
|
765
|
-
* @param tags Filter by tags
|
|
766
|
-
* @param topics Filter by topic areas
|
|
767
|
-
* @returns RecommendedCoursesResponse
|
|
768
|
-
* @throws ApiError
|
|
769
|
-
*/
|
|
770
|
-
public static searchOrgsUsersRecommendedRetrieve(
|
|
771
|
-
org: string,
|
|
772
|
-
username: string,
|
|
773
|
-
certificate?: Array<string>,
|
|
774
|
-
content?: Array<string>,
|
|
775
|
-
courseId?: string,
|
|
776
|
-
duration?: Array<string>,
|
|
777
|
-
language?: Array<string>,
|
|
778
|
-
level?: Array<string>,
|
|
779
|
-
limit: number = 12,
|
|
780
|
-
offset?: number,
|
|
781
|
-
pathwayId?: string,
|
|
782
|
-
price?: string,
|
|
783
|
-
programId?: string,
|
|
784
|
-
programType?: Array<string>,
|
|
785
|
-
query?: string,
|
|
786
|
-
resourceId?: string,
|
|
787
|
-
resourceType?: Array<string>,
|
|
788
|
-
roleId?: string,
|
|
789
|
-
selfPaced?: Array<string>,
|
|
790
|
-
skillId?: string,
|
|
791
|
-
skills?: Array<string>,
|
|
792
|
-
subject?: Array<string>,
|
|
793
|
-
tags?: Array<string>,
|
|
794
|
-
topics?: Array<string>,
|
|
795
|
-
): CancelablePromise<RecommendedCoursesResponse> {
|
|
796
|
-
return __request(OpenAPI, {
|
|
797
|
-
method: 'GET',
|
|
798
|
-
url: '/api/search/orgs/{org}/users/{username}/recommended/',
|
|
799
|
-
path: {
|
|
800
|
-
'org': org,
|
|
801
|
-
'username': username,
|
|
802
|
-
},
|
|
803
|
-
query: {
|
|
804
|
-
'certificate': certificate,
|
|
805
|
-
'content': content,
|
|
806
|
-
'course_id': courseId,
|
|
807
|
-
'duration': duration,
|
|
808
|
-
'language': language,
|
|
809
|
-
'level': level,
|
|
810
|
-
'limit': limit,
|
|
811
|
-
'offset': offset,
|
|
812
|
-
'pathway_id': pathwayId,
|
|
813
|
-
'price': price,
|
|
814
|
-
'program_id': programId,
|
|
815
|
-
'program_type': programType,
|
|
816
|
-
'query': query,
|
|
817
|
-
'resource_id': resourceId,
|
|
818
|
-
'resource_type': resourceType,
|
|
819
|
-
'role_id': roleId,
|
|
820
|
-
'self_paced': selfPaced,
|
|
821
|
-
'skill_id': skillId,
|
|
822
|
-
'skills': skills,
|
|
823
|
-
'subject': subject,
|
|
824
|
-
'tags': tags,
|
|
825
|
-
'topics': topics,
|
|
826
|
-
},
|
|
827
|
-
errors: {
|
|
828
|
-
400: `Bad request`,
|
|
829
|
-
404: `User not found`,
|
|
830
|
-
500: `Server error`,
|
|
831
|
-
},
|
|
832
|
-
});
|
|
833
|
-
}
|
|
834
|
-
/**
|
|
835
|
-
* Determine whether to serve a detail view or a list view.
|
|
836
|
-
* If any detail-identifying parameters are present (course_id, program_id, etc.)
|
|
837
|
-
* the detail view is returned; otherwise the aggregated list view is returned.
|
|
838
|
-
* @param username
|
|
839
|
-
* @param allowSkillSearch Enable skill-based search
|
|
840
|
-
* @param alphabetical Sort alphabetically by name
|
|
841
|
-
* @param certificate Filter by certificate type
|
|
842
|
-
* @param content Content types to include in results
|
|
843
|
-
* @param courseId Retrieve a specific course by ID
|
|
844
|
-
* @param duration Filter by course duration range
|
|
845
|
-
* @param language Filter by content language
|
|
846
|
-
* @param level Filter by difficulty level
|
|
847
|
-
* @param limit Number of results per page
|
|
848
|
-
* @param offset Starting position for pagination
|
|
849
|
-
* @param orderAscending Sort direction
|
|
850
|
-
* @param orderBy Field to sort results by
|
|
851
|
-
* @param pathwayId Retrieve a specific pathway by ID
|
|
852
|
-
* @param price Filter by price/audit status
|
|
853
|
-
* @param programId Retrieve a specific program by ID
|
|
854
|
-
* @param programType Filter by program type
|
|
855
|
-
* @param promotion Filter by promotion status
|
|
856
|
-
* @param query Search term to filter content by name or description
|
|
857
|
-
* @param recommended Show only recommended content
|
|
858
|
-
* @param resourceId Retrieve a specific resource by ID
|
|
859
|
-
* @param resourceType Filter by resource type
|
|
860
|
-
* @param returnFacet Include facet data in response
|
|
861
|
-
* @param returnItems Include items in programs/pathways
|
|
862
|
-
* @param roleId Retrieve a specific role by ID
|
|
863
|
-
* @param selfPaced Filter by course format
|
|
864
|
-
* @param skillId Retrieve a specific skill by ID
|
|
865
|
-
* @param skills Filter by skills
|
|
866
|
-
* @param subject Filter by subject areas
|
|
867
|
-
* @param tags Filter by tags
|
|
868
|
-
* @param tenant Filter by tenant/organization
|
|
869
|
-
* @param topics Filter by topic areas
|
|
870
|
-
* @param updateFacet Force facet update
|
|
871
|
-
* @returns any
|
|
872
|
-
* @throws ApiError
|
|
873
|
-
*/
|
|
874
|
-
public static searchPersonalizedCatalogRetrieve(
|
|
875
|
-
username: string,
|
|
876
|
-
allowSkillSearch: boolean = false,
|
|
877
|
-
alphabetical: boolean = false,
|
|
878
|
-
certificate?: Array<string>,
|
|
879
|
-
content?: Array<string>,
|
|
880
|
-
courseId?: string,
|
|
881
|
-
duration?: Array<string>,
|
|
882
|
-
language?: Array<string>,
|
|
883
|
-
level?: Array<string>,
|
|
884
|
-
limit: number = 12,
|
|
885
|
-
offset?: number,
|
|
886
|
-
orderAscending: boolean = false,
|
|
887
|
-
orderBy?: string,
|
|
888
|
-
pathwayId?: string,
|
|
889
|
-
price?: string,
|
|
890
|
-
programId?: string,
|
|
891
|
-
programType?: Array<string>,
|
|
892
|
-
promotion?: Array<string>,
|
|
893
|
-
query?: string,
|
|
894
|
-
recommended: boolean = false,
|
|
895
|
-
resourceId?: string,
|
|
896
|
-
resourceType?: Array<string>,
|
|
897
|
-
returnFacet: boolean = true,
|
|
898
|
-
returnItems: boolean = false,
|
|
899
|
-
roleId?: string,
|
|
900
|
-
selfPaced?: Array<string>,
|
|
901
|
-
skillId?: string,
|
|
902
|
-
skills?: Array<string>,
|
|
903
|
-
subject?: Array<string>,
|
|
904
|
-
tags?: Array<string>,
|
|
905
|
-
tenant?: Array<string>,
|
|
906
|
-
topics?: Array<string>,
|
|
907
|
-
updateFacet?: string,
|
|
908
|
-
): CancelablePromise<Record<string, any>> {
|
|
909
|
-
return __request(OpenAPI, {
|
|
910
|
-
method: 'GET',
|
|
911
|
-
url: '/api/search/personalized-catalog/{username}/',
|
|
912
|
-
path: {
|
|
913
|
-
'username': username,
|
|
914
|
-
},
|
|
915
|
-
query: {
|
|
916
|
-
'allow_skill_search': allowSkillSearch,
|
|
917
|
-
'alphabetical': alphabetical,
|
|
918
|
-
'certificate': certificate,
|
|
919
|
-
'content': content,
|
|
920
|
-
'course_id': courseId,
|
|
921
|
-
'duration': duration,
|
|
922
|
-
'language': language,
|
|
923
|
-
'level': level,
|
|
924
|
-
'limit': limit,
|
|
925
|
-
'offset': offset,
|
|
926
|
-
'order_ascending': orderAscending,
|
|
927
|
-
'order_by': orderBy,
|
|
928
|
-
'pathway_id': pathwayId,
|
|
929
|
-
'price': price,
|
|
930
|
-
'program_id': programId,
|
|
931
|
-
'program_type': programType,
|
|
932
|
-
'promotion': promotion,
|
|
933
|
-
'query': query,
|
|
934
|
-
'recommended': recommended,
|
|
935
|
-
'resource_id': resourceId,
|
|
936
|
-
'resource_type': resourceType,
|
|
937
|
-
'return_facet': returnFacet,
|
|
938
|
-
'return_items': returnItems,
|
|
939
|
-
'role_id': roleId,
|
|
940
|
-
'self_paced': selfPaced,
|
|
941
|
-
'skill_id': skillId,
|
|
942
|
-
'skills': skills,
|
|
943
|
-
'subject': subject,
|
|
944
|
-
'tags': tags,
|
|
945
|
-
'tenant': tenant,
|
|
946
|
-
'topics': topics,
|
|
947
|
-
'update_facet': updateFacet,
|
|
948
|
-
},
|
|
949
|
-
});
|
|
950
|
-
}
|
|
951
|
-
/**
|
|
952
|
-
* Search and filter AI prompts across the platform.
|
|
953
|
-
*
|
|
954
|
-
* This endpoint provides a search interface for discovering AI prompts
|
|
955
|
-
* with support for filtering, pagination, and detailed prompt information.
|
|
956
|
-
*
|
|
957
|
-
* Query Parameters:
|
|
958
|
-
* # Identification parameters (for detail view)
|
|
959
|
-
* id (int, optional): Retrieve a specific prompt by ID
|
|
960
|
-
*
|
|
961
|
-
* # Search and filtering parameters
|
|
962
|
-
* query (str, optional): Search term to filter prompts by name or content
|
|
963
|
-
* category (str, optional): Filter by prompt category
|
|
964
|
-
* language (str, optional): Filter by prompt language
|
|
965
|
-
* style (str, optional): Filter by writing style
|
|
966
|
-
* tone (str, optional): Filter by tone
|
|
967
|
-
* tenant (str, optional): Filter by tenant/organization
|
|
968
|
-
* mentor (str, optional): Filter by associated mentor (UUID)
|
|
969
|
-
*
|
|
970
|
-
* # Sorting and pagination
|
|
971
|
-
* sort_by (str, optional): Field to sort results by
|
|
972
|
-
* order_direction (str, optional): Sort direction ('asc' or 'desc', default: 'desc')
|
|
973
|
-
* alphabetical (bool, optional): Sort alphabetically by name (default: false)
|
|
974
|
-
* limit (int, optional): Number of results per page (default: 10)
|
|
975
|
-
* offset (int, optional): Starting position for pagination
|
|
976
|
-
*
|
|
977
|
-
* # Special parameters
|
|
978
|
-
* filter_facet (any, optional): If present, return only facets without results
|
|
979
|
-
*
|
|
980
|
-
* Returns:
|
|
981
|
-
* For detail view (when id is provided):
|
|
982
|
-
* A JSON response containing a single prompt's details:
|
|
983
|
-
* {
|
|
984
|
-
* "id": 456,
|
|
985
|
-
* "name": "Essay Writing Guide",
|
|
986
|
-
* "content": "Write a well-structured essay on the following topic: {{topic}}...",
|
|
987
|
-
* "category": "Academic Writing",
|
|
988
|
-
* "language": "English",
|
|
989
|
-
* "style": "Formal",
|
|
990
|
-
* "tone": "Professional",
|
|
991
|
-
* "mentor": {
|
|
992
|
-
* "id": 123,
|
|
993
|
-
* "unique_id": "550e8400-e29b-41d4-a716-446655440000",
|
|
994
|
-
* "name": "Professor Smith"
|
|
995
|
-
* },
|
|
996
|
-
* "platform": {
|
|
997
|
-
* "id": 1,
|
|
998
|
-
* "name": "Example University",
|
|
999
|
-
* "key": "example-university"
|
|
1000
|
-
* },
|
|
1001
|
-
* "created_at": "2023-02-10T09:15:00Z",
|
|
1002
|
-
* "updated_at": "2023-05-05T14:20:00Z",
|
|
1003
|
-
* "visibility": "public",
|
|
1004
|
-
* "variables": ["topic", "length", "style"]
|
|
1005
|
-
* }
|
|
1006
|
-
*
|
|
1007
|
-
* For list view:
|
|
1008
|
-
* A JSON response containing:
|
|
1009
|
-
* {
|
|
1010
|
-
* "results": [
|
|
1011
|
-
* {
|
|
1012
|
-
* "id": 456,
|
|
1013
|
-
* "name": "Essay Writing Guide",
|
|
1014
|
-
* "content": "Write a well-structured essay on the following topic: {{topic}}...",
|
|
1015
|
-
* "category": "Academic Writing",
|
|
1016
|
-
* "language": "English",
|
|
1017
|
-
* "style": "Formal",
|
|
1018
|
-
* "tone": "Professional",
|
|
1019
|
-
* "mentor": {"id": 123, "name": "Professor Smith"},
|
|
1020
|
-
* "created_at": "2023-02-10T09:15:00Z",
|
|
1021
|
-
* "updated_at": "2023-05-05T14:20:00Z"
|
|
1022
|
-
* },
|
|
1023
|
-
* // Additional prompt objects...
|
|
1024
|
-
* ],
|
|
1025
|
-
* "count": 30,
|
|
1026
|
-
* "next": "?limit=10&offset=10",
|
|
1027
|
-
* "previous": null,
|
|
1028
|
-
* "current_page": 1,
|
|
1029
|
-
* "num_pages": 3,
|
|
1030
|
-
* "facets": {
|
|
1031
|
-
* "category": [
|
|
1032
|
-
* {"key": "Academic Writing", "doc_count": 15},
|
|
1033
|
-
* {"key": "Creative Writing", "doc_count": 10},
|
|
1034
|
-
* {"key": "Technical Documentation", "doc_count": 5}
|
|
1035
|
-
* ],
|
|
1036
|
-
* "language": [
|
|
1037
|
-
* {"key": "English", "doc_count": 25},
|
|
1038
|
-
* {"key": "Spanish", "doc_count": 5}
|
|
1039
|
-
* ],
|
|
1040
|
-
* "style": [
|
|
1041
|
-
* {"key": "Formal", "doc_count": 20},
|
|
1042
|
-
* {"key": "Casual", "doc_count": 10}
|
|
1043
|
-
* ],
|
|
1044
|
-
* "tone": [
|
|
1045
|
-
* {"key": "Professional", "doc_count": 15},
|
|
1046
|
-
* {"key": "Friendly", "doc_count": 10},
|
|
1047
|
-
* {"key": "Technical", "doc_count": 5}
|
|
1048
|
-
* ]
|
|
1049
|
-
* }
|
|
1050
|
-
* }
|
|
1051
|
-
*
|
|
1052
|
-
* Error Responses:
|
|
1053
|
-
* 400 Bad Request: If the request parameters are invalid
|
|
1054
|
-
* 403 Forbidden: If the requested prompt exists but is not publicly available
|
|
1055
|
-
* 404 Not Found: If the requested prompt doesn't exist
|
|
1056
|
-
* 500 Internal Server Error: If an unexpected error occurs
|
|
1057
|
-
*
|
|
1058
|
-
* Notes:
|
|
1059
|
-
* - Only publicly available prompts are returned by default
|
|
1060
|
-
* - When filtering by mentor, the mentor ID must be a valid UUID
|
|
1061
|
-
* @param alphabetical Sort alphabetically
|
|
1062
|
-
* @param category Filter by prompt category
|
|
1063
|
-
* @param filterFacet If true, return only facets without results
|
|
1064
|
-
* @param language Filter by prompt language
|
|
1065
|
-
* @param limit Number of results per page
|
|
1066
|
-
* @param mentor Filter by mentor UUID
|
|
1067
|
-
* @param offset Starting position for pagination
|
|
1068
|
-
* @param orderDirection Sort direction ('asc' or 'desc')
|
|
1069
|
-
* @param query Search term to filter prompts by name or content
|
|
1070
|
-
* @param sortBy Field to sort results by
|
|
1071
|
-
* @param style Filter by prompt style
|
|
1072
|
-
* @param tenant Filter by tenant/organization
|
|
1073
|
-
* @param tone Filter by prompt tone
|
|
1074
|
-
* @returns PromptSearchResponse
|
|
1075
|
-
* @throws ApiError
|
|
1076
|
-
*/
|
|
1077
|
-
public static searchPromptsRetrieve(
|
|
1078
|
-
alphabetical: boolean = false,
|
|
1079
|
-
category?: string,
|
|
1080
|
-
filterFacet?: boolean,
|
|
1081
|
-
language?: string,
|
|
1082
|
-
limit: number = 10,
|
|
1083
|
-
mentor?: string,
|
|
1084
|
-
offset?: number,
|
|
1085
|
-
orderDirection: string = 'desc',
|
|
1086
|
-
query?: string,
|
|
1087
|
-
sortBy?: string,
|
|
1088
|
-
style?: string,
|
|
1089
|
-
tenant?: string,
|
|
1090
|
-
tone?: string,
|
|
1091
|
-
): CancelablePromise<PromptSearchResponse> {
|
|
1092
|
-
return __request(OpenAPI, {
|
|
1093
|
-
method: 'GET',
|
|
1094
|
-
url: '/api/search/prompts/',
|
|
1095
|
-
query: {
|
|
1096
|
-
'alphabetical': alphabetical,
|
|
1097
|
-
'category': category,
|
|
1098
|
-
'filter_facet': filterFacet,
|
|
1099
|
-
'language': language,
|
|
1100
|
-
'limit': limit,
|
|
1101
|
-
'mentor': mentor,
|
|
1102
|
-
'offset': offset,
|
|
1103
|
-
'order_direction': orderDirection,
|
|
1104
|
-
'query': query,
|
|
1105
|
-
'sort_by': sortBy,
|
|
1106
|
-
'style': style,
|
|
1107
|
-
'tenant': tenant,
|
|
1108
|
-
'tone': tone,
|
|
1109
|
-
},
|
|
1110
|
-
errors: {
|
|
1111
|
-
400: `Bad request`,
|
|
1112
|
-
500: `Server error`,
|
|
1113
|
-
},
|
|
1114
|
-
});
|
|
1115
|
-
}
|
|
1116
|
-
/**
|
|
1117
|
-
* Search and filter users within a specific organization/tenant.
|
|
1118
|
-
*
|
|
1119
|
-
* This endpoint provides a search interface for discovering users within an organization,
|
|
1120
|
-
* with support for filtering by departments, pagination, and faceted filtering.
|
|
1121
|
-
*
|
|
1122
|
-
* Path Parameters:
|
|
1123
|
-
* org (str): The organization/tenant identifier
|
|
1124
|
-
* username (str): The username of the user making the request
|
|
1125
|
-
*
|
|
1126
|
-
* Query Parameters:
|
|
1127
|
-
* # Search parameters
|
|
1128
|
-
* query (str, optional): Search term to filter users by name, username, or email
|
|
1129
|
-
*
|
|
1130
|
-
* # Department filtering
|
|
1131
|
-
* department_mode (bool, optional): Enable department-based filtering (default: false)
|
|
1132
|
-
* user_department (bool, optional): Legacy parameter for department_mode (default: false)
|
|
1133
|
-
* department (list, optional): Filter by specific departments
|
|
1134
|
-
*
|
|
1135
|
-
* # Additional filters
|
|
1136
|
-
* role (list, optional): Filter by user role
|
|
1137
|
-
* status (list, optional): Filter by user status (active, inactive)
|
|
1138
|
-
* joined_date (list, optional): Filter by join date range
|
|
1139
|
-
* last_login (list, optional): Filter by last login date range
|
|
1140
|
-
*
|
|
1141
|
-
* # Pagination
|
|
1142
|
-
* limit (int, optional): Number of results per page (default: 10)
|
|
1143
|
-
* offset (int, optional): Starting position for pagination
|
|
1144
|
-
*
|
|
1145
|
-
* Returns:
|
|
1146
|
-
* A JSON response containing:
|
|
1147
|
-
* ```
|
|
1148
|
-
* {
|
|
1149
|
-
* "results": [
|
|
1150
|
-
* {
|
|
1151
|
-
* "id": 123,
|
|
1152
|
-
* "username": "john.doe",
|
|
1153
|
-
* "email": "john.doe@example.com",
|
|
1154
|
-
* "first_name": "John",
|
|
1155
|
-
* "last_name": "Doe",
|
|
1156
|
-
* "full_name": "John Doe",
|
|
1157
|
-
* "profile_image": "https://example.com/profiles/john-doe.jpg",
|
|
1158
|
-
* "role": "Student",
|
|
1159
|
-
* "departments": ["Computer Science", "Data Science"],
|
|
1160
|
-
* "status": "active",
|
|
1161
|
-
* "joined_date": "2023-01-15T12:00:00Z",
|
|
1162
|
-
* "last_login": "2023-06-20T15:30:00Z",
|
|
1163
|
-
* "metadata": {
|
|
1164
|
-
* "location": "New York",
|
|
1165
|
-
* "title": "Software Engineer",
|
|
1166
|
-
* "bio": "Experienced software engineer with a passion for education"
|
|
1167
|
-
* }
|
|
1168
|
-
* },
|
|
1169
|
-
* // Additional user objects...
|
|
1170
|
-
* ],
|
|
1171
|
-
* "count": 50,
|
|
1172
|
-
* "next": "https://api.example.com/api/search/users/example-org/admin/?limit=10&offset=10",
|
|
1173
|
-
* "previous": null,
|
|
1174
|
-
* "current_page": 1,
|
|
1175
|
-
* "total_pages": 5,
|
|
1176
|
-
* "facets": {
|
|
1177
|
-
* "role": [
|
|
1178
|
-
* {"key": "Student", "doc_count": 30},
|
|
1179
|
-
* {"key": "Instructor", "doc_count": 15},
|
|
1180
|
-
* {"key": "Admin", "doc_count": 5}
|
|
1181
|
-
* ],
|
|
1182
|
-
* "department": [
|
|
1183
|
-
* {"key": "Computer Science", "doc_count": 20},
|
|
1184
|
-
* {"key": "Data Science", "doc_count": 15},
|
|
1185
|
-
* {"key": "Business", "doc_count": 10},
|
|
1186
|
-
* {"key": "Engineering", "doc_count": 5}
|
|
1187
|
-
* ],
|
|
1188
|
-
* "status": [
|
|
1189
|
-
* {"key": "active", "doc_count": 45},
|
|
1190
|
-
* {"key": "inactive", "doc_count": 5}
|
|
1191
|
-
* ]
|
|
1192
|
-
* }
|
|
1193
|
-
* }
|
|
1194
|
-
* ```
|
|
1195
|
-
* Error Responses:
|
|
1196
|
-
* 400 Bad Request: If the request parameters are invalid
|
|
1197
|
-
* 403 Forbidden: If the user doesn't have department admin privileges (when using department_mode)
|
|
1198
|
-
* 404 Not Found: If the user or organization doesn't exist
|
|
1199
|
-
* 500 Internal Server Error: If an unexpected error occurs
|
|
1200
|
-
*
|
|
1201
|
-
* Access Control:
|
|
1202
|
-
* - The requesting user must have an active account in the specified organization
|
|
1203
|
-
* - When department_mode is enabled, the user must be an admin of at least one department
|
|
1204
|
-
* - Department filtering restricts results to users in departments where the requesting user is an admin
|
|
1205
|
-
* @param org
|
|
1206
|
-
* @param username
|
|
1207
|
-
* @param department Filter by department names
|
|
1208
|
-
* @param educationDegree Filter by degree
|
|
1209
|
-
* @param educationFieldOfStudy Filter by field of study
|
|
1210
|
-
* @param educationInstitution Filter by institution
|
|
1211
|
-
* @param includeMembershipData Include user group membership data in results
|
|
1212
|
-
* @param limit Number of results per page
|
|
1213
|
-
* @param offset Starting position for pagination
|
|
1214
|
-
* @param q Search term to filter users by name, email, or other attributes
|
|
1215
|
-
* @param userResumeCompany Filter by company
|
|
1216
|
-
* @param userResumeIndustry Filter by industry
|
|
1217
|
-
* @param userResumeJobTitle Filter by job title
|
|
1218
|
-
* @param userResumeLocation Filter by location
|
|
1219
|
-
* @param userResumeSkills Filter by skills
|
|
1220
|
-
* @returns UserSearchResponse
|
|
1221
|
-
* @throws ApiError
|
|
1222
|
-
*/
|
|
1223
|
-
public static searchUsersOrgsUsersRetrieve(
|
|
1224
|
-
org: string,
|
|
1225
|
-
username: string,
|
|
1226
|
-
department?: Array<string>,
|
|
1227
|
-
educationDegree?: string,
|
|
1228
|
-
educationFieldOfStudy?: string,
|
|
1229
|
-
educationInstitution?: string,
|
|
1230
|
-
includeMembershipData: boolean = false,
|
|
1231
|
-
limit: number = 10,
|
|
1232
|
-
offset?: number,
|
|
1233
|
-
q?: string,
|
|
1234
|
-
userResumeCompany?: string,
|
|
1235
|
-
userResumeIndustry?: string,
|
|
1236
|
-
userResumeJobTitle?: string,
|
|
1237
|
-
userResumeLocation?: string,
|
|
1238
|
-
userResumeSkills?: string,
|
|
1239
|
-
): CancelablePromise<UserSearchResponse> {
|
|
1240
|
-
return __request(OpenAPI, {
|
|
1241
|
-
method: 'GET',
|
|
1242
|
-
url: '/api/search/users/orgs/{org}/users/{username}/',
|
|
1243
|
-
path: {
|
|
1244
|
-
'org': org,
|
|
1245
|
-
'username': username,
|
|
1246
|
-
},
|
|
1247
|
-
query: {
|
|
1248
|
-
'department': department,
|
|
1249
|
-
'education__degree': educationDegree,
|
|
1250
|
-
'education__field_of_study': educationFieldOfStudy,
|
|
1251
|
-
'education__institution': educationInstitution,
|
|
1252
|
-
'include_membership_data': includeMembershipData,
|
|
1253
|
-
'limit': limit,
|
|
1254
|
-
'offset': offset,
|
|
1255
|
-
'q': q,
|
|
1256
|
-
'user_resume__company': userResumeCompany,
|
|
1257
|
-
'user_resume__industry': userResumeIndustry,
|
|
1258
|
-
'user_resume__job_title': userResumeJobTitle,
|
|
1259
|
-
'user_resume__location': userResumeLocation,
|
|
1260
|
-
'user_resume__skills': userResumeSkills,
|
|
1261
|
-
},
|
|
1262
|
-
errors: {
|
|
1263
|
-
400: `Bad request`,
|
|
1264
|
-
403: `Forbidden`,
|
|
1265
|
-
404: `Not found`,
|
|
1266
|
-
500: `Server error`,
|
|
1267
|
-
},
|
|
1268
|
-
});
|
|
1269
|
-
}
|
|
1270
|
-
}
|
|
634
|
+
* // Additional user objects...
|
|
635
|
+
* ],
|
|
636
|
+
* "count": 50,
|
|
637
|
+
* "next": "https://api.example.com/api/search/users/example-org/admin/?limit=10&offset=10",
|
|
638
|
+
* "previous": null,
|
|
639
|
+
* "current_page": 1,
|
|
640
|
+
* "total_pages": 5,
|
|
641
|
+
* "facets": {
|
|
642
|
+
* "role": [
|
|
643
|
+
* {"key": "Student", "doc_count": 30},
|
|
644
|
+
* {"key": "Instructor", "doc_count": 15},
|
|
645
|
+
* {"key": "Admin", "doc_count": 5}
|
|
646
|
+
* ],
|
|
647
|
+
* "department": [
|
|
648
|
+
* {"key": "Computer Science", "doc_count": 20},
|
|
649
|
+
* {"key": "Data Science", "doc_count": 15},
|
|
650
|
+
* {"key": "Business", "doc_count": 10},
|
|
651
|
+
* {"key": "Engineering", "doc_count": 5}
|
|
652
|
+
* ],
|
|
653
|
+
* "status": [
|
|
654
|
+
* {"key": "active", "doc_count": 45},
|
|
655
|
+
* {"key": "inactive", "doc_count": 5}
|
|
656
|
+
* ]
|
|
657
|
+
* }
|
|
658
|
+
* }
|
|
659
|
+
* ```
|
|
660
|
+
* Error Responses:
|
|
661
|
+
* 400 Bad Request: If the request parameters are invalid
|
|
662
|
+
* 403 Forbidden: If the user doesn't have department admin privileges (when using department_mode)
|
|
663
|
+
* 404 Not Found: If the user or organization doesn't exist
|
|
664
|
+
* 500 Internal Server Error: If an unexpected error occurs
|
|
665
|
+
*
|
|
666
|
+
* Access Control:
|
|
667
|
+
* - The requesting user must have an active account in the specified organization
|
|
668
|
+
* - When department_mode is enabled, the user must be an admin of at least one department
|
|
669
|
+
* - Department filtering restricts results to users in departments where the requesting user is an admin
|
|
670
|
+
* @returns UserSearchResponse
|
|
671
|
+
* @throws ApiError
|
|
672
|
+
*/
|
|
673
|
+
public static searchUsersOrgsUsersRetrieve({
|
|
674
|
+
org,
|
|
675
|
+
username,
|
|
676
|
+
department,
|
|
677
|
+
educationDegree,
|
|
678
|
+
educationFieldOfStudy,
|
|
679
|
+
educationInstitution,
|
|
680
|
+
includeMembershipData = false,
|
|
681
|
+
limit = 10,
|
|
682
|
+
offset,
|
|
683
|
+
q,
|
|
684
|
+
userResumeCompany,
|
|
685
|
+
userResumeIndustry,
|
|
686
|
+
userResumeJobTitle,
|
|
687
|
+
userResumeLocation,
|
|
688
|
+
userResumeSkills,
|
|
689
|
+
}: {
|
|
690
|
+
org: string,
|
|
691
|
+
username: string,
|
|
692
|
+
/**
|
|
693
|
+
* Filter by department names
|
|
694
|
+
*/
|
|
695
|
+
department?: Array<string>,
|
|
696
|
+
/**
|
|
697
|
+
* Filter by degree
|
|
698
|
+
*/
|
|
699
|
+
educationDegree?: string,
|
|
700
|
+
/**
|
|
701
|
+
* Filter by field of study
|
|
702
|
+
*/
|
|
703
|
+
educationFieldOfStudy?: string,
|
|
704
|
+
/**
|
|
705
|
+
* Filter by institution
|
|
706
|
+
*/
|
|
707
|
+
educationInstitution?: string,
|
|
708
|
+
/**
|
|
709
|
+
* Include user group membership data in results
|
|
710
|
+
*/
|
|
711
|
+
includeMembershipData?: boolean,
|
|
712
|
+
/**
|
|
713
|
+
* Number of results per page
|
|
714
|
+
*/
|
|
715
|
+
limit?: number,
|
|
716
|
+
/**
|
|
717
|
+
* Starting position for pagination
|
|
718
|
+
*/
|
|
719
|
+
offset?: number,
|
|
720
|
+
/**
|
|
721
|
+
* Search term to filter users by name, email, or other attributes
|
|
722
|
+
*/
|
|
723
|
+
q?: string,
|
|
724
|
+
/**
|
|
725
|
+
* Filter by company
|
|
726
|
+
*/
|
|
727
|
+
userResumeCompany?: string,
|
|
728
|
+
/**
|
|
729
|
+
* Filter by industry
|
|
730
|
+
*/
|
|
731
|
+
userResumeIndustry?: string,
|
|
732
|
+
/**
|
|
733
|
+
* Filter by job title
|
|
734
|
+
*/
|
|
735
|
+
userResumeJobTitle?: string,
|
|
736
|
+
/**
|
|
737
|
+
* Filter by location
|
|
738
|
+
*/
|
|
739
|
+
userResumeLocation?: string,
|
|
740
|
+
/**
|
|
741
|
+
* Filter by skills
|
|
742
|
+
*/
|
|
743
|
+
userResumeSkills?: string,
|
|
744
|
+
}): CancelablePromise<UserSearchResponse> {
|
|
745
|
+
return __request(OpenAPI, {
|
|
746
|
+
method: 'GET',
|
|
747
|
+
url: '/api/search/users/orgs/{org}/users/{username}/',
|
|
748
|
+
path: {
|
|
749
|
+
'org': org,
|
|
750
|
+
'username': username,
|
|
751
|
+
},
|
|
752
|
+
query: {
|
|
753
|
+
'department': department,
|
|
754
|
+
'education__degree': educationDegree,
|
|
755
|
+
'education__field_of_study': educationFieldOfStudy,
|
|
756
|
+
'education__institution': educationInstitution,
|
|
757
|
+
'include_membership_data': includeMembershipData,
|
|
758
|
+
'limit': limit,
|
|
759
|
+
'offset': offset,
|
|
760
|
+
'q': q,
|
|
761
|
+
'user_resume__company': userResumeCompany,
|
|
762
|
+
'user_resume__industry': userResumeIndustry,
|
|
763
|
+
'user_resume__job_title': userResumeJobTitle,
|
|
764
|
+
'user_resume__location': userResumeLocation,
|
|
765
|
+
'user_resume__skills': userResumeSkills,
|
|
766
|
+
},
|
|
767
|
+
errors: {
|
|
768
|
+
400: `Bad request`,
|
|
769
|
+
403: `Forbidden`,
|
|
770
|
+
404: `Not found`,
|
|
771
|
+
500: `Server error`,
|
|
772
|
+
},
|
|
773
|
+
});
|
|
774
|
+
}
|
|
775
|
+
}
|