@iblai/iblai-api 3.50.1-core → 3.51.0-ai

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (608) hide show
  1. package/dist/index.cjs.js +15697 -510
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +15691 -511
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.umd.js +15697 -510
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/types/index.d.ts +288 -8
  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/CallAuthenticationRequest.d.ts +13 -0
  21. package/dist/types/models/CallAuthenticationResponse.d.ts +21 -0
  22. package/dist/types/models/CallConfiguration.d.ts +26 -0
  23. package/dist/types/models/CallConfigurationModeEnum.d.ts +8 -0
  24. package/dist/types/models/ChatHistory.d.ts +8 -0
  25. package/dist/types/models/ChatHistoryFilterData.d.ts +9 -0
  26. package/dist/types/models/ChatHistoryFilterUser.d.ts +5 -0
  27. package/dist/types/models/ChatHistoryItem.d.ts +5 -0
  28. package/dist/types/models/ChatHistorySessionId.d.ts +3 -0
  29. package/dist/types/models/ChatSessionRequest.d.ts +10 -0
  30. package/dist/types/models/ChatSessionResponse.d.ts +5 -0
  31. package/dist/types/models/CheckDocumentTrainingStatus.d.ts +10 -0
  32. package/dist/types/models/ComponentBlock.d.ts +9 -0
  33. package/dist/types/models/ComponentBlockTypeEnum.d.ts +8 -0
  34. package/dist/types/models/ConversationMessage.d.ts +11 -0
  35. package/dist/types/models/ConversationRating.d.ts +6 -0
  36. package/dist/types/models/ConversationSummary.d.ts +5 -0
  37. package/dist/types/models/ConversationVolume.d.ts +4 -0
  38. package/dist/types/models/Conversations.d.ts +28 -0
  39. package/dist/types/models/Cost.d.ts +3 -0
  40. package/dist/types/models/CostPerTenant.d.ts +6 -0
  41. package/dist/types/models/CourseCreationTask.d.ts +31 -0
  42. package/dist/types/models/CourseCreationTaskFile.d.ts +7 -0
  43. package/dist/types/models/CourseCreationTaskStatusEnum.d.ts +16 -0
  44. package/dist/types/models/CredentialRequest.d.ts +14 -0
  45. package/dist/types/models/CrontabSchedule.d.ts +22 -0
  46. package/dist/types/models/CustomInstructionResponse.d.ts +13 -0
  47. package/dist/types/models/DateRange.d.ts +4 -0
  48. package/dist/types/models/Document.d.ts +41 -0
  49. package/dist/types/models/DocumentFacet.d.ts +17 -0
  50. package/dist/types/models/DocumentSearchResponse.d.ts +35 -0
  51. package/dist/types/models/DocumentSettingsResponse.d.ts +3 -0
  52. package/dist/types/models/EdxCourse.d.ts +11 -0
  53. package/dist/types/models/ElevenlabsCustomVoice.d.ts +4 -0
  54. package/dist/types/models/ElevenlabsCustomVoiceResponse.d.ts +8 -0
  55. package/dist/types/models/EmailPromptDetail.d.ts +13 -0
  56. package/dist/types/models/EmailPromptList.d.ts +11 -0
  57. package/dist/types/models/EmailPromptSummary.d.ts +5 -0
  58. package/dist/types/models/FreeUsageCount.d.ts +3 -0
  59. package/dist/types/models/FullCourse.d.ts +13 -0
  60. package/dist/types/models/GreetingMethodEnum.d.ts +8 -0
  61. package/dist/types/models/GuidedPromptsResponse.d.ts +3 -0
  62. package/dist/types/models/HeygenMarketingVideoDetail.d.ts +8 -0
  63. package/dist/types/models/HeygenMarketingVideoList.d.ts +6 -0
  64. package/dist/types/models/HeygenTemplateRequest.d.ts +5 -0
  65. package/dist/types/models/HeygenTemplateResponseSingle.d.ts +6 -0
  66. package/dist/types/models/HeygenVideoDetail.d.ts +8 -0
  67. package/dist/types/models/HeygenVideoRequest.d.ts +5 -0
  68. package/dist/types/models/IBLAIPlatformMeta.d.ts +3 -0
  69. package/dist/types/models/IBLAIPlatformMetaRequest.d.ts +6 -0
  70. package/dist/types/models/IBLAIPlatformMetaUpdateRequest.d.ts +10 -0
  71. package/dist/types/models/InputQuestion.d.ts +6 -0
  72. package/dist/types/models/IntegrationCredential.d.ts +8 -0
  73. package/dist/types/models/IntialQuestionAnswer.d.ts +3 -0
  74. package/dist/types/models/JobRun.d.ts +11 -0
  75. package/dist/types/models/KindEnum.d.ts +10 -0
  76. package/dist/types/models/LLMCredentialRequest.d.ts +14 -0
  77. package/dist/types/models/LLMCredentialResponse.d.ts +8 -0
  78. package/dist/types/models/LLMModelForTenant.d.ts +6 -0
  79. package/dist/types/models/LLMQuestion.d.ts +15 -0
  80. package/dist/types/models/LLMResponse.d.ts +14 -0
  81. package/dist/types/models/LLMTracesListResponse.d.ts +5 -0
  82. package/dist/types/models/LanguagesView.d.ts +5 -0
  83. package/dist/types/models/LinkCourseRequest.d.ts +3 -0
  84. package/dist/types/models/LinkCourseResponse.d.ts +5 -0
  85. package/dist/types/models/LlmProviderEnum.d.ts +8 -0
  86. package/dist/types/models/MCPServer.d.ts +21 -0
  87. package/dist/types/models/MemoryComponentData.d.ts +5 -0
  88. package/dist/types/models/MemoryComponentMemory.d.ts +4 -0
  89. package/dist/types/models/MemoryComponentMemoryDetail.d.ts +8 -0
  90. package/dist/types/models/MemoryComponentResponse.d.ts +5 -0
  91. package/dist/types/models/MemoryProgress.d.ts +8 -0
  92. package/dist/types/models/MemoryStatusRequestView.d.ts +6 -0
  93. package/dist/types/models/MemoryStatusView.d.ts +6 -0
  94. package/dist/types/models/Mentor.d.ts +87 -0
  95. package/dist/types/models/MentorAudience.d.ts +5 -0
  96. package/dist/types/models/MentorCategory.d.ts +9 -0
  97. package/dist/types/models/MentorCategoryCreate.d.ts +11 -0
  98. package/dist/types/models/MentorCategoryGroup.d.ts +11 -0
  99. package/dist/types/models/MentorCategoryGroupCreate.d.ts +11 -0
  100. package/dist/types/models/MentorCreate.d.ts +84 -0
  101. package/dist/types/models/MentorCustomVoice.d.ts +4 -0
  102. package/dist/types/models/MentorCustomVoiceResponse.d.ts +4 -0
  103. package/dist/types/models/MentorData.d.ts +7 -0
  104. package/dist/types/models/MentorDetailAnalytics.d.ts +6 -0
  105. package/dist/types/models/MentorEval.d.ts +11 -0
  106. package/dist/types/models/MentorEvalQuestion.d.ts +5 -0
  107. package/dist/types/models/MentorEvalQuestionRequest.d.ts +4 -0
  108. package/dist/types/models/MentorEvalReport.d.ts +10 -0
  109. package/dist/types/models/MentorEvalRequest.d.ts +8 -0
  110. package/dist/types/models/MentorFacet.d.ts +17 -0
  111. package/dist/types/models/MentorFork.d.ts +5 -0
  112. package/dist/types/models/MentorFromTemplateRequest.d.ts +4 -0
  113. package/dist/types/models/MentorFromTemplateWithSettingRequest.d.ts +47 -0
  114. package/dist/types/models/MentorMemorySettingsRequest.d.ts +6 -0
  115. package/dist/types/models/MentorMemorySettingsResponse.d.ts +6 -0
  116. package/dist/types/models/MentorMetadata.d.ts +5 -0
  117. package/dist/types/models/MentorScenario.d.ts +6 -0
  118. package/dist/types/models/MentorScenarioPrompt.d.ts +5 -0
  119. package/dist/types/models/MentorSearchResponse.d.ts +35 -0
  120. package/dist/types/models/MentorSession.d.ts +4 -0
  121. package/dist/types/models/MentorSettings.d.ts +60 -0
  122. package/dist/types/models/MentorSettingsPublic.d.ts +46 -0
  123. package/dist/types/models/MentorSettingsRequest.d.ts +62 -0
  124. package/dist/types/models/MentorVisibilityEnum.d.ts +10 -0
  125. package/dist/types/models/MentorWizard.d.ts +4 -0
  126. package/dist/types/models/MessageStatistics.d.ts +5 -0
  127. package/dist/types/models/MessageView.d.ts +10 -0
  128. package/dist/types/models/MessageViewRequest.d.ts +7 -0
  129. package/dist/types/models/MessageViewUpdatResponse.d.ts +3 -0
  130. package/dist/types/models/Metadata.d.ts +5 -0
  131. package/dist/types/models/MetricChange.d.ts +4 -0
  132. package/dist/types/models/ModelCost.d.ts +4 -0
  133. package/dist/types/models/ModerationLog.d.ts +11 -0
  134. package/dist/types/models/NoChatMessagesFound.d.ts +3 -0
  135. package/dist/types/models/NotificationSource.d.ts +2 -2
  136. package/dist/types/models/{TypeEnum.d.ts → NotificationSourceTypeEnum.d.ts} +1 -1
  137. package/dist/types/models/NullEnum.d.ts +1 -0
  138. package/dist/types/models/PageContent.d.ts +6 -0
  139. package/dist/types/models/PaginatedAIGeneratedImageList.d.ts +7 -0
  140. package/dist/types/models/PaginatedConversationsList.d.ts +7 -0
  141. package/dist/types/models/PaginatedCourseCreationTaskFileList.d.ts +7 -0
  142. package/dist/types/models/PaginatedCourseCreationTaskList.d.ts +7 -0
  143. package/dist/types/models/PaginatedEdxCourseList.d.ts +7 -0
  144. package/dist/types/models/PaginatedEmailPromptListList.d.ts +7 -0
  145. package/dist/types/models/PaginatedHeygenMarketingVideoListList.d.ts +7 -0
  146. package/dist/types/models/PaginatedHeygenTemplateResponseSingleList.d.ts +7 -0
  147. package/dist/types/models/PaginatedJobRunList.d.ts +7 -0
  148. package/dist/types/models/PaginatedMCPServerList.d.ts +7 -0
  149. package/dist/types/models/PaginatedMentorList.d.ts +7 -0
  150. package/dist/types/models/PaginatedModerationLogList.d.ts +7 -0
  151. package/dist/types/models/PaginatedPeriodicAgentList.d.ts +7 -0
  152. package/dist/types/models/PaginatedPeriodicAgentLogList.d.ts +7 -0
  153. package/dist/types/models/PaginatedPlayWrightScriptList.d.ts +7 -0
  154. package/dist/types/models/PaginatedSectionList.d.ts +7 -0
  155. package/dist/types/models/PaginatedSubSectionList.d.ts +7 -0
  156. package/dist/types/models/PaginatedTopicStatisticsResponse.d.ts +7 -0
  157. package/dist/types/models/PaginatedUnitList.d.ts +7 -0
  158. package/dist/types/models/PaginatedUserEdxMemoryList.d.ts +7 -0
  159. package/dist/types/models/PaginatedVoiceList.d.ts +7 -0
  160. package/dist/types/models/PatchedCallConfiguration.d.ts +26 -0
  161. package/dist/types/models/PatchedConversations.d.ts +28 -0
  162. package/dist/types/models/PatchedCourseCreationTaskFile.d.ts +7 -0
  163. package/dist/types/models/PatchedCredentialRequest.d.ts +14 -0
  164. package/dist/types/models/PatchedLLMCredentialRequest.d.ts +14 -0
  165. package/dist/types/models/PatchedMCPServer.d.ts +21 -0
  166. package/dist/types/models/PatchedMentorCategoryGroupCreate.d.ts +11 -0
  167. package/dist/types/models/PatchedMentorCreate.d.ts +84 -0
  168. package/dist/types/models/PatchedPeriodicAgentCreate.d.ts +41 -0
  169. package/dist/types/models/PatchedPlayWrightScript.d.ts +12 -0
  170. package/dist/types/models/PatchedPrompt.d.ts +22 -0
  171. package/dist/types/models/PatchedRbacPolicy.d.ts +20 -0
  172. package/dist/types/models/PatchedSection.d.ts +9 -0
  173. package/dist/types/models/PatchedSubSection.d.ts +9 -0
  174. package/dist/types/models/PatchedUnit.d.ts +11 -0
  175. package/dist/types/models/PeriodicAgent.d.ts +42 -0
  176. package/dist/types/models/PeriodicAgentCreate.d.ts +41 -0
  177. package/dist/types/models/PeriodicAgentLog.d.ts +11 -0
  178. package/dist/types/models/PeriodicAgentLogStatusEnum.d.ts +10 -0
  179. package/dist/types/models/PeriodicTask.d.ts +21 -0
  180. package/dist/types/models/PieChartData.d.ts +5 -0
  181. package/dist/types/models/PieChartSegment.d.ts +4 -0
  182. package/dist/types/models/PinnedMessageCreate.d.ts +9 -0
  183. package/dist/types/models/PinnedMessageGet.d.ts +7 -0
  184. package/dist/types/models/PinnedMessageRequest.d.ts +6 -0
  185. package/dist/types/models/PlayWrightScript.d.ts +12 -0
  186. package/dist/types/models/PredictiveAnalyticsRequest.d.ts +4 -0
  187. package/dist/types/models/PredictiveAnalyticsResponse.d.ts +4 -0
  188. package/dist/types/models/PreviousAgentStatusEnum.d.ts +12 -0
  189. package/dist/types/models/Prompt.d.ts +22 -0
  190. package/dist/types/models/PromptCategory.d.ts +7 -0
  191. package/dist/types/models/PromptFacet.d.ts +17 -0
  192. package/dist/types/models/PromptSearchResponse.d.ts +35 -0
  193. package/dist/types/models/PromptVisibilityEnum.d.ts +10 -0
  194. package/dist/types/models/ProviderEnum.d.ts +10 -0
  195. package/dist/types/models/QuestionCardTag.d.ts +8 -0
  196. package/dist/types/models/QuestionRequest.d.ts +15 -0
  197. package/dist/types/models/QuestionResponse.d.ts +10 -0
  198. package/dist/types/models/RatingEnum.d.ts +8 -0
  199. package/dist/types/models/RatingRecord.d.ts +4 -0
  200. package/dist/types/models/RbacPolicy.d.ts +20 -0
  201. package/dist/types/models/RbacPolicyGroup.d.ts +20 -0
  202. package/dist/types/models/RecentlyAccessedMentor.d.ts +8 -0
  203. package/dist/types/models/RecommendCourseBlock.d.ts +3 -0
  204. package/dist/types/models/RecommendCourseResponse.d.ts +3 -0
  205. package/dist/types/models/RecommendedCoursesResponse.d.ts +33 -0
  206. package/dist/types/models/RelatedText.d.ts +3 -0
  207. package/dist/types/models/RequestDataVariable.d.ts +14 -0
  208. package/dist/types/models/ResourceScrappedData.d.ts +13 -0
  209. package/dist/types/models/ResourceScrappedDataStatusEnum.d.ts +12 -0
  210. package/dist/types/models/ResponseDataVariable.d.ts +14 -0
  211. package/dist/types/models/RetreiverTrainViewRequest.d.ts +10 -0
  212. package/dist/types/models/RetreiverTrainViewResponse.d.ts +6 -0
  213. package/dist/types/models/RetrieveTask.d.ts +3 -0
  214. package/dist/types/models/RetrieverDocumentEmbedding.d.ts +17 -0
  215. package/dist/types/models/RetrieverDocumentEmbeddingRequest.d.ts +30 -0
  216. package/dist/types/models/RetrieverRequestSearch.d.ts +10 -0
  217. package/dist/types/models/RetrieverRequestSearchDocument.d.ts +10 -0
  218. package/dist/types/models/RetrieverResponseSearch.d.ts +7 -0
  219. package/dist/types/models/ReuestDataVariableList.d.ts +4 -0
  220. package/dist/types/models/RunMentorEval.d.ts +3 -0
  221. package/dist/types/models/ScanWebhookRequest.d.ts +6 -0
  222. package/dist/types/models/ScanWebhookResponse.d.ts +3 -0
  223. package/dist/types/models/Section.d.ts +9 -0
  224. package/dist/types/models/SectionWithChildren.d.ts +11 -0
  225. package/dist/types/models/SeedMentorsView.d.ts +3 -0
  226. package/dist/types/models/SentimentSummary.d.ts +4 -0
  227. package/dist/types/models/SessionBrowserScreenshot.d.ts +8 -0
  228. package/dist/types/models/SessionDetail.d.ts +6 -0
  229. package/dist/types/models/SessionMemoryStorage.d.ts +6 -0
  230. package/dist/types/models/ShellLogs.d.ts +3 -0
  231. package/dist/types/models/SpacedRepetitionLearningPath.d.ts +3 -0
  232. package/dist/types/models/SpacedRepetitionQuestionStats.d.ts +5 -0
  233. package/dist/types/models/StarMentor.d.ts +7 -0
  234. package/dist/types/models/Status6eeEnum.d.ts +12 -0
  235. package/dist/types/models/Step.d.ts +9 -0
  236. package/dist/types/models/StepStatusEnum.d.ts +10 -0
  237. package/dist/types/models/StripeCheckoutSessionRequest.d.ts +2 -2
  238. package/dist/types/models/{ModeEnum.d.ts → StripeCheckoutSessionRequestModeEnum.d.ts} +1 -1
  239. package/dist/types/models/SttProviderEnum.d.ts +12 -0
  240. package/dist/types/models/StudentChatMessage.d.ts +4 -0
  241. package/dist/types/models/StylesView.d.ts +4 -0
  242. package/dist/types/models/SubSection.d.ts +9 -0
  243. package/dist/types/models/SubSectionWithChildren.d.ts +11 -0
  244. package/dist/types/models/TagsView.d.ts +5 -0
  245. package/dist/types/models/TargetSystemEnum.d.ts +8 -0
  246. package/dist/types/models/TaskView.d.ts +3 -0
  247. package/dist/types/models/TemplateMentor.d.ts +9 -0
  248. package/dist/types/models/TenantMentorTraces.d.ts +6 -0
  249. package/dist/types/models/ThemeEnum.d.ts +8 -0
  250. package/dist/types/models/TonesView.d.ts +4 -0
  251. package/dist/types/models/ToolResponse.d.ts +11 -0
  252. package/dist/types/models/TopicModel.d.ts +3 -0
  253. package/dist/types/models/TopicRecord.d.ts +4 -0
  254. package/dist/types/models/TopicStatistics.d.ts +7 -0
  255. package/dist/types/models/TopicStatisticsResponse.d.ts +6 -0
  256. package/dist/types/models/TopicSummaryView.d.ts +4 -0
  257. package/dist/types/models/TrainChatSessionDocumentView.d.ts +6 -0
  258. package/dist/types/models/TrainChatSessionDocumentViewRequest.d.ts +6 -0
  259. package/dist/types/models/TrainDocumentViewRequest.d.ts +42 -0
  260. package/dist/types/models/TrainDocumentViewResponse.d.ts +15 -0
  261. package/dist/types/models/TrainingStatusEnum.d.ts +12 -0
  262. package/dist/types/models/TransportEnum.d.ts +8 -0
  263. package/dist/types/models/TrendEntry.d.ts +4 -0
  264. package/dist/types/models/TriggerRequest.d.ts +5 -0
  265. package/dist/types/models/TriggerResponse.d.ts +6 -0
  266. package/dist/types/models/TtsProviderEnum.d.ts +10 -0
  267. package/dist/types/models/TypeC42Enum.d.ts +8 -0
  268. package/dist/types/models/Unit.d.ts +11 -0
  269. package/dist/types/models/UnitWithChildren.d.ts +13 -0
  270. package/dist/types/models/UseMainCreds.d.ts +3 -0
  271. package/dist/types/models/UserAllChatMemoryView.d.ts +7 -0
  272. package/dist/types/models/UserCatalogItemMemoryView.d.ts +14 -0
  273. package/dist/types/models/UserChatByPeriod.d.ts +4 -0
  274. package/dist/types/models/UserChatFeedback.d.ts +14 -0
  275. package/dist/types/models/UserChatFeedbackCount.d.ts +4 -0
  276. package/dist/types/models/UserChatMemoryStatusRequestView.d.ts +6 -0
  277. package/dist/types/models/UserChatMemoryStatusView.d.ts +6 -0
  278. package/dist/types/models/UserChatMemoryUpdateView.d.ts +10 -0
  279. package/dist/types/models/UserCountRecord.d.ts +4 -0
  280. package/dist/types/models/UserEdxMemory.d.ts +15 -0
  281. package/dist/types/models/UserMemoryContextRequest.d.ts +13 -0
  282. package/dist/types/models/UserMemoryContextResponse.d.ts +12 -0
  283. package/dist/types/models/UserMetric.d.ts +4 -0
  284. package/dist/types/models/UserMetricsResponse.d.ts +7 -0
  285. package/dist/types/models/UserSentimentCountView.d.ts +4 -0
  286. package/dist/types/models/UserTrendByPeriod.d.ts +5 -0
  287. package/dist/types/models/VectorResult.d.ts +8 -0
  288. package/dist/types/models/VideoCaption.d.ts +3 -0
  289. package/dist/types/models/Voice.d.ts +9 -0
  290. package/dist/types/models/WebResource.d.ts +9 -0
  291. package/dist/types/models/WebResourceCard.d.ts +7 -0
  292. package/dist/types/models/WebResourcesQuery.d.ts +3 -0
  293. package/dist/types/services/AiAccountService.d.ts +319 -0
  294. package/dist/types/services/AiAnalyticsService.d.ts +3899 -0
  295. package/dist/types/services/AiIndexService.d.ts +407 -0
  296. package/dist/types/services/AiMarketingService.d.ts +38 -0
  297. package/dist/types/services/AiMediaService.d.ts +122 -0
  298. package/dist/types/services/AiMentorService.d.ts +4936 -0
  299. package/dist/types/services/AiPromptService.d.ts +1034 -0
  300. package/dist/types/services/CoreService.d.ts +3 -187
  301. package/dist/types/services/SearchService.d.ts +718 -0
  302. package/package.json +1 -1
  303. package/src/core/OpenAPI.ts +1 -1
  304. package/src/index.ts +288 -8
  305. package/src/models/AIGeneratedImage.ts +18 -0
  306. package/src/models/AIUserProfileMemoryRelation.ts +9 -0
  307. package/src/models/AIUserProfileRequest.ts +9 -0
  308. package/src/models/APITokenCost.ts +19 -0
  309. package/src/models/AccessEnum.ts +12 -0
  310. package/src/models/AlignMentorBubbleEnum.ts +12 -0
  311. package/src/models/AnalyticsOverview.ts +12 -0
  312. package/src/models/Answer.ts +16 -0
  313. package/src/models/AssumedKnowledge.ts +9 -0
  314. package/src/models/AssumedKnowledgeLevel.ts +9 -0
  315. package/src/models/AudioToTextRequest.ts +8 -0
  316. package/src/models/AudioToTextResponse.ts +8 -0
  317. package/src/models/CallAuthenticationRequest.ts +18 -0
  318. package/src/models/CallAuthenticationResponse.ts +26 -0
  319. package/src/models/CallConfiguration.ts +31 -0
  320. package/src/models/CallConfigurationModeEnum.ts +12 -0
  321. package/src/models/ChatHistory.ts +13 -0
  322. package/src/models/ChatHistoryFilterData.ts +14 -0
  323. package/src/models/ChatHistoryFilterUser.ts +10 -0
  324. package/src/models/ChatHistoryItem.ts +10 -0
  325. package/src/models/ChatHistorySessionId.ts +8 -0
  326. package/src/models/ChatSessionRequest.ts +15 -0
  327. package/src/models/ChatSessionResponse.ts +10 -0
  328. package/src/models/CheckDocumentTrainingStatus.ts +15 -0
  329. package/src/models/ComponentBlock.ts +14 -0
  330. package/src/models/ComponentBlockTypeEnum.ts +12 -0
  331. package/src/models/ConversationMessage.ts +16 -0
  332. package/src/models/ConversationRating.ts +11 -0
  333. package/src/models/ConversationSummary.ts +10 -0
  334. package/src/models/ConversationVolume.ts +9 -0
  335. package/src/models/Conversations.ts +33 -0
  336. package/src/models/Cost.ts +8 -0
  337. package/src/models/CostPerTenant.ts +11 -0
  338. package/src/models/CourseCreationTask.ts +36 -0
  339. package/src/models/CourseCreationTaskFile.ts +12 -0
  340. package/src/models/CourseCreationTaskStatusEnum.ts +20 -0
  341. package/src/models/CredentialRequest.ts +19 -0
  342. package/src/models/CrontabSchedule.ts +27 -0
  343. package/src/models/CustomInstructionResponse.ts +18 -0
  344. package/src/models/DateRange.ts +9 -0
  345. package/src/models/Document.ts +46 -0
  346. package/src/models/DocumentFacet.ts +22 -0
  347. package/src/models/DocumentSearchResponse.ts +40 -0
  348. package/src/models/DocumentSettingsResponse.ts +8 -0
  349. package/src/models/EdxCourse.ts +16 -0
  350. package/src/models/ElevenlabsCustomVoice.ts +9 -0
  351. package/src/models/ElevenlabsCustomVoiceResponse.ts +13 -0
  352. package/src/models/EmailPromptDetail.ts +18 -0
  353. package/src/models/EmailPromptList.ts +16 -0
  354. package/src/models/EmailPromptSummary.ts +10 -0
  355. package/src/models/FreeUsageCount.ts +8 -0
  356. package/src/models/FullCourse.ts +18 -0
  357. package/src/models/GreetingMethodEnum.ts +12 -0
  358. package/src/models/GuidedPromptsResponse.ts +8 -0
  359. package/src/models/HeygenMarketingVideoDetail.ts +13 -0
  360. package/src/models/HeygenMarketingVideoList.ts +11 -0
  361. package/src/models/HeygenTemplateRequest.ts +10 -0
  362. package/src/models/HeygenTemplateResponseSingle.ts +11 -0
  363. package/src/models/HeygenVideoDetail.ts +13 -0
  364. package/src/models/HeygenVideoRequest.ts +10 -0
  365. package/src/models/IBLAIPlatformMeta.ts +8 -0
  366. package/src/models/IBLAIPlatformMetaRequest.ts +11 -0
  367. package/src/models/IBLAIPlatformMetaUpdateRequest.ts +15 -0
  368. package/src/models/InputQuestion.ts +11 -0
  369. package/src/models/IntegrationCredential.ts +13 -0
  370. package/src/models/IntialQuestionAnswer.ts +8 -0
  371. package/src/models/JobRun.ts +16 -0
  372. package/src/models/KindEnum.ts +14 -0
  373. package/src/models/LLMCredentialRequest.ts +19 -0
  374. package/src/models/LLMCredentialResponse.ts +13 -0
  375. package/src/models/LLMModelForTenant.ts +11 -0
  376. package/src/models/LLMQuestion.ts +20 -0
  377. package/src/models/LLMResponse.ts +19 -0
  378. package/src/models/LLMTracesListResponse.ts +10 -0
  379. package/src/models/LanguagesView.ts +10 -0
  380. package/src/models/LinkCourseRequest.ts +8 -0
  381. package/src/models/LinkCourseResponse.ts +10 -0
  382. package/src/models/LlmProviderEnum.ts +12 -0
  383. package/src/models/MCPServer.ts +26 -0
  384. package/src/models/MemoryComponentData.ts +10 -0
  385. package/src/models/MemoryComponentMemory.ts +9 -0
  386. package/src/models/MemoryComponentMemoryDetail.ts +13 -0
  387. package/src/models/MemoryComponentResponse.ts +10 -0
  388. package/src/models/MemoryProgress.ts +13 -0
  389. package/src/models/MemoryStatusRequestView.ts +11 -0
  390. package/src/models/MemoryStatusView.ts +11 -0
  391. package/src/models/Mentor.ts +92 -0
  392. package/src/models/MentorAudience.ts +10 -0
  393. package/src/models/MentorCategory.ts +14 -0
  394. package/src/models/MentorCategoryCreate.ts +16 -0
  395. package/src/models/MentorCategoryGroup.ts +16 -0
  396. package/src/models/MentorCategoryGroupCreate.ts +16 -0
  397. package/src/models/MentorCreate.ts +89 -0
  398. package/src/models/MentorCustomVoice.ts +9 -0
  399. package/src/models/MentorCustomVoiceResponse.ts +9 -0
  400. package/src/models/MentorData.ts +12 -0
  401. package/src/models/MentorDetailAnalytics.ts +11 -0
  402. package/src/models/MentorEval.ts +16 -0
  403. package/src/models/MentorEvalQuestion.ts +10 -0
  404. package/src/models/MentorEvalQuestionRequest.ts +9 -0
  405. package/src/models/MentorEvalReport.ts +15 -0
  406. package/src/models/MentorEvalRequest.ts +13 -0
  407. package/src/models/MentorFacet.ts +22 -0
  408. package/src/models/MentorFork.ts +10 -0
  409. package/src/models/MentorFromTemplateRequest.ts +9 -0
  410. package/src/models/MentorFromTemplateWithSettingRequest.ts +52 -0
  411. package/src/models/MentorMemorySettingsRequest.ts +11 -0
  412. package/src/models/MentorMemorySettingsResponse.ts +11 -0
  413. package/src/models/MentorMetadata.ts +10 -0
  414. package/src/models/MentorScenario.ts +11 -0
  415. package/src/models/MentorScenarioPrompt.ts +10 -0
  416. package/src/models/MentorSearchResponse.ts +40 -0
  417. package/src/models/MentorSession.ts +9 -0
  418. package/src/models/MentorSettings.ts +65 -0
  419. package/src/models/MentorSettingsPublic.ts +51 -0
  420. package/src/models/MentorSettingsRequest.ts +67 -0
  421. package/src/models/MentorVisibilityEnum.ts +14 -0
  422. package/src/models/MentorWizard.ts +9 -0
  423. package/src/models/MessageStatistics.ts +10 -0
  424. package/src/models/MessageView.ts +15 -0
  425. package/src/models/MessageViewRequest.ts +12 -0
  426. package/src/models/MessageViewUpdatResponse.ts +8 -0
  427. package/src/models/Metadata.ts +10 -0
  428. package/src/models/MetricChange.ts +9 -0
  429. package/src/models/ModelCost.ts +9 -0
  430. package/src/models/ModerationLog.ts +16 -0
  431. package/src/models/NoChatMessagesFound.ts +8 -0
  432. package/src/models/NotificationSource.ts +2 -2
  433. package/src/models/{TypeEnum.ts → NotificationSourceTypeEnum.ts} +1 -1
  434. package/src/models/NullEnum.ts +7 -0
  435. package/src/models/PageContent.ts +11 -0
  436. package/src/models/PaginatedAIGeneratedImageList.ts +12 -0
  437. package/src/models/{PaginatedRbacGroupRoleList.ts → PaginatedConversationsList.ts} +3 -3
  438. package/src/models/PaginatedCourseCreationTaskFileList.ts +12 -0
  439. package/src/models/PaginatedCourseCreationTaskList.ts +12 -0
  440. package/src/models/{PaginatedRbacUserRoleList.ts → PaginatedEdxCourseList.ts} +3 -3
  441. package/src/models/PaginatedEmailPromptListList.ts +12 -0
  442. package/src/models/PaginatedHeygenMarketingVideoListList.ts +12 -0
  443. package/src/models/PaginatedHeygenTemplateResponseSingleList.ts +12 -0
  444. package/src/models/PaginatedJobRunList.ts +12 -0
  445. package/src/models/PaginatedMCPServerList.ts +12 -0
  446. package/src/models/PaginatedMentorList.ts +12 -0
  447. package/src/models/PaginatedModerationLogList.ts +12 -0
  448. package/src/models/PaginatedPeriodicAgentList.ts +12 -0
  449. package/src/models/PaginatedPeriodicAgentLogList.ts +12 -0
  450. package/src/models/PaginatedPlayWrightScriptList.ts +12 -0
  451. package/src/models/PaginatedSectionList.ts +12 -0
  452. package/src/models/PaginatedSubSectionList.ts +12 -0
  453. package/src/models/PaginatedTopicStatisticsResponse.ts +12 -0
  454. package/src/models/PaginatedUnitList.ts +12 -0
  455. package/src/models/PaginatedUserEdxMemoryList.ts +12 -0
  456. package/src/models/PaginatedVoiceList.ts +12 -0
  457. package/src/models/PatchedCallConfiguration.ts +31 -0
  458. package/src/models/PatchedConversations.ts +33 -0
  459. package/src/models/PatchedCourseCreationTaskFile.ts +12 -0
  460. package/src/models/PatchedCredentialRequest.ts +19 -0
  461. package/src/models/PatchedLLMCredentialRequest.ts +19 -0
  462. package/src/models/PatchedMCPServer.ts +26 -0
  463. package/src/models/PatchedMentorCategoryGroupCreate.ts +16 -0
  464. package/src/models/PatchedMentorCreate.ts +89 -0
  465. package/src/models/PatchedPeriodicAgentCreate.ts +46 -0
  466. package/src/models/PatchedPlayWrightScript.ts +17 -0
  467. package/src/models/PatchedPrompt.ts +27 -0
  468. package/src/models/PatchedRbacPolicy.ts +20 -0
  469. package/src/models/PatchedSection.ts +14 -0
  470. package/src/models/PatchedSubSection.ts +14 -0
  471. package/src/models/PatchedUnit.ts +16 -0
  472. package/src/models/PeriodicAgent.ts +47 -0
  473. package/src/models/PeriodicAgentCreate.ts +46 -0
  474. package/src/models/PeriodicAgentLog.ts +16 -0
  475. package/src/models/PeriodicAgentLogStatusEnum.ts +14 -0
  476. package/src/models/PeriodicTask.ts +26 -0
  477. package/src/models/PieChartData.ts +10 -0
  478. package/src/models/PieChartSegment.ts +9 -0
  479. package/src/models/PinnedMessageCreate.ts +14 -0
  480. package/src/models/PinnedMessageGet.ts +12 -0
  481. package/src/models/PinnedMessageRequest.ts +11 -0
  482. package/src/models/PlayWrightScript.ts +17 -0
  483. package/src/models/PredictiveAnalyticsRequest.ts +9 -0
  484. package/src/models/PredictiveAnalyticsResponse.ts +9 -0
  485. package/src/models/PreviousAgentStatusEnum.ts +16 -0
  486. package/src/models/Prompt.ts +27 -0
  487. package/src/models/PromptCategory.ts +12 -0
  488. package/src/models/PromptFacet.ts +22 -0
  489. package/src/models/PromptSearchResponse.ts +40 -0
  490. package/src/models/PromptVisibilityEnum.ts +14 -0
  491. package/src/models/ProviderEnum.ts +14 -0
  492. package/src/models/QuestionCardTag.ts +13 -0
  493. package/src/models/QuestionRequest.ts +20 -0
  494. package/src/models/QuestionResponse.ts +15 -0
  495. package/src/models/RatingEnum.ts +12 -0
  496. package/src/models/RatingRecord.ts +9 -0
  497. package/src/models/RbacPolicy.ts +20 -0
  498. package/src/models/RbacPolicyGroup.ts +25 -0
  499. package/src/models/RecentlyAccessedMentor.ts +13 -0
  500. package/src/models/RecommendCourseBlock.ts +8 -0
  501. package/src/models/RecommendCourseResponse.ts +8 -0
  502. package/src/models/RecommendedCoursesResponse.ts +38 -0
  503. package/src/models/RelatedText.ts +8 -0
  504. package/src/models/RequestDataVariable.ts +19 -0
  505. package/src/models/ResourceScrappedData.ts +18 -0
  506. package/src/models/ResourceScrappedDataStatusEnum.ts +16 -0
  507. package/src/models/ResponseDataVariable.ts +19 -0
  508. package/src/models/RetreiverTrainViewRequest.ts +15 -0
  509. package/src/models/RetreiverTrainViewResponse.ts +11 -0
  510. package/src/models/RetrieveTask.ts +8 -0
  511. package/src/models/RetrieverDocumentEmbedding.ts +22 -0
  512. package/src/models/RetrieverDocumentEmbeddingRequest.ts +35 -0
  513. package/src/models/RetrieverRequestSearch.ts +15 -0
  514. package/src/models/RetrieverRequestSearchDocument.ts +15 -0
  515. package/src/models/RetrieverResponseSearch.ts +12 -0
  516. package/src/models/ReuestDataVariableList.ts +9 -0
  517. package/src/models/RunMentorEval.ts +8 -0
  518. package/src/models/ScanWebhookRequest.ts +11 -0
  519. package/src/models/ScanWebhookResponse.ts +8 -0
  520. package/src/models/Section.ts +14 -0
  521. package/src/models/SectionWithChildren.ts +16 -0
  522. package/src/models/SeedMentorsView.ts +8 -0
  523. package/src/models/SentimentSummary.ts +9 -0
  524. package/src/models/SessionBrowserScreenshot.ts +13 -0
  525. package/src/models/SessionDetail.ts +11 -0
  526. package/src/models/SessionMemoryStorage.ts +11 -0
  527. package/src/models/ShellLogs.ts +8 -0
  528. package/src/models/SpacedRepetitionLearningPath.ts +8 -0
  529. package/src/models/SpacedRepetitionQuestionStats.ts +10 -0
  530. package/src/models/StarMentor.ts +12 -0
  531. package/src/models/Status6eeEnum.ts +16 -0
  532. package/src/models/Step.ts +14 -0
  533. package/src/models/StepStatusEnum.ts +14 -0
  534. package/src/models/StripeCheckoutSessionRequest.ts +2 -2
  535. package/src/models/{ModeEnum.ts → StripeCheckoutSessionRequestModeEnum.ts} +1 -1
  536. package/src/models/SttProviderEnum.ts +16 -0
  537. package/src/models/StudentChatMessage.ts +9 -0
  538. package/src/models/StylesView.ts +9 -0
  539. package/src/models/SubSection.ts +14 -0
  540. package/src/models/SubSectionWithChildren.ts +16 -0
  541. package/src/models/TagsView.ts +10 -0
  542. package/src/models/TargetSystemEnum.ts +12 -0
  543. package/src/models/TaskView.ts +8 -0
  544. package/src/models/TemplateMentor.ts +14 -0
  545. package/src/models/TenantMentorTraces.ts +11 -0
  546. package/src/models/ThemeEnum.ts +12 -0
  547. package/src/models/TonesView.ts +9 -0
  548. package/src/models/ToolResponse.ts +16 -0
  549. package/src/models/TopicModel.ts +8 -0
  550. package/src/models/TopicRecord.ts +9 -0
  551. package/src/models/TopicStatistics.ts +12 -0
  552. package/src/models/TopicStatisticsResponse.ts +11 -0
  553. package/src/models/TopicSummaryView.ts +9 -0
  554. package/src/models/TrainChatSessionDocumentView.ts +11 -0
  555. package/src/models/TrainChatSessionDocumentViewRequest.ts +11 -0
  556. package/src/models/TrainDocumentViewRequest.ts +47 -0
  557. package/src/models/TrainDocumentViewResponse.ts +20 -0
  558. package/src/models/TrainingStatusEnum.ts +16 -0
  559. package/src/models/TransportEnum.ts +12 -0
  560. package/src/models/TrendEntry.ts +9 -0
  561. package/src/models/TriggerRequest.ts +10 -0
  562. package/src/models/TriggerResponse.ts +11 -0
  563. package/src/models/TtsProviderEnum.ts +14 -0
  564. package/src/models/TypeC42Enum.ts +12 -0
  565. package/src/models/Unit.ts +16 -0
  566. package/src/models/UnitWithChildren.ts +18 -0
  567. package/src/models/UseMainCreds.ts +8 -0
  568. package/src/models/UserAllChatMemoryView.ts +12 -0
  569. package/src/models/UserCatalogItemMemoryView.ts +19 -0
  570. package/src/models/UserChatByPeriod.ts +9 -0
  571. package/src/models/UserChatFeedback.ts +19 -0
  572. package/src/models/UserChatFeedbackCount.ts +9 -0
  573. package/src/models/UserChatMemoryStatusRequestView.ts +11 -0
  574. package/src/models/UserChatMemoryStatusView.ts +11 -0
  575. package/src/models/UserChatMemoryUpdateView.ts +15 -0
  576. package/src/models/UserCountRecord.ts +9 -0
  577. package/src/models/UserEdxMemory.ts +20 -0
  578. package/src/models/UserMemoryContextRequest.ts +18 -0
  579. package/src/models/UserMemoryContextResponse.ts +17 -0
  580. package/src/models/UserMetric.ts +9 -0
  581. package/src/models/UserMetricsResponse.ts +12 -0
  582. package/src/models/UserSentimentCountView.ts +9 -0
  583. package/src/models/UserTrendByPeriod.ts +10 -0
  584. package/src/models/VectorResult.ts +13 -0
  585. package/src/models/VideoCaption.ts +8 -0
  586. package/src/models/Voice.ts +14 -0
  587. package/src/models/WebResource.ts +14 -0
  588. package/src/models/WebResourceCard.ts +12 -0
  589. package/src/models/WebResourcesQuery.ts +8 -0
  590. package/src/services/AiAccountService.ts +505 -0
  591. package/src/services/AiAnalyticsService.ts +6439 -0
  592. package/src/services/AiIndexService.ts +718 -0
  593. package/src/services/AiMarketingService.ts +96 -0
  594. package/src/services/AiMediaService.ts +289 -0
  595. package/src/services/AiMentorService.ts +9103 -0
  596. package/src/services/AiPromptService.ts +1980 -0
  597. package/src/services/CoreService.ts +6 -391
  598. package/src/services/SearchService.ts +1428 -398
  599. package/dist/types/models/PaginatedRbacGroupRoleList.d.ts +0 -7
  600. package/dist/types/models/PaginatedRbacUserRoleList.d.ts +0 -7
  601. package/dist/types/models/PatchedRbacGroupRole.d.ts +0 -13
  602. package/dist/types/models/PatchedRbacUserRole.d.ts +0 -28
  603. package/dist/types/models/RbacGroupRole.d.ts +0 -13
  604. package/dist/types/models/RbacUserRole.d.ts +0 -28
  605. package/src/models/PatchedRbacGroupRole.ts +0 -18
  606. package/src/models/PatchedRbacUserRole.ts +0 -33
  607. package/src/models/RbacGroupRole.ts +0 -18
  608. package/src/models/RbacUserRole.ts +0 -33
