@iblai/iblai-api 3.34.5-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 (896) hide show
  1. package/README.md +222 -0
  2. package/dist/index.cjs.js +18756 -0
  3. package/dist/index.cjs.js.map +1 -0
  4. package/dist/index.esm.js +18726 -0
  5. package/dist/index.esm.js.map +1 -0
  6. package/dist/index.umd.js +18762 -0
  7. package/dist/index.umd.js.map +1 -0
  8. package/dist/types/core/ApiError.d.ts +10 -0
  9. package/dist/types/core/ApiRequestOptions.d.ts +13 -0
  10. package/dist/types/core/ApiResult.d.ts +7 -0
  11. package/dist/types/core/CancelablePromise.d.ts +20 -0
  12. package/dist/types/core/OpenAPI.d.ts +16 -0
  13. package/dist/types/core/request.d.ts +30 -0
  14. package/dist/types/index.d.ts +440 -0
  15. package/dist/types/models/AIGeneratedImage.d.ts +13 -0
  16. package/dist/types/models/APITokenCost.d.ts +14 -0
  17. package/dist/types/models/AcceptanceEnum.d.ts +10 -0
  18. package/dist/types/models/AccessEnum.d.ts +8 -0
  19. package/dist/types/models/ActiveUsersData.d.ts +18 -0
  20. package/dist/types/models/ActiveUsersList.d.ts +6 -0
  21. package/dist/types/models/ActiveUsersPerCourse.d.ts +10 -0
  22. package/dist/types/models/ActiveUsersPerCourseData.d.ts +14 -0
  23. package/dist/types/models/ActivityAPI.d.ts +8 -0
  24. package/dist/types/models/ActivityData.d.ts +38 -0
  25. package/dist/types/models/AlignMentorBubbleEnum.d.ts +8 -0
  26. package/dist/types/models/AnalyticsOverview.d.ts +7 -0
  27. package/dist/types/models/Answer.d.ts +11 -0
  28. package/dist/types/models/Assertion.d.ts +15 -0
  29. package/dist/types/models/AssumedKnowledge.d.ts +4 -0
  30. package/dist/types/models/AssumedKnowledgeLevel.d.ts +4 -0
  31. package/dist/types/models/AudioToTextRequest.d.ts +3 -0
  32. package/dist/types/models/AudioToTextResponse.d.ts +3 -0
  33. package/dist/types/models/Average.d.ts +4 -0
  34. package/dist/types/models/AverageData.d.ts +6 -0
  35. package/dist/types/models/AverageOvertime.d.ts +22 -0
  36. package/dist/types/models/AvgCourseGradeWithCutoff.d.ts +4 -0
  37. package/dist/types/models/AvgCourseGradeWithCutoffData.d.ts +10 -0
  38. package/dist/types/models/BlankEnum.d.ts +2 -0
  39. package/dist/types/models/BulkCreateAssertion.d.ts +4 -0
  40. package/dist/types/models/CallAuthenticationRequest.d.ts +13 -0
  41. package/dist/types/models/CallAuthenticationResponse.d.ts +21 -0
  42. package/dist/types/models/CampaignEnablement.d.ts +8 -0
  43. package/dist/types/models/CampaignExclusion.d.ts +8 -0
  44. package/dist/types/models/ChatHistory.d.ts +8 -0
  45. package/dist/types/models/ChatHistoryFilterData.d.ts +9 -0
  46. package/dist/types/models/ChatHistoryFilterUser.d.ts +5 -0
  47. package/dist/types/models/ChatHistoryItem.d.ts +5 -0
  48. package/dist/types/models/ChatHistorySessionId.d.ts +3 -0
  49. package/dist/types/models/ChatSessionRequest.d.ts +10 -0
  50. package/dist/types/models/ChatSessionResponse.d.ts +5 -0
  51. package/dist/types/models/CheckDocumentTrainingStatus.d.ts +10 -0
  52. package/dist/types/models/Company.d.ts +23 -0
  53. package/dist/types/models/ComponentBlock.d.ts +9 -0
  54. package/dist/types/models/ComponentBlockTypeEnum.d.ts +8 -0
  55. package/dist/types/models/ContextResponse.d.ts +7 -0
  56. package/dist/types/models/ConversationMessage.d.ts +11 -0
  57. package/dist/types/models/ConversationRating.d.ts +6 -0
  58. package/dist/types/models/ConversationSummary.d.ts +5 -0
  59. package/dist/types/models/ConversationVolume.d.ts +4 -0
  60. package/dist/types/models/Conversations.d.ts +28 -0
  61. package/dist/types/models/Cost.d.ts +3 -0
  62. package/dist/types/models/CostPerTenant.d.ts +6 -0
  63. package/dist/types/models/Count.d.ts +4 -0
  64. package/dist/types/models/CountData.d.ts +6 -0
  65. package/dist/types/models/CourseCompletionPerCourse.d.ts +6 -0
  66. package/dist/types/models/CourseCompletionPerCourseData.d.ts +22 -0
  67. package/dist/types/models/CourseCompletionSummaryDataOvertime.d.ts +18 -0
  68. package/dist/types/models/CourseCompletionSummaryOvertime.d.ts +6 -0
  69. package/dist/types/models/CourseCreationTask.d.ts +31 -0
  70. package/dist/types/models/CourseCreationTaskFile.d.ts +7 -0
  71. package/dist/types/models/CourseCreationTaskStatusEnum.d.ts +16 -0
  72. package/dist/types/models/CourseGradeDetailBlock.d.ts +18 -0
  73. package/dist/types/models/CourseGradeDetailSubSection.d.ts +23 -0
  74. package/dist/types/models/CourseGradeSummary.d.ts +4 -0
  75. package/dist/types/models/CourseGradeSummaryData.d.ts +18 -0
  76. package/dist/types/models/CourseGradingDetail.d.ts +4 -0
  77. package/dist/types/models/CourseGradingDetailData.d.ts +12 -0
  78. package/dist/types/models/CoursePoint.d.ts +7 -0
  79. package/dist/types/models/CourseSkill.d.ts +8 -0
  80. package/dist/types/models/Credential.d.ts +28 -0
  81. package/dist/types/models/CredentialRequest.d.ts +14 -0
  82. package/dist/types/models/CrontabSchedule.d.ts +22 -0
  83. package/dist/types/models/CustomInstructionResponse.d.ts +13 -0
  84. package/dist/types/models/DateRange.d.ts +4 -0
  85. package/dist/types/models/DesiredSkill.d.ts +4 -0
  86. package/dist/types/models/DetailedGradeSubsection.d.ts +22 -0
  87. package/dist/types/models/DetailedGradeView.d.ts +4 -0
  88. package/dist/types/models/DetailedGradeViewData.d.ts +12 -0
  89. package/dist/types/models/Education.d.ts +30 -0
  90. package/dist/types/models/EdxCourse.d.ts +11 -0
  91. package/dist/types/models/ElevenlabsCustomVoice.d.ts +4 -0
  92. package/dist/types/models/ElevenlabsCustomVoiceResponse.d.ts +8 -0
  93. package/dist/types/models/EmailPromptDetail.d.ts +13 -0
  94. package/dist/types/models/EmailPromptList.d.ts +11 -0
  95. package/dist/types/models/EmailPromptSummary.d.ts +5 -0
  96. package/dist/types/models/EngagementPerCourse.d.ts +6 -0
  97. package/dist/types/models/EngagementPerCourseData.d.ts +26 -0
  98. package/dist/types/models/Enrollments.d.ts +8 -0
  99. package/dist/types/models/EnrollmentsData.d.ts +18 -0
  100. package/dist/types/models/EnrollmentsPerUser.d.ts +6 -0
  101. package/dist/types/models/EnrollmentsPerUserData.d.ts +18 -0
  102. package/dist/types/models/ErrorResponse.d.ts +8 -0
  103. package/dist/types/models/Experience.d.ts +29 -0
  104. package/dist/types/models/FloatOverTime.d.ts +10 -0
  105. package/dist/types/models/FreeUsageCount.d.ts +3 -0
  106. package/dist/types/models/FullCourse.d.ts +13 -0
  107. package/dist/types/models/GradingPerUser.d.ts +8 -0
  108. package/dist/types/models/GradingPerUserData.d.ts +26 -0
  109. package/dist/types/models/GreetingMethodEnum.d.ts +8 -0
  110. package/dist/types/models/GroupList.d.ts +6 -0
  111. package/dist/types/models/GroupListData.d.ts +16 -0
  112. package/dist/types/models/GuidedPromptsResponse.d.ts +3 -0
  113. package/dist/types/models/HeygenMarketingVideoDetail.d.ts +8 -0
  114. package/dist/types/models/HeygenMarketingVideoList.d.ts +6 -0
  115. package/dist/types/models/IBLAIPlatformMeta.d.ts +3 -0
  116. package/dist/types/models/IBLAIPlatformMetaRequest.d.ts +6 -0
  117. package/dist/types/models/IBLAIPlatformMetaUpdateRequest.d.ts +10 -0
  118. package/dist/types/models/ImageUpload.d.ts +3 -0
  119. package/dist/types/models/InputQuestion.d.ts +6 -0
  120. package/dist/types/models/Institution.d.ts +20 -0
  121. package/dist/types/models/InstitutionTypeEnum.d.ts +14 -0
  122. package/dist/types/models/IntegrationCredential.d.ts +8 -0
  123. package/dist/types/models/IntialQuestionAnswer.d.ts +3 -0
  124. package/dist/types/models/Issuer.d.ts +9 -0
  125. package/dist/types/models/IssuerAuthority.d.ts +5 -0
  126. package/dist/types/models/JobRun.d.ts +11 -0
  127. package/dist/types/models/KindEnum.d.ts +10 -0
  128. package/dist/types/models/LLMCredentialRequest.d.ts +14 -0
  129. package/dist/types/models/LLMCredentialResponse.d.ts +8 -0
  130. package/dist/types/models/LLMModelForTenant.d.ts +6 -0
  131. package/dist/types/models/LLMQuestion.d.ts +15 -0
  132. package/dist/types/models/LLMResponse.d.ts +14 -0
  133. package/dist/types/models/LLMTracesListResponse.d.ts +5 -0
  134. package/dist/types/models/LanguagesView.d.ts +5 -0
  135. package/dist/types/models/LearnerInformationAPI.d.ts +4 -0
  136. package/dist/types/models/LearnerInformationAPIData.d.ts +83 -0
  137. package/dist/types/models/LinkCourseRequest.d.ts +3 -0
  138. package/dist/types/models/LinkCourseResponse.d.ts +5 -0
  139. package/dist/types/models/LtiKey.d.ts +19 -0
  140. package/dist/types/models/LtiLaunchGate.d.ts +8 -0
  141. package/dist/types/models/LtiTool.d.ts +46 -0
  142. package/dist/types/models/MemoryComponentData.d.ts +5 -0
  143. package/dist/types/models/MemoryComponentMemory.d.ts +4 -0
  144. package/dist/types/models/MemoryComponentMemoryDetail.d.ts +8 -0
  145. package/dist/types/models/MemoryComponentResponse.d.ts +5 -0
  146. package/dist/types/models/MemoryProgress.d.ts +8 -0
  147. package/dist/types/models/MemoryStatusRequestView.d.ts +6 -0
  148. package/dist/types/models/MemoryStatusView.d.ts +6 -0
  149. package/dist/types/models/Mentor.d.ts +75 -0
  150. package/dist/types/models/MentorAudience.d.ts +5 -0
  151. package/dist/types/models/MentorCategory.d.ts +9 -0
  152. package/dist/types/models/MentorCategoryCreate.d.ts +11 -0
  153. package/dist/types/models/MentorCategoryGroup.d.ts +11 -0
  154. package/dist/types/models/MentorCategoryGroupCreate.d.ts +11 -0
  155. package/dist/types/models/MentorCreate.d.ts +74 -0
  156. package/dist/types/models/MentorCustomVoice.d.ts +4 -0
  157. package/dist/types/models/MentorCustomVoiceResponse.d.ts +4 -0
  158. package/dist/types/models/MentorData.d.ts +7 -0
  159. package/dist/types/models/MentorDetailAnalytics.d.ts +6 -0
  160. package/dist/types/models/MentorEval.d.ts +11 -0
  161. package/dist/types/models/MentorEvalQuestion.d.ts +5 -0
  162. package/dist/types/models/MentorEvalQuestionRequest.d.ts +4 -0
  163. package/dist/types/models/MentorEvalReport.d.ts +10 -0
  164. package/dist/types/models/MentorEvalRequest.d.ts +8 -0
  165. package/dist/types/models/MentorFork.d.ts +5 -0
  166. package/dist/types/models/MentorFromTemplateRequest.d.ts +4 -0
  167. package/dist/types/models/MentorFromTemplateWithSettingRequest.d.ts +42 -0
  168. package/dist/types/models/MentorMemorySettingsRequest.d.ts +6 -0
  169. package/dist/types/models/MentorMemorySettingsResponse.d.ts +6 -0
  170. package/dist/types/models/MentorMetadata.d.ts +5 -0
  171. package/dist/types/models/MentorScenario.d.ts +6 -0
  172. package/dist/types/models/MentorScenarioPrompt.d.ts +5 -0
  173. package/dist/types/models/MentorSession.d.ts +4 -0
  174. package/dist/types/models/MentorSettings.d.ts +47 -0
  175. package/dist/types/models/MentorSettingsPublic.d.ts +40 -0
  176. package/dist/types/models/MentorSettingsRequest.d.ts +51 -0
  177. package/dist/types/models/MentorVisibilityEnum.d.ts +10 -0
  178. package/dist/types/models/MentorWizard.d.ts +4 -0
  179. package/dist/types/models/MessageStatistics.d.ts +5 -0
  180. package/dist/types/models/MessageView.d.ts +10 -0
  181. package/dist/types/models/MessageViewRequest.d.ts +7 -0
  182. package/dist/types/models/MessageViewUpdatResponse.d.ts +3 -0
  183. package/dist/types/models/Metadata.d.ts +5 -0
  184. package/dist/types/models/MetricChange.d.ts +4 -0
  185. package/dist/types/models/ModelCost.d.ts +4 -0
  186. package/dist/types/models/ModerationLog.d.ts +11 -0
  187. package/dist/types/models/NetRevenueOverTime.d.ts +8 -0
  188. package/dist/types/models/NewPerLearnerList.d.ts +6 -0
  189. package/dist/types/models/NewPerLearnerListData.d.ts +17 -0
  190. package/dist/types/models/NoChatMessagesFound.d.ts +3 -0
  191. package/dist/types/models/Notification.d.ts +13 -0
  192. package/dist/types/models/NotificationCount.d.ts +4 -0
  193. package/dist/types/models/NotificationPreview.d.ts +31 -0
  194. package/dist/types/models/NotificationSource.d.ts +8 -0
  195. package/dist/types/models/NotificationSourceTypeEnum.d.ts +18 -0
  196. package/dist/types/models/NotificationStatusEnum.d.ts +10 -0
  197. package/dist/types/models/NotificationTemplateData.d.ts +26 -0
  198. package/dist/types/models/NullEnum.d.ts +1 -0
  199. package/dist/types/models/Order.d.ts +22 -0
  200. package/dist/types/models/OverTime.d.ts +3 -0
  201. package/dist/types/models/OverTimeWithTotal.d.ts +22 -0
  202. package/dist/types/models/OvertimeMeta.d.ts +30 -0
  203. package/dist/types/models/OvertimeWithChangeInfo.d.ts +24 -0
  204. package/dist/types/models/PageContent.d.ts +6 -0
  205. package/dist/types/models/PaginatedAIGeneratedImageList.d.ts +7 -0
  206. package/dist/types/models/PaginatedConversationsList.d.ts +7 -0
  207. package/dist/types/models/PaginatedCourseCreationTaskFileList.d.ts +7 -0
  208. package/dist/types/models/PaginatedCourseCreationTaskList.d.ts +7 -0
  209. package/dist/types/models/PaginatedEdxCourseList.d.ts +7 -0
  210. package/dist/types/models/PaginatedEmailPromptListList.d.ts +7 -0
  211. package/dist/types/models/PaginatedHeygenMarketingVideoListList.d.ts +7 -0
  212. package/dist/types/models/PaginatedJobRunList.d.ts +7 -0
  213. package/dist/types/models/PaginatedMentorList.d.ts +7 -0
  214. package/dist/types/models/PaginatedModerationLogList.d.ts +7 -0
  215. package/dist/types/models/PaginatedPeriodicAgentList.d.ts +7 -0
  216. package/dist/types/models/PaginatedPeriodicAgentLogList.d.ts +7 -0
  217. package/dist/types/models/PaginatedPlayWrightScriptList.d.ts +7 -0
  218. package/dist/types/models/PaginatedSectionList.d.ts +7 -0
  219. package/dist/types/models/PaginatedSubSectionList.d.ts +7 -0
  220. package/dist/types/models/PaginatedTopicStatisticsResponse.d.ts +7 -0
  221. package/dist/types/models/PaginatedUnitList.d.ts +7 -0
  222. package/dist/types/models/PaginatedUserEdxMemoryList.d.ts +7 -0
  223. package/dist/types/models/PaginatedVoiceList.d.ts +7 -0
  224. package/dist/types/models/Pagination.d.ts +18 -0
  225. package/dist/types/models/PatchedConversations.d.ts +28 -0
  226. package/dist/types/models/PatchedCourseCreationTaskFile.d.ts +7 -0
  227. package/dist/types/models/PatchedCredentialRequest.d.ts +14 -0
  228. package/dist/types/models/PatchedLLMCredentialRequest.d.ts +14 -0
  229. package/dist/types/models/PatchedMentorCategoryGroupCreate.d.ts +11 -0
  230. package/dist/types/models/PatchedMentorCreate.d.ts +74 -0
  231. package/dist/types/models/PatchedNotification.d.ts +13 -0
  232. package/dist/types/models/PatchedPeriodicAgentCreate.d.ts +41 -0
  233. package/dist/types/models/PatchedPlatformPublicMetadata.d.ts +8 -0
  234. package/dist/types/models/PatchedPlayWrightScript.d.ts +12 -0
  235. package/dist/types/models/PatchedPrompt.d.ts +22 -0
  236. package/dist/types/models/PatchedSection.d.ts +9 -0
  237. package/dist/types/models/PatchedSkillThreshold.d.ts +14 -0
  238. package/dist/types/models/PatchedSubSection.d.ts +9 -0
  239. package/dist/types/models/PatchedUnit.d.ts +11 -0
  240. package/dist/types/models/PerLearnerCourseLastAccessData.d.ts +30 -0
  241. package/dist/types/models/PerLearnerCourseVideosWatched.d.ts +8 -0
  242. package/dist/types/models/PerLearnerCourseVideosWatchedData.d.ts +14 -0
  243. package/dist/types/models/PerLearnerLastAccess.d.ts +4 -0
  244. package/dist/types/models/PerLearnerLastAccessData.d.ts +11 -0
  245. package/dist/types/models/PerLearnerTimeSpentInCourseTree.d.ts +8 -0
  246. package/dist/types/models/PerformanceGradesPerCourse.d.ts +6 -0
  247. package/dist/types/models/PerformanceGradesPerCourseData.d.ts +22 -0
  248. package/dist/types/models/PeriodicAgent.d.ts +42 -0
  249. package/dist/types/models/PeriodicAgentCreate.d.ts +41 -0
  250. package/dist/types/models/PeriodicAgentLog.d.ts +11 -0
  251. package/dist/types/models/PeriodicAgentLogStatusEnum.d.ts +10 -0
  252. package/dist/types/models/PeriodicTask.d.ts +21 -0
  253. package/dist/types/models/PerlearnerCourseProgress.d.ts +4 -0
  254. package/dist/types/models/PerlearnerCourseProgressData.d.ts +6 -0
  255. package/dist/types/models/PerlearnerEngagementVideosData.d.ts +30 -0
  256. package/dist/types/models/PerlearnerEngagementVideosWatchedPerCourse.d.ts +4 -0
  257. package/dist/types/models/PerlearnerGradeSummary.d.ts +4 -0
  258. package/dist/types/models/PerlearnerGradeSummaryData.d.ts +18 -0
  259. package/dist/types/models/PerlearnerGradeWithCutOff.d.ts +4 -0
  260. package/dist/types/models/PerlearnerGradeWithCutOffData.d.ts +10 -0
  261. package/dist/types/models/PerlearnerGradingPerCourseAPI.d.ts +4 -0
  262. package/dist/types/models/PerlearnerGradingPerCourseAPIData.d.ts +34 -0
  263. package/dist/types/models/PerlearnerUserList.d.ts +6 -0
  264. package/dist/types/models/PerlearnerUserListData.d.ts +34 -0
  265. package/dist/types/models/PieChartData.d.ts +5 -0
  266. package/dist/types/models/PieChartSegment.d.ts +4 -0
  267. package/dist/types/models/PinnedMessageCreate.d.ts +9 -0
  268. package/dist/types/models/PinnedMessageGet.d.ts +7 -0
  269. package/dist/types/models/PinnedMessageRequest.d.ts +6 -0
  270. package/dist/types/models/PlatformPublicMetadata.d.ts +8 -0
  271. package/dist/types/models/PlayWrightScript.d.ts +12 -0
  272. package/dist/types/models/PointsPercentile.d.ts +8 -0
  273. package/dist/types/models/PredictiveAnalyticsRequest.d.ts +4 -0
  274. package/dist/types/models/PredictiveAnalyticsResponse.d.ts +4 -0
  275. package/dist/types/models/PreviewResponse.d.ts +11 -0
  276. package/dist/types/models/PreviousAgentStatusEnum.d.ts +12 -0
  277. package/dist/types/models/Product.d.ts +22 -0
  278. package/dist/types/models/ProductTable.d.ts +26 -0
  279. package/dist/types/models/Program.d.ts +24 -0
  280. package/dist/types/models/ProgramTypeEnum.d.ts +18 -0
  281. package/dist/types/models/Prompt.d.ts +22 -0
  282. package/dist/types/models/PromptCategory.d.ts +7 -0
  283. package/dist/types/models/PromptVisibilityEnum.d.ts +10 -0
  284. package/dist/types/models/ProviderEnum.d.ts +10 -0
  285. package/dist/types/models/QuestionCardTag.d.ts +8 -0
  286. package/dist/types/models/QuestionRequest.d.ts +15 -0
  287. package/dist/types/models/QuestionResponse.d.ts +10 -0
  288. package/dist/types/models/RatingEnum.d.ts +8 -0
  289. package/dist/types/models/RatingRecord.d.ts +4 -0
  290. package/dist/types/models/RecentlyAccessedMentor.d.ts +8 -0
  291. package/dist/types/models/Recipient.d.ts +8 -0
  292. package/dist/types/models/RecommendCourseBlock.d.ts +3 -0
  293. package/dist/types/models/RecommendCourseResponse.d.ts +3 -0
  294. package/dist/types/models/RecommendationSearchAPI.d.ts +3 -0
  295. package/dist/types/models/RedirectTokenRequest.d.ts +3 -0
  296. package/dist/types/models/RedirectTokenResponse.d.ts +5 -0
  297. package/dist/types/models/RelatedText.d.ts +3 -0
  298. package/dist/types/models/ReportCreate.d.ts +7 -0
  299. package/dist/types/models/ReportData.d.ts +28 -0
  300. package/dist/types/models/ReportDetail.d.ts +4 -0
  301. package/dist/types/models/ReportList.d.ts +4 -0
  302. package/dist/types/models/ReportRequest.d.ts +21 -0
  303. package/dist/types/models/ReportStatus.d.ts +41 -0
  304. package/dist/types/models/ReportedSkill.d.ts +4 -0
  305. package/dist/types/models/RequestDataVariable.d.ts +14 -0
  306. package/dist/types/models/ResourcePoint.d.ts +7 -0
  307. package/dist/types/models/ResourceScrappedData.d.ts +13 -0
  308. package/dist/types/models/ResourceScrappedDataStatusEnum.d.ts +12 -0
  309. package/dist/types/models/ResponseDataVariable.d.ts +14 -0
  310. package/dist/types/models/RetreiverTrainViewRequest.d.ts +10 -0
  311. package/dist/types/models/RetreiverTrainViewResponse.d.ts +6 -0
  312. package/dist/types/models/RetrieveTask.d.ts +3 -0
  313. package/dist/types/models/RetrieverDocumentEmbedding.d.ts +17 -0
  314. package/dist/types/models/RetrieverDocumentEmbeddingRequest.d.ts +30 -0
  315. package/dist/types/models/RetrieverRequestSearch.d.ts +10 -0
  316. package/dist/types/models/RetrieverRequestSearchDocument.d.ts +10 -0
  317. package/dist/types/models/RetrieverResponseSearch.d.ts +7 -0
  318. package/dist/types/models/ReuestDataVariableList.d.ts +4 -0
  319. package/dist/types/models/RevenueByProduct.d.ts +6 -0
  320. package/dist/types/models/RunMentorEval.d.ts +3 -0
  321. package/dist/types/models/ScanWebhookRequest.d.ts +6 -0
  322. package/dist/types/models/ScanWebhookResponse.d.ts +3 -0
  323. package/dist/types/models/Section.d.ts +9 -0
  324. package/dist/types/models/SectionWithChildren.d.ts +11 -0
  325. package/dist/types/models/SeedMentorsView.d.ts +3 -0
  326. package/dist/types/models/SendNotification.d.ts +6 -0
  327. package/dist/types/models/SendResponse.d.ts +9 -0
  328. package/dist/types/models/SentimentSummary.d.ts +4 -0
  329. package/dist/types/models/SessionBrowserScreenshot.d.ts +8 -0
  330. package/dist/types/models/SessionDetail.d.ts +6 -0
  331. package/dist/types/models/SessionMemoryStorage.d.ts +6 -0
  332. package/dist/types/models/ShellLogs.d.ts +3 -0
  333. package/dist/types/models/Skill.d.ts +7 -0
  334. package/dist/types/models/SkillDetail.d.ts +9 -0
  335. package/dist/types/models/SkillInfo.d.ts +23 -0
  336. package/dist/types/models/SkillThreshold.d.ts +14 -0
  337. package/dist/types/models/SpacedRepetitionLearningPath.d.ts +3 -0
  338. package/dist/types/models/SpacedRepetitionQuestionStats.d.ts +5 -0
  339. package/dist/types/models/StarMentor.d.ts +7 -0
  340. package/dist/types/models/StateEnum.d.ts +22 -0
  341. package/dist/types/models/Status6eeEnum.d.ts +12 -0
  342. package/dist/types/models/Step.d.ts +9 -0
  343. package/dist/types/models/StepStatusEnum.d.ts +10 -0
  344. package/dist/types/models/StudentChatMessage.d.ts +4 -0
  345. package/dist/types/models/StylesView.d.ts +4 -0
  346. package/dist/types/models/SubSection.d.ts +9 -0
  347. package/dist/types/models/SubSectionWithChildren.d.ts +11 -0
  348. package/dist/types/models/SubTimeChild.d.ts +18 -0
  349. package/dist/types/models/Summary.d.ts +18 -0
  350. package/dist/types/models/TagsView.d.ts +5 -0
  351. package/dist/types/models/TargetSystemEnum.d.ts +8 -0
  352. package/dist/types/models/TaskView.d.ts +3 -0
  353. package/dist/types/models/TemplateMentor.d.ts +9 -0
  354. package/dist/types/models/TenantMentorTraces.d.ts +6 -0
  355. package/dist/types/models/ThemeEnum.d.ts +8 -0
  356. package/dist/types/models/TimeChildData.d.ts +20 -0
  357. package/dist/types/models/TimeDetail.d.ts +8 -0
  358. package/dist/types/models/TimeDetailChild.d.ts +26 -0
  359. package/dist/types/models/TimeDetailData.d.ts +24 -0
  360. package/dist/types/models/TimeSpentByUsersInCourse.d.ts +6 -0
  361. package/dist/types/models/TimeSpentByUsersInCourseData.d.ts +22 -0
  362. package/dist/types/models/TimeSpentPerCourse.d.ts +6 -0
  363. package/dist/types/models/TimeSpentPerCourseData.d.ts +26 -0
  364. package/dist/types/models/TimeSpentPerUserResponse.d.ts +3 -0
  365. package/dist/types/models/TimeSpentUpdateRequest.d.ts +11 -0
  366. package/dist/types/models/TimeSpentUpdateResponse.d.ts +4 -0
  367. package/dist/types/models/TonesView.d.ts +4 -0
  368. package/dist/types/models/ToolResponse.d.ts +9 -0
  369. package/dist/types/models/TopicModel.d.ts +3 -0
  370. package/dist/types/models/TopicRecord.d.ts +4 -0
  371. package/dist/types/models/TopicStatistics.d.ts +7 -0
  372. package/dist/types/models/TopicStatisticsResponse.d.ts +6 -0
  373. package/dist/types/models/TopicSummaryView.d.ts +4 -0
  374. package/dist/types/models/TrainChatSessionDocumentView.d.ts +6 -0
  375. package/dist/types/models/TrainChatSessionDocumentViewRequest.d.ts +6 -0
  376. package/dist/types/models/TrainDocumentViewRequest.d.ts +42 -0
  377. package/dist/types/models/TrainDocumentViewResponse.d.ts +14 -0
  378. package/dist/types/models/TrainingStatusEnum.d.ts +12 -0
  379. package/dist/types/models/TrendEntry.d.ts +4 -0
  380. package/dist/types/models/TriggerRequest.d.ts +5 -0
  381. package/dist/types/models/TriggerResponse.d.ts +6 -0
  382. package/dist/types/models/TypeC42Enum.d.ts +8 -0
  383. package/dist/types/models/Unit.d.ts +11 -0
  384. package/dist/types/models/UnitWithChildren.d.ts +13 -0
  385. package/dist/types/models/UploadedImage.d.ts +5 -0
  386. package/dist/types/models/UseMainCreds.d.ts +3 -0
  387. package/dist/types/models/UserAllChatMemoryView.d.ts +7 -0
  388. package/dist/types/models/UserCatalogItemMemoryView.d.ts +14 -0
  389. package/dist/types/models/UserChatByPeriod.d.ts +4 -0
  390. package/dist/types/models/UserChatFeedback.d.ts +14 -0
  391. package/dist/types/models/UserChatFeedbackCount.d.ts +4 -0
  392. package/dist/types/models/UserChatMemoryStatusRequestView.d.ts +6 -0
  393. package/dist/types/models/UserChatMemoryStatusView.d.ts +6 -0
  394. package/dist/types/models/UserChatMemoryUpdateView.d.ts +10 -0
  395. package/dist/types/models/UserCountRecord.d.ts +4 -0
  396. package/dist/types/models/UserEdxMemory.d.ts +15 -0
  397. package/dist/types/models/UserInfo.d.ts +13 -0
  398. package/dist/types/models/UserMemoryContextRequest.d.ts +13 -0
  399. package/dist/types/models/UserMemoryContextResponse.d.ts +12 -0
  400. package/dist/types/models/UserMetric.d.ts +4 -0
  401. package/dist/types/models/UserMetricsResponse.d.ts +7 -0
  402. package/dist/types/models/UserSentimentCountView.d.ts +4 -0
  403. package/dist/types/models/UserSkill.d.ts +22 -0
  404. package/dist/types/models/UserSkillPointsPercentile.d.ts +8 -0
  405. package/dist/types/models/UserTrendByPeriod.d.ts +5 -0
  406. package/dist/types/models/ValidateSourceResponse.d.ts +10 -0
  407. package/dist/types/models/Value.d.ts +4 -0
  408. package/dist/types/models/ValueData.d.ts +6 -0
  409. package/dist/types/models/VectorResult.d.ts +8 -0
  410. package/dist/types/models/VideoBlock.d.ts +14 -0
  411. package/dist/types/models/VideoEngagementPerCourse.d.ts +6 -0
  412. package/dist/types/models/VideoEngagementPerCourseData.d.ts +30 -0
  413. package/dist/types/models/VideosCount.d.ts +4 -0
  414. package/dist/types/models/VideosCountData.d.ts +6 -0
  415. package/dist/types/models/VideosInCourseSummary.d.ts +4 -0
  416. package/dist/types/models/VideosInCourseSummaryData.d.ts +12 -0
  417. package/dist/types/models/VideosSpecificCourse.d.ts +4 -0
  418. package/dist/types/models/VideosSpecificCourseData.d.ts +26 -0
  419. package/dist/types/models/VideosWatchedSubSection.d.ts +19 -0
  420. package/dist/types/models/Voice.d.ts +9 -0
  421. package/dist/types/models/WatchedVideosPerUser.d.ts +8 -0
  422. package/dist/types/models/WatchedVideosPerUserData.d.ts +18 -0
  423. package/dist/types/models/WebResource.d.ts +9 -0
  424. package/dist/types/models/WebResourceCard.d.ts +7 -0
  425. package/dist/types/models/WebResourcesQuery.d.ts +3 -0
  426. package/dist/types/services/AiAccountService.d.ts +294 -0
  427. package/dist/types/services/AiAnalyticsService.d.ts +1056 -0
  428. package/dist/types/services/AiIndexService.d.ts +344 -0
  429. package/dist/types/services/AiMarketingService.d.ts +34 -0
  430. package/dist/types/services/AiMentorService.d.ts +4096 -0
  431. package/dist/types/services/AiPromptService.d.ts +879 -0
  432. package/dist/types/services/AnalyticsService.d.ts +51 -0
  433. package/dist/types/services/AudienceService.d.ts +348 -0
  434. package/dist/types/services/CareerService.d.ts +210 -0
  435. package/dist/types/services/CoreService.d.ts +196 -0
  436. package/dist/types/services/CredentialsService.d.ts +1184 -0
  437. package/dist/types/services/DepartmentsService.d.ts +43 -0
  438. package/dist/types/services/EngagementService.d.ts +467 -0
  439. package/dist/types/services/FinanceService.d.ts +52 -0
  440. package/dist/types/services/NotificationBuilderService.d.ts +58 -0
  441. package/dist/types/services/NotificationService.d.ts +118 -0
  442. package/dist/types/services/OverviewService.d.ts +184 -0
  443. package/dist/types/services/PerformanceService.d.ts +183 -0
  444. package/dist/types/services/PerlearnerService.d.ts +501 -0
  445. package/dist/types/services/PlatformService.d.ts +77 -0
  446. package/dist/types/services/RecommendationsService.d.ts +13 -0
  447. package/dist/types/services/ReportsService.d.ts +142 -0
  448. package/dist/types/services/SearchService.d.ts +710 -0
  449. package/dist/types/services/SkillsService.d.ts +377 -0
  450. package/dist/types/services/UserGroupsService.d.ts +49 -0
  451. package/package.json +39 -0
  452. package/rollup.config.js +113 -0
  453. package/src/core/ApiError.ts +25 -0
  454. package/src/core/ApiRequestOptions.ts +17 -0
  455. package/src/core/ApiResult.ts +11 -0
  456. package/src/core/CancelablePromise.ts +131 -0
  457. package/src/core/OpenAPI.ts +32 -0
  458. package/src/core/request.ts +322 -0
  459. package/src/index.ts +446 -0
  460. package/src/models/AIGeneratedImage.ts +18 -0
  461. package/src/models/APITokenCost.ts +19 -0
  462. package/src/models/AcceptanceEnum.ts +14 -0
  463. package/src/models/AccessEnum.ts +12 -0
  464. package/src/models/ActiveUsersData.ts +23 -0
  465. package/src/models/ActiveUsersList.ts +11 -0
  466. package/src/models/ActiveUsersPerCourse.ts +15 -0
  467. package/src/models/ActiveUsersPerCourseData.ts +19 -0
  468. package/src/models/ActivityAPI.ts +13 -0
  469. package/src/models/ActivityData.ts +43 -0
  470. package/src/models/AlignMentorBubbleEnum.ts +12 -0
  471. package/src/models/AnalyticsOverview.ts +12 -0
  472. package/src/models/Answer.ts +16 -0
  473. package/src/models/Assertion.ts +20 -0
  474. package/src/models/AssumedKnowledge.ts +9 -0
  475. package/src/models/AssumedKnowledgeLevel.ts +9 -0
  476. package/src/models/AudioToTextRequest.ts +8 -0
  477. package/src/models/AudioToTextResponse.ts +8 -0
  478. package/src/models/Average.ts +9 -0
  479. package/src/models/AverageData.ts +11 -0
  480. package/src/models/AverageOvertime.ts +27 -0
  481. package/src/models/AvgCourseGradeWithCutoff.ts +9 -0
  482. package/src/models/AvgCourseGradeWithCutoffData.ts +15 -0
  483. package/src/models/BlankEnum.ts +7 -0
  484. package/src/models/BulkCreateAssertion.ts +9 -0
  485. package/src/models/CallAuthenticationRequest.ts +18 -0
  486. package/src/models/CallAuthenticationResponse.ts +26 -0
  487. package/src/models/CampaignEnablement.ts +13 -0
  488. package/src/models/CampaignExclusion.ts +13 -0
  489. package/src/models/ChatHistory.ts +13 -0
  490. package/src/models/ChatHistoryFilterData.ts +14 -0
  491. package/src/models/ChatHistoryFilterUser.ts +10 -0
  492. package/src/models/ChatHistoryItem.ts +10 -0
  493. package/src/models/ChatHistorySessionId.ts +8 -0
  494. package/src/models/ChatSessionRequest.ts +15 -0
  495. package/src/models/ChatSessionResponse.ts +10 -0
  496. package/src/models/CheckDocumentTrainingStatus.ts +15 -0
  497. package/src/models/Company.ts +28 -0
  498. package/src/models/ComponentBlock.ts +14 -0
  499. package/src/models/ComponentBlockTypeEnum.ts +12 -0
  500. package/src/models/ContextResponse.ts +12 -0
  501. package/src/models/ConversationMessage.ts +16 -0
  502. package/src/models/ConversationRating.ts +11 -0
  503. package/src/models/ConversationSummary.ts +10 -0
  504. package/src/models/ConversationVolume.ts +9 -0
  505. package/src/models/Conversations.ts +33 -0
  506. package/src/models/Cost.ts +8 -0
  507. package/src/models/CostPerTenant.ts +11 -0
  508. package/src/models/Count.ts +9 -0
  509. package/src/models/CountData.ts +11 -0
  510. package/src/models/CourseCompletionPerCourse.ts +11 -0
  511. package/src/models/CourseCompletionPerCourseData.ts +27 -0
  512. package/src/models/CourseCompletionSummaryDataOvertime.ts +23 -0
  513. package/src/models/CourseCompletionSummaryOvertime.ts +11 -0
  514. package/src/models/CourseCreationTask.ts +36 -0
  515. package/src/models/CourseCreationTaskFile.ts +12 -0
  516. package/src/models/CourseCreationTaskStatusEnum.ts +20 -0
  517. package/src/models/CourseGradeDetailBlock.ts +23 -0
  518. package/src/models/CourseGradeDetailSubSection.ts +28 -0
  519. package/src/models/CourseGradeSummary.ts +9 -0
  520. package/src/models/CourseGradeSummaryData.ts +23 -0
  521. package/src/models/CourseGradingDetail.ts +9 -0
  522. package/src/models/CourseGradingDetailData.ts +17 -0
  523. package/src/models/CoursePoint.ts +12 -0
  524. package/src/models/CourseSkill.ts +13 -0
  525. package/src/models/Credential.ts +33 -0
  526. package/src/models/CredentialRequest.ts +19 -0
  527. package/src/models/CrontabSchedule.ts +27 -0
  528. package/src/models/CustomInstructionResponse.ts +18 -0
  529. package/src/models/DateRange.ts +9 -0
  530. package/src/models/DesiredSkill.ts +9 -0
  531. package/src/models/DetailedGradeSubsection.ts +27 -0
  532. package/src/models/DetailedGradeView.ts +9 -0
  533. package/src/models/DetailedGradeViewData.ts +17 -0
  534. package/src/models/Education.ts +35 -0
  535. package/src/models/EdxCourse.ts +16 -0
  536. package/src/models/ElevenlabsCustomVoice.ts +9 -0
  537. package/src/models/ElevenlabsCustomVoiceResponse.ts +13 -0
  538. package/src/models/EmailPromptDetail.ts +18 -0
  539. package/src/models/EmailPromptList.ts +16 -0
  540. package/src/models/EmailPromptSummary.ts +10 -0
  541. package/src/models/EngagementPerCourse.ts +11 -0
  542. package/src/models/EngagementPerCourseData.ts +31 -0
  543. package/src/models/Enrollments.ts +13 -0
  544. package/src/models/EnrollmentsData.ts +23 -0
  545. package/src/models/EnrollmentsPerUser.ts +11 -0
  546. package/src/models/EnrollmentsPerUserData.ts +23 -0
  547. package/src/models/ErrorResponse.ts +13 -0
  548. package/src/models/Experience.ts +34 -0
  549. package/src/models/FloatOverTime.ts +15 -0
  550. package/src/models/FreeUsageCount.ts +8 -0
  551. package/src/models/FullCourse.ts +18 -0
  552. package/src/models/GradingPerUser.ts +13 -0
  553. package/src/models/GradingPerUserData.ts +31 -0
  554. package/src/models/GreetingMethodEnum.ts +12 -0
  555. package/src/models/GroupList.ts +11 -0
  556. package/src/models/GroupListData.ts +21 -0
  557. package/src/models/GuidedPromptsResponse.ts +8 -0
  558. package/src/models/HeygenMarketingVideoDetail.ts +13 -0
  559. package/src/models/HeygenMarketingVideoList.ts +11 -0
  560. package/src/models/IBLAIPlatformMeta.ts +8 -0
  561. package/src/models/IBLAIPlatformMetaRequest.ts +11 -0
  562. package/src/models/IBLAIPlatformMetaUpdateRequest.ts +15 -0
  563. package/src/models/ImageUpload.ts +8 -0
  564. package/src/models/InputQuestion.ts +11 -0
  565. package/src/models/Institution.ts +25 -0
  566. package/src/models/InstitutionTypeEnum.ts +18 -0
  567. package/src/models/IntegrationCredential.ts +13 -0
  568. package/src/models/IntialQuestionAnswer.ts +8 -0
  569. package/src/models/Issuer.ts +14 -0
  570. package/src/models/IssuerAuthority.ts +10 -0
  571. package/src/models/JobRun.ts +16 -0
  572. package/src/models/KindEnum.ts +14 -0
  573. package/src/models/LLMCredentialRequest.ts +19 -0
  574. package/src/models/LLMCredentialResponse.ts +13 -0
  575. package/src/models/LLMModelForTenant.ts +11 -0
  576. package/src/models/LLMQuestion.ts +20 -0
  577. package/src/models/LLMResponse.ts +19 -0
  578. package/src/models/LLMTracesListResponse.ts +10 -0
  579. package/src/models/LanguagesView.ts +10 -0
  580. package/src/models/LearnerInformationAPI.ts +9 -0
  581. package/src/models/LearnerInformationAPIData.ts +88 -0
  582. package/src/models/LinkCourseRequest.ts +8 -0
  583. package/src/models/LinkCourseResponse.ts +10 -0
  584. package/src/models/LtiKey.ts +24 -0
  585. package/src/models/LtiLaunchGate.ts +13 -0
  586. package/src/models/LtiTool.ts +51 -0
  587. package/src/models/MemoryComponentData.ts +10 -0
  588. package/src/models/MemoryComponentMemory.ts +9 -0
  589. package/src/models/MemoryComponentMemoryDetail.ts +13 -0
  590. package/src/models/MemoryComponentResponse.ts +10 -0
  591. package/src/models/MemoryProgress.ts +13 -0
  592. package/src/models/MemoryStatusRequestView.ts +11 -0
  593. package/src/models/MemoryStatusView.ts +11 -0
  594. package/src/models/Mentor.ts +80 -0
  595. package/src/models/MentorAudience.ts +10 -0
  596. package/src/models/MentorCategory.ts +14 -0
  597. package/src/models/MentorCategoryCreate.ts +16 -0
  598. package/src/models/MentorCategoryGroup.ts +16 -0
  599. package/src/models/MentorCategoryGroupCreate.ts +16 -0
  600. package/src/models/MentorCreate.ts +79 -0
  601. package/src/models/MentorCustomVoice.ts +9 -0
  602. package/src/models/MentorCustomVoiceResponse.ts +9 -0
  603. package/src/models/MentorData.ts +12 -0
  604. package/src/models/MentorDetailAnalytics.ts +11 -0
  605. package/src/models/MentorEval.ts +16 -0
  606. package/src/models/MentorEvalQuestion.ts +10 -0
  607. package/src/models/MentorEvalQuestionRequest.ts +9 -0
  608. package/src/models/MentorEvalReport.ts +15 -0
  609. package/src/models/MentorEvalRequest.ts +13 -0
  610. package/src/models/MentorFork.ts +10 -0
  611. package/src/models/MentorFromTemplateRequest.ts +9 -0
  612. package/src/models/MentorFromTemplateWithSettingRequest.ts +47 -0
  613. package/src/models/MentorMemorySettingsRequest.ts +11 -0
  614. package/src/models/MentorMemorySettingsResponse.ts +11 -0
  615. package/src/models/MentorMetadata.ts +10 -0
  616. package/src/models/MentorScenario.ts +11 -0
  617. package/src/models/MentorScenarioPrompt.ts +10 -0
  618. package/src/models/MentorSession.ts +9 -0
  619. package/src/models/MentorSettings.ts +52 -0
  620. package/src/models/MentorSettingsPublic.ts +45 -0
  621. package/src/models/MentorSettingsRequest.ts +56 -0
  622. package/src/models/MentorVisibilityEnum.ts +14 -0
  623. package/src/models/MentorWizard.ts +9 -0
  624. package/src/models/MessageStatistics.ts +10 -0
  625. package/src/models/MessageView.ts +15 -0
  626. package/src/models/MessageViewRequest.ts +12 -0
  627. package/src/models/MessageViewUpdatResponse.ts +8 -0
  628. package/src/models/Metadata.ts +10 -0
  629. package/src/models/MetricChange.ts +9 -0
  630. package/src/models/ModelCost.ts +9 -0
  631. package/src/models/ModerationLog.ts +16 -0
  632. package/src/models/NetRevenueOverTime.ts +13 -0
  633. package/src/models/NewPerLearnerList.ts +11 -0
  634. package/src/models/NewPerLearnerListData.ts +22 -0
  635. package/src/models/NoChatMessagesFound.ts +8 -0
  636. package/src/models/Notification.ts +18 -0
  637. package/src/models/NotificationCount.ts +9 -0
  638. package/src/models/NotificationPreview.ts +36 -0
  639. package/src/models/NotificationSource.ts +13 -0
  640. package/src/models/NotificationSourceTypeEnum.ts +22 -0
  641. package/src/models/NotificationStatusEnum.ts +14 -0
  642. package/src/models/NotificationTemplateData.ts +31 -0
  643. package/src/models/NullEnum.ts +7 -0
  644. package/src/models/Order.ts +27 -0
  645. package/src/models/OverTime.ts +8 -0
  646. package/src/models/OverTimeWithTotal.ts +27 -0
  647. package/src/models/OvertimeMeta.ts +35 -0
  648. package/src/models/OvertimeWithChangeInfo.ts +29 -0
  649. package/src/models/PageContent.ts +11 -0
  650. package/src/models/PaginatedAIGeneratedImageList.ts +12 -0
  651. package/src/models/PaginatedConversationsList.ts +12 -0
  652. package/src/models/PaginatedCourseCreationTaskFileList.ts +12 -0
  653. package/src/models/PaginatedCourseCreationTaskList.ts +12 -0
  654. package/src/models/PaginatedEdxCourseList.ts +12 -0
  655. package/src/models/PaginatedEmailPromptListList.ts +12 -0
  656. package/src/models/PaginatedHeygenMarketingVideoListList.ts +12 -0
  657. package/src/models/PaginatedJobRunList.ts +12 -0
  658. package/src/models/PaginatedMentorList.ts +12 -0
  659. package/src/models/PaginatedModerationLogList.ts +12 -0
  660. package/src/models/PaginatedPeriodicAgentList.ts +12 -0
  661. package/src/models/PaginatedPeriodicAgentLogList.ts +12 -0
  662. package/src/models/PaginatedPlayWrightScriptList.ts +12 -0
  663. package/src/models/PaginatedSectionList.ts +12 -0
  664. package/src/models/PaginatedSubSectionList.ts +12 -0
  665. package/src/models/PaginatedTopicStatisticsResponse.ts +12 -0
  666. package/src/models/PaginatedUnitList.ts +12 -0
  667. package/src/models/PaginatedUserEdxMemoryList.ts +12 -0
  668. package/src/models/PaginatedVoiceList.ts +12 -0
  669. package/src/models/Pagination.ts +23 -0
  670. package/src/models/PatchedConversations.ts +33 -0
  671. package/src/models/PatchedCourseCreationTaskFile.ts +12 -0
  672. package/src/models/PatchedCredentialRequest.ts +19 -0
  673. package/src/models/PatchedLLMCredentialRequest.ts +19 -0
  674. package/src/models/PatchedMentorCategoryGroupCreate.ts +16 -0
  675. package/src/models/PatchedMentorCreate.ts +79 -0
  676. package/src/models/PatchedNotification.ts +18 -0
  677. package/src/models/PatchedPeriodicAgentCreate.ts +46 -0
  678. package/src/models/PatchedPlatformPublicMetadata.ts +13 -0
  679. package/src/models/PatchedPlayWrightScript.ts +17 -0
  680. package/src/models/PatchedPrompt.ts +27 -0
  681. package/src/models/PatchedSection.ts +14 -0
  682. package/src/models/PatchedSkillThreshold.ts +19 -0
  683. package/src/models/PatchedSubSection.ts +14 -0
  684. package/src/models/PatchedUnit.ts +16 -0
  685. package/src/models/PerLearnerCourseLastAccessData.ts +35 -0
  686. package/src/models/PerLearnerCourseVideosWatched.ts +13 -0
  687. package/src/models/PerLearnerCourseVideosWatchedData.ts +19 -0
  688. package/src/models/PerLearnerLastAccess.ts +9 -0
  689. package/src/models/PerLearnerLastAccessData.ts +16 -0
  690. package/src/models/PerLearnerTimeSpentInCourseTree.ts +13 -0
  691. package/src/models/PerformanceGradesPerCourse.ts +11 -0
  692. package/src/models/PerformanceGradesPerCourseData.ts +27 -0
  693. package/src/models/PeriodicAgent.ts +47 -0
  694. package/src/models/PeriodicAgentCreate.ts +46 -0
  695. package/src/models/PeriodicAgentLog.ts +16 -0
  696. package/src/models/PeriodicAgentLogStatusEnum.ts +14 -0
  697. package/src/models/PeriodicTask.ts +26 -0
  698. package/src/models/PerlearnerCourseProgress.ts +9 -0
  699. package/src/models/PerlearnerCourseProgressData.ts +11 -0
  700. package/src/models/PerlearnerEngagementVideosData.ts +35 -0
  701. package/src/models/PerlearnerEngagementVideosWatchedPerCourse.ts +9 -0
  702. package/src/models/PerlearnerGradeSummary.ts +9 -0
  703. package/src/models/PerlearnerGradeSummaryData.ts +23 -0
  704. package/src/models/PerlearnerGradeWithCutOff.ts +9 -0
  705. package/src/models/PerlearnerGradeWithCutOffData.ts +15 -0
  706. package/src/models/PerlearnerGradingPerCourseAPI.ts +9 -0
  707. package/src/models/PerlearnerGradingPerCourseAPIData.ts +39 -0
  708. package/src/models/PerlearnerUserList.ts +11 -0
  709. package/src/models/PerlearnerUserListData.ts +39 -0
  710. package/src/models/PieChartData.ts +10 -0
  711. package/src/models/PieChartSegment.ts +9 -0
  712. package/src/models/PinnedMessageCreate.ts +14 -0
  713. package/src/models/PinnedMessageGet.ts +12 -0
  714. package/src/models/PinnedMessageRequest.ts +11 -0
  715. package/src/models/PlatformPublicMetadata.ts +13 -0
  716. package/src/models/PlayWrightScript.ts +17 -0
  717. package/src/models/PointsPercentile.ts +13 -0
  718. package/src/models/PredictiveAnalyticsRequest.ts +9 -0
  719. package/src/models/PredictiveAnalyticsResponse.ts +9 -0
  720. package/src/models/PreviewResponse.ts +16 -0
  721. package/src/models/PreviousAgentStatusEnum.ts +16 -0
  722. package/src/models/Product.ts +27 -0
  723. package/src/models/ProductTable.ts +31 -0
  724. package/src/models/Program.ts +29 -0
  725. package/src/models/ProgramTypeEnum.ts +22 -0
  726. package/src/models/Prompt.ts +27 -0
  727. package/src/models/PromptCategory.ts +12 -0
  728. package/src/models/PromptVisibilityEnum.ts +14 -0
  729. package/src/models/ProviderEnum.ts +14 -0
  730. package/src/models/QuestionCardTag.ts +13 -0
  731. package/src/models/QuestionRequest.ts +20 -0
  732. package/src/models/QuestionResponse.ts +15 -0
  733. package/src/models/RatingEnum.ts +12 -0
  734. package/src/models/RatingRecord.ts +9 -0
  735. package/src/models/RecentlyAccessedMentor.ts +13 -0
  736. package/src/models/Recipient.ts +13 -0
  737. package/src/models/RecommendCourseBlock.ts +8 -0
  738. package/src/models/RecommendCourseResponse.ts +8 -0
  739. package/src/models/RecommendationSearchAPI.ts +8 -0
  740. package/src/models/RedirectTokenRequest.ts +8 -0
  741. package/src/models/RedirectTokenResponse.ts +10 -0
  742. package/src/models/RelatedText.ts +8 -0
  743. package/src/models/ReportCreate.ts +12 -0
  744. package/src/models/ReportData.ts +33 -0
  745. package/src/models/ReportDetail.ts +9 -0
  746. package/src/models/ReportList.ts +9 -0
  747. package/src/models/ReportRequest.ts +26 -0
  748. package/src/models/ReportStatus.ts +46 -0
  749. package/src/models/ReportedSkill.ts +9 -0
  750. package/src/models/RequestDataVariable.ts +19 -0
  751. package/src/models/ResourcePoint.ts +12 -0
  752. package/src/models/ResourceScrappedData.ts +18 -0
  753. package/src/models/ResourceScrappedDataStatusEnum.ts +16 -0
  754. package/src/models/ResponseDataVariable.ts +19 -0
  755. package/src/models/RetreiverTrainViewRequest.ts +15 -0
  756. package/src/models/RetreiverTrainViewResponse.ts +11 -0
  757. package/src/models/RetrieveTask.ts +8 -0
  758. package/src/models/RetrieverDocumentEmbedding.ts +22 -0
  759. package/src/models/RetrieverDocumentEmbeddingRequest.ts +35 -0
  760. package/src/models/RetrieverRequestSearch.ts +15 -0
  761. package/src/models/RetrieverRequestSearchDocument.ts +15 -0
  762. package/src/models/RetrieverResponseSearch.ts +12 -0
  763. package/src/models/ReuestDataVariableList.ts +9 -0
  764. package/src/models/RevenueByProduct.ts +11 -0
  765. package/src/models/RunMentorEval.ts +8 -0
  766. package/src/models/ScanWebhookRequest.ts +11 -0
  767. package/src/models/ScanWebhookResponse.ts +8 -0
  768. package/src/models/Section.ts +14 -0
  769. package/src/models/SectionWithChildren.ts +16 -0
  770. package/src/models/SeedMentorsView.ts +8 -0
  771. package/src/models/SendNotification.ts +11 -0
  772. package/src/models/SendResponse.ts +14 -0
  773. package/src/models/SentimentSummary.ts +9 -0
  774. package/src/models/SessionBrowserScreenshot.ts +13 -0
  775. package/src/models/SessionDetail.ts +11 -0
  776. package/src/models/SessionMemoryStorage.ts +11 -0
  777. package/src/models/ShellLogs.ts +8 -0
  778. package/src/models/Skill.ts +12 -0
  779. package/src/models/SkillDetail.ts +14 -0
  780. package/src/models/SkillInfo.ts +28 -0
  781. package/src/models/SkillThreshold.ts +19 -0
  782. package/src/models/SpacedRepetitionLearningPath.ts +8 -0
  783. package/src/models/SpacedRepetitionQuestionStats.ts +10 -0
  784. package/src/models/StarMentor.ts +12 -0
  785. package/src/models/StateEnum.ts +26 -0
  786. package/src/models/Status6eeEnum.ts +16 -0
  787. package/src/models/Step.ts +14 -0
  788. package/src/models/StepStatusEnum.ts +14 -0
  789. package/src/models/StudentChatMessage.ts +9 -0
  790. package/src/models/StylesView.ts +9 -0
  791. package/src/models/SubSection.ts +14 -0
  792. package/src/models/SubSectionWithChildren.ts +16 -0
  793. package/src/models/SubTimeChild.ts +23 -0
  794. package/src/models/Summary.ts +23 -0
  795. package/src/models/TagsView.ts +10 -0
  796. package/src/models/TargetSystemEnum.ts +12 -0
  797. package/src/models/TaskView.ts +8 -0
  798. package/src/models/TemplateMentor.ts +14 -0
  799. package/src/models/TenantMentorTraces.ts +11 -0
  800. package/src/models/ThemeEnum.ts +12 -0
  801. package/src/models/TimeChildData.ts +25 -0
  802. package/src/models/TimeDetail.ts +13 -0
  803. package/src/models/TimeDetailChild.ts +31 -0
  804. package/src/models/TimeDetailData.ts +29 -0
  805. package/src/models/TimeSpentByUsersInCourse.ts +11 -0
  806. package/src/models/TimeSpentByUsersInCourseData.ts +27 -0
  807. package/src/models/TimeSpentPerCourse.ts +11 -0
  808. package/src/models/TimeSpentPerCourseData.ts +31 -0
  809. package/src/models/TimeSpentPerUserResponse.ts +8 -0
  810. package/src/models/TimeSpentUpdateRequest.ts +16 -0
  811. package/src/models/TimeSpentUpdateResponse.ts +9 -0
  812. package/src/models/TonesView.ts +9 -0
  813. package/src/models/ToolResponse.ts +14 -0
  814. package/src/models/TopicModel.ts +8 -0
  815. package/src/models/TopicRecord.ts +9 -0
  816. package/src/models/TopicStatistics.ts +12 -0
  817. package/src/models/TopicStatisticsResponse.ts +11 -0
  818. package/src/models/TopicSummaryView.ts +9 -0
  819. package/src/models/TrainChatSessionDocumentView.ts +11 -0
  820. package/src/models/TrainChatSessionDocumentViewRequest.ts +11 -0
  821. package/src/models/TrainDocumentViewRequest.ts +47 -0
  822. package/src/models/TrainDocumentViewResponse.ts +19 -0
  823. package/src/models/TrainingStatusEnum.ts +16 -0
  824. package/src/models/TrendEntry.ts +9 -0
  825. package/src/models/TriggerRequest.ts +10 -0
  826. package/src/models/TriggerResponse.ts +11 -0
  827. package/src/models/TypeC42Enum.ts +12 -0
  828. package/src/models/Unit.ts +16 -0
  829. package/src/models/UnitWithChildren.ts +18 -0
  830. package/src/models/UploadedImage.ts +10 -0
  831. package/src/models/UseMainCreds.ts +8 -0
  832. package/src/models/UserAllChatMemoryView.ts +12 -0
  833. package/src/models/UserCatalogItemMemoryView.ts +19 -0
  834. package/src/models/UserChatByPeriod.ts +9 -0
  835. package/src/models/UserChatFeedback.ts +19 -0
  836. package/src/models/UserChatFeedbackCount.ts +9 -0
  837. package/src/models/UserChatMemoryStatusRequestView.ts +11 -0
  838. package/src/models/UserChatMemoryStatusView.ts +11 -0
  839. package/src/models/UserChatMemoryUpdateView.ts +15 -0
  840. package/src/models/UserCountRecord.ts +9 -0
  841. package/src/models/UserEdxMemory.ts +20 -0
  842. package/src/models/UserInfo.ts +18 -0
  843. package/src/models/UserMemoryContextRequest.ts +18 -0
  844. package/src/models/UserMemoryContextResponse.ts +17 -0
  845. package/src/models/UserMetric.ts +9 -0
  846. package/src/models/UserMetricsResponse.ts +12 -0
  847. package/src/models/UserSentimentCountView.ts +9 -0
  848. package/src/models/UserSkill.ts +27 -0
  849. package/src/models/UserSkillPointsPercentile.ts +13 -0
  850. package/src/models/UserTrendByPeriod.ts +10 -0
  851. package/src/models/ValidateSourceResponse.ts +15 -0
  852. package/src/models/Value.ts +9 -0
  853. package/src/models/ValueData.ts +11 -0
  854. package/src/models/VectorResult.ts +13 -0
  855. package/src/models/VideoBlock.ts +19 -0
  856. package/src/models/VideoEngagementPerCourse.ts +11 -0
  857. package/src/models/VideoEngagementPerCourseData.ts +35 -0
  858. package/src/models/VideosCount.ts +9 -0
  859. package/src/models/VideosCountData.ts +11 -0
  860. package/src/models/VideosInCourseSummary.ts +9 -0
  861. package/src/models/VideosInCourseSummaryData.ts +17 -0
  862. package/src/models/VideosSpecificCourse.ts +9 -0
  863. package/src/models/VideosSpecificCourseData.ts +31 -0
  864. package/src/models/VideosWatchedSubSection.ts +24 -0
  865. package/src/models/Voice.ts +14 -0
  866. package/src/models/WatchedVideosPerUser.ts +13 -0
  867. package/src/models/WatchedVideosPerUserData.ts +23 -0
  868. package/src/models/WebResource.ts +14 -0
  869. package/src/models/WebResourceCard.ts +12 -0
  870. package/src/models/WebResourcesQuery.ts +8 -0
  871. package/src/services/AiAccountService.ts +479 -0
  872. package/src/services/AiAnalyticsService.ts +1923 -0
  873. package/src/services/AiIndexService.ts +598 -0
  874. package/src/services/AiMarketingService.ts +87 -0
  875. package/src/services/AiMentorService.ts +7678 -0
  876. package/src/services/AiPromptService.ts +1676 -0
  877. package/src/services/AnalyticsService.ts +94 -0
  878. package/src/services/AudienceService.ts +602 -0
  879. package/src/services/CareerService.ts +568 -0
  880. package/src/services/CoreService.ts +487 -0
  881. package/src/services/CredentialsService.ts +1647 -0
  882. package/src/services/DepartmentsService.ts +85 -0
  883. package/src/services/EngagementService.ts +907 -0
  884. package/src/services/FinanceService.ts +136 -0
  885. package/src/services/NotificationBuilderService.ts +133 -0
  886. package/src/services/NotificationService.ts +294 -0
  887. package/src/services/OverviewService.ts +324 -0
  888. package/src/services/PerformanceService.ts +329 -0
  889. package/src/services/PerlearnerService.ts +1009 -0
  890. package/src/services/PlatformService.ts +181 -0
  891. package/src/services/RecommendationsService.ts +31 -0
  892. package/src/services/ReportsService.ts +218 -0
  893. package/src/services/SearchService.ts +804 -0
  894. package/src/services/SkillsService.ts +521 -0
  895. package/src/services/UserGroupsService.ts +91 -0
  896. package/tsconfig.json +15 -0
