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