@iblai/iblai-api 4.7.6-core → 4.8.0-ai

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (660) hide show
  1. package/dist/index.cjs.js +18668 -1679
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +18662 -1680
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.umd.js +18668 -1679
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/types/index.d.ts +321 -2
  8. package/dist/types/models/AIGeneratedImage.d.ts +13 -0
  9. package/dist/types/models/AIUserProfileMemoryRelation.d.ts +4 -0
  10. package/dist/types/models/AIUserProfileRequest.d.ts +4 -0
  11. package/dist/types/models/AccessEnum.d.ts +8 -0
  12. package/dist/types/models/AlignMentorBubbleEnum.d.ts +8 -0
  13. package/dist/types/models/AnalyticsOverview.d.ts +7 -0
  14. package/dist/types/models/Answer.d.ts +11 -0
  15. package/dist/types/models/AssumedKnowledge.d.ts +4 -0
  16. package/dist/types/models/AssumedKnowledgeLevel.d.ts +4 -0
  17. package/dist/types/models/AudioToTextRequest.d.ts +3 -0
  18. package/dist/types/models/AudioToTextResponse.d.ts +3 -0
  19. package/dist/types/models/AutoMemoryPrompt.d.ts +4 -0
  20. package/dist/types/models/BaseFinanceResponse.d.ts +37 -0
  21. package/dist/types/models/CallAuthenticationRequest.d.ts +13 -0
  22. package/dist/types/models/CallAuthenticationResponse.d.ts +21 -0
  23. package/dist/types/models/CallConfiguration.d.ts +26 -0
  24. package/dist/types/models/CallConfigurationModeEnum.d.ts +8 -0
  25. package/dist/types/models/ChatHistory.d.ts +8 -0
  26. package/dist/types/models/ChatHistoryFilterData.d.ts +9 -0
  27. package/dist/types/models/ChatHistoryFilterUser.d.ts +5 -0
  28. package/dist/types/models/ChatHistoryItem.d.ts +5 -0
  29. package/dist/types/models/ChatHistorySessionId.d.ts +3 -0
  30. package/dist/types/models/ChatSessionRequest.d.ts +14 -0
  31. package/dist/types/models/ChatSessionResponse.d.ts +5 -0
  32. package/dist/types/models/CheckDocumentTrainingStatus.d.ts +10 -0
  33. package/dist/types/models/ComparisonInfo.d.ts +29 -0
  34. package/dist/types/models/ComponentBlock.d.ts +9 -0
  35. package/dist/types/models/ComponentBlockTypeEnum.d.ts +8 -0
  36. package/dist/types/models/ConnectedService.d.ts +11 -0
  37. package/dist/types/models/ConnectedServiceProviderEnum.d.ts +6 -0
  38. package/dist/types/models/ConversationMessage.d.ts +11 -0
  39. package/dist/types/models/ConversationRating.d.ts +6 -0
  40. package/dist/types/models/ConversationSummary.d.ts +5 -0
  41. package/dist/types/models/ConversationVolume.d.ts +4 -0
  42. package/dist/types/models/Conversations.d.ts +28 -0
  43. package/dist/types/models/Cost.d.ts +3 -0
  44. package/dist/types/models/CostPerTenant.d.ts +6 -0
  45. package/dist/types/models/CourseCreationTask.d.ts +31 -0
  46. package/dist/types/models/CourseCreationTaskFile.d.ts +7 -0
  47. package/dist/types/models/CourseCreationTaskStatusEnum.d.ts +16 -0
  48. package/dist/types/models/CrawlerPatternTypeEnum.d.ts +8 -0
  49. package/dist/types/models/CredentialRequest.d.ts +14 -0
  50. package/dist/types/models/CrontabSchedule.d.ts +22 -0
  51. package/dist/types/models/CustomInstructionResponse.d.ts +13 -0
  52. package/dist/types/models/DateRange.d.ts +4 -0
  53. package/dist/types/models/Document.d.ts +41 -0
  54. package/dist/types/models/DocumentFacet.d.ts +17 -0
  55. package/dist/types/models/DocumentSearchResponse.d.ts +35 -0
  56. package/dist/types/models/DocumentSettingsResponse.d.ts +3 -0
  57. package/dist/types/models/EdxCourse.d.ts +11 -0
  58. package/dist/types/models/ElevenlabsCustomVoice.d.ts +4 -0
  59. package/dist/types/models/ElevenlabsCustomVoiceResponse.d.ts +8 -0
  60. package/dist/types/models/EmailPromptDetail.d.ts +13 -0
  61. package/dist/types/models/EmailPromptList.d.ts +11 -0
  62. package/dist/types/models/EmailPromptSummary.d.ts +5 -0
  63. package/dist/types/models/ExternalServiceInfo.d.ts +6 -0
  64. package/dist/types/models/FinanceDetailsResponse.d.ts +13 -0
  65. package/dist/types/models/FinanceFilters.d.ts +15 -0
  66. package/dist/types/models/FreeUsageCount.d.ts +3 -0
  67. package/dist/types/models/FullCourse.d.ts +13 -0
  68. package/dist/types/models/GreetingMethodEnum.d.ts +8 -0
  69. package/dist/types/models/GuidedPrompt.d.ts +4 -0
  70. package/dist/types/models/GuidedPromptsResponse.d.ts +5 -0
  71. package/dist/types/models/HeygenMarketingVideoDetail.d.ts +8 -0
  72. package/dist/types/models/HeygenMarketingVideoList.d.ts +6 -0
  73. package/dist/types/models/HeygenTemplateRequest.d.ts +5 -0
  74. package/dist/types/models/HeygenTemplateResponseSingle.d.ts +6 -0
  75. package/dist/types/models/HeygenVideoDetail.d.ts +8 -0
  76. package/dist/types/models/HeygenVideoRequest.d.ts +5 -0
  77. package/dist/types/models/HumanSupportTicket.d.ts +21 -0
  78. package/dist/types/models/HumanSupportTicketStatusEnum.d.ts +10 -0
  79. package/dist/types/models/InputQuestion.d.ts +6 -0
  80. package/dist/types/models/IntegrationCredential.d.ts +10 -0
  81. package/dist/types/models/IntegrationCredentialSchema.d.ts +6 -0
  82. package/dist/types/models/IntialQuestionAnswer.d.ts +3 -0
  83. package/dist/types/models/JobRun.d.ts +11 -0
  84. package/dist/types/models/KindEnum.d.ts +10 -0
  85. package/dist/types/models/LLMCredentialRequest.d.ts +14 -0
  86. package/dist/types/models/LLMCredentialResponse.d.ts +10 -0
  87. package/dist/types/models/LLMCredentialSchema.d.ts +6 -0
  88. package/dist/types/models/LLMModelForTenant.d.ts +6 -0
  89. package/dist/types/models/LLMQuestion.d.ts +15 -0
  90. package/dist/types/models/LLMResponse.d.ts +14 -0
  91. package/dist/types/models/LLMTracesListResponse.d.ts +5 -0
  92. package/dist/types/models/LanguagesView.d.ts +5 -0
  93. package/dist/types/models/LinkCourseRequest.d.ts +3 -0
  94. package/dist/types/models/LinkCourseResponse.d.ts +5 -0
  95. package/dist/types/models/LlmProviderEnum.d.ts +8 -0
  96. package/dist/types/models/MCPServer.d.ts +21 -0
  97. package/dist/types/models/MaskedIntegrationCredential.d.ts +10 -0
  98. package/dist/types/models/MaskedLLMCredential.d.ts +10 -0
  99. package/dist/types/models/MemoryComponentData.d.ts +5 -0
  100. package/dist/types/models/MemoryComponentMemory.d.ts +4 -0
  101. package/dist/types/models/MemoryComponentMemoryDetail.d.ts +8 -0
  102. package/dist/types/models/MemoryComponentResponse.d.ts +5 -0
  103. package/dist/types/models/MemoryProgress.d.ts +8 -0
  104. package/dist/types/models/MemoryStatusRequestView.d.ts +6 -0
  105. package/dist/types/models/MemoryStatusView.d.ts +6 -0
  106. package/dist/types/models/Mentor.d.ts +87 -0
  107. package/dist/types/models/MentorAudience.d.ts +5 -0
  108. package/dist/types/models/MentorCategory.d.ts +9 -0
  109. package/dist/types/models/MentorCategoryCreate.d.ts +11 -0
  110. package/dist/types/models/MentorCategoryGroup.d.ts +11 -0
  111. package/dist/types/models/MentorCategoryGroupCreate.d.ts +11 -0
  112. package/dist/types/models/MentorCreate.d.ts +84 -0
  113. package/dist/types/models/MentorCustomVoice.d.ts +4 -0
  114. package/dist/types/models/MentorCustomVoiceResponse.d.ts +4 -0
  115. package/dist/types/models/MentorData.d.ts +7 -0
  116. package/dist/types/models/MentorDetailAnalytics.d.ts +6 -0
  117. package/dist/types/models/MentorEval.d.ts +11 -0
  118. package/dist/types/models/MentorEvalQuestion.d.ts +5 -0
  119. package/dist/types/models/MentorEvalQuestionRequest.d.ts +4 -0
  120. package/dist/types/models/MentorEvalReport.d.ts +10 -0
  121. package/dist/types/models/MentorEvalRequest.d.ts +8 -0
  122. package/dist/types/models/MentorFacet.d.ts +17 -0
  123. package/dist/types/models/MentorFork.d.ts +5 -0
  124. package/dist/types/models/MentorFromTemplateWithSettingRequest.d.ts +47 -0
  125. package/dist/types/models/MentorMemorySettingsRequest.d.ts +6 -0
  126. package/dist/types/models/MentorMemorySettingsResponse.d.ts +6 -0
  127. package/dist/types/models/MentorMetadata.d.ts +5 -0
  128. package/dist/types/models/MentorScenario.d.ts +6 -0
  129. package/dist/types/models/MentorScenarioPrompt.d.ts +5 -0
  130. package/dist/types/models/MentorSearchResponse.d.ts +35 -0
  131. package/dist/types/models/MentorSession.d.ts +4 -0
  132. package/dist/types/models/MentorSettings.d.ts +76 -0
  133. package/dist/types/models/MentorSettingsPublic.d.ts +52 -0
  134. package/dist/types/models/MentorSettingsRequest.d.ts +62 -0
  135. package/dist/types/models/MentorVisibilityEnum.d.ts +10 -0
  136. package/dist/types/models/MentorWizard.d.ts +4 -0
  137. package/dist/types/models/MessageStatistics.d.ts +5 -0
  138. package/dist/types/models/MessageView.d.ts +10 -0
  139. package/dist/types/models/MessageViewRequest.d.ts +7 -0
  140. package/dist/types/models/MessageViewUpdatResponse.d.ts +3 -0
  141. package/dist/types/models/Metadata.d.ts +5 -0
  142. package/dist/types/models/MetricChange.d.ts +4 -0
  143. package/dist/types/models/MetricInfo.d.ts +5 -0
  144. package/dist/types/models/ModelCost.d.ts +4 -0
  145. package/dist/types/models/ModerationLog.d.ts +11 -0
  146. package/dist/types/models/NoChatMessagesFound.d.ts +3 -0
  147. package/dist/types/models/NotificationSource.d.ts +2 -2
  148. package/dist/types/models/{TypeEnum.d.ts → NotificationSourceTypeEnum.d.ts} +1 -1
  149. package/dist/types/models/NullEnum.d.ts +1 -0
  150. package/dist/types/models/OAuthStartResponse.d.ts +3 -0
  151. package/dist/types/models/Observation.d.ts +31 -0
  152. package/dist/types/models/OvertimeData.d.ts +13 -0
  153. package/dist/types/models/PageContent.d.ts +6 -0
  154. package/dist/types/models/PaginatedAIGeneratedImageList.d.ts +7 -0
  155. package/dist/types/models/PaginatedConversationsList.d.ts +7 -0
  156. package/dist/types/models/PaginatedCourseCreationTaskFileList.d.ts +7 -0
  157. package/dist/types/models/PaginatedCourseCreationTaskList.d.ts +7 -0
  158. package/dist/types/models/PaginatedEdxCourseList.d.ts +7 -0
  159. package/dist/types/models/PaginatedEmailPromptListList.d.ts +7 -0
  160. package/dist/types/models/PaginatedHeygenMarketingVideoListList.d.ts +7 -0
  161. package/dist/types/models/PaginatedHeygenTemplateResponseSingleList.d.ts +7 -0
  162. package/dist/types/models/PaginatedHumanSupportTicketList.d.ts +7 -0
  163. package/dist/types/models/PaginatedJobRunList.d.ts +7 -0
  164. package/dist/types/models/PaginatedMCPServerList.d.ts +7 -0
  165. package/dist/types/models/PaginatedMentorList.d.ts +7 -0
  166. package/dist/types/models/PaginatedModerationLogList.d.ts +7 -0
  167. package/dist/types/models/PaginatedObservationList.d.ts +7 -0
  168. package/dist/types/models/PaginatedPeriodicAgentList.d.ts +7 -0
  169. package/dist/types/models/PaginatedPeriodicAgentLogList.d.ts +7 -0
  170. package/dist/types/models/PaginatedPlayWrightScriptList.d.ts +7 -0
  171. package/dist/types/models/PaginatedRetrieverDocumentEmbeddingList.d.ts +7 -0
  172. package/dist/types/models/PaginatedSectionList.d.ts +7 -0
  173. package/dist/types/models/PaginatedSubSectionList.d.ts +7 -0
  174. package/dist/types/models/PaginatedTicketMessageList.d.ts +7 -0
  175. package/dist/types/models/PaginatedTopicStatisticsResponse.d.ts +7 -0
  176. package/dist/types/models/PaginatedTraceList.d.ts +7 -0
  177. package/dist/types/models/PaginatedUnitList.d.ts +7 -0
  178. package/dist/types/models/PaginatedUserEdxMemoryList.d.ts +7 -0
  179. package/dist/types/models/PaginatedUserMemoryList.d.ts +7 -0
  180. package/dist/types/models/PaginatedVoiceList.d.ts +7 -0
  181. package/dist/types/models/PatchedCallConfiguration.d.ts +26 -0
  182. package/dist/types/models/PatchedConversations.d.ts +28 -0
  183. package/dist/types/models/PatchedCourseCreationTaskFile.d.ts +7 -0
  184. package/dist/types/models/PatchedCredentialRequest.d.ts +14 -0
  185. package/dist/types/models/PatchedHumanSupportTicket.d.ts +21 -0
  186. package/dist/types/models/PatchedLLMCredentialRequest.d.ts +14 -0
  187. package/dist/types/models/PatchedMCPServer.d.ts +21 -0
  188. package/dist/types/models/PatchedMentorCategoryGroupCreate.d.ts +11 -0
  189. package/dist/types/models/PatchedMentorCreate.d.ts +84 -0
  190. package/dist/types/models/PatchedPeriodicAgentCreate.d.ts +41 -0
  191. package/dist/types/models/PatchedPlayWrightScript.d.ts +12 -0
  192. package/dist/types/models/PatchedPrompt.d.ts +22 -0
  193. package/dist/types/models/PatchedSection.d.ts +9 -0
  194. package/dist/types/models/PatchedSubSection.d.ts +9 -0
  195. package/dist/types/models/PatchedTicketMessage.d.ts +10 -0
  196. package/dist/types/models/PatchedUnit.d.ts +11 -0
  197. package/dist/types/models/PeriodInfo.d.ts +21 -0
  198. package/dist/types/models/PeriodicAgent.d.ts +42 -0
  199. package/dist/types/models/PeriodicAgentCreate.d.ts +41 -0
  200. package/dist/types/models/PeriodicAgentLog.d.ts +11 -0
  201. package/dist/types/models/PeriodicAgentLogStatusEnum.d.ts +10 -0
  202. package/dist/types/models/PeriodicTask.d.ts +21 -0
  203. package/dist/types/models/PieChartData.d.ts +5 -0
  204. package/dist/types/models/PieChartSegment.d.ts +4 -0
  205. package/dist/types/models/PinnedMessageCreate.d.ts +9 -0
  206. package/dist/types/models/PinnedMessageGet.d.ts +7 -0
  207. package/dist/types/models/PinnedMessageRequest.d.ts +6 -0
  208. package/dist/types/models/PlayWrightScript.d.ts +12 -0
  209. package/dist/types/models/PredictiveAnalyticsRequest.d.ts +4 -0
  210. package/dist/types/models/PredictiveAnalyticsResponse.d.ts +4 -0
  211. package/dist/types/models/PreviousAgentStatusEnum.d.ts +12 -0
  212. package/dist/types/models/Prompt.d.ts +22 -0
  213. package/dist/types/models/PromptCategory.d.ts +7 -0
  214. package/dist/types/models/PromptFacet.d.ts +17 -0
  215. package/dist/types/models/PromptSearchResponse.d.ts +35 -0
  216. package/dist/types/models/PromptVisibilityEnum.d.ts +10 -0
  217. package/dist/types/models/Provider637Enum.d.ts +10 -0
  218. package/dist/types/models/QuestionCardTag.d.ts +8 -0
  219. package/dist/types/models/QuestionRequest.d.ts +15 -0
  220. package/dist/types/models/QuestionResponse.d.ts +10 -0
  221. package/dist/types/models/RatingEnum.d.ts +8 -0
  222. package/dist/types/models/RatingRecord.d.ts +4 -0
  223. package/dist/types/models/RecentlyAccessedMentor.d.ts +8 -0
  224. package/dist/types/models/RecommendCourseBlock.d.ts +3 -0
  225. package/dist/types/models/RecommendCourseResponse.d.ts +3 -0
  226. package/dist/types/models/RecommendedCoursesResponse.d.ts +33 -0
  227. package/dist/types/models/RelatedText.d.ts +3 -0
  228. package/dist/types/models/RequestDataVariable.d.ts +14 -0
  229. package/dist/types/models/ResourceScrappedData.d.ts +13 -0
  230. package/dist/types/models/ResourceScrappedDataStatusEnum.d.ts +12 -0
  231. package/dist/types/models/ResponseDataVariable.d.ts +14 -0
  232. package/dist/types/models/RetreiverTrainViewRequest.d.ts +10 -0
  233. package/dist/types/models/RetreiverTrainViewResponse.d.ts +6 -0
  234. package/dist/types/models/RetrieveTask.d.ts +3 -0
  235. package/dist/types/models/RetrieverDocumentEmbedding.d.ts +28 -0
  236. package/dist/types/models/RetrieverDocumentEmbeddingRequest.d.ts +66 -0
  237. package/dist/types/models/RetrieverRequestSearch.d.ts +10 -0
  238. package/dist/types/models/RetrieverRequestSearchDocument.d.ts +10 -0
  239. package/dist/types/models/RetrieverResponseSearch.d.ts +7 -0
  240. package/dist/types/models/ReuestDataVariableList.d.ts +4 -0
  241. package/dist/types/models/RunMentorEval.d.ts +3 -0
  242. package/dist/types/models/ScanWebhookRequest.d.ts +6 -0
  243. package/dist/types/models/ScanWebhookResponse.d.ts +3 -0
  244. package/dist/types/models/Section.d.ts +9 -0
  245. package/dist/types/models/SectionWithChildren.d.ts +11 -0
  246. package/dist/types/models/SeedMentorsView.d.ts +3 -0
  247. package/dist/types/models/SentimentSummary.d.ts +4 -0
  248. package/dist/types/models/ServiceEnum.d.ts +10 -0
  249. package/dist/types/models/SessionBrowserScreenshot.d.ts +8 -0
  250. package/dist/types/models/SessionDetail.d.ts +6 -0
  251. package/dist/types/models/SessionMemoryAttachment.d.ts +3 -0
  252. package/dist/types/models/SessionMemoryStorage.d.ts +6 -0
  253. package/dist/types/models/ShareableMentorLink.d.ts +8 -0
  254. package/dist/types/models/ShellLogs.d.ts +3 -0
  255. package/dist/types/models/SpacedRepetitionLearningPath.d.ts +3 -0
  256. package/dist/types/models/SpacedRepetitionQuestionStats.d.ts +5 -0
  257. package/dist/types/models/StarMentor.d.ts +7 -0
  258. package/dist/types/models/Status6eeEnum.d.ts +12 -0
  259. package/dist/types/models/Step.d.ts +9 -0
  260. package/dist/types/models/StepStatusEnum.d.ts +10 -0
  261. package/dist/types/models/StripeCheckoutSessionRequest.d.ts +2 -2
  262. package/dist/types/models/{ModeEnum.d.ts → StripeCheckoutSessionRequestModeEnum.d.ts} +1 -1
  263. package/dist/types/models/SttProviderEnum.d.ts +12 -0
  264. package/dist/types/models/StudentChatMessage.d.ts +4 -0
  265. package/dist/types/models/StylesView.d.ts +4 -0
  266. package/dist/types/models/SubSection.d.ts +9 -0
  267. package/dist/types/models/SubSectionWithChildren.d.ts +11 -0
  268. package/dist/types/models/TagsView.d.ts +5 -0
  269. package/dist/types/models/TargetSystemEnum.d.ts +8 -0
  270. package/dist/types/models/TaskView.d.ts +3 -0
  271. package/dist/types/models/TemplateMentor.d.ts +9 -0
  272. package/dist/types/models/TenantMentorTraces.d.ts +6 -0
  273. package/dist/types/models/ThemeEnum.d.ts +8 -0
  274. package/dist/types/models/TicketMessage.d.ts +10 -0
  275. package/dist/types/models/TonesView.d.ts +4 -0
  276. package/dist/types/models/ToolCategory.d.ts +5 -0
  277. package/dist/types/models/ToolResponse.d.ts +15 -0
  278. package/dist/types/models/TopicModel.d.ts +3 -0
  279. package/dist/types/models/TopicRecord.d.ts +4 -0
  280. package/dist/types/models/TopicStatistics.d.ts +7 -0
  281. package/dist/types/models/TopicStatisticsResponse.d.ts +6 -0
  282. package/dist/types/models/TopicSummaryView.d.ts +4 -0
  283. package/dist/types/models/Trace.d.ts +17 -0
  284. package/dist/types/models/TrainChatSessionDocumentView.d.ts +6 -0
  285. package/dist/types/models/TrainChatSessionDocumentViewRequest.d.ts +6 -0
  286. package/dist/types/models/TrainDocumentViewRequest.d.ts +70 -0
  287. package/dist/types/models/TrainDocumentViewResponse.d.ts +15 -0
  288. package/dist/types/models/TrainingStatusEnum.d.ts +12 -0
  289. package/dist/types/models/TransportEnum.d.ts +8 -0
  290. package/dist/types/models/TrendEntry.d.ts +4 -0
  291. package/dist/types/models/TriggerRequest.d.ts +5 -0
  292. package/dist/types/models/TriggerResponse.d.ts +6 -0
  293. package/dist/types/models/TtsProviderEnum.d.ts +10 -0
  294. package/dist/types/models/TypeC42Enum.d.ts +8 -0
  295. package/dist/types/models/Unit.d.ts +11 -0
  296. package/dist/types/models/UnitWithChildren.d.ts +13 -0
  297. package/dist/types/models/UseMainCreds.d.ts +3 -0
  298. package/dist/types/models/UserAllChatMemoryView.d.ts +7 -0
  299. package/dist/types/models/UserCatalogItemMemoryView.d.ts +14 -0
  300. package/dist/types/models/UserChatByPeriod.d.ts +4 -0
  301. package/dist/types/models/UserChatFeedback.d.ts +15 -0
  302. package/dist/types/models/UserChatFeedbackCount.d.ts +4 -0
  303. package/dist/types/models/UserChatMemoryStatusRequestView.d.ts +6 -0
  304. package/dist/types/models/UserChatMemoryStatusView.d.ts +6 -0
  305. package/dist/types/models/UserChatMemoryUpdateView.d.ts +10 -0
  306. package/dist/types/models/UserCountRecord.d.ts +4 -0
  307. package/dist/types/models/UserEdxMemory.d.ts +15 -0
  308. package/dist/types/models/UserMemory.d.ts +17 -0
  309. package/dist/types/models/UserMemoryContextRequest.d.ts +13 -0
  310. package/dist/types/models/UserMemoryContextResponse.d.ts +12 -0
  311. package/dist/types/models/UserMemoryEntry.d.ts +7 -0
  312. package/dist/types/models/UserMemoryEntryRequest.d.ts +5 -0
  313. package/dist/types/models/UserMemoryRequest.d.ts +12 -0
  314. package/dist/types/models/UserMetric.d.ts +4 -0
  315. package/dist/types/models/UserMetricsResponse.d.ts +7 -0
  316. package/dist/types/models/UserSentimentCountView.d.ts +4 -0
  317. package/dist/types/models/UserTrendByPeriod.d.ts +5 -0
  318. package/dist/types/models/VectorResult.d.ts +8 -0
  319. package/dist/types/models/VideoCaption.d.ts +3 -0
  320. package/dist/types/models/Voice.d.ts +9 -0
  321. package/dist/types/models/WebResource.d.ts +9 -0
  322. package/dist/types/models/WebResourceCard.d.ts +7 -0
  323. package/dist/types/models/WebResourcesQuery.d.ts +3 -0
  324. package/dist/types/services/AiAccountService.d.ts +473 -0
  325. package/dist/types/services/AiAnalyticsService.d.ts +4164 -0
  326. package/dist/types/services/AiIndexService.d.ts +384 -0
  327. package/dist/types/services/AiMarketingService.d.ts +38 -0
  328. package/dist/types/services/AiMediaService.d.ts +122 -0
  329. package/dist/types/services/AiMentorService.d.ts +5417 -0
  330. package/dist/types/services/AiPromptService.d.ts +1035 -0
  331. package/dist/types/services/AnalyticsService.d.ts +233 -0
  332. package/dist/types/services/SearchService.d.ts +730 -0
  333. package/package.json +1 -1
  334. package/src/core/OpenAPI.ts +1 -1
  335. package/src/index.ts +321 -2
  336. package/src/models/AIGeneratedImage.ts +18 -0
  337. package/src/models/AIUserProfileMemoryRelation.ts +9 -0
  338. package/src/models/AIUserProfileRequest.ts +9 -0
  339. package/src/models/AccessEnum.ts +12 -0
  340. package/src/models/AlignMentorBubbleEnum.ts +12 -0
  341. package/src/models/AnalyticsOverview.ts +12 -0
  342. package/src/models/Answer.ts +16 -0
  343. package/src/models/AssumedKnowledge.ts +9 -0
  344. package/src/models/AssumedKnowledgeLevel.ts +9 -0
  345. package/src/models/AudioToTextRequest.ts +8 -0
  346. package/src/models/AudioToTextResponse.ts +8 -0
  347. package/src/models/AutoMemoryPrompt.ts +9 -0
  348. package/src/models/BaseFinanceResponse.ts +42 -0
  349. package/src/models/CallAuthenticationRequest.ts +18 -0
  350. package/src/models/CallAuthenticationResponse.ts +26 -0
  351. package/src/models/CallConfiguration.ts +31 -0
  352. package/src/models/CallConfigurationModeEnum.ts +12 -0
  353. package/src/models/ChatHistory.ts +13 -0
  354. package/src/models/ChatHistoryFilterData.ts +14 -0
  355. package/src/models/ChatHistoryFilterUser.ts +10 -0
  356. package/src/models/ChatHistoryItem.ts +10 -0
  357. package/src/models/ChatHistorySessionId.ts +8 -0
  358. package/src/models/ChatSessionRequest.ts +19 -0
  359. package/src/models/ChatSessionResponse.ts +10 -0
  360. package/src/models/CheckDocumentTrainingStatus.ts +15 -0
  361. package/src/models/ComparisonInfo.ts +34 -0
  362. package/src/models/ComponentBlock.ts +14 -0
  363. package/src/models/ComponentBlockTypeEnum.ts +12 -0
  364. package/src/models/ConnectedService.ts +16 -0
  365. package/src/models/ConnectedServiceProviderEnum.ts +10 -0
  366. package/src/models/ConversationMessage.ts +16 -0
  367. package/src/models/ConversationRating.ts +11 -0
  368. package/src/models/ConversationSummary.ts +10 -0
  369. package/src/models/ConversationVolume.ts +9 -0
  370. package/src/models/Conversations.ts +33 -0
  371. package/src/models/Cost.ts +8 -0
  372. package/src/models/CostPerTenant.ts +11 -0
  373. package/src/models/CourseCreationTask.ts +36 -0
  374. package/src/models/CourseCreationTaskFile.ts +12 -0
  375. package/src/models/CourseCreationTaskStatusEnum.ts +20 -0
  376. package/src/models/CrawlerPatternTypeEnum.ts +12 -0
  377. package/src/models/CredentialRequest.ts +19 -0
  378. package/src/models/CrontabSchedule.ts +27 -0
  379. package/src/models/CustomInstructionResponse.ts +18 -0
  380. package/src/models/DateRange.ts +9 -0
  381. package/src/models/Document.ts +46 -0
  382. package/src/models/DocumentFacet.ts +22 -0
  383. package/src/models/DocumentSearchResponse.ts +40 -0
  384. package/src/models/DocumentSettingsResponse.ts +8 -0
  385. package/src/models/EdxCourse.ts +16 -0
  386. package/src/models/ElevenlabsCustomVoice.ts +9 -0
  387. package/src/models/ElevenlabsCustomVoiceResponse.ts +13 -0
  388. package/src/models/EmailPromptDetail.ts +18 -0
  389. package/src/models/EmailPromptList.ts +16 -0
  390. package/src/models/EmailPromptSummary.ts +10 -0
  391. package/src/models/ExternalServiceInfo.ts +11 -0
  392. package/src/models/FinanceDetailsResponse.ts +18 -0
  393. package/src/models/FinanceFilters.ts +20 -0
  394. package/src/models/FreeUsageCount.ts +8 -0
  395. package/src/models/FullCourse.ts +18 -0
  396. package/src/models/GreetingMethodEnum.ts +12 -0
  397. package/src/models/GuidedPrompt.ts +9 -0
  398. package/src/models/GuidedPromptsResponse.ts +10 -0
  399. package/src/models/HeygenMarketingVideoDetail.ts +13 -0
  400. package/src/models/HeygenMarketingVideoList.ts +11 -0
  401. package/src/models/HeygenTemplateRequest.ts +10 -0
  402. package/src/models/HeygenTemplateResponseSingle.ts +11 -0
  403. package/src/models/HeygenVideoDetail.ts +13 -0
  404. package/src/models/HeygenVideoRequest.ts +10 -0
  405. package/src/models/HumanSupportTicket.ts +26 -0
  406. package/src/models/HumanSupportTicketStatusEnum.ts +14 -0
  407. package/src/models/InputQuestion.ts +11 -0
  408. package/src/models/IntegrationCredential.ts +15 -0
  409. package/src/models/IntegrationCredentialSchema.ts +11 -0
  410. package/src/models/IntialQuestionAnswer.ts +8 -0
  411. package/src/models/JobRun.ts +16 -0
  412. package/src/models/KindEnum.ts +14 -0
  413. package/src/models/LLMCredentialRequest.ts +19 -0
  414. package/src/models/LLMCredentialResponse.ts +15 -0
  415. package/src/models/LLMCredentialSchema.ts +11 -0
  416. package/src/models/LLMModelForTenant.ts +11 -0
  417. package/src/models/LLMQuestion.ts +20 -0
  418. package/src/models/LLMResponse.ts +19 -0
  419. package/src/models/LLMTracesListResponse.ts +10 -0
  420. package/src/models/LanguagesView.ts +10 -0
  421. package/src/models/LinkCourseRequest.ts +8 -0
  422. package/src/models/LinkCourseResponse.ts +10 -0
  423. package/src/models/LlmProviderEnum.ts +12 -0
  424. package/src/models/MCPServer.ts +26 -0
  425. package/src/models/MaskedIntegrationCredential.ts +15 -0
  426. package/src/models/MaskedLLMCredential.ts +15 -0
  427. package/src/models/MemoryComponentData.ts +10 -0
  428. package/src/models/MemoryComponentMemory.ts +9 -0
  429. package/src/models/MemoryComponentMemoryDetail.ts +13 -0
  430. package/src/models/MemoryComponentResponse.ts +10 -0
  431. package/src/models/MemoryProgress.ts +13 -0
  432. package/src/models/MemoryStatusRequestView.ts +11 -0
  433. package/src/models/MemoryStatusView.ts +11 -0
  434. package/src/models/Mentor.ts +92 -0
  435. package/src/models/MentorAudience.ts +10 -0
  436. package/src/models/MentorCategory.ts +14 -0
  437. package/src/models/MentorCategoryCreate.ts +16 -0
  438. package/src/models/MentorCategoryGroup.ts +16 -0
  439. package/src/models/MentorCategoryGroupCreate.ts +16 -0
  440. package/src/models/MentorCreate.ts +89 -0
  441. package/src/models/MentorCustomVoice.ts +9 -0
  442. package/src/models/MentorCustomVoiceResponse.ts +9 -0
  443. package/src/models/MentorData.ts +12 -0
  444. package/src/models/MentorDetailAnalytics.ts +11 -0
  445. package/src/models/MentorEval.ts +16 -0
  446. package/src/models/MentorEvalQuestion.ts +10 -0
  447. package/src/models/MentorEvalQuestionRequest.ts +9 -0
  448. package/src/models/MentorEvalReport.ts +15 -0
  449. package/src/models/MentorEvalRequest.ts +13 -0
  450. package/src/models/MentorFacet.ts +22 -0
  451. package/src/models/MentorFork.ts +10 -0
  452. package/src/models/MentorFromTemplateWithSettingRequest.ts +52 -0
  453. package/src/models/MentorMemorySettingsRequest.ts +11 -0
  454. package/src/models/MentorMemorySettingsResponse.ts +11 -0
  455. package/src/models/MentorMetadata.ts +10 -0
  456. package/src/models/MentorScenario.ts +11 -0
  457. package/src/models/MentorScenarioPrompt.ts +10 -0
  458. package/src/models/MentorSearchResponse.ts +40 -0
  459. package/src/models/MentorSession.ts +9 -0
  460. package/src/models/MentorSettings.ts +81 -0
  461. package/src/models/MentorSettingsPublic.ts +57 -0
  462. package/src/models/MentorSettingsRequest.ts +67 -0
  463. package/src/models/MentorVisibilityEnum.ts +14 -0
  464. package/src/models/MentorWizard.ts +9 -0
  465. package/src/models/MessageStatistics.ts +10 -0
  466. package/src/models/MessageView.ts +15 -0
  467. package/src/models/MessageViewRequest.ts +12 -0
  468. package/src/models/MessageViewUpdatResponse.ts +8 -0
  469. package/src/models/Metadata.ts +10 -0
  470. package/src/models/MetricChange.ts +9 -0
  471. package/src/models/MetricInfo.ts +10 -0
  472. package/src/models/ModelCost.ts +9 -0
  473. package/src/models/ModerationLog.ts +16 -0
  474. package/src/models/NoChatMessagesFound.ts +8 -0
  475. package/src/models/NotificationSource.ts +2 -2
  476. package/src/models/{TypeEnum.ts → NotificationSourceTypeEnum.ts} +1 -1
  477. package/src/models/NullEnum.ts +7 -0
  478. package/src/models/OAuthStartResponse.ts +8 -0
  479. package/src/models/Observation.ts +36 -0
  480. package/src/models/OvertimeData.ts +18 -0
  481. package/src/models/PageContent.ts +11 -0
  482. package/src/models/PaginatedAIGeneratedImageList.ts +12 -0
  483. package/src/models/PaginatedConversationsList.ts +12 -0
  484. package/src/models/PaginatedCourseCreationTaskFileList.ts +12 -0
  485. package/src/models/PaginatedCourseCreationTaskList.ts +12 -0
  486. package/src/models/PaginatedEdxCourseList.ts +12 -0
  487. package/src/models/PaginatedEmailPromptListList.ts +12 -0
  488. package/src/models/PaginatedHeygenMarketingVideoListList.ts +12 -0
  489. package/src/models/PaginatedHeygenTemplateResponseSingleList.ts +12 -0
  490. package/src/models/PaginatedHumanSupportTicketList.ts +12 -0
  491. package/src/models/PaginatedJobRunList.ts +12 -0
  492. package/src/models/PaginatedMCPServerList.ts +12 -0
  493. package/src/models/PaginatedMentorList.ts +12 -0
  494. package/src/models/PaginatedModerationLogList.ts +12 -0
  495. package/src/models/PaginatedObservationList.ts +12 -0
  496. package/src/models/PaginatedPeriodicAgentList.ts +12 -0
  497. package/src/models/PaginatedPeriodicAgentLogList.ts +12 -0
  498. package/src/models/PaginatedPlayWrightScriptList.ts +12 -0
  499. package/src/models/PaginatedRetrieverDocumentEmbeddingList.ts +12 -0
  500. package/src/models/PaginatedSectionList.ts +12 -0
  501. package/src/models/PaginatedSubSectionList.ts +12 -0
  502. package/src/models/PaginatedTicketMessageList.ts +12 -0
  503. package/src/models/PaginatedTopicStatisticsResponse.ts +12 -0
  504. package/src/models/PaginatedTraceList.ts +12 -0
  505. package/src/models/PaginatedUnitList.ts +12 -0
  506. package/src/models/PaginatedUserEdxMemoryList.ts +12 -0
  507. package/src/models/PaginatedUserMemoryList.ts +12 -0
  508. package/src/models/PaginatedVoiceList.ts +12 -0
  509. package/src/models/PatchedCallConfiguration.ts +31 -0
  510. package/src/models/PatchedConversations.ts +33 -0
  511. package/src/models/PatchedCourseCreationTaskFile.ts +12 -0
  512. package/src/models/PatchedCredentialRequest.ts +19 -0
  513. package/src/models/PatchedHumanSupportTicket.ts +26 -0
  514. package/src/models/PatchedLLMCredentialRequest.ts +19 -0
  515. package/src/models/PatchedMCPServer.ts +26 -0
  516. package/src/models/PatchedMentorCategoryGroupCreate.ts +16 -0
  517. package/src/models/PatchedMentorCreate.ts +89 -0
  518. package/src/models/PatchedPeriodicAgentCreate.ts +46 -0
  519. package/src/models/PatchedPlayWrightScript.ts +17 -0
  520. package/src/models/PatchedPrompt.ts +27 -0
  521. package/src/models/PatchedSection.ts +14 -0
  522. package/src/models/PatchedSubSection.ts +14 -0
  523. package/src/models/PatchedTicketMessage.ts +15 -0
  524. package/src/models/PatchedUnit.ts +16 -0
  525. package/src/models/PeriodInfo.ts +26 -0
  526. package/src/models/PeriodicAgent.ts +47 -0
  527. package/src/models/PeriodicAgentCreate.ts +46 -0
  528. package/src/models/PeriodicAgentLog.ts +16 -0
  529. package/src/models/PeriodicAgentLogStatusEnum.ts +14 -0
  530. package/src/models/PeriodicTask.ts +26 -0
  531. package/src/models/PieChartData.ts +10 -0
  532. package/src/models/PieChartSegment.ts +9 -0
  533. package/src/models/PinnedMessageCreate.ts +14 -0
  534. package/src/models/PinnedMessageGet.ts +12 -0
  535. package/src/models/PinnedMessageRequest.ts +11 -0
  536. package/src/models/PlayWrightScript.ts +17 -0
  537. package/src/models/PredictiveAnalyticsRequest.ts +9 -0
  538. package/src/models/PredictiveAnalyticsResponse.ts +9 -0
  539. package/src/models/PreviousAgentStatusEnum.ts +16 -0
  540. package/src/models/Prompt.ts +27 -0
  541. package/src/models/PromptCategory.ts +12 -0
  542. package/src/models/PromptFacet.ts +22 -0
  543. package/src/models/PromptSearchResponse.ts +40 -0
  544. package/src/models/PromptVisibilityEnum.ts +14 -0
  545. package/src/models/Provider637Enum.ts +14 -0
  546. package/src/models/QuestionCardTag.ts +13 -0
  547. package/src/models/QuestionRequest.ts +20 -0
  548. package/src/models/QuestionResponse.ts +15 -0
  549. package/src/models/RatingEnum.ts +12 -0
  550. package/src/models/RatingRecord.ts +9 -0
  551. package/src/models/RecentlyAccessedMentor.ts +13 -0
  552. package/src/models/RecommendCourseBlock.ts +8 -0
  553. package/src/models/RecommendCourseResponse.ts +8 -0
  554. package/src/models/RecommendedCoursesResponse.ts +38 -0
  555. package/src/models/RelatedText.ts +8 -0
  556. package/src/models/RequestDataVariable.ts +19 -0
  557. package/src/models/ResourceScrappedData.ts +18 -0
  558. package/src/models/ResourceScrappedDataStatusEnum.ts +16 -0
  559. package/src/models/ResponseDataVariable.ts +19 -0
  560. package/src/models/RetreiverTrainViewRequest.ts +15 -0
  561. package/src/models/RetreiverTrainViewResponse.ts +11 -0
  562. package/src/models/RetrieveTask.ts +8 -0
  563. package/src/models/RetrieverDocumentEmbedding.ts +33 -0
  564. package/src/models/RetrieverDocumentEmbeddingRequest.ts +71 -0
  565. package/src/models/RetrieverRequestSearch.ts +15 -0
  566. package/src/models/RetrieverRequestSearchDocument.ts +15 -0
  567. package/src/models/RetrieverResponseSearch.ts +12 -0
  568. package/src/models/ReuestDataVariableList.ts +9 -0
  569. package/src/models/RunMentorEval.ts +8 -0
  570. package/src/models/ScanWebhookRequest.ts +11 -0
  571. package/src/models/ScanWebhookResponse.ts +8 -0
  572. package/src/models/Section.ts +14 -0
  573. package/src/models/SectionWithChildren.ts +16 -0
  574. package/src/models/SeedMentorsView.ts +8 -0
  575. package/src/models/SentimentSummary.ts +9 -0
  576. package/src/models/ServiceEnum.ts +14 -0
  577. package/src/models/SessionBrowserScreenshot.ts +13 -0
  578. package/src/models/SessionDetail.ts +11 -0
  579. package/src/models/SessionMemoryAttachment.ts +8 -0
  580. package/src/models/SessionMemoryStorage.ts +11 -0
  581. package/src/models/ShareableMentorLink.ts +13 -0
  582. package/src/models/ShellLogs.ts +8 -0
  583. package/src/models/SpacedRepetitionLearningPath.ts +8 -0
  584. package/src/models/SpacedRepetitionQuestionStats.ts +10 -0
  585. package/src/models/StarMentor.ts +12 -0
  586. package/src/models/Status6eeEnum.ts +16 -0
  587. package/src/models/Step.ts +14 -0
  588. package/src/models/StepStatusEnum.ts +14 -0
  589. package/src/models/StripeCheckoutSessionRequest.ts +2 -2
  590. package/src/models/{ModeEnum.ts → StripeCheckoutSessionRequestModeEnum.ts} +1 -1
  591. package/src/models/SttProviderEnum.ts +16 -0
  592. package/src/models/StudentChatMessage.ts +9 -0
  593. package/src/models/StylesView.ts +9 -0
  594. package/src/models/SubSection.ts +14 -0
  595. package/src/models/SubSectionWithChildren.ts +16 -0
  596. package/src/models/TagsView.ts +10 -0
  597. package/src/models/TargetSystemEnum.ts +12 -0
  598. package/src/models/TaskView.ts +8 -0
  599. package/src/models/TemplateMentor.ts +14 -0
  600. package/src/models/TenantMentorTraces.ts +11 -0
  601. package/src/models/ThemeEnum.ts +12 -0
  602. package/src/models/TicketMessage.ts +15 -0
  603. package/src/models/TonesView.ts +9 -0
  604. package/src/models/ToolCategory.ts +10 -0
  605. package/src/models/ToolResponse.ts +20 -0
  606. package/src/models/TopicModel.ts +8 -0
  607. package/src/models/TopicRecord.ts +9 -0
  608. package/src/models/TopicStatistics.ts +12 -0
  609. package/src/models/TopicStatisticsResponse.ts +11 -0
  610. package/src/models/TopicSummaryView.ts +9 -0
  611. package/src/models/Trace.ts +22 -0
  612. package/src/models/TrainChatSessionDocumentView.ts +11 -0
  613. package/src/models/TrainChatSessionDocumentViewRequest.ts +11 -0
  614. package/src/models/TrainDocumentViewRequest.ts +75 -0
  615. package/src/models/TrainDocumentViewResponse.ts +20 -0
  616. package/src/models/TrainingStatusEnum.ts +16 -0
  617. package/src/models/TransportEnum.ts +12 -0
  618. package/src/models/TrendEntry.ts +9 -0
  619. package/src/models/TriggerRequest.ts +10 -0
  620. package/src/models/TriggerResponse.ts +11 -0
  621. package/src/models/TtsProviderEnum.ts +14 -0
  622. package/src/models/TypeC42Enum.ts +12 -0
  623. package/src/models/Unit.ts +16 -0
  624. package/src/models/UnitWithChildren.ts +18 -0
  625. package/src/models/UseMainCreds.ts +8 -0
  626. package/src/models/UserAllChatMemoryView.ts +12 -0
  627. package/src/models/UserCatalogItemMemoryView.ts +19 -0
  628. package/src/models/UserChatByPeriod.ts +9 -0
  629. package/src/models/UserChatFeedback.ts +20 -0
  630. package/src/models/UserChatFeedbackCount.ts +9 -0
  631. package/src/models/UserChatMemoryStatusRequestView.ts +11 -0
  632. package/src/models/UserChatMemoryStatusView.ts +11 -0
  633. package/src/models/UserChatMemoryUpdateView.ts +15 -0
  634. package/src/models/UserCountRecord.ts +9 -0
  635. package/src/models/UserEdxMemory.ts +20 -0
  636. package/src/models/UserMemory.ts +22 -0
  637. package/src/models/UserMemoryContextRequest.ts +18 -0
  638. package/src/models/UserMemoryContextResponse.ts +17 -0
  639. package/src/models/UserMemoryEntry.ts +12 -0
  640. package/src/models/UserMemoryEntryRequest.ts +10 -0
  641. package/src/models/UserMemoryRequest.ts +17 -0
  642. package/src/models/UserMetric.ts +9 -0
  643. package/src/models/UserMetricsResponse.ts +12 -0
  644. package/src/models/UserSentimentCountView.ts +9 -0
  645. package/src/models/UserTrendByPeriod.ts +10 -0
  646. package/src/models/VectorResult.ts +13 -0
  647. package/src/models/VideoCaption.ts +8 -0
  648. package/src/models/Voice.ts +14 -0
  649. package/src/models/WebResource.ts +14 -0
  650. package/src/models/WebResourceCard.ts +12 -0
  651. package/src/models/WebResourcesQuery.ts +8 -0
  652. package/src/services/AiAccountService.ts +755 -0
  653. package/src/services/AiAnalyticsService.ts +11725 -4868
  654. package/src/services/AiIndexService.ts +676 -0
  655. package/src/services/AiMarketingService.ts +96 -0
  656. package/src/services/AiMediaService.ts +289 -0
  657. package/src/services/AiMentorService.ts +10059 -0
  658. package/src/services/AiPromptService.ts +1985 -0
  659. package/src/services/AnalyticsService.ts +314 -0
  660. package/src/services/SearchService.ts +1446 -398
