@iblai/iblai-api 3.54.5-core → 3.55.0-ai-plus

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.
Files changed (678) hide show
  1. package/dist/index.cjs.js +17103 -114
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +17095 -115
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.umd.js +17103 -114
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/types/index.d.ts +331 -2
  8. package/dist/types/models/AIGeneratedImage.d.ts +13 -0
  9. package/dist/types/models/AIUserProfileMemoryRelation.d.ts +4 -0
  10. package/dist/types/models/AIUserProfileRequest.d.ts +4 -0
  11. package/dist/types/models/APITokenCost.d.ts +14 -0
  12. package/dist/types/models/AccessEnum.d.ts +8 -0
  13. package/dist/types/models/AlignMentorBubbleEnum.d.ts +8 -0
  14. package/dist/types/models/AnalyticsOverview.d.ts +7 -0
  15. package/dist/types/models/Answer.d.ts +11 -0
  16. package/dist/types/models/AssumedKnowledge.d.ts +4 -0
  17. package/dist/types/models/AssumedKnowledgeLevel.d.ts +4 -0
  18. package/dist/types/models/AudioToTextRequest.d.ts +3 -0
  19. package/dist/types/models/AudioToTextResponse.d.ts +3 -0
  20. package/dist/types/models/Bot.d.ts +15 -0
  21. package/dist/types/models/BotCommand.d.ts +6 -0
  22. package/dist/types/models/BotCreate.d.ts +12 -0
  23. package/dist/types/models/CallAuthenticationRequest.d.ts +13 -0
  24. package/dist/types/models/CallAuthenticationResponse.d.ts +21 -0
  25. package/dist/types/models/CallConfiguration.d.ts +26 -0
  26. package/dist/types/models/CallConfigurationModeEnum.d.ts +8 -0
  27. package/dist/types/models/ChatHistory.d.ts +8 -0
  28. package/dist/types/models/ChatHistoryFilterData.d.ts +9 -0
  29. package/dist/types/models/ChatHistoryFilterUser.d.ts +5 -0
  30. package/dist/types/models/ChatHistoryItem.d.ts +5 -0
  31. package/dist/types/models/ChatHistorySessionId.d.ts +3 -0
  32. package/dist/types/models/ChatSessionRequest.d.ts +10 -0
  33. package/dist/types/models/ChatSessionResponse.d.ts +5 -0
  34. package/dist/types/models/CheckDocumentTrainingStatus.d.ts +10 -0
  35. package/dist/types/models/ComponentBlock.d.ts +9 -0
  36. package/dist/types/models/ComponentBlockTypeEnum.d.ts +8 -0
  37. package/dist/types/models/ConversationMessage.d.ts +11 -0
  38. package/dist/types/models/ConversationRating.d.ts +6 -0
  39. package/dist/types/models/ConversationSummary.d.ts +5 -0
  40. package/dist/types/models/ConversationVolume.d.ts +4 -0
  41. package/dist/types/models/Conversations.d.ts +28 -0
  42. package/dist/types/models/Cost.d.ts +3 -0
  43. package/dist/types/models/CostPerTenant.d.ts +6 -0
  44. package/dist/types/models/CourseCreationTask.d.ts +31 -0
  45. package/dist/types/models/CourseCreationTaskFile.d.ts +7 -0
  46. package/dist/types/models/CourseCreationTaskStatusEnum.d.ts +16 -0
  47. package/dist/types/models/CredentialRequest.d.ts +14 -0
  48. package/dist/types/models/CrontabSchedule.d.ts +22 -0
  49. package/dist/types/models/CustomInstructionResponse.d.ts +13 -0
  50. package/dist/types/models/DataSet.d.ts +21 -0
  51. package/dist/types/models/DataSetCreate.d.ts +12 -0
  52. package/dist/types/models/DataSetStatusEnum.d.ts +12 -0
  53. package/dist/types/models/DateRange.d.ts +4 -0
  54. package/dist/types/models/DiscordConfig.d.ts +7 -0
  55. package/dist/types/models/DiscordUserConfig.d.ts +10 -0
  56. package/dist/types/models/DiscordWebhook.d.ts +6 -0
  57. package/dist/types/models/Document.d.ts +41 -0
  58. package/dist/types/models/DocumentFacet.d.ts +17 -0
  59. package/dist/types/models/DocumentSearchResponse.d.ts +35 -0
  60. package/dist/types/models/DocumentSettingsResponse.d.ts +3 -0
  61. package/dist/types/models/EdxCourse.d.ts +11 -0
  62. package/dist/types/models/ElevenlabsCustomVoice.d.ts +4 -0
  63. package/dist/types/models/ElevenlabsCustomVoiceResponse.d.ts +8 -0
  64. package/dist/types/models/EmailPromptDetail.d.ts +13 -0
  65. package/dist/types/models/EmailPromptList.d.ts +11 -0
  66. package/dist/types/models/EmailPromptSummary.d.ts +5 -0
  67. package/dist/types/models/FreeUsageCount.d.ts +3 -0
  68. package/dist/types/models/FullCourse.d.ts +13 -0
  69. package/dist/types/models/GreetingMethodEnum.d.ts +8 -0
  70. package/dist/types/models/GuidedPromptsResponse.d.ts +3 -0
  71. package/dist/types/models/HeygenMarketingVideoDetail.d.ts +8 -0
  72. package/dist/types/models/HeygenMarketingVideoList.d.ts +6 -0
  73. package/dist/types/models/HeygenTemplateRequest.d.ts +5 -0
  74. package/dist/types/models/HeygenTemplateResponseSingle.d.ts +6 -0
  75. package/dist/types/models/HeygenVideoDetail.d.ts +8 -0
  76. package/dist/types/models/HeygenVideoRequest.d.ts +5 -0
  77. package/dist/types/models/IBLAIPlatformMeta.d.ts +3 -0
  78. package/dist/types/models/IBLAIPlatformMetaRequest.d.ts +6 -0
  79. package/dist/types/models/IBLAIPlatformMetaUpdateRequest.d.ts +10 -0
  80. package/dist/types/models/InputQuestion.d.ts +6 -0
  81. package/dist/types/models/IntegrationCredential.d.ts +8 -0
  82. package/dist/types/models/IntialQuestionAnswer.d.ts +3 -0
  83. package/dist/types/models/JobRun.d.ts +11 -0
  84. package/dist/types/models/KindEnum.d.ts +10 -0
  85. package/dist/types/models/LLMCredentialRequest.d.ts +14 -0
  86. package/dist/types/models/LLMCredentialResponse.d.ts +8 -0
  87. package/dist/types/models/LLMModelForTenant.d.ts +6 -0
  88. package/dist/types/models/LLMQuestion.d.ts +15 -0
  89. package/dist/types/models/LLMResponse.d.ts +14 -0
  90. package/dist/types/models/LLMTracesListResponse.d.ts +5 -0
  91. package/dist/types/models/LanguagesView.d.ts +5 -0
  92. package/dist/types/models/LinkCourseRequest.d.ts +3 -0
  93. package/dist/types/models/LinkCourseResponse.d.ts +5 -0
  94. package/dist/types/models/LlmProviderEnum.d.ts +8 -0
  95. package/dist/types/models/MCPServer.d.ts +21 -0
  96. package/dist/types/models/MemoryComponentData.d.ts +5 -0
  97. package/dist/types/models/MemoryComponentMemory.d.ts +4 -0
  98. package/dist/types/models/MemoryComponentMemoryDetail.d.ts +8 -0
  99. package/dist/types/models/MemoryComponentResponse.d.ts +5 -0
  100. package/dist/types/models/MemoryProgress.d.ts +8 -0
  101. package/dist/types/models/MemoryStatusRequestView.d.ts +6 -0
  102. package/dist/types/models/MemoryStatusView.d.ts +6 -0
  103. package/dist/types/models/Mentor.d.ts +87 -0
  104. package/dist/types/models/MentorAudience.d.ts +5 -0
  105. package/dist/types/models/MentorCategory.d.ts +9 -0
  106. package/dist/types/models/MentorCategoryCreate.d.ts +11 -0
  107. package/dist/types/models/MentorCategoryGroup.d.ts +11 -0
  108. package/dist/types/models/MentorCategoryGroupCreate.d.ts +11 -0
  109. package/dist/types/models/MentorCreate.d.ts +84 -0
  110. package/dist/types/models/MentorCustomVoice.d.ts +4 -0
  111. package/dist/types/models/MentorCustomVoiceResponse.d.ts +4 -0
  112. package/dist/types/models/MentorData.d.ts +7 -0
  113. package/dist/types/models/MentorDetailAnalytics.d.ts +6 -0
  114. package/dist/types/models/MentorEval.d.ts +11 -0
  115. package/dist/types/models/MentorEvalQuestion.d.ts +5 -0
  116. package/dist/types/models/MentorEvalQuestionRequest.d.ts +4 -0
  117. package/dist/types/models/MentorEvalReport.d.ts +10 -0
  118. package/dist/types/models/MentorEvalRequest.d.ts +8 -0
  119. package/dist/types/models/MentorFacet.d.ts +17 -0
  120. package/dist/types/models/MentorFork.d.ts +5 -0
  121. package/dist/types/models/MentorFromTemplateRequest.d.ts +4 -0
  122. package/dist/types/models/MentorFromTemplateWithSettingRequest.d.ts +47 -0
  123. package/dist/types/models/MentorMemorySettingsRequest.d.ts +6 -0
  124. package/dist/types/models/MentorMemorySettingsResponse.d.ts +6 -0
  125. package/dist/types/models/MentorMetadata.d.ts +5 -0
  126. package/dist/types/models/MentorScenario.d.ts +6 -0
  127. package/dist/types/models/MentorScenarioPrompt.d.ts +5 -0
  128. package/dist/types/models/MentorSearchResponse.d.ts +35 -0
  129. package/dist/types/models/MentorSession.d.ts +4 -0
  130. package/dist/types/models/MentorSettings.d.ts +60 -0
  131. package/dist/types/models/MentorSettingsPublic.d.ts +46 -0
  132. package/dist/types/models/MentorSettingsRequest.d.ts +62 -0
  133. package/dist/types/models/MentorVisibilityEnum.d.ts +10 -0
  134. package/dist/types/models/MentorWizard.d.ts +4 -0
  135. package/dist/types/models/MessageStatistics.d.ts +5 -0
  136. package/dist/types/models/MessageView.d.ts +10 -0
  137. package/dist/types/models/MessageViewRequest.d.ts +7 -0
  138. package/dist/types/models/MessageViewUpdatResponse.d.ts +3 -0
  139. package/dist/types/models/Metadata.d.ts +5 -0
  140. package/dist/types/models/MetricChange.d.ts +4 -0
  141. package/dist/types/models/ModelCost.d.ts +4 -0
  142. package/dist/types/models/ModerationLog.d.ts +11 -0
  143. package/dist/types/models/NoChatMessagesFound.d.ts +3 -0
  144. package/dist/types/models/NotificationSource.d.ts +2 -2
  145. package/dist/types/models/{TypeEnum.d.ts → NotificationSourceTypeEnum.d.ts} +1 -1
  146. package/dist/types/models/NullEnum.d.ts +1 -0
  147. package/dist/types/models/Observation.d.ts +31 -0
  148. package/dist/types/models/PageContent.d.ts +6 -0
  149. package/dist/types/models/PaginatedAIGeneratedImageList.d.ts +7 -0
  150. package/dist/types/models/PaginatedConversationsList.d.ts +7 -0
  151. package/dist/types/models/PaginatedCourseCreationTaskFileList.d.ts +7 -0
  152. package/dist/types/models/PaginatedCourseCreationTaskList.d.ts +7 -0
  153. package/dist/types/models/PaginatedDataSetList.d.ts +7 -0
  154. package/dist/types/models/PaginatedEdxCourseList.d.ts +7 -0
  155. package/dist/types/models/PaginatedEmailPromptListList.d.ts +7 -0
  156. package/dist/types/models/PaginatedHeygenMarketingVideoListList.d.ts +7 -0
  157. package/dist/types/models/PaginatedHeygenTemplateResponseSingleList.d.ts +7 -0
  158. package/dist/types/models/PaginatedJobRunList.d.ts +7 -0
  159. package/dist/types/models/PaginatedMCPServerList.d.ts +7 -0
  160. package/dist/types/models/PaginatedMentorList.d.ts +7 -0
  161. package/dist/types/models/PaginatedModerationLogList.d.ts +7 -0
  162. package/dist/types/models/PaginatedObservationList.d.ts +7 -0
  163. package/dist/types/models/PaginatedPeriodicAgentList.d.ts +7 -0
  164. package/dist/types/models/PaginatedPeriodicAgentLogList.d.ts +7 -0
  165. package/dist/types/models/PaginatedPlayWrightScriptList.d.ts +7 -0
  166. package/dist/types/models/PaginatedRetrieverDocumentEmbeddingList.d.ts +7 -0
  167. package/dist/types/models/PaginatedSectionList.d.ts +7 -0
  168. package/dist/types/models/PaginatedSubSectionList.d.ts +7 -0
  169. package/dist/types/models/PaginatedTopicStatisticsResponse.d.ts +7 -0
  170. package/dist/types/models/PaginatedTraceList.d.ts +7 -0
  171. package/dist/types/models/PaginatedTrainingList.d.ts +7 -0
  172. package/dist/types/models/PaginatedUnitList.d.ts +7 -0
  173. package/dist/types/models/PaginatedUserEdxMemoryList.d.ts +7 -0
  174. package/dist/types/models/PaginatedVoiceList.d.ts +7 -0
  175. package/dist/types/models/PatchedBotCommand.d.ts +6 -0
  176. package/dist/types/models/PatchedBotCreate.d.ts +12 -0
  177. package/dist/types/models/PatchedCallConfiguration.d.ts +26 -0
  178. package/dist/types/models/PatchedConversations.d.ts +28 -0
  179. package/dist/types/models/PatchedCourseCreationTaskFile.d.ts +7 -0
  180. package/dist/types/models/PatchedCredentialRequest.d.ts +14 -0
  181. package/dist/types/models/PatchedDataSet.d.ts +21 -0
  182. package/dist/types/models/PatchedDiscordConfig.d.ts +7 -0
  183. package/dist/types/models/PatchedDiscordUserConfig.d.ts +10 -0
  184. package/dist/types/models/PatchedLLMCredentialRequest.d.ts +14 -0
  185. package/dist/types/models/PatchedMCPServer.d.ts +21 -0
  186. package/dist/types/models/PatchedMentorCategoryGroupCreate.d.ts +11 -0
  187. package/dist/types/models/PatchedMentorCreate.d.ts +84 -0
  188. package/dist/types/models/PatchedPeriodicAgentCreate.d.ts +41 -0
  189. package/dist/types/models/PatchedPlayWrightScript.d.ts +12 -0
  190. package/dist/types/models/PatchedPrompt.d.ts +22 -0
  191. package/dist/types/models/PatchedSection.d.ts +9 -0
  192. package/dist/types/models/PatchedSlackConfig.d.ts +8 -0
  193. package/dist/types/models/PatchedSlackUserConfig.d.ts +17 -0
  194. package/dist/types/models/PatchedSubSection.d.ts +9 -0
  195. package/dist/types/models/PatchedTeamsConfig.d.ts +7 -0
  196. package/dist/types/models/PatchedTrainingCreate.d.ts +31 -0
  197. package/dist/types/models/PatchedUnit.d.ts +11 -0
  198. package/dist/types/models/PatchedWebexConfig.d.ts +10 -0
  199. package/dist/types/models/PatchedWhatsappConfig.d.ts +11 -0
  200. package/dist/types/models/PatchedWhatsappUserConfig.d.ts +10 -0
  201. package/dist/types/models/PeriodicAgent.d.ts +42 -0
  202. package/dist/types/models/PeriodicAgentCreate.d.ts +41 -0
  203. package/dist/types/models/PeriodicAgentLog.d.ts +11 -0
  204. package/dist/types/models/PeriodicAgentLogStatusEnum.d.ts +10 -0
  205. package/dist/types/models/PeriodicTask.d.ts +21 -0
  206. package/dist/types/models/PieChartData.d.ts +5 -0
  207. package/dist/types/models/PieChartSegment.d.ts +4 -0
  208. package/dist/types/models/PinnedMessageCreate.d.ts +9 -0
  209. package/dist/types/models/PinnedMessageGet.d.ts +7 -0
  210. package/dist/types/models/PinnedMessageRequest.d.ts +6 -0
  211. package/dist/types/models/PlayWrightScript.d.ts +12 -0
  212. package/dist/types/models/PredictiveAnalyticsRequest.d.ts +4 -0
  213. package/dist/types/models/PredictiveAnalyticsResponse.d.ts +4 -0
  214. package/dist/types/models/PreviousAgentStatusEnum.d.ts +12 -0
  215. package/dist/types/models/Prompt.d.ts +22 -0
  216. package/dist/types/models/PromptCategory.d.ts +7 -0
  217. package/dist/types/models/PromptFacet.d.ts +17 -0
  218. package/dist/types/models/PromptSearchResponse.d.ts +35 -0
  219. package/dist/types/models/PromptVisibilityEnum.d.ts +10 -0
  220. package/dist/types/models/Provider05cEnum.d.ts +14 -0
  221. package/dist/types/models/Provider637Enum.d.ts +10 -0
  222. package/dist/types/models/Provider63aEnum.d.ts +6 -0
  223. package/dist/types/models/QuestionCardTag.d.ts +8 -0
  224. package/dist/types/models/QuestionRequest.d.ts +15 -0
  225. package/dist/types/models/QuestionResponse.d.ts +10 -0
  226. package/dist/types/models/RatingEnum.d.ts +8 -0
  227. package/dist/types/models/RatingRecord.d.ts +4 -0
  228. package/dist/types/models/RecentlyAccessedMentor.d.ts +8 -0
  229. package/dist/types/models/RecommendCourseBlock.d.ts +3 -0
  230. package/dist/types/models/RecommendCourseResponse.d.ts +3 -0
  231. package/dist/types/models/RecommendedCoursesResponse.d.ts +33 -0
  232. package/dist/types/models/RelatedText.d.ts +3 -0
  233. package/dist/types/models/RequestDataVariable.d.ts +14 -0
  234. package/dist/types/models/ResourceScrappedData.d.ts +13 -0
  235. package/dist/types/models/ResourceScrappedDataStatusEnum.d.ts +12 -0
  236. package/dist/types/models/ResponseDataVariable.d.ts +14 -0
  237. package/dist/types/models/RetreiverTrainViewRequest.d.ts +10 -0
  238. package/dist/types/models/RetreiverTrainViewResponse.d.ts +6 -0
  239. package/dist/types/models/RetrieveTask.d.ts +3 -0
  240. package/dist/types/models/RetrieverDocumentEmbedding.d.ts +17 -0
  241. package/dist/types/models/RetrieverDocumentEmbeddingRequest.d.ts +30 -0
  242. package/dist/types/models/RetrieverRequestSearch.d.ts +10 -0
  243. package/dist/types/models/RetrieverRequestSearchDocument.d.ts +10 -0
  244. package/dist/types/models/RetrieverResponseSearch.d.ts +7 -0
  245. package/dist/types/models/ReuestDataVariableList.d.ts +4 -0
  246. package/dist/types/models/RunMentorEval.d.ts +3 -0
  247. package/dist/types/models/ScanWebhookRequest.d.ts +6 -0
  248. package/dist/types/models/ScanWebhookResponse.d.ts +3 -0
  249. package/dist/types/models/Section.d.ts +9 -0
  250. package/dist/types/models/SectionWithChildren.d.ts +11 -0
  251. package/dist/types/models/SeedMentorsView.d.ts +3 -0
  252. package/dist/types/models/SentimentSummary.d.ts +4 -0
  253. package/dist/types/models/SessionBrowserScreenshot.d.ts +8 -0
  254. package/dist/types/models/SessionDetail.d.ts +6 -0
  255. package/dist/types/models/SessionMemoryStorage.d.ts +6 -0
  256. package/dist/types/models/ShellLogs.d.ts +3 -0
  257. package/dist/types/models/SlackConfig.d.ts +8 -0
  258. package/dist/types/models/SlackUserConfig.d.ts +17 -0
  259. package/dist/types/models/SlackWebhook.d.ts +6 -0
  260. package/dist/types/models/SpacedRepetitionLearningPath.d.ts +3 -0
  261. package/dist/types/models/SpacedRepetitionQuestionStats.d.ts +5 -0
  262. package/dist/types/models/StarMentor.d.ts +7 -0
  263. package/dist/types/models/Status6eeEnum.d.ts +12 -0
  264. package/dist/types/models/Step.d.ts +9 -0
  265. package/dist/types/models/StepStatusEnum.d.ts +10 -0
  266. package/dist/types/models/StripeCheckoutSessionRequest.d.ts +2 -2
  267. package/dist/types/models/{ModeEnum.d.ts → StripeCheckoutSessionRequestModeEnum.d.ts} +1 -1
  268. package/dist/types/models/SttProviderEnum.d.ts +12 -0
  269. package/dist/types/models/StudentChatMessage.d.ts +4 -0
  270. package/dist/types/models/StylesView.d.ts +4 -0
  271. package/dist/types/models/SubSection.d.ts +9 -0
  272. package/dist/types/models/SubSectionWithChildren.d.ts +11 -0
  273. package/dist/types/models/TagsView.d.ts +5 -0
  274. package/dist/types/models/TargetSystemEnum.d.ts +8 -0
  275. package/dist/types/models/TaskView.d.ts +3 -0
  276. package/dist/types/models/TeamsConfig.d.ts +7 -0
  277. package/dist/types/models/TeamsWebhook.d.ts +17 -0
  278. package/dist/types/models/TemplateMentor.d.ts +9 -0
  279. package/dist/types/models/TenantMentorTraces.d.ts +6 -0
  280. package/dist/types/models/ThemeEnum.d.ts +8 -0
  281. package/dist/types/models/TonesView.d.ts +4 -0
  282. package/dist/types/models/ToolResponse.d.ts +11 -0
  283. package/dist/types/models/TopicModel.d.ts +3 -0
  284. package/dist/types/models/TopicRecord.d.ts +4 -0
  285. package/dist/types/models/TopicStatistics.d.ts +7 -0
  286. package/dist/types/models/TopicStatisticsResponse.d.ts +6 -0
  287. package/dist/types/models/TopicSummaryView.d.ts +4 -0
  288. package/dist/types/models/Trace.d.ts +17 -0
  289. package/dist/types/models/TrainChatSessionDocumentView.d.ts +6 -0
  290. package/dist/types/models/TrainChatSessionDocumentViewRequest.d.ts +6 -0
  291. package/dist/types/models/TrainDocumentViewRequest.d.ts +42 -0
  292. package/dist/types/models/TrainDocumentViewResponse.d.ts +15 -0
  293. package/dist/types/models/Training.d.ts +41 -0
  294. package/dist/types/models/TrainingCreate.d.ts +31 -0
  295. package/dist/types/models/TrainingStatusEnum.d.ts +12 -0
  296. package/dist/types/models/TransportEnum.d.ts +8 -0
  297. package/dist/types/models/TrendEntry.d.ts +4 -0
  298. package/dist/types/models/TriggerRequest.d.ts +5 -0
  299. package/dist/types/models/TriggerResponse.d.ts +6 -0
  300. package/dist/types/models/TtsProviderEnum.d.ts +10 -0
  301. package/dist/types/models/TypeC42Enum.d.ts +8 -0
  302. package/dist/types/models/Unit.d.ts +11 -0
  303. package/dist/types/models/UnitWithChildren.d.ts +13 -0
  304. package/dist/types/models/UseMainCreds.d.ts +3 -0
  305. package/dist/types/models/UserAllChatMemoryView.d.ts +7 -0
  306. package/dist/types/models/UserCatalogItemMemoryView.d.ts +14 -0
  307. package/dist/types/models/UserChatByPeriod.d.ts +4 -0
  308. package/dist/types/models/UserChatFeedback.d.ts +14 -0
  309. package/dist/types/models/UserChatFeedbackCount.d.ts +4 -0
  310. package/dist/types/models/UserChatMemoryStatusRequestView.d.ts +6 -0
  311. package/dist/types/models/UserChatMemoryStatusView.d.ts +6 -0
  312. package/dist/types/models/UserChatMemoryUpdateView.d.ts +10 -0
  313. package/dist/types/models/UserCountRecord.d.ts +4 -0
  314. package/dist/types/models/UserEdxMemory.d.ts +15 -0
  315. package/dist/types/models/UserMemoryContextRequest.d.ts +13 -0
  316. package/dist/types/models/UserMemoryContextResponse.d.ts +12 -0
  317. package/dist/types/models/UserMetric.d.ts +4 -0
  318. package/dist/types/models/UserMetricsResponse.d.ts +7 -0
  319. package/dist/types/models/UserSentimentCountView.d.ts +4 -0
  320. package/dist/types/models/UserTrendByPeriod.d.ts +5 -0
  321. package/dist/types/models/VectorResult.d.ts +8 -0
  322. package/dist/types/models/VideoCaption.d.ts +3 -0
  323. package/dist/types/models/Voice.d.ts +9 -0
  324. package/dist/types/models/WebResource.d.ts +9 -0
  325. package/dist/types/models/WebResourceCard.d.ts +7 -0
  326. package/dist/types/models/WebResourcesQuery.d.ts +3 -0
  327. package/dist/types/models/WebexConfig.d.ts +10 -0
  328. package/dist/types/models/WebexWebhook.d.ts +4 -0
  329. package/dist/types/models/WhatAppWebHook.d.ts +3 -0
  330. package/dist/types/models/WhatsappConfig.d.ts +11 -0
  331. package/dist/types/models/WhatsappUserConfig.d.ts +10 -0
  332. package/dist/types/services/AiAccountService.d.ts +319 -0
  333. package/dist/types/services/AiAnalyticsService.d.ts +3973 -0
  334. package/dist/types/services/AiBotService.d.ts +642 -0
  335. package/dist/types/services/AiFinetuningService.d.ts +232 -0
  336. package/dist/types/services/AiIndexService.d.ts +408 -0
  337. package/dist/types/services/AiMarketingService.d.ts +38 -0
  338. package/dist/types/services/AiMediaService.d.ts +122 -0
  339. package/dist/types/services/AiMentorService.d.ts +4937 -0
  340. package/dist/types/services/AiPromptService.d.ts +1034 -0
  341. package/dist/types/services/SearchService.d.ts +718 -0
  342. package/package.json +1 -1
  343. package/src/core/OpenAPI.ts +1 -1
  344. package/src/index.ts +331 -2
  345. package/src/models/AIGeneratedImage.ts +18 -0
  346. package/src/models/AIUserProfileMemoryRelation.ts +9 -0
  347. package/src/models/AIUserProfileRequest.ts +9 -0
  348. package/src/models/APITokenCost.ts +19 -0
  349. package/src/models/AccessEnum.ts +12 -0
  350. package/src/models/AlignMentorBubbleEnum.ts +12 -0
  351. package/src/models/AnalyticsOverview.ts +12 -0
  352. package/src/models/Answer.ts +16 -0
  353. package/src/models/AssumedKnowledge.ts +9 -0
  354. package/src/models/AssumedKnowledgeLevel.ts +9 -0
  355. package/src/models/AudioToTextRequest.ts +8 -0
  356. package/src/models/AudioToTextResponse.ts +8 -0
  357. package/src/models/Bot.ts +20 -0
  358. package/src/models/BotCommand.ts +11 -0
  359. package/src/models/BotCreate.ts +17 -0
  360. package/src/models/CallAuthenticationRequest.ts +18 -0
  361. package/src/models/CallAuthenticationResponse.ts +26 -0
  362. package/src/models/CallConfiguration.ts +31 -0
  363. package/src/models/CallConfigurationModeEnum.ts +12 -0
  364. package/src/models/ChatHistory.ts +13 -0
  365. package/src/models/ChatHistoryFilterData.ts +14 -0
  366. package/src/models/ChatHistoryFilterUser.ts +10 -0
  367. package/src/models/ChatHistoryItem.ts +10 -0
  368. package/src/models/ChatHistorySessionId.ts +8 -0
  369. package/src/models/ChatSessionRequest.ts +15 -0
  370. package/src/models/ChatSessionResponse.ts +10 -0
  371. package/src/models/CheckDocumentTrainingStatus.ts +15 -0
  372. package/src/models/ComponentBlock.ts +14 -0
  373. package/src/models/ComponentBlockTypeEnum.ts +12 -0
  374. package/src/models/ConversationMessage.ts +16 -0
  375. package/src/models/ConversationRating.ts +11 -0
  376. package/src/models/ConversationSummary.ts +10 -0
  377. package/src/models/ConversationVolume.ts +9 -0
  378. package/src/models/Conversations.ts +33 -0
  379. package/src/models/Cost.ts +8 -0
  380. package/src/models/CostPerTenant.ts +11 -0
  381. package/src/models/CourseCreationTask.ts +36 -0
  382. package/src/models/CourseCreationTaskFile.ts +12 -0
  383. package/src/models/CourseCreationTaskStatusEnum.ts +20 -0
  384. package/src/models/CredentialRequest.ts +19 -0
  385. package/src/models/CrontabSchedule.ts +27 -0
  386. package/src/models/CustomInstructionResponse.ts +18 -0
  387. package/src/models/DataSet.ts +26 -0
  388. package/src/models/DataSetCreate.ts +17 -0
  389. package/src/models/DataSetStatusEnum.ts +16 -0
  390. package/src/models/DateRange.ts +9 -0
  391. package/src/models/DiscordConfig.ts +12 -0
  392. package/src/models/DiscordUserConfig.ts +15 -0
  393. package/src/models/DiscordWebhook.ts +11 -0
  394. package/src/models/Document.ts +46 -0
  395. package/src/models/DocumentFacet.ts +22 -0
  396. package/src/models/DocumentSearchResponse.ts +40 -0
  397. package/src/models/DocumentSettingsResponse.ts +8 -0
  398. package/src/models/EdxCourse.ts +16 -0
  399. package/src/models/ElevenlabsCustomVoice.ts +9 -0
  400. package/src/models/ElevenlabsCustomVoiceResponse.ts +13 -0
  401. package/src/models/EmailPromptDetail.ts +18 -0
  402. package/src/models/EmailPromptList.ts +16 -0
  403. package/src/models/EmailPromptSummary.ts +10 -0
  404. package/src/models/FreeUsageCount.ts +8 -0
  405. package/src/models/FullCourse.ts +18 -0
  406. package/src/models/GreetingMethodEnum.ts +12 -0
  407. package/src/models/GuidedPromptsResponse.ts +8 -0
  408. package/src/models/HeygenMarketingVideoDetail.ts +13 -0
  409. package/src/models/HeygenMarketingVideoList.ts +11 -0
  410. package/src/models/HeygenTemplateRequest.ts +10 -0
  411. package/src/models/HeygenTemplateResponseSingle.ts +11 -0
  412. package/src/models/HeygenVideoDetail.ts +13 -0
  413. package/src/models/HeygenVideoRequest.ts +10 -0
  414. package/src/models/IBLAIPlatformMeta.ts +8 -0
  415. package/src/models/IBLAIPlatformMetaRequest.ts +11 -0
  416. package/src/models/IBLAIPlatformMetaUpdateRequest.ts +15 -0
  417. package/src/models/InputQuestion.ts +11 -0
  418. package/src/models/IntegrationCredential.ts +13 -0
  419. package/src/models/IntialQuestionAnswer.ts +8 -0
  420. package/src/models/JobRun.ts +16 -0
  421. package/src/models/KindEnum.ts +14 -0
  422. package/src/models/LLMCredentialRequest.ts +19 -0
  423. package/src/models/LLMCredentialResponse.ts +13 -0
  424. package/src/models/LLMModelForTenant.ts +11 -0
  425. package/src/models/LLMQuestion.ts +20 -0
  426. package/src/models/LLMResponse.ts +19 -0
  427. package/src/models/LLMTracesListResponse.ts +10 -0
  428. package/src/models/LanguagesView.ts +10 -0
  429. package/src/models/LinkCourseRequest.ts +8 -0
  430. package/src/models/LinkCourseResponse.ts +10 -0
  431. package/src/models/LlmProviderEnum.ts +12 -0
  432. package/src/models/MCPServer.ts +26 -0
  433. package/src/models/MemoryComponentData.ts +10 -0
  434. package/src/models/MemoryComponentMemory.ts +9 -0
  435. package/src/models/MemoryComponentMemoryDetail.ts +13 -0
  436. package/src/models/MemoryComponentResponse.ts +10 -0
  437. package/src/models/MemoryProgress.ts +13 -0
  438. package/src/models/MemoryStatusRequestView.ts +11 -0
  439. package/src/models/MemoryStatusView.ts +11 -0
  440. package/src/models/Mentor.ts +92 -0
  441. package/src/models/MentorAudience.ts +10 -0
  442. package/src/models/MentorCategory.ts +14 -0
  443. package/src/models/MentorCategoryCreate.ts +16 -0
  444. package/src/models/MentorCategoryGroup.ts +16 -0
  445. package/src/models/MentorCategoryGroupCreate.ts +16 -0
  446. package/src/models/MentorCreate.ts +89 -0
  447. package/src/models/MentorCustomVoice.ts +9 -0
  448. package/src/models/MentorCustomVoiceResponse.ts +9 -0
  449. package/src/models/MentorData.ts +12 -0
  450. package/src/models/MentorDetailAnalytics.ts +11 -0
  451. package/src/models/MentorEval.ts +16 -0
  452. package/src/models/MentorEvalQuestion.ts +10 -0
  453. package/src/models/MentorEvalQuestionRequest.ts +9 -0
  454. package/src/models/MentorEvalReport.ts +15 -0
  455. package/src/models/MentorEvalRequest.ts +13 -0
  456. package/src/models/MentorFacet.ts +22 -0
  457. package/src/models/MentorFork.ts +10 -0
  458. package/src/models/MentorFromTemplateRequest.ts +9 -0
  459. package/src/models/MentorFromTemplateWithSettingRequest.ts +52 -0
  460. package/src/models/MentorMemorySettingsRequest.ts +11 -0
  461. package/src/models/MentorMemorySettingsResponse.ts +11 -0
  462. package/src/models/MentorMetadata.ts +10 -0
  463. package/src/models/MentorScenario.ts +11 -0
  464. package/src/models/MentorScenarioPrompt.ts +10 -0
  465. package/src/models/MentorSearchResponse.ts +40 -0
  466. package/src/models/MentorSession.ts +9 -0
  467. package/src/models/MentorSettings.ts +65 -0
  468. package/src/models/MentorSettingsPublic.ts +51 -0
  469. package/src/models/MentorSettingsRequest.ts +67 -0
  470. package/src/models/MentorVisibilityEnum.ts +14 -0
  471. package/src/models/MentorWizard.ts +9 -0
  472. package/src/models/MessageStatistics.ts +10 -0
  473. package/src/models/MessageView.ts +15 -0
  474. package/src/models/MessageViewRequest.ts +12 -0
  475. package/src/models/MessageViewUpdatResponse.ts +8 -0
  476. package/src/models/Metadata.ts +10 -0
  477. package/src/models/MetricChange.ts +9 -0
  478. package/src/models/ModelCost.ts +9 -0
  479. package/src/models/ModerationLog.ts +16 -0
  480. package/src/models/NoChatMessagesFound.ts +8 -0
  481. package/src/models/NotificationSource.ts +2 -2
  482. package/src/models/{TypeEnum.ts → NotificationSourceTypeEnum.ts} +1 -1
  483. package/src/models/NullEnum.ts +7 -0
  484. package/src/models/Observation.ts +36 -0
  485. package/src/models/PageContent.ts +11 -0
  486. package/src/models/PaginatedAIGeneratedImageList.ts +12 -0
  487. package/src/models/PaginatedConversationsList.ts +12 -0
  488. package/src/models/PaginatedCourseCreationTaskFileList.ts +12 -0
  489. package/src/models/PaginatedCourseCreationTaskList.ts +12 -0
  490. package/src/models/PaginatedDataSetList.ts +12 -0
  491. package/src/models/PaginatedEdxCourseList.ts +12 -0
  492. package/src/models/PaginatedEmailPromptListList.ts +12 -0
  493. package/src/models/PaginatedHeygenMarketingVideoListList.ts +12 -0
  494. package/src/models/PaginatedHeygenTemplateResponseSingleList.ts +12 -0
  495. package/src/models/PaginatedJobRunList.ts +12 -0
  496. package/src/models/PaginatedMCPServerList.ts +12 -0
  497. package/src/models/PaginatedMentorList.ts +12 -0
  498. package/src/models/PaginatedModerationLogList.ts +12 -0
  499. package/src/models/PaginatedObservationList.ts +12 -0
  500. package/src/models/PaginatedPeriodicAgentList.ts +12 -0
  501. package/src/models/PaginatedPeriodicAgentLogList.ts +12 -0
  502. package/src/models/PaginatedPlayWrightScriptList.ts +12 -0
  503. package/src/models/PaginatedRetrieverDocumentEmbeddingList.ts +12 -0
  504. package/src/models/PaginatedSectionList.ts +12 -0
  505. package/src/models/PaginatedSubSectionList.ts +12 -0
  506. package/src/models/PaginatedTopicStatisticsResponse.ts +12 -0
  507. package/src/models/PaginatedTraceList.ts +12 -0
  508. package/src/models/PaginatedTrainingList.ts +12 -0
  509. package/src/models/PaginatedUnitList.ts +12 -0
  510. package/src/models/PaginatedUserEdxMemoryList.ts +12 -0
  511. package/src/models/PaginatedVoiceList.ts +12 -0
  512. package/src/models/PatchedBotCommand.ts +11 -0
  513. package/src/models/PatchedBotCreate.ts +17 -0
  514. package/src/models/PatchedCallConfiguration.ts +31 -0
  515. package/src/models/PatchedConversations.ts +33 -0
  516. package/src/models/PatchedCourseCreationTaskFile.ts +12 -0
  517. package/src/models/PatchedCredentialRequest.ts +19 -0
  518. package/src/models/PatchedDataSet.ts +26 -0
  519. package/src/models/PatchedDiscordConfig.ts +12 -0
  520. package/src/models/PatchedDiscordUserConfig.ts +15 -0
  521. package/src/models/PatchedLLMCredentialRequest.ts +19 -0
  522. package/src/models/PatchedMCPServer.ts +26 -0
  523. package/src/models/PatchedMentorCategoryGroupCreate.ts +16 -0
  524. package/src/models/PatchedMentorCreate.ts +89 -0
  525. package/src/models/PatchedPeriodicAgentCreate.ts +46 -0
  526. package/src/models/PatchedPlayWrightScript.ts +17 -0
  527. package/src/models/PatchedPrompt.ts +27 -0
  528. package/src/models/PatchedSection.ts +14 -0
  529. package/src/models/PatchedSlackConfig.ts +13 -0
  530. package/src/models/PatchedSlackUserConfig.ts +22 -0
  531. package/src/models/PatchedSubSection.ts +14 -0
  532. package/src/models/PatchedTeamsConfig.ts +12 -0
  533. package/src/models/PatchedTrainingCreate.ts +36 -0
  534. package/src/models/PatchedUnit.ts +16 -0
  535. package/src/models/PatchedWebexConfig.ts +15 -0
  536. package/src/models/PatchedWhatsappConfig.ts +16 -0
  537. package/src/models/PatchedWhatsappUserConfig.ts +15 -0
  538. package/src/models/PeriodicAgent.ts +47 -0
  539. package/src/models/PeriodicAgentCreate.ts +46 -0
  540. package/src/models/PeriodicAgentLog.ts +16 -0
  541. package/src/models/PeriodicAgentLogStatusEnum.ts +14 -0
  542. package/src/models/PeriodicTask.ts +26 -0
  543. package/src/models/PieChartData.ts +10 -0
  544. package/src/models/PieChartSegment.ts +9 -0
  545. package/src/models/PinnedMessageCreate.ts +14 -0
  546. package/src/models/PinnedMessageGet.ts +12 -0
  547. package/src/models/PinnedMessageRequest.ts +11 -0
  548. package/src/models/PlayWrightScript.ts +17 -0
  549. package/src/models/PredictiveAnalyticsRequest.ts +9 -0
  550. package/src/models/PredictiveAnalyticsResponse.ts +9 -0
  551. package/src/models/PreviousAgentStatusEnum.ts +16 -0
  552. package/src/models/Prompt.ts +27 -0
  553. package/src/models/PromptCategory.ts +12 -0
  554. package/src/models/PromptFacet.ts +22 -0
  555. package/src/models/PromptSearchResponse.ts +40 -0
  556. package/src/models/PromptVisibilityEnum.ts +14 -0
  557. package/src/models/Provider05cEnum.ts +18 -0
  558. package/src/models/Provider637Enum.ts +14 -0
  559. package/src/models/Provider63aEnum.ts +10 -0
  560. package/src/models/QuestionCardTag.ts +13 -0
  561. package/src/models/QuestionRequest.ts +20 -0
  562. package/src/models/QuestionResponse.ts +15 -0
  563. package/src/models/RatingEnum.ts +12 -0
  564. package/src/models/RatingRecord.ts +9 -0
  565. package/src/models/RecentlyAccessedMentor.ts +13 -0
  566. package/src/models/RecommendCourseBlock.ts +8 -0
  567. package/src/models/RecommendCourseResponse.ts +8 -0
  568. package/src/models/RecommendedCoursesResponse.ts +38 -0
  569. package/src/models/RelatedText.ts +8 -0
  570. package/src/models/RequestDataVariable.ts +19 -0
  571. package/src/models/ResourceScrappedData.ts +18 -0
  572. package/src/models/ResourceScrappedDataStatusEnum.ts +16 -0
  573. package/src/models/ResponseDataVariable.ts +19 -0
  574. package/src/models/RetreiverTrainViewRequest.ts +15 -0
  575. package/src/models/RetreiverTrainViewResponse.ts +11 -0
  576. package/src/models/RetrieveTask.ts +8 -0
  577. package/src/models/RetrieverDocumentEmbedding.ts +22 -0
  578. package/src/models/RetrieverDocumentEmbeddingRequest.ts +35 -0
  579. package/src/models/RetrieverRequestSearch.ts +15 -0
  580. package/src/models/RetrieverRequestSearchDocument.ts +15 -0
  581. package/src/models/RetrieverResponseSearch.ts +12 -0
  582. package/src/models/ReuestDataVariableList.ts +9 -0
  583. package/src/models/RunMentorEval.ts +8 -0
  584. package/src/models/ScanWebhookRequest.ts +11 -0
  585. package/src/models/ScanWebhookResponse.ts +8 -0
  586. package/src/models/Section.ts +14 -0
  587. package/src/models/SectionWithChildren.ts +16 -0
  588. package/src/models/SeedMentorsView.ts +8 -0
  589. package/src/models/SentimentSummary.ts +9 -0
  590. package/src/models/SessionBrowserScreenshot.ts +13 -0
  591. package/src/models/SessionDetail.ts +11 -0
  592. package/src/models/SessionMemoryStorage.ts +11 -0
  593. package/src/models/ShellLogs.ts +8 -0
  594. package/src/models/SlackConfig.ts +13 -0
  595. package/src/models/SlackUserConfig.ts +22 -0
  596. package/src/models/SlackWebhook.ts +11 -0
  597. package/src/models/SpacedRepetitionLearningPath.ts +8 -0
  598. package/src/models/SpacedRepetitionQuestionStats.ts +10 -0
  599. package/src/models/StarMentor.ts +12 -0
  600. package/src/models/Status6eeEnum.ts +16 -0
  601. package/src/models/Step.ts +14 -0
  602. package/src/models/StepStatusEnum.ts +14 -0
  603. package/src/models/StripeCheckoutSessionRequest.ts +2 -2
  604. package/src/models/{ModeEnum.ts → StripeCheckoutSessionRequestModeEnum.ts} +1 -1
  605. package/src/models/SttProviderEnum.ts +16 -0
  606. package/src/models/StudentChatMessage.ts +9 -0
  607. package/src/models/StylesView.ts +9 -0
  608. package/src/models/SubSection.ts +14 -0
  609. package/src/models/SubSectionWithChildren.ts +16 -0
  610. package/src/models/TagsView.ts +10 -0
  611. package/src/models/TargetSystemEnum.ts +12 -0
  612. package/src/models/TaskView.ts +8 -0
  613. package/src/models/TeamsConfig.ts +12 -0
  614. package/src/models/TeamsWebhook.ts +22 -0
  615. package/src/models/TemplateMentor.ts +14 -0
  616. package/src/models/TenantMentorTraces.ts +11 -0
  617. package/src/models/ThemeEnum.ts +12 -0
  618. package/src/models/TonesView.ts +9 -0
  619. package/src/models/ToolResponse.ts +16 -0
  620. package/src/models/TopicModel.ts +8 -0
  621. package/src/models/TopicRecord.ts +9 -0
  622. package/src/models/TopicStatistics.ts +12 -0
  623. package/src/models/TopicStatisticsResponse.ts +11 -0
  624. package/src/models/TopicSummaryView.ts +9 -0
  625. package/src/models/Trace.ts +22 -0
  626. package/src/models/TrainChatSessionDocumentView.ts +11 -0
  627. package/src/models/TrainChatSessionDocumentViewRequest.ts +11 -0
  628. package/src/models/TrainDocumentViewRequest.ts +47 -0
  629. package/src/models/TrainDocumentViewResponse.ts +20 -0
  630. package/src/models/Training.ts +46 -0
  631. package/src/models/TrainingCreate.ts +36 -0
  632. package/src/models/TrainingStatusEnum.ts +16 -0
  633. package/src/models/TransportEnum.ts +12 -0
  634. package/src/models/TrendEntry.ts +9 -0
  635. package/src/models/TriggerRequest.ts +10 -0
  636. package/src/models/TriggerResponse.ts +11 -0
  637. package/src/models/TtsProviderEnum.ts +14 -0
  638. package/src/models/TypeC42Enum.ts +12 -0
  639. package/src/models/Unit.ts +16 -0
  640. package/src/models/UnitWithChildren.ts +18 -0
  641. package/src/models/UseMainCreds.ts +8 -0
  642. package/src/models/UserAllChatMemoryView.ts +12 -0
  643. package/src/models/UserCatalogItemMemoryView.ts +19 -0
  644. package/src/models/UserChatByPeriod.ts +9 -0
  645. package/src/models/UserChatFeedback.ts +19 -0
  646. package/src/models/UserChatFeedbackCount.ts +9 -0
  647. package/src/models/UserChatMemoryStatusRequestView.ts +11 -0
  648. package/src/models/UserChatMemoryStatusView.ts +11 -0
  649. package/src/models/UserChatMemoryUpdateView.ts +15 -0
  650. package/src/models/UserCountRecord.ts +9 -0
  651. package/src/models/UserEdxMemory.ts +20 -0
  652. package/src/models/UserMemoryContextRequest.ts +18 -0
  653. package/src/models/UserMemoryContextResponse.ts +17 -0
  654. package/src/models/UserMetric.ts +9 -0
  655. package/src/models/UserMetricsResponse.ts +12 -0
  656. package/src/models/UserSentimentCountView.ts +9 -0
  657. package/src/models/UserTrendByPeriod.ts +10 -0
  658. package/src/models/VectorResult.ts +13 -0
  659. package/src/models/VideoCaption.ts +8 -0
  660. package/src/models/Voice.ts +14 -0
  661. package/src/models/WebResource.ts +14 -0
  662. package/src/models/WebResourceCard.ts +12 -0
  663. package/src/models/WebResourcesQuery.ts +8 -0
  664. package/src/models/WebexConfig.ts +15 -0
  665. package/src/models/WebexWebhook.ts +9 -0
  666. package/src/models/WhatAppWebHook.ts +8 -0
  667. package/src/models/WhatsappConfig.ts +16 -0
  668. package/src/models/WhatsappUserConfig.ts +15 -0
  669. package/src/services/AiAccountService.ts +505 -0
  670. package/src/services/AiAnalyticsService.ts +6597 -0
  671. package/src/services/AiBotService.ts +1330 -0
  672. package/src/services/AiFinetuningService.ts +472 -0
  673. package/src/services/AiIndexService.ts +719 -0
  674. package/src/services/AiMarketingService.ts +96 -0
  675. package/src/services/AiMediaService.ts +289 -0
  676. package/src/services/AiMentorService.ts +9108 -0
  677. package/src/services/AiPromptService.ts +1980 -0
  678. package/src/services/SearchService.ts +1428 -398
