@iblai/iblai-api 3.45.8-core → 3.45.9-ai

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (594) hide show
  1. package/dist/index.cjs.js +15401 -590
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +15395 -591
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.umd.js +15401 -590
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/types/index.d.ts +287 -2
  8. package/dist/types/models/AIGeneratedImage.d.ts +13 -0
  9. package/dist/types/models/AIUserProfileMemoryRelation.d.ts +4 -0
  10. package/dist/types/models/AIUserProfileRequest.d.ts +4 -0
  11. package/dist/types/models/APITokenCost.d.ts +14 -0
  12. package/dist/types/models/AccessEnum.d.ts +8 -0
  13. package/dist/types/models/AlignMentorBubbleEnum.d.ts +8 -0
  14. package/dist/types/models/AnalyticsOverview.d.ts +7 -0
  15. package/dist/types/models/Answer.d.ts +11 -0
  16. package/dist/types/models/AssumedKnowledge.d.ts +4 -0
  17. package/dist/types/models/AssumedKnowledgeLevel.d.ts +4 -0
  18. package/dist/types/models/AudioToTextRequest.d.ts +3 -0
  19. package/dist/types/models/AudioToTextResponse.d.ts +3 -0
  20. package/dist/types/models/CallAuthenticationRequest.d.ts +13 -0
  21. package/dist/types/models/CallAuthenticationResponse.d.ts +21 -0
  22. package/dist/types/models/CatalogAutoIncrementResponse.d.ts +11 -11
  23. package/dist/types/models/ChatHistory.d.ts +8 -0
  24. package/dist/types/models/ChatHistoryFilterData.d.ts +9 -0
  25. package/dist/types/models/ChatHistoryFilterUser.d.ts +5 -0
  26. package/dist/types/models/ChatHistoryItem.d.ts +5 -0
  27. package/dist/types/models/ChatHistorySessionId.d.ts +3 -0
  28. package/dist/types/models/ChatSessionRequest.d.ts +10 -0
  29. package/dist/types/models/ChatSessionResponse.d.ts +5 -0
  30. package/dist/types/models/CheckDocumentTrainingStatus.d.ts +10 -0
  31. package/dist/types/models/ComponentBlock.d.ts +9 -0
  32. package/dist/types/models/ComponentBlockTypeEnum.d.ts +8 -0
  33. package/dist/types/models/ConversationMessage.d.ts +11 -0
  34. package/dist/types/models/ConversationRating.d.ts +6 -0
  35. package/dist/types/models/ConversationSummary.d.ts +5 -0
  36. package/dist/types/models/ConversationVolume.d.ts +4 -0
  37. package/dist/types/models/Conversations.d.ts +28 -0
  38. package/dist/types/models/Cost.d.ts +3 -0
  39. package/dist/types/models/CostPerTenant.d.ts +6 -0
  40. package/dist/types/models/CourseCreationTask.d.ts +31 -0
  41. package/dist/types/models/CourseCreationTaskFile.d.ts +7 -0
  42. package/dist/types/models/CourseCreationTaskStatusEnum.d.ts +16 -0
  43. package/dist/types/models/CourseReviewPaginatedResponse.d.ts +18 -0
  44. package/dist/types/models/CourseReviewRequest.d.ts +37 -0
  45. package/dist/types/models/CourseReviewResponse.d.ts +40 -0
  46. package/dist/types/models/CredentialRequest.d.ts +14 -0
  47. package/dist/types/models/CrontabSchedule.d.ts +22 -0
  48. package/dist/types/models/CustomInstructionResponse.d.ts +13 -0
  49. package/dist/types/models/DateRange.d.ts +4 -0
  50. package/dist/types/models/Document.d.ts +41 -0
  51. package/dist/types/models/DocumentFacet.d.ts +17 -0
  52. package/dist/types/models/DocumentSearchResponse.d.ts +35 -0
  53. package/dist/types/models/DocumentSettingsResponse.d.ts +3 -0
  54. package/dist/types/models/EdxCourse.d.ts +11 -0
  55. package/dist/types/models/ElevenlabsCustomVoice.d.ts +4 -0
  56. package/dist/types/models/ElevenlabsCustomVoiceResponse.d.ts +8 -0
  57. package/dist/types/models/EmailPromptDetail.d.ts +13 -0
  58. package/dist/types/models/EmailPromptList.d.ts +11 -0
  59. package/dist/types/models/EmailPromptSummary.d.ts +5 -0
  60. package/dist/types/models/FreeUsageCount.d.ts +3 -0
  61. package/dist/types/models/FullCourse.d.ts +13 -0
  62. package/dist/types/models/GreetingMethodEnum.d.ts +8 -0
  63. package/dist/types/models/GuidedPromptsResponse.d.ts +3 -0
  64. package/dist/types/models/HeygenMarketingVideoDetail.d.ts +8 -0
  65. package/dist/types/models/HeygenMarketingVideoList.d.ts +6 -0
  66. package/dist/types/models/HeygenTemplateRequest.d.ts +5 -0
  67. package/dist/types/models/HeygenTemplateResponseSingle.d.ts +6 -0
  68. package/dist/types/models/HeygenVideoDetail.d.ts +8 -0
  69. package/dist/types/models/HeygenVideoRequest.d.ts +5 -0
  70. package/dist/types/models/IBLAIPlatformMeta.d.ts +3 -0
  71. package/dist/types/models/IBLAIPlatformMetaRequest.d.ts +6 -0
  72. package/dist/types/models/IBLAIPlatformMetaUpdateRequest.d.ts +10 -0
  73. package/dist/types/models/InputQuestion.d.ts +6 -0
  74. package/dist/types/models/IntegrationCredential.d.ts +8 -0
  75. package/dist/types/models/IntialQuestionAnswer.d.ts +3 -0
  76. package/dist/types/models/JobRun.d.ts +11 -0
  77. package/dist/types/models/KindEnum.d.ts +10 -0
  78. package/dist/types/models/LLMCredentialRequest.d.ts +14 -0
  79. package/dist/types/models/LLMCredentialResponse.d.ts +8 -0
  80. package/dist/types/models/LLMModelForTenant.d.ts +6 -0
  81. package/dist/types/models/LLMQuestion.d.ts +15 -0
  82. package/dist/types/models/LLMResponse.d.ts +14 -0
  83. package/dist/types/models/LLMTracesListResponse.d.ts +5 -0
  84. package/dist/types/models/LanguagesView.d.ts +5 -0
  85. package/dist/types/models/LinkCourseRequest.d.ts +3 -0
  86. package/dist/types/models/LinkCourseResponse.d.ts +5 -0
  87. package/dist/types/models/MCPServer.d.ts +21 -0
  88. package/dist/types/models/MemoryComponentData.d.ts +5 -0
  89. package/dist/types/models/MemoryComponentMemory.d.ts +4 -0
  90. package/dist/types/models/MemoryComponentMemoryDetail.d.ts +8 -0
  91. package/dist/types/models/MemoryComponentResponse.d.ts +5 -0
  92. package/dist/types/models/MemoryProgress.d.ts +8 -0
  93. package/dist/types/models/MemoryStatusRequestView.d.ts +6 -0
  94. package/dist/types/models/MemoryStatusView.d.ts +6 -0
  95. package/dist/types/models/Mentor.d.ts +80 -0
  96. package/dist/types/models/MentorAudience.d.ts +5 -0
  97. package/dist/types/models/MentorCategory.d.ts +9 -0
  98. package/dist/types/models/MentorCategoryCreate.d.ts +11 -0
  99. package/dist/types/models/MentorCategoryGroup.d.ts +11 -0
  100. package/dist/types/models/MentorCategoryGroupCreate.d.ts +11 -0
  101. package/dist/types/models/MentorCreate.d.ts +79 -0
  102. package/dist/types/models/MentorCustomVoice.d.ts +4 -0
  103. package/dist/types/models/MentorCustomVoiceResponse.d.ts +4 -0
  104. package/dist/types/models/MentorData.d.ts +7 -0
  105. package/dist/types/models/MentorDetailAnalytics.d.ts +6 -0
  106. package/dist/types/models/MentorEval.d.ts +11 -0
  107. package/dist/types/models/MentorEvalQuestion.d.ts +5 -0
  108. package/dist/types/models/MentorEvalQuestionRequest.d.ts +4 -0
  109. package/dist/types/models/MentorEvalReport.d.ts +10 -0
  110. package/dist/types/models/MentorEvalRequest.d.ts +8 -0
  111. package/dist/types/models/MentorFacet.d.ts +17 -0
  112. package/dist/types/models/MentorFork.d.ts +5 -0
  113. package/dist/types/models/MentorFromTemplateRequest.d.ts +4 -0
  114. package/dist/types/models/MentorFromTemplateWithSettingRequest.d.ts +45 -0
  115. package/dist/types/models/MentorMemorySettingsRequest.d.ts +6 -0
  116. package/dist/types/models/MentorMemorySettingsResponse.d.ts +6 -0
  117. package/dist/types/models/MentorMetadata.d.ts +5 -0
  118. package/dist/types/models/MentorScenario.d.ts +6 -0
  119. package/dist/types/models/MentorScenarioPrompt.d.ts +5 -0
  120. package/dist/types/models/MentorSearchResponse.d.ts +35 -0
  121. package/dist/types/models/MentorSession.d.ts +4 -0
  122. package/dist/types/models/MentorSettings.d.ts +56 -0
  123. package/dist/types/models/MentorSettingsPublic.d.ts +45 -0
  124. package/dist/types/models/MentorSettingsRequest.d.ts +60 -0
  125. package/dist/types/models/MentorVisibilityEnum.d.ts +10 -0
  126. package/dist/types/models/MentorWizard.d.ts +4 -0
  127. package/dist/types/models/MessageStatistics.d.ts +5 -0
  128. package/dist/types/models/MessageView.d.ts +10 -0
  129. package/dist/types/models/MessageViewRequest.d.ts +7 -0
  130. package/dist/types/models/MessageViewUpdatResponse.d.ts +3 -0
  131. package/dist/types/models/Metadata.d.ts +5 -0
  132. package/dist/types/models/MetricChange.d.ts +4 -0
  133. package/dist/types/models/ModelCost.d.ts +4 -0
  134. package/dist/types/models/ModerationLog.d.ts +11 -0
  135. package/dist/types/models/NoChatMessagesFound.d.ts +3 -0
  136. package/dist/types/models/NotificationSource.d.ts +2 -2
  137. package/dist/types/models/{TypeEnum.d.ts → NotificationSourceTypeEnum.d.ts} +1 -1
  138. package/dist/types/models/NullEnum.d.ts +1 -0
  139. package/dist/types/models/PageContent.d.ts +6 -0
  140. package/dist/types/models/PaginatedAIGeneratedImageList.d.ts +7 -0
  141. package/dist/types/models/PaginatedConversationsList.d.ts +7 -0
  142. package/dist/types/models/PaginatedCourseCreationTaskFileList.d.ts +7 -0
  143. package/dist/types/models/PaginatedCourseCreationTaskList.d.ts +7 -0
  144. package/dist/types/models/PaginatedEdxCourseList.d.ts +7 -0
  145. package/dist/types/models/PaginatedEmailPromptListList.d.ts +7 -0
  146. package/dist/types/models/PaginatedHeygenMarketingVideoListList.d.ts +7 -0
  147. package/dist/types/models/PaginatedHeygenTemplateResponseSingleList.d.ts +7 -0
  148. package/dist/types/models/PaginatedJobRunList.d.ts +7 -0
  149. package/dist/types/models/PaginatedMCPServerList.d.ts +7 -0
  150. package/dist/types/models/PaginatedMentorList.d.ts +7 -0
  151. package/dist/types/models/PaginatedModerationLogList.d.ts +7 -0
  152. package/dist/types/models/PaginatedPeriodicAgentList.d.ts +7 -0
  153. package/dist/types/models/PaginatedPeriodicAgentLogList.d.ts +7 -0
  154. package/dist/types/models/PaginatedPlayWrightScriptList.d.ts +7 -0
  155. package/dist/types/models/PaginatedSectionList.d.ts +7 -0
  156. package/dist/types/models/PaginatedSkill.d.ts +7 -0
  157. package/dist/types/models/PaginatedSubSectionList.d.ts +7 -0
  158. package/dist/types/models/PaginatedTopicStatisticsResponse.d.ts +7 -0
  159. package/dist/types/models/PaginatedUnitList.d.ts +7 -0
  160. package/dist/types/models/PaginatedUserEdxMemoryList.d.ts +7 -0
  161. package/dist/types/models/PaginatedVoiceList.d.ts +7 -0
  162. package/dist/types/models/PatchedConversations.d.ts +28 -0
  163. package/dist/types/models/PatchedCourseCreationTaskFile.d.ts +7 -0
  164. package/dist/types/models/PatchedCredentialRequest.d.ts +14 -0
  165. package/dist/types/models/PatchedLLMCredentialRequest.d.ts +14 -0
  166. package/dist/types/models/PatchedMCPServer.d.ts +21 -0
  167. package/dist/types/models/PatchedMentorCategoryGroupCreate.d.ts +11 -0
  168. package/dist/types/models/PatchedMentorCreate.d.ts +79 -0
  169. package/dist/types/models/PatchedPeriodicAgentCreate.d.ts +41 -0
  170. package/dist/types/models/PatchedPlayWrightScript.d.ts +12 -0
  171. package/dist/types/models/PatchedPrompt.d.ts +22 -0
  172. package/dist/types/models/PatchedSection.d.ts +9 -0
  173. package/dist/types/models/PatchedSubSection.d.ts +9 -0
  174. package/dist/types/models/PatchedUnit.d.ts +11 -0
  175. package/dist/types/models/PeriodicAgent.d.ts +42 -0
  176. package/dist/types/models/PeriodicAgentCreate.d.ts +41 -0
  177. package/dist/types/models/PeriodicAgentLog.d.ts +11 -0
  178. package/dist/types/models/PeriodicAgentLogStatusEnum.d.ts +10 -0
  179. package/dist/types/models/PeriodicTask.d.ts +21 -0
  180. package/dist/types/models/PieChartData.d.ts +5 -0
  181. package/dist/types/models/PieChartSegment.d.ts +4 -0
  182. package/dist/types/models/PinnedMessageCreate.d.ts +9 -0
  183. package/dist/types/models/PinnedMessageGet.d.ts +7 -0
  184. package/dist/types/models/PinnedMessageRequest.d.ts +6 -0
  185. package/dist/types/models/PlayWrightScript.d.ts +12 -0
  186. package/dist/types/models/PredictiveAnalyticsRequest.d.ts +4 -0
  187. package/dist/types/models/PredictiveAnalyticsResponse.d.ts +4 -0
  188. package/dist/types/models/PreviousAgentStatusEnum.d.ts +12 -0
  189. package/dist/types/models/ProgramEnrollmentSearchResponse.d.ts +22 -0
  190. package/dist/types/models/ProgramMetadataRequest.d.ts +29 -0
  191. package/dist/types/models/ProgramMetadataResponse.d.ts +29 -0
  192. package/dist/types/models/ProgramReview.d.ts +41 -0
  193. package/dist/types/models/ProgramReviewPaginatedResponse.d.ts +22 -0
  194. package/dist/types/models/ProgramReviewRequest.d.ts +37 -0
  195. package/dist/types/models/Prompt.d.ts +22 -0
  196. package/dist/types/models/PromptCategory.d.ts +7 -0
  197. package/dist/types/models/PromptVisibilityEnum.d.ts +10 -0
  198. package/dist/types/models/ProviderEnum.d.ts +10 -0
  199. package/dist/types/models/QuestionCardTag.d.ts +8 -0
  200. package/dist/types/models/QuestionRequest.d.ts +15 -0
  201. package/dist/types/models/QuestionResponse.d.ts +10 -0
  202. package/dist/types/models/RatingEnum.d.ts +8 -0
  203. package/dist/types/models/RatingRecord.d.ts +4 -0
  204. package/dist/types/models/RecentlyAccessedMentor.d.ts +8 -0
  205. package/dist/types/models/RecommendCourseBlock.d.ts +3 -0
  206. package/dist/types/models/RecommendCourseResponse.d.ts +3 -0
  207. package/dist/types/models/RelatedText.d.ts +3 -0
  208. package/dist/types/models/RequestDataVariable.d.ts +14 -0
  209. package/dist/types/models/ResourceScrappedData.d.ts +13 -0
  210. package/dist/types/models/ResourceScrappedDataStatusEnum.d.ts +12 -0
  211. package/dist/types/models/ResponseDataVariable.d.ts +14 -0
  212. package/dist/types/models/RetreiverTrainViewRequest.d.ts +10 -0
  213. package/dist/types/models/RetreiverTrainViewResponse.d.ts +6 -0
  214. package/dist/types/models/RetrieveTask.d.ts +3 -0
  215. package/dist/types/models/RetrieverDocumentEmbedding.d.ts +17 -0
  216. package/dist/types/models/RetrieverDocumentEmbeddingRequest.d.ts +30 -0
  217. package/dist/types/models/RetrieverRequestSearch.d.ts +10 -0
  218. package/dist/types/models/RetrieverRequestSearchDocument.d.ts +10 -0
  219. package/dist/types/models/RetrieverResponseSearch.d.ts +7 -0
  220. package/dist/types/models/ReuestDataVariableList.d.ts +4 -0
  221. package/dist/types/models/RunMentorEval.d.ts +3 -0
  222. package/dist/types/models/ScanWebhookRequest.d.ts +6 -0
  223. package/dist/types/models/ScanWebhookResponse.d.ts +3 -0
  224. package/dist/types/models/Section.d.ts +9 -0
  225. package/dist/types/models/SectionWithChildren.d.ts +11 -0
  226. package/dist/types/models/SeedMentorsView.d.ts +3 -0
  227. package/dist/types/models/SentimentSummary.d.ts +4 -0
  228. package/dist/types/models/SessionBrowserScreenshot.d.ts +8 -0
  229. package/dist/types/models/SessionDetail.d.ts +6 -0
  230. package/dist/types/models/SessionMemoryStorage.d.ts +6 -0
  231. package/dist/types/models/ShellLogs.d.ts +3 -0
  232. package/dist/types/models/SpacedRepetitionLearningPath.d.ts +3 -0
  233. package/dist/types/models/SpacedRepetitionQuestionStats.d.ts +5 -0
  234. package/dist/types/models/StarMentor.d.ts +7 -0
  235. package/dist/types/models/Status6eeEnum.d.ts +12 -0
  236. package/dist/types/models/Step.d.ts +9 -0
  237. package/dist/types/models/StepStatusEnum.d.ts +10 -0
  238. package/dist/types/models/StudentChatMessage.d.ts +4 -0
  239. package/dist/types/models/StylesView.d.ts +4 -0
  240. package/dist/types/models/SubSection.d.ts +9 -0
  241. package/dist/types/models/SubSectionWithChildren.d.ts +11 -0
  242. package/dist/types/models/TagsView.d.ts +5 -0
  243. package/dist/types/models/TargetSystemEnum.d.ts +8 -0
  244. package/dist/types/models/TaskView.d.ts +3 -0
  245. package/dist/types/models/TemplateMentor.d.ts +9 -0
  246. package/dist/types/models/TenantMentorTraces.d.ts +6 -0
  247. package/dist/types/models/ThemeEnum.d.ts +8 -0
  248. package/dist/types/models/TonesView.d.ts +4 -0
  249. package/dist/types/models/ToolResponse.d.ts +11 -0
  250. package/dist/types/models/TopicModel.d.ts +3 -0
  251. package/dist/types/models/TopicRecord.d.ts +4 -0
  252. package/dist/types/models/TopicStatistics.d.ts +7 -0
  253. package/dist/types/models/TopicStatisticsResponse.d.ts +6 -0
  254. package/dist/types/models/TopicSummaryView.d.ts +4 -0
  255. package/dist/types/models/TrainChatSessionDocumentView.d.ts +6 -0
  256. package/dist/types/models/TrainChatSessionDocumentViewRequest.d.ts +6 -0
  257. package/dist/types/models/TrainDocumentViewRequest.d.ts +42 -0
  258. package/dist/types/models/TrainDocumentViewResponse.d.ts +15 -0
  259. package/dist/types/models/TrainingStatusEnum.d.ts +12 -0
  260. package/dist/types/models/TransportEnum.d.ts +8 -0
  261. package/dist/types/models/TrendEntry.d.ts +4 -0
  262. package/dist/types/models/TriggerRequest.d.ts +5 -0
  263. package/dist/types/models/TriggerResponse.d.ts +6 -0
  264. package/dist/types/models/TypeC42Enum.d.ts +8 -0
  265. package/dist/types/models/Unit.d.ts +11 -0
  266. package/dist/types/models/UnitWithChildren.d.ts +13 -0
  267. package/dist/types/models/UseMainCreds.d.ts +3 -0
  268. package/dist/types/models/UserAllChatMemoryView.d.ts +7 -0
  269. package/dist/types/models/UserCatalogItemMemoryView.d.ts +14 -0
  270. package/dist/types/models/UserChatByPeriod.d.ts +4 -0
  271. package/dist/types/models/UserChatFeedback.d.ts +14 -0
  272. package/dist/types/models/UserChatFeedbackCount.d.ts +4 -0
  273. package/dist/types/models/UserChatMemoryStatusRequestView.d.ts +6 -0
  274. package/dist/types/models/UserChatMemoryStatusView.d.ts +6 -0
  275. package/dist/types/models/UserChatMemoryUpdateView.d.ts +10 -0
  276. package/dist/types/models/UserCountRecord.d.ts +4 -0
  277. package/dist/types/models/UserEdxMemory.d.ts +15 -0
  278. package/dist/types/models/UserMemoryContextRequest.d.ts +13 -0
  279. package/dist/types/models/UserMemoryContextResponse.d.ts +12 -0
  280. package/dist/types/models/UserMetric.d.ts +4 -0
  281. package/dist/types/models/UserMetricsResponse.d.ts +7 -0
  282. package/dist/types/models/UserSentimentCountView.d.ts +4 -0
  283. package/dist/types/models/UserTrendByPeriod.d.ts +5 -0
  284. package/dist/types/models/VectorResult.d.ts +8 -0
  285. package/dist/types/models/VideoCaption.d.ts +3 -0
  286. package/dist/types/models/Voice.d.ts +9 -0
  287. package/dist/types/models/WebResource.d.ts +9 -0
  288. package/dist/types/models/WebResourceCard.d.ts +7 -0
  289. package/dist/types/models/WebResourcesQuery.d.ts +3 -0
  290. package/dist/types/services/AiAccountService.d.ts +294 -0
  291. package/dist/types/services/AiAnalyticsService.d.ts +2801 -0
  292. package/dist/types/services/AiIndexService.d.ts +380 -0
  293. package/dist/types/services/AiMarketingService.d.ts +34 -0
  294. package/dist/types/services/AiMediaService.d.ts +118 -0
  295. package/dist/types/services/AiMentorService.d.ts +4235 -0
  296. package/dist/types/services/AiPromptService.d.ts +920 -0
  297. package/dist/types/services/CatalogService.d.ts +168 -458
  298. package/dist/types/services/SearchService.d.ts +404 -0
  299. package/package.json +1 -1
  300. package/src/core/OpenAPI.ts +1 -1
  301. package/src/index.ts +287 -2
  302. package/src/models/AIGeneratedImage.ts +18 -0
  303. package/src/models/AIUserProfileMemoryRelation.ts +9 -0
  304. package/src/models/AIUserProfileRequest.ts +9 -0
  305. package/src/models/APITokenCost.ts +19 -0
  306. package/src/models/AccessEnum.ts +12 -0
  307. package/src/models/AlignMentorBubbleEnum.ts +12 -0
  308. package/src/models/AnalyticsOverview.ts +12 -0
  309. package/src/models/Answer.ts +16 -0
  310. package/src/models/AssumedKnowledge.ts +9 -0
  311. package/src/models/AssumedKnowledgeLevel.ts +9 -0
  312. package/src/models/AudioToTextRequest.ts +8 -0
  313. package/src/models/AudioToTextResponse.ts +8 -0
  314. package/src/models/CallAuthenticationRequest.ts +18 -0
  315. package/src/models/CallAuthenticationResponse.ts +26 -0
  316. package/src/models/CatalogAutoIncrementResponse.ts +11 -11
  317. package/src/models/ChatHistory.ts +13 -0
  318. package/src/models/ChatHistoryFilterData.ts +14 -0
  319. package/src/models/ChatHistoryFilterUser.ts +10 -0
  320. package/src/models/ChatHistoryItem.ts +10 -0
  321. package/src/models/ChatHistorySessionId.ts +8 -0
  322. package/src/models/ChatSessionRequest.ts +15 -0
  323. package/src/models/ChatSessionResponse.ts +10 -0
  324. package/src/models/CheckDocumentTrainingStatus.ts +15 -0
  325. package/src/models/ComponentBlock.ts +14 -0
  326. package/src/models/ComponentBlockTypeEnum.ts +12 -0
  327. package/src/models/ConversationMessage.ts +16 -0
  328. package/src/models/ConversationRating.ts +11 -0
  329. package/src/models/ConversationSummary.ts +10 -0
  330. package/src/models/ConversationVolume.ts +9 -0
  331. package/src/models/Conversations.ts +33 -0
  332. package/src/models/Cost.ts +8 -0
  333. package/src/models/CostPerTenant.ts +11 -0
  334. package/src/models/CourseCreationTask.ts +36 -0
  335. package/src/models/CourseCreationTaskFile.ts +12 -0
  336. package/src/models/CourseCreationTaskStatusEnum.ts +20 -0
  337. package/src/models/CourseReviewPaginatedResponse.ts +23 -0
  338. package/src/models/CourseReviewRequest.ts +42 -0
  339. package/src/models/CourseReviewResponse.ts +45 -0
  340. package/src/models/CredentialRequest.ts +19 -0
  341. package/src/models/CrontabSchedule.ts +27 -0
  342. package/src/models/CustomInstructionResponse.ts +18 -0
  343. package/src/models/DateRange.ts +9 -0
  344. package/src/models/Document.ts +46 -0
  345. package/src/models/DocumentFacet.ts +22 -0
  346. package/src/models/DocumentSearchResponse.ts +40 -0
  347. package/src/models/DocumentSettingsResponse.ts +8 -0
  348. package/src/models/EdxCourse.ts +16 -0
  349. package/src/models/ElevenlabsCustomVoice.ts +9 -0
  350. package/src/models/ElevenlabsCustomVoiceResponse.ts +13 -0
  351. package/src/models/EmailPromptDetail.ts +18 -0
  352. package/src/models/EmailPromptList.ts +16 -0
  353. package/src/models/EmailPromptSummary.ts +10 -0
  354. package/src/models/FreeUsageCount.ts +8 -0
  355. package/src/models/FullCourse.ts +18 -0
  356. package/src/models/GreetingMethodEnum.ts +12 -0
  357. package/src/models/GuidedPromptsResponse.ts +8 -0
  358. package/src/models/HeygenMarketingVideoDetail.ts +13 -0
  359. package/src/models/HeygenMarketingVideoList.ts +11 -0
  360. package/src/models/HeygenTemplateRequest.ts +10 -0
  361. package/src/models/HeygenTemplateResponseSingle.ts +11 -0
  362. package/src/models/HeygenVideoDetail.ts +13 -0
  363. package/src/models/HeygenVideoRequest.ts +10 -0
  364. package/src/models/IBLAIPlatformMeta.ts +8 -0
  365. package/src/models/IBLAIPlatformMetaRequest.ts +11 -0
  366. package/src/models/IBLAIPlatformMetaUpdateRequest.ts +15 -0
  367. package/src/models/InputQuestion.ts +11 -0
  368. package/src/models/IntegrationCredential.ts +13 -0
  369. package/src/models/IntialQuestionAnswer.ts +8 -0
  370. package/src/models/JobRun.ts +16 -0
  371. package/src/models/KindEnum.ts +14 -0
  372. package/src/models/LLMCredentialRequest.ts +19 -0
  373. package/src/models/LLMCredentialResponse.ts +13 -0
  374. package/src/models/LLMModelForTenant.ts +11 -0
  375. package/src/models/LLMQuestion.ts +20 -0
  376. package/src/models/LLMResponse.ts +19 -0
  377. package/src/models/LLMTracesListResponse.ts +10 -0
  378. package/src/models/LanguagesView.ts +10 -0
  379. package/src/models/LinkCourseRequest.ts +8 -0
  380. package/src/models/LinkCourseResponse.ts +10 -0
  381. package/src/models/MCPServer.ts +26 -0
  382. package/src/models/MemoryComponentData.ts +10 -0
  383. package/src/models/MemoryComponentMemory.ts +9 -0
  384. package/src/models/MemoryComponentMemoryDetail.ts +13 -0
  385. package/src/models/MemoryComponentResponse.ts +10 -0
  386. package/src/models/MemoryProgress.ts +13 -0
  387. package/src/models/MemoryStatusRequestView.ts +11 -0
  388. package/src/models/MemoryStatusView.ts +11 -0
  389. package/src/models/Mentor.ts +85 -0
  390. package/src/models/MentorAudience.ts +10 -0
  391. package/src/models/MentorCategory.ts +14 -0
  392. package/src/models/MentorCategoryCreate.ts +16 -0
  393. package/src/models/MentorCategoryGroup.ts +16 -0
  394. package/src/models/MentorCategoryGroupCreate.ts +16 -0
  395. package/src/models/MentorCreate.ts +84 -0
  396. package/src/models/MentorCustomVoice.ts +9 -0
  397. package/src/models/MentorCustomVoiceResponse.ts +9 -0
  398. package/src/models/MentorData.ts +12 -0
  399. package/src/models/MentorDetailAnalytics.ts +11 -0
  400. package/src/models/MentorEval.ts +16 -0
  401. package/src/models/MentorEvalQuestion.ts +10 -0
  402. package/src/models/MentorEvalQuestionRequest.ts +9 -0
  403. package/src/models/MentorEvalReport.ts +15 -0
  404. package/src/models/MentorEvalRequest.ts +13 -0
  405. package/src/models/MentorFacet.ts +22 -0
  406. package/src/models/MentorFork.ts +10 -0
  407. package/src/models/MentorFromTemplateRequest.ts +9 -0
  408. package/src/models/MentorFromTemplateWithSettingRequest.ts +50 -0
  409. package/src/models/MentorMemorySettingsRequest.ts +11 -0
  410. package/src/models/MentorMemorySettingsResponse.ts +11 -0
  411. package/src/models/MentorMetadata.ts +10 -0
  412. package/src/models/MentorScenario.ts +11 -0
  413. package/src/models/MentorScenarioPrompt.ts +10 -0
  414. package/src/models/MentorSearchResponse.ts +40 -0
  415. package/src/models/MentorSession.ts +9 -0
  416. package/src/models/MentorSettings.ts +61 -0
  417. package/src/models/MentorSettingsPublic.ts +50 -0
  418. package/src/models/MentorSettingsRequest.ts +65 -0
  419. package/src/models/MentorVisibilityEnum.ts +14 -0
  420. package/src/models/MentorWizard.ts +9 -0
  421. package/src/models/MessageStatistics.ts +10 -0
  422. package/src/models/MessageView.ts +15 -0
  423. package/src/models/MessageViewRequest.ts +12 -0
  424. package/src/models/MessageViewUpdatResponse.ts +8 -0
  425. package/src/models/Metadata.ts +10 -0
  426. package/src/models/MetricChange.ts +9 -0
  427. package/src/models/ModelCost.ts +9 -0
  428. package/src/models/ModerationLog.ts +16 -0
  429. package/src/models/NoChatMessagesFound.ts +8 -0
  430. package/src/models/NotificationSource.ts +2 -2
  431. package/src/models/{TypeEnum.ts → NotificationSourceTypeEnum.ts} +1 -1
  432. package/src/models/NullEnum.ts +7 -0
  433. package/src/models/PageContent.ts +11 -0
  434. package/src/models/PaginatedAIGeneratedImageList.ts +12 -0
  435. package/src/models/PaginatedConversationsList.ts +12 -0
  436. package/src/models/PaginatedCourseCreationTaskFileList.ts +12 -0
  437. package/src/models/PaginatedCourseCreationTaskList.ts +12 -0
  438. package/src/models/PaginatedEdxCourseList.ts +12 -0
  439. package/src/models/PaginatedEmailPromptListList.ts +12 -0
  440. package/src/models/PaginatedHeygenMarketingVideoListList.ts +12 -0
  441. package/src/models/PaginatedHeygenTemplateResponseSingleList.ts +12 -0
  442. package/src/models/PaginatedJobRunList.ts +12 -0
  443. package/src/models/PaginatedMCPServerList.ts +12 -0
  444. package/src/models/PaginatedMentorList.ts +12 -0
  445. package/src/models/PaginatedModerationLogList.ts +12 -0
  446. package/src/models/PaginatedPeriodicAgentList.ts +12 -0
  447. package/src/models/PaginatedPeriodicAgentLogList.ts +12 -0
  448. package/src/models/PaginatedPlayWrightScriptList.ts +12 -0
  449. package/src/models/PaginatedSectionList.ts +12 -0
  450. package/src/models/PaginatedSkill.ts +12 -0
  451. package/src/models/PaginatedSubSectionList.ts +12 -0
  452. package/src/models/PaginatedTopicStatisticsResponse.ts +12 -0
  453. package/src/models/PaginatedUnitList.ts +12 -0
  454. package/src/models/PaginatedUserEdxMemoryList.ts +12 -0
  455. package/src/models/PaginatedVoiceList.ts +12 -0
  456. package/src/models/PatchedConversations.ts +33 -0
  457. package/src/models/PatchedCourseCreationTaskFile.ts +12 -0
  458. package/src/models/PatchedCredentialRequest.ts +19 -0
  459. package/src/models/PatchedLLMCredentialRequest.ts +19 -0
  460. package/src/models/PatchedMCPServer.ts +26 -0
  461. package/src/models/PatchedMentorCategoryGroupCreate.ts +16 -0
  462. package/src/models/PatchedMentorCreate.ts +84 -0
  463. package/src/models/PatchedPeriodicAgentCreate.ts +46 -0
  464. package/src/models/PatchedPlayWrightScript.ts +17 -0
  465. package/src/models/PatchedPrompt.ts +27 -0
  466. package/src/models/PatchedSection.ts +14 -0
  467. package/src/models/PatchedSubSection.ts +14 -0
  468. package/src/models/PatchedUnit.ts +16 -0
  469. package/src/models/PeriodicAgent.ts +47 -0
  470. package/src/models/PeriodicAgentCreate.ts +46 -0
  471. package/src/models/PeriodicAgentLog.ts +16 -0
  472. package/src/models/PeriodicAgentLogStatusEnum.ts +14 -0
  473. package/src/models/PeriodicTask.ts +26 -0
  474. package/src/models/PieChartData.ts +10 -0
  475. package/src/models/PieChartSegment.ts +9 -0
  476. package/src/models/PinnedMessageCreate.ts +14 -0
  477. package/src/models/PinnedMessageGet.ts +12 -0
  478. package/src/models/PinnedMessageRequest.ts +11 -0
  479. package/src/models/PlayWrightScript.ts +17 -0
  480. package/src/models/PredictiveAnalyticsRequest.ts +9 -0
  481. package/src/models/PredictiveAnalyticsResponse.ts +9 -0
  482. package/src/models/PreviousAgentStatusEnum.ts +16 -0
  483. package/src/models/ProgramEnrollmentSearchResponse.ts +27 -0
  484. package/src/models/ProgramMetadataRequest.ts +34 -0
  485. package/src/models/ProgramMetadataResponse.ts +34 -0
  486. package/src/models/ProgramReview.ts +46 -0
  487. package/src/models/ProgramReviewPaginatedResponse.ts +27 -0
  488. package/src/models/ProgramReviewRequest.ts +42 -0
  489. package/src/models/Prompt.ts +27 -0
  490. package/src/models/PromptCategory.ts +12 -0
  491. package/src/models/PromptVisibilityEnum.ts +14 -0
  492. package/src/models/ProviderEnum.ts +14 -0
  493. package/src/models/QuestionCardTag.ts +13 -0
  494. package/src/models/QuestionRequest.ts +20 -0
  495. package/src/models/QuestionResponse.ts +15 -0
  496. package/src/models/RatingEnum.ts +12 -0
  497. package/src/models/RatingRecord.ts +9 -0
  498. package/src/models/RecentlyAccessedMentor.ts +13 -0
  499. package/src/models/RecommendCourseBlock.ts +8 -0
  500. package/src/models/RecommendCourseResponse.ts +8 -0
  501. package/src/models/RelatedText.ts +8 -0
  502. package/src/models/RequestDataVariable.ts +19 -0
  503. package/src/models/ResourceScrappedData.ts +18 -0
  504. package/src/models/ResourceScrappedDataStatusEnum.ts +16 -0
  505. package/src/models/ResponseDataVariable.ts +19 -0
  506. package/src/models/RetreiverTrainViewRequest.ts +15 -0
  507. package/src/models/RetreiverTrainViewResponse.ts +11 -0
  508. package/src/models/RetrieveTask.ts +8 -0
  509. package/src/models/RetrieverDocumentEmbedding.ts +22 -0
  510. package/src/models/RetrieverDocumentEmbeddingRequest.ts +35 -0
  511. package/src/models/RetrieverRequestSearch.ts +15 -0
  512. package/src/models/RetrieverRequestSearchDocument.ts +15 -0
  513. package/src/models/RetrieverResponseSearch.ts +12 -0
  514. package/src/models/ReuestDataVariableList.ts +9 -0
  515. package/src/models/RunMentorEval.ts +8 -0
  516. package/src/models/ScanWebhookRequest.ts +11 -0
  517. package/src/models/ScanWebhookResponse.ts +8 -0
  518. package/src/models/Section.ts +14 -0
  519. package/src/models/SectionWithChildren.ts +16 -0
  520. package/src/models/SeedMentorsView.ts +8 -0
  521. package/src/models/SentimentSummary.ts +9 -0
  522. package/src/models/SessionBrowserScreenshot.ts +13 -0
  523. package/src/models/SessionDetail.ts +11 -0
  524. package/src/models/SessionMemoryStorage.ts +11 -0
  525. package/src/models/ShellLogs.ts +8 -0
  526. package/src/models/SpacedRepetitionLearningPath.ts +8 -0
  527. package/src/models/SpacedRepetitionQuestionStats.ts +10 -0
  528. package/src/models/StarMentor.ts +12 -0
  529. package/src/models/Status6eeEnum.ts +16 -0
  530. package/src/models/Step.ts +14 -0
  531. package/src/models/StepStatusEnum.ts +14 -0
  532. package/src/models/StudentChatMessage.ts +9 -0
  533. package/src/models/StylesView.ts +9 -0
  534. package/src/models/SubSection.ts +14 -0
  535. package/src/models/SubSectionWithChildren.ts +16 -0
  536. package/src/models/TagsView.ts +10 -0
  537. package/src/models/TargetSystemEnum.ts +12 -0
  538. package/src/models/TaskView.ts +8 -0
  539. package/src/models/TemplateMentor.ts +14 -0
  540. package/src/models/TenantMentorTraces.ts +11 -0
  541. package/src/models/ThemeEnum.ts +12 -0
  542. package/src/models/TonesView.ts +9 -0
  543. package/src/models/ToolResponse.ts +16 -0
  544. package/src/models/TopicModel.ts +8 -0
  545. package/src/models/TopicRecord.ts +9 -0
  546. package/src/models/TopicStatistics.ts +12 -0
  547. package/src/models/TopicStatisticsResponse.ts +11 -0
  548. package/src/models/TopicSummaryView.ts +9 -0
  549. package/src/models/TrainChatSessionDocumentView.ts +11 -0
  550. package/src/models/TrainChatSessionDocumentViewRequest.ts +11 -0
  551. package/src/models/TrainDocumentViewRequest.ts +47 -0
  552. package/src/models/TrainDocumentViewResponse.ts +20 -0
  553. package/src/models/TrainingStatusEnum.ts +16 -0
  554. package/src/models/TransportEnum.ts +12 -0
  555. package/src/models/TrendEntry.ts +9 -0
  556. package/src/models/TriggerRequest.ts +10 -0
  557. package/src/models/TriggerResponse.ts +11 -0
  558. package/src/models/TypeC42Enum.ts +12 -0
  559. package/src/models/Unit.ts +16 -0
  560. package/src/models/UnitWithChildren.ts +18 -0
  561. package/src/models/UseMainCreds.ts +8 -0
  562. package/src/models/UserAllChatMemoryView.ts +12 -0
  563. package/src/models/UserCatalogItemMemoryView.ts +19 -0
  564. package/src/models/UserChatByPeriod.ts +9 -0
  565. package/src/models/UserChatFeedback.ts +19 -0
  566. package/src/models/UserChatFeedbackCount.ts +9 -0
  567. package/src/models/UserChatMemoryStatusRequestView.ts +11 -0
  568. package/src/models/UserChatMemoryStatusView.ts +11 -0
  569. package/src/models/UserChatMemoryUpdateView.ts +15 -0
  570. package/src/models/UserCountRecord.ts +9 -0
  571. package/src/models/UserEdxMemory.ts +20 -0
  572. package/src/models/UserMemoryContextRequest.ts +18 -0
  573. package/src/models/UserMemoryContextResponse.ts +17 -0
  574. package/src/models/UserMetric.ts +9 -0
  575. package/src/models/UserMetricsResponse.ts +12 -0
  576. package/src/models/UserSentimentCountView.ts +9 -0
  577. package/src/models/UserTrendByPeriod.ts +10 -0
  578. package/src/models/VectorResult.ts +13 -0
  579. package/src/models/VideoCaption.ts +8 -0
  580. package/src/models/Voice.ts +14 -0
  581. package/src/models/WebResource.ts +14 -0
  582. package/src/models/WebResourceCard.ts +12 -0
  583. package/src/models/WebResourcesQuery.ts +8 -0
  584. package/src/services/AiAccountService.ts +479 -0
  585. package/src/services/AiAnalyticsService.ts +5198 -0
  586. package/src/services/AiIndexService.ts +665 -0
  587. package/src/services/AiMarketingService.ts +87 -0
  588. package/src/services/AiMediaService.ts +273 -0
  589. package/src/services/AiMentorService.ts +7977 -0
  590. package/src/services/AiPromptService.ts +1771 -0
  591. package/src/services/CatalogService.ts +3415 -3417
  592. package/src/services/SearchService.ts +973 -261
  593. package/dist/types/models/CourseEligibilityCheckResponse.d.ts +0 -25
  594. package/src/models/CourseEligibilityCheckResponse.ts +0 -30
