@iblai/iblai-api 2025.11.20-memory-pagination-fix-test-2-core → 2025.11.20-memory-pagination-fix-test-2-ai
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +24193 -1946
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +24185 -1947
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +24193 -1946
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +430 -1
- package/dist/types/models/AIGeneratedImage.d.ts +13 -0
- package/dist/types/models/AIUserProfileMemoryRelation.d.ts +4 -0
- package/dist/types/models/AIUserProfileRequest.d.ts +4 -0
- package/dist/types/models/AccessEnum.d.ts +8 -0
- package/dist/types/models/AccessTimesHeatmap.d.ts +5 -0
- package/dist/types/models/AccessibleMentorsByEmailRequest.d.ts +13 -0
- package/dist/types/models/AccessibleMentorsByEmailResponse.d.ts +13 -0
- package/dist/types/models/ActionBreakdown.d.ts +10 -0
- package/dist/types/models/AddMentorToDisclaimer.d.ts +12 -0
- package/dist/types/models/AlignMentorBubbleEnum.d.ts +8 -0
- package/dist/types/models/AnalyticsOverview.d.ts +7 -0
- package/dist/types/models/Answer.d.ts +11 -0
- package/dist/types/models/Artifact.d.ts +64 -0
- package/dist/types/models/ArtifactList.d.ts +45 -0
- package/dist/types/models/ArtifactVersion.d.ts +36 -0
- package/dist/types/models/ArtifactVersionList.d.ts +35 -0
- package/dist/types/models/AssumedKnowledge.d.ts +4 -0
- package/dist/types/models/AssumedKnowledgeLevel.d.ts +4 -0
- package/dist/types/models/AudioToTextRequest.d.ts +3 -0
- package/dist/types/models/AudioToTextResponse.d.ts +3 -0
- package/dist/types/models/AuthTypeEnum.d.ts +10 -0
- package/dist/types/models/AutoMemoryPrompt.d.ts +4 -0
- package/dist/types/models/BaseFinanceResponse.d.ts +37 -0
- package/dist/types/models/BillingPeriod.d.ts +8 -0
- package/dist/types/models/Bot.d.ts +15 -0
- package/dist/types/models/BotCommand.d.ts +6 -0
- package/dist/types/models/BotCreate.d.ts +12 -0
- package/dist/types/models/Breakdown.d.ts +11 -0
- package/dist/types/models/CallAuthenticationRequest.d.ts +17 -0
- package/dist/types/models/CallAuthenticationResponse.d.ts +21 -0
- package/dist/types/models/CallConfiguration.d.ts +26 -0
- package/dist/types/models/CallConfigurationModeEnum.d.ts +8 -0
- package/dist/types/models/ChatHistory.d.ts +9 -0
- package/dist/types/models/ChatHistoryFilterData.d.ts +9 -0
- package/dist/types/models/ChatHistoryFilterUser.d.ts +5 -0
- package/dist/types/models/ChatHistoryItem.d.ts +5 -0
- package/dist/types/models/ChatHistorySessionId.d.ts +3 -0
- package/dist/types/models/ChatSessionRequest.d.ts +15 -0
- package/dist/types/models/ChatSessionResponse.d.ts +6 -0
- package/dist/types/models/CheckDocumentTrainingStatus.d.ts +10 -0
- package/dist/types/models/ComparisonInfo.d.ts +29 -0
- package/dist/types/models/ComponentBlock.d.ts +9 -0
- package/dist/types/models/ComponentBlockTypeEnum.d.ts +8 -0
- package/dist/types/models/ConnectedService.d.ts +24 -0
- package/dist/types/models/ConversationChartPoint.d.ts +4 -0
- package/dist/types/models/ConversationDetailResponse.d.ts +4 -0
- package/dist/types/models/ConversationListItem.d.ts +24 -0
- package/dist/types/models/ConversationListResponse.d.ts +6 -0
- package/dist/types/models/ConversationMessage.d.ts +11 -0
- package/dist/types/models/ConversationRating.d.ts +6 -0
- package/dist/types/models/ConversationSummary.d.ts +5 -0
- package/dist/types/models/ConversationVolume.d.ts +4 -0
- package/dist/types/models/Conversations.d.ts +33 -0
- package/dist/types/models/ConversationsChart.d.ts +5 -0
- package/dist/types/models/Cost.d.ts +3 -0
- package/dist/types/models/CostPerTenant.d.ts +6 -0
- package/dist/types/models/CourseCreationTask.d.ts +31 -0
- package/dist/types/models/CourseCreationTaskFile.d.ts +7 -0
- package/dist/types/models/CourseCreationTaskStatusEnum.d.ts +16 -0
- package/dist/types/models/CourseRecommendation.d.ts +49 -0
- package/dist/types/models/CrawlerPatternTypeEnum.d.ts +8 -0
- package/dist/types/models/CredentialRequest.d.ts +14 -0
- package/dist/types/models/CrontabSchedule.d.ts +22 -0
- package/dist/types/models/CurrentUsersResponse.d.ts +8 -0
- package/dist/types/models/CustomInstructionResponse.d.ts +13 -0
- package/dist/types/models/DataSet.d.ts +21 -0
- package/dist/types/models/DataSetCreate.d.ts +12 -0
- package/dist/types/models/DataSetStatusEnum.d.ts +12 -0
- package/dist/types/models/DateRange.d.ts +4 -0
- package/dist/types/models/Disclaimer.d.ts +17 -0
- package/dist/types/models/DisclaimerAgreement.d.ts +11 -0
- package/dist/types/models/DisclaimerScopeEnum.d.ts +8 -0
- package/dist/types/models/DiscordConfig.d.ts +7 -0
- package/dist/types/models/DiscordUserConfig.d.ts +10 -0
- package/dist/types/models/DiscordWebhook.d.ts +6 -0
- package/dist/types/models/Document.d.ts +41 -0
- package/dist/types/models/DocumentFacet.d.ts +17 -0
- package/dist/types/models/DocumentFromPoolRequest.d.ts +10 -0
- package/dist/types/models/DocumentSearchResponse.d.ts +35 -0
- package/dist/types/models/DocumentSettingsResponse.d.ts +3 -0
- package/dist/types/models/EdxCourse.d.ts +11 -0
- package/dist/types/models/ElevenlabsCustomVoice.d.ts +4 -0
- package/dist/types/models/ElevenlabsCustomVoiceResponse.d.ts +8 -0
- package/dist/types/models/EmailPromptDetail.d.ts +13 -0
- package/dist/types/models/EmailPromptList.d.ts +11 -0
- package/dist/types/models/EmailPromptSummary.d.ts +5 -0
- package/dist/types/models/Entity.d.ts +11 -0
- package/dist/types/models/EntityTypeEnum.d.ts +10 -0
- package/dist/types/models/ExternalServiceInfo.d.ts +6 -0
- package/dist/types/models/FileUploadURLRequest.d.ts +21 -0
- package/dist/types/models/FileUploadURLResponse.d.ts +25 -0
- package/dist/types/models/FinanceDetailsResponse.d.ts +13 -0
- package/dist/types/models/FinanceFilters.d.ts +15 -0
- package/dist/types/models/FreeUsageCount.d.ts +3 -0
- package/dist/types/models/FullCourse.d.ts +13 -0
- package/dist/types/models/GreetingMethodEnum.d.ts +8 -0
- package/dist/types/models/GuidedPrompt.d.ts +4 -0
- package/dist/types/models/GuidedPromptsResponse.d.ts +5 -0
- package/dist/types/models/HeygenMarketingVideoDetail.d.ts +8 -0
- package/dist/types/models/HeygenMarketingVideoList.d.ts +6 -0
- package/dist/types/models/HeygenTemplateRequest.d.ts +5 -0
- package/dist/types/models/HeygenTemplateResponseSingle.d.ts +6 -0
- package/dist/types/models/HeygenVideoDetail.d.ts +8 -0
- package/dist/types/models/HeygenVideoRequest.d.ts +5 -0
- package/dist/types/models/HumanSupportTicket.d.ts +23 -0
- package/dist/types/models/HumanSupportTicketStatusEnum.d.ts +10 -0
- package/dist/types/models/InputQuestion.d.ts +6 -0
- package/dist/types/models/IntegrationCredential.d.ts +10 -0
- package/dist/types/models/IntegrationCredentialSchema.d.ts +6 -0
- package/dist/types/models/IntialQuestionAnswer.d.ts +3 -0
- package/dist/types/models/InvoiceReportResponse.d.ts +13 -0
- package/dist/types/models/JobRun.d.ts +11 -0
- package/dist/types/models/KindEnum.d.ts +10 -0
- package/dist/types/models/LLMCredentialRequest.d.ts +14 -0
- package/dist/types/models/LLMCredentialResponse.d.ts +10 -0
- package/dist/types/models/LLMCredentialSchema.d.ts +6 -0
- package/dist/types/models/LLMModelForTenant.d.ts +6 -0
- package/dist/types/models/LLMQuestion.d.ts +15 -0
- package/dist/types/models/LLMResponse.d.ts +18 -0
- package/dist/types/models/LLMTracesListResponse.d.ts +5 -0
- package/dist/types/models/LanguagesView.d.ts +5 -0
- package/dist/types/models/LinkCourseRequest.d.ts +3 -0
- package/dist/types/models/LinkCourseResponse.d.ts +5 -0
- package/dist/types/models/LlmProviderEnum.d.ts +8 -0
- package/dist/types/models/MCPServer.d.ts +50 -0
- package/dist/types/models/MCPServerConnection.d.ts +47 -0
- package/dist/types/models/MCPServerConnectionScopeEnum.d.ts +10 -0
- package/dist/types/models/MaskedIntegrationCredential.d.ts +10 -0
- package/dist/types/models/MaskedLLMCredential.d.ts +10 -0
- package/dist/types/models/MemoryComponentData.d.ts +5 -0
- package/dist/types/models/MemoryComponentMemory.d.ts +4 -0
- package/dist/types/models/MemoryComponentMemoryDetail.d.ts +8 -0
- package/dist/types/models/MemoryComponentResponse.d.ts +5 -0
- package/dist/types/models/MemoryProgress.d.ts +8 -0
- package/dist/types/models/MemoryStatusRequestView.d.ts +6 -0
- package/dist/types/models/MemoryStatusView.d.ts +6 -0
- package/dist/types/models/Mentor.d.ts +142 -0
- package/dist/types/models/MentorAudience.d.ts +5 -0
- package/dist/types/models/MentorBreakdown.d.ts +9 -0
- package/dist/types/models/MentorCategory.d.ts +9 -0
- package/dist/types/models/MentorCategoryCreate.d.ts +11 -0
- package/dist/types/models/MentorCategoryGroup.d.ts +11 -0
- package/dist/types/models/MentorCategoryGroupCreate.d.ts +11 -0
- package/dist/types/models/MentorCreate.d.ts +132 -0
- package/dist/types/models/MentorCustomVoice.d.ts +4 -0
- package/dist/types/models/MentorCustomVoiceResponse.d.ts +4 -0
- package/dist/types/models/MentorData.d.ts +7 -0
- package/dist/types/models/MentorDetailAnalytics.d.ts +6 -0
- package/dist/types/models/MentorEval.d.ts +11 -0
- package/dist/types/models/MentorEvalQuestion.d.ts +5 -0
- package/dist/types/models/MentorEvalQuestionRequest.d.ts +4 -0
- package/dist/types/models/MentorEvalReport.d.ts +10 -0
- package/dist/types/models/MentorEvalRequest.d.ts +8 -0
- package/dist/types/models/MentorFacet.d.ts +17 -0
- package/dist/types/models/MentorFork.d.ts +5 -0
- package/dist/types/models/MentorFromTemplateWithSettingRequest.d.ts +63 -0
- package/dist/types/models/MentorMemorySettingsRequest.d.ts +6 -0
- package/dist/types/models/MentorMemorySettingsResponse.d.ts +6 -0
- package/dist/types/models/MentorMetadata.d.ts +5 -0
- package/dist/types/models/MentorScenario.d.ts +6 -0
- package/dist/types/models/MentorScenarioPrompt.d.ts +5 -0
- package/dist/types/models/MentorSearchResponse.d.ts +35 -0
- package/dist/types/models/MentorSession.d.ts +4 -0
- package/dist/types/models/MentorSettings.d.ts +98 -0
- package/dist/types/models/MentorSettingsPublic.d.ts +75 -0
- package/dist/types/models/MentorSettingsRequest.d.ts +76 -0
- package/dist/types/models/MentorSummary.d.ts +5 -0
- package/dist/types/models/MentorType.d.ts +5 -0
- package/dist/types/models/MentorUserSetting.d.ts +4 -0
- package/dist/types/models/MentorVisibilityEnum.d.ts +10 -0
- package/dist/types/models/MentorWizard.d.ts +4 -0
- package/dist/types/models/MessageStatistics.d.ts +5 -0
- package/dist/types/models/MessageView.d.ts +10 -0
- package/dist/types/models/MessageViewRequest.d.ts +8 -0
- package/dist/types/models/MessageViewUpdatResponse.d.ts +3 -0
- package/dist/types/models/Metadata.d.ts +5 -0
- package/dist/types/models/MetricChange.d.ts +4 -0
- package/dist/types/models/MetricInfo.d.ts +5 -0
- package/dist/types/models/ModelCost.d.ts +4 -0
- package/dist/types/models/ModerationLog.d.ts +12 -0
- package/dist/types/models/NoChatMessagesFound.d.ts +3 -0
- package/dist/types/models/OAuthProvider.d.ts +18 -0
- package/dist/types/models/OAuthService.d.ts +18 -0
- package/dist/types/models/OAuthStartResponse.d.ts +3 -0
- package/dist/types/models/Observation.d.ts +31 -0
- package/dist/types/models/OvertimeData.d.ts +13 -0
- package/dist/types/models/PageContent.d.ts +6 -0
- package/dist/types/models/PaginatedAIGeneratedImageList.d.ts +7 -0
- package/dist/types/models/PaginatedArtifactListList.d.ts +7 -0
- package/dist/types/models/PaginatedArtifactVersionListList.d.ts +7 -0
- package/dist/types/models/PaginatedConversationsList.d.ts +7 -0
- package/dist/types/models/PaginatedCourseCreationTaskFileList.d.ts +7 -0
- package/dist/types/models/PaginatedCourseCreationTaskList.d.ts +7 -0
- package/dist/types/models/PaginatedDataSetList.d.ts +7 -0
- package/dist/types/models/PaginatedDisclaimerAgreementList.d.ts +7 -0
- package/dist/types/models/PaginatedDisclaimerList.d.ts +7 -0
- package/dist/types/models/PaginatedEdxCourseList.d.ts +7 -0
- package/dist/types/models/PaginatedEmailPromptListList.d.ts +7 -0
- package/dist/types/models/PaginatedHeygenMarketingVideoListList.d.ts +7 -0
- package/dist/types/models/PaginatedHeygenTemplateResponseSingleList.d.ts +7 -0
- package/dist/types/models/PaginatedHumanSupportTicketList.d.ts +7 -0
- package/dist/types/models/PaginatedJobRunList.d.ts +7 -0
- package/dist/types/models/PaginatedMCPServerConnectionList.d.ts +7 -0
- package/dist/types/models/PaginatedMCPServerList.d.ts +7 -0
- package/dist/types/models/PaginatedMentorList.d.ts +7 -0
- package/dist/types/models/PaginatedModerationLogList.d.ts +7 -0
- package/dist/types/models/PaginatedObservationList.d.ts +7 -0
- package/dist/types/models/PaginatedPeriodicAgentList.d.ts +7 -0
- package/dist/types/models/PaginatedPeriodicAgentLogList.d.ts +7 -0
- package/dist/types/models/PaginatedPlayWrightScriptList.d.ts +7 -0
- package/dist/types/models/PaginatedProjectList.d.ts +7 -0
- package/dist/types/models/PaginatedRetrieverDocumentEmbeddingList.d.ts +7 -0
- package/dist/types/models/PaginatedSectionList.d.ts +7 -0
- package/dist/types/models/PaginatedSubSectionList.d.ts +7 -0
- package/dist/types/models/PaginatedTicketMessageList.d.ts +7 -0
- package/dist/types/models/PaginatedTopicStatisticsResponse.d.ts +7 -0
- package/dist/types/models/PaginatedTraceList.d.ts +7 -0
- package/dist/types/models/PaginatedTrainingList.d.ts +7 -0
- package/dist/types/models/PaginatedUnitList.d.ts +7 -0
- package/dist/types/models/PaginatedUserEdxMemoryList.d.ts +7 -0
- package/dist/types/models/PaginatedUserMemoryList.d.ts +7 -0
- package/dist/types/models/PaginatedVeoVideoListList.d.ts +7 -0
- package/dist/types/models/PaginatedVoiceList.d.ts +7 -0
- package/dist/types/models/Pagination.d.ts +16 -11
- package/dist/types/models/PatchedArtifact.d.ts +64 -0
- package/dist/types/models/PatchedBotCommand.d.ts +6 -0
- package/dist/types/models/PatchedBotCreate.d.ts +12 -0
- package/dist/types/models/PatchedCallConfiguration.d.ts +26 -0
- package/dist/types/models/PatchedConversations.d.ts +33 -0
- package/dist/types/models/PatchedCourseCreationTaskFile.d.ts +7 -0
- package/dist/types/models/PatchedCredentialRequest.d.ts +14 -0
- package/dist/types/models/PatchedDataSet.d.ts +21 -0
- package/dist/types/models/PatchedDisclaimer.d.ts +17 -0
- package/dist/types/models/PatchedDiscordConfig.d.ts +7 -0
- package/dist/types/models/PatchedDiscordUserConfig.d.ts +10 -0
- package/dist/types/models/PatchedHumanSupportTicket.d.ts +23 -0
- package/dist/types/models/PatchedLLMCredentialRequest.d.ts +14 -0
- package/dist/types/models/PatchedMCPServer.d.ts +50 -0
- package/dist/types/models/PatchedMCPServerConnection.d.ts +47 -0
- package/dist/types/models/PatchedMentorCategoryGroupCreate.d.ts +11 -0
- package/dist/types/models/PatchedMentorCreate.d.ts +132 -0
- package/dist/types/models/PatchedPeriodicAgentCreate.d.ts +41 -0
- package/dist/types/models/PatchedPlayWrightScript.d.ts +12 -0
- package/dist/types/models/PatchedProject.d.ts +51 -0
- package/dist/types/models/PatchedPrompt.d.ts +22 -0
- package/dist/types/models/PatchedSection.d.ts +9 -0
- package/dist/types/models/PatchedSlackConfig.d.ts +8 -0
- package/dist/types/models/PatchedSlackUserConfig.d.ts +17 -0
- package/dist/types/models/PatchedSubSection.d.ts +9 -0
- package/dist/types/models/PatchedTeamsConfig.d.ts +7 -0
- package/dist/types/models/PatchedTicketMessage.d.ts +10 -0
- package/dist/types/models/PatchedTrainingCreate.d.ts +31 -0
- package/dist/types/models/PatchedUnit.d.ts +11 -0
- package/dist/types/models/PatchedWebexConfig.d.ts +10 -0
- package/dist/types/models/PatchedWhatsappConfig.d.ts +11 -0
- package/dist/types/models/PatchedWhatsappUserConfig.d.ts +10 -0
- package/dist/types/models/PeriodInfo.d.ts +21 -0
- package/dist/types/models/PeriodicAgent.d.ts +42 -0
- package/dist/types/models/PeriodicAgentCreate.d.ts +41 -0
- package/dist/types/models/PeriodicAgentLog.d.ts +11 -0
- package/dist/types/models/PeriodicAgentLogStatusEnum.d.ts +10 -0
- package/dist/types/models/PeriodicAgentStatistics.d.ts +7 -0
- package/dist/types/models/PeriodicTask.d.ts +21 -0
- package/dist/types/models/PieChartData.d.ts +5 -0
- package/dist/types/models/PieChartSegment.d.ts +4 -0
- package/dist/types/models/PinnedMessageCreate.d.ts +9 -0
- package/dist/types/models/PinnedMessageGet.d.ts +7 -0
- package/dist/types/models/PinnedMessageRequest.d.ts +6 -0
- package/dist/types/models/PlatformPrompt.d.ts +34 -0
- package/dist/types/models/PlatformPromptResponse.d.ts +16 -0
- package/dist/types/models/PlayWrightScript.d.ts +12 -0
- package/dist/types/models/PredictiveAnalyticsRequest.d.ts +4 -0
- package/dist/types/models/PredictiveAnalyticsResponse.d.ts +4 -0
- package/dist/types/models/PreviousAgentStatusEnum.d.ts +12 -0
- package/dist/types/models/Project.d.ts +51 -0
- package/dist/types/models/ProjectMentor.d.ts +11 -0
- package/dist/types/models/Prompt.d.ts +22 -0
- package/dist/types/models/PromptCategory.d.ts +7 -0
- package/dist/types/models/PromptFacet.d.ts +17 -0
- package/dist/types/models/PromptSearchResponse.d.ts +35 -0
- package/dist/types/models/PromptVisibilityEnum.d.ts +10 -0
- package/dist/types/models/Provider05cEnum.d.ts +14 -0
- package/dist/types/models/Provider637Enum.d.ts +10 -0
- package/dist/types/models/Provider63aEnum.d.ts +6 -0
- package/dist/types/models/ProviderBreakdown.d.ts +8 -0
- package/dist/types/models/QuestionCardTag.d.ts +8 -0
- package/dist/types/models/QuestionRequest.d.ts +15 -0
- package/dist/types/models/QuestionResponse.d.ts +10 -0
- package/dist/types/models/RatingAverageRecord.d.ts +10 -0
- package/dist/types/models/RatingEnum.d.ts +8 -0
- package/dist/types/models/RatingRecord.d.ts +4 -0
- package/dist/types/models/RatingsOvertime.d.ts +5 -0
- package/dist/types/models/RecentlyAccessedMentor.d.ts +11 -0
- package/dist/types/models/RecommendCourseBlock.d.ts +3 -0
- package/dist/types/models/RecommendCourseResponse.d.ts +3 -0
- package/dist/types/models/RecommendationTypeEnum.d.ts +8 -0
- package/dist/types/models/RecommendedCoursesResponse.d.ts +33 -0
- package/dist/types/models/RelatedText.d.ts +3 -0
- package/dist/types/models/RemoveMentorFromDisclaimer.d.ts +12 -0
- package/dist/types/models/RequestDataVariable.d.ts +14 -0
- package/dist/types/models/ResourceScrappedData.d.ts +13 -0
- package/dist/types/models/ResourceScrappedDataStatusEnum.d.ts +12 -0
- package/dist/types/models/ResponseDataVariable.d.ts +14 -0
- package/dist/types/models/RetreiverTrainViewRequest.d.ts +10 -0
- package/dist/types/models/RetreiverTrainViewResponse.d.ts +6 -0
- package/dist/types/models/RetrieveTask.d.ts +3 -0
- package/dist/types/models/RetrieverDocumentEmbedding.d.ts +30 -0
- package/dist/types/models/RetrieverDocumentEmbeddingRequest.d.ts +66 -0
- package/dist/types/models/RetrieverRequestSearch.d.ts +10 -0
- package/dist/types/models/RetrieverRequestSearchDocument.d.ts +10 -0
- package/dist/types/models/RetrieverResponseSearch.d.ts +7 -0
- package/dist/types/models/ReuestDataVariableList.d.ts +4 -0
- package/dist/types/models/RunMentorEval.d.ts +3 -0
- package/dist/types/models/ScanWebhookRequest.d.ts +6 -0
- package/dist/types/models/ScanWebhookResponse.d.ts +3 -0
- package/dist/types/models/Section.d.ts +9 -0
- package/dist/types/models/SectionWithChildren.d.ts +11 -0
- package/dist/types/models/SeedMentorsView.d.ts +3 -0
- package/dist/types/models/SentimentSummary.d.ts +4 -0
- package/dist/types/models/SessionBrowserScreenshot.d.ts +8 -0
- package/dist/types/models/SessionChartPoint.d.ts +4 -0
- package/dist/types/models/SessionDetail.d.ts +6 -0
- package/dist/types/models/SessionMemoryAttachment.d.ts +3 -0
- package/dist/types/models/SessionMemoryStorage.d.ts +6 -0
- package/dist/types/models/SessionsChart.d.ts +5 -0
- package/dist/types/models/SetCurrentVersionRequest.d.ts +3 -0
- package/dist/types/models/ShareableMentorLink.d.ts +8 -0
- package/dist/types/models/ShellLogs.d.ts +3 -0
- package/dist/types/models/SlackConfig.d.ts +8 -0
- package/dist/types/models/SlackUserConfig.d.ts +17 -0
- package/dist/types/models/SlackWebhook.d.ts +6 -0
- package/dist/types/models/SpacedRepetitionLearningPath.d.ts +3 -0
- package/dist/types/models/SpacedRepetitionQuestionStats.d.ts +5 -0
- package/dist/types/models/StarMentor.d.ts +7 -0
- package/dist/types/models/Status6eeEnum.d.ts +12 -0
- package/dist/types/models/Step.d.ts +9 -0
- package/dist/types/models/StepStatusEnum.d.ts +10 -0
- package/dist/types/models/StripeCheckoutSessionRequest.d.ts +2 -2
- package/dist/types/models/{ModeEnum.d.ts → StripeCheckoutSessionRequestModeEnum.d.ts} +1 -1
- package/dist/types/models/SttProviderEnum.d.ts +12 -0
- package/dist/types/models/StudentChatMessage.d.ts +4 -0
- package/dist/types/models/StylesView.d.ts +4 -0
- package/dist/types/models/SubSection.d.ts +9 -0
- package/dist/types/models/SubSectionWithChildren.d.ts +11 -0
- package/dist/types/models/Subject.d.ts +5 -0
- package/dist/types/models/Summary.d.ts +9 -0
- package/dist/types/models/TagsView.d.ts +5 -0
- package/dist/types/models/TargetSystemEnum.d.ts +8 -0
- package/dist/types/models/TaskView.d.ts +3 -0
- package/dist/types/models/TeamsConfig.d.ts +7 -0
- package/dist/types/models/TeamsWebhook.d.ts +17 -0
- package/dist/types/models/TemplateMentor.d.ts +9 -0
- package/dist/types/models/TenantMentorTraces.d.ts +6 -0
- package/dist/types/models/TenantSetting.d.ts +5 -0
- package/dist/types/models/ThemeEnum.d.ts +8 -0
- package/dist/types/models/TicketMessage.d.ts +10 -0
- package/dist/types/models/TonesView.d.ts +4 -0
- package/dist/types/models/ToolCategory.d.ts +5 -0
- package/dist/types/models/ToolResponse.d.ts +15 -0
- package/dist/types/models/TopicDetail.d.ts +8 -0
- package/dist/types/models/TopicDetails.d.ts +5 -0
- package/dist/types/models/TopicModel.d.ts +3 -0
- package/dist/types/models/TopicRecord.d.ts +4 -0
- package/dist/types/models/TopicStatistics.d.ts +7 -0
- package/dist/types/models/TopicStatisticsResponse.d.ts +6 -0
- package/dist/types/models/TopicSummaryView.d.ts +4 -0
- package/dist/types/models/TopicsOverview.d.ts +22 -0
- package/dist/types/models/TopicsOverviewMetric.d.ts +21 -0
- package/dist/types/models/Trace.d.ts +17 -0
- package/dist/types/models/TrainChatSessionDocumentView.d.ts +6 -0
- package/dist/types/models/TrainChatSessionDocumentViewRequest.d.ts +6 -0
- package/dist/types/models/TrainDocumentViewRequest.d.ts +82 -0
- package/dist/types/models/TrainDocumentViewResponse.d.ts +15 -0
- package/dist/types/models/Training.d.ts +41 -0
- package/dist/types/models/TrainingCreate.d.ts +31 -0
- package/dist/types/models/TrainingStatusEnum.d.ts +12 -0
- package/dist/types/models/TransportEnum.d.ts +10 -0
- package/dist/types/models/TrendEntry.d.ts +4 -0
- package/dist/types/models/TriggerRequest.d.ts +5 -0
- package/dist/types/models/TriggerResponse.d.ts +6 -0
- package/dist/types/models/TtsProviderEnum.d.ts +10 -0
- package/dist/types/models/TypeC42Enum.d.ts +8 -0
- package/dist/types/models/Unit.d.ts +11 -0
- package/dist/types/models/UnitWithChildren.d.ts +13 -0
- package/dist/types/models/UseMainCreds.d.ts +3 -0
- package/dist/types/models/UserAllChatMemoryView.d.ts +7 -0
- package/dist/types/models/UserCatalogItemMemoryView.d.ts +14 -0
- package/dist/types/models/UserChatByPeriod.d.ts +4 -0
- package/dist/types/models/UserChatFeedback.d.ts +15 -0
- package/dist/types/models/UserChatFeedbackCount.d.ts +4 -0
- package/dist/types/models/UserChatMemoryStatusRequestView.d.ts +6 -0
- package/dist/types/models/UserChatMemoryStatusView.d.ts +6 -0
- package/dist/types/models/UserChatMemoryUpdateView.d.ts +10 -0
- package/dist/types/models/UserCountRecord.d.ts +4 -0
- package/dist/types/models/UserDetail.d.ts +7 -0
- package/dist/types/models/UserEdxMemory.d.ts +15 -0
- package/dist/types/models/UserMemory.d.ts +18 -0
- package/dist/types/models/UserMemoryContextRequest.d.ts +13 -0
- package/dist/types/models/UserMemoryContextResponse.d.ts +12 -0
- package/dist/types/models/UserMemoryEntry.d.ts +9 -0
- package/dist/types/models/UserMemoryEntryRequest.d.ts +5 -0
- package/dist/types/models/UserMemoryRequest.d.ts +12 -0
- package/dist/types/models/UserMetric.d.ts +4 -0
- package/dist/types/models/UserMetricsResponse.d.ts +7 -0
- package/dist/types/models/UserSentimentCountView.d.ts +4 -0
- package/dist/types/models/UserTrendByPeriod.d.ts +5 -0
- package/dist/types/models/V2GlobalMentorSearchResponse.d.ts +29 -0
- package/dist/types/models/V2PersonalizedMentorsResponse.d.ts +29 -0
- package/dist/types/models/V2RecommendationResponse.d.ts +65 -0
- package/dist/types/models/VectorResult.d.ts +10 -0
- package/dist/types/models/VeoVideoDetail.d.ts +10 -0
- package/dist/types/models/VeoVideoList.d.ts +6 -0
- package/dist/types/models/VeoVideoRequest.d.ts +5 -0
- package/dist/types/models/VideoCaption.d.ts +3 -0
- package/dist/types/models/Voice.d.ts +9 -0
- package/dist/types/models/WebResource.d.ts +9 -0
- package/dist/types/models/WebResourceCard.d.ts +7 -0
- package/dist/types/models/WebResourcesQuery.d.ts +3 -0
- package/dist/types/models/WebexConfig.d.ts +10 -0
- package/dist/types/models/WebexWebhook.d.ts +4 -0
- package/dist/types/models/WhatAppWebHook.d.ts +3 -0
- package/dist/types/models/WhatsappConfig.d.ts +11 -0
- package/dist/types/models/WhatsappUserConfig.d.ts +10 -0
- package/dist/types/services/AiAccountService.d.ts +567 -0
- package/dist/types/services/AiAnalyticsService.d.ts +4691 -19
- package/dist/types/services/AiBotService.d.ts +650 -0
- package/dist/types/services/AiFinetuningService.d.ts +232 -0
- package/dist/types/services/AiIndexService.d.ts +399 -0
- package/dist/types/services/AiMarketingService.d.ts +38 -0
- package/dist/types/services/AiMediaService.d.ts +247 -0
- package/dist/types/services/AiMentorService.d.ts +6803 -0
- package/dist/types/services/AiPromptService.d.ts +1035 -0
- package/dist/types/services/AiSearchService.d.ts +451 -0
- package/dist/types/services/AnalyticsService.d.ts +709 -4
- package/dist/types/services/SearchService.d.ts +738 -0
- package/package.json +1 -1
- package/sdk_schema.yml +72404 -23887
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +430 -1
- package/src/models/AIGeneratedImage.ts +18 -0
- package/src/models/AIUserProfileMemoryRelation.ts +9 -0
- package/src/models/AIUserProfileRequest.ts +9 -0
- package/src/models/AccessEnum.ts +12 -0
- package/src/models/AccessTimesHeatmap.ts +10 -0
- package/src/models/AccessibleMentorsByEmailRequest.ts +18 -0
- package/src/models/AccessibleMentorsByEmailResponse.ts +18 -0
- package/src/models/ActionBreakdown.ts +15 -0
- package/src/models/AddMentorToDisclaimer.ts +17 -0
- package/src/models/AlignMentorBubbleEnum.ts +12 -0
- package/src/models/AnalyticsOverview.ts +12 -0
- package/src/models/Answer.ts +16 -0
- package/src/models/Artifact.ts +69 -0
- package/src/models/ArtifactList.ts +50 -0
- package/src/models/ArtifactVersion.ts +41 -0
- package/src/models/ArtifactVersionList.ts +40 -0
- package/src/models/AssumedKnowledge.ts +9 -0
- package/src/models/AssumedKnowledgeLevel.ts +9 -0
- package/src/models/AudioToTextRequest.ts +8 -0
- package/src/models/AudioToTextResponse.ts +8 -0
- package/src/models/AuthTypeEnum.ts +14 -0
- package/src/models/AutoMemoryPrompt.ts +9 -0
- package/src/models/BaseFinanceResponse.ts +42 -0
- package/src/models/BillingPeriod.ts +13 -0
- package/src/models/Bot.ts +20 -0
- package/src/models/BotCommand.ts +11 -0
- package/src/models/BotCreate.ts +17 -0
- package/src/models/Breakdown.ts +16 -0
- package/src/models/CallAuthenticationRequest.ts +22 -0
- package/src/models/CallAuthenticationResponse.ts +26 -0
- package/src/models/CallConfiguration.ts +31 -0
- package/src/models/CallConfigurationModeEnum.ts +12 -0
- package/src/models/ChatHistory.ts +14 -0
- package/src/models/ChatHistoryFilterData.ts +14 -0
- package/src/models/ChatHistoryFilterUser.ts +10 -0
- package/src/models/ChatHistoryItem.ts +10 -0
- package/src/models/ChatHistorySessionId.ts +8 -0
- package/src/models/ChatSessionRequest.ts +20 -0
- package/src/models/ChatSessionResponse.ts +11 -0
- package/src/models/CheckDocumentTrainingStatus.ts +15 -0
- package/src/models/ComparisonInfo.ts +34 -0
- package/src/models/ComponentBlock.ts +14 -0
- package/src/models/ComponentBlockTypeEnum.ts +12 -0
- package/src/models/ConnectedService.ts +29 -0
- package/src/models/ConversationChartPoint.ts +9 -0
- package/src/models/ConversationDetailResponse.ts +9 -0
- package/src/models/ConversationListItem.ts +29 -0
- package/src/models/ConversationListResponse.ts +11 -0
- package/src/models/ConversationMessage.ts +16 -0
- package/src/models/ConversationRating.ts +11 -0
- package/src/models/ConversationSummary.ts +10 -0
- package/src/models/ConversationVolume.ts +9 -0
- package/src/models/Conversations.ts +38 -0
- package/src/models/ConversationsChart.ts +10 -0
- package/src/models/Cost.ts +8 -0
- package/src/models/CostPerTenant.ts +11 -0
- package/src/models/CourseCreationTask.ts +36 -0
- package/src/models/CourseCreationTaskFile.ts +12 -0
- package/src/models/CourseCreationTaskStatusEnum.ts +20 -0
- package/src/models/CourseRecommendation.ts +54 -0
- package/src/models/CrawlerPatternTypeEnum.ts +12 -0
- package/src/models/CredentialRequest.ts +19 -0
- package/src/models/CrontabSchedule.ts +27 -0
- package/src/models/CurrentUsersResponse.ts +13 -0
- package/src/models/CustomInstructionResponse.ts +18 -0
- package/src/models/DataSet.ts +26 -0
- package/src/models/DataSetCreate.ts +17 -0
- package/src/models/DataSetStatusEnum.ts +16 -0
- package/src/models/DateRange.ts +9 -0
- package/src/models/Disclaimer.ts +22 -0
- package/src/models/DisclaimerAgreement.ts +16 -0
- package/src/models/DisclaimerScopeEnum.ts +12 -0
- package/src/models/DiscordConfig.ts +12 -0
- package/src/models/DiscordUserConfig.ts +15 -0
- package/src/models/DiscordWebhook.ts +11 -0
- package/src/models/Document.ts +46 -0
- package/src/models/DocumentFacet.ts +22 -0
- package/src/models/DocumentFromPoolRequest.ts +15 -0
- package/src/models/DocumentSearchResponse.ts +40 -0
- package/src/models/DocumentSettingsResponse.ts +8 -0
- package/src/models/EdxCourse.ts +16 -0
- package/src/models/ElevenlabsCustomVoice.ts +9 -0
- package/src/models/ElevenlabsCustomVoiceResponse.ts +13 -0
- package/src/models/EmailPromptDetail.ts +18 -0
- package/src/models/EmailPromptList.ts +16 -0
- package/src/models/EmailPromptSummary.ts +10 -0
- package/src/models/Entity.ts +16 -0
- package/src/models/EntityTypeEnum.ts +14 -0
- package/src/models/ExternalServiceInfo.ts +11 -0
- package/src/models/FileUploadURLRequest.ts +26 -0
- package/src/models/FileUploadURLResponse.ts +30 -0
- package/src/models/FinanceDetailsResponse.ts +18 -0
- package/src/models/FinanceFilters.ts +20 -0
- package/src/models/FreeUsageCount.ts +8 -0
- package/src/models/FullCourse.ts +18 -0
- package/src/models/GreetingMethodEnum.ts +12 -0
- package/src/models/GuidedPrompt.ts +9 -0
- package/src/models/GuidedPromptsResponse.ts +10 -0
- package/src/models/HeygenMarketingVideoDetail.ts +13 -0
- package/src/models/HeygenMarketingVideoList.ts +11 -0
- package/src/models/HeygenTemplateRequest.ts +10 -0
- package/src/models/HeygenTemplateResponseSingle.ts +11 -0
- package/src/models/HeygenVideoDetail.ts +13 -0
- package/src/models/HeygenVideoRequest.ts +10 -0
- package/src/models/HumanSupportTicket.ts +28 -0
- package/src/models/HumanSupportTicketStatusEnum.ts +14 -0
- package/src/models/InputQuestion.ts +11 -0
- package/src/models/IntegrationCredential.ts +15 -0
- package/src/models/IntegrationCredentialSchema.ts +11 -0
- package/src/models/IntialQuestionAnswer.ts +8 -0
- package/src/models/InvoiceReportResponse.ts +18 -0
- package/src/models/JobRun.ts +16 -0
- package/src/models/KindEnum.ts +14 -0
- package/src/models/LLMCredentialRequest.ts +19 -0
- package/src/models/LLMCredentialResponse.ts +15 -0
- package/src/models/LLMCredentialSchema.ts +11 -0
- package/src/models/LLMModelForTenant.ts +11 -0
- package/src/models/LLMQuestion.ts +20 -0
- package/src/models/LLMResponse.ts +23 -0
- package/src/models/LLMTracesListResponse.ts +10 -0
- package/src/models/LanguagesView.ts +10 -0
- package/src/models/LinkCourseRequest.ts +8 -0
- package/src/models/LinkCourseResponse.ts +10 -0
- package/src/models/LlmProviderEnum.ts +12 -0
- package/src/models/MCPServer.ts +55 -0
- package/src/models/MCPServerConnection.ts +52 -0
- package/src/models/MCPServerConnectionScopeEnum.ts +14 -0
- package/src/models/MaskedIntegrationCredential.ts +15 -0
- package/src/models/MaskedLLMCredential.ts +15 -0
- package/src/models/MemoryComponentData.ts +10 -0
- package/src/models/MemoryComponentMemory.ts +9 -0
- package/src/models/MemoryComponentMemoryDetail.ts +13 -0
- package/src/models/MemoryComponentResponse.ts +10 -0
- package/src/models/MemoryProgress.ts +13 -0
- package/src/models/MemoryStatusRequestView.ts +11 -0
- package/src/models/MemoryStatusView.ts +11 -0
- package/src/models/Mentor.ts +147 -0
- package/src/models/MentorAudience.ts +10 -0
- package/src/models/MentorBreakdown.ts +14 -0
- package/src/models/MentorCategory.ts +14 -0
- package/src/models/MentorCategoryCreate.ts +16 -0
- package/src/models/MentorCategoryGroup.ts +16 -0
- package/src/models/MentorCategoryGroupCreate.ts +16 -0
- package/src/models/MentorCreate.ts +137 -0
- package/src/models/MentorCustomVoice.ts +9 -0
- package/src/models/MentorCustomVoiceResponse.ts +9 -0
- package/src/models/MentorData.ts +12 -0
- package/src/models/MentorDetailAnalytics.ts +11 -0
- package/src/models/MentorEval.ts +16 -0
- package/src/models/MentorEvalQuestion.ts +10 -0
- package/src/models/MentorEvalQuestionRequest.ts +9 -0
- package/src/models/MentorEvalReport.ts +15 -0
- package/src/models/MentorEvalRequest.ts +13 -0
- package/src/models/MentorFacet.ts +22 -0
- package/src/models/MentorFork.ts +10 -0
- package/src/models/MentorFromTemplateWithSettingRequest.ts +68 -0
- package/src/models/MentorMemorySettingsRequest.ts +11 -0
- package/src/models/MentorMemorySettingsResponse.ts +11 -0
- package/src/models/MentorMetadata.ts +10 -0
- package/src/models/MentorScenario.ts +11 -0
- package/src/models/MentorScenarioPrompt.ts +10 -0
- package/src/models/MentorSearchResponse.ts +40 -0
- package/src/models/MentorSession.ts +9 -0
- package/src/models/MentorSettings.ts +103 -0
- package/src/models/MentorSettingsPublic.ts +80 -0
- package/src/models/MentorSettingsRequest.ts +81 -0
- package/src/models/MentorSummary.ts +10 -0
- package/src/models/MentorType.ts +10 -0
- package/src/models/MentorUserSetting.ts +9 -0
- package/src/models/MentorVisibilityEnum.ts +14 -0
- package/src/models/MentorWizard.ts +9 -0
- package/src/models/MessageStatistics.ts +10 -0
- package/src/models/MessageView.ts +15 -0
- package/src/models/MessageViewRequest.ts +13 -0
- package/src/models/MessageViewUpdatResponse.ts +8 -0
- package/src/models/Metadata.ts +10 -0
- package/src/models/MetricChange.ts +9 -0
- package/src/models/MetricInfo.ts +10 -0
- package/src/models/ModelCost.ts +9 -0
- package/src/models/ModerationLog.ts +17 -0
- package/src/models/NoChatMessagesFound.ts +8 -0
- package/src/models/OAuthProvider.ts +23 -0
- package/src/models/OAuthService.ts +23 -0
- package/src/models/OAuthStartResponse.ts +8 -0
- package/src/models/Observation.ts +36 -0
- package/src/models/OvertimeData.ts +18 -0
- package/src/models/PageContent.ts +11 -0
- package/src/models/PaginatedAIGeneratedImageList.ts +12 -0
- package/src/models/PaginatedArtifactListList.ts +12 -0
- package/src/models/PaginatedArtifactVersionListList.ts +12 -0
- package/src/models/PaginatedConversationsList.ts +12 -0
- package/src/models/PaginatedCourseCreationTaskFileList.ts +12 -0
- package/src/models/PaginatedCourseCreationTaskList.ts +12 -0
- package/src/models/PaginatedDataSetList.ts +12 -0
- package/src/models/PaginatedDisclaimerAgreementList.ts +12 -0
- package/src/models/PaginatedDisclaimerList.ts +12 -0
- package/src/models/PaginatedEdxCourseList.ts +12 -0
- package/src/models/PaginatedEmailPromptListList.ts +12 -0
- package/src/models/PaginatedHeygenMarketingVideoListList.ts +12 -0
- package/src/models/PaginatedHeygenTemplateResponseSingleList.ts +12 -0
- package/src/models/PaginatedHumanSupportTicketList.ts +12 -0
- package/src/models/PaginatedJobRunList.ts +12 -0
- package/src/models/PaginatedMCPServerConnectionList.ts +12 -0
- package/src/models/PaginatedMCPServerList.ts +12 -0
- package/src/models/PaginatedMentorList.ts +12 -0
- package/src/models/PaginatedModerationLogList.ts +12 -0
- package/src/models/PaginatedObservationList.ts +12 -0
- package/src/models/PaginatedPeriodicAgentList.ts +12 -0
- package/src/models/PaginatedPeriodicAgentLogList.ts +12 -0
- package/src/models/PaginatedPlayWrightScriptList.ts +12 -0
- package/src/models/PaginatedProjectList.ts +12 -0
- package/src/models/PaginatedRetrieverDocumentEmbeddingList.ts +12 -0
- package/src/models/PaginatedSectionList.ts +12 -0
- package/src/models/PaginatedSubSectionList.ts +12 -0
- package/src/models/PaginatedTicketMessageList.ts +12 -0
- package/src/models/PaginatedTopicStatisticsResponse.ts +12 -0
- package/src/models/PaginatedTraceList.ts +12 -0
- package/src/models/PaginatedTrainingList.ts +12 -0
- package/src/models/PaginatedUnitList.ts +12 -0
- package/src/models/PaginatedUserEdxMemoryList.ts +12 -0
- package/src/models/PaginatedUserMemoryList.ts +12 -0
- package/src/models/PaginatedVeoVideoListList.ts +12 -0
- package/src/models/PaginatedVoiceList.ts +12 -0
- package/src/models/Pagination.ts +16 -11
- package/src/models/PatchedArtifact.ts +69 -0
- package/src/models/PatchedBotCommand.ts +11 -0
- package/src/models/PatchedBotCreate.ts +17 -0
- package/src/models/PatchedCallConfiguration.ts +31 -0
- package/src/models/PatchedConversations.ts +38 -0
- package/src/models/PatchedCourseCreationTaskFile.ts +12 -0
- package/src/models/PatchedCredentialRequest.ts +19 -0
- package/src/models/PatchedDataSet.ts +26 -0
- package/src/models/PatchedDisclaimer.ts +22 -0
- package/src/models/PatchedDiscordConfig.ts +12 -0
- package/src/models/PatchedDiscordUserConfig.ts +15 -0
- package/src/models/PatchedHumanSupportTicket.ts +28 -0
- package/src/models/PatchedLLMCredentialRequest.ts +19 -0
- package/src/models/PatchedMCPServer.ts +55 -0
- package/src/models/PatchedMCPServerConnection.ts +52 -0
- package/src/models/PatchedMentorCategoryGroupCreate.ts +16 -0
- package/src/models/PatchedMentorCreate.ts +137 -0
- package/src/models/PatchedPeriodicAgentCreate.ts +46 -0
- package/src/models/PatchedPlayWrightScript.ts +17 -0
- package/src/models/PatchedProject.ts +56 -0
- package/src/models/PatchedPrompt.ts +27 -0
- package/src/models/PatchedSection.ts +14 -0
- package/src/models/PatchedSlackConfig.ts +13 -0
- package/src/models/PatchedSlackUserConfig.ts +22 -0
- package/src/models/PatchedSubSection.ts +14 -0
- package/src/models/PatchedTeamsConfig.ts +12 -0
- package/src/models/PatchedTicketMessage.ts +15 -0
- package/src/models/PatchedTrainingCreate.ts +36 -0
- package/src/models/PatchedUnit.ts +16 -0
- package/src/models/PatchedWebexConfig.ts +15 -0
- package/src/models/PatchedWhatsappConfig.ts +16 -0
- package/src/models/PatchedWhatsappUserConfig.ts +15 -0
- package/src/models/PeriodInfo.ts +26 -0
- package/src/models/PeriodicAgent.ts +47 -0
- package/src/models/PeriodicAgentCreate.ts +46 -0
- package/src/models/PeriodicAgentLog.ts +16 -0
- package/src/models/PeriodicAgentLogStatusEnum.ts +14 -0
- package/src/models/PeriodicAgentStatistics.ts +12 -0
- package/src/models/PeriodicTask.ts +26 -0
- package/src/models/PieChartData.ts +10 -0
- package/src/models/PieChartSegment.ts +9 -0
- package/src/models/PinnedMessageCreate.ts +14 -0
- package/src/models/PinnedMessageGet.ts +12 -0
- package/src/models/PinnedMessageRequest.ts +11 -0
- package/src/models/PlatformPrompt.ts +39 -0
- package/src/models/PlatformPromptResponse.ts +21 -0
- package/src/models/PlayWrightScript.ts +17 -0
- package/src/models/PredictiveAnalyticsRequest.ts +9 -0
- package/src/models/PredictiveAnalyticsResponse.ts +9 -0
- package/src/models/PreviousAgentStatusEnum.ts +16 -0
- package/src/models/Project.ts +56 -0
- package/src/models/ProjectMentor.ts +16 -0
- package/src/models/Prompt.ts +27 -0
- package/src/models/PromptCategory.ts +12 -0
- package/src/models/PromptFacet.ts +22 -0
- package/src/models/PromptSearchResponse.ts +40 -0
- package/src/models/PromptVisibilityEnum.ts +14 -0
- package/src/models/Provider05cEnum.ts +18 -0
- package/src/models/Provider637Enum.ts +14 -0
- package/src/models/Provider63aEnum.ts +10 -0
- package/src/models/ProviderBreakdown.ts +13 -0
- package/src/models/QuestionCardTag.ts +13 -0
- package/src/models/QuestionRequest.ts +20 -0
- package/src/models/QuestionResponse.ts +15 -0
- package/src/models/RatingAverageRecord.ts +15 -0
- package/src/models/RatingEnum.ts +12 -0
- package/src/models/RatingRecord.ts +9 -0
- package/src/models/RatingsOvertime.ts +10 -0
- package/src/models/RecentlyAccessedMentor.ts +16 -0
- package/src/models/RecommendCourseBlock.ts +8 -0
- package/src/models/RecommendCourseResponse.ts +8 -0
- package/src/models/RecommendationTypeEnum.ts +12 -0
- package/src/models/RecommendedCoursesResponse.ts +38 -0
- package/src/models/RelatedText.ts +8 -0
- package/src/models/RemoveMentorFromDisclaimer.ts +17 -0
- package/src/models/RequestDataVariable.ts +19 -0
- package/src/models/ResourceScrappedData.ts +18 -0
- package/src/models/ResourceScrappedDataStatusEnum.ts +16 -0
- package/src/models/ResponseDataVariable.ts +19 -0
- package/src/models/RetreiverTrainViewRequest.ts +15 -0
- package/src/models/RetreiverTrainViewResponse.ts +11 -0
- package/src/models/RetrieveTask.ts +8 -0
- package/src/models/RetrieverDocumentEmbedding.ts +35 -0
- package/src/models/RetrieverDocumentEmbeddingRequest.ts +71 -0
- package/src/models/RetrieverRequestSearch.ts +15 -0
- package/src/models/RetrieverRequestSearchDocument.ts +15 -0
- package/src/models/RetrieverResponseSearch.ts +12 -0
- package/src/models/ReuestDataVariableList.ts +9 -0
- package/src/models/RunMentorEval.ts +8 -0
- package/src/models/ScanWebhookRequest.ts +11 -0
- package/src/models/ScanWebhookResponse.ts +8 -0
- package/src/models/Section.ts +14 -0
- package/src/models/SectionWithChildren.ts +16 -0
- package/src/models/SeedMentorsView.ts +8 -0
- package/src/models/SentimentSummary.ts +9 -0
- package/src/models/SessionBrowserScreenshot.ts +13 -0
- package/src/models/SessionChartPoint.ts +9 -0
- package/src/models/SessionDetail.ts +11 -0
- package/src/models/SessionMemoryAttachment.ts +8 -0
- package/src/models/SessionMemoryStorage.ts +11 -0
- package/src/models/SessionsChart.ts +10 -0
- package/src/models/SetCurrentVersionRequest.ts +8 -0
- package/src/models/ShareableMentorLink.ts +13 -0
- package/src/models/ShellLogs.ts +8 -0
- package/src/models/SlackConfig.ts +13 -0
- package/src/models/SlackUserConfig.ts +22 -0
- package/src/models/SlackWebhook.ts +11 -0
- package/src/models/SpacedRepetitionLearningPath.ts +8 -0
- package/src/models/SpacedRepetitionQuestionStats.ts +10 -0
- package/src/models/StarMentor.ts +12 -0
- package/src/models/Status6eeEnum.ts +16 -0
- package/src/models/Step.ts +14 -0
- package/src/models/StepStatusEnum.ts +14 -0
- package/src/models/StripeCheckoutSessionRequest.ts +2 -2
- package/src/models/{ModeEnum.ts → StripeCheckoutSessionRequestModeEnum.ts} +1 -1
- package/src/models/SttProviderEnum.ts +16 -0
- package/src/models/StudentChatMessage.ts +9 -0
- package/src/models/StylesView.ts +9 -0
- package/src/models/SubSection.ts +14 -0
- package/src/models/SubSectionWithChildren.ts +16 -0
- package/src/models/Subject.ts +10 -0
- package/src/models/Summary.ts +14 -0
- package/src/models/TagsView.ts +10 -0
- package/src/models/TargetSystemEnum.ts +12 -0
- package/src/models/TaskView.ts +8 -0
- package/src/models/TeamsConfig.ts +12 -0
- package/src/models/TeamsWebhook.ts +22 -0
- package/src/models/TemplateMentor.ts +14 -0
- package/src/models/TenantMentorTraces.ts +11 -0
- package/src/models/TenantSetting.ts +10 -0
- package/src/models/ThemeEnum.ts +12 -0
- package/src/models/TicketMessage.ts +15 -0
- package/src/models/TonesView.ts +9 -0
- package/src/models/ToolCategory.ts +10 -0
- package/src/models/ToolResponse.ts +20 -0
- package/src/models/TopicDetail.ts +13 -0
- package/src/models/TopicDetails.ts +10 -0
- package/src/models/TopicModel.ts +8 -0
- package/src/models/TopicRecord.ts +9 -0
- package/src/models/TopicStatistics.ts +12 -0
- package/src/models/TopicStatisticsResponse.ts +11 -0
- package/src/models/TopicSummaryView.ts +9 -0
- package/src/models/TopicsOverview.ts +27 -0
- package/src/models/TopicsOverviewMetric.ts +26 -0
- package/src/models/Trace.ts +22 -0
- package/src/models/TrainChatSessionDocumentView.ts +11 -0
- package/src/models/TrainChatSessionDocumentViewRequest.ts +11 -0
- package/src/models/TrainDocumentViewRequest.ts +87 -0
- package/src/models/TrainDocumentViewResponse.ts +20 -0
- package/src/models/Training.ts +46 -0
- package/src/models/TrainingCreate.ts +36 -0
- package/src/models/TrainingStatusEnum.ts +16 -0
- package/src/models/TransportEnum.ts +14 -0
- package/src/models/TrendEntry.ts +9 -0
- package/src/models/TriggerRequest.ts +10 -0
- package/src/models/TriggerResponse.ts +11 -0
- package/src/models/TtsProviderEnum.ts +14 -0
- package/src/models/TypeC42Enum.ts +12 -0
- package/src/models/Unit.ts +16 -0
- package/src/models/UnitWithChildren.ts +18 -0
- package/src/models/UseMainCreds.ts +8 -0
- package/src/models/UserAllChatMemoryView.ts +12 -0
- package/src/models/UserCatalogItemMemoryView.ts +19 -0
- package/src/models/UserChatByPeriod.ts +9 -0
- package/src/models/UserChatFeedback.ts +20 -0
- package/src/models/UserChatFeedbackCount.ts +9 -0
- package/src/models/UserChatMemoryStatusRequestView.ts +11 -0
- package/src/models/UserChatMemoryStatusView.ts +11 -0
- package/src/models/UserChatMemoryUpdateView.ts +15 -0
- package/src/models/UserCountRecord.ts +9 -0
- package/src/models/UserDetail.ts +12 -0
- package/src/models/UserEdxMemory.ts +20 -0
- package/src/models/UserMemory.ts +23 -0
- package/src/models/UserMemoryContextRequest.ts +18 -0
- package/src/models/UserMemoryContextResponse.ts +17 -0
- package/src/models/UserMemoryEntry.ts +14 -0
- package/src/models/UserMemoryEntryRequest.ts +10 -0
- package/src/models/UserMemoryRequest.ts +17 -0
- package/src/models/UserMetric.ts +9 -0
- package/src/models/UserMetricsResponse.ts +12 -0
- package/src/models/UserSentimentCountView.ts +9 -0
- package/src/models/UserTrendByPeriod.ts +10 -0
- package/src/models/V2GlobalMentorSearchResponse.ts +34 -0
- package/src/models/V2PersonalizedMentorsResponse.ts +34 -0
- package/src/models/V2RecommendationResponse.ts +70 -0
- package/src/models/VectorResult.ts +15 -0
- package/src/models/VeoVideoDetail.ts +15 -0
- package/src/models/VeoVideoList.ts +11 -0
- package/src/models/VeoVideoRequest.ts +10 -0
- package/src/models/VideoCaption.ts +8 -0
- package/src/models/Voice.ts +14 -0
- package/src/models/WebResource.ts +14 -0
- package/src/models/WebResourceCard.ts +12 -0
- package/src/models/WebResourcesQuery.ts +8 -0
- package/src/models/WebexConfig.ts +15 -0
- package/src/models/WebexWebhook.ts +9 -0
- package/src/models/WhatAppWebHook.ts +8 -0
- package/src/models/WhatsappConfig.ts +16 -0
- package/src/models/WhatsappUserConfig.ts +15 -0
- package/src/services/AiAccountService.ts +955 -0
- package/src/services/AiAnalyticsService.ts +12921 -5255
- package/src/services/AiBotService.ts +1350 -0
- package/src/services/AiFinetuningService.ts +472 -0
- package/src/services/AiIndexService.ts +710 -0
- package/src/services/AiMarketingService.ts +96 -0
- package/src/services/AiMediaService.ts +532 -0
- package/src/services/AiMentorService.ts +12552 -0
- package/src/services/AiPromptService.ts +1985 -0
- package/src/services/AiSearchService.ts +742 -0
- package/src/services/AnalyticsService.ts +1234 -177
- package/src/services/SearchService.ts +1459 -398
|
@@ -0,0 +1,955 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { ConnectedService } from '../models/ConnectedService';
|
|
6
|
+
import type { CredentialRequest } from '../models/CredentialRequest';
|
|
7
|
+
import type { IntegrationCredential } from '../models/IntegrationCredential';
|
|
8
|
+
import type { IntegrationCredentialSchema } from '../models/IntegrationCredentialSchema';
|
|
9
|
+
import type { LLMCredentialRequest } from '../models/LLMCredentialRequest';
|
|
10
|
+
import type { LLMCredentialResponse } from '../models/LLMCredentialResponse';
|
|
11
|
+
import type { LLMCredentialSchema } from '../models/LLMCredentialSchema';
|
|
12
|
+
import type { MaskedIntegrationCredential } from '../models/MaskedIntegrationCredential';
|
|
13
|
+
import type { MaskedLLMCredential } from '../models/MaskedLLMCredential';
|
|
14
|
+
import type { OAuthProvider } from '../models/OAuthProvider';
|
|
15
|
+
import type { OAuthService } from '../models/OAuthService';
|
|
16
|
+
import type { OAuthStartResponse } from '../models/OAuthStartResponse';
|
|
17
|
+
import type { PatchedCredentialRequest } from '../models/PatchedCredentialRequest';
|
|
18
|
+
import type { PatchedLLMCredentialRequest } from '../models/PatchedLLMCredentialRequest';
|
|
19
|
+
import type { TenantSetting } from '../models/TenantSetting';
|
|
20
|
+
import type { UseMainCreds } from '../models/UseMainCreds';
|
|
21
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
22
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
23
|
+
import { request as __request } from '../core/request';
|
|
24
|
+
export class AiAccountService {
|
|
25
|
+
/**
|
|
26
|
+
* @returns ConnectedService Callback for the OAuth flow
|
|
27
|
+
* @throws ApiError
|
|
28
|
+
*/
|
|
29
|
+
public static aiAccountConnectedServicesCallbackRetrieve(): CancelablePromise<ConnectedService> {
|
|
30
|
+
return __request(OpenAPI, {
|
|
31
|
+
method: 'GET',
|
|
32
|
+
url: '/api/ai-account/connected-services/callback/',
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
|
|
37
|
+
* @returns ConnectedService
|
|
38
|
+
* @throws ApiError
|
|
39
|
+
*/
|
|
40
|
+
public static aiAccountConnectedServicesOrgsUsersList({
|
|
41
|
+
org,
|
|
42
|
+
userId,
|
|
43
|
+
ordering,
|
|
44
|
+
provider,
|
|
45
|
+
search,
|
|
46
|
+
service,
|
|
47
|
+
}: {
|
|
48
|
+
org: string,
|
|
49
|
+
userId: string,
|
|
50
|
+
/**
|
|
51
|
+
* Which field to use when ordering the results.
|
|
52
|
+
*/
|
|
53
|
+
ordering?: string,
|
|
54
|
+
provider?: string,
|
|
55
|
+
/**
|
|
56
|
+
* A search term.
|
|
57
|
+
*/
|
|
58
|
+
search?: string,
|
|
59
|
+
service?: string,
|
|
60
|
+
}): CancelablePromise<Array<ConnectedService>> {
|
|
61
|
+
return __request(OpenAPI, {
|
|
62
|
+
method: 'GET',
|
|
63
|
+
url: '/api/ai-account/connected-services/orgs/{org}/users/{user_id}/',
|
|
64
|
+
path: {
|
|
65
|
+
'org': org,
|
|
66
|
+
'user_id': userId,
|
|
67
|
+
},
|
|
68
|
+
query: {
|
|
69
|
+
'ordering': ordering,
|
|
70
|
+
'provider': provider,
|
|
71
|
+
'search': search,
|
|
72
|
+
'service': service,
|
|
73
|
+
},
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
|
|
78
|
+
* @returns ConnectedService
|
|
79
|
+
* @throws ApiError
|
|
80
|
+
*/
|
|
81
|
+
public static aiAccountConnectedServicesOrgsUsersRetrieve({
|
|
82
|
+
id,
|
|
83
|
+
org,
|
|
84
|
+
userId,
|
|
85
|
+
}: {
|
|
86
|
+
/**
|
|
87
|
+
* A unique integer value identifying this connected service.
|
|
88
|
+
*/
|
|
89
|
+
id: number,
|
|
90
|
+
org: string,
|
|
91
|
+
userId: string,
|
|
92
|
+
}): CancelablePromise<ConnectedService> {
|
|
93
|
+
return __request(OpenAPI, {
|
|
94
|
+
method: 'GET',
|
|
95
|
+
url: '/api/ai-account/connected-services/orgs/{org}/users/{user_id}/{id}/',
|
|
96
|
+
path: {
|
|
97
|
+
'id': id,
|
|
98
|
+
'org': org,
|
|
99
|
+
'user_id': userId,
|
|
100
|
+
},
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
|
|
105
|
+
* @returns void
|
|
106
|
+
* @throws ApiError
|
|
107
|
+
*/
|
|
108
|
+
public static aiAccountConnectedServicesOrgsUsersDestroy({
|
|
109
|
+
id,
|
|
110
|
+
org,
|
|
111
|
+
userId,
|
|
112
|
+
}: {
|
|
113
|
+
/**
|
|
114
|
+
* A unique integer value identifying this connected service.
|
|
115
|
+
*/
|
|
116
|
+
id: number,
|
|
117
|
+
org: string,
|
|
118
|
+
userId: string,
|
|
119
|
+
}): CancelablePromise<void> {
|
|
120
|
+
return __request(OpenAPI, {
|
|
121
|
+
method: 'DELETE',
|
|
122
|
+
url: '/api/ai-account/connected-services/orgs/{org}/users/{user_id}/{id}/',
|
|
123
|
+
path: {
|
|
124
|
+
'id': id,
|
|
125
|
+
'org': org,
|
|
126
|
+
'user_id': userId,
|
|
127
|
+
},
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
|
|
132
|
+
* @returns OAuthStartResponse Starts the OAuth flow for the given provider and service
|
|
133
|
+
* @throws ApiError
|
|
134
|
+
*/
|
|
135
|
+
public static aiAccountConnectedServicesOrgsUsersRetrieve2({
|
|
136
|
+
org,
|
|
137
|
+
provider,
|
|
138
|
+
service,
|
|
139
|
+
userId,
|
|
140
|
+
}: {
|
|
141
|
+
org: string,
|
|
142
|
+
provider: string,
|
|
143
|
+
service: string,
|
|
144
|
+
userId: string,
|
|
145
|
+
}): CancelablePromise<OAuthStartResponse> {
|
|
146
|
+
return __request(OpenAPI, {
|
|
147
|
+
method: 'GET',
|
|
148
|
+
url: '/api/ai-account/connected-services/orgs/{org}/users/{user_id}/{provider}/{service}/',
|
|
149
|
+
path: {
|
|
150
|
+
'org': org,
|
|
151
|
+
'provider': provider,
|
|
152
|
+
'service': service,
|
|
153
|
+
'user_id': userId,
|
|
154
|
+
},
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Retrieve LLM credentials for an organization.
|
|
159
|
+
*
|
|
160
|
+
* Query Parameters:
|
|
161
|
+
* name (optional): Filter results by LLM provider name
|
|
162
|
+
*
|
|
163
|
+
* Args:
|
|
164
|
+
* request: The HTTP request
|
|
165
|
+
* org: Organization key identifier
|
|
166
|
+
*
|
|
167
|
+
* Returns:
|
|
168
|
+
* Response: List of LLM credentials for the organization
|
|
169
|
+
*
|
|
170
|
+
* Raises:
|
|
171
|
+
* NotFound: When organization is not found or when no credentials match the filters
|
|
172
|
+
* ValidationError: When query parameters are invalid
|
|
173
|
+
* @returns LLMCredentialResponse
|
|
174
|
+
* @throws ApiError
|
|
175
|
+
*/
|
|
176
|
+
public static aiAccountOrgsCredentialRetrieve({
|
|
177
|
+
org,
|
|
178
|
+
name,
|
|
179
|
+
}: {
|
|
180
|
+
org: string,
|
|
181
|
+
/**
|
|
182
|
+
* Filter credentials by provider name (e.g., 'openai', 'google')
|
|
183
|
+
*/
|
|
184
|
+
name?: string,
|
|
185
|
+
}): CancelablePromise<LLMCredentialResponse> {
|
|
186
|
+
return __request(OpenAPI, {
|
|
187
|
+
method: 'GET',
|
|
188
|
+
url: '/api/ai-account/orgs/{org}/credential/',
|
|
189
|
+
path: {
|
|
190
|
+
'org': org,
|
|
191
|
+
},
|
|
192
|
+
query: {
|
|
193
|
+
'name': name,
|
|
194
|
+
},
|
|
195
|
+
});
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* Create a new LLM credential for an organization.
|
|
199
|
+
*
|
|
200
|
+
* Args:
|
|
201
|
+
* request: The HTTP request containing credential information
|
|
202
|
+
* org: Organization key identifier
|
|
203
|
+
*
|
|
204
|
+
* Returns:
|
|
205
|
+
* Response: Created LLM credential
|
|
206
|
+
*
|
|
207
|
+
* Raises:
|
|
208
|
+
* NotFound: When organization is not found
|
|
209
|
+
* ValidationError: When request data is invalid
|
|
210
|
+
* @returns LLMCredentialResponse
|
|
211
|
+
* @throws ApiError
|
|
212
|
+
*/
|
|
213
|
+
public static aiAccountOrgsCredentialCreate({
|
|
214
|
+
org,
|
|
215
|
+
requestBody,
|
|
216
|
+
}: {
|
|
217
|
+
org: string,
|
|
218
|
+
requestBody: LLMCredentialRequest,
|
|
219
|
+
}): CancelablePromise<LLMCredentialResponse> {
|
|
220
|
+
return __request(OpenAPI, {
|
|
221
|
+
method: 'POST',
|
|
222
|
+
url: '/api/ai-account/orgs/{org}/credential/',
|
|
223
|
+
path: {
|
|
224
|
+
'org': org,
|
|
225
|
+
},
|
|
226
|
+
body: requestBody,
|
|
227
|
+
mediaType: 'application/json',
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* Update an existing LLM credential for an organization.
|
|
232
|
+
*
|
|
233
|
+
* Args:
|
|
234
|
+
* request: The HTTP request containing updated credential information
|
|
235
|
+
* org: Organization key identifier
|
|
236
|
+
*
|
|
237
|
+
* Returns:
|
|
238
|
+
* Response: Updated LLM credential
|
|
239
|
+
*
|
|
240
|
+
* Raises:
|
|
241
|
+
* NotFound: When organization or credential is not found
|
|
242
|
+
* ValidationError: When request data is invalid
|
|
243
|
+
* @returns LLMCredentialResponse
|
|
244
|
+
* @throws ApiError
|
|
245
|
+
*/
|
|
246
|
+
public static aiAccountOrgsCredentialPartialUpdate({
|
|
247
|
+
org,
|
|
248
|
+
requestBody,
|
|
249
|
+
}: {
|
|
250
|
+
org: string,
|
|
251
|
+
requestBody?: PatchedLLMCredentialRequest,
|
|
252
|
+
}): CancelablePromise<LLMCredentialResponse> {
|
|
253
|
+
return __request(OpenAPI, {
|
|
254
|
+
method: 'PATCH',
|
|
255
|
+
url: '/api/ai-account/orgs/{org}/credential/',
|
|
256
|
+
path: {
|
|
257
|
+
'org': org,
|
|
258
|
+
},
|
|
259
|
+
body: requestBody,
|
|
260
|
+
mediaType: 'application/json',
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* Delete an existing LLM credential for an organization.
|
|
265
|
+
*
|
|
266
|
+
* Args:
|
|
267
|
+
* request: The HTTP request containing credential information (must include 'name')
|
|
268
|
+
* org: Organization key identifier
|
|
269
|
+
*
|
|
270
|
+
* Returns:
|
|
271
|
+
* Response: 204
|
|
272
|
+
*
|
|
273
|
+
* Raises:
|
|
274
|
+
* NotFound: When organization or credential is not found
|
|
275
|
+
* ValidationError: When request data is invalid
|
|
276
|
+
* @returns void
|
|
277
|
+
* @throws ApiError
|
|
278
|
+
*/
|
|
279
|
+
public static aiAccountOrgsCredentialDestroy({
|
|
280
|
+
org,
|
|
281
|
+
}: {
|
|
282
|
+
org: string,
|
|
283
|
+
}): CancelablePromise<void> {
|
|
284
|
+
return __request(OpenAPI, {
|
|
285
|
+
method: 'DELETE',
|
|
286
|
+
url: '/api/ai-account/orgs/{org}/credential/',
|
|
287
|
+
path: {
|
|
288
|
+
'org': org,
|
|
289
|
+
},
|
|
290
|
+
});
|
|
291
|
+
}
|
|
292
|
+
/**
|
|
293
|
+
* Retrieve LLM credentials schemas.
|
|
294
|
+
*
|
|
295
|
+
* Query Parameters:
|
|
296
|
+
* name (optional): Filter results by LLM service name
|
|
297
|
+
*
|
|
298
|
+
* Args:
|
|
299
|
+
* request: The HTTP request
|
|
300
|
+
* org: Organization key identifier
|
|
301
|
+
*
|
|
302
|
+
* Returns:
|
|
303
|
+
* Response: List of integration credentials schema available.
|
|
304
|
+
*
|
|
305
|
+
* Raises:
|
|
306
|
+
* NotFound: When no credentials match the filters
|
|
307
|
+
* ValidationError: When query parameters are invalid
|
|
308
|
+
* @returns LLMCredentialSchema
|
|
309
|
+
* @throws ApiError
|
|
310
|
+
*/
|
|
311
|
+
public static aiAccountOrgsCredentialSchemaRetrieve({
|
|
312
|
+
org,
|
|
313
|
+
name,
|
|
314
|
+
}: {
|
|
315
|
+
org: string,
|
|
316
|
+
/**
|
|
317
|
+
* Filter credentials by provider name (e.g., 'openai', 'google')
|
|
318
|
+
*/
|
|
319
|
+
name?: string,
|
|
320
|
+
}): CancelablePromise<LLMCredentialSchema> {
|
|
321
|
+
return __request(OpenAPI, {
|
|
322
|
+
method: 'GET',
|
|
323
|
+
url: '/api/ai-account/orgs/{org}/credential/schema/',
|
|
324
|
+
path: {
|
|
325
|
+
'org': org,
|
|
326
|
+
},
|
|
327
|
+
query: {
|
|
328
|
+
'name': name,
|
|
329
|
+
},
|
|
330
|
+
});
|
|
331
|
+
}
|
|
332
|
+
/**
|
|
333
|
+
* Retrieve integration credentials for an organization.
|
|
334
|
+
*
|
|
335
|
+
* Query Parameters:
|
|
336
|
+
* name (optional): Filter results by integration service name
|
|
337
|
+
*
|
|
338
|
+
* Args:
|
|
339
|
+
* request: The HTTP request
|
|
340
|
+
* org: Organization key identifier
|
|
341
|
+
*
|
|
342
|
+
* Returns:
|
|
343
|
+
* Response: List of integration credentials for the organization
|
|
344
|
+
*
|
|
345
|
+
* Raises:
|
|
346
|
+
* NotFound: When organization is not found or when no credentials match the filters
|
|
347
|
+
* ValidationError: When query parameters are invalid
|
|
348
|
+
* @returns IntegrationCredential
|
|
349
|
+
* @throws ApiError
|
|
350
|
+
*/
|
|
351
|
+
public static aiAccountOrgsIntegrationCredentialRetrieve({
|
|
352
|
+
org,
|
|
353
|
+
name,
|
|
354
|
+
}: {
|
|
355
|
+
org: string,
|
|
356
|
+
/**
|
|
357
|
+
* Filter credentials by provider name (e.g., 'openai', 'google')
|
|
358
|
+
*/
|
|
359
|
+
name?: string,
|
|
360
|
+
}): CancelablePromise<IntegrationCredential> {
|
|
361
|
+
return __request(OpenAPI, {
|
|
362
|
+
method: 'GET',
|
|
363
|
+
url: '/api/ai-account/orgs/{org}/integration-credential/',
|
|
364
|
+
path: {
|
|
365
|
+
'org': org,
|
|
366
|
+
},
|
|
367
|
+
query: {
|
|
368
|
+
'name': name,
|
|
369
|
+
},
|
|
370
|
+
});
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* Create a new integration credential for an organization.
|
|
374
|
+
*
|
|
375
|
+
* Args:
|
|
376
|
+
* request: The HTTP request containing credential information
|
|
377
|
+
* org: Organization key identifier
|
|
378
|
+
*
|
|
379
|
+
* Returns:
|
|
380
|
+
* Response: Created integration credential
|
|
381
|
+
*
|
|
382
|
+
* Raises:
|
|
383
|
+
* NotFound: When organization is not found
|
|
384
|
+
* ValidationError: When request data is invalid
|
|
385
|
+
* @returns IntegrationCredential
|
|
386
|
+
* @throws ApiError
|
|
387
|
+
*/
|
|
388
|
+
public static aiAccountOrgsIntegrationCredentialCreate({
|
|
389
|
+
org,
|
|
390
|
+
requestBody,
|
|
391
|
+
}: {
|
|
392
|
+
org: string,
|
|
393
|
+
requestBody: CredentialRequest,
|
|
394
|
+
}): CancelablePromise<IntegrationCredential> {
|
|
395
|
+
return __request(OpenAPI, {
|
|
396
|
+
method: 'POST',
|
|
397
|
+
url: '/api/ai-account/orgs/{org}/integration-credential/',
|
|
398
|
+
path: {
|
|
399
|
+
'org': org,
|
|
400
|
+
},
|
|
401
|
+
body: requestBody,
|
|
402
|
+
mediaType: 'application/json',
|
|
403
|
+
});
|
|
404
|
+
}
|
|
405
|
+
/**
|
|
406
|
+
* Update an existing integration credential for an organization.
|
|
407
|
+
*
|
|
408
|
+
* Args:
|
|
409
|
+
* request: The HTTP request containing updated credential information
|
|
410
|
+
* org: Organization key identifier
|
|
411
|
+
*
|
|
412
|
+
* Returns:
|
|
413
|
+
* Response: Updated integration credential
|
|
414
|
+
*
|
|
415
|
+
* Raises:
|
|
416
|
+
* NotFound: When organization or credential is not found
|
|
417
|
+
* ValidationError: When request data is invalid
|
|
418
|
+
* @returns IntegrationCredential
|
|
419
|
+
* @throws ApiError
|
|
420
|
+
*/
|
|
421
|
+
public static aiAccountOrgsIntegrationCredentialPartialUpdate({
|
|
422
|
+
org,
|
|
423
|
+
requestBody,
|
|
424
|
+
}: {
|
|
425
|
+
org: string,
|
|
426
|
+
requestBody?: PatchedCredentialRequest,
|
|
427
|
+
}): CancelablePromise<IntegrationCredential> {
|
|
428
|
+
return __request(OpenAPI, {
|
|
429
|
+
method: 'PATCH',
|
|
430
|
+
url: '/api/ai-account/orgs/{org}/integration-credential/',
|
|
431
|
+
path: {
|
|
432
|
+
'org': org,
|
|
433
|
+
},
|
|
434
|
+
body: requestBody,
|
|
435
|
+
mediaType: 'application/json',
|
|
436
|
+
});
|
|
437
|
+
}
|
|
438
|
+
/**
|
|
439
|
+
* Delete an existing integration credential for an organization.
|
|
440
|
+
*
|
|
441
|
+
* Args:
|
|
442
|
+
* request: The HTTP request containing credential information (must include 'name')
|
|
443
|
+
* org: Organization key identifier
|
|
444
|
+
*
|
|
445
|
+
* Returns:
|
|
446
|
+
* Response: 204
|
|
447
|
+
*
|
|
448
|
+
* Raises:
|
|
449
|
+
* NotFound: When organization or credential is not found
|
|
450
|
+
* ValidationError: When request data is invalid
|
|
451
|
+
* @returns void
|
|
452
|
+
* @throws ApiError
|
|
453
|
+
*/
|
|
454
|
+
public static aiAccountOrgsIntegrationCredentialDestroy({
|
|
455
|
+
org,
|
|
456
|
+
}: {
|
|
457
|
+
org: string,
|
|
458
|
+
}): CancelablePromise<void> {
|
|
459
|
+
return __request(OpenAPI, {
|
|
460
|
+
method: 'DELETE',
|
|
461
|
+
url: '/api/ai-account/orgs/{org}/integration-credential/',
|
|
462
|
+
path: {
|
|
463
|
+
'org': org,
|
|
464
|
+
},
|
|
465
|
+
});
|
|
466
|
+
}
|
|
467
|
+
/**
|
|
468
|
+
* Retrieve integration credentials schema for.
|
|
469
|
+
*
|
|
470
|
+
* Query Parameters:
|
|
471
|
+
* name (optional): Filter results by integration service name
|
|
472
|
+
*
|
|
473
|
+
* Args:
|
|
474
|
+
* request: The HTTP request
|
|
475
|
+
* org: Organization key identifier
|
|
476
|
+
*
|
|
477
|
+
* Returns:
|
|
478
|
+
* Response: List of integration credentials schema available.
|
|
479
|
+
*
|
|
480
|
+
* Raises:
|
|
481
|
+
* NotFound: When no credentials match the filters
|
|
482
|
+
* ValidationError: When query parameters are invalid
|
|
483
|
+
* @returns IntegrationCredentialSchema
|
|
484
|
+
* @throws ApiError
|
|
485
|
+
*/
|
|
486
|
+
public static aiAccountOrgsIntegrationCredentialSchemaRetrieve({
|
|
487
|
+
org,
|
|
488
|
+
name,
|
|
489
|
+
}: {
|
|
490
|
+
org: string,
|
|
491
|
+
/**
|
|
492
|
+
* Filter credentials by provider name (e.g., 'openai', 'google')
|
|
493
|
+
*/
|
|
494
|
+
name?: string,
|
|
495
|
+
}): CancelablePromise<IntegrationCredentialSchema> {
|
|
496
|
+
return __request(OpenAPI, {
|
|
497
|
+
method: 'GET',
|
|
498
|
+
url: '/api/ai-account/orgs/{org}/integration-credential/schema/',
|
|
499
|
+
path: {
|
|
500
|
+
'org': org,
|
|
501
|
+
},
|
|
502
|
+
query: {
|
|
503
|
+
'name': name,
|
|
504
|
+
},
|
|
505
|
+
});
|
|
506
|
+
}
|
|
507
|
+
/**
|
|
508
|
+
* Retrieve LLM credentials for an organization.
|
|
509
|
+
*
|
|
510
|
+
* Query Parameters:
|
|
511
|
+
* name (optional): Filter results by LLM provider name
|
|
512
|
+
*
|
|
513
|
+
* Args:
|
|
514
|
+
* request: The HTTP request
|
|
515
|
+
* org: Organization key identifier
|
|
516
|
+
*
|
|
517
|
+
* Returns:
|
|
518
|
+
* Response: List of LLM credentials for the organization
|
|
519
|
+
*
|
|
520
|
+
* Raises:
|
|
521
|
+
* NotFound: When organization is not found or when no credentials match the filters
|
|
522
|
+
* ValidationError: When query parameters are invalid
|
|
523
|
+
* @returns LLMCredentialResponse
|
|
524
|
+
* @throws ApiError
|
|
525
|
+
*/
|
|
526
|
+
public static aiAccountOrgsLlmCredentialRetrieve({
|
|
527
|
+
org,
|
|
528
|
+
name,
|
|
529
|
+
}: {
|
|
530
|
+
org: string,
|
|
531
|
+
/**
|
|
532
|
+
* Filter credentials by provider name (e.g., 'openai', 'google')
|
|
533
|
+
*/
|
|
534
|
+
name?: string,
|
|
535
|
+
}): CancelablePromise<LLMCredentialResponse> {
|
|
536
|
+
return __request(OpenAPI, {
|
|
537
|
+
method: 'GET',
|
|
538
|
+
url: '/api/ai-account/orgs/{org}/llm-credential/',
|
|
539
|
+
path: {
|
|
540
|
+
'org': org,
|
|
541
|
+
},
|
|
542
|
+
query: {
|
|
543
|
+
'name': name,
|
|
544
|
+
},
|
|
545
|
+
});
|
|
546
|
+
}
|
|
547
|
+
/**
|
|
548
|
+
* Create a new LLM credential for an organization.
|
|
549
|
+
*
|
|
550
|
+
* Args:
|
|
551
|
+
* request: The HTTP request containing credential information
|
|
552
|
+
* org: Organization key identifier
|
|
553
|
+
*
|
|
554
|
+
* Returns:
|
|
555
|
+
* Response: Created LLM credential
|
|
556
|
+
*
|
|
557
|
+
* Raises:
|
|
558
|
+
* NotFound: When organization is not found
|
|
559
|
+
* ValidationError: When request data is invalid
|
|
560
|
+
* @returns LLMCredentialResponse
|
|
561
|
+
* @throws ApiError
|
|
562
|
+
*/
|
|
563
|
+
public static aiAccountOrgsLlmCredentialCreate({
|
|
564
|
+
org,
|
|
565
|
+
requestBody,
|
|
566
|
+
}: {
|
|
567
|
+
org: string,
|
|
568
|
+
requestBody: LLMCredentialRequest,
|
|
569
|
+
}): CancelablePromise<LLMCredentialResponse> {
|
|
570
|
+
return __request(OpenAPI, {
|
|
571
|
+
method: 'POST',
|
|
572
|
+
url: '/api/ai-account/orgs/{org}/llm-credential/',
|
|
573
|
+
path: {
|
|
574
|
+
'org': org,
|
|
575
|
+
},
|
|
576
|
+
body: requestBody,
|
|
577
|
+
mediaType: 'application/json',
|
|
578
|
+
});
|
|
579
|
+
}
|
|
580
|
+
/**
|
|
581
|
+
* Update an existing LLM credential for an organization.
|
|
582
|
+
*
|
|
583
|
+
* Args:
|
|
584
|
+
* request: The HTTP request containing updated credential information
|
|
585
|
+
* org: Organization key identifier
|
|
586
|
+
*
|
|
587
|
+
* Returns:
|
|
588
|
+
* Response: Updated LLM credential
|
|
589
|
+
*
|
|
590
|
+
* Raises:
|
|
591
|
+
* NotFound: When organization or credential is not found
|
|
592
|
+
* ValidationError: When request data is invalid
|
|
593
|
+
* @returns LLMCredentialResponse
|
|
594
|
+
* @throws ApiError
|
|
595
|
+
*/
|
|
596
|
+
public static aiAccountOrgsLlmCredentialPartialUpdate({
|
|
597
|
+
org,
|
|
598
|
+
requestBody,
|
|
599
|
+
}: {
|
|
600
|
+
org: string,
|
|
601
|
+
requestBody?: PatchedLLMCredentialRequest,
|
|
602
|
+
}): CancelablePromise<LLMCredentialResponse> {
|
|
603
|
+
return __request(OpenAPI, {
|
|
604
|
+
method: 'PATCH',
|
|
605
|
+
url: '/api/ai-account/orgs/{org}/llm-credential/',
|
|
606
|
+
path: {
|
|
607
|
+
'org': org,
|
|
608
|
+
},
|
|
609
|
+
body: requestBody,
|
|
610
|
+
mediaType: 'application/json',
|
|
611
|
+
});
|
|
612
|
+
}
|
|
613
|
+
/**
|
|
614
|
+
* Delete an existing LLM credential for an organization.
|
|
615
|
+
*
|
|
616
|
+
* Args:
|
|
617
|
+
* request: The HTTP request containing credential information (must include 'name')
|
|
618
|
+
* org: Organization key identifier
|
|
619
|
+
*
|
|
620
|
+
* Returns:
|
|
621
|
+
* Response: 204
|
|
622
|
+
*
|
|
623
|
+
* Raises:
|
|
624
|
+
* NotFound: When organization or credential is not found
|
|
625
|
+
* ValidationError: When request data is invalid
|
|
626
|
+
* @returns void
|
|
627
|
+
* @throws ApiError
|
|
628
|
+
*/
|
|
629
|
+
public static aiAccountOrgsLlmCredentialDestroy({
|
|
630
|
+
org,
|
|
631
|
+
}: {
|
|
632
|
+
org: string,
|
|
633
|
+
}): CancelablePromise<void> {
|
|
634
|
+
return __request(OpenAPI, {
|
|
635
|
+
method: 'DELETE',
|
|
636
|
+
url: '/api/ai-account/orgs/{org}/llm-credential/',
|
|
637
|
+
path: {
|
|
638
|
+
'org': org,
|
|
639
|
+
},
|
|
640
|
+
});
|
|
641
|
+
}
|
|
642
|
+
/**
|
|
643
|
+
* Retrieve masked integration credentials for an organization.
|
|
644
|
+
*
|
|
645
|
+
* Query Parameters:
|
|
646
|
+
* name (optional): Filter results by integration service name
|
|
647
|
+
*
|
|
648
|
+
* Args:
|
|
649
|
+
* request: The HTTP request
|
|
650
|
+
* org: Organization key identifier
|
|
651
|
+
*
|
|
652
|
+
* Returns:
|
|
653
|
+
* Response: List of integration credentials for the organization
|
|
654
|
+
*
|
|
655
|
+
* Raises:
|
|
656
|
+
* NotFound: When organization is not found or when no credentials match the filters
|
|
657
|
+
* ValidationError: When query parameters are invalid
|
|
658
|
+
* @returns MaskedIntegrationCredential
|
|
659
|
+
* @throws ApiError
|
|
660
|
+
*/
|
|
661
|
+
public static aiAccountOrgsMaskedIntegrationCredentialList({
|
|
662
|
+
org,
|
|
663
|
+
name,
|
|
664
|
+
}: {
|
|
665
|
+
org: string,
|
|
666
|
+
/**
|
|
667
|
+
* Filter credentials by provider name (e.g., 'openai', 'google')
|
|
668
|
+
*/
|
|
669
|
+
name?: string,
|
|
670
|
+
}): CancelablePromise<Array<MaskedIntegrationCredential>> {
|
|
671
|
+
return __request(OpenAPI, {
|
|
672
|
+
method: 'GET',
|
|
673
|
+
url: '/api/ai-account/orgs/{org}/masked-integration-credential/',
|
|
674
|
+
path: {
|
|
675
|
+
'org': org,
|
|
676
|
+
},
|
|
677
|
+
query: {
|
|
678
|
+
'name': name,
|
|
679
|
+
},
|
|
680
|
+
});
|
|
681
|
+
}
|
|
682
|
+
/**
|
|
683
|
+
* Retrieve LLM credentials for an organization with the value entries masked.
|
|
684
|
+
*
|
|
685
|
+
* Query Parameters:
|
|
686
|
+
* name (optional): Filter results by LLM provider name
|
|
687
|
+
*
|
|
688
|
+
* Args:
|
|
689
|
+
* request: The HTTP request
|
|
690
|
+
* org: Organization key identifier
|
|
691
|
+
*
|
|
692
|
+
* Returns:
|
|
693
|
+
* Response: List of LLM credentials for the organization
|
|
694
|
+
*
|
|
695
|
+
* Raises:
|
|
696
|
+
* NotFound: When organization is not found or when no credentials match the filters
|
|
697
|
+
* ValidationError: When query parameters are invalid
|
|
698
|
+
* @returns MaskedLLMCredential
|
|
699
|
+
* @throws ApiError
|
|
700
|
+
*/
|
|
701
|
+
public static aiAccountOrgsMaskedLlmCredentialRetrieve({
|
|
702
|
+
org,
|
|
703
|
+
name,
|
|
704
|
+
}: {
|
|
705
|
+
org: string,
|
|
706
|
+
/**
|
|
707
|
+
* Filter credentials by provider name (e.g., 'openai', 'google')
|
|
708
|
+
*/
|
|
709
|
+
name?: string,
|
|
710
|
+
}): CancelablePromise<MaskedLLMCredential> {
|
|
711
|
+
return __request(OpenAPI, {
|
|
712
|
+
method: 'GET',
|
|
713
|
+
url: '/api/ai-account/orgs/{org}/masked-llm-credential/',
|
|
714
|
+
path: {
|
|
715
|
+
'org': org,
|
|
716
|
+
},
|
|
717
|
+
query: {
|
|
718
|
+
'name': name,
|
|
719
|
+
},
|
|
720
|
+
});
|
|
721
|
+
}
|
|
722
|
+
/**
|
|
723
|
+
* Return the list of OAuth services that can be used for connected services.
|
|
724
|
+
*
|
|
725
|
+
* Query Parameters:
|
|
726
|
+
* name (optional): Filter by exact service name (case-insensitive).
|
|
727
|
+
* include_disabled (optional): Set to `true` to include disabled services.
|
|
728
|
+
* @returns OAuthProvider
|
|
729
|
+
* @throws ApiError
|
|
730
|
+
*/
|
|
731
|
+
public static aiAccountOrgsOauthServicesList({
|
|
732
|
+
org,
|
|
733
|
+
}: {
|
|
734
|
+
org: string,
|
|
735
|
+
}): CancelablePromise<Array<OAuthProvider>> {
|
|
736
|
+
return __request(OpenAPI, {
|
|
737
|
+
method: 'GET',
|
|
738
|
+
url: '/api/ai-account/orgs/{org}/oauth-services/',
|
|
739
|
+
path: {
|
|
740
|
+
'org': org,
|
|
741
|
+
},
|
|
742
|
+
});
|
|
743
|
+
}
|
|
744
|
+
/**
|
|
745
|
+
* Return the available scopes for the specified OAuth service.
|
|
746
|
+
*
|
|
747
|
+
* Query Parameters:
|
|
748
|
+
* include_disabled (optional): Set to `true` to include scopes from disabled services.
|
|
749
|
+
* @returns OAuthService
|
|
750
|
+
* @throws ApiError
|
|
751
|
+
*/
|
|
752
|
+
public static aiAccountOrgsOauthServicesScopesList({
|
|
753
|
+
org,
|
|
754
|
+
serviceName,
|
|
755
|
+
}: {
|
|
756
|
+
org: string,
|
|
757
|
+
serviceName: string,
|
|
758
|
+
}): CancelablePromise<Array<OAuthService>> {
|
|
759
|
+
return __request(OpenAPI, {
|
|
760
|
+
method: 'GET',
|
|
761
|
+
url: '/api/ai-account/orgs/{org}/oauth-services/{service_name}/scopes/',
|
|
762
|
+
path: {
|
|
763
|
+
'org': org,
|
|
764
|
+
'service_name': serviceName,
|
|
765
|
+
},
|
|
766
|
+
});
|
|
767
|
+
}
|
|
768
|
+
/**
|
|
769
|
+
* Enable or disable the use of main LLM credentials for an organization.
|
|
770
|
+
*
|
|
771
|
+
* Request Body:
|
|
772
|
+
* enable (boolean): Set to true to enable main credentials
|
|
773
|
+
* disable (boolean): Set to true to disable main credentials
|
|
774
|
+
*
|
|
775
|
+
* Args:
|
|
776
|
+
* request: The HTTP request
|
|
777
|
+
* org: Organization key identifier
|
|
778
|
+
*
|
|
779
|
+
* Returns:
|
|
780
|
+
* Response: Confirmation message
|
|
781
|
+
*
|
|
782
|
+
* Raises:
|
|
783
|
+
* ValidationError: When neither enable nor disable is specified
|
|
784
|
+
* @returns any
|
|
785
|
+
* @throws ApiError
|
|
786
|
+
*/
|
|
787
|
+
public static aiAccountOrgsUseDefaultLlmKeyCreate({
|
|
788
|
+
org,
|
|
789
|
+
requestBody,
|
|
790
|
+
}: {
|
|
791
|
+
org: string,
|
|
792
|
+
requestBody: UseMainCreds,
|
|
793
|
+
}): CancelablePromise<{
|
|
794
|
+
message?: string;
|
|
795
|
+
}> {
|
|
796
|
+
return __request(OpenAPI, {
|
|
797
|
+
method: 'POST',
|
|
798
|
+
url: '/api/ai-account/orgs/{org}/use-default-llm-key/',
|
|
799
|
+
path: {
|
|
800
|
+
'org': org,
|
|
801
|
+
},
|
|
802
|
+
body: requestBody,
|
|
803
|
+
mediaType: 'application/json',
|
|
804
|
+
});
|
|
805
|
+
}
|
|
806
|
+
/**
|
|
807
|
+
* Enable, disable, or update free trial settings for an organization.
|
|
808
|
+
*
|
|
809
|
+
* Request Body:
|
|
810
|
+
* enable (boolean): Set to true to enable free trial
|
|
811
|
+
* disable (boolean): Set to true to disable free trial
|
|
812
|
+
* metadata (object, optional): Additional metadata for the free trial
|
|
813
|
+
*
|
|
814
|
+
* Args:
|
|
815
|
+
* request: The HTTP request
|
|
816
|
+
* org: Organization key identifier
|
|
817
|
+
*
|
|
818
|
+
* Returns:
|
|
819
|
+
* Response: Confirmation message
|
|
820
|
+
* @returns any No response body
|
|
821
|
+
* @throws ApiError
|
|
822
|
+
*/
|
|
823
|
+
public static aiAccountOrgsUseFreeTrialCreate({
|
|
824
|
+
org,
|
|
825
|
+
}: {
|
|
826
|
+
org: string,
|
|
827
|
+
}): CancelablePromise<any> {
|
|
828
|
+
return __request(OpenAPI, {
|
|
829
|
+
method: 'POST',
|
|
830
|
+
url: '/api/ai-account/orgs/{org}/use-free-trial/',
|
|
831
|
+
path: {
|
|
832
|
+
'org': org,
|
|
833
|
+
},
|
|
834
|
+
});
|
|
835
|
+
}
|
|
836
|
+
/**
|
|
837
|
+
* Retrieve the status of main LLM credential usage for an organization.
|
|
838
|
+
*
|
|
839
|
+
* Args:
|
|
840
|
+
* request: The HTTP request
|
|
841
|
+
* org: Organization key identifier
|
|
842
|
+
* user_id: User identifier
|
|
843
|
+
*
|
|
844
|
+
* Returns:
|
|
845
|
+
* Response: Status of main LLM credential usage
|
|
846
|
+
* @returns any No response body
|
|
847
|
+
* @throws ApiError
|
|
848
|
+
*/
|
|
849
|
+
public static aiAccountOrgsUsersDefaultLlmKeyUsageRetrieve({
|
|
850
|
+
org,
|
|
851
|
+
userId,
|
|
852
|
+
}: {
|
|
853
|
+
org: string,
|
|
854
|
+
userId: string,
|
|
855
|
+
}): CancelablePromise<any> {
|
|
856
|
+
return __request(OpenAPI, {
|
|
857
|
+
method: 'GET',
|
|
858
|
+
url: '/api/ai-account/orgs/{org}/users/{user_id}/default-llm-key-usage',
|
|
859
|
+
path: {
|
|
860
|
+
'org': org,
|
|
861
|
+
'user_id': userId,
|
|
862
|
+
},
|
|
863
|
+
});
|
|
864
|
+
}
|
|
865
|
+
/**
|
|
866
|
+
* Retrieve the free trial status for an organization.
|
|
867
|
+
*
|
|
868
|
+
* Args:
|
|
869
|
+
* request: The HTTP request
|
|
870
|
+
* org: Organization key identifier
|
|
871
|
+
*
|
|
872
|
+
* Returns:
|
|
873
|
+
* Response: Free trial status (boolean)
|
|
874
|
+
*
|
|
875
|
+
* Raises:
|
|
876
|
+
* NotFound: When organization is not found
|
|
877
|
+
* @returns any
|
|
878
|
+
* @throws ApiError
|
|
879
|
+
*/
|
|
880
|
+
public static aiAccountOrgsUsersFreeTrialRetrieve({
|
|
881
|
+
org,
|
|
882
|
+
userId,
|
|
883
|
+
}: {
|
|
884
|
+
org: string,
|
|
885
|
+
userId: string,
|
|
886
|
+
}): CancelablePromise<{
|
|
887
|
+
is_in_free_trial?: boolean;
|
|
888
|
+
}> {
|
|
889
|
+
return __request(OpenAPI, {
|
|
890
|
+
method: 'GET',
|
|
891
|
+
url: '/api/ai-account/orgs/{org}/users/{user_id}/free-trial',
|
|
892
|
+
path: {
|
|
893
|
+
'org': org,
|
|
894
|
+
'user_id': userId,
|
|
895
|
+
},
|
|
896
|
+
});
|
|
897
|
+
}
|
|
898
|
+
/**
|
|
899
|
+
* Get a platform's settings
|
|
900
|
+
*
|
|
901
|
+
* Example response:
|
|
902
|
+
* ```
|
|
903
|
+
* {"teams_bot_mentor": "f2116cf2-95c7-4c1f-b19e-666ad529439f"}
|
|
904
|
+
*
|
|
905
|
+
* ```
|
|
906
|
+
* @returns TenantSetting
|
|
907
|
+
* @throws ApiError
|
|
908
|
+
*/
|
|
909
|
+
public static aiAccountOrgsUsersTenantSettingsRetrieve({
|
|
910
|
+
org,
|
|
911
|
+
userId,
|
|
912
|
+
}: {
|
|
913
|
+
org: string,
|
|
914
|
+
userId: string,
|
|
915
|
+
}): CancelablePromise<TenantSetting> {
|
|
916
|
+
return __request(OpenAPI, {
|
|
917
|
+
method: 'GET',
|
|
918
|
+
url: '/api/ai-account/orgs/{org}/users/{user_id}/tenant-settings/',
|
|
919
|
+
path: {
|
|
920
|
+
'org': org,
|
|
921
|
+
'user_id': userId,
|
|
922
|
+
},
|
|
923
|
+
});
|
|
924
|
+
}
|
|
925
|
+
/**
|
|
926
|
+
* Example Request:
|
|
927
|
+
*
|
|
928
|
+
* ```
|
|
929
|
+
* {"teams_bot_mentor": "f2116cf2-95c7-4c1f-b19e-666ad529439f"}
|
|
930
|
+
* ```
|
|
931
|
+
* The value here is the mentor's unique id
|
|
932
|
+
* @returns TenantSetting
|
|
933
|
+
* @throws ApiError
|
|
934
|
+
*/
|
|
935
|
+
public static aiAccountOrgsUsersTenantSettingsCreate({
|
|
936
|
+
org,
|
|
937
|
+
userId,
|
|
938
|
+
requestBody,
|
|
939
|
+
}: {
|
|
940
|
+
org: string,
|
|
941
|
+
userId: string,
|
|
942
|
+
requestBody?: TenantSetting,
|
|
943
|
+
}): CancelablePromise<TenantSetting> {
|
|
944
|
+
return __request(OpenAPI, {
|
|
945
|
+
method: 'POST',
|
|
946
|
+
url: '/api/ai-account/orgs/{org}/users/{user_id}/tenant-settings/',
|
|
947
|
+
path: {
|
|
948
|
+
'org': org,
|
|
949
|
+
'user_id': userId,
|
|
950
|
+
},
|
|
951
|
+
body: requestBody,
|
|
952
|
+
mediaType: 'application/json',
|
|
953
|
+
});
|
|
954
|
+
}
|
|
955
|
+
}
|