@iblai/iblai-api 4.366.0-ai → 4.366.0-core

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1211) hide show
  1. package/dist/index.cjs.js +2337 -23558
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +2338 -23549
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.umd.js +2337 -23558
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/types/index.d.ts +1 -594
  8. package/dist/types/models/{PlatformApplicationNoteKindEnum.d.ts → KindEnum.d.ts} +1 -1
  9. package/dist/types/models/Pagination.d.ts +11 -16
  10. package/dist/types/models/PatchedPlatformApplicationNote.d.ts +2 -2
  11. package/dist/types/models/PlatformApplicationNote.d.ts +2 -2
  12. package/dist/types/services/AiAnalyticsService.d.ts +242 -5549
  13. package/dist/types/services/AnalyticsService.d.ts +4 -770
  14. package/dist/types/services/SearchService.d.ts +71 -1116
  15. package/package.json +1 -1
  16. package/sdk_schema.yml +34887 -108046
  17. package/src/core/OpenAPI.ts +1 -1
  18. package/src/index.ts +1 -594
  19. package/src/models/{PlatformApplicationNoteKindEnum.ts → KindEnum.ts} +1 -1
  20. package/src/models/Pagination.ts +11 -16
  21. package/src/models/PatchedPlatformApplicationNote.ts +2 -2
  22. package/src/models/PlatformApplicationNote.ts +2 -2
  23. package/src/services/AiAnalyticsService.ts +5481 -14143
  24. package/src/services/AnalyticsService.ts +189 -1307
  25. package/src/services/SearchService.ts +743 -2237
  26. package/dist/types/models/AIGeneratedImage.d.ts +0 -13
  27. package/dist/types/models/AIUserProfileMemoryRelation.d.ts +0 -4
  28. package/dist/types/models/AIUserProfileRequest.d.ts +0 -4
  29. package/dist/types/models/AccessEnum.d.ts +0 -8
  30. package/dist/types/models/AccessTimesHeatmap.d.ts +0 -5
  31. package/dist/types/models/AccessibleMentorsByEmailRequest.d.ts +0 -13
  32. package/dist/types/models/AccessibleMentorsByEmailResponse.d.ts +0 -13
  33. package/dist/types/models/ActionBreakdown.d.ts +0 -10
  34. package/dist/types/models/AddMentorToDisclaimer.d.ts +0 -12
  35. package/dist/types/models/AdminIntegrationCredential.d.ts +0 -17
  36. package/dist/types/models/AgentSkill.d.ts +0 -35
  37. package/dist/types/models/AgentSkillResource.d.ts +0 -17
  38. package/dist/types/models/AlignMentorBubbleEnum.d.ts +0 -8
  39. package/dist/types/models/AnalyticsOverview.d.ts +0 -7
  40. package/dist/types/models/Answer.d.ts +0 -11
  41. package/dist/types/models/Artifact.d.ts +0 -72
  42. package/dist/types/models/ArtifactList.d.ts +0 -50
  43. package/dist/types/models/ArtifactVersion.d.ts +0 -59
  44. package/dist/types/models/AssumedKnowledge.d.ts +0 -4
  45. package/dist/types/models/AssumedKnowledgeLevel.d.ts +0 -4
  46. package/dist/types/models/AudioToTextRequest.d.ts +0 -15
  47. package/dist/types/models/AudioToTextResponse.d.ts +0 -3
  48. package/dist/types/models/AuthModeEnum.d.ts +0 -12
  49. package/dist/types/models/AuthScopeEnum.d.ts +0 -10
  50. package/dist/types/models/AuthTypeEnum.d.ts +0 -10
  51. package/dist/types/models/BaseFinanceResponse.d.ts +0 -37
  52. package/dist/types/models/BillingPeriod.d.ts +0 -8
  53. package/dist/types/models/Bot.d.ts +0 -15
  54. package/dist/types/models/BotCommand.d.ts +0 -6
  55. package/dist/types/models/BotCreate.d.ts +0 -12
  56. package/dist/types/models/Breakdown.d.ts +0 -11
  57. package/dist/types/models/CallAuthenticationRequest.d.ts +0 -17
  58. package/dist/types/models/CallAuthenticationResponse.d.ts +0 -21
  59. package/dist/types/models/CallConfiguration.d.ts +0 -38
  60. package/dist/types/models/CallConfigurationModeEnum.d.ts +0 -8
  61. package/dist/types/models/ChatCompletionRequest.d.ts +0 -27
  62. package/dist/types/models/ChatHistory.d.ts +0 -20
  63. package/dist/types/models/ChatHistoryFilterData.d.ts +0 -9
  64. package/dist/types/models/ChatHistoryFilterUser.d.ts +0 -5
  65. package/dist/types/models/ChatHistoryItem.d.ts +0 -6
  66. package/dist/types/models/ChatHistorySessionId.d.ts +0 -3
  67. package/dist/types/models/ChatPrivacyModeEnum.d.ts +0 -10
  68. package/dist/types/models/ChatRunTracker.d.ts +0 -34
  69. package/dist/types/models/ChatRunTrackerStatusEnum.d.ts +0 -10
  70. package/dist/types/models/ChatSessionRequest.d.ts +0 -19
  71. package/dist/types/models/ChatSessionResponse.d.ts +0 -8
  72. package/dist/types/models/CheckDocumentTrainingStatus.d.ts +0 -10
  73. package/dist/types/models/ClawConfigGetResponse.d.ts +0 -19
  74. package/dist/types/models/ClawInstance.d.ts +0 -51
  75. package/dist/types/models/ClawInstanceStatusEnum.d.ts +0 -10
  76. package/dist/types/models/ClawMentorConfig.d.ts +0 -27
  77. package/dist/types/models/ClawModelProvider.d.ts +0 -40
  78. package/dist/types/models/ClawRpcError.d.ts +0 -7
  79. package/dist/types/models/ClawTypeEnum.d.ts +0 -10
  80. package/dist/types/models/ComparisonInfo.d.ts +0 -29
  81. package/dist/types/models/ConnectedService.d.ts +0 -28
  82. package/dist/types/models/ConversationChartPoint.d.ts +0 -4
  83. package/dist/types/models/ConversationDetailResponse.d.ts +0 -4
  84. package/dist/types/models/ConversationListItem.d.ts +0 -21
  85. package/dist/types/models/ConversationListResponse.d.ts +0 -6
  86. package/dist/types/models/ConversationMessage.d.ts +0 -11
  87. package/dist/types/models/ConversationRating.d.ts +0 -6
  88. package/dist/types/models/ConversationSummary.d.ts +0 -5
  89. package/dist/types/models/ConversationVolume.d.ts +0 -4
  90. package/dist/types/models/Conversations.d.ts +0 -56
  91. package/dist/types/models/ConversationsChart.d.ts +0 -5
  92. package/dist/types/models/Cost.d.ts +0 -3
  93. package/dist/types/models/CostPerTenant.d.ts +0 -6
  94. package/dist/types/models/CourseCreationTask.d.ts +0 -36
  95. package/dist/types/models/CourseCreationTaskFile.d.ts +0 -7
  96. package/dist/types/models/CourseCreationTaskStatusEnum.d.ts +0 -16
  97. package/dist/types/models/CourseRecommendation.d.ts +0 -49
  98. package/dist/types/models/CrawlerPatternTypeEnum.d.ts +0 -8
  99. package/dist/types/models/CreateXblock.d.ts +0 -37
  100. package/dist/types/models/CredentialRequest.d.ts +0 -14
  101. package/dist/types/models/CronDelivery.d.ts +0 -12
  102. package/dist/types/models/CronDeliveryModeEnum.d.ts +0 -10
  103. package/dist/types/models/CronJobCreate.d.ts +0 -22
  104. package/dist/types/models/CronJobListResponse.d.ts +0 -10
  105. package/dist/types/models/CronJobResponse.d.ts +0 -28
  106. package/dist/types/models/CronPayload.d.ts +0 -19
  107. package/dist/types/models/CronPayloadKindEnum.d.ts +0 -8
  108. package/dist/types/models/CronRunAction.d.ts +0 -7
  109. package/dist/types/models/CronRunActionModeEnum.d.ts +0 -8
  110. package/dist/types/models/CronRunLogEntry.d.ts +0 -25
  111. package/dist/types/models/CronRunLogEntryStatusEnum.d.ts +0 -10
  112. package/dist/types/models/CronRunResult.d.ts +0 -8
  113. package/dist/types/models/CronRunsResponse.d.ts +0 -10
  114. package/dist/types/models/CronSchedule.d.ts +0 -17
  115. package/dist/types/models/CronScheduleKindEnum.d.ts +0 -10
  116. package/dist/types/models/CronStatusResponse.d.ts +0 -14
  117. package/dist/types/models/CrontabSchedule.d.ts +0 -22
  118. package/dist/types/models/CurrentUsersResponse.d.ts +0 -8
  119. package/dist/types/models/CustomInstructionResponse.d.ts +0 -13
  120. package/dist/types/models/DataTypeEnum.d.ts +0 -10
  121. package/dist/types/models/Dataset.d.ts +0 -12
  122. package/dist/types/models/DatasetCreate.d.ts +0 -8
  123. package/dist/types/models/DatasetItem.d.ts +0 -20
  124. package/dist/types/models/DatasetItemBulkCreateResponse.d.ts +0 -5
  125. package/dist/types/models/DatasetItemCreate.d.ts +0 -10
  126. package/dist/types/models/DatasetItemInput.d.ts +0 -7
  127. package/dist/types/models/DatasetItemUpdate.d.ts +0 -10
  128. package/dist/types/models/DatasetItemUpdateStatusEnum.d.ts +0 -8
  129. package/dist/types/models/DatasetRunItem.d.ts +0 -16
  130. package/dist/types/models/DateRange.d.ts +0 -4
  131. package/dist/types/models/DeleteXblock.d.ts +0 -9
  132. package/dist/types/models/DeliveryStatusEnum.d.ts +0 -12
  133. package/dist/types/models/DeployStateEnum.d.ts +0 -14
  134. package/dist/types/models/Disclaimer.d.ts +0 -17
  135. package/dist/types/models/DisclaimerAgreement.d.ts +0 -11
  136. package/dist/types/models/DisclaimerScopeEnum.d.ts +0 -8
  137. package/dist/types/models/DiscordConfig.d.ts +0 -7
  138. package/dist/types/models/DiscordUserConfig.d.ts +0 -10
  139. package/dist/types/models/DiscordWebhook.d.ts +0 -6
  140. package/dist/types/models/Document.d.ts +0 -41
  141. package/dist/types/models/DocumentFacet.d.ts +0 -17
  142. package/dist/types/models/DocumentFromPoolRequest.d.ts +0 -10
  143. package/dist/types/models/DocumentSearchResponse.d.ts +0 -35
  144. package/dist/types/models/DocumentSettingsResponse.d.ts +0 -3
  145. package/dist/types/models/DomainAttach.d.ts +0 -7
  146. package/dist/types/models/EdxCourse.d.ts +0 -12
  147. package/dist/types/models/ElevenlabsCustomVoice.d.ts +0 -4
  148. package/dist/types/models/ElevenlabsCustomVoiceResponse.d.ts +0 -8
  149. package/dist/types/models/EmailPromptDetail.d.ts +0 -13
  150. package/dist/types/models/EmailPromptList.d.ts +0 -11
  151. package/dist/types/models/EmailPromptSummary.d.ts +0 -5
  152. package/dist/types/models/EnforcementEnum.d.ts +0 -8
  153. package/dist/types/models/Entity.d.ts +0 -11
  154. package/dist/types/models/EntityTypeEnum.d.ts +0 -10
  155. package/dist/types/models/Error.d.ts +0 -3
  156. package/dist/types/models/ExperimentCreate.d.ts +0 -8
  157. package/dist/types/models/ExternalProxyInvoke.d.ts +0 -19
  158. package/dist/types/models/ExternalProxyServiceDetail.d.ts +0 -23
  159. package/dist/types/models/ExternalProxyServiceList.d.ts +0 -14
  160. package/dist/types/models/ExternalServiceInfo.d.ts +0 -6
  161. package/dist/types/models/FailureCategoryEnum.d.ts +0 -28
  162. package/dist/types/models/FallbackLLM.d.ts +0 -47
  163. package/dist/types/models/FallbackLLMCreate.d.ts +0 -38
  164. package/dist/types/models/FallbackLLMUpdate.d.ts +0 -33
  165. package/dist/types/models/FeedbackModeEnum.d.ts +0 -10
  166. package/dist/types/models/FileTypeEnum.d.ts +0 -10
  167. package/dist/types/models/FileUploadURLRequest.d.ts +0 -21
  168. package/dist/types/models/FileUploadURLResponse.d.ts +0 -25
  169. package/dist/types/models/FinanceDetailsResponse.d.ts +0 -13
  170. package/dist/types/models/FinanceFilters.d.ts +0 -15
  171. package/dist/types/models/FreeUsageCount.d.ts +0 -3
  172. package/dist/types/models/GradeResult.d.ts +0 -42
  173. package/dist/types/models/GradeResultDetail.d.ts +0 -71
  174. package/dist/types/models/GradeResultMentor.d.ts +0 -4
  175. package/dist/types/models/GradeResultPlatform.d.ts +0 -3
  176. package/dist/types/models/GradeResultStudent.d.ts +0 -5
  177. package/dist/types/models/GraderCriterion.d.ts +0 -15
  178. package/dist/types/models/GradingModeEnum.d.ts +0 -8
  179. package/dist/types/models/GrantMentorAccessRequest.d.ts +0 -9
  180. package/dist/types/models/GreetingMethodEnum.d.ts +0 -8
  181. package/dist/types/models/GuidedPrompt.d.ts +0 -4
  182. package/dist/types/models/GuidedPromptsResponse.d.ts +0 -5
  183. package/dist/types/models/HeygenAvatarCreate.d.ts +0 -9
  184. package/dist/types/models/HeygenAvatarCreateTypeEnum.d.ts +0 -8
  185. package/dist/types/models/HeygenMarketingVideoDetail.d.ts +0 -8
  186. package/dist/types/models/HeygenMarketingVideoList.d.ts +0 -6
  187. package/dist/types/models/HeygenStreamingSession.d.ts +0 -12
  188. package/dist/types/models/HeygenStreamingTask.d.ts +0 -10
  189. package/dist/types/models/HeygenTemplateRequest.d.ts +0 -5
  190. package/dist/types/models/HeygenTemplateResponseSingle.d.ts +0 -6
  191. package/dist/types/models/HeygenTtsPreview.d.ts +0 -7
  192. package/dist/types/models/HeygenVideoCreate.d.ts +0 -14
  193. package/dist/types/models/HeygenVideoCreateTypeEnum.d.ts +0 -8
  194. package/dist/types/models/HeygenVideoDetail.d.ts +0 -8
  195. package/dist/types/models/HeygenVideoRequest.d.ts +0 -5
  196. package/dist/types/models/HeygenVoiceClone.d.ts +0 -9
  197. package/dist/types/models/HostingProject.d.ts +0 -29
  198. package/dist/types/models/HumanSupportTicket.d.ts +0 -23
  199. package/dist/types/models/HumanSupportTicketStatusEnum.d.ts +0 -10
  200. package/dist/types/models/InputQuestion.d.ts +0 -6
  201. package/dist/types/models/IntegrationCredential.d.ts +0 -25
  202. package/dist/types/models/IntegrationCredentialSchema.d.ts +0 -6
  203. package/dist/types/models/IntegrationCredentialSchemaV2.d.ts +0 -10
  204. package/dist/types/models/InterfaceEnum.d.ts +0 -8
  205. package/dist/types/models/IntervalTypeEnum.d.ts +0 -12
  206. package/dist/types/models/IntialQuestionAnswer.d.ts +0 -3
  207. package/dist/types/models/InvalidQueryParameters.d.ts +0 -3
  208. package/dist/types/models/InvoiceReportResponse.d.ts +0 -13
  209. package/dist/types/models/JobRun.d.ts +0 -11
  210. package/dist/types/models/JudgeRecord.d.ts +0 -18
  211. package/dist/types/models/LLMCredentialRequest.d.ts +0 -14
  212. package/dist/types/models/LLMCredentialResponse.d.ts +0 -10
  213. package/dist/types/models/LLMCredentialSchema.d.ts +0 -6
  214. package/dist/types/models/LLMJudge.d.ts +0 -10
  215. package/dist/types/models/LLMModelForTenant.d.ts +0 -6
  216. package/dist/types/models/LLMModelRegistryMinimal.d.ts +0 -15
  217. package/dist/types/models/LLMProviderMinimal.d.ts +0 -29
  218. package/dist/types/models/LLMQuestion.d.ts +0 -15
  219. package/dist/types/models/LLMResponse.d.ts +0 -18
  220. package/dist/types/models/LLMTracesListResponse.d.ts +0 -5
  221. package/dist/types/models/LanguagesView.d.ts +0 -5
  222. package/dist/types/models/LinkCourseRequest.d.ts +0 -3
  223. package/dist/types/models/LinkCourseResponse.d.ts +0 -5
  224. package/dist/types/models/LlmProviderEnum.d.ts +0 -10
  225. package/dist/types/models/LlmUsageAnalyticsResponse.d.ts +0 -8
  226. package/dist/types/models/MCPServer.d.ts +0 -65
  227. package/dist/types/models/MCPServerConnection.d.ts +0 -47
  228. package/dist/types/models/MCPServerConnectionScopeEnum.d.ts +0 -10
  229. package/dist/types/models/MCPServerOauthFind.d.ts +0 -5
  230. package/dist/types/models/MCPServerTransportEnum.d.ts +0 -10
  231. package/dist/types/models/MaskedIntegrationCredential.d.ts +0 -25
  232. package/dist/types/models/MaskedLLMCredential.d.ts +0 -10
  233. package/dist/types/models/McpServerConfig.d.ts +0 -17
  234. package/dist/types/models/McpServerConfigTransportEnum.d.ts +0 -8
  235. package/dist/types/models/McpServerCreate.d.ts +0 -8
  236. package/dist/types/models/McpServerEntry.d.ts +0 -8
  237. package/dist/types/models/McpServerListResponse.d.ts +0 -4
  238. package/dist/types/models/MemoryComponentData.d.ts +0 -5
  239. package/dist/types/models/MemoryComponentDataKindEnum.d.ts +0 -10
  240. package/dist/types/models/MemoryComponentMemory.d.ts +0 -4
  241. package/dist/types/models/MemoryComponentMemoryDetail.d.ts +0 -8
  242. package/dist/types/models/MemoryComponentResponse.d.ts +0 -5
  243. package/dist/types/models/MemoryProgress.d.ts +0 -8
  244. package/dist/types/models/MemoryStatusRequestView.d.ts +0 -6
  245. package/dist/types/models/MemoryStatusView.d.ts +0 -6
  246. package/dist/types/models/Mentor.d.ts +0 -265
  247. package/dist/types/models/MentorAudience.d.ts +0 -5
  248. package/dist/types/models/MentorAuditLogEntry.d.ts +0 -43
  249. package/dist/types/models/MentorBreakdown.d.ts +0 -9
  250. package/dist/types/models/MentorCategory.d.ts +0 -9
  251. package/dist/types/models/MentorCategoryCreate.d.ts +0 -11
  252. package/dist/types/models/MentorCategoryGroup.d.ts +0 -11
  253. package/dist/types/models/MentorCategoryGroupCreate.d.ts +0 -11
  254. package/dist/types/models/MentorCreate.d.ts +0 -247
  255. package/dist/types/models/MentorCustomVoice.d.ts +0 -4
  256. package/dist/types/models/MentorCustomVoiceResponse.d.ts +0 -4
  257. package/dist/types/models/MentorData.d.ts +0 -7
  258. package/dist/types/models/MentorDetailAnalytics.d.ts +0 -6
  259. package/dist/types/models/MentorEval.d.ts +0 -11
  260. package/dist/types/models/MentorEvalQuestion.d.ts +0 -5
  261. package/dist/types/models/MentorEvalQuestionRequest.d.ts +0 -4
  262. package/dist/types/models/MentorEvalReport.d.ts +0 -10
  263. package/dist/types/models/MentorEvalRequest.d.ts +0 -8
  264. package/dist/types/models/MentorFacet.d.ts +0 -17
  265. package/dist/types/models/MentorFork.d.ts +0 -5
  266. package/dist/types/models/MentorFromTemplate.d.ts +0 -3
  267. package/dist/types/models/MentorFromTemplateWithSettingRequest.d.ts +0 -81
  268. package/dist/types/models/MentorFromTemplateWithSettingRequestVoiceProviderEnum.d.ts +0 -10
  269. package/dist/types/models/MentorGraderConfig.d.ts +0 -24
  270. package/dist/types/models/MentorMemorySettingsRequest.d.ts +0 -6
  271. package/dist/types/models/MentorMemorySettingsResponse.d.ts +0 -6
  272. package/dist/types/models/MentorMetadata.d.ts +0 -5
  273. package/dist/types/models/MentorScenario.d.ts +0 -6
  274. package/dist/types/models/MentorScenarioPrompt.d.ts +0 -5
  275. package/dist/types/models/MentorSearchResponse.d.ts +0 -35
  276. package/dist/types/models/MentorSession.d.ts +0 -4
  277. package/dist/types/models/MentorSettings.d.ts +0 -153
  278. package/dist/types/models/MentorSettingsPublic.d.ts +0 -97
  279. package/dist/types/models/MentorSettingsRequest.d.ts +0 -122
  280. package/dist/types/models/MentorSettingsRequestVoiceProviderEnum.d.ts +0 -12
  281. package/dist/types/models/MentorSkillAssignment.d.ts +0 -12
  282. package/dist/types/models/MentorSummary.d.ts +0 -5
  283. package/dist/types/models/MentorType.d.ts +0 -5
  284. package/dist/types/models/MentorUserSetting.d.ts +0 -4
  285. package/dist/types/models/MentorVisibilityEnum.d.ts +0 -10
  286. package/dist/types/models/MentorWizard.d.ts +0 -4
  287. package/dist/types/models/MessageStatistics.d.ts +0 -5
  288. package/dist/types/models/MessageView.d.ts +0 -12
  289. package/dist/types/models/MessageViewRequest.d.ts +0 -9
  290. package/dist/types/models/MessageViewUpdatResponse.d.ts +0 -3
  291. package/dist/types/models/Metadata.d.ts +0 -5
  292. package/dist/types/models/MetricChange.d.ts +0 -4
  293. package/dist/types/models/MetricInfo.d.ts +0 -5
  294. package/dist/types/models/ModalityEnum.d.ts +0 -10
  295. package/dist/types/models/ModelCost.d.ts +0 -4
  296. package/dist/types/models/ModerationLog.d.ts +0 -12
  297. package/dist/types/models/NameEnum.d.ts +0 -15
  298. package/dist/types/models/NestedArtifact.d.ts +0 -55
  299. package/dist/types/models/NoChatMessagesFound.d.ts +0 -3
  300. package/dist/types/models/OAuthProvider.d.ts +0 -24
  301. package/dist/types/models/OAuthService.d.ts +0 -18
  302. package/dist/types/models/OAuthStartResponse.d.ts +0 -3
  303. package/dist/types/models/OauthCredentialsMasked.d.ts +0 -10
  304. package/dist/types/models/Observation.d.ts +0 -31
  305. package/dist/types/models/OfflineDocument.d.ts +0 -19
  306. package/dist/types/models/OverrideStatusEnum.d.ts +0 -10
  307. package/dist/types/models/OvertimeData.d.ts +0 -13
  308. package/dist/types/models/PageContent.d.ts +0 -6
  309. package/dist/types/models/PaginatedAIGeneratedImageList.d.ts +0 -7
  310. package/dist/types/models/PaginatedAgentSkillList.d.ts +0 -7
  311. package/dist/types/models/PaginatedAgentSkillResourceList.d.ts +0 -7
  312. package/dist/types/models/PaginatedArtifactListList.d.ts +0 -7
  313. package/dist/types/models/PaginatedArtifactVersionList.d.ts +0 -7
  314. package/dist/types/models/PaginatedChatRunTrackerList.d.ts +0 -7
  315. package/dist/types/models/PaginatedClawInstanceList.d.ts +0 -7
  316. package/dist/types/models/PaginatedClawModelProviderList.d.ts +0 -7
  317. package/dist/types/models/PaginatedConversationsList.d.ts +0 -7
  318. package/dist/types/models/PaginatedCourseCreationTaskFileList.d.ts +0 -7
  319. package/dist/types/models/PaginatedCourseCreationTaskList.d.ts +0 -7
  320. package/dist/types/models/PaginatedDatasetItemList.d.ts +0 -7
  321. package/dist/types/models/PaginatedDatasetList.d.ts +0 -7
  322. package/dist/types/models/PaginatedDisclaimerAgreementList.d.ts +0 -7
  323. package/dist/types/models/PaginatedDisclaimerList.d.ts +0 -7
  324. package/dist/types/models/PaginatedEdxCourseList.d.ts +0 -7
  325. package/dist/types/models/PaginatedEmailPromptListList.d.ts +0 -7
  326. package/dist/types/models/PaginatedGradeResultList.d.ts +0 -7
  327. package/dist/types/models/PaginatedGraderCriterionList.d.ts +0 -7
  328. package/dist/types/models/PaginatedHeygenMarketingVideoListList.d.ts +0 -7
  329. package/dist/types/models/PaginatedHeygenTemplateResponseSingleList.d.ts +0 -7
  330. package/dist/types/models/PaginatedHumanSupportTicketList.d.ts +0 -7
  331. package/dist/types/models/PaginatedJobRunList.d.ts +0 -7
  332. package/dist/types/models/PaginatedJudgeList.d.ts +0 -7
  333. package/dist/types/models/PaginatedMCPServerConnectionList.d.ts +0 -7
  334. package/dist/types/models/PaginatedMCPServerList.d.ts +0 -7
  335. package/dist/types/models/PaginatedMentorAuditLogEntryList.d.ts +0 -7
  336. package/dist/types/models/PaginatedMentorList.d.ts +0 -7
  337. package/dist/types/models/PaginatedMentorSkillAssignmentList.d.ts +0 -7
  338. package/dist/types/models/PaginatedModerationLogList.d.ts +0 -7
  339. package/dist/types/models/PaginatedObservationList.d.ts +0 -7
  340. package/dist/types/models/PaginatedOfflineDocumentList.d.ts +0 -7
  341. package/dist/types/models/PaginatedPeriodicAgentList.d.ts +0 -7
  342. package/dist/types/models/PaginatedPeriodicAgentLogList.d.ts +0 -7
  343. package/dist/types/models/PaginatedPlayWrightScriptList.d.ts +0 -7
  344. package/dist/types/models/PaginatedProjectList.d.ts +0 -7
  345. package/dist/types/models/PaginatedRetrieverDocumentEmbeddingList.d.ts +0 -7
  346. package/dist/types/models/PaginatedRunList.d.ts +0 -7
  347. package/dist/types/models/PaginatedScoreConfigList.d.ts +0 -7
  348. package/dist/types/models/PaginatedScoreList.d.ts +0 -7
  349. package/dist/types/models/PaginatedTicketMessageList.d.ts +0 -7
  350. package/dist/types/models/PaginatedTopicStatisticsResponse.d.ts +0 -7
  351. package/dist/types/models/PaginatedTraceList.d.ts +0 -7
  352. package/dist/types/models/PaginatedUserEdxMemoryList.d.ts +0 -7
  353. package/dist/types/models/PaginatedVeoVideoListList.d.ts +0 -7
  354. package/dist/types/models/PaginatedVoiceList.d.ts +0 -7
  355. package/dist/types/models/PaginatedWorkflowList.d.ts +0 -7
  356. package/dist/types/models/PatchedAgentSkill.d.ts +0 -35
  357. package/dist/types/models/PatchedAgentSkillResource.d.ts +0 -17
  358. package/dist/types/models/PatchedArtifact.d.ts +0 -72
  359. package/dist/types/models/PatchedBotCommand.d.ts +0 -6
  360. package/dist/types/models/PatchedBotCreate.d.ts +0 -12
  361. package/dist/types/models/PatchedCallConfiguration.d.ts +0 -38
  362. package/dist/types/models/PatchedClawConfigPatchRequest.d.ts +0 -14
  363. package/dist/types/models/PatchedClawInstance.d.ts +0 -51
  364. package/dist/types/models/PatchedClawMentorConfig.d.ts +0 -27
  365. package/dist/types/models/PatchedClawModelProvider.d.ts +0 -40
  366. package/dist/types/models/PatchedConversations.d.ts +0 -56
  367. package/dist/types/models/PatchedCourseCreationTaskFile.d.ts +0 -7
  368. package/dist/types/models/PatchedCredentialRequest.d.ts +0 -14
  369. package/dist/types/models/PatchedCronJobPatch.d.ts +0 -24
  370. package/dist/types/models/PatchedDisclaimer.d.ts +0 -17
  371. package/dist/types/models/PatchedDiscordConfig.d.ts +0 -7
  372. package/dist/types/models/PatchedDiscordUserConfig.d.ts +0 -10
  373. package/dist/types/models/PatchedFallbackLLMUpdate.d.ts +0 -33
  374. package/dist/types/models/PatchedGradeResultOverride.d.ts +0 -15
  375. package/dist/types/models/PatchedGraderCriterion.d.ts +0 -15
  376. package/dist/types/models/PatchedHumanSupportTicket.d.ts +0 -23
  377. package/dist/types/models/PatchedLLMCredentialRequest.d.ts +0 -14
  378. package/dist/types/models/PatchedMCPServer.d.ts +0 -65
  379. package/dist/types/models/PatchedMCPServerConnection.d.ts +0 -47
  380. package/dist/types/models/PatchedMcpServerUpdate.d.ts +0 -8
  381. package/dist/types/models/PatchedMentorCategoryGroupCreate.d.ts +0 -11
  382. package/dist/types/models/PatchedMentorCreate.d.ts +0 -247
  383. package/dist/types/models/PatchedMentorFromTemplate.d.ts +0 -3
  384. package/dist/types/models/PatchedMentorGraderConfig.d.ts +0 -24
  385. package/dist/types/models/PatchedMentorSettings.d.ts +0 -153
  386. package/dist/types/models/PatchedMentorSkillAssignment.d.ts +0 -12
  387. package/dist/types/models/PatchedMentorWizard.d.ts +0 -4
  388. package/dist/types/models/PatchedPeriodicAgentCreate.d.ts +0 -41
  389. package/dist/types/models/PatchedPlayWrightScript.d.ts +0 -12
  390. package/dist/types/models/PatchedProject.d.ts +0 -51
  391. package/dist/types/models/PatchedPrompt.d.ts +0 -22
  392. package/dist/types/models/PatchedSeedMentorsView.d.ts +0 -3
  393. package/dist/types/models/PatchedSlackConfig.d.ts +0 -8
  394. package/dist/types/models/PatchedSlackUserConfig.d.ts +0 -17
  395. package/dist/types/models/PatchedTeamsConfig.d.ts +0 -7
  396. package/dist/types/models/PatchedTenantChatPrivacyConfig.d.ts +0 -11
  397. package/dist/types/models/PatchedTicketMessage.d.ts +0 -10
  398. package/dist/types/models/PatchedWebexConfig.d.ts +0 -10
  399. package/dist/types/models/PatchedWhatsappConfig.d.ts +0 -11
  400. package/dist/types/models/PatchedWhatsappUserConfig.d.ts +0 -10
  401. package/dist/types/models/PatchedWorkflow.d.ts +0 -58
  402. package/dist/types/models/PeriodInfo.d.ts +0 -21
  403. package/dist/types/models/PeriodicAgent.d.ts +0 -42
  404. package/dist/types/models/PeriodicAgentCreate.d.ts +0 -41
  405. package/dist/types/models/PeriodicAgentLog.d.ts +0 -11
  406. package/dist/types/models/PeriodicAgentLogStatusEnum.d.ts +0 -10
  407. package/dist/types/models/PeriodicAgentStatistics.d.ts +0 -7
  408. package/dist/types/models/PeriodicTask.d.ts +0 -21
  409. package/dist/types/models/PhiActionEnum.d.ts +0 -12
  410. package/dist/types/models/PieChartData.d.ts +0 -5
  411. package/dist/types/models/PieChartSegment.d.ts +0 -4
  412. package/dist/types/models/PinnedMessageCreate.d.ts +0 -9
  413. package/dist/types/models/PinnedMessageRequest.d.ts +0 -6
  414. package/dist/types/models/PlatformPrompt.d.ts +0 -34
  415. package/dist/types/models/PlatformPromptResponse.d.ts +0 -16
  416. package/dist/types/models/PlayWrightScript.d.ts +0 -12
  417. package/dist/types/models/PredictiveAnalyticsRequest.d.ts +0 -4
  418. package/dist/types/models/PredictiveAnalyticsResponse.d.ts +0 -4
  419. package/dist/types/models/PreviousAgentStatusEnum.d.ts +0 -12
  420. package/dist/types/models/PrivacyActionEnum.d.ts +0 -12
  421. package/dist/types/models/Project.d.ts +0 -51
  422. package/dist/types/models/ProjectMentor.d.ts +0 -11
  423. package/dist/types/models/Prompt.d.ts +0 -22
  424. package/dist/types/models/PromptCategory.d.ts +0 -7
  425. package/dist/types/models/PromptFacet.d.ts +0 -17
  426. package/dist/types/models/PromptSearchResponse.d.ts +0 -35
  427. package/dist/types/models/PromptVisibilityEnum.d.ts +0 -10
  428. package/dist/types/models/Provider05cEnum.d.ts +0 -14
  429. package/dist/types/models/ProviderBreakdown.d.ts +0 -8
  430. package/dist/types/models/ProvisionModeEnum.d.ts +0 -8
  431. package/dist/types/models/QuestionCardTag.d.ts +0 -8
  432. package/dist/types/models/QuestionRequest.d.ts +0 -15
  433. package/dist/types/models/QuestionResponse.d.ts +0 -10
  434. package/dist/types/models/RatingAverageRecord.d.ts +0 -10
  435. package/dist/types/models/RatingEnum.d.ts +0 -8
  436. package/dist/types/models/RatingRecord.d.ts +0 -4
  437. package/dist/types/models/RatingsOvertime.d.ts +0 -5
  438. package/dist/types/models/RecentlyAccessedMentor.d.ts +0 -11
  439. package/dist/types/models/RecommendationTypeEnum.d.ts +0 -8
  440. package/dist/types/models/RecommendedCoursesResponse.d.ts +0 -33
  441. package/dist/types/models/RelatedText.d.ts +0 -3
  442. package/dist/types/models/RemoveMentorFromDisclaimer.d.ts +0 -12
  443. package/dist/types/models/ReorderChildren.d.ts +0 -13
  444. package/dist/types/models/RequestDataVariable.d.ts +0 -14
  445. package/dist/types/models/ResourceScrappedData.d.ts +0 -13
  446. package/dist/types/models/ResourceScrappedDataStatusEnum.d.ts +0 -12
  447. package/dist/types/models/ResponseDataVariable.d.ts +0 -14
  448. package/dist/types/models/RetreiverTrainViewRequest.d.ts +0 -10
  449. package/dist/types/models/RetreiverTrainViewResponse.d.ts +0 -6
  450. package/dist/types/models/RetrieveTask.d.ts +0 -3
  451. package/dist/types/models/RetrieverDocumentEmbedding.d.ts +0 -34
  452. package/dist/types/models/RetrieverDocumentEmbeddingRequest.d.ts +0 -70
  453. package/dist/types/models/RetrieverRequestSearch.d.ts +0 -10
  454. package/dist/types/models/RetrieverRequestSearchDocument.d.ts +0 -10
  455. package/dist/types/models/RetrieverResponseSearch.d.ts +0 -7
  456. package/dist/types/models/ReuestDataVariableList.d.ts +0 -4
  457. package/dist/types/models/Run.d.ts +0 -21
  458. package/dist/types/models/RunDetailResponse.d.ts +0 -19
  459. package/dist/types/models/RunMentorEval.d.ts +0 -3
  460. package/dist/types/models/ScanWebhookRequest.d.ts +0 -6
  461. package/dist/types/models/ScanWebhookResponse.d.ts +0 -3
  462. package/dist/types/models/ScopeC1dEnum.d.ts +0 -8
  463. package/dist/types/models/Score.d.ts +0 -17
  464. package/dist/types/models/ScoreConfig.d.ts +0 -12
  465. package/dist/types/models/ScoreConfigCategory.d.ts +0 -7
  466. package/dist/types/models/ScoreConfigCreate.d.ts +0 -13
  467. package/dist/types/models/ScoreCreate.d.ts +0 -14
  468. package/dist/types/models/ScoreCreateResponse.d.ts +0 -8
  469. package/dist/types/models/SeedMentorsView.d.ts +0 -3
  470. package/dist/types/models/Segment.d.ts +0 -5
  471. package/dist/types/models/SellableItem.d.ts +0 -14
  472. package/dist/types/models/SellableItemPaywall.d.ts +0 -9
  473. package/dist/types/models/SellableItemsResponse.d.ts +0 -13
  474. package/dist/types/models/SentimentSummary.d.ts +0 -4
  475. package/dist/types/models/ServiceTypeEnum.d.ts +0 -10
  476. package/dist/types/models/SessionBrowserScreenshot.d.ts +0 -8
  477. package/dist/types/models/SessionChartPoint.d.ts +0 -4
  478. package/dist/types/models/SessionDetail.d.ts +0 -6
  479. package/dist/types/models/SessionDisableChathistoryRequest.d.ts +0 -9
  480. package/dist/types/models/SessionDisableChathistoryResponse.d.ts +0 -7
  481. package/dist/types/models/SessionMemoryStorage.d.ts +0 -6
  482. package/dist/types/models/SessionSummary.d.ts +0 -12
  483. package/dist/types/models/SessionSummaryMentor.d.ts +0 -6
  484. package/dist/types/models/SessionsChart.d.ts +0 -5
  485. package/dist/types/models/SetCurrentVersionRequest.d.ts +0 -3
  486. package/dist/types/models/ShareableMentorLink.d.ts +0 -8
  487. package/dist/types/models/SharedSessionUpdateRequest.d.ts +0 -3
  488. package/dist/types/models/SharedSessionUpdateResponse.d.ts +0 -3
  489. package/dist/types/models/SharedSystemPromptConsumer.d.ts +0 -9
  490. package/dist/types/models/SharedSystemPromptRequest.d.ts +0 -10
  491. package/dist/types/models/SharedSystemPromptResponse.d.ts +0 -6
  492. package/dist/types/models/SharedSystemPromptTarget.d.ts +0 -10
  493. package/dist/types/models/ShellLogs.d.ts +0 -3
  494. package/dist/types/models/SkillTypeEnum.d.ts +0 -8
  495. package/dist/types/models/SlackConfig.d.ts +0 -8
  496. package/dist/types/models/SlackUserConfig.d.ts +0 -17
  497. package/dist/types/models/SlackWebhook.d.ts +0 -6
  498. package/dist/types/models/SpacedRepetitionLearningPath.d.ts +0 -3
  499. package/dist/types/models/SpacedRepetitionQuestionStats.d.ts +0 -5
  500. package/dist/types/models/SpendCap.d.ts +0 -35
  501. package/dist/types/models/SpendCapScopeEnum.d.ts +0 -10
  502. package/dist/types/models/SpendCapStatusItem.d.ts +0 -13
  503. package/dist/types/models/SpendCapStatusSummary.d.ts +0 -17
  504. package/dist/types/models/SpendCapStatusSummaryStatusEnum.d.ts +0 -10
  505. package/dist/types/models/StarMentor.d.ts +0 -9
  506. package/dist/types/models/StarterPrompts8c6Enum.d.ts +0 -8
  507. package/dist/types/models/StarterPromptsB04Enum.d.ts +0 -8
  508. package/dist/types/models/Status869Enum.d.ts +0 -10
  509. package/dist/types/models/Step.d.ts +0 -9
  510. package/dist/types/models/StepStatusEnum.d.ts +0 -10
  511. package/dist/types/models/StopGenerationRequest.d.ts +0 -9
  512. package/dist/types/models/StripeCheckoutSessionCreate.d.ts +0 -10
  513. package/dist/types/models/StripeCheckoutSessionCreateModeEnum.d.ts +0 -10
  514. package/dist/types/models/StripeCustomerCreate.d.ts +0 -8
  515. package/dist/types/models/StripePaymentLinkCreate.d.ts +0 -6
  516. package/dist/types/models/StripePaywallAccessResponse.d.ts +0 -9
  517. package/dist/types/models/StripePaywallCheckout.d.ts +0 -6
  518. package/dist/types/models/StripePaywallCheckoutResponse.d.ts +0 -4
  519. package/dist/types/models/StripePriceCreate.d.ts +0 -10
  520. package/dist/types/models/StripeProductCreate.d.ts +0 -9
  521. package/dist/types/models/SttProviderEnum.d.ts +0 -14
  522. package/dist/types/models/StudentChatMessage.d.ts +0 -4
  523. package/dist/types/models/StylesView.d.ts +0 -4
  524. package/dist/types/models/Subject.d.ts +0 -5
  525. package/dist/types/models/Summary.d.ts +0 -9
  526. package/dist/types/models/TagsView.d.ts +0 -5
  527. package/dist/types/models/TargetSystemEnum.d.ts +0 -12
  528. package/dist/types/models/TaskModeEnum.d.ts +0 -8
  529. package/dist/types/models/TaskTypeEnum.d.ts +0 -8
  530. package/dist/types/models/TaskView.d.ts +0 -3
  531. package/dist/types/models/TeamsConfig.d.ts +0 -7
  532. package/dist/types/models/TeamsWebhook.d.ts +0 -17
  533. package/dist/types/models/TemplateMentor.d.ts +0 -9
  534. package/dist/types/models/TenantChatPrivacyConfig.d.ts +0 -11
  535. package/dist/types/models/TenantMentorTraces.d.ts +0 -6
  536. package/dist/types/models/TenantSetting.d.ts +0 -5
  537. package/dist/types/models/ThemeEnum.d.ts +0 -8
  538. package/dist/types/models/TicketMessage.d.ts +0 -10
  539. package/dist/types/models/TonesView.d.ts +0 -4
  540. package/dist/types/models/ToolCategory.d.ts +0 -5
  541. package/dist/types/models/ToolResponse.d.ts +0 -16
  542. package/dist/types/models/TopicDetail.d.ts +0 -8
  543. package/dist/types/models/TopicDetails.d.ts +0 -5
  544. package/dist/types/models/TopicModel.d.ts +0 -3
  545. package/dist/types/models/TopicRecord.d.ts +0 -4
  546. package/dist/types/models/TopicStatistics.d.ts +0 -7
  547. package/dist/types/models/TopicStatisticsResponse.d.ts +0 -6
  548. package/dist/types/models/TopicSummaryView.d.ts +0 -4
  549. package/dist/types/models/TopicsOverview.d.ts +0 -22
  550. package/dist/types/models/TopicsOverviewMetric.d.ts +0 -21
  551. package/dist/types/models/Trace.d.ts +0 -17
  552. package/dist/types/models/TrainDocumentViewRequest.d.ts +0 -90
  553. package/dist/types/models/TrainDocumentViewResponse.d.ts +0 -15
  554. package/dist/types/models/TrainingStatusEnum.d.ts +0 -12
  555. package/dist/types/models/TrendEntry.d.ts +0 -4
  556. package/dist/types/models/TriggerRequest.d.ts +0 -5
  557. package/dist/types/models/TriggerResponse.d.ts +0 -6
  558. package/dist/types/models/TtsProviderEnum.d.ts +0 -12
  559. package/dist/types/models/UpdateXblock.d.ts +0 -17
  560. package/dist/types/models/UseMainCreds.d.ts +0 -3
  561. package/dist/types/models/UserAllChatMemoryView.d.ts +0 -7
  562. package/dist/types/models/UserCatalogItemMemoryView.d.ts +0 -14
  563. package/dist/types/models/UserChatByPeriod.d.ts +0 -4
  564. package/dist/types/models/UserChatFeedback.d.ts +0 -15
  565. package/dist/types/models/UserChatFeedbackCount.d.ts +0 -4
  566. package/dist/types/models/UserChatHistoryFilterData.d.ts +0 -10
  567. package/dist/types/models/UserChatMemoryStatusRequestView.d.ts +0 -6
  568. package/dist/types/models/UserChatMemoryStatusView.d.ts +0 -6
  569. package/dist/types/models/UserChatMemoryUpdateView.d.ts +0 -10
  570. package/dist/types/models/UserChatPrivacySettings.d.ts +0 -18
  571. package/dist/types/models/UserCountRecord.d.ts +0 -4
  572. package/dist/types/models/UserDefaultMentor.d.ts +0 -17
  573. package/dist/types/models/UserDetail.d.ts +0 -8
  574. package/dist/types/models/UserEdxMemory.d.ts +0 -15
  575. package/dist/types/models/UserMemoryContextRequest.d.ts +0 -13
  576. package/dist/types/models/UserMemoryContextResponse.d.ts +0 -12
  577. package/dist/types/models/UserMetric.d.ts +0 -4
  578. package/dist/types/models/UserMetricsResponse.d.ts +0 -7
  579. package/dist/types/models/UserReportListResponse.d.ts +0 -6
  580. package/dist/types/models/UserSentimentCountView.d.ts +0 -4
  581. package/dist/types/models/UserTrendByPeriod.d.ts +0 -5
  582. package/dist/types/models/V2GlobalMentorSearchResponse.d.ts +0 -29
  583. package/dist/types/models/V2PersonalizedMentorsResponse.d.ts +0 -29
  584. package/dist/types/models/V2RecommendationResponse.d.ts +0 -65
  585. package/dist/types/models/VectorResult.d.ts +0 -10
  586. package/dist/types/models/VeoVideoDetail.d.ts +0 -10
  587. package/dist/types/models/VeoVideoList.d.ts +0 -6
  588. package/dist/types/models/VeoVideoRequest.d.ts +0 -5
  589. package/dist/types/models/VersionNestedArtifact.d.ts +0 -56
  590. package/dist/types/models/VideoCaption.d.ts +0 -3
  591. package/dist/types/models/VirtualMachineEgressEnum.d.ts +0 -10
  592. package/dist/types/models/Voice.d.ts +0 -9
  593. package/dist/types/models/VoiceProviderEefEnum.d.ts +0 -12
  594. package/dist/types/models/VoiceProviderEnum.d.ts +0 -14
  595. package/dist/types/models/WakeModeEnum.d.ts +0 -8
  596. package/dist/types/models/WakeRequest.d.ts +0 -8
  597. package/dist/types/models/WakeResponse.d.ts +0 -14
  598. package/dist/types/models/WebResource.d.ts +0 -9
  599. package/dist/types/models/WebResourceCard.d.ts +0 -7
  600. package/dist/types/models/WebResourcesQuery.d.ts +0 -3
  601. package/dist/types/models/WebexConfig.d.ts +0 -10
  602. package/dist/types/models/WebexWebhook.d.ts +0 -4
  603. package/dist/types/models/WhatAppWebHook.d.ts +0 -3
  604. package/dist/types/models/WhatsappConfig.d.ts +0 -11
  605. package/dist/types/models/WhatsappUserConfig.d.ts +0 -10
  606. package/dist/types/models/Workflow.d.ts +0 -58
  607. package/dist/types/models/XblockResult.d.ts +0 -9
  608. package/dist/types/models/XblockTypeEnum.d.ts +0 -16
  609. package/dist/types/services/AiAccountService.d.ts +0 -889
  610. package/dist/types/services/AiBotService.d.ts +0 -650
  611. package/dist/types/services/AiIndexService.d.ts +0 -355
  612. package/dist/types/services/AiMarketingService.d.ts +0 -38
  613. package/dist/types/services/AiMediaService.d.ts +0 -247
  614. package/dist/types/services/AiMentorService.d.ts +0 -12273
  615. package/dist/types/services/AiPromptService.d.ts +0 -1035
  616. package/dist/types/services/AiProxyService.d.ts +0 -37
  617. package/dist/types/services/AiSearchService.d.ts +0 -819
  618. package/dist/types/services/IntegrationCredentialsService.d.ts +0 -30
  619. package/src/models/AIGeneratedImage.ts +0 -18
  620. package/src/models/AIUserProfileMemoryRelation.ts +0 -9
  621. package/src/models/AIUserProfileRequest.ts +0 -9
  622. package/src/models/AccessEnum.ts +0 -12
  623. package/src/models/AccessTimesHeatmap.ts +0 -10
  624. package/src/models/AccessibleMentorsByEmailRequest.ts +0 -18
  625. package/src/models/AccessibleMentorsByEmailResponse.ts +0 -18
  626. package/src/models/ActionBreakdown.ts +0 -15
  627. package/src/models/AddMentorToDisclaimer.ts +0 -17
  628. package/src/models/AdminIntegrationCredential.ts +0 -22
  629. package/src/models/AgentSkill.ts +0 -40
  630. package/src/models/AgentSkillResource.ts +0 -22
  631. package/src/models/AlignMentorBubbleEnum.ts +0 -12
  632. package/src/models/AnalyticsOverview.ts +0 -12
  633. package/src/models/Answer.ts +0 -16
  634. package/src/models/Artifact.ts +0 -77
  635. package/src/models/ArtifactList.ts +0 -55
  636. package/src/models/ArtifactVersion.ts +0 -64
  637. package/src/models/AssumedKnowledge.ts +0 -9
  638. package/src/models/AssumedKnowledgeLevel.ts +0 -9
  639. package/src/models/AudioToTextRequest.ts +0 -20
  640. package/src/models/AudioToTextResponse.ts +0 -8
  641. package/src/models/AuthModeEnum.ts +0 -16
  642. package/src/models/AuthScopeEnum.ts +0 -14
  643. package/src/models/AuthTypeEnum.ts +0 -14
  644. package/src/models/BaseFinanceResponse.ts +0 -42
  645. package/src/models/BillingPeriod.ts +0 -13
  646. package/src/models/Bot.ts +0 -20
  647. package/src/models/BotCommand.ts +0 -11
  648. package/src/models/BotCreate.ts +0 -17
  649. package/src/models/Breakdown.ts +0 -16
  650. package/src/models/CallAuthenticationRequest.ts +0 -22
  651. package/src/models/CallAuthenticationResponse.ts +0 -26
  652. package/src/models/CallConfiguration.ts +0 -43
  653. package/src/models/CallConfigurationModeEnum.ts +0 -12
  654. package/src/models/ChatCompletionRequest.ts +0 -32
  655. package/src/models/ChatHistory.ts +0 -25
  656. package/src/models/ChatHistoryFilterData.ts +0 -14
  657. package/src/models/ChatHistoryFilterUser.ts +0 -10
  658. package/src/models/ChatHistoryItem.ts +0 -11
  659. package/src/models/ChatHistorySessionId.ts +0 -8
  660. package/src/models/ChatPrivacyModeEnum.ts +0 -14
  661. package/src/models/ChatRunTracker.ts +0 -39
  662. package/src/models/ChatRunTrackerStatusEnum.ts +0 -14
  663. package/src/models/ChatSessionRequest.ts +0 -24
  664. package/src/models/ChatSessionResponse.ts +0 -13
  665. package/src/models/CheckDocumentTrainingStatus.ts +0 -15
  666. package/src/models/ClawConfigGetResponse.ts +0 -24
  667. package/src/models/ClawInstance.ts +0 -56
  668. package/src/models/ClawInstanceStatusEnum.ts +0 -14
  669. package/src/models/ClawMentorConfig.ts +0 -32
  670. package/src/models/ClawModelProvider.ts +0 -45
  671. package/src/models/ClawRpcError.ts +0 -12
  672. package/src/models/ClawTypeEnum.ts +0 -14
  673. package/src/models/ComparisonInfo.ts +0 -34
  674. package/src/models/ConnectedService.ts +0 -33
  675. package/src/models/ConversationChartPoint.ts +0 -9
  676. package/src/models/ConversationDetailResponse.ts +0 -9
  677. package/src/models/ConversationListItem.ts +0 -26
  678. package/src/models/ConversationListResponse.ts +0 -11
  679. package/src/models/ConversationMessage.ts +0 -16
  680. package/src/models/ConversationRating.ts +0 -11
  681. package/src/models/ConversationSummary.ts +0 -10
  682. package/src/models/ConversationVolume.ts +0 -9
  683. package/src/models/Conversations.ts +0 -61
  684. package/src/models/ConversationsChart.ts +0 -10
  685. package/src/models/Cost.ts +0 -8
  686. package/src/models/CostPerTenant.ts +0 -11
  687. package/src/models/CourseCreationTask.ts +0 -41
  688. package/src/models/CourseCreationTaskFile.ts +0 -12
  689. package/src/models/CourseCreationTaskStatusEnum.ts +0 -20
  690. package/src/models/CourseRecommendation.ts +0 -54
  691. package/src/models/CrawlerPatternTypeEnum.ts +0 -12
  692. package/src/models/CreateXblock.ts +0 -42
  693. package/src/models/CredentialRequest.ts +0 -19
  694. package/src/models/CronDelivery.ts +0 -17
  695. package/src/models/CronDeliveryModeEnum.ts +0 -14
  696. package/src/models/CronJobCreate.ts +0 -27
  697. package/src/models/CronJobListResponse.ts +0 -15
  698. package/src/models/CronJobResponse.ts +0 -33
  699. package/src/models/CronPayload.ts +0 -24
  700. package/src/models/CronPayloadKindEnum.ts +0 -12
  701. package/src/models/CronRunAction.ts +0 -12
  702. package/src/models/CronRunActionModeEnum.ts +0 -12
  703. package/src/models/CronRunLogEntry.ts +0 -30
  704. package/src/models/CronRunLogEntryStatusEnum.ts +0 -14
  705. package/src/models/CronRunResult.ts +0 -13
  706. package/src/models/CronRunsResponse.ts +0 -15
  707. package/src/models/CronSchedule.ts +0 -22
  708. package/src/models/CronScheduleKindEnum.ts +0 -14
  709. package/src/models/CronStatusResponse.ts +0 -19
  710. package/src/models/CrontabSchedule.ts +0 -27
  711. package/src/models/CurrentUsersResponse.ts +0 -13
  712. package/src/models/CustomInstructionResponse.ts +0 -18
  713. package/src/models/DataTypeEnum.ts +0 -14
  714. package/src/models/Dataset.ts +0 -17
  715. package/src/models/DatasetCreate.ts +0 -13
  716. package/src/models/DatasetItem.ts +0 -25
  717. package/src/models/DatasetItemBulkCreateResponse.ts +0 -10
  718. package/src/models/DatasetItemCreate.ts +0 -15
  719. package/src/models/DatasetItemInput.ts +0 -12
  720. package/src/models/DatasetItemUpdate.ts +0 -15
  721. package/src/models/DatasetItemUpdateStatusEnum.ts +0 -12
  722. package/src/models/DatasetRunItem.ts +0 -21
  723. package/src/models/DateRange.ts +0 -9
  724. package/src/models/DeleteXblock.ts +0 -14
  725. package/src/models/DeliveryStatusEnum.ts +0 -16
  726. package/src/models/DeployStateEnum.ts +0 -18
  727. package/src/models/Disclaimer.ts +0 -22
  728. package/src/models/DisclaimerAgreement.ts +0 -16
  729. package/src/models/DisclaimerScopeEnum.ts +0 -12
  730. package/src/models/DiscordConfig.ts +0 -12
  731. package/src/models/DiscordUserConfig.ts +0 -15
  732. package/src/models/DiscordWebhook.ts +0 -11
  733. package/src/models/Document.ts +0 -46
  734. package/src/models/DocumentFacet.ts +0 -22
  735. package/src/models/DocumentFromPoolRequest.ts +0 -15
  736. package/src/models/DocumentSearchResponse.ts +0 -40
  737. package/src/models/DocumentSettingsResponse.ts +0 -8
  738. package/src/models/DomainAttach.ts +0 -12
  739. package/src/models/EdxCourse.ts +0 -17
  740. package/src/models/ElevenlabsCustomVoice.ts +0 -9
  741. package/src/models/ElevenlabsCustomVoiceResponse.ts +0 -13
  742. package/src/models/EmailPromptDetail.ts +0 -18
  743. package/src/models/EmailPromptList.ts +0 -16
  744. package/src/models/EmailPromptSummary.ts +0 -10
  745. package/src/models/EnforcementEnum.ts +0 -12
  746. package/src/models/Entity.ts +0 -16
  747. package/src/models/EntityTypeEnum.ts +0 -14
  748. package/src/models/Error.ts +0 -8
  749. package/src/models/ExperimentCreate.ts +0 -13
  750. package/src/models/ExternalProxyInvoke.ts +0 -24
  751. package/src/models/ExternalProxyServiceDetail.ts +0 -28
  752. package/src/models/ExternalProxyServiceList.ts +0 -19
  753. package/src/models/ExternalServiceInfo.ts +0 -11
  754. package/src/models/FailureCategoryEnum.ts +0 -32
  755. package/src/models/FallbackLLM.ts +0 -52
  756. package/src/models/FallbackLLMCreate.ts +0 -43
  757. package/src/models/FallbackLLMUpdate.ts +0 -38
  758. package/src/models/FeedbackModeEnum.ts +0 -14
  759. package/src/models/FileTypeEnum.ts +0 -14
  760. package/src/models/FileUploadURLRequest.ts +0 -26
  761. package/src/models/FileUploadURLResponse.ts +0 -30
  762. package/src/models/FinanceDetailsResponse.ts +0 -18
  763. package/src/models/FinanceFilters.ts +0 -20
  764. package/src/models/FreeUsageCount.ts +0 -8
  765. package/src/models/GradeResult.ts +0 -47
  766. package/src/models/GradeResultDetail.ts +0 -76
  767. package/src/models/GradeResultMentor.ts +0 -9
  768. package/src/models/GradeResultPlatform.ts +0 -8
  769. package/src/models/GradeResultStudent.ts +0 -10
  770. package/src/models/GraderCriterion.ts +0 -20
  771. package/src/models/GradingModeEnum.ts +0 -12
  772. package/src/models/GrantMentorAccessRequest.ts +0 -14
  773. package/src/models/GreetingMethodEnum.ts +0 -12
  774. package/src/models/GuidedPrompt.ts +0 -9
  775. package/src/models/GuidedPromptsResponse.ts +0 -10
  776. package/src/models/HeygenAvatarCreate.ts +0 -14
  777. package/src/models/HeygenAvatarCreateTypeEnum.ts +0 -12
  778. package/src/models/HeygenMarketingVideoDetail.ts +0 -13
  779. package/src/models/HeygenMarketingVideoList.ts +0 -11
  780. package/src/models/HeygenStreamingSession.ts +0 -17
  781. package/src/models/HeygenStreamingTask.ts +0 -15
  782. package/src/models/HeygenTemplateRequest.ts +0 -10
  783. package/src/models/HeygenTemplateResponseSingle.ts +0 -11
  784. package/src/models/HeygenTtsPreview.ts +0 -12
  785. package/src/models/HeygenVideoCreate.ts +0 -19
  786. package/src/models/HeygenVideoCreateTypeEnum.ts +0 -12
  787. package/src/models/HeygenVideoDetail.ts +0 -13
  788. package/src/models/HeygenVideoRequest.ts +0 -10
  789. package/src/models/HeygenVoiceClone.ts +0 -14
  790. package/src/models/HostingProject.ts +0 -34
  791. package/src/models/HumanSupportTicket.ts +0 -28
  792. package/src/models/HumanSupportTicketStatusEnum.ts +0 -14
  793. package/src/models/InputQuestion.ts +0 -11
  794. package/src/models/IntegrationCredential.ts +0 -30
  795. package/src/models/IntegrationCredentialSchema.ts +0 -11
  796. package/src/models/IntegrationCredentialSchemaV2.ts +0 -15
  797. package/src/models/InterfaceEnum.ts +0 -12
  798. package/src/models/IntervalTypeEnum.ts +0 -16
  799. package/src/models/IntialQuestionAnswer.ts +0 -8
  800. package/src/models/InvalidQueryParameters.ts +0 -8
  801. package/src/models/InvoiceReportResponse.ts +0 -18
  802. package/src/models/JobRun.ts +0 -16
  803. package/src/models/JudgeRecord.ts +0 -23
  804. package/src/models/LLMCredentialRequest.ts +0 -19
  805. package/src/models/LLMCredentialResponse.ts +0 -15
  806. package/src/models/LLMCredentialSchema.ts +0 -11
  807. package/src/models/LLMJudge.ts +0 -15
  808. package/src/models/LLMModelForTenant.ts +0 -11
  809. package/src/models/LLMModelRegistryMinimal.ts +0 -20
  810. package/src/models/LLMProviderMinimal.ts +0 -34
  811. package/src/models/LLMQuestion.ts +0 -20
  812. package/src/models/LLMResponse.ts +0 -23
  813. package/src/models/LLMTracesListResponse.ts +0 -10
  814. package/src/models/LanguagesView.ts +0 -10
  815. package/src/models/LinkCourseRequest.ts +0 -8
  816. package/src/models/LinkCourseResponse.ts +0 -10
  817. package/src/models/LlmProviderEnum.ts +0 -14
  818. package/src/models/LlmUsageAnalyticsResponse.ts +0 -13
  819. package/src/models/MCPServer.ts +0 -70
  820. package/src/models/MCPServerConnection.ts +0 -52
  821. package/src/models/MCPServerConnectionScopeEnum.ts +0 -14
  822. package/src/models/MCPServerOauthFind.ts +0 -10
  823. package/src/models/MCPServerTransportEnum.ts +0 -14
  824. package/src/models/MaskedIntegrationCredential.ts +0 -30
  825. package/src/models/MaskedLLMCredential.ts +0 -15
  826. package/src/models/McpServerConfig.ts +0 -22
  827. package/src/models/McpServerConfigTransportEnum.ts +0 -12
  828. package/src/models/McpServerCreate.ts +0 -13
  829. package/src/models/McpServerEntry.ts +0 -13
  830. package/src/models/McpServerListResponse.ts +0 -9
  831. package/src/models/MemoryComponentData.ts +0 -10
  832. package/src/models/MemoryComponentDataKindEnum.ts +0 -14
  833. package/src/models/MemoryComponentMemory.ts +0 -9
  834. package/src/models/MemoryComponentMemoryDetail.ts +0 -13
  835. package/src/models/MemoryComponentResponse.ts +0 -10
  836. package/src/models/MemoryProgress.ts +0 -13
  837. package/src/models/MemoryStatusRequestView.ts +0 -11
  838. package/src/models/MemoryStatusView.ts +0 -11
  839. package/src/models/Mentor.ts +0 -270
  840. package/src/models/MentorAudience.ts +0 -10
  841. package/src/models/MentorAuditLogEntry.ts +0 -48
  842. package/src/models/MentorBreakdown.ts +0 -14
  843. package/src/models/MentorCategory.ts +0 -14
  844. package/src/models/MentorCategoryCreate.ts +0 -16
  845. package/src/models/MentorCategoryGroup.ts +0 -16
  846. package/src/models/MentorCategoryGroupCreate.ts +0 -16
  847. package/src/models/MentorCreate.ts +0 -252
  848. package/src/models/MentorCustomVoice.ts +0 -9
  849. package/src/models/MentorCustomVoiceResponse.ts +0 -9
  850. package/src/models/MentorData.ts +0 -12
  851. package/src/models/MentorDetailAnalytics.ts +0 -11
  852. package/src/models/MentorEval.ts +0 -16
  853. package/src/models/MentorEvalQuestion.ts +0 -10
  854. package/src/models/MentorEvalQuestionRequest.ts +0 -9
  855. package/src/models/MentorEvalReport.ts +0 -15
  856. package/src/models/MentorEvalRequest.ts +0 -13
  857. package/src/models/MentorFacet.ts +0 -22
  858. package/src/models/MentorFork.ts +0 -10
  859. package/src/models/MentorFromTemplate.ts +0 -8
  860. package/src/models/MentorFromTemplateWithSettingRequest.ts +0 -86
  861. package/src/models/MentorFromTemplateWithSettingRequestVoiceProviderEnum.ts +0 -14
  862. package/src/models/MentorGraderConfig.ts +0 -29
  863. package/src/models/MentorMemorySettingsRequest.ts +0 -11
  864. package/src/models/MentorMemorySettingsResponse.ts +0 -11
  865. package/src/models/MentorMetadata.ts +0 -10
  866. package/src/models/MentorScenario.ts +0 -11
  867. package/src/models/MentorScenarioPrompt.ts +0 -10
  868. package/src/models/MentorSearchResponse.ts +0 -40
  869. package/src/models/MentorSession.ts +0 -9
  870. package/src/models/MentorSettings.ts +0 -158
  871. package/src/models/MentorSettingsPublic.ts +0 -102
  872. package/src/models/MentorSettingsRequest.ts +0 -127
  873. package/src/models/MentorSettingsRequestVoiceProviderEnum.ts +0 -16
  874. package/src/models/MentorSkillAssignment.ts +0 -17
  875. package/src/models/MentorSummary.ts +0 -10
  876. package/src/models/MentorType.ts +0 -10
  877. package/src/models/MentorUserSetting.ts +0 -9
  878. package/src/models/MentorVisibilityEnum.ts +0 -14
  879. package/src/models/MentorWizard.ts +0 -9
  880. package/src/models/MessageStatistics.ts +0 -10
  881. package/src/models/MessageView.ts +0 -17
  882. package/src/models/MessageViewRequest.ts +0 -14
  883. package/src/models/MessageViewUpdatResponse.ts +0 -8
  884. package/src/models/Metadata.ts +0 -10
  885. package/src/models/MetricChange.ts +0 -9
  886. package/src/models/MetricInfo.ts +0 -10
  887. package/src/models/ModalityEnum.ts +0 -14
  888. package/src/models/ModelCost.ts +0 -9
  889. package/src/models/ModerationLog.ts +0 -17
  890. package/src/models/NameEnum.ts +0 -19
  891. package/src/models/NestedArtifact.ts +0 -60
  892. package/src/models/NoChatMessagesFound.ts +0 -8
  893. package/src/models/OAuthProvider.ts +0 -29
  894. package/src/models/OAuthService.ts +0 -23
  895. package/src/models/OAuthStartResponse.ts +0 -8
  896. package/src/models/OauthCredentialsMasked.ts +0 -15
  897. package/src/models/Observation.ts +0 -36
  898. package/src/models/OfflineDocument.ts +0 -24
  899. package/src/models/OverrideStatusEnum.ts +0 -14
  900. package/src/models/OvertimeData.ts +0 -18
  901. package/src/models/PageContent.ts +0 -11
  902. package/src/models/PaginatedAIGeneratedImageList.ts +0 -12
  903. package/src/models/PaginatedAgentSkillList.ts +0 -12
  904. package/src/models/PaginatedAgentSkillResourceList.ts +0 -12
  905. package/src/models/PaginatedArtifactListList.ts +0 -12
  906. package/src/models/PaginatedArtifactVersionList.ts +0 -12
  907. package/src/models/PaginatedChatRunTrackerList.ts +0 -12
  908. package/src/models/PaginatedClawInstanceList.ts +0 -12
  909. package/src/models/PaginatedClawModelProviderList.ts +0 -12
  910. package/src/models/PaginatedConversationsList.ts +0 -12
  911. package/src/models/PaginatedCourseCreationTaskFileList.ts +0 -12
  912. package/src/models/PaginatedCourseCreationTaskList.ts +0 -12
  913. package/src/models/PaginatedDatasetItemList.ts +0 -12
  914. package/src/models/PaginatedDatasetList.ts +0 -12
  915. package/src/models/PaginatedDisclaimerAgreementList.ts +0 -12
  916. package/src/models/PaginatedDisclaimerList.ts +0 -12
  917. package/src/models/PaginatedEdxCourseList.ts +0 -12
  918. package/src/models/PaginatedEmailPromptListList.ts +0 -12
  919. package/src/models/PaginatedGradeResultList.ts +0 -12
  920. package/src/models/PaginatedGraderCriterionList.ts +0 -12
  921. package/src/models/PaginatedHeygenMarketingVideoListList.ts +0 -12
  922. package/src/models/PaginatedHeygenTemplateResponseSingleList.ts +0 -12
  923. package/src/models/PaginatedHumanSupportTicketList.ts +0 -12
  924. package/src/models/PaginatedJobRunList.ts +0 -12
  925. package/src/models/PaginatedJudgeList.ts +0 -12
  926. package/src/models/PaginatedMCPServerConnectionList.ts +0 -12
  927. package/src/models/PaginatedMCPServerList.ts +0 -12
  928. package/src/models/PaginatedMentorAuditLogEntryList.ts +0 -12
  929. package/src/models/PaginatedMentorList.ts +0 -12
  930. package/src/models/PaginatedMentorSkillAssignmentList.ts +0 -12
  931. package/src/models/PaginatedModerationLogList.ts +0 -12
  932. package/src/models/PaginatedObservationList.ts +0 -12
  933. package/src/models/PaginatedOfflineDocumentList.ts +0 -12
  934. package/src/models/PaginatedPeriodicAgentList.ts +0 -12
  935. package/src/models/PaginatedPeriodicAgentLogList.ts +0 -12
  936. package/src/models/PaginatedPlayWrightScriptList.ts +0 -12
  937. package/src/models/PaginatedProjectList.ts +0 -12
  938. package/src/models/PaginatedRetrieverDocumentEmbeddingList.ts +0 -12
  939. package/src/models/PaginatedRunList.ts +0 -12
  940. package/src/models/PaginatedScoreConfigList.ts +0 -12
  941. package/src/models/PaginatedScoreList.ts +0 -12
  942. package/src/models/PaginatedTicketMessageList.ts +0 -12
  943. package/src/models/PaginatedTopicStatisticsResponse.ts +0 -12
  944. package/src/models/PaginatedTraceList.ts +0 -12
  945. package/src/models/PaginatedUserEdxMemoryList.ts +0 -12
  946. package/src/models/PaginatedVeoVideoListList.ts +0 -12
  947. package/src/models/PaginatedVoiceList.ts +0 -12
  948. package/src/models/PaginatedWorkflowList.ts +0 -12
  949. package/src/models/PatchedAgentSkill.ts +0 -40
  950. package/src/models/PatchedAgentSkillResource.ts +0 -22
  951. package/src/models/PatchedArtifact.ts +0 -77
  952. package/src/models/PatchedBotCommand.ts +0 -11
  953. package/src/models/PatchedBotCreate.ts +0 -17
  954. package/src/models/PatchedCallConfiguration.ts +0 -43
  955. package/src/models/PatchedClawConfigPatchRequest.ts +0 -19
  956. package/src/models/PatchedClawInstance.ts +0 -56
  957. package/src/models/PatchedClawMentorConfig.ts +0 -32
  958. package/src/models/PatchedClawModelProvider.ts +0 -45
  959. package/src/models/PatchedConversations.ts +0 -61
  960. package/src/models/PatchedCourseCreationTaskFile.ts +0 -12
  961. package/src/models/PatchedCredentialRequest.ts +0 -19
  962. package/src/models/PatchedCronJobPatch.ts +0 -29
  963. package/src/models/PatchedDisclaimer.ts +0 -22
  964. package/src/models/PatchedDiscordConfig.ts +0 -12
  965. package/src/models/PatchedDiscordUserConfig.ts +0 -15
  966. package/src/models/PatchedFallbackLLMUpdate.ts +0 -38
  967. package/src/models/PatchedGradeResultOverride.ts +0 -20
  968. package/src/models/PatchedGraderCriterion.ts +0 -20
  969. package/src/models/PatchedHumanSupportTicket.ts +0 -28
  970. package/src/models/PatchedLLMCredentialRequest.ts +0 -19
  971. package/src/models/PatchedMCPServer.ts +0 -70
  972. package/src/models/PatchedMCPServerConnection.ts +0 -52
  973. package/src/models/PatchedMcpServerUpdate.ts +0 -13
  974. package/src/models/PatchedMentorCategoryGroupCreate.ts +0 -16
  975. package/src/models/PatchedMentorCreate.ts +0 -252
  976. package/src/models/PatchedMentorFromTemplate.ts +0 -8
  977. package/src/models/PatchedMentorGraderConfig.ts +0 -29
  978. package/src/models/PatchedMentorSettings.ts +0 -158
  979. package/src/models/PatchedMentorSkillAssignment.ts +0 -17
  980. package/src/models/PatchedMentorWizard.ts +0 -9
  981. package/src/models/PatchedPeriodicAgentCreate.ts +0 -46
  982. package/src/models/PatchedPlayWrightScript.ts +0 -17
  983. package/src/models/PatchedProject.ts +0 -56
  984. package/src/models/PatchedPrompt.ts +0 -27
  985. package/src/models/PatchedSeedMentorsView.ts +0 -8
  986. package/src/models/PatchedSlackConfig.ts +0 -13
  987. package/src/models/PatchedSlackUserConfig.ts +0 -22
  988. package/src/models/PatchedTeamsConfig.ts +0 -12
  989. package/src/models/PatchedTenantChatPrivacyConfig.ts +0 -16
  990. package/src/models/PatchedTicketMessage.ts +0 -15
  991. package/src/models/PatchedWebexConfig.ts +0 -15
  992. package/src/models/PatchedWhatsappConfig.ts +0 -16
  993. package/src/models/PatchedWhatsappUserConfig.ts +0 -15
  994. package/src/models/PatchedWorkflow.ts +0 -63
  995. package/src/models/PeriodInfo.ts +0 -26
  996. package/src/models/PeriodicAgent.ts +0 -47
  997. package/src/models/PeriodicAgentCreate.ts +0 -46
  998. package/src/models/PeriodicAgentLog.ts +0 -16
  999. package/src/models/PeriodicAgentLogStatusEnum.ts +0 -14
  1000. package/src/models/PeriodicAgentStatistics.ts +0 -12
  1001. package/src/models/PeriodicTask.ts +0 -26
  1002. package/src/models/PhiActionEnum.ts +0 -16
  1003. package/src/models/PieChartData.ts +0 -10
  1004. package/src/models/PieChartSegment.ts +0 -9
  1005. package/src/models/PinnedMessageCreate.ts +0 -14
  1006. package/src/models/PinnedMessageRequest.ts +0 -11
  1007. package/src/models/PlatformPrompt.ts +0 -39
  1008. package/src/models/PlatformPromptResponse.ts +0 -21
  1009. package/src/models/PlayWrightScript.ts +0 -17
  1010. package/src/models/PredictiveAnalyticsRequest.ts +0 -9
  1011. package/src/models/PredictiveAnalyticsResponse.ts +0 -9
  1012. package/src/models/PreviousAgentStatusEnum.ts +0 -16
  1013. package/src/models/PrivacyActionEnum.ts +0 -16
  1014. package/src/models/Project.ts +0 -56
  1015. package/src/models/ProjectMentor.ts +0 -16
  1016. package/src/models/Prompt.ts +0 -27
  1017. package/src/models/PromptCategory.ts +0 -12
  1018. package/src/models/PromptFacet.ts +0 -22
  1019. package/src/models/PromptSearchResponse.ts +0 -40
  1020. package/src/models/PromptVisibilityEnum.ts +0 -14
  1021. package/src/models/Provider05cEnum.ts +0 -18
  1022. package/src/models/ProviderBreakdown.ts +0 -13
  1023. package/src/models/ProvisionModeEnum.ts +0 -12
  1024. package/src/models/QuestionCardTag.ts +0 -13
  1025. package/src/models/QuestionRequest.ts +0 -20
  1026. package/src/models/QuestionResponse.ts +0 -15
  1027. package/src/models/RatingAverageRecord.ts +0 -15
  1028. package/src/models/RatingEnum.ts +0 -12
  1029. package/src/models/RatingRecord.ts +0 -9
  1030. package/src/models/RatingsOvertime.ts +0 -10
  1031. package/src/models/RecentlyAccessedMentor.ts +0 -16
  1032. package/src/models/RecommendationTypeEnum.ts +0 -12
  1033. package/src/models/RecommendedCoursesResponse.ts +0 -38
  1034. package/src/models/RelatedText.ts +0 -8
  1035. package/src/models/RemoveMentorFromDisclaimer.ts +0 -17
  1036. package/src/models/ReorderChildren.ts +0 -18
  1037. package/src/models/RequestDataVariable.ts +0 -19
  1038. package/src/models/ResourceScrappedData.ts +0 -18
  1039. package/src/models/ResourceScrappedDataStatusEnum.ts +0 -16
  1040. package/src/models/ResponseDataVariable.ts +0 -19
  1041. package/src/models/RetreiverTrainViewRequest.ts +0 -15
  1042. package/src/models/RetreiverTrainViewResponse.ts +0 -11
  1043. package/src/models/RetrieveTask.ts +0 -8
  1044. package/src/models/RetrieverDocumentEmbedding.ts +0 -39
  1045. package/src/models/RetrieverDocumentEmbeddingRequest.ts +0 -75
  1046. package/src/models/RetrieverRequestSearch.ts +0 -15
  1047. package/src/models/RetrieverRequestSearchDocument.ts +0 -15
  1048. package/src/models/RetrieverResponseSearch.ts +0 -12
  1049. package/src/models/ReuestDataVariableList.ts +0 -9
  1050. package/src/models/Run.ts +0 -26
  1051. package/src/models/RunDetailResponse.ts +0 -24
  1052. package/src/models/RunMentorEval.ts +0 -8
  1053. package/src/models/ScanWebhookRequest.ts +0 -11
  1054. package/src/models/ScanWebhookResponse.ts +0 -8
  1055. package/src/models/ScopeC1dEnum.ts +0 -12
  1056. package/src/models/Score.ts +0 -22
  1057. package/src/models/ScoreConfig.ts +0 -17
  1058. package/src/models/ScoreConfigCategory.ts +0 -12
  1059. package/src/models/ScoreConfigCreate.ts +0 -18
  1060. package/src/models/ScoreCreate.ts +0 -19
  1061. package/src/models/ScoreCreateResponse.ts +0 -13
  1062. package/src/models/SeedMentorsView.ts +0 -8
  1063. package/src/models/Segment.ts +0 -10
  1064. package/src/models/SellableItem.ts +0 -19
  1065. package/src/models/SellableItemPaywall.ts +0 -14
  1066. package/src/models/SellableItemsResponse.ts +0 -18
  1067. package/src/models/SentimentSummary.ts +0 -9
  1068. package/src/models/ServiceTypeEnum.ts +0 -14
  1069. package/src/models/SessionBrowserScreenshot.ts +0 -13
  1070. package/src/models/SessionChartPoint.ts +0 -9
  1071. package/src/models/SessionDetail.ts +0 -11
  1072. package/src/models/SessionDisableChathistoryRequest.ts +0 -14
  1073. package/src/models/SessionDisableChathistoryResponse.ts +0 -12
  1074. package/src/models/SessionMemoryStorage.ts +0 -11
  1075. package/src/models/SessionSummary.ts +0 -17
  1076. package/src/models/SessionSummaryMentor.ts +0 -11
  1077. package/src/models/SessionsChart.ts +0 -10
  1078. package/src/models/SetCurrentVersionRequest.ts +0 -8
  1079. package/src/models/ShareableMentorLink.ts +0 -13
  1080. package/src/models/SharedSessionUpdateRequest.ts +0 -8
  1081. package/src/models/SharedSessionUpdateResponse.ts +0 -8
  1082. package/src/models/SharedSystemPromptConsumer.ts +0 -14
  1083. package/src/models/SharedSystemPromptRequest.ts +0 -15
  1084. package/src/models/SharedSystemPromptResponse.ts +0 -11
  1085. package/src/models/SharedSystemPromptTarget.ts +0 -15
  1086. package/src/models/ShellLogs.ts +0 -8
  1087. package/src/models/SkillTypeEnum.ts +0 -12
  1088. package/src/models/SlackConfig.ts +0 -13
  1089. package/src/models/SlackUserConfig.ts +0 -22
  1090. package/src/models/SlackWebhook.ts +0 -11
  1091. package/src/models/SpacedRepetitionLearningPath.ts +0 -8
  1092. package/src/models/SpacedRepetitionQuestionStats.ts +0 -10
  1093. package/src/models/SpendCap.ts +0 -40
  1094. package/src/models/SpendCapScopeEnum.ts +0 -14
  1095. package/src/models/SpendCapStatusItem.ts +0 -18
  1096. package/src/models/SpendCapStatusSummary.ts +0 -22
  1097. package/src/models/SpendCapStatusSummaryStatusEnum.ts +0 -14
  1098. package/src/models/StarMentor.ts +0 -14
  1099. package/src/models/StarterPrompts8c6Enum.ts +0 -12
  1100. package/src/models/StarterPromptsB04Enum.ts +0 -12
  1101. package/src/models/Status869Enum.ts +0 -14
  1102. package/src/models/Step.ts +0 -14
  1103. package/src/models/StepStatusEnum.ts +0 -14
  1104. package/src/models/StopGenerationRequest.ts +0 -14
  1105. package/src/models/StripeCheckoutSessionCreate.ts +0 -15
  1106. package/src/models/StripeCheckoutSessionCreateModeEnum.ts +0 -14
  1107. package/src/models/StripeCustomerCreate.ts +0 -13
  1108. package/src/models/StripePaymentLinkCreate.ts +0 -11
  1109. package/src/models/StripePaywallAccessResponse.ts +0 -14
  1110. package/src/models/StripePaywallCheckout.ts +0 -11
  1111. package/src/models/StripePaywallCheckoutResponse.ts +0 -9
  1112. package/src/models/StripePriceCreate.ts +0 -15
  1113. package/src/models/StripeProductCreate.ts +0 -14
  1114. package/src/models/SttProviderEnum.ts +0 -18
  1115. package/src/models/StudentChatMessage.ts +0 -9
  1116. package/src/models/StylesView.ts +0 -9
  1117. package/src/models/Subject.ts +0 -10
  1118. package/src/models/Summary.ts +0 -14
  1119. package/src/models/TagsView.ts +0 -10
  1120. package/src/models/TargetSystemEnum.ts +0 -16
  1121. package/src/models/TaskModeEnum.ts +0 -12
  1122. package/src/models/TaskTypeEnum.ts +0 -12
  1123. package/src/models/TaskView.ts +0 -8
  1124. package/src/models/TeamsConfig.ts +0 -12
  1125. package/src/models/TeamsWebhook.ts +0 -22
  1126. package/src/models/TemplateMentor.ts +0 -14
  1127. package/src/models/TenantChatPrivacyConfig.ts +0 -16
  1128. package/src/models/TenantMentorTraces.ts +0 -11
  1129. package/src/models/TenantSetting.ts +0 -10
  1130. package/src/models/ThemeEnum.ts +0 -12
  1131. package/src/models/TicketMessage.ts +0 -15
  1132. package/src/models/TonesView.ts +0 -9
  1133. package/src/models/ToolCategory.ts +0 -10
  1134. package/src/models/ToolResponse.ts +0 -21
  1135. package/src/models/TopicDetail.ts +0 -13
  1136. package/src/models/TopicDetails.ts +0 -10
  1137. package/src/models/TopicModel.ts +0 -8
  1138. package/src/models/TopicRecord.ts +0 -9
  1139. package/src/models/TopicStatistics.ts +0 -12
  1140. package/src/models/TopicStatisticsResponse.ts +0 -11
  1141. package/src/models/TopicSummaryView.ts +0 -9
  1142. package/src/models/TopicsOverview.ts +0 -27
  1143. package/src/models/TopicsOverviewMetric.ts +0 -26
  1144. package/src/models/Trace.ts +0 -22
  1145. package/src/models/TrainDocumentViewRequest.ts +0 -95
  1146. package/src/models/TrainDocumentViewResponse.ts +0 -20
  1147. package/src/models/TrainingStatusEnum.ts +0 -16
  1148. package/src/models/TrendEntry.ts +0 -9
  1149. package/src/models/TriggerRequest.ts +0 -10
  1150. package/src/models/TriggerResponse.ts +0 -11
  1151. package/src/models/TtsProviderEnum.ts +0 -16
  1152. package/src/models/UpdateXblock.ts +0 -22
  1153. package/src/models/UseMainCreds.ts +0 -8
  1154. package/src/models/UserAllChatMemoryView.ts +0 -12
  1155. package/src/models/UserCatalogItemMemoryView.ts +0 -19
  1156. package/src/models/UserChatByPeriod.ts +0 -9
  1157. package/src/models/UserChatFeedback.ts +0 -20
  1158. package/src/models/UserChatFeedbackCount.ts +0 -9
  1159. package/src/models/UserChatHistoryFilterData.ts +0 -15
  1160. package/src/models/UserChatMemoryStatusRequestView.ts +0 -11
  1161. package/src/models/UserChatMemoryStatusView.ts +0 -11
  1162. package/src/models/UserChatMemoryUpdateView.ts +0 -15
  1163. package/src/models/UserChatPrivacySettings.ts +0 -23
  1164. package/src/models/UserCountRecord.ts +0 -9
  1165. package/src/models/UserDefaultMentor.ts +0 -22
  1166. package/src/models/UserDetail.ts +0 -13
  1167. package/src/models/UserEdxMemory.ts +0 -20
  1168. package/src/models/UserMemoryContextRequest.ts +0 -18
  1169. package/src/models/UserMemoryContextResponse.ts +0 -17
  1170. package/src/models/UserMetric.ts +0 -9
  1171. package/src/models/UserMetricsResponse.ts +0 -12
  1172. package/src/models/UserReportListResponse.ts +0 -11
  1173. package/src/models/UserSentimentCountView.ts +0 -9
  1174. package/src/models/UserTrendByPeriod.ts +0 -10
  1175. package/src/models/V2GlobalMentorSearchResponse.ts +0 -34
  1176. package/src/models/V2PersonalizedMentorsResponse.ts +0 -34
  1177. package/src/models/V2RecommendationResponse.ts +0 -70
  1178. package/src/models/VectorResult.ts +0 -15
  1179. package/src/models/VeoVideoDetail.ts +0 -15
  1180. package/src/models/VeoVideoList.ts +0 -11
  1181. package/src/models/VeoVideoRequest.ts +0 -10
  1182. package/src/models/VersionNestedArtifact.ts +0 -61
  1183. package/src/models/VideoCaption.ts +0 -8
  1184. package/src/models/VirtualMachineEgressEnum.ts +0 -14
  1185. package/src/models/Voice.ts +0 -14
  1186. package/src/models/VoiceProviderEefEnum.ts +0 -16
  1187. package/src/models/VoiceProviderEnum.ts +0 -18
  1188. package/src/models/WakeModeEnum.ts +0 -12
  1189. package/src/models/WakeRequest.ts +0 -13
  1190. package/src/models/WakeResponse.ts +0 -19
  1191. package/src/models/WebResource.ts +0 -14
  1192. package/src/models/WebResourceCard.ts +0 -12
  1193. package/src/models/WebResourcesQuery.ts +0 -8
  1194. package/src/models/WebexConfig.ts +0 -15
  1195. package/src/models/WebexWebhook.ts +0 -9
  1196. package/src/models/WhatAppWebHook.ts +0 -8
  1197. package/src/models/WhatsappConfig.ts +0 -16
  1198. package/src/models/WhatsappUserConfig.ts +0 -15
  1199. package/src/models/Workflow.ts +0 -63
  1200. package/src/models/XblockResult.ts +0 -14
  1201. package/src/models/XblockTypeEnum.ts +0 -20
  1202. package/src/services/AiAccountService.ts +0 -1482
  1203. package/src/services/AiBotService.ts +0 -1350
  1204. package/src/services/AiIndexService.ts +0 -644
  1205. package/src/services/AiMarketingService.ts +0 -96
  1206. package/src/services/AiMediaService.ts +0 -532
  1207. package/src/services/AiMentorService.ts +0 -24339
  1208. package/src/services/AiPromptService.ts +0 -1985
  1209. package/src/services/AiProxyService.ts +0 -90
  1210. package/src/services/AiSearchService.ts +0 -1299
  1211. package/src/services/IntegrationCredentialsService.ts +0 -52