@@ -0,0 +1,84 @@
1
+ import type { GreetingMethodEnum } from './GreetingMethodEnum';
2
+ export type PatchedMentorCreate = {
3
+ name?: string;
4
+ unique_id?: string;
5
+ /**
6
+ * The langflow json for the mentor
7
+ */
8
+ flow?: any;
9
+ slug?: string;
10
+ platform?: string;
11
+ allow_anonymous?: boolean;
12
+ metadata?: any;
13
+ enable_moderation?: boolean;
14
+ enable_post_processing_system?: boolean;
15
+ /**
16
+ * (Deprecated) Set template mentor to openai-agent instead.
17
+ */
18
+ enable_openai_assistant?: boolean;
19
+ /**
20
+ * Whether to force mentor to only use information within the provided documents.
21
+ */
22
+ enable_total_grounding?: boolean;
23
+ /**
24
+ * Whether to show suggested prompts for the mentor or not. Note: Suggested prompts are created by tenant admins.
25
+ */
26
+ enable_suggested_prompts?: boolean;
27
+ /**
28
+ * Whether to show suggested prompts for the mentor or not. Note: Guided prompts are created with an llm based on chat history.
29
+ */
30
+ enable_guided_prompts?: boolean;
31
+ google_voice?: number | null;
32
+ openai_voice?: number | null;
33
+ /**
34
+ * Instructions to determine how prompt suggestions are generated.
35
+ */
36
+ guided_prompt_instructions?: string;
37
+ categories?: Array<number>;
38
+ /**
39
+ * Prompt template used to start a conversation with the user when greeting_type is proactive_prompt. This will be sent to the LLM so it can respond naturally
40
+ */
41
+ proactive_prompt?: string;
42
+ /**
43
+ * The prompt for the moderation system. This prompt must clearly distinguish between 'Approapriate' and 'Not Appropriate' queries.
44
+ */
45
+ moderation_system_prompt?: string;
46
+ /**
47
+ * Prompt to be used to alter or modify final llm response into any desired form.
48
+ */
49
+ post_processing_prompt?: string;
50
+ /**
51
+ * Desired feedback to return to the user when their prompt is deemed inappropriate.
52
+ */
53
+ moderation_response?: string;
54
+ /**
55
+ * Prompt to check whether the models response is appropriate or not.
56
+ */
57
+ safety_system_prompt?: string;
58
+ /**
59
+ * Feedback given to the user when a model generates an inappropriate response
60
+ */
61
+ safety_response?: string;
62
+ disable_chathistory?: boolean;
63
+ enable_safety_system?: boolean;
64
+ /**
65
+ * Response to start a conversation with a user.
66
+ */
67
+ proactive_response?: string;
68
+ mcp_servers?: Array<number>;
69
+ /**
70
+ * How the mentor should greet the user. proactive_prompt: Allow the LLM to respond to proactive_prompt msg. proactive_response: use proactive_response template without performing an LLM call.
71
+ *
72
+ * * `proactive_prompt` - Proactive Prompt
73
+ * * `proactive_response` - Proactive Response
74
+ */
75
+ greeting_method?: GreetingMethodEnum;
76
+ /**
77
+ * edX user ID
78
+ */
79
+ last_accessed_by?: number | null;
80
+ recently_accessed_at?: string | null;
81
+ created_by?: string | null;
82
+ readonly created_at?: string | null;
83
+ readonly updated_at?: string | null;
84
+ };
@@ -0,0 +1,41 @@
1
+ import type { PeriodicTask } from './PeriodicTask';
2
+ import type { PreviousAgentStatusEnum } from './PreviousAgentStatusEnum';
3
+ export type PatchedPeriodicAgentCreate = {
4
+ readonly id?: number;
5
+ mentor?: number;
6
+ title?: string;
7
+ readonly username?: string;
8
+ description?: string;
9
+ /**
10
+ * Prompt for the periodic agent if any.
11
+ */
12
+ prompt?: string;
13
+ task?: PeriodicTask;
14
+ readonly created_at?: string;
15
+ readonly modified_at?: string;
16
+ readonly enabled?: boolean;
17
+ readonly one_off?: boolean;
18
+ readonly platform_key?: string;
19
+ pathway?: string;
20
+ callback_url?: string;
21
+ callback_secret?: string;
22
+ parent_session_id?: string;
23
+ parent_mentor_id?: number | null;
24
+ /**
25
+ * Agent that needs to run before the current agent runs.
26
+ */
27
+ previous_agent?: number | null;
28
+ /**
29
+ * The status that the previous agent must be in before this agent gets scheduled.
30
+ *
31
+ * * `success` - Success
32
+ * * `error` - Error
33
+ * * `running` - Running
34
+ * * `pending` - Pending
35
+ */
36
+ previous_agent_status?: PreviousAgentStatusEnum;
37
+ /**
38
+ * This will be fed into the run of this agent as part of its input prompt.
39
+ */
40
+ readonly previous_agent_output?: string;
41
+ };
@@ -0,0 +1,12 @@
1
+ export type PatchedPlayWrightScript = {
2
+ readonly id?: number;
3
+ readonly platform?: number | null;
4
+ /**
5
+ * edX user ID
6
+ */
7
+ readonly student?: number | null;
8
+ title?: string;
9
+ description?: string;
10
+ script?: string;
11
+ readonly is_public?: boolean;
12
+ };
@@ -0,0 +1,22 @@
1
+ import type { BlankEnum } from './BlankEnum';
2
+ import type { NullEnum } from './NullEnum';
3
+ import type { PromptVisibilityEnum } from './PromptVisibilityEnum';
4
+ export type PatchedPrompt = {
5
+ readonly id?: number;
6
+ mentor?: string;
7
+ tone?: string | null;
8
+ style?: string;
9
+ language?: string;
10
+ tags?: Array<number>;
11
+ is_system?: boolean;
12
+ metadata?: any;
13
+ category?: string;
14
+ prompt?: string;
15
+ title?: string | null;
16
+ description?: string | null;
17
+ prompt_visibility?: (PromptVisibilityEnum | BlankEnum | NullEnum) | null;
18
+ readonly created_at?: string;
19
+ readonly updated_at?: string;
20
+ created_by?: string | null;
21
+ platform?: number;
22
+ };
@@ -1,5 +1,7 @@
1
1
  import type { RbacBaseRole } from './RbacBaseRole';