@@ -0,0 +1,384 @@
1
+ import type { CheckDocumentTrainingStatus } from '../models/CheckDocumentTrainingStatus';
2
+ import type { DocumentSettingsResponse } from '../models/DocumentSettingsResponse';
3
+ import type { PaginatedRetrieverDocumentEmbeddingList } from '../models/PaginatedRetrieverDocumentEmbeddingList';
4
+ import type { ResourceScrappedData } from '../models/ResourceScrappedData';
5
+ import type { RetreiverTrainViewRequest } from '../models/RetreiverTrainViewRequest';
6
+ import type { RetreiverTrainViewResponse } from '../models/RetreiverTrainViewResponse';
7
+ import type { RetrieverDocumentEmbedding } from '../models/RetrieverDocumentEmbedding';
8
+ import type { RetrieverDocumentEmbeddingRequest } from '../models/RetrieverDocumentEmbeddingRequest';
9
+ import type { RetrieverRequestSearch } from '../models/RetrieverRequestSearch';
10
+ import type { RetrieverRequestSearchDocument } from '../models/RetrieverRequestSearchDocument';
11
+ import type { RetrieverResponseSearch } from '../models/RetrieverResponseSearch';
12
+ import type { ScanWebhookRequest } from '../models/ScanWebhookRequest';
13
+ import type { ScanWebhookResponse } from '../models/ScanWebhookResponse';
14
+ import type { TrainChatSessionDocumentView } from '../models/TrainChatSessionDocumentView';
15
+ import type { TrainChatSessionDocumentViewRequest } from '../models/TrainChatSessionDocumentViewRequest';
16
+ import type { TrainDocumentViewRequest } from '../models/TrainDocumentViewRequest';
17
+ import type { TrainDocumentViewResponse } from '../models/TrainDocumentViewResponse';
18
+ import type { CancelablePromise } from '../core/CancelablePromise';
19
+ export declare class AiIndexService {
20
+ /**
21
+ * Retrieve details of a specific document embedding.
22
+ *
23
+ * This endpoint returns detailed information about a specific
24
+ * document embedding identified by its ID.
25
+ *
26
+ * Args:
27
+ * request: The HTTP request.
28
+ * org: Organization key identifier.
29
+ * document_id: The ID of the document embedding to retrieve.
30
+ *
31
+ * Returns:
32
+ * Response: Detailed information about the document embedding.
33
+ *
34
+ * Raises:
35
+ * NotFound: If the specified document embedding does not exist.
36
+ * @returns RetrieverDocumentEmbedding
37
+ * @throws ApiError
38
+ */
39
+ static aiIndexOrgsUsersDocumentsRetrieve({ documentId, org, userId, }: {
40
+ documentId: string;
41
+ org: string;
42
+ }): CancelablePromise<RetrieverDocumentEmbedding>;
43
+ /**
44
+ * Update a specific document embedding.
45
+ *
46
+ * This endpoint allows updating various properties of a document embedding,
47
+ * including its name, type, pathway, and training status.
48
+ *
49
+ * Args:
50
+ * request: The HTTP request containing the updated document data.
51
+ * org: Organization key identifier.
52
+ * document_id: The ID of the document embedding to update.
53
+ *
54
+ * Returns:
55
+ * Response: The updated document embedding information.
56
+ *
57
+ * Raises:
58
+ * BadRequest: If the provided data is invalid.
59
+ * NotFound: If the specified document embedding does not exist.
60
+ * @returns RetrieverDocumentEmbedding
61
+ * @throws ApiError
62
+ */
63
+ static aiIndexOrgsUsersDocumentsUpdate({ documentId, org, userId, formData, }: {
64
+ documentId: string;
65
+ org: string;
66
+ formData: RetrieverDocumentEmbeddingRequest;
67
+ }): CancelablePromise<RetrieverDocumentEmbedding>;
68
+ /**
69
+ * Delete a specific document embedding.
70
+ *
71
+ * This endpoint removes a document embedding from the system,
72
+ * including untraining it from any associated pathways.
73
+ *
74
+ * Args:
75
+ * request: The HTTP request.
76
+ * org: Organization key identifier.
77
+ * document_id: The ID of the document embedding to delete.
78
+ *
79
+ * Returns:
80
+ * Response: An empty response with a 204 status code if successful.
81
+ *
82
+ * Raises:
83
+ * NotFound: If the specified document embedding does not exist.
84
+ * @returns void
85
+ * @throws ApiError
86
+ */
87
+ static aiIndexOrgsUsersDocumentsDestroy({ documentId, org, userId, }: {
88
+ documentId: string;
89
+ org: string;
90
+ }): CancelablePromise<void>;
91
+ /**
92
+ * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
93
+ * @returns DocumentSettingsResponse
94
+ * @throws ApiError
95
+ */
96
+ static aiIndexOrgsUsersDocumentsSettingsRetrieve({ documentId, org, userId, }: {
97
+ documentId: string;
98
+ org: string;
99
+ }): CancelablePromise<DocumentSettingsResponse>;
100
+ /**
101
+ * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
102
+ * @returns DocumentSettingsResponse
103
+ * @throws ApiError
104
+ */
105
+ static aiIndexOrgsUsersDocumentsSettingsCreate({ documentId, org, userId, requestBody, }: {
106
+ documentId: string;
107
+ org: string;
108
+ requestBody?: DocumentSettingsResponse;
109
+ }): CancelablePromise<DocumentSettingsResponse>;
110
+ /**
111
+ * Description:
112
+ * Retrieves a list of document embeddings for a specific pathway with optional search and pagination.
113
+ *
114
+ * Methods:
115
+ * - GET: Retrieves document embeddings that match the specified search criteria and are paginated according to offset and limit.
116
+ *
117
+ * Parameters:
118
+ * - search (str): Search query to filter document names or URLs.
119
+ * - offset (int): Offset number for pagination.
120
+ * - limit (int): Limit number for pagination.
121
+ *
122
+ * Returns:
123
+ * - GET: A paginated list of document embeddings with their details.
124
+ * {
125
+ * "count": 10,
126
+ * "next": "http://api.example.com/retriever_documents/?offset=10&limit=2",
127
+ * "previous": "http://api.example.com/retriever_documents/?offset=0&limit=2",
128
+ * "results": [
129
+ * {
130
+ * "document_name": "Document2",
131
+ * "platform_key": "example_platform",
132
+ * "pathway": "example_pathway"
133
+ * }
134
+ * ]
135
+ * }
136
+ *
137
+ * Error Responses:
138
+ * - 400 Bad Request: Invalid query parameters.
139
+ * - 404 Not Found: No document embeddings found for the specified criteria.
140
+ * @returns PaginatedRetrieverDocumentEmbeddingList
141
+ * @throws ApiError
142
+ */
143
+ static aiIndexOrgsUsersDocumentsPathwaysList({ org, pathway, userId, limit, offset, search, }: {
144
+ org: string;
145
+ pathway: string; /**
146
+ * limit number
147
+ */
148
+ limit?: number; /**
149
+ * Offset number
150
+ */
151
+ offset?: number; /**
152
+ * Search query
153
+ */
154
+ search?: string;
155
+ }): CancelablePromise<PaginatedRetrieverDocumentEmbeddingList>;
156
+ /**
157
+ * Retrieve resource documents similar to the given query.
158
+ *
159
+ * This endpoint performs a semantic search to find documents that are
160
+ * relevant to the provided query within the specified pathway.
161
+ *
162
+ * Args:
163
+ * request: The HTTP request containing the search query.
164
+ * org: Organization key identifier.
165
+ *
166
+ * Returns:
167
+ * Response: A list of documents relevant to the search query.
168
+ *
169
+ * Raises:
170
+ * ValidationError: If the request data is invalid.
171
+ * @returns RetrieverResponseSearch
172
+ * @throws ApiError
173
+ */
174
+ static aiIndexOrgsUsersDocumentsSearchCreate({ org, userId, requestBody, }: {
175
+ org: string;
176
+ requestBody: RetrieverRequestSearch;
177
+ }): CancelablePromise<RetrieverResponseSearch>;
178
+ /**
179
+ * Retrieve document sources related to a given query.
180
+ *
181
+ * This endpoint performs a semantic search to find document sources
182
+ * that are relevant to the provided query within the specified pathway,
183
+ * and returns them along with confidence levels.
184
+ *
185
+ * Args:
186
+ * request: The HTTP request containing the search query.
187
+ * org: Organization key identifier.
188
+ *
189
+ * Returns:
190
+ * Response: A list of document sources with confidence levels.
191
+ *
192
+ * Raises:
193
+ * ValidationError: If the request data is invalid.
194
+ * @returns RetrieverRequestSearchDocument
195
+ * @throws ApiError
196
+ */
197
+ static aiIndexOrgsUsersDocumentsSourcesCreate({ org, userId, requestBody, }: {
198
+ org: string;
199
+ requestBody: RetrieverRequestSearch;
200
+ }): CancelablePromise<Array<RetrieverRequestSearchDocument>>;
201
+ /**
202
+ * Check the status of a document training task.
203
+ *
204
+ * This endpoint retrieves the current status of an asynchronous
205
+ * document training task that was previously initiated.
206
+ *
207
+ * Args:
208
+ * request: The HTTP request.
209
+ * org: Organization key identifier.
210
+ * task_id: The ID of the training task to check.
211
+ *
212
+ * Returns:
213
+ * Response: The current status of the document training task,
214
+ * which can be "pending", "completed", or "failed".
215
+ * @returns CheckDocumentTrainingStatus
216
+ * @throws ApiError
217
+ */
218
+ static aiIndexOrgsUsersDocumentsTasksRetrieve({ org, taskId, userId, }: {
219
+ org: string;
220
+ taskId: string;
221
+ }): CancelablePromise<CheckDocumentTrainingStatus>;
222
+ /**
223
+ * Train a document through a worker process.
224
+ *
225
+ * This endpoint queues larger documents for training through a worker
226
+ * process, which is more suitable for handling documents that would
227
+ * take too long to process directly.
228
+ *
229
+ * Args:
230
+ * request: The HTTP request containing the document information.
231
+ * org: Organization key identifier.
232
+ *
233
+ * Returns:
234
+ * Response: A confirmation that the document was queued for training,
235
+ * including a task ID for tracking the progress.
236
+ *
237
+ * Raises:
238
+ * ValidationError: If the request data is invalid.
239
+ * BadRequest: If there was an error processing the document.
240
+ * @returns TrainDocumentViewResponse
241
+ * @throws ApiError
242
+ */
243
+ static aiIndexOrgsUsersDocumentsTrainCreate({ org, userId, formData, }: {
244
+ org: string;
245
+ formData: TrainDocumentViewRequest;
246
+ }): CancelablePromise<TrainDocumentViewResponse>;
247
+ /**
248
+ * Train a document directly without using a worker.
249
+ *
250
+ * This endpoint is designed for training smaller documents directly
251
+ * without queuing them through a worker process. For larger documents,
252
+ * use the TrainDocumentView endpoint instead.
253
+ *
254
+ * Args:
255
+ * request: The HTTP request containing the document information.
256
+ * org: Organization key identifier.
257
+ *
258
+ * Returns:
259
+ * Response: A confirmation that the document was trained successfully.
260
+ *
261
+ * Raises:
262
+ * ValidationError: If the request data is invalid.
263
+ * BadRequest: If the document training failed.
264
+ * @returns RetreiverTrainViewResponse
265
+ * @throws ApiError
266
+ */
267
+ static aiIndexOrgsUsersDocumentsTrainRetrieverCreate({ org, userId, formData, }: {
268
+ org: string;
269
+ formData: RetreiverTrainViewRequest;
270
+ }): CancelablePromise<RetreiverTrainViewResponse>;
271
+ /**
272
+ * Description:
273
+ * Submit a document file in a chat session. Checks file type, size, and ensures the session exists, then processes the file.
274
+ * Process document for use in a specific chat session.
275
+ * which will be processed and made available for the AI to reference
276
+ * when responding to queries in that session.
277
+ *
278
+ * Methods:
279
+ * - POST: Submits a document or media file for training within a specified chat session.
280
+ *
281
+ * Parameters:
282
+ * - org (str):
283
+ * - session_id (str): UUID of the chat session for which the document is being submitted.
284
+ * - *args, **kwargs: Additional arguments.
285
+ * - file (file): Multipart file input.
286
+ *
287
+ * Returns:
288
+ * - POST: Returns a JSON message with the result of the upload process. Response code 200 on success.
289
+ * {
290
+ * "message": "File processed."
291
+ * }
292
+ *
293
+ * Error Responses:
294
+ * - 400 Bad Request:
295
+ * - "File field is required" if the 'file' parameter is missing.
296
+ * - "invalid file object" if the file object is not valid.
297
+ * - Specific error message if an exception occurs while saving to Redis.
298
+ * - 404 Not Found:
299
+ * - "Session not found" if the provided session_id does not match any existing session.
300
+ * - 413 Request Entity Too Large:
301
+ * - "file is too large" including specific limits for document and media files if the file exceeds size limits.
302
+ *
303
+ * Access Control:
304
+ * Requires authentication with a Bearer token in the Authorization header. The user associated with the session must exist and be authorized for the request.
305
+ * @returns TrainChatSessionDocumentView
306
+ * @throws ApiError
307
+ */
308
+ static aiIndexOrgsUsersDocumentsTrainSessionsCreate({ org, sessionId, userId, formData, }: {
309
+ org: string;
310
+ sessionId: string;
311
+ formData: TrainChatSessionDocumentViewRequest;
312
+ }): CancelablePromise<TrainChatSessionDocumentView>;
313
+ /**
314
+ * Retrieve detailed information about a specific scraped resource.
315
+ *
316
+ * This endpoint returns the complete scraped data for a specific resource
317
+ * identified by its ID.
318
+ *
319
+ * Args:
320
+ * request: The HTTP request.
321
+ * org: Organization key identifier.
322
+ * user_id: The username of the user associated with the resource.
323
+ * resource_id: The ID of the resource to retrieve.
324
+ *
325
+ * Returns:
326
+ * Response: The complete scraped data for the specified resource.
327
+ *
328
+ * Raises:
329
+ * NotFound: If the specified resource data does not exist.
330
+ * @returns ResourceScrappedData
331
+ * @throws ApiError
332
+ */
333
+ static aiIndexOrgsUsersResourceDataScrappedRetrieve({ org, resourceId, userId, }: {
334
+ org: string;
335
+ resourceId: string;
336
+ }): CancelablePromise<ResourceScrappedData>;
337
+ /**
338
+ * Retrieve and filter scraped data from resources.
339
+ *
340
+ * This endpoint returns a list of scraped data from resources associated
341
+ * with the specified user, with optional filtering based on query parameters.
342
+ *
343
+ * Args:
344
+ * request: The HTTP request containing filter query parameters.
345
+ * org: Organization key identifier.
346
+ * user_id: The username of the user whose resources to retrieve.
347
+ *
348
+ * Returns:
349
+ * Response: A list of scraped resource data matching the filter criteria.
350
+ *
351
+ * Raises:
352
+ * BadRequest: If the username is invalid or query parameters are incorrect.
353
+ * @returns ResourceScrappedData
354
+ * @throws ApiError
355
+ */
356
+ static aiIndexOrgsUsersResourceDataScrappedList({ org, userId, isArchive, isLike, isVideo, searchKey, }: {
357
+ org: string;
358
+ isArchive?: boolean | null;
359
+ isLike?: boolean | null;
360
+ isVideo?: boolean | null;
361
+ searchKey?: string;
362
+ }): CancelablePromise<Array<ResourceScrappedData>>;
363
+ /**
364
+ * Receive and process file scan status from external security scanning services.
365
+ *
366
+ * This webhook endpoint receives scan results for files that have been submitted
367
+ * for security scanning. It processes the results asynchronously and determines
368
+ * if the files are safe for further processing.
369
+ *
370
+ * Args:
371
+ * request: The HTTP request containing scan result data.
372
+ *
373
+ * Returns:
374
+ * Response: A confirmation that the scan result was received and is being processed.
375
+ *
376
+ * Raises:
377
+ * BadRequest: If the provided scan result data is invalid.
378
+ * @returns ScanWebhookResponse
379
+ * @throws ApiError
380
+ */
381
+ static aiIndexWebhookScanCreate({ requestBody, }: {
382
+ requestBody: ScanWebhookRequest;
383
+ }): CancelablePromise<ScanWebhookResponse>;
384
+ }
@@ -0,0 +1,38 @@
1
+ import type { HeygenMarketingVideoDetail } from '../models/HeygenMarketingVideoDetail';
2
+ import type { HeygenMarketingVideoList } from '../models/HeygenMarketingVideoList';
3
+ import type { PaginatedHeygenMarketingVideoListList } from '../models/PaginatedHeygenMarketingVideoListList';
4
+ import type { CancelablePromise } from '../core/CancelablePromise';
5
+ export declare class AiMarketingService {
6
+ /**
7
+ * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
8
+ * @returns PaginatedHeygenMarketingVideoListList
9
+ * @throws ApiError
10
+ */
11
+ static aiMarketingOrgsUsersHeygenVideosList({ org, userId, page, pageSize, }: {
12
+ org: string; /**
13
+ * A page number within the paginated result set.
14
+ */
15
+ page?: number; /**
16
+ * Number of results to return per page.
17
+ */
18
+ pageSize?: number;
19
+ }): CancelablePromise<PaginatedHeygenMarketingVideoListList>;
20
+ /**
21
+ * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
22
+ * @returns HeygenMarketingVideoList
23
+ * @throws ApiError
24
+ */
25
+ static aiMarketingOrgsUsersHeygenVideosCreate({ org, userId, requestBody, }: {
26
+ org: string;
27
+ requestBody?: HeygenMarketingVideoList;
28
+ }): CancelablePromise<HeygenMarketingVideoList>;
29
+ /**
30
+ * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
31
+ * @returns HeygenMarketingVideoDetail
32
+ * @throws ApiError
33
+ */
34
+ static aiMarketingOrgsUsersHeygenVideosRetrieve({ name, org, userId, }: {
35
+ name: string;
36
+ org: string;
37
+ }): CancelablePromise<HeygenMarketingVideoDetail>;
38
+ }
@@ -0,0 +1,122 @@
1
+ import type { HeygenTemplateRequest } from '../models/HeygenTemplateRequest';
2
+ import type { HeygenTemplateResponseSingle } from '../models/HeygenTemplateResponseSingle';
3
+ import type { HeygenVideoDetail } from '../models/HeygenVideoDetail';
4
+ import type { HeygenVideoRequest } from '../models/HeygenVideoRequest';
5
+ import type { PaginatedHeygenMarketingVideoListList } from '../models/PaginatedHeygenMarketingVideoListList';
6
+ import type { PaginatedHeygenTemplateResponseSingleList } from '../models/PaginatedHeygenTemplateResponseSingleList';
7
+ import type { VideoCaption } from '../models/VideoCaption';
8
+ import type { CancelablePromise } from '../core/CancelablePromise';
9
+ export declare class AiMediaService {
10
+ /**
11
+ * API view to list or append Heygen template ids for a tenant.
12
+ * @returns PaginatedHeygenTemplateResponseSingleList
13
+ * @throws ApiError
14
+ */
15
+ static aiMediaOrgsUsersHeygenTemplatesList({ org, userId, page, }: {
16
+ org: string; /**
17
+ * A page number within the paginated result set.
18
+ */
19
+ page?: number;
20
+ }): CancelablePromise<PaginatedHeygenTemplateResponseSingleList>;
21
+ /**
22
+ * Endpoint to add a Heygen template id to an org.
23
+ *
24
+ * Only platform admins have access to this endpoint.
25
+ * @returns HeygenTemplateResponseSingle
26
+ * @throws ApiError
27
+ */
28
+ static aiMediaOrgsUsersHeygenTemplatesCreate({ org, userId, requestBody, }: {
29
+ org: string;
30
+ requestBody: HeygenTemplateRequest;
31
+ }): CancelablePromise<HeygenTemplateResponseSingle>;
32
+ /**
33
+ * Endpoint to delete a Heygen template id for an org.
34
+ *
35
+ *
36
+ * The reponse status code is always 204 when no error.
37
+ *
38
+ *
39
+ * Only platform admins have access to this endpoint.
40
+ * @returns void
41
+ * @throws ApiError
42
+ */
43
+ static aiMediaOrgsUsersHeygenTemplatesDestroy({ org, templateName, userId, }: {
44
+ org: string;
45
+ templateName: string;
46
+ }): CancelablePromise<void>;
47
+ /**
48
+ * Endpoint to download caption for a video.
49
+ * @returns any No response body
50
+ * @throws ApiError
51
+ */
52
+ static aiMediaOrgsUsersHeygenVideoCaptionsRetrieve({ heygenMarketingVideoId, org, userId, }: {
53
+ heygenMarketingVideoId: string;
54
+ org: string;
55
+ }): CancelablePromise<any>;
56
+ /**
57
+ * Endpoint to upload a new caption for a generated video.
58
+ *
59
+ * Only platform admins have access to this endpoint.
60
+ * @returns HeygenVideoDetail
61
+ * @throws ApiError
62
+ */
63
+ static aiMediaOrgsUsersHeygenVideoCaptionsCreate({ heygenMarketingVideoId, org, userId, formData, }: {
64
+ heygenMarketingVideoId: string;
65
+ org: string;
66
+ formData: VideoCaption;
67
+ }): CancelablePromise<HeygenVideoDetail>;
68
+ /**
69
+ * Endpoint used to download a heygen video.
70
+ *
71
+ *
72
+ * Only platform admins have access to this endpoint.
73
+ * @returns any No response body
74
+ * @throws ApiError
75
+ */
76
+ static aiMediaOrgsUsersHeygenVideoDownloadRetrieve({ heygenMarketingVideoId, org, userId, }: {
77
+ heygenMarketingVideoId: string;
78
+ org: string;
79
+ }): CancelablePromise<any>;
80
+ /**
81
+ * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
82
+ * @returns PaginatedHeygenMarketingVideoListList
83
+ * @throws ApiError
84
+ */
85
+ static aiMediaOrgsUsersHeygenVideosList({ org, userId, page, }: {
86
+ org: string; /**
87
+ * A page number within the paginated result set.
88
+ */
89
+ page?: number;
90
+ }): CancelablePromise<PaginatedHeygenMarketingVideoListList>;
91
+ /**
92
+ * Endpoint to create a Heygen video
93
+ *
94
+ * Only platform admins have access to this endpoint.
95
+ * @returns HeygenVideoDetail
96
+ * @throws ApiError
97
+ */
98
+ static aiMediaOrgsUsersHeygenVideosCreate({ org, userId, requestBody, }: {
99
+ org: string;
100
+ requestBody: HeygenVideoRequest;
101
+ }): CancelablePromise<HeygenVideoDetail>;
102
+ /**
103
+ * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
104
+ * @returns HeygenVideoDetail
105
+ * @throws ApiError
106
+ */
107
+ static aiMediaOrgsUsersHeygenVideosRetrieve({ heygenMarketingVideoId, org, userId, }: {
108
+ heygenMarketingVideoId: string;
109
+ org: string;
110
+ }): CancelablePromise<HeygenVideoDetail>;
111
+ /**
112
+ * Endpoint used to delete a heygen video.
113
+ *
114
+ * Only platform admins have access to this endpoint.
115
+ * @returns void
116
+ * @throws ApiError
117
+ */
118
+ static aiMediaOrgsUsersHeygenVideosDestroy({ heygenMarketingVideoId, org, userId, }: {
119
+ heygenMarketingVideoId: string;
120
+ org: string;
121
+ }): CancelablePromise<void>;
122
+ }