@iblai/iblai-api 4.511.0-core → 4.512.0-ai

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1277) hide show
  1. package/dist/index.cjs.js +41044 -17295
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +41022 -17296
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.umd.js +41044 -17295
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/types/index.d.ts +624 -2
  8. package/dist/types/models/AIGeneratedImage.d.ts +20 -0
  9. package/dist/types/models/AIUserProfileMemoryRelation.d.ts +4 -0
  10. package/dist/types/models/AIUserProfileRequest.d.ts +4 -0
  11. package/dist/types/models/AccessEnum.d.ts +8 -0
  12. package/dist/types/models/AccessTimesHeatmap.d.ts +5 -0
  13. package/dist/types/models/AccessibleMentorsByEmailRequest.d.ts +13 -0
  14. package/dist/types/models/AccessibleMentorsByEmailResponse.d.ts +13 -0
  15. package/dist/types/models/ActionBreakdown.d.ts +10 -0
  16. package/dist/types/models/ActionTakenEnum.d.ts +12 -0
  17. package/dist/types/models/AddMentorToDisclaimer.d.ts +12 -0
  18. package/dist/types/models/AdminIntegrationCredential.d.ts +17 -0
  19. package/dist/types/models/AgentChannel.d.ts +26 -0
  20. package/dist/types/models/AgentChannelCreate.d.ts +24 -0
  21. package/dist/types/models/AgentChannelTransportEnum.d.ts +8 -0
  22. package/dist/types/models/AgentSkill.d.ts +35 -0
  23. package/dist/types/models/AgentSkillResource.d.ts +17 -0
  24. package/dist/types/models/AlignMentorBubbleEnum.d.ts +8 -0
  25. package/dist/types/models/AnalyticsOverview.d.ts +7 -0
  26. package/dist/types/models/Answer.d.ts +11 -0
  27. package/dist/types/models/Artifact.d.ts +78 -0
  28. package/dist/types/models/ArtifactList.d.ts +56 -0
  29. package/dist/types/models/ArtifactVersion.d.ts +63 -0
  30. package/dist/types/models/AssumedKnowledge.d.ts +4 -0
  31. package/dist/types/models/AssumedKnowledgeLevel.d.ts +4 -0
  32. package/dist/types/models/AudioToTextRequest.d.ts +15 -0
  33. package/dist/types/models/AudioToTextResponse.d.ts +3 -0
  34. package/dist/types/models/AuthModeEnum.d.ts +12 -0
  35. package/dist/types/models/AuthScopeEnum.d.ts +10 -0
  36. package/dist/types/models/AuthTypeEnum.d.ts +10 -0
  37. package/dist/types/models/BaseFinanceResponse.d.ts +37 -0
  38. package/dist/types/models/BillingPeriod.d.ts +8 -0
  39. package/dist/types/models/Breakdown.d.ts +11 -0
  40. package/dist/types/models/CallAuthenticationRequest.d.ts +17 -0
  41. package/dist/types/models/CallAuthenticationResponse.d.ts +21 -0
  42. package/dist/types/models/CallConfiguration.d.ts +38 -0
  43. package/dist/types/models/CallConfigurationModeEnum.d.ts +8 -0
  44. package/dist/types/models/ChannelAllowEntry.d.ts +8 -0
  45. package/dist/types/models/ChannelAllowEntryCreate.d.ts +6 -0
  46. package/dist/types/models/ChannelAllowEntrySourceEnum.d.ts +10 -0
  47. package/dist/types/models/ChannelCatalogEntry.d.ts +16 -0
  48. package/dist/types/models/ChannelCredential.d.ts +22 -0
  49. package/dist/types/models/ChannelCredentialCreate.d.ts +6 -0
  50. package/dist/types/models/ChannelEnum.d.ts +18 -0
  51. package/dist/types/models/ChannelIdentity.d.ts +10 -0
  52. package/dist/types/models/ChannelIdentityPreview.d.ts +12 -0
  53. package/dist/types/models/ChannelIdentityRedeem.d.ts +6 -0
  54. package/dist/types/models/ChannelPairingRequest.d.ts +9 -0
  55. package/dist/types/models/ChannelPairingRequestStatusEnum.d.ts +12 -0
  56. package/dist/types/models/ChatCompletionRequest.d.ts +27 -0
  57. package/dist/types/models/ChatHistory.d.ts +20 -0
  58. package/dist/types/models/ChatHistoryFilterData.d.ts +9 -0
  59. package/dist/types/models/ChatHistoryFilterUser.d.ts +6 -0
  60. package/dist/types/models/ChatHistoryItem.d.ts +6 -0
  61. package/dist/types/models/ChatHistorySessionId.d.ts +3 -0
  62. package/dist/types/models/ChatPrivacyModeEnum.d.ts +10 -0
  63. package/dist/types/models/ChatRunTracker.d.ts +43 -0
  64. package/dist/types/models/ChatRunTrackerStatusEnum.d.ts +10 -0
  65. package/dist/types/models/ChatSessionActivity.d.ts +15 -0
  66. package/dist/types/models/ChatSessionRequest.d.ts +29 -0
  67. package/dist/types/models/ChatSessionResponse.d.ts +24 -0
  68. package/dist/types/models/CheckDocumentTrainingStatus.d.ts +10 -0
  69. package/dist/types/models/ClassifierTestRequest.d.ts +8 -0
  70. package/dist/types/models/ClassifierTestResponse.d.ts +9 -0
  71. package/dist/types/models/ClawConfigGetResponse.d.ts +19 -0
  72. package/dist/types/models/ClawInstance.d.ts +51 -0
  73. package/dist/types/models/ClawInstanceStatusEnum.d.ts +10 -0
  74. package/dist/types/models/ClawMentorConfig.d.ts +27 -0
  75. package/dist/types/models/ClawModelProvider.d.ts +40 -0
  76. package/dist/types/models/ClawRpcError.d.ts +7 -0
  77. package/dist/types/models/ClawTypeEnum.d.ts +10 -0
  78. package/dist/types/models/ComparisonInfo.d.ts +29 -0
  79. package/dist/types/models/ConnectedService.d.ts +30 -0
  80. package/dist/types/models/ConversationChartPoint.d.ts +4 -0
  81. package/dist/types/models/ConversationDetailResponse.d.ts +4 -0
  82. package/dist/types/models/ConversationListItem.d.ts +35 -0
  83. package/dist/types/models/ConversationListResponse.d.ts +6 -0
  84. package/dist/types/models/ConversationMessage.d.ts +13 -0
  85. package/dist/types/models/ConversationRating.d.ts +6 -0
  86. package/dist/types/models/ConversationSummary.d.ts +5 -0
  87. package/dist/types/models/ConversationVolume.d.ts +4 -0
  88. package/dist/types/models/Conversations.d.ts +115 -0
  89. package/dist/types/models/ConversationsChart.d.ts +5 -0
  90. package/dist/types/models/Cost.d.ts +3 -0
  91. package/dist/types/models/CostPerTenant.d.ts +6 -0
  92. package/dist/types/models/CourseCreationTask.d.ts +38 -0
  93. package/dist/types/models/CourseCreationTaskFile.d.ts +7 -0
  94. package/dist/types/models/CourseCreationTaskStatusEnum.d.ts +16 -0
  95. package/dist/types/models/CourseRecommendation.d.ts +49 -0
  96. package/dist/types/models/CrawlerPatternTypeEnum.d.ts +8 -0
  97. package/dist/types/models/CreateXblock.d.ts +37 -0
  98. package/dist/types/models/CredentialRequest.d.ts +14 -0
  99. package/dist/types/models/CronDelivery.d.ts +12 -0
  100. package/dist/types/models/CronDeliveryModeEnum.d.ts +10 -0
  101. package/dist/types/models/CronJobCreate.d.ts +22 -0
  102. package/dist/types/models/CronJobListResponse.d.ts +10 -0
  103. package/dist/types/models/CronJobResponse.d.ts +28 -0
  104. package/dist/types/models/CronPayload.d.ts +19 -0
  105. package/dist/types/models/CronPayloadKindEnum.d.ts +8 -0
  106. package/dist/types/models/CronRunAction.d.ts +7 -0
  107. package/dist/types/models/CronRunActionModeEnum.d.ts +8 -0
  108. package/dist/types/models/CronRunLogEntry.d.ts +25 -0
  109. package/dist/types/models/CronRunLogEntryStatusEnum.d.ts +10 -0
  110. package/dist/types/models/CronRunResult.d.ts +8 -0
  111. package/dist/types/models/CronRunsResponse.d.ts +10 -0
  112. package/dist/types/models/CronSchedule.d.ts +17 -0
  113. package/dist/types/models/CronScheduleKindEnum.d.ts +10 -0
  114. package/dist/types/models/CronStatusResponse.d.ts +14 -0
  115. package/dist/types/models/CrontabSchedule.d.ts +22 -0
  116. package/dist/types/models/CurrentUsersResponse.d.ts +18 -0
  117. package/dist/types/models/CustomInstructionResponse.d.ts +13 -0
  118. package/dist/types/models/DataTypeEnum.d.ts +10 -0
  119. package/dist/types/models/Dataset.d.ts +13 -0
  120. package/dist/types/models/DatasetCreate.d.ts +8 -0
  121. package/dist/types/models/DatasetItem.d.ts +20 -0
  122. package/dist/types/models/DatasetItemBulkCreateResponse.d.ts +5 -0
  123. package/dist/types/models/DatasetItemCreate.d.ts +10 -0
  124. package/dist/types/models/DatasetItemInput.d.ts +7 -0
  125. package/dist/types/models/DatasetItemUpdate.d.ts +10 -0
  126. package/dist/types/models/DatasetItemUpdateStatusEnum.d.ts +8 -0
  127. package/dist/types/models/DatasetRunItem.d.ts +16 -0
  128. package/dist/types/models/DateRange.d.ts +4 -0
  129. package/dist/types/models/DeleteXblock.d.ts +9 -0
  130. package/dist/types/models/DeliveryStatusEnum.d.ts +12 -0
  131. package/dist/types/models/DeployStateEnum.d.ts +14 -0
  132. package/dist/types/models/Disclaimer.d.ts +17 -0
  133. package/dist/types/models/DisclaimerAgreement.d.ts +13 -0
  134. package/dist/types/models/DisclaimerScopeEnum.d.ts +8 -0
  135. package/dist/types/models/DmPolicyEnum.d.ts +10 -0
  136. package/dist/types/models/Document.d.ts +41 -0
  137. package/dist/types/models/DocumentFacet.d.ts +17 -0
  138. package/dist/types/models/DocumentFromPoolRequest.d.ts +10 -0
  139. package/dist/types/models/DocumentSearchResponse.d.ts +35 -0
  140. package/dist/types/models/DocumentSettingsResponse.d.ts +3 -0
  141. package/dist/types/models/DomainAttach.d.ts +14 -0
  142. package/dist/types/models/EdxCourse.d.ts +12 -0
  143. package/dist/types/models/EffectiveDmPolicyEnum.d.ts +10 -0
  144. package/dist/types/models/ElevenlabsCustomVoice.d.ts +4 -0
  145. package/dist/types/models/ElevenlabsCustomVoiceResponse.d.ts +10 -0
  146. package/dist/types/models/EmailPromptDetail.d.ts +13 -0
  147. package/dist/types/models/EmailPromptList.d.ts +11 -0
  148. package/dist/types/models/EmailPromptSummary.d.ts +5 -0
  149. package/dist/types/models/EnforcementEnum.d.ts +8 -0
  150. package/dist/types/models/Entity.d.ts +13 -0
  151. package/dist/types/models/EntityTypeEnum.d.ts +10 -0
  152. package/dist/types/models/Error.d.ts +3 -0
  153. package/dist/types/models/ExperimentCreate.d.ts +8 -0
  154. package/dist/types/models/ExternalProxyInvoke.d.ts +19 -0
  155. package/dist/types/models/ExternalProxyServiceDetail.d.ts +23 -0
  156. package/dist/types/models/ExternalProxyServiceList.d.ts +14 -0
  157. package/dist/types/models/ExternalServiceInfo.d.ts +6 -0
  158. package/dist/types/models/FailureCategoryEnum.d.ts +28 -0
  159. package/dist/types/models/FallbackLLM.d.ts +47 -0
  160. package/dist/types/models/FallbackLLMCreate.d.ts +37 -0
  161. package/dist/types/models/FallbackLLMUpdate.d.ts +33 -0
  162. package/dist/types/models/FeedbackModeEnum.d.ts +10 -0
  163. package/dist/types/models/FileTypeEnum.d.ts +10 -0
  164. package/dist/types/models/FileUploadURLRequest.d.ts +21 -0
  165. package/dist/types/models/FileUploadURLResponse.d.ts +25 -0
  166. package/dist/types/models/FinanceDetailsResponse.d.ts +13 -0
  167. package/dist/types/models/FinanceFilters.d.ts +15 -0
  168. package/dist/types/models/FreeUsageCount.d.ts +3 -0
  169. package/dist/types/models/GradeResult.d.ts +42 -0
  170. package/dist/types/models/GradeResultDetail.d.ts +71 -0
  171. package/dist/types/models/GradeResultMentor.d.ts +4 -0
  172. package/dist/types/models/GradeResultPlatform.d.ts +3 -0
  173. package/dist/types/models/GradeResultStudent.d.ts +5 -0
  174. package/dist/types/models/GraderCriterion.d.ts +15 -0
  175. package/dist/types/models/GradingModeEnum.d.ts +8 -0
  176. package/dist/types/models/GrantMentorAccessRequest.d.ts +9 -0
  177. package/dist/types/models/GreetingMethodEnum.d.ts +8 -0
  178. package/dist/types/models/GuidedPrompt.d.ts +4 -0
  179. package/dist/types/models/GuidedPromptsResponse.d.ts +5 -0
  180. package/dist/types/models/HeygenAvatarCreate.d.ts +9 -0
  181. package/dist/types/models/HeygenAvatarCreateTypeEnum.d.ts +8 -0
  182. package/dist/types/models/HeygenMarketingVideoDetail.d.ts +8 -0
  183. package/dist/types/models/HeygenMarketingVideoList.d.ts +6 -0
  184. package/dist/types/models/HeygenStreamingSession.d.ts +12 -0
  185. package/dist/types/models/HeygenStreamingTask.d.ts +10 -0
  186. package/dist/types/models/HeygenTemplateRequest.d.ts +5 -0
  187. package/dist/types/models/HeygenTemplateResponseSingle.d.ts +6 -0
  188. package/dist/types/models/HeygenTtsPreview.d.ts +7 -0
  189. package/dist/types/models/HeygenVideoCreate.d.ts +14 -0
  190. package/dist/types/models/HeygenVideoCreateTypeEnum.d.ts +8 -0
  191. package/dist/types/models/HeygenVideoDetail.d.ts +8 -0
  192. package/dist/types/models/HeygenVideoRequest.d.ts +5 -0
  193. package/dist/types/models/HeygenVoiceClone.d.ts +9 -0
  194. package/dist/types/models/HostingProject.d.ts +46 -0
  195. package/dist/types/models/HumanSupportTicket.d.ts +23 -0
  196. package/dist/types/models/HumanSupportTicketStatusEnum.d.ts +10 -0
  197. package/dist/types/models/InputQuestion.d.ts +6 -0
  198. package/dist/types/models/IntegrationCredential.d.ts +25 -0
  199. package/dist/types/models/IntegrationCredentialSchema.d.ts +6 -0
  200. package/dist/types/models/IntegrationCredentialSchemaV2.d.ts +10 -0
  201. package/dist/types/models/InterfaceEnum.d.ts +8 -0
  202. package/dist/types/models/IntervalTypeEnum.d.ts +12 -0
  203. package/dist/types/models/IntialQuestionAnswer.d.ts +3 -0
  204. package/dist/types/models/InvalidQueryParameters.d.ts +3 -0
  205. package/dist/types/models/InvoiceReportResponse.d.ts +13 -0
  206. package/dist/types/models/JobRun.d.ts +11 -0
  207. package/dist/types/models/JudgeRecord.d.ts +19 -0
  208. package/dist/types/models/LLMCredentialRequest.d.ts +14 -0
  209. package/dist/types/models/LLMCredentialResponse.d.ts +10 -0
  210. package/dist/types/models/LLMCredentialSchema.d.ts +6 -0
  211. package/dist/types/models/LLMJudge.d.ts +10 -0
  212. package/dist/types/models/LLMModelRegistryMinimal.d.ts +15 -0
  213. package/dist/types/models/LLMProviderMinimal.d.ts +14 -0
  214. package/dist/types/models/LLMQuestion.d.ts +15 -0
  215. package/dist/types/models/LLMResponse.d.ts +18 -0
  216. package/dist/types/models/LLMTracesListResponse.d.ts +5 -0
  217. package/dist/types/models/LanguagesView.d.ts +5 -0
  218. package/dist/types/models/LinkCourseRequest.d.ts +3 -0
  219. package/dist/types/models/LinkCourseResponse.d.ts +5 -0
  220. package/dist/types/models/LinkedViaEnum.d.ts +8 -0
  221. package/dist/types/models/LlmProviderEnum.d.ts +12 -0
  222. package/dist/types/models/LlmUsageAnalyticsResponse.d.ts +8 -0
  223. package/dist/types/models/MCPServer.d.ts +82 -0
  224. package/dist/types/models/MCPServerConnection.d.ts +43 -0
  225. package/dist/types/models/MCPServerConnectionScopeEnum.d.ts +10 -0
  226. package/dist/types/models/MCPServerMentorAuthScopeWrite.d.ts +19 -0
  227. package/dist/types/models/MCPServerOAuthClientWrite.d.ts +15 -0
  228. package/dist/types/models/MCPServerOauthFind.d.ts +13 -0
  229. package/dist/types/models/MCPServerPreferenceWrite.d.ts +6 -0
  230. package/dist/types/models/MCPServerSessionPreferenceWrite.d.ts +7 -0
  231. package/dist/types/models/MCPServerTransportEnum.d.ts +8 -0
  232. package/dist/types/models/MaskedIntegrationCredential.d.ts +25 -0
  233. package/dist/types/models/MaskedLLMCredential.d.ts +10 -0
  234. package/dist/types/models/McpServerConfig.d.ts +17 -0
  235. package/dist/types/models/McpServerConfigTransportEnum.d.ts +8 -0
  236. package/dist/types/models/McpServerCreate.d.ts +8 -0
  237. package/dist/types/models/McpServerEntry.d.ts +8 -0
  238. package/dist/types/models/McpServerListResponse.d.ts +4 -0
  239. package/dist/types/models/MemoryComponentData.d.ts +5 -0
  240. package/dist/types/models/MemoryComponentDataKindEnum.d.ts +10 -0
  241. package/dist/types/models/MemoryComponentMemory.d.ts +4 -0
  242. package/dist/types/models/MemoryComponentMemoryDetail.d.ts +10 -0
  243. package/dist/types/models/MemoryComponentResponse.d.ts +5 -0
  244. package/dist/types/models/MemoryProgress.d.ts +8 -0
  245. package/dist/types/models/MemoryStatusRequestView.d.ts +6 -0
  246. package/dist/types/models/MemoryStatusView.d.ts +34 -0
  247. package/dist/types/models/Mentor.d.ts +299 -0
  248. package/dist/types/models/MentorAudience.d.ts +5 -0
  249. package/dist/types/models/MentorAuditLogEntry.d.ts +47 -0
  250. package/dist/types/models/MentorBreakdown.d.ts +9 -0
  251. package/dist/types/models/MentorCategory.d.ts +9 -0
  252. package/dist/types/models/MentorCategoryCreate.d.ts +11 -0
  253. package/dist/types/models/MentorCategoryGroup.d.ts +11 -0
  254. package/dist/types/models/MentorCategoryGroupCreate.d.ts +11 -0
  255. package/dist/types/models/MentorCreate.d.ts +281 -0
  256. package/dist/types/models/MentorCustomVoice.d.ts +4 -0
  257. package/dist/types/models/MentorCustomVoiceResponse.d.ts +4 -0
  258. package/dist/types/models/MentorData.d.ts +7 -0
  259. package/dist/types/models/MentorDetailAnalytics.d.ts +6 -0
  260. package/dist/types/models/MentorEval.d.ts +11 -0
  261. package/dist/types/models/MentorEvalQuestion.d.ts +5 -0
  262. package/dist/types/models/MentorEvalQuestionRequest.d.ts +4 -0
  263. package/dist/types/models/MentorEvalReport.d.ts +10 -0
  264. package/dist/types/models/MentorEvalRequest.d.ts +8 -0
  265. package/dist/types/models/MentorFacet.d.ts +17 -0
  266. package/dist/types/models/MentorFork.d.ts +5 -0
  267. package/dist/types/models/MentorFromTemplateWithSettingRequest.d.ts +102 -0
  268. package/dist/types/models/MentorFromTemplateWithSettingRequestVoiceProviderEnum.d.ts +10 -0
  269. package/dist/types/models/MentorGraderConfig.d.ts +24 -0
  270. package/dist/types/models/MentorMemorySettingsRequest.d.ts +6 -0
  271. package/dist/types/models/MentorMemorySettingsResponse.d.ts +6 -0
  272. package/dist/types/models/MentorMetadata.d.ts +5 -0
  273. package/dist/types/models/MentorScenario.d.ts +6 -0
  274. package/dist/types/models/MentorScenarioPrompt.d.ts +5 -0
  275. package/dist/types/models/MentorSearchResponse.d.ts +35 -0
  276. package/dist/types/models/MentorSession.d.ts +4 -0
  277. package/dist/types/models/MentorSettings.d.ts +174 -0
  278. package/dist/types/models/MentorSettingsPublic.d.ts +115 -0
  279. package/dist/types/models/MentorSettingsRequest.d.ts +151 -0
  280. package/dist/types/models/MentorSettingsRequestVoiceProviderEnum.d.ts +12 -0
  281. package/dist/types/models/MentorSkillAssignment.d.ts +12 -0
  282. package/dist/types/models/MentorSummary.d.ts +5 -0
  283. package/dist/types/models/MentorType.d.ts +5 -0
  284. package/dist/types/models/MentorUserSetting.d.ts +4 -0
  285. package/dist/types/models/MentorVisibilityEnum.d.ts +10 -0
  286. package/dist/types/models/MentorWizard.d.ts +4 -0
  287. package/dist/types/models/MessageStatistics.d.ts +5 -0
  288. package/dist/types/models/MessageView.d.ts +12 -0
  289. package/dist/types/models/MessageViewRequest.d.ts +19 -0
  290. package/dist/types/models/MessageViewUpdatResponse.d.ts +3 -0
  291. package/dist/types/models/Metadata.d.ts +5 -0
  292. package/dist/types/models/MetricChange.d.ts +4 -0
  293. package/dist/types/models/MetricInfo.d.ts +5 -0
  294. package/dist/types/models/ModalityEnum.d.ts +10 -0
  295. package/dist/types/models/ModelCost.d.ts +4 -0
  296. package/dist/types/models/ModerationLog.d.ts +21 -0
  297. package/dist/types/models/NestedArtifact.d.ts +61 -0
  298. package/dist/types/models/NewUserSpendCapDefault.d.ts +19 -0
  299. package/dist/types/models/NoChatMessagesFound.d.ts +3 -0
  300. package/dist/types/models/OAuthProvider.d.ts +24 -0
  301. package/dist/types/models/OAuthService.d.ts +18 -0
  302. package/dist/types/models/OAuthStartResponse.d.ts +3 -0
  303. package/dist/types/models/OauthCredentialsMasked.d.ts +10 -0
  304. package/dist/types/models/Observation.d.ts +31 -0
  305. package/dist/types/models/OfflineDocument.d.ts +19 -0
  306. package/dist/types/models/OverrideStatusEnum.d.ts +10 -0
  307. package/dist/types/models/OvertimeData.d.ts +13 -0
  308. package/dist/types/models/PageContent.d.ts +6 -0
  309. package/dist/types/models/PaginatedAIGeneratedImageList.d.ts +7 -0
  310. package/dist/types/models/PaginatedAgentChannels.d.ts +7 -0
  311. package/dist/types/models/PaginatedAgentSkillList.d.ts +7 -0
  312. package/dist/types/models/PaginatedAgentSkillResourceList.d.ts +7 -0
  313. package/dist/types/models/PaginatedArtifactListList.d.ts +7 -0
  314. package/dist/types/models/PaginatedArtifactVersionList.d.ts +7 -0
  315. package/dist/types/models/PaginatedChannelAllowEntries.d.ts +7 -0
  316. package/dist/types/models/PaginatedChannelCatalog.d.ts +7 -0
  317. package/dist/types/models/PaginatedChannelCredentials.d.ts +7 -0
  318. package/dist/types/models/PaginatedChannelIdentities.d.ts +7 -0
  319. package/dist/types/models/PaginatedChannelPairingRequests.d.ts +7 -0
  320. package/dist/types/models/PaginatedChatRunTrackerList.d.ts +7 -0
  321. package/dist/types/models/PaginatedChatSessionActivityList.d.ts +6 -0
  322. package/dist/types/models/PaginatedClawInstanceList.d.ts +7 -0
  323. package/dist/types/models/PaginatedClawModelProviderList.d.ts +7 -0
  324. package/dist/types/models/PaginatedConversationsList.d.ts +7 -0
  325. package/dist/types/models/PaginatedCourseCreationTaskFileList.d.ts +7 -0
  326. package/dist/types/models/PaginatedCourseCreationTaskList.d.ts +7 -0
  327. package/dist/types/models/PaginatedDatasetItemList.d.ts +7 -0
  328. package/dist/types/models/PaginatedDatasetList.d.ts +7 -0
  329. package/dist/types/models/PaginatedDisclaimerAgreementList.d.ts +7 -0
  330. package/dist/types/models/PaginatedDisclaimerList.d.ts +7 -0
  331. package/dist/types/models/PaginatedEdxCourseList.d.ts +7 -0
  332. package/dist/types/models/PaginatedEmailPromptListList.d.ts +7 -0
  333. package/dist/types/models/PaginatedGradeResultList.d.ts +7 -0
  334. package/dist/types/models/PaginatedGraderCriterionList.d.ts +7 -0
  335. package/dist/types/models/PaginatedHeygenMarketingVideoListList.d.ts +7 -0
  336. package/dist/types/models/PaginatedHeygenTemplateResponseSingleList.d.ts +7 -0
  337. package/dist/types/models/PaginatedHumanSupportTicketList.d.ts +7 -0
  338. package/dist/types/models/PaginatedJobRunList.d.ts +7 -0
  339. package/dist/types/models/PaginatedJudgeList.d.ts +7 -0
  340. package/dist/types/models/PaginatedMCPServerConnectionList.d.ts +7 -0
  341. package/dist/types/models/PaginatedMCPServerList.d.ts +7 -0
  342. package/dist/types/models/PaginatedMentorAuditLogEntryList.d.ts +7 -0
  343. package/dist/types/models/PaginatedMentorList.d.ts +7 -0
  344. package/dist/types/models/PaginatedMentorSkillAssignmentList.d.ts +7 -0
  345. package/dist/types/models/PaginatedModerationLogList.d.ts +7 -0
  346. package/dist/types/models/PaginatedObservationList.d.ts +7 -0
  347. package/dist/types/models/PaginatedOfflineDocumentList.d.ts +7 -0
  348. package/dist/types/models/PaginatedPeriodicAgentList.d.ts +7 -0
  349. package/dist/types/models/PaginatedPeriodicAgentLogList.d.ts +7 -0
  350. package/dist/types/models/PaginatedPrivacyFlagList.d.ts +7 -0
  351. package/dist/types/models/PaginatedProjectList.d.ts +7 -0
  352. package/dist/types/models/PaginatedRetrieverDocumentEmbeddingList.d.ts +7 -0
  353. package/dist/types/models/PaginatedRunList.d.ts +7 -0
  354. package/dist/types/models/PaginatedScoreConfigList.d.ts +7 -0
  355. package/dist/types/models/PaginatedTicketMessageList.d.ts +7 -0
  356. package/dist/types/models/PaginatedTopicStatisticsResponse.d.ts +7 -0
  357. package/dist/types/models/PaginatedTraceList.d.ts +7 -0
  358. package/dist/types/models/PaginatedUserEdxMemoryList.d.ts +7 -0
  359. package/dist/types/models/PaginatedVeoVideoListList.d.ts +7 -0
  360. package/dist/types/models/PaginatedVoiceList.d.ts +7 -0
  361. package/dist/types/models/PaginatedWorkflowList.d.ts +7 -0
  362. package/dist/types/models/Pagination.d.ts +16 -11
  363. package/dist/types/models/PatchedAgentChannelUpdate.d.ts +26 -0
  364. package/dist/types/models/PatchedAgentSkill.d.ts +35 -0
  365. package/dist/types/models/PatchedAgentSkillResource.d.ts +17 -0
  366. package/dist/types/models/PatchedArtifact.d.ts +78 -0
  367. package/dist/types/models/PatchedCallConfiguration.d.ts +38 -0
  368. package/dist/types/models/PatchedChannelCredentialUpdate.d.ts +11 -0
  369. package/dist/types/models/PatchedClawConfigPatchRequest.d.ts +14 -0
  370. package/dist/types/models/PatchedClawInstance.d.ts +51 -0
  371. package/dist/types/models/PatchedClawMentorConfig.d.ts +27 -0
  372. package/dist/types/models/PatchedClawModelProvider.d.ts +40 -0
  373. package/dist/types/models/PatchedConversations.d.ts +115 -0
  374. package/dist/types/models/PatchedCourseCreationTaskFile.d.ts +7 -0
  375. package/dist/types/models/PatchedCredentialRequest.d.ts +14 -0
  376. package/dist/types/models/PatchedCronJobPatch.d.ts +24 -0
  377. package/dist/types/models/PatchedDisclaimer.d.ts +17 -0
  378. package/dist/types/models/PatchedFallbackLLMUpdate.d.ts +33 -0
  379. package/dist/types/models/PatchedGradeResultOverride.d.ts +15 -0
  380. package/dist/types/models/PatchedGraderCriterion.d.ts +15 -0
  381. package/dist/types/models/PatchedHumanSupportTicket.d.ts +23 -0
  382. package/dist/types/models/PatchedLLMCredentialRequest.d.ts +14 -0
  383. package/dist/types/models/PatchedMCPServer.d.ts +82 -0
  384. package/dist/types/models/PatchedMCPServerConnection.d.ts +43 -0
  385. package/dist/types/models/PatchedMcpServerUpdate.d.ts +8 -0
  386. package/dist/types/models/PatchedMentorCategoryGroupCreate.d.ts +11 -0
  387. package/dist/types/models/PatchedMentorCreate.d.ts +281 -0
  388. package/dist/types/models/PatchedMentorGraderConfig.d.ts +24 -0
  389. package/dist/types/models/PatchedMentorSkillAssignment.d.ts +12 -0
  390. package/dist/types/models/PatchedPeriodicAgentCreate.d.ts +69 -0
  391. package/dist/types/models/PatchedPlacementAssessmentUpdate.d.ts +2 -2
  392. package/dist/types/models/PatchedPlatformApplicationNote.d.ts +2 -2
  393. package/dist/types/models/PatchedProject.d.ts +53 -0
  394. package/dist/types/models/PatchedPrompt.d.ts +22 -0
  395. package/dist/types/models/PatchedTenantChatPrivacyConfig.d.ts +11 -0
  396. package/dist/types/models/PatchedTicketMessage.d.ts +10 -0
  397. package/dist/types/models/PatchedUserMentorMemoryUpdate.d.ts +7 -0
  398. package/dist/types/models/PatchedWorkflow.d.ts +65 -0
  399. package/dist/types/models/PeriodInfo.d.ts +21 -0
  400. package/dist/types/models/PeriodicAgent.d.ts +70 -0
  401. package/dist/types/models/PeriodicAgentCreate.d.ts +69 -0
  402. package/dist/types/models/PeriodicAgentLog.d.ts +11 -0
  403. package/dist/types/models/PeriodicAgentLogStatusEnum.d.ts +10 -0
  404. package/dist/types/models/PeriodicAgentStatistics.d.ts +7 -0
  405. package/dist/types/models/PeriodicTask.d.ts +21 -0
  406. package/dist/types/models/PhiActionEnum.d.ts +12 -0
  407. package/dist/types/models/PieChartData.d.ts +5 -0
  408. package/dist/types/models/PieChartSegment.d.ts +4 -0
  409. package/dist/types/models/PinnedMessageCreate.d.ts +9 -0
  410. package/dist/types/models/PinnedMessageRequest.d.ts +6 -0
  411. package/dist/types/models/PlacementAssessment.d.ts +2 -2
  412. package/dist/types/models/PlatformApplicationNote.d.ts +2 -2
  413. package/dist/types/models/{KindEnum.d.ts → PlatformApplicationNoteKindEnum.d.ts} +1 -1
  414. package/dist/types/models/PlatformPrompt.d.ts +34 -0
  415. package/dist/types/models/PlatformPromptResponse.d.ts +16 -0
  416. package/dist/types/models/PredictiveAnalyticsRequest.d.ts +4 -0
  417. package/dist/types/models/PredictiveAnalyticsResponse.d.ts +4 -0
  418. package/dist/types/models/PreviousAgentStatusEnum.d.ts +12 -0
  419. package/dist/types/models/PrivacyActionEnum.d.ts +12 -0
  420. package/dist/types/models/PrivacyFlag.d.ts +35 -0
  421. package/dist/types/models/PrivacyFlagSourceEnum.d.ts +16 -0
  422. package/dist/types/models/Project.d.ts +53 -0
  423. package/dist/types/models/ProjectMentor.d.ts +11 -0
  424. package/dist/types/models/Prompt.d.ts +22 -0
  425. package/dist/types/models/PromptCategory.d.ts +7 -0
  426. package/dist/types/models/PromptFacet.d.ts +17 -0
  427. package/dist/types/models/PromptSearchResponse.d.ts +35 -0
  428. package/dist/types/models/PromptVisibilityEnum.d.ts +10 -0
  429. package/dist/types/models/ProviderBreakdown.d.ts +8 -0
  430. package/dist/types/models/ProviderEnum.d.ts +14 -0
  431. package/dist/types/models/ProvisionModeEnum.d.ts +8 -0
  432. package/dist/types/models/QuestionCardTag.d.ts +8 -0
  433. package/dist/types/models/QuestionRequest.d.ts +15 -0
  434. package/dist/types/models/QuestionResponse.d.ts +10 -0
  435. package/dist/types/models/RailEnum.d.ts +8 -0
  436. package/dist/types/models/RatingAverageRecord.d.ts +10 -0
  437. package/dist/types/models/RatingEnum.d.ts +8 -0
  438. package/dist/types/models/RatingRecord.d.ts +4 -0
  439. package/dist/types/models/RatingsOvertime.d.ts +5 -0
  440. package/dist/types/models/RecentlyAccessedMentor.d.ts +11 -0
  441. package/dist/types/models/RecommendationTypeEnum.d.ts +8 -0
  442. package/dist/types/models/RecommendedCoursesResponse.d.ts +33 -0
  443. package/dist/types/models/RelatedText.d.ts +3 -0
  444. package/dist/types/models/RemoveMentorFromDisclaimer.d.ts +12 -0
  445. package/dist/types/models/ReorderChildren.d.ts +13 -0
  446. package/dist/types/models/RequestDataVariable.d.ts +14 -0
  447. package/dist/types/models/ResourceScrappedData.d.ts +13 -0
  448. package/dist/types/models/ResourceScrappedDataStatusEnum.d.ts +12 -0
  449. package/dist/types/models/ResponseDataVariable.d.ts +14 -0
  450. package/dist/types/models/RetreiverTrainViewRequest.d.ts +10 -0
  451. package/dist/types/models/RetreiverTrainViewResponse.d.ts +6 -0
  452. package/dist/types/models/RetrieveTask.d.ts +3 -0
  453. package/dist/types/models/RetrieverDocumentEmbedding.d.ts +42 -0
  454. package/dist/types/models/RetrieverDocumentEmbeddingRequest.d.ts +70 -0
  455. package/dist/types/models/RetrieverRequestSearch.d.ts +10 -0
  456. package/dist/types/models/RetrieverRequestSearchDocument.d.ts +10 -0
  457. package/dist/types/models/RetrieverResponseSearch.d.ts +7 -0
  458. package/dist/types/models/ReuestDataVariableList.d.ts +4 -0
  459. package/dist/types/models/Run.d.ts +26 -0
  460. package/dist/types/models/RunDetailResponse.d.ts +21 -0
  461. package/dist/types/models/RunMentorEval.d.ts +3 -0
  462. package/dist/types/models/ScanWebhookRequest.d.ts +6 -0
  463. package/dist/types/models/ScanWebhookResponse.d.ts +3 -0
  464. package/dist/types/models/ScopeC1dEnum.d.ts +8 -0
  465. package/dist/types/models/Score.d.ts +18 -0
  466. package/dist/types/models/ScoreConfig.d.ts +12 -0
  467. package/dist/types/models/ScoreConfigCategory.d.ts +7 -0
  468. package/dist/types/models/ScoreConfigCreate.d.ts +13 -0
  469. package/dist/types/models/ScoreCreate.d.ts +14 -0
  470. package/dist/types/models/ScoreCreateResponse.d.ts +9 -0
  471. package/dist/types/models/ScoreListResponse.d.ts +14 -0
  472. package/dist/types/models/SeedMentorsView.d.ts +3 -0
  473. package/dist/types/models/Segment.d.ts +5 -0
  474. package/dist/types/models/SellableItem.d.ts +14 -0
  475. package/dist/types/models/SellableItemPaywall.d.ts +9 -0
  476. package/dist/types/models/SellableItemsResponse.d.ts +13 -0
  477. package/dist/types/models/SentimentSummary.d.ts +4 -0
  478. package/dist/types/models/ServiceTypeEnum.d.ts +10 -0
  479. package/dist/types/models/SessionBrowserScreenshot.d.ts +8 -0
  480. package/dist/types/models/SessionChartPoint.d.ts +4 -0
  481. package/dist/types/models/SessionDetail.d.ts +6 -0
  482. package/dist/types/models/SessionDisableChathistoryRequest.d.ts +9 -0
  483. package/dist/types/models/SessionDisableChathistoryResponse.d.ts +7 -0
  484. package/dist/types/models/SessionMemoryStorage.d.ts +6 -0
  485. package/dist/types/models/SessionSummary.d.ts +15 -0
  486. package/dist/types/models/SessionSummaryMentor.d.ts +6 -0
  487. package/dist/types/models/SessionsChart.d.ts +5 -0
  488. package/dist/types/models/SetCurrentVersionRequest.d.ts +3 -0
  489. package/dist/types/models/ShareableMentorLink.d.ts +8 -0
  490. package/dist/types/models/SharedSessionUpdateRequest.d.ts +3 -0
  491. package/dist/types/models/SharedSessionUpdateResponse.d.ts +3 -0
  492. package/dist/types/models/SharedSystemPromptConsumer.d.ts +9 -0
  493. package/dist/types/models/SharedSystemPromptRequest.d.ts +10 -0
  494. package/dist/types/models/SharedSystemPromptResponse.d.ts +6 -0
  495. package/dist/types/models/SharedSystemPromptTarget.d.ts +10 -0
  496. package/dist/types/models/ShellLogs.d.ts +3 -0
  497. package/dist/types/models/SkillTypeEnum.d.ts +8 -0
  498. package/dist/types/models/{SourceEnum.d.ts → SourceBf5Enum.d.ts} +1 -1
  499. package/dist/types/models/SpacedRepetitionLearningPath.d.ts +3 -0
  500. package/dist/types/models/SpacedRepetitionQuestionStats.d.ts +5 -0
  501. package/dist/types/models/SpendCap.d.ts +37 -0
  502. package/dist/types/models/SpendCapScopeEnum.d.ts +12 -0
  503. package/dist/types/models/SpendCapStatusItem.d.ts +13 -0
  504. package/dist/types/models/SpendCapStatusSummary.d.ts +17 -0
  505. package/dist/types/models/SpendCapStatusSummaryStatusEnum.d.ts +10 -0
  506. package/dist/types/models/StarMentor.d.ts +11 -0
  507. package/dist/types/models/StarterPrompts693Enum.d.ts +12 -0
  508. package/dist/types/models/StarterPromptsDd8Enum.d.ts +12 -0
  509. package/dist/types/models/Status869Enum.d.ts +10 -0
  510. package/dist/types/models/Step.d.ts +9 -0
  511. package/dist/types/models/StepStatusEnum.d.ts +10 -0
  512. package/dist/types/models/StopGenerationRequest.d.ts +9 -0
  513. package/dist/types/models/StripeCheckoutSessionCreate.d.ts +10 -0
  514. package/dist/types/models/StripeCheckoutSessionCreateModeEnum.d.ts +10 -0
  515. package/dist/types/models/StripeConnectStart.d.ts +3 -0
  516. package/dist/types/models/StripeConnectStartResponse.d.ts +3 -0
  517. package/dist/types/models/StripeConnectedAccount.d.ts +36 -0
  518. package/dist/types/models/StripeConnectedAccountSourceEnum.d.ts +8 -0
  519. package/dist/types/models/StripeCustomerCreate.d.ts +8 -0
  520. package/dist/types/models/StripePaymentLinkCreate.d.ts +6 -0
  521. package/dist/types/models/StripePaywallAccessResponse.d.ts +9 -0
  522. package/dist/types/models/StripePaywallCheckout.d.ts +9 -0
  523. package/dist/types/models/StripePaywallCheckoutResponse.d.ts +19 -0
  524. package/dist/types/models/StripePriceCreate.d.ts +10 -0
  525. package/dist/types/models/StripeProductCreate.d.ts +9 -0
  526. package/dist/types/models/SttProviderEnum.d.ts +14 -0
  527. package/dist/types/models/StudentChatMessage.d.ts +9 -0
  528. package/dist/types/models/StylesView.d.ts +4 -0
  529. package/dist/types/models/Subject.d.ts +5 -0
  530. package/dist/types/models/Summary.d.ts +9 -0
  531. package/dist/types/models/TagsView.d.ts +5 -0
  532. package/dist/types/models/TargetSystemEnum.d.ts +12 -0
  533. package/dist/types/models/TaskModeEnum.d.ts +8 -0
  534. package/dist/types/models/TaskTypeEnum.d.ts +8 -0
  535. package/dist/types/models/TaskView.d.ts +3 -0
  536. package/dist/types/models/TemplateMentor.d.ts +9 -0
  537. package/dist/types/models/TenantChatPrivacyConfig.d.ts +11 -0
  538. package/dist/types/models/TenantMentorTraces.d.ts +6 -0
  539. package/dist/types/models/ThemeEnum.d.ts +8 -0
  540. package/dist/types/models/TicketMessage.d.ts +10 -0
  541. package/dist/types/models/TokenEndpointAuthMethodEnum.d.ts +10 -0
  542. package/dist/types/models/TonesView.d.ts +4 -0
  543. package/dist/types/models/ToolCategory.d.ts +5 -0
  544. package/dist/types/models/ToolResponse.d.ts +17 -0
  545. package/dist/types/models/TopicDetail.d.ts +8 -0
  546. package/dist/types/models/TopicDetails.d.ts +5 -0
  547. package/dist/types/models/TopicModel.d.ts +3 -0
  548. package/dist/types/models/TopicRecord.d.ts +4 -0
  549. package/dist/types/models/TopicStatistics.d.ts +7 -0
  550. package/dist/types/models/TopicStatisticsResponse.d.ts +6 -0
  551. package/dist/types/models/TopicSummaryView.d.ts +4 -0
  552. package/dist/types/models/TopicsOverview.d.ts +30 -0
  553. package/dist/types/models/TopicsOverviewMetric.d.ts +33 -0
  554. package/dist/types/models/Trace.d.ts +17 -0
  555. package/dist/types/models/TrainDocumentViewRequest.d.ts +90 -0
  556. package/dist/types/models/TrainDocumentViewResponse.d.ts +15 -0
  557. package/dist/types/models/TrainingStatusEnum.d.ts +12 -0
  558. package/dist/types/models/Transport755Enum.d.ts +6 -0
  559. package/dist/types/models/TrendEntry.d.ts +4 -0
  560. package/dist/types/models/TriggerRequest.d.ts +5 -0
  561. package/dist/types/models/TriggerResponse.d.ts +6 -0
  562. package/dist/types/models/TtsProviderEnum.d.ts +12 -0
  563. package/dist/types/models/UiModeEnum.d.ts +8 -0
  564. package/dist/types/models/UpdateXblock.d.ts +17 -0
  565. package/dist/types/models/UseMainCreds.d.ts +3 -0
  566. package/dist/types/models/UserAllChatMemoryView.d.ts +35 -0
  567. package/dist/types/models/UserCatalogItemMemoryView.d.ts +16 -0
  568. package/dist/types/models/UserChatByPeriod.d.ts +4 -0
  569. package/dist/types/models/UserChatFeedback.d.ts +24 -0
  570. package/dist/types/models/UserChatFeedbackByMessage.d.ts +23 -0
  571. package/dist/types/models/UserChatFeedbackCount.d.ts +4 -0
  572. package/dist/types/models/UserChatFeedbackCreateRequest.d.ts +3 -0
  573. package/dist/types/models/UserChatFeedbackUpdate.d.ts +20 -0
  574. package/dist/types/models/UserChatHistoryFilterData.d.ts +10 -0
  575. package/dist/types/models/UserChatMemoryStatusRequestView.d.ts +6 -0
  576. package/dist/types/models/UserChatMemoryStatusView.d.ts +34 -0
  577. package/dist/types/models/UserChatMemoryUpdateView.d.ts +10 -0
  578. package/dist/types/models/UserChatPrivacySettings.d.ts +18 -0
  579. package/dist/types/models/UserCountRecord.d.ts +4 -0
  580. package/dist/types/models/UserDefaultMentor.d.ts +19 -0
  581. package/dist/types/models/UserDetail.d.ts +8 -0
  582. package/dist/types/models/UserEdxMemory.d.ts +17 -0
  583. package/dist/types/models/UserMemoryContextRequest.d.ts +13 -0
  584. package/dist/types/models/UserMemoryContextResponse.d.ts +40 -0
  585. package/dist/types/models/UserMentorMemoryCreate.d.ts +7 -0
  586. package/dist/types/models/UserMetric.d.ts +4 -0
  587. package/dist/types/models/UserMetricsResponse.d.ts +7 -0
  588. package/dist/types/models/UserReportListResponse.d.ts +6 -0
  589. package/dist/types/models/UserSentimentCountView.d.ts +4 -0
  590. package/dist/types/models/UserTrendByPeriod.d.ts +5 -0
  591. package/dist/types/models/V2GlobalMentorSearchResponse.d.ts +29 -0
  592. package/dist/types/models/V2PersonalizedMentorsResponse.d.ts +29 -0
  593. package/dist/types/models/V2RecommendationResponse.d.ts +65 -0
  594. package/dist/types/models/VectorResult.d.ts +10 -0
  595. package/dist/types/models/VeoVideoDetail.d.ts +10 -0
  596. package/dist/types/models/VeoVideoList.d.ts +6 -0
  597. package/dist/types/models/VeoVideoRequest.d.ts +5 -0
  598. package/dist/types/models/VersionNestedArtifact.d.ts +62 -0
  599. package/dist/types/models/VideoCaption.d.ts +3 -0
  600. package/dist/types/models/VirtualMachineEgressEnum.d.ts +12 -0
  601. package/dist/types/models/Voice.d.ts +9 -0
  602. package/dist/types/models/VoiceProviderEefEnum.d.ts +12 -0
  603. package/dist/types/models/WakeModeEnum.d.ts +8 -0
  604. package/dist/types/models/WakeRequest.d.ts +8 -0
  605. package/dist/types/models/WakeResponse.d.ts +14 -0
  606. package/dist/types/models/WebResource.d.ts +9 -0
  607. package/dist/types/models/WebResourceCard.d.ts +7 -0
  608. package/dist/types/models/WebResourcesQuery.d.ts +3 -0
  609. package/dist/types/models/WelcomeHeadingStyle5edEnum.d.ts +8 -0
  610. package/dist/types/models/WelcomeHeadingStyleFafEnum.d.ts +8 -0
  611. package/dist/types/models/Workflow.d.ts +65 -0
  612. package/dist/types/models/XblockResult.d.ts +9 -0
  613. package/dist/types/models/XblockTypeEnum.d.ts +16 -0
  614. package/dist/types/services/AiAccountService.d.ts +1021 -0
  615. package/dist/types/services/AiAnalyticsService.d.ts +5599 -238
  616. package/dist/types/services/AiIndexService.d.ts +355 -0
  617. package/dist/types/services/AiMarketingService.d.ts +38 -0
  618. package/dist/types/services/AiMediaService.d.ts +247 -0
  619. package/dist/types/services/AiMentorService.d.ts +12002 -0
  620. package/dist/types/services/AiPromptService.d.ts +978 -0
  621. package/dist/types/services/AiProxyService.d.ts +37 -0
  622. package/dist/types/services/AiSearchService.d.ts +819 -0
  623. package/dist/types/services/AnalyticsService.d.ts +749 -4
  624. package/dist/types/services/IntegrationCredentialsService.d.ts +30 -0
  625. package/dist/types/services/SearchService.d.ts +1117 -72
  626. package/dist/types/services/V1AgentsService.d.ts +423 -0
  627. package/dist/types/services/V1AnalyticsService.d.ts +1319 -0
  628. package/dist/types/services/V1AuditLogsService.d.ts +46 -0
  629. package/dist/types/services/V1ChannelsService.d.ts +198 -0
  630. package/dist/types/services/V1ChatService.d.ts +23 -0
  631. package/dist/types/services/V1ConfigurationsService.d.ts +41 -0
  632. package/dist/types/services/V1DisclaimersService.d.ts +314 -0
  633. package/dist/types/services/V1FeaturesService.d.ts +20 -0
  634. package/dist/types/services/V1LlmsService.d.ts +45 -0
  635. package/dist/types/services/V1MemsearchStatusService.d.ts +15 -0
  636. package/dist/types/services/V1NotificationsService.d.ts +81 -0
  637. package/dist/types/services/V1OrganizationService.d.ts +27 -0
  638. package/dist/types/services/V1ProjectsService.d.ts +160 -0
  639. package/dist/types/services/V1RbacService.d.ts +10 -0
  640. package/dist/types/services/V1SessionsService.d.ts +271 -0
  641. package/package.json +1 -1
  642. package/sdk_schema.yml +103552 -37994
  643. package/src/core/OpenAPI.ts +1 -1
  644. package/src/index.ts +624 -2
  645. package/src/models/AIGeneratedImage.ts +25 -0
  646. package/src/models/AIUserProfileMemoryRelation.ts +9 -0
  647. package/src/models/AIUserProfileRequest.ts +9 -0
  648. package/src/models/AccessEnum.ts +12 -0
  649. package/src/models/AccessTimesHeatmap.ts +10 -0
  650. package/src/models/AccessibleMentorsByEmailRequest.ts +18 -0
  651. package/src/models/AccessibleMentorsByEmailResponse.ts +18 -0
  652. package/src/models/ActionBreakdown.ts +15 -0
  653. package/src/models/ActionTakenEnum.ts +16 -0
  654. package/src/models/AddMentorToDisclaimer.ts +17 -0
  655. package/src/models/AdminIntegrationCredential.ts +22 -0
  656. package/src/models/AgentChannel.ts +31 -0
  657. package/src/models/AgentChannelCreate.ts +29 -0
  658. package/src/models/AgentChannelTransportEnum.ts +12 -0
  659. package/src/models/AgentSkill.ts +40 -0
  660. package/src/models/AgentSkillResource.ts +22 -0
  661. package/src/models/AlignMentorBubbleEnum.ts +12 -0
  662. package/src/models/AnalyticsOverview.ts +12 -0
  663. package/src/models/Answer.ts +16 -0
  664. package/src/models/Artifact.ts +83 -0
  665. package/src/models/ArtifactList.ts +61 -0
  666. package/src/models/ArtifactVersion.ts +68 -0
  667. package/src/models/AssumedKnowledge.ts +9 -0
  668. package/src/models/AssumedKnowledgeLevel.ts +9 -0
  669. package/src/models/AudioToTextRequest.ts +20 -0
  670. package/src/models/AudioToTextResponse.ts +8 -0
  671. package/src/models/AuthModeEnum.ts +16 -0
  672. package/src/models/AuthScopeEnum.ts +14 -0
  673. package/src/models/AuthTypeEnum.ts +14 -0
  674. package/src/models/BaseFinanceResponse.ts +42 -0
  675. package/src/models/BillingPeriod.ts +13 -0
  676. package/src/models/Breakdown.ts +16 -0
  677. package/src/models/CallAuthenticationRequest.ts +22 -0
  678. package/src/models/CallAuthenticationResponse.ts +26 -0
  679. package/src/models/CallConfiguration.ts +43 -0
  680. package/src/models/CallConfigurationModeEnum.ts +12 -0
  681. package/src/models/ChannelAllowEntry.ts +13 -0
  682. package/src/models/ChannelAllowEntryCreate.ts +11 -0
  683. package/src/models/ChannelAllowEntrySourceEnum.ts +14 -0
  684. package/src/models/ChannelCatalogEntry.ts +21 -0
  685. package/src/models/ChannelCredential.ts +27 -0
  686. package/src/models/ChannelCredentialCreate.ts +11 -0
  687. package/src/models/ChannelEnum.ts +22 -0
  688. package/src/models/ChannelIdentity.ts +15 -0
  689. package/src/models/ChannelIdentityPreview.ts +17 -0
  690. package/src/models/ChannelIdentityRedeem.ts +11 -0
  691. package/src/models/ChannelPairingRequest.ts +14 -0
  692. package/src/models/ChannelPairingRequestStatusEnum.ts +16 -0
  693. package/src/models/ChatCompletionRequest.ts +32 -0
  694. package/src/models/ChatHistory.ts +25 -0
  695. package/src/models/ChatHistoryFilterData.ts +14 -0
  696. package/src/models/ChatHistoryFilterUser.ts +11 -0
  697. package/src/models/ChatHistoryItem.ts +11 -0
  698. package/src/models/ChatHistorySessionId.ts +8 -0
  699. package/src/models/ChatPrivacyModeEnum.ts +14 -0
  700. package/src/models/ChatRunTracker.ts +48 -0
  701. package/src/models/ChatRunTrackerStatusEnum.ts +14 -0
  702. package/src/models/ChatSessionActivity.ts +20 -0
  703. package/src/models/ChatSessionRequest.ts +34 -0
  704. package/src/models/ChatSessionResponse.ts +29 -0
  705. package/src/models/CheckDocumentTrainingStatus.ts +15 -0
  706. package/src/models/ClassifierTestRequest.ts +13 -0
  707. package/src/models/ClassifierTestResponse.ts +14 -0
  708. package/src/models/ClawConfigGetResponse.ts +24 -0
  709. package/src/models/ClawInstance.ts +56 -0
  710. package/src/models/ClawInstanceStatusEnum.ts +14 -0
  711. package/src/models/ClawMentorConfig.ts +32 -0
  712. package/src/models/ClawModelProvider.ts +45 -0
  713. package/src/models/ClawRpcError.ts +12 -0
  714. package/src/models/ClawTypeEnum.ts +14 -0
  715. package/src/models/ComparisonInfo.ts +34 -0
  716. package/src/models/ConnectedService.ts +35 -0
  717. package/src/models/ConversationChartPoint.ts +9 -0
  718. package/src/models/ConversationDetailResponse.ts +9 -0
  719. package/src/models/ConversationListItem.ts +40 -0
  720. package/src/models/ConversationListResponse.ts +11 -0
  721. package/src/models/ConversationMessage.ts +18 -0
  722. package/src/models/ConversationRating.ts +11 -0
  723. package/src/models/ConversationSummary.ts +10 -0
  724. package/src/models/ConversationVolume.ts +9 -0
  725. package/src/models/Conversations.ts +120 -0
  726. package/src/models/ConversationsChart.ts +10 -0
  727. package/src/models/Cost.ts +8 -0
  728. package/src/models/CostPerTenant.ts +11 -0
  729. package/src/models/CourseCreationTask.ts +43 -0
  730. package/src/models/CourseCreationTaskFile.ts +12 -0
  731. package/src/models/CourseCreationTaskStatusEnum.ts +20 -0
  732. package/src/models/CourseRecommendation.ts +54 -0
  733. package/src/models/CrawlerPatternTypeEnum.ts +12 -0
  734. package/src/models/CreateXblock.ts +42 -0
  735. package/src/models/CredentialRequest.ts +19 -0
  736. package/src/models/CronDelivery.ts +17 -0
  737. package/src/models/CronDeliveryModeEnum.ts +14 -0
  738. package/src/models/CronJobCreate.ts +27 -0
  739. package/src/models/CronJobListResponse.ts +15 -0
  740. package/src/models/CronJobResponse.ts +33 -0
  741. package/src/models/CronPayload.ts +24 -0
  742. package/src/models/CronPayloadKindEnum.ts +12 -0
  743. package/src/models/CronRunAction.ts +12 -0
  744. package/src/models/CronRunActionModeEnum.ts +12 -0
  745. package/src/models/CronRunLogEntry.ts +30 -0
  746. package/src/models/CronRunLogEntryStatusEnum.ts +14 -0
  747. package/src/models/CronRunResult.ts +13 -0
  748. package/src/models/CronRunsResponse.ts +15 -0
  749. package/src/models/CronSchedule.ts +22 -0
  750. package/src/models/CronScheduleKindEnum.ts +14 -0
  751. package/src/models/CronStatusResponse.ts +19 -0
  752. package/src/models/CrontabSchedule.ts +27 -0
  753. package/src/models/CurrentUsersResponse.ts +23 -0
  754. package/src/models/CustomInstructionResponse.ts +18 -0
  755. package/src/models/DataTypeEnum.ts +14 -0
  756. package/src/models/Dataset.ts +18 -0
  757. package/src/models/DatasetCreate.ts +13 -0
  758. package/src/models/DatasetItem.ts +25 -0
  759. package/src/models/DatasetItemBulkCreateResponse.ts +10 -0
  760. package/src/models/DatasetItemCreate.ts +15 -0
  761. package/src/models/DatasetItemInput.ts +12 -0
  762. package/src/models/DatasetItemUpdate.ts +15 -0
  763. package/src/models/DatasetItemUpdateStatusEnum.ts +12 -0
  764. package/src/models/DatasetRunItem.ts +21 -0
  765. package/src/models/DateRange.ts +9 -0
  766. package/src/models/DeleteXblock.ts +14 -0
  767. package/src/models/DeliveryStatusEnum.ts +16 -0
  768. package/src/models/DeployStateEnum.ts +18 -0
  769. package/src/models/Disclaimer.ts +22 -0
  770. package/src/models/DisclaimerAgreement.ts +18 -0
  771. package/src/models/DisclaimerScopeEnum.ts +12 -0
  772. package/src/models/DmPolicyEnum.ts +14 -0
  773. package/src/models/Document.ts +46 -0
  774. package/src/models/DocumentFacet.ts +22 -0
  775. package/src/models/DocumentFromPoolRequest.ts +15 -0
  776. package/src/models/DocumentSearchResponse.ts +40 -0
  777. package/src/models/DocumentSettingsResponse.ts +8 -0
  778. package/src/models/DomainAttach.ts +19 -0
  779. package/src/models/EdxCourse.ts +17 -0
  780. package/src/models/EffectiveDmPolicyEnum.ts +14 -0
  781. package/src/models/ElevenlabsCustomVoice.ts +9 -0
  782. package/src/models/ElevenlabsCustomVoiceResponse.ts +15 -0
  783. package/src/models/EmailPromptDetail.ts +18 -0
  784. package/src/models/EmailPromptList.ts +16 -0
  785. package/src/models/EmailPromptSummary.ts +10 -0
  786. package/src/models/EnforcementEnum.ts +12 -0
  787. package/src/models/Entity.ts +18 -0
  788. package/src/models/EntityTypeEnum.ts +14 -0
  789. package/src/models/Error.ts +8 -0
  790. package/src/models/ExperimentCreate.ts +13 -0
  791. package/src/models/ExternalProxyInvoke.ts +24 -0
  792. package/src/models/ExternalProxyServiceDetail.ts +28 -0
  793. package/src/models/ExternalProxyServiceList.ts +19 -0
  794. package/src/models/ExternalServiceInfo.ts +11 -0
  795. package/src/models/FailureCategoryEnum.ts +32 -0
  796. package/src/models/FallbackLLM.ts +52 -0
  797. package/src/models/FallbackLLMCreate.ts +42 -0
  798. package/src/models/FallbackLLMUpdate.ts +38 -0
  799. package/src/models/FeedbackModeEnum.ts +14 -0
  800. package/src/models/FileTypeEnum.ts +14 -0
  801. package/src/models/FileUploadURLRequest.ts +26 -0
  802. package/src/models/FileUploadURLResponse.ts +30 -0
  803. package/src/models/FinanceDetailsResponse.ts +18 -0
  804. package/src/models/FinanceFilters.ts +20 -0
  805. package/src/models/FreeUsageCount.ts +8 -0
  806. package/src/models/GradeResult.ts +47 -0
  807. package/src/models/GradeResultDetail.ts +76 -0
  808. package/src/models/GradeResultMentor.ts +9 -0
  809. package/src/models/GradeResultPlatform.ts +8 -0
  810. package/src/models/GradeResultStudent.ts +10 -0
  811. package/src/models/GraderCriterion.ts +20 -0
  812. package/src/models/GradingModeEnum.ts +12 -0
  813. package/src/models/GrantMentorAccessRequest.ts +14 -0
  814. package/src/models/GreetingMethodEnum.ts +12 -0
  815. package/src/models/GuidedPrompt.ts +9 -0
  816. package/src/models/GuidedPromptsResponse.ts +10 -0
  817. package/src/models/HeygenAvatarCreate.ts +14 -0
  818. package/src/models/HeygenAvatarCreateTypeEnum.ts +12 -0
  819. package/src/models/HeygenMarketingVideoDetail.ts +13 -0
  820. package/src/models/HeygenMarketingVideoList.ts +11 -0
  821. package/src/models/HeygenStreamingSession.ts +17 -0
  822. package/src/models/HeygenStreamingTask.ts +15 -0
  823. package/src/models/HeygenTemplateRequest.ts +10 -0
  824. package/src/models/HeygenTemplateResponseSingle.ts +11 -0
  825. package/src/models/HeygenTtsPreview.ts +12 -0
  826. package/src/models/HeygenVideoCreate.ts +19 -0
  827. package/src/models/HeygenVideoCreateTypeEnum.ts +12 -0
  828. package/src/models/HeygenVideoDetail.ts +13 -0
  829. package/src/models/HeygenVideoRequest.ts +10 -0
  830. package/src/models/HeygenVoiceClone.ts +14 -0
  831. package/src/models/HostingProject.ts +51 -0
  832. package/src/models/HumanSupportTicket.ts +28 -0
  833. package/src/models/HumanSupportTicketStatusEnum.ts +14 -0
  834. package/src/models/InputQuestion.ts +11 -0
  835. package/src/models/IntegrationCredential.ts +30 -0
  836. package/src/models/IntegrationCredentialSchema.ts +11 -0
  837. package/src/models/IntegrationCredentialSchemaV2.ts +15 -0
  838. package/src/models/InterfaceEnum.ts +12 -0
  839. package/src/models/IntervalTypeEnum.ts +16 -0
  840. package/src/models/IntialQuestionAnswer.ts +8 -0
  841. package/src/models/InvalidQueryParameters.ts +8 -0
  842. package/src/models/InvoiceReportResponse.ts +18 -0
  843. package/src/models/JobRun.ts +16 -0
  844. package/src/models/JudgeRecord.ts +24 -0
  845. package/src/models/LLMCredentialRequest.ts +19 -0
  846. package/src/models/LLMCredentialResponse.ts +15 -0
  847. package/src/models/LLMCredentialSchema.ts +11 -0
  848. package/src/models/LLMJudge.ts +15 -0
  849. package/src/models/LLMModelRegistryMinimal.ts +20 -0
  850. package/src/models/LLMProviderMinimal.ts +19 -0
  851. package/src/models/LLMQuestion.ts +20 -0
  852. package/src/models/LLMResponse.ts +23 -0
  853. package/src/models/LLMTracesListResponse.ts +10 -0
  854. package/src/models/LanguagesView.ts +10 -0
  855. package/src/models/LinkCourseRequest.ts +8 -0
  856. package/src/models/LinkCourseResponse.ts +10 -0
  857. package/src/models/LinkedViaEnum.ts +12 -0
  858. package/src/models/LlmProviderEnum.ts +16 -0
  859. package/src/models/LlmUsageAnalyticsResponse.ts +13 -0
  860. package/src/models/MCPServer.ts +87 -0
  861. package/src/models/MCPServerConnection.ts +48 -0
  862. package/src/models/MCPServerConnectionScopeEnum.ts +14 -0
  863. package/src/models/MCPServerMentorAuthScopeWrite.ts +24 -0
  864. package/src/models/MCPServerOAuthClientWrite.ts +20 -0
  865. package/src/models/MCPServerOauthFind.ts +18 -0
  866. package/src/models/MCPServerPreferenceWrite.ts +11 -0
  867. package/src/models/MCPServerSessionPreferenceWrite.ts +12 -0
  868. package/src/models/MCPServerTransportEnum.ts +12 -0
  869. package/src/models/MaskedIntegrationCredential.ts +30 -0
  870. package/src/models/MaskedLLMCredential.ts +15 -0
  871. package/src/models/McpServerConfig.ts +22 -0
  872. package/src/models/McpServerConfigTransportEnum.ts +12 -0
  873. package/src/models/McpServerCreate.ts +13 -0
  874. package/src/models/McpServerEntry.ts +13 -0
  875. package/src/models/McpServerListResponse.ts +9 -0
  876. package/src/models/MemoryComponentData.ts +10 -0
  877. package/src/models/MemoryComponentDataKindEnum.ts +14 -0
  878. package/src/models/MemoryComponentMemory.ts +9 -0
  879. package/src/models/MemoryComponentMemoryDetail.ts +15 -0
  880. package/src/models/MemoryComponentResponse.ts +10 -0
  881. package/src/models/MemoryProgress.ts +13 -0
  882. package/src/models/MemoryStatusRequestView.ts +11 -0
  883. package/src/models/MemoryStatusView.ts +39 -0
  884. package/src/models/Mentor.ts +304 -0
  885. package/src/models/MentorAudience.ts +10 -0
  886. package/src/models/MentorAuditLogEntry.ts +52 -0
  887. package/src/models/MentorBreakdown.ts +14 -0
  888. package/src/models/MentorCategory.ts +14 -0
  889. package/src/models/MentorCategoryCreate.ts +16 -0
  890. package/src/models/MentorCategoryGroup.ts +16 -0
  891. package/src/models/MentorCategoryGroupCreate.ts +16 -0
  892. package/src/models/MentorCreate.ts +286 -0
  893. package/src/models/MentorCustomVoice.ts +9 -0
  894. package/src/models/MentorCustomVoiceResponse.ts +9 -0
  895. package/src/models/MentorData.ts +12 -0
  896. package/src/models/MentorDetailAnalytics.ts +11 -0
  897. package/src/models/MentorEval.ts +16 -0
  898. package/src/models/MentorEvalQuestion.ts +10 -0
  899. package/src/models/MentorEvalQuestionRequest.ts +9 -0
  900. package/src/models/MentorEvalReport.ts +15 -0
  901. package/src/models/MentorEvalRequest.ts +13 -0
  902. package/src/models/MentorFacet.ts +22 -0
  903. package/src/models/MentorFork.ts +10 -0
  904. package/src/models/MentorFromTemplateWithSettingRequest.ts +107 -0
  905. package/src/models/MentorFromTemplateWithSettingRequestVoiceProviderEnum.ts +14 -0
  906. package/src/models/MentorGraderConfig.ts +29 -0
  907. package/src/models/MentorMemorySettingsRequest.ts +11 -0
  908. package/src/models/MentorMemorySettingsResponse.ts +11 -0
  909. package/src/models/MentorMetadata.ts +10 -0
  910. package/src/models/MentorScenario.ts +11 -0
  911. package/src/models/MentorScenarioPrompt.ts +10 -0
  912. package/src/models/MentorSearchResponse.ts +40 -0
  913. package/src/models/MentorSession.ts +9 -0
  914. package/src/models/MentorSettings.ts +179 -0
  915. package/src/models/MentorSettingsPublic.ts +120 -0
  916. package/src/models/MentorSettingsRequest.ts +156 -0
  917. package/src/models/MentorSettingsRequestVoiceProviderEnum.ts +16 -0
  918. package/src/models/MentorSkillAssignment.ts +17 -0
  919. package/src/models/MentorSummary.ts +10 -0
  920. package/src/models/MentorType.ts +10 -0
  921. package/src/models/MentorUserSetting.ts +9 -0
  922. package/src/models/MentorVisibilityEnum.ts +14 -0
  923. package/src/models/MentorWizard.ts +9 -0
  924. package/src/models/MessageStatistics.ts +10 -0
  925. package/src/models/MessageView.ts +17 -0
  926. package/src/models/MessageViewRequest.ts +24 -0
  927. package/src/models/MessageViewUpdatResponse.ts +8 -0
  928. package/src/models/Metadata.ts +10 -0
  929. package/src/models/MetricChange.ts +9 -0
  930. package/src/models/MetricInfo.ts +10 -0
  931. package/src/models/ModalityEnum.ts +14 -0
  932. package/src/models/ModelCost.ts +9 -0
  933. package/src/models/ModerationLog.ts +26 -0
  934. package/src/models/NestedArtifact.ts +66 -0
  935. package/src/models/NewUserSpendCapDefault.ts +24 -0
  936. package/src/models/NoChatMessagesFound.ts +8 -0
  937. package/src/models/OAuthProvider.ts +29 -0
  938. package/src/models/OAuthService.ts +23 -0
  939. package/src/models/OAuthStartResponse.ts +8 -0
  940. package/src/models/OauthCredentialsMasked.ts +15 -0
  941. package/src/models/Observation.ts +36 -0
  942. package/src/models/OfflineDocument.ts +24 -0
  943. package/src/models/OverrideStatusEnum.ts +14 -0
  944. package/src/models/OvertimeData.ts +18 -0
  945. package/src/models/PageContent.ts +11 -0
  946. package/src/models/PaginatedAIGeneratedImageList.ts +12 -0
  947. package/src/models/PaginatedAgentChannels.ts +12 -0
  948. package/src/models/PaginatedAgentSkillList.ts +12 -0
  949. package/src/models/PaginatedAgentSkillResourceList.ts +12 -0
  950. package/src/models/PaginatedArtifactListList.ts +12 -0
  951. package/src/models/PaginatedArtifactVersionList.ts +12 -0
  952. package/src/models/PaginatedChannelAllowEntries.ts +12 -0
  953. package/src/models/PaginatedChannelCatalog.ts +12 -0
  954. package/src/models/PaginatedChannelCredentials.ts +12 -0
  955. package/src/models/PaginatedChannelIdentities.ts +12 -0
  956. package/src/models/PaginatedChannelPairingRequests.ts +12 -0
  957. package/src/models/PaginatedChatRunTrackerList.ts +12 -0
  958. package/src/models/PaginatedChatSessionActivityList.ts +11 -0
  959. package/src/models/PaginatedClawInstanceList.ts +12 -0
  960. package/src/models/PaginatedClawModelProviderList.ts +12 -0
  961. package/src/models/PaginatedConversationsList.ts +12 -0
  962. package/src/models/PaginatedCourseCreationTaskFileList.ts +12 -0
  963. package/src/models/PaginatedCourseCreationTaskList.ts +12 -0
  964. package/src/models/PaginatedDatasetItemList.ts +12 -0
  965. package/src/models/PaginatedDatasetList.ts +12 -0
  966. package/src/models/PaginatedDisclaimerAgreementList.ts +12 -0
  967. package/src/models/PaginatedDisclaimerList.ts +12 -0
  968. package/src/models/PaginatedEdxCourseList.ts +12 -0
  969. package/src/models/PaginatedEmailPromptListList.ts +12 -0
  970. package/src/models/PaginatedGradeResultList.ts +12 -0
  971. package/src/models/PaginatedGraderCriterionList.ts +12 -0
  972. package/src/models/PaginatedHeygenMarketingVideoListList.ts +12 -0
  973. package/src/models/PaginatedHeygenTemplateResponseSingleList.ts +12 -0
  974. package/src/models/PaginatedHumanSupportTicketList.ts +12 -0
  975. package/src/models/PaginatedJobRunList.ts +12 -0
  976. package/src/models/PaginatedJudgeList.ts +12 -0
  977. package/src/models/PaginatedMCPServerConnectionList.ts +12 -0
  978. package/src/models/PaginatedMCPServerList.ts +12 -0
  979. package/src/models/PaginatedMentorAuditLogEntryList.ts +12 -0
  980. package/src/models/PaginatedMentorList.ts +12 -0
  981. package/src/models/PaginatedMentorSkillAssignmentList.ts +12 -0
  982. package/src/models/PaginatedModerationLogList.ts +12 -0
  983. package/src/models/PaginatedObservationList.ts +12 -0
  984. package/src/models/PaginatedOfflineDocumentList.ts +12 -0
  985. package/src/models/PaginatedPeriodicAgentList.ts +12 -0
  986. package/src/models/PaginatedPeriodicAgentLogList.ts +12 -0
  987. package/src/models/PaginatedPrivacyFlagList.ts +12 -0
  988. package/src/models/PaginatedProjectList.ts +12 -0
  989. package/src/models/PaginatedRetrieverDocumentEmbeddingList.ts +12 -0
  990. package/src/models/PaginatedRunList.ts +12 -0
  991. package/src/models/PaginatedScoreConfigList.ts +12 -0
  992. package/src/models/PaginatedTicketMessageList.ts +12 -0
  993. package/src/models/PaginatedTopicStatisticsResponse.ts +12 -0
  994. package/src/models/PaginatedTraceList.ts +12 -0
  995. package/src/models/PaginatedUserEdxMemoryList.ts +12 -0
  996. package/src/models/PaginatedVeoVideoListList.ts +12 -0
  997. package/src/models/PaginatedVoiceList.ts +12 -0
  998. package/src/models/PaginatedWorkflowList.ts +12 -0
  999. package/src/models/Pagination.ts +16 -11
  1000. package/src/models/PatchedAgentChannelUpdate.ts +31 -0
  1001. package/src/models/PatchedAgentSkill.ts +40 -0
  1002. package/src/models/PatchedAgentSkillResource.ts +22 -0
  1003. package/src/models/PatchedArtifact.ts +83 -0
  1004. package/src/models/PatchedCallConfiguration.ts +43 -0
  1005. package/src/models/PatchedChannelCredentialUpdate.ts +16 -0
  1006. package/src/models/PatchedClawConfigPatchRequest.ts +19 -0
  1007. package/src/models/PatchedClawInstance.ts +56 -0
  1008. package/src/models/PatchedClawMentorConfig.ts +32 -0
  1009. package/src/models/PatchedClawModelProvider.ts +45 -0
  1010. package/src/models/PatchedConversations.ts +120 -0
  1011. package/src/models/PatchedCourseCreationTaskFile.ts +12 -0
  1012. package/src/models/PatchedCredentialRequest.ts +19 -0
  1013. package/src/models/PatchedCronJobPatch.ts +29 -0
  1014. package/src/models/PatchedDisclaimer.ts +22 -0
  1015. package/src/models/PatchedFallbackLLMUpdate.ts +38 -0
  1016. package/src/models/PatchedGradeResultOverride.ts +20 -0
  1017. package/src/models/PatchedGraderCriterion.ts +20 -0
  1018. package/src/models/PatchedHumanSupportTicket.ts +28 -0
  1019. package/src/models/PatchedLLMCredentialRequest.ts +19 -0
  1020. package/src/models/PatchedMCPServer.ts +87 -0
  1021. package/src/models/PatchedMCPServerConnection.ts +48 -0
  1022. package/src/models/PatchedMcpServerUpdate.ts +13 -0
  1023. package/src/models/PatchedMentorCategoryGroupCreate.ts +16 -0
  1024. package/src/models/PatchedMentorCreate.ts +286 -0
  1025. package/src/models/PatchedMentorGraderConfig.ts +29 -0
  1026. package/src/models/PatchedMentorSkillAssignment.ts +17 -0
  1027. package/src/models/PatchedPeriodicAgentCreate.ts +74 -0
  1028. package/src/models/PatchedPlacementAssessmentUpdate.ts +2 -2
  1029. package/src/models/PatchedPlatformApplicationNote.ts +2 -2
  1030. package/src/models/PatchedProject.ts +58 -0
  1031. package/src/models/PatchedPrompt.ts +27 -0
  1032. package/src/models/PatchedTenantChatPrivacyConfig.ts +16 -0
  1033. package/src/models/PatchedTicketMessage.ts +15 -0
  1034. package/src/models/PatchedUserMentorMemoryUpdate.ts +12 -0
  1035. package/src/models/PatchedWorkflow.ts +70 -0
  1036. package/src/models/PeriodInfo.ts +26 -0
  1037. package/src/models/PeriodicAgent.ts +75 -0
  1038. package/src/models/PeriodicAgentCreate.ts +74 -0
  1039. package/src/models/PeriodicAgentLog.ts +16 -0
  1040. package/src/models/PeriodicAgentLogStatusEnum.ts +14 -0
  1041. package/src/models/PeriodicAgentStatistics.ts +12 -0
  1042. package/src/models/PeriodicTask.ts +26 -0
  1043. package/src/models/PhiActionEnum.ts +16 -0
  1044. package/src/models/PieChartData.ts +10 -0
  1045. package/src/models/PieChartSegment.ts +9 -0
  1046. package/src/models/PinnedMessageCreate.ts +14 -0
  1047. package/src/models/PinnedMessageRequest.ts +11 -0
  1048. package/src/models/PlacementAssessment.ts +2 -2
  1049. package/src/models/PlatformApplicationNote.ts +2 -2
  1050. package/src/models/{KindEnum.ts → PlatformApplicationNoteKindEnum.ts} +1 -1
  1051. package/src/models/PlatformPrompt.ts +39 -0
  1052. package/src/models/PlatformPromptResponse.ts +21 -0
  1053. package/src/models/PredictiveAnalyticsRequest.ts +9 -0
  1054. package/src/models/PredictiveAnalyticsResponse.ts +9 -0
  1055. package/src/models/PreviousAgentStatusEnum.ts +16 -0
  1056. package/src/models/PrivacyActionEnum.ts +16 -0
  1057. package/src/models/PrivacyFlag.ts +40 -0
  1058. package/src/models/PrivacyFlagSourceEnum.ts +20 -0
  1059. package/src/models/Project.ts +58 -0
  1060. package/src/models/ProjectMentor.ts +16 -0
  1061. package/src/models/Prompt.ts +27 -0
  1062. package/src/models/PromptCategory.ts +12 -0
  1063. package/src/models/PromptFacet.ts +22 -0
  1064. package/src/models/PromptSearchResponse.ts +40 -0
  1065. package/src/models/PromptVisibilityEnum.ts +14 -0
  1066. package/src/models/ProviderBreakdown.ts +13 -0
  1067. package/src/models/ProviderEnum.ts +18 -0
  1068. package/src/models/ProvisionModeEnum.ts +12 -0
  1069. package/src/models/QuestionCardTag.ts +13 -0
  1070. package/src/models/QuestionRequest.ts +20 -0
  1071. package/src/models/QuestionResponse.ts +15 -0
  1072. package/src/models/RailEnum.ts +12 -0
  1073. package/src/models/RatingAverageRecord.ts +15 -0
  1074. package/src/models/RatingEnum.ts +12 -0
  1075. package/src/models/RatingRecord.ts +9 -0
  1076. package/src/models/RatingsOvertime.ts +10 -0
  1077. package/src/models/RecentlyAccessedMentor.ts +16 -0
  1078. package/src/models/RecommendationTypeEnum.ts +12 -0
  1079. package/src/models/RecommendedCoursesResponse.ts +38 -0
  1080. package/src/models/RelatedText.ts +8 -0
  1081. package/src/models/RemoveMentorFromDisclaimer.ts +17 -0
  1082. package/src/models/ReorderChildren.ts +18 -0
  1083. package/src/models/RequestDataVariable.ts +19 -0
  1084. package/src/models/ResourceScrappedData.ts +18 -0
  1085. package/src/models/ResourceScrappedDataStatusEnum.ts +16 -0
  1086. package/src/models/ResponseDataVariable.ts +19 -0
  1087. package/src/models/RetreiverTrainViewRequest.ts +15 -0
  1088. package/src/models/RetreiverTrainViewResponse.ts +11 -0
  1089. package/src/models/RetrieveTask.ts +8 -0
  1090. package/src/models/RetrieverDocumentEmbedding.ts +47 -0
  1091. package/src/models/RetrieverDocumentEmbeddingRequest.ts +75 -0
  1092. package/src/models/RetrieverRequestSearch.ts +15 -0
  1093. package/src/models/RetrieverRequestSearchDocument.ts +15 -0
  1094. package/src/models/RetrieverResponseSearch.ts +12 -0
  1095. package/src/models/ReuestDataVariableList.ts +9 -0
  1096. package/src/models/Run.ts +31 -0
  1097. package/src/models/RunDetailResponse.ts +26 -0
  1098. package/src/models/RunMentorEval.ts +8 -0
  1099. package/src/models/ScanWebhookRequest.ts +11 -0
  1100. package/src/models/ScanWebhookResponse.ts +8 -0
  1101. package/src/models/ScopeC1dEnum.ts +12 -0
  1102. package/src/models/Score.ts +23 -0
  1103. package/src/models/ScoreConfig.ts +17 -0
  1104. package/src/models/ScoreConfigCategory.ts +12 -0
  1105. package/src/models/ScoreConfigCreate.ts +18 -0
  1106. package/src/models/ScoreCreate.ts +19 -0
  1107. package/src/models/ScoreCreateResponse.ts +14 -0
  1108. package/src/models/ScoreListResponse.ts +19 -0
  1109. package/src/models/SeedMentorsView.ts +8 -0
  1110. package/src/models/Segment.ts +10 -0
  1111. package/src/models/SellableItem.ts +19 -0
  1112. package/src/models/SellableItemPaywall.ts +14 -0
  1113. package/src/models/SellableItemsResponse.ts +18 -0
  1114. package/src/models/SentimentSummary.ts +9 -0
  1115. package/src/models/ServiceTypeEnum.ts +14 -0
  1116. package/src/models/SessionBrowserScreenshot.ts +13 -0
  1117. package/src/models/SessionChartPoint.ts +9 -0
  1118. package/src/models/SessionDetail.ts +11 -0
  1119. package/src/models/SessionDisableChathistoryRequest.ts +14 -0
  1120. package/src/models/SessionDisableChathistoryResponse.ts +12 -0
  1121. package/src/models/SessionMemoryStorage.ts +11 -0
  1122. package/src/models/SessionSummary.ts +20 -0
  1123. package/src/models/SessionSummaryMentor.ts +11 -0
  1124. package/src/models/SessionsChart.ts +10 -0
  1125. package/src/models/SetCurrentVersionRequest.ts +8 -0
  1126. package/src/models/ShareableMentorLink.ts +13 -0
  1127. package/src/models/SharedSessionUpdateRequest.ts +8 -0
  1128. package/src/models/SharedSessionUpdateResponse.ts +8 -0
  1129. package/src/models/SharedSystemPromptConsumer.ts +14 -0
  1130. package/src/models/SharedSystemPromptRequest.ts +15 -0
  1131. package/src/models/SharedSystemPromptResponse.ts +11 -0
  1132. package/src/models/SharedSystemPromptTarget.ts +15 -0
  1133. package/src/models/ShellLogs.ts +8 -0
  1134. package/src/models/SkillTypeEnum.ts +12 -0
  1135. package/src/models/{SourceEnum.ts → SourceBf5Enum.ts} +1 -1
  1136. package/src/models/SpacedRepetitionLearningPath.ts +8 -0
  1137. package/src/models/SpacedRepetitionQuestionStats.ts +10 -0
  1138. package/src/models/SpendCap.ts +42 -0
  1139. package/src/models/SpendCapScopeEnum.ts +16 -0
  1140. package/src/models/SpendCapStatusItem.ts +18 -0
  1141. package/src/models/SpendCapStatusSummary.ts +22 -0
  1142. package/src/models/SpendCapStatusSummaryStatusEnum.ts +14 -0
  1143. package/src/models/StarMentor.ts +16 -0
  1144. package/src/models/StarterPrompts693Enum.ts +16 -0
  1145. package/src/models/StarterPromptsDd8Enum.ts +16 -0
  1146. package/src/models/Status869Enum.ts +14 -0
  1147. package/src/models/Step.ts +14 -0
  1148. package/src/models/StepStatusEnum.ts +14 -0
  1149. package/src/models/StopGenerationRequest.ts +14 -0
  1150. package/src/models/StripeCheckoutSessionCreate.ts +15 -0
  1151. package/src/models/StripeCheckoutSessionCreateModeEnum.ts +14 -0
  1152. package/src/models/StripeConnectStart.ts +8 -0
  1153. package/src/models/StripeConnectStartResponse.ts +8 -0
  1154. package/src/models/StripeConnectedAccount.ts +41 -0
  1155. package/src/models/StripeConnectedAccountSourceEnum.ts +12 -0
  1156. package/src/models/StripeCustomerCreate.ts +13 -0
  1157. package/src/models/StripePaymentLinkCreate.ts +11 -0
  1158. package/src/models/StripePaywallAccessResponse.ts +14 -0
  1159. package/src/models/StripePaywallCheckout.ts +14 -0
  1160. package/src/models/StripePaywallCheckoutResponse.ts +24 -0
  1161. package/src/models/StripePriceCreate.ts +15 -0
  1162. package/src/models/StripeProductCreate.ts +14 -0
  1163. package/src/models/SttProviderEnum.ts +18 -0
  1164. package/src/models/StudentChatMessage.ts +14 -0
  1165. package/src/models/StylesView.ts +9 -0
  1166. package/src/models/Subject.ts +10 -0
  1167. package/src/models/Summary.ts +14 -0
  1168. package/src/models/TagsView.ts +10 -0
  1169. package/src/models/TargetSystemEnum.ts +16 -0
  1170. package/src/models/TaskModeEnum.ts +12 -0
  1171. package/src/models/TaskTypeEnum.ts +12 -0
  1172. package/src/models/TaskView.ts +8 -0
  1173. package/src/models/TemplateMentor.ts +14 -0
  1174. package/src/models/TenantChatPrivacyConfig.ts +16 -0
  1175. package/src/models/TenantMentorTraces.ts +11 -0
  1176. package/src/models/ThemeEnum.ts +12 -0
  1177. package/src/models/TicketMessage.ts +15 -0
  1178. package/src/models/TokenEndpointAuthMethodEnum.ts +14 -0
  1179. package/src/models/TonesView.ts +9 -0
  1180. package/src/models/ToolCategory.ts +10 -0
  1181. package/src/models/ToolResponse.ts +22 -0
  1182. package/src/models/TopicDetail.ts +13 -0
  1183. package/src/models/TopicDetails.ts +10 -0
  1184. package/src/models/TopicModel.ts +8 -0
  1185. package/src/models/TopicRecord.ts +9 -0
  1186. package/src/models/TopicStatistics.ts +12 -0
  1187. package/src/models/TopicStatisticsResponse.ts +11 -0
  1188. package/src/models/TopicSummaryView.ts +9 -0
  1189. package/src/models/TopicsOverview.ts +35 -0
  1190. package/src/models/TopicsOverviewMetric.ts +38 -0
  1191. package/src/models/Trace.ts +22 -0
  1192. package/src/models/TrainDocumentViewRequest.ts +95 -0
  1193. package/src/models/TrainDocumentViewResponse.ts +20 -0
  1194. package/src/models/TrainingStatusEnum.ts +16 -0
  1195. package/src/models/Transport755Enum.ts +10 -0
  1196. package/src/models/TrendEntry.ts +9 -0
  1197. package/src/models/TriggerRequest.ts +10 -0
  1198. package/src/models/TriggerResponse.ts +11 -0
  1199. package/src/models/TtsProviderEnum.ts +16 -0
  1200. package/src/models/UiModeEnum.ts +12 -0
  1201. package/src/models/UpdateXblock.ts +22 -0
  1202. package/src/models/UseMainCreds.ts +8 -0
  1203. package/src/models/UserAllChatMemoryView.ts +40 -0
  1204. package/src/models/UserCatalogItemMemoryView.ts +21 -0
  1205. package/src/models/UserChatByPeriod.ts +9 -0
  1206. package/src/models/UserChatFeedback.ts +29 -0
  1207. package/src/models/UserChatFeedbackByMessage.ts +28 -0
  1208. package/src/models/UserChatFeedbackCount.ts +9 -0
  1209. package/src/models/UserChatFeedbackCreateRequest.ts +8 -0
  1210. package/src/models/UserChatFeedbackUpdate.ts +25 -0
  1211. package/src/models/UserChatHistoryFilterData.ts +15 -0
  1212. package/src/models/UserChatMemoryStatusRequestView.ts +11 -0
  1213. package/src/models/UserChatMemoryStatusView.ts +39 -0
  1214. package/src/models/UserChatMemoryUpdateView.ts +15 -0
  1215. package/src/models/UserChatPrivacySettings.ts +23 -0
  1216. package/src/models/UserCountRecord.ts +9 -0
  1217. package/src/models/UserDefaultMentor.ts +24 -0
  1218. package/src/models/UserDetail.ts +13 -0
  1219. package/src/models/UserEdxMemory.ts +22 -0
  1220. package/src/models/UserMemoryContextRequest.ts +18 -0
  1221. package/src/models/UserMemoryContextResponse.ts +45 -0
  1222. package/src/models/UserMentorMemoryCreate.ts +12 -0
  1223. package/src/models/UserMetric.ts +9 -0
  1224. package/src/models/UserMetricsResponse.ts +12 -0
  1225. package/src/models/UserReportListResponse.ts +11 -0
  1226. package/src/models/UserSentimentCountView.ts +9 -0
  1227. package/src/models/UserTrendByPeriod.ts +10 -0
  1228. package/src/models/V2GlobalMentorSearchResponse.ts +34 -0
  1229. package/src/models/V2PersonalizedMentorsResponse.ts +34 -0
  1230. package/src/models/V2RecommendationResponse.ts +70 -0
  1231. package/src/models/VectorResult.ts +15 -0
  1232. package/src/models/VeoVideoDetail.ts +15 -0
  1233. package/src/models/VeoVideoList.ts +11 -0
  1234. package/src/models/VeoVideoRequest.ts +10 -0
  1235. package/src/models/VersionNestedArtifact.ts +67 -0
  1236. package/src/models/VideoCaption.ts +8 -0
  1237. package/src/models/VirtualMachineEgressEnum.ts +16 -0
  1238. package/src/models/Voice.ts +14 -0
  1239. package/src/models/VoiceProviderEefEnum.ts +16 -0
  1240. package/src/models/WakeModeEnum.ts +12 -0
  1241. package/src/models/WakeRequest.ts +13 -0
  1242. package/src/models/WakeResponse.ts +19 -0
  1243. package/src/models/WebResource.ts +14 -0
  1244. package/src/models/WebResourceCard.ts +12 -0
  1245. package/src/models/WebResourcesQuery.ts +8 -0
  1246. package/src/models/WelcomeHeadingStyle5edEnum.ts +12 -0
  1247. package/src/models/WelcomeHeadingStyleFafEnum.ts +12 -0
  1248. package/src/models/Workflow.ts +70 -0
  1249. package/src/models/XblockResult.ts +14 -0
  1250. package/src/models/XblockTypeEnum.ts +20 -0
  1251. package/src/services/AiAccountService.ts +1691 -0
  1252. package/src/services/AiAnalyticsService.ts +14270 -5482
  1253. package/src/services/AiIndexService.ts +644 -0
  1254. package/src/services/AiMarketingService.ts +96 -0
  1255. package/src/services/AiMediaService.ts +532 -0
  1256. package/src/services/AiMentorService.ts +23845 -0
  1257. package/src/services/AiPromptService.ts +1882 -0
  1258. package/src/services/AiProxyService.ts +90 -0
  1259. package/src/services/AiSearchService.ts +1299 -0
  1260. package/src/services/AnalyticsService.ts +1286 -189
  1261. package/src/services/IntegrationCredentialsService.ts +52 -0
  1262. package/src/services/SearchService.ts +2243 -749
  1263. package/src/services/V1AgentsService.ts +859 -0
  1264. package/src/services/V1AnalyticsService.ts +1928 -0
  1265. package/src/services/V1AuditLogsService.ts +80 -0
  1266. package/src/services/V1ChannelsService.ts +393 -0
  1267. package/src/services/V1ChatService.ts +52 -0
  1268. package/src/services/V1ConfigurationsService.ts +73 -0
  1269. package/src/services/V1DisclaimersService.ts +387 -0
  1270. package/src/services/V1FeaturesService.ts +38 -0
  1271. package/src/services/V1LlmsService.ts +79 -0
  1272. package/src/services/V1MemsearchStatusService.ts +26 -0
  1273. package/src/services/V1NotificationsService.ts +136 -0
  1274. package/src/services/V1OrganizationService.ts +56 -0
  1275. package/src/services/V1ProjectsService.ts +280 -0
  1276. package/src/services/V1RbacService.ts +24 -0
  1277. package/src/services/V1SessionsService.ts +423 -0
