@iblai/iblai-api 4.149.1-test-ai → 4.151.0-test-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 (933) hide show
  1. package/dist/index.cjs.js +3548 -26849
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +3549 -26840
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.umd.js +3548 -26849
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/types/index.d.ts +1 -456
  8. package/dist/types/models/{StripeCheckoutSessionRequestModeEnum.d.ts → ModeEnum.d.ts} +1 -1
  9. package/dist/types/models/Pagination.d.ts +11 -16
  10. package/dist/types/models/StripeCheckoutSessionRequest.d.ts +2 -2
  11. package/dist/types/services/AiAnalyticsService.d.ts +6 -4849
  12. package/dist/types/services/AnalyticsService.d.ts +4 -853
  13. package/dist/types/services/SearchService.d.ts +0 -738
  14. package/package.json +1 -1
  15. package/sdk_schema.yml +24592 -75554
  16. package/src/core/OpenAPI.ts +1 -1
  17. package/src/index.ts +1 -456
  18. package/src/models/{StripeCheckoutSessionRequestModeEnum.ts → ModeEnum.ts} +1 -1
  19. package/src/models/Pagination.ts +11 -16
  20. package/src/models/StripeCheckoutSessionRequest.ts +2 -2
  21. package/src/services/AiAnalyticsService.ts +5286 -13151
  22. package/src/services/AnalyticsService.ts +189 -1416
  23. package/src/services/SearchService.ts +398 -1459
  24. package/dist/types/models/AIGeneratedImage.d.ts +0 -13
  25. package/dist/types/models/AIUserProfileMemoryRelation.d.ts +0 -4
  26. package/dist/types/models/AIUserProfileRequest.d.ts +0 -4
  27. package/dist/types/models/AccessCheckResponse.d.ts +0 -10
  28. package/dist/types/models/AccessEnum.d.ts +0 -8
  29. package/dist/types/models/AccessTimesHeatmap.d.ts +0 -5
  30. package/dist/types/models/AccessibleMentorsByEmailRequest.d.ts +0 -13
  31. package/dist/types/models/AccessibleMentorsByEmailResponse.d.ts +0 -13
  32. package/dist/types/models/ActionBreakdown.d.ts +0 -10
  33. package/dist/types/models/AddMentorToDisclaimer.d.ts +0 -12
  34. package/dist/types/models/AlignMentorBubbleEnum.d.ts +0 -8
  35. package/dist/types/models/AnalyticsOverview.d.ts +0 -7
  36. package/dist/types/models/Answer.d.ts +0 -11
  37. package/dist/types/models/Artifact.d.ts +0 -60
  38. package/dist/types/models/ArtifactList.d.ts +0 -42
  39. package/dist/types/models/ArtifactVersion.d.ts +0 -55
  40. package/dist/types/models/AssumedKnowledge.d.ts +0 -4
  41. package/dist/types/models/AssumedKnowledgeLevel.d.ts +0 -4
  42. package/dist/types/models/AudioToTextRequest.d.ts +0 -3
  43. package/dist/types/models/AudioToTextResponse.d.ts +0 -3
  44. package/dist/types/models/AuthTypeEnum.d.ts +0 -10
  45. package/dist/types/models/AutoMemoryPrompt.d.ts +0 -4
  46. package/dist/types/models/BaseFinanceResponse.d.ts +0 -37
  47. package/dist/types/models/BillingPeriod.d.ts +0 -8
  48. package/dist/types/models/Bot.d.ts +0 -15
  49. package/dist/types/models/BotCommand.d.ts +0 -6
  50. package/dist/types/models/BotCreate.d.ts +0 -12
  51. package/dist/types/models/Breakdown.d.ts +0 -11
  52. package/dist/types/models/CallAuthenticationRequest.d.ts +0 -17
  53. package/dist/types/models/CallAuthenticationResponse.d.ts +0 -21
  54. package/dist/types/models/CallConfiguration.d.ts +0 -34
  55. package/dist/types/models/CallConfigurationModeEnum.d.ts +0 -8
  56. package/dist/types/models/CancelSubscription.d.ts +0 -9
  57. package/dist/types/models/ChatHistory.d.ts +0 -11
  58. package/dist/types/models/ChatHistoryFilterData.d.ts +0 -9
  59. package/dist/types/models/ChatHistoryFilterUser.d.ts +0 -5
  60. package/dist/types/models/ChatHistoryItem.d.ts +0 -5
  61. package/dist/types/models/ChatHistorySessionId.d.ts +0 -3
  62. package/dist/types/models/ChatSessionRequest.d.ts +0 -15
  63. package/dist/types/models/ChatSessionResponse.d.ts +0 -8
  64. package/dist/types/models/CheckDocumentTrainingStatus.d.ts +0 -10
  65. package/dist/types/models/CheckoutSessionCreate.d.ts +0 -21
  66. package/dist/types/models/CheckoutSessionResponse.d.ts +0 -7
  67. package/dist/types/models/ComparisonInfo.d.ts +0 -29
  68. package/dist/types/models/ComponentBlock.d.ts +0 -9
  69. package/dist/types/models/ComponentBlockTypeEnum.d.ts +0 -8
  70. package/dist/types/models/ConnectedService.d.ts +0 -24
  71. package/dist/types/models/ConversationChartPoint.d.ts +0 -4
  72. package/dist/types/models/ConversationDetailResponse.d.ts +0 -4
  73. package/dist/types/models/ConversationListItem.d.ts +0 -24
  74. package/dist/types/models/ConversationListResponse.d.ts +0 -6
  75. package/dist/types/models/ConversationMessage.d.ts +0 -11
  76. package/dist/types/models/ConversationRating.d.ts +0 -6
  77. package/dist/types/models/ConversationSummary.d.ts +0 -5
  78. package/dist/types/models/ConversationVolume.d.ts +0 -4
  79. package/dist/types/models/Conversations.d.ts +0 -42
  80. package/dist/types/models/ConversationsChart.d.ts +0 -5
  81. package/dist/types/models/Cost.d.ts +0 -3
  82. package/dist/types/models/CostPerTenant.d.ts +0 -6
  83. package/dist/types/models/CourseCreationTask.d.ts +0 -31
  84. package/dist/types/models/CourseCreationTaskFile.d.ts +0 -7
  85. package/dist/types/models/CourseCreationTaskStatusEnum.d.ts +0 -16
  86. package/dist/types/models/CourseRecommendation.d.ts +0 -49
  87. package/dist/types/models/CrawlerPatternTypeEnum.d.ts +0 -8
  88. package/dist/types/models/CredentialRequest.d.ts +0 -14
  89. package/dist/types/models/CrontabSchedule.d.ts +0 -22
  90. package/dist/types/models/CurrentUsersResponse.d.ts +0 -8
  91. package/dist/types/models/CustomInstructionResponse.d.ts +0 -13
  92. package/dist/types/models/DataSet.d.ts +0 -21
  93. package/dist/types/models/DataSetCreate.d.ts +0 -12
  94. package/dist/types/models/DataSetStatusEnum.d.ts +0 -12
  95. package/dist/types/models/DateRange.d.ts +0 -4
  96. package/dist/types/models/Disclaimer.d.ts +0 -17
  97. package/dist/types/models/DisclaimerAgreement.d.ts +0 -11
  98. package/dist/types/models/DisclaimerScopeEnum.d.ts +0 -8
  99. package/dist/types/models/DiscordConfig.d.ts +0 -7
  100. package/dist/types/models/DiscordUserConfig.d.ts +0 -10
  101. package/dist/types/models/DiscordWebhook.d.ts +0 -6
  102. package/dist/types/models/Document.d.ts +0 -41
  103. package/dist/types/models/DocumentFacet.d.ts +0 -17
  104. package/dist/types/models/DocumentFromPoolRequest.d.ts +0 -10
  105. package/dist/types/models/DocumentSearchResponse.d.ts +0 -35
  106. package/dist/types/models/DocumentSettingsResponse.d.ts +0 -3
  107. package/dist/types/models/EdxCourse.d.ts +0 -11
  108. package/dist/types/models/ElevenlabsCustomVoice.d.ts +0 -4
  109. package/dist/types/models/ElevenlabsCustomVoiceResponse.d.ts +0 -8
  110. package/dist/types/models/EmailPromptDetail.d.ts +0 -13
  111. package/dist/types/models/EmailPromptList.d.ts +0 -11
  112. package/dist/types/models/EmailPromptSummary.d.ts +0 -5
  113. package/dist/types/models/Entity.d.ts +0 -11
  114. package/dist/types/models/EntityTypeEnum.d.ts +0 -10
  115. package/dist/types/models/Error.d.ts +0 -3
  116. package/dist/types/models/ExternalServiceInfo.d.ts +0 -6
  117. package/dist/types/models/FallbackLLM.d.ts +0 -47
  118. package/dist/types/models/FallbackLLMCreate.d.ts +0 -38
  119. package/dist/types/models/FallbackLLMUpdate.d.ts +0 -33
  120. package/dist/types/models/FileUploadURLRequest.d.ts +0 -21
  121. package/dist/types/models/FileUploadURLResponse.d.ts +0 -25
  122. package/dist/types/models/FinanceDetailsResponse.d.ts +0 -13
  123. package/dist/types/models/FinanceFilters.d.ts +0 -15
  124. package/dist/types/models/FreeUsageCount.d.ts +0 -3
  125. package/dist/types/models/FullCourse.d.ts +0 -13
  126. package/dist/types/models/GoogleAgentDetail.d.ts +0 -17
  127. package/dist/types/models/GrandfatheringStrategyEnum.d.ts +0 -8
  128. package/dist/types/models/GrantMentorAccessRequest.d.ts +0 -9
  129. package/dist/types/models/GreetingMethodEnum.d.ts +0 -8
  130. package/dist/types/models/GuidedPrompt.d.ts +0 -4
  131. package/dist/types/models/GuidedPromptsResponse.d.ts +0 -5
  132. package/dist/types/models/HeygenMarketingVideoDetail.d.ts +0 -8
  133. package/dist/types/models/HeygenMarketingVideoList.d.ts +0 -6
  134. package/dist/types/models/HeygenTemplateRequest.d.ts +0 -5
  135. package/dist/types/models/HeygenTemplateResponseSingle.d.ts +0 -6
  136. package/dist/types/models/HeygenVideoDetail.d.ts +0 -8
  137. package/dist/types/models/HeygenVideoRequest.d.ts +0 -5
  138. package/dist/types/models/HumanSupportTicket.d.ts +0 -23
  139. package/dist/types/models/HumanSupportTicketStatusEnum.d.ts +0 -10
  140. package/dist/types/models/InputQuestion.d.ts +0 -6
  141. package/dist/types/models/IntegrationCredential.d.ts +0 -10
  142. package/dist/types/models/IntegrationCredentialSchema.d.ts +0 -6
  143. package/dist/types/models/InterfaceEnum.d.ts +0 -8
  144. package/dist/types/models/IntervalEnum.d.ts +0 -10
  145. package/dist/types/models/IntialQuestionAnswer.d.ts +0 -3
  146. package/dist/types/models/InvoiceReportResponse.d.ts +0 -13
  147. package/dist/types/models/JobRun.d.ts +0 -11
  148. package/dist/types/models/KindEnum.d.ts +0 -10
  149. package/dist/types/models/LLMCredentialRequest.d.ts +0 -14
  150. package/dist/types/models/LLMCredentialResponse.d.ts +0 -10
  151. package/dist/types/models/LLMCredentialSchema.d.ts +0 -6
  152. package/dist/types/models/LLMModelForTenant.d.ts +0 -6
  153. package/dist/types/models/LLMModelRegistryMinimal.d.ts +0 -15
  154. package/dist/types/models/LLMProviderMinimal.d.ts +0 -28
  155. package/dist/types/models/LLMQuestion.d.ts +0 -15
  156. package/dist/types/models/LLMResponse.d.ts +0 -18
  157. package/dist/types/models/LLMTracesListResponse.d.ts +0 -5
  158. package/dist/types/models/LanguagesView.d.ts +0 -5
  159. package/dist/types/models/LinkCourseRequest.d.ts +0 -3
  160. package/dist/types/models/LinkCourseResponse.d.ts +0 -5
  161. package/dist/types/models/LlmProviderEnum.d.ts +0 -10
  162. package/dist/types/models/MCPServer.d.ts +0 -50
  163. package/dist/types/models/MCPServerConnection.d.ts +0 -47
  164. package/dist/types/models/MCPServerConnectionScopeEnum.d.ts +0 -10
  165. package/dist/types/models/MCPServerOauthFind.d.ts +0 -5
  166. package/dist/types/models/MaskedIntegrationCredential.d.ts +0 -10
  167. package/dist/types/models/MaskedLLMCredential.d.ts +0 -10
  168. package/dist/types/models/MemoryComponentData.d.ts +0 -5
  169. package/dist/types/models/MemoryComponentMemory.d.ts +0 -4
  170. package/dist/types/models/MemoryComponentMemoryDetail.d.ts +0 -8
  171. package/dist/types/models/MemoryComponentResponse.d.ts +0 -5
  172. package/dist/types/models/MemoryProgress.d.ts +0 -8
  173. package/dist/types/models/MemoryStatusRequestView.d.ts +0 -6
  174. package/dist/types/models/MemoryStatusView.d.ts +0 -6
  175. package/dist/types/models/Mentor.d.ts +0 -155
  176. package/dist/types/models/MentorAudience.d.ts +0 -5
  177. package/dist/types/models/MentorBreakdown.d.ts +0 -9
  178. package/dist/types/models/MentorCategory.d.ts +0 -9
  179. package/dist/types/models/MentorCategoryCreate.d.ts +0 -11
  180. package/dist/types/models/MentorCategoryGroup.d.ts +0 -11
  181. package/dist/types/models/MentorCategoryGroupCreate.d.ts +0 -11
  182. package/dist/types/models/MentorCreate.d.ts +0 -145
  183. package/dist/types/models/MentorCustomVoice.d.ts +0 -4
  184. package/dist/types/models/MentorCustomVoiceResponse.d.ts +0 -4
  185. package/dist/types/models/MentorData.d.ts +0 -7
  186. package/dist/types/models/MentorDetailAnalytics.d.ts +0 -6
  187. package/dist/types/models/MentorEval.d.ts +0 -11
  188. package/dist/types/models/MentorEvalQuestion.d.ts +0 -5
  189. package/dist/types/models/MentorEvalQuestionRequest.d.ts +0 -4
  190. package/dist/types/models/MentorEvalReport.d.ts +0 -10
  191. package/dist/types/models/MentorEvalRequest.d.ts +0 -8
  192. package/dist/types/models/MentorFacet.d.ts +0 -17
  193. package/dist/types/models/MentorFork.d.ts +0 -5
  194. package/dist/types/models/MentorFromTemplateWithSettingRequest.d.ts +0 -69
  195. package/dist/types/models/MentorMemorySettingsRequest.d.ts +0 -6
  196. package/dist/types/models/MentorMemorySettingsResponse.d.ts +0 -6
  197. package/dist/types/models/MentorMetadata.d.ts +0 -5
  198. package/dist/types/models/MentorPaywallConfig.d.ts +0 -40
  199. package/dist/types/models/MentorPaywallConfigCreate.d.ts +0 -16
  200. package/dist/types/models/MentorPrice.d.ts +0 -41
  201. package/dist/types/models/MentorPriceCreate.d.ts +0 -34
  202. package/dist/types/models/MentorScenario.d.ts +0 -6
  203. package/dist/types/models/MentorScenarioPrompt.d.ts +0 -5
  204. package/dist/types/models/MentorSearchResponse.d.ts +0 -35
  205. package/dist/types/models/MentorSession.d.ts +0 -4
  206. package/dist/types/models/MentorSettings.d.ts +0 -108
  207. package/dist/types/models/MentorSettingsPublic.d.ts +0 -81
  208. package/dist/types/models/MentorSettingsRequest.d.ts +0 -83
  209. package/dist/types/models/MentorSummary.d.ts +0 -5
  210. package/dist/types/models/MentorType.d.ts +0 -5
  211. package/dist/types/models/MentorUserSetting.d.ts +0 -4
  212. package/dist/types/models/MentorVisibilityEnum.d.ts +0 -10
  213. package/dist/types/models/MentorWizard.d.ts +0 -4
  214. package/dist/types/models/MessageStatistics.d.ts +0 -5
  215. package/dist/types/models/MessageView.d.ts +0 -11
  216. package/dist/types/models/MessageViewRequest.d.ts +0 -9
  217. package/dist/types/models/MessageViewUpdatResponse.d.ts +0 -3
  218. package/dist/types/models/Metadata.d.ts +0 -5
  219. package/dist/types/models/MetricChange.d.ts +0 -4
  220. package/dist/types/models/MetricInfo.d.ts +0 -5
  221. package/dist/types/models/ModelCost.d.ts +0 -4
  222. package/dist/types/models/ModerationLog.d.ts +0 -12
  223. package/dist/types/models/NameEnum.d.ts +0 -14
  224. package/dist/types/models/NoChatMessagesFound.d.ts +0 -3
  225. package/dist/types/models/OAuthProvider.d.ts +0 -24
  226. package/dist/types/models/OAuthService.d.ts +0 -18
  227. package/dist/types/models/OAuthStartResponse.d.ts +0 -3
  228. package/dist/types/models/OauthCredentialsMasked.d.ts +0 -10
  229. package/dist/types/models/Observation.d.ts +0 -31
  230. package/dist/types/models/OvertimeData.d.ts +0 -13
  231. package/dist/types/models/PageContent.d.ts +0 -6
  232. package/dist/types/models/PaginatedAIGeneratedImageList.d.ts +0 -7
  233. package/dist/types/models/PaginatedArtifactListList.d.ts +0 -7
  234. package/dist/types/models/PaginatedArtifactVersionList.d.ts +0 -7
  235. package/dist/types/models/PaginatedConversationsList.d.ts +0 -7
  236. package/dist/types/models/PaginatedCourseCreationTaskFileList.d.ts +0 -7
  237. package/dist/types/models/PaginatedCourseCreationTaskList.d.ts +0 -7
  238. package/dist/types/models/PaginatedDataSetList.d.ts +0 -7
  239. package/dist/types/models/PaginatedDisclaimerAgreementList.d.ts +0 -7
  240. package/dist/types/models/PaginatedDisclaimerList.d.ts +0 -7
  241. package/dist/types/models/PaginatedEdxCourseList.d.ts +0 -7
  242. package/dist/types/models/PaginatedEmailPromptListList.d.ts +0 -7
  243. package/dist/types/models/PaginatedGoogleAgentDetailList.d.ts +0 -7
  244. package/dist/types/models/PaginatedHeygenMarketingVideoListList.d.ts +0 -7
  245. package/dist/types/models/PaginatedHeygenTemplateResponseSingleList.d.ts +0 -7
  246. package/dist/types/models/PaginatedHumanSupportTicketList.d.ts +0 -7
  247. package/dist/types/models/PaginatedJobRunList.d.ts +0 -7
  248. package/dist/types/models/PaginatedMCPServerConnectionList.d.ts +0 -7
  249. package/dist/types/models/PaginatedMCPServerList.d.ts +0 -7
  250. package/dist/types/models/PaginatedMentorList.d.ts +0 -7
  251. package/dist/types/models/PaginatedModerationLogList.d.ts +0 -7
  252. package/dist/types/models/PaginatedObservationList.d.ts +0 -7
  253. package/dist/types/models/PaginatedPeriodicAgentList.d.ts +0 -7
  254. package/dist/types/models/PaginatedPeriodicAgentLogList.d.ts +0 -7
  255. package/dist/types/models/PaginatedPlayWrightScriptList.d.ts +0 -7
  256. package/dist/types/models/PaginatedProjectList.d.ts +0 -7
  257. package/dist/types/models/PaginatedRetrieverDocumentEmbeddingList.d.ts +0 -7
  258. package/dist/types/models/PaginatedSectionList.d.ts +0 -7
  259. package/dist/types/models/PaginatedSubSectionList.d.ts +0 -7
  260. package/dist/types/models/PaginatedTicketMessageList.d.ts +0 -7
  261. package/dist/types/models/PaginatedTopicStatisticsResponse.d.ts +0 -7
  262. package/dist/types/models/PaginatedTraceList.d.ts +0 -7
  263. package/dist/types/models/PaginatedTrainingList.d.ts +0 -7
  264. package/dist/types/models/PaginatedUnitList.d.ts +0 -7
  265. package/dist/types/models/PaginatedUserEdxMemoryList.d.ts +0 -7
  266. package/dist/types/models/PaginatedUserMemoryList.d.ts +0 -7
  267. package/dist/types/models/PaginatedVeoVideoListList.d.ts +0 -7
  268. package/dist/types/models/PaginatedVoiceList.d.ts +0 -7
  269. package/dist/types/models/PatchedArtifact.d.ts +0 -60
  270. package/dist/types/models/PatchedBotCommand.d.ts +0 -6
  271. package/dist/types/models/PatchedBotCreate.d.ts +0 -12
  272. package/dist/types/models/PatchedCallConfiguration.d.ts +0 -34
  273. package/dist/types/models/PatchedConversations.d.ts +0 -42
  274. package/dist/types/models/PatchedCourseCreationTaskFile.d.ts +0 -7
  275. package/dist/types/models/PatchedCredentialRequest.d.ts +0 -14
  276. package/dist/types/models/PatchedDataSet.d.ts +0 -21
  277. package/dist/types/models/PatchedDisclaimer.d.ts +0 -17
  278. package/dist/types/models/PatchedDiscordConfig.d.ts +0 -7
  279. package/dist/types/models/PatchedDiscordUserConfig.d.ts +0 -10
  280. package/dist/types/models/PatchedFallbackLLMUpdate.d.ts +0 -33
  281. package/dist/types/models/PatchedGoogleAgentDetail.d.ts +0 -17
  282. package/dist/types/models/PatchedHumanSupportTicket.d.ts +0 -23
  283. package/dist/types/models/PatchedLLMCredentialRequest.d.ts +0 -14
  284. package/dist/types/models/PatchedMCPServer.d.ts +0 -50
  285. package/dist/types/models/PatchedMCPServerConnection.d.ts +0 -47
  286. package/dist/types/models/PatchedMentorCategoryGroupCreate.d.ts +0 -11
  287. package/dist/types/models/PatchedMentorCreate.d.ts +0 -145
  288. package/dist/types/models/PatchedPeriodicAgentCreate.d.ts +0 -41
  289. package/dist/types/models/PatchedPlayWrightScript.d.ts +0 -12
  290. package/dist/types/models/PatchedProject.d.ts +0 -51
  291. package/dist/types/models/PatchedPrompt.d.ts +0 -22
  292. package/dist/types/models/PatchedSection.d.ts +0 -9
  293. package/dist/types/models/PatchedSlackConfig.d.ts +0 -8
  294. package/dist/types/models/PatchedSlackUserConfig.d.ts +0 -17
  295. package/dist/types/models/PatchedSubSection.d.ts +0 -9
  296. package/dist/types/models/PatchedTeamsConfig.d.ts +0 -7
  297. package/dist/types/models/PatchedTicketMessage.d.ts +0 -10
  298. package/dist/types/models/PatchedTrainingCreate.d.ts +0 -31
  299. package/dist/types/models/PatchedUnit.d.ts +0 -11
  300. package/dist/types/models/PatchedWebexConfig.d.ts +0 -10
  301. package/dist/types/models/PatchedWhatsappConfig.d.ts +0 -11
  302. package/dist/types/models/PatchedWhatsappUserConfig.d.ts +0 -10
  303. package/dist/types/models/PeriodInfo.d.ts +0 -21
  304. package/dist/types/models/PeriodicAgent.d.ts +0 -42
  305. package/dist/types/models/PeriodicAgentCreate.d.ts +0 -41
  306. package/dist/types/models/PeriodicAgentLog.d.ts +0 -11
  307. package/dist/types/models/PeriodicAgentLogStatusEnum.d.ts +0 -10
  308. package/dist/types/models/PeriodicAgentStatistics.d.ts +0 -7
  309. package/dist/types/models/PeriodicTask.d.ts +0 -21
  310. package/dist/types/models/PieChartData.d.ts +0 -5
  311. package/dist/types/models/PieChartSegment.d.ts +0 -4
  312. package/dist/types/models/PinnedMessageCreate.d.ts +0 -9
  313. package/dist/types/models/PinnedMessageGet.d.ts +0 -7
  314. package/dist/types/models/PinnedMessageRequest.d.ts +0 -6
  315. package/dist/types/models/PlatformPrompt.d.ts +0 -34
  316. package/dist/types/models/PlatformPromptResponse.d.ts +0 -16
  317. package/dist/types/models/PlayWrightScript.d.ts +0 -12
  318. package/dist/types/models/PredictiveAnalyticsRequest.d.ts +0 -4
  319. package/dist/types/models/PredictiveAnalyticsResponse.d.ts +0 -4
  320. package/dist/types/models/PreviousAgentStatusEnum.d.ts +0 -12
  321. package/dist/types/models/Project.d.ts +0 -51
  322. package/dist/types/models/ProjectMentor.d.ts +0 -11
  323. package/dist/types/models/Prompt.d.ts +0 -22
  324. package/dist/types/models/PromptCategory.d.ts +0 -7
  325. package/dist/types/models/PromptFacet.d.ts +0 -17
  326. package/dist/types/models/PromptSearchResponse.d.ts +0 -35
  327. package/dist/types/models/PromptVisibilityEnum.d.ts +0 -10
  328. package/dist/types/models/Provider05cEnum.d.ts +0 -14
  329. package/dist/types/models/Provider63aEnum.d.ts +0 -6
  330. package/dist/types/models/ProviderBreakdown.d.ts +0 -8
  331. package/dist/types/models/PublicMentorPricing.d.ts +0 -12
  332. package/dist/types/models/QuestionCardTag.d.ts +0 -8
  333. package/dist/types/models/QuestionRequest.d.ts +0 -15
  334. package/dist/types/models/QuestionResponse.d.ts +0 -10
  335. package/dist/types/models/RatingAverageRecord.d.ts +0 -10
  336. package/dist/types/models/RatingEnum.d.ts +0 -8
  337. package/dist/types/models/RatingRecord.d.ts +0 -4
  338. package/dist/types/models/RatingsOvertime.d.ts +0 -5
  339. package/dist/types/models/RecentlyAccessedMentor.d.ts +0 -11
  340. package/dist/types/models/RecommendationTypeEnum.d.ts +0 -8
  341. package/dist/types/models/RecommendedCoursesResponse.d.ts +0 -33
  342. package/dist/types/models/RelatedText.d.ts +0 -3
  343. package/dist/types/models/RemoveMentorFromDisclaimer.d.ts +0 -12
  344. package/dist/types/models/RequestDataVariable.d.ts +0 -14
  345. package/dist/types/models/ResourceScrappedData.d.ts +0 -13
  346. package/dist/types/models/ResourceScrappedDataStatusEnum.d.ts +0 -12
  347. package/dist/types/models/ResponseDataVariable.d.ts +0 -14
  348. package/dist/types/models/RetreiverTrainViewRequest.d.ts +0 -10
  349. package/dist/types/models/RetreiverTrainViewResponse.d.ts +0 -6
  350. package/dist/types/models/RetrieveTask.d.ts +0 -3
  351. package/dist/types/models/RetrieverDocumentEmbedding.d.ts +0 -30
  352. package/dist/types/models/RetrieverDocumentEmbeddingRequest.d.ts +0 -66
  353. package/dist/types/models/RetrieverRequestSearch.d.ts +0 -10
  354. package/dist/types/models/RetrieverRequestSearchDocument.d.ts +0 -10
  355. package/dist/types/models/RetrieverResponseSearch.d.ts +0 -7
  356. package/dist/types/models/ReuestDataVariableList.d.ts +0 -4
  357. package/dist/types/models/RunMentorEval.d.ts +0 -3
  358. package/dist/types/models/ScanWebhookRequest.d.ts +0 -6
  359. package/dist/types/models/ScanWebhookResponse.d.ts +0 -3
  360. package/dist/types/models/ScopeC1dEnum.d.ts +0 -8
  361. package/dist/types/models/Section.d.ts +0 -9
  362. package/dist/types/models/SectionWithChildren.d.ts +0 -11
  363. package/dist/types/models/SeedMentorsView.d.ts +0 -3
  364. package/dist/types/models/SentimentSummary.d.ts +0 -4
  365. package/dist/types/models/SessionBrowserScreenshot.d.ts +0 -8
  366. package/dist/types/models/SessionChartPoint.d.ts +0 -4
  367. package/dist/types/models/SessionDetail.d.ts +0 -6
  368. package/dist/types/models/SessionMemoryAttachment.d.ts +0 -3
  369. package/dist/types/models/SessionMemoryStorage.d.ts +0 -6
  370. package/dist/types/models/SessionsChart.d.ts +0 -5
  371. package/dist/types/models/SetCurrentVersionRequest.d.ts +0 -3
  372. package/dist/types/models/ShareableMentorLink.d.ts +0 -8
  373. package/dist/types/models/ShellLogs.d.ts +0 -3
  374. package/dist/types/models/SlackConfig.d.ts +0 -8
  375. package/dist/types/models/SlackUserConfig.d.ts +0 -17
  376. package/dist/types/models/SlackWebhook.d.ts +0 -6
  377. package/dist/types/models/SpacedRepetitionLearningPath.d.ts +0 -3
  378. package/dist/types/models/SpacedRepetitionQuestionStats.d.ts +0 -5
  379. package/dist/types/models/StarMentor.d.ts +0 -7
  380. package/dist/types/models/Status6eeEnum.d.ts +0 -12
  381. package/dist/types/models/Step.d.ts +0 -9
  382. package/dist/types/models/StepStatusEnum.d.ts +0 -10
  383. package/dist/types/models/StopGenerationRequest.d.ts +0 -9
  384. package/dist/types/models/SttProviderEnum.d.ts +0 -14
  385. package/dist/types/models/StudentChatMessage.d.ts +0 -4
  386. package/dist/types/models/StylesView.d.ts +0 -4
  387. package/dist/types/models/SubSection.d.ts +0 -9
  388. package/dist/types/models/SubSectionWithChildren.d.ts +0 -11
  389. package/dist/types/models/Subject.d.ts +0 -5
  390. package/dist/types/models/Summary.d.ts +0 -9
  391. package/dist/types/models/TagsView.d.ts +0 -5
  392. package/dist/types/models/TargetSystemEnum.d.ts +0 -8
  393. package/dist/types/models/TaskView.d.ts +0 -3
  394. package/dist/types/models/TeamsConfig.d.ts +0 -7
  395. package/dist/types/models/TeamsWebhook.d.ts +0 -17
  396. package/dist/types/models/TemplateMentor.d.ts +0 -9
  397. package/dist/types/models/TenantMentorTraces.d.ts +0 -6
  398. package/dist/types/models/TenantSetting.d.ts +0 -5
  399. package/dist/types/models/ThemeEnum.d.ts +0 -8
  400. package/dist/types/models/TicketMessage.d.ts +0 -10
  401. package/dist/types/models/TonesView.d.ts +0 -4
  402. package/dist/types/models/ToolCategory.d.ts +0 -5
  403. package/dist/types/models/ToolResponse.d.ts +0 -16
  404. package/dist/types/models/TopicDetail.d.ts +0 -8
  405. package/dist/types/models/TopicDetails.d.ts +0 -5
  406. package/dist/types/models/TopicModel.d.ts +0 -3
  407. package/dist/types/models/TopicRecord.d.ts +0 -4
  408. package/dist/types/models/TopicStatistics.d.ts +0 -7
  409. package/dist/types/models/TopicStatisticsResponse.d.ts +0 -6
  410. package/dist/types/models/TopicSummaryView.d.ts +0 -4
  411. package/dist/types/models/TopicsOverview.d.ts +0 -22
  412. package/dist/types/models/TopicsOverviewMetric.d.ts +0 -21
  413. package/dist/types/models/Trace.d.ts +0 -17
  414. package/dist/types/models/TrainDocumentViewRequest.d.ts +0 -86
  415. package/dist/types/models/TrainDocumentViewResponse.d.ts +0 -15
  416. package/dist/types/models/Training.d.ts +0 -41
  417. package/dist/types/models/TrainingCreate.d.ts +0 -31
  418. package/dist/types/models/TrainingStatusEnum.d.ts +0 -12
  419. package/dist/types/models/TransportEnum.d.ts +0 -10
  420. package/dist/types/models/TrendEntry.d.ts +0 -4
  421. package/dist/types/models/TriggerRequest.d.ts +0 -5
  422. package/dist/types/models/TriggerResponse.d.ts +0 -6
  423. package/dist/types/models/TtsProviderEnum.d.ts +0 -12
  424. package/dist/types/models/TypeC42Enum.d.ts +0 -8
  425. package/dist/types/models/Unit.d.ts +0 -11
  426. package/dist/types/models/UnitWithChildren.d.ts +0 -13
  427. package/dist/types/models/UseMainCreds.d.ts +0 -3
  428. package/dist/types/models/UserAllChatMemoryView.d.ts +0 -7
  429. package/dist/types/models/UserCatalogItemMemoryView.d.ts +0 -14
  430. package/dist/types/models/UserChatByPeriod.d.ts +0 -4
  431. package/dist/types/models/UserChatFeedback.d.ts +0 -15
  432. package/dist/types/models/UserChatFeedbackCount.d.ts +0 -4
  433. package/dist/types/models/UserChatMemoryStatusRequestView.d.ts +0 -6
  434. package/dist/types/models/UserChatMemoryStatusView.d.ts +0 -6
  435. package/dist/types/models/UserChatMemoryUpdateView.d.ts +0 -10
  436. package/dist/types/models/UserCountRecord.d.ts +0 -4
  437. package/dist/types/models/UserDetail.d.ts +0 -7
  438. package/dist/types/models/UserEdxMemory.d.ts +0 -15
  439. package/dist/types/models/UserMemory.d.ts +0 -19
  440. package/dist/types/models/UserMemoryContextRequest.d.ts +0 -13
  441. package/dist/types/models/UserMemoryContextResponse.d.ts +0 -12
  442. package/dist/types/models/UserMemoryEntry.d.ts +0 -9
  443. package/dist/types/models/UserMemoryEntryRequest.d.ts +0 -5
  444. package/dist/types/models/UserMemoryRequest.d.ts +0 -12
  445. package/dist/types/models/UserMentorSubscription.d.ts +0 -54
  446. package/dist/types/models/UserMentorSubscriptionStatusEnum.d.ts +0 -18
  447. package/dist/types/models/UserMetric.d.ts +0 -4
  448. package/dist/types/models/UserMetricsResponse.d.ts +0 -7
  449. package/dist/types/models/UserSentimentCountView.d.ts +0 -4
  450. package/dist/types/models/UserTrendByPeriod.d.ts +0 -5
  451. package/dist/types/models/V2GlobalMentorSearchResponse.d.ts +0 -29
  452. package/dist/types/models/V2PersonalizedMentorsResponse.d.ts +0 -29
  453. package/dist/types/models/V2RecommendationResponse.d.ts +0 -65
  454. package/dist/types/models/VectorResult.d.ts +0 -10
  455. package/dist/types/models/VeoVideoDetail.d.ts +0 -10
  456. package/dist/types/models/VeoVideoList.d.ts +0 -6
  457. package/dist/types/models/VeoVideoRequest.d.ts +0 -5
  458. package/dist/types/models/VideoCaption.d.ts +0 -3
  459. package/dist/types/models/Voice.d.ts +0 -9
  460. package/dist/types/models/VoiceProviderEnum.d.ts +0 -10
  461. package/dist/types/models/WebResource.d.ts +0 -9
  462. package/dist/types/models/WebResourceCard.d.ts +0 -7
  463. package/dist/types/models/WebResourcesQuery.d.ts +0 -3
  464. package/dist/types/models/WebexConfig.d.ts +0 -10
  465. package/dist/types/models/WebexWebhook.d.ts +0 -4
  466. package/dist/types/models/WhatAppWebHook.d.ts +0 -3
  467. package/dist/types/models/WhatsappConfig.d.ts +0 -11
  468. package/dist/types/models/WhatsappUserConfig.d.ts +0 -10
  469. package/dist/types/services/AiAccountService.d.ts +0 -571
  470. package/dist/types/services/AiBotService.d.ts +0 -650
  471. package/dist/types/services/AiFinetuningService.d.ts +0 -232
  472. package/dist/types/services/AiIndexService.d.ts +0 -355
  473. package/dist/types/services/AiMarketingService.d.ts +0 -38
  474. package/dist/types/services/AiMediaService.d.ts +0 -247
  475. package/dist/types/services/AiMentorService.d.ts +0 -7106
  476. package/dist/types/services/AiPromptService.d.ts +0 -1035
  477. package/dist/types/services/AiSearchService.d.ts +0 -479
  478. package/dist/types/services/FallbackLlmService.d.ts +0 -86
  479. package/src/models/AIGeneratedImage.ts +0 -18
  480. package/src/models/AIUserProfileMemoryRelation.ts +0 -9
  481. package/src/models/AIUserProfileRequest.ts +0 -9
  482. package/src/models/AccessCheckResponse.ts +0 -15
  483. package/src/models/AccessEnum.ts +0 -12
  484. package/src/models/AccessTimesHeatmap.ts +0 -10
  485. package/src/models/AccessibleMentorsByEmailRequest.ts +0 -18
  486. package/src/models/AccessibleMentorsByEmailResponse.ts +0 -18
  487. package/src/models/ActionBreakdown.ts +0 -15
  488. package/src/models/AddMentorToDisclaimer.ts +0 -17
  489. package/src/models/AlignMentorBubbleEnum.ts +0 -12
  490. package/src/models/AnalyticsOverview.ts +0 -12
  491. package/src/models/Answer.ts +0 -16
  492. package/src/models/Artifact.ts +0 -65
  493. package/src/models/ArtifactList.ts +0 -47
  494. package/src/models/ArtifactVersion.ts +0 -60
  495. package/src/models/AssumedKnowledge.ts +0 -9
  496. package/src/models/AssumedKnowledgeLevel.ts +0 -9
  497. package/src/models/AudioToTextRequest.ts +0 -8
  498. package/src/models/AudioToTextResponse.ts +0 -8
  499. package/src/models/AuthTypeEnum.ts +0 -14
  500. package/src/models/AutoMemoryPrompt.ts +0 -9
  501. package/src/models/BaseFinanceResponse.ts +0 -42
  502. package/src/models/BillingPeriod.ts +0 -13
  503. package/src/models/Bot.ts +0 -20
  504. package/src/models/BotCommand.ts +0 -11
  505. package/src/models/BotCreate.ts +0 -17
  506. package/src/models/Breakdown.ts +0 -16
  507. package/src/models/CallAuthenticationRequest.ts +0 -22
  508. package/src/models/CallAuthenticationResponse.ts +0 -26
  509. package/src/models/CallConfiguration.ts +0 -39
  510. package/src/models/CallConfigurationModeEnum.ts +0 -12
  511. package/src/models/CancelSubscription.ts +0 -14
  512. package/src/models/ChatHistory.ts +0 -16
  513. package/src/models/ChatHistoryFilterData.ts +0 -14
  514. package/src/models/ChatHistoryFilterUser.ts +0 -10
  515. package/src/models/ChatHistoryItem.ts +0 -10
  516. package/src/models/ChatHistorySessionId.ts +0 -8
  517. package/src/models/ChatSessionRequest.ts +0 -20
  518. package/src/models/ChatSessionResponse.ts +0 -13
  519. package/src/models/CheckDocumentTrainingStatus.ts +0 -15
  520. package/src/models/CheckoutSessionCreate.ts +0 -26
  521. package/src/models/CheckoutSessionResponse.ts +0 -12
  522. package/src/models/ComparisonInfo.ts +0 -34
  523. package/src/models/ComponentBlock.ts +0 -14
  524. package/src/models/ComponentBlockTypeEnum.ts +0 -12
  525. package/src/models/ConnectedService.ts +0 -29
  526. package/src/models/ConversationChartPoint.ts +0 -9
  527. package/src/models/ConversationDetailResponse.ts +0 -9
  528. package/src/models/ConversationListItem.ts +0 -29
  529. package/src/models/ConversationListResponse.ts +0 -11
  530. package/src/models/ConversationMessage.ts +0 -16
  531. package/src/models/ConversationRating.ts +0 -11
  532. package/src/models/ConversationSummary.ts +0 -10
  533. package/src/models/ConversationVolume.ts +0 -9
  534. package/src/models/Conversations.ts +0 -47
  535. package/src/models/ConversationsChart.ts +0 -10
  536. package/src/models/Cost.ts +0 -8
  537. package/src/models/CostPerTenant.ts +0 -11
  538. package/src/models/CourseCreationTask.ts +0 -36
  539. package/src/models/CourseCreationTaskFile.ts +0 -12
  540. package/src/models/CourseCreationTaskStatusEnum.ts +0 -20
  541. package/src/models/CourseRecommendation.ts +0 -54
  542. package/src/models/CrawlerPatternTypeEnum.ts +0 -12
  543. package/src/models/CredentialRequest.ts +0 -19
  544. package/src/models/CrontabSchedule.ts +0 -27
  545. package/src/models/CurrentUsersResponse.ts +0 -13
  546. package/src/models/CustomInstructionResponse.ts +0 -18
  547. package/src/models/DataSet.ts +0 -26
  548. package/src/models/DataSetCreate.ts +0 -17
  549. package/src/models/DataSetStatusEnum.ts +0 -16
  550. package/src/models/DateRange.ts +0 -9
  551. package/src/models/Disclaimer.ts +0 -22
  552. package/src/models/DisclaimerAgreement.ts +0 -16
  553. package/src/models/DisclaimerScopeEnum.ts +0 -12
  554. package/src/models/DiscordConfig.ts +0 -12
  555. package/src/models/DiscordUserConfig.ts +0 -15
  556. package/src/models/DiscordWebhook.ts +0 -11
  557. package/src/models/Document.ts +0 -46
  558. package/src/models/DocumentFacet.ts +0 -22
  559. package/src/models/DocumentFromPoolRequest.ts +0 -15
  560. package/src/models/DocumentSearchResponse.ts +0 -40
  561. package/src/models/DocumentSettingsResponse.ts +0 -8
  562. package/src/models/EdxCourse.ts +0 -16
  563. package/src/models/ElevenlabsCustomVoice.ts +0 -9
  564. package/src/models/ElevenlabsCustomVoiceResponse.ts +0 -13
  565. package/src/models/EmailPromptDetail.ts +0 -18
  566. package/src/models/EmailPromptList.ts +0 -16
  567. package/src/models/EmailPromptSummary.ts +0 -10
  568. package/src/models/Entity.ts +0 -16
  569. package/src/models/EntityTypeEnum.ts +0 -14
  570. package/src/models/Error.ts +0 -8
  571. package/src/models/ExternalServiceInfo.ts +0 -11
  572. package/src/models/FallbackLLM.ts +0 -52
  573. package/src/models/FallbackLLMCreate.ts +0 -43
  574. package/src/models/FallbackLLMUpdate.ts +0 -38
  575. package/src/models/FileUploadURLRequest.ts +0 -26
  576. package/src/models/FileUploadURLResponse.ts +0 -30
  577. package/src/models/FinanceDetailsResponse.ts +0 -18
  578. package/src/models/FinanceFilters.ts +0 -20
  579. package/src/models/FreeUsageCount.ts +0 -8
  580. package/src/models/FullCourse.ts +0 -18
  581. package/src/models/GoogleAgentDetail.ts +0 -22
  582. package/src/models/GrandfatheringStrategyEnum.ts +0 -12
  583. package/src/models/GrantMentorAccessRequest.ts +0 -14
  584. package/src/models/GreetingMethodEnum.ts +0 -12
  585. package/src/models/GuidedPrompt.ts +0 -9
  586. package/src/models/GuidedPromptsResponse.ts +0 -10
  587. package/src/models/HeygenMarketingVideoDetail.ts +0 -13
  588. package/src/models/HeygenMarketingVideoList.ts +0 -11
  589. package/src/models/HeygenTemplateRequest.ts +0 -10
  590. package/src/models/HeygenTemplateResponseSingle.ts +0 -11
  591. package/src/models/HeygenVideoDetail.ts +0 -13
  592. package/src/models/HeygenVideoRequest.ts +0 -10
  593. package/src/models/HumanSupportTicket.ts +0 -28
  594. package/src/models/HumanSupportTicketStatusEnum.ts +0 -14
  595. package/src/models/InputQuestion.ts +0 -11
  596. package/src/models/IntegrationCredential.ts +0 -15
  597. package/src/models/IntegrationCredentialSchema.ts +0 -11
  598. package/src/models/InterfaceEnum.ts +0 -12
  599. package/src/models/IntervalEnum.ts +0 -14
  600. package/src/models/IntialQuestionAnswer.ts +0 -8
  601. package/src/models/InvoiceReportResponse.ts +0 -18
  602. package/src/models/JobRun.ts +0 -16
  603. package/src/models/KindEnum.ts +0 -14
  604. package/src/models/LLMCredentialRequest.ts +0 -19
  605. package/src/models/LLMCredentialResponse.ts +0 -15
  606. package/src/models/LLMCredentialSchema.ts +0 -11
  607. package/src/models/LLMModelForTenant.ts +0 -11
  608. package/src/models/LLMModelRegistryMinimal.ts +0 -20
  609. package/src/models/LLMProviderMinimal.ts +0 -33
  610. package/src/models/LLMQuestion.ts +0 -20
  611. package/src/models/LLMResponse.ts +0 -23
  612. package/src/models/LLMTracesListResponse.ts +0 -10
  613. package/src/models/LanguagesView.ts +0 -10
  614. package/src/models/LinkCourseRequest.ts +0 -8
  615. package/src/models/LinkCourseResponse.ts +0 -10
  616. package/src/models/LlmProviderEnum.ts +0 -14
  617. package/src/models/MCPServer.ts +0 -55
  618. package/src/models/MCPServerConnection.ts +0 -52
  619. package/src/models/MCPServerConnectionScopeEnum.ts +0 -14
  620. package/src/models/MCPServerOauthFind.ts +0 -10
  621. package/src/models/MaskedIntegrationCredential.ts +0 -15
  622. package/src/models/MaskedLLMCredential.ts +0 -15
  623. package/src/models/MemoryComponentData.ts +0 -10
  624. package/src/models/MemoryComponentMemory.ts +0 -9
  625. package/src/models/MemoryComponentMemoryDetail.ts +0 -13
  626. package/src/models/MemoryComponentResponse.ts +0 -10
  627. package/src/models/MemoryProgress.ts +0 -13
  628. package/src/models/MemoryStatusRequestView.ts +0 -11
  629. package/src/models/MemoryStatusView.ts +0 -11
  630. package/src/models/Mentor.ts +0 -160
  631. package/src/models/MentorAudience.ts +0 -10
  632. package/src/models/MentorBreakdown.ts +0 -14
  633. package/src/models/MentorCategory.ts +0 -14
  634. package/src/models/MentorCategoryCreate.ts +0 -16
  635. package/src/models/MentorCategoryGroup.ts +0 -16
  636. package/src/models/MentorCategoryGroupCreate.ts +0 -16
  637. package/src/models/MentorCreate.ts +0 -150
  638. package/src/models/MentorCustomVoice.ts +0 -9
  639. package/src/models/MentorCustomVoiceResponse.ts +0 -9
  640. package/src/models/MentorData.ts +0 -12
  641. package/src/models/MentorDetailAnalytics.ts +0 -11
  642. package/src/models/MentorEval.ts +0 -16
  643. package/src/models/MentorEvalQuestion.ts +0 -10
  644. package/src/models/MentorEvalQuestionRequest.ts +0 -9
  645. package/src/models/MentorEvalReport.ts +0 -15
  646. package/src/models/MentorEvalRequest.ts +0 -13
  647. package/src/models/MentorFacet.ts +0 -22
  648. package/src/models/MentorFork.ts +0 -10
  649. package/src/models/MentorFromTemplateWithSettingRequest.ts +0 -74
  650. package/src/models/MentorMemorySettingsRequest.ts +0 -11
  651. package/src/models/MentorMemorySettingsResponse.ts +0 -11
  652. package/src/models/MentorMetadata.ts +0 -10
  653. package/src/models/MentorPaywallConfig.ts +0 -45
  654. package/src/models/MentorPaywallConfigCreate.ts +0 -21
  655. package/src/models/MentorPrice.ts +0 -46
  656. package/src/models/MentorPriceCreate.ts +0 -39
  657. package/src/models/MentorScenario.ts +0 -11
  658. package/src/models/MentorScenarioPrompt.ts +0 -10
  659. package/src/models/MentorSearchResponse.ts +0 -40
  660. package/src/models/MentorSession.ts +0 -9
  661. package/src/models/MentorSettings.ts +0 -113
  662. package/src/models/MentorSettingsPublic.ts +0 -86
  663. package/src/models/MentorSettingsRequest.ts +0 -88
  664. package/src/models/MentorSummary.ts +0 -10
  665. package/src/models/MentorType.ts +0 -10
  666. package/src/models/MentorUserSetting.ts +0 -9
  667. package/src/models/MentorVisibilityEnum.ts +0 -14
  668. package/src/models/MentorWizard.ts +0 -9
  669. package/src/models/MessageStatistics.ts +0 -10
  670. package/src/models/MessageView.ts +0 -16
  671. package/src/models/MessageViewRequest.ts +0 -14
  672. package/src/models/MessageViewUpdatResponse.ts +0 -8
  673. package/src/models/Metadata.ts +0 -10
  674. package/src/models/MetricChange.ts +0 -9
  675. package/src/models/MetricInfo.ts +0 -10
  676. package/src/models/ModelCost.ts +0 -9
  677. package/src/models/ModerationLog.ts +0 -17
  678. package/src/models/NameEnum.ts +0 -18
  679. package/src/models/NoChatMessagesFound.ts +0 -8
  680. package/src/models/OAuthProvider.ts +0 -29
  681. package/src/models/OAuthService.ts +0 -23
  682. package/src/models/OAuthStartResponse.ts +0 -8
  683. package/src/models/OauthCredentialsMasked.ts +0 -15
  684. package/src/models/Observation.ts +0 -36
  685. package/src/models/OvertimeData.ts +0 -18
  686. package/src/models/PageContent.ts +0 -11
  687. package/src/models/PaginatedAIGeneratedImageList.ts +0 -12
  688. package/src/models/PaginatedArtifactListList.ts +0 -12
  689. package/src/models/PaginatedArtifactVersionList.ts +0 -12
  690. package/src/models/PaginatedConversationsList.ts +0 -12
  691. package/src/models/PaginatedCourseCreationTaskFileList.ts +0 -12
  692. package/src/models/PaginatedCourseCreationTaskList.ts +0 -12
  693. package/src/models/PaginatedDataSetList.ts +0 -12
  694. package/src/models/PaginatedDisclaimerAgreementList.ts +0 -12
  695. package/src/models/PaginatedDisclaimerList.ts +0 -12
  696. package/src/models/PaginatedEdxCourseList.ts +0 -12
  697. package/src/models/PaginatedEmailPromptListList.ts +0 -12
  698. package/src/models/PaginatedGoogleAgentDetailList.ts +0 -12
  699. package/src/models/PaginatedHeygenMarketingVideoListList.ts +0 -12
  700. package/src/models/PaginatedHeygenTemplateResponseSingleList.ts +0 -12
  701. package/src/models/PaginatedHumanSupportTicketList.ts +0 -12
  702. package/src/models/PaginatedJobRunList.ts +0 -12
  703. package/src/models/PaginatedMCPServerConnectionList.ts +0 -12
  704. package/src/models/PaginatedMCPServerList.ts +0 -12
  705. package/src/models/PaginatedMentorList.ts +0 -12
  706. package/src/models/PaginatedModerationLogList.ts +0 -12
  707. package/src/models/PaginatedObservationList.ts +0 -12
  708. package/src/models/PaginatedPeriodicAgentList.ts +0 -12
  709. package/src/models/PaginatedPeriodicAgentLogList.ts +0 -12
  710. package/src/models/PaginatedPlayWrightScriptList.ts +0 -12
  711. package/src/models/PaginatedProjectList.ts +0 -12
  712. package/src/models/PaginatedRetrieverDocumentEmbeddingList.ts +0 -12
  713. package/src/models/PaginatedSectionList.ts +0 -12
  714. package/src/models/PaginatedSubSectionList.ts +0 -12
  715. package/src/models/PaginatedTicketMessageList.ts +0 -12
  716. package/src/models/PaginatedTopicStatisticsResponse.ts +0 -12
  717. package/src/models/PaginatedTraceList.ts +0 -12
  718. package/src/models/PaginatedTrainingList.ts +0 -12
  719. package/src/models/PaginatedUnitList.ts +0 -12
  720. package/src/models/PaginatedUserEdxMemoryList.ts +0 -12
  721. package/src/models/PaginatedUserMemoryList.ts +0 -12
  722. package/src/models/PaginatedVeoVideoListList.ts +0 -12
  723. package/src/models/PaginatedVoiceList.ts +0 -12
  724. package/src/models/PatchedArtifact.ts +0 -65
  725. package/src/models/PatchedBotCommand.ts +0 -11
  726. package/src/models/PatchedBotCreate.ts +0 -17
  727. package/src/models/PatchedCallConfiguration.ts +0 -39
  728. package/src/models/PatchedConversations.ts +0 -47
  729. package/src/models/PatchedCourseCreationTaskFile.ts +0 -12
  730. package/src/models/PatchedCredentialRequest.ts +0 -19
  731. package/src/models/PatchedDataSet.ts +0 -26
  732. package/src/models/PatchedDisclaimer.ts +0 -22
  733. package/src/models/PatchedDiscordConfig.ts +0 -12
  734. package/src/models/PatchedDiscordUserConfig.ts +0 -15
  735. package/src/models/PatchedFallbackLLMUpdate.ts +0 -38
  736. package/src/models/PatchedGoogleAgentDetail.ts +0 -22
  737. package/src/models/PatchedHumanSupportTicket.ts +0 -28
  738. package/src/models/PatchedLLMCredentialRequest.ts +0 -19
  739. package/src/models/PatchedMCPServer.ts +0 -55
  740. package/src/models/PatchedMCPServerConnection.ts +0 -52
  741. package/src/models/PatchedMentorCategoryGroupCreate.ts +0 -16
  742. package/src/models/PatchedMentorCreate.ts +0 -150
  743. package/src/models/PatchedPeriodicAgentCreate.ts +0 -46
  744. package/src/models/PatchedPlayWrightScript.ts +0 -17
  745. package/src/models/PatchedProject.ts +0 -56
  746. package/src/models/PatchedPrompt.ts +0 -27
  747. package/src/models/PatchedSection.ts +0 -14
  748. package/src/models/PatchedSlackConfig.ts +0 -13
  749. package/src/models/PatchedSlackUserConfig.ts +0 -22
  750. package/src/models/PatchedSubSection.ts +0 -14
  751. package/src/models/PatchedTeamsConfig.ts +0 -12
  752. package/src/models/PatchedTicketMessage.ts +0 -15
  753. package/src/models/PatchedTrainingCreate.ts +0 -36
  754. package/src/models/PatchedUnit.ts +0 -16
  755. package/src/models/PatchedWebexConfig.ts +0 -15
  756. package/src/models/PatchedWhatsappConfig.ts +0 -16
  757. package/src/models/PatchedWhatsappUserConfig.ts +0 -15
  758. package/src/models/PeriodInfo.ts +0 -26
  759. package/src/models/PeriodicAgent.ts +0 -47
  760. package/src/models/PeriodicAgentCreate.ts +0 -46
  761. package/src/models/PeriodicAgentLog.ts +0 -16
  762. package/src/models/PeriodicAgentLogStatusEnum.ts +0 -14
  763. package/src/models/PeriodicAgentStatistics.ts +0 -12
  764. package/src/models/PeriodicTask.ts +0 -26
  765. package/src/models/PieChartData.ts +0 -10
  766. package/src/models/PieChartSegment.ts +0 -9
  767. package/src/models/PinnedMessageCreate.ts +0 -14
  768. package/src/models/PinnedMessageGet.ts +0 -12
  769. package/src/models/PinnedMessageRequest.ts +0 -11
  770. package/src/models/PlatformPrompt.ts +0 -39
  771. package/src/models/PlatformPromptResponse.ts +0 -21
  772. package/src/models/PlayWrightScript.ts +0 -17
  773. package/src/models/PredictiveAnalyticsRequest.ts +0 -9
  774. package/src/models/PredictiveAnalyticsResponse.ts +0 -9
  775. package/src/models/PreviousAgentStatusEnum.ts +0 -16
  776. package/src/models/Project.ts +0 -56
  777. package/src/models/ProjectMentor.ts +0 -16
  778. package/src/models/Prompt.ts +0 -27
  779. package/src/models/PromptCategory.ts +0 -12
  780. package/src/models/PromptFacet.ts +0 -22
  781. package/src/models/PromptSearchResponse.ts +0 -40
  782. package/src/models/PromptVisibilityEnum.ts +0 -14
  783. package/src/models/Provider05cEnum.ts +0 -18
  784. package/src/models/Provider63aEnum.ts +0 -10
  785. package/src/models/ProviderBreakdown.ts +0 -13
  786. package/src/models/PublicMentorPricing.ts +0 -17
  787. package/src/models/QuestionCardTag.ts +0 -13
  788. package/src/models/QuestionRequest.ts +0 -20
  789. package/src/models/QuestionResponse.ts +0 -15
  790. package/src/models/RatingAverageRecord.ts +0 -15
  791. package/src/models/RatingEnum.ts +0 -12
  792. package/src/models/RatingRecord.ts +0 -9
  793. package/src/models/RatingsOvertime.ts +0 -10
  794. package/src/models/RecentlyAccessedMentor.ts +0 -16
  795. package/src/models/RecommendationTypeEnum.ts +0 -12
  796. package/src/models/RecommendedCoursesResponse.ts +0 -38
  797. package/src/models/RelatedText.ts +0 -8
  798. package/src/models/RemoveMentorFromDisclaimer.ts +0 -17
  799. package/src/models/RequestDataVariable.ts +0 -19
  800. package/src/models/ResourceScrappedData.ts +0 -18
  801. package/src/models/ResourceScrappedDataStatusEnum.ts +0 -16
  802. package/src/models/ResponseDataVariable.ts +0 -19
  803. package/src/models/RetreiverTrainViewRequest.ts +0 -15
  804. package/src/models/RetreiverTrainViewResponse.ts +0 -11
  805. package/src/models/RetrieveTask.ts +0 -8
  806. package/src/models/RetrieverDocumentEmbedding.ts +0 -35
  807. package/src/models/RetrieverDocumentEmbeddingRequest.ts +0 -71
  808. package/src/models/RetrieverRequestSearch.ts +0 -15
  809. package/src/models/RetrieverRequestSearchDocument.ts +0 -15
  810. package/src/models/RetrieverResponseSearch.ts +0 -12
  811. package/src/models/ReuestDataVariableList.ts +0 -9
  812. package/src/models/RunMentorEval.ts +0 -8
  813. package/src/models/ScanWebhookRequest.ts +0 -11
  814. package/src/models/ScanWebhookResponse.ts +0 -8
  815. package/src/models/ScopeC1dEnum.ts +0 -12
  816. package/src/models/Section.ts +0 -14
  817. package/src/models/SectionWithChildren.ts +0 -16
  818. package/src/models/SeedMentorsView.ts +0 -8
  819. package/src/models/SentimentSummary.ts +0 -9
  820. package/src/models/SessionBrowserScreenshot.ts +0 -13
  821. package/src/models/SessionChartPoint.ts +0 -9
  822. package/src/models/SessionDetail.ts +0 -11
  823. package/src/models/SessionMemoryAttachment.ts +0 -8
  824. package/src/models/SessionMemoryStorage.ts +0 -11
  825. package/src/models/SessionsChart.ts +0 -10
  826. package/src/models/SetCurrentVersionRequest.ts +0 -8
  827. package/src/models/ShareableMentorLink.ts +0 -13
  828. package/src/models/ShellLogs.ts +0 -8
  829. package/src/models/SlackConfig.ts +0 -13
  830. package/src/models/SlackUserConfig.ts +0 -22
  831. package/src/models/SlackWebhook.ts +0 -11
  832. package/src/models/SpacedRepetitionLearningPath.ts +0 -8
  833. package/src/models/SpacedRepetitionQuestionStats.ts +0 -10
  834. package/src/models/StarMentor.ts +0 -12
  835. package/src/models/Status6eeEnum.ts +0 -16
  836. package/src/models/Step.ts +0 -14
  837. package/src/models/StepStatusEnum.ts +0 -14
  838. package/src/models/StopGenerationRequest.ts +0 -14
  839. package/src/models/SttProviderEnum.ts +0 -18
  840. package/src/models/StudentChatMessage.ts +0 -9
  841. package/src/models/StylesView.ts +0 -9
  842. package/src/models/SubSection.ts +0 -14
  843. package/src/models/SubSectionWithChildren.ts +0 -16
  844. package/src/models/Subject.ts +0 -10
  845. package/src/models/Summary.ts +0 -14
  846. package/src/models/TagsView.ts +0 -10
  847. package/src/models/TargetSystemEnum.ts +0 -12
  848. package/src/models/TaskView.ts +0 -8
  849. package/src/models/TeamsConfig.ts +0 -12
  850. package/src/models/TeamsWebhook.ts +0 -22
  851. package/src/models/TemplateMentor.ts +0 -14
  852. package/src/models/TenantMentorTraces.ts +0 -11
  853. package/src/models/TenantSetting.ts +0 -10
  854. package/src/models/ThemeEnum.ts +0 -12
  855. package/src/models/TicketMessage.ts +0 -15
  856. package/src/models/TonesView.ts +0 -9
  857. package/src/models/ToolCategory.ts +0 -10
  858. package/src/models/ToolResponse.ts +0 -21
  859. package/src/models/TopicDetail.ts +0 -13
  860. package/src/models/TopicDetails.ts +0 -10
  861. package/src/models/TopicModel.ts +0 -8
  862. package/src/models/TopicRecord.ts +0 -9
  863. package/src/models/TopicStatistics.ts +0 -12
  864. package/src/models/TopicStatisticsResponse.ts +0 -11
  865. package/src/models/TopicSummaryView.ts +0 -9
  866. package/src/models/TopicsOverview.ts +0 -27
  867. package/src/models/TopicsOverviewMetric.ts +0 -26
  868. package/src/models/Trace.ts +0 -22
  869. package/src/models/TrainDocumentViewRequest.ts +0 -91
  870. package/src/models/TrainDocumentViewResponse.ts +0 -20
  871. package/src/models/Training.ts +0 -46
  872. package/src/models/TrainingCreate.ts +0 -36
  873. package/src/models/TrainingStatusEnum.ts +0 -16
  874. package/src/models/TransportEnum.ts +0 -14
  875. package/src/models/TrendEntry.ts +0 -9
  876. package/src/models/TriggerRequest.ts +0 -10
  877. package/src/models/TriggerResponse.ts +0 -11
  878. package/src/models/TtsProviderEnum.ts +0 -16
  879. package/src/models/TypeC42Enum.ts +0 -12
  880. package/src/models/Unit.ts +0 -16
  881. package/src/models/UnitWithChildren.ts +0 -18
  882. package/src/models/UseMainCreds.ts +0 -8
  883. package/src/models/UserAllChatMemoryView.ts +0 -12
  884. package/src/models/UserCatalogItemMemoryView.ts +0 -19
  885. package/src/models/UserChatByPeriod.ts +0 -9
  886. package/src/models/UserChatFeedback.ts +0 -20
  887. package/src/models/UserChatFeedbackCount.ts +0 -9
  888. package/src/models/UserChatMemoryStatusRequestView.ts +0 -11
  889. package/src/models/UserChatMemoryStatusView.ts +0 -11
  890. package/src/models/UserChatMemoryUpdateView.ts +0 -15
  891. package/src/models/UserCountRecord.ts +0 -9
  892. package/src/models/UserDetail.ts +0 -12
  893. package/src/models/UserEdxMemory.ts +0 -20
  894. package/src/models/UserMemory.ts +0 -24
  895. package/src/models/UserMemoryContextRequest.ts +0 -18
  896. package/src/models/UserMemoryContextResponse.ts +0 -17
  897. package/src/models/UserMemoryEntry.ts +0 -14
  898. package/src/models/UserMemoryEntryRequest.ts +0 -10
  899. package/src/models/UserMemoryRequest.ts +0 -17
  900. package/src/models/UserMentorSubscription.ts +0 -59
  901. package/src/models/UserMentorSubscriptionStatusEnum.ts +0 -22
  902. package/src/models/UserMetric.ts +0 -9
  903. package/src/models/UserMetricsResponse.ts +0 -12
  904. package/src/models/UserSentimentCountView.ts +0 -9
  905. package/src/models/UserTrendByPeriod.ts +0 -10
  906. package/src/models/V2GlobalMentorSearchResponse.ts +0 -34
  907. package/src/models/V2PersonalizedMentorsResponse.ts +0 -34
  908. package/src/models/V2RecommendationResponse.ts +0 -70
  909. package/src/models/VectorResult.ts +0 -15
  910. package/src/models/VeoVideoDetail.ts +0 -15
  911. package/src/models/VeoVideoList.ts +0 -11
  912. package/src/models/VeoVideoRequest.ts +0 -10
  913. package/src/models/VideoCaption.ts +0 -8
  914. package/src/models/Voice.ts +0 -14
  915. package/src/models/VoiceProviderEnum.ts +0 -14
  916. package/src/models/WebResource.ts +0 -14
  917. package/src/models/WebResourceCard.ts +0 -12
  918. package/src/models/WebResourcesQuery.ts +0 -8
  919. package/src/models/WebexConfig.ts +0 -15
  920. package/src/models/WebexWebhook.ts +0 -9
  921. package/src/models/WhatAppWebHook.ts +0 -8
  922. package/src/models/WhatsappConfig.ts +0 -16
  923. package/src/models/WhatsappUserConfig.ts +0 -15
  924. package/src/services/AiAccountService.ts +0 -959
  925. package/src/services/AiBotService.ts +0 -1350
  926. package/src/services/AiFinetuningService.ts +0 -472
  927. package/src/services/AiIndexService.ts +0 -644
  928. package/src/services/AiMarketingService.ts +0 -96
  929. package/src/services/AiMediaService.ts +0 -532
  930. package/src/services/AiMentorService.ts +0 -13207
  931. package/src/services/AiPromptService.ts +0 -1985
  932. package/src/services/AiSearchService.ts +0 -784
  933. package/src/services/FallbackLlmService.ts +0 -202