@@ -0,0 +1,804 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { CancelablePromise } from '../core/CancelablePromise';
6
+ import { OpenAPI } from '../core/OpenAPI';
7
+ import { request as __request } from '../core/request';
8
+ export class SearchService {
9
+ /**
10
+ * Legacy endpoint for backward compatibility with older mentor search implementations.
11
+ *
12
+ * This endpoint provides the same functionality as MentorSearchView but supports
13
+ * older pagination parameters and only returns publicly available mentors
14
+ * (VIEWABLE_BY_ANYONE).
15
+ *
16
+ * Query Parameters:
17
+ * # Identification parameters (for detail view)
18
+ * id (int, optional): Retrieve a specific mentor by ID
19
+ * unique_id (uuid, optional): Retrieve a specific mentor by UUID
20
+ *
21
+ * # Legacy pagination parameters
22
+ * page (int, optional): Page number (1-based, used with page_size)
23
+ * page_size (int, optional): Number of results per page
24
+ *
25
+ * # Standard pagination parameters (also supported)
26
+ * limit (int, optional): Number of results per page
27
+ * offset (int, optional): Starting position for pagination
28
+ *
29
+ * # Other parameters
30
+ * Same as MentorSearchView
31
+ *
32
+ * # Special parameters
33
+ * filter_facet (any, optional): If present, return only facets without results
34
+ * created_by (str, optional): Filter mentors created by specific user
35
+ *
36
+ * Returns:
37
+ * Same format as MentorSearchView, but only includes publicly available mentors.
38
+ *
39
+ * Error Responses:
40
+ * 400 Bad Request: If the request parameters are invalid
41
+ * 403 Forbidden: If the requested mentor exists but is not publicly available
42
+ * 404 Not Found: If the requested mentor doesn't exist
43
+ * 500 Internal Server Error: If an unexpected error occurs
44
+ *
45
+ * Notes:
46
+ * - This endpoint is maintained for backward compatibility
47
+ * - Only returns mentors with visibility set to VIEWABLE_BY_ANYONE
48
+ * - Supports both old-style (page/page_size) and new-style (limit/offset) pagination
49
+ * @returns any No response body
50
+ * @throws ApiError
51
+ */
52
+ public static searchAiSearchRetrieve(): CancelablePromise<any> {
53
+ return __request(OpenAPI, {
54
+ method: 'GET',
55
+ url: '/api/search/ai-search/',
56
+ });
57
+ }
58
+ /**
59
+ * Search and filter content across the learning catalog.
60
+ *
61
+ * This endpoint provides a powerful search interface for discovering content across
62
+ * multiple content types (courses, programs, pathways, skills, roles, resources).
63
+ * It supports full-text search, faceted filtering, and pagination.
64
+ *
65
+ * Query Parameters:
66
+ * query (str, optional): Search term to filter content by name or description
67
+ * content (list, optional): Content types to include in results
68
+ * (courses, programs, pathways, skills, roles, resources)
69
+ * Default: ["programs", "courses", "pathways", "skills"]
70
+ *
71
+ * # Filtering parameters
72
+ * course_id (str, optional): Filter by specific course ID
73
+ * program_id (str, optional): Filter by specific program ID
74
+ * pathway_id (str, optional): Filter by specific pathway ID
75
+ * skill_id (str, optional): Filter by specific skill ID
76
+ * subject (list, optional): Filter by subject areas
77
+ * tenant (list, optional): Filter by tenant/organization
78
+ * topics (list, optional): Filter by topic areas
79
+ * tags (list, optional): Filter by tags
80
+ * level (list, optional): Filter by difficulty level
81
+ * self_paced (list, optional): Filter by course format (self-paced, instructor-led)
82
+ * promotion (list, optional): Filter by promotion status
83
+ * language (list, optional): Filter by content language
84
+ * certificate (list, optional): Filter by certificate type
85
+ * program_type (list, optional): Filter by program type
86
+ * duration (list, optional): Filter by course duration range
87
+ * price (str, optional): Filter by price/audit status
88
+ * resource_type (list, optional): Filter by resource type
89
+ * skills (list, optional): Filter by skills
90
+ *
91
+ * # Sorting and pagination
92
+ * order_by (str, optional): Field to sort results by
93
+ * order_ascending (bool, optional): Sort direction (default: false)
94
+ * alphabetical (bool, optional): Sort alphabetically by name (default: false)
95
+ * limit (int, optional): Number of results per page (default: 12, max: 100)
96
+ * offset (int, optional): Starting position for pagination
97
+ *
98
+ * # Response options
99
+ * return_facet (bool, optional): Include facet data in response (default: true)
100
+ * return_items (bool, optional): Include items in programs/pathways (default: false)
101
+ * allow_skill_search (bool, optional): Enable skill-based search (default: false)
102
+ * update_facet (str, optional): Force facet update
103
+ *
104
+ * Returns:
105
+ * A JSON response containing:
106
+ * - results: List of content items with metadata
107
+ * - count: Total number of matching items
108
+ * - next: URL for the next page of results (if available)
109
+ * - previous: URL for the previous page of results (if available)
110
+ * - current_page: Current page number
111
+ * - total_pages: Total number of pages
112
+ * - facets: Aggregated counts for each filter category (if requested)
113
+ *
114
+ * Each content item contains type-specific fields:
115
+ * - Courses:
116
+ * {
117
+ * "id": 123,
118
+ * "type": "course",
119
+ * "course_id": "CS101",
120
+ * "name": "Introduction to Computer Science",
121
+ * "description": "Learn the fundamentals of computer science",
122
+ * "short_description": "CS fundamentals",
123
+ * "image_url": "https://example.com/images/cs101.jpg",
124
+ * "level": "Beginner",
125
+ * "subject": "Computer Science",
126
+ * "topics": ["Programming", "Algorithms"],
127
+ * "tags": ["python", "coding"],
128
+ * "language": "English",
129
+ * "tenant": "example-university",
130
+ * "self_paced": true,
131
+ * "duration": "6 weeks",
132
+ * "certificate": "Professional Certificate",
133
+ * "price": "Free",
134
+ * "skills": [
135
+ * {"id": 1, "name": "Python Programming"},
136
+ * {"id": 2, "name": "Algorithms"}
137
+ * ],
138
+ * "url": "https://example.com/courses/cs101"
139
+ * }
140
+ *
141
+ * - Programs:
142
+ * {
143
+ * "id": 456,
144
+ * "type": "program",
145
+ * "program_id": "PROG123",
146
+ * "name": "Data Science Program",
147
+ * "description": "Comprehensive data science curriculum",
148
+ * "short_description": "Learn data science",
149
+ * "image_url": "https://example.com/images/datascience.jpg",
150
+ * "level": "Intermediate",
151
+ * "subject": "Data Science",
152
+ * "topics": ["Machine Learning", "Statistics"],
153
+ * "program_type": "Professional Certificate",
154
+ * "courses": [
155
+ * {"id": 123, "name": "Introduction to Python"},
156
+ * {"id": 124, "name": "Statistics for Data Science"}
157
+ * ],
158
+ * "url": "https://example.com/programs/prog123"
159
+ * }
160
+ *
161
+ * - Pathways:
162
+ * {
163
+ * "id": 789,
164
+ * "type": "pathway",
165
+ * "pathway_id": "PATH456",
166
+ * "name": "Software Engineering Career Path",
167
+ * "description": "Complete pathway to become a software engineer",
168
+ * "image_url": "https://example.com/images/swe-path.jpg",
169
+ * "programs": [
170
+ * {"id": 456, "name": "Programming Fundamentals"},
171
+ * {"id": 457, "name": "Web Development"}
172
+ * ],
173
+ * "url": "https://example.com/pathways/path456"
174
+ * }
175
+ *
176
+ * - Skills:
177
+ * {
178
+ * "id": 321,
179
+ * "type": "skill",
180
+ * "name": "Machine Learning",
181
+ * "description": "Building systems that learn from data",
182
+ * "courses": [
183
+ * {"id": 125, "name": "Machine Learning Fundamentals"}
184
+ * ],
185
+ * "related_skills": [
186
+ * {"id": 322, "name": "Deep Learning"}
187
+ * ]
188
+ * }
189
+ *
190
+ * - Roles:
191
+ * {
192
+ * "id": 654,
193
+ * "type": "role",
194
+ * "name": "Data Scientist",
195
+ * "description": "Professional who analyzes and interprets complex data",
196
+ * "skills": [
197
+ * {"id": 321, "name": "Machine Learning"},
198
+ * {"id": 323, "name": "Data Analysis"}
199
+ * ],
200
+ * "recommended_courses": [
201
+ * {"id": 125, "name": "Machine Learning Fundamentals"}
202
+ * ]
203
+ * }
204
+ *
205
+ * - Resources:
206
+ * {
207
+ * "id": 987,
208
+ * "type": "resource",
209
+ * "name": "Python Cheat Sheet",
210
+ * "description": "Quick reference guide for Python",
211
+ * "resource_type": "PDF",
212
+ * "url": "https://example.com/resources/python-cheatsheet.pdf",
213
+ * "topics": ["Programming", "Python"]
214
+ * }
215
+ *
216
+ * Error Responses:
217
+ * 500 Internal Server Error: If an unexpected error occurs during processing
218
+ *
219
+ * Notes:
220
+ * - Results are cached for performance
221
+ * - The 'resources' content type is only included by default if IBL_ENABLE_RESOURCES_IN_FACET is true
222
+ * - For debugging, add ?debug=true to see detailed information about skill matching
223
+ * @returns any No response body
224
+ * @throws ApiError
225
+ */
226
+ public static searchCatalogRetrieve(): CancelablePromise<any> {
227
+ return __request(OpenAPI, {
228
+ method: 'GET',
229
+ url: '/api/search/catalog/',
230
+ });
231
+ }
232
+ /**
233
+ * Search and filter AI mentors across the platform.
234
+ *
235
+ * This endpoint provides a powerful search interface for discovering AI mentors
236
+ * with support for filtering, pagination, and detailed mentor information.
237
+ *
238
+ * Query Parameters:
239
+ * # Identification parameters (for detail view)
240
+ * id (int, optional): Retrieve a specific mentor by ID
241
+ * unique_id (uuid, optional): Retrieve a specific mentor by UUID
242
+ *
243
+ * # Search and filtering parameters
244
+ * query (str, optional): Search term to filter mentors by name or description
245
+ * tenant (str, optional): Filter by tenant/organization
246
+ * llm (list, optional): Filter by language model type
247
+ * audience (list, optional): Filter by target audience
248
+ * category (list, optional): Filter by mentor category
249
+ * tags (list, optional): Filter by tags
250
+ * created_by (str, optional): Filter mentors created by specific user
251
+ *
252
+ * # Sorting and pagination
253
+ * order_by (str, optional): Field to sort results by ('created_at', 'recently_accessed_at')
254
+ * order_direction (str, optional): Sort direction ('asc' or 'desc', default: 'desc')
255
+ * limit (int, optional): Number of results per page (default: 12, max: 100)
256
+ * offset (int, optional): Starting position for pagination
257
+ *
258
+ * Returns:
259
+ * For detail view (when id or unique_id is provided):
260
+ * A JSON response containing a single mentor's details:
261
+ * {
262
+ * "id": 123,
263
+ * "unique_id": "550e8400-e29b-41d4-a716-446655440000",
264
+ * "name": "Professor Smith",
265
+ * "description": "AI mentor specializing in computer science",
266
+ * "image_url": "https://example.com/images/prof-smith.jpg",
267
+ * "llm": {
268
+ * "id": 1,
269
+ * "name": "GPT-4",
270
+ * "description": "Advanced language model"
271
+ * },
272
+ * "audience": {
273
+ * "id": 2,
274
+ * "name": "College Students",
275
+ * "description": "For university-level learners"
276
+ * },
277
+ * "category": "Computer Science",
278
+ * "tags": ["programming", "algorithms", "data structures"],
279
+ * "created_at": "2023-01-15T12:00:00Z",
280
+ * "recently_accessed_at": "2023-06-20T15:30:00Z",
281
+ * "platform": {
282
+ * "id": 1,
283
+ * "name": "Example University",
284
+ * "key": "example-university"
285
+ * },
286
+ * "visibility": "public",
287
+ * "settings": {
288
+ * "temperature": 0.7,
289
+ * "max_tokens": 1024,
290
+ * "system_prompt": "You are Professor Smith, an expert in computer science..."
291
+ * }
292
+ * }
293
+ *
294
+ * For list view:
295
+ * A JSON response containing:
296
+ * {
297
+ * "results": [
298
+ * {
299
+ * "id": 123,
300
+ * "unique_id": "550e8400-e29b-41d4-a716-446655440000",
301
+ * "name": "Professor Smith",
302
+ * "description": "AI mentor specializing in computer science",
303
+ * "image_url": "https://example.com/images/prof-smith.jpg",
304
+ * "llm": {"id": 1, "name": "GPT-4"},
305
+ * "audience": {"id": 2, "name": "College Students"},
306
+ * "category": "Computer Science",
307
+ * "tags": ["programming", "algorithms"],
308
+ * "created_at": "2023-01-15T12:00:00Z",
309
+ * "recently_accessed_at": "2023-06-20T15:30:00Z"
310
+ * },
311
+ * // Additional mentor objects...
312
+ * ],
313
+ * "count": 50,
314
+ * "next": "https://api.example.com/api/search/mentors/?limit=12&offset=12",
315
+ * "previous": null,
316
+ * "current_page": 1,
317
+ * "num_pages": 5,
318
+ * "facets": {
319
+ * "llm": [
320
+ * {"key": "GPT-4", "doc_count": 30},
321
+ * {"key": "Claude", "doc_count": 20}
322
+ * ],
323
+ * "audience": [
324
+ * {"key": "College Students", "doc_count": 35},
325
+ * {"key": "Professionals", "doc_count": 15}
326
+ * ],
327
+ * "category": [
328
+ * {"key": "Computer Science", "doc_count": 25},
329
+ * {"key": "Mathematics", "doc_count": 15},
330
+ * {"key": "Business", "doc_count": 10}
331
+ * ]
332
+ * }
333
+ * }
334
+ *
335
+ * Error Responses:
336
+ * 400 Bad Request: If the request parameters are invalid
337
+ * 404 Not Found: If the requested mentor doesn't exist
338
+ * 500 Internal Server Error: If an unexpected error occurs
339
+ *
340
+ * Notes:
341
+ * - Results are cached for performance
342
+ * - Public mentors are visible to all users
343
+ * - Private mentors are only visible to authorized users
344
+ * @returns any No response body
345
+ * @throws ApiError
346
+ */
347
+ public static searchMentorsRetrieve(): CancelablePromise<any> {
348
+ return __request(OpenAPI, {
349
+ method: 'GET',
350
+ url: '/api/search/mentors/',
351
+ });
352
+ }
353
+ /**
354
+ * Search and filter documents associated with a specific mentor.
355
+ *
356
+ * This endpoint allows searching and filtering documents that are linked to a
357
+ * particular mentor, with support for pagination, sorting, and faceted filtering.
358
+ *
359
+ * Path Parameters:
360
+ * mentor_unique_id (uuid): The unique identifier of the mentor
361
+ *
362
+ * Query Parameters:
363
+ * query (str, optional): Search term to filter documents by name or content
364
+ * document_type (str, optional): Filter by document type (e.g., 'pdf', 'text')
365
+ * access (str, optional): Filter by access level (e.g., 'public', 'private')
366
+ * training_status (str, optional): Filter by training status (e.g., 'trained', 'pending')
367
+ * platform_key (str, optional): Filter by platform key
368
+ * order_by (str, optional): Field to sort results by ('date_created', 'last_modified', 'document_name')
369
+ * order_direction (str, optional): Sort direction ('asc' or 'desc', default: 'desc')
370
+ * limit (int, optional): Number of results per page (default: 12, max: 100)
371
+ * offset (int, optional): Starting position for pagination
372
+ *
373
+ * Returns:
374
+ * A JSON response containing:
375
+ * {
376
+ * "results": [
377
+ * {
378
+ * "id": 789,
379
+ * "document_name": "Introduction to Algorithms.pdf",
380
+ * "document_type": "pdf",
381
+ * "access": "public",
382
+ * "training_status": "trained",
383
+ * "date_created": "2023-03-15T10:30:00Z",
384
+ * "last_modified": "2023-04-20T14:45:00Z",
385
+ * "url": "https://example.com/documents/intro-algorithms.pdf",
386
+ * "metadata": {
387
+ * "page_count": 45,
388
+ * "author": "John Smith",
389
+ * "keywords": ["algorithms", "computer science", "data structures"],
390
+ * "description": "Comprehensive introduction to fundamental algorithms"
391
+ * }
392
+ * },
393
+ * // Additional document objects...
394
+ * ],
395
+ * "count": 25,
396
+ * "next": "https://api.example.com/api/search/mentors/550e8400-e29b-41d4-a716-446655440000/documents/?limit=12&offset=12",
397
+ * "previous": null,
398
+ * "current_page": 1,
399
+ * "total_pages": 3,
400
+ * "facets": {
401
+ * "document_type": [
402
+ * {"key": "pdf", "doc_count": 15},
403
+ * {"key": "text", "doc_count": 5},
404
+ * {"key": "docx", "doc_count": 5}
405
+ * ],
406
+ * "access": [
407
+ * {"key": "public", "doc_count": 20},
408
+ * {"key": "private", "doc_count": 5}
409
+ * ],
410
+ * "training_status": [
411
+ * {"key": "trained", "doc_count": 18},
412
+ * {"key": "pending", "doc_count": 5},
413
+ * {"key": "failed", "doc_count": 2}
414
+ * ]
415
+ * }
416
+ * }
417
+ *
418
+ * Error Responses:
419
+ * 400 Bad Request: If the request parameters are invalid
420
+ * 404 Not Found: If the mentor doesn't exist
421
+ * 500 Internal Server Error: If an unexpected error occurs during processing
422
+ *
423
+ * Access Control:
424
+ * - Requires platform membership
425
+ * - Only documents associated with the specified mentor are returned
426
+ * - Access level filtering respects user permissions
427
+ * @param mentorUniqueId
428
+ * @returns any No response body
429
+ * @throws ApiError
430
+ */
431
+ public static searchMentorsDocumentsRetrieve(
432
+ mentorUniqueId: string,
433
+ ): CancelablePromise<any> {
434
+ return __request(OpenAPI, {
435
+ method: 'GET',
436
+ url: '/api/search/mentors/{mentor_unique_id}/documents/',
437
+ path: {
438
+ 'mentor_unique_id': mentorUniqueId,
439
+ },
440
+ });
441
+ }
442
+ /**
443
+ * Search and filter AI mentors for a specific user within a tenant.
444
+ *
445
+ * This endpoint extends the base mentor search functionality but filters results
446
+ * to only show mentors that are available to a specific user within a specific
447
+ * organization/tenant.
448
+ *
449
+ * Path Parameters:
450
+ * org (str): The organization/tenant identifier
451
+ * username (str): The username to filter mentors for
452
+ *
453
+ * Query Parameters:
454
+ * Same as MentorSearchView, plus:
455
+ *
456
+ * # Identification parameters (for detail view)
457
+ * id (int, optional): Retrieve a specific mentor by ID
458
+ * unique_id (uuid, optional): Retrieve a specific mentor by UUID
459
+ * created_by (str, optional): Filter mentors created by specific user
460
+ *
461
+ * Returns:
462
+ * Same format as MentorSearchView, but filtered to only include mentors
463
+ * that the specified user has access to within the specified organization.
464
+ *
465
+ * Error Responses:
466
+ * 400 Bad Request: If the request parameters are invalid
467
+ * 404 Not Found: If the requested mentor doesn't exist or user doesn't have access
468
+ * 500 Internal Server Error: If an unexpected error occurs
469
+ *
470
+ * Access Control:
471
+ * - Requires platform membership (though currently not enforced)
472
+ * - Results are filtered based on user's permissions within the organization
473
+ * @param org
474
+ * @param username
475
+ * @returns any No response body
476
+ * @throws ApiError
477
+ */
478
+ public static searchOrgsUsersMentorsRetrieve(
479
+ org: string,
480
+ username: string,
481
+ ): CancelablePromise<any> {
482
+ return __request(OpenAPI, {
483
+ method: 'GET',
484
+ url: '/api/search/orgs/{org}/users/{username}/mentors/',
485
+ path: {
486
+ 'org': org,
487
+ 'username': username,
488
+ },
489
+ });
490
+ }
491
+ /**
492
+ * Search and filter AI prompts for a specific user within a tenant.
493
+ *
494
+ * This endpoint extends the base prompt search functionality but filters results
495
+ * to only show prompts that are available to a specific user within a specific
496
+ * organization/tenant.
497
+ *
498
+ * Path Parameters:
499
+ * org (str): The organization/tenant identifier
500
+ * username (str): The username to filter prompts for
501
+ *
502
+ * Query Parameters:
503
+ * Same as PromptSearchView, plus:
504
+ *
505
+ * # Identification parameters (for detail view)
506
+ * id (int, optional): Retrieve a specific prompt by ID
507
+ *
508
+ * Returns:
509
+ * Same format as PromptSearchView, but filtered to only include prompts
510
+ * that the specified user has access to within the specified organization.
511
+ *
512
+ * Error Responses:
513
+ * 400 Bad Request: If the request parameters are invalid
514
+ * 403 Forbidden: If the requested prompt exists but the user doesn't have access
515
+ * 404 Not Found: If the requested prompt doesn't exist
516
+ * 500 Internal Server Error: If an unexpected error occurs
517
+ *
518
+ * Access Control:
519
+ * - Results are filtered based on user's permissions within the organization
520
+ * - Private prompts are only visible to authorized users
521
+ * @param org
522
+ * @param username
523
+ * @returns any No response body
524
+ * @throws ApiError
525
+ */
526
+ public static searchOrgsUsersPromptsRetrieve(
527
+ org: string,
528
+ username: string,
529
+ ): CancelablePromise<any> {
530
+ return __request(OpenAPI, {
531
+ method: 'GET',
532
+ url: '/api/search/orgs/{org}/users/{username}/prompts/',
533
+ path: {
534
+ 'org': org,
535
+ 'username': username,
536
+ },
537
+ });
538
+ }
539
+ /**
540
+ * Determine whether to serve a detail view or a list view.
541
+ * @param org
542
+ * @param username
543
+ * @returns any No response body
544
+ * @throws ApiError
545
+ */
546
+ public static searchOrgsUsersRecommendedRetrieve(
547
+ org: string,
548
+ username: string,
549
+ ): CancelablePromise<any> {
550
+ return __request(OpenAPI, {
551
+ method: 'GET',
552
+ url: '/api/search/orgs/{org}/users/{username}/recommended/',
553
+ path: {
554
+ 'org': org,
555
+ 'username': username,
556
+ },
557
+ });
558
+ }
559
+ /**
560
+ * Determine whether to serve a detail view or a list view.
561
+ * If any detail-identifying parameters are present (course_id, program_id, etc.)
562
+ * the detail view is returned; otherwise the aggregated list view is returned.
563
+ * @param username
564
+ * @returns any No response body
565
+ * @throws ApiError
566
+ */
567
+ public static searchPersonalizedCatalogRetrieve(
568
+ username: string,
569
+ ): CancelablePromise<any> {
570
+ return __request(OpenAPI, {
571
+ method: 'GET',
572
+ url: '/api/search/personalized-catalog/{username}/',
573
+ path: {
574
+ 'username': username,
575
+ },
576
+ });
577
+ }
578
+ /**
579
+ * Search and filter AI prompts across the platform.
580
+ *
581
+ * This endpoint provides a search interface for discovering AI prompts
582
+ * with support for filtering, pagination, and detailed prompt information.
583
+ *
584
+ * Query Parameters:
585
+ * # Identification parameters (for detail view)
586
+ * id (int, optional): Retrieve a specific prompt by ID
587
+ *
588
+ * # Search and filtering parameters
589
+ * query (str, optional): Search term to filter prompts by name or content
590
+ * category (str, optional): Filter by prompt category
591
+ * language (str, optional): Filter by prompt language
592
+ * style (str, optional): Filter by writing style
593
+ * tone (str, optional): Filter by tone
594
+ * tenant (str, optional): Filter by tenant/organization
595
+ * mentor (str, optional): Filter by associated mentor (UUID)
596
+ *
597
+ * # Sorting and pagination
598
+ * sort_by (str, optional): Field to sort results by
599
+ * order_direction (str, optional): Sort direction ('asc' or 'desc', default: 'desc')
600
+ * alphabetical (bool, optional): Sort alphabetically by name (default: false)
601
+ * limit (int, optional): Number of results per page (default: 10)
602
+ * offset (int, optional): Starting position for pagination
603
+ *
604
+ * # Special parameters
605
+ * filter_facet (any, optional): If present, return only facets without results
606
+ *
607
+ * Returns:
608
+ * For detail view (when id is provided):
609
+ * A JSON response containing a single prompt's details:
610
+ * {
611
+ * "id": 456,
612
+ * "name": "Essay Writing Guide",
613
+ * "content": "Write a well-structured essay on the following topic: {{topic}}...",
614
+ * "category": "Academic Writing",
615
+ * "language": "English",
616
+ * "style": "Formal",
617
+ * "tone": "Professional",
618
+ * "mentor": {
619
+ * "id": 123,
620
+ * "unique_id": "550e8400-e29b-41d4-a716-446655440000",
621
+ * "name": "Professor Smith"
622
+ * },
623
+ * "platform": {
624
+ * "id": 1,
625
+ * "name": "Example University",
626
+ * "key": "example-university"
627
+ * },
628
+ * "created_at": "2023-02-10T09:15:00Z",
629
+ * "updated_at": "2023-05-05T14:20:00Z",
630
+ * "visibility": "public",
631
+ * "variables": ["topic", "length", "style"]
632
+ * }
633
+ *
634
+ * For list view:
635
+ * A JSON response containing:
636
+ * {
637
+ * "results": [
638
+ * {
639
+ * "id": 456,
640
+ * "name": "Essay Writing Guide",
641
+ * "content": "Write a well-structured essay on the following topic: {{topic}}...",
642
+ * "category": "Academic Writing",
643
+ * "language": "English",
644
+ * "style": "Formal",
645
+ * "tone": "Professional",
646
+ * "mentor": {"id": 123, "name": "Professor Smith"},
647
+ * "created_at": "2023-02-10T09:15:00Z",
648
+ * "updated_at": "2023-05-05T14:20:00Z"
649
+ * },
650
+ * // Additional prompt objects...
651
+ * ],
652
+ * "count": 30,
653
+ * "next": "?limit=10&offset=10",
654
+ * "previous": null,
655
+ * "current_page": 1,
656
+ * "num_pages": 3,
657
+ * "facets": {
658
+ * "category": [
659
+ * {"key": "Academic Writing", "doc_count": 15},
660
+ * {"key": "Creative Writing", "doc_count": 10},
661
+ * {"key": "Technical Documentation", "doc_count": 5}
662
+ * ],
663
+ * "language": [
664
+ * {"key": "English", "doc_count": 25},
665
+ * {"key": "Spanish", "doc_count": 5}
666
+ * ],
667
+ * "style": [
668
+ * {"key": "Formal", "doc_count": 20},
669
+ * {"key": "Casual", "doc_count": 10}
670
+ * ],
671
+ * "tone": [
672
+ * {"key": "Professional", "doc_count": 15},
673
+ * {"key": "Friendly", "doc_count": 10},
674
+ * {"key": "Technical", "doc_count": 5}
675
+ * ]
676
+ * }
677
+ * }
678
+ *
679
+ * Error Responses:
680
+ * 400 Bad Request: If the request parameters are invalid
681
+ * 403 Forbidden: If the requested prompt exists but is not publicly available
682
+ * 404 Not Found: If the requested prompt doesn't exist
683
+ * 500 Internal Server Error: If an unexpected error occurs
684
+ *
685
+ * Notes:
686
+ * - Only publicly available prompts are returned by default
687
+ * - When filtering by mentor, the mentor ID must be a valid UUID
688
+ * @returns any No response body
689
+ * @throws ApiError
690
+ */
691
+ public static searchPromptsRetrieve(): CancelablePromise<any> {
692
+ return __request(OpenAPI, {
693
+ method: 'GET',
694
+ url: '/api/search/prompts/',
695
+ });
696
+ }
697
+ /**
698
+ * Search and filter users within a specific organization/tenant.
699
+ *
700
+ * This endpoint provides a search interface for discovering users within an organization,
701
+ * with support for filtering by departments, pagination, and faceted filtering.
702
+ *
703
+ * Path Parameters:
704
+ * org (str): The organization/tenant identifier
705
+ * username (str): The username of the user making the request
706
+ *
707
+ * Query Parameters:
708
+ * # Search parameters
709
+ * query (str, optional): Search term to filter users by name, username, or email
710
+ *
711
+ * # Department filtering
712
+ * department_mode (bool, optional): Enable department-based filtering (default: false)
713
+ * user_department (bool, optional): Legacy parameter for department_mode (default: false)
714
+ * department (list, optional): Filter by specific departments
715
+ *
716
+ * # Additional filters
717
+ * role (list, optional): Filter by user role
718
+ * status (list, optional): Filter by user status (active, inactive)
719
+ * joined_date (list, optional): Filter by join date range
720
+ * last_login (list, optional): Filter by last login date range
721
+ *
722
+ * # Pagination
723
+ * limit (int, optional): Number of results per page (default: 10)
724
+ * offset (int, optional): Starting position for pagination
725
+ *
726
+ * Returns:
727
+ * A JSON response containing:
728
+ * ```
729
+ * {
730
+ * "results": [
731
+ * {
732
+ * "id": 123,
733
+ * "username": "john.doe",
734
+ * "email": "john.doe@example.com",
735
+ * "first_name": "John",
736
+ * "last_name": "Doe",
737
+ * "full_name": "John Doe",
738
+ * "profile_image": "https://example.com/profiles/john-doe.jpg",
739
+ * "role": "Student",
740
+ * "departments": ["Computer Science", "Data Science"],
741
+ * "status": "active",
742
+ * "joined_date": "2023-01-15T12:00:00Z",
743
+ * "last_login": "2023-06-20T15:30:00Z",
744
+ * "metadata": {
745
+ * "location": "New York",
746
+ * "title": "Software Engineer",
747
+ * "bio": "Experienced software engineer with a passion for education"
748
+ * }
749
+ * },
750
+ * // Additional user objects...
751
+ * ],
752
+ * "count": 50,
753
+ * "next": "https://api.example.com/api/search/users/example-org/admin/?limit=10&offset=10",
754
+ * "previous": null,
755
+ * "current_page": 1,
756
+ * "total_pages": 5,
757
+ * "facets": {
758
+ * "role": [
759
+ * {"key": "Student", "doc_count": 30},
760
+ * {"key": "Instructor", "doc_count": 15},
761
+ * {"key": "Admin", "doc_count": 5}
762
+ * ],
763
+ * "department": [
764
+ * {"key": "Computer Science", "doc_count": 20},
765
+ * {"key": "Data Science", "doc_count": 15},
766
+ * {"key": "Business", "doc_count": 10},
767
+ * {"key": "Engineering", "doc_count": 5}
768
+ * ],
769
+ * "status": [
770
+ * {"key": "active", "doc_count": 45},
771
+ * {"key": "inactive", "doc_count": 5}
772
+ * ]
773
+ * }
774
+ * }
775
+ * ```
776
+ * Error Responses:
777
+ * 400 Bad Request: If the request parameters are invalid
778
+ * 403 Forbidden: If the user doesn't have department admin privileges (when using department_mode)
779
+ * 404 Not Found: If the user or organization doesn't exist
780
+ * 500 Internal Server Error: If an unexpected error occurs
781
+ *
782
+ * Access Control:
783
+ * - The requesting user must have an active account in the specified organization
784
+ * - When department_mode is enabled, the user must be an admin of at least one department
785
+ * - Department filtering restricts results to users in departments where the requesting user is an admin
786
+ * @param org
787
+ * @param username
788
+ * @returns any No response body
789
+ * @throws ApiError
790
+ */
791
+ public static searchUsersOrgsUsersRetrieve(
792
+ org: string,
793
+ username: string,
794
+ ): CancelablePromise<any> {
795
+ return __request(OpenAPI, {
796
+ method: 'GET',
797
+ url: '/api/search/users/orgs/{org}/users/{username}/',
798
+ path: {
799
+ 'org': org,
800
+ 'username': username,
801
+ },
802
+ });
803
+ }
804
+ }