@@ -21,7 +21,6 @@ import type { CourseCompletion } from '../models/CourseCompletion';
21
21
  import type { CourseCompletionCatalogResponse } from '../models/CourseCompletionCatalogResponse';
22
22
  import type { CourseCreateUpdate } from '../models/CourseCreateUpdate';
23
23
  import type { CourseDeleteResponse } from '../models/CourseDeleteResponse';
24
- import type { CourseEligibilityCheckResponse } from '../models/CourseEligibilityCheckResponse';
25
24
  import type { CourseEnrollmentSearchResponse } from '../models/CourseEnrollmentSearchResponse';
26
25
  import type { CourseGroupSuggestionCreate } from '../models/CourseGroupSuggestionCreate';
27
26
  import type { CourseGroupSuggestionDetail } from '../models/CourseGroupSuggestionDetail';
@@ -38,6 +37,9 @@ import type { CourseLicenseUpdate } from '../models/CourseLicenseUpdate';
38
37
  import type { CourseMetadataSearchRequest } from '../models/CourseMetadataSearchRequest';
39
38
  import type { CourseMetadataUpdateRequest } from '../models/CourseMetadataUpdateRequest';
40
39
  import type { CourseReviewInfoResponse } from '../models/CourseReviewInfoResponse';
40
+ import type { CourseReviewPaginatedResponse } from '../models/CourseReviewPaginatedResponse';
41
+ import type { CourseReviewRequest } from '../models/CourseReviewRequest';
42
+ import type { CourseReviewResponse } from '../models/CourseReviewResponse';
41
43
  import type { CourseSkillPointInfoRequest } from '../models/CourseSkillPointInfoRequest';