2
2
  import type { RbacPlatform } from './RbacPlatform';
3
+ import type { RbacPolicyGroup } from './RbacPolicyGroup';
4
+ import type { RbacUser } from './RbacUser';
3
5
  /**
4
6
  * Serializer for policies.
5
7
  */
@@ -17,6 +19,8 @@ export type PatchedRbacPolicy = {
17
19
  * List of resource paths this policy grants access to (e.g., ['/platforms/1/mentors', '/platforms/1/mentors/settings'])
18
20
  */
19
21
  resources?: Array<string>;
22
+ readonly users?: Array<RbacUser>;
23
+ readonly groups?: Array<RbacPolicyGroup>;
20
24
  /**
21
25
  * ID of the role this policy applies to
22
26
  */
@@ -25,4 +29,20 @@ export type PatchedRbacPolicy = {
25
29
  * Platform key where this policy applies
26
30
  */
27
31
  platform_key?: string;
32
+ /**
33
+ * List of user IDs to add to this Policy
34
+ */
35
+ users_to_add?: Array<number>;
36
+ /**
37
+ * List of user IDs to remove from this Policy
38
+ */
39
+ users_to_remove?: Array<number>;
40
+ /**
41
+ * List of group IDs to add to this Policy
42
+ */
43
+ groups_to_add?: Array<number>;
44
+ /**
45
+ * List of group IDs to remove from this Policy
46
+ */
47
+ groups_to_remove?: Array<number>;
28
48
  };
@@ -0,0 +1,9 @@
1
+ import type { Status6eeEnum } from './Status6eeEnum';
2
+ export type PatchedSection = {
3
+ readonly id?: number;
4
+ course?: number;
5
+ display_name?: string;
6
+ readonly status?: Status6eeEnum;
7
+ readonly created_at?: string;
8
+ readonly updated_at?: string;
9
+ };
@@ -0,0 +1,9 @@
1
+ import type { Status6eeEnum } from './Status6eeEnum';
2
+ export type PatchedSubSection = {
3
+ readonly id?: number;
4
+ section?: number;
5
+ display_name?: string;
6
+ readonly status?: Status6eeEnum;
7
+ readonly created_at?: string;
8
+ readonly updated_at?: string;
9
+ };
@@ -0,0 +1,11 @@
1
+ import type { Status6eeEnum } from './Status6eeEnum';
2
+ import type { TypeC42Enum } from './TypeC42Enum';
3
+ export type PatchedUnit = {
4
+ readonly id?: number;
5
+ subsection?: number;
6
+ display_name?: string;
7
+ readonly status?: Status6eeEnum;
8
+ type?: TypeC42Enum;
9
+ readonly created_at?: string;
10
+ readonly updated_at?: string;
11
+ };
@@ -0,0 +1,42 @@
1
+ import type { Mentor } from './Mentor';
2
+ import type { PeriodicTask } from './PeriodicTask';
3
+ import type { PreviousAgentStatusEnum } from './PreviousAgentStatusEnum';
4
+ export type PeriodicAgent = {
5
+ readonly id: number;
6
+ mentor: Mentor;
7
+ title: string;
8
+ readonly username: string;
9
+ description?: string;
10
+ /**
11
+ * Prompt for the periodic agent if any.
12
+ */
13
+ prompt?: string;
14
+ task: PeriodicTask;
15
+ readonly created_at: string;
16
+ readonly modified_at: string;
17
+ readonly enabled: boolean;
18
+ readonly one_off: boolean;
19
+ readonly platform_key: string;
20
+ pathway?: string;
21
+ callback_url?: string;
22
+ callback_secret?: string;
23
+ parent_session_id?: string;
24
+ parent_mentor_id?: number | null;
25
+ /**
26
+ * Agent that needs to run before the current agent runs.
27
+ */
28
+ previous_agent?: number | null;
29
+ /**
30
+ * The status that the previous agent must be in before this agent gets scheduled.
31
+ *
32
+ * * `success` - Success
33
+ * * `error` - Error
34
+ * * `running` - Running
35
+ * * `pending` - Pending
36
+ */
37
+ previous_agent_status?: PreviousAgentStatusEnum;
38
+ /**
39
+ * This will be fed into the run of this agent as part of its input prompt.
40
+ */
41
+ readonly previous_agent_output: string;
42
+ };
@@ -0,0 +1,41 @@
1
+ import type { PeriodicTask } from './PeriodicTask';
2
+ import type { PreviousAgentStatusEnum } from './PreviousAgentStatusEnum';
3
+ export type PeriodicAgentCreate = {
4
+ readonly id: number;
5
+ mentor: number;
6
+ title: string;
7
+ readonly username: string;
8
+ description?: string;
9
+ /**
10
+ * Prompt for the periodic agent if any.
11
+ */
12
+ prompt?: string;
13
+ task: PeriodicTask;
14
+ readonly created_at: string;
15
+ readonly modified_at: string;
16
+ readonly enabled: boolean;
17
+ readonly one_off: boolean;
18
+ readonly platform_key: string;
19
+ pathway?: string;
20
+ callback_url?: string;
21
+ callback_secret?: string;
22
+ parent_session_id?: string;
23
+ parent_mentor_id?: number | null;
24
+ /**
25
+ * Agent that needs to run before the current agent runs.
26
+ */
27
+ previous_agent?: number | null;
28
+ /**
29
+ * The status that the previous agent must be in before this agent gets scheduled.
30
+ *
31
+ * * `success` - Success
32
+ * * `error` - Error
33
+ * * `running` - Running
34
+ * * `pending` - Pending
35
+ */
36
+ previous_agent_status?: PreviousAgentStatusEnum;
37
+ /**
38
+ * This will be fed into the run of this agent as part of its input prompt.
39
+ */
40
+ readonly previous_agent_output: string;
41
+ };
@@ -0,0 +1,11 @@
1
+ import type { PeriodicAgentLogStatusEnum } from './PeriodicAgentLogStatusEnum';
2
+ export type PeriodicAgentLog = {
3
+ readonly id: number;
4
+ content?: string;
5
+ status?: PeriodicAgentLogStatusEnum;
6
+ start_time?: string;
7
+ end_time?: string | null;
8
+ readonly created_at: string;
9
+ readonly modified_at: string;
10
+ periodic_agent: number;
11
+ };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * * `success` - Success
3
+ * * `error` - Error
4
+ * * `running` - Running
5
+ */
6
+ export declare enum PeriodicAgentLogStatusEnum {
7
+ SUCCESS = "success",
8
+ ERROR = "error",
9
+ RUNNING = "running"
10
+ }
@@ -0,0 +1,21 @@
1
+ import type { CrontabSchedule } from './CrontabSchedule';
2
+ export type PeriodicTask = {
3
+ readonly id: number;
4
+ /**
5
+ * Short Description For This Task
6
+ */
7
+ readonly name: string;
8
+ crontab: CrontabSchedule;
9
+ /**
10
+ * If True, the schedule will only run the task a single time
11
+ */
12
+ one_off?: boolean;
13
+ /**
14
+ * Datetime when the schedule should begin triggering the task to run
15
+ */
16
+ start_time?: string | null;
17
+ /**
18
+ * Set to False to disable the schedule
19
+ */
20
+ enabled?: boolean;
21
+ };
@@ -0,0 +1,5 @@
1
+ import type { PieChartSegment } from './PieChartSegment';
2
+ export type PieChartData = {
3
+ new_users: PieChartSegment;
4
+ returning_users: PieChartSegment;
5
+ };
@@ -0,0 +1,4 @@
1
+ export type PieChartSegment = {
2
+ count: number;
3
+ percentage: number;
4
+ };
@@ -0,0 +1,9 @@
1
+ export type PinnedMessageCreate = {
2
+ readonly id: number;
3
+ /**
4
+ * The platform key
5
+ */
6
+ platform: string;
7
+ username: string;
8
+ session_id: string | null;
9
+ };
@@ -0,0 +1,7 @@
1
+ import type { ChatHistory } from './ChatHistory';
2
+ import type { Mentor } from './Mentor';
3
+ export type PinnedMessageGet = {
4
+ session_id: string;
5
+ mentor: Mentor;
6
+ messages: Array<ChatHistory>;
7
+ };
@@ -0,0 +1,6 @@
1
+ export type PinnedMessageRequest = {
2
+ /**
3
+ * Session id of the message to pin
4
+ */
5
+ session_id: string;
6
+ };
@@ -0,0 +1,12 @@
1
+ export type PlayWrightScript = {
2
+ readonly id: number;
3
+ readonly platform: number | null;
4
+ /**
5
+ * edX user ID
6
+ */
7
+ readonly student: number | null;
8
+ title: string;
9
+ description?: string;
10
+ script: string;
11
+ readonly is_public: boolean;
12
+ };
@@ -0,0 +1,4 @@
1
+ import type { ReuestDataVariableList } from './ReuestDataVariableList';
2
+ export type PredictiveAnalyticsRequest = {
3
+ prompt: ReuestDataVariableList;
4
+ };
@@ -0,0 +1,4 @@
1
+ import type { ResponseDataVariable } from './ResponseDataVariable';
2
+ export type PredictiveAnalyticsResponse = {
3
+ predictions: Array<ResponseDataVariable>;
4
+ };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * * `success` - Success
3
+ * * `error` - Error
4
+ * * `running` - Running
5
+ * * `pending` - Pending
6
+ */
7
+ export declare enum PreviousAgentStatusEnum {
8
+ SUCCESS = "success",
9
+ ERROR = "error",
10
+ RUNNING = "running",
11
+ PENDING = "pending"
12
+ }
@@ -0,0 +1,22 @@
1
+ import type { BlankEnum } from './BlankEnum';
2
+ import type { NullEnum } from './NullEnum';
3
+ import type { PromptVisibilityEnum } from './PromptVisibilityEnum';
4
+ export type Prompt = {
5
+ readonly id: number;
6
+ mentor?: string;
7
+ tone?: string | null;
8
+ style?: string;
9
+ language?: string;
10
+ tags?: Array<number>;
11
+ is_system?: boolean;
12
+ metadata?: any;
13
+ category?: string;
14
+ prompt: string;
15
+ title?: string | null;
16
+ description?: string | null;
17
+ prompt_visibility?: (PromptVisibilityEnum | BlankEnum | NullEnum) | null;
18
+ readonly created_at: string;
19
+ readonly updated_at: string;
20
+ created_by?: string | null;
21
+ platform: number;
22
+ };
@@ -0,0 +1,7 @@
1
+ export type PromptCategory = {
2
+ readonly id: number;
3
+ name: string;
4
+ description?: string | null;
5
+ readonly created_at: string | null;
6
+ readonly updated_at: string | null;
7
+ };
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Serializer for prompt facets
3
+ */
4
+ export type PromptFacet = {
5
+ /**
6
+ * Total number of prompts in this facet
7
+ */
8
+ total: number;
9
+ /**
10
+ * Terms and their counts in this facet
11
+ */
12
+ terms: Record<string, any>;
13
+ /**
14
+ * Count of prompts not in any term
15
+ */
16
+ other: number;
17
+ };
@@ -0,0 +1,35 @@
1
+ import type { Prompt } from './Prompt';
2
+ import type { PromptFacet } from './PromptFacet';
3
+ /**
4
+ * Response serializer for PromptSearchView
5
+ */
6
+ export type PromptSearchResponse = {
7
+ /**
8
+ * List of prompts matching the search criteria
9
+ */
10
+ results: Array<Prompt>;
11
+ /**
12
+ * Total number of prompts matching the search criteria
13
+ */
14
+ count: number;
15
+ /**
16
+ * URL for the next page of results
17
+ */
18
+ next: string | null;
19
+ /**
20
+ * URL for the previous page of results
21
+ */
22
+ previous: string | null;
23
+ /**
24
+ * Current page number
25
+ */
26
+ current_page: number;
27
+ /**
28
+ * Total number of pages
29
+ */
30
+ num_pages: number;
31
+ /**
32
+ * Facet information for filtering
33
+ */
34
+ facets?: Record<string, PromptFacet>;
35
+ };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * * `viewable_by_tenant_admins` - Viewable By Tenant Admins
3
+ * * `viewable_by_tenant_students` - Viewable By Tenant Students
4
+ * * `viewable_by_anyone` - Viewable By Anyone
5
+ */
6
+ export declare enum PromptVisibilityEnum {
7
+ VIEWABLE_BY_TENANT_ADMINS = "viewable_by_tenant_admins",
8
+ VIEWABLE_BY_TENANT_STUDENTS = "viewable_by_tenant_students",
9
+ VIEWABLE_BY_ANYONE = "viewable_by_anyone"
10
+ }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * * `openai` - Openai
3
+ * * `google` - Google
4
+ * * `elevenlabs` - Elevenlabs
5
+ */
6
+ export declare enum ProviderEnum {
7
+ OPENAI = "openai",
8
+ GOOGLE = "google",
9
+ ELEVENLABS = "elevenlabs"
10
+ }
@@ -0,0 +1,8 @@
1
+ export type QuestionCardTag = {
2
+ readonly id: number;
3
+ name: string;
4
+ difficulty: number;
5
+ readonly total_cards: number;
6
+ readonly correct_answers: number;
7
+ readonly correct_rate: number;
8
+ };
@@ -0,0 +1,15 @@
1
+ import type { InputQuestion } from './InputQuestion';
2
+ /**
3
+ * Serializer for incoming request data that includes initial questions and the username.
4
+ *
5
+ * Attributes:
6
+ * username (str): Username of the requesting student or user.
7
+ * initial_questions (list[InputQuestionSerializer]): List of initial questions provided by the LMS.
8
+ * question_count (int): Number of questions the mentor (llm) should generate
9
+ */
10
+ export type QuestionRequest = {
11
+ username: string;
12
+ initial_questions: Array<InputQuestion>;
13
+ question_count?: number;
14
+ subject: string;
15
+ };
@@ -0,0 +1,10 @@
1
+ import type { LLMQuestion } from './LLMQuestion';
2
+ /**
3
+ * Serializer for the response data that returns additional questions.
4
+ *
5
+ * Attributes:
6
+ * follow_up_questions (list[LLMQuestionSerializer]): List of generated follow-up questions.
7
+ */
8
+ export type QuestionResponse = {
9
+ questions: Array<LLMQuestion>;
10
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * * `1` - Up Vote
3
+ * * `-1` - Down Vote
4
+ */
5
+ export declare enum RatingEnum {
6
+ '_1' = 1,
7
+ '_-1' = -1
8
+ }
@@ -0,0 +1,4 @@
1
+ export type RatingRecord = {
2
+ time: string;
3
+ total_ratings: number;
4
+ };
@@ -1,5 +1,7 @@
1
1
  import type { RbacBaseRole } from './RbacBaseRole';
2
2
  import type { RbacPlatform } from './RbacPlatform';
3
+ import type { RbacPolicyGroup } from './RbacPolicyGroup';
4
+ import type { RbacUser } from './RbacUser';
3
5
  /**
4
6
  * Serializer for policies.
5
7
  */
@@ -17,6 +19,8 @@ export type RbacPolicy = {
17
19
  * List of resource paths this policy grants access to (e.g., ['/platforms/1/mentors', '/platforms/1/mentors/settings'])
18
20
  */
19
21
  resources: Array<string>;
22
+ readonly users: Array<RbacUser>;
23
+ readonly groups: Array<RbacPolicyGroup>;
20
24
  /**
21
25
  * ID of the role this policy applies to
22
26
  */
@@ -25,4 +29,20 @@ export type RbacPolicy = {
25
29
  * Platform key where this policy applies
26
30
  */
27
31
  platform_key: string;
32
+ /**
33
+ * List of user IDs to add to this Policy
34
+ */
35
+ users_to_add?: Array<number>;
36
+ /**
37
+ * List of user IDs to remove from this Policy
38
+ */
39
+ users_to_remove?: Array<number>;
40
+ /**
41
+ * List of group IDs to add to this Policy
42
+ */
43
+ groups_to_add?: Array<number>;
44
+ /**
45
+ * List of group IDs to remove from this Policy
46
+ */
47
+ groups_to_remove?: Array<number>;
28
48
  };
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Serializer for RBAC groups when returned in a policy.
3
+ *
4
+ * We are limiting the returne data since we don't need everything there
5
+ */
6
+ export type RbacPolicyGroup = {
7
+ readonly id: number;
8
+ /**
9
+ * Optional name of the group
10
+ */
11
+ name?: string;
12
+ /**
13
+ * The unique identifier for the group
14
+ */
15
+ unique_id: string;
16
+ /**
17
+ * Optional group description
18
+ */
19
+ description?: string;
20
+ };