@iblai/iblai-api 2025.11.13-teams-bot-renovation-3-ai → 2025.11.13-teams-bot-renovation-4-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 (871) hide show
  1. package/dist/index.cjs.js +3131 -25195
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +3132 -25187
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.umd.js +3131 -25195
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/types/index.d.ts +1 -425
  8. package/dist/types/models/{StripeCheckoutSessionRequestModeEnum.d.ts → ModeEnum.d.ts} +1 -1
  9. package/dist/types/models/Pagination.d.ts +11 -16
  10. package/dist/types/models/StripeCheckoutSessionRequest.d.ts +2 -2
  11. package/dist/types/services/AiAnalyticsService.d.ts +26 -4698
  12. package/dist/types/services/AnalyticsService.d.ts +4 -709
  13. package/dist/types/services/SearchService.d.ts +0 -738
  14. package/package.json +1 -1
  15. package/sdk_schema.yml +23867 -71785
  16. package/src/core/OpenAPI.ts +1 -1
  17. package/src/index.ts +1 -425
  18. package/src/models/{StripeCheckoutSessionRequestModeEnum.ts → ModeEnum.ts} +1 -1
  19. package/src/models/Pagination.ts +11 -16
  20. package/src/models/StripeCheckoutSessionRequest.ts +2 -2
  21. package/src/services/AiAnalyticsService.ts +5255 -12921
  22. package/src/services/AnalyticsService.ts +177 -1234
  23. package/src/services/SearchService.ts +398 -1459
  24. package/dist/types/models/AIGeneratedImage.d.ts +0 -13
  25. package/dist/types/models/AIUserProfileMemoryRelation.d.ts +0 -4
  26. package/dist/types/models/AIUserProfileRequest.d.ts +0 -4
  27. package/dist/types/models/AccessEnum.d.ts +0 -8
  28. package/dist/types/models/AccessTimesHeatmap.d.ts +0 -5
  29. package/dist/types/models/AccessibleMentorsByEmailRequest.d.ts +0 -13
  30. package/dist/types/models/AccessibleMentorsByEmailResponse.d.ts +0 -13
  31. package/dist/types/models/ActionBreakdown.d.ts +0 -10
  32. package/dist/types/models/AddMentorToDisclaimer.d.ts +0 -12
  33. package/dist/types/models/AlignMentorBubbleEnum.d.ts +0 -8
  34. package/dist/types/models/AnalyticsOverview.d.ts +0 -7
  35. package/dist/types/models/Answer.d.ts +0 -11
  36. package/dist/types/models/Artifact.d.ts +0 -56
  37. package/dist/types/models/ArtifactList.d.ts +0 -45
  38. package/dist/types/models/AssumedKnowledge.d.ts +0 -4
  39. package/dist/types/models/AssumedKnowledgeLevel.d.ts +0 -4
  40. package/dist/types/models/AudioToTextRequest.d.ts +0 -3
  41. package/dist/types/models/AudioToTextResponse.d.ts +0 -3
  42. package/dist/types/models/AuthTypeEnum.d.ts +0 -10
  43. package/dist/types/models/AutoMemoryPrompt.d.ts +0 -4
  44. package/dist/types/models/BaseFinanceResponse.d.ts +0 -37
  45. package/dist/types/models/BillingPeriod.d.ts +0 -8
  46. package/dist/types/models/Bot.d.ts +0 -15
  47. package/dist/types/models/BotCommand.d.ts +0 -6
  48. package/dist/types/models/BotCreate.d.ts +0 -12
  49. package/dist/types/models/Breakdown.d.ts +0 -11
  50. package/dist/types/models/CallAuthenticationRequest.d.ts +0 -17
  51. package/dist/types/models/CallAuthenticationResponse.d.ts +0 -21
  52. package/dist/types/models/CallConfiguration.d.ts +0 -26
  53. package/dist/types/models/CallConfigurationModeEnum.d.ts +0 -8
  54. package/dist/types/models/ChatHistory.d.ts +0 -9
  55. package/dist/types/models/ChatHistoryFilterData.d.ts +0 -9
  56. package/dist/types/models/ChatHistoryFilterUser.d.ts +0 -5
  57. package/dist/types/models/ChatHistoryItem.d.ts +0 -5
  58. package/dist/types/models/ChatHistorySessionId.d.ts +0 -3
  59. package/dist/types/models/ChatSessionRequest.d.ts +0 -15
  60. package/dist/types/models/ChatSessionResponse.d.ts +0 -6
  61. package/dist/types/models/CheckDocumentTrainingStatus.d.ts +0 -10
  62. package/dist/types/models/ComparisonInfo.d.ts +0 -29
  63. package/dist/types/models/ComponentBlock.d.ts +0 -9
  64. package/dist/types/models/ComponentBlockTypeEnum.d.ts +0 -8
  65. package/dist/types/models/ConnectedService.d.ts +0 -24
  66. package/dist/types/models/ConversationChartPoint.d.ts +0 -4
  67. package/dist/types/models/ConversationDetailResponse.d.ts +0 -4
  68. package/dist/types/models/ConversationListItem.d.ts +0 -24
  69. package/dist/types/models/ConversationListResponse.d.ts +0 -6
  70. package/dist/types/models/ConversationMessage.d.ts +0 -11
  71. package/dist/types/models/ConversationRating.d.ts +0 -6
  72. package/dist/types/models/ConversationSummary.d.ts +0 -5
  73. package/dist/types/models/ConversationVolume.d.ts +0 -4
  74. package/dist/types/models/Conversations.d.ts +0 -33
  75. package/dist/types/models/ConversationsChart.d.ts +0 -5
  76. package/dist/types/models/Cost.d.ts +0 -3
  77. package/dist/types/models/CostPerTenant.d.ts +0 -6
  78. package/dist/types/models/CourseCreationTask.d.ts +0 -31
  79. package/dist/types/models/CourseCreationTaskFile.d.ts +0 -7
  80. package/dist/types/models/CourseCreationTaskStatusEnum.d.ts +0 -16
  81. package/dist/types/models/CourseRecommendation.d.ts +0 -45
  82. package/dist/types/models/CrawlerPatternTypeEnum.d.ts +0 -8
  83. package/dist/types/models/CredentialRequest.d.ts +0 -14
  84. package/dist/types/models/CrontabSchedule.d.ts +0 -22
  85. package/dist/types/models/CurrentUsersResponse.d.ts +0 -8
  86. package/dist/types/models/CustomInstructionResponse.d.ts +0 -13
  87. package/dist/types/models/DataSet.d.ts +0 -21
  88. package/dist/types/models/DataSetCreate.d.ts +0 -12
  89. package/dist/types/models/DataSetStatusEnum.d.ts +0 -12
  90. package/dist/types/models/DateRange.d.ts +0 -4
  91. package/dist/types/models/Disclaimer.d.ts +0 -17
  92. package/dist/types/models/DisclaimerAgreement.d.ts +0 -11
  93. package/dist/types/models/DisclaimerScopeEnum.d.ts +0 -8
  94. package/dist/types/models/DiscordConfig.d.ts +0 -7
  95. package/dist/types/models/DiscordUserConfig.d.ts +0 -10
  96. package/dist/types/models/DiscordWebhook.d.ts +0 -6
  97. package/dist/types/models/Document.d.ts +0 -41
  98. package/dist/types/models/DocumentFacet.d.ts +0 -17
  99. package/dist/types/models/DocumentFromPoolRequest.d.ts +0 -10
  100. package/dist/types/models/DocumentSearchResponse.d.ts +0 -35
  101. package/dist/types/models/DocumentSettingsResponse.d.ts +0 -3
  102. package/dist/types/models/EdxCourse.d.ts +0 -11
  103. package/dist/types/models/ElevenlabsCustomVoice.d.ts +0 -4
  104. package/dist/types/models/ElevenlabsCustomVoiceResponse.d.ts +0 -8
  105. package/dist/types/models/EmailPromptDetail.d.ts +0 -13
  106. package/dist/types/models/EmailPromptList.d.ts +0 -11
  107. package/dist/types/models/EmailPromptSummary.d.ts +0 -5
  108. package/dist/types/models/Entity.d.ts +0 -11
  109. package/dist/types/models/EntityTypeEnum.d.ts +0 -10
  110. package/dist/types/models/ExternalServiceInfo.d.ts +0 -6
  111. package/dist/types/models/FileUploadURLRequest.d.ts +0 -21
  112. package/dist/types/models/FileUploadURLResponse.d.ts +0 -25
  113. package/dist/types/models/FinanceDetailsResponse.d.ts +0 -13
  114. package/dist/types/models/FinanceFilters.d.ts +0 -15
  115. package/dist/types/models/FreeUsageCount.d.ts +0 -3
  116. package/dist/types/models/FullCourse.d.ts +0 -13
  117. package/dist/types/models/GreetingMethodEnum.d.ts +0 -8
  118. package/dist/types/models/GuidedPrompt.d.ts +0 -4
  119. package/dist/types/models/GuidedPromptsResponse.d.ts +0 -5
  120. package/dist/types/models/HeygenMarketingVideoDetail.d.ts +0 -8
  121. package/dist/types/models/HeygenMarketingVideoList.d.ts +0 -6
  122. package/dist/types/models/HeygenTemplateRequest.d.ts +0 -5
  123. package/dist/types/models/HeygenTemplateResponseSingle.d.ts +0 -6
  124. package/dist/types/models/HeygenVideoDetail.d.ts +0 -8
  125. package/dist/types/models/HeygenVideoRequest.d.ts +0 -5
  126. package/dist/types/models/HumanSupportTicket.d.ts +0 -23
  127. package/dist/types/models/HumanSupportTicketStatusEnum.d.ts +0 -10
  128. package/dist/types/models/InputQuestion.d.ts +0 -6
  129. package/dist/types/models/IntegrationCredential.d.ts +0 -10
  130. package/dist/types/models/IntegrationCredentialSchema.d.ts +0 -6
  131. package/dist/types/models/IntialQuestionAnswer.d.ts +0 -3
  132. package/dist/types/models/InvoiceReportResponse.d.ts +0 -13
  133. package/dist/types/models/JobRun.d.ts +0 -11
  134. package/dist/types/models/KindEnum.d.ts +0 -10
  135. package/dist/types/models/LLMCredentialRequest.d.ts +0 -14
  136. package/dist/types/models/LLMCredentialResponse.d.ts +0 -10
  137. package/dist/types/models/LLMCredentialSchema.d.ts +0 -6
  138. package/dist/types/models/LLMModelForTenant.d.ts +0 -6
  139. package/dist/types/models/LLMQuestion.d.ts +0 -15
  140. package/dist/types/models/LLMResponse.d.ts +0 -18
  141. package/dist/types/models/LLMTracesListResponse.d.ts +0 -5
  142. package/dist/types/models/LanguagesView.d.ts +0 -5
  143. package/dist/types/models/LinkCourseRequest.d.ts +0 -3
  144. package/dist/types/models/LinkCourseResponse.d.ts +0 -5
  145. package/dist/types/models/LlmProviderEnum.d.ts +0 -8
  146. package/dist/types/models/MCPServer.d.ts +0 -47
  147. package/dist/types/models/MCPServerConnection.d.ts +0 -47
  148. package/dist/types/models/MCPServerConnectionScopeEnum.d.ts +0 -10
  149. package/dist/types/models/MaskedIntegrationCredential.d.ts +0 -10
  150. package/dist/types/models/MaskedLLMCredential.d.ts +0 -10
  151. package/dist/types/models/MemoryComponentData.d.ts +0 -5
  152. package/dist/types/models/MemoryComponentMemory.d.ts +0 -4
  153. package/dist/types/models/MemoryComponentMemoryDetail.d.ts +0 -8
  154. package/dist/types/models/MemoryComponentResponse.d.ts +0 -5
  155. package/dist/types/models/MemoryProgress.d.ts +0 -8
  156. package/dist/types/models/MemoryStatusRequestView.d.ts +0 -6
  157. package/dist/types/models/MemoryStatusView.d.ts +0 -6
  158. package/dist/types/models/Mentor.d.ts +0 -126
  159. package/dist/types/models/MentorAudience.d.ts +0 -5
  160. package/dist/types/models/MentorBreakdown.d.ts +0 -9
  161. package/dist/types/models/MentorCategory.d.ts +0 -9
  162. package/dist/types/models/MentorCategoryCreate.d.ts +0 -11
  163. package/dist/types/models/MentorCategoryGroup.d.ts +0 -11
  164. package/dist/types/models/MentorCategoryGroupCreate.d.ts +0 -11
  165. package/dist/types/models/MentorCreate.d.ts +0 -116
  166. package/dist/types/models/MentorCustomVoice.d.ts +0 -4
  167. package/dist/types/models/MentorCustomVoiceResponse.d.ts +0 -4
  168. package/dist/types/models/MentorData.d.ts +0 -7
  169. package/dist/types/models/MentorDetailAnalytics.d.ts +0 -6
  170. package/dist/types/models/MentorEval.d.ts +0 -11
  171. package/dist/types/models/MentorEvalQuestion.d.ts +0 -5
  172. package/dist/types/models/MentorEvalQuestionRequest.d.ts +0 -4
  173. package/dist/types/models/MentorEvalReport.d.ts +0 -10
  174. package/dist/types/models/MentorEvalRequest.d.ts +0 -8
  175. package/dist/types/models/MentorFacet.d.ts +0 -17
  176. package/dist/types/models/MentorFork.d.ts +0 -5
  177. package/dist/types/models/MentorFromTemplateWithSettingRequest.d.ts +0 -59
  178. package/dist/types/models/MentorMemorySettingsRequest.d.ts +0 -6
  179. package/dist/types/models/MentorMemorySettingsResponse.d.ts +0 -6
  180. package/dist/types/models/MentorMetadata.d.ts +0 -5
  181. package/dist/types/models/MentorScenario.d.ts +0 -6
  182. package/dist/types/models/MentorScenarioPrompt.d.ts +0 -5
  183. package/dist/types/models/MentorSearchResponse.d.ts +0 -35
  184. package/dist/types/models/MentorSession.d.ts +0 -4
  185. package/dist/types/models/MentorSettings.d.ts +0 -94
  186. package/dist/types/models/MentorSettingsPublic.d.ts +0 -71
  187. package/dist/types/models/MentorSettingsRequest.d.ts +0 -72
  188. package/dist/types/models/MentorSummary.d.ts +0 -5
  189. package/dist/types/models/MentorType.d.ts +0 -5
  190. package/dist/types/models/MentorUserSetting.d.ts +0 -4
  191. package/dist/types/models/MentorVisibilityEnum.d.ts +0 -10
  192. package/dist/types/models/MentorWizard.d.ts +0 -4
  193. package/dist/types/models/MessageStatistics.d.ts +0 -5
  194. package/dist/types/models/MessageView.d.ts +0 -10
  195. package/dist/types/models/MessageViewRequest.d.ts +0 -8
  196. package/dist/types/models/MessageViewUpdatResponse.d.ts +0 -3
  197. package/dist/types/models/Metadata.d.ts +0 -5
  198. package/dist/types/models/MetricChange.d.ts +0 -4
  199. package/dist/types/models/MetricInfo.d.ts +0 -5
  200. package/dist/types/models/ModelCost.d.ts +0 -4
  201. package/dist/types/models/ModerationLog.d.ts +0 -12
  202. package/dist/types/models/NoChatMessagesFound.d.ts +0 -3
  203. package/dist/types/models/OAuthProvider.d.ts +0 -18
  204. package/dist/types/models/OAuthService.d.ts +0 -17
  205. package/dist/types/models/OAuthStartResponse.d.ts +0 -3
  206. package/dist/types/models/Observation.d.ts +0 -31
  207. package/dist/types/models/OvertimeData.d.ts +0 -13
  208. package/dist/types/models/PageContent.d.ts +0 -6
  209. package/dist/types/models/PaginatedAIGeneratedImageList.d.ts +0 -7
  210. package/dist/types/models/PaginatedArtifactListList.d.ts +0 -7
  211. package/dist/types/models/PaginatedConversationsList.d.ts +0 -7
  212. package/dist/types/models/PaginatedCourseCreationTaskFileList.d.ts +0 -7
  213. package/dist/types/models/PaginatedCourseCreationTaskList.d.ts +0 -7
  214. package/dist/types/models/PaginatedDataSetList.d.ts +0 -7
  215. package/dist/types/models/PaginatedDisclaimerAgreementList.d.ts +0 -7
  216. package/dist/types/models/PaginatedDisclaimerList.d.ts +0 -7
  217. package/dist/types/models/PaginatedEdxCourseList.d.ts +0 -7
  218. package/dist/types/models/PaginatedEmailPromptListList.d.ts +0 -7
  219. package/dist/types/models/PaginatedHeygenMarketingVideoListList.d.ts +0 -7
  220. package/dist/types/models/PaginatedHeygenTemplateResponseSingleList.d.ts +0 -7
  221. package/dist/types/models/PaginatedHumanSupportTicketList.d.ts +0 -7
  222. package/dist/types/models/PaginatedJobRunList.d.ts +0 -7
  223. package/dist/types/models/PaginatedMCPServerConnectionList.d.ts +0 -7
  224. package/dist/types/models/PaginatedMCPServerList.d.ts +0 -7
  225. package/dist/types/models/PaginatedMentorList.d.ts +0 -7
  226. package/dist/types/models/PaginatedModerationLogList.d.ts +0 -7
  227. package/dist/types/models/PaginatedObservationList.d.ts +0 -7
  228. package/dist/types/models/PaginatedPeriodicAgentList.d.ts +0 -7
  229. package/dist/types/models/PaginatedPeriodicAgentLogList.d.ts +0 -7
  230. package/dist/types/models/PaginatedPlayWrightScriptList.d.ts +0 -7
  231. package/dist/types/models/PaginatedProjectList.d.ts +0 -7
  232. package/dist/types/models/PaginatedRetrieverDocumentEmbeddingList.d.ts +0 -7
  233. package/dist/types/models/PaginatedSectionList.d.ts +0 -7
  234. package/dist/types/models/PaginatedSubSectionList.d.ts +0 -7
  235. package/dist/types/models/PaginatedTicketMessageList.d.ts +0 -7
  236. package/dist/types/models/PaginatedTopicStatisticsResponse.d.ts +0 -7
  237. package/dist/types/models/PaginatedTraceList.d.ts +0 -7
  238. package/dist/types/models/PaginatedTrainingList.d.ts +0 -7
  239. package/dist/types/models/PaginatedUnitList.d.ts +0 -7
  240. package/dist/types/models/PaginatedUserEdxMemoryList.d.ts +0 -7
  241. package/dist/types/models/PaginatedUserMemoryList.d.ts +0 -7
  242. package/dist/types/models/PaginatedVeoVideoListList.d.ts +0 -7
  243. package/dist/types/models/PaginatedVoiceList.d.ts +0 -7
  244. package/dist/types/models/PatchedArtifact.d.ts +0 -56
  245. package/dist/types/models/PatchedBotCommand.d.ts +0 -6
  246. package/dist/types/models/PatchedBotCreate.d.ts +0 -12
  247. package/dist/types/models/PatchedCallConfiguration.d.ts +0 -26
  248. package/dist/types/models/PatchedConversations.d.ts +0 -33
  249. package/dist/types/models/PatchedCourseCreationTaskFile.d.ts +0 -7
  250. package/dist/types/models/PatchedCredentialRequest.d.ts +0 -14
  251. package/dist/types/models/PatchedDataSet.d.ts +0 -21
  252. package/dist/types/models/PatchedDisclaimer.d.ts +0 -17
  253. package/dist/types/models/PatchedDiscordConfig.d.ts +0 -7
  254. package/dist/types/models/PatchedDiscordUserConfig.d.ts +0 -10
  255. package/dist/types/models/PatchedHumanSupportTicket.d.ts +0 -23
  256. package/dist/types/models/PatchedLLMCredentialRequest.d.ts +0 -14
  257. package/dist/types/models/PatchedMCPServer.d.ts +0 -47
  258. package/dist/types/models/PatchedMCPServerConnection.d.ts +0 -47
  259. package/dist/types/models/PatchedMentorCategoryGroupCreate.d.ts +0 -11
  260. package/dist/types/models/PatchedMentorCreate.d.ts +0 -116
  261. package/dist/types/models/PatchedPeriodicAgentCreate.d.ts +0 -41
  262. package/dist/types/models/PatchedPlayWrightScript.d.ts +0 -12
  263. package/dist/types/models/PatchedProject.d.ts +0 -51
  264. package/dist/types/models/PatchedPrompt.d.ts +0 -22
  265. package/dist/types/models/PatchedSection.d.ts +0 -9
  266. package/dist/types/models/PatchedSlackConfig.d.ts +0 -8
  267. package/dist/types/models/PatchedSlackUserConfig.d.ts +0 -17
  268. package/dist/types/models/PatchedSubSection.d.ts +0 -9
  269. package/dist/types/models/PatchedTeamsConfig.d.ts +0 -7
  270. package/dist/types/models/PatchedTicketMessage.d.ts +0 -10
  271. package/dist/types/models/PatchedTrainingCreate.d.ts +0 -31
  272. package/dist/types/models/PatchedUnit.d.ts +0 -11
  273. package/dist/types/models/PatchedWebexConfig.d.ts +0 -10
  274. package/dist/types/models/PatchedWhatsappConfig.d.ts +0 -11
  275. package/dist/types/models/PatchedWhatsappUserConfig.d.ts +0 -10
  276. package/dist/types/models/PeriodInfo.d.ts +0 -21
  277. package/dist/types/models/PeriodicAgent.d.ts +0 -42
  278. package/dist/types/models/PeriodicAgentCreate.d.ts +0 -41
  279. package/dist/types/models/PeriodicAgentLog.d.ts +0 -11
  280. package/dist/types/models/PeriodicAgentLogStatusEnum.d.ts +0 -10
  281. package/dist/types/models/PeriodicAgentStatistics.d.ts +0 -7
  282. package/dist/types/models/PeriodicTask.d.ts +0 -21
  283. package/dist/types/models/PieChartData.d.ts +0 -5
  284. package/dist/types/models/PieChartSegment.d.ts +0 -4
  285. package/dist/types/models/PinnedMessageCreate.d.ts +0 -9
  286. package/dist/types/models/PinnedMessageGet.d.ts +0 -7
  287. package/dist/types/models/PinnedMessageRequest.d.ts +0 -6
  288. package/dist/types/models/PlatformPrompt.d.ts +0 -34
  289. package/dist/types/models/PlatformPromptResponse.d.ts +0 -16
  290. package/dist/types/models/PlayWrightScript.d.ts +0 -12
  291. package/dist/types/models/PredictiveAnalyticsRequest.d.ts +0 -4
  292. package/dist/types/models/PredictiveAnalyticsResponse.d.ts +0 -4
  293. package/dist/types/models/PreviousAgentStatusEnum.d.ts +0 -12
  294. package/dist/types/models/Project.d.ts +0 -51
  295. package/dist/types/models/ProjectMentor.d.ts +0 -11
  296. package/dist/types/models/Prompt.d.ts +0 -22
  297. package/dist/types/models/PromptCategory.d.ts +0 -7
  298. package/dist/types/models/PromptFacet.d.ts +0 -17
  299. package/dist/types/models/PromptSearchResponse.d.ts +0 -35
  300. package/dist/types/models/PromptVisibilityEnum.d.ts +0 -10
  301. package/dist/types/models/Provider05cEnum.d.ts +0 -14
  302. package/dist/types/models/Provider637Enum.d.ts +0 -10
  303. package/dist/types/models/Provider63aEnum.d.ts +0 -6
  304. package/dist/types/models/ProviderBreakdown.d.ts +0 -8
  305. package/dist/types/models/QuestionCardTag.d.ts +0 -8
  306. package/dist/types/models/QuestionRequest.d.ts +0 -15
  307. package/dist/types/models/QuestionResponse.d.ts +0 -10
  308. package/dist/types/models/RatingAverageRecord.d.ts +0 -10
  309. package/dist/types/models/RatingEnum.d.ts +0 -8
  310. package/dist/types/models/RatingRecord.d.ts +0 -4
  311. package/dist/types/models/RatingsOvertime.d.ts +0 -5
  312. package/dist/types/models/RecentlyAccessedMentor.d.ts +0 -10
  313. package/dist/types/models/RecommendCourseBlock.d.ts +0 -3
  314. package/dist/types/models/RecommendCourseResponse.d.ts +0 -3
  315. package/dist/types/models/RecommendationTypeEnum.d.ts +0 -8
  316. package/dist/types/models/RecommendedCoursesResponse.d.ts +0 -33
  317. package/dist/types/models/RelatedText.d.ts +0 -3
  318. package/dist/types/models/RemoveMentorFromDisclaimer.d.ts +0 -12
  319. package/dist/types/models/RequestDataVariable.d.ts +0 -14
  320. package/dist/types/models/ResourceScrappedData.d.ts +0 -13
  321. package/dist/types/models/ResourceScrappedDataStatusEnum.d.ts +0 -12
  322. package/dist/types/models/ResponseDataVariable.d.ts +0 -14
  323. package/dist/types/models/RetreiverTrainViewRequest.d.ts +0 -10
  324. package/dist/types/models/RetreiverTrainViewResponse.d.ts +0 -6
  325. package/dist/types/models/RetrieveTask.d.ts +0 -3
  326. package/dist/types/models/RetrieverDocumentEmbedding.d.ts +0 -30
  327. package/dist/types/models/RetrieverDocumentEmbeddingRequest.d.ts +0 -66
  328. package/dist/types/models/RetrieverRequestSearch.d.ts +0 -10
  329. package/dist/types/models/RetrieverRequestSearchDocument.d.ts +0 -10
  330. package/dist/types/models/RetrieverResponseSearch.d.ts +0 -7
  331. package/dist/types/models/ReuestDataVariableList.d.ts +0 -4
  332. package/dist/types/models/RunMentorEval.d.ts +0 -3
  333. package/dist/types/models/ScanWebhookRequest.d.ts +0 -6
  334. package/dist/types/models/ScanWebhookResponse.d.ts +0 -3
  335. package/dist/types/models/Section.d.ts +0 -9
  336. package/dist/types/models/SectionWithChildren.d.ts +0 -11
  337. package/dist/types/models/SeedMentorsView.d.ts +0 -3
  338. package/dist/types/models/SentimentSummary.d.ts +0 -4
  339. package/dist/types/models/SessionBrowserScreenshot.d.ts +0 -8
  340. package/dist/types/models/SessionChartPoint.d.ts +0 -4
  341. package/dist/types/models/SessionDetail.d.ts +0 -6
  342. package/dist/types/models/SessionMemoryAttachment.d.ts +0 -3
  343. package/dist/types/models/SessionMemoryStorage.d.ts +0 -6
  344. package/dist/types/models/SessionsChart.d.ts +0 -5
  345. package/dist/types/models/ShareableMentorLink.d.ts +0 -8
  346. package/dist/types/models/ShellLogs.d.ts +0 -3
  347. package/dist/types/models/SlackConfig.d.ts +0 -8
  348. package/dist/types/models/SlackUserConfig.d.ts +0 -17
  349. package/dist/types/models/SlackWebhook.d.ts +0 -6
  350. package/dist/types/models/SpacedRepetitionLearningPath.d.ts +0 -3
  351. package/dist/types/models/SpacedRepetitionQuestionStats.d.ts +0 -5
  352. package/dist/types/models/StarMentor.d.ts +0 -7
  353. package/dist/types/models/Status6eeEnum.d.ts +0 -12
  354. package/dist/types/models/Step.d.ts +0 -9
  355. package/dist/types/models/StepStatusEnum.d.ts +0 -10
  356. package/dist/types/models/SttProviderEnum.d.ts +0 -12
  357. package/dist/types/models/StudentChatMessage.d.ts +0 -4
  358. package/dist/types/models/StylesView.d.ts +0 -4
  359. package/dist/types/models/SubSection.d.ts +0 -9
  360. package/dist/types/models/SubSectionWithChildren.d.ts +0 -11
  361. package/dist/types/models/Subject.d.ts +0 -5
  362. package/dist/types/models/Summary.d.ts +0 -9
  363. package/dist/types/models/TagsView.d.ts +0 -5
  364. package/dist/types/models/TargetSystemEnum.d.ts +0 -8
  365. package/dist/types/models/TaskView.d.ts +0 -3
  366. package/dist/types/models/TeamsConfig.d.ts +0 -7
  367. package/dist/types/models/TeamsWebhook.d.ts +0 -17
  368. package/dist/types/models/TemplateMentor.d.ts +0 -9
  369. package/dist/types/models/TenantMentorTraces.d.ts +0 -6
  370. package/dist/types/models/ThemeEnum.d.ts +0 -8
  371. package/dist/types/models/TicketMessage.d.ts +0 -10
  372. package/dist/types/models/TonesView.d.ts +0 -4
  373. package/dist/types/models/ToolCategory.d.ts +0 -5
  374. package/dist/types/models/ToolResponse.d.ts +0 -15
  375. package/dist/types/models/TopicDetail.d.ts +0 -8
  376. package/dist/types/models/TopicDetails.d.ts +0 -5
  377. package/dist/types/models/TopicModel.d.ts +0 -3
  378. package/dist/types/models/TopicRecord.d.ts +0 -4
  379. package/dist/types/models/TopicStatistics.d.ts +0 -7
  380. package/dist/types/models/TopicStatisticsResponse.d.ts +0 -6
  381. package/dist/types/models/TopicSummaryView.d.ts +0 -4
  382. package/dist/types/models/TopicsOverview.d.ts +0 -22
  383. package/dist/types/models/TopicsOverviewMetric.d.ts +0 -21
  384. package/dist/types/models/Trace.d.ts +0 -17
  385. package/dist/types/models/TrainChatSessionDocumentView.d.ts +0 -6
  386. package/dist/types/models/TrainChatSessionDocumentViewRequest.d.ts +0 -6
  387. package/dist/types/models/TrainDocumentViewRequest.d.ts +0 -82
  388. package/dist/types/models/TrainDocumentViewResponse.d.ts +0 -15
  389. package/dist/types/models/Training.d.ts +0 -41
  390. package/dist/types/models/TrainingCreate.d.ts +0 -31
  391. package/dist/types/models/TrainingStatusEnum.d.ts +0 -12
  392. package/dist/types/models/TransportEnum.d.ts +0 -10
  393. package/dist/types/models/TrendEntry.d.ts +0 -4
  394. package/dist/types/models/TriggerRequest.d.ts +0 -5
  395. package/dist/types/models/TriggerResponse.d.ts +0 -6
  396. package/dist/types/models/TtsProviderEnum.d.ts +0 -10
  397. package/dist/types/models/TypeC42Enum.d.ts +0 -8
  398. package/dist/types/models/Unit.d.ts +0 -11
  399. package/dist/types/models/UnitWithChildren.d.ts +0 -13
  400. package/dist/types/models/UseMainCreds.d.ts +0 -3
  401. package/dist/types/models/UserAllChatMemoryView.d.ts +0 -7
  402. package/dist/types/models/UserCatalogItemMemoryView.d.ts +0 -14
  403. package/dist/types/models/UserChatByPeriod.d.ts +0 -4
  404. package/dist/types/models/UserChatFeedback.d.ts +0 -15
  405. package/dist/types/models/UserChatFeedbackCount.d.ts +0 -4
  406. package/dist/types/models/UserChatMemoryStatusRequestView.d.ts +0 -6
  407. package/dist/types/models/UserChatMemoryStatusView.d.ts +0 -6
  408. package/dist/types/models/UserChatMemoryUpdateView.d.ts +0 -10
  409. package/dist/types/models/UserCountRecord.d.ts +0 -4
  410. package/dist/types/models/UserDetail.d.ts +0 -7
  411. package/dist/types/models/UserEdxMemory.d.ts +0 -15
  412. package/dist/types/models/UserMemory.d.ts +0 -18
  413. package/dist/types/models/UserMemoryContextRequest.d.ts +0 -13
  414. package/dist/types/models/UserMemoryContextResponse.d.ts +0 -12
  415. package/dist/types/models/UserMemoryEntry.d.ts +0 -9
  416. package/dist/types/models/UserMemoryEntryRequest.d.ts +0 -5
  417. package/dist/types/models/UserMemoryRequest.d.ts +0 -12
  418. package/dist/types/models/UserMetric.d.ts +0 -4
  419. package/dist/types/models/UserMetricsResponse.d.ts +0 -7
  420. package/dist/types/models/UserSentimentCountView.d.ts +0 -4
  421. package/dist/types/models/UserTrendByPeriod.d.ts +0 -5
  422. package/dist/types/models/V2GlobalMentorSearchResponse.d.ts +0 -29
  423. package/dist/types/models/V2PersonalizedMentorsResponse.d.ts +0 -29
  424. package/dist/types/models/V2RecommendationResponse.d.ts +0 -65
  425. package/dist/types/models/VectorResult.d.ts +0 -10
  426. package/dist/types/models/VeoVideoDetail.d.ts +0 -10
  427. package/dist/types/models/VeoVideoList.d.ts +0 -6
  428. package/dist/types/models/VeoVideoRequest.d.ts +0 -5
  429. package/dist/types/models/VideoCaption.d.ts +0 -3
  430. package/dist/types/models/Voice.d.ts +0 -9
  431. package/dist/types/models/WebResource.d.ts +0 -9
  432. package/dist/types/models/WebResourceCard.d.ts +0 -7
  433. package/dist/types/models/WebResourcesQuery.d.ts +0 -3
  434. package/dist/types/models/WebexConfig.d.ts +0 -10
  435. package/dist/types/models/WebexWebhook.d.ts +0 -4
  436. package/dist/types/models/WhatAppWebHook.d.ts +0 -3
  437. package/dist/types/models/WhatsappConfig.d.ts +0 -11
  438. package/dist/types/models/WhatsappUserConfig.d.ts +0 -10
  439. package/dist/types/services/AiAccountService.d.ts +0 -538
  440. package/dist/types/services/AiBotService.d.ts +0 -650
  441. package/dist/types/services/AiFinetuningService.d.ts +0 -232
  442. package/dist/types/services/AiIndexService.d.ts +0 -399
  443. package/dist/types/services/AiMarketingService.d.ts +0 -38
  444. package/dist/types/services/AiMediaService.d.ts +0 -247
  445. package/dist/types/services/AiMentorService.d.ts +0 -6729
  446. package/dist/types/services/AiPromptService.d.ts +0 -1035
  447. package/dist/types/services/AiSearchService.d.ts +0 -439
  448. package/src/models/AIGeneratedImage.ts +0 -18
  449. package/src/models/AIUserProfileMemoryRelation.ts +0 -9
  450. package/src/models/AIUserProfileRequest.ts +0 -9
  451. package/src/models/AccessEnum.ts +0 -12
  452. package/src/models/AccessTimesHeatmap.ts +0 -10
  453. package/src/models/AccessibleMentorsByEmailRequest.ts +0 -18
  454. package/src/models/AccessibleMentorsByEmailResponse.ts +0 -18
  455. package/src/models/ActionBreakdown.ts +0 -15
  456. package/src/models/AddMentorToDisclaimer.ts +0 -17
  457. package/src/models/AlignMentorBubbleEnum.ts +0 -12
  458. package/src/models/AnalyticsOverview.ts +0 -12
  459. package/src/models/Answer.ts +0 -16
  460. package/src/models/Artifact.ts +0 -61
  461. package/src/models/ArtifactList.ts +0 -50
  462. package/src/models/AssumedKnowledge.ts +0 -9
  463. package/src/models/AssumedKnowledgeLevel.ts +0 -9
  464. package/src/models/AudioToTextRequest.ts +0 -8
  465. package/src/models/AudioToTextResponse.ts +0 -8
  466. package/src/models/AuthTypeEnum.ts +0 -14
  467. package/src/models/AutoMemoryPrompt.ts +0 -9
  468. package/src/models/BaseFinanceResponse.ts +0 -42
  469. package/src/models/BillingPeriod.ts +0 -13
  470. package/src/models/Bot.ts +0 -20
  471. package/src/models/BotCommand.ts +0 -11
  472. package/src/models/BotCreate.ts +0 -17
  473. package/src/models/Breakdown.ts +0 -16
  474. package/src/models/CallAuthenticationRequest.ts +0 -22
  475. package/src/models/CallAuthenticationResponse.ts +0 -26
  476. package/src/models/CallConfiguration.ts +0 -31
  477. package/src/models/CallConfigurationModeEnum.ts +0 -12
  478. package/src/models/ChatHistory.ts +0 -14
  479. package/src/models/ChatHistoryFilterData.ts +0 -14
  480. package/src/models/ChatHistoryFilterUser.ts +0 -10
  481. package/src/models/ChatHistoryItem.ts +0 -10
  482. package/src/models/ChatHistorySessionId.ts +0 -8
  483. package/src/models/ChatSessionRequest.ts +0 -20
  484. package/src/models/ChatSessionResponse.ts +0 -11
  485. package/src/models/CheckDocumentTrainingStatus.ts +0 -15
  486. package/src/models/ComparisonInfo.ts +0 -34
  487. package/src/models/ComponentBlock.ts +0 -14
  488. package/src/models/ComponentBlockTypeEnum.ts +0 -12
  489. package/src/models/ConnectedService.ts +0 -29
  490. package/src/models/ConversationChartPoint.ts +0 -9
  491. package/src/models/ConversationDetailResponse.ts +0 -9
  492. package/src/models/ConversationListItem.ts +0 -29
  493. package/src/models/ConversationListResponse.ts +0 -11
  494. package/src/models/ConversationMessage.ts +0 -16
  495. package/src/models/ConversationRating.ts +0 -11
  496. package/src/models/ConversationSummary.ts +0 -10
  497. package/src/models/ConversationVolume.ts +0 -9
  498. package/src/models/Conversations.ts +0 -38
  499. package/src/models/ConversationsChart.ts +0 -10
  500. package/src/models/Cost.ts +0 -8
  501. package/src/models/CostPerTenant.ts +0 -11
  502. package/src/models/CourseCreationTask.ts +0 -36
  503. package/src/models/CourseCreationTaskFile.ts +0 -12
  504. package/src/models/CourseCreationTaskStatusEnum.ts +0 -20
  505. package/src/models/CourseRecommendation.ts +0 -50
  506. package/src/models/CrawlerPatternTypeEnum.ts +0 -12
  507. package/src/models/CredentialRequest.ts +0 -19
  508. package/src/models/CrontabSchedule.ts +0 -27
  509. package/src/models/CurrentUsersResponse.ts +0 -13
  510. package/src/models/CustomInstructionResponse.ts +0 -18
  511. package/src/models/DataSet.ts +0 -26
  512. package/src/models/DataSetCreate.ts +0 -17
  513. package/src/models/DataSetStatusEnum.ts +0 -16
  514. package/src/models/DateRange.ts +0 -9
  515. package/src/models/Disclaimer.ts +0 -22
  516. package/src/models/DisclaimerAgreement.ts +0 -16
  517. package/src/models/DisclaimerScopeEnum.ts +0 -12
  518. package/src/models/DiscordConfig.ts +0 -12
  519. package/src/models/DiscordUserConfig.ts +0 -15
  520. package/src/models/DiscordWebhook.ts +0 -11
  521. package/src/models/Document.ts +0 -46
  522. package/src/models/DocumentFacet.ts +0 -22
  523. package/src/models/DocumentFromPoolRequest.ts +0 -15
  524. package/src/models/DocumentSearchResponse.ts +0 -40
  525. package/src/models/DocumentSettingsResponse.ts +0 -8
  526. package/src/models/EdxCourse.ts +0 -16
  527. package/src/models/ElevenlabsCustomVoice.ts +0 -9
  528. package/src/models/ElevenlabsCustomVoiceResponse.ts +0 -13
  529. package/src/models/EmailPromptDetail.ts +0 -18
  530. package/src/models/EmailPromptList.ts +0 -16
  531. package/src/models/EmailPromptSummary.ts +0 -10
  532. package/src/models/Entity.ts +0 -16
  533. package/src/models/EntityTypeEnum.ts +0 -14
  534. package/src/models/ExternalServiceInfo.ts +0 -11
  535. package/src/models/FileUploadURLRequest.ts +0 -26
  536. package/src/models/FileUploadURLResponse.ts +0 -30
  537. package/src/models/FinanceDetailsResponse.ts +0 -18
  538. package/src/models/FinanceFilters.ts +0 -20
  539. package/src/models/FreeUsageCount.ts +0 -8
  540. package/src/models/FullCourse.ts +0 -18
  541. package/src/models/GreetingMethodEnum.ts +0 -12
  542. package/src/models/GuidedPrompt.ts +0 -9
  543. package/src/models/GuidedPromptsResponse.ts +0 -10
  544. package/src/models/HeygenMarketingVideoDetail.ts +0 -13
  545. package/src/models/HeygenMarketingVideoList.ts +0 -11
  546. package/src/models/HeygenTemplateRequest.ts +0 -10
  547. package/src/models/HeygenTemplateResponseSingle.ts +0 -11
  548. package/src/models/HeygenVideoDetail.ts +0 -13
  549. package/src/models/HeygenVideoRequest.ts +0 -10
  550. package/src/models/HumanSupportTicket.ts +0 -28
  551. package/src/models/HumanSupportTicketStatusEnum.ts +0 -14
  552. package/src/models/InputQuestion.ts +0 -11
  553. package/src/models/IntegrationCredential.ts +0 -15
  554. package/src/models/IntegrationCredentialSchema.ts +0 -11
  555. package/src/models/IntialQuestionAnswer.ts +0 -8
  556. package/src/models/InvoiceReportResponse.ts +0 -18
  557. package/src/models/JobRun.ts +0 -16
  558. package/src/models/KindEnum.ts +0 -14
  559. package/src/models/LLMCredentialRequest.ts +0 -19
  560. package/src/models/LLMCredentialResponse.ts +0 -15
  561. package/src/models/LLMCredentialSchema.ts +0 -11
  562. package/src/models/LLMModelForTenant.ts +0 -11
  563. package/src/models/LLMQuestion.ts +0 -20
  564. package/src/models/LLMResponse.ts +0 -23
  565. package/src/models/LLMTracesListResponse.ts +0 -10
  566. package/src/models/LanguagesView.ts +0 -10
  567. package/src/models/LinkCourseRequest.ts +0 -8
  568. package/src/models/LinkCourseResponse.ts +0 -10
  569. package/src/models/LlmProviderEnum.ts +0 -12
  570. package/src/models/MCPServer.ts +0 -52
  571. package/src/models/MCPServerConnection.ts +0 -52
  572. package/src/models/MCPServerConnectionScopeEnum.ts +0 -14
  573. package/src/models/MaskedIntegrationCredential.ts +0 -15
  574. package/src/models/MaskedLLMCredential.ts +0 -15
  575. package/src/models/MemoryComponentData.ts +0 -10
  576. package/src/models/MemoryComponentMemory.ts +0 -9
  577. package/src/models/MemoryComponentMemoryDetail.ts +0 -13
  578. package/src/models/MemoryComponentResponse.ts +0 -10
  579. package/src/models/MemoryProgress.ts +0 -13
  580. package/src/models/MemoryStatusRequestView.ts +0 -11
  581. package/src/models/MemoryStatusView.ts +0 -11
  582. package/src/models/Mentor.ts +0 -131
  583. package/src/models/MentorAudience.ts +0 -10
  584. package/src/models/MentorBreakdown.ts +0 -14
  585. package/src/models/MentorCategory.ts +0 -14
  586. package/src/models/MentorCategoryCreate.ts +0 -16
  587. package/src/models/MentorCategoryGroup.ts +0 -16
  588. package/src/models/MentorCategoryGroupCreate.ts +0 -16
  589. package/src/models/MentorCreate.ts +0 -121
  590. package/src/models/MentorCustomVoice.ts +0 -9
  591. package/src/models/MentorCustomVoiceResponse.ts +0 -9
  592. package/src/models/MentorData.ts +0 -12
  593. package/src/models/MentorDetailAnalytics.ts +0 -11
  594. package/src/models/MentorEval.ts +0 -16
  595. package/src/models/MentorEvalQuestion.ts +0 -10
  596. package/src/models/MentorEvalQuestionRequest.ts +0 -9
  597. package/src/models/MentorEvalReport.ts +0 -15
  598. package/src/models/MentorEvalRequest.ts +0 -13
  599. package/src/models/MentorFacet.ts +0 -22
  600. package/src/models/MentorFork.ts +0 -10
  601. package/src/models/MentorFromTemplateWithSettingRequest.ts +0 -64
  602. package/src/models/MentorMemorySettingsRequest.ts +0 -11
  603. package/src/models/MentorMemorySettingsResponse.ts +0 -11
  604. package/src/models/MentorMetadata.ts +0 -10
  605. package/src/models/MentorScenario.ts +0 -11
  606. package/src/models/MentorScenarioPrompt.ts +0 -10
  607. package/src/models/MentorSearchResponse.ts +0 -40
  608. package/src/models/MentorSession.ts +0 -9
  609. package/src/models/MentorSettings.ts +0 -99
  610. package/src/models/MentorSettingsPublic.ts +0 -76
  611. package/src/models/MentorSettingsRequest.ts +0 -77
  612. package/src/models/MentorSummary.ts +0 -10
  613. package/src/models/MentorType.ts +0 -10
  614. package/src/models/MentorUserSetting.ts +0 -9
  615. package/src/models/MentorVisibilityEnum.ts +0 -14
  616. package/src/models/MentorWizard.ts +0 -9
  617. package/src/models/MessageStatistics.ts +0 -10
  618. package/src/models/MessageView.ts +0 -15
  619. package/src/models/MessageViewRequest.ts +0 -13
  620. package/src/models/MessageViewUpdatResponse.ts +0 -8
  621. package/src/models/Metadata.ts +0 -10
  622. package/src/models/MetricChange.ts +0 -9
  623. package/src/models/MetricInfo.ts +0 -10
  624. package/src/models/ModelCost.ts +0 -9
  625. package/src/models/ModerationLog.ts +0 -17
  626. package/src/models/NoChatMessagesFound.ts +0 -8
  627. package/src/models/OAuthProvider.ts +0 -23
  628. package/src/models/OAuthService.ts +0 -22
  629. package/src/models/OAuthStartResponse.ts +0 -8
  630. package/src/models/Observation.ts +0 -36
  631. package/src/models/OvertimeData.ts +0 -18
  632. package/src/models/PageContent.ts +0 -11
  633. package/src/models/PaginatedAIGeneratedImageList.ts +0 -12
  634. package/src/models/PaginatedArtifactListList.ts +0 -12
  635. package/src/models/PaginatedConversationsList.ts +0 -12
  636. package/src/models/PaginatedCourseCreationTaskFileList.ts +0 -12
  637. package/src/models/PaginatedCourseCreationTaskList.ts +0 -12
  638. package/src/models/PaginatedDataSetList.ts +0 -12
  639. package/src/models/PaginatedDisclaimerAgreementList.ts +0 -12
  640. package/src/models/PaginatedDisclaimerList.ts +0 -12
  641. package/src/models/PaginatedEdxCourseList.ts +0 -12
  642. package/src/models/PaginatedEmailPromptListList.ts +0 -12
  643. package/src/models/PaginatedHeygenMarketingVideoListList.ts +0 -12
  644. package/src/models/PaginatedHeygenTemplateResponseSingleList.ts +0 -12
  645. package/src/models/PaginatedHumanSupportTicketList.ts +0 -12
  646. package/src/models/PaginatedJobRunList.ts +0 -12
  647. package/src/models/PaginatedMCPServerConnectionList.ts +0 -12
  648. package/src/models/PaginatedMCPServerList.ts +0 -12
  649. package/src/models/PaginatedMentorList.ts +0 -12
  650. package/src/models/PaginatedModerationLogList.ts +0 -12
  651. package/src/models/PaginatedObservationList.ts +0 -12
  652. package/src/models/PaginatedPeriodicAgentList.ts +0 -12
  653. package/src/models/PaginatedPeriodicAgentLogList.ts +0 -12
  654. package/src/models/PaginatedPlayWrightScriptList.ts +0 -12
  655. package/src/models/PaginatedProjectList.ts +0 -12
  656. package/src/models/PaginatedRetrieverDocumentEmbeddingList.ts +0 -12
  657. package/src/models/PaginatedSectionList.ts +0 -12
  658. package/src/models/PaginatedSubSectionList.ts +0 -12
  659. package/src/models/PaginatedTicketMessageList.ts +0 -12
  660. package/src/models/PaginatedTopicStatisticsResponse.ts +0 -12
  661. package/src/models/PaginatedTraceList.ts +0 -12
  662. package/src/models/PaginatedTrainingList.ts +0 -12
  663. package/src/models/PaginatedUnitList.ts +0 -12
  664. package/src/models/PaginatedUserEdxMemoryList.ts +0 -12
  665. package/src/models/PaginatedUserMemoryList.ts +0 -12
  666. package/src/models/PaginatedVeoVideoListList.ts +0 -12
  667. package/src/models/PaginatedVoiceList.ts +0 -12
  668. package/src/models/PatchedArtifact.ts +0 -61
  669. package/src/models/PatchedBotCommand.ts +0 -11
  670. package/src/models/PatchedBotCreate.ts +0 -17
  671. package/src/models/PatchedCallConfiguration.ts +0 -31
  672. package/src/models/PatchedConversations.ts +0 -38
  673. package/src/models/PatchedCourseCreationTaskFile.ts +0 -12
  674. package/src/models/PatchedCredentialRequest.ts +0 -19
  675. package/src/models/PatchedDataSet.ts +0 -26
  676. package/src/models/PatchedDisclaimer.ts +0 -22
  677. package/src/models/PatchedDiscordConfig.ts +0 -12
  678. package/src/models/PatchedDiscordUserConfig.ts +0 -15
  679. package/src/models/PatchedHumanSupportTicket.ts +0 -28
  680. package/src/models/PatchedLLMCredentialRequest.ts +0 -19
  681. package/src/models/PatchedMCPServer.ts +0 -52
  682. package/src/models/PatchedMCPServerConnection.ts +0 -52
  683. package/src/models/PatchedMentorCategoryGroupCreate.ts +0 -16
  684. package/src/models/PatchedMentorCreate.ts +0 -121
  685. package/src/models/PatchedPeriodicAgentCreate.ts +0 -46
  686. package/src/models/PatchedPlayWrightScript.ts +0 -17
  687. package/src/models/PatchedProject.ts +0 -56
  688. package/src/models/PatchedPrompt.ts +0 -27
  689. package/src/models/PatchedSection.ts +0 -14
  690. package/src/models/PatchedSlackConfig.ts +0 -13
  691. package/src/models/PatchedSlackUserConfig.ts +0 -22
  692. package/src/models/PatchedSubSection.ts +0 -14
  693. package/src/models/PatchedTeamsConfig.ts +0 -12
  694. package/src/models/PatchedTicketMessage.ts +0 -15
  695. package/src/models/PatchedTrainingCreate.ts +0 -36
  696. package/src/models/PatchedUnit.ts +0 -16
  697. package/src/models/PatchedWebexConfig.ts +0 -15
  698. package/src/models/PatchedWhatsappConfig.ts +0 -16
  699. package/src/models/PatchedWhatsappUserConfig.ts +0 -15
  700. package/src/models/PeriodInfo.ts +0 -26
  701. package/src/models/PeriodicAgent.ts +0 -47
  702. package/src/models/PeriodicAgentCreate.ts +0 -46
  703. package/src/models/PeriodicAgentLog.ts +0 -16
  704. package/src/models/PeriodicAgentLogStatusEnum.ts +0 -14
  705. package/src/models/PeriodicAgentStatistics.ts +0 -12
  706. package/src/models/PeriodicTask.ts +0 -26
  707. package/src/models/PieChartData.ts +0 -10
  708. package/src/models/PieChartSegment.ts +0 -9
  709. package/src/models/PinnedMessageCreate.ts +0 -14
  710. package/src/models/PinnedMessageGet.ts +0 -12
  711. package/src/models/PinnedMessageRequest.ts +0 -11
  712. package/src/models/PlatformPrompt.ts +0 -39
  713. package/src/models/PlatformPromptResponse.ts +0 -21
  714. package/src/models/PlayWrightScript.ts +0 -17
  715. package/src/models/PredictiveAnalyticsRequest.ts +0 -9
  716. package/src/models/PredictiveAnalyticsResponse.ts +0 -9
  717. package/src/models/PreviousAgentStatusEnum.ts +0 -16
  718. package/src/models/Project.ts +0 -56
  719. package/src/models/ProjectMentor.ts +0 -16
  720. package/src/models/Prompt.ts +0 -27
  721. package/src/models/PromptCategory.ts +0 -12
  722. package/src/models/PromptFacet.ts +0 -22
  723. package/src/models/PromptSearchResponse.ts +0 -40
  724. package/src/models/PromptVisibilityEnum.ts +0 -14
  725. package/src/models/Provider05cEnum.ts +0 -18
  726. package/src/models/Provider637Enum.ts +0 -14
  727. package/src/models/Provider63aEnum.ts +0 -10
  728. package/src/models/ProviderBreakdown.ts +0 -13
  729. package/src/models/QuestionCardTag.ts +0 -13
  730. package/src/models/QuestionRequest.ts +0 -20
  731. package/src/models/QuestionResponse.ts +0 -15
  732. package/src/models/RatingAverageRecord.ts +0 -15
  733. package/src/models/RatingEnum.ts +0 -12
  734. package/src/models/RatingRecord.ts +0 -9
  735. package/src/models/RatingsOvertime.ts +0 -10
  736. package/src/models/RecentlyAccessedMentor.ts +0 -15
  737. package/src/models/RecommendCourseBlock.ts +0 -8
  738. package/src/models/RecommendCourseResponse.ts +0 -8
  739. package/src/models/RecommendationTypeEnum.ts +0 -12
  740. package/src/models/RecommendedCoursesResponse.ts +0 -38
  741. package/src/models/RelatedText.ts +0 -8
  742. package/src/models/RemoveMentorFromDisclaimer.ts +0 -17
  743. package/src/models/RequestDataVariable.ts +0 -19
  744. package/src/models/ResourceScrappedData.ts +0 -18
  745. package/src/models/ResourceScrappedDataStatusEnum.ts +0 -16
  746. package/src/models/ResponseDataVariable.ts +0 -19
  747. package/src/models/RetreiverTrainViewRequest.ts +0 -15
  748. package/src/models/RetreiverTrainViewResponse.ts +0 -11
  749. package/src/models/RetrieveTask.ts +0 -8
  750. package/src/models/RetrieverDocumentEmbedding.ts +0 -35
  751. package/src/models/RetrieverDocumentEmbeddingRequest.ts +0 -71
  752. package/src/models/RetrieverRequestSearch.ts +0 -15
  753. package/src/models/RetrieverRequestSearchDocument.ts +0 -15
  754. package/src/models/RetrieverResponseSearch.ts +0 -12
  755. package/src/models/ReuestDataVariableList.ts +0 -9
  756. package/src/models/RunMentorEval.ts +0 -8
  757. package/src/models/ScanWebhookRequest.ts +0 -11
  758. package/src/models/ScanWebhookResponse.ts +0 -8
  759. package/src/models/Section.ts +0 -14
  760. package/src/models/SectionWithChildren.ts +0 -16
  761. package/src/models/SeedMentorsView.ts +0 -8
  762. package/src/models/SentimentSummary.ts +0 -9
  763. package/src/models/SessionBrowserScreenshot.ts +0 -13
  764. package/src/models/SessionChartPoint.ts +0 -9
  765. package/src/models/SessionDetail.ts +0 -11
  766. package/src/models/SessionMemoryAttachment.ts +0 -8
  767. package/src/models/SessionMemoryStorage.ts +0 -11
  768. package/src/models/SessionsChart.ts +0 -10
  769. package/src/models/ShareableMentorLink.ts +0 -13
  770. package/src/models/ShellLogs.ts +0 -8
  771. package/src/models/SlackConfig.ts +0 -13
  772. package/src/models/SlackUserConfig.ts +0 -22
  773. package/src/models/SlackWebhook.ts +0 -11
  774. package/src/models/SpacedRepetitionLearningPath.ts +0 -8
  775. package/src/models/SpacedRepetitionQuestionStats.ts +0 -10
  776. package/src/models/StarMentor.ts +0 -12
  777. package/src/models/Status6eeEnum.ts +0 -16
  778. package/src/models/Step.ts +0 -14
  779. package/src/models/StepStatusEnum.ts +0 -14
  780. package/src/models/SttProviderEnum.ts +0 -16
  781. package/src/models/StudentChatMessage.ts +0 -9
  782. package/src/models/StylesView.ts +0 -9
  783. package/src/models/SubSection.ts +0 -14
  784. package/src/models/SubSectionWithChildren.ts +0 -16
  785. package/src/models/Subject.ts +0 -10
  786. package/src/models/Summary.ts +0 -14
  787. package/src/models/TagsView.ts +0 -10
  788. package/src/models/TargetSystemEnum.ts +0 -12
  789. package/src/models/TaskView.ts +0 -8
  790. package/src/models/TeamsConfig.ts +0 -12
  791. package/src/models/TeamsWebhook.ts +0 -22
  792. package/src/models/TemplateMentor.ts +0 -14
  793. package/src/models/TenantMentorTraces.ts +0 -11
  794. package/src/models/ThemeEnum.ts +0 -12
  795. package/src/models/TicketMessage.ts +0 -15
  796. package/src/models/TonesView.ts +0 -9
  797. package/src/models/ToolCategory.ts +0 -10
  798. package/src/models/ToolResponse.ts +0 -20
  799. package/src/models/TopicDetail.ts +0 -13
  800. package/src/models/TopicDetails.ts +0 -10
  801. package/src/models/TopicModel.ts +0 -8
  802. package/src/models/TopicRecord.ts +0 -9
  803. package/src/models/TopicStatistics.ts +0 -12
  804. package/src/models/TopicStatisticsResponse.ts +0 -11
  805. package/src/models/TopicSummaryView.ts +0 -9
  806. package/src/models/TopicsOverview.ts +0 -27
  807. package/src/models/TopicsOverviewMetric.ts +0 -26
  808. package/src/models/Trace.ts +0 -22
  809. package/src/models/TrainChatSessionDocumentView.ts +0 -11
  810. package/src/models/TrainChatSessionDocumentViewRequest.ts +0 -11
  811. package/src/models/TrainDocumentViewRequest.ts +0 -87
  812. package/src/models/TrainDocumentViewResponse.ts +0 -20
  813. package/src/models/Training.ts +0 -46
  814. package/src/models/TrainingCreate.ts +0 -36
  815. package/src/models/TrainingStatusEnum.ts +0 -16
  816. package/src/models/TransportEnum.ts +0 -14
  817. package/src/models/TrendEntry.ts +0 -9
  818. package/src/models/TriggerRequest.ts +0 -10
  819. package/src/models/TriggerResponse.ts +0 -11
  820. package/src/models/TtsProviderEnum.ts +0 -14
  821. package/src/models/TypeC42Enum.ts +0 -12
  822. package/src/models/Unit.ts +0 -16
  823. package/src/models/UnitWithChildren.ts +0 -18
  824. package/src/models/UseMainCreds.ts +0 -8
  825. package/src/models/UserAllChatMemoryView.ts +0 -12
  826. package/src/models/UserCatalogItemMemoryView.ts +0 -19
  827. package/src/models/UserChatByPeriod.ts +0 -9
  828. package/src/models/UserChatFeedback.ts +0 -20
  829. package/src/models/UserChatFeedbackCount.ts +0 -9
  830. package/src/models/UserChatMemoryStatusRequestView.ts +0 -11
  831. package/src/models/UserChatMemoryStatusView.ts +0 -11
  832. package/src/models/UserChatMemoryUpdateView.ts +0 -15
  833. package/src/models/UserCountRecord.ts +0 -9
  834. package/src/models/UserDetail.ts +0 -12
  835. package/src/models/UserEdxMemory.ts +0 -20
  836. package/src/models/UserMemory.ts +0 -23
  837. package/src/models/UserMemoryContextRequest.ts +0 -18
  838. package/src/models/UserMemoryContextResponse.ts +0 -17
  839. package/src/models/UserMemoryEntry.ts +0 -14
  840. package/src/models/UserMemoryEntryRequest.ts +0 -10
  841. package/src/models/UserMemoryRequest.ts +0 -17
  842. package/src/models/UserMetric.ts +0 -9
  843. package/src/models/UserMetricsResponse.ts +0 -12
  844. package/src/models/UserSentimentCountView.ts +0 -9
  845. package/src/models/UserTrendByPeriod.ts +0 -10
  846. package/src/models/V2GlobalMentorSearchResponse.ts +0 -34
  847. package/src/models/V2PersonalizedMentorsResponse.ts +0 -34
  848. package/src/models/V2RecommendationResponse.ts +0 -70
  849. package/src/models/VectorResult.ts +0 -15
  850. package/src/models/VeoVideoDetail.ts +0 -15
  851. package/src/models/VeoVideoList.ts +0 -11
  852. package/src/models/VeoVideoRequest.ts +0 -10
  853. package/src/models/VideoCaption.ts +0 -8
  854. package/src/models/Voice.ts +0 -14
  855. package/src/models/WebResource.ts +0 -14
  856. package/src/models/WebResourceCard.ts +0 -12
  857. package/src/models/WebResourcesQuery.ts +0 -8
  858. package/src/models/WebexConfig.ts +0 -15
  859. package/src/models/WebexWebhook.ts +0 -9
  860. package/src/models/WhatAppWebHook.ts +0 -8
  861. package/src/models/WhatsappConfig.ts +0 -16
  862. package/src/models/WhatsappUserConfig.ts +0 -15
  863. package/src/services/AiAccountService.ts +0 -897
  864. package/src/services/AiBotService.ts +0 -1350
  865. package/src/services/AiFinetuningService.ts +0 -472
  866. package/src/services/AiIndexService.ts +0 -710
  867. package/src/services/AiMarketingService.ts +0 -96
  868. package/src/services/AiMediaService.ts +0 -532
  869. package/src/services/AiMentorService.ts +0 -12373
  870. package/src/services/AiPromptService.ts +0 -1985
  871. package/src/services/AiSearchService.ts +0 -728