42
44
  import type { CourseSkillPointInfoResponse } from '../models/CourseSkillPointInfoResponse';
43
45
  import type { CourseSuggestionBulkCreate } from '../models/CourseSuggestionBulkCreate';
@@ -64,6 +66,7 @@ import type { PaginatedProgramLicense } from '../models/PaginatedProgramLicense'
64
66
  import type { PaginatedProgramLicenseAssignment } from '../models/PaginatedProgramLicenseAssignment';
65
67
  import type { PaginatedProgramLicenseGroupAssignment } from '../models/PaginatedProgramLicenseGroupAssignment';
66
68
  import type { PaginatedProgramSuggestion } from '../models/PaginatedProgramSuggestion';
69
+ import type { PaginatedSkill } from '../models/PaginatedSkill';
67
70
  import type { PaginatedUserLicense } from '../models/PaginatedUserLicense';
68
71
  import type { PaginatedUserLicenseAssignment } from '../models/PaginatedUserLicenseAssignment';
69
72
  import type { PaginatedUserLicenseGroupAssignment } from '../models/PaginatedUserLicenseGroupAssignment';
@@ -97,6 +100,7 @@ import type { ProgramCreateUpdateRequest } from '../models/ProgramCreateUpdateRe
97
100
  import type { ProgramDeleteResponse } from '../models/ProgramDeleteResponse';
