@iblai/iblai-api 4.303.0-test-core → 4.303.0-test-ai

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1121) hide show
  1. package/dist/index.cjs.js +27052 -6690
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +27043 -6691
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.umd.js +27052 -6690
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/types/index.d.ts +551 -0
  8. package/dist/types/models/AIGeneratedImage.d.ts +13 -0
  9. package/dist/types/models/AIUserProfileMemoryRelation.d.ts +4 -0
  10. package/dist/types/models/AIUserProfileRequest.d.ts +4 -0
  11. package/dist/types/models/AccessEnum.d.ts +8 -0
  12. package/dist/types/models/AccessTimesHeatmap.d.ts +5 -0
  13. package/dist/types/models/AccessibleMentorsByEmailRequest.d.ts +13 -0
  14. package/dist/types/models/AccessibleMentorsByEmailResponse.d.ts +13 -0
  15. package/dist/types/models/ActionBreakdown.d.ts +10 -0
  16. package/dist/types/models/AddMentorToDisclaimer.d.ts +12 -0
  17. package/dist/types/models/AdminIntegrationCredential.d.ts +17 -0
  18. package/dist/types/models/AgentSkill.d.ts +35 -0
  19. package/dist/types/models/AgentSkillResource.d.ts +17 -0
  20. package/dist/types/models/AlignMentorBubbleEnum.d.ts +8 -0
  21. package/dist/types/models/AnalyticsOverview.d.ts +7 -0
  22. package/dist/types/models/Answer.d.ts +11 -0
  23. package/dist/types/models/Artifact.d.ts +60 -0
  24. package/dist/types/models/ArtifactList.d.ts +42 -0
  25. package/dist/types/models/ArtifactVersion.d.ts +55 -0
  26. package/dist/types/models/AssumedKnowledge.d.ts +4 -0
  27. package/dist/types/models/AssumedKnowledgeLevel.d.ts +4 -0
  28. package/dist/types/models/AudioToTextRequest.d.ts +3 -0
  29. package/dist/types/models/AudioToTextResponse.d.ts +3 -0
  30. package/dist/types/models/AuthModeEnum.d.ts +12 -0
  31. package/dist/types/models/AuthScopeEnum.d.ts +10 -0
  32. package/dist/types/models/AuthTypeEnum.d.ts +10 -0
  33. package/dist/types/models/BaseFinanceResponse.d.ts +37 -0
  34. package/dist/types/models/BillingPeriod.d.ts +8 -0
  35. package/dist/types/models/Bot.d.ts +15 -0
  36. package/dist/types/models/BotCommand.d.ts +6 -0
  37. package/dist/types/models/BotCreate.d.ts +12 -0
  38. package/dist/types/models/Breakdown.d.ts +11 -0
  39. package/dist/types/models/CallAuthenticationRequest.d.ts +17 -0
  40. package/dist/types/models/CallAuthenticationResponse.d.ts +21 -0
  41. package/dist/types/models/CallConfiguration.d.ts +38 -0
  42. package/dist/types/models/CallConfigurationModeEnum.d.ts +8 -0
  43. package/dist/types/models/ChatCompletionRequest.d.ts +27 -0
  44. package/dist/types/models/ChatHistory.d.ts +20 -0
  45. package/dist/types/models/ChatHistoryFilterData.d.ts +9 -0
  46. package/dist/types/models/ChatHistoryFilterUser.d.ts +5 -0
  47. package/dist/types/models/ChatHistoryItem.d.ts +6 -0
  48. package/dist/types/models/ChatHistorySessionId.d.ts +3 -0
  49. package/dist/types/models/ChatPrivacyModeEnum.d.ts +10 -0
  50. package/dist/types/models/ChatRunTracker.d.ts +34 -0
  51. package/dist/types/models/ChatRunTrackerStatusEnum.d.ts +10 -0
  52. package/dist/types/models/ChatSessionRequest.d.ts +19 -0
  53. package/dist/types/models/ChatSessionResponse.d.ts +8 -0
  54. package/dist/types/models/CheckDocumentTrainingStatus.d.ts +10 -0
  55. package/dist/types/models/ClawConfigGetResponse.d.ts +19 -0
  56. package/dist/types/models/ClawInstance.d.ts +46 -0
  57. package/dist/types/models/ClawInstanceStatusEnum.d.ts +10 -0
  58. package/dist/types/models/ClawMentorConfig.d.ts +27 -0
  59. package/dist/types/models/ClawModelProvider.d.ts +40 -0
  60. package/dist/types/models/ClawRpcError.d.ts +7 -0
  61. package/dist/types/models/ClawTypeEnum.d.ts +8 -0
  62. package/dist/types/models/ComparisonInfo.d.ts +29 -0
  63. package/dist/types/models/ConnectedService.d.ts +28 -0
  64. package/dist/types/models/ConversationChartPoint.d.ts +4 -0
  65. package/dist/types/models/ConversationDetailResponse.d.ts +4 -0
  66. package/dist/types/models/ConversationListItem.d.ts +24 -0
  67. package/dist/types/models/ConversationListResponse.d.ts +6 -0
  68. package/dist/types/models/ConversationMessage.d.ts +11 -0
  69. package/dist/types/models/ConversationRating.d.ts +6 -0
  70. package/dist/types/models/ConversationSummary.d.ts +5 -0
  71. package/dist/types/models/ConversationVolume.d.ts +4 -0
  72. package/dist/types/models/Conversations.d.ts +54 -0
  73. package/dist/types/models/ConversationsChart.d.ts +5 -0
  74. package/dist/types/models/Cost.d.ts +3 -0
  75. package/dist/types/models/CostPerTenant.d.ts +6 -0
  76. package/dist/types/models/CourseCreationTask.d.ts +36 -0
  77. package/dist/types/models/CourseCreationTaskFile.d.ts +7 -0
  78. package/dist/types/models/CourseCreationTaskStatusEnum.d.ts +16 -0
  79. package/dist/types/models/CourseRecommendation.d.ts +49 -0
  80. package/dist/types/models/CrawlerPatternTypeEnum.d.ts +8 -0
  81. package/dist/types/models/CreateXblock.d.ts +37 -0
  82. package/dist/types/models/CredentialRequest.d.ts +14 -0
  83. package/dist/types/models/CronDelivery.d.ts +12 -0
  84. package/dist/types/models/CronDeliveryModeEnum.d.ts +10 -0
  85. package/dist/types/models/CronJobCreate.d.ts +22 -0
  86. package/dist/types/models/CronJobListResponse.d.ts +10 -0
  87. package/dist/types/models/CronJobResponse.d.ts +28 -0
  88. package/dist/types/models/CronPayload.d.ts +19 -0
  89. package/dist/types/models/CronPayloadKindEnum.d.ts +8 -0
  90. package/dist/types/models/CronRunAction.d.ts +7 -0
  91. package/dist/types/models/CronRunActionModeEnum.d.ts +8 -0
  92. package/dist/types/models/CronRunLogEntry.d.ts +25 -0
  93. package/dist/types/models/CronRunLogEntryStatusEnum.d.ts +10 -0
  94. package/dist/types/models/CronRunResult.d.ts +8 -0
  95. package/dist/types/models/CronRunsResponse.d.ts +10 -0
  96. package/dist/types/models/CronSchedule.d.ts +17 -0
  97. package/dist/types/models/CronScheduleKindEnum.d.ts +10 -0
  98. package/dist/types/models/CronStatusResponse.d.ts +14 -0
  99. package/dist/types/models/CrontabSchedule.d.ts +22 -0
  100. package/dist/types/models/CurrentUsersResponse.d.ts +8 -0
  101. package/dist/types/models/CustomInstructionResponse.d.ts +13 -0
  102. package/dist/types/models/DataTypeEnum.d.ts +10 -0
  103. package/dist/types/models/Dataset.d.ts +12 -0
  104. package/dist/types/models/DatasetCreate.d.ts +8 -0
  105. package/dist/types/models/DatasetItem.d.ts +20 -0
  106. package/dist/types/models/DatasetItemBulkCreateResponse.d.ts +5 -0
  107. package/dist/types/models/DatasetItemCreate.d.ts +10 -0
  108. package/dist/types/models/DatasetItemInput.d.ts +7 -0
  109. package/dist/types/models/DatasetItemUpdate.d.ts +10 -0
  110. package/dist/types/models/DatasetItemUpdateStatusEnum.d.ts +8 -0
  111. package/dist/types/models/DatasetRunItem.d.ts +16 -0
  112. package/dist/types/models/DateRange.d.ts +4 -0
  113. package/dist/types/models/DeleteXblock.d.ts +9 -0
  114. package/dist/types/models/DeliveryStatusEnum.d.ts +12 -0
  115. package/dist/types/models/DeployStateEnum.d.ts +14 -0
  116. package/dist/types/models/Disclaimer.d.ts +17 -0
  117. package/dist/types/models/DisclaimerAgreement.d.ts +11 -0
  118. package/dist/types/models/DisclaimerScopeEnum.d.ts +8 -0
  119. package/dist/types/models/DiscordConfig.d.ts +7 -0
  120. package/dist/types/models/DiscordUserConfig.d.ts +10 -0
  121. package/dist/types/models/DiscordWebhook.d.ts +6 -0
  122. package/dist/types/models/Document.d.ts +41 -0
  123. package/dist/types/models/DocumentFacet.d.ts +17 -0
  124. package/dist/types/models/DocumentFromPoolRequest.d.ts +10 -0
  125. package/dist/types/models/DocumentSearchResponse.d.ts +35 -0
  126. package/dist/types/models/DocumentSettingsResponse.d.ts +3 -0
  127. package/dist/types/models/EdxCourse.d.ts +12 -0
  128. package/dist/types/models/ElevenlabsCustomVoice.d.ts +4 -0
  129. package/dist/types/models/ElevenlabsCustomVoiceResponse.d.ts +8 -0
  130. package/dist/types/models/EmailPromptDetail.d.ts +13 -0
  131. package/dist/types/models/EmailPromptList.d.ts +11 -0
  132. package/dist/types/models/EmailPromptSummary.d.ts +5 -0
  133. package/dist/types/models/Entity.d.ts +11 -0
  134. package/dist/types/models/EntityTypeEnum.d.ts +10 -0
  135. package/dist/types/models/Error.d.ts +3 -0
  136. package/dist/types/models/ExperimentCreate.d.ts +8 -0
  137. package/dist/types/models/ExternalProxyInvoke.d.ts +19 -0
  138. package/dist/types/models/ExternalProxyServiceDetail.d.ts +23 -0
  139. package/dist/types/models/ExternalProxyServiceList.d.ts +14 -0
  140. package/dist/types/models/ExternalServiceInfo.d.ts +6 -0
  141. package/dist/types/models/FailureCategoryEnum.d.ts +28 -0
  142. package/dist/types/models/FallbackLLM.d.ts +47 -0
  143. package/dist/types/models/FallbackLLMCreate.d.ts +38 -0
  144. package/dist/types/models/FallbackLLMUpdate.d.ts +33 -0
  145. package/dist/types/models/FeedbackModeEnum.d.ts +10 -0
  146. package/dist/types/models/FileTypeEnum.d.ts +10 -0
  147. package/dist/types/models/FileUploadURLRequest.d.ts +21 -0
  148. package/dist/types/models/FileUploadURLResponse.d.ts +25 -0
  149. package/dist/types/models/FinanceDetailsResponse.d.ts +13 -0
  150. package/dist/types/models/FinanceFilters.d.ts +15 -0
  151. package/dist/types/models/FreeUsageCount.d.ts +3 -0
  152. package/dist/types/models/GoogleAgentDetail.d.ts +17 -0
  153. package/dist/types/models/GraderCriterion.d.ts +15 -0
  154. package/dist/types/models/GradingModeEnum.d.ts +8 -0
  155. package/dist/types/models/GrantMentorAccessRequest.d.ts +9 -0
  156. package/dist/types/models/GreetingMethodEnum.d.ts +8 -0
  157. package/dist/types/models/GuidedPrompt.d.ts +4 -0
  158. package/dist/types/models/GuidedPromptsResponse.d.ts +5 -0
  159. package/dist/types/models/HeygenMarketingVideoDetail.d.ts +8 -0
  160. package/dist/types/models/HeygenMarketingVideoList.d.ts +6 -0
  161. package/dist/types/models/HeygenTemplateRequest.d.ts +5 -0
  162. package/dist/types/models/HeygenTemplateResponseSingle.d.ts +6 -0
  163. package/dist/types/models/HeygenVideoDetail.d.ts +8 -0
  164. package/dist/types/models/HeygenVideoRequest.d.ts +5 -0
  165. package/dist/types/models/HumanSupportTicket.d.ts +23 -0
  166. package/dist/types/models/HumanSupportTicketStatusEnum.d.ts +10 -0
  167. package/dist/types/models/InputQuestion.d.ts +6 -0
  168. package/dist/types/models/IntegrationCredential.d.ts +25 -0
  169. package/dist/types/models/IntegrationCredentialSchema.d.ts +6 -0
  170. package/dist/types/models/IntegrationCredentialSchemaV2.d.ts +10 -0
  171. package/dist/types/models/InterfaceEnum.d.ts +8 -0
  172. package/dist/types/models/IntialQuestionAnswer.d.ts +3 -0
  173. package/dist/types/models/InvalidQueryParameters.d.ts +3 -0
  174. package/dist/types/models/InvoiceReportResponse.d.ts +13 -0
  175. package/dist/types/models/JobRun.d.ts +11 -0
  176. package/dist/types/models/JudgeRecord.d.ts +18 -0
  177. package/dist/types/models/LLMCredentialRequest.d.ts +14 -0
  178. package/dist/types/models/LLMCredentialResponse.d.ts +10 -0
  179. package/dist/types/models/LLMCredentialSchema.d.ts +6 -0
  180. package/dist/types/models/LLMJudge.d.ts +10 -0
  181. package/dist/types/models/LLMModelForTenant.d.ts +6 -0
  182. package/dist/types/models/LLMModelRegistryMinimal.d.ts +15 -0
  183. package/dist/types/models/LLMProviderMinimal.d.ts +28 -0
  184. package/dist/types/models/LLMQuestion.d.ts +15 -0
  185. package/dist/types/models/LLMResponse.d.ts +18 -0
  186. package/dist/types/models/LLMTracesListResponse.d.ts +5 -0
  187. package/dist/types/models/LanguagesView.d.ts +5 -0
  188. package/dist/types/models/LinkCourseRequest.d.ts +3 -0
  189. package/dist/types/models/LinkCourseResponse.d.ts +5 -0
  190. package/dist/types/models/LlmProviderEnum.d.ts +10 -0
  191. package/dist/types/models/MCPServer.d.ts +65 -0
  192. package/dist/types/models/MCPServerConnection.d.ts +47 -0
  193. package/dist/types/models/MCPServerConnectionScopeEnum.d.ts +10 -0
  194. package/dist/types/models/MCPServerOauthFind.d.ts +5 -0
  195. package/dist/types/models/MCPServerTransportEnum.d.ts +10 -0
  196. package/dist/types/models/MaskedIntegrationCredential.d.ts +25 -0
  197. package/dist/types/models/MaskedLLMCredential.d.ts +10 -0
  198. package/dist/types/models/McpServerConfig.d.ts +17 -0
  199. package/dist/types/models/McpServerConfigTransportEnum.d.ts +8 -0
  200. package/dist/types/models/McpServerCreate.d.ts +8 -0
  201. package/dist/types/models/McpServerEntry.d.ts +8 -0
  202. package/dist/types/models/McpServerListResponse.d.ts +4 -0
  203. package/dist/types/models/MemoryComponentData.d.ts +5 -0
  204. package/dist/types/models/MemoryComponentDataKindEnum.d.ts +10 -0
  205. package/dist/types/models/MemoryComponentMemory.d.ts +4 -0
  206. package/dist/types/models/MemoryComponentMemoryDetail.d.ts +8 -0
  207. package/dist/types/models/MemoryComponentResponse.d.ts +5 -0
  208. package/dist/types/models/MemoryProgress.d.ts +8 -0
  209. package/dist/types/models/MemoryStatusRequestView.d.ts +6 -0
  210. package/dist/types/models/MemoryStatusView.d.ts +6 -0
  211. package/dist/types/models/Mentor.d.ts +248 -0
  212. package/dist/types/models/MentorAudience.d.ts +5 -0
  213. package/dist/types/models/MentorAuditLogEntry.d.ts +43 -0
  214. package/dist/types/models/MentorBreakdown.d.ts +9 -0
  215. package/dist/types/models/MentorCategory.d.ts +9 -0
  216. package/dist/types/models/MentorCategoryCreate.d.ts +11 -0
  217. package/dist/types/models/MentorCategoryGroup.d.ts +11 -0
  218. package/dist/types/models/MentorCategoryGroupCreate.d.ts +11 -0
  219. package/dist/types/models/MentorCreate.d.ts +238 -0
  220. package/dist/types/models/MentorCustomVoice.d.ts +4 -0
  221. package/dist/types/models/MentorCustomVoiceResponse.d.ts +4 -0
  222. package/dist/types/models/MentorData.d.ts +7 -0
  223. package/dist/types/models/MentorDetailAnalytics.d.ts +6 -0
  224. package/dist/types/models/MentorEval.d.ts +11 -0
  225. package/dist/types/models/MentorEvalQuestion.d.ts +5 -0
  226. package/dist/types/models/MentorEvalQuestionRequest.d.ts +4 -0
  227. package/dist/types/models/MentorEvalReport.d.ts +10 -0
  228. package/dist/types/models/MentorEvalRequest.d.ts +8 -0
  229. package/dist/types/models/MentorFacet.d.ts +17 -0
  230. package/dist/types/models/MentorFork.d.ts +5 -0
  231. package/dist/types/models/MentorFromTemplate.d.ts +3 -0
  232. package/dist/types/models/MentorFromTemplateWithSettingRequest.d.ts +78 -0
  233. package/dist/types/models/MentorFromTemplateWithSettingRequestVoiceProviderEnum.d.ts +8 -0
  234. package/dist/types/models/MentorGraderConfig.d.ts +24 -0
  235. package/dist/types/models/MentorMemorySettingsRequest.d.ts +6 -0
  236. package/dist/types/models/MentorMemorySettingsResponse.d.ts +6 -0
  237. package/dist/types/models/MentorMetadata.d.ts +5 -0
  238. package/dist/types/models/MentorScenario.d.ts +6 -0
  239. package/dist/types/models/MentorScenarioPrompt.d.ts +5 -0
  240. package/dist/types/models/MentorSearchResponse.d.ts +35 -0
  241. package/dist/types/models/MentorSession.d.ts +4 -0
  242. package/dist/types/models/MentorSettings.d.ts +135 -0
  243. package/dist/types/models/MentorSettingsPublic.d.ts +95 -0
  244. package/dist/types/models/MentorSettingsRequest.d.ts +115 -0
  245. package/dist/types/models/MentorSettingsRequestVoiceProviderEnum.d.ts +10 -0
  246. package/dist/types/models/MentorSkillAssignment.d.ts +12 -0
  247. package/dist/types/models/MentorSummary.d.ts +5 -0
  248. package/dist/types/models/MentorType.d.ts +5 -0
  249. package/dist/types/models/MentorUserSetting.d.ts +4 -0
  250. package/dist/types/models/MentorVisibilityEnum.d.ts +10 -0
  251. package/dist/types/models/MentorWizard.d.ts +4 -0
  252. package/dist/types/models/MessageStatistics.d.ts +5 -0
  253. package/dist/types/models/MessageView.d.ts +12 -0
  254. package/dist/types/models/MessageViewRequest.d.ts +9 -0
  255. package/dist/types/models/MessageViewUpdatResponse.d.ts +3 -0
  256. package/dist/types/models/Metadata.d.ts +5 -0
  257. package/dist/types/models/MetricChange.d.ts +4 -0
  258. package/dist/types/models/MetricInfo.d.ts +5 -0
  259. package/dist/types/models/ModalityEnum.d.ts +10 -0
  260. package/dist/types/models/ModelCost.d.ts +4 -0
  261. package/dist/types/models/ModerationLog.d.ts +12 -0
  262. package/dist/types/models/NameEnum.d.ts +14 -0
  263. package/dist/types/models/NoChatMessagesFound.d.ts +3 -0
  264. package/dist/types/models/OAuthProvider.d.ts +24 -0
  265. package/dist/types/models/OAuthService.d.ts +18 -0
  266. package/dist/types/models/OAuthStartResponse.d.ts +3 -0
  267. package/dist/types/models/OauthCredentialsMasked.d.ts +10 -0
  268. package/dist/types/models/Observation.d.ts +31 -0
  269. package/dist/types/models/OfflineDocument.d.ts +19 -0
  270. package/dist/types/models/OvertimeData.d.ts +13 -0
  271. package/dist/types/models/PageContent.d.ts +6 -0
  272. package/dist/types/models/PaginatedAIGeneratedImageList.d.ts +7 -0
  273. package/dist/types/models/PaginatedAgentSkillList.d.ts +7 -0
  274. package/dist/types/models/PaginatedAgentSkillResourceList.d.ts +7 -0
  275. package/dist/types/models/PaginatedArtifactListList.d.ts +7 -0
  276. package/dist/types/models/PaginatedArtifactVersionList.d.ts +7 -0
  277. package/dist/types/models/PaginatedChatRunTrackerList.d.ts +7 -0
  278. package/dist/types/models/PaginatedClawInstanceList.d.ts +7 -0
  279. package/dist/types/models/PaginatedClawModelProviderList.d.ts +7 -0
  280. package/dist/types/models/PaginatedConversationsList.d.ts +7 -0
  281. package/dist/types/models/PaginatedCourseCreationTaskFileList.d.ts +7 -0
  282. package/dist/types/models/PaginatedCourseCreationTaskList.d.ts +7 -0
  283. package/dist/types/models/PaginatedDatasetItemList.d.ts +7 -0
  284. package/dist/types/models/PaginatedDatasetList.d.ts +7 -0
  285. package/dist/types/models/PaginatedDisclaimerAgreementList.d.ts +7 -0
  286. package/dist/types/models/PaginatedDisclaimerList.d.ts +7 -0
  287. package/dist/types/models/PaginatedEdxCourseList.d.ts +7 -0
  288. package/dist/types/models/PaginatedEmailPromptListList.d.ts +7 -0
  289. package/dist/types/models/PaginatedGoogleAgentDetailList.d.ts +7 -0
  290. package/dist/types/models/PaginatedGraderCriterionList.d.ts +7 -0
  291. package/dist/types/models/PaginatedHeygenMarketingVideoListList.d.ts +7 -0
  292. package/dist/types/models/PaginatedHeygenTemplateResponseSingleList.d.ts +7 -0
  293. package/dist/types/models/PaginatedHumanSupportTicketList.d.ts +7 -0
  294. package/dist/types/models/PaginatedJobRunList.d.ts +7 -0
  295. package/dist/types/models/PaginatedJudgeList.d.ts +7 -0
  296. package/dist/types/models/PaginatedMCPServerConnectionList.d.ts +7 -0
  297. package/dist/types/models/PaginatedMCPServerList.d.ts +7 -0
  298. package/dist/types/models/PaginatedMentorAuditLogEntryList.d.ts +7 -0
  299. package/dist/types/models/PaginatedMentorList.d.ts +7 -0
  300. package/dist/types/models/PaginatedMentorSkillAssignmentList.d.ts +7 -0
  301. package/dist/types/models/PaginatedModerationLogList.d.ts +7 -0
  302. package/dist/types/models/PaginatedObservationList.d.ts +7 -0
  303. package/dist/types/models/PaginatedOfflineDocumentList.d.ts +7 -0
  304. package/dist/types/models/PaginatedPeriodicAgentList.d.ts +7 -0
  305. package/dist/types/models/PaginatedPeriodicAgentLogList.d.ts +7 -0
  306. package/dist/types/models/PaginatedPlayWrightScriptList.d.ts +7 -0
  307. package/dist/types/models/PaginatedProjectList.d.ts +7 -0
  308. package/dist/types/models/PaginatedRetrieverDocumentEmbeddingList.d.ts +7 -0
  309. package/dist/types/models/PaginatedRunList.d.ts +7 -0
  310. package/dist/types/models/PaginatedScoreConfigList.d.ts +7 -0
  311. package/dist/types/models/PaginatedScoreList.d.ts +7 -0
  312. package/dist/types/models/PaginatedTicketMessageList.d.ts +7 -0
  313. package/dist/types/models/PaginatedTopicStatisticsResponse.d.ts +7 -0
  314. package/dist/types/models/PaginatedTraceList.d.ts +7 -0
  315. package/dist/types/models/PaginatedUserEdxMemoryList.d.ts +7 -0
  316. package/dist/types/models/PaginatedVeoVideoListList.d.ts +7 -0
  317. package/dist/types/models/PaginatedVoiceList.d.ts +7 -0
  318. package/dist/types/models/PaginatedWorkflowList.d.ts +7 -0
  319. package/dist/types/models/Pagination.d.ts +16 -11
  320. package/dist/types/models/PatchedAgentSkill.d.ts +35 -0
  321. package/dist/types/models/PatchedAgentSkillResource.d.ts +17 -0
  322. package/dist/types/models/PatchedArtifact.d.ts +60 -0
  323. package/dist/types/models/PatchedBotCommand.d.ts +6 -0
  324. package/dist/types/models/PatchedBotCreate.d.ts +12 -0
  325. package/dist/types/models/PatchedCallConfiguration.d.ts +38 -0
  326. package/dist/types/models/PatchedClawConfigPatchRequest.d.ts +14 -0
  327. package/dist/types/models/PatchedClawInstance.d.ts +46 -0
  328. package/dist/types/models/PatchedClawMentorConfig.d.ts +27 -0
  329. package/dist/types/models/PatchedClawModelProvider.d.ts +40 -0
  330. package/dist/types/models/PatchedConversations.d.ts +54 -0
  331. package/dist/types/models/PatchedCourseCreationTaskFile.d.ts +7 -0
  332. package/dist/types/models/PatchedCredentialRequest.d.ts +14 -0
  333. package/dist/types/models/PatchedCronJobPatch.d.ts +24 -0
  334. package/dist/types/models/PatchedDisclaimer.d.ts +17 -0
  335. package/dist/types/models/PatchedDiscordConfig.d.ts +7 -0
  336. package/dist/types/models/PatchedDiscordUserConfig.d.ts +10 -0
  337. package/dist/types/models/PatchedFallbackLLMUpdate.d.ts +33 -0
  338. package/dist/types/models/PatchedGoogleAgentDetail.d.ts +17 -0
  339. package/dist/types/models/PatchedGraderCriterion.d.ts +15 -0
  340. package/dist/types/models/PatchedHumanSupportTicket.d.ts +23 -0
  341. package/dist/types/models/PatchedLLMCredentialRequest.d.ts +14 -0
  342. package/dist/types/models/PatchedMCPServer.d.ts +65 -0
  343. package/dist/types/models/PatchedMCPServerConnection.d.ts +47 -0
  344. package/dist/types/models/PatchedMcpServerUpdate.d.ts +8 -0
  345. package/dist/types/models/PatchedMentorCategoryGroupCreate.d.ts +11 -0
  346. package/dist/types/models/PatchedMentorCreate.d.ts +238 -0
  347. package/dist/types/models/PatchedMentorFromTemplate.d.ts +3 -0
  348. package/dist/types/models/PatchedMentorGraderConfig.d.ts +24 -0
  349. package/dist/types/models/PatchedMentorSettings.d.ts +135 -0
  350. package/dist/types/models/PatchedMentorSkillAssignment.d.ts +12 -0
  351. package/dist/types/models/PatchedMentorWizard.d.ts +4 -0
  352. package/dist/types/models/PatchedPeriodicAgentCreate.d.ts +41 -0
  353. package/dist/types/models/PatchedPlayWrightScript.d.ts +12 -0
  354. package/dist/types/models/PatchedProject.d.ts +51 -0
  355. package/dist/types/models/PatchedPrompt.d.ts +22 -0
  356. package/dist/types/models/PatchedSeedMentorsView.d.ts +3 -0
  357. package/dist/types/models/PatchedSlackConfig.d.ts +8 -0
  358. package/dist/types/models/PatchedSlackUserConfig.d.ts +17 -0
  359. package/dist/types/models/PatchedTeamsConfig.d.ts +7 -0
  360. package/dist/types/models/PatchedTenantChatPrivacyConfig.d.ts +11 -0
  361. package/dist/types/models/PatchedTicketMessage.d.ts +10 -0
  362. package/dist/types/models/PatchedWebexConfig.d.ts +10 -0
  363. package/dist/types/models/PatchedWhatsappConfig.d.ts +11 -0
  364. package/dist/types/models/PatchedWhatsappUserConfig.d.ts +10 -0
  365. package/dist/types/models/PatchedWorkflow.d.ts +58 -0
  366. package/dist/types/models/PeriodInfo.d.ts +21 -0
  367. package/dist/types/models/PeriodicAgent.d.ts +42 -0
  368. package/dist/types/models/PeriodicAgentCreate.d.ts +41 -0
  369. package/dist/types/models/PeriodicAgentLog.d.ts +11 -0
  370. package/dist/types/models/PeriodicAgentLogStatusEnum.d.ts +10 -0
  371. package/dist/types/models/PeriodicAgentStatistics.d.ts +7 -0
  372. package/dist/types/models/PeriodicTask.d.ts +21 -0
  373. package/dist/types/models/PhiActionEnum.d.ts +12 -0
  374. package/dist/types/models/PieChartData.d.ts +5 -0
  375. package/dist/types/models/PieChartSegment.d.ts +4 -0
  376. package/dist/types/models/PinnedMessageCreate.d.ts +9 -0
  377. package/dist/types/models/PinnedMessageRequest.d.ts +6 -0
  378. package/dist/types/models/PlatformPrompt.d.ts +34 -0
  379. package/dist/types/models/PlatformPromptResponse.d.ts +16 -0
  380. package/dist/types/models/PlayWrightScript.d.ts +12 -0
  381. package/dist/types/models/PredictiveAnalyticsRequest.d.ts +4 -0
  382. package/dist/types/models/PredictiveAnalyticsResponse.d.ts +4 -0
  383. package/dist/types/models/PreviousAgentStatusEnum.d.ts +12 -0
  384. package/dist/types/models/PrivacyActionEnum.d.ts +12 -0
  385. package/dist/types/models/Project.d.ts +51 -0
  386. package/dist/types/models/ProjectMentor.d.ts +11 -0
  387. package/dist/types/models/Prompt.d.ts +22 -0
  388. package/dist/types/models/PromptCategory.d.ts +7 -0
  389. package/dist/types/models/PromptFacet.d.ts +17 -0
  390. package/dist/types/models/PromptSearchResponse.d.ts +35 -0
  391. package/dist/types/models/PromptVisibilityEnum.d.ts +10 -0
  392. package/dist/types/models/Provider05cEnum.d.ts +14 -0
  393. package/dist/types/models/ProviderBreakdown.d.ts +8 -0
  394. package/dist/types/models/ProvisionModeEnum.d.ts +8 -0
  395. package/dist/types/models/QuestionCardTag.d.ts +8 -0
  396. package/dist/types/models/QuestionRequest.d.ts +15 -0
  397. package/dist/types/models/QuestionResponse.d.ts +10 -0
  398. package/dist/types/models/RatingAverageRecord.d.ts +10 -0
  399. package/dist/types/models/RatingEnum.d.ts +8 -0
  400. package/dist/types/models/RatingRecord.d.ts +4 -0
  401. package/dist/types/models/RatingsOvertime.d.ts +5 -0
  402. package/dist/types/models/RecentlyAccessedMentor.d.ts +11 -0
  403. package/dist/types/models/RecommendationTypeEnum.d.ts +8 -0
  404. package/dist/types/models/RecommendedCoursesResponse.d.ts +33 -0
  405. package/dist/types/models/RelatedText.d.ts +3 -0
  406. package/dist/types/models/RemoveMentorFromDisclaimer.d.ts +12 -0
  407. package/dist/types/models/ReorderChildren.d.ts +13 -0
  408. package/dist/types/models/RequestDataVariable.d.ts +14 -0
  409. package/dist/types/models/ResourceScrappedData.d.ts +13 -0
  410. package/dist/types/models/ResourceScrappedDataStatusEnum.d.ts +12 -0
  411. package/dist/types/models/ResponseDataVariable.d.ts +14 -0
  412. package/dist/types/models/RetreiverTrainViewRequest.d.ts +10 -0
  413. package/dist/types/models/RetreiverTrainViewResponse.d.ts +6 -0
  414. package/dist/types/models/RetrieveTask.d.ts +3 -0
  415. package/dist/types/models/RetrieverDocumentEmbedding.d.ts +30 -0
  416. package/dist/types/models/RetrieverDocumentEmbeddingRequest.d.ts +66 -0
  417. package/dist/types/models/RetrieverRequestSearch.d.ts +10 -0
  418. package/dist/types/models/RetrieverRequestSearchDocument.d.ts +10 -0
  419. package/dist/types/models/RetrieverResponseSearch.d.ts +7 -0
  420. package/dist/types/models/ReuestDataVariableList.d.ts +4 -0
  421. package/dist/types/models/Run.d.ts +21 -0
  422. package/dist/types/models/RunDetailResponse.d.ts +19 -0
  423. package/dist/types/models/RunMentorEval.d.ts +3 -0
  424. package/dist/types/models/ScanWebhookRequest.d.ts +6 -0
  425. package/dist/types/models/ScanWebhookResponse.d.ts +3 -0
  426. package/dist/types/models/ScopeC1dEnum.d.ts +8 -0
  427. package/dist/types/models/Score.d.ts +17 -0
  428. package/dist/types/models/ScoreConfig.d.ts +12 -0
  429. package/dist/types/models/ScoreConfigCategory.d.ts +7 -0
  430. package/dist/types/models/ScoreConfigCreate.d.ts +13 -0
  431. package/dist/types/models/ScoreCreate.d.ts +14 -0
  432. package/dist/types/models/ScoreCreateResponse.d.ts +8 -0
  433. package/dist/types/models/SeedMentorsView.d.ts +3 -0
  434. package/dist/types/models/Segment.d.ts +5 -0
  435. package/dist/types/models/SellableItem.d.ts +14 -0
  436. package/dist/types/models/SellableItemPaywall.d.ts +9 -0
  437. package/dist/types/models/SellableItemsResponse.d.ts +13 -0
  438. package/dist/types/models/SentimentSummary.d.ts +4 -0
  439. package/dist/types/models/ServiceTypeEnum.d.ts +10 -0
  440. package/dist/types/models/SessionBrowserScreenshot.d.ts +8 -0
  441. package/dist/types/models/SessionChartPoint.d.ts +4 -0
  442. package/dist/types/models/SessionDetail.d.ts +6 -0
  443. package/dist/types/models/SessionDisableChathistoryRequest.d.ts +9 -0
  444. package/dist/types/models/SessionDisableChathistoryResponse.d.ts +7 -0
  445. package/dist/types/models/SessionMemoryStorage.d.ts +6 -0
  446. package/dist/types/models/SessionSummary.d.ts +12 -0
  447. package/dist/types/models/SessionSummaryMentor.d.ts +6 -0
  448. package/dist/types/models/SessionsChart.d.ts +5 -0
  449. package/dist/types/models/SetCurrentVersionRequest.d.ts +3 -0
  450. package/dist/types/models/ShareableMentorLink.d.ts +8 -0
  451. package/dist/types/models/SharedSessionUpdateRequest.d.ts +3 -0
  452. package/dist/types/models/SharedSessionUpdateResponse.d.ts +3 -0
  453. package/dist/types/models/ShellLogs.d.ts +3 -0
  454. package/dist/types/models/SkillTypeEnum.d.ts +8 -0
  455. package/dist/types/models/SlackConfig.d.ts +8 -0
  456. package/dist/types/models/SlackUserConfig.d.ts +17 -0
  457. package/dist/types/models/SlackWebhook.d.ts +6 -0
  458. package/dist/types/models/SpacedRepetitionLearningPath.d.ts +3 -0
  459. package/dist/types/models/SpacedRepetitionQuestionStats.d.ts +5 -0
  460. package/dist/types/models/StarMentor.d.ts +9 -0
  461. package/dist/types/models/StarterPrompts8c6Enum.d.ts +8 -0
  462. package/dist/types/models/StarterPromptsB04Enum.d.ts +8 -0
  463. package/dist/types/models/Step.d.ts +9 -0
  464. package/dist/types/models/StepStatusEnum.d.ts +10 -0
  465. package/dist/types/models/StopGenerationRequest.d.ts +9 -0
  466. package/dist/types/models/SttProviderEnum.d.ts +14 -0
  467. package/dist/types/models/StudentChatMessage.d.ts +4 -0
  468. package/dist/types/models/StylesView.d.ts +4 -0
  469. package/dist/types/models/Subject.d.ts +5 -0
  470. package/dist/types/models/Summary.d.ts +9 -0
  471. package/dist/types/models/TagsView.d.ts +5 -0
  472. package/dist/types/models/TargetSystemEnum.d.ts +12 -0
  473. package/dist/types/models/TaskView.d.ts +3 -0
  474. package/dist/types/models/TeamsConfig.d.ts +7 -0
  475. package/dist/types/models/TeamsWebhook.d.ts +17 -0
  476. package/dist/types/models/TemplateMentor.d.ts +9 -0
  477. package/dist/types/models/TenantChatPrivacyConfig.d.ts +11 -0
  478. package/dist/types/models/TenantMentorTraces.d.ts +6 -0
  479. package/dist/types/models/TenantSetting.d.ts +5 -0
  480. package/dist/types/models/ThemeEnum.d.ts +8 -0
  481. package/dist/types/models/TicketMessage.d.ts +10 -0
  482. package/dist/types/models/TonesView.d.ts +4 -0
  483. package/dist/types/models/ToolCategory.d.ts +5 -0
  484. package/dist/types/models/ToolResponse.d.ts +16 -0
  485. package/dist/types/models/TopicDetail.d.ts +8 -0
  486. package/dist/types/models/TopicDetails.d.ts +5 -0
  487. package/dist/types/models/TopicModel.d.ts +3 -0
  488. package/dist/types/models/TopicRecord.d.ts +4 -0
  489. package/dist/types/models/TopicStatistics.d.ts +7 -0
  490. package/dist/types/models/TopicStatisticsResponse.d.ts +6 -0
  491. package/dist/types/models/TopicSummaryView.d.ts +4 -0
  492. package/dist/types/models/TopicsOverview.d.ts +22 -0
  493. package/dist/types/models/TopicsOverviewMetric.d.ts +21 -0
  494. package/dist/types/models/Trace.d.ts +17 -0
  495. package/dist/types/models/TrainDocumentViewRequest.d.ts +86 -0
  496. package/dist/types/models/TrainDocumentViewResponse.d.ts +15 -0
  497. package/dist/types/models/TrainingStatusEnum.d.ts +12 -0
  498. package/dist/types/models/TrendEntry.d.ts +4 -0
  499. package/dist/types/models/TriggerRequest.d.ts +5 -0
  500. package/dist/types/models/TriggerResponse.d.ts +6 -0
  501. package/dist/types/models/TtsProviderEnum.d.ts +12 -0
  502. package/dist/types/models/UpdateXblock.d.ts +17 -0
  503. package/dist/types/models/UseMainCreds.d.ts +3 -0
  504. package/dist/types/models/UserAllChatMemoryView.d.ts +7 -0
  505. package/dist/types/models/UserCatalogItemMemoryView.d.ts +14 -0
  506. package/dist/types/models/UserChatByPeriod.d.ts +4 -0
  507. package/dist/types/models/UserChatFeedback.d.ts +15 -0
  508. package/dist/types/models/UserChatFeedbackCount.d.ts +4 -0
  509. package/dist/types/models/UserChatHistoryFilterData.d.ts +10 -0
  510. package/dist/types/models/UserChatMemoryStatusRequestView.d.ts +6 -0
  511. package/dist/types/models/UserChatMemoryStatusView.d.ts +6 -0
  512. package/dist/types/models/UserChatMemoryUpdateView.d.ts +10 -0
  513. package/dist/types/models/UserChatPrivacySettings.d.ts +18 -0
  514. package/dist/types/models/UserCountRecord.d.ts +4 -0
  515. package/dist/types/models/UserDefaultMentor.d.ts +17 -0
  516. package/dist/types/models/UserDetail.d.ts +7 -0
  517. package/dist/types/models/UserEdxMemory.d.ts +15 -0
  518. package/dist/types/models/UserMemoryContextRequest.d.ts +13 -0
  519. package/dist/types/models/UserMemoryContextResponse.d.ts +12 -0
  520. package/dist/types/models/UserMetric.d.ts +4 -0
  521. package/dist/types/models/UserMetricsResponse.d.ts +7 -0
  522. package/dist/types/models/UserReportListResponse.d.ts +6 -0
  523. package/dist/types/models/UserSentimentCountView.d.ts +4 -0
  524. package/dist/types/models/UserTrendByPeriod.d.ts +5 -0
  525. package/dist/types/models/V2GlobalMentorSearchResponse.d.ts +29 -0
  526. package/dist/types/models/V2PersonalizedMentorsResponse.d.ts +29 -0
  527. package/dist/types/models/V2RecommendationResponse.d.ts +65 -0
  528. package/dist/types/models/VectorResult.d.ts +10 -0
  529. package/dist/types/models/VeoVideoDetail.d.ts +10 -0
  530. package/dist/types/models/VeoVideoList.d.ts +6 -0
  531. package/dist/types/models/VeoVideoRequest.d.ts +5 -0
  532. package/dist/types/models/VideoCaption.d.ts +3 -0
  533. package/dist/types/models/Voice.d.ts +9 -0
  534. package/dist/types/models/VoiceProviderD5aEnum.d.ts +10 -0
  535. package/dist/types/models/VoiceProviderEnum.d.ts +12 -0
  536. package/dist/types/models/WakeModeEnum.d.ts +8 -0
  537. package/dist/types/models/WakeRequest.d.ts +8 -0
  538. package/dist/types/models/WakeResponse.d.ts +14 -0
  539. package/dist/types/models/WebResource.d.ts +9 -0
  540. package/dist/types/models/WebResourceCard.d.ts +7 -0
  541. package/dist/types/models/WebResourcesQuery.d.ts +3 -0
  542. package/dist/types/models/WebexConfig.d.ts +10 -0
  543. package/dist/types/models/WebexWebhook.d.ts +4 -0
  544. package/dist/types/models/WhatAppWebHook.d.ts +3 -0
  545. package/dist/types/models/WhatsappConfig.d.ts +11 -0
  546. package/dist/types/models/WhatsappUserConfig.d.ts +10 -0
  547. package/dist/types/models/Workflow.d.ts +58 -0
  548. package/dist/types/models/XblockResult.d.ts +9 -0
  549. package/dist/types/models/XblockTypeEnum.d.ts +16 -0
  550. package/dist/types/services/AiAccountService.d.ts +889 -0
  551. package/dist/types/services/AiAnalyticsService.d.ts +5068 -22
  552. package/dist/types/services/AiBotService.d.ts +650 -0
  553. package/dist/types/services/AiIndexService.d.ts +355 -0
  554. package/dist/types/services/AiMarketingService.d.ts +38 -0
  555. package/dist/types/services/AiMediaService.d.ts +247 -0
  556. package/dist/types/services/AiMentorService.d.ts +11007 -0
  557. package/dist/types/services/AiPromptService.d.ts +1035 -0
  558. package/dist/types/services/AiProxyService.d.ts +37 -0
  559. package/dist/types/services/AiSearchService.d.ts +819 -0
  560. package/dist/types/services/AnalyticsService.d.ts +769 -4
  561. package/dist/types/services/IntegrationCredentialsService.d.ts +30 -0
  562. package/dist/types/services/SearchService.d.ts +1117 -72
  563. package/package.json +1 -1
  564. package/sdk_schema.yml +99386 -32036
  565. package/src/core/OpenAPI.ts +1 -1
  566. package/src/index.ts +551 -0
  567. package/src/models/AIGeneratedImage.ts +18 -0
  568. package/src/models/AIUserProfileMemoryRelation.ts +9 -0
  569. package/src/models/AIUserProfileRequest.ts +9 -0
  570. package/src/models/AccessEnum.ts +12 -0
  571. package/src/models/AccessTimesHeatmap.ts +10 -0
  572. package/src/models/AccessibleMentorsByEmailRequest.ts +18 -0
  573. package/src/models/AccessibleMentorsByEmailResponse.ts +18 -0
  574. package/src/models/ActionBreakdown.ts +15 -0
  575. package/src/models/AddMentorToDisclaimer.ts +17 -0
  576. package/src/models/AdminIntegrationCredential.ts +22 -0
  577. package/src/models/AgentSkill.ts +40 -0
  578. package/src/models/AgentSkillResource.ts +22 -0
  579. package/src/models/AlignMentorBubbleEnum.ts +12 -0
  580. package/src/models/AnalyticsOverview.ts +12 -0
  581. package/src/models/Answer.ts +16 -0
  582. package/src/models/Artifact.ts +65 -0
  583. package/src/models/ArtifactList.ts +47 -0
  584. package/src/models/ArtifactVersion.ts +60 -0
  585. package/src/models/AssumedKnowledge.ts +9 -0
  586. package/src/models/AssumedKnowledgeLevel.ts +9 -0
  587. package/src/models/AudioToTextRequest.ts +8 -0
  588. package/src/models/AudioToTextResponse.ts +8 -0
  589. package/src/models/AuthModeEnum.ts +16 -0
  590. package/src/models/AuthScopeEnum.ts +14 -0
  591. package/src/models/AuthTypeEnum.ts +14 -0
  592. package/src/models/BaseFinanceResponse.ts +42 -0
  593. package/src/models/BillingPeriod.ts +13 -0
  594. package/src/models/Bot.ts +20 -0
  595. package/src/models/BotCommand.ts +11 -0
  596. package/src/models/BotCreate.ts +17 -0
  597. package/src/models/Breakdown.ts +16 -0
  598. package/src/models/CallAuthenticationRequest.ts +22 -0
  599. package/src/models/CallAuthenticationResponse.ts +26 -0
  600. package/src/models/CallConfiguration.ts +43 -0
  601. package/src/models/CallConfigurationModeEnum.ts +12 -0
  602. package/src/models/ChatCompletionRequest.ts +32 -0
  603. package/src/models/ChatHistory.ts +25 -0
  604. package/src/models/ChatHistoryFilterData.ts +14 -0
  605. package/src/models/ChatHistoryFilterUser.ts +10 -0
  606. package/src/models/ChatHistoryItem.ts +11 -0
  607. package/src/models/ChatHistorySessionId.ts +8 -0
  608. package/src/models/ChatPrivacyModeEnum.ts +14 -0
  609. package/src/models/ChatRunTracker.ts +39 -0
  610. package/src/models/ChatRunTrackerStatusEnum.ts +14 -0
  611. package/src/models/ChatSessionRequest.ts +24 -0
  612. package/src/models/ChatSessionResponse.ts +13 -0
  613. package/src/models/CheckDocumentTrainingStatus.ts +15 -0
  614. package/src/models/ClawConfigGetResponse.ts +24 -0
  615. package/src/models/ClawInstance.ts +51 -0
  616. package/src/models/ClawInstanceStatusEnum.ts +14 -0
  617. package/src/models/ClawMentorConfig.ts +32 -0
  618. package/src/models/ClawModelProvider.ts +45 -0
  619. package/src/models/ClawRpcError.ts +12 -0
  620. package/src/models/ClawTypeEnum.ts +12 -0
  621. package/src/models/ComparisonInfo.ts +34 -0
  622. package/src/models/ConnectedService.ts +33 -0
  623. package/src/models/ConversationChartPoint.ts +9 -0
  624. package/src/models/ConversationDetailResponse.ts +9 -0
  625. package/src/models/ConversationListItem.ts +29 -0
  626. package/src/models/ConversationListResponse.ts +11 -0
  627. package/src/models/ConversationMessage.ts +16 -0
  628. package/src/models/ConversationRating.ts +11 -0
  629. package/src/models/ConversationSummary.ts +10 -0
  630. package/src/models/ConversationVolume.ts +9 -0
  631. package/src/models/Conversations.ts +59 -0
  632. package/src/models/ConversationsChart.ts +10 -0
  633. package/src/models/Cost.ts +8 -0
  634. package/src/models/CostPerTenant.ts +11 -0
  635. package/src/models/CourseCreationTask.ts +41 -0
  636. package/src/models/CourseCreationTaskFile.ts +12 -0
  637. package/src/models/CourseCreationTaskStatusEnum.ts +20 -0
  638. package/src/models/CourseRecommendation.ts +54 -0
  639. package/src/models/CrawlerPatternTypeEnum.ts +12 -0
  640. package/src/models/CreateXblock.ts +42 -0
  641. package/src/models/CredentialRequest.ts +19 -0
  642. package/src/models/CronDelivery.ts +17 -0
  643. package/src/models/CronDeliveryModeEnum.ts +14 -0
  644. package/src/models/CronJobCreate.ts +27 -0
  645. package/src/models/CronJobListResponse.ts +15 -0
  646. package/src/models/CronJobResponse.ts +33 -0
  647. package/src/models/CronPayload.ts +24 -0
  648. package/src/models/CronPayloadKindEnum.ts +12 -0
  649. package/src/models/CronRunAction.ts +12 -0
  650. package/src/models/CronRunActionModeEnum.ts +12 -0
  651. package/src/models/CronRunLogEntry.ts +30 -0
  652. package/src/models/CronRunLogEntryStatusEnum.ts +14 -0
  653. package/src/models/CronRunResult.ts +13 -0
  654. package/src/models/CronRunsResponse.ts +15 -0
  655. package/src/models/CronSchedule.ts +22 -0
  656. package/src/models/CronScheduleKindEnum.ts +14 -0
  657. package/src/models/CronStatusResponse.ts +19 -0
  658. package/src/models/CrontabSchedule.ts +27 -0
  659. package/src/models/CurrentUsersResponse.ts +13 -0
  660. package/src/models/CustomInstructionResponse.ts +18 -0
  661. package/src/models/DataTypeEnum.ts +14 -0
  662. package/src/models/Dataset.ts +17 -0
  663. package/src/models/DatasetCreate.ts +13 -0
  664. package/src/models/DatasetItem.ts +25 -0
  665. package/src/models/DatasetItemBulkCreateResponse.ts +10 -0
  666. package/src/models/DatasetItemCreate.ts +15 -0
  667. package/src/models/DatasetItemInput.ts +12 -0
  668. package/src/models/DatasetItemUpdate.ts +15 -0
  669. package/src/models/DatasetItemUpdateStatusEnum.ts +12 -0
  670. package/src/models/DatasetRunItem.ts +21 -0
  671. package/src/models/DateRange.ts +9 -0
  672. package/src/models/DeleteXblock.ts +14 -0
  673. package/src/models/DeliveryStatusEnum.ts +16 -0
  674. package/src/models/DeployStateEnum.ts +18 -0
  675. package/src/models/Disclaimer.ts +22 -0
  676. package/src/models/DisclaimerAgreement.ts +16 -0
  677. package/src/models/DisclaimerScopeEnum.ts +12 -0
  678. package/src/models/DiscordConfig.ts +12 -0
  679. package/src/models/DiscordUserConfig.ts +15 -0
  680. package/src/models/DiscordWebhook.ts +11 -0
  681. package/src/models/Document.ts +46 -0
  682. package/src/models/DocumentFacet.ts +22 -0
  683. package/src/models/DocumentFromPoolRequest.ts +15 -0
  684. package/src/models/DocumentSearchResponse.ts +40 -0
  685. package/src/models/DocumentSettingsResponse.ts +8 -0
  686. package/src/models/EdxCourse.ts +17 -0
  687. package/src/models/ElevenlabsCustomVoice.ts +9 -0
  688. package/src/models/ElevenlabsCustomVoiceResponse.ts +13 -0
  689. package/src/models/EmailPromptDetail.ts +18 -0
  690. package/src/models/EmailPromptList.ts +16 -0
  691. package/src/models/EmailPromptSummary.ts +10 -0
  692. package/src/models/Entity.ts +16 -0
  693. package/src/models/EntityTypeEnum.ts +14 -0
  694. package/src/models/Error.ts +8 -0
  695. package/src/models/ExperimentCreate.ts +13 -0
  696. package/src/models/ExternalProxyInvoke.ts +24 -0
  697. package/src/models/ExternalProxyServiceDetail.ts +28 -0
  698. package/src/models/ExternalProxyServiceList.ts +19 -0
  699. package/src/models/ExternalServiceInfo.ts +11 -0
  700. package/src/models/FailureCategoryEnum.ts +32 -0
  701. package/src/models/FallbackLLM.ts +52 -0
  702. package/src/models/FallbackLLMCreate.ts +43 -0
  703. package/src/models/FallbackLLMUpdate.ts +38 -0
  704. package/src/models/FeedbackModeEnum.ts +14 -0
  705. package/src/models/FileTypeEnum.ts +14 -0
  706. package/src/models/FileUploadURLRequest.ts +26 -0
  707. package/src/models/FileUploadURLResponse.ts +30 -0
  708. package/src/models/FinanceDetailsResponse.ts +18 -0
  709. package/src/models/FinanceFilters.ts +20 -0
  710. package/src/models/FreeUsageCount.ts +8 -0
  711. package/src/models/GoogleAgentDetail.ts +22 -0
  712. package/src/models/GraderCriterion.ts +20 -0
  713. package/src/models/GradingModeEnum.ts +12 -0
  714. package/src/models/GrantMentorAccessRequest.ts +14 -0
  715. package/src/models/GreetingMethodEnum.ts +12 -0
  716. package/src/models/GuidedPrompt.ts +9 -0
  717. package/src/models/GuidedPromptsResponse.ts +10 -0
  718. package/src/models/HeygenMarketingVideoDetail.ts +13 -0
  719. package/src/models/HeygenMarketingVideoList.ts +11 -0
  720. package/src/models/HeygenTemplateRequest.ts +10 -0
  721. package/src/models/HeygenTemplateResponseSingle.ts +11 -0
  722. package/src/models/HeygenVideoDetail.ts +13 -0
  723. package/src/models/HeygenVideoRequest.ts +10 -0
  724. package/src/models/HumanSupportTicket.ts +28 -0
  725. package/src/models/HumanSupportTicketStatusEnum.ts +14 -0
  726. package/src/models/InputQuestion.ts +11 -0
  727. package/src/models/IntegrationCredential.ts +30 -0
  728. package/src/models/IntegrationCredentialSchema.ts +11 -0
  729. package/src/models/IntegrationCredentialSchemaV2.ts +15 -0
  730. package/src/models/InterfaceEnum.ts +12 -0
  731. package/src/models/IntialQuestionAnswer.ts +8 -0
  732. package/src/models/InvalidQueryParameters.ts +8 -0
  733. package/src/models/InvoiceReportResponse.ts +18 -0
  734. package/src/models/JobRun.ts +16 -0
  735. package/src/models/JudgeRecord.ts +23 -0
  736. package/src/models/LLMCredentialRequest.ts +19 -0
  737. package/src/models/LLMCredentialResponse.ts +15 -0
  738. package/src/models/LLMCredentialSchema.ts +11 -0
  739. package/src/models/LLMJudge.ts +15 -0
  740. package/src/models/LLMModelForTenant.ts +11 -0
  741. package/src/models/LLMModelRegistryMinimal.ts +20 -0
  742. package/src/models/LLMProviderMinimal.ts +33 -0
  743. package/src/models/LLMQuestion.ts +20 -0
  744. package/src/models/LLMResponse.ts +23 -0
  745. package/src/models/LLMTracesListResponse.ts +10 -0
  746. package/src/models/LanguagesView.ts +10 -0
  747. package/src/models/LinkCourseRequest.ts +8 -0
  748. package/src/models/LinkCourseResponse.ts +10 -0
  749. package/src/models/LlmProviderEnum.ts +14 -0
  750. package/src/models/MCPServer.ts +70 -0
  751. package/src/models/MCPServerConnection.ts +52 -0
  752. package/src/models/MCPServerConnectionScopeEnum.ts +14 -0
  753. package/src/models/MCPServerOauthFind.ts +10 -0
  754. package/src/models/MCPServerTransportEnum.ts +14 -0
  755. package/src/models/MaskedIntegrationCredential.ts +30 -0
  756. package/src/models/MaskedLLMCredential.ts +15 -0
  757. package/src/models/McpServerConfig.ts +22 -0
  758. package/src/models/McpServerConfigTransportEnum.ts +12 -0
  759. package/src/models/McpServerCreate.ts +13 -0
  760. package/src/models/McpServerEntry.ts +13 -0
  761. package/src/models/McpServerListResponse.ts +9 -0
  762. package/src/models/MemoryComponentData.ts +10 -0
  763. package/src/models/MemoryComponentDataKindEnum.ts +14 -0
  764. package/src/models/MemoryComponentMemory.ts +9 -0
  765. package/src/models/MemoryComponentMemoryDetail.ts +13 -0
  766. package/src/models/MemoryComponentResponse.ts +10 -0
  767. package/src/models/MemoryProgress.ts +13 -0
  768. package/src/models/MemoryStatusRequestView.ts +11 -0
  769. package/src/models/MemoryStatusView.ts +11 -0
  770. package/src/models/Mentor.ts +253 -0
  771. package/src/models/MentorAudience.ts +10 -0
  772. package/src/models/MentorAuditLogEntry.ts +48 -0
  773. package/src/models/MentorBreakdown.ts +14 -0
  774. package/src/models/MentorCategory.ts +14 -0
  775. package/src/models/MentorCategoryCreate.ts +16 -0
  776. package/src/models/MentorCategoryGroup.ts +16 -0
  777. package/src/models/MentorCategoryGroupCreate.ts +16 -0
  778. package/src/models/MentorCreate.ts +243 -0
  779. package/src/models/MentorCustomVoice.ts +9 -0
  780. package/src/models/MentorCustomVoiceResponse.ts +9 -0
  781. package/src/models/MentorData.ts +12 -0
  782. package/src/models/MentorDetailAnalytics.ts +11 -0
  783. package/src/models/MentorEval.ts +16 -0
  784. package/src/models/MentorEvalQuestion.ts +10 -0
  785. package/src/models/MentorEvalQuestionRequest.ts +9 -0
  786. package/src/models/MentorEvalReport.ts +15 -0
  787. package/src/models/MentorEvalRequest.ts +13 -0
  788. package/src/models/MentorFacet.ts +22 -0
  789. package/src/models/MentorFork.ts +10 -0
  790. package/src/models/MentorFromTemplate.ts +8 -0
  791. package/src/models/MentorFromTemplateWithSettingRequest.ts +83 -0
  792. package/src/models/MentorFromTemplateWithSettingRequestVoiceProviderEnum.ts +12 -0
  793. package/src/models/MentorGraderConfig.ts +29 -0
  794. package/src/models/MentorMemorySettingsRequest.ts +11 -0
  795. package/src/models/MentorMemorySettingsResponse.ts +11 -0
  796. package/src/models/MentorMetadata.ts +10 -0
  797. package/src/models/MentorScenario.ts +11 -0
  798. package/src/models/MentorScenarioPrompt.ts +10 -0
  799. package/src/models/MentorSearchResponse.ts +40 -0
  800. package/src/models/MentorSession.ts +9 -0
  801. package/src/models/MentorSettings.ts +140 -0
  802. package/src/models/MentorSettingsPublic.ts +100 -0
  803. package/src/models/MentorSettingsRequest.ts +120 -0
  804. package/src/models/MentorSettingsRequestVoiceProviderEnum.ts +14 -0
  805. package/src/models/MentorSkillAssignment.ts +17 -0
  806. package/src/models/MentorSummary.ts +10 -0
  807. package/src/models/MentorType.ts +10 -0
  808. package/src/models/MentorUserSetting.ts +9 -0
  809. package/src/models/MentorVisibilityEnum.ts +14 -0
  810. package/src/models/MentorWizard.ts +9 -0
  811. package/src/models/MessageStatistics.ts +10 -0
  812. package/src/models/MessageView.ts +17 -0
  813. package/src/models/MessageViewRequest.ts +14 -0
  814. package/src/models/MessageViewUpdatResponse.ts +8 -0
  815. package/src/models/Metadata.ts +10 -0
  816. package/src/models/MetricChange.ts +9 -0
  817. package/src/models/MetricInfo.ts +10 -0
  818. package/src/models/ModalityEnum.ts +14 -0
  819. package/src/models/ModelCost.ts +9 -0
  820. package/src/models/ModerationLog.ts +17 -0
  821. package/src/models/NameEnum.ts +18 -0
  822. package/src/models/NoChatMessagesFound.ts +8 -0
  823. package/src/models/OAuthProvider.ts +29 -0
  824. package/src/models/OAuthService.ts +23 -0
  825. package/src/models/OAuthStartResponse.ts +8 -0
  826. package/src/models/OauthCredentialsMasked.ts +15 -0
  827. package/src/models/Observation.ts +36 -0
  828. package/src/models/OfflineDocument.ts +24 -0
  829. package/src/models/OvertimeData.ts +18 -0
  830. package/src/models/PageContent.ts +11 -0
  831. package/src/models/PaginatedAIGeneratedImageList.ts +12 -0
  832. package/src/models/PaginatedAgentSkillList.ts +12 -0
  833. package/src/models/PaginatedAgentSkillResourceList.ts +12 -0
  834. package/src/models/PaginatedArtifactListList.ts +12 -0
  835. package/src/models/PaginatedArtifactVersionList.ts +12 -0
  836. package/src/models/PaginatedChatRunTrackerList.ts +12 -0
  837. package/src/models/PaginatedClawInstanceList.ts +12 -0
  838. package/src/models/PaginatedClawModelProviderList.ts +12 -0
  839. package/src/models/PaginatedConversationsList.ts +12 -0
  840. package/src/models/PaginatedCourseCreationTaskFileList.ts +12 -0
  841. package/src/models/PaginatedCourseCreationTaskList.ts +12 -0
  842. package/src/models/PaginatedDatasetItemList.ts +12 -0
  843. package/src/models/PaginatedDatasetList.ts +12 -0
  844. package/src/models/PaginatedDisclaimerAgreementList.ts +12 -0
  845. package/src/models/PaginatedDisclaimerList.ts +12 -0
  846. package/src/models/PaginatedEdxCourseList.ts +12 -0
  847. package/src/models/PaginatedEmailPromptListList.ts +12 -0
  848. package/src/models/PaginatedGoogleAgentDetailList.ts +12 -0
  849. package/src/models/PaginatedGraderCriterionList.ts +12 -0
  850. package/src/models/PaginatedHeygenMarketingVideoListList.ts +12 -0
  851. package/src/models/PaginatedHeygenTemplateResponseSingleList.ts +12 -0
  852. package/src/models/PaginatedHumanSupportTicketList.ts +12 -0
  853. package/src/models/PaginatedJobRunList.ts +12 -0
  854. package/src/models/PaginatedJudgeList.ts +12 -0
  855. package/src/models/PaginatedMCPServerConnectionList.ts +12 -0
  856. package/src/models/PaginatedMCPServerList.ts +12 -0
  857. package/src/models/PaginatedMentorAuditLogEntryList.ts +12 -0
  858. package/src/models/PaginatedMentorList.ts +12 -0
  859. package/src/models/PaginatedMentorSkillAssignmentList.ts +12 -0
  860. package/src/models/PaginatedModerationLogList.ts +12 -0
  861. package/src/models/PaginatedObservationList.ts +12 -0
  862. package/src/models/PaginatedOfflineDocumentList.ts +12 -0
  863. package/src/models/PaginatedPeriodicAgentList.ts +12 -0
  864. package/src/models/PaginatedPeriodicAgentLogList.ts +12 -0
  865. package/src/models/PaginatedPlayWrightScriptList.ts +12 -0
  866. package/src/models/PaginatedProjectList.ts +12 -0
  867. package/src/models/PaginatedRetrieverDocumentEmbeddingList.ts +12 -0
  868. package/src/models/PaginatedRunList.ts +12 -0
  869. package/src/models/PaginatedScoreConfigList.ts +12 -0
  870. package/src/models/PaginatedScoreList.ts +12 -0
  871. package/src/models/PaginatedTicketMessageList.ts +12 -0
  872. package/src/models/PaginatedTopicStatisticsResponse.ts +12 -0
  873. package/src/models/PaginatedTraceList.ts +12 -0
  874. package/src/models/PaginatedUserEdxMemoryList.ts +12 -0
  875. package/src/models/PaginatedVeoVideoListList.ts +12 -0
  876. package/src/models/PaginatedVoiceList.ts +12 -0
  877. package/src/models/PaginatedWorkflowList.ts +12 -0
  878. package/src/models/Pagination.ts +16 -11
  879. package/src/models/PatchedAgentSkill.ts +40 -0
  880. package/src/models/PatchedAgentSkillResource.ts +22 -0
  881. package/src/models/PatchedArtifact.ts +65 -0
  882. package/src/models/PatchedBotCommand.ts +11 -0
  883. package/src/models/PatchedBotCreate.ts +17 -0
  884. package/src/models/PatchedCallConfiguration.ts +43 -0
  885. package/src/models/PatchedClawConfigPatchRequest.ts +19 -0
  886. package/src/models/PatchedClawInstance.ts +51 -0
  887. package/src/models/PatchedClawMentorConfig.ts +32 -0
  888. package/src/models/PatchedClawModelProvider.ts +45 -0
  889. package/src/models/PatchedConversations.ts +59 -0
  890. package/src/models/PatchedCourseCreationTaskFile.ts +12 -0
  891. package/src/models/PatchedCredentialRequest.ts +19 -0
  892. package/src/models/PatchedCronJobPatch.ts +29 -0
  893. package/src/models/PatchedDisclaimer.ts +22 -0
  894. package/src/models/PatchedDiscordConfig.ts +12 -0
  895. package/src/models/PatchedDiscordUserConfig.ts +15 -0
  896. package/src/models/PatchedFallbackLLMUpdate.ts +38 -0
  897. package/src/models/PatchedGoogleAgentDetail.ts +22 -0
  898. package/src/models/PatchedGraderCriterion.ts +20 -0
  899. package/src/models/PatchedHumanSupportTicket.ts +28 -0
  900. package/src/models/PatchedLLMCredentialRequest.ts +19 -0
  901. package/src/models/PatchedMCPServer.ts +70 -0
  902. package/src/models/PatchedMCPServerConnection.ts +52 -0
  903. package/src/models/PatchedMcpServerUpdate.ts +13 -0
  904. package/src/models/PatchedMentorCategoryGroupCreate.ts +16 -0
  905. package/src/models/PatchedMentorCreate.ts +243 -0
  906. package/src/models/PatchedMentorFromTemplate.ts +8 -0
  907. package/src/models/PatchedMentorGraderConfig.ts +29 -0
  908. package/src/models/PatchedMentorSettings.ts +140 -0
  909. package/src/models/PatchedMentorSkillAssignment.ts +17 -0
  910. package/src/models/PatchedMentorWizard.ts +9 -0
  911. package/src/models/PatchedPeriodicAgentCreate.ts +46 -0
  912. package/src/models/PatchedPlayWrightScript.ts +17 -0
  913. package/src/models/PatchedProject.ts +56 -0
  914. package/src/models/PatchedPrompt.ts +27 -0
  915. package/src/models/PatchedSeedMentorsView.ts +8 -0
  916. package/src/models/PatchedSlackConfig.ts +13 -0
  917. package/src/models/PatchedSlackUserConfig.ts +22 -0
  918. package/src/models/PatchedTeamsConfig.ts +12 -0
  919. package/src/models/PatchedTenantChatPrivacyConfig.ts +16 -0
  920. package/src/models/PatchedTicketMessage.ts +15 -0
  921. package/src/models/PatchedWebexConfig.ts +15 -0
  922. package/src/models/PatchedWhatsappConfig.ts +16 -0
  923. package/src/models/PatchedWhatsappUserConfig.ts +15 -0
  924. package/src/models/PatchedWorkflow.ts +63 -0
  925. package/src/models/PeriodInfo.ts +26 -0
  926. package/src/models/PeriodicAgent.ts +47 -0
  927. package/src/models/PeriodicAgentCreate.ts +46 -0
  928. package/src/models/PeriodicAgentLog.ts +16 -0
  929. package/src/models/PeriodicAgentLogStatusEnum.ts +14 -0
  930. package/src/models/PeriodicAgentStatistics.ts +12 -0
  931. package/src/models/PeriodicTask.ts +26 -0
  932. package/src/models/PhiActionEnum.ts +16 -0
  933. package/src/models/PieChartData.ts +10 -0
  934. package/src/models/PieChartSegment.ts +9 -0
  935. package/src/models/PinnedMessageCreate.ts +14 -0
  936. package/src/models/PinnedMessageRequest.ts +11 -0
  937. package/src/models/PlatformPrompt.ts +39 -0
  938. package/src/models/PlatformPromptResponse.ts +21 -0
  939. package/src/models/PlayWrightScript.ts +17 -0
  940. package/src/models/PredictiveAnalyticsRequest.ts +9 -0
  941. package/src/models/PredictiveAnalyticsResponse.ts +9 -0
  942. package/src/models/PreviousAgentStatusEnum.ts +16 -0
  943. package/src/models/PrivacyActionEnum.ts +16 -0
  944. package/src/models/Project.ts +56 -0
  945. package/src/models/ProjectMentor.ts +16 -0
  946. package/src/models/Prompt.ts +27 -0
  947. package/src/models/PromptCategory.ts +12 -0
  948. package/src/models/PromptFacet.ts +22 -0
  949. package/src/models/PromptSearchResponse.ts +40 -0
  950. package/src/models/PromptVisibilityEnum.ts +14 -0
  951. package/src/models/Provider05cEnum.ts +18 -0
  952. package/src/models/ProviderBreakdown.ts +13 -0
  953. package/src/models/ProvisionModeEnum.ts +12 -0
  954. package/src/models/QuestionCardTag.ts +13 -0
  955. package/src/models/QuestionRequest.ts +20 -0
  956. package/src/models/QuestionResponse.ts +15 -0
  957. package/src/models/RatingAverageRecord.ts +15 -0
  958. package/src/models/RatingEnum.ts +12 -0
  959. package/src/models/RatingRecord.ts +9 -0
  960. package/src/models/RatingsOvertime.ts +10 -0
  961. package/src/models/RecentlyAccessedMentor.ts +16 -0
  962. package/src/models/RecommendationTypeEnum.ts +12 -0
  963. package/src/models/RecommendedCoursesResponse.ts +38 -0
  964. package/src/models/RelatedText.ts +8 -0
  965. package/src/models/RemoveMentorFromDisclaimer.ts +17 -0
  966. package/src/models/ReorderChildren.ts +18 -0
  967. package/src/models/RequestDataVariable.ts +19 -0
  968. package/src/models/ResourceScrappedData.ts +18 -0
  969. package/src/models/ResourceScrappedDataStatusEnum.ts +16 -0
  970. package/src/models/ResponseDataVariable.ts +19 -0
  971. package/src/models/RetreiverTrainViewRequest.ts +15 -0
  972. package/src/models/RetreiverTrainViewResponse.ts +11 -0
  973. package/src/models/RetrieveTask.ts +8 -0
  974. package/src/models/RetrieverDocumentEmbedding.ts +35 -0
  975. package/src/models/RetrieverDocumentEmbeddingRequest.ts +71 -0
  976. package/src/models/RetrieverRequestSearch.ts +15 -0
  977. package/src/models/RetrieverRequestSearchDocument.ts +15 -0
  978. package/src/models/RetrieverResponseSearch.ts +12 -0
  979. package/src/models/ReuestDataVariableList.ts +9 -0
  980. package/src/models/Run.ts +26 -0
  981. package/src/models/RunDetailResponse.ts +24 -0
  982. package/src/models/RunMentorEval.ts +8 -0
  983. package/src/models/ScanWebhookRequest.ts +11 -0
  984. package/src/models/ScanWebhookResponse.ts +8 -0
  985. package/src/models/ScopeC1dEnum.ts +12 -0
  986. package/src/models/Score.ts +22 -0
  987. package/src/models/ScoreConfig.ts +17 -0
  988. package/src/models/ScoreConfigCategory.ts +12 -0
  989. package/src/models/ScoreConfigCreate.ts +18 -0
  990. package/src/models/ScoreCreate.ts +19 -0
  991. package/src/models/ScoreCreateResponse.ts +13 -0
  992. package/src/models/SeedMentorsView.ts +8 -0
  993. package/src/models/Segment.ts +10 -0
  994. package/src/models/SellableItem.ts +19 -0
  995. package/src/models/SellableItemPaywall.ts +14 -0
  996. package/src/models/SellableItemsResponse.ts +18 -0
  997. package/src/models/SentimentSummary.ts +9 -0
  998. package/src/models/ServiceTypeEnum.ts +14 -0
  999. package/src/models/SessionBrowserScreenshot.ts +13 -0
  1000. package/src/models/SessionChartPoint.ts +9 -0
  1001. package/src/models/SessionDetail.ts +11 -0
  1002. package/src/models/SessionDisableChathistoryRequest.ts +14 -0
  1003. package/src/models/SessionDisableChathistoryResponse.ts +12 -0
  1004. package/src/models/SessionMemoryStorage.ts +11 -0
  1005. package/src/models/SessionSummary.ts +17 -0
  1006. package/src/models/SessionSummaryMentor.ts +11 -0
  1007. package/src/models/SessionsChart.ts +10 -0
  1008. package/src/models/SetCurrentVersionRequest.ts +8 -0
  1009. package/src/models/ShareableMentorLink.ts +13 -0
  1010. package/src/models/SharedSessionUpdateRequest.ts +8 -0
  1011. package/src/models/SharedSessionUpdateResponse.ts +8 -0
  1012. package/src/models/ShellLogs.ts +8 -0
  1013. package/src/models/SkillTypeEnum.ts +12 -0
  1014. package/src/models/SlackConfig.ts +13 -0
  1015. package/src/models/SlackUserConfig.ts +22 -0
  1016. package/src/models/SlackWebhook.ts +11 -0
  1017. package/src/models/SpacedRepetitionLearningPath.ts +8 -0
  1018. package/src/models/SpacedRepetitionQuestionStats.ts +10 -0
  1019. package/src/models/StarMentor.ts +14 -0
  1020. package/src/models/StarterPrompts8c6Enum.ts +12 -0
  1021. package/src/models/StarterPromptsB04Enum.ts +12 -0
  1022. package/src/models/Step.ts +14 -0
  1023. package/src/models/StepStatusEnum.ts +14 -0
  1024. package/src/models/StopGenerationRequest.ts +14 -0
  1025. package/src/models/SttProviderEnum.ts +18 -0
  1026. package/src/models/StudentChatMessage.ts +9 -0
  1027. package/src/models/StylesView.ts +9 -0
  1028. package/src/models/Subject.ts +10 -0
  1029. package/src/models/Summary.ts +14 -0
  1030. package/src/models/TagsView.ts +10 -0
  1031. package/src/models/TargetSystemEnum.ts +16 -0
  1032. package/src/models/TaskView.ts +8 -0
  1033. package/src/models/TeamsConfig.ts +12 -0
  1034. package/src/models/TeamsWebhook.ts +22 -0
  1035. package/src/models/TemplateMentor.ts +14 -0
  1036. package/src/models/TenantChatPrivacyConfig.ts +16 -0
  1037. package/src/models/TenantMentorTraces.ts +11 -0
  1038. package/src/models/TenantSetting.ts +10 -0
  1039. package/src/models/ThemeEnum.ts +12 -0
  1040. package/src/models/TicketMessage.ts +15 -0
  1041. package/src/models/TonesView.ts +9 -0
  1042. package/src/models/ToolCategory.ts +10 -0
  1043. package/src/models/ToolResponse.ts +21 -0
  1044. package/src/models/TopicDetail.ts +13 -0
  1045. package/src/models/TopicDetails.ts +10 -0
  1046. package/src/models/TopicModel.ts +8 -0
  1047. package/src/models/TopicRecord.ts +9 -0
  1048. package/src/models/TopicStatistics.ts +12 -0
  1049. package/src/models/TopicStatisticsResponse.ts +11 -0
  1050. package/src/models/TopicSummaryView.ts +9 -0
  1051. package/src/models/TopicsOverview.ts +27 -0
  1052. package/src/models/TopicsOverviewMetric.ts +26 -0
  1053. package/src/models/Trace.ts +22 -0
  1054. package/src/models/TrainDocumentViewRequest.ts +91 -0
  1055. package/src/models/TrainDocumentViewResponse.ts +20 -0
  1056. package/src/models/TrainingStatusEnum.ts +16 -0
  1057. package/src/models/TrendEntry.ts +9 -0
  1058. package/src/models/TriggerRequest.ts +10 -0
  1059. package/src/models/TriggerResponse.ts +11 -0
  1060. package/src/models/TtsProviderEnum.ts +16 -0
  1061. package/src/models/UpdateXblock.ts +22 -0
  1062. package/src/models/UseMainCreds.ts +8 -0
  1063. package/src/models/UserAllChatMemoryView.ts +12 -0
  1064. package/src/models/UserCatalogItemMemoryView.ts +19 -0
  1065. package/src/models/UserChatByPeriod.ts +9 -0
  1066. package/src/models/UserChatFeedback.ts +20 -0
  1067. package/src/models/UserChatFeedbackCount.ts +9 -0
  1068. package/src/models/UserChatHistoryFilterData.ts +15 -0
  1069. package/src/models/UserChatMemoryStatusRequestView.ts +11 -0
  1070. package/src/models/UserChatMemoryStatusView.ts +11 -0
  1071. package/src/models/UserChatMemoryUpdateView.ts +15 -0
  1072. package/src/models/UserChatPrivacySettings.ts +23 -0
  1073. package/src/models/UserCountRecord.ts +9 -0
  1074. package/src/models/UserDefaultMentor.ts +22 -0
  1075. package/src/models/UserDetail.ts +12 -0
  1076. package/src/models/UserEdxMemory.ts +20 -0
  1077. package/src/models/UserMemoryContextRequest.ts +18 -0
  1078. package/src/models/UserMemoryContextResponse.ts +17 -0
  1079. package/src/models/UserMetric.ts +9 -0
  1080. package/src/models/UserMetricsResponse.ts +12 -0
  1081. package/src/models/UserReportListResponse.ts +11 -0
  1082. package/src/models/UserSentimentCountView.ts +9 -0
  1083. package/src/models/UserTrendByPeriod.ts +10 -0
  1084. package/src/models/V2GlobalMentorSearchResponse.ts +34 -0
  1085. package/src/models/V2PersonalizedMentorsResponse.ts +34 -0
  1086. package/src/models/V2RecommendationResponse.ts +70 -0
  1087. package/src/models/VectorResult.ts +15 -0
  1088. package/src/models/VeoVideoDetail.ts +15 -0
  1089. package/src/models/VeoVideoList.ts +11 -0
  1090. package/src/models/VeoVideoRequest.ts +10 -0
  1091. package/src/models/VideoCaption.ts +8 -0
  1092. package/src/models/Voice.ts +14 -0
  1093. package/src/models/VoiceProviderD5aEnum.ts +14 -0
  1094. package/src/models/VoiceProviderEnum.ts +16 -0
  1095. package/src/models/WakeModeEnum.ts +12 -0
  1096. package/src/models/WakeRequest.ts +13 -0
  1097. package/src/models/WakeResponse.ts +19 -0
  1098. package/src/models/WebResource.ts +14 -0
  1099. package/src/models/WebResourceCard.ts +12 -0
  1100. package/src/models/WebResourcesQuery.ts +8 -0
  1101. package/src/models/WebexConfig.ts +15 -0
  1102. package/src/models/WebexWebhook.ts +9 -0
  1103. package/src/models/WhatAppWebHook.ts +8 -0
  1104. package/src/models/WhatsappConfig.ts +16 -0
  1105. package/src/models/WhatsappUserConfig.ts +15 -0
  1106. package/src/models/Workflow.ts +63 -0
  1107. package/src/models/XblockResult.ts +14 -0
  1108. package/src/models/XblockTypeEnum.ts +20 -0
  1109. package/src/services/AiAccountService.ts +1482 -0
  1110. package/src/services/AiAnalyticsService.ts +13620 -5316
  1111. package/src/services/AiBotService.ts +1350 -0
  1112. package/src/services/AiIndexService.ts +644 -0
  1113. package/src/services/AiMarketingService.ts +96 -0
  1114. package/src/services/AiMediaService.ts +532 -0
  1115. package/src/services/AiMentorService.ts +21245 -0
  1116. package/src/services/AiPromptService.ts +1985 -0
  1117. package/src/services/AiProxyService.ts +90 -0
  1118. package/src/services/AiSearchService.ts +1299 -0
  1119. package/src/services/AnalyticsService.ts +1306 -189
  1120. package/src/services/IntegrationCredentialsService.ts +52 -0
  1121. package/src/services/SearchService.ts +2235 -741
