@iblai/iblai-api 2025.11.13-teams-bot-renovation-3-ai → 2025.11.13-teams-bot-renovation-4-core

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (871) hide show
  1. package/dist/index.cjs.js +3131 -25195
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +3132 -25187
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.umd.js +3131 -25195
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/types/index.d.ts +1 -425
  8. package/dist/types/models/{StripeCheckoutSessionRequestModeEnum.d.ts → ModeEnum.d.ts} +1 -1
  9. package/dist/types/models/Pagination.d.ts +11 -16
  10. package/dist/types/models/StripeCheckoutSessionRequest.d.ts +2 -2
  11. package/dist/types/services/AiAnalyticsService.d.ts +26 -4698
  12. package/dist/types/services/AnalyticsService.d.ts +4 -709
  13. package/dist/types/services/SearchService.d.ts +0 -738
  14. package/package.json +1 -1
  15. package/sdk_schema.yml +23867 -71785
  16. package/src/core/OpenAPI.ts +1 -1
  17. package/src/index.ts +1 -425
  18. package/src/models/{StripeCheckoutSessionRequestModeEnum.ts → ModeEnum.ts} +1 -1
  19. package/src/models/Pagination.ts +11 -16
  20. package/src/models/StripeCheckoutSessionRequest.ts +2 -2
  21. package/src/services/AiAnalyticsService.ts +5255 -12921
  22. package/src/services/AnalyticsService.ts +177 -1234
  23. package/src/services/SearchService.ts +398 -1459
  24. package/dist/types/models/AIGeneratedImage.d.ts +0 -13
  25. package/dist/types/models/AIUserProfileMemoryRelation.d.ts +0 -4
  26. package/dist/types/models/AIUserProfileRequest.d.ts +0 -4
  27. package/dist/types/models/AccessEnum.d.ts +0 -8
  28. package/dist/types/models/AccessTimesHeatmap.d.ts +0 -5
  29. package/dist/types/models/AccessibleMentorsByEmailRequest.d.ts +0 -13
  30. package/dist/types/models/AccessibleMentorsByEmailResponse.d.ts +0 -13
  31. package/dist/types/models/ActionBreakdown.d.ts +0 -10
  32. package/dist/types/models/AddMentorToDisclaimer.d.ts +0 -12
  33. package/dist/types/models/AlignMentorBubbleEnum.d.ts +0 -8
  34. package/dist/types/models/AnalyticsOverview.d.ts +0 -7
  35. package/dist/types/models/Answer.d.ts +0 -11
  36. package/dist/types/models/Artifact.d.ts +0 -56
  37. package/dist/types/models/ArtifactList.d.ts +0 -45
  38. package/dist/types/models/AssumedKnowledge.d.ts +0 -4
  39. package/dist/types/models/AssumedKnowledgeLevel.d.ts +0 -4
  40. package/dist/types/models/AudioToTextRequest.d.ts +0 -3
  41. package/dist/types/models/AudioToTextResponse.d.ts +0 -3
  42. package/dist/types/models/AuthTypeEnum.d.ts +0 -10
  43. package/dist/types/models/AutoMemoryPrompt.d.ts +0 -4
  44. package/dist/types/models/BaseFinanceResponse.d.ts +0 -37
  45. package/dist/types/models/BillingPeriod.d.ts +0 -8
  46. package/dist/types/models/Bot.d.ts +0 -15
  47. package/dist/types/models/BotCommand.d.ts +0 -6
  48. package/dist/types/models/BotCreate.d.ts +0 -12
  49. package/dist/types/models/Breakdown.d.ts +0 -11
  50. package/dist/types/models/CallAuthenticationRequest.d.ts +0 -17
  51. package/dist/types/models/CallAuthenticationResponse.d.ts +0 -21
  52. package/dist/types/models/CallConfiguration.d.ts +0 -26
  53. package/dist/types/models/CallConfigurationModeEnum.d.ts +0 -8
  54. package/dist/types/models/ChatHistory.d.ts +0 -9
  55. package/dist/types/models/ChatHistoryFilterData.d.ts +0 -9
  56. package/dist/types/models/ChatHistoryFilterUser.d.ts +0 -5
  57. package/dist/types/models/ChatHistoryItem.d.ts +0 -5
  58. package/dist/types/models/ChatHistorySessionId.d.ts +0 -3
  59. package/dist/types/models/ChatSessionRequest.d.ts +0 -15
  60. package/dist/types/models/ChatSessionResponse.d.ts +0 -6
  61. package/dist/types/models/CheckDocumentTrainingStatus.d.ts +0 -10
  62. package/dist/types/models/ComparisonInfo.d.ts +0 -29
  63. package/dist/types/models/ComponentBlock.d.ts +0 -9
  64. package/dist/types/models/ComponentBlockTypeEnum.d.ts +0 -8
  65. package/dist/types/models/ConnectedService.d.ts +0 -24
  66. package/dist/types/models/ConversationChartPoint.d.ts +0 -4
  67. package/dist/types/models/ConversationDetailResponse.d.ts +0 -4
  68. package/dist/types/models/ConversationListItem.d.ts +0 -24
  69. package/dist/types/models/ConversationListResponse.d.ts +0 -6
  70. package/dist/types/models/ConversationMessage.d.ts +0 -11
  71. package/dist/types/models/ConversationRating.d.ts +0 -6
  72. package/dist/types/models/ConversationSummary.d.ts +0 -5
  73. package/dist/types/models/ConversationVolume.d.ts +0 -4
  74. package/dist/types/models/Conversations.d.ts +0 -33
  75. package/dist/types/models/ConversationsChart.d.ts +0 -5
  76. package/dist/types/models/Cost.d.ts +0 -3
  77. package/dist/types/models/CostPerTenant.d.ts +0 -6
  78. package/dist/types/models/CourseCreationTask.d.ts +0 -31
  79. package/dist/types/models/CourseCreationTaskFile.d.ts +0 -7
  80. package/dist/types/models/CourseCreationTaskStatusEnum.d.ts +0 -16
  81. package/dist/types/models/CourseRecommendation.d.ts +0 -45
  82. package/dist/types/models/CrawlerPatternTypeEnum.d.ts +0 -8
  83. package/dist/types/models/CredentialRequest.d.ts +0 -14
  84. package/dist/types/models/CrontabSchedule.d.ts +0 -22
  85. package/dist/types/models/CurrentUsersResponse.d.ts +0 -8
  86. package/dist/types/models/CustomInstructionResponse.d.ts +0 -13
  87. package/dist/types/models/DataSet.d.ts +0 -21
  88. package/dist/types/models/DataSetCreate.d.ts +0 -12
  89. package/dist/types/models/DataSetStatusEnum.d.ts +0 -12
  90. package/dist/types/models/DateRange.d.ts +0 -4
  91. package/dist/types/models/Disclaimer.d.ts +0 -17
  92. package/dist/types/models/DisclaimerAgreement.d.ts +0 -11
  93. package/dist/types/models/DisclaimerScopeEnum.d.ts +0 -8
  94. package/dist/types/models/DiscordConfig.d.ts +0 -7
  95. package/dist/types/models/DiscordUserConfig.d.ts +0 -10
  96. package/dist/types/models/DiscordWebhook.d.ts +0 -6
  97. package/dist/types/models/Document.d.ts +0 -41
  98. package/dist/types/models/DocumentFacet.d.ts +0 -17
  99. package/dist/types/models/DocumentFromPoolRequest.d.ts +0 -10
  100. package/dist/types/models/DocumentSearchResponse.d.ts +0 -35
  101. package/dist/types/models/DocumentSettingsResponse.d.ts +0 -3
  102. package/dist/types/models/EdxCourse.d.ts +0 -11
  103. package/dist/types/models/ElevenlabsCustomVoice.d.ts +0 -4
  104. package/dist/types/models/ElevenlabsCustomVoiceResponse.d.ts +0 -8
  105. package/dist/types/models/EmailPromptDetail.d.ts +0 -13
  106. package/dist/types/models/EmailPromptList.d.ts +0 -11
  107. package/dist/types/models/EmailPromptSummary.d.ts +0 -5
  108. package/dist/types/models/Entity.d.ts +0 -11
  109. package/dist/types/models/EntityTypeEnum.d.ts +0 -10
  110. package/dist/types/models/ExternalServiceInfo.d.ts +0 -6
  111. package/dist/types/models/FileUploadURLRequest.d.ts +0 -21
  112. package/dist/types/models/FileUploadURLResponse.d.ts +0 -25
  113. package/dist/types/models/FinanceDetailsResponse.d.ts +0 -13
  114. package/dist/types/models/FinanceFilters.d.ts +0 -15
  115. package/dist/types/models/FreeUsageCount.d.ts +0 -3
  116. package/dist/types/models/FullCourse.d.ts +0 -13
  117. package/dist/types/models/GreetingMethodEnum.d.ts +0 -8
  118. package/dist/types/models/GuidedPrompt.d.ts +0 -4
  119. package/dist/types/models/GuidedPromptsResponse.d.ts +0 -5
  120. package/dist/types/models/HeygenMarketingVideoDetail.d.ts +0 -8
  121. package/dist/types/models/HeygenMarketingVideoList.d.ts +0 -6
  122. package/dist/types/models/HeygenTemplateRequest.d.ts +0 -5
  123. package/dist/types/models/HeygenTemplateResponseSingle.d.ts +0 -6
  124. package/dist/types/models/HeygenVideoDetail.d.ts +0 -8
  125. package/dist/types/models/HeygenVideoRequest.d.ts +0 -5
  126. package/dist/types/models/HumanSupportTicket.d.ts +0 -23
  127. package/dist/types/models/HumanSupportTicketStatusEnum.d.ts +0 -10
  128. package/dist/types/models/InputQuestion.d.ts +0 -6
  129. package/dist/types/models/IntegrationCredential.d.ts +0 -10
  130. package/dist/types/models/IntegrationCredentialSchema.d.ts +0 -6
  131. package/dist/types/models/IntialQuestionAnswer.d.ts +0 -3
  132. package/dist/types/models/InvoiceReportResponse.d.ts +0 -13
  133. package/dist/types/models/JobRun.d.ts +0 -11
  134. package/dist/types/models/KindEnum.d.ts +0 -10
  135. package/dist/types/models/LLMCredentialRequest.d.ts +0 -14
  136. package/dist/types/models/LLMCredentialResponse.d.ts +0 -10
  137. package/dist/types/models/LLMCredentialSchema.d.ts +0 -6
  138. package/dist/types/models/LLMModelForTenant.d.ts +0 -6
  139. package/dist/types/models/LLMQuestion.d.ts +0 -15
  140. package/dist/types/models/LLMResponse.d.ts +0 -18
  141. package/dist/types/models/LLMTracesListResponse.d.ts +0 -5
  142. package/dist/types/models/LanguagesView.d.ts +0 -5
  143. package/dist/types/models/LinkCourseRequest.d.ts +0 -3
  144. package/dist/types/models/LinkCourseResponse.d.ts +0 -5
  145. package/dist/types/models/LlmProviderEnum.d.ts +0 -8
  146. package/dist/types/models/MCPServer.d.ts +0 -47
  147. package/dist/types/models/MCPServerConnection.d.ts +0 -47
  148. package/dist/types/models/MCPServerConnectionScopeEnum.d.ts +0 -10
  149. package/dist/types/models/MaskedIntegrationCredential.d.ts +0 -10
  150. package/dist/types/models/MaskedLLMCredential.d.ts +0 -10
  151. package/dist/types/models/MemoryComponentData.d.ts +0 -5
  152. package/dist/types/models/MemoryComponentMemory.d.ts +0 -4
  153. package/dist/types/models/MemoryComponentMemoryDetail.d.ts +0 -8
  154. package/dist/types/models/MemoryComponentResponse.d.ts +0 -5
  155. package/dist/types/models/MemoryProgress.d.ts +0 -8
  156. package/dist/types/models/MemoryStatusRequestView.d.ts +0 -6
  157. package/dist/types/models/MemoryStatusView.d.ts +0 -6
  158. package/dist/types/models/Mentor.d.ts +0 -126
  159. package/dist/types/models/MentorAudience.d.ts +0 -5
  160. package/dist/types/models/MentorBreakdown.d.ts +0 -9
  161. package/dist/types/models/MentorCategory.d.ts +0 -9
  162. package/dist/types/models/MentorCategoryCreate.d.ts +0 -11
  163. package/dist/types/models/MentorCategoryGroup.d.ts +0 -11
  164. package/dist/types/models/MentorCategoryGroupCreate.d.ts +0 -11
  165. package/dist/types/models/MentorCreate.d.ts +0 -116
  166. package/dist/types/models/MentorCustomVoice.d.ts +0 -4
  167. package/dist/types/models/MentorCustomVoiceResponse.d.ts +0 -4
  168. package/dist/types/models/MentorData.d.ts +0 -7
  169. package/dist/types/models/MentorDetailAnalytics.d.ts +0 -6
  170. package/dist/types/models/MentorEval.d.ts +0 -11
  171. package/dist/types/models/MentorEvalQuestion.d.ts +0 -5
  172. package/dist/types/models/MentorEvalQuestionRequest.d.ts +0 -4
  173. package/dist/types/models/MentorEvalReport.d.ts +0 -10
  174. package/dist/types/models/MentorEvalRequest.d.ts +0 -8
  175. package/dist/types/models/MentorFacet.d.ts +0 -17
  176. package/dist/types/models/MentorFork.d.ts +0 -5
  177. package/dist/types/models/MentorFromTemplateWithSettingRequest.d.ts +0 -59
  178. package/dist/types/models/MentorMemorySettingsRequest.d.ts +0 -6
  179. package/dist/types/models/MentorMemorySettingsResponse.d.ts +0 -6
  180. package/dist/types/models/MentorMetadata.d.ts +0 -5
  181. package/dist/types/models/MentorScenario.d.ts +0 -6
  182. package/dist/types/models/MentorScenarioPrompt.d.ts +0 -5
  183. package/dist/types/models/MentorSearchResponse.d.ts +0 -35
  184. package/dist/types/models/MentorSession.d.ts +0 -4
  185. package/dist/types/models/MentorSettings.d.ts +0 -94
  186. package/dist/types/models/MentorSettingsPublic.d.ts +0 -71
  187. package/dist/types/models/MentorSettingsRequest.d.ts +0 -72
  188. package/dist/types/models/MentorSummary.d.ts +0 -5
  189. package/dist/types/models/MentorType.d.ts +0 -5
  190. package/dist/types/models/MentorUserSetting.d.ts +0 -4
  191. package/dist/types/models/MentorVisibilityEnum.d.ts +0 -10
  192. package/dist/types/models/MentorWizard.d.ts +0 -4
  193. package/dist/types/models/MessageStatistics.d.ts +0 -5
  194. package/dist/types/models/MessageView.d.ts +0 -10
  195. package/dist/types/models/MessageViewRequest.d.ts +0 -8
  196. package/dist/types/models/MessageViewUpdatResponse.d.ts +0 -3
  197. package/dist/types/models/Metadata.d.ts +0 -5
  198. package/dist/types/models/MetricChange.d.ts +0 -4
  199. package/dist/types/models/MetricInfo.d.ts +0 -5
  200. package/dist/types/models/ModelCost.d.ts +0 -4
  201. package/dist/types/models/ModerationLog.d.ts +0 -12
  202. package/dist/types/models/NoChatMessagesFound.d.ts +0 -3
  203. package/dist/types/models/OAuthProvider.d.ts +0 -18
  204. package/dist/types/models/OAuthService.d.ts +0 -17
  205. package/dist/types/models/OAuthStartResponse.d.ts +0 -3
  206. package/dist/types/models/Observation.d.ts +0 -31
  207. package/dist/types/models/OvertimeData.d.ts +0 -13
  208. package/dist/types/models/PageContent.d.ts +0 -6
  209. package/dist/types/models/PaginatedAIGeneratedImageList.d.ts +0 -7
  210. package/dist/types/models/PaginatedArtifactListList.d.ts +0 -7
  211. package/dist/types/models/PaginatedConversationsList.d.ts +0 -7
  212. package/dist/types/models/PaginatedCourseCreationTaskFileList.d.ts +0 -7
  213. package/dist/types/models/PaginatedCourseCreationTaskList.d.ts +0 -7
  214. package/dist/types/models/PaginatedDataSetList.d.ts +0 -7
  215. package/dist/types/models/PaginatedDisclaimerAgreementList.d.ts +0 -7
  216. package/dist/types/models/PaginatedDisclaimerList.d.ts +0 -7
  217. package/dist/types/models/PaginatedEdxCourseList.d.ts +0 -7
  218. package/dist/types/models/PaginatedEmailPromptListList.d.ts +0 -7
  219. package/dist/types/models/PaginatedHeygenMarketingVideoListList.d.ts +0 -7
  220. package/dist/types/models/PaginatedHeygenTemplateResponseSingleList.d.ts +0 -7
  221. package/dist/types/models/PaginatedHumanSupportTicketList.d.ts +0 -7
  222. package/dist/types/models/PaginatedJobRunList.d.ts +0 -7
  223. package/dist/types/models/PaginatedMCPServerConnectionList.d.ts +0 -7
  224. package/dist/types/models/PaginatedMCPServerList.d.ts +0 -7
  225. package/dist/types/models/PaginatedMentorList.d.ts +0 -7
  226. package/dist/types/models/PaginatedModerationLogList.d.ts +0 -7
  227. package/dist/types/models/PaginatedObservationList.d.ts +0 -7
  228. package/dist/types/models/PaginatedPeriodicAgentList.d.ts +0 -7
  229. package/dist/types/models/PaginatedPeriodicAgentLogList.d.ts +0 -7
  230. package/dist/types/models/PaginatedPlayWrightScriptList.d.ts +0 -7
  231. package/dist/types/models/PaginatedProjectList.d.ts +0 -7
  232. package/dist/types/models/PaginatedRetrieverDocumentEmbeddingList.d.ts +0 -7
  233. package/dist/types/models/PaginatedSectionList.d.ts +0 -7
  234. package/dist/types/models/PaginatedSubSectionList.d.ts +0 -7
  235. package/dist/types/models/PaginatedTicketMessageList.d.ts +0 -7
  236. package/dist/types/models/PaginatedTopicStatisticsResponse.d.ts +0 -7
  237. package/dist/types/models/PaginatedTraceList.d.ts +0 -7
  238. package/dist/types/models/PaginatedTrainingList.d.ts +0 -7
  239. package/dist/types/models/PaginatedUnitList.d.ts +0 -7
  240. package/dist/types/models/PaginatedUserEdxMemoryList.d.ts +0 -7
  241. package/dist/types/models/PaginatedUserMemoryList.d.ts +0 -7
  242. package/dist/types/models/PaginatedVeoVideoListList.d.ts +0 -7
  243. package/dist/types/models/PaginatedVoiceList.d.ts +0 -7
  244. package/dist/types/models/PatchedArtifact.d.ts +0 -56
  245. package/dist/types/models/PatchedBotCommand.d.ts +0 -6
  246. package/dist/types/models/PatchedBotCreate.d.ts +0 -12
  247. package/dist/types/models/PatchedCallConfiguration.d.ts +0 -26
  248. package/dist/types/models/PatchedConversations.d.ts +0 -33
  249. package/dist/types/models/PatchedCourseCreationTaskFile.d.ts +0 -7
  250. package/dist/types/models/PatchedCredentialRequest.d.ts +0 -14
  251. package/dist/types/models/PatchedDataSet.d.ts +0 -21
  252. package/dist/types/models/PatchedDisclaimer.d.ts +0 -17
  253. package/dist/types/models/PatchedDiscordConfig.d.ts +0 -7
  254. package/dist/types/models/PatchedDiscordUserConfig.d.ts +0 -10
  255. package/dist/types/models/PatchedHumanSupportTicket.d.ts +0 -23
  256. package/dist/types/models/PatchedLLMCredentialRequest.d.ts +0 -14
  257. package/dist/types/models/PatchedMCPServer.d.ts +0 -47
  258. package/dist/types/models/PatchedMCPServerConnection.d.ts +0 -47
  259. package/dist/types/models/PatchedMentorCategoryGroupCreate.d.ts +0 -11
  260. package/dist/types/models/PatchedMentorCreate.d.ts +0 -116
  261. package/dist/types/models/PatchedPeriodicAgentCreate.d.ts +0 -41
  262. package/dist/types/models/PatchedPlayWrightScript.d.ts +0 -12
  263. package/dist/types/models/PatchedProject.d.ts +0 -51
  264. package/dist/types/models/PatchedPrompt.d.ts +0 -22
  265. package/dist/types/models/PatchedSection.d.ts +0 -9
  266. package/dist/types/models/PatchedSlackConfig.d.ts +0 -8
  267. package/dist/types/models/PatchedSlackUserConfig.d.ts +0 -17
  268. package/dist/types/models/PatchedSubSection.d.ts +0 -9
  269. package/dist/types/models/PatchedTeamsConfig.d.ts +0 -7
  270. package/dist/types/models/PatchedTicketMessage.d.ts +0 -10
  271. package/dist/types/models/PatchedTrainingCreate.d.ts +0 -31
  272. package/dist/types/models/PatchedUnit.d.ts +0 -11
  273. package/dist/types/models/PatchedWebexConfig.d.ts +0 -10
  274. package/dist/types/models/PatchedWhatsappConfig.d.ts +0 -11
  275. package/dist/types/models/PatchedWhatsappUserConfig.d.ts +0 -10
  276. package/dist/types/models/PeriodInfo.d.ts +0 -21
  277. package/dist/types/models/PeriodicAgent.d.ts +0 -42
  278. package/dist/types/models/PeriodicAgentCreate.d.ts +0 -41
  279. package/dist/types/models/PeriodicAgentLog.d.ts +0 -11
  280. package/dist/types/models/PeriodicAgentLogStatusEnum.d.ts +0 -10
  281. package/dist/types/models/PeriodicAgentStatistics.d.ts +0 -7
  282. package/dist/types/models/PeriodicTask.d.ts +0 -21
  283. package/dist/types/models/PieChartData.d.ts +0 -5
  284. package/dist/types/models/PieChartSegment.d.ts +0 -4
  285. package/dist/types/models/PinnedMessageCreate.d.ts +0 -9
  286. package/dist/types/models/PinnedMessageGet.d.ts +0 -7
  287. package/dist/types/models/PinnedMessageRequest.d.ts +0 -6
  288. package/dist/types/models/PlatformPrompt.d.ts +0 -34
  289. package/dist/types/models/PlatformPromptResponse.d.ts +0 -16
  290. package/dist/types/models/PlayWrightScript.d.ts +0 -12
  291. package/dist/types/models/PredictiveAnalyticsRequest.d.ts +0 -4
  292. package/dist/types/models/PredictiveAnalyticsResponse.d.ts +0 -4
  293. package/dist/types/models/PreviousAgentStatusEnum.d.ts +0 -12
  294. package/dist/types/models/Project.d.ts +0 -51
  295. package/dist/types/models/ProjectMentor.d.ts +0 -11
  296. package/dist/types/models/Prompt.d.ts +0 -22
  297. package/dist/types/models/PromptCategory.d.ts +0 -7
  298. package/dist/types/models/PromptFacet.d.ts +0 -17
  299. package/dist/types/models/PromptSearchResponse.d.ts +0 -35
  300. package/dist/types/models/PromptVisibilityEnum.d.ts +0 -10
  301. package/dist/types/models/Provider05cEnum.d.ts +0 -14
  302. package/dist/types/models/Provider637Enum.d.ts +0 -10
  303. package/dist/types/models/Provider63aEnum.d.ts +0 -6
  304. package/dist/types/models/ProviderBreakdown.d.ts +0 -8
  305. package/dist/types/models/QuestionCardTag.d.ts +0 -8
  306. package/dist/types/models/QuestionRequest.d.ts +0 -15
  307. package/dist/types/models/QuestionResponse.d.ts +0 -10
  308. package/dist/types/models/RatingAverageRecord.d.ts +0 -10
  309. package/dist/types/models/RatingEnum.d.ts +0 -8
  310. package/dist/types/models/RatingRecord.d.ts +0 -4
  311. package/dist/types/models/RatingsOvertime.d.ts +0 -5
  312. package/dist/types/models/RecentlyAccessedMentor.d.ts +0 -10
  313. package/dist/types/models/RecommendCourseBlock.d.ts +0 -3
  314. package/dist/types/models/RecommendCourseResponse.d.ts +0 -3
  315. package/dist/types/models/RecommendationTypeEnum.d.ts +0 -8
  316. package/dist/types/models/RecommendedCoursesResponse.d.ts +0 -33
  317. package/dist/types/models/RelatedText.d.ts +0 -3
  318. package/dist/types/models/RemoveMentorFromDisclaimer.d.ts +0 -12
  319. package/dist/types/models/RequestDataVariable.d.ts +0 -14
  320. package/dist/types/models/ResourceScrappedData.d.ts +0 -13
  321. package/dist/types/models/ResourceScrappedDataStatusEnum.d.ts +0 -12
  322. package/dist/types/models/ResponseDataVariable.d.ts +0 -14
  323. package/dist/types/models/RetreiverTrainViewRequest.d.ts +0 -10
  324. package/dist/types/models/RetreiverTrainViewResponse.d.ts +0 -6
  325. package/dist/types/models/RetrieveTask.d.ts +0 -3
  326. package/dist/types/models/RetrieverDocumentEmbedding.d.ts +0 -30
  327. package/dist/types/models/RetrieverDocumentEmbeddingRequest.d.ts +0 -66
  328. package/dist/types/models/RetrieverRequestSearch.d.ts +0 -10
  329. package/dist/types/models/RetrieverRequestSearchDocument.d.ts +0 -10
  330. package/dist/types/models/RetrieverResponseSearch.d.ts +0 -7
  331. package/dist/types/models/ReuestDataVariableList.d.ts +0 -4
  332. package/dist/types/models/RunMentorEval.d.ts +0 -3
  333. package/dist/types/models/ScanWebhookRequest.d.ts +0 -6
  334. package/dist/types/models/ScanWebhookResponse.d.ts +0 -3
  335. package/dist/types/models/Section.d.ts +0 -9
  336. package/dist/types/models/SectionWithChildren.d.ts +0 -11
  337. package/dist/types/models/SeedMentorsView.d.ts +0 -3
  338. package/dist/types/models/SentimentSummary.d.ts +0 -4
  339. package/dist/types/models/SessionBrowserScreenshot.d.ts +0 -8
  340. package/dist/types/models/SessionChartPoint.d.ts +0 -4
  341. package/dist/types/models/SessionDetail.d.ts +0 -6
  342. package/dist/types/models/SessionMemoryAttachment.d.ts +0 -3
  343. package/dist/types/models/SessionMemoryStorage.d.ts +0 -6
  344. package/dist/types/models/SessionsChart.d.ts +0 -5
  345. package/dist/types/models/ShareableMentorLink.d.ts +0 -8
  346. package/dist/types/models/ShellLogs.d.ts +0 -3
  347. package/dist/types/models/SlackConfig.d.ts +0 -8
  348. package/dist/types/models/SlackUserConfig.d.ts +0 -17
  349. package/dist/types/models/SlackWebhook.d.ts +0 -6
  350. package/dist/types/models/SpacedRepetitionLearningPath.d.ts +0 -3
  351. package/dist/types/models/SpacedRepetitionQuestionStats.d.ts +0 -5
  352. package/dist/types/models/StarMentor.d.ts +0 -7
  353. package/dist/types/models/Status6eeEnum.d.ts +0 -12
  354. package/dist/types/models/Step.d.ts +0 -9
  355. package/dist/types/models/StepStatusEnum.d.ts +0 -10
  356. package/dist/types/models/SttProviderEnum.d.ts +0 -12
  357. package/dist/types/models/StudentChatMessage.d.ts +0 -4
  358. package/dist/types/models/StylesView.d.ts +0 -4
  359. package/dist/types/models/SubSection.d.ts +0 -9
  360. package/dist/types/models/SubSectionWithChildren.d.ts +0 -11
  361. package/dist/types/models/Subject.d.ts +0 -5
  362. package/dist/types/models/Summary.d.ts +0 -9
  363. package/dist/types/models/TagsView.d.ts +0 -5
  364. package/dist/types/models/TargetSystemEnum.d.ts +0 -8
  365. package/dist/types/models/TaskView.d.ts +0 -3
  366. package/dist/types/models/TeamsConfig.d.ts +0 -7
  367. package/dist/types/models/TeamsWebhook.d.ts +0 -17
  368. package/dist/types/models/TemplateMentor.d.ts +0 -9
  369. package/dist/types/models/TenantMentorTraces.d.ts +0 -6
  370. package/dist/types/models/ThemeEnum.d.ts +0 -8
  371. package/dist/types/models/TicketMessage.d.ts +0 -10
  372. package/dist/types/models/TonesView.d.ts +0 -4
  373. package/dist/types/models/ToolCategory.d.ts +0 -5
  374. package/dist/types/models/ToolResponse.d.ts +0 -15
  375. package/dist/types/models/TopicDetail.d.ts +0 -8
  376. package/dist/types/models/TopicDetails.d.ts +0 -5
  377. package/dist/types/models/TopicModel.d.ts +0 -3
  378. package/dist/types/models/TopicRecord.d.ts +0 -4
  379. package/dist/types/models/TopicStatistics.d.ts +0 -7
  380. package/dist/types/models/TopicStatisticsResponse.d.ts +0 -6
  381. package/dist/types/models/TopicSummaryView.d.ts +0 -4
  382. package/dist/types/models/TopicsOverview.d.ts +0 -22
  383. package/dist/types/models/TopicsOverviewMetric.d.ts +0 -21
  384. package/dist/types/models/Trace.d.ts +0 -17
  385. package/dist/types/models/TrainChatSessionDocumentView.d.ts +0 -6
  386. package/dist/types/models/TrainChatSessionDocumentViewRequest.d.ts +0 -6
  387. package/dist/types/models/TrainDocumentViewRequest.d.ts +0 -82
  388. package/dist/types/models/TrainDocumentViewResponse.d.ts +0 -15
  389. package/dist/types/models/Training.d.ts +0 -41
  390. package/dist/types/models/TrainingCreate.d.ts +0 -31
  391. package/dist/types/models/TrainingStatusEnum.d.ts +0 -12
  392. package/dist/types/models/TransportEnum.d.ts +0 -10
  393. package/dist/types/models/TrendEntry.d.ts +0 -4
  394. package/dist/types/models/TriggerRequest.d.ts +0 -5
  395. package/dist/types/models/TriggerResponse.d.ts +0 -6
  396. package/dist/types/models/TtsProviderEnum.d.ts +0 -10
  397. package/dist/types/models/TypeC42Enum.d.ts +0 -8
  398. package/dist/types/models/Unit.d.ts +0 -11
  399. package/dist/types/models/UnitWithChildren.d.ts +0 -13
  400. package/dist/types/models/UseMainCreds.d.ts +0 -3
  401. package/dist/types/models/UserAllChatMemoryView.d.ts +0 -7
  402. package/dist/types/models/UserCatalogItemMemoryView.d.ts +0 -14
  403. package/dist/types/models/UserChatByPeriod.d.ts +0 -4
  404. package/dist/types/models/UserChatFeedback.d.ts +0 -15
  405. package/dist/types/models/UserChatFeedbackCount.d.ts +0 -4
  406. package/dist/types/models/UserChatMemoryStatusRequestView.d.ts +0 -6
  407. package/dist/types/models/UserChatMemoryStatusView.d.ts +0 -6
  408. package/dist/types/models/UserChatMemoryUpdateView.d.ts +0 -10
  409. package/dist/types/models/UserCountRecord.d.ts +0 -4
  410. package/dist/types/models/UserDetail.d.ts +0 -7
  411. package/dist/types/models/UserEdxMemory.d.ts +0 -15
  412. package/dist/types/models/UserMemory.d.ts +0 -18
  413. package/dist/types/models/UserMemoryContextRequest.d.ts +0 -13
  414. package/dist/types/models/UserMemoryContextResponse.d.ts +0 -12
  415. package/dist/types/models/UserMemoryEntry.d.ts +0 -9
  416. package/dist/types/models/UserMemoryEntryRequest.d.ts +0 -5
  417. package/dist/types/models/UserMemoryRequest.d.ts +0 -12
  418. package/dist/types/models/UserMetric.d.ts +0 -4
  419. package/dist/types/models/UserMetricsResponse.d.ts +0 -7
  420. package/dist/types/models/UserSentimentCountView.d.ts +0 -4
  421. package/dist/types/models/UserTrendByPeriod.d.ts +0 -5
  422. package/dist/types/models/V2GlobalMentorSearchResponse.d.ts +0 -29
  423. package/dist/types/models/V2PersonalizedMentorsResponse.d.ts +0 -29
  424. package/dist/types/models/V2RecommendationResponse.d.ts +0 -65
  425. package/dist/types/models/VectorResult.d.ts +0 -10
  426. package/dist/types/models/VeoVideoDetail.d.ts +0 -10
  427. package/dist/types/models/VeoVideoList.d.ts +0 -6
  428. package/dist/types/models/VeoVideoRequest.d.ts +0 -5
  429. package/dist/types/models/VideoCaption.d.ts +0 -3
  430. package/dist/types/models/Voice.d.ts +0 -9
  431. package/dist/types/models/WebResource.d.ts +0 -9
  432. package/dist/types/models/WebResourceCard.d.ts +0 -7
  433. package/dist/types/models/WebResourcesQuery.d.ts +0 -3
  434. package/dist/types/models/WebexConfig.d.ts +0 -10
  435. package/dist/types/models/WebexWebhook.d.ts +0 -4
  436. package/dist/types/models/WhatAppWebHook.d.ts +0 -3
  437. package/dist/types/models/WhatsappConfig.d.ts +0 -11
  438. package/dist/types/models/WhatsappUserConfig.d.ts +0 -10
  439. package/dist/types/services/AiAccountService.d.ts +0 -538
  440. package/dist/types/services/AiBotService.d.ts +0 -650
  441. package/dist/types/services/AiFinetuningService.d.ts +0 -232
  442. package/dist/types/services/AiIndexService.d.ts +0 -399
  443. package/dist/types/services/AiMarketingService.d.ts +0 -38
  444. package/dist/types/services/AiMediaService.d.ts +0 -247
  445. package/dist/types/services/AiMentorService.d.ts +0 -6729
  446. package/dist/types/services/AiPromptService.d.ts +0 -1035
  447. package/dist/types/services/AiSearchService.d.ts +0 -439
  448. package/src/models/AIGeneratedImage.ts +0 -18
  449. package/src/models/AIUserProfileMemoryRelation.ts +0 -9
  450. package/src/models/AIUserProfileRequest.ts +0 -9
  451. package/src/models/AccessEnum.ts +0 -12
  452. package/src/models/AccessTimesHeatmap.ts +0 -10
  453. package/src/models/AccessibleMentorsByEmailRequest.ts +0 -18
  454. package/src/models/AccessibleMentorsByEmailResponse.ts +0 -18
  455. package/src/models/ActionBreakdown.ts +0 -15
  456. package/src/models/AddMentorToDisclaimer.ts +0 -17
  457. package/src/models/AlignMentorBubbleEnum.ts +0 -12
  458. package/src/models/AnalyticsOverview.ts +0 -12
  459. package/src/models/Answer.ts +0 -16
  460. package/src/models/Artifact.ts +0 -61
  461. package/src/models/ArtifactList.ts +0 -50
  462. package/src/models/AssumedKnowledge.ts +0 -9
  463. package/src/models/AssumedKnowledgeLevel.ts +0 -9
  464. package/src/models/AudioToTextRequest.ts +0 -8
  465. package/src/models/AudioToTextResponse.ts +0 -8
  466. package/src/models/AuthTypeEnum.ts +0 -14
  467. package/src/models/AutoMemoryPrompt.ts +0 -9
  468. package/src/models/BaseFinanceResponse.ts +0 -42
  469. package/src/models/BillingPeriod.ts +0 -13
  470. package/src/models/Bot.ts +0 -20
  471. package/src/models/BotCommand.ts +0 -11
  472. package/src/models/BotCreate.ts +0 -17
  473. package/src/models/Breakdown.ts +0 -16
  474. package/src/models/CallAuthenticationRequest.ts +0 -22
  475. package/src/models/CallAuthenticationResponse.ts +0 -26
  476. package/src/models/CallConfiguration.ts +0 -31
  477. package/src/models/CallConfigurationModeEnum.ts +0 -12
  478. package/src/models/ChatHistory.ts +0 -14
  479. package/src/models/ChatHistoryFilterData.ts +0 -14
  480. package/src/models/ChatHistoryFilterUser.ts +0 -10
  481. package/src/models/ChatHistoryItem.ts +0 -10
  482. package/src/models/ChatHistorySessionId.ts +0 -8
  483. package/src/models/ChatSessionRequest.ts +0 -20
  484. package/src/models/ChatSessionResponse.ts +0 -11
  485. package/src/models/CheckDocumentTrainingStatus.ts +0 -15
  486. package/src/models/ComparisonInfo.ts +0 -34
  487. package/src/models/ComponentBlock.ts +0 -14
  488. package/src/models/ComponentBlockTypeEnum.ts +0 -12
  489. package/src/models/ConnectedService.ts +0 -29
  490. package/src/models/ConversationChartPoint.ts +0 -9
  491. package/src/models/ConversationDetailResponse.ts +0 -9
  492. package/src/models/ConversationListItem.ts +0 -29
  493. package/src/models/ConversationListResponse.ts +0 -11
  494. package/src/models/ConversationMessage.ts +0 -16
  495. package/src/models/ConversationRating.ts +0 -11
  496. package/src/models/ConversationSummary.ts +0 -10
  497. package/src/models/ConversationVolume.ts +0 -9
  498. package/src/models/Conversations.ts +0 -38
  499. package/src/models/ConversationsChart.ts +0 -10
  500. package/src/models/Cost.ts +0 -8
  501. package/src/models/CostPerTenant.ts +0 -11
  502. package/src/models/CourseCreationTask.ts +0 -36
  503. package/src/models/CourseCreationTaskFile.ts +0 -12
  504. package/src/models/CourseCreationTaskStatusEnum.ts +0 -20
  505. package/src/models/CourseRecommendation.ts +0 -50
  506. package/src/models/CrawlerPatternTypeEnum.ts +0 -12
  507. package/src/models/CredentialRequest.ts +0 -19
  508. package/src/models/CrontabSchedule.ts +0 -27
  509. package/src/models/CurrentUsersResponse.ts +0 -13
  510. package/src/models/CustomInstructionResponse.ts +0 -18
  511. package/src/models/DataSet.ts +0 -26
  512. package/src/models/DataSetCreate.ts +0 -17
  513. package/src/models/DataSetStatusEnum.ts +0 -16
  514. package/src/models/DateRange.ts +0 -9
  515. package/src/models/Disclaimer.ts +0 -22
  516. package/src/models/DisclaimerAgreement.ts +0 -16
  517. package/src/models/DisclaimerScopeEnum.ts +0 -12
  518. package/src/models/DiscordConfig.ts +0 -12
  519. package/src/models/DiscordUserConfig.ts +0 -15
  520. package/src/models/DiscordWebhook.ts +0 -11
  521. package/src/models/Document.ts +0 -46
  522. package/src/models/DocumentFacet.ts +0 -22
  523. package/src/models/DocumentFromPoolRequest.ts +0 -15
  524. package/src/models/DocumentSearchResponse.ts +0 -40
  525. package/src/models/DocumentSettingsResponse.ts +0 -8
  526. package/src/models/EdxCourse.ts +0 -16
  527. package/src/models/ElevenlabsCustomVoice.ts +0 -9
  528. package/src/models/ElevenlabsCustomVoiceResponse.ts +0 -13
  529. package/src/models/EmailPromptDetail.ts +0 -18
  530. package/src/models/EmailPromptList.ts +0 -16
  531. package/src/models/EmailPromptSummary.ts +0 -10
  532. package/src/models/Entity.ts +0 -16
  533. package/src/models/EntityTypeEnum.ts +0 -14
  534. package/src/models/ExternalServiceInfo.ts +0 -11
  535. package/src/models/FileUploadURLRequest.ts +0 -26
  536. package/src/models/FileUploadURLResponse.ts +0 -30
  537. package/src/models/FinanceDetailsResponse.ts +0 -18
  538. package/src/models/FinanceFilters.ts +0 -20
  539. package/src/models/FreeUsageCount.ts +0 -8
  540. package/src/models/FullCourse.ts +0 -18
  541. package/src/models/GreetingMethodEnum.ts +0 -12
  542. package/src/models/GuidedPrompt.ts +0 -9
  543. package/src/models/GuidedPromptsResponse.ts +0 -10
  544. package/src/models/HeygenMarketingVideoDetail.ts +0 -13
  545. package/src/models/HeygenMarketingVideoList.ts +0 -11
  546. package/src/models/HeygenTemplateRequest.ts +0 -10
  547. package/src/models/HeygenTemplateResponseSingle.ts +0 -11
  548. package/src/models/HeygenVideoDetail.ts +0 -13
  549. package/src/models/HeygenVideoRequest.ts +0 -10
  550. package/src/models/HumanSupportTicket.ts +0 -28
  551. package/src/models/HumanSupportTicketStatusEnum.ts +0 -14
  552. package/src/models/InputQuestion.ts +0 -11
  553. package/src/models/IntegrationCredential.ts +0 -15
  554. package/src/models/IntegrationCredentialSchema.ts +0 -11
  555. package/src/models/IntialQuestionAnswer.ts +0 -8
  556. package/src/models/InvoiceReportResponse.ts +0 -18
  557. package/src/models/JobRun.ts +0 -16
  558. package/src/models/KindEnum.ts +0 -14
  559. package/src/models/LLMCredentialRequest.ts +0 -19
  560. package/src/models/LLMCredentialResponse.ts +0 -15
  561. package/src/models/LLMCredentialSchema.ts +0 -11
  562. package/src/models/LLMModelForTenant.ts +0 -11
  563. package/src/models/LLMQuestion.ts +0 -20
  564. package/src/models/LLMResponse.ts +0 -23
  565. package/src/models/LLMTracesListResponse.ts +0 -10
  566. package/src/models/LanguagesView.ts +0 -10
  567. package/src/models/LinkCourseRequest.ts +0 -8
  568. package/src/models/LinkCourseResponse.ts +0 -10
  569. package/src/models/LlmProviderEnum.ts +0 -12
  570. package/src/models/MCPServer.ts +0 -52
  571. package/src/models/MCPServerConnection.ts +0 -52
  572. package/src/models/MCPServerConnectionScopeEnum.ts +0 -14
  573. package/src/models/MaskedIntegrationCredential.ts +0 -15
  574. package/src/models/MaskedLLMCredential.ts +0 -15
  575. package/src/models/MemoryComponentData.ts +0 -10
  576. package/src/models/MemoryComponentMemory.ts +0 -9
  577. package/src/models/MemoryComponentMemoryDetail.ts +0 -13
  578. package/src/models/MemoryComponentResponse.ts +0 -10
  579. package/src/models/MemoryProgress.ts +0 -13
  580. package/src/models/MemoryStatusRequestView.ts +0 -11
  581. package/src/models/MemoryStatusView.ts +0 -11
  582. package/src/models/Mentor.ts +0 -131
  583. package/src/models/MentorAudience.ts +0 -10
  584. package/src/models/MentorBreakdown.ts +0 -14
  585. package/src/models/MentorCategory.ts +0 -14
  586. package/src/models/MentorCategoryCreate.ts +0 -16
  587. package/src/models/MentorCategoryGroup.ts +0 -16
  588. package/src/models/MentorCategoryGroupCreate.ts +0 -16
  589. package/src/models/MentorCreate.ts +0 -121
  590. package/src/models/MentorCustomVoice.ts +0 -9
  591. package/src/models/MentorCustomVoiceResponse.ts +0 -9
  592. package/src/models/MentorData.ts +0 -12
  593. package/src/models/MentorDetailAnalytics.ts +0 -11
  594. package/src/models/MentorEval.ts +0 -16
  595. package/src/models/MentorEvalQuestion.ts +0 -10
  596. package/src/models/MentorEvalQuestionRequest.ts +0 -9
  597. package/src/models/MentorEvalReport.ts +0 -15
  598. package/src/models/MentorEvalRequest.ts +0 -13
  599. package/src/models/MentorFacet.ts +0 -22
  600. package/src/models/MentorFork.ts +0 -10
  601. package/src/models/MentorFromTemplateWithSettingRequest.ts +0 -64
  602. package/src/models/MentorMemorySettingsRequest.ts +0 -11
  603. package/src/models/MentorMemorySettingsResponse.ts +0 -11
  604. package/src/models/MentorMetadata.ts +0 -10
  605. package/src/models/MentorScenario.ts +0 -11
  606. package/src/models/MentorScenarioPrompt.ts +0 -10
  607. package/src/models/MentorSearchResponse.ts +0 -40
  608. package/src/models/MentorSession.ts +0 -9
  609. package/src/models/MentorSettings.ts +0 -99
  610. package/src/models/MentorSettingsPublic.ts +0 -76
  611. package/src/models/MentorSettingsRequest.ts +0 -77
  612. package/src/models/MentorSummary.ts +0 -10
  613. package/src/models/MentorType.ts +0 -10
  614. package/src/models/MentorUserSetting.ts +0 -9
  615. package/src/models/MentorVisibilityEnum.ts +0 -14
  616. package/src/models/MentorWizard.ts +0 -9
  617. package/src/models/MessageStatistics.ts +0 -10
  618. package/src/models/MessageView.ts +0 -15
  619. package/src/models/MessageViewRequest.ts +0 -13
  620. package/src/models/MessageViewUpdatResponse.ts +0 -8
  621. package/src/models/Metadata.ts +0 -10
  622. package/src/models/MetricChange.ts +0 -9
  623. package/src/models/MetricInfo.ts +0 -10
  624. package/src/models/ModelCost.ts +0 -9
  625. package/src/models/ModerationLog.ts +0 -17
  626. package/src/models/NoChatMessagesFound.ts +0 -8
  627. package/src/models/OAuthProvider.ts +0 -23
  628. package/src/models/OAuthService.ts +0 -22
  629. package/src/models/OAuthStartResponse.ts +0 -8
  630. package/src/models/Observation.ts +0 -36
  631. package/src/models/OvertimeData.ts +0 -18
  632. package/src/models/PageContent.ts +0 -11
  633. package/src/models/PaginatedAIGeneratedImageList.ts +0 -12
  634. package/src/models/PaginatedArtifactListList.ts +0 -12
  635. package/src/models/PaginatedConversationsList.ts +0 -12
  636. package/src/models/PaginatedCourseCreationTaskFileList.ts +0 -12
  637. package/src/models/PaginatedCourseCreationTaskList.ts +0 -12
  638. package/src/models/PaginatedDataSetList.ts +0 -12
  639. package/src/models/PaginatedDisclaimerAgreementList.ts +0 -12
  640. package/src/models/PaginatedDisclaimerList.ts +0 -12
  641. package/src/models/PaginatedEdxCourseList.ts +0 -12
  642. package/src/models/PaginatedEmailPromptListList.ts +0 -12
  643. package/src/models/PaginatedHeygenMarketingVideoListList.ts +0 -12
  644. package/src/models/PaginatedHeygenTemplateResponseSingleList.ts +0 -12
  645. package/src/models/PaginatedHumanSupportTicketList.ts +0 -12
  646. package/src/models/PaginatedJobRunList.ts +0 -12
  647. package/src/models/PaginatedMCPServerConnectionList.ts +0 -12
  648. package/src/models/PaginatedMCPServerList.ts +0 -12
  649. package/src/models/PaginatedMentorList.ts +0 -12
  650. package/src/models/PaginatedModerationLogList.ts +0 -12
  651. package/src/models/PaginatedObservationList.ts +0 -12
  652. package/src/models/PaginatedPeriodicAgentList.ts +0 -12
  653. package/src/models/PaginatedPeriodicAgentLogList.ts +0 -12
  654. package/src/models/PaginatedPlayWrightScriptList.ts +0 -12
  655. package/src/models/PaginatedProjectList.ts +0 -12
  656. package/src/models/PaginatedRetrieverDocumentEmbeddingList.ts +0 -12
  657. package/src/models/PaginatedSectionList.ts +0 -12
  658. package/src/models/PaginatedSubSectionList.ts +0 -12
  659. package/src/models/PaginatedTicketMessageList.ts +0 -12
  660. package/src/models/PaginatedTopicStatisticsResponse.ts +0 -12
  661. package/src/models/PaginatedTraceList.ts +0 -12
  662. package/src/models/PaginatedTrainingList.ts +0 -12
  663. package/src/models/PaginatedUnitList.ts +0 -12
  664. package/src/models/PaginatedUserEdxMemoryList.ts +0 -12
  665. package/src/models/PaginatedUserMemoryList.ts +0 -12
  666. package/src/models/PaginatedVeoVideoListList.ts +0 -12
  667. package/src/models/PaginatedVoiceList.ts +0 -12
  668. package/src/models/PatchedArtifact.ts +0 -61
  669. package/src/models/PatchedBotCommand.ts +0 -11
  670. package/src/models/PatchedBotCreate.ts +0 -17
  671. package/src/models/PatchedCallConfiguration.ts +0 -31
  672. package/src/models/PatchedConversations.ts +0 -38
  673. package/src/models/PatchedCourseCreationTaskFile.ts +0 -12
  674. package/src/models/PatchedCredentialRequest.ts +0 -19
  675. package/src/models/PatchedDataSet.ts +0 -26
  676. package/src/models/PatchedDisclaimer.ts +0 -22
  677. package/src/models/PatchedDiscordConfig.ts +0 -12
  678. package/src/models/PatchedDiscordUserConfig.ts +0 -15
  679. package/src/models/PatchedHumanSupportTicket.ts +0 -28
  680. package/src/models/PatchedLLMCredentialRequest.ts +0 -19
  681. package/src/models/PatchedMCPServer.ts +0 -52
  682. package/src/models/PatchedMCPServerConnection.ts +0 -52
  683. package/src/models/PatchedMentorCategoryGroupCreate.ts +0 -16
  684. package/src/models/PatchedMentorCreate.ts +0 -121
  685. package/src/models/PatchedPeriodicAgentCreate.ts +0 -46
  686. package/src/models/PatchedPlayWrightScript.ts +0 -17
  687. package/src/models/PatchedProject.ts +0 -56
  688. package/src/models/PatchedPrompt.ts +0 -27
  689. package/src/models/PatchedSection.ts +0 -14
  690. package/src/models/PatchedSlackConfig.ts +0 -13
  691. package/src/models/PatchedSlackUserConfig.ts +0 -22
  692. package/src/models/PatchedSubSection.ts +0 -14
  693. package/src/models/PatchedTeamsConfig.ts +0 -12
  694. package/src/models/PatchedTicketMessage.ts +0 -15
  695. package/src/models/PatchedTrainingCreate.ts +0 -36
  696. package/src/models/PatchedUnit.ts +0 -16
  697. package/src/models/PatchedWebexConfig.ts +0 -15
  698. package/src/models/PatchedWhatsappConfig.ts +0 -16
  699. package/src/models/PatchedWhatsappUserConfig.ts +0 -15
  700. package/src/models/PeriodInfo.ts +0 -26
  701. package/src/models/PeriodicAgent.ts +0 -47
  702. package/src/models/PeriodicAgentCreate.ts +0 -46
  703. package/src/models/PeriodicAgentLog.ts +0 -16
  704. package/src/models/PeriodicAgentLogStatusEnum.ts +0 -14
  705. package/src/models/PeriodicAgentStatistics.ts +0 -12
  706. package/src/models/PeriodicTask.ts +0 -26
  707. package/src/models/PieChartData.ts +0 -10
  708. package/src/models/PieChartSegment.ts +0 -9
  709. package/src/models/PinnedMessageCreate.ts +0 -14
  710. package/src/models/PinnedMessageGet.ts +0 -12
  711. package/src/models/PinnedMessageRequest.ts +0 -11
  712. package/src/models/PlatformPrompt.ts +0 -39
  713. package/src/models/PlatformPromptResponse.ts +0 -21
  714. package/src/models/PlayWrightScript.ts +0 -17
  715. package/src/models/PredictiveAnalyticsRequest.ts +0 -9
  716. package/src/models/PredictiveAnalyticsResponse.ts +0 -9
  717. package/src/models/PreviousAgentStatusEnum.ts +0 -16
  718. package/src/models/Project.ts +0 -56
  719. package/src/models/ProjectMentor.ts +0 -16
  720. package/src/models/Prompt.ts +0 -27
  721. package/src/models/PromptCategory.ts +0 -12
  722. package/src/models/PromptFacet.ts +0 -22
  723. package/src/models/PromptSearchResponse.ts +0 -40
  724. package/src/models/PromptVisibilityEnum.ts +0 -14
  725. package/src/models/Provider05cEnum.ts +0 -18
  726. package/src/models/Provider637Enum.ts +0 -14
  727. package/src/models/Provider63aEnum.ts +0 -10
  728. package/src/models/ProviderBreakdown.ts +0 -13
  729. package/src/models/QuestionCardTag.ts +0 -13
  730. package/src/models/QuestionRequest.ts +0 -20
  731. package/src/models/QuestionResponse.ts +0 -15
  732. package/src/models/RatingAverageRecord.ts +0 -15
  733. package/src/models/RatingEnum.ts +0 -12
  734. package/src/models/RatingRecord.ts +0 -9
  735. package/src/models/RatingsOvertime.ts +0 -10
  736. package/src/models/RecentlyAccessedMentor.ts +0 -15
  737. package/src/models/RecommendCourseBlock.ts +0 -8
  738. package/src/models/RecommendCourseResponse.ts +0 -8
  739. package/src/models/RecommendationTypeEnum.ts +0 -12
  740. package/src/models/RecommendedCoursesResponse.ts +0 -38
  741. package/src/models/RelatedText.ts +0 -8
  742. package/src/models/RemoveMentorFromDisclaimer.ts +0 -17
  743. package/src/models/RequestDataVariable.ts +0 -19
  744. package/src/models/ResourceScrappedData.ts +0 -18
  745. package/src/models/ResourceScrappedDataStatusEnum.ts +0 -16
  746. package/src/models/ResponseDataVariable.ts +0 -19
  747. package/src/models/RetreiverTrainViewRequest.ts +0 -15
  748. package/src/models/RetreiverTrainViewResponse.ts +0 -11
  749. package/src/models/RetrieveTask.ts +0 -8
  750. package/src/models/RetrieverDocumentEmbedding.ts +0 -35
  751. package/src/models/RetrieverDocumentEmbeddingRequest.ts +0 -71
  752. package/src/models/RetrieverRequestSearch.ts +0 -15
  753. package/src/models/RetrieverRequestSearchDocument.ts +0 -15
  754. package/src/models/RetrieverResponseSearch.ts +0 -12
  755. package/src/models/ReuestDataVariableList.ts +0 -9
  756. package/src/models/RunMentorEval.ts +0 -8
  757. package/src/models/ScanWebhookRequest.ts +0 -11
  758. package/src/models/ScanWebhookResponse.ts +0 -8
  759. package/src/models/Section.ts +0 -14
  760. package/src/models/SectionWithChildren.ts +0 -16
  761. package/src/models/SeedMentorsView.ts +0 -8
  762. package/src/models/SentimentSummary.ts +0 -9
  763. package/src/models/SessionBrowserScreenshot.ts +0 -13
  764. package/src/models/SessionChartPoint.ts +0 -9
  765. package/src/models/SessionDetail.ts +0 -11
  766. package/src/models/SessionMemoryAttachment.ts +0 -8
  767. package/src/models/SessionMemoryStorage.ts +0 -11
  768. package/src/models/SessionsChart.ts +0 -10
  769. package/src/models/ShareableMentorLink.ts +0 -13
  770. package/src/models/ShellLogs.ts +0 -8
  771. package/src/models/SlackConfig.ts +0 -13
  772. package/src/models/SlackUserConfig.ts +0 -22
  773. package/src/models/SlackWebhook.ts +0 -11
  774. package/src/models/SpacedRepetitionLearningPath.ts +0 -8
  775. package/src/models/SpacedRepetitionQuestionStats.ts +0 -10
  776. package/src/models/StarMentor.ts +0 -12
  777. package/src/models/Status6eeEnum.ts +0 -16
  778. package/src/models/Step.ts +0 -14
  779. package/src/models/StepStatusEnum.ts +0 -14
  780. package/src/models/SttProviderEnum.ts +0 -16
  781. package/src/models/StudentChatMessage.ts +0 -9
  782. package/src/models/StylesView.ts +0 -9
  783. package/src/models/SubSection.ts +0 -14
  784. package/src/models/SubSectionWithChildren.ts +0 -16
  785. package/src/models/Subject.ts +0 -10
  786. package/src/models/Summary.ts +0 -14
  787. package/src/models/TagsView.ts +0 -10
  788. package/src/models/TargetSystemEnum.ts +0 -12
  789. package/src/models/TaskView.ts +0 -8
  790. package/src/models/TeamsConfig.ts +0 -12
  791. package/src/models/TeamsWebhook.ts +0 -22
  792. package/src/models/TemplateMentor.ts +0 -14
  793. package/src/models/TenantMentorTraces.ts +0 -11
  794. package/src/models/ThemeEnum.ts +0 -12
  795. package/src/models/TicketMessage.ts +0 -15
  796. package/src/models/TonesView.ts +0 -9
  797. package/src/models/ToolCategory.ts +0 -10
  798. package/src/models/ToolResponse.ts +0 -20
  799. package/src/models/TopicDetail.ts +0 -13
  800. package/src/models/TopicDetails.ts +0 -10
  801. package/src/models/TopicModel.ts +0 -8
  802. package/src/models/TopicRecord.ts +0 -9
  803. package/src/models/TopicStatistics.ts +0 -12
  804. package/src/models/TopicStatisticsResponse.ts +0 -11
  805. package/src/models/TopicSummaryView.ts +0 -9
  806. package/src/models/TopicsOverview.ts +0 -27
  807. package/src/models/TopicsOverviewMetric.ts +0 -26
  808. package/src/models/Trace.ts +0 -22
  809. package/src/models/TrainChatSessionDocumentView.ts +0 -11
  810. package/src/models/TrainChatSessionDocumentViewRequest.ts +0 -11
  811. package/src/models/TrainDocumentViewRequest.ts +0 -87
  812. package/src/models/TrainDocumentViewResponse.ts +0 -20
  813. package/src/models/Training.ts +0 -46
  814. package/src/models/TrainingCreate.ts +0 -36
  815. package/src/models/TrainingStatusEnum.ts +0 -16
  816. package/src/models/TransportEnum.ts +0 -14
  817. package/src/models/TrendEntry.ts +0 -9
  818. package/src/models/TriggerRequest.ts +0 -10
  819. package/src/models/TriggerResponse.ts +0 -11
  820. package/src/models/TtsProviderEnum.ts +0 -14
  821. package/src/models/TypeC42Enum.ts +0 -12
  822. package/src/models/Unit.ts +0 -16
  823. package/src/models/UnitWithChildren.ts +0 -18
  824. package/src/models/UseMainCreds.ts +0 -8
  825. package/src/models/UserAllChatMemoryView.ts +0 -12
  826. package/src/models/UserCatalogItemMemoryView.ts +0 -19
  827. package/src/models/UserChatByPeriod.ts +0 -9
  828. package/src/models/UserChatFeedback.ts +0 -20
  829. package/src/models/UserChatFeedbackCount.ts +0 -9
  830. package/src/models/UserChatMemoryStatusRequestView.ts +0 -11
  831. package/src/models/UserChatMemoryStatusView.ts +0 -11
  832. package/src/models/UserChatMemoryUpdateView.ts +0 -15
  833. package/src/models/UserCountRecord.ts +0 -9
  834. package/src/models/UserDetail.ts +0 -12
  835. package/src/models/UserEdxMemory.ts +0 -20
  836. package/src/models/UserMemory.ts +0 -23
  837. package/src/models/UserMemoryContextRequest.ts +0 -18
  838. package/src/models/UserMemoryContextResponse.ts +0 -17
  839. package/src/models/UserMemoryEntry.ts +0 -14
  840. package/src/models/UserMemoryEntryRequest.ts +0 -10
  841. package/src/models/UserMemoryRequest.ts +0 -17
  842. package/src/models/UserMetric.ts +0 -9
  843. package/src/models/UserMetricsResponse.ts +0 -12
  844. package/src/models/UserSentimentCountView.ts +0 -9
  845. package/src/models/UserTrendByPeriod.ts +0 -10
  846. package/src/models/V2GlobalMentorSearchResponse.ts +0 -34
  847. package/src/models/V2PersonalizedMentorsResponse.ts +0 -34
  848. package/src/models/V2RecommendationResponse.ts +0 -70
  849. package/src/models/VectorResult.ts +0 -15
  850. package/src/models/VeoVideoDetail.ts +0 -15
  851. package/src/models/VeoVideoList.ts +0 -11
  852. package/src/models/VeoVideoRequest.ts +0 -10
  853. package/src/models/VideoCaption.ts +0 -8
  854. package/src/models/Voice.ts +0 -14
  855. package/src/models/WebResource.ts +0 -14
  856. package/src/models/WebResourceCard.ts +0 -12
  857. package/src/models/WebResourcesQuery.ts +0 -8
  858. package/src/models/WebexConfig.ts +0 -15
  859. package/src/models/WebexWebhook.ts +0 -9
  860. package/src/models/WhatAppWebHook.ts +0 -8
  861. package/src/models/WhatsappConfig.ts +0 -16
  862. package/src/models/WhatsappUserConfig.ts +0 -15
  863. package/src/services/AiAccountService.ts +0 -897
  864. package/src/services/AiBotService.ts +0 -1350
  865. package/src/services/AiFinetuningService.ts +0 -472
  866. package/src/services/AiIndexService.ts +0 -710
  867. package/src/services/AiMarketingService.ts +0 -96
  868. package/src/services/AiMediaService.ts +0 -532
  869. package/src/services/AiMentorService.ts +0 -12373
  870. package/src/services/AiPromptService.ts +0 -1985
  871. package/src/services/AiSearchService.ts +0 -728
