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