@iblai/iblai-api 2025.11.18-teams-bot-renovation-ai → 2025.11.20-memory-pagination-fix-test-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 +3404 -25651
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3405 -25643
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +3404 -25651
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +1 -430
- package/dist/types/models/{StripeCheckoutSessionRequestModeEnum.d.ts → ModeEnum.d.ts} +1 -1
- package/dist/types/models/Pagination.d.ts +11 -16
- package/dist/types/models/StripeCheckoutSessionRequest.d.ts +2 -2
- package/dist/types/services/AiAnalyticsService.d.ts +26 -4698
- package/dist/types/services/AnalyticsService.d.ts +4 -709
- package/dist/types/services/SearchService.d.ts +0 -738
- package/package.json +1 -1
- package/sdk_schema.yml +24105 -72576
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +1 -430
- package/src/models/{StripeCheckoutSessionRequestModeEnum.ts → ModeEnum.ts} +1 -1
- package/src/models/Pagination.ts +11 -16
- package/src/models/StripeCheckoutSessionRequest.ts +2 -2
- package/src/services/AiAnalyticsService.ts +5255 -12921
- package/src/services/AnalyticsService.ts +177 -1234
- package/src/services/SearchService.ts +398 -1459
- 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/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 -64
- package/dist/types/models/ArtifactList.d.ts +0 -45
- package/dist/types/models/ArtifactVersion.d.ts +0 -36
- package/dist/types/models/ArtifactVersionList.d.ts +0 -35
- 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/AuthTypeEnum.d.ts +0 -10
- package/dist/types/models/AutoMemoryPrompt.d.ts +0 -4
- 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 -26
- package/dist/types/models/CallConfigurationModeEnum.d.ts +0 -8
- package/dist/types/models/ChatHistory.d.ts +0 -9
- package/dist/types/models/ChatHistoryFilterData.d.ts +0 -9
- package/dist/types/models/ChatHistoryFilterUser.d.ts +0 -5
- package/dist/types/models/ChatHistoryItem.d.ts +0 -5
- package/dist/types/models/ChatHistorySessionId.d.ts +0 -3
- package/dist/types/models/ChatSessionRequest.d.ts +0 -15
- package/dist/types/models/ChatSessionResponse.d.ts +0 -6
- package/dist/types/models/CheckDocumentTrainingStatus.d.ts +0 -10
- package/dist/types/models/ComparisonInfo.d.ts +0 -29
- package/dist/types/models/ComponentBlock.d.ts +0 -9
- package/dist/types/models/ComponentBlockTypeEnum.d.ts +0 -8
- package/dist/types/models/ConnectedService.d.ts +0 -24
- 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 -33
- 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 -31
- 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/CredentialRequest.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/DataSet.d.ts +0 -21
- package/dist/types/models/DataSetCreate.d.ts +0 -12
- package/dist/types/models/DataSetStatusEnum.d.ts +0 -12
- package/dist/types/models/DateRange.d.ts +0 -4
- package/dist/types/models/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 -11
- package/dist/types/models/ElevenlabsCustomVoice.d.ts +0 -4
- package/dist/types/models/ElevenlabsCustomVoiceResponse.d.ts +0 -8
- package/dist/types/models/EmailPromptDetail.d.ts +0 -13
- package/dist/types/models/EmailPromptList.d.ts +0 -11
- package/dist/types/models/EmailPromptSummary.d.ts +0 -5
- package/dist/types/models/Entity.d.ts +0 -11
- package/dist/types/models/EntityTypeEnum.d.ts +0 -10
- package/dist/types/models/ExternalServiceInfo.d.ts +0 -6
- 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/FullCourse.d.ts +0 -13
- 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 -10
- package/dist/types/models/IntegrationCredentialSchema.d.ts +0 -6
- package/dist/types/models/IntialQuestionAnswer.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/KindEnum.d.ts +0 -10
- 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/LLMModelForTenant.d.ts +0 -6
- 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 -8
- package/dist/types/models/MCPServer.d.ts +0 -47
- package/dist/types/models/MCPServerConnection.d.ts +0 -47
- package/dist/types/models/MCPServerConnectionScopeEnum.d.ts +0 -10
- package/dist/types/models/MaskedIntegrationCredential.d.ts +0 -10
- package/dist/types/models/MaskedLLMCredential.d.ts +0 -10
- package/dist/types/models/MemoryComponentData.d.ts +0 -5
- package/dist/types/models/MemoryComponentMemory.d.ts +0 -4
- package/dist/types/models/MemoryComponentMemoryDetail.d.ts +0 -8
- package/dist/types/models/MemoryComponentResponse.d.ts +0 -5
- package/dist/types/models/MemoryProgress.d.ts +0 -8
- package/dist/types/models/MemoryStatusRequestView.d.ts +0 -6
- package/dist/types/models/MemoryStatusView.d.ts +0 -6
- package/dist/types/models/Mentor.d.ts +0 -138
- package/dist/types/models/MentorAudience.d.ts +0 -5
- 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 -128
- 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/MentorFromTemplateWithSettingRequest.d.ts +0 -62
- 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 -97
- package/dist/types/models/MentorSettingsPublic.d.ts +0 -74
- package/dist/types/models/MentorSettingsRequest.d.ts +0 -75
- 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 -10
- package/dist/types/models/MessageViewRequest.d.ts +0 -8
- 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/ModelCost.d.ts +0 -4
- package/dist/types/models/ModerationLog.d.ts +0 -12
- package/dist/types/models/NoChatMessagesFound.d.ts +0 -3
- package/dist/types/models/OAuthProvider.d.ts +0 -18
- package/dist/types/models/OAuthService.d.ts +0 -17
- package/dist/types/models/OAuthStartResponse.d.ts +0 -3
- package/dist/types/models/Observation.d.ts +0 -31
- 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/PaginatedArtifactListList.d.ts +0 -7
- package/dist/types/models/PaginatedArtifactVersionListList.d.ts +0 -7
- package/dist/types/models/PaginatedConversationsList.d.ts +0 -7
- package/dist/types/models/PaginatedCourseCreationTaskFileList.d.ts +0 -7
- package/dist/types/models/PaginatedCourseCreationTaskList.d.ts +0 -7
- package/dist/types/models/PaginatedDataSetList.d.ts +0 -7
- package/dist/types/models/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/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/PaginatedMCPServerConnectionList.d.ts +0 -7
- package/dist/types/models/PaginatedMCPServerList.d.ts +0 -7
- package/dist/types/models/PaginatedMentorList.d.ts +0 -7
- package/dist/types/models/PaginatedModerationLogList.d.ts +0 -7
- package/dist/types/models/PaginatedObservationList.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/PaginatedSectionList.d.ts +0 -7
- package/dist/types/models/PaginatedSubSectionList.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/PaginatedTrainingList.d.ts +0 -7
- package/dist/types/models/PaginatedUnitList.d.ts +0 -7
- package/dist/types/models/PaginatedUserEdxMemoryList.d.ts +0 -7
- package/dist/types/models/PaginatedUserMemoryList.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/PatchedArtifact.d.ts +0 -64
- 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 -26
- package/dist/types/models/PatchedConversations.d.ts +0 -33
- package/dist/types/models/PatchedCourseCreationTaskFile.d.ts +0 -7
- package/dist/types/models/PatchedCredentialRequest.d.ts +0 -14
- package/dist/types/models/PatchedDataSet.d.ts +0 -21
- package/dist/types/models/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/PatchedHumanSupportTicket.d.ts +0 -23
- package/dist/types/models/PatchedLLMCredentialRequest.d.ts +0 -14
- package/dist/types/models/PatchedMCPServer.d.ts +0 -47
- package/dist/types/models/PatchedMCPServerConnection.d.ts +0 -47
- package/dist/types/models/PatchedMentorCategoryGroupCreate.d.ts +0 -11
- package/dist/types/models/PatchedMentorCreate.d.ts +0 -128
- 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/PatchedSection.d.ts +0 -9
- package/dist/types/models/PatchedSlackConfig.d.ts +0 -8
- package/dist/types/models/PatchedSlackUserConfig.d.ts +0 -17
- package/dist/types/models/PatchedSubSection.d.ts +0 -9
- package/dist/types/models/PatchedTeamsConfig.d.ts +0 -7
- package/dist/types/models/PatchedTicketMessage.d.ts +0 -10
- package/dist/types/models/PatchedTrainingCreate.d.ts +0 -31
- package/dist/types/models/PatchedUnit.d.ts +0 -11
- package/dist/types/models/PatchedWebexConfig.d.ts +0 -10
- package/dist/types/models/PatchedWhatsappConfig.d.ts +0 -11
- package/dist/types/models/PatchedWhatsappUserConfig.d.ts +0 -10
- package/dist/types/models/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/PieChartData.d.ts +0 -5
- package/dist/types/models/PieChartSegment.d.ts +0 -4
- package/dist/types/models/PinnedMessageCreate.d.ts +0 -9
- package/dist/types/models/PinnedMessageGet.d.ts +0 -7
- package/dist/types/models/PinnedMessageRequest.d.ts +0 -6
- package/dist/types/models/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/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/Provider637Enum.d.ts +0 -10
- package/dist/types/models/Provider63aEnum.d.ts +0 -6
- package/dist/types/models/ProviderBreakdown.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 -10
- package/dist/types/models/RecommendCourseBlock.d.ts +0 -3
- package/dist/types/models/RecommendCourseResponse.d.ts +0 -3
- 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/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/RunMentorEval.d.ts +0 -3
- package/dist/types/models/ScanWebhookRequest.d.ts +0 -6
- package/dist/types/models/ScanWebhookResponse.d.ts +0 -3
- package/dist/types/models/Section.d.ts +0 -9
- package/dist/types/models/SectionWithChildren.d.ts +0 -11
- package/dist/types/models/SeedMentorsView.d.ts +0 -3
- package/dist/types/models/SentimentSummary.d.ts +0 -4
- package/dist/types/models/SessionBrowserScreenshot.d.ts +0 -8
- package/dist/types/models/SessionChartPoint.d.ts +0 -4
- package/dist/types/models/SessionDetail.d.ts +0 -6
- package/dist/types/models/SessionMemoryAttachment.d.ts +0 -3
- package/dist/types/models/SessionMemoryStorage.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/ShellLogs.d.ts +0 -3
- package/dist/types/models/SlackConfig.d.ts +0 -8
- package/dist/types/models/SlackUserConfig.d.ts +0 -17
- package/dist/types/models/SlackWebhook.d.ts +0 -6
- package/dist/types/models/SpacedRepetitionLearningPath.d.ts +0 -3
- package/dist/types/models/SpacedRepetitionQuestionStats.d.ts +0 -5
- package/dist/types/models/StarMentor.d.ts +0 -7
- package/dist/types/models/Status6eeEnum.d.ts +0 -12
- package/dist/types/models/Step.d.ts +0 -9
- package/dist/types/models/StepStatusEnum.d.ts +0 -10
- package/dist/types/models/SttProviderEnum.d.ts +0 -12
- package/dist/types/models/StudentChatMessage.d.ts +0 -4
- package/dist/types/models/StylesView.d.ts +0 -4
- package/dist/types/models/SubSection.d.ts +0 -9
- package/dist/types/models/SubSectionWithChildren.d.ts +0 -11
- package/dist/types/models/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 -8
- package/dist/types/models/TaskView.d.ts +0 -3
- package/dist/types/models/TeamsConfig.d.ts +0 -7
- package/dist/types/models/TeamsWebhook.d.ts +0 -17
- package/dist/types/models/TemplateMentor.d.ts +0 -9
- package/dist/types/models/TenantMentorTraces.d.ts +0 -6
- package/dist/types/models/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 -15
- 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/TrainChatSessionDocumentView.d.ts +0 -6
- package/dist/types/models/TrainChatSessionDocumentViewRequest.d.ts +0 -6
- package/dist/types/models/TrainDocumentViewRequest.d.ts +0 -82
- package/dist/types/models/TrainDocumentViewResponse.d.ts +0 -15
- package/dist/types/models/Training.d.ts +0 -41
- package/dist/types/models/TrainingCreate.d.ts +0 -31
- package/dist/types/models/TrainingStatusEnum.d.ts +0 -12
- package/dist/types/models/TransportEnum.d.ts +0 -10
- 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 -10
- package/dist/types/models/TypeC42Enum.d.ts +0 -8
- package/dist/types/models/Unit.d.ts +0 -11
- package/dist/types/models/UnitWithChildren.d.ts +0 -13
- package/dist/types/models/UseMainCreds.d.ts +0 -3
- package/dist/types/models/UserAllChatMemoryView.d.ts +0 -7
- package/dist/types/models/UserCatalogItemMemoryView.d.ts +0 -14
- package/dist/types/models/UserChatByPeriod.d.ts +0 -4
- package/dist/types/models/UserChatFeedback.d.ts +0 -15
- package/dist/types/models/UserChatFeedbackCount.d.ts +0 -4
- package/dist/types/models/UserChatMemoryStatusRequestView.d.ts +0 -6
- package/dist/types/models/UserChatMemoryStatusView.d.ts +0 -6
- package/dist/types/models/UserChatMemoryUpdateView.d.ts +0 -10
- package/dist/types/models/UserCountRecord.d.ts +0 -4
- package/dist/types/models/UserDetail.d.ts +0 -7
- package/dist/types/models/UserEdxMemory.d.ts +0 -15
- package/dist/types/models/UserMemory.d.ts +0 -18
- package/dist/types/models/UserMemoryContextRequest.d.ts +0 -13
- package/dist/types/models/UserMemoryContextResponse.d.ts +0 -12
- package/dist/types/models/UserMemoryEntry.d.ts +0 -9
- package/dist/types/models/UserMemoryEntryRequest.d.ts +0 -5
- package/dist/types/models/UserMemoryRequest.d.ts +0 -12
- package/dist/types/models/UserMetric.d.ts +0 -4
- package/dist/types/models/UserMetricsResponse.d.ts +0 -7
- package/dist/types/models/UserSentimentCountView.d.ts +0 -4
- package/dist/types/models/UserTrendByPeriod.d.ts +0 -5
- package/dist/types/models/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/WebResource.d.ts +0 -9
- package/dist/types/models/WebResourceCard.d.ts +0 -7
- package/dist/types/models/WebResourcesQuery.d.ts +0 -3
- package/dist/types/models/WebexConfig.d.ts +0 -10
- package/dist/types/models/WebexWebhook.d.ts +0 -4
- package/dist/types/models/WhatAppWebHook.d.ts +0 -3
- package/dist/types/models/WhatsappConfig.d.ts +0 -11
- package/dist/types/models/WhatsappUserConfig.d.ts +0 -10
- package/dist/types/services/AiAccountService.d.ts +0 -567
- package/dist/types/services/AiBotService.d.ts +0 -650
- package/dist/types/services/AiFinetuningService.d.ts +0 -232
- package/dist/types/services/AiIndexService.d.ts +0 -399
- 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 -6803
- package/dist/types/services/AiPromptService.d.ts +0 -1035
- package/dist/types/services/AiSearchService.d.ts +0 -451
- 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/AlignMentorBubbleEnum.ts +0 -12
- package/src/models/AnalyticsOverview.ts +0 -12
- package/src/models/Answer.ts +0 -16
- package/src/models/Artifact.ts +0 -69
- package/src/models/ArtifactList.ts +0 -50
- package/src/models/ArtifactVersion.ts +0 -41
- package/src/models/ArtifactVersionList.ts +0 -40
- 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/AuthTypeEnum.ts +0 -14
- package/src/models/AutoMemoryPrompt.ts +0 -9
- 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 -31
- package/src/models/CallConfigurationModeEnum.ts +0 -12
- package/src/models/ChatHistory.ts +0 -14
- package/src/models/ChatHistoryFilterData.ts +0 -14
- package/src/models/ChatHistoryFilterUser.ts +0 -10
- package/src/models/ChatHistoryItem.ts +0 -10
- package/src/models/ChatHistorySessionId.ts +0 -8
- package/src/models/ChatSessionRequest.ts +0 -20
- package/src/models/ChatSessionResponse.ts +0 -11
- package/src/models/CheckDocumentTrainingStatus.ts +0 -15
- package/src/models/ComparisonInfo.ts +0 -34
- package/src/models/ComponentBlock.ts +0 -14
- package/src/models/ComponentBlockTypeEnum.ts +0 -12
- package/src/models/ConnectedService.ts +0 -29
- 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 -38
- 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 -36
- 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/CredentialRequest.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/DataSet.ts +0 -26
- package/src/models/DataSetCreate.ts +0 -17
- package/src/models/DataSetStatusEnum.ts +0 -16
- package/src/models/DateRange.ts +0 -9
- package/src/models/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 -16
- package/src/models/ElevenlabsCustomVoice.ts +0 -9
- package/src/models/ElevenlabsCustomVoiceResponse.ts +0 -13
- package/src/models/EmailPromptDetail.ts +0 -18
- package/src/models/EmailPromptList.ts +0 -16
- package/src/models/EmailPromptSummary.ts +0 -10
- package/src/models/Entity.ts +0 -16
- package/src/models/EntityTypeEnum.ts +0 -14
- package/src/models/ExternalServiceInfo.ts +0 -11
- 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/FullCourse.ts +0 -18
- 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 -15
- package/src/models/IntegrationCredentialSchema.ts +0 -11
- package/src/models/IntialQuestionAnswer.ts +0 -8
- package/src/models/InvoiceReportResponse.ts +0 -18
- package/src/models/JobRun.ts +0 -16
- package/src/models/KindEnum.ts +0 -14
- package/src/models/LLMCredentialRequest.ts +0 -19
- package/src/models/LLMCredentialResponse.ts +0 -15
- package/src/models/LLMCredentialSchema.ts +0 -11
- package/src/models/LLMModelForTenant.ts +0 -11
- 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 -12
- package/src/models/MCPServer.ts +0 -52
- package/src/models/MCPServerConnection.ts +0 -52
- package/src/models/MCPServerConnectionScopeEnum.ts +0 -14
- package/src/models/MaskedIntegrationCredential.ts +0 -15
- package/src/models/MaskedLLMCredential.ts +0 -15
- package/src/models/MemoryComponentData.ts +0 -10
- package/src/models/MemoryComponentMemory.ts +0 -9
- package/src/models/MemoryComponentMemoryDetail.ts +0 -13
- package/src/models/MemoryComponentResponse.ts +0 -10
- package/src/models/MemoryProgress.ts +0 -13
- package/src/models/MemoryStatusRequestView.ts +0 -11
- package/src/models/MemoryStatusView.ts +0 -11
- package/src/models/Mentor.ts +0 -143
- package/src/models/MentorAudience.ts +0 -10
- 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 -133
- 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/MentorFromTemplateWithSettingRequest.ts +0 -67
- 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 -102
- package/src/models/MentorSettingsPublic.ts +0 -79
- package/src/models/MentorSettingsRequest.ts +0 -80
- 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 -15
- package/src/models/MessageViewRequest.ts +0 -13
- 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/ModelCost.ts +0 -9
- package/src/models/ModerationLog.ts +0 -17
- package/src/models/NoChatMessagesFound.ts +0 -8
- package/src/models/OAuthProvider.ts +0 -23
- package/src/models/OAuthService.ts +0 -22
- package/src/models/OAuthStartResponse.ts +0 -8
- package/src/models/Observation.ts +0 -36
- package/src/models/OvertimeData.ts +0 -18
- package/src/models/PageContent.ts +0 -11
- package/src/models/PaginatedAIGeneratedImageList.ts +0 -12
- package/src/models/PaginatedArtifactListList.ts +0 -12
- package/src/models/PaginatedArtifactVersionListList.ts +0 -12
- package/src/models/PaginatedConversationsList.ts +0 -12
- package/src/models/PaginatedCourseCreationTaskFileList.ts +0 -12
- package/src/models/PaginatedCourseCreationTaskList.ts +0 -12
- package/src/models/PaginatedDataSetList.ts +0 -12
- package/src/models/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/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/PaginatedMCPServerConnectionList.ts +0 -12
- package/src/models/PaginatedMCPServerList.ts +0 -12
- package/src/models/PaginatedMentorList.ts +0 -12
- package/src/models/PaginatedModerationLogList.ts +0 -12
- package/src/models/PaginatedObservationList.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/PaginatedSectionList.ts +0 -12
- package/src/models/PaginatedSubSectionList.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/PaginatedTrainingList.ts +0 -12
- package/src/models/PaginatedUnitList.ts +0 -12
- package/src/models/PaginatedUserEdxMemoryList.ts +0 -12
- package/src/models/PaginatedUserMemoryList.ts +0 -12
- package/src/models/PaginatedVeoVideoListList.ts +0 -12
- package/src/models/PaginatedVoiceList.ts +0 -12
- package/src/models/PatchedArtifact.ts +0 -69
- package/src/models/PatchedBotCommand.ts +0 -11
- package/src/models/PatchedBotCreate.ts +0 -17
- package/src/models/PatchedCallConfiguration.ts +0 -31
- package/src/models/PatchedConversations.ts +0 -38
- package/src/models/PatchedCourseCreationTaskFile.ts +0 -12
- package/src/models/PatchedCredentialRequest.ts +0 -19
- package/src/models/PatchedDataSet.ts +0 -26
- package/src/models/PatchedDisclaimer.ts +0 -22
- package/src/models/PatchedDiscordConfig.ts +0 -12
- package/src/models/PatchedDiscordUserConfig.ts +0 -15
- package/src/models/PatchedHumanSupportTicket.ts +0 -28
- package/src/models/PatchedLLMCredentialRequest.ts +0 -19
- package/src/models/PatchedMCPServer.ts +0 -52
- package/src/models/PatchedMCPServerConnection.ts +0 -52
- package/src/models/PatchedMentorCategoryGroupCreate.ts +0 -16
- package/src/models/PatchedMentorCreate.ts +0 -133
- 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/PatchedSection.ts +0 -14
- package/src/models/PatchedSlackConfig.ts +0 -13
- package/src/models/PatchedSlackUserConfig.ts +0 -22
- package/src/models/PatchedSubSection.ts +0 -14
- package/src/models/PatchedTeamsConfig.ts +0 -12
- package/src/models/PatchedTicketMessage.ts +0 -15
- package/src/models/PatchedTrainingCreate.ts +0 -36
- package/src/models/PatchedUnit.ts +0 -16
- package/src/models/PatchedWebexConfig.ts +0 -15
- package/src/models/PatchedWhatsappConfig.ts +0 -16
- package/src/models/PatchedWhatsappUserConfig.ts +0 -15
- package/src/models/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/PieChartData.ts +0 -10
- package/src/models/PieChartSegment.ts +0 -9
- package/src/models/PinnedMessageCreate.ts +0 -14
- package/src/models/PinnedMessageGet.ts +0 -12
- package/src/models/PinnedMessageRequest.ts +0 -11
- package/src/models/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/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/Provider637Enum.ts +0 -14
- package/src/models/Provider63aEnum.ts +0 -10
- package/src/models/ProviderBreakdown.ts +0 -13
- 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 -15
- package/src/models/RecommendCourseBlock.ts +0 -8
- package/src/models/RecommendCourseResponse.ts +0 -8
- 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/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/RunMentorEval.ts +0 -8
- package/src/models/ScanWebhookRequest.ts +0 -11
- package/src/models/ScanWebhookResponse.ts +0 -8
- package/src/models/Section.ts +0 -14
- package/src/models/SectionWithChildren.ts +0 -16
- package/src/models/SeedMentorsView.ts +0 -8
- package/src/models/SentimentSummary.ts +0 -9
- package/src/models/SessionBrowserScreenshot.ts +0 -13
- package/src/models/SessionChartPoint.ts +0 -9
- package/src/models/SessionDetail.ts +0 -11
- package/src/models/SessionMemoryAttachment.ts +0 -8
- package/src/models/SessionMemoryStorage.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/ShellLogs.ts +0 -8
- package/src/models/SlackConfig.ts +0 -13
- package/src/models/SlackUserConfig.ts +0 -22
- package/src/models/SlackWebhook.ts +0 -11
- package/src/models/SpacedRepetitionLearningPath.ts +0 -8
- package/src/models/SpacedRepetitionQuestionStats.ts +0 -10
- package/src/models/StarMentor.ts +0 -12
- package/src/models/Status6eeEnum.ts +0 -16
- package/src/models/Step.ts +0 -14
- package/src/models/StepStatusEnum.ts +0 -14
- package/src/models/SttProviderEnum.ts +0 -16
- package/src/models/StudentChatMessage.ts +0 -9
- package/src/models/StylesView.ts +0 -9
- package/src/models/SubSection.ts +0 -14
- package/src/models/SubSectionWithChildren.ts +0 -16
- package/src/models/Subject.ts +0 -10
- package/src/models/Summary.ts +0 -14
- package/src/models/TagsView.ts +0 -10
- package/src/models/TargetSystemEnum.ts +0 -12
- package/src/models/TaskView.ts +0 -8
- package/src/models/TeamsConfig.ts +0 -12
- package/src/models/TeamsWebhook.ts +0 -22
- package/src/models/TemplateMentor.ts +0 -14
- package/src/models/TenantMentorTraces.ts +0 -11
- package/src/models/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 -20
- 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/TrainChatSessionDocumentView.ts +0 -11
- package/src/models/TrainChatSessionDocumentViewRequest.ts +0 -11
- package/src/models/TrainDocumentViewRequest.ts +0 -87
- package/src/models/TrainDocumentViewResponse.ts +0 -20
- package/src/models/Training.ts +0 -46
- package/src/models/TrainingCreate.ts +0 -36
- package/src/models/TrainingStatusEnum.ts +0 -16
- package/src/models/TransportEnum.ts +0 -14
- 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 -14
- package/src/models/TypeC42Enum.ts +0 -12
- package/src/models/Unit.ts +0 -16
- package/src/models/UnitWithChildren.ts +0 -18
- package/src/models/UseMainCreds.ts +0 -8
- package/src/models/UserAllChatMemoryView.ts +0 -12
- package/src/models/UserCatalogItemMemoryView.ts +0 -19
- package/src/models/UserChatByPeriod.ts +0 -9
- package/src/models/UserChatFeedback.ts +0 -20
- package/src/models/UserChatFeedbackCount.ts +0 -9
- package/src/models/UserChatMemoryStatusRequestView.ts +0 -11
- package/src/models/UserChatMemoryStatusView.ts +0 -11
- package/src/models/UserChatMemoryUpdateView.ts +0 -15
- package/src/models/UserCountRecord.ts +0 -9
- package/src/models/UserDetail.ts +0 -12
- package/src/models/UserEdxMemory.ts +0 -20
- package/src/models/UserMemory.ts +0 -23
- package/src/models/UserMemoryContextRequest.ts +0 -18
- package/src/models/UserMemoryContextResponse.ts +0 -17
- package/src/models/UserMemoryEntry.ts +0 -14
- package/src/models/UserMemoryEntryRequest.ts +0 -10
- package/src/models/UserMemoryRequest.ts +0 -17
- package/src/models/UserMetric.ts +0 -9
- package/src/models/UserMetricsResponse.ts +0 -12
- package/src/models/UserSentimentCountView.ts +0 -9
- package/src/models/UserTrendByPeriod.ts +0 -10
- package/src/models/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/WebResource.ts +0 -14
- package/src/models/WebResourceCard.ts +0 -12
- package/src/models/WebResourcesQuery.ts +0 -8
- package/src/models/WebexConfig.ts +0 -15
- package/src/models/WebexWebhook.ts +0 -9
- package/src/models/WhatAppWebHook.ts +0 -8
- package/src/models/WhatsappConfig.ts +0 -16
- package/src/models/WhatsappUserConfig.ts +0 -15
- package/src/services/AiAccountService.ts +0 -955
- package/src/services/AiBotService.ts +0 -1350
- package/src/services/AiFinetuningService.ts +0 -472
- package/src/services/AiIndexService.ts +0 -710
- package/src/services/AiMarketingService.ts +0 -96
- package/src/services/AiMediaService.ts +0 -532
- package/src/services/AiMentorService.ts +0 -12552
- package/src/services/AiPromptService.ts +0 -1985
- package/src/services/AiSearchService.ts +0 -742
|
@@ -1,1985 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
import type { GuidedPromptsResponse } from '../models/GuidedPromptsResponse';
|
|
6
|
-
import type { LanguagesView } from '../models/LanguagesView';
|
|
7
|
-
import type { MemoryStatusRequestView } from '../models/MemoryStatusRequestView';
|
|
8
|
-
import type { MemoryStatusView } from '../models/MemoryStatusView';
|
|
9
|
-
import type { Metadata } from '../models/Metadata';
|
|
10
|
-
import type { PatchedPrompt } from '../models/PatchedPrompt';
|
|
11
|
-
import type { Prompt } from '../models/Prompt';
|
|
12
|
-
import type { PromptCategory } from '../models/PromptCategory';
|
|
13
|
-
import type { StylesView } from '../models/StylesView';
|
|
14
|
-
import type { TagsView } from '../models/TagsView';
|
|
15
|
-
import type { TonesView } from '../models/TonesView';
|
|
16
|
-
import type { UserAllChatMemoryView } from '../models/UserAllChatMemoryView';
|
|
17
|
-
import type { UserCatalogItemMemoryView } from '../models/UserCatalogItemMemoryView';
|
|
18
|
-
import type { UserChatMemoryStatusRequestView } from '../models/UserChatMemoryStatusRequestView';
|
|
19
|
-
import type { UserChatMemoryStatusView } from '../models/UserChatMemoryStatusView';
|
|
20
|
-
import type { UserChatMemoryUpdateView } from '../models/UserChatMemoryUpdateView';
|
|
21
|
-
import type { UserMemoryContextRequest } from '../models/UserMemoryContextRequest';
|
|
22
|
-
import type { UserMemoryContextResponse } from '../models/UserMemoryContextResponse';
|
|
23
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
24
|
-
import { OpenAPI } from '../core/OpenAPI';
|
|
25
|
-
import { request as __request } from '../core/request';
|
|
26
|
-
export class AiPromptService {
|
|
27
|
-
/**
|
|
28
|
-
* Create or update metadata for a prompt.
|
|
29
|
-
*
|
|
30
|
-
* Args:
|
|
31
|
-
* request: The HTTP request containing the metadata.
|
|
32
|
-
* org: The organization/tenant identifier.
|
|
33
|
-
*
|
|
34
|
-
* Returns:
|
|
35
|
-
* Response: The created or updated prompt metadata.
|
|
36
|
-
*
|
|
37
|
-
* Raises:
|
|
38
|
-
* BadRequest: If the provided data is invalid.
|
|
39
|
-
* @returns Metadata
|
|
40
|
-
* @throws ApiError
|
|
41
|
-
*/
|
|
42
|
-
public static aiPromptOrgsMetadataCreate({
|
|
43
|
-
org,
|
|
44
|
-
requestBody,
|
|
45
|
-
}: {
|
|
46
|
-
org: string,
|
|
47
|
-
requestBody: Metadata,
|
|
48
|
-
}): CancelablePromise<Metadata> {
|
|
49
|
-
return __request(OpenAPI, {
|
|
50
|
-
method: 'POST',
|
|
51
|
-
url: '/api/ai-prompt/orgs/{org}/metadata/',
|
|
52
|
-
path: {
|
|
53
|
-
'org': org,
|
|
54
|
-
},
|
|
55
|
-
body: requestBody,
|
|
56
|
-
mediaType: 'application/json',
|
|
57
|
-
errors: {
|
|
58
|
-
400: `Invalid data`,
|
|
59
|
-
},
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* Retrieve chat memory for a specific user.
|
|
64
|
-
*
|
|
65
|
-
* Args:
|
|
66
|
-
* request: The HTTP request.
|
|
67
|
-
* org: The organization/tenant identifier.
|
|
68
|
-
* user_id: The ID of the user to retrieve chat memory for.
|
|
69
|
-
*
|
|
70
|
-
* Returns:
|
|
71
|
-
* Response: The user's chat memory entries.
|
|
72
|
-
*
|
|
73
|
-
* Raises:
|
|
74
|
-
* NotFound: If no chat memory exists for the user.
|
|
75
|
-
* @returns UserAllChatMemoryView
|
|
76
|
-
* @throws ApiError
|
|
77
|
-
*/
|
|
78
|
-
public static aiPromptOrgsUsersAllChatsMemoryRetrieve({
|
|
79
|
-
org,
|
|
80
|
-
userId,
|
|
81
|
-
}: {
|
|
82
|
-
org: string,
|
|
83
|
-
userId: string,
|
|
84
|
-
}): CancelablePromise<UserAllChatMemoryView> {
|
|
85
|
-
return __request(OpenAPI, {
|
|
86
|
-
method: 'GET',
|
|
87
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/all-chats-memory/',
|
|
88
|
-
path: {
|
|
89
|
-
'org': org,
|
|
90
|
-
'user_id': userId,
|
|
91
|
-
},
|
|
92
|
-
errors: {
|
|
93
|
-
404: `Memory not found`,
|
|
94
|
-
},
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* Create a new chat memory entry for a user.
|
|
99
|
-
*
|
|
100
|
-
* Args:
|
|
101
|
-
* request: The HTTP request containing the chat memory data.
|
|
102
|
-
* org: The organization/tenant identifier.
|
|
103
|
-
* user_id: The ID of the user to create chat memory for.
|
|
104
|
-
*
|
|
105
|
-
* Returns:
|
|
106
|
-
* Response: The created chat memory entry.
|
|
107
|
-
*
|
|
108
|
-
* Raises:
|
|
109
|
-
* BadRequest: If the provided data is invalid.
|
|
110
|
-
* @returns UserAllChatMemoryView
|
|
111
|
-
* @throws ApiError
|
|
112
|
-
*/
|
|
113
|
-
public static aiPromptOrgsUsersAllChatsMemoryCreate({
|
|
114
|
-
org,
|
|
115
|
-
userId,
|
|
116
|
-
requestBody,
|
|
117
|
-
}: {
|
|
118
|
-
org: string,
|
|
119
|
-
userId: string,
|
|
120
|
-
requestBody: UserAllChatMemoryView,
|
|
121
|
-
}): CancelablePromise<UserAllChatMemoryView> {
|
|
122
|
-
return __request(OpenAPI, {
|
|
123
|
-
method: 'POST',
|
|
124
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/all-chats-memory/',
|
|
125
|
-
path: {
|
|
126
|
-
'org': org,
|
|
127
|
-
'user_id': userId,
|
|
128
|
-
},
|
|
129
|
-
body: requestBody,
|
|
130
|
-
mediaType: 'application/json',
|
|
131
|
-
errors: {
|
|
132
|
-
400: `Invalid data`,
|
|
133
|
-
},
|
|
134
|
-
});
|
|
135
|
-
}
|
|
136
|
-
/**
|
|
137
|
-
* Update chat memory for a specific user.
|
|
138
|
-
*
|
|
139
|
-
* Args:
|
|
140
|
-
* request: The HTTP request containing the updated chat memory data.
|
|
141
|
-
* org: The organization/tenant identifier.
|
|
142
|
-
* user_id: The ID of the user to update chat memory for.
|
|
143
|
-
*
|
|
144
|
-
* Returns:
|
|
145
|
-
* Response: A confirmation of the scheduled update task.
|
|
146
|
-
*
|
|
147
|
-
* Raises:
|
|
148
|
-
* BadRequest: If the provided data is invalid.
|
|
149
|
-
* NotFound: If no chat memory exists for the user.
|
|
150
|
-
* @returns UserChatMemoryUpdateView
|
|
151
|
-
* @throws ApiError
|
|
152
|
-
*/
|
|
153
|
-
public static aiPromptOrgsUsersAllChatsMemoryUpdate({
|
|
154
|
-
org,
|
|
155
|
-
userId,
|
|
156
|
-
requestBody,
|
|
157
|
-
}: {
|
|
158
|
-
org: string,
|
|
159
|
-
userId: string,
|
|
160
|
-
requestBody: UserAllChatMemoryView,
|
|
161
|
-
}): CancelablePromise<UserChatMemoryUpdateView> {
|
|
162
|
-
return __request(OpenAPI, {
|
|
163
|
-
method: 'PUT',
|
|
164
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/all-chats-memory/',
|
|
165
|
-
path: {
|
|
166
|
-
'org': org,
|
|
167
|
-
'user_id': userId,
|
|
168
|
-
},
|
|
169
|
-
body: requestBody,
|
|
170
|
-
mediaType: 'application/json',
|
|
171
|
-
errors: {
|
|
172
|
-
400: `Invalid data`,
|
|
173
|
-
404: `Memory not found`,
|
|
174
|
-
},
|
|
175
|
-
});
|
|
176
|
-
}
|
|
177
|
-
/**
|
|
178
|
-
* Delete all chat memory for a specific user.
|
|
179
|
-
*
|
|
180
|
-
* Args:
|
|
181
|
-
* request: The HTTP request.
|
|
182
|
-
* org: The organization/tenant identifier.
|
|
183
|
-
* user_id: The ID of the user to delete chat memory for.
|
|
184
|
-
*
|
|
185
|
-
* Returns:
|
|
186
|
-
* Response: A success message if the memory was deleted.
|
|
187
|
-
*
|
|
188
|
-
* Raises:
|
|
189
|
-
* NotFound: If no chat memory exists for the user.
|
|
190
|
-
* @returns void
|
|
191
|
-
* @throws ApiError
|
|
192
|
-
*/
|
|
193
|
-
public static aiPromptOrgsUsersAllChatsMemoryDestroy({
|
|
194
|
-
org,
|
|
195
|
-
userId,
|
|
196
|
-
}: {
|
|
197
|
-
org: string,
|
|
198
|
-
userId: string,
|
|
199
|
-
}): CancelablePromise<void> {
|
|
200
|
-
return __request(OpenAPI, {
|
|
201
|
-
method: 'DELETE',
|
|
202
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/all-chats-memory/',
|
|
203
|
-
path: {
|
|
204
|
-
'org': org,
|
|
205
|
-
'user_id': userId,
|
|
206
|
-
},
|
|
207
|
-
errors: {
|
|
208
|
-
404: `Memory not found`,
|
|
209
|
-
},
|
|
210
|
-
});
|
|
211
|
-
}
|
|
212
|
-
/**
|
|
213
|
-
* Update a specific chat memory entry.
|
|
214
|
-
*
|
|
215
|
-
* Args:
|
|
216
|
-
* request: The HTTP request containing the updated chat memory data.
|
|
217
|
-
* org: The organization/tenant identifier.
|
|
218
|
-
* user_id: The ID of the user who owns the memory.
|
|
219
|
-
* memory_id: The ID of the specific memory entry to update.
|
|
220
|
-
*
|
|
221
|
-
* Returns:
|
|
222
|
-
* Response: The updated chat memory entry.
|
|
223
|
-
*
|
|
224
|
-
* Raises:
|
|
225
|
-
* BadRequest: If the provided data is invalid.
|
|
226
|
-
* NotFound: If the specified memory entry does not exist.
|
|
227
|
-
* @returns UserAllChatMemoryView
|
|
228
|
-
* @throws ApiError
|
|
229
|
-
*/
|
|
230
|
-
public static aiPromptOrgsUsersAllChatsMemoryUpdate2({
|
|
231
|
-
memoryId,
|
|
232
|
-
org,
|
|
233
|
-
userId,
|
|
234
|
-
requestBody,
|
|
235
|
-
}: {
|
|
236
|
-
memoryId: number,
|
|
237
|
-
org: string,
|
|
238
|
-
userId: string,
|
|
239
|
-
requestBody: UserAllChatMemoryView,
|
|
240
|
-
}): CancelablePromise<UserAllChatMemoryView> {
|
|
241
|
-
return __request(OpenAPI, {
|
|
242
|
-
method: 'PUT',
|
|
243
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/all-chats-memory/{memory_id}/',
|
|
244
|
-
path: {
|
|
245
|
-
'memory_id': memoryId,
|
|
246
|
-
'org': org,
|
|
247
|
-
'user_id': userId,
|
|
248
|
-
},
|
|
249
|
-
body: requestBody,
|
|
250
|
-
mediaType: 'application/json',
|
|
251
|
-
errors: {
|
|
252
|
-
400: `Invalid data`,
|
|
253
|
-
404: `Memory not found`,
|
|
254
|
-
},
|
|
255
|
-
});
|
|
256
|
-
}
|
|
257
|
-
/**
|
|
258
|
-
* Delete a specific chat memory entry.
|
|
259
|
-
*
|
|
260
|
-
* Args:
|
|
261
|
-
* request: The HTTP request.
|
|
262
|
-
* org: The organization/tenant identifier.
|
|
263
|
-
* user_id: The ID of the user who owns the memory.
|
|
264
|
-
* memory_id: The ID of the specific memory entry to delete.
|
|
265
|
-
*
|
|
266
|
-
* Returns:
|
|
267
|
-
* Response: A success message if the memory was deleted.
|
|
268
|
-
*
|
|
269
|
-
* Raises:
|
|
270
|
-
* NotFound: If the specified memory entry does not exist.
|
|
271
|
-
* @returns void
|
|
272
|
-
* @throws ApiError
|
|
273
|
-
*/
|
|
274
|
-
public static aiPromptOrgsUsersAllChatsMemoryDestroy2({
|
|
275
|
-
memoryId,
|
|
276
|
-
org,
|
|
277
|
-
userId,
|
|
278
|
-
}: {
|
|
279
|
-
memoryId: number,
|
|
280
|
-
org: string,
|
|
281
|
-
userId: string,
|
|
282
|
-
}): CancelablePromise<void> {
|
|
283
|
-
return __request(OpenAPI, {
|
|
284
|
-
method: 'DELETE',
|
|
285
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/all-chats-memory/{memory_id}/',
|
|
286
|
-
path: {
|
|
287
|
-
'memory_id': memoryId,
|
|
288
|
-
'org': org,
|
|
289
|
-
'user_id': userId,
|
|
290
|
-
},
|
|
291
|
-
errors: {
|
|
292
|
-
404: `Memory not found`,
|
|
293
|
-
},
|
|
294
|
-
});
|
|
295
|
-
}
|
|
296
|
-
/**
|
|
297
|
-
* Retrieve the chat memory status for a specific user.
|
|
298
|
-
*
|
|
299
|
-
* Args:
|
|
300
|
-
* request: The HTTP request.
|
|
301
|
-
* org: The organization/tenant identifier.
|
|
302
|
-
* user_id: The ID of the user to retrieve memory status for.
|
|
303
|
-
*
|
|
304
|
-
* Returns:
|
|
305
|
-
* Response: The user's chat memory status.
|
|
306
|
-
*
|
|
307
|
-
* Raises:
|
|
308
|
-
* NotFound: If no memory status exists for the user.
|
|
309
|
-
* @returns UserChatMemoryStatusView
|
|
310
|
-
* @throws ApiError
|
|
311
|
-
*/
|
|
312
|
-
public static aiPromptOrgsUsersChatMemoryStatusRetrieve({
|
|
313
|
-
org,
|
|
314
|
-
userId,
|
|
315
|
-
}: {
|
|
316
|
-
org: string,
|
|
317
|
-
userId: string,
|
|
318
|
-
}): CancelablePromise<UserChatMemoryStatusView> {
|
|
319
|
-
return __request(OpenAPI, {
|
|
320
|
-
method: 'GET',
|
|
321
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/chat-memory-status/',
|
|
322
|
-
path: {
|
|
323
|
-
'org': org,
|
|
324
|
-
'user_id': userId,
|
|
325
|
-
},
|
|
326
|
-
errors: {
|
|
327
|
-
404: `Memory status not found`,
|
|
328
|
-
},
|
|
329
|
-
});
|
|
330
|
-
}
|
|
331
|
-
/**
|
|
332
|
-
* Update the chat memory status for a specific user.
|
|
333
|
-
*
|
|
334
|
-
* Args:
|
|
335
|
-
* request: The HTTP request containing the updated status.
|
|
336
|
-
* org: The organization/tenant identifier.
|
|
337
|
-
* user_id: The ID of the user to update memory status for.
|
|
338
|
-
*
|
|
339
|
-
* Returns:
|
|
340
|
-
* Response: The updated chat memory status.
|
|
341
|
-
*
|
|
342
|
-
* Raises:
|
|
343
|
-
* BadRequest: If the provided data is invalid.
|
|
344
|
-
* @returns UserChatMemoryStatusView
|
|
345
|
-
* @throws ApiError
|
|
346
|
-
*/
|
|
347
|
-
public static aiPromptOrgsUsersChatMemoryStatusUpdate({
|
|
348
|
-
org,
|
|
349
|
-
userId,
|
|
350
|
-
requestBody,
|
|
351
|
-
}: {
|
|
352
|
-
org: string,
|
|
353
|
-
userId: string,
|
|
354
|
-
requestBody: UserChatMemoryStatusRequestView,
|
|
355
|
-
}): CancelablePromise<UserChatMemoryStatusView> {
|
|
356
|
-
return __request(OpenAPI, {
|
|
357
|
-
method: 'PUT',
|
|
358
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/chat-memory-status/',
|
|
359
|
-
path: {
|
|
360
|
-
'org': org,
|
|
361
|
-
'user_id': userId,
|
|
362
|
-
},
|
|
363
|
-
body: requestBody,
|
|
364
|
-
mediaType: 'application/json',
|
|
365
|
-
errors: {
|
|
366
|
-
400: `Invalid data`,
|
|
367
|
-
},
|
|
368
|
-
});
|
|
369
|
-
}
|
|
370
|
-
/**
|
|
371
|
-
* Retrieve all available prompt languages.
|
|
372
|
-
*
|
|
373
|
-
* Args:
|
|
374
|
-
* request: The HTTP request.
|
|
375
|
-
* org: The organization/tenant identifier.
|
|
376
|
-
* user_id: The ID of the user making the request.
|
|
377
|
-
*
|
|
378
|
-
* Returns:
|
|
379
|
-
* Response: A list of available prompt languages.
|
|
380
|
-
* @returns LanguagesView
|
|
381
|
-
* @throws ApiError
|
|
382
|
-
*/
|
|
383
|
-
public static aiPromptOrgsUsersLanguagesRetrieve({
|
|
384
|
-
org,
|
|
385
|
-
userId,
|
|
386
|
-
}: {
|
|
387
|
-
org: string,
|
|
388
|
-
userId: string,
|
|
389
|
-
}): CancelablePromise<LanguagesView> {
|
|
390
|
-
return __request(OpenAPI, {
|
|
391
|
-
method: 'GET',
|
|
392
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/languages/',
|
|
393
|
-
path: {
|
|
394
|
-
'org': org,
|
|
395
|
-
'user_id': userId,
|
|
396
|
-
},
|
|
397
|
-
});
|
|
398
|
-
}
|
|
399
|
-
/**
|
|
400
|
-
* Create a new prompt language.
|
|
401
|
-
*
|
|
402
|
-
* Args:
|
|
403
|
-
* request: The HTTP request containing the language data.
|
|
404
|
-
* org: The organization/tenant identifier.
|
|
405
|
-
* user_id: The ID of the user creating the language.
|
|
406
|
-
*
|
|
407
|
-
* Returns:
|
|
408
|
-
* Response: The created prompt language.
|
|
409
|
-
*
|
|
410
|
-
* Raises:
|
|
411
|
-
* BadRequest: If the provided data is invalid.
|
|
412
|
-
* @returns LanguagesView
|
|
413
|
-
* @throws ApiError
|
|
414
|
-
*/
|
|
415
|
-
public static aiPromptOrgsUsersLanguagesCreate({
|
|
416
|
-
org,
|
|
417
|
-
userId,
|
|
418
|
-
requestBody,
|
|
419
|
-
}: {
|
|
420
|
-
org: string,
|
|
421
|
-
userId: string,
|
|
422
|
-
requestBody: LanguagesView,
|
|
423
|
-
}): CancelablePromise<LanguagesView> {
|
|
424
|
-
return __request(OpenAPI, {
|
|
425
|
-
method: 'POST',
|
|
426
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/languages/',
|
|
427
|
-
path: {
|
|
428
|
-
'org': org,
|
|
429
|
-
'user_id': userId,
|
|
430
|
-
},
|
|
431
|
-
body: requestBody,
|
|
432
|
-
mediaType: 'application/json',
|
|
433
|
-
errors: {
|
|
434
|
-
400: `Invalid data`,
|
|
435
|
-
},
|
|
436
|
-
});
|
|
437
|
-
}
|
|
438
|
-
/**
|
|
439
|
-
* Update a specific prompt language.
|
|
440
|
-
*
|
|
441
|
-
* Args:
|
|
442
|
-
* request: The HTTP request containing the updated language data.
|
|
443
|
-
* org: The organization/tenant identifier.
|
|
444
|
-
* user_id: The ID of the user making the request.
|
|
445
|
-
* language_id: The ID of the language to update.
|
|
446
|
-
*
|
|
447
|
-
* Returns:
|
|
448
|
-
* Response: The updated prompt language.
|
|
449
|
-
*
|
|
450
|
-
* Raises:
|
|
451
|
-
* BadRequest: If the provided data is invalid.
|
|
452
|
-
* NotFound: If the specified language does not exist.
|
|
453
|
-
* @returns LanguagesView
|
|
454
|
-
* @throws ApiError
|
|
455
|
-
*/
|
|
456
|
-
public static aiPromptOrgsUsersLanguagesUpdate({
|
|
457
|
-
languageId,
|
|
458
|
-
org,
|
|
459
|
-
userId,
|
|
460
|
-
requestBody,
|
|
461
|
-
}: {
|
|
462
|
-
languageId: number,
|
|
463
|
-
org: string,
|
|
464
|
-
userId: string,
|
|
465
|
-
requestBody: LanguagesView,
|
|
466
|
-
}): CancelablePromise<LanguagesView> {
|
|
467
|
-
return __request(OpenAPI, {
|
|
468
|
-
method: 'PUT',
|
|
469
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/languages/{language_id}/',
|
|
470
|
-
path: {
|
|
471
|
-
'language_id': languageId,
|
|
472
|
-
'org': org,
|
|
473
|
-
'user_id': userId,
|
|
474
|
-
},
|
|
475
|
-
body: requestBody,
|
|
476
|
-
mediaType: 'application/json',
|
|
477
|
-
errors: {
|
|
478
|
-
400: `Invalid data`,
|
|
479
|
-
404: `Language not found`,
|
|
480
|
-
},
|
|
481
|
-
});
|
|
482
|
-
}
|
|
483
|
-
/**
|
|
484
|
-
* Delete a specific prompt language.
|
|
485
|
-
*
|
|
486
|
-
* Args:
|
|
487
|
-
* request: The HTTP request.
|
|
488
|
-
* org: The organization/tenant identifier.
|
|
489
|
-
* user_id: The ID of the user making the request.
|
|
490
|
-
* language_id: The ID of the language to delete.
|
|
491
|
-
*
|
|
492
|
-
* Returns:
|
|
493
|
-
* Response: A success message if the language was deleted.
|
|
494
|
-
*
|
|
495
|
-
* Raises:
|
|
496
|
-
* NotFound: If the specified language does not exist.
|
|
497
|
-
* @returns void
|
|
498
|
-
* @throws ApiError
|
|
499
|
-
*/
|
|
500
|
-
public static aiPromptOrgsUsersLanguagesDestroy({
|
|
501
|
-
languageId,
|
|
502
|
-
org,
|
|
503
|
-
userId,
|
|
504
|
-
}: {
|
|
505
|
-
languageId: number,
|
|
506
|
-
org: string,
|
|
507
|
-
userId: string,
|
|
508
|
-
}): CancelablePromise<void> {
|
|
509
|
-
return __request(OpenAPI, {
|
|
510
|
-
method: 'DELETE',
|
|
511
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/languages/{language_id}/',
|
|
512
|
-
path: {
|
|
513
|
-
'language_id': languageId,
|
|
514
|
-
'org': org,
|
|
515
|
-
'user_id': userId,
|
|
516
|
-
},
|
|
517
|
-
errors: {
|
|
518
|
-
404: `Language not found`,
|
|
519
|
-
},
|
|
520
|
-
});
|
|
521
|
-
}
|
|
522
|
-
/**
|
|
523
|
-
* Retrieve catalog item memory for a specific user.
|
|
524
|
-
*
|
|
525
|
-
* Args:
|
|
526
|
-
* request: The HTTP request.
|
|
527
|
-
* org: The organization/tenant identifier.
|
|
528
|
-
* user_id: The ID of the user to retrieve catalog item memory for.
|
|
529
|
-
*
|
|
530
|
-
* Returns:
|
|
531
|
-
* Response: The user's catalog item memory entries.
|
|
532
|
-
*
|
|
533
|
-
* Raises:
|
|
534
|
-
* NotFound: If no catalog item memory exists for the user.
|
|
535
|
-
* @returns UserCatalogItemMemoryView
|
|
536
|
-
* @throws ApiError
|
|
537
|
-
*/
|
|
538
|
-
public static aiPromptOrgsUsersMemoryRetrieve({
|
|
539
|
-
org,
|
|
540
|
-
userId,
|
|
541
|
-
}: {
|
|
542
|
-
org: string,
|
|
543
|
-
userId: string,
|
|
544
|
-
}): CancelablePromise<UserCatalogItemMemoryView> {
|
|
545
|
-
return __request(OpenAPI, {
|
|
546
|
-
method: 'GET',
|
|
547
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/memory/',
|
|
548
|
-
path: {
|
|
549
|
-
'org': org,
|
|
550
|
-
'user_id': userId,
|
|
551
|
-
},
|
|
552
|
-
errors: {
|
|
553
|
-
404: `Memory not found`,
|
|
554
|
-
},
|
|
555
|
-
});
|
|
556
|
-
}
|
|
557
|
-
/**
|
|
558
|
-
* Create a new catalog item memory entry for a user.
|
|
559
|
-
*
|
|
560
|
-
* Args:
|
|
561
|
-
* request: The HTTP request containing the catalog item memory data.
|
|
562
|
-
* org: The organization/tenant identifier.
|
|
563
|
-
* user_id: The ID of the user to create catalog item memory for.
|
|
564
|
-
*
|
|
565
|
-
* Returns:
|
|
566
|
-
* Response: The created catalog item memory entry.
|
|
567
|
-
*
|
|
568
|
-
* Raises:
|
|
569
|
-
* BadRequest: If the provided data is invalid.
|
|
570
|
-
* @returns UserCatalogItemMemoryView
|
|
571
|
-
* @throws ApiError
|
|
572
|
-
*/
|
|
573
|
-
public static aiPromptOrgsUsersMemoryCreate({
|
|
574
|
-
org,
|
|
575
|
-
userId,
|
|
576
|
-
requestBody,
|
|
577
|
-
}: {
|
|
578
|
-
org: string,
|
|
579
|
-
userId: string,
|
|
580
|
-
requestBody: UserCatalogItemMemoryView,
|
|
581
|
-
}): CancelablePromise<UserCatalogItemMemoryView> {
|
|
582
|
-
return __request(OpenAPI, {
|
|
583
|
-
method: 'POST',
|
|
584
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/memory/',
|
|
585
|
-
path: {
|
|
586
|
-
'org': org,
|
|
587
|
-
'user_id': userId,
|
|
588
|
-
},
|
|
589
|
-
body: requestBody,
|
|
590
|
-
mediaType: 'application/json',
|
|
591
|
-
errors: {
|
|
592
|
-
400: `Invalid data`,
|
|
593
|
-
},
|
|
594
|
-
});
|
|
595
|
-
}
|
|
596
|
-
/**
|
|
597
|
-
* Delete all catalog item memory for a specific user.
|
|
598
|
-
*
|
|
599
|
-
* Args:
|
|
600
|
-
* request: The HTTP request.
|
|
601
|
-
* org: The organization/tenant identifier.
|
|
602
|
-
* user_id: The ID of the user to delete catalog item memory for.
|
|
603
|
-
*
|
|
604
|
-
* Returns:
|
|
605
|
-
* Response: A success message if the memory was deleted.
|
|
606
|
-
*
|
|
607
|
-
* Raises:
|
|
608
|
-
* NotFound: If no catalog item memory exists for the user.
|
|
609
|
-
* @returns void
|
|
610
|
-
* @throws ApiError
|
|
611
|
-
*/
|
|
612
|
-
public static aiPromptOrgsUsersMemoryDestroy({
|
|
613
|
-
org,
|
|
614
|
-
userId,
|
|
615
|
-
}: {
|
|
616
|
-
org: string,
|
|
617
|
-
userId: string,
|
|
618
|
-
}): CancelablePromise<void> {
|
|
619
|
-
return __request(OpenAPI, {
|
|
620
|
-
method: 'DELETE',
|
|
621
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/memory/',
|
|
622
|
-
path: {
|
|
623
|
-
'org': org,
|
|
624
|
-
'user_id': userId,
|
|
625
|
-
},
|
|
626
|
-
errors: {
|
|
627
|
-
404: `Memory not found`,
|
|
628
|
-
},
|
|
629
|
-
});
|
|
630
|
-
}
|
|
631
|
-
/**
|
|
632
|
-
* Retrieve a user's memory context settings.
|
|
633
|
-
* @returns UserMemoryContextResponse
|
|
634
|
-
* @throws ApiError
|
|
635
|
-
*/
|
|
636
|
-
public static aiPromptOrgsUsersMemoryContextRetrieve({
|
|
637
|
-
org,
|
|
638
|
-
userId,
|
|
639
|
-
}: {
|
|
640
|
-
org: string,
|
|
641
|
-
userId: string,
|
|
642
|
-
}): CancelablePromise<UserMemoryContextResponse> {
|
|
643
|
-
return __request(OpenAPI, {
|
|
644
|
-
method: 'GET',
|
|
645
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/memory-context/',
|
|
646
|
-
path: {
|
|
647
|
-
'org': org,
|
|
648
|
-
'user_id': userId,
|
|
649
|
-
},
|
|
650
|
-
});
|
|
651
|
-
}
|
|
652
|
-
/**
|
|
653
|
-
* Updates the user's memory context settings.
|
|
654
|
-
*
|
|
655
|
-
* Returns:
|
|
656
|
-
*
|
|
657
|
-
* 200: list of user memory context data.
|
|
658
|
-
* @returns UserMemoryContextResponse
|
|
659
|
-
* @throws ApiError
|
|
660
|
-
*/
|
|
661
|
-
public static aiPromptOrgsUsersMemoryContextUpdate({
|
|
662
|
-
org,
|
|
663
|
-
userId,
|
|
664
|
-
requestBody,
|
|
665
|
-
}: {
|
|
666
|
-
org: string,
|
|
667
|
-
userId: string,
|
|
668
|
-
requestBody?: UserMemoryContextRequest,
|
|
669
|
-
}): CancelablePromise<UserMemoryContextResponse> {
|
|
670
|
-
return __request(OpenAPI, {
|
|
671
|
-
method: 'PUT',
|
|
672
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/memory-context/',
|
|
673
|
-
path: {
|
|
674
|
-
'org': org,
|
|
675
|
-
'user_id': userId,
|
|
676
|
-
},
|
|
677
|
-
body: requestBody,
|
|
678
|
-
mediaType: 'application/json',
|
|
679
|
-
});
|
|
680
|
-
}
|
|
681
|
-
/**
|
|
682
|
-
* Retrieve the memory status for a specific user.
|
|
683
|
-
*
|
|
684
|
-
* Args:
|
|
685
|
-
* request: The HTTP request.
|
|
686
|
-
* org: The organization/tenant identifier.
|
|
687
|
-
* user_id: The ID of the user to retrieve memory status for.
|
|
688
|
-
*
|
|
689
|
-
* Returns:
|
|
690
|
-
* Response: The user's memory status.
|
|
691
|
-
*
|
|
692
|
-
* Raises:
|
|
693
|
-
* NotFound: If no memory status exists for the user.
|
|
694
|
-
* @returns MemoryStatusView
|
|
695
|
-
* @throws ApiError
|
|
696
|
-
*/
|
|
697
|
-
public static aiPromptOrgsUsersMemoryStatusRetrieve({
|
|
698
|
-
org,
|
|
699
|
-
userId,
|
|
700
|
-
}: {
|
|
701
|
-
org: string,
|
|
702
|
-
userId: string,
|
|
703
|
-
}): CancelablePromise<MemoryStatusView> {
|
|
704
|
-
return __request(OpenAPI, {
|
|
705
|
-
method: 'GET',
|
|
706
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/memory-status/',
|
|
707
|
-
path: {
|
|
708
|
-
'org': org,
|
|
709
|
-
'user_id': userId,
|
|
710
|
-
},
|
|
711
|
-
errors: {
|
|
712
|
-
404: `Memory status not found`,
|
|
713
|
-
},
|
|
714
|
-
});
|
|
715
|
-
}
|
|
716
|
-
/**
|
|
717
|
-
* Update the memory status for a specific user.
|
|
718
|
-
*
|
|
719
|
-
* Args:
|
|
720
|
-
* request: The HTTP request containing the updated status.
|
|
721
|
-
* org: The organization/tenant identifier.
|
|
722
|
-
* user_id: The ID of the user to update memory status for.
|
|
723
|
-
*
|
|
724
|
-
* Returns:
|
|
725
|
-
* Response: The updated memory status.
|
|
726
|
-
*
|
|
727
|
-
* Raises:
|
|
728
|
-
* BadRequest: If the provided data is invalid.
|
|
729
|
-
* @returns MemoryStatusView
|
|
730
|
-
* @throws ApiError
|
|
731
|
-
*/
|
|
732
|
-
public static aiPromptOrgsUsersMemoryStatusUpdate({
|
|
733
|
-
org,
|
|
734
|
-
userId,
|
|
735
|
-
requestBody,
|
|
736
|
-
}: {
|
|
737
|
-
org: string,
|
|
738
|
-
userId: string,
|
|
739
|
-
requestBody: MemoryStatusRequestView,
|
|
740
|
-
}): CancelablePromise<MemoryStatusView> {
|
|
741
|
-
return __request(OpenAPI, {
|
|
742
|
-
method: 'PUT',
|
|
743
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/memory-status/',
|
|
744
|
-
path: {
|
|
745
|
-
'org': org,
|
|
746
|
-
'user_id': userId,
|
|
747
|
-
},
|
|
748
|
-
body: requestBody,
|
|
749
|
-
mediaType: 'application/json',
|
|
750
|
-
errors: {
|
|
751
|
-
400: `Invalid data`,
|
|
752
|
-
},
|
|
753
|
-
});
|
|
754
|
-
}
|
|
755
|
-
/**
|
|
756
|
-
* Update a specific catalog item memory entry.
|
|
757
|
-
*
|
|
758
|
-
* Args:
|
|
759
|
-
* request: The HTTP request containing the updated catalog item memory data.
|
|
760
|
-
* org: The organization/tenant identifier.
|
|
761
|
-
* user_id: The ID of the user who owns the memory.
|
|
762
|
-
* memory_id: The ID of the specific memory entry to update.
|
|
763
|
-
*
|
|
764
|
-
* Returns:
|
|
765
|
-
* Response: The updated catalog item memory entry.
|
|
766
|
-
*
|
|
767
|
-
* Raises:
|
|
768
|
-
* BadRequest: If the provided data is invalid.
|
|
769
|
-
* NotFound: If the specified memory entry does not exist.
|
|
770
|
-
* @returns UserCatalogItemMemoryView
|
|
771
|
-
* @throws ApiError
|
|
772
|
-
*/
|
|
773
|
-
public static aiPromptOrgsUsersMemoryUpdate({
|
|
774
|
-
memoryId,
|
|
775
|
-
org,
|
|
776
|
-
userId,
|
|
777
|
-
requestBody,
|
|
778
|
-
}: {
|
|
779
|
-
memoryId: number,
|
|
780
|
-
org: string,
|
|
781
|
-
userId: string,
|
|
782
|
-
requestBody: UserCatalogItemMemoryView,
|
|
783
|
-
}): CancelablePromise<UserCatalogItemMemoryView> {
|
|
784
|
-
return __request(OpenAPI, {
|
|
785
|
-
method: 'PUT',
|
|
786
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/memory/{memory_id}/',
|
|
787
|
-
path: {
|
|
788
|
-
'memory_id': memoryId,
|
|
789
|
-
'org': org,
|
|
790
|
-
'user_id': userId,
|
|
791
|
-
},
|
|
792
|
-
body: requestBody,
|
|
793
|
-
mediaType: 'application/json',
|
|
794
|
-
errors: {
|
|
795
|
-
400: `Invalid data`,
|
|
796
|
-
404: `Memory not found`,
|
|
797
|
-
},
|
|
798
|
-
});
|
|
799
|
-
}
|
|
800
|
-
/**
|
|
801
|
-
* Delete a specific catalog item memory entry.
|
|
802
|
-
*
|
|
803
|
-
* Args:
|
|
804
|
-
* request: The HTTP request.
|
|
805
|
-
* org: The organization/tenant identifier.
|
|
806
|
-
* user_id: The ID of the user who owns the memory.
|
|
807
|
-
* memory_id: The ID of the specific memory entry to delete.
|
|
808
|
-
*
|
|
809
|
-
* Returns:
|
|
810
|
-
* Response: A success message if the memory was deleted.
|
|
811
|
-
*
|
|
812
|
-
* Raises:
|
|
813
|
-
* NotFound: If the specified memory entry does not exist.
|
|
814
|
-
* @returns void
|
|
815
|
-
* @throws ApiError
|
|
816
|
-
*/
|
|
817
|
-
public static aiPromptOrgsUsersMemoryDestroy2({
|
|
818
|
-
memoryId,
|
|
819
|
-
org,
|
|
820
|
-
userId,
|
|
821
|
-
}: {
|
|
822
|
-
memoryId: number,
|
|
823
|
-
org: string,
|
|
824
|
-
userId: string,
|
|
825
|
-
}): CancelablePromise<void> {
|
|
826
|
-
return __request(OpenAPI, {
|
|
827
|
-
method: 'DELETE',
|
|
828
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/memory/{memory_id}/',
|
|
829
|
-
path: {
|
|
830
|
-
'memory_id': memoryId,
|
|
831
|
-
'org': org,
|
|
832
|
-
'user_id': userId,
|
|
833
|
-
},
|
|
834
|
-
errors: {
|
|
835
|
-
404: `Memory not found`,
|
|
836
|
-
},
|
|
837
|
-
});
|
|
838
|
-
}
|
|
839
|
-
/**
|
|
840
|
-
* Retrieve metadata for a prompt.
|
|
841
|
-
*
|
|
842
|
-
* Args:
|
|
843
|
-
* request: The HTTP request.
|
|
844
|
-
* org: The organization/tenant identifier.
|
|
845
|
-
* user_id: The ID of the user making the request.
|
|
846
|
-
*
|
|
847
|
-
* Returns:
|
|
848
|
-
* Response: The prompt metadata.
|
|
849
|
-
*
|
|
850
|
-
* Raises:
|
|
851
|
-
* NotFound: If no metadata exists for the specific prompt
|
|
852
|
-
* @returns Metadata
|
|
853
|
-
* @throws ApiError
|
|
854
|
-
*/
|
|
855
|
-
public static aiPromptOrgsUsersMetadataRetrieve({
|
|
856
|
-
org,
|
|
857
|
-
userId,
|
|
858
|
-
}: {
|
|
859
|
-
org: string,
|
|
860
|
-
userId: string,
|
|
861
|
-
}): CancelablePromise<Metadata> {
|
|
862
|
-
return __request(OpenAPI, {
|
|
863
|
-
method: 'GET',
|
|
864
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/metadata',
|
|
865
|
-
path: {
|
|
866
|
-
'org': org,
|
|
867
|
-
'user_id': userId,
|
|
868
|
-
},
|
|
869
|
-
errors: {
|
|
870
|
-
404: `Metadata not found`,
|
|
871
|
-
},
|
|
872
|
-
});
|
|
873
|
-
}
|
|
874
|
-
/**
|
|
875
|
-
* API viewset for managing prompts.
|
|
876
|
-
*
|
|
877
|
-
* This view allows tenant admins and students to create, retrieve, update,
|
|
878
|
-
* and filter prompts based on various parameters.
|
|
879
|
-
*
|
|
880
|
-
* Permissions:
|
|
881
|
-
* - Accessible to both tenant administrators and students
|
|
882
|
-
* @returns Prompt
|
|
883
|
-
* @throws ApiError
|
|
884
|
-
*/
|
|
885
|
-
public static aiPromptOrgsUsersPromptList({
|
|
886
|
-
org,
|
|
887
|
-
userId,
|
|
888
|
-
category,
|
|
889
|
-
createdBy,
|
|
890
|
-
filterBy,
|
|
891
|
-
mentorUniqueId,
|
|
892
|
-
tag,
|
|
893
|
-
visibility,
|
|
894
|
-
}: {
|
|
895
|
-
org: string,
|
|
896
|
-
userId: string,
|
|
897
|
-
/**
|
|
898
|
-
* Category of the prompt
|
|
899
|
-
*/
|
|
900
|
-
category?: number,
|
|
901
|
-
/**
|
|
902
|
-
* Option to filter by username of the prompt creators.
|
|
903
|
-
*/
|
|
904
|
-
createdBy?: string,
|
|
905
|
-
/**
|
|
906
|
-
* Filter options include, date, prompt, default is date
|
|
907
|
-
*/
|
|
908
|
-
filterBy?: string,
|
|
909
|
-
/**
|
|
910
|
-
* Mentor unique id of the prompt
|
|
911
|
-
*/
|
|
912
|
-
mentorUniqueId?: string,
|
|
913
|
-
/**
|
|
914
|
-
* Tag of the prompt
|
|
915
|
-
*/
|
|
916
|
-
tag?: number,
|
|
917
|
-
/**
|
|
918
|
-
* Visibility trype the mentor of the prompt
|
|
919
|
-
*/
|
|
920
|
-
visibility?: string,
|
|
921
|
-
}): CancelablePromise<Array<Prompt>> {
|
|
922
|
-
return __request(OpenAPI, {
|
|
923
|
-
method: 'GET',
|
|
924
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompt/',
|
|
925
|
-
path: {
|
|
926
|
-
'org': org,
|
|
927
|
-
'user_id': userId,
|
|
928
|
-
},
|
|
929
|
-
query: {
|
|
930
|
-
'category': category,
|
|
931
|
-
'created_by': createdBy,
|
|
932
|
-
'filter_by': filterBy,
|
|
933
|
-
'mentor_unique_id': mentorUniqueId,
|
|
934
|
-
'tag': tag,
|
|
935
|
-
'visibility': visibility,
|
|
936
|
-
},
|
|
937
|
-
});
|
|
938
|
-
}
|
|
939
|
-
/**
|
|
940
|
-
* Create a new prompt.
|
|
941
|
-
*
|
|
942
|
-
* Args:
|
|
943
|
-
* request: HTTP request containing prompt data.
|
|
944
|
-
*
|
|
945
|
-
* Returns:
|
|
946
|
-
* Response with created prompt details.
|
|
947
|
-
*
|
|
948
|
-
* Raises:
|
|
949
|
-
* ValidationError: If the input data is invalid.
|
|
950
|
-
* @returns Prompt
|
|
951
|
-
* @throws ApiError
|
|
952
|
-
*/
|
|
953
|
-
public static aiPromptOrgsUsersPromptCreate({
|
|
954
|
-
org,
|
|
955
|
-
userId,
|
|
956
|
-
requestBody,
|
|
957
|
-
category,
|
|
958
|
-
createdBy,
|
|
959
|
-
filterBy,
|
|
960
|
-
mentorUniqueId,
|
|
961
|
-
tag,
|
|
962
|
-
visibility,
|
|
963
|
-
}: {
|
|
964
|
-
org: string,
|
|
965
|
-
userId: string,
|
|
966
|
-
requestBody: Prompt,
|
|
967
|
-
/**
|
|
968
|
-
* Category of the prompt
|
|
969
|
-
*/
|
|
970
|
-
category?: number,
|
|
971
|
-
/**
|
|
972
|
-
* Option to filter by username of the prompt creators.
|
|
973
|
-
*/
|
|
974
|
-
createdBy?: string,
|
|
975
|
-
/**
|
|
976
|
-
* Filter options include, date, prompt, default is date
|
|
977
|
-
*/
|
|
978
|
-
filterBy?: string,
|
|
979
|
-
/**
|
|
980
|
-
* Mentor unique id of the prompt
|
|
981
|
-
*/
|
|
982
|
-
mentorUniqueId?: string,
|
|
983
|
-
/**
|
|
984
|
-
* Tag of the prompt
|
|
985
|
-
*/
|
|
986
|
-
tag?: number,
|
|
987
|
-
/**
|
|
988
|
-
* Visibility trype the mentor of the prompt
|
|
989
|
-
*/
|
|
990
|
-
visibility?: string,
|
|
991
|
-
}): CancelablePromise<Prompt> {
|
|
992
|
-
return __request(OpenAPI, {
|
|
993
|
-
method: 'POST',
|
|
994
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompt/',
|
|
995
|
-
path: {
|
|
996
|
-
'org': org,
|
|
997
|
-
'user_id': userId,
|
|
998
|
-
},
|
|
999
|
-
query: {
|
|
1000
|
-
'category': category,
|
|
1001
|
-
'created_by': createdBy,
|
|
1002
|
-
'filter_by': filterBy,
|
|
1003
|
-
'mentor_unique_id': mentorUniqueId,
|
|
1004
|
-
'tag': tag,
|
|
1005
|
-
'visibility': visibility,
|
|
1006
|
-
},
|
|
1007
|
-
body: requestBody,
|
|
1008
|
-
mediaType: 'application/json',
|
|
1009
|
-
});
|
|
1010
|
-
}
|
|
1011
|
-
/**
|
|
1012
|
-
* API viewset for managing prompts.
|
|
1013
|
-
*
|
|
1014
|
-
* This view allows tenant admins and students to create, retrieve, update,
|
|
1015
|
-
* and filter prompts based on various parameters.
|
|
1016
|
-
*
|
|
1017
|
-
* Permissions:
|
|
1018
|
-
* - Accessible to both tenant administrators and students
|
|
1019
|
-
* @returns Prompt
|
|
1020
|
-
* @throws ApiError
|
|
1021
|
-
*/
|
|
1022
|
-
public static aiPromptOrgsUsersPromptRetrieve({
|
|
1023
|
-
id,
|
|
1024
|
-
org,
|
|
1025
|
-
userId,
|
|
1026
|
-
category,
|
|
1027
|
-
createdBy,
|
|
1028
|
-
filterBy,
|
|
1029
|
-
mentorUniqueId,
|
|
1030
|
-
tag,
|
|
1031
|
-
visibility,
|
|
1032
|
-
}: {
|
|
1033
|
-
/**
|
|
1034
|
-
* A unique integer value identifying this prompt.
|
|
1035
|
-
*/
|
|
1036
|
-
id: number,
|
|
1037
|
-
org: string,
|
|
1038
|
-
userId: string,
|
|
1039
|
-
/**
|
|
1040
|
-
* Category of the prompt
|
|
1041
|
-
*/
|
|
1042
|
-
category?: number,
|
|
1043
|
-
/**
|
|
1044
|
-
* Option to filter by username of the prompt creators.
|
|
1045
|
-
*/
|
|
1046
|
-
createdBy?: string,
|
|
1047
|
-
/**
|
|
1048
|
-
* Filter options include, date, prompt, default is date
|
|
1049
|
-
*/
|
|
1050
|
-
filterBy?: string,
|
|
1051
|
-
/**
|
|
1052
|
-
* Mentor unique id of the prompt
|
|
1053
|
-
*/
|
|
1054
|
-
mentorUniqueId?: string,
|
|
1055
|
-
/**
|
|
1056
|
-
* Tag of the prompt
|
|
1057
|
-
*/
|
|
1058
|
-
tag?: number,
|
|
1059
|
-
/**
|
|
1060
|
-
* Visibility trype the mentor of the prompt
|
|
1061
|
-
*/
|
|
1062
|
-
visibility?: string,
|
|
1063
|
-
}): CancelablePromise<Prompt> {
|
|
1064
|
-
return __request(OpenAPI, {
|
|
1065
|
-
method: 'GET',
|
|
1066
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompt/{id}/',
|
|
1067
|
-
path: {
|
|
1068
|
-
'id': id,
|
|
1069
|
-
'org': org,
|
|
1070
|
-
'user_id': userId,
|
|
1071
|
-
},
|
|
1072
|
-
query: {
|
|
1073
|
-
'category': category,
|
|
1074
|
-
'created_by': createdBy,
|
|
1075
|
-
'filter_by': filterBy,
|
|
1076
|
-
'mentor_unique_id': mentorUniqueId,
|
|
1077
|
-
'tag': tag,
|
|
1078
|
-
'visibility': visibility,
|
|
1079
|
-
},
|
|
1080
|
-
});
|
|
1081
|
-
}
|
|
1082
|
-
/**
|
|
1083
|
-
* Update an existing prompt.
|
|
1084
|
-
*
|
|
1085
|
-
* Args:
|
|
1086
|
-
* request: HTTP request containing updated prompt data.
|
|
1087
|
-
*
|
|
1088
|
-
* Returns:
|
|
1089
|
-
* Response with updated prompt details.
|
|
1090
|
-
*
|
|
1091
|
-
* Raises:
|
|
1092
|
-
* ValidationError: If the input data is invalid.
|
|
1093
|
-
* PermissionDenied: If the prompt is system-generated and cannot be edited.
|
|
1094
|
-
* @returns Prompt
|
|
1095
|
-
* @throws ApiError
|
|
1096
|
-
*/
|
|
1097
|
-
public static aiPromptOrgsUsersPromptUpdate({
|
|
1098
|
-
id,
|
|
1099
|
-
org,
|
|
1100
|
-
userId,
|
|
1101
|
-
requestBody,
|
|
1102
|
-
category,
|
|
1103
|
-
createdBy,
|
|
1104
|
-
filterBy,
|
|
1105
|
-
mentorUniqueId,
|
|
1106
|
-
tag,
|
|
1107
|
-
visibility,
|
|
1108
|
-
}: {
|
|
1109
|
-
/**
|
|
1110
|
-
* A unique integer value identifying this prompt.
|
|
1111
|
-
*/
|
|
1112
|
-
id: number,
|
|
1113
|
-
org: string,
|
|
1114
|
-
userId: string,
|
|
1115
|
-
requestBody: Prompt,
|
|
1116
|
-
/**
|
|
1117
|
-
* Category of the prompt
|
|
1118
|
-
*/
|
|
1119
|
-
category?: number,
|
|
1120
|
-
/**
|
|
1121
|
-
* Option to filter by username of the prompt creators.
|
|
1122
|
-
*/
|
|
1123
|
-
createdBy?: string,
|
|
1124
|
-
/**
|
|
1125
|
-
* Filter options include, date, prompt, default is date
|
|
1126
|
-
*/
|
|
1127
|
-
filterBy?: string,
|
|
1128
|
-
/**
|
|
1129
|
-
* Mentor unique id of the prompt
|
|
1130
|
-
*/
|
|
1131
|
-
mentorUniqueId?: string,
|
|
1132
|
-
/**
|
|
1133
|
-
* Tag of the prompt
|
|
1134
|
-
*/
|
|
1135
|
-
tag?: number,
|
|
1136
|
-
/**
|
|
1137
|
-
* Visibility trype the mentor of the prompt
|
|
1138
|
-
*/
|
|
1139
|
-
visibility?: string,
|
|
1140
|
-
}): CancelablePromise<Prompt> {
|
|
1141
|
-
return __request(OpenAPI, {
|
|
1142
|
-
method: 'PUT',
|
|
1143
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompt/{id}/',
|
|
1144
|
-
path: {
|
|
1145
|
-
'id': id,
|
|
1146
|
-
'org': org,
|
|
1147
|
-
'user_id': userId,
|
|
1148
|
-
},
|
|
1149
|
-
query: {
|
|
1150
|
-
'category': category,
|
|
1151
|
-
'created_by': createdBy,
|
|
1152
|
-
'filter_by': filterBy,
|
|
1153
|
-
'mentor_unique_id': mentorUniqueId,
|
|
1154
|
-
'tag': tag,
|
|
1155
|
-
'visibility': visibility,
|
|
1156
|
-
},
|
|
1157
|
-
body: requestBody,
|
|
1158
|
-
mediaType: 'application/json',
|
|
1159
|
-
});
|
|
1160
|
-
}
|
|
1161
|
-
/**
|
|
1162
|
-
* API viewset for managing prompts.
|
|
1163
|
-
*
|
|
1164
|
-
* This view allows tenant admins and students to create, retrieve, update,
|
|
1165
|
-
* and filter prompts based on various parameters.
|
|
1166
|
-
*
|
|
1167
|
-
* Permissions:
|
|
1168
|
-
* - Accessible to both tenant administrators and students
|
|
1169
|
-
* @returns Prompt
|
|
1170
|
-
* @throws ApiError
|
|
1171
|
-
*/
|
|
1172
|
-
public static aiPromptOrgsUsersPromptPartialUpdate({
|
|
1173
|
-
id,
|
|
1174
|
-
org,
|
|
1175
|
-
userId,
|
|
1176
|
-
category,
|
|
1177
|
-
createdBy,
|
|
1178
|
-
filterBy,
|
|
1179
|
-
mentorUniqueId,
|
|
1180
|
-
tag,
|
|
1181
|
-
visibility,
|
|
1182
|
-
requestBody,
|
|
1183
|
-
}: {
|
|
1184
|
-
/**
|
|
1185
|
-
* A unique integer value identifying this prompt.
|
|
1186
|
-
*/
|
|
1187
|
-
id: number,
|
|
1188
|
-
org: string,
|
|
1189
|
-
userId: string,
|
|
1190
|
-
/**
|
|
1191
|
-
* Category of the prompt
|
|
1192
|
-
*/
|
|
1193
|
-
category?: number,
|
|
1194
|
-
/**
|
|
1195
|
-
* Option to filter by username of the prompt creators.
|
|
1196
|
-
*/
|
|
1197
|
-
createdBy?: string,
|
|
1198
|
-
/**
|
|
1199
|
-
* Filter options include, date, prompt, default is date
|
|
1200
|
-
*/
|
|
1201
|
-
filterBy?: string,
|
|
1202
|
-
/**
|
|
1203
|
-
* Mentor unique id of the prompt
|
|
1204
|
-
*/
|
|
1205
|
-
mentorUniqueId?: string,
|
|
1206
|
-
/**
|
|
1207
|
-
* Tag of the prompt
|
|
1208
|
-
*/
|
|
1209
|
-
tag?: number,
|
|
1210
|
-
/**
|
|
1211
|
-
* Visibility trype the mentor of the prompt
|
|
1212
|
-
*/
|
|
1213
|
-
visibility?: string,
|
|
1214
|
-
requestBody?: PatchedPrompt,
|
|
1215
|
-
}): CancelablePromise<Prompt> {
|
|
1216
|
-
return __request(OpenAPI, {
|
|
1217
|
-
method: 'PATCH',
|
|
1218
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompt/{id}/',
|
|
1219
|
-
path: {
|
|
1220
|
-
'id': id,
|
|
1221
|
-
'org': org,
|
|
1222
|
-
'user_id': userId,
|
|
1223
|
-
},
|
|
1224
|
-
query: {
|
|
1225
|
-
'category': category,
|
|
1226
|
-
'created_by': createdBy,
|
|
1227
|
-
'filter_by': filterBy,
|
|
1228
|
-
'mentor_unique_id': mentorUniqueId,
|
|
1229
|
-
'tag': tag,
|
|
1230
|
-
'visibility': visibility,
|
|
1231
|
-
},
|
|
1232
|
-
body: requestBody,
|
|
1233
|
-
mediaType: 'application/json',
|
|
1234
|
-
});
|
|
1235
|
-
}
|
|
1236
|
-
/**
|
|
1237
|
-
* API viewset for managing prompts.
|
|
1238
|
-
*
|
|
1239
|
-
* This view allows tenant admins and students to create, retrieve, update,
|
|
1240
|
-
* and filter prompts based on various parameters.
|
|
1241
|
-
*
|
|
1242
|
-
* Permissions:
|
|
1243
|
-
* - Accessible to both tenant administrators and students
|
|
1244
|
-
* @returns void
|
|
1245
|
-
* @throws ApiError
|
|
1246
|
-
*/
|
|
1247
|
-
public static aiPromptOrgsUsersPromptDestroy({
|
|
1248
|
-
id,
|
|
1249
|
-
org,
|
|
1250
|
-
userId,
|
|
1251
|
-
category,
|
|
1252
|
-
createdBy,
|
|
1253
|
-
filterBy,
|
|
1254
|
-
mentorUniqueId,
|
|
1255
|
-
tag,
|
|
1256
|
-
visibility,
|
|
1257
|
-
}: {
|
|
1258
|
-
/**
|
|
1259
|
-
* A unique integer value identifying this prompt.
|
|
1260
|
-
*/
|
|
1261
|
-
id: number,
|
|
1262
|
-
org: string,
|
|
1263
|
-
userId: string,
|
|
1264
|
-
/**
|
|
1265
|
-
* Category of the prompt
|
|
1266
|
-
*/
|
|
1267
|
-
category?: number,
|
|
1268
|
-
/**
|
|
1269
|
-
* Option to filter by username of the prompt creators.
|
|
1270
|
-
*/
|
|
1271
|
-
createdBy?: string,
|
|
1272
|
-
/**
|
|
1273
|
-
* Filter options include, date, prompt, default is date
|
|
1274
|
-
*/
|
|
1275
|
-
filterBy?: string,
|
|
1276
|
-
/**
|
|
1277
|
-
* Mentor unique id of the prompt
|
|
1278
|
-
*/
|
|
1279
|
-
mentorUniqueId?: string,
|
|
1280
|
-
/**
|
|
1281
|
-
* Tag of the prompt
|
|
1282
|
-
*/
|
|
1283
|
-
tag?: number,
|
|
1284
|
-
/**
|
|
1285
|
-
* Visibility trype the mentor of the prompt
|
|
1286
|
-
*/
|
|
1287
|
-
visibility?: string,
|
|
1288
|
-
}): CancelablePromise<void> {
|
|
1289
|
-
return __request(OpenAPI, {
|
|
1290
|
-
method: 'DELETE',
|
|
1291
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompt/{id}/',
|
|
1292
|
-
path: {
|
|
1293
|
-
'id': id,
|
|
1294
|
-
'org': org,
|
|
1295
|
-
'user_id': userId,
|
|
1296
|
-
},
|
|
1297
|
-
query: {
|
|
1298
|
-
'category': category,
|
|
1299
|
-
'created_by': createdBy,
|
|
1300
|
-
'filter_by': filterBy,
|
|
1301
|
-
'mentor_unique_id': mentorUniqueId,
|
|
1302
|
-
'tag': tag,
|
|
1303
|
-
'visibility': visibility,
|
|
1304
|
-
},
|
|
1305
|
-
});
|
|
1306
|
-
}
|
|
1307
|
-
/**
|
|
1308
|
-
* Retrieve a list of prompt categories.
|
|
1309
|
-
*
|
|
1310
|
-
* Query Parameters:
|
|
1311
|
-
* - filter_by (optional): Sorts categories by name if set to "name".
|
|
1312
|
-
*
|
|
1313
|
-
* Args:
|
|
1314
|
-
* request: The HTTP request.
|
|
1315
|
-
* org: Organization key identifier.
|
|
1316
|
-
*
|
|
1317
|
-
* Returns:
|
|
1318
|
-
* - 200: List of prompt categories.
|
|
1319
|
-
* - 400: If query parameters are invalid.
|
|
1320
|
-
* @returns PromptCategory
|
|
1321
|
-
* @throws ApiError
|
|
1322
|
-
*/
|
|
1323
|
-
public static aiPromptOrgsUsersPromptsCategoryRetrieve({
|
|
1324
|
-
org,
|
|
1325
|
-
userId,
|
|
1326
|
-
filterBy,
|
|
1327
|
-
}: {
|
|
1328
|
-
org: string,
|
|
1329
|
-
userId: string,
|
|
1330
|
-
/**
|
|
1331
|
-
* Filter options include, date, name, default is date
|
|
1332
|
-
*/
|
|
1333
|
-
filterBy?: string,
|
|
1334
|
-
}): CancelablePromise<PromptCategory> {
|
|
1335
|
-
return __request(OpenAPI, {
|
|
1336
|
-
method: 'GET',
|
|
1337
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompts/category/',
|
|
1338
|
-
path: {
|
|
1339
|
-
'org': org,
|
|
1340
|
-
'user_id': userId,
|
|
1341
|
-
},
|
|
1342
|
-
query: {
|
|
1343
|
-
'filter_by': filterBy,
|
|
1344
|
-
},
|
|
1345
|
-
});
|
|
1346
|
-
}
|
|
1347
|
-
/**
|
|
1348
|
-
* Create a new prompt category.
|
|
1349
|
-
*
|
|
1350
|
-
* Args:
|
|
1351
|
-
* request: The HTTP request containing category information.
|
|
1352
|
-
* org: Organization key identifier.
|
|
1353
|
-
* user_id: User performing the request.
|
|
1354
|
-
*
|
|
1355
|
-
* Returns:
|
|
1356
|
-
* - 201: Created prompt category.
|
|
1357
|
-
* - 401: If the user is not a tenant admin.
|
|
1358
|
-
* - 400: If request data is invalid.
|
|
1359
|
-
* @returns PromptCategory Created prompt category
|
|
1360
|
-
* @throws ApiError
|
|
1361
|
-
*/
|
|
1362
|
-
public static aiPromptOrgsUsersPromptsCategoryCreate({
|
|
1363
|
-
org,
|
|
1364
|
-
userId,
|
|
1365
|
-
requestBody,
|
|
1366
|
-
}: {
|
|
1367
|
-
org: string,
|
|
1368
|
-
userId: string,
|
|
1369
|
-
requestBody: PromptCategory,
|
|
1370
|
-
}): CancelablePromise<PromptCategory> {
|
|
1371
|
-
return __request(OpenAPI, {
|
|
1372
|
-
method: 'POST',
|
|
1373
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompts/category/',
|
|
1374
|
-
path: {
|
|
1375
|
-
'org': org,
|
|
1376
|
-
'user_id': userId,
|
|
1377
|
-
},
|
|
1378
|
-
body: requestBody,
|
|
1379
|
-
mediaType: 'application/json',
|
|
1380
|
-
});
|
|
1381
|
-
}
|
|
1382
|
-
/**
|
|
1383
|
-
* Delete a prompt category.
|
|
1384
|
-
*
|
|
1385
|
-
* Args:
|
|
1386
|
-
* request: The HTTP request containing the category to delete.
|
|
1387
|
-
* org: Organization key identifier.
|
|
1388
|
-
* user_id: User performing the request.
|
|
1389
|
-
*
|
|
1390
|
-
* Returns:
|
|
1391
|
-
* - 204: No Content (successful deletion).
|
|
1392
|
-
* - 401: If the user is not a tenant admin.
|
|
1393
|
-
* - 400: If request data is invalid.
|
|
1394
|
-
* - 404: If the category does not exist.
|
|
1395
|
-
* @returns void
|
|
1396
|
-
* @throws ApiError
|
|
1397
|
-
*/
|
|
1398
|
-
public static aiPromptOrgsUsersPromptsCategoryDestroy({
|
|
1399
|
-
org,
|
|
1400
|
-
userId,
|
|
1401
|
-
}: {
|
|
1402
|
-
org: string,
|
|
1403
|
-
userId: string,
|
|
1404
|
-
}): CancelablePromise<void> {
|
|
1405
|
-
return __request(OpenAPI, {
|
|
1406
|
-
method: 'DELETE',
|
|
1407
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompts/category/',
|
|
1408
|
-
path: {
|
|
1409
|
-
'org': org,
|
|
1410
|
-
'user_id': userId,
|
|
1411
|
-
},
|
|
1412
|
-
errors: {
|
|
1413
|
-
400: `Invalid request data.`,
|
|
1414
|
-
404: `Prompt category not found.`,
|
|
1415
|
-
},
|
|
1416
|
-
});
|
|
1417
|
-
}
|
|
1418
|
-
/**
|
|
1419
|
-
* API viewset for managing prompts.
|
|
1420
|
-
*
|
|
1421
|
-
* This view allows anyone to retrieve,
|
|
1422
|
-
* and filter prompts based on various parameters.
|
|
1423
|
-
*
|
|
1424
|
-
* Permissions:
|
|
1425
|
-
* - Accessible to anyone
|
|
1426
|
-
* @returns Prompt
|
|
1427
|
-
* @throws ApiError
|
|
1428
|
-
*/
|
|
1429
|
-
public static aiPromptOrgsUsersPromptsPublicList({
|
|
1430
|
-
org,
|
|
1431
|
-
userId,
|
|
1432
|
-
category,
|
|
1433
|
-
createdBy,
|
|
1434
|
-
filterBy,
|
|
1435
|
-
mentorUniqueId,
|
|
1436
|
-
tag,
|
|
1437
|
-
visibility,
|
|
1438
|
-
}: {
|
|
1439
|
-
org: string,
|
|
1440
|
-
userId: string,
|
|
1441
|
-
/**
|
|
1442
|
-
* Category of the prompt
|
|
1443
|
-
*/
|
|
1444
|
-
category?: number,
|
|
1445
|
-
/**
|
|
1446
|
-
* Option to filter by username of the prompt creators.
|
|
1447
|
-
*/
|
|
1448
|
-
createdBy?: string,
|
|
1449
|
-
/**
|
|
1450
|
-
* Filter options include, date, prompt, default is date
|
|
1451
|
-
*/
|
|
1452
|
-
filterBy?: string,
|
|
1453
|
-
/**
|
|
1454
|
-
* Mentor unique id of the prompt
|
|
1455
|
-
*/
|
|
1456
|
-
mentorUniqueId?: string,
|
|
1457
|
-
/**
|
|
1458
|
-
* Tag of the prompt
|
|
1459
|
-
*/
|
|
1460
|
-
tag?: number,
|
|
1461
|
-
/**
|
|
1462
|
-
* Visibility trype the mentor of the prompt
|
|
1463
|
-
*/
|
|
1464
|
-
visibility?: string,
|
|
1465
|
-
}): CancelablePromise<Array<Prompt>> {
|
|
1466
|
-
return __request(OpenAPI, {
|
|
1467
|
-
method: 'GET',
|
|
1468
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompts/public/',
|
|
1469
|
-
path: {
|
|
1470
|
-
'org': org,
|
|
1471
|
-
'user_id': userId,
|
|
1472
|
-
},
|
|
1473
|
-
query: {
|
|
1474
|
-
'category': category,
|
|
1475
|
-
'created_by': createdBy,
|
|
1476
|
-
'filter_by': filterBy,
|
|
1477
|
-
'mentor_unique_id': mentorUniqueId,
|
|
1478
|
-
'tag': tag,
|
|
1479
|
-
'visibility': visibility,
|
|
1480
|
-
},
|
|
1481
|
-
});
|
|
1482
|
-
}
|
|
1483
|
-
/**
|
|
1484
|
-
* API viewset for managing prompts.
|
|
1485
|
-
*
|
|
1486
|
-
* This view allows anyone to retrieve,
|
|
1487
|
-
* and filter prompts based on various parameters.
|
|
1488
|
-
*
|
|
1489
|
-
* Permissions:
|
|
1490
|
-
* - Accessible to anyone
|
|
1491
|
-
* @returns Prompt
|
|
1492
|
-
* @throws ApiError
|
|
1493
|
-
*/
|
|
1494
|
-
public static aiPromptOrgsUsersPromptsPublicRetrieve({
|
|
1495
|
-
id,
|
|
1496
|
-
org,
|
|
1497
|
-
userId,
|
|
1498
|
-
category,
|
|
1499
|
-
createdBy,
|
|
1500
|
-
filterBy,
|
|
1501
|
-
mentorUniqueId,
|
|
1502
|
-
tag,
|
|
1503
|
-
visibility,
|
|
1504
|
-
}: {
|
|
1505
|
-
/**
|
|
1506
|
-
* A unique integer value identifying this prompt.
|
|
1507
|
-
*/
|
|
1508
|
-
id: number,
|
|
1509
|
-
org: string,
|
|
1510
|
-
userId: string,
|
|
1511
|
-
/**
|
|
1512
|
-
* Category of the prompt
|
|
1513
|
-
*/
|
|
1514
|
-
category?: number,
|
|
1515
|
-
/**
|
|
1516
|
-
* Option to filter by username of the prompt creators.
|
|
1517
|
-
*/
|
|
1518
|
-
createdBy?: string,
|
|
1519
|
-
/**
|
|
1520
|
-
* Filter options include, date, prompt, default is date
|
|
1521
|
-
*/
|
|
1522
|
-
filterBy?: string,
|
|
1523
|
-
/**
|
|
1524
|
-
* Mentor unique id of the prompt
|
|
1525
|
-
*/
|
|
1526
|
-
mentorUniqueId?: string,
|
|
1527
|
-
/**
|
|
1528
|
-
* Tag of the prompt
|
|
1529
|
-
*/
|
|
1530
|
-
tag?: number,
|
|
1531
|
-
/**
|
|
1532
|
-
* Visibility trype the mentor of the prompt
|
|
1533
|
-
*/
|
|
1534
|
-
visibility?: string,
|
|
1535
|
-
}): CancelablePromise<Prompt> {
|
|
1536
|
-
return __request(OpenAPI, {
|
|
1537
|
-
method: 'GET',
|
|
1538
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompts/public/{id}/',
|
|
1539
|
-
path: {
|
|
1540
|
-
'id': id,
|
|
1541
|
-
'org': org,
|
|
1542
|
-
'user_id': userId,
|
|
1543
|
-
},
|
|
1544
|
-
query: {
|
|
1545
|
-
'category': category,
|
|
1546
|
-
'created_by': createdBy,
|
|
1547
|
-
'filter_by': filterBy,
|
|
1548
|
-
'mentor_unique_id': mentorUniqueId,
|
|
1549
|
-
'tag': tag,
|
|
1550
|
-
'visibility': visibility,
|
|
1551
|
-
},
|
|
1552
|
-
});
|
|
1553
|
-
}
|
|
1554
|
-
/**
|
|
1555
|
-
* Retrieve guided prompts for a chat session
|
|
1556
|
-
* Fetches AI-generated guided prompts for a given session and organization.
|
|
1557
|
-
* @returns GuidedPromptsResponse
|
|
1558
|
-
* @throws ApiError
|
|
1559
|
-
*/
|
|
1560
|
-
public static aiPromptOrgsUsersSessionsGuidedPromptsRetrieve({
|
|
1561
|
-
org,
|
|
1562
|
-
sessionId,
|
|
1563
|
-
userId,
|
|
1564
|
-
count = 5,
|
|
1565
|
-
}: {
|
|
1566
|
-
org: string,
|
|
1567
|
-
sessionId: string,
|
|
1568
|
-
userId: string,
|
|
1569
|
-
count?: number,
|
|
1570
|
-
}): CancelablePromise<GuidedPromptsResponse> {
|
|
1571
|
-
return __request(OpenAPI, {
|
|
1572
|
-
method: 'GET',
|
|
1573
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/sessions/{session_id}/guided-prompts/',
|
|
1574
|
-
path: {
|
|
1575
|
-
'org': org,
|
|
1576
|
-
'session_id': sessionId,
|
|
1577
|
-
'user_id': userId,
|
|
1578
|
-
},
|
|
1579
|
-
query: {
|
|
1580
|
-
'count': count,
|
|
1581
|
-
},
|
|
1582
|
-
});
|
|
1583
|
-
}
|
|
1584
|
-
/**
|
|
1585
|
-
* Endpoint for getting prompt styles.
|
|
1586
|
-
*
|
|
1587
|
-
* Accessible to tenant admins and students.
|
|
1588
|
-
*
|
|
1589
|
-
* Returns:
|
|
1590
|
-
*
|
|
1591
|
-
* 200: List of styles.
|
|
1592
|
-
* @returns StylesView
|
|
1593
|
-
* @throws ApiError
|
|
1594
|
-
*/
|
|
1595
|
-
public static aiPromptOrgsUsersStylesRetrieve({
|
|
1596
|
-
org,
|
|
1597
|
-
userId,
|
|
1598
|
-
}: {
|
|
1599
|
-
org: string,
|
|
1600
|
-
userId: string,
|
|
1601
|
-
}): CancelablePromise<StylesView> {
|
|
1602
|
-
return __request(OpenAPI, {
|
|
1603
|
-
method: 'GET',
|
|
1604
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/styles/',
|
|
1605
|
-
path: {
|
|
1606
|
-
'org': org,
|
|
1607
|
-
'user_id': userId,
|
|
1608
|
-
},
|
|
1609
|
-
});
|
|
1610
|
-
}
|
|
1611
|
-
/**
|
|
1612
|
-
* Endpoint for Adding prompt style.
|
|
1613
|
-
*
|
|
1614
|
-
* Accessible to tenant admins only.
|
|
1615
|
-
*
|
|
1616
|
-
* Returns:
|
|
1617
|
-
*
|
|
1618
|
-
* 201: style Object.
|
|
1619
|
-
*
|
|
1620
|
-
* 400: When data is not valid.
|
|
1621
|
-
* @returns StylesView
|
|
1622
|
-
* @throws ApiError
|
|
1623
|
-
*/
|
|
1624
|
-
public static aiPromptOrgsUsersStylesCreate({
|
|
1625
|
-
org,
|
|
1626
|
-
userId,
|
|
1627
|
-
requestBody,
|
|
1628
|
-
}: {
|
|
1629
|
-
org: string,
|
|
1630
|
-
userId: string,
|
|
1631
|
-
requestBody: StylesView,
|
|
1632
|
-
}): CancelablePromise<StylesView> {
|
|
1633
|
-
return __request(OpenAPI, {
|
|
1634
|
-
method: 'POST',
|
|
1635
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/styles/',
|
|
1636
|
-
path: {
|
|
1637
|
-
'org': org,
|
|
1638
|
-
'user_id': userId,
|
|
1639
|
-
},
|
|
1640
|
-
body: requestBody,
|
|
1641
|
-
mediaType: 'application/json',
|
|
1642
|
-
});
|
|
1643
|
-
}
|
|
1644
|
-
/**
|
|
1645
|
-
* Endpoint for Adding prompt style.
|
|
1646
|
-
*
|
|
1647
|
-
* Accessible to tenant admins only.
|
|
1648
|
-
*
|
|
1649
|
-
* Returns:
|
|
1650
|
-
*
|
|
1651
|
-
* 200: style Object.
|
|
1652
|
-
*
|
|
1653
|
-
* 400: When data is not valid.
|
|
1654
|
-
* @returns StylesView
|
|
1655
|
-
* @throws ApiError
|
|
1656
|
-
*/
|
|
1657
|
-
public static aiPromptOrgsUsersStylesUpdate({
|
|
1658
|
-
org,
|
|
1659
|
-
styleId,
|
|
1660
|
-
userId,
|
|
1661
|
-
requestBody,
|
|
1662
|
-
}: {
|
|
1663
|
-
org: string,
|
|
1664
|
-
styleId: number,
|
|
1665
|
-
userId: string,
|
|
1666
|
-
requestBody: StylesView,
|
|
1667
|
-
}): CancelablePromise<StylesView> {
|
|
1668
|
-
return __request(OpenAPI, {
|
|
1669
|
-
method: 'PUT',
|
|
1670
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/styles/{style_id}/',
|
|
1671
|
-
path: {
|
|
1672
|
-
'org': org,
|
|
1673
|
-
'style_id': styleId,
|
|
1674
|
-
'user_id': userId,
|
|
1675
|
-
},
|
|
1676
|
-
body: requestBody,
|
|
1677
|
-
mediaType: 'application/json',
|
|
1678
|
-
});
|
|
1679
|
-
}
|
|
1680
|
-
/**
|
|
1681
|
-
* Endpoint for deleting prompt style.
|
|
1682
|
-
*
|
|
1683
|
-
* Accessible to tenant admins and students.
|
|
1684
|
-
*
|
|
1685
|
-
* Returns:
|
|
1686
|
-
*
|
|
1687
|
-
* 204: No response data.
|
|
1688
|
-
*
|
|
1689
|
-
* 400: When data is not valid.
|
|
1690
|
-
* @returns void
|
|
1691
|
-
* @throws ApiError
|
|
1692
|
-
*/
|
|
1693
|
-
public static aiPromptOrgsUsersStylesDestroy({
|
|
1694
|
-
org,
|
|
1695
|
-
styleId,
|
|
1696
|
-
userId,
|
|
1697
|
-
}: {
|
|
1698
|
-
org: string,
|
|
1699
|
-
styleId: number,
|
|
1700
|
-
userId: string,
|
|
1701
|
-
}): CancelablePromise<void> {
|
|
1702
|
-
return __request(OpenAPI, {
|
|
1703
|
-
method: 'DELETE',
|
|
1704
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/styles/{style_id}/',
|
|
1705
|
-
path: {
|
|
1706
|
-
'org': org,
|
|
1707
|
-
'style_id': styleId,
|
|
1708
|
-
'user_id': userId,
|
|
1709
|
-
},
|
|
1710
|
-
});
|
|
1711
|
-
}
|
|
1712
|
-
/**
|
|
1713
|
-
* Endpoint for getting prompt tags.
|
|
1714
|
-
*
|
|
1715
|
-
* Accessible to tenant admins and students.
|
|
1716
|
-
*
|
|
1717
|
-
* Returns:
|
|
1718
|
-
*
|
|
1719
|
-
* 200: List of tags.
|
|
1720
|
-
* @returns TagsView
|
|
1721
|
-
* @throws ApiError
|
|
1722
|
-
*/
|
|
1723
|
-
public static aiPromptOrgsUsersTagsRetrieve({
|
|
1724
|
-
org,
|
|
1725
|
-
userId,
|
|
1726
|
-
}: {
|
|
1727
|
-
org: string,
|
|
1728
|
-
userId: string,
|
|
1729
|
-
}): CancelablePromise<TagsView> {
|
|
1730
|
-
return __request(OpenAPI, {
|
|
1731
|
-
method: 'GET',
|
|
1732
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/tags/',
|
|
1733
|
-
path: {
|
|
1734
|
-
'org': org,
|
|
1735
|
-
'user_id': userId,
|
|
1736
|
-
},
|
|
1737
|
-
});
|
|
1738
|
-
}
|
|
1739
|
-
/**
|
|
1740
|
-
* Endpoint for Adding prompt tag.
|
|
1741
|
-
*
|
|
1742
|
-
* Accessible to tenant admins and students.
|
|
1743
|
-
*
|
|
1744
|
-
* Returns:
|
|
1745
|
-
*
|
|
1746
|
-
* 201: tag Object.
|
|
1747
|
-
*
|
|
1748
|
-
* 400: When data is not valid.
|
|
1749
|
-
*
|
|
1750
|
-
*
|
|
1751
|
-
*
|
|
1752
|
-
* Example:
|
|
1753
|
-
*
|
|
1754
|
-
* POST: /api/ai-prompt/orgs/main/users/johndoe/tags/
|
|
1755
|
-
*
|
|
1756
|
-
* Request: Response: {
|
|
1757
|
-
* "name": "Programming",
|
|
1758
|
-
* "description": "tags for programing prompts"
|
|
1759
|
-
* }
|
|
1760
|
-
*
|
|
1761
|
-
* Response: {
|
|
1762
|
-
* "id": 1,
|
|
1763
|
-
* "name": "Programming",
|
|
1764
|
-
* "description": "tags for programing prompts"
|
|
1765
|
-
* }
|
|
1766
|
-
* @returns TagsView
|
|
1767
|
-
* @throws ApiError
|
|
1768
|
-
*/
|
|
1769
|
-
public static aiPromptOrgsUsersTagsCreate({
|
|
1770
|
-
org,
|
|
1771
|
-
userId,
|
|
1772
|
-
requestBody,
|
|
1773
|
-
}: {
|
|
1774
|
-
org: string,
|
|
1775
|
-
userId: string,
|
|
1776
|
-
requestBody: TagsView,
|
|
1777
|
-
}): CancelablePromise<TagsView> {
|
|
1778
|
-
return __request(OpenAPI, {
|
|
1779
|
-
method: 'POST',
|
|
1780
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/tags/',
|
|
1781
|
-
path: {
|
|
1782
|
-
'org': org,
|
|
1783
|
-
'user_id': userId,
|
|
1784
|
-
},
|
|
1785
|
-
body: requestBody,
|
|
1786
|
-
mediaType: 'application/json',
|
|
1787
|
-
});
|
|
1788
|
-
}
|
|
1789
|
-
/**
|
|
1790
|
-
* Endpoint for updating prompt tag.
|
|
1791
|
-
*
|
|
1792
|
-
* Accessible to tenant admins and students.
|
|
1793
|
-
*
|
|
1794
|
-
* Returns:
|
|
1795
|
-
*
|
|
1796
|
-
* 200: tag Object.
|
|
1797
|
-
*
|
|
1798
|
-
* 400: When data is not valid.
|
|
1799
|
-
* @returns TagsView
|
|
1800
|
-
* @throws ApiError
|
|
1801
|
-
*/
|
|
1802
|
-
public static aiPromptOrgsUsersTagsUpdate({
|
|
1803
|
-
org,
|
|
1804
|
-
tagId,
|
|
1805
|
-
userId,
|
|
1806
|
-
requestBody,
|
|
1807
|
-
}: {
|
|
1808
|
-
org: string,
|
|
1809
|
-
tagId: number,
|
|
1810
|
-
userId: string,
|
|
1811
|
-
requestBody: TagsView,
|
|
1812
|
-
}): CancelablePromise<TagsView> {
|
|
1813
|
-
return __request(OpenAPI, {
|
|
1814
|
-
method: 'PUT',
|
|
1815
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/tags/{tag_id}/',
|
|
1816
|
-
path: {
|
|
1817
|
-
'org': org,
|
|
1818
|
-
'tag_id': tagId,
|
|
1819
|
-
'user_id': userId,
|
|
1820
|
-
},
|
|
1821
|
-
body: requestBody,
|
|
1822
|
-
mediaType: 'application/json',
|
|
1823
|
-
});
|
|
1824
|
-
}
|
|
1825
|
-
/**
|
|
1826
|
-
* Endpoint for deleting prompt tag.
|
|
1827
|
-
*
|
|
1828
|
-
* Accessible to tenant admins and students.
|
|
1829
|
-
*
|
|
1830
|
-
* Returns:
|
|
1831
|
-
*
|
|
1832
|
-
* 204: No response data.
|
|
1833
|
-
*
|
|
1834
|
-
* 400: When data is not valid.
|
|
1835
|
-
* @returns void
|
|
1836
|
-
* @throws ApiError
|
|
1837
|
-
*/
|
|
1838
|
-
public static aiPromptOrgsUsersTagsDestroy({
|
|
1839
|
-
org,
|
|
1840
|
-
tagId,
|
|
1841
|
-
userId,
|
|
1842
|
-
}: {
|
|
1843
|
-
org: string,
|
|
1844
|
-
tagId: number,
|
|
1845
|
-
userId: string,
|
|
1846
|
-
}): CancelablePromise<void> {
|
|
1847
|
-
return __request(OpenAPI, {
|
|
1848
|
-
method: 'DELETE',
|
|
1849
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/tags/{tag_id}/',
|
|
1850
|
-
path: {
|
|
1851
|
-
'org': org,
|
|
1852
|
-
'tag_id': tagId,
|
|
1853
|
-
'user_id': userId,
|
|
1854
|
-
},
|
|
1855
|
-
});
|
|
1856
|
-
}
|
|
1857
|
-
/**
|
|
1858
|
-
* Endpoint for getting prompt tones.
|
|
1859
|
-
*
|
|
1860
|
-
* Accessible to tenant admins and students.
|
|
1861
|
-
*
|
|
1862
|
-
* Returns:
|
|
1863
|
-
*
|
|
1864
|
-
* 200: List of tones.
|
|
1865
|
-
* @returns TonesView
|
|
1866
|
-
* @throws ApiError
|
|
1867
|
-
*/
|
|
1868
|
-
public static aiPromptOrgsUsersTonesRetrieve({
|
|
1869
|
-
org,
|
|
1870
|
-
userId,
|
|
1871
|
-
}: {
|
|
1872
|
-
org: string,
|
|
1873
|
-
userId: string,
|
|
1874
|
-
}): CancelablePromise<TonesView> {
|
|
1875
|
-
return __request(OpenAPI, {
|
|
1876
|
-
method: 'GET',
|
|
1877
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/tones/',
|
|
1878
|
-
path: {
|
|
1879
|
-
'org': org,
|
|
1880
|
-
'user_id': userId,
|
|
1881
|
-
},
|
|
1882
|
-
});
|
|
1883
|
-
}
|
|
1884
|
-
/**
|
|
1885
|
-
* Endpoint for Adding prompt tone.
|
|
1886
|
-
*
|
|
1887
|
-
* Accessible to tenant admins only.
|
|
1888
|
-
*
|
|
1889
|
-
* Returns:
|
|
1890
|
-
*
|
|
1891
|
-
* 201: tone Object.
|
|
1892
|
-
*
|
|
1893
|
-
* 400: When data is not valid.
|
|
1894
|
-
* @returns TonesView
|
|
1895
|
-
* @throws ApiError
|
|
1896
|
-
*/
|
|
1897
|
-
public static aiPromptOrgsUsersTonesCreate({
|
|
1898
|
-
org,
|
|
1899
|
-
userId,
|
|
1900
|
-
requestBody,
|
|
1901
|
-
}: {
|
|
1902
|
-
org: string,
|
|
1903
|
-
userId: string,
|
|
1904
|
-
requestBody?: TonesView,
|
|
1905
|
-
}): CancelablePromise<TonesView> {
|
|
1906
|
-
return __request(OpenAPI, {
|
|
1907
|
-
method: 'POST',
|
|
1908
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/tones/',
|
|
1909
|
-
path: {
|
|
1910
|
-
'org': org,
|
|
1911
|
-
'user_id': userId,
|
|
1912
|
-
},
|
|
1913
|
-
body: requestBody,
|
|
1914
|
-
mediaType: 'application/json',
|
|
1915
|
-
});
|
|
1916
|
-
}
|
|
1917
|
-
/**
|
|
1918
|
-
* Endpoint for updating prompt tone.
|
|
1919
|
-
*
|
|
1920
|
-
* Accessible to tenant admins only.
|
|
1921
|
-
*
|
|
1922
|
-
* Returns:
|
|
1923
|
-
*
|
|
1924
|
-
* 200: tone Object.
|
|
1925
|
-
*
|
|
1926
|
-
* 400: When data is not valid.
|
|
1927
|
-
* @returns TonesView
|
|
1928
|
-
* @throws ApiError
|
|
1929
|
-
*/
|
|
1930
|
-
public static aiPromptOrgsUsersTonesUpdate({
|
|
1931
|
-
org,
|
|
1932
|
-
toneId,
|
|
1933
|
-
userId,
|
|
1934
|
-
requestBody,
|
|
1935
|
-
}: {
|
|
1936
|
-
org: string,
|
|
1937
|
-
toneId: number,
|
|
1938
|
-
userId: string,
|
|
1939
|
-
requestBody?: TonesView,
|
|
1940
|
-
}): CancelablePromise<TonesView> {
|
|
1941
|
-
return __request(OpenAPI, {
|
|
1942
|
-
method: 'PUT',
|
|
1943
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/tones/{tone_id}/',
|
|
1944
|
-
path: {
|
|
1945
|
-
'org': org,
|
|
1946
|
-
'tone_id': toneId,
|
|
1947
|
-
'user_id': userId,
|
|
1948
|
-
},
|
|
1949
|
-
body: requestBody,
|
|
1950
|
-
mediaType: 'application/json',
|
|
1951
|
-
});
|
|
1952
|
-
}
|
|
1953
|
-
/**
|
|
1954
|
-
* Endpoint for deleting prompt tone.
|
|
1955
|
-
*
|
|
1956
|
-
* Accessible to tenant admins and students.
|
|
1957
|
-
*
|
|
1958
|
-
* Returns:
|
|
1959
|
-
*
|
|
1960
|
-
* 204: No response data.
|
|
1961
|
-
*
|
|
1962
|
-
* 400: When data is not valid.
|
|
1963
|
-
* @returns void
|
|
1964
|
-
* @throws ApiError
|
|
1965
|
-
*/
|
|
1966
|
-
public static aiPromptOrgsUsersTonesDestroy({
|
|
1967
|
-
org,
|
|
1968
|
-
toneId,
|
|
1969
|
-
userId,
|
|
1970
|
-
}: {
|
|
1971
|
-
org: string,
|
|
1972
|
-
toneId: number,
|
|
1973
|
-
userId: string,
|
|
1974
|
-
}): CancelablePromise<void> {
|
|
1975
|
-
return __request(OpenAPI, {
|
|
1976
|
-
method: 'DELETE',
|
|
1977
|
-
url: '/api/ai-prompt/orgs/{org}/users/{user_id}/tones/{tone_id}/',
|
|
1978
|
-
path: {
|
|
1979
|
-
'org': org,
|
|
1980
|
-
'tone_id': toneId,
|
|
1981
|
-
'user_id': userId,
|
|
1982
|
-
},
|
|
1983
|
-
});
|
|
1984
|
-
}
|
|
1985
|
-
}
|