98
101
  import type { ProgramEnrollment } from '../models/ProgramEnrollment';
99
102
  import type { ProgramEnrollmentPlus } from '../models/ProgramEnrollmentPlus';
103
+ import type { ProgramEnrollmentSearchResponse } from '../models/ProgramEnrollmentSearchResponse';
100
104
  import type { ProgramGroupSuggestionCreate } from '../models/ProgramGroupSuggestionCreate';
101
105
  import type { ProgramGroupSuggestionDetail } from '../models/ProgramGroupSuggestionDetail';
102
106
  import type { ProgramInvitationCreate } from '../models/ProgramInvitationCreate';
@@ -109,7 +113,12 @@ import type { ProgramLicenseDetail } from '../models/ProgramLicenseDetail';
109
113
  import type { ProgramLicenseGroupAssignmentCreate } from '../models/ProgramLicenseGroupAssignmentCreate';
110
114
  import type { ProgramLicenseGroupAssignmentDetail } from '../models/ProgramLicenseGroupAssignmentDetail';
111
115
  import type { ProgramLicenseUpdateDetail } from '../models/ProgramLicenseUpdateDetail';
116
+ import type { ProgramMetadataRequest } from '../models/ProgramMetadataRequest';
117
+ import type { ProgramMetadataResponse } from '../models/ProgramMetadataResponse';
118
+ import type { ProgramReview } from '../models/ProgramReview';
112
119
  import type { ProgramReviewInfoResponse } from '../models/ProgramReviewInfoResponse';
