@iblai/iblai-api 4.303.0-ai → 4.303.0-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 +4116 -24478
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4117 -24469
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +4116 -24478
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +0 -551
- package/dist/types/models/Pagination.d.ts +11 -16
- package/dist/types/services/AiAnalyticsService.d.ts +26 -5072
- package/dist/types/services/AnalyticsService.d.ts +4 -769
- package/dist/types/services/SearchService.d.ts +71 -1116
- package/package.json +1 -1
- package/sdk_schema.yml +31731 -99081
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +0 -551
- package/src/models/Pagination.ts +11 -16
- package/src/services/AiAnalyticsService.ts +5316 -13620
- package/src/services/AnalyticsService.ts +189 -1306
- package/src/services/SearchService.ts +741 -2235
- 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/AccessEnum.d.ts +0 -8
- package/dist/types/models/AccessTimesHeatmap.d.ts +0 -5
- package/dist/types/models/AccessibleMentorsByEmailRequest.d.ts +0 -13
- package/dist/types/models/AccessibleMentorsByEmailResponse.d.ts +0 -13
- package/dist/types/models/ActionBreakdown.d.ts +0 -10
- package/dist/types/models/AddMentorToDisclaimer.d.ts +0 -12
- package/dist/types/models/AdminIntegrationCredential.d.ts +0 -17
- package/dist/types/models/AgentSkill.d.ts +0 -35
- package/dist/types/models/AgentSkillResource.d.ts +0 -17
- 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/Artifact.d.ts +0 -60
- package/dist/types/models/ArtifactList.d.ts +0 -42
- package/dist/types/models/ArtifactVersion.d.ts +0 -55
- 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/AuthModeEnum.d.ts +0 -12
- package/dist/types/models/AuthScopeEnum.d.ts +0 -10
- package/dist/types/models/AuthTypeEnum.d.ts +0 -10
- package/dist/types/models/BaseFinanceResponse.d.ts +0 -37
- package/dist/types/models/BillingPeriod.d.ts +0 -8
- 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/Breakdown.d.ts +0 -11
- package/dist/types/models/CallAuthenticationRequest.d.ts +0 -17
- package/dist/types/models/CallAuthenticationResponse.d.ts +0 -21
- package/dist/types/models/CallConfiguration.d.ts +0 -38
- package/dist/types/models/CallConfigurationModeEnum.d.ts +0 -8
- package/dist/types/models/ChatCompletionRequest.d.ts +0 -27
- package/dist/types/models/ChatHistory.d.ts +0 -20
- 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 -6
- package/dist/types/models/ChatHistorySessionId.d.ts +0 -3
- package/dist/types/models/ChatPrivacyModeEnum.d.ts +0 -10
- package/dist/types/models/ChatRunTracker.d.ts +0 -34
- package/dist/types/models/ChatRunTrackerStatusEnum.d.ts +0 -10
- package/dist/types/models/ChatSessionRequest.d.ts +0 -19
- package/dist/types/models/ChatSessionResponse.d.ts +0 -8
- package/dist/types/models/CheckDocumentTrainingStatus.d.ts +0 -10
- package/dist/types/models/ClawConfigGetResponse.d.ts +0 -19
- package/dist/types/models/ClawInstance.d.ts +0 -46
- package/dist/types/models/ClawInstanceStatusEnum.d.ts +0 -10
- package/dist/types/models/ClawMentorConfig.d.ts +0 -27
- package/dist/types/models/ClawModelProvider.d.ts +0 -40
- package/dist/types/models/ClawRpcError.d.ts +0 -7
- package/dist/types/models/ClawTypeEnum.d.ts +0 -8
- package/dist/types/models/ComparisonInfo.d.ts +0 -29
- package/dist/types/models/ConnectedService.d.ts +0 -28
- package/dist/types/models/ConversationChartPoint.d.ts +0 -4
- package/dist/types/models/ConversationDetailResponse.d.ts +0 -4
- package/dist/types/models/ConversationListItem.d.ts +0 -24
- package/dist/types/models/ConversationListResponse.d.ts +0 -6
- 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 -54
- package/dist/types/models/ConversationsChart.d.ts +0 -5
- 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 -36
- package/dist/types/models/CourseCreationTaskFile.d.ts +0 -7
- package/dist/types/models/CourseCreationTaskStatusEnum.d.ts +0 -16
- package/dist/types/models/CourseRecommendation.d.ts +0 -49
- package/dist/types/models/CrawlerPatternTypeEnum.d.ts +0 -8
- package/dist/types/models/CreateXblock.d.ts +0 -37
- package/dist/types/models/CredentialRequest.d.ts +0 -14
- package/dist/types/models/CronDelivery.d.ts +0 -12
- package/dist/types/models/CronDeliveryModeEnum.d.ts +0 -10
- package/dist/types/models/CronJobCreate.d.ts +0 -22
- package/dist/types/models/CronJobListResponse.d.ts +0 -10
- package/dist/types/models/CronJobResponse.d.ts +0 -28
- package/dist/types/models/CronPayload.d.ts +0 -19
- package/dist/types/models/CronPayloadKindEnum.d.ts +0 -8
- package/dist/types/models/CronRunAction.d.ts +0 -7
- package/dist/types/models/CronRunActionModeEnum.d.ts +0 -8
- package/dist/types/models/CronRunLogEntry.d.ts +0 -25
- package/dist/types/models/CronRunLogEntryStatusEnum.d.ts +0 -10
- package/dist/types/models/CronRunResult.d.ts +0 -8
- package/dist/types/models/CronRunsResponse.d.ts +0 -10
- package/dist/types/models/CronSchedule.d.ts +0 -17
- package/dist/types/models/CronScheduleKindEnum.d.ts +0 -10
- package/dist/types/models/CronStatusResponse.d.ts +0 -14
- package/dist/types/models/CrontabSchedule.d.ts +0 -22
- package/dist/types/models/CurrentUsersResponse.d.ts +0 -8
- package/dist/types/models/CustomInstructionResponse.d.ts +0 -13
- package/dist/types/models/DataTypeEnum.d.ts +0 -10
- package/dist/types/models/Dataset.d.ts +0 -12
- package/dist/types/models/DatasetCreate.d.ts +0 -8
- package/dist/types/models/DatasetItem.d.ts +0 -20
- package/dist/types/models/DatasetItemBulkCreateResponse.d.ts +0 -5
- package/dist/types/models/DatasetItemCreate.d.ts +0 -10
- package/dist/types/models/DatasetItemInput.d.ts +0 -7
- package/dist/types/models/DatasetItemUpdate.d.ts +0 -10
- package/dist/types/models/DatasetItemUpdateStatusEnum.d.ts +0 -8
- package/dist/types/models/DatasetRunItem.d.ts +0 -16
- package/dist/types/models/DateRange.d.ts +0 -4
- package/dist/types/models/DeleteXblock.d.ts +0 -9
- package/dist/types/models/DeliveryStatusEnum.d.ts +0 -12
- package/dist/types/models/DeployStateEnum.d.ts +0 -14
- package/dist/types/models/Disclaimer.d.ts +0 -17
- package/dist/types/models/DisclaimerAgreement.d.ts +0 -11
- package/dist/types/models/DisclaimerScopeEnum.d.ts +0 -8
- 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/DocumentFromPoolRequest.d.ts +0 -10
- 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 -12
- 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/Entity.d.ts +0 -11
- package/dist/types/models/EntityTypeEnum.d.ts +0 -10
- package/dist/types/models/Error.d.ts +0 -3
- package/dist/types/models/ExperimentCreate.d.ts +0 -8
- package/dist/types/models/ExternalProxyInvoke.d.ts +0 -19
- package/dist/types/models/ExternalProxyServiceDetail.d.ts +0 -23
- package/dist/types/models/ExternalProxyServiceList.d.ts +0 -14
- package/dist/types/models/ExternalServiceInfo.d.ts +0 -6
- package/dist/types/models/FailureCategoryEnum.d.ts +0 -28
- package/dist/types/models/FallbackLLM.d.ts +0 -47
- package/dist/types/models/FallbackLLMCreate.d.ts +0 -38
- package/dist/types/models/FallbackLLMUpdate.d.ts +0 -33
- package/dist/types/models/FeedbackModeEnum.d.ts +0 -10
- package/dist/types/models/FileTypeEnum.d.ts +0 -10
- package/dist/types/models/FileUploadURLRequest.d.ts +0 -21
- package/dist/types/models/FileUploadURLResponse.d.ts +0 -25
- package/dist/types/models/FinanceDetailsResponse.d.ts +0 -13
- package/dist/types/models/FinanceFilters.d.ts +0 -15
- package/dist/types/models/FreeUsageCount.d.ts +0 -3
- package/dist/types/models/GoogleAgentDetail.d.ts +0 -17
- package/dist/types/models/GraderCriterion.d.ts +0 -15
- package/dist/types/models/GradingModeEnum.d.ts +0 -8
- package/dist/types/models/GrantMentorAccessRequest.d.ts +0 -9
- package/dist/types/models/GreetingMethodEnum.d.ts +0 -8
- package/dist/types/models/GuidedPrompt.d.ts +0 -4
- package/dist/types/models/GuidedPromptsResponse.d.ts +0 -5
- 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/HumanSupportTicket.d.ts +0 -23
- package/dist/types/models/HumanSupportTicketStatusEnum.d.ts +0 -10
- package/dist/types/models/InputQuestion.d.ts +0 -6
- package/dist/types/models/IntegrationCredential.d.ts +0 -25
- package/dist/types/models/IntegrationCredentialSchema.d.ts +0 -6
- package/dist/types/models/IntegrationCredentialSchemaV2.d.ts +0 -10
- package/dist/types/models/InterfaceEnum.d.ts +0 -8
- package/dist/types/models/IntialQuestionAnswer.d.ts +0 -3
- package/dist/types/models/InvalidQueryParameters.d.ts +0 -3
- package/dist/types/models/InvoiceReportResponse.d.ts +0 -13
- package/dist/types/models/JobRun.d.ts +0 -11
- package/dist/types/models/JudgeRecord.d.ts +0 -18
- package/dist/types/models/LLMCredentialRequest.d.ts +0 -14
- package/dist/types/models/LLMCredentialResponse.d.ts +0 -10
- package/dist/types/models/LLMCredentialSchema.d.ts +0 -6
- package/dist/types/models/LLMJudge.d.ts +0 -10
- package/dist/types/models/LLMModelForTenant.d.ts +0 -6
- package/dist/types/models/LLMModelRegistryMinimal.d.ts +0 -15
- package/dist/types/models/LLMProviderMinimal.d.ts +0 -28
- package/dist/types/models/LLMQuestion.d.ts +0 -15
- package/dist/types/models/LLMResponse.d.ts +0 -18
- 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/LlmProviderEnum.d.ts +0 -10
- package/dist/types/models/MCPServer.d.ts +0 -65
- package/dist/types/models/MCPServerConnection.d.ts +0 -47
- package/dist/types/models/MCPServerConnectionScopeEnum.d.ts +0 -10
- package/dist/types/models/MCPServerOauthFind.d.ts +0 -5
- package/dist/types/models/MCPServerTransportEnum.d.ts +0 -10
- package/dist/types/models/MaskedIntegrationCredential.d.ts +0 -25
- package/dist/types/models/MaskedLLMCredential.d.ts +0 -10
- package/dist/types/models/McpServerConfig.d.ts +0 -17
- package/dist/types/models/McpServerConfigTransportEnum.d.ts +0 -8
- package/dist/types/models/McpServerCreate.d.ts +0 -8
- package/dist/types/models/McpServerEntry.d.ts +0 -8
- package/dist/types/models/McpServerListResponse.d.ts +0 -4
- package/dist/types/models/MemoryComponentData.d.ts +0 -5
- package/dist/types/models/MemoryComponentDataKindEnum.d.ts +0 -10
- 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 -248
- package/dist/types/models/MentorAudience.d.ts +0 -5
- package/dist/types/models/MentorAuditLogEntry.d.ts +0 -43
- package/dist/types/models/MentorBreakdown.d.ts +0 -9
- 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 -238
- 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/MentorFromTemplate.d.ts +0 -3
- package/dist/types/models/MentorFromTemplateWithSettingRequest.d.ts +0 -78
- package/dist/types/models/MentorFromTemplateWithSettingRequestVoiceProviderEnum.d.ts +0 -8
- package/dist/types/models/MentorGraderConfig.d.ts +0 -24
- 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 -135
- package/dist/types/models/MentorSettingsPublic.d.ts +0 -95
- package/dist/types/models/MentorSettingsRequest.d.ts +0 -115
- package/dist/types/models/MentorSettingsRequestVoiceProviderEnum.d.ts +0 -10
- package/dist/types/models/MentorSkillAssignment.d.ts +0 -12
- package/dist/types/models/MentorSummary.d.ts +0 -5
- package/dist/types/models/MentorType.d.ts +0 -5
- package/dist/types/models/MentorUserSetting.d.ts +0 -4
- 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 -12
- package/dist/types/models/MessageViewRequest.d.ts +0 -9
- 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/MetricInfo.d.ts +0 -5
- package/dist/types/models/ModalityEnum.d.ts +0 -10
- package/dist/types/models/ModelCost.d.ts +0 -4
- package/dist/types/models/ModerationLog.d.ts +0 -12
- package/dist/types/models/NameEnum.d.ts +0 -14
- package/dist/types/models/NoChatMessagesFound.d.ts +0 -3
- package/dist/types/models/OAuthProvider.d.ts +0 -24
- package/dist/types/models/OAuthService.d.ts +0 -18
- package/dist/types/models/OAuthStartResponse.d.ts +0 -3
- package/dist/types/models/OauthCredentialsMasked.d.ts +0 -10
- package/dist/types/models/Observation.d.ts +0 -31
- package/dist/types/models/OfflineDocument.d.ts +0 -19
- package/dist/types/models/OvertimeData.d.ts +0 -13
- package/dist/types/models/PageContent.d.ts +0 -6
- package/dist/types/models/PaginatedAIGeneratedImageList.d.ts +0 -7
- package/dist/types/models/PaginatedAgentSkillList.d.ts +0 -7
- package/dist/types/models/PaginatedAgentSkillResourceList.d.ts +0 -7
- package/dist/types/models/PaginatedArtifactListList.d.ts +0 -7
- package/dist/types/models/PaginatedArtifactVersionList.d.ts +0 -7
- package/dist/types/models/PaginatedChatRunTrackerList.d.ts +0 -7
- package/dist/types/models/PaginatedClawInstanceList.d.ts +0 -7
- package/dist/types/models/PaginatedClawModelProviderList.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/PaginatedDatasetItemList.d.ts +0 -7
- package/dist/types/models/PaginatedDatasetList.d.ts +0 -7
- package/dist/types/models/PaginatedDisclaimerAgreementList.d.ts +0 -7
- package/dist/types/models/PaginatedDisclaimerList.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/PaginatedGoogleAgentDetailList.d.ts +0 -7
- package/dist/types/models/PaginatedGraderCriterionList.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/PaginatedHumanSupportTicketList.d.ts +0 -7
- package/dist/types/models/PaginatedJobRunList.d.ts +0 -7
- package/dist/types/models/PaginatedJudgeList.d.ts +0 -7
- package/dist/types/models/PaginatedMCPServerConnectionList.d.ts +0 -7
- package/dist/types/models/PaginatedMCPServerList.d.ts +0 -7
- package/dist/types/models/PaginatedMentorAuditLogEntryList.d.ts +0 -7
- package/dist/types/models/PaginatedMentorList.d.ts +0 -7
- package/dist/types/models/PaginatedMentorSkillAssignmentList.d.ts +0 -7
- package/dist/types/models/PaginatedModerationLogList.d.ts +0 -7
- package/dist/types/models/PaginatedObservationList.d.ts +0 -7
- package/dist/types/models/PaginatedOfflineDocumentList.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/PaginatedProjectList.d.ts +0 -7
- package/dist/types/models/PaginatedRetrieverDocumentEmbeddingList.d.ts +0 -7
- package/dist/types/models/PaginatedRunList.d.ts +0 -7
- package/dist/types/models/PaginatedScoreConfigList.d.ts +0 -7
- package/dist/types/models/PaginatedScoreList.d.ts +0 -7
- package/dist/types/models/PaginatedTicketMessageList.d.ts +0 -7
- package/dist/types/models/PaginatedTopicStatisticsResponse.d.ts +0 -7
- package/dist/types/models/PaginatedTraceList.d.ts +0 -7
- package/dist/types/models/PaginatedUserEdxMemoryList.d.ts +0 -7
- package/dist/types/models/PaginatedVeoVideoListList.d.ts +0 -7
- package/dist/types/models/PaginatedVoiceList.d.ts +0 -7
- package/dist/types/models/PaginatedWorkflowList.d.ts +0 -7
- package/dist/types/models/PatchedAgentSkill.d.ts +0 -35
- package/dist/types/models/PatchedAgentSkillResource.d.ts +0 -17
- package/dist/types/models/PatchedArtifact.d.ts +0 -60
- package/dist/types/models/PatchedBotCommand.d.ts +0 -6
- package/dist/types/models/PatchedBotCreate.d.ts +0 -12
- package/dist/types/models/PatchedCallConfiguration.d.ts +0 -38
- package/dist/types/models/PatchedClawConfigPatchRequest.d.ts +0 -14
- package/dist/types/models/PatchedClawInstance.d.ts +0 -46
- package/dist/types/models/PatchedClawMentorConfig.d.ts +0 -27
- package/dist/types/models/PatchedClawModelProvider.d.ts +0 -40
- package/dist/types/models/PatchedConversations.d.ts +0 -54
- package/dist/types/models/PatchedCourseCreationTaskFile.d.ts +0 -7
- package/dist/types/models/PatchedCredentialRequest.d.ts +0 -14
- package/dist/types/models/PatchedCronJobPatch.d.ts +0 -24
- package/dist/types/models/PatchedDisclaimer.d.ts +0 -17
- package/dist/types/models/PatchedDiscordConfig.d.ts +0 -7
- package/dist/types/models/PatchedDiscordUserConfig.d.ts +0 -10
- package/dist/types/models/PatchedFallbackLLMUpdate.d.ts +0 -33
- package/dist/types/models/PatchedGoogleAgentDetail.d.ts +0 -17
- package/dist/types/models/PatchedGraderCriterion.d.ts +0 -15
- package/dist/types/models/PatchedHumanSupportTicket.d.ts +0 -23
- package/dist/types/models/PatchedLLMCredentialRequest.d.ts +0 -14
- package/dist/types/models/PatchedMCPServer.d.ts +0 -65
- package/dist/types/models/PatchedMCPServerConnection.d.ts +0 -47
- package/dist/types/models/PatchedMcpServerUpdate.d.ts +0 -8
- package/dist/types/models/PatchedMentorCategoryGroupCreate.d.ts +0 -11
- package/dist/types/models/PatchedMentorCreate.d.ts +0 -238
- package/dist/types/models/PatchedMentorFromTemplate.d.ts +0 -3
- package/dist/types/models/PatchedMentorGraderConfig.d.ts +0 -24
- package/dist/types/models/PatchedMentorSettings.d.ts +0 -135
- package/dist/types/models/PatchedMentorSkillAssignment.d.ts +0 -12
- package/dist/types/models/PatchedMentorWizard.d.ts +0 -4
- package/dist/types/models/PatchedPeriodicAgentCreate.d.ts +0 -41
- package/dist/types/models/PatchedPlayWrightScript.d.ts +0 -12
- package/dist/types/models/PatchedProject.d.ts +0 -51
- package/dist/types/models/PatchedPrompt.d.ts +0 -22
- package/dist/types/models/PatchedSeedMentorsView.d.ts +0 -3
- package/dist/types/models/PatchedSlackConfig.d.ts +0 -8
- package/dist/types/models/PatchedSlackUserConfig.d.ts +0 -17
- package/dist/types/models/PatchedTeamsConfig.d.ts +0 -7
- package/dist/types/models/PatchedTenantChatPrivacyConfig.d.ts +0 -11
- package/dist/types/models/PatchedTicketMessage.d.ts +0 -10
- 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/PatchedWorkflow.d.ts +0 -58
- package/dist/types/models/PeriodInfo.d.ts +0 -21
- 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/PeriodicAgentStatistics.d.ts +0 -7
- package/dist/types/models/PeriodicTask.d.ts +0 -21
- package/dist/types/models/PhiActionEnum.d.ts +0 -12
- 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/PinnedMessageRequest.d.ts +0 -6
- package/dist/types/models/PlatformPrompt.d.ts +0 -34
- package/dist/types/models/PlatformPromptResponse.d.ts +0 -16
- 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/PrivacyActionEnum.d.ts +0 -12
- package/dist/types/models/Project.d.ts +0 -51
- package/dist/types/models/ProjectMentor.d.ts +0 -11
- 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/ProviderBreakdown.d.ts +0 -8
- package/dist/types/models/ProvisionModeEnum.d.ts +0 -8
- 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/RatingAverageRecord.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/RatingsOvertime.d.ts +0 -5
- package/dist/types/models/RecentlyAccessedMentor.d.ts +0 -11
- package/dist/types/models/RecommendationTypeEnum.d.ts +0 -8
- package/dist/types/models/RecommendedCoursesResponse.d.ts +0 -33
- package/dist/types/models/RelatedText.d.ts +0 -3
- package/dist/types/models/RemoveMentorFromDisclaimer.d.ts +0 -12
- package/dist/types/models/ReorderChildren.d.ts +0 -13
- 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 -30
- package/dist/types/models/RetrieverDocumentEmbeddingRequest.d.ts +0 -66
- 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/Run.d.ts +0 -21
- package/dist/types/models/RunDetailResponse.d.ts +0 -19
- 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/ScopeC1dEnum.d.ts +0 -8
- package/dist/types/models/Score.d.ts +0 -17
- package/dist/types/models/ScoreConfig.d.ts +0 -12
- package/dist/types/models/ScoreConfigCategory.d.ts +0 -7
- package/dist/types/models/ScoreConfigCreate.d.ts +0 -13
- package/dist/types/models/ScoreCreate.d.ts +0 -14
- package/dist/types/models/ScoreCreateResponse.d.ts +0 -8
- package/dist/types/models/SeedMentorsView.d.ts +0 -3
- package/dist/types/models/Segment.d.ts +0 -5
- package/dist/types/models/SellableItem.d.ts +0 -14
- package/dist/types/models/SellableItemPaywall.d.ts +0 -9
- package/dist/types/models/SellableItemsResponse.d.ts +0 -13
- package/dist/types/models/SentimentSummary.d.ts +0 -4
- package/dist/types/models/ServiceTypeEnum.d.ts +0 -10
- package/dist/types/models/SessionBrowserScreenshot.d.ts +0 -8
- package/dist/types/models/SessionChartPoint.d.ts +0 -4
- package/dist/types/models/SessionDetail.d.ts +0 -6
- package/dist/types/models/SessionDisableChathistoryRequest.d.ts +0 -9
- package/dist/types/models/SessionDisableChathistoryResponse.d.ts +0 -7
- package/dist/types/models/SessionMemoryStorage.d.ts +0 -6
- package/dist/types/models/SessionSummary.d.ts +0 -12
- package/dist/types/models/SessionSummaryMentor.d.ts +0 -6
- package/dist/types/models/SessionsChart.d.ts +0 -5
- package/dist/types/models/SetCurrentVersionRequest.d.ts +0 -3
- package/dist/types/models/ShareableMentorLink.d.ts +0 -8
- package/dist/types/models/SharedSessionUpdateRequest.d.ts +0 -3
- package/dist/types/models/SharedSessionUpdateResponse.d.ts +0 -3
- package/dist/types/models/ShellLogs.d.ts +0 -3
- package/dist/types/models/SkillTypeEnum.d.ts +0 -8
- 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 -9
- package/dist/types/models/StarterPrompts8c6Enum.d.ts +0 -8
- package/dist/types/models/StarterPromptsB04Enum.d.ts +0 -8
- package/dist/types/models/Step.d.ts +0 -9
- package/dist/types/models/StepStatusEnum.d.ts +0 -10
- package/dist/types/models/StopGenerationRequest.d.ts +0 -9
- package/dist/types/models/SttProviderEnum.d.ts +0 -14
- package/dist/types/models/StudentChatMessage.d.ts +0 -4
- package/dist/types/models/StylesView.d.ts +0 -4
- package/dist/types/models/Subject.d.ts +0 -5
- package/dist/types/models/Summary.d.ts +0 -9
- package/dist/types/models/TagsView.d.ts +0 -5
- package/dist/types/models/TargetSystemEnum.d.ts +0 -12
- 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/TenantChatPrivacyConfig.d.ts +0 -11
- package/dist/types/models/TenantMentorTraces.d.ts +0 -6
- package/dist/types/models/TenantSetting.d.ts +0 -5
- package/dist/types/models/ThemeEnum.d.ts +0 -8
- package/dist/types/models/TicketMessage.d.ts +0 -10
- package/dist/types/models/TonesView.d.ts +0 -4
- package/dist/types/models/ToolCategory.d.ts +0 -5
- package/dist/types/models/ToolResponse.d.ts +0 -16
- package/dist/types/models/TopicDetail.d.ts +0 -8
- package/dist/types/models/TopicDetails.d.ts +0 -5
- 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/TopicsOverview.d.ts +0 -22
- package/dist/types/models/TopicsOverviewMetric.d.ts +0 -21
- package/dist/types/models/Trace.d.ts +0 -17
- package/dist/types/models/TrainDocumentViewRequest.d.ts +0 -86
- package/dist/types/models/TrainDocumentViewResponse.d.ts +0 -15
- package/dist/types/models/TrainingStatusEnum.d.ts +0 -12
- 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/TtsProviderEnum.d.ts +0 -12
- package/dist/types/models/UpdateXblock.d.ts +0 -17
- 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 -15
- package/dist/types/models/UserChatFeedbackCount.d.ts +0 -4
- package/dist/types/models/UserChatHistoryFilterData.d.ts +0 -10
- 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/UserChatPrivacySettings.d.ts +0 -18
- package/dist/types/models/UserCountRecord.d.ts +0 -4
- package/dist/types/models/UserDefaultMentor.d.ts +0 -17
- package/dist/types/models/UserDetail.d.ts +0 -7
- 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/UserReportListResponse.d.ts +0 -6
- package/dist/types/models/UserSentimentCountView.d.ts +0 -4
- package/dist/types/models/UserTrendByPeriod.d.ts +0 -5
- package/dist/types/models/V2GlobalMentorSearchResponse.d.ts +0 -29
- package/dist/types/models/V2PersonalizedMentorsResponse.d.ts +0 -29
- package/dist/types/models/V2RecommendationResponse.d.ts +0 -65
- package/dist/types/models/VectorResult.d.ts +0 -10
- package/dist/types/models/VeoVideoDetail.d.ts +0 -10
- package/dist/types/models/VeoVideoList.d.ts +0 -6
- package/dist/types/models/VeoVideoRequest.d.ts +0 -5
- package/dist/types/models/VideoCaption.d.ts +0 -3
- package/dist/types/models/Voice.d.ts +0 -9
- package/dist/types/models/VoiceProviderD5aEnum.d.ts +0 -10
- package/dist/types/models/VoiceProviderEnum.d.ts +0 -12
- package/dist/types/models/WakeModeEnum.d.ts +0 -8
- package/dist/types/models/WakeRequest.d.ts +0 -8
- package/dist/types/models/WakeResponse.d.ts +0 -14
- 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/models/Workflow.d.ts +0 -58
- package/dist/types/models/XblockResult.d.ts +0 -9
- package/dist/types/models/XblockTypeEnum.d.ts +0 -16
- package/dist/types/services/AiAccountService.d.ts +0 -889
- package/dist/types/services/AiBotService.d.ts +0 -650
- package/dist/types/services/AiIndexService.d.ts +0 -355
- package/dist/types/services/AiMarketingService.d.ts +0 -38
- package/dist/types/services/AiMediaService.d.ts +0 -247
- package/dist/types/services/AiMentorService.d.ts +0 -11007
- package/dist/types/services/AiPromptService.d.ts +0 -1035
- package/dist/types/services/AiProxyService.d.ts +0 -37
- package/dist/types/services/AiSearchService.d.ts +0 -819
- package/dist/types/services/IntegrationCredentialsService.d.ts +0 -30
- package/src/models/AIGeneratedImage.ts +0 -18
- package/src/models/AIUserProfileMemoryRelation.ts +0 -9
- package/src/models/AIUserProfileRequest.ts +0 -9
- package/src/models/AccessEnum.ts +0 -12
- package/src/models/AccessTimesHeatmap.ts +0 -10
- package/src/models/AccessibleMentorsByEmailRequest.ts +0 -18
- package/src/models/AccessibleMentorsByEmailResponse.ts +0 -18
- package/src/models/ActionBreakdown.ts +0 -15
- package/src/models/AddMentorToDisclaimer.ts +0 -17
- package/src/models/AdminIntegrationCredential.ts +0 -22
- package/src/models/AgentSkill.ts +0 -40
- package/src/models/AgentSkillResource.ts +0 -22
- package/src/models/AlignMentorBubbleEnum.ts +0 -12
- package/src/models/AnalyticsOverview.ts +0 -12
- package/src/models/Answer.ts +0 -16
- package/src/models/Artifact.ts +0 -65
- package/src/models/ArtifactList.ts +0 -47
- package/src/models/ArtifactVersion.ts +0 -60
- 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/AuthModeEnum.ts +0 -16
- package/src/models/AuthScopeEnum.ts +0 -14
- package/src/models/AuthTypeEnum.ts +0 -14
- package/src/models/BaseFinanceResponse.ts +0 -42
- package/src/models/BillingPeriod.ts +0 -13
- package/src/models/Bot.ts +0 -20
- package/src/models/BotCommand.ts +0 -11
- package/src/models/BotCreate.ts +0 -17
- package/src/models/Breakdown.ts +0 -16
- package/src/models/CallAuthenticationRequest.ts +0 -22
- package/src/models/CallAuthenticationResponse.ts +0 -26
- package/src/models/CallConfiguration.ts +0 -43
- package/src/models/CallConfigurationModeEnum.ts +0 -12
- package/src/models/ChatCompletionRequest.ts +0 -32
- package/src/models/ChatHistory.ts +0 -25
- package/src/models/ChatHistoryFilterData.ts +0 -14
- package/src/models/ChatHistoryFilterUser.ts +0 -10
- package/src/models/ChatHistoryItem.ts +0 -11
- package/src/models/ChatHistorySessionId.ts +0 -8
- package/src/models/ChatPrivacyModeEnum.ts +0 -14
- package/src/models/ChatRunTracker.ts +0 -39
- package/src/models/ChatRunTrackerStatusEnum.ts +0 -14
- package/src/models/ChatSessionRequest.ts +0 -24
- package/src/models/ChatSessionResponse.ts +0 -13
- package/src/models/CheckDocumentTrainingStatus.ts +0 -15
- package/src/models/ClawConfigGetResponse.ts +0 -24
- package/src/models/ClawInstance.ts +0 -51
- package/src/models/ClawInstanceStatusEnum.ts +0 -14
- package/src/models/ClawMentorConfig.ts +0 -32
- package/src/models/ClawModelProvider.ts +0 -45
- package/src/models/ClawRpcError.ts +0 -12
- package/src/models/ClawTypeEnum.ts +0 -12
- package/src/models/ComparisonInfo.ts +0 -34
- package/src/models/ConnectedService.ts +0 -33
- package/src/models/ConversationChartPoint.ts +0 -9
- package/src/models/ConversationDetailResponse.ts +0 -9
- package/src/models/ConversationListItem.ts +0 -29
- package/src/models/ConversationListResponse.ts +0 -11
- 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 -59
- package/src/models/ConversationsChart.ts +0 -10
- package/src/models/Cost.ts +0 -8
- package/src/models/CostPerTenant.ts +0 -11
- package/src/models/CourseCreationTask.ts +0 -41
- package/src/models/CourseCreationTaskFile.ts +0 -12
- package/src/models/CourseCreationTaskStatusEnum.ts +0 -20
- package/src/models/CourseRecommendation.ts +0 -54
- package/src/models/CrawlerPatternTypeEnum.ts +0 -12
- package/src/models/CreateXblock.ts +0 -42
- package/src/models/CredentialRequest.ts +0 -19
- package/src/models/CronDelivery.ts +0 -17
- package/src/models/CronDeliveryModeEnum.ts +0 -14
- package/src/models/CronJobCreate.ts +0 -27
- package/src/models/CronJobListResponse.ts +0 -15
- package/src/models/CronJobResponse.ts +0 -33
- package/src/models/CronPayload.ts +0 -24
- package/src/models/CronPayloadKindEnum.ts +0 -12
- package/src/models/CronRunAction.ts +0 -12
- package/src/models/CronRunActionModeEnum.ts +0 -12
- package/src/models/CronRunLogEntry.ts +0 -30
- package/src/models/CronRunLogEntryStatusEnum.ts +0 -14
- package/src/models/CronRunResult.ts +0 -13
- package/src/models/CronRunsResponse.ts +0 -15
- package/src/models/CronSchedule.ts +0 -22
- package/src/models/CronScheduleKindEnum.ts +0 -14
- package/src/models/CronStatusResponse.ts +0 -19
- package/src/models/CrontabSchedule.ts +0 -27
- package/src/models/CurrentUsersResponse.ts +0 -13
- package/src/models/CustomInstructionResponse.ts +0 -18
- package/src/models/DataTypeEnum.ts +0 -14
- package/src/models/Dataset.ts +0 -17
- package/src/models/DatasetCreate.ts +0 -13
- package/src/models/DatasetItem.ts +0 -25
- package/src/models/DatasetItemBulkCreateResponse.ts +0 -10
- package/src/models/DatasetItemCreate.ts +0 -15
- package/src/models/DatasetItemInput.ts +0 -12
- package/src/models/DatasetItemUpdate.ts +0 -15
- package/src/models/DatasetItemUpdateStatusEnum.ts +0 -12
- package/src/models/DatasetRunItem.ts +0 -21
- package/src/models/DateRange.ts +0 -9
- package/src/models/DeleteXblock.ts +0 -14
- package/src/models/DeliveryStatusEnum.ts +0 -16
- package/src/models/DeployStateEnum.ts +0 -18
- package/src/models/Disclaimer.ts +0 -22
- package/src/models/DisclaimerAgreement.ts +0 -16
- package/src/models/DisclaimerScopeEnum.ts +0 -12
- 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/DocumentFromPoolRequest.ts +0 -15
- package/src/models/DocumentSearchResponse.ts +0 -40
- package/src/models/DocumentSettingsResponse.ts +0 -8
- package/src/models/EdxCourse.ts +0 -17
- 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/Entity.ts +0 -16
- package/src/models/EntityTypeEnum.ts +0 -14
- package/src/models/Error.ts +0 -8
- package/src/models/ExperimentCreate.ts +0 -13
- package/src/models/ExternalProxyInvoke.ts +0 -24
- package/src/models/ExternalProxyServiceDetail.ts +0 -28
- package/src/models/ExternalProxyServiceList.ts +0 -19
- package/src/models/ExternalServiceInfo.ts +0 -11
- package/src/models/FailureCategoryEnum.ts +0 -32
- package/src/models/FallbackLLM.ts +0 -52
- package/src/models/FallbackLLMCreate.ts +0 -43
- package/src/models/FallbackLLMUpdate.ts +0 -38
- package/src/models/FeedbackModeEnum.ts +0 -14
- package/src/models/FileTypeEnum.ts +0 -14
- package/src/models/FileUploadURLRequest.ts +0 -26
- package/src/models/FileUploadURLResponse.ts +0 -30
- package/src/models/FinanceDetailsResponse.ts +0 -18
- package/src/models/FinanceFilters.ts +0 -20
- package/src/models/FreeUsageCount.ts +0 -8
- package/src/models/GoogleAgentDetail.ts +0 -22
- package/src/models/GraderCriterion.ts +0 -20
- package/src/models/GradingModeEnum.ts +0 -12
- package/src/models/GrantMentorAccessRequest.ts +0 -14
- package/src/models/GreetingMethodEnum.ts +0 -12
- package/src/models/GuidedPrompt.ts +0 -9
- package/src/models/GuidedPromptsResponse.ts +0 -10
- 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/HumanSupportTicket.ts +0 -28
- package/src/models/HumanSupportTicketStatusEnum.ts +0 -14
- package/src/models/InputQuestion.ts +0 -11
- package/src/models/IntegrationCredential.ts +0 -30
- package/src/models/IntegrationCredentialSchema.ts +0 -11
- package/src/models/IntegrationCredentialSchemaV2.ts +0 -15
- package/src/models/InterfaceEnum.ts +0 -12
- package/src/models/IntialQuestionAnswer.ts +0 -8
- package/src/models/InvalidQueryParameters.ts +0 -8
- package/src/models/InvoiceReportResponse.ts +0 -18
- package/src/models/JobRun.ts +0 -16
- package/src/models/JudgeRecord.ts +0 -23
- package/src/models/LLMCredentialRequest.ts +0 -19
- package/src/models/LLMCredentialResponse.ts +0 -15
- package/src/models/LLMCredentialSchema.ts +0 -11
- package/src/models/LLMJudge.ts +0 -15
- package/src/models/LLMModelForTenant.ts +0 -11
- package/src/models/LLMModelRegistryMinimal.ts +0 -20
- package/src/models/LLMProviderMinimal.ts +0 -33
- package/src/models/LLMQuestion.ts +0 -20
- package/src/models/LLMResponse.ts +0 -23
- 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/LlmProviderEnum.ts +0 -14
- package/src/models/MCPServer.ts +0 -70
- package/src/models/MCPServerConnection.ts +0 -52
- package/src/models/MCPServerConnectionScopeEnum.ts +0 -14
- package/src/models/MCPServerOauthFind.ts +0 -10
- package/src/models/MCPServerTransportEnum.ts +0 -14
- package/src/models/MaskedIntegrationCredential.ts +0 -30
- package/src/models/MaskedLLMCredential.ts +0 -15
- package/src/models/McpServerConfig.ts +0 -22
- package/src/models/McpServerConfigTransportEnum.ts +0 -12
- package/src/models/McpServerCreate.ts +0 -13
- package/src/models/McpServerEntry.ts +0 -13
- package/src/models/McpServerListResponse.ts +0 -9
- package/src/models/MemoryComponentData.ts +0 -10
- package/src/models/MemoryComponentDataKindEnum.ts +0 -14
- 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 -253
- package/src/models/MentorAudience.ts +0 -10
- package/src/models/MentorAuditLogEntry.ts +0 -48
- package/src/models/MentorBreakdown.ts +0 -14
- 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 -243
- 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/MentorFromTemplate.ts +0 -8
- package/src/models/MentorFromTemplateWithSettingRequest.ts +0 -83
- package/src/models/MentorFromTemplateWithSettingRequestVoiceProviderEnum.ts +0 -12
- package/src/models/MentorGraderConfig.ts +0 -29
- 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 -140
- package/src/models/MentorSettingsPublic.ts +0 -100
- package/src/models/MentorSettingsRequest.ts +0 -120
- package/src/models/MentorSettingsRequestVoiceProviderEnum.ts +0 -14
- package/src/models/MentorSkillAssignment.ts +0 -17
- package/src/models/MentorSummary.ts +0 -10
- package/src/models/MentorType.ts +0 -10
- package/src/models/MentorUserSetting.ts +0 -9
- 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 -17
- package/src/models/MessageViewRequest.ts +0 -14
- package/src/models/MessageViewUpdatResponse.ts +0 -8
- package/src/models/Metadata.ts +0 -10
- package/src/models/MetricChange.ts +0 -9
- package/src/models/MetricInfo.ts +0 -10
- package/src/models/ModalityEnum.ts +0 -14
- package/src/models/ModelCost.ts +0 -9
- package/src/models/ModerationLog.ts +0 -17
- package/src/models/NameEnum.ts +0 -18
- package/src/models/NoChatMessagesFound.ts +0 -8
- package/src/models/OAuthProvider.ts +0 -29
- package/src/models/OAuthService.ts +0 -23
- package/src/models/OAuthStartResponse.ts +0 -8
- package/src/models/OauthCredentialsMasked.ts +0 -15
- package/src/models/Observation.ts +0 -36
- package/src/models/OfflineDocument.ts +0 -24
- package/src/models/OvertimeData.ts +0 -18
- package/src/models/PageContent.ts +0 -11
- package/src/models/PaginatedAIGeneratedImageList.ts +0 -12
- package/src/models/PaginatedAgentSkillList.ts +0 -12
- package/src/models/PaginatedAgentSkillResourceList.ts +0 -12
- package/src/models/PaginatedArtifactListList.ts +0 -12
- package/src/models/PaginatedArtifactVersionList.ts +0 -12
- package/src/models/PaginatedChatRunTrackerList.ts +0 -12
- package/src/models/PaginatedClawInstanceList.ts +0 -12
- package/src/models/PaginatedClawModelProviderList.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/PaginatedDatasetItemList.ts +0 -12
- package/src/models/PaginatedDatasetList.ts +0 -12
- package/src/models/PaginatedDisclaimerAgreementList.ts +0 -12
- package/src/models/PaginatedDisclaimerList.ts +0 -12
- package/src/models/PaginatedEdxCourseList.ts +0 -12
- package/src/models/PaginatedEmailPromptListList.ts +0 -12
- package/src/models/PaginatedGoogleAgentDetailList.ts +0 -12
- package/src/models/PaginatedGraderCriterionList.ts +0 -12
- package/src/models/PaginatedHeygenMarketingVideoListList.ts +0 -12
- package/src/models/PaginatedHeygenTemplateResponseSingleList.ts +0 -12
- package/src/models/PaginatedHumanSupportTicketList.ts +0 -12
- package/src/models/PaginatedJobRunList.ts +0 -12
- package/src/models/PaginatedJudgeList.ts +0 -12
- package/src/models/PaginatedMCPServerConnectionList.ts +0 -12
- package/src/models/PaginatedMCPServerList.ts +0 -12
- package/src/models/PaginatedMentorAuditLogEntryList.ts +0 -12
- package/src/models/PaginatedMentorList.ts +0 -12
- package/src/models/PaginatedMentorSkillAssignmentList.ts +0 -12
- package/src/models/PaginatedModerationLogList.ts +0 -12
- package/src/models/PaginatedObservationList.ts +0 -12
- package/src/models/PaginatedOfflineDocumentList.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/PaginatedProjectList.ts +0 -12
- package/src/models/PaginatedRetrieverDocumentEmbeddingList.ts +0 -12
- package/src/models/PaginatedRunList.ts +0 -12
- package/src/models/PaginatedScoreConfigList.ts +0 -12
- package/src/models/PaginatedScoreList.ts +0 -12
- package/src/models/PaginatedTicketMessageList.ts +0 -12
- package/src/models/PaginatedTopicStatisticsResponse.ts +0 -12
- package/src/models/PaginatedTraceList.ts +0 -12
- package/src/models/PaginatedUserEdxMemoryList.ts +0 -12
- package/src/models/PaginatedVeoVideoListList.ts +0 -12
- package/src/models/PaginatedVoiceList.ts +0 -12
- package/src/models/PaginatedWorkflowList.ts +0 -12
- package/src/models/PatchedAgentSkill.ts +0 -40
- package/src/models/PatchedAgentSkillResource.ts +0 -22
- package/src/models/PatchedArtifact.ts +0 -65
- package/src/models/PatchedBotCommand.ts +0 -11
- package/src/models/PatchedBotCreate.ts +0 -17
- package/src/models/PatchedCallConfiguration.ts +0 -43
- package/src/models/PatchedClawConfigPatchRequest.ts +0 -19
- package/src/models/PatchedClawInstance.ts +0 -51
- package/src/models/PatchedClawMentorConfig.ts +0 -32
- package/src/models/PatchedClawModelProvider.ts +0 -45
- package/src/models/PatchedConversations.ts +0 -59
- package/src/models/PatchedCourseCreationTaskFile.ts +0 -12
- package/src/models/PatchedCredentialRequest.ts +0 -19
- package/src/models/PatchedCronJobPatch.ts +0 -29
- package/src/models/PatchedDisclaimer.ts +0 -22
- package/src/models/PatchedDiscordConfig.ts +0 -12
- package/src/models/PatchedDiscordUserConfig.ts +0 -15
- package/src/models/PatchedFallbackLLMUpdate.ts +0 -38
- package/src/models/PatchedGoogleAgentDetail.ts +0 -22
- package/src/models/PatchedGraderCriterion.ts +0 -20
- package/src/models/PatchedHumanSupportTicket.ts +0 -28
- package/src/models/PatchedLLMCredentialRequest.ts +0 -19
- package/src/models/PatchedMCPServer.ts +0 -70
- package/src/models/PatchedMCPServerConnection.ts +0 -52
- package/src/models/PatchedMcpServerUpdate.ts +0 -13
- package/src/models/PatchedMentorCategoryGroupCreate.ts +0 -16
- package/src/models/PatchedMentorCreate.ts +0 -243
- package/src/models/PatchedMentorFromTemplate.ts +0 -8
- package/src/models/PatchedMentorGraderConfig.ts +0 -29
- package/src/models/PatchedMentorSettings.ts +0 -140
- package/src/models/PatchedMentorSkillAssignment.ts +0 -17
- package/src/models/PatchedMentorWizard.ts +0 -9
- package/src/models/PatchedPeriodicAgentCreate.ts +0 -46
- package/src/models/PatchedPlayWrightScript.ts +0 -17
- package/src/models/PatchedProject.ts +0 -56
- package/src/models/PatchedPrompt.ts +0 -27
- package/src/models/PatchedSeedMentorsView.ts +0 -8
- package/src/models/PatchedSlackConfig.ts +0 -13
- package/src/models/PatchedSlackUserConfig.ts +0 -22
- package/src/models/PatchedTeamsConfig.ts +0 -12
- package/src/models/PatchedTenantChatPrivacyConfig.ts +0 -16
- package/src/models/PatchedTicketMessage.ts +0 -15
- package/src/models/PatchedWebexConfig.ts +0 -15
- package/src/models/PatchedWhatsappConfig.ts +0 -16
- package/src/models/PatchedWhatsappUserConfig.ts +0 -15
- package/src/models/PatchedWorkflow.ts +0 -63
- package/src/models/PeriodInfo.ts +0 -26
- 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/PeriodicAgentStatistics.ts +0 -12
- package/src/models/PeriodicTask.ts +0 -26
- package/src/models/PhiActionEnum.ts +0 -16
- package/src/models/PieChartData.ts +0 -10
- package/src/models/PieChartSegment.ts +0 -9
- package/src/models/PinnedMessageCreate.ts +0 -14
- package/src/models/PinnedMessageRequest.ts +0 -11
- package/src/models/PlatformPrompt.ts +0 -39
- package/src/models/PlatformPromptResponse.ts +0 -21
- 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/PrivacyActionEnum.ts +0 -16
- package/src/models/Project.ts +0 -56
- package/src/models/ProjectMentor.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/ProviderBreakdown.ts +0 -13
- package/src/models/ProvisionModeEnum.ts +0 -12
- package/src/models/QuestionCardTag.ts +0 -13
- package/src/models/QuestionRequest.ts +0 -20
- package/src/models/QuestionResponse.ts +0 -15
- package/src/models/RatingAverageRecord.ts +0 -15
- package/src/models/RatingEnum.ts +0 -12
- package/src/models/RatingRecord.ts +0 -9
- package/src/models/RatingsOvertime.ts +0 -10
- package/src/models/RecentlyAccessedMentor.ts +0 -16
- package/src/models/RecommendationTypeEnum.ts +0 -12
- package/src/models/RecommendedCoursesResponse.ts +0 -38
- package/src/models/RelatedText.ts +0 -8
- package/src/models/RemoveMentorFromDisclaimer.ts +0 -17
- package/src/models/ReorderChildren.ts +0 -18
- 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 -35
- package/src/models/RetrieverDocumentEmbeddingRequest.ts +0 -71
- 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/Run.ts +0 -26
- package/src/models/RunDetailResponse.ts +0 -24
- package/src/models/RunMentorEval.ts +0 -8
- package/src/models/ScanWebhookRequest.ts +0 -11
- package/src/models/ScanWebhookResponse.ts +0 -8
- package/src/models/ScopeC1dEnum.ts +0 -12
- package/src/models/Score.ts +0 -22
- package/src/models/ScoreConfig.ts +0 -17
- package/src/models/ScoreConfigCategory.ts +0 -12
- package/src/models/ScoreConfigCreate.ts +0 -18
- package/src/models/ScoreCreate.ts +0 -19
- package/src/models/ScoreCreateResponse.ts +0 -13
- package/src/models/SeedMentorsView.ts +0 -8
- package/src/models/Segment.ts +0 -10
- package/src/models/SellableItem.ts +0 -19
- package/src/models/SellableItemPaywall.ts +0 -14
- package/src/models/SellableItemsResponse.ts +0 -18
- package/src/models/SentimentSummary.ts +0 -9
- package/src/models/ServiceTypeEnum.ts +0 -14
- package/src/models/SessionBrowserScreenshot.ts +0 -13
- package/src/models/SessionChartPoint.ts +0 -9
- package/src/models/SessionDetail.ts +0 -11
- package/src/models/SessionDisableChathistoryRequest.ts +0 -14
- package/src/models/SessionDisableChathistoryResponse.ts +0 -12
- package/src/models/SessionMemoryStorage.ts +0 -11
- package/src/models/SessionSummary.ts +0 -17
- package/src/models/SessionSummaryMentor.ts +0 -11
- package/src/models/SessionsChart.ts +0 -10
- package/src/models/SetCurrentVersionRequest.ts +0 -8
- package/src/models/ShareableMentorLink.ts +0 -13
- package/src/models/SharedSessionUpdateRequest.ts +0 -8
- package/src/models/SharedSessionUpdateResponse.ts +0 -8
- package/src/models/ShellLogs.ts +0 -8
- package/src/models/SkillTypeEnum.ts +0 -12
- 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 -14
- package/src/models/StarterPrompts8c6Enum.ts +0 -12
- package/src/models/StarterPromptsB04Enum.ts +0 -12
- package/src/models/Step.ts +0 -14
- package/src/models/StepStatusEnum.ts +0 -14
- package/src/models/StopGenerationRequest.ts +0 -14
- package/src/models/SttProviderEnum.ts +0 -18
- package/src/models/StudentChatMessage.ts +0 -9
- package/src/models/StylesView.ts +0 -9
- package/src/models/Subject.ts +0 -10
- package/src/models/Summary.ts +0 -14
- package/src/models/TagsView.ts +0 -10
- package/src/models/TargetSystemEnum.ts +0 -16
- 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/TenantChatPrivacyConfig.ts +0 -16
- package/src/models/TenantMentorTraces.ts +0 -11
- package/src/models/TenantSetting.ts +0 -10
- package/src/models/ThemeEnum.ts +0 -12
- package/src/models/TicketMessage.ts +0 -15
- package/src/models/TonesView.ts +0 -9
- package/src/models/ToolCategory.ts +0 -10
- package/src/models/ToolResponse.ts +0 -21
- package/src/models/TopicDetail.ts +0 -13
- package/src/models/TopicDetails.ts +0 -10
- 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/TopicsOverview.ts +0 -27
- package/src/models/TopicsOverviewMetric.ts +0 -26
- package/src/models/Trace.ts +0 -22
- package/src/models/TrainDocumentViewRequest.ts +0 -91
- package/src/models/TrainDocumentViewResponse.ts +0 -20
- package/src/models/TrainingStatusEnum.ts +0 -16
- package/src/models/TrendEntry.ts +0 -9
- package/src/models/TriggerRequest.ts +0 -10
- package/src/models/TriggerResponse.ts +0 -11
- package/src/models/TtsProviderEnum.ts +0 -16
- package/src/models/UpdateXblock.ts +0 -22
- 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 -20
- package/src/models/UserChatFeedbackCount.ts +0 -9
- package/src/models/UserChatHistoryFilterData.ts +0 -15
- package/src/models/UserChatMemoryStatusRequestView.ts +0 -11
- package/src/models/UserChatMemoryStatusView.ts +0 -11
- package/src/models/UserChatMemoryUpdateView.ts +0 -15
- package/src/models/UserChatPrivacySettings.ts +0 -23
- package/src/models/UserCountRecord.ts +0 -9
- package/src/models/UserDefaultMentor.ts +0 -22
- package/src/models/UserDetail.ts +0 -12
- 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/UserReportListResponse.ts +0 -11
- package/src/models/UserSentimentCountView.ts +0 -9
- package/src/models/UserTrendByPeriod.ts +0 -10
- package/src/models/V2GlobalMentorSearchResponse.ts +0 -34
- package/src/models/V2PersonalizedMentorsResponse.ts +0 -34
- package/src/models/V2RecommendationResponse.ts +0 -70
- package/src/models/VectorResult.ts +0 -15
- package/src/models/VeoVideoDetail.ts +0 -15
- package/src/models/VeoVideoList.ts +0 -11
- package/src/models/VeoVideoRequest.ts +0 -10
- package/src/models/VideoCaption.ts +0 -8
- package/src/models/Voice.ts +0 -14
- package/src/models/VoiceProviderD5aEnum.ts +0 -14
- package/src/models/VoiceProviderEnum.ts +0 -16
- package/src/models/WakeModeEnum.ts +0 -12
- package/src/models/WakeRequest.ts +0 -13
- package/src/models/WakeResponse.ts +0 -19
- 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/models/Workflow.ts +0 -63
- package/src/models/XblockResult.ts +0 -14
- package/src/models/XblockTypeEnum.ts +0 -20
- package/src/services/AiAccountService.ts +0 -1482
- package/src/services/AiBotService.ts +0 -1350
- package/src/services/AiIndexService.ts +0 -644
- package/src/services/AiMarketingService.ts +0 -96
- package/src/services/AiMediaService.ts +0 -532
- package/src/services/AiMentorService.ts +0 -21245
- package/src/services/AiPromptService.ts +0 -1985
- package/src/services/AiProxyService.ts +0 -90
- package/src/services/AiSearchService.ts +0 -1299
- package/src/services/IntegrationCredentialsService.ts +0 -52
|
@@ -2,2268 +2,774 @@
|
|
|
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
11
|
/**
|
|
16
|
-
* Search and filter
|
|
12
|
+
* Search and filter content across the learning catalog.
|
|
17
13
|
*
|
|
18
|
-
* This endpoint provides a powerful search interface for discovering
|
|
19
|
-
*
|
|
14
|
+
* This endpoint provides a powerful search interface for discovering content across
|
|
15
|
+
* multiple content types (courses, programs, pathways, skills, roles, resources).
|
|
16
|
+
* It supports full-text search, faceted filtering, and pagination.
|
|
20
17
|
*
|
|
21
18
|
* Query Parameters:
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
19
|
+
* query (str, optional): Search term to filter content by name or description
|
|
20
|
+
* content (list, optional): Content types to include in results
|
|
21
|
+
* (courses, programs, pathways, skills, roles, resources)
|
|
22
|
+
* Default: ["programs", "courses", "pathways", "skills"]
|
|
25
23
|
*
|
|
26
|
-
* #
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
24
|
+
* # Filtering parameters
|
|
25
|
+
* course_id (str, optional): Filter by specific course ID
|
|
26
|
+
* program_id (str, optional): Filter by specific program ID
|
|
27
|
+
* pathway_id (str, optional): Filter by specific pathway ID
|
|
28
|
+
* skill_id (str, optional): Filter by specific skill ID
|
|
29
|
+
* subject (list, optional): Filter by subject areas
|
|
30
|
+
* tenant (list, optional): Filter by tenant/organization
|
|
31
|
+
* topics (list, optional): Filter by topic areas
|
|
32
32
|
* tags (list, optional): Filter by tags
|
|
33
|
-
*
|
|
33
|
+
* level (list, optional): Filter by difficulty level
|
|
34
|
+
* self_paced (list, optional): Filter by course format (self-paced, instructor-led)
|
|
35
|
+
* promotion (list, optional): Filter by promotion status
|
|
36
|
+
* language (list, optional): Filter by content language
|
|
37
|
+
* certificate (list, optional): Filter by certificate type
|
|
38
|
+
* program_type (list, optional): Filter by program type
|
|
39
|
+
* duration (list, optional): Filter by course duration range
|
|
40
|
+
* price (str, optional): Filter by price/audit status
|
|
41
|
+
* resource_type (list, optional): Filter by resource type
|
|
42
|
+
* skills (list, optional): Filter by skills
|
|
34
43
|
*
|
|
35
44
|
* # Sorting and pagination
|
|
36
|
-
* order_by (str, optional): Field to sort results by
|
|
37
|
-
*
|
|
45
|
+
* order_by (str, optional): Field to sort results by
|
|
46
|
+
* order_ascending (bool, optional): Sort direction (default: false)
|
|
47
|
+
* alphabetical (bool, optional): Sort alphabetically by name (default: false)
|
|
38
48
|
* limit (int, optional): Number of results per page (default: 12, max: 100)
|
|
39
49
|
* offset (int, optional): Starting position for pagination
|
|
40
50
|
*
|
|
51
|
+
* # Response options
|
|
52
|
+
* return_facet (bool, optional): Include facet data in response (default: true)
|
|
53
|
+
* return_items (bool, optional): Include items in programs/pathways (default: false)
|
|
54
|
+
* allow_skill_search (bool, optional): Enable skill-based search (default: false)
|
|
55
|
+
* update_facet (str, optional): Force facet update
|
|
56
|
+
*
|
|
41
57
|
* Returns:
|
|
42
|
-
*
|
|
43
|
-
*
|
|
58
|
+
* A JSON response containing:
|
|
59
|
+
* - results: List of content items with metadata
|
|
60
|
+
* - count: Total number of matching items
|
|
61
|
+
* - next: URL for the next page of results (if available)
|
|
62
|
+
* - previous: URL for the previous page of results (if available)
|
|
63
|
+
* - current_page: Current page number
|
|
64
|
+
* - total_pages: Total number of pages
|
|
65
|
+
* - facets: Aggregated counts for each filter category (if requested)
|
|
66
|
+
*
|
|
67
|
+
* Each content item contains type-specific fields:
|
|
68
|
+
* - Courses:
|
|
44
69
|
* {
|
|
45
70
|
* "id": 123,
|
|
46
|
-
* "
|
|
47
|
-
* "
|
|
48
|
-
* "
|
|
49
|
-
* "
|
|
50
|
-
* "
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
71
|
+
* "type": "course",
|
|
72
|
+
* "course_id": "CS101",
|
|
73
|
+
* "name": "Introduction to Computer Science",
|
|
74
|
+
* "description": "Learn the fundamentals of computer science",
|
|
75
|
+
* "short_description": "CS fundamentals",
|
|
76
|
+
* "image_url": "https://example.com/images/cs101.jpg",
|
|
77
|
+
* "level": "Beginner",
|
|
78
|
+
* "subject": "Computer Science",
|
|
79
|
+
* "topics": ["Programming", "Algorithms"],
|
|
80
|
+
* "tags": ["python", "coding"],
|
|
81
|
+
* "language": "English",
|
|
82
|
+
* "tenant": "example-university",
|
|
83
|
+
* "self_paced": true,
|
|
84
|
+
* "duration": "6 weeks",
|
|
85
|
+
* "certificate": "Professional Certificate",
|
|
86
|
+
* "price": "Free",
|
|
87
|
+
* "skills": [
|
|
88
|
+
* {"id": 1, "name": "Python Programming"},
|
|
89
|
+
* {"id": 2, "name": "Algorithms"}
|
|
90
|
+
* ],
|
|
91
|
+
* "url": "https://example.com/courses/cs101"
|
|
92
|
+
* }
|
|
93
|
+
*
|
|
94
|
+
* - Programs:
|
|
95
|
+
* {
|
|
96
|
+
* "id": 456,
|
|
97
|
+
* "type": "program",
|
|
98
|
+
* "program_id": "PROG123",
|
|
99
|
+
* "name": "Data Science Program",
|
|
100
|
+
* "description": "Comprehensive data science curriculum",
|
|
101
|
+
* "short_description": "Learn data science",
|
|
102
|
+
* "image_url": "https://example.com/images/datascience.jpg",
|
|
103
|
+
* "level": "Intermediate",
|
|
104
|
+
* "subject": "Data Science",
|
|
105
|
+
* "topics": ["Machine Learning", "Statistics"],
|
|
106
|
+
* "program_type": "Professional Certificate",
|
|
107
|
+
* "courses": [
|
|
108
|
+
* {"id": 123, "name": "Introduction to Python"},
|
|
109
|
+
* {"id": 124, "name": "Statistics for Data Science"}
|
|
110
|
+
* ],
|
|
111
|
+
* "url": "https://example.com/programs/prog123"
|
|
112
|
+
* }
|
|
113
|
+
*
|
|
114
|
+
* - Pathways:
|
|
115
|
+
* {
|
|
116
|
+
* "id": 789,
|
|
117
|
+
* "type": "pathway",
|
|
118
|
+
* "pathway_id": "PATH456",
|
|
119
|
+
* "name": "Software Engineering Career Path",
|
|
120
|
+
* "description": "Complete pathway to become a software engineer",
|
|
121
|
+
* "image_url": "https://example.com/images/swe-path.jpg",
|
|
122
|
+
* "programs": [
|
|
123
|
+
* {"id": 456, "name": "Programming Fundamentals"},
|
|
124
|
+
* {"id": 457, "name": "Web Development"}
|
|
125
|
+
* ],
|
|
126
|
+
* "url": "https://example.com/pathways/path456"
|
|
127
|
+
* }
|
|
128
|
+
*
|
|
129
|
+
* - Skills:
|
|
130
|
+
* {
|
|
131
|
+
* "id": 321,
|
|
132
|
+
* "type": "skill",
|
|
133
|
+
* "name": "Machine Learning",
|
|
134
|
+
* "description": "Building systems that learn from data",
|
|
135
|
+
* "courses": [
|
|
136
|
+
* {"id": 125, "name": "Machine Learning Fundamentals"}
|
|
95
137
|
* ],
|
|
96
|
-
* "
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
* "
|
|
107
|
-
|
|
108
|
-
* {"
|
|
138
|
+
* "related_skills": [
|
|
139
|
+
* {"id": 322, "name": "Deep Learning"}
|
|
140
|
+
* ]
|
|
141
|
+
* }
|
|
142
|
+
*
|
|
143
|
+
* - Roles:
|
|
144
|
+
* {
|
|
145
|
+
* "id": 654,
|
|
146
|
+
* "type": "role",
|
|
147
|
+
* "name": "Data Scientist",
|
|
148
|
+
* "description": "Professional who analyzes and interprets complex data",
|
|
149
|
+
* "skills": [
|
|
150
|
+
* {"id": 321, "name": "Machine Learning"},
|
|
151
|
+
* {"id": 323, "name": "Data Analysis"}
|
|
109
152
|
* ],
|
|
110
|
-
* "
|
|
111
|
-
* {"
|
|
112
|
-
* {"key": "Mathematics", "doc_count": 15},
|
|
113
|
-
* {"key": "Business", "doc_count": 10}
|
|
153
|
+
* "recommended_courses": [
|
|
154
|
+
* {"id": 125, "name": "Machine Learning Fundamentals"}
|
|
114
155
|
* ]
|
|
115
156
|
* }
|
|
116
|
-
* }
|
|
117
|
-
*
|
|
118
|
-
* Error Responses:
|
|
119
|
-
* 400 Bad Request: If the request parameters are invalid
|
|
120
|
-
* 404 Not Found: If the requested mentor doesn't exist
|
|
121
|
-
* 500 Internal Server Error: If an unexpected error occurs
|
|
122
|
-
*
|
|
123
|
-
* Notes:
|
|
124
|
-
* - Results are cached for performance
|
|
125
|
-
* - Public mentors are visible to all users
|
|
126
|
-
* - Private mentors are only visible to authorized users
|
|
127
|
-
* @returns MentorSearchResponse
|
|
128
|
-
* @throws ApiError
|
|
129
|
-
*/
|
|
130
|
-
public static searchAgentsRetrieve({
|
|
131
|
-
audience,
|
|
132
|
-
category,
|
|
133
|
-
createdBy,
|
|
134
|
-
featured,
|
|
135
|
-
id,
|
|
136
|
-
includeMainPublicMentors = false,
|
|
137
|
-
limit = 12,
|
|
138
|
-
llm,
|
|
139
|
-
offset,
|
|
140
|
-
orderBy,
|
|
141
|
-
orderDirection = 'desc',
|
|
142
|
-
query,
|
|
143
|
-
tags,
|
|
144
|
-
tenant,
|
|
145
|
-
uniqueId,
|
|
146
|
-
}: {
|
|
147
|
-
/**
|
|
148
|
-
* Filter by target audience
|
|
149
|
-
*/
|
|
150
|
-
audience?: Array<string>,
|
|
151
|
-
/**
|
|
152
|
-
* Filter by mentor category
|
|
153
|
-
*/
|
|
154
|
-
category?: Array<string>,
|
|
155
|
-
/**
|
|
156
|
-
* Filter mentors created by specific user
|
|
157
|
-
*/
|
|
158
|
-
createdBy?: string,
|
|
159
|
-
/**
|
|
160
|
-
* Filter by featured status
|
|
161
|
-
*/
|
|
162
|
-
featured?: boolean,
|
|
163
|
-
/**
|
|
164
|
-
* Retrieve a specific mentor by ID
|
|
165
|
-
*/
|
|
166
|
-
id?: number,
|
|
167
|
-
/**
|
|
168
|
-
* Include public mentors from main tenant
|
|
169
|
-
*/
|
|
170
|
-
includeMainPublicMentors?: boolean,
|
|
171
|
-
/**
|
|
172
|
-
* Number of results per page
|
|
173
|
-
*/
|
|
174
|
-
limit?: number,
|
|
175
|
-
/**
|
|
176
|
-
* Filter by language model type
|
|
177
|
-
*/
|
|
178
|
-
llm?: Array<string>,
|
|
179
|
-
/**
|
|
180
|
-
* Starting position for pagination
|
|
181
|
-
*/
|
|
182
|
-
offset?: number,
|
|
183
|
-
/**
|
|
184
|
-
* Field to sort results by ('created_at', 'recently_accessed_at')
|
|
185
|
-
*/
|
|
186
|
-
orderBy?: string,
|
|
187
|
-
/**
|
|
188
|
-
* Sort direction ('asc' or 'desc')
|
|
189
|
-
*/
|
|
190
|
-
orderDirection?: string,
|
|
191
|
-
/**
|
|
192
|
-
* Search term to filter mentors by name or description
|
|
193
|
-
*/
|
|
194
|
-
query?: string,
|
|
195
|
-
/**
|
|
196
|
-
* Filter by tags
|
|
197
|
-
*/
|
|
198
|
-
tags?: Array<string>,
|
|
199
|
-
/**
|
|
200
|
-
* Filter by tenant/organization
|
|
201
|
-
*/
|
|
202
|
-
tenant?: string,
|
|
203
|
-
/**
|
|
204
|
-
* Retrieve a specific mentor by UUID
|
|
205
|
-
*/
|
|
206
|
-
uniqueId?: string,
|
|
207
|
-
}): CancelablePromise<MentorSearchResponse> {
|
|
208
|
-
return __request(OpenAPI, {
|
|
209
|
-
method: 'GET',
|
|
210
|
-
url: '/api/search/agents/',
|
|
211
|
-
query: {
|
|
212
|
-
'audience': audience,
|
|
213
|
-
'category': category,
|
|
214
|
-
'created_by': createdBy,
|
|
215
|
-
'featured': featured,
|
|
216
|
-
'id': id,
|
|
217
|
-
'include_main_public_mentors': includeMainPublicMentors,
|
|
218
|
-
'limit': limit,
|
|
219
|
-
'llm': llm,
|
|
220
|
-
'offset': offset,
|
|
221
|
-
'order_by': orderBy,
|
|
222
|
-
'order_direction': orderDirection,
|
|
223
|
-
'query': query,
|
|
224
|
-
'tags': tags,
|
|
225
|
-
'tenant': tenant,
|
|
226
|
-
'unique_id': uniqueId,
|
|
227
|
-
},
|
|
228
|
-
errors: {
|
|
229
|
-
400: `Bad request`,
|
|
230
|
-
500: `Server error`,
|
|
231
|
-
},
|
|
232
|
-
});
|
|
233
|
-
}
|
|
234
|
-
/**
|
|
235
|
-
* Search and filter documents associated with a specific mentor
|
|
236
|
-
* @returns DocumentSearchResponse
|
|
237
|
-
* @throws ApiError
|
|
238
|
-
*/
|
|
239
|
-
public static searchAgentsDocumentsRetrieve({
|
|
240
|
-
mentorUniqueId,
|
|
241
|
-
access,
|
|
242
|
-
documentType,
|
|
243
|
-
limit = 12,
|
|
244
|
-
offset,
|
|
245
|
-
orderBy,
|
|
246
|
-
orderDirection = 'desc',
|
|
247
|
-
platformKey,
|
|
248
|
-
query,
|
|
249
|
-
trainingStatus,
|
|
250
|
-
}: {
|
|
251
|
-
mentorUniqueId: string,
|
|
252
|
-
/**
|
|
253
|
-
* Filter by access level (e.g., 'public', 'private')
|
|
254
|
-
*/
|
|
255
|
-
access?: string,
|
|
256
|
-
/**
|
|
257
|
-
* Filter by document type (e.g., 'pdf', 'text')
|
|
258
|
-
*/
|
|
259
|
-
documentType?: string,
|
|
260
|
-
/**
|
|
261
|
-
* Number of results per page
|
|
262
|
-
*/
|
|
263
|
-
limit?: number,
|
|
264
|
-
/**
|
|
265
|
-
* Starting position for pagination
|
|
266
|
-
*/
|
|
267
|
-
offset?: number,
|
|
268
|
-
/**
|
|
269
|
-
* Field to sort results by ('date_created', 'last_modified', 'document_name')
|
|
270
|
-
*/
|
|
271
|
-
orderBy?: string,
|
|
272
|
-
/**
|
|
273
|
-
* Sort direction ('asc' or 'desc')
|
|
274
|
-
*/
|
|
275
|
-
orderDirection?: string,
|
|
276
|
-
/**
|
|
277
|
-
* Filter by platform key
|
|
278
|
-
*/
|
|
279
|
-
platformKey?: string,
|
|
280
|
-
/**
|
|
281
|
-
* Search term to filter documents by name or content
|
|
282
|
-
*/
|
|
283
|
-
query?: string,
|
|
284
|
-
/**
|
|
285
|
-
* Filter by training status (e.g., 'trained', 'pending')
|
|
286
|
-
*/
|
|
287
|
-
trainingStatus?: string,
|
|
288
|
-
}): CancelablePromise<DocumentSearchResponse> {
|
|
289
|
-
return __request(OpenAPI, {
|
|
290
|
-
method: 'GET',
|
|
291
|
-
url: '/api/search/agents/{mentor_unique_id}/documents/',
|
|
292
|
-
path: {
|
|
293
|
-
'mentor_unique_id': mentorUniqueId,
|
|
294
|
-
},
|
|
295
|
-
query: {
|
|
296
|
-
'access': access,
|
|
297
|
-
'document_type': documentType,
|
|
298
|
-
'limit': limit,
|
|
299
|
-
'offset': offset,
|
|
300
|
-
'order_by': orderBy,
|
|
301
|
-
'order_direction': orderDirection,
|
|
302
|
-
'platform_key': platformKey,
|
|
303
|
-
'query': query,
|
|
304
|
-
'training_status': trainingStatus,
|
|
305
|
-
},
|
|
306
|
-
errors: {
|
|
307
|
-
400: `Bad request`,
|
|
308
|
-
404: `Mentor not found`,
|
|
309
|
-
500: `Server error`,
|
|
310
|
-
},
|
|
311
|
-
});
|
|
312
|
-
}
|
|
313
|
-
/**
|
|
314
|
-
* Legacy endpoint for backward compatible mentor search
|
|
315
|
-
* @returns MentorSearchResponse
|
|
316
|
-
* @throws ApiError
|
|
317
|
-
*/
|
|
318
|
-
public static searchAiSearchRetrieve({
|
|
319
|
-
audience,
|
|
320
|
-
category,
|
|
321
|
-
createdBy,
|
|
322
|
-
filterFacet = false,
|
|
323
|
-
id,
|
|
324
|
-
limit = 12,
|
|
325
|
-
llm,
|
|
326
|
-
offset,
|
|
327
|
-
orderBy,
|
|
328
|
-
orderDirection = 'desc',
|
|
329
|
-
page,
|
|
330
|
-
pageSize,
|
|
331
|
-
query,
|
|
332
|
-
tags,
|
|
333
|
-
tenant,
|
|
334
|
-
uniqueId,
|
|
335
|
-
}: {
|
|
336
|
-
/**
|
|
337
|
-
* Filter by target audience
|
|
338
|
-
*/
|
|
339
|
-
audience?: Array<string>,
|
|
340
|
-
/**
|
|
341
|
-
* Filter by mentor category
|
|
342
|
-
*/
|
|
343
|
-
category?: Array<string>,
|
|
344
|
-
/**
|
|
345
|
-
* Filter mentors created by specific user
|
|
346
|
-
*/
|
|
347
|
-
createdBy?: string,
|
|
348
|
-
/**
|
|
349
|
-
* If present, return only facets without results
|
|
350
|
-
*/
|
|
351
|
-
filterFacet?: boolean,
|
|
352
|
-
/**
|
|
353
|
-
* Retrieve a specific mentor by ID
|
|
354
|
-
*/
|
|
355
|
-
id?: number,
|
|
356
|
-
/**
|
|
357
|
-
* Number of results per page
|
|
358
|
-
*/
|
|
359
|
-
limit?: number,
|
|
360
|
-
/**
|
|
361
|
-
* Filter by language model type
|
|
362
|
-
*/
|
|
363
|
-
llm?: Array<string>,
|
|
364
|
-
/**
|
|
365
|
-
* Starting position for pagination
|
|
366
|
-
*/
|
|
367
|
-
offset?: number,
|
|
368
|
-
/**
|
|
369
|
-
* Field to sort results by ('created_at', 'recently_accessed_at')
|
|
370
|
-
*/
|
|
371
|
-
orderBy?: string,
|
|
372
|
-
/**
|
|
373
|
-
* Sort direction ('asc' or 'desc')
|
|
374
|
-
*/
|
|
375
|
-
orderDirection?: string,
|
|
376
|
-
/**
|
|
377
|
-
* Page number (1-based, used with page_size)
|
|
378
|
-
*/
|
|
379
|
-
page?: number,
|
|
380
|
-
/**
|
|
381
|
-
* Number of results per page
|
|
382
|
-
*/
|
|
383
|
-
pageSize?: number,
|
|
384
|
-
/**
|
|
385
|
-
* Search term to filter mentors by name or description
|
|
386
|
-
*/
|
|
387
|
-
query?: string,
|
|
388
|
-
/**
|
|
389
|
-
* Filter by tags
|
|
390
|
-
*/
|
|
391
|
-
tags?: Array<string>,
|
|
392
|
-
/**
|
|
393
|
-
* Filter by tenant/organization
|
|
394
|
-
*/
|
|
395
|
-
tenant?: string,
|
|
396
|
-
/**
|
|
397
|
-
* Retrieve a specific mentor by UUID
|
|
398
|
-
*/
|
|
399
|
-
uniqueId?: string,
|
|
400
|
-
}): CancelablePromise<MentorSearchResponse> {
|
|
401
|
-
return __request(OpenAPI, {
|
|
402
|
-
method: 'GET',
|
|
403
|
-
url: '/api/search/ai-search/',
|
|
404
|
-
query: {
|
|
405
|
-
'audience': audience,
|
|
406
|
-
'category': category,
|
|
407
|
-
'created_by': createdBy,
|
|
408
|
-
'filter_facet': filterFacet,
|
|
409
|
-
'id': id,
|
|
410
|
-
'limit': limit,
|
|
411
|
-
'llm': llm,
|
|
412
|
-
'offset': offset,
|
|
413
|
-
'order_by': orderBy,
|
|
414
|
-
'order_direction': orderDirection,
|
|
415
|
-
'page': page,
|
|
416
|
-
'page_size': pageSize,
|
|
417
|
-
'query': query,
|
|
418
|
-
'tags': tags,
|
|
419
|
-
'tenant': tenant,
|
|
420
|
-
'unique_id': uniqueId,
|
|
421
|
-
},
|
|
422
|
-
errors: {
|
|
423
|
-
400: `Bad request`,
|
|
424
|
-
500: `Server error`,
|
|
425
|
-
},
|
|
426
|
-
});
|
|
427
|
-
}
|
|
428
|
-
/**
|
|
429
|
-
* Search and filter content across the learning catalog.
|
|
430
|
-
*
|
|
431
|
-
* This endpoint provides a powerful search interface for discovering content across
|
|
432
|
-
* multiple content types (courses, programs, pathways, skills, roles, resources).
|
|
433
|
-
* It supports full-text search, faceted filtering, and pagination.
|
|
434
|
-
*
|
|
435
|
-
* Query Parameters:
|
|
436
|
-
* query (str, optional): Search term to filter content by name or description
|
|
437
|
-
* content (list, optional): Content types to include in results
|
|
438
|
-
* (courses, programs, pathways, skills, roles, resources)
|
|
439
|
-
* Default: ["programs", "courses", "pathways", "skills"]
|
|
440
157
|
*
|
|
441
|
-
*
|
|
442
|
-
* course_id (str, optional): Filter by specific course ID
|
|
443
|
-
* program_id (str, optional): Filter by specific program ID
|
|
444
|
-
* pathway_id (str, optional): Filter by specific pathway ID
|
|
445
|
-
* skill_id (str, optional): Filter by specific skill ID
|
|
446
|
-
* subject (list, optional): Filter by subject areas
|
|
447
|
-
* tenant (list, optional): Filter by tenant/organization
|
|
448
|
-
* topics (list, optional): Filter by topic areas
|
|
449
|
-
* tags (list, optional): Filter by tags
|
|
450
|
-
* level (list, optional): Filter by difficulty level
|
|
451
|
-
* self_paced (list, optional): Filter by course format (self-paced, instructor-led)
|
|
452
|
-
* promotion (list, optional): Filter by promotion status
|
|
453
|
-
* language (list, optional): Filter by content language
|
|
454
|
-
* certificate (list, optional): Filter by certificate type
|
|
455
|
-
* program_type (list, optional): Filter by program type
|
|
456
|
-
* duration (list, optional): Filter by course duration range
|
|
457
|
-
* price (str, optional): Filter by price/audit status
|
|
458
|
-
* resource_type (list, optional): Filter by resource type
|
|
459
|
-
* skills (list, optional): Filter by skills
|
|
460
|
-
*
|
|
461
|
-
* # Sorting and pagination
|
|
462
|
-
* order_by (str, optional): Field to sort results by
|
|
463
|
-
* order_ascending (bool, optional): Sort direction (default: false)
|
|
464
|
-
* alphabetical (bool, optional): Sort alphabetically by name (default: false)
|
|
465
|
-
* limit (int, optional): Number of results per page (default: 12, max: 100)
|
|
466
|
-
* offset (int, optional): Starting position for pagination
|
|
467
|
-
*
|
|
468
|
-
* # Response options
|
|
469
|
-
* return_facet (bool, optional): Include facet data in response (default: true)
|
|
470
|
-
* return_items (bool, optional): Include items in programs/pathways (default: false)
|
|
471
|
-
* allow_skill_search (bool, optional): Enable skill-based search (default: false)
|
|
472
|
-
* update_facet (str, optional): Force facet update
|
|
473
|
-
*
|
|
474
|
-
* Returns:
|
|
475
|
-
* A JSON response containing:
|
|
476
|
-
* - results: List of content items with metadata
|
|
477
|
-
* - count: Total number of matching items
|
|
478
|
-
* - next: URL for the next page of results (if available)
|
|
479
|
-
* - previous: URL for the previous page of results (if available)
|
|
480
|
-
* - current_page: Current page number
|
|
481
|
-
* - total_pages: Total number of pages
|
|
482
|
-
* - facets: Aggregated counts for each filter category (if requested)
|
|
483
|
-
*
|
|
484
|
-
* Each content item contains type-specific fields:
|
|
485
|
-
* - Courses:
|
|
158
|
+
* - Resources:
|
|
486
159
|
* {
|
|
487
|
-
* "id":
|
|
488
|
-
* "type": "
|
|
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
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
160
|
+
* "id": 987,
|
|
161
|
+
* "type": "resource",
|
|
162
|
+
* "name": "Python Cheat Sheet",
|
|
163
|
+
* "description": "Quick reference guide for Python",
|
|
164
|
+
* "resource_type": "PDF",
|
|
165
|
+
* "url": "https://example.com/resources/python-cheatsheet.pdf",
|
|
166
|
+
* "topics": ["Programming", "Python"]
|
|
167
|
+
* }
|
|
168
|
+
*
|
|
169
|
+
* Error Responses:
|
|
170
|
+
* 500 Internal Server Error: If an unexpected error occurs during processing
|
|
171
|
+
*
|
|
172
|
+
* Notes:
|
|
173
|
+
* - Results are cached for performance
|
|
174
|
+
* - The 'resources' content type is only included by default if IBL_ENABLE_RESOURCES_IN_FACET is true
|
|
175
|
+
* - For debugging, add ?debug=true to see detailed information about skill matching
|
|
176
|
+
* @returns GlobalCatalogSearchResponse
|
|
177
|
+
* @throws ApiError
|
|
178
|
+
*/
|
|
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
|
+
*/
|
|
221
|
+
certificate?: Array<string>,
|
|
222
|
+
/**
|
|
223
|
+
* Content types to include in results
|
|
224
|
+
*/
|
|
225
|
+
content?: Array<string>,
|
|
226
|
+
/**
|
|
227
|
+
* Filter by specific course ID
|
|
228
|
+
*/
|
|
229
|
+
courseId?: string,
|
|
230
|
+
/**
|
|
231
|
+
* Filter by course duration range
|
|
232
|
+
*/
|
|
233
|
+
duration?: Array<string>,
|
|
234
|
+
/**
|
|
235
|
+
* Filter by content language
|
|
236
|
+
*/
|
|
237
|
+
language?: Array<string>,
|
|
238
|
+
/**
|
|
239
|
+
* Filter by difficulty level
|
|
240
|
+
*/
|
|
241
|
+
level?: Array<string>,
|
|
242
|
+
/**
|
|
243
|
+
* Number of results per page
|
|
244
|
+
*/
|
|
245
|
+
limit?: number,
|
|
246
|
+
/**
|
|
247
|
+
* Starting position for pagination
|
|
248
|
+
*/
|
|
249
|
+
offset?: number,
|
|
250
|
+
/**
|
|
251
|
+
* Sort direction
|
|
252
|
+
*/
|
|
253
|
+
orderAscending?: boolean,
|
|
254
|
+
/**
|
|
255
|
+
* Field to sort results by
|
|
256
|
+
*/
|
|
257
|
+
orderBy?: string,
|
|
258
|
+
/**
|
|
259
|
+
* Filter by specific pathway ID
|
|
260
|
+
*/
|
|
261
|
+
pathwayId?: string,
|
|
262
|
+
/**
|
|
263
|
+
* Filter by price/audit status
|
|
264
|
+
*/
|
|
265
|
+
price?: string,
|
|
266
|
+
/**
|
|
267
|
+
* Filter by specific program ID
|
|
268
|
+
*/
|
|
269
|
+
programId?: string,
|
|
270
|
+
/**
|
|
271
|
+
* Filter by program type
|
|
272
|
+
*/
|
|
273
|
+
programType?: Array<string>,
|
|
274
|
+
/**
|
|
275
|
+
* Filter by promotion status
|
|
276
|
+
*/
|
|
277
|
+
promotion?: Array<string>,
|
|
278
|
+
/**
|
|
279
|
+
* Search term to filter content by name or description
|
|
280
|
+
*/
|
|
281
|
+
query?: string,
|
|
282
|
+
/**
|
|
283
|
+
* Filter by resource type
|
|
284
|
+
*/
|
|
285
|
+
resourceType?: Array<string>,
|
|
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
|
+
*/
|
|
297
|
+
selfPaced?: Array<string>,
|
|
298
|
+
/**
|
|
299
|
+
* Filter by specific skill ID
|
|
300
|
+
*/
|
|
301
|
+
skillId?: string,
|
|
302
|
+
/**
|
|
303
|
+
* Filter by skills
|
|
304
|
+
*/
|
|
305
|
+
skills?: Array<string>,
|
|
306
|
+
/**
|
|
307
|
+
* Filter by subject areas
|
|
308
|
+
*/
|
|
309
|
+
subject?: Array<string>,
|
|
310
|
+
/**
|
|
311
|
+
* Filter by tags
|
|
312
|
+
*/
|
|
313
|
+
tags?: Array<string>,
|
|
314
|
+
/**
|
|
315
|
+
* Filter by tenant/organization
|
|
316
|
+
*/
|
|
317
|
+
tenant?: string,
|
|
318
|
+
/**
|
|
319
|
+
* Filter by topic areas
|
|
320
|
+
*/
|
|
321
|
+
topics?: Array<string>,
|
|
322
|
+
/**
|
|
323
|
+
* Force facet update
|
|
324
|
+
*/
|
|
325
|
+
updateFacet?: string,
|
|
326
|
+
}): CancelablePromise<GlobalCatalogSearchResponse> {
|
|
327
|
+
return __request(OpenAPI, {
|
|
328
|
+
method: 'GET',
|
|
329
|
+
url: '/api/search/catalog/',
|
|
330
|
+
query: {
|
|
331
|
+
'allow_skill_search': allowSkillSearch,
|
|
332
|
+
'alphabetical': alphabetical,
|
|
333
|
+
'certificate': certificate,
|
|
334
|
+
'content': content,
|
|
335
|
+
'course_id': courseId,
|
|
336
|
+
'duration': duration,
|
|
337
|
+
'language': language,
|
|
338
|
+
'level': level,
|
|
339
|
+
'limit': limit,
|
|
340
|
+
'offset': offset,
|
|
341
|
+
'order_ascending': orderAscending,
|
|
342
|
+
'order_by': orderBy,
|
|
343
|
+
'pathway_id': pathwayId,
|
|
344
|
+
'price': price,
|
|
345
|
+
'program_id': programId,
|
|
346
|
+
'program_type': programType,
|
|
347
|
+
'promotion': promotion,
|
|
348
|
+
'query': query,
|
|
349
|
+
'resource_type': resourceType,
|
|
350
|
+
'return_facet': returnFacet,
|
|
351
|
+
'return_items': returnItems,
|
|
352
|
+
'self_paced': selfPaced,
|
|
353
|
+
'skill_id': skillId,
|
|
354
|
+
'skills': skills,
|
|
355
|
+
'subject': subject,
|
|
356
|
+
'tags': tags,
|
|
357
|
+
'tenant': tenant,
|
|
358
|
+
'topics': topics,
|
|
359
|
+
'update_facet': updateFacet,
|
|
360
|
+
},
|
|
361
|
+
errors: {
|
|
362
|
+
400: `Bad request`,
|
|
363
|
+
500: `Server error`,
|
|
364
|
+
},
|
|
365
|
+
});
|
|
366
|
+
}
|
|
367
|
+
/**
|
|
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?: 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.
|
|
583
|
+
*
|
|
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
|
|
590
|
+
*
|
|
591
|
+
* Query Parameters:
|
|
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
|
|
599
|
+
*
|
|
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
|
|
605
|
+
*
|
|
606
|
+
* # Pagination
|
|
607
|
+
* limit (int, optional): Number of results per page (default: 10)
|
|
608
|
+
* offset (int, optional): Starting position for pagination
|
|
609
|
+
*
|
|
610
|
+
* Returns:
|
|
611
|
+
* A JSON response containing:
|
|
612
|
+
* ```
|
|
613
|
+
* {
|
|
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
|
+
* }
|
|
633
|
+
* },
|
|
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}
|
|
554
652
|
* ],
|
|
555
|
-
* "
|
|
556
|
-
* {"
|
|
653
|
+
* "status": [
|
|
654
|
+
* {"key": "active", "doc_count": 45},
|
|
655
|
+
* {"key": "inactive", "doc_count": 5}
|
|
557
656
|
* ]
|
|
558
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
|
|
559
665
|
*
|
|
560
|
-
*
|
|
561
|
-
*
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
orderAscending?: boolean,
|
|
671
|
-
/**
|
|
672
|
-
* Field to sort results by
|
|
673
|
-
*/
|
|
674
|
-
orderBy?: string,
|
|
675
|
-
/**
|
|
676
|
-
* Filter by specific pathway ID
|
|
677
|
-
*/
|
|
678
|
-
pathwayId?: string,
|
|
679
|
-
/**
|
|
680
|
-
* Filter by price/audit status
|
|
681
|
-
*/
|
|
682
|
-
price?: string,
|
|
683
|
-
/**
|
|
684
|
-
* Filter by specific program ID
|
|
685
|
-
*/
|
|
686
|
-
programId?: string,
|
|
687
|
-
/**
|
|
688
|
-
* Filter by program type
|
|
689
|
-
*/
|
|
690
|
-
programType?: Array<string>,
|
|
691
|
-
/**
|
|
692
|
-
* Filter by promotion status
|
|
693
|
-
*/
|
|
694
|
-
promotion?: Array<string>,
|
|
695
|
-
/**
|
|
696
|
-
* Search term to filter content by name or description
|
|
697
|
-
*/
|
|
698
|
-
query?: string,
|
|
699
|
-
/**
|
|
700
|
-
* Filter by resource type
|
|
701
|
-
*/
|
|
702
|
-
resourceType?: Array<string>,
|
|
703
|
-
/**
|
|
704
|
-
* Include facet data in response
|
|
705
|
-
*/
|
|
706
|
-
returnFacet?: boolean,
|
|
707
|
-
/**
|
|
708
|
-
* Include items in programs/pathways
|
|
709
|
-
*/
|
|
710
|
-
returnItems?: boolean,
|
|
711
|
-
/**
|
|
712
|
-
* Filter by course format
|
|
713
|
-
*/
|
|
714
|
-
selfPaced?: Array<string>,
|
|
715
|
-
/**
|
|
716
|
-
* Filter by specific skill ID
|
|
717
|
-
*/
|
|
718
|
-
skillId?: string,
|
|
719
|
-
/**
|
|
720
|
-
* Filter by skills
|
|
721
|
-
*/
|
|
722
|
-
skills?: Array<string>,
|
|
723
|
-
/**
|
|
724
|
-
* Filter by subject areas
|
|
725
|
-
*/
|
|
726
|
-
subject?: Array<string>,
|
|
727
|
-
/**
|
|
728
|
-
* Filter by tags
|
|
729
|
-
*/
|
|
730
|
-
tags?: Array<string>,
|
|
731
|
-
/**
|
|
732
|
-
* Filter by tenant/organization
|
|
733
|
-
*/
|
|
734
|
-
tenant?: string,
|
|
735
|
-
/**
|
|
736
|
-
* Filter by topic areas
|
|
737
|
-
*/
|
|
738
|
-
topics?: Array<string>,
|
|
739
|
-
/**
|
|
740
|
-
* Force facet update
|
|
741
|
-
*/
|
|
742
|
-
updateFacet?: string,
|
|
743
|
-
}): CancelablePromise<GlobalCatalogSearchResponse> {
|
|
744
|
-
return __request(OpenAPI, {
|
|
745
|
-
method: 'GET',
|
|
746
|
-
url: '/api/search/catalog/',
|
|
747
|
-
query: {
|
|
748
|
-
'allow_skill_search': allowSkillSearch,
|
|
749
|
-
'alphabetical': alphabetical,
|
|
750
|
-
'certificate': certificate,
|
|
751
|
-
'content': content,
|
|
752
|
-
'course_id': courseId,
|
|
753
|
-
'duration': duration,
|
|
754
|
-
'language': language,
|
|
755
|
-
'level': level,
|
|
756
|
-
'limit': limit,
|
|
757
|
-
'offset': offset,
|
|
758
|
-
'order_ascending': orderAscending,
|
|
759
|
-
'order_by': orderBy,
|
|
760
|
-
'pathway_id': pathwayId,
|
|
761
|
-
'price': price,
|
|
762
|
-
'program_id': programId,
|
|
763
|
-
'program_type': programType,
|
|
764
|
-
'promotion': promotion,
|
|
765
|
-
'query': query,
|
|
766
|
-
'resource_type': resourceType,
|
|
767
|
-
'return_facet': returnFacet,
|
|
768
|
-
'return_items': returnItems,
|
|
769
|
-
'self_paced': selfPaced,
|
|
770
|
-
'skill_id': skillId,
|
|
771
|
-
'skills': skills,
|
|
772
|
-
'subject': subject,
|
|
773
|
-
'tags': tags,
|
|
774
|
-
'tenant': tenant,
|
|
775
|
-
'topics': topics,
|
|
776
|
-
'update_facet': updateFacet,
|
|
777
|
-
},
|
|
778
|
-
errors: {
|
|
779
|
-
400: `Bad request`,
|
|
780
|
-
500: `Server error`,
|
|
781
|
-
},
|
|
782
|
-
});
|
|
783
|
-
}
|
|
784
|
-
/**
|
|
785
|
-
* @deprecated
|
|
786
|
-
* **Deprecated — use `/api/search/agents/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/search/agents/` (`mentor` → `agent`) and will be removed in a future release.
|
|
787
|
-
*
|
|
788
|
-
* Search and filter AI mentors across the platform.
|
|
789
|
-
*
|
|
790
|
-
* This endpoint provides a powerful search interface for discovering AI mentors
|
|
791
|
-
* with support for filtering, pagination, and detailed mentor information.
|
|
792
|
-
*
|
|
793
|
-
* Query Parameters:
|
|
794
|
-
* # Identification parameters (for detail view)
|
|
795
|
-
* id (int, optional): Retrieve a specific mentor by ID
|
|
796
|
-
* unique_id (uuid, optional): Retrieve a specific mentor by UUID
|
|
797
|
-
*
|
|
798
|
-
* # Search and filtering parameters
|
|
799
|
-
* query (str, optional): Search term to filter mentors by name or description
|
|
800
|
-
* tenant (str, optional): Filter by tenant/organization
|
|
801
|
-
* llm (list, optional): Filter by language model type
|
|
802
|
-
* audience (list, optional): Filter by target audience
|
|
803
|
-
* category (list, optional): Filter by mentor category
|
|
804
|
-
* tags (list, optional): Filter by tags
|
|
805
|
-
* created_by (str, optional): Filter mentors created by specific user
|
|
806
|
-
*
|
|
807
|
-
* # Sorting and pagination
|
|
808
|
-
* order_by (str, optional): Field to sort results by ('created_at', 'recently_accessed_at')
|
|
809
|
-
* order_direction (str, optional): Sort direction ('asc' or 'desc', default: 'desc')
|
|
810
|
-
* limit (int, optional): Number of results per page (default: 12, max: 100)
|
|
811
|
-
* offset (int, optional): Starting position for pagination
|
|
812
|
-
*
|
|
813
|
-
* Returns:
|
|
814
|
-
* For detail view (when id or unique_id is provided):
|
|
815
|
-
* A JSON response containing a single mentor's details:
|
|
816
|
-
* {
|
|
817
|
-
* "id": 123,
|
|
818
|
-
* "unique_id": "550e8400-e29b-41d4-a716-446655440000",
|
|
819
|
-
* "name": "Professor Smith",
|
|
820
|
-
* "description": "AI mentor specializing in computer science",
|
|
821
|
-
* "image_url": "https://example.com/images/prof-smith.jpg",
|
|
822
|
-
* "llm": {
|
|
823
|
-
* "id": 1,
|
|
824
|
-
* "name": "GPT-4",
|
|
825
|
-
* "description": "Advanced language model"
|
|
826
|
-
* },
|
|
827
|
-
* "audience": {
|
|
828
|
-
* "id": 2,
|
|
829
|
-
* "name": "College Students",
|
|
830
|
-
* "description": "For university-level learners"
|
|
831
|
-
* },
|
|
832
|
-
* "category": "Computer Science",
|
|
833
|
-
* "tags": ["programming", "algorithms", "data structures"],
|
|
834
|
-
* "created_at": "2023-01-15T12:00:00Z",
|
|
835
|
-
* "recently_accessed_at": "2023-06-20T15:30:00Z",
|
|
836
|
-
* "platform": {
|
|
837
|
-
* "id": 1,
|
|
838
|
-
* "name": "Example University",
|
|
839
|
-
* "key": "example-university"
|
|
840
|
-
* },
|
|
841
|
-
* "visibility": "public",
|
|
842
|
-
* "settings": {
|
|
843
|
-
* "temperature": 0.7,
|
|
844
|
-
* "max_tokens": 1024,
|
|
845
|
-
* "system_prompt": "You are Professor Smith, an expert in computer science..."
|
|
846
|
-
* }
|
|
847
|
-
* }
|
|
848
|
-
*
|
|
849
|
-
* For list view:
|
|
850
|
-
* A JSON response containing:
|
|
851
|
-
* {
|
|
852
|
-
* "results": [
|
|
853
|
-
* {
|
|
854
|
-
* "id": 123,
|
|
855
|
-
* "unique_id": "550e8400-e29b-41d4-a716-446655440000",
|
|
856
|
-
* "name": "Professor Smith",
|
|
857
|
-
* "description": "AI mentor specializing in computer science",
|
|
858
|
-
* "image_url": "https://example.com/images/prof-smith.jpg",
|
|
859
|
-
* "llm": {"id": 1, "name": "GPT-4"},
|
|
860
|
-
* "audience": {"id": 2, "name": "College Students"},
|
|
861
|
-
* "category": "Computer Science",
|
|
862
|
-
* "tags": ["programming", "algorithms"],
|
|
863
|
-
* "created_at": "2023-01-15T12:00:00Z",
|
|
864
|
-
* "recently_accessed_at": "2023-06-20T15:30:00Z"
|
|
865
|
-
* },
|
|
866
|
-
* // Additional mentor objects...
|
|
867
|
-
* ],
|
|
868
|
-
* "count": 50,
|
|
869
|
-
* "next": "https://api.example.com/api/search/mentors/?limit=12&offset=12",
|
|
870
|
-
* "previous": null,
|
|
871
|
-
* "current_page": 1,
|
|
872
|
-
* "num_pages": 5,
|
|
873
|
-
* "facets": {
|
|
874
|
-
* "llm": [
|
|
875
|
-
* {"key": "GPT-4", "doc_count": 30},
|
|
876
|
-
* {"key": "Claude", "doc_count": 20}
|
|
877
|
-
* ],
|
|
878
|
-
* "audience": [
|
|
879
|
-
* {"key": "College Students", "doc_count": 35},
|
|
880
|
-
* {"key": "Professionals", "doc_count": 15}
|
|
881
|
-
* ],
|
|
882
|
-
* "category": [
|
|
883
|
-
* {"key": "Computer Science", "doc_count": 25},
|
|
884
|
-
* {"key": "Mathematics", "doc_count": 15},
|
|
885
|
-
* {"key": "Business", "doc_count": 10}
|
|
886
|
-
* ]
|
|
887
|
-
* }
|
|
888
|
-
* }
|
|
889
|
-
*
|
|
890
|
-
* Error Responses:
|
|
891
|
-
* 400 Bad Request: If the request parameters are invalid
|
|
892
|
-
* 404 Not Found: If the requested mentor doesn't exist
|
|
893
|
-
* 500 Internal Server Error: If an unexpected error occurs
|
|
894
|
-
*
|
|
895
|
-
* Notes:
|
|
896
|
-
* - Results are cached for performance
|
|
897
|
-
* - Public mentors are visible to all users
|
|
898
|
-
* - Private mentors are only visible to authorized users
|
|
899
|
-
* @returns MentorSearchResponse
|
|
900
|
-
* @throws ApiError
|
|
901
|
-
*/
|
|
902
|
-
public static searchMentorsRetrieve({
|
|
903
|
-
audience,
|
|
904
|
-
category,
|
|
905
|
-
createdBy,
|
|
906
|
-
featured,
|
|
907
|
-
id,
|
|
908
|
-
includeMainPublicMentors = false,
|
|
909
|
-
limit = 12,
|
|
910
|
-
llm,
|
|
911
|
-
offset,
|
|
912
|
-
orderBy,
|
|
913
|
-
orderDirection = 'desc',
|
|
914
|
-
query,
|
|
915
|
-
tags,
|
|
916
|
-
tenant,
|
|
917
|
-
uniqueId,
|
|
918
|
-
}: {
|
|
919
|
-
/**
|
|
920
|
-
* Filter by target audience
|
|
921
|
-
*/
|
|
922
|
-
audience?: Array<string>,
|
|
923
|
-
/**
|
|
924
|
-
* Filter by mentor category
|
|
925
|
-
*/
|
|
926
|
-
category?: Array<string>,
|
|
927
|
-
/**
|
|
928
|
-
* Filter mentors created by specific user
|
|
929
|
-
*/
|
|
930
|
-
createdBy?: string,
|
|
931
|
-
/**
|
|
932
|
-
* Filter by featured status
|
|
933
|
-
*/
|
|
934
|
-
featured?: boolean,
|
|
935
|
-
/**
|
|
936
|
-
* Retrieve a specific mentor by ID
|
|
937
|
-
*/
|
|
938
|
-
id?: number,
|
|
939
|
-
/**
|
|
940
|
-
* Include public mentors from main tenant
|
|
941
|
-
*/
|
|
942
|
-
includeMainPublicMentors?: boolean,
|
|
943
|
-
/**
|
|
944
|
-
* Number of results per page
|
|
945
|
-
*/
|
|
946
|
-
limit?: number,
|
|
947
|
-
/**
|
|
948
|
-
* Filter by language model type
|
|
949
|
-
*/
|
|
950
|
-
llm?: Array<string>,
|
|
951
|
-
/**
|
|
952
|
-
* Starting position for pagination
|
|
953
|
-
*/
|
|
954
|
-
offset?: number,
|
|
955
|
-
/**
|
|
956
|
-
* Field to sort results by ('created_at', 'recently_accessed_at')
|
|
957
|
-
*/
|
|
958
|
-
orderBy?: string,
|
|
959
|
-
/**
|
|
960
|
-
* Sort direction ('asc' or 'desc')
|
|
961
|
-
*/
|
|
962
|
-
orderDirection?: string,
|
|
963
|
-
/**
|
|
964
|
-
* Search term to filter mentors by name or description
|
|
965
|
-
*/
|
|
966
|
-
query?: string,
|
|
967
|
-
/**
|
|
968
|
-
* Filter by tags
|
|
969
|
-
*/
|
|
970
|
-
tags?: Array<string>,
|
|
971
|
-
/**
|
|
972
|
-
* Filter by tenant/organization
|
|
973
|
-
*/
|
|
974
|
-
tenant?: string,
|
|
975
|
-
/**
|
|
976
|
-
* Retrieve a specific mentor by UUID
|
|
977
|
-
*/
|
|
978
|
-
uniqueId?: string,
|
|
979
|
-
}): CancelablePromise<MentorSearchResponse> {
|
|
980
|
-
return __request(OpenAPI, {
|
|
981
|
-
method: 'GET',
|
|
982
|
-
url: '/api/search/mentors/',
|
|
983
|
-
query: {
|
|
984
|
-
'audience': audience,
|
|
985
|
-
'category': category,
|
|
986
|
-
'created_by': createdBy,
|
|
987
|
-
'featured': featured,
|
|
988
|
-
'id': id,
|
|
989
|
-
'include_main_public_mentors': includeMainPublicMentors,
|
|
990
|
-
'limit': limit,
|
|
991
|
-
'llm': llm,
|
|
992
|
-
'offset': offset,
|
|
993
|
-
'order_by': orderBy,
|
|
994
|
-
'order_direction': orderDirection,
|
|
995
|
-
'query': query,
|
|
996
|
-
'tags': tags,
|
|
997
|
-
'tenant': tenant,
|
|
998
|
-
'unique_id': uniqueId,
|
|
999
|
-
},
|
|
1000
|
-
errors: {
|
|
1001
|
-
400: `Bad request`,
|
|
1002
|
-
500: `Server error`,
|
|
1003
|
-
},
|
|
1004
|
-
});
|
|
1005
|
-
}
|
|
1006
|
-
/**
|
|
1007
|
-
* @deprecated
|
|
1008
|
-
* **Deprecated — use `/api/search/agents/{mentor_unique_id}/documents/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/search/agents/{mentor_unique_id}/documents/` (`mentor` → `agent`) and will be removed in a future release.
|
|
1009
|
-
*
|
|
1010
|
-
* Search and filter documents associated with a specific mentor
|
|
1011
|
-
* @returns DocumentSearchResponse
|
|
1012
|
-
* @throws ApiError
|
|
1013
|
-
*/
|
|
1014
|
-
public static searchMentorsDocumentsRetrieve({
|
|
1015
|
-
mentorUniqueId,
|
|
1016
|
-
access,
|
|
1017
|
-
documentType,
|
|
1018
|
-
limit = 12,
|
|
1019
|
-
offset,
|
|
1020
|
-
orderBy,
|
|
1021
|
-
orderDirection = 'desc',
|
|
1022
|
-
platformKey,
|
|
1023
|
-
query,
|
|
1024
|
-
trainingStatus,
|
|
1025
|
-
}: {
|
|
1026
|
-
mentorUniqueId: string,
|
|
1027
|
-
/**
|
|
1028
|
-
* Filter by access level (e.g., 'public', 'private')
|
|
1029
|
-
*/
|
|
1030
|
-
access?: string,
|
|
1031
|
-
/**
|
|
1032
|
-
* Filter by document type (e.g., 'pdf', 'text')
|
|
1033
|
-
*/
|
|
1034
|
-
documentType?: string,
|
|
1035
|
-
/**
|
|
1036
|
-
* Number of results per page
|
|
1037
|
-
*/
|
|
1038
|
-
limit?: number,
|
|
1039
|
-
/**
|
|
1040
|
-
* Starting position for pagination
|
|
1041
|
-
*/
|
|
1042
|
-
offset?: number,
|
|
1043
|
-
/**
|
|
1044
|
-
* Field to sort results by ('date_created', 'last_modified', 'document_name')
|
|
1045
|
-
*/
|
|
1046
|
-
orderBy?: string,
|
|
1047
|
-
/**
|
|
1048
|
-
* Sort direction ('asc' or 'desc')
|
|
1049
|
-
*/
|
|
1050
|
-
orderDirection?: string,
|
|
1051
|
-
/**
|
|
1052
|
-
* Filter by platform key
|
|
1053
|
-
*/
|
|
1054
|
-
platformKey?: string,
|
|
1055
|
-
/**
|
|
1056
|
-
* Search term to filter documents by name or content
|
|
1057
|
-
*/
|
|
1058
|
-
query?: string,
|
|
1059
|
-
/**
|
|
1060
|
-
* Filter by training status (e.g., 'trained', 'pending')
|
|
1061
|
-
*/
|
|
1062
|
-
trainingStatus?: string,
|
|
1063
|
-
}): CancelablePromise<DocumentSearchResponse> {
|
|
1064
|
-
return __request(OpenAPI, {
|
|
1065
|
-
method: 'GET',
|
|
1066
|
-
url: '/api/search/mentors/{mentor_unique_id}/documents/',
|
|
1067
|
-
path: {
|
|
1068
|
-
'mentor_unique_id': mentorUniqueId,
|
|
1069
|
-
},
|
|
1070
|
-
query: {
|
|
1071
|
-
'access': access,
|
|
1072
|
-
'document_type': documentType,
|
|
1073
|
-
'limit': limit,
|
|
1074
|
-
'offset': offset,
|
|
1075
|
-
'order_by': orderBy,
|
|
1076
|
-
'order_direction': orderDirection,
|
|
1077
|
-
'platform_key': platformKey,
|
|
1078
|
-
'query': query,
|
|
1079
|
-
'training_status': trainingStatus,
|
|
1080
|
-
},
|
|
1081
|
-
errors: {
|
|
1082
|
-
400: `Bad request`,
|
|
1083
|
-
404: `Mentor not found`,
|
|
1084
|
-
500: `Server error`,
|
|
1085
|
-
},
|
|
1086
|
-
});
|
|
1087
|
-
}
|
|
1088
|
-
/**
|
|
1089
|
-
* Handle GET requests for tenant-specific mentor search.
|
|
1090
|
-
*
|
|
1091
|
-
* Args:
|
|
1092
|
-
* request: HTTP request object
|
|
1093
|
-
* org: Tenant/organization key
|
|
1094
|
-
* username: Username of the user making the request
|
|
1095
|
-
*
|
|
1096
|
-
* Returns:
|
|
1097
|
-
* Response: DRF Response object with search results
|
|
1098
|
-
* @returns MentorSearchResponse
|
|
1099
|
-
* @throws ApiError
|
|
1100
|
-
*/
|
|
1101
|
-
public static searchOrgsUsersAgentsRetrieve({
|
|
1102
|
-
org,
|
|
1103
|
-
username,
|
|
1104
|
-
audience,
|
|
1105
|
-
category,
|
|
1106
|
-
createdBy,
|
|
1107
|
-
featured,
|
|
1108
|
-
id,
|
|
1109
|
-
includeMainPublicMentors = false,
|
|
1110
|
-
limit = 12,
|
|
1111
|
-
llm,
|
|
1112
|
-
offset,
|
|
1113
|
-
orderBy,
|
|
1114
|
-
orderDirection = 'desc',
|
|
1115
|
-
query,
|
|
1116
|
-
tags,
|
|
1117
|
-
tenant,
|
|
1118
|
-
uniqueId,
|
|
1119
|
-
}: {
|
|
1120
|
-
org: string,
|
|
1121
|
-
username: string,
|
|
1122
|
-
/**
|
|
1123
|
-
* Filter by target audience
|
|
1124
|
-
*/
|
|
1125
|
-
audience?: Array<string>,
|
|
1126
|
-
/**
|
|
1127
|
-
* Filter by mentor category
|
|
1128
|
-
*/
|
|
1129
|
-
category?: Array<string>,
|
|
1130
|
-
/**
|
|
1131
|
-
* Filter mentors created by specific user
|
|
1132
|
-
*/
|
|
1133
|
-
createdBy?: string,
|
|
1134
|
-
/**
|
|
1135
|
-
* Filter by featured status
|
|
1136
|
-
*/
|
|
1137
|
-
featured?: boolean,
|
|
1138
|
-
/**
|
|
1139
|
-
* Retrieve a specific mentor by ID
|
|
1140
|
-
*/
|
|
1141
|
-
id?: number,
|
|
1142
|
-
/**
|
|
1143
|
-
* Include public mentors from main tenant
|
|
1144
|
-
*/
|
|
1145
|
-
includeMainPublicMentors?: boolean,
|
|
1146
|
-
/**
|
|
1147
|
-
* Number of results per page
|
|
1148
|
-
*/
|
|
1149
|
-
limit?: number,
|
|
1150
|
-
/**
|
|
1151
|
-
* Filter by language model type
|
|
1152
|
-
*/
|
|
1153
|
-
llm?: Array<string>,
|
|
1154
|
-
/**
|
|
1155
|
-
* Starting position for pagination
|
|
1156
|
-
*/
|
|
1157
|
-
offset?: number,
|
|
1158
|
-
/**
|
|
1159
|
-
* Field to sort results by ('created_at', 'recently_accessed_at')
|
|
1160
|
-
*/
|
|
1161
|
-
orderBy?: string,
|
|
1162
|
-
/**
|
|
1163
|
-
* Sort direction ('asc' or 'desc')
|
|
1164
|
-
*/
|
|
1165
|
-
orderDirection?: string,
|
|
1166
|
-
/**
|
|
1167
|
-
* Search term to filter mentors by name or description
|
|
1168
|
-
*/
|
|
1169
|
-
query?: string,
|
|
1170
|
-
/**
|
|
1171
|
-
* Filter by tags
|
|
1172
|
-
*/
|
|
1173
|
-
tags?: Array<string>,
|
|
1174
|
-
/**
|
|
1175
|
-
* Filter by tenant/organization
|
|
1176
|
-
*/
|
|
1177
|
-
tenant?: string,
|
|
1178
|
-
/**
|
|
1179
|
-
* Retrieve a specific mentor by UUID
|
|
1180
|
-
*/
|
|
1181
|
-
uniqueId?: string,
|
|
1182
|
-
}): CancelablePromise<MentorSearchResponse> {
|
|
1183
|
-
return __request(OpenAPI, {
|
|
1184
|
-
method: 'GET',
|
|
1185
|
-
url: '/api/search/orgs/{org}/users/{username}/agents/',
|
|
1186
|
-
path: {
|
|
1187
|
-
'org': org,
|
|
1188
|
-
'username': username,
|
|
1189
|
-
},
|
|
1190
|
-
query: {
|
|
1191
|
-
'audience': audience,
|
|
1192
|
-
'category': category,
|
|
1193
|
-
'created_by': createdBy,
|
|
1194
|
-
'featured': featured,
|
|
1195
|
-
'id': id,
|
|
1196
|
-
'include_main_public_mentors': includeMainPublicMentors,
|
|
1197
|
-
'limit': limit,
|
|
1198
|
-
'llm': llm,
|
|
1199
|
-
'offset': offset,
|
|
1200
|
-
'order_by': orderBy,
|
|
1201
|
-
'order_direction': orderDirection,
|
|
1202
|
-
'query': query,
|
|
1203
|
-
'tags': tags,
|
|
1204
|
-
'tenant': tenant,
|
|
1205
|
-
'unique_id': uniqueId,
|
|
1206
|
-
},
|
|
1207
|
-
errors: {
|
|
1208
|
-
400: `Bad request`,
|
|
1209
|
-
403: `Forbidden - user does not have access`,
|
|
1210
|
-
500: `Server error`,
|
|
1211
|
-
},
|
|
1212
|
-
});
|
|
1213
|
-
}
|
|
1214
|
-
/**
|
|
1215
|
-
* @deprecated
|
|
1216
|
-
* **Deprecated — use `/api/search/orgs/{org}/users/{username}/agents/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/search/orgs/{org}/users/{username}/agents/` (`mentor` → `agent`) and will be removed in a future release.
|
|
1217
|
-
*
|
|
1218
|
-
* Handle GET requests for tenant-specific mentor search.
|
|
1219
|
-
*
|
|
1220
|
-
* Args:
|
|
1221
|
-
* request: HTTP request object
|
|
1222
|
-
* org: Tenant/organization key
|
|
1223
|
-
* username: Username of the user making the request
|
|
1224
|
-
*
|
|
1225
|
-
* Returns:
|
|
1226
|
-
* Response: DRF Response object with search results
|
|
1227
|
-
* @returns MentorSearchResponse
|
|
1228
|
-
* @throws ApiError
|
|
1229
|
-
*/
|
|
1230
|
-
public static searchOrgsUsersMentorsRetrieve({
|
|
1231
|
-
org,
|
|
1232
|
-
username,
|
|
1233
|
-
audience,
|
|
1234
|
-
category,
|
|
1235
|
-
createdBy,
|
|
1236
|
-
featured,
|
|
1237
|
-
id,
|
|
1238
|
-
includeMainPublicMentors = false,
|
|
1239
|
-
limit = 12,
|
|
1240
|
-
llm,
|
|
1241
|
-
offset,
|
|
1242
|
-
orderBy,
|
|
1243
|
-
orderDirection = 'desc',
|
|
1244
|
-
query,
|
|
1245
|
-
tags,
|
|
1246
|
-
tenant,
|
|
1247
|
-
uniqueId,
|
|
1248
|
-
}: {
|
|
1249
|
-
org: string,
|
|
1250
|
-
username: string,
|
|
1251
|
-
/**
|
|
1252
|
-
* Filter by target audience
|
|
1253
|
-
*/
|
|
1254
|
-
audience?: Array<string>,
|
|
1255
|
-
/**
|
|
1256
|
-
* Filter by mentor category
|
|
1257
|
-
*/
|
|
1258
|
-
category?: Array<string>,
|
|
1259
|
-
/**
|
|
1260
|
-
* Filter mentors created by specific user
|
|
1261
|
-
*/
|
|
1262
|
-
createdBy?: string,
|
|
1263
|
-
/**
|
|
1264
|
-
* Filter by featured status
|
|
1265
|
-
*/
|
|
1266
|
-
featured?: boolean,
|
|
1267
|
-
/**
|
|
1268
|
-
* Retrieve a specific mentor by ID
|
|
1269
|
-
*/
|
|
1270
|
-
id?: number,
|
|
1271
|
-
/**
|
|
1272
|
-
* Include public mentors from main tenant
|
|
1273
|
-
*/
|
|
1274
|
-
includeMainPublicMentors?: boolean,
|
|
1275
|
-
/**
|
|
1276
|
-
* Number of results per page
|
|
1277
|
-
*/
|
|
1278
|
-
limit?: number,
|
|
1279
|
-
/**
|
|
1280
|
-
* Filter by language model type
|
|
1281
|
-
*/
|
|
1282
|
-
llm?: Array<string>,
|
|
1283
|
-
/**
|
|
1284
|
-
* Starting position for pagination
|
|
1285
|
-
*/
|
|
1286
|
-
offset?: number,
|
|
1287
|
-
/**
|
|
1288
|
-
* Field to sort results by ('created_at', 'recently_accessed_at')
|
|
1289
|
-
*/
|
|
1290
|
-
orderBy?: string,
|
|
1291
|
-
/**
|
|
1292
|
-
* Sort direction ('asc' or 'desc')
|
|
1293
|
-
*/
|
|
1294
|
-
orderDirection?: string,
|
|
1295
|
-
/**
|
|
1296
|
-
* Search term to filter mentors by name or description
|
|
1297
|
-
*/
|
|
1298
|
-
query?: string,
|
|
1299
|
-
/**
|
|
1300
|
-
* Filter by tags
|
|
1301
|
-
*/
|
|
1302
|
-
tags?: Array<string>,
|
|
1303
|
-
/**
|
|
1304
|
-
* Filter by tenant/organization
|
|
1305
|
-
*/
|
|
1306
|
-
tenant?: string,
|
|
1307
|
-
/**
|
|
1308
|
-
* Retrieve a specific mentor by UUID
|
|
1309
|
-
*/
|
|
1310
|
-
uniqueId?: string,
|
|
1311
|
-
}): CancelablePromise<MentorSearchResponse> {
|
|
1312
|
-
return __request(OpenAPI, {
|
|
1313
|
-
method: 'GET',
|
|
1314
|
-
url: '/api/search/orgs/{org}/users/{username}/mentors/',
|
|
1315
|
-
path: {
|
|
1316
|
-
'org': org,
|
|
1317
|
-
'username': username,
|
|
1318
|
-
},
|
|
1319
|
-
query: {
|
|
1320
|
-
'audience': audience,
|
|
1321
|
-
'category': category,
|
|
1322
|
-
'created_by': createdBy,
|
|
1323
|
-
'featured': featured,
|
|
1324
|
-
'id': id,
|
|
1325
|
-
'include_main_public_mentors': includeMainPublicMentors,
|
|
1326
|
-
'limit': limit,
|
|
1327
|
-
'llm': llm,
|
|
1328
|
-
'offset': offset,
|
|
1329
|
-
'order_by': orderBy,
|
|
1330
|
-
'order_direction': orderDirection,
|
|
1331
|
-
'query': query,
|
|
1332
|
-
'tags': tags,
|
|
1333
|
-
'tenant': tenant,
|
|
1334
|
-
'unique_id': uniqueId,
|
|
1335
|
-
},
|
|
1336
|
-
errors: {
|
|
1337
|
-
400: `Bad request`,
|
|
1338
|
-
403: `Forbidden - user does not have access`,
|
|
1339
|
-
500: `Server error`,
|
|
1340
|
-
},
|
|
1341
|
-
});
|
|
1342
|
-
}
|
|
1343
|
-
/**
|
|
1344
|
-
* Search and filter AI prompts for a specific user within a tenant.
|
|
1345
|
-
*
|
|
1346
|
-
* This endpoint extends the base prompt search functionality but filters results
|
|
1347
|
-
* to only show prompts that are available to a specific user within a specific
|
|
1348
|
-
* organization/tenant.
|
|
1349
|
-
*
|
|
1350
|
-
* Path Parameters:
|
|
1351
|
-
* org (str): The organization/tenant identifier
|
|
1352
|
-
* username (str): The username to filter prompts for
|
|
1353
|
-
*
|
|
1354
|
-
* Query Parameters:
|
|
1355
|
-
* Same as PromptSearchView, plus:
|
|
1356
|
-
*
|
|
1357
|
-
* # Identification parameters (for detail view)
|
|
1358
|
-
* id (int, optional): Retrieve a specific prompt by ID
|
|
1359
|
-
*
|
|
1360
|
-
* Returns:
|
|
1361
|
-
* Same format as PromptSearchView, but filtered to only include prompts
|
|
1362
|
-
* that the specified user has access to within the specified organization.
|
|
1363
|
-
*
|
|
1364
|
-
* Error Responses:
|
|
1365
|
-
* 400 Bad Request: If the request parameters are invalid
|
|
1366
|
-
* 403 Forbidden: If the requested prompt exists but the user doesn't have access
|
|
1367
|
-
* 404 Not Found: If the requested prompt doesn't exist
|
|
1368
|
-
* 500 Internal Server Error: If an unexpected error occurs
|
|
1369
|
-
*
|
|
1370
|
-
* Access Control:
|
|
1371
|
-
* - Results are filtered based on user's permissions within the organization
|
|
1372
|
-
* - Private prompts are only visible to authorized users
|
|
1373
|
-
* @returns PromptSearchResponse
|
|
1374
|
-
* @throws ApiError
|
|
1375
|
-
*/
|
|
1376
|
-
public static searchOrgsUsersPromptsRetrieve({
|
|
1377
|
-
org,
|
|
1378
|
-
username,
|
|
1379
|
-
alphabetical = false,
|
|
1380
|
-
category,
|
|
1381
|
-
createdBy,
|
|
1382
|
-
filterFacet,
|
|
1383
|
-
language,
|
|
1384
|
-
limit = 10,
|
|
1385
|
-
mentor,
|
|
1386
|
-
offset,
|
|
1387
|
-
orderDirection = 'desc',
|
|
1388
|
-
query,
|
|
1389
|
-
sortBy,
|
|
1390
|
-
style,
|
|
1391
|
-
tenant,
|
|
1392
|
-
tone,
|
|
1393
|
-
}: {
|
|
1394
|
-
org: string,
|
|
1395
|
-
username: string,
|
|
1396
|
-
/**
|
|
1397
|
-
* Sort alphabetically
|
|
1398
|
-
*/
|
|
1399
|
-
alphabetical?: boolean,
|
|
1400
|
-
/**
|
|
1401
|
-
* Filter by prompt category
|
|
1402
|
-
*/
|
|
1403
|
-
category?: string,
|
|
1404
|
-
/**
|
|
1405
|
-
* Filter prompts created by specific user
|
|
1406
|
-
*/
|
|
1407
|
-
createdBy?: string,
|
|
1408
|
-
/**
|
|
1409
|
-
* If true, return only facets without results
|
|
1410
|
-
*/
|
|
1411
|
-
filterFacet?: boolean,
|
|
1412
|
-
/**
|
|
1413
|
-
* Filter by prompt language
|
|
1414
|
-
*/
|
|
1415
|
-
language?: string,
|
|
1416
|
-
/**
|
|
1417
|
-
* Number of results per page
|
|
1418
|
-
*/
|
|
1419
|
-
limit?: number,
|
|
1420
|
-
/**
|
|
1421
|
-
* Filter by mentor UUID
|
|
1422
|
-
*/
|
|
1423
|
-
mentor?: string,
|
|
1424
|
-
/**
|
|
1425
|
-
* Starting position for pagination
|
|
1426
|
-
*/
|
|
1427
|
-
offset?: number,
|
|
1428
|
-
/**
|
|
1429
|
-
* Sort direction ('asc' or 'desc')
|
|
1430
|
-
*/
|
|
1431
|
-
orderDirection?: string,
|
|
1432
|
-
/**
|
|
1433
|
-
* Search term to filter prompts by name or content
|
|
1434
|
-
*/
|
|
1435
|
-
query?: string,
|
|
1436
|
-
/**
|
|
1437
|
-
* Field to sort results by
|
|
1438
|
-
*/
|
|
1439
|
-
sortBy?: string,
|
|
1440
|
-
/**
|
|
1441
|
-
* Filter by prompt style
|
|
1442
|
-
*/
|
|
1443
|
-
style?: string,
|
|
1444
|
-
/**
|
|
1445
|
-
* Filter by tenant/organization
|
|
1446
|
-
*/
|
|
1447
|
-
tenant?: string,
|
|
1448
|
-
/**
|
|
1449
|
-
* Filter by prompt tone
|
|
1450
|
-
*/
|
|
1451
|
-
tone?: string,
|
|
1452
|
-
}): CancelablePromise<PromptSearchResponse> {
|
|
1453
|
-
return __request(OpenAPI, {
|
|
1454
|
-
method: 'GET',
|
|
1455
|
-
url: '/api/search/orgs/{org}/users/{username}/prompts/',
|
|
1456
|
-
path: {
|
|
1457
|
-
'org': org,
|
|
1458
|
-
'username': username,
|
|
1459
|
-
},
|
|
1460
|
-
query: {
|
|
1461
|
-
'alphabetical': alphabetical,
|
|
1462
|
-
'category': category,
|
|
1463
|
-
'created_by': createdBy,
|
|
1464
|
-
'filter_facet': filterFacet,
|
|
1465
|
-
'language': language,
|
|
1466
|
-
'limit': limit,
|
|
1467
|
-
'mentor': mentor,
|
|
1468
|
-
'offset': offset,
|
|
1469
|
-
'order_direction': orderDirection,
|
|
1470
|
-
'query': query,
|
|
1471
|
-
'sort_by': sortBy,
|
|
1472
|
-
'style': style,
|
|
1473
|
-
'tenant': tenant,
|
|
1474
|
-
'tone': tone,
|
|
1475
|
-
},
|
|
1476
|
-
errors: {
|
|
1477
|
-
400: `Bad request`,
|
|
1478
|
-
403: `Forbidden`,
|
|
1479
|
-
404: `Not found`,
|
|
1480
|
-
500: `Server error`,
|
|
1481
|
-
},
|
|
1482
|
-
});
|
|
1483
|
-
}
|
|
1484
|
-
/**
|
|
1485
|
-
* Determine whether to serve a detail view or a list view.
|
|
1486
|
-
* @returns RecommendedCoursesResponse
|
|
1487
|
-
* @throws ApiError
|
|
1488
|
-
*/
|
|
1489
|
-
public static searchOrgsUsersRecommendedRetrieve({
|
|
1490
|
-
org,
|
|
1491
|
-
username,
|
|
1492
|
-
certificate,
|
|
1493
|
-
content,
|
|
1494
|
-
courseId,
|
|
1495
|
-
duration,
|
|
1496
|
-
language,
|
|
1497
|
-
level,
|
|
1498
|
-
limit = 12,
|
|
1499
|
-
offset,
|
|
1500
|
-
pathwayId,
|
|
1501
|
-
price,
|
|
1502
|
-
programId,
|
|
1503
|
-
programType,
|
|
1504
|
-
query,
|
|
1505
|
-
resourceId,
|
|
1506
|
-
resourceType,
|
|
1507
|
-
roleId,
|
|
1508
|
-
selfPaced,
|
|
1509
|
-
skillId,
|
|
1510
|
-
skills,
|
|
1511
|
-
subject,
|
|
1512
|
-
tags,
|
|
1513
|
-
tenant,
|
|
1514
|
-
topics,
|
|
1515
|
-
}: {
|
|
1516
|
-
org: string,
|
|
1517
|
-
username: string,
|
|
1518
|
-
/**
|
|
1519
|
-
* Filter by certificate type
|
|
1520
|
-
*/
|
|
1521
|
-
certificate?: Array<string>,
|
|
1522
|
-
/**
|
|
1523
|
-
* Content types to include in recommendations (courses, programs, pathways, skills, roles, resources)
|
|
1524
|
-
*/
|
|
1525
|
-
content?: Array<string>,
|
|
1526
|
-
/**
|
|
1527
|
-
* Retrieve a specific course by ID
|
|
1528
|
-
*/
|
|
1529
|
-
courseId?: string,
|
|
1530
|
-
/**
|
|
1531
|
-
* Filter by course duration range
|
|
1532
|
-
*/
|
|
1533
|
-
duration?: Array<string>,
|
|
1534
|
-
/**
|
|
1535
|
-
* Filter by content language
|
|
1536
|
-
*/
|
|
1537
|
-
language?: Array<string>,
|
|
1538
|
-
/**
|
|
1539
|
-
* Filter by difficulty level
|
|
1540
|
-
*/
|
|
1541
|
-
level?: Array<string>,
|
|
1542
|
-
/**
|
|
1543
|
-
* Number of results per page
|
|
1544
|
-
*/
|
|
1545
|
-
limit?: number,
|
|
1546
|
-
/**
|
|
1547
|
-
* Starting position for pagination
|
|
1548
|
-
*/
|
|
1549
|
-
offset?: number,
|
|
1550
|
-
/**
|
|
1551
|
-
* Retrieve a specific pathway by ID
|
|
1552
|
-
*/
|
|
1553
|
-
pathwayId?: string,
|
|
1554
|
-
/**
|
|
1555
|
-
* Filter by price/audit status
|
|
1556
|
-
*/
|
|
1557
|
-
price?: string,
|
|
1558
|
-
/**
|
|
1559
|
-
* Retrieve a specific program by ID
|
|
1560
|
-
*/
|
|
1561
|
-
programId?: string,
|
|
1562
|
-
/**
|
|
1563
|
-
* Filter by program type
|
|
1564
|
-
*/
|
|
1565
|
-
programType?: Array<string>,
|
|
1566
|
-
/**
|
|
1567
|
-
* Search term to filter content by name or description
|
|
1568
|
-
*/
|
|
1569
|
-
query?: string,
|
|
1570
|
-
/**
|
|
1571
|
-
* Retrieve a specific resource by ID
|
|
1572
|
-
*/
|
|
1573
|
-
resourceId?: string,
|
|
1574
|
-
/**
|
|
1575
|
-
* Filter by resource type
|
|
1576
|
-
*/
|
|
1577
|
-
resourceType?: Array<string>,
|
|
1578
|
-
/**
|
|
1579
|
-
* Retrieve a specific role by ID
|
|
1580
|
-
*/
|
|
1581
|
-
roleId?: string,
|
|
1582
|
-
/**
|
|
1583
|
-
* Filter by course format (self-paced, instructor-led)
|
|
1584
|
-
*/
|
|
1585
|
-
selfPaced?: Array<string>,
|
|
1586
|
-
/**
|
|
1587
|
-
* Retrieve a specific skill by ID
|
|
1588
|
-
*/
|
|
1589
|
-
skillId?: string,
|
|
1590
|
-
/**
|
|
1591
|
-
* Filter by skills
|
|
1592
|
-
*/
|
|
1593
|
-
skills?: Array<string>,
|
|
1594
|
-
/**
|
|
1595
|
-
* Filter by subject areas
|
|
1596
|
-
*/
|
|
1597
|
-
subject?: Array<string>,
|
|
1598
|
-
/**
|
|
1599
|
-
* Filter by tags
|
|
1600
|
-
*/
|
|
1601
|
-
tags?: Array<string>,
|
|
1602
|
-
/**
|
|
1603
|
-
* Filter by tenant/organization
|
|
1604
|
-
*/
|
|
1605
|
-
tenant?: string,
|
|
1606
|
-
/**
|
|
1607
|
-
* Filter by topic areas
|
|
1608
|
-
*/
|
|
1609
|
-
topics?: Array<string>,
|
|
1610
|
-
}): CancelablePromise<RecommendedCoursesResponse> {
|
|
1611
|
-
return __request(OpenAPI, {
|
|
1612
|
-
method: 'GET',
|
|
1613
|
-
url: '/api/search/orgs/{org}/users/{username}/recommended/',
|
|
1614
|
-
path: {
|
|
1615
|
-
'org': org,
|
|
1616
|
-
'username': username,
|
|
1617
|
-
},
|
|
1618
|
-
query: {
|
|
1619
|
-
'certificate': certificate,
|
|
1620
|
-
'content': content,
|
|
1621
|
-
'course_id': courseId,
|
|
1622
|
-
'duration': duration,
|
|
1623
|
-
'language': language,
|
|
1624
|
-
'level': level,
|
|
1625
|
-
'limit': limit,
|
|
1626
|
-
'offset': offset,
|
|
1627
|
-
'pathway_id': pathwayId,
|
|
1628
|
-
'price': price,
|
|
1629
|
-
'program_id': programId,
|
|
1630
|
-
'program_type': programType,
|
|
1631
|
-
'query': query,
|
|
1632
|
-
'resource_id': resourceId,
|
|
1633
|
-
'resource_type': resourceType,
|
|
1634
|
-
'role_id': roleId,
|
|
1635
|
-
'self_paced': selfPaced,
|
|
1636
|
-
'skill_id': skillId,
|
|
1637
|
-
'skills': skills,
|
|
1638
|
-
'subject': subject,
|
|
1639
|
-
'tags': tags,
|
|
1640
|
-
'tenant': tenant,
|
|
1641
|
-
'topics': topics,
|
|
1642
|
-
},
|
|
1643
|
-
errors: {
|
|
1644
|
-
400: `Bad request`,
|
|
1645
|
-
404: `User not found`,
|
|
1646
|
-
500: `Server error`,
|
|
1647
|
-
},
|
|
1648
|
-
});
|
|
1649
|
-
}
|
|
1650
|
-
/**
|
|
1651
|
-
* Determine whether to serve a detail view or a list view.
|
|
1652
|
-
* If any detail-identifying parameters are present (course_id, program_id, etc.)
|
|
1653
|
-
* the detail view is returned; otherwise the aggregated list view is returned.
|
|
1654
|
-
* @returns any
|
|
1655
|
-
* @throws ApiError
|
|
1656
|
-
*/
|
|
1657
|
-
public static searchPersonalizedCatalogRetrieve({
|
|
1658
|
-
username,
|
|
1659
|
-
allowSkillSearch = false,
|
|
1660
|
-
alphabetical = false,
|
|
1661
|
-
certificate,
|
|
1662
|
-
content,
|
|
1663
|
-
courseId,
|
|
1664
|
-
duration,
|
|
1665
|
-
language,
|
|
1666
|
-
level,
|
|
1667
|
-
limit = 12,
|
|
1668
|
-
offset,
|
|
1669
|
-
orderAscending = false,
|
|
1670
|
-
orderBy,
|
|
1671
|
-
pathwayId,
|
|
1672
|
-
price,
|
|
1673
|
-
programId,
|
|
1674
|
-
programType,
|
|
1675
|
-
promotion,
|
|
1676
|
-
query,
|
|
1677
|
-
recommended = false,
|
|
1678
|
-
resourceId,
|
|
1679
|
-
resourceType,
|
|
1680
|
-
returnFacet = true,
|
|
1681
|
-
returnItems = false,
|
|
1682
|
-
roleId,
|
|
1683
|
-
selfPaced,
|
|
1684
|
-
skillId,
|
|
1685
|
-
skills,
|
|
1686
|
-
subject,
|
|
1687
|
-
tags,
|
|
1688
|
-
tenant,
|
|
1689
|
-
topics,
|
|
1690
|
-
updateFacet,
|
|
1691
|
-
}: {
|
|
1692
|
-
username: string,
|
|
1693
|
-
/**
|
|
1694
|
-
* Enable skill-based search
|
|
1695
|
-
*/
|
|
1696
|
-
allowSkillSearch?: boolean,
|
|
1697
|
-
/**
|
|
1698
|
-
* Sort alphabetically by name
|
|
1699
|
-
*/
|
|
1700
|
-
alphabetical?: boolean,
|
|
1701
|
-
/**
|
|
1702
|
-
* Filter by certificate type
|
|
1703
|
-
*/
|
|
1704
|
-
certificate?: Array<string>,
|
|
1705
|
-
/**
|
|
1706
|
-
* Content types to include in results
|
|
1707
|
-
*/
|
|
1708
|
-
content?: Array<string>,
|
|
1709
|
-
/**
|
|
1710
|
-
* Retrieve a specific course by ID
|
|
1711
|
-
*/
|
|
1712
|
-
courseId?: string,
|
|
1713
|
-
/**
|
|
1714
|
-
* Filter by course duration range
|
|
1715
|
-
*/
|
|
1716
|
-
duration?: Array<string>,
|
|
1717
|
-
/**
|
|
1718
|
-
* Filter by content language
|
|
1719
|
-
*/
|
|
1720
|
-
language?: Array<string>,
|
|
1721
|
-
/**
|
|
1722
|
-
* Filter by difficulty level
|
|
1723
|
-
*/
|
|
1724
|
-
level?: Array<string>,
|
|
1725
|
-
/**
|
|
1726
|
-
* Number of results per page
|
|
1727
|
-
*/
|
|
1728
|
-
limit?: number,
|
|
1729
|
-
/**
|
|
1730
|
-
* Starting position for pagination
|
|
1731
|
-
*/
|
|
1732
|
-
offset?: number,
|
|
1733
|
-
/**
|
|
1734
|
-
* Sort direction
|
|
1735
|
-
*/
|
|
1736
|
-
orderAscending?: boolean,
|
|
1737
|
-
/**
|
|
1738
|
-
* Field to sort results by
|
|
1739
|
-
*/
|
|
1740
|
-
orderBy?: string,
|
|
1741
|
-
/**
|
|
1742
|
-
* Retrieve a specific pathway by ID
|
|
1743
|
-
*/
|
|
1744
|
-
pathwayId?: string,
|
|
1745
|
-
/**
|
|
1746
|
-
* Filter by price/audit status
|
|
1747
|
-
*/
|
|
1748
|
-
price?: string,
|
|
1749
|
-
/**
|
|
1750
|
-
* Retrieve a specific program by ID
|
|
1751
|
-
*/
|
|
1752
|
-
programId?: string,
|
|
1753
|
-
/**
|
|
1754
|
-
* Filter by program type
|
|
1755
|
-
*/
|
|
1756
|
-
programType?: Array<string>,
|
|
1757
|
-
/**
|
|
1758
|
-
* Filter by promotion status
|
|
1759
|
-
*/
|
|
1760
|
-
promotion?: Array<string>,
|
|
1761
|
-
/**
|
|
1762
|
-
* Search term to filter content by name or description
|
|
1763
|
-
*/
|
|
1764
|
-
query?: string,
|
|
1765
|
-
/**
|
|
1766
|
-
* Show only recommended content
|
|
1767
|
-
*/
|
|
1768
|
-
recommended?: boolean,
|
|
1769
|
-
/**
|
|
1770
|
-
* Retrieve a specific resource by ID
|
|
1771
|
-
*/
|
|
1772
|
-
resourceId?: string,
|
|
1773
|
-
/**
|
|
1774
|
-
* Filter by resource type
|
|
1775
|
-
*/
|
|
1776
|
-
resourceType?: Array<string>,
|
|
1777
|
-
/**
|
|
1778
|
-
* Include facet data in response
|
|
1779
|
-
*/
|
|
1780
|
-
returnFacet?: boolean,
|
|
1781
|
-
/**
|
|
1782
|
-
* Include items in programs/pathways
|
|
1783
|
-
*/
|
|
1784
|
-
returnItems?: boolean,
|
|
1785
|
-
/**
|
|
1786
|
-
* Retrieve a specific role by ID
|
|
1787
|
-
*/
|
|
1788
|
-
roleId?: string,
|
|
1789
|
-
/**
|
|
1790
|
-
* Filter by course format
|
|
1791
|
-
*/
|
|
1792
|
-
selfPaced?: Array<string>,
|
|
1793
|
-
/**
|
|
1794
|
-
* Retrieve a specific skill by ID
|
|
1795
|
-
*/
|
|
1796
|
-
skillId?: string,
|
|
1797
|
-
/**
|
|
1798
|
-
* Filter by skills
|
|
1799
|
-
*/
|
|
1800
|
-
skills?: Array<string>,
|
|
1801
|
-
/**
|
|
1802
|
-
* Filter by subject areas
|
|
1803
|
-
*/
|
|
1804
|
-
subject?: Array<string>,
|
|
1805
|
-
/**
|
|
1806
|
-
* Filter by tags
|
|
1807
|
-
*/
|
|
1808
|
-
tags?: Array<string>,
|
|
1809
|
-
/**
|
|
1810
|
-
* Filter by tenant/organization
|
|
1811
|
-
*/
|
|
1812
|
-
tenant?: string,
|
|
1813
|
-
/**
|
|
1814
|
-
* Filter by topic areas
|
|
1815
|
-
*/
|
|
1816
|
-
topics?: Array<string>,
|
|
1817
|
-
/**
|
|
1818
|
-
* Force facet update
|
|
1819
|
-
*/
|
|
1820
|
-
updateFacet?: string,
|
|
1821
|
-
}): CancelablePromise<Record<string, any>> {
|
|
1822
|
-
return __request(OpenAPI, {
|
|
1823
|
-
method: 'GET',
|
|
1824
|
-
url: '/api/search/personalized-catalog/{username}/',
|
|
1825
|
-
path: {
|
|
1826
|
-
'username': username,
|
|
1827
|
-
},
|
|
1828
|
-
query: {
|
|
1829
|
-
'allow_skill_search': allowSkillSearch,
|
|
1830
|
-
'alphabetical': alphabetical,
|
|
1831
|
-
'certificate': certificate,
|
|
1832
|
-
'content': content,
|
|
1833
|
-
'course_id': courseId,
|
|
1834
|
-
'duration': duration,
|
|
1835
|
-
'language': language,
|
|
1836
|
-
'level': level,
|
|
1837
|
-
'limit': limit,
|
|
1838
|
-
'offset': offset,
|
|
1839
|
-
'order_ascending': orderAscending,
|
|
1840
|
-
'order_by': orderBy,
|
|
1841
|
-
'pathway_id': pathwayId,
|
|
1842
|
-
'price': price,
|
|
1843
|
-
'program_id': programId,
|
|
1844
|
-
'program_type': programType,
|
|
1845
|
-
'promotion': promotion,
|
|
1846
|
-
'query': query,
|
|
1847
|
-
'recommended': recommended,
|
|
1848
|
-
'resource_id': resourceId,
|
|
1849
|
-
'resource_type': resourceType,
|
|
1850
|
-
'return_facet': returnFacet,
|
|
1851
|
-
'return_items': returnItems,
|
|
1852
|
-
'role_id': roleId,
|
|
1853
|
-
'self_paced': selfPaced,
|
|
1854
|
-
'skill_id': skillId,
|
|
1855
|
-
'skills': skills,
|
|
1856
|
-
'subject': subject,
|
|
1857
|
-
'tags': tags,
|
|
1858
|
-
'tenant': tenant,
|
|
1859
|
-
'topics': topics,
|
|
1860
|
-
'update_facet': updateFacet,
|
|
1861
|
-
},
|
|
1862
|
-
});
|
|
1863
|
-
}
|
|
1864
|
-
/**
|
|
1865
|
-
* Search and filter AI prompts across the platform.
|
|
1866
|
-
*
|
|
1867
|
-
* This endpoint provides a search interface for discovering AI prompts
|
|
1868
|
-
* with support for filtering, pagination, and detailed prompt information.
|
|
1869
|
-
*
|
|
1870
|
-
* Query Parameters:
|
|
1871
|
-
* # Identification parameters (for detail view)
|
|
1872
|
-
* id (int, optional): Retrieve a specific prompt by ID
|
|
1873
|
-
*
|
|
1874
|
-
* # Search and filtering parameters
|
|
1875
|
-
* query (str, optional): Search term to filter prompts by name or content
|
|
1876
|
-
* category (str, optional): Filter by prompt category
|
|
1877
|
-
* language (str, optional): Filter by prompt language
|
|
1878
|
-
* style (str, optional): Filter by writing style
|
|
1879
|
-
* tone (str, optional): Filter by tone
|
|
1880
|
-
* tenant (str, optional): Filter by tenant/organization
|
|
1881
|
-
* mentor (str, optional): Filter by associated mentor (UUID)
|
|
1882
|
-
*
|
|
1883
|
-
* # Sorting and pagination
|
|
1884
|
-
* sort_by (str, optional): Field to sort results by
|
|
1885
|
-
* order_direction (str, optional): Sort direction ('asc' or 'desc', default: 'desc')
|
|
1886
|
-
* alphabetical (bool, optional): Sort alphabetically by name (default: false)
|
|
1887
|
-
* limit (int, optional): Number of results per page (default: 10)
|
|
1888
|
-
* offset (int, optional): Starting position for pagination
|
|
1889
|
-
*
|
|
1890
|
-
* # Special parameters
|
|
1891
|
-
* filter_facet (any, optional): If present, return only facets without results
|
|
1892
|
-
*
|
|
1893
|
-
* Returns:
|
|
1894
|
-
* For detail view (when id is provided):
|
|
1895
|
-
* A JSON response containing a single prompt's details:
|
|
1896
|
-
* {
|
|
1897
|
-
* "id": 456,
|
|
1898
|
-
* "name": "Essay Writing Guide",
|
|
1899
|
-
* "content": "Write a well-structured essay on the following topic: {{topic}}...",
|
|
1900
|
-
* "category": "Academic Writing",
|
|
1901
|
-
* "language": "English",
|
|
1902
|
-
* "style": "Formal",
|
|
1903
|
-
* "tone": "Professional",
|
|
1904
|
-
* "mentor": {
|
|
1905
|
-
* "id": 123,
|
|
1906
|
-
* "unique_id": "550e8400-e29b-41d4-a716-446655440000",
|
|
1907
|
-
* "name": "Professor Smith"
|
|
1908
|
-
* },
|
|
1909
|
-
* "platform": {
|
|
1910
|
-
* "id": 1,
|
|
1911
|
-
* "name": "Example University",
|
|
1912
|
-
* "key": "example-university"
|
|
1913
|
-
* },
|
|
1914
|
-
* "created_at": "2023-02-10T09:15:00Z",
|
|
1915
|
-
* "updated_at": "2023-05-05T14:20:00Z",
|
|
1916
|
-
* "visibility": "public",
|
|
1917
|
-
* "variables": ["topic", "length", "style"]
|
|
1918
|
-
* }
|
|
1919
|
-
*
|
|
1920
|
-
* For list view:
|
|
1921
|
-
* A JSON response containing:
|
|
1922
|
-
* {
|
|
1923
|
-
* "results": [
|
|
1924
|
-
* {
|
|
1925
|
-
* "id": 456,
|
|
1926
|
-
* "name": "Essay Writing Guide",
|
|
1927
|
-
* "content": "Write a well-structured essay on the following topic: {{topic}}...",
|
|
1928
|
-
* "category": "Academic Writing",
|
|
1929
|
-
* "language": "English",
|
|
1930
|
-
* "style": "Formal",
|
|
1931
|
-
* "tone": "Professional",
|
|
1932
|
-
* "mentor": {"id": 123, "name": "Professor Smith"},
|
|
1933
|
-
* "created_at": "2023-02-10T09:15:00Z",
|
|
1934
|
-
* "updated_at": "2023-05-05T14:20:00Z"
|
|
1935
|
-
* },
|
|
1936
|
-
* // Additional prompt objects...
|
|
1937
|
-
* ],
|
|
1938
|
-
* "count": 30,
|
|
1939
|
-
* "next": "?limit=10&offset=10",
|
|
1940
|
-
* "previous": null,
|
|
1941
|
-
* "current_page": 1,
|
|
1942
|
-
* "num_pages": 3,
|
|
1943
|
-
* "facets": {
|
|
1944
|
-
* "category": [
|
|
1945
|
-
* {"key": "Academic Writing", "doc_count": 15},
|
|
1946
|
-
* {"key": "Creative Writing", "doc_count": 10},
|
|
1947
|
-
* {"key": "Technical Documentation", "doc_count": 5}
|
|
1948
|
-
* ],
|
|
1949
|
-
* "language": [
|
|
1950
|
-
* {"key": "English", "doc_count": 25},
|
|
1951
|
-
* {"key": "Spanish", "doc_count": 5}
|
|
1952
|
-
* ],
|
|
1953
|
-
* "style": [
|
|
1954
|
-
* {"key": "Formal", "doc_count": 20},
|
|
1955
|
-
* {"key": "Casual", "doc_count": 10}
|
|
1956
|
-
* ],
|
|
1957
|
-
* "tone": [
|
|
1958
|
-
* {"key": "Professional", "doc_count": 15},
|
|
1959
|
-
* {"key": "Friendly", "doc_count": 10},
|
|
1960
|
-
* {"key": "Technical", "doc_count": 5}
|
|
1961
|
-
* ]
|
|
1962
|
-
* }
|
|
1963
|
-
* }
|
|
1964
|
-
*
|
|
1965
|
-
* Error Responses:
|
|
1966
|
-
* 400 Bad Request: If the request parameters are invalid
|
|
1967
|
-
* 403 Forbidden: If the requested prompt exists but is not publicly available
|
|
1968
|
-
* 404 Not Found: If the requested prompt doesn't exist
|
|
1969
|
-
* 500 Internal Server Error: If an unexpected error occurs
|
|
1970
|
-
*
|
|
1971
|
-
* Notes:
|
|
1972
|
-
* - Only publicly available prompts are returned by default
|
|
1973
|
-
* - When filtering by mentor, the mentor ID must be a valid UUID
|
|
1974
|
-
* @returns PromptSearchResponse
|
|
1975
|
-
* @throws ApiError
|
|
1976
|
-
*/
|
|
1977
|
-
public static searchPromptsRetrieve({
|
|
1978
|
-
alphabetical = false,
|
|
1979
|
-
category,
|
|
1980
|
-
createdBy,
|
|
1981
|
-
filterFacet,
|
|
1982
|
-
language,
|
|
1983
|
-
limit = 10,
|
|
1984
|
-
mentor,
|
|
1985
|
-
offset,
|
|
1986
|
-
orderDirection = 'desc',
|
|
1987
|
-
query,
|
|
1988
|
-
sortBy,
|
|
1989
|
-
style,
|
|
1990
|
-
tenant,
|
|
1991
|
-
tone,
|
|
1992
|
-
}: {
|
|
1993
|
-
/**
|
|
1994
|
-
* Sort alphabetically
|
|
1995
|
-
*/
|
|
1996
|
-
alphabetical?: boolean,
|
|
1997
|
-
/**
|
|
1998
|
-
* Filter by prompt category
|
|
1999
|
-
*/
|
|
2000
|
-
category?: string,
|
|
2001
|
-
/**
|
|
2002
|
-
* Filter prompts created by specific user
|
|
2003
|
-
*/
|
|
2004
|
-
createdBy?: string,
|
|
2005
|
-
/**
|
|
2006
|
-
* If true, return only facets without results
|
|
2007
|
-
*/
|
|
2008
|
-
filterFacet?: boolean,
|
|
2009
|
-
/**
|
|
2010
|
-
* Filter by prompt language
|
|
2011
|
-
*/
|
|
2012
|
-
language?: string,
|
|
2013
|
-
/**
|
|
2014
|
-
* Number of results per page
|
|
2015
|
-
*/
|
|
2016
|
-
limit?: number,
|
|
2017
|
-
/**
|
|
2018
|
-
* Filter by mentor UUID
|
|
2019
|
-
*/
|
|
2020
|
-
mentor?: string,
|
|
2021
|
-
/**
|
|
2022
|
-
* Starting position for pagination
|
|
2023
|
-
*/
|
|
2024
|
-
offset?: number,
|
|
2025
|
-
/**
|
|
2026
|
-
* Sort direction ('asc' or 'desc')
|
|
2027
|
-
*/
|
|
2028
|
-
orderDirection?: string,
|
|
2029
|
-
/**
|
|
2030
|
-
* Search term to filter prompts by name or content
|
|
2031
|
-
*/
|
|
2032
|
-
query?: string,
|
|
2033
|
-
/**
|
|
2034
|
-
* Field to sort results by
|
|
2035
|
-
*/
|
|
2036
|
-
sortBy?: string,
|
|
2037
|
-
/**
|
|
2038
|
-
* Filter by prompt style
|
|
2039
|
-
*/
|
|
2040
|
-
style?: string,
|
|
2041
|
-
/**
|
|
2042
|
-
* Filter by tenant/organization
|
|
2043
|
-
*/
|
|
2044
|
-
tenant?: string,
|
|
2045
|
-
/**
|
|
2046
|
-
* Filter by prompt tone
|
|
2047
|
-
*/
|
|
2048
|
-
tone?: string,
|
|
2049
|
-
}): CancelablePromise<PromptSearchResponse> {
|
|
2050
|
-
return __request(OpenAPI, {
|
|
2051
|
-
method: 'GET',
|
|
2052
|
-
url: '/api/search/prompts/',
|
|
2053
|
-
query: {
|
|
2054
|
-
'alphabetical': alphabetical,
|
|
2055
|
-
'category': category,
|
|
2056
|
-
'created_by': createdBy,
|
|
2057
|
-
'filter_facet': filterFacet,
|
|
2058
|
-
'language': language,
|
|
2059
|
-
'limit': limit,
|
|
2060
|
-
'mentor': mentor,
|
|
2061
|
-
'offset': offset,
|
|
2062
|
-
'order_direction': orderDirection,
|
|
2063
|
-
'query': query,
|
|
2064
|
-
'sort_by': sortBy,
|
|
2065
|
-
'style': style,
|
|
2066
|
-
'tenant': tenant,
|
|
2067
|
-
'tone': tone,
|
|
2068
|
-
},
|
|
2069
|
-
errors: {
|
|
2070
|
-
400: `Bad request`,
|
|
2071
|
-
500: `Server error`,
|
|
2072
|
-
},
|
|
2073
|
-
});
|
|
2074
|
-
}
|
|
2075
|
-
/**
|
|
2076
|
-
* Search and filter users within a specific organization/tenant.
|
|
2077
|
-
*
|
|
2078
|
-
* This endpoint provides a search interface for discovering users within an organization,
|
|
2079
|
-
* with support for filtering by departments, pagination, and faceted filtering.
|
|
2080
|
-
*
|
|
2081
|
-
* Path Parameters:
|
|
2082
|
-
* org (str): The organization/tenant identifier
|
|
2083
|
-
* username (str): The username of the user making the request
|
|
2084
|
-
*
|
|
2085
|
-
* Query Parameters:
|
|
2086
|
-
* # Search parameters
|
|
2087
|
-
* query (str, optional): Search term to filter users by name, username, or email
|
|
2088
|
-
*
|
|
2089
|
-
* # Department filtering
|
|
2090
|
-
* department_mode (bool, optional): Enable department-based filtering (default: false)
|
|
2091
|
-
* user_department (bool, optional): Legacy parameter for department_mode (default: false)
|
|
2092
|
-
* department (list, optional): Filter by specific departments
|
|
2093
|
-
*
|
|
2094
|
-
* # Additional filters
|
|
2095
|
-
* role (list, optional): Filter by user role
|
|
2096
|
-
* status (list, optional): Filter by user status (active, inactive)
|
|
2097
|
-
* joined_date (list, optional): Filter by join date range
|
|
2098
|
-
* last_login (list, optional): Filter by last login date range
|
|
2099
|
-
*
|
|
2100
|
-
* # Pagination
|
|
2101
|
-
* limit (int, optional): Number of results per page (default: 10)
|
|
2102
|
-
* offset (int, optional): Starting position for pagination
|
|
2103
|
-
*
|
|
2104
|
-
* Returns:
|
|
2105
|
-
* A JSON response containing:
|
|
2106
|
-
* ```
|
|
2107
|
-
* {
|
|
2108
|
-
* "results": [
|
|
2109
|
-
* {
|
|
2110
|
-
* "id": 123,
|
|
2111
|
-
* "username": "john.doe",
|
|
2112
|
-
* "email": "john.doe@example.com",
|
|
2113
|
-
* "first_name": "John",
|
|
2114
|
-
* "last_name": "Doe",
|
|
2115
|
-
* "full_name": "John Doe",
|
|
2116
|
-
* "profile_image": "https://example.com/profiles/john-doe.jpg",
|
|
2117
|
-
* "role": "Student",
|
|
2118
|
-
* "departments": ["Computer Science", "Data Science"],
|
|
2119
|
-
* "status": "active",
|
|
2120
|
-
* "joined_date": "2023-01-15T12:00:00Z",
|
|
2121
|
-
* "last_login": "2023-06-20T15:30:00Z",
|
|
2122
|
-
* "metadata": {
|
|
2123
|
-
* "location": "New York",
|
|
2124
|
-
* "title": "Software Engineer",
|
|
2125
|
-
* "bio": "Experienced software engineer with a passion for education"
|
|
2126
|
-
* }
|
|
2127
|
-
* },
|
|
2128
|
-
* // Additional user objects...
|
|
2129
|
-
* ],
|
|
2130
|
-
* "count": 50,
|
|
2131
|
-
* "next": "https://api.example.com/api/search/users/example-org/admin/?limit=10&offset=10",
|
|
2132
|
-
* "previous": null,
|
|
2133
|
-
* "current_page": 1,
|
|
2134
|
-
* "total_pages": 5,
|
|
2135
|
-
* "facets": {
|
|
2136
|
-
* "role": [
|
|
2137
|
-
* {"key": "Student", "doc_count": 30},
|
|
2138
|
-
* {"key": "Instructor", "doc_count": 15},
|
|
2139
|
-
* {"key": "Admin", "doc_count": 5}
|
|
2140
|
-
* ],
|
|
2141
|
-
* "department": [
|
|
2142
|
-
* {"key": "Computer Science", "doc_count": 20},
|
|
2143
|
-
* {"key": "Data Science", "doc_count": 15},
|
|
2144
|
-
* {"key": "Business", "doc_count": 10},
|
|
2145
|
-
* {"key": "Engineering", "doc_count": 5}
|
|
2146
|
-
* ],
|
|
2147
|
-
* "status": [
|
|
2148
|
-
* {"key": "active", "doc_count": 45},
|
|
2149
|
-
* {"key": "inactive", "doc_count": 5}
|
|
2150
|
-
* ]
|
|
2151
|
-
* }
|
|
2152
|
-
* }
|
|
2153
|
-
* ```
|
|
2154
|
-
* Error Responses:
|
|
2155
|
-
* 400 Bad Request: If the request parameters are invalid
|
|
2156
|
-
* 403 Forbidden: If the user doesn't have department admin privileges (when using department_mode)
|
|
2157
|
-
* 404 Not Found: If the user or organization doesn't exist
|
|
2158
|
-
* 500 Internal Server Error: If an unexpected error occurs
|
|
2159
|
-
*
|
|
2160
|
-
* Access Control:
|
|
2161
|
-
* - The requesting user must have an active account in the specified organization
|
|
2162
|
-
* - When department_mode is enabled, the user must be an admin of at least one department
|
|
2163
|
-
* - Department filtering restricts results to users in departments where the requesting user is an admin
|
|
2164
|
-
* @returns UserSearchResponse
|
|
2165
|
-
* @throws ApiError
|
|
2166
|
-
*/
|
|
2167
|
-
public static searchUsersOrgsUsersRetrieve({
|
|
2168
|
-
org,
|
|
2169
|
-
username,
|
|
2170
|
-
department,
|
|
2171
|
-
educationDegree,
|
|
2172
|
-
educationFieldOfStudy,
|
|
2173
|
-
educationInstitution,
|
|
2174
|
-
includeMembershipData = false,
|
|
2175
|
-
limit = 10,
|
|
2176
|
-
offset,
|
|
2177
|
-
q,
|
|
2178
|
-
userResumeCompany,
|
|
2179
|
-
userResumeIndustry,
|
|
2180
|
-
userResumeJobTitle,
|
|
2181
|
-
userResumeLocation,
|
|
2182
|
-
userResumeSkills,
|
|
2183
|
-
}: {
|
|
2184
|
-
org: string,
|
|
2185
|
-
username: string,
|
|
2186
|
-
/**
|
|
2187
|
-
* Filter by department names
|
|
2188
|
-
*/
|
|
2189
|
-
department?: Array<string>,
|
|
2190
|
-
/**
|
|
2191
|
-
* Filter by degree
|
|
2192
|
-
*/
|
|
2193
|
-
educationDegree?: string,
|
|
2194
|
-
/**
|
|
2195
|
-
* Filter by field of study
|
|
2196
|
-
*/
|
|
2197
|
-
educationFieldOfStudy?: string,
|
|
2198
|
-
/**
|
|
2199
|
-
* Filter by institution
|
|
2200
|
-
*/
|
|
2201
|
-
educationInstitution?: string,
|
|
2202
|
-
/**
|
|
2203
|
-
* Include user group membership data in results
|
|
2204
|
-
*/
|
|
2205
|
-
includeMembershipData?: boolean,
|
|
2206
|
-
/**
|
|
2207
|
-
* Number of results per page
|
|
2208
|
-
*/
|
|
2209
|
-
limit?: number,
|
|
2210
|
-
/**
|
|
2211
|
-
* Starting position for pagination
|
|
2212
|
-
*/
|
|
2213
|
-
offset?: number,
|
|
2214
|
-
/**
|
|
2215
|
-
* Search term to filter users by name, email, or other attributes
|
|
2216
|
-
*/
|
|
2217
|
-
q?: string,
|
|
2218
|
-
/**
|
|
2219
|
-
* Filter by company
|
|
2220
|
-
*/
|
|
2221
|
-
userResumeCompany?: string,
|
|
2222
|
-
/**
|
|
2223
|
-
* Filter by industry
|
|
2224
|
-
*/
|
|
2225
|
-
userResumeIndustry?: string,
|
|
2226
|
-
/**
|
|
2227
|
-
* Filter by job title
|
|
2228
|
-
*/
|
|
2229
|
-
userResumeJobTitle?: string,
|
|
2230
|
-
/**
|
|
2231
|
-
* Filter by location
|
|
2232
|
-
*/
|
|
2233
|
-
userResumeLocation?: string,
|
|
2234
|
-
/**
|
|
2235
|
-
* Filter by skills
|
|
2236
|
-
*/
|
|
2237
|
-
userResumeSkills?: string,
|
|
2238
|
-
}): CancelablePromise<UserSearchResponse> {
|
|
2239
|
-
return __request(OpenAPI, {
|
|
2240
|
-
method: 'GET',
|
|
2241
|
-
url: '/api/search/users/orgs/{org}/users/{username}/',
|
|
2242
|
-
path: {
|
|
2243
|
-
'org': org,
|
|
2244
|
-
'username': username,
|
|
2245
|
-
},
|
|
2246
|
-
query: {
|
|
2247
|
-
'department': department,
|
|
2248
|
-
'education__degree': educationDegree,
|
|
2249
|
-
'education__field_of_study': educationFieldOfStudy,
|
|
2250
|
-
'education__institution': educationInstitution,
|
|
2251
|
-
'include_membership_data': includeMembershipData,
|
|
2252
|
-
'limit': limit,
|
|
2253
|
-
'offset': offset,
|
|
2254
|
-
'q': q,
|
|
2255
|
-
'user_resume__company': userResumeCompany,
|
|
2256
|
-
'user_resume__industry': userResumeIndustry,
|
|
2257
|
-
'user_resume__job_title': userResumeJobTitle,
|
|
2258
|
-
'user_resume__location': userResumeLocation,
|
|
2259
|
-
'user_resume__skills': userResumeSkills,
|
|
2260
|
-
},
|
|
2261
|
-
errors: {
|
|
2262
|
-
400: `Bad request`,
|
|
2263
|
-
403: `Forbidden`,
|
|
2264
|
-
404: `Not found`,
|
|
2265
|
-
500: `Server error`,
|
|
2266
|
-
},
|
|
2267
|
-
});
|
|
2268
|
-
}
|
|
2269
|
-
}
|
|
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
|
+
}
|