@@ -0,0 +1,1299 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { MentorSearchResponse } from '../models/MentorSearchResponse';
6
+ import type { PlatformPrompt } from '../models/PlatformPrompt';
7
+ import type { PlatformPromptResponse } from '../models/PlatformPromptResponse';
8
+ import type { SellableItemsResponse } from '../models/SellableItemsResponse';
9
+ import type { V2GlobalMentorSearchResponse } from '../models/V2GlobalMentorSearchResponse';
10
+ import type { V2PersonalizedMentorsResponse } from '../models/V2PersonalizedMentorsResponse';
11
+ import type { V2RecommendationResponse } from '../models/V2RecommendationResponse';
12
+ import type { CancelablePromise } from '../core/CancelablePromise';
13
+ import { OpenAPI } from '../core/OpenAPI';
14
+ import { request as __request } from '../core/request';
15
+ export class AiSearchService {
16
+ /**
17
+ * Search and filter AI mentors across the platform
18
+ *
19
+ * Search and filter AI mentors with support for comprehensive filtering, pagination, and detailed mentor information.
20
+ * This endpoint supports both anonymous and authenticated users with different access levels.
21
+ *
22
+ * **Anonymous Users:**
23
+ * - Access to public mentors only (VIEWABLE_BY_ANYONE)
24
+ * - Limited search capabilities
25
+ * - No personalization
26
+ *
27
+ * **Authenticated Users:**
28
+ * - Full access based on platform permissions (scoped to requested platform)
29
+ * - Personalized results
30
+ * - Access to tenant-specific mentors
31
+ *
32
+ * **Required Parameters (Authenticated Users):**
33
+ * - `platform_key` OR `tenant`: Platform key for RBAC enforcement (required for authenticated requests)
34
+ * - Use `platform_key` (preferred) or `tenant` (backward compatibility) - both serve the same purpose
35
+ * - If both are provided, `platform_key` takes precedence
36
+ *
37
+ * **Available Filters:**
38
+ * - `query`: Search term to filter mentors by name or description
39
+ * - `tenant`: Filter by tenant/organization platform key(s) - can also be used as alias for `platform_key` (backward compatibility)
40
+ * - `category`: Filter by mentor category (comma-separated)
41
+ * - `subjects`: Filter by mentor subject (comma-separated)
42
+ * - `types`: Filter by mentor type (comma-separated)
43
+ * - `llm`: Filter by LLM provider (comma-separated, e.g., GPT-4, Claude)
44
+ * - `visibility`: Filter by visibility level (comma-separated: viewable_by_anyone, viewable_by_tenant_students, viewable_by_tenant_admins)
45
+ * - `created_by`: Filter mentors created by specific user (for personalized search)
46
+ * - `include_main_public_mentors`: Include main tenant public mentors
47
+ *
48
+ * **Facets:**
49
+ * The response includes facets with aggregated counts for all filterable attributes:
50
+ * - categories, subjects, types, llm_providers, visibility
51
+ * All facet values can be used as filter parameters in subsequent requests.
52
+ *
53
+ * Notes:
54
+ * - Detail view is removed; use the ibl_ai_mentor app for mentor details
55
+ * - include_main_public_mentors=true shows only VIEWABLE_BY_ANYONE mentors from the main tenant across tenants
56
+ * - For authenticated requests, either `platform_key` or `tenant` is required when username is provided
57
+ * - `tenant` parameter serves dual purpose: as a filter for multiple tenants, or as an alias for `platform_key` (backward compatibility)
58
+ * - Frontend uses `llm` parameter name (backend maps to `llm_provider` automatically)
59
+ *
60
+ * @returns V2GlobalMentorSearchResponse
61
+ * @throws ApiError
62
+ */
63
+ public static v2GlobalMentorSearch({
64
+ alphabetical = false,
65
+ category,
66
+ createdBy,
67
+ featured,
68
+ includeMainPublicMentors = false,
69
+ limit,
70
+ llm,
71
+ offset,
72
+ orderBy,
73
+ orderDirection = 'desc',
74
+ platformKey,
75
+ query,
76
+ starred,
77
+ subjects,
78
+ tenant,
79
+ types,
80
+ visibility,
81
+ }: {
82
+ /**
83
+ * Sort alphabetically by name (shorthand for order_by='name'). When true, overrides order_by parameter.
84
+ */
85
+ alphabetical?: boolean,
86
+ /**
87
+ * Mentor category filter
88
+ */
89
+ category?: string,
90
+ /**
91
+ * Filter mentors created by specific user (for personalized search)
92
+ */
93
+ createdBy?: string,
94
+ /**
95
+ * Filter by featured status (true/false)
96
+ */
97
+ featured?: boolean | null,
98
+ /**
99
+ * Include main tenant public mentors (VIEWABLE_BY_ANYONE) when true
100
+ */
101
+ includeMainPublicMentors?: boolean,
102
+ /**
103
+ * Number of results per page
104
+ */
105
+ limit?: number,
106
+ /**
107
+ * LLM provider filter
108
+ */
109
+ llm?: string,
110
+ /**
111
+ * Number of results to skip
112
+ */
113
+ offset?: number,
114
+ /**
115
+ * Field to sort results by ('created_at', '-created_at', 'recently_accessed_at', '-recently_accessed_at', 'name', '-name'). Use '-' prefix for descending order.
116
+ */
117
+ orderBy?: string,
118
+ /**
119
+ * Sort direction ('asc' or 'desc'). Only used if order_by doesn't start with '-'. Defaults to 'desc'.
120
+ */
121
+ orderDirection?: string,
122
+ /**
123
+ * Platform key for RBAC enforcement. Required for authenticated requests. Can also use 'tenant' parameter as an alias (backward compatibility).
124
+ */
125
+ platformKey?: string,
126
+ /**
127
+ * Search query for mentors
128
+ */
129
+ query?: string,
130
+ /**
131
+ * Filter by starred status (true/false) - only for authenticated users
132
+ */
133
+ starred?: boolean | null,
134
+ /**
135
+ * Mentor subject filter
136
+ */
137
+ subjects?: string,
138
+ /**
139
+ * Tenant key(s) (CSV). Can be used as a filter for multiple tenants, or as an alias for 'platform_key' (backward compatibility).
140
+ */
141
+ tenant?: string,
142
+ /**
143
+ * Mentor type filter
144
+ */
145
+ types?: string,
146
+ /**
147
+ * Mentor visibility filter (viewable_by_anyone, viewable_by_tenant_students, viewable_by_tenant_admins)
148
+ */
149
+ visibility?: string,
150
+ }): CancelablePromise<V2GlobalMentorSearchResponse> {
151
+ return __request(OpenAPI, {
152
+ method: 'GET',
153
+ url: '/api/ai-search/agents/',
154
+ query: {
155
+ 'alphabetical': alphabetical,
156
+ 'category': category,
157
+ 'created_by': createdBy,
158
+ 'featured': featured,
159
+ 'include_main_public_mentors': includeMainPublicMentors,
160
+ 'limit': limit,
161
+ 'llm': llm,
162
+ 'offset': offset,
163
+ 'order_by': orderBy,
164
+ 'order_direction': orderDirection,
165
+ 'platform_key': platformKey,
166
+ 'query': query,
167
+ 'starred': starred,
168
+ 'subjects': subjects,
169
+ 'tenant': tenant,
170
+ 'types': types,
171
+ 'visibility': visibility,
172
+ },
173
+ errors: {
174
+ 400: `Bad request - invalid parameters`,
175
+ 500: `Internal server error`,
176
+ },
177
+ });
178
+ }
179
+ /**
180
+ * @deprecated
181
+ * Search and filter AI mentors across the platform
182
+ * **Deprecated — use `/api/ai-search/agents/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-search/agents/` (`mentor` → `agent`) and will be removed in a future release.
183
+ *
184
+ *
185
+ * Search and filter AI mentors with support for comprehensive filtering, pagination, and detailed mentor information.
186
+ * This endpoint supports both anonymous and authenticated users with different access levels.
187
+ *
188
+ * **Anonymous Users:**
189
+ * - Access to public mentors only (VIEWABLE_BY_ANYONE)
190
+ * - Limited search capabilities
191
+ * - No personalization
192
+ *
193
+ * **Authenticated Users:**
194
+ * - Full access based on platform permissions (scoped to requested platform)
195
+ * - Personalized results
196
+ * - Access to tenant-specific mentors
197
+ *
198
+ * **Required Parameters (Authenticated Users):**
199
+ * - `platform_key` OR `tenant`: Platform key for RBAC enforcement (required for authenticated requests)
200
+ * - Use `platform_key` (preferred) or `tenant` (backward compatibility) - both serve the same purpose
201
+ * - If both are provided, `platform_key` takes precedence
202
+ *
203
+ * **Available Filters:**
204
+ * - `query`: Search term to filter mentors by name or description
205
+ * - `tenant`: Filter by tenant/organization platform key(s) - can also be used as alias for `platform_key` (backward compatibility)
206
+ * - `category`: Filter by mentor category (comma-separated)
207
+ * - `subjects`: Filter by mentor subject (comma-separated)
208
+ * - `types`: Filter by mentor type (comma-separated)
209
+ * - `llm`: Filter by LLM provider (comma-separated, e.g., GPT-4, Claude)
210
+ * - `visibility`: Filter by visibility level (comma-separated: viewable_by_anyone, viewable_by_tenant_students, viewable_by_tenant_admins)
211
+ * - `created_by`: Filter mentors created by specific user (for personalized search)
212
+ * - `include_main_public_mentors`: Include main tenant public mentors
213
+ *
214
+ * **Facets:**
215
+ * The response includes facets with aggregated counts for all filterable attributes:
216
+ * - categories, subjects, types, llm_providers, visibility
217
+ * All facet values can be used as filter parameters in subsequent requests.
218
+ *
219
+ * Notes:
220
+ * - Detail view is removed; use the ibl_ai_mentor app for mentor details
221
+ * - include_main_public_mentors=true shows only VIEWABLE_BY_ANYONE mentors from the main tenant across tenants
222
+ * - For authenticated requests, either `platform_key` or `tenant` is required when username is provided
223
+ * - `tenant` parameter serves dual purpose: as a filter for multiple tenants, or as an alias for `platform_key` (backward compatibility)
224
+ * - Frontend uses `llm` parameter name (backend maps to `llm_provider` automatically)
225
+ * @returns V2GlobalMentorSearchResponse
226
+ * @throws ApiError
227
+ */
228
+ public static v2GlobalMentorSearch2({
229
+ alphabetical = false,
230
+ category,
231
+ createdBy,
232
+ featured,
233
+ includeMainPublicMentors = false,
234
+ limit,
235
+ llm,
236
+ offset,
237
+ orderBy,
238
+ orderDirection = 'desc',
239
+ platformKey,
240
+ query,
241
+ starred,
242
+ subjects,
243
+ tenant,
244
+ types,
245
+ visibility,
246
+ }: {
247
+ /**
248
+ * Sort alphabetically by name (shorthand for order_by='name'). When true, overrides order_by parameter.
249
+ */
250
+ alphabetical?: boolean,
251
+ /**
252
+ * Mentor category filter
253
+ */
254
+ category?: string,
255
+ /**
256
+ * Filter mentors created by specific user (for personalized search)
257
+ */
258
+ createdBy?: string,
259
+ /**
260
+ * Filter by featured status (true/false)
261
+ */
262
+ featured?: boolean | null,
263
+ /**
264
+ * Include main tenant public mentors (VIEWABLE_BY_ANYONE) when true
265
+ */
266
+ includeMainPublicMentors?: boolean,
267
+ /**
268
+ * Number of results per page
269
+ */
270
+ limit?: number,
271
+ /**
272
+ * LLM provider filter
273
+ */
274
+ llm?: string,
275
+ /**
276
+ * Number of results to skip
277
+ */
278
+ offset?: number,
279
+ /**
280
+ * Field to sort results by ('created_at', '-created_at', 'recently_accessed_at', '-recently_accessed_at', 'name', '-name'). Use '-' prefix for descending order.
281
+ */
282
+ orderBy?: string,
283
+ /**
284
+ * Sort direction ('asc' or 'desc'). Only used if order_by doesn't start with '-'. Defaults to 'desc'.
285
+ */
286
+ orderDirection?: string,
287
+ /**
288
+ * Platform key for RBAC enforcement. Required for authenticated requests. Can also use 'tenant' parameter as an alias (backward compatibility).
289
+ */
290
+ platformKey?: string,
291
+ /**
292
+ * Search query for mentors
293
+ */
294
+ query?: string,
295
+ /**
296
+ * Filter by starred status (true/false) - only for authenticated users
297
+ */
298
+ starred?: boolean | null,
299
+ /**
300
+ * Mentor subject filter
301
+ */
302
+ subjects?: string,
303
+ /**
304
+ * Tenant key(s) (CSV). Can be used as a filter for multiple tenants, or as an alias for 'platform_key' (backward compatibility).
305
+ */
306
+ tenant?: string,
307
+ /**
308
+ * Mentor type filter
309
+ */
310
+ types?: string,
311
+ /**
312
+ * Mentor visibility filter (viewable_by_anyone, viewable_by_tenant_students, viewable_by_tenant_admins)
313
+ */
314
+ visibility?: string,
315
+ }): CancelablePromise<V2GlobalMentorSearchResponse> {
316
+ return __request(OpenAPI, {
317
+ method: 'GET',
318
+ url: '/api/ai-search/mentors/',
319
+ query: {
320
+ 'alphabetical': alphabetical,
321
+ 'category': category,
322
+ 'created_by': createdBy,
323
+ 'featured': featured,
324
+ 'include_main_public_mentors': includeMainPublicMentors,
325
+ 'limit': limit,
326
+ 'llm': llm,
327
+ 'offset': offset,
328
+ 'order_by': orderBy,
329
+ 'order_direction': orderDirection,
330
+ 'platform_key': platformKey,
331
+ 'query': query,
332
+ 'starred': starred,
333
+ 'subjects': subjects,
334
+ 'tenant': tenant,
335
+ 'types': types,
336
+ 'visibility': visibility,
337
+ },
338
+ errors: {
339
+ 400: `Bad request - invalid parameters`,
340
+ 500: `Internal server error`,
341
+ },
342
+ });
343
+ }
344
+ /**
345
+ * Handle GET requests for my mentors.
346
+ * @returns MentorSearchResponse
347
+ * @throws ApiError
348
+ */
349
+ public static aiSearchOrgsUsersMyAgentsRetrieve({
350
+ org,
351
+ username,
352
+ audience,
353
+ category,
354
+ createdBy,
355
+ featured,
356
+ id,
357
+ includeMainPublicMentors = false,
358
+ limit = 12,
359
+ llm,
360
+ offset,
361
+ orderBy,
362
+ orderDirection = 'desc',
363
+ query,
364
+ tags,
365
+ tenant,
366
+ uniqueId,
367
+ }: {
368
+ org: string,
369
+ username: string,
370
+ /**
371
+ * Filter by target audience
372
+ */
373
+ audience?: Array<string>,
374
+ /**
375
+ * Filter by mentor category
376
+ */
377
+ category?: Array<string>,
378
+ /**
379
+ * Filter mentors created by specific user
380
+ */
381
+ createdBy?: string,
382
+ /**
383
+ * Filter by featured status
384
+ */
385
+ featured?: boolean,
386
+ /**
387
+ * Retrieve a specific mentor by ID
388
+ */
389
+ id?: number,
390
+ /**
391
+ * Include public mentors from main tenant
392
+ */
393
+ includeMainPublicMentors?: boolean,
394
+ /**
395
+ * Number of results per page
396
+ */
397
+ limit?: number,
398
+ /**
399
+ * Filter by language model type
400
+ */
401
+ llm?: Array<string>,
402
+ /**
403
+ * Starting position for pagination
404
+ */
405
+ offset?: number,
406
+ /**
407
+ * Field to sort results by ('created_at', 'recently_accessed_at')
408
+ */
409
+ orderBy?: string,
410
+ /**
411
+ * Sort direction ('asc' or 'desc')
412
+ */
413
+ orderDirection?: string,
414
+ /**
415
+ * Search term to filter mentors by name or description
416
+ */
417
+ query?: string,
418
+ /**
419
+ * Filter by tags
420
+ */
421
+ tags?: Array<string>,
422
+ /**
423
+ * Filter by tenant/organization
424
+ */
425
+ tenant?: string,
426
+ /**
427
+ * Retrieve a specific mentor by UUID
428
+ */
429
+ uniqueId?: string,
430
+ }): CancelablePromise<MentorSearchResponse> {
431
+ return __request(OpenAPI, {
432
+ method: 'GET',
433
+ url: '/api/ai-search/orgs/{org}/users/{username}/my-agents/',
434
+ path: {
435
+ 'org': org,
436
+ 'username': username,
437
+ },
438
+ query: {
439
+ 'audience': audience,
440
+ 'category': category,
441
+ 'created_by': createdBy,
442
+ 'featured': featured,
443
+ 'id': id,
444
+ 'include_main_public_mentors': includeMainPublicMentors,
445
+ 'limit': limit,
446
+ 'llm': llm,
447
+ 'offset': offset,
448
+ 'order_by': orderBy,
449
+ 'order_direction': orderDirection,
450
+ 'query': query,
451
+ 'tags': tags,
452
+ 'tenant': tenant,
453
+ 'unique_id': uniqueId,
454
+ },
455
+ errors: {
456
+ 400: `Bad request`,
457
+ 401: `Unauthorized`,
458
+ 403: `Forbidden`,
459
+ 404: `Not found`,
460
+ 500: `Server error`,
461
+ },
462
+ });
463
+ }
464
+ /**
465
+ * @deprecated
466
+ * **Deprecated — use `/api/ai-search/orgs/{org}/users/{username}/my-agents/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-search/orgs/{org}/users/{username}/my-agents/` (`mentor` → `agent`) and will be removed in a future release.
467
+ *
468
+ * Handle GET requests for my mentors.
469
+ * @returns MentorSearchResponse
470
+ * @throws ApiError
471
+ */
472
+ public static aiSearchOrgsUsersMyMentorsRetrieve({
473
+ org,
474
+ username,
475
+ audience,
476
+ category,
477
+ createdBy,
478
+ featured,
479
+ id,
480
+ includeMainPublicMentors = false,
481
+ limit = 12,
482
+ llm,
483
+ offset,
484
+ orderBy,
485
+ orderDirection = 'desc',
486
+ query,
487
+ tags,
488
+ tenant,
489
+ uniqueId,
490
+ }: {
491
+ org: string,
492
+ username: string,
493
+ /**
494
+ * Filter by target audience
495
+ */
496
+ audience?: Array<string>,
497
+ /**
498
+ * Filter by mentor category
499
+ */
500
+ category?: Array<string>,
501
+ /**
502
+ * Filter mentors created by specific user
503
+ */
504
+ createdBy?: string,
505
+ /**
506
+ * Filter by featured status
507
+ */
508
+ featured?: boolean,
509
+ /**
510
+ * Retrieve a specific mentor by ID
511
+ */
512
+ id?: number,
513
+ /**
514
+ * Include public mentors from main tenant
515
+ */
516
+ includeMainPublicMentors?: boolean,
517
+ /**
518
+ * Number of results per page
519
+ */
520
+ limit?: number,
521
+ /**
522
+ * Filter by language model type
523
+ */
524
+ llm?: Array<string>,
525
+ /**
526
+ * Starting position for pagination
527
+ */
528
+ offset?: number,
529
+ /**
530
+ * Field to sort results by ('created_at', 'recently_accessed_at')
531
+ */
532
+ orderBy?: string,
533
+ /**
534
+ * Sort direction ('asc' or 'desc')
535
+ */
536
+ orderDirection?: string,
537
+ /**
538
+ * Search term to filter mentors by name or description
539
+ */
540
+ query?: string,
541
+ /**
542
+ * Filter by tags
543
+ */
544
+ tags?: Array<string>,
545
+ /**
546
+ * Filter by tenant/organization
547
+ */
548
+ tenant?: string,
549
+ /**
550
+ * Retrieve a specific mentor by UUID
551
+ */
552
+ uniqueId?: string,
553
+ }): CancelablePromise<MentorSearchResponse> {
554
+ return __request(OpenAPI, {
555
+ method: 'GET',
556
+ url: '/api/ai-search/orgs/{org}/users/{username}/my-mentors/',
557
+ path: {
558
+ 'org': org,
559
+ 'username': username,
560
+ },
561
+ query: {
562
+ 'audience': audience,
563
+ 'category': category,
564
+ 'created_by': createdBy,
565
+ 'featured': featured,
566
+ 'id': id,
567
+ 'include_main_public_mentors': includeMainPublicMentors,
568
+ 'limit': limit,
569
+ 'llm': llm,
570
+ 'offset': offset,
571
+ 'order_by': orderBy,
572
+ 'order_direction': orderDirection,
573
+ 'query': query,
574
+ 'tags': tags,
575
+ 'tenant': tenant,
576
+ 'unique_id': uniqueId,
577
+ },
578
+ errors: {
579
+ 400: `Bad request`,
580
+ 401: `Unauthorized`,
581
+ 403: `Forbidden`,
582
+ 404: `Not found`,
583
+ 500: `Server error`,
584
+ },
585
+ });
586
+ }
587
+ /**
588
+ * Get mentors created by a specific user
589
+ *
590
+ * Get mentors created by a specific user within a given organization/platform.
591
+ * This endpoint provides a personalized view of the user's own mentors with
592
+ * support for filtering, pagination, and detailed mentor information.
593
+ *
594
+ * **Authentication Required:**
595
+ * - username: Required for personalized mentor access
596
+ * - platform_key OR tenant: Required for tenant-specific content (both serve the same purpose)
597
+ * - Use `platform_key` (preferred) or `tenant` (backward compatibility)
598
+ * - If both are provided, `platform_key` takes precedence
599
+ *
600
+ * **Features:**
601
+ * - User's own mentors only
602
+ * - Personalization data (access counts, last used)
603
+ * - Filtering and faceted search
604
+ * - Pagination support
605
+ * - Detail and list views
606
+ *
607
+ * @returns V2PersonalizedMentorsResponse
608
+ * @throws ApiError
609
+ */
610
+ public static v2PersonalizedMentors({
611
+ audience,
612
+ category,
613
+ featured,
614
+ limit,
615
+ llm,
616
+ offset,
617
+ orderBy,
618
+ orderDirection,
619
+ platformKey,
620
+ query,
621
+ returnFacet,
622
+ starred,
623
+ tags,
624
+ tenant,
625
+ username,
626
+ visibility,
627
+ }: {
628
+ /**
629
+ * Filter by audience
630
+ */
631
+ audience?: Array<string>,
632
+ /**
633
+ * Mentor category filter
634
+ */
635
+ category?: string,
636
+ /**
637
+ * Filter by featured status (true/false)
638
+ */
639
+ featured?: boolean | null,
640
+ /**
641
+ * Number of results per page
642
+ */
643
+ limit?: number,
644
+ /**
645
+ * LLM provider filter (frontend uses 'llm', backend maps to 'llm_provider')
646
+ */
647
+ llm?: string,
648
+ /**
649
+ * Number of results to skip
650
+ */
651
+ offset?: number,
652
+ /**
653
+ * Field to sort by
654
+ */
655
+ orderBy?: string,
656
+ /**
657
+ * Sort direction
658
+ *
659
+ * * `asc` - asc
660
+ * * `desc` - desc
661
+ */
662
+ orderDirection?: 'asc' | 'desc',
663
+ /**
664
+ * Platform key for authentication. Required for authenticated requests. Can also use 'tenant' parameter as an alias (backward compatibility).
665
+ */
666
+ platformKey?: string,
667
+ /**
668
+ * Search query for personalized mentors
669
+ */
670
+ query?: string,
671
+ /**
672
+ * Include facet data in response
673
+ */
674
+ returnFacet?: boolean,
675
+ /**
676
+ * Filter by starred status (true/false)
677
+ */
678
+ starred?: boolean | null,
679
+ /**
680
+ * Filter by tags
681
+ */
682
+ tags?: Array<string>,
683
+ /**
684
+ * Tenant key (alias for 'platform_key' for backward compatibility). Can be used instead of 'platform_key' - both serve the same purpose.
685
+ */
686
+ tenant?: string,
687
+ /**
688
+ * Username for authentication (required for unauthenticated requests)
689
+ */
690
+ username?: string,
691
+ /**
692
+ * Filter by visibility
693
+ */
694
+ visibility?: Array<string>,
695
+ }): CancelablePromise<V2PersonalizedMentorsResponse> {
696
+ return __request(OpenAPI, {
697
+ method: 'GET',
698
+ url: '/api/ai-search/personalized-agents/',
699
+ query: {
700
+ 'audience': audience,
701
+ 'category': category,
702
+ 'featured': featured,
703
+ 'limit': limit,
704
+ 'llm': llm,
705
+ 'offset': offset,
706
+ 'order_by': orderBy,
707
+ 'order_direction': orderDirection,
708
+ 'platform_key': platformKey,
709
+ 'query': query,
710
+ 'return_facet': returnFacet,
711
+ 'starred': starred,
712
+ 'tags': tags,
713
+ 'tenant': tenant,
714
+ 'username': username,
715
+ 'visibility': visibility,
716
+ },
717
+ errors: {
718
+ 400: `Bad request - invalid parameters`,
719
+ 401: `Unauthorized - missing credentials`,
720
+ 403: `Forbidden - insufficient permissions`,
721
+ 404: `Mentor not found`,
722
+ 500: `Internal server error`,
723
+ },
724
+ });
725
+ }
726
+ /**
727
+ * @deprecated
728
+ * Get mentors created by a specific user
729
+ * **Deprecated — use `/api/ai-search/personalized-agents/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-search/personalized-agents/` (`mentor` → `agent`) and will be removed in a future release.
730
+ *
731
+ *
732
+ * Get mentors created by a specific user within a given organization/platform.
733
+ * This endpoint provides a personalized view of the user's own mentors with
734
+ * support for filtering, pagination, and detailed mentor information.
735
+ *
736
+ * **Authentication Required:**
737
+ * - username: Required for personalized mentor access
738
+ * - platform_key OR tenant: Required for tenant-specific content (both serve the same purpose)
739
+ * - Use `platform_key` (preferred) or `tenant` (backward compatibility)
740
+ * - If both are provided, `platform_key` takes precedence
741
+ *
742
+ * **Features:**
743
+ * - User's own mentors only
744
+ * - Personalization data (access counts, last used)
745
+ * - Filtering and faceted search
746
+ * - Pagination support
747
+ * - Detail and list views
748
+ * @returns V2PersonalizedMentorsResponse
749
+ * @throws ApiError
750
+ */
751
+ public static v2PersonalizedMentors2({
752
+ audience,
753
+ category,
754
+ featured,
755
+ limit,
756
+ llm,
757
+ offset,
758
+ orderBy,
759
+ orderDirection,
760
+ platformKey,
761
+ query,
762
+ returnFacet,
763
+ starred,
764
+ tags,
765
+ tenant,
766
+ username,
767
+ visibility,
768
+ }: {
769
+ /**
770
+ * Filter by audience
771
+ */
772
+ audience?: Array<string>,
773
+ /**
774
+ * Mentor category filter
775
+ */
776
+ category?: string,
777
+ /**
778
+ * Filter by featured status (true/false)
779
+ */
780
+ featured?: boolean | null,
781
+ /**
782
+ * Number of results per page
783
+ */
784
+ limit?: number,
785
+ /**
786
+ * LLM provider filter (frontend uses 'llm', backend maps to 'llm_provider')
787
+ */
788
+ llm?: string,
789
+ /**
790
+ * Number of results to skip
791
+ */
792
+ offset?: number,
793
+ /**
794
+ * Field to sort by
795
+ */
796
+ orderBy?: string,
797
+ /**
798
+ * Sort direction
799
+ *
800
+ * * `asc` - asc
801
+ * * `desc` - desc
802
+ */
803
+ orderDirection?: 'asc' | 'desc',
804
+ /**
805
+ * Platform key for authentication. Required for authenticated requests. Can also use 'tenant' parameter as an alias (backward compatibility).
806
+ */
807
+ platformKey?: string,
808
+ /**
809
+ * Search query for personalized mentors
810
+ */
811
+ query?: string,
812
+ /**
813
+ * Include facet data in response
814
+ */
815
+ returnFacet?: boolean,
816
+ /**
817
+ * Filter by starred status (true/false)
818
+ */
819
+ starred?: boolean | null,
820
+ /**
821
+ * Filter by tags
822
+ */
823
+ tags?: Array<string>,
824
+ /**
825
+ * Tenant key (alias for 'platform_key' for backward compatibility). Can be used instead of 'platform_key' - both serve the same purpose.
826
+ */
827
+ tenant?: string,
828
+ /**
829
+ * Username for authentication (required for unauthenticated requests)
830
+ */
831
+ username?: string,
832
+ /**
833
+ * Filter by visibility
834
+ */
835
+ visibility?: Array<string>,
836
+ }): CancelablePromise<V2PersonalizedMentorsResponse> {
837
+ return __request(OpenAPI, {
838
+ method: 'GET',
839
+ url: '/api/ai-search/personalized-mentors/',
840
+ query: {
841
+ 'audience': audience,
842
+ 'category': category,
843
+ 'featured': featured,
844
+ 'limit': limit,
845
+ 'llm': llm,
846
+ 'offset': offset,
847
+ 'order_by': orderBy,
848
+ 'order_direction': orderDirection,
849
+ 'platform_key': platformKey,
850
+ 'query': query,
851
+ 'return_facet': returnFacet,
852
+ 'starred': starred,
853
+ 'tags': tags,
854
+ 'tenant': tenant,
855
+ 'username': username,
856
+ 'visibility': visibility,
857
+ },
858
+ errors: {
859
+ 400: `Bad request - invalid parameters`,
860
+ 401: `Unauthorized - missing credentials`,
861
+ 403: `Forbidden - insufficient permissions`,
862
+ 404: `Mentor not found`,
863
+ 500: `Internal server error`,
864
+ },
865
+ });
866
+ }
867
+ /**
868
+ * List recommendation prompts for a platform
869
+ * Get all recommendation prompts for a specific platform. Optionally filter by SPA URL or recommendation type.
870
+ * @returns PlatformPromptResponse
871
+ * @throws ApiError
872
+ */
873
+ public static listPlatformPrompts(): CancelablePromise<Array<PlatformPromptResponse>> {
874
+ return __request(OpenAPI, {
875
+ method: 'GET',
876
+ url: '/api/ai-search/prompts/',
877
+ errors: {
878
+ 400: `Invalid parameters`,
879
+ 401: `Authentication required`,
880
+ 403: `Admin permissions required`,
881
+ },
882
+ });
883
+ }
884
+ /**
885
+ * Create a new recommendation prompt
886
+ * Create a new recommendation prompt for a platform and SPA.
887
+ * @returns PlatformPromptResponse
888
+ * @throws ApiError
889
+ */
890
+ public static createPlatformPrompt({
891
+ requestBody,
892
+ }: {
893
+ requestBody?: PlatformPrompt,
894
+ }): CancelablePromise<PlatformPromptResponse> {
895
+ return __request(OpenAPI, {
896
+ method: 'POST',
897
+ url: '/api/ai-search/prompts/',
898
+ body: requestBody,
899
+ mediaType: 'application/json',
900
+ errors: {
901
+ 400: `Invalid data`,
902
+ 401: `Authentication required`,
903
+ 403: `Admin permissions required`,
904
+ 409: `Prompt already exists for this combination`,
905
+ },
906
+ });
907
+ }
908
+ /**
909
+ * Update an existing recommendation prompt
910
+ * Update an existing prompt by ID. Must provide platform_key to verify ownership.
911
+ * @returns PlatformPromptResponse
912
+ * @throws ApiError
913
+ */
914
+ public static updatePlatformPrompt({
915
+ requestBody,
916
+ }: {
917
+ requestBody?: PlatformPrompt,
918
+ }): CancelablePromise<PlatformPromptResponse> {
919
+ return __request(OpenAPI, {
920
+ method: 'PUT',
921
+ url: '/api/ai-search/prompts/',
922
+ body: requestBody,
923
+ mediaType: 'application/json',
924
+ errors: {
925
+ 400: `Invalid data`,
926
+ 401: `Authentication required`,
927
+ 403: `Admin permissions required or platform mismatch`,
928
+ 404: `Prompt not found`,
929
+ },
930
+ });
931
+ }
932
+ /**
933
+ * Delete a recommendation prompt
934
+ * Delete a recommendation prompt by ID. Must provide platform_key to verify ownership. This permanently removes the prompt.
935
+ * @returns void
936
+ * @throws ApiError
937
+ */
938
+ public static deletePlatformPrompt(): CancelablePromise<void> {
939
+ return __request(OpenAPI, {
940
+ method: 'DELETE',
941
+ url: '/api/ai-search/prompts/',
942
+ errors: {
943
+ 401: `Authentication required`,
944
+ 403: `Admin permissions required or platform mismatch`,
945
+ 404: `Prompt not found`,
946
+ },
947
+ });
948
+ }
949
+ /**
950
+ * List recommendation prompts for a platform
951
+ * Get all recommendation prompts for a specific platform. Optionally filter by SPA URL or recommendation type.
952
+ * @returns PlatformPromptResponse
953
+ * @throws ApiError
954
+ */
955
+ public static listPlatformPrompts2(): CancelablePromise<Array<PlatformPromptResponse>> {
956
+ return __request(OpenAPI, {
957
+ method: 'GET',
958
+ url: '/api/ai-search/recommendation/prompts/',
959
+ errors: {
960
+ 400: `Invalid parameters`,
961
+ 401: `Authentication required`,
962
+ 403: `Admin permissions required`,
963
+ },
964
+ });
965
+ }
966
+ /**
967
+ * Create a new recommendation prompt
968
+ * Create a new recommendation prompt for a platform and SPA.
969
+ * @returns PlatformPromptResponse
970
+ * @throws ApiError
971
+ */
972
+ public static createPlatformPrompt2({
973
+ requestBody,
974
+ }: {
975
+ requestBody?: PlatformPrompt,
976
+ }): CancelablePromise<PlatformPromptResponse> {
977
+ return __request(OpenAPI, {
978
+ method: 'POST',
979
+ url: '/api/ai-search/recommendation/prompts/',
980
+ body: requestBody,
981
+ mediaType: 'application/json',
982
+ errors: {
983
+ 400: `Invalid data`,
984
+ 401: `Authentication required`,
985
+ 403: `Admin permissions required`,
986
+ 409: `Prompt already exists for this combination`,
987
+ },
988
+ });
989
+ }
990
+ /**
991
+ * Update an existing recommendation prompt
992
+ * Update an existing prompt by ID. Must provide platform_key to verify ownership.
993
+ * @returns PlatformPromptResponse
994
+ * @throws ApiError
995
+ */
996
+ public static updatePlatformPrompt2({
997
+ requestBody,
998
+ }: {
999
+ requestBody?: PlatformPrompt,
1000
+ }): CancelablePromise<PlatformPromptResponse> {
1001
+ return __request(OpenAPI, {
1002
+ method: 'PUT',
1003
+ url: '/api/ai-search/recommendation/prompts/',
1004
+ body: requestBody,
1005
+ mediaType: 'application/json',
1006
+ errors: {
1007
+ 400: `Invalid data`,
1008
+ 401: `Authentication required`,
1009
+ 403: `Admin permissions required or platform mismatch`,
1010
+ 404: `Prompt not found`,
1011
+ },
1012
+ });
1013
+ }
1014
+ /**
1015
+ * Delete a recommendation prompt
1016
+ * Delete a recommendation prompt by ID. Must provide platform_key to verify ownership. This permanently removes the prompt.
1017
+ * @returns void
1018
+ * @throws ApiError
1019
+ */
1020
+ public static deletePlatformPrompt2(): CancelablePromise<void> {
1021
+ return __request(OpenAPI, {
1022
+ method: 'DELETE',
1023
+ url: '/api/ai-search/recommendation/prompts/',
1024
+ errors: {
1025
+ 401: `Authentication required`,
1026
+ 403: `Admin permissions required or platform mismatch`,
1027
+ 404: `Prompt not found`,
1028
+ },
1029
+ });
1030
+ }
1031
+ /**
1032
+ * Generate AI-driven course recommendations
1033
+ *
1034
+ * Generate personalized course recommendations using AI that considers the user's
1035
+ * learning history, organizational goals, and available courses.
1036
+ *
1037
+ * **Authentication Required:**
1038
+ * - User must be authenticated
1039
+ * - Platform key must be provided
1040
+ * - User must have access to the specified platform
1041
+ *
1042
+ * **How It Works:**
1043
+ * 1. Fetches tenant's custom recommendation prompt (if configured)
1044
+ * 2. Analyzes user's course completion history and performance
1045
+ * 3. Reviews available course catalog
1046
+ * 4. Uses AI to match courses to user's needs and organizational goals
1047
+ * 5. Returns 3-5 courses with clear explanations
1048
+ *
1049
+ * **Tenant Prompts:**
1050
+ * Each organization can configure custom prompts that guide recommendations.
1051
+ * For example: "Prioritize leadership for sales roles" or "Focus on technical skills."
1052
+ *
1053
+ * **Use Cases:**
1054
+ * - Manual recommendation requests by users
1055
+ * - Post-assessment recommendations
1056
+ * - Milestone-triggered suggestions
1057
+ * - Learning path planning
1058
+ *
1059
+ * @returns V2RecommendationResponse
1060
+ * @throws ApiError
1061
+ */
1062
+ public static v2CourseRecommendations({
1063
+ assessmentId,
1064
+ contextType,
1065
+ difficultyLevels,
1066
+ domains,
1067
+ includeMainCatalog = false,
1068
+ includeUserHistory = false,
1069
+ includeUserSkills = false,
1070
+ k = 20,
1071
+ limit = 5,
1072
+ page = 1,
1073
+ pageSize = 10,
1074
+ platformKey,
1075
+ platformOrg,
1076
+ rankingPrompt,
1077
+ rankingStrategy,
1078
+ recommendationType = 'courses',
1079
+ searchTerms,
1080
+ spaUrl,
1081
+ triggerSource = 'manual',
1082
+ useLlmRanking = false,
1083
+ useRagSearch = true,
1084
+ }: {
1085
+ /**
1086
+ * Assessment ID if triggered by assessment completion
1087
+ */
1088
+ assessmentId?: string,
1089
+ /**
1090
+ * Context type for recommendation (e.g., 'assessment_completed', 'milestone_reached')
1091
+ */
1092
+ contextType?: string,
1093
+ /**
1094
+ * Filter recommendations to specific difficulty levels (CSV)
1095
+ */
1096
+ difficultyLevels?: string,
1097
+ /**
1098
+ * Filter recommendations to specific domains (CSV)
1099
+ */
1100
+ domains?: string,
1101
+ /**
1102
+ * Include items from 'main' tenant catalog IN ADDITION TO platform-specific catalog. By default, only platform-specific data is returned (tenant isolation). Set to True to also include shared 'main' tenant resources.
1103
+ */
1104
+ includeMainCatalog?: boolean,
1105
+ /**
1106
+ * Include user's learning history (completed courses, topics) in the RAG search query. Helps find content that builds on their background.
1107
+ */
1108
+ includeUserHistory?: boolean,
1109
+ /**
1110
+ * Include user's skills and badges in the RAG search query. Helps personalize results based on what the user already knows.
1111
+ */
1112
+ includeUserSkills?: boolean,
1113
+ /**
1114
+ * Number of similar items to retrieve via RAG per tenant (before filtering). Higher values give more options but may be slower.
1115
+ */
1116
+ k?: number,
1117
+ /**
1118
+ * Number of course recommendations to return (max 20)
1119
+ */
1120
+ limit?: number,
1121
+ /**
1122
+ * Page number for pagination (starts at 1)
1123
+ */
1124
+ page?: number,
1125
+ /**
1126
+ * Number of recommendations per page (max 100)
1127
+ */
1128
+ pageSize?: number,
1129
+ /**
1130
+ * Platform key for tenant-scoped recommendations
1131
+ */
1132
+ platformKey?: string,
1133
+ /**
1134
+ * Platform org identifier (optional - avoids database lookup if provided)
1135
+ */
1136
+ platformOrg?: string | null,
1137
+ /**
1138
+ * Custom prompt for LLM ranking (only if ranking_strategy='custom'). Define how the LLM should evaluate and order the recommendations.
1139
+ */
1140
+ rankingPrompt?: string,
1141
+ /**
1142
+ * Strategy for LLM ranking. Only used if use_llm_ranking=True.
1143
+ *
1144
+ * * `relevance` - Rank by relevance and value (default)
1145
+ * * `difficulty` - Rank by difficulty progression
1146
+ * * `personalized` - Personalize to user context and goals
1147
+ * * `custom` - Use custom ranking prompt
1148
+ */
1149
+ rankingStrategy?: 'relevance' | 'difficulty' | 'personalized' | 'custom',
1150
+ /**
1151
+ * Type of resource to recommend. Catalog types (courses/programs/resources/pathways) will use the platform's 'catalog' prompt category if configured.
1152
+ *
1153
+ * * `mentors` - Mentor Recommendations
1154
+ * * `courses` - Course Recommendations
1155
+ * * `programs` - Program Recommendations
1156
+ * * `resources` - Resource Recommendations
1157
+ * * `pathways` - Pathway Recommendations
1158
+ */
1159
+ recommendationType?: 'mentors' | 'courses' | 'programs' | 'resources' | 'pathways',
1160
+ /**
1161
+ * Search terms to find similar content (e.g., 'leadership', 'data science'). Used to build the RAG query.
1162
+ */
1163
+ searchTerms?: string,
1164
+ /**
1165
+ * Frontend/SPA identifier (e.g., 'catalog.example.com', 'mentor-ai.ibl.com'). Used to retrieve the correct prompt for that specific frontend. Auto-detected from HTTP_REFERER if not provided.
1166
+ */
1167
+ spaUrl?: string,
1168
+ /**
1169
+ * What triggered this recommendation request
1170
+ */
1171
+ triggerSource?: string,
1172
+ /**
1173
+ * Use LLM to rank and personalize RAG results. Adds AI-generated reasoning but increases cost and latency. Only applies if use_rag_search=True.
1174
+ */
1175
+ useLlmRanking?: boolean,
1176
+ /**
1177
+ * Use RAG similarity search instead of full LLM catalog review. Faster and more cost-effective. Set to False for legacy LLM-only behavior.
1178
+ */
1179
+ useRagSearch?: boolean,
1180
+ }): CancelablePromise<V2RecommendationResponse> {
1181
+ return __request(OpenAPI, {
1182
+ method: 'GET',
1183
+ url: '/api/ai-search/recommendations/',
1184
+ query: {
1185
+ 'assessment_id': assessmentId,
1186
+ 'context_type': contextType,
1187
+ 'difficulty_levels': difficultyLevels,
1188
+ 'domains': domains,
1189
+ 'include_main_catalog': includeMainCatalog,
1190
+ 'include_user_history': includeUserHistory,
1191
+ 'include_user_skills': includeUserSkills,
1192
+ 'k': k,
1193
+ 'limit': limit,
1194
+ 'page': page,
1195
+ 'page_size': pageSize,
1196
+ 'platform_key': platformKey,
1197
+ 'platform_org': platformOrg,
1198
+ 'ranking_prompt': rankingPrompt,
1199
+ 'ranking_strategy': rankingStrategy,
1200
+ 'recommendation_type': recommendationType,
1201
+ 'search_terms': searchTerms,
1202
+ 'spa_url': spaUrl,
1203
+ 'trigger_source': triggerSource,
1204
+ 'use_llm_ranking': useLlmRanking,
1205
+ 'use_rag_search': useRagSearch,
1206
+ },
1207
+ errors: {
1208
+ 400: `Bad request - invalid parameters or missing required fields`,
1209
+ 401: `Unauthorized - authentication required`,
1210
+ 500: `Internal server error`,
1211
+ },
1212
+ });
1213
+ }
1214
+ /**
1215
+ * Search for items that can be put up for sale
1216
+ * Search across courses, programs, pathways, and mentors on a platform to find items a seller can monetise. Requires authentication and the Ibl.Billing/CanSellItems RBAC policy.
1217
+ * @returns SellableItemsResponse
1218
+ * @throws ApiError
1219
+ */
1220
+ public static v2SellableItemsSearch({
1221
+ platformKey,
1222
+ itemType,
1223
+ limit = 12,
1224
+ offset,
1225
+ orderBy = 'name',
1226
+ orderDirection = 'asc',
1227
+ paywallStatus,
1228
+ query,
1229
+ returnFacets = true,
1230
+ }: {
1231
+ /**
1232
+ * Platform key (required). Items are scoped to a platform.
1233
+ */
1234
+ platformKey: string,
1235
+ /**
1236
+ * Filter by item type (CSV): course, program, pathway, mentor.
1237
+ */
1238
+ itemType?: string,
1239
+ /**
1240
+ * Results per page (default 12, max 100).
1241
+ */
1242
+ limit?: number,
1243
+ /**
1244
+ * Pagination offset.
1245
+ */
1246
+ offset?: number,
1247
+ /**
1248
+ * Field to sort results by.
1249
+ *
1250
+ * * `name` - name
1251
+ * * `created_at` - created_at
1252
+ */
1253
+ orderBy?: 'name' | 'created_at',
1254
+ /**
1255
+ * Sort direction.
1256
+ *
1257
+ * * `asc` - asc
1258
+ * * `desc` - desc
1259
+ */
1260
+ orderDirection?: 'asc' | 'desc',
1261
+ /**
1262
+ * Filter by paywall status: 'none' (no paywall configured), 'enabled' (paywall active), 'disabled' (paywall exists but inactive).
1263
+ *
1264
+ * * `none` - none
1265
+ * * `enabled` - enabled
1266
+ * * `disabled` - disabled
1267
+ */
1268
+ paywallStatus?: 'none' | 'enabled' | 'disabled',
1269
+ /**
1270
+ * Free-text search across item name and description.
1271
+ */
1272
+ query?: string,
1273
+ /**
1274
+ * Include facets in response.
1275
+ */
1276
+ returnFacets?: boolean,
1277
+ }): CancelablePromise<SellableItemsResponse> {
1278
+ return __request(OpenAPI, {
1279
+ method: 'GET',
1280
+ url: '/api/ai-search/sellable-items/',
1281
+ query: {
1282
+ 'item_type': itemType,
1283
+ 'limit': limit,
1284
+ 'offset': offset,
1285
+ 'order_by': orderBy,
1286
+ 'order_direction': orderDirection,
1287
+ 'paywall_status': paywallStatus,
1288
+ 'platform_key': platformKey,
1289
+ 'query': query,
1290
+ 'return_facets': returnFacets,
1291
+ },
1292
+ errors: {
1293
+ 400: `Invalid parameters`,
1294
+ 401: `Authentication required`,
1295
+ 403: `Permission denied`,
1296
+ },
1297
+ });
1298
+ }
1299
+ }