@@ -0,0 +1,4937 @@
1
+ import type { AIGeneratedImage } from '../models/AIGeneratedImage';
2
+ import type { AIUserProfileMemoryRelation } from '../models/AIUserProfileMemoryRelation';
3
+ import type { AIUserProfileRequest } from '../models/AIUserProfileRequest';
4
+ import type { AssumedKnowledge } from '../models/AssumedKnowledge';
5
+ import type { AudioToTextRequest } from '../models/AudioToTextRequest';
6
+ import type { AudioToTextResponse } from '../models/AudioToTextResponse';
7
+ import type { CallAuthenticationRequest } from '../models/CallAuthenticationRequest';
8
+ import type { CallAuthenticationResponse } from '../models/CallAuthenticationResponse';
9
+ import type { CallConfiguration } from '../models/CallConfiguration';
10
+ import type { ChatHistoryItem } from '../models/ChatHistoryItem';
11
+ import type { ChatHistorySessionId } from '../models/ChatHistorySessionId';
12
+ import type { ChatSessionRequest } from '../models/ChatSessionRequest';
13
+ import type { ChatSessionResponse } from '../models/ChatSessionResponse';
14
+ import type { CourseCreationTask } from '../models/CourseCreationTask';
15
+ import type { CourseCreationTaskFile } from '../models/CourseCreationTaskFile';
16
+ import type { CustomInstructionResponse } from '../models/CustomInstructionResponse';
17
+ import type { EdxCourse } from '../models/EdxCourse';
18
+ import type { ElevenlabsCustomVoice } from '../models/ElevenlabsCustomVoice';
19
+ import type { ElevenlabsCustomVoiceResponse } from '../models/ElevenlabsCustomVoiceResponse';
20
+ import type { EmailPromptDetail } from '../models/EmailPromptDetail';
21
+ import type { EmailPromptSummary } from '../models/EmailPromptSummary';
22
+ import type { FreeUsageCount } from '../models/FreeUsageCount';
23
+ import type { FullCourse } from '../models/FullCourse';
24
+ import type { JobRun } from '../models/JobRun';
25
+ import type { LinkCourseRequest } from '../models/LinkCourseRequest';
26
+ import type { LinkCourseResponse } from '../models/LinkCourseResponse';
27
+ import type { LLMModelForTenant } from '../models/LLMModelForTenant';
28
+ import type { LLMResponse } from '../models/LLMResponse';
29
+ import type { MCPServer } from '../models/MCPServer';
30
+ import type { MemoryComponentMemoryDetail } from '../models/MemoryComponentMemoryDetail';
31
+ import type { MemoryComponentResponse } from '../models/MemoryComponentResponse';
32
+ import type { MemoryProgress } from '../models/MemoryProgress';
33
+ import type { Mentor } from '../models/Mentor';
34
+ import type { MentorAudience } from '../models/MentorAudience';
35
+ import type { MentorCategory } from '../models/MentorCategory';
36
+ import type { MentorCategoryCreate } from '../models/MentorCategoryCreate';
37
+ import type { MentorCategoryGroup } from '../models/MentorCategoryGroup';
38
+ import type { MentorCategoryGroupCreate } from '../models/MentorCategoryGroupCreate';
39
+ import type { MentorCreate } from '../models/MentorCreate';
40
+ import type { MentorCustomVoice } from '../models/MentorCustomVoice';
41
+ import type { MentorCustomVoiceResponse } from '../models/MentorCustomVoiceResponse';
42
+ import type { MentorEval } from '../models/MentorEval';
43
+ import type { MentorEvalReport } from '../models/MentorEvalReport';
44
+ import type { MentorEvalRequest } from '../models/MentorEvalRequest';
45
+ import type { MentorFork } from '../models/MentorFork';
46
+ import type { MentorFromTemplateRequest } from '../models/MentorFromTemplateRequest';
47
+ import type { MentorFromTemplateWithSettingRequest } from '../models/MentorFromTemplateWithSettingRequest';
48
+ import type { MentorMemorySettingsRequest } from '../models/MentorMemorySettingsRequest';
49
+ import type { MentorMemorySettingsResponse } from '../models/MentorMemorySettingsResponse';
50
+ import type { MentorMetadata } from '../models/MentorMetadata';
51
+ import type { MentorScenario } from '../models/MentorScenario';
52
+ import type { MentorSettings } from '../models/MentorSettings';
53
+ import type { MentorSettingsPublic } from '../models/MentorSettingsPublic';
54
+ import type { MentorSettingsRequest } from '../models/MentorSettingsRequest';
55
+ import type { MentorWizard } from '../models/MentorWizard';
56
+ import type { MessageView } from '../models/MessageView';
57
+ import type { MessageViewRequest } from '../models/MessageViewRequest';
58
+ import type { MessageViewUpdatResponse } from '../models/MessageViewUpdatResponse';
59
+ import type { ModerationLog } from '../models/ModerationLog';
60
+ import type { PaginatedAIGeneratedImageList } from '../models/PaginatedAIGeneratedImageList';
61
+ import type { PaginatedCourseCreationTaskFileList } from '../models/PaginatedCourseCreationTaskFileList';
62
+ import type { PaginatedCourseCreationTaskList } from '../models/PaginatedCourseCreationTaskList';
63
+ import type { PaginatedEdxCourseList } from '../models/PaginatedEdxCourseList';
64
+ import type { PaginatedEmailPromptListList } from '../models/PaginatedEmailPromptListList';
65
+ import type { PaginatedJobRunList } from '../models/PaginatedJobRunList';
66
+ import type { PaginatedMCPServerList } from '../models/PaginatedMCPServerList';
67
+ import type { PaginatedMentorList } from '../models/PaginatedMentorList';
68
+ import type { PaginatedModerationLogList } from '../models/PaginatedModerationLogList';
69
+ import type { PaginatedPeriodicAgentList } from '../models/PaginatedPeriodicAgentList';
70
+ import type { PaginatedPeriodicAgentLogList } from '../models/PaginatedPeriodicAgentLogList';
71
+ import type { PaginatedPlayWrightScriptList } from '../models/PaginatedPlayWrightScriptList';
72
+ import type { PaginatedSectionList } from '../models/PaginatedSectionList';
73
+ import type { PaginatedSubSectionList } from '../models/PaginatedSubSectionList';
74
+ import type { PaginatedUnitList } from '../models/PaginatedUnitList';
75
+ import type { PaginatedUserEdxMemoryList } from '../models/PaginatedUserEdxMemoryList';
76
+ import type { PaginatedVoiceList } from '../models/PaginatedVoiceList';
77
+ import type { PatchedCallConfiguration } from '../models/PatchedCallConfiguration';
78
+ import type { PatchedCourseCreationTaskFile } from '../models/PatchedCourseCreationTaskFile';
79
+ import type { PatchedMCPServer } from '../models/PatchedMCPServer';
80
+ import type { PatchedMentorCategoryGroupCreate } from '../models/PatchedMentorCategoryGroupCreate';
81
+ import type { PatchedMentorCreate } from '../models/PatchedMentorCreate';
82
+ import type { PatchedPeriodicAgentCreate } from '../models/PatchedPeriodicAgentCreate';
83
+ import type { PatchedPlayWrightScript } from '../models/PatchedPlayWrightScript';
84
+ import type { PatchedSection } from '../models/PatchedSection';
85
+ import type { PatchedSubSection } from '../models/PatchedSubSection';
86
+ import type { PatchedUnit } from '../models/PatchedUnit';
87
+ import type { PeriodicAgent } from '../models/PeriodicAgent';
88
+ import type { PeriodicAgentCreate } from '../models/PeriodicAgentCreate';
89
+ import type { PeriodicAgentLog } from '../models/PeriodicAgentLog';
90
+ import type { PinnedMessageCreate } from '../models/PinnedMessageCreate';
91
+ import type { PinnedMessageGet } from '../models/PinnedMessageGet';
92
+ import type { PinnedMessageRequest } from '../models/PinnedMessageRequest';
93
+ import type { PlayWrightScript } from '../models/PlayWrightScript';
94
+ import type { PredictiveAnalyticsRequest } from '../models/PredictiveAnalyticsRequest';
95
+ import type { PredictiveAnalyticsResponse } from '../models/PredictiveAnalyticsResponse';
96
+ import type { QuestionCardTag } from '../models/QuestionCardTag';
97
+ import type { QuestionRequest } from '../models/QuestionRequest';
98
+ import type { QuestionResponse } from '../models/QuestionResponse';
99
+ import type { RecentlyAccessedMentor } from '../models/RecentlyAccessedMentor';
100
+ import type { RecommendCourseBlock } from '../models/RecommendCourseBlock';
101
+ import type { RecommendCourseResponse } from '../models/RecommendCourseResponse';
102
+ import type { RelatedText } from '../models/RelatedText';
103
+ import type { RetrieveTask } from '../models/RetrieveTask';
104
+ import type { RunMentorEval } from '../models/RunMentorEval';
105
+ import type { Section } from '../models/Section';
106
+ import type { SeedMentorsView } from '../models/SeedMentorsView';
107
+ import type { SessionBrowserScreenshot } from '../models/SessionBrowserScreenshot';
108
+ import type { SessionDetail } from '../models/SessionDetail';
109
+ import type { SessionMemoryStorage } from '../models/SessionMemoryStorage';
110
+ import type { ShellLogs } from '../models/ShellLogs';
111
+ import type { SpacedRepetitionLearningPath } from '../models/SpacedRepetitionLearningPath';
112
+ import type { SpacedRepetitionQuestionStats } from '../models/SpacedRepetitionQuestionStats';
113
+ import type { StarMentor } from '../models/StarMentor';
114
+ import type { SubSection } from '../models/SubSection';
115
+ import type { TaskView } from '../models/TaskView';
116
+ import type { TemplateMentor } from '../models/TemplateMentor';
117
+ import type { ToolResponse } from '../models/ToolResponse';
118
+ import type { TriggerRequest } from '../models/TriggerRequest';
119
+ import type { TriggerResponse } from '../models/TriggerResponse';
120
+ import type { Unit } from '../models/Unit';
121
+ import type { UserChatFeedback } from '../models/UserChatFeedback';
122
+ import type { UserEdxMemory } from '../models/UserEdxMemory';
123
+ import type { VectorResult } from '../models/VectorResult';
124
+ import type { Voice } from '../models/Voice';
125
+ import type { WebResource } from '../models/WebResource';
126
+ import type { WebResourcesQuery } from '../models/WebResourcesQuery';
127
+ import type { CancelablePromise } from '../core/CancelablePromise';
128
+ export declare class AiMentorService {
129
+ /**
130
+ * List all triggers for an organization.
131
+ *
132
+ * Args:
133
+ * request: The HTTP request.
134
+ * org: The organization/tenant identifier.
135
+ *
136
+ * Returns:
137
+ * Response: A list of trigger slugs for the organization.
138
+ *
139
+ * Raises:
140
+ * BadRequest: If the request is invalid.
141
+ * @returns any List of trigger slugs
142
+ * @throws ApiError
143
+ */
144
+ static aiMentorOrgsAllTriggersRetrieve({ org, }: {
145
+ org: string;
146
+ }): CancelablePromise<any>;
147
+ /**
148
+ * Retrieve a list of emails in a mentor's inbox.
149
+ *
150
+ * The list can be filtered using the 'search' query parameter to search
151
+ * for specific terms in the email content or subject.
152
+ *
153
+ * Args:
154
+ * mentor: The unique identifier of the mentor.
155
+ *
156
+ * Returns:
157
+ * Response: A paginated list of emails in the mentor's inbox.
158
+ *
159
+ * Raises:
160
+ * NotFound: If the specified mentor does not exist.
161
+ * @returns PaginatedEmailPromptListList
162
+ * @throws ApiError
163
+ */
164
+ static aiMentorOrgsMentorsEmailInboxList({ mentor, org, page, pageSize, search, }: {
165
+ mentor: string;
166
+ org: string;
167
+ /**
168
+ * A page number within the paginated result set.
169
+ */
170
+ page?: number;
171
+ /**
172
+ * Number of results to return per page.
173
+ */
174
+ pageSize?: number;
175
+ /**
176
+ * Search term to filter emails by content or subject
177
+ */
178
+ search?: string;
179
+ }): CancelablePromise<PaginatedEmailPromptListList>;
180
+ /**
181
+ * Retrieve a summary of a mentor's email inbox.
182
+ *
183
+ * Args:
184
+ * request: The HTTP request.
185
+ * mentor: The unique identifier of the mentor.
186
+ *
187
+ * Returns:
188
+ * Response: A summary of the mentor's email inbox statistics.
189
+ *
190
+ * Raises:
191
+ * NotFound: If the specified mentor does not exist.
192
+ * @returns EmailPromptSummary
193
+ * @throws ApiError
194
+ */
195
+ static aiMentorOrgsMentorsEmailInboxSummaryRetrieve({ mentor, org, }: {
196
+ mentor: string;
197
+ org: string;
198
+ }): CancelablePromise<EmailPromptSummary>;
199
+ /**
200
+ * Retrieve details of a specific email in a mentor's inbox.
201
+ *
202
+ * Args:
203
+ * request: The HTTP request.
204
+ * email_prompt_id: The ID of the email to retrieve.
205
+ *
206
+ * Returns:
207
+ * Response: The detailed information about the email.
208
+ *
209
+ * Raises:
210
+ * NotFound: If the specified email does not exist.
211
+ * @returns EmailPromptDetail
212
+ * @throws ApiError
213
+ */
214
+ static aiMentorOrgsMentorsEmailInboxRetrieve({ emailPromptId, mentor, org, }: {
215
+ emailPromptId: number;
216
+ mentor: string;
217
+ org: string;
218
+ }): CancelablePromise<EmailPromptDetail>;
219
+ /**
220
+ * API endpoint to link mentor with a course and enable guided mode.
221
+ *
222
+ * Permissions:
223
+ * - Accessible to tenant admins.
224
+ * @returns LinkCourseResponse
225
+ * @throws ApiError
226
+ */
227
+ static aiMentorOrgsMentorsLinkCourseRetrieve({ mentor, org, }: {
228
+ mentor: string;
229
+ org: string;
230
+ }): CancelablePromise<LinkCourseResponse>;
231
+ /**
232
+ * API endpoint to link mentor with a course and enable guided mode.
233
+ *
234
+ * Permissions:
235
+ * - Accessible to tenant admins.
236
+ * @returns LinkCourseResponse
237
+ * @throws ApiError
238
+ */
239
+ static aiMentorOrgsMentorsLinkCourseCreate({ mentor, org, requestBody, }: {
240
+ mentor: string;
241
+ org: string;
242
+ requestBody: LinkCourseRequest;
243
+ }): CancelablePromise<LinkCourseResponse>;
244
+ /**
245
+ * Create or update metadata for a mentor.
246
+ *
247
+ * Args:
248
+ * request: The HTTP request containing the metadata.
249
+ * org: The organization/tenant identifier.
250
+ *
251
+ * Returns:
252
+ * Response: The created or updated mentor metadata.
253
+ *
254
+ * Raises:
255
+ * BadRequest: If the provided data is invalid.
256
+ * @returns MentorMetadata
257
+ * @throws ApiError
258
+ */
259
+ static aiMentorOrgsMetadataCreate({ org, requestBody, }: {
260
+ org: string;
261
+ requestBody: MentorMetadata;
262
+ }): CancelablePromise<MentorMetadata>;
263
+ /**
264
+ * Retrieve existing questions.
265
+ *
266
+ * Args:
267
+ * request: The HTTP request.
268
+ *
269
+ * Returns:
270
+ * Response: The existing questions.
271
+ * @returns any No response body
272
+ * @throws ApiError
273
+ */
274
+ static aiMentorOrgsQuizCustomizerRetrieve({ org, }: {
275
+ org: string;
276
+ }): CancelablePromise<any>;
277
+ /**
278
+ * Generate follow-up questions based on initial questions.
279
+ *
280
+ * Args:
281
+ * request: The HTTP request containing the initial questions.
282
+ *
283
+ * Returns:
284
+ * Response: The generated follow-up questions.
285
+ *
286
+ * Raises:
287
+ * BadRequest: If the provided data is invalid.
288
+ * @returns QuestionResponse
289
+ * @throws ApiError
290
+ */
291
+ static aiMentorOrgsQuizCustomizerCreate({ org, requestBody, }: {
292
+ org: string;
293
+ requestBody: QuestionRequest;
294
+ }): CancelablePromise<QuestionResponse>;
295
+ /**
296
+ * Retrieve or create a chat session with a mentor.
297
+ *
298
+ * Passing `null` as `tools` results in using all tools assigned to the mentor.
299
+ * To specify that no tools be used, pass an empty list.
300
+ *
301
+ * Args:
302
+ * request: HTTP request containing mentor details.
303
+ * org: Organization key identifier.
304
+ * user_id (optional): Username for authentication (if required by the mentor).
305
+ *
306
+ * Returns:
307
+ * Response: JSON object containing the session ID.
308
+ *
309
+ * Raises:
310
+ * Http404: If the mentor is not found.
311
+ * ValidationError: If the username is invalid.
312
+ * ValidationError: If one or more tool slugs are invalid.
313
+ * @returns ChatSessionResponse
314
+ * @throws ApiError
315
+ */
316
+ static aiMentorOrgsSessionsCreate({ org, requestBody, }: {
317
+ org: string;
318
+ requestBody: ChatSessionRequest;
319
+ }): CancelablePromise<ChatSessionResponse>;
320
+ /**
321
+ * Create or modify a trigger.
322
+ *
323
+ * Args:
324
+ * request: The HTTP request containing the trigger data.
325
+ * org: The organization/tenant identifier.
326
+ *
327
+ * Returns:
328
+ * Response: The created or updated trigger details.
329
+ *
330
+ * Raises:
331
+ * BadRequest: If the provided data is invalid or missing required parameters.
332
+ * @returns TriggerResponse
333
+ * @throws ApiError
334
+ */
335
+ static aiMentorOrgsTriggerCreate({ org, requestBody, }: {
336
+ org: string;
337
+ requestBody: TriggerRequest;
338
+ }): CancelablePromise<TriggerResponse>;
339
+ /**
340
+ * Retrieve available trigger templates.
341
+ *
342
+ * Args:
343
+ * request: The HTTP request.
344
+ * org: The organization/tenant identifier.
345
+ *
346
+ * Returns:
347
+ * Response: A dictionary of available trigger templates and their required parameters.
348
+ *
349
+ * Raises:
350
+ * BadRequest: If the request is invalid.
351
+ * @returns any Dictionary of trigger templates and their required parameters
352
+ * @throws ApiError
353
+ */
354
+ static aiMentorOrgsTriggerTemplatesRetrieve({ org, }: {
355
+ org: string;
356
+ }): CancelablePromise<any>;
357
+ /**
358
+ * Retrieve details of a specific trigger.
359
+ *
360
+ * Args:
361
+ * request: The HTTP request.
362
+ * org: The organization/tenant identifier.
363
+ * slug: The unique slug identifier of the trigger.
364
+ *
365
+ * Returns:
366
+ * Response: The details of the specified trigger.
367
+ *
368
+ * Raises:
369
+ * Http404: If the specified trigger does not exist.
370
+ * @returns TriggerResponse
371
+ * @throws ApiError
372
+ */
373
+ static aiMentorOrgsTriggerRetrieve({ org, slug, }: {
374
+ org: string;
375
+ slug: string;
376
+ }): CancelablePromise<TriggerResponse>;
377
+ /**
378
+ * Delete a specific trigger.
379
+ *
380
+ * Args:
381
+ * request: The HTTP request.
382
+ * org: The organization/tenant identifier.
383
+ * slug: The unique slug identifier of the trigger to delete.
384
+ *
385
+ * Returns:
386
+ * Response: A confirmation of the deletion status.
387
+ *
388
+ * Raises:
389
+ * BadRequest: If the specified trigger does not exist.
390
+ * @returns any Trigger successfully deleted
391
+ * @throws ApiError
392
+ */
393
+ static aiMentorOrgsTriggerDeletionCreate({ org, slug, }: {
394
+ org: string;
395
+ slug: string;
396
+ }): CancelablePromise<any>;
397
+ /**
398
+ * Retrieve a list of mentors.
399
+ *
400
+ * Returns:
401
+ * - List of mentors matching the filters.
402
+ * @returns PaginatedMentorList
403
+ * @throws ApiError
404
+ */
405
+ static aiMentorOrgsUsersList({ org, userId, departmentId, filterBy, metadataKey, metadataValue, page, pageSize, returnSessionInformation, visibility, }: {
406
+ org: string; /**
407
+ * Department to filter by
408
+ */
409
+ departmentId?: number; /**
410
+ * Filter options include, date, name, default is date
411
+ */
412
+ filterBy?: string; /**
413
+ * Metadata key to be queried with
414
+ */
415
+ metadataKey?: string; /**
416
+ * Metadata value to be filter for
417
+ */
418
+ metadataValue?: string; /**
419
+ * A page number within the paginated result set.
420
+ */
421
+ page?: number; /**
422
+ * Number of results to return per page.
423
+ */
424
+ pageSize?: number; /**
425
+ * Declares if session information should be included in the mentor data
426
+ */
427
+ returnSessionInformation?: boolean; /**
428
+ * visibility type to be queried with
429
+ */
430
+ visibility?: string;
431
+ }): CancelablePromise<PaginatedMentorList>;
432
+ /**
433
+ * Create a new mentor.
434
+ *
435
+ * Body Parameters:
436
+ * - name: Mentor name.
437
+ * - unique_id: Unique identifier.
438
+ * - platform_key: Associated platform.
439
+ * - metadata: Additional mentor attributes.
440
+ * @returns Mentor
441
+ * @throws ApiError
442
+ */
443
+ static aiMentorOrgsUsersCreate({ org, userId, requestBody, departmentId, filterBy, metadataKey, metadataValue, returnSessionInformation, visibility, }: {
444
+ org: string;
445
+ requestBody: MentorCreate; /**
446
+ * Department to filter by
447
+ */
448
+ departmentId?: number; /**
449
+ * Filter options include, date, name, default is date
450
+ */
451
+ filterBy?: string; /**
452
+ * Metadata key to be queried with
453
+ */
454
+ metadataKey?: string; /**
455
+ * Metadata value to be filter for
456
+ */
457
+ metadataValue?: string; /**
458
+ * Declares if session information should be included in the mentor data
459
+ */
460
+ returnSessionInformation?: boolean; /**
461
+ * visibility type to be queried with
462
+ */
463
+ visibility?: string;
464
+ }): CancelablePromise<Mentor>;
465
+ /**
466
+ * API ViewSet for managing mentors.
467
+ *
468
+ * Provides endpoints to retrieve, create, update, and delete mentor data.
469
+ *
470
+ * Permissions:
471
+ * - Accessible to both tenant admins and students.
472
+ * @returns Mentor
473
+ * @throws ApiError
474
+ */
475
+ static aiMentorOrgsUsersRetrieve({ name, org, userId, departmentId, filterBy, metadataKey, metadataValue, returnSessionInformation, visibility, }: {
476
+ name: string;
477
+ org: string; /**
478
+ * Department to filter by
479
+ */
480
+ departmentId?: number; /**
481
+ * Filter options include, date, name, default is date
482
+ */
483
+ filterBy?: string; /**
484
+ * Metadata key to be queried with
485
+ */
486
+ metadataKey?: string; /**
487
+ * Metadata value to be filter for
488
+ */
489
+ metadataValue?: string; /**
490
+ * Declares if session information should be included in the mentor data
491
+ */
492
+ returnSessionInformation?: boolean; /**
493
+ * visibility type to be queried with
494
+ */
495
+ visibility?: string;
496
+ }): CancelablePromise<Mentor>;
497
+ /**
498
+ * Update a mentor's details with RBAC enforcement and custom serializer handling.
499
+ * @returns Mentor
500
+ * @throws ApiError
501
+ */
502
+ static aiMentorOrgsUsersUpdate({ name, org, userId, requestBody, departmentId, filterBy, metadataKey, metadataValue, returnSessionInformation, visibility, }: {
503
+ name: string;
504
+ org: string;
505
+ requestBody: MentorCreate; /**
506
+ * Department to filter by
507
+ */
508
+ departmentId?: number; /**
509
+ * Filter options include, date, name, default is date
510
+ */
511
+ filterBy?: string; /**
512
+ * Metadata key to be queried with
513
+ */
514
+ metadataKey?: string; /**
515
+ * Metadata value to be filter for
516
+ */
517
+ metadataValue?: string; /**
518
+ * Declares if session information should be included in the mentor data
519
+ */
520
+ returnSessionInformation?: boolean; /**
521
+ * visibility type to be queried with
522
+ */
523
+ visibility?: string;
524
+ }): CancelablePromise<Mentor>;
525
+ /**
526
+ * API ViewSet for managing mentors.
527
+ *
528
+ * Provides endpoints to retrieve, create, update, and delete mentor data.
529
+ *
530
+ * Permissions:
531
+ * - Accessible to both tenant admins and students.
532
+ * @returns MentorCreate
533
+ * @throws ApiError
534
+ */
535
+ static aiMentorOrgsUsersPartialUpdate({ name, org, userId, departmentId, filterBy, metadataKey, metadataValue, returnSessionInformation, visibility, requestBody, }: {
536
+ name: string;
537
+ org: string; /**
538
+ * Department to filter by
539
+ */
540
+ departmentId?: number; /**
541
+ * Filter options include, date, name, default is date
542
+ */
543
+ filterBy?: string; /**
544
+ * Metadata key to be queried with
545
+ */
546
+ metadataKey?: string; /**
547
+ * Metadata value to be filter for
548
+ */
549
+ metadataValue?: string; /**
550
+ * Declares if session information should be included in the mentor data
551
+ */
552
+ returnSessionInformation?: boolean; /**
553
+ * visibility type to be queried with
554
+ */
555
+ visibility?: string;
556
+ requestBody?: PatchedMentorCreate;
557
+ }): CancelablePromise<MentorCreate>;
558
+ /**
559
+ * Soft delete a mentor.
560
+ * @returns void
561
+ * @throws ApiError
562
+ */
563
+ static aiMentorOrgsUsersDestroy({ name, org, userId, departmentId, filterBy, metadataKey, metadataValue, returnSessionInformation, visibility, }: {
564
+ name: string;
565
+ org: string; /**
566
+ * Department to filter by
567
+ */
568
+ departmentId?: number; /**
569
+ * Filter options include, date, name, default is date
570
+ */
571
+ filterBy?: string; /**
572
+ * Metadata key to be queried with
573
+ */
574
+ metadataKey?: string; /**
575
+ * Metadata value to be filter for
576
+ */
577
+ metadataValue?: string; /**
578
+ * Declares if session information should be included in the mentor data
579
+ */
580
+ returnSessionInformation?: boolean; /**
581
+ * visibility type to be queried with
582
+ */
583
+ visibility?: string;
584
+ }): CancelablePromise<void>;
585
+ /**
586
+ * Endpoint to view and delete AI generated images for a user.
587
+ *
588
+ * AI Generated images are images generated during chat with AI. They are cached to allow retrieval and deletion.
589
+ *
590
+ * optional filtering parameters allowed are
591
+ * - username: The username of the user for which this image was stored.
592
+ * - provider: The provider used to generate the image. eg. openai, nvidia (nim), replicate.
593
+ * - model: the text to image model on the provider used to generate the image.
594
+ *
595
+ * This endpoint is accessible to both students and platform admins.
596
+ * @returns PaginatedAIGeneratedImageList
597
+ * @throws ApiError
598
+ */
599
+ static aiMentorOrgsUsersAiGeneratedImagesList({ org, userId, model, ordering, page, pageSize, provider, search, username, }: {
600
+ org: string;
601
+ model?: string; /**
602
+ * Which field to use when ordering the results.
603
+ */
604
+ ordering?: string; /**
605
+ * A page number within the paginated result set.
606
+ */
607
+ page?: number; /**
608
+ * Number of results to return per page.
609
+ */
610
+ pageSize?: number;
611
+ provider?: string; /**
612
+ * A search term.
613
+ */
614
+ search?: string;
615
+ username?: string;
616
+ }): CancelablePromise<PaginatedAIGeneratedImageList>;
617
+ /**
618
+ * Endpoint to view and delete AI generated images for a user.
619
+ *
620
+ * AI Generated images are images generated during chat with AI. They are cached to allow retrieval and deletion.
621
+ *
622
+ * optional filtering parameters allowed are
623
+ * - username: The username of the user for which this image was stored.
624
+ * - provider: The provider used to generate the image. eg. openai, nvidia (nim), replicate.
625
+ * - model: the text to image model on the provider used to generate the image.
626
+ *
627
+ * This endpoint is accessible to both students and platform admins.
628
+ * @returns AIGeneratedImage
629
+ * @throws ApiError
630
+ */
631
+ static aiMentorOrgsUsersAiGeneratedImagesRetrieve({ id, org, userId, }: {
632
+ /**
633
+ * A unique integer value identifying this ai generated image.
634
+ */
635
+ id: number;
636
+ org: string;
637
+ }): CancelablePromise<AIGeneratedImage>;
638
+ /**
639
+ * Endpoint to view and delete AI generated images for a user.
640
+ *
641
+ * AI Generated images are images generated during chat with AI. They are cached to allow retrieval and deletion.
642
+ *
643
+ * optional filtering parameters allowed are
644
+ * - username: The username of the user for which this image was stored.
645
+ * - provider: The provider used to generate the image. eg. openai, nvidia (nim), replicate.
646
+ * - model: the text to image model on the provider used to generate the image.
647
+ *
648
+ * This endpoint is accessible to both students and platform admins.
649
+ * @returns void
650
+ * @throws ApiError
651
+ */
652
+ static aiMentorOrgsUsersAiGeneratedImagesDestroy({ id, org, userId, }: {
653
+ /**
654
+ * A unique integer value identifying this ai generated image.
655
+ */
656
+ id: number;
657
+ org: string;
658
+ }): CancelablePromise<void>;
659
+ /**
660
+ * Endpoint to get a list of AI user profile memory entries or to add an entry.
661
+ * @returns AIUserProfileMemoryRelation
662
+ * @throws ApiError
663
+ */
664
+ static aiMentorOrgsUsersAiUserProfileMemoryList({ org, userId, }: {
665
+ org: string;
666
+ }): CancelablePromise<Array<AIUserProfileMemoryRelation>>;
667
+ /**
668
+ * Endpoint to create an AI user profile memory entry.
669
+ *
670
+ * Sample request:
671
+ * ```
672
+ * {"favorite-animal": "my favorite animal is cat"}
673
+ * ```
674
+ * Sample Response (the same as request data):
675
+ * ```
676
+ * {"favorite-animal": "my favorite animal is cat"}
677
+ * ```
678
+ * @returns AIUserProfileMemoryRelation
679
+ * @throws ApiError
680
+ */
681
+ static aiMentorOrgsUsersAiUserProfileMemoryCreate({ org, userId, requestBody, }: {
682
+ org: string;
683
+ requestBody: AIUserProfileRequest;
684
+ }): CancelablePromise<AIUserProfileMemoryRelation>;
685
+ /**
686
+ * The endpoint to delete an AI user profile memory entry.
687
+ *
688
+ * No query parameters or JSON parameters are required.
689
+ *
690
+ * The response is always empty. Successful request will be responded with status 204, and failed request will be responded with status 404.
691
+ * @returns void
692
+ * @throws ApiError
693
+ */
694
+ static aiMentorOrgsUsersAiUserProfileMemoryDestroy({ org, tag, userId, }: {
695
+ org: string;
696
+ tag: string;
697
+ }): CancelablePromise<void>;
698
+ /**
699
+ * Retrieve assumed knowledge levels.
700
+ *
701
+ * Args:
702
+ * request: The HTTP request.
703
+ * org: The organization/tenant identifier.
704
+ * user_id: The ID of the user to retrieve assumed knowledge for.
705
+ *
706
+ * Returns:
707
+ * Response: The assumed knowledge levels for different categories.
708
+ *
709
+ * Raises:
710
+ * NotFound: If no assumed knowledge exists for the user.
711
+ * @returns AssumedKnowledge
712
+ * @throws ApiError
713
+ */
714
+ static aiMentorOrgsUsersAssumedKnowledgeRetrieve({ org, userId, }: {
715
+ org: string;
716
+ }): CancelablePromise<AssumedKnowledge>;
717
+ /**
718
+ * Update assumed knowledge levels.
719
+ *
720
+ * Args:
721
+ * request: The HTTP request containing the updated knowledge levels.
722
+ * org: The organization/tenant identifier.
723
+ * user_id: The ID of the user to update assumed knowledge for.
724
+ *
725
+ * Returns:
726
+ * Response: The updated assumed knowledge levels.
727
+ *
728
+ * Raises:
729
+ * BadRequest: If the provided data is invalid.
730
+ * @returns AssumedKnowledge
731
+ * @throws ApiError
732
+ */
733
+ static aiMentorOrgsUsersAssumedKnowledgeCreate({ org, userId, requestBody, }: {
734
+ org: string;
735
+ requestBody: AssumedKnowledge;
736
+ }): CancelablePromise<AssumedKnowledge>;
737
+ /**
738
+ * Convert an uploaded audio file to text.
739
+ *
740
+ * Args:
741
+ * request: The HTTP request containing the audio file.
742
+ * org: The organization/tenant identifier.
743
+ * user_id: The ID of the user uploading the audio.
744
+ *
745
+ * Returns:
746
+ * Response: The transcribed text from the audio file.
747
+ *
748
+ * Raises:
749
+ * BadRequest: If the audio file is invalid or cannot be processed.
750
+ * NotFound: If the API key for the tenant is not found.
751
+ * @returns AudioToTextResponse
752
+ * @throws ApiError
753
+ */
754
+ static aiMentorOrgsUsersAudioToTextCreate({ org, userId, formData, }: {
755
+ org: string;
756
+ formData: AudioToTextRequest;
757
+ }): CancelablePromise<AudioToTextResponse>;
758
+ /**
759
+ * This endpoint list available template mentors for a tenant
760
+ *
761
+ * Returns:
762
+ *
763
+ * 200 : List of Tool objects
764
+ * @returns TemplateMentor
765
+ * @throws ApiError
766
+ */
767
+ static aiMentorOrgsUsersAvailableTemplateMentorsRetrieve({ org, userId, }: {
768
+ org: string;
769
+ }): CancelablePromise<TemplateMentor>;
770
+ /**
771
+ * API ViewSet for managing call configurations.
772
+ *
773
+ * This ViewSet provides endpoints to retrieve, create, and update call configurations
774
+ * for mentors. Call configurations define how voice calls are handled for a mentor.
775
+ *
776
+ * Permissions:
777
+ * - Accessible only to platform admins.
778
+ *
779
+ * Endpoints:
780
+ * GET /api/org/{org}/mentors/{mentor_pk}/call-configurations/
781
+ * - List all call configurations for a specific mentor
782
+ * - Returns paginated list of call configurations
783
+ *
784
+ * POST /api/org/{org}/mentors/{mentor_pk}/call-configurations/
785
+ * - Create a new call configuration for a mentor
786
+ * - Requires call configuration data in request body
787
+ *
788
+ * PUT /api/org/{org}/mentors/{mentor_pk}/call-configurations/{id}/
789
+ * - Update an existing call configuration
790
+ * - Requires call configuration data in request body
791
+ *
792
+ * Query Parameters:
793
+ * - mentor: Filter configurations by mentor ID
794
+ *
795
+ * Returns:
796
+ * - CallConfigurationSerializer data
797
+ * @returns CallConfiguration
798
+ * @throws ApiError
799
+ */
800
+ static aiMentorOrgsUsersCallConfigurationsList({ org, userId, mentor, mode, ordering, search, }: {
801
+ org: string;
802
+ mentor?: number; /**
803
+ * * `realtime` - Realtime
804
+ * * `inference` - Inference
805
+ */
806
+ mode?: 'inference' | 'realtime'; /**
807
+ * Which field to use when ordering the results.
808
+ */
809
+ ordering?: string; /**
810
+ * A search term.
811
+ */
812
+ search?: string;
813
+ }): CancelablePromise<Array<CallConfiguration>>;
814
+ /**
815
+ * API ViewSet for managing call configurations.
816
+ *
817
+ * This ViewSet provides endpoints to retrieve, create, and update call configurations
818
+ * for mentors. Call configurations define how voice calls are handled for a mentor.
819
+ *
820
+ * Permissions:
821
+ * - Accessible only to platform admins.
822
+ *
823
+ * Endpoints:
824
+ * GET /api/org/{org}/mentors/{mentor_pk}/call-configurations/
825
+ * - List all call configurations for a specific mentor
826
+ * - Returns paginated list of call configurations
827
+ *
828
+ * POST /api/org/{org}/mentors/{mentor_pk}/call-configurations/
829
+ * - Create a new call configuration for a mentor
830
+ * - Requires call configuration data in request body
831
+ *
832
+ * PUT /api/org/{org}/mentors/{mentor_pk}/call-configurations/{id}/
833
+ * - Update an existing call configuration
834
+ * - Requires call configuration data in request body
835
+ *
836
+ * Query Parameters:
837
+ * - mentor: Filter configurations by mentor ID
838
+ *
839
+ * Returns:
840
+ * - CallConfigurationSerializer data
841
+ * @returns CallConfiguration
842
+ * @throws ApiError
843
+ */
844
+ static aiMentorOrgsUsersCallConfigurationsCreate({ org, userId, requestBody, }: {
845
+ org: string;
846
+ requestBody: CallConfiguration;
847
+ }): CancelablePromise<CallConfiguration>;
848
+ /**
849
+ * API ViewSet for managing call configurations.
850
+ *
851
+ * This ViewSet provides endpoints to retrieve, create, and update call configurations
852
+ * for mentors. Call configurations define how voice calls are handled for a mentor.
853
+ *
854
+ * Permissions:
855
+ * - Accessible only to platform admins.
856
+ *
857
+ * Endpoints:
858
+ * GET /api/org/{org}/mentors/{mentor_pk}/call-configurations/
859
+ * - List all call configurations for a specific mentor
860
+ * - Returns paginated list of call configurations
861
+ *
862
+ * POST /api/org/{org}/mentors/{mentor_pk}/call-configurations/
863
+ * - Create a new call configuration for a mentor
864
+ * - Requires call configuration data in request body
865
+ *
866
+ * PUT /api/org/{org}/mentors/{mentor_pk}/call-configurations/{id}/
867
+ * - Update an existing call configuration
868
+ * - Requires call configuration data in request body
869
+ *
870
+ * Query Parameters:
871
+ * - mentor: Filter configurations by mentor ID
872
+ *
873
+ * Returns:
874
+ * - CallConfigurationSerializer data
875
+ * @returns CallConfiguration
876
+ * @throws ApiError
877
+ */
878
+ static aiMentorOrgsUsersCallConfigurationsRetrieve({ id, org, userId, }: {
879
+ /**
880
+ * A unique integer value identifying this call configuration.
881
+ */
882
+ id: number;
883
+ org: string;
884
+ }): CancelablePromise<CallConfiguration>;
885
+ /**
886
+ * API ViewSet for managing call configurations.
887
+ *
888
+ * This ViewSet provides endpoints to retrieve, create, and update call configurations
889
+ * for mentors. Call configurations define how voice calls are handled for a mentor.
890
+ *
891
+ * Permissions:
892
+ * - Accessible only to platform admins.
893
+ *
894
+ * Endpoints:
895
+ * GET /api/org/{org}/mentors/{mentor_pk}/call-configurations/
896
+ * - List all call configurations for a specific mentor
897
+ * - Returns paginated list of call configurations
898
+ *
899
+ * POST /api/org/{org}/mentors/{mentor_pk}/call-configurations/
900
+ * - Create a new call configuration for a mentor
901
+ * - Requires call configuration data in request body
902
+ *
903
+ * PUT /api/org/{org}/mentors/{mentor_pk}/call-configurations/{id}/
904
+ * - Update an existing call configuration
905
+ * - Requires call configuration data in request body
906
+ *
907
+ * Query Parameters:
908
+ * - mentor: Filter configurations by mentor ID
909
+ *
910
+ * Returns:
911
+ * - CallConfigurationSerializer data
912
+ * @returns CallConfiguration
913
+ * @throws ApiError
914
+ */
915
+ static aiMentorOrgsUsersCallConfigurationsUpdate({ id, org, userId, requestBody, }: {
916
+ /**
917
+ * A unique integer value identifying this call configuration.
918
+ */
919
+ id: number;
920
+ org: string;
921
+ requestBody: CallConfiguration;
922
+ }): CancelablePromise<CallConfiguration>;
923
+ /**
924
+ * API ViewSet for managing call configurations.
925
+ *
926
+ * This ViewSet provides endpoints to retrieve, create, and update call configurations
927
+ * for mentors. Call configurations define how voice calls are handled for a mentor.
928
+ *
929
+ * Permissions:
930
+ * - Accessible only to platform admins.
931
+ *
932
+ * Endpoints:
933
+ * GET /api/org/{org}/mentors/{mentor_pk}/call-configurations/
934
+ * - List all call configurations for a specific mentor
935
+ * - Returns paginated list of call configurations
936
+ *
937
+ * POST /api/org/{org}/mentors/{mentor_pk}/call-configurations/
938
+ * - Create a new call configuration for a mentor
939
+ * - Requires call configuration data in request body
940
+ *
941
+ * PUT /api/org/{org}/mentors/{mentor_pk}/call-configurations/{id}/
942
+ * - Update an existing call configuration
943
+ * - Requires call configuration data in request body
944
+ *
945
+ * Query Parameters:
946
+ * - mentor: Filter configurations by mentor ID
947
+ *
948
+ * Returns:
949
+ * - CallConfigurationSerializer data
950
+ * @returns CallConfiguration
951
+ * @throws ApiError
952
+ */
953
+ static aiMentorOrgsUsersCallConfigurationsPartialUpdate({ id, org, userId, requestBody, }: {
954
+ /**
955
+ * A unique integer value identifying this call configuration.
956
+ */
957
+ id: number;
958
+ org: string;
959
+ requestBody?: PatchedCallConfiguration;
960
+ }): CancelablePromise<CallConfiguration>;
961
+ /**
962
+ * Retrieve a list of Mentor Category Groups.
963
+ * @returns MentorCategoryGroup
964
+ * @throws ApiError
965
+ */
966
+ static aiMentorOrgsUsersCategoryGroupsList({ org, userId, audience, audienceName, ordering, search, }: {
967
+ org: string;
968
+ audience?: number;
969
+ audienceName?: string; /**
970
+ * Which field to use when ordering the results.
971
+ */
972
+ ordering?: string; /**
973
+ * A search term.
974
+ */
975
+ search?: string;
976
+ }): CancelablePromise<Array<MentorCategoryGroup>>;
977
+ /**
978
+ * Create a new Mentor Category Group. Only accessible to Platform Admins.
979
+ * @returns MentorCategoryGroup
980
+ * @throws ApiError
981
+ */
982
+ static aiMentorOrgsUsersCategoryGroupsCreate({ org, userId, requestBody, }: {
983
+ org: string;
984
+ requestBody: MentorCategoryGroupCreate;
985
+ }): CancelablePromise<MentorCategoryGroup>;
986
+ /**
987
+ * Mentor Category Groups offer parent grouping for mentor category objects.
988
+ *
989
+ * The parameter `audience` is deprecated and is currently left behind for backward compatibility.
990
+ *
991
+ * Permissions:
992
+ * GET: Accessible to both Platform Admins and Students
993
+ * POST, DELETE, PATCH, PUT: Accessible to only Platform Admins
994
+ * @returns MentorCategoryGroup
995
+ * @throws ApiError
996
+ */
997
+ static aiMentorOrgsUsersCategoryGroupsRetrieve({ id, org, userId, }: {
998
+ /**
999
+ * A unique integer value identifying this mentor category group.
1000
+ */
1001
+ id: number;
1002
+ org: string;
1003
+ }): CancelablePromise<MentorCategoryGroup>;
1004
+ /**
1005
+ * Mentor Category Groups offer parent grouping for mentor category objects.
1006
+ *
1007
+ * The parameter `audience` is deprecated and is currently left behind for backward compatibility.
1008
+ *
1009
+ * Permissions:
1010
+ * GET: Accessible to both Platform Admins and Students
1011
+ * POST, DELETE, PATCH, PUT: Accessible to only Platform Admins
1012
+ * @returns MentorCategoryGroupCreate
1013
+ * @throws ApiError
1014
+ */
1015
+ static aiMentorOrgsUsersCategoryGroupsUpdate({ id, org, userId, requestBody, }: {
1016
+ /**
1017
+ * A unique integer value identifying this mentor category group.
1018
+ */
1019
+ id: number;
1020
+ org: string;
1021
+ requestBody: MentorCategoryGroupCreate;
1022
+ }): CancelablePromise<MentorCategoryGroupCreate>;
1023
+ /**
1024
+ * Mentor Category Groups offer parent grouping for mentor category objects.
1025
+ *
1026
+ * The parameter `audience` is deprecated and is currently left behind for backward compatibility.
1027
+ *
1028
+ * Permissions:
1029
+ * GET: Accessible to both Platform Admins and Students
1030
+ * POST, DELETE, PATCH, PUT: Accessible to only Platform Admins
1031
+ * @returns MentorCategoryGroupCreate
1032
+ * @throws ApiError
1033
+ */
1034
+ static aiMentorOrgsUsersCategoryGroupsPartialUpdate({ id, org, userId, requestBody, }: {
1035
+ /**
1036
+ * A unique integer value identifying this mentor category group.
1037
+ */
1038
+ id: number;
1039
+ org: string;
1040
+ requestBody?: PatchedMentorCategoryGroupCreate;
1041
+ }): CancelablePromise<MentorCategoryGroupCreate>;
1042
+ /**
1043
+ * Mentor Category Groups offer parent grouping for mentor category objects.
1044
+ *
1045
+ * The parameter `audience` is deprecated and is currently left behind for backward compatibility.
1046
+ *
1047
+ * Permissions:
1048
+ * GET: Accessible to both Platform Admins and Students
1049
+ * POST, DELETE, PATCH, PUT: Accessible to only Platform Admins
1050
+ * @returns void
1051
+ * @throws ApiError
1052
+ */
1053
+ static aiMentorOrgsUsersCategoryGroupsDestroy({ id, org, userId, }: {
1054
+ /**
1055
+ * A unique integer value identifying this mentor category group.
1056
+ */
1057
+ id: number;
1058
+ org: string;
1059
+ }): CancelablePromise<void>;
1060
+ /**
1061
+ * Retrieve and clean up vector results from a specific session.
1062
+ *
1063
+ * This endpoint retrieves the documents last used by the mentor to answer
1064
+ * the most recent query from the user in the specified session, and cleans
1065
+ * them to remove any inappropriate content.
1066
+ *
1067
+ * Args:
1068
+ * request: The HTTP request.
1069
+ * org: The organization/tenant identifier.
1070
+ * user_id: The ID of the user making the request.
1071
+ * session_id: The ID of the session to retrieve vector results from.
1072
+ *
1073
+ * Returns:
1074
+ * Response: The cleaned vector results.
1075
+ *
1076
+ * Raises:
1077
+ * BadRequest: If the API key for the cleaning provider is not found.
1078
+ * NotFound: If no vector results are found for the session.
1079
+ * @returns VectorResult
1080
+ * @throws ApiError
1081
+ */
1082
+ static aiMentorOrgsUsersCleanVectorResultsList({ org, sessionId, userId, }: {
1083
+ org: string;
1084
+ sessionId: string;
1085
+ }): CancelablePromise<Array<VectorResult>>;
1086
+ /**
1087
+ * Clean up provided vector results.
1088
+ *
1089
+ * This endpoint allows users to submit specific vector results for cleaning,
1090
+ * which is useful when there are particular documents that need to be processed.
1091
+ *
1092
+ * Args:
1093
+ * request: The HTTP request containing the vector results to clean.
1094
+ * org: The organization/tenant identifier.
1095
+ * user_id: The ID of the user making the request.
1096
+ *
1097
+ * Returns:
1098
+ * Response: The cleaned vector results.
1099
+ *
1100
+ * Raises:
1101
+ * BadRequest: If the API key for the cleaning provider is not found or the provided data is invalid.
1102
+ * @returns VectorResult
1103
+ * @throws ApiError
1104
+ */
1105
+ static aiMentorOrgsUsersCleanVectorResultsCreate({ org, sessionId, userId, requestBody, }: {
1106
+ org: string;
1107
+ sessionId: string;
1108
+ requestBody: Array<VectorResult>;
1109
+ }): CancelablePromise<Array<VectorResult>>;
1110
+ /**
1111
+ * Delete User Chat History
1112
+ * Endpoint to clear a user's chat history.
1113
+ * @returns void
1114
+ * @throws ApiError
1115
+ */
1116
+ static aiMentorOrgsUsersClearChathistoryDestroy({ org, userId, }: {
1117
+ org: string;
1118
+ }): CancelablePromise<void>;
1119
+ /**
1120
+ * Endpoint to fetch update and delete files associated with course creation tasks.
1121
+ * @returns PaginatedCourseCreationTaskFileList
1122
+ * @throws ApiError
1123
+ */
1124
+ static aiMentorOrgsUsersCourseCreationTaskFilesList({ org, userId, page, pageSize, }: {
1125
+ org: string; /**
1126
+ * A page number within the paginated result set.
1127
+ */
1128
+ page?: number; /**
1129
+ * Number of results to return per page.
1130
+ */
1131
+ pageSize?: number;
1132
+ }): CancelablePromise<PaginatedCourseCreationTaskFileList>;
1133
+ /**
1134
+ * Endpoint to fetch update and delete files associated with course creation tasks.
1135
+ * @returns CourseCreationTaskFile
1136
+ * @throws ApiError
1137
+ */
1138
+ static aiMentorOrgsUsersCourseCreationTaskFilesCreate({ org, userId, formData, }: {
1139
+ org: string;
1140
+ formData: CourseCreationTaskFile;
1141
+ }): CancelablePromise<CourseCreationTaskFile>;
1142
+ /**
1143
+ * Endpoint to fetch update and delete files associated with course creation tasks.
1144
+ * @returns CourseCreationTaskFile
1145
+ * @throws ApiError
1146
+ */
1147
+ static aiMentorOrgsUsersCourseCreationTaskFilesRetrieve({ id, org, userId, }: {
1148
+ /**
1149
+ * A unique integer value identifying this course creation task file.
1150
+ */
1151
+ id: number;
1152
+ org: string;
1153
+ }): CancelablePromise<CourseCreationTaskFile>;
1154
+ /**
1155
+ * Endpoint to fetch update and delete files associated with course creation tasks.
1156
+ * @returns CourseCreationTaskFile
1157
+ * @throws ApiError
1158
+ */
1159
+ static aiMentorOrgsUsersCourseCreationTaskFilesUpdate({ id, org, userId, formData, }: {
1160
+ /**
1161
+ * A unique integer value identifying this course creation task file.
1162
+ */
1163
+ id: number;
1164
+ org: string;
1165
+ formData: CourseCreationTaskFile;
1166
+ }): CancelablePromise<CourseCreationTaskFile>;
1167
+ /**
1168
+ * Endpoint to fetch update and delete files associated with course creation tasks.
1169
+ * @returns CourseCreationTaskFile
1170
+ * @throws ApiError
1171
+ */
1172
+ static aiMentorOrgsUsersCourseCreationTaskFilesPartialUpdate({ id, org, userId, formData, }: {
1173
+ /**
1174
+ * A unique integer value identifying this course creation task file.
1175
+ */
1176
+ id: number;
1177
+ org: string;
1178
+ formData?: PatchedCourseCreationTaskFile;
1179
+ }): CancelablePromise<CourseCreationTaskFile>;
1180
+ /**
1181
+ * Endpoint to fetch update and delete files associated with course creation tasks.
1182
+ * @returns void
1183
+ * @throws ApiError
1184
+ */
1185
+ static aiMentorOrgsUsersCourseCreationTaskFilesDestroy({ id, org, userId, }: {
1186
+ /**
1187
+ * A unique integer value identifying this course creation task file.
1188
+ */
1189
+ id: number;
1190
+ org: string;
1191
+ }): CancelablePromise<void>;
1192
+ /**
1193
+ * Create, retrieve and delete course creation tasks
1194
+ *
1195
+ * Course creation tasks allow you to schedule the creation of a course on OpenEdx deployment connected to this data manager.
1196
+ *
1197
+ * The course is created entirely by an ai model (as specified in your inputs).
1198
+ *
1199
+ * The llm decides on the content of the course based on the name, description, target audience and other parameters.
1200
+ * Bigger and newer models tend to outperform smaller once.
1201
+ *
1202
+ * Clear and unambiguous parameters are more likely to produce better results.
1203
+ * @returns PaginatedCourseCreationTaskList
1204
+ * @throws ApiError
1205
+ */
1206
+ static aiMentorOrgsUsersCourseCreationTasksList({ org, userId, page, pageSize, }: {
1207
+ org: string; /**
1208
+ * A page number within the paginated result set.
1209
+ */
1210
+ page?: number; /**
1211
+ * Number of results to return per page.
1212
+ */
1213
+ pageSize?: number;
1214
+ }): CancelablePromise<PaginatedCourseCreationTaskList>;
1215
+ /**
1216
+ * Create, retrieve and delete course creation tasks
1217
+ *
1218
+ * Course creation tasks allow you to schedule the creation of a course on OpenEdx deployment connected to this data manager.
1219
+ *
1220
+ * The course is created entirely by an ai model (as specified in your inputs).
1221
+ *
1222
+ * The llm decides on the content of the course based on the name, description, target audience and other parameters.
1223
+ * Bigger and newer models tend to outperform smaller once.
1224
+ *
1225
+ * Clear and unambiguous parameters are more likely to produce better results.
1226
+ * @returns CourseCreationTask
1227
+ * @throws ApiError
1228
+ */
1229
+ static aiMentorOrgsUsersCourseCreationTasksCreate({ org, userId, formData, }: {
1230
+ org: string;
1231
+ formData: CourseCreationTask;
1232
+ }): CancelablePromise<CourseCreationTask>;
1233
+ /**
1234
+ * Create, retrieve and delete course creation tasks
1235
+ *
1236
+ * Course creation tasks allow you to schedule the creation of a course on OpenEdx deployment connected to this data manager.
1237
+ *
1238
+ * The course is created entirely by an ai model (as specified in your inputs).
1239
+ *
1240
+ * The llm decides on the content of the course based on the name, description, target audience and other parameters.
1241
+ * Bigger and newer models tend to outperform smaller once.
1242
+ *
1243
+ * Clear and unambiguous parameters are more likely to produce better results.
1244
+ * @returns CourseCreationTask
1245
+ * @throws ApiError
1246
+ */
1247
+ static aiMentorOrgsUsersCourseCreationTasksRetrieve({ id, org, userId, }: {
1248
+ /**
1249
+ * A unique integer value identifying this course creation task.
1250
+ */
1251
+ id: number;
1252
+ org: string;
1253
+ }): CancelablePromise<CourseCreationTask>;
1254
+ /**
1255
+ * Create, retrieve and delete course creation tasks
1256
+ *
1257
+ * Course creation tasks allow you to schedule the creation of a course on OpenEdx deployment connected to this data manager.
1258
+ *
1259
+ * The course is created entirely by an ai model (as specified in your inputs).
1260
+ *
1261
+ * The llm decides on the content of the course based on the name, description, target audience and other parameters.
1262
+ * Bigger and newer models tend to outperform smaller once.
1263
+ *
1264
+ * Clear and unambiguous parameters are more likely to produce better results.
1265
+ * @returns void
1266
+ * @throws ApiError
1267
+ */
1268
+ static aiMentorOrgsUsersCourseCreationTasksDestroy({ id, org, userId, }: {
1269
+ /**
1270
+ * A unique integer value identifying this course creation task.
1271
+ */
1272
+ id: number;
1273
+ org: string;
1274
+ }): CancelablePromise<void>;
1275
+ /**
1276
+ * Cancel a course creation task run.
1277
+ * ** Conditions Required **:
1278
+ * The task must be running or pending.
1279
+ * ** Response **:
1280
+ * - 200: The course creation task is successfully cancelled.
1281
+ * - 400: The course creation task is not in a running or pending state.
1282
+ * @returns CourseCreationTask
1283
+ * @throws ApiError
1284
+ */
1285
+ static aiMentorOrgsUsersCourseCreationTasksCancelRetrieve({ id, org, userId, }: {
1286
+ /**
1287
+ * A unique integer value identifying this course creation task.
1288
+ */
1289
+ id: number;
1290
+ org: string;
1291
+ }): CancelablePromise<CourseCreationTask>;
1292
+ /**
1293
+ * This is intended for stepwise approach of course creation.
1294
+ *
1295
+ * Use this to intiate generating an outline of the course.
1296
+ * @returns FullCourse
1297
+ * @throws ApiError
1298
+ */
1299
+ static aiMentorOrgsUsersCourseCreationTasksCreateCourseOutlineRetrieve({ id, org, userId, }: {
1300
+ /**
1301
+ * A unique integer value identifying this course creation task.
1302
+ */
1303
+ id: number;
1304
+ org: string;
1305
+ }): CancelablePromise<FullCourse>;
1306
+ /**
1307
+ * This is intended for stepwise approach of course creation.
1308
+ *
1309
+ * Use this to intiate generating an outline of the course.
1310
+ * @returns FullCourse
1311
+ * @throws ApiError
1312
+ */
1313
+ static aiMentorOrgsUsersCourseCreationTasksCreateCourseOutlineCreate({ id, org, userId, formData, }: {
1314
+ /**
1315
+ * A unique integer value identifying this course creation task.
1316
+ */
1317
+ id: number;
1318
+ org: string;
1319
+ formData: CourseCreationTask;
1320
+ }): CancelablePromise<FullCourse>;
1321
+ /**
1322
+ * Kick start the course creation task.
1323
+ * This endpoint should be called once the files for a course creation task has
1324
+ * been successfully uploaded.
1325
+ *
1326
+ * ** Conditions Required **:
1327
+ * - The course creation task must be in a pending state or failed state.
1328
+ *
1329
+ * ** Response **:
1330
+ * - 200: The course creation task is successfully started.
1331
+ * - 400: The course creation task is not in a pending state.
1332
+ * @returns CourseCreationTask
1333
+ * @throws ApiError
1334
+ */
1335
+ static aiMentorOrgsUsersCourseCreationTasksStartRetrieve({ id, org, userId, }: {
1336
+ /**
1337
+ * A unique integer value identifying this course creation task.
1338
+ */
1339
+ id: number;
1340
+ org: string;
1341
+ }): CancelablePromise<CourseCreationTask>;
1342
+ /**
1343
+ * API viewset for managing course units.
1344
+ *
1345
+ * This viewset allows platform administrators to retrieve and manage
1346
+ * units within course subsections, and generate content for them.
1347
+ *
1348
+ * Permissions:
1349
+ * - Restricted to platform administrators only
1350
+ * @returns PaginatedUnitList
1351
+ * @throws ApiError
1352
+ */
1353
+ static aiMentorOrgsUsersCourseCreationComponentList({ org, userId, course, ordering, page, pageSize, search, section, subsection, task, }: {
1354
+ org: string;
1355
+ course?: number; /**
1356
+ * Which field to use when ordering the results.
1357
+ */
1358
+ ordering?: string; /**
1359
+ * A page number within the paginated result set.
1360
+ */
1361
+ page?: number; /**
1362
+ * Number of results to return per page.
1363
+ */
1364
+ pageSize?: number; /**
1365
+ * A search term.
1366
+ */
1367
+ search?: string;
1368
+ section?: number;
1369
+ subsection?: number;
1370
+ task?: number;
1371
+ }): CancelablePromise<PaginatedUnitList>;
1372
+ /**
1373
+ * API viewset for managing course units.
1374
+ *
1375
+ * This viewset allows platform administrators to retrieve and manage
1376
+ * units within course subsections, and generate content for them.
1377
+ *
1378
+ * Permissions:
1379
+ * - Restricted to platform administrators only
1380
+ * @returns Unit
1381
+ * @throws ApiError
1382
+ */
1383
+ static aiMentorOrgsUsersCourseCreationComponentCreate({ org, userId, requestBody, }: {
1384
+ org: string;
1385
+ requestBody: Unit;
1386
+ }): CancelablePromise<Unit>;
1387
+ /**
1388
+ * API viewset for managing course units.
1389
+ *
1390
+ * This viewset allows platform administrators to retrieve and manage
1391
+ * units within course subsections, and generate content for them.
1392
+ *
1393
+ * Permissions:
1394
+ * - Restricted to platform administrators only
1395
+ * @returns Unit
1396
+ * @throws ApiError
1397
+ */
1398
+ static aiMentorOrgsUsersCourseCreationComponentRetrieve({ id, org, userId, }: {
1399
+ /**
1400
+ * A unique integer value identifying this unit.
1401
+ */
1402
+ id: number;
1403
+ org: string;
1404
+ }): CancelablePromise<Unit>;
1405
+ /**
1406
+ * API viewset for managing course units.
1407
+ *
1408
+ * This viewset allows platform administrators to retrieve and manage
1409
+ * units within course subsections, and generate content for them.
1410
+ *
1411
+ * Permissions:
1412
+ * - Restricted to platform administrators only
1413
+ * @returns Unit
1414
+ * @throws ApiError
1415
+ */
1416
+ static aiMentorOrgsUsersCourseCreationComponentUpdate({ id, org, userId, requestBody, }: {
1417
+ /**
1418
+ * A unique integer value identifying this unit.
1419
+ */
1420
+ id: number;
1421
+ org: string;
1422
+ requestBody: Unit;
1423
+ }): CancelablePromise<Unit>;
1424
+ /**
1425
+ * API viewset for managing course units.
1426
+ *
1427
+ * This viewset allows platform administrators to retrieve and manage
1428
+ * units within course subsections, and generate content for them.
1429
+ *
1430
+ * Permissions:
1431
+ * - Restricted to platform administrators only
1432
+ * @returns Unit
1433
+ * @throws ApiError
1434
+ */
1435
+ static aiMentorOrgsUsersCourseCreationComponentPartialUpdate({ id, org, userId, requestBody, }: {
1436
+ /**
1437
+ * A unique integer value identifying this unit.
1438
+ */
1439
+ id: number;
1440
+ org: string;
1441
+ requestBody?: PatchedUnit;
1442
+ }): CancelablePromise<Unit>;
1443
+ /**
1444
+ * API viewset for managing course units.
1445
+ *
1446
+ * This viewset allows platform administrators to retrieve and manage
1447
+ * units within course subsections, and generate content for them.
1448
+ *
1449
+ * Permissions:
1450
+ * - Restricted to platform administrators only
1451
+ * @returns void
1452
+ * @throws ApiError
1453
+ */
1454
+ static aiMentorOrgsUsersCourseCreationComponentDestroy({ id, org, userId, }: {
1455
+ /**
1456
+ * A unique integer value identifying this unit.
1457
+ */
1458
+ id: number;
1459
+ org: string;
1460
+ }): CancelablePromise<void>;
1461
+ /**
1462
+ * Generate draft content for a specific unit.
1463
+ *
1464
+ * This action starts a background task to create draft content
1465
+ * for the specified unit using AI.
1466
+ *
1467
+ * Args:
1468
+ * request: The HTTP request.
1469
+ * pk: The primary key of the unit to generate content for.
1470
+ *
1471
+ * Returns:
1472
+ * Response: A confirmation that the content generation task has been started.
1473
+ *
1474
+ * Raises:
1475
+ * NotFound: If the specified unit does not exist.
1476
+ * @returns any Content creation started successfully
1477
+ * @throws ApiError
1478
+ */
1479
+ static aiMentorOrgsUsersCourseCreationComponentDraftContentRetrieve({ id, org, userId, }: {
1480
+ /**
1481
+ * A unique integer value identifying this unit.
1482
+ */
1483
+ id: number;
1484
+ org: string;
1485
+ }): CancelablePromise<any>;
1486
+ /**
1487
+ * Generate draft content for a specific unit.
1488
+ *
1489
+ * This action starts a background task to create draft content
1490
+ * for the specified unit using AI.
1491
+ *
1492
+ * Args:
1493
+ * request: The HTTP request.
1494
+ * pk: The primary key of the unit to generate content for.
1495
+ *
1496
+ * Returns:
1497
+ * Response: A confirmation that the content generation task has been started.
1498
+ *
1499
+ * Raises:
1500
+ * NotFound: If the specified unit does not exist.
1501
+ * @returns any Content creation started successfully
1502
+ * @throws ApiError
1503
+ */
1504
+ static aiMentorOrgsUsersCourseCreationComponentDraftContentCreate({ id, org, userId, requestBody, }: {
1505
+ /**
1506
+ * A unique integer value identifying this unit.
1507
+ */
1508
+ id: number;
1509
+ org: string;
1510
+ requestBody: Unit;
1511
+ }): CancelablePromise<any>;
1512
+ /**
1513
+ * API viewset for managing EdX courses.
1514
+ *
1515
+ * This viewset allows platform administrators to retrieve, delete, and
1516
+ * perform various operations on EdX courses that were created through
1517
+ * course creation tasks.
1518
+ *
1519
+ * Permissions:
1520
+ * - Restricted to platform administrators only
1521
+ * @returns PaginatedEdxCourseList
1522
+ * @throws ApiError
1523
+ */
1524
+ static aiMentorOrgsUsersCourseCreationCourseList({ org, userId, ordering, page, pageSize, search, task, }: {
1525
+ org: string; /**
1526
+ * Which field to use when ordering the results.
1527
+ */
1528
+ ordering?: string; /**
1529
+ * A page number within the paginated result set.
1530
+ */
1531
+ page?: number; /**
1532
+ * Number of results to return per page.
1533
+ */
1534
+ pageSize?: number; /**
1535
+ * A search term.
1536
+ */
1537
+ search?: string;
1538
+ task?: number;
1539
+ }): CancelablePromise<PaginatedEdxCourseList>;
1540
+ /**
1541
+ * API viewset for managing EdX courses.
1542
+ *
1543
+ * This viewset allows platform administrators to retrieve, delete, and
1544
+ * perform various operations on EdX courses that were created through
1545
+ * course creation tasks.
1546
+ *
1547
+ * Permissions:
1548
+ * - Restricted to platform administrators only
1549
+ * @returns EdxCourse
1550
+ * @throws ApiError
1551
+ */
1552
+ static aiMentorOrgsUsersCourseCreationCourseRetrieve({ id, org, userId, }: {
1553
+ /**
1554
+ * A unique integer value identifying this edx course.
1555
+ */
1556
+ id: number;
1557
+ org: string;
1558
+ }): CancelablePromise<EdxCourse>;
1559
+ /**
1560
+ * API viewset for managing EdX courses.
1561
+ *
1562
+ * This viewset allows platform administrators to retrieve, delete, and
1563
+ * perform various operations on EdX courses that were created through
1564
+ * course creation tasks.
1565
+ *
1566
+ * Permissions:
1567
+ * - Restricted to platform administrators only
1568
+ * @returns void
1569
+ * @throws ApiError
1570
+ */
1571
+ static aiMentorOrgsUsersCourseCreationCourseDestroy({ id, org, userId, }: {
1572
+ /**
1573
+ * A unique integer value identifying this edx course.
1574
+ */
1575
+ id: number;
1576
+ org: string;
1577
+ }): CancelablePromise<void>;
1578
+ /**
1579
+ * Generate draft content for all units in a course.
1580
+ *
1581
+ * This action starts a background task to create draft content
1582
+ * for all units in the course using AI.
1583
+ *
1584
+ * Args:
1585
+ * request: The HTTP request.
1586
+ * pk: The primary key of the course to generate content for.
1587
+ *
1588
+ * Returns:
1589
+ * Response: A confirmation that the content generation task has been started.
1590
+ *
1591
+ * Raises:
1592
+ * NotFound: If the specified course does not exist.
1593
+ * @returns any Content creation started successfully
1594
+ * @throws ApiError
1595
+ */
1596
+ static aiMentorOrgsUsersCourseCreationCourseDraftContentForAllUnitsRetrieve({ id, org, userId, }: {
1597
+ /**
1598
+ * A unique integer value identifying this edx course.
1599
+ */
1600
+ id: number;
1601
+ org: string;
1602
+ }): CancelablePromise<any>;
1603
+ /**
1604
+ * Retrieve the full structure of a course.
1605
+ *
1606
+ * This action returns the complete hierarchical structure of the course,
1607
+ * including all sections, subsections, units, and components.
1608
+ *
1609
+ * Args:
1610
+ * request: The HTTP request.
1611
+ * pk: The primary key of the course to retrieve.
1612
+ *
1613
+ * Returns:
1614
+ * Response: The full structure of the course.
1615
+ *
1616
+ * Raises:
1617
+ * NotFound: If the specified course does not exist.
1618
+ * @returns FullCourse
1619
+ * @throws ApiError
1620
+ */
1621
+ static aiMentorOrgsUsersCourseCreationCourseFullStructureRetrieve({ id, org, userId, }: {
1622
+ /**
1623
+ * A unique integer value identifying this edx course.
1624
+ */
1625
+ id: number;
1626
+ org: string;
1627
+ }): CancelablePromise<FullCourse>;
1628
+ /**
1629
+ * Load existing course structure from OpenEdX.
1630
+ *
1631
+ * This action starts a background task to pull the course structure
1632
+ * from the EdX platform into the database.
1633
+ *
1634
+ * Args:
1635
+ * request: The HTTP request.
1636
+ * pk: The primary key of the course to load.
1637
+ *
1638
+ * Returns:
1639
+ * Response: A confirmation that the load task has been started.
1640
+ *
1641
+ * Raises:
1642
+ * NotFound: If the specified course does not exist.
1643
+ * @returns any Course load started successfully
1644
+ * @throws ApiError
1645
+ */
1646
+ static aiMentorOrgsUsersCourseCreationCourseLoadFromEdxRetrieve({ id, org, userId, }: {
1647
+ /**
1648
+ * A unique integer value identifying this edx course.
1649
+ */
1650
+ id: number;
1651
+ org: string;
1652
+ }): CancelablePromise<any>;
1653
+ /**
1654
+ * Synchronize the course structure to EdX.
1655
+ *
1656
+ * This action starts a background task to push the course structure
1657
+ * from the database to the EdX platform.
1658
+ *
1659
+ * Args:
1660
+ * request: The HTTP request.
1661
+ * pk: The primary key of the course to synchronize.
1662
+ *
1663
+ * Returns:
1664
+ * Response: A confirmation that the sync task has been started.
1665
+ *
1666
+ * Raises:
1667
+ * NotFound: If the specified course does not exist.
1668
+ * @returns any Course sync started successfully
1669
+ * @throws ApiError
1670
+ */
1671
+ static aiMentorOrgsUsersCourseCreationCourseSyncToEdxRetrieve({ id, org, userId, }: {
1672
+ /**
1673
+ * A unique integer value identifying this edx course.
1674
+ */
1675
+ id: number;
1676
+ org: string;
1677
+ }): CancelablePromise<any>;
1678
+ /**
1679
+ * Endpoint to fetch update and delete files associated with course creation tasks.
1680
+ * @returns PaginatedCourseCreationTaskFileList
1681
+ * @throws ApiError
1682
+ */
1683
+ static aiMentorOrgsUsersCourseCreationFilesList({ org, userId, page, pageSize, }: {
1684
+ org: string; /**
1685
+ * A page number within the paginated result set.
1686
+ */
1687
+ page?: number; /**
1688
+ * Number of results to return per page.
1689
+ */
1690
+ pageSize?: number;
1691
+ }): CancelablePromise<PaginatedCourseCreationTaskFileList>;
1692
+ /**
1693
+ * Endpoint to fetch update and delete files associated with course creation tasks.
1694
+ * @returns CourseCreationTaskFile
1695
+ * @throws ApiError
1696
+ */
1697
+ static aiMentorOrgsUsersCourseCreationFilesCreate({ org, userId, formData, }: {
1698
+ org: string;
1699
+ formData: CourseCreationTaskFile;
1700
+ }): CancelablePromise<CourseCreationTaskFile>;
1701
+ /**
1702
+ * Endpoint to fetch update and delete files associated with course creation tasks.
1703
+ * @returns CourseCreationTaskFile
1704
+ * @throws ApiError
1705
+ */
1706
+ static aiMentorOrgsUsersCourseCreationFilesRetrieve({ id, org, userId, }: {
1707
+ /**
1708
+ * A unique integer value identifying this course creation task file.
1709
+ */
1710
+ id: number;
1711
+ org: string;
1712
+ }): CancelablePromise<CourseCreationTaskFile>;
1713
+ /**
1714
+ * Endpoint to fetch update and delete files associated with course creation tasks.
1715
+ * @returns CourseCreationTaskFile
1716
+ * @throws ApiError
1717
+ */
1718
+ static aiMentorOrgsUsersCourseCreationFilesUpdate({ id, org, userId, formData, }: {
1719
+ /**
1720
+ * A unique integer value identifying this course creation task file.
1721
+ */
1722
+ id: number;
1723
+ org: string;
1724
+ formData: CourseCreationTaskFile;
1725
+ }): CancelablePromise<CourseCreationTaskFile>;
1726
+ /**
1727
+ * Endpoint to fetch update and delete files associated with course creation tasks.
1728
+ * @returns CourseCreationTaskFile
1729
+ * @throws ApiError
1730
+ */
1731
+ static aiMentorOrgsUsersCourseCreationFilesPartialUpdate({ id, org, userId, formData, }: {
1732
+ /**
1733
+ * A unique integer value identifying this course creation task file.
1734
+ */
1735
+ id: number;
1736
+ org: string;
1737
+ formData?: PatchedCourseCreationTaskFile;
1738
+ }): CancelablePromise<CourseCreationTaskFile>;
1739
+ /**
1740
+ * Endpoint to fetch update and delete files associated with course creation tasks.
1741
+ * @returns void
1742
+ * @throws ApiError
1743
+ */
1744
+ static aiMentorOrgsUsersCourseCreationFilesDestroy({ id, org, userId, }: {
1745
+ /**
1746
+ * A unique integer value identifying this course creation task file.
1747
+ */
1748
+ id: number;
1749
+ org: string;
1750
+ }): CancelablePromise<void>;
1751
+ /**
1752
+ * API viewset for managing course sections.
1753
+ *
1754
+ * This viewset allows platform administrators to retrieve and manage
1755
+ * sections within EdX courses.
1756
+ *
1757
+ * Permissions:
1758
+ * - Restricted to platform administrators only
1759
+ * @returns PaginatedSectionList
1760
+ * @throws ApiError
1761
+ */
1762
+ static aiMentorOrgsUsersCourseCreationSectionList({ org, userId, course, ordering, page, pageSize, search, task, }: {
1763
+ org: string;
1764
+ course?: number; /**
1765
+ * Which field to use when ordering the results.
1766
+ */
1767
+ ordering?: string; /**
1768
+ * A page number within the paginated result set.
1769
+ */
1770
+ page?: number; /**
1771
+ * Number of results to return per page.
1772
+ */
1773
+ pageSize?: number; /**
1774
+ * A search term.
1775
+ */
1776
+ search?: string;
1777
+ task?: number;
1778
+ }): CancelablePromise<PaginatedSectionList>;
1779
+ /**
1780
+ * API viewset for managing course sections.
1781
+ *
1782
+ * This viewset allows platform administrators to retrieve and manage
1783
+ * sections within EdX courses.
1784
+ *
1785
+ * Permissions:
1786
+ * - Restricted to platform administrators only
1787
+ * @returns Section
1788
+ * @throws ApiError
1789
+ */
1790
+ static aiMentorOrgsUsersCourseCreationSectionCreate({ org, userId, requestBody, }: {
1791
+ org: string;
1792
+ requestBody: Section;
1793
+ }): CancelablePromise<Section>;
1794
+ /**
1795
+ * API viewset for managing course sections.
1796
+ *
1797
+ * This viewset allows platform administrators to retrieve and manage
1798
+ * sections within EdX courses.
1799
+ *
1800
+ * Permissions:
1801
+ * - Restricted to platform administrators only
1802
+ * @returns Section
1803
+ * @throws ApiError
1804
+ */
1805
+ static aiMentorOrgsUsersCourseCreationSectionRetrieve({ id, org, userId, }: {
1806
+ /**
1807
+ * A unique integer value identifying this section.
1808
+ */
1809
+ id: number;
1810
+ org: string;
1811
+ }): CancelablePromise<Section>;
1812
+ /**
1813
+ * API viewset for managing course sections.
1814
+ *
1815
+ * This viewset allows platform administrators to retrieve and manage
1816
+ * sections within EdX courses.
1817
+ *
1818
+ * Permissions:
1819
+ * - Restricted to platform administrators only
1820
+ * @returns Section
1821
+ * @throws ApiError
1822
+ */
1823
+ static aiMentorOrgsUsersCourseCreationSectionUpdate({ id, org, userId, requestBody, }: {
1824
+ /**
1825
+ * A unique integer value identifying this section.
1826
+ */
1827
+ id: number;
1828
+ org: string;
1829
+ requestBody: Section;
1830
+ }): CancelablePromise<Section>;
1831
+ /**
1832
+ * API viewset for managing course sections.
1833
+ *
1834
+ * This viewset allows platform administrators to retrieve and manage
1835
+ * sections within EdX courses.
1836
+ *
1837
+ * Permissions:
1838
+ * - Restricted to platform administrators only
1839
+ * @returns Section
1840
+ * @throws ApiError
1841
+ */
1842
+ static aiMentorOrgsUsersCourseCreationSectionPartialUpdate({ id, org, userId, requestBody, }: {
1843
+ /**
1844
+ * A unique integer value identifying this section.
1845
+ */
1846
+ id: number;
1847
+ org: string;
1848
+ requestBody?: PatchedSection;
1849
+ }): CancelablePromise<Section>;
1850
+ /**
1851
+ * API viewset for managing course sections.
1852
+ *
1853
+ * This viewset allows platform administrators to retrieve and manage
1854
+ * sections within EdX courses.
1855
+ *
1856
+ * Permissions:
1857
+ * - Restricted to platform administrators only
1858
+ * @returns void
1859
+ * @throws ApiError
1860
+ */
1861
+ static aiMentorOrgsUsersCourseCreationSectionDestroy({ id, org, userId, }: {
1862
+ /**
1863
+ * A unique integer value identifying this section.
1864
+ */
1865
+ id: number;
1866
+ org: string;
1867
+ }): CancelablePromise<void>;
1868
+ /**
1869
+ * API viewset for managing course subsections.
1870
+ *
1871
+ * This viewset allows platform administrators to retrieve and manage
1872
+ * subsections within course sections.
1873
+ *
1874
+ * Permissions:
1875
+ * - Restricted to platform administrators only
1876
+ * @returns PaginatedSubSectionList
1877
+ * @throws ApiError
1878
+ */
1879
+ static aiMentorOrgsUsersCourseCreationSubsectionList({ org, userId, course, ordering, page, pageSize, search, section, task, }: {
1880
+ org: string;
1881
+ course?: number; /**
1882
+ * Which field to use when ordering the results.
1883
+ */
1884
+ ordering?: string; /**
1885
+ * A page number within the paginated result set.
1886
+ */
1887
+ page?: number; /**
1888
+ * Number of results to return per page.
1889
+ */
1890
+ pageSize?: number; /**
1891
+ * A search term.
1892
+ */
1893
+ search?: string;
1894
+ section?: number;
1895
+ task?: number;
1896
+ }): CancelablePromise<PaginatedSubSectionList>;
1897
+ /**
1898
+ * API viewset for managing course subsections.
1899
+ *
1900
+ * This viewset allows platform administrators to retrieve and manage
1901
+ * subsections within course sections.
1902
+ *
1903
+ * Permissions:
1904
+ * - Restricted to platform administrators only
1905
+ * @returns SubSection
1906
+ * @throws ApiError
1907
+ */
1908
+ static aiMentorOrgsUsersCourseCreationSubsectionCreate({ org, userId, requestBody, }: {
1909
+ org: string;
1910
+ requestBody: SubSection;
1911
+ }): CancelablePromise<SubSection>;
1912
+ /**
1913
+ * API viewset for managing course subsections.
1914
+ *
1915
+ * This viewset allows platform administrators to retrieve and manage
1916
+ * subsections within course sections.
1917
+ *
1918
+ * Permissions:
1919
+ * - Restricted to platform administrators only
1920
+ * @returns SubSection
1921
+ * @throws ApiError
1922
+ */
1923
+ static aiMentorOrgsUsersCourseCreationSubsectionRetrieve({ id, org, userId, }: {
1924
+ /**
1925
+ * A unique integer value identifying this sub section.
1926
+ */
1927
+ id: number;
1928
+ org: string;
1929
+ }): CancelablePromise<SubSection>;
1930
+ /**
1931
+ * API viewset for managing course subsections.
1932
+ *
1933
+ * This viewset allows platform administrators to retrieve and manage
1934
+ * subsections within course sections.
1935
+ *
1936
+ * Permissions:
1937
+ * - Restricted to platform administrators only
1938
+ * @returns SubSection
1939
+ * @throws ApiError
1940
+ */
1941
+ static aiMentorOrgsUsersCourseCreationSubsectionUpdate({ id, org, userId, requestBody, }: {
1942
+ /**
1943
+ * A unique integer value identifying this sub section.
1944
+ */
1945
+ id: number;
1946
+ org: string;
1947
+ requestBody: SubSection;
1948
+ }): CancelablePromise<SubSection>;
1949
+ /**
1950
+ * API viewset for managing course subsections.
1951
+ *
1952
+ * This viewset allows platform administrators to retrieve and manage
1953
+ * subsections within course sections.
1954
+ *
1955
+ * Permissions:
1956
+ * - Restricted to platform administrators only
1957
+ * @returns SubSection
1958
+ * @throws ApiError
1959
+ */
1960
+ static aiMentorOrgsUsersCourseCreationSubsectionPartialUpdate({ id, org, userId, requestBody, }: {
1961
+ /**
1962
+ * A unique integer value identifying this sub section.
1963
+ */
1964
+ id: number;
1965
+ org: string;
1966
+ requestBody?: PatchedSubSection;
1967
+ }): CancelablePromise<SubSection>;
1968
+ /**
1969
+ * API viewset for managing course subsections.
1970
+ *
1971
+ * This viewset allows platform administrators to retrieve and manage
1972
+ * subsections within course sections.
1973
+ *
1974
+ * Permissions:
1975
+ * - Restricted to platform administrators only
1976
+ * @returns void
1977
+ * @throws ApiError
1978
+ */
1979
+ static aiMentorOrgsUsersCourseCreationSubsectionDestroy({ id, org, userId, }: {
1980
+ /**
1981
+ * A unique integer value identifying this sub section.
1982
+ */
1983
+ id: number;
1984
+ org: string;
1985
+ }): CancelablePromise<void>;
1986
+ /**
1987
+ * Create, retrieve and delete course creation tasks
1988
+ *
1989
+ * Course creation tasks allow you to schedule the creation of a course on OpenEdx deployment connected to this data manager.
1990
+ *
1991
+ * The course is created entirely by an ai model (as specified in your inputs).
1992
+ *
1993
+ * The llm decides on the content of the course based on the name, description, target audience and other parameters.
1994
+ * Bigger and newer models tend to outperform smaller once.
1995
+ *
1996
+ * Clear and unambiguous parameters are more likely to produce better results.
1997
+ * @returns PaginatedCourseCreationTaskList
1998
+ * @throws ApiError
1999
+ */
2000
+ static aiMentorOrgsUsersCourseCreationTasksList2({ org, userId, page, pageSize, }: {
2001
+ org: string; /**
2002
+ * A page number within the paginated result set.
2003
+ */
2004
+ page?: number; /**
2005
+ * Number of results to return per page.
2006
+ */
2007
+ pageSize?: number;
2008
+ }): CancelablePromise<PaginatedCourseCreationTaskList>;
2009
+ /**
2010
+ * Create, retrieve and delete course creation tasks
2011
+ *
2012
+ * Course creation tasks allow you to schedule the creation of a course on OpenEdx deployment connected to this data manager.
2013
+ *
2014
+ * The course is created entirely by an ai model (as specified in your inputs).
2015
+ *
2016
+ * The llm decides on the content of the course based on the name, description, target audience and other parameters.
2017
+ * Bigger and newer models tend to outperform smaller once.
2018
+ *
2019
+ * Clear and unambiguous parameters are more likely to produce better results.
2020
+ * @returns CourseCreationTask
2021
+ * @throws ApiError
2022
+ */
2023
+ static aiMentorOrgsUsersCourseCreationTasksCreate2({ org, userId, formData, }: {
2024
+ org: string;
2025
+ formData: CourseCreationTask;
2026
+ }): CancelablePromise<CourseCreationTask>;
2027
+ /**
2028
+ * Create, retrieve and delete course creation tasks
2029
+ *
2030
+ * Course creation tasks allow you to schedule the creation of a course on OpenEdx deployment connected to this data manager.
2031
+ *
2032
+ * The course is created entirely by an ai model (as specified in your inputs).
2033
+ *
2034
+ * The llm decides on the content of the course based on the name, description, target audience and other parameters.
2035
+ * Bigger and newer models tend to outperform smaller once.
2036
+ *
2037
+ * Clear and unambiguous parameters are more likely to produce better results.
2038
+ * @returns CourseCreationTask
2039
+ * @throws ApiError
2040
+ */
2041
+ static aiMentorOrgsUsersCourseCreationTasksRetrieve2({ id, org, userId, }: {
2042
+ /**
2043
+ * A unique integer value identifying this course creation task.
2044
+ */
2045
+ id: number;
2046
+ org: string;
2047
+ }): CancelablePromise<CourseCreationTask>;
2048
+ /**
2049
+ * Create, retrieve and delete course creation tasks
2050
+ *
2051
+ * Course creation tasks allow you to schedule the creation of a course on OpenEdx deployment connected to this data manager.
2052
+ *
2053
+ * The course is created entirely by an ai model (as specified in your inputs).
2054
+ *
2055
+ * The llm decides on the content of the course based on the name, description, target audience and other parameters.
2056
+ * Bigger and newer models tend to outperform smaller once.
2057
+ *
2058
+ * Clear and unambiguous parameters are more likely to produce better results.
2059
+ * @returns void
2060
+ * @throws ApiError
2061
+ */
2062
+ static aiMentorOrgsUsersCourseCreationTasksDestroy2({ id, org, userId, }: {
2063
+ /**
2064
+ * A unique integer value identifying this course creation task.
2065
+ */
2066
+ id: number;
2067
+ org: string;
2068
+ }): CancelablePromise<void>;
2069
+ /**
2070
+ * Cancel a course creation task run.
2071
+ * ** Conditions Required **:
2072
+ * The task must be running or pending.
2073
+ * ** Response **:
2074
+ * - 200: The course creation task is successfully cancelled.
2075
+ * - 400: The course creation task is not in a running or pending state.
2076
+ * @returns CourseCreationTask
2077
+ * @throws ApiError
2078
+ */
2079
+ static aiMentorOrgsUsersCourseCreationTasksCancelRetrieve2({ id, org, userId, }: {
2080
+ /**
2081
+ * A unique integer value identifying this course creation task.
2082
+ */
2083
+ id: number;
2084
+ org: string;
2085
+ }): CancelablePromise<CourseCreationTask>;
2086
+ /**
2087
+ * This is intended for stepwise approach of course creation.
2088
+ *
2089
+ * Use this to intiate generating an outline of the course.
2090
+ * @returns FullCourse
2091
+ * @throws ApiError
2092
+ */
2093
+ static aiMentorOrgsUsersCourseCreationTasksCreateCourseOutlineRetrieve2({ id, org, userId, }: {
2094
+ /**
2095
+ * A unique integer value identifying this course creation task.
2096
+ */
2097
+ id: number;
2098
+ org: string;
2099
+ }): CancelablePromise<FullCourse>;
2100
+ /**
2101
+ * This is intended for stepwise approach of course creation.
2102
+ *
2103
+ * Use this to intiate generating an outline of the course.
2104
+ * @returns FullCourse
2105
+ * @throws ApiError
2106
+ */
2107
+ static aiMentorOrgsUsersCourseCreationTasksCreateCourseOutlineCreate2({ id, org, userId, formData, }: {
2108
+ /**
2109
+ * A unique integer value identifying this course creation task.
2110
+ */
2111
+ id: number;
2112
+ org: string;
2113
+ formData: CourseCreationTask;
2114
+ }): CancelablePromise<FullCourse>;
2115
+ /**
2116
+ * Kick start the course creation task.
2117
+ * This endpoint should be called once the files for a course creation task has
2118
+ * been successfully uploaded.
2119
+ *
2120
+ * ** Conditions Required **:
2121
+ * - The course creation task must be in a pending state or failed state.
2122
+ *
2123
+ * ** Response **:
2124
+ * - 200: The course creation task is successfully started.
2125
+ * - 400: The course creation task is not in a pending state.
2126
+ * @returns CourseCreationTask
2127
+ * @throws ApiError
2128
+ */
2129
+ static aiMentorOrgsUsersCourseCreationTasksStartRetrieve2({ id, org, userId, }: {
2130
+ /**
2131
+ * A unique integer value identifying this course creation task.
2132
+ */
2133
+ id: number;
2134
+ org: string;
2135
+ }): CancelablePromise<CourseCreationTask>;
2136
+ /**
2137
+ * API viewset for managing course units.
2138
+ *
2139
+ * This viewset allows platform administrators to retrieve and manage
2140
+ * units within course subsections, and generate content for them.
2141
+ *
2142
+ * Permissions:
2143
+ * - Restricted to platform administrators only
2144
+ * @returns PaginatedUnitList
2145
+ * @throws ApiError
2146
+ */
2147
+ static aiMentorOrgsUsersCourseCreationUnitList({ org, userId, course, ordering, page, pageSize, search, section, subsection, task, }: {
2148
+ org: string;
2149
+ course?: number; /**
2150
+ * Which field to use when ordering the results.
2151
+ */
2152
+ ordering?: string; /**
2153
+ * A page number within the paginated result set.
2154
+ */
2155
+ page?: number; /**
2156
+ * Number of results to return per page.
2157
+ */
2158
+ pageSize?: number; /**
2159
+ * A search term.
2160
+ */
2161
+ search?: string;
2162
+ section?: number;
2163
+ subsection?: number;
2164
+ task?: number;
2165
+ }): CancelablePromise<PaginatedUnitList>;
2166
+ /**
2167
+ * API viewset for managing course units.
2168
+ *
2169
+ * This viewset allows platform administrators to retrieve and manage
2170
+ * units within course subsections, and generate content for them.
2171
+ *
2172
+ * Permissions:
2173
+ * - Restricted to platform administrators only
2174
+ * @returns Unit
2175
+ * @throws ApiError
2176
+ */
2177
+ static aiMentorOrgsUsersCourseCreationUnitCreate({ org, userId, requestBody, }: {
2178
+ org: string;
2179
+ requestBody: Unit;
2180
+ }): CancelablePromise<Unit>;
2181
+ /**
2182
+ * API viewset for managing course units.
2183
+ *
2184
+ * This viewset allows platform administrators to retrieve and manage
2185
+ * units within course subsections, and generate content for them.
2186
+ *
2187
+ * Permissions:
2188
+ * - Restricted to platform administrators only
2189
+ * @returns Unit
2190
+ * @throws ApiError
2191
+ */
2192
+ static aiMentorOrgsUsersCourseCreationUnitRetrieve({ id, org, userId, }: {
2193
+ /**
2194
+ * A unique integer value identifying this unit.
2195
+ */
2196
+ id: number;
2197
+ org: string;
2198
+ }): CancelablePromise<Unit>;
2199
+ /**
2200
+ * API viewset for managing course units.
2201
+ *
2202
+ * This viewset allows platform administrators to retrieve and manage
2203
+ * units within course subsections, and generate content for them.
2204
+ *
2205
+ * Permissions:
2206
+ * - Restricted to platform administrators only
2207
+ * @returns Unit
2208
+ * @throws ApiError
2209
+ */
2210
+ static aiMentorOrgsUsersCourseCreationUnitUpdate({ id, org, userId, requestBody, }: {
2211
+ /**
2212
+ * A unique integer value identifying this unit.
2213
+ */
2214
+ id: number;
2215
+ org: string;
2216
+ requestBody: Unit;
2217
+ }): CancelablePromise<Unit>;
2218
+ /**
2219
+ * API viewset for managing course units.
2220
+ *
2221
+ * This viewset allows platform administrators to retrieve and manage
2222
+ * units within course subsections, and generate content for them.
2223
+ *
2224
+ * Permissions:
2225
+ * - Restricted to platform administrators only
2226
+ * @returns Unit
2227
+ * @throws ApiError
2228
+ */
2229
+ static aiMentorOrgsUsersCourseCreationUnitPartialUpdate({ id, org, userId, requestBody, }: {
2230
+ /**
2231
+ * A unique integer value identifying this unit.
2232
+ */
2233
+ id: number;
2234
+ org: string;
2235
+ requestBody?: PatchedUnit;
2236
+ }): CancelablePromise<Unit>;
2237
+ /**
2238
+ * API viewset for managing course units.
2239
+ *
2240
+ * This viewset allows platform administrators to retrieve and manage
2241
+ * units within course subsections, and generate content for them.
2242
+ *
2243
+ * Permissions:
2244
+ * - Restricted to platform administrators only
2245
+ * @returns void
2246
+ * @throws ApiError
2247
+ */
2248
+ static aiMentorOrgsUsersCourseCreationUnitDestroy({ id, org, userId, }: {
2249
+ /**
2250
+ * A unique integer value identifying this unit.
2251
+ */
2252
+ id: number;
2253
+ org: string;
2254
+ }): CancelablePromise<void>;
2255
+ /**
2256
+ * Generate draft content for a specific unit.
2257
+ *
2258
+ * This action starts a background task to create draft content
2259
+ * for the specified unit using AI.
2260
+ *
2261
+ * Args:
2262
+ * request: The HTTP request.
2263
+ * pk: The primary key of the unit to generate content for.
2264
+ *
2265
+ * Returns:
2266
+ * Response: A confirmation that the content generation task has been started.
2267
+ *
2268
+ * Raises:
2269
+ * NotFound: If the specified unit does not exist.
2270
+ * @returns any Content creation started successfully
2271
+ * @throws ApiError
2272
+ */
2273
+ static aiMentorOrgsUsersCourseCreationUnitDraftContentRetrieve({ id, org, userId, }: {
2274
+ /**
2275
+ * A unique integer value identifying this unit.
2276
+ */
2277
+ id: number;
2278
+ org: string;
2279
+ }): CancelablePromise<any>;
2280
+ /**
2281
+ * Generate draft content for a specific unit.
2282
+ *
2283
+ * This action starts a background task to create draft content
2284
+ * for the specified unit using AI.
2285
+ *
2286
+ * Args:
2287
+ * request: The HTTP request.
2288
+ * pk: The primary key of the unit to generate content for.
2289
+ *
2290
+ * Returns:
2291
+ * Response: A confirmation that the content generation task has been started.
2292
+ *
2293
+ * Raises:
2294
+ * NotFound: If the specified unit does not exist.
2295
+ * @returns any Content creation started successfully
2296
+ * @throws ApiError
2297
+ */
2298
+ static aiMentorOrgsUsersCourseCreationUnitDraftContentCreate({ id, org, userId, requestBody, }: {
2299
+ /**
2300
+ * A unique integer value identifying this unit.
2301
+ */
2302
+ id: number;
2303
+ org: string;
2304
+ requestBody: Unit;
2305
+ }): CancelablePromise<any>;
2306
+ /**
2307
+ * Create a new mentor using the wizard interface.
2308
+ *
2309
+ * Args:
2310
+ * request: The HTTP request containing the mentor data.
2311
+ * org: The organization/tenant identifier.
2312
+ * user_id: The ID of the user creating the mentor.
2313
+ *
2314
+ * Returns:
2315
+ * Response: The created mentor.
2316
+ *
2317
+ * Raises:
2318
+ * BadRequest: If the provided data is invalid.
2319
+ * @returns Mentor
2320
+ * @throws ApiError
2321
+ */
2322
+ static aiMentorOrgsUsersCreateMentorWizardCreate({ org, userId, requestBody, }: {
2323
+ org: string;
2324
+ requestBody: MentorWizard;
2325
+ }): CancelablePromise<Mentor>;
2326
+ /**
2327
+ * Retrieve custom instructions for a specific user.
2328
+ *
2329
+ * Args:
2330
+ * request: The HTTP request.
2331
+ * org: The organization/tenant identifier.
2332
+ * user_id: The ID of the user to retrieve custom instructions for.
2333
+ *
2334
+ * Returns:
2335
+ * Response: The custom instructions for the user.
2336
+ *
2337
+ * Raises:
2338
+ * NotFound: If no custom instructions exist for the user.
2339
+ * @returns CustomInstructionResponse
2340
+ * @throws ApiError
2341
+ */
2342
+ static aiMentorOrgsUsersCustomInstructionRetrieve({ org, userId, }: {
2343
+ org: string;
2344
+ }): CancelablePromise<CustomInstructionResponse>;
2345
+ /**
2346
+ * Create a new custom instruction for a user.
2347
+ *
2348
+ * Args:
2349
+ * request: The HTTP request containing the custom instruction data.
2350
+ * org: The organization/tenant identifier.
2351
+ * user_id: The ID of the user to create custom instructions for.
2352
+ *
2353
+ * Returns:
2354
+ * Response: The created custom instruction.
2355
+ *
2356
+ * Raises:
2357
+ * BadRequest: If the provided data is invalid.
2358
+ * @returns CustomInstructionResponse
2359
+ * @throws ApiError
2360
+ */
2361
+ static aiMentorOrgsUsersCustomInstructionCreate({ org, userId, requestBody, }: {
2362
+ org: string;
2363
+ requestBody?: CustomInstructionResponse;
2364
+ }): CancelablePromise<CustomInstructionResponse>;
2365
+ /**
2366
+ * Update an existing custom instruction for a user.
2367
+ *
2368
+ * Args:
2369
+ * request: The HTTP request containing the updated custom instruction data.
2370
+ * org: The organization/tenant identifier.
2371
+ * user_id: The ID of the user to update custom instructions for.
2372
+ *
2373
+ * Returns:
2374
+ * Response: The updated custom instruction.
2375
+ *
2376
+ * Raises:
2377
+ * BadRequest: If the provided data is invalid.
2378
+ * NotFound: If no custom instruction exists for the user.
2379
+ * @returns CustomInstructionResponse
2380
+ * @throws ApiError
2381
+ */
2382
+ static aiMentorOrgsUsersCustomInstructionUpdate({ org, userId, requestBody, }: {
2383
+ org: string;
2384
+ requestBody?: CustomInstructionResponse;
2385
+ }): CancelablePromise<CustomInstructionResponse>;
2386
+ /**
2387
+ * Retrieves the chat history for a user if the export task is ready.
2388
+ *
2389
+ * This Endpoint to download user chathistory.
2390
+ *
2391
+ * Accessible to tenant admins and students.
2392
+ *
2393
+ * Returns:
2394
+ *
2395
+ * 200: When task is not ready.
2396
+ *
2397
+ * 200: chat history object
2398
+ *
2399
+ * 400: When data is not valid.
2400
+ * @returns ChatHistoryItem
2401
+ * @throws ApiError
2402
+ */
2403
+ static aiMentorOrgsUsersDownloadsTasksRetrieve({ org, taskId, userId, toCsv, }: {
2404
+ org: string;
2405
+ taskId: string; /**
2406
+ * Choose download in csv or not
2407
+ */
2408
+ toCsv?: boolean;
2409
+ }): CancelablePromise<ChatHistoryItem>;
2410
+ /**
2411
+ * Endpoints to fetch and delete Edx stored Memory information stored for a user and a corresponding edx course they have interracted with.
2412
+ * This information is passed to the corresponding mentor so the mentor has context information
2413
+ * about the course and unit that the user last interracted with.
2414
+ *
2415
+ * There can be only one UserEdxMemory instance per student and course_id.
2416
+ *
2417
+ * Url Args:
2418
+ * org (str): The organization's platform key.
2419
+ * user_id (str): The username identifier of the individual.
2420
+ *
2421
+ * Returns:
2422
+ *
2423
+ * 200: A paginated list of UserEdxMemory objects
2424
+ *
2425
+ * Examples:
2426
+ *
2427
+ * - List all memories
2428
+ * GET: /api/ai-mentor/orgs/main/users/johndoe/edx-memory/
2429
+ *
2430
+ * Request: None
2431
+ * Response: {
2432
+ * "count": 0,
2433
+ * "next": null,
2434
+ * "previous": null,
2435
+ * "results": [{
2436
+ * "student": 1,
2437
+ * "course_id": "course-v1:main+CARBON+2024_Fall",
2438
+ * "data": {},
2439
+ * "date_created": "2024-06-25T15:30:26.257140",
2440
+ * "last_modified": "2024-06-25T15:30:26.257140"
2441
+ * }]
2442
+ * }
2443
+ * - Get a single UserEdxMemory object
2444
+ * GET: /api/ai-mentor/orgs/main/users/johndoe/edx-memory/1/
2445
+ *
2446
+ * Request: None
2447
+ * Response: {
2448
+ * "student": 1,
2449
+ * "course_id": "course-v1:main+CARBON+2024_Fall",
2450
+ * "data": {},
2451
+ * "date_created": "2024-06-25T15:30:26.257140",
2452
+ * "last_modified": "2024-06-25T15:30:26.257140"
2453
+ * }
2454
+ * @returns PaginatedUserEdxMemoryList
2455
+ * @throws ApiError
2456
+ */
2457
+ static aiMentorOrgsUsersEdxMemoryList({ org, userId, courseId, ordering, page, pageSize, student, username, }: {
2458
+ org: string;
2459
+ courseId?: string; /**
2460
+ * Which field to use when ordering the results.
2461
+ */
2462
+ ordering?: string; /**
2463
+ * A page number within the paginated result set.
2464
+ */
2465
+ page?: number; /**
2466
+ * Number of results to return per page.
2467
+ */
2468
+ pageSize?: number; /**
2469
+ * edX user ID
2470
+ */
2471
+ student?: number;
2472
+ username?: string;
2473
+ }): CancelablePromise<PaginatedUserEdxMemoryList>;
2474
+ /**
2475
+ * Endpoints to fetch and delete Edx stored Memory information stored for a user and a corresponding edx course they have interracted with.
2476
+ * This information is passed to the corresponding mentor so the mentor has context information
2477
+ * about the course and unit that the user last interracted with.
2478
+ *
2479
+ * There can be only one UserEdxMemory instance per student and course_id.
2480
+ *
2481
+ * Url Args:
2482
+ * org (str): The organization's platform key.
2483
+ * user_id (str): The username identifier of the individual.
2484
+ *
2485
+ * Returns:
2486
+ *
2487
+ * 200: A paginated list of UserEdxMemory objects
2488
+ *
2489
+ * Examples:
2490
+ *
2491
+ * - List all memories
2492
+ * GET: /api/ai-mentor/orgs/main/users/johndoe/edx-memory/
2493
+ *
2494
+ * Request: None
2495
+ * Response: {
2496
+ * "count": 0,
2497
+ * "next": null,
2498
+ * "previous": null,
2499
+ * "results": [{
2500
+ * "student": 1,
2501
+ * "course_id": "course-v1:main+CARBON+2024_Fall",
2502
+ * "data": {},
2503
+ * "date_created": "2024-06-25T15:30:26.257140",
2504
+ * "last_modified": "2024-06-25T15:30:26.257140"
2505
+ * }]
2506
+ * }
2507
+ * - Get a single UserEdxMemory object
2508
+ * GET: /api/ai-mentor/orgs/main/users/johndoe/edx-memory/1/
2509
+ *
2510
+ * Request: None
2511
+ * Response: {
2512
+ * "student": 1,
2513
+ * "course_id": "course-v1:main+CARBON+2024_Fall",
2514
+ * "data": {},
2515
+ * "date_created": "2024-06-25T15:30:26.257140",
2516
+ * "last_modified": "2024-06-25T15:30:26.257140"
2517
+ * }
2518
+ * @returns UserEdxMemory
2519
+ * @throws ApiError
2520
+ */
2521
+ static aiMentorOrgsUsersEdxMemoryRetrieve({ id, org, userId, }: {
2522
+ /**
2523
+ * A unique integer value identifying this user edx memory.
2524
+ */
2525
+ id: number;
2526
+ org: string;
2527
+ }): CancelablePromise<UserEdxMemory>;
2528
+ /**
2529
+ * Endpoints to fetch and delete Edx stored Memory information stored for a user and a corresponding edx course they have interracted with.
2530
+ * This information is passed to the corresponding mentor so the mentor has context information
2531
+ * about the course and unit that the user last interracted with.
2532
+ *
2533
+ * There can be only one UserEdxMemory instance per student and course_id.
2534
+ *
2535
+ * Url Args:
2536
+ * org (str): The organization's platform key.
2537
+ * user_id (str): The username identifier of the individual.
2538
+ *
2539
+ * Returns:
2540
+ *
2541
+ * 200: A paginated list of UserEdxMemory objects
2542
+ *
2543
+ * Examples:
2544
+ *
2545
+ * - List all memories
2546
+ * GET: /api/ai-mentor/orgs/main/users/johndoe/edx-memory/
2547
+ *
2548
+ * Request: None
2549
+ * Response: {
2550
+ * "count": 0,
2551
+ * "next": null,
2552
+ * "previous": null,
2553
+ * "results": [{
2554
+ * "student": 1,
2555
+ * "course_id": "course-v1:main+CARBON+2024_Fall",
2556
+ * "data": {},
2557
+ * "date_created": "2024-06-25T15:30:26.257140",
2558
+ * "last_modified": "2024-06-25T15:30:26.257140"
2559
+ * }]
2560
+ * }
2561
+ * - Get a single UserEdxMemory object
2562
+ * GET: /api/ai-mentor/orgs/main/users/johndoe/edx-memory/1/
2563
+ *
2564
+ * Request: None
2565
+ * Response: {
2566
+ * "student": 1,
2567
+ * "course_id": "course-v1:main+CARBON+2024_Fall",
2568
+ * "data": {},
2569
+ * "date_created": "2024-06-25T15:30:26.257140",
2570
+ * "last_modified": "2024-06-25T15:30:26.257140"
2571
+ * }
2572
+ * @returns void
2573
+ * @throws ApiError
2574
+ */
2575
+ static aiMentorOrgsUsersEdxMemoryDestroy({ id, org, userId, }: {
2576
+ /**
2577
+ * A unique integer value identifying this user edx memory.
2578
+ */
2579
+ id: number;
2580
+ org: string;
2581
+ }): CancelablePromise<void>;
2582
+ /**
2583
+ * Retrieve a list of Elevenlabs voices available to a user.
2584
+ *
2585
+ * This endpoint returns both custom voices created by the user
2586
+ * and premade voices available to all users.
2587
+ *
2588
+ * Args:
2589
+ * request: The HTTP request.
2590
+ * org: The organization/tenant identifier.
2591
+ * user_id: The ID of the user to retrieve voices for.
2592
+ *
2593
+ * Returns:
2594
+ * Response: A list of available Elevenlabs voices.
2595
+ *
2596
+ * Raises:
2597
+ * NotFound: If the specified user does not exist.
2598
+ * @returns ElevenlabsCustomVoiceResponse
2599
+ * @throws ApiError
2600
+ */
2601
+ static aiMentorOrgsUsersElevenlabsVoiceList({ org, userId, }: {
2602
+ org: string;
2603
+ }): CancelablePromise<Array<ElevenlabsCustomVoiceResponse>>;
2604
+ /**
2605
+ * Create a new custom Elevenlabs voice.
2606
+ *
2607
+ * This endpoint allows users to upload audio files to create a custom voice
2608
+ * that can be used with the Elevenlabs text-to-speech service.
2609
+ *
2610
+ * Note: The audio files' total length should be longer than 1 minute and
2611
+ * the total size should be smaller than 11 MiB.
2612
+ *
2613
+ * Args:
2614
+ * request: The HTTP request containing the voice name and audio files.
2615
+ * org: The organization/tenant identifier.
2616
+ * user_id: The ID of the user creating the voice.
2617
+ *
2618
+ * Returns:
2619
+ * Response: The created voice configuration.
2620
+ *
2621
+ * Raises:
2622
+ * BadRequest: If the provided data is invalid, credentials are not found, or there's an API error.
2623
+ * @returns ElevenlabsCustomVoiceResponse
2624
+ * @throws ApiError
2625
+ */
2626
+ static aiMentorOrgsUsersElevenlabsVoiceCreate({ org, userId, formData, }: {
2627
+ org: string;
2628
+ formData: ElevenlabsCustomVoice;
2629
+ }): CancelablePromise<ElevenlabsCustomVoiceResponse>;
2630
+ /**
2631
+ * Delete an existing Elevenlabs voice configuration.
2632
+ *
2633
+ * This endpoint removes a custom voice configuration both from the local database
2634
+ * and from the Elevenlabs remote API if applicable.
2635
+ *
2636
+ * Args:
2637
+ * request: The HTTP request.
2638
+ * org: The organization/tenant identifier.
2639
+ * user_id: The ID of the user who owns the voice.
2640
+ * voice_name: The name of the voice to delete.
2641
+ *
2642
+ * Returns:
2643
+ * Response: A confirmation of the deletion.
2644
+ *
2645
+ * Raises:
2646
+ * BadRequest: If the Elevenlabs credentials are not found or there's an API error.
2647
+ * @returns any Voice successfully deleted
2648
+ * @throws ApiError
2649
+ */
2650
+ static aiMentorOrgsUsersElevenlabsVoiceDestroy({ org, userId, voiceName, }: {
2651
+ org: string;
2652
+ voiceName: string;
2653
+ }): CancelablePromise<any>;
2654
+ /**
2655
+ * Initiates a background task to export the user's chat history.
2656
+ *
2657
+ * Returns:
2658
+ *
2659
+ * 200: task id.
2660
+ * @returns TaskView
2661
+ * @throws ApiError
2662
+ */
2663
+ static aiMentorOrgsUsersExportChathistoryCreate({ org, userId, }: {
2664
+ org: string;
2665
+ }): CancelablePromise<TaskView>;
2666
+ /**
2667
+ * Retrieve the count of free usage credits available to a user.
2668
+ *
2669
+ * Args:
2670
+ * request: The HTTP request.
2671
+ * org: The organization/tenant identifier.
2672
+ * user_id: The ID of the user to check free usage for.
2673
+ *
2674
+ * Returns:
2675
+ * Response: The count of free usage credits available.
2676
+ *
2677
+ * Raises:
2678
+ * NotFound: If the specified user does not exist.
2679
+ * @returns FreeUsageCount
2680
+ * @throws ApiError
2681
+ */
2682
+ static aiMentorOrgsUsersFreeUsageCountRetrieve({ org, userId, }: {
2683
+ org: string;
2684
+ }): CancelablePromise<FreeUsageCount>;
2685
+ /**
2686
+ * List all MCP servers.
2687
+ *
2688
+ * Returns a paginated list of MCP servers that can be filtered by platform
2689
+ * and searched by name or URL.
2690
+ * @returns PaginatedMCPServerList
2691
+ * @throws ApiError
2692
+ */
2693
+ static aiMentorOrgsUsersMcpServersList({ org, userId, page, pageSize, platform, search, }: {
2694
+ org: string; /**
2695
+ * A page number within the paginated result set.
2696
+ */
2697
+ page?: number; /**
2698
+ * Number of results to return per page.
2699
+ */
2700
+ pageSize?: number;
2701
+ platform?: number; /**
2702
+ * A search term.
2703
+ */
2704
+ search?: string;
2705
+ }): CancelablePromise<PaginatedMCPServerList>;
2706
+ /**
2707
+ * ViewSet for MCP Servers.
2708
+ *
2709
+ * Allows platform admins to list, create, retrieve, update, and delete MCP servers.
2710
+ *
2711
+ * Permissions:
2712
+ * - Accessible to tenant admins.
2713
+ * @returns MCPServer
2714
+ * @throws ApiError
2715
+ */
2716
+ static aiMentorOrgsUsersMcpServersCreate({ org, userId, requestBody, }: {
2717
+ org: string;
2718
+ requestBody: MCPServer;
2719
+ }): CancelablePromise<MCPServer>;
2720
+ /**
2721
+ * ViewSet for MCP Servers.
2722
+ *
2723
+ * Allows platform admins to list, create, retrieve, update, and delete MCP servers.
2724
+ *
2725
+ * Permissions:
2726
+ * - Accessible to tenant admins.
2727
+ * @returns MCPServer
2728
+ * @throws ApiError
2729
+ */
2730
+ static aiMentorOrgsUsersMcpServersRetrieve({ id, org, userId, }: {
2731
+ /**
2732
+ * A unique integer value identifying this mcp server.
2733
+ */
2734
+ id: number;
2735
+ org: string;
2736
+ }): CancelablePromise<MCPServer>;
2737
+ /**
2738
+ * ViewSet for MCP Servers.
2739
+ *
2740
+ * Allows platform admins to list, create, retrieve, update, and delete MCP servers.
2741
+ *
2742
+ * Permissions:
2743
+ * - Accessible to tenant admins.
2744
+ * @returns MCPServer
2745
+ * @throws ApiError
2746
+ */
2747
+ static aiMentorOrgsUsersMcpServersUpdate({ id, org, userId, requestBody, }: {
2748
+ /**
2749
+ * A unique integer value identifying this mcp server.
2750
+ */
2751
+ id: number;
2752
+ org: string;
2753
+ requestBody: MCPServer;
2754
+ }): CancelablePromise<MCPServer>;
2755
+ /**
2756
+ * ViewSet for MCP Servers.
2757
+ *
2758
+ * Allows platform admins to list, create, retrieve, update, and delete MCP servers.
2759
+ *
2760
+ * Permissions:
2761
+ * - Accessible to tenant admins.
2762
+ * @returns MCPServer
2763
+ * @throws ApiError
2764
+ */
2765
+ static aiMentorOrgsUsersMcpServersPartialUpdate({ id, org, userId, requestBody, }: {
2766
+ /**
2767
+ * A unique integer value identifying this mcp server.
2768
+ */
2769
+ id: number;
2770
+ org: string;
2771
+ requestBody?: PatchedMCPServer;
2772
+ }): CancelablePromise<MCPServer>;
2773
+ /**
2774
+ * ViewSet for MCP Servers.
2775
+ *
2776
+ * Allows platform admins to list, create, retrieve, update, and delete MCP servers.
2777
+ *
2778
+ * Permissions:
2779
+ * - Accessible to tenant admins.
2780
+ * @returns void
2781
+ * @throws ApiError
2782
+ */
2783
+ static aiMentorOrgsUsersMcpServersDestroy({ id, org, userId, }: {
2784
+ /**
2785
+ * A unique integer value identifying this mcp server.
2786
+ */
2787
+ id: number;
2788
+ org: string;
2789
+ }): CancelablePromise<void>;
2790
+ /**
2791
+ * Retrieve details of a specific user chat feedback entry.
2792
+ *
2793
+ * Args:
2794
+ * request: The HTTP request.
2795
+ * org: The organization/tenant identifier.
2796
+ * feedback_id: The ID of the feedback entry to retrieve.
2797
+ *
2798
+ * Returns:
2799
+ * Response: The feedback entry details.
2800
+ *
2801
+ * Raises:
2802
+ * NotFound: If the specified feedback entry does not exist.
2803
+ * @returns UserChatFeedback
2804
+ * @throws ApiError
2805
+ */
2806
+ static aiMentorOrgsUsersMentorFeedbackRetrieve({ feedbackId, org, userId, }: {
2807
+ feedbackId: number;
2808
+ org: string;
2809
+ }): CancelablePromise<UserChatFeedback>;
2810
+ /**
2811
+ * Update an existing user chat feedback entry.
2812
+ *
2813
+ * Args:
2814
+ * request: The HTTP request containing the updated feedback data.
2815
+ * org: The organization/tenant identifier.
2816
+ * feedback_id: The ID of the feedback entry to update.
2817
+ *
2818
+ * Returns:
2819
+ * Response: The updated feedback entry.
2820
+ *
2821
+ * Raises:
2822
+ * NotFound: If the specified feedback entry does not exist.
2823
+ * BadRequest: If the provided data is invalid or the mentor does not exist.
2824
+ * @returns UserChatFeedback
2825
+ * @throws ApiError
2826
+ */
2827
+ static aiMentorOrgsUsersMentorFeedbackUpdate({ feedbackId, org, userId, requestBody, }: {
2828
+ feedbackId: number;
2829
+ org: string;
2830
+ requestBody: UserChatFeedback;
2831
+ }): CancelablePromise<UserChatFeedback>;
2832
+ /**
2833
+ * Create a new user chat feedback entry.
2834
+ *
2835
+ * Args:
2836
+ * request: The HTTP request containing the feedback data.
2837
+ * org: The organization/tenant identifier.
2838
+ *
2839
+ * Returns:
2840
+ * Response: The created feedback entry.
2841
+ *
2842
+ * Raises:
2843
+ * BadRequest: If the provided data is invalid or the mentor does not exist.
2844
+ * @returns UserChatFeedback
2845
+ * @throws ApiError
2846
+ */
2847
+ static aiMentorOrgsUsersMentorFeedbackCreateCreate({ org, userId, requestBody, }: {
2848
+ org: string;
2849
+ requestBody: UserChatFeedback;
2850
+ }): CancelablePromise<UserChatFeedback>;
2851
+ /**
2852
+ * View to create a mentor from a template
2853
+ *
2854
+ * Accessible to only tenant admins.
2855
+ * @returns Mentor
2856
+ * @throws ApiError
2857
+ */
2858
+ static aiMentorOrgsUsersMentorFromTemplateCreate({ org, userId, requestBody, }: {
2859
+ org: string;
2860
+ requestBody: MentorFromTemplateRequest;
2861
+ }): CancelablePromise<Mentor>;
2862
+ /**
2863
+ * Retrieve available LLMs for a user.
2864
+ * @returns LLMResponse
2865
+ * @throws ApiError
2866
+ */
2867
+ static aiMentorOrgsUsersMentorLlmsList({ org, userId, mentorId, }: {
2868
+ org: string;
2869
+ mentorId?: string;
2870
+ }): CancelablePromise<Array<LLMResponse>>;
2871
+ /**
2872
+ * Retrieve the list of available mentor tools.
2873
+ * @returns ToolResponse
2874
+ * @throws ApiError
2875
+ */
2876
+ static aiMentorOrgsUsersMentorToolsList({ org, userId, }: {
2877
+ org: string;
2878
+ }): CancelablePromise<Array<ToolResponse>>;
2879
+ /**
2880
+ * View to create a mentor from a template with settings.
2881
+ *
2882
+ * Accessible to tenant admins only.
2883
+ * @returns Mentor
2884
+ * @throws ApiError
2885
+ */
2886
+ static aiMentorOrgsUsersMentorWithSettingsCreate({ org, userId, formData, }: {
2887
+ org: string;
2888
+ formData: MentorFromTemplateWithSettingRequest;
2889
+ }): CancelablePromise<Mentor>;
2890
+ /**
2891
+ * Retrieve the list of mentor audiences.
2892
+ *
2893
+ * Returns:
2894
+ * - 200: List of mentor audiences.
2895
+ * @returns MentorAudience
2896
+ * @throws ApiError
2897
+ */
2898
+ static aiMentorOrgsUsersMentorAudienceList({ org, userId, }: {
2899
+ org: string;
2900
+ }): CancelablePromise<Array<MentorAudience>>;
2901
+ /**
2902
+ * Create a new mentor audience.
2903
+ *
2904
+ * Accessible to tenant admins only.
2905
+ *
2906
+ * Returns:
2907
+ * - 201: Created mentor audience.
2908
+ * - 401: Unauthorized.
2909
+ * @returns MentorAudience
2910
+ * @throws ApiError
2911
+ */
2912
+ static aiMentorOrgsUsersMentorAudienceCreate({ org, userId, requestBody, }: {
2913
+ org: string;
2914
+ requestBody: MentorAudience;
2915
+ }): CancelablePromise<MentorAudience>;
2916
+ /**
2917
+ * Delete a mentor audience.
2918
+ *
2919
+ * Accessible to tenant admins only.
2920
+ *
2921
+ * Returns:
2922
+ * - 204: No content.
2923
+ * - 400: Bad request if audience name is missing.
2924
+ * - 404: Not found if audience does not exist.
2925
+ * - 401: Unauthorized.
2926
+ * @returns void
2927
+ * @throws ApiError
2928
+ */
2929
+ static aiMentorOrgsUsersMentorAudienceDestroy({ org, userId, }: {
2930
+ org: string;
2931
+ }): CancelablePromise<void>;
2932
+ /**
2933
+ * Retrieve a list of mentor categories.
2934
+ *
2935
+ * Returns:
2936
+ * 200: A list of mentor categories.
2937
+ * @returns MentorCategory
2938
+ * @throws ApiError
2939
+ */
2940
+ static aiMentorOrgsUsersMentorCategoriesList({ org, userId, }: {
2941
+ org: string;
2942
+ }): CancelablePromise<Array<MentorCategory>>;
2943
+ /**
2944
+ * Create a new mentor category.
2945
+ *
2946
+ * Accessible only to tenant admins.
2947
+ *
2948
+ * Returns:
2949
+ * 200: Details of the created mentor category.
2950
+ * @returns MentorCategory
2951
+ * @throws ApiError
2952
+ */
2953
+ static aiMentorOrgsUsersMentorCategoriesCreate({ org, userId, requestBody, }: {
2954
+ org: string;
2955
+ requestBody: MentorCategoryCreate;
2956
+ }): CancelablePromise<MentorCategory>;
2957
+ /**
2958
+ * Delete a mentor category.
2959
+ *
2960
+ * Accessible only to tenant admins.
2961
+ *
2962
+ * Returns:
2963
+ * 204: "No content" when Delete succeeded.
2964
+ * 400: Bad request data received
2965
+ * @returns void
2966
+ * @throws ApiError
2967
+ */
2968
+ static aiMentorOrgsUsersMentorCategoriesDestroy({ org, userId, }: {
2969
+ org: string;
2970
+ }): CancelablePromise<void>;
2971
+ /**
2972
+ * Seed initial mentors in a tenant.
2973
+ *
2974
+ * Args:
2975
+ * request: The HTTP request.
2976
+ * org: The organization/tenant identifier.
2977
+ * user_id: The ID of the user initiating the seeding.
2978
+ *
2979
+ * Returns:
2980
+ * Response: A success message with details about the seeded mentors.
2981
+ *
2982
+ * Raises:
2983
+ * BadRequest: If the seeding process fails.
2984
+ * @returns SeedMentorsView
2985
+ * @throws ApiError
2986
+ */
2987
+ static aiMentorOrgsUsersMentorSeedRetrieve({ org, userId, }: {
2988
+ org: string;
2989
+ }): CancelablePromise<SeedMentorsView>;
2990
+ /**
2991
+ * Retrieve details of a specific mentor by slug or name.
2992
+ * @returns Mentor
2993
+ * @throws ApiError
2994
+ */
2995
+ static aiMentorOrgsUsersMentorsRetrieve({ mentor, org, userId, }: {
2996
+ mentor: string;
2997
+ org: string;
2998
+ }): CancelablePromise<Mentor>;
2999
+ /**
3000
+ * Retrieve tools available for a particular mentor.
3001
+ * @returns ToolResponse
3002
+ * @throws ApiError
3003
+ */
3004
+ static aiMentorOrgsUsersMentorsAvailableToolsList({ mentor, org, userId, }: {
3005
+ mentor: string;
3006
+ org: string;
3007
+ }): CancelablePromise<Array<ToolResponse>>;
3008
+ /**
3009
+ * Generate IBL Call Pro authentication parameters for audio calls.
3010
+ *
3011
+ * This endpoint creates the necessary authentication tokens and parameters
3012
+ * for connecting to a IBL Call Pro room for audio communication with a mentor.
3013
+ *
3014
+ * Args:
3015
+ * request: The HTTP request object containing the required parameters.
3016
+ * org: The organization/tenant identifier.
3017
+ * user_id: The ID of the user requesting authentication.
3018
+ *
3019
+ * Returns:
3020
+ * Response: IBL Call Pro authentication parameters including URL, room name,
3021
+ * participant name, and authentication token.
3022
+ *
3023
+ * Raises:
3024
+ * ValidationError: If the request parameters are invalid.
3025
+ * BadRequest: If the IBL Call Pro credentials are not properly configured.
3026
+ * @returns CallAuthenticationResponse
3027
+ * @throws ApiError
3028
+ */
3029
+ static aiMentorOrgsUsersMentorsCreateCallCredentialsCreate({ mentor, org, userId, requestBody, }: {
3030
+ mentor: string;
3031
+ org: string;
3032
+ requestBody: CallAuthenticationRequest;
3033
+ }): CancelablePromise<CallAuthenticationResponse>;
3034
+ /**
3035
+ * Retrieve memory components for a specific mentor.
3036
+ *
3037
+ * Args:
3038
+ * request: The HTTP request.
3039
+ * org: The organization/tenant identifier.
3040
+ * user_id: The ID of the user making the request.
3041
+ * mentor: The identifier of the mentor to retrieve memory for.
3042
+ *
3043
+ * Returns:
3044
+ * Response: The memory components for the mentor.
3045
+ *
3046
+ * Raises:
3047
+ * NotFound: If the specified mentor or memory does not exist.
3048
+ * @returns MemoryComponentResponse
3049
+ * @throws ApiError
3050
+ */
3051
+ static aiMentorOrgsUsersMentorsCurrentMemoryRetrieve({ mentor, org, userId, }: {
3052
+ mentor: string;
3053
+ org: string;
3054
+ }): CancelablePromise<MemoryComponentResponse>;
3055
+ /**
3056
+ * Update memory components for a specific mentor.
3057
+ *
3058
+ * Args:
3059
+ * request: The HTTP request containing the updated memory data.
3060
+ * org: The organization/tenant identifier.
3061
+ * user_id: The ID of the user making the request.
3062
+ * mentor: The identifier of the mentor to update memory for.
3063
+ *
3064
+ * Returns:
3065
+ * Response: The updated memory components for the mentor.
3066
+ *
3067
+ * Raises:
3068
+ * BadRequest: If the provided data is invalid.
3069
+ * NotFound: If the specified mentor does not exist.
3070
+ * @returns QuestionResponse
3071
+ * @throws ApiError
3072
+ */
3073
+ static aiMentorOrgsUsersMentorsCurrentMemoryUpdate({ mentor, org, userId, requestBody, }: {
3074
+ mentor: string;
3075
+ org: string;
3076
+ requestBody: QuestionRequest;
3077
+ }): CancelablePromise<QuestionResponse>;
3078
+ /**
3079
+ * Retrieve the current custom voice settings for a mentor.
3080
+ *
3081
+ * Args:
3082
+ * request: The HTTP request.
3083
+ * org: The organization/tenant identifier.
3084
+ * user_id: The ID of the user who owns the mentor link.
3085
+ * mentor: The unique identifier of the mentor.
3086
+ *
3087
+ * Returns:
3088
+ * Response: The current custom voice settings.
3089
+ *
3090
+ * Raises:
3091
+ * NotFound: If the specified mentor or student does not exist.
3092
+ * @returns MentorCustomVoiceResponse
3093
+ * @throws ApiError
3094
+ */
3095
+ static aiMentorOrgsUsersMentorsCustomVoiceRetrieve({ mentor, org, userId, }: {
3096
+ mentor: string;
3097
+ org: string;
3098
+ }): CancelablePromise<MentorCustomVoiceResponse>;
3099
+ /**
3100
+ * Set a custom voice for a mentor.
3101
+ *
3102
+ * This endpoint allows setting a custom voice for a specific mentor,
3103
+ * either using the default voice provider or Elevenlabs.
3104
+ *
3105
+ * Args:
3106
+ * request: The HTTP request containing the voice provider and name.
3107
+ * org: The organization/tenant identifier.
3108
+ * user_id: The ID of the user who owns the mentor link.
3109
+ * mentor: The unique identifier of the mentor.
3110
+ *
3111
+ * Returns:
3112
+ * Response: The updated custom voice settings.
3113
+ *
3114
+ * Raises:
3115
+ * BadRequest: If the provided data is invalid or the voice does not exist.
3116
+ * NotFound: If the mentor or student does not exist.
3117
+ * @returns MentorCustomVoiceResponse
3118
+ * @throws ApiError
3119
+ */
3120
+ static aiMentorOrgsUsersMentorsCustomVoiceCreate({ mentor, org, userId, requestBody, }: {
3121
+ mentor: string;
3122
+ org: string;
3123
+ requestBody: MentorCustomVoice;
3124
+ }): CancelablePromise<MentorCustomVoiceResponse>;
3125
+ /**
3126
+ * Generate audio from text using a mentor's custom voice.
3127
+ *
3128
+ * This endpoint converts the provided text to speech using the
3129
+ * custom voice configured for the specified mentor.
3130
+ *
3131
+ * Args:
3132
+ * request: The HTTP request containing the text to convert.
3133
+ * org: The organization/tenant identifier.
3134
+ * user_id: The ID of the user who owns the mentor link.
3135
+ * mentor: The unique identifier of the mentor.
3136
+ *
3137
+ * Returns:
3138
+ * Response: An MP3 audio file of the synthesized speech.
3139
+ *
3140
+ * Raises:
3141
+ * BadRequest: If the text is empty, credentials are not found, or custom voice is not set.
3142
+ * NotFound: If the mentor or student does not exist.
3143
+ * @returns any MP3 audio file
3144
+ * @throws ApiError
3145
+ */
3146
+ static aiMentorOrgsUsersMentorsCustomVoiceTtsCreate({ mentor, org, userId, formData, }: {
3147
+ mentor: string;
3148
+ org: string;
3149
+ formData?: Record<string, any>;
3150
+ }): CancelablePromise<any>;
3151
+ /**
3152
+ * Update scenarios for a specific mentor.
3153
+ *
3154
+ * Args:
3155
+ * request: The HTTP request containing the updated scenarios.
3156
+ * org: The organization/tenant identifier.
3157
+ * user_id: The ID of the user making the request.
3158
+ * mentor: The identifier of the mentor to update scenarios for.
3159
+ *
3160
+ * Returns:
3161
+ * Response: The updated scenarios for the mentor.
3162
+ *
3163
+ * Raises:
3164
+ * BadRequest: If the provided data is invalid.
3165
+ * NotFound: If the specified mentor does not exist.
3166
+ * @returns MentorScenario
3167
+ * @throws ApiError
3168
+ */
3169
+ static aiMentorOrgsUsersMentorsEditScenariosUpdate({ mentor, org, userId, requestBody, }: {
3170
+ mentor: string;
3171
+ org: string;
3172
+ requestBody: MentorScenario;
3173
+ }): CancelablePromise<MentorScenario>;
3174
+ /**
3175
+ * Fork (clone) an existing mentor.
3176
+ *
3177
+ * Args:
3178
+ * request: The HTTP request containing the fork parameters.
3179
+ * org: The organization/tenant identifier.
3180
+ * mentor: The identifier of the mentor to fork.
3181
+ * user_id: The ID of the user initiating the fork.
3182
+ *
3183
+ * Returns:
3184
+ * Response: The newly created forked mentor.
3185
+ *
3186
+ * Raises:
3187
+ * BadRequest: If the provided data is invalid or the fork operation fails.
3188
+ * NotFound: If the specified mentor does not exist.
3189
+ * @returns Mentor
3190
+ * @throws ApiError
3191
+ */
3192
+ static aiMentorOrgsUsersMentorsForkCreate({ mentor, org, userId, requestBody, }: {
3193
+ mentor: string;
3194
+ org: string;
3195
+ requestBody: MentorFork;
3196
+ }): CancelablePromise<Mentor>;
3197
+ /**
3198
+ * Retrieve memory history entries for a specific mentor and user.
3199
+ *
3200
+ * Args:
3201
+ * request: The HTTP request.
3202
+ * org: The organization/tenant identifier.
3203
+ * user_id: The ID of the user to retrieve memory history for.
3204
+ * mentor: The identifier of the mentor to retrieve memory history for.
3205
+ *
3206
+ * Returns:
3207
+ * Response: The memory history entries for the mentor and user.
3208
+ *
3209
+ * Raises:
3210
+ * NotFound: If the specified mentor or memory history does not exist.
3211
+ * @returns MemoryComponentMemoryDetail
3212
+ * @throws ApiError
3213
+ */
3214
+ static aiMentorOrgsUsersMentorsHistoricalMemoryRetrieve({ mentor, org, userId, }: {
3215
+ mentor: string;
3216
+ org: string;
3217
+ }): CancelablePromise<MemoryComponentMemoryDetail>;
3218
+ /**
3219
+ * Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
3220
+ * @returns MemoryProgress
3221
+ * @throws ApiError
3222
+ */
3223
+ static aiMentorOrgsUsersMentorsMemoryProgressRetrieve({ mentor, org, userId, }: {
3224
+ mentor: string;
3225
+ org: string;
3226
+ }): CancelablePromise<MemoryProgress>;
3227
+ /**
3228
+ * Retrieve memory settings for a specific mentor.
3229
+ *
3230
+ * Args:
3231
+ * request: The HTTP request.
3232
+ * org: The organization/tenant identifier.
3233
+ * user_id: The ID of the user making the request.
3234
+ * mentor: The identifier of the mentor to retrieve settings for.
3235
+ *
3236
+ * Returns:
3237
+ * Response: The memory settings for the mentor.
3238
+ *
3239
+ * Raises:
3240
+ * NotFound: If the specified mentor or settings do not exist.
3241
+ * @returns MentorMemorySettingsResponse
3242
+ * @throws ApiError
3243
+ */
3244
+ static aiMentorOrgsUsersMentorsMemorySettingsRetrieve({ mentor, org, userId, }: {
3245
+ mentor: string;
3246
+ org: string;
3247
+ }): CancelablePromise<MentorMemorySettingsResponse>;
3248
+ /**
3249
+ * Endpoint for mentor memory item settings.
3250
+ *
3251
+ * Accessible to platform admins and superusers.
3252
+ *
3253
+ * Returns:
3254
+ *
3255
+ * 200: Change mentor memory component item.
3256
+ *
3257
+ * 400: When request is not valid.
3258
+ * @returns MentorMemorySettingsResponse
3259
+ * @throws ApiError
3260
+ */
3261
+ static aiMentorOrgsUsersMentorsMemorySettingsCreate({ mentor, org, userId, requestBody, }: {
3262
+ mentor: string;
3263
+ org: string;
3264
+ requestBody?: MentorMemorySettingsRequest;
3265
+ }): CancelablePromise<MentorMemorySettingsResponse>;
3266
+ /**
3267
+ * Retrieve evaluation criteria for a specific mentor.
3268
+ *
3269
+ * Args:
3270
+ * request: The HTTP request.
3271
+ * org: The organization/tenant identifier.
3272
+ * user_id: The ID of the user making the request.
3273
+ * mentor: The identifier of the mentor to retrieve evaluations for.
3274
+ *
3275
+ * Returns:
3276
+ * Response: The evaluation criteria for the mentor.
3277
+ *
3278
+ * Raises:
3279
+ * NotFound: If the specified mentor or evaluations do not exist.
3280
+ * @returns MentorEval
3281
+ * @throws ApiError
3282
+ */
3283
+ static aiMentorOrgsUsersMentorsMentorEvalRetrieve({ mentor, org, userId, }: {
3284
+ mentor: string;
3285
+ org: string;
3286
+ }): CancelablePromise<MentorEval>;
3287
+ /**
3288
+ * Create or update evaluation criteria for a specific mentor.
3289
+ *
3290
+ * Args:
3291
+ * request: The HTTP request containing the evaluation data.
3292
+ * org: The organization/tenant identifier.
3293
+ * user_id: The ID of the user making the request.
3294
+ * mentor: The identifier of the mentor to create/update evaluations for.
3295
+ *
3296
+ * Returns:
3297
+ * Response: The created or updated evaluation criteria.
3298
+ *
3299
+ * Raises:
3300
+ * BadRequest: If the provided data is invalid or the mentor does not exist.
3301
+ * @returns MentorEval
3302
+ * @throws ApiError
3303
+ */
3304
+ static aiMentorOrgsUsersMentorsMentorEvalCreate({ mentor, org, userId, requestBody, }: {
3305
+ mentor: string;
3306
+ org: string;
3307
+ requestBody?: MentorEvalRequest;
3308
+ }): CancelablePromise<MentorEval>;
3309
+ /**
3310
+ * Run an evaluation for a specific mentor.
3311
+ *
3312
+ * Args:
3313
+ * request: The HTTP request containing the evaluation ID.
3314
+ * org: The organization/tenant identifier.
3315
+ * user_id: The ID of the user making the request.
3316
+ * mentor: The identifier of the mentor to evaluate.
3317
+ *
3318
+ * Returns:
3319
+ * Response: The ID of the generated evaluation report.
3320
+ *
3321
+ * Raises:
3322
+ * BadRequest: If the evaluation ID is invalid or the mentor does not match.
3323
+ * @returns any Evaluation execution started successfully
3324
+ * @throws ApiError
3325
+ */
3326
+ static aiMentorOrgsUsersMentorsMentorEvalExecutionCreate({ mentor, org, userId, requestBody, }: {
3327
+ mentor: string;
3328
+ org: string;
3329
+ requestBody: RunMentorEval;
3330
+ }): CancelablePromise<any>;
3331
+ /**
3332
+ * Retrieve public mentor settings.
3333
+ *
3334
+ * Args:
3335
+ * request: HTTP request instance.
3336
+ * user_id: The ID of the user requesting settings.
3337
+ * mentor: The mentor identifier (name, slug, or unique_id).
3338
+ * org: The organization key.
3339
+ *
3340
+ * Returns:
3341
+ * Response containing the mentor settings or an error message.
3342
+ * @returns MentorSettingsPublic
3343
+ * @throws ApiError
3344
+ */
3345
+ static aiMentorOrgsUsersMentorsPublicSettingsRetrieve({ mentor, org, userId, }: {
3346
+ mentor: string;
3347
+ org: string;
3348
+ }): CancelablePromise<MentorSettingsPublic>;
3349
+ /**
3350
+ * Retrieve a specific evaluation report.
3351
+ *
3352
+ * Args:
3353
+ * request: The HTTP request.
3354
+ * org: The organization/tenant identifier.
3355
+ * user_id: The ID of the user making the request.
3356
+ * mentor: The identifier of the mentor that was evaluated.
3357
+ * report_id: The ID of the evaluation report to retrieve.
3358
+ *
3359
+ * Returns:
3360
+ * Response: The detailed evaluation report.
3361
+ *
3362
+ * Raises:
3363
+ * BadRequest: If the report does not exist, does not match the mentor, or is still being generated.
3364
+ * @returns MentorEvalReport
3365
+ * @throws ApiError
3366
+ */
3367
+ static aiMentorOrgsUsersMentorsReportsMentorEvalReportRetrieve({ mentor, org, reportId, userId, }: {
3368
+ mentor: string;
3369
+ org: string;
3370
+ reportId: number;
3371
+ }): CancelablePromise<MentorEvalReport>;
3372
+ /**
3373
+ * Retrieve available scenarios for a specific mentor.
3374
+ *
3375
+ * Args:
3376
+ * request: The HTTP request.
3377
+ * org: The organization/tenant identifier.
3378
+ * user_id: The ID of the user making the request.
3379
+ * mentor: The identifier of the mentor to retrieve scenarios for.
3380
+ *
3381
+ * Returns:
3382
+ * Response: The available scenarios for the mentor.
3383
+ *
3384
+ * Raises:
3385
+ * NotFound: If the specified mentor or scenarios do not exist.
3386
+ * @returns MentorScenario
3387
+ * @throws ApiError
3388
+ */
3389
+ static aiMentorOrgsUsersMentorsScenariosRetrieve({ mentor, org, userId, }: {
3390
+ mentor: string;
3391
+ org: string;
3392
+ }): CancelablePromise<MentorScenario>;
3393
+ /**
3394
+ * Retrieve Mentor Settings
3395
+ * Fetch the settings of a mentor within an organization. Only accessible to tenant admins.
3396
+ * @returns MentorSettingsPublic
3397
+ * @throws ApiError
3398
+ */
3399
+ static aiMentorOrgsUsersMentorsSettingsRetrieve({ mentor, org, userId, departmentId, }: {
3400
+ mentor: string;
3401
+ org: string; /**
3402
+ * Department to authorize users by
3403
+ */
3404
+ departmentId?: number;
3405
+ }): CancelablePromise<MentorSettingsPublic>;
3406
+ /**
3407
+ * Update Mentor Settings
3408
+ * Update various mentor settings including system prompts, tool permissions, and UI configurations.
3409
+ * @returns MentorSettings
3410
+ * @throws ApiError
3411
+ */
3412
+ static aiMentorOrgsUsersMentorsSettingsUpdate({ mentor, org, userId, departmentId, formData, }: {
3413
+ mentor: string;
3414
+ org: string; /**
3415
+ * Department to authorize users by
3416
+ */
3417
+ departmentId?: number;
3418
+ formData?: MentorSettingsRequest;
3419
+ }): CancelablePromise<MentorSettings>;
3420
+ /**
3421
+ * Retrieve spaced repetition question statistics.
3422
+ *
3423
+ * Args:
3424
+ * request: The HTTP request.
3425
+ * org: The organization/tenant identifier.
3426
+ * user_id: The ID of the user to retrieve statistics for.
3427
+ * mentor: The unique identifier of the mentor.
3428
+ *
3429
+ * Returns:
3430
+ * Response: Statistics about the user's performance on spaced repetition questions.
3431
+ *
3432
+ * Raises:
3433
+ * NotFound: If the mentor or student does not exist.
3434
+ * @returns SpacedRepetitionQuestionStats
3435
+ * @throws ApiError
3436
+ */
3437
+ static aiMentorOrgsUsersMentorsSpacedRepetitionQuestionStatsRetrieve({ mentor, org, userId, }: {
3438
+ mentor: string;
3439
+ org: string;
3440
+ }): CancelablePromise<SpacedRepetitionQuestionStats>;
3441
+ /**
3442
+ * Retrieve a list of learning paths associated with a specific mentor and student.
3443
+ *
3444
+ * This endpoint uses the memory component to establish the learning context for a student
3445
+ * under the guidance of a mentor. It verifies that the provided organization identifier matches
3446
+ * the mentor's platform key, and then retrieves learning path tags associated with the student's
3447
+ * question cards. Each tag is annotated with the total number of question cards and the count of
3448
+ * cards with successful repetitions (i.e., correct answers). The learning paths are ordered by the
3449
+ * number of correct answers and limited to the top five entries.
3450
+ *
3451
+ * Args:
3452
+ * request: The HTTP request containing the necessary context.
3453
+ * org (str): The organization identifier/platform key.
3454
+ * user_id (str): The username of the student.
3455
+ * mentor (str): The unique identifier of the mentor.
3456
+ * *args: Additional positional arguments.
3457
+ * **kwargs: Additional keyword arguments.
3458
+ *
3459
+ * Returns:
3460
+ * Resp200onse: memory component detail infomrmation
3461
+ *
3462
+ * Raises:
3463
+ * NotFound: If the memory component for the specified mentor and student cannot be found,
3464
+ * or if the organization identifier does not match the mentor's platform key.
3465
+ * @returns QuestionCardTag
3466
+ * @throws ApiError
3467
+ */
3468
+ static aiMentorOrgsUsersMentorsSpacedRepetitionRecommendedPathsList({ mentor, org, userId, }: {
3469
+ mentor: string;
3470
+ org: string;
3471
+ }): CancelablePromise<Array<QuestionCardTag>>;
3472
+ /**
3473
+ * Set a specific learning path for spaced repetition.
3474
+ *
3475
+ * Args:
3476
+ * request: The HTTP request containing the learning path.
3477
+ * org: The organization/tenant identifier.
3478
+ * user_id: The ID of the user to set the learning path for.
3479
+ * mentor: The unique identifier of the mentor.
3480
+ *
3481
+ * Returns:
3482
+ * Response: The set learning path.
3483
+ *
3484
+ * Raises:
3485
+ * BadRequest: If the provided data is invalid.
3486
+ * NotFound: If the learning path, mentor, or student does not exist.
3487
+ * @returns SpacedRepetitionLearningPath
3488
+ * @throws ApiError
3489
+ */
3490
+ static aiMentorOrgsUsersMentorsSpacedRepetitionRecommendedPathsUpdate({ mentor, org, userId, requestBody, }: {
3491
+ mentor: string;
3492
+ org: string;
3493
+ requestBody: SpacedRepetitionLearningPath;
3494
+ }): CancelablePromise<SpacedRepetitionLearningPath>;
3495
+ /**
3496
+ * Endpoint for getting the star status of a mentor.
3497
+ *
3498
+ * Accessible to students and admins.
3499
+ *
3500
+ *
3501
+ * Returns:
3502
+ *
3503
+ * 200: Star status.
3504
+ *
3505
+ * 400: When request is not valid.
3506
+ * @returns StarMentor
3507
+ * @throws ApiError
3508
+ */
3509
+ static aiMentorOrgsUsersMentorsStarRetrieve({ mentor, org, userId, }: {
3510
+ mentor: string;
3511
+ org: string;
3512
+ }): CancelablePromise<StarMentor>;
3513
+ /**
3514
+ * Endpoint for starring a mentor.
3515
+ *
3516
+ * Accessible to students and admins.
3517
+ *
3518
+ *
3519
+ * Returns:
3520
+ *
3521
+ * 200: Star status.
3522
+ *
3523
+ * 400: When request is not valid.
3524
+ * @returns StarMentor
3525
+ * @throws ApiError
3526
+ */
3527
+ static aiMentorOrgsUsersMentorsStarCreate({ mentor, org, userId, }: {
3528
+ mentor: string;
3529
+ org: string;
3530
+ }): CancelablePromise<StarMentor>;
3531
+ /**
3532
+ * Remove a mentor from a user's starred list.
3533
+ *
3534
+ * Args:
3535
+ * request: The HTTP request.
3536
+ * org: The organization/tenant identifier.
3537
+ * user_id: The ID of the user unstarring the mentor.
3538
+ * mentor: The identifier of the mentor to unstar.
3539
+ *
3540
+ * Returns:
3541
+ * Response: The updated star status of the mentor.
3542
+ *
3543
+ * Raises:
3544
+ * NotFound: If the specified mentor or student does not exist.
3545
+ * BadRequest: If the request is invalid.
3546
+ * @returns StarMentor
3547
+ * @throws ApiError
3548
+ */
3549
+ static aiMentorOrgsUsersMentorsUnstarCreate({ mentor, org, userId, }: {
3550
+ mentor: string;
3551
+ org: string;
3552
+ }): CancelablePromise<StarMentor>;
3553
+ /**
3554
+ * Retrieve metadata for a mentor.
3555
+ *
3556
+ * Args:
3557
+ * request: The HTTP request.
3558
+ * org: The organization/tenant identifier.
3559
+ * user_id: The ID of the user making the request.
3560
+ *
3561
+ * Returns:
3562
+ * Response: The mentor metadata.
3563
+ *
3564
+ * Raises:
3565
+ * NotFound: If no metadata exists for the specified mentor.
3566
+ * @returns MentorMetadata
3567
+ * @throws ApiError
3568
+ */
3569
+ static aiMentorOrgsUsersMetadataRetrieve({ org, userId, }: {
3570
+ org: string;
3571
+ }): CancelablePromise<MentorMetadata>;
3572
+ /**
3573
+ * Endpoint to view and delete Moderation Logs for a tenant.
3574
+ *
3575
+ * These can be filtered by username, platform_key and mentor id
3576
+ *
3577
+ *
3578
+ * A search query can be conducted to search through the prompts and reason for the moderation catch event.
3579
+ * @returns PaginatedModerationLogList
3580
+ * @throws ApiError
3581
+ */
3582
+ static aiMentorOrgsUsersModerationLogsList({ org, userId, mentor, ordering, page, pageSize, platformKey, search, targetSystem, username, }: {
3583
+ org: string;
3584
+ mentor?: number; /**
3585
+ * Which field to use when ordering the results.
3586
+ */
3587
+ ordering?: string; /**
3588
+ * A page number within the paginated result set.
3589
+ */
3590
+ page?: number; /**
3591
+ * Number of results to return per page.
3592
+ */
3593
+ pageSize?: number;
3594
+ platformKey?: string; /**
3595
+ * A search term.
3596
+ */
3597
+ search?: string; /**
3598
+ * * `Safety System` - Safety System
3599
+ * * `Moderation System` - Moderation System
3600
+ */
3601
+ targetSystem?: 'Moderation System' | 'Safety System';
3602
+ username?: string;
3603
+ }): CancelablePromise<PaginatedModerationLogList>;
3604
+ /**
3605
+ * Endpoint to view and delete Moderation Logs for a tenant.
3606
+ *
3607
+ * These can be filtered by username, platform_key and mentor id
3608
+ *
3609
+ *
3610
+ * A search query can be conducted to search through the prompts and reason for the moderation catch event.
3611
+ * @returns ModerationLog
3612
+ * @throws ApiError
3613
+ */
3614
+ static aiMentorOrgsUsersModerationLogsRetrieve({ id, org, userId, }: {
3615
+ /**
3616
+ * A unique integer value identifying this moderation log.
3617
+ */
3618
+ id: number;
3619
+ org: string;
3620
+ }): CancelablePromise<ModerationLog>;
3621
+ /**
3622
+ * Endpoint to view and delete Moderation Logs for a tenant.
3623
+ *
3624
+ * These can be filtered by username, platform_key and mentor id
3625
+ *
3626
+ *
3627
+ * A search query can be conducted to search through the prompts and reason for the moderation catch event.
3628
+ * @returns void
3629
+ * @throws ApiError
3630
+ */
3631
+ static aiMentorOrgsUsersModerationLogsDestroy({ id, org, userId, }: {
3632
+ /**
3633
+ * A unique integer value identifying this moderation log.
3634
+ */
3635
+ id: number;
3636
+ org: string;
3637
+ }): CancelablePromise<void>;
3638
+ /**
3639
+ * Endpoint to view logs for periodic agent runs.
3640
+ *
3641
+ * These logs contain the full mentor output for each run for debugging.
3642
+ * Logs are ordered from newest to oldest. However this can be changed.
3643
+ *
3644
+ * You can also filter logs for a PeriodicAgent by passing the `periodic_agent` query parameter in the URL.
3645
+ * @returns PaginatedPeriodicAgentLogList
3646
+ * @throws ApiError
3647
+ */
3648
+ static aiMentorOrgsUsersPeriodicAgentLogsList({ org, userId, ordering, page, pageSize, parentMentorId, parentSessionId, periodicAgent, search, status, username, }: {
3649
+ org: string; /**
3650
+ * Which field to use when ordering the results.
3651
+ */
3652
+ ordering?: string; /**
3653
+ * A page number within the paginated result set.
3654
+ */
3655
+ page?: number; /**
3656
+ * Number of results to return per page.
3657
+ */
3658
+ pageSize?: number;
3659
+ parentMentorId?: string;
3660
+ parentSessionId?: string;
3661
+ periodicAgent?: number; /**
3662
+ * A search term.
3663
+ */
3664
+ search?: string; /**
3665
+ * * `success` - Success
3666
+ * * `error` - Error
3667
+ * * `running` - Running
3668
+ */
3669
+ status?: 'error' | 'running' | 'success';
3670
+ username?: string;
3671
+ }): CancelablePromise<PaginatedPeriodicAgentLogList>;
3672
+ /**
3673
+ * Endpoint to view logs for periodic agent runs.
3674
+ *
3675
+ * These logs contain the full mentor output for each run for debugging.
3676
+ * Logs are ordered from newest to oldest. However this can be changed.
3677
+ *
3678
+ * You can also filter logs for a PeriodicAgent by passing the `periodic_agent` query parameter in the URL.
3679
+ * @returns PeriodicAgentLog
3680
+ * @throws ApiError
3681
+ */
3682
+ static aiMentorOrgsUsersPeriodicAgentLogsRetrieve({ id, org, userId, }: {
3683
+ /**
3684
+ * A unique integer value identifying this periodic agent log.
3685
+ */
3686
+ id: number;
3687
+ org: string;
3688
+ }): CancelablePromise<PeriodicAgentLog>;
3689
+ /**
3690
+ * Endpoint to create and view, update and delete periodic agents.
3691
+ *
3692
+ * Periodic agents are schedulers issued for mentors. These are configured with input prompt (if any)
3693
+ * as well as a cron schedule to trigger the periodic agent.
3694
+ *
3695
+ * Access to these are restricted to platform admins and tenant administrators
3696
+ *
3697
+ * Session information for running the periodic agent will be generated with the credentials of the
3698
+ * user (platform administrator) who created the agent.
3699
+ *
3700
+ * A Periodic Agent is allowed to have a `callback_url` and `callback_secret`.
3701
+ * When a `callback_url` is set for a Periodic Agent, a post request with data entries containing the log and timestamp
3702
+ * of the run will be made to the callback_url provided.
3703
+ * Here is the payload structure:
3704
+ * ```
3705
+ * {
3706
+ * "timestamp": "timestamp when the run completed",
3707
+ * "status": "status of the periodic agent",
3708
+ * "prompt": "input prompt to agent,
3709
+ * "agent_output": "...final response of agent",
3710
+ * "log": "... full agent run log",
3711
+ * "log_id": periodic agent log id.,
3712
+ * }
3713
+ * ```
3714
+ * The payload is encrypted using the `callback_secret` provided.
3715
+ *
3716
+ * You can validate the payload using the X-Hub-Signature-256 signature header for request data.
3717
+ * This is a Sha256 encoded HMAC hex digest of the payload body.
3718
+ *
3719
+ * ```python
3720
+ * import hmac
3721
+ * import haslib
3722
+ *
3723
+ * def validate_payload(request: HttpRequest, callback_secret: str):
3724
+ * # Get the X-Hub-Signature-256 header from the request
3725
+ * received_signature = request.META.get("HTTP_X_HUB_SIGNATURE_256", "")
3726
+ *
3727
+ * if not received_signature.startswith("sha256="):
3728
+ * # Invalid signature format
3729
+ * return False
3730
+ *
3731
+ * received_signature = received_signature[len("sha256=") :]
3732
+ *
3733
+ * try:
3734
+ * # Get the raw request body
3735
+ * payload = request.body
3736
+ *
3737
+ * # Compute the expected signature using the app_secret
3738
+ * expected_signature = hmac.new(
3739
+ * callback_secret.encode(), payload, hashlib.sha256
3740
+ * ).hexdigest()
3741
+ *
3742
+ * if hmac.compare_digest(received_signature, expected_signature):
3743
+ * # Signatures match, the payload is genuine
3744
+ * return True
3745
+ * else:
3746
+ * # Signatures don't match
3747
+ * return False
3748
+ * except Exception as e:
3749
+ * # Handle any errors that may occur during validation
3750
+ * return False
3751
+ *
3752
+ * ```
3753
+ * @returns PaginatedPeriodicAgentList
3754
+ * @throws ApiError
3755
+ */
3756
+ static aiMentorOrgsUsersPeriodicAgentsList({ org, userId, enabled, ordering, page, pageSize, parentMentorId, parentSessionId, previousAgent, previousAgentStatus, search, status, title, username, }: {
3757
+ org: string;
3758
+ enabled?: boolean; /**
3759
+ * Which field to use when ordering the results.
3760
+ */
3761
+ ordering?: string; /**
3762
+ * A page number within the paginated result set.
3763
+ */
3764
+ page?: number; /**
3765
+ * Number of results to return per page.
3766
+ */
3767
+ pageSize?: number;
3768
+ parentMentorId?: number;
3769
+ parentSessionId?: string;
3770
+ previousAgent?: number; /**
3771
+ * The status that the previous agent must be in before this agent gets scheduled.
3772
+ *
3773
+ * * `success` - Success
3774
+ * * `error` - Error
3775
+ * * `running` - Running
3776
+ * * `pending` - Pending
3777
+ */
3778
+ previousAgentStatus?: 'error' | 'pending' | 'running' | 'success'; /**
3779
+ * A search term.
3780
+ */
3781
+ search?: string; /**
3782
+ * * `success` - Success
3783
+ * * `error` - Error
3784
+ * * `running` - Running
3785
+ * * `pending` - Pending
3786
+ */
3787
+ status?: 'error' | 'pending' | 'running' | 'success';
3788
+ title?: string;
3789
+ username?: string;
3790
+ }): CancelablePromise<PaginatedPeriodicAgentList>;
3791
+ /**
3792
+ * Endpoint to create and view, update and delete periodic agents.
3793
+ *
3794
+ * Periodic agents are schedulers issued for mentors. These are configured with input prompt (if any)
3795
+ * as well as a cron schedule to trigger the periodic agent.
3796
+ *
3797
+ * Access to these are restricted to platform admins and tenant administrators
3798
+ *
3799
+ * Session information for running the periodic agent will be generated with the credentials of the
3800
+ * user (platform administrator) who created the agent.
3801
+ *
3802
+ * A Periodic Agent is allowed to have a `callback_url` and `callback_secret`.
3803
+ * When a `callback_url` is set for a Periodic Agent, a post request with data entries containing the log and timestamp
3804
+ * of the run will be made to the callback_url provided.
3805
+ * Here is the payload structure:
3806
+ * ```
3807
+ * {
3808
+ * "timestamp": "timestamp when the run completed",
3809
+ * "status": "status of the periodic agent",
3810
+ * "prompt": "input prompt to agent,
3811
+ * "agent_output": "...final response of agent",
3812
+ * "log": "... full agent run log",
3813
+ * "log_id": periodic agent log id.,
3814
+ * }
3815
+ * ```
3816
+ * The payload is encrypted using the `callback_secret` provided.
3817
+ *
3818
+ * You can validate the payload using the X-Hub-Signature-256 signature header for request data.
3819
+ * This is a Sha256 encoded HMAC hex digest of the payload body.
3820
+ *
3821
+ * ```python
3822
+ * import hmac
3823
+ * import haslib
3824
+ *
3825
+ * def validate_payload(request: HttpRequest, callback_secret: str):
3826
+ * # Get the X-Hub-Signature-256 header from the request
3827
+ * received_signature = request.META.get("HTTP_X_HUB_SIGNATURE_256", "")
3828
+ *
3829
+ * if not received_signature.startswith("sha256="):
3830
+ * # Invalid signature format
3831
+ * return False
3832
+ *
3833
+ * received_signature = received_signature[len("sha256=") :]
3834
+ *
3835
+ * try:
3836
+ * # Get the raw request body
3837
+ * payload = request.body
3838
+ *
3839
+ * # Compute the expected signature using the app_secret
3840
+ * expected_signature = hmac.new(
3841
+ * callback_secret.encode(), payload, hashlib.sha256
3842
+ * ).hexdigest()
3843
+ *
3844
+ * if hmac.compare_digest(received_signature, expected_signature):
3845
+ * # Signatures match, the payload is genuine
3846
+ * return True
3847
+ * else:
3848
+ * # Signatures don't match
3849
+ * return False
3850
+ * except Exception as e:
3851
+ * # Handle any errors that may occur during validation
3852
+ * return False
3853
+ *
3854
+ * ```
3855
+ * @returns PeriodicAgentCreate
3856
+ * @throws ApiError
3857
+ */
3858
+ static aiMentorOrgsUsersPeriodicAgentsCreate({ org, userId, requestBody, }: {
3859
+ org: string;
3860
+ requestBody: PeriodicAgentCreate;
3861
+ }): CancelablePromise<PeriodicAgentCreate>;
3862
+ /**
3863
+ * Endpoint to create and view, update and delete periodic agents.
3864
+ *
3865
+ * Periodic agents are schedulers issued for mentors. These are configured with input prompt (if any)
3866
+ * as well as a cron schedule to trigger the periodic agent.
3867
+ *
3868
+ * Access to these are restricted to platform admins and tenant administrators
3869
+ *
3870
+ * Session information for running the periodic agent will be generated with the credentials of the
3871
+ * user (platform administrator) who created the agent.
3872
+ *
3873
+ * A Periodic Agent is allowed to have a `callback_url` and `callback_secret`.
3874
+ * When a `callback_url` is set for a Periodic Agent, a post request with data entries containing the log and timestamp
3875
+ * of the run will be made to the callback_url provided.
3876
+ * Here is the payload structure:
3877
+ * ```
3878
+ * {
3879
+ * "timestamp": "timestamp when the run completed",
3880
+ * "status": "status of the periodic agent",
3881
+ * "prompt": "input prompt to agent,
3882
+ * "agent_output": "...final response of agent",
3883
+ * "log": "... full agent run log",
3884
+ * "log_id": periodic agent log id.,
3885
+ * }
3886
+ * ```
3887
+ * The payload is encrypted using the `callback_secret` provided.
3888
+ *
3889
+ * You can validate the payload using the X-Hub-Signature-256 signature header for request data.
3890
+ * This is a Sha256 encoded HMAC hex digest of the payload body.
3891
+ *
3892
+ * ```python
3893
+ * import hmac
3894
+ * import haslib
3895
+ *
3896
+ * def validate_payload(request: HttpRequest, callback_secret: str):
3897
+ * # Get the X-Hub-Signature-256 header from the request
3898
+ * received_signature = request.META.get("HTTP_X_HUB_SIGNATURE_256", "")
3899
+ *
3900
+ * if not received_signature.startswith("sha256="):
3901
+ * # Invalid signature format
3902
+ * return False
3903
+ *
3904
+ * received_signature = received_signature[len("sha256=") :]
3905
+ *
3906
+ * try:
3907
+ * # Get the raw request body
3908
+ * payload = request.body
3909
+ *
3910
+ * # Compute the expected signature using the app_secret
3911
+ * expected_signature = hmac.new(
3912
+ * callback_secret.encode(), payload, hashlib.sha256
3913
+ * ).hexdigest()
3914
+ *
3915
+ * if hmac.compare_digest(received_signature, expected_signature):
3916
+ * # Signatures match, the payload is genuine
3917
+ * return True
3918
+ * else:
3919
+ * # Signatures don't match
3920
+ * return False
3921
+ * except Exception as e:
3922
+ * # Handle any errors that may occur during validation
3923
+ * return False
3924
+ *
3925
+ * ```
3926
+ * @returns PeriodicAgent
3927
+ * @throws ApiError
3928
+ */
3929
+ static aiMentorOrgsUsersPeriodicAgentsRetrieve({ id, org, userId, }: {
3930
+ /**
3931
+ * A unique integer value identifying this periodic agent.
3932
+ */
3933
+ id: number;
3934
+ org: string;
3935
+ }): CancelablePromise<PeriodicAgent>;
3936
+ /**
3937
+ * Endpoint to create and view, update and delete periodic agents.
3938
+ *
3939
+ * Periodic agents are schedulers issued for mentors. These are configured with input prompt (if any)
3940
+ * as well as a cron schedule to trigger the periodic agent.
3941
+ *
3942
+ * Access to these are restricted to platform admins and tenant administrators
3943
+ *
3944
+ * Session information for running the periodic agent will be generated with the credentials of the
3945
+ * user (platform administrator) who created the agent.
3946
+ *
3947
+ * A Periodic Agent is allowed to have a `callback_url` and `callback_secret`.
3948
+ * When a `callback_url` is set for a Periodic Agent, a post request with data entries containing the log and timestamp
3949
+ * of the run will be made to the callback_url provided.
3950
+ * Here is the payload structure:
3951
+ * ```
3952
+ * {
3953
+ * "timestamp": "timestamp when the run completed",
3954
+ * "status": "status of the periodic agent",
3955
+ * "prompt": "input prompt to agent,
3956
+ * "agent_output": "...final response of agent",
3957
+ * "log": "... full agent run log",
3958
+ * "log_id": periodic agent log id.,
3959
+ * }
3960
+ * ```
3961
+ * The payload is encrypted using the `callback_secret` provided.
3962
+ *
3963
+ * You can validate the payload using the X-Hub-Signature-256 signature header for request data.
3964
+ * This is a Sha256 encoded HMAC hex digest of the payload body.
3965
+ *
3966
+ * ```python
3967
+ * import hmac
3968
+ * import haslib
3969
+ *
3970
+ * def validate_payload(request: HttpRequest, callback_secret: str):
3971
+ * # Get the X-Hub-Signature-256 header from the request
3972
+ * received_signature = request.META.get("HTTP_X_HUB_SIGNATURE_256", "")
3973
+ *
3974
+ * if not received_signature.startswith("sha256="):
3975
+ * # Invalid signature format
3976
+ * return False
3977
+ *
3978
+ * received_signature = received_signature[len("sha256=") :]
3979
+ *
3980
+ * try:
3981
+ * # Get the raw request body
3982
+ * payload = request.body
3983
+ *
3984
+ * # Compute the expected signature using the app_secret
3985
+ * expected_signature = hmac.new(
3986
+ * callback_secret.encode(), payload, hashlib.sha256
3987
+ * ).hexdigest()
3988
+ *
3989
+ * if hmac.compare_digest(received_signature, expected_signature):
3990
+ * # Signatures match, the payload is genuine
3991
+ * return True
3992
+ * else:
3993
+ * # Signatures don't match
3994
+ * return False
3995
+ * except Exception as e:
3996
+ * # Handle any errors that may occur during validation
3997
+ * return False
3998
+ *
3999
+ * ```
4000
+ * @returns PeriodicAgentCreate
4001
+ * @throws ApiError
4002
+ */
4003
+ static aiMentorOrgsUsersPeriodicAgentsUpdate({ id, org, userId, requestBody, }: {
4004
+ /**
4005
+ * A unique integer value identifying this periodic agent.
4006
+ */
4007
+ id: number;
4008
+ org: string;
4009
+ requestBody: PeriodicAgentCreate;
4010
+ }): CancelablePromise<PeriodicAgentCreate>;
4011
+ /**
4012
+ * Endpoint to create and view, update and delete periodic agents.
4013
+ *
4014
+ * Periodic agents are schedulers issued for mentors. These are configured with input prompt (if any)
4015
+ * as well as a cron schedule to trigger the periodic agent.
4016
+ *
4017
+ * Access to these are restricted to platform admins and tenant administrators
4018
+ *
4019
+ * Session information for running the periodic agent will be generated with the credentials of the
4020
+ * user (platform administrator) who created the agent.
4021
+ *
4022
+ * A Periodic Agent is allowed to have a `callback_url` and `callback_secret`.
4023
+ * When a `callback_url` is set for a Periodic Agent, a post request with data entries containing the log and timestamp
4024
+ * of the run will be made to the callback_url provided.
4025
+ * Here is the payload structure:
4026
+ * ```
4027
+ * {
4028
+ * "timestamp": "timestamp when the run completed",
4029
+ * "status": "status of the periodic agent",
4030
+ * "prompt": "input prompt to agent,
4031
+ * "agent_output": "...final response of agent",
4032
+ * "log": "... full agent run log",
4033
+ * "log_id": periodic agent log id.,
4034
+ * }
4035
+ * ```
4036
+ * The payload is encrypted using the `callback_secret` provided.
4037
+ *
4038
+ * You can validate the payload using the X-Hub-Signature-256 signature header for request data.
4039
+ * This is a Sha256 encoded HMAC hex digest of the payload body.
4040
+ *
4041
+ * ```python
4042
+ * import hmac
4043
+ * import haslib
4044
+ *
4045
+ * def validate_payload(request: HttpRequest, callback_secret: str):
4046
+ * # Get the X-Hub-Signature-256 header from the request
4047
+ * received_signature = request.META.get("HTTP_X_HUB_SIGNATURE_256", "")
4048
+ *
4049
+ * if not received_signature.startswith("sha256="):
4050
+ * # Invalid signature format
4051
+ * return False
4052
+ *
4053
+ * received_signature = received_signature[len("sha256=") :]
4054
+ *
4055
+ * try:
4056
+ * # Get the raw request body
4057
+ * payload = request.body
4058
+ *
4059
+ * # Compute the expected signature using the app_secret
4060
+ * expected_signature = hmac.new(
4061
+ * callback_secret.encode(), payload, hashlib.sha256
4062
+ * ).hexdigest()
4063
+ *
4064
+ * if hmac.compare_digest(received_signature, expected_signature):
4065
+ * # Signatures match, the payload is genuine
4066
+ * return True
4067
+ * else:
4068
+ * # Signatures don't match
4069
+ * return False
4070
+ * except Exception as e:
4071
+ * # Handle any errors that may occur during validation
4072
+ * return False
4073
+ *
4074
+ * ```
4075
+ * @returns PeriodicAgentCreate
4076
+ * @throws ApiError
4077
+ */
4078
+ static aiMentorOrgsUsersPeriodicAgentsPartialUpdate({ id, org, userId, requestBody, }: {
4079
+ /**
4080
+ * A unique integer value identifying this periodic agent.
4081
+ */
4082
+ id: number;
4083
+ org: string;
4084
+ requestBody?: PatchedPeriodicAgentCreate;
4085
+ }): CancelablePromise<PeriodicAgentCreate>;
4086
+ /**
4087
+ * Endpoint to create and view, update and delete periodic agents.
4088
+ *
4089
+ * Periodic agents are schedulers issued for mentors. These are configured with input prompt (if any)
4090
+ * as well as a cron schedule to trigger the periodic agent.
4091
+ *
4092
+ * Access to these are restricted to platform admins and tenant administrators
4093
+ *
4094
+ * Session information for running the periodic agent will be generated with the credentials of the
4095
+ * user (platform administrator) who created the agent.
4096
+ *
4097
+ * A Periodic Agent is allowed to have a `callback_url` and `callback_secret`.
4098
+ * When a `callback_url` is set for a Periodic Agent, a post request with data entries containing the log and timestamp
4099
+ * of the run will be made to the callback_url provided.
4100
+ * Here is the payload structure:
4101
+ * ```
4102
+ * {
4103
+ * "timestamp": "timestamp when the run completed",
4104
+ * "status": "status of the periodic agent",
4105
+ * "prompt": "input prompt to agent,
4106
+ * "agent_output": "...final response of agent",
4107
+ * "log": "... full agent run log",
4108
+ * "log_id": periodic agent log id.,
4109
+ * }
4110
+ * ```
4111
+ * The payload is encrypted using the `callback_secret` provided.
4112
+ *
4113
+ * You can validate the payload using the X-Hub-Signature-256 signature header for request data.
4114
+ * This is a Sha256 encoded HMAC hex digest of the payload body.
4115
+ *
4116
+ * ```python
4117
+ * import hmac
4118
+ * import haslib
4119
+ *
4120
+ * def validate_payload(request: HttpRequest, callback_secret: str):
4121
+ * # Get the X-Hub-Signature-256 header from the request
4122
+ * received_signature = request.META.get("HTTP_X_HUB_SIGNATURE_256", "")
4123
+ *
4124
+ * if not received_signature.startswith("sha256="):
4125
+ * # Invalid signature format
4126
+ * return False
4127
+ *
4128
+ * received_signature = received_signature[len("sha256=") :]
4129
+ *
4130
+ * try:
4131
+ * # Get the raw request body
4132
+ * payload = request.body
4133
+ *
4134
+ * # Compute the expected signature using the app_secret
4135
+ * expected_signature = hmac.new(
4136
+ * callback_secret.encode(), payload, hashlib.sha256
4137
+ * ).hexdigest()
4138
+ *
4139
+ * if hmac.compare_digest(received_signature, expected_signature):
4140
+ * # Signatures match, the payload is genuine
4141
+ * return True
4142
+ * else:
4143
+ * # Signatures don't match
4144
+ * return False
4145
+ * except Exception as e:
4146
+ * # Handle any errors that may occur during validation
4147
+ * return False
4148
+ *
4149
+ * ```
4150
+ * @returns void
4151
+ * @throws ApiError
4152
+ */
4153
+ static aiMentorOrgsUsersPeriodicAgentsDestroy({ id, org, userId, }: {
4154
+ /**
4155
+ * A unique integer value identifying this periodic agent.
4156
+ */
4157
+ id: number;
4158
+ org: string;
4159
+ }): CancelablePromise<void>;
4160
+ /**
4161
+ * Retrieve pinned messages for a user.
4162
+ *
4163
+ * Args:
4164
+ * request: The HTTP request.
4165
+ * org: Organization key identifier.
4166
+ * user_id: The username of the student.
4167
+ *
4168
+ * Returns:
4169
+ * Response: Paginated list of pinned messages.
4170
+ *
4171
+ * Raises:
4172
+ * NotFound: If the student or session does not exist.
4173
+ * @returns PinnedMessageGet
4174
+ * @throws ApiError
4175
+ */
4176
+ static aiMentorOrgsUsersPinMessageList({ org, sessionId, userId, }: {
4177
+ org: string; /**
4178
+ * Session id of the message to pin
4179
+ */
4180
+ sessionId: string;
4181
+ }): CancelablePromise<Array<PinnedMessageGet>>;
4182
+ /**
4183
+ * Create a pinned message for a user session.
4184
+ *
4185
+ * Args:
4186
+ * request: The HTTP request containing session details.
4187
+ * org: Organization key identifier.
4188
+ * user_id: The username of the student.
4189
+ *
4190
+ * Returns:
4191
+ * Response: Status 201 on success.
4192
+ *
4193
+ * Raises:
4194
+ * NotFound: If the student does not exist.
4195
+ * ValidationError: If request data is invalid.
4196
+ * @returns PinnedMessageCreate
4197
+ * @throws ApiError
4198
+ */
4199
+ static aiMentorOrgsUsersPinMessageCreate({ org, userId, requestBody, }: {
4200
+ org: string;
4201
+ requestBody: PinnedMessageRequest;
4202
+ }): CancelablePromise<PinnedMessageCreate>;
4203
+ /**
4204
+ * Delete a pinned message for a user.
4205
+ *
4206
+ * Args:
4207
+ * request: The HTTP request containing session details.
4208
+ * org: Organization key identifier.
4209
+ * user_id: The username of the student.
4210
+ *
4211
+ * Returns:
4212
+ * Response: Status 204 on success.
4213
+ *
4214
+ * Raises:
4215
+ * NotFound: If the student or pinned message does not exist.
4216
+ * ValidationError: If request data is invalid.
4217
+ * @returns void
4218
+ * @throws ApiError
4219
+ */
4220
+ static aiMentorOrgsUsersPinMessageDestroy({ org, userId, }: {
4221
+ org: string;
4222
+ }): CancelablePromise<void>;
4223
+ /**
4224
+ * Endpoints for viewing jobs and their status
4225
+ * A job run refers to a task with steps that an agent is going to undertake.
4226
+ * You can filter job runs by their status.
4227
+ * Note that for a single user and a specified session, at most only one JobRun instance
4228
+ * is active at any point in time.
4229
+ * @returns PaginatedJobRunList
4230
+ * @throws ApiError
4231
+ */
4232
+ static aiMentorOrgsUsersPlannedJobsList({ org, userId, active, ordering, page, pageSize, search, session, }: {
4233
+ org: string;
4234
+ active?: boolean; /**
4235
+ * Which field to use when ordering the results.
4236
+ */
4237
+ ordering?: string; /**
4238
+ * A page number within the paginated result set.
4239
+ */
4240
+ page?: number; /**
4241
+ * Number of results to return per page.
4242
+ */
4243
+ pageSize?: number; /**
4244
+ * A search term.
4245
+ */
4246
+ search?: string;
4247
+ session?: string;
4248
+ }): CancelablePromise<PaginatedJobRunList>;
4249
+ /**
4250
+ * Endpoints for viewing jobs and their status
4251
+ * A job run refers to a task with steps that an agent is going to undertake.
4252
+ * You can filter job runs by their status.
4253
+ * Note that for a single user and a specified session, at most only one JobRun instance
4254
+ * is active at any point in time.
4255
+ * @returns JobRun
4256
+ * @throws ApiError
4257
+ */
4258
+ static aiMentorOrgsUsersPlannedJobsRetrieve({ id, org, userId, }: {
4259
+ /**
4260
+ * A unique integer value identifying this job run.
4261
+ */
4262
+ id: number;
4263
+ org: string;
4264
+ }): CancelablePromise<JobRun>;
4265
+ /**
4266
+ * Endpoints for viewing playwright scripts and updating playwright scripts for a tenant and user.
4267
+ * @returns PaginatedPlayWrightScriptList
4268
+ * @throws ApiError
4269
+ */
4270
+ static aiMentorOrgsUsersPlaywrightScriptsList({ org, userId, isPublic, ordering, page, pageSize, search, student, }: {
4271
+ org: string;
4272
+ isPublic?: boolean; /**
4273
+ * Which field to use when ordering the results.
4274
+ */
4275
+ ordering?: string; /**
4276
+ * A page number within the paginated result set.
4277
+ */
4278
+ page?: number; /**
4279
+ * Number of results to return per page.
4280
+ */
4281
+ pageSize?: number; /**
4282
+ * A search term.
4283
+ */
4284
+ search?: string; /**
4285
+ * edX user ID
4286
+ */
4287
+ student?: number;
4288
+ }): CancelablePromise<PaginatedPlayWrightScriptList>;
4289
+ /**
4290
+ * Endpoints for viewing playwright scripts and updating playwright scripts for a tenant and user.
4291
+ * @returns PlayWrightScript
4292
+ * @throws ApiError
4293
+ */
4294
+ static aiMentorOrgsUsersPlaywrightScriptsCreate({ org, userId, requestBody, }: {
4295
+ org: string;
4296
+ requestBody: PlayWrightScript;
4297
+ }): CancelablePromise<PlayWrightScript>;
4298
+ /**
4299
+ * Endpoints for viewing playwright scripts and updating playwright scripts for a tenant and user.
4300
+ * @returns PlayWrightScript
4301
+ * @throws ApiError
4302
+ */
4303
+ static aiMentorOrgsUsersPlaywrightScriptsRetrieve({ id, org, userId, }: {
4304
+ /**
4305
+ * A unique integer value identifying this play wright script.
4306
+ */
4307
+ id: number;
4308
+ org: string;
4309
+ }): CancelablePromise<PlayWrightScript>;
4310
+ /**
4311
+ * Endpoints for viewing playwright scripts and updating playwright scripts for a tenant and user.
4312
+ * @returns PlayWrightScript
4313
+ * @throws ApiError
4314
+ */
4315
+ static aiMentorOrgsUsersPlaywrightScriptsUpdate({ id, org, userId, requestBody, }: {
4316
+ /**
4317
+ * A unique integer value identifying this play wright script.
4318
+ */
4319
+ id: number;
4320
+ org: string;
4321
+ requestBody: PlayWrightScript;
4322
+ }): CancelablePromise<PlayWrightScript>;
4323
+ /**
4324
+ * Endpoints for viewing playwright scripts and updating playwright scripts for a tenant and user.
4325
+ * @returns PlayWrightScript
4326
+ * @throws ApiError
4327
+ */
4328
+ static aiMentorOrgsUsersPlaywrightScriptsPartialUpdate({ id, org, userId, requestBody, }: {
4329
+ /**
4330
+ * A unique integer value identifying this play wright script.
4331
+ */
4332
+ id: number;
4333
+ org: string;
4334
+ requestBody?: PatchedPlayWrightScript;
4335
+ }): CancelablePromise<PlayWrightScript>;
4336
+ /**
4337
+ * Endpoints for viewing playwright scripts and updating playwright scripts for a tenant and user.
4338
+ * @returns void
4339
+ * @throws ApiError
4340
+ */
4341
+ static aiMentorOrgsUsersPlaywrightScriptsDestroy({ id, org, userId, }: {
4342
+ /**
4343
+ * A unique integer value identifying this play wright script.
4344
+ */
4345
+ id: number;
4346
+ org: string;
4347
+ }): CancelablePromise<void>;
4348
+ /**
4349
+ * Retrieve predictive analytics based on historical data variables.
4350
+ *
4351
+ * Args:
4352
+ * request: HTTP request containing predictive analytics input.
4353
+ * org: Organization key identifier.
4354
+ *
4355
+ * Returns:
4356
+ * - 200: Object containing predicted data.
4357
+ * - 400: When AI response cannot be loaded into JSON.
4358
+ * - 404: When OpenAI key for the tenant is not set.
4359
+ * - 429: When OpenAI request exceeds the rate limit.
4360
+ *
4361
+ * Example:
4362
+ * **POST** `/api/ai-prompt/orgs/main/users/johndoe/predictive-analytics/`
4363
+ * @returns PredictiveAnalyticsResponse
4364
+ * @throws ApiError
4365
+ */
4366
+ static aiMentorOrgsUsersPredictiveAnalyticsCreate({ org, userId, requestBody, }: {
4367
+ org: string;
4368
+ requestBody: PredictiveAnalyticsRequest;
4369
+ }): CancelablePromise<PredictiveAnalyticsResponse>;
4370
+ /**
4371
+ * Retrieves recent chat messages based on provided query parameters.
4372
+ *
4373
+ * Returns:
4374
+ * 200: Paginated List of chat messages.
4375
+ * 400: Invalid query parameters.
4376
+ * @returns any No response body
4377
+ * @throws ApiError
4378
+ */
4379
+ static aiMentorOrgsUsersRecentMessagesRetrieve({ org, userId, }: {
4380
+ org: string;
4381
+ }): CancelablePromise<any>;
4382
+ /**
4383
+ * Endpoint for listing most recently accessed mentors.
4384
+ *
4385
+ * Accessible to students and admins.
4386
+ *
4387
+ *
4388
+ * Returns:
4389
+ *
4390
+ * 200: List of most recently accessed mentors.
4391
+ *
4392
+ * 400: When request is not valid.
4393
+ * @returns RecentlyAccessedMentor
4394
+ * @throws ApiError
4395
+ */
4396
+ static aiMentorOrgsUsersRecentlyAccessedMentorsList({ org, userId, }: {
4397
+ org: string;
4398
+ }): CancelablePromise<Array<RecentlyAccessedMentor>>;
4399
+ /**
4400
+ * Retrieve recommended courses for a specific user.
4401
+ *
4402
+ * Args:
4403
+ * request: The HTTP request containing query parameters.
4404
+ * org: The organization/tenant identifier.
4405
+ * user_id: The ID of the user to get recommendations for.
4406
+ *
4407
+ * Returns:
4408
+ * Response: A list of recommended courses.
4409
+ *
4410
+ * Raises:
4411
+ * BadRequest: If the query parameters are invalid.
4412
+ * NotFound: If the OpenAI API key for the tenant is not found.
4413
+ * TooManyRequests: If rate limits are exceeded.
4414
+ * ServerError: If there's an error processing the AI response.
4415
+ * @returns RecommendCourseResponse
4416
+ * @throws ApiError
4417
+ */
4418
+ static aiMentorOrgsUsersRecommendCoursesRetrieve({ org, userId, includeLearnerSkills, includeMainCourses, rankByDifficulty, returnCourseData, returnNumber, searchTerms, }: {
4419
+ org: string; /**
4420
+ * Include available learner skills for search
4421
+ */
4422
+ includeLearnerSkills?: boolean; /**
4423
+ * Include courses from the main tenant
4424
+ */
4425
+ includeMainCourses?: boolean; /**
4426
+ * Rank by course difficulty
4427
+ */
4428
+ rankByDifficulty?: boolean; /**
4429
+ * Return course data
4430
+ */
4431
+ returnCourseData?: boolean; /**
4432
+ * Number of courses to return
4433
+ */
4434
+ returnNumber?: number; /**
4435
+ * Terms to be searched
4436
+ */
4437
+ searchTerms?: string;
4438
+ }): CancelablePromise<RecommendCourseResponse>;
4439
+ /**
4440
+ * Retrieve recommended course blocks for a specific user.
4441
+ *
4442
+ * Args:
4443
+ * request: The HTTP request containing query parameters.
4444
+ * org: The organization/tenant identifier.
4445
+ * user_id: The ID of the user to get recommendations for.
4446
+ *
4447
+ * Returns:
4448
+ * Response: A list of recommended course blocks.
4449
+ *
4450
+ * Raises:
4451
+ * BadRequest: If the query parameters are invalid.
4452
+ * @returns RecommendCourseBlock
4453
+ * @throws ApiError
4454
+ */
4455
+ static aiMentorOrgsUsersRecommendCoursesBlockRetrieve({ org, userId, includeLearnerSkills, includeMainCourses, rankByDifficulty, returnCourseData, returnNumber, searchTerms, }: {
4456
+ org: string; /**
4457
+ * Include available learner skills for search
4458
+ */
4459
+ includeLearnerSkills?: boolean; /**
4460
+ * Include courses from the main tenant
4461
+ */
4462
+ includeMainCourses?: boolean; /**
4463
+ * Rank by course difficulty
4464
+ */
4465
+ rankByDifficulty?: boolean; /**
4466
+ * Return course data
4467
+ */
4468
+ returnCourseData?: boolean; /**
4469
+ * Number of courses to return
4470
+ */
4471
+ returnNumber?: number; /**
4472
+ * Terms to be searched
4473
+ */
4474
+ searchTerms?: string;
4475
+ }): CancelablePromise<RecommendCourseBlock>;
4476
+ /**
4477
+ * Search for web resources based on a query.
4478
+ *
4479
+ * Args:
4480
+ * request: The HTTP request containing the search query.
4481
+ * org: The organization/tenant identifier.
4482
+ * user_id: The ID of the user making the request.
4483
+ *
4484
+ * Returns:
4485
+ * Response: A list of web resources matching the query.
4486
+ *
4487
+ * Raises:
4488
+ * ValidationError: If the search fails or returns no results.
4489
+ * @returns WebResource
4490
+ * @throws ApiError
4491
+ */
4492
+ static aiMentorOrgsUsersResourcesWebCreate({ org, userId, requestBody, }: {
4493
+ org: string;
4494
+ requestBody: WebResourcesQuery;
4495
+ }): CancelablePromise<Array<WebResource>>;
4496
+ /**
4497
+ * Endpoint to view and delete Safety System Logs for a tenant.
4498
+ *
4499
+ * These can be filtered by username, platform_key and mentor id
4500
+ *
4501
+ *
4502
+ * A search query can be conducted to search through the prompts and reason for the moderation catch event.
4503
+ * @returns PaginatedModerationLogList
4504
+ * @throws ApiError
4505
+ */
4506
+ static aiMentorOrgsUsersSafetyLogsList({ org, userId, mentor, ordering, page, pageSize, platformKey, search, targetSystem, username, }: {
4507
+ org: string;
4508
+ mentor?: number; /**
4509
+ * Which field to use when ordering the results.
4510
+ */
4511
+ ordering?: string; /**
4512
+ * A page number within the paginated result set.
4513
+ */
4514
+ page?: number; /**
4515
+ * Number of results to return per page.
4516
+ */
4517
+ pageSize?: number;
4518
+ platformKey?: string; /**
4519
+ * A search term.
4520
+ */
4521
+ search?: string; /**
4522
+ * * `Safety System` - Safety System
4523
+ * * `Moderation System` - Moderation System
4524
+ */
4525
+ targetSystem?: 'Moderation System' | 'Safety System';
4526
+ username?: string;
4527
+ }): CancelablePromise<PaginatedModerationLogList>;
4528
+ /**
4529
+ * Endpoint to view and delete Safety System Logs for a tenant.
4530
+ *
4531
+ * These can be filtered by username, platform_key and mentor id
4532
+ *
4533
+ *
4534
+ * A search query can be conducted to search through the prompts and reason for the moderation catch event.
4535
+ * @returns ModerationLog
4536
+ * @throws ApiError
4537
+ */
4538
+ static aiMentorOrgsUsersSafetyLogsRetrieve({ id, org, userId, }: {
4539
+ /**
4540
+ * A unique integer value identifying this moderation log.
4541
+ */
4542
+ id: number;
4543
+ org: string;
4544
+ }): CancelablePromise<ModerationLog>;
4545
+ /**
4546
+ * Endpoint to view and delete Safety System Logs for a tenant.
4547
+ *
4548
+ * These can be filtered by username, platform_key and mentor id
4549
+ *
4550
+ *
4551
+ * A search query can be conducted to search through the prompts and reason for the moderation catch event.
4552
+ * @returns void
4553
+ * @throws ApiError
4554
+ */
4555
+ static aiMentorOrgsUsersSafetyLogsDestroy({ id, org, userId, }: {
4556
+ /**
4557
+ * A unique integer value identifying this moderation log.
4558
+ */
4559
+ id: number;
4560
+ org: string;
4561
+ }): CancelablePromise<void>;
4562
+ /**
4563
+ * Retrieve session details including message counts and timestamps.
4564
+ *
4565
+ * Query Parameters:
4566
+ * page (optional, int): Page number for pagination.
4567
+ *
4568
+ * Returns:
4569
+ * - 200: Paginated list of session details.
4570
+ * - 404: Session not found.
4571
+ * @returns SessionDetail
4572
+ * @throws ApiError
4573
+ */
4574
+ static aiMentorOrgsUsersSessionDetailMentorsList({ mentor, org, userId, page, }: {
4575
+ mentor: string;
4576
+ org: string; /**
4577
+ * Page number for pagination
4578
+ */
4579
+ page?: number;
4580
+ }): CancelablePromise<Array<SessionDetail>>;
4581
+ /**
4582
+ * Retrieve user sessions filtered by start date and end date.
4583
+ *
4584
+ * Query Parameters:
4585
+ * start_date (optional, ISO format): Start date for filtering sessions.
4586
+ * end_date (optional, ISO format): End date for filtering sessions.
4587
+ *
4588
+ * Returns:
4589
+ * - 200: List of session IDs with insertion timestamps.
4590
+ * - 400: Invalid request parameters.
4591
+ * @returns ChatHistorySessionId
4592
+ * @throws ApiError
4593
+ */
4594
+ static aiMentorOrgsUsersSessionidList({ org, userId, endDate, startDate, }: {
4595
+ org: string;
4596
+ endDate?: string;
4597
+ startDate?: string;
4598
+ }): CancelablePromise<Array<ChatHistorySessionId>>;
4599
+ /**
4600
+ * Retrieve or create a chat session with a mentor.
4601
+ *
4602
+ * Passing `null` as `tools` results in using all tools assigned to the mentor.
4603
+ * To specify that no tools be used, pass an empty list.
4604
+ *
4605
+ * Args:
4606
+ * request: HTTP request containing mentor details.
4607
+ * org: Organization key identifier.
4608
+ * user_id (optional): Username for authentication (if required by the mentor).
4609
+ *
4610
+ * Returns:
4611
+ * Response: JSON object containing the session ID.
4612
+ *
4613
+ * Raises:
4614
+ * Http404: If the mentor is not found.
4615
+ * ValidationError: If the username is invalid.
4616
+ * ValidationError: If one or more tool slugs are invalid.
4617
+ * @returns ChatSessionResponse
4618
+ * @throws ApiError
4619
+ */
4620
+ static aiMentorOrgsUsersSessionsCreate({ org, userId, requestBody, }: {
4621
+ org: string;
4622
+ requestBody: ChatSessionRequest;
4623
+ }): CancelablePromise<ChatSessionResponse>;
4624
+ /**
4625
+ * Retrieve Chat Messages
4626
+ * Fetches chat messages for a specific session.
4627
+ * @returns MessageView
4628
+ * @throws ApiError
4629
+ */
4630
+ static aiMentorOrgsUsersSessionsRetrieve({ org, sessionId, userId, share, }: {
4631
+ org: string;
4632
+ sessionId: string;
4633
+ share?: boolean;
4634
+ }): CancelablePromise<MessageView>;
4635
+ /**
4636
+ * Update the title of a chat session and its tools
4637
+ * @returns MessageViewUpdatResponse
4638
+ * @throws ApiError
4639
+ */
4640
+ static aiMentorOrgsUsersSessionsUpdate({ org, sessionId, userId, requestBody, }: {
4641
+ org: string;
4642
+ sessionId: string;
4643
+ requestBody?: MessageViewRequest;
4644
+ }): CancelablePromise<MessageViewUpdatResponse>;
4645
+ /**
4646
+ * Deletes all messages in a chat session.
4647
+ * @returns void
4648
+ * @throws ApiError
4649
+ */
4650
+ static aiMentorOrgsUsersSessionsDestroy({ org, sessionId, userId, }: {
4651
+ org: string;
4652
+ sessionId: string;
4653
+ }): CancelablePromise<void>;
4654
+ /**
4655
+ * Endpoint to fetch the logs of a session.
4656
+ * Logs are cached for up to 1 hour of their creation: accessing the logs after an hour will result in an empty data.
4657
+ *
4658
+ * This is intentional and made to avoid cases where logs bloat our in-memory db.
4659
+ *
4660
+ * Accessible to tenant admins and students.
4661
+ *
4662
+ * Url Args:
4663
+ * org (str): The organization's platform key.
4664
+ * user_id (str): The username identifier of the individual.
4665
+ * session_id (str): The session id.
4666
+ *
4667
+ * Returns:
4668
+ *
4669
+ * 200: a SessionBrowserScreenshot object
4670
+ * @returns SessionBrowserScreenshot
4671
+ * @throws ApiError
4672
+ */
4673
+ static aiMentorOrgsUsersSessionsBrowserScreenshotRetrieve({ org, sessionId, userId, }: {
4674
+ org: string;
4675
+ sessionId: string;
4676
+ }): CancelablePromise<SessionBrowserScreenshot>;
4677
+ /**
4678
+ * Retrieves the chat history for a session as a plain text file.
4679
+ *
4680
+ * Returns:
4681
+ * 200: txt file containing coversation
4682
+ * @returns any No response body
4683
+ * @throws ApiError
4684
+ */
4685
+ static aiMentorOrgsUsersSessionsDownloadSessionRetrieve({ org, sessionId, userId, }: {
4686
+ org: string;
4687
+ sessionId: string;
4688
+ }): CancelablePromise<any>;
4689
+ /**
4690
+ * Retrieve memory data for a specific session.
4691
+ *
4692
+ * This endpoint returns the memory components (knowledge gaps, lessons learned,
4693
+ * help requests) that were generated during the specified chat session.
4694
+ *
4695
+ * Args:
4696
+ * org: The organization/tenant identifier.
4697
+ * user_id: The ID of the user who owns the session.
4698
+ * session_id: The ID of the session to retrieve memory for.
4699
+ *
4700
+ * Returns:
4701
+ * Response: The memory data associated with the session.
4702
+ *
4703
+ * Raises:
4704
+ * NotFound: If the session does not exist or does not belong to the user.
4705
+ * @returns SessionMemoryStorage
4706
+ * @throws ApiError
4707
+ */
4708
+ static aiMentorOrgsUsersSessionsMemoryRetrieve({ org, sessionId, userId, }: {
4709
+ org: string;
4710
+ sessionId: string;
4711
+ }): CancelablePromise<SessionMemoryStorage>;
4712
+ /**
4713
+ * Retrieve shell logs for a specific session.
4714
+ *
4715
+ * Args:
4716
+ * request: The HTTP request.
4717
+ * org: The organization/tenant identifier.
4718
+ * user_id: The ID of the user who owns the session.
4719
+ * session_id: The ID of the session to retrieve logs for.
4720
+ *
4721
+ * Returns:
4722
+ * Response: The shell logs for the specified session.
4723
+ *
4724
+ * Raises:
4725
+ * NotFound: If the specified session does not exist.
4726
+ * @returns ShellLogs
4727
+ * @throws ApiError
4728
+ */
4729
+ static aiMentorOrgsUsersSessionsShellLogsRetrieve({ org, sessionId, userId, }: {
4730
+ org: string;
4731
+ sessionId: string;
4732
+ }): CancelablePromise<ShellLogs>;
4733
+ /**
4734
+ * Retrieve a list of related questions based on a chat session.
4735
+ * @returns RelatedText
4736
+ * @throws ApiError
4737
+ */
4738
+ static aiMentorOrgsUsersSessionsSuggestionList({ org, sessionId, userId, numQuestions, }: {
4739
+ org: string;
4740
+ sessionId: string;
4741
+ numQuestions?: number;
4742
+ }): CancelablePromise<Array<RelatedText>>;
4743
+ /**
4744
+ * Retrieves the chat history for a given session if the export task is ready.
4745
+ *
4746
+ * Returns:
4747
+ *
4748
+ * 200: When task is not ready.
4749
+ *
4750
+ * 200: chat history object
4751
+ *
4752
+ * 400: When data is not valid.
4753
+ * @returns ChatHistoryItem
4754
+ * @throws ApiError
4755
+ */
4756
+ static aiMentorOrgsUsersSessionsTasksRetrieve({ org, sessionId, taskId, userId, toCsv, }: {
4757
+ org: string;
4758
+ sessionId: string;
4759
+ taskId: string; /**
4760
+ * Choose download in csv or not
4761
+ */
4762
+ toCsv?: boolean;
4763
+ }): CancelablePromise<ChatHistoryItem>;
4764
+ /**
4765
+ * Retrieve all LLM models assigned to a specific tenant.
4766
+ *
4767
+ * Args:
4768
+ * request: The HTTP request.
4769
+ * org: The unique identifier of the tenant.
4770
+ *
4771
+ * Returns:
4772
+ * Response: A list of LLM models assigned to the tenant.
4773
+ *
4774
+ * Raises:
4775
+ * NotFound: If the specified tenant does not have any associated models.
4776
+ * ValidationError: If an unexpected error occurs.
4777
+ * @returns LLMModelForTenant
4778
+ * @throws ApiError
4779
+ */
4780
+ static aiMentorOrgsUsersSettingsTenantLlmList({ org, userId, }: {
4781
+ org: string;
4782
+ }): CancelablePromise<Array<LLMModelForTenant>>;
4783
+ /**
4784
+ * Create or update an LLM model for a tenant.
4785
+ *
4786
+ * Accessible only to tenant administrators.
4787
+ *
4788
+ * Args:
4789
+ * request: The HTTP request containing LLM model details.
4790
+ * org: The unique identifier of the tenant.
4791
+ *
4792
+ * Returns:
4793
+ * Response: Details of the newly created or updated LLM model.
4794
+ *
4795
+ * Raises:
4796
+ * ValidationError: If request data is invalid.
4797
+ * NotFound: If the tenant does not exist.
4798
+ * @returns LLMModelForTenant
4799
+ * @throws ApiError
4800
+ */
4801
+ static aiMentorOrgsUsersSettingsTenantLlmCreate({ org, userId, requestBody, }: {
4802
+ org: string;
4803
+ requestBody: LLMModelForTenant;
4804
+ }): CancelablePromise<LLMModelForTenant>;
4805
+ /**
4806
+ * Retrieve a list of mentors starred by a specific user.
4807
+ *
4808
+ * Args:
4809
+ * request: The HTTP request.
4810
+ * org: The organization/tenant identifier.
4811
+ * user_id: The ID of the user to retrieve starred mentors for.
4812
+ *
4813
+ * Returns:
4814
+ * Response: A list of the user's starred mentors, sorted by most recently accessed.
4815
+ *
4816
+ * Raises:
4817
+ * NotFound: If the specified student does not exist.
4818
+ * BadRequest: If the request is invalid.
4819
+ * @returns StarMentor
4820
+ * @throws ApiError
4821
+ */
4822
+ static aiMentorOrgsUsersStarredMentorsList({ org, userId, }: {
4823
+ org: string;
4824
+ }): CancelablePromise<Array<StarMentor>>;
4825
+ /**
4826
+ * Retrieves the status of a task using its task ID.
4827
+ *
4828
+ * Accessible to both tenant admins and students.
4829
+ *
4830
+ * Returns:
4831
+ *
4832
+ * 200: task id
4833
+ * @returns RetrieveTask
4834
+ * @throws ApiError
4835
+ */
4836
+ static aiMentorOrgsUsersTasksRetrieve({ org, taskId, userId, }: {
4837
+ org: string;
4838
+ taskId: string;
4839
+ }): CancelablePromise<RetrieveTask>;
4840
+ /**
4841
+ * Export chat history for a session.
4842
+ *
4843
+ * Returns:
4844
+ * 200: Task ID for the export operation.
4845
+ * @returns TaskView
4846
+ * @throws ApiError
4847
+ */
4848
+ static aiMentorOrgsUsersTasksSessionsCreate({ org, sessionId, userId, requestBody, }: {
4849
+ org: string;
4850
+ sessionId: string;
4851
+ requestBody: TaskView;
4852
+ }): CancelablePromise<TaskView>;
4853
+ /**
4854
+ * Retrieve a list of available voice options.
4855
+ *
4856
+ * Args:
4857
+ * request: The HTTP request.
4858
+ *
4859
+ * Returns:
4860
+ * Response: A list of available voice options.
4861
+ *
4862
+ * Raises:
4863
+ * NotFound: If no voice options are available.
4864
+ * @returns PaginatedVoiceList
4865
+ * @throws ApiError
4866
+ */
4867
+ static aiMentorOrgsUsersVoicesList({ org, userId, ordering, page, pageSize, provider, search, }: {
4868
+ org: string; /**
4869
+ * Which field to use when ordering the results.
4870
+ */
4871
+ ordering?: string; /**
4872
+ * A page number within the paginated result set.
4873
+ */
4874
+ page?: number; /**
4875
+ * Number of results to return per page.
4876
+ */
4877
+ pageSize?: number; /**
4878
+ * * `openai` - Openai
4879
+ * * `google` - Google
4880
+ * * `elevenlabs` - Elevenlabs
4881
+ */
4882
+ provider?: 'elevenlabs' | 'google' | 'openai'; /**
4883
+ * A search term.
4884
+ */
4885
+ search?: string;
4886
+ }): CancelablePromise<PaginatedVoiceList>;
4887
+ /**
4888
+ * Retrieve details of a specific voice option.
4889
+ *
4890
+ * Args:
4891
+ * request: The HTTP request.
4892
+ * pk: The primary key of the voice option to retrieve.
4893
+ *
4894
+ * Returns:
4895
+ * Response: The details of the specified voice option.
4896
+ *
4897
+ * Raises:
4898
+ * NotFound: If the specified voice option does not exist.
4899
+ * @returns Voice
4900
+ * @throws ApiError
4901
+ */
4902
+ static aiMentorOrgsUsersVoicesRetrieve({ id, org, userId, }: {
4903
+ /**
4904
+ * A unique integer value identifying this voice.
4905
+ */
4906
+ id: number;
4907
+ org: string;
4908
+ }): CancelablePromise<Voice>;
4909
+ /**
4910
+ * @returns any No response body
4911
+ * @throws ApiError
4912
+ */
4913
+ static aiMentorOrgsWebhooksAzureTriggerCreate({ org, slug, }: {
4914
+ org: string;
4915
+ slug: string;
4916
+ }): CancelablePromise<any>;
4917
+ /**
4918
+ * Handle incoming POST requests from GitHub webhook for pull requests.
4919
+ *
4920
+ * Args:
4921
+ * request: The HTTP request object containing the webhook payload.
4922
+ * org: the organizaion name.
4923
+ *
4924
+ * Returns:
4925
+ * Response: A response indicating the result of processing the webhook event.
4926
+ * @returns any No response body
4927
+ * @throws ApiError
4928
+ */
4929
+ static aiMentorOrgsWebhooksGithubPullrequestCreate({ org, }: {
4930
+ org: string;
4931
+ }): CancelablePromise<any>;
4932
+ /**
4933
+ * @returns any No response body
4934
+ * @throws ApiError
4935
+ */
4936
+ static aiMentorWebhooksAzureEmailchatCreate(): CancelablePromise<any>;
4937
+ }