@@ -1,1985 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do not edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { GuidedPromptsResponse } from '../models/GuidedPromptsResponse';
6
- import type { LanguagesView } from '../models/LanguagesView';
7
- import type { MemoryStatusRequestView } from '../models/MemoryStatusRequestView';
8
- import type { MemoryStatusView } from '../models/MemoryStatusView';
9
- import type { Metadata } from '../models/Metadata';
10
- import type { PatchedPrompt } from '../models/PatchedPrompt';
11
- import type { Prompt } from '../models/Prompt';
12
- import type { PromptCategory } from '../models/PromptCategory';
13
- import type { StylesView } from '../models/StylesView';
14
- import type { TagsView } from '../models/TagsView';
15
- import type { TonesView } from '../models/TonesView';
16
- import type { UserAllChatMemoryView } from '../models/UserAllChatMemoryView';
17
- import type { UserCatalogItemMemoryView } from '../models/UserCatalogItemMemoryView';
18
- import type { UserChatMemoryStatusRequestView } from '../models/UserChatMemoryStatusRequestView';
19
- import type { UserChatMemoryStatusView } from '../models/UserChatMemoryStatusView';
20
- import type { UserChatMemoryUpdateView } from '../models/UserChatMemoryUpdateView';
21
- import type { UserMemoryContextRequest } from '../models/UserMemoryContextRequest';
22
- import type { UserMemoryContextResponse } from '../models/UserMemoryContextResponse';
23
- import type { CancelablePromise } from '../core/CancelablePromise';
24
- import { OpenAPI } from '../core/OpenAPI';
25
- import { request as __request } from '../core/request';
26
- export class AiPromptService {
27
- /**
28
- * Create or update metadata for a prompt.
29
- *
30
- * Args:
31
- * request: The HTTP request containing the metadata.
32
- * org: The organization/tenant identifier.
33
- *
34
- * Returns:
35
- * Response: The created or updated prompt metadata.
36
- *
37
- * Raises:
38
- * BadRequest: If the provided data is invalid.
39
- * @returns Metadata
40
- * @throws ApiError
41
- */
42
- public static aiPromptOrgsMetadataCreate({
43
- org,
44
- requestBody,
45
- }: {
46
- org: string,
47
- requestBody: Metadata,
48
- }): CancelablePromise<Metadata> {
49
- return __request(OpenAPI, {
50
- method: 'POST',
51
- url: '/api/ai-prompt/orgs/{org}/metadata/',
52
- path: {
53
- 'org': org,
54
- },
55
- body: requestBody,
56
- mediaType: 'application/json',
57
- errors: {
58
- 400: `Invalid data`,
59
- },
60
- });
61
- }
62
- /**
63
- * Retrieve chat memory for a specific user.
64
- *
65
- * Args:
66
- * request: The HTTP request.
67
- * org: The organization/tenant identifier.
68
- * user_id: The ID of the user to retrieve chat memory for.
69
- *
70
- * Returns:
71
- * Response: The user's chat memory entries.
72
- *
73
- * Raises:
74
- * NotFound: If no chat memory exists for the user.
75
- * @returns UserAllChatMemoryView
76
- * @throws ApiError
77
- */
78
- public static aiPromptOrgsUsersAllChatsMemoryRetrieve({
79
- org,
80
- userId,
81
- }: {
82
- org: string,
83
- userId: string,
84
- }): CancelablePromise<UserAllChatMemoryView> {
85
- return __request(OpenAPI, {
86
- method: 'GET',
87
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/all-chats-memory/',
88
- path: {
89
- 'org': org,
90
- 'user_id': userId,
91
- },
92
- errors: {
93
- 404: `Memory not found`,
94
- },
95
- });
96
- }
97
- /**
98
- * Create a new chat memory entry for a user.
99
- *
100
- * Args:
101
- * request: The HTTP request containing the chat memory data.
102
- * org: The organization/tenant identifier.
103
- * user_id: The ID of the user to create chat memory for.
104
- *
105
- * Returns:
106
- * Response: The created chat memory entry.
107
- *
108
- * Raises:
109
- * BadRequest: If the provided data is invalid.
110
- * @returns UserAllChatMemoryView
111
- * @throws ApiError
112
- */
113
- public static aiPromptOrgsUsersAllChatsMemoryCreate({
114
- org,
115
- userId,
116
- requestBody,
117
- }: {
118
- org: string,
119
- userId: string,
120
- requestBody: UserAllChatMemoryView,
121
- }): CancelablePromise<UserAllChatMemoryView> {
122
- return __request(OpenAPI, {
123
- method: 'POST',
124
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/all-chats-memory/',
125
- path: {
126
- 'org': org,
127
- 'user_id': userId,
128
- },
129
- body: requestBody,
130
- mediaType: 'application/json',
131
- errors: {
132
- 400: `Invalid data`,
133
- },
134
- });
135
- }
136
- /**
137
- * Update chat memory for a specific user.
138
- *
139
- * Args:
140
- * request: The HTTP request containing the updated chat memory data.
141
- * org: The organization/tenant identifier.
142
- * user_id: The ID of the user to update chat memory for.
143
- *
144
- * Returns:
145
- * Response: A confirmation of the scheduled update task.
146
- *
147
- * Raises:
148
- * BadRequest: If the provided data is invalid.
149
- * NotFound: If no chat memory exists for the user.
150
- * @returns UserChatMemoryUpdateView
151
- * @throws ApiError
152
- */
153
- public static aiPromptOrgsUsersAllChatsMemoryUpdate({
154
- org,
155
- userId,
156
- requestBody,
157
- }: {
158
- org: string,
159
- userId: string,
160
- requestBody: UserAllChatMemoryView,
161
- }): CancelablePromise<UserChatMemoryUpdateView> {
162
- return __request(OpenAPI, {
163
- method: 'PUT',
164
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/all-chats-memory/',
165
- path: {
166
- 'org': org,
167
- 'user_id': userId,
168
- },
169
- body: requestBody,
170
- mediaType: 'application/json',
171
- errors: {
172
- 400: `Invalid data`,
173
- 404: `Memory not found`,
174
- },
175
- });
176
- }
177
- /**
178
- * Delete all chat memory for a specific user.
179
- *
180
- * Args:
181
- * request: The HTTP request.
182
- * org: The organization/tenant identifier.
183
- * user_id: The ID of the user to delete chat memory for.
184
- *
185
- * Returns:
186
- * Response: A success message if the memory was deleted.
187
- *
188
- * Raises:
189
- * NotFound: If no chat memory exists for the user.
190
- * @returns void
191
- * @throws ApiError
192
- */
193
- public static aiPromptOrgsUsersAllChatsMemoryDestroy({
194
- org,
195
- userId,
196
- }: {
197
- org: string,
198
- userId: string,
199
- }): CancelablePromise<void> {
200
- return __request(OpenAPI, {
201
- method: 'DELETE',
202
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/all-chats-memory/',
203
- path: {
204
- 'org': org,
205
- 'user_id': userId,
206
- },
207
- errors: {
208
- 404: `Memory not found`,
209
- },
210
- });
211
- }
212
- /**
213
- * Update a specific chat memory entry.
214
- *
215
- * Args:
216
- * request: The HTTP request containing the updated chat memory data.
217
- * org: The organization/tenant identifier.
218
- * user_id: The ID of the user who owns the memory.
219
- * memory_id: The ID of the specific memory entry to update.
220
- *
221
- * Returns:
222
- * Response: The updated chat memory entry.
223
- *
224
- * Raises:
225
- * BadRequest: If the provided data is invalid.
226
- * NotFound: If the specified memory entry does not exist.
227
- * @returns UserAllChatMemoryView
228
- * @throws ApiError
229
- */
230
- public static aiPromptOrgsUsersAllChatsMemoryUpdate2({
231
- memoryId,
232
- org,
233
- userId,
234
- requestBody,
235
- }: {
236
- memoryId: number,
237
- org: string,
238
- userId: string,
239
- requestBody: UserAllChatMemoryView,
240
- }): CancelablePromise<UserAllChatMemoryView> {
241
- return __request(OpenAPI, {
242
- method: 'PUT',
243
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/all-chats-memory/{memory_id}/',
244
- path: {
245
- 'memory_id': memoryId,
246
- 'org': org,
247
- 'user_id': userId,
248
- },
249
- body: requestBody,
250
- mediaType: 'application/json',
251
- errors: {
252
- 400: `Invalid data`,
253
- 404: `Memory not found`,
254
- },
255
- });
256
- }
257
- /**
258
- * Delete a specific chat memory entry.
259
- *
260
- * Args:
261
- * request: The HTTP request.
262
- * org: The organization/tenant identifier.
263
- * user_id: The ID of the user who owns the memory.
264
- * memory_id: The ID of the specific memory entry to delete.
265
- *
266
- * Returns:
267
- * Response: A success message if the memory was deleted.
268
- *
269
- * Raises:
270
- * NotFound: If the specified memory entry does not exist.
271
- * @returns void
272
- * @throws ApiError
273
- */
274
- public static aiPromptOrgsUsersAllChatsMemoryDestroy2({
275
- memoryId,
276
- org,
277
- userId,
278
- }: {
279
- memoryId: number,
280
- org: string,
281
- userId: string,
282
- }): CancelablePromise<void> {
283
- return __request(OpenAPI, {
284
- method: 'DELETE',
285
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/all-chats-memory/{memory_id}/',
286
- path: {
287
- 'memory_id': memoryId,
288
- 'org': org,
289
- 'user_id': userId,
290
- },
291
- errors: {
292
- 404: `Memory not found`,
293
- },
294
- });
295
- }
296
- /**
297
- * Retrieve the chat memory status for a specific user.
298
- *
299
- * Args:
300
- * request: The HTTP request.
301
- * org: The organization/tenant identifier.
302
- * user_id: The ID of the user to retrieve memory status for.
303
- *
304
- * Returns:
305
- * Response: The user's chat memory status.
306
- *
307
- * Raises:
308
- * NotFound: If no memory status exists for the user.
309
- * @returns UserChatMemoryStatusView
310
- * @throws ApiError
311
- */
312
- public static aiPromptOrgsUsersChatMemoryStatusRetrieve({
313
- org,
314
- userId,
315
- }: {
316
- org: string,
317
- userId: string,
318
- }): CancelablePromise<UserChatMemoryStatusView> {
319
- return __request(OpenAPI, {
320
- method: 'GET',
321
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/chat-memory-status/',
322
- path: {
323
- 'org': org,
324
- 'user_id': userId,
325
- },
326
- errors: {
327
- 404: `Memory status not found`,
328
- },
329
- });
330
- }
331
- /**
332
- * Update the chat memory status for a specific user.
333
- *
334
- * Args:
335
- * request: The HTTP request containing the updated status.
336
- * org: The organization/tenant identifier.
337
- * user_id: The ID of the user to update memory status for.
338
- *
339
- * Returns:
340
- * Response: The updated chat memory status.
341
- *
342
- * Raises:
343
- * BadRequest: If the provided data is invalid.
344
- * @returns UserChatMemoryStatusView
345
- * @throws ApiError
346
- */
347
- public static aiPromptOrgsUsersChatMemoryStatusUpdate({
348
- org,
349
- userId,
350
- requestBody,
351
- }: {
352
- org: string,
353
- userId: string,
354
- requestBody: UserChatMemoryStatusRequestView,
355
- }): CancelablePromise<UserChatMemoryStatusView> {
356
- return __request(OpenAPI, {
357
- method: 'PUT',
358
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/chat-memory-status/',
359
- path: {
360
- 'org': org,
361
- 'user_id': userId,
362
- },
363
- body: requestBody,
364
- mediaType: 'application/json',
365
- errors: {
366
- 400: `Invalid data`,
367
- },
368
- });
369
- }
370
- /**
371
- * Retrieve all available prompt languages.
372
- *
373
- * Args:
374
- * request: The HTTP request.
375
- * org: The organization/tenant identifier.
376
- * user_id: The ID of the user making the request.
377
- *
378
- * Returns:
379
- * Response: A list of available prompt languages.
380
- * @returns LanguagesView
381
- * @throws ApiError
382
- */
383
- public static aiPromptOrgsUsersLanguagesRetrieve({
384
- org,
385
- userId,
386
- }: {
387
- org: string,
388
- userId: string,
389
- }): CancelablePromise<LanguagesView> {
390
- return __request(OpenAPI, {
391
- method: 'GET',
392
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/languages/',
393
- path: {
394
- 'org': org,
395
- 'user_id': userId,
396
- },
397
- });
398
- }
399
- /**
400
- * Create a new prompt language.
401
- *
402
- * Args:
403
- * request: The HTTP request containing the language data.
404
- * org: The organization/tenant identifier.
405
- * user_id: The ID of the user creating the language.
406
- *
407
- * Returns:
408
- * Response: The created prompt language.
409
- *
410
- * Raises:
411
- * BadRequest: If the provided data is invalid.
412
- * @returns LanguagesView
413
- * @throws ApiError
414
- */
415
- public static aiPromptOrgsUsersLanguagesCreate({
416
- org,
417
- userId,
418
- requestBody,
419
- }: {
420
- org: string,
421
- userId: string,
422
- requestBody: LanguagesView,
423
- }): CancelablePromise<LanguagesView> {
424
- return __request(OpenAPI, {
425
- method: 'POST',
426
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/languages/',
427
- path: {
428
- 'org': org,
429
- 'user_id': userId,
430
- },
431
- body: requestBody,
432
- mediaType: 'application/json',
433
- errors: {
434
- 400: `Invalid data`,
435
- },
436
- });
437
- }
438
- /**
439
- * Update a specific prompt language.
440
- *
441
- * Args:
442
- * request: The HTTP request containing the updated language data.
443
- * org: The organization/tenant identifier.
444
- * user_id: The ID of the user making the request.
445
- * language_id: The ID of the language to update.
446
- *
447
- * Returns:
448
- * Response: The updated prompt language.
449
- *
450
- * Raises:
451
- * BadRequest: If the provided data is invalid.
452
- * NotFound: If the specified language does not exist.
453
- * @returns LanguagesView
454
- * @throws ApiError
455
- */
456
- public static aiPromptOrgsUsersLanguagesUpdate({
457
- languageId,
458
- org,
459
- userId,
460
- requestBody,
461
- }: {
462
- languageId: number,
463
- org: string,
464
- userId: string,
465
- requestBody: LanguagesView,
466
- }): CancelablePromise<LanguagesView> {
467
- return __request(OpenAPI, {
468
- method: 'PUT',
469
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/languages/{language_id}/',
470
- path: {
471
- 'language_id': languageId,
472
- 'org': org,
473
- 'user_id': userId,
474
- },
475
- body: requestBody,
476
- mediaType: 'application/json',
477
- errors: {
478
- 400: `Invalid data`,
479
- 404: `Language not found`,
480
- },
481
- });
482
- }
483
- /**
484
- * Delete a specific prompt language.
485
- *
486
- * Args:
487
- * request: The HTTP request.
488
- * org: The organization/tenant identifier.
489
- * user_id: The ID of the user making the request.
490
- * language_id: The ID of the language to delete.
491
- *
492
- * Returns:
493
- * Response: A success message if the language was deleted.
494
- *
495
- * Raises:
496
- * NotFound: If the specified language does not exist.
497
- * @returns void
498
- * @throws ApiError
499
- */
500
- public static aiPromptOrgsUsersLanguagesDestroy({
501
- languageId,
502
- org,
503
- userId,
504
- }: {
505
- languageId: number,
506
- org: string,
507
- userId: string,
508
- }): CancelablePromise<void> {
509
- return __request(OpenAPI, {
510
- method: 'DELETE',
511
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/languages/{language_id}/',
512
- path: {
513
- 'language_id': languageId,
514
- 'org': org,
515
- 'user_id': userId,
516
- },
517
- errors: {
518
- 404: `Language not found`,
519
- },
520
- });
521
- }
522
- /**
523
- * Retrieve catalog item memory for a specific user.
524
- *
525
- * Args:
526
- * request: The HTTP request.
527
- * org: The organization/tenant identifier.
528
- * user_id: The ID of the user to retrieve catalog item memory for.
529
- *
530
- * Returns:
531
- * Response: The user's catalog item memory entries.
532
- *
533
- * Raises:
534
- * NotFound: If no catalog item memory exists for the user.
535
- * @returns UserCatalogItemMemoryView
536
- * @throws ApiError
537
- */
538
- public static aiPromptOrgsUsersMemoryRetrieve({
539
- org,
540
- userId,
541
- }: {
542
- org: string,
543
- userId: string,
544
- }): CancelablePromise<UserCatalogItemMemoryView> {
545
- return __request(OpenAPI, {
546
- method: 'GET',
547
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/memory/',
548
- path: {
549
- 'org': org,
550
- 'user_id': userId,
551
- },
552
- errors: {
553
- 404: `Memory not found`,
554
- },
555
- });
556
- }
557
- /**
558
- * Create a new catalog item memory entry for a user.
559
- *
560
- * Args:
561
- * request: The HTTP request containing the catalog item memory data.
562
- * org: The organization/tenant identifier.
563
- * user_id: The ID of the user to create catalog item memory for.
564
- *
565
- * Returns:
566
- * Response: The created catalog item memory entry.
567
- *
568
- * Raises:
569
- * BadRequest: If the provided data is invalid.
570
- * @returns UserCatalogItemMemoryView
571
- * @throws ApiError
572
- */
573
- public static aiPromptOrgsUsersMemoryCreate({
574
- org,
575
- userId,
576
- requestBody,
577
- }: {
578
- org: string,
579
- userId: string,
580
- requestBody: UserCatalogItemMemoryView,
581
- }): CancelablePromise<UserCatalogItemMemoryView> {
582
- return __request(OpenAPI, {
583
- method: 'POST',
584
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/memory/',
585
- path: {
586
- 'org': org,
587
- 'user_id': userId,
588
- },
589
- body: requestBody,
590
- mediaType: 'application/json',
591
- errors: {
592
- 400: `Invalid data`,
593
- },
594
- });
595
- }
596
- /**
597
- * Delete all catalog item memory for a specific user.
598
- *
599
- * Args:
600
- * request: The HTTP request.
601
- * org: The organization/tenant identifier.
602
- * user_id: The ID of the user to delete catalog item memory for.
603
- *
604
- * Returns:
605
- * Response: A success message if the memory was deleted.
606
- *
607
- * Raises:
608
- * NotFound: If no catalog item memory exists for the user.
609
- * @returns void
610
- * @throws ApiError
611
- */
612
- public static aiPromptOrgsUsersMemoryDestroy({
613
- org,
614
- userId,
615
- }: {
616
- org: string,
617
- userId: string,
618
- }): CancelablePromise<void> {
619
- return __request(OpenAPI, {
620
- method: 'DELETE',
621
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/memory/',
622
- path: {
623
- 'org': org,
624
- 'user_id': userId,
625
- },
626
- errors: {
627
- 404: `Memory not found`,
628
- },
629
- });
630
- }
631
- /**
632
- * Retrieve a user's memory context settings.
633
- * @returns UserMemoryContextResponse
634
- * @throws ApiError
635
- */
636
- public static aiPromptOrgsUsersMemoryContextRetrieve({
637
- org,
638
- userId,
639
- }: {
640
- org: string,
641
- userId: string,
642
- }): CancelablePromise<UserMemoryContextResponse> {
643
- return __request(OpenAPI, {
644
- method: 'GET',
645
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/memory-context/',
646
- path: {
647
- 'org': org,
648
- 'user_id': userId,
649
- },
650
- });
651
- }
652
- /**
653
- * Updates the user's memory context settings.
654
- *
655
- * Returns:
656
- *
657
- * 200: list of user memory context data.
658
- * @returns UserMemoryContextResponse
659
- * @throws ApiError
660
- */
661
- public static aiPromptOrgsUsersMemoryContextUpdate({
662
- org,
663
- userId,
664
- requestBody,
665
- }: {
666
- org: string,
667
- userId: string,
668
- requestBody?: UserMemoryContextRequest,
669
- }): CancelablePromise<UserMemoryContextResponse> {
670
- return __request(OpenAPI, {
671
- method: 'PUT',
672
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/memory-context/',
673
- path: {
674
- 'org': org,
675
- 'user_id': userId,
676
- },
677
- body: requestBody,
678
- mediaType: 'application/json',
679
- });
680
- }
681
- /**
682
- * Retrieve the memory status for a specific user.
683
- *
684
- * Args:
685
- * request: The HTTP request.
686
- * org: The organization/tenant identifier.
687
- * user_id: The ID of the user to retrieve memory status for.
688
- *
689
- * Returns:
690
- * Response: The user's memory status.
691
- *
692
- * Raises:
693
- * NotFound: If no memory status exists for the user.
694
- * @returns MemoryStatusView
695
- * @throws ApiError
696
- */
697
- public static aiPromptOrgsUsersMemoryStatusRetrieve({
698
- org,
699
- userId,
700
- }: {
701
- org: string,
702
- userId: string,
703
- }): CancelablePromise<MemoryStatusView> {
704
- return __request(OpenAPI, {
705
- method: 'GET',
706
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/memory-status/',
707
- path: {
708
- 'org': org,
709
- 'user_id': userId,
710
- },
711
- errors: {
712
- 404: `Memory status not found`,
713
- },
714
- });
715
- }
716
- /**
717
- * Update the memory status for a specific user.
718
- *
719
- * Args:
720
- * request: The HTTP request containing the updated status.
721
- * org: The organization/tenant identifier.
722
- * user_id: The ID of the user to update memory status for.
723
- *
724
- * Returns:
725
- * Response: The updated memory status.
726
- *
727
- * Raises:
728
- * BadRequest: If the provided data is invalid.
729
- * @returns MemoryStatusView
730
- * @throws ApiError
731
- */
732
- public static aiPromptOrgsUsersMemoryStatusUpdate({
733
- org,
734
- userId,
735
- requestBody,
736
- }: {
737
- org: string,
738
- userId: string,
739
- requestBody: MemoryStatusRequestView,
740
- }): CancelablePromise<MemoryStatusView> {
741
- return __request(OpenAPI, {
742
- method: 'PUT',
743
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/memory-status/',
744
- path: {
745
- 'org': org,
746
- 'user_id': userId,
747
- },
748
- body: requestBody,
749
- mediaType: 'application/json',
750
- errors: {
751
- 400: `Invalid data`,
752
- },
753
- });
754
- }
755
- /**
756
- * Update a specific catalog item memory entry.
757
- *
758
- * Args:
759
- * request: The HTTP request containing the updated catalog item memory data.
760
- * org: The organization/tenant identifier.
761
- * user_id: The ID of the user who owns the memory.
762
- * memory_id: The ID of the specific memory entry to update.
763
- *
764
- * Returns:
765
- * Response: The updated catalog item memory entry.
766
- *
767
- * Raises:
768
- * BadRequest: If the provided data is invalid.
769
- * NotFound: If the specified memory entry does not exist.
770
- * @returns UserCatalogItemMemoryView
771
- * @throws ApiError
772
- */
773
- public static aiPromptOrgsUsersMemoryUpdate({
774
- memoryId,
775
- org,
776
- userId,
777
- requestBody,
778
- }: {
779
- memoryId: number,
780
- org: string,
781
- userId: string,
782
- requestBody: UserCatalogItemMemoryView,
783
- }): CancelablePromise<UserCatalogItemMemoryView> {
784
- return __request(OpenAPI, {
785
- method: 'PUT',
786
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/memory/{memory_id}/',
787
- path: {
788
- 'memory_id': memoryId,
789
- 'org': org,
790
- 'user_id': userId,
791
- },
792
- body: requestBody,
793
- mediaType: 'application/json',
794
- errors: {
795
- 400: `Invalid data`,
796
- 404: `Memory not found`,
797
- },
798
- });
799
- }
800
- /**
801
- * Delete a specific catalog item memory entry.
802
- *
803
- * Args:
804
- * request: The HTTP request.
805
- * org: The organization/tenant identifier.
806
- * user_id: The ID of the user who owns the memory.
807
- * memory_id: The ID of the specific memory entry to delete.
808
- *
809
- * Returns:
810
- * Response: A success message if the memory was deleted.
811
- *
812
- * Raises:
813
- * NotFound: If the specified memory entry does not exist.
814
- * @returns void
815
- * @throws ApiError
816
- */
817
- public static aiPromptOrgsUsersMemoryDestroy2({
818
- memoryId,
819
- org,
820
- userId,
821
- }: {
822
- memoryId: number,
823
- org: string,
824
- userId: string,
825
- }): CancelablePromise<void> {
826
- return __request(OpenAPI, {
827
- method: 'DELETE',
828
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/memory/{memory_id}/',
829
- path: {
830
- 'memory_id': memoryId,
831
- 'org': org,
832
- 'user_id': userId,
833
- },
834
- errors: {
835
- 404: `Memory not found`,
836
- },
837
- });
838
- }
839
- /**
840
- * Retrieve metadata for a prompt.
841
- *
842
- * Args:
843
- * request: The HTTP request.
844
- * org: The organization/tenant identifier.
845
- * user_id: The ID of the user making the request.
846
- *
847
- * Returns:
848
- * Response: The prompt metadata.
849
- *
850
- * Raises:
851
- * NotFound: If no metadata exists for the specific prompt
852
- * @returns Metadata
853
- * @throws ApiError
854
- */
855
- public static aiPromptOrgsUsersMetadataRetrieve({
856
- org,
857
- userId,
858
- }: {
859
- org: string,
860
- userId: string,
861
- }): CancelablePromise<Metadata> {
862
- return __request(OpenAPI, {
863
- method: 'GET',
864
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/metadata',
865
- path: {
866
- 'org': org,
867
- 'user_id': userId,
868
- },
869
- errors: {
870
- 404: `Metadata not found`,
871
- },
872
- });
873
- }
874
- /**
875
- * API viewset for managing prompts.
876
- *
877
- * This view allows tenant admins and students to create, retrieve, update,
878
- * and filter prompts based on various parameters.
879
- *
880
- * Permissions:
881
- * - Accessible to both tenant administrators and students
882
- * @returns Prompt
883
- * @throws ApiError
884
- */
885
- public static aiPromptOrgsUsersPromptList({
886
- org,
887
- userId,
888
- category,
889
- createdBy,
890
- filterBy,
891
- mentorUniqueId,
892
- tag,
893
- visibility,
894
- }: {
895
- org: string,
896
- userId: string,
897
- /**
898
- * Category of the prompt
899
- */
900
- category?: number,
901
- /**
902
- * Option to filter by username of the prompt creators.
903
- */
904
- createdBy?: string,
905
- /**
906
- * Filter options include, date, prompt, default is date
907
- */
908
- filterBy?: string,
909
- /**
910
- * Mentor unique id of the prompt
911
- */
912
- mentorUniqueId?: string,
913
- /**
914
- * Tag of the prompt
915
- */
916
- tag?: number,
917
- /**
918
- * Visibility trype the mentor of the prompt
919
- */
920
- visibility?: string,
921
- }): CancelablePromise<Array<Prompt>> {
922
- return __request(OpenAPI, {
923
- method: 'GET',
924
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompt/',
925
- path: {
926
- 'org': org,
927
- 'user_id': userId,
928
- },
929
- query: {
930
- 'category': category,
931
- 'created_by': createdBy,
932
- 'filter_by': filterBy,
933
- 'mentor_unique_id': mentorUniqueId,
934
- 'tag': tag,
935
- 'visibility': visibility,
936
- },
937
- });
938
- }
939
- /**
940
- * Create a new prompt.
941
- *
942
- * Args:
943
- * request: HTTP request containing prompt data.
944
- *
945
- * Returns:
946
- * Response with created prompt details.
947
- *
948
- * Raises:
949
- * ValidationError: If the input data is invalid.
950
- * @returns Prompt
951
- * @throws ApiError
952
- */
953
- public static aiPromptOrgsUsersPromptCreate({
954
- org,
955
- userId,
956
- requestBody,
957
- category,
958
- createdBy,
959
- filterBy,
960
- mentorUniqueId,
961
- tag,
962
- visibility,
963
- }: {
964
- org: string,
965
- userId: string,
966
- requestBody: Prompt,
967
- /**
968
- * Category of the prompt
969
- */
970
- category?: number,
971
- /**
972
- * Option to filter by username of the prompt creators.
973
- */
974
- createdBy?: string,
975
- /**
976
- * Filter options include, date, prompt, default is date
977
- */
978
- filterBy?: string,
979
- /**
980
- * Mentor unique id of the prompt
981
- */
982
- mentorUniqueId?: string,
983
- /**
984
- * Tag of the prompt
985
- */
986
- tag?: number,
987
- /**
988
- * Visibility trype the mentor of the prompt
989
- */
990
- visibility?: string,
991
- }): CancelablePromise<Prompt> {
992
- return __request(OpenAPI, {
993
- method: 'POST',
994
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompt/',
995
- path: {
996
- 'org': org,
997
- 'user_id': userId,
998
- },
999
- query: {
1000
- 'category': category,
1001
- 'created_by': createdBy,
1002
- 'filter_by': filterBy,
1003
- 'mentor_unique_id': mentorUniqueId,
1004
- 'tag': tag,
1005
- 'visibility': visibility,
1006
- },
1007
- body: requestBody,
1008
- mediaType: 'application/json',
1009
- });
1010
- }
1011
- /**
1012
- * API viewset for managing prompts.
1013
- *
1014
- * This view allows tenant admins and students to create, retrieve, update,
1015
- * and filter prompts based on various parameters.
1016
- *
1017
- * Permissions:
1018
- * - Accessible to both tenant administrators and students
1019
- * @returns Prompt
1020
- * @throws ApiError
1021
- */
1022
- public static aiPromptOrgsUsersPromptRetrieve({
1023
- id,
1024
- org,
1025
- userId,
1026
- category,
1027
- createdBy,
1028
- filterBy,
1029
- mentorUniqueId,
1030
- tag,
1031
- visibility,
1032
- }: {
1033
- /**
1034
- * A unique integer value identifying this prompt.
1035
- */
1036
- id: number,
1037
- org: string,
1038
- userId: string,
1039
- /**
1040
- * Category of the prompt
1041
- */
1042
- category?: number,
1043
- /**
1044
- * Option to filter by username of the prompt creators.
1045
- */
1046
- createdBy?: string,
1047
- /**
1048
- * Filter options include, date, prompt, default is date
1049
- */
1050
- filterBy?: string,
1051
- /**
1052
- * Mentor unique id of the prompt
1053
- */
1054
- mentorUniqueId?: string,
1055
- /**
1056
- * Tag of the prompt
1057
- */
1058
- tag?: number,
1059
- /**
1060
- * Visibility trype the mentor of the prompt
1061
- */
1062
- visibility?: string,
1063
- }): CancelablePromise<Prompt> {
1064
- return __request(OpenAPI, {
1065
- method: 'GET',
1066
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompt/{id}/',
1067
- path: {
1068
- 'id': id,
1069
- 'org': org,
1070
- 'user_id': userId,
1071
- },
1072
- query: {
1073
- 'category': category,
1074
- 'created_by': createdBy,
1075
- 'filter_by': filterBy,
1076
- 'mentor_unique_id': mentorUniqueId,
1077
- 'tag': tag,
1078
- 'visibility': visibility,
1079
- },
1080
- });
1081
- }
1082
- /**
1083
- * Update an existing prompt.
1084
- *
1085
- * Args:
1086
- * request: HTTP request containing updated prompt data.
1087
- *
1088
- * Returns:
1089
- * Response with updated prompt details.
1090
- *
1091
- * Raises:
1092
- * ValidationError: If the input data is invalid.
1093
- * PermissionDenied: If the prompt is system-generated and cannot be edited.
1094
- * @returns Prompt
1095
- * @throws ApiError
1096
- */
1097
- public static aiPromptOrgsUsersPromptUpdate({
1098
- id,
1099
- org,
1100
- userId,
1101
- requestBody,
1102
- category,
1103
- createdBy,
1104
- filterBy,
1105
- mentorUniqueId,
1106
- tag,
1107
- visibility,
1108
- }: {
1109
- /**
1110
- * A unique integer value identifying this prompt.
1111
- */
1112
- id: number,
1113
- org: string,
1114
- userId: string,
1115
- requestBody: Prompt,
1116
- /**
1117
- * Category of the prompt
1118
- */
1119
- category?: number,
1120
- /**
1121
- * Option to filter by username of the prompt creators.
1122
- */
1123
- createdBy?: string,
1124
- /**
1125
- * Filter options include, date, prompt, default is date
1126
- */
1127
- filterBy?: string,
1128
- /**
1129
- * Mentor unique id of the prompt
1130
- */
1131
- mentorUniqueId?: string,
1132
- /**
1133
- * Tag of the prompt
1134
- */
1135
- tag?: number,
1136
- /**
1137
- * Visibility trype the mentor of the prompt
1138
- */
1139
- visibility?: string,
1140
- }): CancelablePromise<Prompt> {
1141
- return __request(OpenAPI, {
1142
- method: 'PUT',
1143
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompt/{id}/',
1144
- path: {
1145
- 'id': id,
1146
- 'org': org,
1147
- 'user_id': userId,
1148
- },
1149
- query: {
1150
- 'category': category,
1151
- 'created_by': createdBy,
1152
- 'filter_by': filterBy,
1153
- 'mentor_unique_id': mentorUniqueId,
1154
- 'tag': tag,
1155
- 'visibility': visibility,
1156
- },
1157
- body: requestBody,
1158
- mediaType: 'application/json',
1159
- });
1160
- }
1161
- /**
1162
- * API viewset for managing prompts.
1163
- *
1164
- * This view allows tenant admins and students to create, retrieve, update,
1165
- * and filter prompts based on various parameters.
1166
- *
1167
- * Permissions:
1168
- * - Accessible to both tenant administrators and students
1169
- * @returns Prompt
1170
- * @throws ApiError
1171
- */
1172
- public static aiPromptOrgsUsersPromptPartialUpdate({
1173
- id,
1174
- org,
1175
- userId,
1176
- category,
1177
- createdBy,
1178
- filterBy,
1179
- mentorUniqueId,
1180
- tag,
1181
- visibility,
1182
- requestBody,
1183
- }: {
1184
- /**
1185
- * A unique integer value identifying this prompt.
1186
- */
1187
- id: number,
1188
- org: string,
1189
- userId: string,
1190
- /**
1191
- * Category of the prompt
1192
- */
1193
- category?: number,
1194
- /**
1195
- * Option to filter by username of the prompt creators.
1196
- */
1197
- createdBy?: string,
1198
- /**
1199
- * Filter options include, date, prompt, default is date
1200
- */
1201
- filterBy?: string,
1202
- /**
1203
- * Mentor unique id of the prompt
1204
- */
1205
- mentorUniqueId?: string,
1206
- /**
1207
- * Tag of the prompt
1208
- */
1209
- tag?: number,
1210
- /**
1211
- * Visibility trype the mentor of the prompt
1212
- */
1213
- visibility?: string,
1214
- requestBody?: PatchedPrompt,
1215
- }): CancelablePromise<Prompt> {
1216
- return __request(OpenAPI, {
1217
- method: 'PATCH',
1218
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompt/{id}/',
1219
- path: {
1220
- 'id': id,
1221
- 'org': org,
1222
- 'user_id': userId,
1223
- },
1224
- query: {
1225
- 'category': category,
1226
- 'created_by': createdBy,
1227
- 'filter_by': filterBy,
1228
- 'mentor_unique_id': mentorUniqueId,
1229
- 'tag': tag,
1230
- 'visibility': visibility,
1231
- },
1232
- body: requestBody,
1233
- mediaType: 'application/json',
1234
- });
1235
- }
1236
- /**
1237
- * API viewset for managing prompts.
1238
- *
1239
- * This view allows tenant admins and students to create, retrieve, update,
1240
- * and filter prompts based on various parameters.
1241
- *
1242
- * Permissions:
1243
- * - Accessible to both tenant administrators and students
1244
- * @returns void
1245
- * @throws ApiError
1246
- */
1247
- public static aiPromptOrgsUsersPromptDestroy({
1248
- id,
1249
- org,
1250
- userId,
1251
- category,
1252
- createdBy,
1253
- filterBy,
1254
- mentorUniqueId,
1255
- tag,
1256
- visibility,
1257
- }: {
1258
- /**
1259
- * A unique integer value identifying this prompt.
1260
- */
1261
- id: number,
1262
- org: string,
1263
- userId: string,
1264
- /**
1265
- * Category of the prompt
1266
- */
1267
- category?: number,
1268
- /**
1269
- * Option to filter by username of the prompt creators.
1270
- */
1271
- createdBy?: string,
1272
- /**
1273
- * Filter options include, date, prompt, default is date
1274
- */
1275
- filterBy?: string,
1276
- /**
1277
- * Mentor unique id of the prompt
1278
- */
1279
- mentorUniqueId?: string,
1280
- /**
1281
- * Tag of the prompt
1282
- */
1283
- tag?: number,
1284
- /**
1285
- * Visibility trype the mentor of the prompt
1286
- */
1287
- visibility?: string,
1288
- }): CancelablePromise<void> {
1289
- return __request(OpenAPI, {
1290
- method: 'DELETE',
1291
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompt/{id}/',
1292
- path: {
1293
- 'id': id,
1294
- 'org': org,
1295
- 'user_id': userId,
1296
- },
1297
- query: {
1298
- 'category': category,
1299
- 'created_by': createdBy,
1300
- 'filter_by': filterBy,
1301
- 'mentor_unique_id': mentorUniqueId,
1302
- 'tag': tag,
1303
- 'visibility': visibility,
1304
- },
1305
- });
1306
- }
1307
- /**
1308
- * Retrieve a list of prompt categories.
1309
- *
1310
- * Query Parameters:
1311
- * - filter_by (optional): Sorts categories by name if set to "name".
1312
- *
1313
- * Args:
1314
- * request: The HTTP request.
1315
- * org: Organization key identifier.
1316
- *
1317
- * Returns:
1318
- * - 200: List of prompt categories.
1319
- * - 400: If query parameters are invalid.
1320
- * @returns PromptCategory
1321
- * @throws ApiError
1322
- */
1323
- public static aiPromptOrgsUsersPromptsCategoryRetrieve({
1324
- org,
1325
- userId,
1326
- filterBy,
1327
- }: {
1328
- org: string,
1329
- userId: string,
1330
- /**
1331
- * Filter options include, date, name, default is date
1332
- */
1333
- filterBy?: string,
1334
- }): CancelablePromise<PromptCategory> {
1335
- return __request(OpenAPI, {
1336
- method: 'GET',
1337
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompts/category/',
1338
- path: {
1339
- 'org': org,
1340
- 'user_id': userId,
1341
- },
1342
- query: {
1343
- 'filter_by': filterBy,
1344
- },
1345
- });
1346
- }
1347
- /**
1348
- * Create a new prompt category.
1349
- *
1350
- * Args:
1351
- * request: The HTTP request containing category information.
1352
- * org: Organization key identifier.
1353
- * user_id: User performing the request.
1354
- *
1355
- * Returns:
1356
- * - 201: Created prompt category.
1357
- * - 401: If the user is not a tenant admin.
1358
- * - 400: If request data is invalid.
1359
- * @returns PromptCategory Created prompt category
1360
- * @throws ApiError
1361
- */
1362
- public static aiPromptOrgsUsersPromptsCategoryCreate({
1363
- org,
1364
- userId,
1365
- requestBody,
1366
- }: {
1367
- org: string,
1368
- userId: string,
1369
- requestBody: PromptCategory,
1370
- }): CancelablePromise<PromptCategory> {
1371
- return __request(OpenAPI, {
1372
- method: 'POST',
1373
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompts/category/',
1374
- path: {
1375
- 'org': org,
1376
- 'user_id': userId,
1377
- },
1378
- body: requestBody,
1379
- mediaType: 'application/json',
1380
- });
1381
- }
1382
- /**
1383
- * Delete a prompt category.
1384
- *
1385
- * Args:
1386
- * request: The HTTP request containing the category to delete.
1387
- * org: Organization key identifier.
1388
- * user_id: User performing the request.
1389
- *
1390
- * Returns:
1391
- * - 204: No Content (successful deletion).
1392
- * - 401: If the user is not a tenant admin.
1393
- * - 400: If request data is invalid.
1394
- * - 404: If the category does not exist.
1395
- * @returns void
1396
- * @throws ApiError
1397
- */
1398
- public static aiPromptOrgsUsersPromptsCategoryDestroy({
1399
- org,
1400
- userId,
1401
- }: {
1402
- org: string,
1403
- userId: string,
1404
- }): CancelablePromise<void> {
1405
- return __request(OpenAPI, {
1406
- method: 'DELETE',
1407
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompts/category/',
1408
- path: {
1409
- 'org': org,
1410
- 'user_id': userId,
1411
- },
1412
- errors: {
1413
- 400: `Invalid request data.`,
1414
- 404: `Prompt category not found.`,
1415
- },
1416
- });
1417
- }
1418
- /**
1419
- * API viewset for managing prompts.
1420
- *
1421
- * This view allows anyone to retrieve,
1422
- * and filter prompts based on various parameters.
1423
- *
1424
- * Permissions:
1425
- * - Accessible to anyone
1426
- * @returns Prompt
1427
- * @throws ApiError
1428
- */
1429
- public static aiPromptOrgsUsersPromptsPublicList({
1430
- org,
1431
- userId,
1432
- category,
1433
- createdBy,
1434
- filterBy,
1435
- mentorUniqueId,
1436
- tag,
1437
- visibility,
1438
- }: {
1439
- org: string,
1440
- userId: string,
1441
- /**
1442
- * Category of the prompt
1443
- */
1444
- category?: number,
1445
- /**
1446
- * Option to filter by username of the prompt creators.
1447
- */
1448
- createdBy?: string,
1449
- /**
1450
- * Filter options include, date, prompt, default is date
1451
- */
1452
- filterBy?: string,
1453
- /**
1454
- * Mentor unique id of the prompt
1455
- */
1456
- mentorUniqueId?: string,
1457
- /**
1458
- * Tag of the prompt
1459
- */
1460
- tag?: number,
1461
- /**
1462
- * Visibility trype the mentor of the prompt
1463
- */
1464
- visibility?: string,
1465
- }): CancelablePromise<Array<Prompt>> {
1466
- return __request(OpenAPI, {
1467
- method: 'GET',
1468
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompts/public/',
1469
- path: {
1470
- 'org': org,
1471
- 'user_id': userId,
1472
- },
1473
- query: {
1474
- 'category': category,
1475
- 'created_by': createdBy,
1476
- 'filter_by': filterBy,
1477
- 'mentor_unique_id': mentorUniqueId,
1478
- 'tag': tag,
1479
- 'visibility': visibility,
1480
- },
1481
- });
1482
- }
1483
- /**
1484
- * API viewset for managing prompts.
1485
- *
1486
- * This view allows anyone to retrieve,
1487
- * and filter prompts based on various parameters.
1488
- *
1489
- * Permissions:
1490
- * - Accessible to anyone
1491
- * @returns Prompt
1492
- * @throws ApiError
1493
- */
1494
- public static aiPromptOrgsUsersPromptsPublicRetrieve({
1495
- id,
1496
- org,
1497
- userId,
1498
- category,
1499
- createdBy,
1500
- filterBy,
1501
- mentorUniqueId,
1502
- tag,
1503
- visibility,
1504
- }: {
1505
- /**
1506
- * A unique integer value identifying this prompt.
1507
- */
1508
- id: number,
1509
- org: string,
1510
- userId: string,
1511
- /**
1512
- * Category of the prompt
1513
- */
1514
- category?: number,
1515
- /**
1516
- * Option to filter by username of the prompt creators.
1517
- */
1518
- createdBy?: string,
1519
- /**
1520
- * Filter options include, date, prompt, default is date
1521
- */
1522
- filterBy?: string,
1523
- /**
1524
- * Mentor unique id of the prompt
1525
- */
1526
- mentorUniqueId?: string,
1527
- /**
1528
- * Tag of the prompt
1529
- */
1530
- tag?: number,
1531
- /**
1532
- * Visibility trype the mentor of the prompt
1533
- */
1534
- visibility?: string,
1535
- }): CancelablePromise<Prompt> {
1536
- return __request(OpenAPI, {
1537
- method: 'GET',
1538
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/prompts/public/{id}/',
1539
- path: {
1540
- 'id': id,
1541
- 'org': org,
1542
- 'user_id': userId,
1543
- },
1544
- query: {
1545
- 'category': category,
1546
- 'created_by': createdBy,
1547
- 'filter_by': filterBy,
1548
- 'mentor_unique_id': mentorUniqueId,
1549
- 'tag': tag,
1550
- 'visibility': visibility,
1551
- },
1552
- });
1553
- }
1554
- /**
1555
- * Retrieve guided prompts for a chat session
1556
- * Fetches AI-generated guided prompts for a given session and organization.
1557
- * @returns GuidedPromptsResponse
1558
- * @throws ApiError
1559
- */
1560
- public static aiPromptOrgsUsersSessionsGuidedPromptsRetrieve({
1561
- org,
1562
- sessionId,
1563
- userId,
1564
- count = 5,
1565
- }: {
1566
- org: string,
1567
- sessionId: string,
1568
- userId: string,
1569
- count?: number,
1570
- }): CancelablePromise<GuidedPromptsResponse> {
1571
- return __request(OpenAPI, {
1572
- method: 'GET',
1573
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/sessions/{session_id}/guided-prompts/',
1574
- path: {
1575
- 'org': org,
1576
- 'session_id': sessionId,
1577
- 'user_id': userId,
1578
- },
1579
- query: {
1580
- 'count': count,
1581
- },
1582
- });
1583
- }
1584
- /**
1585
- * Endpoint for getting prompt styles.
1586
- *
1587
- * Accessible to tenant admins and students.
1588
- *
1589
- * Returns:
1590
- *
1591
- * 200: List of styles.
1592
- * @returns StylesView
1593
- * @throws ApiError
1594
- */
1595
- public static aiPromptOrgsUsersStylesRetrieve({
1596
- org,
1597
- userId,
1598
- }: {
1599
- org: string,
1600
- userId: string,
1601
- }): CancelablePromise<StylesView> {
1602
- return __request(OpenAPI, {
1603
- method: 'GET',
1604
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/styles/',
1605
- path: {
1606
- 'org': org,
1607
- 'user_id': userId,
1608
- },
1609
- });
1610
- }
1611
- /**
1612
- * Endpoint for Adding prompt style.
1613
- *
1614
- * Accessible to tenant admins only.
1615
- *
1616
- * Returns:
1617
- *
1618
- * 201: style Object.
1619
- *
1620
- * 400: When data is not valid.
1621
- * @returns StylesView
1622
- * @throws ApiError
1623
- */
1624
- public static aiPromptOrgsUsersStylesCreate({
1625
- org,
1626
- userId,
1627
- requestBody,
1628
- }: {
1629
- org: string,
1630
- userId: string,
1631
- requestBody: StylesView,
1632
- }): CancelablePromise<StylesView> {
1633
- return __request(OpenAPI, {
1634
- method: 'POST',
1635
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/styles/',
1636
- path: {
1637
- 'org': org,
1638
- 'user_id': userId,
1639
- },
1640
- body: requestBody,
1641
- mediaType: 'application/json',
1642
- });
1643
- }
1644
- /**
1645
- * Endpoint for Adding prompt style.
1646
- *
1647
- * Accessible to tenant admins only.
1648
- *
1649
- * Returns:
1650
- *
1651
- * 200: style Object.
1652
- *
1653
- * 400: When data is not valid.
1654
- * @returns StylesView
1655
- * @throws ApiError
1656
- */
1657
- public static aiPromptOrgsUsersStylesUpdate({
1658
- org,
1659
- styleId,
1660
- userId,
1661
- requestBody,
1662
- }: {
1663
- org: string,
1664
- styleId: number,
1665
- userId: string,
1666
- requestBody: StylesView,
1667
- }): CancelablePromise<StylesView> {
1668
- return __request(OpenAPI, {
1669
- method: 'PUT',
1670
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/styles/{style_id}/',
1671
- path: {
1672
- 'org': org,
1673
- 'style_id': styleId,
1674
- 'user_id': userId,
1675
- },
1676
- body: requestBody,
1677
- mediaType: 'application/json',
1678
- });
1679
- }
1680
- /**
1681
- * Endpoint for deleting prompt style.
1682
- *
1683
- * Accessible to tenant admins and students.
1684
- *
1685
- * Returns:
1686
- *
1687
- * 204: No response data.
1688
- *
1689
- * 400: When data is not valid.
1690
- * @returns void
1691
- * @throws ApiError
1692
- */
1693
- public static aiPromptOrgsUsersStylesDestroy({
1694
- org,
1695
- styleId,
1696
- userId,
1697
- }: {
1698
- org: string,
1699
- styleId: number,
1700
- userId: string,
1701
- }): CancelablePromise<void> {
1702
- return __request(OpenAPI, {
1703
- method: 'DELETE',
1704
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/styles/{style_id}/',
1705
- path: {
1706
- 'org': org,
1707
- 'style_id': styleId,
1708
- 'user_id': userId,
1709
- },
1710
- });
1711
- }
1712
- /**
1713
- * Endpoint for getting prompt tags.
1714
- *
1715
- * Accessible to tenant admins and students.
1716
- *
1717
- * Returns:
1718
- *
1719
- * 200: List of tags.
1720
- * @returns TagsView
1721
- * @throws ApiError
1722
- */
1723
- public static aiPromptOrgsUsersTagsRetrieve({
1724
- org,
1725
- userId,
1726
- }: {
1727
- org: string,
1728
- userId: string,
1729
- }): CancelablePromise<TagsView> {
1730
- return __request(OpenAPI, {
1731
- method: 'GET',
1732
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/tags/',
1733
- path: {
1734
- 'org': org,
1735
- 'user_id': userId,
1736
- },
1737
- });
1738
- }
1739
- /**
1740
- * Endpoint for Adding prompt tag.
1741
- *
1742
- * Accessible to tenant admins and students.
1743
- *
1744
- * Returns:
1745
- *
1746
- * 201: tag Object.
1747
- *
1748
- * 400: When data is not valid.
1749
- *
1750
- *
1751
- *
1752
- * Example:
1753
- *
1754
- * POST: /api/ai-prompt/orgs/main/users/johndoe/tags/
1755
- *
1756
- * Request: Response: {
1757
- * "name": "Programming",
1758
- * "description": "tags for programing prompts"
1759
- * }
1760
- *
1761
- * Response: {
1762
- * "id": 1,
1763
- * "name": "Programming",
1764
- * "description": "tags for programing prompts"
1765
- * }
1766
- * @returns TagsView
1767
- * @throws ApiError
1768
- */
1769
- public static aiPromptOrgsUsersTagsCreate({
1770
- org,
1771
- userId,
1772
- requestBody,
1773
- }: {
1774
- org: string,
1775
- userId: string,
1776
- requestBody: TagsView,
1777
- }): CancelablePromise<TagsView> {
1778
- return __request(OpenAPI, {
1779
- method: 'POST',
1780
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/tags/',
1781
- path: {
1782
- 'org': org,
1783
- 'user_id': userId,
1784
- },
1785
- body: requestBody,
1786
- mediaType: 'application/json',
1787
- });
1788
- }
1789
- /**
1790
- * Endpoint for updating prompt tag.
1791
- *
1792
- * Accessible to tenant admins and students.
1793
- *
1794
- * Returns:
1795
- *
1796
- * 200: tag Object.
1797
- *
1798
- * 400: When data is not valid.
1799
- * @returns TagsView
1800
- * @throws ApiError
1801
- */
1802
- public static aiPromptOrgsUsersTagsUpdate({
1803
- org,
1804
- tagId,
1805
- userId,
1806
- requestBody,
1807
- }: {
1808
- org: string,
1809
- tagId: number,
1810
- userId: string,
1811
- requestBody: TagsView,
1812
- }): CancelablePromise<TagsView> {
1813
- return __request(OpenAPI, {
1814
- method: 'PUT',
1815
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/tags/{tag_id}/',
1816
- path: {
1817
- 'org': org,
1818
- 'tag_id': tagId,
1819
- 'user_id': userId,
1820
- },
1821
- body: requestBody,
1822
- mediaType: 'application/json',
1823
- });
1824
- }
1825
- /**
1826
- * Endpoint for deleting prompt tag.
1827
- *
1828
- * Accessible to tenant admins and students.
1829
- *
1830
- * Returns:
1831
- *
1832
- * 204: No response data.
1833
- *
1834
- * 400: When data is not valid.
1835
- * @returns void
1836
- * @throws ApiError
1837
- */
1838
- public static aiPromptOrgsUsersTagsDestroy({
1839
- org,
1840
- tagId,
1841
- userId,
1842
- }: {
1843
- org: string,
1844
- tagId: number,
1845
- userId: string,
1846
- }): CancelablePromise<void> {
1847
- return __request(OpenAPI, {
1848
- method: 'DELETE',
1849
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/tags/{tag_id}/',
1850
- path: {
1851
- 'org': org,
1852
- 'tag_id': tagId,
1853
- 'user_id': userId,
1854
- },
1855
- });
1856
- }
1857
- /**
1858
- * Endpoint for getting prompt tones.
1859
- *
1860
- * Accessible to tenant admins and students.
1861
- *
1862
- * Returns:
1863
- *
1864
- * 200: List of tones.
1865
- * @returns TonesView
1866
- * @throws ApiError
1867
- */
1868
- public static aiPromptOrgsUsersTonesRetrieve({
1869
- org,
1870
- userId,
1871
- }: {
1872
- org: string,
1873
- userId: string,
1874
- }): CancelablePromise<TonesView> {
1875
- return __request(OpenAPI, {
1876
- method: 'GET',
1877
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/tones/',
1878
- path: {
1879
- 'org': org,
1880
- 'user_id': userId,
1881
- },
1882
- });
1883
- }
1884
- /**
1885
- * Endpoint for Adding prompt tone.
1886
- *
1887
- * Accessible to tenant admins only.
1888
- *
1889
- * Returns:
1890
- *
1891
- * 201: tone Object.
1892
- *
1893
- * 400: When data is not valid.
1894
- * @returns TonesView
1895
- * @throws ApiError
1896
- */
1897
- public static aiPromptOrgsUsersTonesCreate({
1898
- org,
1899
- userId,
1900
- requestBody,
1901
- }: {
1902
- org: string,
1903
- userId: string,
1904
- requestBody?: TonesView,
1905
- }): CancelablePromise<TonesView> {
1906
- return __request(OpenAPI, {
1907
- method: 'POST',
1908
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/tones/',
1909
- path: {
1910
- 'org': org,
1911
- 'user_id': userId,
1912
- },
1913
- body: requestBody,
1914
- mediaType: 'application/json',
1915
- });
1916
- }
1917
- /**
1918
- * Endpoint for updating prompt tone.
1919
- *
1920
- * Accessible to tenant admins only.
1921
- *
1922
- * Returns:
1923
- *
1924
- * 200: tone Object.
1925
- *
1926
- * 400: When data is not valid.
1927
- * @returns TonesView
1928
- * @throws ApiError
1929
- */
1930
- public static aiPromptOrgsUsersTonesUpdate({
1931
- org,
1932
- toneId,
1933
- userId,
1934
- requestBody,
1935
- }: {
1936
- org: string,
1937
- toneId: number,
1938
- userId: string,
1939
- requestBody?: TonesView,
1940
- }): CancelablePromise<TonesView> {
1941
- return __request(OpenAPI, {
1942
- method: 'PUT',
1943
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/tones/{tone_id}/',
1944
- path: {
1945
- 'org': org,
1946
- 'tone_id': toneId,
1947
- 'user_id': userId,
1948
- },
1949
- body: requestBody,
1950
- mediaType: 'application/json',
1951
- });
1952
- }
1953
- /**
1954
- * Endpoint for deleting prompt tone.
1955
- *
1956
- * Accessible to tenant admins and students.
1957
- *
1958
- * Returns:
1959
- *
1960
- * 204: No response data.
1961
- *
1962
- * 400: When data is not valid.
1963
- * @returns void
1964
- * @throws ApiError
1965
- */
1966
- public static aiPromptOrgsUsersTonesDestroy({
1967
- org,
1968
- toneId,
1969
- userId,
1970
- }: {
1971
- org: string,
1972
- toneId: number,
1973
- userId: string,
1974
- }): CancelablePromise<void> {
1975
- return __request(OpenAPI, {
1976
- method: 'DELETE',
1977
- url: '/api/ai-prompt/orgs/{org}/users/{user_id}/tones/{tone_id}/',
1978
- path: {
1979
- 'org': org,
1980
- 'tone_id': toneId,
1981
- 'user_id': userId,
1982
- },
1983
- });
1984
- }
1985
- }