@iblai/iblai-api 2025.12.4-filtered-memories-fix-test-ai → 2025.12.4-memory-filter-fix-test-ai
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +324 -2245
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +324 -2245
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +324 -2245
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +6 -49
- package/dist/types/models/AccessibleMentorsByEmailRequest.d.ts +2 -2
- package/dist/types/models/AccessibleMentorsByEmailResponse.d.ts +2 -2
- package/dist/types/models/CallConfiguration.d.ts +3 -7
- package/dist/types/models/ChatHistory.d.ts +0 -3
- package/dist/types/models/ChatSessionRequest.d.ts +0 -1
- package/dist/types/models/ChatSessionResponse.d.ts +0 -3
- package/dist/types/models/ConnectedService.d.ts +5 -18
- package/dist/types/models/ConnectedServiceProviderEnum.d.ts +6 -0
- package/dist/types/models/Conversations.d.ts +0 -10
- package/dist/types/models/Disclaimer.d.ts +2 -2
- package/dist/types/models/LlmProviderEnum.d.ts +1 -3
- package/dist/types/models/MCPServer.d.ts +1 -30
- package/dist/types/models/Mentor.d.ts +0 -20
- package/dist/types/models/MentorCreate.d.ts +0 -16
- package/dist/types/models/MentorFromTemplateWithSettingRequest.d.ts +0 -5
- package/dist/types/models/MentorSettings.d.ts +1 -13
- package/dist/types/models/MentorSettingsPublic.d.ts +0 -9
- package/dist/types/models/MentorSettingsRequest.d.ts +0 -11
- package/dist/types/models/MessageView.d.ts +0 -1
- package/dist/types/models/MessageViewRequest.d.ts +1 -3
- package/dist/types/models/ModerationLog.d.ts +0 -1
- package/dist/types/models/NotificationTemplateDetail.d.ts +2 -21
- package/dist/types/models/NotificationTemplateList.d.ts +2 -5
- package/dist/types/models/PatchedCallConfiguration.d.ts +1 -5
- package/dist/types/models/PatchedConversations.d.ts +0 -10
- package/dist/types/models/PatchedDisclaimer.d.ts +2 -2
- package/dist/types/models/PatchedMCPServer.d.ts +1 -30
- package/dist/types/models/PatchedMentorCreate.d.ts +0 -16
- package/dist/types/models/PatchedNotificationTemplateDetail.d.ts +2 -21
- package/dist/types/models/PatchedRbacGroup.d.ts +0 -4
- package/dist/types/models/PatchedRbacPolicy.d.ts +0 -4
- package/dist/types/models/PatchedRbacRole.d.ts +0 -4
- package/dist/types/models/ProgramInvitationCreate.d.ts +0 -4
- package/dist/types/models/{VoiceProviderEnum.d.ts → Provider637Enum.d.ts} +1 -1
- package/dist/types/models/RbacGroup.d.ts +0 -4
- package/dist/types/models/RbacPolicy.d.ts +0 -4
- package/dist/types/models/RbacRole.d.ts +0 -4
- package/dist/types/models/RbacUser.d.ts +0 -4
- package/dist/types/models/RecentlyAccessedMentor.d.ts +0 -3
- package/dist/types/models/ReportRequest.d.ts +3 -15
- package/dist/types/models/RetrieverDocumentEmbedding.d.ts +0 -1
- package/dist/types/models/{DisclaimerScopeEnum.d.ts → ScopeEnum.d.ts} +1 -1
- package/dist/types/models/ServiceEnum.d.ts +10 -0
- package/dist/types/models/SttProviderEnum.d.ts +1 -3
- package/dist/types/models/TrainDocumentViewRequest.d.ts +0 -4
- package/dist/types/models/TransportEnum.d.ts +1 -3
- package/dist/types/models/TtsProviderEnum.d.ts +1 -3
- package/dist/types/models/{Type2a5Enum.d.ts → TypeA81Enum.d.ts} +1 -5
- package/dist/types/models/UserMemory.d.ts +0 -1
- package/dist/types/models/UserPlatformManagementListViewGetResponse.d.ts +0 -2
- package/dist/types/models/Voice.d.ts +2 -2
- package/dist/types/services/AiAccountService.d.ts +3 -97
- package/dist/types/services/AiBotService.d.ts +0 -8
- package/dist/types/services/AiMediaService.d.ts +0 -57
- package/dist/types/services/AiMentorService.d.ts +24 -456
- package/dist/types/services/CoreService.d.ts +25 -229
- package/dist/types/services/CredentialsService.d.ts +69 -236
- package/dist/types/services/V2Service.d.ts +73 -0
- package/package.json +1 -1
- package/sdk_schema.yml +538 -6215
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +6 -49
- package/src/models/AccessibleMentorsByEmailRequest.ts +2 -2
- package/src/models/AccessibleMentorsByEmailResponse.ts +2 -2
- package/src/models/CallConfiguration.ts +3 -7
- package/src/models/ChatHistory.ts +0 -3
- package/src/models/ChatSessionRequest.ts +0 -1
- package/src/models/ChatSessionResponse.ts +0 -3
- package/src/models/ConnectedService.ts +5 -18
- package/src/models/{UserPolicyUpdateForbidden.ts → ConnectedServiceProviderEnum.ts} +6 -4
- package/src/models/Conversations.ts +0 -10
- package/src/models/Disclaimer.ts +2 -2
- package/src/models/LlmProviderEnum.ts +0 -2
- package/src/models/MCPServer.ts +1 -30
- package/src/models/Mentor.ts +0 -20
- package/src/models/MentorCreate.ts +0 -16
- package/src/models/MentorFromTemplateWithSettingRequest.ts +0 -5
- package/src/models/MentorSettings.ts +1 -13
- package/src/models/MentorSettingsPublic.ts +0 -9
- package/src/models/MentorSettingsRequest.ts +0 -11
- package/src/models/MessageView.ts +0 -1
- package/src/models/MessageViewRequest.ts +1 -3
- package/src/models/ModerationLog.ts +0 -1
- package/src/models/NotificationTemplateDetail.ts +2 -21
- package/src/models/NotificationTemplateList.ts +2 -5
- package/src/models/PatchedCallConfiguration.ts +1 -5
- package/src/models/PatchedConversations.ts +0 -10
- package/src/models/PatchedDisclaimer.ts +2 -2
- package/src/models/PatchedMCPServer.ts +1 -30
- package/src/models/PatchedMentorCreate.ts +0 -16
- package/src/models/PatchedNotificationTemplateDetail.ts +2 -21
- package/src/models/PatchedRbacGroup.ts +0 -4
- package/src/models/PatchedRbacPolicy.ts +0 -4
- package/src/models/PatchedRbacRole.ts +0 -4
- package/src/models/ProgramInvitationCreate.ts +0 -4
- package/src/models/{VoiceProviderEnum.ts → Provider637Enum.ts} +1 -1
- package/src/models/RbacGroup.ts +0 -4
- package/src/models/RbacPolicy.ts +0 -4
- package/src/models/RbacRole.ts +0 -4
- package/src/models/RbacUser.ts +0 -4
- package/src/models/RecentlyAccessedMentor.ts +0 -3
- package/src/models/ReportRequest.ts +3 -15
- package/src/models/RetrieverDocumentEmbedding.ts +0 -1
- package/src/models/{DisclaimerScopeEnum.ts → ScopeEnum.ts} +1 -1
- package/src/models/ServiceEnum.ts +14 -0
- package/src/models/SttProviderEnum.ts +0 -2
- package/src/models/TrainDocumentViewRequest.ts +0 -4
- package/src/models/TransportEnum.ts +0 -2
- package/src/models/TtsProviderEnum.ts +0 -2
- package/src/models/{Type2a5Enum.ts → TypeA81Enum.ts} +1 -5
- package/src/models/UserMemory.ts +0 -1
- package/src/models/UserPlatformManagementListViewGetResponse.ts +0 -2
- package/src/models/Voice.ts +2 -2
- package/src/services/AiAccountService.ts +2 -202
- package/src/services/AiBotService.ts +0 -20
- package/src/services/AiMediaService.ts +0 -136
- package/src/services/AiMentorService.ts +5366 -6320
- package/src/services/CoreService.ts +21 -467
- package/src/services/CredentialsService.ts +756 -961
- package/src/services/V2Service.ts +130 -0
- package/dist/types/models/Artifact.d.ts +0 -60
- package/dist/types/models/ArtifactList.d.ts +0 -42
- package/dist/types/models/ArtifactVersion.d.ts +0 -47
- package/dist/types/models/AuthTypeEnum.d.ts +0 -10
- package/dist/types/models/CourseRecommendation.d.ts +0 -49
- package/dist/types/models/CredentialProviderConfig.d.ts +0 -29
- package/dist/types/models/ExternalCredentialMapping.d.ts +0 -39
- package/dist/types/models/FileUploadURLRequest.d.ts +0 -21
- package/dist/types/models/FileUploadURLResponse.d.ts +0 -25
- package/dist/types/models/GoogleAgentDetail.d.ts +0 -17
- package/dist/types/models/GrantMentorAccessRequest.d.ts +0 -9
- package/dist/types/models/MCPServerConnection.d.ts +0 -47
- package/dist/types/models/MCPServerConnectionScopeEnum.d.ts +0 -10
- package/dist/types/models/OAuthProvider.d.ts +0 -18
- package/dist/types/models/OAuthService.d.ts +0 -18
- package/dist/types/models/PaginatedArtifactListList.d.ts +0 -7
- package/dist/types/models/PaginatedArtifactVersionList.d.ts +0 -7
- package/dist/types/models/PaginatedGoogleAgentDetailList.d.ts +0 -7
- package/dist/types/models/PaginatedMCPServerConnectionList.d.ts +0 -7
- package/dist/types/models/PaginatedUserGroupList.d.ts +0 -7
- package/dist/types/models/PaginatedVeoVideoListList.d.ts +0 -7
- package/dist/types/models/PatchedArtifact.d.ts +0 -60
- package/dist/types/models/PatchedGoogleAgentDetail.d.ts +0 -17
- package/dist/types/models/PatchedMCPServerConnection.d.ts +0 -47
- package/dist/types/models/PatchedPlatformPublicImageAsset.d.ts +0 -11
- package/dist/types/models/PatchedUserGroup.d.ts +0 -26
- package/dist/types/models/PeriodicFrequencyEnum.d.ts +0 -12
- package/dist/types/models/PeriodicLearnerScopeEnum.d.ts +0 -8
- package/dist/types/models/PlatformPrompt.d.ts +0 -34
- package/dist/types/models/PlatformPromptResponse.d.ts +0 -16
- package/dist/types/models/PlatformPublicImageAsset.d.ts +0 -11
- package/dist/types/models/RecommendationTypeEnum.d.ts +0 -8
- package/dist/types/models/SetCurrentVersionRequest.d.ts +0 -3
- package/dist/types/models/TenantSetting.d.ts +0 -5
- package/dist/types/models/UserGroup.d.ts +0 -26
- package/dist/types/models/UserPolicyUpdate.d.ts +0 -27
- package/dist/types/models/UserPolicyUpdateError.d.ts +0 -3
- package/dist/types/models/UserPolicyUpdateForbidden.d.ts +0 -3
- package/dist/types/models/UserPolicyUpdateResponse.d.ts +0 -6
- package/dist/types/models/V2GlobalMentorSearchResponse.d.ts +0 -29
- package/dist/types/models/V2PersonalizedMentorsResponse.d.ts +0 -29
- package/dist/types/models/V2RecommendationResponse.d.ts +0 -65
- package/dist/types/models/VeoVideoDetail.d.ts +0 -10
- package/dist/types/models/VeoVideoList.d.ts +0 -6
- package/dist/types/models/VeoVideoRequest.d.ts +0 -5
- package/dist/types/services/AiSearchService.d.ts +0 -467
- package/src/models/Artifact.ts +0 -65
- package/src/models/ArtifactList.ts +0 -47
- package/src/models/ArtifactVersion.ts +0 -52
- package/src/models/AuthTypeEnum.ts +0 -14
- package/src/models/CourseRecommendation.ts +0 -54
- package/src/models/CredentialProviderConfig.ts +0 -34
- package/src/models/ExternalCredentialMapping.ts +0 -44
- package/src/models/FileUploadURLRequest.ts +0 -26
- package/src/models/FileUploadURLResponse.ts +0 -30
- package/src/models/GoogleAgentDetail.ts +0 -22
- package/src/models/GrantMentorAccessRequest.ts +0 -14
- package/src/models/MCPServerConnection.ts +0 -52
- package/src/models/MCPServerConnectionScopeEnum.ts +0 -14
- package/src/models/OAuthProvider.ts +0 -23
- package/src/models/OAuthService.ts +0 -23
- package/src/models/PaginatedArtifactListList.ts +0 -12
- package/src/models/PaginatedArtifactVersionList.ts +0 -12
- package/src/models/PaginatedGoogleAgentDetailList.ts +0 -12
- package/src/models/PaginatedMCPServerConnectionList.ts +0 -12
- package/src/models/PaginatedUserGroupList.ts +0 -12
- package/src/models/PaginatedVeoVideoListList.ts +0 -12
- package/src/models/PatchedArtifact.ts +0 -65
- package/src/models/PatchedGoogleAgentDetail.ts +0 -22
- package/src/models/PatchedMCPServerConnection.ts +0 -52
- package/src/models/PatchedPlatformPublicImageAsset.ts +0 -16
- package/src/models/PatchedUserGroup.ts +0 -31
- package/src/models/PeriodicFrequencyEnum.ts +0 -16
- package/src/models/PeriodicLearnerScopeEnum.ts +0 -12
- package/src/models/PlatformPrompt.ts +0 -39
- package/src/models/PlatformPromptResponse.ts +0 -21
- package/src/models/PlatformPublicImageAsset.ts +0 -16
- package/src/models/RecommendationTypeEnum.ts +0 -12
- package/src/models/SetCurrentVersionRequest.ts +0 -8
- package/src/models/TenantSetting.ts +0 -10
- package/src/models/UserGroup.ts +0 -31
- package/src/models/UserPolicyUpdate.ts +0 -32
- package/src/models/UserPolicyUpdateError.ts +0 -8
- package/src/models/UserPolicyUpdateResponse.ts +0 -11
- package/src/models/V2GlobalMentorSearchResponse.ts +0 -34
- package/src/models/V2PersonalizedMentorsResponse.ts +0 -34
- package/src/models/V2RecommendationResponse.ts +0 -70
- package/src/models/VeoVideoDetail.ts +0 -15
- package/src/models/VeoVideoList.ts +0 -11
- package/src/models/VeoVideoRequest.ts +0 -10
- package/src/services/AiSearchService.ts +0 -766
package/dist/index.cjs.js
CHANGED
|
@@ -110,7 +110,7 @@ class CancelablePromise {
|
|
|
110
110
|
|
|
111
111
|
const OpenAPI = {
|
|
112
112
|
BASE: 'https://base.manager.iblai.app',
|
|
113
|
-
VERSION: '4.
|
|
113
|
+
VERSION: '4.61.2-ai-plus',
|
|
114
114
|
WITH_CREDENTIALS: false,
|
|
115
115
|
CREDENTIALS: 'include',
|
|
116
116
|
TOKEN: undefined,
|
|
@@ -164,22 +164,6 @@ exports.AlignMentorBubbleEnum = void 0;
|
|
|
164
164
|
AlignMentorBubbleEnum["RIGHT"] = "right";
|
|
165
165
|
})(exports.AlignMentorBubbleEnum || (exports.AlignMentorBubbleEnum = {}));
|
|
166
166
|
|
|
167
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
168
|
-
/* istanbul ignore file */
|
|
169
|
-
/* tslint:disable */
|
|
170
|
-
/* eslint-disable */
|
|
171
|
-
/**
|
|
172
|
-
* * `none` - None
|
|
173
|
-
* * `token` - Token
|
|
174
|
-
* * `oauth2` - Oauth2
|
|
175
|
-
*/
|
|
176
|
-
exports.AuthTypeEnum = void 0;
|
|
177
|
-
(function (AuthTypeEnum) {
|
|
178
|
-
AuthTypeEnum["NONE"] = "none";
|
|
179
|
-
AuthTypeEnum["TOKEN"] = "token";
|
|
180
|
-
AuthTypeEnum["OAUTH2"] = "oauth2";
|
|
181
|
-
})(exports.AuthTypeEnum || (exports.AuthTypeEnum = {}));
|
|
182
|
-
|
|
183
167
|
exports.BlankEnum = void 0;
|
|
184
168
|
(function (BlankEnum) {})(exports.BlankEnum || (exports.BlankEnum = {}));
|
|
185
169
|
|
|
@@ -239,6 +223,18 @@ exports.ComponentBlockTypeEnum = void 0;
|
|
|
239
223
|
ComponentBlockTypeEnum["MULTIPLE_CHOICE"] = "multiple_choice";
|
|
240
224
|
})(exports.ComponentBlockTypeEnum || (exports.ComponentBlockTypeEnum = {}));
|
|
241
225
|
|
|
226
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
227
|
+
/* istanbul ignore file */
|
|
228
|
+
/* tslint:disable */
|
|
229
|
+
/* eslint-disable */
|
|
230
|
+
/**
|
|
231
|
+
* * `google` - Google
|
|
232
|
+
*/
|
|
233
|
+
exports.ConnectedServiceProviderEnum = void 0;
|
|
234
|
+
(function (ConnectedServiceProviderEnum) {
|
|
235
|
+
ConnectedServiceProviderEnum["GOOGLE"] = "google";
|
|
236
|
+
})(exports.ConnectedServiceProviderEnum || (exports.ConnectedServiceProviderEnum = {}));
|
|
237
|
+
|
|
242
238
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
243
239
|
/* istanbul ignore file */
|
|
244
240
|
/* tslint:disable */
|
|
@@ -293,20 +289,6 @@ exports.DataSetStatusEnum = void 0;
|
|
|
293
289
|
DataSetStatusEnum["FAILED"] = "failed";
|
|
294
290
|
})(exports.DataSetStatusEnum || (exports.DataSetStatusEnum = {}));
|
|
295
291
|
|
|
296
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
297
|
-
/* istanbul ignore file */
|
|
298
|
-
/* tslint:disable */
|
|
299
|
-
/* eslint-disable */
|
|
300
|
-
/**
|
|
301
|
-
* * `platform` - Platform
|
|
302
|
-
* * `mentor` - Mentor
|
|
303
|
-
*/
|
|
304
|
-
exports.DisclaimerScopeEnum = void 0;
|
|
305
|
-
(function (DisclaimerScopeEnum) {
|
|
306
|
-
DisclaimerScopeEnum["PLATFORM"] = "platform";
|
|
307
|
-
DisclaimerScopeEnum["MENTOR"] = "mentor";
|
|
308
|
-
})(exports.DisclaimerScopeEnum || (exports.DisclaimerScopeEnum = {}));
|
|
309
|
-
|
|
310
292
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
311
293
|
/* istanbul ignore file */
|
|
312
294
|
/* tslint:disable */
|
|
@@ -434,31 +416,13 @@ exports.KindEnum = void 0;
|
|
|
434
416
|
/**
|
|
435
417
|
* * `openai` - Openai
|
|
436
418
|
* * `google` - Google
|
|
437
|
-
* * `azure_openai` - Azure Openai
|
|
438
419
|
*/
|
|
439
420
|
exports.LlmProviderEnum = void 0;
|
|
440
421
|
(function (LlmProviderEnum) {
|
|
441
422
|
LlmProviderEnum["OPENAI"] = "openai";
|
|
442
423
|
LlmProviderEnum["GOOGLE"] = "google";
|
|
443
|
-
LlmProviderEnum["AZURE_OPENAI"] = "azure_openai";
|
|
444
424
|
})(exports.LlmProviderEnum || (exports.LlmProviderEnum = {}));
|
|
445
425
|
|
|
446
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
447
|
-
/* istanbul ignore file */
|
|
448
|
-
/* tslint:disable */
|
|
449
|
-
/* eslint-disable */
|
|
450
|
-
/**
|
|
451
|
-
* * `user` - User
|
|
452
|
-
* * `mentor` - Mentor
|
|
453
|
-
* * `platform` - Platform
|
|
454
|
-
*/
|
|
455
|
-
exports.MCPServerConnectionScopeEnum = void 0;
|
|
456
|
-
(function (MCPServerConnectionScopeEnum) {
|
|
457
|
-
MCPServerConnectionScopeEnum["USER"] = "user";
|
|
458
|
-
MCPServerConnectionScopeEnum["MENTOR"] = "mentor";
|
|
459
|
-
MCPServerConnectionScopeEnum["PLATFORM"] = "platform";
|
|
460
|
-
})(exports.MCPServerConnectionScopeEnum || (exports.MCPServerConnectionScopeEnum = {}));
|
|
461
|
-
|
|
462
426
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
463
427
|
/* istanbul ignore file */
|
|
464
428
|
/* tslint:disable */
|
|
@@ -567,38 +531,6 @@ exports.PeriodicAgentLogStatusEnum = void 0;
|
|
|
567
531
|
PeriodicAgentLogStatusEnum["RUNNING"] = "running";
|
|
568
532
|
})(exports.PeriodicAgentLogStatusEnum || (exports.PeriodicAgentLogStatusEnum = {}));
|
|
569
533
|
|
|
570
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
571
|
-
/* istanbul ignore file */
|
|
572
|
-
/* tslint:disable */
|
|
573
|
-
/* eslint-disable */
|
|
574
|
-
/**
|
|
575
|
-
* * `DAILY` - DAILY
|
|
576
|
-
* * `WEEKLY` - WEEKLY
|
|
577
|
-
* * `MONTHLY` - MONTHLY
|
|
578
|
-
* * `CUSTOM` - CUSTOM
|
|
579
|
-
*/
|
|
580
|
-
exports.PeriodicFrequencyEnum = void 0;
|
|
581
|
-
(function (PeriodicFrequencyEnum) {
|
|
582
|
-
PeriodicFrequencyEnum["DAILY"] = "DAILY";
|
|
583
|
-
PeriodicFrequencyEnum["WEEKLY"] = "WEEKLY";
|
|
584
|
-
PeriodicFrequencyEnum["MONTHLY"] = "MONTHLY";
|
|
585
|
-
PeriodicFrequencyEnum["CUSTOM"] = "CUSTOM";
|
|
586
|
-
})(exports.PeriodicFrequencyEnum || (exports.PeriodicFrequencyEnum = {}));
|
|
587
|
-
|
|
588
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
589
|
-
/* istanbul ignore file */
|
|
590
|
-
/* tslint:disable */
|
|
591
|
-
/* eslint-disable */
|
|
592
|
-
/**
|
|
593
|
-
* * `ACTIVE_LEARNERS` - ACTIVE_LEARNERS
|
|
594
|
-
* * `ALL_LEARNERS` - ALL_LEARNERS
|
|
595
|
-
*/
|
|
596
|
-
exports.PeriodicLearnerScopeEnum = void 0;
|
|
597
|
-
(function (PeriodicLearnerScopeEnum) {
|
|
598
|
-
PeriodicLearnerScopeEnum["ACTIVE_LEARNERS"] = "ACTIVE_LEARNERS";
|
|
599
|
-
PeriodicLearnerScopeEnum["ALL_LEARNERS"] = "ALL_LEARNERS";
|
|
600
|
-
})(exports.PeriodicLearnerScopeEnum || (exports.PeriodicLearnerScopeEnum = {}));
|
|
601
|
-
|
|
602
534
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
603
535
|
/* istanbul ignore file */
|
|
604
536
|
/* tslint:disable */
|
|
@@ -705,6 +637,22 @@ exports.Provider05cEnum = void 0;
|
|
|
705
637
|
Provider05cEnum["TEAMS"] = "teams";
|
|
706
638
|
})(exports.Provider05cEnum || (exports.Provider05cEnum = {}));
|
|
707
639
|
|
|
640
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
641
|
+
/* istanbul ignore file */
|
|
642
|
+
/* tslint:disable */
|
|
643
|
+
/* eslint-disable */
|
|
644
|
+
/**
|
|
645
|
+
* * `openai` - Openai
|
|
646
|
+
* * `google` - Google
|
|
647
|
+
* * `elevenlabs` - Elevenlabs
|
|
648
|
+
*/
|
|
649
|
+
exports.Provider637Enum = void 0;
|
|
650
|
+
(function (Provider637Enum) {
|
|
651
|
+
Provider637Enum["OPENAI"] = "openai";
|
|
652
|
+
Provider637Enum["GOOGLE"] = "google";
|
|
653
|
+
Provider637Enum["ELEVENLABS"] = "elevenlabs";
|
|
654
|
+
})(exports.Provider637Enum || (exports.Provider637Enum = {}));
|
|
655
|
+
|
|
708
656
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
709
657
|
/* istanbul ignore file */
|
|
710
658
|
/* tslint:disable */
|
|
@@ -731,20 +679,6 @@ exports.RatingEnum = void 0;
|
|
|
731
679
|
RatingEnum[RatingEnum["_-1"] = -1] = "_-1";
|
|
732
680
|
})(exports.RatingEnum || (exports.RatingEnum = {}));
|
|
733
681
|
|
|
734
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
735
|
-
/* istanbul ignore file */
|
|
736
|
-
/* tslint:disable */
|
|
737
|
-
/* eslint-disable */
|
|
738
|
-
/**
|
|
739
|
-
* * `mentors` - Mentor Recommendations
|
|
740
|
-
* * `catalog` - Catalog Recommendations
|
|
741
|
-
*/
|
|
742
|
-
exports.RecommendationTypeEnum = void 0;
|
|
743
|
-
(function (RecommendationTypeEnum) {
|
|
744
|
-
RecommendationTypeEnum["MENTORS"] = "mentors";
|
|
745
|
-
RecommendationTypeEnum["CATALOG"] = "catalog";
|
|
746
|
-
})(exports.RecommendationTypeEnum || (exports.RecommendationTypeEnum = {}));
|
|
747
|
-
|
|
748
682
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
749
683
|
/* istanbul ignore file */
|
|
750
684
|
/* tslint:disable */
|
|
@@ -763,6 +697,36 @@ exports.ResourceScrappedDataStatusEnum = void 0;
|
|
|
763
697
|
ResourceScrappedDataStatusEnum["UNSCRAPPED"] = "unscrapped";
|
|
764
698
|
})(exports.ResourceScrappedDataStatusEnum || (exports.ResourceScrappedDataStatusEnum = {}));
|
|
765
699
|
|
|
700
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
701
|
+
/* istanbul ignore file */
|
|
702
|
+
/* tslint:disable */
|
|
703
|
+
/* eslint-disable */
|
|
704
|
+
/**
|
|
705
|
+
* * `platform` - Platform
|
|
706
|
+
* * `mentor` - Mentor
|
|
707
|
+
*/
|
|
708
|
+
exports.ScopeEnum = void 0;
|
|
709
|
+
(function (ScopeEnum) {
|
|
710
|
+
ScopeEnum["PLATFORM"] = "platform";
|
|
711
|
+
ScopeEnum["MENTOR"] = "mentor";
|
|
712
|
+
})(exports.ScopeEnum || (exports.ScopeEnum = {}));
|
|
713
|
+
|
|
714
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
715
|
+
/* istanbul ignore file */
|
|
716
|
+
/* tslint:disable */
|
|
717
|
+
/* eslint-disable */
|
|
718
|
+
/**
|
|
719
|
+
* * `google_drive` - Google Drive
|
|
720
|
+
* * `google_document` - Google Document
|
|
721
|
+
* * `google_slides` - Google Slides
|
|
722
|
+
*/
|
|
723
|
+
exports.ServiceEnum = void 0;
|
|
724
|
+
(function (ServiceEnum) {
|
|
725
|
+
ServiceEnum["GOOGLE_DRIVE"] = "google_drive";
|
|
726
|
+
ServiceEnum["GOOGLE_DOCUMENT"] = "google_document";
|
|
727
|
+
ServiceEnum["GOOGLE_SLIDES"] = "google_slides";
|
|
728
|
+
})(exports.ServiceEnum || (exports.ServiceEnum = {}));
|
|
729
|
+
|
|
766
730
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
767
731
|
/* istanbul ignore file */
|
|
768
732
|
/* tslint:disable */
|
|
@@ -850,7 +814,6 @@ exports.StripeCheckoutSessionRequestModeEnum = void 0;
|
|
|
850
814
|
* * `google` - Google
|
|
851
815
|
* * `deepgram` - Deepgram
|
|
852
816
|
* * `cartesia` - Cartesia
|
|
853
|
-
* * `azure_openai` - Azure Openai
|
|
854
817
|
*/
|
|
855
818
|
exports.SttProviderEnum = void 0;
|
|
856
819
|
(function (SttProviderEnum) {
|
|
@@ -858,7 +821,6 @@ exports.SttProviderEnum = void 0;
|
|
|
858
821
|
SttProviderEnum["GOOGLE"] = "google";
|
|
859
822
|
SttProviderEnum["DEEPGRAM"] = "deepgram";
|
|
860
823
|
SttProviderEnum["CARTESIA"] = "cartesia";
|
|
861
|
-
SttProviderEnum["AZURE_OPENAI"] = "azure_openai";
|
|
862
824
|
})(exports.SttProviderEnum || (exports.SttProviderEnum = {}));
|
|
863
825
|
|
|
864
826
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
@@ -914,13 +876,11 @@ exports.TrainingStatusEnum = void 0;
|
|
|
914
876
|
/**
|
|
915
877
|
* * `sse` - Sse
|
|
916
878
|
* * `websocket` - Websocket
|
|
917
|
-
* * `streamable_http` - Streamable Http
|
|
918
879
|
*/
|
|
919
880
|
exports.TransportEnum = void 0;
|
|
920
881
|
(function (TransportEnum) {
|
|
921
882
|
TransportEnum["SSE"] = "sse";
|
|
922
883
|
TransportEnum["WEBSOCKET"] = "websocket";
|
|
923
|
-
TransportEnum["STREAMABLE_HTTP"] = "streamable_http";
|
|
924
884
|
})(exports.TransportEnum || (exports.TransportEnum = {}));
|
|
925
885
|
|
|
926
886
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
@@ -931,14 +891,12 @@ exports.TransportEnum = void 0;
|
|
|
931
891
|
* * `openai` - Openai
|
|
932
892
|
* * `google` - Google
|
|
933
893
|
* * `elevenlabs` - Elevenlabs
|
|
934
|
-
* * `azure_openai` - Azure Openai
|
|
935
894
|
*/
|
|
936
895
|
exports.TtsProviderEnum = void 0;
|
|
937
896
|
(function (TtsProviderEnum) {
|
|
938
897
|
TtsProviderEnum["OPENAI"] = "openai";
|
|
939
898
|
TtsProviderEnum["GOOGLE"] = "google";
|
|
940
899
|
TtsProviderEnum["ELEVENLABS"] = "elevenlabs";
|
|
941
|
-
TtsProviderEnum["AZURE_OPENAI"] = "azure_openai";
|
|
942
900
|
})(exports.TtsProviderEnum || (exports.TtsProviderEnum = {}));
|
|
943
901
|
|
|
944
902
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
@@ -946,7 +904,6 @@ exports.TtsProviderEnum = void 0;
|
|
|
946
904
|
/* tslint:disable */
|
|
947
905
|
/* eslint-disable */
|
|
948
906
|
/**
|
|
949
|
-
* * `DEFAULT_TEMPLATE` - Default Template
|
|
950
907
|
* * `APP_REGISTRATION` - App Registration
|
|
951
908
|
* * `USER_NOTIF_USER_REGISTRATION` - User Notif User Registration
|
|
952
909
|
* * `USER_NOTIF_COURSE_ENROLLMENT` - User Notif Course Enrollment
|
|
@@ -959,7 +916,6 @@ exports.TtsProviderEnum = void 0;
|
|
|
959
916
|
* * `PROGRAM_INVITATION` - Program Invitation
|
|
960
917
|
* * `COURSE_INVITATION` - Course Invitation
|
|
961
918
|
* * `USER_NOTIF_LEARNER_PROGRESS` - User Notif Learner Progress
|
|
962
|
-
* * `PROACTIVE_LEARNER_NOTIFICATION` - Proactive Learner Notification
|
|
963
919
|
* * `ROLE_CHANGE` - Role Change
|
|
964
920
|
* * `COURSE_LICENSE_ASSIGNMENT` - Course License Assignment
|
|
965
921
|
* * `COURSE_LICENSE_GROUP_ASSIGNMENT` - Course License Group Assignment
|
|
@@ -968,30 +924,28 @@ exports.TtsProviderEnum = void 0;
|
|
|
968
924
|
* * `USER_LICENSE_ASSIGNMENT` - User License Assignment
|
|
969
925
|
* * `USER_LICENSE_GROUP_ASSIGNMENT` - User License Group Assignment
|
|
970
926
|
*/
|
|
971
|
-
exports.
|
|
972
|
-
(function (
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
Type2a5Enum["USER_LICENSE_GROUP_ASSIGNMENT"] = "USER_LICENSE_GROUP_ASSIGNMENT";
|
|
994
|
-
})(exports.Type2a5Enum || (exports.Type2a5Enum = {}));
|
|
927
|
+
exports.TypeA81Enum = void 0;
|
|
928
|
+
(function (TypeA81Enum) {
|
|
929
|
+
TypeA81Enum["APP_REGISTRATION"] = "APP_REGISTRATION";
|
|
930
|
+
TypeA81Enum["USER_NOTIF_USER_REGISTRATION"] = "USER_NOTIF_USER_REGISTRATION";
|
|
931
|
+
TypeA81Enum["USER_NOTIF_COURSE_ENROLLMENT"] = "USER_NOTIF_COURSE_ENROLLMENT";
|
|
932
|
+
TypeA81Enum["ADMIN_NOTIF_COURSE_ENROLLMENT"] = "ADMIN_NOTIF_COURSE_ENROLLMENT";
|
|
933
|
+
TypeA81Enum["USER_NOTIF_USER_INACTIVITY"] = "USER_NOTIF_USER_INACTIVITY";
|
|
934
|
+
TypeA81Enum["USER_NOTIF_COURSE_COMPLETION"] = "USER_NOTIF_COURSE_COMPLETION";
|
|
935
|
+
TypeA81Enum["USER_NOTIF_CREDENTIALS"] = "USER_NOTIF_CREDENTIALS";
|
|
936
|
+
TypeA81Enum["CUSTOM_NOTIFICATION"] = "CUSTOM_NOTIFICATION";
|
|
937
|
+
TypeA81Enum["PLATFORM_INVITATION"] = "PLATFORM_INVITATION";
|
|
938
|
+
TypeA81Enum["PROGRAM_INVITATION"] = "PROGRAM_INVITATION";
|
|
939
|
+
TypeA81Enum["COURSE_INVITATION"] = "COURSE_INVITATION";
|
|
940
|
+
TypeA81Enum["USER_NOTIF_LEARNER_PROGRESS"] = "USER_NOTIF_LEARNER_PROGRESS";
|
|
941
|
+
TypeA81Enum["ROLE_CHANGE"] = "ROLE_CHANGE";
|
|
942
|
+
TypeA81Enum["COURSE_LICENSE_ASSIGNMENT"] = "COURSE_LICENSE_ASSIGNMENT";
|
|
943
|
+
TypeA81Enum["COURSE_LICENSE_GROUP_ASSIGNMENT"] = "COURSE_LICENSE_GROUP_ASSIGNMENT";
|
|
944
|
+
TypeA81Enum["PROGRAM_LICENSE_ASSIGNMENT"] = "PROGRAM_LICENSE_ASSIGNMENT";
|
|
945
|
+
TypeA81Enum["PROGRAM_LICENSE_GROUP_ASSIGNMENT"] = "PROGRAM_LICENSE_GROUP_ASSIGNMENT";
|
|
946
|
+
TypeA81Enum["USER_LICENSE_ASSIGNMENT"] = "USER_LICENSE_ASSIGNMENT";
|
|
947
|
+
TypeA81Enum["USER_LICENSE_GROUP_ASSIGNMENT"] = "USER_LICENSE_GROUP_ASSIGNMENT";
|
|
948
|
+
})(exports.TypeA81Enum || (exports.TypeA81Enum = {}));
|
|
995
949
|
|
|
996
950
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
997
951
|
/* istanbul ignore file */
|
|
@@ -1007,22 +961,6 @@ exports.TypeC42Enum = void 0;
|
|
|
1007
961
|
TypeC42Enum["ASSESSMENT"] = "assessment";
|
|
1008
962
|
})(exports.TypeC42Enum || (exports.TypeC42Enum = {}));
|
|
1009
963
|
|
|
1010
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
1011
|
-
/* istanbul ignore file */
|
|
1012
|
-
/* tslint:disable */
|
|
1013
|
-
/* eslint-disable */
|
|
1014
|
-
/**
|
|
1015
|
-
* * `openai` - Openai
|
|
1016
|
-
* * `google` - Google
|
|
1017
|
-
* * `elevenlabs` - Elevenlabs
|
|
1018
|
-
*/
|
|
1019
|
-
exports.VoiceProviderEnum = void 0;
|
|
1020
|
-
(function (VoiceProviderEnum) {
|
|
1021
|
-
VoiceProviderEnum["OPENAI"] = "openai";
|
|
1022
|
-
VoiceProviderEnum["GOOGLE"] = "google";
|
|
1023
|
-
VoiceProviderEnum["ELEVENLABS"] = "elevenlabs";
|
|
1024
|
-
})(exports.VoiceProviderEnum || (exports.VoiceProviderEnum = {}));
|
|
1025
|
-
|
|
1026
964
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
1027
965
|
/* istanbul ignore file */
|
|
1028
966
|
/* tslint:disable */
|
|
@@ -1267,6 +1205,7 @@ const request = (config, options) => {
|
|
|
1267
1205
|
|
|
1268
1206
|
class AiAccountService {
|
|
1269
1207
|
/**
|
|
1208
|
+
* Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
|
|
1270
1209
|
* @returns ConnectedService Callback for the OAuth flow
|
|
1271
1210
|
* @throws ApiError
|
|
1272
1211
|
*/
|
|
@@ -1276,80 +1215,12 @@ class AiAccountService {
|
|
|
1276
1215
|
url: '/api/ai-account/connected-services/callback/'
|
|
1277
1216
|
});
|
|
1278
1217
|
}
|
|
1279
|
-
/**
|
|
1280
|
-
* Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
|
|
1281
|
-
* @returns ConnectedService
|
|
1282
|
-
* @throws ApiError
|
|
1283
|
-
*/
|
|
1284
|
-
static aiAccountConnectedServicesOrgsUsersList({
|
|
1285
|
-
org,
|
|
1286
|
-
userId,
|
|
1287
|
-
ordering,
|
|
1288
|
-
provider,
|
|
1289
|
-
search,
|
|
1290
|
-
service
|
|
1291
|
-
}) {
|
|
1292
|
-
return request(OpenAPI, {
|
|
1293
|
-
method: 'GET',
|
|
1294
|
-
url: '/api/ai-account/connected-services/orgs/{org}/users/{user_id}/',
|
|
1295
|
-
path: {
|
|
1296
|
-
'org': org,
|
|
1297
|
-
'user_id': userId
|
|
1298
|
-
},
|
|
1299
|
-
query: {
|
|
1300
|
-
'ordering': ordering,
|
|
1301
|
-
'provider': provider,
|
|
1302
|
-
'search': search,
|
|
1303
|
-
'service': service
|
|
1304
|
-
}
|
|
1305
|
-
});
|
|
1306
|
-
}
|
|
1307
|
-
/**
|
|
1308
|
-
* Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
|
|
1309
|
-
* @returns ConnectedService
|
|
1310
|
-
* @throws ApiError
|
|
1311
|
-
*/
|
|
1312
|
-
static aiAccountConnectedServicesOrgsUsersRetrieve({
|
|
1313
|
-
id,
|
|
1314
|
-
org,
|
|
1315
|
-
userId
|
|
1316
|
-
}) {
|
|
1317
|
-
return request(OpenAPI, {
|
|
1318
|
-
method: 'GET',
|
|
1319
|
-
url: '/api/ai-account/connected-services/orgs/{org}/users/{user_id}/{id}/',
|
|
1320
|
-
path: {
|
|
1321
|
-
'id': id,
|
|
1322
|
-
'org': org,
|
|
1323
|
-
'user_id': userId
|
|
1324
|
-
}
|
|
1325
|
-
});
|
|
1326
|
-
}
|
|
1327
|
-
/**
|
|
1328
|
-
* Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
|
|
1329
|
-
* @returns void
|
|
1330
|
-
* @throws ApiError
|
|
1331
|
-
*/
|
|
1332
|
-
static aiAccountConnectedServicesOrgsUsersDestroy({
|
|
1333
|
-
id,
|
|
1334
|
-
org,
|
|
1335
|
-
userId
|
|
1336
|
-
}) {
|
|
1337
|
-
return request(OpenAPI, {
|
|
1338
|
-
method: 'DELETE',
|
|
1339
|
-
url: '/api/ai-account/connected-services/orgs/{org}/users/{user_id}/{id}/',
|
|
1340
|
-
path: {
|
|
1341
|
-
'id': id,
|
|
1342
|
-
'org': org,
|
|
1343
|
-
'user_id': userId
|
|
1344
|
-
}
|
|
1345
|
-
});
|
|
1346
|
-
}
|
|
1347
1218
|
/**
|
|
1348
1219
|
* Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent
|
|
1349
1220
|
* @returns OAuthStartResponse Starts the OAuth flow for the given provider and service
|
|
1350
1221
|
* @throws ApiError
|
|
1351
1222
|
*/
|
|
1352
|
-
static
|
|
1223
|
+
static aiAccountConnectedServicesOrgsUsersRetrieve({
|
|
1353
1224
|
org,
|
|
1354
1225
|
provider,
|
|
1355
1226
|
service,
|
|
@@ -1865,47 +1736,6 @@ class AiAccountService {
|
|
|
1865
1736
|
}
|
|
1866
1737
|
});
|
|
1867
1738
|
}
|
|
1868
|
-
/**
|
|
1869
|
-
* Return the list of OAuth services that can be used for connected services.
|
|
1870
|
-
*
|
|
1871
|
-
* Query Parameters:
|
|
1872
|
-
* name (optional): Filter by exact service name (case-insensitive).
|
|
1873
|
-
* include_disabled (optional): Set to `true` to include disabled services.
|
|
1874
|
-
* @returns OAuthProvider
|
|
1875
|
-
* @throws ApiError
|
|
1876
|
-
*/
|
|
1877
|
-
static aiAccountOrgsOauthServicesList({
|
|
1878
|
-
org
|
|
1879
|
-
}) {
|
|
1880
|
-
return request(OpenAPI, {
|
|
1881
|
-
method: 'GET',
|
|
1882
|
-
url: '/api/ai-account/orgs/{org}/oauth-services/',
|
|
1883
|
-
path: {
|
|
1884
|
-
'org': org
|
|
1885
|
-
}
|
|
1886
|
-
});
|
|
1887
|
-
}
|
|
1888
|
-
/**
|
|
1889
|
-
* Return the available scopes for the specified OAuth service.
|
|
1890
|
-
*
|
|
1891
|
-
* Query Parameters:
|
|
1892
|
-
* include_disabled (optional): Set to `true` to include scopes from disabled services.
|
|
1893
|
-
* @returns OAuthService
|
|
1894
|
-
* @throws ApiError
|
|
1895
|
-
*/
|
|
1896
|
-
static aiAccountOrgsOauthServicesScopesList({
|
|
1897
|
-
org,
|
|
1898
|
-
serviceName
|
|
1899
|
-
}) {
|
|
1900
|
-
return request(OpenAPI, {
|
|
1901
|
-
method: 'GET',
|
|
1902
|
-
url: '/api/ai-account/orgs/{org}/oauth-services/{service_name}/scopes/',
|
|
1903
|
-
path: {
|
|
1904
|
-
'org': org,
|
|
1905
|
-
'service_name': serviceName
|
|
1906
|
-
}
|
|
1907
|
-
});
|
|
1908
|
-
}
|
|
1909
1739
|
/**
|
|
1910
1740
|
* Enable or disable the use of main LLM credentials for an organization.
|
|
1911
1741
|
*
|
|
@@ -2021,56 +1851,6 @@ class AiAccountService {
|
|
|
2021
1851
|
}
|
|
2022
1852
|
});
|
|
2023
1853
|
}
|
|
2024
|
-
/**
|
|
2025
|
-
* Get a platform's settings
|
|
2026
|
-
*
|
|
2027
|
-
* Example response:
|
|
2028
|
-
* ```
|
|
2029
|
-
* {"teams_bot_mentor": "f2116cf2-95c7-4c1f-b19e-666ad529439f"}
|
|
2030
|
-
*
|
|
2031
|
-
* ```
|
|
2032
|
-
* @returns TenantSetting
|
|
2033
|
-
* @throws ApiError
|
|
2034
|
-
*/
|
|
2035
|
-
static aiAccountOrgsUsersTenantSettingsRetrieve({
|
|
2036
|
-
org,
|
|
2037
|
-
userId
|
|
2038
|
-
}) {
|
|
2039
|
-
return request(OpenAPI, {
|
|
2040
|
-
method: 'GET',
|
|
2041
|
-
url: '/api/ai-account/orgs/{org}/users/{user_id}/tenant-settings/',
|
|
2042
|
-
path: {
|
|
2043
|
-
'org': org,
|
|
2044
|
-
'user_id': userId
|
|
2045
|
-
}
|
|
2046
|
-
});
|
|
2047
|
-
}
|
|
2048
|
-
/**
|
|
2049
|
-
* Example Request:
|
|
2050
|
-
*
|
|
2051
|
-
* ```
|
|
2052
|
-
* {"teams_bot_mentor": "f2116cf2-95c7-4c1f-b19e-666ad529439f"}
|
|
2053
|
-
* ```
|
|
2054
|
-
* The value here is the mentor's unique id
|
|
2055
|
-
* @returns TenantSetting
|
|
2056
|
-
* @throws ApiError
|
|
2057
|
-
*/
|
|
2058
|
-
static aiAccountOrgsUsersTenantSettingsCreate({
|
|
2059
|
-
org,
|
|
2060
|
-
userId,
|
|
2061
|
-
requestBody
|
|
2062
|
-
}) {
|
|
2063
|
-
return request(OpenAPI, {
|
|
2064
|
-
method: 'POST',
|
|
2065
|
-
url: '/api/ai-account/orgs/{org}/users/{user_id}/tenant-settings/',
|
|
2066
|
-
path: {
|
|
2067
|
-
'org': org,
|
|
2068
|
-
'user_id': userId
|
|
2069
|
-
},
|
|
2070
|
-
body: requestBody,
|
|
2071
|
-
mediaType: 'application/json'
|
|
2072
|
-
});
|
|
2073
|
-
}
|
|
2074
1854
|
}
|
|
2075
1855
|
|
|
2076
1856
|
class AiAnalyticsService {
|
|
@@ -11623,23 +11403,6 @@ class AiBotService {
|
|
|
11623
11403
|
mediaType: 'application/json'
|
|
11624
11404
|
});
|
|
11625
11405
|
}
|
|
11626
|
-
/**
|
|
11627
|
-
* @returns TeamsWebhook
|
|
11628
|
-
* @throws ApiError
|
|
11629
|
-
*/
|
|
11630
|
-
static aiBotV1BotsWebhooksTeamsRetrieve({
|
|
11631
|
-
name,
|
|
11632
|
-
org
|
|
11633
|
-
}) {
|
|
11634
|
-
return request(OpenAPI, {
|
|
11635
|
-
method: 'GET',
|
|
11636
|
-
url: '/api/ai-bot/v1/bots/webhooks/{org}/teams/{name}/',
|
|
11637
|
-
path: {
|
|
11638
|
-
'name': name,
|
|
11639
|
-
'org': org
|
|
11640
|
-
}
|
|
11641
|
-
});
|
|
11642
|
-
}
|
|
11643
11406
|
/**
|
|
11644
11407
|
* @returns TeamsWebhook
|
|
11645
11408
|
* @throws ApiError
|
|
@@ -12945,116 +12708,6 @@ class AiMediaService {
|
|
|
12945
12708
|
}
|
|
12946
12709
|
});
|
|
12947
12710
|
}
|
|
12948
|
-
/**
|
|
12949
|
-
* Endpoint used to download a Veo video.
|
|
12950
|
-
*
|
|
12951
|
-
*
|
|
12952
|
-
* Only platform admins have access to this endpoint.
|
|
12953
|
-
* @returns any No response body
|
|
12954
|
-
* @throws ApiError
|
|
12955
|
-
*/
|
|
12956
|
-
static aiMediaOrgsUsersVeoVideoDownloadRetrieve({
|
|
12957
|
-
org,
|
|
12958
|
-
userId,
|
|
12959
|
-
veoVideoId
|
|
12960
|
-
}) {
|
|
12961
|
-
return request(OpenAPI, {
|
|
12962
|
-
method: 'GET',
|
|
12963
|
-
url: '/api/ai-media/orgs/{org}/users/{user_id}/veo/video-download/{veo_video_id}/',
|
|
12964
|
-
path: {
|
|
12965
|
-
'org': org,
|
|
12966
|
-
'user_id': userId,
|
|
12967
|
-
'veo_video_id': veoVideoId
|
|
12968
|
-
}
|
|
12969
|
-
});
|
|
12970
|
-
}
|
|
12971
|
-
/**
|
|
12972
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
12973
|
-
* @returns PaginatedVeoVideoListList
|
|
12974
|
-
* @throws ApiError
|
|
12975
|
-
*/
|
|
12976
|
-
static aiMediaOrgsUsersVeoVideosList({
|
|
12977
|
-
org,
|
|
12978
|
-
userId,
|
|
12979
|
-
page
|
|
12980
|
-
}) {
|
|
12981
|
-
return request(OpenAPI, {
|
|
12982
|
-
method: 'GET',
|
|
12983
|
-
url: '/api/ai-media/orgs/{org}/users/{user_id}/veo/videos/',
|
|
12984
|
-
path: {
|
|
12985
|
-
'org': org,
|
|
12986
|
-
'user_id': userId
|
|
12987
|
-
},
|
|
12988
|
-
query: {
|
|
12989
|
-
'page': page
|
|
12990
|
-
}
|
|
12991
|
-
});
|
|
12992
|
-
}
|
|
12993
|
-
/**
|
|
12994
|
-
* Endpoint to create a Veo3 video
|
|
12995
|
-
*
|
|
12996
|
-
* Only platform admins have access to this endpoint.
|
|
12997
|
-
* @returns VeoVideoDetail
|
|
12998
|
-
* @throws ApiError
|
|
12999
|
-
*/
|
|
13000
|
-
static aiMediaOrgsUsersVeoVideosCreate({
|
|
13001
|
-
org,
|
|
13002
|
-
userId,
|
|
13003
|
-
formData
|
|
13004
|
-
}) {
|
|
13005
|
-
return request(OpenAPI, {
|
|
13006
|
-
method: 'POST',
|
|
13007
|
-
url: '/api/ai-media/orgs/{org}/users/{user_id}/veo/videos/',
|
|
13008
|
-
path: {
|
|
13009
|
-
'org': org,
|
|
13010
|
-
'user_id': userId
|
|
13011
|
-
},
|
|
13012
|
-
formData: formData,
|
|
13013
|
-
mediaType: 'multipart/form-data'
|
|
13014
|
-
});
|
|
13015
|
-
}
|
|
13016
|
-
/**
|
|
13017
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
13018
|
-
* @returns VeoVideoDetail
|
|
13019
|
-
* @throws ApiError
|
|
13020
|
-
*/
|
|
13021
|
-
static aiMediaOrgsUsersVeoVideosRetrieve({
|
|
13022
|
-
org,
|
|
13023
|
-
userId,
|
|
13024
|
-
veoVideoId
|
|
13025
|
-
}) {
|
|
13026
|
-
return request(OpenAPI, {
|
|
13027
|
-
method: 'GET',
|
|
13028
|
-
url: '/api/ai-media/orgs/{org}/users/{user_id}/veo/videos/{veo_video_id}/',
|
|
13029
|
-
path: {
|
|
13030
|
-
'org': org,
|
|
13031
|
-
'user_id': userId,
|
|
13032
|
-
'veo_video_id': veoVideoId
|
|
13033
|
-
}
|
|
13034
|
-
});
|
|
13035
|
-
}
|
|
13036
|
-
/**
|
|
13037
|
-
* Endpoint used to delete a veo3 video.
|
|
13038
|
-
*
|
|
13039
|
-
* Only platform admins have access to this endpoint.
|
|
13040
|
-
* @returns void
|
|
13041
|
-
* @throws ApiError
|
|
13042
|
-
*/
|
|
13043
|
-
static aiMediaOrgsUsersVeoVideosDestroy({
|
|
13044
|
-
org,
|
|
13045
|
-
userId,
|
|
13046
|
-
veoVideoId
|
|
13047
|
-
}) {
|
|
13048
|
-
return request(OpenAPI, {
|
|
13049
|
-
method: 'DELETE',
|
|
13050
|
-
url: '/api/ai-media/orgs/{org}/users/{user_id}/veo/videos/{veo_video_id}/',
|
|
13051
|
-
path: {
|
|
13052
|
-
'org': org,
|
|
13053
|
-
'user_id': userId,
|
|
13054
|
-
'veo_video_id': veoVideoId
|
|
13055
|
-
}
|
|
13056
|
-
});
|
|
13057
|
-
}
|
|
13058
12711
|
/**
|
|
13059
12712
|
* Endpoint to generate video scripts from a audio file. The audio file can be one of mp3 and wav.
|
|
13060
12713
|
*
|
|
@@ -13196,38 +12849,6 @@ class AiMentorService {
|
|
|
13196
12849
|
}
|
|
13197
12850
|
});
|
|
13198
12851
|
}
|
|
13199
|
-
/**
|
|
13200
|
-
* Grant LTI Mentor Access
|
|
13201
|
-
* Grants a user Student type access to a mentor that is lti accessible.
|
|
13202
|
-
*
|
|
13203
|
-
* Creates or updates an RBAC policy named LTI-{mentor.unique_id} with the global Student role,
|
|
13204
|
-
* granting the specified user access to the mentor. Validates that the mentor has LTI access
|
|
13205
|
-
* enabled and that the user belongs to the specified platform.
|
|
13206
|
-
* @returns any Policy created and user granted access
|
|
13207
|
-
* @throws ApiError
|
|
13208
|
-
*/
|
|
13209
|
-
static aiMentorOrgsMentorsLtiGrantMentorAccessCreate({
|
|
13210
|
-
mentorUniqueId,
|
|
13211
|
-
org,
|
|
13212
|
-
requestBody
|
|
13213
|
-
}) {
|
|
13214
|
-
return request(OpenAPI, {
|
|
13215
|
-
method: 'POST',
|
|
13216
|
-
url: '/api/ai-mentor/orgs/{org}/mentors/{mentor_unique_id}/lti/grant-mentor-access/',
|
|
13217
|
-
path: {
|
|
13218
|
-
'mentor_unique_id': mentorUniqueId,
|
|
13219
|
-
'org': org
|
|
13220
|
-
},
|
|
13221
|
-
body: requestBody,
|
|
13222
|
-
mediaType: 'application/json',
|
|
13223
|
-
errors: {
|
|
13224
|
-
400: `Invalid request data`,
|
|
13225
|
-
403: `Mentor is not LTI accessible`,
|
|
13226
|
-
404: `Mentor, platform, or user not found`,
|
|
13227
|
-
500: `Global Student role not found`
|
|
13228
|
-
}
|
|
13229
|
-
});
|
|
13230
|
-
}
|
|
13231
12852
|
/**
|
|
13232
12853
|
* Retrieve a list of emails in a mentor's inbox.
|
|
13233
12854
|
*
|
|
@@ -13831,7 +13452,6 @@ class AiMentorService {
|
|
|
13831
13452
|
userId,
|
|
13832
13453
|
departmentId,
|
|
13833
13454
|
filterBy,
|
|
13834
|
-
isFeatured,
|
|
13835
13455
|
metadataKey,
|
|
13836
13456
|
metadataValue,
|
|
13837
13457
|
page,
|
|
@@ -13849,7 +13469,6 @@ class AiMentorService {
|
|
|
13849
13469
|
query: {
|
|
13850
13470
|
'department_id': departmentId,
|
|
13851
13471
|
'filter_by': filterBy,
|
|
13852
|
-
'is_featured': isFeatured,
|
|
13853
13472
|
'metadata_key': metadataKey,
|
|
13854
13473
|
'metadata_value': metadataValue,
|
|
13855
13474
|
'page': page,
|
|
@@ -13875,7 +13494,6 @@ class AiMentorService {
|
|
|
13875
13494
|
requestBody,
|
|
13876
13495
|
departmentId,
|
|
13877
13496
|
filterBy,
|
|
13878
|
-
isFeatured,
|
|
13879
13497
|
metadataKey,
|
|
13880
13498
|
metadataValue,
|
|
13881
13499
|
returnSessionInformation,
|
|
@@ -13891,7 +13509,6 @@ class AiMentorService {
|
|
|
13891
13509
|
query: {
|
|
13892
13510
|
'department_id': departmentId,
|
|
13893
13511
|
'filter_by': filterBy,
|
|
13894
|
-
'is_featured': isFeatured,
|
|
13895
13512
|
'metadata_key': metadataKey,
|
|
13896
13513
|
'metadata_value': metadataValue,
|
|
13897
13514
|
'return_session_information': returnSessionInformation,
|
|
@@ -13917,7 +13534,6 @@ class AiMentorService {
|
|
|
13917
13534
|
userId,
|
|
13918
13535
|
departmentId,
|
|
13919
13536
|
filterBy,
|
|
13920
|
-
isFeatured,
|
|
13921
13537
|
metadataKey,
|
|
13922
13538
|
metadataValue,
|
|
13923
13539
|
returnSessionInformation,
|
|
@@ -13934,7 +13550,6 @@ class AiMentorService {
|
|
|
13934
13550
|
query: {
|
|
13935
13551
|
'department_id': departmentId,
|
|
13936
13552
|
'filter_by': filterBy,
|
|
13937
|
-
'is_featured': isFeatured,
|
|
13938
13553
|
'metadata_key': metadataKey,
|
|
13939
13554
|
'metadata_value': metadataValue,
|
|
13940
13555
|
'return_session_information': returnSessionInformation,
|
|
@@ -13954,7 +13569,6 @@ class AiMentorService {
|
|
|
13954
13569
|
requestBody,
|
|
13955
13570
|
departmentId,
|
|
13956
13571
|
filterBy,
|
|
13957
|
-
isFeatured,
|
|
13958
13572
|
metadataKey,
|
|
13959
13573
|
metadataValue,
|
|
13960
13574
|
returnSessionInformation,
|
|
@@ -13971,7 +13585,6 @@ class AiMentorService {
|
|
|
13971
13585
|
query: {
|
|
13972
13586
|
'department_id': departmentId,
|
|
13973
13587
|
'filter_by': filterBy,
|
|
13974
|
-
'is_featured': isFeatured,
|
|
13975
13588
|
'metadata_key': metadataKey,
|
|
13976
13589
|
'metadata_value': metadataValue,
|
|
13977
13590
|
'return_session_information': returnSessionInformation,
|
|
@@ -13997,7 +13610,6 @@ class AiMentorService {
|
|
|
13997
13610
|
userId,
|
|
13998
13611
|
departmentId,
|
|
13999
13612
|
filterBy,
|
|
14000
|
-
isFeatured,
|
|
14001
13613
|
metadataKey,
|
|
14002
13614
|
metadataValue,
|
|
14003
13615
|
returnSessionInformation,
|
|
@@ -14015,7 +13627,6 @@ class AiMentorService {
|
|
|
14015
13627
|
query: {
|
|
14016
13628
|
'department_id': departmentId,
|
|
14017
13629
|
'filter_by': filterBy,
|
|
14018
|
-
'is_featured': isFeatured,
|
|
14019
13630
|
'metadata_key': metadataKey,
|
|
14020
13631
|
'metadata_value': metadataValue,
|
|
14021
13632
|
'return_session_information': returnSessionInformation,
|
|
@@ -14036,7 +13647,6 @@ class AiMentorService {
|
|
|
14036
13647
|
userId,
|
|
14037
13648
|
departmentId,
|
|
14038
13649
|
filterBy,
|
|
14039
|
-
isFeatured,
|
|
14040
13650
|
metadataKey,
|
|
14041
13651
|
metadataValue,
|
|
14042
13652
|
returnSessionInformation,
|
|
@@ -14053,7 +13663,6 @@ class AiMentorService {
|
|
|
14053
13663
|
query: {
|
|
14054
13664
|
'department_id': departmentId,
|
|
14055
13665
|
'filter_by': filterBy,
|
|
14056
|
-
'is_featured': isFeatured,
|
|
14057
13666
|
'metadata_key': metadataKey,
|
|
14058
13667
|
'metadata_value': metadataValue,
|
|
14059
13668
|
'return_session_information': returnSessionInformation,
|
|
@@ -14234,284 +13843,6 @@ class AiMentorService {
|
|
|
14234
13843
|
}
|
|
14235
13844
|
});
|
|
14236
13845
|
}
|
|
14237
|
-
/**
|
|
14238
|
-
* List artifacts
|
|
14239
|
-
* Retrieve a paginated list of artifacts for a user, with optional filtering and search.
|
|
14240
|
-
* @returns PaginatedArtifactListList
|
|
14241
|
-
* @throws ApiError
|
|
14242
|
-
*/
|
|
14243
|
-
static aiMentorOrgsUsersArtifactsList({
|
|
14244
|
-
org,
|
|
14245
|
-
userId,
|
|
14246
|
-
fileExtension,
|
|
14247
|
-
llmName,
|
|
14248
|
-
llmProvider,
|
|
14249
|
-
mentorId,
|
|
14250
|
-
ordering,
|
|
14251
|
-
page,
|
|
14252
|
-
pageSize,
|
|
14253
|
-
search,
|
|
14254
|
-
sessionId,
|
|
14255
|
-
username
|
|
14256
|
-
}) {
|
|
14257
|
-
return request(OpenAPI, {
|
|
14258
|
-
method: 'GET',
|
|
14259
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/artifacts/',
|
|
14260
|
-
path: {
|
|
14261
|
-
'org': org,
|
|
14262
|
-
'user_id': userId
|
|
14263
|
-
},
|
|
14264
|
-
query: {
|
|
14265
|
-
'file_extension': fileExtension,
|
|
14266
|
-
'llm_name': llmName,
|
|
14267
|
-
'llm_provider': llmProvider,
|
|
14268
|
-
'mentor_id': mentorId,
|
|
14269
|
-
'ordering': ordering,
|
|
14270
|
-
'page': page,
|
|
14271
|
-
'page_size': pageSize,
|
|
14272
|
-
'search': search,
|
|
14273
|
-
'session_id': sessionId,
|
|
14274
|
-
'username': username
|
|
14275
|
-
},
|
|
14276
|
-
errors: {
|
|
14277
|
-
401: `Authentication required`,
|
|
14278
|
-
403: `Permission denied`
|
|
14279
|
-
}
|
|
14280
|
-
});
|
|
14281
|
-
}
|
|
14282
|
-
/**
|
|
14283
|
-
* Retrieve an artifact
|
|
14284
|
-
* Get detailed information about a specific artifact including its full content.
|
|
14285
|
-
* @returns Artifact
|
|
14286
|
-
* @throws ApiError
|
|
14287
|
-
*/
|
|
14288
|
-
static aiMentorOrgsUsersArtifactsCreate({
|
|
14289
|
-
org,
|
|
14290
|
-
userId,
|
|
14291
|
-
requestBody
|
|
14292
|
-
}) {
|
|
14293
|
-
return request(OpenAPI, {
|
|
14294
|
-
method: 'POST',
|
|
14295
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/artifacts/',
|
|
14296
|
-
path: {
|
|
14297
|
-
'org': org,
|
|
14298
|
-
'user_id': userId
|
|
14299
|
-
},
|
|
14300
|
-
body: requestBody,
|
|
14301
|
-
mediaType: 'application/json',
|
|
14302
|
-
errors: {
|
|
14303
|
-
401: `Authentication required`,
|
|
14304
|
-
403: `Permission denied`,
|
|
14305
|
-
404: `Artifact not found`
|
|
14306
|
-
}
|
|
14307
|
-
});
|
|
14308
|
-
}
|
|
14309
|
-
/**
|
|
14310
|
-
* Retrieve a specific artifact.
|
|
14311
|
-
* @returns Artifact
|
|
14312
|
-
* @throws ApiError
|
|
14313
|
-
*/
|
|
14314
|
-
static aiMentorOrgsUsersArtifactsRetrieve({
|
|
14315
|
-
id,
|
|
14316
|
-
org,
|
|
14317
|
-
userId
|
|
14318
|
-
}) {
|
|
14319
|
-
return request(OpenAPI, {
|
|
14320
|
-
method: 'GET',
|
|
14321
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/artifacts/{id}/',
|
|
14322
|
-
path: {
|
|
14323
|
-
'id': id,
|
|
14324
|
-
'org': org,
|
|
14325
|
-
'user_id': userId
|
|
14326
|
-
}
|
|
14327
|
-
});
|
|
14328
|
-
}
|
|
14329
|
-
/**
|
|
14330
|
-
* Update an artifact
|
|
14331
|
-
* Update all fields of an artifact (excluding session reference).
|
|
14332
|
-
* @returns Artifact
|
|
14333
|
-
* @throws ApiError
|
|
14334
|
-
*/
|
|
14335
|
-
static aiMentorOrgsUsersArtifactsUpdate({
|
|
14336
|
-
id,
|
|
14337
|
-
org,
|
|
14338
|
-
userId,
|
|
14339
|
-
requestBody
|
|
14340
|
-
}) {
|
|
14341
|
-
return request(OpenAPI, {
|
|
14342
|
-
method: 'PUT',
|
|
14343
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/artifacts/{id}/',
|
|
14344
|
-
path: {
|
|
14345
|
-
'id': id,
|
|
14346
|
-
'org': org,
|
|
14347
|
-
'user_id': userId
|
|
14348
|
-
},
|
|
14349
|
-
body: requestBody,
|
|
14350
|
-
mediaType: 'application/json',
|
|
14351
|
-
errors: {
|
|
14352
|
-
400: `Invalid data`,
|
|
14353
|
-
401: `Authentication required`,
|
|
14354
|
-
403: `Permission denied`,
|
|
14355
|
-
404: `Artifact not found`
|
|
14356
|
-
}
|
|
14357
|
-
});
|
|
14358
|
-
}
|
|
14359
|
-
/**
|
|
14360
|
-
* Partially update an artifact
|
|
14361
|
-
* Update specific fields of an artifact.
|
|
14362
|
-
* @returns Artifact
|
|
14363
|
-
* @throws ApiError
|
|
14364
|
-
*/
|
|
14365
|
-
static aiMentorOrgsUsersArtifactsPartialUpdate({
|
|
14366
|
-
id,
|
|
14367
|
-
org,
|
|
14368
|
-
userId,
|
|
14369
|
-
requestBody
|
|
14370
|
-
}) {
|
|
14371
|
-
return request(OpenAPI, {
|
|
14372
|
-
method: 'PATCH',
|
|
14373
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/artifacts/{id}/',
|
|
14374
|
-
path: {
|
|
14375
|
-
'id': id,
|
|
14376
|
-
'org': org,
|
|
14377
|
-
'user_id': userId
|
|
14378
|
-
},
|
|
14379
|
-
body: requestBody,
|
|
14380
|
-
mediaType: 'application/json',
|
|
14381
|
-
errors: {
|
|
14382
|
-
400: `Invalid data`,
|
|
14383
|
-
401: `Authentication required`,
|
|
14384
|
-
403: `Permission denied`,
|
|
14385
|
-
404: `Artifact not found`
|
|
14386
|
-
}
|
|
14387
|
-
});
|
|
14388
|
-
}
|
|
14389
|
-
/**
|
|
14390
|
-
* Delete an artifact
|
|
14391
|
-
* Delete a specific artifact.
|
|
14392
|
-
* @returns void
|
|
14393
|
-
* @throws ApiError
|
|
14394
|
-
*/
|
|
14395
|
-
static aiMentorOrgsUsersArtifactsDestroy({
|
|
14396
|
-
id,
|
|
14397
|
-
org,
|
|
14398
|
-
userId
|
|
14399
|
-
}) {
|
|
14400
|
-
return request(OpenAPI, {
|
|
14401
|
-
method: 'DELETE',
|
|
14402
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/artifacts/{id}/',
|
|
14403
|
-
path: {
|
|
14404
|
-
'id': id,
|
|
14405
|
-
'org': org,
|
|
14406
|
-
'user_id': userId
|
|
14407
|
-
},
|
|
14408
|
-
errors: {
|
|
14409
|
-
401: `Authentication required`,
|
|
14410
|
-
403: `Permission denied`,
|
|
14411
|
-
404: `Artifact not found`
|
|
14412
|
-
}
|
|
14413
|
-
});
|
|
14414
|
-
}
|
|
14415
|
-
/**
|
|
14416
|
-
* List artifact versions
|
|
14417
|
-
* Retrieve all versions for a specific artifact.
|
|
14418
|
-
* @returns PaginatedArtifactVersionList
|
|
14419
|
-
* @throws ApiError
|
|
14420
|
-
*/
|
|
14421
|
-
static aiMentorOrgsUsersArtifactsVersionsList({
|
|
14422
|
-
id,
|
|
14423
|
-
org,
|
|
14424
|
-
userId,
|
|
14425
|
-
fileExtension,
|
|
14426
|
-
llmName,
|
|
14427
|
-
llmProvider,
|
|
14428
|
-
mentorId,
|
|
14429
|
-
ordering,
|
|
14430
|
-
page,
|
|
14431
|
-
pageSize,
|
|
14432
|
-
search,
|
|
14433
|
-
sessionId,
|
|
14434
|
-
username
|
|
14435
|
-
}) {
|
|
14436
|
-
return request(OpenAPI, {
|
|
14437
|
-
method: 'GET',
|
|
14438
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/artifacts/{id}/versions/',
|
|
14439
|
-
path: {
|
|
14440
|
-
'id': id,
|
|
14441
|
-
'org': org,
|
|
14442
|
-
'user_id': userId
|
|
14443
|
-
},
|
|
14444
|
-
query: {
|
|
14445
|
-
'file_extension': fileExtension,
|
|
14446
|
-
'llm_name': llmName,
|
|
14447
|
-
'llm_provider': llmProvider,
|
|
14448
|
-
'mentor_id': mentorId,
|
|
14449
|
-
'ordering': ordering,
|
|
14450
|
-
'page': page,
|
|
14451
|
-
'page_size': pageSize,
|
|
14452
|
-
'search': search,
|
|
14453
|
-
'session_id': sessionId,
|
|
14454
|
-
'username': username
|
|
14455
|
-
},
|
|
14456
|
-
errors: {
|
|
14457
|
-
404: `Artifact not found`
|
|
14458
|
-
}
|
|
14459
|
-
});
|
|
14460
|
-
}
|
|
14461
|
-
/**
|
|
14462
|
-
* Get specific artifact version
|
|
14463
|
-
* Retrieve a specific version of an artifact by version ID.
|
|
14464
|
-
* @returns ArtifactVersion
|
|
14465
|
-
* @throws ApiError
|
|
14466
|
-
*/
|
|
14467
|
-
static aiMentorOrgsUsersArtifactsVersionsRetrieve({
|
|
14468
|
-
id,
|
|
14469
|
-
org,
|
|
14470
|
-
userId,
|
|
14471
|
-
versionId
|
|
14472
|
-
}) {
|
|
14473
|
-
return request(OpenAPI, {
|
|
14474
|
-
method: 'GET',
|
|
14475
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/artifacts/{id}/versions/{version_id}/',
|
|
14476
|
-
path: {
|
|
14477
|
-
'id': id,
|
|
14478
|
-
'org': org,
|
|
14479
|
-
'user_id': userId,
|
|
14480
|
-
'version_id': versionId
|
|
14481
|
-
},
|
|
14482
|
-
errors: {
|
|
14483
|
-
404: `Version not found`
|
|
14484
|
-
}
|
|
14485
|
-
});
|
|
14486
|
-
}
|
|
14487
|
-
/**
|
|
14488
|
-
* Set artifact version as current
|
|
14489
|
-
* Mark a specific version as the current/active version for an artifact.
|
|
14490
|
-
* @returns ArtifactVersion
|
|
14491
|
-
* @throws ApiError
|
|
14492
|
-
*/
|
|
14493
|
-
static aiMentorOrgsUsersArtifactsVersionsSetCurrentCreate({
|
|
14494
|
-
id,
|
|
14495
|
-
org,
|
|
14496
|
-
userId,
|
|
14497
|
-
requestBody
|
|
14498
|
-
}) {
|
|
14499
|
-
return request(OpenAPI, {
|
|
14500
|
-
method: 'POST',
|
|
14501
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/artifacts/{id}/versions/set-current/',
|
|
14502
|
-
path: {
|
|
14503
|
-
'id': id,
|
|
14504
|
-
'org': org,
|
|
14505
|
-
'user_id': userId
|
|
14506
|
-
},
|
|
14507
|
-
body: requestBody,
|
|
14508
|
-
mediaType: 'application/json',
|
|
14509
|
-
errors: {
|
|
14510
|
-
400: `Invalid request`,
|
|
14511
|
-
404: `Version not found`
|
|
14512
|
-
}
|
|
14513
|
-
});
|
|
14514
|
-
}
|
|
14515
13846
|
/**
|
|
14516
13847
|
* Retrieve assumed knowledge levels.
|
|
14517
13848
|
*
|
|
@@ -15037,27 +14368,6 @@ class AiMentorService {
|
|
|
15037
14368
|
}
|
|
15038
14369
|
});
|
|
15039
14370
|
}
|
|
15040
|
-
/**
|
|
15041
|
-
* Generate presigned S3 upload URL for chat file
|
|
15042
|
-
* @returns FileUploadURLResponse
|
|
15043
|
-
* @throws ApiError
|
|
15044
|
-
*/
|
|
15045
|
-
static aiMentorOrgsUsersChatFilesUploadUrlCreate({
|
|
15046
|
-
org,
|
|
15047
|
-
userId,
|
|
15048
|
-
requestBody
|
|
15049
|
-
}) {
|
|
15050
|
-
return request(OpenAPI, {
|
|
15051
|
-
method: 'POST',
|
|
15052
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/chat/files/upload-url/',
|
|
15053
|
-
path: {
|
|
15054
|
-
'org': org,
|
|
15055
|
-
'user_id': userId
|
|
15056
|
-
},
|
|
15057
|
-
body: requestBody,
|
|
15058
|
-
mediaType: 'application/json'
|
|
15059
|
-
});
|
|
15060
|
-
}
|
|
15061
14371
|
/**
|
|
15062
14372
|
* Retrieve and clean up vector results from a specific session.
|
|
15063
14373
|
*
|
|
@@ -18200,291 +17510,6 @@ class AiMentorService {
|
|
|
18200
17510
|
}
|
|
18201
17511
|
});
|
|
18202
17512
|
}
|
|
18203
|
-
/**
|
|
18204
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
18205
|
-
* @returns PaginatedGoogleAgentDetailList
|
|
18206
|
-
* @throws ApiError
|
|
18207
|
-
*/
|
|
18208
|
-
static aiMentorOrgsUsersGoogleAgentsList({
|
|
18209
|
-
org,
|
|
18210
|
-
userId,
|
|
18211
|
-
page,
|
|
18212
|
-
pageSize
|
|
18213
|
-
}) {
|
|
18214
|
-
return request(OpenAPI, {
|
|
18215
|
-
method: 'GET',
|
|
18216
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/google-agents/',
|
|
18217
|
-
path: {
|
|
18218
|
-
'org': org,
|
|
18219
|
-
'user_id': userId
|
|
18220
|
-
},
|
|
18221
|
-
query: {
|
|
18222
|
-
'page': page,
|
|
18223
|
-
'page_size': pageSize
|
|
18224
|
-
}
|
|
18225
|
-
});
|
|
18226
|
-
}
|
|
18227
|
-
/**
|
|
18228
|
-
* Sample Request
|
|
18229
|
-
* ```
|
|
18230
|
-
* {"name": "my agent", "instruction": "you are a helpful agent",}
|
|
18231
|
-
* ```
|
|
18232
|
-
* @returns GoogleAgentDetail
|
|
18233
|
-
* @throws ApiError
|
|
18234
|
-
*/
|
|
18235
|
-
static aiMentorOrgsUsersGoogleAgentsCreate({
|
|
18236
|
-
org,
|
|
18237
|
-
userId,
|
|
18238
|
-
requestBody
|
|
18239
|
-
}) {
|
|
18240
|
-
return request(OpenAPI, {
|
|
18241
|
-
method: 'POST',
|
|
18242
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/google-agents/',
|
|
18243
|
-
path: {
|
|
18244
|
-
'org': org,
|
|
18245
|
-
'user_id': userId
|
|
18246
|
-
},
|
|
18247
|
-
body: requestBody,
|
|
18248
|
-
mediaType: 'application/json'
|
|
18249
|
-
});
|
|
18250
|
-
}
|
|
18251
|
-
/**
|
|
18252
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
18253
|
-
* @returns GoogleAgentDetail
|
|
18254
|
-
* @throws ApiError
|
|
18255
|
-
*/
|
|
18256
|
-
static aiMentorOrgsUsersGoogleAgentsRetrieve({
|
|
18257
|
-
org,
|
|
18258
|
-
uniqueId,
|
|
18259
|
-
userId
|
|
18260
|
-
}) {
|
|
18261
|
-
return request(OpenAPI, {
|
|
18262
|
-
method: 'GET',
|
|
18263
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/google-agents/{unique_id}/',
|
|
18264
|
-
path: {
|
|
18265
|
-
'org': org,
|
|
18266
|
-
'unique_id': uniqueId,
|
|
18267
|
-
'user_id': userId
|
|
18268
|
-
}
|
|
18269
|
-
});
|
|
18270
|
-
}
|
|
18271
|
-
/**
|
|
18272
|
-
* Mainly used to update the sub agent list.
|
|
18273
|
-
*
|
|
18274
|
-
* Sample request:
|
|
18275
|
-
* ```
|
|
18276
|
-
* {
|
|
18277
|
-
* "sub_agents": [
|
|
18278
|
-
* "adc4bf84-c174-47e1-b11c-7713ef2dcd89",
|
|
18279
|
-
* "3fb5806d-3be1-4bfd-bcb0-a48558465644",
|
|
18280
|
-
* "339e44cd-6084-4530-be70-ac2a83759fb6"
|
|
18281
|
-
* ]
|
|
18282
|
-
* }
|
|
18283
|
-
* ```
|
|
18284
|
-
* @returns GoogleAgentDetail
|
|
18285
|
-
* @throws ApiError
|
|
18286
|
-
*/
|
|
18287
|
-
static aiMentorOrgsUsersGoogleAgentsPartialUpdate({
|
|
18288
|
-
org,
|
|
18289
|
-
uniqueId,
|
|
18290
|
-
userId,
|
|
18291
|
-
requestBody
|
|
18292
|
-
}) {
|
|
18293
|
-
return request(OpenAPI, {
|
|
18294
|
-
method: 'PATCH',
|
|
18295
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/google-agents/{unique_id}/',
|
|
18296
|
-
path: {
|
|
18297
|
-
'org': org,
|
|
18298
|
-
'unique_id': uniqueId,
|
|
18299
|
-
'user_id': userId
|
|
18300
|
-
},
|
|
18301
|
-
body: requestBody,
|
|
18302
|
-
mediaType: 'application/json'
|
|
18303
|
-
});
|
|
18304
|
-
}
|
|
18305
|
-
/**
|
|
18306
|
-
* Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
|
|
18307
|
-
* @returns void
|
|
18308
|
-
* @throws ApiError
|
|
18309
|
-
*/
|
|
18310
|
-
static aiMentorOrgsUsersGoogleAgentsDestroy({
|
|
18311
|
-
org,
|
|
18312
|
-
uniqueId,
|
|
18313
|
-
userId
|
|
18314
|
-
}) {
|
|
18315
|
-
return request(OpenAPI, {
|
|
18316
|
-
method: 'DELETE',
|
|
18317
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/google-agents/{unique_id}/',
|
|
18318
|
-
path: {
|
|
18319
|
-
'org': org,
|
|
18320
|
-
'unique_id': uniqueId,
|
|
18321
|
-
'user_id': userId
|
|
18322
|
-
}
|
|
18323
|
-
});
|
|
18324
|
-
}
|
|
18325
|
-
/**
|
|
18326
|
-
* ViewSet for MCP server connections.
|
|
18327
|
-
*
|
|
18328
|
-
* Tenant administrators can create user- or platform-scoped connections that
|
|
18329
|
-
* encapsulate the authentication configuration for invoking an MCP server.
|
|
18330
|
-
* @returns PaginatedMCPServerConnectionList
|
|
18331
|
-
* @throws ApiError
|
|
18332
|
-
*/
|
|
18333
|
-
static aiMentorOrgsUsersMcpServerConnectionsList({
|
|
18334
|
-
org,
|
|
18335
|
-
userId,
|
|
18336
|
-
authType,
|
|
18337
|
-
isActive,
|
|
18338
|
-
mentor,
|
|
18339
|
-
page,
|
|
18340
|
-
pageSize,
|
|
18341
|
-
scope,
|
|
18342
|
-
search,
|
|
18343
|
-
server,
|
|
18344
|
-
user
|
|
18345
|
-
}) {
|
|
18346
|
-
return request(OpenAPI, {
|
|
18347
|
-
method: 'GET',
|
|
18348
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/mcp-server-connections/',
|
|
18349
|
-
path: {
|
|
18350
|
-
'org': org,
|
|
18351
|
-
'user_id': userId
|
|
18352
|
-
},
|
|
18353
|
-
query: {
|
|
18354
|
-
'auth_type': authType,
|
|
18355
|
-
'is_active': isActive,
|
|
18356
|
-
'mentor': mentor,
|
|
18357
|
-
'page': page,
|
|
18358
|
-
'page_size': pageSize,
|
|
18359
|
-
'scope': scope,
|
|
18360
|
-
'search': search,
|
|
18361
|
-
'server': server,
|
|
18362
|
-
'user': user
|
|
18363
|
-
}
|
|
18364
|
-
});
|
|
18365
|
-
}
|
|
18366
|
-
/**
|
|
18367
|
-
* ViewSet for MCP server connections.
|
|
18368
|
-
*
|
|
18369
|
-
* Tenant administrators can create user- or platform-scoped connections that
|
|
18370
|
-
* encapsulate the authentication configuration for invoking an MCP server.
|
|
18371
|
-
* @returns MCPServerConnection
|
|
18372
|
-
* @throws ApiError
|
|
18373
|
-
*/
|
|
18374
|
-
static aiMentorOrgsUsersMcpServerConnectionsCreate({
|
|
18375
|
-
org,
|
|
18376
|
-
userId,
|
|
18377
|
-
requestBody
|
|
18378
|
-
}) {
|
|
18379
|
-
return request(OpenAPI, {
|
|
18380
|
-
method: 'POST',
|
|
18381
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/mcp-server-connections/',
|
|
18382
|
-
path: {
|
|
18383
|
-
'org': org,
|
|
18384
|
-
'user_id': userId
|
|
18385
|
-
},
|
|
18386
|
-
body: requestBody,
|
|
18387
|
-
mediaType: 'application/json'
|
|
18388
|
-
});
|
|
18389
|
-
}
|
|
18390
|
-
/**
|
|
18391
|
-
* ViewSet for MCP server connections.
|
|
18392
|
-
*
|
|
18393
|
-
* Tenant administrators can create user- or platform-scoped connections that
|
|
18394
|
-
* encapsulate the authentication configuration for invoking an MCP server.
|
|
18395
|
-
* @returns MCPServerConnection
|
|
18396
|
-
* @throws ApiError
|
|
18397
|
-
*/
|
|
18398
|
-
static aiMentorOrgsUsersMcpServerConnectionsRetrieve({
|
|
18399
|
-
id,
|
|
18400
|
-
org,
|
|
18401
|
-
userId
|
|
18402
|
-
}) {
|
|
18403
|
-
return request(OpenAPI, {
|
|
18404
|
-
method: 'GET',
|
|
18405
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/mcp-server-connections/{id}/',
|
|
18406
|
-
path: {
|
|
18407
|
-
'id': id,
|
|
18408
|
-
'org': org,
|
|
18409
|
-
'user_id': userId
|
|
18410
|
-
}
|
|
18411
|
-
});
|
|
18412
|
-
}
|
|
18413
|
-
/**
|
|
18414
|
-
* ViewSet for MCP server connections.
|
|
18415
|
-
*
|
|
18416
|
-
* Tenant administrators can create user- or platform-scoped connections that
|
|
18417
|
-
* encapsulate the authentication configuration for invoking an MCP server.
|
|
18418
|
-
* @returns MCPServerConnection
|
|
18419
|
-
* @throws ApiError
|
|
18420
|
-
*/
|
|
18421
|
-
static aiMentorOrgsUsersMcpServerConnectionsUpdate({
|
|
18422
|
-
id,
|
|
18423
|
-
org,
|
|
18424
|
-
userId,
|
|
18425
|
-
requestBody
|
|
18426
|
-
}) {
|
|
18427
|
-
return request(OpenAPI, {
|
|
18428
|
-
method: 'PUT',
|
|
18429
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/mcp-server-connections/{id}/',
|
|
18430
|
-
path: {
|
|
18431
|
-
'id': id,
|
|
18432
|
-
'org': org,
|
|
18433
|
-
'user_id': userId
|
|
18434
|
-
},
|
|
18435
|
-
body: requestBody,
|
|
18436
|
-
mediaType: 'application/json'
|
|
18437
|
-
});
|
|
18438
|
-
}
|
|
18439
|
-
/**
|
|
18440
|
-
* ViewSet for MCP server connections.
|
|
18441
|
-
*
|
|
18442
|
-
* Tenant administrators can create user- or platform-scoped connections that
|
|
18443
|
-
* encapsulate the authentication configuration for invoking an MCP server.
|
|
18444
|
-
* @returns MCPServerConnection
|
|
18445
|
-
* @throws ApiError
|
|
18446
|
-
*/
|
|
18447
|
-
static aiMentorOrgsUsersMcpServerConnectionsPartialUpdate({
|
|
18448
|
-
id,
|
|
18449
|
-
org,
|
|
18450
|
-
userId,
|
|
18451
|
-
requestBody
|
|
18452
|
-
}) {
|
|
18453
|
-
return request(OpenAPI, {
|
|
18454
|
-
method: 'PATCH',
|
|
18455
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/mcp-server-connections/{id}/',
|
|
18456
|
-
path: {
|
|
18457
|
-
'id': id,
|
|
18458
|
-
'org': org,
|
|
18459
|
-
'user_id': userId
|
|
18460
|
-
},
|
|
18461
|
-
body: requestBody,
|
|
18462
|
-
mediaType: 'application/json'
|
|
18463
|
-
});
|
|
18464
|
-
}
|
|
18465
|
-
/**
|
|
18466
|
-
* ViewSet for MCP server connections.
|
|
18467
|
-
*
|
|
18468
|
-
* Tenant administrators can create user- or platform-scoped connections that
|
|
18469
|
-
* encapsulate the authentication configuration for invoking an MCP server.
|
|
18470
|
-
* @returns void
|
|
18471
|
-
* @throws ApiError
|
|
18472
|
-
*/
|
|
18473
|
-
static aiMentorOrgsUsersMcpServerConnectionsDestroy({
|
|
18474
|
-
id,
|
|
18475
|
-
org,
|
|
18476
|
-
userId
|
|
18477
|
-
}) {
|
|
18478
|
-
return request(OpenAPI, {
|
|
18479
|
-
method: 'DELETE',
|
|
18480
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/mcp-server-connections/{id}/',
|
|
18481
|
-
path: {
|
|
18482
|
-
'id': id,
|
|
18483
|
-
'org': org,
|
|
18484
|
-
'user_id': userId
|
|
18485
|
-
}
|
|
18486
|
-
});
|
|
18487
|
-
}
|
|
18488
17513
|
/**
|
|
18489
17514
|
* List all MCP servers.
|
|
18490
17515
|
*
|
|
@@ -18496,13 +17521,10 @@ class AiMentorService {
|
|
|
18496
17521
|
static aiMentorOrgsUsersMcpServersList({
|
|
18497
17522
|
org,
|
|
18498
17523
|
userId,
|
|
18499
|
-
authType,
|
|
18500
|
-
isEnabled,
|
|
18501
|
-
isFeatured,
|
|
18502
17524
|
page,
|
|
18503
17525
|
pageSize,
|
|
18504
|
-
|
|
18505
|
-
|
|
17526
|
+
platform,
|
|
17527
|
+
search
|
|
18506
17528
|
}) {
|
|
18507
17529
|
return request(OpenAPI, {
|
|
18508
17530
|
method: 'GET',
|
|
@@ -18512,13 +17534,10 @@ class AiMentorService {
|
|
|
18512
17534
|
'user_id': userId
|
|
18513
17535
|
},
|
|
18514
17536
|
query: {
|
|
18515
|
-
'auth_type': authType,
|
|
18516
|
-
'is_enabled': isEnabled,
|
|
18517
|
-
'is_featured': isFeatured,
|
|
18518
17537
|
'page': page,
|
|
18519
17538
|
'page_size': pageSize,
|
|
18520
|
-
'
|
|
18521
|
-
'
|
|
17539
|
+
'platform': platform,
|
|
17540
|
+
'search': search
|
|
18522
17541
|
}
|
|
18523
17542
|
});
|
|
18524
17543
|
}
|
|
@@ -18535,7 +17554,7 @@ class AiMentorService {
|
|
|
18535
17554
|
static aiMentorOrgsUsersMcpServersCreate({
|
|
18536
17555
|
org,
|
|
18537
17556
|
userId,
|
|
18538
|
-
|
|
17557
|
+
requestBody
|
|
18539
17558
|
}) {
|
|
18540
17559
|
return request(OpenAPI, {
|
|
18541
17560
|
method: 'POST',
|
|
@@ -18544,8 +17563,8 @@ class AiMentorService {
|
|
|
18544
17563
|
'org': org,
|
|
18545
17564
|
'user_id': userId
|
|
18546
17565
|
},
|
|
18547
|
-
|
|
18548
|
-
mediaType: '
|
|
17566
|
+
body: requestBody,
|
|
17567
|
+
mediaType: 'application/json'
|
|
18549
17568
|
});
|
|
18550
17569
|
}
|
|
18551
17570
|
/**
|
|
@@ -18587,7 +17606,7 @@ class AiMentorService {
|
|
|
18587
17606
|
id,
|
|
18588
17607
|
org,
|
|
18589
17608
|
userId,
|
|
18590
|
-
|
|
17609
|
+
requestBody
|
|
18591
17610
|
}) {
|
|
18592
17611
|
return request(OpenAPI, {
|
|
18593
17612
|
method: 'PUT',
|
|
@@ -18597,8 +17616,8 @@ class AiMentorService {
|
|
|
18597
17616
|
'org': org,
|
|
18598
17617
|
'user_id': userId
|
|
18599
17618
|
},
|
|
18600
|
-
|
|
18601
|
-
mediaType: '
|
|
17619
|
+
body: requestBody,
|
|
17620
|
+
mediaType: 'application/json'
|
|
18602
17621
|
});
|
|
18603
17622
|
}
|
|
18604
17623
|
/**
|
|
@@ -18615,7 +17634,7 @@ class AiMentorService {
|
|
|
18615
17634
|
id,
|
|
18616
17635
|
org,
|
|
18617
17636
|
userId,
|
|
18618
|
-
|
|
17637
|
+
requestBody
|
|
18619
17638
|
}) {
|
|
18620
17639
|
return request(OpenAPI, {
|
|
18621
17640
|
method: 'PATCH',
|
|
@@ -18625,8 +17644,8 @@ class AiMentorService {
|
|
|
18625
17644
|
'org': org,
|
|
18626
17645
|
'user_id': userId
|
|
18627
17646
|
},
|
|
18628
|
-
|
|
18629
|
-
mediaType: '
|
|
17647
|
+
body: requestBody,
|
|
17648
|
+
mediaType: 'application/json'
|
|
18630
17649
|
});
|
|
18631
17650
|
}
|
|
18632
17651
|
/**
|
|
@@ -20059,7 +19078,6 @@ class AiMentorService {
|
|
|
20059
19078
|
});
|
|
20060
19079
|
}
|
|
20061
19080
|
/**
|
|
20062
|
-
* Return True if the token is valid and link is enabled, else False
|
|
20063
19081
|
* @returns ShareableMentorLink
|
|
20064
19082
|
* @throws ApiError
|
|
20065
19083
|
*/
|
|
@@ -20586,14 +19604,12 @@ class AiMentorService {
|
|
|
20586
19604
|
static aiMentorOrgsUsersModerationLogsList({
|
|
20587
19605
|
org,
|
|
20588
19606
|
userId,
|
|
20589
|
-
endTime,
|
|
20590
19607
|
mentor,
|
|
20591
19608
|
ordering,
|
|
20592
19609
|
page,
|
|
20593
19610
|
pageSize,
|
|
20594
19611
|
platformKey,
|
|
20595
19612
|
search,
|
|
20596
|
-
startTime,
|
|
20597
19613
|
targetSystem,
|
|
20598
19614
|
username
|
|
20599
19615
|
}) {
|
|
@@ -20605,14 +19621,12 @@ class AiMentorService {
|
|
|
20605
19621
|
'user_id': userId
|
|
20606
19622
|
},
|
|
20607
19623
|
query: {
|
|
20608
|
-
'end_time': endTime,
|
|
20609
19624
|
'mentor': mentor,
|
|
20610
19625
|
'ordering': ordering,
|
|
20611
19626
|
'page': page,
|
|
20612
19627
|
'page_size': pageSize,
|
|
20613
19628
|
'platform_key': platformKey,
|
|
20614
19629
|
'search': search,
|
|
20615
|
-
'start_time': startTime,
|
|
20616
19630
|
'target_system': targetSystem,
|
|
20617
19631
|
'username': username
|
|
20618
19632
|
}
|
|
@@ -21992,14 +21006,12 @@ class AiMentorService {
|
|
|
21992
21006
|
static aiMentorOrgsUsersSafetyLogsList({
|
|
21993
21007
|
org,
|
|
21994
21008
|
userId,
|
|
21995
|
-
endTime,
|
|
21996
21009
|
mentor,
|
|
21997
21010
|
ordering,
|
|
21998
21011
|
page,
|
|
21999
21012
|
pageSize,
|
|
22000
21013
|
platformKey,
|
|
22001
21014
|
search,
|
|
22002
|
-
startTime,
|
|
22003
21015
|
targetSystem,
|
|
22004
21016
|
username
|
|
22005
21017
|
}) {
|
|
@@ -22011,14 +21023,12 @@ class AiMentorService {
|
|
|
22011
21023
|
'user_id': userId
|
|
22012
21024
|
},
|
|
22013
21025
|
query: {
|
|
22014
|
-
'end_time': endTime,
|
|
22015
21026
|
'mentor': mentor,
|
|
22016
21027
|
'ordering': ordering,
|
|
22017
21028
|
'page': page,
|
|
22018
21029
|
'page_size': pageSize,
|
|
22019
21030
|
'platform_key': platformKey,
|
|
22020
21031
|
'search': search,
|
|
22021
|
-
'start_time': startTime,
|
|
22022
21032
|
'target_system': targetSystem,
|
|
22023
21033
|
'username': username
|
|
22024
21034
|
}
|
|
@@ -22393,27 +21403,6 @@ class AiMentorService {
|
|
|
22393
21403
|
}
|
|
22394
21404
|
});
|
|
22395
21405
|
}
|
|
22396
|
-
/**
|
|
22397
|
-
* Retrieve Shared Messages
|
|
22398
|
-
* Fetches shared chat messages for a specific session.
|
|
22399
|
-
* @returns MessageView
|
|
22400
|
-
* @throws ApiError
|
|
22401
|
-
*/
|
|
22402
|
-
static aiMentorOrgsUsersSessionsSharedRetrieve({
|
|
22403
|
-
org,
|
|
22404
|
-
sessionId,
|
|
22405
|
-
userId
|
|
22406
|
-
}) {
|
|
22407
|
-
return request(OpenAPI, {
|
|
22408
|
-
method: 'GET',
|
|
22409
|
-
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/sessions/{session_id}/shared/',
|
|
22410
|
-
path: {
|
|
22411
|
-
'org': org,
|
|
22412
|
-
'session_id': sessionId,
|
|
22413
|
-
'user_id': userId
|
|
22414
|
-
}
|
|
22415
|
-
});
|
|
22416
|
-
}
|
|
22417
21406
|
/**
|
|
22418
21407
|
* Retrieve shell logs for a specific session.
|
|
22419
21408
|
*
|
|
@@ -24809,468 +23798,6 @@ class AiPromptService {
|
|
|
24809
23798
|
}
|
|
24810
23799
|
}
|
|
24811
23800
|
|
|
24812
|
-
class AiSearchService {
|
|
24813
|
-
/**
|
|
24814
|
-
* Search and filter AI mentors across the platform
|
|
24815
|
-
*
|
|
24816
|
-
* Search and filter AI mentors with support for comprehensive filtering, pagination, and detailed mentor information.
|
|
24817
|
-
* This endpoint supports both anonymous and authenticated users with different access levels.
|
|
24818
|
-
*
|
|
24819
|
-
* **Anonymous Users:**
|
|
24820
|
-
* - Access to public mentors only (VIEWABLE_BY_ANYONE)
|
|
24821
|
-
* - Limited search capabilities
|
|
24822
|
-
* - No personalization
|
|
24823
|
-
*
|
|
24824
|
-
* **Authenticated Users:**
|
|
24825
|
-
* - Full access based on platform permissions (scoped to requested platform)
|
|
24826
|
-
* - Personalized results
|
|
24827
|
-
* - Access to tenant-specific mentors
|
|
24828
|
-
*
|
|
24829
|
-
* **Required Parameters (Authenticated Users):**
|
|
24830
|
-
* - `platform_key` OR `tenant`: Platform key for RBAC enforcement (required for authenticated requests)
|
|
24831
|
-
* - Use `platform_key` (preferred) or `tenant` (backward compatibility) - both serve the same purpose
|
|
24832
|
-
* - If both are provided, `platform_key` takes precedence
|
|
24833
|
-
*
|
|
24834
|
-
* **Available Filters:**
|
|
24835
|
-
* - `query`: Search term to filter mentors by name or description
|
|
24836
|
-
* - `tenant`: Filter by tenant/organization platform key(s) - can also be used as alias for `platform_key` (backward compatibility)
|
|
24837
|
-
* - `category`: Filter by mentor category (comma-separated)
|
|
24838
|
-
* - `subjects`: Filter by mentor subject (comma-separated)
|
|
24839
|
-
* - `types`: Filter by mentor type (comma-separated)
|
|
24840
|
-
* - `llm`: Filter by LLM provider (comma-separated, e.g., GPT-4, Claude)
|
|
24841
|
-
* - `visibility`: Filter by visibility level (comma-separated: viewable_by_anyone, viewable_by_tenant_students, viewable_by_tenant_admins)
|
|
24842
|
-
* - `created_by`: Filter mentors created by specific user (for personalized search)
|
|
24843
|
-
* - `include_main_public_mentors`: Include main tenant public mentors
|
|
24844
|
-
*
|
|
24845
|
-
* **Facets:**
|
|
24846
|
-
* The response includes facets with aggregated counts for all filterable attributes:
|
|
24847
|
-
* - categories, subjects, types, llm_providers, visibility
|
|
24848
|
-
* All facet values can be used as filter parameters in subsequent requests.
|
|
24849
|
-
*
|
|
24850
|
-
* Notes:
|
|
24851
|
-
* - Detail view is removed; use the ibl_ai_mentor app for mentor details
|
|
24852
|
-
* - include_main_public_mentors=true shows only VIEWABLE_BY_ANYONE mentors from the main tenant across tenants
|
|
24853
|
-
* - For authenticated requests, either `platform_key` or `tenant` is required when username is provided
|
|
24854
|
-
* - `tenant` parameter serves dual purpose: as a filter for multiple tenants, or as an alias for `platform_key` (backward compatibility)
|
|
24855
|
-
* - Frontend uses `llm` parameter name (backend maps to `llm_provider` automatically)
|
|
24856
|
-
*
|
|
24857
|
-
* @returns V2GlobalMentorSearchResponse
|
|
24858
|
-
* @throws ApiError
|
|
24859
|
-
*/
|
|
24860
|
-
static v2GlobalMentorSearch({
|
|
24861
|
-
category,
|
|
24862
|
-
createdBy,
|
|
24863
|
-
featured,
|
|
24864
|
-
includeMainPublicMentors = false,
|
|
24865
|
-
limit,
|
|
24866
|
-
llm,
|
|
24867
|
-
offset,
|
|
24868
|
-
platformKey,
|
|
24869
|
-
query,
|
|
24870
|
-
starred,
|
|
24871
|
-
subjects,
|
|
24872
|
-
tenant,
|
|
24873
|
-
types,
|
|
24874
|
-
visibility
|
|
24875
|
-
}) {
|
|
24876
|
-
return request(OpenAPI, {
|
|
24877
|
-
method: 'GET',
|
|
24878
|
-
url: '/api/ai-search/mentors/',
|
|
24879
|
-
query: {
|
|
24880
|
-
'category': category,
|
|
24881
|
-
'created_by': createdBy,
|
|
24882
|
-
'featured': featured,
|
|
24883
|
-
'include_main_public_mentors': includeMainPublicMentors,
|
|
24884
|
-
'limit': limit,
|
|
24885
|
-
'llm': llm,
|
|
24886
|
-
'offset': offset,
|
|
24887
|
-
'platform_key': platformKey,
|
|
24888
|
-
'query': query,
|
|
24889
|
-
'starred': starred,
|
|
24890
|
-
'subjects': subjects,
|
|
24891
|
-
'tenant': tenant,
|
|
24892
|
-
'types': types,
|
|
24893
|
-
'visibility': visibility
|
|
24894
|
-
},
|
|
24895
|
-
errors: {
|
|
24896
|
-
400: `Bad request - invalid parameters`,
|
|
24897
|
-
500: `Internal server error`
|
|
24898
|
-
}
|
|
24899
|
-
});
|
|
24900
|
-
}
|
|
24901
|
-
/**
|
|
24902
|
-
* Handle GET requests for my mentors.
|
|
24903
|
-
* @returns MentorSearchResponse
|
|
24904
|
-
* @throws ApiError
|
|
24905
|
-
*/
|
|
24906
|
-
static aiSearchOrgsUsersMyMentorsRetrieve({
|
|
24907
|
-
org,
|
|
24908
|
-
username,
|
|
24909
|
-
audience,
|
|
24910
|
-
category,
|
|
24911
|
-
createdBy,
|
|
24912
|
-
featured,
|
|
24913
|
-
id,
|
|
24914
|
-
includeMainPublicMentors = false,
|
|
24915
|
-
limit = 12,
|
|
24916
|
-
llm,
|
|
24917
|
-
offset,
|
|
24918
|
-
orderBy,
|
|
24919
|
-
orderDirection = 'desc',
|
|
24920
|
-
query,
|
|
24921
|
-
tags,
|
|
24922
|
-
tenant,
|
|
24923
|
-
uniqueId
|
|
24924
|
-
}) {
|
|
24925
|
-
return request(OpenAPI, {
|
|
24926
|
-
method: 'GET',
|
|
24927
|
-
url: '/api/ai-search/orgs/{org}/users/{username}/my-mentors/',
|
|
24928
|
-
path: {
|
|
24929
|
-
'org': org,
|
|
24930
|
-
'username': username
|
|
24931
|
-
},
|
|
24932
|
-
query: {
|
|
24933
|
-
'audience': audience,
|
|
24934
|
-
'category': category,
|
|
24935
|
-
'created_by': createdBy,
|
|
24936
|
-
'featured': featured,
|
|
24937
|
-
'id': id,
|
|
24938
|
-
'include_main_public_mentors': includeMainPublicMentors,
|
|
24939
|
-
'limit': limit,
|
|
24940
|
-
'llm': llm,
|
|
24941
|
-
'offset': offset,
|
|
24942
|
-
'order_by': orderBy,
|
|
24943
|
-
'order_direction': orderDirection,
|
|
24944
|
-
'query': query,
|
|
24945
|
-
'tags': tags,
|
|
24946
|
-
'tenant': tenant,
|
|
24947
|
-
'unique_id': uniqueId
|
|
24948
|
-
},
|
|
24949
|
-
errors: {
|
|
24950
|
-
400: `Bad request`,
|
|
24951
|
-
401: `Unauthorized`,
|
|
24952
|
-
403: `Forbidden`,
|
|
24953
|
-
404: `Not found`,
|
|
24954
|
-
500: `Server error`
|
|
24955
|
-
}
|
|
24956
|
-
});
|
|
24957
|
-
}
|
|
24958
|
-
/**
|
|
24959
|
-
* Get mentors created by a specific user
|
|
24960
|
-
*
|
|
24961
|
-
* Get mentors created by a specific user within a given organization/platform.
|
|
24962
|
-
* This endpoint provides a personalized view of the user's own mentors with
|
|
24963
|
-
* support for filtering, pagination, and detailed mentor information.
|
|
24964
|
-
*
|
|
24965
|
-
* **Authentication Required:**
|
|
24966
|
-
* - username: Required for personalized mentor access
|
|
24967
|
-
* - platform_key OR tenant: Required for tenant-specific content (both serve the same purpose)
|
|
24968
|
-
* - Use `platform_key` (preferred) or `tenant` (backward compatibility)
|
|
24969
|
-
* - If both are provided, `platform_key` takes precedence
|
|
24970
|
-
*
|
|
24971
|
-
* **Features:**
|
|
24972
|
-
* - User's own mentors only
|
|
24973
|
-
* - Personalization data (access counts, last used)
|
|
24974
|
-
* - Filtering and faceted search
|
|
24975
|
-
* - Pagination support
|
|
24976
|
-
* - Detail and list views
|
|
24977
|
-
*
|
|
24978
|
-
* @returns V2PersonalizedMentorsResponse
|
|
24979
|
-
* @throws ApiError
|
|
24980
|
-
*/
|
|
24981
|
-
static v2PersonalizedMentors({
|
|
24982
|
-
audience,
|
|
24983
|
-
category,
|
|
24984
|
-
featured,
|
|
24985
|
-
limit,
|
|
24986
|
-
llm,
|
|
24987
|
-
offset,
|
|
24988
|
-
orderBy,
|
|
24989
|
-
orderDirection,
|
|
24990
|
-
platformKey,
|
|
24991
|
-
query,
|
|
24992
|
-
returnFacet,
|
|
24993
|
-
starred,
|
|
24994
|
-
tags,
|
|
24995
|
-
tenant,
|
|
24996
|
-
username,
|
|
24997
|
-
visibility
|
|
24998
|
-
}) {
|
|
24999
|
-
return request(OpenAPI, {
|
|
25000
|
-
method: 'GET',
|
|
25001
|
-
url: '/api/ai-search/personalized-mentors/',
|
|
25002
|
-
query: {
|
|
25003
|
-
'audience': audience,
|
|
25004
|
-
'category': category,
|
|
25005
|
-
'featured': featured,
|
|
25006
|
-
'limit': limit,
|
|
25007
|
-
'llm': llm,
|
|
25008
|
-
'offset': offset,
|
|
25009
|
-
'order_by': orderBy,
|
|
25010
|
-
'order_direction': orderDirection,
|
|
25011
|
-
'platform_key': platformKey,
|
|
25012
|
-
'query': query,
|
|
25013
|
-
'return_facet': returnFacet,
|
|
25014
|
-
'starred': starred,
|
|
25015
|
-
'tags': tags,
|
|
25016
|
-
'tenant': tenant,
|
|
25017
|
-
'username': username,
|
|
25018
|
-
'visibility': visibility
|
|
25019
|
-
},
|
|
25020
|
-
errors: {
|
|
25021
|
-
400: `Bad request - invalid parameters`,
|
|
25022
|
-
401: `Unauthorized - missing credentials`,
|
|
25023
|
-
403: `Forbidden - insufficient permissions`,
|
|
25024
|
-
404: `Mentor not found`,
|
|
25025
|
-
500: `Internal server error`
|
|
25026
|
-
}
|
|
25027
|
-
});
|
|
25028
|
-
}
|
|
25029
|
-
/**
|
|
25030
|
-
* List recommendation prompts for a platform
|
|
25031
|
-
* Get all recommendation prompts for a specific platform. Optionally filter by SPA URL or recommendation type.
|
|
25032
|
-
* @returns PlatformPromptResponse
|
|
25033
|
-
* @throws ApiError
|
|
25034
|
-
*/
|
|
25035
|
-
static listPlatformPrompts() {
|
|
25036
|
-
return request(OpenAPI, {
|
|
25037
|
-
method: 'GET',
|
|
25038
|
-
url: '/api/ai-search/prompts/',
|
|
25039
|
-
errors: {
|
|
25040
|
-
400: `Invalid parameters`,
|
|
25041
|
-
401: `Authentication required`,
|
|
25042
|
-
403: `Admin permissions required`
|
|
25043
|
-
}
|
|
25044
|
-
});
|
|
25045
|
-
}
|
|
25046
|
-
/**
|
|
25047
|
-
* Create a new recommendation prompt
|
|
25048
|
-
* Create a new recommendation prompt for a platform and SPA.
|
|
25049
|
-
* @returns PlatformPromptResponse
|
|
25050
|
-
* @throws ApiError
|
|
25051
|
-
*/
|
|
25052
|
-
static createPlatformPrompt({
|
|
25053
|
-
requestBody
|
|
25054
|
-
}) {
|
|
25055
|
-
return request(OpenAPI, {
|
|
25056
|
-
method: 'POST',
|
|
25057
|
-
url: '/api/ai-search/prompts/',
|
|
25058
|
-
body: requestBody,
|
|
25059
|
-
mediaType: 'application/json',
|
|
25060
|
-
errors: {
|
|
25061
|
-
400: `Invalid data`,
|
|
25062
|
-
401: `Authentication required`,
|
|
25063
|
-
403: `Admin permissions required`,
|
|
25064
|
-
409: `Prompt already exists for this combination`
|
|
25065
|
-
}
|
|
25066
|
-
});
|
|
25067
|
-
}
|
|
25068
|
-
/**
|
|
25069
|
-
* Update an existing recommendation prompt
|
|
25070
|
-
* Update an existing prompt by ID. Must provide platform_key to verify ownership.
|
|
25071
|
-
* @returns PlatformPromptResponse
|
|
25072
|
-
* @throws ApiError
|
|
25073
|
-
*/
|
|
25074
|
-
static updatePlatformPrompt({
|
|
25075
|
-
requestBody
|
|
25076
|
-
}) {
|
|
25077
|
-
return request(OpenAPI, {
|
|
25078
|
-
method: 'PUT',
|
|
25079
|
-
url: '/api/ai-search/prompts/',
|
|
25080
|
-
body: requestBody,
|
|
25081
|
-
mediaType: 'application/json',
|
|
25082
|
-
errors: {
|
|
25083
|
-
400: `Invalid data`,
|
|
25084
|
-
401: `Authentication required`,
|
|
25085
|
-
403: `Admin permissions required or platform mismatch`,
|
|
25086
|
-
404: `Prompt not found`
|
|
25087
|
-
}
|
|
25088
|
-
});
|
|
25089
|
-
}
|
|
25090
|
-
/**
|
|
25091
|
-
* Delete a recommendation prompt
|
|
25092
|
-
* Delete a recommendation prompt by ID. Must provide platform_key to verify ownership. This permanently removes the prompt.
|
|
25093
|
-
* @returns void
|
|
25094
|
-
* @throws ApiError
|
|
25095
|
-
*/
|
|
25096
|
-
static deletePlatformPrompt() {
|
|
25097
|
-
return request(OpenAPI, {
|
|
25098
|
-
method: 'DELETE',
|
|
25099
|
-
url: '/api/ai-search/prompts/',
|
|
25100
|
-
errors: {
|
|
25101
|
-
401: `Authentication required`,
|
|
25102
|
-
403: `Admin permissions required or platform mismatch`,
|
|
25103
|
-
404: `Prompt not found`
|
|
25104
|
-
}
|
|
25105
|
-
});
|
|
25106
|
-
}
|
|
25107
|
-
/**
|
|
25108
|
-
* List recommendation prompts for a platform
|
|
25109
|
-
* Get all recommendation prompts for a specific platform. Optionally filter by SPA URL or recommendation type.
|
|
25110
|
-
* @returns PlatformPromptResponse
|
|
25111
|
-
* @throws ApiError
|
|
25112
|
-
*/
|
|
25113
|
-
static listPlatformPrompts2() {
|
|
25114
|
-
return request(OpenAPI, {
|
|
25115
|
-
method: 'GET',
|
|
25116
|
-
url: '/api/ai-search/recommendation/prompts/',
|
|
25117
|
-
errors: {
|
|
25118
|
-
400: `Invalid parameters`,
|
|
25119
|
-
401: `Authentication required`,
|
|
25120
|
-
403: `Admin permissions required`
|
|
25121
|
-
}
|
|
25122
|
-
});
|
|
25123
|
-
}
|
|
25124
|
-
/**
|
|
25125
|
-
* Create a new recommendation prompt
|
|
25126
|
-
* Create a new recommendation prompt for a platform and SPA.
|
|
25127
|
-
* @returns PlatformPromptResponse
|
|
25128
|
-
* @throws ApiError
|
|
25129
|
-
*/
|
|
25130
|
-
static createPlatformPrompt2({
|
|
25131
|
-
requestBody
|
|
25132
|
-
}) {
|
|
25133
|
-
return request(OpenAPI, {
|
|
25134
|
-
method: 'POST',
|
|
25135
|
-
url: '/api/ai-search/recommendation/prompts/',
|
|
25136
|
-
body: requestBody,
|
|
25137
|
-
mediaType: 'application/json',
|
|
25138
|
-
errors: {
|
|
25139
|
-
400: `Invalid data`,
|
|
25140
|
-
401: `Authentication required`,
|
|
25141
|
-
403: `Admin permissions required`,
|
|
25142
|
-
409: `Prompt already exists for this combination`
|
|
25143
|
-
}
|
|
25144
|
-
});
|
|
25145
|
-
}
|
|
25146
|
-
/**
|
|
25147
|
-
* Update an existing recommendation prompt
|
|
25148
|
-
* Update an existing prompt by ID. Must provide platform_key to verify ownership.
|
|
25149
|
-
* @returns PlatformPromptResponse
|
|
25150
|
-
* @throws ApiError
|
|
25151
|
-
*/
|
|
25152
|
-
static updatePlatformPrompt2({
|
|
25153
|
-
requestBody
|
|
25154
|
-
}) {
|
|
25155
|
-
return request(OpenAPI, {
|
|
25156
|
-
method: 'PUT',
|
|
25157
|
-
url: '/api/ai-search/recommendation/prompts/',
|
|
25158
|
-
body: requestBody,
|
|
25159
|
-
mediaType: 'application/json',
|
|
25160
|
-
errors: {
|
|
25161
|
-
400: `Invalid data`,
|
|
25162
|
-
401: `Authentication required`,
|
|
25163
|
-
403: `Admin permissions required or platform mismatch`,
|
|
25164
|
-
404: `Prompt not found`
|
|
25165
|
-
}
|
|
25166
|
-
});
|
|
25167
|
-
}
|
|
25168
|
-
/**
|
|
25169
|
-
* Delete a recommendation prompt
|
|
25170
|
-
* Delete a recommendation prompt by ID. Must provide platform_key to verify ownership. This permanently removes the prompt.
|
|
25171
|
-
* @returns void
|
|
25172
|
-
* @throws ApiError
|
|
25173
|
-
*/
|
|
25174
|
-
static deletePlatformPrompt2() {
|
|
25175
|
-
return request(OpenAPI, {
|
|
25176
|
-
method: 'DELETE',
|
|
25177
|
-
url: '/api/ai-search/recommendation/prompts/',
|
|
25178
|
-
errors: {
|
|
25179
|
-
401: `Authentication required`,
|
|
25180
|
-
403: `Admin permissions required or platform mismatch`,
|
|
25181
|
-
404: `Prompt not found`
|
|
25182
|
-
}
|
|
25183
|
-
});
|
|
25184
|
-
}
|
|
25185
|
-
/**
|
|
25186
|
-
* Generate AI-driven course recommendations
|
|
25187
|
-
*
|
|
25188
|
-
* Generate personalized course recommendations using AI that considers the user's
|
|
25189
|
-
* learning history, organizational goals, and available courses.
|
|
25190
|
-
*
|
|
25191
|
-
* **Authentication Required:**
|
|
25192
|
-
* - User must be authenticated
|
|
25193
|
-
* - Platform key must be provided
|
|
25194
|
-
* - User must have access to the specified platform
|
|
25195
|
-
*
|
|
25196
|
-
* **How It Works:**
|
|
25197
|
-
* 1. Fetches tenant's custom recommendation prompt (if configured)
|
|
25198
|
-
* 2. Analyzes user's course completion history and performance
|
|
25199
|
-
* 3. Reviews available course catalog
|
|
25200
|
-
* 4. Uses AI to match courses to user's needs and organizational goals
|
|
25201
|
-
* 5. Returns 3-5 courses with clear explanations
|
|
25202
|
-
*
|
|
25203
|
-
* **Tenant Prompts:**
|
|
25204
|
-
* Each organization can configure custom prompts that guide recommendations.
|
|
25205
|
-
* For example: "Prioritize leadership for sales roles" or "Focus on technical skills."
|
|
25206
|
-
*
|
|
25207
|
-
* **Use Cases:**
|
|
25208
|
-
* - Manual recommendation requests by users
|
|
25209
|
-
* - Post-assessment recommendations
|
|
25210
|
-
* - Milestone-triggered suggestions
|
|
25211
|
-
* - Learning path planning
|
|
25212
|
-
*
|
|
25213
|
-
* @returns V2RecommendationResponse
|
|
25214
|
-
* @throws ApiError
|
|
25215
|
-
*/
|
|
25216
|
-
static v2CourseRecommendations({
|
|
25217
|
-
assessmentId,
|
|
25218
|
-
contextType,
|
|
25219
|
-
difficultyLevels,
|
|
25220
|
-
domains,
|
|
25221
|
-
includeMainCatalog = false,
|
|
25222
|
-
includeUserHistory = false,
|
|
25223
|
-
includeUserSkills = false,
|
|
25224
|
-
k = 20,
|
|
25225
|
-
limit = 5,
|
|
25226
|
-
page = 1,
|
|
25227
|
-
pageSize = 10,
|
|
25228
|
-
platformKey,
|
|
25229
|
-
platformOrg,
|
|
25230
|
-
rankingPrompt,
|
|
25231
|
-
rankingStrategy,
|
|
25232
|
-
recommendationType = 'courses',
|
|
25233
|
-
searchTerms,
|
|
25234
|
-
spaUrl,
|
|
25235
|
-
triggerSource = 'manual',
|
|
25236
|
-
useLlmRanking = false,
|
|
25237
|
-
useRagSearch = true
|
|
25238
|
-
}) {
|
|
25239
|
-
return request(OpenAPI, {
|
|
25240
|
-
method: 'GET',
|
|
25241
|
-
url: '/api/ai-search/recommendations/',
|
|
25242
|
-
query: {
|
|
25243
|
-
'assessment_id': assessmentId,
|
|
25244
|
-
'context_type': contextType,
|
|
25245
|
-
'difficulty_levels': difficultyLevels,
|
|
25246
|
-
'domains': domains,
|
|
25247
|
-
'include_main_catalog': includeMainCatalog,
|
|
25248
|
-
'include_user_history': includeUserHistory,
|
|
25249
|
-
'include_user_skills': includeUserSkills,
|
|
25250
|
-
'k': k,
|
|
25251
|
-
'limit': limit,
|
|
25252
|
-
'page': page,
|
|
25253
|
-
'page_size': pageSize,
|
|
25254
|
-
'platform_key': platformKey,
|
|
25255
|
-
'platform_org': platformOrg,
|
|
25256
|
-
'ranking_prompt': rankingPrompt,
|
|
25257
|
-
'ranking_strategy': rankingStrategy,
|
|
25258
|
-
'recommendation_type': recommendationType,
|
|
25259
|
-
'search_terms': searchTerms,
|
|
25260
|
-
'spa_url': spaUrl,
|
|
25261
|
-
'trigger_source': triggerSource,
|
|
25262
|
-
'use_llm_ranking': useLlmRanking,
|
|
25263
|
-
'use_rag_search': useRagSearch
|
|
25264
|
-
},
|
|
25265
|
-
errors: {
|
|
25266
|
-
400: `Bad request - invalid parameters or missing required fields`,
|
|
25267
|
-
401: `Unauthorized - authentication required`,
|
|
25268
|
-
500: `Internal server error`
|
|
25269
|
-
}
|
|
25270
|
-
});
|
|
25271
|
-
}
|
|
25272
|
-
}
|
|
25273
|
-
|
|
25274
23801
|
class AnalyticsService {
|
|
25275
23802
|
/**
|
|
25276
23803
|
* Get Content Analytics
|
|
@@ -35586,7 +34113,16 @@ class CoreService {
|
|
|
35586
34113
|
});
|
|
35587
34114
|
}
|
|
35588
34115
|
/**
|
|
35589
|
-
* Retrieve users associated with platform
|
|
34116
|
+
* Retrieve users associated with platform
|
|
34117
|
+
*
|
|
34118
|
+
* Params:
|
|
34119
|
+
* platform_key
|
|
34120
|
+
* platform_org
|
|
34121
|
+
*
|
|
34122
|
+
* query
|
|
34123
|
+
* sort
|
|
34124
|
+
*
|
|
34125
|
+
* is_admin: Return tenant admin users
|
|
35590
34126
|
* @returns UserPlatformManagementListViewGetResponse
|
|
35591
34127
|
* @throws ApiError
|
|
35592
34128
|
*/
|
|
@@ -35596,7 +34132,6 @@ class CoreService {
|
|
|
35596
34132
|
platformKey,
|
|
35597
34133
|
platformOrg,
|
|
35598
34134
|
query,
|
|
35599
|
-
returnPolicies,
|
|
35600
34135
|
sort
|
|
35601
34136
|
}) {
|
|
35602
34137
|
return request(OpenAPI, {
|
|
@@ -35608,190 +34143,32 @@ class CoreService {
|
|
|
35608
34143
|
'platform_key': platformKey,
|
|
35609
34144
|
'platform_org': platformOrg,
|
|
35610
34145
|
'query': query,
|
|
35611
|
-
'return_policies': returnPolicies,
|
|
35612
34146
|
'sort': sort
|
|
35613
34147
|
}
|
|
35614
34148
|
});
|
|
35615
34149
|
}
|
|
35616
|
-
/**
|
|
35617
|
-
* Bulk update user policies on a platform. Requires Ibl.Core/UserPolicies/write permission.
|
|
35618
|
-
*
|
|
35619
|
-
* Policy removals are processed before policy additions.
|
|
35620
|
-
* @returns UserPolicyUpdateResponse
|
|
35621
|
-
* @throws ApiError
|
|
35622
|
-
*/
|
|
35623
|
-
static corePlatformUsersPoliciesUpdate({
|
|
35624
|
-
requestBody
|
|
35625
|
-
}) {
|
|
35626
|
-
return request(OpenAPI, {
|
|
35627
|
-
method: 'PUT',
|
|
35628
|
-
url: '/api/core/platform/users/policies/',
|
|
35629
|
-
body: requestBody,
|
|
35630
|
-
mediaType: 'application/json'
|
|
35631
|
-
});
|
|
35632
|
-
}
|
|
35633
|
-
/**
|
|
35634
|
-
* Shared functionality for platform public image asset views.
|
|
35635
|
-
* @returns PlatformPublicImageAsset
|
|
35636
|
-
* @throws ApiError
|
|
35637
|
-
*/
|
|
35638
|
-
static corePlatformsPublicImageAssetsList({
|
|
35639
|
-
platformKey
|
|
35640
|
-
}) {
|
|
35641
|
-
return request(OpenAPI, {
|
|
35642
|
-
method: 'GET',
|
|
35643
|
-
url: '/api/core/platforms/{platform_key}/public-image-assets/',
|
|
35644
|
-
path: {
|
|
35645
|
-
'platform_key': platformKey
|
|
35646
|
-
}
|
|
35647
|
-
});
|
|
35648
|
-
}
|
|
35649
|
-
/**
|
|
35650
|
-
* Shared functionality for platform public image asset views.
|
|
35651
|
-
* @returns PlatformPublicImageAsset
|
|
35652
|
-
* @throws ApiError
|
|
35653
|
-
*/
|
|
35654
|
-
static corePlatformsPublicImageAssetsCreate({
|
|
35655
|
-
platformKey,
|
|
35656
|
-
requestBody
|
|
35657
|
-
}) {
|
|
35658
|
-
return request(OpenAPI, {
|
|
35659
|
-
method: 'POST',
|
|
35660
|
-
url: '/api/core/platforms/{platform_key}/public-image-assets/',
|
|
35661
|
-
path: {
|
|
35662
|
-
'platform_key': platformKey
|
|
35663
|
-
},
|
|
35664
|
-
body: requestBody,
|
|
35665
|
-
mediaType: 'application/json'
|
|
35666
|
-
});
|
|
35667
|
-
}
|
|
35668
|
-
/**
|
|
35669
|
-
* Shared functionality for platform public image asset views.
|
|
35670
|
-
* @returns PlatformPublicImageAsset
|
|
35671
|
-
* @throws ApiError
|
|
35672
|
-
*/
|
|
35673
|
-
static corePlatformsPublicImageAssetsRetrieve({
|
|
35674
|
-
assetId,
|
|
35675
|
-
platformKey
|
|
35676
|
-
}) {
|
|
35677
|
-
return request(OpenAPI, {
|
|
35678
|
-
method: 'GET',
|
|
35679
|
-
url: '/api/core/platforms/{platform_key}/public-image-assets/{asset_id}/',
|
|
35680
|
-
path: {
|
|
35681
|
-
'asset_id': assetId,
|
|
35682
|
-
'platform_key': platformKey
|
|
35683
|
-
}
|
|
35684
|
-
});
|
|
35685
|
-
}
|
|
35686
|
-
/**
|
|
35687
|
-
* Shared functionality for platform public image asset views.
|
|
35688
|
-
* @returns PlatformPublicImageAsset
|
|
35689
|
-
* @throws ApiError
|
|
35690
|
-
*/
|
|
35691
|
-
static corePlatformsPublicImageAssetsUpdate({
|
|
35692
|
-
assetId,
|
|
35693
|
-
platformKey,
|
|
35694
|
-
requestBody
|
|
35695
|
-
}) {
|
|
35696
|
-
return request(OpenAPI, {
|
|
35697
|
-
method: 'PUT',
|
|
35698
|
-
url: '/api/core/platforms/{platform_key}/public-image-assets/{asset_id}/',
|
|
35699
|
-
path: {
|
|
35700
|
-
'asset_id': assetId,
|
|
35701
|
-
'platform_key': platformKey
|
|
35702
|
-
},
|
|
35703
|
-
body: requestBody,
|
|
35704
|
-
mediaType: 'application/json'
|
|
35705
|
-
});
|
|
35706
|
-
}
|
|
35707
|
-
/**
|
|
35708
|
-
* Shared functionality for platform public image asset views.
|
|
35709
|
-
* @returns PlatformPublicImageAsset
|
|
35710
|
-
* @throws ApiError
|
|
35711
|
-
*/
|
|
35712
|
-
static corePlatformsPublicImageAssetsPartialUpdate({
|
|
35713
|
-
assetId,
|
|
35714
|
-
platformKey,
|
|
35715
|
-
requestBody
|
|
35716
|
-
}) {
|
|
35717
|
-
return request(OpenAPI, {
|
|
35718
|
-
method: 'PATCH',
|
|
35719
|
-
url: '/api/core/platforms/{platform_key}/public-image-assets/{asset_id}/',
|
|
35720
|
-
path: {
|
|
35721
|
-
'asset_id': assetId,
|
|
35722
|
-
'platform_key': platformKey
|
|
35723
|
-
},
|
|
35724
|
-
body: requestBody,
|
|
35725
|
-
mediaType: 'application/json'
|
|
35726
|
-
});
|
|
35727
|
-
}
|
|
35728
|
-
/**
|
|
35729
|
-
* Shared functionality for platform public image asset views.
|
|
35730
|
-
* @returns void
|
|
35731
|
-
* @throws ApiError
|
|
35732
|
-
*/
|
|
35733
|
-
static corePlatformsPublicImageAssetsDestroy({
|
|
35734
|
-
assetId,
|
|
35735
|
-
platformKey
|
|
35736
|
-
}) {
|
|
35737
|
-
return request(OpenAPI, {
|
|
35738
|
-
method: 'DELETE',
|
|
35739
|
-
url: '/api/core/platforms/{platform_key}/public-image-assets/{asset_id}/',
|
|
35740
|
-
path: {
|
|
35741
|
-
'asset_id': assetId,
|
|
35742
|
-
'platform_key': platformKey
|
|
35743
|
-
}
|
|
35744
|
-
});
|
|
35745
|
-
}
|
|
35746
|
-
/**
|
|
35747
|
-
* Shared functionality for platform public image asset views.
|
|
35748
|
-
* @returns any
|
|
35749
|
-
* @throws ApiError
|
|
35750
|
-
*/
|
|
35751
|
-
static corePlatformsPublicImageAssetsFileRetrieve({
|
|
35752
|
-
assetId,
|
|
35753
|
-
platformKey
|
|
35754
|
-
}) {
|
|
35755
|
-
return request(OpenAPI, {
|
|
35756
|
-
method: 'GET',
|
|
35757
|
-
url: '/api/core/platforms/{platform_key}/public-image-assets/{asset_id}/file/',
|
|
35758
|
-
path: {
|
|
35759
|
-
'asset_id': assetId,
|
|
35760
|
-
'platform_key': platformKey
|
|
35761
|
-
}
|
|
35762
|
-
});
|
|
35763
|
-
}
|
|
35764
34150
|
/**
|
|
35765
34151
|
* List RBAC groups
|
|
35766
|
-
* Retrieve a list of RBAC groups. Can be filtered by platform_key
|
|
34152
|
+
* Retrieve a list of RBAC groups. Can be filtered by platform_key.
|
|
35767
34153
|
* @returns PaginatedRbacGroupList
|
|
35768
34154
|
* @throws ApiError
|
|
35769
34155
|
*/
|
|
35770
34156
|
static coreRbacGroupsList({
|
|
35771
|
-
email,
|
|
35772
34157
|
includeUsers = true,
|
|
35773
|
-
name,
|
|
35774
34158
|
owner,
|
|
35775
34159
|
page,
|
|
35776
34160
|
pageSize,
|
|
35777
|
-
platformKey
|
|
35778
|
-
username
|
|
34161
|
+
platformKey
|
|
35779
34162
|
}) {
|
|
35780
34163
|
return request(OpenAPI, {
|
|
35781
34164
|
method: 'GET',
|
|
35782
34165
|
url: '/api/core/rbac/groups/',
|
|
35783
34166
|
query: {
|
|
35784
|
-
'email': email,
|
|
35785
34167
|
'include_users': includeUsers,
|
|
35786
|
-
'name': name,
|
|
35787
34168
|
'owner': owner,
|
|
35788
34169
|
'page': page,
|
|
35789
34170
|
'page_size': pageSize,
|
|
35790
|
-
'platform_key': platformKey
|
|
35791
|
-
'username': username
|
|
35792
|
-
},
|
|
35793
|
-
errors: {
|
|
35794
|
-
403: `Permission denied - insufficient RBAC permissions`
|
|
34171
|
+
'platform_key': platformKey
|
|
35795
34172
|
}
|
|
35796
34173
|
});
|
|
35797
34174
|
}
|
|
@@ -35812,8 +34189,7 @@ class CoreService {
|
|
|
35812
34189
|
errors: {
|
|
35813
34190
|
400: `Invalid input data. Common errors include:
|
|
35814
34191
|
- Users do not belong to the specified platform
|
|
35815
|
-
- Invalid user IDs provided
|
|
35816
|
-
403: `Permission denied - insufficient RBAC permissions`
|
|
34192
|
+
- Invalid user IDs provided`
|
|
35817
34193
|
}
|
|
35818
34194
|
});
|
|
35819
34195
|
}
|
|
@@ -35833,14 +34209,13 @@ class CoreService {
|
|
|
35833
34209
|
'id': id
|
|
35834
34210
|
},
|
|
35835
34211
|
errors: {
|
|
35836
|
-
403: `Permission denied - insufficient RBAC permissions`,
|
|
35837
34212
|
404: `Group not found`
|
|
35838
34213
|
}
|
|
35839
34214
|
});
|
|
35840
34215
|
}
|
|
35841
34216
|
/**
|
|
35842
34217
|
* Update RBAC group
|
|
35843
|
-
* Update an existing RBAC group. Platform validation applies for user assignments.
|
|
34218
|
+
* Update an existing RBAC group. Platform validation applies for user assignments.
|
|
35844
34219
|
* @returns RbacGroup
|
|
35845
34220
|
* @throws ApiError
|
|
35846
34221
|
*/
|
|
@@ -35860,14 +34235,13 @@ class CoreService {
|
|
|
35860
34235
|
400: `Invalid input data. Common errors include:
|
|
35861
34236
|
- Users do not belong to the specified platform
|
|
35862
34237
|
- Invalid user IDs provided`,
|
|
35863
|
-
403: `Permission denied - insufficient RBAC permissions or attempting to edit internal system group`,
|
|
35864
34238
|
404: `Group not found`
|
|
35865
34239
|
}
|
|
35866
34240
|
});
|
|
35867
34241
|
}
|
|
35868
34242
|
/**
|
|
35869
34243
|
* Partially update RBAC group
|
|
35870
|
-
* Partially update an existing RBAC group. Platform validation applies for user assignments.
|
|
34244
|
+
* Partially update an existing RBAC group. Platform validation applies for user assignments.
|
|
35871
34245
|
* @returns RbacGroup
|
|
35872
34246
|
* @throws ApiError
|
|
35873
34247
|
*/
|
|
@@ -35887,14 +34261,13 @@ class CoreService {
|
|
|
35887
34261
|
400: `Invalid input data. Common errors include:
|
|
35888
34262
|
- Users do not belong to the specified platform
|
|
35889
34263
|
- Invalid user IDs provided`,
|
|
35890
|
-
403: `Permission denied - insufficient RBAC permissions or attempting to edit internal system group`,
|
|
35891
34264
|
404: `Group not found`
|
|
35892
34265
|
}
|
|
35893
34266
|
});
|
|
35894
34267
|
}
|
|
35895
34268
|
/**
|
|
35896
34269
|
* Delete RBAC group
|
|
35897
|
-
* Delete an RBAC group and all associated group role assignments.
|
|
34270
|
+
* Delete an RBAC group and all associated group role assignments.
|
|
35898
34271
|
* @returns void
|
|
35899
34272
|
* @throws ApiError
|
|
35900
34273
|
*/
|
|
@@ -35912,7 +34285,6 @@ class CoreService {
|
|
|
35912
34285
|
'platform_key': platformKey
|
|
35913
34286
|
},
|
|
35914
34287
|
errors: {
|
|
35915
|
-
403: `Permission denied - insufficient RBAC permissions or attempting to delete internal system group`,
|
|
35916
34288
|
404: `Group not found`
|
|
35917
34289
|
}
|
|
35918
34290
|
});
|
|
@@ -35986,39 +34358,24 @@ class CoreService {
|
|
|
35986
34358
|
}
|
|
35987
34359
|
/**
|
|
35988
34360
|
* List RBAC policies
|
|
35989
|
-
* Retrieve a list of RBAC policies. Can be filtered by platform_key
|
|
34361
|
+
* Retrieve a list of RBAC policies. Can be filtered by platform_key or role_id.
|
|
35990
34362
|
* @returns PaginatedRbacPolicyList
|
|
35991
34363
|
* @throws ApiError
|
|
35992
34364
|
*/
|
|
35993
34365
|
static coreRbacPoliciesList({
|
|
35994
|
-
email,
|
|
35995
|
-
group,
|
|
35996
|
-
includeGroups = true,
|
|
35997
|
-
includeUsers = true,
|
|
35998
|
-
name,
|
|
35999
34366
|
page,
|
|
36000
34367
|
pageSize,
|
|
36001
34368
|
platformKey,
|
|
36002
|
-
roleId
|
|
36003
|
-
username
|
|
34369
|
+
roleId
|
|
36004
34370
|
}) {
|
|
36005
34371
|
return request(OpenAPI, {
|
|
36006
34372
|
method: 'GET',
|
|
36007
34373
|
url: '/api/core/rbac/policies/',
|
|
36008
34374
|
query: {
|
|
36009
|
-
'email': email,
|
|
36010
|
-
'group': group,
|
|
36011
|
-
'include_groups': includeGroups,
|
|
36012
|
-
'include_users': includeUsers,
|
|
36013
|
-
'name': name,
|
|
36014
34375
|
'page': page,
|
|
36015
34376
|
'page_size': pageSize,
|
|
36016
34377
|
'platform_key': platformKey,
|
|
36017
|
-
'role_id': roleId
|
|
36018
|
-
'username': username
|
|
36019
|
-
},
|
|
36020
|
-
errors: {
|
|
36021
|
-
403: `Permission denied - insufficient RBAC permissions`
|
|
34378
|
+
'role_id': roleId
|
|
36022
34379
|
}
|
|
36023
34380
|
});
|
|
36024
34381
|
}
|
|
@@ -36037,8 +34394,7 @@ class CoreService {
|
|
|
36037
34394
|
body: requestBody,
|
|
36038
34395
|
mediaType: 'application/json',
|
|
36039
34396
|
errors: {
|
|
36040
|
-
400: `Invalid input data. Common errors include: invalid user/group IDs, users/groups not belonging to the platform, or invalid resource paths
|
|
36041
|
-
403: `Permission denied - insufficient RBAC permissions`
|
|
34397
|
+
400: `Invalid input data. Common errors include: invalid user/group IDs, users/groups not belonging to the platform, or invalid resource paths.`
|
|
36042
34398
|
}
|
|
36043
34399
|
});
|
|
36044
34400
|
}
|
|
@@ -36058,7 +34414,6 @@ class CoreService {
|
|
|
36058
34414
|
'id': id
|
|
36059
34415
|
},
|
|
36060
34416
|
errors: {
|
|
36061
|
-
403: `Permission denied - insufficient RBAC permissions`,
|
|
36062
34417
|
404: `Policy not found`
|
|
36063
34418
|
}
|
|
36064
34419
|
});
|
|
@@ -36083,7 +34438,6 @@ class CoreService {
|
|
|
36083
34438
|
mediaType: 'application/json',
|
|
36084
34439
|
errors: {
|
|
36085
34440
|
400: `Invalid input data. Common errors include: invalid user/group IDs, users/groups not belonging to the platform, or invalid resource paths.`,
|
|
36086
|
-
403: `Permission denied - insufficient RBAC permissions`,
|
|
36087
34441
|
404: `Policy not found`
|
|
36088
34442
|
}
|
|
36089
34443
|
});
|
|
@@ -36108,7 +34462,6 @@ class CoreService {
|
|
|
36108
34462
|
mediaType: 'application/json',
|
|
36109
34463
|
errors: {
|
|
36110
34464
|
400: `Invalid input data. Common errors include: invalid user/group IDs, users/groups not belonging to the platform, or invalid resource paths.`,
|
|
36111
|
-
403: `Permission denied - insufficient RBAC permissions`,
|
|
36112
34465
|
404: `Policy not found`
|
|
36113
34466
|
}
|
|
36114
34467
|
});
|
|
@@ -36133,19 +34486,17 @@ class CoreService {
|
|
|
36133
34486
|
'platform_key': platformKey
|
|
36134
34487
|
},
|
|
36135
34488
|
errors: {
|
|
36136
|
-
403: `Permission denied - insufficient RBAC permissions`,
|
|
36137
34489
|
404: `Policy not found`
|
|
36138
34490
|
}
|
|
36139
34491
|
});
|
|
36140
34492
|
}
|
|
36141
34493
|
/**
|
|
36142
34494
|
* List RBAC roles
|
|
36143
|
-
* Retrieve a list of RBAC roles. Can be filtered by platform_key
|
|
34495
|
+
* Retrieve a list of RBAC roles. Can be filtered by platform_key.
|
|
36144
34496
|
* @returns PaginatedRbacRoleList
|
|
36145
34497
|
* @throws ApiError
|
|
36146
34498
|
*/
|
|
36147
34499
|
static coreRbacRolesList({
|
|
36148
|
-
name,
|
|
36149
34500
|
page,
|
|
36150
34501
|
pageSize,
|
|
36151
34502
|
platformKey
|
|
@@ -36154,13 +34505,9 @@ class CoreService {
|
|
|
36154
34505
|
method: 'GET',
|
|
36155
34506
|
url: '/api/core/rbac/roles/',
|
|
36156
34507
|
query: {
|
|
36157
|
-
'name': name,
|
|
36158
34508
|
'page': page,
|
|
36159
34509
|
'page_size': pageSize,
|
|
36160
34510
|
'platform_key': platformKey
|
|
36161
|
-
},
|
|
36162
|
-
errors: {
|
|
36163
|
-
403: `Permission denied - insufficient RBAC permissions`
|
|
36164
34511
|
}
|
|
36165
34512
|
});
|
|
36166
34513
|
}
|
|
@@ -36179,8 +34526,7 @@ class CoreService {
|
|
|
36179
34526
|
body: requestBody,
|
|
36180
34527
|
mediaType: 'application/json',
|
|
36181
34528
|
errors: {
|
|
36182
|
-
400: `Invalid input data
|
|
36183
|
-
403: `Permission denied - insufficient RBAC permissions`
|
|
34529
|
+
400: `Invalid input data`
|
|
36184
34530
|
}
|
|
36185
34531
|
});
|
|
36186
34532
|
}
|
|
@@ -36200,7 +34546,6 @@ class CoreService {
|
|
|
36200
34546
|
'id': id
|
|
36201
34547
|
},
|
|
36202
34548
|
errors: {
|
|
36203
|
-
403: `Permission denied - insufficient RBAC permissions`,
|
|
36204
34549
|
404: `Role not found`
|
|
36205
34550
|
}
|
|
36206
34551
|
});
|
|
@@ -36225,7 +34570,6 @@ class CoreService {
|
|
|
36225
34570
|
mediaType: 'application/json',
|
|
36226
34571
|
errors: {
|
|
36227
34572
|
400: `Invalid input data`,
|
|
36228
|
-
403: `Permission denied - insufficient RBAC permissions`,
|
|
36229
34573
|
404: `Role not found`
|
|
36230
34574
|
}
|
|
36231
34575
|
});
|
|
@@ -36250,14 +34594,13 @@ class CoreService {
|
|
|
36250
34594
|
mediaType: 'application/json',
|
|
36251
34595
|
errors: {
|
|
36252
34596
|
400: `Invalid input data`,
|
|
36253
|
-
403: `Permission denied - insufficient RBAC permissions`,
|
|
36254
34597
|
404: `Role not found`
|
|
36255
34598
|
}
|
|
36256
34599
|
});
|
|
36257
34600
|
}
|
|
36258
34601
|
/**
|
|
36259
34602
|
* Delete RBAC role
|
|
36260
|
-
* Delete an RBAC role.
|
|
34603
|
+
* Delete an RBAC role.
|
|
36261
34604
|
* @returns void
|
|
36262
34605
|
* @throws ApiError
|
|
36263
34606
|
*/
|
|
@@ -36275,7 +34618,6 @@ class CoreService {
|
|
|
36275
34618
|
'platform_key': platformKey
|
|
36276
34619
|
},
|
|
36277
34620
|
errors: {
|
|
36278
|
-
403: `Permission denied - insufficient RBAC permissions`,
|
|
36279
34621
|
404: `Role not found`
|
|
36280
34622
|
}
|
|
36281
34623
|
});
|
|
@@ -36460,152 +34802,12 @@ class CoreService {
|
|
|
36460
34802
|
url: '/api/core/token/verify/'
|
|
36461
34803
|
});
|
|
36462
34804
|
}
|
|
36463
|
-
/**
|
|
36464
|
-
* List UserGroups
|
|
36465
|
-
* Retrieve a list of UserGroups. Can be filtered by platform_key, name, and include_users.
|
|
36466
|
-
* @returns PaginatedUserGroupList
|
|
36467
|
-
* @throws ApiError
|
|
36468
|
-
*/
|
|
36469
|
-
static coreUserGroupsList({
|
|
36470
|
-
includeUsers = false,
|
|
36471
|
-
name,
|
|
36472
|
-
page,
|
|
36473
|
-
pageSize,
|
|
36474
|
-
platformKey,
|
|
36475
|
-
withPermissions = false
|
|
36476
|
-
}) {
|
|
36477
|
-
return request(OpenAPI, {
|
|
36478
|
-
method: 'GET',
|
|
36479
|
-
url: '/api/core/user-groups/',
|
|
36480
|
-
query: {
|
|
36481
|
-
'include_users': includeUsers,
|
|
36482
|
-
'name': name,
|
|
36483
|
-
'page': page,
|
|
36484
|
-
'page_size': pageSize,
|
|
36485
|
-
'platform_key': platformKey,
|
|
36486
|
-
'with_permissions': withPermissions
|
|
36487
|
-
}
|
|
36488
|
-
});
|
|
36489
|
-
}
|
|
36490
|
-
/**
|
|
36491
|
-
* Create UserGroup
|
|
36492
|
-
* Create a new UserGroup for a platform. Users can be assigned during creation.
|
|
36493
|
-
* @returns UserGroup
|
|
36494
|
-
* @throws ApiError
|
|
36495
|
-
*/
|
|
36496
|
-
static coreUserGroupsCreate({
|
|
36497
|
-
requestBody
|
|
36498
|
-
}) {
|
|
36499
|
-
return request(OpenAPI, {
|
|
36500
|
-
method: 'POST',
|
|
36501
|
-
url: '/api/core/user-groups/',
|
|
36502
|
-
body: requestBody,
|
|
36503
|
-
mediaType: 'application/json',
|
|
36504
|
-
errors: {
|
|
36505
|
-
400: `Invalid input data. Common errors include:
|
|
36506
|
-
- Users do not belong to the specified platform
|
|
36507
|
-
- Invalid user IDs provided`
|
|
36508
|
-
}
|
|
36509
|
-
});
|
|
36510
|
-
}
|
|
36511
|
-
/**
|
|
36512
|
-
* Retrieve UserGroup
|
|
36513
|
-
* Retrieve details of a specific UserGroup including assigned users.
|
|
36514
|
-
* @returns UserGroup
|
|
36515
|
-
* @throws ApiError
|
|
36516
|
-
*/
|
|
36517
|
-
static coreUserGroupsRetrieve({
|
|
36518
|
-
id
|
|
36519
|
-
}) {
|
|
36520
|
-
return request(OpenAPI, {
|
|
36521
|
-
method: 'GET',
|
|
36522
|
-
url: '/api/core/user-groups/{id}/',
|
|
36523
|
-
path: {
|
|
36524
|
-
'id': id
|
|
36525
|
-
},
|
|
36526
|
-
errors: {
|
|
36527
|
-
404: `UserGroup not found`
|
|
36528
|
-
}
|
|
36529
|
-
});
|
|
36530
|
-
}
|
|
36531
|
-
/**
|
|
36532
|
-
* Update UserGroup
|
|
36533
|
-
* Update an existing UserGroup. Platform validation applies for user assignments.
|
|
36534
|
-
* @returns UserGroup
|
|
36535
|
-
* @throws ApiError
|
|
36536
|
-
*/
|
|
36537
|
-
static coreUserGroupsUpdate({
|
|
36538
|
-
id,
|
|
36539
|
-
requestBody
|
|
36540
|
-
}) {
|
|
36541
|
-
return request(OpenAPI, {
|
|
36542
|
-
method: 'PUT',
|
|
36543
|
-
url: '/api/core/user-groups/{id}/',
|
|
36544
|
-
path: {
|
|
36545
|
-
'id': id
|
|
36546
|
-
},
|
|
36547
|
-
body: requestBody,
|
|
36548
|
-
mediaType: 'application/json',
|
|
36549
|
-
errors: {
|
|
36550
|
-
400: `Invalid input data. Common errors include:
|
|
36551
|
-
- Users do not belong to the specified platform
|
|
36552
|
-
- Invalid user IDs provided`,
|
|
36553
|
-
404: `UserGroup not found`
|
|
36554
|
-
}
|
|
36555
|
-
});
|
|
36556
|
-
}
|
|
36557
|
-
/**
|
|
36558
|
-
* Partially update UserGroup
|
|
36559
|
-
* Partially update an existing UserGroup. Platform validation applies for user assignments.
|
|
36560
|
-
* @returns UserGroup
|
|
36561
|
-
* @throws ApiError
|
|
36562
|
-
*/
|
|
36563
|
-
static coreUserGroupsPartialUpdate({
|
|
36564
|
-
id,
|
|
36565
|
-
requestBody
|
|
36566
|
-
}) {
|
|
36567
|
-
return request(OpenAPI, {
|
|
36568
|
-
method: 'PATCH',
|
|
36569
|
-
url: '/api/core/user-groups/{id}/',
|
|
36570
|
-
path: {
|
|
36571
|
-
'id': id
|
|
36572
|
-
},
|
|
36573
|
-
body: requestBody,
|
|
36574
|
-
mediaType: 'application/json',
|
|
36575
|
-
errors: {
|
|
36576
|
-
400: `Invalid input data. Common errors include:
|
|
36577
|
-
- Users do not belong to the specified platform
|
|
36578
|
-
- Invalid user IDs provided`,
|
|
36579
|
-
404: `UserGroup not found`
|
|
36580
|
-
}
|
|
36581
|
-
});
|
|
36582
|
-
}
|
|
36583
|
-
/**
|
|
36584
|
-
* Delete UserGroup
|
|
36585
|
-
* Delete a UserGroup and all associated user group links.
|
|
36586
|
-
* @returns void
|
|
36587
|
-
* @throws ApiError
|
|
36588
|
-
*/
|
|
36589
|
-
static coreUserGroupsDestroy({
|
|
36590
|
-
id
|
|
36591
|
-
}) {
|
|
36592
|
-
return request(OpenAPI, {
|
|
36593
|
-
method: 'DELETE',
|
|
36594
|
-
url: '/api/core/user-groups/{id}/',
|
|
36595
|
-
path: {
|
|
36596
|
-
'id': id
|
|
36597
|
-
},
|
|
36598
|
-
errors: {
|
|
36599
|
-
404: `UserGroup not found`
|
|
36600
|
-
}
|
|
36601
|
-
});
|
|
36602
|
-
}
|
|
36603
34805
|
/**
|
|
36604
34806
|
* Show (active) user groups associated with a platform
|
|
36605
34807
|
* @returns any No response body
|
|
36606
34808
|
* @throws ApiError
|
|
36607
34809
|
*/
|
|
36608
|
-
static
|
|
34810
|
+
static coreUserGroupsRetrieve() {
|
|
36609
34811
|
return request(OpenAPI, {
|
|
36610
34812
|
method: 'GET',
|
|
36611
34813
|
url: '/api/core/user_groups/'
|
|
@@ -36616,7 +34818,7 @@ class CoreService {
|
|
|
36616
34818
|
* @returns any No response body
|
|
36617
34819
|
* @throws ApiError
|
|
36618
34820
|
*/
|
|
36619
|
-
static
|
|
34821
|
+
static coreUserGroupsCreate() {
|
|
36620
34822
|
return request(OpenAPI, {
|
|
36621
34823
|
method: 'POST',
|
|
36622
34824
|
url: '/api/core/user_groups/'
|
|
@@ -36627,7 +34829,7 @@ class CoreService {
|
|
|
36627
34829
|
* @returns void
|
|
36628
34830
|
* @throws ApiError
|
|
36629
34831
|
*/
|
|
36630
|
-
static
|
|
34832
|
+
static coreUserGroupsDestroy() {
|
|
36631
34833
|
return request(OpenAPI, {
|
|
36632
34834
|
method: 'DELETE',
|
|
36633
34835
|
url: '/api/core/user_groups/'
|
|
@@ -37175,15 +35377,15 @@ class CredentialsService {
|
|
|
37175
35377
|
* @throws ApiError
|
|
37176
35378
|
*/
|
|
37177
35379
|
static credentialsOrgsUsersRetrieve({
|
|
37178
|
-
|
|
37179
|
-
|
|
35380
|
+
org,
|
|
35381
|
+
userId
|
|
37180
35382
|
}) {
|
|
37181
35383
|
return request(OpenAPI, {
|
|
37182
35384
|
method: 'GET',
|
|
37183
|
-
url: '/api/credentials/orgs/{
|
|
35385
|
+
url: '/api/credentials/orgs/{org}/users/{user_id}/',
|
|
37184
35386
|
path: {
|
|
37185
|
-
'
|
|
37186
|
-
'
|
|
35387
|
+
'org': org,
|
|
35388
|
+
'user_id': userId
|
|
37187
35389
|
}
|
|
37188
35390
|
});
|
|
37189
35391
|
}
|
|
@@ -37268,16 +35470,16 @@ class CredentialsService {
|
|
|
37268
35470
|
* @throws ApiError
|
|
37269
35471
|
*/
|
|
37270
35472
|
static credentialsOrgsUsersCreate({
|
|
37271
|
-
|
|
37272
|
-
|
|
35473
|
+
org,
|
|
35474
|
+
userId,
|
|
37273
35475
|
requestBody
|
|
37274
35476
|
}) {
|
|
37275
35477
|
return request(OpenAPI, {
|
|
37276
35478
|
method: 'POST',
|
|
37277
|
-
url: '/api/credentials/orgs/{
|
|
35479
|
+
url: '/api/credentials/orgs/{org}/users/{user_id}/',
|
|
37278
35480
|
path: {
|
|
37279
|
-
'
|
|
37280
|
-
'
|
|
35481
|
+
'org': org,
|
|
35482
|
+
'user_id': userId
|
|
37281
35483
|
},
|
|
37282
35484
|
body: requestBody,
|
|
37283
35485
|
mediaType: 'application/json'
|
|
@@ -37343,16 +35545,16 @@ class CredentialsService {
|
|
|
37343
35545
|
*/
|
|
37344
35546
|
static credentialsOrgsUsersRetrieve2({
|
|
37345
35547
|
entityId,
|
|
37346
|
-
|
|
37347
|
-
|
|
35548
|
+
org,
|
|
35549
|
+
userId
|
|
37348
35550
|
}) {
|
|
37349
35551
|
return request(OpenAPI, {
|
|
37350
35552
|
method: 'GET',
|
|
37351
|
-
url: '/api/credentials/orgs/{
|
|
35553
|
+
url: '/api/credentials/orgs/{org}/users/{user_id}/{entity_id}',
|
|
37352
35554
|
path: {
|
|
37353
35555
|
'entity_id': entityId,
|
|
37354
|
-
'
|
|
37355
|
-
'
|
|
35556
|
+
'org': org,
|
|
35557
|
+
'user_id': userId
|
|
37356
35558
|
}
|
|
37357
35559
|
});
|
|
37358
35560
|
}
|
|
@@ -37416,17 +35618,17 @@ class CredentialsService {
|
|
|
37416
35618
|
*/
|
|
37417
35619
|
static credentialsOrgsUsersUpdate({
|
|
37418
35620
|
entityId,
|
|
37419
|
-
|
|
37420
|
-
|
|
35621
|
+
org,
|
|
35622
|
+
userId,
|
|
37421
35623
|
requestBody
|
|
37422
35624
|
}) {
|
|
37423
35625
|
return request(OpenAPI, {
|
|
37424
35626
|
method: 'PUT',
|
|
37425
|
-
url: '/api/credentials/orgs/{
|
|
35627
|
+
url: '/api/credentials/orgs/{org}/users/{user_id}/{entity_id}',
|
|
37426
35628
|
path: {
|
|
37427
35629
|
'entity_id': entityId,
|
|
37428
|
-
'
|
|
37429
|
-
'
|
|
35630
|
+
'org': org,
|
|
35631
|
+
'user_id': userId
|
|
37430
35632
|
},
|
|
37431
35633
|
body: requestBody,
|
|
37432
35634
|
mediaType: 'application/json'
|
|
@@ -37492,16 +35694,16 @@ class CredentialsService {
|
|
|
37492
35694
|
*/
|
|
37493
35695
|
static credentialsOrgsUsersDestroy({
|
|
37494
35696
|
entityId,
|
|
37495
|
-
|
|
37496
|
-
|
|
35697
|
+
org,
|
|
35698
|
+
userId
|
|
37497
35699
|
}) {
|
|
37498
35700
|
return request(OpenAPI, {
|
|
37499
35701
|
method: 'DELETE',
|
|
37500
|
-
url: '/api/credentials/orgs/{
|
|
35702
|
+
url: '/api/credentials/orgs/{org}/users/{user_id}/{entity_id}',
|
|
37501
35703
|
path: {
|
|
37502
35704
|
'entity_id': entityId,
|
|
37503
|
-
'
|
|
37504
|
-
'
|
|
35705
|
+
'org': org,
|
|
35706
|
+
'user_id': userId
|
|
37505
35707
|
}
|
|
37506
35708
|
});
|
|
37507
35709
|
}
|
|
@@ -37539,16 +35741,16 @@ class CredentialsService {
|
|
|
37539
35741
|
*/
|
|
37540
35742
|
static credentialsOrgsUsersAssertionsRetrieve3({
|
|
37541
35743
|
entityId,
|
|
37542
|
-
|
|
37543
|
-
|
|
35744
|
+
org,
|
|
35745
|
+
userId
|
|
37544
35746
|
}) {
|
|
37545
35747
|
return request(OpenAPI, {
|
|
37546
35748
|
method: 'GET',
|
|
37547
|
-
url: '/api/credentials/orgs/{
|
|
35749
|
+
url: '/api/credentials/orgs/{org}/users/{user_id}/{entity_id}/assertions/',
|
|
37548
35750
|
path: {
|
|
37549
35751
|
'entity_id': entityId,
|
|
37550
|
-
'
|
|
37551
|
-
'
|
|
35752
|
+
'org': org,
|
|
35753
|
+
'user_id': userId
|
|
37552
35754
|
}
|
|
37553
35755
|
});
|
|
37554
35756
|
}
|
|
@@ -37586,17 +35788,17 @@ class CredentialsService {
|
|
|
37586
35788
|
*/
|
|
37587
35789
|
static credentialsOrgsUsersAssertionsCreate({
|
|
37588
35790
|
entityId,
|
|
37589
|
-
|
|
37590
|
-
|
|
35791
|
+
org,
|
|
35792
|
+
userId,
|
|
37591
35793
|
requestBody
|
|
37592
35794
|
}) {
|
|
37593
35795
|
return request(OpenAPI, {
|
|
37594
35796
|
method: 'POST',
|
|
37595
|
-
url: '/api/credentials/orgs/{
|
|
35797
|
+
url: '/api/credentials/orgs/{org}/users/{user_id}/{entity_id}/assertions/',
|
|
37596
35798
|
path: {
|
|
37597
35799
|
'entity_id': entityId,
|
|
37598
|
-
'
|
|
37599
|
-
'
|
|
35800
|
+
'org': org,
|
|
35801
|
+
'user_id': userId
|
|
37600
35802
|
},
|
|
37601
35803
|
body: requestBody,
|
|
37602
35804
|
mediaType: 'application/json'
|
|
@@ -37635,17 +35837,17 @@ class CredentialsService {
|
|
|
37635
35837
|
*/
|
|
37636
35838
|
static credentialsOrgsUsersAssertionsBulkCreate({
|
|
37637
35839
|
entityId,
|
|
37638
|
-
|
|
37639
|
-
|
|
35840
|
+
org,
|
|
35841
|
+
userId,
|
|
37640
35842
|
requestBody
|
|
37641
35843
|
}) {
|
|
37642
35844
|
return request(OpenAPI, {
|
|
37643
35845
|
method: 'POST',
|
|
37644
|
-
url: '/api/credentials/orgs/{
|
|
35846
|
+
url: '/api/credentials/orgs/{org}/users/{user_id}/{entity_id}/assertions/bulk/',
|
|
37645
35847
|
path: {
|
|
37646
35848
|
'entity_id': entityId,
|
|
37647
|
-
'
|
|
37648
|
-
'
|
|
35849
|
+
'org': org,
|
|
35850
|
+
'user_id': userId
|
|
37649
35851
|
},
|
|
37650
35852
|
body: requestBody,
|
|
37651
35853
|
mediaType: 'application/json'
|
|
@@ -37679,8 +35881,8 @@ class CredentialsService {
|
|
|
37679
35881
|
* @throws ApiError
|
|
37680
35882
|
*/
|
|
37681
35883
|
static credentialsOrgsUsersAssertionsRetrieve({
|
|
37682
|
-
|
|
37683
|
-
|
|
35884
|
+
org,
|
|
35885
|
+
userId,
|
|
37684
35886
|
course,
|
|
37685
35887
|
excludeMainTenantAssertions,
|
|
37686
35888
|
includeExpired,
|
|
@@ -37690,10 +35892,10 @@ class CredentialsService {
|
|
|
37690
35892
|
}) {
|
|
37691
35893
|
return request(OpenAPI, {
|
|
37692
35894
|
method: 'GET',
|
|
37693
|
-
url: '/api/credentials/orgs/{
|
|
35895
|
+
url: '/api/credentials/orgs/{org}/users/{user_id}/assertions/',
|
|
37694
35896
|
path: {
|
|
37695
|
-
'
|
|
37696
|
-
'
|
|
35897
|
+
'org': org,
|
|
35898
|
+
'user_id': userId
|
|
37697
35899
|
},
|
|
37698
35900
|
query: {
|
|
37699
35901
|
'course': course,
|
|
@@ -37711,8 +35913,8 @@ class CredentialsService {
|
|
|
37711
35913
|
* @throws ApiError
|
|
37712
35914
|
*/
|
|
37713
35915
|
static credentialsOrgsUsersAssertionsOverTimeRetrieve({
|
|
37714
|
-
|
|
37715
|
-
|
|
35916
|
+
org,
|
|
35917
|
+
userId,
|
|
37716
35918
|
departmentId,
|
|
37717
35919
|
endDate,
|
|
37718
35920
|
format = 'json',
|
|
@@ -37721,10 +35923,10 @@ class CredentialsService {
|
|
|
37721
35923
|
}) {
|
|
37722
35924
|
return request(OpenAPI, {
|
|
37723
35925
|
method: 'GET',
|
|
37724
|
-
url: '/api/credentials/orgs/{
|
|
35926
|
+
url: '/api/credentials/orgs/{org}/users/{user_id}/assertions-over-time/',
|
|
37725
35927
|
path: {
|
|
37726
|
-
'
|
|
37727
|
-
'
|
|
35928
|
+
'org': org,
|
|
35929
|
+
'user_id': userId
|
|
37728
35930
|
},
|
|
37729
35931
|
query: {
|
|
37730
35932
|
'department_id': departmentId,
|
|
@@ -37770,16 +35972,16 @@ class CredentialsService {
|
|
|
37770
35972
|
*/
|
|
37771
35973
|
static credentialsOrgsUsersAssertionsRetrieve2({
|
|
37772
35974
|
entityId,
|
|
37773
|
-
|
|
37774
|
-
|
|
35975
|
+
org,
|
|
35976
|
+
userId
|
|
37775
35977
|
}) {
|
|
37776
35978
|
return request(OpenAPI, {
|
|
37777
35979
|
method: 'GET',
|
|
37778
|
-
url: '/api/credentials/orgs/{
|
|
35980
|
+
url: '/api/credentials/orgs/{org}/users/{user_id}/assertions/{entity_id}',
|
|
37779
35981
|
path: {
|
|
37780
35982
|
'entity_id': entityId,
|
|
37781
|
-
'
|
|
37782
|
-
'
|
|
35983
|
+
'org': org,
|
|
35984
|
+
'user_id': userId
|
|
37783
35985
|
}
|
|
37784
35986
|
});
|
|
37785
35987
|
}
|
|
@@ -37818,17 +36020,17 @@ class CredentialsService {
|
|
|
37818
36020
|
*/
|
|
37819
36021
|
static credentialsOrgsUsersAssertionsUpdate({
|
|
37820
36022
|
entityId,
|
|
37821
|
-
|
|
37822
|
-
|
|
36023
|
+
org,
|
|
36024
|
+
userId,
|
|
37823
36025
|
requestBody
|
|
37824
36026
|
}) {
|
|
37825
36027
|
return request(OpenAPI, {
|
|
37826
36028
|
method: 'PUT',
|
|
37827
|
-
url: '/api/credentials/orgs/{
|
|
36029
|
+
url: '/api/credentials/orgs/{org}/users/{user_id}/assertions/{entity_id}',
|
|
37828
36030
|
path: {
|
|
37829
36031
|
'entity_id': entityId,
|
|
37830
|
-
'
|
|
37831
|
-
'
|
|
36032
|
+
'org': org,
|
|
36033
|
+
'user_id': userId
|
|
37832
36034
|
},
|
|
37833
36035
|
body: requestBody,
|
|
37834
36036
|
mediaType: 'application/json'
|
|
@@ -37842,16 +36044,16 @@ class CredentialsService {
|
|
|
37842
36044
|
*/
|
|
37843
36045
|
static credentialsOrgsUsersAssignmentsDestroy({
|
|
37844
36046
|
assignmentId,
|
|
37845
|
-
|
|
37846
|
-
|
|
36047
|
+
org,
|
|
36048
|
+
userId
|
|
37847
36049
|
}) {
|
|
37848
36050
|
return request(OpenAPI, {
|
|
37849
36051
|
method: 'DELETE',
|
|
37850
|
-
url: '/api/credentials/orgs/{
|
|
36052
|
+
url: '/api/credentials/orgs/{org}/users/{user_id}/assignments/{assignment_id}',
|
|
37851
36053
|
path: {
|
|
37852
36054
|
'assignment_id': assignmentId,
|
|
37853
|
-
'
|
|
37854
|
-
'
|
|
36055
|
+
'org': org,
|
|
36056
|
+
'user_id': userId
|
|
37855
36057
|
}
|
|
37856
36058
|
});
|
|
37857
36059
|
}
|
|
@@ -37861,15 +36063,15 @@ class CredentialsService {
|
|
|
37861
36063
|
* @throws ApiError
|
|
37862
36064
|
*/
|
|
37863
36065
|
static credentialsOrgsUsersAssignmentsGroupsRetrieve({
|
|
37864
|
-
|
|
37865
|
-
|
|
36066
|
+
org,
|
|
36067
|
+
userId
|
|
37866
36068
|
}) {
|
|
37867
36069
|
return request(OpenAPI, {
|
|
37868
36070
|
method: 'GET',
|
|
37869
|
-
url: '/api/credentials/orgs/{
|
|
36071
|
+
url: '/api/credentials/orgs/{org}/users/{user_id}/assignments/groups/',
|
|
37870
36072
|
path: {
|
|
37871
|
-
'
|
|
37872
|
-
'
|
|
36073
|
+
'org': org,
|
|
36074
|
+
'user_id': userId
|
|
37873
36075
|
}
|
|
37874
36076
|
});
|
|
37875
36077
|
}
|
|
@@ -37879,15 +36081,15 @@ class CredentialsService {
|
|
|
37879
36081
|
* @throws ApiError
|
|
37880
36082
|
*/
|
|
37881
36083
|
static credentialsOrgsUsersAssignmentsGroupsCreate({
|
|
37882
|
-
|
|
37883
|
-
|
|
36084
|
+
org,
|
|
36085
|
+
userId
|
|
37884
36086
|
}) {
|
|
37885
36087
|
return request(OpenAPI, {
|
|
37886
36088
|
method: 'POST',
|
|
37887
|
-
url: '/api/credentials/orgs/{
|
|
36089
|
+
url: '/api/credentials/orgs/{org}/users/{user_id}/assignments/groups/',
|
|
37888
36090
|
path: {
|
|
37889
|
-
'
|
|
37890
|
-
'
|
|
36091
|
+
'org': org,
|
|
36092
|
+
'user_id': userId
|
|
37891
36093
|
}
|
|
37892
36094
|
});
|
|
37893
36095
|
}
|
|
@@ -37900,15 +36102,15 @@ class CredentialsService {
|
|
|
37900
36102
|
* @throws ApiError
|
|
37901
36103
|
*/
|
|
37902
36104
|
static credentialsOrgsUsersAssignmentsUsersRetrieve({
|
|
37903
|
-
|
|
37904
|
-
|
|
36105
|
+
org,
|
|
36106
|
+
userId
|
|
37905
36107
|
}) {
|
|
37906
36108
|
return request(OpenAPI, {
|
|
37907
36109
|
method: 'GET',
|
|
37908
|
-
url: '/api/credentials/orgs/{
|
|
36110
|
+
url: '/api/credentials/orgs/{org}/users/{user_id}/assignments/users/',
|
|
37909
36111
|
path: {
|
|
37910
|
-
'
|
|
37911
|
-
'
|
|
36112
|
+
'org': org,
|
|
36113
|
+
'user_id': userId
|
|
37912
36114
|
}
|
|
37913
36115
|
});
|
|
37914
36116
|
}
|
|
@@ -37918,15 +36120,15 @@ class CredentialsService {
|
|
|
37918
36120
|
* @throws ApiError
|
|
37919
36121
|
*/
|
|
37920
36122
|
static credentialsOrgsUsersAssignmentsUsersCreate({
|
|
37921
|
-
|
|
37922
|
-
|
|
36123
|
+
org,
|
|
36124
|
+
userId
|
|
37923
36125
|
}) {
|
|
37924
36126
|
return request(OpenAPI, {
|
|
37925
36127
|
method: 'POST',
|
|
37926
|
-
url: '/api/credentials/orgs/{
|
|
36128
|
+
url: '/api/credentials/orgs/{org}/users/{user_id}/assignments/users/',
|
|
37927
36129
|
path: {
|
|
37928
|
-
'
|
|
37929
|
-
'
|
|
36130
|
+
'org': org,
|
|
36131
|
+
'user_id': userId
|
|
37930
36132
|
}
|
|
37931
36133
|
});
|
|
37932
36134
|
}
|
|
@@ -37936,8 +36138,8 @@ class CredentialsService {
|
|
|
37936
36138
|
* @throws ApiError
|
|
37937
36139
|
*/
|
|
37938
36140
|
static credentialsOrgsUsersCourseAssertionsOverTimeRetrieve({
|
|
37939
|
-
|
|
37940
|
-
|
|
36141
|
+
org,
|
|
36142
|
+
userId,
|
|
37941
36143
|
departmentId,
|
|
37942
36144
|
endDate,
|
|
37943
36145
|
format = 'json',
|
|
@@ -37946,10 +36148,10 @@ class CredentialsService {
|
|
|
37946
36148
|
}) {
|
|
37947
36149
|
return request(OpenAPI, {
|
|
37948
36150
|
method: 'GET',
|
|
37949
|
-
url: '/api/credentials/orgs/{
|
|
36151
|
+
url: '/api/credentials/orgs/{org}/users/{user_id}/course-assertions-over-time/',
|
|
37950
36152
|
path: {
|
|
37951
|
-
'
|
|
37952
|
-
'
|
|
36153
|
+
'org': org,
|
|
36154
|
+
'user_id': userId
|
|
37953
36155
|
},
|
|
37954
36156
|
query: {
|
|
37955
36157
|
'department_id': departmentId,
|
|
@@ -37986,17 +36188,17 @@ class CredentialsService {
|
|
|
37986
36188
|
* @throws ApiError
|
|
37987
36189
|
*/
|
|
37988
36190
|
static credentialsOrgsUsersCourseCredentialsList({
|
|
37989
|
-
|
|
37990
|
-
|
|
36191
|
+
org,
|
|
36192
|
+
userId,
|
|
37991
36193
|
page,
|
|
37992
36194
|
pageSize
|
|
37993
36195
|
}) {
|
|
37994
36196
|
return request(OpenAPI, {
|
|
37995
36197
|
method: 'GET',
|
|
37996
|
-
url: '/api/credentials/orgs/{
|
|
36198
|
+
url: '/api/credentials/orgs/{org}/users/{user_id}/course-credentials/',
|
|
37997
36199
|
path: {
|
|
37998
|
-
'
|
|
37999
|
-
'
|
|
36200
|
+
'org': org,
|
|
36201
|
+
'user_id': userId
|
|
38000
36202
|
},
|
|
38001
36203
|
query: {
|
|
38002
36204
|
'page': page,
|
|
@@ -38010,8 +36212,8 @@ class CredentialsService {
|
|
|
38010
36212
|
* @throws ApiError
|
|
38011
36213
|
*/
|
|
38012
36214
|
static credentialsOrgsUsersCredentialsOverTimeRetrieve({
|
|
38013
|
-
|
|
38014
|
-
|
|
36215
|
+
org,
|
|
36216
|
+
userId,
|
|
38015
36217
|
departmentId,
|
|
38016
36218
|
endDate,
|
|
38017
36219
|
format = 'json',
|
|
@@ -38020,10 +36222,10 @@ class CredentialsService {
|
|
|
38020
36222
|
}) {
|
|
38021
36223
|
return request(OpenAPI, {
|
|
38022
36224
|
method: 'GET',
|
|
38023
|
-
url: '/api/credentials/orgs/{
|
|
36225
|
+
url: '/api/credentials/orgs/{org}/users/{user_id}/credentials-over-time/',
|
|
38024
36226
|
path: {
|
|
38025
|
-
'
|
|
38026
|
-
'
|
|
36227
|
+
'org': org,
|
|
36228
|
+
'user_id': userId
|
|
38027
36229
|
},
|
|
38028
36230
|
query: {
|
|
38029
36231
|
'department_id': departmentId,
|
|
@@ -38034,95 +36236,6 @@ class CredentialsService {
|
|
|
38034
36236
|
}
|
|
38035
36237
|
});
|
|
38036
36238
|
}
|
|
38037
|
-
/**
|
|
38038
|
-
* Retrieve external credential mappings for the platform.
|
|
38039
|
-
*
|
|
38040
|
-
* Query Parameters:
|
|
38041
|
-
* credential_id (str, optional): Filter by credential entity_id
|
|
38042
|
-
* provider_name (str, optional): Filter by provider name
|
|
38043
|
-
* page (int, optional): Page number
|
|
38044
|
-
* page_size (int, optional): Items per page
|
|
38045
|
-
*
|
|
38046
|
-
* Returns all mappings for the platform if the user is an admin.
|
|
38047
|
-
* @returns ExternalCredentialMapping
|
|
38048
|
-
* @throws ApiError
|
|
38049
|
-
*/
|
|
38050
|
-
static credentialsOrgsUsersExternalMappingRetrieve({
|
|
38051
|
-
platformKey,
|
|
38052
|
-
username
|
|
38053
|
-
}) {
|
|
38054
|
-
return request(OpenAPI, {
|
|
38055
|
-
method: 'GET',
|
|
38056
|
-
url: '/api/credentials/orgs/{platform_key}/users/{username}/external-mapping/',
|
|
38057
|
-
path: {
|
|
38058
|
-
'platform_key': platformKey,
|
|
38059
|
-
'username': username
|
|
38060
|
-
}
|
|
38061
|
-
});
|
|
38062
|
-
}
|
|
38063
|
-
/**
|
|
38064
|
-
* Create or update an external credential mapping.
|
|
38065
|
-
*
|
|
38066
|
-
* If a mapping doesn't exist for the credential + platform + provider combination,
|
|
38067
|
-
* it will be created. If it exists, it will be updated.
|
|
38068
|
-
*
|
|
38069
|
-
* Request Body:
|
|
38070
|
-
* {
|
|
38071
|
-
* "credential_id": "credential-entity-id", // Required
|
|
38072
|
-
* "provider_name": "accredible", // Required
|
|
38073
|
-
* "external_template_id": "123456", // Optional
|
|
38074
|
-
* "metadata": {} // Optional
|
|
38075
|
-
* }
|
|
38076
|
-
*
|
|
38077
|
-
* Returns:
|
|
38078
|
-
* - 201 Created: When creating a new mapping
|
|
38079
|
-
* - 200 OK: When updating an existing mapping
|
|
38080
|
-
* @returns ExternalCredentialMapping
|
|
38081
|
-
* @throws ApiError
|
|
38082
|
-
*/
|
|
38083
|
-
static credentialsOrgsUsersExternalMappingCreate({
|
|
38084
|
-
platformKey,
|
|
38085
|
-
username,
|
|
38086
|
-
requestBody
|
|
38087
|
-
}) {
|
|
38088
|
-
return request(OpenAPI, {
|
|
38089
|
-
method: 'POST',
|
|
38090
|
-
url: '/api/credentials/orgs/{platform_key}/users/{username}/external-mapping/',
|
|
38091
|
-
path: {
|
|
38092
|
-
'platform_key': platformKey,
|
|
38093
|
-
'username': username
|
|
38094
|
-
},
|
|
38095
|
-
body: requestBody,
|
|
38096
|
-
mediaType: 'application/json'
|
|
38097
|
-
});
|
|
38098
|
-
}
|
|
38099
|
-
/**
|
|
38100
|
-
* Delete an external credential mapping.
|
|
38101
|
-
*
|
|
38102
|
-
* Request Body:
|
|
38103
|
-
* {
|
|
38104
|
-
* "credential_id": "credential-entity-id", // Required
|
|
38105
|
-
* "provider_name": "accredible" // Required
|
|
38106
|
-
* }
|
|
38107
|
-
*
|
|
38108
|
-
* Returns:
|
|
38109
|
-
* A JSON response confirming deletion
|
|
38110
|
-
* @returns void
|
|
38111
|
-
* @throws ApiError
|
|
38112
|
-
*/
|
|
38113
|
-
static credentialsOrgsUsersExternalMappingDestroy({
|
|
38114
|
-
platformKey,
|
|
38115
|
-
username
|
|
38116
|
-
}) {
|
|
38117
|
-
return request(OpenAPI, {
|
|
38118
|
-
method: 'DELETE',
|
|
38119
|
-
url: '/api/credentials/orgs/{platform_key}/users/{username}/external-mapping/',
|
|
38120
|
-
path: {
|
|
38121
|
-
'platform_key': platformKey,
|
|
38122
|
-
'username': username
|
|
38123
|
-
}
|
|
38124
|
-
});
|
|
38125
|
-
}
|
|
38126
36239
|
/**
|
|
38127
36240
|
* API View for managing uploaded images for credentials.
|
|
38128
36241
|
*
|
|
@@ -38181,15 +36294,15 @@ class CredentialsService {
|
|
|
38181
36294
|
* @throws ApiError
|
|
38182
36295
|
*/
|
|
38183
36296
|
static credentialsOrgsUsersImagesRetrieve({
|
|
38184
|
-
|
|
38185
|
-
|
|
36297
|
+
org,
|
|
36298
|
+
userId
|
|
38186
36299
|
}) {
|
|
38187
36300
|
return request(OpenAPI, {
|
|
38188
36301
|
method: 'GET',
|
|
38189
|
-
url: '/api/credentials/orgs/{
|
|
36302
|
+
url: '/api/credentials/orgs/{org}/users/{user_id}/images/',
|
|
38190
36303
|
path: {
|
|
38191
|
-
'
|
|
38192
|
-
'
|
|
36304
|
+
'org': org,
|
|
36305
|
+
'user_id': userId
|
|
38193
36306
|
}
|
|
38194
36307
|
});
|
|
38195
36308
|
}
|
|
@@ -38251,16 +36364,16 @@ class CredentialsService {
|
|
|
38251
36364
|
* @throws ApiError
|
|
38252
36365
|
*/
|
|
38253
36366
|
static credentialsOrgsUsersImagesCreate({
|
|
38254
|
-
|
|
38255
|
-
|
|
36367
|
+
org,
|
|
36368
|
+
userId,
|
|
38256
36369
|
requestBody
|
|
38257
36370
|
}) {
|
|
38258
36371
|
return request(OpenAPI, {
|
|
38259
36372
|
method: 'POST',
|
|
38260
|
-
url: '/api/credentials/orgs/{
|
|
36373
|
+
url: '/api/credentials/orgs/{org}/users/{user_id}/images/',
|
|
38261
36374
|
path: {
|
|
38262
|
-
'
|
|
38263
|
-
'
|
|
36375
|
+
'org': org,
|
|
36376
|
+
'user_id': userId
|
|
38264
36377
|
},
|
|
38265
36378
|
body: requestBody,
|
|
38266
36379
|
mediaType: 'application/json'
|
|
@@ -38332,16 +36445,16 @@ class CredentialsService {
|
|
|
38332
36445
|
* @throws ApiError
|
|
38333
36446
|
*/
|
|
38334
36447
|
static credentialsOrgsUsersIssuersRetrieve({
|
|
38335
|
-
|
|
36448
|
+
org,
|
|
38336
36449
|
q,
|
|
38337
|
-
|
|
36450
|
+
userId
|
|
38338
36451
|
}) {
|
|
38339
36452
|
return request(OpenAPI, {
|
|
38340
36453
|
method: 'GET',
|
|
38341
|
-
url: '/api/credentials/orgs/{
|
|
36454
|
+
url: '/api/credentials/orgs/{org}/users/{user_id}/issuers/',
|
|
38342
36455
|
path: {
|
|
38343
|
-
'
|
|
38344
|
-
'
|
|
36456
|
+
'org': org,
|
|
36457
|
+
'user_id': userId
|
|
38345
36458
|
},
|
|
38346
36459
|
query: {
|
|
38347
36460
|
'q': q
|
|
@@ -38414,17 +36527,17 @@ class CredentialsService {
|
|
|
38414
36527
|
* @throws ApiError
|
|
38415
36528
|
*/
|
|
38416
36529
|
static credentialsOrgsUsersIssuersCreate({
|
|
38417
|
-
|
|
36530
|
+
org,
|
|
38418
36531
|
q,
|
|
38419
|
-
|
|
36532
|
+
userId,
|
|
38420
36533
|
requestBody
|
|
38421
36534
|
}) {
|
|
38422
36535
|
return request(OpenAPI, {
|
|
38423
36536
|
method: 'POST',
|
|
38424
|
-
url: '/api/credentials/orgs/{
|
|
36537
|
+
url: '/api/credentials/orgs/{org}/users/{user_id}/issuers/',
|
|
38425
36538
|
path: {
|
|
38426
|
-
'
|
|
38427
|
-
'
|
|
36539
|
+
'org': org,
|
|
36540
|
+
'user_id': userId
|
|
38428
36541
|
},
|
|
38429
36542
|
query: {
|
|
38430
36543
|
'q': q
|
|
@@ -38504,16 +36617,16 @@ class CredentialsService {
|
|
|
38504
36617
|
*/
|
|
38505
36618
|
static credentialsOrgsUsersIssuersRetrieve2({
|
|
38506
36619
|
entityId,
|
|
38507
|
-
|
|
38508
|
-
|
|
36620
|
+
org,
|
|
36621
|
+
userId
|
|
38509
36622
|
}) {
|
|
38510
36623
|
return request(OpenAPI, {
|
|
38511
36624
|
method: 'GET',
|
|
38512
|
-
url: '/api/credentials/orgs/{
|
|
36625
|
+
url: '/api/credentials/orgs/{org}/users/{user_id}/issuers/{entity_id}',
|
|
38513
36626
|
path: {
|
|
38514
36627
|
'entity_id': entityId,
|
|
38515
|
-
'
|
|
38516
|
-
'
|
|
36628
|
+
'org': org,
|
|
36629
|
+
'user_id': userId
|
|
38517
36630
|
}
|
|
38518
36631
|
});
|
|
38519
36632
|
}
|
|
@@ -38588,17 +36701,17 @@ class CredentialsService {
|
|
|
38588
36701
|
*/
|
|
38589
36702
|
static credentialsOrgsUsersIssuersUpdate({
|
|
38590
36703
|
entityId,
|
|
38591
|
-
|
|
38592
|
-
|
|
36704
|
+
org,
|
|
36705
|
+
userId,
|
|
38593
36706
|
requestBody
|
|
38594
36707
|
}) {
|
|
38595
36708
|
return request(OpenAPI, {
|
|
38596
36709
|
method: 'PUT',
|
|
38597
|
-
url: '/api/credentials/orgs/{
|
|
36710
|
+
url: '/api/credentials/orgs/{org}/users/{user_id}/issuers/{entity_id}',
|
|
38598
36711
|
path: {
|
|
38599
36712
|
'entity_id': entityId,
|
|
38600
|
-
'
|
|
38601
|
-
'
|
|
36713
|
+
'org': org,
|
|
36714
|
+
'user_id': userId
|
|
38602
36715
|
},
|
|
38603
36716
|
body: requestBody,
|
|
38604
36717
|
mediaType: 'application/json'
|
|
@@ -38675,16 +36788,16 @@ class CredentialsService {
|
|
|
38675
36788
|
*/
|
|
38676
36789
|
static credentialsOrgsUsersIssuersDestroy({
|
|
38677
36790
|
entityId,
|
|
38678
|
-
|
|
38679
|
-
|
|
36791
|
+
org,
|
|
36792
|
+
userId
|
|
38680
36793
|
}) {
|
|
38681
36794
|
return request(OpenAPI, {
|
|
38682
36795
|
method: 'DELETE',
|
|
38683
|
-
url: '/api/credentials/orgs/{
|
|
36796
|
+
url: '/api/credentials/orgs/{org}/users/{user_id}/issuers/{entity_id}',
|
|
38684
36797
|
path: {
|
|
38685
36798
|
'entity_id': entityId,
|
|
38686
|
-
'
|
|
38687
|
-
'
|
|
36799
|
+
'org': org,
|
|
36800
|
+
'user_id': userId
|
|
38688
36801
|
}
|
|
38689
36802
|
});
|
|
38690
36803
|
}
|
|
@@ -38734,115 +36847,21 @@ class CredentialsService {
|
|
|
38734
36847
|
* @throws ApiError
|
|
38735
36848
|
*/
|
|
38736
36849
|
static credentialsOrgsUsersIssuersAuthorityCreate({
|
|
38737
|
-
|
|
38738
|
-
|
|
38739
|
-
requestBody
|
|
38740
|
-
}) {
|
|
38741
|
-
return request(OpenAPI, {
|
|
38742
|
-
method: 'POST',
|
|
38743
|
-
url: '/api/credentials/orgs/{platform_key}/users/{username}/issuers/authority/',
|
|
38744
|
-
path: {
|
|
38745
|
-
'platform_key': platformKey,
|
|
38746
|
-
'username': username
|
|
38747
|
-
},
|
|
38748
|
-
body: requestBody,
|
|
38749
|
-
mediaType: 'application/json'
|
|
38750
|
-
});
|
|
38751
|
-
}
|
|
38752
|
-
/**
|
|
38753
|
-
* Retrieve provider configurations for the platform.
|
|
38754
|
-
*
|
|
38755
|
-
* Query Parameters:
|
|
38756
|
-
* provider_name (str, optional): Filter to a specific provider
|
|
38757
|
-
* page (int, optional): Page number
|
|
38758
|
-
* page_size (int, optional): Items per page
|
|
38759
|
-
*
|
|
38760
|
-
* Returns all configurations for the platform if the user is an admin.
|
|
38761
|
-
* @returns CredentialProviderConfig
|
|
38762
|
-
* @throws ApiError
|
|
38763
|
-
*/
|
|
38764
|
-
static credentialsOrgsUsersProviderConfigRetrieve({
|
|
38765
|
-
platformKey,
|
|
38766
|
-
username
|
|
38767
|
-
}) {
|
|
38768
|
-
return request(OpenAPI, {
|
|
38769
|
-
method: 'GET',
|
|
38770
|
-
url: '/api/credentials/orgs/{platform_key}/users/{username}/provider-config/',
|
|
38771
|
-
path: {
|
|
38772
|
-
'platform_key': platformKey,
|
|
38773
|
-
'username': username
|
|
38774
|
-
}
|
|
38775
|
-
});
|
|
38776
|
-
}
|
|
38777
|
-
/**
|
|
38778
|
-
* Create or update a provider configuration.
|
|
38779
|
-
*
|
|
38780
|
-
* If a configuration doesn't exist for the platform and provider, it will be created.
|
|
38781
|
-
* If it exists, it will be updated.
|
|
38782
|
-
*
|
|
38783
|
-
* Request Body:
|
|
38784
|
-
* {
|
|
38785
|
-
* "provider_name": "accredible", // Required
|
|
38786
|
-
* "config": {...}, // Optional
|
|
38787
|
-
* "enabled": true // Optional
|
|
38788
|
-
* }
|
|
38789
|
-
*
|
|
38790
|
-
* Returns:
|
|
38791
|
-
* - 201 Created: When creating a new configuration
|
|
38792
|
-
* - 200 OK: When updating an existing configuration
|
|
38793
|
-
* @returns CredentialProviderConfig
|
|
38794
|
-
* @throws ApiError
|
|
38795
|
-
*/
|
|
38796
|
-
static credentialsOrgsUsersProviderConfigCreate({
|
|
38797
|
-
platformKey,
|
|
38798
|
-
username,
|
|
36850
|
+
org,
|
|
36851
|
+
userId,
|
|
38799
36852
|
requestBody
|
|
38800
36853
|
}) {
|
|
38801
36854
|
return request(OpenAPI, {
|
|
38802
36855
|
method: 'POST',
|
|
38803
|
-
url: '/api/credentials/orgs/{
|
|
36856
|
+
url: '/api/credentials/orgs/{org}/users/{user_id}/issuers/authority/',
|
|
38804
36857
|
path: {
|
|
38805
|
-
'
|
|
38806
|
-
'
|
|
36858
|
+
'org': org,
|
|
36859
|
+
'user_id': userId
|
|
38807
36860
|
},
|
|
38808
36861
|
body: requestBody,
|
|
38809
36862
|
mediaType: 'application/json'
|
|
38810
36863
|
});
|
|
38811
36864
|
}
|
|
38812
|
-
/**
|
|
38813
|
-
* Deactivate a provider configuration (sets enabled=False).
|
|
38814
|
-
*
|
|
38815
|
-
* Request Body:
|
|
38816
|
-
* {
|
|
38817
|
-
* "provider_name": "accredible" // Required
|
|
38818
|
-
* }
|
|
38819
|
-
* @returns void
|
|
38820
|
-
* @throws ApiError
|
|
38821
|
-
*/
|
|
38822
|
-
static credentialsOrgsUsersProviderConfigDestroy({
|
|
38823
|
-
platformKey,
|
|
38824
|
-
username
|
|
38825
|
-
}) {
|
|
38826
|
-
return request(OpenAPI, {
|
|
38827
|
-
method: 'DELETE',
|
|
38828
|
-
url: '/api/credentials/orgs/{platform_key}/users/{username}/provider-config/',
|
|
38829
|
-
path: {
|
|
38830
|
-
'platform_key': platformKey,
|
|
38831
|
-
'username': username
|
|
38832
|
-
}
|
|
38833
|
-
});
|
|
38834
|
-
}
|
|
38835
|
-
/**
|
|
38836
|
-
* Get list of enabled credential providers with pagination.
|
|
38837
|
-
* @returns any No response body
|
|
38838
|
-
* @throws ApiError
|
|
38839
|
-
*/
|
|
38840
|
-
static credentialsProvidersRetrieve() {
|
|
38841
|
-
return request(OpenAPI, {
|
|
38842
|
-
method: 'GET',
|
|
38843
|
-
url: '/api/credentials/providers/'
|
|
38844
|
-
});
|
|
38845
|
-
}
|
|
38846
36865
|
/**
|
|
38847
36866
|
* Public endpoint to retrieve a specific credential assertion by its entity ID.
|
|
38848
36867
|
*
|
|
@@ -42154,6 +40173,66 @@ class SkillsService {
|
|
|
42154
40173
|
}
|
|
42155
40174
|
}
|
|
42156
40175
|
|
|
40176
|
+
class V2Service {
|
|
40177
|
+
/**
|
|
40178
|
+
* Handle GET requests for my mentors.
|
|
40179
|
+
* @returns MentorSearchResponse
|
|
40180
|
+
* @throws ApiError
|
|
40181
|
+
*/
|
|
40182
|
+
static v2SearchOrgsUsersMyMentorsRetrieve({
|
|
40183
|
+
org,
|
|
40184
|
+
username,
|
|
40185
|
+
audience,
|
|
40186
|
+
category,
|
|
40187
|
+
createdBy,
|
|
40188
|
+
featured,
|
|
40189
|
+
id,
|
|
40190
|
+
includeMainPublicMentors = false,
|
|
40191
|
+
limit = 12,
|
|
40192
|
+
llm,
|
|
40193
|
+
offset,
|
|
40194
|
+
orderBy,
|
|
40195
|
+
orderDirection = 'desc',
|
|
40196
|
+
query,
|
|
40197
|
+
tags,
|
|
40198
|
+
tenant,
|
|
40199
|
+
uniqueId
|
|
40200
|
+
}) {
|
|
40201
|
+
return request(OpenAPI, {
|
|
40202
|
+
method: 'GET',
|
|
40203
|
+
url: '/api/v2/search/orgs/{org}/users/{username}/my-mentors/',
|
|
40204
|
+
path: {
|
|
40205
|
+
'org': org,
|
|
40206
|
+
'username': username
|
|
40207
|
+
},
|
|
40208
|
+
query: {
|
|
40209
|
+
'audience': audience,
|
|
40210
|
+
'category': category,
|
|
40211
|
+
'created_by': createdBy,
|
|
40212
|
+
'featured': featured,
|
|
40213
|
+
'id': id,
|
|
40214
|
+
'include_main_public_mentors': includeMainPublicMentors,
|
|
40215
|
+
'limit': limit,
|
|
40216
|
+
'llm': llm,
|
|
40217
|
+
'offset': offset,
|
|
40218
|
+
'order_by': orderBy,
|
|
40219
|
+
'order_direction': orderDirection,
|
|
40220
|
+
'query': query,
|
|
40221
|
+
'tags': tags,
|
|
40222
|
+
'tenant': tenant,
|
|
40223
|
+
'unique_id': uniqueId
|
|
40224
|
+
},
|
|
40225
|
+
errors: {
|
|
40226
|
+
400: `Bad request`,
|
|
40227
|
+
401: `Unauthorized`,
|
|
40228
|
+
403: `Forbidden`,
|
|
40229
|
+
404: `Not found`,
|
|
40230
|
+
500: `Server error`
|
|
40231
|
+
}
|
|
40232
|
+
});
|
|
40233
|
+
}
|
|
40234
|
+
}
|
|
40235
|
+
|
|
42157
40236
|
exports.AiAccountService = AiAccountService;
|
|
42158
40237
|
exports.AiAnalyticsService = AiAnalyticsService;
|
|
42159
40238
|
exports.AiBotService = AiBotService;
|
|
@@ -42163,7 +40242,6 @@ exports.AiMarketingService = AiMarketingService;
|
|
|
42163
40242
|
exports.AiMediaService = AiMediaService;
|
|
42164
40243
|
exports.AiMentorService = AiMentorService;
|
|
42165
40244
|
exports.AiPromptService = AiPromptService;
|
|
42166
|
-
exports.AiSearchService = AiSearchService;
|
|
42167
40245
|
exports.AnalyticsService = AnalyticsService;
|
|
42168
40246
|
exports.ApiError = ApiError;
|
|
42169
40247
|
exports.CancelError = CancelError;
|
|
@@ -42183,4 +40261,5 @@ exports.ReportsService = ReportsService;
|
|
|
42183
40261
|
exports.ScimService = ScimService;
|
|
42184
40262
|
exports.SearchService = SearchService;
|
|
42185
40263
|
exports.SkillsService = SkillsService;
|
|
40264
|
+
exports.V2Service = V2Service;
|
|
42186
40265
|
//# sourceMappingURL=index.cjs.js.map
|