@@ -1,19 +1,7 @@
1
- import type { AccessTimesHeatmap } from '../models/AccessTimesHeatmap';
2
- import type { BaseFinanceResponse } from '../models/BaseFinanceResponse';
3
1
  import type { ContentDetailsResponse } from '../models/ContentDetailsResponse';
4
2
  import type { ContentResponse } from '../models/ContentResponse';
5
- import type { ConversationDetailResponse } from '../models/ConversationDetailResponse';
6
- import type { ConversationListResponse } from '../models/ConversationListResponse';
7
- import type { CurrentUsersResponse } from '../models/CurrentUsersResponse';
8
- import type { FinanceDetailsResponse } from '../models/FinanceDetailsResponse';
9
- import type { InvoiceReportResponse } from '../models/InvoiceReportResponse';
10
3
  import type { LearnerAnalyticsResponse } from '../models/LearnerAnalyticsResponse';
11
4
  import type { LearnerListResponse } from '../models/LearnerListResponse';
12
- import type { RatingsOvertime } from '../models/RatingsOvertime';
13
- import type { SessionsChart } from '../models/SessionsChart';
14
- import type { TopicDetails } from '../models/TopicDetails';
15
- import type { TopicsOverview } from '../models/TopicsOverview';
16
- import type { UserDetail } from '../models/UserDetail';
17
5
  import type { CancelablePromise } from '../core/CancelablePromise';
