@iblai/iblai-api 4.403.0-ai → 4.404.0-ai
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +14 -442
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +14 -442
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +14 -442
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +0 -5
- package/dist/types/models/DomainAttach.d.ts +4 -1
- package/dist/types/models/HostingProject.d.ts +13 -1
- package/dist/types/services/AiMentorService.d.ts +30 -661
- package/package.json +1 -1
- package/sdk_schema.yml +117 -2080
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +0 -5
- package/src/models/DomainAttach.ts +4 -1
- package/src/models/HostingProject.ts +13 -1
- package/src/services/AiMentorService.ts +130 -1361
- package/dist/types/models/MentorFromTemplate.d.ts +0 -3
- package/dist/types/models/PatchedMentorFromTemplate.d.ts +0 -3
- package/dist/types/models/PatchedMentorSettings.d.ts +0 -157
- package/dist/types/models/PatchedMentorWizard.d.ts +0 -4
- package/dist/types/models/PatchedSeedMentorsView.d.ts +0 -3
- package/src/models/MentorFromTemplate.ts +0 -8
- package/src/models/PatchedMentorFromTemplate.ts +0 -8
- package/src/models/PatchedMentorSettings.ts +0 -162
- package/src/models/PatchedMentorWizard.ts +0 -9
- package/src/models/PatchedSeedMentorsView.ts +0 -8
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.404.0-ai-plus',
|
|
114
114
|
WITH_CREDENTIALS: false,
|
|
115
115
|
CREDENTIALS: 'include',
|
|
116
116
|
TOKEN: undefined,
|
|
@@ -18043,6 +18043,16 @@ class AiMentorService{/**
|
|
|
18043
18043
|
* @returns void
|
|
18044
18044
|
* @throws ApiError
|
|
18045
18045
|
*/static aiMentorOrgsProjectsDestroy({id,org}){return request(OpenAPI,{method:'DELETE',url:'/api/ai-mentor/orgs/{org}/projects/{id}/',path:{'id':id,'org':org},errors:{403:`Permission denied`}});}/**
|
|
18046
|
+
* Re-verify a hosted custom domain
|
|
18047
|
+
* Platform admins only. Re-checks the domain against Vercel and records the result. A domain this platform had lost is taken back when it verifies again; a domain another platform holds but can no longer serve is claimed from them.
|
|
18048
|
+
* @returns any Verification result
|
|
18049
|
+
* @throws ApiError
|
|
18050
|
+
*/static aiMentorOrgsProvidersVercelHostingDomainsCreate({id,org,provider}){return request(OpenAPI,{method:'POST',url:'/api/ai-mentor/orgs/{org}/providers/vercel/hosting/domains/{id}/',path:{'id':id,'org':org},query:{'provider':provider},errors:{400:`Not a hosted domain`,403:`Permission denied`,404:`Not found`,503:`Migration 0095 not applied`}});}/**
|
|
18051
|
+
* Detach a hosted custom domain from the platform
|
|
18052
|
+
* Platform admins only. Removes the domain from its Vercel project and drops the row, so the DM and Vercel do not drift apart.
|
|
18053
|
+
* @returns void
|
|
18054
|
+
* @throws ApiError
|
|
18055
|
+
*/static aiMentorOrgsProvidersVercelHostingDomainsDestroy({id,org,provider}){return request(OpenAPI,{method:'DELETE',url:'/api/ai-mentor/orgs/{org}/providers/vercel/hosting/domains/{id}/',path:{'id':id,'org':org},query:{'provider':provider},errors:{403:`Permission denied`,404:`Not found`,503:`Migration 0095 not applied`}});}/**
|
|
18046
18056
|
* Retrieve existing questions.
|
|
18047
18057
|
*
|
|
18048
18058
|
* Args:
|
|
@@ -18285,24 +18295,6 @@ class AiMentorService{/**
|
|
|
18285
18295
|
* @returns Mentor
|
|
18286
18296
|
* @throws ApiError
|
|
18287
18297
|
*/static aiMentorOrgsUsersAgentWithSettingsCreate({org,userId,formData}){return request(OpenAPI,{method:'POST',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/agent-with-settings/',path:{'org':org,'user_id':userId},formData:formData,mediaType:'multipart/form-data'});}/**
|
|
18288
|
-
* View to create a mentor from a template with settings.
|
|
18289
|
-
*
|
|
18290
|
-
* Accessible to tenant admins only.
|
|
18291
|
-
* @returns MentorFromTemplate
|
|
18292
|
-
* @throws ApiError
|
|
18293
|
-
*/static aiMentorOrgsUsersAgentWithSettingsUpdate({org,userId,formData}){return request(OpenAPI,{method:'PUT',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/agent-with-settings/',path:{'org':org,'user_id':userId},formData:formData,mediaType:'multipart/form-data'});}/**
|
|
18294
|
-
* View to create a mentor from a template with settings.
|
|
18295
|
-
*
|
|
18296
|
-
* Accessible to tenant admins only.
|
|
18297
|
-
* @returns MentorFromTemplate
|
|
18298
|
-
* @throws ApiError
|
|
18299
|
-
*/static aiMentorOrgsUsersAgentWithSettingsPartialUpdate({org,userId,formData}){return request(OpenAPI,{method:'PATCH',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/agent-with-settings/',path:{'org':org,'user_id':userId},formData:formData,mediaType:'multipart/form-data'});}/**
|
|
18300
|
-
* View to create a mentor from a template with settings.
|
|
18301
|
-
*
|
|
18302
|
-
* Accessible to tenant admins only.
|
|
18303
|
-
* @returns void
|
|
18304
|
-
* @throws ApiError
|
|
18305
|
-
*/static aiMentorOrgsUsersAgentWithSettingsDestroy({org,userId}){return request(OpenAPI,{method:'DELETE',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/agent-with-settings/',path:{'org':org,'user_id':userId}});}/**
|
|
18306
18298
|
* Retrieve the list of mentor audiences.
|
|
18307
18299
|
*
|
|
18308
18300
|
* Returns:
|
|
@@ -18373,46 +18365,6 @@ class AiMentorService{/**
|
|
|
18373
18365
|
* @returns SeedMentorsView
|
|
18374
18366
|
* @throws ApiError
|
|
18375
18367
|
*/static aiMentorOrgsUsersAgentSeedRetrieve({org,userId}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/agent/seed/',path:{'org':org,'user_id':userId},errors:{400:`Seeding failed`}});}/**
|
|
18376
|
-
* API view for seeding mentors in a tenant.
|
|
18377
|
-
*
|
|
18378
|
-
* This view allows platform administrators to seed initial mentors
|
|
18379
|
-
* in a tenant from predefined templates.
|
|
18380
|
-
*
|
|
18381
|
-
* Permissions:
|
|
18382
|
-
* - Restricted to platform administrators only
|
|
18383
|
-
* @returns SeedMentorsView
|
|
18384
|
-
* @throws ApiError
|
|
18385
|
-
*/static aiMentorOrgsUsersAgentSeedCreate({org,userId,requestBody}){return request(OpenAPI,{method:'POST',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/agent/seed/',path:{'org':org,'user_id':userId},body:requestBody,mediaType:'application/json'});}/**
|
|
18386
|
-
* API view for seeding mentors in a tenant.
|
|
18387
|
-
*
|
|
18388
|
-
* This view allows platform administrators to seed initial mentors
|
|
18389
|
-
* in a tenant from predefined templates.
|
|
18390
|
-
*
|
|
18391
|
-
* Permissions:
|
|
18392
|
-
* - Restricted to platform administrators only
|
|
18393
|
-
* @returns SeedMentorsView
|
|
18394
|
-
* @throws ApiError
|
|
18395
|
-
*/static aiMentorOrgsUsersAgentSeedUpdate({org,userId,requestBody}){return request(OpenAPI,{method:'PUT',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/agent/seed/',path:{'org':org,'user_id':userId},body:requestBody,mediaType:'application/json'});}/**
|
|
18396
|
-
* API view for seeding mentors in a tenant.
|
|
18397
|
-
*
|
|
18398
|
-
* This view allows platform administrators to seed initial mentors
|
|
18399
|
-
* in a tenant from predefined templates.
|
|
18400
|
-
*
|
|
18401
|
-
* Permissions:
|
|
18402
|
-
* - Restricted to platform administrators only
|
|
18403
|
-
* @returns SeedMentorsView
|
|
18404
|
-
* @throws ApiError
|
|
18405
|
-
*/static aiMentorOrgsUsersAgentSeedPartialUpdate({org,userId,requestBody}){return request(OpenAPI,{method:'PATCH',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/agent/seed/',path:{'org':org,'user_id':userId},body:requestBody,mediaType:'application/json'});}/**
|
|
18406
|
-
* API view for seeding mentors in a tenant.
|
|
18407
|
-
*
|
|
18408
|
-
* This view allows platform administrators to seed initial mentors
|
|
18409
|
-
* in a tenant from predefined templates.
|
|
18410
|
-
*
|
|
18411
|
-
* Permissions:
|
|
18412
|
-
* - Restricted to platform administrators only
|
|
18413
|
-
* @returns void
|
|
18414
|
-
* @throws ApiError
|
|
18415
|
-
*/static aiMentorOrgsUsersAgentSeedDestroy({org,userId}){return request(OpenAPI,{method:'DELETE',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/agent/seed/',path:{'org':org,'user_id':userId}});}/**
|
|
18416
18368
|
* List mentor-specific memories grouped by category.
|
|
18417
18369
|
* @returns any No response body
|
|
18418
18370
|
* @throws ApiError
|
|
@@ -18514,42 +18466,6 @@ class AiMentorService{/**
|
|
|
18514
18466
|
* @returns MentorUserSetting
|
|
18515
18467
|
* @throws ApiError
|
|
18516
18468
|
*/static aiMentorOrgsUsersAgentsAgentUserSettingsCreate({mentor,org,userId,requestBody}){return request(OpenAPI,{method:'POST',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/agent-user-settings/',path:{'mentor':mentor,'org':org,'user_id':userId},body:requestBody,mediaType:'application/json'});}/**
|
|
18517
|
-
* Mixin to set the auditlog actor context for DRF views.
|
|
18518
|
-
*
|
|
18519
|
-
* For Django auth.User (admin users): Uses auditlog's native actor FK.
|
|
18520
|
-
* For edX users (AuthStudent): Sets edx_actor FK on DMAuditLogEntry.
|
|
18521
|
-
*
|
|
18522
|
-
* IMPORTANT: This mixin only works for views that DO NOT override the
|
|
18523
|
-
* HTTP/action methods (post, put, patch, delete, create, update, partial_update,
|
|
18524
|
-
* destroy). For views that define their own methods, use the @with_auditlog_actor
|
|
18525
|
-
* decorator on those methods instead.
|
|
18526
|
-
* @returns any No response body
|
|
18527
|
-
* @throws ApiError
|
|
18528
|
-
*/static aiMentorOrgsUsersAgentsAgentUserSettingsUpdate({mentor,org,userId}){return request(OpenAPI,{method:'PUT',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/agent-user-settings/',path:{'mentor':mentor,'org':org,'user_id':userId}});}/**
|
|
18529
|
-
* Mixin to set the auditlog actor context for DRF views.
|
|
18530
|
-
*
|
|
18531
|
-
* For Django auth.User (admin users): Uses auditlog's native actor FK.
|
|
18532
|
-
* For edX users (AuthStudent): Sets edx_actor FK on DMAuditLogEntry.
|
|
18533
|
-
*
|
|
18534
|
-
* IMPORTANT: This mixin only works for views that DO NOT override the
|
|
18535
|
-
* HTTP/action methods (post, put, patch, delete, create, update, partial_update,
|
|
18536
|
-
* destroy). For views that define their own methods, use the @with_auditlog_actor
|
|
18537
|
-
* decorator on those methods instead.
|
|
18538
|
-
* @returns any No response body
|
|
18539
|
-
* @throws ApiError
|
|
18540
|
-
*/static aiMentorOrgsUsersAgentsAgentUserSettingsPartialUpdate({mentor,org,userId}){return request(OpenAPI,{method:'PATCH',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/agent-user-settings/',path:{'mentor':mentor,'org':org,'user_id':userId}});}/**
|
|
18541
|
-
* Mixin to set the auditlog actor context for DRF views.
|
|
18542
|
-
*
|
|
18543
|
-
* For Django auth.User (admin users): Uses auditlog's native actor FK.
|
|
18544
|
-
* For edX users (AuthStudent): Sets edx_actor FK on DMAuditLogEntry.
|
|
18545
|
-
*
|
|
18546
|
-
* IMPORTANT: This mixin only works for views that DO NOT override the
|
|
18547
|
-
* HTTP/action methods (post, put, patch, delete, create, update, partial_update,
|
|
18548
|
-
* destroy). For views that define their own methods, use the @with_auditlog_actor
|
|
18549
|
-
* decorator on those methods instead.
|
|
18550
|
-
* @returns void
|
|
18551
|
-
* @throws ApiError
|
|
18552
|
-
*/static aiMentorOrgsUsersAgentsAgentUserSettingsDestroy({mentor,org,userId}){return request(OpenAPI,{method:'DELETE',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/agent-user-settings/',path:{'mentor':mentor,'org':org,'user_id':userId}});}/**
|
|
18553
18469
|
* Retrieve tools available for a particular mentor. The 'is_allowed' field indicates whether the tool is compatible with the mentor's current LLM configuration.
|
|
18554
18470
|
* @returns ToolResponse
|
|
18555
18471
|
* @throws ApiError
|
|
@@ -18717,36 +18633,6 @@ class AiMentorService{/**
|
|
|
18717
18633
|
* @returns Mentor
|
|
18718
18634
|
* @throws ApiError
|
|
18719
18635
|
*/static aiMentorOrgsUsersAgentsForkCreate({mentor,org,userId,requestBody}){return request(OpenAPI,{method:'POST',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/fork/',path:{'mentor':mentor,'org':org,'user_id':userId},body:requestBody,mediaType:'application/json',errors:{400:`Invalid data or fork failed`,404:`Mentor not found`}});}/**
|
|
18720
|
-
* API view for forking (cloning) a mentor.
|
|
18721
|
-
*
|
|
18722
|
-
* This view allows users to create a copy of an existing mentor
|
|
18723
|
-
* with its settings and configurations.
|
|
18724
|
-
*
|
|
18725
|
-
* Permissions:
|
|
18726
|
-
* - Restricted to tenant admins and the student themselves
|
|
18727
|
-
* @returns any No response body
|
|
18728
|
-
* @throws ApiError
|
|
18729
|
-
*/static aiMentorOrgsUsersAgentsForkUpdate({mentor,org,userId}){return request(OpenAPI,{method:'PUT',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/fork/',path:{'mentor':mentor,'org':org,'user_id':userId}});}/**
|
|
18730
|
-
* API view for forking (cloning) a mentor.
|
|
18731
|
-
*
|
|
18732
|
-
* This view allows users to create a copy of an existing mentor
|
|
18733
|
-
* with its settings and configurations.
|
|
18734
|
-
*
|
|
18735
|
-
* Permissions:
|
|
18736
|
-
* - Restricted to tenant admins and the student themselves
|
|
18737
|
-
* @returns any No response body
|
|
18738
|
-
* @throws ApiError
|
|
18739
|
-
*/static aiMentorOrgsUsersAgentsForkPartialUpdate({mentor,org,userId}){return request(OpenAPI,{method:'PATCH',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/fork/',path:{'mentor':mentor,'org':org,'user_id':userId}});}/**
|
|
18740
|
-
* API view for forking (cloning) a mentor.
|
|
18741
|
-
*
|
|
18742
|
-
* This view allows users to create a copy of an existing mentor
|
|
18743
|
-
* with its settings and configurations.
|
|
18744
|
-
*
|
|
18745
|
-
* Permissions:
|
|
18746
|
-
* - Restricted to tenant admins and the student themselves
|
|
18747
|
-
* @returns void
|
|
18748
|
-
* @throws ApiError
|
|
18749
|
-
*/static aiMentorOrgsUsersAgentsForkDestroy({mentor,org,userId}){return request(OpenAPI,{method:'DELETE',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/fork/',path:{'mentor':mentor,'org':org,'user_id':userId}});}/**
|
|
18750
18636
|
* Retrieve memory history entries for a specific mentor and user.
|
|
18751
18637
|
*
|
|
18752
18638
|
* Args:
|
|
@@ -18850,32 +18736,11 @@ class AiMentorService{/**
|
|
|
18850
18736
|
* @returns MentorSettingsPublic
|
|
18851
18737
|
* @throws ApiError
|
|
18852
18738
|
*/static aiMentorOrgsUsersAgentsSettingsRetrieve({mentor,org,userId,departmentId}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/settings/',path:{'mentor':mentor,'org':org,'user_id':userId},query:{'department_id':departmentId},errors:{404:`Mentor not found`}});}/**
|
|
18853
|
-
* API view to retrieve and update mentor settings.
|
|
18854
|
-
*
|
|
18855
|
-
* Permissions:
|
|
18856
|
-
* - Only accessible to tenant admins.
|
|
18857
|
-
* @returns MentorSettings
|
|
18858
|
-
* @throws ApiError
|
|
18859
|
-
*/static aiMentorOrgsUsersAgentsSettingsCreate({mentor,org,userId,departmentId,formData}){return request(OpenAPI,{method:'POST',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/settings/',path:{'mentor':mentor,'org':org,'user_id':userId},query:{'department_id':departmentId},formData:formData,mediaType:'multipart/form-data'});}/**
|
|
18860
18739
|
* Update Mentor Settings
|
|
18861
18740
|
* Update various mentor settings including system prompts, tool permissions, and UI configurations.
|
|
18862
18741
|
* @returns MentorSettings
|
|
18863
18742
|
* @throws ApiError
|
|
18864
18743
|
*/static aiMentorOrgsUsersAgentsSettingsUpdate({mentor,org,userId,departmentId,formData}){return request(OpenAPI,{method:'PUT',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/settings/',path:{'mentor':mentor,'org':org,'user_id':userId},query:{'department_id':departmentId},formData:formData,mediaType:'multipart/form-data',errors:{400:`Invalid request data`,404:`Mentor not found`}});}/**
|
|
18865
|
-
* API view to retrieve and update mentor settings.
|
|
18866
|
-
*
|
|
18867
|
-
* Permissions:
|
|
18868
|
-
* - Only accessible to tenant admins.
|
|
18869
|
-
* @returns MentorSettings
|
|
18870
|
-
* @throws ApiError
|
|
18871
|
-
*/static aiMentorOrgsUsersAgentsSettingsPartialUpdate({mentor,org,userId,departmentId,formData}){return request(OpenAPI,{method:'PATCH',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/settings/',path:{'mentor':mentor,'org':org,'user_id':userId},query:{'department_id':departmentId},formData:formData,mediaType:'multipart/form-data'});}/**
|
|
18872
|
-
* API view to retrieve and update mentor settings.
|
|
18873
|
-
*
|
|
18874
|
-
* Permissions:
|
|
18875
|
-
* - Only accessible to tenant admins.
|
|
18876
|
-
* @returns void
|
|
18877
|
-
* @throws ApiError
|
|
18878
|
-
*/static aiMentorOrgsUsersAgentsSettingsDestroy({mentor,org,userId,departmentId}){return request(OpenAPI,{method:'DELETE',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/settings/',path:{'mentor':mentor,'org':org,'user_id':userId},query:{'department_id':departmentId}});}/**
|
|
18879
18744
|
* Enpoints to manage mentor shareable links
|
|
18880
18745
|
* @returns ShareableMentorLink
|
|
18881
18746
|
* @throws ApiError
|
|
@@ -18927,20 +18792,6 @@ class AiMentorService{/**
|
|
|
18927
18792
|
* @returns SharedSystemPromptResponse
|
|
18928
18793
|
* @throws ApiError
|
|
18929
18794
|
*/static aiMentorOrgsUsersAgentsSharedPromptUpdate({mentor,org,userId,requestBody}){return request(OpenAPI,{method:'PUT',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/shared-prompt/',path:{'mentor':mentor,'org':org,'user_id':userId},body:requestBody,mediaType:'application/json',errors:{400:`Invalid target or share would chain`,403:`Not a platform admin of every tenant`}});}/**
|
|
18930
|
-
* Share one mentor's system prompt with mentors in any tenant.
|
|
18931
|
-
*
|
|
18932
|
-
* The mentor in the URL is the **source**: its own `system_prompt` field is
|
|
18933
|
-
* the shared prompt, so there is no separate copy to keep in sync. Targets
|
|
18934
|
-
* resolve to it at chat time and keep their own prompt untouched, which is
|
|
18935
|
-
* what makes unsharing a clean restore.
|
|
18936
|
-
*
|
|
18937
|
-
* Permissions:
|
|
18938
|
-
* - The caller must be a platform admin of the source tenant *and* of
|
|
18939
|
-
* every tenant named in the request. Unlike forking, there is no
|
|
18940
|
-
* carve-out for the `main` platform.
|
|
18941
|
-
* @returns any No response body
|
|
18942
|
-
* @throws ApiError
|
|
18943
|
-
*/static aiMentorOrgsUsersAgentsSharedPromptPartialUpdate({mentor,org,userId}){return request(OpenAPI,{method:'PATCH',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/shared-prompt/',path:{'mentor':mentor,'org':org,'user_id':userId}});}/**
|
|
18944
18795
|
* Stop sharing this mentor's system prompt
|
|
18945
18796
|
* Removes the named targets from the sharing list. Omit `targets` to remove every consumer. Each unshared mentor goes back to its own preserved system prompt.
|
|
18946
18797
|
* @returns SharedSystemPromptResponse
|
|
@@ -19884,36 +19735,6 @@ class AiMentorService{/**
|
|
|
19884
19735
|
* @returns Mentor
|
|
19885
19736
|
* @throws ApiError
|
|
19886
19737
|
*/static aiMentorOrgsUsersCreateAgentWizardCreate({org,userId,requestBody}){return request(OpenAPI,{method:'POST',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/create-agent-wizard/',path:{'org':org,'user_id':userId},body:requestBody,mediaType:'application/json',errors:{400:`Invalid data`}});}/**
|
|
19887
|
-
* API view for creating a mentor using the wizard interface.
|
|
19888
|
-
*
|
|
19889
|
-
* This view allows platform administrators to create new mentors with
|
|
19890
|
-
* basic configuration through a simplified wizard process.
|
|
19891
|
-
*
|
|
19892
|
-
* Permissions:
|
|
19893
|
-
* - Restricted to platform administrators only
|
|
19894
|
-
* @returns MentorWizard
|
|
19895
|
-
* @throws ApiError
|
|
19896
|
-
*/static aiMentorOrgsUsersCreateAgentWizardUpdate({org,userId,requestBody}){return request(OpenAPI,{method:'PUT',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/create-agent-wizard/',path:{'org':org,'user_id':userId},body:requestBody,mediaType:'application/json'});}/**
|
|
19897
|
-
* API view for creating a mentor using the wizard interface.
|
|
19898
|
-
*
|
|
19899
|
-
* This view allows platform administrators to create new mentors with
|
|
19900
|
-
* basic configuration through a simplified wizard process.
|
|
19901
|
-
*
|
|
19902
|
-
* Permissions:
|
|
19903
|
-
* - Restricted to platform administrators only
|
|
19904
|
-
* @returns MentorWizard
|
|
19905
|
-
* @throws ApiError
|
|
19906
|
-
*/static aiMentorOrgsUsersCreateAgentWizardPartialUpdate({org,userId,requestBody}){return request(OpenAPI,{method:'PATCH',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/create-agent-wizard/',path:{'org':org,'user_id':userId},body:requestBody,mediaType:'application/json'});}/**
|
|
19907
|
-
* API view for creating a mentor using the wizard interface.
|
|
19908
|
-
*
|
|
19909
|
-
* This view allows platform administrators to create new mentors with
|
|
19910
|
-
* basic configuration through a simplified wizard process.
|
|
19911
|
-
*
|
|
19912
|
-
* Permissions:
|
|
19913
|
-
* - Restricted to platform administrators only
|
|
19914
|
-
* @returns void
|
|
19915
|
-
* @throws ApiError
|
|
19916
|
-
*/static aiMentorOrgsUsersCreateAgentWizardDestroy({org,userId}){return request(OpenAPI,{method:'DELETE',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/create-agent-wizard/',path:{'org':org,'user_id':userId}});}/**
|
|
19917
19738
|
* @deprecated
|
|
19918
19739
|
* **Deprecated — use `/api/ai-mentor/orgs/{org}/users/{user_id}/create-agent-wizard/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/users/{user_id}/create-agent-wizard/` (`mentor` → `agent`) and will be removed in a future release.
|
|
19919
19740
|
*
|
|
@@ -19932,45 +19753,6 @@ class AiMentorService{/**
|
|
|
19932
19753
|
* @returns Mentor
|
|
19933
19754
|
* @throws ApiError
|
|
19934
19755
|
*/static aiMentorOrgsUsersCreateMentorWizardCreate({org,userId,requestBody}){return request(OpenAPI,{method:'POST',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/create-mentor-wizard/',path:{'org':org,'user_id':userId},body:requestBody,mediaType:'application/json',errors:{400:`Invalid data`}});}/**
|
|
19935
|
-
* @deprecated
|
|
19936
|
-
* **Deprecated — use `/api/ai-mentor/orgs/{org}/users/{user_id}/create-agent-wizard/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/users/{user_id}/create-agent-wizard/` (`mentor` → `agent`) and will be removed in a future release.
|
|
19937
|
-
*
|
|
19938
|
-
* API view for creating a mentor using the wizard interface.
|
|
19939
|
-
*
|
|
19940
|
-
* This view allows platform administrators to create new mentors with
|
|
19941
|
-
* basic configuration through a simplified wizard process.
|
|
19942
|
-
*
|
|
19943
|
-
* Permissions:
|
|
19944
|
-
* - Restricted to platform administrators only
|
|
19945
|
-
* @returns MentorWizard
|
|
19946
|
-
* @throws ApiError
|
|
19947
|
-
*/static aiMentorOrgsUsersCreateMentorWizardUpdate({org,userId,requestBody}){return request(OpenAPI,{method:'PUT',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/create-mentor-wizard/',path:{'org':org,'user_id':userId},body:requestBody,mediaType:'application/json'});}/**
|
|
19948
|
-
* @deprecated
|
|
19949
|
-
* **Deprecated — use `/api/ai-mentor/orgs/{org}/users/{user_id}/create-agent-wizard/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/users/{user_id}/create-agent-wizard/` (`mentor` → `agent`) and will be removed in a future release.
|
|
19950
|
-
*
|
|
19951
|
-
* API view for creating a mentor using the wizard interface.
|
|
19952
|
-
*
|
|
19953
|
-
* This view allows platform administrators to create new mentors with
|
|
19954
|
-
* basic configuration through a simplified wizard process.
|
|
19955
|
-
*
|
|
19956
|
-
* Permissions:
|
|
19957
|
-
* - Restricted to platform administrators only
|
|
19958
|
-
* @returns MentorWizard
|
|
19959
|
-
* @throws ApiError
|
|
19960
|
-
*/static aiMentorOrgsUsersCreateMentorWizardPartialUpdate({org,userId,requestBody}){return request(OpenAPI,{method:'PATCH',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/create-mentor-wizard/',path:{'org':org,'user_id':userId},body:requestBody,mediaType:'application/json'});}/**
|
|
19961
|
-
* @deprecated
|
|
19962
|
-
* **Deprecated — use `/api/ai-mentor/orgs/{org}/users/{user_id}/create-agent-wizard/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/users/{user_id}/create-agent-wizard/` (`mentor` → `agent`) and will be removed in a future release.
|
|
19963
|
-
*
|
|
19964
|
-
* API view for creating a mentor using the wizard interface.
|
|
19965
|
-
*
|
|
19966
|
-
* This view allows platform administrators to create new mentors with
|
|
19967
|
-
* basic configuration through a simplified wizard process.
|
|
19968
|
-
*
|
|
19969
|
-
* Permissions:
|
|
19970
|
-
* - Restricted to platform administrators only
|
|
19971
|
-
* @returns void
|
|
19972
|
-
* @throws ApiError
|
|
19973
|
-
*/static aiMentorOrgsUsersCreateMentorWizardDestroy({org,userId}){return request(OpenAPI,{method:'DELETE',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/create-mentor-wizard/',path:{'org':org,'user_id':userId}});}/**
|
|
19974
19756
|
* Retrieve custom instructions for a specific user.
|
|
19975
19757
|
*
|
|
19976
19758
|
* Args:
|
|
@@ -21076,33 +20858,6 @@ class AiMentorService{/**
|
|
|
21076
20858
|
* @throws ApiError
|
|
21077
20859
|
*/static aiMentorOrgsUsersMentorWithSettingsCreate({org,userId,formData}){return request(OpenAPI,{method:'POST',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/mentor-with-settings/',path:{'org':org,'user_id':userId},formData:formData,mediaType:'multipart/form-data'});}/**
|
|
21078
20860
|
* @deprecated
|
|
21079
|
-
* **Deprecated — use `/api/ai-mentor/orgs/{org}/users/{user_id}/agent-with-settings/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/users/{user_id}/agent-with-settings/` (`mentor` → `agent`) and will be removed in a future release.
|
|
21080
|
-
*
|
|
21081
|
-
* View to create a mentor from a template with settings.
|
|
21082
|
-
*
|
|
21083
|
-
* Accessible to tenant admins only.
|
|
21084
|
-
* @returns MentorFromTemplate
|
|
21085
|
-
* @throws ApiError
|
|
21086
|
-
*/static aiMentorOrgsUsersMentorWithSettingsUpdate({org,userId,formData}){return request(OpenAPI,{method:'PUT',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/mentor-with-settings/',path:{'org':org,'user_id':userId},formData:formData,mediaType:'multipart/form-data'});}/**
|
|
21087
|
-
* @deprecated
|
|
21088
|
-
* **Deprecated — use `/api/ai-mentor/orgs/{org}/users/{user_id}/agent-with-settings/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/users/{user_id}/agent-with-settings/` (`mentor` → `agent`) and will be removed in a future release.
|
|
21089
|
-
*
|
|
21090
|
-
* View to create a mentor from a template with settings.
|
|
21091
|
-
*
|
|
21092
|
-
* Accessible to tenant admins only.
|
|
21093
|
-
* @returns MentorFromTemplate
|
|
21094
|
-
* @throws ApiError
|
|
21095
|
-
*/static aiMentorOrgsUsersMentorWithSettingsPartialUpdate({org,userId,formData}){return request(OpenAPI,{method:'PATCH',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/mentor-with-settings/',path:{'org':org,'user_id':userId},formData:formData,mediaType:'multipart/form-data'});}/**
|
|
21096
|
-
* @deprecated
|
|
21097
|
-
* **Deprecated — use `/api/ai-mentor/orgs/{org}/users/{user_id}/agent-with-settings/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/users/{user_id}/agent-with-settings/` (`mentor` → `agent`) and will be removed in a future release.
|
|
21098
|
-
*
|
|
21099
|
-
* View to create a mentor from a template with settings.
|
|
21100
|
-
*
|
|
21101
|
-
* Accessible to tenant admins only.
|
|
21102
|
-
* @returns void
|
|
21103
|
-
* @throws ApiError
|
|
21104
|
-
*/static aiMentorOrgsUsersMentorWithSettingsDestroy({org,userId}){return request(OpenAPI,{method:'DELETE',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/mentor-with-settings/',path:{'org':org,'user_id':userId}});}/**
|
|
21105
|
-
* @deprecated
|
|
21106
20861
|
* **Deprecated — use `/api/ai-mentor/orgs/{org}/users/{user_id}/agent/audience/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/users/{user_id}/agent/audience/` (`mentor` → `agent`) and will be removed in a future release.
|
|
21107
20862
|
*
|
|
21108
20863
|
* Retrieve the list of mentor audiences.
|
|
@@ -21194,58 +20949,6 @@ class AiMentorService{/**
|
|
|
21194
20949
|
* @throws ApiError
|
|
21195
20950
|
*/static aiMentorOrgsUsersMentorSeedRetrieve({org,userId}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/mentor/seed/',path:{'org':org,'user_id':userId},errors:{400:`Seeding failed`}});}/**
|
|
21196
20951
|
* @deprecated
|
|
21197
|
-
* **Deprecated — use `/api/ai-mentor/orgs/{org}/users/{user_id}/agent/seed/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/users/{user_id}/agent/seed/` (`mentor` → `agent`) and will be removed in a future release.
|
|
21198
|
-
*
|
|
21199
|
-
* API view for seeding mentors in a tenant.
|
|
21200
|
-
*
|
|
21201
|
-
* This view allows platform administrators to seed initial mentors
|
|
21202
|
-
* in a tenant from predefined templates.
|
|
21203
|
-
*
|
|
21204
|
-
* Permissions:
|
|
21205
|
-
* - Restricted to platform administrators only
|
|
21206
|
-
* @returns SeedMentorsView
|
|
21207
|
-
* @throws ApiError
|
|
21208
|
-
*/static aiMentorOrgsUsersMentorSeedCreate({org,userId,requestBody}){return request(OpenAPI,{method:'POST',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/mentor/seed/',path:{'org':org,'user_id':userId},body:requestBody,mediaType:'application/json'});}/**
|
|
21209
|
-
* @deprecated
|
|
21210
|
-
* **Deprecated — use `/api/ai-mentor/orgs/{org}/users/{user_id}/agent/seed/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/users/{user_id}/agent/seed/` (`mentor` → `agent`) and will be removed in a future release.
|
|
21211
|
-
*
|
|
21212
|
-
* API view for seeding mentors in a tenant.
|
|
21213
|
-
*
|
|
21214
|
-
* This view allows platform administrators to seed initial mentors
|
|
21215
|
-
* in a tenant from predefined templates.
|
|
21216
|
-
*
|
|
21217
|
-
* Permissions:
|
|
21218
|
-
* - Restricted to platform administrators only
|
|
21219
|
-
* @returns SeedMentorsView
|
|
21220
|
-
* @throws ApiError
|
|
21221
|
-
*/static aiMentorOrgsUsersMentorSeedUpdate({org,userId,requestBody}){return request(OpenAPI,{method:'PUT',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/mentor/seed/',path:{'org':org,'user_id':userId},body:requestBody,mediaType:'application/json'});}/**
|
|
21222
|
-
* @deprecated
|
|
21223
|
-
* **Deprecated — use `/api/ai-mentor/orgs/{org}/users/{user_id}/agent/seed/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/users/{user_id}/agent/seed/` (`mentor` → `agent`) and will be removed in a future release.
|
|
21224
|
-
*
|
|
21225
|
-
* API view for seeding mentors in a tenant.
|
|
21226
|
-
*
|
|
21227
|
-
* This view allows platform administrators to seed initial mentors
|
|
21228
|
-
* in a tenant from predefined templates.
|
|
21229
|
-
*
|
|
21230
|
-
* Permissions:
|
|
21231
|
-
* - Restricted to platform administrators only
|
|
21232
|
-
* @returns SeedMentorsView
|
|
21233
|
-
* @throws ApiError
|
|
21234
|
-
*/static aiMentorOrgsUsersMentorSeedPartialUpdate({org,userId,requestBody}){return request(OpenAPI,{method:'PATCH',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/mentor/seed/',path:{'org':org,'user_id':userId},body:requestBody,mediaType:'application/json'});}/**
|
|
21235
|
-
* @deprecated
|
|
21236
|
-
* **Deprecated — use `/api/ai-mentor/orgs/{org}/users/{user_id}/agent/seed/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/users/{user_id}/agent/seed/` (`mentor` → `agent`) and will be removed in a future release.
|
|
21237
|
-
*
|
|
21238
|
-
* API view for seeding mentors in a tenant.
|
|
21239
|
-
*
|
|
21240
|
-
* This view allows platform administrators to seed initial mentors
|
|
21241
|
-
* in a tenant from predefined templates.
|
|
21242
|
-
*
|
|
21243
|
-
* Permissions:
|
|
21244
|
-
* - Restricted to platform administrators only
|
|
21245
|
-
* @returns void
|
|
21246
|
-
* @throws ApiError
|
|
21247
|
-
*/static aiMentorOrgsUsersMentorSeedDestroy({org,userId}){return request(OpenAPI,{method:'DELETE',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/mentor/seed/',path:{'org':org,'user_id':userId}});}/**
|
|
21248
|
-
* @deprecated
|
|
21249
20952
|
* **Deprecated — use `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor_id}/agent-memories/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor_id}/agent-memories/` (`mentor` → `agent`) and will be removed in a future release.
|
|
21250
20953
|
*
|
|
21251
20954
|
* List mentor-specific memories grouped by category.
|
|
@@ -21491,45 +21194,6 @@ class AiMentorService{/**
|
|
|
21491
21194
|
* @throws ApiError
|
|
21492
21195
|
*/static aiMentorOrgsUsersMentorsForkCreate({mentor,org,userId,requestBody}){return request(OpenAPI,{method:'POST',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/mentors/{mentor}/fork/',path:{'mentor':mentor,'org':org,'user_id':userId},body:requestBody,mediaType:'application/json',errors:{400:`Invalid data or fork failed`,404:`Mentor not found`}});}/**
|
|
21493
21196
|
* @deprecated
|
|
21494
|
-
* **Deprecated — use `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/fork/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/fork/` (`mentor` → `agent`) and will be removed in a future release.
|
|
21495
|
-
*
|
|
21496
|
-
* API view for forking (cloning) a mentor.
|
|
21497
|
-
*
|
|
21498
|
-
* This view allows users to create a copy of an existing mentor
|
|
21499
|
-
* with its settings and configurations.
|
|
21500
|
-
*
|
|
21501
|
-
* Permissions:
|
|
21502
|
-
* - Restricted to tenant admins and the student themselves
|
|
21503
|
-
* @returns any No response body
|
|
21504
|
-
* @throws ApiError
|
|
21505
|
-
*/static aiMentorOrgsUsersMentorsForkUpdate({mentor,org,userId}){return request(OpenAPI,{method:'PUT',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/mentors/{mentor}/fork/',path:{'mentor':mentor,'org':org,'user_id':userId}});}/**
|
|
21506
|
-
* @deprecated
|
|
21507
|
-
* **Deprecated — use `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/fork/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/fork/` (`mentor` → `agent`) and will be removed in a future release.
|
|
21508
|
-
*
|
|
21509
|
-
* API view for forking (cloning) a mentor.
|
|
21510
|
-
*
|
|
21511
|
-
* This view allows users to create a copy of an existing mentor
|
|
21512
|
-
* with its settings and configurations.
|
|
21513
|
-
*
|
|
21514
|
-
* Permissions:
|
|
21515
|
-
* - Restricted to tenant admins and the student themselves
|
|
21516
|
-
* @returns any No response body
|
|
21517
|
-
* @throws ApiError
|
|
21518
|
-
*/static aiMentorOrgsUsersMentorsForkPartialUpdate({mentor,org,userId}){return request(OpenAPI,{method:'PATCH',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/mentors/{mentor}/fork/',path:{'mentor':mentor,'org':org,'user_id':userId}});}/**
|
|
21519
|
-
* @deprecated
|
|
21520
|
-
* **Deprecated — use `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/fork/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/fork/` (`mentor` → `agent`) and will be removed in a future release.
|
|
21521
|
-
*
|
|
21522
|
-
* API view for forking (cloning) a mentor.
|
|
21523
|
-
*
|
|
21524
|
-
* This view allows users to create a copy of an existing mentor
|
|
21525
|
-
* with its settings and configurations.
|
|
21526
|
-
*
|
|
21527
|
-
* Permissions:
|
|
21528
|
-
* - Restricted to tenant admins and the student themselves
|
|
21529
|
-
* @returns void
|
|
21530
|
-
* @throws ApiError
|
|
21531
|
-
*/static aiMentorOrgsUsersMentorsForkDestroy({mentor,org,userId}){return request(OpenAPI,{method:'DELETE',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/mentors/{mentor}/fork/',path:{'mentor':mentor,'org':org,'user_id':userId}});}/**
|
|
21532
|
-
* @deprecated
|
|
21533
21197
|
* **Deprecated — use `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/historical-memory/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/historical-memory/` (`mentor` → `agent`) and will be removed in a future release.
|
|
21534
21198
|
*
|
|
21535
21199
|
* Retrieve memory history entries for a specific mentor and user.
|
|
@@ -21682,51 +21346,6 @@ class AiMentorService{/**
|
|
|
21682
21346
|
* @throws ApiError
|
|
21683
21347
|
*/static aiMentorOrgsUsersMentorsMentorUserSettingsCreate({mentor,org,userId,requestBody}){return request(OpenAPI,{method:'POST',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/mentors/{mentor}/mentor-user-settings/',path:{'mentor':mentor,'org':org,'user_id':userId},body:requestBody,mediaType:'application/json'});}/**
|
|
21684
21348
|
* @deprecated
|
|
21685
|
-
* **Deprecated — use `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/agent-user-settings/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/agent-user-settings/` (`mentor` → `agent`) and will be removed in a future release.
|
|
21686
|
-
*
|
|
21687
|
-
* Mixin to set the auditlog actor context for DRF views.
|
|
21688
|
-
*
|
|
21689
|
-
* For Django auth.User (admin users): Uses auditlog's native actor FK.
|
|
21690
|
-
* For edX users (AuthStudent): Sets edx_actor FK on DMAuditLogEntry.
|
|
21691
|
-
*
|
|
21692
|
-
* IMPORTANT: This mixin only works for views that DO NOT override the
|
|
21693
|
-
* HTTP/action methods (post, put, patch, delete, create, update, partial_update,
|
|
21694
|
-
* destroy). For views that define their own methods, use the @with_auditlog_actor
|
|
21695
|
-
* decorator on those methods instead.
|
|
21696
|
-
* @returns any No response body
|
|
21697
|
-
* @throws ApiError
|
|
21698
|
-
*/static aiMentorOrgsUsersMentorsMentorUserSettingsUpdate({mentor,org,userId}){return request(OpenAPI,{method:'PUT',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/mentors/{mentor}/mentor-user-settings/',path:{'mentor':mentor,'org':org,'user_id':userId}});}/**
|
|
21699
|
-
* @deprecated
|
|
21700
|
-
* **Deprecated — use `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/agent-user-settings/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/agent-user-settings/` (`mentor` → `agent`) and will be removed in a future release.
|
|
21701
|
-
*
|
|
21702
|
-
* Mixin to set the auditlog actor context for DRF views.
|
|
21703
|
-
*
|
|
21704
|
-
* For Django auth.User (admin users): Uses auditlog's native actor FK.
|
|
21705
|
-
* For edX users (AuthStudent): Sets edx_actor FK on DMAuditLogEntry.
|
|
21706
|
-
*
|
|
21707
|
-
* IMPORTANT: This mixin only works for views that DO NOT override the
|
|
21708
|
-
* HTTP/action methods (post, put, patch, delete, create, update, partial_update,
|
|
21709
|
-
* destroy). For views that define their own methods, use the @with_auditlog_actor
|
|
21710
|
-
* decorator on those methods instead.
|
|
21711
|
-
* @returns any No response body
|
|
21712
|
-
* @throws ApiError
|
|
21713
|
-
*/static aiMentorOrgsUsersMentorsMentorUserSettingsPartialUpdate({mentor,org,userId}){return request(OpenAPI,{method:'PATCH',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/mentors/{mentor}/mentor-user-settings/',path:{'mentor':mentor,'org':org,'user_id':userId}});}/**
|
|
21714
|
-
* @deprecated
|
|
21715
|
-
* **Deprecated — use `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/agent-user-settings/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/agent-user-settings/` (`mentor` → `agent`) and will be removed in a future release.
|
|
21716
|
-
*
|
|
21717
|
-
* Mixin to set the auditlog actor context for DRF views.
|
|
21718
|
-
*
|
|
21719
|
-
* For Django auth.User (admin users): Uses auditlog's native actor FK.
|
|
21720
|
-
* For edX users (AuthStudent): Sets edx_actor FK on DMAuditLogEntry.
|
|
21721
|
-
*
|
|
21722
|
-
* IMPORTANT: This mixin only works for views that DO NOT override the
|
|
21723
|
-
* HTTP/action methods (post, put, patch, delete, create, update, partial_update,
|
|
21724
|
-
* destroy). For views that define their own methods, use the @with_auditlog_actor
|
|
21725
|
-
* decorator on those methods instead.
|
|
21726
|
-
* @returns void
|
|
21727
|
-
* @throws ApiError
|
|
21728
|
-
*/static aiMentorOrgsUsersMentorsMentorUserSettingsDestroy({mentor,org,userId}){return request(OpenAPI,{method:'DELETE',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/mentors/{mentor}/mentor-user-settings/',path:{'mentor':mentor,'org':org,'user_id':userId}});}/**
|
|
21729
|
-
* @deprecated
|
|
21730
21349
|
* **Deprecated — use `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/public-settings/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/public-settings/` (`mentor` → `agent`) and will be removed in a future release.
|
|
21731
21350
|
*
|
|
21732
21351
|
* Retrieve public mentor settings.
|
|
@@ -21797,16 +21416,6 @@ class AiMentorService{/**
|
|
|
21797
21416
|
* @throws ApiError
|
|
21798
21417
|
*/static aiMentorOrgsUsersMentorsSettingsRetrieve({mentor,org,userId,departmentId}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/mentors/{mentor}/settings/',path:{'mentor':mentor,'org':org,'user_id':userId},query:{'department_id':departmentId},errors:{404:`Mentor not found`}});}/**
|
|
21799
21418
|
* @deprecated
|
|
21800
|
-
* **Deprecated — use `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/settings/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/settings/` (`mentor` → `agent`) and will be removed in a future release.
|
|
21801
|
-
*
|
|
21802
|
-
* API view to retrieve and update mentor settings.
|
|
21803
|
-
*
|
|
21804
|
-
* Permissions:
|
|
21805
|
-
* - Only accessible to tenant admins.
|
|
21806
|
-
* @returns MentorSettings
|
|
21807
|
-
* @throws ApiError
|
|
21808
|
-
*/static aiMentorOrgsUsersMentorsSettingsCreate({mentor,org,userId,departmentId,formData}){return request(OpenAPI,{method:'POST',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/mentors/{mentor}/settings/',path:{'mentor':mentor,'org':org,'user_id':userId},query:{'department_id':departmentId},formData:formData,mediaType:'multipart/form-data'});}/**
|
|
21809
|
-
* @deprecated
|
|
21810
21419
|
* Update Mentor Settings
|
|
21811
21420
|
* **Deprecated — use `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/settings/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/settings/` (`mentor` → `agent`) and will be removed in a future release.
|
|
21812
21421
|
*
|
|
@@ -21815,26 +21424,6 @@ class AiMentorService{/**
|
|
|
21815
21424
|
* @throws ApiError
|
|
21816
21425
|
*/static aiMentorOrgsUsersMentorsSettingsUpdate({mentor,org,userId,departmentId,formData}){return request(OpenAPI,{method:'PUT',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/mentors/{mentor}/settings/',path:{'mentor':mentor,'org':org,'user_id':userId},query:{'department_id':departmentId},formData:formData,mediaType:'multipart/form-data',errors:{400:`Invalid request data`,404:`Mentor not found`}});}/**
|
|
21817
21426
|
* @deprecated
|
|
21818
|
-
* **Deprecated — use `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/settings/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/settings/` (`mentor` → `agent`) and will be removed in a future release.
|
|
21819
|
-
*
|
|
21820
|
-
* API view to retrieve and update mentor settings.
|
|
21821
|
-
*
|
|
21822
|
-
* Permissions:
|
|
21823
|
-
* - Only accessible to tenant admins.
|
|
21824
|
-
* @returns MentorSettings
|
|
21825
|
-
* @throws ApiError
|
|
21826
|
-
*/static aiMentorOrgsUsersMentorsSettingsPartialUpdate({mentor,org,userId,departmentId,formData}){return request(OpenAPI,{method:'PATCH',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/mentors/{mentor}/settings/',path:{'mentor':mentor,'org':org,'user_id':userId},query:{'department_id':departmentId},formData:formData,mediaType:'multipart/form-data'});}/**
|
|
21827
|
-
* @deprecated
|
|
21828
|
-
* **Deprecated — use `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/settings/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/settings/` (`mentor` → `agent`) and will be removed in a future release.
|
|
21829
|
-
*
|
|
21830
|
-
* API view to retrieve and update mentor settings.
|
|
21831
|
-
*
|
|
21832
|
-
* Permissions:
|
|
21833
|
-
* - Only accessible to tenant admins.
|
|
21834
|
-
* @returns void
|
|
21835
|
-
* @throws ApiError
|
|
21836
|
-
*/static aiMentorOrgsUsersMentorsSettingsDestroy({mentor,org,userId,departmentId}){return request(OpenAPI,{method:'DELETE',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/mentors/{mentor}/settings/',path:{'mentor':mentor,'org':org,'user_id':userId},query:{'department_id':departmentId}});}/**
|
|
21837
|
-
* @deprecated
|
|
21838
21427
|
* **Deprecated — use `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/sharable-link` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/sharable-link` (`mentor` → `agent`) and will be removed in a future release.
|
|
21839
21428
|
*
|
|
21840
21429
|
* Enpoints to manage mentor shareable links
|
|
@@ -21907,23 +21496,6 @@ class AiMentorService{/**
|
|
|
21907
21496
|
* @throws ApiError
|
|
21908
21497
|
*/static aiMentorOrgsUsersMentorsSharedPromptUpdate({mentor,org,userId,requestBody}){return request(OpenAPI,{method:'PUT',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/mentors/{mentor}/shared-prompt/',path:{'mentor':mentor,'org':org,'user_id':userId},body:requestBody,mediaType:'application/json',errors:{400:`Invalid target or share would chain`,403:`Not a platform admin of every tenant`}});}/**
|
|
21909
21498
|
* @deprecated
|
|
21910
|
-
* **Deprecated — use `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/shared-prompt/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/shared-prompt/` (`mentor` → `agent`) and will be removed in a future release.
|
|
21911
|
-
*
|
|
21912
|
-
* Share one mentor's system prompt with mentors in any tenant.
|
|
21913
|
-
*
|
|
21914
|
-
* The mentor in the URL is the **source**: its own `system_prompt` field is
|
|
21915
|
-
* the shared prompt, so there is no separate copy to keep in sync. Targets
|
|
21916
|
-
* resolve to it at chat time and keep their own prompt untouched, which is
|
|
21917
|
-
* what makes unsharing a clean restore.
|
|
21918
|
-
*
|
|
21919
|
-
* Permissions:
|
|
21920
|
-
* - The caller must be a platform admin of the source tenant *and* of
|
|
21921
|
-
* every tenant named in the request. Unlike forking, there is no
|
|
21922
|
-
* carve-out for the `main` platform.
|
|
21923
|
-
* @returns any No response body
|
|
21924
|
-
* @throws ApiError
|
|
21925
|
-
*/static aiMentorOrgsUsersMentorsSharedPromptPartialUpdate({mentor,org,userId}){return request(OpenAPI,{method:'PATCH',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/mentors/{mentor}/shared-prompt/',path:{'mentor':mentor,'org':org,'user_id':userId}});}/**
|
|
21926
|
-
* @deprecated
|
|
21927
21499
|
* Stop sharing this mentor's system prompt
|
|
21928
21500
|
* **Deprecated — use `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/shared-prompt/` instead.** This `mentor`-spelled path is an alias kept for backward compatibility; it is equivalent to `/api/ai-mentor/orgs/{org}/users/{user_id}/agents/{mentor}/shared-prompt/` (`mentor` → `agent`) and will be removed in a future release.
|
|
21929
21501
|
*
|
|
@@ -22938,10 +22510,10 @@ class AiMentorService{/**
|
|
|
22938
22510
|
* @throws ApiError
|
|
22939
22511
|
*/static aiMentorOrgsUsersProvidersVercelHostingDnsRetrieve({org,project,userId,domain,provider}){return request(OpenAPI,{method:'GET',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/providers/vercel/hosting/dns/',path:{'org':org,'user_id':userId},query:{'domain':domain,'project':project,'provider':provider},errors:{403:`Permission denied`,404:`Not found`}});}/**
|
|
22940
22512
|
* Attach a custom domain to a hosting project
|
|
22941
|
-
* Platform admins only — the path user is the project's owner, not the caller; the platform's own API key counts as an admin. Reserves the domain locally (mirrored into the unified /api/custom-domains/ listing), attaches it to the Vercel project and returns the DNS records to configure at the registrar.
|
|
22942
|
-
* @returns any
|
|
22513
|
+
* Platform admins only — the path user is the project's owner, not the caller; the platform's own API key counts as an admin. Reserves the domain locally (mirrored into the unified /api/custom-domains/ listing), attaches it to the Vercel project and returns the DNS records to configure at the registrar. Omit `domain` to be assigned a subdomain of the instance's shared zone instead; if the project already has a custom domain of its own, the new host is attached alongside it and returned here, but the project keeps advertising the custom one as its `site_url`.
|
|
22514
|
+
* @returns any The project already had this shared subdomain
|
|
22943
22515
|
* @throws ApiError
|
|
22944
|
-
*/static aiMentorOrgsUsersProvidersVercelHostingDnsCreate({org,userId,requestBody,provider}){return request(OpenAPI,{method:'POST',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/providers/vercel/hosting/dns/',path:{'org':org,'user_id':userId},query:{'provider':provider},body:requestBody,mediaType:'application/json',errors:{400:`Validation / credential error`,403:`Permission denied`,409:`Domain already in use`}});}/**
|
|
22516
|
+
*/static aiMentorOrgsUsersProvidersVercelHostingDnsCreate({org,userId,requestBody,provider}){return request(OpenAPI,{method:'POST',url:'/api/ai-mentor/orgs/{org}/users/{user_id}/providers/vercel/hosting/dns/',path:{'org':org,'user_id':userId},query:{'provider':provider},body:requestBody,mediaType:'application/json',errors:{400:`Validation / credential error`,403:`Permission denied`,409:`Domain already in use`,503:`No shared domain is on offer`}});}/**
|
|
22945
22517
|
* Detach a custom domain from a hosting project
|
|
22946
22518
|
* Custom domains on a hosting project, mirrored into CustomDomain.
|
|
22947
22519
|
* @returns void
|