@iblai/iblai-api 4.434.0-ai → 4.435.0-core

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