@@ -2,2270 +2,776 @@
2
2
  /* istanbul ignore file */
3
3
  /* tslint:disable */
4
4
  /* eslint-disable */
5
- import type { DocumentSearchResponse } from '../models/DocumentSearchResponse';
6
5
  import type { GlobalCatalogSearchResponse } from '../models/GlobalCatalogSearchResponse';
7
- import type { MentorSearchResponse } from '../models/MentorSearchResponse';
8
- import type { PromptSearchResponse } from '../models/PromptSearchResponse';
9
- import type { RecommendedCoursesResponse } from '../models/RecommendedCoursesResponse';
10
6
  import type { UserSearchResponse } from '../models/UserSearchResponse';
11
7
  import type { CancelablePromise } from '../core/CancelablePromise';
12
8
  import { OpenAPI } from '../core/OpenAPI';
13
9
  import { request as __request } from '../core/request';
14
10
  export class SearchService {
15
11
  /**
16
- * Search and filter AI mentors across the platform.
12
+ * Search and filter content across the learning catalog.
17
13
  *
18
- * This endpoint provides a powerful search interface for discovering AI mentors
19
- * with support for filtering, pagination, and detailed mentor information.
14
+ * This endpoint provides a powerful search interface for discovering content across
15
+ * multiple content types (courses, programs, pathways, skills, roles, resources).
16
+ * It supports full-text search, faceted filtering, and pagination.
20
17
  *
21
18
  * Query Parameters:
22
- * # Identification parameters (for detail view)
23
- * id (int, optional): Retrieve a specific mentor by ID
24
- * unique_id (uuid, optional): Retrieve a specific mentor by UUID
19
+ * query (str, optional): Search term to filter content by name or description
20
+ * content (list, optional): Content types to include in results
21
+ * (courses, programs, pathways, skills, roles, resources,
22
+ * mentors/agents - "agents" is accepted as a synonym for
23
+ * "mentors" and mentor items come back with type "agent")
24
+ * Default: ["programs", "courses", "pathways", "skills"]
25
25
  *
26
- * # Search and filtering parameters
27
- * query (str, optional): Search term to filter mentors by name or description
28
- * tenant (str, optional): Filter by tenant/organization
29
- * llm (list, optional): Filter by language model type
30
- * audience (list, optional): Filter by target audience
31
- * category (list, optional): Filter by mentor category
26
+ * # Filtering parameters
27
+ * course_id (str, optional): Filter by specific course ID
28
+ * program_id (str, optional): Filter by specific program ID
29
+ * pathway_id (str, optional): Filter by specific pathway ID
30
+ * skill_id (str, optional): Filter by specific skill ID
31
+ * subject (list, optional): Filter by subject areas
32
+ * tenant (list, optional): Filter by tenant/organization
33
+ * topics (list, optional): Filter by topic areas
32
34
  * tags (list, optional): Filter by tags
33
- * created_by (str, optional): Filter mentors created by specific user
35
+ * level (list, optional): Filter by difficulty level
36
+ * self_paced (list, optional): Filter by course format (self-paced, instructor-led)
37
+ * promotion (list, optional): Filter by promotion status
38
+ * language (list, optional): Filter by content language
39
+ * certificate (list, optional): Filter by certificate type
40
+ * program_type (list, optional): Filter by program type
41
+ * duration (list, optional): Filter by course duration range
42
+ * price (str, optional): Filter by price/audit status
43
+ * resource_type (list, optional): Filter by resource type
44
+ * skills (list, optional): Filter by skills
34
45
  *
35
46
  * # Sorting and pagination
36
- * order_by (str, optional): Field to sort results by ('created_at', 'recently_accessed_at')
37
- * order_direction (str, optional): Sort direction ('asc' or 'desc', default: 'desc')
47
+ * order_by (str, optional): Field to sort results by
48
+ * order_ascending (bool, optional): Sort direction (default: false)
49
+ * alphabetical (bool, optional): Sort alphabetically by name (default: false)
38
50
  * limit (int, optional): Number of results per page (default: 12, max: 100)
39
51
  * offset (int, optional): Starting position for pagination
40
52
  *
53
+ * # Response options
54
+ * return_facet (bool, optional): Include facet data in response (default: true)
55
+ * return_items (bool, optional): Include items in programs/pathways (default: false)
56
+ * allow_skill_search (bool, optional): Enable skill-based search (default: false)
57
+ * update_facet (str, optional): Force facet update
58
+ *
41
59
  * Returns:
42
- * For detail view (when id or unique_id is provided):
43
- * A JSON response containing a single mentor's details:
60
+ * A JSON response containing:
61
+ * - results: List of content items with metadata
62
+ * - count: Total number of matching items
63
+ * - next: URL for the next page of results (if available)
64
+ * - previous: URL for the previous page of results (if available)
65
+ * - current_page: Current page number
66
+ * - total_pages: Total number of pages
67
+ * - facets: Aggregated counts for each filter category (if requested)
68
+ *
69
+ * Each content item contains type-specific fields:
70
+ * - Courses:
44
71
  * {
45
72
  * "id": 123,
46
- * "unique_id": "550e8400-e29b-41d4-a716-446655440000",
47
- * "name": "Professor Smith",
48
- * "description": "AI mentor specializing in computer science",
49
- * "image_url": "https://example.com/images/prof-smith.jpg",
50
- * "llm": {
51
- * "id": 1,
52
- * "name": "GPT-4",
53
- * "description": "Advanced language model"
54
- * },
55
- * "audience": {
56
- * "id": 2,
57
- * "name": "College Students",
58
- * "description": "For university-level learners"
59
- * },
60
- * "category": "Computer Science",
61
- * "tags": ["programming", "algorithms", "data structures"],
62
- * "created_at": "2023-01-15T12:00:00Z",
63
- * "recently_accessed_at": "2023-06-20T15:30:00Z",
64
- * "platform": {
65
- * "id": 1,
66
- * "name": "Example University",
67
- * "key": "example-university"
68
- * },
69
- * "visibility": "public",
70
- * "settings": {
71
- * "temperature": 0.7,
72
- * "max_tokens": 1024,
73
- * "system_prompt": "You are Professor Smith, an expert in computer science..."
74
- * }
75
- * }
76
- *
77
- * For list view:
78
- * A JSON response containing:
79
- * {
80
- * "results": [
81
- * {
82
- * "id": 123,
83
- * "unique_id": "550e8400-e29b-41d4-a716-446655440000",
84
- * "name": "Professor Smith",
85
- * "description": "AI mentor specializing in computer science",
86
- * "image_url": "https://example.com/images/prof-smith.jpg",
87
- * "llm": {"id": 1, "name": "GPT-4"},
88
- * "audience": {"id": 2, "name": "College Students"},
89
- * "category": "Computer Science",
90
- * "tags": ["programming", "algorithms"],
91
- * "created_at": "2023-01-15T12:00:00Z",
92
- * "recently_accessed_at": "2023-06-20T15:30:00Z"
93
- * },
94
- * // Additional mentor objects...
73
+ * "type": "course",
74
+ * "course_id": "CS101",
75
+ * "name": "Introduction to Computer Science",
76
+ * "description": "Learn the fundamentals of computer science",
77
+ * "short_description": "CS fundamentals",
78
+ * "image_url": "https://example.com/images/cs101.jpg",
79
+ * "level": "Beginner",
80
+ * "subject": "Computer Science",
81
+ * "topics": ["Programming", "Algorithms"],
82
+ * "tags": ["python", "coding"],
83
+ * "language": "English",
84
+ * "tenant": "example-university",
85
+ * "self_paced": true,
86
+ * "duration": "6 weeks",
87
+ * "certificate": "Professional Certificate",
88
+ * "price": "Free",
89
+ * "skills": [
90
+ * {"id": 1, "name": "Python Programming"},
91
+ * {"id": 2, "name": "Algorithms"}
92
+ * ],
93
+ * "url": "https://example.com/courses/cs101"
94
+ * }
95
+ *
96
+ * - Programs:
97
+ * {
98
+ * "id": 456,
99
+ * "type": "program",
100
+ * "program_id": "PROG123",
101
+ * "name": "Data Science Program",
102
+ * "description": "Comprehensive data science curriculum",
103
+ * "short_description": "Learn data science",
104
+ * "image_url": "https://example.com/images/datascience.jpg",
105
+ * "level": "Intermediate",
106
+ * "subject": "Data Science",
107
+ * "topics": ["Machine Learning", "Statistics"],
108
+ * "program_type": "Professional Certificate",
109
+ * "courses": [
110
+ * {"id": 123, "name": "Introduction to Python"},
111
+ * {"id": 124, "name": "Statistics for Data Science"}
112
+ * ],
113
+ * "url": "https://example.com/programs/prog123"
114
+ * }
115
+ *
116
+ * - Pathways:
117
+ * {
118
+ * "id": 789,
119
+ * "type": "pathway",
120
+ * "pathway_id": "PATH456",
121
+ * "name": "Software Engineering Career Path",
122
+ * "description": "Complete pathway to become a software engineer",
123
+ * "image_url": "https://example.com/images/swe-path.jpg",
124
+ * "programs": [
125
+ * {"id": 456, "name": "Programming Fundamentals"},
126
+ * {"id": 457, "name": "Web Development"}
127
+ * ],
128
+ * "url": "https://example.com/pathways/path456"
129
+ * }
130
+ *
131
+ * - Skills:
132
+ * {
133
+ * "id": 321,
134
+ * "type": "skill",
135
+ * "name": "Machine Learning",
136
+ * "description": "Building systems that learn from data",
137
+ * "courses": [
138
+ * {"id": 125, "name": "Machine Learning Fundamentals"}
95
139
  * ],
96
- * "count": 50,
97
- * "next": "https://api.example.com/api/search/mentors/?limit=12&offset=12",
98
- * "previous": null,
99
- * "current_page": 1,
100
- * "num_pages": 5,
101
- * "facets": {
102
- * "llm": [
103
- * {"key": "GPT-4", "doc_count": 30},
104
- * {"key": "Claude", "doc_count": 20}
105
- * ],
106
- * "audience": [
107
- * {"key": "College Students", "doc_count": 35},
108
- * {"key": "Professionals", "doc_count": 15}
140
+ * "related_skills": [
141
+ * {"id": 322, "name": "Deep Learning"}
142
+ * ]
143
+ * }
144
+ *
145
+ * - Roles:
146
+ * {
147
+ * "id": 654,
148
+ * "type": "role",
149
+ * "name": "Data Scientist",
150
+ * "description": "Professional who analyzes and interprets complex data",
151
+ * "skills": [
152
+ * {"id": 321, "name": "Machine Learning"},
153
+ * {"id": 323, "name": "Data Analysis"}
109
154
  * ],
110
- * "category": [
111
- * {"key": "Computer Science", "doc_count": 25},
112
- * {"key": "Mathematics", "doc_count": 15},
113
- * {"key": "Business", "doc_count": 10}
155
+ * "recommended_courses": [
156
+ * {"id": 125, "name": "Machine Learning Fundamentals"}
114
157
  * ]
115
158
  * }
116
- * }
117
- *
118
- * Error Responses:
119
- * 400 Bad Request: If the request parameters are invalid
120
- * 404 Not Found: If the requested mentor doesn't exist
121
- * 500 Internal Server Error: If an unexpected error occurs
122
- *
123
- * Notes:
124
- * - Results are cached for performance
125
- * - Public mentors are visible to all users
126
- * - Private mentors are only visible to authorized users
127
- * @returns MentorSearchResponse
128
- * @throws ApiError
129
- */
130
- public static searchAgentsRetrieve({
131
- audience,
132
- category,
133
- createdBy,
134
- featured,
135
- id,
136
- includeMainPublicMentors = false,
137
- limit = 12,
138
- llm,
139
- offset,
140
- orderBy,
141
- orderDirection = 'desc',
142
- query,
143
- tags,
144
- tenant,
145
- uniqueId,
146
- }: {
147
- /**
148
- * Filter by target audience
149
- */
150
- audience?: Array<string>,
151
- /**
152
- * Filter by mentor category
153
- */
154
- category?: Array<string>,
155
- /**
156
- * Filter mentors created by specific user
157
- */
158
- createdBy?: string,
159
- /**
160
- * Filter by featured status
161
- */
162
- featured?: boolean,
163
- /**
164
- * Retrieve a specific mentor by ID
165
- */
166
- id?: number,
167
- /**
168
- * Include public mentors from main tenant
169
- */
170
- includeMainPublicMentors?: boolean,
171
- /**
172
- * Number of results per page
173
- */
174
- limit?: number,
175
- /**
176
- * Filter by language model type
177
- */
178
- llm?: Array<string>,
179
- /**
180
- * Starting position for pagination
181
- */
182
- offset?: number,
183
- /**
184
- * Field to sort results by ('created_at', 'recently_accessed_at')
185
- */
186
- orderBy?: string,
187
- /**
188
- * Sort direction ('asc' or 'desc')
189
- */
190
- orderDirection?: string,
191
- /**
192
- * Search term to filter mentors by name or description
193
- */
194
- query?: string,
195
- /**
196
- * Filter by tags
197
- */
198
- tags?: Array<string>,
199
- /**
200
- * Filter by tenant/organization
201
- */
202
- tenant?: string,
203
- /**
204
- * Retrieve a specific mentor by UUID
205
- */
206
- uniqueId?: string,
207
- }): CancelablePromise<MentorSearchResponse> {
208
- return __request(OpenAPI, {
209
- method: 'GET',
210
- url: '/api/search/agents/',
211
- query: {
212
- 'audience': audience,
213
- 'category': category,
214
- 'created_by': createdBy,
215
- 'featured': featured,
216
- 'id': id,
217
- 'include_main_public_mentors': includeMainPublicMentors,
218
- 'limit': limit,
219
- 'llm': llm,
220
- 'offset': offset,
221
- 'order_by': orderBy,
222
- 'order_direction': orderDirection,
223
- 'query': query,
224
- 'tags': tags,
225
- 'tenant': tenant,
226
- 'unique_id': uniqueId,
227
- },
228
- errors: {
229
- 400: `Bad request`,
230
- 500: `Server error`,
231
- },
232
- });
233
- }
234
- /**
235
- * Search and filter documents associated with a specific mentor
236
- * @returns DocumentSearchResponse
237
- * @throws ApiError
238
- */
239
- public static searchAgentsDocumentsRetrieve({
240
- mentorUniqueId,
241
- access,
242
- documentType,
243
- limit = 12,
244
- offset,
245
- orderBy,
246
- orderDirection = 'desc',
247
- platformKey,
248
- query,
249
- trainingStatus,
250
- }: {
251
- mentorUniqueId: string,
252
- /**
253
- * Filter by access level (e.g., 'public', 'private')
254
- */
255
- access?: string,
256
- /**
257
- * Filter by document type (e.g., 'pdf', 'text')
258
- */
259
- documentType?: string,
260
- /**
261
- * Number of results per page
262
- */
263
- limit?: number,
264
- /**
265
- * Starting position for pagination
266
- */
267
- offset?: number,
268
- /**
269
- * Field to sort results by ('date_created', 'last_modified', 'document_name')
270
- */
271
- orderBy?: string,
272
- /**
273
- * Sort direction ('asc' or 'desc')
274
- */
275
- orderDirection?: string,
276
- /**
277
- * Filter by platform key
278
- */
279
- platformKey?: string,
280
- /**
281
- * Search term to filter documents by name or content
282
- */
283
- query?: string,
284
- /**
285
- * Filter by training status (e.g., 'trained', 'pending')
286
- */
287
- trainingStatus?: string,
288
- }): CancelablePromise<DocumentSearchResponse> {
289
- return __request(OpenAPI, {
290
- method: 'GET',
291
- url: '/api/search/agents/{mentor_unique_id}/documents/',
292
- path: {
293
- 'mentor_unique_id': mentorUniqueId,
294
- },
295
- query: {
296
- 'access': access,
297
- 'document_type': documentType,
298
- 'limit': limit,
299
- 'offset': offset,
300
- 'order_by': orderBy,
301
- 'order_direction': orderDirection,
302
- 'platform_key': platformKey,
303
- 'query': query,
304
- 'training_status': trainingStatus,
305
- },
306
- errors: {
307
- 400: `Bad request`,
308
- 404: `Mentor not found`,
309
- 500: `Server error`,
310
- },
311
- });
312
- }
313
- /**
314
- * Legacy endpoint for backward compatible mentor search
315
- * @returns MentorSearchResponse
316
- * @throws ApiError
317
- */
318
- public static searchAiSearchRetrieve({
319
- audience,
320
- category,
321
- createdBy,
322
- filterFacet = false,
323
- id,
324
- limit = 12,
325
- llm,
326
- offset,
327
- orderBy,
328
- orderDirection = 'desc',
329
- page,
330
- pageSize,
331
- query,
332
- tags,
333
- tenant,
334
- uniqueId,
335
- }: {
336
- /**
337
- * Filter by target audience
338
- */
339
- audience?: Array<string>,
340
- /**
341
- * Filter by mentor category
342
- */
343
- category?: Array<string>,
344
- /**
345
- * Filter mentors created by specific user
346
- */
347
- createdBy?: string,
348
- /**
349
- * If present, return only facets without results
350
- */
351
- filterFacet?: boolean,
352
- /**
353
- * Retrieve a specific mentor by ID
354
- */
355
- id?: number,
356
- /**
357
- * Number of results per page
358
- */
359
- limit?: number,
360
- /**
361
- * Filter by language model type
362
- */
363
- llm?: Array<string>,
364
- /**
365
- * Starting position for pagination
366
- */
367
- offset?: number,
368
- /**
369
- * Field to sort results by ('created_at', 'recently_accessed_at')
370
- */
371
- orderBy?: string,
372
- /**
373
- * Sort direction ('asc' or 'desc')
374
- */
375
- orderDirection?: string,
376
- /**
377
- * Page number (1-based, used with page_size)
378
- */
379
- page?: number,
380
- /**
381
- * Number of results per page
382
- */
383
- pageSize?: number,
384
- /**
385
- * Search term to filter mentors by name or description
386
- */
387
- query?: string,
388
- /**
389
- * Filter by tags
390
- */
391
- tags?: Array<string>,
392
- /**
393
- * Filter by tenant/organization
394
- */
395
- tenant?: string,
396
- /**
397
- * Retrieve a specific mentor by UUID
398
- */
399
- uniqueId?: string,
400
- }): CancelablePromise<MentorSearchResponse> {
401
- return __request(OpenAPI, {
402
- method: 'GET',
403
- url: '/api/search/ai-search/',
404
- query: {
405
- 'audience': audience,
406
- 'category': category,
407
- 'created_by': createdBy,
408
- 'filter_facet': filterFacet,
409
- 'id': id,
410
- 'limit': limit,
411
- 'llm': llm,
412
- 'offset': offset,
413
- 'order_by': orderBy,
414
- 'order_direction': orderDirection,
415
- 'page': page,
416
- 'page_size': pageSize,
417
- 'query': query,
418
- 'tags': tags,
419
- 'tenant': tenant,
420
- 'unique_id': uniqueId,
421
- },
422
- errors: {
423
- 400: `Bad request`,
424
- 500: `Server error`,
425
- },
426
- });
427
- }
428
- /**
429
- * Search and filter content across the learning catalog.
430
- *
431
- * This endpoint provides a powerful search interface for discovering content across
432
- * multiple content types (courses, programs, pathways, skills, roles, resources).
433
- * It supports full-text search, faceted filtering, and pagination.
434
- *
435
- * Query Parameters:
436
- * query (str, optional): Search term to filter content by name or description
437
- * content (list, optional): Content types to include in results
438
- * (courses, programs, pathways, skills, roles, resources,
439
- * mentors/agents - "agents" is accepted as a synonym for
440
- * "mentors" and mentor items come back with type "agent")
441
- * Default: ["programs", "courses", "pathways", "skills"]
442
159
  *
443
- * # Filtering parameters
444
- * course_id (str, optional): Filter by specific course ID
445
- * program_id (str, optional): Filter by specific program ID
446
- * pathway_id (str, optional): Filter by specific pathway ID
447
- * skill_id (str, optional): Filter by specific skill ID
448
- * subject (list, optional): Filter by subject areas
449
- * tenant (list, optional): Filter by tenant/organization
450
- * topics (list, optional): Filter by topic areas
451
- * tags (list, optional): Filter by tags
452
- * level (list, optional): Filter by difficulty level
453
- * self_paced (list, optional): Filter by course format (self-paced, instructor-led)
454
- * promotion (list, optional): Filter by promotion status
455
- * language (list, optional): Filter by content language
456
- * certificate (list, optional): Filter by certificate type
457
- * program_type (list, optional): Filter by program type
458
- * duration (list, optional): Filter by course duration range
459
- * price (str, optional): Filter by price/audit status
460
- * resource_type (list, optional): Filter by resource type
461
- * skills (list, optional): Filter by skills
462
- *
463
- * # Sorting and pagination
464
- * order_by (str, optional): Field to sort results by
465
- * order_ascending (bool, optional): Sort direction (default: false)
466
- * alphabetical (bool, optional): Sort alphabetically by name (default: false)
467
- * limit (int, optional): Number of results per page (default: 12, max: 100)
468
- * offset (int, optional): Starting position for pagination
469
- *
470
- * # Response options
471
- * return_facet (bool, optional): Include facet data in response (default: true)
472
- * return_items (bool, optional): Include items in programs/pathways (default: false)
473
- * allow_skill_search (bool, optional): Enable skill-based search (default: false)
474
- * update_facet (str, optional): Force facet update
475
- *
476
- * Returns:
477
- * A JSON response containing:
478
- * - results: List of content items with metadata
479
- * - count: Total number of matching items
480
- * - next: URL for the next page of results (if available)
481
- * - previous: URL for the previous page of results (if available)
482
- * - current_page: Current page number
483
- * - total_pages: Total number of pages
484
- * - facets: Aggregated counts for each filter category (if requested)
485
- *
486
- * Each content item contains type-specific fields:
487
- * - Courses:
160
+ * - Resources:
488
161
  * {
489
- * "id": 123,
490
- * "type": "course",
491
- * "course_id": "CS101",
492
- * "name": "Introduction to Computer Science",
493
- * "description": "Learn the fundamentals of computer science",
494
- * "short_description": "CS fundamentals",
495
- * "image_url": "https://example.com/images/cs101.jpg",
496
- * "level": "Beginner",
497
- * "subject": "Computer Science",
498
- * "topics": ["Programming", "Algorithms"],
499
- * "tags": ["python", "coding"],
500
- * "language": "English",
501
- * "tenant": "example-university",
502
- * "self_paced": true,
503
- * "duration": "6 weeks",
504
- * "certificate": "Professional Certificate",
505
- * "price": "Free",
506
- * "skills": [
507
- * {"id": 1, "name": "Python Programming"},
508
- * {"id": 2, "name": "Algorithms"}
509
- * ],
510
- * "url": "https://example.com/courses/cs101"
511
- * }
512
- *
513
- * - Programs:
514
- * {
515
- * "id": 456,
516
- * "type": "program",
517
- * "program_id": "PROG123",
518
- * "name": "Data Science Program",
519
- * "description": "Comprehensive data science curriculum",
520
- * "short_description": "Learn data science",
521
- * "image_url": "https://example.com/images/datascience.jpg",
522
- * "level": "Intermediate",
523
- * "subject": "Data Science",
524
- * "topics": ["Machine Learning", "Statistics"],
525
- * "program_type": "Professional Certificate",
526
- * "courses": [
527
- * {"id": 123, "name": "Introduction to Python"},
528
- * {"id": 124, "name": "Statistics for Data Science"}
529
- * ],
530
- * "url": "https://example.com/programs/prog123"
531
- * }
532
- *
533
- * - Pathways:
534
- * {
535
- * "id": 789,
536
- * "type": "pathway",
537
- * "pathway_id": "PATH456",
538
- * "name": "Software Engineering Career Path",
539
- * "description": "Complete pathway to become a software engineer",
540
- * "image_url": "https://example.com/images/swe-path.jpg",
541
- * "programs": [
542
- * {"id": 456, "name": "Programming Fundamentals"},
543
- * {"id": 457, "name": "Web Development"}
544
- * ],
545
- * "url": "https://example.com/pathways/path456"
546
- * }
547
- *
548
- * - Skills:
549
- * {
550
- * "id": 321,
551
- * "type": "skill",
552
- * "name": "Machine Learning",
553
- * "description": "Building systems that learn from data",
554
- * "courses": [
555
- * {"id": 125, "name": "Machine Learning Fundamentals"}
162
+ * "id": 987,
163
+ * "type": "resource",
164
+ * "name": "Python Cheat Sheet",
165
+ * "description": "Quick reference guide for Python",
166
+ * "resource_type": "PDF",
167
+ * "url": "https://example.com/resources/python-cheatsheet.pdf",
168
+ * "topics": ["Programming", "Python"]
169
+ * }
170
+ *
171
+ * Error Responses:
172
+ * 500 Internal Server Error: If an unexpected error occurs during processing
173
+ *
174
+ * Notes:
175
+ * - Results are cached for performance
176
+ * - The 'resources' content type is only included by default if IBL_ENABLE_RESOURCES_IN_FACET is true
177
+ * - For debugging, add ?debug=true to see detailed information about skill matching
178
+ * @returns GlobalCatalogSearchResponse
179
+ * @throws ApiError
180
+ */
181
+ public static searchGlobalRetrieve({
182
+ allowSkillSearch = false,
183
+ alphabetical = false,
184
+ certificate,
185
+ content,
186
+ courseId,
187
+ duration,
188
+ language,
189
+ level,
190
+ limit = 12,
191
+ offset,
192
+ orderAscending = false,
193
+ orderBy,
194
+ pathwayId,
195
+ price,
196
+ programId,
197
+ programType,
198
+ promotion,
199
+ query,
200
+ resourceType,
201
+ returnFacet = true,
202
+ returnItems = false,
203
+ selfPaced,
204
+ skillId,
205
+ skills,
206
+ subject,
207
+ tags,
208
+ tenant,
209
+ topics,
210
+ updateFacet,
211
+ }: {
212
+ /**
213
+ * Enable skill-based search
214
+ */
215
+ allowSkillSearch?: boolean,
216
+ /**
217
+ * Sort alphabetically by name
218
+ */
219
+ alphabetical?: boolean,
220
+ /**
221
+ * Filter by certificate type
222
+ */
223
+ certificate?: Array<string>,
224
+ /**
225
+ * Content types to include in results
226
+ */
227
+ content?: Array<string>,
228
+ /**
229
+ * Filter by specific course ID
230
+ */
231
+ courseId?: string,
232
+ /**
233
+ * Filter by course duration range
234
+ */
235
+ duration?: Array<string>,
236
+ /**
237
+ * Filter by content language
238
+ */
239
+ language?: Array<string>,
240
+ /**
241
+ * Filter by difficulty level
242
+ */
243
+ level?: Array<string>,
244
+ /**
245
+ * Number of results per page
246
+ */
247
+ limit?: number,
248
+ /**
249
+ * Starting position for pagination
250
+ */
251
+ offset?: number,
252
+ /**
253
+ * Sort direction
254
+ */
255
+ orderAscending?: boolean,
256
+ /**
257
+ * Field to sort results by
258
+ */
259
+ orderBy?: string,
260
+ /**
261
+ * Filter by specific pathway ID
262
+ */
263
+ pathwayId?: string,
264
+ /**
265
+ * Filter by price/audit status
266
+ */
267
+ price?: string,
268
+ /**
269
+ * Filter by specific program ID
270
+ */
271
+ programId?: string,
272
+ /**
273
+ * Filter by program type
274
+ */
275
+ programType?: Array<string>,
276
+ /**
277
+ * Filter by promotion status
278
+ */
279
+ promotion?: Array<string>,
280
+ /**
281
+ * Search term to filter content by name or description
282
+ */
283
+ query?: string,
284
+ /**
285
+ * Filter by resource type
286
+ */
287
+ resourceType?: Array<string>,
288
+ /**
289
+ * Include facet data in response
290
+ */
291
+ returnFacet?: boolean,
292
+ /**
293
+ * Include items in programs/pathways
294
+ */
295
+ returnItems?: boolean,
296
+ /**
297
+ * Filter by course format
298
+ */
299
+ selfPaced?: Array<string>,
300
+ /**
301
+ * Filter by specific skill ID
302
+ */
303
+ skillId?: string,
304
+ /**
305
+ * Filter by skills
306
+ */
307
+ skills?: Array<string>,
308
+ /**
309
+ * Filter by subject areas
310
+ */
311
+ subject?: Array<string>,
312
+ /**
313
+ * Filter by tags
314
+ */
315
+ tags?: Array<string>,
316
+ /**
317
+ * Filter by tenant/organization
318
+ */
319
+ tenant?: string,
320
+ /**
321
+ * Filter by topic areas
322
+ */
323
+ topics?: Array<string>,
324
+ /**
325
+ * Force facet update
326
+ */
327
+ updateFacet?: string,
328
+ }): CancelablePromise<GlobalCatalogSearchResponse> {
329
+ return __request(OpenAPI, {
330
+ method: 'GET',
331
+ url: '/api/search/global/',
332
+ query: {
333
+ 'allow_skill_search': allowSkillSearch,
334
+ 'alphabetical': alphabetical,
335
+ 'certificate': certificate,
336
+ 'content': content,
337
+ 'course_id': courseId,
338
+ 'duration': duration,
339
+ 'language': language,
340
+ 'level': level,
341
+ 'limit': limit,
342
+ 'offset': offset,
343
+ 'order_ascending': orderAscending,
344
+ 'order_by': orderBy,
345
+ 'pathway_id': pathwayId,
346
+ 'price': price,
347
+ 'program_id': programId,
348
+ 'program_type': programType,
349
+ 'promotion': promotion,
350
+ 'query': query,
351
+ 'resource_type': resourceType,
352
+ 'return_facet': returnFacet,
353
+ 'return_items': returnItems,
354
+ 'self_paced': selfPaced,
355
+ 'skill_id': skillId,
356
+ 'skills': skills,
357
+ 'subject': subject,
358
+ 'tags': tags,
359
+ 'tenant': tenant,
360
+ 'topics': topics,
361
+ 'update_facet': updateFacet,
362
+ },
363
+ errors: {
364
+ 400: `Bad request`,
365
+ 500: `Server error`,
366
+ },
367
+ });
368
+ }
369
+ /**
370
+ * Determine whether to serve a detail view or a list view.
371
+ * If any detail-identifying parameters are present (course_id, program_id, etc.)
372
+ * the detail view is returned; otherwise the aggregated list view is returned.
373
+ * @returns any
374
+ * @throws ApiError
375
+ */
376
+ public static searchPersonalizedCatalogRetrieve({
377
+ username,
378
+ allowSkillSearch = false,
379
+ alphabetical = false,
380
+ certificate,
381
+ content,
382
+ courseId,
383
+ duration,
384
+ language,
385
+ level,
386
+ limit = 12,
387
+ offset,
388
+ orderAscending = false,
389
+ orderBy,
390
+ pathwayId,
391
+ price,
392
+ programId,
393
+ programType,
394
+ promotion,
395
+ query,
396
+ recommended = false,
397
+ resourceId,
398
+ resourceType,
399
+ returnFacet = true,
400
+ returnItems = false,
401
+ roleId,
402
+ selfPaced,
403
+ skillId,
404
+ skills,
405
+ subject,
406
+ tags,
407
+ tenant,
408
+ topics,
409
+ updateFacet,
410
+ }: {
411
+ username: string,
412
+ /**
413
+ * Enable skill-based search
414
+ */
415
+ allowSkillSearch?: boolean,
416
+ /**
417
+ * Sort alphabetically by name
418
+ */
419
+ alphabetical?: boolean,
420
+ /**
421
+ * Filter by certificate type
422
+ */
423
+ certificate?: Array<string>,
424
+ /**
425
+ * Content types to include in results
426
+ */
427
+ content?: Array<string>,
428
+ /**
429
+ * Retrieve a specific course by ID
430
+ */
431
+ courseId?: string,
432
+ /**
433
+ * Filter by course duration range
434
+ */
435
+ duration?: Array<string>,
436
+ /**
437
+ * Filter by content language
438
+ */
439
+ language?: Array<string>,
440
+ /**
441
+ * Filter by difficulty level
442
+ */
443
+ level?: Array<string>,
444
+ /**
445
+ * Number of results per page
446
+ */
447
+ limit?: number,
448
+ /**
449
+ * Starting position for pagination
450
+ */
451
+ offset?: number,
452
+ /**
453
+ * Sort direction
454
+ */
455
+ orderAscending?: boolean,
456
+ /**
457
+ * Field to sort results by
458
+ */
459
+ orderBy?: string,
460
+ /**
461
+ * Retrieve a specific pathway by ID
462
+ */
463
+ pathwayId?: string,
464
+ /**
465
+ * Filter by price/audit status
466
+ */
467
+ price?: string,
468
+ /**
469
+ * Retrieve a specific program by ID
470
+ */
471
+ programId?: string,
472
+ /**
473
+ * Filter by program type
474
+ */
475
+ programType?: Array<string>,
476
+ /**
477
+ * Filter by promotion status
478
+ */
479
+ promotion?: Array<string>,
480
+ /**
481
+ * Search term to filter content by name or description
482
+ */
483
+ query?: string,
484
+ /**
485
+ * Show only recommended content
486
+ */
487
+ recommended?: boolean,
488
+ /**
489
+ * Retrieve a specific resource by ID
490
+ */
491
+ resourceId?: string,
492
+ /**
493
+ * Filter by resource type
494
+ */
495
+ resourceType?: Array<string>,
496
+ /**
497
+ * Include facet data in response
498
+ */
499
+ returnFacet?: boolean,
500
+ /**
501
+ * Include items in programs/pathways
502
+ */
503
+ returnItems?: boolean,
504
+ /**
505
+ * Retrieve a specific role by ID
506
+ */
507
+ roleId?: string,
508
+ /**
509
+ * Filter by course format
510
+ */
511
+ selfPaced?: Array<string>,
512
+ /**
513
+ * Retrieve a specific skill by ID
514
+ */
515
+ skillId?: string,
516
+ /**
517
+ * Filter by skills
518
+ */
519
+ skills?: Array<string>,
520
+ /**
521
+ * Filter by subject areas
522
+ */
523
+ subject?: Array<string>,
524
+ /**
525
+ * Filter by tags
526
+ */
527
+ tags?: Array<string>,
528
+ /**
529
+ * Filter by tenant/organization
530
+ */
531
+ tenant?: string,
532
+ /**
533
+ * Filter by topic areas
534
+ */
535
+ topics?: Array<string>,
536
+ /**
537
+ * Force facet update
538
+ */
539
+ updateFacet?: string,
540
+ }): CancelablePromise<Record<string, any>> {
541
+ return __request(OpenAPI, {
542
+ method: 'GET',
543
+ url: '/api/search/personalized-catalog/{username}/',
544
+ path: {
545
+ 'username': username,
546
+ },
547
+ query: {
548
+ 'allow_skill_search': allowSkillSearch,
549
+ 'alphabetical': alphabetical,
550
+ 'certificate': certificate,
551
+ 'content': content,
552
+ 'course_id': courseId,
553
+ 'duration': duration,
554
+ 'language': language,
555
+ 'level': level,
556
+ 'limit': limit,
557
+ 'offset': offset,
558
+ 'order_ascending': orderAscending,
559
+ 'order_by': orderBy,
560
+ 'pathway_id': pathwayId,
561
+ 'price': price,
562
+ 'program_id': programId,
563
+ 'program_type': programType,
564
+ 'promotion': promotion,
565
+ 'query': query,
566
+ 'recommended': recommended,
567
+ 'resource_id': resourceId,
568
+ 'resource_type': resourceType,
569
+ 'return_facet': returnFacet,
570
+ 'return_items': returnItems,
571
+ 'role_id': roleId,
572
+ 'self_paced': selfPaced,
573
+ 'skill_id': skillId,
574
+ 'skills': skills,
575
+ 'subject': subject,
576
+ 'tags': tags,
577
+ 'tenant': tenant,
578
+ 'topics': topics,
579
+ 'update_facet': updateFacet,
580
+ },
581
+ });
582
+ }
583
+ /**
584
+ * Search and filter users within a specific organization/tenant.
585
+ *
586
+ * This endpoint provides a search interface for discovering users within an organization,
587
+ * with support for filtering by departments, pagination, and faceted filtering.
588
+ *
589
+ * Path Parameters:
590
+ * org (str): The organization/tenant identifier
591
+ * username (str): The username of the user making the request
592
+ *
593
+ * Query Parameters:
594
+ * # Search parameters
595
+ * query (str, optional): Search term to filter users by name, username, or email
596
+ *
597
+ * # Department filtering
598
+ * department_mode (bool, optional): Enable department-based filtering (default: false)
599
+ * user_department (bool, optional): Legacy parameter for department_mode (default: false)
600
+ * department (list, optional): Filter by specific departments
601
+ *
602
+ * # Additional filters
603
+ * role (list, optional): Filter by user role
604
+ * status (list, optional): Filter by user status (active, inactive)
605
+ * joined_date (list, optional): Filter by join date range
606
+ * last_login (list, optional): Filter by last login date range
607
+ *
608
+ * # Pagination
609
+ * limit (int, optional): Number of results per page (default: 10)
610
+ * offset (int, optional): Starting position for pagination
611
+ *
612
+ * Returns:
613
+ * A JSON response containing:
614
+ * ```
615
+ * {
616
+ * "results": [
617
+ * {
618
+ * "id": 123,
619
+ * "username": "john.doe",
620
+ * "email": "john.doe@example.com",
621
+ * "first_name": "John",
622
+ * "last_name": "Doe",
623
+ * "full_name": "John Doe",
624
+ * "profile_image": "https://example.com/profiles/john-doe.jpg",
625
+ * "role": "Student",
626
+ * "departments": ["Computer Science", "Data Science"],
627
+ * "status": "active",
628
+ * "joined_date": "2023-01-15T12:00:00Z",
629
+ * "last_login": "2023-06-20T15:30:00Z",
630
+ * "metadata": {
631
+ * "location": "New York",
632
+ * "title": "Software Engineer",
633
+ * "bio": "Experienced software engineer with a passion for education"
634
+ * }
635
+ * },
636
+ * // Additional user objects...
637
+ * ],
638
+ * "count": 50,
639
+ * "next": "https://api.example.com/api/search/users/example-org/admin/?limit=10&offset=10",
640
+ * "previous": null,
641
+ * "current_page": 1,
642
+ * "total_pages": 5,
643
+ * "facets": {
644
+ * "role": [
645
+ * {"key": "Student", "doc_count": 30},
646
+ * {"key": "Instructor", "doc_count": 15},
647
+ * {"key": "Admin", "doc_count": 5}
648
+ * ],
649
+ * "department": [
650
+ * {"key": "Computer Science", "doc_count": 20},
651
+ * {"key": "Data Science", "doc_count": 15},
652
+ * {"key": "Business", "doc_count": 10},
653
+ * {"key": "Engineering", "doc_count": 5}
556
654
  * ],
557
- * "related_skills": [
558
- * {"id": 322, "name": "Deep Learning"}
655
+ * "status": [
656
+ * {"key": "active", "doc_count": 45},
657
+ * {"key": "inactive", "doc_count": 5}
559
658
  * ]
560
659
  * }
660
+ * }
661
+ * ```
662
+ * Error Responses:
663
+ * 400 Bad Request: If the request parameters are invalid
664
+ * 403 Forbidden: If the user doesn't have department admin privileges (when using department_mode)
665
+ * 404 Not Found: If the user or organization doesn't exist
666
+ * 500 Internal Server Error: If an unexpected error occurs
561
667
  *
562
- * - Roles:
563
- * {
564
- * "id": 654,
565
- * "type": "role",
566
- * "name": "Data Scientist",
567
- * "description": "Professional who analyzes and interprets complex data",
568
- * "skills": [
569
- * {"id": 321, "name": "Machine Learning"},
570
- * {"id": 323, "name": "Data Analysis"}
571
- * ],
572
- * "recommended_courses": [
573
- * {"id": 125, "name": "Machine Learning Fundamentals"}
574
- * ]
575
- * }
576
- *
577
- * - Resources:
578
- * {
579
- * "id": 987,
580
- * "type": "resource",
581
- * "name": "Python Cheat Sheet",
582
- * "description": "Quick reference guide for Python",
583
- * "resource_type": "PDF",
584
- * "url": "https://example.com/resources/python-cheatsheet.pdf",
585
- * "topics": ["Programming", "Python"]
586
- * }
587
- *
588
- * Error Responses:
589
- * 500 Internal Server Error: If an unexpected error occurs during processing
590
- *
591
- * Notes:
592
- * - Results are cached for performance
593
- * - The 'resources' content type is only included by default if IBL_ENABLE_RESOURCES_IN_FACET is true
594
- * - For debugging, add ?debug=true to see detailed information about skill matching
595
- * @returns GlobalCatalogSearchResponse
596
- * @throws ApiError
597
- */
598
- public static searchGlobalRetrieve({
599
- allowSkillSearch = false,
600
- alphabetical = false,
601
- certificate,
602
- content,
603
- courseId,
604
- duration,
605
- language,
606
- level,
607
- limit = 12,
608
- offset,
609
- orderAscending = false,
610
- orderBy,
611
- pathwayId,
612
- price,
613
- programId,
614
- programType,
615
- promotion,
616
- query,
617
- resourceType,
618
- returnFacet = true,
619
- returnItems = false,
620
- selfPaced,
621
- skillId,
622
- skills,
623
- subject,
624
- tags,
625
- tenant,
626
- topics,
627
- updateFacet,
628
- }: {
629
- /**
630
- * Enable skill-based search
631
- */
632
- allowSkillSearch?: boolean,
633
- /**
634
- * Sort alphabetically by name
635
- */
636
- alphabetical?: boolean,
637
- /**
638
- * Filter by certificate type
639
- */
640
- certificate?: Array<string>,
641
- /**
642
- * Content types to include in results
643
- */
644
- content?: Array<string>,
645
- /**
646
- * Filter by specific course ID
647
- */
648
- courseId?: string,
649
- /**
650
- * Filter by course duration range
651
- */
652
- duration?: Array<string>,
653
- /**
654
- * Filter by content language
655
- */
656
- language?: Array<string>,
657
- /**
658
- * Filter by difficulty level
659
- */
660
- level?: Array<string>,
661
- /**
662
- * Number of results per page
663
- */
664
- limit?: number,
665
- /**
666
- * Starting position for pagination
667
- */
668
- offset?: number,
669
- /**
670
- * Sort direction
671
- */
672
- orderAscending?: boolean,
673
- /**
674
- * Field to sort results by
675
- */
676
- orderBy?: string,
677
- /**
678
- * Filter by specific pathway ID
679
- */
680
- pathwayId?: string,
681
- /**
682
- * Filter by price/audit status
683
- */
684
- price?: string,
685
- /**
686
- * Filter by specific program ID
687
- */
688
- programId?: string,
689
- /**
690
- * Filter by program type
691
- */
692
- programType?: Array<string>,
693
- /**
694
- * Filter by promotion status
695
- */
696
- promotion?: Array<string>,
697
- /**
698
- * Search term to filter content by name or description
699
- */
700
- query?: string,
701
- /**
702
- * Filter by resource type
703
- */
704
- resourceType?: Array<string>,
705
- /**
706
- * Include facet data in response
707
- */
708
- returnFacet?: boolean,
709
- /**
710
- * Include items in programs/pathways
711
- */
712
- returnItems?: boolean,
713
- /**
714
- * Filter by course format
715
- */
716
- selfPaced?: Array<string>,
717
- /**
718
- * Filter by specific skill ID
719
- */
720
- skillId?: string,
721
- /**
722
- * Filter by skills
723
- */
724
- skills?: Array<string>,
725
- /**
726
- * Filter by subject areas
727
- */
728
- subject?: Array<string>,
729
- /**
730
- * Filter by tags
731
- */
732
- tags?: Array<string>,
733
- /**
734
- * Filter by tenant/organization
735
- */
736
- tenant?: string,
737
- /**
738
- * Filter by topic areas
739
- */
740
- topics?: Array<string>,
741
- /**
742
- * Force facet update
743
- */
744
- updateFacet?: string,
745
- }): CancelablePromise<GlobalCatalogSearchResponse> {
746
- return __request(OpenAPI, {
747
- method: 'GET',
748
- url: '/api/search/global/',
749
- query: {
750
- 'allow_skill_search': allowSkillSearch,
751
- 'alphabetical': alphabetical,
752
- 'certificate': certificate,
753
- 'content': content,
754
- 'course_id': courseId,
755
- 'duration': duration,
756
- 'language': language,
757
- 'level': level,
758
- 'limit': limit,
759
- 'offset': offset,
760
- 'order_ascending': orderAscending,
761
- 'order_by': orderBy,
762
- 'pathway_id': pathwayId,
763
- 'price': price,
764
- 'program_id': programId,
765
- 'program_type': programType,
766
- 'promotion': promotion,
767
- 'query': query,
768
- 'resource_type': resourceType,
769
- 'return_facet': returnFacet,
770
- 'return_items': returnItems,
771
- 'self_paced': selfPaced,
772
- 'skill_id': skillId,
773
- 'skills': skills,
774
- 'subject': subject,
775
- 'tags': tags,
776
- 'tenant': tenant,
777
- 'topics': topics,
778
- 'update_facet': updateFacet,
779
- },
780
- errors: {
781
- 400: `Bad request`,
782
- 500: `Server error`,
783
- },
784
- });
785
- }
786
- /**
787
- * @deprecated
788
- * **Deprecated — use `/api/search/agents/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/search/agents/` (`mentor` → `agent`) and will be removed in a future release.
789
- *
790
- * Search and filter AI mentors across the platform.
791
- *
792
- * This endpoint provides a powerful search interface for discovering AI mentors
793
- * with support for filtering, pagination, and detailed mentor information.
794
- *
795
- * Query Parameters:
796
- * # Identification parameters (for detail view)
797
- * id (int, optional): Retrieve a specific mentor by ID
798
- * unique_id (uuid, optional): Retrieve a specific mentor by UUID
799
- *
800
- * # Search and filtering parameters
801
- * query (str, optional): Search term to filter mentors by name or description
802
- * tenant (str, optional): Filter by tenant/organization
803
- * llm (list, optional): Filter by language model type
804
- * audience (list, optional): Filter by target audience
805
- * category (list, optional): Filter by mentor category
806
- * tags (list, optional): Filter by tags
807
- * created_by (str, optional): Filter mentors created by specific user
808
- *
809
- * # Sorting and pagination
810
- * order_by (str, optional): Field to sort results by ('created_at', 'recently_accessed_at')
811
- * order_direction (str, optional): Sort direction ('asc' or 'desc', default: 'desc')
812
- * limit (int, optional): Number of results per page (default: 12, max: 100)
813
- * offset (int, optional): Starting position for pagination
814
- *
815
- * Returns:
816
- * For detail view (when id or unique_id is provided):
817
- * A JSON response containing a single mentor's details:
818
- * {
819
- * "id": 123,
820
- * "unique_id": "550e8400-e29b-41d4-a716-446655440000",
821
- * "name": "Professor Smith",
822
- * "description": "AI mentor specializing in computer science",
823
- * "image_url": "https://example.com/images/prof-smith.jpg",
824
- * "llm": {
825
- * "id": 1,
826
- * "name": "GPT-4",
827
- * "description": "Advanced language model"
828
- * },
829
- * "audience": {
830
- * "id": 2,
831
- * "name": "College Students",
832
- * "description": "For university-level learners"
833
- * },
834
- * "category": "Computer Science",
835
- * "tags": ["programming", "algorithms", "data structures"],
836
- * "created_at": "2023-01-15T12:00:00Z",
837
- * "recently_accessed_at": "2023-06-20T15:30:00Z",
838
- * "platform": {
839
- * "id": 1,
840
- * "name": "Example University",
841
- * "key": "example-university"
842
- * },
843
- * "visibility": "public",
844
- * "settings": {
845
- * "temperature": 0.7,
846
- * "max_tokens": 1024,
847
- * "system_prompt": "You are Professor Smith, an expert in computer science..."
848
- * }
849
- * }
850
- *
851
- * For list view:
852
- * A JSON response containing:
853
- * {
854
- * "results": [
855
- * {
856
- * "id": 123,
857
- * "unique_id": "550e8400-e29b-41d4-a716-446655440000",
858
- * "name": "Professor Smith",
859
- * "description": "AI mentor specializing in computer science",
860
- * "image_url": "https://example.com/images/prof-smith.jpg",
861
- * "llm": {"id": 1, "name": "GPT-4"},
862
- * "audience": {"id": 2, "name": "College Students"},
863
- * "category": "Computer Science",
864
- * "tags": ["programming", "algorithms"],
865
- * "created_at": "2023-01-15T12:00:00Z",
866
- * "recently_accessed_at": "2023-06-20T15:30:00Z"
867
- * },
868
- * // Additional mentor objects...
869
- * ],
870
- * "count": 50,
871
- * "next": "https://api.example.com/api/search/mentors/?limit=12&offset=12",
872
- * "previous": null,
873
- * "current_page": 1,
874
- * "num_pages": 5,
875
- * "facets": {
876
- * "llm": [
877
- * {"key": "GPT-4", "doc_count": 30},
878
- * {"key": "Claude", "doc_count": 20}
879
- * ],
880
- * "audience": [
881
- * {"key": "College Students", "doc_count": 35},
882
- * {"key": "Professionals", "doc_count": 15}
883
- * ],
884
- * "category": [
885
- * {"key": "Computer Science", "doc_count": 25},
886
- * {"key": "Mathematics", "doc_count": 15},
887
- * {"key": "Business", "doc_count": 10}
888
- * ]
889
- * }
890
- * }
891
- *
892
- * Error Responses:
893
- * 400 Bad Request: If the request parameters are invalid
894
- * 404 Not Found: If the requested mentor doesn't exist
895
- * 500 Internal Server Error: If an unexpected error occurs
896
- *
897
- * Notes:
898
- * - Results are cached for performance
899
- * - Public mentors are visible to all users
900
- * - Private mentors are only visible to authorized users
901
- * @returns MentorSearchResponse
902
- * @throws ApiError
903
- */
904
- public static searchMentorsRetrieve({
905
- audience,
906
- category,
907
- createdBy,
908
- featured,
909
- id,
910
- includeMainPublicMentors = false,
911
- limit = 12,
912
- llm,
913
- offset,
914
- orderBy,
915
- orderDirection = 'desc',
916
- query,
917
- tags,
918
- tenant,
919
- uniqueId,
920
- }: {
921
- /**
922
- * Filter by target audience
923
- */
924
- audience?: Array<string>,
925
- /**
926
- * Filter by mentor category
927
- */
928
- category?: Array<string>,
929
- /**
930
- * Filter mentors created by specific user
931
- */
932
- createdBy?: string,
933
- /**
934
- * Filter by featured status
935
- */
936
- featured?: boolean,
937
- /**
938
- * Retrieve a specific mentor by ID
939
- */
940
- id?: number,
941
- /**
942
- * Include public mentors from main tenant
943
- */
944
- includeMainPublicMentors?: boolean,
945
- /**
946
- * Number of results per page
947
- */
948
- limit?: number,
949
- /**
950
- * Filter by language model type
951
- */
952
- llm?: Array<string>,
953
- /**
954
- * Starting position for pagination
955
- */
956
- offset?: number,
957
- /**
958
- * Field to sort results by ('created_at', 'recently_accessed_at')
959
- */
960
- orderBy?: string,
961
- /**
962
- * Sort direction ('asc' or 'desc')
963
- */
964
- orderDirection?: string,
965
- /**
966
- * Search term to filter mentors by name or description
967
- */
968
- query?: string,
969
- /**
970
- * Filter by tags
971
- */
972
- tags?: Array<string>,
973
- /**
974
- * Filter by tenant/organization
975
- */
976
- tenant?: string,
977
- /**
978
- * Retrieve a specific mentor by UUID
979
- */
980
- uniqueId?: string,
981
- }): CancelablePromise<MentorSearchResponse> {
982
- return __request(OpenAPI, {
983
- method: 'GET',
984
- url: '/api/search/mentors/',
985
- query: {
986
- 'audience': audience,
987
- 'category': category,
988
- 'created_by': createdBy,
989
- 'featured': featured,
990
- 'id': id,
991
- 'include_main_public_mentors': includeMainPublicMentors,
992
- 'limit': limit,
993
- 'llm': llm,
994
- 'offset': offset,
995
- 'order_by': orderBy,
996
- 'order_direction': orderDirection,
997
- 'query': query,
998
- 'tags': tags,
999
- 'tenant': tenant,
1000
- 'unique_id': uniqueId,
1001
- },
1002
- errors: {
1003
- 400: `Bad request`,
1004
- 500: `Server error`,
1005
- },
1006
- });
1007
- }
1008
- /**
1009
- * @deprecated
1010
- * **Deprecated — use `/api/search/agents/{mentor_unique_id}/documents/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/search/agents/{mentor_unique_id}/documents/` (`mentor` → `agent`) and will be removed in a future release.
1011
- *
1012
- * Search and filter documents associated with a specific mentor
1013
- * @returns DocumentSearchResponse
1014
- * @throws ApiError
1015
- */
1016
- public static searchMentorsDocumentsRetrieve({
1017
- mentorUniqueId,
1018
- access,
1019
- documentType,
1020
- limit = 12,
1021
- offset,
1022
- orderBy,
1023
- orderDirection = 'desc',
1024
- platformKey,
1025
- query,
1026
- trainingStatus,
1027
- }: {
1028
- mentorUniqueId: string,
1029
- /**
1030
- * Filter by access level (e.g., 'public', 'private')
1031
- */
1032
- access?: string,
1033
- /**
1034
- * Filter by document type (e.g., 'pdf', 'text')
1035
- */
1036
- documentType?: string,
1037
- /**
1038
- * Number of results per page
1039
- */
1040
- limit?: number,
1041
- /**
1042
- * Starting position for pagination
1043
- */
1044
- offset?: number,
1045
- /**
1046
- * Field to sort results by ('date_created', 'last_modified', 'document_name')
1047
- */
1048
- orderBy?: string,
1049
- /**
1050
- * Sort direction ('asc' or 'desc')
1051
- */
1052
- orderDirection?: string,
1053
- /**
1054
- * Filter by platform key
1055
- */
1056
- platformKey?: string,
1057
- /**
1058
- * Search term to filter documents by name or content
1059
- */
1060
- query?: string,
1061
- /**
1062
- * Filter by training status (e.g., 'trained', 'pending')
1063
- */
1064
- trainingStatus?: string,
1065
- }): CancelablePromise<DocumentSearchResponse> {
1066
- return __request(OpenAPI, {
1067
- method: 'GET',
1068
- url: '/api/search/mentors/{mentor_unique_id}/documents/',
1069
- path: {
1070
- 'mentor_unique_id': mentorUniqueId,
1071
- },
1072
- query: {
1073
- 'access': access,
1074
- 'document_type': documentType,
1075
- 'limit': limit,
1076
- 'offset': offset,
1077
- 'order_by': orderBy,
1078
- 'order_direction': orderDirection,
1079
- 'platform_key': platformKey,
1080
- 'query': query,
1081
- 'training_status': trainingStatus,
1082
- },
1083
- errors: {
1084
- 400: `Bad request`,
1085
- 404: `Mentor not found`,
1086
- 500: `Server error`,
1087
- },
1088
- });
1089
- }
1090
- /**
1091
- * Handle GET requests for tenant-specific mentor search.
1092
- *
1093
- * Args:
1094
- * request: HTTP request object
1095
- * org: Tenant/organization key
1096
- * username: Username of the user making the request
1097
- *
1098
- * Returns:
1099
- * Response: DRF Response object with search results
1100
- * @returns MentorSearchResponse
1101
- * @throws ApiError
1102
- */
1103
- public static searchOrgsUsersAgentsRetrieve({
1104
- org,
1105
- username,
1106
- audience,
1107
- category,
1108
- createdBy,
1109
- featured,
1110
- id,
1111
- includeMainPublicMentors = false,
1112
- limit = 12,
1113
- llm,
1114
- offset,
1115
- orderBy,
1116
- orderDirection = 'desc',
1117
- query,
1118
- tags,
1119
- tenant,
1120
- uniqueId,
1121
- }: {
1122
- org: string,
1123
- username: string,
1124
- /**
1125
- * Filter by target audience
1126
- */
1127
- audience?: Array<string>,
1128
- /**
1129
- * Filter by mentor category
1130
- */
1131
- category?: Array<string>,
1132
- /**
1133
- * Filter mentors created by specific user
1134
- */
1135
- createdBy?: string,
1136
- /**
1137
- * Filter by featured status
1138
- */
1139
- featured?: boolean,
1140
- /**
1141
- * Retrieve a specific mentor by ID
1142
- */
1143
- id?: number,
1144
- /**
1145
- * Include public mentors from main tenant
1146
- */
1147
- includeMainPublicMentors?: boolean,
1148
- /**
1149
- * Number of results per page
1150
- */
1151
- limit?: number,
1152
- /**
1153
- * Filter by language model type
1154
- */
1155
- llm?: Array<string>,
1156
- /**
1157
- * Starting position for pagination
1158
- */
1159
- offset?: number,
1160
- /**
1161
- * Field to sort results by ('created_at', 'recently_accessed_at')
1162
- */
1163
- orderBy?: string,
1164
- /**
1165
- * Sort direction ('asc' or 'desc')
1166
- */
1167
- orderDirection?: string,
1168
- /**
1169
- * Search term to filter mentors by name or description
1170
- */
1171
- query?: string,
1172
- /**
1173
- * Filter by tags
1174
- */
1175
- tags?: Array<string>,
1176
- /**
1177
- * Filter by tenant/organization
1178
- */
1179
- tenant?: string,
1180
- /**
1181
- * Retrieve a specific mentor by UUID
1182
- */
1183
- uniqueId?: string,
1184
- }): CancelablePromise<MentorSearchResponse> {
1185
- return __request(OpenAPI, {
1186
- method: 'GET',
1187
- url: '/api/search/orgs/{org}/users/{username}/agents/',
1188
- path: {
1189
- 'org': org,
1190
- 'username': username,
1191
- },
1192
- query: {
1193
- 'audience': audience,
1194
- 'category': category,
1195
- 'created_by': createdBy,
1196
- 'featured': featured,
1197
- 'id': id,
1198
- 'include_main_public_mentors': includeMainPublicMentors,
1199
- 'limit': limit,
1200
- 'llm': llm,
1201
- 'offset': offset,
1202
- 'order_by': orderBy,
1203
- 'order_direction': orderDirection,
1204
- 'query': query,
1205
- 'tags': tags,
1206
- 'tenant': tenant,
1207
- 'unique_id': uniqueId,
1208
- },
1209
- errors: {
1210
- 400: `Bad request`,
1211
- 403: `Forbidden - user does not have access`,
1212
- 500: `Server error`,
1213
- },
1214
- });
1215
- }
1216
- /**
1217
- * @deprecated
1218
- * **Deprecated — use `/api/search/orgs/{org}/users/{username}/agents/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/search/orgs/{org}/users/{username}/agents/` (`mentor` → `agent`) and will be removed in a future release.
1219
- *
1220
- * Handle GET requests for tenant-specific mentor search.
1221
- *
1222
- * Args:
1223
- * request: HTTP request object
1224
- * org: Tenant/organization key
1225
- * username: Username of the user making the request
1226
- *
1227
- * Returns:
1228
- * Response: DRF Response object with search results
1229
- * @returns MentorSearchResponse
1230
- * @throws ApiError
1231
- */
1232
- public static searchOrgsUsersMentorsRetrieve({
1233
- org,
1234
- username,
1235
- audience,
1236
- category,
1237
- createdBy,
1238
- featured,
1239
- id,
1240
- includeMainPublicMentors = false,
1241
- limit = 12,
1242
- llm,
1243
- offset,
1244
- orderBy,
1245
- orderDirection = 'desc',
1246
- query,
1247
- tags,
1248
- tenant,
1249
- uniqueId,
1250
- }: {
1251
- org: string,
1252
- username: string,
1253
- /**
1254
- * Filter by target audience
1255
- */
1256
- audience?: Array<string>,
1257
- /**
1258
- * Filter by mentor category
1259
- */
1260
- category?: Array<string>,
1261
- /**
1262
- * Filter mentors created by specific user
1263
- */
1264
- createdBy?: string,
1265
- /**
1266
- * Filter by featured status
1267
- */
1268
- featured?: boolean,
1269
- /**
1270
- * Retrieve a specific mentor by ID
1271
- */
1272
- id?: number,
1273
- /**
1274
- * Include public mentors from main tenant
1275
- */
1276
- includeMainPublicMentors?: boolean,
1277
- /**
1278
- * Number of results per page
1279
- */
1280
- limit?: number,
1281
- /**
1282
- * Filter by language model type
1283
- */
1284
- llm?: Array<string>,
1285
- /**
1286
- * Starting position for pagination
1287
- */
1288
- offset?: number,
1289
- /**
1290
- * Field to sort results by ('created_at', 'recently_accessed_at')
1291
- */
1292
- orderBy?: string,
1293
- /**
1294
- * Sort direction ('asc' or 'desc')
1295
- */
1296
- orderDirection?: string,
1297
- /**
1298
- * Search term to filter mentors by name or description
1299
- */
1300
- query?: string,
1301
- /**
1302
- * Filter by tags
1303
- */
1304
- tags?: Array<string>,
1305
- /**
1306
- * Filter by tenant/organization
1307
- */
1308
- tenant?: string,
1309
- /**
1310
- * Retrieve a specific mentor by UUID
1311
- */
1312
- uniqueId?: string,
1313
- }): CancelablePromise<MentorSearchResponse> {
1314
- return __request(OpenAPI, {
1315
- method: 'GET',
1316
- url: '/api/search/orgs/{org}/users/{username}/mentors/',
1317
- path: {
1318
- 'org': org,
1319
- 'username': username,
1320
- },
1321
- query: {
1322
- 'audience': audience,
1323
- 'category': category,
1324
- 'created_by': createdBy,
1325
- 'featured': featured,
1326
- 'id': id,
1327
- 'include_main_public_mentors': includeMainPublicMentors,
1328
- 'limit': limit,
1329
- 'llm': llm,
1330
- 'offset': offset,
1331
- 'order_by': orderBy,
1332
- 'order_direction': orderDirection,
1333
- 'query': query,
1334
- 'tags': tags,
1335
- 'tenant': tenant,
1336
- 'unique_id': uniqueId,
1337
- },
1338
- errors: {
1339
- 400: `Bad request`,
1340
- 403: `Forbidden - user does not have access`,
1341
- 500: `Server error`,
1342
- },
1343
- });
1344
- }
1345
- /**
1346
- * Search and filter AI prompts for a specific user within a tenant.
1347
- *
1348
- * This endpoint extends the base prompt search functionality but filters results
1349
- * to only show prompts that are available to a specific user within a specific
1350
- * organization/tenant.
1351
- *
1352
- * Path Parameters:
1353
- * org (str): The organization/tenant identifier
1354
- * username (str): The username to filter prompts for
1355
- *
1356
- * Query Parameters:
1357
- * Same as PromptSearchView, plus:
1358
- *
1359
- * # Identification parameters (for detail view)
1360
- * id (int, optional): Retrieve a specific prompt by ID
1361
- *
1362
- * Returns:
1363
- * Same format as PromptSearchView, but filtered to only include prompts
1364
- * that the specified user has access to within the specified organization.
1365
- *
1366
- * Error Responses:
1367
- * 400 Bad Request: If the request parameters are invalid
1368
- * 403 Forbidden: If the requested prompt exists but the user doesn't have access
1369
- * 404 Not Found: If the requested prompt doesn't exist
1370
- * 500 Internal Server Error: If an unexpected error occurs
1371
- *
1372
- * Access Control:
1373
- * - Results are filtered based on user's permissions within the organization
1374
- * - Private prompts are only visible to authorized users
1375
- * @returns PromptSearchResponse
1376
- * @throws ApiError
1377
- */
1378
- public static searchOrgsUsersPromptsRetrieve({
1379
- org,
1380
- username,
1381
- alphabetical = false,
1382
- category,
1383
- createdBy,
1384
- filterFacet,
1385
- language,
1386
- limit = 10,
1387
- mentor,
1388
- offset,
1389
- orderDirection = 'desc',
1390
- query,
1391
- sortBy,
1392
- style,
1393
- tenant,
1394
- tone,
1395
- }: {
1396
- org: string,
1397
- username: string,
1398
- /**
1399
- * Sort alphabetically
1400
- */
1401
- alphabetical?: boolean,
1402
- /**
1403
- * Filter by prompt category
1404
- */
1405
- category?: string,
1406
- /**
1407
- * Filter prompts created by specific user
1408
- */
1409
- createdBy?: string,
1410
- /**
1411
- * If true, return only facets without results
1412
- */
1413
- filterFacet?: boolean,
1414
- /**
1415
- * Filter by prompt language
1416
- */
1417
- language?: string,
1418
- /**
1419
- * Number of results per page
1420
- */
1421
- limit?: number,
1422
- /**
1423
- * Filter by mentor UUID
1424
- */
1425
- mentor?: string,
1426
- /**
1427
- * Starting position for pagination
1428
- */
1429
- offset?: number,
1430
- /**
1431
- * Sort direction ('asc' or 'desc')
1432
- */
1433
- orderDirection?: string,
1434
- /**
1435
- * Search term to filter prompts by name or content
1436
- */
1437
- query?: string,
1438
- /**
1439
- * Field to sort results by
1440
- */
1441
- sortBy?: string,
1442
- /**
1443
- * Filter by prompt style
1444
- */
1445
- style?: string,
1446
- /**
1447
- * Filter by tenant/organization
1448
- */
1449
- tenant?: string,
1450
- /**
1451
- * Filter by prompt tone
1452
- */
1453
- tone?: string,
1454
- }): CancelablePromise<PromptSearchResponse> {
1455
- return __request(OpenAPI, {
1456
- method: 'GET',
1457
- url: '/api/search/orgs/{org}/users/{username}/prompts/',
1458
- path: {
1459
- 'org': org,
1460
- 'username': username,
1461
- },
1462
- query: {
1463
- 'alphabetical': alphabetical,
1464
- 'category': category,
1465
- 'created_by': createdBy,
1466
- 'filter_facet': filterFacet,
1467
- 'language': language,
1468
- 'limit': limit,
1469
- 'mentor': mentor,
1470
- 'offset': offset,
1471
- 'order_direction': orderDirection,
1472
- 'query': query,
1473
- 'sort_by': sortBy,
1474
- 'style': style,
1475
- 'tenant': tenant,
1476
- 'tone': tone,
1477
- },
1478
- errors: {
1479
- 400: `Bad request`,
1480
- 403: `Forbidden`,
1481
- 404: `Not found`,
1482
- 500: `Server error`,
1483
- },
1484
- });
1485
- }
1486
- /**
1487
- * Determine whether to serve a detail view or a list view.
1488
- * @returns RecommendedCoursesResponse
1489
- * @throws ApiError
1490
- */
1491
- public static searchOrgsUsersRecommendedRetrieve({
1492
- org,
1493
- username,
1494
- certificate,
1495
- content,
1496
- courseId,
1497
- duration,
1498
- language,
1499
- level,
1500
- limit = 12,
1501
- offset,
1502
- pathwayId,
1503
- price,
1504
- programId,
1505
- programType,
1506
- query,
1507
- resourceId,
1508
- resourceType,
1509
- roleId,
1510
- selfPaced,
1511
- skillId,
1512
- skills,
1513
- subject,
1514
- tags,
1515
- tenant,
1516
- topics,
1517
- }: {
1518
- org: string,
1519
- username: string,
1520
- /**
1521
- * Filter by certificate type
1522
- */
1523
- certificate?: Array<string>,
1524
- /**
1525
- * Content types to include in recommendations (courses, programs, pathways, skills, roles, resources)
1526
- */
1527
- content?: Array<string>,
1528
- /**
1529
- * Retrieve a specific course by ID
1530
- */
1531
- courseId?: string,
1532
- /**
1533
- * Filter by course duration range
1534
- */
1535
- duration?: Array<string>,
1536
- /**
1537
- * Filter by content language
1538
- */
1539
- language?: Array<string>,
1540
- /**
1541
- * Filter by difficulty level
1542
- */
1543
- level?: Array<string>,
1544
- /**
1545
- * Number of results per page
1546
- */
1547
- limit?: number,
1548
- /**
1549
- * Starting position for pagination
1550
- */
1551
- offset?: number,
1552
- /**
1553
- * Retrieve a specific pathway by ID
1554
- */
1555
- pathwayId?: string,
1556
- /**
1557
- * Filter by price/audit status
1558
- */
1559
- price?: string,
1560
- /**
1561
- * Retrieve a specific program by ID
1562
- */
1563
- programId?: string,
1564
- /**
1565
- * Filter by program type
1566
- */
1567
- programType?: Array<string>,
1568
- /**
1569
- * Search term to filter content by name or description
1570
- */
1571
- query?: string,
1572
- /**
1573
- * Retrieve a specific resource by ID
1574
- */
1575
- resourceId?: string,
1576
- /**
1577
- * Filter by resource type
1578
- */
1579
- resourceType?: Array<string>,
1580
- /**
1581
- * Retrieve a specific role by ID
1582
- */
1583
- roleId?: string,
1584
- /**
1585
- * Filter by course format (self-paced, instructor-led)
1586
- */
1587
- selfPaced?: Array<string>,
1588
- /**
1589
- * Retrieve a specific skill by ID
1590
- */
1591
- skillId?: string,
1592
- /**
1593
- * Filter by skills
1594
- */
1595
- skills?: Array<string>,
1596
- /**
1597
- * Filter by subject areas
1598
- */
1599
- subject?: Array<string>,
1600
- /**
1601
- * Filter by tags
1602
- */
1603
- tags?: Array<string>,
1604
- /**
1605
- * Filter by tenant/organization
1606
- */
1607
- tenant?: string,
1608
- /**
1609
- * Filter by topic areas
1610
- */
1611
- topics?: Array<string>,
1612
- }): CancelablePromise<RecommendedCoursesResponse> {
1613
- return __request(OpenAPI, {
1614
- method: 'GET',
1615
- url: '/api/search/orgs/{org}/users/{username}/recommended/',
1616
- path: {
1617
- 'org': org,
1618
- 'username': username,
1619
- },
1620
- query: {
1621
- 'certificate': certificate,
1622
- 'content': content,
1623
- 'course_id': courseId,
1624
- 'duration': duration,
1625
- 'language': language,
1626
- 'level': level,
1627
- 'limit': limit,
1628
- 'offset': offset,
1629
- 'pathway_id': pathwayId,
1630
- 'price': price,
1631
- 'program_id': programId,
1632
- 'program_type': programType,
1633
- 'query': query,
1634
- 'resource_id': resourceId,
1635
- 'resource_type': resourceType,
1636
- 'role_id': roleId,
1637
- 'self_paced': selfPaced,
1638
- 'skill_id': skillId,
1639
- 'skills': skills,
1640
- 'subject': subject,
1641
- 'tags': tags,
1642
- 'tenant': tenant,
1643
- 'topics': topics,
1644
- },
1645
- errors: {
1646
- 400: `Bad request`,
1647
- 404: `User not found`,
1648
- 500: `Server error`,
1649
- },
1650
- });
1651
- }
1652
- /**
1653
- * Determine whether to serve a detail view or a list view.
1654
- * If any detail-identifying parameters are present (course_id, program_id, etc.)
1655
- * the detail view is returned; otherwise the aggregated list view is returned.
1656
- * @returns any
1657
- * @throws ApiError
1658
- */
1659
- public static searchPersonalizedCatalogRetrieve({
1660
- username,
1661
- allowSkillSearch = false,
1662
- alphabetical = false,
1663
- certificate,
1664
- content,
1665
- courseId,
1666
- duration,
1667
- language,
1668
- level,
1669
- limit = 12,
1670
- offset,
1671
- orderAscending = false,
1672
- orderBy,
1673
- pathwayId,
1674
- price,
1675
- programId,
1676
- programType,
1677
- promotion,
1678
- query,
1679
- recommended = false,
1680
- resourceId,
1681
- resourceType,
1682
- returnFacet = true,
1683
- returnItems = false,
1684
- roleId,
1685
- selfPaced,
1686
- skillId,
1687
- skills,
1688
- subject,
1689
- tags,
1690
- tenant,
1691
- topics,
1692
- updateFacet,
1693
- }: {
1694
- username: string,
1695
- /**
1696
- * Enable skill-based search
1697
- */
1698
- allowSkillSearch?: boolean,
1699
- /**
1700
- * Sort alphabetically by name
1701
- */
1702
- alphabetical?: boolean,
1703
- /**
1704
- * Filter by certificate type
1705
- */
1706
- certificate?: Array<string>,
1707
- /**
1708
- * Content types to include in results
1709
- */
1710
- content?: Array<string>,
1711
- /**
1712
- * Retrieve a specific course by ID
1713
- */
1714
- courseId?: string,
1715
- /**
1716
- * Filter by course duration range
1717
- */
1718
- duration?: Array<string>,
1719
- /**
1720
- * Filter by content language
1721
- */
1722
- language?: Array<string>,
1723
- /**
1724
- * Filter by difficulty level
1725
- */
1726
- level?: Array<string>,
1727
- /**
1728
- * Number of results per page
1729
- */
1730
- limit?: number,
1731
- /**
1732
- * Starting position for pagination
1733
- */
1734
- offset?: number,
1735
- /**
1736
- * Sort direction
1737
- */
1738
- orderAscending?: boolean,
1739
- /**
1740
- * Field to sort results by
1741
- */
1742
- orderBy?: string,
1743
- /**
1744
- * Retrieve a specific pathway by ID
1745
- */
1746
- pathwayId?: string,
1747
- /**
1748
- * Filter by price/audit status
1749
- */
1750
- price?: string,
1751
- /**
1752
- * Retrieve a specific program by ID
1753
- */
1754
- programId?: string,
1755
- /**
1756
- * Filter by program type
1757
- */
1758
- programType?: Array<string>,
1759
- /**
1760
- * Filter by promotion status
1761
- */
1762
- promotion?: Array<string>,
1763
- /**
1764
- * Search term to filter content by name or description
1765
- */
1766
- query?: string,
1767
- /**
1768
- * Show only recommended content
1769
- */
1770
- recommended?: boolean,
1771
- /**
1772
- * Retrieve a specific resource by ID
1773
- */
1774
- resourceId?: string,
1775
- /**
1776
- * Filter by resource type
1777
- */
1778
- resourceType?: Array<string>,
1779
- /**
1780
- * Include facet data in response
1781
- */
1782
- returnFacet?: boolean,
1783
- /**
1784
- * Include items in programs/pathways
1785
- */
1786
- returnItems?: boolean,
1787
- /**
1788
- * Retrieve a specific role by ID
1789
- */
1790
- roleId?: string,
1791
- /**
1792
- * Filter by course format
1793
- */
1794
- selfPaced?: Array<string>,
1795
- /**
1796
- * Retrieve a specific skill by ID
1797
- */
1798
- skillId?: string,
1799
- /**
1800
- * Filter by skills
1801
- */
1802
- skills?: Array<string>,
1803
- /**
1804
- * Filter by subject areas
1805
- */
1806
- subject?: Array<string>,
1807
- /**
1808
- * Filter by tags
1809
- */
1810
- tags?: Array<string>,
1811
- /**
1812
- * Filter by tenant/organization
1813
- */
1814
- tenant?: string,
1815
- /**
1816
- * Filter by topic areas
1817
- */
1818
- topics?: Array<string>,
1819
- /**
1820
- * Force facet update
1821
- */
1822
- updateFacet?: string,
1823
- }): CancelablePromise<Record<string, any>> {
1824
- return __request(OpenAPI, {
1825
- method: 'GET',
1826
- url: '/api/search/personalized-catalog/{username}/',
1827
- path: {
1828
- 'username': username,
1829
- },
1830
- query: {
1831
- 'allow_skill_search': allowSkillSearch,
1832
- 'alphabetical': alphabetical,
1833
- 'certificate': certificate,
1834
- 'content': content,
1835
- 'course_id': courseId,
1836
- 'duration': duration,
1837
- 'language': language,
1838
- 'level': level,
1839
- 'limit': limit,
1840
- 'offset': offset,
1841
- 'order_ascending': orderAscending,
1842
- 'order_by': orderBy,
1843
- 'pathway_id': pathwayId,
1844
- 'price': price,
1845
- 'program_id': programId,
1846
- 'program_type': programType,
1847
- 'promotion': promotion,
1848
- 'query': query,
1849
- 'recommended': recommended,
1850
- 'resource_id': resourceId,
1851
- 'resource_type': resourceType,
1852
- 'return_facet': returnFacet,
1853
- 'return_items': returnItems,
1854
- 'role_id': roleId,
1855
- 'self_paced': selfPaced,
1856
- 'skill_id': skillId,
1857
- 'skills': skills,
1858
- 'subject': subject,
1859
- 'tags': tags,
1860
- 'tenant': tenant,
1861
- 'topics': topics,
1862
- 'update_facet': updateFacet,
1863
- },
1864
- });
1865
- }
1866
- /**
1867
- * Search and filter AI prompts across the platform.
1868
- *
1869
- * This endpoint provides a search interface for discovering AI prompts
1870
- * with support for filtering, pagination, and detailed prompt information.
1871
- *
1872
- * Query Parameters:
1873
- * # Identification parameters (for detail view)
1874
- * id (int, optional): Retrieve a specific prompt by ID
1875
- *
1876
- * # Search and filtering parameters
1877
- * query (str, optional): Search term to filter prompts by name or content
1878
- * category (str, optional): Filter by prompt category
1879
- * language (str, optional): Filter by prompt language
1880
- * style (str, optional): Filter by writing style
1881
- * tone (str, optional): Filter by tone
1882
- * tenant (str, optional): Filter by tenant/organization
1883
- * mentor (str, optional): Filter by associated mentor (UUID)
1884
- *
1885
- * # Sorting and pagination
1886
- * sort_by (str, optional): Field to sort results by
1887
- * order_direction (str, optional): Sort direction ('asc' or 'desc', default: 'desc')
1888
- * alphabetical (bool, optional): Sort alphabetically by name (default: false)
1889
- * limit (int, optional): Number of results per page (default: 10)
1890
- * offset (int, optional): Starting position for pagination
1891
- *
1892
- * # Special parameters
1893
- * filter_facet (any, optional): If present, return only facets without results
1894
- *
1895
- * Returns:
1896
- * For detail view (when id is provided):
1897
- * A JSON response containing a single prompt's details:
1898
- * {
1899
- * "id": 456,
1900
- * "name": "Essay Writing Guide",
1901
- * "content": "Write a well-structured essay on the following topic: {{topic}}...",
1902
- * "category": "Academic Writing",
1903
- * "language": "English",
1904
- * "style": "Formal",
1905
- * "tone": "Professional",
1906
- * "mentor": {
1907
- * "id": 123,
1908
- * "unique_id": "550e8400-e29b-41d4-a716-446655440000",
1909
- * "name": "Professor Smith"
1910
- * },
1911
- * "platform": {
1912
- * "id": 1,
1913
- * "name": "Example University",
1914
- * "key": "example-university"
1915
- * },
1916
- * "created_at": "2023-02-10T09:15:00Z",
1917
- * "updated_at": "2023-05-05T14:20:00Z",
1918
- * "visibility": "public",
1919
- * "variables": ["topic", "length", "style"]
1920
- * }
1921
- *
1922
- * For list view:
1923
- * A JSON response containing:
1924
- * {
1925
- * "results": [
1926
- * {
1927
- * "id": 456,
1928
- * "name": "Essay Writing Guide",
1929
- * "content": "Write a well-structured essay on the following topic: {{topic}}...",
1930
- * "category": "Academic Writing",
1931
- * "language": "English",
1932
- * "style": "Formal",
1933
- * "tone": "Professional",
1934
- * "mentor": {"id": 123, "name": "Professor Smith"},
1935
- * "created_at": "2023-02-10T09:15:00Z",
1936
- * "updated_at": "2023-05-05T14:20:00Z"
1937
- * },
1938
- * // Additional prompt objects...
1939
- * ],
1940
- * "count": 30,
1941
- * "next": "?limit=10&offset=10",
1942
- * "previous": null,
1943
- * "current_page": 1,
1944
- * "num_pages": 3,
1945
- * "facets": {
1946
- * "category": [
1947
- * {"key": "Academic Writing", "doc_count": 15},
1948
- * {"key": "Creative Writing", "doc_count": 10},
1949
- * {"key": "Technical Documentation", "doc_count": 5}
1950
- * ],
1951
- * "language": [
1952
- * {"key": "English", "doc_count": 25},
1953
- * {"key": "Spanish", "doc_count": 5}
1954
- * ],
1955
- * "style": [
1956
- * {"key": "Formal", "doc_count": 20},
1957
- * {"key": "Casual", "doc_count": 10}
1958
- * ],
1959
- * "tone": [
1960
- * {"key": "Professional", "doc_count": 15},
1961
- * {"key": "Friendly", "doc_count": 10},
1962
- * {"key": "Technical", "doc_count": 5}
1963
- * ]
1964
- * }
1965
- * }
1966
- *
1967
- * Error Responses:
1968
- * 400 Bad Request: If the request parameters are invalid
1969
- * 403 Forbidden: If the requested prompt exists but is not publicly available
1970
- * 404 Not Found: If the requested prompt doesn't exist
1971
- * 500 Internal Server Error: If an unexpected error occurs
1972
- *
1973
- * Notes:
1974
- * - Only publicly available prompts are returned by default
1975
- * - When filtering by mentor, the mentor ID must be a valid UUID
1976
- * @returns PromptSearchResponse
1977
- * @throws ApiError
1978
- */
1979
- public static searchPromptsRetrieve({
1980
- alphabetical = false,
1981
- category,
1982
- createdBy,
1983
- filterFacet,
1984
- language,
1985
- limit = 10,
1986
- mentor,
1987
- offset,
1988
- orderDirection = 'desc',
1989
- query,
1990
- sortBy,
1991
- style,
1992
- tenant,
1993
- tone,
1994
- }: {
1995
- /**
1996
- * Sort alphabetically
1997
- */
1998
- alphabetical?: boolean,
1999
- /**
2000
- * Filter by prompt category
2001
- */
2002
- category?: string,
2003
- /**
2004
- * Filter prompts created by specific user
2005
- */
2006
- createdBy?: string,
2007
- /**
2008
- * If true, return only facets without results
2009
- */
2010
- filterFacet?: boolean,
2011
- /**
2012
- * Filter by prompt language
2013
- */
2014
- language?: string,
2015
- /**
2016
- * Number of results per page
2017
- */
2018
- limit?: number,
2019
- /**
2020
- * Filter by mentor UUID
2021
- */
2022
- mentor?: string,
2023
- /**
2024
- * Starting position for pagination
2025
- */
2026
- offset?: number,
2027
- /**
2028
- * Sort direction ('asc' or 'desc')
2029
- */
2030
- orderDirection?: string,
2031
- /**
2032
- * Search term to filter prompts by name or content
2033
- */
2034
- query?: string,
2035
- /**
2036
- * Field to sort results by
2037
- */
2038
- sortBy?: string,
2039
- /**
2040
- * Filter by prompt style
2041
- */
2042
- style?: string,
2043
- /**
2044
- * Filter by tenant/organization
2045
- */
2046
- tenant?: string,
2047
- /**
2048
- * Filter by prompt tone
2049
- */
2050
- tone?: string,
2051
- }): CancelablePromise<PromptSearchResponse> {
2052
- return __request(OpenAPI, {
2053
- method: 'GET',
2054
- url: '/api/search/prompts/',
2055
- query: {
2056
- 'alphabetical': alphabetical,
2057
- 'category': category,
2058
- 'created_by': createdBy,
2059
- 'filter_facet': filterFacet,
2060
- 'language': language,
2061
- 'limit': limit,
2062
- 'mentor': mentor,
2063
- 'offset': offset,
2064
- 'order_direction': orderDirection,
2065
- 'query': query,
2066
- 'sort_by': sortBy,
2067
- 'style': style,
2068
- 'tenant': tenant,
2069
- 'tone': tone,
2070
- },
2071
- errors: {
2072
- 400: `Bad request`,
2073
- 500: `Server error`,
2074
- },
2075
- });
2076
- }
2077
- /**
2078
- * Search and filter users within a specific organization/tenant.
2079
- *
2080
- * This endpoint provides a search interface for discovering users within an organization,
2081
- * with support for filtering by departments, pagination, and faceted filtering.
2082
- *
2083
- * Path Parameters:
2084
- * org (str): The organization/tenant identifier
2085
- * username (str): The username of the user making the request
2086
- *
2087
- * Query Parameters:
2088
- * # Search parameters
2089
- * query (str, optional): Search term to filter users by name, username, or email
2090
- *
2091
- * # Department filtering
2092
- * department_mode (bool, optional): Enable department-based filtering (default: false)
2093
- * user_department (bool, optional): Legacy parameter for department_mode (default: false)
2094
- * department (list, optional): Filter by specific departments
2095
- *
2096
- * # Additional filters
2097
- * role (list, optional): Filter by user role
2098
- * status (list, optional): Filter by user status (active, inactive)
2099
- * joined_date (list, optional): Filter by join date range
2100
- * last_login (list, optional): Filter by last login date range
2101
- *
2102
- * # Pagination
2103
- * limit (int, optional): Number of results per page (default: 10)
2104
- * offset (int, optional): Starting position for pagination
2105
- *
2106
- * Returns:
2107
- * A JSON response containing:
2108
- * ```
2109
- * {
2110
- * "results": [
2111
- * {
2112
- * "id": 123,
2113
- * "username": "john.doe",
2114
- * "email": "john.doe@example.com",
2115
- * "first_name": "John",
2116
- * "last_name": "Doe",
2117
- * "full_name": "John Doe",
2118
- * "profile_image": "https://example.com/profiles/john-doe.jpg",
2119
- * "role": "Student",
2120
- * "departments": ["Computer Science", "Data Science"],
2121
- * "status": "active",
2122
- * "joined_date": "2023-01-15T12:00:00Z",
2123
- * "last_login": "2023-06-20T15:30:00Z",
2124
- * "metadata": {
2125
- * "location": "New York",
2126
- * "title": "Software Engineer",
2127
- * "bio": "Experienced software engineer with a passion for education"
2128
- * }
2129
- * },
2130
- * // Additional user objects...
2131
- * ],
2132
- * "count": 50,
2133
- * "next": "https://api.example.com/api/search/users/example-org/admin/?limit=10&offset=10",
2134
- * "previous": null,
2135
- * "current_page": 1,
2136
- * "total_pages": 5,
2137
- * "facets": {
2138
- * "role": [
2139
- * {"key": "Student", "doc_count": 30},
2140
- * {"key": "Instructor", "doc_count": 15},
2141
- * {"key": "Admin", "doc_count": 5}
2142
- * ],
2143
- * "department": [
2144
- * {"key": "Computer Science", "doc_count": 20},
2145
- * {"key": "Data Science", "doc_count": 15},
2146
- * {"key": "Business", "doc_count": 10},
2147
- * {"key": "Engineering", "doc_count": 5}
2148
- * ],
2149
- * "status": [
2150
- * {"key": "active", "doc_count": 45},
2151
- * {"key": "inactive", "doc_count": 5}
2152
- * ]
2153
- * }
2154
- * }
2155
- * ```
2156
- * Error Responses:
2157
- * 400 Bad Request: If the request parameters are invalid
2158
- * 403 Forbidden: If the user doesn't have department admin privileges (when using department_mode)
2159
- * 404 Not Found: If the user or organization doesn't exist
2160
- * 500 Internal Server Error: If an unexpected error occurs
2161
- *
2162
- * Access Control:
2163
- * - The requesting user must have an active account in the specified organization
2164
- * - When department_mode is enabled, the user must be an admin of at least one department
2165
- * - Department filtering restricts results to users in departments where the requesting user is an admin
2166
- * @returns UserSearchResponse
2167
- * @throws ApiError
2168
- */
2169
- public static searchUsersOrgsUsersRetrieve({
2170
- org,
2171
- username,
2172
- department,
2173
- educationDegree,
2174
- educationFieldOfStudy,
2175
- educationInstitution,
2176
- includeMembershipData = false,
2177
- limit = 10,
2178
- offset,
2179
- q,
2180
- userResumeCompany,
2181
- userResumeIndustry,
2182
- userResumeJobTitle,
2183
- userResumeLocation,
2184
- userResumeSkills,
2185
- }: {
2186
- org: string,
2187
- username: string,
2188
- /**
2189
- * Filter by department names
2190
- */
2191
- department?: Array<string>,
2192
- /**
2193
- * Filter by degree
2194
- */
2195
- educationDegree?: string,
2196
- /**
2197
- * Filter by field of study
2198
- */
2199
- educationFieldOfStudy?: string,
2200
- /**
2201
- * Filter by institution
2202
- */
2203
- educationInstitution?: string,
2204
- /**
2205
- * Include user group membership data in results
2206
- */
2207
- includeMembershipData?: boolean,
2208
- /**
2209
- * Number of results per page
2210
- */
2211
- limit?: number,
2212
- /**
2213
- * Starting position for pagination
2214
- */
2215
- offset?: number,
2216
- /**
2217
- * Search term to filter users by name, email, or other attributes
2218
- */
2219
- q?: string,
2220
- /**
2221
- * Filter by company
2222
- */
2223
- userResumeCompany?: string,
2224
- /**
2225
- * Filter by industry
2226
- */
2227
- userResumeIndustry?: string,
2228
- /**
2229
- * Filter by job title
2230
- */
2231
- userResumeJobTitle?: string,
2232
- /**
2233
- * Filter by location
2234
- */
2235
- userResumeLocation?: string,
2236
- /**
2237
- * Filter by skills
2238
- */
2239
- userResumeSkills?: string,
2240
- }): CancelablePromise<UserSearchResponse> {
2241
- return __request(OpenAPI, {
2242
- method: 'GET',
2243
- url: '/api/search/users/orgs/{org}/users/{username}/',
2244
- path: {
2245
- 'org': org,
2246
- 'username': username,
2247
- },
2248
- query: {
2249
- 'department': department,
2250
- 'education__degree': educationDegree,
2251
- 'education__field_of_study': educationFieldOfStudy,
2252
- 'education__institution': educationInstitution,
2253
- 'include_membership_data': includeMembershipData,
2254
- 'limit': limit,
2255
- 'offset': offset,
2256
- 'q': q,
2257
- 'user_resume__company': userResumeCompany,
2258
- 'user_resume__industry': userResumeIndustry,
2259
- 'user_resume__job_title': userResumeJobTitle,
2260
- 'user_resume__location': userResumeLocation,
2261
- 'user_resume__skills': userResumeSkills,
2262
- },
2263
- errors: {
2264
- 400: `Bad request`,
2265
- 403: `Forbidden`,
2266
- 404: `Not found`,
2267
- 500: `Server error`,
2268
- },
2269
- });
2270
- }
2271
- }
668
+ * Access Control:
669
+ * - The requesting user must have an active account in the specified organization
670
+ * - When department_mode is enabled, the user must be an admin of at least one department
671
+ * - Department filtering restricts results to users in departments where the requesting user is an admin
672
+ * @returns UserSearchResponse
673
+ * @throws ApiError
674
+ */
675
+ public static searchUsersOrgsUsersRetrieve({
676
+ org,
677
+ username,
678
+ department,
679
+ educationDegree,
680
+ educationFieldOfStudy,
681
+ educationInstitution,
682
+ includeMembershipData = false,
683
+ limit = 10,
684
+ offset,
685
+ q,
686
+ userResumeCompany,
687
+ userResumeIndustry,
688
+ userResumeJobTitle,
689
+ userResumeLocation,
690
+ userResumeSkills,
691
+ }: {
692
+ org: string,
693
+ username: string,
694
+ /**
695
+ * Filter by department names
696
+ */
697
+ department?: Array<string>,
698
+ /**
699
+ * Filter by degree
700
+ */
701
+ educationDegree?: string,
702
+ /**
703
+ * Filter by field of study
704
+ */
705
+ educationFieldOfStudy?: string,
706
+ /**
707
+ * Filter by institution
708
+ */
709
+ educationInstitution?: string,
710
+ /**
711
+ * Include user group membership data in results
712
+ */
713
+ includeMembershipData?: boolean,
714
+ /**
715
+ * Number of results per page
716
+ */
717
+ limit?: number,
718
+ /**
719
+ * Starting position for pagination
720
+ */
721
+ offset?: number,
722
+ /**
723
+ * Search term to filter users by name, email, or other attributes
724
+ */
725
+ q?: string,
726
+ /**
727
+ * Filter by company
728
+ */
729
+ userResumeCompany?: string,
730
+ /**
731
+ * Filter by industry
732
+ */
733
+ userResumeIndustry?: string,
734
+ /**
735
+ * Filter by job title
736
+ */
737
+ userResumeJobTitle?: string,
738
+ /**
739
+ * Filter by location
740
+ */
741
+ userResumeLocation?: string,
742
+ /**
743
+ * Filter by skills
744
+ */
745
+ userResumeSkills?: string,
746
+ }): CancelablePromise<UserSearchResponse> {
747
+ return __request(OpenAPI, {
748
+ method: 'GET',
749
+ url: '/api/search/users/orgs/{org}/users/{username}/',
750
+ path: {
751
+ 'org': org,
752
+ 'username': username,
753
+ },
754
+ query: {
755
+ 'department': department,
756
+ 'education__degree': educationDegree,
757
+ 'education__field_of_study': educationFieldOfStudy,
758
+ 'education__institution': educationInstitution,
759
+ 'include_membership_data': includeMembershipData,
760
+ 'limit': limit,
761
+ 'offset': offset,
762
+ 'q': q,
763
+ 'user_resume__company': userResumeCompany,
764
+ 'user_resume__industry': userResumeIndustry,
765
+ 'user_resume__job_title': userResumeJobTitle,
766
+ 'user_resume__location': userResumeLocation,
767
+ 'user_resume__skills': userResumeSkills,
768
+ },
769
+ errors: {
770
+ 400: `Bad request`,
771
+ 403: `Forbidden`,
772
+ 404: `Not found`,
773
+ 500: `Server error`,
774
+ },
775
+ });
776
+ }
777
+ }