@@ -2,131 +2,12 @@
2
2
  /* istanbul ignore file */
3
3
  /* tslint:disable */
4
4
  /* eslint-disable */
5
- import type { DocumentSearchResponse } from '../models/DocumentSearchResponse';
6
5
  import type { GlobalCatalogSearchResponse } from '../models/GlobalCatalogSearchResponse';
7
- import type { MentorSearchResponse } from '../models/MentorSearchResponse';
8
- import type { PromptSearchResponse } from '../models/PromptSearchResponse';
9
- import type { RecommendedCoursesResponse } from '../models/RecommendedCoursesResponse';
10
6
  import type { UserSearchResponse } from '../models/UserSearchResponse';
11
7
  import type { CancelablePromise } from '../core/CancelablePromise';
12
8
  import { OpenAPI } from '../core/OpenAPI';
13
9
  import { request as __request } from '../core/request';
14
10
  export class SearchService {
15
- /**
16
- * Legacy endpoint for backward compatible mentor search
17
- * @returns MentorSearchResponse
18
- * @throws ApiError
19
- */
20
- public static searchAiSearchRetrieve({
21
- audience,
22
- category,
23
- createdBy,
24
- filterFacet = false,
25
- id,
26
- limit = 12,
27
- llm,
28
- offset,
29
- orderBy,
30
- orderDirection = 'desc',
31
- page,
32
- pageSize,
33
- query,
34
- tags,
35
- tenant,
36
- uniqueId,
37
- }: {
38
- /**
39
- * Filter by target audience
40
- */
41
- audience?: Array<string>,
42
- /**
43
- * Filter by mentor category
44
- */
45
- category?: Array<string>,
46
- /**
47
- * Filter mentors created by specific user
48
- */
49
- createdBy?: string,
50
- /**
51
- * If present, return only facets without results
52
- */
53
- filterFacet?: boolean,
54
- /**
55
- * Retrieve a specific mentor by ID
56
- */
57
- id?: number,
58
- /**
59
- * Number of results per page
60
- */
61
- limit?: number,
62
- /**
63
- * Filter by language model type
64
- */
65
- llm?: Array<string>,
66
- /**
67
- * Starting position for pagination
68
- */
69
- offset?: number,
70
- /**
71
- * Field to sort results by ('created_at', 'recently_accessed_at')
72
- */
73
- orderBy?: string,
74
- /**
75
- * Sort direction ('asc' or 'desc')
76
- */
77
- orderDirection?: string,
78
- /**
79
- * Page number (1-based, used with page_size)
80
- */
81
- page?: number,
82
- /**
83
- * Number of results per page
84
- */
85
- pageSize?: number,
86
- /**
87
- * Search term to filter mentors by name or description
88
- */
89
- query?: string,
90
- /**
91
- * Filter by tags
92
- */
93
- tags?: Array<string>,
94
- /**
95
- * Filter by tenant/organization
96
- */
97
- tenant?: string,
98
- /**
99
- * Retrieve a specific mentor by UUID
100
- */
101
- uniqueId?: string,
102
- }): CancelablePromise<MentorSearchResponse> {
103
- return __request(OpenAPI, {
104
- method: 'GET',
105
- url: '/api/search/ai-search/',
106
- query: {
107
- 'audience': audience,
108
- 'category': category,
109
- 'created_by': createdBy,
110
- 'filter_facet': filterFacet,
111
- 'id': id,
112
- 'limit': limit,
113
- 'llm': llm,
114
- 'offset': offset,
115
- 'order_by': orderBy,
116
- 'order_direction': orderDirection,
117
- 'page': page,
118
- 'page_size': pageSize,
119
- 'query': query,
120
- 'tags': tags,
121
- 'tenant': tenant,
122
- 'unique_id': uniqueId,
123
- },
124
- errors: {
125
- 400: `Bad request`,
126
- 500: `Server error`,
127
- },
128
- });
129
- }
130
11
  /**
131
12
  * Search and filter content across the learning catalog.
132
13
  *
@@ -484,1353 +365,411 @@ export class SearchService {
484
365
  });
485
366
  }
486
367
  /**
487
- * Search and filter AI mentors across the platform.
368
+ * Determine whether to serve a detail view or a list view.
369
+ * If any detail-identifying parameters are present (course_id, program_id, etc.)
370
+ * the detail view is returned; otherwise the aggregated list view is returned.
371
+ * @returns any
372
+ * @throws ApiError
373
+ */
374
+ public static searchPersonalizedCatalogRetrieve({
375
+ username,
376
+ allowSkillSearch = false,
377
+ alphabetical = false,
378
+ certificate,
379
+ content,
380
+ courseId,
381
+ duration,
382
+ language,
383
+ level,
384
+ limit = 12,
385
+ offset,
386
+ orderAscending = false,
387
+ orderBy,
388
+ pathwayId,
389
+ price,
390
+ programId,
391
+ programType,
392
+ promotion,
393
+ query,
394
+ recommended = false,
395
+ resourceId,
396
+ resourceType,
397
+ returnFacet = true,
398
+ returnItems = false,
399
+ roleId,
400
+ selfPaced,
401
+ skillId,
402
+ skills,
403
+ subject,
404
+ tags,
405
+ tenant,
406
+ topics,
407
+ updateFacet,
408
+ }: {
409
+ username: string,
410
+ /**
411
+ * Enable skill-based search
412
+ */
413
+ allowSkillSearch?: boolean,
414
+ /**
415
+ * Sort alphabetically by name
416
+ */
417
+ alphabetical?: boolean,
418
+ /**
419
+ * Filter by certificate type
420
+ */
421
+ certificate?: Array<string>,
422
+ /**
423
+ * Content types to include in results
424
+ */
425
+ content?: Array<string>,
426
+ /**
427
+ * Retrieve a specific course by ID
428
+ */
429
+ courseId?: string,
430
+ /**
431
+ * Filter by course duration range
432
+ */
433
+ duration?: Array<string>,
434
+ /**
435
+ * Filter by content language
436
+ */
437
+ language?: Array<string>,
438
+ /**
439
+ * Filter by difficulty level
440
+ */
441
+ level?: Array<string>,
442
+ /**
443
+ * Number of results per page
444
+ */
445
+ limit?: number,
446
+ /**
447
+ * Starting position for pagination
448
+ */
449
+ offset?: number,
450
+ /**
451
+ * Sort direction
452
+ */
453
+ orderAscending?: boolean,
454
+ /**
455
+ * Field to sort results by
456
+ */
457
+ orderBy?: string,
458
+ /**
459
+ * Retrieve a specific pathway by ID
460
+ */
461
+ pathwayId?: string,
462
+ /**
463
+ * Filter by price/audit status
464
+ */
465
+ price?: string,
466
+ /**
467
+ * Retrieve a specific program by ID
468
+ */
469
+ programId?: string,
470
+ /**
471
+ * Filter by program type
472
+ */
473
+ programType?: Array<string>,
474
+ /**
475
+ * Filter by promotion status
476
+ */
477
+ promotion?: Array<string>,
478
+ /**
479
+ * Search term to filter content by name or description
480
+ */
481
+ query?: string,
482
+ /**
483
+ * Show only recommended content
484
+ */
485
+ recommended?: boolean,
486
+ /**
487
+ * Retrieve a specific resource by ID
488
+ */
489
+ resourceId?: string,
490
+ /**
491
+ * Filter by resource type
492
+ */
493
+ resourceType?: Array<string>,
494
+ /**
495
+ * Include facet data in response
496
+ */
497
+ returnFacet?: boolean,
498
+ /**
499
+ * Include items in programs/pathways
500
+ */
501
+ returnItems?: boolean,
502
+ /**
503
+ * Retrieve a specific role by ID
504
+ */
505
+ roleId?: string,
506
+ /**
507
+ * Filter by course format
508
+ */
509
+ selfPaced?: Array<string>,
510
+ /**
511
+ * Retrieve a specific skill by ID
512
+ */
513
+ skillId?: string,
514
+ /**
515
+ * Filter by skills
516
+ */
517
+ skills?: Array<string>,
518
+ /**
519
+ * Filter by subject areas
520
+ */
521
+ subject?: Array<string>,
522
+ /**
523
+ * Filter by tags
524
+ */
525
+ tags?: Array<string>,
526
+ /**
527
+ * Filter by tenant/organization
528
+ */
529
+ tenant?: string,
530
+ /**
531
+ * Filter by topic areas
532
+ */
533
+ topics?: Array<string>,
534
+ /**
535
+ * Force facet update
536
+ */
537
+ updateFacet?: string,
538
+ }): CancelablePromise<Record<string, any>> {
539
+ return __request(OpenAPI, {
540
+ method: 'GET',
541
+ url: '/api/search/personalized-catalog/{username}/',
542
+ path: {
543
+ 'username': username,
544
+ },
545
+ query: {
546
+ 'allow_skill_search': allowSkillSearch,
547
+ 'alphabetical': alphabetical,
548
+ 'certificate': certificate,
549
+ 'content': content,
550
+ 'course_id': courseId,
551
+ 'duration': duration,
552
+ 'language': language,
553
+ 'level': level,
554
+ 'limit': limit,
555
+ 'offset': offset,
556
+ 'order_ascending': orderAscending,
557
+ 'order_by': orderBy,
558
+ 'pathway_id': pathwayId,
559
+ 'price': price,
560
+ 'program_id': programId,
561
+ 'program_type': programType,
562
+ 'promotion': promotion,
563
+ 'query': query,
564
+ 'recommended': recommended,
565
+ 'resource_id': resourceId,
566
+ 'resource_type': resourceType,
567
+ 'return_facet': returnFacet,
568
+ 'return_items': returnItems,
569
+ 'role_id': roleId,
570
+ 'self_paced': selfPaced,
571
+ 'skill_id': skillId,
572
+ 'skills': skills,
573
+ 'subject': subject,
574
+ 'tags': tags,
575
+ 'tenant': tenant,
576
+ 'topics': topics,
577
+ 'update_facet': updateFacet,
578
+ },
579
+ });
580
+ }
581
+ /**
582
+ * Search and filter users within a specific organization/tenant.
488
583
  *
489
- * This endpoint provides a powerful search interface for discovering AI mentors
490
- * with support for filtering, pagination, and detailed mentor information.
584
+ * This endpoint provides a search interface for discovering users within an organization,
585
+ * with support for filtering by departments, pagination, and faceted filtering.
586
+ *
587
+ * Path Parameters:
588
+ * org (str): The organization/tenant identifier
589
+ * username (str): The username of the user making the request
491
590
  *
492
591
  * Query Parameters:
493
- * # Identification parameters (for detail view)
494
- * id (int, optional): Retrieve a specific mentor by ID
495
- * unique_id (uuid, optional): Retrieve a specific mentor by UUID
592
+ * # Search parameters
593
+ * query (str, optional): Search term to filter users by name, username, or email
594
+ *
595
+ * # Department filtering
596
+ * department_mode (bool, optional): Enable department-based filtering (default: false)
597
+ * user_department (bool, optional): Legacy parameter for department_mode (default: false)
598
+ * department (list, optional): Filter by specific departments
496
599
  *
497
- * # Search and filtering parameters
498
- * query (str, optional): Search term to filter mentors by name or description
499
- * tenant (str, optional): Filter by tenant/organization
500
- * llm (list, optional): Filter by language model type
501
- * audience (list, optional): Filter by target audience
502
- * category (list, optional): Filter by mentor category
503
- * tags (list, optional): Filter by tags
504
- * created_by (str, optional): Filter mentors created by specific user
600
+ * # Additional filters
601
+ * role (list, optional): Filter by user role
602
+ * status (list, optional): Filter by user status (active, inactive)
603
+ * joined_date (list, optional): Filter by join date range
604
+ * last_login (list, optional): Filter by last login date range
505
605
  *
506
- * # Sorting and pagination
507
- * order_by (str, optional): Field to sort results by ('created_at', 'recently_accessed_at')
508
- * order_direction (str, optional): Sort direction ('asc' or 'desc', default: 'desc')
509
- * limit (int, optional): Number of results per page (default: 12, max: 100)
606
+ * # Pagination
607
+ * limit (int, optional): Number of results per page (default: 10)
510
608
  * offset (int, optional): Starting position for pagination
511
609
  *
512
610
  * Returns:
513
- * For detail view (when id or unique_id is provided):
514
- * A JSON response containing a single mentor's details:
611
+ * A JSON response containing:
612
+ * ```
515
613
  * {
516
- * "id": 123,
517
- * "unique_id": "550e8400-e29b-41d4-a716-446655440000",
518
- * "name": "Professor Smith",
519
- * "description": "AI mentor specializing in computer science",
520
- * "image_url": "https://example.com/images/prof-smith.jpg",
521
- * "llm": {
522
- * "id": 1,
523
- * "name": "GPT-4",
524
- * "description": "Advanced language model"
525
- * },
526
- * "audience": {
527
- * "id": 2,
528
- * "name": "College Students",
529
- * "description": "For university-level learners"
530
- * },
531
- * "category": "Computer Science",
532
- * "tags": ["programming", "algorithms", "data structures"],
533
- * "created_at": "2023-01-15T12:00:00Z",
534
- * "recently_accessed_at": "2023-06-20T15:30:00Z",
535
- * "platform": {
536
- * "id": 1,
537
- * "name": "Example University",
538
- * "key": "example-university"
614
+ * "results": [
615
+ * {
616
+ * "id": 123,
617
+ * "username": "john.doe",
618
+ * "email": "john.doe@example.com",
619
+ * "first_name": "John",
620
+ * "last_name": "Doe",
621
+ * "full_name": "John Doe",
622
+ * "profile_image": "https://example.com/profiles/john-doe.jpg",
623
+ * "role": "Student",
624
+ * "departments": ["Computer Science", "Data Science"],
625
+ * "status": "active",
626
+ * "joined_date": "2023-01-15T12:00:00Z",
627
+ * "last_login": "2023-06-20T15:30:00Z",
628
+ * "metadata": {
629
+ * "location": "New York",
630
+ * "title": "Software Engineer",
631
+ * "bio": "Experienced software engineer with a passion for education"
632
+ * }
539
633
  * },
540
- * "visibility": "public",
541
- * "settings": {
542
- * "temperature": 0.7,
543
- * "max_tokens": 1024,
544
- * "system_prompt": "You are Professor Smith, an expert in computer science..."
545
- * }
546
- * }
547
- *
548
- * For list view:
549
- * A JSON response containing:
550
- * {
551
- * "results": [
552
- * {
553
- * "id": 123,
554
- * "unique_id": "550e8400-e29b-41d4-a716-446655440000",
555
- * "name": "Professor Smith",
556
- * "description": "AI mentor specializing in computer science",
557
- * "image_url": "https://example.com/images/prof-smith.jpg",
558
- * "llm": {"id": 1, "name": "GPT-4"},
559
- * "audience": {"id": 2, "name": "College Students"},
560
- * "category": "Computer Science",
561
- * "tags": ["programming", "algorithms"],
562
- * "created_at": "2023-01-15T12:00:00Z",
563
- * "recently_accessed_at": "2023-06-20T15:30:00Z"
564
- * },
565
- * // Additional mentor objects...
566
- * ],
567
- * "count": 50,
568
- * "next": "https://api.example.com/api/search/mentors/?limit=12&offset=12",
569
- * "previous": null,
570
- * "current_page": 1,
571
- * "num_pages": 5,
572
- * "facets": {
573
- * "llm": [
574
- * {"key": "GPT-4", "doc_count": 30},
575
- * {"key": "Claude", "doc_count": 20}
576
- * ],
577
- * "audience": [
578
- * {"key": "College Students", "doc_count": 35},
579
- * {"key": "Professionals", "doc_count": 15}
580
- * ],
581
- * "category": [
582
- * {"key": "Computer Science", "doc_count": 25},
583
- * {"key": "Mathematics", "doc_count": 15},
584
- * {"key": "Business", "doc_count": 10}
585
- * ]
586
- * }
587
- * }
588
- *
589
- * Error Responses:
590
- * 400 Bad Request: If the request parameters are invalid
591
- * 404 Not Found: If the requested mentor doesn't exist
592
- * 500 Internal Server Error: If an unexpected error occurs
593
- *
594
- * Notes:
595
- * - Results are cached for performance
596
- * - Public mentors are visible to all users
597
- * - Private mentors are only visible to authorized users
598
- * @returns MentorSearchResponse
599
- * @throws ApiError
600
- */
601
- public static searchMentorsRetrieve({
602
- audience,
603
- category,
604
- createdBy,
605
- featured,
606
- id,
607
- includeMainPublicMentors = false,
608
- limit = 12,
609
- llm,
610
- offset,
611
- orderBy,
612
- orderDirection = 'desc',
613
- query,
614
- tags,
615
- tenant,
616
- uniqueId,
617
- }: {
618
- /**
619
- * Filter by target audience
620
- */
621
- audience?: Array<string>,
622
- /**
623
- * Filter by mentor category
624
- */
625
- category?: Array<string>,
626
- /**
627
- * Filter mentors created by specific user
628
- */
629
- createdBy?: string,
630
- /**
631
- * Filter by featured status
632
- */
633
- featured?: boolean,
634
- /**
635
- * Retrieve a specific mentor by ID
636
- */
637
- id?: number,
638
- /**
639
- * Include public mentors from main tenant
640
- */
641
- includeMainPublicMentors?: boolean,
642
- /**
643
- * Number of results per page
644
- */
645
- limit?: number,
646
- /**
647
- * Filter by language model type
648
- */
649
- llm?: Array<string>,
650
- /**
651
- * Starting position for pagination
652
- */
653
- offset?: number,
654
- /**
655
- * Field to sort results by ('created_at', 'recently_accessed_at')
656
- */
657
- orderBy?: string,
658
- /**
659
- * Sort direction ('asc' or 'desc')
660
- */
661
- orderDirection?: string,
662
- /**
663
- * Search term to filter mentors by name or description
664
- */
665
- query?: string,
666
- /**
667
- * Filter by tags
668
- */
669
- tags?: Array<string>,
670
- /**
671
- * Filter by tenant/organization
672
- */
673
- tenant?: string,
674
- /**
675
- * Retrieve a specific mentor by UUID
676
- */
677
- uniqueId?: string,
678
- }): CancelablePromise<MentorSearchResponse> {
679
- return __request(OpenAPI, {
680
- method: 'GET',
681
- url: '/api/search/mentors/',
682
- query: {
683
- 'audience': audience,
684
- 'category': category,
685
- 'created_by': createdBy,
686
- 'featured': featured,
687
- 'id': id,
688
- 'include_main_public_mentors': includeMainPublicMentors,
689
- 'limit': limit,
690
- 'llm': llm,
691
- 'offset': offset,
692
- 'order_by': orderBy,
693
- 'order_direction': orderDirection,
694
- 'query': query,
695
- 'tags': tags,
696
- 'tenant': tenant,
697
- 'unique_id': uniqueId,
698
- },
699
- errors: {
700
- 400: `Bad request`,
701
- 500: `Server error`,
702
- },
703
- });
704
- }
705
- /**
706
- * Search and filter documents associated with a specific mentor
707
- * @returns DocumentSearchResponse
708
- * @throws ApiError
709
- */
710
- public static searchMentorsDocumentsRetrieve({
711
- mentorUniqueId,
712
- access,
713
- documentType,
714
- limit = 12,
715
- offset,
716
- orderBy,
717
- orderDirection = 'desc',
718
- platformKey,
719
- query,
720
- trainingStatus,
721
- }: {
722
- mentorUniqueId: string,
723
- /**
724
- * Filter by access level (e.g., 'public', 'private')
725
- */
726
- access?: string,
727
- /**
728
- * Filter by document type (e.g., 'pdf', 'text')
729
- */
730
- documentType?: string,
731
- /**
732
- * Number of results per page
733
- */
734
- limit?: number,
735
- /**
736
- * Starting position for pagination
737
- */
738
- offset?: number,
739
- /**
740
- * Field to sort results by ('date_created', 'last_modified', 'document_name')
741
- */
742
- orderBy?: string,
743
- /**
744
- * Sort direction ('asc' or 'desc')
745
- */
746
- orderDirection?: string,
747
- /**
748
- * Filter by platform key
749
- */
750
- platformKey?: string,
751
- /**
752
- * Search term to filter documents by name or content
753
- */
754
- query?: string,
755
- /**
756
- * Filter by training status (e.g., 'trained', 'pending')
757
- */
758
- trainingStatus?: string,
759
- }): CancelablePromise<DocumentSearchResponse> {
760
- return __request(OpenAPI, {
761
- method: 'GET',
762
- url: '/api/search/mentors/{mentor_unique_id}/documents/',
763
- path: {
764
- 'mentor_unique_id': mentorUniqueId,
765
- },
766
- query: {
767
- 'access': access,
768
- 'document_type': documentType,
769
- 'limit': limit,
770
- 'offset': offset,
771
- 'order_by': orderBy,
772
- 'order_direction': orderDirection,
773
- 'platform_key': platformKey,
774
- 'query': query,
775
- 'training_status': trainingStatus,
776
- },
777
- errors: {
778
- 400: `Bad request`,
779
- 404: `Mentor not found`,
780
- 500: `Server error`,
781
- },
782
- });
783
- }
784
- /**
785
- * Handle GET requests for tenant-specific mentor search.
786
- *
787
- * Args:
788
- * request: HTTP request object
789
- * org: Tenant/organization key
790
- * username: Username of the user making the request
791
- *
792
- * Returns:
793
- * Response: DRF Response object with search results
794
- * @returns MentorSearchResponse
795
- * @throws ApiError
796
- */
797
- public static searchOrgsUsersMentorsRetrieve({
798
- org,
799
- username,
800
- audience,
801
- category,
802
- createdBy,
803
- featured,
804
- id,
805
- includeMainPublicMentors = false,
806
- limit = 12,
807
- llm,
808
- offset,
809
- orderBy,
810
- orderDirection = 'desc',
811
- query,
812
- tags,
813
- tenant,
814
- uniqueId,
815
- }: {
816
- org: string,
817
- username: string,
818
- /**
819
- * Filter by target audience
820
- */
821
- audience?: Array<string>,
822
- /**
823
- * Filter by mentor category
824
- */
825
- category?: Array<string>,
826
- /**
827
- * Filter mentors created by specific user
828
- */
829
- createdBy?: string,
830
- /**
831
- * Filter by featured status
832
- */
833
- featured?: boolean,
834
- /**
835
- * Retrieve a specific mentor by ID
836
- */
837
- id?: number,
838
- /**
839
- * Include public mentors from main tenant
840
- */
841
- includeMainPublicMentors?: boolean,
842
- /**
843
- * Number of results per page
844
- */
845
- limit?: number,
846
- /**
847
- * Filter by language model type
848
- */
849
- llm?: Array<string>,
850
- /**
851
- * Starting position for pagination
852
- */
853
- offset?: number,
854
- /**
855
- * Field to sort results by ('created_at', 'recently_accessed_at')
856
- */
857
- orderBy?: string,
858
- /**
859
- * Sort direction ('asc' or 'desc')
860
- */
861
- orderDirection?: string,
862
- /**
863
- * Search term to filter mentors by name or description
864
- */
865
- query?: string,
866
- /**
867
- * Filter by tags
868
- */
869
- tags?: Array<string>,
870
- /**
871
- * Filter by tenant/organization
872
- */
873
- tenant?: string,
874
- /**
875
- * Retrieve a specific mentor by UUID
876
- */
877
- uniqueId?: string,
878
- }): CancelablePromise<MentorSearchResponse> {
879
- return __request(OpenAPI, {
880
- method: 'GET',
881
- url: '/api/search/orgs/{org}/users/{username}/mentors/',
882
- path: {
883
- 'org': org,
884
- 'username': username,
885
- },
886
- query: {
887
- 'audience': audience,
888
- 'category': category,
889
- 'created_by': createdBy,
890
- 'featured': featured,
891
- 'id': id,
892
- 'include_main_public_mentors': includeMainPublicMentors,
893
- 'limit': limit,
894
- 'llm': llm,
895
- 'offset': offset,
896
- 'order_by': orderBy,
897
- 'order_direction': orderDirection,
898
- 'query': query,
899
- 'tags': tags,
900
- 'tenant': tenant,
901
- 'unique_id': uniqueId,
902
- },
903
- errors: {
904
- 400: `Bad request`,
905
- 403: `Forbidden - user does not have access`,
906
- 500: `Server error`,
907
- },
908
- });
909
- }
910
- /**
911
- * Search and filter AI prompts for a specific user within a tenant.
912
- *
913
- * This endpoint extends the base prompt search functionality but filters results
914
- * to only show prompts that are available to a specific user within a specific
915
- * organization/tenant.
916
- *
917
- * Path Parameters:
918
- * org (str): The organization/tenant identifier
919
- * username (str): The username to filter prompts for
920
- *
921
- * Query Parameters:
922
- * Same as PromptSearchView, plus:
923
- *
924
- * # Identification parameters (for detail view)
925
- * id (int, optional): Retrieve a specific prompt by ID
926
- *
927
- * Returns:
928
- * Same format as PromptSearchView, but filtered to only include prompts
929
- * that the specified user has access to within the specified organization.
930
- *
931
- * Error Responses:
932
- * 400 Bad Request: If the request parameters are invalid
933
- * 403 Forbidden: If the requested prompt exists but the user doesn't have access
934
- * 404 Not Found: If the requested prompt doesn't exist
935
- * 500 Internal Server Error: If an unexpected error occurs
936
- *
937
- * Access Control:
938
- * - Results are filtered based on user's permissions within the organization
939
- * - Private prompts are only visible to authorized users
940
- * @returns PromptSearchResponse
941
- * @throws ApiError
942
- */
943
- public static searchOrgsUsersPromptsRetrieve({
944
- org,
945
- username,
946
- alphabetical = false,
947
- category,
948
- createdBy,
949
- filterFacet,
950
- language,
951
- limit = 10,
952
- mentor,
953
- offset,
954
- orderDirection = 'desc',
955
- query,
956
- sortBy,
957
- style,
958
- tenant,
959
- tone,
960
- }: {
961
- org: string,
962
- username: string,
963
- /**
964
- * Sort alphabetically
965
- */
966
- alphabetical?: boolean,
967
- /**
968
- * Filter by prompt category
969
- */
970
- category?: string,
971
- /**
972
- * Filter prompts created by specific user
973
- */
974
- createdBy?: string,
975
- /**
976
- * If true, return only facets without results
977
- */
978
- filterFacet?: boolean,
979
- /**
980
- * Filter by prompt language
981
- */
982
- language?: string,
983
- /**
984
- * Number of results per page
985
- */
986
- limit?: number,
987
- /**
988
- * Filter by mentor UUID
989
- */
990
- mentor?: string,
991
- /**
992
- * Starting position for pagination
993
- */
994
- offset?: number,
995
- /**
996
- * Sort direction ('asc' or 'desc')
997
- */
998
- orderDirection?: string,
999
- /**
1000
- * Search term to filter prompts by name or content
1001
- */
1002
- query?: string,
1003
- /**
1004
- * Field to sort results by
1005
- */
1006
- sortBy?: string,
1007
- /**
1008
- * Filter by prompt style
1009
- */
1010
- style?: string,
1011
- /**
1012
- * Filter by tenant/organization
1013
- */
1014
- tenant?: string,
1015
- /**
1016
- * Filter by prompt tone
1017
- */
1018
- tone?: string,
1019
- }): CancelablePromise<PromptSearchResponse> {
1020
- return __request(OpenAPI, {
1021
- method: 'GET',
1022
- url: '/api/search/orgs/{org}/users/{username}/prompts/',
1023
- path: {
1024
- 'org': org,
1025
- 'username': username,
1026
- },
1027
- query: {
1028
- 'alphabetical': alphabetical,
1029
- 'category': category,
1030
- 'created_by': createdBy,
1031
- 'filter_facet': filterFacet,
1032
- 'language': language,
1033
- 'limit': limit,
1034
- 'mentor': mentor,
1035
- 'offset': offset,
1036
- 'order_direction': orderDirection,
1037
- 'query': query,
1038
- 'sort_by': sortBy,
1039
- 'style': style,
1040
- 'tenant': tenant,
1041
- 'tone': tone,
1042
- },
1043
- errors: {
1044
- 400: `Bad request`,
1045
- 403: `Forbidden`,
1046
- 404: `Not found`,
1047
- 500: `Server error`,
1048
- },
1049
- });
1050
- }
1051
- /**
1052
- * Determine whether to serve a detail view or a list view.
1053
- * @returns RecommendedCoursesResponse
1054
- * @throws ApiError
1055
- */
1056
- public static searchOrgsUsersRecommendedRetrieve({
1057
- org,
1058
- username,
1059
- certificate,
1060
- content,
1061
- courseId,
1062
- duration,
1063
- language,
1064
- level,
1065
- limit = 12,
1066
- offset,
1067
- pathwayId,
1068
- price,
1069
- programId,
1070
- programType,
1071
- query,
1072
- resourceId,
1073
- resourceType,
1074
- roleId,
1075
- selfPaced,
1076
- skillId,
1077
- skills,
1078
- subject,
1079
- tags,
1080
- tenant,
1081
- topics,
1082
- }: {
1083
- org: string,
1084
- username: string,
1085
- /**
1086
- * Filter by certificate type
1087
- */
1088
- certificate?: Array<string>,
1089
- /**
1090
- * Content types to include in recommendations (courses, programs, pathways, skills, roles, resources)
1091
- */
1092
- content?: Array<string>,
1093
- /**
1094
- * Retrieve a specific course by ID
1095
- */
1096
- courseId?: string,
1097
- /**
1098
- * Filter by course duration range
1099
- */
1100
- duration?: Array<string>,
1101
- /**
1102
- * Filter by content language
1103
- */
1104
- language?: Array<string>,
1105
- /**
1106
- * Filter by difficulty level
1107
- */
1108
- level?: Array<string>,
1109
- /**
1110
- * Number of results per page
1111
- */
1112
- limit?: number,
1113
- /**
1114
- * Starting position for pagination
1115
- */
1116
- offset?: number,
1117
- /**
1118
- * Retrieve a specific pathway by ID
1119
- */
1120
- pathwayId?: string,
1121
- /**
1122
- * Filter by price/audit status
1123
- */
1124
- price?: string,
1125
- /**
1126
- * Retrieve a specific program by ID
1127
- */
1128
- programId?: string,
1129
- /**
1130
- * Filter by program type
1131
- */
1132
- programType?: Array<string>,
1133
- /**
1134
- * Search term to filter content by name or description
1135
- */
1136
- query?: string,
1137
- /**
1138
- * Retrieve a specific resource by ID
1139
- */
1140
- resourceId?: string,
1141
- /**
1142
- * Filter by resource type
1143
- */
1144
- resourceType?: Array<string>,
1145
- /**
1146
- * Retrieve a specific role by ID
1147
- */
1148
- roleId?: string,
1149
- /**
1150
- * Filter by course format (self-paced, instructor-led)
1151
- */
1152
- selfPaced?: Array<string>,
1153
- /**
1154
- * Retrieve a specific skill by ID
1155
- */
1156
- skillId?: string,
1157
- /**
1158
- * Filter by skills
1159
- */
1160
- skills?: Array<string>,
1161
- /**
1162
- * Filter by subject areas
1163
- */
1164
- subject?: Array<string>,
1165
- /**
1166
- * Filter by tags
1167
- */
1168
- tags?: Array<string>,
1169
- /**
1170
- * Filter by tenant/organization
1171
- */
1172
- tenant?: string,
1173
- /**
1174
- * Filter by topic areas
1175
- */
1176
- topics?: Array<string>,
1177
- }): CancelablePromise<RecommendedCoursesResponse> {
1178
- return __request(OpenAPI, {
1179
- method: 'GET',
1180
- url: '/api/search/orgs/{org}/users/{username}/recommended/',
1181
- path: {
1182
- 'org': org,
1183
- 'username': username,
1184
- },
1185
- query: {
1186
- 'certificate': certificate,
1187
- 'content': content,
1188
- 'course_id': courseId,
1189
- 'duration': duration,
1190
- 'language': language,
1191
- 'level': level,
1192
- 'limit': limit,
1193
- 'offset': offset,
1194
- 'pathway_id': pathwayId,
1195
- 'price': price,
1196
- 'program_id': programId,
1197
- 'program_type': programType,
1198
- 'query': query,
1199
- 'resource_id': resourceId,
1200
- 'resource_type': resourceType,
1201
- 'role_id': roleId,
1202
- 'self_paced': selfPaced,
1203
- 'skill_id': skillId,
1204
- 'skills': skills,
1205
- 'subject': subject,
1206
- 'tags': tags,
1207
- 'tenant': tenant,
1208
- 'topics': topics,
1209
- },
1210
- errors: {
1211
- 400: `Bad request`,
1212
- 404: `User not found`,
1213
- 500: `Server error`,
1214
- },
1215
- });
1216
- }
1217
- /**
1218
- * Determine whether to serve a detail view or a list view.
1219
- * If any detail-identifying parameters are present (course_id, program_id, etc.)
1220
- * the detail view is returned; otherwise the aggregated list view is returned.
1221
- * @returns any
1222
- * @throws ApiError
1223
- */
1224
- public static searchPersonalizedCatalogRetrieve({
1225
- username,
1226
- allowSkillSearch = false,
1227
- alphabetical = false,
1228
- certificate,
1229
- content,
1230
- courseId,
1231
- duration,
1232
- language,
1233
- level,
1234
- limit = 12,
1235
- offset,
1236
- orderAscending = false,
1237
- orderBy,
1238
- pathwayId,
1239
- price,
1240
- programId,
1241
- programType,
1242
- promotion,
1243
- query,
1244
- recommended = false,
1245
- resourceId,
1246
- resourceType,
1247
- returnFacet = true,
1248
- returnItems = false,
1249
- roleId,
1250
- selfPaced,
1251
- skillId,
1252
- skills,
1253
- subject,
1254
- tags,
1255
- tenant,
1256
- topics,
1257
- updateFacet,
1258
- }: {
1259
- username: string,
1260
- /**
1261
- * Enable skill-based search
1262
- */
1263
- allowSkillSearch?: boolean,
1264
- /**
1265
- * Sort alphabetically by name
1266
- */
1267
- alphabetical?: boolean,
1268
- /**
1269
- * Filter by certificate type
1270
- */
1271
- certificate?: Array<string>,
1272
- /**
1273
- * Content types to include in results
1274
- */
1275
- content?: Array<string>,
1276
- /**
1277
- * Retrieve a specific course by ID
1278
- */
1279
- courseId?: string,
1280
- /**
1281
- * Filter by course duration range
1282
- */
1283
- duration?: Array<string>,
1284
- /**
1285
- * Filter by content language
1286
- */
1287
- language?: Array<string>,
1288
- /**
1289
- * Filter by difficulty level
1290
- */
1291
- level?: Array<string>,
1292
- /**
1293
- * Number of results per page
1294
- */
1295
- limit?: number,
1296
- /**
1297
- * Starting position for pagination
1298
- */
1299
- offset?: number,
1300
- /**
1301
- * Sort direction
1302
- */
1303
- orderAscending?: boolean,
1304
- /**
1305
- * Field to sort results by
1306
- */
1307
- orderBy?: string,
1308
- /**
1309
- * Retrieve a specific pathway by ID
1310
- */
1311
- pathwayId?: string,
1312
- /**
1313
- * Filter by price/audit status
1314
- */
1315
- price?: string,
1316
- /**
1317
- * Retrieve a specific program by ID
1318
- */
1319
- programId?: string,
1320
- /**
1321
- * Filter by program type
1322
- */
1323
- programType?: Array<string>,
1324
- /**
1325
- * Filter by promotion status
1326
- */
1327
- promotion?: Array<string>,
1328
- /**
1329
- * Search term to filter content by name or description
1330
- */
1331
- query?: string,
1332
- /**
1333
- * Show only recommended content
1334
- */
1335
- recommended?: boolean,
1336
- /**
1337
- * Retrieve a specific resource by ID
1338
- */
1339
- resourceId?: string,
1340
- /**
1341
- * Filter by resource type
1342
- */
1343
- resourceType?: Array<string>,
1344
- /**
1345
- * Include facet data in response
1346
- */
1347
- returnFacet?: boolean,
1348
- /**
1349
- * Include items in programs/pathways
1350
- */
1351
- returnItems?: boolean,
1352
- /**
1353
- * Retrieve a specific role by ID
1354
- */
1355
- roleId?: string,
1356
- /**
1357
- * Filter by course format
1358
- */
1359
- selfPaced?: Array<string>,
1360
- /**
1361
- * Retrieve a specific skill by ID
1362
- */
1363
- skillId?: string,
1364
- /**
1365
- * Filter by skills
1366
- */
1367
- skills?: Array<string>,
1368
- /**
1369
- * Filter by subject areas
1370
- */
1371
- subject?: Array<string>,
1372
- /**
1373
- * Filter by tags
1374
- */
1375
- tags?: Array<string>,
1376
- /**
1377
- * Filter by tenant/organization
1378
- */
1379
- tenant?: string,
1380
- /**
1381
- * Filter by topic areas
1382
- */
1383
- topics?: Array<string>,
1384
- /**
1385
- * Force facet update
1386
- */
1387
- updateFacet?: string,
1388
- }): CancelablePromise<Record<string, any>> {
1389
- return __request(OpenAPI, {
1390
- method: 'GET',
1391
- url: '/api/search/personalized-catalog/{username}/',
1392
- path: {
1393
- 'username': username,
1394
- },
1395
- query: {
1396
- 'allow_skill_search': allowSkillSearch,
1397
- 'alphabetical': alphabetical,
1398
- 'certificate': certificate,
1399
- 'content': content,
1400
- 'course_id': courseId,
1401
- 'duration': duration,
1402
- 'language': language,
1403
- 'level': level,
1404
- 'limit': limit,
1405
- 'offset': offset,
1406
- 'order_ascending': orderAscending,
1407
- 'order_by': orderBy,
1408
- 'pathway_id': pathwayId,
1409
- 'price': price,
1410
- 'program_id': programId,
1411
- 'program_type': programType,
1412
- 'promotion': promotion,
1413
- 'query': query,
1414
- 'recommended': recommended,
1415
- 'resource_id': resourceId,
1416
- 'resource_type': resourceType,
1417
- 'return_facet': returnFacet,
1418
- 'return_items': returnItems,
1419
- 'role_id': roleId,
1420
- 'self_paced': selfPaced,
1421
- 'skill_id': skillId,
1422
- 'skills': skills,
1423
- 'subject': subject,
1424
- 'tags': tags,
1425
- 'tenant': tenant,
1426
- 'topics': topics,
1427
- 'update_facet': updateFacet,
1428
- },
1429
- });
1430
- }
1431
- /**
1432
- * Search and filter AI prompts across the platform.
1433
- *
1434
- * This endpoint provides a search interface for discovering AI prompts
1435
- * with support for filtering, pagination, and detailed prompt information.
1436
- *
1437
- * Query Parameters:
1438
- * # Identification parameters (for detail view)
1439
- * id (int, optional): Retrieve a specific prompt by ID
1440
- *
1441
- * # Search and filtering parameters
1442
- * query (str, optional): Search term to filter prompts by name or content
1443
- * category (str, optional): Filter by prompt category
1444
- * language (str, optional): Filter by prompt language
1445
- * style (str, optional): Filter by writing style
1446
- * tone (str, optional): Filter by tone
1447
- * tenant (str, optional): Filter by tenant/organization
1448
- * mentor (str, optional): Filter by associated mentor (UUID)
1449
- *
1450
- * # Sorting and pagination
1451
- * sort_by (str, optional): Field to sort results by
1452
- * order_direction (str, optional): Sort direction ('asc' or 'desc', default: 'desc')
1453
- * alphabetical (bool, optional): Sort alphabetically by name (default: false)
1454
- * limit (int, optional): Number of results per page (default: 10)
1455
- * offset (int, optional): Starting position for pagination
1456
- *
1457
- * # Special parameters
1458
- * filter_facet (any, optional): If present, return only facets without results
1459
- *
1460
- * Returns:
1461
- * For detail view (when id is provided):
1462
- * A JSON response containing a single prompt's details:
1463
- * {
1464
- * "id": 456,
1465
- * "name": "Essay Writing Guide",
1466
- * "content": "Write a well-structured essay on the following topic: {{topic}}...",
1467
- * "category": "Academic Writing",
1468
- * "language": "English",
1469
- * "style": "Formal",
1470
- * "tone": "Professional",
1471
- * "mentor": {
1472
- * "id": 123,
1473
- * "unique_id": "550e8400-e29b-41d4-a716-446655440000",
1474
- * "name": "Professor Smith"
1475
- * },
1476
- * "platform": {
1477
- * "id": 1,
1478
- * "name": "Example University",
1479
- * "key": "example-university"
1480
- * },
1481
- * "created_at": "2023-02-10T09:15:00Z",
1482
- * "updated_at": "2023-05-05T14:20:00Z",
1483
- * "visibility": "public",
1484
- * "variables": ["topic", "length", "style"]
1485
- * }
1486
- *
1487
- * For list view:
1488
- * A JSON response containing:
1489
- * {
1490
- * "results": [
1491
- * {
1492
- * "id": 456,
1493
- * "name": "Essay Writing Guide",
1494
- * "content": "Write a well-structured essay on the following topic: {{topic}}...",
1495
- * "category": "Academic Writing",
1496
- * "language": "English",
1497
- * "style": "Formal",
1498
- * "tone": "Professional",
1499
- * "mentor": {"id": 123, "name": "Professor Smith"},
1500
- * "created_at": "2023-02-10T09:15:00Z",
1501
- * "updated_at": "2023-05-05T14:20:00Z"
1502
- * },
1503
- * // Additional prompt objects...
1504
- * ],
1505
- * "count": 30,
1506
- * "next": "?limit=10&offset=10",
1507
- * "previous": null,
1508
- * "current_page": 1,
1509
- * "num_pages": 3,
1510
- * "facets": {
1511
- * "category": [
1512
- * {"key": "Academic Writing", "doc_count": 15},
1513
- * {"key": "Creative Writing", "doc_count": 10},
1514
- * {"key": "Technical Documentation", "doc_count": 5}
1515
- * ],
1516
- * "language": [
1517
- * {"key": "English", "doc_count": 25},
1518
- * {"key": "Spanish", "doc_count": 5}
1519
- * ],
1520
- * "style": [
1521
- * {"key": "Formal", "doc_count": 20},
1522
- * {"key": "Casual", "doc_count": 10}
1523
- * ],
1524
- * "tone": [
1525
- * {"key": "Professional", "doc_count": 15},
1526
- * {"key": "Friendly", "doc_count": 10},
1527
- * {"key": "Technical", "doc_count": 5}
1528
- * ]
1529
- * }
1530
- * }
1531
- *
1532
- * Error Responses:
1533
- * 400 Bad Request: If the request parameters are invalid
1534
- * 403 Forbidden: If the requested prompt exists but is not publicly available
1535
- * 404 Not Found: If the requested prompt doesn't exist
1536
- * 500 Internal Server Error: If an unexpected error occurs
1537
- *
1538
- * Notes:
1539
- * - Only publicly available prompts are returned by default
1540
- * - When filtering by mentor, the mentor ID must be a valid UUID
1541
- * @returns PromptSearchResponse
1542
- * @throws ApiError
1543
- */
1544
- public static searchPromptsRetrieve({
1545
- alphabetical = false,
1546
- category,
1547
- createdBy,
1548
- filterFacet,
1549
- language,
1550
- limit = 10,
1551
- mentor,
1552
- offset,
1553
- orderDirection = 'desc',
1554
- query,
1555
- sortBy,
1556
- style,
1557
- tenant,
1558
- tone,
1559
- }: {
1560
- /**
1561
- * Sort alphabetically
1562
- */
1563
- alphabetical?: boolean,
1564
- /**
1565
- * Filter by prompt category
1566
- */
1567
- category?: string,
1568
- /**
1569
- * Filter prompts created by specific user
1570
- */
1571
- createdBy?: string,
1572
- /**
1573
- * If true, return only facets without results
1574
- */
1575
- filterFacet?: boolean,
1576
- /**
1577
- * Filter by prompt language
1578
- */
1579
- language?: string,
1580
- /**
1581
- * Number of results per page
1582
- */
1583
- limit?: number,
1584
- /**
1585
- * Filter by mentor UUID
1586
- */
1587
- mentor?: string,
1588
- /**
1589
- * Starting position for pagination
1590
- */
1591
- offset?: number,
1592
- /**
1593
- * Sort direction ('asc' or 'desc')
1594
- */
1595
- orderDirection?: string,
1596
- /**
1597
- * Search term to filter prompts by name or content
1598
- */
1599
- query?: string,
1600
- /**
1601
- * Field to sort results by
1602
- */
1603
- sortBy?: string,
1604
- /**
1605
- * Filter by prompt style
1606
- */
1607
- style?: string,
1608
- /**
1609
- * Filter by tenant/organization
1610
- */
1611
- tenant?: string,
1612
- /**
1613
- * Filter by prompt tone
1614
- */
1615
- tone?: string,
1616
- }): CancelablePromise<PromptSearchResponse> {
1617
- return __request(OpenAPI, {
1618
- method: 'GET',
1619
- url: '/api/search/prompts/',
1620
- query: {
1621
- 'alphabetical': alphabetical,
1622
- 'category': category,
1623
- 'created_by': createdBy,
1624
- 'filter_facet': filterFacet,
1625
- 'language': language,
1626
- 'limit': limit,
1627
- 'mentor': mentor,
1628
- 'offset': offset,
1629
- 'order_direction': orderDirection,
1630
- 'query': query,
1631
- 'sort_by': sortBy,
1632
- 'style': style,
1633
- 'tenant': tenant,
1634
- 'tone': tone,
1635
- },
1636
- errors: {
1637
- 400: `Bad request`,
1638
- 500: `Server error`,
1639
- },
1640
- });
1641
- }
1642
- /**
1643
- * Search and filter users within a specific organization/tenant.
1644
- *
1645
- * This endpoint provides a search interface for discovering users within an organization,
1646
- * with support for filtering by departments, pagination, and faceted filtering.
1647
- *
1648
- * Path Parameters:
1649
- * org (str): The organization/tenant identifier
1650
- * username (str): The username of the user making the request
1651
- *
1652
- * Query Parameters:
1653
- * # Search parameters
1654
- * query (str, optional): Search term to filter users by name, username, or email
1655
- *
1656
- * # Department filtering
1657
- * department_mode (bool, optional): Enable department-based filtering (default: false)
1658
- * user_department (bool, optional): Legacy parameter for department_mode (default: false)
1659
- * department (list, optional): Filter by specific departments
1660
- *
1661
- * # Additional filters
1662
- * role (list, optional): Filter by user role
1663
- * status (list, optional): Filter by user status (active, inactive)
1664
- * joined_date (list, optional): Filter by join date range
1665
- * last_login (list, optional): Filter by last login date range
1666
- *
1667
- * # Pagination
1668
- * limit (int, optional): Number of results per page (default: 10)
1669
- * offset (int, optional): Starting position for pagination
1670
- *
1671
- * Returns:
1672
- * A JSON response containing:
1673
- * ```
1674
- * {
1675
- * "results": [
1676
- * {
1677
- * "id": 123,
1678
- * "username": "john.doe",
1679
- * "email": "john.doe@example.com",
1680
- * "first_name": "John",
1681
- * "last_name": "Doe",
1682
- * "full_name": "John Doe",
1683
- * "profile_image": "https://example.com/profiles/john-doe.jpg",
1684
- * "role": "Student",
1685
- * "departments": ["Computer Science", "Data Science"],
1686
- * "status": "active",
1687
- * "joined_date": "2023-01-15T12:00:00Z",
1688
- * "last_login": "2023-06-20T15:30:00Z",
1689
- * "metadata": {
1690
- * "location": "New York",
1691
- * "title": "Software Engineer",
1692
- * "bio": "Experienced software engineer with a passion for education"
1693
- * }
1694
- * },
1695
- * // Additional user objects...
1696
- * ],
1697
- * "count": 50,
1698
- * "next": "https://api.example.com/api/search/users/example-org/admin/?limit=10&offset=10",
1699
- * "previous": null,
1700
- * "current_page": 1,
1701
- * "total_pages": 5,
1702
- * "facets": {
1703
- * "role": [
1704
- * {"key": "Student", "doc_count": 30},
1705
- * {"key": "Instructor", "doc_count": 15},
1706
- * {"key": "Admin", "doc_count": 5}
1707
- * ],
1708
- * "department": [
1709
- * {"key": "Computer Science", "doc_count": 20},
1710
- * {"key": "Data Science", "doc_count": 15},
1711
- * {"key": "Business", "doc_count": 10},
1712
- * {"key": "Engineering", "doc_count": 5}
1713
- * ],
1714
- * "status": [
1715
- * {"key": "active", "doc_count": 45},
1716
- * {"key": "inactive", "doc_count": 5}
1717
- * ]
1718
- * }
1719
- * }
1720
- * ```
1721
- * Error Responses:
1722
- * 400 Bad Request: If the request parameters are invalid
1723
- * 403 Forbidden: If the user doesn't have department admin privileges (when using department_mode)
1724
- * 404 Not Found: If the user or organization doesn't exist
1725
- * 500 Internal Server Error: If an unexpected error occurs
1726
- *
1727
- * Access Control:
1728
- * - The requesting user must have an active account in the specified organization
1729
- * - When department_mode is enabled, the user must be an admin of at least one department
1730
- * - Department filtering restricts results to users in departments where the requesting user is an admin
1731
- * @returns UserSearchResponse
1732
- * @throws ApiError
1733
- */
1734
- public static searchUsersOrgsUsersRetrieve({
1735
- org,
1736
- username,
1737
- department,
1738
- educationDegree,
1739
- educationFieldOfStudy,
1740
- educationInstitution,
1741
- includeMembershipData = false,
1742
- limit = 10,
1743
- offset,
1744
- q,
1745
- userResumeCompany,
1746
- userResumeIndustry,
1747
- userResumeJobTitle,
1748
- userResumeLocation,
1749
- userResumeSkills,
1750
- }: {
1751
- org: string,
1752
- username: string,
1753
- /**
1754
- * Filter by department names
1755
- */
1756
- department?: Array<string>,
1757
- /**
1758
- * Filter by degree
1759
- */
1760
- educationDegree?: string,
1761
- /**
1762
- * Filter by field of study
1763
- */
1764
- educationFieldOfStudy?: string,
1765
- /**
1766
- * Filter by institution
1767
- */
1768
- educationInstitution?: string,
1769
- /**
1770
- * Include user group membership data in results
1771
- */
1772
- includeMembershipData?: boolean,
1773
- /**
1774
- * Number of results per page
1775
- */
1776
- limit?: number,
1777
- /**
1778
- * Starting position for pagination
1779
- */
1780
- offset?: number,
1781
- /**
1782
- * Search term to filter users by name, email, or other attributes
1783
- */
1784
- q?: string,
1785
- /**
1786
- * Filter by company
1787
- */
1788
- userResumeCompany?: string,
1789
- /**
1790
- * Filter by industry
1791
- */
1792
- userResumeIndustry?: string,
1793
- /**
1794
- * Filter by job title
1795
- */
1796
- userResumeJobTitle?: string,
1797
- /**
1798
- * Filter by location
1799
- */
1800
- userResumeLocation?: string,
1801
- /**
1802
- * Filter by skills
1803
- */
1804
- userResumeSkills?: string,
1805
- }): CancelablePromise<UserSearchResponse> {
1806
- return __request(OpenAPI, {
1807
- method: 'GET',
1808
- url: '/api/search/users/orgs/{org}/users/{username}/',
1809
- path: {
1810
- 'org': org,
1811
- 'username': username,
1812
- },
1813
- query: {
1814
- 'department': department,
1815
- 'education__degree': educationDegree,
1816
- 'education__field_of_study': educationFieldOfStudy,
1817
- 'education__institution': educationInstitution,
1818
- 'include_membership_data': includeMembershipData,
1819
- 'limit': limit,
1820
- 'offset': offset,
1821
- 'q': q,
1822
- 'user_resume__company': userResumeCompany,
1823
- 'user_resume__industry': userResumeIndustry,
1824
- 'user_resume__job_title': userResumeJobTitle,
1825
- 'user_resume__location': userResumeLocation,
1826
- 'user_resume__skills': userResumeSkills,
1827
- },
1828
- errors: {
1829
- 400: `Bad request`,
1830
- 403: `Forbidden`,
1831
- 404: `Not found`,
1832
- 500: `Server error`,
1833
- },
1834
- });
1835
- }
1836
- }
634
+ * // Additional user objects...
635
+ * ],
636
+ * "count": 50,
637
+ * "next": "https://api.example.com/api/search/users/example-org/admin/?limit=10&offset=10",
638
+ * "previous": null,
639
+ * "current_page": 1,
640
+ * "total_pages": 5,
641
+ * "facets": {
642
+ * "role": [
643
+ * {"key": "Student", "doc_count": 30},
644
+ * {"key": "Instructor", "doc_count": 15},
645
+ * {"key": "Admin", "doc_count": 5}
646
+ * ],
647
+ * "department": [
648
+ * {"key": "Computer Science", "doc_count": 20},
649
+ * {"key": "Data Science", "doc_count": 15},
650
+ * {"key": "Business", "doc_count": 10},
651
+ * {"key": "Engineering", "doc_count": 5}
652
+ * ],
653
+ * "status": [
654
+ * {"key": "active", "doc_count": 45},
655
+ * {"key": "inactive", "doc_count": 5}
656
+ * ]
657
+ * }
658
+ * }
659
+ * ```
660
+ * Error Responses:
661
+ * 400 Bad Request: If the request parameters are invalid
662
+ * 403 Forbidden: If the user doesn't have department admin privileges (when using department_mode)
663
+ * 404 Not Found: If the user or organization doesn't exist
664
+ * 500 Internal Server Error: If an unexpected error occurs
665
+ *
666
+ * Access Control:
667
+ * - The requesting user must have an active account in the specified organization
668
+ * - When department_mode is enabled, the user must be an admin of at least one department
669
+ * - Department filtering restricts results to users in departments where the requesting user is an admin
670
+ * @returns UserSearchResponse
671
+ * @throws ApiError
672
+ */
673
+ public static searchUsersOrgsUsersRetrieve({
674
+ org,
675
+ username,
676
+ department,
677
+ educationDegree,
678
+ educationFieldOfStudy,
679
+ educationInstitution,
680
+ includeMembershipData = false,
681
+ limit = 10,
682
+ offset,
683
+ q,
684
+ userResumeCompany,
685
+ userResumeIndustry,
686
+ userResumeJobTitle,
687
+ userResumeLocation,
688
+ userResumeSkills,
689
+ }: {
690
+ org: string,
691
+ username: string,
692
+ /**
693
+ * Filter by department names
694
+ */
695
+ department?: Array<string>,
696
+ /**
697
+ * Filter by degree
698
+ */
699
+ educationDegree?: string,
700
+ /**
701
+ * Filter by field of study
702
+ */
703
+ educationFieldOfStudy?: string,
704
+ /**
705
+ * Filter by institution
706
+ */
707
+ educationInstitution?: string,
708
+ /**
709
+ * Include user group membership data in results
710
+ */
711
+ includeMembershipData?: boolean,
712
+ /**
713
+ * Number of results per page
714
+ */
715
+ limit?: number,
716
+ /**
717
+ * Starting position for pagination
718
+ */
719
+ offset?: number,
720
+ /**
721
+ * Search term to filter users by name, email, or other attributes
722
+ */
723
+ q?: string,
724
+ /**
725
+ * Filter by company
726
+ */
727
+ userResumeCompany?: string,
728
+ /**
729
+ * Filter by industry
730
+ */
731
+ userResumeIndustry?: string,
732
+ /**
733
+ * Filter by job title
734
+ */
735
+ userResumeJobTitle?: string,
736
+ /**
737
+ * Filter by location
738
+ */
739
+ userResumeLocation?: string,
740
+ /**
741
+ * Filter by skills
742
+ */
743
+ userResumeSkills?: string,
744
+ }): CancelablePromise<UserSearchResponse> {
745
+ return __request(OpenAPI, {
746
+ method: 'GET',
747
+ url: '/api/search/users/orgs/{org}/users/{username}/',
748
+ path: {
749
+ 'org': org,
750
+ 'username': username,
751
+ },
752
+ query: {
753
+ 'department': department,
754
+ 'education__degree': educationDegree,
755
+ 'education__field_of_study': educationFieldOfStudy,
756
+ 'education__institution': educationInstitution,
757
+ 'include_membership_data': includeMembershipData,
758
+ 'limit': limit,
759
+ 'offset': offset,
760
+ 'q': q,
761
+ 'user_resume__company': userResumeCompany,
762
+ 'user_resume__industry': userResumeIndustry,
763
+ 'user_resume__job_title': userResumeJobTitle,
764
+ 'user_resume__location': userResumeLocation,
765
+ 'user_resume__skills': userResumeSkills,
766
+ },
767
+ errors: {
768
+ 400: `Bad request`,
769
+ 403: `Forbidden`,
770
+ 404: `Not found`,
771
+ 500: `Server error`,
772
+ },
773
+ });
774
+ }
775
+ }