@@ -0,0 +1,1691 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { AdminIntegrationCredential } from '../models/AdminIntegrationCredential';
6
+ import type { ConnectedService } from '../models/ConnectedService';
7
+ import type { CredentialRequest } from '../models/CredentialRequest';
8
+ import type { FallbackLLM } from '../models/FallbackLLM';
9
+ import type { FallbackLLMCreate } from '../models/FallbackLLMCreate';
10
+ import type { FallbackLLMUpdate } from '../models/FallbackLLMUpdate';
11
+ import type { IntegrationCredential } from '../models/IntegrationCredential';
12
+ import type { IntegrationCredentialSchema } from '../models/IntegrationCredentialSchema';
13
+ import type { LLMCredentialRequest } from '../models/LLMCredentialRequest';
14
+ import type { LLMCredentialResponse } from '../models/LLMCredentialResponse';
15
+ import type { LLMCredentialSchema } from '../models/LLMCredentialSchema';
16
+ import type { MaskedIntegrationCredential } from '../models/MaskedIntegrationCredential';
17
+ import type { MaskedLLMCredential } from '../models/MaskedLLMCredential';
18
+ import type { OAuthProvider } from '../models/OAuthProvider';
19
+ import type { OAuthService } from '../models/OAuthService';
20
+ import type { OAuthStartResponse } from '../models/OAuthStartResponse';
21
+ import type { PatchedCredentialRequest } from '../models/PatchedCredentialRequest';
22
+ import type { PatchedFallbackLLMUpdate } from '../models/PatchedFallbackLLMUpdate';
23
+ import type { PatchedLLMCredentialRequest } from '../models/PatchedLLMCredentialRequest';
24
+ import type { PatchedTenantChatPrivacyConfig } from '../models/PatchedTenantChatPrivacyConfig';
25
+ import type { TenantChatPrivacyConfig } from '../models/TenantChatPrivacyConfig';
26
+ import type { UseMainCreds } from '../models/UseMainCreds';
27
+ import type { UserChatPrivacySettings } from '../models/UserChatPrivacySettings';
28
+ import type { CancelablePromise } from '../core/CancelablePromise';
29
+ import { OpenAPI } from '../core/OpenAPI';
30
+ import { request as __request } from '../core/request';
31
+ export class AiAccountService {
32
+ /**
33
+ * @returns ConnectedService Callback for the OAuth flow
34
+ * @throws ApiError
35
+ */
36
+ public static aiAccountConnectedServicesCallbackRetrieve(): CancelablePromise<ConnectedService> {
37
+ return __request(OpenAPI, {
38
+ method: 'GET',
39
+ url: '/api/ai-account/connected-services/callback/',
40
+ });
41
+ }
42
+ /**
43
+ * Wires RBAC into a DRF view.
44
+ *
45
+ * Two responsibilities:
46
+ *
47
+ * 1. When RBAC is enabled, replace the view's `permission_classes` with
48
+ * `RbacAuthGate` (the gate the RBAC layer assumes — `IsEdxAuthenticated`
49
+ * semantics, plus opt-in acceptance of token-policies PlatformApiKeys for
50
+ * views that set `token_policies_enabled = True`).
51
+ *
52
+ * 2. Detect server-to-server (Django auth) callers via `is_service_account`.
53
+ * Server-to-server tokens authenticate as Django auth users with no
54
+ * relationship to a platform EdxUser. The convention is "we trust this
55
+ * caller — bypass RBAC and serve the request."
56
+ *
57
+ * Combine it with the RBAC-disabled check at the top of `initial()` so
58
+ * the early exit skips all RBAC prep work:
59
+ *
60
+ * if not ConfigFlags.rbac_enabled() or self.is_service_account:
61
+ * return
62
+ *
63
+ * Use `is_service_account` at any other touch points where caller
64
+ * identity matters (queryset ownership filters, owner attribution on
65
+ * create, serializer context, etc.).
66
+ * @returns ConnectedService
67
+ * @throws ApiError
68
+ */
69
+ public static aiAccountConnectedServicesOrgsUsersList({
70
+ org,
71
+ userId,
72
+ ordering,
73
+ provider,
74
+ search,
75
+ service,
76
+ }: {
77
+ org: string,
78
+ userId: string,
79
+ /**
80
+ * Which field to use when ordering the results.
81
+ */
82
+ ordering?: string,
83
+ provider?: string,
84
+ /**
85
+ * A search term.
86
+ */
87
+ search?: string,
88
+ service?: string,
89
+ }): CancelablePromise<Array<ConnectedService>> {
90
+ return __request(OpenAPI, {
91
+ method: 'GET',
92
+ url: '/api/ai-account/connected-services/orgs/{org}/users/{user_id}/',
93
+ path: {
94
+ 'org': org,
95
+ 'user_id': userId,
96
+ },
97
+ query: {
98
+ 'ordering': ordering,
99
+ 'provider': provider,
100
+ 'search': search,
101
+ 'service': service,
102
+ },
103
+ });
104
+ }
105
+ /**
106
+ * Wires RBAC into a DRF view.
107
+ *
108
+ * Two responsibilities:
109
+ *
110
+ * 1. When RBAC is enabled, replace the view's `permission_classes` with
111
+ * `RbacAuthGate` (the gate the RBAC layer assumes — `IsEdxAuthenticated`
112
+ * semantics, plus opt-in acceptance of token-policies PlatformApiKeys for
113
+ * views that set `token_policies_enabled = True`).
114
+ *
115
+ * 2. Detect server-to-server (Django auth) callers via `is_service_account`.
116
+ * Server-to-server tokens authenticate as Django auth users with no
117
+ * relationship to a platform EdxUser. The convention is "we trust this
118
+ * caller — bypass RBAC and serve the request."
119
+ *
120
+ * Combine it with the RBAC-disabled check at the top of `initial()` so
121
+ * the early exit skips all RBAC prep work:
122
+ *
123
+ * if not ConfigFlags.rbac_enabled() or self.is_service_account:
124
+ * return
125
+ *
126
+ * Use `is_service_account` at any other touch points where caller
127
+ * identity matters (queryset ownership filters, owner attribution on
128
+ * create, serializer context, etc.).
129
+ * @returns ConnectedService
130
+ * @throws ApiError
131
+ */
132
+ public static aiAccountConnectedServicesOrgsUsersRetrieve({
133
+ id,
134
+ org,
135
+ userId,
136
+ }: {
137
+ /**
138
+ * A unique integer value identifying this connected service.
139
+ */
140
+ id: number,
141
+ org: string,
142
+ userId: string,
143
+ }): CancelablePromise<ConnectedService> {
144
+ return __request(OpenAPI, {
145
+ method: 'GET',
146
+ url: '/api/ai-account/connected-services/orgs/{org}/users/{user_id}/{id}/',
147
+ path: {
148
+ 'id': id,
149
+ 'org': org,
150
+ 'user_id': userId,
151
+ },
152
+ });
153
+ }
154
+ /**
155
+ * Wires RBAC into a DRF view.
156
+ *
157
+ * Two responsibilities:
158
+ *
159
+ * 1. When RBAC is enabled, replace the view's `permission_classes` with
160
+ * `RbacAuthGate` (the gate the RBAC layer assumes — `IsEdxAuthenticated`
161
+ * semantics, plus opt-in acceptance of token-policies PlatformApiKeys for
162
+ * views that set `token_policies_enabled = True`).
163
+ *
164
+ * 2. Detect server-to-server (Django auth) callers via `is_service_account`.
165
+ * Server-to-server tokens authenticate as Django auth users with no
166
+ * relationship to a platform EdxUser. The convention is "we trust this
167
+ * caller — bypass RBAC and serve the request."
168
+ *
169
+ * Combine it with the RBAC-disabled check at the top of `initial()` so
170
+ * the early exit skips all RBAC prep work:
171
+ *
172
+ * if not ConfigFlags.rbac_enabled() or self.is_service_account:
173
+ * return
174
+ *
175
+ * Use `is_service_account` at any other touch points where caller
176
+ * identity matters (queryset ownership filters, owner attribution on
177
+ * create, serializer context, etc.).
178
+ * @returns void
179
+ * @throws ApiError
180
+ */
181
+ public static aiAccountConnectedServicesOrgsUsersDestroy({
182
+ id,
183
+ org,
184
+ userId,
185
+ }: {
186
+ /**
187
+ * A unique integer value identifying this connected service.
188
+ */
189
+ id: number,
190
+ org: string,
191
+ userId: string,
192
+ }): CancelablePromise<void> {
193
+ return __request(OpenAPI, {
194
+ method: 'DELETE',
195
+ url: '/api/ai-account/connected-services/orgs/{org}/users/{user_id}/{id}/',
196
+ path: {
197
+ 'id': id,
198
+ 'org': org,
199
+ 'user_id': userId,
200
+ },
201
+ });
202
+ }
203
+ /**
204
+ * The connect flow is always for the caller, on their token's platform.
205
+ *
206
+ * Service accounts are refused: the consent happens in the user's browser.
207
+ * @returns OAuthStartResponse Starts the OAuth flow for the given provider and service
208
+ * @throws ApiError
209
+ */
210
+ public static aiAccountConnectedServicesOrgsUsersRetrieve2({
211
+ org,
212
+ provider,
213
+ service,
214
+ userId,
215
+ loginHint,
216
+ }: {
217
+ org: string,
218
+ provider: string,
219
+ service: string,
220
+ userId: string,
221
+ /**
222
+ * Optional account hint passed to the provider's authorization request (OpenID Connect login_hint).
223
+ */
224
+ loginHint?: string,
225
+ }): CancelablePromise<OAuthStartResponse> {
226
+ return __request(OpenAPI, {
227
+ method: 'GET',
228
+ url: '/api/ai-account/connected-services/orgs/{org}/users/{user_id}/{provider}/{service}/',
229
+ path: {
230
+ 'org': org,
231
+ 'provider': provider,
232
+ 'service': service,
233
+ 'user_id': userId,
234
+ },
235
+ query: {
236
+ 'login_hint': loginHint,
237
+ },
238
+ });
239
+ }
240
+ /**
241
+ * Retrieve LLM credentials for an organization.
242
+ *
243
+ * Query Parameters:
244
+ * name (optional): Filter results by LLM provider name.
245
+ * When name=google, returns both 'google' (service account) and
246
+ * 'gemini_google_api_key' credentials if they exist.
247
+ * unmask_sensitive_fields (optional, bool, default False):
248
+ * If true, returns the raw unmasked credential value. Restricted
249
+ * to credentials owned by the requested tenant — the
250
+ * ``GlobalCredential`` fallback is suppressed when unmasking,
251
+ * and the response is ``[]`` instead of 404 if the tenant has
252
+ * no own credentials.
253
+ *
254
+ * Args:
255
+ * request: The HTTP request
256
+ * org: Organization key identifier
257
+ *
258
+ * Returns:
259
+ * Response: List of LLM credentials for the organization. Values
260
+ * are masked by default; unmasked when ``unmask_sensitive_fields=true``
261
+ * and the credential belongs to the tenant.
262
+ *
263
+ * Raises:
264
+ * NotFound: When organization is not found, or (in default masked
265
+ * mode) when no credentials match the filters even after the
266
+ * global-credential fallback.
267
+ * ValidationError: When query parameters are invalid
268
+ * @returns LLMCredentialResponse
269
+ * @throws ApiError
270
+ */
271
+ public static aiAccountOrgsCredentialRetrieve({
272
+ org,
273
+ name,
274
+ unmaskSensitiveFields = false,
275
+ }: {
276
+ org: string,
277
+ /**
278
+ * Filter credentials by provider name (e.g., 'openai', 'google')
279
+ */
280
+ name?: string,
281
+ /**
282
+ * If true and the requester is a platform admin for the org, returns full unmasked credential values. Restricted to credentials owned by the requested tenant (no main-platform fallback when unmasking). Ignored for non-admins.
283
+ */
284
+ unmaskSensitiveFields?: boolean,
285
+ }): CancelablePromise<LLMCredentialResponse> {
286
+ return __request(OpenAPI, {
287
+ method: 'GET',
288
+ url: '/api/ai-account/orgs/{org}/credential/',
289
+ path: {
290
+ 'org': org,
291
+ },
292
+ query: {
293
+ 'name': name,
294
+ 'unmask_sensitive_fields': unmaskSensitiveFields,
295
+ },
296
+ });
297
+ }
298
+ /**
299
+ * Create a new LLM credential for an organization.
300
+ *
301
+ * For azure_openai credentials, if credential already exists, merges the new
302
+ * models with existing ones instead of replacing.
303
+ *
304
+ * Args:
305
+ * request: The HTTP request containing credential information
306
+ * org: Organization key identifier
307
+ *
308
+ * Returns:
309
+ * Response: Created or updated LLM credential
310
+ *
311
+ * Raises:
312
+ * NotFound: When organization is not found
313
+ * ValidationError: When request data is invalid
314
+ * @returns LLMCredentialResponse
315
+ * @throws ApiError
316
+ */
317
+ public static aiAccountOrgsCredentialCreate({
318
+ org,
319
+ requestBody,
320
+ }: {
321
+ org: string,
322
+ requestBody: LLMCredentialRequest,
323
+ }): CancelablePromise<LLMCredentialResponse> {
324
+ return __request(OpenAPI, {
325
+ method: 'POST',
326
+ url: '/api/ai-account/orgs/{org}/credential/',
327
+ path: {
328
+ 'org': org,
329
+ },
330
+ body: requestBody,
331
+ mediaType: 'application/json',
332
+ });
333
+ }
334
+ /**
335
+ * Update an existing LLM credential for an organization.
336
+ *
337
+ * For azure_openai credentials, supports partial model updates by deep merging
338
+ * the provided model fields with existing ones.
339
+ *
340
+ * Args:
341
+ * request: The HTTP request containing updated credential information
342
+ * org: Organization key identifier
343
+ *
344
+ * Returns:
345
+ * Response: Updated LLM credential
346
+ *
347
+ * Raises:
348
+ * NotFound: When organization or credential is not found
349
+ * ValidationError: When request data is invalid
350
+ * @returns LLMCredentialResponse
351
+ * @throws ApiError
352
+ */
353
+ public static aiAccountOrgsCredentialPartialUpdate({
354
+ org,
355
+ requestBody,
356
+ }: {
357
+ org: string,
358
+ requestBody?: PatchedLLMCredentialRequest,
359
+ }): CancelablePromise<LLMCredentialResponse> {
360
+ return __request(OpenAPI, {
361
+ method: 'PATCH',
362
+ url: '/api/ai-account/orgs/{org}/credential/',
363
+ path: {
364
+ 'org': org,
365
+ },
366
+ body: requestBody,
367
+ mediaType: 'application/json',
368
+ });
369
+ }
370
+ /**
371
+ * Delete an existing LLM credential for an organization.
372
+ *
373
+ * For azure_openai credentials, supports deleting a specific model by providing
374
+ * the 'model_name' field. If model_name is omitted, deletes the entire credential.
375
+ *
376
+ * Args:
377
+ * request: The HTTP request containing credential information (must include 'name')
378
+ * org: Organization key identifier
379
+ *
380
+ * Returns:
381
+ * Response: 204
382
+ *
383
+ * Raises:
384
+ * NotFound: When organization or credential is not found
385
+ * ValidationError: When request data is invalid
386
+ * @returns void
387
+ * @throws ApiError
388
+ */
389
+ public static aiAccountOrgsCredentialDestroy({
390
+ org,
391
+ }: {
392
+ org: string,
393
+ }): CancelablePromise<void> {
394
+ return __request(OpenAPI, {
395
+ method: 'DELETE',
396
+ url: '/api/ai-account/orgs/{org}/credential/',
397
+ path: {
398
+ 'org': org,
399
+ },
400
+ });
401
+ }
402
+ /**
403
+ * Retrieve LLM credentials schemas.
404
+ *
405
+ * Query Parameters:
406
+ * name (optional): Filter results by LLM service name
407
+ *
408
+ * Args:
409
+ * request: The HTTP request
410
+ * org: Organization key identifier
411
+ *
412
+ * Returns:
413
+ * Response: List of integration credentials schema available.
414
+ *
415
+ * Raises:
416
+ * NotFound: When no credentials match the filters
417
+ * ValidationError: When query parameters are invalid
418
+ * @returns LLMCredentialSchema
419
+ * @throws ApiError
420
+ */
421
+ public static aiAccountOrgsCredentialSchemaRetrieve({
422
+ org,
423
+ name,
424
+ unmaskSensitiveFields = false,
425
+ }: {
426
+ org: string,
427
+ /**
428
+ * Filter credentials by provider name (e.g., 'openai', 'google')
429
+ */
430
+ name?: string,
431
+ /**
432
+ * If true and the requester is a platform admin for the org, returns full unmasked credential values. Restricted to credentials owned by the requested tenant (no main-platform fallback when unmasking). Ignored for non-admins.
433
+ */
434
+ unmaskSensitiveFields?: boolean,
435
+ }): CancelablePromise<LLMCredentialSchema> {
436
+ return __request(OpenAPI, {
437
+ method: 'GET',
438
+ url: '/api/ai-account/orgs/{org}/credential/schema/',
439
+ path: {
440
+ 'org': org,
441
+ },
442
+ query: {
443
+ 'name': name,
444
+ 'unmask_sensitive_fields': unmaskSensitiveFields,
445
+ },
446
+ });
447
+ }
448
+ /**
449
+ * List fallback LLM configurations
450
+ * List all fallback LLM configurations for the tenant and global configs.
451
+ * @returns FallbackLLM
452
+ * @throws ApiError
453
+ */
454
+ public static aiAccountOrgsFallbackLlmList({
455
+ org,
456
+ isEnabled,
457
+ ordering,
458
+ scope,
459
+ }: {
460
+ org: string,
461
+ /**
462
+ * Filter by enabled status
463
+ */
464
+ isEnabled?: boolean,
465
+ /**
466
+ * Which field to use when ordering the results.
467
+ */
468
+ ordering?: string,
469
+ /**
470
+ * Filter by scope (model or provider)
471
+ */
472
+ scope?: string,
473
+ }): CancelablePromise<Array<FallbackLLM>> {
474
+ return __request(OpenAPI, {
475
+ method: 'GET',
476
+ url: '/api/ai-account/orgs/{org}/fallback-llm/',
477
+ path: {
478
+ 'org': org,
479
+ },
480
+ query: {
481
+ 'is_enabled': isEnabled,
482
+ 'ordering': ordering,
483
+ 'scope': scope,
484
+ },
485
+ errors: {
486
+ 403: `Permission denied`,
487
+ },
488
+ });
489
+ }
490
+ /**
491
+ * Create fallback LLM configuration
492
+ *
493
+ * Create a new fallback LLM configuration.
494
+ *
495
+ * - For model scope: specify source_model_name
496
+ * - For provider scope: only source_provider_name is needed
497
+ * - Leave tenant_key empty for global configuration
498
+ *
499
+ * @returns FallbackLLM
500
+ * @throws ApiError
501
+ */
502
+ public static aiAccountOrgsFallbackLlmCreate({
503
+ org,
504
+ requestBody,
505
+ }: {
506
+ org: string,
507
+ requestBody: FallbackLLMCreate,
508
+ }): CancelablePromise<FallbackLLM> {
509
+ return __request(OpenAPI, {
510
+ method: 'POST',
511
+ url: '/api/ai-account/orgs/{org}/fallback-llm/',
512
+ path: {
513
+ 'org': org,
514
+ },
515
+ body: requestBody,
516
+ mediaType: 'application/json',
517
+ errors: {
518
+ 400: `Validation error`,
519
+ 403: `Permission denied`,
520
+ },
521
+ });
522
+ }
523
+ /**
524
+ * Get fallback LLM configuration
525
+ * Retrieve a specific fallback LLM configuration.
526
+ * @returns FallbackLLM
527
+ * @throws ApiError
528
+ */
529
+ public static aiAccountOrgsFallbackLlmRetrieve({
530
+ id,
531
+ org,
532
+ }: {
533
+ id: string,
534
+ org: string,
535
+ }): CancelablePromise<FallbackLLM> {
536
+ return __request(OpenAPI, {
537
+ method: 'GET',
538
+ url: '/api/ai-account/orgs/{org}/fallback-llm/{id}/',
539
+ path: {
540
+ 'id': id,
541
+ 'org': org,
542
+ },
543
+ errors: {
544
+ 403: `Permission denied`,
545
+ 404: `Not found`,
546
+ },
547
+ });
548
+ }
549
+ /**
550
+ * Update fallback LLM configuration
551
+ * Update an existing fallback LLM configuration.
552
+ * @returns FallbackLLM
553
+ * @throws ApiError
554
+ */
555
+ public static aiAccountOrgsFallbackLlmUpdate({
556
+ id,
557
+ org,
558
+ requestBody,
559
+ }: {
560
+ id: string,
561
+ org: string,
562
+ requestBody: FallbackLLMUpdate,
563
+ }): CancelablePromise<FallbackLLM> {
564
+ return __request(OpenAPI, {
565
+ method: 'PUT',
566
+ url: '/api/ai-account/orgs/{org}/fallback-llm/{id}/',
567
+ path: {
568
+ 'id': id,
569
+ 'org': org,
570
+ },
571
+ body: requestBody,
572
+ mediaType: 'application/json',
573
+ errors: {
574
+ 400: `Validation error`,
575
+ 403: `Permission denied`,
576
+ 404: `Not found`,
577
+ },
578
+ });
579
+ }
580
+ /**
581
+ * Partially update fallback LLM configuration
582
+ * Partially update an existing fallback LLM configuration.
583
+ * @returns FallbackLLM
584
+ * @throws ApiError
585
+ */
586
+ public static aiAccountOrgsFallbackLlmPartialUpdate({
587
+ id,
588
+ org,
589
+ requestBody,
590
+ }: {
591
+ id: string,
592
+ org: string,
593
+ requestBody?: PatchedFallbackLLMUpdate,
594
+ }): CancelablePromise<FallbackLLM> {
595
+ return __request(OpenAPI, {
596
+ method: 'PATCH',
597
+ url: '/api/ai-account/orgs/{org}/fallback-llm/{id}/',
598
+ path: {
599
+ 'id': id,
600
+ 'org': org,
601
+ },
602
+ body: requestBody,
603
+ mediaType: 'application/json',
604
+ errors: {
605
+ 400: `Validation error`,
606
+ 403: `Permission denied`,
607
+ 404: `Not found`,
608
+ },
609
+ });
610
+ }
611
+ /**
612
+ * Delete fallback LLM configuration
613
+ * Delete a fallback LLM configuration.
614
+ * @returns void
615
+ * @throws ApiError
616
+ */
617
+ public static aiAccountOrgsFallbackLlmDestroy({
618
+ id,
619
+ org,
620
+ }: {
621
+ id: string,
622
+ org: string,
623
+ }): CancelablePromise<void> {
624
+ return __request(OpenAPI, {
625
+ method: 'DELETE',
626
+ url: '/api/ai-account/orgs/{org}/fallback-llm/{id}/',
627
+ path: {
628
+ 'id': id,
629
+ 'org': org,
630
+ },
631
+ errors: {
632
+ 403: `Permission denied`,
633
+ 404: `Not found`,
634
+ },
635
+ });
636
+ }
637
+ /**
638
+ * Retrieve integration credentials for an organization.
639
+ *
640
+ * Query Parameters:
641
+ * name (optional): Filter results by integration service name
642
+ * unmask_sensitive_fields (optional, bool, default False):
643
+ * If true and the requester is a platform admin for ``org``,
644
+ * returns full unmasked credential values. Restricted to
645
+ * credentials owned by the requested tenant — the ``main``
646
+ * platform fallback is suppressed when unmasking, so admins
647
+ * cannot read another tenant's or the global ``main``
648
+ * credentials unmasked. Silently ignored for non-admins;
649
+ * students never receive sensitive fields regardless of this
650
+ * flag.
651
+ *
652
+ * Args:
653
+ * request: The HTTP request
654
+ * org: Organization key identifier
655
+ *
656
+ * Returns:
657
+ * Response: List of integration credentials for the organization.
658
+ * The response shape differs by caller role:
659
+ * - Admins: every credential on the platform, with sensitive
660
+ * fields masked (``AdminIntegrationCredentialSerializer`` →
661
+ * ``IntegrationCredential.masked_value``).
662
+ * - Students: only credentials whose schema declares at least
663
+ * one non-sensitive field; sensitive fields are removed
664
+ * entirely from each value
665
+ * (``StudentIntegrationCredentialSerializer`` →
666
+ * ``IntegrationCredential.value``). Visibility is determined
667
+ * by ``IntegrationCredential.is_student_visible()`` — schema-
668
+ * driven, not a hardcoded provider list.
669
+ * If the tenant has no credentials of its own and
670
+ * ``ALLOW_TENANTS_TO_USE_MAIN_LLM_CREDENTIALS`` is enabled, the
671
+ * view falls back to ``platform__key="main"`` credentials,
672
+ * subject to the same role-based filtering.
673
+ *
674
+ * Raises:
675
+ * NotFound: When organization is not found or when no credentials match the filters
676
+ * ValidationError: When query parameters are invalid
677
+ * @returns AdminIntegrationCredential
678
+ * @throws ApiError
679
+ */
680
+ public static aiAccountOrgsIntegrationCredentialList({
681
+ org,
682
+ name,
683
+ unmaskSensitiveFields = false,
684
+ }: {
685
+ org: string,
686
+ /**
687
+ * Filter credentials by provider name (e.g., 'openai', 'google')
688
+ */
689
+ name?: string,
690
+ /**
691
+ * If true and the requester is a platform admin for the org, returns full unmasked credential values. Restricted to credentials owned by the requested tenant (no main-platform fallback when unmasking). Ignored for non-admins.
692
+ */
693
+ unmaskSensitiveFields?: boolean,
694
+ }): CancelablePromise<Array<AdminIntegrationCredential>> {
695
+ return __request(OpenAPI, {
696
+ method: 'GET',
697
+ url: '/api/ai-account/orgs/{org}/integration-credential/',
698
+ path: {
699
+ 'org': org,
700
+ },
701
+ query: {
702
+ 'name': name,
703
+ 'unmask_sensitive_fields': unmaskSensitiveFields,
704
+ },
705
+ });
706
+ }
707
+ /**
708
+ * Create a new integration credential for an organization.
709
+ *
710
+ * Args:
711
+ * request: The HTTP request containing credential information
712
+ * org: Organization key identifier
713
+ *
714
+ * Returns:
715
+ * Response: Created integration credential
716
+ *
717
+ * Raises:
718
+ * NotFound: When organization is not found
719
+ * ValidationError: When request data is invalid
720
+ * @returns IntegrationCredential
721
+ * @throws ApiError
722
+ */
723
+ public static aiAccountOrgsIntegrationCredentialCreate({
724
+ org,
725
+ requestBody,
726
+ }: {
727
+ org: string,
728
+ requestBody: CredentialRequest,
729
+ }): CancelablePromise<IntegrationCredential> {
730
+ return __request(OpenAPI, {
731
+ method: 'POST',
732
+ url: '/api/ai-account/orgs/{org}/integration-credential/',
733
+ path: {
734
+ 'org': org,
735
+ },
736
+ body: requestBody,
737
+ mediaType: 'application/json',
738
+ });
739
+ }
740
+ /**
741
+ * Update an existing integration credential for an organization.
742
+ *
743
+ * Args:
744
+ * request: The HTTP request containing updated credential information
745
+ * org: Organization key identifier
746
+ *
747
+ * Returns:
748
+ * Response: Updated integration credential
749
+ *
750
+ * Raises:
751
+ * NotFound: When organization or credential is not found
752
+ * ValidationError: When request data is invalid
753
+ * @returns IntegrationCredential
754
+ * @throws ApiError
755
+ */
756
+ public static aiAccountOrgsIntegrationCredentialPartialUpdate({
757
+ org,
758
+ requestBody,
759
+ }: {
760
+ org: string,
761
+ requestBody?: PatchedCredentialRequest,
762
+ }): CancelablePromise<IntegrationCredential> {
763
+ return __request(OpenAPI, {
764
+ method: 'PATCH',
765
+ url: '/api/ai-account/orgs/{org}/integration-credential/',
766
+ path: {
767
+ 'org': org,
768
+ },
769
+ body: requestBody,
770
+ mediaType: 'application/json',
771
+ });
772
+ }
773
+ /**
774
+ * Delete an existing integration credential for an organization.
775
+ *
776
+ * Args:
777
+ * request: The HTTP request containing credential information (must include 'name')
778
+ * org: Organization key identifier
779
+ *
780
+ * Returns:
781
+ * Response: 204
782
+ *
783
+ * Raises:
784
+ * NotFound: When organization or credential is not found
785
+ * ValidationError: When request data is invalid
786
+ * @returns void
787
+ * @throws ApiError
788
+ */
789
+ public static aiAccountOrgsIntegrationCredentialDestroy({
790
+ org,
791
+ }: {
792
+ org: string,
793
+ }): CancelablePromise<void> {
794
+ return __request(OpenAPI, {
795
+ method: 'DELETE',
796
+ url: '/api/ai-account/orgs/{org}/integration-credential/',
797
+ path: {
798
+ 'org': org,
799
+ },
800
+ });
801
+ }
802
+ /**
803
+ * @deprecated
804
+ * Retrieve integration credentials schema (deprecated v1 shape).
805
+ *
806
+ * Query Parameters:
807
+ * name (optional): Filter results by integration service name
808
+ *
809
+ * Args:
810
+ * request: The HTTP request
811
+ * org: Organization key identifier
812
+ *
813
+ * Returns:
814
+ * Response: List of integration credentials schema in v1 shape with
815
+ * ``Deprecation`` and ``Link`` headers pointing to the v2 endpoint.
816
+ * @returns IntegrationCredentialSchema
817
+ * @throws ApiError
818
+ */
819
+ public static aiAccountOrgsIntegrationCredentialSchemaRetrieve({
820
+ org,
821
+ name,
822
+ unmaskSensitiveFields = false,
823
+ }: {
824
+ org: string,
825
+ /**
826
+ * Filter credentials by provider name (e.g., 'openai', 'google')
827
+ */
828
+ name?: string,
829
+ /**
830
+ * If true and the requester is a platform admin for the org, returns full unmasked credential values. Restricted to credentials owned by the requested tenant (no main-platform fallback when unmasking). Ignored for non-admins.
831
+ */
832
+ unmaskSensitiveFields?: boolean,
833
+ }): CancelablePromise<IntegrationCredentialSchema> {
834
+ return __request(OpenAPI, {
835
+ method: 'GET',
836
+ url: '/api/ai-account/orgs/{org}/integration-credential/schema/',
837
+ path: {
838
+ 'org': org,
839
+ },
840
+ query: {
841
+ 'name': name,
842
+ 'unmask_sensitive_fields': unmaskSensitiveFields,
843
+ },
844
+ });
845
+ }
846
+ /**
847
+ * Retrieve LLM credentials for an organization.
848
+ *
849
+ * Query Parameters:
850
+ * name (optional): Filter results by LLM provider name.
851
+ * When name=google, returns both 'google' (service account) and
852
+ * 'gemini_google_api_key' credentials if they exist.
853
+ * unmask_sensitive_fields (optional, bool, default False):
854
+ * If true, returns the raw unmasked credential value. Restricted
855
+ * to credentials owned by the requested tenant — the
856
+ * ``GlobalCredential`` fallback is suppressed when unmasking,
857
+ * and the response is ``[]`` instead of 404 if the tenant has
858
+ * no own credentials.
859
+ *
860
+ * Args:
861
+ * request: The HTTP request
862
+ * org: Organization key identifier
863
+ *
864
+ * Returns:
865
+ * Response: List of LLM credentials for the organization. Values
866
+ * are masked by default; unmasked when ``unmask_sensitive_fields=true``
867
+ * and the credential belongs to the tenant.
868
+ *
869
+ * Raises:
870
+ * NotFound: When organization is not found, or (in default masked
871
+ * mode) when no credentials match the filters even after the
872
+ * global-credential fallback.
873
+ * ValidationError: When query parameters are invalid
874
+ * @returns LLMCredentialResponse
875
+ * @throws ApiError
876
+ */
877
+ public static aiAccountOrgsLlmCredentialRetrieve({
878
+ org,
879
+ name,
880
+ unmaskSensitiveFields = false,
881
+ }: {
882
+ org: string,
883
+ /**
884
+ * Filter credentials by provider name (e.g., 'openai', 'google')
885
+ */
886
+ name?: string,
887
+ /**
888
+ * If true and the requester is a platform admin for the org, returns full unmasked credential values. Restricted to credentials owned by the requested tenant (no main-platform fallback when unmasking). Ignored for non-admins.
889
+ */
890
+ unmaskSensitiveFields?: boolean,
891
+ }): CancelablePromise<LLMCredentialResponse> {
892
+ return __request(OpenAPI, {
893
+ method: 'GET',
894
+ url: '/api/ai-account/orgs/{org}/llm-credential/',
895
+ path: {
896
+ 'org': org,
897
+ },
898
+ query: {
899
+ 'name': name,
900
+ 'unmask_sensitive_fields': unmaskSensitiveFields,
901
+ },
902
+ });
903
+ }
904
+ /**
905
+ * Create a new LLM credential for an organization.
906
+ *
907
+ * For azure_openai credentials, if credential already exists, merges the new
908
+ * models with existing ones instead of replacing.
909
+ *
910
+ * Args:
911
+ * request: The HTTP request containing credential information
912
+ * org: Organization key identifier
913
+ *
914
+ * Returns:
915
+ * Response: Created or updated LLM credential
916
+ *
917
+ * Raises:
918
+ * NotFound: When organization is not found
919
+ * ValidationError: When request data is invalid
920
+ * @returns LLMCredentialResponse
921
+ * @throws ApiError
922
+ */
923
+ public static aiAccountOrgsLlmCredentialCreate({
924
+ org,
925
+ requestBody,
926
+ }: {
927
+ org: string,
928
+ requestBody: LLMCredentialRequest,
929
+ }): CancelablePromise<LLMCredentialResponse> {
930
+ return __request(OpenAPI, {
931
+ method: 'POST',
932
+ url: '/api/ai-account/orgs/{org}/llm-credential/',
933
+ path: {
934
+ 'org': org,
935
+ },
936
+ body: requestBody,
937
+ mediaType: 'application/json',
938
+ });
939
+ }
940
+ /**
941
+ * Update an existing LLM credential for an organization.
942
+ *
943
+ * For azure_openai credentials, supports partial model updates by deep merging
944
+ * the provided model fields with existing ones.
945
+ *
946
+ * Args:
947
+ * request: The HTTP request containing updated credential information
948
+ * org: Organization key identifier
949
+ *
950
+ * Returns:
951
+ * Response: Updated LLM credential
952
+ *
953
+ * Raises:
954
+ * NotFound: When organization or credential is not found
955
+ * ValidationError: When request data is invalid
956
+ * @returns LLMCredentialResponse
957
+ * @throws ApiError
958
+ */
959
+ public static aiAccountOrgsLlmCredentialPartialUpdate({
960
+ org,
961
+ requestBody,
962
+ }: {
963
+ org: string,
964
+ requestBody?: PatchedLLMCredentialRequest,
965
+ }): CancelablePromise<LLMCredentialResponse> {
966
+ return __request(OpenAPI, {
967
+ method: 'PATCH',
968
+ url: '/api/ai-account/orgs/{org}/llm-credential/',
969
+ path: {
970
+ 'org': org,
971
+ },
972
+ body: requestBody,
973
+ mediaType: 'application/json',
974
+ });
975
+ }
976
+ /**
977
+ * Delete an existing LLM credential for an organization.
978
+ *
979
+ * For azure_openai credentials, supports deleting a specific model by providing
980
+ * the 'model_name' field. If model_name is omitted, deletes the entire credential.
981
+ *
982
+ * Args:
983
+ * request: The HTTP request containing credential information (must include 'name')
984
+ * org: Organization key identifier
985
+ *
986
+ * Returns:
987
+ * Response: 204
988
+ *
989
+ * Raises:
990
+ * NotFound: When organization or credential is not found
991
+ * ValidationError: When request data is invalid
992
+ * @returns void
993
+ * @throws ApiError
994
+ */
995
+ public static aiAccountOrgsLlmCredentialDestroy({
996
+ org,
997
+ }: {
998
+ org: string,
999
+ }): CancelablePromise<void> {
1000
+ return __request(OpenAPI, {
1001
+ method: 'DELETE',
1002
+ url: '/api/ai-account/orgs/{org}/llm-credential/',
1003
+ path: {
1004
+ 'org': org,
1005
+ },
1006
+ });
1007
+ }
1008
+ /**
1009
+ * Retrieve masked integration credentials for an organization.
1010
+ *
1011
+ * Query Parameters:
1012
+ * name (optional): Filter results by integration service name
1013
+ *
1014
+ * Args:
1015
+ * request: The HTTP request
1016
+ * org: Organization key identifier
1017
+ *
1018
+ * Returns:
1019
+ * Response: List of integration credentials for the organization
1020
+ *
1021
+ * Raises:
1022
+ * NotFound: When organization is not found or when no credentials match the filters
1023
+ * ValidationError: When query parameters are invalid
1024
+ * @returns MaskedIntegrationCredential
1025
+ * @throws ApiError
1026
+ */
1027
+ public static aiAccountOrgsMaskedIntegrationCredentialList({
1028
+ org,
1029
+ name,
1030
+ unmaskSensitiveFields = false,
1031
+ }: {
1032
+ org: string,
1033
+ /**
1034
+ * Filter credentials by provider name (e.g., 'openai', 'google')
1035
+ */
1036
+ name?: string,
1037
+ /**
1038
+ * If true and the requester is a platform admin for the org, returns full unmasked credential values. Restricted to credentials owned by the requested tenant (no main-platform fallback when unmasking). Ignored for non-admins.
1039
+ */
1040
+ unmaskSensitiveFields?: boolean,
1041
+ }): CancelablePromise<Array<MaskedIntegrationCredential>> {
1042
+ return __request(OpenAPI, {
1043
+ method: 'GET',
1044
+ url: '/api/ai-account/orgs/{org}/masked-integration-credential/',
1045
+ path: {
1046
+ 'org': org,
1047
+ },
1048
+ query: {
1049
+ 'name': name,
1050
+ 'unmask_sensitive_fields': unmaskSensitiveFields,
1051
+ },
1052
+ });
1053
+ }
1054
+ /**
1055
+ * Retrieve LLM credentials for an organization with the value entries masked.
1056
+ *
1057
+ * Query Parameters:
1058
+ * name (optional): Filter results by LLM provider name
1059
+ *
1060
+ * Args:
1061
+ * request: The HTTP request
1062
+ * org: Organization key identifier
1063
+ *
1064
+ * Returns:
1065
+ * Response: List of LLM credentials for the organization
1066
+ *
1067
+ * Raises:
1068
+ * NotFound: When organization is not found or when no credentials match the filters
1069
+ * ValidationError: When query parameters are invalid
1070
+ * @returns MaskedLLMCredential
1071
+ * @throws ApiError
1072
+ */
1073
+ public static aiAccountOrgsMaskedLlmCredentialRetrieve({
1074
+ org,
1075
+ name,
1076
+ unmaskSensitiveFields = false,
1077
+ }: {
1078
+ org: string,
1079
+ /**
1080
+ * Filter credentials by provider name (e.g., 'openai', 'google')
1081
+ */
1082
+ name?: string,
1083
+ /**
1084
+ * If true and the requester is a platform admin for the org, returns full unmasked credential values. Restricted to credentials owned by the requested tenant (no main-platform fallback when unmasking). Ignored for non-admins.
1085
+ */
1086
+ unmaskSensitiveFields?: boolean,
1087
+ }): CancelablePromise<MaskedLLMCredential> {
1088
+ return __request(OpenAPI, {
1089
+ method: 'GET',
1090
+ url: '/api/ai-account/orgs/{org}/masked-llm-credential/',
1091
+ path: {
1092
+ 'org': org,
1093
+ },
1094
+ query: {
1095
+ 'name': name,
1096
+ 'unmask_sensitive_fields': unmaskSensitiveFields,
1097
+ },
1098
+ });
1099
+ }
1100
+ /**
1101
+ * Return the list of OAuth services that can be used for connected services.
1102
+ *
1103
+ * Query Parameters:
1104
+ * name (optional): Filter by exact service name (case-insensitive).
1105
+ * include_disabled (optional): Set to `true` to include disabled services.
1106
+ * @returns OAuthProvider
1107
+ * @throws ApiError
1108
+ */
1109
+ public static aiAccountOrgsOauthServicesList({
1110
+ org,
1111
+ }: {
1112
+ org: string,
1113
+ }): CancelablePromise<Array<OAuthProvider>> {
1114
+ return __request(OpenAPI, {
1115
+ method: 'GET',
1116
+ url: '/api/ai-account/orgs/{org}/oauth-services/',
1117
+ path: {
1118
+ 'org': org,
1119
+ },
1120
+ });
1121
+ }
1122
+ /**
1123
+ * Return the available scopes for the specified OAuth service.
1124
+ *
1125
+ * Query Parameters:
1126
+ * include_disabled (optional): Set to `true` to include scopes from disabled services.
1127
+ * @returns OAuthService
1128
+ * @throws ApiError
1129
+ */
1130
+ public static aiAccountOrgsOauthServicesScopesList({
1131
+ org,
1132
+ serviceName,
1133
+ }: {
1134
+ org: string,
1135
+ serviceName: string,
1136
+ }): CancelablePromise<Array<OAuthService>> {
1137
+ return __request(OpenAPI, {
1138
+ method: 'GET',
1139
+ url: '/api/ai-account/orgs/{org}/oauth-services/{service_name}/scopes/',
1140
+ path: {
1141
+ 'org': org,
1142
+ 'service_name': serviceName,
1143
+ },
1144
+ });
1145
+ }
1146
+ /**
1147
+ * Enable or disable the use of main LLM credentials for an organization.
1148
+ *
1149
+ * Request Body:
1150
+ * enable (boolean): Set to true to enable main credentials
1151
+ * disable (boolean): Set to true to disable main credentials
1152
+ *
1153
+ * Args:
1154
+ * request: The HTTP request
1155
+ * org: Organization key identifier
1156
+ *
1157
+ * Returns:
1158
+ * Response: Confirmation message
1159
+ *
1160
+ * Raises:
1161
+ * ValidationError: When neither enable nor disable is specified
1162
+ * @returns any
1163
+ * @throws ApiError
1164
+ */
1165
+ public static aiAccountOrgsUseDefaultLlmKeyCreate({
1166
+ org,
1167
+ requestBody,
1168
+ }: {
1169
+ org: string,
1170
+ requestBody: UseMainCreds,
1171
+ }): CancelablePromise<{
1172
+ message?: string;
1173
+ }> {
1174
+ return __request(OpenAPI, {
1175
+ method: 'POST',
1176
+ url: '/api/ai-account/orgs/{org}/use-default-llm-key/',
1177
+ path: {
1178
+ 'org': org,
1179
+ },
1180
+ body: requestBody,
1181
+ mediaType: 'application/json',
1182
+ });
1183
+ }
1184
+ /**
1185
+ * Enable, disable, or update free trial settings for an organization.
1186
+ *
1187
+ * Request Body:
1188
+ * enable (boolean): Set to true to enable free trial
1189
+ * disable (boolean): Set to true to disable free trial
1190
+ * metadata (object, optional): Additional metadata for the free trial
1191
+ *
1192
+ * Args:
1193
+ * request: The HTTP request
1194
+ * org: Organization key identifier
1195
+ *
1196
+ * Returns:
1197
+ * Response: Confirmation message
1198
+ * @returns any No response body
1199
+ * @throws ApiError
1200
+ */
1201
+ public static aiAccountOrgsUseFreeTrialCreate({
1202
+ org,
1203
+ }: {
1204
+ org: string,
1205
+ }): CancelablePromise<any> {
1206
+ return __request(OpenAPI, {
1207
+ method: 'POST',
1208
+ url: '/api/ai-account/orgs/{org}/use-free-trial/',
1209
+ path: {
1210
+ 'org': org,
1211
+ },
1212
+ });
1213
+ }
1214
+ /**
1215
+ * Return whether the tenant allows user-controlled chat privacy.
1216
+ * @returns TenantChatPrivacyConfig Tenant chat-privacy configuration
1217
+ * @throws ApiError
1218
+ */
1219
+ public static aiAccountOrgsUsersChatPrivacyConfigRetrieve({
1220
+ org,
1221
+ userId,
1222
+ }: {
1223
+ org: string,
1224
+ userId: string,
1225
+ }): CancelablePromise<TenantChatPrivacyConfig> {
1226
+ return __request(OpenAPI, {
1227
+ method: 'GET',
1228
+ url: '/api/ai-account/orgs/{org}/users/{user_id}/chat-privacy-config/',
1229
+ path: {
1230
+ 'org': org,
1231
+ 'user_id': userId,
1232
+ },
1233
+ });
1234
+ }
1235
+ /**
1236
+ * Flip `ALLOW_USER_CHAT_PRIVACY_CONTROL` for the tenant. Admins only.
1237
+ * @returns TenantChatPrivacyConfig Updated tenant chat-privacy configuration
1238
+ * @throws ApiError
1239
+ */
1240
+ public static aiAccountOrgsUsersChatPrivacyConfigPartialUpdate({
1241
+ org,
1242
+ userId,
1243
+ requestBody,
1244
+ }: {
1245
+ org: string,
1246
+ userId: string,
1247
+ requestBody?: PatchedTenantChatPrivacyConfig,
1248
+ }): CancelablePromise<TenantChatPrivacyConfig> {
1249
+ return __request(OpenAPI, {
1250
+ method: 'PATCH',
1251
+ url: '/api/ai-account/orgs/{org}/users/{user_id}/chat-privacy-config/',
1252
+ path: {
1253
+ 'org': org,
1254
+ 'user_id': userId,
1255
+ },
1256
+ body: requestBody,
1257
+ mediaType: 'application/json',
1258
+ errors: {
1259
+ 400: `Invalid request body`,
1260
+ 403: `Caller is not a tenant admin`,
1261
+ },
1262
+ });
1263
+ }
1264
+ /**
1265
+ * Get the effective chat-privacy mode for the given (tenant, mentor,
1266
+ * user, session) tuple.
1267
+ *
1268
+ * Args:
1269
+ * request: HTTP request. Query params: `mentor` (unique_id, slug, or
1270
+ * name — unique_id tried first), `session` (uuid).
1271
+ * org: Platform key.
1272
+ * user_id: Username of the user whose effective mode is being resolved.
1273
+ * @returns any Effective chat privacy mode and source tier
1274
+ * @throws ApiError
1275
+ */
1276
+ public static aiAccountOrgsUsersChatPrivacyEffectiveRetrieve({
1277
+ org,
1278
+ userId,
1279
+ }: {
1280
+ org: string,
1281
+ userId: string,
1282
+ }): CancelablePromise<any> {
1283
+ return __request(OpenAPI, {
1284
+ method: 'GET',
1285
+ url: '/api/ai-account/orgs/{org}/users/{user_id}/chat-privacy-effective/',
1286
+ path: {
1287
+ 'org': org,
1288
+ 'user_id': userId,
1289
+ },
1290
+ errors: {
1291
+ 404: `User, mentor, or session not found`,
1292
+ },
1293
+ });
1294
+ }
1295
+ /**
1296
+ * Get user's global chat privacy settings.
1297
+ *
1298
+ * Returns the user's current chat privacy mode if the feature is enabled
1299
+ * for the platform, otherwise indicates the feature is disabled.
1300
+ * @returns any User chat privacy settings
1301
+ * @throws ApiError
1302
+ */
1303
+ public static aiAccountOrgsUsersChatPrivacySettingsRetrieve({
1304
+ org,
1305
+ userId,
1306
+ }: {
1307
+ org: string,
1308
+ userId: string,
1309
+ }): CancelablePromise<any> {
1310
+ return __request(OpenAPI, {
1311
+ method: 'GET',
1312
+ url: '/api/ai-account/orgs/{org}/users/{user_id}/chat-privacy-settings/',
1313
+ path: {
1314
+ 'org': org,
1315
+ 'user_id': userId,
1316
+ },
1317
+ });
1318
+ }
1319
+ /**
1320
+ * Update user's global chat privacy settings.
1321
+ *
1322
+ * Allows users to set their chat privacy preference (normal, anonymized, or disabled)
1323
+ * if the platform has enabled the ALLOW_USER_CHAT_PRIVACY_CONTROL setting.
1324
+ * @returns any Updated chat privacy settings
1325
+ * @throws ApiError
1326
+ */
1327
+ public static aiAccountOrgsUsersChatPrivacySettingsCreate({
1328
+ org,
1329
+ userId,
1330
+ requestBody,
1331
+ }: {
1332
+ org: string,
1333
+ userId: string,
1334
+ requestBody?: UserChatPrivacySettings,
1335
+ }): CancelablePromise<any> {
1336
+ return __request(OpenAPI, {
1337
+ method: 'POST',
1338
+ url: '/api/ai-account/orgs/{org}/users/{user_id}/chat-privacy-settings/',
1339
+ path: {
1340
+ 'org': org,
1341
+ 'user_id': userId,
1342
+ },
1343
+ body: requestBody,
1344
+ mediaType: 'application/json',
1345
+ errors: {
1346
+ 400: `Feature not enabled or invalid request`,
1347
+ },
1348
+ });
1349
+ }
1350
+ /**
1351
+ * Retrieve the status of main LLM credential usage for an organization.
1352
+ *
1353
+ * Args:
1354
+ * request: The HTTP request
1355
+ * org: Organization key identifier
1356
+ * user_id: User identifier
1357
+ *
1358
+ * Returns:
1359
+ * Response: Status of main LLM credential usage
1360
+ * @returns any No response body
1361
+ * @throws ApiError
1362
+ */
1363
+ public static aiAccountOrgsUsersDefaultLlmKeyUsageRetrieve({
1364
+ org,
1365
+ userId,
1366
+ }: {
1367
+ org: string,
1368
+ userId: string,
1369
+ }): CancelablePromise<any> {
1370
+ return __request(OpenAPI, {
1371
+ method: 'GET',
1372
+ url: '/api/ai-account/orgs/{org}/users/{user_id}/default-llm-key-usage',
1373
+ path: {
1374
+ 'org': org,
1375
+ 'user_id': userId,
1376
+ },
1377
+ });
1378
+ }
1379
+ /**
1380
+ * Retrieve the free trial status for an organization.
1381
+ *
1382
+ * Args:
1383
+ * request: The HTTP request
1384
+ * org: Organization key identifier
1385
+ *
1386
+ * Returns:
1387
+ * Response: Free trial status (boolean)
1388
+ *
1389
+ * Raises:
1390
+ * NotFound: When organization is not found
1391
+ * @returns any
1392
+ * @throws ApiError
1393
+ */
1394
+ public static aiAccountOrgsUsersFreeTrialRetrieve({
1395
+ org,
1396
+ userId,
1397
+ }: {
1398
+ org: string,
1399
+ userId: string,
1400
+ }): CancelablePromise<{
1401
+ is_in_free_trial?: boolean;
1402
+ }> {
1403
+ return __request(OpenAPI, {
1404
+ method: 'GET',
1405
+ url: '/api/ai-account/orgs/{org}/users/{user_id}/free-trial',
1406
+ path: {
1407
+ 'org': org,
1408
+ 'user_id': userId,
1409
+ },
1410
+ });
1411
+ }
1412
+ /**
1413
+ * Named egress allowlists a tenant admin reuses across mentors.
1414
+ *
1415
+ * A policy is platform-scoped and bound to a mentor through the settings
1416
+ * endpoint (``virtual_machine_network_policy_id`` under
1417
+ * ``virtual_machine_egress='custom'``). The hosts are sent to the sandbox
1418
+ * inline on each session create; the control plane holds no copy.
1419
+ *
1420
+ * RBAC:
1421
+ * - ``Ibl.Mentor/VirtualMachineNetworkPolicies/list``
1422
+ * - ``Ibl.Mentor/VirtualMachineNetworkPolicies/write`` — create/update
1423
+ * - ``Ibl.Mentor/VirtualMachineNetworkPolicies/delete``
1424
+ * @returns any No response body
1425
+ * @throws ApiError
1426
+ */
1427
+ public static aiAccountOrgsVirtualMachineNetworkPolicyRetrieve({
1428
+ org,
1429
+ }: {
1430
+ org: string,
1431
+ }): CancelablePromise<any> {
1432
+ return __request(OpenAPI, {
1433
+ method: 'GET',
1434
+ url: '/api/ai-account/orgs/{org}/virtual-machine-network-policy/',
1435
+ path: {
1436
+ 'org': org,
1437
+ },
1438
+ });
1439
+ }
1440
+ /**
1441
+ * Named egress allowlists a tenant admin reuses across mentors.
1442
+ *
1443
+ * A policy is platform-scoped and bound to a mentor through the settings
1444
+ * endpoint (``virtual_machine_network_policy_id`` under
1445
+ * ``virtual_machine_egress='custom'``). The hosts are sent to the sandbox
1446
+ * inline on each session create; the control plane holds no copy.
1447
+ *
1448
+ * RBAC:
1449
+ * - ``Ibl.Mentor/VirtualMachineNetworkPolicies/list``
1450
+ * - ``Ibl.Mentor/VirtualMachineNetworkPolicies/write`` — create/update
1451
+ * - ``Ibl.Mentor/VirtualMachineNetworkPolicies/delete``
1452
+ * @returns any No response body
1453
+ * @throws ApiError
1454
+ */
1455
+ public static aiAccountOrgsVirtualMachineNetworkPolicyCreate({
1456
+ org,
1457
+ }: {
1458
+ org: string,
1459
+ }): CancelablePromise<any> {
1460
+ return __request(OpenAPI, {
1461
+ method: 'POST',
1462
+ url: '/api/ai-account/orgs/{org}/virtual-machine-network-policy/',
1463
+ path: {
1464
+ 'org': org,
1465
+ },
1466
+ });
1467
+ }
1468
+ /**
1469
+ * Named egress allowlists a tenant admin reuses across mentors.
1470
+ *
1471
+ * A policy is platform-scoped and bound to a mentor through the settings
1472
+ * endpoint (``virtual_machine_network_policy_id`` under
1473
+ * ``virtual_machine_egress='custom'``). The hosts are sent to the sandbox
1474
+ * inline on each session create; the control plane holds no copy.
1475
+ *
1476
+ * RBAC:
1477
+ * - ``Ibl.Mentor/VirtualMachineNetworkPolicies/list``
1478
+ * - ``Ibl.Mentor/VirtualMachineNetworkPolicies/write`` — create/update
1479
+ * - ``Ibl.Mentor/VirtualMachineNetworkPolicies/delete``
1480
+ * @returns any No response body
1481
+ * @throws ApiError
1482
+ */
1483
+ public static aiAccountOrgsVirtualMachineNetworkPolicyPartialUpdate({
1484
+ org,
1485
+ }: {
1486
+ org: string,
1487
+ }): CancelablePromise<any> {
1488
+ return __request(OpenAPI, {
1489
+ method: 'PATCH',
1490
+ url: '/api/ai-account/orgs/{org}/virtual-machine-network-policy/',
1491
+ path: {
1492
+ 'org': org,
1493
+ },
1494
+ });
1495
+ }
1496
+ /**
1497
+ * Named egress allowlists a tenant admin reuses across mentors.
1498
+ *
1499
+ * A policy is platform-scoped and bound to a mentor through the settings
1500
+ * endpoint (``virtual_machine_network_policy_id`` under
1501
+ * ``virtual_machine_egress='custom'``). The hosts are sent to the sandbox
1502
+ * inline on each session create; the control plane holds no copy.
1503
+ *
1504
+ * RBAC:
1505
+ * - ``Ibl.Mentor/VirtualMachineNetworkPolicies/list``
1506
+ * - ``Ibl.Mentor/VirtualMachineNetworkPolicies/write`` — create/update
1507
+ * - ``Ibl.Mentor/VirtualMachineNetworkPolicies/delete``
1508
+ * @returns void
1509
+ * @throws ApiError
1510
+ */
1511
+ public static aiAccountOrgsVirtualMachineNetworkPolicyDestroy({
1512
+ org,
1513
+ }: {
1514
+ org: string,
1515
+ }): CancelablePromise<void> {
1516
+ return __request(OpenAPI, {
1517
+ method: 'DELETE',
1518
+ url: '/api/ai-account/orgs/{org}/virtual-machine-network-policy/',
1519
+ path: {
1520
+ 'org': org,
1521
+ },
1522
+ });
1523
+ }
1524
+ /**
1525
+ * Manage the credentials a mentor's VM may use without being able to read them.
1526
+ *
1527
+ * The value is write-only in the strongest sense: it is accepted on create and
1528
+ * update and is returned by nothing. There is deliberately no unmask action to
1529
+ * grant — unlike ``IntegrationCredentialAPIView`` there is no read capability
1530
+ * at all, so there is none to gate.
1531
+ *
1532
+ * ``token_policies_enabled`` stays off for the same reason: the whole premise
1533
+ * is that no token, anywhere, can fetch these. Only DM resolves them, and only
1534
+ * server-side, straight onto the sandbox session-create call.
1535
+ *
1536
+ * RBAC:
1537
+ * - ``Ibl.Mentor/VirtualMachineSecrets/list`` — read the configured set
1538
+ * - ``Ibl.Mentor/VirtualMachineSecrets/write`` — create/update
1539
+ * - ``Ibl.Mentor/VirtualMachineSecrets/delete`` — delete
1540
+ * @returns any No response body
1541
+ * @throws ApiError
1542
+ */
1543
+ public static aiAccountOrgsVirtualMachineSecretRetrieve({
1544
+ org,
1545
+ }: {
1546
+ org: string,
1547
+ }): CancelablePromise<any> {
1548
+ return __request(OpenAPI, {
1549
+ method: 'GET',
1550
+ url: '/api/ai-account/orgs/{org}/virtual-machine-secret/',
1551
+ path: {
1552
+ 'org': org,
1553
+ },
1554
+ });
1555
+ }
1556
+ /**
1557
+ * Manage the credentials a mentor's VM may use without being able to read them.
1558
+ *
1559
+ * The value is write-only in the strongest sense: it is accepted on create and
1560
+ * update and is returned by nothing. There is deliberately no unmask action to
1561
+ * grant — unlike ``IntegrationCredentialAPIView`` there is no read capability
1562
+ * at all, so there is none to gate.
1563
+ *
1564
+ * ``token_policies_enabled`` stays off for the same reason: the whole premise
1565
+ * is that no token, anywhere, can fetch these. Only DM resolves them, and only
1566
+ * server-side, straight onto the sandbox session-create call.
1567
+ *
1568
+ * RBAC:
1569
+ * - ``Ibl.Mentor/VirtualMachineSecrets/list`` — read the configured set
1570
+ * - ``Ibl.Mentor/VirtualMachineSecrets/write`` — create/update
1571
+ * - ``Ibl.Mentor/VirtualMachineSecrets/delete`` — delete
1572
+ * @returns any No response body
1573
+ * @throws ApiError
1574
+ */
1575
+ public static aiAccountOrgsVirtualMachineSecretCreate({
1576
+ org,
1577
+ }: {
1578
+ org: string,
1579
+ }): CancelablePromise<any> {
1580
+ return __request(OpenAPI, {
1581
+ method: 'POST',
1582
+ url: '/api/ai-account/orgs/{org}/virtual-machine-secret/',
1583
+ path: {
1584
+ 'org': org,
1585
+ },
1586
+ });
1587
+ }
1588
+ /**
1589
+ * Manage the credentials a mentor's VM may use without being able to read them.
1590
+ *
1591
+ * The value is write-only in the strongest sense: it is accepted on create and
1592
+ * update and is returned by nothing. There is deliberately no unmask action to
1593
+ * grant — unlike ``IntegrationCredentialAPIView`` there is no read capability
1594
+ * at all, so there is none to gate.
1595
+ *
1596
+ * ``token_policies_enabled`` stays off for the same reason: the whole premise
1597
+ * is that no token, anywhere, can fetch these. Only DM resolves them, and only
1598
+ * server-side, straight onto the sandbox session-create call.
1599
+ *
1600
+ * RBAC:
1601
+ * - ``Ibl.Mentor/VirtualMachineSecrets/list`` — read the configured set
1602
+ * - ``Ibl.Mentor/VirtualMachineSecrets/write`` — create/update
1603
+ * - ``Ibl.Mentor/VirtualMachineSecrets/delete`` — delete
1604
+ * @returns any No response body
1605
+ * @throws ApiError
1606
+ */
1607
+ public static aiAccountOrgsVirtualMachineSecretPartialUpdate({
1608
+ org,
1609
+ }: {
1610
+ org: string,
1611
+ }): CancelablePromise<any> {
1612
+ return __request(OpenAPI, {
1613
+ method: 'PATCH',
1614
+ url: '/api/ai-account/orgs/{org}/virtual-machine-secret/',
1615
+ path: {
1616
+ 'org': org,
1617
+ },
1618
+ });
1619
+ }
1620
+ /**
1621
+ * Manage the credentials a mentor's VM may use without being able to read them.
1622
+ *
1623
+ * The value is write-only in the strongest sense: it is accepted on create and
1624
+ * update and is returned by nothing. There is deliberately no unmask action to
1625
+ * grant — unlike ``IntegrationCredentialAPIView`` there is no read capability
1626
+ * at all, so there is none to gate.
1627
+ *
1628
+ * ``token_policies_enabled`` stays off for the same reason: the whole premise
1629
+ * is that no token, anywhere, can fetch these. Only DM resolves them, and only
1630
+ * server-side, straight onto the sandbox session-create call.
1631
+ *
1632
+ * RBAC:
1633
+ * - ``Ibl.Mentor/VirtualMachineSecrets/list`` — read the configured set
1634
+ * - ``Ibl.Mentor/VirtualMachineSecrets/write`` — create/update
1635
+ * - ``Ibl.Mentor/VirtualMachineSecrets/delete`` — delete
1636
+ * @returns void
1637
+ * @throws ApiError
1638
+ */
1639
+ public static aiAccountOrgsVirtualMachineSecretDestroy({
1640
+ org,
1641
+ }: {
1642
+ org: string,
1643
+ }): CancelablePromise<void> {
1644
+ return __request(OpenAPI, {
1645
+ method: 'DELETE',
1646
+ url: '/api/ai-account/orgs/{org}/virtual-machine-secret/',
1647
+ path: {
1648
+ 'org': org,
1649
+ },
1650
+ });
1651
+ }
1652
+ /**
1653
+ * Stripe Connect OAuth callback
1654
+ * Stripe's OAuth return.
1655
+ *
1656
+ * Unauthenticated by design — the browser arrives from Stripe with no token
1657
+ * (the Google connector's callback works the same way); identity, platform
1658
+ * and where to send the browser next all come from the single-use state (a DB
1659
+ * row, or a cache entry before migration 0373) minted by
1660
+ * ``StripeConnectView.post``. Nothing here trusts the query beyond that state,
1661
+ * and the code is exchanged at most once.
1662
+ * @returns void
1663
+ * @throws ApiError
1664
+ */
1665
+ public static aiAccountStripeConnectCallback({
1666
+ state,
1667
+ code,
1668
+ error,
1669
+ errorDescription,
1670
+ }: {
1671
+ state: string,
1672
+ code?: string,
1673
+ error?: string,
1674
+ errorDescription?: string,
1675
+ }): CancelablePromise<void> {
1676
+ return __request(OpenAPI, {
1677
+ method: 'GET',
1678
+ url: '/api/ai-account/stripe-connect/callback/',
1679
+ query: {
1680
+ 'code': code,
1681
+ 'error': error,
1682
+ 'error_description': errorDescription,
1683
+ 'state': state,
1684
+ },
1685
+ errors: {
1686
+ 302: `Redirect to the app's return_url with \`?stripe_connect=connected\` or \`?stripe_connect=error&reason=<code>\``,
1687
+ 400: `Unknown, expired or already used state`,
1688
+ },
1689
+ });
1690
+ }
1691
+ }