18
6
  export declare class AnalyticsService {
19
7
  /**
@@ -51,7 +39,7 @@ export declare class AnalyticsService {
51
39
  * @returns ContentResponse
52
40
  * @throws ApiError
53
41
  */
54
- static getContentAnalytics({ metric, dateFilter, endDate, granularity, includeOvertime, limit, mentorUniqueId, page, platformKey, startDate, usergroupIds, }: {
42
+ static getContentAnalytics({ metric, dateFilter, endDate, granularity, includeOvertime, limit, page, platformKey, startDate, usergroupIds, }: {
55
43
  /**
56
44
  * The type of content to retrieve (course, program, pathway, skill)
57
45
  *
@@ -90,7 +78,6 @@ export declare class AnalyticsService {
90
78
  * Number of items per page (max 100)
91
79
  */
92
80
  limit?: number;
93
- mentorUniqueId?: string;
94
81
  /**
95
82
  * Page number for pagination
96
83
  */
@@ -111,7 +98,7 @@ export declare class AnalyticsService {
111
98
  * @returns ContentDetailsResponse
112
99
  * @throws ApiError
113
100
  */
114
- static getContentDetails({ contentId, metric, dateFilter, endDate, limit, mentorUniqueId, page, platformKey, search, startDate, timeMetric, usergroupIds, }: {
101
+ static getContentDetails({ contentId, metric, dateFilter, endDate, limit, page, platformKey, search, startDate, timeMetric, usergroupIds, }: {
115
102
  contentId: string;
116
103
  /**
117
104
  * Content type to fetch (course, program, pathway, skill)
@@ -140,7 +127,6 @@ export declare class AnalyticsService {
140
127
  * Number of learner records per page
141
128
  */
142
129
  limit?: number;
143
- mentorUniqueId?: string;
144
130
  page?: number;
145
131
  platformKey?: string;
146
132
  search?: string;
@@ -154,343 +140,6 @@ export declare class AnalyticsService {
154
140
  */
155
141
  usergroupIds?: Array<number> | null;
156
142
  }): CancelablePromise<ContentDetailsResponse>;
157
- /**
158
- * Financial Analytics API - Get comprehensive cost metrics with comparison analysis.
159
- *
160
- * This endpoint provides period-based cost analysis (not cumulative) with support for:
161
- * - Multiple time granularities and metrics
162
- * - Cross-dimensional filtering
163
- * - Percentage change vs comparison periods
164
- * - Forward-filled time series
165
- *
166
- * **Examples:**
167
- *
168
- * **Basic Weekly Costs:**
169
- * ```
170
- * GET /api/analytics/financial/?metric=weekly_costs&comparison_days=10
171
- * ```
172
- *
173
- * **Platform & Mentor Filtered:**
174
- * ```
175
- * # Get total costs for a specific platform and mentor
176
- * GET /api/analytics/financial/?metric=total_costs&platform_key=web-app&mentor_unique_id=mentor-123&comparison_days=14
177
- * ```
178
- *
179
- * **Monthly Costs by Provider:**
180
- * ```
181
- * GET /api/analytics/financial/?metric=monthly_costs&provider=openai&granularity=month&comparison_days=30
182
- * ```
183
- *
184
- * **Daily Costs for Specific User:**
185
- * ```
186
- * GET /api/analytics/financial/?metric=total_costs&username=user-456&granularity=day&start_date=2025-01-15&end_date=2025-01-21&comparison_days=7
187
- * ```
188
- *
189
- *
190
- * **Response Structure:**
191
- * ```json
192
- * {
193
- * "metric": "weekly_costs",
194
- * "value": 12.47,
195
- * "percentage_change": 8.5,
196
- * "overtime": [
197
- * {"date": "2025-01-06", "value": 2.89},
198
- * {"date": "2025-01-13", "value": 3.12}
199
- * ],
200
- * "period_info": {
201
- * "start_date": "2025-01-01",
202
- * "end_date": "2025-01-31",
203
- * "period_days": 31
204
- * },
205
- * "comparison_info": {
206
- * "previous_period_value": 11.50,
207
- * ...
208
- * }
209
- * }
210
- * ```
211
- * @returns BaseFinanceResponse Successful financial metrics response with period-based cost data
212
- * @throws ApiError
213
- */
214
- static analyticsFinancialRetrieve({ metric, comparisonDays, dateFilter, endDate, fillMethod, granularity, llmModel, mentorUniqueId, platformKey, provider, showOvertime, startDate, usergroupIds, username, }: {
215
- /**
216
- * Type of financial metric to retrieve
217
- *
218
- * * `total_costs` - Total costs for selected timeframe
219
- * * `weekly_costs` - Costs for current/selected week
220
- * * `monthly_costs` - Costs for current/selected month
221
- */
222
- metric: 'total_costs' | 'weekly_costs' | 'monthly_costs';
223
- /**
224
- * Number of days for comparison period to calculate percentage change (e.g., 10 for 10-day comparison)
225
- */
226
- comparisonDays?: number;
227
- /**
228
- * * `today` - Today only
229
- * * `7d` - Last 7 days
230
- * * `30d` - Last 30 days
231
- * * `90d` - Last 90 days
232
- * * `all_time` - All time
233
- * * `custom` - Custom date range
234
- */
235
- dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom';
236
- endDate?: string;
237
- /**
238
- * Method for filling missing time periods in overtime data
239
- *
240
- * * `zero` - Fill missing periods with zero
241
- * * `previous` - Fill missing periods with previous value
242
- */
243
- fillMethod?: 'zero' | 'previous';
244
- /**
245
- * Time granularity for overtime series data
246
- *
247
- * * `day` - Daily data points
248
- * * `week` - Weekly data points
249
- * * `month` - Monthly data points
250
- */
251
- granularity?: 'day' | 'week' | 'month';
252
- /**
253
- * Filter by specific LLM model (e.g., gpt-4o, claude-3-5-sonnet)
254
- */
255
- llmModel?: string;
256
- mentorUniqueId?: string;
257
- platformKey?: string;
258
- /**
259
- * Filter by AI provider
260
- *
261
- * * `openai` - OpenAI
262
- * * `anthropic` - Anthropic
263
- * * `azure` - Azure
264
- * * `google` - Google
265
- * * `meta` - Meta
266
- * * `other` - Other
267
- */
268
- provider?: 'openai' | 'anthropic' | 'azure' | 'google' | 'meta' | 'other';
269
- /**
270
- * Whether to include overtime series data in response
271
- */
272
- showOvertime?: boolean;
273
- startDate?: string;
274
- /**
275
- * Optional list of usergroup IDs to filter results
276
- */
277
- usergroupIds?: Array<number> | null;
278
- /**
279
- * Filter by specific username - returns costs for this user only
280
- */
281
- username?: string;
282
- }): CancelablePromise<BaseFinanceResponse>;
283
- /**
284
- * Financial Details Analytics API – paginated cost tables with flexible grouping.
285
- *
286
- * This endpoint returns tabular cost metrics aggregated by the dimension
287
- * specified via the `group_by` query parameter. One or more KPI columns
288
- * can be requested through the comma-separated `metrics` list while
289
- * typical filters (date range, provider, platform_key, user, etc.) narrow the
290
- * dataset. Results are paginated with `page` / `limit`.
291
- *
292
- * **Required query parameters**
293
- * - group_by – provider | llm_model | username | mentor | platform
294
- * - metrics – csv list of KPI names, e.g. total_cost, sessions
295
- *
296
- * **Shared optional filters**
297
- * - start_date, end_date – ISO yyyy-mm-dd (ignored when all_time=true)
298
- * - platform_key – tenant isolation
299
- * - mentor_unique_id – filter to one mentor
300
- * - username – filter to a learner
301
- * - provider / llm_model – filter to LLM provider / model
302
- * - all_time – true → lifetime totals
303
- * - page (default 1), limit (default 50)
304
- *
305
- * **Examples**
306
- * --------
307
- * 1. Cost by provider for the last week
308
- * ```
309
- * GET /api/v2/analytics/financial/details?
310
- * group_by=provider&
311
- * metrics=total_cost&
312
- * start_date=2025-01-01&
313
- * end_date=2025-01-07&
314
- * page=1&limit=10
315
- * ```
316
- *
317
- * 2. Lifetime cost per user with extra KPIs
318
- * ```
319
- * GET /api/v2/analytics/financial/details?
320
- * group_by=username&
321
- * metrics=total_cost,sessions&
322
- * all_time=true&page=1&limit=50
323
- * ```
324
- * 3. Cost by LLM model with tenant filter
325
- * ```
326
- * GET /api/v2/analytics/financial/details?
327
- * group_by=llm_model&
328
- * metrics=total_cost&
329
- * platform_key=web-app&
330
- * start_date=2025-01-01&end_date=2025-01-31
331
- * ```
332
- * Response structure
333
- * -------------------
334
- * ```
335
- * {
336
- * "page": 1,
337
- * "limit": 10,
338
- * "total_pages": 1,
339
- * "total_records": 3,
340
- * "rows": [
341
- * {"provider": "openai", "total_cost": "2.50000"},
342
- * {"provider": "anthropic", "total_cost": "1.00000"},
343
- * {"provider": "azure", "total_cost": "0.50000"}
344
- * ],
345
- * "metrics": [
346
- * {
347
- * "name": "total_cost",
348
- * "unit": "$",
349
- * "description": "Cost for this entity in period"
350
- * }
351
- * ],
352
- * "total_cost": "4.00000" // optional grand-total when available
353
- * }
354
- * ``
355
- * @returns FinanceDetailsResponse
356
- * @throws ApiError
357
- */
358
- static analyticsFinancialDetailsRetrieve({ groupBy, dateFilter, endDate, limit, llmModel, mentorUniqueId, metrics, page, platformKey, provider, search, startDate, usergroupIds, username, }: {
359
- /**
360
- * Dimension to group by
361
- *
362
- * * `provider` - Group by provider
363
- * * `llm_model` - Group by LLM model
364
- * * `username` - Group by username
365
- * * `mentor` - Group by mentor
366
- * * `platform` - Group by platform
367
- * * `action` - Group by actions
368
- */
369
- groupBy: 'provider' | 'llm_model' | 'username' | 'mentor' | 'platform' | 'action';
370
- /**
371
- * * `today` - Today only
372
- * * `7d` - Last 7 days
373
- * * `30d` - Last 30 days
374
- * * `90d` - Last 90 days
375
- * * `all_time` - All time
376
- * * `custom` - Custom date range
377
- */
378
- dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom';
379
- endDate?: string;
380
- limit?: number;
381
- llmModel?: string;
382
- mentorUniqueId?: string;
383
- /**
384
- * Comma-separated list of metrics (e.g. total_cost,sessions, last_active)
385
- */
386
- metrics?: string;
387
- page?: number;
388
- platformKey?: string;
389
- provider?: string;
390
- search?: string;
391
- startDate?: string;
392
- /**
393
- * Optional list of usergroup IDs to filter results
394
- */
395
- usergroupIds?: Array<number> | null;
396
- username?: string;
397
- }): CancelablePromise<FinanceDetailsResponse>;
398
- /**
399
- * Flexible Invoice Report API – Billing summary with username and platform filtering.
400
- *
401
- * This endpoint generates invoice reports with flexible filtering options:
402
- * - Platform admins can view their platform's data and filter by username within their platform
403
- * - Super admins can view any combination of username/platform or global summaries
404
- *
405
- * **Key Features:**
406
- * - Flexible filtering by username and/or platform_key
407
- * - Essential metrics: total cost, sessions, usage period
408
- * - Provider breakdown (OpenAI, Anthropic, etc.)
409
- * - Top mentors/actions by cost
410
- * - Clean, invoice-ready format
411
- *
412
- * **Query Parameters:**
413
- * - username: Filter by specific username (optional)
414
- * - platform_key: Filter by platform (optional, but required for platform admins)
415
- * - start_date, end_date: billing period (defaults to last 30 days)
416
- * - include_breakdown: show provider/mentor details (default: true)
417
- *
418
- * **Permission Logic:**
419
- * - Platform admins: Must include platform_key matching their permission scope
420
- * - Super admins: Can use any combination of filters or none (global summary)
421
- *
422
- * **Examples:**
423
- * ```
424
- * # Platform admin viewing their platform
425
- * GET /api/analytics/financial/invoice?platform_key=web-app
426
- *
427
- * # Platform admin viewing specific user in their platform
428
- * GET /api/analytics/financial/invoice?platform_key=web-app&username=john.doe
429
- *
430
- * # Super admin viewing specific user across all platforms
431
- * GET /api/analytics/financial/invoice?username=john.doe
432
- *
433
- * # Super admin viewing global summary
434
- * GET /api/analytics/financial/invoice
435
- * ```
436
- *
437
- * **Response Structure:**
438
- * ```json
439
- * {
440
- * "entity": {
441
- * "type": "user|platform|global",
442
- * "username": "john.doe",
443
- * "platform_key": "web-app",
444
- * "platform_name": "Web Application",
445
- * "display_name": "John Doe on Web Application"
446
- * },
447
- * "billing_period": {
448
- * "start_date": "2025-01-01",
449
- * "end_date": "2025-01-31",
450
- * "days": 31
451
- * },
452
- * "summary": {
453
- * "total_cost": 245.750,
454
- * "total_sessions": 1250,
455
- * "active_users": 85,
456
- * "cost_per_session": 0.196
457
- * },
458
- * "breakdown": {
459
- * "by_provider": [...],
460
- * "by_mentor": [...],
461
- * "by_action": [...]
462
- * }
463
- * }
464
- * ```
465
- * @returns InvoiceReportResponse
466
- * @throws ApiError
467
- */
468
- static analyticsFinancialInvoiceRetrieve({ endDate, includeBreakdown, platformKey, startDate, usergroupIds, username, }: {
469
- /**
470
- * End date for billing period (defaults to today)
471
- */
472
- endDate?: string;
473
- /**
474
- * Whether to include provider and mentor breakdown
475
- */
476
- includeBreakdown?: boolean;
477
- /**
478
- * Platform key to filter by (optional, required for platform admins)
479
- */
480
- platformKey?: string;
481
- /**
482
- * Start date for billing period (defaults to 30 days ago)
483
- */
484
- startDate?: string;
485
- /**
486
- * Optional list of usergroup IDs to filter results
487
- */
488
- usergroupIds?: Array<number> | null;
489
- /**
490
- * Username to generate invoice for (optional)
491
- */
492
- username?: string;
493
- }): CancelablePromise<InvoiceReportResponse>;
494
143
  /**
495
144
  * Unified API endpoint for learner analytics.
496
145
  *
@@ -510,7 +159,7 @@ export declare class AnalyticsService {
510
159
  * @returns LearnerAnalyticsResponse
511
160
  * @throws ApiError
512
161
  */
513
- static analyticsLearnersRetrieve({ dateFilter, endDate, granularity, limit, mentorUniqueId, overtime, page, platformKey, startDate, usergroupIds, username, }: {
162
+ static analyticsLearnersRetrieve({ dateFilter, endDate, granularity, limit, overtime, page, platformKey, startDate, usergroupIds, username, }: {
514
163
  /**
515
164
  * * `today` - Today only
516
165
  * * `7d` - Last 7 days
@@ -532,7 +181,6 @@ export declare class AnalyticsService {
532
181
  * Number of records per page (default: 20, max: 100)
533
182
  */
534
183
  limit?: number;
535
- mentorUniqueId?: string;
536
184
  /**
537
185
  * Include overtime metrics for the user in the platform (default: false)
538
186
  */
@@ -564,7 +212,7 @@ export declare class AnalyticsService {
564
212
  * @returns LearnerListResponse Paginated list of learners with their metrics
565
213
  * @throws ApiError
566
214
  */
567
- static analyticsLearnersListRetrieve({ platformKey, dateFilter, endDate, granularity, limit, mentorUniqueId, page, search, sortBy, sortOrder, startDate, usergroupIds, }: {
215
+ static analyticsLearnersListRetrieve({ platformKey, dateFilter, endDate, granularity, limit, page, search, sortBy, sortOrder, startDate, usergroupIds, }: {
568
216
  /**
569
217
  * Platform key to filter learners by platform
570
218
  */
@@ -590,7 +238,6 @@ export declare class AnalyticsService {
590
238
  * Number of learners per page (default: 20, max: 100)
591
239
  */
592
240
  limit?: number;
593
- mentorUniqueId?: string;
594
241
  /**
595
242
  * Page number for pagination (default: 1)
596
243
  */
@@ -624,500 +271,4 @@ export declare class AnalyticsService {
624
271
  */
625
272
  usergroupIds?: Array<number> | null;
626
273
  }): CancelablePromise<LearnerListResponse>;
627
- /**
628
- * Conversation list endpoint for analytics.
629
- *
630
- * Query params (all optional unless specified by permissions):
631
- * - platform_key: filter by platform
632
- * - mentor_unique_id: filter by mentor
633
- * - page: page number (default 1)
634
- * - limit: page size (default 20, max 100)
635
- * - search: search in user name and first user message
636
- * - min_messages, max_messages: message_count range
637
- * - sentiment: positive|negative|neutral
638
- * - topic: topic name contains
639
- * - start_date, end_date: date filter on conversation date
640
- *
641
- * Returns: summary totals, results list (paginated), and pagination metadata.
642
- * @returns ConversationListResponse
643
- * @throws ApiError
644
- */
645
- static analyticsMessagesRetrieve({ endDate, limit, maxMessages, mentorUniqueId, minMessages, page, platformKey, search, sentiment, startDate, topic, usergroupIds, }: {
646
- endDate?: string;
647
- limit?: number;
648
- maxMessages?: number;
649
- mentorUniqueId?: string;
650
- minMessages?: number;
651
- page?: number;
652
- platformKey?: string;
653
- search?: string;
654
- /**
655
- * * `positive` - positive
656
- * * `negative` - negative
657
- * * `neutral` - neutral
658
- */
659
- sentiment?: 'positive' | 'negative' | 'neutral';
660
- startDate?: string;
661
- topic?: string;
662
- /**
663
- * Optional list of usergroup IDs to filter results
664
- */
665
- usergroupIds?: Array<number> | null;
666
- }): CancelablePromise<ConversationListResponse>;
667
- /**
668
- * Conversation detail endpoint for analytics.
669
- *
670
- * Query params:
671
- * - session_id (required): UUID of the session to fetch
672
- * - platform_key, mentor_unique_id (optional): further scope
673
- * - start_date, end_date (optional): date filter on message timestamps
674
- *
675
- * Returns: summary metadata from conversation_list MV, and a list of
676
- * human/ai message pairs in chronological order.
677
- * @returns ConversationDetailResponse
678
- * @throws ApiError
679
- */
680
- static analyticsMessagesDetailsRetrieve({ sessionId, endDate, mentorUniqueId, platformKey, startDate, usergroupIds, }: {
681
- sessionId: string;
682
- endDate?: string;
683
- mentorUniqueId?: string;
684
- platformKey?: string;
685
- startDate?: string;
686
- /**
687
- * Optional list of usergroup IDs to filter results
688
- */
689
- usergroupIds?: Array<number> | null;
690
- }): CancelablePromise<ConversationDetailResponse>;
691
- /**
692
- * Ratings overtime endpoint.
693
- *
694
- * Query params:
695
- * - metric: only 'ratings' is supported (default)
696
- * - platform_key, mentor_unique_id: optional filters
697
- * - granularity: 'day' (default) or 'hour' (hour only for today)
698
- * - start_date, end_date: optional date range; defaults applied if not provided
699
- *
700
- * Returns: { metric: 'ratings', points: [{date, value}, ...] }
701
- * @returns RatingsOvertime
702
- * @throws ApiError
703
- */
704
- static analyticsRatingsRetrieve({ dateFilter, endDate, granularity, mentorUniqueId, metric, platformKey, startDate, usergroupIds, }: {
705
- /**
706
- * * `today` - Today only
707
- * * `7d` - Last 7 days
708
- * * `30d` - Last 30 days
709
- * * `90d` - Last 90 days
710
- * * `all_time` - All time
711
- * * `custom` - Custom date range
712
- */
713
- dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom';
714
- endDate?: string;
715
- /**
716
- * * `day` - day
717
- * * `hour` - hour
718
- * * `week` - week
719
- * * `month` - month
720
- */
721
- granularity?: 'day' | 'hour' | 'week' | 'month';
722
- mentorUniqueId?: string;
723
- /**
724
- * * `ratings` - Ratings over time
725
- */
726
- metric?: 'ratings';
727
- platformKey?: string;
728
- startDate?: string;
729
- /**
730
- * Optional list of usergroup IDs to filter results
731
- */
732
- usergroupIds?: Array<number> | null;
733
- }): CancelablePromise<RatingsOvertime>;
734
- /**
735
- * Mixin for RBAC validation for mentor analytics views.
736
- *
737
- * Mentor analytics endpoints require:
738
- * 1. Aggregate analytics: First checks if user has "Ibl.Analytics/CanViewAnalytics/action"
739
- * permission on the platform resource (/platforms/{pk}/) when retrieving aggregate data
740
- * 2. Mentor-specific access validation:
741
- * - If mentor_unique_id is provided, validates access to that specific mentor
742
- * - Checks mentor owner access (if user created the mentor) via is_owner parameter
743
- * - Checks mentor-specific RBAC access: /platforms/{pk}/mentors/{mentor_id}/
744
- * - Uses action prefix "Ibl.Analytics/Mentors/" for mentor access validation
745
- * 3. User/usergroup access for filtering:
746
- * - Uses "Ibl.Analytics/Mentors/read" action to determine accessible users
747
- * - Supports usergroup filtering via _get_accessible_user_ids()
748
- *
749
- * This mixin extends AnalyticsRbacMixin to reuse shared RBAC validation logic
750
- * while adding mentor-specific validation.
751
- *
752
- * Special Case - Mentor Owner Unfiltered Access:
753
- * If the requesting user owns the mentor (mentor.created_by == requesting_user.username)
754
- * AND no usergroup_ids are specified, the _get_accessible_user_ids_for_mentor_analytics()
755
- * method returns None to allow unfiltered access to all users in the platform.
756
- *
757
- * Note: Mentor analytics APIs work with platform_key (from query params).
758
- * @returns SessionsChart
759
- * @throws ApiError
760
- */
761
- static analyticsSessionsRetrieve({ dateFilter, endDate, granularity, mentorUniqueId, metric, platformKey, startDate, usergroupIds, }: {
762
- /**
763
- * * `today` - Today only
764
- * * `7d` - Last 7 days
765
- * * `30d` - Last 30 days
766
- * * `90d` - Last 90 days
767
- * * `all_time` - All time
768
- * * `custom` - Custom date range
769
- */
770
- dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom';
771
- endDate?: string;
772
- /**
773
- * * `day` - day
774
- * * `hour` - hour
775
- * * `week` - week
776
- * * `month` - month
777
- */
778
- granularity?: 'day' | 'hour' | 'week' | 'month';
779
- mentorUniqueId?: string;
780
- /**
781
- * * `sessions` - Sessions over time
782
- * * `headline` - Headline metrics for sessions (avg messages per session, avg rating)
783
- */
784
- metric?: 'sessions' | 'headline';
785
- platformKey?: string;
786
- startDate?: string;
787
- /**
788
- * Optional list of usergroup IDs to filter results
789
- */
790
- usergroupIds?: Array<number> | null;
791
- }): CancelablePromise<SessionsChart>;
792
- /**
793
- * Mixin for RBAC validation for mentor analytics views.
794
- *
795
- * Mentor analytics endpoints require:
796
- * 1. Aggregate analytics: First checks if user has "Ibl.Analytics/CanViewAnalytics/action"
797
- * permission on the platform resource (/platforms/{pk}/) when retrieving aggregate data
798
- * 2. Mentor-specific access validation:
799
- * - If mentor_unique_id is provided, validates access to that specific mentor
800
- * - Checks mentor owner access (if user created the mentor) via is_owner parameter
801
- * - Checks mentor-specific RBAC access: /platforms/{pk}/mentors/{mentor_id}/
802
- * - Uses action prefix "Ibl.Analytics/Mentors/" for mentor access validation
803
- * 3. User/usergroup access for filtering:
804
- * - Uses "Ibl.Analytics/Mentors/read" action to determine accessible users
805
- * - Supports usergroup filtering via _get_accessible_user_ids()
806
- *
807
- * This mixin extends AnalyticsRbacMixin to reuse shared RBAC validation logic
808
- * while adding mentor-specific validation.
809
- *
810
- * Special Case - Mentor Owner Unfiltered Access:
811
- * If the requesting user owns the mentor (mentor.created_by == requesting_user.username)
812
- * AND no usergroup_ids are specified, the _get_accessible_user_ids_for_mentor_analytics()
813
- * method returns None to allow unfiltered access to all users in the platform.
814
- *
815
- * Note: Mentor analytics APIs work with platform_key (from query params).
816
- * @returns TopicDetails
817
- * @throws ApiError
818
- */
819
- static analyticsSessionsDetailsRetrieve({ dateFilter, endDate, limit, mentorUniqueId, page, platformKey, search, startDate, usergroupIds, }: {
820
- /**
821
- * * `today` - Today only
822
- * * `7d` - Last 7 days
823
- * * `30d` - Last 30 days
824
- * * `90d` - Last 90 days
825
- * * `all_time` - All time
826
- * * `custom` - Custom date range
827
- */
828
- dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom';
829
- endDate?: string;
830
- limit?: number;
831
- mentorUniqueId?: string;
832
- page?: number;
833
- platformKey?: string;
834
- /**
835
- * Search by topic name
836
- */
837
- search?: string;
838
- startDate?: string;
839
- /**
840
- * Optional list of usergroup IDs to filter results
841
- */
842
- usergroupIds?: Array<number> | null;
843
- }): CancelablePromise<TopicDetails>;
844
- /**
845
- *
846
- * Time Analytics API - User activity patterns by time of day and day of week.
847
- *
848
- * Provides heatmap data showing when users are most active, useful for:
849
- * - Understanding peak usage times
850
- * - Capacity planning and resource allocation
851
- * - User behavior analysis
852
- * - Support scheduling optimization
853
- *
854
- * **Key Features:**
855
- * - Day of week patterns (0=Sunday through 6=Saturday)
856
- * - Hour of day activity levels (0-23)
857
- * - Flexible date range filtering
858
- * - Platform and mentor-specific filtering
859
- * - Message count aggregation
860
- *
861
- * **Data Structure:**
862
- * - `day_of_week`: 0-6 (Sunday-Saturday)
863
- * - `hour`: 0-23 (24-hour format)
864
- * - `value`: Message count for that time slot
865
- *
866
- * @returns AccessTimesHeatmap Access times heatmap data with day/hour patterns
867
- * @throws ApiError
868
- */
869
- static analyticsTimeRetrieve({ dateFilter, endDate, granularity, mentorUniqueId, platformKey, startDate, usergroupIds, }: {
870
- /**
871
- * * `today` - Today only
872
- * * `7d` - Last 7 days
873
- * * `30d` - Last 30 days
874
- * * `90d` - Last 90 days
875
- * * `all_time` - All time
876
- * * `custom` - Custom date range
877
- */
878
- dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom';
879
- endDate?: string;
880
- /**
881
- * * `day` - day
882
- * * `hour` - hour
883
- * * `week` - week
884
- * * `month` - month
885
- */
886
- granularity?: 'day' | 'hour' | 'week' | 'month';
887
- mentorUniqueId?: string;
888
- platformKey?: string;
889
- startDate?: string;
890
- /**
891
- * Optional list of usergroup IDs to filter results
892
- */
893
- usergroupIds?: Array<number> | null;
894
- }): CancelablePromise<AccessTimesHeatmap>;
895
- /**
896
- * Mixin for RBAC validation for mentor analytics views.
897
- *
898
- * Mentor analytics endpoints require:
899
- * 1. Aggregate analytics: First checks if user has "Ibl.Analytics/CanViewAnalytics/action"
900
- * permission on the platform resource (/platforms/{pk}/) when retrieving aggregate data
901
- * 2. Mentor-specific access validation:
902
- * - If mentor_unique_id is provided, validates access to that specific mentor
903
- * - Checks mentor owner access (if user created the mentor) via is_owner parameter
904
- * - Checks mentor-specific RBAC access: /platforms/{pk}/mentors/{mentor_id}/
905
- * - Uses action prefix "Ibl.Analytics/Mentors/" for mentor access validation
906
- * 3. User/usergroup access for filtering:
907
- * - Uses "Ibl.Analytics/Mentors/read" action to determine accessible users
908
- * - Supports usergroup filtering via _get_accessible_user_ids()
909
- *
910
- * This mixin extends AnalyticsRbacMixin to reuse shared RBAC validation logic
911
- * while adding mentor-specific validation.
912
- *
913
- * Special Case - Mentor Owner Unfiltered Access:
914
- * If the requesting user owns the mentor (mentor.created_by == requesting_user.username)
915
- * AND no usergroup_ids are specified, the _get_accessible_user_ids_for_mentor_analytics()
916
- * method returns None to allow unfiltered access to all users in the platform.
917
- *
918
- * Note: Mentor analytics APIs work with platform_key (from query params).
919
- * @returns TopicsOverview
920
- * @throws ApiError
921
- */
922
- static analyticsTopicsRetrieve({ dateFilter, endDate, granularity, mentorUniqueId, metric, platformKey, startDate, usergroupIds, }: {
923
- /**
924
- * * `today` - Today only
925
- * * `7d` - Last 7 days
926
- * * `30d` - Last 30 days
927
- * * `90d` - Last 90 days
928
- * * `all_time` - All time
929
- * * `custom` - Custom date range
930
- */
931
- dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom';
932
- endDate?: string;
933
- /**
934
- * * `day` - day
935
- * * `hour` - hour
936
- * * `week` - week
937
- * * `month` - month
938
- */
939
- granularity?: 'day' | 'hour' | 'week' | 'month';
940
- mentorUniqueId?: string;
941
- /**
942
- * * `overview` - Overall topic metrics
943
- * * `sessions` - Sessions over time
944
- * * `ratings` - Ratings over time
945
- * * `highlighted` - Highlighted topics
946
- */
947
- metric?: 'overview' | 'sessions' | 'ratings' | 'highlighted';
948
- platformKey?: string;
949
- startDate?: string;
950
- /**
951
- * Optional list of usergroup IDs to filter results
952
- */
953
- usergroupIds?: Array<number> | null;
954
- }): CancelablePromise<TopicsOverview>;
955
- /**
956
- * Mixin for RBAC validation for mentor analytics views.
957
- *
958
- * Mentor analytics endpoints require:
959
- * 1. Aggregate analytics: First checks if user has "Ibl.Analytics/CanViewAnalytics/action"
960
- * permission on the platform resource (/platforms/{pk}/) when retrieving aggregate data
961
- * 2. Mentor-specific access validation:
962
- * - If mentor_unique_id is provided, validates access to that specific mentor
963
- * - Checks mentor owner access (if user created the mentor) via is_owner parameter
964
- * - Checks mentor-specific RBAC access: /platforms/{pk}/mentors/{mentor_id}/
965
- * - Uses action prefix "Ibl.Analytics/Mentors/" for mentor access validation
966
- * 3. User/usergroup access for filtering:
967
- * - Uses "Ibl.Analytics/Mentors/read" action to determine accessible users
968
- * - Supports usergroup filtering via _get_accessible_user_ids()
969
- *
970
- * This mixin extends AnalyticsRbacMixin to reuse shared RBAC validation logic
971
- * while adding mentor-specific validation.
972
- *
973
- * Special Case - Mentor Owner Unfiltered Access:
974
- * If the requesting user owns the mentor (mentor.created_by == requesting_user.username)
975
- * AND no usergroup_ids are specified, the _get_accessible_user_ids_for_mentor_analytics()
976
- * method returns None to allow unfiltered access to all users in the platform.
977
- *
978
- * Note: Mentor analytics APIs work with platform_key (from query params).
979
- * @returns TopicDetails
980
- * @throws ApiError
981
- */
982
- static analyticsTopicsDetailsRetrieve({ dateFilter, endDate, limit, mentorUniqueId, page, platformKey, search, startDate, usergroupIds, }: {
983
- /**
984
- * * `today` - Today only
985
- * * `7d` - Last 7 days
986
- * * `30d` - Last 30 days
987
- * * `90d` - Last 90 days
988
- * * `all_time` - All time
989
- * * `custom` - Custom date range
990
- */
991
- dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom';
992
- endDate?: string;
993
- limit?: number;
994
- mentorUniqueId?: string;
995
- page?: number;
996
- platformKey?: string;
997
- /**
998
- * Search by topic name
999
- */
1000
- search?: string;
1001
- startDate?: string;
1002
- /**
1003
- * Optional list of usergroup IDs to filter results
1004
- */
1005
- usergroupIds?: Array<number> | null;
1006
- }): CancelablePromise<TopicDetails>;
1007
- /**
1008
- *
1009
- * User Analytics API - Comprehensive user activity metrics and trends.
1010
- *
1011
- * Provides real-time and historical user analytics including:
1012
- * - Currently active users (last hour)
1013
- * - Active users over time periods (7d, 30d, 90d)
1014
- * - Registered user counts and growth
1015
- * - Time series charts with customizable granularity
1016
- *
1017
- * **Key Features:**
1018
- * - Real-time active user counting
1019
- * - Percentage change calculations vs previous periods
1020
- * - Flexible date filtering and granularity
1021
- * - Platform and mentor-specific filtering
1022
- * - Forward-filled time series data
1023
- *
1024
- * **Supported Metrics:**
1025
- * - `currently_active`: Users active in last hour
1026
- * - `active_users`: Unique users in specified period
1027
- * - `registered_users`: Total and new user counts
1028
- *
1029
- * @returns CurrentUsersResponse User analytics metrics with comparison data
1030
- * @throws ApiError
1031
- */
1032
- static analyticsUsersRetrieve({ metric, dateFilter, endDate, granularity, mentorUniqueId, platformKey, startDate, usergroupIds, }: {
1033
- /**
1034
- * * `currently_active` - Users logged in right now
1035
- * * `active_users` - Active users in a period
1036
- * * `registered_users` - Registered users
1037
- * * `active_users_last_30d` - Active users in the last 30 days
1038
- */
1039
- metric: 'currently_active' | 'active_users' | 'registered_users' | 'active_users_last_30d';
1040
- /**
1041
- * * `today` - Today only
1042
- * * `7d` - Last 7 days
1043
- * * `30d` - Last 30 days
1044
- * * `90d` - Last 90 days
1045
- * * `all_time` - All time
1046
- * * `custom` - Custom date range
1047
- */
1048
- dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom';
1049
- endDate?: string;
1050
- /**
1051
- * * `day` - day
1052
- * * `hour` - hour
1053
- * * `week` - week
1054
- * * `month` - month
1055
- */
1056
- granularity?: 'day' | 'hour' | 'week' | 'month';
1057
- mentorUniqueId?: string;
1058
- platformKey?: string;
1059
- startDate?: string;
1060
- /**
1061
- * Optional list of usergroup IDs to filter results
1062
- */
1063
- usergroupIds?: Array<number> | null;
1064
- }): CancelablePromise<CurrentUsersResponse>;
1065
- /**
1066
- *
1067
- * User Details API - Comprehensive user activity details with search and filtering.
1068
- *
1069
- * Provides detailed user information including:
1070
- * - User contact information (email, full name)
1071
- * - Activity metrics (message count, last activity)
1072
- * - Search functionality across multiple fields
1073
- * - Flexible date range filtering
1074
- * - CSV export capability
1075
- *
1076
- * **Key Features:**
1077
- * - Full-text search across email, name, and user ID
1078
- * - Date range filtering for activity periods
1079
- * - Platform and mentor-specific filtering
1080
- * - Comprehensive pagination with metadata
1081
- * - CSV export for data analysis
1082
- * - User aggregation across platforms/mentors
1083
- *
1084
- * **Search Capabilities:**
1085
- * - Email address matching
1086
- * - Full name search
1087
- * - User ID lookup
1088
- * - Partial string matching (case-insensitive)
1089
- *
1090
- * **Export Options:**
1091
- * - JSON response (default)
1092
- * - CSV export (?export=csv)
1093
- * - Includes all user fields in export
1094
- *
1095
- * @returns UserDetail Paginated user details with activity metrics
1096
- * @throws ApiError
1097
- */
1098
- static analyticsUsersDetailsRetrieve({ dateFilter, endDate, limit, mentorUniqueId, page, platformKey, search, startDate, usergroupIds, }: {
1099
- /**
1100
- * * `today` - Today only
1101
- * * `7d` - Last 7 days
1102
- * * `30d` - Last 30 days
1103
- * * `90d` - Last 90 days
1104
- * * `all_time` - All time
1105
- * * `custom` - Custom date range
1106
- */
1107
- dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom';
1108
- endDate?: string;
1109
- limit?: number;
1110
- mentorUniqueId?: string;
1111
- page?: number;
1112
- platformKey?: string;
1113
- /**
1114
- * Search by email, full name, or user ID
1115
- */
1116
- search?: string;
1117
- startDate?: string;
1118
- /**
1119
- * Optional list of usergroup IDs to filter results
1120
- */
1121
- usergroupIds?: Array<number> | null;
1122
- }): CancelablePromise<UserDetail>;
1123
274
  }