120
+ import type { ProgramReviewPaginatedResponse } from '../models/ProgramReviewPaginatedResponse';
121
+ import type { ProgramReviewRequest } from '../models/ProgramReviewRequest';
113
122
  import type { ProgramSearch } from '../models/ProgramSearch';
114
123
  import type { ProgramSuggestionBulkCreate } from '../models/ProgramSuggestionBulkCreate';
115
124
  import type { ProgramSuggestionCreate } from '../models/ProgramSuggestionCreate';
@@ -236,13 +245,13 @@ export declare class CatalogService {
236
245
  static catalogCoursesCreate(requestBody: CourseCreateUpdate, courseId?: string, org?: string, slug?: string): CancelablePromise<Course>;
237
246
  /**
238
247
  * Remove a course from the database.
239
- * @param courseId Filter courses by their unique identifier
248
+ * @param courseId The unique identifier for the course to be deleted
240
249
  * @param org Filter courses by their associated organization
241
250
  * @param slug Filter courses by their slug (case-insensitive)
242
251
  * @returns CourseDeleteResponse
243
252
  * @throws ApiError
244
253
  */
245
- static catalogCoursesDestroy(courseId?: string, org?: string, slug?: string): CancelablePromise<CourseDeleteResponse>;
254
+ static catalogCoursesDestroy(courseId: string, org?: string, slug?: string): CancelablePromise<CourseDeleteResponse>;
246
255
  /**
247
256
  * List courses that a user is eligible for.
248
257
  * @param org Filter eligible courses by organization
@@ -260,10 +269,10 @@ export declare class CatalogService {
260
269
  * @param org Organization of the course
261
270
  * @param userId User ID to check eligibility for
262
271
  * @param username Username to check eligibility for
263
- * @returns CourseEligibilityCheckResponse
272
+ * @returns any
264
273
  * @throws ApiError
265
274
  */
266
- static catalogEligibilityCoursesCheckRetrieve(courseId: string, localOnly?: boolean, org?: string, userId?: string, username?: string): CancelablePromise<CourseEligibilityCheckResponse>;
275
+ static catalogEligibilityCoursesCheckRetrieve(courseId: string, localOnly?: boolean, org?: string, userId?: string, username?: string): CancelablePromise<Record<string, any>>;
267
276
  /**
268
277
  * API View for searching course enrollments.
269
278
  *
@@ -501,10 +510,10 @@ export declare class CatalogService {
501
510
  * @param sort Field to sort results by
502
511
  * @param userId Filter enrollments by user ID
503
512
  * @param username Filter enrollments by username
504
- * @returns ProgramEnrollmentPlus
513
+ * @returns ProgramEnrollmentSearchResponse
505
514
  * @throws ApiError
506
515
  */
507
- static catalogEnrollmentProgramsSearchRetrieve(includeDefaultPlatform?: boolean, org?: string, page?: number, pageSize?: number, platformKey?: string, programId?: string, programType?: string, slug?: string, sort?: string, userId?: string, username?: string): CancelablePromise<ProgramEnrollmentPlus>;
516
+ static catalogEnrollmentProgramsSearchRetrieve(includeDefaultPlatform?: boolean, org?: string, page?: number, pageSize?: number, platformKey?: string, programId?: string, programType?: string, slug?: string, sort?: string, userId?: string, username?: string): CancelablePromise<ProgramEnrollmentSearchResponse>;
508
517
  /**
509
518
  * Log user enrollment with a program.
510
519
  * @param active Whether the enrollment should be active
@@ -542,17 +551,19 @@ export declare class CatalogService {
542
551
  static catalogEnrollmentProgramsSelfDestroy(active?: boolean, expired?: string, ignoreExpiration?: boolean, org?: string, platformKey?: string, programId?: string, programKey?: string, slug?: string, started?: string, userId?: string, username?: string): CancelablePromise<void>;
543
552
  /**
544
553
  * Retrieve auto increment information for a specific platform.
554
+ * @param key Platform key identifier
555
+ * @param org Platform organization identifier
545
556
  * @returns CatalogAutoIncrementResponse
546
557
  * @throws ApiError
547
558
  */
548
- static catalogIncrementRetrieve(): CancelablePromise<CatalogAutoIncrementResponse>;
559
+ static catalogIncrementRetrieve(key?: string, org?: string): CancelablePromise<CatalogAutoIncrementResponse>;
549
560
  /**
550
561
  * Update auto increment information and retrieve a new ID for a specific platform.
551
562
  * @param requestBody
552
- * @returns any
563
+ * @returns number
553
564
  * @throws ApiError
554
565
  */
555
- static catalogIncrementCreate(requestBody: CatalogAutoIncrementUpdateRequest): CancelablePromise<Record<string, any>>;
566
+ static catalogIncrementCreate(requestBody: CatalogAutoIncrementUpdateRequest): CancelablePromise<number>;
556
567
  /**
557
568
  * Retrieve a paginated list of course invitations
558
569
  * @param active Filter by active status
@@ -1806,148 +1817,70 @@ export declare class CatalogService {
1806
1817
  */
1807
1818
  static catalogMetadataCourseCreate2(courseId: string, field: string, requestBody: CourseMetadataUpdateRequest): CancelablePromise<any>;
1808
1819
  /**
1809
- * GET
1810
- * Query program metadata.
1811
- *
1812
- * This method retrieves metadata for a specified program. The program is
1813
- * identified by its program_id and organization (org). If the program_id
1814
- * is not provided, a 400 status code is returned indicating a bad request.
1815
- * If the program cannot be found, a 404 status code is returned.
1816
- *
1817
- * Params:
1818
- * program_id: The unique identifier for the program.
1819
- * org: The organization associated with the program.
1820
- *
1821
- * Returns:
1822
- * A JSON response containing the program metadata if successful, or an
1823
- * appropriate error status code.
1824
- *
1825
- * TODO: program-key compatibility
1826
- * @returns any No response body
1820
+ * Retrieve metadata for a specified program
1821
+ * @param programId The unique identifier for the program
1822
+ * @param org The organization associated with the program
1823
+ * @param platformKey Platform key identifier (alternative to org)
1824
+ * @param programKey Program key (alternative to program_id + org)
1825
+ * @returns ProgramMetadataResponse
1827
1826
  * @throws ApiError
1828
1827
  */
1829
- static catalogMetadataProgramRetrieve(): CancelablePromise<any>;
1828
+ static catalogMetadataProgramRetrieve(programId: string, org?: string, platformKey?: string, programKey?: string): CancelablePromise<ProgramMetadataResponse>;
1830
1829
  /**
1831
- * POST
1832
- * Update program metadata.
1833
- *
1834
- * This method updates the metadata for a specified program. The program is
1835
- * identified by its program_id and organization (org). If the program_id
1836
- * is not provided, a 400 status code is returned indicating a bad request.
1837
- * If the program cannot be found, a 404 status code is returned. If the
1838
- * field parameter is provided, a 404 status code is returned as field
1839
- * updates are not supported.
1840
- *
1841
- * Params:
1842
- * program_id: The unique identifier for the program.
1843
- * org: The organization associated with the program.
1844
- * metadata: The new metadata to update the program with.
1845
- * update (optional): A flag indicating whether to update the metadata.
1846
- *
1847
- * Returns:
1848
- * A JSON response containing the updated program metadata if successful,
1849
- * or an appropriate error status code.
1850
- *
1851
- * TODO: program-key compatibility
1852
- * @returns any No response body
1830
+ * Update metadata for a specified program
1831
+ * @param programId The unique identifier for the program
1832
+ * @param requestBody
1833
+ * @param org The organization associated with the program
1834
+ * @param platformKey Platform key identifier (alternative to org)
1835
+ * @param programKey Program key (alternative to program_id + org)
1836
+ * @returns ProgramMetadataResponse
1853
1837
  * @throws ApiError
1854
1838
  */
1855
- static catalogMetadataProgramCreate(): CancelablePromise<any>;
1856
- /**
1857
- * GET
1858
- * Query public program metadata.
1859
- *
1860
- * This method retrieves public metadata for a specified program. It requires
1861
- * a program ID and optionally an organization to identify the program. The
1862
- * metadata is filtered to include only public fields.
1863
- *
1864
- * Params:
1865
- * - program_id: The unique identifier for the program.
1866
- * - org: The organization associated with the program.
1867
- *
1868
- * Returns:
1869
- * - 200: Successfully retrieved the program metadata.
1870
- * - 400: Bad request if the program ID is not provided.
1871
- * - 404: Not found if the program or its metadata cannot be retrieved.
1872
- *
1873
- * TODO: Implement program-key compatibility for enhanced querying.
1874
- * @returns any No response body
1839
+ static catalogMetadataProgramCreate(programId: string, requestBody: ProgramMetadataRequest, org?: string, platformKey?: string, programKey?: string): CancelablePromise<ProgramMetadataResponse>;
1840
+ /**
1841
+ * Retrieve public metadata for a specified program
1842
+ * @param programId The unique identifier for the program
1843
+ * @param org The organization associated with the program
1844
+ * @param platformKey Platform key identifier (alternative to org)
1845
+ * @param programKey Program key (alternative to program_id + org)
1846
+ * @returns ProgramMetadataResponse
1875
1847
  * @throws ApiError
1876
1848
  */
1877
- static catalogMetadataProgramPublicRetrieve(): CancelablePromise<any>;
1849
+ static catalogMetadataProgramPublicRetrieve(programId: string, org?: string, platformKey?: string, programKey?: string): CancelablePromise<ProgramMetadataResponse>;
1878
1850
  /**
1879
- * GET
1880
- * Query public program metadata.
1881
- *
1882
- * This method retrieves public metadata for a specified program. It requires
1883
- * a program ID and optionally an organization to identify the program. The
1884
- * metadata is filtered to include only public fields.
1885
- *
1886
- * Params:
1887
- * - program_id: The unique identifier for the program.
1888
- * - org: The organization associated with the program.
1889
- *
1890
- * Returns:
1891
- * - 200: Successfully retrieved the program metadata.
1892
- * - 400: Bad request if the program ID is not provided.
1893
- * - 404: Not found if the program or its metadata cannot be retrieved.
1894
- *
1895
- * TODO: Implement program-key compatibility for enhanced querying.
1851
+ * Retrieve public metadata for a specified program
1896
1852
  * @param field
1897
- * @returns any No response body
1853
+ * @param programId The unique identifier for the program
1854
+ * @param org The organization associated with the program
1855
+ * @param platformKey Platform key identifier (alternative to org)
1856
+ * @param programKey Program key (alternative to program_id + org)
1857
+ * @returns ProgramMetadataResponse
1898
1858
  * @throws ApiError
1899
1859
  */
1900
- static catalogMetadataProgramPublicRetrieve2(field: string): CancelablePromise<any>;
1860
+ static catalogMetadataProgramPublicRetrieve2(field: string, programId: string, org?: string, platformKey?: string, programKey?: string): CancelablePromise<ProgramMetadataResponse>;
1901
1861
  /**
1902
- * GET
1903
- * Query program metadata.
1904
- *
1905
- * This method retrieves metadata for a specified program. The program is
1906
- * identified by its program_id and organization (org). If the program_id
1907
- * is not provided, a 400 status code is returned indicating a bad request.
1908
- * If the program cannot be found, a 404 status code is returned.
1909
- *
1910
- * Params:
1911
- * program_id: The unique identifier for the program.
1912
- * org: The organization associated with the program.
1913
- *
1914
- * Returns:
1915
- * A JSON response containing the program metadata if successful, or an
1916
- * appropriate error status code.
1917
- *
1918
- * TODO: program-key compatibility
1862
+ * Retrieve metadata for a specified program
1919
1863
  * @param field
1920
- * @returns any No response body
1864
+ * @param programId The unique identifier for the program
1865
+ * @param org The organization associated with the program
1866
+ * @param platformKey Platform key identifier (alternative to org)
1867
+ * @param programKey Program key (alternative to program_id + org)
1868
+ * @returns ProgramMetadataResponse
1921
1869
  * @throws ApiError
1922
1870
  */
1923
- static catalogMetadataProgramRetrieve2(field: string): CancelablePromise<any>;
1871
+ static catalogMetadataProgramRetrieve2(field: string, programId: string, org?: string, platformKey?: string, programKey?: string): CancelablePromise<ProgramMetadataResponse>;
1924
1872
  /**
1925
- * POST
1926
- * Update program metadata.
1927
- *
1928
- * This method updates the metadata for a specified program. The program is
1929
- * identified by its program_id and organization (org). If the program_id
1930
- * is not provided, a 400 status code is returned indicating a bad request.
1931
- * If the program cannot be found, a 404 status code is returned. If the
1932
- * field parameter is provided, a 404 status code is returned as field
1933
- * updates are not supported.
1934
- *
1935
- * Params:
1936
- * program_id: The unique identifier for the program.
1937
- * org: The organization associated with the program.
1938
- * metadata: The new metadata to update the program with.
1939
- * update (optional): A flag indicating whether to update the metadata.
1940
- *
1941
- * Returns:
1942
- * A JSON response containing the updated program metadata if successful,
1943
- * or an appropriate error status code.
1944
- *
1945
- * TODO: program-key compatibility
1873
+ * Update metadata for a specified program
1946
1874
  * @param field
1947
- * @returns any No response body
1875
+ * @param programId The unique identifier for the program
1876
+ * @param requestBody
1877
+ * @param org The organization associated with the program
1878
+ * @param platformKey Platform key identifier (alternative to org)
1879
+ * @param programKey Program key (alternative to program_id + org)
1880
+ * @returns ProgramMetadataResponse
1948
1881
  * @throws ApiError
1949
1882
  */
1950
- static catalogMetadataProgramCreate2(field: string): CancelablePromise<any>;
1883
+ static catalogMetadataProgramCreate2(field: string, programId: string, requestBody: ProgramMetadataRequest, org?: string, platformKey?: string, programKey?: string): CancelablePromise<ProgramMetadataResponse>;
1951
1884
  /**
1952
1885
  * Retrieve catalog-compatible completion information for a user
1953
1886
  * @param userId The user identifier
@@ -2101,29 +2034,62 @@ export declare class CatalogService {
2101
2034
  static catalogMilestonesSkillPointsUserRetrieve(userId?: number, username?: string): CancelablePromise<UserSkillPointInfoResponse>;
2102
2035
  /**
2103
2036
  * Retrieve pathways matching query. Limited parameters.
2037
+ * @param itemId Item ID associated with the pathway
2038
+ * @param name Pathway name
2039
+ * @param pathwayId Pathway ID
2040
+ * @param pathwayUuid Pathway UUID
2041
+ * @param platformKey Platform key
2042
+ * @param slug Pathway slug (case-insensitive)
2043
+ * @param userId User ID of the pathway owner
2044
+ * @param username Username of the pathway owner
2045
+ * @param visible Whether the pathway is visible
2104
2046
  * @returns Pathway
2105
2047
  * @throws ApiError
2106
2048
  */
2107
- static catalogPathwaysList(): CancelablePromise<Array<Pathway>>;
2049
+ static catalogPathwaysList(itemId?: string, name?: string, pathwayId?: string, pathwayUuid?: string, platformKey?: string, slug?: string, userId?: number, username?: string, visible?: boolean): CancelablePromise<Array<Pathway>>;
2108
2050
  /**
2109
2051
  * Add or update a pathway.
2110
2052
  * @param requestBody
2053
+ * @param itemId Item ID associated with the pathway
2054
+ * @param name Pathway name
2055
+ * @param pathwayId Pathway ID
2056
+ * @param pathwayUuid Pathway UUID
2057
+ * @param platformKey Platform key
2058
+ * @param slug Pathway slug (case-insensitive)
2059
+ * @param userId User ID of the pathway owner
2060
+ * @param username Username of the pathway owner
2061
+ * @param visible Whether the pathway is visible
2111
2062
  * @returns Pathway
2112
2063
  * @throws ApiError
2113
2064
  */
2114
- static catalogPathwaysCreate(requestBody: PathwayCreateUpdateRequest): CancelablePromise<Pathway>;
2065
+ static catalogPathwaysCreate(requestBody: PathwayCreateUpdateRequest, itemId?: string, name?: string, pathwayId?: string, pathwayUuid?: string, platformKey?: string, slug?: string, userId?: number, username?: string, visible?: boolean): CancelablePromise<Pathway>;
2115
2066
  /**
2116
2067
  * Remove a pathway from the database.
2068
+ * @param pathwayId Pathway ID to delete
2069
+ * @param userId User ID of the pathway owner
2070
+ * @param itemId Item ID associated with the pathway
2071
+ * @param name Pathway name
2072
+ * @param pathwayUuid Pathway UUID
2073
+ * @param platformKey Platform key
2074
+ * @param slug Pathway slug (case-insensitive)
2075
+ * @param username Username of the pathway owner
2076
+ * @param visible Whether the pathway is visible
2117
2077
  * @returns PathwayDeleteResponse
2118
2078
  * @throws ApiError
2119
2079
  */
2120
- static catalogPathwaysDestroy(): CancelablePromise<PathwayDeleteResponse>;
2080
+ static catalogPathwaysDestroy(pathwayId: string, userId: number, itemId?: string, name?: string, pathwayUuid?: string, platformKey?: string, slug?: string, username?: string, visible?: boolean): CancelablePromise<PathwayDeleteResponse>;
2121
2081
  /**
2122
2082
  * Retrieve programs matching query parameters. Limited parameters include program_id, name, slug, enabled, and org.
2083
+ * @param courseId Course ID contained in the program
2084
+ * @param enabled Whether the program is enabled
2085
+ * @param name Program name
2086
+ * @param org Organization of the program
2087
+ * @param programId Program ID
2088
+ * @param slug Program slug (case-insensitive)
2123
2089
  * @returns Program
2124
2090
  * @throws ApiError
2125
2091
  */
2126
- static catalogProgramsList(): CancelablePromise<Array<Program>>;
2092
+ static catalogProgramsList(courseId?: string, enabled?: boolean, name?: string, org?: string, programId?: string, slug?: string): CancelablePromise<Array<Program>>;
2127
2093
  /**
2128
2094
  * Add or update a program. Accepts a list of courses and updates or creates a program.
2129
2095
  * @param requestBody
@@ -2133,10 +2099,12 @@ export declare class CatalogService {
2133
2099
  static catalogProgramsCreate(requestBody: ProgramCreateUpdateRequest): CancelablePromise<Program>;
2134
2100
  /**
2135
2101
  * Remove a program from the database. Requires program_id and org as parameters.
2102
+ * @param org Organization of the program
2103
+ * @param programId Program ID to delete
2136
2104
  * @returns ProgramDeleteResponse
2137
2105
  * @throws ApiError
2138
2106
  */
2139
- static catalogProgramsDestroy(): CancelablePromise<ProgramDeleteResponse>;
2107
+ static catalogProgramsDestroy(org: string, programId: string): CancelablePromise<ProgramDeleteResponse>;
2140
2108
  /**
2141
2109
  * GET
2142
2110
  * Get a 'next' course
@@ -2200,12 +2168,12 @@ export declare class CatalogService {
2200
2168
  static catalogResourcesCreate(formData: ResourceCreateUpdate, id?: number, itemId?: string, key?: string, name?: string, org?: string, platformKey?: string, platformOrg?: string, resourceType?: string, userId?: number, username?: string): CancelablePromise<Resource>;
2201
2169
  /**
2202
2170
  * Remove a resource from the database.
2203
- * @param id Resource ID
2171
+ * @param id Resource ID to delete
2204
2172
  * @param itemId Item ID associated with the resource
2205
2173
  * @param key Platform key
2206
2174
  * @param name Resource name
2207
2175
  * @param org Platform organization
2208
- * @param platformKey Platform key (alternative to key)
2176
+ * @param platformKey Platform key
2209
2177
  * @param platformOrg Platform organization (alternative to org)
2210
2178
  * @param resourceType Type of resource
2211
2179
  * @param userId User ID who owns the resource
@@ -2213,62 +2181,21 @@ export declare class CatalogService {
2213
2181
  * @returns ResourceDeleteResponse
2214
2182
  * @throws ApiError
2215
2183
  */
2216
- static catalogResourcesDestroy(id?: number, itemId?: string, key?: string, name?: string, org?: string, platformKey?: string, platformOrg?: string, resourceType?: string, userId?: number, username?: string): CancelablePromise<ResourceDeleteResponse>;
2184
+ static catalogResourcesDestroy(id: number, itemId?: string, key?: string, name?: string, org?: string, platformKey?: string, platformOrg?: string, resourceType?: string, userId?: number, username?: string): CancelablePromise<ResourceDeleteResponse>;
2217
2185
  /**
2218
- * API View for querying course reviews.
2219
- *
2220
- * This endpoint allows users to retrieve course reviews with filtering by course, user,
2221
- * and platform. Results are paginated and include detailed review information.
2222
- *
2223
- * Query Parameters:
2224
- * course_id (str, optional): Filter reviews by course ID
2225
- * user_id (str/int, optional): Filter reviews by user ID
2226
- * platform_key (str, optional): Filter reviews by platform key
2227
- * platform_org (str, optional): Filter reviews by platform organization
2228
- * org (str, optional): Alias for platform_org
2229
- * sort (str, optional): Field to sort results by (default: '-id')
2230
- * page (int, optional): Page number for pagination
2231
- * page_size (int, optional): Number of items per page
2232
- *
2233
- * Methods:
2234
- * GET: Retrieve a paginated list of course reviews with filtering
2235
- *
2236
- * Returns:
2237
- * GET: A paginated JSON response containing course reviews:
2238
- * {
2239
- * "count": 15,
2240
- * "next": "https://api.example.com/api/catalog/reviews/course/?page=2",
2241
- * "previous": null,
2242
- * "results": [
2243
- * {
2244
- * "user_id": 123,
2245
- * "username": "student1",
2246
- * "content": "This course was excellent and very informative.",
2247
- * "rating": 4.5,
2248
- * "title": "Great Course!",
2249
- * "visible": true,
2250
- * "created": "2023-01-15T10:30:00Z",
2251
- * "modified": "2023-01-15T10:30:00Z",
2252
- * "course_id": "course-v1:org+course+run"
2253
- * },
2254
- * ...
2255
- * ]
2256
- * }
2257
- *
2258
- * Error Responses:
2259
- * 400 Bad Request: If required parameters are missing or invalid
2260
- * 401 Unauthorized: If the user is not authenticated
2261
- * 403 Forbidden: If the user does not have permission to access this resource
2262
- * 500 Internal Server Error: If an unexpected error occurs
2263
- *
2264
- * Access Control:
2265
- * - Requires IsDMAdmin, IsPlatformAdminReadOnly, or IsPlatformAdminForCourse permission
2266
- * - Platform admins can view reviews for courses in their platform (read-only)
2267
- * - DM admins can view all reviews
2268
- * @returns any No response body
2269
- * @throws ApiError
2270
- */
2271
- static catalogReviewsCourseRetrieve(): CancelablePromise<any>;
2186
+ * Retrieve a paginated list of course reviews with filtering options
2187
+ * @param courseId Filter reviews by course ID
2188
+ * @param org Alias for platform_org
2189
+ * @param page Page number for pagination
2190
+ * @param pageSize Number of items per page
2191
+ * @param platformKey Filter reviews by platform key
2192
+ * @param platformOrg Filter reviews by platform organization
2193
+ * @param sort Field to sort results by (default: '-id')
2194
+ * @param userId Filter reviews by user ID
2195
+ * @returns CourseReviewPaginatedResponse
2196
+ * @throws ApiError
2197
+ */
2198
+ static catalogReviewsCourseRetrieve(courseId?: string, org?: string, page?: number, pageSize?: number, platformKey?: string, platformOrg?: string, sort?: string, userId?: string): CancelablePromise<CourseReviewPaginatedResponse>;
2272
2199
  /**
2273
2200
  * Retrieve aggregate review information for a course.
2274
2201
  * @param courseId The course ID to get review information for
@@ -2277,164 +2204,35 @@ export declare class CatalogService {
2277
2204
  */
2278
2205
  static catalogReviewsCourseInfoRetrieve(courseId: string): CancelablePromise<CourseReviewInfoResponse>;
2279
2206
  /**
2280
- * API View for creating, updating, and deleting course reviews.
2281
- *
2282
- * This endpoint allows users to create, update, or delete their own course reviews.
2283
- *
2284
- * Methods:
2285
- * POST: Create or update a course review
2286
- * DELETE: Delete a course review
2287
- *
2288
- * Request Body (POST):
2289
- * A JSON object containing:
2290
- * - course_id (str, required): The course ID to review
2291
- * - username (str, required): The username of the reviewer
2292
- * - rating (float, optional): The rating value (typically 1-5)
2293
- * - title (str, optional): The review title
2294
- * - content (str, optional): The review content/text
2295
- * - visible (bool, optional): Whether the review is visible (default: true)
2296
- *
2297
- * Query Parameters (DELETE):
2298
- * course_id (str, required): The course ID of the review to delete
2299
- * username (str, required): The username of the reviewer
2300
- *
2301
- * Returns:
2302
- * POST: A JSON response containing the created/updated review:
2303
- * {
2304
- * "user_id": 123,
2305
- * "username": "student1",
2306
- * "content": "This course was excellent and very informative.",
2307
- * "rating": 4.5,
2308
- * "title": "Great Course!",
2309
- * "visible": true,
2310
- * "created": "2023-01-15T10:30:00Z",
2311
- * "modified": "2023-01-15T10:30:00Z",
2312
- * "course_id": "course-v1:org+course+run"
2313
- * }
2314
- *
2315
- * DELETE: A success response with status 200
2316
- *
2317
- * Error Responses:
2318
- * 400 Bad Request: If required parameters are missing or invalid
2319
- * 401 Unauthorized: If the user is not authenticated
2320
- * 403 Forbidden: If the user does not have permission to manage this review
2321
- * 500 Internal Server Error: If an unexpected error occurs during review operations
2322
- *
2323
- * Access Control:
2324
- * - Requires IsDMAdmin or IsEdxUserReadWriteDelete permission
2325
- * - Users can create, update, or delete their own reviews
2326
- * - DM admins can manage all reviews
2327
- * @returns any No response body
2328
- * @throws ApiError
2329
- */
2330
- static catalogReviewsCourseUpdateCreate(): CancelablePromise<any>;
2207
+ * Create or update a course review
2208
+ * @param requestBody
2209
+ * @returns CourseReviewResponse
2210
+ * @throws ApiError
2211
+ */
2212
+ static catalogReviewsCourseUpdateCreate(requestBody: CourseReviewRequest): CancelablePromise<CourseReviewResponse>;
2331
2213
  /**
2332
- * API View for creating, updating, and deleting course reviews.
2333
- *
2334
- * This endpoint allows users to create, update, or delete their own course reviews.
2335
- *
2336
- * Methods:
2337
- * POST: Create or update a course review
2338
- * DELETE: Delete a course review
2339
- *
2340
- * Request Body (POST):
2341
- * A JSON object containing:
2342
- * - course_id (str, required): The course ID to review
2343
- * - username (str, required): The username of the reviewer
2344
- * - rating (float, optional): The rating value (typically 1-5)
2345
- * - title (str, optional): The review title
2346
- * - content (str, optional): The review content/text
2347
- * - visible (bool, optional): Whether the review is visible (default: true)
2348
- *
2349
- * Query Parameters (DELETE):
2350
- * course_id (str, required): The course ID of the review to delete
2351
- * username (str, required): The username of the reviewer
2352
- *
2353
- * Returns:
2354
- * POST: A JSON response containing the created/updated review:
2355
- * {
2356
- * "user_id": 123,
2357
- * "username": "student1",
2358
- * "content": "This course was excellent and very informative.",
2359
- * "rating": 4.5,
2360
- * "title": "Great Course!",
2361
- * "visible": true,
2362
- * "created": "2023-01-15T10:30:00Z",
2363
- * "modified": "2023-01-15T10:30:00Z",
2364
- * "course_id": "course-v1:org+course+run"
2365
- * }
2366
- *
2367
- * DELETE: A success response with status 200
2368
- *
2369
- * Error Responses:
2370
- * 400 Bad Request: If required parameters are missing or invalid
2371
- * 401 Unauthorized: If the user is not authenticated
2372
- * 403 Forbidden: If the user does not have permission to manage this review
2373
- * 500 Internal Server Error: If an unexpected error occurs during review operations
2374
- *
2375
- * Access Control:
2376
- * - Requires IsDMAdmin or IsEdxUserReadWriteDelete permission
2377
- * - Users can create, update, or delete their own reviews
2378
- * - DM admins can manage all reviews
2379
- * @returns void
2380
- * @throws ApiError
2381
- */
2382
- static catalogReviewsCourseUpdateDestroy(): CancelablePromise<void>;
2214
+ * Delete a course review
2215
+ * @param courseId The course ID of the review to delete
2216
+ * @param username The username of the reviewer
2217
+ * @param userId The user ID of the reviewer (alternative to username)
2218
+ * @returns any Review successfully deleted
2219
+ * @throws ApiError
2220
+ */
2221
+ static catalogReviewsCourseUpdateDestroy(courseId: string, username: string, userId?: number): CancelablePromise<any>;
2383
2222
  /**
2384
- * API View for querying program reviews.
2385
- *
2386
- * This endpoint allows users to retrieve program reviews with filtering by program, user,
2387
- * and platform. Results are paginated and include detailed review information.
2388
- *
2389
- * Query Parameters:
2390
- * program_id (str, optional): Filter reviews by program ID
2391
- * platform_key (str, optional): Filter reviews by platform key
2392
- * platform_org (str, optional): Filter reviews by platform organization
2393
- * org (str, optional): Alias for platform_org
2394
- * user_id (str/int, optional): Filter reviews by user ID
2395
- * sort (str, optional): Field to sort results by (default: '-id')
2396
- * page (int, optional): Page number for pagination
2397
- * page_size (int, optional): Number of items per page
2398
- *
2399
- * Methods:
2400
- * GET: Retrieve a paginated list of program reviews with filtering
2401
- *
2402
- * Returns:
2403
- * GET: A paginated JSON response containing program reviews:
2404
- * {
2405
- * "count": 15,
2406
- * "next": "https://api.example.com/api/catalog/reviews/program/?page=2",
2407
- * "previous": null,
2408
- * "results": [
2409
- * {
2410
- * "user_id": 123,
2411
- * "username": "student1",
2412
- * "content": "This program was comprehensive and well-structured.",
2413
- * "rating": 4.5,
2414
- * "title": "Excellent Program",
2415
- * "visible": true,
2416
- * "created": "2023-01-15T10:30:00Z",
2417
- * "modified": "2023-01-15T10:30:00Z",
2418
- * "program_key": "program-v1:org+program123"
2419
- * },
2420
- * ...
2421
- * ]
2422
- * }
2423
- *
2424
- * Error Responses:
2425
- * 400 Bad Request: If required parameters are missing or invalid
2426
- * 401 Unauthorized: If the user is not authenticated
2427
- * 403 Forbidden: If the user does not have permission to access this resource
2428
- * 500 Internal Server Error: If an unexpected error occurs
2429
- *
2430
- * Access Control:
2431
- * - Requires IsDMAdmin, IsPlatformAdminReadOnly, or IsPlatformAdminForProgram permission
2432
- * - Platform admins can view reviews for programs in their platform (read-only)
2433
- * - DM admins can view all reviews
2434
- * @returns any No response body
2435
- * @throws ApiError
2436
- */
2437
- static catalogReviewsProgramRetrieve(): CancelablePromise<any>;
2223
+ * Retrieve a paginated list of program reviews with filtering options
2224
+ * @param org Alias for platform_org
2225
+ * @param page Page number for pagination
2226
+ * @param pageSize Number of items per page
2227
+ * @param platformKey Filter reviews by platform key
2228
+ * @param platformOrg Filter reviews by platform organization
2229
+ * @param programId Filter reviews by program ID
2230
+ * @param sort Field to sort results by (default: '-id')
2231
+ * @param userId Filter reviews by user ID
2232
+ * @returns ProgramReviewPaginatedResponse
2233
+ * @throws ApiError
2234
+ */
2235
+ static catalogReviewsProgramRetrieve(org?: string, page?: number, pageSize?: number, platformKey?: string, platformOrg?: string, programId?: string, sort?: string, userId?: string): CancelablePromise<ProgramReviewPaginatedResponse>;
2438
2236
  /**
2439
2237
  * Retrieve aggregate review information for a program.
2440
2238
  * @param programKey The program key to get review information for
@@ -2443,109 +2241,21 @@ export declare class CatalogService {
2443
2241
  */
2444
2242
  static catalogReviewsProgramInfoRetrieve(programKey: string): CancelablePromise<ProgramReviewInfoResponse>;
2445
2243
  /**
2446
- * API View for creating, updating, and deleting program reviews.
2447
- *
2448
- * This endpoint allows users to create, update, or delete their own program reviews.
2449
- *
2450
- * Methods:
2451
- * POST: Create or update a program review
2452
- * DELETE: Delete a program review
2453
- *
2454
- * Request Body (POST):
2455
- * A JSON object containing:
2456
- * - program_key (str, required): The program key to review (format: program-v1:org+program_id)
2457
- * - username (str, required): The username of the reviewer
2458
- * - rating (float, optional): The rating value (typically 1-5)
2459
- * - title (str, optional): The review title
2460
- * - content (str, optional): The review content/text
2461
- * - visible (bool, optional): Whether the review is visible (default: true)
2462
- *
2463
- * Query Parameters (DELETE):
2464
- * program_key (str, required): The program key of the review to delete
2465
- * username (str, required): The username of the reviewer
2466
- *
2467
- * Returns:
2468
- * POST: A JSON response containing the created/updated review:
2469
- * {
2470
- * "user_id": 123,
2471
- * "username": "student1",
2472
- * "content": "This program was comprehensive and well-structured.",
2473
- * "rating": 4.5,
2474
- * "title": "Excellent Program",
2475
- * "visible": true,
2476
- * "created": "2023-01-15T10:30:00Z",
2477
- * "modified": "2023-01-15T10:30:00Z",
2478
- * "program_key": "program-v1:org+program123"
2479
- * }
2480
- *
2481
- * DELETE: A success response with status 200
2482
- *
2483
- * Error Responses:
2484
- * 400 Bad Request: If required parameters are missing or invalid
2485
- * 401 Unauthorized: If the user is not authenticated
2486
- * 403 Forbidden: If the user does not have permission to manage this review
2487
- * 500 Internal Server Error: If an unexpected error occurs during review operations
2488
- *
2489
- * Access Control:
2490
- * - Requires IsDMAdmin or IsEdxUserReadWriteDelete permission
2491
- * - Users can create, update, or delete their own reviews
2492
- * - DM admins can manage all reviews
2493
- * @returns any No response body
2494
- * @throws ApiError
2495
- */
2496
- static catalogReviewsProgramUpdateCreate(): CancelablePromise<any>;
2244
+ * Create or update a program review
2245
+ * @param requestBody
2246
+ * @returns ProgramReview
2247
+ * @throws ApiError
2248
+ */
2249
+ static catalogReviewsProgramUpdateCreate(requestBody: ProgramReviewRequest): CancelablePromise<ProgramReview>;
2497
2250
  /**
2498
- * API View for creating, updating, and deleting program reviews.
2499
- *
2500
- * This endpoint allows users to create, update, or delete their own program reviews.
2501
- *
2502
- * Methods:
2503
- * POST: Create or update a program review
2504
- * DELETE: Delete a program review
2505
- *
2506
- * Request Body (POST):
2507
- * A JSON object containing:
2508
- * - program_key (str, required): The program key to review (format: program-v1:org+program_id)
2509
- * - username (str, required): The username of the reviewer
2510
- * - rating (float, optional): The rating value (typically 1-5)
2511
- * - title (str, optional): The review title
2512
- * - content (str, optional): The review content/text
2513
- * - visible (bool, optional): Whether the review is visible (default: true)
2514
- *
2515
- * Query Parameters (DELETE):
2516
- * program_key (str, required): The program key of the review to delete
2517
- * username (str, required): The username of the reviewer
2518
- *
2519
- * Returns:
2520
- * POST: A JSON response containing the created/updated review:
2521
- * {
2522
- * "user_id": 123,
2523
- * "username": "student1",
2524
- * "content": "This program was comprehensive and well-structured.",
2525
- * "rating": 4.5,
2526
- * "title": "Excellent Program",
2527
- * "visible": true,
2528
- * "created": "2023-01-15T10:30:00Z",
2529
- * "modified": "2023-01-15T10:30:00Z",
2530
- * "program_key": "program-v1:org+program123"
2531
- * }
2532
- *
2533
- * DELETE: A success response with status 200
2534
- *
2535
- * Error Responses:
2536
- * 400 Bad Request: If required parameters are missing or invalid
2537
- * 401 Unauthorized: If the user is not authenticated
2538
- * 403 Forbidden: If the user does not have permission to manage this review
2539
- * 500 Internal Server Error: If an unexpected error occurs during review operations
2540
- *
2541
- * Access Control:
2542
- * - Requires IsDMAdmin or IsEdxUserReadWriteDelete permission
2543
- * - Users can create, update, or delete their own reviews
2544
- * - DM admins can manage all reviews
2545
- * @returns void
2546
- * @throws ApiError
2547
- */
2548
- static catalogReviewsProgramUpdateDestroy(): CancelablePromise<void>;
2251
+ * Delete a program review
2252
+ * @param programKey The program key of the review to delete
2253
+ * @param username The username of the reviewer
2254
+ * @param userId The user ID of the reviewer (alternative to username)
2255
+ * @returns any Review successfully deleted
2256
+ * @throws ApiError
2257
+ */
2258
+ static catalogReviewsProgramUpdateDestroy(programKey: string, username: string, userId?: number): CancelablePromise<any>;
2549
2259
  /**
2550
2260
  * Retrieve roles matching query parameters. Supports filtering by name, id, and slug.
2551
2261
  * @param id Role ID
@@ -2653,12 +2363,13 @@ export declare class CatalogService {
2653
2363
  * @param platformKey Platform key
2654
2364
  * @param slug Skill slug
2655
2365
  * @param sort Field to sort results by
2656
- * @returns Skill
2366
+ * @returns PaginatedSkill
2657
2367
  * @throws ApiError
2658
2368
  */
2659
- static catalogSkillsRetrieve(id?: number, name?: string, nameIexact?: string, page?: number, pageSize?: number, platformKey?: string, slug?: string, sort?: string): CancelablePromise<Skill>;
2369
+ static catalogSkillsRetrieve(id?: number, name?: string, nameIexact?: string, page?: number, pageSize?: number, platformKey?: string, slug?: string, sort?: string): CancelablePromise<PaginatedSkill>;
2660
2370
  /**
2661
2371
  * Add or update a skill.
2372
+ * @param requestBody
2662
2373
  * @param id Skill ID
2663
2374
  * @param name Skill name
2664
2375
  * @param nameIexact Exact match for skill name (case insensitive)
@@ -2667,11 +2378,10 @@ export declare class CatalogService {
2667
2378
  * @param platformKey Platform key
2668
2379
  * @param slug Skill slug
2669
2380
  * @param sort Field to sort results by
2670
- * @param requestBody
2671
- * @returns Skill
2381
+ * @returns PaginatedSkill
2672
2382
  * @throws ApiError
2673
2383
  */
2674
- static catalogSkillsCreate(id?: number, name?: string, nameIexact?: string, page?: number, pageSize?: number, platformKey?: string, slug?: string, sort?: string, requestBody?: Skill): CancelablePromise<Skill>;
2384
+ static catalogSkillsCreate(requestBody: PaginatedSkill, id?: number, name?: string, nameIexact?: string, page?: number, pageSize?: number, platformKey?: string, slug?: string, sort?: string): CancelablePromise<PaginatedSkill>;
2675
2385
  /**
2676
2386
  * Retrieve desired skills for a user.
2677
2387
  * @param userId User ID