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